diff --git a/EnvelopeGenerator.Common/Entities/EnvelopeDocument.vb b/EnvelopeGenerator.Common/Entities/EnvelopeDocument.vb index 80a7dda9..208161a7 100644 --- a/EnvelopeGenerator.Common/Entities/EnvelopeDocument.vb +++ b/EnvelopeGenerator.Common/Entities/EnvelopeDocument.vb @@ -9,6 +9,8 @@ Public Class EnvelopeDocument Public Property EnvelopeId As Integer = 0 + Public Property Elements As New List(Of EnvelopeDocumentElement) + Public ReadOnly Property Filename As String Get Return FileInfo.Name diff --git a/EnvelopeGenerator.Common/Models/DocumentModel.vb b/EnvelopeGenerator.Common/Models/DocumentModel.vb index 3a42949d..df8854eb 100644 --- a/EnvelopeGenerator.Common/Models/DocumentModel.vb +++ b/EnvelopeGenerator.Common/Models/DocumentModel.vb @@ -7,19 +7,39 @@ Imports EnvelopeGenerator.Common.My.Resources Public Class DocumentModel Inherits BaseModel + Private ElementModel As ElementModel + Public Sub New(pState As State) MyBase.New(pState) + ElementModel = New ElementModel(pState) End Sub Private Function ToDocument(pRow As DataRow) As EnvelopeDocument + Dim oDocumentId = pRow.ItemEx("GUID", 0) Return New EnvelopeDocument() With { - .Id = pRow.ItemEx("GUID", 0), + .Id = oDocumentId, .EnvelopeId = pRow.ItemEx("ENVELOPE_ID", 0), .FileInfo = New IO.FileInfo(pRow.ItemEx("FILEPATH", "")), - .IsTempFile = False + .IsTempFile = False, + .Elements = ElementModel.List(oDocumentId) } End Function + Public Function GetById(pDocumentId As Integer) As EnvelopeDocument + Try + Dim oSql = $"SELECT * FROM [dbo].[TBSIG_ENVELOPE_DOCUMENT] WHERE GUID = {pDocumentId}" + Dim oTable = Database.GetDatatable(oSql) + + Return oTable?.Rows.Cast(Of DataRow). + Select(AddressOf ToDocument). + Single() + + Catch ex As Exception + Logger.Error(ex) + Return Nothing + End Try + End Function + Public Function List(pEnvelopeId As Integer) As IEnumerable(Of EnvelopeDocument) Try Dim oSql = $"SELECT * FROM [dbo].[TBSIG_ENVELOPE_DOCUMENT] WHERE ENVELOPE_ID = {pEnvelopeId}" diff --git a/EnvelopeGenerator.Common/Models/EnvelopeModel.vb b/EnvelopeGenerator.Common/Models/EnvelopeModel.vb index b0c4a435..f5026750 100644 --- a/EnvelopeGenerator.Common/Models/EnvelopeModel.vb +++ b/EnvelopeGenerator.Common/Models/EnvelopeModel.vb @@ -23,6 +23,20 @@ Public Class EnvelopeModel Return oEnvelope End Function + Public Function GetByUuid(pEnvelopeUuid As String) As Envelope + Try + Dim oSql = $"SELECT * FROM [dbo].[TBSIG_ENVELOPE] WHERE ENVELOPE_UUID = '{pEnvelopeUuid}'" + Dim oTable = Database.GetDatatable(oSql) + + Return oTable?.Rows.Cast(Of DataRow). + Select(AddressOf ToEnvelope). + Single() + Catch ex As Exception + Logger.Error(ex) + Return Nothing + End Try + End Function + Public Function List() As IEnumerable(Of Envelope) Try Dim oSql = $"SELECT * FROM [dbo].[TBSIG_ENVELOPE] WHERE USER_ID = {State.UserId}" diff --git a/EnvelopeGenerator.Web/EnvelopeGenerator.Web.csproj b/EnvelopeGenerator.Web/EnvelopeGenerator.Web.csproj index cd698dfd..cddb48a6 100644 --- a/EnvelopeGenerator.Web/EnvelopeGenerator.Web.csproj +++ b/EnvelopeGenerator.Web/EnvelopeGenerator.Web.csproj @@ -8,6 +8,7 @@ + diff --git a/EnvelopeGenerator.Web/Handler/FileHandler.cs b/EnvelopeGenerator.Web/Handler/FileHandler.cs new file mode 100644 index 00000000..7d0a9218 --- /dev/null +++ b/EnvelopeGenerator.Web/Handler/FileHandler.cs @@ -0,0 +1,18 @@ +using EnvelopeGenerator.Web.Services; + +namespace EnvelopeGenerator.Web.Handler +{ + public class FileHandler + { + public async static Task HandleFile(HttpContext ctx, DatabaseService database, LoggingService logging) + { + var logger = logging.LogConfig.GetLogger("FileHandler"); + int docId = int.Parse((string)ctx.Request.RouteValues["docId"]); + var document = database.LoadDocument(docId); + var bytes = await File.ReadAllBytesAsync(document.Filepath); + + return Results.File(bytes); + + } + } +} diff --git a/EnvelopeGenerator.Web/Pages/Index.razor b/EnvelopeGenerator.Web/Pages/Index.razor index 6dff56b1..b4e31ba5 100644 --- a/EnvelopeGenerator.Web/Pages/Index.razor +++ b/EnvelopeGenerator.Web/Pages/Index.razor @@ -1,8 +1,24 @@ @page "/" +@using EnvelopeGenerator.Common; +@using EnvelopeGenerator.Web.Services; +@inject DatabaseService Database; Index -

Hello, world!

+ -Welcome to your new app. +@code { + public List envelopes = new(); + protected override void OnInitialized() + { + envelopes = Database.LoadEnvelopes(); + } + + +} diff --git a/EnvelopeGenerator.Web/Pages/ShowEnvelope.cshtml b/EnvelopeGenerator.Web/Pages/ShowEnvelope.cshtml deleted file mode 100644 index fa42b6fc..00000000 --- a/EnvelopeGenerator.Web/Pages/ShowEnvelope.cshtml +++ /dev/null @@ -1,3 +0,0 @@ -@page "/EnvelopeKey/{EnvelopeReceiverId:int}" - -

Envelope

\ No newline at end of file diff --git a/EnvelopeGenerator.Web/Pages/ShowEnvelope.cshtml.cs b/EnvelopeGenerator.Web/Pages/ShowEnvelope.cshtml.cs deleted file mode 100644 index e95d1ff6..00000000 --- a/EnvelopeGenerator.Web/Pages/ShowEnvelope.cshtml.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.RazorPages; - -namespace EnvelopeGenerator.Web.Pages -{ - public class ShowEnvelopeModel : PageModel - { - public void OnGet() - { - } - } -} diff --git a/EnvelopeGenerator.Web/Pages/ShowEnvelope.razor b/EnvelopeGenerator.Web/Pages/ShowEnvelope.razor new file mode 100644 index 00000000..1904b1f0 --- /dev/null +++ b/EnvelopeGenerator.Web/Pages/ShowEnvelope.razor @@ -0,0 +1,30 @@ +@page "/EnvelopeKey/{EnvelopeReceiverId}" + +@using EnvelopeGenerator.Common; +@using EnvelopeGenerator.Web.Services; +@inject DatabaseService Database +@inject IJSRuntime JS + +
+ +@code { + [Parameter] public string EnvelopeReceiverId { get; set; } + + private Envelope envelope; + private EnvelopeDocument document; + + protected override void OnInitialized() + { + envelope = Database.LoadEnvelope(EnvelopeReceiverId); + document = envelope.Documents.First(); + } + + protected override async void OnAfterRender(bool firstRender) + { + if (firstRender) + { + + await JS.InvokeVoidAsync("loadPDFFromUrl", "#container", $"/api/download/{document.Id}"); + } + } +} diff --git a/EnvelopeGenerator.Web/Pages/_Host.cshtml b/EnvelopeGenerator.Web/Pages/_Host.cshtml index d8b09c91..ac807189 100644 --- a/EnvelopeGenerator.Web/Pages/_Host.cshtml +++ b/EnvelopeGenerator.Web/Pages/_Host.cshtml @@ -5,4 +5,8 @@ Layout = "_Layout"; } +@* Include pspdfkit.js in your Pages/_Host.cshtml file *@ + + + diff --git a/EnvelopeGenerator.Web/Program.cs b/EnvelopeGenerator.Web/Program.cs index 229cdcfa..c105617f 100644 --- a/EnvelopeGenerator.Web/Program.cs +++ b/EnvelopeGenerator.Web/Program.cs @@ -1,3 +1,4 @@ +using EnvelopeGenerator.Web.Handler; using EnvelopeGenerator.Web.Services; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Web; @@ -33,6 +34,9 @@ app.UseStaticFiles(); // Add a router app.UseRouting(); +// Add file download endpoint +app.MapGet("/api/download/{docId}", FileHandler.HandleFile); + // Blazor plumbing app.MapBlazorHub(); app.MapFallbackToPage("/_Host"); diff --git a/EnvelopeGenerator.Web/Services/DatabaseService.cs b/EnvelopeGenerator.Web/Services/DatabaseService.cs index 47a7b6b1..d6c2053e 100644 --- a/EnvelopeGenerator.Web/Services/DatabaseService.cs +++ b/EnvelopeGenerator.Web/Services/DatabaseService.cs @@ -1,5 +1,6 @@ using DigitalData.Modules.Database; using DigitalData.Modules.Logging; +using EnvelopeGenerator.Common; namespace EnvelopeGenerator.Web.Services { @@ -7,9 +8,14 @@ namespace EnvelopeGenerator.Web.Services { public MSSQLServer MSSQL { get; set; } + private EnvelopeModel envelopeModel; + private DocumentModel documentModel; + private ElementModel elementModel; + private readonly LogConfig _logConfig; private readonly Logger _logger; + public DatabaseService(LoggingService Logging, IConfiguration Config) { _logConfig = Logging.LogConfig; @@ -21,6 +27,9 @@ namespace EnvelopeGenerator.Web.Services if (MSSQL.DBInitialized == true) { _logger.Debug("MSSQL Connection: [{0}]", MSSQL.CurrentConnectionString); + + var state = GetState(); + InitializeModels(state); } else { @@ -29,5 +38,47 @@ namespace EnvelopeGenerator.Web.Services } } + + public State GetState() + { + return new State + { + Database = MSSQL, + LogConfig = _logConfig, + UserId = 2 // TODO + }; + } + + public void InitializeModels(State state) + { + envelopeModel = new(state); + documentModel = new(state); + elementModel = new(state); + } + + public Envelope LoadEnvelope(string envelopeReceiverId) + { + Tuple result = Helpers.DecodeEnvelopeReceiverId(envelopeReceiverId); + var envelopeUuid = result.Item1; + var receiverSignature = result.Item2; + + Envelope envelope = envelopeModel.GetByUuid(envelopeUuid); + List documents = (List)documentModel.List(envelope.Id); + + envelope.Documents = documents; + + return envelope; + } + + public List LoadEnvelopes() + { + return (List)envelopeModel.List(); + } + + public EnvelopeDocument LoadDocument(int pDocumentId) + { + return documentModel.GetById(pDocumentId); + } + } } diff --git a/EnvelopeGenerator.Web/Services/LoggingService.cs b/EnvelopeGenerator.Web/Services/LoggingService.cs index 6f2b627c..3d03f6cc 100644 --- a/EnvelopeGenerator.Web/Services/LoggingService.cs +++ b/EnvelopeGenerator.Web/Services/LoggingService.cs @@ -8,7 +8,7 @@ namespace EnvelopeGenerator.Web.Services public LoggingService(IConfiguration Config) { - LogConfig = new LogConfig(LogConfig.PathType.CustomPath, Config["Config:LogPath"], null, "Digital Data", "ECM.JobRunner.Web"); + LogConfig = new LogConfig(LogConfig.PathType.CustomPath, Config["Config:LogPath"], null, "Digital Data", "ECM.EnvelopeGenerator.Web"); var logger = LogConfig.GetLogger(); logger.Info("Logging initialized!"); diff --git a/EnvelopeGenerator.Web/Shared/MainLayout.razor b/EnvelopeGenerator.Web/Shared/MainLayout.razor index 011a7c92..e4ab3c90 100644 --- a/EnvelopeGenerator.Web/Shared/MainLayout.razor +++ b/EnvelopeGenerator.Web/Shared/MainLayout.razor @@ -1,19 +1,2 @@ @inherits LayoutComponentBase - -EnvelopeGenerator.Web - -
- - -
-
- About -
- -
- @Body -
-
-
+@Body \ No newline at end of file diff --git a/EnvelopeGenerator.Web/appsettings.Development.json b/EnvelopeGenerator.Web/appsettings.Development.json index 770d3e93..f8802543 100644 --- a/EnvelopeGenerator.Web/appsettings.Development.json +++ b/EnvelopeGenerator.Web/appsettings.Development.json @@ -5,5 +5,11 @@ "Default": "Information", "Microsoft.AspNetCore": "Warning" } + }, + "Config": { + "ConnectionString": "Server=sDD-VMP04-SQL17\\DD_DEVELOP01;Database=DD_ECM;User Id=sa;Password=dd;", + "LogPath": "E:\\EnvelopeGenerator\\Logs", + "LogDebug": true, + "LogJson": true } } diff --git a/EnvelopeGenerator.Web/wwwroot/app.js b/EnvelopeGenerator.Web/wwwroot/app.js new file mode 100644 index 00000000..342a12b3 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/app.js @@ -0,0 +1,24 @@ +// This function will be called in the ShowEnvelope.razor page + +// and will trigger loading of the Editor Interface +function loadPDFFromUrl(container, url) { + console.log("Loading PSPDFKit.."); + + fetch(url, { credentials: "include" }) + .then(res => res.arrayBuffer()) + .then(arrayBuffer => PSPDFKit.load({ + container: container, + document: arrayBuffer + })) + .then(instance => { + console.log("PSPDFKit loaded", instance) + configurePSPDFKit(instance); + }) + .catch(error => { + console.error(error.message); + }); +} + +function configurePSPDFKit(instance) { + +} \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/index.d.ts b/EnvelopeGenerator.Web/wwwroot/index.d.ts new file mode 100644 index 00000000..d3369051 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/index.d.ts @@ -0,0 +1,8599 @@ +declare const SignatureSaveMode: { + readonly ALWAYS: "ALWAYS"; + readonly NEVER: "NEVER"; + readonly USING_UI: "USING_UI"; +}; +type ISignatureSaveMode = (typeof SignatureSaveMode)[keyof typeof SignatureSaveMode]; + +/** + * Copyright (c) 2014-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/** + * Immutable data encourages pure functions (data-in, data-out) and lends itself + * to much simpler application development and enabling techniques from + * functional programming such as lazy evaluation. + * + * While designed to bring these powerful functional concepts to JavaScript, it + * presents an Object-Oriented API familiar to Javascript engineers and closely + * mirroring that of Array, Map, and Set. It is easy and efficient to convert to + * and from plain Javascript types. + * + * ## How to read these docs + * + * In order to better explain what kinds of values the Immutable.js API expects + * and produces, this documentation is presented in a statically typed dialect of + * JavaScript (like [Flow][] or [TypeScript][]). You *don't need* to use these + * type checking tools in order to use Immutable.js, however becoming familiar + * with their syntax will help you get a deeper understanding of this API. + * + * **A few examples and how to read them.** + * + * All methods describe the kinds of data they accept and the kinds of data + * they return. For example a function which accepts two numbers and returns + * a number would look like this: + * + * ```js + * sum(first: number, second: number): number + * ``` + * + * Sometimes, methods can accept different kinds of data or return different + * kinds of data, and this is described with a *type variable*, which is + * typically in all-caps. For example, a function which always returns the same + * kind of data it was provided would look like this: + * + * ```js + * identity(value: T): T + * ``` + * + * Type variables are defined with classes and referred to in methods. For + * example, a class that holds onto a value for you might look like this: + * + * ```js + * class Box { + * constructor(value: T) + * getValue(): T + * } + * ``` + * + * In order to manipulate Immutable data, methods that we're used to affecting + * a Collection instead return a new Collection of the same type. The type + * `this` refers to the same kind of class. For example, a List which returns + * new Lists when you `push` a value onto it might look like: + * + * ```js + * class List { + * push(value: T): this + * } + * ``` + * + * Many methods in Immutable.js accept values which implement the JavaScript + * [Iterable][] protocol, and might appear like `Iterable` for something + * which represents sequence of strings. Typically in JavaScript we use plain + * Arrays (`[]`) when an Iterable is expected, but also all of the Immutable.js + * collections are iterable themselves! + * + * For example, to get a value deep within a structure of data, we might use + * `getIn` which expects an `Iterable` path: + * + * ``` + * getIn(path: Iterable): any + * ``` + * + * To use this method, we could pass an array: `data.getIn([ "key", 2 ])`. + * + * + * Note: All examples are presented in the modern [ES2015][] version of + * JavaScript. Use tools like Babel to support older browsers. + * + * For example: + * + * ```js + * // ES2015 + * const mappedFoo = foo.map(x => x * x); + * // ES5 + * var mappedFoo = foo.map(function (x) { return x * x; }); + * ``` + * + * [ES2015]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_6_support_in_Mozilla + * [TypeScript]: http://www.typescriptlang.org/ + * [Flow]: https://flowtype.org/ + * [Iterable]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols + */ + + + + /** + * Lists are ordered indexed dense collections, much like a JavaScript + * Array. + * + * Lists are immutable and fully persistent with O(log32 N) gets and sets, + * and O(1) push and pop. + * + * Lists implement Deque, with efficient addition and removal from both the + * end (`push`, `pop`) and beginning (`unshift`, `shift`). + * + * Unlike a JavaScript Array, there is no distinction between an + * "unset" index and an index set to `undefined`. `List#forEach` visits all + * indices from 0 to size, regardless of whether they were explicitly defined. + */ + declare module List { + + /** + * True if the provided value is a List + * + * + * ```js + * const { List } = require('immutable'); + * List.isList([]); // false + * List.isList(List()); // true + * ``` + */ + function isList(maybeList: any): maybeList is List; + + /** + * Creates a new List containing `values`. + * + * + * ```js + * const { List } = require('immutable'); + * List.of(1, 2, 3, 4) + * // List [ 1, 2, 3, 4 ] + * ``` + * + * Note: Values are not altered or converted in any way. + * + * + * ```js + * const { List } = require('immutable'); + * List.of({x:1}, 2, [3], 4) + * // List [ { x: 1 }, 2, [ 3 ], 4 ] + * ``` + */ + function of(...values: Array): List; + } + + /** + * Create a new immutable List containing the values of the provided + * collection-like. + * + * Note: `List` is a factory function and not a class, and does not use the + * `new` keyword during construction. + * + * + * ```js + * const { List, Set } = require('immutable') + * + * const emptyList = List() + * // List [] + * + * const plainArray = [ 1, 2, 3, 4 ] + * const listFromPlainArray = List(plainArray) + * // List [ 1, 2, 3, 4 ] + * + * const plainSet = Set([ 1, 2, 3, 4 ]) + * const listFromPlainSet = List(plainSet) + * // List [ 1, 2, 3, 4 ] + * + * const arrayIterator = plainArray[Symbol.iterator]() + * const listFromCollectionArray = List(arrayIterator) + * // List [ 1, 2, 3, 4 ] + * + * listFromPlainArray.equals(listFromCollectionArray) // true + * listFromPlainSet.equals(listFromCollectionArray) // true + * listFromPlainSet.equals(listFromPlainArray) // true + * ``` + */ + declare function List(): List; + declare function List(): List; + declare function List(collection: Iterable): List; + + interface List extends Collection.Indexed { + + /** + * The number of items in this List. + */ + readonly size: number; + + // Persistent changes + + /** + * Returns a new List which includes `value` at `index`. If `index` already + * exists in this List, it will be replaced. + * + * `index` may be a negative number, which indexes back from the end of the + * List. `v.set(-1, "value")` sets the last item in the List. + * + * If `index` larger than `size`, the returned List's `size` will be large + * enough to include the `index`. + * + * + * ```js + * const originalList = List([ 0 ]); + * // List [ 0 ] + * originalList.set(1, 1); + * // List [ 0, 1 ] + * originalList.set(0, 'overwritten'); + * // List [ "overwritten" ] + * originalList.set(2, 2); + * // List [ 0, undefined, 2 ] + * + * List().set(50000, 'value').size; + * // 50001 + * ``` + * + * Note: `set` can be used in `withMutations`. + */ + set(index: number, value: T): List; + + /** + * Returns a new List which excludes this `index` and with a size 1 less + * than this List. Values at indices above `index` are shifted down by 1 to + * fill the position. + * + * This is synonymous with `list.splice(index, 1)`. + * + * `index` may be a negative number, which indexes back from the end of the + * List. `v.delete(-1)` deletes the last item in the List. + * + * Note: `delete` cannot be safely used in IE8 + * + * + * ```js + * List([ 0, 1, 2, 3, 4 ]).delete(0); + * // List [ 1, 2, 3, 4 ] + * ``` + * + * Since `delete()` re-indexes values, it produces a complete copy, which + * has `O(N)` complexity. + * + * Note: `delete` *cannot* be used in `withMutations`. + * + * @alias remove + */ + delete(index: number): List; + remove(index: number): List; + + /** + * Returns a new List with `value` at `index` with a size 1 more than this + * List. Values at indices above `index` are shifted over by 1. + * + * This is synonymous with `list.splice(index, 0, value)`. + * + * + * ```js + * List([ 0, 1, 2, 3, 4 ]).insert(6, 5) + * // List [ 0, 1, 2, 3, 4, 5 ] + * ``` + * + * Since `insert()` re-indexes values, it produces a complete copy, which + * has `O(N)` complexity. + * + * Note: `insert` *cannot* be used in `withMutations`. + */ + insert(index: number, value: T): List; + + /** + * Returns a new List with 0 size and no values in constant time. + * + * + * ```js + * List([ 1, 2, 3, 4 ]).clear() + * // List [] + * ``` + * + * Note: `clear` can be used in `withMutations`. + */ + clear(): List; + + /** + * Returns a new List with the provided `values` appended, starting at this + * List's `size`. + * + * + * ```js + * List([ 1, 2, 3, 4 ]).push(5) + * // List [ 1, 2, 3, 4, 5 ] + * ``` + * + * Note: `push` can be used in `withMutations`. + */ + push(...values: Array): List; + + /** + * Returns a new List with a size ones less than this List, excluding + * the last index in this List. + * + * Note: this differs from `Array#pop` because it returns a new + * List rather than the removed value. Use `last()` to get the last value + * in this List. + * + * ```js + * List([ 1, 2, 3, 4 ]).pop() + * // List[ 1, 2, 3 ] + * ``` + * + * Note: `pop` can be used in `withMutations`. + */ + pop(): List; + + /** + * Returns a new List with the provided `values` prepended, shifting other + * values ahead to higher indices. + * + * + * ```js + * List([ 2, 3, 4]).unshift(1); + * // List [ 1, 2, 3, 4 ] + * ``` + * + * Note: `unshift` can be used in `withMutations`. + */ + unshift(...values: Array): List; + + /** + * Returns a new List with a size ones less than this List, excluding + * the first index in this List, shifting all other values to a lower index. + * + * Note: this differs from `Array#shift` because it returns a new + * List rather than the removed value. Use `first()` to get the first + * value in this List. + * + * + * ```js + * List([ 0, 1, 2, 3, 4 ]).shift(); + * // List [ 1, 2, 3, 4 ] + * ``` + * + * Note: `shift` can be used in `withMutations`. + */ + shift(): List; + + /** + * Returns a new List with an updated value at `index` with the return + * value of calling `updater` with the existing value, or `notSetValue` if + * `index` was not set. If called with a single argument, `updater` is + * called with the List itself. + * + * `index` may be a negative number, which indexes back from the end of the + * List. `v.update(-1)` updates the last item in the List. + * + * + * ```js + * const list = List([ 'a', 'b', 'c' ]) + * const result = list.update(2, val => val.toUpperCase()) + * // List [ "a", "b", "C" ] + * ``` + * + * This can be very useful as a way to "chain" a normal function into a + * sequence of methods. RxJS calls this "let" and lodash calls it "thru". + * + * For example, to sum a List after mapping and filtering: + * + * + * ```js + * function sum(collection) { + * return collection.reduce((sum, x) => sum + x, 0) + * } + * + * List([ 1, 2, 3 ]) + * .map(x => x + 1) + * .filter(x => x % 2 === 0) + * .update(sum) + * // 6 + * ``` + * + * Note: `update(index)` can be used in `withMutations`. + * + * @see `Map#update` + */ + update(index: number, notSetValue: T, updater: (value: T) => T): this; + update(index: number, updater: (value: T) => T): this; + update(updater: (value: this) => R): R; + + /** + * Returns a new List with size `size`. If `size` is less than this + * List's size, the new List will exclude values at the higher indices. + * If `size` is greater than this List's size, the new List will have + * undefined values for the newly available indices. + * + * When building a new List and the final size is known up front, `setSize` + * used in conjunction with `withMutations` may result in the more + * performant construction. + */ + setSize(size: number): List; + + + // Deep persistent changes + + /** + * Returns a new List having set `value` at this `keyPath`. If any keys in + * `keyPath` do not exist, a new immutable Map will be created at that key. + * + * Index numbers are used as keys to determine the path to follow in + * the List. + * + * + * ```js + * const { List } = require('immutable') + * const list = List([ 0, 1, 2, List([ 3, 4 ])]) + * list.setIn([3, 0], 999); + * // List [ 0, 1, 2, List [ 999, 4 ] ] + * ``` + * + * Plain JavaScript Object or Arrays may be nested within an Immutable.js + * Collection, and setIn() can update those values as well, treating them + * immutably by creating new copies of those values with the changes applied. + * + * + * ```js + * const { List } = require('immutable') + * const list = List([ 0, 1, 2, { plain: 'object' }]) + * list.setIn([3, 'plain'], 'value'); + * // List([ 0, 1, 2, { plain: 'value' }]) + * ``` + * + * Note: `setIn` can be used in `withMutations`. + */ + setIn(keyPath: Iterable, value: any): this; + + /** + * Returns a new List having removed the value at this `keyPath`. If any + * keys in `keyPath` do not exist, no change will occur. + * + * + * ```js + * const { List } = require('immutable') + * const list = List([ 0, 1, 2, List([ 3, 4 ])]) + * list.deleteIn([3, 0]); + * // List [ 0, 1, 2, List [ 4 ] ] + * ``` + * + * Plain JavaScript Object or Arrays may be nested within an Immutable.js + * Collection, and removeIn() can update those values as well, treating them + * immutably by creating new copies of those values with the changes applied. + * + * + * ```js + * const { List } = require('immutable') + * const list = List([ 0, 1, 2, { plain: 'object' }]) + * list.removeIn([3, 'plain']); + * // List([ 0, 1, 2, {}]) + * ``` + * + * Note: `deleteIn` *cannot* be safely used in `withMutations`. + * + * @alias removeIn + */ + deleteIn(keyPath: Iterable): this; + removeIn(keyPath: Iterable): this; + + /** + * Note: `updateIn` can be used in `withMutations`. + * + * @see `Map#updateIn` + */ + updateIn(keyPath: Iterable, notSetValue: any, updater: (value: any) => any): this; + updateIn(keyPath: Iterable, updater: (value: any) => any): this; + + /** + * Note: `mergeIn` can be used in `withMutations`. + * + * @see `Map#mergeIn` + */ + mergeIn(keyPath: Iterable, ...collections: Array): this; + + /** + * Note: `mergeDeepIn` can be used in `withMutations`. + * + * @see `Map#mergeDeepIn` + */ + mergeDeepIn(keyPath: Iterable, ...collections: Array): this; + + // Transient changes + + /** + * Note: Not all methods can be safely used on a mutable collection or within + * `withMutations`! Check the documentation for each method to see if it + * allows being used in `withMutations`. + * + * @see `Map#withMutations` + */ + withMutations(mutator: (mutable: this) => any): this; + + /** + * An alternative API for withMutations() + * + * Note: Not all methods can be safely used on a mutable collection or within + * `withMutations`! Check the documentation for each method to see if it + * allows being used in `withMutations`. + * + * @see `Map#asMutable` + */ + asMutable(): this; + + /** + * @see `Map#wasAltered` + */ + wasAltered(): boolean; + + /** + * @see `Map#asImmutable` + */ + asImmutable(): this; + + // Sequence algorithms + + /** + * Returns a new List with other values or collections concatenated to this one. + * + * Note: `concat` can be used in `withMutations`. + * + * @alias merge + */ + concat(...valuesOrCollections: Array | C>): List; + merge(...collections: Array>): List; + + /** + * Returns a new List with values passed through a + * `mapper` function. + * + * + * ```js + * List([ 1, 2 ]).map(x => 10 * x) + * // List [ 10, 20 ] + * ``` + */ + map( + mapper: (value: T, key: number, iter: this) => M, + context?: any + ): List; + + /** + * Flat-maps the List, returning a new List. + * + * Similar to `list.map(...).flatten(true)`. + */ + flatMap( + mapper: (value: T, key: number, iter: this) => Iterable, + context?: any + ): List; + + /** + * Returns a new List with only the values for which the `predicate` + * function returns true. + * + * Note: `filter()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filter( + predicate: (value: T, index: number, iter: this) => value is F, + context?: any + ): List; + filter( + predicate: (value: T, index: number, iter: this) => any, + context?: any + ): this; + + /** + * Returns a List "zipped" with the provided collection. + * + * Like `zipWith`, but using the default `zipper`: creating an `Array`. + * + * + * ```js + * const a = List([ 1, 2, 3 ]); + * const b = List([ 4, 5, 6 ]); + * const c = a.zip(b); // List [ [ 1, 4 ], [ 2, 5 ], [ 3, 6 ] ] + * ``` + */ + zip(other: Collection): List<[T,U]>; + zip(other: Collection, other2: Collection): List<[T,U,V]>; + zip(...collections: Array>): List; + + /** + * Returns a List "zipped" with the provided collections. + * + * Unlike `zip`, `zipAll` continues zipping until the longest collection is + * exhausted. Missing values from shorter collections are filled with `undefined`. + * + * + * ```js + * const a = List([ 1, 2 ]); + * const b = List([ 3, 4, 5 ]); + * const c = a.zipAll(b); // List [ [ 1, 3 ], [ 2, 4 ], [ undefined, 5 ] ] + * ``` + * + * Note: Since zipAll will return a collection as large as the largest + * input, some results may contain undefined values. TypeScript cannot + * account for these without cases (as of v2.5). + */ + zipAll(other: Collection): List<[T,U]>; + zipAll(other: Collection, other2: Collection): List<[T,U,V]>; + zipAll(...collections: Array>): List; + + /** + * Returns a List "zipped" with the provided collections by using a + * custom `zipper` function. + * + * + * ```js + * const a = List([ 1, 2, 3 ]); + * const b = List([ 4, 5, 6 ]); + * const c = a.zipWith((a, b) => a + b, b); + * // List [ 5, 7, 9 ] + * ``` + */ + zipWith( + zipper: (value: T, otherValue: U) => Z, + otherCollection: Collection + ): List; + zipWith( + zipper: (value: T, otherValue: U, thirdValue: V) => Z, + otherCollection: Collection, + thirdCollection: Collection + ): List; + zipWith( + zipper: (...any: Array) => Z, + ...collections: Array> + ): List; + } + + + /** + * Immutable Map is an unordered Collection.Keyed of (key, value) pairs with + * `O(log32 N)` gets and `O(log32 N)` persistent sets. + * + * Iteration order of a Map is undefined, however is stable. Multiple + * iterations of the same Map will iterate in the same order. + * + * Map's keys can be of any type, and use `Immutable.is` to determine key + * equality. This allows the use of any value (including NaN) as a key. + * + * Because `Immutable.is` returns equality based on value semantics, and + * Immutable collections are treated as values, any Immutable collection may + * be used as a key. + * + * + * ```js + * const { Map, List } = require('immutable'); + * Map().set(List([ 1 ]), 'listofone').get(List([ 1 ])); + * // 'listofone' + * ``` + * + * Any JavaScript object may be used as a key, however strict identity is used + * to evaluate key equality. Two similar looking objects will represent two + * different keys. + * + * Implemented by a hash-array mapped trie. + */ + declare module Map { + + /** + * True if the provided value is a Map + * + * + * ```js + * const { Map } = require('immutable') + * Map.isMap({}) // false + * Map.isMap(Map()) // true + * ``` + */ + function isMap(maybeMap: any): maybeMap is Map; + + /** + * Creates a new Map from alternating keys and values + * + * + * ```js + * const { Map } = require('immutable') + * Map.of( + * 'key', 'value', + * 'numerical value', 3, + * 0, 'numerical key' + * ) + * // Map { 0: "numerical key", "key": "value", "numerical value": 3 } + * ``` + * + * @deprecated Use Map([ [ 'k', 'v' ] ]) or Map({ k: 'v' }) + */ + function of(...keyValues: Array): Map; + } + + /** + * Creates a new Immutable Map. + * + * Created with the same key value pairs as the provided Collection.Keyed or + * JavaScript Object or expects a Collection of [K, V] tuple entries. + * + * Note: `Map` is a factory function and not a class, and does not use the + * `new` keyword during construction. + * + * + * ```js + * const { Map } = require('immutable') + * Map({ key: "value" }) + * Map([ [ "key", "value" ] ]) + * ``` + * + * Keep in mind, when using JS objects to construct Immutable Maps, that + * JavaScript Object properties are always strings, even if written in a + * quote-less shorthand, while Immutable Maps accept keys of any type. + * + * + * ```js + * let obj = { 1: "one" } + * Object.keys(obj) // [ "1" ] + * assert.equal(obj["1"], obj[1]) // "one" === "one" + * + * let map = Map(obj) + * assert.notEqual(map.get("1"), map.get(1)) // "one" !== undefined + * ``` + * + * Property access for JavaScript Objects first converts the key to a string, + * but since Immutable Map keys can be of any type the argument to `get()` is + * not altered. + */ + declare function Map(collection: Iterable<[K, V]>): Map; + declare function Map(collection: Iterable>): Map; + declare function Map(obj: {[key: string]: V}): Map; + declare function Map(): Map; + declare function Map(): Map; + + interface Map extends Collection.Keyed { + + /** + * The number of entries in this Map. + */ + readonly size: number; + + // Persistent changes + + /** + * Returns a new Map also containing the new key, value pair. If an equivalent + * key already exists in this Map, it will be replaced. + * + * + * ```js + * const { Map } = require('immutable') + * const originalMap = Map() + * const newerMap = originalMap.set('key', 'value') + * const newestMap = newerMap.set('key', 'newer value') + * + * originalMap + * // Map {} + * newerMap + * // Map { "key": "value" } + * newestMap + * // Map { "key": "newer value" } + * ``` + * + * Note: `set` can be used in `withMutations`. + */ + set(key: K, value: V): this; + + /** + * Returns a new Map which excludes this `key`. + * + * Note: `delete` cannot be safely used in IE8, but is provided to mirror + * the ES6 collection API. + * + * + * ```js + * const { Map } = require('immutable') + * const originalMap = Map({ + * key: 'value', + * otherKey: 'other value' + * }) + * // Map { "key": "value", "otherKey": "other value" } + * originalMap.delete('otherKey') + * // Map { "key": "value" } + * ``` + * + * Note: `delete` can be used in `withMutations`. + * + * @alias remove + */ + delete(key: K): this; + remove(key: K): this; + + /** + * Returns a new Map which excludes the provided `keys`. + * + * + * ```js + * const { Map } = require('immutable') + * const names = Map({ a: "Aaron", b: "Barry", c: "Connor" }) + * names.deleteAll([ 'a', 'c' ]) + * // Map { "b": "Barry" } + * ``` + * + * Note: `deleteAll` can be used in `withMutations`. + * + * @alias removeAll + */ + deleteAll(keys: Iterable): this; + removeAll(keys: Iterable): this; + + /** + * Returns a new Map containing no keys or values. + * + * + * ```js + * const { Map } = require('immutable') + * Map({ key: 'value' }).clear() + * // Map {} + * ``` + * + * Note: `clear` can be used in `withMutations`. + */ + clear(): this; + + /** + * Returns a new Map having updated the value at this `key` with the return + * value of calling `updater` with the existing value. + * + * Similar to: `map.set(key, updater(map.get(key)))`. + * + * + * ```js + * const { Map } = require('immutable') + * const aMap = Map({ key: 'value' }) + * const newMap = aMap.update('key', value => value + value) + * // Map { "key": "valuevalue" } + * ``` + * + * This is most commonly used to call methods on collections within a + * structure of data. For example, in order to `.push()` onto a nested `List`, + * `update` and `push` can be used together: + * + * + * ```js + * const aMap = Map({ nestedList: List([ 1, 2, 3 ]) }) + * const newMap = aMap.update('nestedList', list => list.push(4)) + * // Map { "nestedList": List [ 1, 2, 3, 4 ] } + * ``` + * + * When a `notSetValue` is provided, it is provided to the `updater` + * function when the value at the key does not exist in the Map. + * + * + * ```js + * const aMap = Map({ key: 'value' }) + * const newMap = aMap.update('noKey', 'no value', value => value + value) + * // Map { "key": "value", "noKey": "no valueno value" } + * ``` + * + * However, if the `updater` function returns the same value it was called + * with, then no change will occur. This is still true if `notSetValue` + * is provided. + * + * + * ```js + * const aMap = Map({ apples: 10 }) + * const newMap = aMap.update('oranges', 0, val => val) + * // Map { "apples": 10 } + * assert.strictEqual(newMap, map); + * ``` + * + * For code using ES2015 or later, using `notSetValue` is discourged in + * favor of function parameter default values. This helps to avoid any + * potential confusion with identify functions as described above. + * + * The previous example behaves differently when written with default values: + * + * + * ```js + * const aMap = Map({ apples: 10 }) + * const newMap = aMap.update('oranges', (val = 0) => val) + * // Map { "apples": 10, "oranges": 0 } + * ``` + * + * If no key is provided, then the `updater` function return value is + * returned as well. + * + * + * ```js + * const aMap = Map({ key: 'value' }) + * const result = aMap.update(aMap => aMap.get('key')) + * // "value" + * ``` + * + * This can be very useful as a way to "chain" a normal function into a + * sequence of methods. RxJS calls this "let" and lodash calls it "thru". + * + * For example, to sum the values in a Map + * + * + * ```js + * function sum(collection) { + * return collection.reduce((sum, x) => sum + x, 0) + * } + * + * Map({ x: 1, y: 2, z: 3 }) + * .map(x => x + 1) + * .filter(x => x % 2 === 0) + * .update(sum) + * // 6 + * ``` + * + * Note: `update(key)` can be used in `withMutations`. + */ + update(key: K, notSetValue: V, updater: (value: V) => V): this; + update(key: K, updater: (value: V) => V): this; + update(updater: (value: this) => R): R; + + /** + * Returns a new Map resulting from merging the provided Collections + * (or JS objects) into this Map. In other words, this takes each entry of + * each collection and sets it on this Map. + * + * Note: Values provided to `merge` are shallowly converted before being + * merged. No nested values are altered. + * + * + * ```js + * const { Map } = require('immutable') + * const one = Map({ a: 10, b: 20, c: 30 }) + * const two = Map({ b: 40, a: 50, d: 60 }) + * one.merge(two) // Map { "a": 50, "b": 40, "c": 30, "d": 60 } + * two.merge(one) // Map { "b": 20, "a": 10, "d": 60, "c": 30 } + * ``` + * + * Note: `merge` can be used in `withMutations`. + * + * @alias concat + */ + merge(...collections: Array>): Map; + merge(...collections: Array<{[key: string]: C}>): Map; + concat(...collections: Array>): Map; + concat(...collections: Array<{[key: string]: C}>): Map; + + /** + * Like `merge()`, `mergeWith()` returns a new Map resulting from merging + * the provided Collections (or JS objects) into this Map, but uses the + * `merger` function for dealing with conflicts. + * + * + * ```js + * const { Map } = require('immutable') + * const one = Map({ a: 10, b: 20, c: 30 }) + * const two = Map({ b: 40, a: 50, d: 60 }) + * one.mergeWith((oldVal, newVal) => oldVal / newVal, two) + * // { "a": 0.2, "b": 0.5, "c": 30, "d": 60 } + * two.mergeWith((oldVal, newVal) => oldVal / newVal, one) + * // { "b": 2, "a": 5, "d": 60, "c": 30 } + * ``` + * + * Note: `mergeWith` can be used in `withMutations`. + */ + mergeWith( + merger: (oldVal: V, newVal: V, key: K) => V, + ...collections: Array | {[key: string]: V}> + ): this; + + /** + * Like `merge()`, but when two Collections conflict, it merges them as well, + * recursing deeply through the nested data. + * + * Note: Values provided to `merge` are shallowly converted before being + * merged. No nested values are altered unless they will also be merged at + * a deeper level. + * + * + * ```js + * const { Map } = require('immutable') + * const one = Map({ a: Map({ x: 10, y: 10 }), b: Map({ x: 20, y: 50 }) }) + * const two = Map({ a: Map({ x: 2 }), b: Map({ y: 5 }), c: Map({ z: 3 }) }) + * one.mergeDeep(two) + * // Map { + * // "a": Map { "x": 2, "y": 10 }, + * // "b": Map { "x": 20, "y": 5 }, + * // "c": Map { "z": 3 } + * // } + * ``` + * + * Note: `mergeDeep` can be used in `withMutations`. + */ + mergeDeep(...collections: Array | {[key: string]: V}>): this; + + /** + * Like `mergeDeep()`, but when two non-Collections conflict, it uses the + * `merger` function to determine the resulting value. + * + * + * ```js + * const { Map } = require('immutable') + * const one = Map({ a: Map({ x: 10, y: 10 }), b: Map({ x: 20, y: 50 }) }) + * const two = Map({ a: Map({ x: 2 }), b: Map({ y: 5 }), c: Map({ z: 3 }) }) + * one.mergeDeepWith((oldVal, newVal) => oldVal / newVal, two) + * // Map { + * // "a": Map { "x": 5, "y": 10 }, + * // "b": Map { "x": 20, "y": 10 }, + * // "c": Map { "z": 3 } + * // } + * ``` + + * Note: `mergeDeepWith` can be used in `withMutations`. + */ + mergeDeepWith( + merger: (oldVal: any, newVal: any, key: any) => any, + ...collections: Array | {[key: string]: V}> + ): this; + + + // Deep persistent changes + + /** + * Returns a new Map having set `value` at this `keyPath`. If any keys in + * `keyPath` do not exist, a new immutable Map will be created at that key. + * + * + * ```js + * const { Map } = require('immutable') + * const originalMap = Map({ + * subObject: Map({ + * subKey: 'subvalue', + * subSubObject: Map({ + * subSubKey: 'subSubValue' + * }) + * }) + * }) + * + * const newMap = originalMap.setIn(['subObject', 'subKey'], 'ha ha!') + * // Map { + * // "subObject": Map { + * // "subKey": "ha ha!", + * // "subSubObject": Map { "subSubKey": "subSubValue" } + * // } + * // } + * + * const newerMap = originalMap.setIn( + * ['subObject', 'subSubObject', 'subSubKey'], + * 'ha ha ha!' + * ) + * // Map { + * // "subObject": Map { + * // "subKey": "subvalue", + * // "subSubObject": Map { "subSubKey": "ha ha ha!" } + * // } + * // } + * ``` + * + * Plain JavaScript Object or Arrays may be nested within an Immutable.js + * Collection, and setIn() can update those values as well, treating them + * immutably by creating new copies of those values with the changes applied. + * + * + * ```js + * const { Map } = require('immutable') + * const originalMap = Map({ + * subObject: { + * subKey: 'subvalue', + * subSubObject: { + * subSubKey: 'subSubValue' + * } + * } + * }) + * + * originalMap.setIn(['subObject', 'subKey'], 'ha ha!') + * // Map { + * // "subObject": { + * // subKey: "ha ha!", + * // subSubObject: { subSubKey: "subSubValue" } + * // } + * // } + * ``` + * + * If any key in the path exists but cannot be updated (such as a primitive + * like number or a custom Object like Date), an error will be thrown. + * + * Note: `setIn` can be used in `withMutations`. + */ + setIn(keyPath: Iterable, value: any): this; + + /** + * Returns a new Map having removed the value at this `keyPath`. If any keys + * in `keyPath` do not exist, no change will occur. + * + * Note: `deleteIn` can be used in `withMutations`. + * + * @alias removeIn + */ + deleteIn(keyPath: Iterable): this; + removeIn(keyPath: Iterable): this; + + /** + * Returns a new Map having applied the `updater` to the entry found at the + * keyPath. + * + * This is most commonly used to call methods on collections nested within a + * structure of data. For example, in order to `.push()` onto a nested `List`, + * `updateIn` and `push` can be used together: + * + * + * ```js + * const { Map, List } = require('immutable') + * const map = Map({ inMap: Map({ inList: List([ 1, 2, 3 ]) }) }) + * const newMap = map.updateIn(['inMap', 'inList'], list => list.push(4)) + * // Map { "inMap": Map { "inList": List [ 1, 2, 3, 4 ] } } + * ``` + * + * If any keys in `keyPath` do not exist, new Immutable `Map`s will + * be created at those keys. If the `keyPath` does not already contain a + * value, the `updater` function will be called with `notSetValue`, if + * provided, otherwise `undefined`. + * + * + * ```js + * const map = Map({ a: Map({ b: Map({ c: 10 }) }) }) + * const newMap = map.updateIn(['a', 'b', 'c'], val => val * 2) + * // Map { "a": Map { "b": Map { "c": 20 } } } + * ``` + * + * If the `updater` function returns the same value it was called with, then + * no change will occur. This is still true if `notSetValue` is provided. + * + * + * ```js + * const map = Map({ a: Map({ b: Map({ c: 10 }) }) }) + * const newMap = map.updateIn(['a', 'b', 'x'], 100, val => val) + * // Map { "a": Map { "b": Map { "c": 10 } } } + * assert.strictEqual(newMap, aMap) + * ``` + * + * For code using ES2015 or later, using `notSetValue` is discourged in + * favor of function parameter default values. This helps to avoid any + * potential confusion with identify functions as described above. + * + * The previous example behaves differently when written with default values: + * + * + * ```js + * const map = Map({ a: Map({ b: Map({ c: 10 }) }) }) + * const newMap = map.updateIn(['a', 'b', 'x'], (val = 100) => val) + * // Map { "a": Map { "b": Map { "c": 10, "x": 100 } } } + * ``` + * + * Plain JavaScript Object or Arrays may be nested within an Immutable.js + * Collection, and updateIn() can update those values as well, treating them + * immutably by creating new copies of those values with the changes applied. + * + * + * ```js + * const map = Map({ a: { b: { c: 10 } } }) + * const newMap = map.updateIn(['a', 'b', 'c'], val => val * 2) + * // Map { "a": { b: { c: 20 } } } + * ``` + * + * If any key in the path exists but cannot be updated (such as a primitive + * like number or a custom Object like Date), an error will be thrown. + * + * Note: `updateIn` can be used in `withMutations`. + */ + updateIn(keyPath: Iterable, notSetValue: any, updater: (value: any) => any): this; + updateIn(keyPath: Iterable, updater: (value: any) => any): this; + + /** + * A combination of `updateIn` and `merge`, returning a new Map, but + * performing the merge at a point arrived at by following the keyPath. + * In other words, these two lines are equivalent: + * + * ```js + * map.updateIn(['a', 'b', 'c'], abc => abc.merge(y)) + * map.mergeIn(['a', 'b', 'c'], y) + * ``` + * + * Note: `mergeIn` can be used in `withMutations`. + */ + mergeIn(keyPath: Iterable, ...collections: Array): this; + + /** + * A combination of `updateIn` and `mergeDeep`, returning a new Map, but + * performing the deep merge at a point arrived at by following the keyPath. + * In other words, these two lines are equivalent: + * + * ```js + * map.updateIn(['a', 'b', 'c'], abc => abc.mergeDeep(y)) + * map.mergeDeepIn(['a', 'b', 'c'], y) + * ``` + * + * Note: `mergeDeepIn` can be used in `withMutations`. + */ + mergeDeepIn(keyPath: Iterable, ...collections: Array): this; + + // Transient changes + + /** + * Every time you call one of the above functions, a new immutable Map is + * created. If a pure function calls a number of these to produce a final + * return value, then a penalty on performance and memory has been paid by + * creating all of the intermediate immutable Maps. + * + * If you need to apply a series of mutations to produce a new immutable + * Map, `withMutations()` creates a temporary mutable copy of the Map which + * can apply mutations in a highly performant manner. In fact, this is + * exactly how complex mutations like `merge` are done. + * + * As an example, this results in the creation of 2, not 4, new Maps: + * + * + * ```js + * const { Map } = require('immutable') + * const map1 = Map() + * const map2 = map1.withMutations(map => { + * map.set('a', 1).set('b', 2).set('c', 3) + * }) + * assert.equal(map1.size, 0) + * assert.equal(map2.size, 3) + * ``` + * + * Note: Not all methods can be used on a mutable collection or within + * `withMutations`! Read the documentation for each method to see if it + * is safe to use in `withMutations`. + */ + withMutations(mutator: (mutable: this) => any): this; + + /** + * Another way to avoid creation of intermediate Immutable maps is to create + * a mutable copy of this collection. Mutable copies *always* return `this`, + * and thus shouldn't be used for equality. Your function should never return + * a mutable copy of a collection, only use it internally to create a new + * collection. + * + * If possible, use `withMutations` to work with temporary mutable copies as + * it provides an easier to use API and considers many common optimizations. + * + * Note: if the collection is already mutable, `asMutable` returns itself. + * + * Note: Not all methods can be used on a mutable collection or within + * `withMutations`! Read the documentation for each method to see if it + * is safe to use in `withMutations`. + * + * @see `Map#asImmutable` + */ + asMutable(): this; + + /** + * Returns true if this is a mutable copy (see `asMutable()`) and mutative + * alterations have been applied. + * + * @see `Map#asMutable` + */ + wasAltered(): boolean; + + /** + * The yin to `asMutable`'s yang. Because it applies to mutable collections, + * this operation is *mutable* and may return itself (though may not + * return itself, i.e. if the result is an empty collection). Once + * performed, the original mutable copy must no longer be mutated since it + * may be the immutable result. + * + * If possible, use `withMutations` to work with temporary mutable copies as + * it provides an easier to use API and considers many common optimizations. + * + * @see `Map#asMutable` + */ + asImmutable(): this; + + // Sequence algorithms + + /** + * Returns a new Map with values passed through a + * `mapper` function. + * + * Map({ a: 1, b: 2 }).map(x => 10 * x) + * // Map { a: 10, b: 20 } + */ + map( + mapper: (value: V, key: K, iter: this) => M, + context?: any + ): Map; + + /** + * @see Collection.Keyed.mapKeys + */ + mapKeys( + mapper: (key: K, value: V, iter: this) => M, + context?: any + ): Map; + + /** + * @see Collection.Keyed.mapEntries + */ + mapEntries( + mapper: (entry: [K, V], index: number, iter: this) => [KM, VM], + context?: any + ): Map; + + /** + * Flat-maps the Map, returning a new Map. + * + * Similar to `data.map(...).flatten(true)`. + */ + flatMap( + mapper: (value: V, key: K, iter: this) => Iterable<[KM, VM]>, + context?: any + ): Map; + + /** + * Returns a new Map with only the entries for which the `predicate` + * function returns true. + * + * Note: `filter()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filter( + predicate: (value: V, key: K, iter: this) => value is F, + context?: any + ): Map; + filter( + predicate: (value: V, key: K, iter: this) => any, + context?: any + ): this; + + /** + * @see Collection.Keyed.flip + */ + flip(): Map; + } + + + /** + * A type of Map that has the additional guarantee that the iteration order of + * entries will be the order in which they were set(). + * + * The iteration behavior of OrderedMap is the same as native ES6 Map and + * JavaScript Object. + * + * Note that `OrderedMap` are more expensive than non-ordered `Map` and may + * consume more memory. `OrderedMap#set` is amortized O(log32 N), but not + * stable. + */ + + declare module OrderedMap { + + /** + * True if the provided value is an OrderedMap. + */ + function isOrderedMap(maybeOrderedMap: any): maybeOrderedMap is OrderedMap; + } + + /** + * Creates a new Immutable OrderedMap. + * + * Created with the same key value pairs as the provided Collection.Keyed or + * JavaScript Object or expects a Collection of [K, V] tuple entries. + * + * The iteration order of key-value pairs provided to this constructor will + * be preserved in the OrderedMap. + * + * let newOrderedMap = OrderedMap({key: "value"}) + * let newOrderedMap = OrderedMap([["key", "value"]]) + * + * Note: `OrderedMap` is a factory function and not a class, and does not use + * the `new` keyword during construction. + */ + declare function OrderedMap(collection: Iterable<[K, V]>): OrderedMap; + declare function OrderedMap(collection: Iterable>): OrderedMap; + declare function OrderedMap(obj: {[key: string]: V}): OrderedMap; + declare function OrderedMap(): OrderedMap; + declare function OrderedMap(): OrderedMap; + + interface OrderedMap extends Map { + + /** + * The number of entries in this OrderedMap. + */ + readonly size: number; + + /** + * Returns a new OrderedMap also containing the new key, value pair. If an + * equivalent key already exists in this OrderedMap, it will be replaced + * while maintaining the existing order. + * + * + * ```js + * const { OrderedMap } = require('immutable') + * const originalMap = OrderedMap({a:1, b:1, c:1}) + * const updatedMap = originalMap.set('b', 2) + * + * originalMap + * // OrderedMap {a: 1, b: 1, c: 1} + * updatedMap + * // OrderedMap {a: 1, b: 2, c: 1} + * ``` + * + * Note: `set` can be used in `withMutations`. + */ + set(key: K, value: V): this; + + /** + * Returns a new OrderedMap resulting from merging the provided Collections + * (or JS objects) into this OrderedMap. In other words, this takes each + * entry of each collection and sets it on this OrderedMap. + * + * Note: Values provided to `merge` are shallowly converted before being + * merged. No nested values are altered. + * + * + * ```js + * const { OrderedMap } = require('immutable') + * const one = OrderedMap({ a: 10, b: 20, c: 30 }) + * const two = OrderedMap({ b: 40, a: 50, d: 60 }) + * one.merge(two) // OrderedMap { "a": 50, "b": 40, "c": 30, "d": 60 } + * two.merge(one) // OrderedMap { "b": 20, "a": 10, "d": 60, "c": 30 } + * ``` + * + * Note: `merge` can be used in `withMutations`. + * + * @alias concat + */ + merge(...collections: Array>): OrderedMap; + merge(...collections: Array<{[key: string]: C}>): OrderedMap; + concat(...collections: Array>): OrderedMap; + concat(...collections: Array<{[key: string]: C}>): OrderedMap; + + // Sequence algorithms + + /** + * Returns a new OrderedMap with values passed through a + * `mapper` function. + * + * OrderedMap({ a: 1, b: 2 }).map(x => 10 * x) + * // OrderedMap { "a": 10, "b": 20 } + * + * Note: `map()` always returns a new instance, even if it produced the same + * value at every step. + */ + map( + mapper: (value: V, key: K, iter: this) => M, + context?: any + ): OrderedMap; + + /** + * @see Collection.Keyed.mapKeys + */ + mapKeys( + mapper: (key: K, value: V, iter: this) => M, + context?: any + ): OrderedMap; + + /** + * @see Collection.Keyed.mapEntries + */ + mapEntries( + mapper: (entry: [K, V], index: number, iter: this) => [KM, VM], + context?: any + ): OrderedMap; + + /** + * Flat-maps the OrderedMap, returning a new OrderedMap. + * + * Similar to `data.map(...).flatten(true)`. + */ + flatMap( + mapper: (value: V, key: K, iter: this) => Iterable<[KM, VM]>, + context?: any + ): OrderedMap; + + /** + * Returns a new OrderedMap with only the entries for which the `predicate` + * function returns true. + * + * Note: `filter()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filter( + predicate: (value: V, key: K, iter: this) => value is F, + context?: any + ): OrderedMap; + filter( + predicate: (value: V, key: K, iter: this) => any, + context?: any + ): this; + + /** + * @see Collection.Keyed.flip + */ + flip(): OrderedMap; + } + + + /** + * A Collection of unique values with `O(log32 N)` adds and has. + * + * When iterating a Set, the entries will be (value, value) pairs. Iteration + * order of a Set is undefined, however is stable. Multiple iterations of the + * same Set will iterate in the same order. + * + * Set values, like Map keys, may be of any type. Equality is determined using + * `Immutable.is`, enabling Sets to uniquely include other Immutable + * collections, custom value types, and NaN. + */ + declare module Set { + + /** + * True if the provided value is a Set + */ + function isSet(maybeSet: any): maybeSet is Set; + + /** + * Creates a new Set containing `values`. + */ + function of(...values: Array): Set; + + /** + * `Set.fromKeys()` creates a new immutable Set containing the keys from + * this Collection or JavaScript Object. + */ + function fromKeys(iter: Collection): Set; + function fromKeys(obj: {[key: string]: any}): Set; + + /** + * `Set.intersect()` creates a new immutable Set that is the intersection of + * a collection of other sets. + * + * ```js + * const { Set } = require('immutable') + * const intersected = Set.intersect([ + * Set([ 'a', 'b', 'c' ]) + * Set([ 'c', 'a', 't' ]) + * ]) + * // Set [ "a", "c"" ] + * ``` + */ + function intersect(sets: Iterable>): Set; + + /** + * `Set.union()` creates a new immutable Set that is the union of a + * collection of other sets. + * + * ```js + * const { Set } = require('immutable') + * const unioned = Set.union([ + * Set([ 'a', 'b', 'c' ]) + * Set([ 'c', 'a', 't' ]) + * ]) + * // Set [ "a", "b", "c", "t"" ] + * ``` + */ + function union(sets: Iterable>): Set; + } + + /** + * Create a new immutable Set containing the values of the provided + * collection-like. + * + * Note: `Set` is a factory function and not a class, and does not use the + * `new` keyword during construction. + */ + declare function Set(): Set; + declare function Set(): Set; + declare function Set(collection: Iterable): Set; + + interface Set extends Collection.Set { + + /** + * The number of items in this Set. + */ + readonly size: number; + + // Persistent changes + + /** + * Returns a new Set which also includes this value. + * + * Note: `add` can be used in `withMutations`. + */ + add(value: T): this; + + /** + * Returns a new Set which excludes this value. + * + * Note: `delete` can be used in `withMutations`. + * + * Note: `delete` **cannot** be safely used in IE8, use `remove` if + * supporting old browsers. + * + * @alias remove + */ + delete(value: T): this; + remove(value: T): this; + + /** + * Returns a new Set containing no values. + * + * Note: `clear` can be used in `withMutations`. + */ + clear(): this; + + /** + * Returns a Set including any value from `collections` that does not already + * exist in this Set. + * + * Note: `union` can be used in `withMutations`. + * @alias merge + * @alias concat + */ + union(...collections: Array>): Set; + merge(...collections: Array>): Set; + concat(...collections: Array>): Set; + + /** + * Returns a Set which has removed any values not also contained + * within `collections`. + * + * Note: `intersect` can be used in `withMutations`. + */ + intersect(...collections: Array>): this; + + /** + * Returns a Set excluding any values contained within `collections`. + * + * + * ```js + * const { OrderedSet } = require('immutable') + * OrderedSet([ 1, 2, 3 ]).subtract([1, 3]) + * // OrderedSet [2] + * ``` + * + * Note: `subtract` can be used in `withMutations`. + */ + subtract(...collections: Array>): this; + + + // Transient changes + + /** + * Note: Not all methods can be used on a mutable collection or within + * `withMutations`! Check the documentation for each method to see if it + * mentions being safe to use in `withMutations`. + * + * @see `Map#withMutations` + */ + withMutations(mutator: (mutable: this) => any): this; + + /** + * Note: Not all methods can be used on a mutable collection or within + * `withMutations`! Check the documentation for each method to see if it + * mentions being safe to use in `withMutations`. + * + * @see `Map#asMutable` + */ + asMutable(): this; + + /** + * @see `Map#wasAltered` + */ + wasAltered(): boolean; + + /** + * @see `Map#asImmutable` + */ + asImmutable(): this; + + // Sequence algorithms + + /** + * Returns a new Set with values passed through a + * `mapper` function. + * + * Set([1,2]).map(x => 10 * x) + * // Set [10,20] + */ + map( + mapper: (value: T, key: T, iter: this) => M, + context?: any + ): Set; + + /** + * Flat-maps the Set, returning a new Set. + * + * Similar to `set.map(...).flatten(true)`. + */ + flatMap( + mapper: (value: T, key: T, iter: this) => Iterable, + context?: any + ): Set; + + /** + * Returns a new Set with only the values for which the `predicate` + * function returns true. + * + * Note: `filter()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filter( + predicate: (value: T, key: T, iter: this) => value is F, + context?: any + ): Set; + filter( + predicate: (value: T, key: T, iter: this) => any, + context?: any + ): this; + } + + + /** + * A type of Set that has the additional guarantee that the iteration order of + * values will be the order in which they were `add`ed. + * + * The iteration behavior of OrderedSet is the same as native ES6 Set. + * + * Note that `OrderedSet` are more expensive than non-ordered `Set` and may + * consume more memory. `OrderedSet#add` is amortized O(log32 N), but not + * stable. + */ + declare module OrderedSet { + + /** + * True if the provided value is an OrderedSet. + */ + function isOrderedSet(maybeOrderedSet: any): boolean; + + /** + * Creates a new OrderedSet containing `values`. + */ + function of(...values: Array): OrderedSet; + + /** + * `OrderedSet.fromKeys()` creates a new immutable OrderedSet containing + * the keys from this Collection or JavaScript Object. + */ + function fromKeys(iter: Collection): OrderedSet; + function fromKeys(obj: {[key: string]: any}): OrderedSet; + } + + /** + * Create a new immutable OrderedSet containing the values of the provided + * collection-like. + * + * Note: `OrderedSet` is a factory function and not a class, and does not use + * the `new` keyword during construction. + */ + declare function OrderedSet(): OrderedSet; + declare function OrderedSet(): OrderedSet; + declare function OrderedSet(collection: Iterable): OrderedSet; + + interface OrderedSet extends Set { + + /** + * The number of items in this OrderedSet. + */ + readonly size: number; + + /** + * Returns an OrderedSet including any value from `collections` that does + * not already exist in this OrderedSet. + * + * Note: `union` can be used in `withMutations`. + * @alias merge + * @alias concat + */ + union(...collections: Array>): OrderedSet; + merge(...collections: Array>): OrderedSet; + concat(...collections: Array>): OrderedSet; + + // Sequence algorithms + + /** + * Returns a new Set with values passed through a + * `mapper` function. + * + * OrderedSet([ 1, 2 ]).map(x => 10 * x) + * // OrderedSet [10, 20] + */ + map( + mapper: (value: T, key: T, iter: this) => M, + context?: any + ): OrderedSet; + + /** + * Flat-maps the OrderedSet, returning a new OrderedSet. + * + * Similar to `set.map(...).flatten(true)`. + */ + flatMap( + mapper: (value: T, key: T, iter: this) => Iterable, + context?: any + ): OrderedSet; + + /** + * Returns a new OrderedSet with only the values for which the `predicate` + * function returns true. + * + * Note: `filter()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filter( + predicate: (value: T, key: T, iter: this) => value is F, + context?: any + ): OrderedSet; + filter( + predicate: (value: T, key: T, iter: this) => any, + context?: any + ): this; + + /** + * Returns an OrderedSet of the same type "zipped" with the provided + * collections. + * + * Like `zipWith`, but using the default `zipper`: creating an `Array`. + * + * ```js + * const a = OrderedSet([ 1, 2, 3 ]) + * const b = OrderedSet([ 4, 5, 6 ]) + * const c = a.zip(b) + * // OrderedSet [ [ 1, 4 ], [ 2, 5 ], [ 3, 6 ] ] + * ``` + */ + zip(other: Collection): OrderedSet<[T,U]>; + zip(other1: Collection, other2: Collection): OrderedSet<[T,U,V]>; + zip(...collections: Array>): OrderedSet; + + /** + * Returns a OrderedSet of the same type "zipped" with the provided + * collections. + * + * Unlike `zip`, `zipAll` continues zipping until the longest collection is + * exhausted. Missing values from shorter collections are filled with `undefined`. + * + * ```js + * const a = OrderedSet([ 1, 2 ]); + * const b = OrderedSet([ 3, 4, 5 ]); + * const c = a.zipAll(b); // OrderedSet [ [ 1, 3 ], [ 2, 4 ], [ undefined, 5 ] ] + * ``` + * + * Note: Since zipAll will return a collection as large as the largest + * input, some results may contain undefined values. TypeScript cannot + * account for these without cases (as of v2.5). + */ + zipAll(other: Collection): OrderedSet<[T,U]>; + zipAll(other1: Collection, other2: Collection): OrderedSet<[T,U,V]>; + zipAll(...collections: Array>): OrderedSet; + + /** + * Returns an OrderedSet of the same type "zipped" with the provided + * collections by using a custom `zipper` function. + * + * @see Seq.Indexed.zipWith + */ + zipWith( + zipper: (value: T, otherValue: U) => Z, + otherCollection: Collection + ): OrderedSet; + zipWith( + zipper: (value: T, otherValue: U, thirdValue: V) => Z, + otherCollection: Collection, + thirdCollection: Collection + ): OrderedSet; + zipWith( + zipper: (...any: Array) => Z, + ...collections: Array> + ): OrderedSet; + + } + + + /** + * Stacks are indexed collections which support very efficient O(1) addition + * and removal from the front using `unshift(v)` and `shift()`. + * + * For familiarity, Stack also provides `push(v)`, `pop()`, and `peek()`, but + * be aware that they also operate on the front of the list, unlike List or + * a JavaScript Array. + * + * Note: `reverse()` or any inherent reverse traversal (`reduceRight`, + * `lastIndexOf`, etc.) is not efficient with a Stack. + * + * Stack is implemented with a Single-Linked List. + */ + declare module Stack { + + /** + * True if the provided value is a Stack + */ + function isStack(maybeStack: any): maybeStack is Stack; + + /** + * Creates a new Stack containing `values`. + */ + function of(...values: Array): Stack; + } + + /** + * Create a new immutable Stack containing the values of the provided + * collection-like. + * + * The iteration order of the provided collection is preserved in the + * resulting `Stack`. + * + * Note: `Stack` is a factory function and not a class, and does not use the + * `new` keyword during construction. + */ + declare function Stack(): Stack; + declare function Stack(): Stack; + declare function Stack(collection: Iterable): Stack; + + interface Stack extends Collection.Indexed { + + /** + * The number of items in this Stack. + */ + readonly size: number; + + // Reading values + + /** + * Alias for `Stack.first()`. + */ + peek(): T | undefined; + + + // Persistent changes + + /** + * Returns a new Stack with 0 size and no values. + * + * Note: `clear` can be used in `withMutations`. + */ + clear(): Stack; + + /** + * Returns a new Stack with the provided `values` prepended, shifting other + * values ahead to higher indices. + * + * This is very efficient for Stack. + * + * Note: `unshift` can be used in `withMutations`. + */ + unshift(...values: Array): Stack; + + /** + * Like `Stack#unshift`, but accepts a collection rather than varargs. + * + * Note: `unshiftAll` can be used in `withMutations`. + */ + unshiftAll(iter: Iterable): Stack; + + /** + * Returns a new Stack with a size ones less than this Stack, excluding + * the first item in this Stack, shifting all other values to a lower index. + * + * Note: this differs from `Array#shift` because it returns a new + * Stack rather than the removed value. Use `first()` or `peek()` to get the + * first value in this Stack. + * + * Note: `shift` can be used in `withMutations`. + */ + shift(): Stack; + + /** + * Alias for `Stack#unshift` and is not equivalent to `List#push`. + */ + push(...values: Array): Stack; + + /** + * Alias for `Stack#unshiftAll`. + */ + pushAll(iter: Iterable): Stack; + + /** + * Alias for `Stack#shift` and is not equivalent to `List#pop`. + */ + pop(): Stack; + + + // Transient changes + + /** + * Note: Not all methods can be used on a mutable collection or within + * `withMutations`! Check the documentation for each method to see if it + * mentions being safe to use in `withMutations`. + * + * @see `Map#withMutations` + */ + withMutations(mutator: (mutable: this) => any): this; + + /** + * Note: Not all methods can be used on a mutable collection or within + * `withMutations`! Check the documentation for each method to see if it + * mentions being safe to use in `withMutations`. + * + * @see `Map#asMutable` + */ + asMutable(): this; + + /** + * @see `Map#wasAltered` + */ + wasAltered(): boolean; + + /** + * @see `Map#asImmutable` + */ + asImmutable(): this; + + // Sequence algorithms + + /** + * Returns a new Stack with other collections concatenated to this one. + */ + concat(...valuesOrCollections: Array | C>): Stack; + + /** + * Returns a new Stack with values passed through a + * `mapper` function. + * + * Stack([ 1, 2 ]).map(x => 10 * x) + * // Stack [ 10, 20 ] + * + * Note: `map()` always returns a new instance, even if it produced the same + * value at every step. + */ + map( + mapper: (value: T, key: number, iter: this) => M, + context?: any + ): Stack; + + /** + * Flat-maps the Stack, returning a new Stack. + * + * Similar to `stack.map(...).flatten(true)`. + */ + flatMap( + mapper: (value: T, key: number, iter: this) => Iterable, + context?: any + ): Stack; + + /** + * Returns a new Set with only the values for which the `predicate` + * function returns true. + * + * Note: `filter()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filter( + predicate: (value: T, index: number, iter: this) => value is F, + context?: any + ): Set; + filter( + predicate: (value: T, index: number, iter: this) => any, + context?: any + ): this; + + /** + * Returns a Stack "zipped" with the provided collections. + * + * Like `zipWith`, but using the default `zipper`: creating an `Array`. + * + * ```js + * const a = Stack([ 1, 2, 3 ]); + * const b = Stack([ 4, 5, 6 ]); + * const c = a.zip(b); // Stack [ [ 1, 4 ], [ 2, 5 ], [ 3, 6 ] ] + * ``` + */ + zip(other: Collection): Stack<[T,U]>; + zip(other: Collection, other2: Collection): Stack<[T,U,V]>; + zip(...collections: Array>): Stack; + + /** + * Returns a Stack "zipped" with the provided collections. + * + * Unlike `zip`, `zipAll` continues zipping until the longest collection is + * exhausted. Missing values from shorter collections are filled with `undefined`. + * + * ```js + * const a = Stack([ 1, 2 ]); + * const b = Stack([ 3, 4, 5 ]); + * const c = a.zipAll(b); // Stack [ [ 1, 3 ], [ 2, 4 ], [ undefined, 5 ] ] + * ``` + * + * Note: Since zipAll will return a collection as large as the largest + * input, some results may contain undefined values. TypeScript cannot + * account for these without cases (as of v2.5). + */ + zipAll(other: Collection): Stack<[T,U]>; + zipAll(other: Collection, other2: Collection): Stack<[T,U,V]>; + zipAll(...collections: Array>): Stack; + + /** + * Returns a Stack "zipped" with the provided collections by using a + * custom `zipper` function. + * + * ```js + * const a = Stack([ 1, 2, 3 ]); + * const b = Stack([ 4, 5, 6 ]); + * const c = a.zipWith((a, b) => a + b, b); + * // Stack [ 5, 7, 9 ] + * ``` + */ + zipWith( + zipper: (value: T, otherValue: U) => Z, + otherCollection: Collection + ): Stack; + zipWith( + zipper: (value: T, otherValue: U, thirdValue: V) => Z, + otherCollection: Collection, + thirdCollection: Collection + ): Stack; + zipWith( + zipper: (...any: Array) => Z, + ...collections: Array> + ): Stack; + } + + + /** + * A record is similar to a JS object, but enforces a specific set of allowed + * string keys, and has default values. + * + * The `Record()` function produces new Record Factories, which when called + * create Record instances. + * + * ```js + * const { Record } = require('immutable') + * const ABRecord = Record({ a: 1, b: 2 }) + * const myRecord = ABRecord({ b: 3 }) + * ``` + * + * Records always have a value for the keys they define. `remove`ing a key + * from a record simply resets it to the default value for that key. + * + * ```js + * myRecord.size // 2 + * myRecord.get('a') // 1 + * myRecord.get('b') // 3 + * const myRecordWithoutB = myRecord.remove('b') + * myRecordWithoutB.get('b') // 2 + * myRecordWithoutB.size // 2 + * ``` + * + * Values provided to the constructor not found in the Record type will + * be ignored. For example, in this case, ABRecord is provided a key "x" even + * though only "a" and "b" have been defined. The value for "x" will be + * ignored for this record. + * + * ```js + * const myRecord = ABRecord({ b: 3, x: 10 }) + * myRecord.get('x') // undefined + * ``` + * + * Because Records have a known set of string keys, property get access works + * as expected, however property sets will throw an Error. + * + * Note: IE8 does not support property access. Only use `get()` when + * supporting IE8. + * + * ```js + * myRecord.b // 3 + * myRecord.b = 5 // throws Error + * ``` + * + * Record Types can be extended as well, allowing for custom methods on your + * Record. This is not a common pattern in functional environments, but is in + * many JS programs. + * + * However Record Types are more restricted than typical JavaScript classes. + * They do not use a class constructor, which also means they cannot use + * class properties (since those are technically part of a constructor). + * + * While Record Types can be syntactically created with the JavaScript `class` + * form, the resulting Record function is actually a factory function, not a + * class constructor. Even though Record Types are not classes, JavaScript + * currently requires the use of `new` when creating new Record instances if + * they are defined as a `class`. + * + * ``` + * class ABRecord extends Record({ a: 1, b: 2 }) { + * getAB() { + * return this.a + this.b; + * } + * } + * + * var myRecord = new ABRecord({b: 3}) + * myRecord.getAB() // 4 + * ``` + * + * + * **Flow Typing Records:** + * + * Immutable.js exports two Flow types designed to make it easier to use + * Records with flow typed code, `RecordOf` and `RecordFactory`. + * + * When defining a new kind of Record factory function, use a flow type that + * describes the values the record contains along with `RecordFactory`. + * To type instances of the Record (which the factory function returns), + * use `RecordOf`. + * + * Typically, new Record definitions will export both the Record factory + * function as well as the Record instance type for use in other code. + * + * ```js + * import type { RecordFactory, RecordOf } from 'immutable'; + * + * // Use RecordFactory for defining new Record factory functions. + * type Point3DProps = { x: number, y: number, z: number }; + * const defaultValues: Point3DProps = { x: 0, y: 0, z: 0 }; + * const makePoint3D: RecordFactory = Record(defaultValues); + * export makePoint3D; + * + * // Use RecordOf for defining new instances of that Record. + * export type Point3D = RecordOf; + * const some3DPoint: Point3D = makePoint3D({ x: 10, y: 20, z: 30 }); + * ``` + * + * **Flow Typing Record Subclasses:** + * + * Records can be subclassed as a means to add additional methods to Record + * instances. This is generally discouraged in favor of a more functional API, + * since Subclasses have some minor overhead. However the ability to create + * a rich API on Record types can be quite valuable. + * + * When using Flow to type Subclasses, do not use `RecordFactory`, + * instead apply the props type when subclassing: + * + * ```js + * type PersonProps = {name: string, age: number}; + * const defaultValues: PersonProps = {name: 'Aristotle', age: 2400}; + * const PersonRecord = Record(defaultValues); + * class Person extends PersonRecord { + * getName(): string { + * return this.get('name') + * } + * + * setName(name: string): this { + * return this.set('name', name); + * } + * } + * ``` + * + * **Choosing Records vs plain JavaScript objects** + * + * Records offer a persistently immutable alternative to plain JavaScript + * objects, however they're not required to be used within Immutable.js + * collections. In fact, the deep-access and deep-updating functions + * like `getIn()` and `setIn()` work with plain JavaScript Objects as well. + * + * Deciding to use Records or Objects in your application should be informed + * by the tradeoffs and relative benefits of each: + * + * - *Runtime immutability*: plain JS objects may be carefully treated as + * immutable, however Record instances will *throw* if attempted to be + * mutated directly. Records provide this additional guarantee, however at + * some marginal runtime cost. While JS objects are mutable by nature, the + * use of type-checking tools like [Flow](https://medium.com/@gcanti/immutability-with-flow-faa050a1aef4) + * can help gain confidence in code written to favor immutability. + * + * - *Value equality*: Records use value equality when compared with `is()` + * or `record.equals()`. That is, two Records with the same keys and values + * are equal. Plain objects use *reference equality*. Two objects with the + * same keys and values are not equal since they are different objects. + * This is important to consider when using objects as keys in a `Map` or + * values in a `Set`, which use equality when retrieving values. + * + * - *API methods*: Records have a full featured API, with methods like + * `.getIn()`, and `.equals()`. These can make working with these values + * easier, but comes at the cost of not allowing keys with those names. + * + * - *Default values*: Records provide default values for every key, which + * can be useful when constructing Records with often unchanging values. + * However default values can make using Flow and TypeScript more laborious. + * + * - *Serialization*: Records use a custom internal representation to + * efficiently store and update their values. Converting to and from this + * form isn't free. If converting Records to plain objects is common, + * consider sticking with plain objects to begin with. + */ + declare module Record$1 { + + /** + * True if `maybeRecord` is an instance of a Record. + */ + export function isRecord(maybeRecord: any): maybeRecord is Record$1; + + /** + * Records allow passing a second parameter to supply a descriptive name + * that appears when converting a Record to a string or in any error + * messages. A descriptive name for any record can be accessed by using this + * method. If one was not provided, the string "Record" is returned. + * + * ```js + * const { Record } = require('immutable') + * const Person = Record({ + * name: null + * }, 'Person') + * + * var me = Person({ name: 'My Name' }) + * me.toString() // "Person { "name": "My Name" }" + * Record.getDescriptiveName(me) // "Person" + * ``` + */ + export function getDescriptiveName(record: Record$1): string; + + /** + * A Record.Factory is created by the `Record()` function. Record instances + * are created by passing it some of the accepted values for that Record + * type: + * + * + * ```js + * // makePerson is a Record Factory function + * const makePerson = Record({ name: null, favoriteColor: 'unknown' }); + * + * // alan is a Record instance + * const alan = makePerson({ name: 'Alan' }); + * ``` + * + * Note that Record Factories return `Record & Readonly`, + * this allows use of both the Record instance API, and direct property + * access on the resulting instances: + * + * + * ```js + * // Use the Record API + * console.log('Record API: ' + alan.get('name')) + * + * // Or direct property access (Readonly) + * console.log('property access: ' + alan.name) + * ``` + * + * **Flow Typing Records:** + * + * Use the `RecordFactory` Flow type to get high quality type checking of + * Records: + * + * ```js + * import type { RecordFactory, RecordOf } from 'immutable'; + * + * // Use RecordFactory for defining new Record factory functions. + * type PersonProps = { name: ?string, favoriteColor: string }; + * const makePerson: RecordFactory = Record({ name: null, favoriteColor: 'unknown' }); + * + * // Use RecordOf for defining new instances of that Record. + * type Person = RecordOf; + * const alan: Person = makePerson({ name: 'Alan' }); + * ``` + */ + export module Factory {} + + export interface Factory { + (values?: Partial | Iterable<[string, any]>): Record$1 & Readonly; + new (values?: Partial | Iterable<[string, any]>): Record$1 & Readonly; + } + + export function Factory(values?: Partial | Iterable<[string, any]>): Record$1 & Readonly; + } + + /** + * Unlike other types in Immutable.js, the `Record()` function creates a new + * Record Factory, which is a function that creates Record instances. + * + * See above for examples of using `Record()`. + * + * Note: `Record` is a factory function and not a class, and does not use the + * `new` keyword during construction. + */ + declare function Record$1(defaultValues: TProps, name?: string): Record$1.Factory; + + interface Record$1 { + + // Reading values + + has(key: string): key is keyof TProps & string; + + /** + * Returns the value associated with the provided key, which may be the + * default value defined when creating the Record factory function. + * + * If the requested key is not defined by this Record type, then + * notSetValue will be returned if provided. Note that this scenario would + * produce an error when using Flow or TypeScript. + */ + get(key: K, notSetValue?: any): TProps[K]; + get(key: string, notSetValue: T): T; + + // Reading deep values + + hasIn(keyPath: Iterable): boolean; + getIn(keyPath: Iterable): any; + + // Value equality + + equals(other: any): boolean; + hashCode(): number; + + // Persistent changes + + set(key: K, value: TProps[K]): this; + update(key: K, updater: (value: TProps[K]) => TProps[K]): this; + merge(...collections: Array | Iterable<[string, any]>>): this; + mergeDeep(...collections: Array | Iterable<[string, any]>>): this; + + mergeWith( + merger: (oldVal: any, newVal: any, key: keyof TProps) => any, + ...collections: Array | Iterable<[string, any]>> + ): this; + mergeDeepWith( + merger: (oldVal: any, newVal: any, key: any) => any, + ...collections: Array | Iterable<[string, any]>> + ): this; + + /** + * Returns a new instance of this Record type with the value for the + * specific key set to its default value. + * + * @alias remove + */ + delete(key: K): this; + remove(key: K): this; + + /** + * Returns a new instance of this Record type with all values set + * to their default values. + */ + clear(): this; + + // Deep persistent changes + + setIn(keyPath: Iterable, value: any): this; + updateIn(keyPath: Iterable, updater: (value: any) => any): this; + mergeIn(keyPath: Iterable, ...collections: Array): this; + mergeDeepIn(keyPath: Iterable, ...collections: Array): this; + + /** + * @alias removeIn + */ + deleteIn(keyPath: Iterable): this; + removeIn(keyPath: Iterable): this; + + // Conversion to JavaScript types + + /** + * Deeply converts this Record to equivalent native JavaScript Object. + * + * Note: This method may not be overridden. Objects with custom + * serialization to plain JS may override toJSON() instead. + */ + toJS(): { [K in keyof TProps]: any }; + + /** + * Shallowly converts this Record to equivalent native JavaScript Object. + */ + toJSON(): TProps; + + /** + * Shallowly converts this Record to equivalent JavaScript Object. + */ + toObject(): TProps; + + // Transient changes + + /** + * Note: Not all methods can be used on a mutable collection or within + * `withMutations`! Only `set` may be used mutatively. + * + * @see `Map#withMutations` + */ + withMutations(mutator: (mutable: this) => any): this; + + /** + * @see `Map#asMutable` + */ + asMutable(): this; + + /** + * @see `Map#wasAltered` + */ + wasAltered(): boolean; + + /** + * @see `Map#asImmutable` + */ + asImmutable(): this; + + // Sequence algorithms + + toSeq(): Seq.Keyed; + + [Symbol.iterator](): IterableIterator<[keyof TProps, TProps[keyof TProps]]>; + } + + /** + * `Seq` describes a lazy operation, allowing them to efficiently chain + * use of all the higher-order collection methods (such as `map` and `filter`) + * by not creating intermediate collections. + * + * **Seq is immutable** — Once a Seq is created, it cannot be + * changed, appended to, rearranged or otherwise modified. Instead, any + * mutative method called on a `Seq` will return a new `Seq`. + * + * **Seq is lazy** — `Seq` does as little work as necessary to respond to any + * method call. Values are often created during iteration, including implicit + * iteration when reducing or converting to a concrete data structure such as + * a `List` or JavaScript `Array`. + * + * For example, the following performs no work, because the resulting + * `Seq`'s values are never iterated: + * + * ```js + * const { Seq } = require('immutable') + * const oddSquares = Seq([ 1, 2, 3, 4, 5, 6, 7, 8 ]) + * .filter(x => x % 2 !== 0) + * .map(x => x * x) + * ``` + * + * Once the `Seq` is used, it performs only the work necessary. In this + * example, no intermediate arrays are ever created, filter is called three + * times, and map is only called once: + * + * ```js + * oddSquares.get(1); // 9 + * ``` + * + * Any collection can be converted to a lazy Seq with `Seq()`. + * + * + * ```js + * const { Map } = require('immutable') + * const map = Map({ a: 1, b: 2, c: 3 } + * const lazySeq = Seq(map) + * ``` + * + * `Seq` allows for the efficient chaining of operations, allowing for the + * expression of logic that can otherwise be very tedious: + * + * ```js + * lazySeq + * .flip() + * .map(key => key.toUpperCase()) + * .flip() + * // Seq { A: 1, B: 1, C: 1 } + * ``` + * + * As well as expressing logic that would otherwise seem memory or time + * limited, for example `Range` is a special kind of Lazy sequence. + * + * + * ```js + * const { Range } = require('immutable') + * Range(1, Infinity) + * .skip(1000) + * .map(n => -n) + * .filter(n => n % 2 === 0) + * .take(2) + * .reduce((r, n) => r * n, 1) + * // 1006008 + * ``` + * + * Seq is often used to provide a rich collection API to JavaScript Object. + * + * ```js + * Seq({ x: 0, y: 1, z: 2 }).map(v => v * 2).toObject(); + * // { x: 0, y: 2, z: 4 } + * ``` + */ + + declare module Seq { + /** + * True if `maybeSeq` is a Seq, it is not backed by a concrete + * structure such as Map, List, or Set. + */ + function isSeq(maybeSeq: any): maybeSeq is Seq.Indexed | Seq.Keyed | Seq.Set; + + + /** + * `Seq` which represents key-value pairs. + */ + export module Keyed {} + + /** + * Always returns a Seq.Keyed, if input is not keyed, expects an + * collection of [K, V] tuples. + * + * Note: `Seq.Keyed` is a conversion function and not a class, and does not + * use the `new` keyword during construction. + */ + export function Keyed(collection: Iterable<[K, V]>): Seq.Keyed; + export function Keyed(obj: {[key: string]: V}): Seq.Keyed; + export function Keyed(): Seq.Keyed; + export function Keyed(): Seq.Keyed; + + export interface Keyed extends Seq, Collection.Keyed { + /** + * Deeply converts this Keyed Seq to equivalent native JavaScript Object. + * + * Converts keys to Strings. + */ + toJS(): Object; + + /** + * Shallowly converts this Keyed Seq to equivalent native JavaScript Object. + * + * Converts keys to Strings. + */ + toJSON(): { [key: string]: V }; + + /** + * Shallowly converts this collection to an Array. + */ + toArray(): Array<[K, V]>; + + /** + * Returns itself + */ + toSeq(): this; + + /** + * Returns a new Seq with other collections concatenated to this one. + * + * All entries will be present in the resulting Seq, even if they + * have the same key. + */ + concat(...collections: Array>): Seq.Keyed; + concat(...collections: Array<{[key: string]: C}>): Seq.Keyed; + + /** + * Returns a new Seq.Keyed with values passed through a + * `mapper` function. + * + * ```js + * const { Seq } = require('immutable') + * Seq.Keyed({ a: 1, b: 2 }).map(x => 10 * x) + * // Seq { "a": 10, "b": 20 } + * ``` + * + * Note: `map()` always returns a new instance, even if it produced the + * same value at every step. + */ + map( + mapper: (value: V, key: K, iter: this) => M, + context?: any + ): Seq.Keyed; + + /** + * @see Collection.Keyed.mapKeys + */ + mapKeys( + mapper: (key: K, value: V, iter: this) => M, + context?: any + ): Seq.Keyed; + + /** + * @see Collection.Keyed.mapEntries + */ + mapEntries( + mapper: (entry: [K, V], index: number, iter: this) => [KM, VM], + context?: any + ): Seq.Keyed; + + /** + * Flat-maps the Seq, returning a Seq of the same type. + * + * Similar to `seq.map(...).flatten(true)`. + */ + flatMap( + mapper: (value: V, key: K, iter: this) => Iterable<[KM, VM]>, + context?: any + ): Seq.Keyed; + + /** + * Returns a new Seq with only the entries for which the `predicate` + * function returns true. + * + * Note: `filter()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filter( + predicate: (value: V, key: K, iter: this) => value is F, + context?: any + ): Seq.Keyed; + filter( + predicate: (value: V, key: K, iter: this) => any, + context?: any + ): this; + + /** + * @see Collection.Keyed.flip + */ + flip(): Seq.Keyed; + } + + + /** + * `Seq` which represents an ordered indexed list of values. + */ + module Indexed { + + /** + * Provides an Seq.Indexed of the values provided. + */ + function of(...values: Array): Seq.Indexed; + } + + /** + * Always returns Seq.Indexed, discarding associated keys and + * supplying incrementing indices. + * + * Note: `Seq.Indexed` is a conversion function and not a class, and does + * not use the `new` keyword during construction. + */ + export function Indexed(): Seq.Indexed; + export function Indexed(): Seq.Indexed; + export function Indexed(collection: Iterable): Seq.Indexed; + + export interface Indexed extends Seq, Collection.Indexed { + /** + * Deeply converts this Indexed Seq to equivalent native JavaScript Array. + */ + toJS(): Array; + + /** + * Shallowly converts this Indexed Seq to equivalent native JavaScript Array. + */ + toJSON(): Array; + + /** + * Shallowly converts this collection to an Array. + */ + toArray(): Array; + + /** + * Returns itself + */ + toSeq(): this + + /** + * Returns a new Seq with other collections concatenated to this one. + */ + concat(...valuesOrCollections: Array | C>): Seq.Indexed; + + /** + * Returns a new Seq.Indexed with values passed through a + * `mapper` function. + * + * ```js + * const { Seq } = require('immutable') + * Seq.Indexed([ 1, 2 ]).map(x => 10 * x) + * // Seq [ 10, 20 ] + * ``` + * + * Note: `map()` always returns a new instance, even if it produced the + * same value at every step. + */ + map( + mapper: (value: T, key: number, iter: this) => M, + context?: any + ): Seq.Indexed; + + /** + * Flat-maps the Seq, returning a a Seq of the same type. + * + * Similar to `seq.map(...).flatten(true)`. + */ + flatMap( + mapper: (value: T, key: number, iter: this) => Iterable, + context?: any + ): Seq.Indexed; + + /** + * Returns a new Seq with only the values for which the `predicate` + * function returns true. + * + * Note: `filter()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filter( + predicate: (value: T, index: number, iter: this) => value is F, + context?: any + ): Seq.Indexed; + filter( + predicate: (value: T, index: number, iter: this) => any, + context?: any + ): this; + + /** + * Returns a Seq "zipped" with the provided collections. + * + * Like `zipWith`, but using the default `zipper`: creating an `Array`. + * + * ```js + * const a = Seq([ 1, 2, 3 ]); + * const b = Seq([ 4, 5, 6 ]); + * const c = a.zip(b); // Seq [ [ 1, 4 ], [ 2, 5 ], [ 3, 6 ] ] + * ``` + */ + zip(other: Collection): Seq.Indexed<[T,U]>; + zip(other: Collection, other2: Collection): Seq.Indexed<[T,U,V]>; + zip(...collections: Array>): Seq.Indexed; + + /** + * Returns a Seq "zipped" with the provided collections. + * + * Unlike `zip`, `zipAll` continues zipping until the longest collection is + * exhausted. Missing values from shorter collections are filled with `undefined`. + * + * ```js + * const a = Seq([ 1, 2 ]); + * const b = Seq([ 3, 4, 5 ]); + * const c = a.zipAll(b); // Seq [ [ 1, 3 ], [ 2, 4 ], [ undefined, 5 ] ] + * ``` + */ + zipAll(other: Collection): Seq.Indexed<[T,U]>; + zipAll(other: Collection, other2: Collection): Seq.Indexed<[T,U,V]>; + zipAll(...collections: Array>): Seq.Indexed; + + /** + * Returns a Seq "zipped" with the provided collections by using a + * custom `zipper` function. + * + * ```js + * const a = Seq([ 1, 2, 3 ]); + * const b = Seq([ 4, 5, 6 ]); + * const c = a.zipWith((a, b) => a + b, b); + * // Seq [ 5, 7, 9 ] + * ``` + */ + zipWith( + zipper: (value: T, otherValue: U) => Z, + otherCollection: Collection + ): Seq.Indexed; + zipWith( + zipper: (value: T, otherValue: U, thirdValue: V) => Z, + otherCollection: Collection, + thirdCollection: Collection + ): Seq.Indexed; + zipWith( + zipper: (...any: Array) => Z, + ...collections: Array> + ): Seq.Indexed; + } + + + /** + * `Seq` which represents a set of values. + * + * Because `Seq` are often lazy, `Seq.Set` does not provide the same guarantee + * of value uniqueness as the concrete `Set`. + */ + export module Set { + + /** + * Returns a Seq.Set of the provided values + */ + function of(...values: Array): Seq.Set; + } + + /** + * Always returns a Seq.Set, discarding associated indices or keys. + * + * Note: `Seq.Set` is a conversion function and not a class, and does not + * use the `new` keyword during construction. + */ + export function Set(): Seq.Set; + export function Set(): Seq.Set; + export function Set(collection: Iterable): Seq.Set; + + export interface Set extends Seq, Collection.Set { + /** + * Deeply converts this Set Seq to equivalent native JavaScript Array. + */ + toJS(): Array; + + /** + * Shallowly converts this Set Seq to equivalent native JavaScript Array. + */ + toJSON(): Array; + + /** + * Shallowly converts this collection to an Array. + */ + toArray(): Array; + + /** + * Returns itself + */ + toSeq(): this + + /** + * Returns a new Seq with other collections concatenated to this one. + * + * All entries will be present in the resulting Seq, even if they + * are duplicates. + */ + concat(...collections: Array>): Seq.Set; + + /** + * Returns a new Seq.Set with values passed through a + * `mapper` function. + * + * ```js + * Seq.Set([ 1, 2 ]).map(x => 10 * x) + * // Seq { 10, 20 } + * ``` + * + * Note: `map()` always returns a new instance, even if it produced the + * same value at every step. + */ + map( + mapper: (value: T, key: T, iter: this) => M, + context?: any + ): Seq.Set; + + /** + * Flat-maps the Seq, returning a Seq of the same type. + * + * Similar to `seq.map(...).flatten(true)`. + */ + flatMap( + mapper: (value: T, key: T, iter: this) => Iterable, + context?: any + ): Seq.Set; + + /** + * Returns a new Seq with only the values for which the `predicate` + * function returns true. + * + * Note: `filter()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filter( + predicate: (value: T, key: T, iter: this) => value is F, + context?: any + ): Seq.Set; + filter( + predicate: (value: T, key: T, iter: this) => any, + context?: any + ): this; + } + + } + + /** + * Creates a Seq. + * + * Returns a particular kind of `Seq` based on the input. + * + * * If a `Seq`, that same `Seq`. + * * If an `Collection`, a `Seq` of the same kind (Keyed, Indexed, or Set). + * * If an Array-like, an `Seq.Indexed`. + * * If an Iterable Object, an `Seq.Indexed`. + * * If an Object, a `Seq.Keyed`. + * + * Note: An Iterator itself will be treated as an object, becoming a `Seq.Keyed`, + * which is usually not what you want. You should turn your Iterator Object into + * an iterable object by defining a Symbol.iterator (or @@iterator) method which + * returns `this`. + * + * Note: `Seq` is a conversion function and not a class, and does not use the + * `new` keyword during construction. + */ + declare function Seq>(seq: S): S; + declare function Seq(collection: Collection.Keyed): Seq.Keyed; + declare function Seq(collection: Collection.Indexed): Seq.Indexed; + declare function Seq(collection: Collection.Set): Seq.Set; + declare function Seq(collection: Iterable): Seq.Indexed; + declare function Seq(obj: {[key: string]: V}): Seq.Keyed; + declare function Seq(): Seq; + + interface Seq extends Collection { + + /** + * Some Seqs can describe their size lazily. When this is the case, + * size will be an integer. Otherwise it will be undefined. + * + * For example, Seqs returned from `map()` or `reverse()` + * preserve the size of the original `Seq` while `filter()` does not. + * + * Note: `Range`, `Repeat` and `Seq`s made from `Array`s and `Object`s will + * always have a size. + */ + readonly size: number | undefined; + + + // Force evaluation + + /** + * Because Sequences are lazy and designed to be chained together, they do + * not cache their results. For example, this map function is called a total + * of 6 times, as each `join` iterates the Seq of three values. + * + * var squares = Seq([ 1, 2, 3 ]).map(x => x * x) + * squares.join() + squares.join() + * + * If you know a `Seq` will be used multiple times, it may be more + * efficient to first cache it in memory. Here, the map function is called + * only 3 times. + * + * var squares = Seq([ 1, 2, 3 ]).map(x => x * x).cacheResult() + * squares.join() + squares.join() + * + * Use this method judiciously, as it must fully evaluate a Seq which can be + * a burden on memory and possibly performance. + * + * Note: after calling `cacheResult`, a Seq will always have a `size`. + */ + cacheResult(): this; + + // Sequence algorithms + + /** + * Returns a new Seq with values passed through a + * `mapper` function. + * + * ```js + * const { Seq } = require('immutable') + * Seq([ 1, 2 ]).map(x => 10 * x) + * // Seq [ 10, 20 ] + * ``` + * + * Note: `map()` always returns a new instance, even if it produced the same + * value at every step. + */ + map( + mapper: (value: V, key: K, iter: this) => M, + context?: any + ): Seq; + + /** + * Returns a new Seq with values passed through a + * `mapper` function. + * + * ```js + * const { Seq } = require('immutable') + * Seq([ 1, 2 ]).map(x => 10 * x) + * // Seq [ 10, 20 ] + * ``` + * + * Note: `map()` always returns a new instance, even if it produced the same + * value at every step. + * Note: used only for sets. + */ + map( + mapper: (value: V, key: K, iter: this) => M, + context?: any + ): Seq; + + /** + * Flat-maps the Seq, returning a Seq of the same type. + * + * Similar to `seq.map(...).flatten(true)`. + */ + flatMap( + mapper: (value: V, key: K, iter: this) => Iterable, + context?: any + ): Seq; + + /** + * Flat-maps the Seq, returning a Seq of the same type. + * + * Similar to `seq.map(...).flatten(true)`. + * Note: Used only for sets. + */ + flatMap( + mapper: (value: V, key: K, iter: this) => Iterable, + context?: any + ): Seq; + + /** + * Returns a new Seq with only the values for which the `predicate` + * function returns true. + * + * Note: `filter()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filter( + predicate: (value: V, key: K, iter: this) => value is F, + context?: any + ): Seq; + filter( + predicate: (value: V, key: K, iter: this) => any, + context?: any + ): this; + } + + /** + * The `Collection` is a set of (key, value) entries which can be iterated, and + * is the base class for all collections in `immutable`, allowing them to + * make use of all the Collection methods (such as `map` and `filter`). + * + * Note: A collection is always iterated in the same order, however that order + * may not always be well defined, as is the case for the `Map` and `Set`. + * + * Collection is the abstract base class for concrete data structures. It + * cannot be constructed directly. + * + * Implementations should extend one of the subclasses, `Collection.Keyed`, + * `Collection.Indexed`, or `Collection.Set`. + */ + declare module Collection { + + /** + * @deprecated use `const { isKeyed } = require('immutable')` + */ + function isKeyed(maybeKeyed: any): maybeKeyed is Collection.Keyed; + + /** + * @deprecated use `const { isIndexed } = require('immutable')` + */ + function isIndexed(maybeIndexed: any): maybeIndexed is Collection.Indexed; + + /** + * @deprecated use `const { isAssociative } = require('immutable')` + */ + function isAssociative(maybeAssociative: any): maybeAssociative is Collection.Keyed | Collection.Indexed; + + /** + * @deprecated use `const { isOrdered } = require('immutable')` + */ + function isOrdered(maybeOrdered: any): boolean; + + + /** + * Keyed Collections have discrete keys tied to each value. + * + * When iterating `Collection.Keyed`, each iteration will yield a `[K, V]` + * tuple, in other words, `Collection#entries` is the default iterator for + * Keyed Collections. + */ + export module Keyed {} + + /** + * Creates a Collection.Keyed + * + * Similar to `Collection()`, however it expects collection-likes of [K, V] + * tuples if not constructed from a Collection.Keyed or JS Object. + * + * Note: `Collection.Keyed` is a conversion function and not a class, and + * does not use the `new` keyword during construction. + */ + export function Keyed(collection: Iterable<[K, V]>): Collection.Keyed; + export function Keyed(obj: {[key: string]: V}): Collection.Keyed; + + export interface Keyed extends Collection { + /** + * Deeply converts this Keyed collection to equivalent native JavaScript Object. + * + * Converts keys to Strings. + */ + toJS(): Object; + + /** + * Shallowly converts this Keyed collection to equivalent native JavaScript Object. + * + * Converts keys to Strings. + */ + toJSON(): { [key: string]: V }; + + /** + * Shallowly converts this collection to an Array. + */ + toArray(): Array<[K, V]>; + + /** + * Returns Seq.Keyed. + * @override + */ + toSeq(): Seq.Keyed; + + + // Sequence functions + + /** + * Returns a new Collection.Keyed of the same type where the keys and values + * have been flipped. + * + * + * ```js + * const { Map } = require('immutable') + * Map({ a: 'z', b: 'y' }).flip() + * // Map { "z": "a", "y": "b" } + * ``` + */ + flip(): Collection.Keyed; + + /** + * Returns a new Collection with other collections concatenated to this one. + */ + concat(...collections: Array>): Collection.Keyed; + concat(...collections: Array<{[key: string]: C}>): Collection.Keyed; + + /** + * Returns a new Collection.Keyed with values passed through a + * `mapper` function. + * + * ```js + * const { Collection } = require('immutable') + * Collection.Keyed({ a: 1, b: 2 }).map(x => 10 * x) + * // Seq { "a": 10, "b": 20 } + * ``` + * + * Note: `map()` always returns a new instance, even if it produced the + * same value at every step. + */ + map( + mapper: (value: V, key: K, iter: this) => M, + context?: any + ): Collection.Keyed; + + /** + * Returns a new Collection.Keyed of the same type with keys passed through + * a `mapper` function. + * + * + * ```js + * const { Map } = require('immutable') + * Map({ a: 1, b: 2 }).mapKeys(x => x.toUpperCase()) + * // Map { "A": 1, "B": 2 } + * ``` + * + * Note: `mapKeys()` always returns a new instance, even if it produced + * the same key at every step. + */ + mapKeys( + mapper: (key: K, value: V, iter: this) => M, + context?: any + ): Collection.Keyed; + + /** + * Returns a new Collection.Keyed of the same type with entries + * ([key, value] tuples) passed through a `mapper` function. + * + * + * ```js + * const { Map } = require('immutable') + * Map({ a: 1, b: 2 }) + * .mapEntries(([ k, v ]) => [ k.toUpperCase(), v * 2 ]) + * // Map { "A": 2, "B": 4 } + * ``` + * + * Note: `mapEntries()` always returns a new instance, even if it produced + * the same entry at every step. + */ + mapEntries( + mapper: (entry: [K, V], index: number, iter: this) => [KM, VM], + context?: any + ): Collection.Keyed; + + /** + * Flat-maps the Collection, returning a Collection of the same type. + * + * Similar to `collection.map(...).flatten(true)`. + */ + flatMap( + mapper: (value: V, key: K, iter: this) => Iterable<[KM, VM]>, + context?: any + ): Collection.Keyed; + + /** + * Returns a new Collection with only the values for which the `predicate` + * function returns true. + * + * Note: `filter()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filter( + predicate: (value: V, key: K, iter: this) => value is F, + context?: any + ): Collection.Keyed; + filter( + predicate: (value: V, key: K, iter: this) => any, + context?: any + ): this; + + [Symbol.iterator](): IterableIterator<[K, V]>; + } + + + /** + * Indexed Collections have incrementing numeric keys. They exhibit + * slightly different behavior than `Collection.Keyed` for some methods in order + * to better mirror the behavior of JavaScript's `Array`, and add methods + * which do not make sense on non-indexed Collections such as `indexOf`. + * + * Unlike JavaScript arrays, `Collection.Indexed`s are always dense. "Unset" + * indices and `undefined` indices are indistinguishable, and all indices from + * 0 to `size` are visited when iterated. + * + * All Collection.Indexed methods return re-indexed Collections. In other words, + * indices always start at 0 and increment until size. If you wish to + * preserve indices, using them as keys, convert to a Collection.Keyed by + * calling `toKeyedSeq`. + */ + export module Indexed {} + + /** + * Creates a new Collection.Indexed. + * + * Note: `Collection.Indexed` is a conversion function and not a class, and + * does not use the `new` keyword during construction. + */ + export function Indexed(collection: Iterable): Collection.Indexed; + + export interface Indexed extends Collection { + /** + * Deeply converts this Indexed collection to equivalent native JavaScript Array. + */ + toJS(): Array; + + /** + * Shallowly converts this Indexed collection to equivalent native JavaScript Array. + */ + toJSON(): Array; + + /** + * Shallowly converts this collection to an Array. + */ + toArray(): Array; + + // Reading values + + /** + * Returns the value associated with the provided index, or notSetValue if + * the index is beyond the bounds of the Collection. + * + * `index` may be a negative number, which indexes back from the end of the + * Collection. `s.get(-1)` gets the last item in the Collection. + */ + get(index: number, notSetValue: NSV): T | NSV; + get(index: number): T | undefined; + + + // Conversion to Seq + + /** + * Returns Seq.Indexed. + * @override + */ + toSeq(): Seq.Indexed; + + /** + * If this is a collection of [key, value] entry tuples, it will return a + * Seq.Keyed of those entries. + */ + fromEntrySeq(): Seq.Keyed; + + + // Combination + + /** + * Returns a Collection of the same type with `separator` between each item + * in this Collection. + */ + interpose(separator: T): this; + + /** + * Returns a Collection of the same type with the provided `collections` + * interleaved into this collection. + * + * The resulting Collection includes the first item from each, then the + * second from each, etc. + * + * + * ```js + * const { List } = require('immutable') + * List([ 1, 2, 3 ]).interleave(List([ 'A', 'B', 'C' ])) + * // List [ 1, "A", 2, "B", 3, "C"" ] + * ``` + * + * The shortest Collection stops interleave. + * + * + * ```js + * List([ 1, 2, 3 ]).interleave( + * List([ 'A', 'B' ]), + * List([ 'X', 'Y', 'Z' ]) + * ) + * // List [ 1, "A", "X", 2, "B", "Y"" ] + * ``` + * + * Since `interleave()` re-indexes values, it produces a complete copy, + * which has `O(N)` complexity. + * + * Note: `interleave` *cannot* be used in `withMutations`. + */ + interleave(...collections: Array>): this; + + /** + * Splice returns a new indexed Collection by replacing a region of this + * Collection with new values. If values are not provided, it only skips the + * region to be removed. + * + * `index` may be a negative number, which indexes back from the end of the + * Collection. `s.splice(-2)` splices after the second to last item. + * + * + * ```js + * const { List } = require('immutable') + * List([ 'a', 'b', 'c', 'd' ]).splice(1, 2, 'q', 'r', 's') + * // List [ "a", "q", "r", "s", "d" ] + * ``` + * + * Since `splice()` re-indexes values, it produces a complete copy, which + * has `O(N)` complexity. + * + * Note: `splice` *cannot* be used in `withMutations`. + */ + splice( + index: number, + removeNum: number, + ...values: Array + ): this; + + /** + * Returns a Collection of the same type "zipped" with the provided + * collections. + * + * Like `zipWith`, but using the default `zipper`: creating an `Array`. + * + * + * + * ```js + * const a = List([ 1, 2, 3 ]); + * const b = List([ 4, 5, 6 ]); + * const c = a.zip(b); // List [ [ 1, 4 ], [ 2, 5 ], [ 3, 6 ] ] + * ``` + */ + zip(other: Collection): Collection.Indexed<[T,U]>; + zip(other: Collection, other2: Collection): Collection.Indexed<[T,U,V]>; + zip(...collections: Array>): Collection.Indexed; + + /** + * Returns a Collection "zipped" with the provided collections. + * + * Unlike `zip`, `zipAll` continues zipping until the longest collection is + * exhausted. Missing values from shorter collections are filled with `undefined`. + * + * ```js + * const a = List([ 1, 2 ]); + * const b = List([ 3, 4, 5 ]); + * const c = a.zipAll(b); // List [ [ 1, 3 ], [ 2, 4 ], [ undefined, 5 ] ] + * ``` + */ + zipAll(other: Collection): Collection.Indexed<[T,U]>; + zipAll(other: Collection, other2: Collection): Collection.Indexed<[T,U,V]>; + zipAll(...collections: Array>): Collection.Indexed; + + /** + * Returns a Collection of the same type "zipped" with the provided + * collections by using a custom `zipper` function. + * + * + * ```js + * const a = List([ 1, 2, 3 ]); + * const b = List([ 4, 5, 6 ]); + * const c = a.zipWith((a, b) => a + b, b); + * // List [ 5, 7, 9 ] + * ``` + */ + zipWith( + zipper: (value: T, otherValue: U) => Z, + otherCollection: Collection + ): Collection.Indexed; + zipWith( + zipper: (value: T, otherValue: U, thirdValue: V) => Z, + otherCollection: Collection, + thirdCollection: Collection + ): Collection.Indexed; + zipWith( + zipper: (...any: Array) => Z, + ...collections: Array> + ): Collection.Indexed; + + + // Search for value + + /** + * Returns the first index at which a given value can be found in the + * Collection, or -1 if it is not present. + */ + indexOf(searchValue: T): number; + + /** + * Returns the last index at which a given value can be found in the + * Collection, or -1 if it is not present. + */ + lastIndexOf(searchValue: T): number; + + /** + * Returns the first index in the Collection where a value satisfies the + * provided predicate function. Otherwise -1 is returned. + */ + findIndex( + predicate: (value: T, index: number, iter: this) => boolean, + context?: any + ): number; + + /** + * Returns the last index in the Collection where a value satisfies the + * provided predicate function. Otherwise -1 is returned. + */ + findLastIndex( + predicate: (value: T, index: number, iter: this) => boolean, + context?: any + ): number; + + // Sequence algorithms + + /** + * Returns a new Collection with other collections concatenated to this one. + */ + concat(...valuesOrCollections: Array | C>): Collection.Indexed; + + /** + * Returns a new Collection.Indexed with values passed through a + * `mapper` function. + * + * ```js + * const { Collection } = require('immutable') + * Collection.Indexed([1,2]).map(x => 10 * x) + * // Seq [ 1, 2 ] + * ``` + * + * Note: `map()` always returns a new instance, even if it produced the + * same value at every step. + */ + map( + mapper: (value: T, key: number, iter: this) => M, + context?: any + ): Collection.Indexed; + + /** + * Flat-maps the Collection, returning a Collection of the same type. + * + * Similar to `collection.map(...).flatten(true)`. + */ + flatMap( + mapper: (value: T, key: number, iter: this) => Iterable, + context?: any + ): Collection.Indexed; + + /** + * Returns a new Collection with only the values for which the `predicate` + * function returns true. + * + * Note: `filter()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filter( + predicate: (value: T, index: number, iter: this) => value is F, + context?: any + ): Collection.Indexed; + filter( + predicate: (value: T, index: number, iter: this) => any, + context?: any + ): this; + + [Symbol.iterator](): IterableIterator; + } + + + /** + * Set Collections only represent values. They have no associated keys or + * indices. Duplicate values are possible in the lazy `Seq.Set`s, however + * the concrete `Set` Collection does not allow duplicate values. + * + * Collection methods on Collection.Set such as `map` and `forEach` will provide + * the value as both the first and second arguments to the provided function. + * + * ```js + * const { Collection } = require('immutable') + * const seq = Collection.Set([ 'A', 'B', 'C' ]) + * // Seq { "A", "B", "C" } + * seq.forEach((v, k) => + * assert.equal(v, k) + * ) + * ``` + */ + export module Set {} + + /** + * Similar to `Collection()`, but always returns a Collection.Set. + * + * Note: `Collection.Set` is a factory function and not a class, and does + * not use the `new` keyword during construction. + */ + export function Set(collection: Iterable): Collection.Set; + + export interface Set extends Collection { + /** + * Deeply converts this Set collection to equivalent native JavaScript Array. + */ + toJS(): Array; + + /** + * Shallowly converts this Set collection to equivalent native JavaScript Array. + */ + toJSON(): Array; + + /** + * Shallowly converts this collection to an Array. + */ + toArray(): Array; + + /** + * Returns Seq.Set. + * @override + */ + toSeq(): Seq.Set; + + // Sequence algorithms + + /** + * Returns a new Collection with other collections concatenated to this one. + */ + concat(...collections: Array>): Collection.Set; + + /** + * Returns a new Collection.Set with values passed through a + * `mapper` function. + * + * ``` + * Collection.Set([ 1, 2 ]).map(x => 10 * x) + * // Seq { 1, 2 } + * ``` + * + * Note: `map()` always returns a new instance, even if it produced the + * same value at every step. + */ + map( + mapper: (value: T, key: T, iter: this) => M, + context?: any + ): Collection.Set; + + /** + * Flat-maps the Collection, returning a Collection of the same type. + * + * Similar to `collection.map(...).flatten(true)`. + */ + flatMap( + mapper: (value: T, key: T, iter: this) => Iterable, + context?: any + ): Collection.Set; + + /** + * Returns a new Collection with only the values for which the `predicate` + * function returns true. + * + * Note: `filter()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filter( + predicate: (value: T, key: T, iter: this) => value is F, + context?: any + ): Collection.Set; + filter( + predicate: (value: T, key: T, iter: this) => any, + context?: any + ): this; + + [Symbol.iterator](): IterableIterator; + } + + } + + /** + * Creates a Collection. + * + * The type of Collection created is based on the input. + * + * * If an `Collection`, that same `Collection`. + * * If an Array-like, an `Collection.Indexed`. + * * If an Object with an Iterator defined, an `Collection.Indexed`. + * * If an Object, an `Collection.Keyed`. + * + * This methods forces the conversion of Objects and Strings to Collections. + * If you want to ensure that a Collection of one item is returned, use + * `Seq.of`. + * + * Note: An Iterator itself will be treated as an object, becoming a `Seq.Keyed`, + * which is usually not what you want. You should turn your Iterator Object into + * an iterable object by defining a Symbol.iterator (or @@iterator) method which + * returns `this`. + * + * Note: `Collection` is a conversion function and not a class, and does not + * use the `new` keyword during construction. + */ + declare function Collection>(collection: I): I; + declare function Collection(collection: Iterable): Collection.Indexed; + declare function Collection(obj: {[key: string]: V}): Collection.Keyed; + + interface Collection extends ValueObject { + + // Value equality + + /** + * True if this and the other Collection have value equality, as defined + * by `Immutable.is()`. + * + * Note: This is equivalent to `Immutable.is(this, other)`, but provided to + * allow for chained expressions. + */ + equals(other: any): boolean; + + /** + * Computes and returns the hashed identity for this Collection. + * + * The `hashCode` of a Collection is used to determine potential equality, + * and is used when adding this to a `Set` or as a key in a `Map`, enabling + * lookup via a different instance. + * + * + * ```js + * const a = List([ 1, 2, 3 ]); + * const b = List([ 1, 2, 3 ]); + * assert.notStrictEqual(a, b); // different instances + * const set = Set([ a ]); + * assert.equal(set.has(b), true); + * ``` + * + * If two values have the same `hashCode`, they are [not guaranteed + * to be equal][Hash Collision]. If two values have different `hashCode`s, + * they must not be equal. + * + * [Hash Collision]: http://en.wikipedia.org/wiki/Collision_(computer_science) + */ + hashCode(): number; + + + // Reading values + + /** + * Returns the value associated with the provided key, or notSetValue if + * the Collection does not contain this key. + * + * Note: it is possible a key may be associated with an `undefined` value, + * so if `notSetValue` is not provided and this method returns `undefined`, + * that does not guarantee the key was not found. + */ + get(key: K, notSetValue: NSV): V | NSV; + get(key: K): V | undefined; + + /** + * True if a key exists within this `Collection`, using `Immutable.is` + * to determine equality + */ + has(key: K): boolean; + + /** + * True if a value exists within this `Collection`, using `Immutable.is` + * to determine equality + * @alias contains + */ + includes(value: V): boolean; + contains(value: V): boolean; + + /** + * In case the `Collection` is not empty returns the first element of the + * `Collection`. + * In case the `Collection` is empty returns the optional default + * value if provided, if no default value is provided returns undefined. + */ + first(notSetValue?: NSV): V | NSV; + + /** + * In case the `Collection` is not empty returns the last element of the + * `Collection`. + * In case the `Collection` is empty returns the optional default + * value if provided, if no default value is provided returns undefined. + */ + last(notSetValue?: NSV): V | NSV; + + // Reading deep values + + /** + * Returns the value found by following a path of keys or indices through + * nested Collections. + * + * + * ```js + * const { Map, List } = require('immutable') + * const deepData = Map({ x: List([ Map({ y: 123 }) ]) }); + * deepData.getIn(['x', 0, 'y']) // 123 + * ``` + * + * Plain JavaScript Object or Arrays may be nested within an Immutable.js + * Collection, and getIn() can access those values as well: + * + * + * ```js + * const { Map, List } = require('immutable') + * const deepData = Map({ x: [ { y: 123 } ] }); + * deepData.getIn(['x', 0, 'y']) // 123 + * ``` + */ + getIn(searchKeyPath: Iterable, notSetValue?: any): any; + + /** + * True if the result of following a path of keys or indices through nested + * Collections results in a set value. + */ + hasIn(searchKeyPath: Iterable): boolean; + + // Persistent changes + + /** + * This can be very useful as a way to "chain" a normal function into a + * sequence of methods. RxJS calls this "let" and lodash calls it "thru". + * + * For example, to sum a Seq after mapping and filtering: + * + * + * ```js + * const { Seq } = require('immutable') + * + * function sum(collection) { + * return collection.reduce((sum, x) => sum + x, 0) + * } + * + * Seq([ 1, 2, 3 ]) + * .map(x => x + 1) + * .filter(x => x % 2 === 0) + * .update(sum) + * // 6 + * ``` + */ + update(updater: (value: this) => R): R; + + + // Conversion to JavaScript types + + /** + * Deeply converts this Collection to equivalent native JavaScript Array or Object. + * + * `Collection.Indexed`, and `Collection.Set` become `Array`, while + * `Collection.Keyed` become `Object`, converting keys to Strings. + */ + toJS(): Array | { [key: string]: any }; + + /** + * Shallowly converts this Collection to equivalent native JavaScript Array or Object. + * + * `Collection.Indexed`, and `Collection.Set` become `Array`, while + * `Collection.Keyed` become `Object`, converting keys to Strings. + */ + toJSON(): Array | { [key: string]: V }; + + /** + * Shallowly converts this collection to an Array. + * + * `Collection.Indexed`, and `Collection.Set` produce an Array of values. + * `Collection.Keyed` produce an Array of [key, value] tuples. + */ + toArray(): Array | Array<[K, V]>; + + /** + * Shallowly converts this Collection to an Object. + * + * Converts keys to Strings. + */ + toObject(): { [key: string]: V }; + + + // Conversion to Collections + + /** + * Converts this Collection to a Map, Throws if keys are not hashable. + * + * Note: This is equivalent to `Map(this.toKeyedSeq())`, but provided + * for convenience and to allow for chained expressions. + */ + toMap(): Map; + + /** + * Converts this Collection to a Map, maintaining the order of iteration. + * + * Note: This is equivalent to `OrderedMap(this.toKeyedSeq())`, but + * provided for convenience and to allow for chained expressions. + */ + toOrderedMap(): OrderedMap; + + /** + * Converts this Collection to a Set, discarding keys. Throws if values + * are not hashable. + * + * Note: This is equivalent to `Set(this)`, but provided to allow for + * chained expressions. + */ + toSet(): Set; + + /** + * Converts this Collection to a Set, maintaining the order of iteration and + * discarding keys. + * + * Note: This is equivalent to `OrderedSet(this.valueSeq())`, but provided + * for convenience and to allow for chained expressions. + */ + toOrderedSet(): OrderedSet; + + /** + * Converts this Collection to a List, discarding keys. + * + * This is similar to `List(collection)`, but provided to allow for chained + * expressions. However, when called on `Map` or other keyed collections, + * `collection.toList()` discards the keys and creates a list of only the + * values, whereas `List(collection)` creates a list of entry tuples. + * + * + * ```js + * const { Map, List } = require('immutable') + * var myMap = Map({ a: 'Apple', b: 'Banana' }) + * List(myMap) // List [ [ "a", "Apple" ], [ "b", "Banana" ] ] + * myMap.toList() // List [ "Apple", "Banana" ] + * ``` + */ + toList(): List; + + /** + * Converts this Collection to a Stack, discarding keys. Throws if values + * are not hashable. + * + * Note: This is equivalent to `Stack(this)`, but provided to allow for + * chained expressions. + */ + toStack(): Stack; + + + // Conversion to Seq + + /** + * Converts this Collection to a Seq of the same kind (indexed, + * keyed, or set). + */ + toSeq(): Seq; + + /** + * Returns a Seq.Keyed from this Collection where indices are treated as keys. + * + * This is useful if you want to operate on an + * Collection.Indexed and preserve the [index, value] pairs. + * + * The returned Seq will have identical iteration order as + * this Collection. + * + * + * ```js + * const { Seq } = require('immutable') + * const indexedSeq = Seq([ 'A', 'B', 'C' ]) + * // Seq [ "A", "B", "C" ] + * indexedSeq.filter(v => v === 'B') + * // Seq [ "B" ] + * const keyedSeq = indexedSeq.toKeyedSeq() + * // Seq { 0: "A", 1: "B", 2: "C" } + * keyedSeq.filter(v => v === 'B') + * // Seq { 1: "B" } + * ``` + */ + toKeyedSeq(): Seq.Keyed; + + /** + * Returns an Seq.Indexed of the values of this Collection, discarding keys. + */ + toIndexedSeq(): Seq.Indexed; + + /** + * Returns a Seq.Set of the values of this Collection, discarding keys. + */ + toSetSeq(): Seq.Set; + + + // Iterators + + /** + * An iterator of this `Collection`'s keys. + * + * Note: this will return an ES6 iterator which does not support + * Immutable.js sequence algorithms. Use `keySeq` instead, if this is + * what you want. + */ + keys(): IterableIterator; + + /** + * An iterator of this `Collection`'s values. + * + * Note: this will return an ES6 iterator which does not support + * Immutable.js sequence algorithms. Use `valueSeq` instead, if this is + * what you want. + */ + values(): IterableIterator; + + /** + * An iterator of this `Collection`'s entries as `[ key, value ]` tuples. + * + * Note: this will return an ES6 iterator which does not support + * Immutable.js sequence algorithms. Use `entrySeq` instead, if this is + * what you want. + */ + entries(): IterableIterator<[K, V]>; + + + // Collections (Seq) + + /** + * Returns a new Seq.Indexed of the keys of this Collection, + * discarding values. + */ + keySeq(): Seq.Indexed; + + /** + * Returns an Seq.Indexed of the values of this Collection, discarding keys. + */ + valueSeq(): Seq.Indexed; + + /** + * Returns a new Seq.Indexed of [key, value] tuples. + */ + entrySeq(): Seq.Indexed<[K, V]>; + + + // Sequence algorithms + + /** + * Returns a new Collection of the same type with values passed through a + * `mapper` function. + * + * + * ```js + * const { Collection } = require('immutable') + * Collection({ a: 1, b: 2 }).map(x => 10 * x) + * // Seq { "a": 10, "b": 20 } + * ``` + * + * Note: `map()` always returns a new instance, even if it produced the same + * value at every step. + */ + map( + mapper: (value: V, key: K, iter: this) => M, + context?: any + ): Collection; + + /** + * Note: used only for sets, which return Collection but are otherwise + * identical to normal `map()`. + * + * @ignore + */ + map(...args: never[]): any; + + /** + * Returns a new Collection of the same type with only the entries for which + * the `predicate` function returns true. + * + * + * ```js + * const { Map } = require('immutable') + * Map({ a: 1, b: 2, c: 3, d: 4}).filter(x => x % 2 === 0) + * // Map { "b": 2, "d": 4 } + * ``` + * + * Note: `filter()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filter( + predicate: (value: V, key: K, iter: this) => value is F, + context?: any + ): Collection; + filter( + predicate: (value: V, key: K, iter: this) => any, + context?: any + ): this; + + /** + * Returns a new Collection of the same type with only the entries for which + * the `predicate` function returns false. + * + * + * ```js + * const { Map } = require('immutable') + * Map({ a: 1, b: 2, c: 3, d: 4}).filterNot(x => x % 2 === 0) + * // Map { "a": 1, "c": 3 } + * ``` + * + * Note: `filterNot()` always returns a new instance, even if it results in + * not filtering out any values. + */ + filterNot( + predicate: (value: V, key: K, iter: this) => boolean, + context?: any + ): this; + + /** + * Returns a new Collection of the same type in reverse order. + */ + reverse(): this; + + /** + * Returns a new Collection of the same type which includes the same entries, + * stably sorted by using a `comparator`. + * + * If a `comparator` is not provided, a default comparator uses `<` and `>`. + * + * `comparator(valueA, valueB)`: + * + * * Returns `0` if the elements should not be swapped. + * * Returns `-1` (or any negative number) if `valueA` comes before `valueB` + * * Returns `1` (or any positive number) if `valueA` comes after `valueB` + * * Is pure, i.e. it must always return the same value for the same pair + * of values. + * + * When sorting collections which have no defined order, their ordered + * equivalents will be returned. e.g. `map.sort()` returns OrderedMap. + * + * + * ```js + * const { Map } = require('immutable') + * Map({ "c": 3, "a": 1, "b": 2 }).sort((a, b) => { + * if (a < b) { return -1; } + * if (a > b) { return 1; } + * if (a === b) { return 0; } + * }); + * // OrderedMap { "a": 1, "b": 2, "c": 3 } + * ``` + * + * Note: `sort()` Always returns a new instance, even if the original was + * already sorted. + * + * Note: This is always an eager operation. + */ + sort(comparator?: (valueA: V, valueB: V) => number): this; + + /** + * Like `sort`, but also accepts a `comparatorValueMapper` which allows for + * sorting by more sophisticated means: + * + * hitters.sortBy(hitter => hitter.avgHits) + * + * Note: `sortBy()` Always returns a new instance, even if the original was + * already sorted. + * + * Note: This is always an eager operation. + */ + sortBy( + comparatorValueMapper: (value: V, key: K, iter: this) => C, + comparator?: (valueA: C, valueB: C) => number + ): this; + + /** + * Returns a `Collection.Keyed` of `Collection.Keyeds`, grouped by the return + * value of the `grouper` function. + * + * Note: This is always an eager operation. + * + * + * ```js + * const { List, Map } = require('immutable') + * const listOfMaps = List([ + * Map({ v: 0 }), + * Map({ v: 1 }), + * Map({ v: 1 }), + * Map({ v: 0 }), + * Map({ v: 2 }) + * ]) + * const groupsOfMaps = listOfMaps.groupBy(x => x.get('v')) + * // Map { + * // 0: List [ Map{ "v": 0 }, Map { "v": 0 } ], + * // 1: List [ Map{ "v": 1 }, Map { "v": 1 } ], + * // 2: List [ Map{ "v": 2 } ], + * // } + * ``` + */ + groupBy( + grouper: (value: V, key: K, iter: this) => G, + context?: any + ): /*Map*/Seq.Keyed>; + + + // Side effects + + /** + * The `sideEffect` is executed for every entry in the Collection. + * + * Unlike `Array#forEach`, if any call of `sideEffect` returns + * `false`, the iteration will stop. Returns the number of entries iterated + * (including the last iteration which returned false). + */ + forEach( + sideEffect: (value: V, key: K, iter: this) => any, + context?: any + ): number; + + + // Creating subsets + + /** + * Returns a new Collection of the same type representing a portion of this + * Collection from start up to but not including end. + * + * If begin is negative, it is offset from the end of the Collection. e.g. + * `slice(-2)` returns a Collection of the last two entries. If it is not + * provided the new Collection will begin at the beginning of this Collection. + * + * If end is negative, it is offset from the end of the Collection. e.g. + * `slice(0, -1)` returns a Collection of everything but the last entry. If + * it is not provided, the new Collection will continue through the end of + * this Collection. + * + * If the requested slice is equivalent to the current Collection, then it + * will return itself. + */ + slice(begin?: number, end?: number): this; + + /** + * Returns a new Collection of the same type containing all entries except + * the first. + */ + rest(): this; + + /** + * Returns a new Collection of the same type containing all entries except + * the last. + */ + butLast(): this; + + /** + * Returns a new Collection of the same type which excludes the first `amount` + * entries from this Collection. + */ + skip(amount: number): this; + + /** + * Returns a new Collection of the same type which excludes the last `amount` + * entries from this Collection. + */ + skipLast(amount: number): this; + + /** + * Returns a new Collection of the same type which includes entries starting + * from when `predicate` first returns false. + * + * + * ```js + * const { List } = require('immutable') + * List([ 'dog', 'frog', 'cat', 'hat', 'god' ]) + * .skipWhile(x => x.match(/g/)) + * // List [ "cat", "hat", "god"" ] + * ``` + */ + skipWhile( + predicate: (value: V, key: K, iter: this) => boolean, + context?: any + ): this; + + /** + * Returns a new Collection of the same type which includes entries starting + * from when `predicate` first returns true. + * + * + * ```js + * const { List } = require('immutable') + * List([ 'dog', 'frog', 'cat', 'hat', 'god' ]) + * .skipUntil(x => x.match(/hat/)) + * // List [ "hat", "god"" ] + * ``` + */ + skipUntil( + predicate: (value: V, key: K, iter: this) => boolean, + context?: any + ): this; + + /** + * Returns a new Collection of the same type which includes the first `amount` + * entries from this Collection. + */ + take(amount: number): this; + + /** + * Returns a new Collection of the same type which includes the last `amount` + * entries from this Collection. + */ + takeLast(amount: number): this; + + /** + * Returns a new Collection of the same type which includes entries from this + * Collection as long as the `predicate` returns true. + * + * + * ```js + * const { List } = require('immutable') + * List([ 'dog', 'frog', 'cat', 'hat', 'god' ]) + * .takeWhile(x => x.match(/o/)) + * // List [ "dog", "frog" ] + * ``` + */ + takeWhile( + predicate: (value: V, key: K, iter: this) => boolean, + context?: any + ): this; + + /** + * Returns a new Collection of the same type which includes entries from this + * Collection as long as the `predicate` returns false. + * + * + * ```js + * const { List } = require('immutable') + * List([ 'dog', 'frog', 'cat', 'hat', 'god' ]) + * .takeUntil(x => x.match(/at/)) + * // List [ "dog", "frog" ] + * ``` + */ + takeUntil( + predicate: (value: V, key: K, iter: this) => boolean, + context?: any + ): this; + + + // Combination + + /** + * Returns a new Collection of the same type with other values and + * collection-like concatenated to this one. + * + * For Seqs, all entries will be present in the resulting Seq, even if they + * have the same key. + */ + concat(...valuesOrCollections: Array): Collection; + + /** + * Flattens nested Collections. + * + * Will deeply flatten the Collection by default, returning a Collection of the + * same type, but a `depth` can be provided in the form of a number or + * boolean (where true means to shallowly flatten one level). A depth of 0 + * (or shallow: false) will deeply flatten. + * + * Flattens only others Collection, not Arrays or Objects. + * + * Note: `flatten(true)` operates on Collection> and + * returns Collection + */ + flatten(depth?: number): Collection; + flatten(shallow?: boolean): Collection; + + /** + * Flat-maps the Collection, returning a Collection of the same type. + * + * Similar to `collection.map(...).flatten(true)`. + */ + flatMap( + mapper: (value: V, key: K, iter: this) => Iterable, + context?: any + ): Collection; + + /** + * Flat-maps the Collection, returning a Collection of the same type. + * + * Similar to `collection.map(...).flatten(true)`. + * Used for Dictionaries only. + */ + flatMap( + mapper: (value: V, key: K, iter: this) => Iterable<[KM, VM]>, + context?: any + ): Collection; + + // Reducing a value + + /** + * Reduces the Collection to a value by calling the `reducer` for every entry + * in the Collection and passing along the reduced value. + * + * If `initialReduction` is not provided, the first item in the + * Collection will be used. + * + * @see `Array#reduce`. + */ + reduce( + reducer: (reduction: R, value: V, key: K, iter: this) => R, + initialReduction: R, + context?: any + ): R; + reduce( + reducer: (reduction: V | R, value: V, key: K, iter: this) => R + ): R; + + /** + * Reduces the Collection in reverse (from the right side). + * + * Note: Similar to this.reverse().reduce(), and provided for parity + * with `Array#reduceRight`. + */ + reduceRight( + reducer: (reduction: R, value: V, key: K, iter: this) => R, + initialReduction: R, + context?: any + ): R; + reduceRight( + reducer: (reduction: V | R, value: V, key: K, iter: this) => R + ): R; + + /** + * True if `predicate` returns true for all entries in the Collection. + */ + every( + predicate: (value: V, key: K, iter: this) => boolean, + context?: any + ): boolean; + + /** + * True if `predicate` returns true for any entry in the Collection. + */ + some( + predicate: (value: V, key: K, iter: this) => boolean, + context?: any + ): boolean; + + /** + * Joins values together as a string, inserting a separator between each. + * The default separator is `","`. + */ + join(separator?: string): string; + + /** + * Returns true if this Collection includes no values. + * + * For some lazy `Seq`, `isEmpty` might need to iterate to determine + * emptiness. At most one iteration will occur. + */ + isEmpty(): boolean; + + /** + * Returns the size of this Collection. + * + * Regardless of if this Collection can describe its size lazily (some Seqs + * cannot), this method will always return the correct size. E.g. it + * evaluates a lazy `Seq` if necessary. + * + * If `predicate` is provided, then this returns the count of entries in the + * Collection for which the `predicate` returns true. + */ + count(): number; + count( + predicate: (value: V, key: K, iter: this) => boolean, + context?: any + ): number; + + /** + * Returns a `Seq.Keyed` of counts, grouped by the return value of + * the `grouper` function. + * + * Note: This is not a lazy operation. + */ + countBy( + grouper: (value: V, key: K, iter: this) => G, + context?: any + ): Map; + + + // Search for value + + /** + * Returns the first value for which the `predicate` returns true. + */ + find( + predicate: (value: V, key: K, iter: this) => boolean, + context?: any, + notSetValue?: V + ): V | undefined; + + /** + * Returns the last value for which the `predicate` returns true. + * + * Note: `predicate` will be called for each entry in reverse. + */ + findLast( + predicate: (value: V, key: K, iter: this) => boolean, + context?: any, + notSetValue?: V + ): V | undefined; + + /** + * Returns the first [key, value] entry for which the `predicate` returns true. + */ + findEntry( + predicate: (value: V, key: K, iter: this) => boolean, + context?: any, + notSetValue?: V + ): [K, V] | undefined; + + /** + * Returns the last [key, value] entry for which the `predicate` + * returns true. + * + * Note: `predicate` will be called for each entry in reverse. + */ + findLastEntry( + predicate: (value: V, key: K, iter: this) => boolean, + context?: any, + notSetValue?: V + ): [K, V] | undefined; + + /** + * Returns the key for which the `predicate` returns true. + */ + findKey( + predicate: (value: V, key: K, iter: this) => boolean, + context?: any + ): K | undefined; + + /** + * Returns the last key for which the `predicate` returns true. + * + * Note: `predicate` will be called for each entry in reverse. + */ + findLastKey( + predicate: (value: V, key: K, iter: this) => boolean, + context?: any + ): K | undefined; + + /** + * Returns the key associated with the search value, or undefined. + */ + keyOf(searchValue: V): K | undefined; + + /** + * Returns the last key associated with the search value, or undefined. + */ + lastKeyOf(searchValue: V): K | undefined; + + /** + * Returns the maximum value in this collection. If any values are + * comparatively equivalent, the first one found will be returned. + * + * The `comparator` is used in the same way as `Collection#sort`. If it is not + * provided, the default comparator is `>`. + * + * When two values are considered equivalent, the first encountered will be + * returned. Otherwise, `max` will operate independent of the order of input + * as long as the comparator is commutative. The default comparator `>` is + * commutative *only* when types do not differ. + * + * If `comparator` returns 0 and either value is NaN, undefined, or null, + * that value will be returned. + */ + max(comparator?: (valueA: V, valueB: V) => number): V | undefined; + + /** + * Like `max`, but also accepts a `comparatorValueMapper` which allows for + * comparing by more sophisticated means: + * + * hitters.maxBy(hitter => hitter.avgHits); + * + */ + maxBy( + comparatorValueMapper: (value: V, key: K, iter: this) => C, + comparator?: (valueA: C, valueB: C) => number + ): V | undefined; + + /** + * Returns the minimum value in this collection. If any values are + * comparatively equivalent, the first one found will be returned. + * + * The `comparator` is used in the same way as `Collection#sort`. If it is not + * provided, the default comparator is `<`. + * + * When two values are considered equivalent, the first encountered will be + * returned. Otherwise, `min` will operate independent of the order of input + * as long as the comparator is commutative. The default comparator `<` is + * commutative *only* when types do not differ. + * + * If `comparator` returns 0 and either value is NaN, undefined, or null, + * that value will be returned. + */ + min(comparator?: (valueA: V, valueB: V) => number): V | undefined; + + /** + * Like `min`, but also accepts a `comparatorValueMapper` which allows for + * comparing by more sophisticated means: + * + * hitters.minBy(hitter => hitter.avgHits); + * + */ + minBy( + comparatorValueMapper: (value: V, key: K, iter: this) => C, + comparator?: (valueA: C, valueB: C) => number + ): V | undefined; + + + // Comparison + + /** + * True if `iter` includes every value in this Collection. + */ + isSubset(iter: Iterable): boolean; + + /** + * True if this Collection includes every value in `iter`. + */ + isSuperset(iter: Iterable): boolean; + } + + /** + * The interface to fulfill to qualify as a Value Object. + */ + interface ValueObject { + /** + * True if this and the other Collection have value equality, as defined + * by `Immutable.is()`. + * + * Note: This is equivalent to `Immutable.is(this, other)`, but provided to + * allow for chained expressions. + */ + equals(other: any): boolean; + + /** + * Computes and returns the hashed identity for this Collection. + * + * The `hashCode` of a Collection is used to determine potential equality, + * and is used when adding this to a `Set` or as a key in a `Map`, enabling + * lookup via a different instance. + * + * + * ```js + * const { List, Set } = require('immutable'); + * const a = List([ 1, 2, 3 ]); + * const b = List([ 1, 2, 3 ]); + * assert.notStrictEqual(a, b); // different instances + * const set = Set([ a ]); + * assert.equal(set.has(b), true); + * ``` + * + * Note: hashCode() MUST return a Uint32 number. The easiest way to + * guarantee this is to return `myHash | 0` from a custom implementation. + * + * If two values have the same `hashCode`, they are [not guaranteed + * to be equal][Hash Collision]. If two values have different `hashCode`s, + * they must not be equal. + * + * Note: `hashCode()` is not guaranteed to always be called before + * `equals()`. Most but not all Immutable.js collections use hash codes to + * organize their internal data structures, while all Immutable.js + * collections use equality during lookups. + * + * [Hash Collision]: http://en.wikipedia.org/wiki/Collision_(computer_science) + */ + hashCode(): number; + } + +type IFunction = (...args: Array) => T; +type IObject = Record; +type Without = { + [P in Exclude]?: never; +}; +type XOR = T | U extends object ? (Without & U) | (Without & T) : T | U; +type Class = new (...args: Array) => T; + +declare const TransformationMatrix_base: Record$1.Factory<{ + a: number; + b: number; + c: number; + d: number; + e: number; + f: number; +}>; +declare class TransformationMatrix extends TransformationMatrix_base { + a: number; + b: number; + c: number; + d: number; + e: number; + f: number; + static defaultValues: IObject; + static IDENTITY: TransformationMatrix; + translate({ x: tx, y: ty }: { + x: number; + y: number; + }): TransformationMatrix; + translateX(tx: number): TransformationMatrix; + translateY(ty: number): TransformationMatrix; + scale(sx: number, sy?: number): TransformationMatrix; + transform(a2: number, b2: number, c2: number, d2: number, e2: number, f2: number): TransformationMatrix; + rotate(degCW: number): TransformationMatrix; + rotateRad(a: number): TransformationMatrix; + inverse(): TransformationMatrix; + toCssValue(): string; + applyToPoint([x, y]: [number, number]): [number, number]; + applyToVector([x, y]: [number, number]): [number, number]; +} + +interface PointCtorProps { + x?: number; + y?: number; + [k: string]: unknown; +} +declare const Point_base: Record$1.Factory; +declare class Point extends Point_base { + x: number; + y: number; + static defaultValues: IObject; + constructor(options?: PointCtorProps); + scale(sx: number, sy?: number): this; + translate({ x: tx, y: ty }: { + x: number; + y: number; + }): this; + translateX(tx: number): this; + translateY(ty: number): this; + distance(other: this): number; + rotate(deg: number): this; + apply(matrix: TransformationMatrix): this; +} + +interface IDrawingPoint extends PointCtorProps { + intensity?: number; +} +declare class DrawingPoint extends Point { + intensity: number; + static defaultValues: IObject; + constructor(options?: IDrawingPoint); +} + +interface ISize { + width: number; + height: number; +} +declare const Size_base: Record$1.Factory; +declare class Size extends Size_base { + scale(factor: number): Size; + ceil(): Size; + floor(): Size; + swapDimensions(): Size; + apply(matrix: TransformationMatrix): Size; +} + +interface IRect { + left?: number; + top?: number; + width?: number; + height?: number; +} +declare const Rect_base: Record$1.Factory; +declare class Rect extends Rect_base { + left: number; + top: number; + width: number; + height: number; + static defaultValues: IObject; + constructor(options?: IRect); + get right(): number; + get bottom(): number; + static fromClientRect({ top, left, width, height }: ClientRect): Rect; + static union(rects: List): Rect; + static getCenteredRect(inner: Size, outer: Size): Rect; + static fromInset(inset: Inset): Rect; + static fromPoints(...points: Point[]): Rect; + expandToIncludePoints(...points: Point[]): Rect; + static areRectsCloserThan(a: Rect, b: Rect, distance: number): boolean; + translate({ x: tx, y: ty }: Point): Rect; + translateX(tx: number): Rect; + translateY(ty: number): Rect; + scale(sx: number, sy?: number): Rect; + grow(growth: number): Rect; + getLocation(): Point; + getSize(): Size; + getCenter(): Point; + setLocation(location: Point): Rect; + roundOverlap(): Rect; + round(): Rect; + isPointInside(point: Point): boolean; + isRectInside(other: Rect): boolean; + isRectOverlapping(other: Rect): boolean; + normalize(): Rect; + apply(matrix: TransformationMatrix): Rect; +} + +interface IInset { + left: number; + top: number; + right: number; + bottom: number; +} +declare const Inset_base: Record$1.Factory; +declare class Inset extends Inset_base { + static applyToRect(inset: Inset, rect: Rect): Rect; + static fromRect(rect: Rect): Inset; + static fromValue(insetValue: number): Inset; + apply(matrix: TransformationMatrix): Inset; + setScale(scale: number): Inset; +} +type InsetJSON = [left: number, top: number, right: number, bottom: number]; + +type ActionCtorProps = { + subActions?: List | null; +}; +declare abstract class Action extends InheritableImmutableRecord { + subActions?: List | null | undefined; + protected constructor(args?: ActionCtorProps); +} + +type ActionTriggerEventType = 'onPointerEnter' | 'onPointerLeave' | 'onPointerDown' | 'onPointerUp' | 'onPageOpen' | 'onPageClose' | 'onPageVisible' | 'onPageHidden'; + +interface IGoToAction extends ActionCtorProps { + pageIndex?: number; +} +declare class GoToAction extends Action { + pageIndex: number; + static defaultValues: IObject; + constructor(args?: IGoToAction); +} + +interface IGoToEmbeddedAction extends ActionCtorProps { + newWindow?: boolean; + relativePath?: string; + targetType?: 'parent' | 'child'; +} +declare class GoToEmbeddedAction extends Action { + newWindow: boolean; + relativePath: string; + targetType: 'parent' | 'child'; + static defaultValues: IObject; + constructor(args?: IGoToEmbeddedAction); +} + +interface IGoToRemoteAction extends ActionCtorProps { + relativePath?: string; + namedDestination?: string; +} +declare class GoToRemoteAction extends Action { + relativePath: string; + namedDestination: string; + static defaultValues: IObject; + constructor(args?: IGoToRemoteAction); +} + +type AnnotationReference = { + fieldName: string; +} | { + pdfObjectId: number; +}; +interface IHideAction extends ActionCtorProps { + hide?: boolean; + annotationReferences?: List; +} +declare class HideAction extends Action { + hide: boolean; + annotationReferences: List; + static defaultValues: IObject; + constructor(args?: IHideAction); +} + +interface IJavaScriptAction extends ActionCtorProps { + script?: string; +} +declare class JavaScriptAction extends Action { + script: string; + static defaultValues: IObject; + constructor(args?: IJavaScriptAction); +} + +interface ILaunchAction extends ActionCtorProps { + filePath?: string; +} +declare class LaunchAction extends Action { + filePath: string; + static defaultValues: IObject; + constructor(args?: ILaunchAction); +} + +interface INamedAction extends ActionCtorProps { + action?: string; +} +declare class NamedAction extends Action { + action: string; + static defaultValues: IObject; + constructor(args?: INamedAction); +} + +interface IResetFormAction extends ActionCtorProps { + fields?: List | null | undefined; + includeExclude?: boolean; +} +declare class ResetFormAction extends Action { + fields: List | null | undefined; + includeExclude: boolean; + static defaultValues: IObject; + constructor(args?: IResetFormAction); +} + +interface ISubmitFormAction extends ActionCtorProps { + uri?: string; + fields?: List; + includeExclude?: boolean; + includeNoValueFields?: boolean; + exportFormat?: boolean; + getMethod?: boolean; + submitCoordinated?: boolean; + xfdf?: boolean; + includeAppendSaves?: boolean; + includeAnnotations?: boolean; + submitPDF?: boolean; + canonicalFormat?: boolean; + excludeNonUserAnnotations?: boolean; + excludeFKey?: boolean; + embedForm?: boolean; +} +declare class SubmitFormAction extends Action { + uri: string; + fields: List | null | undefined; + includeExclude: boolean; + includeNoValueFields: boolean; + exportFormat: boolean; + getMethod: boolean; + submitCoordinated: boolean; + xfdf: boolean; + includeAppendSaves: boolean; + includeAnnotations: boolean; + submitPDF: boolean; + canonicalFormat: boolean; + excludeNonUserAnnotations: boolean; + excludeFKey: boolean; + embedForm: boolean; + static defaultValues: IObject; + constructor(args?: ISubmitFormAction); +} + +interface IURIAction extends ActionCtorProps { + uri?: string; +} +declare class URIAction extends Action { + uri: string; + static defaultValues: IObject; + constructor(args?: IURIAction); +} + +declare const Color_base: Record$1.Factory<{ + r: number; + g: number; + b: number; + transparent: boolean; +}>; +declare class Color extends Color_base { + static BLACK: Color; + static GREY: Color; + static WHITE: Color; + static DARK_BLUE: Color; + static RED: Color; + static PURPLE: Color; + static PINK: Color; + static GREEN: Color; + static ORANGE: Color; + static YELLOW: Color; + static LIGHT_BLUE: Color; + static LIGHT_RED: Color; + static LIGHT_GREEN: Color; + static LIGHT_YELLOW: Color; + static BLUE: Color; + static LIGHT_ORANGE: Color; + static LIGHT_GREY: Color; + static DARK_GREY: Color; + static MAUVE: Color; + static TRANSPARENT: Color; + static fromHex: (hexColor: string) => Color; + constructor(args: { + r?: number; + g?: number; + b?: number; + transparent?: boolean; + }); + lighter(percent: number): Color; + darker(percent: number): Color; + equals(color: Color | { + r: number; + g: number; + b: number; + transparent: boolean; + }): boolean; + saturate(percent: number): Color; + sRGBToRGBComponent(RGBComponent: number): number; + relativeLuminance(): number; + contrastRatio(color: Color): number; + toCSSValue(): string; + toHex(): string; +} + +declare const BlendMode: { + readonly normal: "normal"; + readonly multiply: "multiply"; + readonly screen: "screen"; + readonly overlay: "overlay"; + readonly darken: "darken"; + readonly lighten: "lighten"; + readonly colorDodge: "colorDodge"; + readonly colorBurn: "colorBurn"; + readonly hardLight: "hardLight"; + readonly softLight: "softLight"; + readonly difference: "difference"; + readonly exclusion: "exclusion"; +}; +type IBlendMode = (typeof BlendMode)[keyof typeof BlendMode]; + +interface ITextMarkupAnnotation extends AnnotationProperties { + rects: List; + color: Color; + blendMode: IBlendMode; +} +declare class TextMarkupAnnotation extends Annotation { + rects: List; + color: Color; + blendMode: IBlendMode; + static defaultValues: IObject; + static readableName: string; +} + +interface IHighlightAnnotation extends ITextMarkupAnnotation { + color: Color; + blendMode: IBlendMode | 'multiply'; +} +declare class HighlightAnnotation extends TextMarkupAnnotation { + blendMode: IBlendMode; + static className: string; + static readableName: string; + static defaultValues: IObject; +} + +interface IImageAnnotation extends AnnotationProperties { + description: string | null; + fileName: string | null; + contentType: string | null; + imageAttachmentId: string | null; + isSignature: boolean; + xfdfAppearanceStream: string | null; +} +declare class ImageAnnotation extends Annotation { + description: null | string; + fileName: null | string; + contentType: string; + imageAttachmentId: string; + isSignature: boolean; + xfdfAppearanceStream: null | string; + static defaultValues: IObject; + static readableName: string; +} + +interface IInkAnnotation extends AnnotationProperties { + lines: List>; + lineWidth: number | null; + strokeColor: Color | null; + backgroundColor: Color | null; + isDrawnNaturally: boolean; + isSignature: boolean; +} +declare class InkAnnotation extends Annotation { + lines: List>; + lineWidth: number; + strokeColor: Color | null; + backgroundColor: Color | null; + isDrawnNaturally: boolean; + isSignature: boolean; + static defaultValues: IObject; + static readableName: string; +} + +declare const MeasurementPrecision: { + readonly WHOLE: "whole"; + readonly ONE: "oneDp"; + readonly TWO: "twoDp"; + readonly THREE: "threeDp"; + readonly FOUR: "fourDp"; + readonly HALVES: "1/2"; + readonly QUARTERS: "1/4"; + readonly EIGHTHS: "1/8"; + readonly SIXTEENTHS: "1/16"; +}; +type IMeasurementPrecision = (typeof MeasurementPrecision)[keyof typeof MeasurementPrecision]; + +declare const MeasurementScaleUnitFrom: { + readonly INCHES: "in"; + readonly MILLIMETERS: "mm"; + readonly CENTIMETERS: "cm"; + readonly POINTS: "pt"; +}; +type IMeasurementScaleUnitFrom = (typeof MeasurementScaleUnitFrom)[keyof typeof MeasurementScaleUnitFrom]; + +declare const MeasurementScaleUnitTo: { + readonly INCHES: "in"; + readonly MILLIMETERS: "mm"; + readonly CENTIMETERS: "cm"; + readonly POINTS: "pt"; + readonly FEET: "ft"; + readonly METERS: "m"; + readonly YARDS: "yd"; + readonly KILOMETERS: "km"; + readonly MILES: "mi"; +}; +type IMeasurementScaleUnitTo = (typeof MeasurementScaleUnitTo)[keyof typeof MeasurementScaleUnitTo]; + +interface IMeasurementScale { + unitFrom: IMeasurementScaleUnitFrom; + unitTo: IMeasurementScaleUnitTo; + fromValue: number; + toValue: number; +} +declare const MeasurementScale_base: Record$1.Factory; +declare class MeasurementScale extends MeasurementScale_base { +} + +interface IShapeAnnotation extends AnnotationProperties { + strokeDashArray: [number, number] | null; + strokeWidth: number | null; + strokeColor: Color | null; + fillColor: Color | null; + measurementScale: MeasurementScale | null; + measurementPrecision: IMeasurementPrecision | null; +} +declare abstract class ShapeAnnotation extends Annotation { + strokeDashArray: null | [number, number]; + strokeWidth: number; + strokeColor: null | Color; + fillColor: null | Color; + measurementPrecision: null | IMeasurementPrecision; + measurementScale: null | MeasurementScale; + static readableName: string; + static defaultValues: IObject; + isMeasurement(): boolean; + getMeasurementDetails: () => { + value: number; + label: string; + }; +} + +declare const LineCap: { + readonly square: "square"; + readonly circle: "circle"; + readonly diamond: "diamond"; + readonly openArrow: "openArrow"; + readonly closedArrow: "closedArrow"; + readonly butt: "butt"; + readonly reverseOpenArrow: "reverseOpenArrow"; + readonly reverseClosedArrow: "reverseClosedArrow"; + readonly slash: "slash"; +}; +type ILineCap = (typeof LineCap)[keyof typeof LineCap]; +type LineCapsType = { + start?: ILineCap | null; + end?: ILineCap | null; +}; + +interface ILineAnnotation extends IShapeAnnotation { + startPoint: Point | null; + endPoint: Point | null; + lineCaps: LineCapsType | null; + points: List | null; +} +declare class LineAnnotation extends ShapeAnnotation { + startPoint: Point; + endPoint: Point; + lineCaps: LineCapsType | null; + points: List | null; + static defaultValues: IObject; + static readableName: string; +} + +interface IRectangleAnnotation extends IShapeAnnotation { + cloudyBorderIntensity?: number | null; + cloudyBorderInset?: Inset | null; +} +declare class RectangleAnnotation extends ShapeAnnotation { + cloudyBorderIntensity: null | number; + cloudyBorderInset: null | Inset; + measurementBBox: null | Rect; + static defaultValues: IObject; + static readableName: string; + constructor(options?: Partial); +} + +interface IEllipseAnnotation extends IShapeAnnotation { + cloudyBorderIntensity?: number | null; + cloudyBorderInset?: Inset | null; +} +declare class EllipseAnnotation extends ShapeAnnotation { + cloudyBorderIntensity: null | number; + cloudyBorderInset: null | Inset; + measurementBBox: null | Rect; + static defaultValues: IObject; + static readableName: string; + constructor(options?: Partial); +} + +interface IPolygonAnnotation extends IShapeAnnotation { + points: List | null; + cloudyBorderIntensity: number | null; +} +declare class PolygonAnnotation extends ShapeAnnotation { + points: List; + cloudyBorderIntensity: null | number; + static defaultValues: IObject; + static readableName: string; +} + +interface IPolyLineAnnotation extends IShapeAnnotation { + points: List | null; + lineCaps: LineCapsType | null; +} +declare class PolylineAnnotation extends ShapeAnnotation { + points: List; + lineCaps: null | LineCapsType; + static defaultValues: IObject; + static readableName: string; +} + +declare const BorderStyle: { + readonly solid: "solid"; + readonly dashed: "dashed"; + readonly beveled: "beveled"; + readonly inset: "inset"; + readonly underline: "underline"; +}; +type IBorderStyle = (typeof BorderStyle)[keyof typeof BorderStyle]; + +interface ILinkAnnotation extends AnnotationProperties { + action: Action | null; + borderColor: Color | null; + borderStyle: IBorderStyle | null; + borderWidth: number | null; +} +declare class LinkAnnotation extends Annotation { + action: Action; + borderColor: null | Color; + borderStyle: null | IBorderStyle; + borderWidth: null | number; + static readableName: string; + static defaultValues: IObject; +} + +declare const NoteIcon: { + readonly COMMENT: "COMMENT"; + readonly RIGHT_POINTER: "RIGHT_POINTER"; + readonly RIGHT_ARROW: "RIGHT_ARROW"; + readonly CHECK: "CHECK"; + readonly CIRCLE: "CIRCLE"; + readonly CROSS: "CROSS"; + readonly INSERT: "INSERT"; + readonly NEW_PARAGRAPH: "NEW_PARAGRAPH"; + readonly NOTE: "NOTE"; + readonly PARAGRAPH: "PARAGRAPH"; + readonly HELP: "HELP"; + readonly STAR: "STAR"; + readonly KEY: "KEY"; +}; +type INoteIcon = (typeof NoteIcon)[keyof typeof NoteIcon]; + +interface INoteAnnotation extends AnnotationProperties { + text: { + format: 'plain'; + value: string; + }; + icon: string | INoteIcon; + color: Color; +} +declare class NoteAnnotation extends Annotation { + text: { + format: 'plain'; + value: string; + }; + icon: INoteIcon; + color: Color; + static isEditable: boolean; + static readableName: string; + static defaultValues: IObject; +} + +interface ISquiggleAnnotation extends ITextMarkupAnnotation { + color: Color; +} +declare class SquiggleAnnotation extends TextMarkupAnnotation { + static className: string; + static readableName: string; + static defaultValues: IObject; +} + +interface IStrikeOutAnnotation extends ITextMarkupAnnotation { + color: Color; +} +declare class StrikeOutAnnotation extends TextMarkupAnnotation { + static className: string; + static readableName: string; + static defaultValues: IObject; +} + +type ICallout = { + start: Point | null; + knee: Point | null; + end: Point | null; + cap: ILineCap | null; + innerRectInset: Inset | null; +}; +declare class Callout extends InheritableImmutableRecord { + start: Point | null; + knee: Point | null; + end: Point | null; + cap: ILineCap | null; + innerRectInset: Inset | null; + static defaultValues: { + start: null; + knee: null; + end: null; + cap: null; + innerRectInset: null; + }; +} + +interface ITextAnnotation extends AnnotationProperties { + text: { + format: 'plain' | 'xhtml'; + value: string | null; + }; + fontColor: Color | null; + backgroundColor: Color | null; + font: string; + fontSize: number | null; + isBold: boolean | null; + isItalic: boolean | null; + horizontalAlign: 'left' | 'center' | 'right'; + verticalAlign: 'top' | 'center' | 'bottom'; + callout: Callout | null; + borderStyle: IBorderStyle | null; + borderWidth: number | null; + borderColor: Color | null; + isFitting: boolean; + lineHeightFactor: number | null; +} +declare class TextAnnotation extends Annotation { + text: { + format: 'plain' | 'xhtml'; + value: string; + }; + fontColor: null | Color; + backgroundColor: null | Color; + font: string; + fontSize: number; + isBold: boolean; + isItalic: boolean; + horizontalAlign: 'left' | 'center' | 'right'; + verticalAlign: 'top' | 'center' | 'bottom'; + isFitting: boolean; + callout: null | Callout; + borderStyle: null | IBorderStyle; + borderWidth: null | number; + borderColor: Color | null; + lineHeightFactor: null | number; + static defaultValues: IObject; + static readonly isEditable = true; + static readonly readableName = "Text"; + static readonly fontSizePresets: readonly number[]; +} + +interface IUnderlineAnnotation extends ITextMarkupAnnotation { + color: Color; +} +declare class UnderlineAnnotation extends TextMarkupAnnotation { + static className: string; + static readableName: string; + static defaultValues: IObject; +} + +declare class UnknownAnnotation extends Annotation { +} + +type FontSize = 'auto' | number; +type WidgetActionTriggerEventType = ActionTriggerEventType | 'onFocus' | 'onBlur'; +type WidgetAnnotationAdditionalActionsType = { + onFocus?: JavaScriptAction; + onBlur?: JavaScriptAction; + onChange?: JavaScriptAction; + onFormat?: JavaScriptAction; + onInput?: JavaScriptAction; + onPointerDown?: Action; + onPointerUp?: Action; + onPointerEnter?: Action; + onPointerLeave?: Action; +}; +interface IWidgetAnnotation extends AnnotationProperties { + formFieldName: string | null; + borderColor: Color | null; + borderStyle: IBorderStyle | null; + borderDashArray: number[] | null; + borderWidth: number | null; + backgroundColor: Color | null; + fontSize: FontSize | null; + font: string | null; + fontColor: Color | null; + isBold: boolean | null; + isItalic: boolean | null; + horizontalAlign: 'left' | 'center' | 'right' | null; + verticalAlign: 'top' | 'center' | 'bottom' | null; + additionalActions: WidgetAnnotationAdditionalActionsType | null; + rotation: number; + lineHeightFactor: number | null; +} +declare class WidgetAnnotation extends Annotation { + formFieldName: string; + borderColor: null | Color; + borderStyle: null | IBorderStyle; + borderDashArray: null | number[]; + borderWidth: null | number; + backgroundColor: null | Color; + fontSize: null | FontSize; + font: null | string; + fontColor: null | Color; + isBold: boolean; + isItalic: boolean; + horizontalAlign: 'left' | 'center' | 'right' | null; + verticalAlign: 'top' | 'center' | 'bottom' | null; + additionalActions: null | WidgetAnnotationAdditionalActionsType; + rotation: number; + lineHeightFactor: null | number; + action: null | Action; + static defaultValues: IObject; + static readableName: string; +} + +declare class CommentMarkerAnnotation extends Annotation { + static readableName: string; +} + +interface IRedactionAnnotation extends ITextMarkupAnnotation { + color: Color; + fillColor: null | Color; + overlayText: null | string; + repeatOverlayText: null | boolean; + outlineColor: null | Color; +} +declare class RedactionAnnotation extends TextMarkupAnnotation { + fillColor: null | Color; + overlayText: null | string; + repeatOverlayText: null | boolean; + outlineColor: null | Color; + color: Color; + static readableName: string; + static defaultValues: IObject; +} + +interface IMediaAnnotation extends AnnotationProperties { + description: null | string; + fileName: null | string; + contentType: string | null; + mediaAttachmentId: string | null; +} +declare class MediaAnnotation extends Annotation { + description: null | string; + fileName: null | string; + contentType: string | null; + mediaAttachmentId: string | null; + static defaultValues: IObject; + static readableName: string; +} + +type SignatureInfo = { + type: 'pspdfkit/signature-info'; + signatureType: SignatureTypeType | null | undefined; + signerName: string | null | undefined; + creationDate: Date | null | undefined; + signatureReason: string | null | undefined; + signatureLocation: string | null | undefined; + documentIntegrityStatus: DocumentIntegrityStatusType; + certificateChainValidationStatus: CertificateChainValidationStatusType; + signatureValidationStatus: SignatureValidationStatusType; + isTrusted: boolean; + isSelfSigned: boolean; + isExpired: boolean; + documentModifiedSinceSignature: boolean; + signatureFormFQN: string; +}; +declare const DocumentIntegrityStatus: { + readonly ok: "ok"; + readonly tampered_document: "tampered_document"; + readonly failed_to_retrieve_signature_contents: "failed_to_retrieve_signature_contents"; + readonly failed_to_retrieve_byterange: "failed_to_retrieve_byterange"; + readonly failed_to_compute_digest: "failed_to_compute_digest"; + readonly failed_retrieve_signing_certificate: "failed_retrieve_signing_certificate"; + readonly failed_retrieve_public_key: "failed_retrieve_public_key"; + readonly failed_encryption_padding: "failed_encryption_padding"; + readonly general_failure: "general_failure"; +}; +type DocumentIntegrityStatusType = (typeof DocumentIntegrityStatus)[keyof typeof DocumentIntegrityStatus]; +declare const CertificateChainValidationStatus: { + readonly ok: "ok"; + readonly ok_but_self_signed: "ok_but_self_signed"; + readonly untrusted: "untrusted"; + readonly expired: "expired"; + readonly not_yet_valid: "not_yet_valid"; + readonly invalid: "invalid"; + readonly revoked: "revoked"; + readonly failed_to_retrieve_signature_contents: "failed_to_retrieve_signature_contents"; + readonly general_validation_problem: "general_validation_problem"; +}; +type CertificateChainValidationStatusType = (typeof CertificateChainValidationStatus)[keyof typeof CertificateChainValidationStatus]; +declare const SignatureValidationStatus: { + readonly valid: "valid"; + readonly warning: "warning"; + readonly error: "error"; +}; +type SignatureValidationStatusType = (typeof SignatureValidationStatus)[keyof typeof SignatureValidationStatus]; +declare const SignatureType: { + CMS: string; + CAdES: string; +}; +type SignatureTypeType = (typeof SignatureType)[keyof typeof SignatureType]; + +type SignaturesInfo = { + status: DocumentValidationStatusType; + checkedAt: Date; + signatures?: Array; + documentModifiedSinceSignature?: boolean; +}; +declare const DocumentValidationStatus: { + valid: string; + warning: string; + error: string; + not_signed: string; +}; +type DocumentValidationStatusType = keyof typeof DocumentValidationStatus; + +type MeasurementValueConfiguration = { + name?: string; + scale: IMeasurementScale; + precision: IMeasurementPrecision; + selected?: boolean; +}; +type MeasurementValueConfigurationCallback = (configuration: MeasurementValueConfiguration[]) => MeasurementValueConfiguration[]; + +type IAnnotationJSON = Omit; +declare class AnnotationSerializer { + static VERSION: number; + annotation: AnnotationsUnion; + constructor(annotation: AnnotationsUnion); + toJSON(): Omit; + static fromJSON(id: ID | null, json: IAnnotationJSON, options?: ICollaboratorPermissionsOptions): { + group?: string | null | undefined; + canSetGroup?: boolean | undefined; + isEditable?: boolean | undefined; + isDeletable?: boolean | undefined; + blendMode?: IBlendMode | undefined; + id: string | null; + name: string | null; + subject: string | null; + pdfObjectId: number | null; + pageIndex: number; + opacity: number; + boundingBox: Rect; + noPrint: boolean; + noZoom: boolean; + noRotate: boolean; + noView: boolean; + hidden: boolean; + locked: boolean; + lockedContents: boolean; + readOnly: boolean; + action: Action | null | undefined; + note: string | null; + createdAt: Date; + updatedAt: Date; + creatorName: string | null; + customData: Record | null; + isCommentThreadRoot: boolean; + }; + static blendModeObjectForAnnotation(json: IAnnotationJSON): { + blendMode: IBlendMode; + } | null; + serializeFlags(): ("noView" | "noPrint" | "locked" | "lockedContents" | "readOnly" | "hidden" | "noZoom" | "noRotate")[] | null; +} + +declare class InkAnnotationSerializer extends AnnotationSerializer { + annotation: InkAnnotation; + constructor(annotation: InkAnnotation); + toJSON(): InkAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): InkAnnotation; + _linesToJSON(): { + points: [number, number][][]; + intensities: number[][]; + }; + static _JSONToLines(linesJSON: { + points: Array>; + intensities: Array>; + }): List>; +} + +declare abstract class ShapeAnnotationSerializer extends AnnotationSerializer { + annotation: ShapeAnnotationsUnion; + toJSON(): ShapeAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): { + strokeWidth: number | null; + strokeColor: Color | null; + fillColor: Color | null; + strokeDashArray: [number, number] | null | undefined; + measurementPrecision: IMeasurementPrecision | null | undefined; + measurementScale: MeasurementScale | null; + group?: string | null | undefined; + canSetGroup?: boolean | undefined; + isEditable?: boolean | undefined; + isDeletable?: boolean | undefined; + blendMode?: IBlendMode | undefined; + id: string | null; + name: string | null; + subject: string | null; + pdfObjectId: number | null; + pageIndex: number; + opacity: number; + boundingBox: Rect; + noPrint: boolean; + noZoom: boolean; + noRotate: boolean; + noView: boolean; + hidden: boolean; + locked: boolean; + lockedContents: boolean; + readOnly: boolean; + action: Action | null | undefined; + note: string | null; + createdAt: Date; + updatedAt: Date; + creatorName: string | null; + customData: Record | null; + isCommentThreadRoot: boolean; + }; + _pointsToJSON(): Array<[number, number]>; + static _JSONToPoints(pointsJSON: Array<[number, number]>): List; + static _JSONLinesToPoints(linesJSON: { + points: Array>; + intensities: Array>; + }): List; +} +type MeasurementScaleJSON = { + unitFrom: IMeasurementScaleUnitFrom; + unitTo: IMeasurementScaleUnitTo; + from: number; + to: number; +}; + +declare class LineAnnotationSerializer extends ShapeAnnotationSerializer { + annotation: LineAnnotation; + toJSON(): LineAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): LineAnnotation; +} + +declare class RectangleAnnotationSerializer extends ShapeAnnotationSerializer { + annotation: RectangleAnnotation; + toJSON(): RectangleAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): RectangleAnnotation; +} + +declare class EllipseAnnotationSerializer extends ShapeAnnotationSerializer { + annotation: EllipseAnnotation; + toJSON(): EllipseAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): EllipseAnnotation; +} + +declare class PolygonAnnotationSerializer extends ShapeAnnotationSerializer { + annotation: PolygonAnnotation; + toJSON(): PolygonAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: IObject): PolygonAnnotation; +} + +declare class PolylineAnnotationSerializer extends ShapeAnnotationSerializer { + annotation: PolylineAnnotation; + toJSON(): PolylineAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): PolylineAnnotation; +} + +declare class LinkAnnotationSerializer extends AnnotationSerializer { + annotation: LinkAnnotation; + constructor(annotation: LinkAnnotation); + toJSON(): LinkAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): LinkAnnotation; +} + +declare abstract class BaseTextMarkupSerializer extends AnnotationSerializer { + annotation: RedactionAnnotation | TextMarkupAnnotation; + constructor(annotation: RedactionAnnotation | TextMarkupAnnotation); + toJSON(): BaseTextMarkupAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): { + rects: List; + group?: string | null | undefined; + canSetGroup?: boolean | undefined; + isEditable?: boolean | undefined; + isDeletable?: boolean | undefined; + blendMode?: IBlendMode | undefined; + id: string | null; + name: string | null; + subject: string | null; + pdfObjectId: number | null; + pageIndex: number; + opacity: number; + boundingBox: Rect; + noPrint: boolean; + noZoom: boolean; + noRotate: boolean; + noView: boolean; + hidden: boolean; + locked: boolean; + lockedContents: boolean; + readOnly: boolean; + action: Action | null | undefined; + note: string | null; + createdAt: Date; + updatedAt: Date; + creatorName: string | null; + customData: Record | null; + isCommentThreadRoot: boolean; + }; +} + +declare class TextMarkupAnnotationSerializer extends BaseTextMarkupSerializer { + annotation: TextMarkupAnnotationsUnion; + constructor(annotation: TextMarkupAnnotationsUnion); + toJSON(): TextMarkupAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): TextMarkupAnnotationsUnion; + typeForAnnotation(): "pspdfkit/markup/highlight" | "pspdfkit/markup/squiggly" | "pspdfkit/markup/strikeout" | "pspdfkit/markup/underline" | "pspdfkit/markup/redaction"; +} + +declare class RedactionAnnotationSerializer extends BaseTextMarkupSerializer { + annotation: RedactionAnnotation; + constructor(annotation: RedactionAnnotation); + toJSON(): RedactionAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): RedactionAnnotation; +} + +declare class TextAnnotationSerializer extends AnnotationSerializer { + annotation: TextAnnotation; + constructor(annotation: TextAnnotation); + toJSON(): TextAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): TextAnnotation; + _calloutToJSON(): { + start: [number, number]; + knee: [number, number] | null; + end: [number, number]; + cap: ILineCap | null; + innerRectInset: InsetJSON | null; + } | null; + static _JSONToCallout(calloutJSON: TextAnnotationJSON['callout']): Callout | null | undefined; +} + +declare class NoteAnnotationSerializer extends AnnotationSerializer { + annotation: NoteAnnotation; + constructor(annotation: NoteAnnotation); + toJSON(): NoteAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): NoteAnnotation; +} + +declare class ImageAnnotationSerializer extends AnnotationSerializer { + annotation: ImageAnnotation; + constructor(annotation: ImageAnnotation); + toJSON(): ImageAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): ImageAnnotation; +} + +declare class StampAnnotationSerializer extends AnnotationSerializer { + annotation: StampAnnotation; + constructor(annotation: StampAnnotation); + toJSON(): StampAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): StampAnnotation; +} + +declare class WidgetAnnotationSerializer extends AnnotationSerializer { + annotation: WidgetAnnotation; + constructor(annotation: WidgetAnnotation); + toJSON(): WidgetAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): WidgetAnnotation; +} + +type InstantID = string; +declare function generateInstantId(): InstantID; + +declare class CommentMarkerAnnotationSerializer extends AnnotationSerializer { + annotation: CommentMarkerAnnotation; + constructor(annotation: CommentMarkerAnnotation); + toJSON(): CommentMarkerAnnotationJSON; + static fromJSON(id: InstantID | null, json: Omit, options?: ICollaboratorPermissionsOptions): CommentMarkerAnnotation; +} + +declare class UnknownAnnotationSerializer extends AnnotationSerializer { + annotation: UnknownAnnotation; + constructor(annotation: UnknownAnnotation); + toJSON(): UnknownAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): UnknownAnnotation; +} + +declare class MediaAnnotationSerializer extends AnnotationSerializer { + annotation: MediaAnnotation; + constructor(annotation: MediaAnnotation); + toJSON(): MediaAnnotationJSON; + static fromJSON(id: ID | null, json: Omit, options?: ICollaboratorPermissionsOptions): MediaAnnotation; +} + +type AnnotationSerializerTypeMap = { + 'pspdfkit/ink': { + serializer: InkAnnotationSerializer; + annotation: InkAnnotation; + json: InkAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/shape/line': { + serializer: LineAnnotationSerializer; + annotation: LineAnnotation; + json: LineAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/shape/rectangle': { + serializer: RectangleAnnotationSerializer; + annotation: RectangleAnnotation; + json: RectangleAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/shape/ellipse': { + serializer: EllipseAnnotationSerializer; + annotation: EllipseAnnotation; + json: EllipseAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/shape/polygon': { + serializer: PolygonAnnotationSerializer; + annotation: PolygonAnnotation; + json: PolygonAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/shape/polyline': { + serializer: PolylineAnnotationSerializer; + annotation: PolylineAnnotation; + json: PolylineAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/link': { + serializer: LinkAnnotationSerializer; + annotation: LinkAnnotation; + json: LinkAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/markup/highlight': { + serializer: TextMarkupAnnotationSerializer; + annotation: HighlightAnnotation; + json: TextMarkupAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/markup/squiggly': { + serializer: TextMarkupAnnotationSerializer; + annotation: SquiggleAnnotation; + json: TextMarkupAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/markup/strikeout': { + serializer: TextMarkupAnnotationSerializer; + annotation: StrikeOutAnnotation; + json: TextMarkupAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/markup/underline': { + serializer: TextMarkupAnnotationSerializer; + annotation: UnderlineAnnotation; + json: TextMarkupAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/markup/redaction': { + serializer: RedactionAnnotationSerializer; + annotation: RedactionAnnotation; + json: RedactionAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/text': { + serializer: TextAnnotationSerializer; + annotation: TextAnnotation; + json: TextAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/note': { + serializer: NoteAnnotationSerializer; + annotation: NoteAnnotation; + json: NoteAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/image': { + serializer: ImageAnnotationSerializer; + annotation: ImageAnnotation; + json: ImageAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/stamp': { + serializer: StampAnnotationSerializer; + annotation: StampAnnotation; + json: StampAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/widget': { + serializer: WidgetAnnotationSerializer; + annotation: WidgetAnnotation; + json: WidgetAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/comment-marker': { + serializer: CommentMarkerAnnotationSerializer; + annotation: CommentMarkerAnnotation; + json: CommentMarkerAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/unknown': { + serializer: UnknownAnnotationSerializer; + annotation: UnknownAnnotation; + json: UnknownAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; + 'pspdfkit/media': { + serializer: MediaAnnotationSerializer; + annotation: MediaAnnotation; + json: MediaAnnotationJSON; + jsonForBackend: AnnotationBackendJSON; + }; +}; +type GetTypeFromAnnotationJSON = T extends { + type: infer U; +} ? U : never; +type AnnotationJSONToAnnotation = AnnotationSerializerTypeMap[GetTypeFromAnnotationJSON]['annotation']; +type Intersection = T extends U ? T : never; +type BackendRequiredKeys = 'id' | 'v' | 'pageIndex' | 'type' | 'bbox'; +type AnnotationBackendJSON = { + [P in keyof K]?: NonNullable; +} & { + [P in Intersection]-?: Exclude, undefined>; +}; +type AnnotationsUnion = { + [K in keyof AnnotationSerializerTypeMap]: AnnotationSerializerTypeMap[K]['annotation']; +}[keyof AnnotationSerializerTypeMap]; +type AnnotationsUnionClass = { + [K in keyof AnnotationSerializerTypeMap]: Class; +}[keyof AnnotationSerializerTypeMap]; +type ShapeAnnotationsUnion = PolylineAnnotation | PolygonAnnotation | LineAnnotation | RectangleAnnotation | EllipseAnnotation; +type AnnotationsBackendJSONUnion = { + [K in keyof AnnotationSerializerTypeMap]: AnnotationSerializerTypeMap[K]['jsonForBackend']; +}[keyof AnnotationSerializerTypeMap]; +type TextMarkupAnnotationsUnion = HighlightAnnotation | UnderlineAnnotation | StrikeOutAnnotation | SquiggleAnnotation | RedactionAnnotation; + +type CommentProps = { + id: InstantID | null; + rootId: InstantID | null; + pageIndex: null | number; + pdfObjectId: number | null; + creatorName: string | null; + createdAt: Date; + updatedAt: Date; + text: { + format: 'plain' | 'xhtml'; + value: string | null; + }; + customData: Record | null; + group?: string | null; + isEditable?: boolean; + isDeletable?: boolean; + canSetGroup?: boolean; + isAnonymous?: boolean | null; +}; +declare const Comment_base: Record$1.Factory; +declare class Comment extends Comment_base { + getMentionedUserIds(): Set; +} +type MentionableUser = { + id: string; + name: string; + avatarUrl?: string; + displayName: string; + description?: string; +}; + +type IGroup = string | null | undefined; +type IPermissions = { + edit: boolean; + delete: boolean; + setGroup: boolean; + fill?: boolean; + reply?: boolean; +}; + +type ICollaboratorPermissionsOptions = { + group?: IGroup; + permissions?: IPermissions; +}; + +type SerializedAdditionalActionsType = { + [key in ActionTriggerEventType | FormFieldEventTriggerType | FormFieldInputEventTriggerType | WidgetActionTriggerEventType]?: { + type: string; + [key: string]: unknown; + }; +}; + +type IRectJSON = [left: number, top: number, width: number, height: number]; + +type BaseAnnotationJSON = { + v: number; + type?: 'pspdfkit/ink' | 'pspdfkit/shape/line' | 'pspdfkit/shape/rectangle' | 'pspdfkit/shape/ellipse' | 'pspdfkit/shape/polygon' | 'pspdfkit/shape/polyline' | 'pspdfkit/link' | 'pspdfkit/markup/highlight' | 'pspdfkit/markup/squiggly' | 'pspdfkit/markup/strikeout' | 'pspdfkit/markup/underline' | 'pspdfkit/markup/redaction' | 'pspdfkit/stamp' | 'pspdfkit/text' | 'pspdfkit/note' | 'pspdfkit/image' | 'pspdfkit/media' | 'pspdfkit/widget' | 'pspdfkit/comment-marker' | 'pspdfkit/unknown'; + name?: string | null; + id: string; + subject?: string | null; + pdfObjectId?: number | null; + pageIndex: number; + bbox: IRectJSON; + opacity?: number; + flags?: ('noPrint' | 'noZoom' | 'noRotate' | 'noView' | 'hidden' | 'locked' | 'lockedContents' | 'readOnly')[] | null; + action?: ActionJSON | null; + note?: string | null; + createdAt?: string | Date; + updatedAt?: string | Date; + creatorName?: string | null; + customData?: Record | null; + isCommentThreadRoot?: boolean; + APStreamCache?: { + cache: string; + } | { + attach: string; + }; + blendMode?: IBlendMode | null; +} & ICollaboratorPermissionsOptions; +type ImageAnnotationJSON = Omit & { + type: 'pspdfkit/image'; + description?: string | null; + fileName?: string | null; + contentType: string; + imageAttachmentId: string; + rotation: number; + isSignature?: boolean; + xfdfAppearanceStream?: string; +}; +type ShapeAnnotationJSON = Omit & { + strokeWidth: number; + strokeColor: string | null; + fillColor: string | null; + strokeDashArray?: [number, number] | null; + measurementPrecision?: IMeasurementPrecision | null; + measurementScale?: MeasurementScaleJSON | null; + lineWidth?: number | null; +}; +type EllipseAnnotationJSON = ShapeAnnotationJSON & { + type: 'pspdfkit/shape/ellipse'; + cloudyBorderIntensity: number | null; + cloudyBorderInset: InsetJSON | null; + measurementBBox: IRectJSON | null; +}; +type LineAnnotationJSON = ShapeAnnotationJSON & { + type: 'pspdfkit/shape/line'; + startPoint: [number, number]; + endPoint: [number, number]; + lineCaps?: LineCapsType | null; + lines?: { + points: [number, number][][]; + intensities: number[][]; + }; +}; +type PolygonAnnotationJSON = ShapeAnnotationJSON & { + type: 'pspdfkit/shape/polygon'; + points: [number, number][]; + cloudyBorderIntensity: number | null; + lines?: { + points: [number, number][][]; + intensities: number[][]; + }; +}; +type PolylineAnnotationJSON = ShapeAnnotationJSON & { + type: 'pspdfkit/shape/polyline'; + points: [number, number][]; + lineCaps?: LineCapsType | null; + lines?: { + points: [number, number][][]; + intensities: number[][]; + }; +}; +type RectangleAnnotationJSON = ShapeAnnotationJSON & { + type: 'pspdfkit/shape/rectangle'; + cloudyBorderIntensity: number | null; + cloudyBorderInset?: InsetJSON | null; + measurementBBox: IRectJSON | null; +}; +type InkAnnotationJSON = BaseAnnotationJSON & { + type: 'pspdfkit/ink'; + lines: { + points: [number, number][][]; + intensities: number[][]; + }; + lineWidth: number; + strokeColor: string | null; + backgroundColor: string | null; + isDrawnNaturally: boolean; + isSignature: boolean; +}; +type LinkAnnotationJSON = BaseAnnotationJSON & { + type: 'pspdfkit/link'; + borderColor?: string | null; + borderWidth?: number | null; + borderStyle?: IBorderStyle | null; +}; +type NoteAnnotationJSON = Omit & { + type: 'pspdfkit/note'; + text?: { + format: 'plain'; + value: string; + }; + icon?: string; + color?: string; +}; +type MediaAnnotationJSON = Omit & { + type: 'pspdfkit/media'; + description: string | null; + fileName: string | null; + contentType: string | null; + mediaAttachmentId: string | null; +}; +type BaseTextMarkupAnnotationJSON = Omit & { + rects: [number, number, number, number][]; +}; +type TextMarkupAnnotationJSON = BaseTextMarkupAnnotationJSON & { + type: 'pspdfkit/markup/highlight' | 'pspdfkit/markup/squiggly' | 'pspdfkit/markup/strikeout' | 'pspdfkit/markup/underline' | 'pspdfkit/markup/redaction'; + color: string | null; +}; +type RedactionAnnotationJSON = BaseTextMarkupAnnotationJSON & { + type: 'pspdfkit/markup/redaction'; + fillColor?: string | null; + outlineColor?: string | null; + overlayText?: string | null; + repeatOverlayText?: boolean | null; + rotation?: number; + color?: string | null; +}; +type StampAnnotationJSON = Omit & { + type: 'pspdfkit/stamp'; + stampType: StampKind; + title: string | null; + color?: string | null; + subTitle?: string | null; + subtitle: string | null; + rotation: number | null; + xfdfAppearanceStream?: string; + kind?: StampKind; +}; +type TextAnnotationJSON = Omit & { + type: 'pspdfkit/text'; + text: { + format: 'xhtml' | 'plain'; + value: string; + }; + fontColor?: string | null; + backgroundColor?: string | null; + font?: string | null; + rotation?: number | null; + fontSize?: number | null; + fontStyle?: string[] | null; + horizontalAlign?: 'left' | 'center' | 'right'; + verticalAlign?: 'top' | 'center' | 'bottom'; + callout?: { + start: [number, number]; + knee?: [number, number] | null; + end: [number, number]; + cap?: ILineCap | null; + innerRectInset?: InsetJSON | null; + } | null; + borderStyle?: IBorderStyle | null; + borderWidth?: number | null; + borderColor?: string | null; + isFitting?: boolean; + lineHeightFactor?: number | null; +}; +type UnknownAnnotationJSON = Omit & { + type: 'pspdfkit/unknown'; +}; +type WidgetAnnotationJSON = Omit & { + type: 'pspdfkit/widget'; + formFieldName: string; + borderColor?: string | null; + borderStyle?: IBorderStyle | null; + borderDashArray?: number[] | null; + borderWidth?: number | null; + font?: string | null; + fontSize?: 'auto' | number | null; + fontColor?: string | null; + backgroundColor?: string | null; + horizontalAlign?: 'left' | 'center' | 'right' | null; + verticalAlign?: 'top' | 'center' | 'bottom' | null; + fontStyle?: string[] | null | undefined; + rotation?: number; + additionalActions?: SerializedAdditionalActionsType | null; + lineHeightFactor?: number | null; +}; +type CommentMarkerAnnotationJSON = Omit & { + type: 'pspdfkit/comment-marker'; +}; +type AnnotationJSONUnion = TextMarkupAnnotationJSON | TextAnnotationJSON | WidgetAnnotationJSON | RedactionAnnotationJSON | StampAnnotationJSON | NoteAnnotationJSON | LinkAnnotationJSON | InkAnnotationJSON | RectangleAnnotationJSON | PolylineAnnotationJSON | PolygonAnnotationJSON | LineAnnotationJSON | EllipseAnnotationJSON | ImageAnnotationJSON | UnknownAnnotationJSON | MediaAnnotationJSON | CommentMarkerAnnotationJSON; + +type BaseFormFieldJSON = { + v: 1; + pdfObjectId?: number | null; + annotationIds: Array; + name: string; + label: string; + flags?: FormFieldFlags; + id: string; + additionalActions?: SerializedAdditionalActionsType; + group?: IGroup; + permissions?: IPermissions; +}; +type ChoiceFormFieldJSON = BaseFormFieldJSON & { + type: 'pspdfkit/form-field/listbox' | 'pspdfkit/form-field/combobox'; + options: Array; + multiSelect: boolean; + commitOnChange: boolean; + defaultValues: Array; +}; +type ListBoxFormFieldJSON = ChoiceFormFieldJSON & { + type: 'pspdfkit/form-field/listbox'; +}; +type DoNotSpellCheckPropertyPair = XOR, Record<'doNotSpellcheck', boolean>>; +type ComboBoxFormFieldJSON = ChoiceFormFieldJSON & { + type: 'pspdfkit/form-field/combobox'; + edit: boolean; +} & DoNotSpellCheckPropertyPair; +type CheckBoxFormFieldJSON = BaseFormFieldJSON & { + type: 'pspdfkit/form-field/checkbox'; + options: Array; + defaultValues: Array; +}; +type RadioButtonFormFieldJSON = BaseFormFieldJSON & { + type: 'pspdfkit/form-field/radio'; + options: Array; + noToggleToOff: boolean; + radiosInUnison: boolean; + defaultValue: string; +}; +type TextFormFieldJSON = BaseFormFieldJSON & { + type: 'pspdfkit/form-field/text'; + password: boolean; + maxLength?: number | null; + doNotScroll: boolean; + multiLine: boolean; + defaultValue: string; + comb: boolean; +} & DoNotSpellCheckPropertyPair; +type ButtonFormFieldJSON = BaseFormFieldJSON & { + type: 'pspdfkit/form-field/button'; + buttonLabel: string | null; +}; +type SignatureFormFieldJSON = BaseFormFieldJSON & { + type: 'pspdfkit/form-field/signature'; +}; +type FormFieldJSON = ListBoxFormFieldJSON | ComboBoxFormFieldJSON | RadioButtonFormFieldJSON | CheckBoxFormFieldJSON | TextFormFieldJSON | ButtonFormFieldJSON | SignatureFormFieldJSON; + +type SerializedJSON = { + skippedPdfObjectIds?: number[]; + annotations?: AnnotationJSONUnion[]; + formFields?: FormFieldJSON[]; + skippedPdfFormFieldIds?: number[]; + formFieldValues?: Record[]; + attachments?: Record; + skippedPdfBookmarkIds?: string[]; + bookmarks?: BookmarkJSON[]; +}; +type InstantJSON = SerializedJSON & { + format: 'https://pspdfkit.com/instant-json/v1'; + pdfId?: { + permanent: string; + changing: string; + }; +}; + +type Rotation$1 = 0 | 90 | 180 | 270; +type AddPageConfiguration = { + backgroundColor: Color; + pageWidth: number; + pageHeight: number; + rotateBy: Rotation$1; + insets?: Rect; +}; +type OperationAttachment = string | File | Blob; +type min = number; +type max = number; +type Range = [min, max]; +type ImportPageIndex = Array; +type DocumentMetadata = { + title?: string; + author?: string; +}; +type NonSerializableDocumentOperations = { + type: 'removePages'; + pageIndexes: Array; +} | { + type: 'duplicatePages'; + pageIndexes: Array; +} | { + type: 'movePages'; + pageIndexes: Array; + afterPageIndex: number; +} | { + type: 'movePages'; + pageIndexes: Array; + beforePageIndex: number; +} | { + type: 'rotatePages'; + pageIndexes: Array; + rotateBy: Rotation$1; +} | { + type: 'keepPages'; + pageIndexes: Array; +} | { + type: 'importDocument'; + afterPageIndex: number; + treatImportedDocumentAsOnePage?: boolean; + document: OperationAttachment; + importedPageIndexes?: ImportPageIndex; +} | { + type: 'importDocument'; + beforePageIndex: number; + treatImportedDocumentAsOnePage?: boolean; + document: OperationAttachment; + importedPageIndexes?: ImportPageIndex; +} | { + type: 'applyInstantJson'; + instantJson: Record; + dataFilePath: OperationAttachment; +} | { + type: 'applyXfdf'; + xfdf: string; + dataFilePath: OperationAttachment; +} | { + type: 'flattenAnnotations'; + pageIndexes?: Array; + annotationIds?: string[]; +} | { + type: 'setPageLabel'; + pageIndexes?: Array; + pageLabel?: string; +} | { + type: 'performOcr'; + pageIndexes?: Array | 'all'; + language: string; +} | { + type: 'applyRedactions'; +} | { + type: 'updateMetadata'; + metadata: DocumentMetadata; +}; +type DocumentOperation = (AddPageConfiguration & { + type: 'addPage'; + afterPageIndex: number; +}) | (AddPageConfiguration & { + type: 'addPage'; + beforePageIndex: number; +}) | { + type: 'cropPages'; + pageIndexes?: Array; + cropBox: Rect; +} | NonSerializableDocumentOperations; + +declare function toJSON(bookmark: Bookmark): BookmarkJSON; + +type ID$1 = string; +type BookmarkProps = { + id: ID$1 | null; + pdfBookmarkId: ID$1 | null; + name: string | null; + sortKey: number | null; + action: Action | null; +}; +declare const Bookmark_base: Record$1.Factory; +declare class Bookmark extends Bookmark_base { + id: ID$1; + action: Action; + static toSerializableObject: typeof toJSON; + static fromSerializableObject: (bookmark: BookmarkJSON) => Bookmark; +} + +declare const SearchPattern: { + readonly CREDIT_CARD_NUMBER: "credit_card_number"; + readonly DATE: "date"; + readonly TIME: "time"; + readonly EMAIL_ADDRESS: "email_address"; + readonly INTERNATIONAL_PHONE_NUMBER: "international_phone_number"; + readonly IP_V4: "ipv4"; + readonly IP_V6: "ipv6"; + readonly MAC_ADDRESS: "mac_address"; + readonly NORTH_AMERICAN_PHONE_NUMBER: "north_american_phone_number"; + readonly SOCIAL_SECURITY_NUMBER: "social_security_number"; + readonly URL: "url"; + readonly US_ZIP_CODE: "us_zip_code"; + readonly VIN: "vin"; +}; +type ISearchPattern = (typeof SearchPattern)[keyof typeof SearchPattern]; + +declare const SearchType: { + readonly TEXT: "text"; + readonly PRESET: "preset"; + readonly REGEX: "regex"; +}; +type ISearchType = (typeof SearchType)[keyof typeof SearchType]; + +declare const ProductId: { + SharePoint: string; + Salesforce: string; + Maui_Android: string; + Maui_iOS: string; + Maui_MacCatalyst: string; + Maui_Windows: string; +}; +type IProductId = (typeof ProductId)[keyof typeof ProductId]; + +type SignatureMetadata = { + signerName?: string; + signatureReason?: string; + signatureLocation?: string; +}; + +declare const DocumentPermissionsProps: { + annotationsAndForms: boolean; + assemble: boolean; + extract: boolean; + extractAccessibility: boolean; + fillForms: boolean; + modification: boolean; + printHighQuality: boolean; + printing: boolean; +}; +type IDocumentPermissions = keyof typeof DocumentPermissionsProps; + +type SignaturePosition = { + pageIndex: number; + boundingBox: Rect; +}; + +declare const SignatureAppearanceMode: { + readonly signatureOnly: "signatureOnly"; + readonly signatureAndDescription: "signatureAndDescription"; + readonly descriptionOnly: "descriptionOnly"; +}; +type ISignatureAppearanceMode = (typeof SignatureAppearanceMode)[keyof typeof SignatureAppearanceMode]; + +type SignatureAppearance = { + mode?: ISignatureAppearanceMode; + showSigner?: boolean; + showSignDate?: boolean; + showReason?: boolean; + showLocation?: boolean; + showWatermark?: boolean; + watermarkImage?: Blob | File; +}; + +type Glyph = { + c: string; + rect: Rect; +}; + +declare const TextLineElementKind: { + P: string; + TH: string; + TD: string; + H1: string; + H2: string; + H3: string; + H4: string; + H5: string; + H6: string; + Figure: string; + Link: string; +}; +type ITextLineElementKind = (typeof TextLineElementKind)[keyof typeof TextLineElementKind]; + +type ActionFlags = 'includeExclude' | 'includeNoValueFields' | 'exportFormat' | 'getMethod' | 'submitCoordinated' | 'xfdf' | 'includeAppendSaves' | 'includeAnnotations' | 'submitPDF' | 'canonicalFormat' | 'excludeNonUserAnnotations' | 'excludeFKey' | 'embedForm'; +type ActionJSON = { + type: 'uri'; + uri: string; + subactions?: Array; +} | { + type: 'goTo'; + pageIndex: number; + subactions?: Array; +} | { + type: 'goToEmbedded'; + newWindow: boolean; + relativePath: string; + targetType: 'parent' | 'child'; + subactions?: Array; +} | { + type: 'goToRemote'; + relativePath: string; + namedDestination: string; + subactions?: Array; +} | { + type: 'hide'; + hide: boolean; + annotationReferences: Array; + subactions?: Array; +} | { + type: 'resetForm'; + fields: Array | null; + flags: string | null; + subactions?: Array; +} | { + type: 'submitForm'; + uri: string; + fields: Array | null; + flags: Array | null; + subactions?: Array; +} | { + type: 'launch'; + filePath: string; + subactions?: Array; +} | { + type: 'named'; + action: string; + subactions?: Array; +} | { + type: 'javaScript'; + script: string; + subactions?: Array; +}; +type BookmarkJSON = { + v: 1; + type: 'pspdfkit/bookmark'; + id: string; + name: string | null; + sortKey: number | null; + action: ActionJSON; + pdfBookmarkId: string | null; +}; +type RawPdfBoxes = { + bleedBox: null | IRectJSON; + cropBox: null | IRectJSON; + mediaBox: null | IRectJSON; + trimBox: null | IRectJSON; +}; +type ContentTreeElementMetadata = { + pdfua_type: ITextLineElementKind | null; + type: string | null; + alt: string | null; +}; + +declare const DocumentComparisonSourceType: { + readonly USE_OPEN_DOCUMENT: "USE_OPEN_DOCUMENT"; + readonly USE_FILE_DIALOG: "USE_FILE_DIALOG"; +}; +type IDocumentComparisonSourceType = (typeof DocumentComparisonSourceType)[keyof typeof DocumentComparisonSourceType]; + +type DocumentComparisonSource = { + source: IDocumentComparisonSourceType | string | ArrayBuffer | Promise; + pageIndex?: number; +}; + +type DocumentComparisonStrokeColors = { + documentA?: Color; + documentB?: Color; +}; + +type DocumentComparisonConfiguration = { + documentA: DocumentComparisonSource; + documentB: DocumentComparisonSource; + strokeColors?: DocumentComparisonStrokeColors; + blendMode?: IBlendMode; + autoCompare: boolean; +}; + +declare const LayoutMode: { + readonly SINGLE: "SINGLE"; + readonly DOUBLE: "DOUBLE"; + readonly AUTO: "AUTO"; +}; +type ILayoutMode = (typeof LayoutMode)[keyof typeof LayoutMode]; + +declare const ScrollMode: { + readonly CONTINUOUS: "CONTINUOUS"; + readonly PER_SPREAD: "PER_SPREAD"; + readonly DISABLED: "DISABLED"; +}; +type IScrollMode = (typeof ScrollMode)[keyof typeof ScrollMode]; + +declare const ZoomMode: { + readonly AUTO: "AUTO"; + readonly FIT_TO_WIDTH: "FIT_TO_WIDTH"; + readonly FIT_TO_VIEWPORT: "FIT_TO_VIEWPORT"; + readonly CUSTOM: "CUSTOM"; +}; +type IZoomMode = (typeof ZoomMode)[keyof typeof ZoomMode]; + +declare const SearchResult_base: Record$1.Factory<{ + pageIndex: number | null; + previewText: string; + locationInPreview: number | null; + lengthInPreview: number | null; + rectsOnPage: List; + isAnnotation: boolean | null; + annotationRect?: Rect | null | undefined; +}>; +declare class SearchResult extends SearchResult_base { +} + +declare const SearchState_base: Record$1.Factory; +declare class SearchState extends SearchState_base { +} +interface ISearchState { + isFocused: boolean; + isLoading: boolean; + term: string; + focusedResultIndex: number; + results: List; + minSearchQueryLength: number; +} + +type OnCommentCreationStartCallback = (comment: Comment) => Comment; + +declare const AutoSaveMode: { + readonly IMMEDIATE: "IMMEDIATE"; + readonly INTELLIGENT: "INTELLIGENT"; + readonly DISABLED: "DISABLED"; +}; +type IAutoSaveMode = (typeof AutoSaveMode)[keyof typeof AutoSaveMode]; + +declare const PrintMode: { + readonly DOM: "DOM"; + readonly EXPORT_PDF: "EXPORT_PDF"; +}; +type IPrintMode = (typeof PrintMode)[keyof typeof PrintMode]; + +declare const PrintQuality: { + readonly LOW: "LOW"; + readonly MEDIUM: "MEDIUM"; + readonly HIGH: "HIGH"; +}; +type IPrintQuality = (typeof PrintQuality)[keyof typeof PrintQuality]; + +declare const SidebarPlacement: { + readonly START: "START"; + readonly END: "END"; +}; +type ISidebarPlacement = (typeof SidebarPlacement)[keyof typeof SidebarPlacement]; + +declare const ToolbarPlacement: { + readonly TOP: "TOP"; + readonly BOTTOM: "BOTTOM"; +}; +type IToolbarPlacement = (typeof ToolbarPlacement)[keyof typeof ToolbarPlacement]; + +declare const ShowSignatureValidationStatusMode: { + readonly IF_SIGNED: "IF_SIGNED"; + readonly HAS_WARNINGS: "HAS_WARNINGS"; + readonly HAS_ERRORS: "HAS_ERRORS"; + readonly NEVER: "NEVER"; +}; +type IShowSignatureValidationStatusMode = (typeof ShowSignatureValidationStatusMode)[keyof typeof ShowSignatureValidationStatusMode]; + +interface AnnotationNoteProps extends INoteAnnotation { + parentAnnotation: AnnotationsUnion | null; + position: Point; + notePosition?: Point; +} +declare class AnnotationNote extends NoteAnnotation { + parentAnnotation?: AnnotationsUnion; + position: Point; + notePosition?: Point; + static defaultValues: IObject; +} + +declare const ModificationType: { + readonly CREATED: "CREATED"; + readonly UPDATED: "UPDATED"; + readonly DELETED: "DELETED"; +}; +type IModificationType = (typeof ModificationType)[keyof typeof ModificationType]; + +type SaveErrorReason = { + error: any; + object: any; + modificationType: IModificationType; +}; +declare function PSPDFKitSaveError(messageOrError: string | Error, reason: Array): Error; +declare namespace PSPDFKitSaveError { + var prototype: any; +} + +type AnnotationPreset$1 = Record; +type AnnotationPresetID$1 = string; + +type ToolItemType = 'custom'; +type ToolItem = { + type: ToolItemType; + node?: Node; + id?: string; + title?: string; + className?: string; + icon?: string; + onPress?: IFunction; + selected?: boolean; + disabled?: boolean; +}; + +type AnnotationTooltipCallback = (annotation: AnnotationsUnion) => Array; + +declare global { + interface SymbolConstructor { + readonly observable: symbol + } +} + +type RendererConfiguration = { + node: Node; + append?: boolean | null; + noZoom?: boolean | null; + onDisappear?: ((arg0: Node | null) => void) | null; +}; + +type CustomRenderers = { + Annotation?: (arg0: { + annotation: AnnotationsUnion; + }) => RendererConfiguration | null | undefined; + CommentAvatar?: (arg0: { + comment: Comment; + }) => RendererConfiguration | null | undefined; +}; + +declare const SidebarMode: { + readonly ANNOTATIONS: "ANNOTATIONS"; + readonly BOOKMARKS: "BOOKMARKS"; + readonly DOCUMENT_OUTLINE: "DOCUMENT_OUTLINE"; + readonly THUMBNAILS: "THUMBNAILS"; + readonly CUSTOM: "CUSTOM"; +}; +type ISidebarMode = (typeof SidebarMode)[keyof typeof SidebarMode]; + +declare const UIElement: { + readonly Sidebar: "Sidebar"; +}; +type IUIElement = (typeof UIElement)[keyof typeof UIElement]; + +type RendererProps = { + containerNode: Node; + items?: List | null; +}; +type ItemRendererProps = { + itemContainerNode: Node; + item: any; +}; +type ItemCustomRenderer = (itemRendererProps: ItemRendererProps) => void; +type UIRendererConfiguration = { + node: Node; + onRenderItem?: ItemCustomRenderer; +}; +type Renderer = (rendererProps: RendererProps) => UIRendererConfiguration; +type CustomUISidebarConfiguration = Partial<{ + [K in ISidebarMode]: Renderer; +}>; +type CustomUIElementConfiguration = CustomUISidebarConfiguration; +type CustomUI = Partial>; + +declare const FormFieldValue_base: Record$1.Factory<{ + name?: string | undefined; + value?: string | number | List | null | undefined; + optionIndexes?: List | undefined; + isFitting?: boolean | undefined; +}>; +declare class FormFieldValue extends FormFieldValue_base { + name: string; + value: string | List | null; + optionIndexes?: List; + isFitting?: boolean; + static defaultValues: IObject; + constructor(args?: IObject); +} + +type Change = AnnotationsUnion | Bookmark | FormField | FormFieldValue | Comment; + +type IsEditableAnnotationCallback = (annotation: AnnotationsUnion) => boolean; + +type RenderPageCallback = (context: CanvasRenderingContext2D, pageIndex: number, pageSize: Size) => unknown; + +type CustomOverlayItemID = string; +interface ICustomOverlayItem { + disableAutoZoom?: boolean; + id: CustomOverlayItemID | null; + node: Node | null; + noRotate?: boolean; + pageIndex: number; + position: Point; + onAppear?: null | ((...args: Array) => any); + onDisappear?: null | ((...args: Array) => any); +} +declare const CustomOverlayItem_base: Record$1.Factory; +declare class CustomOverlayItem extends CustomOverlayItem_base { + disableAutoZoom: boolean; + id: CustomOverlayItemID; + node: Node; + noRotate: boolean; + pageIndex: number; + position: Point; + onAppear?: ((...args: Array) => any) | null; + onDisappear?: ((...args: Array) => any) | null; + constructor(args: ICustomOverlayItem); +} + +type ColorPreset = { + color: Color | null; + localization: { + id: string; + defaultMessage?: string; + description?: string; + }; +}; + +interface ITextLine { + id: number | null; + pageIndex: number | null; + boundingBox: Rect; + contents: string; + contentTreeElementMetadata: ContentTreeElementMetadata | null; +} +declare const TextLine_base: Record$1.Factory; +declare class TextLine extends TextLine_base { +} + +type FontCallback = (arg0: string) => Promise; + +interface IFont { + name: string | null; + callback: FontCallback | null; +} +declare const Font_base: Record$1.Factory; +declare class Font extends Font_base { + constructor(args: { + name: string; + callback?: FontCallback; + }); +} + +interface ITextRange { + startNode: Text | null; + startOffset: number | null; + endNode: Text | null; + endOffset: number | null; +} +declare const TextRange_base: Record$1.Factory; +declare class TextRange extends TextRange_base { + startNode: Text; + startOffset: number; + endNode: Text; + endOffset: number; + startAndEndIds(): { + startTextLineId: number; + endTextLineId: number; + startPageIndex: number; + endPageIndex: number; + }; +} + +interface ITextSelection$1 { + textRange: TextRange | null; + startTextLineId: number | null; + endTextLineId: number | null; + startPageIndex: number | null; + endPageIndex: number | null; +} +declare const TextSelection_base: Record$1.Factory; +declare class TextSelection extends TextSelection_base { +} + +type IsEditableCommentCallback = (comment: Comment) => boolean; + +declare const ElectronicSignatureCreationMode: { + readonly DRAW: "DRAW"; + readonly IMAGE: "IMAGE"; + readonly TYPE: "TYPE"; +}; +type IElectronicSignatureCreationMode = (typeof ElectronicSignatureCreationMode)[keyof typeof ElectronicSignatureCreationMode]; + +type BuiltInDocumentEditorFooterItem = 'cancel' | 'spacer' | 'save-as' | 'save' | 'selected-pages' | 'loading-indicator'; +type DocumentEditorFooterItem = { + type: BuiltInDocumentEditorFooterItem | 'custom'; + node?: Node; + className?: string; + id?: string; + onPress?: (e: MouseEvent, id?: string) => void; +}; + +type BuiltInDocumentEditorToolbarItem = 'add' | 'remove' | 'duplicate' | 'rotate-left' | 'rotate-right' | 'move' | 'move-left' | 'move-right' | 'import-document' | 'spacer' | 'undo' | 'redo' | 'select-all' | 'select-none'; +type DocumentEditorToolbarItem = Omit & { + type: BuiltInDocumentEditorToolbarItem | 'custom'; +}; + +type AnnotationsResizeEvent = { + annotation: AnnotationsUnion; + isShiftPressed: boolean; + resizeAnchor: ResizeAnchor; +}; +type ResizeAnchor = 'TOP' | 'BOTTOM' | 'LEFT' | 'RIGHT' | 'TOP_LEFT' | 'TOP_RIGHT' | 'BOTTOM_RIGHT' | 'BOTTOM_LEFT'; + +type AnnotationResizeStartCallbackConfiguration = { + maintainAspectRatio?: boolean; + minWidth?: number | undefined; + minHeight?: number | undefined; + maxWidth?: number | undefined; + maxHeight?: number | undefined; +}; +type AnnotationResizeStartCallback = (event: AnnotationsResizeEvent) => AnnotationResizeStartCallbackConfiguration; + +declare const InteractionMode: { + readonly TEXT_HIGHLIGHTER: "TEXT_HIGHLIGHTER"; + readonly INK: "INK"; + readonly INK_SIGNATURE: "INK_SIGNATURE"; + readonly SIGNATURE: "SIGNATURE"; + readonly STAMP_PICKER: "STAMP_PICKER"; + readonly STAMP_CUSTOM: "STAMP_CUSTOM"; + readonly SHAPE_LINE: "SHAPE_LINE"; + readonly SHAPE_RECTANGLE: "SHAPE_RECTANGLE"; + readonly SHAPE_ELLIPSE: "SHAPE_ELLIPSE"; + readonly SHAPE_POLYGON: "SHAPE_POLYGON"; + readonly SHAPE_POLYLINE: "SHAPE_POLYLINE"; + readonly INK_ERASER: "INK_ERASER"; + readonly NOTE: "NOTE"; + readonly COMMENT_MARKER: "COMMENT_MARKER"; + readonly TEXT: "TEXT"; + readonly CALLOUT: "CALLOUT"; + readonly PAN: "PAN"; + readonly SEARCH: "SEARCH"; + readonly DOCUMENT_EDITOR: "DOCUMENT_EDITOR"; + readonly MARQUEE_ZOOM: "MARQUEE_ZOOM"; + readonly REDACT_TEXT_HIGHLIGHTER: "REDACT_TEXT_HIGHLIGHTER"; + readonly REDACT_SHAPE_RECTANGLE: "REDACT_SHAPE_RECTANGLE"; + readonly DOCUMENT_CROP: "DOCUMENT_CROP"; + readonly BUTTON_WIDGET: "BUTTON_WIDGET"; + readonly TEXT_WIDGET: "TEXT_WIDGET"; + readonly RADIO_BUTTON_WIDGET: "RADIO_BUTTON_WIDGET"; + readonly CHECKBOX_WIDGET: "CHECKBOX_WIDGET"; + readonly COMBO_BOX_WIDGET: "COMBO_BOX_WIDGET"; + readonly LIST_BOX_WIDGET: "LIST_BOX_WIDGET"; + readonly SIGNATURE_WIDGET: "SIGNATURE_WIDGET"; + readonly DATE_WIDGET: "DATE_WIDGET"; + readonly FORM_CREATOR: "FORM_CREATOR"; + readonly LINK: "LINK"; + readonly DISTANCE: "DISTANCE"; + readonly PERIMETER: "PERIMETER"; + readonly RECTANGLE_AREA: "RECTANGLE_AREA"; + readonly ELLIPSE_AREA: "ELLIPSE_AREA"; + readonly POLYGON_AREA: "POLYGON_AREA"; + readonly CONTENT_EDITOR: "CONTENT_EDITOR"; + readonly MULTI_ANNOTATIONS_SELECTION: "MULTI_ANNOTATIONS_SELECTION"; + readonly MEASUREMENT: "MEASUREMENT"; + readonly MEASUREMENT_SETTINGS: "MEASUREMENT_SETTINGS"; +}; +type IInteractionMode = (typeof InteractionMode)[keyof typeof InteractionMode]; + +type OnOpenUriCallback = (uri: string, isUserInitiated: boolean) => boolean; + +declare class PageInfo { + index: number; + label: string; + height: number; + width: number; + rotation: number; + rawPdfBoxes: RawPdfBoxes; +} + +declare const ViewportPadding_base: Record$1.Factory<{ + horizontal: number; + vertical: number; +}>; +declare class ViewportPadding extends ViewportPadding_base { +} + +type SidebarOptions = { + [SidebarMode.ANNOTATIONS]: AnnotationsSidebarOptions; +}; +type AnnotationsSidebarOptions = { + includeContent: Array>; +}; + +type Rotation = 0 | 90 | 180 | 270; +interface IViewState { + allowPrinting: boolean; + allowExport: boolean; + currentPageIndex: number; + instance: Instance | null; + interactionMode: IInteractionMode | null; + keepFirstSpreadAsSinglePage: boolean; + layoutMode: ILayoutMode; + pageSpacing: number; + pagesRotation: Rotation; + readOnly: boolean; + scrollMode: IScrollMode; + showAnnotations: boolean; + showComments: boolean; + showAnnotationNotes: boolean; + showToolbar: boolean; + enableAnnotationToolbar: boolean; + sidebarMode: ISidebarMode | null | undefined; + sidebarOptions: SidebarOptions; + sidebarPlacement: ISidebarPlacement; + spreadSpacing: number; + viewportPadding: ViewportPadding; + zoom: IZoomMode | number; + zoomStep: number; + formDesignMode: boolean; + showSignatureValidationStatus: IShowSignatureValidationStatusMode; + previewRedactionMode: boolean; + canScrollWhileDrawing: boolean; + keepSelectedTool: boolean; + resolvedLayoutMode: ILayoutMode; + sidebarWidth: number; +} +declare const ViewState_base: Record$1.Factory; +declare class ViewState extends ViewState_base { + zoomIn(): ViewState; + zoomOut(): ViewState; + rotateLeft(): ViewState; + rotateRight(): ViewState; + goToNextPage(): ViewState; + goToPreviousPage(): ViewState; +} + +declare class InstantClient { + clientId: string; + userId: string | null | undefined; +} + +declare const allowedToolbarTypes: ("distance" | "note" | "comment" | "text" | "zoom-in" | "zoom-out" | "link" | "search" | "ellipse" | "image" | "line" | "polygon" | "polyline" | "spacer" | "arrow" | "highlighter" | "undo" | "redo" | "callout" | "custom" | "print" | "rectangle" | "ink" | "stamp" | "cloudy-rectangle" | "dashed-rectangle" | "cloudy-ellipse" | "dashed-ellipse" | "cloudy-polygon" | "dashed-polygon" | "text-highlighter" | "perimeter" | "ellipse-area" | "rectangle-area" | "polygon-area" | "sidebar-thumbnails" | "sidebar-document-outline" | "sidebar-annotations" | "sidebar-bookmarks" | "pager" | "multi-annotations-selection" | "pan" | "zoom-mode" | "annotate" | "ink-eraser" | "signature" | "document-editor" | "document-crop" | "export-pdf" | "debug" | "layout-config" | "marquee-zoom" | "responsive-group" | "redact-text-highlighter" | "redact-rectangle" | "document-comparison" | "measure" | "form-creator" | "content-editor")[]; + +type ToolbarItemType = ToolItemType | (typeof allowedToolbarTypes)[number]; +type ToolbarItem = Omit & { + type: ToolbarItemType; + mediaQueries?: string[]; + responsiveGroup?: string; + dropdownGroup?: string; + preset?: AnnotationPresetID$1; + onKeyPress?: (...args: Array) => any; +}; + +type OutlineElementProps = { + children: List; + title: string; + color: Color | null; + isBold: boolean; + isItalic: boolean; + isExpanded: boolean; + action: Action | null; +}; +declare const OutlineElement_base: Record$1.Factory; +declare class OutlineElement extends OutlineElement_base { +} + +type TwoStepSignatureCallback = (arg0: { + hash: string; + fileContents: ArrayBuffer | null; + dataToBeSigned: ArrayBuffer; +}) => Promise; + +type SignatureContainerType = 'raw' | 'pkcs7'; +type SigningData = { + certificates?: ArrayBuffer[] | string[]; + signatureType: SignatureTypeType; + privateKey?: string; + signatureContainer?: SignatureContainerType; +}; +type SignaturePreparationData = { + placeholderSize?: number; + flatten?: boolean; + formFieldName?: string; + position?: SignaturePosition; + appearance?: SignatureAppearance; +}; +type SignatureCreationData = SignaturePreparationData & { + signatureMetadata?: SignatureMetadata; +} & { + signingData?: SigningData; +}; + +type SigningServiceData = { + signingToken: string; +}; + +type RedactionAnnotationPreset = { + fillColor?: Color; + overlayText?: string; + repeatOverlayText?: boolean; + color?: Color; + outlineColor?: Color; + creatorName?: string; +}; + +type AnnotationsPressEvent = { + annotation: AnnotationsUnion; + nativeEvent: Event; + preventDefault?: () => void; + selected: boolean; +}; + +declare enum AnnotationsWillChangeReason { + DRAW_START = "DRAW_START", + DRAW_END = "DRAW_END", + TEXT_EDIT_START = "TEXT_EDIT_START", + TEXT_EDIT_END = "TEXT_EDIT_END", + SELECT_START = "SELECT_START", + SELECT_END = "SELECT_END", + MOVE_START = "MOVE_START", + MOVE_END = "MOVE_END", + RESIZE_START = "RESIZE_START", + RESIZE_END = "RESIZE_END", + ROTATE_START = "ROTATE_START", + ROTATE_END = "ROTATE_END", + DELETE_START = "DELETE_START", + DELETE_END = "DELETE_END", + PROPERTY_CHANGE = "PROPERTY_CHANGE" +} + +type PagePressEvent = { + pageIndex: number; + point: Point; + nativeEvent: Event; +}; + +type AnnotationPresetsUpdateEvent = { + preventDefault: () => boolean; + currentPreset: AnnotationPresetID; + currentPresetProperties: AnnotationPreset; + newPresetProperties: AnnotationPreset; +}; + +type AnnotationsFocusEvent = { + annotation: AnnotationsUnion; + nativeEvent: FocusEvent; +}; +type AnnotationsBlurEvent = { + annotation: AnnotationsUnion; + nativeEvent: FocusEvent; +}; + +type SaveStateChangeEvent = { + hasUnsavedChanges: boolean; +}; + +type SearchTermChangeEvent = { + term: string; + preventDefault: () => void; +}; + +type TextLinePressEvent = { + textLine: TextLine; + point: Point; + nativeEvent: Event; +}; + +type CropAreaChangeStartEvent = { + cropBox: Rect; + pageIndex: number; +}; +type CropAreaChangeStopEvent = { + cropBox: Rect; + pageIndex: number; +}; + +type AnnotationsTransformEvent = { + annotation: AnnotationsUnion; +}; + +type AnnotationsCopyEvent = { + annotation: AnnotationsUnion; +}; + +type AnnotationsCutEvent = { + annotation: AnnotationsUnion; +}; + +type AnnotationsPasteEvent = { + annotation: AnnotationsUnion; + formField?: FormField; + previousAction: 'COPY' | 'CUT'; + originalAnnotation: AnnotationsUnion; + originalFormField?: FormField; +}; + +type AnnotationsDuplicateEvent = { + annotation: AnnotationsUnion; + formField?: FormField; + originalAnnotation: AnnotationsUnion; + originalFormField?: FormField; +}; + +interface ITextSelection { + startTextLineId: number | null; + startPageIndex: number | null; + startNode: Text | null; + startOffset: number | null; + endTextLineId: number | null; + endPageIndex: number | null; + endNode: Text | null; + endOffset: number | null; + getText: (() => Promise) | null; + getSelectedTextLines: (() => Promise>) | null; + getBoundingClientRect: (() => Promise) | null; + getSelectedRectsPerPage: (() => Promise; + }>>) | null; +} +declare const PublicTextSelection_base: Record$1.Factory; +declare class PublicTextSelection extends PublicTextSelection_base { + startTextLineId: number; + startPageIndex: number; + startNode: Text; + startOffset: number; + endTextLineId: number; + endPageIndex: number; + endNode: Text; + endOffset: number; + getText: () => Promise; + getSelectedTextLines: () => Promise>; + getBoundingClientRect: () => Promise; + getSelectedRectsPerPage: () => Promise; + }>>; +} + +type AnnotationNotePressEvent = { + preventDefault: () => boolean; + annotationNote?: AnnotationNote | null; +}; + +type AnnotationNoteHoverEvent = { + preventDefault: () => boolean; + annotationNote?: AnnotationNote | null; +}; + +type DocumentComparisonUIStartEvent = DocumentComparisonConfiguration; + +type CommentsMentionEvent = { + comment: Comment; + modifications: List<{ + userId: string; + action: 'ADDED' | 'REMOVED'; + }>; +}; + +type Signature = InkAnnotation | ImageAnnotation; +interface HistoryEvent { + action: T; + before: AnnotationsUnion; + after: AnnotationsUnion; +} +interface EventMap { + 'viewState.change': (viewState: ViewState, previousViewState: ViewState) => void; + 'viewState.currentPageIndex.change': (pageIndex: number) => void; + 'viewState.zoom.change': (zoom: number) => void; + 'annotationPresets.update': (event: AnnotationPresetsUpdateEvent) => void; + 'annotations.blur': (event: AnnotationsBlurEvent) => void; + 'annotations.change': () => void; + 'annotations.create': (annotations: List) => void; + 'annotations.delete': (annotations: List) => void; + 'annotations.didSave': () => void; + 'annotations.focus': (event: AnnotationsFocusEvent) => void; + 'annotations.load': (annotations: List) => void; + 'annotations.press': (event: AnnotationsPressEvent) => void; + 'annotations.update': (annotations: List) => void; + 'annotations.willChange': (event: { + reason: AnnotationsWillChangeReason; + annotations: List; + }) => void; + 'annotations.willSave': () => void; + 'annotationSelection.change': (annotation?: AnnotationsUnion) => void; + 'annotations.transform': (event: AnnotationsTransformEvent) => void; + 'annotations.copy': (event: AnnotationsCopyEvent) => void; + 'annotations.cut': (event: AnnotationsCutEvent) => void; + 'annotations.paste': (event: AnnotationsPasteEvent) => void; + 'annotations.duplicate': (event: AnnotationsDuplicateEvent) => void; + 'bookmarks.change': () => void; + 'bookmarks.create': (bookmarks: List) => void; + 'bookmarks.update': (bookmarks: List) => void; + 'bookmarks.delete': (bookmarks: List) => void; + 'bookmarks.load': (bookmarks: List) => void; + 'bookmarks.didSave': () => void; + 'bookmarks.willSave': () => void; + 'comments.change': () => void; + 'comments.create': (comments: List) => void; + 'comments.delete': (comments: List) => void; + 'comments.update': (comments: List) => void; + 'comments.load': () => void; + 'comments.willSave': () => void; + 'comments.didSave': () => void; + 'instant.connectedClients.change': (clients: Map) => void; + 'document.change': (operations: DocumentOperation[]) => void; + 'document.saveStateChange': (event: SaveStateChangeEvent) => void; + 'formFieldValues.update': (formFields: List) => void; + 'formFieldValues.willSave': () => void; + 'formFieldValues.didSave': (res: { + response: Response; + error: Error; + }) => void; + 'forms.willSubmit': (event: { + preventDefault: () => void; + }) => void; + 'forms.didSubmit': (event: { + preventDefault: () => void; + }) => void; + 'formFields.change': () => void; + 'formFields.create': (formFields: List) => void; + 'formFields.delete': (formFields: List) => void; + 'formFields.didSave': () => void; + 'formFields.load': (formFields: List) => void; + 'formFields.update': (formFields: List) => void; + 'formFields.willSave': () => void; + 'search.stateChange': (searchState: SearchState) => void; + 'search.termChange': (event: SearchTermChangeEvent) => void; + 'storedSignatures.change': () => void; + 'storedSignatures.create': (signature: Signature) => void; + 'storedSignatures.delete': (signature: Signature) => void; + 'storedSignatures.update': (signatures: List) => void; + 'textLine.press': (event: TextLinePressEvent) => void; + 'textSelection.change': (selection: PublicTextSelection | null) => void; + 'history.change': (event: HistoryEvent<'undo' | 'redo'>) => void; + 'history.willChange': (event: { + type: 'create' | 'update' | 'delete'; + annotation: Annotation; + preventDefault: () => void; + }) => void; + 'history.clear': () => void; + 'history.redo': (event: HistoryEvent<'redo'>) => void; + 'history.undo': (event: HistoryEvent<'undo'>) => void; + 'page.press': (event: PagePressEvent) => void; + 'inkSignatures.create': (signature: Signature) => void; + 'inkSignatures.delete': (signature: Signature) => void; + 'inkSignatures.update': (signatures: Signature[]) => void; + 'inkSignatures.change': () => void; + 'cropArea.changeStart': (opts: CropAreaChangeStartEvent) => void; + 'cropArea.changeStop': (opts: CropAreaChangeStopEvent) => void; + 'documentComparisonUI.start': (opts: DocumentComparisonUIStartEvent) => void; + 'documentComparisonUI.end': () => void; + 'annotationNote.press': (event: AnnotationNotePressEvent) => void; + 'annotationNote.hover': (event: AnnotationNoteHoverEvent) => void; + 'comments.mention': (event: CommentsMentionEvent) => void; +} + +interface IEmbeddedFile { + id: ID; + attachmentId: string; + description: null | string; + fileName: null | string; + fileSize: null | number; + updatedAt: null | Date; +} +declare const EmbeddedFile_base: Record$1.Factory; +declare class EmbeddedFile extends EmbeddedFile_base { +} + +type IAnnotationToolbarType = 'stroke-color' | 'fill-color' | 'background-color' | 'opacity' | 'line-width' | 'blend-mode' | 'spacer' | 'delete' | 'annotation-note' | 'border-color' | 'border-width' | 'border-style' | 'color' | 'linecaps-dasharray' | 'line-style' | 'font' | 'overlay-text' | 'outline-color' | 'apply-redactions' | 'measurementType' | 'measurementScale' | 'back'; +type BuiltInAnnotationToolbarItem = { + type: IAnnotationToolbarType; +}; +type Shared = Omit & { + onPress?: (nativeEvent: MouseEvent, id?: string) => void; + iconClassName?: string; + onIconPress?: (nativeEvent: MouseEvent, id?: string) => void; +}; +type AnnotationToolbarItem = (Omit & { + type: IAnnotationToolbarType; +}) | (Omit & { + id: string; + type: 'custom'; + icon?: string | Node; + node?: Node; +}); + +type AnnotationToolbarItemsCallback = (annotation: AnnotationsUnion, options: { + defaultAnnotationToolbarItems: BuiltInAnnotationToolbarItem[]; + hasDesktopLayout: boolean; +}) => AnnotationToolbarItem[]; + +type OnWidgetAnnotationCreationStartCallback = (annotation: WidgetAnnotation, formField: FormField) => { + annotation?: WidgetAnnotation; + formField?: FormField; +}; + +declare const builtInItems: readonly ["highlight", "strikeout", "underline", "squiggle", "redact-text-highlighter", "comment"]; +type InlineToolbarType = (typeof builtInItems)[number]; +type InlineTextSelectionToolbarItem = Omit & { + type: InlineToolbarType | 'custom'; +}; +type InlineTextSelectionToolbarItemsCallback = (options: { + defaultItems: InlineTextSelectionToolbarItem[]; + hasDesktopLayout: boolean; +}, selection: TextSelection) => InlineTextSelectionToolbarItem[]; + +type ViewStateSetter = (currentState: ViewState) => ViewState; +type ToolbarItemsSetter = (currentState: ToolbarItem[]) => ToolbarItem[]; +type StoredSignaturesSetter = (annotations: List) => List; +type SearchStateSetter = (currentState: SearchState) => SearchState; +type AnnotationPresetsSetter = (currentState: Record) => Record; +type StampAnnotationTemplatesSetter = (currentState: Array) => Array; +type SetDocumentEditorFooterFunction = (currentState: DocumentEditorFooterItem[]) => DocumentEditorFooterItem[]; +type SetDocumentEditorToolbarFunction = (currentState: DocumentEditorToolbarItem[]) => DocumentEditorToolbarItem[]; +declare class Instance { + totalPageCount: number; + pageInfoForIndex: (pageIndex: number) => PageInfo | null | undefined; + textLinesForPageIndex: (pageIndex: number) => Promise>; + getMarkupAnnotationText: (annotation: TextMarkupAnnotationsUnion) => Promise; + getTextFromRects: (pageIndex: number, rects: List) => Promise; + currentZoomLevel: number; + maximumZoomLevel: number; + minimumZoomLevel: number; + zoomStep: number; + connectedClients: Map; + addEventListener: (action: K, listener: EventMap[K]) => void; + removeEventListener: (action: K, listener: EventMap[K]) => void; + jumpToRect: (pageIndex: number, rect: Rect) => void; + jumpAndZoomToRect: (pageIndex: number, rect: Rect) => void; + transformContentClientToPageSpace: (rectOrPoint: Rect | Point, pageIndex: number) => Rect | Point; + transformContentPageToClientSpace: (rectOrPoint: Rect | Point, pageIndex: number) => Rect | Point; + transformClientToPageSpace: (rectOrPoint: Rect | Point, pageIndex: number) => Rect | Point; + transformPageToClientSpace: (rectOrPoint: Rect | Point, pageIndex: number) => Rect | Point; + transformRawToPageSpace: (rawInset: InsetJSON | Inset, pageIndex: number) => Rect; + transformPageToRawSpace: (rect: Rect, pageIndex: number) => Inset; + exportPDF: (flags?: ExportPDFFlags) => Promise; + exportXFDF: () => Promise; + exportInstantJSON: (version?: number) => Promise; + renderPageAsArrayBuffer: (options: { + width: number; + } | { + height: number; + }, pageIndex: number) => Promise; + renderPageAsImageURL: (options: { + width: number; + } | { + height: number; + }, pageIndex: number) => Promise; + print: (printMode?: IPrintMode | { + mode?: IPrintMode; + excludeAnnotations?: boolean; + }) => void; + abortPrint: () => void; + setCustomRenderers: (customRenderers: CustomRenderers) => void; + setCustomUIConfiguration: (customUIConfigurationOrConfigurationSetter: CustomUI | ((customUI: CustomUI | null) => CustomUI)) => void; + getDocumentOutline: () => Promise>; + getPageGlyphs: (pageIndex: number) => Promise>; + setAnnotationCreatorName: (annotationCreatorName?: string | null) => void; + setOnWidgetAnnotationCreationStart: (callback: OnWidgetAnnotationCreationStartCallback) => void; + setOnCommentCreationStart: (callback: OnCommentCreationStartCallback) => void; + contentWindow: Window; + contentDocument: Document; + readonly viewState: ViewState; + setViewState: (stateOrFunction: ViewStateSetter | ViewState) => void; + readonly toolbarItems: ToolbarItem[]; + setToolbarItems: (stateOrFunction: ToolbarItemsSetter | ToolbarItem[]) => void; + setAnnotationToolbarItems: (annotationToolbarItemsCallback: AnnotationToolbarItemsCallback) => void; + setInlineTextSelectionToolbarItems: (InlineTextSelectionToolbarItemsCallback: InlineTextSelectionToolbarItemsCallback) => void; + annotationPresets: Record; + setAnnotationPresets: (stateOrFunction: AnnotationPresetsSetter | Record) => void; + setCurrentAnnotationPreset: (annotationPresetID?: string | null) => void; + readonly currentAnnotationPreset: string | null | undefined; + readonly stampAnnotationTemplates: Array; + setStampAnnotationTemplates: (stateOrFunction: StampAnnotationTemplatesSetter | Array) => void; + getAnnotations: (pageIndex: number) => Promise>; + createAttachment: (file: Blob) => Promise; + getAttachment: (attachmentId: string) => Promise; + calculateFittingTextAnnotationBoundingBox: (annotation: TextAnnotation) => TextAnnotation; + setOnAnnotationResizeStart: (callback: AnnotationResizeStartCallback) => void; + getBookmarks: () => Promise>; + getFormFields: () => Promise>; + getFormFieldValues: () => Record>; + setFormFieldValues: (formFieldValues: Record>) => void; + getTextSelection: () => Record | null | undefined; + getSelectedAnnotation: () => AnnotationsUnion | null | undefined; + getSelectedAnnotations: () => List | null | undefined; + getAnnotationsGroups: () => Map; + }> | null | undefined; + setSelectedAnnotation: (annotationOrAnnotationId?: (AnnotationsUnion | ID) | null) => void; + setSelectedAnnotations: (annotationsOrAnnotationsId?: List | null) => void; + groupAnnotations: (annotationsOrAnnotationsId?: List) => void; + deleteAnnotationsGroup: (annotationGroupId?: string) => void; + setEditingAnnotation: (annotationOrAnnotationId?: (AnnotationsUnion | ID) | null, autoSelectText?: boolean | null) => void; + setCustomOverlayItem: (item: CustomOverlayItem) => void; + removeCustomOverlayItem: (id: CustomOverlayItemID) => void; + readonly locale: string; + setLocale: (arg0: string) => Promise; + getInkSignatures: () => Promise>; + getStoredSignatures: () => Promise>; + setInkSignatures: (stateOrFunction: StoredSignaturesSetter | List) => Promise; + setStoredSignatures: (stateOrFunction: StoredSignaturesSetter | List) => Promise; + search: (term: string, options?: { + startPageIndex?: number; + endPageIndex?: number; + searchType?: ISearchType; + searchInAnnotations?: boolean; + caseSensitive?: boolean; + }) => Promise>; + startUISearch: (term: string) => void; + readonly searchState: SearchState; + setSearchState: (stateOrFunction: SearchStateSetter | SearchState) => void; + readonly editableAnnotationTypes: Array>; + setEditableAnnotationTypes: (arg0: Array>) => void; + setIsEditableAnnotation: (arg0: IsEditableAnnotationCallback) => void; + setIsEditableComment: (arg0: IsEditableCommentCallback) => void; + setGroup: (group: string) => void; + resetGroup: () => void; + setMentionableUsers: (users: MentionableUser[]) => void; + setMaxMentionSuggestions: (maxSuggestions: number) => void; + getComments: () => Promise>; + setDocumentEditorFooterItems: (stateOrFunction: DocumentEditorFooterItem[] | SetDocumentEditorFooterFunction) => void; + setDocumentEditorToolbarItems: (stateOrFunction: DocumentEditorToolbarItem[] | SetDocumentEditorToolbarFunction) => void; + getSignaturesInfo: () => Promise; + signDocument: (arg0: SignatureCreationData | null | undefined, arg1: TwoStepSignatureCallback | SigningServiceData | undefined) => Promise; + applyOperations: (operations: Array) => Promise; + exportPDFWithOperations: (arg0: Array) => Promise; + applyRedactions: () => Promise; + save: () => Promise; + hasUnsavedChanges: () => boolean; + ensureChangesSaved: (changes: Change | Array) => Promise>; + create: (changes: Change | Array | List) => Promise>; + update: (changes: Change | Array | List) => Promise>; + delete: (ids: InstantID | Change | Array | List) => Promise>; + toggleClipboardActions: (enable: boolean) => void; + setMeasurementSnapping: (enable: boolean) => void; + setMeasurementPrecision: (precision: IMeasurementPrecision) => void; + setMeasurementScale: (scale: MeasurementScale) => void; + setMeasurementValueConfiguration: (configurationCallback: MeasurementValueConfigurationCallback) => void; + createRedactionsBySearch: (term: string | ISearchPattern, options?: { + searchType?: ISearchType; + searchInAnnotations?: boolean; + caseSensitive?: boolean; + annotationPreset?: RedactionAnnotationPreset; + }) => Promise>; + history: { + undo: () => Promise; + redo: () => Promise; + clear: () => void; + enable: () => void; + disable: () => void; + canUndo: () => boolean; + canRedo: () => boolean; + }; + setDocumentComparisonMode: (documentComparisonConfiguration: DocumentComparisonConfiguration | null) => void; + getEmbeddedFiles: () => Promise>; +} + +declare const UIDateTimeElement: { + readonly COMMENT_THREAD: "COMMENT_THREAD"; + readonly ANNOTATIONS_SIDEBAR: "ANNOTATIONS_SIDEBAR"; +}; +type IUIDateTimeElement = (typeof UIDateTimeElement)[keyof typeof UIDateTimeElement]; + +type DateTimeStringCallback = (args: { + dateTime: Date; + element: IUIDateTimeElement; + object: AnnotationsUnion | Comment; +}) => string; + +declare const InkEraserMode: { + readonly POINT: "POINT"; + readonly STROKE: "STROKE"; +}; +type IInkEraserMode = (typeof InkEraserMode)[keyof typeof InkEraserMode]; + +type BuiltInColorProperty = 'color' | 'stroke-color' | 'fill-color' | 'background-color' | 'font-color' | 'outline-color'; +type AnnotationToolbarColorPresetConfig = { + presets: ColorPreset[]; + showColorPicker?: boolean; +}; +type AnnotationToolbarColorPresetsCallback = (options: { + propertyName: BuiltInColorProperty; + defaultAnnotationToolbarColorPresets: ColorPreset[]; +}) => AnnotationToolbarColorPresetConfig | undefined; + +type EnableRichTextCallback = (annotation: TextAnnotation) => boolean; + +type TrustedCAsCallback = () => Promise>; + +type ElectronicSignaturesConfiguration = { + creationModes?: Readonly; + fonts?: Readonly; + unstable_colorPresets?: Readonly; +}; + +declare const Theme: { + readonly LIGHT: "LIGHT"; + readonly DARK: "DARK"; + readonly AUTO: "AUTO"; +}; +type ITheme = (typeof Theme)[keyof typeof Theme]; + +type SharedConfiguration = { + container: string | HTMLElement; + initialViewState?: ViewState; + baseUrl?: string; + serverUrl?: string; + styleSheets?: Array; + toolbarItems?: Array; + annotationPresets?: Record; + stampAnnotationTemplates?: Array; + autoSaveMode?: IAutoSaveMode; + disableHighQualityPrinting?: boolean; + printMode?: IPrintMode; + printOptions?: { + mode?: IPrintMode; + quality?: IPrintQuality; + }; + disableTextSelection?: boolean; + disableForms?: boolean; + headless?: boolean; + locale?: string; + populateInkSignatures?: () => Promise>; + populateStoredSignatures?: () => Promise>; + formFieldsNotSavingSignatures?: Array; + password?: string; + disableOpenParameters?: boolean; + maxPasswordRetries?: number; + enableServiceWorkerSupport?: boolean; + preventTextCopy?: boolean; + renderPageCallback?: RenderPageCallback; + annotationTooltipCallback?: AnnotationTooltipCallback; + editableAnnotationTypes?: Array>; + isEditableAnnotation?: IsEditableAnnotationCallback; + onAnnotationResizeStart?: AnnotationResizeStartCallback; + customRenderers?: CustomRenderers; + customUI?: CustomUI; + theme?: ITheme; + toolbarPlacement?: IToolbarPlacement; + minDefaultZoomLevel?: number; + maxDefaultZoomLevel?: number; + isEditableComment?: IsEditableCommentCallback; + restrictAnnotationToPageBounds?: boolean; + electronicSignatures?: ElectronicSignaturesConfiguration; + documentEditorFooterItems?: DocumentEditorFooterItem[]; + documentEditorToolbarItems?: DocumentEditorToolbarItem[]; + enableHistory?: boolean; + onOpenURI?: OnOpenUriCallback; + dateTimeString?: DateTimeStringCallback; + annotationToolbarColorPresets?: AnnotationToolbarColorPresetsCallback; + annotationToolbarItems?: AnnotationToolbarItemsCallback; + enableClipboardActions?: boolean; + renderPagePreview?: boolean; + unstable_inkEraserMode?: IInkEraserMode; + onWidgetAnnotationCreationStart?: OnWidgetAnnotationCreationStartCallback; + inlineTextSelectionToolbarItems?: InlineTextSelectionToolbarItemsCallback; + measurementSnapping?: boolean; + measurementPrecision?: IMeasurementPrecision; + measurementScale?: MeasurementScale; + measurementValueConfiguration?: MeasurementValueConfigurationCallback; + enableRichText?: EnableRichTextCallback; + disableMultiSelection?: boolean; + autoCloseThreshold?: number; + onCommentCreationStart?: OnCommentCreationStartCallback; +}; +type Instant = { + public: boolean; +}; +type ServerConfiguration = SharedConfiguration & { + documentId: string; + authPayload: { + jwt: string; + }; + instant: Instant[keyof Instant]; + anonymousComments?: boolean; + mentionableUsers?: Array; + maxMentionSuggestions?: number; +}; +type StandaloneConfiguration = SharedConfiguration & { + document: string | ArrayBuffer; + baseCoreUrl?: string; + licenseKey?: string; + instantJSON?: InstantJSON; + XFDF?: string; + XFDFKeepCurrentAnnotations?: boolean; + disableWebAssemblyStreaming?: boolean; + disableIndexedDBCaching?: boolean; + enableAutomaticLinkExtraction?: boolean; + standaloneInstancesPoolSize?: number; + overrideMemoryLimit?: number; + trustedCAsCallback?: TrustedCAsCallback; + customFonts?: Array; + electronAppName?: string; + appName?: string; + isSharePoint?: boolean; + isSalesforce?: boolean; + productId?: IProductId; +}; +type Configuration = ServerConfiguration | StandaloneConfiguration; + +declare const Conformance: { + readonly PDFA_1A: "pdfa-1a"; + readonly PDFA_1B: "pdfa-1b"; + readonly PDFA_2A: "pdfa-2a"; + readonly PDFA_2U: "pdfa-2u"; + readonly PDFA_2B: "pdfa-2b"; + readonly PDFA_3A: "pdfa-3a"; + readonly PDFA_3U: "pdfa-3u"; + readonly PDFA_3B: "pdfa-3b"; + readonly PDFA_4: "pdfa-4"; + readonly PDFA_4E: "pdfa-4e"; + readonly PDFA_4F: "pdfa-4f"; +}; +type IConformance = (typeof Conformance)[keyof typeof Conformance]; + +type FormFieldFlags = Array<'readOnly' | 'required' | 'noExport'>; +type FormOptionJSON = { + label: string; + value: string; +}; +type ExportPDFFlags = { + flatten?: boolean; + incremental?: boolean; + includeComments?: boolean; + saveForPrinting?: boolean; + excludeAnnotations?: boolean; + permissions?: { + userPassword: string; + ownerPassword: string; + documentPermissions: Array; + }; + outputFormat?: boolean | PDFAFlags; + optimize?: boolean | OptimizationFlags; +}; +type PDFAFlags = { + conformance?: IConformance; + vectorization?: boolean; + rasterization?: boolean; +}; +type OptimizationFlags = { + documentFormat?: 'pdf' | 'pdfa'; + grayscaleText?: boolean; + grayscaleGraphics?: boolean; + grayscaleFormFields?: boolean; + grayscaleAnnotations?: boolean; + grayscaleImages?: boolean; + disableImages?: boolean; + mrcCompression?: boolean; + imageOptimizationQuality?: 1 | 2 | 3 | 4; + linearize?: boolean; +}; + +type FormFieldAdditionalActionsType = { + onChange?: Action; + onCalculate?: Action; +}; +type FormFieldEventTriggerType = keyof FormFieldAdditionalActionsType; +type FormFieldInputAdditionalActionsType = FormFieldAdditionalActionsType & { + onInput?: Action; + onFormat?: Action; +}; +type FormFieldInputEventTriggerType = keyof FormFieldInputAdditionalActionsType; +type FormFieldName = string; +interface IFormField { + id?: ID; + pdfObjectId?: number | null; + annotationIds?: List; + name?: FormFieldName; + label?: string; + readOnly?: boolean; + required?: boolean; + noExport?: boolean; + additionalActions?: any; + group?: string | null; + isEditable?: boolean; + isFillable?: boolean; + isDeletable?: boolean; + canSetGroup?: boolean; + [key: string]: any; +} +declare const FormField_base: Record$1.Factory; +declare class FormField extends FormField_base { + id: ID; + name: FormFieldName; + pdfObjectId: number; + annotationIds: List; + label: string; + readOnly: boolean; + required: boolean; + noExport: boolean; + additionalActions: any; + group?: string | null; + isEditable?: boolean; + isFillable?: boolean; + isDeletable?: boolean; + canSetGroup?: boolean; + static defaultValues: IObject; + constructor(args?: IFormField); +} + +declare class ButtonFormField extends FormField { + buttonLabel: string | null; + static defaultValues: IObject; +} + +declare const FormOption_base: Record$1.Factory<{ + label: string; + value: string; +}>; +declare class FormOption extends FormOption_base { +} + +declare class CheckBoxFormField extends FormField { + values: List; + defaultValues: List; + options: List; + optionIndexes?: List; + static defaultValues: IObject; +} + +declare class ChoiceFormField extends FormField { + options: List; + values: List; + defaultValues: List; + multiSelect: boolean; + commitOnChange: boolean; + static defaultValues: IObject; +} + +declare class ComboBoxFormField extends ChoiceFormField { + edit: boolean; + doNotSpellCheck: boolean; + static defaultValues: IObject; +} + +declare class ListBoxFormField extends ChoiceFormField { + additionalActions: FormFieldInputAdditionalActionsType | null | undefined; +} + +declare class RadioButtonFormField extends FormField { + noToggleToOff: boolean; + radiosInUnison: boolean; + value: string; + defaultValue: string; + options: List; + optionIndexes?: List; + static defaultValues: IObject; +} + +declare class TextFormField extends FormField { + value: string; + defaultValue: string; + password: boolean; + maxLength?: number | null; + doNotSpellCheck: boolean; + doNotScroll: boolean; + multiLine: boolean; + comb: boolean; + additionalActions: FormFieldInputAdditionalActionsType | null | undefined; + static defaultValues: IObject; +} + +declare class SignatureFormField extends FormField { +} + +type AnnotationPreset = AnnotationPreset$1; +type AnnotationPresetID = AnnotationPresetID$1; + +declare class __dangerousImmutableRecordFactory> { + has(key: unknown): boolean; + get(key: K): TProps[K]; + set(key: K, value: TProps[K]): this; + delete(key: K): this; + clear(): this; + update(key: K, updater: (value: TProps[K]) => TProps[K]): this; + merge(...collections: Array>): this; + mergeWith(merger: (previous?: unknown, next?: unknown, key?: string) => unknown, ...collections: Array | Iterable<[string, unknown]>>): this; + mergeDeep(...collections: Array | Iterable<[string, unknown]>>): this; + mergeDeepWith(merger: (previous?: unknown, next?: unknown, key?: string) => unknown, ...collections: Array | Iterable<[string, unknown]>>): this; + setIn(keyPath: Iterable, value: unknown): this; + deleteIn(keyPath: Iterable): this; + removeIn(keyPath: Iterable): this; + updateIn(keyPath: Iterable, notSetValue: unknown, updater: (value: unknown) => unknown): this; + updateIn(keyPath: Iterable, updater: (value: unknown) => unknown): this; + mergeIn(keyPath: Iterable, ...collections: Array | Iterable<[string, unknown]>>): this; + mergeDeepIn(keyPath: Iterable, ...collections: Array | Iterable<[string, unknown]>>): this; + withMutations(mutator: (mutable: this) => unknown): this; + asMutable(): this; + asImmutable(): this; + getIn(keyPath: Iterable, notSetValue?: unknown): unknown; + toJS(): TProps; + toJSON(): TProps; + equals(other: unknown): boolean; + toSeq(): Seq.Keyed; +} +declare const InheritableImmutableRecord_base: any; +declare class InheritableImmutableRecord> extends InheritableImmutableRecord_base { + constructor(values?: Partial | Iterable<[string, unknown]>); +} +interface InheritableImmutableRecord> extends __dangerousImmutableRecordFactory { +} + +type ID = string; +type AnnotationProperties = { + id: string | null; + name: string | null; + subject: string | null; + pdfObjectId: number | null; + pageIndex: number | null; + boundingBox: Rect | null; + opacity: number | null; + note: string | null; + creatorName: string | null; + createdAt: Date | null; + updatedAt: Date | null; + customData: Record | null; + noView: boolean | null; + noPrint: boolean | null; + locked: boolean | null; + lockedContents: boolean | null; + readOnly: boolean | null; + hidden: boolean | null; + group: string | null | undefined; + isEditable: boolean | undefined; + isDeletable: boolean | undefined; + canSetGroup: boolean | undefined; + canReply: boolean | undefined; + rotation: number; + additionalActions: any; + noZoom: boolean; + noRotate: boolean; + isCommentThreadRoot: boolean; + APStreamCache: { + cache: string; + } | { + attach: string; + } | undefined; + blendMode: IBlendMode; + action: any; + [key: string]: unknown; +}; +declare class Annotation extends InheritableImmutableRecord { + id: ID; + name: null | string; + subject: null | string; + pdfObjectId: null | number; + pageIndex: number; + boundingBox: Rect; + opacity: number; + note: null | string; + creatorName: null | string; + createdAt: Date; + updatedAt: Date; + noView: boolean; + noPrint: boolean; + locked: boolean; + lockedContents: boolean; + readOnly: boolean; + hidden: boolean; + customData: null | Record; + noZoom: boolean; + noRotate: boolean; + additionalActions: any; + rotation: number; + blendMode: IBlendMode; + isCommentThreadRoot: boolean; + group?: string | null; + isEditable?: boolean; + isDeletable?: boolean; + canSetGroup?: boolean; + canReply?: boolean; + APStreamCache?: { + cache: string; + } | { + attach: string; + }; + action: any; + static defaultValues: IObject; + constructor(record?: Partial); +} + +type StampKind = 'Approved' | 'NotApproved' | 'Draft' | 'Final' | 'Completed' | 'Confidential' | 'ForPublicRelease' | 'NotForPublicRelease' | 'ForComment' | 'Void' | 'PreliminaryResults' | 'InformationOnly' | 'Rejected' | 'Accepted' | 'InitialHere' | 'SignHere' | 'Witness' | 'AsIs' | 'Departmental' | 'Experimental' | 'Expired' | 'Sold' | 'TopSecret' | 'Revised' | 'RejectedWithText' | 'Custom'; +interface IStampAnnotation extends AnnotationProperties { + stampType: string | StampKind | null; + title: string | null; + subtitle: string | null; + color: Color | null; + xfdfAppearanceStream: string | null; +} +declare class StampAnnotation extends Annotation { + stampType: StampKind; + title: null | string; + subtitle: null | string; + color: null | Color; + xfdfAppearanceStream: null | string; + static defaultValues: IObject; + static readableName: string; +} + +declare function preloadWorker(configuration: StandaloneConfiguration): Promise; +declare function load(configuration: Configuration): Promise; +declare function convertToPDF(configuration: StandaloneConfiguration, conformance?: IConformance): Promise; + +declare function serializeAnnotation(annotation: InkAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: LineAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: RectangleAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: EllipseAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: PolygonAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: PolylineAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: TextAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: NoteAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: StampAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: ImageAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: MediaAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: LinkAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: WidgetAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: TextMarkupAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: RedactionAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: CommentMarkerAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: UnknownAnnotation): AnnotationBackendJSON; +declare function serializeAnnotation(annotation: AnnotationsUnion): AnnotationsBackendJSONUnion; +declare function serializeFormField(formField: FormField): FormFieldJSON; +declare function serializePreset(preset: AnnotationPreset$1): Record; +declare function unserializePreset(presetJSON: Record): AnnotationPreset$1; + +type TargetType = string | HTMLElement | Instance | null; +declare function unload(target: TargetType): boolean; + +declare function viewStateFromOpenParameters(viewState: ViewState, hash?: string | null | undefined): ViewState; + +type RotatableAnnotation = TextAnnotation | StampAnnotation; + +declare const PSPDFKit: { + Immutable: { + List: typeof List; + }; + version: string; + Geometry: { + Point: typeof Point; + DrawingPoint: typeof DrawingPoint; + Rect: typeof Rect; + Size: typeof Size; + Inset: typeof Inset; + }; + Actions: { + Action: typeof Action; + GoToAction: typeof GoToAction; + GoToEmbeddedAction: typeof GoToEmbeddedAction; + GoToRemoteAction: typeof GoToRemoteAction; + HideAction: typeof HideAction; + JavaScriptAction: typeof JavaScriptAction; + LaunchAction: typeof LaunchAction; + NamedAction: typeof NamedAction; + ResetFormAction: typeof ResetFormAction; + SubmitFormAction: typeof SubmitFormAction; + URIAction: typeof URIAction; + }; + Annotations: { + Annotation: typeof Annotation; + CommentMarkerAnnotation: typeof CommentMarkerAnnotation; + HighlightAnnotation: typeof HighlightAnnotation; + InkAnnotation: typeof InkAnnotation; + ShapeAnnotation: typeof ShapeAnnotation; + LineAnnotation: typeof LineAnnotation; + RectangleAnnotation: typeof RectangleAnnotation; + EllipseAnnotation: typeof EllipseAnnotation; + PolygonAnnotation: typeof PolygonAnnotation; + PolylineAnnotation: typeof PolylineAnnotation; + LinkAnnotation: typeof LinkAnnotation; + NoteAnnotation: typeof NoteAnnotation; + MarkupAnnotation: typeof TextMarkupAnnotation; + RedactionAnnotation: typeof RedactionAnnotation; + SquiggleAnnotation: typeof SquiggleAnnotation; + StampAnnotation: typeof StampAnnotation; + StrikeOutAnnotation: typeof StrikeOutAnnotation; + TextAnnotation: typeof TextAnnotation; + UnderlineAnnotation: typeof UnderlineAnnotation; + ImageAnnotation: typeof ImageAnnotation; + UnknownAnnotation: typeof UnknownAnnotation; + WidgetAnnotation: typeof WidgetAnnotation; + MediaAnnotation: typeof MediaAnnotation; + toSerializableObject: typeof serializeAnnotation; + fromSerializableObject: (annotation: K) => AnnotationJSONToAnnotation; + rotate: (annotation: RotatableAnnotation, rotation: number, contentSize?: Size) => RotatableAnnotation; + }; + AnnotationPresets: { + toSerializableObject: typeof serializePreset; + fromSerializableObject: typeof unserializePreset; + }; + Comment: typeof Comment; + Bookmark: typeof Bookmark; + CustomOverlayItem: typeof CustomOverlayItem; + FormFields: { + FormField: typeof FormField; + ButtonFormField: typeof ButtonFormField; + CheckBoxFormField: typeof CheckBoxFormField; + ChoiceFormField: typeof ChoiceFormField; + ComboBoxFormField: typeof ComboBoxFormField; + ListBoxFormField: typeof ListBoxFormField; + RadioButtonFormField: typeof RadioButtonFormField; + TextFormField: typeof TextFormField; + SignatureFormField: typeof SignatureFormField; + toSerializableObject: typeof serializeFormField; + fromSerializableObject: (formField: FormFieldJSON) => FormField; + }; + FormFieldValue: typeof FormFieldValue; + FormOption: typeof FormOption; + Color: typeof Color; + Instance: typeof Instance; + preloadWorker: typeof preloadWorker; + load: typeof load; + unload: typeof unload; + convertToPDF: typeof convertToPDF; + Error: any; + SaveError: typeof PSPDFKitSaveError; + ViewState: typeof ViewState; + PageInfo: typeof PageInfo; + TextLine: typeof TextLine; + InstantClient: typeof InstantClient; + TextSelection: typeof PublicTextSelection; + SearchResult: typeof SearchResult; + SearchState: typeof SearchState; + AutoSaveMode: { + readonly IMMEDIATE: "IMMEDIATE"; + readonly INTELLIGENT: "INTELLIGENT"; + readonly DISABLED: "DISABLED"; + }; + SignatureSaveMode: { + readonly ALWAYS: "ALWAYS"; + readonly NEVER: "NEVER"; + readonly USING_UI: "USING_UI"; + }; + LayoutMode: { + readonly SINGLE: "SINGLE"; + readonly DOUBLE: "DOUBLE"; + readonly AUTO: "AUTO"; + }; + PrintMode: { + readonly DOM: "DOM"; + readonly EXPORT_PDF: "EXPORT_PDF"; + }; + PrintQuality: { + readonly LOW: "LOW"; + readonly MEDIUM: "MEDIUM"; + readonly HIGH: "HIGH"; + }; + ScrollMode: { + readonly CONTINUOUS: "CONTINUOUS"; + readonly PER_SPREAD: "PER_SPREAD"; + readonly DISABLED: "DISABLED"; + }; + ZoomMode: { + readonly AUTO: "AUTO"; + readonly FIT_TO_WIDTH: "FIT_TO_WIDTH"; + readonly FIT_TO_VIEWPORT: "FIT_TO_VIEWPORT"; + readonly CUSTOM: "CUSTOM"; + }; + InteractionMode: { + readonly TEXT_HIGHLIGHTER: "TEXT_HIGHLIGHTER"; + readonly INK: "INK"; + readonly INK_SIGNATURE: "INK_SIGNATURE"; + readonly SIGNATURE: "SIGNATURE"; + readonly STAMP_PICKER: "STAMP_PICKER"; + readonly STAMP_CUSTOM: "STAMP_CUSTOM"; + readonly SHAPE_LINE: "SHAPE_LINE"; + readonly SHAPE_RECTANGLE: "SHAPE_RECTANGLE"; + readonly SHAPE_ELLIPSE: "SHAPE_ELLIPSE"; + readonly SHAPE_POLYGON: "SHAPE_POLYGON"; + readonly SHAPE_POLYLINE: "SHAPE_POLYLINE"; + readonly INK_ERASER: "INK_ERASER"; + readonly NOTE: "NOTE"; + readonly COMMENT_MARKER: "COMMENT_MARKER"; + readonly TEXT: "TEXT"; + readonly CALLOUT: "CALLOUT"; + readonly PAN: "PAN"; + readonly SEARCH: "SEARCH"; + readonly DOCUMENT_EDITOR: "DOCUMENT_EDITOR"; + readonly MARQUEE_ZOOM: "MARQUEE_ZOOM"; + readonly REDACT_TEXT_HIGHLIGHTER: "REDACT_TEXT_HIGHLIGHTER"; + readonly REDACT_SHAPE_RECTANGLE: "REDACT_SHAPE_RECTANGLE"; + readonly DOCUMENT_CROP: "DOCUMENT_CROP"; + readonly BUTTON_WIDGET: "BUTTON_WIDGET"; + readonly TEXT_WIDGET: "TEXT_WIDGET"; + readonly RADIO_BUTTON_WIDGET: "RADIO_BUTTON_WIDGET"; + readonly CHECKBOX_WIDGET: "CHECKBOX_WIDGET"; + readonly COMBO_BOX_WIDGET: "COMBO_BOX_WIDGET"; + readonly LIST_BOX_WIDGET: "LIST_BOX_WIDGET"; + readonly SIGNATURE_WIDGET: "SIGNATURE_WIDGET"; + readonly DATE_WIDGET: "DATE_WIDGET"; + readonly FORM_CREATOR: "FORM_CREATOR"; + readonly LINK: "LINK"; + readonly DISTANCE: "DISTANCE"; + readonly PERIMETER: "PERIMETER"; + readonly RECTANGLE_AREA: "RECTANGLE_AREA"; + readonly ELLIPSE_AREA: "ELLIPSE_AREA"; + readonly POLYGON_AREA: "POLYGON_AREA"; + readonly CONTENT_EDITOR: "CONTENT_EDITOR"; + readonly MULTI_ANNOTATIONS_SELECTION: "MULTI_ANNOTATIONS_SELECTION"; + readonly MEASUREMENT: "MEASUREMENT"; + readonly MEASUREMENT_SETTINGS: "MEASUREMENT_SETTINGS"; + }; + unstable_InkEraserMode: { + readonly POINT: "POINT"; + readonly STROKE: "STROKE"; + }; + SidebarMode: { + readonly ANNOTATIONS: "ANNOTATIONS"; + readonly BOOKMARKS: "BOOKMARKS"; + readonly DOCUMENT_OUTLINE: "DOCUMENT_OUTLINE"; + readonly THUMBNAILS: "THUMBNAILS"; + readonly CUSTOM: "CUSTOM"; + }; + UIElement: { + readonly Sidebar: "Sidebar"; + }; + BlendMode: { + readonly normal: "normal"; + readonly multiply: "multiply"; + readonly screen: "screen"; + readonly overlay: "overlay"; + readonly darken: "darken"; + readonly lighten: "lighten"; + readonly colorDodge: "colorDodge"; + readonly colorBurn: "colorBurn"; + readonly hardLight: "hardLight"; + readonly softLight: "softLight"; + readonly difference: "difference"; + readonly exclusion: "exclusion"; + }; + BorderStyle: { + readonly solid: "solid"; + readonly dashed: "dashed"; + readonly beveled: "beveled"; + readonly inset: "inset"; + readonly underline: "underline"; + }; + LineCap: { + readonly square: "square"; + readonly circle: "circle"; + readonly diamond: "diamond"; + readonly openArrow: "openArrow"; + readonly closedArrow: "closedArrow"; + readonly butt: "butt"; + readonly reverseOpenArrow: "reverseOpenArrow"; + readonly reverseClosedArrow: "reverseClosedArrow"; + readonly slash: "slash"; + }; + SidebarPlacement: { + readonly START: "START"; + readonly END: "END"; + }; + SignatureAppearanceMode: { + readonly signatureOnly: "signatureOnly"; + readonly signatureAndDescription: "signatureAndDescription"; + readonly descriptionOnly: "descriptionOnly"; + }; + ShowSignatureValidationStatusMode: { + readonly IF_SIGNED: "IF_SIGNED"; + readonly HAS_WARNINGS: "HAS_WARNINGS"; + readonly HAS_ERRORS: "HAS_ERRORS"; + readonly NEVER: "NEVER"; + }; + NoteIcon: { + readonly COMMENT: "COMMENT"; + readonly RIGHT_POINTER: "RIGHT_POINTER"; + readonly RIGHT_ARROW: "RIGHT_ARROW"; + readonly CHECK: "CHECK"; + readonly CIRCLE: "CIRCLE"; + readonly CROSS: "CROSS"; + readonly INSERT: "INSERT"; + readonly NEW_PARAGRAPH: "NEW_PARAGRAPH"; + readonly NOTE: "NOTE"; + readonly PARAGRAPH: "PARAGRAPH"; + readonly HELP: "HELP"; + readonly STAR: "STAR"; + readonly KEY: "KEY"; + }; + Theme: { + readonly LIGHT: "LIGHT"; + readonly DARK: "DARK"; + readonly AUTO: "AUTO"; + }; + ToolbarPlacement: { + readonly TOP: "TOP"; + readonly BOTTOM: "BOTTOM"; + }; + ElectronicSignatureCreationMode: { + readonly DRAW: "DRAW"; + readonly IMAGE: "IMAGE"; + readonly TYPE: "TYPE"; + }; + I18n: { + locales: any; + messages: {}; + preloadLocalizationData: (locale: string, options?: { + baseUrl?: string | undefined; + }) => Promise; + }; + baseUrl: string | undefined; + DocumentIntegrityStatus: { + readonly ok: "ok"; + readonly tampered_document: "tampered_document"; + readonly failed_to_retrieve_signature_contents: "failed_to_retrieve_signature_contents"; + readonly failed_to_retrieve_byterange: "failed_to_retrieve_byterange"; + readonly failed_to_compute_digest: "failed_to_compute_digest"; + readonly failed_retrieve_signing_certificate: "failed_retrieve_signing_certificate"; + readonly failed_retrieve_public_key: "failed_retrieve_public_key"; + readonly failed_encryption_padding: "failed_encryption_padding"; + readonly general_failure: "general_failure"; + }; + SignatureValidationStatus: { + readonly valid: "valid"; + readonly warning: "warning"; + readonly error: "error"; + }; + SignatureType: { + CMS: string; + CAdES: string; + }; + SignatureContainerType: { + raw: string; + pkcs7: string; + }; + CertificateChainValidationStatus: { + readonly ok: "ok"; + readonly ok_but_self_signed: "ok_but_self_signed"; + readonly untrusted: "untrusted"; + readonly expired: "expired"; + readonly not_yet_valid: "not_yet_valid"; + readonly invalid: "invalid"; + readonly revoked: "revoked"; + readonly failed_to_retrieve_signature_contents: "failed_to_retrieve_signature_contents"; + readonly general_validation_problem: "general_validation_problem"; + }; + AnnotationsWillChangeReason: typeof AnnotationsWillChangeReason; + DocumentComparisonSourceType: { + readonly USE_OPEN_DOCUMENT: "USE_OPEN_DOCUMENT"; + readonly USE_FILE_DIALOG: "USE_FILE_DIALOG"; + }; + MeasurementScaleUnitFrom: { + readonly INCHES: "in"; + readonly MILLIMETERS: "mm"; + readonly CENTIMETERS: "cm"; + readonly POINTS: "pt"; + }; + MeasurementScaleUnitTo: { + readonly INCHES: "in"; + readonly MILLIMETERS: "mm"; + readonly CENTIMETERS: "cm"; + readonly POINTS: "pt"; + readonly FEET: "ft"; + readonly METERS: "m"; + readonly YARDS: "yd"; + readonly KILOMETERS: "km"; + readonly MILES: "mi"; + }; + MeasurementPrecision: { + readonly WHOLE: "whole"; + readonly ONE: "oneDp"; + readonly TWO: "twoDp"; + readonly THREE: "threeDp"; + readonly FOUR: "fourDp"; + readonly HALVES: "1/2"; + readonly QUARTERS: "1/4"; + readonly EIGHTHS: "1/8"; + readonly SIXTEENTHS: "1/16"; + }; + MeasurementScale: typeof MeasurementScale; + ProductId: { + SharePoint: string; + Salesforce: string; + Maui_Android: string; + Maui_iOS: string; + Maui_MacCatalyst: string; + Maui_Windows: string; + }; + Conformance: { + readonly PDFA_1A: "pdfa-1a"; + readonly PDFA_1B: "pdfa-1b"; + readonly PDFA_2A: "pdfa-2a"; + readonly PDFA_2U: "pdfa-2u"; + readonly PDFA_2B: "pdfa-2b"; + readonly PDFA_3A: "pdfa-3a"; + readonly PDFA_3U: "pdfa-3u"; + readonly PDFA_3B: "pdfa-3b"; + readonly PDFA_4: "pdfa-4"; + readonly PDFA_4E: "pdfa-4e"; + readonly PDFA_4F: "pdfa-4f"; + }; + DocumentPermissions: Record<"annotationsAndForms" | "assemble" | "extract" | "extractAccessibility" | "fillForms" | "modification" | "printHighQuality" | "printing", "annotationsAndForms" | "assemble" | "extract" | "extractAccessibility" | "fillForms" | "modification" | "printHighQuality" | "printing">; + viewStateFromOpenParameters: typeof viewStateFromOpenParameters; + readonly unstable_defaultElectronicSignatureColorPresets: ColorPreset[]; + readonly defaultToolbarItems: readonly [{ + readonly type: "sidebar-thumbnails"; + }, { + readonly type: "sidebar-document-outline"; + }, { + readonly type: "sidebar-annotations"; + }, { + readonly type: "sidebar-bookmarks"; + }, { + readonly type: "pager"; + }, { + readonly type: "multi-annotations-selection"; + }, { + readonly type: "pan"; + }, { + readonly type: "zoom-out"; + }, { + readonly type: "zoom-in"; + }, { + readonly type: "zoom-mode"; + }, { + readonly type: "spacer"; + }, { + readonly type: "annotate"; + }, { + readonly type: "ink"; + }, { + readonly type: "highlighter"; + }, { + readonly type: "text-highlighter"; + }, { + readonly type: "ink-eraser"; + }, { + readonly type: "signature"; + }, { + readonly type: "image"; + }, { + readonly type: "stamp"; + }, { + readonly type: "note"; + }, { + readonly type: "text"; + }, { + readonly type: "callout"; + }, { + readonly type: "line"; + }, { + readonly type: "link"; + }, { + readonly type: "arrow"; + }, { + readonly type: "rectangle"; + }, { + readonly type: "ellipse"; + }, { + readonly type: "polygon"; + }, { + readonly type: "cloudy-polygon"; + }, { + readonly type: "polyline"; + }, { + readonly type: "print"; + }, { + readonly type: "document-editor"; + }, { + readonly type: "document-crop"; + }, { + readonly type: "search"; + }, { + readonly type: "export-pdf"; + }, { + readonly type: "debug"; + }]; + readonly defaultDocumentEditorFooterItems: { + type: BuiltInDocumentEditorFooterItem; + }[]; + readonly defaultDocumentEditorToolbarItems: { + type: BuiltInDocumentEditorToolbarItem; + }[]; + readonly defaultAnnotationPresets: { + [key: string]: Record; + }; + readonly defaultStampAnnotationTemplates: StampAnnotation[]; + readonly defaultAnnotationsSidebarContent: readonly [typeof EllipseAnnotation, typeof HighlightAnnotation, typeof ImageAnnotation, typeof InkAnnotation, typeof LineAnnotation, typeof NoteAnnotation, typeof PolygonAnnotation, typeof PolylineAnnotation, typeof RectangleAnnotation, typeof SquiggleAnnotation, typeof StampAnnotation, typeof StrikeOutAnnotation, typeof TextAnnotation, typeof UnderlineAnnotation, typeof WidgetAnnotation]; + defaultEditableAnnotationTypes: readonly (typeof TextAnnotation | typeof CommentMarkerAnnotation)[]; + defaultElectronicSignatureCreationModes: readonly ("DRAW" | "IMAGE" | "TYPE")[]; + defaultSigningFonts: readonly Font[]; + Options: { + MIN_TEXT_ANNOTATION_SIZE: number; + MIN_INK_ANNOTATION_SIZE: number; + MIN_SHAPE_ANNOTATION_SIZE: number; + MIN_IMAGE_ANNOTATION_SIZE: number; + MIN_STAMP_ANNOTATION_SIZE: number; + MIN_WIDGET_ANNOTATION_SIZE: number; + ENABLE_INK_SMOOTH_LINES: boolean; + INK_EPSILON_RANGE_OPTIMIZATION: number; + SIGNATURE_SAVE_MODE: ISignatureSaveMode; + INITIAL_DESKTOP_SIDEBAR_WIDTH: number; + IGNORE_DOCUMENT_PERMISSIONS: boolean; + SELECTION_OUTLINE_PADDING: (viewportSize: Size) => number; + RESIZE_ANCHOR_RADIUS: (viewportSize: Size) => number; + SELECTION_STROKE_WIDTH: number; + TEXT_ANNOTATION_AUTOFIT_TEXT_ON_EXPORT: boolean; + TEXT_ANNOTATION_AUTOFIT_BOUNDING_BOX_ON_EDIT: boolean; + DISABLE_KEYBOARD_SHORTCUTS: boolean; + DEFAULT_INK_ERASER_CURSOR_WIDTH: number; + COLOR_PRESETS: ColorPreset[]; + LINE_CAP_PRESETS: string[]; + LINE_WIDTH_PRESETS: number[] | null | undefined; + HIGHLIGHT_COLOR_PRESETS: ColorPreset[]; + TEXT_MARKUP_COLOR_PRESETS: ColorPreset[]; + NOTE_COLOR_PRESETS: ColorPreset[]; + PDF_JAVASCRIPT: boolean; + BREAKPOINT_MD_TOOLBAR: number; + BREAKPOINT_SM_TOOLBAR: number; + }; + SearchPattern: { + readonly CREDIT_CARD_NUMBER: "credit_card_number"; + readonly DATE: "date"; + readonly TIME: "time"; + readonly EMAIL_ADDRESS: "email_address"; + readonly INTERNATIONAL_PHONE_NUMBER: "international_phone_number"; + readonly IP_V4: "ipv4"; + readonly IP_V6: "ipv6"; + readonly MAC_ADDRESS: "mac_address"; + readonly NORTH_AMERICAN_PHONE_NUMBER: "north_american_phone_number"; + readonly SOCIAL_SECURITY_NUMBER: "social_security_number"; + readonly URL: "url"; + readonly US_ZIP_CODE: "us_zip_code"; + readonly VIN: "vin"; + }; + SearchType: { + readonly TEXT: "text"; + readonly PRESET: "preset"; + readonly REGEX: "regex"; + }; + UIDateTimeElement: { + readonly COMMENT_THREAD: "COMMENT_THREAD"; + readonly ANNOTATIONS_SIDEBAR: "ANNOTATIONS_SIDEBAR"; + }; + generateInstantId: typeof generateInstantId; + Font: typeof Font; +}; + +export { Action, Annotation, AnnotationToolbarItem, AnnotationsUnion, AnnotationsWillChangeReason, Bookmark, ButtonFormField, CheckBoxFormField, ChoiceFormField, Color, ComboBoxFormField, Comment, CommentMarkerAnnotation, Configuration, Conformance, CustomOverlayItem, DocumentEditorFooterItem, DocumentEditorToolbarItem, DrawingPoint, EllipseAnnotation, EllipseAnnotationJSON, Font, FormField, FormFieldValue, FormOption, GoToAction, GoToEmbeddedAction, GoToRemoteAction, HideAction, HighlightAnnotation, ImageAnnotation, ImageAnnotationJSON, InkAnnotation, InkAnnotationJSON, Inset, Instance, InstantClient, JavaScriptAction, LaunchAction, LineAnnotation, LineAnnotationJSON, LinkAnnotation, List, ListBoxFormField, MentionableUser, NamedAction, NoteAnnotation, NoteAnnotationJSON, PageInfo, Point, PolygonAnnotation, PolygonAnnotationJSON, PolylineAnnotation, PolylineAnnotationJSON, RadioButtonFormField, Rect, RectangleAnnotation, RectangleAnnotationJSON, RedactionAnnotation, RedactionAnnotationJSON, ResetFormAction, SearchResult, SearchState, ServerConfiguration, ShapeAnnotation, ShapeAnnotationsUnion, SignatureFormField, Size, SquiggleAnnotation, StampAnnotation, StampAnnotationJSON, StandaloneConfiguration, StrikeOutAnnotation, SubmitFormAction, TextAnnotation, TextAnnotationJSON, TextFormField, TextLine, TextMarkupAnnotation, TextMarkupAnnotationJSON, TextMarkupAnnotationsUnion, PublicTextSelection as TextSelection, ToolbarItem, URIAction, UnderlineAnnotation, UnknownAnnotation, UnknownAnnotationJSON, ViewState, WidgetAnnotation, WidgetAnnotationJSON, PSPDFKit as default }; diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Caveat-Bold.woff b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Caveat-Bold.woff new file mode 100644 index 00000000..dcdc2e53 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Caveat-Bold.woff differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Caveat-Bold.woff2 b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Caveat-Bold.woff2 new file mode 100644 index 00000000..2c93b8f8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Caveat-Bold.woff2 differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/MarckScript-Regular.woff b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/MarckScript-Regular.woff new file mode 100644 index 00000000..ad47f395 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/MarckScript-Regular.woff differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/MarckScript-Regular.woff2 b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/MarckScript-Regular.woff2 new file mode 100644 index 00000000..07437ba6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/MarckScript-Regular.woff2 differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Meddon-Regular.woff b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Meddon-Regular.woff new file mode 100644 index 00000000..52a73499 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Meddon-Regular.woff differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Meddon-Regular.woff2 b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Meddon-Regular.woff2 new file mode 100644 index 00000000..6046b157 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Meddon-Regular.woff2 differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Pacifico-Regular.woff b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Pacifico-Regular.woff new file mode 100644 index 00000000..85a2fcd6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Pacifico-Regular.woff differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Pacifico-Regular.woff2 b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Pacifico-Regular.woff2 new file mode 100644 index 00000000..10c4fe9f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/Pacifico-Regular.woff2 differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-1620-4a96500e60ac9b0e.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-1620-4a96500e60ac9b0e.js new file mode 100644 index 00000000..d1f738de --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-1620-4a96500e60ac9b0e.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1620],{46309:(e,t,i)=>{i.d(t,{W:()=>u});var n=i(84121),r=i(35369),s=i(50974),a=i(82481),o=i(95651),c=i(92466);function l(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function h(e){for(var t=1;t{d=!0};return{promise:new Promise((async(s,a)=>{const o=t=>{const i=this.annotationAPStreamPromises.get(e.id);i&&(this.annotationAPStreamPromises=this.annotationAPStreamPromises.delete(e.id),i(t))},c=this.annotationAPStreamPromises.get(e.id);this.annotationAPStreamPromises=this.annotationAPStreamPromises.set(e.id,s),c&&c(null);try{const a=this.pageAPStreamsPromises.get(e.pageIndex);if(!a){const t=new Promise((t=>{this.annotationAPStreamPromises=this.annotationAPStreamPromises.set(e.id,t)}));return void s(await t)}await a;const c=this.cachedAPStreams.get(e.pageIndex);if(c){const t=c?c.get(e.id):null;if(t)return void o(this.getAPStream(t,r))}const{promise:f,cancel:p}=this.renderAPStream(e,l,t,i,n,u,r);if(d)o(null);else if(m=p,u.length>1){const t=await Promise.all(f.map((e=>e.promise)));o(t[u.indexOf(r||"normal")]),t.some(Boolean)&&this.cacheAPStream(u.reduce(((e,i,n)=>h(h({},e),{},{[i]:t[n]})),{}),e)}else{const t=await f,i=t?this.getAPStream(t,r):null;o(i),i&&this.cacheAPStream(t,e)}}catch(e){a(e)}})),cancel:m}}cacheAPStream(e,t){let i=this.cachedAPStreams.get(t.pageIndex);i||(this.cachedAPStreams=this.cachedAPStreams.set(t.pageIndex,(0,r.D5)()),i=this.cachedAPStreams.get(t.pageIndex)),this.cachedAPStreams=this.cachedAPStreams.setIn([t.pageIndex,t.id],e)}clearAllPageAPStreams(e){const t=this.cachedAPStreams.get(e);t&&(t.forEach((e=>{this.releaseAPStream(e)})),this.cachedAPStreams=this.cachedAPStreams.delete(e)),this.pageAPStreamsPromises=this.pageAPStreamsPromises.delete(e)}clearPageAPStreams(e,t){const i=this.cachedAPStreams.get(e);i&&(i.filter(((e,i)=>t.has(i))).forEach((e=>{this.releaseAPStream(e)})),this.cachedAPStreams=this.cachedAPStreams.updateIn([e],(e=>e.filter(((e,i)=>!t.has(i))))))}getAPStream(e,t){return e instanceof c.Z?e:(null==e?void 0:e[t||"normal"])||null}renderAPStream(e,t,i,n,r,s,a){if(s.length>1){const a=s.map((s=>this.renderAnnotation(e,t,i,n,r,"normal"!==s?s:void 0)));return{promise:a,cancel:()=>{a.forEach((e=>{e.cancel()}))}}}return this.renderAnnotation(e,t,i,n,r,a)}releaseAPStream(e){e instanceof c.Z?e.release():Object.values(e).forEach((e=>{e.release()}))}}},45207:(e,t,i)=>{i.d(t,{Z:()=>a});var n=i(35369),r=i(97413);function s(){return!0}class a{constructor(e){this.queue=(0,n.zN)(),this.priorityQueue=(0,n.zN)(),this.inFlightRequests=(0,n.D5)(),this.inflightRequestLimit=e,this.isDestroyed=!1}enqueue(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.isDestroyed)return{promise:new Promise((()=>{})),cancel:()=>{}};let i=null,r=null;const s=new Promise(((e,t)=>{i=e,r=t})),a=t?this.priorityQueue:this.queue,o=(0,n.t8)(a,e,{promise:s,resolve:i,reject:r});return t?this.priorityQueue=o:this.queue=o,t?this.next():setTimeout((()=>this.next()),35),{promise:s,cancel:()=>this._cancel(e)}}_cancel(e){this.queue.has(e)&&(this.queue=this.queue.delete(e)),this.priorityQueue.has(e)&&(this.priorityQueue=this.priorityQueue.delete(e)),this.inFlightRequests.has(e)&&(this.inFlightRequests=this.inFlightRequests.delete(e))}cancelAll(){this.queue=(0,n.zN)(),this.priorityQueue=(0,n.zN)(),this.inFlightRequests=(0,n.D5)()}_requestFinished(e,t){if(this.isDestroyed)return;const i=this.inFlightRequests.get(e);i&&(i.resolve(t),this.inFlightRequests=this.inFlightRequests.delete(e)),this.next()}_requestFailed(e,t){if(this.isDestroyed)return;const i=this.inFlightRequests.get(e);i&&(i.reject(t),this.inFlightRequests=this.inFlightRequests.delete(e)),this.next()}next(){if(!(this.isDestroyed||this.inFlightRequests.size>=this.inflightRequestLimit)){if(this.priorityQueue.size>=1){const e=this.priorityQueue.findLastEntry(s);(0,r.k)(e);const[t,i]=e;return this.priorityQueue=this.priorityQueue.delete(t),this.inFlightRequests=this.inFlightRequests.set(t,i),void t.request().then((e=>this._requestFinished(t,e))).catch((e=>this._requestFailed(t,e)))}if(this.queue.size>=1){const e=this.queue.findEntry(s);(0,r.k)(e);const[t,i]=e;this.queue=this.queue.delete(t),this.inFlightRequests=this.inFlightRequests.set(t,i),t.request().then((e=>this._requestFinished(t,e))).catch((e=>this._requestFailed(t,e)))}}}destroy(){this.isDestroyed=!0}}},80488:(e,t,i)=>{i.d(t,{i:()=>o});var n=i(35369);class r extends(n.WV({id:"",attachmentId:"",description:null,fileName:null,fileSize:null,updatedAt:null})){}var s=i(33320);function a(e,t){return t}function o(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return a(0,i)?new r({id:(0,s.C)(),description:t.fileDescription,attachmentId:e,fileName:t.fileName||null,fileSize:t.fileSize||null,updatedAt:t.modificationDate?new Date(t.modificationDate):null}):new r({id:e,description:t.description,attachmentId:t.fileAttachmentId,fileName:t.fileName||null,fileSize:t.fileSize||null,updatedAt:new Date(t.updatedAt)||null})}},70569:(e,t,i)=>{i.d(t,{M:()=>a});var n=i(84121);function r(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function s(e){for(var t=1;t{i.d(t,{E:()=>o});var n=i(35369),r=i(50974),s=i(93572),a=i(46791);function o(e){return(0,r.kG)(Array.isArray(e),"Wrong `json` field"),(0,n.aV)(e.map((e=>((0,r.kG)("number"==typeof e.pageIndex,"Wrong `pageIndex` field"),(0,r.kG)("string"==typeof e.previewText,"Wrong `previewText` field"),(0,r.kG)(Array.isArray(e.rangeInPreview),"Wrong `rangeInPreview` field"),(0,r.kG)(Array.isArray(e.rectsOnPage),"Wrong `rectsOnPage` field"),new a.Z({pageIndex:e.pageIndex,previewText:e.previewText,locationInPreview:e.rangeInPreview[0],lengthInPreview:e.rangeInPreview[1],rectsOnPage:(0,n.aV)(e.rectsOnPage).map((e=>(0,s.k)(e))),isAnnotation:!!e.isAnnotation,annotationRect:e.annotationRect?(0,s.k)(e.annotationRect):null})))).filter(Boolean))}}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-4516-915922728fa14a5e.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-4516-915922728fa14a5e.js new file mode 100644 index 00000000..9e4ffe75 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-4516-915922728fa14a5e.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[4516],{14516:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Conformance:()=>a,GdPicture:()=>_,GdPictureClientNative:()=>O,GdPictureWorker:()=>P});var n=r(84121),o=r(50974);const s="pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715",i=`${s}/initDotnet.js`;let a;function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t1?r-1:0),s=1;s{const t=e.data,r=this.requests.get(t.id);(0,o.kG)(r,`No request was made for id ${t.id}.`);const{resolve:n,reject:s}=r;if(this.requests=this.requests.delete(t.id),t.error){const e=new o.p2(t.error);e.callArgs=t.callArgs,s(e)}else n(t.result)})),this.worker=new(h()),this.worker.onmessage=this.handleMessage,this.moduleLoadPromise=this.sendRequest("loadModule",[t,r,s,i])}toPdf(e,t){let r;return t&&(r=t.replace("pdf","pdf_").replaceAll("-","_")),this.sendRequest("toPdf",[e,r])}destroy(){var e;null===(e=this.worker)||void 0===e||e.terminate(),this.worker=null}async sendRequest(e,t){(0,o.kG)(this.worker,"GdPictureClient has been destroyed"),this.moduleLoadPromise&&await this.moduleLoadPromise;const r=this.worker;return new Promise(((n,o)=>{const s=this.assignId(),i=[...t].filter((e=>e instanceof ArrayBuffer));r.postMessage({id:s,action:e,args:t},i),this.requests=this.requests.set(s,{resolve:n,reject:o})}))}assignId(){const e=this.nextRequestId;return this.nextRequestId=this.nextRequestId+1,e}};const O=class{constructor(e){let{baseUrl:t,mainThreadOrigin:r,licenseKey:n,customFonts:o}=e;this.gdPicture=new _,this.moduleLoadPromise=this.gdPicture.loadModule(t,r,n,o)}async toPdf(e,t){let r;return this.moduleLoadPromise&&await this.moduleLoadPromise,t&&(r=t.replace("pdf","pdf_").replaceAll("-","_")),this.gdPicture.toPdf(e,r)}destroy(){}}},81414:(e,t,r)=>{e.exports=function(){return r(69855)('/*!\n * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web)\n *\n * Copyright (c) 2016-2023 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://pspdfkit.com/acknowledgements/web/\n */(()=>{"use strict";const e=function e(t){let r;return r=t instanceof Error?t:new Error(t),Object.setPrototypeOf(r,e.prototype),r};e.prototype=Object.create(Error.prototype,{name:{value:"PSPDFKitError",enumerable:!1}});const t=e;function r(e,r){if(!e)throw new t(`Assertion failed: ${r||"Condition not met"}\\n\\nFor further assistance, please go to: https://pspdfkit.com/support/request`)}function n(e){return n="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},n(e)}function o(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===n(t)?t:String(t)}function a(e,t,r){return(t=o(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,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(",");new WeakMap;const i="pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715",s=`${i}/initDotnet.js`;let f;function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t1?n-1:0),a=1;a{let t,r,{data:n}=e;try{const e=await m[n.action](...n.args);if(t={id:n.id,result:e},Array.isArray(e)){const t=e.filter((e=>e instanceof ArrayBuffer));t.length>0&&(r=t)}e instanceof ArrayBuffer&&(r=[e])}catch(e){const o=[...n.args].filter((e=>e instanceof ArrayBuffer));o.length>0&&(r=o),t={id:n.id,error:e.message||e.toString(),callArgs:n.args}}g.postMessage(t,r)}})();',null)}}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-lazy-bd921099-16e0c177b0b8fbd0.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-lazy-bd921099-16e0c177b0b8fbd0.js new file mode 100644 index 00000000..e4b4bab2 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-lazy-bd921099-16e0c177b0b8fbd0.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5747],{12711:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>j});var n=a(84121),s=a(67294),o=a(94184),r=a.n(o),l=a(35369),i=a(76154),c=a(67366),d=a(50974),m=a(25915),u=a(98785),p=a(91859),g=a(20234),f=a(4054),P=a(82481),y=a(2810),v=a(35129),b=a(6437),h=a(13540),I=a(73264),w=a(34855),E=a(3999),k=a(17375),N=a(22122),D=a(72584);const x=["type"];function S(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function C(e){for(var t=1;t{let{items:t,builtInItems:n,moveDialog:o,CSS_HACK:{components:{ToolbarButtonComponent:l},styles:i}}=e;return t.map(((e,t)=>{const c=n.find((t=>t.type===e.type));if("spacer"===e.type)return s.createElement("div",{style:{flex:1},className:e.className,key:`spacer-${t}`});if("move"===e.type&&c)return s.createElement("div",{key:c.type,className:i.moveButtonContainer},s.createElement(l,(0,N.Z)({},c,{icon:a(92531),className:r()(c.className,e.className),onPress:e=>{c&&c.onPress&&c.onPress(e)}})),o);if(c){const n=(0,D.zW)(c.type);return s.createElement(l,(0,N.Z)({},c,{key:c.type||t,icon:a(33720)(`./${n}.svg`),onPress:e=>{c&&c.onPress&&c.onPress(e)},className:r()(c.className,e.className)}))}if("custom"===e.type&&e.node){const{type:a}=e,n=(0,k.Z)(e,x);return s.createElement(E.Z,(0,N.Z)({},n,{onPress:t=>e.onPress&&e.onPress(t,e.id),key:e.id||t}))}return s.createElement(l,(0,N.Z)({},e,{key:c&&c.type||t,onPress:t=>e.onPress&&e.onPress(t,e.id)}))}))})),M=s.memo((e=>{let{items:t,builtInItems:n,CSS_HACK:{components:{ToolbarDropdownGroupComponent:o,ToolbarButtonComponent:l},styles:i},frameWindow:c}=e;const d=t.map((e=>{let{item:t,index:a}=e;const s=n.find((e=>e.type===t.type));return s?{index:a,item:C(C({},s),{},{className:r()(s.className,t.className),onPress:e=>{s.onPress&&s.onPress(e)}})}:{item:t,index:a}}));return d.length>0&&s.createElement(s.Fragment,null,s.createElement("div",{style:{flex:1},key:"spacer-responsive"}),s.createElement(o,{icon:{type:"more",size:{width:20,height:20}},items:d,discreteDropdown:!0,caretDirection:"down",role:"menu",ItemComponent:e=>{let{item:t,isSelectedItem:o,state:c,itemComponentProps:d}=e;const m=!o&&n.find((e=>e.type===t.item.type));if(o)return null;const u=m&&m.type?(0,D.zW)(m.type):"";return t.item.node?s.createElement(E.Z,(0,N.Z)({},t.item,{onPress:t.item.onPress?e=>t.item.onPress(e,t.id):void 0,key:t.item.id||t.index})):s.createElement(l,(0,N.Z)({},t.item,{role:"menuitem",className:r()(t.item.className,i.toolbar.dropdownButton,"Focused"===c&&i.toolbar["dropdownButton"+c]),icon:m?a(33720)(`./${u}.svg`):t.item.icon,itemComponentProps:d}))},onSelect:(e,t)=>{const{onPress:a,disabled:n}=t.item;n||a&&a(e)},noInitialSelection:!0,frameWindow:c}))}));var z,A,K;function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function F(e){for(var t=1;t{const{styles:t,formatMessage:n,movePreview:o}=e;return s.createElement("div",{style:{width:e.width,height:e.height},className:r()(t.importedDocument,{[t.importedDocumentMovePreview]:o})},s.createElement("div",{className:t.importedDocumentIconCircle},s.createElement(h.Z,{src:a(21289)})),s.createElement("span",{className:t.importedDocumentInfo},n(Z.documentMergedHere)))},R=(e,t,a,n)=>{const s=t.flatten();let o=e.map((e=>({type:"page",page:e,rotation:0,label:e.pageLabel})));const r=e=>{const t=e.dupeOf||e.label;let a=0;for(const e of o)"dupeOf"in e&&null!=e.dupeOf&&e.dupeOf===t&&null!=e.dupeNumber&&e.dupeNumber>a&&(a=e.dupeNumber);return a+1};let l=0;for(const e of s)switch(e.type){case"addPage":{let t;null!=e.afterPageIndex?t=e.afterPageIndex+1:((0,d.kG)(null!=e.beforePageIndex),t=e.beforePageIndex),++l,o=o.insert(t,{type:"newPage",label:`${a(Z.newPage)} ${l}`,rotation:0,size:new P.$u({width:e.pageWidth,height:e.pageHeight})});break}case"removePages":{const t=e.pageIndexes.map((e=>o.get(e)));for(const e of t){(0,d.kG)(null!=e);const t=o.indexOf(e);o=o.delete(t)}break}case"rotatePages":for(const t of e.pageIndexes){const a=o.get(t);let n,s;(0,d.kG)(null!=a),(0,d.kG)("page"===a.type||"newPage"===a.type);const r=a.rotation;if(s=90===e.rotateBy?270===r?0:r+e.rotateBy:90===r?0:180===r?90:270===r?180:r+e.rotateBy,(0,d.kG)(0===s||90===s||180===s||270===s),"page"===a.type)n=F(F({},a),{},{rotation:s});else{if("newPage"!==a.type)throw new d.p2("Rotation is not allowed on imported documents");n=F(F({},a),{},{rotation:s})}o=o.set(t,n)}break;case"duplicatePages":{const t=e.pageIndexes.map((e=>o.get(e)));for(const e of t){(0,d.kG)(null!=e),(0,d.kG)("page"===e.type);const t=r(e),a=e.dupeOf||e.label,n=o.indexOf(e);o=o.insert(n+1,Object.assign({},e,{label:`${a} (${t})`,dupeOf:a,dupeNumber:t}))}break}case"movePages":{const t=e.pageIndexes;if(1===t.length){const a=t[0];let n;null!=e.beforePageIndex?n=e.beforePageIndex:((0,d.kG)(null!=e.afterPageIndex),n=e.afterPageIndex+1);const s=o.get(a);(0,d.kG)(null!=s);const r=o.get(n),l=o.size;o=o.delete(a),n===l?o=o.push(s):0===n?o=o.unshift(s):((0,d.kG)(null!=r),o=o.insert(o.indexOf(r),s))}else{const a=t.slice().sort();if(null!=e.beforePageIndex){(0,d.kG)(0===e.beforePageIndex);const t=a.map((e=>o.get(e))).reverse();for(const e of t)(0,d.kG)(null!=e),o=o.delete(o.indexOf(e)),o=o.unshift(e)}else{(0,d.kG)(null!=e.afterPageIndex);const t=o.get(e.afterPageIndex);(0,d.kG)(null!=t);const n=a.map((e=>o.get(e))).reverse();for(const e of n)(0,d.kG)(null!=e),o=o.delete(o.indexOf(e)),o=o.insert(o.indexOf(t)+1,e)}}break}case"importDocument":{let t,a;if("beforePageIndex"in e&&null!=e.beforePageIndex?t=e.beforePageIndex:((0,d.kG)("afterPageIndex"in e&&null!=e.afterPageIndex),t=e.afterPageIndex+1),"string"==typeof e.document){const t=e.document;(0,d.kG)(n.has(t)),a=n.get(t,"Imported Document")}else(0,d.kG)("string"==typeof e.document.name),a=e.document.name;o=o.insert(t,{type:"importedDocument",label:a});break}case"keepPages":case"applyInstantJson":case"applyXfdf":case"flattenAnnotations":case"performOcr":case"setPageLabel":case"applyRedactions":case"updateMetadata":case"cropPages":throw Error("Unknown document operation");default:(0,d.Rz)(e.type)}return o},T=e=>{const{pages:t,style:a,styles:n,previewCount:o}=e;return s.createElement("div",{className:n.movePreview},s.createElement("div",{className:r()(n.movePreviewPages,{[n.movePreviewPagesLoose]:"loose"===a})},t),s.createElement("div",{className:n.movePreviewCount},o||t.length))},j=e=>{const{onCancel:t,onDialog:n}=e,{pages:o,backend:k,frameWindow:N,footerItems:D,toolbarItems:x}=(0,c.v9)((e=>{let{pages:t,backend:a,frameWindow:n,documentEditorFooterItems:s,documentEditorToolbarItems:o}=e;return{pages:t,backend:a,frameWindow:n,footerItems:s.toJS(),toolbarItems:o.toJS()}}),c.wU),S=(0,c.I0)(),{formatMessage:C}=(0,i.YB)(),{styles:B}=e.CSS_HACK,[j,H]=s.useState((0,l.D5)()),[W,$]=s.useState((0,l.aV)()),[_,V]=s.useState(0),U=W.slice(0,W.size-_),Y=R(o,U,C,j),[J,X]=s.useState((0,l.l4)()),[q,Q]=s.useState(!1),[ee,te]=s.useState(!1),ae=s.useRef(null),ne=s.useRef(null),[se,oe]=s.useState(!1),[re,le]=s.useState(""),ie=s.useCallback((()=>{const e=ne.current;null!=e&&(se&&e.ownerDocument.activeElement!==e?e.focus():se||e.ownerDocument.activeElement!==e||e.blur())}),[se]),ce=s.useCallback((e=>{oe(e),ie(),n(e)}),[n,ie]);s.useEffect((()=>{ie()}),[ie]);const de=s.useCallback((e=>{$(U.push(e)),V(0)}),[U]),me=s.useRef(!0);s.useLayoutEffect((()=>()=>{me.current&&(me.current=!1)}),[]);const ue=s.useCallback((()=>{const e=o.get(0),t=e?e.pageSize:G,a={type:"addPage",backgroundColor:P.Il.WHITE,pageWidth:t.width,pageHeight:t.height,rotateBy:0};1===J.size?a.afterPageIndex=J.first():a.beforePageIndex=0,de(a),X(J.clear())}),[o,J,de]),pe=s.useCallback((()=>{de({type:"removePages",pageIndexes:J.toArray()}),X(J.clear())}),[de,J]),ge=s.useCallback((()=>{de({type:"duplicatePages",pageIndexes:J.toArray()}),X(J.clear())}),[de,J]),fe=s.useCallback((()=>{de({type:"rotatePages",pageIndexes:J.toArray(),rotateBy:270})}),[de,J]),Pe=s.useCallback((()=>{de({type:"rotatePages",pageIndexes:J.toArray(),rotateBy:90})}),[de,J]),ye=s.useCallback((()=>{ce(!se)}),[se,ce]),ve=s.useCallback((e=>{const t=e.target.value;let a=t;const n=parseInt(t,10);isNaN(n)||(a=Math.min(Math.max(n,0),Y.size).toString()),le(a)}),[Y.size]),be=parseInt(re,10),he=s.useCallback((e=>{let t;return 1===e.size||null==e.sort().find((e=>{let a=!1;return null!=t&&(a=e!==t+1),t=e,a}))}),[]),Ie=s.useCallback(((e,t)=>{const a=null!=t?t:J,n=he(a);return!(a.includes(e-1)||0===e&&n&&a.includes(0)||n&&a.sort().first()===e)}),[J,he]),we=!isNaN(be)&&Ie(be),Ee=s.useCallback(((e,t)=>{const a=null!=t?t:J,n=e-1;de(F({type:"movePages",pageIndexes:a.toArray()},0===e?{beforePageIndex:0}:{afterPageIndex:n}));let s=(0,l.l4)(),o=0;0!==e&&(o=n+1,a.forEach((e=>{e{s=s.add(r),++r})),X(s)}),[J,de,X]),ke=s.useCallback((e=>{e.preventDefault(),we&&(Ee(be),ce(!1))}),[we,be,ce,Ee]),Ne=s.useCallback((e=>{const t=e.target;if(!se||t.classList.contains(B.moveToolbarButton))return;const a=ae.current;(0,d.kG)(null!=a),a.contains(t)||ce(!1)}),[se,ce,B.moveToolbarButton]),De=s.useCallback((()=>{const e=J.sort().toList().map((e=>({type:"movePages",pageIndexes:[e],beforePageIndex:e-1})));de(e),X((0,l.l4)(J.toArray().map((e=>e-1))))}),[de,J]),xe=s.useCallback((()=>{const e=J.sort().toList().map((e=>({type:"movePages",pageIndexes:[e],afterPageIndex:e+1})));de(e),X((0,l.l4)(J.toArray().map((e=>e+1))))}),[de,J]),Se=s.useCallback((()=>{X(J.clear()),V(_+1)}),[J,_]),Ce=s.useCallback((()=>{X(J.clear()),V(_-1)}),[J,_]),Oe=s.useCallback((async()=>{const e={};1===J.size?e.afterPageIndex=J.first():e.beforePageIndex=0;{const t=document.createElement("input");t.type="file",t.accept="application/pdf",t.onclick=e=>{(0,d.kG)(e.target instanceof HTMLInputElement),e.target.value=""},t.onchange=t=>{var a;if((0,d.kG)(t.target instanceof HTMLInputElement),0===(null===(a=t.target.files)||void 0===a?void 0:a.length))return;let n=U;for(const a of t.target.files){if("string"!=typeof a.name||0===a.name.length)return;if("application/pdf"!==a.type)return void(0,d.wp)("The uploaded file must be a PDF.");if(-1!==Y.findIndex((e=>"importedDocument"===e.type&&e.label===a.name)))return;a.arrayBuffer().then((t=>{n=n.push(F({type:"importDocument",treatImportedDocumentAsOnePage:!0,document:new File([t],a.name,{type:a.type,lastModified:a.lastModified})},e)),$(n),V(0),X(J.clear())})).catch((e=>{throw new d.p2(`Could not read the imported file: ${e.message}`)}))}},t.click()}}),[J,j,de,U,Y]),Me=s.useCallback((()=>{X(Y.keySeq().toSet())}),[Y,X]),ze=s.useCallback((()=>{X(J.clear())}),[J,X]),Ae=s.useCallback((e=>{J.has(e)?X(J.delete(e)):X(J.add(e))}),[J,X]),Ke=s.useCallback((()=>{t()}),[t]),Be=s.useCallback((()=>{Q(!0),S((0,g.b_)(U.flatten().toArray(),(()=>{me.current&&Q(!1)}),(e=>{throw me.current&&Q(!1),e})))}),[S,U]),Fe=s.useCallback((async()=>{Q(!0);try{const e=await k.exportPDFWithOperations(U.flatten().toArray().map(y.kg));(0,f.cR)(e,N)}catch(e){throw e}finally{me.current&&Q(!1)}}),[k,U,N]),Ge=(e,t,a,n)=>{const o=Y.get(e);let r;switch((0,d.kG)(null!=o),o.type){case"page":r=s.createElement(u.Z,{key:`page-${o.label}`,page:o.page,size:t,maxSize:a,rotation:o.rotation});break;case"newPage":{const{rotatedWidth:e,rotatedHeight:n}=(0,u.X)(o.size,o.rotation,t,a);r=s.createElement("div",{key:`newPage-${o.label}`,className:B.newPage,style:{width:e,height:n}});break}case"importedDocument":{const{containerWidth:e,containerHeight:l}=(0,u.X)(G,0,t,a);r=s.createElement(L,{width:e,height:l,movePreview:n,key:`importedDoc-${o.label}`,styles:B,formatMessage:C});break}default:r=z||(z=s.createElement(s.Fragment,null)),(0,d.Rz)(o.type)}return{item:r,label:o.label,props:"page"===o.type?{"data-original-page-index":o.page.pageIndex}:{}}},Le=J.size>0&&J.size!==Y.size&&!q,Re=J.size>0&&void 0===J.find((e=>{const t=Y.get(e);return(0,d.kG)(null!=t),"page"!==t.type&&"newPage"!==t.type})),Te=J.size>0&&void 0===J.find((e=>{const t=Y.get(e);return(0,d.kG)(null!=t),"page"!==t.type})),je=!J.isEmpty()&&J.size!==Y.size&&!q,Ze=!J.isEmpty()&&!J.includes(0),He=!J.isEmpty()&&!J.includes(Y.size-1),We=_0,_e=J.size{const e=Ue.current;if(null==e)return;Ye.current||(e.focus(),Ye.current=!0);const t=e=>{if(null!=document.activeElement&&"INPUT"===document.activeElement.tagName)return;if(q)return;const t=e.key.toLowerCase(),a=e.metaKey||e.ctrlKey,n=a&&!e.shiftKey&&!e.altKey,s=e.altKey&&!a&&!e.shiftKey,o=!a&&!e.shiftKey&&!e.altKey;if(e.altKey&&e.shiftKey&&!a&&"arrowleft"===t&&Re)fe();else if(e.altKey&&e.shiftKey&&!a&&"arrowright"===t&&Re)Pe();else if(s&&"arrowleft"===t&&Ze)De();else if(s&&"arrowright"===t&&He)xe();else if(a&&e.shiftKey&&!e.altKey&&"z"===t&&$e)Ce();else if(n&&"z"===t&&We)Se();else if(n&&"a"===t&&_e)Me();else if(n&&"d"===t&&Ve)ze();else if(o&&"n"===t)ue();else if(o&&"d"===t&&Le)pe();else if(o&&"c"===t&&Te)ge();else if(o&&"l"===t&&Re)fe();else if(o&&"r"===t&&Re)Pe();else if(o&&"m"===t&&je)ce(!0);else{if(!o||"i"!==t)return;Oe()}e.preventDefault()};return e.addEventListener("keydown",t),()=>{e.removeEventListener("keydown",t)}}),[Te,je,Ze,He,$e,Le,Re,_e,Ve,We,ue,ge,Oe,De,xe,Ce,pe,fe,Pe,Me,ze,Se,q,ce]);const Je=B.toolbar.toolbarButton,Xe=[{type:"add",onPress:ue,className:Je,disabled:q,children:C(Z.newPage)},{type:"remove",onPress:pe,className:Je,disabled:!Le,children:C(Z.removePage)},{type:"duplicate",onPress:ge,className:Je,children:C(Z.duplicatePage),disabled:!Te||q},{type:"rotate-left",onPress:fe,className:Je,children:C(Z.rotatePageLeft),disabled:!Re||q},{type:"rotate-right",onPress:Pe,className:Je,children:C(Z.rotatePageRight),disabled:!Re||q},{type:"move",onPress:ye,className:r()(Je,B.moveToolbarButton),children:C(Z.openMoveDialog),disabled:!je},{type:"move-left",onPress:De,className:B.toolbar.toolbarButton,children:C(Z.moveBefore),disabled:!Ze||q},{type:"move-right",onPress:xe,className:Je,children:C(Z.moveAfter),disabled:!He||q},{type:"import-document",onPress:Oe,className:Je,children:C(Z.mergeDocument),disabled:q},{type:"spacer"},{type:"undo",onPress:Se,className:Je,children:C(v.Z.undo),disabled:!We||q},{type:"redo",onPress:Ce,className:Je,children:C(v.Z.redo),disabled:!$e||q},{type:"select-all",onPress:Me,className:Je,children:C(Z.selectAll),disabled:!_e},{type:"select-none",onPress:ze,className:Je,children:C(Z.selectNone),disabled:!Ve}],[qe,Qe]=s.useState(Number.POSITIVE_INFINITY),[et,tt]=s.useMemo((()=>qe===Number.POSITIVE_INFINITY?[x,[]]:[x.slice(0,qe),x.slice(qe).filter((e=>"spacer"!==e.type)).map(((e,t)=>({index:t,item:F(F({},e),{},{dropdownGroup:"documentEditor"})})))]),[x,qe]),[at,nt]=s.useState(new P.$u),st=s.useCallback((e=>{nt((t=>(t.width!==e.width&&Qe(Number.POSITIVE_INFINITY),new P.$u({width:e.width,height:e.height}))))}),[nt,Qe]),ot=s.useRef(null);s.useLayoutEffect((()=>{const e=ot.current;if(!e||0===at.width)return;const t=e.children;if(t.length===qe)return;const a=e.ownerDocument.defaultView.getComputedStyle(e);let n=44+(parseInt(a.getPropertyValue("padding-left"))||0)+(parseInt(a.getPropertyValue("padding-right"))||0);const s=[].findIndex.call(t,((e,t)=>"spacer"!==x[t].type&&(n+=e.clientWidth,n>at.width)));Qe(-1===s?Number.POSITIVE_INFINITY:s);e.ownerDocument.defaultView.innerWidth>=p.Fg?te(!0):te(!1)}),[at,qe,Qe,x]);const rt=s.useCallback((e=>{"Escape"===e.key&&se&&(ce(!1),e.stopPropagation())}),[se,ce]),lt=s.useMemo((()=>null!=et.find((e=>"move"===e.type))),[et]),it=s.createElement("div",{className:r()(B.moveDialog,{[B.moveDialogShown]:se,[B.moveDialogDetached]:!lt},"PSPDFKit-DocumentEditor-MoveDialog"),ref:ae},s.createElement("form",{onSubmit:ke,className:B.moveDialogForm},s.createElement("span",{className:B.moveDialogFormLabel},C(Z.insertAfterPage)),s.createElement("input",{className:B.moveDialogFormInput,type:"number",min:"0",max:Y.size,value:re,onChange:ve,ref:ne}),s.createElement(m.zx,{type:"submit",className:B.moveDialogMoveButton,disabled:!we},C(Z.move))),s.createElement("div",{className:B.moveDialogHint},s.createElement("p",{className:B.moveDialogHintText},C(Z.docEditorMoveBeginningHint)))),ct=s.useCallback(((e,t)=>{const a=(0,l.l4)(e);Ie(t,a)&&Ee(t,a)}),[Ee,Ie]);let dt;const mt=se&&!isNaN(be);if(mt){const e=J.toList().sort().map((e=>Ge(e,160,160,!0).item)).toArray(),t=s.createElement(T,{pages:e,style:"straight",styles:B});mt&&(dt=0===be?{previewContent:t,pageIndex:0,position:"left"}:{previewContent:t,pageIndex:be-1,position:"right"},we||(dt.disabled=!0))}const ut=s.useMemo((()=>({cancel:{element:s.createElement(m.zx,null,C(v.Z.cancel)),onPress:Ke,className:"PSPDFKit-DocumentEditor-CancelButton"},"selected-pages":{element:s.createElement("div",null,s.createElement("div",{className:B.pagesSelectedIcon},s.createElement(h.Z,{src:a(26368)})),C(Z.pagesSelected,{arg0:J.size})),className:r()({[B.pagesSelectedIndicator]:!0,[B.pagesSelectedIndicatorShown]:J.size>0,"PSPDFKit-DocumentEditor-PagesSelectedIndicator":!0})},spacer:{element:A||(A=s.createElement("div",null)),className:r()({[B.spacer]:!0,"PSPDFKit-DocumentEditor-Spacer":!0})},"loading-indicator":{element:K||(K=s.createElement(I.Z,null)),hide:!q,className:"PSPDFKit-DocumentEditor-LoadingIndicator"},"save-as":{element:s.createElement(m.zx,null,C(v.Z.saveAs)),onPress:Fe,disabled:q,className:"PSPDFKit-DocumentEditor-SaveAsButton"},save:{element:s.createElement(m.zx,{primary:!0},C(v.Z.save)),disabled:U.isEmpty()||q,onPress:Be,className:"PSPDFKit-DocumentEditor-SaveButton"}})),[B,C,Ke,Fe,Be,q,U,J]),pt=s.useMemo((()=>D.map(((e,t)=>{const{onPress:a,className:n,type:o,node:l,id:i}=e;if((0,d.kG)(o),"custom"===o)return l?s.createElement(E.Z,{className:n,onPress:a?e=>a(e,i):void 0,key:i||t,node:l}):null;{const e=ut[o];return e.hide?null:s.cloneElement(e.element,{onClick:t=>{e.onPress&&e.onPress(t)},key:o,disabled:e.disabled,className:r()(e.className,n)})}}))),[D,ut]);return s.createElement("div",{className:r()(B.docEditor,"PSPDFKit-DocumentEditor"),onClick:Ne,onKeyDown:rt,tabIndex:"-1",ref:Ue},s.createElement("div",{className:r()(B.toolbar.root,B.toolbarRoot,"PSPDFKit-DocumentEditor-Toolbar"),style:{flex:0}},s.createElement("div",{ref:ot,className:B.toolbarContainer},s.createElement(O,{items:et,builtInItems:Xe,moveDialog:it,CSS_HACK:e.CSS_HACK})),s.createElement(M,{builtInItems:Xe,items:tt,CSS_HACK:e.CSS_HACK,frameWindow:N})),s.createElement("div",{className:B.pagesView},s.createElement(w.Z,{onResize:st}),!lt&&it,s.createElement("div",{className:r()(B.pagesGrid,{[B.pagesGridLargeThumbnails]:ee})},s.createElement(b.Z,{canInsert:(e,t)=>Ie(t,(0,l.l4)(e)),totalItems:Y.size,width:at.width,height:at.height,itemScale:e.scale,renderItemCallback:Ge,renderDragPreviewCallback:(e,t,a,n)=>{const o=(0,l.aV)(e).filter((e=>e!==t)).sort().push(t).slice(-5).map((e=>Ge(e,a,n,!0).item)).toArray();return s.createElement(T,{pages:o,style:"straight",styles:B,previewCount:e.length})},onItemPress:Ae,selectedItemIndexes:J,cssPrefix:"PSPDFKit-DocumentEditor",moveCursor:null!=dt?dt:void 0,onItemsMove:se?void 0:ct}))),s.createElement("div",{className:r()(B.bottomBar,"PSPDFKit-DocumentEditor-Footer")},pt))},Z=(0,i.vU)({newPage:{id:"newPage",defaultMessage:"New Page",description:"Add new page"},removePage:{id:"removePage",defaultMessage:"Remove Page",description:"Remove page"},duplicatePage:{id:"duplicatePage",defaultMessage:"Duplicate Page",description:"Duplicate page"},rotatePageLeft:{id:"rotatePageLeft",defaultMessage:"Rotate Page Left",description:"Rotate Page Left"},rotatePageRight:{id:"rotatePageRight",defaultMessage:"Rotate Page Right",description:"Rotate Page Right"},mergeDocument:{id:"mergeDocument",defaultMessage:"Merge Document",description:"Merge Document"},selectAll:{id:"selectAll",defaultMessage:"Select All",description:"Select All Pages"},selectNone:{id:"selectNone",defaultMessage:"Select None",description:"Deselect All Pages"},openMoveDialog:{id:"openMoveDialog",defaultMessage:"Move…",description:"Open dialog for moving pages to specific location in the document"},move:{id:"move",defaultMessage:"Move",description:"Move pages to specific location in the document"},moveBefore:{id:"moveBefore",defaultMessage:"Move Before",description:"Move page before previous one"},moveAfter:{id:"moveAfter",defaultMessage:"Move After",description:"Move page after next one"},documentMergedHere:{id:"documentMergedHere",defaultMessage:"Document will be merged here",description:"Placeholder for the imported document"},pagesSelected:{id:"pagesSelected",defaultMessage:"{arg0, plural,\n =0 {{arg0} Pages}\n one {{arg0} Page}\n two {{arg0} Pages}\n other {{arg0} Pages}\n }",description:"Number of pages selected."},insertAfterPage:{id:"insertAfterPage",defaultMessage:"Insert after page",description:"Move selected pages after designated page index."},docEditorMoveBeginningHint:{id:"docEditorMoveBeginningHint",defaultMessage:"Type “0” to move selected pages to the beginning of the document.",description:"Instructions for how to move pages to the beginning of the document when using the Move button in the Document Editor."}})},33720:(e,t,a)=>{var n={"./add.svg":80353,"./duplicate.svg":21092,"./extract.svg":1749,"./help.svg":56283,"./importDocument.svg":21289,"./move.svg":92531,"./moveLeft.svg":32560,"./moveRight.svg":44390,"./multiplePages.svg":26368,"./redo.svg":44740,"./remove.svg":50245,"./rotateLeft.svg":50012,"./rotateRight.svg":55902,"./selectAll.svg":88695,"./selectNone.svg":80606,"./undo.svg":92570};function s(e){var t=o(e);return a(t)}function o(e){if(!a.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}s.keys=function(){return Object.keys(n)},s.resolve=o,e.exports=s,s.id=33720}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-lazy-e459d8bd-184a69efb12c73a0.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-lazy-e459d8bd-184a69efb12c73a0.js new file mode 100644 index 00000000..f900950b --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-lazy-e459d8bd-184a69efb12c73a0.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[4536],{61529:(t,e,r)=>{r.r(e),r.d(e,{Sha256:()=>s,bytes_to_hex:()=>c});"undefined"==typeof atob||atob,"undefined"==typeof btoa||btoa;function c(t){for(var e="",r=0;r0;)i+=x=n(r,c+i,t,a,f),a+=x,f-=x,c+=x=e.process(c,i),(i-=x)||(c=0);return this.pos=c,this.len=i,this},t.prototype.finish=function(){if(null!==this.result)throw new o("state must be reset before processing new data");return this.asm.finish(this.pos,this.len,0),this.result=new Uint8Array(this.HASH_SIZE),this.result.set(this.heap.subarray(0,this.HASH_SIZE)),this.pos=0,this.len=0,this},t}()),x=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function c(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(c.prototype=r.prototype,new c)}}(),s=function(t){function e(){var e=t.call(this)||this;return e.NAME="sha256",e.BLOCK_SIZE=64,e.HASH_SIZE=32,e.heap=function(t,e){var r=t?t.byteLength:e||65536;if(4095&r||r<=0)throw new Error("heap size must be a positive integer and a multiple of 4096");return t||new Uint8Array(new ArrayBuffer(r))}(),e.asm=function(t,e,r){"use asm";var c=0,n=0,i=0,a=0,o=0,f=0,x=0,s=0,u=0,h=0,b=0,p=0,l=0,y=0,d=0,_=0,v=0,w=0,g=0,m=0,E=0,A=0,S=0,O=0,P=0,j=0,k=new t.Uint8Array(r);function H(t,e,r,u,h,b,p,l,y,d,_,v,w,g,m,E){t=t|0;e=e|0;r=r|0;u=u|0;h=h|0;b=b|0;p=p|0;l=l|0;y=y|0;d=d|0;_=_|0;v=v|0;w=w|0;g=g|0;m=m|0;E=E|0;var A=0,S=0,O=0,P=0,j=0,k=0,H=0,I=0;A=c;S=n;O=i;P=a;j=o;k=f;H=x;I=s;I=t+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0x428a2f98|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;H=e+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0x71374491|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;k=r+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0xb5c0fbcf|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;j=u+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0xe9b5dba5|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;P=h+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0x3956c25b|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;O=b+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0x59f111f1|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;S=p+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0x923f82a4|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;A=l+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0xab1c5ed5|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;I=y+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0xd807aa98|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;H=d+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0x12835b01|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;k=_+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0x243185be|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;j=v+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0x550c7dc3|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;P=w+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0x72be5d74|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;O=g+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0x80deb1fe|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;S=m+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0x9bdc06a7|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;A=E+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0xc19bf174|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;t=(e>>>7^e>>>18^e>>>3^e<<25^e<<14)+(m>>>17^m>>>19^m>>>10^m<<15^m<<13)+t+d|0;I=t+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0xe49b69c1|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;e=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(E>>>17^E>>>19^E>>>10^E<<15^E<<13)+e+_|0;H=e+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0xefbe4786|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;r=(u>>>7^u>>>18^u>>>3^u<<25^u<<14)+(t>>>17^t>>>19^t>>>10^t<<15^t<<13)+r+v|0;k=r+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0x0fc19dc6|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;u=(h>>>7^h>>>18^h>>>3^h<<25^h<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+u+w|0;j=u+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0x240ca1cc|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;h=(b>>>7^b>>>18^b>>>3^b<<25^b<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+h+g|0;P=h+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0x2de92c6f|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;b=(p>>>7^p>>>18^p>>>3^p<<25^p<<14)+(u>>>17^u>>>19^u>>>10^u<<15^u<<13)+b+m|0;O=b+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0x4a7484aa|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;p=(l>>>7^l>>>18^l>>>3^l<<25^l<<14)+(h>>>17^h>>>19^h>>>10^h<<15^h<<13)+p+E|0;S=p+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0x5cb0a9dc|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;l=(y>>>7^y>>>18^y>>>3^y<<25^y<<14)+(b>>>17^b>>>19^b>>>10^b<<15^b<<13)+l+t|0;A=l+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0x76f988da|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;y=(d>>>7^d>>>18^d>>>3^d<<25^d<<14)+(p>>>17^p>>>19^p>>>10^p<<15^p<<13)+y+e|0;I=y+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0x983e5152|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;d=(_>>>7^_>>>18^_>>>3^_<<25^_<<14)+(l>>>17^l>>>19^l>>>10^l<<15^l<<13)+d+r|0;H=d+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0xa831c66d|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;_=(v>>>7^v>>>18^v>>>3^v<<25^v<<14)+(y>>>17^y>>>19^y>>>10^y<<15^y<<13)+_+u|0;k=_+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0xb00327c8|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;v=(w>>>7^w>>>18^w>>>3^w<<25^w<<14)+(d>>>17^d>>>19^d>>>10^d<<15^d<<13)+v+h|0;j=v+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0xbf597fc7|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;w=(g>>>7^g>>>18^g>>>3^g<<25^g<<14)+(_>>>17^_>>>19^_>>>10^_<<15^_<<13)+w+b|0;P=w+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0xc6e00bf3|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;g=(m>>>7^m>>>18^m>>>3^m<<25^m<<14)+(v>>>17^v>>>19^v>>>10^v<<15^v<<13)+g+p|0;O=g+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0xd5a79147|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;m=(E>>>7^E>>>18^E>>>3^E<<25^E<<14)+(w>>>17^w>>>19^w>>>10^w<<15^w<<13)+m+l|0;S=m+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0x06ca6351|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;E=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(g>>>17^g>>>19^g>>>10^g<<15^g<<13)+E+y|0;A=E+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0x14292967|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;t=(e>>>7^e>>>18^e>>>3^e<<25^e<<14)+(m>>>17^m>>>19^m>>>10^m<<15^m<<13)+t+d|0;I=t+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0x27b70a85|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;e=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(E>>>17^E>>>19^E>>>10^E<<15^E<<13)+e+_|0;H=e+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0x2e1b2138|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;r=(u>>>7^u>>>18^u>>>3^u<<25^u<<14)+(t>>>17^t>>>19^t>>>10^t<<15^t<<13)+r+v|0;k=r+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0x4d2c6dfc|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;u=(h>>>7^h>>>18^h>>>3^h<<25^h<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+u+w|0;j=u+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0x53380d13|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;h=(b>>>7^b>>>18^b>>>3^b<<25^b<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+h+g|0;P=h+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0x650a7354|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;b=(p>>>7^p>>>18^p>>>3^p<<25^p<<14)+(u>>>17^u>>>19^u>>>10^u<<15^u<<13)+b+m|0;O=b+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0x766a0abb|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;p=(l>>>7^l>>>18^l>>>3^l<<25^l<<14)+(h>>>17^h>>>19^h>>>10^h<<15^h<<13)+p+E|0;S=p+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0x81c2c92e|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;l=(y>>>7^y>>>18^y>>>3^y<<25^y<<14)+(b>>>17^b>>>19^b>>>10^b<<15^b<<13)+l+t|0;A=l+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0x92722c85|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;y=(d>>>7^d>>>18^d>>>3^d<<25^d<<14)+(p>>>17^p>>>19^p>>>10^p<<15^p<<13)+y+e|0;I=y+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0xa2bfe8a1|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;d=(_>>>7^_>>>18^_>>>3^_<<25^_<<14)+(l>>>17^l>>>19^l>>>10^l<<15^l<<13)+d+r|0;H=d+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0xa81a664b|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;_=(v>>>7^v>>>18^v>>>3^v<<25^v<<14)+(y>>>17^y>>>19^y>>>10^y<<15^y<<13)+_+u|0;k=_+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0xc24b8b70|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;v=(w>>>7^w>>>18^w>>>3^w<<25^w<<14)+(d>>>17^d>>>19^d>>>10^d<<15^d<<13)+v+h|0;j=v+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0xc76c51a3|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;w=(g>>>7^g>>>18^g>>>3^g<<25^g<<14)+(_>>>17^_>>>19^_>>>10^_<<15^_<<13)+w+b|0;P=w+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0xd192e819|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;g=(m>>>7^m>>>18^m>>>3^m<<25^m<<14)+(v>>>17^v>>>19^v>>>10^v<<15^v<<13)+g+p|0;O=g+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0xd6990624|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;m=(E>>>7^E>>>18^E>>>3^E<<25^E<<14)+(w>>>17^w>>>19^w>>>10^w<<15^w<<13)+m+l|0;S=m+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0xf40e3585|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;E=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(g>>>17^g>>>19^g>>>10^g<<15^g<<13)+E+y|0;A=E+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0x106aa070|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;t=(e>>>7^e>>>18^e>>>3^e<<25^e<<14)+(m>>>17^m>>>19^m>>>10^m<<15^m<<13)+t+d|0;I=t+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0x19a4c116|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;e=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(E>>>17^E>>>19^E>>>10^E<<15^E<<13)+e+_|0;H=e+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0x1e376c08|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;r=(u>>>7^u>>>18^u>>>3^u<<25^u<<14)+(t>>>17^t>>>19^t>>>10^t<<15^t<<13)+r+v|0;k=r+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0x2748774c|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;u=(h>>>7^h>>>18^h>>>3^h<<25^h<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+u+w|0;j=u+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0x34b0bcb5|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;h=(b>>>7^b>>>18^b>>>3^b<<25^b<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+h+g|0;P=h+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0x391c0cb3|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;b=(p>>>7^p>>>18^p>>>3^p<<25^p<<14)+(u>>>17^u>>>19^u>>>10^u<<15^u<<13)+b+m|0;O=b+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0x4ed8aa4a|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;p=(l>>>7^l>>>18^l>>>3^l<<25^l<<14)+(h>>>17^h>>>19^h>>>10^h<<15^h<<13)+p+E|0;S=p+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0x5b9cca4f|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;l=(y>>>7^y>>>18^y>>>3^y<<25^y<<14)+(b>>>17^b>>>19^b>>>10^b<<15^b<<13)+l+t|0;A=l+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0x682e6ff3|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;y=(d>>>7^d>>>18^d>>>3^d<<25^d<<14)+(p>>>17^p>>>19^p>>>10^p<<15^p<<13)+y+e|0;I=y+I+(j>>>6^j>>>11^j>>>25^j<<26^j<<21^j<<7)+(H^j&(k^H))+0x748f82ee|0;P=P+I|0;I=I+(A&S^O&(A^S))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;d=(_>>>7^_>>>18^_>>>3^_<<25^_<<14)+(l>>>17^l>>>19^l>>>10^l<<15^l<<13)+d+r|0;H=d+H+(P>>>6^P>>>11^P>>>25^P<<26^P<<21^P<<7)+(k^P&(j^k))+0x78a5636f|0;O=O+H|0;H=H+(I&A^S&(I^A))+(I>>>2^I>>>13^I>>>22^I<<30^I<<19^I<<10)|0;_=(v>>>7^v>>>18^v>>>3^v<<25^v<<14)+(y>>>17^y>>>19^y>>>10^y<<15^y<<13)+_+u|0;k=_+k+(O>>>6^O>>>11^O>>>25^O<<26^O<<21^O<<7)+(j^O&(P^j))+0x84c87814|0;S=S+k|0;k=k+(H&I^A&(H^I))+(H>>>2^H>>>13^H>>>22^H<<30^H<<19^H<<10)|0;v=(w>>>7^w>>>18^w>>>3^w<<25^w<<14)+(d>>>17^d>>>19^d>>>10^d<<15^d<<13)+v+h|0;j=v+j+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(P^S&(O^P))+0x8cc70208|0;A=A+j|0;j=j+(k&H^I&(k^H))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;w=(g>>>7^g>>>18^g>>>3^g<<25^g<<14)+(_>>>17^_>>>19^_>>>10^_<<15^_<<13)+w+b|0;P=w+P+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(O^A&(S^O))+0x90befffa|0;I=I+P|0;P=P+(j&k^H&(j^k))+(j>>>2^j>>>13^j>>>22^j<<30^j<<19^j<<10)|0;g=(m>>>7^m>>>18^m>>>3^m<<25^m<<14)+(v>>>17^v>>>19^v>>>10^v<<15^v<<13)+g+p|0;O=g+O+(I>>>6^I>>>11^I>>>25^I<<26^I<<21^I<<7)+(S^I&(A^S))+0xa4506ceb|0;H=H+O|0;O=O+(P&j^k&(P^j))+(P>>>2^P>>>13^P>>>22^P<<30^P<<19^P<<10)|0;m=(E>>>7^E>>>18^E>>>3^E<<25^E<<14)+(w>>>17^w>>>19^w>>>10^w<<15^w<<13)+m+l|0;S=m+S+(H>>>6^H>>>11^H>>>25^H<<26^H<<21^H<<7)+(A^H&(I^A))+0xbef9a3f7|0;k=k+S|0;S=S+(O&P^j&(O^P))+(O>>>2^O>>>13^O>>>22^O<<30^O<<19^O<<10)|0;E=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(g>>>17^g>>>19^g>>>10^g<<15^g<<13)+E+y|0;A=E+A+(k>>>6^k>>>11^k>>>25^k<<26^k<<21^k<<7)+(I^k&(H^I))+0xc67178f2|0;j=j+A|0;A=A+(S&O^P&(S^O))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;c=c+A|0;n=n+S|0;i=i+O|0;a=a+P|0;o=o+j|0;f=f+k|0;x=x+H|0;s=s+I|0}function I(t){t=t|0;H(k[t|0]<<24|k[t|1]<<16|k[t|2]<<8|k[t|3],k[t|4]<<24|k[t|5]<<16|k[t|6]<<8|k[t|7],k[t|8]<<24|k[t|9]<<16|k[t|10]<<8|k[t|11],k[t|12]<<24|k[t|13]<<16|k[t|14]<<8|k[t|15],k[t|16]<<24|k[t|17]<<16|k[t|18]<<8|k[t|19],k[t|20]<<24|k[t|21]<<16|k[t|22]<<8|k[t|23],k[t|24]<<24|k[t|25]<<16|k[t|26]<<8|k[t|27],k[t|28]<<24|k[t|29]<<16|k[t|30]<<8|k[t|31],k[t|32]<<24|k[t|33]<<16|k[t|34]<<8|k[t|35],k[t|36]<<24|k[t|37]<<16|k[t|38]<<8|k[t|39],k[t|40]<<24|k[t|41]<<16|k[t|42]<<8|k[t|43],k[t|44]<<24|k[t|45]<<16|k[t|46]<<8|k[t|47],k[t|48]<<24|k[t|49]<<16|k[t|50]<<8|k[t|51],k[t|52]<<24|k[t|53]<<16|k[t|54]<<8|k[t|55],k[t|56]<<24|k[t|57]<<16|k[t|58]<<8|k[t|59],k[t|60]<<24|k[t|61]<<16|k[t|62]<<8|k[t|63])}function U(t){t=t|0;k[t|0]=c>>>24;k[t|1]=c>>>16&255;k[t|2]=c>>>8&255;k[t|3]=c&255;k[t|4]=n>>>24;k[t|5]=n>>>16&255;k[t|6]=n>>>8&255;k[t|7]=n&255;k[t|8]=i>>>24;k[t|9]=i>>>16&255;k[t|10]=i>>>8&255;k[t|11]=i&255;k[t|12]=a>>>24;k[t|13]=a>>>16&255;k[t|14]=a>>>8&255;k[t|15]=a&255;k[t|16]=o>>>24;k[t|17]=o>>>16&255;k[t|18]=o>>>8&255;k[t|19]=o&255;k[t|20]=f>>>24;k[t|21]=f>>>16&255;k[t|22]=f>>>8&255;k[t|23]=f&255;k[t|24]=x>>>24;k[t|25]=x>>>16&255;k[t|26]=x>>>8&255;k[t|27]=x&255;k[t|28]=s>>>24;k[t|29]=s>>>16&255;k[t|30]=s>>>8&255;k[t|31]=s&255}function Z(){c=0x6a09e667;n=0xbb67ae85;i=0x3c6ef372;a=0xa54ff53a;o=0x510e527f;f=0x9b05688c;x=0x1f83d9ab;s=0x5be0cd19;u=h=0}function C(t,e,r,b,p,l,y,d,_,v){t=t|0;e=e|0;r=r|0;b=b|0;p=p|0;l=l|0;y=y|0;d=d|0;_=_|0;v=v|0;c=t;n=e;i=r;a=b;o=p;f=l;x=y;s=d;u=_;h=v}function K(t,e){t=t|0;e=e|0;var r=0;if(t&63)return-1;while((e|0)>=64){I(t);t=t+64|0;e=e-64|0;r=r+64|0}u=u+r|0;if(u>>>0>>0)h=h+1|0;return r|0}function B(t,e,r){t=t|0;e=e|0;r=r|0;var c=0,n=0;if(t&63)return-1;if(~r)if(r&31)return-1;if((e|0)>=64){c=K(t,e)|0;if((c|0)==-1)return-1;t=t+c|0;e=e-c|0}c=c+e|0;u=u+e|0;if(u>>>0>>0)h=h+1|0;k[t|e]=0x80;if((e|0)>=56){for(n=e+1|0;(n|0)<64;n=n+1|0)k[t|n]=0x00;I(t);e=0;k[t|0]=0}for(n=e+1|0;(n|0)<59;n=n+1|0)k[t|n]=0;k[t|56]=h>>>21&255;k[t|57]=h>>>13&255;k[t|58]=h>>>5&255;k[t|59]=h<<3&255|u>>>29;k[t|60]=u>>>21&255;k[t|61]=u>>>13&255;k[t|62]=u>>>5&255;k[t|63]=u<<3&255;I(t);if(~r)U(r);return c|0}function D(){c=b;n=p;i=l;a=y;o=d;f=_;x=v;s=w;u=64;h=0}function F(){c=g;n=m;i=E;a=A;o=S;f=O;x=P;s=j;u=64;h=0}function L(t,e,r,k,I,U,C,K,B,D,F,L,M,N,z,q){t=t|0;e=e|0;r=r|0;k=k|0;I=I|0;U=U|0;C=C|0;K=K|0;B=B|0;D=D|0;F=F|0;L=L|0;M=M|0;N=N|0;z=z|0;q=q|0;Z();H(t^0x5c5c5c5c,e^0x5c5c5c5c,r^0x5c5c5c5c,k^0x5c5c5c5c,I^0x5c5c5c5c,U^0x5c5c5c5c,C^0x5c5c5c5c,K^0x5c5c5c5c,B^0x5c5c5c5c,D^0x5c5c5c5c,F^0x5c5c5c5c,L^0x5c5c5c5c,M^0x5c5c5c5c,N^0x5c5c5c5c,z^0x5c5c5c5c,q^0x5c5c5c5c);g=c;m=n;E=i;A=a;S=o;O=f;P=x;j=s;Z();H(t^0x36363636,e^0x36363636,r^0x36363636,k^0x36363636,I^0x36363636,U^0x36363636,C^0x36363636,K^0x36363636,B^0x36363636,D^0x36363636,F^0x36363636,L^0x36363636,M^0x36363636,N^0x36363636,z^0x36363636,q^0x36363636);b=c;p=n;l=i;y=a;d=o;_=f;v=x;w=s;u=64;h=0}function M(t,e,r){t=t|0;e=e|0;r=r|0;var u=0,h=0,b=0,p=0,l=0,y=0,d=0,_=0,v=0;if(t&63)return-1;if(~r)if(r&31)return-1;v=B(t,e,-1)|0;u=c,h=n,b=i,p=a,l=o,y=f,d=x,_=s;F();H(u,h,b,p,l,y,d,_,0x80000000,0,0,0,0,0,0,768);if(~r)U(r);return v|0}function N(t,e,r,u,h){t=t|0;e=e|0;r=r|0;u=u|0;h=h|0;var b=0,p=0,l=0,y=0,d=0,_=0,v=0,w=0,g=0,m=0,E=0,A=0,S=0,O=0,P=0,j=0;if(t&63)return-1;if(~h)if(h&31)return-1;k[t+e|0]=r>>>24;k[t+e+1|0]=r>>>16&255;k[t+e+2|0]=r>>>8&255;k[t+e+3|0]=r&255;M(t,e+4|0,-1)|0;b=g=c,p=m=n,l=E=i,y=A=a,d=S=o,_=O=f,v=P=x,w=j=s;u=u-1|0;while((u|0)>0){D();H(g,m,E,A,S,O,P,j,0x80000000,0,0,0,0,0,0,768);g=c,m=n,E=i,A=a,S=o,O=f,P=x,j=s;F();H(g,m,E,A,S,O,P,j,0x80000000,0,0,0,0,0,0,768);g=c,m=n,E=i,A=a,S=o,O=f,P=x,j=s;b=b^c;p=p^n;l=l^i;y=y^a;d=d^o;_=_^f;v=v^x;w=w^s;u=u-1|0}c=b;n=p;i=l;a=y;o=d;f=_;x=v;s=w;if(~h)U(h);return 0}return{reset:Z,init:C,process:K,finish:B,hmac_reset:D,hmac_init:L,hmac_finish:M,pbkdf2_generate_block:N}}({Uint8Array},null,e.heap.buffer),e.reset(),e}return x(e,t),e.NAME="sha256",e}(f)}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-cs-e4d3bdc743ca6596.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-cs-e4d3bdc743ca6596.js new file mode 100644 index 00000000..fc234d95 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-cs-e4d3bdc743ca6596.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[3579],{46984:e=>{e.exports=JSON.parse('{"thumbnails":"Ikony","pageXofY":"Strana {arg0} z {arg1}","XofY":"{arg0} z {arg1}","prevPage":"Předchozí strana","nextPage":"Další stránka","goToPage":"Přejít na stranu","gotoPageX":"Přejít na stranu {arg0}","pageX":"Stránka {arg0}","pageLayout":"Rozvržení stránky","pageMode":"Režim stránek","pageModeSingle":"Jedna stránka","pageModeDouble":"Dvě stránky","pageModeAutomatic":"Automatický","pageTransition":"Přechod stránky","pageTransitionContinuous":"Souvisle","pageTransitionJump":"Přeskočit","pageRotation":"Rotace stránky","pageRotationLeft":"Otočit doleva","pageRotationRight":"Otočit doprava","zoomIn":"Zvětšit","zoomOut":"Zmenšit","marqueeZoom":"Obdélníkový nástroj pro zvětšení","panMode":"Způsob pohybu","fitPage":"Přizpůsobit stránce","fitWidth":"Přizpůsobit šířce","annotations":"Anotace","noAnnotations":"Žádné anotace","bookmark":"Záložka","bookmarks":"Záložky","noBookmarks":"Žádné záložky","newBookmark":"Nová záložka","addBookmark":"Přidat záložku","removeBookmark":"Odstranit záložku","loadingBookmarks":"Načítají se záložky","deleteBookmarkConfirmMessage":"Opravdu chcete tuto záložku smazat?","deleteBookmarkConfirmAccessibilityLabel":"Potvrďte odstranění záložky","annotation":"Anotace","noteAnnotation":"Poznámka","textAnnotation":"Zpráva","inkAnnotation":"Kreslení","highlightAnnotation":"Zvýraznění textu","underlineAnnotation":"Podtržení","squiggleAnnotation":"Klikyhák","strikeOutAnnotation":"Přeškrtnout","print":"Tisk","printPrepare":"Příprava dokumentu na tisk…","searchDocument":"Hledat v dokumentu","searchPreviousMatch":"Předchozí","searchNextMatch":"Dále","searchResultOf":"{arg0} z {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} nástroje, otevřít menu","save":"Uložit","edit":"Úpravy","delete":"Smazat","close":"Zavřít","cancel":"Zrušit","ok":"Přejít","done":"Hotovo","clear":"Smazat","date":"Datum","time":"Čas","name":"Název","color":"Barva","black":"Černá","white":"Bílá","blue":"Modrá","red":"Červená","green":"Zelená","orange":"Oranžová","lightOrange":"Světle oranžová","yellow":"Žlutá","lightYellow":"Světle žlutá","lightBlue":"Světle modrá","lightRed":"Světle červená","lightGreen":"Světle zelená","fuchsia":"Fuchsia","purple":"Fialová","pink":"Růžová","mauve":"Nafialovělá","lightGrey":"Světle šedá","grey":"Šedá","darkGrey":"Tmavě šedá","noColor":"Není","transparent":"Průhledná","darkBlue":"Tmavě modrá","opacity":"Neprůhlednost","thickness":"Tloušťka","size":"Velikost","numberInPt":"{arg0} pt","font":"Písmo","fonts":"Písma","allFonts":"Všechny fonty","alignment":"Zarovnání","alignmentLeft":"Vlevo","alignmentRight":"Vpravo","alignmentCenter":"Uprostřed","verticalAlignment":"Vertikální zarovnání","horizontalAlignment":"Horizontální zarovnání","top":"Nahoru","bottom":"Dole","deleteAnnotationConfirmMessage":"Opravdu chcete odstranit tuto anotaci?","deleteAnnotationConfirmAccessibilityLabel":"Potvrďte vymazání anotace","fontFamilyUnsupported":"{arg0} (není podporováno)","sign":"Podepsat","signed":"Podepsáno","signatures":"Podpisy","addSignature":"Přidat podpis","clearSignature":"Smazat podpis","storeSignature":"Uložit podpis","pleaseSignHere":"Podepište zde","signing":"Podepisuji…","password":"Heslo","unlock":"Odemknout","passwordRequired":"Vyžadováno heslo","unlockThisDocument":"Tento dokument musíte odemknout, abyste jej mohli zobrazit. Zadejte heslo do níže uvedeného pole.","incorrectPassword":"Zadané heslo není správné. Prosím zkuste to znovu.","blendMode":"Mód míchání","normal":"Normální","multiply":"Vynásobit","screenBlend":"Clona","overlay":"Překrýt","darken":"Ztmavit","lighten":"Zesvětlit","colorDodge":"Zesvětlit barvy","colorBurn":"Stmavit barvy","hardLight":"Tvrdé světlo","softLight":"Měkké světlo","difference":"Rozdíl","exclusion":"Vyloučit","multiple":"Násobek","linecaps-dasharray":"Styl čáry","dasharray":"Styl čáry","startLineCap":"Začátek čáry","strokeDashArray":"Styl čáry","endLineCap":"Konec čáry","lineAnnotation":"Čára","rectangleAnnotation":"Obdélník","ellipseAnnotation":"Elipsa","polygonAnnotation":"Mnohoúhelník","polylineAnnotation":"Lomená čára","solid":"Pevný","narrowDots":"Úzké tečky","wideDots":"Široké tečky","narrowDashes":"Úzké pomlčky","wideDashes":"Široké pomlčky","none":"Není","square":"Čtverec","circle":"Kruh","diamond":"Kosočtverec","openArrow":"Otevřená šipka","closedArrow":"Zavřená šipka","butt":"Zakončení","reverseOpenArrow":"Obrácená otevřená šipka","reverseClosedArrow":"Obrácená uzavřená šipka","slash":"Seknutí","fillColor":"Barva výplně","cloudy":"Obláček","arrow":"Šipka","filePath":"Cesta k souboru","unsupportedImageFormat":"Nepodporovaný formát pro obrázkovou anotaci: {arg0}. Použite soubory formátu JPEG nebo PNG.","noOutline":"Žádný obsah","outline":"Obsah","imageAnnotation":"Obrázek","selectImage":"Vybrat obrázek","stampAnnotation":"Razítko","highlighter":"Zvýrazňovač","textHighlighter":"Zvýrazňovač textu","pen":"Kreslení","eraser":"Guma","export":"Exportovat","useAnExistingStampDesign":"Použít stávající návrh razítka","createStamp":"Vytvořit razítko","stampText":"Text razítka","chooseColor":"Zvolte barvu","rejected":"Odmítnuto","accepted":"Přijato","approved":"Schváleno","notApproved":"Neschváleno","draft":"Koncept","final":"Konečný","completed":"Dokončeno","confidential":"Tajné","forPublicRelease":"Pro veřejné vydání","notForPublicRelease":"Ne pro veřejné vydání","forComment":"Pro komentář","void":"Neplatný","preliminaryResults":"Předběžné výsledky","informationOnly":"Pouze informace","initialHere":"Iniciály zde","signHere":"Podepište zde","witness":"Svědek","asIs":"Zachovat","departmental":"Resortní","experimental":"Experimentální","expired":"Platnost vypršela","sold":"Prodáno","topSecret":"Přísně tajné","revised":"Revidováno","custom":"Vlastní","customStamp":"Vlastní razítko","icon":"Ikona","iconRightPointer":"Pravý ukazatel","iconRightArrow":"Pravá šipka","iconCheck":"Fajka","iconCircle":"Elipsa","iconCross":"Kříž","iconInsert":"Vložit text","iconNewParagraph":"Nový odstavec","iconNote":"Textová poznámka","iconComment":"Komentář","iconParagraph":"Odstavec","iconHelp":"Pomoc","iconStar":"Hvězda","iconKey":"Klíč","documentEditor":"Editor dokumentů","newPage":"Nová strana","removePage":"Smazat strany","duplicatePage":"Duplikovat","rotatePageLeft":"Otočit doleva","rotatePageRight":"Otočit doprava","moveBefore":"Přesunout před","moveAfter":"Přesunout za","selectNone":"Zrušit výběr","selectAll":"Vybrat vše","saveAs":"Uložit jako…","mergeDocument":"Importovat dokument","undo":"Zrušit","redo":"Opakovat","openMoveDialog":"Přesunout","move":"Přesunout","instantModifiedWarning":"Dokument byl upraven a nyní je v režimu pouze pro čtení. Chcete-li to opravit, načtěte jej znovu.","documentMergedHere":"Dokument bude sloučen zde","digitalSignaturesAllValid":"Dokument byl digitálně podepsán a všechny podpisy jsou platné.","digitalSignaturesDocModified":"Dokument byl digitálně podepsán, ale od podpisu byl upraven.","digitalSignaturesSignatureWarning":"Dokument byl digitálně podepsán, ale alespoň jeden podpis má problémy.","digitalSignaturesSignatureWarningDocModified":"Dokument byl digitálně podepsán, ale od podpisu byl změněn a alespoň jeden podpis má problémy.","digitalSignaturesSignatureError":"Dokument byl digitálně podepsán, ale alespoň jeden podpis je neplatný.","digitalSignaturesSignatureErrorDocModified":"Dokument byl digitálně podepsán, ale od podpisu byl změněn a alespoň jeden podpis je neplatný.","signingInProgress":"Probíhá podepisování","signingModalDesc":"Označuje, že probíhá podepisovaní aktuálního dokumentu","discardChanges":"Zrušit změny","commentEditorLabel":"Přidat komentář…","reply":"Odpovědět","comment":"Komentář","comments":"Komentáře","showMore":"Zobrazit více","showLess":"Zobrazit méně","deleteComment":"Odstránit komentář","deleteCommentConfirmMessage":"Opravdu chcete smazat tento komentář?","deleteCommentConfirmAccessibilityLabel":"Potvrďte odstranění komentáře","editContent":"Upravit obsah","commentOptions":"Možnosti komentáře","areaRedaction":"Redakce oblasti","textRedaction":"Redakce textu","redactionAnnotation":"Redakce","applyingRedactions":"Aplikuji redakce","overlayTextPlaceholder":"Vložit překryvný text","outlineColor":"Farba obrysu","overlayText":"Prekrývající text","repeatText":"Opakovat text","preview":"Ukázka","applyRedactions":"Aplikovat redakce","markupAnnotationToolbar":"Panel nástrojů textových anotací","documentViewport":"Oblast dokumentu","redactionInProgress":"Probíhá redakce","redactionModalDesc":"Označuje, že aktuální dokument je právě redigován","commentAction":"Komentovat","printProgressModalDesc":"Označuje, že dokument se připravuje k tisku","printProgressModal":"Probíhá tisk","documentEditorDesc":"Proveďte změny v aktuálním dokumentu","reloadDocumentDialog":"Potvrďte opětovné načtení dokumentu","reloadDocumentDialogDesc":"Dialog vyzývající uživatele k potvrzení opětovného načtení dokumentu.","signatureDialog":"Podpis","signatureDialogDesc":"Toto dialogové okno umožňuje vybrat podpis, který se má vložit do dokumentu. Pokud nemáte uložené podpisy, můžete je vytvořit pomocí plochy pro kreslení.","stampAnnotationTemplatesDialog":"Šablony anotací razítka","stampAnnotationTemplatesDialogDesc":"Toto dialogové okno umožňuje vybrat anotaci razítka, kterou chcete vložit do dokumentu, nebo vytvořit vlastní anotaci razítka s vlastním textem.","selectedAnnotation":"Vybraná {arg0}","commentThread":"Vlákno komentářů","selectedAnnotationWithText":"Vybraná {arg0} s obsahom {arg1}","signature":"Podpis","ElectronicSignatures_SignHereTypeHint":"Zadejte svůj podpis","ElectronicSignatures_SignHereDrawHint":"Podepište zde","selectDragImage":"Vyberte nebo přetáhněte obrázek","replaceImage":"Nahradit obrázek","draw":"Kreslit","image":"Obrázek","type":"Psát","saveSignature":"Uložit podpis","loading":"Načítání","selectedItem":"Vybráno: {arg0}","annotationDeleted":"Anotace smazaná.","newAnnotationCreated":"Vytvořená nová {arg0} anotace.","bookmarkCreated":"Záložka vytvořená.","bookmarkEdited":"Záložka editovaná.","bookmarkDeleted":"Záložka smazaná.","cancelledEditingBookmark":"Zrušena úprava záložky.","selectAFileForImage":"Vyberte soubor pro novou obrázkovou anotaci.","deleteAnnotationConfirmAccessibilityDescription":"Dialog umožňující potvrdit odstranění anotace.","deleteBookmarkConfirmAccessibilityDescription":"Dialog umožňující potvrdit odstranění záložky.","deleteCommentConfirmAccessibilityDescription":"Dialog umožňující potvrdit odstranění komentáře.","resize":"Změnit velikost","resizeHandleTop":"Vrch","resizeHandleBottom":"Spodek","resizeHandleRight":"Vpravo","resizeHandleLeft":"Vlevo","cropCurrentPage":"Oříznout aktuální stranu","cropCurrent":"Oříznout aktuální stranu","cropAllPages":"Oříznout všechny stranu","cropAll":"Oříznout vše","documentCrop":"Oříznutí dokumentů","Comparison_alignButtonTouch":"Zarovnat","Comparison_selectPoint":"Vyberte bod","Comparison_documentOldTouch":"Starý","Comparison_documentNewTouch":"Nový","Comparison_result":"Srovnání","UserHint_description":"Vyberte tři body na obou dokumentech pro ruční zarovnání. Pro dosažení nejlepších výsledků vyberte body v blízkosti rohů dokumentů ve stejném pořadí na obou dokumentech.","UserHint_dismissMessage":"Zrušit","Comparison_alignButton":"Zarovnat dokumenty","documentComparison":"Porovnání dokumentů","Comparison_documentOld":"Starý dokument","Comparison_documentNew":"Nový dokument","Comparison_resetButton":"Resetovat","UserHint_Select":"Výběr bodů","numberValidationBadFormat":"Zadaná hodnota neodpovídá formátu pole [{arg0}]","dateValidationBadFormat":"Neplatný datum/čas: ujistěte se, že datum/čas existuje. Pole [{arg0}] by mělo mít formát {arg1}","insertAfterPage":"Vložit za stranu","docEditorMoveBeginningHint":"Zadejte “0” pro přesunutí vybrané stránky/stránek na začátek dokumentu.","cloudyRectangleAnnotation":"Obdélníkový obláček","dashedRectangleAnnotation":"Čárkovaný obdélník","cloudyEllipseAnnotation":"Eliptický obláček","dashedEllipseAnnotation":"Čárkovaná elipsa","cloudyPolygonAnnotation":"Polygonální obláček","dashedPolygonAnnotation":"Čárkovaný polygon","cloudAnnotation":"Obláček","rotateCounterclockwise":"Otočit proti směru hodinových ručiček","rotateClockwise":"Otočit po směru hodinových ručiček","enterDescriptionHere":"Zadejte popis","addOption":"Přidat volbu","formDesignerPopoverTitle":"Vlastnosti pro {formFieldType}","formFieldNameExists":"Pole s názvem {formfieldName} již existuje. Vyberte si prosím jiné jméno.","styleSectionLabel":"Styl pro {formFieldType}","formFieldName":"Název pole","defaultValue":"Výchozí hodnota","multiLine":"Víceřádkový text","radioButtonFormFieldNameWarning":"Chcete-li seskupit přepínače, přiřaďte všem stejné jméno.","advanced":"Pokročilé","creatorName":"Jméno tvůrce","note":"Poznámka","customData":"Vlastní údaje","required":"Povinné","readOnly":"Pouze čtení","createdAt":"Vytvořeno","updatedAt":"Aktualizováno","customDataErrorMessage":"Musí být ve formátu vhodným pro ukládání jako JSON.","borderColor":"Barva okraje","borderWidth":"Šířka okraje","borderStyle":"Styl okraje","solidBorder":"Plný","dashed":"Přerušovaný","beveled":"Zkosený","inset":"Vložen","underline":"Podtrženo","textStyle":"Styl textu","fontSize":"Velikost písma","fontColor":"Barva písma","button":"Tlačidlo","textField":"Textové pole","radioField":"Přepínač","checkboxField":"Zaškrtávací pole","comboBoxField":"Kombinované pole","listBoxField":"Seznam","signatureField":"Pole s podpisem","formDesigner":"Editor formulářů","buttonText":"Text tlačidla","notAvailable":"Nedostupné","label":"Popis","value":"Hodnota","cannotEditOnceCreated":"Po vytvoření nelze upravit.","formFieldNameNotEmpty":"Název pole nemůže zůstat prázdný.","mediaAnnotation":"Multimediální anotace","mediaFormatNotSupported":"Tento prohlížeč nepodporuje video a zvuk.","distanceMeasurement":"Vzdálenost","perimeterMeasurement":"Obvod","polygonAreaMeasurement":"Obsah polygonu","rectangularAreaMeasurement":"Obsah obdélníku","ellipseAreaMeasurement":"Obsah elipsy","distanceMeasurementSettings":"Nastavení měření vzdálenosti","perimeterMeasurementSettings":"Nastavení měření obvodu","polygonAreaMeasurementSettings":"Nastavení měření obsahu polygonu","rectangularAreaMeasurementSettings":"Nastavení měření obsahu obdélníku","ellipseAreaMeasurementSettings":"Nastavení měření obsahu elipsy","measurementScale":"Měřítko","measurementCalibrateLength":"Kalibrace délky","measurementPrecision":"Přesnost","measurementSnapping":"Přichycení","formCreator":"Editor formulářů","group":"Seskupit","ungroup":"Rozdělit skupinu","bold":"Tučné písmo","italic":"Kurzíva","addLink":"Přidat odkaz","removeLink":"Odstranit odkaz","editLink":"Upravit odkaz","anonymous":"Anonymní","saveAndClose":"Uložit a zavřít","ceToggleFontMismatchTooltip":"Přepnout nastavení upozornění na nesoulad písma","ceFontMismatch":"Písmo {arg0} není k dispozici nebo nelze použít k úpravě obsahu v tomto dokumentu. Přidaný nebo změněný obsah použije výchozí písmo.","multiAnnotationsSelection":"Vyberte více anotací","linkSettingsPopoverTitle":"Nastavení odkazu","linkTo":"Odkaz na","uriLink":"Webová stránka","pageLink":"Strana","invalidPageNumber":"Zadejte platné číslo strany.","invalidPageLink":"Zadejte platný odkaz na stranu.","linkAnnotation":"Odkaz","targetPageLink":"Číslo stránky","rotation":"Rotace","unlockDocumentDescription":"Chcete-li tento dokument zobrazit, musíte jej odemknout. Zadejte prosím heslo do pole níže.","commentDialogClosed":"Otevřít vlákno vytvořené {arg0}: \\\\“{arg1}\\\\”","moreComments":"Další komentáře","linesCount":"{arg0, plural,\\none {{arg0} čára}\\nfew {{arg0} čáry}\\nother {{arg0} čár}\\n}","annotationsCount":"{arg0, plural,\\n=0 {Žádné anotace}\\none {{arg0} anotace}\\nfew {{arg0} anotace}\\nother {{arg0} anotace}\\n}","pagesSelected":"{arg0, plural,\\none {Vybraná {arg0} strana}\\nfew {Vybrané {arg0} strany}\\nother {Vybráno {arg0} strán}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} komentář}\\nfew {{arg0} komentáře}\\nother {{arg0} komentářů}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} komentář}\\nfew {{arg0} komentáře}\\nother {{arg0} komentářů}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} další komentář}\\nfew {{arg0} další komentáře}\\nother {{arg0} dalších komentářů}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-cy-21de76fa0a13fa74.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-cy-21de76fa0a13fa74.js new file mode 100644 index 00000000..9376e7cf --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-cy-21de76fa0a13fa74.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[7578],{50706:e=>{e.exports=JSON.parse('{"thumbnails":"Mân-luniau","pageXofY":"Tudalen {arg0} o {arg1}","XofY":"{arg0} o {arg1}","prevPage":"Tudalen Blaenorol","nextPage":"Tudalen Nesaf","goToPage":"Mynd i Dudalen","gotoPageX":"Mynd i Dudalen {arg0}","pageX":"Tudalen {arg0}","pageLayout":"Gosodiad y Dudalen","pageMode":"Modd y Dudalen","pageModeSingle":"Sengl","pageModeDouble":"Dwbl","pageModeAutomatic":"Awtomatig","pageTransition":"Trosiad y Dudalen","pageTransitionContinuous":"Parhaus","pageTransitionJump":"Neidio","pageRotation":"Cylchdroi\'r Dudalen","pageRotationLeft":"Cylchdroi i\'r Chwith","pageRotationRight":"Cylchdroi i\'r Dde","zoomIn":"Nesáu","zoomOut":"Pellhau","marqueeZoom":"Offeryn Testun ar Gerdded","panMode":"Modd Tremio","fitPage":"Ffitio\'r Dudalen","fitWidth":"Ffitio\'r Lled","annotations":"Anodiadau","noAnnotations":"Dim Anodiadau","bookmark":"Nod Tudalen","bookmarks":"Nodau Tudalen","noBookmarks":"Dim Nodau Tudalen","newBookmark":"Nod Tudalen Newydd","addBookmark":"Ychwanegu Nod Tudalen","removeBookmark":"Tynnu\'r Nod Tudalen","loadingBookmarks":"Wrthi\'n llwytho\'r nodau tudalen","deleteBookmarkConfirmMessage":"Ydych chi\'n siŵr eich bod eisiau dileu\'r nod tudalen hwn?","deleteBookmarkConfirmAccessibilityLabel":"Cadarnhau dileu\'r nod tudalen","annotation":"Anodiad","noteAnnotation":"Nodyn","textAnnotation":"Testun","inkAnnotation":"Tynnu Llun","highlightAnnotation":"Amlygydd Testun","underlineAnnotation":"Tanlinellu","squiggleAnnotation":"Sgwigl","strikeOutAnnotation":"Llinell Drwodd","print":"Argraffu","printPrepare":"Wrthi\'n paratoi\'r ddogfen i\'w hargraffu…","searchDocument":"Chwilio\'r Ddogfen","searchPreviousMatch":"Blaenorol","searchNextMatch":"Nesaf","searchResultOf":"{arg0} o {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} offer, dewislen toglo","save":"Cadw","edit":"Golygu","delete":"Dileu","close":"Cau","cancel":"Canslo","ok":"Iawn","done":"Wedi Gorffen","clear":"Clirio","date":"Dyddiad","time":"Amser","name":"Enw","color":"Lliw","black":"Du","white":"Gwyn","blue":"Glas","red":"Coch","green":"Gwyrdd","orange":"Oren","lightOrange":"Oren Golau","yellow":"Melyn","lightYellow":"Melyn Golau","lightBlue":"Glas Golau","lightRed":"Coch Golau","lightGreen":"Gwyrdd Golau","fuchsia":"Ffiwsia","purple":"Porffor","pink":"Pinc","mauve":"Porffor Golau","lightGrey":"Llwyd Golau","grey":"Llwyd","darkGrey":"Llwyd Tywyll","noColor":"Dim","transparent":"Tryloyw","darkBlue":"Glas Tywyll","opacity":"Didreiddedd","thickness":"Trwch","size":"Maint","numberInPt":"{arg0} pt","font":"Ffont","fonts":"Ffontiau","allFonts":"Pob Ffont","alignment":"Aliniad","alignmentLeft":"Chwith","alignmentRight":"De","alignmentCenter":"Canol","verticalAlignment":"Aliniad Fertigol","horizontalAlignment":"Aliniad Llorweddol","top":"Brig","bottom":"Gwaelod","deleteAnnotationConfirmMessage":"Ydych chi\'n siŵr eich bod eisiau dileu\'r anodiad hwn?","deleteAnnotationConfirmAccessibilityLabel":"Cadarnhau dileu\'r anodiad","fontFamilyUnsupported":"{arg0} (dim cefnogaeth)","sign":"Llofnodi","signed":"Llofnodwyd","signatures":"Llofnodion","addSignature":"Ychwanegu Llofnod","clearSignature":"Clirio\'r Llofnod","storeSignature":"Storio\'r Llofnod","pleaseSignHere":"Llofnodwch yma","signing":"Wrthi\'n llofnodi…","password":"Cyfrinair","unlock":"Datgloi","passwordRequired":"Angen Cyfrinair","unlockThisDocument":"Rhaid i chi ddatgloi\'r ddogfen hon er mwyn ei gweld. Rhowch gyfrinair yn y maes isod.","incorrectPassword":"Mae\'r cyfrinair roddoch chi\'n anghywir. Rhowch gynnig arall arni.","blendMode":"Modd Cyfuno","normal":"Normal","multiply":"Lluosi","screenBlend":"Modd blendio","overlay":"Troshaen","darken":"Tywyllu","lighten":"Goleuo","colorDodge":"Osgoi Lliw","colorBurn":"Llosgi Lliw","hardLight":"Golau Caled","softLight":"Golau Meddal","difference":"Gwahaniaeth","exclusion":"Eithriadau","multiple":"Lluosog","linecaps-dasharray":"Arddull y Llinell","dasharray":"Arddull y Llinell","startLineCap":"Cychwyn y Llinell","strokeDashArray":"Arddull y Llinell","endLineCap":"Diwedd y Llinell","lineAnnotation":"Llinell","rectangleAnnotation":"Petryal","ellipseAnnotation":"Elíps","polygonAnnotation":"Polygon","polylineAnnotation":"Polylinell","solid":"Solet","narrowDots":"Dotiau Cul","wideDots":"Dotiau Llydan","narrowDashes":"Dashys Cul","wideDashes":"Dashys Llydan","none":"Dim","square":"Sgwâr","circle":"Cylch","diamond":"Diemwnt","openArrow":"Saeth Agored","closedArrow":"Saeth Gaeedig","butt":"Bonyn","reverseOpenArrow":"Saeth Agored Wrthdro","reverseClosedArrow":"Saeth Gaeedig Wrthdro","slash":"Slaes","fillColor":"Lliw Llanw","cloudy":"Cymylog","arrow":"Saeth","filePath":"Llwybr y Ffeil","unsupportedImageFormat":"Math heb gefnogaeth ar gyfer anodiad delwedd: {arg0}. Defnyddiwch JPEG neu PNG.","noOutline":"Dim Amlinelliad","outline":"Amlinelliad","imageAnnotation":"Delwedd","selectImage":"Dewiswch Ddelwedd","stampAnnotation":"Stamp","highlighter":"Amlygydd Ffurfrydd","textHighlighter":"Amlygydd Testun","pen":"Tynnu Llun","eraser":"Rhwbiwr","export":"Allgludo","useAnExistingStampDesign":"Defnyddio dyluniad stamp cyfredol","createStamp":"Creu Stamp","stampText":"Testun y Stamp","chooseColor":"Dewiswch Liw","rejected":"Gwrthodwyd","accepted":"Derbyniwyd","approved":"Wedi\'u Cymeradwyo","notApproved":"Heb eu Cymeradwyo","draft":"Drafft","final":"Terfynol","completed":"Cwblhawyd","confidential":"Cyfrinachol","forPublicRelease":"I\'w Gyhoeddi\'n Gyhoeddus","notForPublicRelease":"Nid i\'w Gyhoeddi\'n Gyhoeddus","forComment":"Am Sylwadau","void":"Di-rym","preliminaryResults":"Canlyniadau Cychwynnol","informationOnly":"Er gwybodaeth yn unig","initialHere":"Rhowch eich Blaenlythrennau Yma","signHere":"Llofnodwch Yma","witness":"Tyst","asIs":"Fel y Mae","departmental":"Adrannol","experimental":"Arbrofol","expired":"Wedi Dod i Ben","sold":"Gwerthwyd","topSecret":"Tra Chyfrinachol","revised":"Adolygwyd","custom":"Personol","customStamp":"Stamp Personol","icon":"Eicon","iconRightPointer":"Pwyntydd i\'r Dde","iconRightArrow":"Saeth i\'r Dde","iconCheck":"Tic","iconCircle":"Elíps","iconCross":"Croes","iconInsert":"Mewnosod Testun","iconNewParagraph":"Paragraff Newydd","iconNote":"Nodyn Testun","iconComment":"Sylw","iconParagraph":"Paragraff","iconHelp":"Help","iconStar":"Seren","iconKey":"Allwedd","documentEditor":"Golygydd Dogfennau","newPage":"Tudalen Newydd","removePage":"Dileu Tudalennau","duplicatePage":"Dyblygu","rotatePageLeft":"Cylchdroi i\'r Chwith","rotatePageRight":"Cylchdroi i\'r Dde","moveBefore":"Symud Cyn","moveAfter":"Symud Ar Ôl","selectNone":"Dewis Dim Un","selectAll":"Dewis y Cwbl","saveAs":"Cadw fel…","mergeDocument":"Mewngludo Dogfen","undo":"Dad-wneud","redo":"Ail-wneud","openMoveDialog":"Symud","move":"Symud","instantModifiedWarning":"Addaswyd y ddogfen hon ac mae bellach ym modd darllen yn unig. Ail-lwythwch y dudalen i drwsio hyn.","documentMergedHere":"Bydd y ddogfen yn cael ei huno yma","digitalSignaturesAllValid":"Mae\'r ddogfen wedi cael ei llofnodi\'n ddigidol ac mae\'r holl lofnodion yn ddilys.","digitalSignaturesDocModified":"Mae\'r ddogfen wedi cael ei llofnodi\'n ddigidol, ond mae wedi cael ei haddasu ers ei llofnodi.","digitalSignaturesSignatureWarning":"Mae\'r ddogfen wedi cael ei llofnodi\'n ddigidol, ond mae problemau gan o leiaf un llofnod.","digitalSignaturesSignatureWarningDocModified":"Mae\'r ddogfen wedi cael ei llofnodi\'n ddigidol, ond mae wedi cael ei haddasu ers ei llofnodi ac mae problemau gan o leiaf un llofnod.","digitalSignaturesSignatureError":"Mae\'r ddogfen wedi cael ei llofnodi\'n ddigidol, ond mae o leiaf un llofnod yn annilys.","digitalSignaturesSignatureErrorDocModified":"Mae\'r ddogfen wedi cael ei llofnodi\'n ddigidol, ond mae wedi cael ei haddasu ers ei llofnodi ac mae o leiaf un llofnod yn annilys.","signingInProgress":"Wrthi\'n llofnodi","signingModalDesc":"Yn dynodi bod y ddogfen gyfredol yn cael ei llofnodi","discardChanges":"Gwaredu\'r Newidiadau","commentEditorLabel":"Ychwanegwch eich sylw…","reply":"Ateb","comment":"Sylw","comments":"Sylwadau","showMore":"Dangos mwy","showLess":"Dangos llai","deleteComment":"Dileu\'r Sylw","deleteCommentConfirmMessage":"Ydych chi\'n siŵr eich bod eisiau dileu\'r sylw hwn?","deleteCommentConfirmAccessibilityLabel":"Cadarnhau dileu\'r sylw hwn","editContent":"Golygu Cynnwys","commentOptions":"Opsiynau Sylwadau","areaRedaction":"Ail-olygu Ardal","textRedaction":"Ail-olygu Testun","redactionAnnotation":"Ailolygiad","applyingRedactions":"Wrthi\'n cyflwyno\'r ail-olygiadau","overlayTextPlaceholder":"Mewnosod testun gorchudd","outlineColor":"Lliw\'r Amlinelliad","overlayText":"Testun y Droshaen","repeatText":"Ailadrodd Testun","preview":"Rhagolwg","applyRedactions":"Cyflwyno\'r Ailolygiadau","markupAnnotationToolbar":"Bar offer marcio anodiad","documentViewport":"Porth gweld y ddogfen","redactionInProgress":"Wrthi\'n ail-olygu","redactionModalDesc":"Yn dynodi bod y ddogfen gyfredol yn cael ei hail-olygu","commentAction":"Gwneud sylw","printProgressModalDesc":"Yn dynodi bod dogfen yn cael ei pharatoi i\'w hargraffu","printProgressModal":"Wrthi\'n argraffu","documentEditorDesc":"Gwneud newidiadau i\'r ddogfen gyfredol","reloadDocumentDialog":"Cadarnhau Ail-lwytho\'r Ddogfen","reloadDocumentDialogDesc":"Deialog yn rhoi hwb i\'r defnyddiwr gadarnhau ail-lwytho\'r ddogfen.","signatureDialog":"Llofnod","signatureDialogDesc":"Mae\'r deialog hwn yn caniatáu i chi ddewis llofnod inc i\'w fewnosod yn y ddogfen. Os nad ydych chi wedi storio unrhyw lofnodion, gallwch greu un gan ddefnyddio\'r wedd cynfas.","stampAnnotationTemplatesDialog":"Stampio Templedi Anodi","stampAnnotationTemplatesDialogDesc":"Mae\'r deialog hwn yn caniatáu i chi ddewis anodiad stamp i\'w fewnosod yn y ddogfen neu i greu anodiad stamp personol gyda\'ch testun eich hun.","selectedAnnotation":"Dewiswyd {arg0}","commentThread":"Trywydd sylwadau","selectedAnnotationWithText":"Dewiswyd {arg0} gyda {arg1} fel cynnwys","signature":"Llofnod","ElectronicSignatures_SignHereTypeHint":"Teipiwch eich Llofnod Uchod","ElectronicSignatures_SignHereDrawHint":"Llofnodwch Yma","selectDragImage":"Dewiswch neu Lusgwch Ddelwedd","replaceImage":"Disodli’r Ddelwedd","draw":" llaw","image":"Delwedd","type":"Teipio","saveSignature":"Cadw’r Llofnod","loading":"Wrthi\'n Llwytho","selectedItem":"{arg0}, dewiswyd.","annotationDeleted":"Dilëwyd yr anodiad.","newAnnotationCreated":"Crëwyd anodiad {arg0} newydd.","bookmarkCreated":"Crëwyd nod tudalen.","bookmarkEdited":"Golygwyd y nod tudalen.","bookmarkDeleted":"Dilëwyd y nod tudalen.","cancelledEditingBookmark":"Canslwyd golygu\'r nod tudalen.","selectAFileForImage":"Dewiswch ffeil ar gyfer yr anodiad delwedd newydd.","deleteAnnotationConfirmAccessibilityDescription":"Deialog yn eich caniatáu i gadarnhau neu ganslo dileu\'r anodiad.","deleteBookmarkConfirmAccessibilityDescription":"Deialog yn eich caniatáu i gadarnhau neu ganslo dileu\'r nod tudalen.","deleteCommentConfirmAccessibilityDescription":"Deialog yn eich caniatáu i gadarnhau neu ganslo dileu\'r sylw.","resize":"Ail-feintio","resizeHandleTop":"Brig","resizeHandleBottom":"Gaelod","resizeHandleRight":"De","resizeHandleLeft":"Chwith","cropCurrentPage":"Tocio\'r Dudalen Gyfredol","cropCurrent":"Tocio Hwn","cropAllPages":"Tocio Pob Tudalen","cropAll":"Tocio\'r Cwbl","documentCrop":"Tocio\'r Ddogfen","Comparison_alignButtonTouch":"Alinio","Comparison_selectPoint":"Dewiswch Bwynt","Comparison_documentOldTouch":"Hen","Comparison_documentNewTouch":"Newydd","Comparison_result":"Cymharu","UserHint_description":"Dewiswch tri phwynt ar y ddwy ddogfen i\'w halinio eich hun. Ar gyfer y canlyniadau gorau, dewiswch bwyntiau ger corneli\'r ddogfen, gan sicrhau bod y pwyntiau yn yr un drefn ar y ddwy ddogfen.","UserHint_dismissMessage":"Anwybyddu","Comparison_alignButton":"Alinio Dogfennau","documentComparison":"Cymharu Dogfen","Comparison_documentOld":"Hen Ddogfen","Comparison_documentNew":"Dogfen Newydd","Comparison_resetButton":"Ailosod","UserHint_Select":"Wrthi\'n Dewis Pwyntiau","numberValidationBadFormat":"Nid yw\'r gwerth a nodwyd yn cyd-fynd â fformat y maes [{arg0}]","dateValidationBadFormat":"Dyddiad/amser annilys: sicrhewch fod y dyddiad/amser yn bodoli. Dylai maes [{arg0}] gyd-fynd â fformat {arg1}","insertAfterPage":"Mewnosod ar ôl tudalen","docEditorMoveBeginningHint":"Teipiwch “0” i symud y dudalen/tudalennau a ddewiswyd i gychwyn y ddogfen.","cloudyRectangleAnnotation":"Petryal Cymylog","dashedRectangleAnnotation":"Petryal Toredig","cloudyEllipseAnnotation":"Elíps Cymylog","dashedEllipseAnnotation":"Elíps Toredig","cloudyPolygonAnnotation":"Polygon Cymylog","dashedPolygonAnnotation":"Polygon Toredig","cloudAnnotation":"Cwmwl","rotateCounterclockwise":"Cylchdroi yn groes i\'r cloc","rotateClockwise":"Cylchdroi gyda\'r cloc","enterDescriptionHere":"Nodwch ddisgrifiad yma","addOption":"Ychwanegu opsiwn","formDesignerPopoverTitle":"Priodweddau {formFieldType}","formFieldNameExists":"Mae maes o\'r enw {formFieldName} yn bodoli eisoes yn y ffurflen. Dewiswch enw gwahanol.","styleSectionLabel":"Arddull {formFieldType}","formFieldName":"Enw\'r Maes Ffurflen","defaultValue":"Gwerth Diofyn","multiLine":"Aml-linell","radioButtonFormFieldNameWarning":"I grwpio\'r botymau radio, sicrhewch fod ganddynt oll yr un enw maes ffurflen.","advanced":"Uwch","creatorName":"Enw\'r Crëwr","note":"Nodyn","customData":"Data Personol","required":"Gofynnol","readOnly":"Darllen yn unig","createdAt":"Crëwyd am","updatedAt":"Diweddarwyd am","customDataErrorMessage":"Rhaid bod yn wrthrych plaen y gellir ei gyfresoli gyda JSON","borderColor":"Lliw\'r Ymyl","borderWidth":"Lled yr Ymyl","borderStyle":"Arddull yr Ymyl","solidBorder":"Solet","dashed":"Dashys","beveled":"Ar osgo","inset":"Tu mewn","underline":"Wedi tanlinellu","textStyle":"Arddull y Testun","fontSize":"Maint y Ffont","fontColor":"Lliw\'r Ffont","button":"Maes Botwm","textField":"Maes Testun","radioField":"Maes Radio","checkboxField":"Maes Blwch Ticio","comboBoxField":"Maes Blwch Cyfuniad","listBoxField":"Maes Blwch Rhestr","signatureField":"Maes Llofnod","formDesigner":"Lluniwr Ffurflenni","buttonText":"Testun y Botwm","notAvailable":"Dd/B","label":"Label","value":"Gwerth","cannotEditOnceCreated":"Ni ellir ei olygu ar ôl ei chreu.","formFieldNameNotEmpty":"Ni ellir gadael maes enw\'r ffurflen yn wag.","mediaAnnotation":"Cyfrwng yr Anodiad","mediaFormatNotSupported":"Nid yw\'r porwr hwn yn cefnogi plannu fideo neu sain.","distanceMeasurement":"Pellter","perimeterMeasurement":"Perimedr","polygonAreaMeasurement":"Arwynebedd y Polygon","rectangularAreaMeasurement":"Arwynebedd y Petryal","ellipseAreaMeasurement":"Arwynebedd yr Elíps","distanceMeasurementSettings":"Gosodiadau Mesur Pellter","perimeterMeasurementSettings":"Gosodiadau Mesur Perimedr","polygonAreaMeasurementSettings":"Gosodiadau Mesur Arwynebedd Polygon","rectangularAreaMeasurementSettings":"Gosodiadau Mesur Arwynebedd Hirsgwar","ellipseAreaMeasurementSettings":"Gosodiadau Mesur Arwynebedd Elíps","measurementScale":"Graddfa","measurementCalibrateLength":"Graddnodi\'r Hyd","measurementPrecision":"Manyldra","measurementSnapping":"Snapio","formCreator":"Lluniwr Ffurflenni","group":"Grwpio","ungroup":"Dadgrwpio","bold":"Trwm","italic":"Italig","addLink":"Ychwanegu Dolen","removeLink":"Tynnu Dolen","editLink":"Golygu Dolen","anonymous":"Dienw","saveAndClose":"Cadw a Chau","ceToggleFontMismatchTooltip":"Awgrym offeryn toglo camgymhariad ffont","ceFontMismatch":"Nid yw ffont {arg0} ar gael neu ni ellir ei defnyddio i olygu cynnwys yn y ddogfen hon. Bydd cynnwys a ychwanegir neu a newidir yn troi\'n ôl i ffont diofyn.","multiAnnotationsSelection":"Dewis Nifer o Anodiadau","linkSettingsPopoverTitle":"Gosodiadau\'r Ddolen","linkTo":"Dolen i","uriLink":"Gwefan","pageLink":"Tudalen","invalidPageNumber":"Rhowch rif dudalen dilys.","invalidPageLink":"Rhowch ddolen dudalen dilys.","linkAnnotation":"Dolen","targetPageLink":"Rhif y Dudalen","rotation":"Cylchdroi","unlockDocumentDescription":"Rhaid i chi ddatgloi\'r ddogfen hon i\'w gweld hi. Rhowch y cyfrinair yn y maes isod.","commentDialogClosed":"Agor y ffrwd sylwadau a gychwynwyd gan {arg0}: “{arg1}”","moreComments":"Rhagor o sylwadau","linesCount":"{arg0, plural,\\none {{arg0} Linell}\\ntwo {{arg0} Llinell}\\nfew {{arg0} Llinell}\\nmany {{arg0} Llinell}\\nother {{arg0} Llinell}\\n=0 {{arg0} Llinellau}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} Anodiad}\\ntwo {{arg0} Anodiad}\\nfew {{arg0} Anodiad}\\nmany {{arg0} Anodiad}\\nother {{arg0} Anodiad}\\n=0 {Dim Anodiadau}\\n}","pagesSelected":"{arg0, plural,\\none {Dewiswyd {arg0} Tudalen}\\ntwo {Dewiswyd {arg0} Dudalen}\\nfew {Dewiswyd {arg0} Tudalen}\\nmany {Dewiswyd {arg0} Tudalen}\\nother {Dewiswyd {arg0} Tudalen}\\n=0 {Dewiswyd {arg0} Tudalennau}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} sylw}\\ntwo {{arg0} sylw}\\nfew {{arg0} sylw}\\nmany {{arg0} sylw}\\nother {{arg0} sylw}\\n=0 {{arg0} sylw}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} Sylw}\\ntwo {{arg0} Sylw}\\nfew {{arg0} Sylw}\\nmany {{arg0} Sylw}\\nother {{arg0} Sylw}\\n=0 {{arg0} Sylwadau}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} sylw arall}\\ntwo {{arg0} sylw arall}\\nfew {{arg0} sylw arall}\\nmany {{arg0} sylw arall}\\nother {{arg0} sylw arall}\\n=0 {{arg0} sylw arall}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-da-6dbf4c9490b9685f.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-da-6dbf4c9490b9685f.js new file mode 100644 index 00000000..7ddf1a5e --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-da-6dbf4c9490b9685f.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1139],{32156:e=>{e.exports=JSON.parse('{"thumbnails":"Oversigter","pageXofY":"Side {arg0} af {arg1}","XofY":"{arg0} af {arg1}","prevPage":"Forrige side","nextPage":"Næste side","goToPage":"Gå til side","gotoPageX":"Gå til side {arg0}","pageX":"Side {arg0}","pageLayout":"Sidelayout","pageMode":"Side tilstand","pageModeSingle":"Enkelt","pageModeDouble":"Dobbelt","pageModeAutomatic":"Automatisk","pageTransition":"Sideovergang","pageTransitionContinuous":"Fortsat","pageTransitionJump":"Skift","pageRotation":"Siderotation","pageRotationLeft":"Roter til venstre","pageRotationRight":"Roter til højre","zoomIn":"Zoom ind","zoomOut":"Zoom ud","marqueeZoom":"Zoomværktøj","panMode":"Panorering","fitPage":"Tilpas til side","fitWidth":"Tilpas til bredde","annotations":"Annoteringer","noAnnotations":"Ingen annoteringer","bookmark":"Bogmærke","bookmarks":"Bogmærker","noBookmarks":"Ingen bogmærker","newBookmark":"Nyt bogmærke","addBookmark":"Tilføj bogmærke","removeBookmark":"Fjern bogmærke","loadingBookmarks":"Indlæser bogmærker","deleteBookmarkConfirmMessage":"Er du sikker på du vil slette dette bogmærke?","deleteBookmarkConfirmAccessibilityLabel":"Bekræft sletning af bogmærke","annotation":"Annotering","noteAnnotation":"Bemærk","textAnnotation":"Tekst","inkAnnotation":"Tegning","highlightAnnotation":"Tekstmarkering","underlineAnnotation":"Understreget","squiggleAnnotation":"Bølgelinje","strikeOutAnnotation":"Gennemstreget","print":"Udskriv","printPrepare":"Forbereder dokument til udskrivning…","searchDocument":"Søg i dokument","searchPreviousMatch":"Forrige","searchNextMatch":"Næste","searchResultOf":"{arg0} af {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} værktøj, skift menu","save":"Arkiver","edit":"Rediger","delete":"Slet","close":"Luk","cancel":"Annuller","ok":"OK","done":"Færdig","clear":"Ryd","date":"Dato","time":"Tid","name":"Navn","color":"Farve","black":"Sort","white":"Hvid","blue":"Blå","red":"Rød","green":"Grøn","orange":"Orange","lightOrange":"Lys orange","yellow":"Gul","lightYellow":"Lysegul","lightBlue":"Lyseblå","lightRed":"Lyserød","lightGreen":"Lysegrøn","fuchsia":"Fuchsia","purple":"Violet","pink":"Lyserød","mauve":"Violet","lightGrey":"Lysegrå","grey":"Grå","darkGrey":"Mørkegrå","noColor":"Ingen","transparent":"Transparent","darkBlue":"Mørkeblå","opacity":"Transparens","thickness":"Tykkelse","size":"Str.","numberInPt":"{arg0} pt","font":"Skrift","fonts":"Skrifter","allFonts":"Alle skrifter","alignment":"Justering","alignmentLeft":"Venstre","alignmentRight":"Højrejusteret","alignmentCenter":"Centreret","verticalAlignment":"Lodret justering","horizontalAlignment":"Vandret justering","top":"Top","bottom":"Bund","deleteAnnotationConfirmMessage":"Er du sikker på du vil slette denne annotering?","deleteAnnotationConfirmAccessibilityLabel":"Bekræft sletning af annotering","fontFamilyUnsupported":"{arg0} (ikke understøttet)","sign":"Signer","signed":"Signeret","signatures":"Signaturer","addSignature":"Tilføj signatur","clearSignature":"Slet signatur","storeSignature":"Arkiver signatur","pleaseSignHere":"Underskriv her","signing":"Signerer…","password":"Adgangskode","unlock":"Lås op","passwordRequired":"Adgangskode kræves","unlockThisDocument":"Du skal låse dette dokument op for at kunne se det. Skriv venligst adgangskoden i nedenstende felt.","incorrectPassword":"Adgangskoden du skrev er ikke korrekt. Prøv venligst igen.","blendMode":"Blandingsmetode","normal":"Normal","multiply":"Multiplicering","screenBlend":"Afskærm","overlay":"Overlejring","darken":"Mørkere","lighten":"Lysere","colorDodge":"Farve-lysning","colorBurn":"Farve-mætning","hardLight":"Hårdt lys","softLight":"Blødt lys","difference":"Forskel","exclusion":"Udelukkelse","multiple":"Flere","linecaps-dasharray":"Linjeudseende","dasharray":"Linjeudseende","startLineCap":"Linjestart","strokeDashArray":"Linjeudseende","endLineCap":"Linjeslut","lineAnnotation":"Linje","rectangleAnnotation":"Rektangel","ellipseAnnotation":"Ellipse","polygonAnnotation":"Polygon","polylineAnnotation":"Polygonal","solid":"Fortsat","narrowDots":"Tætte prikker","wideDots":"Spredte prikker","narrowDashes":"Tætte streger","wideDashes":"Spredte streger","none":"Ingen","square":"Kvadrat","circle":"Cirkel","diamond":"Diamant","openArrow":"Åbn pil","closedArrow":"Lukket pil","butt":"Knop","reverseOpenArrow":"Omvendt åben pil","reverseClosedArrow":"Omvendt lukket pil","slash":"Skråstreg","fillColor":"Fyldfarve","cloudy":"Skyet","arrow":"Pil","filePath":"Arkivsti","unsupportedImageFormat":"Ikke understøttet type til billedannotering: {arg0}. Brug venligst et JPEG eller et PNG.","noOutline":"Intet indhold","outline":"Kontur","imageAnnotation":"Billede","selectImage":"Vælg billede","stampAnnotation":"Stempel","highlighter":"Friform markering","textHighlighter":"Tekstmarkering","pen":"Tegning","eraser":"Viskelæder","export":"Eksporter","useAnExistingStampDesign":"Brug et eksisterende stempeldesign","createStamp":"Opret stempel","stampText":"Stempeltekst","chooseColor":"Vælg farve","rejected":"Afvist","accepted":"Accepteret","approved":"Godkendt","notApproved":"Ikke godkendt","draft":"Udkast","final":"Endelig","completed":"Færdige","confidential":"Fortroligt","forPublicRelease":"Til offentliggørelse","notForPublicRelease":"Ikke til offentliggørelse","forComment":"Til kommentering","void":"Ugyldig","preliminaryResults":"Foreløbige resultater","informationOnly":"Kun til information","initialHere":"Initial her","signHere":"Underskriv her","witness":"Vidne","asIs":"Som den er","departmental":"Internt brug","experimental":"Eksperimentel","expired":"Udløbet","sold":"Solgt","topSecret":"Top Secret","revised":"Revideret","custom":"Speciel","customStamp":"Specielt stempel","icon":"Symbol","iconRightPointer":"Højre markør","iconRightArrow":"Højre pil","iconCheck":"Flueben","iconCircle":"Cirkel","iconCross":"Kryds","iconInsert":"Indsæt tekst","iconNewParagraph":"Nyt afsnit","iconNote":"Tekstnote","iconComment":"Kommentar","iconParagraph":"Afsnit","iconHelp":"Hjælp","iconStar":"Stjerne","iconKey":"Nøgle","documentEditor":"Dokument-editor","newPage":"Ny side","removePage":"Slet sider","duplicatePage":"Dubler","rotatePageLeft":"Roter til venstre","rotatePageRight":"Roter til højre","moveBefore":"Flyt før","moveAfter":"Flyt efter","selectNone":"Vælg ingen","selectAll":"Vælg alt","saveAs":"Arkiver som…","mergeDocument":"Importer dokument","undo":"Fortryd","redo":"Gentag","openMoveDialog":"Flyt","move":"Flyt","instantModifiedWarning":"Dokumentet er ændret og er nu skrivebeskyttet. Genindlæs siden for at rette dette.","documentMergedHere":"Dokument bliver flettet her","digitalSignaturesAllValid":"Dokumentet er blevet digitalt underskrevet og alle underskrifter er gyldige.","digitalSignaturesDocModified":"Dokumentet er blevet digitalt underskrevet, men det er blevet ændret efter det blev underskrevet.","digitalSignaturesSignatureWarning":"Dokumentet er blevet digitalt underskrevet, men der er problemer med mindst en underskrift.","digitalSignaturesSignatureWarningDocModified":"Dokumentet er blevet digitalt underskrevet, men det er blevet ændret efter det blev underskrevet og der problemer med mindst en underskrift.","digitalSignaturesSignatureError":"Dokumentet er blevet digitalt underskrevet, men mindst en underskrift er ugyldig.","digitalSignaturesSignatureErrorDocModified":"Dokumentet er blevet digitalt underskrevet, men det er blevet ændret efter det blev underskrevet og mindst en underskrift er ugyldig.","signingInProgress":"Signering i gang","signingModalDesc":"Angiver at det aktuelle dokument bliver signeret","discardChanges":"Glem ændringer","commentEditorLabel":"Tilføj din kommentar…","reply":"Svar","comment":"Kommentar","comments":"Kommentarer","showMore":"Vis mere","showLess":"Vis mindre","deleteComment":"Slet kommentar","deleteCommentConfirmMessage":"Er du sikker på du vil slette denne kommentar?","deleteCommentConfirmAccessibilityLabel":"Bekræft sletning af kommentar","editContent":"Rediger indhold","commentOptions":"Kommentarmuligheder","areaRedaction":"Bortrediger område","textRedaction":"Tekstbortredigering","redactionAnnotation":"Bortrediger","applyingRedactions":"Anvender bortredigering","overlayTextPlaceholder":"Indsæt overliggende tekst","outlineColor":"Konturfarve","overlayText":"Overlægningstekst","repeatText":"Gentag tekst","preview":"Vis","applyRedactions":"Anvend bortredigeringer","markupAnnotationToolbar":"Annoteringsmarkup-værktøjslinje","documentViewport":"Dokumentvisning","redactionInProgress":"Bortredigering i gang","redactionModalDesc":"Angiver det aktuelle dokument bliver bortredigeret","commentAction":"Kommenter","printProgressModalDesc":"Angiver at dokumentet forberedes til udskrivning","printProgressModal":"Udskrivning i gang","documentEditorDesc":"Foretag ændringer i det aktuelle dokument","reloadDocumentDialog":"Bekræft genindlæsning af sokument","reloadDocumentDialogDesc":"Dialog som beder brugeren om at bekræfte genindlæsning af dokumentet.","signatureDialog":"Underskrift","signatureDialogDesc":"Denne dialog lader dig vælge en blækundeskrift til indsætning i dokumentet. Har du ikke gemt underskrifter, kan du oprette en sådan i lærredsvisning.","stampAnnotationTemplatesDialog":"Stempel annoteringsskabeloner","stampAnnotationTemplatesDialogDesc":"Denne dialog lader dig vælge en stempelannotering til indsætning i dokumentet eller oprette en speciel stempelannotering med din egen tekst.","selectedAnnotation":"Valgt {arg0}","commentThread":"Kommentartråd","selectedAnnotationWithText":"Valgt {arg0} med {arg1} som indhold","signature":"Signatur","ElectronicSignatures_SignHereTypeHint":"Skriv din underskrift ovenfor","ElectronicSignatures_SignHereDrawHint":"Underskriv her","selectDragImage":"Vælg eller træk billede","replaceImage":"Erstat billede","draw":"Tegn","image":"Billede","type":"Skriv","saveSignature":"Arkiver underskrift","loading":"Indlæser","selectedItem":"{arg0}, valgt.","annotationDeleted":"Annotering slettet.","newAnnotationCreated":"Ny {arg0} annotering oprettet.","bookmarkCreated":"Oprettet bogmærke.","bookmarkEdited":"Redigeret bogmærke.","bookmarkDeleted":"Slettet bogmærke.","cancelledEditingBookmark":"Slettet bogmærkeredigering.","selectAFileForImage":"Vælg et arkiv til ny billedannotering.","deleteAnnotationConfirmAccessibilityDescription":"Dialog til bekræftelse eller annullering af annotationen.","deleteBookmarkConfirmAccessibilityDescription":"Dialog til bekræftelse eller annullering af bogmærket.","deleteCommentConfirmAccessibilityDescription":"Dialog til bekræftelse eller annullering af kommentaren.","resize":"Skaler","resizeHandleTop":"Top","resizeHandleBottom":"Bund","resizeHandleRight":"Højre","resizeHandleLeft":"Venstre","cropCurrentPage":"Beskær aktuel side","cropCurrent":"Beskær aktuel","cropAllPages":"Beskær alle sider","cropAll":"Beskær alle","documentCrop":"Dokumentbeskæring","Comparison_alignButtonTouch":"Juster","Comparison_selectPoint":"Vælg punkt","Comparison_documentOldTouch":"Ældre","Comparison_documentNewTouch":"Nyt","Comparison_result":"Sammenligning","UserHint_description":"Vælg tre punkter på begge dokumenter til manuel justering. For de bedste resultater skal du vælge punkter i nærheden af dokumenternes hjørner, hvilket sikrer, at punktene er i samme rækkefølge på begge dokumenter.","UserHint_dismissMessage":"Luk","Comparison_alignButton":"Juster dokumenter","documentComparison":"Dokumentsammeligning","Comparison_documentOld":"Ældre dokument","Comparison_documentNew":"Nyt dokument","Comparison_resetButton":"Nulstil","UserHint_Select":"Valg af punkter","numberValidationBadFormat":"Den skrevne værdi matcher ikke formatet for feltet [{arg0}]","dateValidationBadFormat":"Ugyldig dato/tidspunkt: sørg venligst for at dato/tidspunkt findes. Feltet [{arg0}] skal matche formatet {arg1}","insertAfterPage":"Indsæt efter side","docEditorMoveBeginningHint":"Tast “0” for at flytte de(n) valgte side(r) til starten af dokumentet.","cloudyRectangleAnnotation":"Skyet rektangel","dashedRectangleAnnotation":"Punkteret rektangel","cloudyEllipseAnnotation":"Skyet ellipse","dashedEllipseAnnotation":"Punkteret ellipse","cloudyPolygonAnnotation":"Skyet polygon","dashedPolygonAnnotation":"Punkteret polygon","cloudAnnotation":"Sky","rotateCounterclockwise":"Roter mod uret","rotateClockwise":"Roter med uret","enterDescriptionHere":"Indtast beskrivelse her","addOption":"Tilføj mulighed","formDesignerPopoverTitle":"{formFieldType} - egenskaber","formFieldNameExists":"Et formularfelt kaldet {formFieldName} findes allerede. Vælg venligst et andet navn.","styleSectionLabel":"{formFieldType} - udseende","formFieldName":"Navn til formularfelt","defaultValue":"Standardværdi","multiLine":"Multilinje","radioButtonFormFieldNameWarning":"For at gruppere radioknapperne skal du sørge for, at de har de samme formularfeltnavne.","advanced":"Avanceret","creatorName":"Opretternavn","note":"Note","customData":"Specielle data","required":"Krævet","readOnly":"Skrivebeskyttet","createdAt":"Oprettet d.","updatedAt":"Opdateret d.","customDataErrorMessage":"Skal være et almindeligt JSON-serialiserbart objekt","borderColor":"Rammefarve","borderWidth":"Rammebredde","borderStyle":"Rammeudseende","solidBorder":"Ubrudt","dashed":"Punkteret","beveled":"Skrå","inset":"Indsat","underline":"Understreget","textStyle":"Tekstudseende","fontSize":"Skriftstr.","fontColor":"Skriftfarve","button":"Knapfelt","textField":"Tekstfelt","radioField":"Radioknapfelt","checkboxField":"Afkrydningsboksfelt","comboBoxField":"Kombiboksfelt","listBoxField":"Listeboksfelt","signatureField":"Signaturfelt","formDesigner":"Formularopretter","buttonText":"Knaptekst","notAvailable":"N/A","label":"Mærke","value":"Værdi","cannotEditOnceCreated":"Kan ikke redigeres efter oprettelse.","formFieldNameNotEmpty":"Formularfeltnavn kan ikke stå tomt.","mediaAnnotation":"Medieannotering","mediaFormatNotSupported":"Denne browser understøtter ikke indlejret video eller lyd.","distanceMeasurement":"Distance","perimeterMeasurement":"Omkreds","polygonAreaMeasurement":"Polygonareal","rectangularAreaMeasurement":"Rektangelareal","ellipseAreaMeasurement":"Ellipseareal","distanceMeasurementSettings":"Indstillinger for afstandsmåling","perimeterMeasurementSettings":"Indstillinger for perimetermåling","polygonAreaMeasurementSettings":"Indstillinger for måling af polygonområde","rectangularAreaMeasurementSettings":"Indstillinger for måling af rektangelområde","ellipseAreaMeasurementSettings":"Indstillinger for måling af ellipseområde","measurementScale":"Målestok","measurementCalibrateLength":"Kalibrer længde","measurementPrecision":"Præcision","measurementSnapping":"Spring til","formCreator":"Formularopretter","group":"Grupper","ungroup":"Ophæv gruppe","bold":"Fed","italic":"Kursiv","addLink":"Tilføj henvisning","removeLink":"Fjern henvisning","editLink":"Rediger link","anonymous":"Anonym","saveAndClose":"Gem og luk","ceToggleFontMismatchTooltip":"Værktøjstip fejl i skrifttype","ceFontMismatch":"Skrifttypen {arg0} er ikke tilgængelig eller kan ikke bruges til at redigere indhold i dette dokument. Tilføjet eller ændret indhold vil ændres til en standardskrifttype.","multiAnnotationsSelection":"Vælg flere annoteringer","linkSettingsPopoverTitle":"Linkindstillinger","linkTo":"Link til","uriLink":"Website","pageLink":"Side","invalidPageNumber":"Skriv et gyldigt sidenummer.","invalidPageLink":"Skriv et gyldigt sidelink.","linkAnnotation":"Henvisning","targetPageLink":"Sidenr.","rotation":"Rotér","unlockDocumentDescription":"Du skal låse dette dokument op for at se det. Skriv venligst adgangskoden i nedenstående felt.","commentDialogClosed":"Åben kommentartråd startet af {arg0}: “{arg1}”","moreComments":"Flere kommentarer","linesCount":"{arg0, plural,\\none {{arg0} linje}\\nother {{arg0} linjer}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} kommentar}\\nother {{arg0} kommentarer}\\n=0 {Ingen kommentarer}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} side valgt}\\nother {{arg0} sider valgte}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} kommentar}\\nother {{arg0} kommentarer}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} kommentar}\\nother {{arg0} kommentarer}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} mere kommentar}\\nother {{arg0} flere kommentarer}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-de-b520e5bf48a99062.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-de-b520e5bf48a99062.js new file mode 100644 index 00000000..92ba3541 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-de-b520e5bf48a99062.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1009],{47875:e=>{e.exports=JSON.parse('{"thumbnails":"Miniaturen","pageXofY":"Seite {arg0} von {arg1}","XofY":"{arg0} von {arg1}","prevPage":"Vorherige Seite","nextPage":"Nächste Seite","goToPage":"Zu Seite wechseln","gotoPageX":"Zu Seite {arg0} wechseln","pageX":"Seite {arg0}","pageLayout":"Seitenlayout","pageMode":"Seiten-Modus","pageModeSingle":"Einzeln","pageModeDouble":"Doppelt","pageModeAutomatic":"Automatisch","pageTransition":"Seitenübergang","pageTransitionContinuous":"Fortlaufend","pageTransitionJump":"Springen","pageRotation":"Seitendrehung","pageRotationLeft":"Nach links drehen","pageRotationRight":"Nach rechts drehen","zoomIn":"Hereinzoomen","zoomOut":"Herauszoomen","marqueeZoom":"Zoom-Auswahlrahmen","panMode":"Verschiebe-Modus","fitPage":"Seite anpassen","fitWidth":"Breite anpassen","annotations":"Annotationen","noAnnotations":"Keine Annotationen","bookmark":"Lesezeichen","bookmarks":"Lesezeichen","noBookmarks":"Keine Lesezeichen gesetzt","newBookmark":"Neues Lesezeichen","addBookmark":"Lesezeichen hinzufügen","removeBookmark":"Lesezeichen entfernen","loadingBookmarks":"Lesezeichen laden","deleteBookmarkConfirmMessage":"Möchten Sie dieses Lesezeichen wirklich löschen?","deleteBookmarkConfirmAccessibilityLabel":"Lesezeichenlöschung bestätigen","annotation":"Annotation","noteAnnotation":"Notiz","textAnnotation":"Nachricht","inkAnnotation":"Zeichnen","highlightAnnotation":"Text hervorheben","underlineAnnotation":"Unterstreichen","squiggleAnnotation":"Unterschlängeln","strikeOutAnnotation":"Durchstreichen","print":"Drucken","printPrepare":"Dokument auf Drucken vorbereiten…","searchDocument":"Dokument durchsuchen","searchPreviousMatch":"Vorheriges","searchNextMatch":"Nächstes","searchResultOf":"{arg0} von {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0}-Werkzeuge, Menü öffnen/schließen","save":"Sichern","edit":"Bearbeiten","delete":"Löschen","close":"Schließen","cancel":"Abbrechen","ok":"OK","done":"Fertig","clear":"Reset","date":"Datum","time":"Zeit","name":"Name","color":"Farbe","black":"Schwarz","white":"Weiß","blue":"Blau","red":"Rot","green":"Grün","orange":"Orange","lightOrange":"Hellorange","yellow":"Gelb","lightYellow":"Hellgelb","lightBlue":"Hellblau","lightRed":"Hellrot","lightGreen":"Hellgrün","fuchsia":"Fuchsie","purple":"Violett","pink":"Rosa","mauve":"Malve","lightGrey":"Hellgrau","grey":"Grau","darkGrey":"Dunkelgrau","noColor":"Kein","transparent":"Transparent","darkBlue":"Dunkelblau","opacity":"Deckkraft","thickness":"Stärke","size":"Größe","numberInPt":"{arg0} pt","font":"Schriftart","fonts":"Schriftarten","allFonts":"Alle Schriften","alignment":"Ausrichtung","alignmentLeft":"Linksbündig","alignmentRight":"Rechtsbündig","alignmentCenter":"Zentriert","verticalAlignment":"Vertikale Ausrichtung","horizontalAlignment":"Horizontale Ausrichtung","top":"Oben","bottom":"Unten","deleteAnnotationConfirmMessage":"Möchten Sie diese Annotation wirklich löschen?","deleteAnnotationConfirmAccessibilityLabel":"Bestätigen Sie Annotationslöschung","fontFamilyUnsupported":"{arg0} (nicht unterstützt)","sign":"Unterschreiben","signed":"Unterschrieben","signatures":"Unterschriften","addSignature":"Unterschrift hinzufügen","clearSignature":"Unterschrift entfernen","storeSignature":"Signatur speichern","pleaseSignHere":"Bitte hier unterschreiben","signing":"Unterschreiben…","password":"Passwort","unlock":"Entsperren","passwordRequired":"Passwort erforderlich","unlockThisDocument":"Zum Ansehen dieses Dokuments muss es zuerst entsperrt werden. Geben Sie das Passwort im Feld unten ein.","incorrectPassword":"Das eingegebene Passwort ist nicht korrekt. Bitte erneut versuchen.","blendMode":"Mischmethode","normal":"Normal","multiply":"Multiplizieren","screenBlend":"Negativ multiplizieren","overlay":"Überlagerung","darken":"Abdunkeln","lighten":"Aufhellen","colorDodge":"Farbig abwedeln","colorBurn":"Farbig nachbelichten","hardLight":"Hartes Licht","softLight":"Weiches Licht","difference":"Differenz","exclusion":"Ausschluss","multiple":"Mehrere","linecaps-dasharray":"Linienstil","dasharray":"Linienstil","startLineCap":"Linienstart","strokeDashArray":"Linienstil","endLineCap":"Linienende","lineAnnotation":"Linie","rectangleAnnotation":"Rechteck","ellipseAnnotation":"Ellipse","polygonAnnotation":"Polygon","polylineAnnotation":"Polylinie","solid":"Durchgehend","narrowDots":"Schmale Punkte","wideDots":"Breite Punkte","narrowDashes":"Schmale Bindestriche","wideDashes":"Breite Bindestriche","none":"Kein","square":"Viereck","circle":"Kreis","diamond":"Diamant","openArrow":"Offener Pfeil","closedArrow":"Geschlossener Pfeil","butt":"Knauf","reverseOpenArrow":"Rotierter geschlossener Pfeil","reverseClosedArrow":"Rotierter offener Pfeil","slash":"Schlitz","fillColor":"Füllfarbe","cloudy":"Wellenförmig","arrow":"Pfeil","filePath":"Dateipfad","unsupportedImageFormat":"Für Bild-Annotation nicht unterstützter Dateityp: {arg0}. Bitte verwenden Sie eine JPEG- oder PNG-Datei.","noOutline":"Kein Inhalt","outline":"Inhalt","imageAnnotation":"Bild","selectImage":"Bild auswählen","stampAnnotation":"Stempel","highlighter":"Freies Hervorheben","textHighlighter":"Textmarker","pen":"Zeichnen","eraser":"Radierer","export":"Exportieren","useAnExistingStampDesign":"Bestehendes Stempel-Design nutzen","createStamp":"Stempel erstellen","stampText":"Stempel-Text","chooseColor":"Farbe wählen","rejected":"Abgelehnt","accepted":"Genehmigt","approved":"Genehmigt","notApproved":"Nicht genehmigt","draft":"Entwurf","final":"Endgültige Version","completed":"Abgeschlossen","confidential":"Vertraulich","forPublicRelease":"Zur Veröffentlichung","notForPublicRelease":"Nicht zur Veröffentlichung","forComment":"Zum Kommentar","void":"Ungültig","preliminaryResults":"Vorläufige Ergebnisse","informationOnly":"Nur Zur Information","initialHere":"Hier abzeichnen","signHere":"Hier unterschreiben","witness":"Gesehen","asIs":"Wie gesehen","departmental":"Abteilungsspezifisch","experimental":"Versuch","expired":"Abgelaufen","sold":"Verkauft","topSecret":"Streng vertraulich","revised":"Überarbeitet","custom":"Benutzerdefiniert","customStamp":"Eigener Stempel","icon":"Symbol","iconRightPointer":"Zeiger nach rechts","iconRightArrow":"Pfeil nach rechts","iconCheck":"Häkchen","iconCircle":"Ellipse","iconCross":"Kreuz","iconInsert":"Text einfügen","iconNewParagraph":"Neuer Absatz","iconNote":"Textnotiz","iconComment":"Kommentar","iconParagraph":"Absatz","iconHelp":"Hilfe","iconStar":"Stern","iconKey":"Schlüssel","documentEditor":"Dokument-Editor","newPage":"Neue Seite","removePage":"Seiten löschen","duplicatePage":"Duplizieren","rotatePageLeft":"Nach links drehen","rotatePageRight":"Nach rechts drehen","moveBefore":"Nach vorne","moveAfter":"Nach hinten","selectNone":"Alles abwählen","selectAll":"Alles auswählen","saveAs":"Sichern unter…","mergeDocument":"Dokument importieren","undo":"Rückgängig machen","redo":"Wiederholen","openMoveDialog":"Verschieben","move":"Verschieben","instantModifiedWarning":"Das Dokument wurde verändert und kann nun nur gelesen werden. Laden Sie die Seite neu, um dieses Problem zu beheben.","documentMergedHere":"Dokument wird hier zusammengeführt","digitalSignaturesAllValid":"Das Dokument wurde digital signiert und alle Signaturen sind gültig.","digitalSignaturesDocModified":"Das Dokument wurde digital signiert, wurde seitdem jedoch verändert.","digitalSignaturesSignatureWarning":"Das Dokument wurde digital signiert, doch mit mindestens einer Signatur besteht ein Problem.","digitalSignaturesSignatureWarningDocModified":"Das Dokument wurde digital signiert, wurde seitdem jedoch verändert, und mit mindestens einer Signatur besteht ein Problem.","digitalSignaturesSignatureError":"Das Dokument wurde digital signiert, doch mindestens eine Signatur ist ungültig.","digitalSignaturesSignatureErrorDocModified":"Das Dokument wurde digital signiert, wurde seitdem jedoch verändert, und mindestens eine Signatur ist ungültig.","signingInProgress":"Signierung wird durchgeführt","signingModalDesc":"Zeigt an, dass das aktuelle Dokument gerade signiert wird","discardChanges":"Änderungen verwerfen","commentEditorLabel":"Kommentar einfügen…","reply":"Antworten","comment":"Kommentar","comments":"Kommentare","showMore":"Mehr","showLess":"Weniger","deleteComment":"Kommentar löschen","deleteCommentConfirmMessage":"Möchten Sie diesen Kommentar wirklich löschen?","deleteCommentConfirmAccessibilityLabel":"Löschen des Kommentars bestätigen","editContent":"Inhalt bearbeiten","commentOptions":"Kommentaroptionen","areaRedaction":"Bereich schwärzen","textRedaction":"Text schwärzen","redactionAnnotation":"Schwärzung","applyingRedactions":"Schwärzung läuft","overlayTextPlaceholder":"Überlagerungstext einfügen","outlineColor":"Konturfarbe","overlayText":"Überlagerungstext","repeatText":"Text wiederholen","preview":"Vorschau","applyRedactions":"Schwärzung anwenden","markupAnnotationToolbar":"Symbolleiste für Markup-Annotation","documentViewport":"Anzeigebereich des Dokuments","redactionInProgress":"Schwärzung wird durchgeführt","redactionModalDesc":"Zeigt an, dass das aktuelle Dokument gerade geschwärzt wird","commentAction":"Kommentieren","printProgressModalDesc":"Zeigt an, dass ein Dokument gerade für das Drucken vorbereitet wird","printProgressModal":"Drucken wird durchgeführt","documentEditorDesc":"Änderungen am aktuellen Dokument vornehmen","reloadDocumentDialog":"Neuladen des Dokuments bestätigen","reloadDocumentDialogDesc":"Dialog, in dem der Benutzer aufgefordert wird, das Neuladen des Dokuments zu bestätigen.","signatureDialog":"Unterschrift","signatureDialogDesc":"In diesem Dialogfeld können Sie eine Tintensignatur auswählen, die in das Dokument eingefügt werden soll. Wenn Sie nicht über gespeicherte Unterschriften verfügen, können Sie eine solche in der Leinwandansicht erstellen.","stampAnnotationTemplatesDialog":"Vorlagen für Stempelannotationen","stampAnnotationTemplatesDialogDesc":"In diesem Dialogfeld können Sie eine Stempelannotation auswählen, die in das Dokument eingefügt werden soll, oder eine benutzerdefinierte Stempelannotation mit Ihrem eigenen Text erstellen.","selectedAnnotation":"{arg0} ausgewählt","commentThread":"Kommentar-Thread","selectedAnnotationWithText":"{arg0} ausgewählt mit {arg1} als Inhalt","signature":"Unterschrift","ElectronicSignatures_SignHereTypeHint":"Gib deine Unterschrift oben ein","ElectronicSignatures_SignHereDrawHint":"Hier unterschreiben","selectDragImage":"Bild auswählen oder hierher ziehen","replaceImage":"Bild ersetzen","draw":"Zeichnen","image":"Bild","type":"Eingeben","saveSignature":"Unterschrift sichern","loading":"Laden","selectedItem":"{arg0}, ausgewählt.","annotationDeleted":"Annotation gelöscht.","newAnnotationCreated":"Neue {arg0}-Annotation erstellt.","bookmarkCreated":"Lesezeichen erstellt.","bookmarkEdited":"Lesezeichen bearbeitet.","bookmarkDeleted":"Lesezeichen gelöscht.","cancelledEditingBookmark":"Lesezeichenbearbeitung abgebrochen.","selectAFileForImage":"Wählen Sie eine Datei für die neue Bild-Annotation.","deleteAnnotationConfirmAccessibilityDescription":"Dialog, in dem Sie das Löschen der Annotation bestätigen oder abbrechen können.","deleteBookmarkConfirmAccessibilityDescription":"Dialog, in dem Sie das Löschen des Lesezeichens bestätigen oder abbrechen können.","deleteCommentConfirmAccessibilityDescription":"Dialog, in dem Sie das Löschen des Kommentars bestätigen oder abbrechen können.","resize":"Größe verändern","resizeHandleTop":"Oben","resizeHandleBottom":"Unten","resizeHandleRight":"Rechts","resizeHandleLeft":"Links","cropCurrentPage":"Aktuelle Seite zuschneiden","cropCurrent":"Aktuelle zuschneiden","cropAllPages":"Alle Seiten zuschneiden","cropAll":"Alle zuschneiden","documentCrop":"Dokument zuschneiden","Comparison_alignButtonTouch":"Ausrichten","Comparison_selectPoint":"Punkt auswählen","Comparison_documentOldTouch":"Alt","Comparison_documentNewTouch":"Neu","Comparison_result":"Vergleich","UserHint_description":"Wählen Sie in beiden Dokumenten drei Punkte für die manuelle Ausrichtung. Um bestmögliche Ergebnisse zu erzielen, wählen Sie Punkte in der Nähe der Ecken der Dokumente und stellen Sie sicher, dass die Punkte in beiden Dokumenten in der gleichen Reihenfolge angeordnet sind.","UserHint_dismissMessage":"Schließen","Comparison_alignButton":"Dokumente ausrichten","documentComparison":"Dokument-Vergleich","Comparison_documentOld":"Altes Dokument","Comparison_documentNew":"Neues Dokument","Comparison_resetButton":"Zurücksetzen","UserHint_Select":"Auswahl von Punkten","numberValidationBadFormat":"Der eingegebene Wert entspricht nicht dem Format des Feldes [{arg0}]","dateValidationBadFormat":"Ungültiges Datums-/Uhrzeitformat: Bitte stellen Sie sicher, dass Datum/Uhrzeit eingegeben wurden. Feld [{arg0}] sollte dem Format {arg1} entsprechen","insertAfterPage":"Einfügen nach Seite","docEditorMoveBeginningHint":"„0“ eingeben, um die ausgewählte(n) Seite(n) an den Anfang des Dokuments zu verschieben.","cloudyRectangleAnnotation":"Wellenförmiges Rechteck","dashedRectangleAnnotation":"Gestricheltes Rechteck","cloudyEllipseAnnotation":"Wellenförmige Ellipse","dashedEllipseAnnotation":"Gestrichelte Ellipse","cloudyPolygonAnnotation":"Wellenförmiges Polygon","dashedPolygonAnnotation":"Gestricheltes Polygon","cloudAnnotation":"Wolke","rotateCounterclockwise":"Gegen den Uhrzeigersinn drehen","rotateClockwise":"Im Uhrzeigersinn drehen","enterDescriptionHere":"Beschreibung hier eingeben","addOption":"Weitere Option","formDesignerPopoverTitle":"Eigenschaften des {formFieldType}es","formFieldNameExists":"Es besteht bereits ein Formularfeld namens {formFieldName}. Bitte wählen Sie einen anderen Namen.","styleSectionLabel":"Stil des {formFieldType}es","formFieldName":"Name des Formularfelds","defaultValue":"Standardwert","multiLine":"Mehrzeilig","radioButtonFormFieldNameWarning":"Um Radio-Buttons zu gruppieren, sollten sie über denselben Formfeldnamen verfügen.","advanced":"Erweitert","creatorName":"Name des Erstellers","note":"Notiz","customData":"Benutzerdefinierte Daten","required":"Erforderlich","readOnly":"Schreibgeschützt","createdAt":"Erstellt am","updatedAt":"Aktualisiert am","customDataErrorMessage":"Muss einfaches, mit JSON serialisierbares Objekt sein","borderColor":"Rahmenfarbe","borderWidth":"Rahmenstärke","borderStyle":"Rahmenstil","solidBorder":"Durchgehend","dashed":"Gestrichelt","beveled":"Relief","inset":"Eingedrückt","underline":"Unterstrichen","textStyle":"Textstil","fontSize":"Schriftgröße","fontColor":"Schriftfarbe","button":"Button-Feld","textField":"Textfeld","radioField":"Radio-Button-Feld","checkboxField":"Checkbox-Feld","comboBoxField":"Combo-Box-Feld","listBoxField":"Listenbox-Feld","signatureField":"Unterschriftfeld","formDesigner":"Formularerstellung","buttonText":"Button-Text","notAvailable":"N/A","label":"Label","value":"Wert","cannotEditOnceCreated":"Kann nach dem Erstellen nicht mehr bearbeitet werden.","formFieldNameNotEmpty":"Name des Formularfelds darf nicht leer sein.","mediaAnnotation":"Medienannotation","mediaFormatNotSupported":"Dieser Browser unterstützt keine eingebetteten Videos oder Audios.","distanceMeasurement":"Abstand","perimeterMeasurement":"Umfang","polygonAreaMeasurement":"Fläche des Polygons","rectangularAreaMeasurement":"Fläche des Rechtecks","ellipseAreaMeasurement":"Fläche der Ellipse","distanceMeasurementSettings":"Maßeinstellungen zum Abstand","perimeterMeasurementSettings":"Maßeinstellungen zum Umfang","polygonAreaMeasurementSettings":"Maßeinstellungen zur Polygonfläche","rectangularAreaMeasurementSettings":"Maßeinstellungen zur Rechteckfläche","ellipseAreaMeasurementSettings":"Maßeinstellungen zur Ellipsenfläche","measurementScale":"Skala","measurementCalibrateLength":"Länge kalibrieren","measurementPrecision":"Präzision","measurementSnapping":"Ausrichten","formCreator":"Formularerstellung","group":"Gruppieren","ungroup":"Gruppierung auflösen","bold":"Fett","italic":"Kursiv","addLink":"Link erstellen","removeLink":"Link entfernen","editLink":"Link bearbeiten","anonymous":"Anonymer Benutzer","saveAndClose":"Sichern & schließen","ceToggleFontMismatchTooltip":"Tooltip zu nicht verfügbarer Schriftart ein/aus","ceFontMismatch":"Die Schriftart „{arg0}“ ist nicht verfügbar oder kann in diesem Dokument nicht verwendet werden. Hinzugefügter oder geänderter Inhalt wird auf eine Standard-Schriftart zurückgesetzt.","multiAnnotationsSelection":"Mehrere Annotationen auswählen","linkSettingsPopoverTitle":"Link-Einstellungen","linkTo":"Link auf","uriLink":"Website","pageLink":"Seite","invalidPageNumber":"Geben Sie eine gültige Seitenzahl ein.","invalidPageLink":"Geben Sie einen gültigen Webseiten-Link ein.","linkAnnotation":"Hyperlink","targetPageLink":"Seitennummer","rotation":"Rotation","unlockDocumentDescription":"Zum Ansehen dieses Dokuments muss es zuerst entsperrt werden. Geben Sie das Passwort im Feld unten ein.","commentDialogClosed":"Offener Kommentar-Thread gestartet von {arg0}: “{arg1}”","moreComments":"Weitere Kommentare","linesCount":"{arg0, plural,\\none {{arg0} Linie}\\nother {{arg0} Linien}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} Annotation}\\nother {{arg0} Annotationen}\\n=0 {Keine Annotationen}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} Seite ausgewählt}\\nother {{arg0} Seiten ausgewählt}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} Kommentar}\\nother {{arg0} Kommentare}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} Kommentar}\\nother {{arg0} Kommentare}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} weiterer Kommentar}\\nother {{arg0} weitere Kommentare}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-el-5f665593c815f36c.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-el-5f665593c815f36c.js new file mode 100644 index 00000000..b204418c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-el-5f665593c815f36c.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1323],{87908:e=>{e.exports=JSON.parse('{"thumbnails":"Μικρογραφίες","pageXofY":"Σελίδα {arg0} από {arg1}","XofY":"{arg0} από {arg1}","prevPage":"Προηγούμενη σελίδα","nextPage":"Επόμενη σελίδα","goToPage":"Μετάβαση στη σελίδα","gotoPageX":"Μετάβαση στη σελίδα {arg0}","pageX":"Σελίδα {arg0}","pageLayout":"Διάταξη σελίδας","pageMode":"Σελίδα","pageModeSingle":"Μονή","pageModeDouble":"Διπλά","pageModeAutomatic":"Αυτόματα","pageTransition":"Μετάβαση σελίδας","pageTransitionContinuous":"Συνεχόμενα","pageTransitionJump":"Μεταπήδηση","pageRotation":"Περιστροφή σελίδας","pageRotationLeft":"Περιστροφή αριστερά","pageRotationRight":"Περιστροφή δεξιά","zoomIn":"Μεγέθυνση","zoomOut":"Σμίκρυνση","marqueeZoom":"Εργαλείο κυλιόμενου ζουμ","panMode":"Λειτουργία μετατόπισης","fitPage":"Προσαρμογή σελίδας","fitWidth":"Προσαρμογή σε πλάτος","annotations":"Σχολιασμοί","noAnnotations":"Δεν υπάρχουν σχολιασμοί","bookmark":"Σελιδοδείκτης","bookmarks":"Σελιδοδείκτες","noBookmarks":"Δεν υπάρχουν σελιδοδείκτες","newBookmark":"Νέος σελιδοδείκτης","addBookmark":"Προσθήκη σελιδοδείκτη","removeBookmark":"Αφαίρεση σελιδοδείκτη","loadingBookmarks":"Γίνεται φόρτωση σελιδοδεικτών","deleteBookmarkConfirmMessage":"Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτόν το σελιδοδείκτη","deleteBookmarkConfirmAccessibilityLabel":"Επιβεβαίωση διαγραφής σελιδοδείκτη","annotation":"Σχολιασμός","noteAnnotation":"Σημείωση","textAnnotation":"Κείμενο","inkAnnotation":"Σχεδίαση","highlightAnnotation":"Επισήμανση κειμένου","underlineAnnotation":"Υπογράμμιση","squiggleAnnotation":"Κυματιστό","strikeOutAnnotation":"Διακριτή διαγραφή","print":"Εκτύπωση","printPrepare":"Προετοιμασία εγγράφου για εκτύπωση…","searchDocument":"Αναζήτηση εγγράφου","searchPreviousMatch":"Προηγούμενο","searchNextMatch":"Επόμενο","searchResultOf":"{arg0} από {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} εργαλεία, εναλλαγή μενού","save":"Αποθήκευση","edit":"Επεξεργασία","delete":"Διαγραφή","close":"Κλείσιμο","cancel":"Ακύρωση","ok":"OK","done":"Τέλος","clear":"Εκκαθάριση","date":"Ημερομηνία","time":"Ώρα","name":"Όνομα","color":"Χρώμα","black":"Μαύρο","white":"Λευκό","blue":"Μπλε","red":"Κόκκινο","green":"Πράσινο","orange":"Πορτοκαλί","lightOrange":"Ανοικτό πορτοκαλί","yellow":"Κίτρινο","lightYellow":"Ανοικτό κίτρινο","lightBlue":"Γαλάζιο","lightRed":"Ανοιχτό κόκκινο","lightGreen":"Λαχανί","fuchsia":"Φούξια","purple":"Μοβ","pink":"Ροζ","mauve":"Μοβ","lightGrey":"Ανοικτό γκρι","grey":"Γκρι","darkGrey":"Σκούρο γκρι","noColor":"Κανένας","transparent":"Ημιδιαφανής","darkBlue":"Σκούρο μπλε","opacity":"Αδιαφάνεια","thickness":"Πάχος","size":"Μέγεθος","numberInPt":"{arg0} στ.","font":"Γραμματοσειρά","fonts":"Γραμματοσειρές","allFonts":"Όλες οι γραμματοσειρές","alignment":"Στοίχιση","alignmentLeft":"Αριστερά","alignmentRight":"Δεξιά","alignmentCenter":"Κέντρο","verticalAlignment":"Κατακόρυφη στοίχιση","horizontalAlignment":"Οριζόντια στοίχιση","top":"Άνω","bottom":"Κάτω","deleteAnnotationConfirmMessage":"Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτόν τον σχολιασμό","deleteAnnotationConfirmAccessibilityLabel":"Επιβεβαίωση διαγραφής σχολιασμού","fontFamilyUnsupported":"{arg0} (δεν υποστηρίζεται)","sign":"Υπογραφή","signed":"Υπογεγραμμένο","signatures":"Υπογραφές","addSignature":"Προσθήκη υπογραφής","clearSignature":"Εκκαθάριση υπογραφής","storeSignature":"Αποθήκευση υπογραφής","pleaseSignHere":"Παρακαλώ υπογράψτε εδώ","signing":"Υπογραφή…","password":"Συνθηματικό","unlock":"Ξεκλείδωμα","passwordRequired":"Απαιτείται συνθηματικό","unlockThisDocument":"Πρέπει να ξεκλειδώσετε αυτό το έγγραφο για να το προβάλετε. Εισαγάγετε το συνθηματικό στο παρακάτω πεδίο.","incorrectPassword":"Το συνθηματικό που εισαγάγατε δεν είναι σωστό. Δοκιμάστε ξανά.","blendMode":"Λειτουργία ανάμιξης","normal":"Κανονικό","multiply":"Πολλαπλασιασμός","screenBlend":"Μεταξοτυπία","overlay":"Υπέρθεση","darken":"Σκουρότερο","lighten":"Ανοικτότερο","colorDodge":"Υπεκφυγή χρώματος","colorBurn":"Ψήσιμο χρώματος","hardLight":"Σκληρό φως","softLight":"Απαλό φως","difference":"Διαφορά","exclusion":"Αποκλεισμός","multiple":"Πολλαπλή","linecaps-dasharray":"Στιλ γραμμής","dasharray":"Στιλ γραμμής","startLineCap":"Αρχή γραμμής","strokeDashArray":"Στιλ γραμμής","endLineCap":"Τέλος γραμμής","lineAnnotation":"Γραμμή","rectangleAnnotation":"Ορθογώνιο","ellipseAnnotation":"Έλλειψη","polygonAnnotation":"Πολύγωνο","polylineAnnotation":"Πολύγραμμο","solid":"Συμπαγής","narrowDots":"Στενές τελείες","wideDots":"Πλατιές τελείες","narrowDashes":"Στενές παύλες","wideDashes":"Πλατιές παύλες","none":"Κανένας","square":"Τετράγωνο","circle":"Κύκλος","diamond":"Διαμάντι","openArrow":"Βέλος με ανοιχτή αιχμή","closedArrow":"Βέλος με κλειστή αιχμή","butt":"Άκρο","reverseOpenArrow":"Αντιστροφή κατεύθυνσης βέλους με ανοικτή αιχμή","reverseClosedArrow":"Αντιστροφή κατεύθυνσης βέλους με κλειστή αιχμή","slash":"Κάθετος","fillColor":"Χρώμα γεμίσματος","cloudy":"Θολό","arrow":"Βέλος","filePath":"Διαδρομή αρχείου","unsupportedImageFormat":"Μη υποστηριζόμενος τύπος για σχολιασμό εικόνας: {arg0}. Χρησιμοποιήστε JPEG ή PNG.","noOutline":"Δεν υπάρχει διάρθρωση","outline":"Διάρθρωση","imageAnnotation":"Εικόνα","selectImage":"Επιλογή εικόνας","stampAnnotation":"Σφραγίδα","highlighter":"Ελεύθερη επισήμανση","textHighlighter":"Επισήμανση κειμένου","pen":"Σχεδίαση","eraser":"Γόμα","export":"Εξαγωγή","useAnExistingStampDesign":"Χρήση υπάρχοντος σχεδίου σφραγίδας","createStamp":"Δημιουργία σφραγίδας","stampText":"Κείμενο σφραγίδας","chooseColor":"Επιλογή χρώματος","rejected":"Απορρίφθηκε","accepted":"Έγινε αποδοχή","approved":"Εγκρίθηκε","notApproved":"Δεν έχει εγκριθεί","draft":"Πρόχειρο","final":"Τελικό","completed":"Ολοκληρώθηκε","confidential":"Εμπιστευτικό","forPublicRelease":"Για έκδοση στο κοινό","notForPublicRelease":"Δεν προορίζεται για έκδοση στο κοινό","forComment":"Προς σχολιασμό","void":"Άκυρο","preliminaryResults":"Προκαταρκτικά αποτελέσματα","informationOnly":"Πληροφορίες μόνο","initialHere":"Αρχικά εδώ","signHere":"Υπογραφή εδώ","witness":"Μάρτυρας","asIs":"Ως έχει","departmental":"Τμηματικό","experimental":"Πειραματικό","expired":"Έληξε","sold":"Πωλήθηκε","topSecret":"Άκρως απόρρητο","revised":"Έγινε αναθεώρηση","custom":"Προσαρμογή","customStamp":"Προσαρμοσμένη σφραγίδα","icon":"Εικονίδιο","iconRightPointer":"Δεξιός δείκτης","iconRightArrow":"Δεξί βέλος","iconCheck":"Σημάδι ελέγχου","iconCircle":"Έλλειψη","iconCross":"Σταυρός","iconInsert":"Εισαγωγή κειμένου","iconNewParagraph":"Νέα παράγραφος","iconNote":"Σημείωση κειμένου","iconComment":"Σχόλιο","iconParagraph":"Παράγραφος","iconHelp":"Βοήθεια","iconStar":"Αστέρι","iconKey":"Κλειδί","documentEditor":"Επεξεργαστής εγγράφων","newPage":"Νέα σελίδα","removePage":"Διαγραφή σελίδων","duplicatePage":"Διπλότυπο","rotatePageLeft":"Περιστροφή αριστερά","rotatePageRight":"Περιστροφή δεξιά","moveBefore":"Μετακίνηση πριν","moveAfter":"Μετακίνηση μετά","selectNone":"Επιλογή κανενός","selectAll":"Επιλογή όλων","saveAs":"Αποθήκευση ως…","mergeDocument":"Εισαγωγή εγγράφου","undo":"Αναίρεση","redo":"Επανάληψη","openMoveDialog":"Μετακίνηση","move":"Μετακίνηση","instantModifiedWarning":"Το έγγραφο έχει τροποποιηθεί και βρίσκεται τώρα σε λειτουργία μόνο ανάγνωσης. Επαναφορτώστε τη σελίδα για διόρθωση.","documentMergedHere":"Το έγγραφο θα συγχωνευτεί εδώ","digitalSignaturesAllValid":"Το έγγραφο έχει υπογραφεί ψηφιακά και όλες οι υπογραφές είναι έγκυρες.","digitalSignaturesDocModified":"Το έγγραφο έχει υπογραφεί ψηφιακά, αλλά έχει τροποποιηθεί από τη στιγμή που υπογράφηκε.","digitalSignaturesSignatureWarning":"Το έγγραφο έχει υπογραφεί ψηφιακά, αλλά τουλάχιστον μία υπογραφή έχει προβλήματα.","digitalSignaturesSignatureWarningDocModified":"Το έγγραφο έχει υπογραφεί ψηφιακά, αλλά έχει τροποποιηθεί από τη στιγμή που υπογράφηκε και τουλάχιστον μία υπογραφή έχει προβλήματα.","digitalSignaturesSignatureError":"Το έγγραφο έχει υπογραφεί ψηφιακά, αλλά τουλάχιστον μία υπογραφή δεν είναι έγκυρη.","digitalSignaturesSignatureErrorDocModified":"Το έγγραφο έχει υπογραφεί ψηφιακά, αλλά έχει τροποποιηθεί από τη στιγμή που υπογράφηκε και τουλάχιστον μία υπογραφή δεν είναι έγκυρη.","signingInProgress":"Υπογραφή σε εξέλιξη","signingModalDesc":"Υποδεικνύει ότι το τρέχον έγγραφο υπογράφεται","discardChanges":"Απόρριψη αλλαγών","commentEditorLabel":"Προσθήκη του σχολίου σας…","reply":"Απάντηση","comment":"Σχόλιο","comments":"Σχόλια","showMore":"Εμφάνιση περισσότερων","showLess":"Εμφάνιση λιγότερων","deleteComment":"Διαγραφή σχολίου","deleteCommentConfirmMessage":"Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτό το σχόλιο","deleteCommentConfirmAccessibilityLabel":"Επιβεβαίωση διαγραφής σχολίου","editContent":"Επεξεργασία περιεχομένου","commentOptions":"Επιλογές σχολίεων","areaRedaction":"Απόκρυψη περιοχής","textRedaction":"Απόκρυψη κειμένου","redactionAnnotation":"Απόκρυψη","applyingRedactions":"Εφαρμογή αποκρύψεων","overlayTextPlaceholder":"Εισαγωγή κειμένου υπέρθεσης","outlineColor":"Χρώμα περιγράμματος","overlayText":"Υπέρθεση κειμένου","repeatText":"Επανάληψη κειμένου","preview":"Προεπισκόπηση","applyRedactions":"Εφαρμογή αποκρύψεων","markupAnnotationToolbar":"Γραμμή εργαλείων σχολιασμών σήμανσης","documentViewport":"Οπτική γωνία εγγράφου","redactionInProgress":"Απόκρυψη σε εξέλιξη","redactionModalDesc":"Υποδεικνύει ότι γίνεται απόκρυψη στο τρέχον έγγραφο","commentAction":"Σχολιάστε","printProgressModalDesc":"Υποδεικνύει ότι ένα έγγραφο προετοιμάζεται για εκτύπωση","printProgressModal":"Εκτύπωση σε εξέλιξη","documentEditorDesc":"Πραγματοποίηση αλλαγών στο τρέχον έγγραφο","reloadDocumentDialog":"Επιβεβαίωση επαναφόρτωσης εγγράφου","reloadDocumentDialogDesc":"Διάλογος που προτρέπει τον χρήστη να επιβεβαιώσει την επαναφόρτωση του εγγράφου.","signatureDialog":"Υπογραφή","signatureDialogDesc":"Ο διάλογος αυτός σάς επιτρέπει να επιλέξετε μια υπογραφή μελανιού για να εισαγάγετε στο έγγραφο. Αν δεν έχετε αποθηκευμένες υπογραφές, μπορείτε να δημιουργήσετε μία χρησιμοποιώντας την προβολή καμβά.","stampAnnotationTemplatesDialog":"Πρότυπα σχολιασμού σφραγίδας","stampAnnotationTemplatesDialogDesc":"Ο διάλογος αυτός σάς επιτρέπει να επιλέγετε έναν σχολιασμό σφραγίδας για να εισαγάγετε στο έγγραφο ή να δημιουργήσετε έναν προσαρμοσμένο σχολιασμό σφραγίδας με δικό σας κείμενο.","selectedAnnotation":"Επιλεγμένο {arg0}","commentThread":"Νήμα σχολίων","selectedAnnotationWithText":"Επιλεγμένο {arg0} με {arg1} ως περιεχόμενο","signature":"Υπογραφή","ElectronicSignatures_SignHereTypeHint":"Πληκτρολογήστε την υπογραφή σας παραπάνω","ElectronicSignatures_SignHereDrawHint":"Υπογραφή εδώ","selectDragImage":"Επιλογή ή σύρσιμο εικόνας","replaceImage":"Αντικατάσταση εικόνας","draw":"Σχεδίαση","image":"Εικόνα","type":"Πληκτρολόγηση","saveSignature":"Αποθήκευση υπογραφής","loading":"Γίνεται φόρτωση","selectedItem":"{arg0}, επιλεγμένο.","annotationDeleted":"Σχολιασμός διαγράφηκε.","newAnnotationCreated":"Νέος σχολιασμός {arg0} δημιουργήθηκε.","bookmarkCreated":"Δημιουργήθηκε σελιδοδείκτης.","bookmarkEdited":"Έγινε επεξεργασία σελιδοδείκτη.","bookmarkDeleted":"Διαγράφηκε σελιδοδείκτης.","cancelledEditingBookmark":"Ακυρώθηκε επεξεργασία σελιδοδείκτη.","selectAFileForImage":"Επιλέξτε ένα αρχείο για τον νέο σχολιασμό εικόνας.","deleteAnnotationConfirmAccessibilityDescription":"Διάλογος που σας επιτρέπει την επιβεβαίωση ή ακύρωση της διαγραφής του σχολιασμού.","deleteBookmarkConfirmAccessibilityDescription":"Διάλογος που σας επιτρέπει την επιβεβαίωση ή ακύρωση της διαγραφής του σελιδοδείκτη.","deleteCommentConfirmAccessibilityDescription":"Διάλογος που σας επιτρέπει την επιβεβαίωση ή ακύρωση της διαγραφής του σχολίου.","resize":"Αλλαγή μεγέθους","resizeHandleTop":"Άνω","resizeHandleBottom":"Κάτω","resizeHandleRight":"Δεξιά","resizeHandleLeft":"Αριστερά","cropCurrentPage":"Περικοπή τρέχουσας σελίδας","cropCurrent":"Περικοπή τρέχουσας","cropAllPages":"Περικοπή όλων των σελίδων","cropAll":"Περικοπή όλων","documentCrop":"Περικοπή εγγράφου","Comparison_alignButtonTouch":"Ευθυγράμμιση","Comparison_selectPoint":"Επιλογή σημείου","Comparison_documentOldTouch":"Παλιό","Comparison_documentNewTouch":"Νέο","Comparison_result":"Σύγκριση","UserHint_description":"Επιλέξτε τρία σημεία και στα δύο έγγραφα για μη αυτόματη ευθυγράμμιση. Για καλύτερα αποτελέσματα, επιλέξτε σημεία κοντά στις γωνίες των εγγράφων, εξασφαλίζοντας ότι τα σημεία βρίσκονται στην ίδια σειρά και στα δύο έγγραφα.","UserHint_dismissMessage":"Απόρριψη","Comparison_alignButton":"Ευθυγράμμιση εγγράφων","documentComparison":"Σύγκριση εγγράφων","Comparison_documentOld":"Παλιό έγγραφο","Comparison_documentNew":"Νέο έγγραφο","Comparison_resetButton":"Επαναφορά","UserHint_Select":"Επιλογή σημείων","numberValidationBadFormat":"Η τιμή που καταχωρίσατε δεν ταιριάζει με τη μορφή του πεδίου [{arg0}]","dateValidationBadFormat":"Μη έγκυρη ημερομηνία/ώρα: βεβαιωθείτε ότι η ημερομηνία/ώρα υπάρχει. Το πεδίο [{arg0}] θα πρέπει να ταιριάζει με τη μορφή {arg1}","insertAfterPage":"Εισαγωγή μετά τη σελίδα","docEditorMoveBeginningHint":"Πληκτρολογήστε «0» για να μετακινήσετε την(ις) επιλεγμένη(ες) σελίδα(ες) στην αρχή του εγγράφου.","cloudyRectangleAnnotation":"Ορθογώνιο σύννεφο","dashedRectangleAnnotation":"Διακεκομμένο ορθογώνιο","cloudyEllipseAnnotation":"Ελλειπτικό σύννεφο","dashedEllipseAnnotation":"Διακεκομμένη έλλειψη","cloudyPolygonAnnotation":"Πολυγωνικό σύννεφο","dashedPolygonAnnotation":"Διακεκομμένο πολύγωνο","cloudAnnotation":"Σύννεφο","rotateCounterclockwise":"Περιστροφή αριστερόστροφα","rotateClockwise":"Περιστροφή δεξιόστροφα","enterDescriptionHere":"Εισαγωγή περιγραφής εδώ","addOption":"Προσθήκη επιλογής","formDesignerPopoverTitle":"Ιδιότητες για {formFieldType}","formFieldNameExists":"Ήδη υπάρχει ένα πεδίο φόρμας με όνομα {formFieldName}. Επιλέξτε διαφορετικό όνομα.","styleSectionLabel":"Στυλ για {formFieldType}","formFieldName":"Όνομα πεδίου φόρμας","defaultValue":"Προεπιλεγμένη τιμή","multiLine":"Πολλαπλές γραμμές","radioButtonFormFieldNameWarning":"Για ομαδοποίηση των κουμπιών επιλογής, βεβαιωθείτε ότι έχουν τα ίδια ονόματα πεδίου φόρμας.","advanced":"Προηγμένα","creatorName":"Όνομα δημιουργού","note":"Σημείωση","customData":"Προσαρμοσμένα δεδομένα","required":"Υποχρεωτικό","readOnly":"Ανάγνωση μόνο","createdAt":"Δημιουργήθηκε","updatedAt":"Ενημερώθηκε","customDataErrorMessage":"Πρέπει να είναι απλό αντικείμενο με δυνατότητα σειριοποίησης JSON","borderColor":"Χρώμα περιγράμματος","borderWidth":"Πλάτος περιγράμματος","borderStyle":"Στυλ περιγράμματος","solidBorder":"Συμπαγές","dashed":"Διακεκομμένο","beveled":"Λοξό","inset":"Ένθετο","underline":"Υπογραμμισμένο","textStyle":"Στυλ κειμένου","fontSize":"Μέγεθος γραμματοσειράς","fontColor":"Χρώμα γραμματοσειράς","button":"Πεδίο κουμπιού","textField":"Πεδίο κειμένου","radioField":"Πεδίο κουμπιού επιλογής","checkboxField":"Πεδίο πλαισίου ελέγχου","comboBoxField":"Πεδίο σύνθετου πλαισίου","listBoxField":"Πεδίο πλαισίου λίστας","signatureField":"Πεδίο υπογραφής","formDesigner":"Δημιουργία φόρμας","buttonText":"Κείμενο κουμπιού","notAvailable":"Δ/Ε","label":"Ετικέτα","value":"Τιμή","cannotEditOnceCreated":"Δεν είναι δυνατή η επεξεργασία μόλις δημιουργηθεί.","formFieldNameNotEmpty":"Το όνομα πεδίου φόρμας δεν μπορεί να παραμείνει κενό.","mediaAnnotation":"Σχολιασμός πολυμέσων","mediaFormatNotSupported":"Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει ενσωματωμένο βίντεο ή ήχο.","distanceMeasurement":"Απόσταση","perimeterMeasurement":"Περίμετρος","polygonAreaMeasurement":"Εμβαδόν πολυγώνου","rectangularAreaMeasurement":"Εμβαδόν ορθογωνίου","ellipseAreaMeasurement":"Εμβαδόν έλλειψης","distanceMeasurementSettings":"Ρυθμίσεις μέτρησης απόστασης","perimeterMeasurementSettings":"Ρυθμίσεις μέτρησης περιμέτρου","polygonAreaMeasurementSettings":"Ρυθμίσεις μέτρησης εμβαδού πολυγώνου","rectangularAreaMeasurementSettings":"Ρυθμίσεις μέτρησης εμβαδού ορθογωνίου","ellipseAreaMeasurementSettings":"Ρυθμίσεις μέτρησης εμβαδού έλλειψης","measurementScale":"Κλίμακα","measurementCalibrateLength":"Βαθμονόμηση μήκους","measurementPrecision":"Ακρίβεια","measurementSnapping":"Κούμπωμα","formCreator":"Δημιουργία φόρμας","group":"Ομαδοποίηση","ungroup":"Κατάργηση ομαδοποίησης","bold":"Έντονα","italic":"Πλάγια","addLink":"Προσθήκη συνδέσμου","removeLink":"Αφαίρεση συνδέσμου","editLink":"Επεξεργασία συνδέσμου","anonymous":"Ανώνυμος","saveAndClose":"Αποθήκευση και κλείσιμο","ceToggleFontMismatchTooltip":"Εναλλαγή συμβουλής εργαλείου αναντιστοιχίας γραμματοσειράς","ceFontMismatch":"Η γραμματοσειρά {arg0} δεν είναι διαθέσιμη ή δεν μπορεί να χρησιμοποιηθεί για την επεξεργασία περιεχομένου σε αυτό το έγγραφο. Το περιεχόμενο που προστέθηκε ή άλλαξε θα επαναφερθεί σε μια προεπιλεγμένη γραμματοσειρά.","multiAnnotationsSelection":"Επιλογή πολλαπλών σχολιασμών","linkSettingsPopoverTitle":"Ρυθμίσεις συνδέσμου","linkTo":"Σύνδεσμος σε","uriLink":"Ιστότοπο","pageLink":"Σελίδα","invalidPageNumber":"Εισαγάγετε έγκυρο αριθμό σελίδας.","invalidPageLink":"Εισαγάγετε έγκυρο σύνδεσμο σελίδας.","linkAnnotation":"Σύνδεσμος","targetPageLink":"Αριθμός σελίδας","rotation":"Περιστροφή","unlockDocumentDescription":"Πρέπει να ξεκλειδώσετε αυτό το έγγραφο για να το προβάλετε. Εισαγάγετε το συνθηματικό στο παρακάτω πεδίο.","commentDialogClosed":"Άνοιγμα νήματος σχολίων που ξεκινάει με {arg0}: «{arg1}»","moreComments":"Περισσότερα σχόλια","linesCount":"{arg0, plural,\\none {{arg0} γραμμή}\\nother {{arg0} γραμμές}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} σχόλιο}\\nother {{arg0} σχόλια}\\n=0 {Δεν υπάρχουν σχόλια}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} σελίδα επιλέχτηκε}\\nother {{arg0} σελίδες επιλέχτηκαν}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} σχολίου}\\nother {{arg0} σχολίων}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} σχολίου}\\nother {{arg0} σχολίων}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} ακόμη σχόλιο}\\nother {{arg0} ακόμη σχόλια}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-en-4607f47f247eedf1.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-en-4607f47f247eedf1.js new file mode 100644 index 00000000..0816cd8e --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-en-4607f47f247eedf1.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1874],{70840:e=>{e.exports=JSON.parse('{"thumbnails":"Thumbnails","pageXofY":"Page {arg0} of {arg1}","XofY":"{arg0} of {arg1}","prevPage":"Previous Page","nextPage":"Next Page","goToPage":"Go to Page","gotoPageX":"Go to Page {arg0}","pageX":"Page {arg0}","pageLayout":"Page Layout","pageMode":"Page Mode","pageModeSingle":"Single","pageModeDouble":"Double","pageModeAutomatic":"Automatic","pageTransition":"Page Transition","pageTransitionContinuous":"Continuous","pageTransitionJump":"Jump","pageRotation":"Page Rotation","pageRotationLeft":"Rotate Left","pageRotationRight":"Rotate Right","zoomIn":"Zoom In","zoomOut":"Zoom Out","marqueeZoom":"Marquee Zoom","panMode":"Pan Mode","fitPage":"Fit Page","fitWidth":"Fit Width","annotations":"Annotations","noAnnotations":"No Annotations","bookmark":"Bookmark","bookmarks":"Bookmarks","noBookmarks":"No Bookmarks","newBookmark":"New Bookmark","addBookmark":"Add Bookmark","removeBookmark":"Remove Bookmark","loadingBookmarks":"Loading Bookmarks","deleteBookmarkConfirmMessage":"Are you sure you want to delete this bookmark?","deleteBookmarkConfirmAccessibilityLabel":"Confirm bookmark deletion","annotation":"Annotation","noteAnnotation":"Note","textAnnotation":"Text","inkAnnotation":"Drawing","highlightAnnotation":"Text Highlight","underlineAnnotation":"Underline","squiggleAnnotation":"Squiggle","strikeOutAnnotation":"Strikethrough","print":"Print","printPrepare":"Preparing document for printing…","searchDocument":"Search Document","searchPreviousMatch":"Previous","searchNextMatch":"Next","searchResultOf":"{arg0} of {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} tools, toggle menu","save":"Save","edit":"Edit","delete":"Delete","close":"Close","cancel":"Cancel","ok":"OK","done":"Done","clear":"Clear","date":"Date","time":"Time","name":"Name","color":"Color","black":"Black","white":"White","blue":"Blue","red":"Red","green":"Green","orange":"Orange","lightOrange":"Light Orange","yellow":"Yellow","lightYellow":"Light Yellow","lightBlue":"Light Blue","lightRed":"Light Red","lightGreen":"Light Green","fuchsia":"Fuchsia","purple":"Purple","pink":"Pink","mauve":"Mauve","lightGrey":"Light Gray","grey":"Gray","darkGrey":"Dark Gray","noColor":"None","transparent":"Transparent","darkBlue":"Dark Blue","opacity":"Opacity","thickness":"Thickness","size":"Size","numberInPt":"{arg0} pt","font":"Font","fonts":"Fonts","allFonts":"All Fonts","alignment":"Alignment","alignmentLeft":"Left","alignmentRight":"Right","alignmentCenter":"Center","verticalAlignment":"Vertical Alignment","horizontalAlignment":"Horizontal Alignment","top":"Top","bottom":"Bottom","deleteAnnotationConfirmMessage":"Are you sure you want to delete this annotation?","deleteAnnotationConfirmAccessibilityLabel":"Confirm annotation deletion","fontFamilyUnsupported":"{arg0} (not supported)","sign":"Sign","signed":"Signed","signatures":"Signatures","addSignature":"Add Signature","clearSignature":"Clear Signature","storeSignature":"Store Signature","pleaseSignHere":"Please sign here","signing":"Signing…","password":"Password","unlock":"Unlock","passwordRequired":"Password Required","unlockThisDocument":"You have to unlock this document in order to view it. Please enter the password in the field below.","incorrectPassword":"The password you entered isn’t correct. Please try again.","blendMode":"Blend Mode","normal":"Normal","multiply":"Multiply","screenBlend":"Screen","overlay":"Overlay","darken":"Darken","lighten":"Lighten","colorDodge":"Color Dodge","colorBurn":"Color Burn","hardLight":"Hard Light","softLight":"Soft Light","difference":"Difference","exclusion":"Exclusion","multiple":"Multiple","linecaps-dasharray":"Line Style","dasharray":"Line Style","startLineCap":"Line Start","strokeDashArray":"Line Style","endLineCap":"Line End","lineAnnotation":"Line","rectangleAnnotation":"Rectangle","ellipseAnnotation":"Ellipse","polygonAnnotation":"Polygon","polylineAnnotation":"Polyline","solid":"Solid","narrowDots":"Narrow Dots","wideDots":"Wide Dots","narrowDashes":"Narrow Dashes","wideDashes":"Wide Dashes","none":"None","square":"Square","circle":"Circle","diamond":"Diamond","openArrow":"Open Arrow","closedArrow":"Closed Arrow","butt":"Butt","reverseOpenArrow":"Reverse Open Arrow","reverseClosedArrow":"Reverse Closed Arrow","slash":"Slash","fillColor":"Fill Color","cloudy":"Cloudy","arrow":"Arrow","filePath":"File Path","unsupportedImageFormat":"Unsupported type for image annotation: {arg0}. Please use a JPEG or a PNG.","noOutline":"No Outline","outline":"Outline","imageAnnotation":"Image","selectImage":"Select Image","stampAnnotation":"Stamp","highlighter":"Freeform Highlight","textHighlighter":"Text Highlighter","pen":"Drawing","eraser":"Eraser","export":"Export","useAnExistingStampDesign":"Use an existing stamp design","createStamp":"Create Stamp","stampText":"Stamp Text","chooseColor":"Choose Color","rejected":"Rejected","accepted":"Accepted","approved":"Approved","notApproved":"Not Approved","draft":"Draft","final":"Final","completed":"Completed","confidential":"Confidential","forPublicRelease":"For Public Release","notForPublicRelease":"Not For Public Release","forComment":"For Comment","void":"Void","preliminaryResults":"Preliminary Results","informationOnly":"Information Only","initialHere":"Initial Here","signHere":"Sign Here","witness":"Witness","asIs":"As Is","departmental":"Departmental","experimental":"Experimental","expired":"Expired","sold":"Sold","topSecret":"Top Secret","revised":"Revised","custom":"Custom","customStamp":"Custom Stamp","icon":"Icon","iconRightPointer":"Right Pointer","iconRightArrow":"Right Arrow","iconCheck":"Checkmark","iconCircle":"Ellipse","iconCross":"Cross","iconInsert":"Insert Text","iconNewParagraph":"New Paragraph","iconNote":"Text Note","iconComment":"Comment","iconParagraph":"Paragraph","iconHelp":"Help","iconStar":"Star","iconKey":"Key","documentEditor":"Document Editor","newPage":"New Page","removePage":"Delete Pages","duplicatePage":"Duplicate","rotatePageLeft":"Rotate Left","rotatePageRight":"Rotate Right","moveBefore":"Move Before","moveAfter":"Move After","selectNone":"Select None","selectAll":"Select All","saveAs":"Save As…","mergeDocument":"Import Document","undo":"Undo","redo":"Redo","openMoveDialog":"Move","move":"Move","instantModifiedWarning":"The document was modified and is now in read-only mode. Reload the page to fix this.","documentMergedHere":"Document will be merged here","digitalSignaturesAllValid":"The document has been digitally signed and all signatures are valid.","digitalSignaturesDocModified":"The document has been digitally signed, but it has been modified since it was signed.","digitalSignaturesSignatureWarning":"The document has been digitally signed, but at least one signature has problems.","digitalSignaturesSignatureWarningDocModified":"The document has been digitally signed, but it has been modified since it was signed and at least one signature has problems.","digitalSignaturesSignatureError":"The document has been digitally signed, but at least one signature is invalid.","digitalSignaturesSignatureErrorDocModified":"The document has been digitally signed, but it has been modified since it was signed and at least one signature is invalid.","signingInProgress":"Signing in progress","signingModalDesc":"Indicates that the current document is being signed","discardChanges":"Discard Changes","commentEditorLabel":"Add your comment…","reply":"Reply","comment":"Comment","comments":"Comments","showMore":"Show more","showLess":"Show less","deleteComment":"Delete Comment","deleteCommentConfirmMessage":"Are you sure you want to delete this comment?","deleteCommentConfirmAccessibilityLabel":"Confirm comment deletion","editContent":"Edit Content","commentOptions":"Comment Options","areaRedaction":"Area Redaction","textRedaction":"Text Redaction","redactionAnnotation":"Redaction","applyingRedactions":"Applying redactions","overlayTextPlaceholder":"Insert overlay text","outlineColor":"Outline Color","overlayText":"Overlay Text","repeatText":"Repeat Text","preview":"Preview","applyRedactions":"Apply Redactions","markupAnnotationToolbar":"Markup annotation toolbar","documentViewport":"Document viewport","redactionInProgress":"Redaction in progress","redactionModalDesc":"Indicates that the current document is being redacted","commentAction":"Comment","printProgressModalDesc":"Indicates that a document is being prepared for printing","printProgressModal":"Printing in progress","documentEditorDesc":"Make changes to the current document","reloadDocumentDialog":"Confirm document reload","reloadDocumentDialogDesc":"Dialog prompting the user to confirm reloading the document.","signatureDialog":"Signature","signatureDialogDesc":"This dialog lets you select an ink signature to insert into the document. If you don\'t have stored signatures, you can create one using the canvas view.","stampAnnotationTemplatesDialog":"Stamp Annotation Templates","stampAnnotationTemplatesDialogDesc":"This dialog lets you select a stamp annotation to insert into the document or create a custom stamp annotation with your own text.","selectedAnnotation":"Selected {arg0}","commentThread":"Comment thread","selectedAnnotationWithText":"Selected {arg0} with {arg1} as content","signature":"Signature","ElectronicSignatures_SignHereTypeHint":"Type Your Signature Above","ElectronicSignatures_SignHereDrawHint":"Sign Here","selectDragImage":"Select or Drag Image","replaceImage":"Replace Image","draw":"Draw","image":"Image","type":"Type","saveSignature":"Save Signature","loading":"Loading","selectedItem":"{arg0}, selected.","annotationDeleted":"Annotation deleted.","newAnnotationCreated":"New {arg0} annotation created.","bookmarkCreated":"Created bookmark.","bookmarkEdited":"Edited bookmark.","bookmarkDeleted":"Deleted bookmark.","cancelledEditingBookmark":"Canceled bookmark editing.","selectAFileForImage":"Select a file for the new image annotation.","deleteAnnotationConfirmAccessibilityDescription":"Dialog allowing you to confirm or cancel deleting the annotation.","deleteBookmarkConfirmAccessibilityDescription":"Dialog allowing you to confirm or cancel deleting the bookmark.","deleteCommentConfirmAccessibilityDescription":"Dialog allowing you to confirm or cancel deleting the comment.","resize":"Resize","resizeHandleTop":"Top","resizeHandleBottom":"Bottom","resizeHandleRight":"Right","resizeHandleLeft":"Left","cropCurrentPage":"Crop Current Page","cropCurrent":"Crop Current","cropAllPages":"Crop All Pages","cropAll":"Crop All","documentCrop":"Document Crop","Comparison_alignButtonTouch":"Align","Comparison_selectPoint":"Select Point","Comparison_documentOldTouch":"Old","Comparison_documentNewTouch":"New","Comparison_result":"Comparison","UserHint_description":"Select three points on both documents for manual alignment. For best results, choose points near the corners of the documents, ensuring the points are in the same order on both documents.","UserHint_dismissMessage":"Dismiss","Comparison_alignButton":"Align Documents","documentComparison":"Document Comparison","Comparison_documentOld":"Old Document","Comparison_documentNew":"New Document","Comparison_resetButton":"Reset","UserHint_Select":"Selecting Points","numberValidationBadFormat":"The value entered doesn’t match the format of the field [{arg0}]","dateValidationBadFormat":"Invalid date/time: Please ensure that the date/time exists. Field [{arg0}] should match format {arg1}","insertAfterPage":"Insert after page","docEditorMoveBeginningHint":"Type “0” to move the selected page(s) to the beginning of the document.","cloudyRectangleAnnotation":"Cloudy Rectangle","dashedRectangleAnnotation":"Dashed Rectangle","cloudyEllipseAnnotation":"Cloudy Ellipse","dashedEllipseAnnotation":"Dashed Ellipse","cloudyPolygonAnnotation":"Cloudy Polygon","dashedPolygonAnnotation":"Dashed Polygon","cloudAnnotation":"Cloud","rotateCounterclockwise":"Rotate counterclockwise","rotateClockwise":"Rotate clockwise","enterDescriptionHere":"Enter description here","addOption":"Add option","formDesignerPopoverTitle":"{formFieldType} Properties","formFieldNameExists":"A form field named {formFieldName} already exists. Please choose a different name.","styleSectionLabel":"{formFieldType} Style","formFieldName":"Form Field Name","defaultValue":"Default Value","multiLine":"Multiline","radioButtonFormFieldNameWarning":"To group the radio buttons, make sure they have the same form field names.","advanced":"Advanced","creatorName":"Creator Name","note":"Note","customData":"Custom Data","required":"Required","readOnly":"Read Only","createdAt":"Created At","updatedAt":"Updated At","customDataErrorMessage":"Must be a plain JSON-serializable object","borderColor":"Border Color","borderWidth":"Border Width","borderStyle":"Border Style","solidBorder":"Solid","dashed":"Dashed","beveled":"Beveled","inset":"Inset","underline":"Underlined","textStyle":"Text Style","fontSize":"Font Size","fontColor":"Font Color","button":"Button Field","textField":"Text Field","radioField":"Radio Field","checkboxField":"Checkbox Field","comboBoxField":"Combo Box Field","listBoxField":"List Box Field","signatureField":"Signature Field","formDesigner":"Form Creator","buttonText":"Button Text","notAvailable":"N/A","label":"Label","value":"Value","cannotEditOnceCreated":"Cannot be edited once created.","formFieldNameNotEmpty":"Form field name cannot be left empty.","mediaAnnotation":"Media Annotation","mediaFormatNotSupported":"This browser doesn’t support embedded video or audio.","distanceMeasurement":"Distance","perimeterMeasurement":"Perimeter","polygonAreaMeasurement":"Polygon Area","rectangularAreaMeasurement":"Rectangle Area","ellipseAreaMeasurement":"Ellipse Area","distanceMeasurementSettings":"Distance Measurement Settings","perimeterMeasurementSettings":"Perimeter Measurement Settings","polygonAreaMeasurementSettings":"Polygon Area Measurement Settings","rectangularAreaMeasurementSettings":"Rectangle Area Measurement Settings","ellipseAreaMeasurementSettings":"Ellipse Area Measurement Settings","measurementScale":"Scale","measurementCalibrateLength":"Calibrate Length","measurementPrecision":"Precision","measurementSnapping":"Snapping","formCreator":"Form Creator","group":"Group","ungroup":"Ungroup","bold":"Bold","italic":"Italic","addLink":"Add Link","removeLink":"Remove Link","editLink":"Edit Link","anonymous":"Anonymous","saveAndClose":"Save & Close","ceToggleFontMismatchTooltip":"Toggle font mismatch tooltip","ceFontMismatch":"The {arg0} font isn’t available or can’t be used to edit content in this document. Added or changed content will revert to a default font.","multiAnnotationsSelection":"Select Multiple Annotations","linkSettingsPopoverTitle":"Link Settings","linkTo":"Link To","uriLink":"Website","pageLink":"Page","invalidPageNumber":"Enter a valid page number.","invalidPageLink":"Enter a valid page link.","linkAnnotation":"Link","targetPageLink":"Page Number","rotation":"Rotation","unlockDocumentDescription":"You have to unlock this document to view it. Please enter the password in the field below.","commentDialogClosed":"Open comment thread started by {arg0}: “{arg1}”","moreComments":"More comments","linesCount":"{arg0, plural,\\none {{arg0} Line}\\nother {{arg0} Lines}\\n}","annotationsCount":"{arg0, plural,\\n=0 {No Annotations}\\none {{arg0} Annotation}\\nother {{arg0} Annotations}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} Page Selected}\\nother {{arg0} Pages Selected}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} comment}\\nother {{arg0} comments}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} Comment}\\nother {{arg0} Comments}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} more comment}\\nother {{arg0} more comments}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-en-GB-4d5acd288044c839.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-en-GB-4d5acd288044c839.js new file mode 100644 index 00000000..22998f1e --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-en-GB-4d5acd288044c839.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[6045],{29207:e=>{e.exports=JSON.parse('{"thumbnails":"Thumbnails","pageXofY":"Page {arg0} of {arg1}","XofY":"{arg0} of {arg1}","prevPage":"Previous Page","nextPage":"Next Page","goToPage":"Go to Page","gotoPageX":"Go to Page {arg0}","pageX":"Page {arg0}","pageLayout":"Page Layout","pageMode":"Page Mode","pageModeSingle":"Single","pageModeDouble":"Double","pageModeAutomatic":"Automatic","pageTransition":"Page Transition","pageTransitionContinuous":"Continuous","pageTransitionJump":"Jump","pageRotation":"Page Rotation","pageRotationLeft":"Rotate Left","pageRotationRight":"Rotate Right","zoomIn":"Zoom In","zoomOut":"Zoom Out","marqueeZoom":"Marquee Zoom","panMode":"Pan Mode","fitPage":"Fit Page","fitWidth":"Fit Width","annotations":"Annotations","noAnnotations":"No Annotations","bookmark":"Bookmark","bookmarks":"Bookmarks","noBookmarks":"No Bookmarks","newBookmark":"New Bookmark","addBookmark":"Add Bookmark","removeBookmark":"Remove Bookmark","loadingBookmarks":"Loading Bookmarks","deleteBookmarkConfirmMessage":"Are you sure you want to delete this bookmark?","deleteBookmarkConfirmAccessibilityLabel":"Confirm bookmark deletion","annotation":"Annotation","noteAnnotation":"Note","textAnnotation":"Text","inkAnnotation":"Drawing","highlightAnnotation":"Text Highlight","underlineAnnotation":"Underline","squiggleAnnotation":"Squiggle","strikeOutAnnotation":"Strikethrough","print":"Print","printPrepare":"Preparing document for printing…","searchDocument":"Search Document","searchPreviousMatch":"Previous","searchNextMatch":"Next","searchResultOf":"{arg0} of {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} tools, toggle menu","save":"Save","edit":"Edit","delete":"Delete","close":"Close","cancel":"Cancel","ok":"OK","done":"Done","clear":"Clear","date":"Date","time":"Time","name":"Name","color":"Colour","black":"Black","white":"White","blue":"Blue","red":"Red","green":"Green","orange":"Orange","lightOrange":"Light Orange","yellow":"Yellow","lightYellow":"Light Yellow","lightBlue":"Light Blue","lightRed":"Light Red","lightGreen":"Light Green","fuchsia":"Fuchsia","purple":"Purple","pink":"Pink","mauve":"Mauve","lightGrey":"Light Grey","grey":"Gray","darkGrey":"Dark Grey","noColor":"None","transparent":"Transparent","darkBlue":"Dark Blue","opacity":"Opacity","thickness":"Thickness","size":"Size","numberInPt":"{arg0} pt","font":"Font","fonts":"Fonts","allFonts":"All Fonts","alignment":"Alignment","alignmentLeft":"Left","alignmentRight":"Right","alignmentCenter":"Center","verticalAlignment":"Vertical Alignment","horizontalAlignment":"Horizontal Alignment","top":"Top","bottom":"Bottom","deleteAnnotationConfirmMessage":"Are you sure you want to delete this annotation?","deleteAnnotationConfirmAccessibilityLabel":"Confirm annotation deletion","fontFamilyUnsupported":"{arg0} (not supported)","sign":"Sign","signed":"Signed","signatures":"Signatures","addSignature":"Add Signature","clearSignature":"Clear Signature","storeSignature":"Store Signature","pleaseSignHere":"Please sign here","signing":"Signing…","password":"Password","unlock":"Unlock","passwordRequired":"Password Required","unlockThisDocument":"You have to unlock this document in order to view it. Please enter the password in the field below.","incorrectPassword":"The password you entered isn’t correct. Please try again.","blendMode":"Blend Mode","normal":"Normal","multiply":"Multiply","screenBlend":"Screen","overlay":"Overlay","darken":"Darken","lighten":"Lighten","colorDodge":"Colour Dodge","colorBurn":"Colour Burn","hardLight":"Hard Light","softLight":"Soft Light","difference":"Difference","exclusion":"Exclusion","multiple":"Multiple","linecaps-dasharray":"Line Style","dasharray":"Line Style","startLineCap":"Line Start","strokeDashArray":"Line Style","endLineCap":"Line End","lineAnnotation":"Line","rectangleAnnotation":"Rectangle","ellipseAnnotation":"Ellipse","polygonAnnotation":"Polygon","polylineAnnotation":"Polyline","solid":"Solid","narrowDots":"Narrow Dots","wideDots":"Wide Dots","narrowDashes":"Narrow Dashes","wideDashes":"Wide Dashes","none":"None","square":"Square","circle":"Circle","diamond":"Diamond","openArrow":"Open Arrow","closedArrow":"Closed Arrow","butt":"Butt","reverseOpenArrow":"Reverse Open Arrow","reverseClosedArrow":"Reverse Closed Arrow","slash":"Slash","fillColor":"Fill Colour","cloudy":"Cloudy","arrow":"Arrow","filePath":"File Path","unsupportedImageFormat":"Unsupported type for image annotation: {arg0}. Please use a JPEG or a PNG.","noOutline":"No Outline","outline":"Outline","imageAnnotation":"Image","selectImage":"Select Image","stampAnnotation":"Stamp","highlighter":"Freeform Highlight","textHighlighter":"Text Highlighter","pen":"Drawing","eraser":"Eraser","export":"Export","useAnExistingStampDesign":"Use an existing stamp design","createStamp":"Create Stamp","stampText":"Stamp Text","chooseColor":"Choose Colour","rejected":"Rejected","accepted":"Accepted","approved":"Approved","notApproved":"Not Approved","draft":"Draft","final":"Final","completed":"Completed","confidential":"Confidential","forPublicRelease":"For Public Release","notForPublicRelease":"Not For Public Release","forComment":"For Comment","void":"Void","preliminaryResults":"Preliminary Results","informationOnly":"Information Only","initialHere":"Initial Here","signHere":"Sign Here","witness":"Witness","asIs":"As Is","departmental":"Departmental","experimental":"Experimental","expired":"Expired","sold":"Sold","topSecret":"Top Secret","revised":"Revised","custom":"Custom","customStamp":"Custom Stamp","icon":"Icon","iconRightPointer":"Right Pointer","iconRightArrow":"Right Arrow","iconCheck":"Checkmark","iconCircle":"Ellipse","iconCross":"Cross","iconInsert":"Insert Text","iconNewParagraph":"New Paragraph","iconNote":"Text Note","iconComment":"Comment","iconParagraph":"Paragraph","iconHelp":"Help","iconStar":"Star","iconKey":"Key","documentEditor":"Document Editor","newPage":"New Page","removePage":"Delete Pages","duplicatePage":"Duplicate","rotatePageLeft":"Rotate Left","rotatePageRight":"Rotate Right","moveBefore":"Move Before","moveAfter":"Move After","selectNone":"Select None","selectAll":"Select All","saveAs":"Save As…","mergeDocument":"Import Document","undo":"Undo","redo":"Redo","openMoveDialog":"Move","move":"Move","instantModifiedWarning":"The document was modified and is now in read-only mode. Reload the page to fix this.","documentMergedHere":"Document will be merged here","digitalSignaturesAllValid":"The document has been digitally signed and all signatures are valid.","digitalSignaturesDocModified":"The document has been digitally signed, but it has been modified since it was signed.","digitalSignaturesSignatureWarning":"The document has been digitally signed, but at least one signature has problems.","digitalSignaturesSignatureWarningDocModified":"The document has been digitally signed, but it has been modified since it was signed and at least one signature has problems.","digitalSignaturesSignatureError":"The document has been digitally signed, but at least one signature is invalid.","digitalSignaturesSignatureErrorDocModified":"The document has been digitally signed, but it has been modified since it was signed and at least one signature is invalid.","signingInProgress":"Signing in progress","signingModalDesc":"Indicates that the current document is being signed","discardChanges":"Discard Changes","commentEditorLabel":"Add your comment…","reply":"Reply","comment":"Comment","comments":"Comments","showMore":"Show more","showLess":"Show less","deleteComment":"Delete Comment","deleteCommentConfirmMessage":"Are you sure you want to delete this comment?","deleteCommentConfirmAccessibilityLabel":"Confirm comment deletion","editContent":"Edit Content","commentOptions":"Comment Options","areaRedaction":"Area Redaction","textRedaction":"Text Redaction","redactionAnnotation":"Redaction","applyingRedactions":"Applying redactions","overlayTextPlaceholder":"Insert overlay text","outlineColor":"Outline Colour","overlayText":"Overlay Text","repeatText":"Repeat Text","preview":"Preview","applyRedactions":"Apply Redactions","markupAnnotationToolbar":"Markup annotation toolbar","documentViewport":"Document viewport","redactionInProgress":"Redaction in progress","redactionModalDesc":"Indicates that the current document is being redacted","commentAction":"Comment","printProgressModalDesc":"Indicates that a document is being prepared for printing","printProgressModal":"Printing in progress","documentEditorDesc":"Make changes to the current document","reloadDocumentDialog":"Confirm document reload","reloadDocumentDialogDesc":"Dialogue prompting the user to confirm reloading the document.","signatureDialog":"Signature","signatureDialogDesc":"This dialogue lets you select an ink signature to insert into the document. If you don\'t have stored signatures, you can create one using the canvas view.","stampAnnotationTemplatesDialog":"Stamp Annotation Templates","stampAnnotationTemplatesDialogDesc":"This dialogue lets you select a stamp annotation to insert into the document or create a custom stamp annotation with your own text.","selectedAnnotation":"Selected {arg0}","commentThread":"Comment thread","selectedAnnotationWithText":"Selected {arg0} with {arg1} as content","signature":"Signature","ElectronicSignatures_SignHereTypeHint":"Type Your Signature Above","ElectronicSignatures_SignHereDrawHint":"Sign Here","selectDragImage":"Select or Drag Image","replaceImage":"Replace Image","draw":"Draw","image":"Image","type":"Type","saveSignature":"Save Signature","loading":"Loading","selectedItem":"{arg0}, selected.","annotationDeleted":"Annotation deleted.","newAnnotationCreated":"New {arg0} annotation created.","bookmarkCreated":"Created bookmark.","bookmarkEdited":"Edited bookmark.","bookmarkDeleted":"Deleted bookmark.","cancelledEditingBookmark":"Cancelled bookmark editing.","selectAFileForImage":"Select a file for the new image annotation.","deleteAnnotationConfirmAccessibilityDescription":"Dialogue allowing you to confirm or cancel deleting the annotation.","deleteBookmarkConfirmAccessibilityDescription":"Dialogue allowing you to confirm or cancel deleting the bookmark.","deleteCommentConfirmAccessibilityDescription":"Dialogue allowing you to confirm or cancel deleting the comment.","resize":"Resize","resizeHandleTop":"Top","resizeHandleBottom":"Bottom","resizeHandleRight":"Right","resizeHandleLeft":"Left","cropCurrentPage":"Crop Current Page","cropCurrent":"Crop Current","cropAllPages":"Crop All Pages","cropAll":"Crop All","documentCrop":"Document Crop","Comparison_alignButtonTouch":"Align","Comparison_selectPoint":"Select Point","Comparison_documentOldTouch":"Old","Comparison_documentNewTouch":"New","Comparison_result":"Comparison","UserHint_description":"Select three points on both documents for manual alignment. For best results, choose points near the corners of the documents, ensuring the points are in the same order on both documents.","UserHint_dismissMessage":"Dismiss","Comparison_alignButton":"Align Documents","documentComparison":"Document Comparison","Comparison_documentOld":"Old Document","Comparison_documentNew":"New Document","Comparison_resetButton":"Reset","UserHint_Select":"Selecting Points","numberValidationBadFormat":"The value entered doesn’t match the format of the field [{arg0}]","dateValidationBadFormat":"Invalid date/time: Please ensure that the date/time exists. Field [{arg0}] should match format {arg1}","insertAfterPage":"Insert after page","docEditorMoveBeginningHint":"Type “0” to move the selected page(s) to the beginning of the document.","cloudyRectangleAnnotation":"Cloudy Rectangle","dashedRectangleAnnotation":"Dashed Rectangle","cloudyEllipseAnnotation":"Cloudy Ellipse","dashedEllipseAnnotation":"Dashed Ellipse","cloudyPolygonAnnotation":"Cloudy Polygon","dashedPolygonAnnotation":"Dashed Polygon","cloudAnnotation":"Cloud","rotateCounterclockwise":"Rotate anticlockwise","rotateClockwise":"Rotate clockwise","enterDescriptionHere":"Enter description here","addOption":"Add option","formDesignerPopoverTitle":"{formFieldType} Properties","formFieldNameExists":"A form field named {formFieldName} already exists. Please choose a different name.","styleSectionLabel":"{formFieldType} Style","formFieldName":"Form Field Name","defaultValue":"Default Value","multiLine":"Multiline","radioButtonFormFieldNameWarning":"To group the radio buttons, make sure they have the same form field names.","advanced":"Advanced","creatorName":"Creator Name","note":"Note","customData":"Custom Data","required":"Required","readOnly":"Read Only","createdAt":"Created At","updatedAt":"Updated At","customDataErrorMessage":"Must be a plain JSON-serializable object","borderColor":"Border Colour","borderWidth":"Border Width","borderStyle":"Border Style","solidBorder":"Solid","dashed":"Dashed","beveled":"Beveled","inset":"Inset","underline":"Underlined","textStyle":"Text Style","fontSize":"Font Size","fontColor":"Font Colour","button":"Button Field","textField":"Text Field","radioField":"Radio Field","checkboxField":"Checkbox Field","comboBoxField":"Combo Box Field","listBoxField":"List Box Field","signatureField":"Signature Field","formDesigner":"Form Creator","buttonText":"Button Text","notAvailable":"N/A","label":"Label","value":"Value","cannotEditOnceCreated":"Cannot be edited once created.","formFieldNameNotEmpty":"Form field name cannot be left empty.","mediaAnnotation":"Media Annotation","mediaFormatNotSupported":"This browser doesn’t support embedded video or audio.","distanceMeasurement":"Distance","perimeterMeasurement":"Perimeter","polygonAreaMeasurement":"Polygon Area","rectangularAreaMeasurement":"Rectangle Area","ellipseAreaMeasurement":"Ellipse Area","distanceMeasurementSettings":"Distance Measurement Settings","perimeterMeasurementSettings":"Perimeter Measurement Settings","polygonAreaMeasurementSettings":"Polygon Area Measurement Settings","rectangularAreaMeasurementSettings":"Rectangle Area Measurement Settings","ellipseAreaMeasurementSettings":"Ellipse Area Measurement Settings","measurementScale":"Scale","measurementCalibrateLength":"Calibrate Length","measurementPrecision":"Precision","measurementSnapping":"Snapping","formCreator":"Form Creator","group":"Group","ungroup":"Ungroup","bold":"Bold","italic":"Italic","addLink":"Add Link","removeLink":"Remove Link","editLink":"Edit Link","anonymous":"Anonymous","saveAndClose":"Save & Close","ceToggleFontMismatchTooltip":"Toggle font mismatch tooltip","ceFontMismatch":"The {arg0} font isn’t available or can’t be used to edit content in this document. Added or changed content will revert to a default font.","multiAnnotationsSelection":"Select Multiple Annotations","linkSettingsPopoverTitle":"Link Settings","linkTo":"Link To","uriLink":"Website","pageLink":"Page","invalidPageNumber":"Enter a valid page number.","invalidPageLink":"Enter a valid page link.","linkAnnotation":"Link","targetPageLink":"Page Number","rotation":"Rotation","unlockDocumentDescription":"You have to unlock this document to view it. Please enter the password in the field below.","commentDialogClosed":"Open comment thread started by {arg0}: \\\\“{arg1}\\\\”","moreComments":"More comments","linesCount":"{arg0, plural,\\none {{arg0} Line}\\nother {{arg0} Lines}\\n}","annotationsCount":"{arg0, plural,\\n=0 {No Annotations}\\none {{arg0} Annotation}\\nother {{arg0} Annotations}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} Page Selected}\\nother {{arg0} Pages Selected}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} comment}\\nother {{arg0} comments}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} Comment}\\nother {{arg0} Comments}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} more comment}\\nother {{arg0} more comments}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-es-c069c1546145b62d.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-es-c069c1546145b62d.js new file mode 100644 index 00000000..daa4bd84 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-es-c069c1546145b62d.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[473],{59657:e=>{e.exports=JSON.parse('{"thumbnails":"Miniaturas","pageXofY":"Página {arg0} de {arg1}","XofY":"{arg0} de {arg1}","prevPage":"Página anterior","nextPage":"Página siguiente","goToPage":"Ir a la página","gotoPageX":"Ir a la página {arg0}","pageX":"Página {arg0}","pageLayout":"Presentación de página","pageMode":"Modo de página","pageModeSingle":"Individual","pageModeDouble":"Doble","pageModeAutomatic":"Automático","pageTransition":"Transición de página","pageTransitionContinuous":"Continuo","pageTransitionJump":"Salto","pageRotation":"Giro de página","pageRotationLeft":"Girar a la izquierda","pageRotationRight":"Girar a la derecha","zoomIn":"Acercar","zoomOut":"Alejar","marqueeZoom":"Zoom con marco","panMode":"Modo de arrastre","fitPage":"Encajar página","fitWidth":"Encajar ancho","annotations":"Anotaciones","noAnnotations":"No hay anotaciones","bookmark":"Marcador","bookmarks":"Marcadores","noBookmarks":"No hay marcadores","newBookmark":"Nuevo marcador","addBookmark":"Añadir marcador","removeBookmark":"Eliminar marcador","loadingBookmarks":"Cargando marcadores","deleteBookmarkConfirmMessage":"¿Seguro que desea eliminar este marcador?","deleteBookmarkConfirmAccessibilityLabel":"Confirmar eliminación de marcador","annotation":"Anotación","noteAnnotation":"Nota","textAnnotation":"Texto","inkAnnotation":"Dibujo","highlightAnnotation":"Resaltado de texto","underlineAnnotation":"Subrayado","squiggleAnnotation":"Garabato","strikeOutAnnotation":"Tachado","print":"Imprimir","printPrepare":"Preparando documento para imprimir…","searchDocument":"Buscar en documento","searchPreviousMatch":"Anterior","searchNextMatch":"Siguiente","searchResultOf":"{arg0} de {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} herramientas, conmutar menú","save":"Guardar","edit":"Editar","delete":"Eliminar","close":"Cerrar","cancel":"Cancelar","ok":"Aceptar","done":"OK","clear":"Borrar","date":"Fecha","time":"Hora","name":"Nombre","color":"Color","black":"Negro","white":"Blanco","blue":"Azul","red":"Rojo","green":"Verde","orange":"Naranja","lightOrange":"Naranja claro","yellow":"Amarillo","lightYellow":"Amarillo claro","lightBlue":"Azul claro","lightRed":"Rojo claro","lightGreen":"Verde claro","fuchsia":"Fucsia","purple":"Violeta","pink":"Rosa","mauve":"Malva","lightGrey":"Gris claro","grey":"Gris","darkGrey":"Gris oscuro","noColor":"Ninguna","transparent":"Transparente","darkBlue":"Azul oscuro","opacity":"Opacidad","thickness":"Grosor","size":"Tamaño","numberInPt":"{arg0} pt","font":"Tipo de letra","fonts":"Tipos de letra","allFonts":"Todos los tipos de letra","alignment":"Alineación","alignmentLeft":"Izquierda","alignmentRight":"Derecha","alignmentCenter":"Centrar","verticalAlignment":"Alineación vertical","horizontalAlignment":"Alineación horizontal","top":"Arriba","bottom":"Abajo","deleteAnnotationConfirmMessage":"¿Seguro que desea eliminar esta anotación?","deleteAnnotationConfirmAccessibilityLabel":"Confirmar eliminación de anotación","fontFamilyUnsupported":"{arg0} (no admitido)","sign":"Firmar","signed":"Firmado","signatures":"Firmas","addSignature":"Añadir firma","clearSignature":"Borrar firma","storeSignature":"Almacenar firma","pleaseSignHere":"Firme aquí","signing":"Firmando…","password":"Contraseña","unlock":"Desbloquear","passwordRequired":"Contraseña obligatoria","unlockThisDocument":"Debe desbloquear este documento para verlo. Por favor, escriba la contraseña en el campo de abajo.","incorrectPassword":"La contraseña introducida no es correcta. Vuelva a intentarlo.","blendMode":"Modo de fusión","normal":"Normal","multiply":"Multiplicar","screenBlend":"Trama","overlay":"Superponer","darken":"Oscurecer","lighten":"Aclarar","colorDodge":"Sobreexponer color","colorBurn":"Subexponer color","hardLight":"Luz fuerte","softLight":"Luz suave","difference":"Diferencia","exclusion":"Exclusión","multiple":"Varios","linecaps-dasharray":"Estilo de línea","dasharray":"Estilo de línea","startLineCap":"Inicio","strokeDashArray":"Estilo de línea","endLineCap":"Fin de línea","lineAnnotation":"Línea","rectangleAnnotation":"Rectángulo","ellipseAnnotation":"Elipse","polygonAnnotation":"Polígono","polylineAnnotation":"Polilínea","solid":"Sólido","narrowDots":"Puntos estrechos","wideDots":"Puntos anchos","narrowDashes":"Rayas estrechas","wideDashes":"Rayas anchas","none":"Ninguna","square":"Cuadrado","circle":"Círculo","diamond":"Diamante","openArrow":"Flecha abierta","closedArrow":"Flecha cerrada","butt":"Romo","reverseOpenArrow":"Flecha abierta invertida","reverseClosedArrow":"Flecha cerrada invertida","slash":"Barra","fillColor":"Color de relleno","cloudy":"Nube","arrow":"Flecha","filePath":"Ruta del archivo","unsupportedImageFormat":"Tipo no admitido para anotaciones de imagen: {arg0}. Use una imagen JPEG o PNG.","noOutline":"Sin contorno","outline":"Contorno","imageAnnotation":"Imagen","selectImage":"Seleccionar imagen","stampAnnotation":"Sello","highlighter":"Resaltado libre","textHighlighter":"Resaltar texto","pen":"Dibujo","eraser":"Borrador","export":"Exportar","useAnExistingStampDesign":"Usar un diseño de sello existente","createStamp":"Crear sello","stampText":"Texto del sello","chooseColor":"Seleccionar color","rejected":"Rechazado","accepted":"Aceptado","approved":"Aprobado","notApproved":"No aprobado","draft":"Borrador","final":"Definitivo","completed":"Completado","confidential":"Confidencial","forPublicRelease":"Para divulgar","notForPublicRelease":"No divulgar","forComment":"Añadir comentario","void":"Nulo","preliminaryResults":"Resultados preliminares","informationOnly":"Solo informativo","initialHere":"Iniciales aquí","signHere":"Firmar aquí","witness":"Testigo","asIs":"Tal cual","departmental":"Departamental","experimental":"Experimental","expired":"Caducado","sold":"Vendido","topSecret":"Top Secret","revised":"Revisado","custom":"Personalizado","customStamp":"Sello personalizado","icon":"Icono","iconRightPointer":"Puntero derecho","iconRightArrow":"Flecha derecha","iconCheck":"Marca de verificación","iconCircle":"Elipse","iconCross":"Cruz","iconInsert":"Insertar texto","iconNewParagraph":"Nuevo párrafo","iconNote":"Nota de texto","iconComment":"Comentario","iconParagraph":"Párrafo","iconHelp":"Ayuda","iconStar":"Estrella","iconKey":"Clave","documentEditor":"Editor de documentos","newPage":"Nueva página","removePage":"Eliminar páginas","duplicatePage":"Duplicar","rotatePageLeft":"Girar a la izquierda","rotatePageRight":"Girar a la derecha","moveBefore":"Mover atrás","moveAfter":"Mover adelante","selectNone":"No seleccionar nada","selectAll":"Seleccionar todo","saveAs":"Guardar como…","mergeDocument":"Importar documento","undo":"Deshacer","redo":"Rehacer","openMoveDialog":"Mover","move":"Mover","instantModifiedWarning":"El documento se ha modificado y ahora está en modo de solo lectura. Recargue la página para corregir esto.","documentMergedHere":"El documento se combinará aquí","digitalSignaturesAllValid":"El documento se ha firmado digitalmente y todas las firmas son válidas.","digitalSignaturesDocModified":"El documento se ha firmado digitalmente, pero se ha modificado después de que se firmara.","digitalSignaturesSignatureWarning":"El documento se ha firmado digitalmente, pero hay problemas al menos con una firma.","digitalSignaturesSignatureWarningDocModified":"El documento se ha firmado digitalmente, pero se ha modificado después de que se firmara y hay problemas al menos con una firma.","digitalSignaturesSignatureError":"El documento se ha firmado digitalmente, pero al menos una firma no es válida.","digitalSignaturesSignatureErrorDocModified":"El documento se ha firmado digitalmente, pero se ha modificado después de que se firmara y al menos una firma no es válida.","signingInProgress":"Firma en curso","signingModalDesc":"Indica que el documento actual se está firmando","discardChanges":"Descartar cambios","commentEditorLabel":"Escriba la respuesta…","reply":"Responder","comment":"Comentario","comments":"Comentarios","showMore":"Ver más","showLess":"Ver menos","deleteComment":"Eliminar comentario","deleteCommentConfirmMessage":"¿Seguro que desea eliminar este comentario?","deleteCommentConfirmAccessibilityLabel":"Confirmar eliminación de comentario","editContent":"Editar contenido","commentOptions":"Opciones de comentario","areaRedaction":"Censura de zona","textRedaction":"Censura de texto","redactionAnnotation":"Censura","applyingRedactions":"Aplicando censuras","overlayTextPlaceholder":"Insertar texto superpuesto","outlineColor":"Color de contorno","overlayText":"Superponer texto","repeatText":"Repetir texto","preview":"Previsualizar","applyRedactions":"Aplicar censuras","markupAnnotationToolbar":"Barra de herramientas de anotaciones","documentViewport":"Ventanilla de documento","redactionInProgress":"Censurado en curso","redactionModalDesc":"Indica que el documento actual se está censurando","commentAction":"Comentar","printProgressModalDesc":"Indica que un documento se está preparando para imprimir","printProgressModal":"Impresión en curso","documentEditorDesc":"Hacer cambios al documento actual","reloadDocumentDialog":"Confirmar recarga del documento","reloadDocumentDialogDesc":"Diálogo que pide al usuario que confirme si se debe recargar el documento.","signatureDialog":"Firma","signatureDialogDesc":"Este diálogo permite seleccionar una firma manual para insertar la en el documento. Si no tiene almacenada ninguna firma manual, puede crear una usando la vista del lienzo.","stampAnnotationTemplatesDialog":"Plantillas de sellos de anotación","stampAnnotationTemplatesDialogDesc":"Este diálogo permite seleccionar un sello de anotación para insertarlo en el documento, o bien crear un sello de anotación personalizado con su propio texto.","selectedAnnotation":"Se ha seleccionado {arg0}","commentThread":"Hilo de comentarios","selectedAnnotationWithText":"Se ha seleccionado {arg0} con {arg1} como contenido","signature":"Firma","ElectronicSignatures_SignHereTypeHint":"Escriba su firma arriba","ElectronicSignatures_SignHereDrawHint":"Firmar aquí","selectDragImage":"Seleccione o arrastre una imagen","replaceImage":"Reemplazar imagen","draw":"Dibujar","image":"Imagen","type":"Escribir","saveSignature":"Guardar firma","loading":"Cargando","selectedItem":"{arg0}, seleccionado.","annotationDeleted":"Anotación eliminada.","newAnnotationCreated":"Nueva anotación de {arg0} creada.","bookmarkCreated":"El marcador se ha creado.","bookmarkEdited":"El marcador se ha editado.","bookmarkDeleted":"El marcador se ha elimiado.","cancelledEditingBookmark":"Se ha cancelado la edición del marcador.","selectAFileForImage":"Seleccione un archivo para la nueva anotación de imagen.","deleteAnnotationConfirmAccessibilityDescription":"Diálogo que permite confirmar o cancelar la eliminación de la anotación.","deleteBookmarkConfirmAccessibilityDescription":"Diálogo que permite confirmar o cancelar la eliminación del marcador.","deleteCommentConfirmAccessibilityDescription":"Diálogo que permite confirmar o cancelar la eliminación del comentario.","resize":"Redimensionar","resizeHandleTop":"Superior","resizeHandleBottom":"Inferior","resizeHandleRight":"Derecho","resizeHandleLeft":"Izquierdo","cropCurrentPage":"Recortar página actual","cropCurrent":"Recortar actual","cropAllPages":"Recortar todas las páginas","cropAll":"Recortar todas","documentCrop":"Recortar documento","Comparison_alignButtonTouch":"Alinear","Comparison_selectPoint":"Seleccionar punto","Comparison_documentOldTouch":"Antiguo","Comparison_documentNewTouch":"Nuevo","Comparison_result":"Comparativa","UserHint_description":"Seleccione tres puntos en ambos documentos para alinearlos manualmente. Para obtener un resultado óptimo, seleccione tres puntos próximos a las esquinas de los documentos y hágalo en el mismo orden en ambos documentos.","UserHint_dismissMessage":"Descartar","Comparison_alignButton":"Alinear documentos","documentComparison":"Comparar documentos","Comparison_documentOld":"Documento antiguo","Comparison_documentNew":"Nuevo documento","Comparison_resetButton":"Restablecer","UserHint_Select":"Selección de puntos","numberValidationBadFormat":"El valor introducido no coincide con el formato del campo [{arg0}]","dateValidationBadFormat":"Fecha/hora no válidas: compruebe que la fecha/hora existen. El campo [{arg0}] debe tener el formato {arg1}","insertAfterPage":"Insertar tras la página","docEditorMoveBeginningHint":"Escriba «0» para mover las páginas seleccionadas al principio del documento.","cloudyRectangleAnnotation":"Rectángulo de nube","dashedRectangleAnnotation":"Rectángulo discontinuo","cloudyEllipseAnnotation":"Elipse de nube","dashedEllipseAnnotation":"Elipse discontinua","cloudyPolygonAnnotation":"Polígono de nube","dashedPolygonAnnotation":"Polígono discontinuo","cloudAnnotation":"Nube","rotateCounterclockwise":"Girar a la izquierda","rotateClockwise":"Girar a la derecha","enterDescriptionHere":"Escriba aquí la descripción","addOption":"Añadir opción","formDesignerPopoverTitle":"Propiedades de {formFieldType}","formFieldNameExists":"Ya hay un campo de formulario con el nombre {formFieldName}. Seleccione otro nombre.","styleSectionLabel":"Stilo de {formFieldType}","formFieldName":"Nombre de campo de formulario","defaultValue":"Valor predeterminado","multiLine":"Varias líneas","radioButtonFormFieldNameWarning":"Para agrupar los selectores de opción, deben tener el mismo nombre de campo de formulario.","advanced":"Avanzado","creatorName":"Nombre de creador","note":"Nota","customData":"Datos personalizados","required":"Obligatorio","readOnly":"Solo lectura","createdAt":"Creado el","updatedAt":"Actualizado el","customDataErrorMessage":"Debe ser un objeto sencillo serializable por JSON","borderColor":"Color de borde","borderWidth":"Grosor de borde","borderStyle":"Estilo de borde","solidBorder":"Continuo","dashed":"Discontinuo","beveled":"Biselado","inset":"Interior","underline":"Subrayado","textStyle":"Estilo de texto","fontSize":"Tamaño","fontColor":"Color","button":"Campo botón","textField":"Campo de texto","radioField":"Campo de selector","checkboxField":"Campo de casilla de verificación","comboBoxField":"Campo de cuadro combinado","listBoxField":"Campo de cuadro de lista","signatureField":"Campo de firma","formDesigner":"Creador de formularios","buttonText":"Texto de botón","notAvailable":"n/d","label":"Etiqueta","value":"Valor","cannotEditOnceCreated":"No se puede editar después de haberlo creado.","formFieldNameNotEmpty":"El nombre del campo de formulario no puede quedar vacío.","mediaAnnotation":"Anotación multimedia","mediaFormatNotSupported":"Este navegador no es compatible con el audio ni el vídeo incrustado.","distanceMeasurement":"Distancia","perimeterMeasurement":"Perímetro","polygonAreaMeasurement":"Superficie de polígono","rectangularAreaMeasurement":"Superficie de rectángulo","ellipseAreaMeasurement":"Superficie de elipse","distanceMeasurementSettings":"Opciones de medición de distancia","perimeterMeasurementSettings":"Opciones de medición de perímetro","polygonAreaMeasurementSettings":"Opciones de medición de área de polígono","rectangularAreaMeasurementSettings":"Opciones de medición de área de rectángulo","ellipseAreaMeasurementSettings":"Opciones de medición de área de elipse","measurementScale":"Escala","measurementCalibrateLength":"Calibrar longitud","measurementPrecision":"Precisión","measurementSnapping":"Ajuste automático","formCreator":"Creador de formularios","group":"Agrupar","ungroup":"Desagrupar","bold":"Negrita","italic":"Cursiva","addLink":"Añadir enlace","removeLink":"Eliminar enlace","editLink":"Editar enlace","anonymous":"Anónimo","saveAndClose":"Guardar y cerrar","ceToggleFontMismatchTooltip":"Activar/desactivar aviso de error de fuente","ceFontMismatch":"La fuente {arg0} no está disponible o no se puede usar para editar contenido en este documento. El contenido añadido o editado se cambiará a una fuente predeterminada.","multiAnnotationsSelection":"Seleccionar varias anotaciones","linkSettingsPopoverTitle":"Opciones del enlace","linkTo":"Enlazar a","uriLink":"Sitio web","pageLink":"Página","invalidPageNumber":"Introduzca un número válido de página.","invalidPageLink":"Introduzca un enlace válido de página.","linkAnnotation":"Enlace","targetPageLink":"Número de página","rotation":"Giro","unlockDocumentDescription":"Debe desbloquear este documento para verlo. Escriba la contraseña en el campo de abajo.","commentDialogClosed":"Abrir hilo de comentarios iniciado por {arg0}: «{arg1}»","moreComments":"Más comentarios","linesCount":"{arg0, plural,\\none {{arg0} línea}\\nother {{arg0} líneas}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} anotación}\\nother {{arg0} anotaciones}\\n=0 {Ninguna anotación}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} página seleccionada}\\nother {{arg0} páginas seleccionadas}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} comentario}\\nother {{arg0} comentarios}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} comentario}\\nother {{arg0} comentarios}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} comentario más}\\nother {{arg0} comentarios más}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-fi-52aa14db91f4c3e0.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-fi-52aa14db91f4c3e0.js new file mode 100644 index 00000000..baebd2fb --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-fi-52aa14db91f4c3e0.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[9390],{5317:e=>{e.exports=JSON.parse('{"thumbnails":"Esikatselukuvakkeet","pageXofY":"Sivu {arg0} / {arg1}","XofY":"{arg0} / {arg1}","prevPage":"Edellinen sivu","nextPage":"Seuraava sivu","goToPage":"Mene sivulle","gotoPageX":"Mene sivulle {arg0}","pageX":"Sivu {arg0}","pageLayout":"Sivun asettelu","pageMode":"Sivunäkymä","pageModeSingle":"Yksi sivu","pageModeDouble":"Kahtena sivuna","pageModeAutomatic":"Automaattinen","pageTransition":"Sivusiirros","pageTransitionContinuous":"Jatkuva","pageTransitionJump":"Hyppy","pageRotation":"Sivun kääntö","pageRotationLeft":"Käännä vasemmalle","pageRotationRight":"Käännä oikealle","zoomIn":"Lähennä","zoomOut":"Loitonna","marqueeZoom":"Valinnan zoomaus","panMode":"Panorointimoodi","fitPage":"Sovita sivulle","fitWidth":"Sovita leveys","annotations":"Merkinnät","noAnnotations":"Ei merkintöjä","bookmark":"Kirjanmerkki","bookmarks":"Kirjanmerkit","noBookmarks":"Ei kirjanmerkkejä","newBookmark":"Uusi kirjanmerkki","addBookmark":"Lisää kirjanmerkki","removeBookmark":"Poista kirjanmerkki","loadingBookmarks":"Lataa kirjanmerkkejä","deleteBookmarkConfirmMessage":"Haluatko varmasti poistaa tämän kirjanmerkin?","deleteBookmarkConfirmAccessibilityLabel":"Vahvista kirjanmerkin poisto","annotation":"Merkintä","noteAnnotation":"Merkintä","textAnnotation":"Teksti","inkAnnotation":"Piirustus","highlightAnnotation":"Tekstin korostus","underlineAnnotation":"Alleviivaus","squiggleAnnotation":"Kiemura","strikeOutAnnotation":"Yliviivaus","print":"Tulosta","printPrepare":"Valmistellaan dokumenttia tulostettavaksi…","searchDocument":"Etsi dokumentista","searchPreviousMatch":"Edellinen","searchNextMatch":"Seuraava","searchResultOf":"{arg0} / {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} -työkalut, näytä valikko","save":"Tallenna","edit":"Muokkaa","delete":"Poista","close":"Sulje","cancel":"Kumoa","ok":"OK","done":"Valmis","clear":"Tyhjennä","date":"Päivämäärä","time":"Aika","name":"Nimi","color":"Väri","black":"Musta","white":"Valkoinen","blue":"Sininen","red":"Punainen","green":"Vihreä","orange":"Oranssi","lightOrange":"Vaalean oranssi","yellow":"Keltainen","lightYellow":"Vaalean keltainen","lightBlue":"Vaaleansininen","lightRed":"Vaaleanpunainen","lightGreen":"Vaaleanvihreä","fuchsia":"Fuksia","purple":"Violetti","pink":"Pinkki","mauve":"Malvanvärinen","lightGrey":"Vaalean harmaa","grey":"Harmaa","darkGrey":"Tumman harmaa","noColor":"Ei mitään","transparent":"Läpinäkyvä","darkBlue":"Tummansininen","opacity":"Peittävyys","thickness":"Paksuus","size":"Koko","numberInPt":"{arg0} pt","font":"Kirjasin","fonts":"Kirjasimet","allFonts":"Kaikki kirjasimet","alignment":"Tasaus","alignmentLeft":"Vasen","alignmentRight":"Oikea","alignmentCenter":"Keskitä","verticalAlignment":"Tasaus pystysuunnassa","horizontalAlignment":"Tasaus vaakatasossa","top":"Yläosa","bottom":"Alaosa","deleteAnnotationConfirmMessage":"Haluatko varmasti poistaa tämän merkinnän?","deleteAnnotationConfirmAccessibilityLabel":"Vahvista merkinnän poisto","fontFamilyUnsupported":"{arg0} (ei tuettu)","sign":"Allekirjoita","signed":"Allekirjoitettu","signatures":"Allekirjoitukset","addSignature":"Lisää allekirjoitus","clearSignature":"Tyhjennä allekirjoitus","storeSignature":"Tallenna allekirjoitus","pleaseSignHere":"Allekirjoitus tähän","signing":"Allekirjoitetaan…","password":"Salasana","unlock":"Avaa","passwordRequired":"Salasana vaaditaan","unlockThisDocument":"Tämän dokumentin salaus pitää avata, jotta sitä voi katsoa. Ole hyvä ja syötä salasana alla olevaan kenttään.","incorrectPassword":"Syöttämäsi salasana ei ole oikea. Ole hyvä ja yritä uudelleen.","blendMode":"Sekoitustila","normal":"Normaali","multiply":"Kertova","screenBlend":"Rasteri","overlay":"Peittävä","darken":"Tummentava","lighten":"Vaalentava","colorDodge":"Värivarjostus","colorBurn":"Värilisävalotus","hardLight":"Kova valo","softLight":"Pehmeä valo","difference":"Erottava","exclusion":"Poistava","multiple":"Monta","linecaps-dasharray":"Viivatyyli","dasharray":"Viivatyyli","startLineCap":"Viivan alku","strokeDashArray":"Viivatyyli","endLineCap":"Viivan pää","lineAnnotation":"Viiva","rectangleAnnotation":"Suorakulmio","ellipseAnnotation":"Ellipsi","polygonAnnotation":"Monikulmio","polylineAnnotation":"Murtoviiva","solid":"Tasainen","narrowDots":"Kapeat pisteet","wideDots":"Leveät pisteet","narrowDashes":"Kapeat viivat","wideDashes":"Leveät viivat","none":"Ei mitään","square":"Neliö","circle":"Ympyrä","diamond":"Vinoneliö","openArrow":"Avoin nuoli","closedArrow":"Suljettu nuoli","butt":"Perä","reverseOpenArrow":"Käänteinen avoin nuoli","reverseClosedArrow":"Käänteinen suljettu nuoli","slash":"Kauttaviiva","fillColor":"Täyttöväri","cloudy":"Pilvinen","arrow":"Nuoli","filePath":"Tiedoston polku","unsupportedImageFormat":"Kuvamerkintä ei tue tyyppiä: {arg0}. Käytä tiedostomuotoja JPEG tai PNG.","noOutline":"Ei runkoa","outline":"Runko","imageAnnotation":"Kuva","selectImage":"Valitse kuva","stampAnnotation":"Leima","highlighter":"Vapaamuotoinen korostus","textHighlighter":"Tekstin korostus","pen":"Piirustus","eraser":"Pyyhin","export":"Vienti","useAnExistingStampDesign":"Käytä valmista leimasinta","createStamp":"Luo leima","stampText":"Leiman teksti","chooseColor":"Valitse väri","rejected":"Hylätty","accepted":"Hyväksytty","approved":"Hyväksytty","notApproved":"Ei hyväksytty","draft":"Luonnos","final":"Lopullinen","completed":"Valmiit","confidential":"Salassa pidettävää","forPublicRelease":"Yleiseen jakeluun","notForPublicRelease":"Ei yleiseen jakeluun","forComment":"Kommentoitavaksi","void":"Tyhjä","preliminaryResults":"Alustavat tulokset","informationOnly":"Vain informaatio","initialHere":"Nimikirjaimet tähän","signHere":"Allekirjoitus tähän","witness":"Todistaja","asIs":"Sellaisenaan","departmental":"Osasto","experimental":"Kokeellinen","expired":"Erääntynyt","sold":"Myyty","topSecret":"Huippusalainen","revised":"Muokattu","custom":"Muokattu","customStamp":"Oma leimasin","icon":"Kuvake","iconRightPointer":"Osoitin oikealle","iconRightArrow":"Nuoli oikealle","iconCheck":"Tarkistusmerkki","iconCircle":"Ellipsi","iconCross":"Rasti","iconInsert":"Lisää tekstiä","iconNewParagraph":"Uusi kappale","iconNote":"Tekstimerkintä","iconComment":"Kommentti","iconParagraph":"Kappale","iconHelp":"Ohje","iconStar":"Tähti","iconKey":"Avain","documentEditor":"Dokumenttieditori","newPage":"Uusi sivu","removePage":"Poista sivuja","duplicatePage":"Jäljennä","rotatePageLeft":"Käännä vasemmalle","rotatePageRight":"Käännä oikealle","moveBefore":"Siirrä ennen","moveAfter":"Siirrä jälkeen","selectNone":"Älä valitse mitään","selectAll":"Valitse kaikki","saveAs":"Tallenna nimellä…","mergeDocument":"Tuo Dokumentti","undo":"Peru","redo":"Tee sittenkin","openMoveDialog":"Siirrä","move":"Siirrä","instantModifiedWarning":"Tätä dokumenttia on muutettu ja se on vain luku -tilassa. Korjaa tämä lataamalla sivu uudelleen.","documentMergedHere":"Dokumentti yhdistetään tässä","digitalSignaturesAllValid":"Dokumentti on allekirjoitettu digitaalisesti ja kaikki allekirjoitukset ovat voimassa.","digitalSignaturesDocModified":"Dokumentti on allekirjoitettu digitaalisesti, mutta sitä on muutettu allekirjoituksen jälkeen.","digitalSignaturesSignatureWarning":"Dokumentti on allekirjoitettu digitaalisesti, mutta ainakin yhdessä allekirjoituksessa on ongelmia.","digitalSignaturesSignatureWarningDocModified":"Dokumentti on allekirjoitettu digitaalisesti, mutta sitä on muutettu allekirjoituksen jälkeen ja ainakin yhdessä allekirjoituksessa on ongelmia.","digitalSignaturesSignatureError":"Dokumentti on allekirjoitettu digitaalisesti, mutta ainakin yksi allekirjoitus on virheellinen.","digitalSignaturesSignatureErrorDocModified":"Dokumentti on allekirjoitettu digitaalisesti, mutta sitä on muutettu allekirjoituksen jälkeen ja ainakin yksi allekirjoitus on virheellinen.","signingInProgress":"Allekirjoitus kesken","signingModalDesc":"Ilmaisee, että nykyinen dokumentti on allekirjoitettavana","discardChanges":"Hylkää muutokset","commentEditorLabel":"Lisää kommenttisi…","reply":"Vastaa","comment":"Kommentti","comments":"Kommentit","showMore":"Näytä lisää","showLess":"Näytä vähemmän","deleteComment":"Poista kommentti","deleteCommentConfirmMessage":"Haluatko varmasti poistaa tämän kommentin?","deleteCommentConfirmAccessibilityLabel":"Vahvista commenting poistaminen","editContent":"Muokkaa sisältöä","commentOptions":"Kommentointivaihtoehdot","areaRedaction":"Alueen hävitys","textRedaction":"Tekstin hävitys","redactionAnnotation":"Hävittäminen","applyingRedactions":"Hävityksiä suoritetaan","overlayTextPlaceholder":"Aseta peittävä teksti","outlineColor":"Reunan väri","overlayText":"Peittävä teksti","repeatText":"Toista teksti","preview":"Esikatselu","applyRedactions":"Suorita hävitys","markupAnnotationToolbar":"Huomautusmerkintöjen työkalupalkki","documentViewport":"Dokumentin näyttöikkuna","redactionInProgress":"Hävitysoperaatiota suoritetaan","redactionModalDesc":"Ilmaisee, että nykyisen dokumentin hävitysoperaatioita suoritetaan","commentAction":"Kommentoi","printProgressModalDesc":"Ilmaisee, että dokumenttia valmistellaan tulostusta varten","printProgressModal":"Tulostus meneillään","documentEditorDesc":"Tee muutoksia nykyiseen dokumenttiin","reloadDocumentDialog":"Vahvista dokumentin uudelleenlataus","reloadDocumentDialogDesc":"Dialogi, jossa käyttäjää pyydetään vahvistamaan dokumentin lataus uudelleen.","signatureDialog":"Allekirjoitus","signatureDialogDesc":"Tässä dialogissa voit valita dokumenttiin lisättävän musteallekirjoituksen. Ellei allekirjoituksia ole tallennettuna, voit luoda uuden käyttämällä piirtoaluenäkymää.","stampAnnotationTemplatesDialog":"Leimamerkintämallit","stampAnnotationTemplatesDialogDesc":"Tässä dialogissa voit valita dokumenttiin lisättävän leimamerkinnän tai luoda oman leimamerkinnän omalla tekstilläsi.","selectedAnnotation":"Valittu {arg0}","commentThread":"Kommenttisäie","selectedAnnotationWithText":"Valittu {arg0}, sisältää {arg1}","signature":"Allekirjoitus","ElectronicSignatures_SignHereTypeHint":"Syötä allekirjoituksesi yläpuolelle","ElectronicSignatures_SignHereDrawHint":"Allekirjoita tähän","selectDragImage":"Valitse tai raahaa kuva","replaceImage":"Korvaa kuva","draw":"Piirrä","image":"Kuva","type":"Syötä","saveSignature":"Tallenna allekirjoitus","loading":"Ladataan","selectedItem":"{arg0}, valittu.","annotationDeleted":"Merkintä poistettu.","newAnnotationCreated":"Uusi {arg0} -merkintä luotu.","bookmarkCreated":"Luotu kirjanmerkki.","bookmarkEdited":"Muokattu kirjanmerkki.","bookmarkDeleted":"Poistettu kirjanmerkki.","cancelledEditingBookmark":"Peruutettu kirjanmerkin muutos.","selectAFileForImage":"Valitse tiedosto merkinnän uutta kuvaa varten.","deleteAnnotationConfirmAccessibilityDescription":"Dialogi, jossa voit vahvistaa tai poistaa merkinnän.","deleteBookmarkConfirmAccessibilityDescription":"Dialogi, jossa voit vahvistaa tai perua kirjanmerkin poistamisen.","deleteCommentConfirmAccessibilityDescription":"Dialogi, jossa voit vahvistaa tai poistaa kommentin.","resize":"Muuta kokoa","resizeHandleTop":"Yläosa","resizeHandleBottom":"Alaosa","resizeHandleRight":"Oikea","resizeHandleLeft":"Vasen","cropCurrentPage":"Rajaa tämä sivu","cropCurrent":"Rajaa tämä","cropAllPages":"Rajaa kaikki sivut","cropAll":"Rajaa kaikki","documentCrop":"Dokumentin rajaaminen","Comparison_alignButtonTouch":"Kohdista","Comparison_selectPoint":"Valitse piste","Comparison_documentOldTouch":"Vanha","Comparison_documentNewTouch":"Uusi","Comparison_result":"Vertailu","UserHint_description":"Valitse kummastakin dokumentista kolme pistettä manuaalista kohdistusta varten. Saat parhaat tulokset jos valitset pisteet läheltä dokumentin kulmia. Varmista että pisteet ovat kummassakin dokumentissa samassa järjestyksessä.","UserHint_dismissMessage":"Kumoa","Comparison_alignButton":"Kohdista dokumentit","documentComparison":"Dokumentin vertailu","Comparison_documentOld":"Vanha dokumentti","Comparison_documentNew":"Uusi dokumentti","Comparison_resetButton":"Nollaa","UserHint_Select":"Pisteiden valinta","numberValidationBadFormat":"Annettu arvo ei vastaa kentän formaattia [{arg0}]","dateValidationBadFormat":"Väärä päivämäärä/aika: varmista, että päivämäärä-/aikatieto on olemassa. Kentän [{arg0}] pitäisi olla formaatissa {arg1}","insertAfterPage":"Siirrä sivun jälkeen","docEditorMoveBeginningHint":"Kirjoita “0” jos haluat siirtää valitut sivut dokumentin alkuun.","cloudyRectangleAnnotation":"Pilvimäinen suorakulmio","dashedRectangleAnnotation":"Suorakulmio katkoviivalla","cloudyEllipseAnnotation":"Pilvimäinen ellipsi","dashedEllipseAnnotation":"Ellipsi katkoviivalla","cloudyPolygonAnnotation":"Pilvimäinen monikulmio","dashedPolygonAnnotation":"Monikulmio katkoviivalla","cloudAnnotation":"Pilvi","rotateCounterclockwise":"Kierrä vastapäivään","rotateClockwise":"Kierrä myötäpäivään","enterDescriptionHere":"Lisää kuvaus tähän","addOption":"Lisää vaihtoehto","formDesignerPopoverTitle":"{formFieldType}-objektin ominaisuudet","formFieldNameExists":"Lomakkeessa on jo kenttä nimeltä {formFieldName}. Valitse toinen nimi.","styleSectionLabel":"{formFieldType}-objektin tyyli","formFieldName":"Lomakekentän nimi","defaultValue":"Oletusarvo","multiLine":"Useita rivejä","radioButtonFormFieldNameWarning":"Jos haluat liittää useita valintanappeja samaan ryhmään, varmista, että ne käyttävät samaa lomakekentän nimeä.","advanced":"Lisäasetukset","creatorName":"Tekijän nimi","note":"Kommentti","customData":"Erikoismuotoinen data","required":"Välttämätön","readOnly":"Vain luku","createdAt":"Luotu","updatedAt":"Päivitetty","customDataErrorMessage":"Täytyy olla puhdas JSON-sarjamuotoinen objekti","borderColor":"Reunuksen väri","borderWidth":"Reunan leveys","borderStyle":"Reunan tyyli","solidBorder":"Tasainen","dashed":"Katko","beveled":"Viistetty","inset":"Upotettu","underline":"Alleviivaus","textStyle":"Tekstityyli","fontSize":"Kirjasinkoko","fontColor":"Kirjasinväri","button":"Painikekenttä","textField":"Tekstikenttä","radioField":"Valintanappikenttä","checkboxField":"Valintaruutukenttä","comboBoxField":"Yhdistelmäruutukenttä","listBoxField":"Luetteloruutukenttä","signatureField":"Allekirjoituskenttä","formDesigner":"Lomaketyökalu","buttonText":"Painiketeksti","notAvailable":"N/A","label":"Tunniste","value":"Arvo","cannotEditOnceCreated":"Ei voi enää muuttaa luomisen jälkeen.","formFieldNameNotEmpty":"Lomakekentän nimi ei voi olla tyhjä.","mediaAnnotation":"Mediamerkintä","mediaFormatNotSupported":"Tämä selain ei tue sulautettua videota tai ääntä.","distanceMeasurement":"Etäisyys","perimeterMeasurement":"Kehä","polygonAreaMeasurement":"Monikulmion pinta-ala","rectangularAreaMeasurement":"Suorakulmion pinta-ala","ellipseAreaMeasurement":"Ellipsin pinta-ala","distanceMeasurementSettings":"Etäisyyden mittausasetukset","perimeterMeasurementSettings":"Kehän mittausasetukset","polygonAreaMeasurementSettings":"Monikulmion pinta-alan mittausasetukset","rectangularAreaMeasurementSettings":"Suorakulmion pinta-alan mittausasetukset","ellipseAreaMeasurementSettings":"Ellipsin pinta-alan mittausasetukset","measurementScale":"Mittakaava","measurementCalibrateLength":"Kalibroi pituus","measurementPrecision":"Tarkkuus","measurementSnapping":"Kohdistus","formCreator":"Lomaketyökalu","group":"Ryhmä","ungroup":"Pura ryhmä","bold":"Lihavoitu","italic":"Kursiivi","addLink":"Lisää linkki","removeLink":"Poista linkki","editLink":"Muokkaa linkkiä","anonymous":"Anonyymi","saveAndClose":"Tallenna & sulje","ceToggleFontMismatchTooltip":"Näytä epäyhteensopivan fontin työkaluvihje","ceFontMismatch":"{arg0} -fontti ei ole käytettävissä tai sitä ei voi käyttää tämän dokumentin muokkaamisessa. Lisätty tai muutettu sisältö näytetään käyttäen oletusfonttia.","multiAnnotationsSelection":"Valitse useita merkintöjä","linkSettingsPopoverTitle":"Linkkiasetukset","linkTo":"Linkki kohteeseen","uriLink":"Verkkosivusto","pageLink":"Sivu","invalidPageNumber":"Syötä validi sivunumero.","invalidPageLink":"Syötä validi sivulinkki.","linkAnnotation":"Linkki","targetPageLink":"Sivunumero","rotation":"Kierto","unlockDocumentDescription":"Tämän dokumentin katselu edellyttää sen avaamista. Syötä salasana alla olevaan kenttään.","commentDialogClosed":"Avoin kommenttisäie, säikeen on aloittanut {arg0}: “{arg1}”","moreComments":"Lisää kommentteja","linesCount":"{arg0, plural,\\none {{arg0} viiva}\\nother {{arg0} viivaa}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} merkintä}\\nother {{arg0} merkintää}\\n=0 {Ei merkintöjä}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} sivu valittu}\\nother {{arg0} sivua valittu}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} kommentti}\\nother {{arg0} kommenttia}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} kommentti}\\nother {{arg0} kommenttia}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {Vielä {arg0} kommentti}\\nother {Vielä {arg0} kommenttia}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-fr-CA-0020e075edd225e4.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-fr-CA-0020e075edd225e4.js new file mode 100644 index 00000000..36187eeb --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-fr-CA-0020e075edd225e4.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[2916],{76215:e=>{e.exports=JSON.parse('{"thumbnails":"Vignettes","pageXofY":"Page {arg0} sur {arg1}","XofY":"{arg0} sur {arg1}","prevPage":"Page précédente","nextPage":"Page suivante","goToPage":"Aller à la page","gotoPageX":"Aller à la page {arg0}","pageX":"Page {arg0}","pageLayout":"Mise en page","pageMode":"Mode de page","pageModeSingle":"Unique","pageModeDouble":"Double","pageModeAutomatic":"Automatique","pageTransition":"Transition de page","pageTransitionContinuous":"Continu","pageTransitionJump":"Saut","pageRotation":"Rotation de la page","pageRotationLeft":"Faire pivoter vers la gauche","pageRotationRight":"Faire pivoter vers la droite","zoomIn":"Zoom avant","zoomOut":"Zoom arrière","marqueeZoom":"Zoom de sélection","panMode":"Mode Panoramique","fitPage":"Adapter la page","fitWidth":"Adapter la largeur","annotations":"Annotations","noAnnotations":"Aucune annotation","bookmark":"Signet","bookmarks":"Signets","noBookmarks":"Aucun signet","newBookmark":"Nouveau signet","addBookmark":"Ajouter un signet","removeBookmark":"Supprimer le signet","loadingBookmarks":"Chargement des signets","deleteBookmarkConfirmMessage":"Voulez-vous vraiment supprimer ce signet?","deleteBookmarkConfirmAccessibilityLabel":"Confirmer la suppression du signet","annotation":"Annotation","noteAnnotation":"Note","textAnnotation":"Texte","inkAnnotation":"Dessin","highlightAnnotation":"Surligneur de texte","underlineAnnotation":"Souligné","squiggleAnnotation":"Tire-bouchon","strikeOutAnnotation":"Barré","print":"Imprimer","printPrepare":"Préparation du document en vue de l’impression…","searchDocument":"Rechercher dans le document","searchPreviousMatch":"Précédent","searchNextMatch":"Suivant","searchResultOf":"{arg0} sur {arg1}","accessibilityLabelDropdownGroupToggle":"Outils {arg0}, activer/désactiver le menu","save":"Enregistrer","edit":"Modifier","delete":"Supprimer","close":"Fermer","cancel":"Annuler","ok":"OK","done":"Terminé","clear":"Effacer","date":"Date","time":"Heure","name":"Nom","color":"Couleur","black":"Noir","white":"Blanc","blue":"Bleu","red":"Rouge","green":"Vert","orange":"Orange","lightOrange":"Orange clair","yellow":"Jaune","lightYellow":"Jaune clair","lightBlue":"Bleu clair","lightRed":"Rouge clair","lightGreen":"Vert clair","fuchsia":"Fuchsia","purple":"Violet","pink":"Rose","mauve":"Mauve","lightGrey":"Gris clair","grey":"Gris","darkGrey":"Gris foncé","noColor":"Aucune","transparent":"Transparent","darkBlue":"Bleu foncé","opacity":"Opacité","thickness":"Épaisseur","size":"Taille","numberInPt":"{arg0} pt","font":"Police","fonts":"Polices","allFonts":"Toutes les polices","alignment":"Alignement","alignmentLeft":"À gauche","alignmentRight":"À droite","alignmentCenter":"Centre","verticalAlignment":"Alignement vertical","horizontalAlignment":"Alignement horizontal","top":"Haut","bottom":"Bas","deleteAnnotationConfirmMessage":"Voulez-vous vraiment supprimer cette annotation?","deleteAnnotationConfirmAccessibilityLabel":"Confirmer la suppression de l’annotation","fontFamilyUnsupported":"{arg0} (non compatible)","sign":"Signature","signed":"Signé","signatures":"Signatures","addSignature":"Ajouter une signature","clearSignature":"Effacer la signature","storeSignature":"Stocker la signature","pleaseSignHere":"Veuillez signer ici","signing":"Signature…","password":"Mot de passe","unlock":"Déverrouiller","passwordRequired":"Mot de passe obligatoire","unlockThisDocument":"Vous devez déverrouiller ce document pour pouvoir le consulter. Veuillez saisir le mot de passe dans le champ ci-dessous.","incorrectPassword":"Le mot de passe saisi est incorrect. Veuillez réessayer.","blendMode":"Mode de fusion","normal":"Normal","multiply":"Multiplication","screenBlend":"Écran","overlay":"Superposition","darken":"Obscurcir","lighten":"Éclaircir","colorDodge":"Densité couleur -","colorBurn":"Densité couleur +","hardLight":"Lumière crue","softLight":"Lumière tamisée","difference":"Différence","exclusion":"Exclusion","multiple":"Multiple","linecaps-dasharray":"Style de ligne","dasharray":"Style de ligne","startLineCap":"Début de ligne","strokeDashArray":"Style de ligne","endLineCap":"Fin de ligne","lineAnnotation":"Ligne","rectangleAnnotation":"Rectangle","ellipseAnnotation":"Ellipse","polygonAnnotation":"Polygone","polylineAnnotation":"Polyligne","solid":"Uni","narrowDots":"Petits points","wideDots":"Grands points","narrowDashes":"Petits traits","wideDashes":"Grands traits","none":"Aucune","square":"Carré","circle":"Cercle","diamond":"Losange","openArrow":"Flèche simple","closedArrow":"Flèche pleine","butt":"Butée","reverseOpenArrow":"Flèche simple inversée","reverseClosedArrow":"Flèche pleine inversée","slash":"Barre oblique","fillColor":"Couleur de remplissage","cloudy":"Nuageux","arrow":"Flèche","filePath":"Chemin du fichier","unsupportedImageFormat":"Type non compatible pour l\'annotation des images : {arg0}. Veuillez utiliser un fichier JPEG ou PNG.","noOutline":"Aucun plan","outline":"Plan","imageAnnotation":"Image","selectImage":"Sélectionner une image","stampAnnotation":"Tampon","highlighter":"Surligneur forme libre","textHighlighter":"Surligneur de texte","pen":"Dessin","eraser":"Gomme","export":"Exportation","useAnExistingStampDesign":"Utiliser un modèle de tampon existant","createStamp":"Créer un tampon","stampText":"Texte du tampon","chooseColor":"Choisir une couleur","rejected":"Refusé","accepted":"Accepté","approved":"Approuvé","notApproved":"Non approuvé","draft":"Version préliminaire","final":"Version finale","completed":"Terminé","confidential":"Confidentiel","forPublicRelease":"Pour publication","notForPublicRelease":"Ne pas publier","forComment":"À commenter","void":"Nul","preliminaryResults":"Résultats préliminaires","informationOnly":"Pour information","initialHere":"Initiales","signHere":"Signature","witness":"Témoin","asIs":"En l’état","departmental":"Interne au service","experimental":"Expérimental","expired":"Expiré","sold":"Vendu","topSecret":"Top secret","revised":"Revu","custom":"Personnaliser","customStamp":"Tampon personnalisé","icon":"Icône","iconRightPointer":"Pointeur droit","iconRightArrow":"Flèche droite","iconCheck":"Coche","iconCircle":"Ellipse","iconCross":"Croix","iconInsert":"Insertion de texte","iconNewParagraph":"Nouveau paragraphe","iconNote":"Note de texte","iconComment":"Commentaire","iconParagraph":"Paragraphe","iconHelp":"Aide","iconStar":"Étoile","iconKey":"Clé","documentEditor":"Éditeur de document","newPage":"Nouvelle page","removePage":"Supprimer les pages","duplicatePage":"Dupliquer","rotatePageLeft":"Faire pivoter vers la gauche","rotatePageRight":"Faire pivoter vers la droite","moveBefore":"Placer avant","moveAfter":"Placer après","selectNone":"Sélectionner Aucun","selectAll":"Tout sélectionner","saveAs":"Enregistrer sous…","mergeDocument":"Importer un document","undo":"Annuler","redo":"Rétablir","openMoveDialog":"Déplacer","move":"Déplacer","instantModifiedWarning":"Ce document a été modifié et est maintenant en mode de lecture seule. Rechargez la page pour remédier à cela.","documentMergedHere":"Les documents seront fusionnés ici","digitalSignaturesAllValid":"Le document a été signé numériquement et toutes les signatures sont valides.","digitalSignaturesDocModified":"Le document a été signé numériquement, mais il a été modifié depuis sa signature.","digitalSignaturesSignatureWarning":"Le document a été signé numériquement, mais au moins une signature présente un problème.","digitalSignaturesSignatureWarningDocModified":"Le document a été signé numériquement, mais il a été modifié depuis et au moins une signature présente un problème.","digitalSignaturesSignatureError":"Le document a été signé numériquement, mais au moins une signature n\'est pas valide.","digitalSignaturesSignatureErrorDocModified":"Le document a été signé numériquement, mais il a été modifié depuis et au moins une signature n\'est pas valide.","signingInProgress":"Signature en cours","signingModalDesc":"Indique que la signature du document actif est en cours","discardChanges":"Annuler les modifications","commentEditorLabel":"Ajoutez votre commentaire…","reply":"Répondre","comment":"Commentaire","comments":"Commentaires","showMore":"Afficher plus","showLess":"Afficher moins","deleteComment":"Supprimer le commentaire","deleteCommentConfirmMessage":"Voulez-vous vraiment supprimer ce commentaire?","deleteCommentConfirmAccessibilityLabel":"Confirmer la suppression du commentaire","editContent":"Modifier le contenu","commentOptions":"Options de commentaire","areaRedaction":"Caviardage de zone","textRedaction":"Caviardage de texte","redactionAnnotation":"Caviardage","applyingRedactions":"Caviardage en cours","overlayTextPlaceholder":"Insertion de texte de superposition","outlineColor":"Couleur de contour","overlayText":"Texte de superposition","repeatText":"Répéter le texte","preview":"Aperçu","applyRedactions":"Appliquer le caviardage","markupAnnotationToolbar":"Barre d\'outils des annotations de marquage","documentViewport":"Fenêtre d\'affichage du document","redactionInProgress":"Biffure en cours","redactionModalDesc":"Indique que des biffures sont en cours dans le document actuel","commentAction":"Commentaire","printProgressModalDesc":"Indique qu’un document est en cours de préparation pour l’impression","printProgressModal":"Impression en cours","documentEditorDesc":"Apporter des changements au document actuel","reloadDocumentDialog":"Confirmer le rechargement du document","reloadDocumentDialogDesc":"Boîte de dialogue invitant l’utilisateur à confirmer le rechargement du document.","signatureDialog":"Signature","signatureDialogDesc":"Cette boîte de dialogue vous permet de sélectionner une signature manuscrite à insérer dans le document. Si vous ne disposez d’aucune signature enregistrée, vous pouvez en créer une à l’aide du cadre de signature.","stampAnnotationTemplatesDialog":"Modèles de tampon d’annotation","stampAnnotationTemplatesDialogDesc":"Cette boîte de dialogue vous permet de sélectionner un tampon d’annotation à insérer dans le document ou de créer un tampon d’annotation personnalisé avec votre propre texte.","selectedAnnotation":"{arg0} sélectionné","commentThread":"Fil de commentaires","selectedAnnotationWithText":"{arg0} sélectionné, contenant {arg1}","signature":"Signature","ElectronicSignatures_SignHereTypeHint":"Saisissez votre signature ci-dessus","ElectronicSignatures_SignHereDrawHint":"Signez ici","selectDragImage":"Sélectionnez ou déposez une image","replaceImage":"Remplacer l\'image","draw":"Dessin","image":"Image","type":"Saisie","saveSignature":"Enregistrer la signature","loading":"Chargement","selectedItem":"{arg0}, sélectionné.","annotationDeleted":"Annotation supprimée.","newAnnotationCreated":"Nouvelle annotation de type {arg0} créée.","bookmarkCreated":"Signet créé.","bookmarkEdited":"Signet modifié.","bookmarkDeleted":"Signet supprimé.","cancelledEditingBookmark":"Modification du signet annulée.","selectAFileForImage":"Sélectionnez un fichier pour la nouvelle annotation d\'image.","deleteAnnotationConfirmAccessibilityDescription":"Boîte de dialogue permettant de confirmer ou d\'annuler l\'annotation.","deleteBookmarkConfirmAccessibilityDescription":"Boîte de dialogue permettant de confirmer ou d\'annuler la suppression du signet.","deleteCommentConfirmAccessibilityDescription":"Boîte de dialogue permettant de confirmer ou d\'annuler la suppression du commentaire.","resize":"Redimensionner","resizeHandleTop":"Haut","resizeHandleBottom":"Bas","resizeHandleRight":"Droite","resizeHandleLeft":"Gauche","cropCurrentPage":"Recadrer la page actuelle","cropCurrent":"Recadrer la page","cropAllPages":"Recadrer toutes les pages","cropAll":"Tout recadrer","documentCrop":"Recadrage du document","Comparison_alignButtonTouch":"Aligner","Comparison_selectPoint":"Sélectionner un point","Comparison_documentOldTouch":"Ancien","Comparison_documentNewTouch":"Nouveau","Comparison_result":"Comparaison","UserHint_description":"Sélectionnez trois points sur les deux documents pour les aligner manuellement. Pour un résultat optimal, choisissez des points situés à proximité des coins des documents, en veillant à respecter le même ordre pour les deux documents.","UserHint_dismissMessage":"Fermer","Comparison_alignButton":"Aligner les documents","documentComparison":"Comparaison de documents","Comparison_documentOld":"Ancien document","Comparison_documentNew":"Nouveau document","Comparison_resetButton":"Réinitialiser","UserHint_Select":"Sélection des points","numberValidationBadFormat":"La valeur saisie ne correspond pas au format du champ [{arg0}]","dateValidationBadFormat":"Date/Heure non valide : veuillez vérifier que la date et l’heure existent bien. Le champ [{arg0}] doit respecter le format {arg1}.","insertAfterPage":"Insérer après la page","docEditorMoveBeginningHint":"Saisissez « 0 » pour déplacer la ou les page(s) sélectionnée(s) au début du document.","cloudyRectangleAnnotation":"Nuage rectangulaire","dashedRectangleAnnotation":"Rectangle en pointillés","cloudyEllipseAnnotation":"Nuage en ellipse","dashedEllipseAnnotation":"Ellipse en pointillés","cloudyPolygonAnnotation":"Nuage polygonal","dashedPolygonAnnotation":"Polygone en pointillés","cloudAnnotation":"Nuage","rotateCounterclockwise":"Faire pivoter vers la gauche","rotateClockwise":"Faire pivoter vers la droite","enterDescriptionHere":"Saisissez ici une description","addOption":"Ajouter une option","formDesignerPopoverTitle":"Propriétés du {formFieldType}","formFieldNameExists":"Un champ de formulaire intitulé {formFieldName} existe déjà. Veuillez choisir un autre nom.","styleSectionLabel":"Style du {formFieldType}","formFieldName":"Nom du champ de formulaire","defaultValue":"Valeur par défaut","multiLine":"Plusieurs lignes","radioButtonFormFieldNameWarning":"Pour regrouper des cases d\'option, vérifiez qu\'elles ont le même nom de champ de formulaire.","advanced":"Avancé","creatorName":"Nom du créateur","note":"Remarque","customData":"Données personnalisées","required":"Obligatoire","readOnly":"Lecture seule","createdAt":"Création","updatedAt":"Modification","customDataErrorMessage":"La valeur doit être un objet JSON sérialisable en texte brut","borderColor":"Couleur de bordure","borderWidth":"Largeur de bordure","borderStyle":"Style de bordure","solidBorder":"Continue","dashed":"Discontinue","beveled":"Biseautée","inset":"Enchâssée","underline":"Soulignée","textStyle":"Style de texte","fontSize":"Taille de police","fontColor":"Couleur de police","button":"Champ de bouton","textField":"Champ de texte","radioField":"Champ d\'option","checkboxField":"Champ de case à cocher","comboBoxField":"Champ de boîte combinée","listBoxField":"Champ de zone de liste","signatureField":"Champ de signature","formDesigner":"Créateur de formulaires","buttonText":"Texte du bouton","notAvailable":"N/A","label":"Libellé","value":"Valeur","cannotEditOnceCreated":"Modification impossible après création.","formFieldNameNotEmpty":"Le nom du champ de formulaire ne doit pas être vide.","mediaAnnotation":"Annotation média","mediaFormatNotSupported":"Ce navigateur ne prend pas en charge les vidéos ou audios intégrés.","distanceMeasurement":"Distance","perimeterMeasurement":"Périmètre","polygonAreaMeasurement":"Aire polygonale","rectangularAreaMeasurement":"Aire rectangulaire","ellipseAreaMeasurement":"Aire elliptique","distanceMeasurementSettings":"Paramètres de mesure de distance","perimeterMeasurementSettings":"Paramètres de mesure de périmètre","polygonAreaMeasurementSettings":"Paramètres de mesure d\'aire polygonale","rectangularAreaMeasurementSettings":"Paramètres de mesure d\'aire rectangulaire","ellipseAreaMeasurementSettings":"Paramètres de mesure d\'aire elliptique","measurementScale":"Échelle","measurementCalibrateLength":"Calibrer la longueur","measurementPrecision":"Précision","measurementSnapping":"Magnétisme","formCreator":"Créateur de formulaires","group":"Grouper","ungroup":"Dégrouper","bold":"Gras","italic":"Italique","addLink":"Ajouter un lien","removeLink":"Supprimer le lien","editLink":"Modifier le lien","anonymous":"Anonyme","saveAndClose":"Enregistrer et fermer","ceToggleFontMismatchTooltip":"Afficher ou masquer l\'infobulle de police inadaptée","ceFontMismatch":"La police {arg0} n\'est pas disponible ou ne peut pas être utilisée pour modifier les contenus de ce document. Une police par défaut sera appliquée aux contenus ajoutés ou modifiés.","multiAnnotationsSelection":"Sélectionner plusieurs annotations","linkSettingsPopoverTitle":"Paramètres du lien","linkTo":"Destination du lien","uriLink":"Site Web","pageLink":"Page","invalidPageNumber":"Saisissez un numéro de page valide.","invalidPageLink":"Saisissez un lien vers une page valide.","linkAnnotation":"Lien","targetPageLink":"Numéro de page","rotation":"Rotation","unlockDocumentDescription":"Pour pouvoir consulter ce document, vous devez le déverrouiller. Veuillez saisir le mot de passe dans le champ ci-dessous.","commentDialogClosed":"Ouvrir le fil de commentaires démarré par {arg0} : « {arg1} »","moreComments":"Plus de commentaires","linesCount":"{arg0, plural,\\none {{arg0} ligne}\\nother {{arg0} lignes}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} annotation}\\nother {{arg0} annotations}\\n=0 {Aucune annotation}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} page sélectionnée}\\nother {{arg0} pages sélectionnées}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} commentaire}\\nother {{arg0} commentaires}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} commentaire}\\nother {{arg0} commentaires}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} autre commentaire}\\nother {{arg0} autres commentaires}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-fr-f459cde970933513.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-fr-f459cde970933513.js new file mode 100644 index 00000000..c7caef0f --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-fr-f459cde970933513.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[3360],{28435:e=>{e.exports=JSON.parse('{"thumbnails":"Vignettes","pageXofY":"Page {arg0} sur {arg1}","XofY":"{arg0} sur {arg1}","prevPage":"Page précédente","nextPage":"Page suivante","goToPage":"Aller à la page","gotoPageX":"Aller à la page {arg0}","pageX":"Page {arg0}","pageLayout":"Mise en page","pageMode":"Mode de page","pageModeSingle":"Unique","pageModeDouble":"Double","pageModeAutomatic":"Automatique","pageTransition":"Transition de page","pageTransitionContinuous":"Continu","pageTransitionJump":"Saut","pageRotation":"Rotation de la page","pageRotationLeft":"Faire pivoter vers la gauche","pageRotationRight":"Faire pivoter vers la droite","zoomIn":"Zoom avant","zoomOut":"Zoom arrière","marqueeZoom":"Outil Zoom de sélection","panMode":"Mode Panoramique","fitPage":"Adapter la page","fitWidth":"Adapter la largeur","annotations":"Annotations","noAnnotations":"Aucune annotation","bookmark":"Signet","bookmarks":"Signets","noBookmarks":"Aucun signet","newBookmark":"Nouveau signet","addBookmark":"Ajouter un signet","removeBookmark":"Supprimer le signet","loadingBookmarks":"Chargement des signets","deleteBookmarkConfirmMessage":"Voulez-vous vraiment supprimer ce signet ?","deleteBookmarkConfirmAccessibilityLabel":"Confirmer la suppression du signet","annotation":"Annotation","noteAnnotation":"Note","textAnnotation":"Texte","inkAnnotation":"Dessin","highlightAnnotation":"Surlignage de texte","underlineAnnotation":"Souligné","squiggleAnnotation":"Tire-bouchon","strikeOutAnnotation":"Barré","print":"Imprimer","printPrepare":"Préparation du document en vue de l\'impression…","searchDocument":"Rechercher dans le document","searchPreviousMatch":"Précédent","searchNextMatch":"Suivant","searchResultOf":"{arg0} sur {arg1}","accessibilityLabelDropdownGroupToggle":"Outils {arg0}, activer/désactiver le menu","save":"Enregistrer","edit":"Modifier","delete":"Supprimer","close":"Fermer","cancel":"Annuler","ok":"OK","done":"Terminé","clear":"Effacer","date":"Date","time":"Heure","name":"Nom","color":"Couleur","black":"Noir","white":"Blanc","blue":"Bleu","red":"Rouge","green":"Vert","orange":"Orange","lightOrange":"Orange clair","yellow":"Jaune","lightYellow":"Jaune clair","lightBlue":"Bleu clair","lightRed":"Rouge clair","lightGreen":"Vert clair","fuchsia":"Fuchsia","purple":"Violet","pink":"Rose","mauve":"Mauve","lightGrey":"Gris clair","grey":"Gris","darkGrey":"Gris foncé","noColor":"Aucune","transparent":"Transparent","darkBlue":"Bleu foncé","opacity":"Opacité","thickness":"Épaisseur","size":"Taille","numberInPt":"{arg0} pt","font":"Police","fonts":"Polices","allFonts":"Toutes les polices","alignment":"Alignement","alignmentLeft":"À gauche","alignmentRight":"À droite","alignmentCenter":"Centre","verticalAlignment":"Alignement vertical","horizontalAlignment":"Alignement horizontal","top":"Haut","bottom":"Bas","deleteAnnotationConfirmMessage":"Voulez-vous vraiment supprimer cette annotation ?","deleteAnnotationConfirmAccessibilityLabel":"Confirmer la suppression de l\'annotation","fontFamilyUnsupported":"{arg0} (non compatible)","sign":"Signature","signed":"Signé","signatures":"Signatures","addSignature":"Ajouter une signature","clearSignature":"Effacer la signature","storeSignature":"Stocker la signature","pleaseSignHere":"Veuillez signer ici","signing":"Signature…","password":"Mot de passe","unlock":"Déverrouiller","passwordRequired":"Mot de passe obligatoire","unlockThisDocument":"Pour pouvoir consulter ce document, vous devez le déverrouiller. Veuillez saisir le mot de passe dans le champ ci-dessous.","incorrectPassword":"Le mot de passe saisi est incorrect. Veuillez réessayer.","blendMode":"Mode de fusion","normal":"Normal","multiply":"Multiplication","screenBlend":"Écran","overlay":"Superposition","darken":"Obscurcir","lighten":"Éclaircir","colorDodge":"Densité couleur -","colorBurn":"Densité couleur +","hardLight":"Lumière crue","softLight":"Lumière tamisée","difference":"Différence","exclusion":"Exclusion","multiple":"Multiple","linecaps-dasharray":"Style de ligne","dasharray":"Style de ligne","startLineCap":"Début de ligne","strokeDashArray":"Style de ligne","endLineCap":"Fin de ligne","lineAnnotation":"Ligne","rectangleAnnotation":"Rectangle","ellipseAnnotation":"Ellipse","polygonAnnotation":"Polygone","polylineAnnotation":"Polyligne","solid":"Uni","narrowDots":"Petits points","wideDots":"Grands points","narrowDashes":"Petits traits","wideDashes":"Grands traits","none":"Aucune","square":"Carré","circle":"Cercle","diamond":"Losange","openArrow":"Flèche simple","closedArrow":"Flèche pleine","butt":"Butée","reverseOpenArrow":"Flèche simple inversée","reverseClosedArrow":"Flèche pleine inversée","slash":"Barre oblique","fillColor":"Couleur de remplissage","cloudy":"Nuageux","arrow":"Flèche","filePath":"Chemin du fichier","unsupportedImageFormat":"Type non compatible pour l\'annotation des images : {arg0}. Veuillez utiliser un fichier JPEG ou PNG.","noOutline":"Aucun plan","outline":"Plan","imageAnnotation":"Image","selectImage":"Sélectionner une image","stampAnnotation":"Tampon","highlighter":"Surlignage libre","textHighlighter":"Surligneur de texte","pen":"Dessin","eraser":"Gomme","export":"Exportation","useAnExistingStampDesign":"Utiliser un modèle de tampon existant","createStamp":"Créer un tampon","stampText":"Texte du tampon","chooseColor":"Choisir une couleur","rejected":"Refusé","accepted":"Accepté","approved":"Approuvé","notApproved":"Non approuvé","draft":"Ébauche","final":"Version finale","completed":"Terminé","confidential":"Confidentiel","forPublicRelease":"Pour publication","notForPublicRelease":"Ne pas publier","forComment":"À commenter","void":"Nul","preliminaryResults":"Résultats préliminaires","informationOnly":"Pour information","initialHere":"Initiales ici","signHere":"Signer ici","witness":"Certifier","asIs":"Conforme","departmental":"Interne au service","experimental":"Expérimental","expired":"Expiré","sold":"Vendu","topSecret":"Top secret","revised":"Revu","custom":"Personnaliser","customStamp":"Tampon personnalisé","icon":"Icône","iconRightPointer":"Pointeur droit","iconRightArrow":"Flèche droite","iconCheck":"Coche","iconCircle":"Ellipse","iconCross":"Croix","iconInsert":"Insertion de texte","iconNewParagraph":"Nouveau paragraphe","iconNote":"Note de texte","iconComment":"Commentaire","iconParagraph":"Paragraphe","iconHelp":"Aide","iconStar":"Étoile","iconKey":"Clé","documentEditor":"Éditeur de document","newPage":"Nouvelle page","removePage":"Supprimer les pages","duplicatePage":"Dupliquer","rotatePageLeft":"Faire pivoter vers la gauche","rotatePageRight":"Faire pivoter vers la droite","moveBefore":"Déplacer avant","moveAfter":"Déplacer après","selectNone":"Ne rien sélectionner","selectAll":"Tout sélectionner","saveAs":"Enregistrer sous…","mergeDocument":"Importer un document","undo":"Annuler","redo":"Rétablir","openMoveDialog":"Déplacer","move":"Déplacer","instantModifiedWarning":"Le document a été modifié et est maintenant en lecture seule. Pour résoudre ce problème, actualisez la page.","documentMergedHere":"Le document sera fusionné ici","digitalSignaturesAllValid":"Le document a été signé numériquement et toutes les signatures sont valides.","digitalSignaturesDocModified":"Le document a été signé numériquement, mais il a été modifié depuis la signature.","digitalSignaturesSignatureWarning":"Le document a été signé numériquement, mais au moins une signature présente des problèmes.","digitalSignaturesSignatureWarningDocModified":"Le document a été signé numériquement, mais il a été modifié depuis la signature et au moins une signature présente des problèmes.","digitalSignaturesSignatureError":"Le document a été signé numériquement, mais au moins une signature n\'est pas valide.","digitalSignaturesSignatureErrorDocModified":"Le document a été signé numériquement, mais il a été modifié depuis la signature et au moins une signature n\'est pas valide.","signingInProgress":"Connexion en cours…","signingModalDesc":"Indique que le document actuel est en cours de signature","discardChanges":"Annuler les modifications","commentEditorLabel":"Ajoutez votre commentaire…","reply":"Répondre","comment":"Commentaire","comments":"Commentaires","showMore":"Afficher plus","showLess":"Afficher moins","deleteComment":"Supprimer le commentaire","deleteCommentConfirmMessage":"Voulez-vous vraiment supprimer ce commentaire ?","deleteCommentConfirmAccessibilityLabel":"Confirmer la suppression du commentaire","editContent":"Modifier le contenu","commentOptions":"Options de commentaire","areaRedaction":"Biffure de zone","textRedaction":"Biffure de texte","redactionAnnotation":"Biffure","applyingRedactions":"Application des biffures","overlayTextPlaceholder":"Insérer un texte de superposition","outlineColor":"Couleur de contour","overlayText":"Texte de superposition","repeatText":"Répéter le texte","preview":"Aperçu","applyRedactions":"Appliquer les biffures","markupAnnotationToolbar":"Barre d\'outils des annotations de marquage","documentViewport":"Fenêtre d\'affichage du document","redactionInProgress":"Biffure en cours","redactionModalDesc":"Indique que des biffures sont en cours dans le document actuel","commentAction":"Commenter","printProgressModalDesc":"Indique qu\'un document est en cours de préparation en vue de l\'impression","printProgressModal":"Impression en cours","documentEditorDesc":"Apportez des modifications au document actuel","reloadDocumentDialog":"Confirmer l\'actualisation du document","reloadDocumentDialogDesc":"Boîte de dialogue invitant l\'utilisateur à confirmer l\'actualisation du document.","signatureDialog":"Signature","signatureDialogDesc":"Cette boîte de dialogue vous permet de sélectionner une signature manuscrite à insérer dans le document. Si vous n\'avez pas de signature stockée, vous pouvez en créer une dans la zone de travail.","stampAnnotationTemplatesDialog":"Modèles d\'annotation par tampon","stampAnnotationTemplatesDialogDesc":"Cette boîte de dialogue vous permet de sélectionner une annotation par tampon à insérer dans le document, ou de créer une annotation par tampon personnalisée avec votre propre texte.","selectedAnnotation":"Annotation {arg0} sélectionnée","commentThread":"Fil de commentaires","selectedAnnotationWithText":"Annotation {arg0} contenant {arg1} sélectionnée","signature":"Signature","ElectronicSignatures_SignHereTypeHint":"Saisissez votre signature ci-dessus","ElectronicSignatures_SignHereDrawHint":"Signez ici","selectDragImage":"Sélectionnez ou déposez une image","replaceImage":"Remplacer l\'image","draw":"Dessin","image":"Image","type":"Saisie","saveSignature":"Enregistrer la signature","loading":"Chargement","selectedItem":"{arg0}, sélectionné.","annotationDeleted":"Annotation supprimée.","newAnnotationCreated":"Nouvelle annotation de type {arg0} créée.","bookmarkCreated":"Signet créé.","bookmarkEdited":"Signet modifié.","bookmarkDeleted":"Signet supprimé.","cancelledEditingBookmark":"Modification du signet annulée.","selectAFileForImage":"Sélectionnez un fichier pour la nouvelle annotation d\'image.","deleteAnnotationConfirmAccessibilityDescription":"Boîte de dialogue permettant de confirmer ou d\'annuler l\'annotation.","deleteBookmarkConfirmAccessibilityDescription":"Boîte de dialogue permettant de confirmer ou d\'annuler la suppression du signet.","deleteCommentConfirmAccessibilityDescription":"Boîte de dialogue permettant de confirmer ou d\'annuler la suppression du commentaire.","resize":"Redimensionner","resizeHandleTop":"Haut","resizeHandleBottom":"Bas","resizeHandleRight":"Droite","resizeHandleLeft":"Gauche","cropCurrentPage":"Recadrer la page actuelle","cropCurrent":"Recadrer la page","cropAllPages":"Recadrer toutes les pages","cropAll":"Tout recadrer","documentCrop":"Recadrage du document","Comparison_alignButtonTouch":"Aligner","Comparison_selectPoint":"Sélectionner un point","Comparison_documentOldTouch":"Ancien","Comparison_documentNewTouch":"Nouveau","Comparison_result":"Comparaison","UserHint_description":"Sélectionnez trois points sur les deux documents pour les aligner manuellement. Pour un résultat optimal, choisissez des points situés à proximité des coins des documents, en veillant à respecter le même ordre pour les deux documents.","UserHint_dismissMessage":"Fermer","Comparison_alignButton":"Aligner les documents","documentComparison":"Comparaison de documents","Comparison_documentOld":"Ancien document","Comparison_documentNew":"Nouveau document","Comparison_resetButton":"Réinitialiser","UserHint_Select":"Sélection des points","numberValidationBadFormat":"La valeur saisie ne correspond pas au format du champ [{arg0}]","dateValidationBadFormat":"Date/Heure non valide : veuillez vérifier que la date et l\'heure existent bien. Le champ [{arg0}] doit respecter le format {arg1}","insertAfterPage":"Insérer après la page","docEditorMoveBeginningHint":"Saisissez « 0 » pour déplacer la ou les page(s) sélectionnée(s) au début du document.","cloudyRectangleAnnotation":"Nuage rectangulaire","dashedRectangleAnnotation":"Rectangle en pointillés","cloudyEllipseAnnotation":"Nuage en ellipse","dashedEllipseAnnotation":"Ellipse en pointillés","cloudyPolygonAnnotation":"Nuage polygonal","dashedPolygonAnnotation":"Polygone en pointillés","cloudAnnotation":"Nuage","rotateCounterclockwise":"Faire pivoter vers la gauche","rotateClockwise":"Faire pivoter vers la droite","enterDescriptionHere":"Saisissez ici une description","addOption":"Ajouter une option","formDesignerPopoverTitle":"Propriétés du {formFieldType}","formFieldNameExists":"Un champ de formulaire intitulé {formFieldName} existe déjà. Veuillez choisir un autre nom.","styleSectionLabel":"Style du {formFieldType}","formFieldName":"Nom du champ de formulaire","defaultValue":"Valeur par défaut","multiLine":"Plusieurs lignes","radioButtonFormFieldNameWarning":"Pour regrouper des cases d\'option, vérifiez qu\'elles ont le même nom de champ de formulaire.","advanced":"Avancé","creatorName":"Nom du créateur","note":"Remarque","customData":"Données personnalisées","required":"Obligatoire","readOnly":"Lecture seule","createdAt":"Création","updatedAt":"Modification","customDataErrorMessage":"La valeur doit être un objet JSON sérialisable en texte brut","borderColor":"Couleur de bordure","borderWidth":"Largeur de bordure","borderStyle":"Style de bordure","solidBorder":"Continue","dashed":"Discontinue","beveled":"Biseautée","inset":"Enchâssée","underline":"Soulignée","textStyle":"Style de texte","fontSize":"Taille de police","fontColor":"Couleur de police","button":"Champ de bouton","textField":"Champ de texte","radioField":"Champ d\'option","checkboxField":"Champ de case à cocher","comboBoxField":"Champ de boîte combinée","listBoxField":"Champ de zone de liste","signatureField":"Champ de signature","formDesigner":"Créateur de formulaires","buttonText":"Texte du bouton","notAvailable":"N/A","label":"Libellé","value":"Valeur","cannotEditOnceCreated":"Modification impossible après création.","formFieldNameNotEmpty":"Le nom du champ de formulaire ne doit pas être vide.","mediaAnnotation":"Annotation média","mediaFormatNotSupported":"Ce navigateur ne prend pas en charge les vidéos ou audios intégrés.","distanceMeasurement":"Distance","perimeterMeasurement":"Périmètre","polygonAreaMeasurement":"Aire polygonale","rectangularAreaMeasurement":"Aire rectangulaire","ellipseAreaMeasurement":"Aire elliptique","distanceMeasurementSettings":"Paramètres de mesure de distance","perimeterMeasurementSettings":"Paramètres de mesure de périmètre","polygonAreaMeasurementSettings":"Paramètres de mesure d\'aire polygonale","rectangularAreaMeasurementSettings":"Paramètres de mesure d\'aire rectangulaire","ellipseAreaMeasurementSettings":"Paramètres de mesure d\'aire elliptique","measurementScale":"Échelle","measurementCalibrateLength":"Calibrer la longueur","measurementPrecision":"Précision","measurementSnapping":"Magnétisme","formCreator":"Créateur de formulaires","group":"Groupe","ungroup":"Dégroupé","bold":"Gras","italic":"Italique","addLink":"Ajouter un lien","removeLink":"Supprimer le lien","editLink":"Modifier le lien","anonymous":"Anonyme","saveAndClose":"Enregistrer et fermer","ceToggleFontMismatchTooltip":"Afficher ou masquer l\'infobulle de police inadaptée","ceFontMismatch":"La police {arg0} n\'est pas disponible ou ne peut pas être utilisée pour modifier les contenus de ce document. Une police par défaut sera appliquée aux contenus ajoutés ou modifiés.","multiAnnotationsSelection":"Sélectionner plusieurs annotations","linkSettingsPopoverTitle":"Paramètres du lien","linkTo":"Destination du lien","uriLink":"Site Web","pageLink":"Page","invalidPageNumber":"Saisissez un numéro de page valide.","invalidPageLink":"Saisissez un lien vers une page valide.","linkAnnotation":"Lien","targetPageLink":"Numéro de page","rotation":"Rotation","unlockDocumentDescription":"Pour pouvoir consulter ce document, vous devez le déverrouiller. Veuillez saisir le mot de passe dans le champ ci-dessous.","commentDialogClosed":"Ouvrir le fil de commentaires démarré par {arg0} : « {arg1} »","moreComments":"Plus de commentaires","linesCount":"{arg0, plural,\\none {{arg0} ligne}\\nother {{arg0} lignes}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} annotation}\\nother {{arg0} annotations}\\n=0 {Aucune annotation}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} page sélectionnée}\\nother {{arg0} pages sélectionnées}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} commentaire}\\nother {{arg0} commentaires}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} commentaire}\\nother {{arg0} commentaires}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} autre commentaire}\\nother {{arg0} autres commentaires}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-hr-c3becc003931466b.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-hr-c3becc003931466b.js new file mode 100644 index 00000000..9e47842c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-hr-c3becc003931466b.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[157],{24733:e=>{e.exports=JSON.parse('{"thumbnails":"Sličice","pageXofY":"Stranica {arg0} od {arg1}","XofY":"{arg0} od {arg1}","prevPage":"Prethodna stranica","nextPage":"Slijedeća stranica","goToPage":"Idi na stranicu","gotoPageX":"Idi na stranicu {arg0}","pageX":"Stranica {arg0}","pageLayout":"Izgled stranica","pageMode":"Stranični mod","pageModeSingle":"Jednostruko","pageModeDouble":"Dvostruko","pageModeAutomatic":"Automatski","pageTransition":"Stranični prijelaz","pageTransitionContinuous":"Kontinuirano","pageTransitionJump":"Skok","pageRotation":"Rotiranje stranice","pageRotationLeft":"Rotiraj u lijevo","pageRotationRight":"Rotiraj u desno","zoomIn":"Približi","zoomOut":"Udalji","marqueeZoom":"Povećalo područja","panMode":"Način pomicanja","fitPage":"Poravnaj sa stranicom","fitWidth":"Poravnaj sa širinom","annotations":"Oznake","noAnnotations":"Nema oznaka","bookmark":"Bilješka","bookmarks":"Favoriti","noBookmarks":"Nema favorita","newBookmark":"Nova bilješka","addBookmark":"Dodaj favorita","removeBookmark":"Ukloni favorita","loadingBookmarks":"Učitavam zabilješke","deleteBookmarkConfirmMessage":"Jeste li sigurni da želite obrisati ovu bilješku?","deleteBookmarkConfirmAccessibilityLabel":"Potvrdi brisanje bilješke","annotation":"Oznaka","noteAnnotation":"Bilješka","textAnnotation":"Tekst","inkAnnotation":"Tinta","highlightAnnotation":"Označavanje teksta","underlineAnnotation":"Podcrtaj","squiggleAnnotation":"Podcrtaj valovito","strikeOutAnnotation":"Prekriżi","print":"Ispis","printPrepare":"Priprema dokumenta za ispis…","searchDocument":"Pretraži dokument","searchPreviousMatch":"Prethodna","searchNextMatch":"Slijedeća","searchResultOf":"{arg0} od {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} alati, promijeni izbornik","save":"Spremi","edit":"Uredi","delete":"Obriši","close":"Zatvori","cancel":"Otkaži","ok":"U redu","done":"Izvršeno","clear":"Očisti","date":"Datum","time":"Vrijeme","name":"Ime","color":"Boja","black":"Crna","white":"Bijela","blue":"Plava","red":"Crvena","green":"Zelena","orange":"Narančasta","lightOrange":"Svijetlo narančasta","yellow":"Žuta","lightYellow":"Svijetlo žuta","lightBlue":"Svijetlo plava","lightRed":"Svijetlo crvena","lightGreen":"Svijetlo zelena","fuchsia":"Fuksija","purple":"Ljubičasta","pink":"Roza","mauve":"Lila","lightGrey":"Svijetlo siva","grey":"Siva","darkGrey":"Tamno siva","noColor":"Prazno","transparent":"Prozirna","darkBlue":"Tamno plava","opacity":"Prozirnost","thickness":"Debljina","size":"Veličina","numberInPt":"{arg0} pt","font":"Font","fonts":"Fontovi","allFonts":"Svi fontovi","alignment":"Poravnanje","alignmentLeft":"Lijevo","alignmentRight":"Desno","alignmentCenter":"Sredina","verticalAlignment":"Vertikalno poravnanje","horizontalAlignment":"Horizontalno poravnanje","top":"Vrh","bottom":"Dno","deleteAnnotationConfirmMessage":"Jeste li sigurni da želite obrisati ovu oznaku?","deleteAnnotationConfirmAccessibilityLabel":"Potvrdite brisanje oznake","fontFamilyUnsupported":"{arg0} (nije podržan)","sign":"Potpiši","signed":"Potpisano","signatures":"Potpisi","addSignature":"Dodaj potpis","clearSignature":"Očisti potpis","storeSignature":"Pohrani potpis","pleaseSignHere":"Molimo potpišite ovdje","signing":"Potpisujem…","password":"Lozinka","unlock":"Otključaj","passwordRequired":"Potrebna je lozinka","unlockThisDocument":"Za pregledavanje dokumenta potrebno ga je otključati. Unesite lozinku u polje ispod.","incorrectPassword":"Unesena lozinka nije ispravna. Molimo pokušajte ponovno.","blendMode":"Način mješanja","normal":"Normalno","multiply":"Pomnoži","screenBlend":"Zakloni","overlay":"Prekrij","darken":"Potamni","lighten":"Posvijetli","colorDodge":"Izbjegni boje","colorBurn":"Sprži boje","hardLight":"Jako svjetlo","softLight":"Blago svjetlo","difference":"Razlika","exclusion":"Isključi","multiple":"Pomnoži","linecaps-dasharray":"Vrsta linije","dasharray":"Vrsta linije","startLineCap":"Početak linije","strokeDashArray":"Vrsta linije","endLineCap":"Kraj linije","lineAnnotation":"Linija","rectangleAnnotation":"Pravokutnik","ellipseAnnotation":"Elipsa","polygonAnnotation":"Poligon","polylineAnnotation":"Izlomljena linija","solid":"Puna","narrowDots":"Točkice","wideDots":"Široke točkice","narrowDashes":"Crtice","wideDashes":"Široke crtice","none":"Prazno","square":"Kvadrat","circle":"Kružić","diamond":"Dijamant","openArrow":"Otvorena strelica","closedArrow":"Zatvorena strelica","butt":"Linija","reverseOpenArrow":"Izvrnuta otvorena strelica","reverseClosedArrow":"Izvrnuta zatvorena strelica","slash":"Kosa","fillColor":"Boja ispunjenja","cloudy":"Oblačić","arrow":"Strelica","filePath":"Lokacija datoteke","unsupportedImageFormat":"Tip slike za slikovnu oznaku nije podržan: {arg0}. Molimo, koristite JPEG ili PNG.","noOutline":"Nema sadržaja","outline":"Sadržaj","imageAnnotation":"Slika","selectImage":"Odaberi sliku","stampAnnotation":"Pečat","highlighter":"Marker","textHighlighter":"Označavanje teksta","pen":"Crtanje","eraser":"Brisalo","export":"Izvezi","useAnExistingStampDesign":"Koristi postojeći dizajn pečata","createStamp":"Napravi pečat","stampText":"Tekst pečata","chooseColor":"Odaberi boju","rejected":"Odbijeno","accepted":"Prihvaćeno","approved":"Odobreno","notApproved":"Nije odobreno","draft":"Nacrt","final":"Konačno","completed":"Završeno","confidential":"Povjerljivo","forPublicRelease":"Za javnu objavu","notForPublicRelease":"Nije za javnu objavu","forComment":"Za komentiranje","void":"Prazno","preliminaryResults":"Prijevremeni rezultati","informationOnly":"Samo informativno","initialHere":"Inicijalno ovdje","signHere":"Potpisati ovdje","witness":"Svjedočiti","asIs":"Nepromijenjeno","departmental":"Odjelni","experimental":"Eksperimentalno","expired":"Isteklo","sold":"Prodano","topSecret":"Top Secret","revised":"Revidirano","custom":"Po mjeri","customStamp":"Prilagođen pečat","icon":"Ikona","iconRightPointer":"Pokazivač udesno","iconRightArrow":"Strelica udesno","iconCheck":"Kvačica","iconCircle":"Elipsa","iconCross":"Križ","iconInsert":"Unos teksta","iconNewParagraph":"Novi paragraf","iconNote":"Tekstovna oznaka","iconComment":"Komentar","iconParagraph":"Paragraf","iconHelp":"Pomoć","iconStar":"Zvijezda","iconKey":"Ključ","documentEditor":"Uređivač dokumenta","newPage":"Nova stranica","removePage":"Ukloni stranicu","duplicatePage":"Dupliciraj","rotatePageLeft":"Rotiraj u lijevo","rotatePageRight":"Rotiraj u desno","moveBefore":"Pomakni ispred","moveAfter":"Pomakni iza","selectNone":"Ne odaberi nijednog","selectAll":"Odaberi sve","saveAs":"Spremi kao…","mergeDocument":"Uvezi dokument","undo":"Vrati","redo":"Ponovi","openMoveDialog":"Pomakni","move":"Pomakni","instantModifiedWarning":"Dokument je izmjenjen i sada se jedino može čitati. Osvježite stranicu kako biste ovo popravili.","documentMergedHere":"Dokument će biti spojen ovdje","digitalSignaturesAllValid":"Dokument je digitalno potpisan i svi potpisi su važeći.","digitalSignaturesDocModified":"Dokument je digitalno potpisan, ali je bio mjenjan od trenutka kad je potpisan.","digitalSignaturesSignatureWarning":"Dokument je digitalno potpisan, ali barem jedan od potpisa je problematičan.","digitalSignaturesSignatureWarningDocModified":"Dokument je digitalno potpisan, ali je bio mjenjan od trenutka kad je potpisan i barem jedan od potpisa je problematičan.","digitalSignaturesSignatureError":"Dokument je digitalno potpisan, ali barem jedan potpis je nevažeći.","digitalSignaturesSignatureErrorDocModified":"Dokument je digitalno potpisan, ali je bio mjenjan od trenutka kad je potpisan i barem jedan od potpisa je nevažeći.","signingInProgress":"Potpisivanje u tijeku","signingModalDesc":"Znači da se trenutačni dokument potpisuje","discardChanges":"Odbaci izmjene","commentEditorLabel":"Dodaj komentar…","reply":"Odgovori","comment":"Komentar","comments":"Komentari","showMore":"Prikaži više","showLess":"Prikaži manje","deleteComment":"Obriši komentar","deleteCommentConfirmMessage":"Jeste li sigurni da želite obrisati ovaj komentar?","deleteCommentConfirmAccessibilityLabel":"Potvrdi brisanje komentara","editContent":"Uredi sadržaj","commentOptions":"Opcije komentara","areaRedaction":"Područje cenzure","textRedaction":"Cenzuriranje teksta","redactionAnnotation":"Cenzura","applyingRedactions":"Primjena cenzure u tijeku","overlayTextPlaceholder":"Umetni prekrivajući tekst","outlineColor":"Boja obruba","overlayText":"Prekrivajući tekst","repeatText":"Ponavljanje teksta","preview":"Pregled","applyRedactions":"Primijeni cenzure","markupAnnotationToolbar":"Traka s alatima za označavanje markerom","documentViewport":"Područje dokumenta","redactionInProgress":"Cenzuriranje u tijeku","redactionModalDesc":"Znači da je u tijeku cenzura trenutačnog dokumenta","commentAction":"Komentiraj","printProgressModalDesc":"Znači da se dokument priprema za ispis","printProgressModal":"Ispis u tijeku","documentEditorDesc":"Napravite izmjene u trenutačnom dokumentu","reloadDocumentDialog":"Potvrdi ponovno učitavanje","reloadDocumentDialogDesc":"Dijaloški okvir s porukom o potvrdi ponovnog učitavanja dokumenta.","signatureDialog":"Potpis","signatureDialogDesc":"Dijaloški okvir omogućava odabir potpisa olovkom i njegovo umetanje u dokument. Nemate li pohranjenih potpisa, možete ih kreirati na praznom platnu.","stampAnnotationTemplatesDialog":"Predlošci žigova","stampAnnotationTemplatesDialogDesc":"Ovaj dijaloški okvir omogućava odabir žiga s bilješkom za umetanje u dokument ili izradu žiga s vlastitom bilješkom.","selectedAnnotation":"Odabrano {arg0}","commentThread":"Nit komentara","selectedAnnotationWithText":"Odabrano je {arg0} s {arg1} kao sadržajem","signature":"Potpis","ElectronicSignatures_SignHereTypeHint":"Unesite svoj potpis iznad","ElectronicSignatures_SignHereDrawHint":"Potpišite ovdje","selectDragImage":"Odaberi ili povuci sliku","replaceImage":"Zamijeni sliku","draw":"Crtanje","image":"Slika","type":"Vrsta","saveSignature":"Spremi potpis","loading":"Učitavanje","selectedItem":"{arg0}, odabrano.","annotationDeleted":"Oznaka je izbrisana.","newAnnotationCreated":"Kreirana je nova oznaka {arg0}.","bookmarkCreated":"Načinjena oznaka.","bookmarkEdited":"Uređena oznaka.","bookmarkDeleted":"Izbrisana oznaka.","cancelledEditingBookmark":"Otkazano uređivanje oznaka.","selectAFileForImage":"Odaberite datoteku za novu bilješku na slici.","deleteAnnotationConfirmAccessibilityDescription":"Dijaloški okvir koji omogućava potvrdu ili otkazivanje brisanja bilješke.","deleteBookmarkConfirmAccessibilityDescription":"Dijaloški okvir koji omogućava potvrdu ili otkazivanje brisanja oznake.","deleteCommentConfirmAccessibilityDescription":"Dijaloški okvir koji omogućava potvrdu ili otkazivanje brisanja komentara.","resize":"Promj. velič.","resizeHandleTop":"Vrh","resizeHandleBottom":"Dno","resizeHandleRight":"Desno","resizeHandleLeft":"Lijevo","cropCurrentPage":"Izreži trenutačnu stranicu","cropCurrent":"Izreži trenutačno","cropAllPages":"Izreži sve stranice","cropAll":"Izreži sve","documentCrop":"Izrezivanje dokumenta","Comparison_alignButtonTouch":"Poravnaj","Comparison_selectPoint":"Odaberi točku","Comparison_documentOldTouch":"Stari","Comparison_documentNewTouch":"Novi","Comparison_result":"Usporedba","UserHint_description":"Odaberite tri točke na oba dokumenta za ručno poravnanje. Za najbolje rezultate, odaberite točke blizu kutova dokumenata, pazeći na isti redoslijed točaka na oba dokumenta.","UserHint_dismissMessage":"Otkaži","Comparison_alignButton":"Poravnaj dokumente","documentComparison":"Usporedba dokumenta","Comparison_documentOld":"Stari dokument","Comparison_documentNew":"Novi dokument","Comparison_resetButton":"Ponovno postavi","UserHint_Select":"Odabir točaka","numberValidationBadFormat":"Unesena vrijednost ne odgovara formatu polja [{arg0}]","dateValidationBadFormat":"Nepravilan datum/vrijeme: budite sigurni da je vrijeme/datum ispravan. Polje [{arg0}] mora odgovarati formatu {arg1}","insertAfterPage":"Umetni iza stranice","docEditorMoveBeginningHint":"Unesite “0” za pomak odabrane stranice/stranica na početak dokumenta.","cloudyRectangleAnnotation":"Pravokutnik s okvirom u obliku oblaka","dashedRectangleAnnotation":"Iscrtkani pravokutnik","cloudyEllipseAnnotation":"Elipsa s okvirom u obliku oblaka","dashedEllipseAnnotation":"Iscrtkana elipsa","cloudyPolygonAnnotation":"Mnogokut s okvirom u obliku oblaka","dashedPolygonAnnotation":"Iscrtkani mnogokut","cloudAnnotation":"Oblak","rotateCounterclockwise":"Rotiraj suprotno od smjera kazaljke sata","rotateClockwise":"Rotiraj u smjeru kazaljke sata","enterDescriptionHere":"Ovdje unesite opis","addOption":"Dodaj opciju","formDesignerPopoverTitle":"{formFieldType} - svojstva","formFieldNameExists":"Polje obrasca s nazivom {formFieldName} već postoji. Molimo, odaberite drugi naziv.","styleSectionLabel":"{formFieldType} - stil","formFieldName":"Naziv polja obrasca","defaultValue":"Zadana vrijednost","multiLine":"Više redaka","radioButtonFormFieldNameWarning":"Za grupiranje izbornih gumba, pazite da imaju iste nazive polja obrazaca.","advanced":"Napredno","creatorName":"Ina autora","note":"Napomena","customData":"Prilagiđeni podaci","required":"Obavezno","readOnly":"Samo za čitanje","createdAt":"Kreirano","updatedAt":"Ažurirano","customDataErrorMessage":"Mora biti obični JSON serijalizirani objekt","borderColor":"Boja obruba","borderWidth":"Širina obruba","borderStyle":"Stil obruba","solidBorder":"Puni","dashed":"Iscrtkani","beveled":"Nakošeni","inset":"Umetnuti","underline":"Podcrtani","textStyle":"Stil teksta","fontSize":"Veličina fonta","fontColor":"Boja fonta","button":"Polje gumba","textField":"Tekstno polje","radioField":"Polje izbornoga gumba","checkboxField":"Polje potvrdnog okvira","comboBoxField":"Polje kombiniranog okvira","listBoxField":"Polje okvira popisa","signatureField":"Polje za potpis","formDesigner":"Kreator obrasca","buttonText":"Tekst gumba","notAvailable":"Ništa","label":"Oznaka","value":"Vrijednost","cannotEditOnceCreated":"Ne može se uređivati nakon izrade.","formFieldNameNotEmpty":"Naziv polja obrasca ne može ostati prazan.","mediaAnnotation":"Oznaka medija","mediaFormatNotSupported":"Ovaj preglednik ne podržava ugrađeni video ili zvuk.","distanceMeasurement":"Udaljenost","perimeterMeasurement":"Perimetar","polygonAreaMeasurement":"Područje mnogokuta","rectangularAreaMeasurement":"Područje pravokutnika","ellipseAreaMeasurement":"Područje elipse","distanceMeasurementSettings":"Postavke mjerenja udaljenosti","perimeterMeasurementSettings":"Postavke mjerenja perimetra","polygonAreaMeasurementSettings":"Postavke mjerenja područja mnogokuta","rectangularAreaMeasurementSettings":"Postavke mjerenja područja pravokutnika","ellipseAreaMeasurementSettings":"Postavke mjerenja područja elipse","measurementScale":"Mjerilo","measurementCalibrateLength":"Kalibriranje","measurementPrecision":"Preciznost","measurementSnapping":"Poravnanje","formCreator":"Kreator obrasca","group":"Grupiraj","ungroup":"Odgrupiraj","bold":"Podebljano","italic":"Kurziv","addLink":"Dodaj poveznicu","removeLink":"Ukloni poveznicu","editLink":"Uredi poveznicu","anonymous":"Anonimni korisnik","saveAndClose":"Spremi i zatvori","ceToggleFontMismatchTooltip":"Naziv alata za prebacivanje nepodudarnosti fonta","ceFontMismatch":"Font {arg0} nije dostupan ili se ne može koristiti za uređivanje sadržaja u ovom dokumentu. Font dodanog ili izmijenjenog sadržaja će se vratiti na zadani.","multiAnnotationsSelection":"Odaberite više oznaka","linkSettingsPopoverTitle":"Postavke poveznice","linkTo":"Poveznica na","uriLink":"Web stranicu","pageLink":"Stranicu","invalidPageNumber":"Unesite valjani broj stranice.","invalidPageLink":"Unesite valjanu poveznicu na stranicu.","linkAnnotation":"Poveznica","targetPageLink":"Broj stranice","rotation":"Rotacija","unlockDocumentDescription":"Za pregled ovog dokumenta morate ga otključati. Molimo, unesite lozinku u donje polje.","commentDialogClosed":"Otvori nit komentara koji je započeo/la {arg0}: “{arg1}”","moreComments":"Još komentara","linesCount":"{arg0, plural,\\none {{arg0} linija}\\nfew {{arg0} linije}\\nother {{arg0} linija}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} oznaka}\\nfew {{arg0} oznake}\\nother {{arg0} oznaka}\\n=0 {Bez oznaka}\\n}","pagesSelected":"{arg0, plural,\\none {Odabrana je {arg0} stranica}\\nfew {Odabrane su {arg0} stranice}\\nother {Odabrano je {arg0} stranica}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} komentar}\\nfew {{arg0} komentara}\\nother {{arg0} komentara}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} komentar}\\nfew {{arg0} komentara}\\nother {{arg0} komentara}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} komentar više}\\nfew {{arg0} komentara više}\\nother {{arg0} komentara više}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-id-0e0985bb04ffb665.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-id-0e0985bb04ffb665.js new file mode 100644 index 00000000..2053acba --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-id-0e0985bb04ffb665.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[9726],{33615:a=>{a.exports=JSON.parse('{"thumbnails":"Gambar mini","pageXofY":"Halaman {arg0} dari {arg1}","XofY":"{arg0} dari {arg1}","prevPage":"Halaman Sebelumnya","nextPage":"Halaman Berikutnya","goToPage":"Buka halaman","gotoPageX":"Buka halaman {arg0}","pageX":"Halaman {arg0}","pageLayout":"Tata Letak Halaman","pageMode":"Mode Halaman","pageModeSingle":"Tunggal","pageModeDouble":"Ganda","pageModeAutomatic":"Otomatis","pageTransition":"Transisi Halaman","pageTransitionContinuous":"Kontinu","pageTransitionJump":"Lompat","pageRotation":"Rotasi Halaman","pageRotationLeft":"Putar ke Kiri","pageRotationRight":"Putar ke Kanan","zoomIn":"Perbesar","zoomOut":"Perkecil","marqueeZoom":"Alat Marquee","panMode":"Mode Geser","fitPage":"Paskan Halaman","fitWidth":"Paskan Lebar","annotations":"Anotasi","noAnnotations":"Tidak Ada Anotasi","bookmark":"Penanda","bookmarks":"Penanda","noBookmarks":"Tidak Ada Penanda","newBookmark":"Penanda Baru","addBookmark":"Beri Penanda","removeBookmark":"Hapus Penanda","loadingBookmarks":"Memuat Penanda","deleteBookmarkConfirmMessage":"Apakah Anda yakin ingin menghapus penanda ini?","deleteBookmarkConfirmAccessibilityLabel":"Konfirmasi penghapusan penanda","annotation":"Anotasi","noteAnnotation":"Catatan","textAnnotation":"Teks","inkAnnotation":"Gambar","highlightAnnotation":"Sorotan Teks","underlineAnnotation":"Garis Bawah","squiggleAnnotation":"Garis Lekak-lekuk","strikeOutAnnotation":"Coret","print":"Cetak","printPrepare":"Menyiapkan dokumen untuk dicetak…","searchDocument":"Cari Dokumen","searchPreviousMatch":"Sebelumnya","searchNextMatch":"Berikutnya","searchResultOf":"{arg0} dari {arg1}","accessibilityLabelDropdownGroupToggle":"Alat {arg0}, ubah menu","save":"Simpan","edit":"Edit","delete":"Hapus","close":"Tutup","cancel":"Batalkan","ok":"OKE","done":"Selesai","clear":"Bersihkan","date":"Tanggal","time":"Waktu","name":"Nama","color":"Warna","black":"Hitam","white":"Putih","blue":"Biru","red":"Merah","green":"Hijau","orange":"Oranye","lightOrange":"Oranye Muda","yellow":"Kuning","lightYellow":"Kuning Muda","lightBlue":"Biru Muda","lightRed":"Merah Muda","lightGreen":"Hijau Muda","fuchsia":"Fusia","purple":"Ungu","pink":"Merah Muda","mauve":"Mauve","lightGrey":"Abu-abu Muda","grey":"Abu-abu","darkGrey":"Abu-abu Tua","noColor":"Tidak ada","transparent":"Transparan","darkBlue":"Biru Tua","opacity":"Keburaman","thickness":"Ketebalan","size":"Ukuran","numberInPt":"{arg0} poin","font":"Font","fonts":"Font","allFonts":"Semua Font","alignment":"Penjajaran","alignmentLeft":"Kiri","alignmentRight":"Kanan","alignmentCenter":"Tengah","verticalAlignment":"Perataan vertikal","horizontalAlignment":"Perataan horizontal","top":"Atas","bottom":"Bawah","deleteAnnotationConfirmMessage":"Apakah Anda yakin ingin menghapus anotasi ini?","deleteAnnotationConfirmAccessibilityLabel":"Konfirmasi penghapusan anotasi","fontFamilyUnsupported":"{arg0} (tidak didukung)","sign":"Tanda Tangan","signed":"Ditandatangani","signatures":"Tanda Tangan","addSignature":"Tambah Tanda Tangan","clearSignature":"Bersihkan Tanda Tangan","storeSignature":"Simpan Tanda Tangan","pleaseSignHere":"Tanda tangan di sini","signing":"Menandatangani…","password":"Kata Sandi","unlock":"Buka kunci","passwordRequired":"Kata Sandi Dibutuhkan","unlockThisDocument":"Anda harus membuka dokumen ini untuk melihatnya. Masukkan kata sandi pada bidang di bawah.","incorrectPassword":"Kata sandi yang Anda masukkan salah. Coba lagi.","blendMode":"Mode Paduan","normal":"Normal","multiply":"Multiply","screenBlend":"Screen","overlay":"Overlay","darken":"Darken","lighten":"Lighten","colorDodge":"Color Dodge","colorBurn":"Color Burn","hardLight":"Hard Light","softLight":"Soft Light","difference":"Difference","exclusion":"Exclusion","multiple":"Multiple","linecaps-dasharray":"Gaya Garis","dasharray":"Gaya Garis","startLineCap":"Garis Mulai","strokeDashArray":"Gaya Garis","endLineCap":"Garis Berakhir","lineAnnotation":"Garis","rectangleAnnotation":"Persegi Panjang","ellipseAnnotation":"Elips","polygonAnnotation":"Poligon","polylineAnnotation":"Polyline","solid":"Padat","narrowDots":"Titik Sempit","wideDots":"Titik Lebar","narrowDashes":"Garis Putus Sempit","wideDashes":"Garis Putus Lebar","none":"Tidak ada","square":"Persegi","circle":"Lingkaran","diamond":"Intan","openArrow":"Panah Terbuka","closedArrow":"Panah Tertutup","butt":"Pangkal","reverseOpenArrow":"Panah Terbuka Terbalik","reverseClosedArrow":"Panah Tertutup Terbalik","slash":"Garis Miring","fillColor":"Warna Isi","cloudy":"Berawan","arrow":"Panah","filePath":"Jalur File","unsupportedImageFormat":"Jenis tidak didukung untuk anotasi gambar: {arg0}. Gunakan JPEG atau PNG.","noOutline":"Tidak Ada Kerangka","outline":"Kerangka","imageAnnotation":"Gambar","selectImage":"Pilih Gambar","stampAnnotation":"Stempel","highlighter":"Sorotan Bentuk Bebas","textHighlighter":"Penyorot Teks","pen":"Gambar","eraser":"Penghapus","export":"Ekspor","useAnExistingStampDesign":"Gunakan desain stempel yang ada","createStamp":"Buat Stempel","stampText":"Teks Stempel","chooseColor":"Pilih Warna","rejected":"Ditolak","accepted":"Diterima","approved":"Disetujui","notApproved":"Belum Disetujui","draft":"Draf","final":"Akhir","completed":"Selesai","confidential":"Rahasia","forPublicRelease":"Untuk Rilis Publik","notForPublicRelease":"Bukan Untuk Rilis Publik","forComment":"Untuk Komentar","void":"Kosong","preliminaryResults":"Hasil Awal","informationOnly":"Hanya informasi","initialHere":"Inisial Di Sini","signHere":"Tandai Di Sini","witness":"Tanda","asIs":"Apa Adanya","departmental":"Departemen","experimental":"Eksperimental","expired":"Berakhir","sold":"Terjual","topSecret":"Sangat Rahasia","revised":"Revisi","custom":"Khusus","customStamp":"Stempel Khusus","icon":"Ikon","iconRightPointer":"Penunjuk Kanan","iconRightArrow":"Panah Kanan","iconCheck":"Centang","iconCircle":"Elips","iconCross":"Silang","iconInsert":"Masukkan Teks","iconNewParagraph":"Paragraf Baru","iconNote":"Catatan Teks","iconComment":"Komentar","iconParagraph":"Paragraf","iconHelp":"Bantuan","iconStar":"Bintang","iconKey":"Kunci","documentEditor":"Editor Dokumen","newPage":"Halaman Baru","removePage":"Hapus Halaman","duplicatePage":"Duplikatkan","rotatePageLeft":"Putar ke Kiri","rotatePageRight":"Putar ke Kanan","moveBefore":"Pindah Sebelum","moveAfter":"Pindah Setelah","selectNone":"Tidak Pilih Satu Pun","selectAll":"Pilih Semua","saveAs":"Simpan Sebagai…","mergeDocument":"Impor Dokumen","undo":"Kembalikan","redo":"Ulangi","openMoveDialog":"Pindah","move":"Pindah","instantModifiedWarning":"Dokumen telah dimodifikasi dan kini dalam mode hanya baca. Muat ulang halaman untuk memperbaiki ini.","documentMergedHere":"Dokumen akan digabung di sini","digitalSignaturesAllValid":"Dokumen telah ditandatangani secara digital dan semua tanda tangan sah.","digitalSignaturesDocModified":"Dokumen telah ditandatangani secara digital, tetapi telah dimodifikasi sejak ditandatangani.","digitalSignaturesSignatureWarning":"Dokumen telah ditandatangani secara digital, tetapi setidaknya satu tanda tangan memiliki masalah.","digitalSignaturesSignatureWarningDocModified":"Dokumen telah ditandatangani secara digital, tetapi telah dimodifikasi sejak ditandatangani dan setidaknya satu tanda tangan memiliki masalah.","digitalSignaturesSignatureError":"Dokumen telah ditandatangani secara digital, tetapi setidaknya satu tanda tangan tidak sah.","digitalSignaturesSignatureErrorDocModified":"Dokumen telah ditandatangani secara digital, tetapi telah dimodifikasi sejak ditandatangani dan setidaknya satu tanda tangan tidak sah.","signingInProgress":"Sedang ditandatangani","signingModalDesc":"Menunjukkan bahwa dokumen saat ini sedang ditandatangani","discardChanges":"Buang Perubahan","commentEditorLabel":"Tambah komentar Anda…","reply":"Balas","comment":"Komentar","comments":"Komentar","showMore":"Lebih banyak","showLess":"Lebih sedikit","deleteComment":"Hapus Komentar","deleteCommentConfirmMessage":"Apakah Anda yakin ingin menghapus komentar ini?","deleteCommentConfirmAccessibilityLabel":"Konfirmasi penghapusan komentar","editContent":"Edit Konten","commentOptions":"Opsi Komentar","areaRedaction":"Suntingan Area","textRedaction":"Suntingan Teks","redactionAnnotation":"Suntingan","applyingRedactions":"Menerapkan suntingan","overlayTextPlaceholder":"Masukkan teks overlay","outlineColor":"Warna Kerangka","overlayText":"Teks Overlay","repeatText":"Ulangi Teks","preview":"Pratinjau","applyRedactions":"Terapkan Suntingan","markupAnnotationToolbar":"Bar alat anotasi markah","documentViewport":"Viewport dokumen","redactionInProgress":"Sedang disunting","redactionModalDesc":"Menunjukkan bahwa dokumen saat ini sedang disunting","commentAction":"Komentari","printProgressModalDesc":"Menunjukkan bahwa dokumen sedang disiapkan untuk dicetak","printProgressModal":"Sedang dicetak","documentEditorDesc":"Buat perubahan pada dokumen saat ini","reloadDocumentDialog":"Konfirmasi pemuatan ulang dokumen","reloadDocumentDialogDesc":"Dialog yang meminta pengguna untuk mengonfirmasi pemuatan ulang dokumen.","signatureDialog":"Tanda Tangan","signatureDialogDesc":"Dialog ini memungkinkan Anda memilih tanda tangan tinta untuk disisipkan ke dalam dokumen. Jika Anda tidak memiliki tanda tangan yang disimpan, Anda dapat membuatnya menggunakan tampilan kanvas.","stampAnnotationTemplatesDialog":"Template Anotasi Stempel","stampAnnotationTemplatesDialogDesc":"Dialog ini memungkinkan Anda memilih anotasi stempel untuk disisipkan ke dalam dokumen atau membuat anotasi stempel khusus dengan teks Anda sendiri.","selectedAnnotation":"{arg0} yang dipilih","commentThread":"Utas komentar","selectedAnnotationWithText":"{arg0} yang dipilih dengan {arg1} sebagai konten","signature":"Tanda Tangan","ElectronicSignatures_SignHereTypeHint":"Ketik Tanda Tangan Anda di Atas","ElectronicSignatures_SignHereDrawHint":"Tandai Di Sini","selectDragImage":"Pilih atau Seret Gambar","replaceImage":"Ganti Gambar","draw":"Gambar","image":"Gambar","type":"Ketik","saveSignature":"Simpan Tanda Tangan","loading":"Memuat","selectedItem":"{arg0}, dipilih.","annotationDeleted":"Anotasi dihapus.","newAnnotationCreated":"Anotasi {arg0} baru telah dibuat.","bookmarkCreated":"Penanda dibuat.","bookmarkEdited":"Penanda diedit.","bookmarkDeleted":"Penanda dihapus.","cancelledEditingBookmark":"Penanda batal diedit.","selectAFileForImage":"Pilih file untuk anotasi gambar baru.","deleteAnnotationConfirmAccessibilityDescription":"Dialog yang memungkinkan Anda mengonfirmasi atau membatalkan penghapusan anotasi.","deleteBookmarkConfirmAccessibilityDescription":"Dialog yang memungkinkan Anda mengonfirmasi atau membatalkan penghapusan penanda.","deleteCommentConfirmAccessibilityDescription":"Dialog yang memungkinkan Anda mengonfirmasi atau membatalkan penghapusan komentar.","resize":"Ubah ukuran","resizeHandleTop":"Atas","resizeHandleBottom":"Bawah","resizeHandleRight":"Kanan","resizeHandleLeft":"Kiri","cropCurrentPage":"Pangkas Halaman Saat Ini","cropCurrent":"Pangkas Ini","cropAllPages":"Pangkas Semua Halaman","cropAll":"Pangkas Semua","documentCrop":"Pangkas Dokumen","Comparison_alignButtonTouch":"Ratakan","Comparison_selectPoint":"Pilih Titik","Comparison_documentOldTouch":"Lama","Comparison_documentNewTouch":"Baru","Comparison_result":"Perbandingan","UserHint_description":"Pilih tiga titik pada kedua dokumen untuk perataan manual. Untuk hasil terbaik, pilih titik di dekat sudut dokumen untuk memastikan titik berada dalam urutan yang sama pada kedua dokumen.","UserHint_dismissMessage":"Tutup","Comparison_alignButton":"Ratakan Dokumen","documentComparison":"Perbandingan Dokumen","Comparison_documentOld":"Dokumen Lama","Comparison_documentNew":"Dokumen Baru","Comparison_resetButton":"Atur Ulang","UserHint_Select":"Memilih Titik","numberValidationBadFormat":"Nilai yang dimasukkan tidak cocok dengan format bidang [{arg0}]","dateValidationBadFormat":"Tanggal/waktu tidak sah: pastikan tanggal/waktu benar. Bidang [{arg0}] harus cocok dengan format {arg1}","insertAfterPage":"Sisipkan setelah halaman","docEditorMoveBeginningHint":"Ketik “0” untuk memindahkan halaman yang dipilih ke awal dokumen.","cloudyRectangleAnnotation":"Persegi Panjang Awan","dashedRectangleAnnotation":"Persegi Panjang Garis Putus","cloudyEllipseAnnotation":"Elips Awan","dashedEllipseAnnotation":"Elips Garis Putus","cloudyPolygonAnnotation":"Poligon Awan","dashedPolygonAnnotation":"Poligon Garis Putus","cloudAnnotation":"Awan","rotateCounterclockwise":"Putar berlawanan arah jarum jam","rotateClockwise":"Putar searah jarum jam","enterDescriptionHere":"Masukkan deskripsi di sini","addOption":"Tambah opsi","formDesignerPopoverTitle":"Properti {formFieldType}","formFieldNameExists":"Bidang formulir bernama {formFieldName} sudah ada. Pilih nama yang berbeda.","styleSectionLabel":"Gaya {formFieldType}","formFieldName":"Nama Bidang Formulir","defaultValue":"Nilai Default","multiLine":"Multi-baris","radioButtonFormFieldNameWarning":"Untuk mengelompokkan tombol radio, pastikan nama bidang formulirnya sama.","advanced":"Lanjutan","creatorName":"Nama Pembuat","note":"Catatan","customData":"Data Khusus","required":"Diperlukan","readOnly":"Hanya Baca","createdAt":"Dibuat","updatedAt":"Diperbarui","customDataErrorMessage":"Harus berupa objek serial JSON biasa","borderColor":"Warna Garis Tepi","borderWidth":"Lebar Garis Tepi","borderStyle":"Gaya Garis Tepi","solidBorder":"Solid","dashed":"Bergaris Putus","beveled":"Bevel","inset":"Inset","underline":"Bergaris Bawah","textStyle":"Gaya Teks","fontSize":"Ukuran Font","fontColor":"Warna Font","button":"Bidang Tombol","textField":"Bidang Teks","radioField":"Bidang Radio","checkboxField":"Bidang Kotak Centang","comboBoxField":"Bidang Kotak Kombo","listBoxField":"Bidang Kotak Daftar","signatureField":"Bidang Tanda Tangan","formDesigner":"Pencipta Formulir","buttonText":"Teks Tombol","notAvailable":"T/A","label":"Label","value":"Nilai","cannotEditOnceCreated":"Tidak dapat diedit setelah dibuat.","formFieldNameNotEmpty":"Nama bidang formulir tidak boleh kosong.","mediaAnnotation":"Anotasi Media","mediaFormatNotSupported":"Browser ini tidak mendukung video atau audio yang dilekatkan.","distanceMeasurement":"Jarak","perimeterMeasurement":"Perimeter","polygonAreaMeasurement":"Area Poligon","rectangularAreaMeasurement":"Area Persegi Panjang","ellipseAreaMeasurement":"Area Elips","distanceMeasurementSettings":"Pengaturan Pengukuran Jarak","perimeterMeasurementSettings":"Pengaturan Pengukuran Perimeter","polygonAreaMeasurementSettings":"Pengaturan Pengukuran Area Poligon","rectangularAreaMeasurementSettings":"Pengaturan Pengukuran Area Persegi Panjang","ellipseAreaMeasurementSettings":"Pengaturan Pengukuran Area Elips","measurementScale":"Skala","measurementCalibrateLength":"Kalibrasi Panjang","measurementPrecision":"Presisi","measurementSnapping":"Lekatkan","formCreator":"Pencipta Formulir","group":"Grup","ungroup":"Pisahkan grup","bold":"Tebal","italic":"Miring","addLink":"Tambah Tautan","removeLink":"Hapus Tautan","editLink":"Edit Tautan","anonymous":"Anonim","saveAndClose":"Simpan & Tutup","ceToggleFontMismatchTooltip":"Ubah tooltip ketidakcocokan font","ceFontMismatch":"Font {arg0} tidak tersedia atau tidak dapat digunakan untuk mengedit konten dalam dokumen ini. Konten yang ditambahkan atau diubah akan dikembalikan ke font default.","multiAnnotationsSelection":"Pilih Beberapa Anotasi","linkSettingsPopoverTitle":"Pengaturan Tautan","linkTo":"Tautkan Ke","uriLink":"Situs Web","pageLink":"Halaman","invalidPageNumber":"Masukkan nomor halaman yang sah.","invalidPageLink":"Masukkan tautan halaman yang sah.","linkAnnotation":"Tautan","targetPageLink":"Nomor Halaman","rotation":"Rotasi","unlockDocumentDescription":"Anda harus membuka kunci dokumen ini untuk melihatnya. Masukkan kata sandi pada bidang di bawah.","commentDialogClosed":"Utas komentar terbuka dimulai oleh {arg0}: “{arg1}”","moreComments":"Komentar lainnya","linesCount":"{arg0, plural,\\nother {{arg0} Garis}\\n}","annotationsCount":"{arg0, plural,\\nother {{arg0} Anotasi}\\n=0 {Tak ada anotasi}\\n}","pagesSelected":"{arg0, plural,\\nother {{arg0} Halaman Dipilih}\\n}","commentsCount":"{arg0, plural,\\nother {{arg0} Komentar}\\n}","deleteNComments":"{arg0, plural,\\nother {{arg0} Komentar}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\nother {{arg0} komentar lainnya}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-it-0f9f741f920a42bf.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-it-0f9f741f920a42bf.js new file mode 100644 index 00000000..3fb1b859 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-it-0f9f741f920a42bf.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[8839],{24068:e=>{e.exports=JSON.parse('{"thumbnails":"Miniature","pageXofY":"Pagina {arg0} di {arg1}","XofY":"{arg0} di {arg1}","prevPage":"Pagina precedente","nextPage":"Pagina successiva","goToPage":"Vai a pagina","gotoPageX":"Vai alla pagina {arg0}","pageX":"Pagina {arg0}","pageLayout":"Layout pagina","pageMode":"Modalità pagina","pageModeSingle":"Pagina singola","pageModeDouble":"Due pagine","pageModeAutomatic":"Automatica","pageTransition":"Transizione pagine","pageTransitionContinuous":"Continua","pageTransitionJump":"Passaggio","pageRotation":"Rotazione pagina","pageRotationLeft":"Ruota a sinistra","pageRotationRight":"Ruota a destra","zoomIn":"Ingrandisci","zoomOut":"Riduci","marqueeZoom":"Strumento di selezione","panMode":"Spostamento","fitPage":"Adatta pagina","fitWidth":"Adatta larghezza","annotations":"Annotazioni","noAnnotations":"Nessuna annotazione","bookmark":"Segnalibro","bookmarks":"Segnalibri","noBookmarks":"Nessun segnalibro","newBookmark":"Nuovo segnalibro","addBookmark":"Aggiungi segnalibro","removeBookmark":"Rimuovi segnalibro","loadingBookmarks":"Carico segnalibri","deleteBookmarkConfirmMessage":"Sei sicuro di voler eliminare questo segnalibro?","deleteBookmarkConfirmAccessibilityLabel":"Conferma eliminazione segnalibro","annotation":"Annotazione","noteAnnotation":"Nota","textAnnotation":"Testo","inkAnnotation":"Disegno","highlightAnnotation":"Evidenziazione testo","underlineAnnotation":"Sottolineato","squiggleAnnotation":"Zigzag","strikeOutAnnotation":"Barrato","print":"Stampa","printPrepare":"Preparo documento per la stampa…","searchDocument":"Cerca nel documento","searchPreviousMatch":"Precedente","searchNextMatch":"Avanti","searchResultOf":"{arg0} di {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} strumenti, cambia menu","save":"Salva","edit":"Modifica","delete":"Elimina","close":"Chiudi","cancel":"Annulla","ok":"OK","done":"Fine","clear":"Pulisci","date":"Data","time":"Ora","name":"Nome","color":"Colore","black":"Nero","white":"Bianco","blue":"Blu","red":"Rosso","green":"Verde","orange":"Arancione","lightOrange":"Arancione chiaro","yellow":"Giallo","lightYellow":"Giallo chiaro","lightBlue":"Celeste","lightRed":"Rosso chiaro","lightGreen":"Verde chiaro","fuchsia":"Fucsia","purple":"Viola","pink":"Rosa","mauve":"Malva","lightGrey":"Grigio chiaro","grey":"Grigio","darkGrey":"Grigio scuro","noColor":"Nessuno","transparent":"Trasparente","darkBlue":"Blu scuro","opacity":"Opacità","thickness":"Spessore","size":"Dimensioni","numberInPt":"{arg0} punti","font":"Font","fonts":"Font","allFonts":"Tutti i font","alignment":"Allineamento","alignmentLeft":"Sinistra","alignmentRight":"Destra","alignmentCenter":"Centrato","verticalAlignment":"Allineamento verticale","horizontalAlignment":"Allineamento orizzontale","top":"In alto","bottom":"In basso","deleteAnnotationConfirmMessage":"Sei sicuro di voler eliminare questa annotazione?","deleteAnnotationConfirmAccessibilityLabel":"Conferma eliminazione annotazione","fontFamilyUnsupported":"{arg0} (non supportato)","sign":"Firma","signed":"Firmato","signatures":"Firme","addSignature":"Aggiungi firma","clearSignature":"Cancella firma","storeSignature":"Memorizza firma","pleaseSignHere":"Firma qui","signing":"Firmo…","password":"Password","unlock":"Sblocca","passwordRequired":"Password richiesta","unlockThisDocument":"Devi sbloccare questo documento per vederlo. Inserisci la password nel campo sottostante.","incorrectPassword":"La password inserita non è corretta. Riprova.","blendMode":"Metodo di fusione","normal":"Normale","multiply":"Moltiplica","screenBlend":"Scolora","overlay":"Sovrapponi","darken":"Scurisci","lighten":"Schiarisci","colorDodge":"Colore scherma","colorBurn":"Colore brucia","hardLight":"Luce intensa","softLight":"Luce soffusa","difference":"Differenza","exclusion":"Esclusione","multiple":"Multipli","linecaps-dasharray":"Stile linea","dasharray":"Stile linea","startLineCap":"Inizio linea","strokeDashArray":"Stile linea","endLineCap":"Fine linea","lineAnnotation":"Linea","rectangleAnnotation":"Rettangolo","ellipseAnnotation":"Ellisse","polygonAnnotation":"Poligono","polylineAnnotation":"Polilinea","solid":"Continuo","narrowDots":"Puntini stretti","wideDots":"Puntini larghi","narrowDashes":"Trattini stretti","wideDashes":"Trattini larghi","none":"Nessuno","square":"Quadrato","circle":"Cerchio","diamond":"Diamante","openArrow":"Freccia aperta","closedArrow":"Freccia chiusa","butt":"Piatta","reverseOpenArrow":"Freccia aperta invertita","reverseClosedArrow":"Freccia chiusa invertita","slash":"Barra","fillColor":"Colore di riempimento","cloudy":"Nuvoletta","arrow":"Freccia","filePath":"Percorso file","unsupportedImageFormat":"Tipo non supportato come annotazione immagine: {arg0}. Usa JPEG o PNG.","noOutline":"Nessun indice","outline":"Indice","imageAnnotation":"Immagine","selectImage":"Seleziona immagine","stampAnnotation":"Timbro","highlighter":"Evidenziato a mano libera","textHighlighter":"Evidenziatore testo","pen":"Disegno","eraser":"Gomma","export":"Esporta","useAnExistingStampDesign":"Usa design di timbro esistente","createStamp":"Crea timbro","stampText":"Testo del timbro","chooseColor":"Seleziona colore","rejected":"Rifiutato","accepted":"Accettato","approved":"Approvato","notApproved":"Non approvato","draft":"Bozza","final":"Finale","completed":"Completato","confidential":"Confidenziale","forPublicRelease":"Per la pubblicazione","notForPublicRelease":"Non per la pubblicazione","forComment":"Per commenti","void":"Annullato","preliminaryResults":"Risultati preliminari","informationOnly":"Solo informazione","initialHere":"Iniziali qui","signHere":"Firma qui","witness":"Controllo","asIs":"Così com’è","departmental":"Di sezione","experimental":"Sperimentale","expired":"Scaduto","sold":"Venduto","topSecret":"Top Secret","revised":"Revisionato","custom":"Personalizzato","customStamp":"Timbro personalizzato","icon":"Icona","iconRightPointer":"Punta verso destra","iconRightArrow":"Freccia a destra","iconCheck":"Segno di spunta","iconCircle":"Ellisse","iconCross":"Croce","iconInsert":"Inserisci testo","iconNewParagraph":"Nuovo paragrafo","iconNote":"Nota di testo","iconComment":"Commento","iconParagraph":"Paragrafo","iconHelp":"Aiuto","iconStar":"Stella","iconKey":"Chiave","documentEditor":"Editor documenti","newPage":"Nuova pagina","removePage":"Elimina pagine","duplicatePage":"Duplica","rotatePageLeft":"Ruota a sinistra","rotatePageRight":"Ruota a destra","moveBefore":"Sposta prima","moveAfter":"Sposta dopo","selectNone":"Non selezionare niente","selectAll":"Seleziona pagina","saveAs":"Salva come…","mergeDocument":"Importa documento","undo":"Annulla","redo":"Ripristina","openMoveDialog":"Sposta","move":"Sposta","instantModifiedWarning":"Il documento è stato modificato ed è ora in modalità di sola lettura. Ricarica la pagina per risolvere il problema.","documentMergedHere":"Il documento verrà unito qui","digitalSignaturesAllValid":"Il documento è stato firmato digitalmente e tutte le firme sono valide.","digitalSignaturesDocModified":"Il documento è stato firmato digitalmente, ma è stato modificato da quando è stato firmato.","digitalSignaturesSignatureWarning":"Il documento è stato firmato digitalmente, ma almeno una firma presenta dei problemi.","digitalSignaturesSignatureWarningDocModified":"Il documento è stato firmato digitalmente, ma è stato modificato da quando è stato firmato e almeno una firma presenta dei problemi.","digitalSignaturesSignatureError":"Il documento è stato firmato digitalmente, ma almeno una firma non è valida.","digitalSignaturesSignatureErrorDocModified":"Il documento è stato firmato digitalmente, ma è stato modificato da quando è stato firmato e almeno una firma non è valida.","signingInProgress":"Firma in corso","signingModalDesc":"Indica che il documento attuale viene firmato","discardChanges":"Annulla modifiche","commentEditorLabel":"Aggiungi il tuo commento…","reply":"Rispondi","comment":"Commento","comments":"Commenti","showMore":"Mostra di più","showLess":"Mostra di meno","deleteComment":"Elimina commento","deleteCommentConfirmMessage":"Sei sicuro di voler eliminare questo commento?","deleteCommentConfirmAccessibilityLabel":"Conferma eliminazione commento","editContent":"Modifica contenuto","commentOptions":"Opzioni commento","areaRedaction":"Revisione area","textRedaction":"Revisione testo","redactionAnnotation":"Revisione","applyingRedactions":"Applico revisione","overlayTextPlaceholder":"Inserisci testo sovrapposto","outlineColor":"Colore indice","overlayText":"Sovrapponi testo","repeatText":"Ripeti testo","preview":"Anteprima","applyRedactions":"Applica revisioni","markupAnnotationToolbar":"Barra strumenti annotazioni markup","documentViewport":"Riquadro di visualizzazione documento","redactionInProgress":"Revisione in corso","redactionModalDesc":"Indica che il documento attuale viene revisionato","commentAction":"Commenta","printProgressModalDesc":"Indica che un documento è in preparazione per la stampa","printProgressModal":"Stampa in corso","documentEditorDesc":"Applica modifiche al documento attuale","reloadDocumentDialog":"Conferma la ricarica del documento","reloadDocumentDialogDesc":"Dialogo che chiede conferma all’utente di caricare nuovamente il documento.","signatureDialog":"Firma","signatureDialogDesc":"Questo dialogo consente la selezione di una firma a inchiostro da inserire nel documento. Se non hai firme archiviate, puoi crearne una, usa la vista della tela.","stampAnnotationTemplatesDialog":"Modelli di annotazioni timbro","stampAnnotationTemplatesDialogDesc":"Questo dialogo consente la selezione di un’annotazione timbro da inserire nel documento o di creare un’annotazione timbro personalizzata con il proprio testo.","selectedAnnotation":"{arg0} selezionata","commentThread":"Thread di commenti","selectedAnnotationWithText":"{arg0} selezionata con {arg1} come contenuto","signature":"Firma","ElectronicSignatures_SignHereTypeHint":"Scrivi la tua firma qui sopra","ElectronicSignatures_SignHereDrawHint":"Firma qui","selectDragImage":"Seleziona o trascina immagine","replaceImage":"Sostituisci immagine","draw":"Disegna","image":"Immagine","type":"Scrivi","saveSignature":"Salva firma","loading":"Caricamento","selectedItem":"{arg0}, selezionato.","annotationDeleted":"L’annotazione è stata eliminata.","newAnnotationCreated":"La nuova annotazione {arg0} è stata creata.","bookmarkCreated":"Il segnalibro è stato creato.","bookmarkEdited":"Il segnalibro è stato modificato.","bookmarkDeleted":"Il segnalibro è stato eliminato.","cancelledEditingBookmark":"La modifica del segnalibro è stata annullata.","selectAFileForImage":"Seleziona un file per la nuova annotazione immagine.","deleteAnnotationConfirmAccessibilityDescription":"Dialogo che consente di confermare o eliminare l’annotazione.","deleteBookmarkConfirmAccessibilityDescription":"Dialogo che consente di confermare o eliminare il segnalibro.","deleteCommentConfirmAccessibilityDescription":"Dialogo che consente di confermare o eliminare il commento.","resize":"Ridimensiona","resizeHandleTop":"In alto","resizeHandleBottom":"In basso","resizeHandleRight":"A destra","resizeHandleLeft":"A sinistra","cropCurrentPage":"Ritaglia pagina attuale","cropCurrent":"Ritaglia attuale","cropAllPages":"Ritaglia tutte le pagine","cropAll":"Ritaglia tutto","documentCrop":"Ritaglia documento","Comparison_alignButtonTouch":"Allinea","Comparison_selectPoint":"Seleziona punto","Comparison_documentOldTouch":"Vecchio","Comparison_documentNewTouch":"Nuovo","Comparison_result":"Confronta","UserHint_description":"Seleziona tre punti in entrambi i documenti per un allineamento manuale. Per i migliori risultati seleziona dei punti vicini agli angoli dei documenti, assicurandoti che i punti siano nello stesso ordine in entrambi i documenti.","UserHint_dismissMessage":"Ignora","Comparison_alignButton":"Allinea documenti","documentComparison":"Confronta documenti","Comparison_documentOld":"Vecchio documento","Comparison_documentNew":"Nuovo documento","Comparison_resetButton":"Ripristina","UserHint_Select":"Selezione punti","numberValidationBadFormat":"Il valore inserito non corrisponde al formato del campo [{arg0}]","dateValidationBadFormat":"Data/ora non valida: assicurati che la data/l’ora esista. Il campo [{arg0}] deve corrispondere al formato {arg1}","insertAfterPage":"Inserisci dopo pagina","docEditorMoveBeginningHint":"Digita \\"0\\" per spostare la/le pagina/e all’inizio del documento.","cloudyRectangleAnnotation":"Rettangolo ondulato","dashedRectangleAnnotation":"Rettangolo tratteggiato","cloudyEllipseAnnotation":"Ellisse ondulata","dashedEllipseAnnotation":"Ellisse tratteggiata","cloudyPolygonAnnotation":"Poligono ondulato","dashedPolygonAnnotation":"Poligono tratteggiato","cloudAnnotation":"Nuvola","rotateCounterclockwise":"Ruota in senso antiorario","rotateClockwise":"Ruota in senso orario","enterDescriptionHere":"Inserisci la descrizione qui","addOption":"Aggiungi opzione","formDesignerPopoverTitle":"Proprietà {formFieldType}","formFieldNameExists":"Un campo modulo con il nome {formFieldName} esiste già. Scegli un altro nome.","styleSectionLabel":"Stile {formFieldType}","formFieldName":"Nome del campo modulo","defaultValue":"Valore di default","multiLine":"Multilinea","radioButtonFormFieldNameWarning":"Per essere raggruppati i pulsanti di scelta devono avere lo stesso nome di campo modulo.","advanced":"Avanzate","creatorName":"Nome del creatore","note":"Nota","customData":"Data personalizzata","required":"Obbligatorio","readOnly":"Sola lettura","createdAt":"Creato il","updatedAt":"Aggiornato il","customDataErrorMessage":"Deve essere un oggetto semplice serializzabile in JSON","borderColor":"Colore del bordo","borderWidth":"Spessore del bordo","borderStyle":"Stile del bordo","solidBorder":"Uniforme","dashed":"Tratteggiato","beveled":"Smussato","inset":"Rilievo","underline":"Sottolineato","textStyle":"Stile del testo","fontSize":"Dimensioni font","fontColor":"Colore font","button":"Campo pulsante","textField":"Campo di testo","radioField":"Campo di scelta","checkboxField":"Campo casella di controllo","comboBoxField":"Campo casella combinata","listBoxField":"Campo casella di riepilogo","signatureField":"Campo firma","formDesigner":"Creatore del modulo","buttonText":"Testo pulsante","notAvailable":"N/D","label":"Etichetta","value":"Valore","cannotEditOnceCreated":"Non può essere modificato dopo la creazione.","formFieldNameNotEmpty":"Il nome del campo modulo non può essere vuoto.","mediaAnnotation":"Annotazione multimediale","mediaFormatNotSupported":"Questo browser non supporta video o audio incorporati.","distanceMeasurement":"Distanza","perimeterMeasurement":"Perimetro","polygonAreaMeasurement":"Area poligonale","rectangularAreaMeasurement":"Area rettangolare","ellipseAreaMeasurement":"Area ellittica","distanceMeasurementSettings":"Impostazioni di misurazione della distanza","perimeterMeasurementSettings":"Impostazioni di misurazione del perimetro","polygonAreaMeasurementSettings":"Impostazioni di misurazione dell\'area poligonale","rectangularAreaMeasurementSettings":"Impostazioni di misurazione dell\'area rettangolare","ellipseAreaMeasurementSettings":"Impostazioni di misurazione dell\'area ellittica","measurementScale":"Scala","measurementCalibrateLength":"Calibra lunghezza","measurementPrecision":"Precisione","measurementSnapping":"Allineamento","formCreator":"Creatore del modulo","group":"Gruppo","ungroup":"Separa","bold":"Grassetto","italic":"Corsivo","addLink":"Aggiungi link","removeLink":"Rimuovi link","editLink":"Modifica link","anonymous":"Anonimo","saveAndClose":"Salva e chiudi","ceToggleFontMismatchTooltip":"Attiva/disattiva descrizione per font non corrispondenti","ceFontMismatch":"Il font {arg0} non è disponibile o non può essere usato per modificare il contenuto nel documento. Il contenuto aggiunto o modificato verrà ripristinato con un font predefinito.","multiAnnotationsSelection":"Seleziona più annotazioni","linkSettingsPopoverTitle":"Impostazioni link","linkTo":"Link a","uriLink":"Sito web","pageLink":"Pagina","invalidPageNumber":"Inserisci un numero di pagina valido.","invalidPageLink":"Inserisci un link alla pagina valido.","linkAnnotation":"Link","targetPageLink":"Numero di pagina","rotation":"Rotazione","unlockDocumentDescription":"Devi sbloccare questo documento per visualizzarlo. Inserisci la password nel campo sottostante.","commentDialogClosed":"Apri thread di commenti iniziato da {arg0}: \\"{arg1}\\"","moreComments":"Altri commenti","linesCount":"{arg0, plural,\\none {{arg0} linea}\\nother {{arg0} linee}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} annotazione}\\nother {{arg0} annotazioni}\\n=0 {Nessuna annotazione}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} pagina selezionata}\\nother {{arg0} pagine selezionate}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} commento}\\nother {{arg0} commenti}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} commento}\\nother {{arg0} commenti}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} altro commento}\\nother {Altri {arg0} commenti}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-ja-3d793e32a3a0195c.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-ja-3d793e32a3a0195c.js new file mode 100644 index 00000000..ba232b06 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-ja-3d793e32a3a0195c.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[3463],{87854:e=>{e.exports=JSON.parse('{"thumbnails":"サムネール","pageXofY":"ページ {arg0}/{arg1}","XofY":"{arg0}/{arg1}","prevPage":"前のページ","nextPage":"次のページ","goToPage":"ページに移動","gotoPageX":"{arg0}ページに移動","pageX":"ページ{arg0}","pageLayout":"ページレイアウト","pageMode":"ページモード","pageModeSingle":"シングル","pageModeDouble":"ダブル","pageModeAutomatic":"自動","pageTransition":"ページトランジション","pageTransitionContinuous":"連続","pageTransitionJump":"ジャンプ","pageRotation":"ページの回転","pageRotationLeft":"反時計回りに回転","pageRotationRight":"時計回りに回転","zoomIn":"拡大","zoomOut":"縮小","marqueeZoom":"マーキーズームツール","panMode":"パンモード","fitPage":"ページに合わせる","fitWidth":"幅に合わせる","annotations":"注釈","noAnnotations":"注釈なし","bookmark":"ブックマーク","bookmarks":"ブックマーク","noBookmarks":"ブックマークがありません","newBookmark":"新規ブックマーク","addBookmark":"ブックマークを追加","removeBookmark":"ブックマークを削除","loadingBookmarks":"ブックマークを読み込み中","deleteBookmarkConfirmMessage":"このブックマークを削除してよろしいですか?","deleteBookmarkConfirmAccessibilityLabel":"ブックマークの削除を確認","annotation":"注釈","noteAnnotation":"メモ","textAnnotation":"テキスト","inkAnnotation":"描画","highlightAnnotation":"テキストハイライト","underlineAnnotation":"アンダーライン","squiggleAnnotation":"曲線","strikeOutAnnotation":"取り消し線","print":"プリント","printPrepare":"書類をプリントに準備中…","searchDocument":"書類を検索","searchPreviousMatch":"前へ","searchNextMatch":"次へ","searchResultOf":"{arg0}/{arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} ツール、メニューを切り替え","save":"保存","edit":"編集","delete":"削除","close":"閉じる","cancel":"キャンセル","ok":"OK","done":"完了","clear":"消去","date":"日付","time":"時刻","name":"名前","color":"カラー","black":"ブラック","white":"ホワイト","blue":"ブルー","red":"レッド","green":"グリーン","orange":"オレンジ","lightOrange":"ライトオレンジ","yellow":"イエロー","lightYellow":"ライトイエロー","lightBlue":"ライトブルー","lightRed":"ライトレッド","lightGreen":"ライトグリーン","fuchsia":"フューシャ","purple":"パープル","pink":"ピンク","mauve":"モーブ","lightGrey":"ライトグレイ","grey":"グレイ","darkGrey":"ダークグレイ","noColor":"なし","transparent":"透明","darkBlue":"ダークブルー","opacity":"不透明度","thickness":"太さ","size":"サイズ","numberInPt":"{arg0}","font":"フォント","fonts":"フォント","allFonts":"すべてのフォント","alignment":"行揃え","alignmentLeft":"左揃え","alignmentRight":"右揃え","alignmentCenter":"中央揃え","verticalAlignment":"縦方向の配置","horizontalAlignment":"横方向の配置","top":"上","bottom":"下","deleteAnnotationConfirmMessage":"この注釈を削除してよろしいですか。","deleteAnnotationConfirmAccessibilityLabel":"注釈の削除を確認","fontFamilyUnsupported":"{arg0}(サポートされていません)","sign":"署名","signed":"署名入り","signatures":"署名","addSignature":"署名を追加","clearSignature":"署名を消去","storeSignature":"ストアの署名","pleaseSignHere":"こちらに署名してください","signing":"署名…","password":"パスワード","unlock":"ロック解除","passwordRequired":"パスワードが必要です","unlockThisDocument":"この書類を表示するにはロック解除する必要があります。下のフィールドにパスワードを入力してください。","incorrectPassword":"入力されたパスワードが間違っています。やり直してください。","blendMode":"ブレンドモード","normal":"通常","multiply":"乗算","screenBlend":"スクリーン","overlay":"オーバーレイ","darken":"比較(暗)","lighten":"比較(明)","colorDodge":"覆い焼きカラー","colorBurn":"焼き込みカラー","hardLight":"ハードライト","softLight":"ソフトライト","difference":"差の絶対値","exclusion":"除外","multiple":"複数","linecaps-dasharray":"線のスタイル","dasharray":"線のスタイル","startLineCap":"線の始点","strokeDashArray":"線のスタイル","endLineCap":"線の終点","lineAnnotation":"線","rectangleAnnotation":"長方形","ellipseAnnotation":"楕円形","polygonAnnotation":"多角形","polylineAnnotation":"ポリライン","solid":"ソリッド","narrowDots":"ドット(小)","wideDots":"ドット(大)","narrowDashes":"ハイフン(短)","wideDashes":"ハイフン(長)","none":"なし","square":"スクエア","circle":"円形","diamond":"ひし形","openArrow":"線矢印","closedArrow":"三角矢印","butt":"端点","reverseOpenArrow":"反転線矢印","reverseClosedArrow":"反転三角矢印","slash":"スラッシュ","fillColor":"塗りつぶしのカラー","cloudy":"雲","arrow":"矢印","filePath":"ファイルパス","unsupportedImageFormat":"サポートされていない種類のイメージ注釈: {arg0}。JPEGまたはPNGを使用してください。","noOutline":"アウトラインがありません","outline":"アウトライン","imageAnnotation":"イメージ","selectImage":"イメージを選択","stampAnnotation":"スタンプ","highlighter":"ハイライト (自由形式)","textHighlighter":"テキストハイライト","pen":"描画","eraser":"消しゴム","export":"書き出す","useAnExistingStampDesign":"既存のスタンプデザインを使用","createStamp":"スタンプを作成","stampText":"スタンプのテキスト","chooseColor":"カラーを選択","rejected":"不採用","accepted":"受け入れ済み","approved":"承認済み","notApproved":"未承認","draft":"下書き","final":"最終版","completed":"完了済み","confidential":"部外秘","forPublicRelease":"公開リリース用","notForPublicRelease":"非公開","forComment":"コメント用","void":"無効","preliminaryResults":"中間結果","informationOnly":"情報のみ","initialHere":"こちらにイニシャルを","signHere":"こちらに署名を","witness":"証人","asIs":"現状どおり","departmental":"部門別","experimental":"試験的","expired":"期限切れ","sold":"売却済み","topSecret":"極秘","revised":"改訂済み","custom":"カスタム","customStamp":"カスタムスタンプ","icon":"アイコン","iconRightPointer":"右向きポインタ","iconRightArrow":"右矢印","iconCheck":"チェックマーク","iconCircle":"楕円形","iconCross":"十字","iconInsert":"テキストを挿入","iconNewParagraph":"新規段落","iconNote":"テキストメモ","iconComment":"コメント","iconParagraph":"段落","iconHelp":"ヘルプ","iconStar":"星","iconKey":"鍵","documentEditor":"書類エディタ","newPage":"新規ページ","removePage":"ページを削除","duplicatePage":"複製","rotatePageLeft":"反時計回りに回転","rotatePageRight":"時計回りに回転","moveBefore":"前に移動","moveAfter":"後に移動","selectNone":"何も選択しない","selectAll":"すべてを選択","saveAs":"別名で保存…","mergeDocument":"書類を読み込む","undo":"取り消す","redo":"やり直す","openMoveDialog":"移動","move":"移動","instantModifiedWarning":"書類が修正され、読み出し専用になりました。これを修正するには、ページを再度読み込んでください。","documentMergedHere":"書類はこちらに結合されます","digitalSignaturesAllValid":"書類はデジタル署名されていて、すべての署名は有効です。","digitalSignaturesDocModified":"書類はデジタル署名されていますが、署名以降に変更が加えられています。","digitalSignaturesSignatureWarning":"書類はデジタル署名されていますが、署名のうち少なくとも1つに問題があります。","digitalSignaturesSignatureWarningDocModified":"書類はデジタル署名されていますが、署名以降に変更が加えられていて、署名のうち少なくとも1つに問題があります。","digitalSignaturesSignatureError":"書類はデジタル署名されていますが、署名のうち少なくとも1つは無効です。","digitalSignaturesSignatureErrorDocModified":"書類はデジタル署名されていますが、署名以降に変更が加えられていて、署名のうち少なくとも1つは無効です。","signingInProgress":"署名が進行中です","signingModalDesc":"現在の書類に署名が進行中であることを示します","discardChanges":"変更を破棄","commentEditorLabel":"コメントを追加…","reply":"返信","comment":"コメント","comments":"コメント","showMore":"さらに表示","showLess":"表示を減らす","deleteComment":"コメントを削除","deleteCommentConfirmMessage":"このコメントを削除してよろしいですか?","deleteCommentConfirmAccessibilityLabel":"コメントの削除を確認","editContent":"コンテンツを編集","commentOptions":"コメントオプション","areaRedaction":"エリアを墨消し","textRedaction":"テキストを墨消し","redactionAnnotation":"墨消し","applyingRedactions":"墨消しを適用中","overlayTextPlaceholder":"オーバーレイテキストを挿入","outlineColor":"アウトラインの色","overlayText":"オーバーレイテキスト","repeatText":"テキストの繰り返し","preview":"プレビュー","applyRedactions":"墨消しを適用","markupAnnotationToolbar":"マークアップの注釈のためのツールバー","documentViewport":"書類のビューポート","redactionInProgress":"墨消しが進行中です","redactionModalDesc":"現在の書類に墨消しが進行中であることを示します","commentAction":"コメントする","printProgressModalDesc":"書類がプリントされる準備中であることを示します","printProgressModal":"プリントが進行中","documentEditorDesc":"現在の書類に変更を加える","reloadDocumentDialog":"書類の再読み込みを確認","reloadDocumentDialogDesc":"ユーザに書類の再読み込みの確認を促すダイアログです。","signatureDialog":"署名","signatureDialogDesc":"このダイアログを使うと、書類に挿入するインク署名を選択できます。まだ署名を保管していない場合は、キャンバス表示を使って作成できます。","stampAnnotationTemplatesDialog":"スタンプ注釈のテンプレート","stampAnnotationTemplatesDialogDesc":"このダイアログを使うと、書類に挿入するスタンプ注釈を選択したり、自分のテキストを使ってスタンプ注釈をカスタム作成できます。","selectedAnnotation":"{arg0}を選択中","commentThread":"コメントスレッド","selectedAnnotationWithText":"{arg0}$@の付いている{arg1}$@をコンテンツとして選択中","signature":"署名","ElectronicSignatures_SignHereTypeHint":"上欄に署名をタイプ入力してください","ElectronicSignatures_SignHereDrawHint":"こちらに署名してください","selectDragImage":"イメージを選択またはドラッグ","replaceImage":"イメージを置き換える","draw":"自筆","image":"イメージ","type":"タイプ入力","saveSignature":"署名を保存","loading":"読み込み中","selectedItem":"{arg0}、選択中。","annotationDeleted":"注釈が削除されました。","newAnnotationCreated":"新しい{arg0}注釈が作成されました。","bookmarkCreated":"ブックマークを作成しました。","bookmarkEdited":"ブックマークを編集しました。","bookmarkDeleted":"ブックマークが削除されました。","cancelledEditingBookmark":"ブックマークの編集をキャンセルしました。","selectAFileForImage":"新しいイメージ注釈のファイルを選択してください。","deleteAnnotationConfirmAccessibilityDescription":"注釈の削除を確認またはキャンセルできるダイアログ。","deleteBookmarkConfirmAccessibilityDescription":"ブックマークの削除を確認またはキャンセルできるダイアログ。","deleteCommentConfirmAccessibilityDescription":"コメントの削除を確認またはキャンセルできるダイアログ。","resize":"サイズ変更","resizeHandleTop":"上","resizeHandleBottom":"下","resizeHandleRight":"右","resizeHandleLeft":"左","cropCurrentPage":"現在のページを切り取り","cropCurrent":"現項目を切り取り","cropAllPages":"すべてのページを切り取り","cropAll":"すべてを切り取り","documentCrop":"書類の切り取り","Comparison_alignButtonTouch":"揃える","Comparison_selectPoint":"ポイントを選択","Comparison_documentOldTouch":"古い","Comparison_documentNewTouch":"新規","Comparison_result":"比較","UserHint_description":"手動で揃えるには両方の書類から3つのポイントを選択してください。書類の角に近いポイントを選択すると、より良い結果が得られます。ポイントを選択する順番は、必ず両方の書類で同じ順番にしてください。","UserHint_dismissMessage":"終了","Comparison_alignButton":"書類を揃える","documentComparison":"書類の比較","Comparison_documentOld":"古い書類","Comparison_documentNew":"新しい書類","Comparison_resetButton":"リセット","UserHint_Select":"ポイントを選択するには","numberValidationBadFormat":"入力された値はフィールド [{arg0}] のフォーマットと一致しません。","dateValidationBadFormat":"無効な日付/時刻:日付/時刻が存在することを確認してください。フィールド [{arg0}] はフォーマット{arg1}と一致する必要があります。","insertAfterPage":"次のページの後に挿入","docEditorMoveBeginningHint":"選択中のページを書類の一番最初に移動するには“0”と入力してください。","cloudyRectangleAnnotation":"雲(四角形)","dashedRectangleAnnotation":"破線(四角形)","cloudyEllipseAnnotation":"雲(楕円形)","dashedEllipseAnnotation":"破線(楕円形)","cloudyPolygonAnnotation":"雲(多角形)","dashedPolygonAnnotation":"破線(多角形)","cloudAnnotation":"雲","rotateCounterclockwise":"反時計回りに回転","rotateClockwise":"時計回りに回転","enterDescriptionHere":"こちらに説明を入力","addOption":"オプションを追加","formDesignerPopoverTitle":"{formFieldType} のプロパティ","formFieldNameExists":"{formFieldName} という名前のフォームフィールドは既に存在します。別の名前を選択してください。","styleSectionLabel":"{formFieldType} のスタイル","formFieldName":"フォームフィールド名","defaultValue":"デフォルト値","multiLine":"複数行","radioButtonFormFieldNameWarning":"ラジオボタンをグループ化するには、それらが同じフォームフィールド名であることを確認してください。","advanced":"詳細","creatorName":"作成者","note":"メモ","customData":"カスタムデータ","required":"必須","readOnly":"読み出し専用","createdAt":"作成日","updatedAt":"更新日","customDataErrorMessage":"標準のJSON形式にシリアライズできるオブジェクトである必要があります","borderColor":"枠のカラー","borderWidth":"枠の太さ","borderStyle":"枠のスタイル","solidBorder":"実線","dashed":"破線","beveled":"ベベル","inset":"インセット","underline":"アンダーライン","textStyle":"テキストスタイル","fontSize":"フォントサイズ","fontColor":"フォントカラー","button":"ボタンフィールド","textField":"テキストフィールド","radioField":"ラジオフィールド","checkboxField":"チェックボックスフィールド","comboBoxField":"コンボ・ボックスフィールド","listBoxField":"リストボックスフィールド","signatureField":"署名フィールド","formDesigner":"フォームクリエイター","buttonText":"ボタンテキスト","notAvailable":"N/A","label":"ラベル","value":"値","cannotEditOnceCreated":"一旦作成されると編集できません。","formFieldNameNotEmpty":"フォームフィールドの名前は空欄にできません。","mediaAnnotation":"メディアの注釈","mediaFormatNotSupported":"このブラウザは埋め込まれたビデオまたはオーディオをサポートしません。","distanceMeasurement":"距離","perimeterMeasurement":"周長","polygonAreaMeasurement":"多角形の面積","rectangularAreaMeasurement":"四角形の面積","ellipseAreaMeasurement":"楕円形の面積","distanceMeasurementSettings":"距離の測定の設定","perimeterMeasurementSettings":"周長の測定の設定","polygonAreaMeasurementSettings":"多角形の面積の測定の設定","rectangularAreaMeasurementSettings":"四角形の面積の測定の設定","ellipseAreaMeasurementSettings":"楕円形の面積の測定の設定","measurementScale":"比率","measurementCalibrateLength":"長さ補正","measurementPrecision":"精度","measurementSnapping":"スナッピング","formCreator":"フォームクリエイター","group":"グループ","ungroup":"グループ解除","bold":"ボールド","italic":"イタリック","addLink":"リンクを追加","removeLink":"リンクを削除","editLink":"リンクを編集","anonymous":"匿名","saveAndClose":"保存して閉じる","ceToggleFontMismatchTooltip":"フォントの不一致に関するツールヒントを表示/非表示","ceFontMismatch":"フォント“{arg0}”は利用できないか、または、この書類の内容を編集するために使用できません。追加または編集された内容はデフォルトフォントに戻されます。","multiAnnotationsSelection":"複数の注釈を選択","linkSettingsPopoverTitle":"リンク設定","linkTo":"リンク先","uriLink":"Webサイト","pageLink":"ページ","invalidPageNumber":"有効なページ番号を入力してください。","invalidPageLink":"有効なページのリンクを入力してください。","linkAnnotation":"リンク","targetPageLink":"ページ番号","rotation":"回転","unlockDocumentDescription":"この書類を表示するにはロック解除する必要があります。下のフィールドにパスワードを入力してください。","commentDialogClosed":"{arg0}: “{arg1}”で始まるコメントのスレッドを開く","moreComments":"その他のコメント","linesCount":"{arg0, plural,\\nother {線 {arg0}本}\\n}","annotationsCount":"{arg0, plural,\\nother {注釈{arg0}件}\\n=0 {注釈がありません}\\n}","pagesSelected":"{arg0, plural,\\nother {{arg0}ページを選択中}\\n}","commentsCount":"{arg0, plural,\\nother {{arg0}件のコメント}\\n}","deleteNComments":"{arg0, plural,\\nother {{arg0}件のコメント}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\nother {あと{arg0}件のコメント}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-ko-c83844c33e0ab74b.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-ko-c83844c33e0ab74b.js new file mode 100644 index 00000000..fc27ddf8 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-ko-c83844c33e0ab74b.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1168],{23980:e=>{e.exports=JSON.parse('{"thumbnails":"축소판","pageXofY":"{arg0}/{arg1} 페이지","XofY":"{arg0} 중의 {arg1}","prevPage":"이전 페이지","nextPage":"다음 페이지","goToPage":"페이지로 이동","gotoPageX":"{arg0} 페이지로 이동","pageX":"페이지 {arg0}","pageLayout":"페이지 레이아웃","pageMode":"페이지 모드","pageModeSingle":"단일","pageModeDouble":"두 페이지","pageModeAutomatic":"자동","pageTransition":"페이지 전환효과","pageTransitionContinuous":"연속","pageTransitionJump":"점프","pageRotation":"페이지 회전","pageRotationLeft":"왼쪽으로 회전","pageRotationRight":"오른쪽으로 회전","zoomIn":"확대","zoomOut":"축소","marqueeZoom":"선택 윤곽도구","panMode":"패닝 모드","fitPage":"페이지에 맞추기","fitWidth":"폭에 맞추기","annotations":"주석","noAnnotations":"주석 없음","bookmark":"책갈피","bookmarks":"책갈피","noBookmarks":"책갈피 없음","newBookmark":"새로운 책갈피","addBookmark":"책갈피 추가","removeBookmark":"책갈피 제거","loadingBookmarks":"책갈피 불러오는 중","deleteBookmarkConfirmMessage":"책갈피를 삭제하시겠습니까?","deleteBookmarkConfirmAccessibilityLabel":"책갈피 삭제 확인","annotation":"주석","noteAnnotation":"메모","textAnnotation":"텍스트","inkAnnotation":"그리기","highlightAnnotation":"텍스트 하이라이트","underlineAnnotation":"밑줄","squiggleAnnotation":"구불한 선","strikeOutAnnotation":"취소선","print":"출력","printPrepare":"프린트할 문서를 준비하는 중…","searchDocument":"문서 검색","searchPreviousMatch":"이전","searchNextMatch":"다음","searchResultOf":"{arg0} 중의 {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} 도구, 메뉴 토글","save":"저장","edit":"편집","delete":"삭제","close":"닫기","cancel":"취소","ok":"승인","done":"완료","clear":"지우기","date":"날짜","time":"시간","name":"이름","color":"색상","black":"검은색","white":"흰색","blue":"파란색","red":"빨간색","green":"초록색","orange":"귤색","lightOrange":"연주황","yellow":"노란색","lightYellow":"연노랑","lightBlue":"하늘색","lightRed":"명적색","lightGreen":"담녹색","fuchsia":"푸크시아색","purple":"자주색","pink":"분홍색","mauve":"연보라","lightGrey":"회백색","grey":"회색","darkGrey":"암회색","noColor":"없음","transparent":"투명","darkBlue":"검푸른색","opacity":"불투명도","thickness":"두께","size":"크기","numberInPt":"{arg0} pt","font":"서체","fonts":"서체","allFonts":"모든 서체","alignment":"정렬","alignmentLeft":"왼쪽","alignmentRight":"오른쪽","alignmentCenter":"중앙","verticalAlignment":"수직 정렬","horizontalAlignment":"수평 정렬","top":"상단","bottom":"하단","deleteAnnotationConfirmMessage":"정말 주석을 삭제하시겠습니까?","deleteAnnotationConfirmAccessibilityLabel":"주석 삭제 확인","fontFamilyUnsupported":"{arg0} (지원하지 않음)","sign":"서명","signed":"서명됨","signatures":"서명","addSignature":"서명 추가","clearSignature":"서명 지우기","storeSignature":"서명 저장","pleaseSignHere":"여기 서명하십시오","signing":"서명 중…","password":"비밀번호","unlock":"잠금해제","passwordRequired":"비밀번호 필요","unlockThisDocument":"문서를 열려먼 먼저 잠금을 해제해야 합니다. 아래 필드에 비밀번호를 입력해주십시오.","incorrectPassword":"올바르지 않은 비밀번호입니다. 다시 입력해주십시오.","blendMode":"혼합 모드","normal":"표준","multiply":"곱하기","screenBlend":"스크린","overlay":"오버레이","darken":"어두운 색상","lighten":"밝게 하기","colorDodge":"색상 닷지","colorBurn":"색상 번","hardLight":"하드 라이트","softLight":"소프트 라이트","difference":"차이","exclusion":"제외","multiple":"다중","linecaps-dasharray":"선 스타일","dasharray":"선 스타일","startLineCap":"선 시작","strokeDashArray":"선 스타일","endLineCap":"선 끝","lineAnnotation":"선","rectangleAnnotation":"직사각형","ellipseAnnotation":"타원","polygonAnnotation":"다각형","polylineAnnotation":"폴리라인","solid":"채움","narrowDots":"좁은 점선","wideDots":"넓은 점선","narrowDashes":"좁은 줄표","wideDashes":"넓은 줄표","none":"없음","square":"정사각형","circle":"원","diamond":"다이아몬드","openArrow":"열린 화살표","closedArrow":"닫힌 화살표","butt":"밑동","reverseOpenArrow":"역방향 열린 화살표","reverseClosedArrow":"역방향 닫힌 화살표","slash":"슬래시","fillColor":"채우기 색상","cloudy":"클라우디","arrow":"화살표","filePath":"파일 경로","unsupportedImageFormat":"지원하지 않는 형태의 이미지 주석입니다: {arg0}. JPEG 또는 PNG를 이용해주십시오.","noOutline":"개요 없음","outline":"개요","imageAnnotation":"이미지","selectImage":"이미지 선택","stampAnnotation":"스탬프","highlighter":"자유형태 하이라이트","textHighlighter":"텍스트 형광펜","pen":"그리기","eraser":"지우개","export":"내보내기","useAnExistingStampDesign":"기존 스탬프 디자인 사용","createStamp":"스탬프 생성","stampText":"텍스트 스탬프","chooseColor":"색상 선택","rejected":"거부됨","accepted":"수락됨","approved":"승인됨","notApproved":"승인되지 않음","draft":"초안","final":"최종","completed":"완료됨","confidential":"비밀 정보","forPublicRelease":"일반 공개 용도","notForPublicRelease":"일반 공개 불가","forComment":"코멘트 용도","void":"효력 없음","preliminaryResults":"예비 결과","informationOnly":"참고 용도","initialHere":"여기 이니셜","signHere":"이곳에 서명","witness":"증명","asIs":"현재 상태로","departmental":"세분화","experimental":"실험","expired":"만료","sold":"판매완료","topSecret":"일급비밀","revised":"수정본","custom":"사용자 지정","customStamp":"사용자지정 스탬프","icon":"아이콘","iconRightPointer":"오른쪽 포인터","iconRightArrow":"오른쪽 화살표","iconCheck":"체크마크","iconCircle":"타원","iconCross":"크로스","iconInsert":"텍스트 삽입","iconNewParagraph":"새 문단","iconNote":"텍스트 노트","iconComment":"코멘트","iconParagraph":"문단","iconHelp":"도움말","iconStar":"별","iconKey":"키","documentEditor":"문서 편집기","newPage":"새로운 페이지","removePage":"페이지 삭제","duplicatePage":"복제","rotatePageLeft":"왼쪽으로 회전","rotatePageRight":"오른쪽으로 회전","moveBefore":"앞으로 이동","moveAfter":"뒤로 이동","selectNone":"선택 없음","selectAll":"모두 선택","saveAs":"다음 이름으로 변경…","mergeDocument":"문서 불러오기","undo":"실행취소","redo":"실행복귀","openMoveDialog":"이동","move":"이동","instantModifiedWarning":"문서가 변형되었으며 현재 읽기 전용 상태입니다. 이 문제를 정정하려면 페이지를 다시 불러오십시오.","documentMergedHere":"문서가 여기서 병합됩니다","digitalSignaturesAllValid":"이 문서는 디지털 서명을 포함하고 있으며, 모두 유효한 서명입니다.","digitalSignaturesDocModified":"이 문서는 디지털 서명을 포함하고 있습니다. 하지만 문서에 서명이 추가된 이후 문서가 수정되었습니다.","digitalSignaturesSignatureWarning":"이 문서는 디지털 서명을 포함하고 있습니다. 하지만 최소한 하나 이상의 서명에 문제가 있습니다.","digitalSignaturesSignatureWarningDocModified":"이 문서는 디지털 서명을 포함하고 있습니다. 하지만 문서에 서명이 추가된 이후 문서가 수정되었으며, 하나 이상의 서명에 문제가 있습니다.","digitalSignaturesSignatureError":"이 문서는 디지털 서명을 포함하고 있습니다. 하지만 최소한 하나 이상의 서명이 유효하지 않습니다.","digitalSignaturesSignatureErrorDocModified":"이 문서는 디지털 서명을 포함하고 있습니다. 하지만 문서에 서명이 추가된 이후 문서가 수정되었으며, 하나 이상의 서명이 유효하지 않습니다.","signingInProgress":"서명 진행 중","signingModalDesc":"현재 문제가 서명 중이라는 것을 나타냅니다","discardChanges":"변경사항 무시","commentEditorLabel":"코멘트 달기…","reply":"답장","comment":"코멘트","comments":"코멘트","showMore":"자세히 보기","showLess":"간단히 보기","deleteComment":"코멘트 삭제","deleteCommentConfirmMessage":"정말 코멘트를 삭제하시겠습니까?","deleteCommentConfirmAccessibilityLabel":"코멘트 삭제 확인","editContent":"콘텐츠 편집","commentOptions":"코멘트 옵션","areaRedaction":"영역 교정","textRedaction":"텍스트 교정","redactionAnnotation":"교정","applyingRedactions":"교정 적용","overlayTextPlaceholder":"오버레이 텍스트 삽입","outlineColor":"윤곽 색상","overlayText":"오버레이 텍스트","repeatText":"텍스트 반복","preview":"미리보기","applyRedactions":"교정 적용","markupAnnotationToolbar":"마크업 주석 도구막대","documentViewport":"문서 뷰포트","redactionInProgress":"교정 진행 중","redactionModalDesc":"현재 문제가 교정 중이라는 것을 나타냅니다","commentAction":"코멘트달기","printProgressModalDesc":"문서가 프린트하기 위해 준비 중이라는 것을 나타냅니다","printProgressModal":"프린트 진행 중","documentEditorDesc":"현재 문제에 변경사항 적용","reloadDocumentDialog":"문서 다시 불러오기 확인","reloadDocumentDialogDesc":"문서 다시 불러오기에 대한 사용자 확인을 안내하는 대화상자입니다.","signatureDialog":"서명","signatureDialogDesc":"문서에 삽입할 잉크 서명을 선택하는 대화상자입니다. 저장된 서명이 없는 경우, 캔버스 보기에서 새로운 서명을 생성할 수 있습니다.","stampAnnotationTemplatesDialog":"스탬프 주석 템플릿","stampAnnotationTemplatesDialogDesc":"문서에 삽입할 스탬프 주석을 선택하거나 사용자가 원하는 텍스트로 스탬프 주석을 생성할 수 있는 대화상자입니다.","selectedAnnotation":"{arg0} 선택","commentThread":"코멘트 스레드","selectedAnnotationWithText":"{arg0} 선택 및 {arg1}를 콘텐츠로 포함","signature":"서명","ElectronicSignatures_SignHereTypeHint":"상단에 서명을 타자로 입력하세요","ElectronicSignatures_SignHereDrawHint":"이곳에 서명","selectDragImage":"이미지 선택 또는 그리기","replaceImage":"이미지 대치","draw":"그리기","image":"이미지","type":"타자","saveSignature":"서명 저장","loading":"불러오는 중","selectedItem":"{arg0} 선택됨.","annotationDeleted":"주석 삭제됨.","newAnnotationCreated":"새로운 {arg0} 주석이 생성됨.","bookmarkCreated":"책갈피를 생성함.","bookmarkEdited":"책갈피를 편집함.","bookmarkDeleted":"책갈피를 삭제함.","cancelledEditingBookmark":"책갈피 편집을 취소함.","selectAFileForImage":"새로운 이미지 주석을 위한 파일 선택.","deleteAnnotationConfirmAccessibilityDescription":"주석 삭제를 확인 또는 취소하는 대화상자.","deleteBookmarkConfirmAccessibilityDescription":"책갈피 삭제를 확인 또는 취소하는 대화상자.","deleteCommentConfirmAccessibilityDescription":"코멘트 삭제를 확인 또는 취소하는 대화상자.","resize":"크기조정","resizeHandleTop":"상단","resizeHandleBottom":"하단","resizeHandleRight":"오른쪽","resizeHandleLeft":"왼쪽","cropCurrentPage":"현재 페이지 자르기","cropCurrent":"이 페이지만","cropAllPages":"모든 페이지 자르기","cropAll":"모두 자르기","documentCrop":"문서 자르기","Comparison_alignButtonTouch":"정렬","Comparison_selectPoint":"포인트 선택","Comparison_documentOldTouch":"기존","Comparison_documentNewTouch":"신규","Comparison_result":"비교","UserHint_description":"수동 정렬을 위해 양쪽 문서에서 포인트 3개를 선택하십시오. 최상의 결과를 위해 문서 가장자리에 가까운 곳에 포인트를 선택하고, 양쪽 문서의 포인트가 동일한 순서인지 확인하시기 바랍니다.","UserHint_dismissMessage":"무시","Comparison_alignButton":"문서 정렬","documentComparison":"문서 비교","Comparison_documentOld":"기존 문서","Comparison_documentNew":"신규 문서","Comparison_resetButton":"초기화","UserHint_Select":"포인트 선택","numberValidationBadFormat":"입력한 값이 다음 필드의 포맷과 일치하지 않습니다: [{arg0}]","dateValidationBadFormat":"올바르지 않은 시간/날짜: 날짜/시간이 존재하는지 확인하십시오. [{arg0}] 필드가 {arg1} 포맷과 일치해야 합니다","insertAfterPage":"페이지 뒤에 삽입","docEditorMoveBeginningHint":"선택한 페이지를 문서 시작 부분으로 이동하려면 “0”을 입력합니다.","cloudyRectangleAnnotation":"구름 모양 사각형","dashedRectangleAnnotation":"점선으로 된 사각형","cloudyEllipseAnnotation":"구름 모양 타원","dashedEllipseAnnotation":"점선으로 된 타원","cloudyPolygonAnnotation":"구름 모양 다각형","dashedPolygonAnnotation":"점선으로 된 다각형","cloudAnnotation":"구름","rotateCounterclockwise":"반시계방향 회전","rotateClockwise":"시계방향 회전","enterDescriptionHere":"여기에 설명 입력","addOption":"옵션 추가","formDesignerPopoverTitle":"{formFieldType} 속성","formFieldNameExists":"이미 {formFieldName} 이름의 폼 양식이 존재합니다. 다른 이름을 선택하십시오.","styleSectionLabel":"{formFieldType} 스타일","formFieldName":"양식 필드 이름","defaultValue":"기본값","multiLine":"멀티라인","radioButtonFormFieldNameWarning":"여러 라디오 버튼을 그룹화하려면 양식 필드 이름이 같은지 확인하십시오.","advanced":"고급","creatorName":"창작자 이름","note":"메모","customData":"사용자지정 날짜","required":"필수","readOnly":"읽기 전용","createdAt":"생성일","updatedAt":"수정일","customDataErrorMessage":"직렬화 가능한 일반 JSON 개체여야 합니다","borderColor":"테두리 색상","borderWidth":"테두리 굵기","borderStyle":"테두리 스타일","solidBorder":"채움","dashed":"점선","beveled":"경사면","inset":"삽입","underline":"밑줄","textStyle":"텍스트 스타일","fontSize":"서체 크기","fontColor":"서체 색상","button":"버튼 필드","textField":"텍스트 필드","radioField":"라디오 필드","checkboxField":"체크박스 필드","comboBoxField":"콤보 상자 필드","listBoxField":"목록 상자 필드","signatureField":"서명 필드","formDesigner":"양식 크리에이터","buttonText":"버튼 텍스트","notAvailable":"없음","label":"레이블","value":"값","cannotEditOnceCreated":"한 번 생성된 후에는 편집이 불가능합니다.","formFieldNameNotEmpty":"양식 필드 이름은 비워둘 수 없습니다.","mediaAnnotation":"미디어 주석","mediaFormatNotSupported":"이 브라우저는 임베디드 비디오 또는 오디오를 지원하지 않습니다.","distanceMeasurement":"거리","perimeterMeasurement":"둘레","polygonAreaMeasurement":"다각형 면적","rectangularAreaMeasurement":"사각형 면적","ellipseAreaMeasurement":"타원형 면적","distanceMeasurementSettings":"거리 측정 설정","perimeterMeasurementSettings":"둘레 측정 설정","polygonAreaMeasurementSettings":"다각형 영역 측정 설정","rectangularAreaMeasurementSettings":"사각형 영역 측정 설정","ellipseAreaMeasurementSettings":"타원형 면적 측정 설정","measurementScale":"축척","measurementCalibrateLength":"보정 길이","measurementPrecision":"정밀도","measurementSnapping":"스냅","formCreator":"양식 크리에이터","group":"그룹","ungroup":"그룹해제","bold":"볼드체","italic":"이탤릭체","addLink":"링크 추가","removeLink":"링크 제거","editLink":"링크 편집","anonymous":"익명","saveAndClose":"저장 후 닫기","ceToggleFontMismatchTooltip":"서체 불일치 툴팁 켬/끔","ceFontMismatch":"{arg0} 서체가 없거나 이 문서의 콘텐츠를 편집하는데 사용할 수 없습니다. 추가되거나 변경된 콘텐츠가 있는 경우 기본 서체로 돌아갑니다.","multiAnnotationsSelection":"다수의 주석 선택","linkSettingsPopoverTitle":"링크 설정","linkTo":"링크 대상","uriLink":"웹사이트","pageLink":"페이지","invalidPageNumber":"유효한 페이지 번호를 입력하십시오.","invalidPageLink":"유효한 페이지 링크를 입력하십시오.","linkAnnotation":"링크","targetPageLink":"페이지 번호","rotation":"회전","unlockDocumentDescription":"문서를 열기 위해서는 먼저 잠금을 해제해야 합니다. 아래 필드에 비밀번호를 입력해주십시오.","commentDialogClosed":"{arg0}에 의해 시작된 코멘트 스레드 열기: “{arg1}”","moreComments":"더 많은 코멘트","linesCount":"{arg0, plural,\\nother {{arg0}개의 선}\\n}","annotationsCount":"{arg0, plural,\\nother {{arg0}개의 주석}\\n=0 {주석 없음}\\n}","pagesSelected":"{arg0, plural,\\nother {{arg0}장의 페이지 선택됨}\\n}","commentsCount":"{arg0, plural,\\nother {{arg0}개의 코멘트}\\n}","deleteNComments":"{arg0, plural,\\nother {{arg0}개의 코멘트}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\nother {{arg0}개 이상의 코멘트}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-ms-c53fb1195859d52d.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-ms-c53fb1195859d52d.js new file mode 100644 index 00000000..47db09f4 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-ms-c53fb1195859d52d.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1391],{48853:a=>{a.exports=JSON.parse('{"thumbnails":"Imej kecil","pageXofY":"Halaman {arg0} daripada {arg1}","XofY":"{arg0} daripada {arg1}","prevPage":"Halaman Sebelumnya","nextPage":"Halaman Seterusnya","goToPage":"Pergi ke Halaman","gotoPageX":"Pergi ke Halaman {arg0}","pageX":"Halaman {arg0}","pageLayout":"Tataletak Halaman","pageMode":"Mod Halaman","pageModeSingle":"Tunggal","pageModeDouble":"Berganda","pageModeAutomatic":"Automatik","pageTransition":"Peralihan Halaman","pageTransitionContinuous":"Berterusan","pageTransitionJump":"Lompat","pageRotation":"Putaran Halaman","pageRotationLeft":"Putar Ke Kiri","pageRotationRight":"Putar Ke Kanan","zoomIn":"Zum Ke Dalam","zoomOut":"Zum Ke Luar","marqueeZoom":"Alat Tenda","panMode":"Mod Sorot","fitPage":"Muat Ikut Halaman","fitWidth":"Muat Ikut Lebar","annotations":"Anotasi","noAnnotations":"Tiada Anotasi","bookmark":"Penanda","bookmarks":"Penanda","noBookmarks":"Tiada Penanda","newBookmark":"Penanda Baharu","addBookmark":"Tambah Penanda","removeBookmark":"Alih Keluar Penanda","loadingBookmarks":"Memuatkan Penanda","deleteBookmarkConfirmMessage":"Adakah anda pasti anda ingin memadamkan penanda ini?","deleteBookmarkConfirmAccessibilityLabel":"Sahkan pemadaman penanda","annotation":"Anotasi","noteAnnotation":"Nota","textAnnotation":"Teks","inkAnnotation":"Lukisan","highlightAnnotation":"Serlahan Teks","underlineAnnotation":"Garis Bawah","squiggleAnnotation":"Berpintal","strikeOutAnnotation":"Lorek","print":"Cetak","printPrepare":"Menyediakan dokumen untuk pencetakan…","searchDocument":"Cari Dokumen","searchPreviousMatch":"Sebelumnya","searchNextMatch":"Seterusnya","searchResultOf":"{arg0} daripada {arg1}","accessibilityLabelDropdownGroupToggle":"Alat {arg0}, togol menu","save":"Simpan","edit":"Edit","delete":"Padam","close":"Tutup","cancel":"Batal","ok":"OK","done":"Selesai","clear":"Kosongkan","date":"Tarikh","time":"Masa","name":"Nama","color":"Warna","black":"Hitam","white":"Putih","blue":"Biru","red":"Merah","green":"Hijau","orange":"Oren","lightOrange":"Jingga Cerah","yellow":"Kuning","lightYellow":"Kuning Cerah","lightBlue":"Biru Muda","lightRed":"Merah Muda","lightGreen":"Hijau Muda","fuchsia":"Fuchsia","purple":"Ungu","pink":"Merah Jambu","mauve":"Merah Senduduk","lightGrey":"Kelabu Cerah","grey":"Kelabu","darkGrey":"Kelabu Gelap","noColor":"Tiada","transparent":"Lut Sinar","darkBlue":"Biru Gelap","opacity":"Kelegapan","thickness":"Ketebalan","size":"Saiz","numberInPt":"{arg0} mata","font":"Fon","fonts":"Fon","allFonts":"Semua Fon","alignment":"Penjajaran","alignmentLeft":"Kiri","alignmentRight":"Kanan","alignmentCenter":"Tengah","verticalAlignment":"Penjajaran Menegak","horizontalAlignment":"Penjajaran Melintang","top":"Atas","bottom":"Bawah","deleteAnnotationConfirmMessage":"Adakah anda pasti anda ingin memadamkan anotasi ini?","deleteAnnotationConfirmAccessibilityLabel":"Sahkan pemadaman anotasi","fontFamilyUnsupported":"{arg0} (tidak disokong)","sign":"Tandatangan","signed":"Bertandatangan","signatures":"Tandatangan","addSignature":"Tambah Tandatangan","clearSignature":"Kosongkan Tandatangan","storeSignature":"Simpan Tandatangan","pleaseSignHere":"Sila tandatangan di sini","signing":"Menandatangani…","password":"Kata Laluan","unlock":"Buka Kunci","passwordRequired":"Kata Laluan Diperlukan","unlockThisDocument":"Anda perlu membuka kunci dokumen ini untuk melihat dokumen tersebut. Sila masukkan kata laluan dalam medan di bawah.","incorrectPassword":"Kata laluan yang anda masukkan adalah tidak betul. Sila cuba sekali lagi.","blendMode":"Mod Adunan","normal":"Normal","multiply":"Berganda","screenBlend":"Skrin","overlay":"Tindihan","darken":"Digelapkan","lighten":"Dicerahkan","colorDodge":"Pencerahan Warna","colorBurn":"Pembakaran Warna","hardLight":"Cerah Keras","softLight":"Cerah Lembut","difference":"Perbezaan","exclusion":"Pengasingan","multiple":"Berbilang","linecaps-dasharray":"Gaya Garis","dasharray":"Gaya Garis","startLineCap":"Mula Garis","strokeDashArray":"Gaya Garis","endLineCap":"Akhir Garis","lineAnnotation":"Garis","rectangleAnnotation":"Segi Empat Tepat","ellipseAnnotation":"Elips","polygonAnnotation":"Poligon","polylineAnnotation":"Poligaris","solid":"Padu","narrowDots":"Titik Sempit","wideDots":"Titik Lebar","narrowDashes":"Sempang Sempit","wideDashes":"Sempang Lebar","none":"Tiada","square":"Segi Empat Sama","circle":"Bulatan","diamond":"Berlian","openArrow":"Anak Panah Buka","closedArrow":"Anak Panah Ditutup","butt":"Pangkal","reverseOpenArrow":"Terbalikkan Anak Panah Buka","reverseClosedArrow":"Terbalikkan Anak Panah Ditutup","slash":"Garis Condong","fillColor":"Warna Isian","cloudy":"Kabur","arrow":"Anak Panah","filePath":"Laluan Fail","unsupportedImageFormat":"Jenis yang tidak disokong untuk anotasi imej: {arg0}. Sila gunakan JPEG atau PNG.","noOutline":"Tiada Ringkasan","outline":"Ringkasan","imageAnnotation":"Imej","selectImage":"Pilih Imej","stampAnnotation":"Cap","highlighter":"Serlahan Bentuk Bebas","textHighlighter":"Pen Penyerlah Teks","pen":"Lukisan","eraser":"Pemadam","export":"Eksport","useAnExistingStampDesign":"Gunakan reka bentuk cap yang sedia ada","createStamp":"Cipta Cap","stampText":"Teks Cap","chooseColor":"Pilih Warna","rejected":"Ditolak","accepted":"Diterima","approved":"Diluluskan","notApproved":"Tidak Diluluskan","draft":"Draf","final":"Muktamad","completed":"Selesai","confidential":"Sulit","forPublicRelease":"Untuk Edaran Umum","notForPublicRelease":"Bukan Untuk Edaran Umum","forComment":"Untuk Komen","void":"Tidak Sah","preliminaryResults":"Keputusan Awal","informationOnly":"Maklumat sahaja","initialHere":"Parap Di Sini","signHere":"Tandatangan Di Sini","witness":"Saksi","asIs":"Seadanya","departmental":"Jabatan","experimental":"Eksperimen","expired":"Tamat Tempoh","sold":"Dijual","topSecret":"Rahsia Besar","revised":"Disemak","custom":"Tersuai","customStamp":"Cap Tersuai","icon":"Ikon","iconRightPointer":"Penunjuk Kanan","iconRightArrow":"Anak Panah Kanan","iconCheck":"Tanda semak","iconCircle":"Elips","iconCross":"Pangkah","iconInsert":"Masukkan Teks","iconNewParagraph":"Perenggan Baharu","iconNote":"Nota Teks","iconComment":"Komen","iconParagraph":"Perenggan","iconHelp":"Bantuan","iconStar":"Bintang","iconKey":"Kunci","documentEditor":"Editor Dokumen","newPage":"Halaman Baru","removePage":"Padamkan Halaman","duplicatePage":"Duplikasi","rotatePageLeft":"Putar Ke Kiri","rotatePageRight":"Putar Ke Kanan","moveBefore":"Alih Ke Sebelum","moveAfter":"Alih Ke Selepas","selectNone":"Jangan Pilih","selectAll":"Pilih Semua","saveAs":"Simpan Sebagai…","mergeDocument":"Import Dokumen","undo":"Buat Asal","redo":"Buat Semula","openMoveDialog":"Alihkan","move":"Alihkan","instantModifiedWarning":"Dokumen telah diubah suai dan kini dalam mod baca sahaja. Muat semula halaman untuk membetulkan perkara ini.","documentMergedHere":"Dokumen akan digabungkan di sini","digitalSignaturesAllValid":"Dokumen telah ditandatangani secara digital dan semua tandatangan adalah sah.","digitalSignaturesDocModified":"Dokumen telah ditandatangani secara digital, tetapi telah diubah suai sejak ditandatangani.","digitalSignaturesSignatureWarning":"Dokumen telah ditandatangani secara digital, tetapi sekurang-kurangnya satu tandatangan mempunyai masalah.","digitalSignaturesSignatureWarningDocModified":"Dokumen telah ditandatangani secara digital, tetapi telah diubah suai sejak ditandatangani dan sekurang-kurangnya satu tandatangan mempunyai masalah.","digitalSignaturesSignatureError":"Dokumen telah ditandatangani secara digital, tetapi sekurang-kurangnya satu tandatangan adalah tidak sah.","digitalSignaturesSignatureErrorDocModified":"Dokumen telah ditandatangani secara digital, tetapi telah diubah suai sejak ditandatangani dan sekurang-kurangnya satu tandatangan adalah tidak sah.","signingInProgress":"Tandatangan sedang berjalan","signingModalDesc":"Menunjukkan bahawa dokumen semasa sedang ditandatangani","discardChanges":"Buang Perubahan","commentEditorLabel":"Tambahkan komen anda…","reply":"Balas","comment":"Komen","comments":"Komen","showMore":"Tunjukkan lagi","showLess":"Tunjukkan sedikit","deleteComment":"Padam Komen","deleteCommentConfirmMessage":"Adakah anda pasti anda ingin memadamkan komen ini?","deleteCommentConfirmAccessibilityLabel":"Sahkan pemadaman komen","editContent":"Edit Kandungan","commentOptions":"Pilihan Komen","areaRedaction":"Reduksi Kawasan","textRedaction":"Reduksi Teks","redactionAnnotation":"Reduksi","applyingRedactions":"Melaksanakan reduksi","overlayTextPlaceholder":"Masukkan teks tindanan","outlineColor":"Warna Garis Luar","overlayText":"Teks Tindanan","repeatText":"Teks Berulang","preview":"Pratonton","applyRedactions":"Laksanakan Reduksi","markupAnnotationToolbar":"Bar alat anotasi penanda","documentViewport":"Viewport dokumen","redactionInProgress":"Reduksi sedang berjalan","redactionModalDesc":"Menunjukkan bahawa dokumen semasa sedang menjalani reduksi","commentAction":"Komen","printProgressModalDesc":"Menunjukkan bahawa dokumen sedang disediakan untuk pencetakan","printProgressModal":"Pencetakan dengan berjalan","documentEditorDesc":"Buat perubahan pada dokumen semasa","reloadDocumentDialog":"Sahkan muat semula dokumen","reloadDocumentDialogDesc":"Dialog yang menggesa pengguna untuk mengesahkan muat semula dokumen.","signatureDialog":"Tandatangan","signatureDialogDesc":"Dialog ini membolehkan anda memilih tandatangan dakwat untuk disisipkan ke dalam dokumen. Jika anda tidak mempunyai tandatangan yang disimpan, anda boleh mencipta tandatangan tersebut menggunakan paparan kanvas.","stampAnnotationTemplatesDialog":"Templat Anotasi Cap","stampAnnotationTemplatesDialogDesc":"Dialog ini membolehkan anda memilih anotasi cap untuk disisipkan ke dalam dokumen atau mencipta anotasi cap tersuai dengan teks anda sendiri.","selectedAnnotation":"Memilih {arg0}","commentThread":"Jalur komen","selectedAnnotationWithText":"Memilih {arg0} dengan {arg1} sebagai kandungan","signature":"Tandatangan","ElectronicSignatures_SignHereTypeHint":"Taip Tandatangan Anda Di Atas","ElectronicSignatures_SignHereDrawHint":"Tandatangan Di Sini","selectDragImage":"Pilih atau Seret Imej","replaceImage":"Gantikan Imej","draw":"Lukis","image":"Imej","type":"Taip","saveSignature":"Simpan Tandatangan","loading":"Memuatkan","selectedItem":"{arg0}, dipilih.","annotationDeleted":"Anotasi dipadamkan.","newAnnotationCreated":"Anotasi {arg0} baharu dicipta.","bookmarkCreated":"Penanda dicipta.","bookmarkEdited":"Penanda diedit.","bookmarkDeleted":"Penanda dipadamkan.","cancelledEditingBookmark":"Pengeditan penanda dibatalkan.","selectAFileForImage":"Pilih fail untuk anotasi imej baharu.","deleteAnnotationConfirmAccessibilityDescription":"Dialog yang membolehkan anda mengesahkan atau membatalkan pemadaman anotasi.","deleteBookmarkConfirmAccessibilityDescription":"Dialog yang membolehkan anda mengesahkan atau membatalkan pemadaman penanda.","deleteCommentConfirmAccessibilityDescription":"Dialog yang membolehkan anda mengesahkan atau membatalkan pemadaman komen.","resize":"Ubah saiz","resizeHandleTop":"Atas","resizeHandleBottom":"Bawah","resizeHandleRight":"Kanan","resizeHandleLeft":"Kiri","cropCurrentPage":"Pangkas Halaman Semasa","cropCurrent":"Pangkas Semasa","cropAllPages":"Pangkas Semua Halaman","cropAll":"Pangkas Semua","documentCrop":"Pangkasan Dokumen","Comparison_alignButtonTouch":"Jajarkan","Comparison_selectPoint":"Pilih Titik","Comparison_documentOldTouch":"Lama","Comparison_documentNewTouch":"Baru","Comparison_result":"Perbandingan","UserHint_description":"Pilih tiga titik pada kedua-dua dokumen untuk penjajaran secara manual. Untuk mendapatkan hasil yang terbaik, pilih titik yang berhampiran dengan penjuru dokumen dan pastikan titik tersebut berada dalam kedudukan yang sama pada kedua-dua dokumen.","UserHint_dismissMessage":"Tutup","Comparison_alignButton":"Jajarkan Dokumen","documentComparison":"Perbandingan Dokumen","Comparison_documentOld":"Dokumen Lama","Comparison_documentNew":"Dokumen Baru","Comparison_resetButton":"Set Semula","UserHint_Select":"Memilih Titik","numberValidationBadFormat":"Nilai yang dimasukkan tidak sepadan dengan format medan [{arg0}]","dateValidationBadFormat":"Tarikh/masa tidak sah: sila pastikan tarikh/masa wujud. Medan [{arg0}] hendaklah sepadan dengan format {arg1}","insertAfterPage":"Masukkan selepas halaman","docEditorMoveBeginningHint":"Taip “0” untuk mengalihkan halaman yang dipilih ke permulaan dokumen.","cloudyRectangleAnnotation":"Segi Empat Tepat Berawan","dashedRectangleAnnotation":"Segi Empat Tepat Putus-Putus","cloudyEllipseAnnotation":"Elips Berawan","dashedEllipseAnnotation":"Elips Putus-Putus","cloudyPolygonAnnotation":"Poligon Berawan","dashedPolygonAnnotation":"Poligon Putus-Putus","cloudAnnotation":"Awan","rotateCounterclockwise":"Putar lawan arah jam","rotateClockwise":"Putar ikut arah jam","enterDescriptionHere":"Masukkan perihalan di sini","addOption":"Tambah pilihan","formDesignerPopoverTitle":"Sifat {formFieldType}","formFieldNameExists":"Medan borang bernama {formFieldName} sudah pun wujud. Sila pilih nama yang lain.","styleSectionLabel":"Gaya {formFieldType}","formFieldName":"Nama Medan Borang","defaultValue":"Nilai Lalai","multiLine":"Berbilang baris","radioButtonFormFieldNameWarning":"Untuk mengumpulkan butang radio, pastikan butang radio tersebut mempunyai nama medan borang yang sama.","advanced":"Lanjutan","creatorName":"Nama Pencipta","note":"Nota","customData":"Data Tersuai","required":"Diperlukan","readOnly":"Baca Sahaja","createdAt":"Dicipta Pada","updatedAt":"Dikemas Kini Pada","customDataErrorMessage":"Hendaklah merupakan objek boleh dijadikan bersiri JSON yang biasa","borderColor":"Warna Sempadan","borderWidth":"Lebar Sempadan","borderStyle":"Gaya Sempadan","solidBorder":"Padu","dashed":"Putus-Putus","beveled":"Serong","inset":"Sisipan","underline":"Bergaris Bawah","textStyle":"Gaya Teks","fontSize":"Saiz Fon","fontColor":"Warna Fon","button":"Medan Butang","textField":"Medan Teks","radioField":"Medan Radio","checkboxField":"Medan Kotak Semak","comboBoxField":"Medan Kotak Kombo","listBoxField":"Medan Kotak Senarai","signatureField":"Medan Tandatangan","formDesigner":"Pencipta Borang","buttonText":"Teks Butang","notAvailable":"N/A","label":"Label","value":"Nilai","cannotEditOnceCreated":"Tidak boleh diedit setelah dicipta.","formFieldNameNotEmpty":"Nama medan borang tidak boleh dibiarkan kosong.","mediaAnnotation":"Anotasi Media","mediaFormatNotSupported":"Pelayar ini tidak menyokong video atau audio yang dibenamkan.","distanceMeasurement":"Jarak","perimeterMeasurement":"Perimeter","polygonAreaMeasurement":"Kawasan Poligon","rectangularAreaMeasurement":"Kawasan Segi Empat Tepat","ellipseAreaMeasurement":"Kawasan Elips","distanceMeasurementSettings":"Tetapan Ukuran Jarak","perimeterMeasurementSettings":"Tetapan Ukuran Perimeter","polygonAreaMeasurementSettings":"Tetapan Ukuran Kawasan Poligon","rectangularAreaMeasurementSettings":"Tetapan Ukuran Kawasan Segi Empat Tepat","ellipseAreaMeasurementSettings":"Tetapan Ukuran Kawasan Elips","measurementScale":"Skala","measurementCalibrateLength":"Panjang Tentukur","measurementPrecision":"Ketepatan","measurementSnapping":"Pengikatan","formCreator":"Pencipta Borang","group":"Kumpulan","ungroup":"Leraikan","bold":"Tebal","italic":"Italik","addLink":"Tambah Pautan","removeLink":"Alih Keluar Pautan","editLink":"Edit Pautan","anonymous":"Awanama","saveAndClose":"Simpan & Tutup","ceToggleFontMismatchTooltip":"Togol tip alat salah padan fon","ceFontMismatch":"Fon {arg0} tidak tersedia atau tidak dapat digunakan untuk mengedit kandungan dalam dokumen ini. Kandungan yang ditambah atau diubah akan kembali kepada fon lalai.","multiAnnotationsSelection":"Pilih Berbilang Anotasi","linkSettingsPopoverTitle":"Tetapan Pautan","linkTo":"Pautan Ke","uriLink":"Tapak Web","pageLink":"Halaman","invalidPageNumber":"Masukkan nombor halaman yang sah.","invalidPageLink":"Masukkan pautan halaman yang sah.","linkAnnotation":"Pautan","targetPageLink":"Nombor Halaman","rotation":"Putaran","unlockDocumentDescription":"Anda perlu membuka kunci dokumen ini untuk melihat dokumen tersebut. Sila masukkan kata laluan dalam medan di bawah.","commentDialogClosed":"Buka jalur komen yang dimulakan oleh {arg0}: “{arg1}”","moreComments":"Lagi komen","linesCount":"{arg0, plural,\\nother {{arg0} Garisan}\\n}","annotationsCount":"{arg0, plural,\\nother {{arg0} Anotasi}\\n=0 {Tiada Anotasi}\\n}","pagesSelected":"{arg0, plural,\\nother {{arg0} Halaman Dipilih}\\n}","commentsCount":"{arg0, plural,\\nother {{arg0} Komen}\\n}","deleteNComments":"{arg0, plural,\\nother {{arg0} Komen}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\nother {{arg0} lagi komen}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-nb-NO-1f06c47e6b42da4d.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-nb-NO-1f06c47e6b42da4d.js new file mode 100644 index 00000000..fd12697d --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-nb-NO-1f06c47e6b42da4d.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[4966],{16844:e=>{e.exports=JSON.parse('{"thumbnails":"Ikoner","pageXofY":"Side {arg0} av {arg1}","XofY":"{arg0} av {arg1}","prevPage":"Forrige side","nextPage":"Neste side","goToPage":"Gå til side","gotoPageX":"Gå til side {arg0}","pageX":"Side {arg0}","pageLayout":"Sideoppsett","pageMode":"Sidemodus","pageModeSingle":"Enkelt","pageModeDouble":"Dobbelt","pageModeAutomatic":"Automatisk","pageTransition":"Sideovergang","pageTransitionContinuous":"Sammenhengende","pageTransitionJump":"Hopp","pageRotation":"Siderotasjon","pageRotationLeft":"Roter til venstre","pageRotationRight":"Roter til høyre","zoomIn":"Zoom inn","zoomOut":"Zoom ut","marqueeZoom":"Markeringszoom","panMode":"Panoreringsmodus","fitPage":"Tilpass til side","fitWidth":"Tilpass til bredde","annotations":"Merknader","noAnnotations":"Ingen merknader","bookmark":"Bokmerke","bookmarks":"Bokmerker","noBookmarks":"Ingen bokmerker","newBookmark":"Nytt bokmerke","addBookmark":"Legg til bokmerke","removeBookmark":"Fjern bokmerke","loadingBookmarks":"Laster bokmerker","deleteBookmarkConfirmMessage":"Er du sikker at du vil slette dette bokmerket?","deleteBookmarkConfirmAccessibilityLabel":"Bekreft sletting av bokmerke","annotation":"Merknad","noteAnnotation":"Notat","textAnnotation":"Tekst","inkAnnotation":"Blekk","highlightAnnotation":"Fremhev","underlineAnnotation":"Understrek","squiggleAnnotation":"Vri","strikeOutAnnotation":"Slå ut","print":"Skriv ut","printPrepare":"Forbereder dokument for utskrift…","searchDocument":"Søk dokument","searchPreviousMatch":"Forrige","searchNextMatch":"Neste","searchResultOf":"{arg0} av {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} verktøy, vis/skjul meny","save":"Lagre","edit":"Rediger","delete":"Slett","close":"Lukk","cancel":"Avbryt","ok":"OK","done":"Ferdig","clear":"Tøm","date":"Dato","time":"Tid","name":"Navn","color":"Farge","black":"Sort","white":"Hvitt","blue":"Blå","red":"Rød","green":"Grønn","orange":"Oransje","lightOrange":"Lyseoransje","yellow":"Gult","lightYellow":"Lysegul","lightBlue":"Lyseblå","lightRed":"Lyserød","lightGreen":"Lysegrønn","fuchsia":"Fuchsia","purple":"Lilla","pink":"Rosa","mauve":"Lilla","lightGrey":"Lysegrå","grey":"Grå","darkGrey":"Mørkegrå","noColor":"Ingen","transparent":"Gjennomsiktig","darkBlue":"Mørkeblå","opacity":"Opasitet","thickness":"Tykkelse","size":"Størrelse","numberInPt":"{arg0} pt","font":"Font","fonts":"Fonter","allFonts":"Alle fonter","alignment":"Justering","alignmentLeft":"Venstre","alignmentRight":"Høyre","alignmentCenter":"Midten","verticalAlignment":"Vertikal justering","horizontalAlignment":"Horisontal justering","top":"Topp","bottom":"Bunn","deleteAnnotationConfirmMessage":"Er du sikker på at du vil slette denne annotasjonen?","deleteAnnotationConfirmAccessibilityLabel":"Bekrefter sletting av annotasjon","fontFamilyUnsupported":"{arg0} (ikke støttet)","sign":"Signer","signed":"Signert","signatures":"Signaturer","addSignature":"Legg til signatur","clearSignature":"Fjern signatur","storeSignature":"Lagre signatur","pleaseSignHere":"Signer her","signing":"Signerer…","password":"Passord","unlock":"Lås opp","passwordRequired":"Passord påkrevd","unlockThisDocument":"Du må låse opp dette dokumentet for å se det. Vennligst oppgi passord i feltet under.","incorrectPassword":"Passordet du oppga, er ikke riktig. Vennligst prøv igjen.","blendMode":"Overgangsmodus","normal":"Normal","multiply":"Flere","screenBlend":"Skjerm","overlay":"Legg over","darken":"Mørkere","lighten":"Lysere","colorDodge":"Lysne farge","colorBurn":"Mørkne farge","hardLight":"Hardt lys","softLight":"Mykt lys","difference":"Forskjell","exclusion":"Eksklusjon","multiple":"Multipliser","linecaps-dasharray":"Linjestil","dasharray":"Linjestil","startLineCap":"Linjestart","strokeDashArray":"Linjestil","endLineCap":"Linjeslutt","lineAnnotation":"Linje","rectangleAnnotation":"Rektangel","ellipseAnnotation":"Ellipse","polygonAnnotation":"Polygon","polylineAnnotation":"Polylinje","solid":"Solid","narrowDots":"Smale prikker","wideDots":"Brede prikker","narrowDashes":"Smale streker","wideDashes":"Brede streker","none":"Ingen","square":"Kvadrat","circle":"Sirkel","diamond":"Diamant","openArrow":"Åpen pil","closedArrow":"Lukket pil","butt":"Bunn","reverseOpenArrow":"Omvend åpen pil","reverseClosedArrow":"Omvend lukket pil","slash":"Skråstrek","fillColor":"Fyllfarge","cloudy":"Skyet","arrow":"Pil","filePath":"Filbane","unsupportedImageFormat":"Ustøttet type for bildemerknad: {arg0}. Vennligst bruk en JPEG eller PNG.","noOutline":"Ingen kant","outline":"Omriss","imageAnnotation":"Bilde","selectImage":"Velg bilde","stampAnnotation":"Stempel","highlighter":"Merkepenn","textHighlighter":"Tekstutheving","pen":"Penn","eraser":"Viskelær","export":"Eksporter","useAnExistingStampDesign":"Bruk et eksisterende stempeldesign","createStamp":"Opprett stempel","stampText":"Stempeltekst","chooseColor":"Velg farge","rejected":"Avslått","accepted":"Godkjent","approved":"Godkjent","notApproved":"Ikke godkjent","draft":"Utkast","final":"Endelig","completed":"Fullført","confidential":"Konfidensielt","forPublicRelease":"For offentlig utgivelse","notForPublicRelease":"Ikke for offentlig utgivelse","forComment":"For kommentar","void":"Tomrom","preliminaryResults":"Innledende resultater","informationOnly":"Kun informasjon","initialHere":"Forbokstav her","signHere":"Signer her","witness":"Vitne","asIs":"Som er","departmental":"Avdelingsnivå","experimental":"Eksperimentelt","expired":"Utløpt","sold":"Solgt","topSecret":"Topp-hemmelig","revised":"Revidert","custom":"Tilpasset","customStamp":"Tilpasset stempel","icon":"Ikon","iconRightPointer":"Høyre peker","iconRightArrow":"Høyre pil","iconCheck":"Hake","iconCircle":"Ellipse","iconCross":"Kryss","iconInsert":"Sett inn tekst","iconNewParagraph":"Nytt avsnitt","iconNote":"Tekstmerknad","iconComment":"Kommentar","iconParagraph":"Avsnitt","iconHelp":"Hjelp","iconStar":"Stjerne","iconKey":"Nøkkel","documentEditor":"Dokumenteditor","newPage":"Ny side","removePage":"Slett sider","duplicatePage":"Dupliser","rotatePageLeft":"Roter til venstre","rotatePageRight":"Roter til høyre","moveBefore":"Flytt til før","moveAfter":"Flytt til etter","selectNone":"Velg ingen","selectAll":"Velg alle","saveAs":"Lagre som…","mergeDocument":"Importer dokument","undo":"Angre","redo":"Gjør om igjen","openMoveDialog":"Flytt","move":"Flytt","instantModifiedWarning":"Dokumentet ble modifisert og er nå i skrivebeskyttet modus. Last inn siden på nytt for å rette dette.","documentMergedHere":"Dokumentet blir flettet her","digitalSignaturesAllValid":"Dokumentet har blitt signert digitalt og alle signaturer er ugyldige.","digitalSignaturesDocModified":"Dokumentet har blitt signert digitalt, men det har blitt endret siden det ble signert.","digitalSignaturesSignatureWarning":"Dokumentet har blitt signert digitalt, men minst en signatur har et problem.","digitalSignaturesSignatureWarningDocModified":"Dokumentet har blitt signert digitalt, men det har blitt endret siden det ble signert, og minst en signatur har et problem.","digitalSignaturesSignatureError":"Dokumentet har blitt signert digitalt, men minst en signatur er ugyldig.","digitalSignaturesSignatureErrorDocModified":"Dokumentet har blitt signert digitalt, men det har blitt endret siden det ble signert, og minst en signatur er ugyldig.","signingInProgress":"Signering pågår","signingModalDesc":"Viser at aktuelt dokument blir signert","discardChanges":"Forkast endringer","commentEditorLabel":"Legg til din kommentar…","reply":"Svar","comment":"Kommentar","comments":"Kommentarer","showMore":"Vis mer","showLess":"Vis mindre","deleteComment":"Slett kommentar","deleteCommentConfirmMessage":"Er du sikker at du vil slette denne kommentaren?","deleteCommentConfirmAccessibilityLabel":"Bekreft sletting av kommentar","editContent":"Rediger innhold","commentOptions":"Kommentaralternativer","areaRedaction":"Områderedaksjon","textRedaction":"Tekstredaksjon","redactionAnnotation":"Redaksjon","applyingRedactions":"Legger til redaksjoner","overlayTextPlaceholder":"Legg til overliggende tekst","outlineColor":"Kantfarge","overlayText":"Overlappende tekst","repeatText":"Gjenta tekst","preview":"Forhåndsvis","applyRedactions":"Bruk redaksjoner","markupAnnotationToolbar":"Verktøylinje for merking av merknader","documentViewport":"Visningsport for dokument","redactionInProgress":"Redigering pågår","redactionModalDesc":"Viser at aktuelt dokument blir redigert","commentAction":"Kommenter","printProgressModalDesc":"Viser at et dokument blir forberedt til utskrift","printProgressModal":"Utskrift pågår","documentEditorDesc":"Gjør endringer på aktuelt dokument","reloadDocumentDialog":"Bekreft ny innlasting av dokument","reloadDocumentDialogDesc":"Dialog som ber bruker bekrefte ny innlasting av dokument","signatureDialog":"Signatur","signatureDialogDesc":"Denne dialogen lar deg velge en blekksignatur som du setter inn i dokumentet. Hvis du ikke har lagrede signaturer kan du opprette en i kanbanvisningen","stampAnnotationTemplatesDialog":"Mal for kommentarstempel","stampAnnotationTemplatesDialogDesc":"Denne dialogen lar deg velge et kommentarstempel som setttes inn i dokumentet, eller å lage et egendefinert kommentarstempel med din egen tekst","selectedAnnotation":"Valgt {arg0}","commentThread":"Kommentartråd","selectedAnnotationWithText":"Valgt {arg0} med {arg1} som innhold","signature":"Signatur","ElectronicSignatures_SignHereTypeHint":"Skriv inn signaturen din ovenfor","ElectronicSignatures_SignHereDrawHint":"Signer her","selectDragImage":"Velg eller dra bilde","replaceImage":"Erstatt bilde","draw":"Tegn","image":"Bilde","type":"Skriv","saveSignature":"Lagre signatur","loading":"Laster inn","selectedItem":"{arg0}, valgt.","annotationDeleted":"Merknad slettet.","newAnnotationCreated":"Ny {arg0} merknad opprettet.","bookmarkCreated":"Bokmerke opprettet.","bookmarkEdited":"Bokmerke redigert.","bookmarkDeleted":"Bokmerke slettet.","cancelledEditingBookmark":"Sletting av bokmerke avbrutt.","selectAFileForImage":"Velg en fil for den nye bildekommentaren.","deleteAnnotationConfirmAccessibilityDescription":"Dialogboks som lar deg bekrefte eller avbryte sletting av merknader.","deleteBookmarkConfirmAccessibilityDescription":"Dialogboks som lar deg bekrefte eller avbryte sletting av bokmerket.","deleteCommentConfirmAccessibilityDescription":"Dialogboks som lar deg bekrefte eller avbryte sletting av kommentaren.","resize":"Endre størrelse","resizeHandleTop":"Topp","resizeHandleBottom":"Bunn","resizeHandleRight":"Høyre","resizeHandleLeft":"Venstre","cropCurrentPage":"Beskjær gjeldende side","cropCurrent":"Beskjær gjeldende","cropAllPages":"Beskjær alle sider","cropAll":"Beskjær alle","documentCrop":"Dokumentbeskjæring","Comparison_alignButtonTouch":"Tilpass","Comparison_selectPoint":"Velg punkt","Comparison_documentOldTouch":"Gammel","Comparison_documentNewTouch":"Ny","Comparison_result":"Sammenligning","UserHint_description":"Velg tre punkter på begge dokumentene for manuell tilpasning. For best resultat, velg punkter nær hjørnene av dokumentene, og sørg for at punktene er i samme rekkefølge på begge dokumentene.","UserHint_dismissMessage":"Lukk","Comparison_alignButton":"Tilpass dokumenter","documentComparison":"Dokumentsammenligning","Comparison_documentOld":"Gammelt dokument","Comparison_documentNew":"Nytt dokument","Comparison_resetButton":"Gjenopprett","UserHint_Select":"Velger punkter","numberValidationBadFormat":"Den angitte verdien samsvarer ikke med formatet av feltet [{arg0}]","dateValidationBadFormat":"Ugyldig dato/tid: vennligst sørg for at dato/tid eksisterer. Feltet [{arg0}] bør samsvare med formatet {arg1}","insertAfterPage":"Legg til etter side","docEditorMoveBeginningHint":"Skriv “0” for å flytte de valgte sidene til begynnelsen av dokumentet.","cloudyRectangleAnnotation":"Skyet rektangel","dashedRectangleAnnotation":"Stiplet rektangel","cloudyEllipseAnnotation":"Skyet ellipse","dashedEllipseAnnotation":"Stiplet ellipse","cloudyPolygonAnnotation":"Skyet trekant","dashedPolygonAnnotation":"Stiplet trekant","cloudAnnotation":"Sky","rotateCounterclockwise":"Roter mot klokken","rotateClockwise":"Roter med klokken","enterDescriptionHere":"Skriv inn beskrivelse her","addOption":"Legg til alternativ","formDesignerPopoverTitle":"{formFieldType} -egenskaper","formFieldNameExists":"Et skjemafelt kalt {formFieldName} eksisterer allerede. Velg et annet navn.","styleSectionLabel":"{formFieldType} -stil","formFieldName":"Skjemafeltnavn","defaultValue":"Standardverdi","multiLine":"Flerlinjet","radioButtonFormFieldNameWarning":"Sørg for at de har samme skjemafeltnavn for å gruppere alternativknappene.","advanced":"Avansert","creatorName":"Skapernavn","note":"Notat","customData":"Tilpasset data","required":"Obligatorisk","readOnly":"Kun lesetilgang","createdAt":"Opprettet den","updatedAt":"Oppdatert den","customDataErrorMessage":"Må være et vanlig JSON-serialiserbart objekt","borderColor":"Rammefarge","borderWidth":"Rammebredde","borderStyle":"Rammestil","solidBorder":"Fast","dashed":"Stiplet","beveled":"Skråstilt","inset":"Innfelt","underline":"Understreket","textStyle":"Tekststil","fontSize":"Skriftstørrelse","fontColor":"Skriftfarge","button":"Knappefelt","textField":"Tekstfelt","radioField":"Radioknapp","checkboxField":"Felt med avmerkingsboks","comboBoxField":"Felt med kombinasjonsboks","listBoxField":"Listeboksfelt","signatureField":"Signaturfelt","formDesigner":"Skjemaoppretter","buttonText":"Tekst på knapp","notAvailable":"Gjelder ikke","label":"Etikett","value":"Verdi","cannotEditOnceCreated":"Kan ikke redigeres når den først er opprettet.","formFieldNameNotEmpty":"Skjemafeltnavn kan ikke stå tomt.","mediaAnnotation":"Mediekommentar","mediaFormatNotSupported":"Denne nettleseren støtter ikke innebygd video eller lyd.","distanceMeasurement":"Avstand","perimeterMeasurement":"Omkrets","polygonAreaMeasurement":"Polygonområde","rectangularAreaMeasurement":"Rektangelområde","ellipseAreaMeasurement":"Ellipseområde","distanceMeasurementSettings":"Innstillinger for avstandsmåling","perimeterMeasurementSettings":"Innstillinger for perimetermåling","polygonAreaMeasurementSettings":"Innstillinger for måling av polygonområde","rectangularAreaMeasurementSettings":"Innstillinger for måling av rektangelområde","ellipseAreaMeasurementSettings":"Innstillinger for måling av ellipseområde","measurementScale":"Skala","measurementCalibrateLength":"Kalibrer lengde","measurementPrecision":"Presisjon","measurementSnapping":"Knipsing","formCreator":"Skjemaoppretter","group":"Gruppe","ungroup":"Del opp","bold":"Fet","italic":"Kursiv","addLink":"Legg til lenke","removeLink":"Fjern lenke","editLink":"Rediger lenke","anonymous":"Anonym","saveAndClose":"Lagre og lukk","ceToggleFontMismatchTooltip":"Veksle mellom verktøytips for uoverensstemmelse mellom skrifttype","ceFontMismatch":"{arg0}-fonten er ikke tilgjengelig eller kan ikke brukes til å redigere innhold i dette dokumentet. Ekstra eller endret innhold vil gå tilbake til en standardfont.","multiAnnotationsSelection":"Velg flere merknader","linkSettingsPopoverTitle":"Lenkeinnstillinger","linkTo":"Lenke til","uriLink":"Nettsted","pageLink":"Side","invalidPageNumber":"Skriv inn et gyldig sidenummer.","invalidPageLink":"Skriv inn en gyldig sidelenke.","linkAnnotation":"Lenke","targetPageLink":"Sidetall","rotation":"Rotasjon","unlockDocumentDescription":"Du må låse opp dette dokumentet for å se det. Skriv inn passord i feltet nedenfor.","commentDialogClosed":"Åpne kommentartråd startet av {arg0}: \\"{arg1}\\"","moreComments":"Flere kommentarer","linesCount":"{arg0, plural,\\none {{arg0} linje}\\nother {{arg0} linjer}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} merknad}\\nother {{arg0} merknader}\\n=0 {Ingen merknader}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} side valgt}\\nother {{arg0} sider valgt}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} kommentar}\\nother {{arg0} kommentarer}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} kommentar}\\nother {{arg0} kommentarer}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} kommentar til}\\nother {{arg0} flere kommenterer}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-nl-73df7470e6448077.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-nl-73df7470e6448077.js new file mode 100644 index 00000000..2b113adf --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-nl-73df7470e6448077.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5677],{14314:e=>{e.exports=JSON.parse('{"thumbnails":"Miniaturen","pageXofY":"Pagina {arg0} van {arg1}","XofY":"{arg0} van {arg1}","prevPage":"Vorige pagina","nextPage":"Volgende pagina","goToPage":"Ga naar pagina","gotoPageX":"Ga naar pagina {arg0}","pageX":"Pagina {arg0}","pageLayout":"Paginalay-out","pageMode":"Paginamodus","pageModeSingle":"Enkel","pageModeDouble":"Dubbel","pageModeAutomatic":"Automatisch","pageTransition":"Pagina-overgang","pageTransitionContinuous":"Doorlopend","pageTransitionJump":"Springen","pageRotation":"Paginarotatie","pageRotationLeft":"Roteer naar links","pageRotationRight":"Roteer naar rechts","zoomIn":"Zoom in","zoomOut":"Zoom uit","marqueeZoom":"Selectiegereedschap","panMode":"Panmodus","fitPage":"Passende pagina","fitWidth":"Passende breedte","annotations":"Annotaties","noAnnotations":"Geen annotaties","bookmark":"Bladwijzer","bookmarks":"Bladwijzers","noBookmarks":"Geen bladwijzers","newBookmark":"Nieuwe bladwijzer","addBookmark":"Voeg bladwijzer toe","removeBookmark":"Verwijder bladwijzer","loadingBookmarks":"Bladwijzers laden","deleteBookmarkConfirmMessage":"Weet je zeker dat je deze bladwijzer wilt verwijderen?","deleteBookmarkConfirmAccessibilityLabel":"Bevestig verwijdering van bladwijzer","annotation":"Annotatie","noteAnnotation":"Notitie","textAnnotation":"Tekst","inkAnnotation":"Tekening","highlightAnnotation":"Tekstmarkering","underlineAnnotation":"Onderstreep","squiggleAnnotation":"Krabbel","strikeOutAnnotation":"Doorgehaald","print":"Druk af","printPrepare":"Document voorbereiden op afdrukken…","searchDocument":"Zoek in document","searchPreviousMatch":"Vorige","searchNextMatch":"Volgende","searchResultOf":"{arg0} van {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0}-tools, menu in- of uitschakelen","save":"Bewaar","edit":"Wijzig","delete":"Verwijder","close":"Sluit","cancel":"Annuleer","ok":"OK","done":"Gereed","clear":"Wis","date":"Datum","time":"Tijd","name":"Naam","color":"Kleur","black":"Zwart","white":"Wit","blue":"Blauw","red":"Rood","green":"Groen","orange":"Oranje","lightOrange":"Lichtoranje","yellow":"Geel","lightYellow":"Lichtgeel","lightBlue":"Lichtblauw","lightRed":"Lichtrood","lightGreen":"Lichtgroen","fuchsia":"Fuchsia","purple":"Paars","pink":"Roze","mauve":"Mauve","lightGrey":"Lichtgrijs","grey":"Grijs","darkGrey":"Donkergrijs","noColor":"Geen","transparent":"Doorzichtig","darkBlue":"Donkerblauw","opacity":"Transparantie","thickness":"Dikte","size":"Grootte","numberInPt":"{arg0} pt","font":"Lettertype","fonts":"Lettertypen","allFonts":"Alle lettertypen","alignment":"Uitlijning","alignmentLeft":"Links","alignmentRight":"Rechts","alignmentCenter":"Midden","verticalAlignment":"Verticale uitlijning","horizontalAlignment":"Horizontale uitlijning","top":"Boven","bottom":"Onder","deleteAnnotationConfirmMessage":"Weet je zeker dat je deze annotatie wilt verwijderen?","deleteAnnotationConfirmAccessibilityLabel":"Bevestig verwijdering van annotatie","fontFamilyUnsupported":"{arg0} (niet ondersteund)","sign":"Teken","signed":"Ondertekend","signatures":"Handtekeningen","addSignature":"Voeg handtekening toe","clearSignature":"Wis handtekening","storeSignature":"Bewaar handtekening","pleaseSignHere":"Teken hier","signing":"Tekenen…","password":"Wachtwoord","unlock":"Ontgrendel","passwordRequired":"Wachtwoord vereist","unlockThisDocument":"Je moet dit document ontgrendelen om het te bekijken. Voer het wachtwoord in het onderstaande veld in.","incorrectPassword":"Het ingevoerde wachtwoord is onjuist. Probeer het opnieuw.","blendMode":"Overvloeimodus","normal":"Normaal","multiply":"Vermenigvuldiging","screenBlend":"Bleken","overlay":"Overlay","darken":"Donkerder","lighten":"Lichter","colorDodge":"Kleur-dodge","colorBurn":"Kleur-burn","hardLight":"Hard licht","softLight":"Zacht licht","difference":"Verschil","exclusion":"Uitsluiting","multiple":"Meerdere","linecaps-dasharray":"Lijnstijl","dasharray":"Lijnstijl","startLineCap":"Begin van lijn","strokeDashArray":"Lijnstijl","endLineCap":"Einde van lijn","lineAnnotation":"Lijn","rectangleAnnotation":"Rechthoek","ellipseAnnotation":"Ellips","polygonAnnotation":"Veelhoek","polylineAnnotation":"Polylijn","solid":"Effen","narrowDots":"Smalle stippen","wideDots":"Brede stippen","narrowDashes":"Smalle streepjes","wideDashes":"Brede streepjes","none":"Geen","square":"Vierkant","circle":"Cirkel","diamond":"Diamant","openArrow":"Open pijl","closedArrow":"Gesloten pijl","butt":"Knop","reverseOpenArrow":"Omgekeerde open pijl","reverseClosedArrow":"Omgekeerde gesloten pijl","slash":"Schuine streep","fillColor":"Vulkleur","cloudy":"Bewolkt","arrow":"Pijl","filePath":"Bestandspad","unsupportedImageFormat":"Niet-ondersteund type voor afbeeldingsannotatie: {arg0}. Gebruik een JPEG- of PNG-bestand.","noOutline":"Geen inhoudsopgave","outline":"Inhoudsopgave","imageAnnotation":"Afbeelding","selectImage":"Selecteer afbeelding","stampAnnotation":"Stempel","highlighter":"Vrije tekstmarkering","textHighlighter":"Markeerstift voor tekst","pen":"Tekening","eraser":"Gum","export":"Exporteer","useAnExistingStampDesign":"Gebruik een bestaand stempelontwerp","createStamp":"Maak stempel","stampText":"Stempeltekst","chooseColor":"Kies kleur","rejected":"Geweigerd","accepted":"Geaccepteerd","approved":"Goedgekeurd","notApproved":"Afgekeurd","draft":"Concept","final":"Laatste","completed":"Voltooid","confidential":"Vertrouwelijk","forPublicRelease":"Voor openbare publicatie","notForPublicRelease":"Niet voor openbare publicatie","forComment":"Voor opmerking","void":"Ongeldig","preliminaryResults":"Voorlopige resultaten","informationOnly":"Alleen informatie","initialHere":"Initialen hier","signHere":"Teken hier","witness":"Getuige","asIs":"Zonder meer","departmental":"Departementaal","experimental":"Experimenteel","expired":"Verlopen","sold":"Verkocht","topSecret":"Zeer geheim","revised":"Gereviseerd","custom":"Aangepast","customStamp":"Aangepaste stempel","icon":"Symbool","iconRightPointer":"Aanwijzer naar rechts","iconRightArrow":"Pijl naar rechts","iconCheck":"Vinkje","iconCircle":"Ellips","iconCross":"Kruis","iconInsert":"Voeg tekst in","iconNewParagraph":"Nieuwe alinea","iconNote":"Tekstnotitie","iconComment":"Opmerking","iconParagraph":"Alinea","iconHelp":"Help","iconStar":"Ster","iconKey":"Sleutel","documentEditor":"Documenteditor","newPage":"Nieuwe pagina","removePage":"Verwijder pagina\'s","duplicatePage":"Dupliceer","rotatePageLeft":"Roteer naar links","rotatePageRight":"Roteer naar rechts","moveBefore":"Plaats voor","moveAfter":"Plaats na","selectNone":"Selecteer niets","selectAll":"Selecteer alles","saveAs":"Bewaar als…","mergeDocument":"Importeer document","undo":"Herstel","redo":"Opnieuw","openMoveDialog":"Verplaats","move":"Verplaats","instantModifiedWarning":"Het document is gewijzigd en bevindt zich nu in de alleen-lezenmodus. Herlaad de pagina om dit op te lossen.","documentMergedHere":"Document wordt hier samengevoegd","digitalSignaturesAllValid":"Het document is digitaal ondertekend en alle handtekeningen zijn geldig.","digitalSignaturesDocModified":"Het document is digitaal ondertekend maar het is gewijzigd na de ondertekening.","digitalSignaturesSignatureWarning":"Het document is digitaal ondertekend maar ten minste één handtekening vertoont problemen.","digitalSignaturesSignatureWarningDocModified":"Het document is digitaal ondertekend maar het is gewijzigd na de ondertekening en ten minste één handtekening vertoont problemen.","digitalSignaturesSignatureError":"Het document is digitaal ondertekend maar ten minste één handtekening is ongeldig.","digitalSignaturesSignatureErrorDocModified":"Het document is digitaal ondertekend maar het is gewijzigd na de ondertekening en ten minste één handtekening is ongeldig.","signingInProgress":"Bezig met ondertekenen","signingModalDesc":"Geeft aan dat het huidige document wordt ondertekend","discardChanges":"Verwijder wijzigingen","commentEditorLabel":"Voeg je opmerking toe…","reply":"Reageer","comment":"Opmerking","comments":"Opmerkingen","showMore":"Toon meer","showLess":"Toon minder","deleteComment":"Verwijder opmerking","deleteCommentConfirmMessage":"Weet je zeker dat je deze opmerking wilt verwijderen?","deleteCommentConfirmAccessibilityLabel":"Bevestig verwijdering van opmerking","editContent":"Wijzig content","commentOptions":"Opties voor opmerkingen","areaRedaction":"Gebiedsredactie","textRedaction":"Tekstredactie","redactionAnnotation":"Redactie","applyingRedactions":"Redacties toepassen","overlayTextPlaceholder":"Voeg overlaytekst in","outlineColor":"Contourkleur","overlayText":"Overlaytekst","repeatText":"Herhaal tekst","preview":"Voorvertoning","applyRedactions":"Pas redacties toe","markupAnnotationToolbar":"Annotatieknoppenbalk","documentViewport":"Document-viewport","redactionInProgress":"Bezig met redigeren","redactionModalDesc":"Geeft aan dat het huidige document wordt geredigeerd","commentAction":"Plaats opmerking","printProgressModalDesc":"Geeft aan dat het afdrukken van het huidige document wordt voorbereid","printProgressModal":"Bezig met afdrukken","documentEditorDesc":"Maak wijzigingen aan het huidige document","reloadDocumentDialog":"Bevestig herladen van document","reloadDocumentDialogDesc":"Venster waarin de gebruiker wordt gevraagd om te bevestigen dat het document opnieuw moet worden geladen.","signatureDialog":"Handtekening","signatureDialogDesc":"Met dit venster kun je een geschreven handtekening aan het document toevoegen. Als je geen handtekeningen hebt bewaard, kun je er een maken met de canvasweergave.","stampAnnotationTemplatesDialog":"Stempelsjablonen","stampAnnotationTemplatesDialogDesc":"Met dit venster kun je een stempel aan het document toevoegen of een aangepaste stempel met je eigen tekst maken.","selectedAnnotation":"{arg0} geselecteerd","commentThread":"Opmerkingen","selectedAnnotationWithText":"{arg0} met {arg1} als inhoud geselecteerd","signature":"Handtekening","ElectronicSignatures_SignHereTypeHint":"Typ je handtekening hierboven","ElectronicSignatures_SignHereDrawHint":"Teken hier","selectDragImage":"Selecteer of sleep afbeelding","replaceImage":"Vervang afbeelding","draw":"Teken","image":"Afbeelding","type":"Typ","saveSignature":"Bewaar handtekening","loading":"Laden","selectedItem":"{arg0}, geselecteerd.","annotationDeleted":"Annotatie is verwijderd.","newAnnotationCreated":"Nieuwe annotatie van het type {arg0} is aangemaakt.","bookmarkCreated":"Bladwijzer is aangemaakt.","bookmarkEdited":"Bladwijzer is bewerkt.","bookmarkDeleted":"Bladwijzer is verwijderd.","cancelledEditingBookmark":"Bewerking van bladwijzer is geannuleerd.","selectAFileForImage":"Selecteer een bestand voor de nieuwe afbeeldingsannotatie.","deleteAnnotationConfirmAccessibilityDescription":"Dialoogvenster waarin je de verwijdering van de annotatie kunt bevestigen of annuleren.","deleteBookmarkConfirmAccessibilityDescription":"Dialoogvenster waarin je de verwijdering van de bladwijzer kunt bevestigen of annuleren.","deleteCommentConfirmAccessibilityDescription":"Dialoogvenster waarin je de verwijdering van de opmerking kunt bevestigen of annuleren.","resize":"Pas grootte aan","resizeHandleTop":"Boven","resizeHandleBottom":"Onder","resizeHandleRight":"Rechts","resizeHandleLeft":"Links","cropCurrentPage":"Snij huidige pagina bij","cropCurrent":"Snij huidige bij","cropAllPages":"Snij alle pagina\'s bij","cropAll":"Snij alles bij","documentCrop":"Document bijsnijden","Comparison_alignButtonTouch":"Lijn uit","Comparison_selectPoint":"Selecteer punt","Comparison_documentOldTouch":"Oud","Comparison_documentNewTouch":"Nieuw","Comparison_result":"Vergelijking","UserHint_description":"Selecteer drie punten in beide documenten om ze handmatig uit te lijnen. De beste resultaten verkrijg je door punten in de hoeken van de documenten te kiezen, waarbij je ervoor zorgt dat de punten in dezelfde volgorde worden gekozen.","UserHint_dismissMessage":"Sluit","Comparison_alignButton":"Lijn documenten uit","documentComparison":"Documentvergelijking","Comparison_documentOld":"Oud document","Comparison_documentNew":"Nieuw document","Comparison_resetButton":"Herstel","UserHint_Select":"Punten selecteren","numberValidationBadFormat":"De ingevoerde waarde komt niet overeen met de structuur van het veld [{arg0}]","dateValidationBadFormat":"Ongeldige datum/tijd: controleer of de datum/tijd bestaat. Het veld [{arg0}] moet de structuur {arg1} hebben.","insertAfterPage":"Voeg in na pagina","docEditorMoveBeginningHint":"Typ \'0\' om de geselecteerde pagina(\'s) naar het begin van het document te verplaatsen.","cloudyRectangleAnnotation":"Rechthoek wolkvormig","dashedRectangleAnnotation":"Rechthoek onderbroken lijn","cloudyEllipseAnnotation":"Ellips wolkvormig","dashedEllipseAnnotation":"Ellips onderbroken lijn","cloudyPolygonAnnotation":"Veelhoek wolkvormig","dashedPolygonAnnotation":"Veelhoek onderbroken lijn","cloudAnnotation":"Wolk","rotateCounterclockwise":"Roteer linksom","rotateClockwise":"Roteer rechtsom","enterDescriptionHere":"Voer hier een beschrijving in","addOption":"Voeg optie toe","formDesignerPopoverTitle":"Eigenschappen van {formFieldType}","formFieldNameExists":"Er bestaat al een formulierveld met de naam {formFieldName}. Kies een andere naam.","styleSectionLabel":"Stijl van {formFieldType}","formFieldName":"Naam van formulierveld","defaultValue":"Standaardwaarde","multiLine":"Meerdere regels","radioButtonFormFieldNameWarning":"Als je de keuzerondjes wilt groeperen, zorg je dat ze dezelfde formulierveldnaam hebben.","advanced":"Geavanceerd","creatorName":"Naam van maker","note":"Opmerking","customData":"Aangepaste gegevens","required":"Verplicht","readOnly":"Alleen-lezen","createdAt":"Gemaakt op","updatedAt":"Bijgewerkt op","customDataErrorMessage":"Moet een JSON-serialiseerbaar object zonder opmaak zijn","borderColor":"Randkleur","borderWidth":"Randdikte","borderStyle":"Randstijl","solidBorder":"Effen","dashed":"Onderbroken","beveled":"Afgeschuind","inset":"Inzet","underline":"Onderstreept","textStyle":"Tekststijl","fontSize":"Lettergrootte","fontColor":"Letterkleur","button":"Knopveld","textField":"Tekstveld","radioField":"Keuzerondjeveld","checkboxField":"Aankruisvakveld","comboBoxField":"Combinatievakveld","listBoxField":"Keuzelijstveld","signatureField":"Handtekeningveld","formDesigner":"Formuliermaker","buttonText":"Knoptekst","notAvailable":"N.v.t.","label":"Label","value":"Waarde","cannotEditOnceCreated":"Kan na aanmaak niet worden bewerkt.","formFieldNameNotEmpty":"Naam van formulierveld mag niet leeg zijn.","mediaAnnotation":"Media-annotatie","mediaFormatNotSupported":"Deze browser ondersteunt geen ingebedde video of audio.","distanceMeasurement":"Afstand","perimeterMeasurement":"Omtrek","polygonAreaMeasurement":"Oppervlak van veelhoek","rectangularAreaMeasurement":"Oppervlak van rechthoek","ellipseAreaMeasurement":"Oppervlak van ellips","distanceMeasurementSettings":"Instellingen voor meting van afstand","perimeterMeasurementSettings":"Instellingen voor meting van omtrek","polygonAreaMeasurementSettings":"Instellingen voor meting van oppervlak van veelhoek","rectangularAreaMeasurementSettings":"Instellingen voor meting van oppervlak van rechthoek","ellipseAreaMeasurementSettings":"Instellingen voor meting van oppervlak van ellips","measurementScale":"Schaal","measurementCalibrateLength":"Kalibreer lengte","measurementPrecision":"Precisie","measurementSnapping":"Lijn automatisch uit","formCreator":"Formuliermaker","group":"Groepeer","ungroup":"Hef groepering op","bold":"Vet","italic":"Cursief","addLink":"Voeg koppeling toe","removeLink":"Verwijder koppeling","editLink":"Wijzig koppeling","anonymous":"Anoniem","saveAndClose":"Bewaar en sluit","ceToggleFontMismatchTooltip":"Zet knopinfo over ongelijk lettertype aan/uit","ceFontMismatch":"Het lettertype {arg0} font is niet beschikbaar of kan niet worden gebruikt om content in dit document te bewerken. Voor toegevoegde of gewijzigde content wordt een standaardlettertype gebruikt.","multiAnnotationsSelection":"Selecteer meerdere annotaties","linkSettingsPopoverTitle":"Koppelingsinstellingen","linkTo":"Koppeling naar","uriLink":"Website","pageLink":"Pagina","invalidPageNumber":"Voer een geldig paginanummer in.","invalidPageLink":"Voer een geldige paginakoppeling in.","linkAnnotation":"Koppeling","targetPageLink":"Paginanummer","rotation":"Rotatie","unlockDocumentDescription":"Je moet dit document ontgrendelen om het te bekijken. Voer het wachtwoord in het onderstaande veld in.","commentDialogClosed":"Open de discussie begonnen door {arg0}: \'{arg1}\'","moreComments":"Meer opmerkingen","linesCount":"{arg0, plural,\\none {{arg0} lijn}\\nother {{arg0} lijnen}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} annotatie}\\nother {{arg0} annotaties}\\n=0 {Geen annotaties}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} pagina geselecteerd}\\nother {{arg0} pagina\\\\\'s geselecteerd}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} opmerking}\\nother {{arg0} opmerkingen}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} opmerking}\\nother {{arg0} opmerkingen}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {Nog {arg0} opmerking}\\nother {Nog {arg0} opmerkingen}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-pl-7968816f155acd7a.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-pl-7968816f155acd7a.js new file mode 100644 index 00000000..37f7a713 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-pl-7968816f155acd7a.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[4899],{16365:e=>{e.exports=JSON.parse('{"thumbnails":"Miniatury","pageXofY":"Strona {arg0} z {arg1}","XofY":"{arg0} z {arg1}","prevPage":"Poprzednia strona","nextPage":"Następna strona","goToPage":"Przejdź do strony","gotoPageX":"Przejdź do str. {arg0}","pageX":"Strona {arg0}","pageLayout":"Układ stron","pageMode":"Tryb strony","pageModeSingle":"Pojedynczy","pageModeDouble":"Podwójny","pageModeAutomatic":"Automatycznie","pageTransition":"Przejście strony","pageTransitionContinuous":"Ciągły","pageTransitionJump":"Skocz","pageRotation":"Obrót strony","pageRotationLeft":"Obróć w lewo","pageRotationRight":"Obróć w prawo","zoomIn":"Przybliż","zoomOut":"Oddal","marqueeZoom":"Narzędzie Ramka zaznaczenia","panMode":"Tryb przesuwania","fitPage":"Dopasuj stronę","fitWidth":"Dopasuj szerokość","annotations":"Adnotacje","noAnnotations":"Brak adnotacji","bookmark":"Zakładka","bookmarks":"Zakładki","noBookmarks":"Brak zakładek","newBookmark":"Nowa zakładka","addBookmark":"Dodaj zakładkę","removeBookmark":"Usuń zakładkę","loadingBookmarks":"Ładowanie zakładek","deleteBookmarkConfirmMessage":"Czy na pewno chcesz usunąć tę zakładkę?","deleteBookmarkConfirmAccessibilityLabel":"Potwierdź usunięcie zakładki","annotation":"Adnotacja","noteAnnotation":"Uwaga","textAnnotation":"Tekst","inkAnnotation":"Rysowanie","highlightAnnotation":"Wyróżnienie tekstu","underlineAnnotation":"Podkreślenie","squiggleAnnotation":"Zawijas","strikeOutAnnotation":"Przekreślenie","print":"Drukuj","printPrepare":"Przygotowywanie dokumentu do drukowania…","searchDocument":"Szukaj w dokumencie","searchPreviousMatch":"Wstecz","searchNextMatch":"Dalej","searchResultOf":"{arg0} z {arg1}","accessibilityLabelDropdownGroupToggle":"Narzędzia {arg0}, menu przełączania","save":"Zachowaj","edit":"Edytuj","delete":"Usuń","close":"Zamknij","cancel":"Anuluj","ok":"OK","done":"Gotowe","clear":"Wymaż","date":"Data","time":"Czas","name":"Nazwa","color":"Kolor","black":"Czarny","white":"Biały","blue":"Niebieski","red":"Czerwony","green":"Zielony","orange":"Pomarańczowy","lightOrange":"Jasnopomarańczowy","yellow":"Żółty","lightYellow":"Jasnożółty","lightBlue":"Jasnoniebieski","lightRed":"Jasnoczerwony","lightGreen":"Jasnozielony","fuchsia":"Fuksja","purple":"Fioletowy","pink":"Różowy","mauve":"Fioletowy","lightGrey":"Jasnoszary","grey":"Szary","darkGrey":"Ciemnoszary","noColor":"Brak","transparent":"Przeświecające","darkBlue":"Ciemnoniebieski","opacity":"Przezroczystość","thickness":"Grubość","size":"Wielkość","numberInPt":"{arg0} punkt","font":"Czcionka","fonts":"Czcionki","allFonts":"Wszystkie czcionki","alignment":"Wyrównanie","alignmentLeft":"Lewa","alignmentRight":"Prawa","alignmentCenter":"Środek","verticalAlignment":"Wyrównanie w pionie","horizontalAlignment":"Wyrównanie w poziomie","top":"Góra","bottom":"Dół","deleteAnnotationConfirmMessage":"Czy na pewno chcesz usunąć tę adnotację?","deleteAnnotationConfirmAccessibilityLabel":"Potwierdź usunięcie adnotacji","fontFamilyUnsupported":"{arg0} (nieobsługiwane)","sign":"Podpis","signed":"Podpisano","signatures":"Podpisy","addSignature":"Dodaj podpis","clearSignature":"Wymaż podpis","storeSignature":"Zapisz podpis","pleaseSignHere":"Podpisz tutaj","signing":"Podpisywanie…","password":"Hasło","unlock":"Odblokuj","passwordRequired":"Wymagane hasło","unlockThisDocument":"Aby wyświetlić dokument, należy go odblokować. Wprowadź hasło w polu poniżej.","incorrectPassword":"Wprowadzone hasło jest nieprawidłowe. Spróbuj ponownie.","blendMode":"Tryb mieszania","normal":"Normalny","multiply":"Mnożenie","screenBlend":"Raster","overlay":"Nakładka","darken":"Ciemniej","lighten":"Jaśniej","colorDodge":"Rozjaśnianie","colorBurn":"Przypalenie koloru","hardLight":"Ostre światło","softLight":"Łagodne światło","difference":"Różnica","exclusion":"Wykluczenie","multiple":"Wielokrotny","linecaps-dasharray":"Styl linii","dasharray":"Styl linii","startLineCap":"Początek linii","strokeDashArray":"Styl linii","endLineCap":"Koniec linii","lineAnnotation":"Linia","rectangleAnnotation":"Prostokąt","ellipseAnnotation":"Elipsa","polygonAnnotation":"Wielokąt","polylineAnnotation":"Łamana","solid":"Ciągła","narrowDots":"Kropki, wąsko","wideDots":"Kropki, szeroko","narrowDashes":"Kreski, wąsko","wideDashes":"Kreski, szeroko","none":"Brak","square":"Kwadrat","circle":"Koło","diamond":"Romb","openArrow":"Strzałka otwarta","closedArrow":"Strzałka domknięta","butt":"Końcówka","reverseOpenArrow":"Odwrotna strzałka otwarta","reverseClosedArrow":"Odwrotna strzałka domknięta","slash":"Ukośnik","fillColor":"Kolor wypełnienia","cloudy":"Chmurka","arrow":"Strzałka","filePath":"Ścieżka pliku","unsupportedImageFormat":"Nieobsługiwany typ dla adnotacji z obrazem: {arg0}. Użyj formatu JPEG lub PNG.","noOutline":"Brak konturu","outline":"Kontur","imageAnnotation":"Obrazek","selectImage":"Wybierz obraz","stampAnnotation":"Pieczęć","highlighter":"Wyróżnianie swobodne","textHighlighter":"Zakreślenia tekstu","pen":"Rysowanie","eraser":"Gumka","export":"Eksportuj","useAnExistingStampDesign":"Użyj istniejącego projektu pieczęci","createStamp":"Utwórz pieczęć","stampText":"Tekst pieczęci","chooseColor":"Wybierz kolor","rejected":"Odrzucono","accepted":"Zaakceptowano","approved":"Zatwierdzono","notApproved":"Nie zatwierdzono","draft":"Wersja robocza","final":"Wersja finalna","completed":"Ukończono","confidential":"Poufne","forPublicRelease":"Do publikacji","notForPublicRelease":"Nie do publikacji","forComment":"Do wprowadzenia uwag","void":"Unieważniono","preliminaryResults":"Wstępne wyniki","informationOnly":"W celach informacyjnych","initialHere":"Tutaj parafka","signHere":"Podpisz tutaj","witness":"Świadek","asIs":"Zgodne","departmental":"Wydziałowe","experimental":"Eksperymentalne","expired":"Wygasłe","sold":"Sprzedane","topSecret":"Ściśle tajne","revised":"Zredagowano","custom":"Własne","customStamp":"Niestandardowa pieczęć","icon":"Ikona","iconRightPointer":"Wskaźnik w prawo","iconRightArrow":"Strzałka w prawo","iconCheck":"Znacznik wyboru","iconCircle":"Elipsa","iconCross":"Krzyżyk","iconInsert":"Wstaw tekst","iconNewParagraph":"Nowy akapit","iconNote":"Notatka tekstowa","iconComment":"Komentarz","iconParagraph":"Akapit","iconHelp":"Pomoc","iconStar":"Gwiazdka","iconKey":"Klucz","documentEditor":"Edytor dokumentów","newPage":"Nowa strona","removePage":"Usuń strony","duplicatePage":"Duplikuj","rotatePageLeft":"Obróć w lewo","rotatePageRight":"Obróć w prawo","moveBefore":"Przenieś przed","moveAfter":"Przenieś po","selectNone":"Wybierz Brak","selectAll":"Zaznacz wszystko","saveAs":"Zachowaj jako…","mergeDocument":"Importuj dokument","undo":"Cofnij","redo":"Ponów","openMoveDialog":"Przenieś","move":"Przenieś","instantModifiedWarning":"Dokument został zmodyfikowany i jest teraz w trybie tylko do odczytu. Załaduj ponownie stronę, aby to naprawić.","documentMergedHere":"Dokument zostanie scalony tutaj","digitalSignaturesAllValid":"Dokument został cyfrowo podpisany, a wszystkie podpisy są prawidłowe.","digitalSignaturesDocModified":"Dokument został cyfrowo podpisany, jednak od czasu podpisania dokumentu wprowadzono w nim zmiany.","digitalSignaturesSignatureWarning":"Dokument został cyfrowo podpisany, ale co najmniej jeden podpis ma problemy.","digitalSignaturesSignatureWarningDocModified":"Dokument został cyfrowo podpisany, jednak od czasu podpisania dokumentu wprowadzono w nim zmiany, a co najmniej jeden podpis ma problemy.","digitalSignaturesSignatureError":"Dokument został cyfrowo podpisany, ale co najmniej jeden podpis jest nieprawidłowy.","digitalSignaturesSignatureErrorDocModified":"Dokument został cyfrowo podpisany, jednak od czasu podpisania dokumentu wprowadzono w nim zmiany, a co najmniej jeden podpis jest nieprawidłowy.","signingInProgress":"Podpisywanie w toku","signingModalDesc":"Wskazuje, że trwa podpisywanie bieżącego dokumentu","discardChanges":"Odrzuć zmiany","commentEditorLabel":"Dodaj komentarz…","reply":"Odpowiedz","comment":"Komentarz","comments":"Komentarze","showMore":"Pokaż więcej","showLess":"Pokaż mniej","deleteComment":"Usuń komentarz","deleteCommentConfirmMessage":"Czy na pewno chcesz usunąć ten komentarz?","deleteCommentConfirmAccessibilityLabel":"Potwierdź usunięcie komentarza","editContent":"Edytuj zawartość","commentOptions":"Opcje komentowania","areaRedaction":"Cenzurowanie obszaru","textRedaction":"Cenzurowanie tekstu","redactionAnnotation":"Cenzurowanie","applyingRedactions":"Stosowanie cenzurowania","overlayTextPlaceholder":"Wstaw tekst nakładki","outlineColor":"Kolor konturu","overlayText":"Tekst nakładki","repeatText":"Powtarzaj tekst","preview":"Podgląd","applyRedactions":"Zastosuj cenzurowanie","markupAnnotationToolbar":"Pasek narzędzi adnotacji ze znacznikami","documentViewport":"Okienko dokumentu","redactionInProgress":"Cenzurowanie w toku","redactionModalDesc":"Wskazuje, że trwa cenzurowanie bieżącego dokumentu","commentAction":"Skomentuj","printProgressModalDesc":"Wskazuje, że trwa przygotowywanie dokumentu do druku","printProgressModal":"Drukowanie w toku","documentEditorDesc":"Dokonaj zmian w bieżącym dokumencie","reloadDocumentDialog":"Potwierdź ponowne załadowanie dokumentu","reloadDocumentDialogDesc":"Okno dialogowe monitujące użytkownika o potwierdzenie ponownego załadowania dokumentu.","signatureDialog":"Podpis","signatureDialogDesc":"To okno dialogowe umożliwia wybranie podpisu ręcznego w celu wstawienia do dokumentu. Jeśli nie masz zapisanych podpisów, możesz utworzyć podpis w widoku obszaru roboczego.","stampAnnotationTemplatesDialog":"Szablony adnotacji pędzla","stampAnnotationTemplatesDialogDesc":"To okno dialogowe umożliwia wybranie adnotacji pieczęci w celu wstawienia do dokumentu lub utworzenie niestandardowej adnotacji pieczęci z własnym tekstem.","selectedAnnotation":"Wybrano {arg0}","commentThread":"Wątek komentarzy","selectedAnnotationWithText":"Wybrano {arg0} z {arg1} jako zawartość","signature":"Podpis","ElectronicSignatures_SignHereTypeHint":"Wpisz podpis powyżej","ElectronicSignatures_SignHereDrawHint":"Podpisz tutaj","selectDragImage":"Wybierz lub przeciągnij obraz","replaceImage":"Zastąp obraz","draw":"Narysuj","image":"Obraz","type":"Wpisz","saveSignature":"Zachowaj podpis","loading":"Ładowanie","selectedItem":"{arg0}, wybrane.","annotationDeleted":"Usunięto adnotację.","newAnnotationCreated":"Utworzono nową zakładkę {arg0}.","bookmarkCreated":"Utworzono zakładkę.","bookmarkEdited":"Edytowano zakładkę.","bookmarkDeleted":"Usunięto zakładkę.","cancelledEditingBookmark":"Anulowano edycję zakładki.","selectAFileForImage":"Wybierz plik dla nowej adnotacji z obrazem.","deleteAnnotationConfirmAccessibilityDescription":"Okno dialogowe umożliwiające potwierdzenie lub anulowanie usunięcia adnotacji.","deleteBookmarkConfirmAccessibilityDescription":"Okno dialogowe umożliwiające potwierdzenie lub anulowanie usunięcia zakładki.","deleteCommentConfirmAccessibilityDescription":"Okno dialogowe umożliwiające potwierdzenie lub anulowanie usunięcia komentarza.","resize":"Zmień rozmiar","resizeHandleTop":"Góra","resizeHandleBottom":"Dół","resizeHandleRight":"Prawo","resizeHandleLeft":"Lewo","cropCurrentPage":"Przytnij bieżącą stronę","cropCurrent":"Przytnij bieżącą","cropAllPages":"Przytnij wszystkie strony","cropAll":"Przytnij wszystkie","documentCrop":"Przycinanie dokumentów","Comparison_alignButtonTouch":"Wyrównaj","Comparison_selectPoint":"Wybierz punkt","Comparison_documentOldTouch":"Stary","Comparison_documentNewTouch":"Nowy","Comparison_result":"Porównanie","UserHint_description":"Wybierz trzy punkty na obu dokumentach do wyrównania ręcznego. Aby uzyskać najlepsze wyniki, wybierz punkty w pobliżu rogów dokumentów, upewniając się, że punkty są w tej samej kolejności na obu dokumentach.","UserHint_dismissMessage":"Odrzuć","Comparison_alignButton":"Wyrównaj dokumenty","documentComparison":"Porównanie dokumentów","Comparison_documentOld":"Stary dokument","Comparison_documentNew":"Nowy dokument","Comparison_resetButton":"Wyzeruj","UserHint_Select":"Wybieranie punktów","numberValidationBadFormat":"Wprowadzona wartość nie pasuje do formatu pola [{arg0}]","dateValidationBadFormat":"Nieprawidłowa data/godzina: upewnij się, że data/godzina istnieje. Pole [{arg0}] powinno być zgodne z formatem {arg1}","insertAfterPage":"Wstaw po stronie","docEditorMoveBeginningHint":"Wpisz „0”, aby przenieść wybraną stronę lub strony na początek dokumentu.","cloudyRectangleAnnotation":"Chmurkowany prostokąt","dashedRectangleAnnotation":"Kreskowany prostokąt","cloudyEllipseAnnotation":"Chmurkowana elipsa","dashedEllipseAnnotation":"Kreskowana elipsa","cloudyPolygonAnnotation":"Chmurkowany wielokąt","dashedPolygonAnnotation":"Kreskowany wielokąt","cloudAnnotation":"Chmura","rotateCounterclockwise":"Obróć w lewo","rotateClockwise":"Obróć w prawo","enterDescriptionHere":"Wprowadź tutaj opis","addOption":"Dodaj opcję","formDesignerPopoverTitle":"Właściwości: {formFieldType}","formFieldNameExists":"Pole formularza o nazwie {formFieldName} już istnieje. Wybierz inną nazwę.","styleSectionLabel":"Styl: {formFieldType}","formFieldName":"Nazwa pola formularza","defaultValue":"Wartość domyślna","multiLine":"Multilinia","radioButtonFormFieldNameWarning":"Aby zgrupować przyciski opcji, upewnij się, że mają te same nazwy pól formularza.","advanced":"Zaawansowane","creatorName":"Nazwa twórcy","note":"Uwaga","customData":"Dane niestandardowe","required":"Wymagane","readOnly":"Tylko do odczytu","createdAt":"Utworzono","updatedAt":"Zaktualizowano","customDataErrorMessage":"Musi być zwykłym obiektem możliwym do serializacji JSON","borderColor":"Kolor obramowania","borderWidth":"Szerokość obramowania","borderStyle":"Styl obramowania","solidBorder":"Ciągła","dashed":"Kreskowana","beveled":"Fazowana","inset":"Wstawka","underline":"Podkreślenie","textStyle":"Styl tekstu","fontSize":"Rozmiar czcionki","fontColor":"Kolor czcionki","button":"Pole przycisku","textField":"Pole tekstowe","radioField":"Pole opcji","checkboxField":"Pole wyboru","comboBoxField":"Pole kombi","listBoxField":"Pole listy","signatureField":"Pole podpisu","formDesigner":"Kreator formularzy","buttonText":"Tekst przycisku","notAvailable":"ND","label":"Etykieta","value":"Wartość","cannotEditOnceCreated":"Nie można edytować po utworzeniu.","formFieldNameNotEmpty":"Nazwa pola formularza nie może być pusta.","mediaAnnotation":"Adnotacja do multimediów","mediaFormatNotSupported":"Ta przeglądarka nie obsługuje osadzonego wideo ani audio.","distanceMeasurement":"Odległość","perimeterMeasurement":"Obwód","polygonAreaMeasurement":"Pole wielokąta","rectangularAreaMeasurement":"Pole prostokąta","ellipseAreaMeasurement":"Pole elipsy","distanceMeasurementSettings":"Ustawienia pomiaru odległości","perimeterMeasurementSettings":"Ustawienia pomiaru obwodu","polygonAreaMeasurementSettings":"Ustawienia pomiaru pola wielokąta","rectangularAreaMeasurementSettings":"Ustawienia pomiaru pola prostokąta","ellipseAreaMeasurementSettings":"Ustawienia pomiaru pola elipsy","measurementScale":"Skala","measurementCalibrateLength":"Kalibracja długości","measurementPrecision":"Precyzja","measurementSnapping":"Przyciąganie","formCreator":"Kreator formularzy","group":"Grupa","ungroup":"Usuń grupowanie","bold":"Pogrubienie","italic":"Kursywa","addLink":"Dodaj łącze","removeLink":"Usuń łącze","editLink":"Edytuj łącze","anonymous":"Anonim","saveAndClose":"Zachowaj i zamknij","ceToggleFontMismatchTooltip":"Przełącz podpowiedź dotyczącą niezgodności czcionek","ceFontMismatch":"Czcionka {arg0} nie jest dostępna lub nie można jej użyć do edytowania zawartości w tym dokumencie. Dodana lub zmieniona zawartość zostanie przywrócona do czcionki domyślnej.","multiAnnotationsSelection":"Zaznacz wiele adnotacji","linkSettingsPopoverTitle":"Ustawienia łącza","linkTo":"Łącze do","uriLink":"Witryny","pageLink":"Strony","invalidPageNumber":"Wprowadź prawidłowy numer strony.","invalidPageLink":"Wprowadź prawidłowe łącze do strony.","linkAnnotation":"Łącze","targetPageLink":"Numer strony","rotation":"Obrót","unlockDocumentDescription":"Aby wyświetlić dokument, należy go odblokować. Wprowadź hasło w polu poniżej.","commentDialogClosed":"Otwórz wątek komentarzy rozpoczęty przez: {arg0}: „{arg1}”","moreComments":"Więcej komentarzy","linesCount":"{arg0, plural,\\none {{arg0} linia}\\nfew {{arg0} linie}\\nmany {{arg0} linii}\\nother {{arg0} linii}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} adnotacja}\\nfew {{arg0} adnotacje}\\nmany {{arg0} adnotacji}\\nother {{arg0} adnotacji}\\n=0 {Brak adnotacji}\\n}","pagesSelected":"{arg0, plural,\\none {Wybrano {arg0} stronę}\\nfew {Wybrano {arg0} strony}\\nmany {Wybrano {arg0} stron}\\nother {Wybrano {arg0} strony}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} komentarz}\\nfew {{arg0} komentarze}\\nmany {{arg0} komentarzy}\\nother {{arg0} komentarza}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} komentarz}\\nfew {{arg0} komentarze}\\nmany {{arg0} komentarzy}\\nother {{arg0} komentarza}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {Jeszcze {arg0} komentarz}\\nfew {Jeszcze {arg0} komentarze}\\nmany {Jeszcze {arg0} komentarzy}\\nother {Jeszcze {arg0} komentarza}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-pt-PT-ee71f9ccb8259421.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-pt-PT-ee71f9ccb8259421.js new file mode 100644 index 00000000..901626ea --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-pt-PT-ee71f9ccb8259421.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5431],{55910:e=>{e.exports=JSON.parse('{"thumbnails":"Miniaturas","pageXofY":"Página {arg0} de {arg1}","XofY":"{arg0} de {arg1}","prevPage":"Página anterior","nextPage":"Página seguinte","goToPage":"Ir para página","gotoPageX":"Ir para página {arg0}","pageX":"Página {arg0}","pageLayout":"Disposição de página","pageMode":"Modo de Páginas","pageModeSingle":"Única","pageModeDouble":"Duplo","pageModeAutomatic":"Automático","pageTransition":"Transição de Páginas","pageTransitionContinuous":"Contínua","pageTransitionJump":"Saltar","pageRotation":"Rotação da página","pageRotationLeft":"Rodar para a esquerda","pageRotationRight":"Rodar para a direita","zoomIn":"Ampliar","zoomOut":"Reduzir","marqueeZoom":"Ferramenta de marcação","panMode":"Modo de deslocação","fitPage":"Ajustar à página","fitWidth":"Ajustar à largura","annotations":"Anotações","noAnnotations":"Nenhuma anotação","bookmark":"Marcador","bookmarks":"Marcadores","noBookmarks":"Nenhum marcador","newBookmark":"Novo marcador","addBookmark":"Adicionar marcador","removeBookmark":"Remover marcador","loadingBookmarks":"A carregar marcadores","deleteBookmarkConfirmMessage":"Tem a certeza de que pretende apagar este marcador?","deleteBookmarkConfirmAccessibilityLabel":"Confirmar eliminação do marcador","annotation":"Anotação","noteAnnotation":"Nota","textAnnotation":"Texto","inkAnnotation":"Desenho","highlightAnnotation":"Realce de texto","underlineAnnotation":"Sublinhado","squiggleAnnotation":"Ondulante","strikeOutAnnotation":"Rasurado","print":"Imprimir","printPrepare":"A preparar o documento para impressão…","searchDocument":"Pesquisar documento","searchPreviousMatch":"Anterior","searchNextMatch":"Seguinte","searchResultOf":"{arg0} de {arg1}","accessibilityLabelDropdownGroupToggle":"Ferramentas {arg0}, ativar/desativar menu","save":"Guardar","edit":"Editar","delete":"Apagar","close":"Fechar","cancel":"Cancelar","ok":"OK","done":"Feito","clear":"Limpar","date":"Data","time":"Hora","name":"Nome","color":"Cor","black":"Preto","white":"Branco","blue":"Azul","red":"Vermelho","green":"Verde","orange":"Laranja","lightOrange":"Laranja claro","yellow":"Amarelo","lightYellow":"Amarelo claro","lightBlue":"Azul claro","lightRed":"Vermelho claro","lightGreen":"Verde claro","fuchsia":"Fúcsia","purple":"Púrpura","pink":"Rosa","mauve":"Malva","lightGrey":"Cinzento claro","grey":"Cinzento","darkGrey":"Cinzento escuro","noColor":"Nenhum","transparent":"Transparente","darkBlue":"Azul escuro","opacity":"Opacidade","thickness":"Espessura","size":"Tamanho","numberInPt":"{arg0} pt","font":"Tipo de letra","fonts":"Tipos de letra","allFonts":"Todos os tipos de letra","alignment":"Alinhamento","alignmentLeft":"Esquerda","alignmentRight":"Direita","alignmentCenter":"Centro","verticalAlignment":"Alinhamento vertical","horizontalAlignment":"Alinhamento horizontal","top":"Topo","bottom":"Fundo","deleteAnnotationConfirmMessage":"Tem a certeza de que pretende apagar esta anotação?","deleteAnnotationConfirmAccessibilityLabel":"Confirmar eliminação da anotação","fontFamilyUnsupported":"{arg0} (não suportado)","sign":"Assinar","signed":"Assinado","signatures":"Assinaturas","addSignature":"Adicionar assinatura","clearSignature":"Limpar assinatura","storeSignature":"Armazenar assinatura","pleaseSignHere":"Assine aqui","signing":"A assinar…","password":"Palavra-passe","unlock":"Desbloquear","passwordRequired":"Palavra-passe obrigatória","unlockThisDocument":"Tem de desproteger este documento para poder visualizá-lo. Introduza a palavra-passe no campo em baixo.","incorrectPassword":"A palavra-passe introduzida não está correta. Tente novamente.","blendMode":"Modo de mistura","normal":"Normal","multiply":"Multiplicação","screenBlend":"Tela","overlay":"Sobreposição","darken":"Escurecer","lighten":"Iluminar","colorDodge":"Subexposição de cores","colorBurn":"Sobre-exposição de cores","hardLight":"Luz direta","softLight":"Luz indireta","difference":"Diferença","exclusion":"Exclusão","multiple":"Múltiplo","linecaps-dasharray":"Estilo de linha","dasharray":"Estilo de linha","startLineCap":"Início de linha","strokeDashArray":"Estilo de linha","endLineCap":"Fim de linha","lineAnnotation":"Linha","rectangleAnnotation":"Rectângulo","ellipseAnnotation":"Elipse","polygonAnnotation":"Polígono","polylineAnnotation":"Polilinha","solid":"Sólida","narrowDots":"Pontos finos","wideDots":"Pontos espessos","narrowDashes":"Traços finos","wideDashes":"Traços espessos","none":"Nenhum","square":"Quadrado","circle":"Círculo","diamond":"Diamante","openArrow":"Seta aberta","closedArrow":"Seta fechada","butt":"Puxador","reverseOpenArrow":"Seta aberta invertida","reverseClosedArrow":"Seta fechada invertida","slash":"Barra","fillColor":"Cor de preenchimento","cloudy":"Nublado","arrow":"Seta","filePath":"Caminho do ficheiro","unsupportedImageFormat":"Tipo não suportado para anotação de imagem: {arg0}. Use um JPEG ou PNG.","noOutline":"Sem contorno","outline":"Contorno","imageAnnotation":"Imagem","selectImage":"Selecionar imagem","stampAnnotation":"Selo","highlighter":"Realce livre","textHighlighter":"Marcador de texto","pen":"Desenho","eraser":"Borracha","export":"Exportar","useAnExistingStampDesign":"Usar um design de carimbo existente","createStamp":"Criar selo","stampText":"Texto de selo","chooseColor":"Seleccionar cor","rejected":"Rejeitado","accepted":"Aprovado","approved":"Aprovado","notApproved":"Não aprovado","draft":"Rascunho","final":"Final","completed":"Concluído","confidential":"Confidencial","forPublicRelease":"Para revelação pública","notForPublicRelease":"Não para revelação pública","forComment":"Para comentário","void":"Nulo","preliminaryResults":"Resultados preliminares","informationOnly":"Informação apenas","initialHere":"Iniciais aqui","signHere":"Assinar aqui","witness":"Testemunho","asIs":"Como está","departmental":"Departmental","experimental":"Experimental","expired":"Expirado","sold":"Vendido","topSecret":"Ultra-secreto","revised":"Revisto","custom":"Personalizado","customStamp":"Carimbo personalizado","icon":"Ícone","iconRightPointer":"Ponteiro para a direita","iconRightArrow":"Seta para a direita","iconCheck":"Visto","iconCircle":"Elipse","iconCross":"Cruz","iconInsert":"Inserir texto","iconNewParagraph":"Novo parágrafo","iconNote":"Nota de texto","iconComment":"Comentário","iconParagraph":"Parágrafo","iconHelp":"Ajuda","iconStar":"Estrela","iconKey":"Chave","documentEditor":"Editor de documentos","newPage":"Nova página","removePage":"Apagar páginas","duplicatePage":"Duplicar","rotatePageLeft":"Rodar para a esquerda","rotatePageRight":"Rodar para a direita","moveBefore":"Mover antes","moveAfter":"Mover depois","selectNone":"Não selecionar nada","selectAll":"Selecionar tudo","saveAs":"Guardar como…","mergeDocument":"Importar documento","undo":"Desfazer","redo":"Refazer","openMoveDialog":"Mover","move":"Mover","instantModifiedWarning":"O documento foi modificado e agora está em modo só de leitura. Recarregue a página para corrigir esta situação.","documentMergedHere":"O documentos será combinado aqui","digitalSignaturesAllValid":"O documento foi assinado digitalmente e todas as assinaturas são válidas.","digitalSignaturesDocModified":"O documento foi assinado digitalmente, mas foi modificado desde a assinatura.","digitalSignaturesSignatureWarning":"O documento foi assinado digitalmente, mas pelo menos uma assinatura tem problemas.","digitalSignaturesSignatureWarningDocModified":"O documento foi assinado digitalmente, mas foi modificado desde a assinatura e pelo menos uma assinatura tem problemas.","digitalSignaturesSignatureError":"O documento foi assinado digitalmente, mas pelo menos uma assinatura é inválida.","digitalSignaturesSignatureErrorDocModified":"O documento foi assinado digitalmente, mas foi modificado desde a assinatura e pelo menos uma assinatura é inválida.","signingInProgress":"Assinatura em curso","signingModalDesc":"Indica que o documento atual está a ser assinado","discardChanges":"Eliminar alterações","commentEditorLabel":"Adicione o seu comentário…","reply":"Responder","comment":"Comentário","comments":"Comentários","showMore":"Mostrar mais","showLess":"Mostrar menos","deleteComment":"Apagar comentário","deleteCommentConfirmMessage":"Tem a certeza de que pretende apagar este comentário?","deleteCommentConfirmAccessibilityLabel":"Confirmar eliminação do comentário","editContent":"Editar conteúdo","commentOptions":"Opções de comentário","areaRedaction":"Redação de área","textRedaction":"Redação de texto","redactionAnnotation":"Redação","applyingRedactions":"A aplicar redações","overlayTextPlaceholder":"Inserir texto de sobreposição","outlineColor":"Cor do contorno","overlayText":"Texto de sobreposição","repeatText":"Repetir texto","preview":"Pré-visualizar","applyRedactions":"Aplicar redações","markupAnnotationToolbar":"Barra de ferramentas de anotações de marcação","documentViewport":"Perspetiva do documento","redactionInProgress":"Redação em curso","redactionModalDesc":"Indica que o documento atual está a ser redigido","commentAction":"Comentar","printProgressModalDesc":"Indica que um documento está a ser preparado para impressão","printProgressModal":"Impressão em curso","documentEditorDesc":"Fazer alterações ao documento atual","reloadDocumentDialog":"Confirmar recarregamento do documento","reloadDocumentDialogDesc":"Caixa de diálogo a solicitar ao utilizador que confirme o recarregamento do documento.","signatureDialog":"Assinatura","signatureDialogDesc":"Esta caixa de diálogo permite-lhe selecionar uma assinatura de tinta para inserir no documento. Se não tiver assinaturas armazenadas, pode criar uma usando a vista de tela.","stampAnnotationTemplatesDialog":"Modelos de anotação de carimbo","stampAnnotationTemplatesDialogDesc":"Esta caixa de diálogo permite-lhe selecionar uma anotação de carimbo para inserir no documento ou criar uma anotação de carimbo personalizada com o seu próprio texto.","selectedAnnotation":"Selecionou {arg0}","commentThread":"Tópico de comentários","selectedAnnotationWithText":"Selecionou {arg0} com {arg1} como conteúdo","signature":"Assinatura","ElectronicSignatures_SignHereTypeHint":"Digite a sua assinatura acima","ElectronicSignatures_SignHereDrawHint":"Assinar aqui","selectDragImage":"Selecionar ou arrastar imagem","replaceImage":"Substituir imagem","draw":"Desenho","image":"Imagem","type":"Digitar","saveSignature":"Guardar assinatura","loading":"A carregar","selectedItem":"{arg0}, selecionado.","annotationDeleted":"Anotação apagada.","newAnnotationCreated":"Nova anotação {arg0} criada.","bookmarkCreated":"Marcador criado.","bookmarkEdited":"Marcador editado.","bookmarkDeleted":"Marcado apagado.","cancelledEditingBookmark":"Edição de marcador cancelada.","selectAFileForImage":"Selecione um ficheiro para a nova anotação de imagem.","deleteAnnotationConfirmAccessibilityDescription":"Caixa de diálogo que permite confirmar ou cancelar a eliminação da anotação.","deleteBookmarkConfirmAccessibilityDescription":"Caixa de diálogo que permite confirmar ou cancelar a eliminação do marcador.","deleteCommentConfirmAccessibilityDescription":"Caixa de diálogo que permite confirmar ou cancelar a eliminação do comentário.","resize":"Redimensionar","resizeHandleTop":"Topo","resizeHandleBottom":"Fundo","resizeHandleRight":"Direita","resizeHandleLeft":"Esquerda","cropCurrentPage":"Recortar página atual","cropCurrent":"Recortar atual","cropAllPages":"Recortar todas as páginas","cropAll":"Recortar tudo","documentCrop":"Recorte do documento","Comparison_alignButtonTouch":"Alinhar","Comparison_selectPoint":"Selecionar ponto","Comparison_documentOldTouch":"Antigo","Comparison_documentNewTouch":"Novo","Comparison_result":"Comparação","UserHint_description":"Selecione três pontos em ambos os documentos para um alinhamento manual. Para obter os melhores resultados, escolha pontos perto dos cantos dos documentos, assegurando que os pontos estão na mesma ordem em ambos os documentos.","UserHint_dismissMessage":"Ignorar","Comparison_alignButton":"Alinhar documentos","documentComparison":"Comparação de documentos","Comparison_documentOld":"Documento antigo","Comparison_documentNew":"Novo documento","Comparison_resetButton":"Repor","UserHint_Select":"A selecionar pontos","numberValidationBadFormat":"O valor introduzido não corresponde ao formato do campo [{arg0}].","dateValidationBadFormat":"Data/hora inválida: certifique-se de que a data/hora existe. O campo [{arg0}] deve corresponder ao formato {arg1}.","insertAfterPage":"Inserir após a página","docEditorMoveBeginningHint":"Digite «0» para mover a(s) página(s) selecionada(s) para o começo do documento.","cloudyRectangleAnnotation":"Retângulo na nuvem","dashedRectangleAnnotation":"Retângulo tracejado","cloudyEllipseAnnotation":"Elipse na nuvem","dashedEllipseAnnotation":"Elipse tracejada","cloudyPolygonAnnotation":"Polígono na nuvem","dashedPolygonAnnotation":"Polígono tracejado","cloudAnnotation":"Nuvem","rotateCounterclockwise":"Rodar no sentido anti-horário","rotateClockwise":"Rodar no sentido horário","enterDescriptionHere":"Inserir aqui a descrição","addOption":"Adicionar opção","formDesignerPopoverTitle":"Propriedades do {formFieldType}","formFieldNameExists":"Já existe um campo de formulário com o nome {formFieldName}. Escolha um nome diferente.","styleSectionLabel":"Estilo do {formFieldType}","formFieldName":"Nome do campo do formulário","defaultValue":"Valor predefinido","multiLine":"Multilinha","radioButtonFormFieldNameWarning":"Para agrupar os botões de rádio, certifique-se de que têm os mesmos nomes de campo de formulário.","advanced":"Avançado","creatorName":"Nome do criador","note":"Nota","customData":"Dados personalizados","required":"Exigido","readOnly":"Apenas para leitura","createdAt":"Criado em","updatedAt":"Atualizado em","customDataErrorMessage":"Tem de ser um objeto serializável em JSON simples","borderColor":"Cor da margem","borderWidth":"Largura da margem","borderStyle":"Estilo da margem","solidBorder":"Sólido","dashed":"Tracejado","beveled":"Biselado","inset":"Inserção","underline":"Sublinhado","textStyle":"Estilo do texto","fontSize":"Dimensão da letra","fontColor":"Cor da letra","button":"Campo de botão","textField":"Campo de texto","radioField":"Campo de rádio","checkboxField":"Campo de caixa de verificação","comboBoxField":"Campo de caixa combinada","listBoxField":"Campo de caixa de lista","signatureField":"Campo de assinatura","formDesigner":"Criador de formulários","buttonText":"Texto do botão","notAvailable":"N/A","label":"Rótulo","value":"Valor","cannotEditOnceCreated":"Não pode ser editado depois de criado.","formFieldNameNotEmpty":"O nome do campo do formulário não pode ser deixado vazio.","mediaAnnotation":"Anotação multimédia","mediaFormatNotSupported":"Este navegador não é compatível com vídeo ou áudio integrado.","distanceMeasurement":"Distância","perimeterMeasurement":"Perímetro","polygonAreaMeasurement":"Área poligonal","rectangularAreaMeasurement":"Área retangular","ellipseAreaMeasurement":"Área elíptica","distanceMeasurementSettings":"Definições de medição de distância","perimeterMeasurementSettings":"Definições de medição de perímetro","polygonAreaMeasurementSettings":"Definições de medição de área do polígono","rectangularAreaMeasurementSettings":"Definições de medição de área do retângulo","ellipseAreaMeasurementSettings":"Definições de medição de área da elipse","measurementScale":"Escala","measurementCalibrateLength":"Calibrar comprimento","measurementPrecision":"Precisão","measurementSnapping":"Alinhamento","formCreator":"Criador de formulários","group":"Agrupar","ungroup":"Desagrupar","bold":"Negrito","italic":"Itálico","addLink":"Adicionar link","removeLink":"Remover link","editLink":"Editar link","anonymous":"Anónimo","saveAndClose":"Guardar e fechar","ceToggleFontMismatchTooltip":"Ativar descrição de tipo de letra não correspondido","ceFontMismatch":"O tipo de letra {arg0} não está disponível ou não pode ser usado para editar conteúdo neste documento. Qualquer conteúdo adicionado ou alterado utilizará um tipo de letra predefinido.","multiAnnotationsSelection":"Selecionar várias anotações","linkSettingsPopoverTitle":"Definições do link","linkTo":"Link para","uriLink":"Website","pageLink":"Página","invalidPageNumber":"Introduza um número de página válido.","invalidPageLink":"Introduza um link de página válido.","linkAnnotation":"Hiperligação","targetPageLink":"Número da página","rotation":"Rotação","unlockDocumentDescription":"Tem de desbloquear este documento para o visualizar. Digite a palavra-passe no campo abaixo.","commentDialogClosed":"Abrir tópico de comentários iniciado por {arg0}: “{arg1}”","moreComments":"Mais comentários","linesCount":"{arg0, plural,\\none {{arg0} linha}\\nother {{arg0} linhas}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} anotação}\\nother {{arg0} anotações}\\n=0 {Nenhuma anotação}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} página selecionada}\\nother {{arg0} páginas selecionadas}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} comentário}\\nother {{arg0} comentários}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} comentário}\\nother {{arg0} comentários}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {Mais {arg0} comentário}\\nother {Mais {arg0} comentários}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-pt-aa785b715aa4b427.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-pt-aa785b715aa4b427.js new file mode 100644 index 00000000..d7456f90 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-pt-aa785b715aa4b427.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[517],{7638:e=>{e.exports=JSON.parse('{"thumbnails":"Miniaturas","pageXofY":"Página {arg0} de {arg1}","XofY":"{arg0} de {arg1}","prevPage":"Página Anterior","nextPage":"Página Seguinte","goToPage":"Ir à Página","gotoPageX":"Ir à Página {arg0}","pageX":"Página {arg0}","pageLayout":"Layout de Páginas","pageMode":"Modo de Páginas","pageModeSingle":"Individual","pageModeDouble":"Duas","pageModeAutomatic":"Automático","pageTransition":"Transição de Páginas","pageTransitionContinuous":"Contínua","pageTransitionJump":"Saltar","pageRotation":"Rotação da Página","pageRotationLeft":"Girar à Esquerda","pageRotationRight":"Girar à Direita","zoomIn":"Ampliar","zoomOut":"Reduzir","marqueeZoom":"Ferramenta de Letreiro","panMode":"Modo de Movimento","fitPage":"Ajustar à Página","fitWidth":"Ajustar à Largura","annotations":"Anotações","noAnnotations":"Sem Anotações","bookmark":"Marcador","bookmarks":"Marcadores","noBookmarks":"Sem Marcadores","newBookmark":"Novo Marcador","addBookmark":"Adicionar Marcador","removeBookmark":"Remover Marcador","loadingBookmarks":"Carregando Marcadores","deleteBookmarkConfirmMessage":"Tem certeza de que deseja apagar este marcador?","deleteBookmarkConfirmAccessibilityLabel":"Confirme o apagamento do marcador","annotation":"Anotação","noteAnnotation":"Nota","textAnnotation":"Texto","inkAnnotation":"Desenho","highlightAnnotation":"Destaque de Texto","underlineAnnotation":"Sublinhado","squiggleAnnotation":"Ondulado","strikeOutAnnotation":"Tachado","print":"Imprimir","printPrepare":"Preparando documento para impressão…","searchDocument":"Buscar no Documento","searchPreviousMatch":"Anterior","searchNextMatch":"Seguinte","searchResultOf":"{arg0} de {arg1}","accessibilityLabelDropdownGroupToggle":"ferramentas de {arg0}, ative ou desative o menu","save":"Salvar","edit":"Editar","delete":"Apagar","close":"Fechar","cancel":"Cancelar","ok":"OK","done":"OK","clear":"Limpar","date":"Data","time":"Hora","name":"Nome","color":"Cor","black":"Preto","white":"Branco","blue":"Azul","red":"Vermelho","green":"Verde","orange":"Laranja","lightOrange":"Laranja-claro","yellow":"Amarelo","lightYellow":"Amarelo-claro","lightBlue":"Azul-claro","lightRed":"Vermelho-claro","lightGreen":"Verde-claro","fuchsia":"Fúchsia","purple":"Roxo","pink":"Rosa","mauve":"Malva","lightGrey":"Cinza-claro","grey":"Cinza","darkGrey":"Cinza-escuro","noColor":"Nenhum","transparent":"Transparente","darkBlue":"Azul-escuro","opacity":"Opacidade","thickness":"Espessura","size":"Tamanho","numberInPt":"{arg0} pt","font":"Fonte","fonts":"Fontes","allFonts":"Todas as Fontes","alignment":"Alinhamento","alignmentLeft":"Esquerda","alignmentRight":"Direita","alignmentCenter":"Centro","verticalAlignment":"Alinhamento Vertical","horizontalAlignment":"Alinhamento Horizontal","top":"Superior","bottom":"Inferior","deleteAnnotationConfirmMessage":"Tem certeza de que deseja apagar esta anotação?","deleteAnnotationConfirmAccessibilityLabel":"Confirme o apagamento da anotação","fontFamilyUnsupported":"{arg0} (incompatível)","sign":"Assinar","signed":"Assinado","signatures":"Assinaturas","addSignature":"Adicionar Assinatura","clearSignature":"Limpar Assinatura","storeSignature":"Armazenar Assinatura","pleaseSignHere":"Assine aqui","signing":"Assinando…","password":"Senha","unlock":"Desbloquear","passwordRequired":"Senha Necessária","unlockThisDocument":"Você precisa desbloquear este documento para visualizá-lo. Digite a senha no campo abaixo.","incorrectPassword":"A senha digitada não está correta. Tente novamente.","blendMode":"Modo de Mesclagem","normal":"Normal","multiply":"Multiplicar","screenBlend":"Tela","overlay":"Sobrepor","darken":"Escurecer","lighten":"Clarear","colorDodge":"Subexposição de Cores","colorBurn":"Superexposição de Cores","hardLight":"Luz Direta","softLight":"Luz Indireta","difference":"Diferença","exclusion":"Exclusão","multiple":"Múltiplo","linecaps-dasharray":"Estilo da Linha","dasharray":"Estilo da Linha","startLineCap":"Início da Linha","strokeDashArray":"Estilo da Linha","endLineCap":"Final da Linha","lineAnnotation":"Linha","rectangleAnnotation":"Retângulo","ellipseAnnotation":"Elipse","polygonAnnotation":"Polígono","polylineAnnotation":"Linha Poligonal","solid":"Sólido","narrowDots":"Pontos Estreitos","wideDots":"Pontos Largos","narrowDashes":"Traços Estreitos","wideDashes":"Traços Largos","none":"Nenhum","square":"Quadrado","circle":"Círculo","diamond":"Diamante","openArrow":"Seta Aberta","closedArrow":"Seta Fechada","butt":"Ponta","reverseOpenArrow":"Seta Aberta Invertida","reverseClosedArrow":"Seta Fechada Invertida","slash":"Barra","fillColor":"Cor de Preenchimento","cloudy":"Nuvem","arrow":"Seta","filePath":"Caminho do Arquivo","unsupportedImageFormat":"Tipo incompatível para anotação de imagem: {arg0}. Use JPEG ou PNG.","noOutline":"Sem Resumo","outline":"Resumo","imageAnnotation":"Imagem","selectImage":"Selecionar Imagem","stampAnnotation":"Carimbo","highlighter":"Destaque Livre","textHighlighter":"Marca-texto","pen":"Desenho","eraser":"Borracha","export":"Exportar","useAnExistingStampDesign":"Usar um design de carimbo existente","createStamp":"Criar Carimbo","stampText":"Texto do Carimbo","chooseColor":"Escolher Cor","rejected":"Rejeitado","accepted":"Aceito","approved":"Aprovado","notApproved":"Não Aprovado","draft":"Rascunho","final":"Final","completed":"Completo","confidential":"Confidencial","forPublicRelease":"Comunicado Público","notForPublicRelease":"Não Divulgar","forComment":"Para Comentar","void":"Anular","preliminaryResults":"Resultados Preliminares","informationOnly":"Informativo","initialHere":"Iniciais Aqui","signHere":"Assine Aqui","witness":"Testemunha","asIs":"Como Está","departmental":"Departmental","experimental":"Experimental","expired":"Expirado","sold":"Vendido","topSecret":"Supersecreto","revised":"Revisado","custom":"Personalizar","customStamp":"Carimbo Personalizado","icon":"Ícone","iconRightPointer":"Indicador Direito","iconRightArrow":"Seta Direita","iconCheck":"Marca de Seleção","iconCircle":"Elipse","iconCross":"Xis","iconInsert":"Inserir Texto","iconNewParagraph":"Novo Parágrafo","iconNote":"Nota de Texto","iconComment":"Comentário","iconParagraph":"Parágrafo","iconHelp":"Ajuda","iconStar":"Estrela","iconKey":"Chave","documentEditor":"Editor de Documentos","newPage":"Nova Página","removePage":"Apagar Páginas","duplicatePage":"Duplicar","rotatePageLeft":"Girar à Esquerda","rotatePageRight":"Girar à Direita","moveBefore":"Mover Antes","moveAfter":"Mover Depois","selectNone":"Desmarcar Tudo","selectAll":"Selecionar Tudo","saveAs":"Salvar como…","mergeDocument":"Importar Documento","undo":"Desfazer","redo":"Refazer","openMoveDialog":"Mover","move":"Mover","instantModifiedWarning":"O documento foi modificado e está no modo somente leitura agora. Recarregue a página para corrigir isso.","documentMergedHere":"O documento será combinado aqui","digitalSignaturesAllValid":"O documento foi assinado digitalmente e todas as assinaturas são válidas.","digitalSignaturesDocModified":"O documento foi assinado digitalmente, mas foi modificado desde que foi assinado.","digitalSignaturesSignatureWarning":"O documento foi assinado digitalmente, mas ao menos uma das assinaturas tem problemas.","digitalSignaturesSignatureWarningDocModified":"O documento foi assinado digitalmente, mas foi modificado desde que foi assinado e ao menos uma das assinaturas tem problemas.","digitalSignaturesSignatureError":"O documento foi assinado digitalmente, mas ao menos uma das assinaturas é inválida.","digitalSignaturesSignatureErrorDocModified":"O documento foi assinado digitalmente, mas foi modificado desde que foi assinado e ao menos uma das assinaturas é inválida.","signingInProgress":"Assinatura em andamento","signingModalDesc":"Indica que o documento atual está sendo assinado","discardChanges":"Descartar Alterações","commentEditorLabel":"Adicione um comentário…","reply":"Responder","comment":"Comentário","comments":"Comentários","showMore":"Mostrar mais","showLess":"Mostrar menos","deleteComment":"Apagar Comentário","deleteCommentConfirmMessage":"Tem certeza de que deseja apagar este comentário?","deleteCommentConfirmAccessibilityLabel":"Confirme o apagamento do comentário","editContent":"Editar Conteúdo","commentOptions":"Opções de Comentário","areaRedaction":"Redação de Área","textRedaction":"Redação de Texto","redactionAnnotation":"Redação","applyingRedactions":"Aplicando redações","overlayTextPlaceholder":"Inserir texto sobreposto","outlineColor":"Cor de Controno","overlayText":"Texto Sobreposto","repeatText":"Repetir Texto","preview":"Pré-visualizar","applyRedactions":"Aplicar Redações","markupAnnotationToolbar":"Barra de anotações da marcação","documentViewport":"Visor do documento","redactionInProgress":"Redação em andamento","redactionModalDesc":"Indica que o documento atual está sendo redigido","commentAction":"Comentar","printProgressModalDesc":"Indica que um documento está sendo preparado para impressão","printProgressModal":"Impressão em andamento","documentEditorDesc":"Faça alterações ao documento atual","reloadDocumentDialog":"Confirme o Recarregamento do Documento","reloadDocumentDialogDesc":"Diálogo que pede ao usuário para confirmar o recarregamento do documento.","signatureDialog":"Assinatura","signatureDialogDesc":"Este diálogo permite que você selecione uma assinatura para inserir no documento. Se não houver assinaturas armazenadas, você pode usar uma área na tela para criar uma.","stampAnnotationTemplatesDialog":"Modelos de Anotação de Carimbo","stampAnnotationTemplatesDialogDesc":"Este diálogo permite que você selecione uma anotação de carimbo para inserir no documento ou crie uma anotação de carimbo personalizada com o seu próprio texto.","selectedAnnotation":"{arg0} selecionada","commentThread":"Conversa do comentário","selectedAnnotationWithText":"{arg0} selecionada com {arg1} como conteúdo","signature":"Assinatura","ElectronicSignatures_SignHereTypeHint":"Digite a Assinatura Acima","ElectronicSignatures_SignHereDrawHint":"Assine Aqui","selectDragImage":"Selecionar ou Arrastar Imagem","replaceImage":"Substituir Imagem","draw":"Desenhar","image":"Imagem","type":"Digitar","saveSignature":"Salvar Assinatura","loading":"Carregando","selectedItem":"{arg0}, selecionado.","annotationDeleted":"Anotação apagada.","newAnnotationCreated":"Nova anotação de {arg0} criada.","bookmarkCreated":"Marcador criado.","bookmarkEdited":"Marcador editado.","bookmarkDeleted":"Marcador apagado.","cancelledEditingBookmark":"Edição de marcador cancelada.","selectAFileForImage":"Selecione um arquivo para a nova anotação de imagem.","deleteAnnotationConfirmAccessibilityDescription":"Diálogo que permite confirmar ou cancelar o apagamento da anotação.","deleteBookmarkConfirmAccessibilityDescription":"Diálogo que permite confirmar ou cancelar o apagamento do marcador.","deleteCommentConfirmAccessibilityDescription":"Diálogo que permite confirmar ou cancelar o apagamento do comentário.","resize":"Redimensionar","resizeHandleTop":"Superior","resizeHandleBottom":"Inferior","resizeHandleRight":"Direita","resizeHandleLeft":"Esquerda","cropCurrentPage":"Recortar Página Atual","cropCurrent":"Recortar Atual","cropAllPages":"Recortar Todas as Páginas","cropAll":"Recortar Tudo","documentCrop":"Recorte de Documentos","Comparison_alignButtonTouch":"Alinhar","Comparison_selectPoint":"Selecionar Ponto","Comparison_documentOldTouch":"Antigo","Comparison_documentNewTouch":"Novo","Comparison_result":"Comparação","UserHint_description":"Selecione três pontos em ambos os documentos para alinhamento manual. Para ter resultados melhores, escolha pontos perto dos cantos do documento, garantindo que eles estejam na mesma ordem nos dois documentos.","UserHint_dismissMessage":"Fechar","Comparison_alignButton":"Alinhar Documentos","documentComparison":"Comparação de Documentos","Comparison_documentOld":"Documento Antigo","Comparison_documentNew":"Documento Novo","Comparison_resetButton":"Redefinir","UserHint_Select":"Seleção de Pontos","numberValidationBadFormat":"O valor digitado não corresponde ao formato do campo [{arg0}]","dateValidationBadFormat":"Data/hora inválida: certifique-se de que a data/hora exista. O formato do campo [{arg0}] deve ser {arg1}.","insertAfterPage":"Inserir depois da página","docEditorMoveBeginningHint":"Digite “0” para mover uma ou mais páginas selecionadas para o início do documento.","cloudyRectangleAnnotation":"Retângulo em Nuvem","dashedRectangleAnnotation":"Retângulo Tracejado","cloudyEllipseAnnotation":"Elipse em Nuvem","dashedEllipseAnnotation":"Elipse Tracejada","cloudyPolygonAnnotation":"Polígono em Nuvem","dashedPolygonAnnotation":"Polígono Tracejado","cloudAnnotation":"Nuvem","rotateCounterclockwise":"Girar em sentido anti-horário","rotateClockwise":"Girar em sentido horário","enterDescriptionHere":"Digite aqui a descrição","addOption":"Adicionar opção","formDesignerPopoverTitle":"Propriedades do {formFieldType}","formFieldNameExists":"Já existe um campo de formulário chamado {formFieldName}. Escolha outro nome.","styleSectionLabel":"Estilo do {formFieldType}","formFieldName":"Nome do Campo de Formulário","defaultValue":"Valor Padrão","multiLine":"Multilinha","radioButtonFormFieldNameWarning":"Para agrupar os botões circulares, seus nomes de campo de formulário devem ser iguais.","advanced":"Avançado","creatorName":"Nome do Criador","note":"Nota","customData":"Dados Personalizados","required":"Obrigatório","readOnly":"Somente Leitura","createdAt":"Criado em","updatedAt":"Atualizado em","customDataErrorMessage":"Deve ser um objeto serializável JSON simples","borderColor":"Cor da Borda","borderWidth":"Espessura da Borda","borderStyle":"Estilo da Borda","solidBorder":"Sólido","dashed":"Tracejado","beveled":"Chanfrado","inset":"Inserido","underline":"Sublinhado","textStyle":"Estilo do Texto","fontSize":"Tamanho da Fonte","fontColor":"Cor da Fonte","button":"Campo de Botão","textField":"Campo de Texto","radioField":"Campo Circular","checkboxField":"Campo de Caixa de Seleção","comboBoxField":"Campo de Caixas Combinadas","listBoxField":"Campo de Caixa de Lista","signatureField":"Campo de Assinatura","formDesigner":"Criador de Formulário","buttonText":"Texto do Botão","notAvailable":"N/A","label":"Etiqueta","value":"Valor","cannotEditOnceCreated":"Não pode ser editado depois de criado.","formFieldNameNotEmpty":"O nome do campo de formulário não pode estar em branco.","mediaAnnotation":"Anotação de Mídia","mediaFormatNotSupported":"Este navegador não é compatível com vídeo ou áudio integrado.","distanceMeasurement":"Distância","perimeterMeasurement":"Perímetro","polygonAreaMeasurement":"Área do Polígono","rectangularAreaMeasurement":"Área do Retângulo","ellipseAreaMeasurement":"Área da Elipse","distanceMeasurementSettings":"Ajustes de Medição de Distância","perimeterMeasurementSettings":"Ajustes de Medição de Perímetro","polygonAreaMeasurementSettings":"Ajustes de Medição de Área do Polígono","rectangularAreaMeasurementSettings":"Ajustes de Medição de Área do Retângulo","ellipseAreaMeasurementSettings":"Ajustes de Medição de Área da Elipse","measurementScale":"Escala","measurementCalibrateLength":"Calibrar Comprimento","measurementPrecision":"Precisão","measurementSnapping":"Alinhamento","formCreator":"Criador de Formulário","group":"Agrupar","ungroup":"Desagrupar","bold":"Negrito","italic":"Itálico","addLink":"Adicionar Link","removeLink":"Remover Link","editLink":"Editar Link","anonymous":"Anônimo","saveAndClose":"Salvar e Fechar","ceToggleFontMismatchTooltip":"Ativar dica de fonte não correspondida","ceFontMismatch":"A fonte {arg0} não está disponível ou não pode ser usada para editar conteúdo neste documento. Qualquer conteúdo adicionado ou alterado usará uma fonte padrão.","multiAnnotationsSelection":"Selecione Diversas Anotações","linkSettingsPopoverTitle":"Ajustes do Link","linkTo":"Link para","uriLink":"Site","pageLink":"Página","invalidPageNumber":"Digite um número de página válido.","invalidPageLink":"Digite um link de página válido.","linkAnnotation":"Link","targetPageLink":"Número da Página","rotation":"Rotação","unlockDocumentDescription":"É preciso desbloquear este documento para visualizá‑lo. Digite a senha no campo abaixo.","commentDialogClosed":"Abrir conversa de comentários iniciada por {arg0}: “{arg1}”","moreComments":"Mais comentários","linesCount":"{arg0, plural,\\none {{arg0} Linha}\\nother {{arg0} Linhas}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} anotação}\\nother {{arg0} anotações}\\n=0 {Nenhuma anotação}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} Página Selecionada}\\nother {{arg0} Páginas Selecionadas}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} comentário}\\nother {{arg0} comentários}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} Comentário}\\nother {{arg0} Comentários}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {Mais {arg0} comentário}\\nother {Mais {arg0} comentários}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-ru-3ed84f39edb82787.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-ru-3ed84f39edb82787.js new file mode 100644 index 00000000..db188600 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-ru-3ed84f39edb82787.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[8057],{21652:e=>{e.exports=JSON.parse('{"thumbnails":"Эскизы","pageXofY":"Страница {arg0} из {arg1}","XofY":"{arg0} из {arg1}","prevPage":"Предыдущая страница","nextPage":"Следующая страница","goToPage":"Перейти к странице","gotoPageX":"Перейти к странице {arg0}","pageX":"Страница {arg0}","pageLayout":"Макет страницы","pageMode":"Просмотр страниц","pageModeSingle":"Одна страница","pageModeDouble":"Две страницы","pageModeAutomatic":"Авто","pageTransition":"Переход","pageTransitionContinuous":"Непрерывно","pageTransitionJump":"По одной странице","pageRotation":"Поворот страницы","pageRotationLeft":"Повернуть влево","pageRotationRight":"Повернуть вправо","zoomIn":"Увеличить масштаб","zoomOut":"Уменьшить масштаб","marqueeZoom":"Инструмент «Увеличить выделенное»","panMode":"Панорамирование","fitPage":"По размеру страницы","fitWidth":"По ширине","annotations":"Аннотации","noAnnotations":"Нет аннотаций","bookmark":"Закладка","bookmarks":"Закладки","noBookmarks":"Нет закладок","newBookmark":"Новая закладка","addBookmark":"Добавить закладку","removeBookmark":"Удалить закладку","loadingBookmarks":"Загрузка закладок","deleteBookmarkConfirmMessage":"Действительно удалить эту закладку?","deleteBookmarkConfirmAccessibilityLabel":"Подтвердить удаление закладки","annotation":"Аннотация","noteAnnotation":"Заметка","textAnnotation":"Текст","inkAnnotation":"Рисование","highlightAnnotation":"Выделение текста","underlineAnnotation":"Подчеркивание","squiggleAnnotation":"Волнистое подчеркивание","strikeOutAnnotation":"Зачеркивание","print":"Печать","printPrepare":"Подготовка документа к печати…","searchDocument":"Поиск в документе","searchPreviousMatch":"Назад","searchNextMatch":"Далее","searchResultOf":"{arg0} из {arg1}","accessibilityLabelDropdownGroupToggle":"Меню инструментов {arg0}, открыть или закрыть","save":"Сохранить","edit":"Править","delete":"Удалить","close":"Закрыть","cancel":"Отменить","ok":"ОК","done":"Готово","clear":"Очистить","date":"Дата","time":"Время","name":"Имя","color":"Цвет","black":"Черный","white":"Белый","blue":"Синий","red":"Красный","green":"Зеленый","orange":"Оранжевый","lightOrange":"Бледно-оранжевый","yellow":"Желтый","lightYellow":"Бледно-желтый","lightBlue":"Голубой","lightRed":"Бледно-красный","lightGreen":"Бледно-зеленый","fuchsia":"Фуксия","purple":"Лиловый","pink":"Розовый","mauve":"Бледно-лиловый","lightGrey":"Светло-серый","grey":"Серый","darkGrey":"Темно-серый","noColor":"Нет","transparent":"Прозрачный","darkBlue":"Темно-синий","opacity":"Непрозрачность","thickness":"Толщина","size":"Размер","numberInPt":"{arg0} пт","font":"Шрифт","fonts":"Шрифты","allFonts":"Все шрифты","alignment":"Выравнивание","alignmentLeft":"Слева","alignmentRight":"Справа","alignmentCenter":"По центру","verticalAlignment":"Вертикальное выравнивание","horizontalAlignment":"Горизональное выравнивание","top":"По верхнему краю","bottom":"По нижнему краю","deleteAnnotationConfirmMessage":"Действительно удалить эту аннотацию?","deleteAnnotationConfirmAccessibilityLabel":"Подтвердить удаление аннотации","fontFamilyUnsupported":"{arg0} (не поддерживается)","sign":"Подписать","signed":"Подписано","signatures":"Подписи","addSignature":"Добавить подпись","clearSignature":"Очистить подпись","storeSignature":"Запомнить подпись","pleaseSignHere":"Подпишите здесь","signing":"Подпись…","password":"Пароль","unlock":"Разблокировать","passwordRequired":"Требуется пароль","unlockThisDocument":"Для просмотра документа его необходимо разблокировать. Введите пароль в поле ниже.","incorrectPassword":"Неверный пароль. Повторите попытку.","blendMode":"Режим наложения","normal":"Обычный","multiply":"Умножение","screenBlend":"Осветление","overlay":"Перекрытие","darken":"Замена темным","lighten":"Замена светлым","colorDodge":"Осветление основы","colorBurn":"Затемнение основы","hardLight":"Жесткий свет","softLight":"Мягкий свет","difference":"Разница","exclusion":"Исключение","multiple":"Несколько","linecaps-dasharray":"Стиль линий","dasharray":"Стиль линий","startLineCap":"Начало линии","strokeDashArray":"Стиль линий","endLineCap":"Конец линии","lineAnnotation":"Линия","rectangleAnnotation":"Прямоугольник","ellipseAnnotation":"Эллипс","polygonAnnotation":"Многоугольник","polylineAnnotation":"Ломаная линия","solid":"Сплошные","narrowDots":"Узкие точки","wideDots":"Широкие точки","narrowDashes":"Узкие штрихи","wideDashes":"Широкие штрихи","none":"Нет","square":"Квадрат","circle":"Круг","diamond":"Ромб","openArrow":"Открытая стрелка","closedArrow":"Закрытая стрелка","butt":"Конец","reverseOpenArrow":"Развернутая открытая стрелка","reverseClosedArrow":"Развернутая закрытая стрелка","slash":"Косая черта","fillColor":"Цвет заливки","cloudy":"Облака","arrow":"Стрелка","filePath":"Путь к файлу","unsupportedImageFormat":"Неподдерживаемый тип визуальной заметки: {arg0}. Используйте JPEG или PNG.","noOutline":"Без содержания","outline":"Содержание","imageAnnotation":"Изображение","selectImage":"Выбрать изобр.","stampAnnotation":"Печать","highlighter":"Произвольное выделение","textHighlighter":"Текстовый маркер","pen":"Рисование","eraser":"Ластик","export":"Экспортировать","useAnExistingStampDesign":"Использовать существующую печать","createStamp":"Создать печать","stampText":"Текст печати","chooseColor":"Выберите цвет","rejected":"Отклонено","accepted":"Принято","approved":"Одобрено","notApproved":"Не одобрено","draft":"Черновик","final":"Окончательный","completed":"Завершено","confidential":"Конфиденциально","forPublicRelease":"Публичный выпуск","notForPublicRelease":"Не для публичного выпуска","forComment":"Для комментариев","void":"Аннулировать","preliminaryResults":"Предварительно","informationOnly":"Только информация","initialHere":"ФИО","signHere":"Место подписи","witness":"Удостоверить","asIs":"Как есть","departmental":"Внутри отдела","experimental":"Экспериментальная версия","expired":"Срок действия истек","sold":"Продано","topSecret":"Совершенно секретно","revised":"Изменено","custom":"Свой","customStamp":"Своя печать","icon":"Значок","iconRightPointer":"Указатель вправо","iconRightArrow":"Стрелка вправо","iconCheck":"Флажок","iconCircle":"Эллипс","iconCross":"Крестик","iconInsert":"Вставить текст","iconNewParagraph":"Новый абзац","iconNote":"Записка","iconComment":"Комментарий","iconParagraph":"Абзац","iconHelp":"Справка","iconStar":"Звездочка","iconKey":"Ключ","documentEditor":"Редактор документов","newPage":"Новая страница","removePage":"Удалить страницы","duplicatePage":"Дублировать","rotatePageLeft":"Повернуть влево","rotatePageRight":"Повернуть вправо","moveBefore":"Переместить вперед","moveAfter":"Переместить назад","selectNone":"Снять выбор всех","selectAll":"Выбрать все","saveAs":"Сохранить как…","mergeDocument":"Импорт документа","undo":"Отменить","redo":"Повторить","openMoveDialog":"Переместить","move":"Переместить","instantModifiedWarning":"Документ был изменен и находится в режиме «только чтение». Перезагрузите страницу, чтобы выйти из этого режима.","documentMergedHere":"Документы будут объединены здесь","digitalSignaturesAllValid":"Документ был подписан цифровым образом, и все подписи действительны.","digitalSignaturesDocModified":"Документ был подписан цифровым образом, но содержимое документа было изменено после подписания.","digitalSignaturesSignatureWarning":"Документ был подписан цифровым образом, но как минимум одна подпись является проблематичной.","digitalSignaturesSignatureWarningDocModified":"Документ был подписан цифровым образом, но содержимое документа было изменено после подписания, и как минимум одна подпись является проблематичной.","digitalSignaturesSignatureError":"Документ был подписан цифровым образом, но как минимум одна подпись недействительна.","digitalSignaturesSignatureErrorDocModified":"Документ был подписан цифровым образом, но содержимое документа было изменено после подписания, и как минимум одна подпись недействительна.","signingInProgress":"Идет подписание","signingModalDesc":"Сигнализирует, что идет подписание текущего документа","discardChanges":"Отменить изменения","commentEditorLabel":"Добавьте комментарий…","reply":"Ответить","comment":"Комментарий","comments":"Комментарии","showMore":"Показать больше","showLess":"Показать меньше","deleteComment":"Удалить комментарий","deleteCommentConfirmMessage":"Действительно удалить этот комментарий?","deleteCommentConfirmAccessibilityLabel":"Подтвердить удаление комментария","editContent":"Править содержимое","commentOptions":"Опции комментария","areaRedaction":"Исправить область","textRedaction":"Исправить текст","redactionAnnotation":"Исправление","applyingRedactions":"Применение исправлений","overlayTextPlaceholder":"Ваш текст для перекрытия","outlineColor":"Цвет обводки","overlayText":"Перекрывающий текст","repeatText":"Повторять текст","preview":"Просмотр","applyRedactions":"Применить исправления","markupAnnotationToolbar":"Панель инструментов аннотирования","documentViewport":"Окно просмотра документа","redactionInProgress":"Идет внесение исправлений","redactionModalDesc":"Сигнализирует, что идет внесение исправлений в текущий документ","commentAction":"Комментировать","printProgressModalDesc":"Сигнализирует, что идет подготовка документа к печати","printProgressModal":"Идет печать","documentEditorDesc":"Внести изменения в текущий документ","reloadDocumentDialog":"Подтвердить повторную загрузку документа","reloadDocumentDialogDesc":"Диалоговое окно с просьбой пользователю подтвердить повторную загрузку документа.","signatureDialog":"Подпись","signatureDialogDesc":"Это диалоговое окно позволяет выбрать рукописную подпись и вставить в документ, или же создать новую подпись.","stampAnnotationTemplatesDialog":"Шаблоны штампов","stampAnnotationTemplatesDialogDesc":"Это диалоговое окно позволяет выбрать штамп и вставить в документ в качестве аннотации, или же создать новый штамп с собственным текстом.","selectedAnnotation":"Выбрано: {arg0}","commentThread":"Ветка комментариев","selectedAnnotationWithText":"Выбрано: {arg0}, содержимое: {arg1}","signature":"Подпись","ElectronicSignatures_SignHereTypeHint":"Наберите здесь вашу подпись","ElectronicSignatures_SignHereDrawHint":"Место подписи","selectDragImage":"Выберите или перетащите сюда изображение","replaceImage":"Заменить изображение","draw":"От руки","image":"Изображение","type":"С клавиатуры","saveSignature":"Сохранить подпись","loading":"Загрузка","selectedItem":"{arg0}, выбрано.","annotationDeleted":"Аннотация удалена.","newAnnotationCreated":"Создана новая аннотация вида {arg0}.","bookmarkCreated":"Закладка создана.","bookmarkEdited":"Закладка отредактирована.","bookmarkDeleted":"Закладка удалена.","cancelledEditingBookmark":"Редактирование закладки отменено.","selectAFileForImage":"Выберите файл для новой визуальной заметки.","deleteAnnotationConfirmAccessibilityDescription":"Диалоговое окно, позволяющее подтвердить удаление аннотации или отменить операцию.","deleteBookmarkConfirmAccessibilityDescription":"Диалоговое окно, позволяющее подтвердить удаление закладки или отменить операцию.","deleteCommentConfirmAccessibilityDescription":"Диалоговое окно, позволяющее подтвердить удаление комментария или отменить операцию.","resize":"Изменить размер","resizeHandleTop":"Вверху","resizeHandleBottom":"Внизу","resizeHandleRight":"Справа","resizeHandleLeft":"Слева","cropCurrentPage":"Обрезать текущую страницу","cropCurrent":"Обрезать текущую","cropAllPages":"Обрезать все страницы","cropAll":"Обрезать все","documentCrop":"Обрезка документа","Comparison_alignButtonTouch":"Выровнять","Comparison_selectPoint":"Выбор точки","Comparison_documentOldTouch":"Старый","Comparison_documentNewTouch":"Новый","Comparison_result":"Сравнение","UserHint_description":"Выберите по три точки в каждом документе, чтобы выровнять и совместить их вручную. Лучше всего выбирать точки по краям, расположенные в обоих документах в одинаковом порядке.","UserHint_dismissMessage":"Закрыть","Comparison_alignButton":"Выровнять документы","documentComparison":"Сравнение документов","Comparison_documentOld":"Старый документ","Comparison_documentNew":"Новый документ","Comparison_resetButton":"Сброс","UserHint_Select":"Выбор точек","numberValidationBadFormat":"Введенное значение не совпадает с форматом поля [{arg0}]","dateValidationBadFormat":"Неверная дата/время. Убедитесь, что дата или время существуют. Значение в поле [{arg0}] должно иметь формат {arg1}","insertAfterPage":"Вставить после страницы","docEditorMoveBeginningHint":"Введите 0, чтобы переместить выбранную страницу(-ы) в начало документа.","cloudyRectangleAnnotation":"Волнистый прямоугольник","dashedRectangleAnnotation":"Пунктирный прямоугольник","cloudyEllipseAnnotation":"Волнистный эллипс","dashedEllipseAnnotation":"Пунктирный эллипс","cloudyPolygonAnnotation":"Волнистый многоугольник","dashedPolygonAnnotation":"Пунктирный многоугольник","cloudAnnotation":"Облачко","rotateCounterclockwise":"Повернуть против часовой стрелки","rotateClockwise":"Повернуть по часовой стрелке","enterDescriptionHere":"Задайте описание","addOption":"Добавить опцию","formDesignerPopoverTitle":"Свойства поля «{formFieldType}»","formFieldNameExists":"Поле формы «{formFieldName}» уже существует. Выберите другое имя.","styleSectionLabel":"Стиль поля «{formFieldType}»","formFieldName":"Имя поля","defaultValue":"Значение по умолчанию","multiLine":"Многострочный текст","radioButtonFormFieldNameWarning":"Для группировки все кнопки переключателя должны иметь одинаковое имя поля.","advanced":"Дополнительно","creatorName":"Имя автора","note":"Примечание","customData":"Собственные данные","required":"Обязательное поле","readOnly":"Только чтение","createdAt":"Дата создания","updatedAt":"Дата обновления","customDataErrorMessage":"Только сериализуемые объекты JSON","borderColor":"Цвет рамки","borderWidth":"Толщина рамки","borderStyle":"Стиль рамки","solidBorder":"Сплошная","dashed":"Пунктирная","beveled":"Объемная","inset":"Вставка","underline":"Только снизу","textStyle":"Стиль текста","fontSize":"Размер шрифта","fontColor":"Цвет шрифта","button":"Поле кнопки","textField":"Текстовое поле","radioField":"Поле переключателя","checkboxField":"Поле для флажка","comboBoxField":"Поле для комбинированного списка","listBoxField":"Поле для списка","signatureField":"Поле для подписи","formDesigner":"Инструмент создания формуляров","buttonText":"Текст на кнопке","notAvailable":"N/A","label":"Метка","value":"Значение","cannotEditOnceCreated":"Правка после создания невозможна.","formFieldNameNotEmpty":"Имя поля формы не может быть пустым.","mediaAnnotation":"Мультимедийная аннотация","mediaFormatNotSupported":"Этот браузер не поддерживает внедренные видео- и аудиофайлы.","distanceMeasurement":"Расстояние","perimeterMeasurement":"Периметр","polygonAreaMeasurement":"Площадь многоугольника","rectangularAreaMeasurement":"Площадь прямоугольника","ellipseAreaMeasurement":"Площадь эллипса","distanceMeasurementSettings":"Параметры измерения расстояния","perimeterMeasurementSettings":"Параметры измерения периметра","polygonAreaMeasurementSettings":"Параметры измерения площади многоугольника","rectangularAreaMeasurementSettings":"Параметры измерения площади прямоугольника","ellipseAreaMeasurementSettings":"Параметры измерения площади эллипса","measurementScale":"Масштаб","measurementCalibrateLength":"Калибровка длины","measurementPrecision":"Точность","measurementSnapping":"Привязка","formCreator":"Инструмент создания формуляров","group":"Группировать","ungroup":"Разгруппировать","bold":"Жирный","italic":"Курсив","addLink":"Добавить ссылку","removeLink":"Удалить ссылку","editLink":"Редактировать ссылку","anonymous":"Аноним","saveAndClose":"Сохранить и закрыть","ceToggleFontMismatchTooltip":"Показать всплывающую подсказку об отсутствии шрифтов","ceFontMismatch":"Шрифт «{arg0}» недоступен или не может использоваться для редактирования этого документа. Добавленный или измененный текст будет показан стандартным шрифтом.","multiAnnotationsSelection":"Выбрать несколько аннотаций","linkSettingsPopoverTitle":"Настройки ссылки","linkTo":"Ссылка на","uriLink":"Сайт","pageLink":"Страницу","invalidPageNumber":"Введите допустимый номер страницы.","invalidPageLink":"Задайте допустимую ссылку на страницу.","linkAnnotation":"Ссылка","targetPageLink":"Номер страницы","rotation":"Поворот","unlockDocumentDescription":"Для просмотра документа его необходимо разблокировать. Введите пароль в поле ниже.","commentDialogClosed":"Открыть ветку комментариев, начатую {arg0}: «{arg1}»","moreComments":"Еще комментарии","linesCount":"{arg0, plural,\\none {{arg0} линия}\\nfew {{arg0} линии}\\nmany {{arg0} линий}\\nother {{arg0} линии}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} аннотация}\\nfew {{arg0} аннотации}\\nmany {{arg0} аннотаций}\\nother {{arg0} аннотации}\\n=0 {Нет аннотаций}\\n}","pagesSelected":"{arg0, plural,\\none {Выбрана {arg0} страница}\\nfew {Выбрано {arg0} страницы}\\nmany {Выбрано {arg0} страниц}\\nother {Выбрано {arg0} страницы}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} комментарий}\\nfew {{arg0} комментария}\\nmany {{arg0} комментариев}\\nother {{arg0} комментария}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} комментарий}\\nfew {{arg0} комментария}\\nmany {{arg0} комментариев}\\nother {{arg0} комментария}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {Еще {arg0} комментарий}\\nfew {Еще {arg0} комментария}\\nmany {Еще {arg0} комментариев}\\nother {Еще {arg0} комментария}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-sk-0a0962b004cbfc49.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-sk-0a0962b004cbfc49.js new file mode 100644 index 00000000..7c860f36 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-sk-0a0962b004cbfc49.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[9971],{57298:e=>{e.exports=JSON.parse('{"thumbnails":"Ikony","pageXofY":"Strana {arg0} z {arg1}","XofY":"{arg0} z {arg1}","prevPage":"Predchádzajúca strana","nextPage":"Dalšia strana","goToPage":"Ísť na stranu","gotoPageX":"Ísť na stranu {arg0}","pageX":"Strana {arg0}","pageLayout":"Rozvrhnutie strany","pageMode":"Režim stánok","pageModeSingle":"Jedna strana","pageModeDouble":"Dve strany","pageModeAutomatic":"Automatický","pageTransition":"Prechod strán","pageTransitionContinuous":"Súvisle","pageTransitionJump":"Preskočiť","pageRotation":"Rotácia strany","pageRotationLeft":"Otočiť doľava","pageRotationRight":"Otočiť doprava","zoomIn":"Zvätšiť","zoomOut":"Zmenšiť","marqueeZoom":"Obdĺžnikový nástroj pre zväčšenie","panMode":"Spôsob pohybu","fitPage":"Prispôsobiť strane","fitWidth":"Prispôsobiť šírke","annotations":"Anotácie","noAnnotations":"Žiadne anotácie","bookmark":"Záložka","bookmarks":"Záložky","noBookmarks":"Žiadne záložky","newBookmark":"Nová záložka","addBookmark":"Pridať záložku","removeBookmark":"Odstrániť záložku","loadingBookmarks":"Načítavajú sa záložky","deleteBookmarkConfirmMessage":"Naozaj chcete túto záložku zmazať?","deleteBookmarkConfirmAccessibilityLabel":"Potvrďte odstránenie záložky","annotation":"Anotácia","noteAnnotation":"Poznámka","textAnnotation":"Správa","inkAnnotation":"Kreslenie","highlightAnnotation":"Zvýraznenie textu","underlineAnnotation":"Podtrhnutie","squiggleAnnotation":"Klikyhák","strikeOutAnnotation":"Preškrtnúť","print":"Tlačiť","printPrepare":"Príprava dokumentu na tlač…","searchDocument":"Hľadať v dokumente","searchPreviousMatch":"Predchádzajúci","searchNextMatch":"Ďalší","searchResultOf":"{arg0} z {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} nástroje, otvoriť menu","save":"Uložiť","edit":"Upraviť","delete":"Zmazať","close":"Zavrieť","cancel":"Zrušiť","ok":"OK","done":"Hotovo","clear":"Zmazať","date":"Dátum","time":"Čas","name":"Názov","color":"Farba","black":"Čierna","white":"Biela","blue":"Modrá","red":"Červená","green":"Zelená","orange":"Oranžová","lightOrange":"Svetlo oranžová","yellow":"Žltá","lightYellow":"Svetlo žltá","lightBlue":"Svetlo modrá","lightRed":"Svetlo červená","lightGreen":"Svetlo zelená","fuchsia":"Fuchsia","purple":"Fialová","pink":"Ružová","mauve":"Svetlo fialová","lightGrey":"Svetlo sivá","grey":"Šedá","darkGrey":"Tmavo sivá","noColor":"Žiadny","transparent":"Priehľadná","darkBlue":"Tmavomodrá","opacity":"Nepriehľadnosť","thickness":"Hrúbka","size":"Veľkosť","numberInPt":"{arg0} pt","font":"Písmo","fonts":"Písma","allFonts":"Všetky písma","alignment":"Zarovnanie","alignmentLeft":"Vľavo","alignmentRight":"Vpravo","alignmentCenter":"Uprostred","verticalAlignment":"Vertikálne zarovnanie","horizontalAlignment":"Horizontálne zarovnanie","top":"Navrch","bottom":"Na spodok","deleteAnnotationConfirmMessage":"Naozaj chcete odstrániť túto anotáciu?","deleteAnnotationConfirmAccessibilityLabel":"Potvrďte vymazanie anotácie","fontFamilyUnsupported":"{arg0} (nie je podporované)","sign":"Podpísať","signed":"Podpísané","signatures":"Podpisy","addSignature":"Pridať podpis","clearSignature":"Zmazať podpis","storeSignature":"Uložiť podpis","pleaseSignHere":"Podpíšte tu","signing":"Podpisujem…","password":"Heslo","unlock":"Odomknúť","passwordRequired":"Vyžadované heslo","unlockThisDocument":"Tento dokument musíte odomknúť, aby ste ho mohli zobraziť. Zadajte heslo do poľa nižšie.","incorrectPassword":"Zadané heslo nie je správne. Prosím skúste to znova.","blendMode":"Mód miešania","normal":"Normálne","multiply":"Vynásobiť","screenBlend":"Clona","overlay":"Prekryť","darken":"Ztmaviť","lighten":"Zosvetliť","colorDodge":"Zosvetliť farby","colorBurn":"Stmaviť farby","hardLight":"Ostré svetlo","softLight":"Jemné svetlo","difference":"Rozdiel","exclusion":"Vylúčiť","multiple":"Násobok","linecaps-dasharray":"Štýl čiary","dasharray":"Štýl čiary","startLineCap":"Začiatok čiary","strokeDashArray":"Štýl čiary","endLineCap":"Koniec čiary","lineAnnotation":"Čiara","rectangleAnnotation":"Obdĺžnik","ellipseAnnotation":"Elipsa","polygonAnnotation":"Mnohouholník","polylineAnnotation":"Lomená čiara","solid":"Pevný","narrowDots":"Úzke bodky","wideDots":"Široké bodky","narrowDashes":"Úzke pomlčky","wideDashes":"Široké pomlčky","none":"Žiadny","square":"Štvorec","circle":"Kruh","diamond":"Kosoštvorec","openArrow":"Otvorená šípka","closedArrow":"Zatvorená šípka","butt":"Zakončenie","reverseOpenArrow":"Obrátená otvorená šípka","reverseClosedArrow":"Obrátená zatvorená šípka","slash":"Lomka","fillColor":"Farba výplne","cloudy":"Obláčik","arrow":"Šípka","filePath":"Cesta k súboru","unsupportedImageFormat":"Nepodporovaný formát pre obrázkovú anotáciu: {arg0}. Použite súbory vo formáte JPEG alebo PNG.","noOutline":"Žiadny obsah","outline":"Obsah","imageAnnotation":"Obrázok","selectImage":"Vybrať obrázok","stampAnnotation":"Razítko","highlighter":"Zvýrazňovač","textHighlighter":"Zvýrazňovač textu","pen":"Kreslenie","eraser":"Guma","export":"Exportovať","useAnExistingStampDesign":"Použiť existujúci návrh razítka","createStamp":"Vytvoriť razítko","stampText":"Text razítka","chooseColor":"Zvoľte farbu","rejected":"Odmietnuté","accepted":"Prijaté","approved":"Schválené","notApproved":"Neschválené","draft":"Koncept","final":"Konečný","completed":"Dokončené","confidential":"Tajné","forPublicRelease":"Pre verejné vydanie","notForPublicRelease":"Nie pre verejné vydanie","forComment":"Pre komentáre","void":"Neplatný","preliminaryResults":"Predbežné výsledky","informationOnly":"Iba pre informácie","initialHere":"Iniciály tu","signHere":"Podpíšte tu","witness":"Svedok","asIs":"Zachovať","departmental":"Rezortné","experimental":"Experimentálne","expired":"Platnosť vypršala","sold":"Predané","topSecret":"Prísne tajné","revised":"Revidované","custom":"Vlastné","customStamp":"Vlastné razítko","icon":"Ikona","iconRightPointer":"Pravý ukazovateľ","iconRightArrow":"Pravá šípka","iconCheck":"Fajka","iconCircle":"Elipsa","iconCross":"Kríž","iconInsert":"Vložiť text","iconNewParagraph":"Nový odsek","iconNote":"Textová poznámka","iconComment":"Komentár","iconParagraph":"Odsek","iconHelp":"Pomoc","iconStar":"Hviezda","iconKey":"Kľúč","documentEditor":"Editor dokumentov","newPage":"Nová strana","removePage":"Zmazať strany","duplicatePage":"Duplikovať","rotatePageLeft":"Otočiť doľava","rotatePageRight":"Otočiť doprava","moveBefore":"Presunúť dopredu","moveAfter":"Presunúť dozadu","selectNone":"Zrušiť výber","selectAll":"Vybrať všetko","saveAs":"Uložiť ako…","mergeDocument":"Importovať dokument","undo":"Zrušiť","redo":"Opakovať","openMoveDialog":"Presunúť","move":"Presunúť","instantModifiedWarning":"Dokument bol upravený a teraz je v režime len na čítanie. Ak to chcete opraviť, načítajte dokument znova.","documentMergedHere":"Dokument tu bude zlúčený","digitalSignaturesAllValid":"Dokument bol digitálne podpísaný a všetky podpisy sú platné.","digitalSignaturesDocModified":"Dokument bol digitálne podpísaný, ale od podpisu bol upravený.","digitalSignaturesSignatureWarning":"Dokument bol digitálne podpísaný, ale aspoň jeden podpis má problémy.","digitalSignaturesSignatureWarningDocModified":"Dokument bol digitálne podpísaný, ale od podpisu bol zmenený a aspoň jeden podpis má problémy.","digitalSignaturesSignatureError":"Dokument bol digitálne podpísaný, ale aspoň jeden podpis je neplatný.","digitalSignaturesSignatureErrorDocModified":"Dokument bol digitálne podpísaný, ale od podpisu bol zmenený a aspoň jeden podpis je neplatný.","signingInProgress":"Prebieha podpisovanie","signingModalDesc":"Označuje, že je aktuálny dokument podpísaný","discardChanges":"Zrušiť zmeny","commentEditorLabel":"Pridať komentár…","reply":"Odpovedať","comment":"Komentár","comments":"Komentáre","showMore":"Zobraziť viac","showLess":"Zobraziť menej","deleteComment":"Odstrániť komentár","deleteCommentConfirmMessage":"Naozaj chcete zmazať tento komentár?","deleteCommentConfirmAccessibilityLabel":"Potvrďte odstránenie komentára","editContent":"Upraviť obsah","commentOptions":"Možnosti komentára","areaRedaction":"Redakcia oblasti","textRedaction":"Redakcia textu","redactionAnnotation":"Redakcia","applyingRedactions":"Aplikujem redakcie","overlayTextPlaceholder":"Vložte prekrývajúci text","outlineColor":"Farba obrysu","overlayText":"Prekrývajúci text","repeatText":"Opakovať text","preview":"Ukážka","applyRedactions":"Aplikovať redakcie","markupAnnotationToolbar":"Panel s nástrojmi textových anotácií","documentViewport":"Oblasť dokumentu","redactionInProgress":"Prebieha redakcia","redactionModalDesc":"Označuje, že aktuálny dokument je práve redigovaný","commentAction":"Komentovať","printProgressModalDesc":"Označuje, že dokument sa pripravuje na tlač","printProgressModal":"Prebieha tlač","documentEditorDesc":"Vykonajte zmeny v aktuálnom dokumente","reloadDocumentDialog":"Potvrďte opätovné načítanie dokumentu","reloadDocumentDialogDesc":"Dialóg vyzývajúci používateľa na potvrdenie opätovného načítania dokumentu.","signatureDialog":"Podpis","signatureDialogDesc":"Toto dialógové okno umožňuje zvoliť podpis, ktorý sa má vložiť do dokumentu. Ak nemáte uložené podpisy, môžete ich vytvoriť pomocou plochy pre kreslenie.","stampAnnotationTemplatesDialog":"Šablóny pečiatok","stampAnnotationTemplatesDialogDesc":"Toto dialógové okno vám umožňuje vybrať pečiatky, ktorú chcete vložiť do dokumentu, alebo vytvoriť pečiatky s vlastným textom.","selectedAnnotation":"Vybraná {arg0}","commentThread":"Vlákno komentárov","selectedAnnotationWithText":"Vybraná {arg0} s obsahom {arg1}","signature":"Podpis","ElectronicSignatures_SignHereTypeHint":"Zadajte svoj podpis","ElectronicSignatures_SignHereDrawHint":"Podpíšte tu","selectDragImage":"Vyberte alebo pretiahnite obrázok","replaceImage":"Nahradiť obrázok","draw":"Kresliť","image":"Obrázok","type":"Písať","saveSignature":"Uložiť podpis","loading":"Načítavam","selectedItem":"Vybraných: {arg0}","annotationDeleted":"Anotácia zmazaná","newAnnotationCreated":"Vytvorená nová {arg0} anotácia.","bookmarkCreated":"Vytvorená záložka.","bookmarkEdited":"Editovaná záložka.","bookmarkDeleted":"Zmazaná záložka","cancelledEditingBookmark":"Zrušená úprava záložky.","selectAFileForImage":"Vyberte súbor pre novú obrázkovú anotáciu.","deleteAnnotationConfirmAccessibilityDescription":"Dialog umožňujúci potvrdiť zmazanie anotácie.","deleteBookmarkConfirmAccessibilityDescription":"Dialog umožňujúci potvrdiť zmazanie záložky.","deleteCommentConfirmAccessibilityDescription":"Dialog umožňujúci potvrdiť zmazanie komentára.","resize":"Zmeniť veľkosť","resizeHandleTop":"Vrch","resizeHandleBottom":"Spodok","resizeHandleRight":"Vpravo","resizeHandleLeft":"Vľavo","cropCurrentPage":"Orezať aktuálnu stranu","cropCurrent":"Orezať aktuálnu stranu","cropAllPages":"Orezať všetky strany","cropAll":"Orezať všetko","documentCrop":"Orezanie dokumentov","Comparison_alignButtonTouch":"Zarovnať","Comparison_selectPoint":"Vyberte bod","Comparison_documentOldTouch":"Starý","Comparison_documentNewTouch":"Nový","Comparison_result":"Porovnanie","UserHint_description":"Vyberte tri body na oboch dokumentoch pre ručné zarovnanie. Pre dosiahnutie najlepších výsledkov vyberte body v blízkosti rohov v rovnakom poradí na oboch dokumentoch.","UserHint_dismissMessage":"Zrušiť","Comparison_alignButton":"Zarovnať dokumenty","documentComparison":"Porovnanie dokumentov","Comparison_documentOld":"Starý dokument","Comparison_documentNew":"Nový dokument","Comparison_resetButton":"Resetovať","UserHint_Select":"Výber bodov","numberValidationBadFormat":"Zadaná hodnota nezodpovedá formátu poľa [{arg0}]","dateValidationBadFormat":"Neplatný dátum/čas: uistite sa, že dátum/čas existuje. Pole [{arg0}] by malo mať formát {arg1}","insertAfterPage":"Vložiť za stranu","docEditorMoveBeginningHint":"Zadajte “0” pre presunutie vybranej strany/strán na začiatok dokumentu.","cloudyRectangleAnnotation":"Obdĺžnikový obláčik","dashedRectangleAnnotation":"Čiarkovaný obdĺžnik","cloudyEllipseAnnotation":"Eliptický obláčik","dashedEllipseAnnotation":"Čiarkovaná elipsa","cloudyPolygonAnnotation":"Polygonálny obláčik","dashedPolygonAnnotation":"Čiarkovaný polygón","cloudAnnotation":"Obláčik","rotateCounterclockwise":"Otočiť proti smeru hodinových ručičiek","rotateClockwise":"Otočiť v smere hodinových ručičiek","enterDescriptionHere":"Zadajte popis","addOption":"Pridať voľbu","formDesignerPopoverTitle":"Vlastnosti pre {formFieldType}","formFieldNameExists":"Pole s názvom {formfieldName} už existuje. Vyberte si prosím iné meno.","styleSectionLabel":"Štýl pre {formFieldType}","formFieldName":"Názov poľa","defaultValue":"Predvolená hodnota","multiLine":"Viacriadkový text","radioButtonFormFieldNameWarning":"Ak chcete zoskupiť prepínače, priraďte všetkým rovnaké meno.","advanced":"Pokročilé","creatorName":"Meno tvorcu","note":"Poznámka","customData":"Vlastné údaje","required":"Povinné","readOnly":"Iba na čítanie","createdAt":"Vytvorené","updatedAt":"Aktualizované","customDataErrorMessage":"Musí byť vo formáte vhodnom pre uloženie ako JSON.","borderColor":"Farba okraja","borderWidth":"Šírka okraja","borderStyle":"Štýl okraja","solidBorder":"Plný","dashed":"Čiarkovaný","beveled":"Skosený","inset":"Vložený","underline":"Podčiarknutý","textStyle":"Štýl textu","fontSize":"Veľkosť písma","fontColor":"Farba písma","button":"Tlačítko","textField":"Textové pole","radioField":"Prepínač","checkboxField":"Zaškrtávacie pole","comboBoxField":"Kombinované pole","listBoxField":"Zoznam","signatureField":"Pole s podpisom","formDesigner":"Editor formulárov","buttonText":"Text tlačítka","notAvailable":"Nedostupné","label":"Popis","value":"Hodnota","cannotEditOnceCreated":"Nie je možné upraviť po vytvorení.","formFieldNameNotEmpty":"Názov poľa nemôže zostať prázdny.","mediaAnnotation":"Multimediálne anotácie","mediaFormatNotSupported":"Tento prehliadač nepodporuje video a zvuk.","distanceMeasurement":"Vzdialenosť","perimeterMeasurement":"Obvod","polygonAreaMeasurement":"Obsah polygónu","rectangularAreaMeasurement":"Obsah obdĺžniku","ellipseAreaMeasurement":"Obsah elipsy","distanceMeasurementSettings":"Nastavenie merania vzdialenosti","perimeterMeasurementSettings":"Nastavenia merania obvodu","polygonAreaMeasurementSettings":"Nastavenie merania obsahu polygónu","rectangularAreaMeasurementSettings":"Nastavenie merania obsahu obdĺžnika","ellipseAreaMeasurementSettings":"Nastavenie merania obsahu elipsy","measurementScale":"Mierka","measurementCalibrateLength":"Kalibrácia dĺžky","measurementPrecision":"Presnosť","measurementSnapping":"Prichytenie","formCreator":"Editor formulárov","group":"Skupina","ungroup":"Rozdeliť skupinu","bold":"Tučné písmo","italic":"Kurzíva","addLink":"Pridať odkaz","removeLink":"Odstrániť odkaz","editLink":"Upraviť odkaz","anonymous":"Anonymný","saveAndClose":"Uložiť a zavrieť","ceToggleFontMismatchTooltip":"Prepnúť nastavenia upozornení na nesúlad písma","ceFontMismatch":"Písmo {arg0} nie je k dispozícii alebo ho nie je možné použiť k úprave obsahu dokumentu. Pridaný alebo zmenený obsah použije predvolené písmo.","multiAnnotationsSelection":"Vyberte viac anotácií","linkSettingsPopoverTitle":"Nastavenie odkazu","linkTo":"Odkaz na","uriLink":"Webová stránka","pageLink":"Strana","invalidPageNumber":"Zadajte platné číslo strany.","invalidPageLink":"Zadajte platný odkaz na stranu.","linkAnnotation":"Odkaz","targetPageLink":"Číslo strany","rotation":"Rotácia","unlockDocumentDescription":"Ak si prajete tento dokument zobraziť, musíte ho odomknúť. Zadajte prosím heslo do poľa nižšie.","commentDialogClosed":"Otvoriť vlákno vytvorené {arg0}: \\\\“{arg1}\\\\”","moreComments":"Viac komentárov","linesCount":"{arg0, plural,\\none {{arg0} čiara}\\nfew {{arg0} čiary}\\nother {{arg0} čiar}\\n}","annotationsCount":"{arg0, plural,\\n=0 {Žiadne anotácie}\\none {{arg0} anotácia}\\nfew {{arg0} anotácie}\\nother {{arg0} anotácií}\\n}","pagesSelected":"{arg0, plural,\\none {Vybraná {arg0} strana}\\nfew {Vybrané {arg0} strany}\\nother {Vybraných {arg0} strán}\\n}","commentsCount":"{arg0, plural,\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} komentár}\\nfew {{arg0} komentáre}\\nother {{arg0} komentárov}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} ďalší komentár}\\nfew {{arg0} ďalšie komentáre}\\nother {{arg0} ďalších komentárov}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-sl-323f786f7ffc3de5.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-sl-323f786f7ffc3de5.js new file mode 100644 index 00000000..73d3c0e7 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-sl-323f786f7ffc3de5.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5595],{33943:e=>{e.exports=JSON.parse('{"thumbnails":"Predogled","pageXofY":"Stran {arg0} od {arg1}","XofY":"{arg0} od {arg1}","prevPage":"Prejšnja stran","nextPage":"Naslednja stran","goToPage":"Pojdi na stran","gotoPageX":"Pojdi na stran {arg0}","pageX":"Stran {arg0}","pageLayout":"Postavitev strani","pageMode":"Prikaz strani","pageModeSingle":"Samostojno","pageModeDouble":"Dvojno","pageModeAutomatic":"Avtomatično","pageTransition":"Menjava strani","pageTransitionContinuous":"Zvezno","pageTransitionJump":"Samostojno","pageRotation":"Rotacija strani","pageRotationLeft":"Zavrti levo","pageRotationRight":"Zavrti desno","zoomIn":"Povečaj","zoomOut":"Pomanjšaj","marqueeZoom":"Povečaj izbrano področje","panMode":"Način za premikanje","fitPage":"Poravnaj s stranjo","fitWidth":"Poravnaj s širino","annotations":"Označbe","noAnnotations":"Ni označb","bookmark":"Zaznamek","bookmarks":"Zaznamki","noBookmarks":"Ni zaznamkov","newBookmark":"Nov zaznamek","addBookmark":"Dodaj zaznamek","removeBookmark":"Odstrani zaznamek","loadingBookmarks":"Nalagam zaznamke","deleteBookmarkConfirmMessage":"Ste prepričani, da želite izbrisati zaznamek?","deleteBookmarkConfirmAccessibilityLabel":"Potrditev izbrisa zaznamka","annotation":"Označba","noteAnnotation":"Zapisek","textAnnotation":"Besedilo","inkAnnotation":"Risba","highlightAnnotation":"Poudarek","underlineAnnotation":"Podčrtava","squiggleAnnotation":"Vijuga","strikeOutAnnotation":"Prečrtava","print":"Natisni","printPrepare":"Dokument se pripravlja za tisk…","searchDocument":"Išči po dokumentu","searchPreviousMatch":"Prejšnji","searchNextMatch":"Naslednji","searchResultOf":"{arg0} od {arg1}","accessibilityLabelDropdownGroupToggle":"Podmeni: {arg0}","save":"Shrani","edit":"Uredi","delete":"Izbriši","close":"Zapri","cancel":"Prekliči","ok":"V redu","done":"Končaj","clear":"Počisti","date":"Datum","time":"Čas","name":"Ime","color":"Barva","black":"Črna","white":"Bela","blue":"Modra","red":"Rdeča","green":"Zelena","orange":"Oranžna","lightOrange":"Svetlo oranžna","yellow":"Rumena","lightYellow":"Svetlo rumena","lightBlue":"Svetlo modra","lightRed":"Svetlo rdeča","lightGreen":"Svetlo zelena","fuchsia":"Fuchsia","purple":"Vijolična","pink":"Roza","mauve":"Mauve","lightGrey":"Svetlo siva","grey":"Siva","darkGrey":"Temno siva","noColor":"Prazna stran","transparent":"Prosojna","darkBlue":"Temno Modra","opacity":"Prosojnost","thickness":"Debelina","size":"Velikost","numberInPt":"{arg0} pt","font":"Pisava","fonts":"Pisave","allFonts":"Vse Pisave","alignment":"Poravnava","alignmentLeft":"Levo","alignmentRight":"Desno","alignmentCenter":"Sredinsko","verticalAlignment":"Navpična poravnava","horizontalAlignment":"Vodoravna poravnava","top":"Na vrh","bottom":"Na dno","deleteAnnotationConfirmMessage":"Ste prepričani, da želite izbrisati označbo?","deleteAnnotationConfirmAccessibilityLabel":"Potrdite brisanje označbe","fontFamilyUnsupported":"{arg0} (ni podprta)","sign":"Podpiši","signed":"Podpisano","signatures":"Podpisi","addSignature":"Dodaj podpis","clearSignature":"Počisti podpis","storeSignature":"Shrani podpis","pleaseSignHere":"Prosim podpišite tukaj","signing":"Podpisovanje…","password":"Geslo","unlock":"Odkleni","passwordRequired":"Potrebno je geslo","unlockThisDocument":"Za ogled je potrebno odkleniti dokument. Vnesite geslo v spodnje polje.","incorrectPassword":"Vneseno geslo ni pravilno. Poskusite ponovno.","blendMode":"Način zlivanja","normal":"Navaden","multiply":"Pomnoži","screenBlend":"Zakrij","overlay":"Prekrij","darken":"Potemni","lighten":"Posvetli","colorDodge":"Umakni barve","colorBurn":"Ožgi barve","hardLight":"Ostra osvetlitev","softLight":"Mehka osvetlitev","difference":"Razlika","exclusion":"Izključi","multiple":"Mnogi","linecaps-dasharray":"Slog črte","dasharray":"Slog črte","startLineCap":"Začetek črte","strokeDashArray":"Slog črte","endLineCap":"Konec črte","lineAnnotation":"Črta","rectangleAnnotation":"Pravokotnik","ellipseAnnotation":"Elipsa","polygonAnnotation":"Mnogokotnik","polylineAnnotation":"Lomljena črta","solid":"Neprekinjena","narrowDots":"Ozke pike","wideDots":"Široke pike","narrowDashes":"Ozke črtice","wideDashes":"Široke črtice","none":"Prazna stran","square":"Kvadrat","circle":"Krog","diamond":"Diamant","openArrow":"Odprta puščica","closedArrow":"Zaprta puščica","butt":"Črta","reverseOpenArrow":"Obratna odprta puščica","reverseClosedArrow":"Obratna zaprta puščica","slash":"Poševnica","fillColor":"Barva polnila","cloudy":"Oblaček","arrow":"Puščica","filePath":"Lokacija datoteke","unsupportedImageFormat":"Nepodprt format slike za slikovno označbo: {arg0}. Izberite JPEG ali PNG sliko.","noOutline":"Ni kazala","outline":"Kazalo","imageAnnotation":"Slika","selectImage":"Izberi sliko","stampAnnotation":"Štampiljka","highlighter":"Prostoročni poudarek","textHighlighter":"Teskstovni označevalec","pen":"Risba","eraser":"Radirka","export":"Izvoz","useAnExistingStampDesign":"Uporabi obstoječo štampiljko","createStamp":"Ustvari štampiljko","stampText":"Besedilo štampiljke","chooseColor":"Izberi barvo","rejected":"Zavrnjeno","accepted":"Sprejeto","approved":"Potrjeno","notApproved":"Ni potrjeno","draft":"Osnutek","final":"Končno","completed":"Zaključeno","confidential":"Zaupno","forPublicRelease":"Za javno objavo","notForPublicRelease":"Ni za javno objavo","forComment":"Za diskusijo","void":"Nično","preliminaryResults":"Preliminarni rezultati","informationOnly":"Samo informativno","initialHere":"Parafirajte tukaj","signHere":"Podpišite tukaj","witness":"Priča","asIs":"Kot je","departmental":"Oddelčno","experimental":"Eksperimentalno","expired":"Poteklo","sold":"Prodano","topSecret":"Zaupno","revised":"Revidiran","custom":"Po meri","customStamp":"Štampiljka po meri","icon":"Ikona","iconRightPointer":"Kazalec v desno","iconRightArrow":"Puščica desno","iconCheck":"Kljukica","iconCircle":"Elipsa","iconCross":"Križ","iconInsert":"Vnos besedila","iconNewParagraph":"Novi odstavek","iconNote":"Tekstovna označba","iconComment":"Komentar","iconParagraph":"Odstavek","iconHelp":"Pomoč","iconStar":"Zvezda","iconKey":"Ključ","documentEditor":"Urejevalnik","newPage":"Nova stran","removePage":"Izbriši strani","duplicatePage":"Podvoji","rotatePageLeft":"Zavrti levo","rotatePageRight":"Zavrti desno","moveBefore":"Premakni pred","moveAfter":"Premakni za","selectNone":"Počisti izbiro","selectAll":"Izberi vse","saveAs":"Shrani kot…","mergeDocument":"Uvozi dokument","undo":"Razveljavi","redo":"Uveljavi","openMoveDialog":"Premakni","move":"Premakni","instantModifiedWarning":"Dokument je bil spremenjen in je sedaj v načinu za branje. Osvežite stran, za prehod nazaj v osnovni način.","documentMergedHere":"Dokument bo združen tukaj","digitalSignaturesAllValid":"Dokument je bil digitalno podpisan in vsi podpisi so veljavni.","digitalSignaturesDocModified":"Dokument je bil digitalno podpisan, vendar je bil spremenjen odkar je bil podpisan.","digitalSignaturesSignatureWarning":"Dokument je bil digitalno podpisan, vendar vsaj en podpis ima težave.","digitalSignaturesSignatureWarningDocModified":"Dokument je bil digitalno podpisan, vendar je bil spremenjen odkar je bil podpisan in vsaj en podpis ima težave.","digitalSignaturesSignatureError":"Dokument je bil digitalno podpisan, vendar vsaj en podpis je neveljaven.","digitalSignaturesSignatureErrorDocModified":"Dokument je bil digitalno podpisan, vendar je bil spremenjen odkar je bil podpisan in vsaj en podpis je neveljaven.","signingInProgress":"Podpisovanje je v teku","signingModalDesc":"Označuje da je trenutni dokument v postopku podpisovanja","discardChanges":"Zavrzi spremembe","commentEditorLabel":"Dodaj komentar…","reply":"Odgovor","comment":"Komentar","comments":"Komentarji","showMore":"Prikaži več","showLess":"Prikaži manj","deleteComment":"Izbriši komentar","deleteCommentConfirmMessage":"Ali ste prepričani, da želite izbrisati ta komentar?","deleteCommentConfirmAccessibilityLabel":"Potrdi izbris komentarja","editContent":"Uredi vsebino","commentOptions":"Nastavitve komentarja","areaRedaction":"Ploskovna redakcija","textRedaction":"Tekstovna redakcija","redactionAnnotation":"Redakcija","applyingRedactions":"Potrditev redakcij","overlayTextPlaceholder":"Vstavi prekrivno besedilo","outlineColor":"Barva obrobe","overlayText":"Prekrivno besedilo","repeatText":"Ponovi besedilo","preview":"Predogled","applyRedactions":"Potrdi redakcijo","markupAnnotationToolbar":"Orodna vrstica za tekstovne označbe","documentViewport":"Vidno polje dokumenta","redactionInProgress":"Redakcija v teku","redactionModalDesc":"Prikazuje, da na trenutnem dokumentu poteka redakcija.","commentAction":"Komentiraj","printProgressModalDesc":"Prikazuje pripravo dokumenta za tisk","printProgressModal":"Tiskanje v teku","documentEditorDesc":"Izvajanje sprememb na trenutnem dokumentu","reloadDocumentDialog":"Potrdi osvežitev dokumenta","reloadDocumentDialogDesc":"Pogovorno okno z pozivo za osvežitev dokumenta.","signatureDialog":"Podpis","signatureDialogDesc":"To pogovorno okno omogoča izbiro prostoročnega podpisa za vstavitev v dokument. Če nimate shranjenih podpisov lahko ustvarite novega z uporabo površine za risanje.","stampAnnotationTemplatesDialog":"Predloge žigov","stampAnnotationTemplatesDialogDesc":"Pogovorno okno omogoča izbiro žiga za vstavitev v dokument ali izdelavo žiga z lastnim tekstom.","selectedAnnotation":"Izbrano: {arg0}","commentThread":"Komentarji","selectedAnnotationWithText":"Izbrano: {arg0} z {arg1} kot vsebino","signature":"Podpis","ElectronicSignatures_SignHereTypeHint":"Zgoraj vnesite svoj podpis","ElectronicSignatures_SignHereDrawHint":"Podpišite tukaj","selectDragImage":"Izberi ali povleči sliko","replaceImage":"Zamenjaj sliko","draw":"Riši","image":"Slika","type":"Tipkaj","saveSignature":"Shrani podpis","loading":"Nalagam","selectedItem":"Izbrano: {arg0}.","annotationDeleted":"Označba je bila izbrisana.","newAnnotationCreated":"Nova {arg0} označba je bila usvarjena.","bookmarkCreated":"Zaznamek je bil ustvarjen.","bookmarkEdited":"Zaznamek je bil spremenjen.","bookmarkDeleted":"Zaznamek je bil izbrisan.","cancelledEditingBookmark":"Prekliči urejanje zaznamka.","selectAFileForImage":"Izberi datoteko za novo slikovno označbo.","deleteAnnotationConfirmAccessibilityDescription":"Pogovorno okno, ki omogoča potrditev ali preklic izbrisa označbe.","deleteBookmarkConfirmAccessibilityDescription":"Pogovorno okno, ki omogoča potrditev ali preklic izbrisa zaznamka.","deleteCommentConfirmAccessibilityDescription":"Pogovorno okno, ki omogoča potrditev ali preklic izbrisa komentarja.","resize":"Spremeni velikost","resizeHandleTop":"Zgoraj","resizeHandleBottom":"Spodaj","resizeHandleRight":"Desno","resizeHandleLeft":"Levo","cropCurrentPage":"Obreži trenutno stran","cropCurrent":"Obreži trenutno","cropAllPages":"Obreži vse strani","cropAll":"Obreži vse","documentCrop":"Obrezovanje dokumenta","Comparison_alignButtonTouch":"Poravnaj","Comparison_selectPoint":"Izberi točko","Comparison_documentOldTouch":"Stari","Comparison_documentNewTouch":"Nov","Comparison_result":"Primerjava","UserHint_description":"Za ročno poravnavo izberite tri točke na obeh dokumentih. Da bi doseglji najbolše prileganje izberite točkle blizu vogalov dokumenta v enakem zaporedju.","UserHint_dismissMessage":"Opusti","Comparison_alignButton":"Poravnaj dokumenta","documentComparison":"Primejava dokumentov","Comparison_documentOld":"Stari dokument","Comparison_documentNew":"Nov dokument","Comparison_resetButton":"Ponastavi","UserHint_Select":"Izbria točk","numberValidationBadFormat":"Vnesena vrednost ne ustreza formatu polja [{arg0}]","dateValidationBadFormat":"Neveljaven datum/čas: zagotovite, da je datum/čas veljaven. Polje [{arg0}] naj ustreza formatu {arg1}","insertAfterPage":"Vstavi za stranjo","docEditorMoveBeginningHint":"Vnesite “0” za premik izbranih strani na začetek dokumenta.","cloudyRectangleAnnotation":"Oblačkast pravokotnik","dashedRectangleAnnotation":"Črtkan pravokotnik","cloudyEllipseAnnotation":"Oblačkasta elipsa","dashedEllipseAnnotation":"Črtkana elipsa","cloudyPolygonAnnotation":"Oblačkasta mnogokotnik","dashedPolygonAnnotation":"Črtkan mnogokotnik","cloudAnnotation":"Oblak","rotateCounterclockwise":"Rotiraj v nasprotni smeri urinega kazalca","rotateClockwise":"Rotiraj v smeri urinega kazalca","enterDescriptionHere":"Tukaj vnesite opis","addOption":"Dodaj opcijo","formDesignerPopoverTitle":"Lastnosi za {formFieldType}","formFieldNameExists":"Polje z nazivom {formFieldName} že obstaja. Prosim izberite drugo ime.","styleSectionLabel":"Stil za {formFieldType}","formFieldName":"Naziv polja","defaultValue":"Privzeta vrednost","multiLine":"Večvrstično","radioButtonFormFieldNameWarning":"Za grupiranje izbirnih gumbov določite vsem enak naziv.","advanced":"Napredno","creatorName":"Ime ustvarjalca","note":"Opomba","customData":"Dodatni podatki","required":"Zahtevano","readOnly":"Samo za branje","createdAt":"Ustvarjetno","updatedAt":"Posodobljeno","customDataErrorMessage":"Mora biti v primerni obliki za format JSON.","borderColor":"Barva obrobe","borderWidth":"Debeljina obrobe","borderStyle":"Stil obrobe","solidBorder":"Neprekinjeno","dashed":"Črtkano","beveled":"Izbočeno","inset":"Vbočeno","underline":"Podčrtano","textStyle":"Stil pisave","fontSize":"Velikost pisave","fontColor":"Barva pisave","button":"Gumb","textField":"Tekstovno poje","radioField":"Izbirno polje","checkboxField":"Potrdilno polje","comboBoxField":"Kombinirano polje","listBoxField":"Seznamsko polje","signatureField":"Podpisno polje","formDesigner":"Urejevalnik Obrazcev","buttonText":"Napis na gumbu","notAvailable":"Ni na voljo","label":"Oznaka","value":"Vsebina","cannotEditOnceCreated":"Naknadno spreminjanje ni možno.","formFieldNameNotEmpty":"Naziv polja ne more biti prazen.","mediaAnnotation":"Večpredstavnostna označba","mediaFormatNotSupported":"Ta brskalnik ne podpira videa in zvoka.","distanceMeasurement":"Razdalja","perimeterMeasurement":"Obseg","polygonAreaMeasurement":"Mnogokotna ploščina","rectangularAreaMeasurement":"Pravokotna ploščina","ellipseAreaMeasurement":"Elipsoidna ploščina","distanceMeasurementSettings":"Nastavitve meritve razdalje","perimeterMeasurementSettings":"Nastavitve meritve obsega","polygonAreaMeasurementSettings":"Nastavitve meritve mnogokotne ploščine","rectangularAreaMeasurementSettings":"Nastavitve meritve pravokotne ploščine","ellipseAreaMeasurementSettings":"Nastavitve meritve elipsoidne ploščine","measurementScale":"Merilo","measurementCalibrateLength":"Dolžina za umerjanje","measurementPrecision":"Natančnost","measurementSnapping":"Zaskočitev","formCreator":"Urejevalnik Obrazcev","group":"Grupiraj","ungroup":"Razdruži","bold":"Odebeljeno","italic":"Poševno","addLink":"Dodaj povezavo","removeLink":"Odstrani povezavo","editLink":"Uredi povezavo","anonymous":"Anonimen","saveAndClose":"Shrani in zapri","ceToggleFontMismatchTooltip":"Prikaži ali skrij namig za neusklajene pisave","ceFontMismatch":"Pisava: {arg0} ni na voljo ali ne more biti uporabljena za urejanje vsebine tega dokumenta. Dodana ali spremenjena vsebina bo pisavo vrnila na privzeto.","multiAnnotationsSelection":"Izberi več označb","linkSettingsPopoverTitle":"Nastavitve povezave","linkTo":"Povezava do","uriLink":"Spletne strani","pageLink":"Strani","invalidPageNumber":"Vnesite veljavno številko strani.","invalidPageLink":"Vnesite veljavno povezavo do strani.","linkAnnotation":"Povezava","targetPageLink":"Številka strani","rotation":"Rotiraj","unlockDocumentDescription":"Dokument je potrebno odkleniti. Prosim vnesite geslo v tekstovno polje.","commentDialogClosed":"Odpri pogovor, ki ga je začel/-a {arg0}: \\\\“{arg1}\\\\”","moreComments":"Več komentarjev","linesCount":"{arg0, plural,\\none {{arg0} črta}\\ntwo {{arg0} črti}\\nother {{arg0} črte}\\nfew {{arg0} črte}\\n}","annotationsCount":"{arg0, plural,\\n=0 {Brez označb}\\none {{arg0} označba}\\ntwo {{arg0} označbi}\\nother {{arg0} označb}\\nfew {{arg0} označb}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} izbrana stran}\\nother {{arg0} izbrane strani}\\nfew {{arg0} izbrane strani}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} komentar}\\nother {{arg0} komentarjev}\\nfew {{arg0} komentarjev}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} komentar}\\nother {{arg0} komentarjev}\\nfew {{arg0} komentarjev}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} preostali komentar}\\nother {{arg0} preostalih komentarjev}\\nfew {{arg0} preostalih komentarjev}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-sv-9ca19e198542db73.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-sv-9ca19e198542db73.js new file mode 100644 index 00000000..ac540537 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-sv-9ca19e198542db73.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[6530],{99649:e=>{e.exports=JSON.parse('{"thumbnails":"Miniatyrer","pageXofY":"Sida {arg0} av {arg1}","XofY":"{arg0} av {arg1}","prevPage":"Föregående sida","nextPage":"Nästa sida","goToPage":"Gå till sida","gotoPageX":"Gå till sida {arg0}","pageX":"Sida {arg0}","pageLayout":"Sidlayout","pageMode":"Sidläge","pageModeSingle":"Enkel","pageModeDouble":"Dubbel","pageModeAutomatic":"Automatisk","pageTransition":"Sidövergång","pageTransitionContinuous":"Kontinuerlig","pageTransitionJump":"Hoppa","pageRotation":"Sidrotation","pageRotationLeft":"Rotera vänster","pageRotationRight":"Rotera höger","zoomIn":"Zooma in","zoomOut":"Zooma ut","marqueeZoom":"Markeringsverktyg","panMode":"Dragläge","fitPage":"Passa till sida","fitWidth":"Passa till bredd","annotations":"Anteckningar","noAnnotations":"Inga anteckningar","bookmark":"Bokmärke","bookmarks":"Bokmärken","noBookmarks":"Inga bokmärken","newBookmark":"Nytt bokmärke","addBookmark":"Lägg till bokmärke","removeBookmark":"Ta bort bokmärke","loadingBookmarks":"Läser in bokmärken","deleteBookmarkConfirmMessage":"Vill du radera bokmärket?","deleteBookmarkConfirmAccessibilityLabel":"Bekräfta att radera bokmärke","annotation":"Anteckning","noteAnnotation":"Anteckning","textAnnotation":"Meddelande","inkAnnotation":"Teckning","highlightAnnotation":"Textmarkering","underlineAnnotation":"Understruken","squiggleAnnotation":"Våglinje","strikeOutAnnotation":"Överstruken","print":"Skriv ut","printPrepare":"Förbereder dokument för utskrift…","searchDocument":"Sök dokument","searchPreviousMatch":"Föregående","searchNextMatch":"Nästa","searchResultOf":"{arg0} av {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} verktyg, växla meny","save":"Spara","edit":"Redigera","delete":"Radera","close":"Stäng","cancel":"Avbryt","ok":"OK","done":"Klar","clear":"Rensa","date":"Datum","time":"Tid","name":"Namn","color":"Färg","black":"Svart","white":"Vitt","blue":"Blått","red":"Rött","green":"Grönt","orange":"Orange","lightOrange":"Ljust orange","yellow":"Gult","lightYellow":"Ljusgult","lightBlue":"Ljusblå","lightRed":"Ljusröd","lightGreen":"Ljusgrön","fuchsia":"Fuchsia","purple":"Lila","pink":"Rosa","mauve":"Mauve","lightGrey":"Ljusgrått","grey":"Grått","darkGrey":"Mörkgrått","noColor":"Ingen","transparent":"Genomskinligt","darkBlue":"Mörkblått","opacity":"Opacitet","thickness":"Tjocklek","size":"Storlek","numberInPt":"{arg0} pt","font":"Typsnitt","fonts":"Typsnitt","allFonts":"Alla typsnitt","alignment":"Justering","alignmentLeft":"Vänster","alignmentRight":"Höger","alignmentCenter":"Centrerad","verticalAlignment":"Lodrät passning","horizontalAlignment":"Vågrät passning","top":"Överst","bottom":"Nedtill","deleteAnnotationConfirmMessage":"Vill du radera anteckningen?","deleteAnnotationConfirmAccessibilityLabel":"Bekräfta radera anteckning","fontFamilyUnsupported":"{arg0} (stöds ej)","sign":"Skriv under","signed":"Underskrivet","signatures":"Underskrifter","addSignature":"Lägg till signatur","clearSignature":"Rensa signatur","storeSignature":"Lagra signatur","pleaseSignHere":"Signera här","signing":"Signerar…","password":"Lösenord","unlock":"Lås upp","passwordRequired":"Lösenord krävs","unlockThisDocument":"Dokumentet måste låsas upp innan det kan visas. Ange lösenordet i fältet nedan.","incorrectPassword":"Lösenordet är fel. Försök igen.","blendMode":"Blandningsläge","normal":"Normalt","multiply":"Mångfaldiga","screenBlend":"Skärma","overlay":"Överlägg","darken":"Mörkning","lighten":"Ljusning","colorDodge":"Färgskugga","colorBurn":"Färgefterbelysning","hardLight":"Skarpt ljus","softLight":"Mjukt ljus","difference":"Differens","exclusion":"Exklusion","multiple":"Flera","linecaps-dasharray":"Linjestil","dasharray":"Linjestil","startLineCap":"Linjestart","strokeDashArray":"Linjestil","endLineCap":"Linjeslut","lineAnnotation":"Linje","rectangleAnnotation":"Rektangel","ellipseAnnotation":"Ellips","polygonAnnotation":"Polygon","polylineAnnotation":"Polylinje","solid":"Heldragen","narrowDots":"Smala punkter","wideDots":"Breda punkter","narrowDashes":"Smala streck","wideDashes":"Breda streck","none":"Ingen","square":"Fyrkantig","circle":"Cirkel","diamond":"Diamant","openArrow":"Öppen pil","closedArrow":"Stängd pil","butt":"Intill","reverseOpenArrow":"Omvänd öppen pil","reverseClosedArrow":"Omvänd sluten pil","slash":"Snedstreck","fillColor":"Fyllningsfärg","cloudy":"Molnigt","arrow":"Pil","filePath":"Filsökväg","unsupportedImageFormat":"Denna typ stöds ej för bildanteckningar: {arg0}. Använd JPEG eller PNG.","noOutline":"Inget innehåll","outline":"Innehåll","imageAnnotation":"Bild","selectImage":"Välj bild","stampAnnotation":"Stämpel","highlighter":"Fri markering","textHighlighter":"Textmarkering","pen":"Teckning","eraser":"Radergummi","export":"Exportera","useAnExistingStampDesign":"Använd en befintlig stämpeldesign","createStamp":"Skapa stämpel","stampText":"Stämpeltext","chooseColor":"Välj färg","rejected":"Förkastat","accepted":"Godkänt","approved":"Godkänt","notApproved":"Ej godkänt","draft":"Utkast","final":"Färdigt","completed":"Genomfört","confidential":"Konfidentiellt","forPublicRelease":"Offentligt","notForPublicRelease":"Ej offentligt","forComment":"För kommentar","void":"Ogiltigt","preliminaryResults":"Preliminära resultat","informationOnly":"Endast för information","initialHere":"Initialsignera här","signHere":"Signera här","witness":"Bevittnat","asIs":"Som detta","departmental":"Avdelningen","experimental":"Experimentell","expired":"Förfallen","sold":"Såld","topSecret":"Kvalificerat hemlig","revised":"Ändrat","custom":"Anpassad","customStamp":"Anpassad stämpel","icon":"Symbol","iconRightPointer":"Högerpekare","iconRightArrow":"Högerpil","iconCheck":"Kryssmarkering","iconCircle":"Ellips","iconCross":"Kors","iconInsert":"Infoga text","iconNewParagraph":"Nytt stycke","iconNote":"Textanteckning","iconComment":"Kommentar","iconParagraph":"Stycke","iconHelp":"Hjälp","iconStar":"Stjärna","iconKey":"Nyckel","documentEditor":"Dokumentredigerare","newPage":"Ny sida","removePage":"Radera sidor","duplicatePage":"Duplicera","rotatePageLeft":"Rotera vänster","rotatePageRight":"Rotera höger","moveBefore":"Flytta före","moveAfter":"Flytta efter","selectNone":"Markera inga","selectAll":"Markera allt","saveAs":"Spara som…","mergeDocument":"Importera dokument","undo":"Ångra","redo":"Gör om","openMoveDialog":"Flytta","move":"Flytta","instantModifiedWarning":"Dokumentet har ändrats och är nu i skrivskyddat läge. Åtgärda detta genom att uppdatera sidan.","documentMergedHere":"Dokument kommer att slås samman här","digitalSignaturesAllValid":"Dokumentet har signerats digitalt och samtliga signaturer är giltiga.","digitalSignaturesDocModified":"Dokumentet har signerats digitalt, men det har ändrats efter signeringen.","digitalSignaturesSignatureWarning":"Dokumentet har signerats digitalt, men minst en signatur har problem.","digitalSignaturesSignatureWarningDocModified":"Dokumentet har signerats digitalt, men det har ändrats efter signeringen och minst en signatur har problem.","digitalSignaturesSignatureError":"Dokumentet har signerats digitalt, men minst en signatur är ogiltig.","digitalSignaturesSignatureErrorDocModified":"Dokumentet har signerats digitalt, men det har ändrats efter signeringen och minst en signatur är ogiltig.","signingInProgress":"Signering pågår","signingModalDesc":"Indikerar att det aktuella dokumentet signeras","discardChanges":"Kasta ändringar","commentEditorLabel":"Lägg till din kommentar…","reply":"Svara","comment":"Kommentar","comments":"Kommentarer","showMore":"Visa fler","showLess":"Visa färre","deleteComment":"Radera kommentar","deleteCommentConfirmMessage":"Vill du radera kommentaren?","deleteCommentConfirmAccessibilityLabel":"Bekräfta radering av kommentarer","editContent":"Redigera innehåll","commentOptions":"Kommentarsalternativ","areaRedaction":"Redigera bort område","textRedaction":"Redigera bort text","redactionAnnotation":"Bortredigering","applyingRedactions":"Utför bortredigeringar","overlayTextPlaceholder":"Infoga överläggstext","outlineColor":"Kantfärg","overlayText":"Överläggstext","repeatText":"Repetera text","preview":"Förhandsvisa","applyRedactions":"Utför bortredigeringar","markupAnnotationToolbar":"Verktygsrad för anteckningar","documentViewport":"Visningsyta för dokument","redactionInProgress":"Bortredigering pågår","redactionModalDesc":"Indikerar att bortredigering pågår i aktuellt dokument","commentAction":"Kommentera","printProgressModalDesc":"Anger att ett dokument förbereds för utskrift","printProgressModal":"Utskrift pågår","documentEditorDesc":"Gör ändringar i aktuellt dokument","reloadDocumentDialog":"Bekräfta läs in dokument igen","reloadDocumentDialogDesc":"Dialogruta som ber användaren att bekräfta att dokumentet ska läsas in igen.","signatureDialog":"Underskrift","signatureDialogDesc":"Dialogruta där du kan välja en handskriven underskrift att infoga i dokumentet. Om du inte har några lagrade underskrifter kan du skapa en i bildfältet.","stampAnnotationTemplatesDialog":"Mallar för stämpelanteckningar","stampAnnotationTemplatesDialogDesc":"Dialogruta där du kan välja en stämplad anteckning att infoga i dokumentet, eller skapa en anpassad stämpel med din egen text.","selectedAnnotation":"Markerade {arg0}","commentThread":"Kommentarstråd","selectedAnnotationWithText":"Markerade {arg0} med {arg1} som innehåll","signature":"Underskrift","ElectronicSignatures_SignHereTypeHint":"Skriv din signatur ovan","ElectronicSignatures_SignHereDrawHint":"Signera här","selectDragImage":"Välj eller dra bild","replaceImage":"Ersätt bild","draw":"Rita","image":"Bild","type":"Typ","saveSignature":"Spara signatur","loading":"Läser in","selectedItem":"{arg0}, markerad.","annotationDeleted":"Raderade anteckning.","newAnnotationCreated":"Skapade ny {arg0}-anteckning.","bookmarkCreated":"Skapade bokmärke.","bookmarkEdited":"Redigerade bokmärke.","bookmarkDeleted":"Raderade bokmärke.","cancelledEditingBookmark":"Avbröt redigering av bokmärke.","selectAFileForImage":"Välj en fil för den nya bildanteckningen.","deleteAnnotationConfirmAccessibilityDescription":"Dialogruta där du bekräftar eller avbryter att radera anteckningen.","deleteBookmarkConfirmAccessibilityDescription":"Dialogruta där du bekräftar eller avbryter att radera bokmärket.","deleteCommentConfirmAccessibilityDescription":"Dialogruta där du bekräftar eller avbryter att radera kommentaren.","resize":"Ändra storlek","resizeHandleTop":"Överst","resizeHandleBottom":"Nedtill","resizeHandleRight":"Höger","resizeHandleLeft":"Vänster","cropCurrentPage":"Beskär aktuell sida","cropCurrent":"Beskär aktuell","cropAllPages":"Beskär alla sidor","cropAll":"Beskär alla","documentCrop":"Dokumentbeskärare","Comparison_alignButtonTouch":"Justera","Comparison_selectPoint":"Markera punkt","Comparison_documentOldTouch":"Gammalt","Comparison_documentNewTouch":"Nytt","Comparison_result":"Jämförelse","UserHint_description":"Välj tre punkter i vart dokument för manuell justering. Bäst resultat blir det från punkter nära dokumentens hörn och om punkterna kommer i samma ordning i båda dokumenten.","UserHint_dismissMessage":"Avfärda","Comparison_alignButton":"Justera dokument","documentComparison":"Dokumentjämförelse","Comparison_documentOld":"Gammalt dokument","Comparison_documentNew":"Nytt dokument","Comparison_resetButton":"Återställ","UserHint_Select":"Markera punkter","numberValidationBadFormat":"Det angivna värdet stämmer inte överens med formatet för fältet [{arg0}]","dateValidationBadFormat":"Ogiltigt datum/tid: kontrollera att datumet eller tiden finns. Fältet [{arg0}] bör stämma överens med formatet {arg1}","insertAfterPage":"Infoga efter sida","docEditorMoveBeginningHint":"Flytta den markerade sidan (sidorna) till början av dokumentet genom att skriva ”0”.","cloudyRectangleAnnotation":"Molnrektangel","dashedRectangleAnnotation":"Streckad rektangel","cloudyEllipseAnnotation":"Molnellips","dashedEllipseAnnotation":"Streckad ellips","cloudyPolygonAnnotation":"Molnpolygon","dashedPolygonAnnotation":"Streckad polygon","cloudAnnotation":"Moln","rotateCounterclockwise":"Rotera motsols","rotateClockwise":"Rotera medsols","enterDescriptionHere":"Skriv beskrivning här","addOption":"Lägg till alternativ","formDesignerPopoverTitle":"{formFieldType} egenskaper","formFieldNameExists":"Det finns redan ett formulärfält med namnet {formFieldName}. Välj ett annat namn.","styleSectionLabel":"{formFieldType} stil","formFieldName":"Formulärfältets namn","defaultValue":"Förvalt värde","multiLine":"Flera rader","radioButtonFormFieldNameWarning":"Gruppera radioknapparna genom att ge dem samma formulärfältsnamn.","advanced":"Avancerat","creatorName":"Skaparens namn","note":"Anteckning","customData":"Anpassat data","required":"Krävs","readOnly":"Endast läsning","createdAt":"Skapad","updatedAt":"Ändrad","customDataErrorMessage":"Måste vara ett rent JSON-serialiserat objekt","borderColor":"Kantfärg","borderWidth":"Kantbredd","borderStyle":"Kantstil","solidBorder":"Heldragen","dashed":"Streckad","beveled":"Fasad","inset":"Infälld","underline":"Understruken","textStyle":"Textstil","fontSize":"Teckensnittsstorlek","fontColor":"Textfärg","button":"Knappfält","textField":"Textfält","radioField":"Radioknappsfält","checkboxField":"Kryssrutefält","comboBoxField":"Kombinationsfält","listBoxField":"Listrutefält","signatureField":"Signaturfält","formDesigner":"Formulärskaparen","buttonText":"Knapptext","notAvailable":"Ej tillämpligt","label":"Etikett","value":"Värde","cannotEditOnceCreated":"Kan inte redigeras när den skapats.","formFieldNameNotEmpty":"Formulärfältet måste ha ett namn.","mediaAnnotation":"Mediaanteckning","mediaFormatNotSupported":"Denna webbläsare stöder inte inbäddning av video eller ljud.","distanceMeasurement":"Avstånd","perimeterMeasurement":"Omkrets","polygonAreaMeasurement":"Polygonens yta","rectangularAreaMeasurement":"Rektangelns yta","ellipseAreaMeasurement":"Ellipsens yta","distanceMeasurementSettings":"Måttinställningar för avstånd","perimeterMeasurementSettings":"Måttinställningar för omkrets","polygonAreaMeasurementSettings":"Måttinställningar för polygon","rectangularAreaMeasurementSettings":"Måttinställningar för rektangel","ellipseAreaMeasurementSettings":"Måttinställningar för ellips","measurementScale":"Skala","measurementCalibrateLength":"Kalibrera längd","measurementPrecision":"Precision","measurementSnapping":"Fäster","formCreator":"Formulärskaparen","group":"Gruppera","ungroup":"Dela upp","bold":"Fet","italic":"Kursiv","addLink":"Lägg till länk","removeLink":"Ta bort länk","editLink":"Redigera länk","anonymous":"Anonym","saveAndClose":"Spara och stäng","ceToggleFontMismatchTooltip":"Visa/göm verktygstips om omaka typsnitt","ceFontMismatch":"Typsnittet {arg0} är inte tillgängligt eller kan inte användas för att redigera dokumentets innehåll. Tillagt eller ändrat innehåll kommer att använda ett förvalt typsnitt.","multiAnnotationsSelection":"Markera flera anteckningar","linkSettingsPopoverTitle":"Länkinställningar","linkTo":"Länka till","uriLink":"Webbplats","pageLink":"Sida","invalidPageNumber":"Ange ett giltigt sidnummer.","invalidPageLink":"Ange en länk till sida.","linkAnnotation":"Länk","targetPageLink":"Sidnummer","rotation":"Rotation","unlockDocumentDescription":"Dokumentet måste låsas upp för att visas. Ange lösenordet i fältet nedan.","commentDialogClosed":"Öppna kommentarstråd startad av {arg0}: ”{arg1}”","moreComments":"Mer kommentarer","linesCount":"{arg0, plural,\\none {{arg0} rad}\\nother {{arg0} rader}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} anteckning}\\nother {{arg0} anteckningar}\\n=0 {Inga anteckningar}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} markerad sida}\\nother {{arg0} markerade sidor}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} kommentar}\\nother {{arg0} kommentarer}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} kommentar}\\nother {{arg0} kommentarer}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} ytterligare kommentar}\\nother {{arg0} ytterligare kommentarer}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-th-5b2e951c941ce549.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-th-5b2e951c941ce549.js new file mode 100644 index 00000000..348e7da2 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-th-5b2e951c941ce549.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5666],{81446:e=>{e.exports=JSON.parse('{"thumbnails":"ภาพขนาดย่อ","pageXofY":"หน้า {arg0} จาก {arg1}","XofY":"{arg0} จาก {arg1}","prevPage":"หน้าก่อนหน้า","nextPage":"หน้าถัดไป","goToPage":"ไปที่หน้า","gotoPageX":"ไปที่หน้า {arg0}","pageX":"หน้า {arg0}","pageLayout":"การกำหนดเลย์เอาท์","pageMode":"โหมดแสดงหน้า","pageModeSingle":"เดี่ยว","pageModeDouble":"สองหน้า","pageModeAutomatic":"อัตโนมัติ","pageTransition":"การเปลี่ยนหน้า","pageTransitionContinuous":"ต่อเนื่อง","pageTransitionJump":"กระโดด","pageRotation":"การหมุนหน้า","pageRotationLeft":"หมุนซ้าย","pageRotationRight":"หมุนขวา","zoomIn":"ซูมเข้า","zoomOut":"ซูมออก","marqueeZoom":"ซูมบริเวณที่เลือก","panMode":"โหมดแพน","fitPage":"ขนาดตามหน้า","fitWidth":"ขนาดตามความกว้าง","annotations":"โน้ต","noAnnotations":"ไม่มีการทำหมายเหตุ","bookmark":"ที่คั่นหน้า","bookmarks":"ที่คั่นหน้าเว็บ","noBookmarks":"ไม่มีที่คั่นหน้าเว็บ","newBookmark":"ที่คั่นหน้าใหม่","addBookmark":"เพิ่มที่คั่นหน้า","removeBookmark":"ลบที่คั่นหน้าเว็บ","loadingBookmarks":"กำลังโหลดที่คั่นหน้า","deleteBookmarkConfirmMessage":"คุณแน่ใจหรือไม่ว่าต้องการลบที่คั่นหน้านี้","deleteBookmarkConfirmAccessibilityLabel":"ยืนยันการยกเลิกที่คั่นหน้า","annotation":"การทำโน้ต","noteAnnotation":"บันทึก","textAnnotation":"ข้อความ","inkAnnotation":"การวาด","highlightAnnotation":"ไฮไลท์ข้อความ","underlineAnnotation":"ขีดเส้นใต้","squiggleAnnotation":"ขยุกขยิก","strikeOutAnnotation":"ขีดฆ่า","print":"พิมพ์","printPrepare":"กำลังเตรียมเอกสารเพื่อพิมพ์","searchDocument":"ค้นหาเอกสาร","searchPreviousMatch":"ก่อนหน้า","searchNextMatch":"ถัดไป","searchResultOf":"{arg0} จาก {arg1}","accessibilityLabelDropdownGroupToggle":"เครื่องมือ {arg0}, เมนูเปิดปิด","save":"บันทึก","edit":"แก้ไข","delete":"ลบ","close":"ปิด","cancel":"ยกเลิก","ok":"ตกลง","done":"เสร็จ","clear":"ล้าง","date":"วันที่","time":"เวลา","name":"ชื่อ","color":"สี","black":"สีดำ","white":"สีขาว","blue":"สีน้ำเงิน","red":"สีแดง","green":"สีเขียว","orange":"สีส้ม","lightOrange":"ส้มอ่อน","yellow":"สีเหลือง","lightYellow":"เหลืองอ่อน","lightBlue":"ฟ้าอ่อน","lightRed":"แดงอ่อน","lightGreen":"เขียวอ่อน","fuchsia":"ชมพูบานเย็น","purple":"สีม่วง","pink":"สีชมพู","mauve":"ม่วงซีด","lightGrey":"เทาอ่อน","grey":"สีเทา","darkGrey":"เทาเข้ม","noColor":"ไม่มีเลย","transparent":"โปร่งใส","darkBlue":"น้ำเงินเข้ม","opacity":"ความทึบแสง","thickness":"ความหนา","size":"ขนาด","numberInPt":"{arg0} จุด","font":"แบบอักษร","fonts":"แบบอักษร","allFonts":"แบบอักษรทั้งหมด","alignment":"การจัดแนว","alignmentLeft":"ซ้าย","alignmentRight":"ขวา","alignmentCenter":"กลาง","verticalAlignment":"การวางแนวขวาง","horizontalAlignment":"ม่วงอ่อน","top":"บน","bottom":"ล่าง","deleteAnnotationConfirmMessage":"คุณแน่ใจหรือไม่ว่าต้องการลบโน้ตนี้","deleteAnnotationConfirmAccessibilityLabel":"ยืนยันการลบโน้ต","fontFamilyUnsupported":"{arg0} (ไม่รองรับ)","sign":"ลงชื่อ","signed":"เซ็นแล้ว","signatures":"ลายเซ็น","addSignature":"ลงลายเซ็น","clearSignature":"ลบลายเซ็น","storeSignature":"เก็บลายเซ็น","pleaseSignHere":"กรุณาลงชื่อที่นี่","signing":"กำลังลงเส้น…","password":"รหัสผ่าน","unlock":"ปลดล็อก","passwordRequired":"จำเป็นต้องมีพาสเวิร์ด","unlockThisDocument":"คุณต้องปลดล็อกเอกสารนี้เพื่อจะเปิดดู โปรดใส่พาสเวิร์ดในช่องด้านล่างนี้","incorrectPassword":"พาสเวิร์ดที่คุณใส่ไม่ถูกต้อง โปรดลองอีกครั้งหนึ่ง","blendMode":"โหมดผสาน","normal":"ปกติ","multiply":"การคูณ","screenBlend":"หน้าจอ","overlay":"Overlay","darken":"Darken","lighten":"Lighten","colorDodge":"Color Dodge","colorBurn":"Color Burn","hardLight":"Hard Light","softLight":"Soft Light","difference":"Difference","exclusion":"Exclusion","multiple":"หลายโหมด","linecaps-dasharray":"แบบเส้น","dasharray":"แบบเส้น","startLineCap":"จุดเริ่มต้นของเส้น","strokeDashArray":"แบบเส้น","endLineCap":"จุดจบของเส้น","lineAnnotation":"เส้น","rectangleAnnotation":"สี่เหลี่ยม","ellipseAnnotation":"วงรี","polygonAnnotation":"โพลีกอน","polylineAnnotation":"โพลีไลน์","solid":"ต่อเนื่อง","narrowDots":"จุดถี่ๆ","wideDots":"จุดห่างๆ","narrowDashes":"เส้นประถี่ๆ","wideDashes":"เส้นประห่างๆ","none":"ไม่มีเลย","square":"จัตุรัส","circle":"วงกลม","diamond":"เพชร","openArrow":"ลูกศรเปิด","closedArrow":"ลูกศรปิด","butt":"ก้อน","reverseOpenArrow":"ลูกศรเปิดที่พลิกกลับ","reverseClosedArrow":"ลูกศรปิดที่พลิกกลับ","slash":"เครื่องหมายทับ","fillColor":"สีระบาย","cloudy":"ก้อนเมฆ","arrow":"ลูกศร","filePath":"ไฟล์พาธ","unsupportedImageFormat":"{arg0} ไม่รองรับสำหรับการเพิ่มโน้ตรูปภาพ โปรดใช้ JPEG หรือ PNG.","noOutline":"ไม่มีโครงร่าง","outline":"ตัวเส้นขอบ","imageAnnotation":"รูปภาพ","selectImage":"เลือกรูปภาพ","stampAnnotation":"ตราประทับ","highlighter":"การไฮไลท์แบบฟรีฟอร์ม","textHighlighter":"ปากกาไฮไลท์ข้อความ","pen":"การวาด","eraser":"ยางลบ","export":"เอ็กซ์พอร์ต","useAnExistingStampDesign":"ใช้แสตมป์ที่ออกแบบไว้","createStamp":"สร้างตราประทับ","stampText":"ข้อความของตราประทับ","chooseColor":"เลือกสี","rejected":"ถูกปฏิเสธ","accepted":"ยอมรับ","approved":"ผ่านการรับรอง","notApproved":"ไม่ผ่านการรับรอง","draft":"ฉบับร่าง","final":"สุดท้าย","completed":"เสร็จสิ้น","confidential":"เป็นความลับ","forPublicRelease":"สำหรับข่าวประชาสัมพันธ์","notForPublicRelease":"ไม่ใช่สำหรับข่าวประชาสัมพันธ์","forComment":"สำหรับแสดงความเห็น","void":"เป็นโมฆะ","preliminaryResults":"ผลลัพธ์ขั้นต้น","informationOnly":"ข้อมูลเท่านั้น","initialHere":"ลงตัวย่อที่นี่","signHere":"ลงชื่อที่นี่","witness":"พยาน","asIs":"ตามสภาพ","departmental":"ของแผนก","experimental":"ขั้นทดลอง","expired":"หมดอายุ","sold":"ขายแล้ว","topSecret":"ความลับสุดยอด","revised":"ฉบับแก้ไขปรับปรุง","custom":"กำหนดเอง","customStamp":"แต่งแสตมป์","icon":"ไอคอน","iconRightPointer":"พอยเตอร์ขวา","iconRightArrow":"ลูกศรขวา","iconCheck":"เครื่องหมายถูก","iconCircle":"วงรี","iconCross":"กากบาท","iconInsert":"ใส่ข้อความ","iconNewParagraph":"ย่อหน้าใหม่","iconNote":"โน้ตข้อความ","iconComment":"ความคิดเห็น","iconParagraph":"ย่อหน้า","iconHelp":"ความช่วยเหลือ","iconStar":"ดอกจันทร์","iconKey":"กุญแจ","documentEditor":"โปรแกรมแก้ไขเอกสาร","newPage":"หน้าใหม่","removePage":"ลบหน้า","duplicatePage":"ทำสำเนา","rotatePageLeft":"หมุนซ้าย","rotatePageRight":"หมุนขวา","moveBefore":"เลื่อนไปหน้า","moveAfter":"เลื่อนไปหลัง","selectNone":"ไม่เลือก","selectAll":"เลือกทั้งหมด","saveAs":"บันทึกเป็น…","mergeDocument":"นำเข้าเอกสาร","undo":"ถอนคำสั่งกลับ","redo":"ทำซ้ำ","openMoveDialog":"ย้าย","move":"ย้าย","instantModifiedWarning":"เอกสารมีการเปลี่ยนแปลง จึงเปิดเอกสารในโหมดสำหรับอ่านเท่านั้น โหลดใหม่อีกครั้งเพื่อแก้ไข","documentMergedHere":"จะรวมเอกสารที่นี่","digitalSignaturesAllValid":"มีการลงลายมือชื่อดิจิทัลในเอกสารนี้แล้วและทุกลายเซ็นถูกต้อง","digitalSignaturesDocModified":"มีการลงลายมือชื่อดิจิทัลในเอกสารนี้แล้วแต่มีการแก้ไขเมื่อเซ็นชื่อ","digitalSignaturesSignatureWarning":"มีการลงลายมือชื่อดิจิทัลในเอกสารนี้แล้วแต่มีหนึ่งลายเซ็นที่มีปัญหา","digitalSignaturesSignatureWarningDocModified":"มีการลงลายมือชื่อดิจิทัลในเอกสารนี้แล้วแต่มีการแก้ไขเมื่อเซ็นชื่อ และมีอย่างน้อยหนึ่งลายเซ็นที่มีปัญหา","digitalSignaturesSignatureError":"มีการลงลายมือชื่อดิจิทัลในเอกสารนี้แต่อย่างน้อยมีหนึ่งลายมือชื่อที่ไม่ถูกต้อง","digitalSignaturesSignatureErrorDocModified":"มีการลงลายมือชื่อดิจิทัลในเอกสารนี้แล้วแต่มีการแก้ไขเมื่อเซ็นชื่อ อย่างน้อยมีหนึ่งลายเซ็นที่ไม่ถูกต้อง","signingInProgress":"กำลังลงลายมือ","signingModalDesc":"ระบุว่าเอกสารนี้ถูกลงลายมือ","discardChanges":"ยกเลิกการเปลี่ยนแปลง","commentEditorLabel":"เพิ่มความคิดเห็นของคุณ…","reply":"ตอบ","comment":"ความคิดเห็น","comments":"ความคิดเห็น","showMore":"แสดงเพิ่ม","showLess":"แสดงผลย่อ","deleteComment":"ลดความคิดเห็น","deleteCommentConfirmMessage":"คุณแน่ใจหรือไม่ที่จะลบคอมเม้นท์นี้","deleteCommentConfirmAccessibilityLabel":"ยืนยันการลบคอมเม้นท์","editContent":"แก้ไขเนื้อหา","commentOptions":"ตัวเลือกของความคิดเห็น","areaRedaction":"พื้นที่เขียนโน้ต","textRedaction":"การเขียนโน้ตข้อความ","redactionAnnotation":"การเขียนโน้ต","applyingRedactions":"กำลังใช้การเขียนโน้ต","overlayTextPlaceholder":"แทรกข้อความ","outlineColor":"สีของเส้นขอบ","overlayText":"ข้อความที่ซ้อนทับ","repeatText":"ข้อความซ้ำ","preview":"ดูตัวอย่าง","applyRedactions":"ทำการแก้ไข","markupAnnotationToolbar":"แถบเครื่องมือทำโน้ตมาร์กอัพ","documentViewport":"จุดชมวิวเอกสาร","redactionInProgress":"กำลังทำการแก้ไข","redactionModalDesc":"ระบุว่าเอกสารนี้มีการแก้ไข","commentAction":"ให้ความเห็น","printProgressModalDesc":"ระบุว่าเอกสารนี้กำลังถูกเตรียมเพื่อพิมพ์","printProgressModal":"กำลังพิมพ์","documentEditorDesc":"ทำการเปลี่ยนแปลงในเอกสารปัจจุบัน","reloadDocumentDialog":"ยืนยันการรีโหลดเอกสาร","reloadDocumentDialogDesc":"เพื่อเตรียมพร้อมผู้ใช้งานให้ยืนยันการรีโหลดเอกสาร","signatureDialog":"ลายเซ็น","signatureDialogDesc":"เพื่อให้คุณเลือกหมึกของลายเซ็นที่จะใส่ในเอกสาร หากคุณไม่ได้ทำลายเซ็นเก็บไว้ คุณสามารถสร้างขึ้นใหม่ได้ที่ช่องวาดรูป","stampAnnotationTemplatesDialog":"เทมเพล็ตแสตมป์โน้ต","stampAnnotationTemplatesDialogDesc":"เพื่อให้คุณเลือกเทมเพล็ตของแสตมป์โน้ตที่จะใส่ลงในเอกสาร หรือคุณสามารถสร้างแสตป์โน้ตด้วยข้อความของคุณเอง","selectedAnnotation":"ที่เลือกไว้ {arg0}","commentThread":"หัวข้อคอมเม้นท์","selectedAnnotationWithText":"ที่เลือกไว้ {arg0} ด้วย {arg1} เป็นคอนเทนต์","signature":"ลายเซ็น","ElectronicSignatures_SignHereTypeHint":"พิมพ์ลายเซ็นของคุณด้านบน","ElectronicSignatures_SignHereDrawHint":"ลงชื่อที่นี่","selectDragImage":"เลือกหรือลากรูปภาพ","replaceImage":"แทนที่รูปภาพ","draw":"วาด","image":"รูปภาพ","type":"พิมพ์","saveSignature":"บันทึกลายเซ็น","loading":"กำลังโหลด","selectedItem":"{arg0}, ที่เลือก","annotationDeleted":"โน้ตที่ลบแล้ว","newAnnotationCreated":"{arg0} โน้ตใหม่ที่สร้างแล้ว","bookmarkCreated":"ที่คั่นหน้าที่สร้างไว้","bookmarkEdited":"ที่คั่นหน้าที่แก้ไข","bookmarkDeleted":"ที่คั่นหน้าที่ลบแล้ว","cancelledEditingBookmark":"การแก้ไขที่คั่นหน้าที่ยกเลิก","selectAFileForImage":"เลือกไฟล์สำหรับการทำโน้ตรูปภาพใหม่","deleteAnnotationConfirmAccessibilityDescription":"บทสนทนาที่ให้คุณยืนยันหรือยกเลิกการลบโน้ต","deleteBookmarkConfirmAccessibilityDescription":"บทสนทนาที่ให้คุณยืนยันหรือยกเลิกการลบที่คั่นหน้า","deleteCommentConfirmAccessibilityDescription":"บทสนทนาที่ให้คุณยืนยันหรือยกเลิกการลบคอมเมนท์","resize":"ปรับขนาด","resizeHandleTop":"บน","resizeHandleBottom":"ล่าง","resizeHandleRight":"ขวา","resizeHandleLeft":"ซ้าย","cropCurrentPage":"ครอบตัดหน้าปัจจุบัน","cropCurrent":"ครอบตัดปัจจุบัน","cropAllPages":"ครอบตัดทั้งหน้า","cropAll":"ครอบตัดทั้งหมด","documentCrop":"ครอบตัดเอกสาร","Comparison_alignButtonTouch":"จัดตำแหน่ง","Comparison_selectPoint":"เลือกจุด","Comparison_documentOldTouch":"เก่า","Comparison_documentNewTouch":"ใหม่","Comparison_result":"เปรียบเทียบ","UserHint_description":"เลือกสามจุดในเอกสารทั้งสองสำหรับการจัดตำแหน่งด้วยตนเอง เพื่อผลลัพธ์ที่ดีที่สุด ให้เลือกจุดที่ใกล้กับมุมของเอกสาร เพื่อให้แน่ใจว่าจุดต่างๆ จะอยู่ในลำดับเดียวกันในเอกสารทั้งสองฉบับ","UserHint_dismissMessage":"ยกเลิก","Comparison_alignButton":"จัดตำแหน่งเอกสาร","documentComparison":"การเปรียบเทียบเอกสาร","Comparison_documentOld":"เอกสารเก่า","Comparison_documentNew":"เอกสารใหม่","Comparison_resetButton":"รีเซ็ต","UserHint_Select":"การเลือกจุด","numberValidationBadFormat":"ค่าที่ใส่ไม่ตรงกับฟอร์แมตของช่อง[{arg0}]","dateValidationBadFormat":"วัน/เวลาไม่ถูกต้อง กรุณาตรวจสอบวัน/เวลาที่ปรากฎอยู่ ช่อง[{arg0}]ควรตรงกับฟอร์แมต{arg1}","insertAfterPage":"แทรกหลังจากหน้า","docEditorMoveBeginningHint":"พิมพ์ “0” เพื่อย้ายหน้าที่เลือกไปยังจุดเริ่มต้นของเอกสาร","cloudyRectangleAnnotation":"เมฆสี่เหลี่ยมผืนผ้า","dashedRectangleAnnotation":"สี่เหลี่ยมผืนผ้าเส้นประ","cloudyEllipseAnnotation":"เมฆวงรี","dashedEllipseAnnotation":"วงรีเส้นประ","cloudyPolygonAnnotation":"เมฆหลายเหลี่ยม","dashedPolygonAnnotation":"หลายเหลี่ยมเส้นประ","cloudAnnotation":"เมฆ","rotateCounterclockwise":"หมุนทวนเข็มนาฬิกา","rotateClockwise":"หมุนตามเข็มนาฬิกา","enterDescriptionHere":"ใส่คำอธิบายที่นี่","addOption":"เพิ่มตัวเลือก","formDesignerPopoverTitle":"คุณสมบัติของ{formFieldType}","formFieldNameExists":"ชื่อที่ตั้งไว้สำหรับช่องฟอร์ม{formFieldName}นี้ได้ใช้ไปแล้ว โปรดเลือกชื่ออื่น","styleSectionLabel":"รูปแบบ{formFieldType}","formFieldName":"ชื่อช่องฟอร์ม","defaultValue":"ค่าเริ่มต้น","multiLine":"มัลติไลน์","radioButtonFormFieldNameWarning":"หากต้องการจัดกลุ่มปุ่มตัวเลือก ตรวจสอบให้แน่ใจว่าปุ่มเหล่านี้มีชื่อช่องฟอร์มเหมือนกัน","advanced":"ขั้นสูง","creatorName":"ชื่อผู้สร้าง","note":"หมายเหตุ","customData":"ข้อมูลที่กำหนดเอง","required":"จำเป็น","readOnly":"อ่านเท่านั้น","createdAt":"สร้างขึ้น","updatedAt":"อัพเดทเมื่อ","customDataErrorMessage":"ต้องเป็นออบเจ็กต์ JSON ธรรมดาที่แปลงได้","borderColor":"สีของเส้นขอบ","borderWidth":"ความกว้างของเส้นขอบ","borderStyle":"รูปแบบเส้นขอบ","solidBorder":"ต่อเนื่อง","dashed":"เส้นปรุ","beveled":"ขอบตัด","inset":"แทรก","underline":"ขีดเส้นใต้","textStyle":"รูปแบบข้อความ","fontSize":"ขนาดแบบอักษร","fontColor":"สีแบบอักษร","button":"ช่องของปุ่ม","textField":"ช่องใส่ข้อความ","radioField":"ช่องตัวเลือก","checkboxField":"ช่องติ๊ก","comboBoxField":"ช่องข้อมูลคอมโบ","listBoxField":"ช่องข้อมูลรายการ","signatureField":"ช่องลายเซ็น","formDesigner":"สร้างแบบฟอร์ม","buttonText":"ปุ่มข้อความ","notAvailable":"ไม่มี","label":"ฉลาก","value":"ค่า","cannotEditOnceCreated":"เมื่อสร้างแล้วไม่สามารถแก้ไขได้","formFieldNameNotEmpty":"ชื่อช่องแบบฟอร์มต้องไม่เว้นว่าง","mediaAnnotation":"โน้ตประกอบสื่อ","mediaFormatNotSupported":"เบราว์เซอร์นี้ไม่รองรับวิดีโอหรือเสียงที่ฝัง","distanceMeasurement":"ระยะห่าง","perimeterMeasurement":"เส้นรอบรูป","polygonAreaMeasurement":"พื้นที่รูปหลายเหลี่ยม","rectangularAreaMeasurement":"พื้นที่รูปสี่เหลี่ยม","ellipseAreaMeasurement":"พื้นที่วงรี","distanceMeasurementSettings":"การตั้งค่าขนาดระยะห่าง","perimeterMeasurementSettings":"การตั้งค่าขนาดเส้นรอบ","polygonAreaMeasurementSettings":"การตั้งค่าการวัดพื้นที่รูปหลายเหลี่ยม","rectangularAreaMeasurementSettings":"การตั้งค่าขนาดพื้นที่สี่เหลี่ยมผืนผ้า","ellipseAreaMeasurementSettings":"การตั้งค่าการวัดพื้นที่วงรี","measurementScale":"ขนาด","measurementCalibrateLength":"ปรับค่าความยาว","measurementPrecision":"ความแม่นยำ","measurementSnapping":"การสแนป","formCreator":"สร้างแบบฟอร์ม","group":"จัดกลุ่ม","ungroup":"แยกการจัดกลุ่ม","bold":"ตัวหนา","italic":"ตัวเอน","addLink":"เพิ่มลิงก์","removeLink":"ลบลิงก์","editLink":"แก้ไขลิงก์","anonymous":"นิรนาม","saveAndClose":"บันทึก & ปิด","ceToggleFontMismatchTooltip":"ทูลทิปเปลี่ยนแบบตัวอักษรที่ไม่ตรงกัน","ceFontMismatch":"แบบอักษร {arg0} ไม่พร้อมใช้งาน หรืไม่สามารถใช้ในการแก้ไขเนื้อหาในเอกสารนี้ เนื้อหาที่เพิ่มหรือเปลี่ยนแปลงจะเปลี่ยนกลับเป็นแบบอักษรเริ่มต้น","multiAnnotationsSelection":"เลือกโน้ตหลายรายการ","linkSettingsPopoverTitle":"การตั้งค่าลิงก์","linkTo":"ลิงก์ไปยัง","uriLink":"เว็บไซต์","pageLink":"หน้า","invalidPageNumber":"โปรดใส่หมายเลขหน้าที่ถูกต้อง","invalidPageLink":"กรุณาใส่ลิงก์ของหน้าที่ถูกต้อง","linkAnnotation":"ลิงก์","targetPageLink":"หมายเลขหน้า","rotation":"การหมุน","unlockDocumentDescription":"คุณต้องปลดล็อกเอกสารนี้เพื่อดู กรุณากรอกรหัสผ่านในช่องด้านล่าง","commentDialogClosed":"เปิดหัวข้อคอมเม้นท์ที่เริ่มต้นโดย {arg0}: “{arg1}”","moreComments":"ความคิดเห็นเพิ่มเติม","linesCount":"{arg0, plural,\\nother {{arg0} เส้น}\\n}","annotationsCount":"{arg0, plural,\\nother {หมายเหตุ {arg0} แห่ง}\\n=0 {ไม่มีหมายเหตุ}\\n}","pagesSelected":"{arg0, plural,\\nother {{arg0} หน้าที่เลือก}\\n}","commentsCount":"{arg0, plural,\\nother {{arg0} ข้อความ}\\n}","deleteNComments":"{arg0, plural,\\nother {{arg0} ข้อความ}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\nother {{arg0} คอมเม้นท์}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-tr-d32c7602d4f1459b.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-tr-d32c7602d4f1459b.js new file mode 100644 index 00000000..e569183e --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-tr-d32c7602d4f1459b.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[407],{18141:e=>{e.exports=JSON.parse('{"thumbnails":"Küçük Resimler","pageXofY":"Sayfa {arg0}/{arg1}","XofY":"{arg0} / {arg1}","prevPage":"Önceki Sayfa","nextPage":"Sonraki Sayfa","goToPage":"Sayfaya Git","gotoPageX":"{arg0}. sayfaya git","pageX":"Sayfa {arg0}","pageLayout":"Sayfa Düzeni","pageMode":"Sayfa Modu","pageModeSingle":"Tek","pageModeDouble":"Çift","pageModeAutomatic":"Otomatik","pageTransition":"Sayfa Geçişi","pageTransitionContinuous":"Sürekli","pageTransitionJump":"Atlamalı","pageRotation":"Sayfa Dönüşü","pageRotationLeft":"Sola Döndür","pageRotationRight":"Sağa Döndür","zoomIn":"Büyüt","zoomOut":"Küçült","marqueeZoom":"Seçim Çerçeve Aracı","panMode":"Pan Modu","fitPage":"Sayfaya Sığdır","fitWidth":"Genişliğe Sığdır","annotations":"Notlar","noAnnotations":"Not Yok","bookmark":"Yer İmi","bookmarks":"Yer İmleri","noBookmarks":"Yer İmi Yok","newBookmark":"Yeni Yer İmi","addBookmark":"Yer İmi Ekle","removeBookmark":"Yer İmini Sil","loadingBookmarks":"Yer İmleri Yükleniyor","deleteBookmarkConfirmMessage":"Bu yer imini silmek istediğinizden emin misiniz?","deleteBookmarkConfirmAccessibilityLabel":"Yer imini silmeyi onayla","annotation":"Not","noteAnnotation":"Not","textAnnotation":"Metin","inkAnnotation":"Çizim","highlightAnnotation":"Metin Vurgusu","underlineAnnotation":"Alt Çizgi","squiggleAnnotation":"Eğri","strikeOutAnnotation":"Üst Çizgi","print":"Yazdır","printPrepare":"Belge yazdırma için hazırlanıyor…","searchDocument":"Dökümanda Ara","searchPreviousMatch":"Geri","searchNextMatch":"Sonraki","searchResultOf":"{arg0} / {arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} araçları, menüyü aç/kapat","save":"Kaydet","edit":"Düzenle","delete":"Sil","close":"Kapat","cancel":"Vazgeç","ok":"Tamam","done":"Bitti","clear":"Temizle","date":"Tarih","time":"Saat","name":"Ad","color":"Renk","black":"Siyah","white":"Beyaz","blue":"Mavi","red":"Kırmızı","green":"Yeşil","orange":"Turuncu","lightOrange":"Açık Turuncu","yellow":"Sarı","lightYellow":"Açık Sarı","lightBlue":"Açık Mavi","lightRed":"Açık Kırmızı","lightGreen":"Açık Yeşil","fuchsia":"Fuşya","purple":"Mor","pink":"Pembe","mauve":"Eflatun","lightGrey":"Açık Gri","grey":"Gri","darkGrey":"Koyu Gri","noColor":"Hiçbiri","transparent":"Şeffaf","darkBlue":"Koyu Mavi","opacity":"Saydamlık","thickness":"Kalınlık","size":"Büyüklük","numberInPt":"{arg0} pt","font":"Fontlar","fonts":"Fontlar","allFonts":"Tüm Fontlar","alignment":"Hizalama","alignmentLeft":"Sol","alignmentRight":"Sağ","alignmentCenter":"Merkez","verticalAlignment":"Dikey Hizalama","horizontalAlignment":"Yatay Hizalama","top":"Yukarı","bottom":"Aşağı","deleteAnnotationConfirmMessage":"Bu not tamamen silinsin mi?","deleteAnnotationConfirmAccessibilityLabel":"Notu silmeyi onaylayın","fontFamilyUnsupported":"{arg0} (desteklenmiyor)","sign":"İmzala","signed":"İmzalandı","signatures":"İmzalar","addSignature":"İmza Ekle","clearSignature":"İmzayı Sil","storeSignature":"İmzayı Arşivle","pleaseSignHere":"Lütfen burayı imzalayın","signing":"İmzalanıyor…","password":"Şifre","unlock":"Kilidi Aç","passwordRequired":"Şifre Gerekiyor","unlockThisDocument":"Görmek için bu belgenin kilidini açmanız gerekiyor. Lütfen şifreyi aşağıdaki alana girin.","incorrectPassword":"Girmiş olduğunuz şifre geçersiz. Lütfen tekrar deneyin.","blendMode":"Karışım Modu","normal":"Normal","multiply":"Çoğalt","screenBlend":"Ekran","overlay":"Tabaka","darken":"Karart","lighten":"Aydınlat","colorDodge":"Renk Soldurma","colorBurn":"Renk Yakma","hardLight":"Güçlü Işık","softLight":"Yumuşak Işık","difference":"Fark","exclusion":"Dışla","multiple":"Çoklu","linecaps-dasharray":"Çizgi Stili","dasharray":"Çizgi Stili","startLineCap":"Satır Başlangıcı","strokeDashArray":"Çizgi Stili","endLineCap":"Satır Sonu","lineAnnotation":"Çizgi","rectangleAnnotation":"Dikdörtgen","ellipseAnnotation":"Elips","polygonAnnotation":"Poligon","polylineAnnotation":"Devamlı Çizgi","solid":"Düz","narrowDots":"İnce Nokta","wideDots":"Kalın Nokta","narrowDashes":"İnce Tire","wideDashes":"Kalın Tire","none":"Hiçbiri","square":"Kare","circle":"Daire","diamond":"Karo","openArrow":"Açık Ok","closedArrow":"Kapalı Ok","butt":"Uç","reverseOpenArrow":"Ters Açık Ok","reverseClosedArrow":"Ters Kapalı Ok","slash":"Bölme İşareti","fillColor":"Doldurma Rengi","cloudy":"Bulutlu","arrow":"Ok","filePath":"Dosya Yolu","unsupportedImageFormat":"Resim notları için desteklenmeyen format: {arg0}. Lütfen bir JPEG veya PNG kullanın.","noOutline":"Çerçeve Yok","outline":"Çerçeve","imageAnnotation":"Resim","selectImage":"Resim Seç","stampAnnotation":"Damga","highlighter":"Serbest Vurgu","textHighlighter":"Metin Vurgulayıcı","pen":"Çizim","eraser":"Silgi","export":"Dışa Aktar","useAnExistingStampDesign":"Mevcut bir damga tasarımı kullan","createStamp":"Damga Yarat","stampText":"Damga Metni","chooseColor":"Renk Seç","rejected":"Kabul Edilmedi","accepted":"Kabul Edildi","approved":"Onaylandı","notApproved":"Onaylanmadı","draft":"Taslak","final":"Son","completed":"Tamamlandı","confidential":"Gizli","forPublicRelease":"Genel Sürüm","notForPublicRelease":"Özel Sürüm","forComment":"Yorum","void":"Geçersiz","preliminaryResults":"Ön Sonuçlar","informationOnly":"Sadece Bilgi","initialHere":"Başharfler Buraya","signHere":"Burayı İmzala","witness":"Şahit","asIs":"Olduğu Gibi","departmental":"Birimsel","experimental":"Deneyimsel","expired":"Süresi Doldu","sold":"Satıldı","topSecret":"Çok Özel","revised":"Gözden Geçirildi","custom":"Özel","customStamp":"Kişisel Damga","icon":"Simge","iconRightPointer":"Sağ İşaretçi","iconRightArrow":"Sağ Ok","iconCheck":"Onay İşareti","iconCircle":"Elips","iconCross":"Çarpı","iconInsert":"Metin Ekle","iconNewParagraph":"Yeni Paragraf","iconNote":"Metin Notu","iconComment":"Yorum","iconParagraph":"Paragraf","iconHelp":"Yardım","iconStar":"Yıldız","iconKey":"Anahtar","documentEditor":"Belge Editörü","newPage":"Yeni Sayfa","removePage":"Sayfaları Sil","duplicatePage":"Çoğalt","rotatePageLeft":"Sola Döndür","rotatePageRight":"Sağa Döndür","moveBefore":"Öncesine Taşı","moveAfter":"Sonrasına Taşı","selectNone":"Hiçbirini Seçme","selectAll":"Tümünü Seç","saveAs":"Kaydet…","mergeDocument":"Belgeyi İçe Aktar","undo":"Geri Al","redo":"Yinele","openMoveDialog":"Taşı","move":"Taşı","instantModifiedWarning":"Belge değiştirilmiş olup, yalnızca okuma modunda. Düzeltmek için sayfayı yineleyin.","documentMergedHere":"Belge burada birleştirilecek","digitalSignaturesAllValid":"Bu belge dijital olarak imzalanmış olup tüm imzaları geçerlidir.","digitalSignaturesDocModified":"Bu belge dijital olarak imzalanmış ama imzalandıktan sonra değiştirilmiştir.","digitalSignaturesSignatureWarning":"Bu belge dijital olarak imzalanmış ama en az bir imzasında sorun bulunmaktadır.","digitalSignaturesSignatureWarningDocModified":"Bu belge dijital olarak imzalanmıştır ama imzalandıktan sonra değiştirilmiş olup en az bir imzasında sorun bulunmaktadır.","digitalSignaturesSignatureError":"Bu belge dijital olarak imzalanmış ama en az bir imzası geçersizdir.","digitalSignaturesSignatureErrorDocModified":"Bu belge dijital olarak imzalanmış ama imzalandıktan sonra değiştirilmiş olup en az bir imzası geçersizdir.","signingInProgress":"Giriş yapılıyor","signingModalDesc":"Mevcut belgenin imzalanmakta olduğunu belirtiyor","discardChanges":"Değişiklikleri Gözardı Et","commentEditorLabel":"Yorum ekleyin…","reply":"Yanıtla","comment":"Yorum","comments":"Yorumlar","showMore":"Daha fazla göster","showLess":"Daha az göster","deleteComment":"Yorumu Sil","deleteCommentConfirmMessage":"Bu yorumu silmek istediğinizden emin misiniz?","deleteCommentConfirmAccessibilityLabel":"Yorumu silmeyi onayla","editContent":"İçeriği düzenle","commentOptions":"Yorum seçenekleri","areaRedaction":"Alan Redaksiyonu","textRedaction":"Metin Redaksiyonu","redactionAnnotation":"Redaksiyon","applyingRedactions":"Redaksiyonlar uygulanıyor","overlayTextPlaceholder":"Tabaka metnini ekle","outlineColor":"Çerçeve Rengi","overlayText":"Dolgu Metni","repeatText":"Metin Tekrarlansın","preview":"Ön İzleme","applyRedactions":"Redaksiyonları Uygula","markupAnnotationToolbar":"Not işaretleme araç çubuğu","documentViewport":"Belge görünüm konumu","redactionInProgress":"Redaksiyon yapılıyor","redactionModalDesc":"Mevcut belgenin redakte edilmekte olduğunu gösteriyor","commentAction":"Yorum Ekle","printProgressModalDesc":"Belgenin yazdırmaya hazırlanmakta olduğunu gösteriyor","printProgressModal":"Yazdırılıyor","documentEditorDesc":"Mevcut belgeyi değiştirin","reloadDocumentDialog":"Belge yenilemeyi onayla","reloadDocumentDialogDesc":"Belge yenilenmesinin onaylaması için beliren diyalog.","signatureDialog":"İmza","signatureDialogDesc":"Bu diyalog belgeye bir mürekkep imzası seçmenizi sağlıyor. Eğer kayıtlı imzalarınız yoksa kanvas görünümünü kullanarak bir tane oluşturabilirsiniz.","stampAnnotationTemplatesDialog":"Damga Not Şablonları","stampAnnotationTemplatesDialogDesc":"Bu diyalog belgeye bir damga notu seçmenizi veya kendi metninizden özel damga notu oluşturmanızı sağlıyor.","selectedAnnotation":"Seçili {arg0}","commentThread":"Yorumlar","selectedAnnotationWithText":"İçerik olarak {arg0} ile seçili {arg1}","signature":"İmza","ElectronicSignatures_SignHereTypeHint":"İmzanızı Yukarı Girin","ElectronicSignatures_SignHereDrawHint":"Burayı İmzala","selectDragImage":"Bir Resim Seç veya Sürükle","replaceImage":"Resmi Değiştir","draw":"Çiz","image":"Resim","type":"Yaz","saveSignature":"İmzayı Kaydet","loading":"Yükleniyor","selectedItem":"{arg0}, seçili.","annotationDeleted":"Not silindi.","newAnnotationCreated":"Yeni {arg0} notu oluşturuldu.","bookmarkCreated":"Yer imi oluşturuldu.","bookmarkEdited":"Yer imi düzenlendi.","bookmarkDeleted":"Yer imi silindi.","cancelledEditingBookmark":"Yer imi düzenlenmesinden vazgeçildi.","selectAFileForImage":"Yeni foto notu için bir dosya seçin.","deleteAnnotationConfirmAccessibilityDescription":"Not silmeyi onaylayacağınız veya ondan vazgeçeceğiniz diyalog.","deleteBookmarkConfirmAccessibilityDescription":"Yer imi silmeyi onaylayacağınız veya ondan vazgeçeceğiniz diyalog.","deleteCommentConfirmAccessibilityDescription":"Yorum silmeyi onaylayacağınız veya ondan vazgeçeceğiniz diyalog.","resize":"Yeniden Boyutlandır","resizeHandleTop":"En Üst","resizeHandleBottom":"En Alt","resizeHandleRight":"Sağ","resizeHandleLeft":"Sol","cropCurrentPage":"Mevcut Sayfayı Kırp","cropCurrent":"Mevcudu Kırp","cropAllPages":"Tüm Sayfaları Kırp","cropAll":"Tümünü Kırp","documentCrop":"Belgeyi Kırp","Comparison_alignButtonTouch":"Hizala","Comparison_selectPoint":"Nokta Seç","Comparison_documentOldTouch":"Eski","Comparison_documentNewTouch":"Yeni","Comparison_result":"Karşılaştırma","UserHint_description":"Elle hizalamak için her iki belgenizde üç nokta seçin. İdeal performans için noktaları her iki belgede de aynı hizada olacak şekilde belge köşelerine yakın yerlerden seçin.","UserHint_dismissMessage":"Kapat","Comparison_alignButton":"Belgeleri Hizala","documentComparison":"Belge Karşılaştırma","Comparison_documentOld":"Eski Belge","Comparison_documentNew":"Yeni Belge","Comparison_resetButton":"Sıfırla","UserHint_Select":"Noktalar Seçimi","numberValidationBadFormat":"Girilen değer, [{arg0}] kısmından beklenen formatla uyuşmuyor","dateValidationBadFormat":"Geçersiz tarih/zaman: lütfen gün/zaman bilgisini girin. [{arg0}] alanı {arg1} formatıyla uyuşmak zorunda","insertAfterPage":"Sayfadan sonra ekle","docEditorMoveBeginningHint":"“0” yazarak seçili sayfa veya sayfaları belgenin başına taşıyın.","cloudyRectangleAnnotation":"Bulutlu Dikdörtgen","dashedRectangleAnnotation":"Kesik Çizgili Dikdörtgen","cloudyEllipseAnnotation":"Bulutlu Elips","dashedEllipseAnnotation":"Kesik Çizgili Elips","cloudyPolygonAnnotation":"Bulutlu Poligon","dashedPolygonAnnotation":"Kesik Çizgili Poligon","cloudAnnotation":"Bulut","rotateCounterclockwise":"Saat yönünün tersine döndür","rotateClockwise":"Saat yönüne döndür","enterDescriptionHere":"Açıklamayı buraya girin","addOption":"Seçenek ekle","formDesignerPopoverTitle":"{formFieldType} Özellikleri","formFieldNameExists":"{formFieldName} adlı bir form alanı zaten var. Lütfen farklı bir ad seçin.","styleSectionLabel":"{formFieldType} Stili","formFieldName":"Form Alanı Adı","defaultValue":"Saptanmış Değer","multiLine":"Çok satırlı","radioButtonFormFieldNameWarning":"Radyo düğmelerini gruplandırmak için aynı form alanı adlarına sahip olduklarından emin olun.","advanced":"Gelişmiş Ayarlar","creatorName":"Oluşturanın Adı","note":"Not","customData":"Özel Veriler","required":"Zorunlu","readOnly":"Salt Okunur","createdAt":"Oluşturulma Tarihi","updatedAt":"Güncellenme Tarihi","customDataErrorMessage":"Yalın JSON-serilenebilir bir nesne olmalıdır","borderColor":"Kenarlık Rengi","borderWidth":"Kenarlık Kalınlığı","borderStyle":"Kenarlık Stili","solidBorder":"Sürekli","dashed":"Kesikli","beveled":"Eğimli","inset":"İç Metin","underline":"Altı Çizgili","textStyle":"Metin Stili","fontSize":"Yazı Tipi Boyutu","fontColor":"Yazı Tipi Rengi","button":"Düğme Alanı","textField":"Metin Alanı","radioField":"Radyo Alanı","checkboxField":"Onay Kutusu Alanı","comboBoxField":"Açılır Kutu Alanı","listBoxField":"Liste Kutusu Alanı","signatureField":"İmza Alanı","formDesigner":"Form Oluşturucu","buttonText":"Düğme Metni","notAvailable":"Yok","label":"Etiket","value":"Değer","cannotEditOnceCreated":"Oluşturulduktan sonra düzenlenemez.","formFieldNameNotEmpty":"Form alanı adı boş bırakılamaz.","mediaAnnotation":"Medya Notu","mediaFormatNotSupported":"Bu tarayıcı gömülü video veya sesleri desteklemiyor.","distanceMeasurement":"Mesafe","perimeterMeasurement":"Çevre","polygonAreaMeasurement":"Çokgenin Alanı","rectangularAreaMeasurement":"Dikdörtgenin Alanı","ellipseAreaMeasurement":"Elipsin Alanı","distanceMeasurementSettings":"Mesafe ölçüm ayarları","perimeterMeasurementSettings":"Çevre ölçüm ayarları","polygonAreaMeasurementSettings":"Çokgen alan ölçüm ayarları","rectangularAreaMeasurementSettings":"Dikdörtgen alan ölçüm ayarları","ellipseAreaMeasurementSettings":"Elips alan ölçüm ayarları","measurementScale":"Ölçek","measurementCalibrateLength":"Uzunluğu Kalibre Et","measurementPrecision":"Hassasiyet","measurementSnapping":"Tutunma","formCreator":"Form Oluşturucu","group":"Grupla","ungroup":"Grubu Kaldır","bold":"Kalın","italic":"İtalik","addLink":"Bağlantı Ekle","removeLink":"Bağlantıyı Kaldır","editLink":"Bağlatıyı Düzenle","anonymous":"Anonim","saveAndClose":"Kaydet ve kapat","ceToggleFontMismatchTooltip":"Yazı tipi uyumsuzluğu araç ipucunu aç/kapat","ceFontMismatch":"{arg0} yazı tipi yok veya bu belgede içerik düzenlemek için kullanılamıyor. Eklenen veya değiştirilen içerikler varsayılan bir yazı tipine dönüştürülecek.","multiAnnotationsSelection":"Birden çok not seç","linkSettingsPopoverTitle":"Bağlantı Ayarları","linkTo":"Şuraya bağlan:","uriLink":"Web sitesi","pageLink":"Sayfa","invalidPageNumber":"Geçerli bir sayfa numarası girin.","invalidPageLink":"Geçerli bir sayfa bağlantısı girin.","linkAnnotation":"Bağlantı","targetPageLink":"Sayfa Numarası","rotation":"Döndürme","unlockDocumentDescription":"Görmek için bu belgenin kilidini açmanız gerekiyor. Lütfen şifreyi aşağıdaki alana girin.","commentDialogClosed":"{arg0} tarafından başlatılan yorum dizisini aç: \\"{arg1}\\"","moreComments":"Daha fazla yorum","linesCount":"{arg0, plural,\\none {{arg0} çizgi}\\nother {{arg0} çizgi}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} not}\\nother {{arg0} not}\\n=0 {Not Yok}\\n}","pagesSelected":"{arg0, plural,\\none {{arg0} sayfa seçildi}\\nother {{arg0} sayfa seçildi}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} yorum}\\nother {{arg0} yorum}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} yorum}\\nother {{arg0} yorum}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {{arg0} fazla yorum}\\nother {{arg0} fazla yorum}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-uk-c1c05f3187410434.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-uk-c1c05f3187410434.js new file mode 100644 index 00000000..ce480e4f --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-uk-c1c05f3187410434.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[3095],{76911:e=>{e.exports=JSON.parse('{"thumbnails":"Мініатюри","pageXofY":"Сторінка {arg0} з {arg1}","XofY":"{arg0} з {arg1}","prevPage":"Попередня сторінка","nextPage":"Наступна сторінка","goToPage":"Перейти на сторінку","gotoPageX":"Перейти на сторінку {arg0}","pageX":"Сторінка {arg0}","pageLayout":"Розкладка сторінки","pageMode":"Режим сторінок","pageModeSingle":"По одній","pageModeDouble":"Дві сторінки","pageModeAutomatic":"Автоматично","pageTransition":"Перехід між сторінками","pageTransitionContinuous":"Безперервний","pageTransitionJump":"Стрибок","pageRotation":"Повернути сторінки","pageRotationLeft":"Повернути ліворуч","pageRotationRight":"Повернути праворуч","zoomIn":"Збільшити","zoomOut":"Зменшити","marqueeZoom":"Область масштабування","panMode":"Режим панорами","fitPage":"Масштабування по сторінці","fitWidth":"Масштабування по ширині","annotations":"Примітки","noAnnotations":"Немає приміток","bookmark":"Закладка","bookmarks":"Закладки","noBookmarks":"Немає закладок","newBookmark":"Нова закладка","addBookmark":"Додати закладку","removeBookmark":"Видалити закладку","loadingBookmarks":"Завантаження закладок","deleteBookmarkConfirmMessage":"Видалити цю закладку?","deleteBookmarkConfirmAccessibilityLabel":"Підтвердити видалення закладки","annotation":"Примітка","noteAnnotation":"Примітка","textAnnotation":"Текст","inkAnnotation":"Малюнок","highlightAnnotation":"Виділення тексту","underlineAnnotation":"Підкреслити","squiggleAnnotation":"Хвилясте","strikeOutAnnotation":"Закреслення","print":"Друк","printPrepare":"Готуємо документ до друку…","searchDocument":"Шукати в документі","searchPreviousMatch":"Попередня","searchNextMatch":"Наступна","searchResultOf":"{arg0} з {arg1}","accessibilityLabelDropdownGroupToggle":"інструменти {arg0}, увімкнути меню","save":"Зберегти","edit":"Редагувати","delete":"Видалити","close":"Закрити","cancel":"Скасувати","ok":"ОК","done":"Готово","clear":"Очистити","date":"Дата","time":"Час","name":"Ім\'я","color":"Колір","black":"Чорний","white":"Білий","blue":"Синій","red":"Червоний","green":"Зелений","orange":"Помаранчевий","lightOrange":"Світло-помаранчевий","yellow":"Жовтий","lightYellow":"Світло-жовтий","lightBlue":"Блакитний","lightRed":"Рожевий","lightGreen":"Світло-зелений","fuchsia":"Фуксія","purple":"Фіолетовий","pink":"Рожевий","mauve":"Бузковий","lightGrey":"Світло-сірий","grey":"Сірий","darkGrey":"Темно-сірий","noColor":"Немає","transparent":"Прозорий","darkBlue":"Темно-синій","opacity":"Непрозорість","thickness":"Товщина","size":"Розмір","numberInPt":"{arg0} пт","font":"Шрифт","fonts":"Шрифти","allFonts":"Всі шрифти","alignment":"Вирівнювання","alignmentLeft":"Ліво","alignmentRight":"Право","alignmentCenter":"Центр","verticalAlignment":"Вертикальне вирівнювання","horizontalAlignment":"Горизонтальне вирівнювання","top":"Верх","bottom":"Низ","deleteAnnotationConfirmMessage":"Видалити цю примітку?","deleteAnnotationConfirmAccessibilityLabel":"Підтвердити видалення примітки","fontFamilyUnsupported":"«{arg0}» не підтримується","sign":"Підписати","signed":"Підписано","signatures":"Підписи","addSignature":"Додати підпис","clearSignature":"Видалити підпис","storeSignature":"Зберегти підпис","pleaseSignHere":"Будь-ласка підпишіть тут","signing":"Підписання…","password":"Пароль","unlock":"Розблокувати","passwordRequired":"Потрібний пароль","unlockThisDocument":"Потрібно розблокувати цей документ для перегляду. Введіть пароль нижче.","incorrectPassword":"Введено неправильний пароль. Спробуйте ще раз.","blendMode":"Режим накладання","normal":"Звичайний","multiply":"Множення","screenBlend":"Освітлення","overlay":"Перекриття","darken":"Затемнення","lighten":"Заміна світлим","colorDodge":"Освітлення основи","colorBurn":"Затемнення основи","hardLight":"Направлене світло","softLight":"Розсіяне світло","difference":"Різниця","exclusion":"Виключення","multiple":"Декілька режимів","linecaps-dasharray":"Стиль лінії","dasharray":"Стиль лінії","startLineCap":"Початок лінії","strokeDashArray":"Стиль лінії","endLineCap":"Кінець лінії","lineAnnotation":"Лінія","rectangleAnnotation":"Прямокутник","ellipseAnnotation":"Еліпс","polygonAnnotation":"Полігон","polylineAnnotation":"Ламана лінія","solid":"Безперервний","narrowDots":"Вузькі крапки","wideDots":"Широкі крапки","narrowDashes":"Вузький пунктир","wideDashes":"Широкий пунктир","none":"Немає","square":"Квадрат","circle":"Круг","diamond":"Діамант","openArrow":"Відкрита стрілка","closedArrow":"Закрита стрілка","butt":"Кнопка","reverseOpenArrow":"Зворотня відкрита стрілка","reverseClosedArrow":"Зворотня закрита стрілка","slash":"Коса риска","fillColor":"Колір заливки","cloudy":"Хмарка","arrow":"Стрілка","filePath":"Шлях до файлу","unsupportedImageFormat":"Цей тип зображень-приміток не підтримується: {arg0}. Будь ласка, оберіть файл JPEG або PNG.","noOutline":"Без змісту","outline":"Зміст","imageAnnotation":"Зображення","selectImage":"Обрати зображення","stampAnnotation":"Штамп","highlighter":"Вільне виділення","textHighlighter":"Виділення тексту","pen":"Малюнок","eraser":"Гумка","export":"Експортувати","useAnExistingStampDesign":"Використати існуючий дизайн","createStamp":"Створити штамп","stampText":"Штамп тексту","chooseColor":"Виберіть колір","rejected":"Відхилено","accepted":"Прийнято","approved":"Затверджено","notApproved":"Не затверджено","draft":"Проект","final":"Фінал","completed":"Завершено","confidential":"Конфіденційно","forPublicRelease":"Для широкого розповсюдження","notForPublicRelease":"Не для широкого розповсюдження","forComment":"Для коментарів","void":"Пустота","preliminaryResults":"Попередні результати","informationOnly":"Лише інформація","initialHere":"Ініціали","signHere":"Підписувати тут","witness":"Свідок","asIs":"Як є","departmental":"Відомчий","experimental":"Експериментальний","expired":"Прострочений","sold":"Продано","topSecret":"Цілком таємно","revised":"Переглянуто","custom":"Користувацькі","customStamp":"Власний штамп","icon":"Іконка","iconRightPointer":"Правий покажчик","iconRightArrow":"Стрілка вправо","iconCheck":"Позначка","iconCircle":"Еліпс","iconCross":"Хрестик","iconInsert":"Вставити текст","iconNewParagraph":"Новий абзац","iconNote":"Текстова примітка","iconComment":"Коментар","iconParagraph":"Абзац","iconHelp":"Довідка","iconStar":"Зірка","iconKey":"Ключ","documentEditor":"Редактор документа","newPage":"Нова сторінка","removePage":"Видалити сторінки","duplicatePage":"Створити копію","rotatePageLeft":"Повернути ліворуч","rotatePageRight":"Повернути праворуч","moveBefore":"Перемістити наперед","moveAfter":"Перемістити назад","selectNone":"Не обирати жодного","selectAll":"Обрати все","saveAs":"Зберегти як…","mergeDocument":"Імпортувати документ","undo":"Скасувати","redo":"Повторити","openMoveDialog":"Перемістити","move":"Перемістити","instantModifiedWarning":"Документ було змінено і тепер він може використовуватися лише у режимі читання. Перезавантажте сторінку, щоб виправити цю помилку.","documentMergedHere":"Документи будуть поєднані тут","digitalSignaturesAllValid":"Документ було підписано за допомогою електронного підпису — усі підписи дійсні.","digitalSignaturesDocModified":"Документ було підписано за допомогою електронного підпису, однак існують зміни, які були зроблені пізніше.","digitalSignaturesSignatureWarning":"Документ було підписано за допомогою електронного підпису, однак існують проблемі з щонайменше одним підписом.","digitalSignaturesSignatureWarningDocModified":"Документ було підписано за допомогою електронного підпису, однак існують зміни, які були зроблені пізніше, та проблемі з щонайменше одним підписом.","digitalSignaturesSignatureError":"Документ було підписано за допомогою електронного підпису, однак щонайменше один підпис недійсний.","digitalSignaturesSignatureErrorDocModified":"Документ було підписано за допомогою електронного підпису, однак існують зміни, які були зроблені пізніше, та щонайменше один підпис недійсний.","signingInProgress":"Підписуємо...","signingModalDesc":"Показує, що цей документ підписується","discardChanges":"Скасувати зміни","commentEditorLabel":"Додати","reply":"Відповісти","comment":"Коментар","comments":"Коментарі","showMore":"Показати більше","showLess":"Показати менше","deleteComment":"Видалити примітку","deleteCommentConfirmMessage":"Ви насправді хочете видалити цей коментар?","deleteCommentConfirmAccessibilityLabel":"Підтвердити видалення коментару","editContent":"Редагування контенту","commentOptions":"Опції коментарів","areaRedaction":"Редагування зони","textRedaction":"Редагування тексту","redactionAnnotation":"Редагування","applyingRedactions":"Редагування виконується","overlayTextPlaceholder":"Введіть текст перекриття","outlineColor":"Колір контуру","overlayText":"Перекрити текстом","repeatText":"Повторити текст","preview":"Попередній перегляд","applyRedactions":"Застосувати редагування","markupAnnotationToolbar":"Спливаюча панель приміток","documentViewport":"Вікно перегляду документу","redactionInProgress":"Виконується редагування","redactionModalDesc":"Показує, що документ редагується","commentAction":"Коментувати","printProgressModalDesc":"Показує, що документ готується до друку","printProgressModal":"Друкуємо","documentEditorDesc":"Внести зміни до цього документу","reloadDocumentDialog":"Підтвердити перезавантаження документу","reloadDocumentDialogDesc":"Діалог, що викликає підтверждення користувачем перезавантаження документу.","signatureDialog":"Підпис","signatureDialogDesc":"Цей діалог дозволяє обрати підпис чорнилами та вставити його в документ. Якщо ви ще не маєте збереженого підпису, ви можете створити його на полотні.","stampAnnotationTemplatesDialog":"Шаблон штампів-приміток","stampAnnotationTemplatesDialogDesc":"Цей діалог дозволяє обрати штамп-примітку та вставити її в документ або створити власну штамп-примітку з власним текстом.","selectedAnnotation":"Обрано {arg0}","commentThread":"Ланцюжок коментарів","selectedAnnotationWithText":"Обрано {arg0} з контентом {arg1}","signature":"Підпис","ElectronicSignatures_SignHereTypeHint":"Наберіть підпис вище","ElectronicSignatures_SignHereDrawHint":"Підпішіться тут","selectDragImage":"Обрати або перетягти зображення","replaceImage":"Замінити зображення","draw":"Малювати","image":"Зображення","type":"Набирати","saveSignature":"Зберегти підпис","loading":"Завантаження","selectedItem":"Обрано {arg0}.","annotationDeleted":"Примітка видалена.","newAnnotationCreated":"Нова {arg0} примітка створена.","bookmarkCreated":"Закладка створена.","bookmarkEdited":"Закладка відредагована.","bookmarkDeleted":"Закладка видалена.","cancelledEditingBookmark":"Редагування закладки відмінено.","selectAFileForImage":"Оберіть файл для нової примітки-зображення.","deleteAnnotationConfirmAccessibilityDescription":"Діалог, що дозволяє вам підтвердити чи відмінити видалення примітки.","deleteBookmarkConfirmAccessibilityDescription":"Діалог, що дозволяє вам підтвердити чи відмінити видалення закладки.","deleteCommentConfirmAccessibilityDescription":"Діалог, що дозволяє вам підтвердити чи відмінити видалення коментара.","resize":"Змінити розмір","resizeHandleTop":"Угорі","resizeHandleBottom":"Унизу","resizeHandleRight":"Справа","resizeHandleLeft":"Зліва","cropCurrentPage":"Підрізати поточну сторінку","cropCurrent":"Підрізати поточне","cropAllPages":"Підрізати всі сторінки","cropAll":"Підрізати всі","documentCrop":"Підрізати документ","Comparison_alignButtonTouch":"Вирівняти","Comparison_selectPoint":"Обрати точку","Comparison_documentOldTouch":"Попередній","Comparison_documentNewTouch":"Новий","Comparison_result":"Порівняння","UserHint_description":"Оберіть три точки обох документів для вирівнювання вручну. Для отримання найліпших результатів оберіть точки біля кутів документів та перевірте, що точки встановлені в однаковому порядку.","UserHint_dismissMessage":"Закрити","Comparison_alignButton":"Вирівняти документи","documentComparison":"Порівняння документів","Comparison_documentOld":"Попередній документ","Comparison_documentNew":"Новий документ","Comparison_resetButton":"Скинути","UserHint_Select":"Обрання точок","numberValidationBadFormat":"Введене значення не відповідає формату поля [{arg0}]","dateValidationBadFormat":"Неправильна дата/час: перевірте, що така дата/час існують Поле [{arg0}] має відповідати формату {arg1}","insertAfterPage":"Вставити після сторінки","docEditorMoveBeginningHint":"Введіть “0” для переміщення обраної сторінки чи сторінок до початку документу.","cloudyRectangleAnnotation":"Хмарний прямокутник","dashedRectangleAnnotation":"Пунктирний прямокутник","cloudyEllipseAnnotation":"Хмарний овал","dashedEllipseAnnotation":"Пунктирний овал","cloudyPolygonAnnotation":"Хмарний багатокутник","dashedPolygonAnnotation":"Пунктирний багатокутний","cloudAnnotation":"Хмара","rotateCounterclockwise":"Повернути проти стрілки годинника","rotateClockwise":"Повернути за стрілкою годинника","enterDescriptionHere":"Введіть опис тут","addOption":"Додати варіант","formDesignerPopoverTitle":"Властивості полю \\"{formFieldType}\\"","formFieldNameExists":"Поле форми з назвою \\"{formFieldName}\\" вже існує. Оберіть іншу назву.","styleSectionLabel":"Стиль полю \\"{formFieldType}\\"","formFieldName":"Назва полю форми","defaultValue":"Значення за замовчанням","multiLine":"Декілька рядків","radioButtonFormFieldNameWarning":"Для групування кнопок радіо вони потребують однакову назву полю форми.","advanced":"Додатково","creatorName":"Ім\'я автору","note":"Примітка","customData":"Спеціальні дані","required":"Обов\'язкове","readOnly":"Лише для читання","createdAt":"Створено","updatedAt":"Обновлено","customDataErrorMessage":"Лише серіалізуємий об\'єкт JSON","borderColor":"Колір межі","borderWidth":"Ширина межі","borderStyle":"Стиль межі","solidBorder":"Суцільна","dashed":"Штрихова","beveled":"Скошена","inset":"Вкладена","underline":"Підкреслення","textStyle":"Стиль тексту","fontSize":"Розмір шрифту","fontColor":"Колір шрифту","button":"Поле кнопки","textField":"Текстове поле","radioField":"Поле радіо","checkboxField":"Кнопка-прапорець","comboBoxField":"Поле з комбінованим списком","listBoxField":"Поле зі списком","signatureField":"Поле підпису","formDesigner":"Створювач форм","buttonText":"Текст кнопки","notAvailable":"N/A","label":"Позначка","value":"Значення","cannotEditOnceCreated":"Неможливо редагувати після створення.","formFieldNameNotEmpty":"Назва полю форми не може бути порожня.","mediaAnnotation":"Примітка-медіафайл","mediaFormatNotSupported":"Цей браузер не підтримує вбудовані відео чи аудіофайли.","distanceMeasurement":"Відстань","perimeterMeasurement":"Периметр","polygonAreaMeasurement":"Площа многокутника","rectangularAreaMeasurement":"Площа прямокутника","ellipseAreaMeasurement":"Площа елiпсу","distanceMeasurementSettings":"Налаштування вимірювань відстані","perimeterMeasurementSettings":"Налаштування вимірювань периметру","polygonAreaMeasurementSettings":"Налаштування вимірювань площі многокутника","rectangularAreaMeasurementSettings":"Налаштування вимірювань площі прямокутника","ellipseAreaMeasurementSettings":"Налаштування вимірювань площі еліпсу","measurementScale":"Масштаб","measurementCalibrateLength":"Калібрувати довжину","measurementPrecision":"Точність","measurementSnapping":"Прив’язка","formCreator":"Створювач форм","group":"Згрупувати","ungroup":"Розгрупувати","bold":"Жирний","italic":"Курсив","addLink":"Додати посилання","removeLink":"Видалити посилання","editLink":"Редагувати посилання","anonymous":"Анонімний користувач","saveAndClose":"Зберегти та закрити","ceToggleFontMismatchTooltip":"Перемикач підказки про розузгодження шрифту","ceFontMismatch":"Шрифт \\"{arg0}\\" зараз недоступний або ви не можете використовувати його задля редагування контенту в цьому документі. Доданий або змінений контент буде змінено до шрифту за замовчуванням.","multiAnnotationsSelection":"Обрати декілька приміток","linkSettingsPopoverTitle":"Налаштування посилання","linkTo":"Посилання до","uriLink":"Веб-сайт","pageLink":"Сторінка","invalidPageNumber":"Введіть дійсний номер сторінки.","invalidPageLink":"Введіть дійсне посилання до сторінки.","linkAnnotation":"Посилання","targetPageLink":"Номер сторінки","rotation":"Обертання","unlockDocumentDescription":"Потрібно розблокувати цей документ для перегляду. Введіть пароль нижче.","commentDialogClosed":"Відкрити ланцюжок коментарів, початий {arg0}: «{arg1}»","moreComments":"Більше коментарів","linesCount":"{arg0, plural,\\none {{arg0} лінія}\\nfew {{arg0} лінії}\\nmany {{arg0} ліній}\\nother {{arg0} лінії}\\n}","annotationsCount":"{arg0, plural,\\none {{arg0} анотація}\\nfew {{arg0} анотації}\\nmany {{arg0} анотацій}\\nother {{arg0} анотації}\\n=0 {Немає анотацій}\\n}","pagesSelected":"{arg0, plural,\\none {Обрана {arg0} сторінка}\\nfew {Обрано {arg0} сторінки}\\nmany {Обрано {arg0} сторінок}\\nother {Обрано {arg0} сторінки}\\n}","commentsCount":"{arg0, plural,\\none {{arg0} коментар}\\nfew {{arg0} коментарі}\\nmany {{arg0} коментарів}\\nother {{arg0} коментарі}\\n}","deleteNComments":"{arg0, plural,\\none {{arg0} коментар}\\nfew {{arg0} коментарі}\\nmany {{arg0} коментарів}\\nother {{arg0} коментарі}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\none {Ще {arg0} коментар}\\nfew {Ще {arg0} коментари}\\nmany {Ще {arg0} коментарів}\\nother {Ще {arg0} коментари}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-zh-Hans-c673c073e2725bba.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-zh-Hans-c673c073e2725bba.js new file mode 100644 index 00000000..693af4b4 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-zh-Hans-c673c073e2725bba.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[6678],{47224:e=>{e.exports=JSON.parse('{"thumbnails":"缩略图","pageXofY":"第 {arg0}/{arg1} 页","XofY":"{arg0}/{arg1}","prevPage":"上一页","nextPage":"下一页","goToPage":"前往页面","gotoPageX":"前往第 {arg0} 页","pageX":"第 {arg0} 页","pageLayout":"页面布局","pageMode":"页面模式","pageModeSingle":"单页","pageModeDouble":"双页","pageModeAutomatic":"自动","pageTransition":"页面过渡","pageTransitionContinuous":"连续","pageTransitionJump":"跳转","pageRotation":"页面旋转","pageRotationLeft":"向左旋转","pageRotationRight":"向右旋转","zoomIn":"放大","zoomOut":"缩小","marqueeZoom":"选框工具","panMode":"平移模式","fitPage":"适配页面","fitWidth":"适配宽度","annotations":"批注","noAnnotations":"没有批注","bookmark":"书签","bookmarks":"书签","noBookmarks":"没有书签","newBookmark":"新建书签","addBookmark":"添加书签","removeBookmark":"移除书签","loadingBookmarks":"加载书签","deleteBookmarkConfirmMessage":"您确定要删除此书签吗?","deleteBookmarkConfirmAccessibilityLabel":"确认删除书签","annotation":"批注","noteAnnotation":"注释","textAnnotation":"文本","inkAnnotation":"绘画","highlightAnnotation":"文本高亮显示","underlineAnnotation":"下划线","squiggleAnnotation":"波形曲线","strikeOutAnnotation":"删去","print":"打印","printPrepare":"正在准备打印文稿…","searchDocument":"搜索文稿","searchPreviousMatch":"上一页","searchNextMatch":"下一步","searchResultOf":"{arg0}/{arg1}","accessibilityLabelDropdownGroupToggle":"{arg0} 个工具,切换菜单","save":"保存","edit":"编辑","delete":"删除","close":"关闭","cancel":"取消","ok":"好","done":"完成","clear":"清除","date":"日期","time":"时间","name":"姓名","color":"颜色","black":"黑色","white":"白色","blue":"蓝色","red":"红色","green":"绿色","orange":"橙色","lightOrange":"浅橙色","yellow":"黄色","lightYellow":"浅黄色","lightBlue":"浅蓝色","lightRed":"浅红色","lightGreen":"浅绿色","fuchsia":"紫红色","purple":"紫色","pink":"粉色","mauve":"淡紫色","lightGrey":"浅灰色","grey":"灰色","darkGrey":"深灰色","noColor":"无","transparent":"透明","darkBlue":"深蓝","opacity":"不透明度","thickness":"粗细","size":"大小","numberInPt":"{arg0} 磅","font":"字体","fonts":"字体","allFonts":"所有字体","alignment":"对齐","alignmentLeft":"剩下","alignmentRight":"右转","alignmentCenter":"中心","verticalAlignment":"垂直对齐","horizontalAlignment":"水平对齐","top":"顶部","bottom":"底部","deleteAnnotationConfirmMessage":"您确定要删除此批注吗?","deleteAnnotationConfirmAccessibilityLabel":"确认删除批注","fontFamilyUnsupported":"{arg0}(不支持)","sign":"签名","signed":"已签名","signatures":"签名","addSignature":"添加签名","clearSignature":"清除签名","storeSignature":"存储签名","pleaseSignHere":"请在这里签名","signing":"正在签署…","password":"密码","unlock":"解锁","passwordRequired":"需要密码","unlockThisDocument":"您必须解锁此文稿才能查看。请在下方字段输入密码。","incorrectPassword":"您输入的密码不正确。请重试。","blendMode":"混合模式","normal":"正常","multiply":"正片叠底","screenBlend":"滤色","overlay":"叠层","darken":"变暗","lighten":"变亮","colorDodge":"颜色减淡","colorBurn":"颜色加深","hardLight":"强光","softLight":"柔光","difference":"差异","exclusion":"排除","multiple":"混合","linecaps-dasharray":"线型","dasharray":"线型","startLineCap":"直线起点","strokeDashArray":"线型","endLineCap":"直线终点","lineAnnotation":"直线","rectangleAnnotation":"矩形","ellipseAnnotation":"椭圆","polygonAnnotation":"多边形","polylineAnnotation":"折线","solid":"实线","narrowDots":"窄点","wideDots":"宽点","narrowDashes":"窄虚线","wideDashes":"宽虚线","none":"无","square":"方框","circle":"圆圈","diamond":"菱形","openArrow":"开放箭头","closedArrow":"闭合箭头","butt":"对接","reverseOpenArrow":"倒转开放箭头","reverseClosedArrow":"倒转闭合箭头","slash":"斜线","fillColor":"填充颜色","cloudy":"模糊","arrow":"箭头","filePath":"文件路径","unsupportedImageFormat":"不支持的图像批注:{arg0}。请使用 JPEG 或 PNG。","noOutline":"无大纲","outline":"大纲","imageAnnotation":"图像","selectImage":"选择图像","stampAnnotation":"印章","highlighter":"自由高亮显示","textHighlighter":"文本荧光笔","pen":"绘画","eraser":"橡皮","export":"导出","useAnExistingStampDesign":"使用现有印章设计","createStamp":"创建印章","stampText":"印章文本","chooseColor":"选择颜色","rejected":"已拒绝","accepted":"已接受","approved":"已批准","notApproved":"未批准","draft":"草案","final":"最终","completed":"已完成","confidential":"机密","forPublicRelease":"公开发布","notForPublicRelease":"非公开发布","forComment":"添加注释","void":"无效","preliminaryResults":"初步结果","informationOnly":"仅供参考","initialHere":"在这里首字母签名","signHere":"在此签名","witness":"见证","asIs":"原样","departmental":"部门","experimental":"实验","expired":"已过期","sold":"已售","topSecret":"绝密","revised":"已修订","custom":"自定","customStamp":"自定义印章","icon":"图标","iconRightPointer":"右指针","iconRightArrow":"右箭头","iconCheck":"对号","iconCircle":"椭圆","iconCross":"交叉","iconInsert":"插入文本","iconNewParagraph":"新段落","iconNote":"文本注释","iconComment":"注释","iconParagraph":"段落","iconHelp":"帮助","iconStar":"星形","iconKey":"键形","documentEditor":"文稿编辑器","newPage":"新建页面","removePage":"删除页面","duplicatePage":"复制","rotatePageLeft":"向左旋转","rotatePageRight":"向右旋转","moveBefore":"在此之前移动","moveAfter":"在此之后移动","selectNone":"未选择任何内容","selectAll":"全选","saveAs":"另存为…","mergeDocument":"导入文稿","undo":"撤销","redo":"重做","openMoveDialog":"移动","move":"移动","instantModifiedWarning":"本文稿已修订,现在处于只读模式。重新加载页面,捷径此问题。","documentMergedHere":"文稿将在此合并","digitalSignaturesAllValid":"此文稿已经有数字签名,且所有签名有效。","digitalSignaturesDocModified":"此文稿已经有数字签名,但是在签名之后发生过更改。","digitalSignaturesSignatureWarning":"此文稿已经有数字签名,但是至少一个签名存在问题。","digitalSignaturesSignatureWarningDocModified":"此文稿已经有数字签名,但是在签名之后发生过更改,且至少一个签名存在问题。","digitalSignaturesSignatureError":"此文稿已经有数字签名,但是至少一个签名无效。","digitalSignaturesSignatureErrorDocModified":"此文稿已经有数字签名,但是在签名之后发生过更改,且至少一个签名无效。","signingInProgress":"正在登录","signingModalDesc":"表示当前文稿正在签名","discardChanges":"放弃更改","commentEditorLabel":"添加您的注释…","reply":"回复","comment":"注释","comments":"注释","showMore":"分享更多","showLess":"收起","deleteComment":"删除注释","deleteCommentConfirmMessage":"您确定要删除此评论吗?","deleteCommentConfirmAccessibilityLabel":"确认删除评论","editContent":"编辑内容","commentOptions":"注释选项","areaRedaction":"区域编辑","textRedaction":"文本编辑","redactionAnnotation":"编辑","applyingRedactions":"正在应用编辑","overlayTextPlaceholder":"插入覆盖文本","outlineColor":"大纲颜色","overlayText":"叠层文本","repeatText":"重复文本","preview":"预览","applyRedactions":"应用编辑","markupAnnotationToolbar":"标记批注工具栏","documentViewport":"文稿视区","redactionInProgress":"正在编辑","redactionModalDesc":"表示当前文稿正在编辑中","commentAction":"添加注释","printProgressModalDesc":"指示文稿正在准备打印","printProgressModal":"正在打印","documentEditorDesc":"更改当前文稿","reloadDocumentDialog":"确认文稿重新加载","reloadDocumentDialogDesc":"提醒用户确认重新加载文稿的对话框。","signatureDialog":"签名","signatureDialogDesc":"您可以在此对话框中选择要插入到文稿中的墨迹签名。如果您没有存储签名,您可以使用画布视图创建一个签名。","stampAnnotationTemplatesDialog":"印章批注模板","stampAnnotationTemplatesDialogDesc":"您可以在此对话框中选择要插入到文稿中的印章批注或用自己的文字创建自定义印章批注。","selectedAnnotation":"选择的 {arg0}","commentThread":"注释会话","selectedAnnotationWithText":"选择的是 {arg0},内容为 {arg1}","signature":"签名","ElectronicSignatures_SignHereTypeHint":"在上面输入您的签名","ElectronicSignatures_SignHereDrawHint":"在此签名","selectDragImage":"选择或拖动图像","replaceImage":"替换图像","draw":"绘制签名","image":"图像","type":"输入","saveSignature":"保存签名","loading":"正在加载","selectedItem":"已选中{arg0}。","annotationDeleted":"批注已删除。","newAnnotationCreated":"新{arg0}批注已经创建。","bookmarkCreated":"已创建的书签。","bookmarkEdited":"已编辑的书签。","bookmarkDeleted":"已删除的书签。","cancelledEditingBookmark":"取消书签编辑。","selectAFileForImage":"为新图像批注选择文件。","deleteAnnotationConfirmAccessibilityDescription":"确认或取消删除批注的对话框。","deleteBookmarkConfirmAccessibilityDescription":"确认或取消删除书签的对话框。","deleteCommentConfirmAccessibilityDescription":"确认或取消删除评论的对话框。","resize":"调整大小","resizeHandleTop":"顶部","resizeHandleBottom":"底部","resizeHandleRight":"右","resizeHandleLeft":"左","cropCurrentPage":"剪裁当前页面","cropCurrent":"剪裁当前","cropAllPages":"剪裁所有页面","cropAll":"剪裁全部","documentCrop":"文稿剪裁","Comparison_alignButtonTouch":"对齐","Comparison_selectPoint":"选择点","Comparison_documentOldTouch":"旧","Comparison_documentNewTouch":"新建","Comparison_result":"比较","UserHint_description":"在两个文稿中选择三个点进行手动对齐。为了获得最理想的效果,请选择靠近文稿边角的点,确保两个文稿中点的顺序相同。","UserHint_dismissMessage":"消除","Comparison_alignButton":"对齐文稿","documentComparison":"文稿比较","Comparison_documentOld":"旧文稿","Comparison_documentNew":"新建文稿","Comparison_resetButton":"重置","UserHint_Select":"选择点","numberValidationBadFormat":"输入的值与字段 [{arg0}] 的格式不匹配","dateValidationBadFormat":"无效日期/时间:请确保日期/时间存在。字段 [{arg0}] 应该与格式 {arg1} 匹配","insertAfterPage":"在页后插入","docEditorMoveBeginningHint":"输入“0”可以将选择的页面移动到文稿开始位置。","cloudyRectangleAnnotation":"云边矩形","dashedRectangleAnnotation":"虚线矩形","cloudyEllipseAnnotation":"云边椭圆形","dashedEllipseAnnotation":"虚线椭圆形","cloudyPolygonAnnotation":"云边多边形","dashedPolygonAnnotation":"虚线多边形","cloudAnnotation":"云","rotateCounterclockwise":"逆时针旋转","rotateClockwise":"顺时针旋转","enterDescriptionHere":"在此输入描述","addOption":"添加选项","formDesignerPopoverTitle":"{formFieldType}属性","formFieldNameExists":"名为“{formFieldName}”的表单字段已存在,请选择其他名称。","styleSectionLabel":"{formFieldType}样式","formFieldName":"表单字段名称","defaultValue":"默认值","multiLine":"多行","radioButtonFormFieldNameWarning":"若要对单选按钮进行分组,请确保它们具有相同的表单字段名称。","advanced":"高级","creatorName":"创建者名称","note":"备注","customData":"自定义数据","required":"必填","readOnly":"只读","createdAt":"创建日期","updatedAt":"更新日期","customDataErrorMessage":"必须为纯 JSON 序列化对象","borderColor":"边框颜色","borderWidth":"边框粗细","borderStyle":"边框样式","solidBorder":"实心","dashed":"虚线","beveled":"斜面","inset":"内线","underline":"下划线","textStyle":"文本样式","fontSize":"字体大小","fontColor":"字体颜色","button":"按钮字段","textField":"文本字段","radioField":"单选按钮字段","checkboxField":"复选框字段","comboBoxField":"组合框字段","listBoxField":"列表框字段","signatureField":"签名字段","formDesigner":"来自创作者","buttonText":"按钮文本","notAvailable":"不适用","label":"标签","value":"值","cannotEditOnceCreated":"创建后无法编辑。","formFieldNameNotEmpty":"表单字段名称不能为空。","mediaAnnotation":"媒体批注","mediaFormatNotSupported":"该浏览器不支持嵌入视频或音频。","distanceMeasurement":"距离","perimeterMeasurement":"周长","polygonAreaMeasurement":"多边形面积","rectangularAreaMeasurement":"矩形面积","ellipseAreaMeasurement":"椭圆形面积","distanceMeasurementSettings":"距离测量设置","perimeterMeasurementSettings":"周长测量设置","polygonAreaMeasurementSettings":"多边形面积测量设置","rectangularAreaMeasurementSettings":"长方形面积测量设置","ellipseAreaMeasurementSettings":"椭圆面积测量设置","measurementScale":"比例","measurementCalibrateLength":"校准长度","measurementPrecision":"精度","measurementSnapping":"定住","formCreator":"来自创作者","group":"群组","ungroup":"取消群组","bold":"加粗","italic":"斜体","addLink":"添加链接","removeLink":"移除链接","editLink":"编辑链接","anonymous":"匿名","saveAndClose":"保存并关闭","ceToggleFontMismatchTooltip":"显示/隐藏字体不匹配工具提示","ceFontMismatch":"{arg0}字体不可用,或无法用于编辑此文稿中的内容。已添加或已更改的内容将恢复为使用默认字体。","multiAnnotationsSelection":"选择多个批注","linkSettingsPopoverTitle":"链接设置","linkTo":"链接至","uriLink":"网站","pageLink":"页码","invalidPageNumber":"请输入有效的页码。","invalidPageLink":"请输入有效的页面链接。","linkAnnotation":"链接","targetPageLink":"页码","rotation":"旋转","unlockDocumentDescription":"您必须解锁此文稿才能查看。请在下方字段输入密码。","commentDialogClosed":"打开从{arg0}的“{arg1}”开始的注释会话","moreComments":"更多注释","linesCount":"{arg0, plural,\\nother {{arg0} 笔}\\n}","annotationsCount":"{arg0, plural,\\nother {{arg0} 个批注}\\n=0 {没有批注}\\n}","pagesSelected":"{arg0, plural,\\nother {已选择 {arg0} 页}\\n}","commentsCount":"{arg0, plural,\\nother {{arg0} 个注释}\\n}","deleteNComments":"{arg0, plural,\\nother {{arg0} 个注释}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\nother {另外 {arg0} 条注释}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-zh-Hant-5416b3fbfc718a21.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-zh-Hant-5416b3fbfc718a21.js new file mode 100644 index 00000000..9fb1ac42 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-locale-zh-Hant-5416b3fbfc718a21.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[7579],{58372:e=>{e.exports=JSON.parse('{"thumbnails":"縮覽圖","pageXofY":"第{arg0}頁,共{arg1}頁","XofY":"{arg0}/{arg1}頁","prevPage":"上一頁","nextPage":"下一頁","goToPage":"到此頁","gotoPageX":"到第{arg0}頁","pageX":"第{arg0}頁","pageLayout":"頁面排版","pageMode":"頁面模式","pageModeSingle":"單頁","pageModeDouble":"雙頁","pageModeAutomatic":"自動","pageTransition":"翻頁","pageTransitionContinuous":"連續","pageTransitionJump":"跳換","pageRotation":"旋轉頁面","pageRotationLeft":"向左旋轉","pageRotationRight":"向右旋轉","zoomIn":"放大","zoomOut":"縮小","marqueeZoom":"選框放大","panMode":"平移模式","fitPage":"配合頁面調整","fitWidth":"配合寬度調整","annotations":"註解","noAnnotations":"無註解","bookmark":"書籤","bookmarks":"書籤","noBookmarks":"無書籤","newBookmark":"新書籤","addBookmark":"添加書籤","removeBookmark":"刪除書籤","loadingBookmarks":"載入書籤","deleteBookmarkConfirmMessage":"是否確定要刪除這個書籤?","deleteBookmarkConfirmAccessibilityLabel":"確定刪除書籤","annotation":"註解","noteAnnotation":"備註","textAnnotation":"文字","inkAnnotation":"畫圖","highlightAnnotation":"文字加亮","underlineAnnotation":"底線","squiggleAnnotation":"波浪線","strikeOutAnnotation":"刪除線","print":"列印","printPrepare":"正在準備列印…","searchDocument":"搜尋文件","searchPreviousMatch":"上一個","searchNextMatch":"下一步","searchResultOf":"{arg0}/{arg1}頁","accessibilityLabelDropdownGroupToggle":"{arg0} 工具,切換選單","save":"儲存","edit":"編輯","delete":"刪除","close":"關閉","cancel":"取消","ok":"好","done":"完成","clear":"清除","date":"日期","time":"時間","name":"名字","color":"顏色","black":"黑色","white":"白色","blue":"藍色","red":"紅色","green":"綠色","orange":"橙色","lightOrange":"淺橘色","yellow":"黃色","lightYellow":"淺黃色","lightBlue":"淺藍色","lightRed":"淡紅色","lightGreen":"淺綠色","fuchsia":"桃紅色","purple":"紫色","pink":"粉紅色","mauve":"淡紫色","lightGrey":"淺灰色","grey":"灰色","darkGrey":"深灰色","noColor":"無","transparent":"透明","darkBlue":"深藍色","opacity":"不透明度","thickness":"粗細","size":"大小","numberInPt":"{arg0} 級字","font":"字體","fonts":"字體","allFonts":"全部字體","alignment":"對齊","alignmentLeft":"靠左對齊","alignmentRight":"靠右對齊","alignmentCenter":"正中","verticalAlignment":"垂直對齊","horizontalAlignment":"水平對齊","top":"上方","bottom":"下方","deleteAnnotationConfirmMessage":"您是否確定要刪除這則註解?","deleteAnnotationConfirmAccessibilityLabel":"確認刪除註解","fontFamilyUnsupported":"{arg0}(不支援)","sign":"簽名","signed":"已簽署","signatures":"簽名","addSignature":"加上簽名","clearSignature":"清除簽名","storeSignature":"儲存簽名","pleaseSignHere":"請簽署","signing":"正在簽署…","password":"密碼","unlock":"解鎖","passwordRequired":"需要密碼","unlockThisDocument":"你必須將這個文件解鎖才能瀏覽,請在下列欄位中輸入密碼。","incorrectPassword":"你所輸入的密碼不正確,請重新輸入。","blendMode":"混合模式","normal":"正常","multiply":"正片疊底","screenBlend":"濾色","overlay":"疊加","darken":"加深","lighten":"變淡","colorDodge":"顏色減淡","colorBurn":"顏色加深","hardLight":"強光","softLight":"柔光","difference":"差異","exclusion":"排除","multiple":"多個","linecaps-dasharray":"線條樣式","dasharray":"線條樣式","startLineCap":"線條開始","strokeDashArray":"線條樣式","endLineCap":"線條終端","lineAnnotation":"線條","rectangleAnnotation":"長方形","ellipseAnnotation":"橢圓形","polygonAnnotation":"多邊形","polylineAnnotation":"多點線","solid":"實線","narrowDots":"窄點線","wideDots":"寬點線","narrowDashes":"窄虛線","wideDashes":"寬虛線","none":"無","square":"正方形","circle":"圓圈","diamond":"菱形","openArrow":"開放的箭頭","closedArrow":"封閉箭頭","butt":"末端","reverseOpenArrow":"反方向開放箭頭","reverseClosedArrow":"反方向封閉箭頭","slash":"斜線","fillColor":"填充顏色","cloudy":"朦朧的","arrow":"箭頭","filePath":"檔案路徑","unsupportedImageFormat":"不支援的圖像註解類型:{arg0}。請使用 JPEG 或 PNG。","noOutline":"無輪廓","outline":"中空字","imageAnnotation":"圖像","selectImage":"選取圖像","stampAnnotation":"印章","highlighter":"自由格式加亮","textHighlighter":"文字螢光筆","pen":"畫圖","eraser":"橡皮擦","export":"匯出","useAnExistingStampDesign":"使用現有的圖章設計","createStamp":"自訂印章","stampText":"印章文字","chooseColor":"選擇顏色","rejected":"被拒絕","accepted":"已收到","approved":"已批准","notApproved":"未批准","draft":"草稿","final":"終稿","completed":"已完成","confidential":"密件","forPublicRelease":"可公佈","notForPublicRelease":"不可公佈","forComment":"供評註","void":"失效","preliminaryResults":"初步結果","informationOnly":"僅供參考","initialHere":"這裏草簽","signHere":"在此簽名","witness":"證人","asIs":"按現狀","departmental":"分科","experimental":"實驗性","expired":"已過期","sold":"售出","topSecret":"高度機密","revised":"已修訂","custom":"自定","customStamp":"自訂水印","icon":"圖示","iconRightPointer":"右指針","iconRightArrow":"右箭頭","iconCheck":"打勾","iconCircle":"橢圓形","iconCross":"叉號","iconInsert":"插入文字","iconNewParagraph":"新段落","iconNote":"文字筆記","iconComment":"評註","iconParagraph":"段落","iconHelp":"輔助說明","iconStar":"星號","iconKey":"鑰匙","documentEditor":"文件編輯器","newPage":"新頁面","removePage":"刪除頁面","duplicatePage":"複製","rotatePageLeft":"向左旋轉","rotatePageRight":"向右旋轉","moveBefore":"向後移","moveAfter":"向前移","selectNone":"未選取","selectAll":"選取全部","saveAs":"儲存為…","mergeDocument":"匯入文件","undo":"復原","redo":"重作","openMoveDialog":"移動","move":"移動","instantModifiedWarning":"這個文件經過修改且現為唯讀模式。重新載入這個頁面以解決這個問題。","documentMergedHere":"將從這裡合併文件","digitalSignaturesAllValid":"這份文件已經過電子簽字且所有的簽字皆有效。","digitalSignaturesDocModified":"這份文件已經過電子簽字,但內容在簽字後經過修改。","digitalSignaturesSignatureWarning":"這份文件已經過電子簽字,但至少有一筆簽字有問題。","digitalSignaturesSignatureWarningDocModified":"這份文件已經過電子簽字,但內容在簽字後經過修改,且至少有一筆簽字有問題。","digitalSignaturesSignatureError":"這份文件已經過電子簽字,但至少有一筆簽字無效。","digitalSignaturesSignatureErrorDocModified":"這份文件已經過電子簽字,但內容在簽字後經過修改,且至少有一筆簽字無效。","signingInProgress":"正在簽署","signingModalDesc":"指出正在簽署目前文件","discardChanges":"清除更改","commentEditorLabel":"添加評註…","reply":"回覆","comment":"評註","comments":"評註","showMore":"顯示較多","showLess":"顯示較少","deleteComment":"刪除評註","deleteCommentConfirmMessage":"您是否確定要刪除這則評註?","deleteCommentConfirmAccessibilityLabel":"確認刪除評註","editContent":"編輯內容","commentOptions":"評註選項","areaRedaction":"區域修訂","textRedaction":"文字修訂","redactionAnnotation":"修訂","applyingRedactions":"套用修訂","overlayTextPlaceholder":"插入疊加文字","outlineColor":"輪廓顏色","overlayText":"疊加文字","repeatText":"重複文字","preview":"預覽","applyRedactions":"套用修訂","markupAnnotationToolbar":"標記註解工具列","documentViewport":"文件檢視區","redactionInProgress":"修訂進行中","redactionModalDesc":"表示目前正在修訂這份文件","commentAction":"評註","printProgressModalDesc":"表示正在準備列印文件","printProgressModal":"正在列印","documentEditorDesc":"更動目前文件","reloadDocumentDialog":"確認文件重新載入","reloadDocumentDialogDesc":"提醒用戶確認重新載入文件的對話","signatureDialog":"簽名","signatureDialogDesc":"這則對話讓您可以選擇要插入文件的墨水簽名。若您沒有儲存的簽名,您可以在畫布視圖下建立。","stampAnnotationTemplatesDialog":"圖章註解範本","stampAnnotationTemplatesDialogDesc":"這則對話讓您可以選取要插入文件的圖章註解,或以自己的文字建立自訂圖章註解。","selectedAnnotation":"已選取{arg0}","commentThread":"評註串","selectedAnnotationWithText":"已選取{arg0}和{arg1}做為內容","signature":"簽名","ElectronicSignatures_SignHereTypeHint":"在上面鍵入您的簽名","ElectronicSignatures_SignHereDrawHint":"在此簽名","selectDragImage":"選取或拖曳圖像","replaceImage":"置換簽名","draw":"手繪","image":"圖像","type":"鍵入","saveSignature":"儲存簽名","loading":"正在載入","selectedItem":"{arg0},已選取。","annotationDeleted":"已刪除註解。","newAnnotationCreated":"已建立新的 {arg0} 註解。","bookmarkCreated":"建立的書籤。","bookmarkEdited":"編輯的書籤。","bookmarkDeleted":"刪除的書籤。","cancelledEditingBookmark":"取消的書籤編輯。","selectAFileForImage":"為新的圖像註解選擇一個檔案。","deleteAnnotationConfirmAccessibilityDescription":"供您確認或取消刪除註解的對話。","deleteBookmarkConfirmAccessibilityDescription":"供您確認或取消刪除書籤的對話。","deleteCommentConfirmAccessibilityDescription":"供您確認或取消刪除評註的對話。","resize":"調整大小","resizeHandleTop":"上","resizeHandleBottom":"下","resizeHandleRight":"右","resizeHandleLeft":"左","cropCurrentPage":"裁剪本頁","cropCurrent":"裁剪目前","cropAllPages":"裁剪全部頁面","cropAll":"裁剪全部","documentCrop":"文件裁剪","Comparison_alignButtonTouch":"對齊","Comparison_selectPoint":"選取點","Comparison_documentOldTouch":"舊","Comparison_documentNewTouch":"新","Comparison_result":"比較","UserHint_description":"在兩份文件中各選取三個點以手動對齊。請選擇接近文件角落的點,並確定兩個文件中的點的順序一樣,以獲得最佳效果。","UserHint_dismissMessage":"關閉","Comparison_alignButton":"對齊文件","documentComparison":"文件比較","Comparison_documentOld":"舊文件","Comparison_documentNew":"新文件","Comparison_resetButton":"重置","UserHint_Select":"選取點","numberValidationBadFormat":"輸入的值不符合[{arg0}]欄的格式","dateValidationBadFormat":"無效的日期/時間:請確認該日期/時間存在。[{arg0}]欄必須符合{arg1}格式","insertAfterPage":"插入頁面後","docEditorMoveBeginningHint":"鍵入「0」以將所選頁面移至文件開頭。","cloudyRectangleAnnotation":"朦朧長方形","dashedRectangleAnnotation":"虛線長方形","cloudyEllipseAnnotation":"朦朧橢圓形","dashedEllipseAnnotation":"虛線橢圓形","cloudyPolygonAnnotation":"朦朧多邊形","dashedPolygonAnnotation":"虛線多邊形","cloudAnnotation":"雲端","rotateCounterclockwise":"逆時針旋轉","rotateClockwise":"順時針旋轉","enterDescriptionHere":"在這裡輸入說明","addOption":"添加選項","formDesignerPopoverTitle":"{formFieldType}屬性","formFieldNameExists":"已經有名為{formFieldName}的表格欄位。請另選一個名稱。","styleSectionLabel":"{formFieldType}樣式","formFieldName":"表單欄位名稱","defaultValue":"預設值","multiLine":"多行","radioButtonFormFieldNameWarning":"要將選項按鈕編組時,請確認其表單欄位名稱相同。","advanced":"進階","creatorName":"創作者名稱","note":"備註","customData":"自訂資料","required":"必填","readOnly":"唯讀","createdAt":"建立於","updatedAt":"更新於","customDataErrorMessage":"必須為可進行JSON序列化物件","borderColor":"邊框顏色","borderWidth":"邊框寬度","borderStyle":"邊框樣式","solidBorder":"實線","dashed":"虛線","beveled":"斜角","inset":"立體(內凹)","underline":"底線","textStyle":"文字樣式","fontSize":"字級大小","fontColor":"字形顏色","button":"按鈕欄位","textField":"文字欄位","radioField":"選項按鈕欄位","checkboxField":"勾選框欄位","comboBoxField":"組合框欄位","listBoxField":"列表框欄位","signatureField":"簽名欄位","formDesigner":"形狀建立工具","buttonText":"按鈕文字","notAvailable":"N/A","label":"標籤","value":"值","cannotEditOnceCreated":"建立後即無法編輯。","formFieldNameNotEmpty":"表單欄位名稱不可空白。","mediaAnnotation":"媒體註解","mediaFormatNotSupported":"這個瀏覽器不支援嵌入的影片或音訊。","distanceMeasurement":"距離","perimeterMeasurement":"周長","polygonAreaMeasurement":"多邊形面積","rectangularAreaMeasurement":"長方形面積","ellipseAreaMeasurement":"橢圓形面積","distanceMeasurementSettings":"距離測量設定","perimeterMeasurementSettings":"周長測量設定","polygonAreaMeasurementSettings":"多邊形面積測量設定","rectangularAreaMeasurementSettings":"長方形面積測量設定","ellipseAreaMeasurementSettings":"橢圓形面積測量設定","measurementScale":"比例","measurementCalibrateLength":"校准長度","measurementPrecision":"精度","measurementSnapping":"鎖點","formCreator":"形狀建立工具","group":"群組","ungroup":"取消編組","bold":"粗體","italic":"斜體","addLink":"加入連結","removeLink":"刪除連結","editLink":"編輯連結","anonymous":"匿名者","saveAndClose":"儲存 & 關閉","ceToggleFontMismatchTooltip":"切換字體不符提示框","ceFontMismatch":"{arg0}字體不存在或者無法用於編輯本文件內容。添加或變更內容將回復成預設字體。","multiAnnotationsSelection":"選取多項註解","linkSettingsPopoverTitle":"連結設定","linkTo":"連結至","uriLink":"網站","pageLink":"頁面","invalidPageNumber":"輸入有效的頁碼","invalidPageLink":"輸入有效的網頁連結。","linkAnnotation":"連結","targetPageLink":"頁碼","rotation":"旋轉","unlockDocumentDescription":"您必須解鎖這份文件才能瀏覽,請在以下欄位中輸入密碼。","commentDialogClosed":"開啟由{arg0}開始的評註串:「{arg1}」","moreComments":"更多評註","linesCount":"{arg0, plural,\\nother {{arg0} 行}\\n}","annotationsCount":"{arg0, plural,\\nother {{arg0}個註解}\\n=0 {沒有註解}\\n}","pagesSelected":"{arg0, plural,\\nother {已選取{arg0}頁}\\n}","commentsCount":"{arg0, plural,\\nother {{arg0}則}\\n}","deleteNComments":"{arg0, plural,\\nother {{arg0}則}\\n}","linkToPage":"{arg0, plural,\\n}","nMoreComments":"{arg0, plural,\\nother {其他{arg0}則評註}\\n}"}')}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-cs-83cf420a74f407c1.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-cs-83cf420a74f407c1.js new file mode 100644 index 00000000..6ada416d --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-cs-83cf420a74f407c1.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[3005],{12282:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{cs:{categories:{cardinal:["one","few","many","other"],ordinal:["other"]},fn:function(a,e){var l=String(a).split("."),t=l[0],n=!l[1];return e?"other":1==a&&n?"one":t>=2&&t<=4&&n?"few":n?"other":"many"}}},availableLocales:["cs"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-cy-8aa03686833c8b07.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-cy-8aa03686833c8b07.js new file mode 100644 index 00000000..ee2f3911 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-cy-8aa03686833c8b07.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[7050],{26873:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{cy:{categories:{cardinal:["zero","one","two","few","many","other"],ordinal:["zero","one","two","few","many","other"]},fn:function(e,a){return a?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"}}},availableLocales:["cy"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-da-fd201725f9a97006.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-da-fd201725f9a97006.js new file mode 100644 index 00000000..86e3391d --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-da-fd201725f9a97006.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[752],{5407:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{da:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,l){var e=String(a).split("."),t=e[0],n=Number(e[0])==a;return l||1!=a&&(n||0!=t&&1!=t)?"other":"one"}}},availableLocales:["da"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-de-caff7c5f33f7ca23.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-de-caff7c5f33f7ca23.js new file mode 100644 index 00000000..30c06606 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-de-caff7c5f33f7ca23.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[8869],{60333:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{de:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,e){var l=!String(a).split(".")[1];return e?"other":1==a&&l?"one":"other"}}},availableLocales:["de"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-el-cd812fc6ff37019e.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-el-cd812fc6ff37019e.js new file mode 100644 index 00000000..c2584220 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-el-cd812fc6ff37019e.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1882],{80056:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{el:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,e){return e?"other":1==a?"one":"other"}}},availableLocales:["el"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-en-06390ffdbab2516c.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-en-06390ffdbab2516c.js new file mode 100644 index 00000000..fe468c9a --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-en-06390ffdbab2516c.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5014],{32778:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{en:{categories:{cardinal:["one","other"],ordinal:["one","two","few","other"]},fn:function(e,a){var l=String(e).split("."),t=!l[1],n=Number(l[0])==e,o=n&&l[0].slice(-1),r=n&&l[0].slice(-2);return a?1==o&&11!=r?"one":2==o&&12!=r?"two":3==o&&13!=r?"few":"other":1==e&&t?"one":"other"}}},availableLocales:["en"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-es-e1e11a1a85ee90d6.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-es-e1e11a1a85ee90d6.js new file mode 100644 index 00000000..1aba94e9 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-es-e1e11a1a85ee90d6.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1252],{53802:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{es:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,e){return e?"other":1==a?"one":"other"}}},availableLocales:["es"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-fi-cfc6a0f3f76d35c4.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-fi-cfc6a0f3f76d35c4.js new file mode 100644 index 00000000..3c40ac0f --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-fi-cfc6a0f3f76d35c4.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5528],{15857:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{fi:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,l){var e=!String(a).split(".")[1];return l?"other":1==a&&e?"one":"other"}}},availableLocales:["fi"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-fr-73e187ecc0e09958.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-fr-73e187ecc0e09958.js new file mode 100644 index 00000000..ea6b5488 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-fr-73e187ecc0e09958.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1145],{75828:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{fr:{categories:{cardinal:["one","other"],ordinal:["one","other"]},fn:function(a,e){return e?1==a?"one":"other":a>=0&&a<2?"one":"other"}}},availableLocales:["fr"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-hr-7c088f78cf6f2251.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-hr-7c088f78cf6f2251.js new file mode 100644 index 00000000..02384754 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-hr-7c088f78cf6f2251.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[9677],{34029:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{hr:{categories:{cardinal:["one","few","other"],ordinal:["other"]},fn:function(e,l){var a=String(e).split("."),t=a[0],n=a[1]||"",r=!a[1],i=t.slice(-1),o=t.slice(-2),c=n.slice(-1),s=n.slice(-2);return l?"other":r&&1==i&&11!=o||1==c&&11!=s?"one":r&&i>=2&&i<=4&&(o<12||o>14)||c>=2&&c<=4&&(s<12||s>14)?"few":"other"}}},availableLocales:["hr"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-id-5de33abc7d4cdc0e.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-id-5de33abc7d4cdc0e.js new file mode 100644 index 00000000..1afc7f11 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-id-5de33abc7d4cdc0e.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[5192],{32419:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{id:{categories:{cardinal:["other"],ordinal:["other"]},fn:function(a,l){return"other"}}},availableLocales:["id"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-it-051149a5be49fc53.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-it-051149a5be49fc53.js new file mode 100644 index 00000000..da7c7d51 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-it-051149a5be49fc53.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[3424],{81998:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{it:{categories:{cardinal:["one","other"],ordinal:["many","other"]},fn:function(a,l){var e=!String(a).split(".")[1];return l?11==a||8==a||80==a||800==a?"many":"other":1==a&&e?"one":"other"}}},availableLocales:["it"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-ja-b013dd32b0dd987f.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-ja-b013dd32b0dd987f.js new file mode 100644 index 00000000..99f66971 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-ja-b013dd32b0dd987f.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[4728],{55389:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{ja:{categories:{cardinal:["other"],ordinal:["other"]},fn:function(a,l){return"other"}}},availableLocales:["ja"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-ko-788c0ac96028cf16.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-ko-788c0ac96028cf16.js new file mode 100644 index 00000000..fd7b2f55 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-ko-788c0ac96028cf16.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1089],{97301:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{ko:{categories:{cardinal:["other"],ordinal:["other"]},fn:function(a,l){return"other"}}},availableLocales:["ko"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-ms-af935fff5a3297a3.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-ms-af935fff5a3297a3.js new file mode 100644 index 00000000..f516763f --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-ms-af935fff5a3297a3.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1518],{55367:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{ms:{categories:{cardinal:["other"],ordinal:["one","other"]},fn:function(a,l){return l&&1==a?"one":"other"}}},availableLocales:["ms"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-nb-8a0e9865351b27ee.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-nb-8a0e9865351b27ee.js new file mode 100644 index 00000000..9c4e0898 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-nb-8a0e9865351b27ee.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[2279],{93673:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{nb:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,e){return e?"other":1==a?"one":"other"}}},availableLocales:["nb"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-nl-e54eab5823bb03b6.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-nl-e54eab5823bb03b6.js new file mode 100644 index 00000000..218dda92 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-nl-e54eab5823bb03b6.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[9486],{80953:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{nl:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,l){var e=!String(a).split(".")[1];return l?"other":1==a&&e?"one":"other"}}},availableLocales:["nl"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-pl-f499a18020de1c42.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-pl-f499a18020de1c42.js new file mode 100644 index 00000000..e8350929 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-pl-f499a18020de1c42.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[6523],{12533:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{pl:{categories:{cardinal:["one","few","many","other"],ordinal:["other"]},fn:function(a,l){var e=String(a).split("."),t=e[0],n=!e[1],o=t.slice(-1),r=t.slice(-2);return l?"other":1==a&&n?"one":n&&o>=2&&o<=4&&(r<12||r>14)?"few":n&&1!=t&&(0==o||1==o)||n&&o>=5&&o<=9||n&&r>=12&&r<=14?"many":"other"}}},availableLocales:["pl"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-pt-58c42f00781b16e6.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-pt-58c42f00781b16e6.js new file mode 100644 index 00000000..2381d660 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-pt-58c42f00781b16e6.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[4932],{28708:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{pt:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,l){var e=String(a).split(".")[0];return l?"other":0==e||1==e?"one":"other"}}},availableLocales:["pt"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-ru-c00fe67da56068c3.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-ru-c00fe67da56068c3.js new file mode 100644 index 00000000..4c53b7e3 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-ru-c00fe67da56068c3.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1385],{63409:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{ru:{categories:{cardinal:["one","few","many","other"],ordinal:["other"]},fn:function(a,e){var l=String(a).split("."),t=l[0],n=!l[1],r=t.slice(-1),o=t.slice(-2);return e?"other":n&&1==r&&11!=o?"one":n&&r>=2&&r<=4&&(o<12||o>14)?"few":n&&0==r||n&&r>=5&&r<=9||n&&o>=11&&o<=14?"many":"other"}}},availableLocales:["ru"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-sk-34a2c69cc530755c.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-sk-34a2c69cc530755c.js new file mode 100644 index 00000000..e3854eb4 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-sk-34a2c69cc530755c.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1077],{87042:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{sk:{categories:{cardinal:["one","few","many","other"],ordinal:["other"]},fn:function(a,e){var l=String(a).split("."),t=l[0],n=!l[1];return e?"other":1==a&&n?"one":t>=2&&t<=4&&n?"few":n?"other":"many"}}},availableLocales:["sk"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-sl-9cd8d2d2e11150c2.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-sl-9cd8d2d2e11150c2.js new file mode 100644 index 00000000..c31b1faf --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-sl-9cd8d2d2e11150c2.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1277],{13367:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{sl:{categories:{cardinal:["one","two","few","other"],ordinal:["other"]},fn:function(l,a){var e=String(l).split("."),t=e[0],n=!e[1],o=t.slice(-2);return a?"other":n&&1==o?"one":n&&2==o?"two":n&&(3==o||4==o)||!n?"few":"other"}}},availableLocales:["sl"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-sv-92c607f3329c870a.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-sv-92c607f3329c870a.js new file mode 100644 index 00000000..014cbab7 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-sv-92c607f3329c870a.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[2727],{64520:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{sv:{categories:{cardinal:["one","other"],ordinal:["one","other"]},fn:function(e,a){var l=String(e).split("."),t=!l[1],n=Number(l[0])==e,o=n&&l[0].slice(-1),r=n&&l[0].slice(-2);return a?1!=o&&2!=o||11==r||12==r?"other":"one":1==e&&t?"one":"other"}}},availableLocales:["sv"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-th-137130bef3d2eb0f.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-th-137130bef3d2eb0f.js new file mode 100644 index 00000000..4b1192dd --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-th-137130bef3d2eb0f.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1063],{69909:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{th:{categories:{cardinal:["other"],ordinal:["other"]},fn:function(a,l){return"other"}}},availableLocales:["th"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-tr-fd34ba5644b1efac.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-tr-fd34ba5644b1efac.js new file mode 100644 index 00000000..af7345bf --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-tr-fd34ba5644b1efac.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[9384],{99102:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{tr:{categories:{cardinal:["one","other"],ordinal:["other"]},fn:function(a,e){return e?"other":1==a?"one":"other"}}},availableLocales:["tr"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-uk-cb3167cb98fea748.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-uk-cb3167cb98fea748.js new file mode 100644 index 00000000..228d36cb --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-uk-cb3167cb98fea748.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[1843],{32058:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{uk:{categories:{cardinal:["one","few","many","other"],ordinal:["few","other"]},fn:function(e,a){var l=String(e).split("."),t=l[0],n=!l[1],r=Number(l[0])==e,u=r&&l[0].slice(-1),i=r&&l[0].slice(-2),o=t.slice(-1),c=t.slice(-2);return a?3==u&&13!=i?"few":"other":n&&1==o&&11!=c?"one":n&&o>=2&&o<=4&&(c<12||c>14)?"few":n&&0==o||n&&o>=5&&o<=9||n&&c>=11&&c<=14?"many":"other"}}},availableLocales:["uk"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-zh-be750304a9a9177e.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-zh-be750304a9a9177e.js new file mode 100644 index 00000000..f037c7bd --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-localedata-zh-be750304a9a9177e.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[4072],{2725:()=>{Intl.PluralRules&&"function"==typeof Intl.PluralRules.__addLocaleData&&Intl.PluralRules.__addLocaleData({data:{zh:{categories:{cardinal:["other"],ordinal:["other"]},fn:function(a,l){return"other"}}},availableLocales:["zh"]})}}]); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-server-cf768524f80b04c0.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-server-cf768524f80b04c0.js new file mode 100644 index 00000000..84662f39 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/chunk-server-cf768524f80b04c0.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +"use strict";(self.webpackChunkPSPDFKit=self.webpackChunkPSPDFKit||[]).push([[6377],{16288:(t,e,n)=>{n.r(e),n.d(e,{default:()=>K});var o=n(17375),a=n(84121),s=n(35369),r=n(50974),i=n(34997),c=n(77552),l=n(45513),d=n(93572),u=n(2810),h=n(28028),m=n(23413),p=n(45207),f=n(67628);class g extends(s.WV({authPayload:null,serverUrl:null,hostedBaseUrl:null,documentId:null,backendPermissions:null,documentURL:null,imageToken:null,instantSettings:null,token:null,features:(0,s.aV)(),signatureFeatureAvailability:f.H.NONE,isFormsEnabled:!0,minSearchQueryLength:1,documentHandle:null,isDocumentHandleOutdated:!1,digitalSignatures:null,defaultGroup:void 0,hasCollaborationPermissions:!1,forceLegacySignaturesFeature:!1})){}var w=n(53678),y=n(71231),P=n(92466),_=n(13997);const S="The image can not be rendered because of an unknown error.";class b{constructor(t){let{identifier:e,url:n,token:o,payload:a,doNotRequestWebP:s=!1}=t;this.identifier=e,this.url=n,this.token=o,this.payload=a,this.doNotRequestWebP=s}abort(){var t;null===(t=this.httpRequest)||void 0===t||t.abort()}request(){return new Promise(((t,e)=>{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,_.oM)()),y.Zy&&!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 o=new FileReader;return o.onload=n=>{var o;const a=JSON.parse(null===(o=n.target)||void 0===o?void 0:o.result);a.attachments_not_found?t({attachmentsNotFound:a.attachments_not_found}):a.error?e(new r.p2(`The server could not render the requested image (${a.error})`)):e(new r.p2(S))},o.onerror=()=>e(new r.p2(S)),void o.readAsText(n.response)}if(!(0,w.vu)(n.status))return void e(new r.p2(S));const o=n.response,a=URL.createObjectURL(o),s=new Image;s.onerror=()=>e(new r.p2(S)),s.src=a,await s.decode(),t(new P.Z(s,(()=>URL.revokeObjectURL(a))))}).bind(this),n.send(this.payload)}))}}var v=n(91859),F=n(4757),R=n(95651),k=n(30578),E=n(29346),$=n(89835);var T=n(70569),x=n(16554),A=n(13071),O=n(96617),D=n(46309),j=n(80488),U=n(4054),C=n(16126),I=n(60132),L=n(19815),N=n(63632),q=n(91039);const B=["color","fillColor","outlineColor"];function H(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function J(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:window;if(super(),e=this,(0,a.Z)(this,"_password",null),(0,a.Z)(this,"type","SERVER"),(0,a.Z)(this,"_requestRenderAnnotation",((t,n,o,a,s,c)=>{const l=`${this._state.documentURL}/render_annotation`,d=`render-annotation-${c?(0,i.SK)():t.id}`,h=JSON.stringify({data:(0,u.Hs)(t),width:a,height:s,detached:c||void 0,formFieldValue:n?(0,u.kr)(n):void 0});let m,p,f=!1,g=[];const w=new Promise(((t,e)=>{m=t,p=e}));return function n(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const c=new FormData;c.append("render",h),i.length>0&&"imageAttachmentId"in t&&t.imageAttachmentId&&o&&c.append(t.imageAttachmentId,o);const u=new b({identifier:d,url:l,token:e._state.imageToken,payload:c,doNotRequestWebP:a>v.pt||s>v.pt}),w=e._requestQueue.enqueue(u,!1);w.promise.then((t=>{f||(t.attachmentsNotFound?n(t.attachmentsNotFound):t.attachmentsNotFound?p(new r.p2("Attachment could not be found.")):m(t))})).catch((t=>{f||p(t)})),g.push(w)}(),{promise:w,cancel:()=>{f=!0,g.forEach((t=>{t.cancel()}))}}})),(0,a.Z)(this,"_requestRenderAnnotations",((t,e,n,o,a)=>{const s=`${this._state.documentURL}/render_annotations`,r=JSON.stringify({annotations:e.map(((e,a)=>({pageIndex:t,pdfObjectId:e,width:n[a],height:o[a]}))),formFieldValues:a});let i,c,l=!1;const d=new Promise(((t,e)=>{i=t,c=e}));return this._fetch(s,{method:"post",body:r,credentials:"include",headers:{"X-PSPDFKit-Image-Token":this._state.imageToken,"Content-Type":"application/json",Accept:"multipart/form-data"}}).then((t=>t.formData())).then((t=>{l||i(Array.from(t.values()))})).catch((t=>{l||c(t)})),{promise:d,cancel:()=>{l=!0}}})),(0,a.Z)(this,"handleDocumentHandleConflict",(()=>{this._state=this._state.set("isDocumentHandleOutdated",!0),this.cancelRequests(),this._destroyProvider()})),"object"!=typeof t.authPayload)throw new r.p2("authPayload must be an object that contains the `jwt`. For example: `authPayload: { jwt: 'xxx.xxx.xxx'}`");const s=null===(n=t.authPayload)||void 0===n?void 0:n.accessToken;let c=null,l=null,d=null;if(s)d=t.hostedBaseUrl||"https://api.pspdfkit.com/",(0,w.sf)(d),(0,h.eU)(s);else{if(c=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;const n=t.serverUrl||(0,_.SV)(e.document);if("/"!==n.substr(-1))throw new r.p2("`serverUrl` must have a slash at the end (e.g. `https://pspdfkit.example.com/`).");if(!t.serverUrl){if(n===`${e.location.protocol}//${e.location.host}/`)throw new r.p2('PSPDFKit automatically infers the URL of PSPDFKit Server from the current ` \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/initDotnet.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/initDotnet.js new file mode 100644 index 00000000..f14e237c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/initDotnet.js @@ -0,0 +1 @@ +import{dotnet}from"./dotnet.js";const ENVIRONMENT_IS_NODE="string"==typeof globalThis.process?.versions?.node,ENVIRONMENT_IS_DENO="object"==typeof window&&"Deno"in window||"object"==typeof self&&"Deno"in self;let require;export async function initialize(){if(null!=globalThis.process?.versions?.node){const{createRequire:e}=await import("module");require=e(import.meta.url)}}export async function initDotnet(e){await initialize();const{getAssemblyExports:t,getConfig:i,Module:o}=await dotnet.withModuleConfig({locateFile:t=>{if(ENVIRONMENT_IS_NODE){const{dirname:e}=require("node:path"),{fileURLToPath:i}=require("node:url");return`${e(i(import.meta.url))}/${t}`}if(ENVIRONMENT_IS_DENO){return`file://${new URL(".",import.meta.url).pathname}${t.replace("./","")}`}return`${e}/${t}`}}).create();globalThis.gdPicture={module:o,baseUrl:e};const n=await t(i().mainAssemblyName);return await n.GdPictureWasm.API.Initialize(),{Assemblies:n,Module:o,ResolvedBaseUrl:e}} \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/BouncyCastle.Cryptography.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/BouncyCastle.Cryptography.dll new file mode 100644 index 00000000..a048e416 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/BouncyCastle.Cryptography.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/ChromeHtmlToPdfLib.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/ChromeHtmlToPdfLib.dll new file mode 100644 index 00000000..d43aaeef Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/ChromeHtmlToPdfLib.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/DocumentFormat.OpenXml.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/DocumentFormat.OpenXml.dll new file mode 100644 index 00000000..2d165684 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/DocumentFormat.OpenXml.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.API.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.API.dll new file mode 100644 index 00000000..d8a761e0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.API.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.CAD.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.CAD.dll new file mode 100644 index 00000000..76d25a57 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.CAD.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Common.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Common.dll new file mode 100644 index 00000000..7e461e42 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Common.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Document.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Document.dll new file mode 100644 index 00000000..35a6c2a5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Document.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll new file mode 100644 index 00000000..9bd7ad74 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Imaging.Formats.Conversion.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Imaging.Formats.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Imaging.Formats.dll new file mode 100644 index 00000000..85248ea1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Imaging.Formats.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Imaging.Rendering.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Imaging.Rendering.dll new file mode 100644 index 00000000..1e3c482d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Imaging.Rendering.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Imaging.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Imaging.dll new file mode 100644 index 00000000..74615334 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.Imaging.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.MSOfficeBinary.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.MSOfficeBinary.dll new file mode 100644 index 00000000..fcb1fdd1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.MSOfficeBinary.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.OpenDocument.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.OpenDocument.dll new file mode 100644 index 00000000..529f6c1a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.OpenDocument.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.OpenXML.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.OpenXML.dll new file mode 100644 index 00000000..c86f2290 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.OpenXML.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.PDF.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.PDF.dll new file mode 100644 index 00000000..dc6b77bd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.PDF.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.RTF.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.RTF.dll new file mode 100644 index 00000000..09bc5d2a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.RTF.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.SVG.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.SVG.dll new file mode 100644 index 00000000..3eef9e54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.SVG.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.barcode.1d.writer.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.barcode.1d.writer.dll new file mode 100644 index 00000000..897c24c5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.barcode.1d.writer.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.barcode.2d.writer.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.barcode.2d.writer.dll new file mode 100644 index 00000000..9c3d977f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.14.barcode.2d.writer.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll new file mode 100644 index 00000000..ee873b6d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.PSPDFKit.Wasm.NET7.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.Wasm.NET7.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.Wasm.NET7.dll new file mode 100644 index 00000000..72ae445f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/GdPicture.NET.Wasm.NET7.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/Microsoft.CSharp.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/Microsoft.CSharp.dll new file mode 100644 index 00000000..dc2db0f4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/Microsoft.CSharp.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/Microsoft.Win32.Registry.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/Microsoft.Win32.Registry.dll new file mode 100644 index 00000000..02735507 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/Microsoft.Win32.Registry.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/MsgReader.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/MsgReader.dll new file mode 100644 index 00000000..cfcbf779 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/MsgReader.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/Newtonsoft.Json.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/Newtonsoft.Json.dll new file mode 100644 index 00000000..76c6d1af Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/Newtonsoft.Json.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/OpenMcdf.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/OpenMcdf.dll new file mode 100644 index 00000000..c52d61c6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/OpenMcdf.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/RtfPipe.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/RtfPipe.dll new file mode 100644 index 00000000..365c0f19 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/RtfPipe.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.Concurrent.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.Concurrent.dll new file mode 100644 index 00000000..59aef0b1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.Concurrent.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.Immutable.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.Immutable.dll new file mode 100644 index 00000000..f3a43ce5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.Immutable.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.NonGeneric.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.NonGeneric.dll new file mode 100644 index 00000000..241df23c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.NonGeneric.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.Specialized.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.Specialized.dll new file mode 100644 index 00000000..bd7fde05 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.Specialized.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.dll new file mode 100644 index 00000000..09f8488d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Collections.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ComponentModel.EventBasedAsync.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ComponentModel.EventBasedAsync.dll new file mode 100644 index 00000000..0ea7184f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ComponentModel.EventBasedAsync.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ComponentModel.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ComponentModel.Primitives.dll new file mode 100644 index 00000000..06c8f004 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ComponentModel.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ComponentModel.TypeConverter.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ComponentModel.TypeConverter.dll new file mode 100644 index 00000000..93cfc41e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ComponentModel.TypeConverter.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ComponentModel.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ComponentModel.dll new file mode 100644 index 00000000..95d2ce34 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ComponentModel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Console.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Console.dll new file mode 100644 index 00000000..7659524b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Console.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Data.Common.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Data.Common.dll new file mode 100644 index 00000000..61dc0ccc Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Data.Common.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Diagnostics.DiagnosticSource.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Diagnostics.DiagnosticSource.dll new file mode 100644 index 00000000..78c698c2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Diagnostics.DiagnosticSource.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Diagnostics.Process.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Diagnostics.Process.dll new file mode 100644 index 00000000..20da63fc Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Diagnostics.Process.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Diagnostics.TraceSource.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Diagnostics.TraceSource.dll new file mode 100644 index 00000000..18d4f14f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Diagnostics.TraceSource.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Drawing.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Drawing.Primitives.dll new file mode 100644 index 00000000..204da36d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Drawing.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Drawing.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Drawing.dll new file mode 100644 index 00000000..c453685d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Drawing.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Formats.Asn1.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Formats.Asn1.dll new file mode 100644 index 00000000..47eb65f5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Formats.Asn1.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.IO.Compression.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.IO.Compression.dll new file mode 100644 index 00000000..39c36053 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.IO.Compression.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.IO.Packaging.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.IO.Packaging.dll new file mode 100644 index 00000000..b2cbd252 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.IO.Packaging.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Linq.Expressions.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Linq.Expressions.dll new file mode 100644 index 00000000..fa015ac0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Linq.Expressions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Linq.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Linq.dll new file mode 100644 index 00000000..880d9c53 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Memory.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Memory.dll new file mode 100644 index 00000000..7da30e68 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Memory.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Http.Formatting.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Http.Formatting.dll new file mode 100644 index 00000000..efaa5cf7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Http.Formatting.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Http.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Http.dll new file mode 100644 index 00000000..b7d2e4b9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Http.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Mail.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Mail.dll new file mode 100644 index 00000000..87578270 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Mail.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.NetworkInformation.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.NetworkInformation.dll new file mode 100644 index 00000000..f732790b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.NetworkInformation.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Primitives.dll new file mode 100644 index 00000000..9fc27c67 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Requests.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Requests.dll new file mode 100644 index 00000000..ee035472 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Requests.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Security.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Security.dll new file mode 100644 index 00000000..7672e045 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Security.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.ServicePoint.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.ServicePoint.dll new file mode 100644 index 00000000..7de41f09 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.ServicePoint.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Sockets.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Sockets.dll new file mode 100644 index 00000000..3e1f522b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.Sockets.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.WebHeaderCollection.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.WebHeaderCollection.dll new file mode 100644 index 00000000..6ac370ba Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.WebHeaderCollection.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.WebSockets.Client.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.WebSockets.Client.dll new file mode 100644 index 00000000..d85ea173 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.WebSockets.Client.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.WebSockets.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.WebSockets.dll new file mode 100644 index 00000000..1ea24b50 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Net.WebSockets.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ObjectModel.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ObjectModel.dll new file mode 100644 index 00000000..4ba8bf84 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.ObjectModel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Private.CoreLib.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Private.CoreLib.dll new file mode 100644 index 00000000..2eba27f7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Private.CoreLib.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Private.Uri.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Private.Uri.dll new file mode 100644 index 00000000..d833533f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Private.Uri.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Private.Xml.Linq.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Private.Xml.Linq.dll new file mode 100644 index 00000000..f50bc231 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Private.Xml.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Private.Xml.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Private.Xml.dll new file mode 100644 index 00000000..2dff38fd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Private.Xml.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.InteropServices.JavaScript.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.InteropServices.JavaScript.dll new file mode 100644 index 00000000..3bf93e5d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.InteropServices.JavaScript.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.Numerics.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.Numerics.dll new file mode 100644 index 00000000..07e65f7c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.Numerics.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.Serialization.Formatters.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.Serialization.Formatters.dll new file mode 100644 index 00000000..2137258e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.Serialization.Formatters.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.Serialization.Primitives.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.Serialization.Primitives.dll new file mode 100644 index 00000000..239e9e14 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.Serialization.Primitives.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.dll new file mode 100644 index 00000000..317cd8a0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Runtime.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Security.Cryptography.Pkcs.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Security.Cryptography.Pkcs.dll new file mode 100644 index 00000000..9be7f13f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Security.Cryptography.Pkcs.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Security.Cryptography.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Security.Cryptography.dll new file mode 100644 index 00000000..8241cc61 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Security.Cryptography.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Text.Encoding.CodePages.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Text.Encoding.CodePages.dll new file mode 100644 index 00000000..7bc5c265 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Text.Encoding.CodePages.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Text.Encodings.Web.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Text.Encodings.Web.dll new file mode 100644 index 00000000..f2f739d4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Text.Encodings.Web.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Text.Json.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Text.Json.dll new file mode 100644 index 00000000..abb39d7e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Text.Json.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Text.RegularExpressions.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Text.RegularExpressions.dll new file mode 100644 index 00000000..b95055c7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Text.RegularExpressions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Threading.Tasks.Parallel.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Threading.Tasks.Parallel.dll new file mode 100644 index 00000000..eeabadff Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Threading.Tasks.Parallel.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Windows.Extensions.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Windows.Extensions.dll new file mode 100644 index 00000000..964a8a19 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Windows.Extensions.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Xml.Linq.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Xml.Linq.dll new file mode 100644 index 00000000..699bf519 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.Xml.Linq.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.dll new file mode 100644 index 00000000..6c73939b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/System.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/protobuf-net.Core.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/protobuf-net.Core.dll new file mode 100644 index 00000000..46ff5f34 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/protobuf-net.Core.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/protobuf-net.dll b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/protobuf-net.dll new file mode 100644 index 00000000..ccbe7598 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/managed/protobuf-net.dll differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/mono-config.json b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/mono-config.json new file mode 100644 index 00000000..5e169355 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/mono-config.json @@ -0,0 +1,360 @@ +{ + "mainAssemblyName": "GdPicture.NET.PSPDFKit.Wasm.NET7.dll", + "assemblyRootFolder": "managed", + "debugLevel": 0, + "assets": [ + { + "behavior": "assembly", + "name": "BouncyCastle.Cryptography.dll" + }, + { + "behavior": "assembly", + "name": "ChromeHtmlToPdfLib.dll" + }, + { + "behavior": "assembly", + "name": "DocumentFormat.OpenXml.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.API.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.barcode.1d.writer.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.barcode.2d.writer.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.CAD.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Common.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Document.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Formats.Conversion.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Formats.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.Imaging.Rendering.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.MSOfficeBinary.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.OpenDocument.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.OpenXML.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.PDF.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.RTF.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.14.SVG.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.PSPDFKit.Wasm.NET7.dll" + }, + { + "behavior": "assembly", + "name": "GdPicture.NET.Wasm.NET7.dll" + }, + { + "behavior": "assembly", + "name": "Microsoft.CSharp.dll" + }, + { + "behavior": "assembly", + "name": "Microsoft.Win32.Registry.dll" + }, + { + "behavior": "assembly", + "name": "MsgReader.dll" + }, + { + "behavior": "assembly", + "name": "Newtonsoft.Json.dll" + }, + { + "behavior": "assembly", + "name": "OpenMcdf.dll" + }, + { + "behavior": "assembly", + "name": "protobuf-net.Core.dll" + }, + { + "behavior": "assembly", + "name": "protobuf-net.dll" + }, + { + "behavior": "assembly", + "name": "RtfPipe.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Concurrent.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Immutable.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.NonGeneric.dll" + }, + { + "behavior": "assembly", + "name": "System.Collections.Specialized.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.EventBasedAsync.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.ComponentModel.TypeConverter.dll" + }, + { + "behavior": "assembly", + "name": "System.Console.dll" + }, + { + "behavior": "assembly", + "name": "System.Data.Common.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.DiagnosticSource.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.Process.dll" + }, + { + "behavior": "assembly", + "name": "System.Diagnostics.TraceSource.dll" + }, + { + "behavior": "assembly", + "name": "System.dll" + }, + { + "behavior": "assembly", + "name": "System.Drawing.dll" + }, + { + "behavior": "assembly", + "name": "System.Drawing.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Formats.Asn1.dll" + }, + { + "behavior": "assembly", + "name": "System.IO.Compression.dll" + }, + { + "behavior": "assembly", + "name": "System.IO.Packaging.dll" + }, + { + "behavior": "assembly", + "name": "System.Linq.dll" + }, + { + "behavior": "assembly", + "name": "System.Linq.Expressions.dll" + }, + { + "behavior": "assembly", + "name": "System.Memory.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Http.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Http.Formatting.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Mail.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.NetworkInformation.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Requests.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Security.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.ServicePoint.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.Sockets.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebHeaderCollection.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebSockets.Client.dll" + }, + { + "behavior": "assembly", + "name": "System.Net.WebSockets.dll" + }, + { + "behavior": "assembly", + "name": "System.ObjectModel.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.CoreLib.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Uri.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Xml.dll" + }, + { + "behavior": "assembly", + "name": "System.Private.Xml.Linq.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.InteropServices.JavaScript.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Numerics.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Serialization.Formatters.dll" + }, + { + "behavior": "assembly", + "name": "System.Runtime.Serialization.Primitives.dll" + }, + { + "behavior": "assembly", + "name": "System.Security.Cryptography.dll" + }, + { + "behavior": "assembly", + "name": "System.Security.Cryptography.Pkcs.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Encoding.CodePages.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Encodings.Web.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.Json.dll" + }, + { + "behavior": "assembly", + "name": "System.Text.RegularExpressions.dll" + }, + { + "behavior": "assembly", + "name": "System.Threading.Tasks.Parallel.dll" + }, + { + "behavior": "assembly", + "name": "System.Windows.Extensions.dll" + }, + { + "behavior": "assembly", + "name": "System.Xml.Linq.dll" + }, + { + "virtualPath": "runtimeconfig.bin", + "behavior": "vfs", + "name": "supportFiles/0_runtimeconfig.bin" + }, + { + "loadRemote": false, + "behavior": "icu", + "name": "icudt.dat" + }, + { + "virtualPath": "/usr/share/zoneinfo/", + "behavior": "vfs", + "name": "dotnet.timezones.blat" + }, + { + "behavior": "dotnetwasm", + "name": "dotnet.wasm" + } + ], + "remoteSources": [], + "pthreadPoolSize": 0 +} \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/package.json b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/package.json new file mode 100644 index 00000000..3e0a2a7f --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/package.json @@ -0,0 +1 @@ +{ "type":"module" } \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resourceLoader.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resourceLoader.js new file mode 100644 index 00000000..25b94d01 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resourceLoader.js @@ -0,0 +1 @@ +let require;const ENVIRONMENT_IS_NODE="string"==typeof globalThis.process?.versions?.node,ENVIRONMENT_IS_DENO="object"==typeof window&&"Deno"in window||"object"==typeof self&&"Deno"in self;export async function initialize(){if(null!=globalThis.process?.versions?.node){const{createRequire:e}=await import("module");require=e(import.meta.url)}}export function fetchResource(e,r){try{if(ENVIRONMENT_IS_NODE){const o=require("node:fs"),t=require("node:path"),{fileURLToPath:i}=require("node:url"),n=`${t.dirname(i(import.meta.url))}/resources/${e}`,s=o.readFileSync(t.normalize(n));globalThis.gdPicture.module.FS.writeFile(`/resources/${r}`,new Uint8Array(s))}else if(ENVIRONMENT_IS_DENO){const o=`${new URL(".",import.meta.url).pathname}/resources/${e}`,t=Deno.readFileSync(o);globalThis.gdPicture.module.FS.writeFile(`/resources/${r}`,new Uint8Array(t))}else{const o=`${globalThis.gdPicture.baseUrl}/resources/${e}`,t=new XMLHttpRequest;t.open("GET",o,!1),t.overrideMimeType("text/plain; charset=x-user-defined"),t.send(),200===t.status?globalThis.gdPicture.module.FS.writeFile(`/resources/${r}`,stringToArrayBuffer(t.response)):console.error(`Could not retrieve resource. Status: ${t.status}`)}}catch(e){console.error(`Could not retrieve resource. Exception: ${e}`)}}function stringToArrayBuffer(e){const r=new ArrayBuffer(e.length),o=new Uint8Array(r);for(let r=0,t=e.length;r驮v6w7j{ GgL[LqLqL8+(]}uC 4-1PwH#c$&聘jGbz&Z腨W"w7߉ +$Znp뮑S_ VG \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®78-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®78-V.dat new file mode 100644 index 00000000..a516681c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®78-V.dat @@ -0,0 +1 @@ +x%̽j`Jp}B]t(\:ekoSDpwzpԛ%IAumo[hx'[jx4LJ+mb0DD|ħJ _*9r|(R¯J* lUZعBF\0<‚WXּ†J˖!WT1 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®78ms-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®78ms-RKSJ-H.dat new file mode 100644 index 00000000..8571d516 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®78ms-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®78ms-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®78ms-RKSJ-V.dat new file mode 100644 index 00000000..fa7c606c --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®78ms-RKSJ-V.dat @@ -0,0 +1,3 @@ +xEKKa!>Z+DJ u_i;; -VWQIioq]M}u +Nržq[=k^OMd[3tٛ W9;1m޾a̎` 6B%kK7ivo 2.d]ֽ7r[v v܎dvg=2ՠܗoq *}aPOO_~o?W~!>I&yL0!RL`<-H3GX!0(G 2A9 ̳_01s LpuINV0)V +9n grsE< \``l,q}e.`+!X*;k\%:yU lrڤ Yv&`mѻZUh6];( :SDn==ڣ#\^=}ڧ"RG/R; \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®83pv-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®83pv-RKSJ-H.dat new file mode 100644 index 00000000..ab4e2e4b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®83pv-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90ms-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90ms-RKSJ-H.dat new file mode 100644 index 00000000..a8f8ba36 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90ms-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90ms-RKSJ-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90ms-RKSJ-UCS2.dat new file mode 100644 index 00000000..b5d22be8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90ms-RKSJ-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90ms-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90ms-RKSJ-V.dat new file mode 100644 index 00000000..a47109f2 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90ms-RKSJ-V.dat @@ -0,0 +1,2 @@ +xEKKa!>]t0Ѱ(BϚ Az6.E183:GDmdsBUTr|WSb'l}lr[nOE۸pƞOLPo/ۧ&h- :Mv+6o_0jXP[!AʥKq .lM`mn}2q;u_ J}jP70A'/A ԫG?} $, rG)xR0!f`,da`#de y'( 8c s NF0IV8.4pEg` l,r%.`˼!X +\%xUulp ڨ Iv&tfmֻZEhVM۵( :CD.=ڭ#\=ګ"R/7? \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90msp-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90msp-RKSJ-H.dat new file mode 100644 index 00000000..d60b4783 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90msp-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90msp-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90msp-RKSJ-V.dat new file mode 100644 index 00000000..cfe70499 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90msp-RKSJ-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90pv-RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90pv-RKSJ-H.dat new file mode 100644 index 00000000..265cf14d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90pv-RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90pv-RKSJ-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90pv-RKSJ-UCS2.dat new file mode 100644 index 00000000..264f511c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90pv-RKSJ-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90pv-RKSJ-UCS2C.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90pv-RKSJ-UCS2C.dat new file mode 100644 index 00000000..2f5def6c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90pv-RKSJ-UCS2C.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90pv-RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90pv-RKSJ-V.dat new file mode 100644 index 00000000..c85cc6aa --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®90pv-RKSJ-V.dat @@ -0,0 +1 @@ +xEMKQ2xʝ "Cn6!iת<7 Br|̏: D6ZZj-VWޮ-/S8<uc:=qOܫŽ7q(5ǂDh?yOAA z*(jQe-/AE+[Pժ P/Gzvk?Jav-N+Xn6`Vs+Z4дe0ۊ#dTXSEUX +OgXc*WDQg2lbLSMPbOuvsEV~TҞk \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Add-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Add-V.dat new file mode 100644 index 00000000..b723ddd7 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Add-V.dat @@ -0,0 +1 @@ +x%MKasKCDPja-jD C:F-G-Eʝ6Hu"6}81:݀%o6Y 7>^1U}ØiO0:)jW:7״bȈhZDhYEm#:ֱ1>ETVj1MJWkƼ21oyf;+c^y2#C7}$iNxB=K gH, nIO$s \ɄO' 8ྠd3 \䩄wK\`<>=>U j<qO\`![[ho \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-0.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-0.dat new file mode 100644 index 00000000..46a900d3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-1.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-1.dat new file mode 100644 index 00000000..cc0448e8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-2.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-2.dat new file mode 100644 index 00000000..9c02a633 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-3.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-3.dat new file mode 100644 index 00000000..c2ea5f03 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-4.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-4.dat new file mode 100644 index 00000000..8df3a15e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-5.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-5.dat new file mode 100644 index 00000000..42421863 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-6.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-6.dat new file mode 100644 index 00000000..56e68c7c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-6.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-7.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-7.dat new file mode 100644 index 00000000..33db65eb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-7.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-B5pc.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-B5pc.dat new file mode 100644 index 00000000..d65b9bf0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-B5pc.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-ETenms-B5.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-ETenms-B5.dat new file mode 100644 index 00000000..8165b275 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-ETenms-B5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-H-CID.dat new file mode 100644 index 00000000..ac2e376d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-H-Host.dat new file mode 100644 index 00000000..fb2e9201 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-H-Mac.dat new file mode 100644 index 00000000..302bdfb0 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-UCS2.dat new file mode 100644 index 00000000..d1e3b07c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-CNS1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-0.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-0.dat new file mode 100644 index 00000000..b6d05924 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-1.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-1.dat new file mode 100644 index 00000000..ee304d0e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-2.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-2.dat new file mode 100644 index 00000000..a4f0bd70 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-3.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-3.dat new file mode 100644 index 00000000..f250662e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-4.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-4.dat new file mode 100644 index 00000000..acc71545 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-5.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-5.dat new file mode 100644 index 00000000..9b78c40e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-UCS2.dat new file mode 100644 index 00000000..725a844b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-GB1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-0.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-0.dat new file mode 100644 index 00000000..04bb9ac4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-1.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-1.dat new file mode 100644 index 00000000..addb6246 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-2.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-2.dat new file mode 100644 index 00000000..4cc5ec8e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-3.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-3.dat new file mode 100644 index 00000000..bdb56a82 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-3.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-4.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-4.dat new file mode 100644 index 00000000..a43767cd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-4.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-5.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-5.dat new file mode 100644 index 00000000..71400f97 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-6.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-6.dat new file mode 100644 index 00000000..8f3c5a4d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-6.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-90ms-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-90ms-RKSJ.dat new file mode 100644 index 00000000..e049e02b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-90ms-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-90pv-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-90pv-RKSJ.dat new file mode 100644 index 00000000..4e632385 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-90pv-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-H-CID.dat new file mode 100644 index 00000000..ac40ffe5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-H-Host.dat new file mode 100644 index 00000000..fcb56d54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-H-Mac.dat new file mode 100644 index 00000000..dfba535c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-UCS2.dat new file mode 100644 index 00000000..9e40df62 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan2-0.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan2-0.dat new file mode 100644 index 00000000..aa5004ff Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Japan2-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-0.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-0.dat new file mode 100644 index 00000000..32240d5e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-0.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-1.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-1.dat new file mode 100644 index 00000000..c0545801 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-1.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-2.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-2.dat new file mode 100644 index 00000000..33f7cf3f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-H-CID.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-H-CID.dat new file mode 100644 index 00000000..18faba63 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-H-CID.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-H-Host.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-H-Host.dat new file mode 100644 index 00000000..93e1ff92 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-H-Host.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-H-Mac.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-H-Mac.dat new file mode 100644 index 00000000..6a47ad70 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-H-Mac.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-KSCms-UHC.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-KSCms-UHC.dat new file mode 100644 index 00000000..3fba1e58 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-KSCms-UHC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-KSCpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-KSCpc-EUC.dat new file mode 100644 index 00000000..30597cd3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-KSCpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-UCS2.dat new file mode 100644 index 00000000..ada286a1 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Adobe-Korea1-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®B5-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®B5-H.dat new file mode 100644 index 00000000..1890fd27 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®B5-H.dat @@ -0,0 +1,9 @@ +x%[PG j"5h8Awm&S/2Q{Jlb&hzdE;t2$39L aq(*,*˲, o޼k|E!DDߟ c6AU: VQfVR*_ jY%_!+C@擞9%@PZM@sAK|B* jra#ET#PE\*P\|j%ԩu/|JN< +U%ZTP\*WBQOZe\**X~1p9_*:Vp!+P\Ye&X(sXy,dUu⪀eUPVA^+3ZWՐTjjЪ5P5\sl d-նjr'' k]?}]Z ԰g-T7a-d#5k5rc\d5."7iHktm:k|:fj.ji-ku`8h!x( [B-Z-ܲ)VjT+ZڨmsT[i[ (k ۩QvG wy8j%o`mEZ(lҗCH"lyO6Zec[zVwj]I}3Ioo?#O%ጝ%AٛeI-oDo9;ۗrnrDlcMv +]SZNrd!۫[6APgzIz7> ˽죾:>[͐4dțtd|ө5Hi[y!⡕[!]:* +MvWoO؆'7_fK oѭnQtۡnOCӰ[kxlx} +ឭb|@H4 +5ʣBzcH⡇=@_wdz4gyܦu<u}r&Z&x&iI~MZSqYRUy?Sǔ9*RzLE/QTz Xz tDoLlZZLWPWZT*TJB.tjQQ*".: +*]кW,SOAsIJU%2 +J*RV4TٓO˸RTa9ox*?UUZf22^3/GCVRY\׺F~_jt}F:_ߵ>[UUZTONj}k, o|AQWAqK߭l>nl_@5v4v#7&\&<iZXey2#[r4–?B6SV37xZ.=-VjZNJ[86jka͈Cg[g8lxHqknCG i|ppUyA#4 5#o&CzcOccϧ≇=^C/B蟵hlZkv9Nz jmZ~P!'hYk'Xk&턚서)Ck =r~0y!?+Q#~.r5?]4Ou8̚T\P3/)QߏRŘ}HKPsstmɟ??^)|~zVH 7@Gx;@sPG tN g `0y_3q6x6x^wKxJ1x,:I ccM"yFHg#y@2ȘDG1Z#Yd_1uDs]!H&0Nb6#La-LcSkRB5RF \-:{d HGtHS^%,]"X~OVPIVa-]CRG- :ilb3(-ml";؉Dw{4EW +c 9h }r÷(}?d \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®CNS2-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®CNS2-V.dat new file mode 100644 index 00000000..c32d92fa Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®CNS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®CourierStdToNew.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®CourierStdToNew.dat new file mode 100644 index 00000000..bf30555e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®CourierStdToNew.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®DefaultCMYK.icc b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®DefaultCMYK.icc new file mode 100644 index 00000000..881cfb41 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®DefaultCMYK.icc differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®DroidSansFallbackFull.ttf b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®DroidSansFallbackFull.ttf new file mode 100644 index 00000000..8d0d69a7 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®DroidSansFallbackFull.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®DroidSansMono.ttf b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®DroidSansMono.ttf new file mode 100644 index 00000000..98e21409 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®DroidSansMono.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®ETHK-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®ETHK-B5-H.dat new file mode 100644 index 00000000..a19245c5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®ETHK-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®ETHK-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®ETHK-B5-V.dat new file mode 100644 index 00000000..7023d86e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®ETHK-B5-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®ETen-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®ETen-B5-H.dat new file mode 100644 index 00000000..772fe376 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®ETen-B5-H.dat @@ -0,0 +1,4 @@ +x%kpDD(!&pIT0re:SfAE"VMP?:/:;δ:= 亁\ȅl.d%Hvsߐdf۞_y}WBTQb RQ'VGلw)=ԢZbI-IJbe\T.<^+>ohk[%t( +_: +2Zd|T8.PWJQB*<(T!iQVBq\ YL?hsV TÒ KbTa)=UeZf22w_F͟GCSY\׺JW_]uu56u\ YA_VJL^Uɕ@VQUVWW}uu'!k'jƥUK{BrBQ]V@SG1Pm1h~ޠkAA6PCV7x,[^7,}1␅,Gb,lS,d#5Nh5r SPMdjqPEġߏl:tqll9'-ܒi}ϚcV!Zc6Z9^Yer=i;l #ǖc$^e#۪P6elֿkrk PvGo€}^a loMPmܶa/d; ~J˱q6AujG8]ht:0`RduDotKK?l|ur甖6B9FțtӣuonE]mzn4T7wyzzgQzmޯ7Cޢ[[|+#6*6vjQ_>;۴VHNnrurL7]֝S76IMA6^kFigۡyC4ZϐgkI4|. j`" yN#4 5#'CҨYk?d<}0Ex8ʣ@_ZѷԾ5 lh3 #\ĦаT "Z 6*2lUrة(W)QRQFJD/0 +3]a·+,t%_+)DFD"+F4E6N~T3EZВpLoII;oFv+D.BntE+҇vҏ'D0 bp a(0_# }xJt ced㱱xM&1C0':d3dE0K|SKX X#+XqNt_ YڽXI6}At/6] `g}ItH?d{E_/`R \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GB-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GB-EUC-V.dat new file mode 100644 index 00000000..fcc9b6fd --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GB-EUC-V.dat @@ -0,0 +1,3 @@ +x- `E0 +(!T=FX +!BDVgqSЏFHbm4FZjiMUʎlG;܋˘q-(XpxÝ%CA͚KEÆh&"3 R|VA \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GB-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GB-H.dat new file mode 100644 index 00000000..695fe1c8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GB-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GB-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GB-V.dat new file mode 100644 index 00000000..af567748 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GB-V.dat @@ -0,0 +1,4 @@ +x%= +@E;,ByrI +Ke.@B2kw8Mf)Od?- ΂ +k{+m>mH#;ĕ,5k.GxR^;={b`ȗ`ķ 2r \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GBK-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GBK-EUC-H.dat new file mode 100644 index 00000000..531672ad Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GBK-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GBK-EUC-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GBK-EUC-UCS2.dat new file mode 100644 index 00000000..5b5f8002 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GBK-EUC-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GBK-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GBK-EUC-V.dat new file mode 100644 index 00000000..a67b0113 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®GBK-EUC-V.dat @@ -0,0 +1,2 @@ +x59`E8p)74BR' \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKm314-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKm314-B5-H.dat new file mode 100644 index 00000000..3753d7dc Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKm314-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKm314-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKm314-B5-V.dat new file mode 100644 index 00000000..e76f5d71 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKm314-B5-V.dat @@ -0,0 +1,2 @@ +xEƱ +Aqr݀Կ CQuE1 `P+k:7B<ӓvzy?Qa}J$W3$Oq,KV\57yÖcC>p)74 C˿& \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKm471-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKm471-B5-H.dat new file mode 100644 index 00000000..23ead8d3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKm471-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKm471-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKm471-B5-V.dat new file mode 100644 index 00000000..2a44d619 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKm471-B5-V.dat @@ -0,0 +1,3 @@ +xEƱ +Aqrn:/6PEEQ`0 +΍PdENޏ|_X_mAxL8Sf9 .WfMް.y ?& \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKscs-B5-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKscs-B5-H.dat new file mode 100644 index 00000000..56a2d1fd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKscs-B5-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKscs-B5-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKscs-B5-V.dat new file mode 100644 index 00000000..2ec41783 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®HKscs-B5-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hankaku.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hankaku.dat new file mode 100644 index 00000000..ec002fc3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hankaku.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hiragana.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hiragana.dat new file mode 100644 index 00000000..ce2a4471 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hiragana.dat @@ -0,0 +1,2 @@ +x%-@PF~@ue3*+\Q 3ӎ3l g|#DFFN+&idfjEczǸ + \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hojo-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hojo-EUC-H.dat new file mode 100644 index 00000000..d50e5a0d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hojo-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hojo-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hojo-EUC-V.dat new file mode 100644 index 00000000..b71442c8 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hojo-EUC-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hojo-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hojo-H.dat new file mode 100644 index 00000000..34ecce80 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Hojo-H.dat @@ -0,0 +1 @@ +x%=LSq{@Fr/|JRR(|C) A:IqprprP&`b`ĻrNrrkckىzfBWQF=7\,}ҏ  \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCms-UHC-UCS2.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCms-UHC-UCS2.dat new file mode 100644 index 00000000..4b8634b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCms-UHC-UCS2.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCms-UHC-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCms-UHC-V.dat new file mode 100644 index 00000000..6f156c2d --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCms-UHC-V.dat @@ -0,0 +1,3 @@ +xE1 +p .)\ƨ[4DAWTS$CcDx MxA00G޿Cgt.p1c` z9\Μ ؝O.6\_Up2` +at+UTU { y=N \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCpc-EUC-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCpc-EUC-H.dat new file mode 100644 index 00000000..acf61b84 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCpc-EUC-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCpc-EUC-UCS2C.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCpc-EUC-UCS2C.dat new file mode 100644 index 00000000..b10e553e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCpc-EUC-UCS2C.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCpc-EUC-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCpc-EUC-V.dat new file mode 100644 index 00000000..e4722c74 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®KSCpc-EUC-V.dat @@ -0,0 +1,2 @@ +xEʱ `Eۦq".`) +jV%`R !dA XU8^L~w#=g.p#`1c:9\ƌ ؝O.j\Ú_UpR`rat+T+UT) h_=. \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Katakana.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Katakana.dat new file mode 100644 index 00000000..fd967d4f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Katakana.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®NWP-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®NWP-H.dat new file mode 100644 index 00000000..7e60acdf Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®NWP-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®NWP-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®NWP-V.dat new file mode 100644 index 00000000..dc461eb9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®NWP-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®OutputIntent.icc b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®OutputIntent.icc new file mode 100644 index 00000000..1b072d80 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®OutputIntent.icc differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®PDFA-XMP.4.2.3 b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®PDFA-XMP.4.2.3 new file mode 100644 index 00000000..0bb93bfd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®PDFA-XMP.4.2.3 differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®RKSJ-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®RKSJ-H.dat new file mode 100644 index 00000000..45d15da6 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®RKSJ-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®RKSJ-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®RKSJ-V.dat new file mode 100644 index 00000000..21772182 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®RKSJ-V.dat @@ -0,0 +1,2 @@ +x%KJBqw&sW"rIhAHw̙NED\+4qf﷕uoUw7 U" ؋K8+8k8(}uG 4=1PH#=cDL431T/L3sF,;QsDܟDu/" +&npiE/vq)C=WU \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Roman.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Roman.dat new file mode 100644 index 00000000..dfee909d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Roman.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Symbol.ttf b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Symbol.ttf new file mode 100644 index 00000000..a961602c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Symbol.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-90ms-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-90ms-RKSJ.dat new file mode 100644 index 00000000..73c911b5 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-90ms-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-90pv-RKSJ.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-90pv-RKSJ.dat new file mode 100644 index 00000000..d677b3fb Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-90pv-RKSJ.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-B5pc.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-B5pc.dat new file mode 100644 index 00000000..583a9959 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-B5pc.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-ETen-B5.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-ETen-B5.dat new file mode 100644 index 00000000..84dc29b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-ETen-B5.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-GBK-EUC.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-GBK-EUC.dat new file mode 100644 index 00000000..9086b27e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-GBK-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-GBpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-GBpc-EUC.dat new file mode 100644 index 00000000..4147ed82 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-GBpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-KSCms-UHC.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-KSCms-UHC.dat new file mode 100644 index 00000000..b75d746a Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-KSCms-UHC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-KSCpc-EUC.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-KSCpc-EUC.dat new file mode 100644 index 00000000..f9fbe4c3 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UCS2-KSCpc-EUC.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UCS2-H.dat new file mode 100644 index 00000000..828f6a5b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UCS2-V.dat new file mode 100644 index 00000000..0a6a270b Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF16-H.dat new file mode 100644 index 00000000..488bc329 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF16-V.dat new file mode 100644 index 00000000..6d7d156e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF16-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF32-H.dat new file mode 100644 index 00000000..7cbbe581 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF32-V.dat new file mode 100644 index 00000000..a5d16ba9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF8-H.dat new file mode 100644 index 00000000..a49aea21 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF8-V.dat new file mode 100644 index 00000000..ee565245 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniCNS-UTF8-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UCS2-H.dat new file mode 100644 index 00000000..c56a1528 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UCS2-V.dat new file mode 100644 index 00000000..bc1f554a --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UCS2-V.dat @@ -0,0 +1 @@ +xM1k`Eﻓ`+h%t <\%Fbь[w tl'ju?%00?8l}|W%F 'A?~LPAHJbs-%J4Sm**U&Lt74 + aZ4 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UTF16-H.dat new file mode 100644 index 00000000..2ad4fa7f Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UTF16-V.dat new file mode 100644 index 00000000..7ff0ba73 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UTF16-V.dat @@ -0,0 +1 @@ +xM`E;PDMY,R"=l'9W_ݢZ AOnDɝrFmۉ.F:6X`fkJut *#M"  \yv@A%P L@H|(14 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UTF8-H.dat new file mode 100644 index 00000000..cdf16983 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UTF8-V.dat new file mode 100644 index 00000000..ce4830a2 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniGB-UTF8-V.dat @@ -0,0 +1 @@ +xMKPFovN,(t &-g\ 3qI$cfФj'd1 +~2(Qih"7v{9u;onp`dm7h~y?%^F171c7`sJ +愷<BC8)( >q4QGGFLLOp(=~p:ÑHIOq<=p"=RRzwl9T:'8K7%44Jy͗X_BBtNӕ 7S˴S\VhYZkUi Z5Z:[stnjnչUPu]P#h4jnyQФMIЬ:$h,uXЪG *z? MjAsA^'(k t^/NK,(hAoi X&b] +ETmeLGZLM˕zBGJ)nکWҵzuNtk.XNA^ݠګlԍOЧ}wA:ĵZ  )BRh ȵ16V,gzWn6]p@5؇޵ZOXb {X]^£K<^׾o=;vо8jGmk1;f[m~x=&l~xž='Nj1i;cǔM|kY.qY"GJM4|&bgEF`Y|.|!U<Qj$aODWzH;W<Ml⑀f6 +_sS.< x,`!TD'|7g'hc+,b~.cK Ώ""[|<<VR^+#VqXOe_Ft~.~'7u_Gz F~]8~1NO0AMy1!,0y(` qlvg;8eE߀˪"q+U`E#<*6d5%-B2>:Mf{X \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISPro-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISPro-UCS2-V.dat new file mode 100644 index 00000000..a657c0b2 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISPro-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISPro-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISPro-UTF8-V.dat new file mode 100644 index 00000000..cf4182d9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISPro-UTF8-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISX0213-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISX0213-UTF32-H.dat new file mode 100644 index 00000000..a3b5ef63 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISX0213-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISX0213-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISX0213-UTF32-V.dat new file mode 100644 index 00000000..365fbf28 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISX0213-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISX02132004-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISX02132004-UTF32-H.dat new file mode 100644 index 00000000..538a3f54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISX02132004-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISX02132004-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISX02132004-UTF32-V.dat new file mode 100644 index 00000000..de0455de Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniJISX02132004-UTF32-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UCS2-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UCS2-H.dat new file mode 100644 index 00000000..ed856026 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UCS2-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UCS2-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UCS2-V.dat new file mode 100644 index 00000000..f1c50727 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UCS2-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF16-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF16-H.dat new file mode 100644 index 00000000..b66337f9 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF16-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF16-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF16-V.dat new file mode 100644 index 00000000..fecb38f4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF16-V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF32-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF32-H.dat new file mode 100644 index 00000000..d6a7dc7e Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF32-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF32-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF32-V.dat new file mode 100644 index 00000000..7aec18e0 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF32-V.dat @@ -0,0 +1,2 @@ +xM? AqFߟ r-[blRFE&ʧA8ϵܧ9p~Mt flB3WEV@ZfX)rH  +GET`|9pJ~<D\ED\5$bक़#b 2 \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF8-H.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF8-H.dat new file mode 100644 index 00000000..afc93e54 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF8-H.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF8-V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF8-V.dat new file mode 100644 index 00000000..d0110aa4 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®UniKS-UTF8-V.dat @@ -0,0 +1 @@ +xMMPӘvdV`n"1`b,QQ2^X@{k$O76[U]U;_4ӕwH3码MO4; ,Hc/+7,WY+ lX&[⩁#jDd84Db⪁1qrCB|a. \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®V.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®V.dat new file mode 100644 index 00000000..f7b2445d Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®V.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®WP-Symbol.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®WP-Symbol.dat new file mode 100644 index 00000000..aa6295e5 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®WP-Symbol.dat @@ -0,0 +1,3 @@ +x%Ja?6 7G1MZ +⮈ENНt^.,WDKɁ#OY"_%~DsF +JY:[K"&+ɮin.Xm/ptc*'0b#gFlΜx䕜DH \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Wingding.ttf b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Wingding.ttf new file mode 100644 index 00000000..a50b2cfd Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®Wingding.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®ZapfDingbats.ttf b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®ZapfDingbats.ttf new file mode 100644 index 00000000..649ccd58 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®ZapfDingbats.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®fontsubst.dat b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®fontsubst.dat new file mode 100644 index 00000000..91fe0986 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®fontsubst.dat differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®times.ttf b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®times.ttf new file mode 100644 index 00000000..2e69c6a4 Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/resources/®times.ttf differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/supportFiles/0_runtimeconfig.bin b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/supportFiles/0_runtimeconfig.bin new file mode 100644 index 00000000..c33b89a9 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/gdpicture-7a46d8716af33da4a74d2750fe22e8fe32214715/supportFiles/0_runtimeconfig.bin @@ -0,0 +1 @@ + MMicrosoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmabilitytruefSystem.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerializationfalse6System.Reflection.Metadata.MetadataUpdater.IsSupportedfalse9System.Resources.ResourceManager.AllowCustomResourceTypesfalsebutton{fill:#4d525d;fill:var(--PSPDFKit-FormDesignerExpandoComponent-button-text-color);background-color:#f6f8fa;background-color:var(--PSPDFKit-FormDesignerExpandoComponent-button-color);color:#4d525d;color:var(--PSPDFKit-FormDesignerExpandoComponent-button-text-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);letter-spacing:.03rem;margin:0;padding-left:6px;text-transform:uppercase}.PSPDFKit-9kt28ket9qkhevfbz7cbbw1hb>button:hover{fill:#2b2e36;fill:var(--PSPDFKit-FormDesignerExpandoComponent-button-text-hover-color);color:#2b2e36;color:var(--PSPDFKit-FormDesignerExpandoComponent-button-text-hover-color);cursor:pointer}.PSPDFKit-4qbtrs7uku7m1vc5hra33bpuyg{display:flex;padding:0.46875em;padding:var(--PSPDFKit-spacing-7)}.PSPDFKit-3wag8ffkyv8h2tybvhe7amk9nm{height:22px;margin-right:0.46875em;margin-right:var(--PSPDFKit-spacing-7);width:12px}.PSPDFKit-5sx5qx4udha76yjmqjkh932ffg{fill:#000;fill:var(--PSPDFKit-FormDesignerExpandoComponent-content-color);color:#000;color:var(--PSPDFKit-FormDesignerExpandoComponent-content-color)} +.PSPDFKit-8ehcbhz241z1tfyhjztbe12ube{align-items:center;background-color:transparent;border:1px solid transparent;color:inherit;cursor:pointer;display:flex;font:inherit;justify-content:center;line-height:normal;padding:0;touch-action:pan-x;width:auto}.PSPDFKit-86bf3wbtmfc5xa3yfd4fazea9y,.PSPDFKit-8ehcbhz241z1tfyhjztbe12ube:disabled{cursor:default;pointer-events:none}.PSPDFKit-5734rhbbfgd613g81qs13md49y{margin-right:11px}.PSPDFKit-2n6h3jcy1kke81pjgewmpnqa34{cursor:not-allowed} +.PSPDFKit-996xvngvf7q6px5aesbyjcvt5{background:transparent;border:none;color:#fff;color:var(--PSPDFKit-ColorDropdown-customColor-deleteButton-color);display:none;height:16px;padding:0;position:absolute;right:-6px;top:-7px;width:16px}@media(max-width:992px)and (hover:none){.PSPDFKit-996xvngvf7q6px5aesbyjcvt5{align-items:center;border-radius:5px;display:flex;height:34px;justify-content:center;right:-30px;top:-1px;width:30px;z-index:1}.PSPDFKit-996xvngvf7q6px5aesbyjcvt5 svg{height:24px;width:24px}}.PSPDFKit-43z4uam4dc2twts8dzzjr863sc:hover .PSPDFKit-996xvngvf7q6px5aesbyjcvt5{display:block}.PSPDFKit-43z4uam4dc2twts8dzzjr863sc{position:relative}@media(max-width:992px){.PSPDFKit-43z4uam4dc2twts8dzzjr863sc:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-ColorDropdown-colorItemContainer-isFocused-background)}} +.PSPDFKit-61pwj551swb751vsvtncfs97hr{background:#fcfdfe;background:var(--PSPDFKit-DropdownMenu-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-DropdownMenu-border);border-radius:4px;box-shadow:0 3px 12px rgb(61 66 78 / 0.5);box-shadow:0 3px 12px var(--PSPDFKit-shadow-color);color:#2b2e36;color:var(--PSPDFKit-DropdownMenu-color);list-style:none;margin:0;padding:0.609em;padding:var(--PSPDFKit-spacing-6);-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-61pwj551swb751vsvtncfs97hr.PSPDFKit-3txgs1brv6djswfx9c7deps2u2{border:0;height:0;padding:0}.PSPDFKit-61pwj551swb751vsvtncfs97hr.PSPDFKit-8f8f78v7f3wp5n55qwjfz6qd98{visibility:hidden}.PSPDFKit-33kurg23vuastg415g558n9d74{align-items:center;background:#fff;background:var(--PSPDFKit-DropdownMenu-item-background);border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-DropdownMenu-item-border);color:inherit;cursor:pointer;display:flex;font:inherit;height:34px;justify-content:flex-start;line-height:normal;padding:0 11px;text-align:initial;touch-action:pan-x;width:100%}.PSPDFKit-width-md .PSPDFKit-33kurg23vuastg415g558n9d74,.PSPDFKit-width-sm .PSPDFKit-33kurg23vuastg415g558n9d74,.PSPDFKit-width-xs .PSPDFKit-33kurg23vuastg415g558n9d74{display:none}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r{align-items:center;background:#fff;background:var(--PSPDFKit-DropdownMenu-button-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-DropdownMenu-button-border);border-radius:3px;color:#3d424e;color:var(--PSPDFKit-DropdownMenu-button-color);cursor:pointer;display:flex;font-family:inherit;font-size:inherit;justify-content:space-between;padding:0.46875em;padding:var(--PSPDFKit-spacing-7)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r .PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd{fill:#848c9a;fill:var(--PSPDFKit-DropdownMenu-button-fill)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r:hover:not(.PSPDFKit-2dk2qm9asz7my783w1r6n44gcq),.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r[data-focus-within]{background:#fff;background:var(--PSPDFKit-DropdownMenu-button-background);color:#3d424e;color:var(--PSPDFKit-DropdownMenu-button-color)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r:hover:not(.PSPDFKit-2dk2qm9asz7my783w1r6n44gcq) .PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd,.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r[data-focus-within] .PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd{fill:#090c12;fill:var(--PSPDFKit-DropdownMenu-button-isHovered-color)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r:focus-within{background:#fff;background:var(--PSPDFKit-DropdownMenu-button-background);color:#3d424e;color:var(--PSPDFKit-DropdownMenu-button-color)}.PSPDFKit-4dvm3x8wyss7tgunnpgjqt7f8r:focus-within .PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd{fill:#090c12;fill:var(--PSPDFKit-DropdownMenu-button-isHovered-color)}.PSPDFKit-5nr9hus8pqrwezzkgpd829srq5{background:#f0f3f9;background:var(--PSPDFKit-DropdownMenu-isSelected-background);color:#3d424e;color:var(--PSPDFKit-DropdownMenu-isSelected-color)}.PSPDFKit-2npkau1bttsh6zan1r4gdrzpzd.PSPDFKit-5qky4ks8vy64a1wucbs25k86sv{fill:#090c12;fill:var(--PSPDFKit-DropdownMenu-button-isHovered-color)}.PSPDFKit-7e9vp9ptc17dn5jtjsppjv8j8d{max-width:200px}.PSPDFKit-7e9vp9ptc17dn5jtjsppjv8j8d span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap} +.PSPDFKit-2h6u1uvepb29aceyswrhabn442,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5{background-color:transparent;border:0;height:44px;margin:0;transition:background-color .15s,color .15s}.PSPDFKit-2h6u1uvepb29aceyswrhabn442 .PSPDFKit-3dcfza4a2zm1e2eg4echhrm6g5,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz .PSPDFKit-3dcfza4a2zm1e2eg4echhrm6g5,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5 .PSPDFKit-3dcfza4a2zm1e2eg4echhrm6g5{fill:currentColor;display:flex;flex-direction:column;height:24px;justify-content:center;width:24px}.PSPDFKit-2h6u1uvepb29aceyswrhabn442:active,.PSPDFKit-2h6u1uvepb29aceyswrhabn442:focus,.PSPDFKit-2h6u1uvepb29aceyswrhabn442:hover,.PSPDFKit-2h6u1uvepb29aceyswrhabn442[data-focus-within],.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:active,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:focus,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:hover,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz[data-focus-within],.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5:active,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5:focus,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5:hover,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5[data-focus-within]{background-color:#f0f3f9;background-color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-background);color:#3d424e;color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-color)}.PSPDFKit-2h6u1uvepb29aceyswrhabn442:focus-within,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:focus-within,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5:focus-within{background-color:#f0f3f9;background-color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-background);color:#3d424e;color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-color)}.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4:active,.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4:focus,.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4:hover,.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4[data-focus-within],.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8:active,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8:focus,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8:hover,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8[data-focus-within],.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k:active,.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k:focus,.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k:hover,.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k[data-focus-within]{background-color:transparent}.PSPDFKit-2h6u1uvepb29aceyswrhabn442.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4:focus-within,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5.PSPDFKit-5wps7sscy34hpgrmzwbrb2k8h8:focus-within,.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh.PSPDFKit-8mq4c412r44dvy4qtvyfp64p1k:focus-within{background-color:transparent}.PSPDFKit-2h6u1uvepb29aceyswrhabn442,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{min-width:44px;padding:0 11px}.PSPDFKit-8nyvpcm5qq23nzqvwdfzqayryh{display:flex}.PSPDFKit-2h6u1uvepb29aceyswrhabn442{color:inherit;padding:0 5px}.PSPDFKit-32j2tkxs7yf83d9vrqs2np1xja{align-items:center;cursor:pointer;display:flex;justify-content:center;padding:0;width:44px}.PSPDFKit-6511p928m8fcbcd7nb8arydjxe{opacity:.8}:active>.PSPDFKit-6511p928m8fcbcd7nb8arydjxe,:focus>.PSPDFKit-6511p928m8fcbcd7nb8arydjxe,:hover>.PSPDFKit-6511p928m8fcbcd7nb8arydjxe{opacity:1}.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5{border:0;padding:0}.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5 .PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{padding-right:0}.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5 .PSPDFKit-2h6u1uvepb29aceyswrhabn442,.PSPDFKit-59hpcfye46ptznzj6qnfjzxmw5 .PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{transition:none}.PSPDFKit-7t6uf3numwbvg2qg3x9sx7rkjx .PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{padding-left:0}.PSPDFKit-6s8pjz7ybfkbm9j34ce4qsz32w .PSPDFKit-2h6u1uvepb29aceyswrhabn442,.PSPDFKit-6s8pjz7ybfkbm9j34ce4qsz32w .PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz{background:transparent}.PSPDFKit-67e5xx7a8j97ze41fv1th56sbu{margin-right:11px}.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:disabled{cursor:not-allowed;opacity:0.3;opacity:var(--PSPDFKit-ToolbarButton-isDisabled-opacity);pointer-events:none}.PSPDFKit-43cceb3p2mywgnc9ah1q5apjh4 i,.PSPDFKit-5hqvpgcgpf1769cn35dvtg4ktz:disabled i{fill:#848c9a;fill:var(--PSPDFKit-ToolbarButton-isDisabled-child-fill)}.PSPDFKit-yyu2s7s1tuqk1ww7hvgfnef81,.PSPDFKit-yyu2s7s1tuqk1ww7hvgfnef81:active,.PSPDFKit-yyu2s7s1tuqk1ww7hvgfnef81:focus,.PSPDFKit-yyu2s7s1tuqk1ww7hvgfnef81:hover{background:#4636e3!important;background:var(--PSPDFKit-ToolbarButton-isActive-background)!important;color:#fff!important;color:var(--PSPDFKit-ToolbarButton-isActive-color)!important}.PSPDFKit-6511p928m8fcbcd7nb8arydjxe.PSPDFKit-7mpjdpbxyc5gttymwetaz47j3q{cursor:not-allowed;opacity:0.3;opacity:var(--PSPDFKit-ToolbarButton-isDisabled-opacity)} +.PSPDFKit-224gyk59mnmuy1j6u58s8bcf2p [tabindex]:not(:focus-visible){outline:5px auto Highlight;outline:5px auto -webkit-focus-ring-color}.PSPDFKit-3mxmx3p3whct5a2qk5bsb3v7rg[tabindex]:focus:not(:focus-visible){outline:5px auto Highlight;outline:5px auto -webkit-focus-ring-color} +.PSPDFKit-6eekmx2r3rzpn49557vdt2e5tj{fill:currentColor;display:flex;flex:24px 0 0;flex-direction:column;height:24px;justify-content:center;width:24px} +.PSPDFKit-3rtr4tx6y919hj63k8j6veyfvu{align-items:center;display:flex;flex-direction:row;height:30px;justify-content:center;min-width:30px}.PSPDFKit-2f2ahvz6xw42cz6ppqg7qrnv5w{background-color:transparent;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2LjQ5NyAxMkg3LjUwM00xMiA3LjUwM3Y4Ljk5NC04Ljk5NFoiIHN0cm9rZT0iIzg0OEM5QSIgc3Ryb2tlLXdpZHRoPSIxLjI1IiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjxwYXRoIGQ9Ik0xMiAyMS41YTkuNSA5LjUgMCAxIDAgMC0xOSA5LjUgOS41IDAgMCAwIDAgMTlaIiBzdHJva2U9IiM4NDhDOUEiLz48L3N2Zz4=");background-position:50%;background-repeat:no-repeat;background-size:contain;border-radius:50%;cursor:pointer}input[type=color]::-webkit-color-swatch{visibility:hidden}input[type=color]::-moz-color-swatch{visibility:hidden} +.PSPDFKit-4knn6qcs6mfzubc11j3jn3kdh9{align-items:center;color:inherit;display:flex;font-size:inherit;line-height:32px;margin:5px}.PSPDFKit-5sa85wwcx2g58bvnwu3e9vxux8{padding-right:6px}.PSPDFKit-27139754tezpaj4xtjvqyqphqa{align-items:center;display:flex;position:relative;width:140px}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;min-width:70px;padding:0;width:100%}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-runnable-track{background:#4636e3;border:0 solid #000;border-radius:4px;cursor:pointer;height:8px;min-width:70px;width:100%}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#4636e3;background:var(--PSPDFKit-SliderComponent-thumb-color);border:2px solid #fff;border:2px solid var(--PSPDFKit-SliderComponent-thumb-border);border-radius:100%;box-shadow:0 1px 2px 1px rgba(0,0,0,.2);box-sizing:border-box;cursor:pointer;height:16px;margin-top:-4px;-webkit-transition:background-color .2s;transition:background-color .2s;width:16px}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-thumb:active,.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-thumb:focus,.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-webkit-slider-thumb:hover{background:#190d94;background:var(--PSPDFKit-SliderComponent-thumb-isHovered-color)}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]:focus::-webkit-slider-runnable-track{background:#4636e3}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-track{background:#4636e3;border:0 solid #000;border-radius:4px;cursor:pointer;height:8px;min-width:70px;width:100%}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-progress{background:#4636e3;border:0 solid #4636e3;border:0 solid var(--PSPDFKit-SliderComponent-track-progress-color);border-radius:4px;cursor:pointer;height:8px;min-width:70px;width:100%}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-thumb{background:#4636e3;background:var(--PSPDFKit-SliderComponent-thumb-color);border:2px solid #fff;border:2px solid var(--PSPDFKit-SliderComponent-thumb-border);border-radius:100%;box-shadow:0 1px 2px 1px rgba(0,0,0,.2);box-sizing:border-box;cursor:pointer;height:16px;-moz-transition:background-color .2s;transition:background-color .2s;width:16px}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-thumb:active,.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-thumb:focus,.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-range-thumb:hover{background:#190d94;background:var(--PSPDFKit-SliderComponent-thumb-isHovered-color)}.PSPDFKit-27139754tezpaj4xtjvqyqphqa input[type=range]::-moz-focus-outer{border:0}.PSPDFKit-6b7xgm3nqzh79vcp4knygzskc2{margin-left:8px;text-align:right;white-space:nowrap} +.PSPDFKit-877ty5wd8zf2uk8mwxy3vm7ra1{align-items:center;color:inherit;cursor:pointer;display:flex;font-size:inherit;line-height:32px;margin:5px;position:relative}.PSPDFKit-877ty5wd8zf2uk8mwxy3vm7ra1:focus{outline:none}.PSPDFKit-8mewb5unfae7pfb8a3vhx2pfe4{cursor:pointer;margin-right:10px;position:relative}.PSPDFKit-7s1evqenghjbnmpkjx46g7aj7a{padding-right:6px}.PSPDFKit-4tsachwba3d2gug8ut8n2k7kw2{cursor:pointer;line-height:1;text-align:right;white-space:nowrap}.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm{background:#fff;background:var(--PSPDFKit-SliderDropdownComponent-items-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-SliderDropdownComponent-items-border);display:none;list-style:none;margin:0;min-width:100%;overflow:visible;position:absolute;text-align:left;top:100%;z-index:100}.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm:focus{outline:none}.PSPDFKit-width-md .PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm,.PSPDFKit-width-sm .PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm,.PSPDFKit-width-xs .PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm{left:auto!important;right:0}.PSPDFKit-86g1a3rfhteap5bxhyrt2js27u{bottom:100%;top:auto}.PSPDFKit-7dtmrym3urvgecwht2mvnd78yn{background:#fff;background:var(--PSPDFKit-SliderDropdownComponent-button-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-SliderDropdownComponent-button-border);border-radius:3px;color:#3d424e;color:var(--PSPDFKit-SliderDropdownComponent-button-color);cursor:pointer;font:inherit;line-height:1;min-width:5em;padding-right:20px;text-align:center;width:100%}.PSPDFKit-7dtmrym3urvgecwht2mvnd78yn:hover .PSPDFKit-4ukn6hggdcjm9mj167e7f6hqx1{fill:#090c12;fill:var(--PSPDFKit-SliderDropdownComponent-button-isHovered-color)}.PSPDFKit-7bepqp75z28r5jat89hqdhcjva{display:flex}.PSPDFKit-4ukn6hggdcjm9mj167e7f6hqx1{fill:#848c9a;fill:var(--PSPDFKit-SliderDropdownComponent-button-toggle-color);line-height:1;position:absolute;right:5px;top:50%;transform:translateY(-50%)}.PSPDFKit-9f949cfpq924euep2ae47njjm .PSPDFKit-4ukn6hggdcjm9mj167e7f6hqx1{fill:#090c12;fill:var(--PSPDFKit-SliderDropdownComponent-button-show-color)}.PSPDFKit-4ukn6hggdcjm9mj167e7f6hqx1 svg{height:12px;width:12px}.PSPDFKit-5zut7thxsf86fddq8rgtbtrenu{border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-SliderDropdownComponent-item-border);clear:both;color:#3d424e;color:var(--PSPDFKit-SliderDropdownComponent-item-color);display:block;overflow:hidden;padding:10px;text-decoration:none;white-space:nowrap}.PSPDFKit-5zut7thxsf86fddq8rgtbtrenu:last-child{border-bottom:0}.PSPDFKit-5bqkg9v7er35bgbtaqq2vnq3z8{background:--PSPDFKit-SliderDropdownComponent-item-isFocused-background;color:#fff;color:var(--PSPDFKit-SliderDropdownComponent--item-isFocused-color)}.PSPDFKit-y9nzknrtb2kq52c2xfb4715p7{background:--PSPDFKit-SliderDropdownComponent-item-isSelected-background}.PSPDFKit-6baefa9vw8uyyrsvfez7h3ewrq{color:#3d424e;color:var(--PSPDFKit-SliderDropdownComponent-item-isDisabled-color);opacity:0.3;opacity:var(--PSPDFKit-SliderDropdownComponent-item-isDisabled-opacity)}.PSPDFKit-5bqkg9v7er35bgbtaqq2vnq3z8.PSPDFKit-y9nzknrtb2kq52c2xfb4715p7{background:#4636e3;background:var(--PSPDFKit-SliderDropdownComponent-item-isFocused-isSelected-background);font-weight:700}.PSPDFKit-9f949cfpq924euep2ae47njjm>.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm{display:block;left:50%}.PSPDFKit-width-lg .PSPDFKit-9f949cfpq924euep2ae47njjm>.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm,.PSPDFKit-width-xl .PSPDFKit-9f949cfpq924euep2ae47njjm>.PSPDFKit-339qy9bx9b7sqbvd31hpseqnhm{transform:translateX(-50%)}.PSPDFKit-9f949cfpq924euep2ae47njjm>a{outline:0}.PSPDFKit-4xjmg49gjvk5zp5p42ms81uw4h{background:#fff;background:var(--PSPDFKit-SliderDropdownComponent-dropdown-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-SliderDropdownComponent-dropdown-border);border-radius:3px;box-shadow:0 3px 12px rgb(61 66 78 / 0.5);box-shadow:0 3px 12px var(--PSPDFKit-shadow-color);color:#848c9a;color:var(--PSPDFKit-SliderDropdownComponent-dropdown-color);height:auto;margin-top:5px;opacity:1;position:absolute;width:auto;z-index:2}.PSPDFKit-2cuzr66tz354vn9dgkzb1pwq4b{position:static} +.PSPDFKit-5w3r6933jce2abq346fpwgue51{flex-direction:row-reverse;justify-content:space-between;padding:2px;width:100%}.PSPDFKit-5w3r6933jce2abq346fpwgue51:after{box-shadow:none;color:#090c12;color:var(--color-coolGrey1000);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);font-weight:800;left:13px;right:.3125rem;top:0}.PSPDFKit-5w3r6933jce2abq346fpwgue51:before{border-radius:50%;margin-left:.5rem;margin-right:0}.PSPDFKit-45ug7rn2wuu9n7de4t3y1vuqwa:checked+.PSPDFKit-5w3r6933jce2abq346fpwgue51:before{background-color:#bec9d9;background-color:var(--color-coolGrey200);border-color:#bec9d9;border-color:var(--color-coolGrey200);box-shadow:none} +.PSPDFKit-6zammky19ps21racepzhy8rr4j{align-items:center;border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);display:flex;height:46px;padding:.5rem 1em;padding:.5rem var(--PSPDFKit-spacing-4)}.PSPDFKit-6zammky19ps21racepzhy8rr4j:last-child{border-bottom:none}.PSPDFKit-2973scygnut2d1y23dq3gdzwkg{display:flex;height:24px;width:24px}.PSPDFKit-257gq35az6dtxxmtvu6h8s17rt{flex:1 0;margin:0 1rem}.PSPDFKit-4jkuv1k2kb5b4d6b929psybced,.PSPDFKit-257gq35az6dtxxmtvu6h8s17rt{color:#3d424e;color:var(--PSPDFKit-FormDesignerPopoverComponent-item-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-5n1c5d9upb23g6mdj3vrzdqj7c{height:30px}.PSPDFKit-5n1c5d9upb23g6mdj3vrzdqj7c .PSPDFKit-Input-Color-Dropdown{margin-right:0}.PSPDFKit-78jtbtb2j2q11tpjx4jn1wvwvk{background-color:#fff;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-color-dropdown-menu-color)}.PSPDFKit-6s5q3xcggvrp6jet4dfsc14pgv{height:30px;margin:0}.PSPDFKit-6s5q3xcggvrp6jet4dfsc14pgv .PSPDFKit-Input-Dropdown-Items{transform:translateX(-78%)!important}.PSPDFKit-6gk4p1adjfr1kg7hjpk3dgvtwc{height:20px;width:20px}.PSPDFKit-4eqdajsqgt941vw7crd9u82kmt{align-items:center;border:none;border-radius:5px;display:flex;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-837ytb7vykc59sv5yrbgvzw1yp{display:none}.PSPDFKit-width-md .PSPDFKit-837ytb7vykc59sv5yrbgvzw1yp,.PSPDFKit-width-sm .PSPDFKit-837ytb7vykc59sv5yrbgvzw1yp,.PSPDFKit-width-xs .PSPDFKit-837ytb7vykc59sv5yrbgvzw1yp{align-items:center;display:block}.PSPDFKit-6u23tbh3mu8cm8awxqyzn1zyru{align-items:center;display:flex;height:30px}.PSPDFKit-width-md .PSPDFKit-6u23tbh3mu8cm8awxqyzn1zyru,.PSPDFKit-width-sm .PSPDFKit-6u23tbh3mu8cm8awxqyzn1zyru,.PSPDFKit-width-xs .PSPDFKit-6u23tbh3mu8cm8awxqyzn1zyru{display:none}.PSPDFKit-5rw15mhzf9ycre4r1g7q2ptv9h{padding:0}.PSPDFKit-3691qqtsdq1317y5z7k3ak5jgk{height:32px}.PSPDFKit-68nrp97epj74ah3dwvjg79nfmr{align-items:center;border-top:1px solid #f0f3f9;border-top:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);display:flex;height:46px;justify-content:space-between;padding:.5rem 1em;padding:.5rem var(--PSPDFKit-spacing-4)}.PSPDFKit-5fqyghhu3ajdj6t464j4ufdk6q{color:#848c9a;color:var(--color-coolGrey400);flex:1 0;font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);text-align:right}.PSPDFKit-7qt3uxz4r5wpssw2bbe778ga4g{align-items:center;display:flex;padding:0 1em 1em;padding:0 var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4)}.PSPDFKit-edsr1ac3tdhjwcufzhwq9jz98{height:16px;margin-right:8px;width:16px}.PSPDFKit-8fdb8fsm3rux9gpz8ggdyhhsyb{color:#3d424e;color:var(--PSPDFKit-FormDesignerPopoverComponent-warning-label-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);line-height:0.815rem;line-height:var(--PSPDFKit-lineHeight-2)}.PSPDFKit-71h65asx9k85mdns4n8j2kt3ag{position:relative}.PSPDFKit-71h65asx9k85mdns4n8j2kt3ag>div:first-child{cursor:not-allowed}.PSPDFKit-8drrc5pnvxucen4e82mywhscj3{pointer-events:none}.PSPDFKit-8drrc5pnvxucen4e82mywhscj3 input{background-color:transparent!important}.PSPDFKit-6eg6h7jnq9b1wjwv6kf3eqsd7b{padding-bottom:1.625em!important;padding-bottom:var(--PSPDFKit-spacing-3)!important}.PSPDFKit-width-md .PSPDFKit-7kqbgjh4u33aw27zwkrtu57p2e,.PSPDFKit-width-sm .PSPDFKit-7kqbgjh4u33aw27zwkrtu57p2e,.PSPDFKit-width-xs .PSPDFKit-7kqbgjh4u33aw27zwkrtu57p2e{border-radius:3px;padding:0.46875em 0;padding:var(--PSPDFKit-spacing-7) 0;width:100px}.PSPDFKit-width-md .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1,.PSPDFKit-width-sm .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1,.PSPDFKit-width-xs .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1{border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-deleteButton-border);color:#3d424e;color:var(--PSPDFKit-FormDesignerPopoverComponent-deleteButton-mobile-text-color);margin-right:8px}.PSPDFKit-width-md .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1:hover,.PSPDFKit-width-sm .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1:hover,.PSPDFKit-width-xs .PSPDFKit-68w1xn1tjp178f46bwdhvjg7f1:hover{background-color:initial}.PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx{background-color:#4636e3;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background);border:1px solid #2b1cc1;border:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-border);color:#fff;color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-color);display:none}.PSPDFKit-width-md .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx,.PSPDFKit-width-sm .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx,.PSPDFKit-width-xs .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx{background-color:#4636e3;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background);color:#fff;color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-color);display:block}.PSPDFKit-width-md .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx:hover,.PSPDFKit-width-sm .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx:hover,.PSPDFKit-width-xs .PSPDFKit-8jb23wpy76fvg2x2vsvwy4rwvx:hover{background-color:#4636e3;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background)}[class*=PSPDFKit-Form-Creator-Editor-Horizontal-Alignment-]:not(.PSPDFKit-Form-Creator-Editor-Horizontal-Alignment-active),[class*=PSPDFKit-Form-Creator-Editor-Vertical-Alignment-]:not(.PSPDFKit-Form-Creator-Editor-Vertical-Alignment-active){background-color:#f0f3f9;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-radioGroup-background-color)} +.PSPDFKit-6r17fy6uh5kqy3cfjb73vq9v1v{background:#f0f3f9;background:var(--PSPDFKit-AnnotationToolbar-background);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-2uhz161knhrkpzrb5mn5na3aqr{width:100%}.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3{align-items:center;border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-4hphv7cb89h1ffw9ptvmg9xjt8,.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex{align-items:center;display:flex;flex-grow:1}.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3,.PSPDFKit-width-sm .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3,.PSPDFKit-width-xs .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-4hphv7cb89h1ffw9ptvmg9xjt8,.PSPDFKit-width-sm .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-4hphv7cb89h1ffw9ptvmg9xjt8,.PSPDFKit-width-xs .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-4hphv7cb89h1ffw9ptvmg9xjt8{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex,.PSPDFKit-width-sm .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex,.PSPDFKit-width-xs .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3 .PSPDFKit-86nhzcde1runqybnpjzcykq7ex{flex-direction:row;justify-content:flex-start}.PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3.PSPDFKit-2qbav5sard6dxefsy6p5gufajq{flex-direction:row}.PSPDFKit-318vz1kpftbtjp8eccy824g4m6 .PSPDFKit-6jgwts4kv8dr7cftse42cxk2z3{border-bottom:none;border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-78mpt2swt4apfep3ag7quqq6me{align-items:center;height:44px}.PSPDFKit-2uws3ww83fja6b3syxj88szuvh{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-2uws3ww83fja6b3syxj88szuvh,.PSPDFKit-width-sm .PSPDFKit-2uws3ww83fja6b3syxj88szuvh,.PSPDFKit-width-xs .PSPDFKit-2uws3ww83fja6b3syxj88szuvh{margin-right:6px}.PSPDFKit-532n3mbvmujvwmv3zweh7u59u7{height:32px}.PSPDFKit-8b7caq86m7x4bkzf3ecjwqesrz button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-xmyz8vgna6pqfkw4wx1twayf1{align-items:center;width:100%}.PSPDFKit-xmyz8vgna6pqfkw4wx1twayf1,.PSPDFKit-559g7qqwsyx86ydrj6d8x6kwqz{display:flex;flex-direction:column}.PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y{margin:0 8px}.PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y,.PSPDFKit-width-sm .PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y,.PSPDFKit-width-xs .PSPDFKit-4cjwhud83czuezgnpqtt8t1g4y{display:none}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s{display:flex;flex:1}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j),.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j){cursor:default}.PSPDFKit-width-md .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-2uws3ww83fja6b3syxj88szuvh,.PSPDFKit-width-sm .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-2uws3ww83fja6b3syxj88szuvh,.PSPDFKit-width-xs .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-2uws3ww83fja6b3syxj88szuvh{display:none}.PSPDFKit-width-md .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5qha63wcjhyk977pmb11w183gf,.PSPDFKit-width-md .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-sm .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5qha63wcjhyk977pmb11w183gf,.PSPDFKit-width-sm .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-xs .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5qha63wcjhyk977pmb11w183gf,.PSPDFKit-width-xs .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{cursor:pointer}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-56zcn74uwt3jmwt9eqt4nkmm3w{display:none}.PSPDFKit-width-md .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-56zcn74uwt3jmwt9eqt4nkmm3w,.PSPDFKit-width-sm .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-56zcn74uwt3jmwt9eqt4nkmm3w,.PSPDFKit-width-xs .PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-56zcn74uwt3jmwt9eqt4nkmm3w{display:block}.PSPDFKit-6x3mktvp3y8yqny5uh5ph6t27s .PSPDFKit-2uws3ww83fja6b3syxj88szuvh{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2,.PSPDFKit-width-sm .PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2,.PSPDFKit-width-xs .PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2{display:none}.PSPDFKit-7tafq9cxvp7fp9488nkv4gt1q2 button{height:32px}.PSPDFKit-6panjxae2rqax33e2x13v8zhd7,.PSPDFKit-4aap34xg2exyha2wvgep2kbrsr{align-items:center;display:flex;height:32px;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-6panjxae2rqax33e2x13v8zhd7,.PSPDFKit-width-sm .PSPDFKit-6panjxae2rqax33e2x13v8zhd7,.PSPDFKit-width-xs .PSPDFKit-6panjxae2rqax33e2x13v8zhd7{display:none}.PSPDFKit-63mkqz864gr762bjh37u3z33ks,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w{align-items:center;display:flex}.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w{height:32px}.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z circle,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z line,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z path,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z polygon,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z polyline,.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z rect,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 circle,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 line,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 path,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 polygon,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 polyline,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 rect,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w circle,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w line,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w path,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w polygon,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w polyline,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w rect{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z button,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1 button,.PSPDFKit-64yekz19k5s2s3kk34sutarr9w button{height:32px}.PSPDFKit-7ahby6faw9zgpdmzru1qdud52z,.PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1{width:64px}.PSPDFKit-width-md .PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1,.PSPDFKit-width-sm .PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1,.PSPDFKit-width-xs .PSPDFKit-7bb9twn4c2xfchvdyv1arjd4y1{left:0;right:auto!important}.PSPDFKit-64yekz19k5s2s3kk34sutarr9w{width:96px}.PSPDFKit-63mkqz864gr762bjh37u3z33ks{height:32px}.PSPDFKit-63mkqz864gr762bjh37u3z33ks:hover,.PSPDFKit-63mkqz864gr762bjh37u3z33ks[data-focus-within]{background:transparent}.PSPDFKit-63mkqz864gr762bjh37u3z33ks:focus-within{background:transparent}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg{align-items:center;background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:#848c9a;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6);padding:0.46875em;padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg span{fill:#848c9a;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg:hover:not(.PSPDFKit-4b2dydfrvtffvsbyz6hjmmskx3),.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg[data-focus-within]{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg:hover:not(.PSPDFKit-4b2dydfrvtffvsbyz6hjmmskx3) span,.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg[data-focus-within] span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg:focus-within{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-6e37e5hxgedzhdzpj3bgcfw8wg:focus-within span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-xjmpbe2ndu31ngzn7k6thcce2{width:100px}}.PSPDFKit-5qha63wcjhyk977pmb11w183gf,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b,.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k,.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:0!important;border-right:1px solid #bec9d9!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-md .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b,.PSPDFKit-width-md .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k,.PSPDFKit-width-md .PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-sm .PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-sm .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b,.PSPDFKit-width-sm .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k,.PSPDFKit-width-sm .PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-xs .PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-xs .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b,.PSPDFKit-width-xs .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k,.PSPDFKit-width-xs .PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju,.PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju,.PSPDFKit-width-md .PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-sm .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju,.PSPDFKit-width-sm .PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-width-xs .PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju,.PSPDFKit-width-xs .PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey).PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-width-lg .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):active,.PSPDFKit-width-lg .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):focus,.PSPDFKit-width-lg .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):hover,.PSPDFKit-width-lg .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey).PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-width-lg .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):active,.PSPDFKit-width-lg .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):focus,.PSPDFKit-width-lg .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):hover,.PSPDFKit-width-xl .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey).PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-width-xl .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):active,.PSPDFKit-width-xl .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):focus,.PSPDFKit-width-xl .PSPDFKit-5qha63wcjhyk977pmb11w183gf:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):hover,.PSPDFKit-width-xl .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey).PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-width-xl .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):active,.PSPDFKit-width-xl .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):focus,.PSPDFKit-width-xl .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:not(.PSPDFKit-8b5wugfkhy83qz3mrt12xxee7b) :not(.PSPDFKit-3pw5d71zmdn7g2d7f7cezqab2k) :not(.PSPDFKit-6kwwztxzkww77985knzv4yj25t) :not(.PSPDFKit-3zswrctphfm56abme3mhe89x7j) :not(.PSPDFKit-dh9zgevasabjjq92gftvq7d1s) :not(.PSPDFKit-6hwd5kb669g2rktq8z7tch8zey):hover{background:transparent!important}.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-5qha63wcjhyk977pmb11w183gf:active,.PSPDFKit-5qha63wcjhyk977pmb11w183gf:focus,.PSPDFKit-5qha63wcjhyk977pmb11w183gf:hover,.PSPDFKit-7hajh57r86sbfab9agdabjpdus.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:active,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:focus,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-qq4v7j3ztmbsu7sszn7n6eedz,.PSPDFKit-53qj5y7xwpxf385e5qupnueez4{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-67g1s4jvmu1dwuq693983pavtq{border:0!important;color:#3d424e!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-6kwwztxzkww77985knzv4yj25t{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-6kwwztxzkww77985knzv4yj25t.PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-6kwwztxzkww77985knzv4yj25t:active,.PSPDFKit-6kwwztxzkww77985knzv4yj25t:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-p3fhayknwfc2wy838mm6uf6ts{outline:2px solid #4636e3;outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x:first-child .PSPDFKit-5qha63wcjhyk977pmb11w183gf:first-child,.PSPDFKit-6f2cfyrxss9tgjemae8n6d2v6x:first-child .PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:first-child{border-left:none!important}.PSPDFKit-7pxe4xgby27sg3gch3hgymc65k{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-3fr3j3qzhb8zms4ha22gf8ap4w{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-7vux3363c2h5bhhue8x2tgc2d8{align-items:center;background:#ffc78f;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 0.46875em;margin:0 var(--PSPDFKit-spacing-7);padding:4px 0.8125em;padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-55tsnvt1cbusd6n1b314embzfj{height:16px;width:16px}.PSPDFKit-ve8hjm9h24pnag6snsj5hqyba{width:max-content}.PSPDFKit-364rxkqcrexqk43jvg479qt5us{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-7fb12eurd4ysp5ys7tc9wgnuqm{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-7fb12eurd4ysp5ys7tc9wgnuqm,.PSPDFKit-5rx1gxu9ku1pmjedwxt4bb8tcs{display:flex}.PSPDFKit-2v57cb7nenh6qvs2r55dm7ftbf{height:20px;width:20px}.PSPDFKit-42uwtdws1bb24aernmbsz8ndnc,.PSPDFKit-8497hrdu98kjamf5s4gjf2bqmd{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-3c6frtkm4xmn7hkv9bmpghx53j{display:none}.PSPDFKit-width-md .PSPDFKit-3c6frtkm4xmn7hkv9bmpghx53j,.PSPDFKit-width-sm .PSPDFKit-3c6frtkm4xmn7hkv9bmpghx53j,.PSPDFKit-width-xs .PSPDFKit-3c6frtkm4xmn7hkv9bmpghx53j{align-items:center;display:block;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-3smmwjpf56cyb4zkshtg21jz2s,.PSPDFKit-7bwhutmv5jg6hggz6hp8kfcaxy{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-2zvhj3he31vtfrqjkjpsjb1694,.PSPDFKit-width-sm .PSPDFKit-2zvhj3he31vtfrqjkjpsjb1694,.PSPDFKit-width-xs .PSPDFKit-2zvhj3he31vtfrqjkjpsjb1694{align-items:center}.PSPDFKit-823r5gtrunhm37br45pwje8e5c,.PSPDFKit-65ynqjj3xqcettebe26255q3ky{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-65ynqjj3xqcettebe26255q3ky,.PSPDFKit-width-sm .PSPDFKit-65ynqjj3xqcettebe26255q3ky,.PSPDFKit-width-xs .PSPDFKit-65ynqjj3xqcettebe26255q3ky{margin-right:0}.PSPDFKit-j3u5td7da5d2g12j3qb8kpqeq{align-items:center;display:inline-flex}.PSPDFKit-74acavk6n23dwq957gtnmbyyrf{align-self:center;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-6dqybwsyjvqprdkfh1d5t3w2yj{max-width:110px}.PSPDFKit-87t3tq755fdm56p5111u2h5a4g{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-4ssbr6rxv19yz6yh7bjp4pfgeq{align-items:center;border-right:1px solid #bec9d9;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-4ssbr6rxv19yz6yh7bjp4pfgeq{border-left:1px solid #bec9d9;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-dh9zgevasabjjq92gftvq7d1s{background-color:#fff;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:#000;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-dh9zgevasabjjq92gftvq7d1s.PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-dh9zgevasabjjq92gftvq7d1s:active,.PSPDFKit-dh9zgevasabjjq92gftvq7d1s:focus,.PSPDFKit-dh9zgevasabjjq92gftvq7d1s:hover{background-color:#4636e3;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:#fff;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-dh9zgevasabjjq92gftvq7d1s{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-dh9zgevasabjjq92gftvq7d1s span{max-width:60px;overflow-x:hidden}.PSPDFKit-5qha63wcjhyk977pmb11w183gf.PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-dh9zgevasabjjq92gftvq7d1s,.PSPDFKit-7hhujt42dfa3wavves9fezeqju.PSPDFKit-dh9zgevasabjjq92gftvq7d1s.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{border-left:none!important}}.PSPDFKit-p9ftrww9ym9pd2eqpps4xf6fp{display:inline-flex}.PSPDFKit-68jg3chhe27v2qnds97q2btw4c{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 0.8125em;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-3hf9zjqgg3t2aehba45fzmw9nc{margin-left:4px}.PSPDFKit-4g9caken58dfxv7snyka36rppq{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza,.PSPDFKit-width-sm .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza,.PSPDFKit-width-xs .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza .PSPDFKit-86nhzcde1runqybnpjzcykq7ex,.PSPDFKit-width-sm .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza .PSPDFKit-86nhzcde1runqybnpjzcykq7ex,.PSPDFKit-width-xs .PSPDFKit-4pfvumqbpr5cct3yusfvsb8cza .PSPDFKit-86nhzcde1runqybnpjzcykq7ex{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng.PSPDFKit-7hajh57r86sbfab9agdabjpdus,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:active,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:focus,.PSPDFKit-5d6y6gzx57mzvk4ghwgz8bysng:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-5mpcapg77fbdwa2sj3mz1x79hy span{align-items:center;display:flex;justify-content:center} +.PSPDFKit-7v6us4bgaesz3ux74pvm4adq66{bottom:0;cursor:inherit;left:0;mix-blend-mode:multiply;position:absolute;right:0;top:0;-webkit-user-select:text;-ms-user-select:text;user-select:text}.PSPDFKit-browser-engine-webkit .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66::selection{background:transparent}.PSPDFKit-browser-engine-gecko .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66,.PSPDFKit-browser-system-android .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66,.PSPDFKit-browser-system-windows .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66{opacity:.2}.PSPDFKit-browser-engine-gecko .PSPDFKit-7v6us4bgaesz3ux74pvm4adq66 .PSPDFKit-3p1jq2xuq7kt61btvzbmcvfsdg{bottom:0;cursor:default;left:0;position:absolute;right:0;top:100%;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%;z-index:-1}.PSPDFKit-4sqvdfhz56pzjs657n5gmfjv4t{cursor:inherit;display:block;height:100vh;position:absolute;width:100vw;z-index:-1}.PSPDFKit-4sqvdfhz56pzjs657n5gmfjv4t ::selection{background-color:transparent!important}.PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw,.PSPDFKit-7mqrwx6ruetyxx1crt7g8tj53b{-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw{color:transparent;display:block;font-family:Arial,sans-serif;font-size:16px!important;font-weight:400;line-height:1;margin:0;position:absolute;text-align:left;transform-origin:0 0 0;white-space:pre}.PSPDFKit-browser-engine-gecko .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw ::selection{background-color:#2378ff}.PSPDFKit-browser-engine-blink.PSPDFKit-browser-system-android .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection,.PSPDFKit-browser-engine-blink.PSPDFKit-browser-system-windows .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection{background-color:highlight;color:transparent}.PSPDFKit-browser-system-android .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection,.PSPDFKit-browser-system-windows .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection{background-color:#2378ff;color:#2378ff}.PSPDFKit-browser-system-linux .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw span::selection{background-color:#2378ff}.interactions-disabled .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw{-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw:before{content:"";height:150%;position:absolute;top:-10%;width:100%}.PSPDFKit-browser-engine-blink .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw:before,.PSPDFKit-browser-engine-gecko .PSPDFKit-8ayy4hjz5h5sb5mqfjxzpc42zw:before{display:none}.PSPDFKit-55tte6u6fczpks4kxqrywvkhcv{height:50%;position:absolute;width:100%}.PSPDFKit-3npj2ht4kppfp95hepqhfjb49x{cursor:text}.PSPDFKit-3npj2ht4kppfp95hepqhfjb49x.PSPDFKit-68wd7m2jrz9c462vgy6yvba62f{cursor:vertical-text}.PSPDFKit-CursorPointer .PSPDFKit-3npj2ht4kppfp95hepqhfjb49x{cursor:inherit!important}.PSPDFKit-2tg9p1utsyyke5vpebq5gc3413{-webkit-user-select:text;-ms-user-select:text;user-select:text}.PSPDFKit-3a9hp6ezp9vyzwpeksepg43552{color:red;outline:1px solid red}.PSPDFKit-6fq5ysqkmc2gc1fek9b659qfh8{display:block} +.PSPDFKit-7fx816mm5dnp6e45vtkbeu7u6h{background-color:rgba(236,240,255,.9);border:1px solid #7f96ed;box-sizing:border-box;display:block;font-family:Helvetica,sans-serif;margin:0}.PSPDFKit-7fx816mm5dnp6e45vtkbeu7u6h:hover{outline:1px solid #7f96ed}.PSPDFKit-53uhn3hvzxffzgk8gjs3fbkn19,.PSPDFKit-53uhn3hvzxffzgk8gjs3fbkn19:hover{background-color:hsla(0,0%,94%,.9);border-color:#cacaca;color:gray;cursor:default}.PSPDFKit-browser-engine-gecko.PSPDFKit-browser-system-windows .PSPDFKit-2j44z8y92gejua2pwvgm8sjhm4:focus-visible,.PSPDFKit-browser-engine-gecko.PSPDFKit-browser-system-windows .PSPDFKit-2kwn8pyc4wfu8r2pfah6fq7qfx:focus-visible:focus{outline:5px auto Highlight}.PSPDFKit-2j44z8y92gejua2pwvgm8sjhm4,.PSPDFKit-2j44z8y92gejua2pwvgm8sjhm4:hover,.PSPDFKit-2kwn8pyc4wfu8r2pfah6fq7qfx:focus{background-color:#fffb8b;border-color:#beb700;color:#333}.PSPDFKit-x9z86ubc4peun53ye7m7udhyp:focus{padding-left:0!important}.PSPDFKit-cr6q4n8xfg6vtzd5q658psukz{display:flex;flex-direction:column} +.PSPDFKit-8djq2v9hms33ptxdax4spyth66{background-clip:padding-box;background-color:#3d464d;border:0 solid transparent;border-radius:6px;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);-webkit-user-select:none;-ms-user-select:none;user-select:none;z-index:1000}.PSPDFKit-3msp5htb4zsdjjpxv5m6zezhpm,.PSPDFKit-8djq2v9hms33ptxdax4spyth66{display:block;position:absolute}.PSPDFKit-3msp5htb4zsdjjpxv5m6zezhpm{border:5px solid transparent;color:#3d464d;height:0;width:0}.PSPDFKit-6b9stttuxax9qewr2yxczpv3yz{border-bottom-width:0;border-top-color:initial}.PSPDFKit-6zjksunaugtab91x5bucrc5pa6{border-bottom-color:initial;border-top-width:0}.PSPDFKit-6bfp163dnjfdkd9f9m84znw1uj{border-left-color:initial;border-right-width:0}.PSPDFKit-7es6pryn4pwz64rxf4payggfh1{border-left-width:0;border-right-color:initial} +.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow{color:#f0f3f9;color:var(--PSPDFKit-ExpandingPopoverComponent-background-color);z-index:1001}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow.PSPDFKit-Popover-Arrow-Right{filter:drop-shadow(-1px 1px 1px rgba(43,50,59,.4))}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow.PSPDFKit-Popover-Arrow-Left{filter:drop-shadow(1px 1px 1px rgba(43,50,59,.4))}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow.PSPDFKit-Popover-Arrow-Top{filter:drop-shadow(0 3px 2px rgba(43,50,59,.4))}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover-Arrow.PSPDFKit-Popover-Arrow-Bottom{filter:drop-shadow(0 -1px 2px rgba(43,50,59,.1))}.PSPDFKit-538wj3bujswdrqewakmmxa9fyf .PSPDFKit-Popover{background-color:#f0f3f9;background-color:var(--PSPDFKit-ExpandingPopoverComponent-background);box-shadow:0 1px 2px rgba(43,50,59,.4),0 3px 4px rgba(43,50,59,.1);z-index:1000}.PSPDFKit-8ahxg2rbtxn2ubnutukzs28dqn{display:none}.PSPDFKit-4jrgdk842q6nrzgfag4cvz7hsa{border-radius:6px;overflow:hidden;text-align:left;width:360px}.PSPDFKit-7bx43nrztecej9c1j8qw9tshdy{display:flex;flex-direction:column;max-height:400px;overflow-y:auto;overscroll-behavior:contain}.PSPDFKit-7w1dhbtytq2jfdb48gs1ywe8jm{border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-ExpandingPopoverComponent-separator-border);color:#2b2e36;color:var(--PSPDFKit-ExpandingPopoverComponent-title-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:600;margin:0;padding:0.8125em 1em;padding:var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-4);word-break:break-all}.PSPDFKit-7dajp2vmg4zxw9ambet64n9umu{background-color:#fff;background-color:var(--PSPDFKit-ExpandingPopoverComponent-content-background);color:#000;color:var(--PSPDFKit-ExpandingPopoverComponent-content-color);display:flex;flex:1 1 auto;flex-direction:column;overflow:auto}.PSPDFKit-2wtzexryxvzwm2ffu1e1vh391u{border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top:1px solid #d8dfeb;border-top:1px solid var(--PSPDFKit-ExpandingPopoverComponent-separator-border)}.PSPDFKit-width-md .PSPDFKit-2wtzexryxvzwm2ffu1e1vh391u,.PSPDFKit-width-sm .PSPDFKit-2wtzexryxvzwm2ffu1e1vh391u,.PSPDFKit-width-xs .PSPDFKit-2wtzexryxvzwm2ffu1e1vh391u{align-items:center;display:flex;justify-content:flex-end;padding:0.8125em 1em;padding:var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-4)}.PSPDFKit-239sjtxdzvwfjbe3ass6aqfp77{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;color:#4636e3;color:var(--PSPDFKit-ExpandingPopoverComponent-footerButton-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);margin:0;padding:1.125rem 1em;padding:1.125rem var(--PSPDFKit-spacing-4);width:100%}.PSPDFKit-239sjtxdzvwfjbe3ass6aqfp77:hover{background-color:#d8dfeb;background-color:var(--PSPDFKit-ExpandingPopoverComponent-footerButton-hover-background);cursor:pointer}.PSPDFKit-41mt66hwvjgy4qa89c1mtspd1a{animation:PSPDFKit-7y3ggnb1s18b42w9z9msgq8hr6 .2s;animation-iteration-count:1}@keyframes PSPDFKit-7y3ggnb1s18b42w9z9msgq8hr6{0%{transform:translate(2px)}25%{transform:translate(0)}50%{transform:translate(-2px)}75%{transform:translate(0)}80%{transform:translate(2px)}to{transform:translate(1px)}}.PSPDFKit-79jfh5ner7hhtyf4y5s4u8az38{text-align:center} +.PSPDFKit-4q6rf47rhqhrpm9gdfefxt7qxa{padding:0.46875em 1em;padding:var(--PSPDFKit-spacing-7) var(--PSPDFKit-spacing-4)}.PSPDFKit-nt12adttbyb52awsgj2pvucxy{color:#3d424e;color:var(--PSPDFKit-FormDesignerTextInputComponent-label-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa{border-color:#bec9d9;border-color:var(--PSPDFKit-FormDesignerTextInputComponent-border-color);color:#000;color:var(--PSPDFKit-FormDesignerTextInputComponent-input-text-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:500;padding:0.8125em;padding:var(--PSPDFKit-spacing-5)}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:focus,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:focus,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa:focus{background-color:#f0f3f9;background-color:var(--PSPDFKit-FormDesignerTextInputComponent-background-color)}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:active,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:focus,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:hover,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:active,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:focus,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:hover,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa:active,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa:focus,.PSPDFKit-3yju2u277834cy3gahr2r5pxwa:hover{border-color:#4636e3;border-color:var(--PSPDFKit-FormDesignerTextInputComponent-hover-border-color)}.PSPDFKit-42bq6cs954sqg5h9qybewg7j71,.PSPDFKit-42bq6cs954sqg5h9qybewg7j71:focus{border-color:#d63960;border-color:var(--PSPDFKit-FormDesignerTextInputComponent-error-color)}.PSPDFKit-m39r8ehbhmf2d2t2fhn5emy6h{color:#d63960;color:var(--PSPDFKit-FormDesignerTextInputComponent-error-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2)}.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd{border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-FormDesignerTextInputComponent-border-color);border-radius:2px;color:#000;color:var(--PSPDFKit-FormDesignerTextInputComponent-input-text-color);cursor:pointer;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:500;padding:0}.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd,.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd:focus{background-color:#f0f3f9;background-color:var(--PSPDFKit-FormDesignerTextInputComponent-background-color)}.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd:active,.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd:focus,.PSPDFKit-ef4eqctrqnwdwaphd17x3zhbd:hover{border-color:#4636e3;border-color:var(--PSPDFKit-FormDesignerTextInputComponent-hover-border-color)}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub{border:1px solid transparent;border-right-width:10px;height:40px;width:100%}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:active,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:focus,.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt:hover,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:active,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:focus,.PSPDFKit-gcyutzqwxqe8x4u9j7mbfz1ub:hover{border-color:transparent}.PSPDFKit-3wx3w3pvjj3upy6569x74y56pt{-webkit-appearance:none;background:url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0ye2ZpbGw6IzQ0NH08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Im0xLjQxIDQuNjcgMS4wNy0xLjQ5IDEuMDYgMS40OUgxLjQxek0zLjU0IDUuMzMgMi40OCA2LjgyIDEuNDEgNS4zM2gyLjEzeiIvPjwvc3ZnPg==) no-repeat 100% 50%;padding-bottom:8px;padding-top:8px}.PSPDFKit-u8tjzsmapgm69zq2qzyaxhxkn{cursor:not-allowed;opacity:0.3;opacity:var(--PSPDFKit-Button-isDisabled-opacity)}.PSPDFKit-u8tjzsmapgm69zq2qzyaxhxkn:active,.PSPDFKit-u8tjzsmapgm69zq2qzyaxhxkn:focus,.PSPDFKit-u8tjzsmapgm69zq2qzyaxhxkn:hover{border-color:#d8dfeb;border-color:var(--PSPDFKit-Button--default-isDisabled-borderColor)} +.PSPDFKit-2s9j7gu6ht55v3fyhb7xkheuuq,.PSPDFKit-fn2f5n9d9n8sgj4djs9y86gau,.PSPDFKit-3jgnu7ag1ffzarpqmuquune258{align-items:center;border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);display:flex;height:46px;padding:.5rem 1em;padding:.5rem var(--PSPDFKit-spacing-4)}.PSPDFKit-2s9j7gu6ht55v3fyhb7xkheuuq:last-child,.PSPDFKit-fn2f5n9d9n8sgj4djs9y86gau:last-child,.PSPDFKit-3jgnu7ag1ffzarpqmuquune258:last-child{border-bottom:none}.PSPDFKit-nmsane1s7x9rp49pa42tzpgya{display:flex;height:24px;width:24px}.PSPDFKit-2r48s2je9bp19zqfbs8mgk7184{flex:1 0;margin:0 1rem}.PSPDFKit-24yucwgnrz6dxz6nmkt9jremkb,.PSPDFKit-4cuxks564t1dxgzbv7nvjy4yuc,.PSPDFKit-2r48s2je9bp19zqfbs8mgk7184{color:#3d424e;color:var(--PSPDFKit-FormDesignerPopoverComponent-item-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-9rhw3adf6wbfa7qrq615fjqaf{height:30px}.PSPDFKit-9rhw3adf6wbfa7qrq615fjqaf .PSPDFKit-Input-Color-Dropdown{margin-right:0}.PSPDFKit-6e6bk97ea2ucn9vbtxktfajm2p{background-color:#fff;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-color-dropdown-menu-color)}.PSPDFKit-82a458mhumnurhq39us7zu6hyz{height:30px;margin:0}.PSPDFKit-82a458mhumnurhq39us7zu6hyz .PSPDFKit-Input-Dropdown-Items{transform:translateX(-78%)!important}.PSPDFKit-5nmcjw7r4p1h2nd2mexfegg2rt{height:20px;width:20px}.PSPDFKit-3cbxsq6nmh9r4f5756r6c95c7m{align-items:center;border:none;border-radius:5px;display:flex;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-86jxsd27b1jv4t4ubqhrx633pn{display:none}.PSPDFKit-width-md .PSPDFKit-86jxsd27b1jv4t4ubqhrx633pn,.PSPDFKit-width-sm .PSPDFKit-86jxsd27b1jv4t4ubqhrx633pn,.PSPDFKit-width-xs .PSPDFKit-86jxsd27b1jv4t4ubqhrx633pn{align-items:center;display:block}.PSPDFKit-6ts2t8acharjbuq54t5wy2eb74{align-items:center;display:flex;height:30px}.PSPDFKit-width-md .PSPDFKit-6ts2t8acharjbuq54t5wy2eb74,.PSPDFKit-width-sm .PSPDFKit-6ts2t8acharjbuq54t5wy2eb74,.PSPDFKit-width-xs .PSPDFKit-6ts2t8acharjbuq54t5wy2eb74{display:none}.PSPDFKit-u1vpgqn2y5rje53z63f7mq5er{padding:0}.PSPDFKit-51c4fjecxrh9h4tcuygx1te5q8{height:32px}.PSPDFKit-ncuqwmdusv2msxq73z6fzb24z{align-items:center;border-top:1px solid #f0f3f9;border-top:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);display:flex;height:46px;justify-content:space-between;padding:.5rem 1em;padding:.5rem var(--PSPDFKit-spacing-4)}.PSPDFKit-4ua7xnacac2pm8hhds1kq2me5u{color:#848c9a;color:var(--color-coolGrey400);flex:1 0;font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);text-align:right}.PSPDFKit-2abxjf7c5m54s1fbpjybj51p2m{align-items:center;display:flex;padding:0 1em 1em;padding:0 var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4)}.PSPDFKit-4enmf2wc85hnr4743bkg1tyeer{height:16px;margin-right:8px;width:16px}.PSPDFKit-6z22nmct2crec69qf41ena61ub{color:#3d424e;color:var(--PSPDFKit-FormDesignerPopoverComponent-warning-label-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);line-height:0.815rem;line-height:var(--PSPDFKit-lineHeight-2)}.PSPDFKit-4nrcak3ru32krpendekckcwwv8{position:relative}.PSPDFKit-4nrcak3ru32krpendekckcwwv8>div:first-child{cursor:not-allowed}.PSPDFKit-5x7gnppfkuuynrhwnep13pak49{pointer-events:none}.PSPDFKit-5x7gnppfkuuynrhwnep13pak49 input{background-color:transparent!important}.PSPDFKit-8zzdqsxn1q94q3wn44vjes6g2r{padding-bottom:1.625em!important;padding-bottom:var(--PSPDFKit-spacing-3)!important}.PSPDFKit-width-md .PSPDFKit-71vy88q3wndydgre2e58gj53rd,.PSPDFKit-width-sm .PSPDFKit-71vy88q3wndydgre2e58gj53rd,.PSPDFKit-width-xs .PSPDFKit-71vy88q3wndydgre2e58gj53rd{border-radius:3px;padding:0.46875em 0;padding:var(--PSPDFKit-spacing-7) 0;width:100px}.PSPDFKit-width-md .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d,.PSPDFKit-width-sm .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d,.PSPDFKit-width-xs .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d{border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-deleteButton-border);color:#3d424e;color:var(--PSPDFKit-FormDesignerPopoverComponent-deleteButton-mobile-text-color);margin-right:8px}.PSPDFKit-width-md .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d:hover,.PSPDFKit-width-sm .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d:hover,.PSPDFKit-width-xs .PSPDFKit-5np2yc2xrsd6y7kt22abt9hb6d:hover{background-color:initial}.PSPDFKit-4n879bzvk8q7g195cmz6yr433b{background-color:#4636e3;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background);border:1px solid #2b1cc1;border:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-border);color:#fff;color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-color);display:none}.PSPDFKit-width-md .PSPDFKit-4n879bzvk8q7g195cmz6yr433b,.PSPDFKit-width-sm .PSPDFKit-4n879bzvk8q7g195cmz6yr433b,.PSPDFKit-width-xs .PSPDFKit-4n879bzvk8q7g195cmz6yr433b{background-color:#4636e3;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background);color:#fff;color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-color);display:block}.PSPDFKit-width-md .PSPDFKit-4n879bzvk8q7g195cmz6yr433b:hover,.PSPDFKit-width-sm .PSPDFKit-4n879bzvk8q7g195cmz6yr433b:hover,.PSPDFKit-width-xs .PSPDFKit-4n879bzvk8q7g195cmz6yr433b:hover{background-color:#4636e3;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-doneButton-background)}[class*=PSPDFKit-Form-Creator-Editor-Horizontal-Alignment-]:not(.PSPDFKit-Form-Creator-Editor-Horizontal-Alignment-active),[class*=PSPDFKit-Form-Creator-Editor-Vertical-Alignment-]:not(.PSPDFKit-Form-Creator-Editor-Vertical-Alignment-active){background-color:#f0f3f9;background-color:var(--PSPDFKit-FormDesignerPopoverComponent-radioGroup-background-color)}.PSPDFKit-2s9j7gu6ht55v3fyhb7xkheuuq,.PSPDFKit-3jgnu7ag1ffzarpqmuquune258{align-items:flex-start;border-bottom:none;flex-direction:column;height:auto;justify-content:center;width:100%}.PSPDFKit-2s9j7gu6ht55v3fyhb7xkheuuq{height:50px}.PSPDFKit-4cuxks564t1dxgzbv7nvjy4yuc{color:var(--PSPDFKit-MeasurementPopoverComponent-info-color)}.PSPDFKit-6ckerwnts2h4dqbxrjurcef6dc{align-items:center;padding-bottom:0!important;width:100%}.PSPDFKit-6ckerwnts2h4dqbxrjurcef6dc,.PSPDFKit-4fbe83fym7dgut61w2nf74r473{display:flex;flex-direction:row;padding-bottom:.5rem}.PSPDFKit-7j9yftqvyfsbxszyryvg4tugmg,.PSPDFKit-5naa93y6vbhdeeygcvssv2w99g{align-items:center;border-top:1px solid var(--PSPDFKit-MeasurementPopoverComponent-separator-color);display:flex;flex-direction:row;justify-content:space-between;padding-top:.5rem;width:100%}.PSPDFKit-7j9yftqvyfsbxszyryvg4tugmg>div,.PSPDFKit-5naa93y6vbhdeeygcvssv2w99g>div{display:flex;flex-direction:row;gap:6px}.PSPDFKit-7j9yftqvyfsbxszyryvg4tugmg{align-items:flex-start;color:var(--PSPDFKit-MeasurementPopoverComponent-info-color)}.PSPDFKit-7j9yftqvyfsbxszyryvg4tugmg svg{padding-top:4px}.PSPDFKit-83b7zxjm332wqcc4s5gvrxfucj{display:flex;flex-direction:row;gap:6px}.PSPDFKit-5xp4qfj9u68z92e75mcf5nqkcg select{height:100%}.PSPDFKit-3bdhuh7gr82rtyrxt33vmpj2hk{margin:0 8px 0 0}.PSPDFKit-76y3uq9zy9ugrnh25fwthbtxdy{padding-top:10px}.PSPDFKit-76y3uq9zy9ugrnh25fwthbtxdy,.PSPDFKit-4kxzb9uytx6jnhjtkwnzccwcb1{border-top:1px solid #f0f3f9;border-top:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color)}.PSPDFKit-4kxzb9uytx6jnhjtkwnzccwcb1{margin-left:14px;margin-right:14px}.PSPDFKit-2r48s2je9bp19zqfbs8mgk7184{margin:0}.PSPDFKit-29u9ktdbpp3nysqgxn6naha4m8{display:flex;flex-shrink:0;height:.625rem;margin-right:.5rem;width:.625rem} +.PSPDFKit-52vp1wxnkrwaqvutwh9kdyma98{max-height:660px;min-width:360px;padding:0;width:auto}.PSPDFKit-52vp1wxnkrwaqvutwh9kdyma98 p{margin:0}.PSPDFKit-5rsrw7ak9xvqnc7bwahsasngx9{border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);color:#3d424e;color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);column-gap:16px;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:400;line-height:1.4rem;line-height:var(--PSPDFKit-lineHeight-1);min-height:46px;padding:0.609em 1em;padding:var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-4);width:100%}.PSPDFKit-5rsrw7ak9xvqnc7bwahsasngx9:last-child{border:none}.PSPDFKit-6zjmyma75e4rfma6ujstg3d11u{align-items:center}.PSPDFKit-2ybdx86p6v4nqn1zrarhep8fhd,.PSPDFKit-6zjmyma75e4rfma6ujstg3d11u{justify-content:space-between}.PSPDFKit-2ybdx86p6v4nqn1zrarhep8fhd{align-items:baseline;border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);color:#3d424e;color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);column-gap:10px;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:400;line-height:1.4rem;line-height:var(--PSPDFKit-lineHeight-1);padding:0.609em 0;padding:var(--PSPDFKit-spacing-6) 0}.PSPDFKit-2ybdx86p6v4nqn1zrarhep8fhd:first-child{padding-top:0}.PSPDFKit-6xaquyhkgnnz83eh3tcntmwpqp{column-gap:8px;display:flex;flex-direction:row}.PSPDFKit-7zz1pa7xv6wgt2y9szvhke9935{align-items:center;column-gap:8px;cursor:pointer;display:flex;font-size:14px;padding-top:8px}.PSPDFKit-4smtt8g7weze8w3e3n9ht93ak4{border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);padding:8px 0}.PSPDFKit-4smtt8g7weze8w3e3n9ht93ak4:first-child{padding:0 0 8px}.PSPDFKit-4smtt8g7weze8w3e3n9ht93ak4:last-child{border:none;padding:8px 0 0}.PSPDFKit-37dv4qsruvxu93evjeh9gtqdna{width:80%}.PSPDFKit-3766zw48tmq7b2dbzcgstgzxpt{color:#3d424e;color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);display:flex;flex-direction:column;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:400;line-height:1.4rem;line-height:var(--PSPDFKit-lineHeight-1);width:85%}.PSPDFKit-3766zw48tmq7b2dbzcgstgzxpt:last-child{border:none}.PSPDFKit-43ubpyc1q299xrwh4k5xrxtk4m,.PSPDFKit-32yn21p1rhkx6139tfee43rskf{background-color:#f0f3f9;background-color:var(--PSPDFKit-MeasurementSettingsModal-background-color);border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-ExpandingPopoverComponent-separator-border);min-height:46px;overflow:hidden;text-align:left;width:100%}.PSPDFKit-43ubpyc1q299xrwh4k5xrxtk4m button,.PSPDFKit-32yn21p1rhkx6139tfee43rskf button{align-items:center;display:flex;height:32px;justify-content:center;width:103px}.PSPDFKit-43ubpyc1q299xrwh4k5xrxtk4m{border:none;border-top:1px solid #d8dfeb;border-top:1px solid var(--PSPDFKit-ExpandingPopoverComponent-separator-border);column-gap:8px;justify-content:flex-end}.PSPDFKit-88em62dff33bjz4dpcz217kgw1{background-color:#f6f8fa;background-color:var(--PSPDFKit-MeasurementSettingsModal-section-background-color);color:#3d424e;color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);font-weight:400;line-height:1.4rem;line-height:var(--PSPDFKit-lineHeight-1);margin:0;min-height:35px;text-transform:uppercase}.PSPDFKit-5dpchy3cupj5bxucqn5nt8anr5{align-items:center;color:#2b2e36;color:var(--PSPDFKit-Text-color);display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:600;margin:0}.PSPDFKit-8cfu1mwm1ccfxda8tyh14s93v5{height:auto;max-height:90%;padding:1em 0.609em 1em 0.46875em;padding:var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-7)}.PSPDFKit-7ypv327ggsprw7wtqh3ggzwtt5{flex-basis:22px;height:22px;width:22px}.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6{background-color:transparent;border:none;display:flex;justify-content:center;padding:0;position:relative;top:1px}.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6.PSPDFKit-7u52vd8vcqhwm46mqm3f6x3u4n,.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6:active,.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6:disabled,.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6:focus,.PSPDFKit-6t3gx31kbfuvg7pvvv3m4y2ud6:hover{background-color:unset}.PSPDFKit-4mb9ffzr14xj4f7cmnqkgcrcmq :before{border-color:#d63960!important;border-color:var(--color-red400)!important}.PSPDFKit-65q27ak2bn51hh1r3q8bw6pvrm{align-items:center;background:#fff;background:var(--PSPDFKit-DropdownMenu-item-background);border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-DropdownMenu-item-border);color:#5e5ceb;color:var(--PSPDFKit-MeasurementSettingsModal-highlight-color);cursor:pointer;display:flex;font:inherit;font-size:14px;font-style:normal;font-weight:500;height:34px;justify-content:flex-start;line-height:140%;padding:4px 8px 4px 28px;text-align:initial;touch-action:pan-x;width:100%}.PSPDFKit-65q27ak2bn51hh1r3q8bw6pvrm:focus-within,.PSPDFKit-65q27ak2bn51hh1r3q8bw6pvrm:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationToolbar-background)}.PSPDFKit-65q27ak2bn51hh1r3q8bw6pvrm:last-child{border-bottom:none}.PSPDFKit-27a27t78xjc4pkkn8fs1enm4up{align-items:flex-start;display:flex;flex-direction:column;padding:24px;width:390px}.PSPDFKit-27a27t78xjc4pkkn8fs1enm4up p{margin:0}.PSPDFKit-6g6xvejv8dd1pf35kx6ba8gp5e{align-items:center;display:flex;flex-direction:column;gap:24px;width:100%}.PSPDFKit-41haxjcx7ed6crwc23x62ewb7t{display:flex;justify-content:space-between;width:100%}.PSPDFKit-68duutqz7ut9qftzm7ns95kbsg{color:#3d424e;color:var(--PSPDFKit-MeasurementSettingsModal-section-text-color);font-size:1.25rem;font-size:var(--PSPDFKit-fontSize-5);font-style:normal;font-weight:600;line-height:1.4rem;line-height:var(--PSPDFKit-lineHeight-1)}.PSPDFKit-6zd1ytwjwxzumcawqamehzyaqs{display:none}@media(max-width:1070px){.PSPDFKit-6zd1ytwjwxzumcawqamehzyaqs{align-items:center;display:block}}.PSPDFKit-49whdesn68fq294wzdzda443yx{align-items:center;display:flex;height:30px}@media(max-width:1070px){.PSPDFKit-49whdesn68fq294wzdzda443yx{display:none}}.PSPDFKit-3xxzytnemnzg22awfk9rymr2m7{padding:0}.PSPDFKit-75ga4kp46pkcv4peqbsu45nk79{border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-FormDesignerPopoverComponent-item-border-color);color:#d63960;color:var(--PSPDFKit-MeasurementSettingsModal-error-text-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);font-weight:400;line-height:1rem;line-height:var(--PSPDFKit-fontSize-1);margin-bottom:0.609em;margin-bottom:var(--PSPDFKit-spacing-6);max-width:340px;padding:0.609em;padding:var(--PSPDFKit-spacing-6)}.PSPDFKit-5d5cb99rrfftnfraj6ve1wxtcw{margin-right:.5rem;width:.625rem}.PSPDFKit-5ypdmxk3tukb91thbuegtp28ry{align-items:center;-webkit-appearance:none;-moz-appearance:none;border:1px solid #5e5ceb;border:1px solid var(--PSPDFKit-MeasurementSettingsModal-highlight-color);border-radius:50%;display:flex;flex-direction:row;flex-shrink:0;height:18px;justify-content:space-evenly;margin:0 5px;width:18px}@media(max-width:660px){.PSPDFKit-5ypdmxk3tukb91thbuegtp28ry{margin-right:3%}}.PSPDFKit-5ypdmxk3tukb91thbuegtp28ry:before{background:unset;border-radius:50%;content:"";display:block;height:10px;width:10px}.PSPDFKit-5ypdmxk3tukb91thbuegtp28ry:checked:before{background:#5e5ceb;background:var(--PSPDFKit-MeasurementSettingsModal-highlight-color)} +.PSPDFKit-6sv7sqb53n124u6fj1tms89hna{display:flex;justify-content:flex-end;margin-top:1em}.PSPDFKit-654mqarkz9bpasgehzef4652nz p{margin:0}.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6:active,.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6:focus,.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6[data-focus-within]{border-color:#0a0167!important;border-color:var(--PSPDFKit-ConfirmModalComponent-button-isFocused-border)!important}.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6:active,.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6[data-focus-within]{outline:none}.PSPDFKit-3db8msn3nmbe95zjws8yr4m8q6:focus-within{border-color:#0a0167!important;border-color:var(--PSPDFKit-ConfirmModalComponent-button-isFocused-border)!important;outline:none} +.PSPDFKit-6mcjw1j7tzm5hepajxw83pzakp{background:transparent;border:0;line-height:1;padding:0;pointer-events:auto;position:absolute}.PSPDFKit-6mcjw1j7tzm5hepajxw83pzakp:focus,.PSPDFKit-6mcjw1j7tzm5hepajxw83pzakp:hover{cursor:pointer}.PSPDFKit-6mcjw1j7tzm5hepajxw83pzakp[disabled]{cursor:auto}.PSPDFKit-5cbbkpsrtp7h1aheyyz5jh553f svg{height:100%;overflow:visible;width:100%}.PSPDFKit-gfh2n7ye6agxztvft95yj26j6 .PSPDFKit-Icon-CommentIndicator-Stroke-Shape{stroke:#4636e3;stroke:var(--PSPDFKit-CommentMarkerAnnotation-accent-stroke);stroke-width:5px} +.PSPDFKit-6wak7k5y4nxmyh4g8xnd4zxf8d canvas,.PSPDFKit-6wak7k5y4nxmyh4g8xnd4zxf8d img{display:block;height:100%;width:100%} +.PSPDFKit-xe2ftya3wdjvwwhx6d5stmz59{display:flex}.PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt{background-color:#a6adad;border-radius:50%;height:6px;transform:scale(0);width:6px}.PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt:not(:last-child){margin-right:4px}.PSPDFKit-64xwysuhvuuphryhjd9kj5nvy3 .PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt{animation:PSPDFKit-3u75qfne74tt2wqf8tq6zfy48n 1.5s ease-in-out infinite}.PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt:nth-child(2){animation-delay:.16s}.PSPDFKit-6wzqbae66q9h6nya7ye8mvy8kt:nth-child(3){animation-delay:.32s}@keyframes PSPDFKit-3u75qfne74tt2wqf8tq6zfy48n{20%{transform:scale(0)}50%{transform:scale(1)}80%{transform:scale(0)}} +.PSPDFKit-611629rcz14kzt4fxq9cun8r55{left:50%;position:absolute;transform:translateX(-50%)}.PSPDFKit-291h7cpg24qsc3uyjkzbr88w1y,.PSPDFKit-3k8pvf98ypg7cfxdw2h4s9hks8{position:relative}.PSPDFKit-6kn9fwrhmcn5ws8thfmrbawkps,.PSPDFKit-4668kvbgmy9yr757xzersy788h{background-color:#eee}.PSPDFKit-3gs4z9rtc1a83dstvmn7mamwfd{align-items:center;display:flex;justify-content:center}.PSPDFKit-4vsf7ppa6vgpu72s69w4p6cheb svg{background-color:#fff;border-radius:12px;color:#db2a37;height:24px;width:24px}.PSPDFKit-6gjytkd24fh19g96hp4rxaukmu>:first-child{opacity:.0001!important}.PSPDFKit-6gjytkd24fh19g96hp4rxaukmu>:last-child{opacity:1!important} +.PSPDFKit-3w2n2qdrr23cmdk4q8whx3tsxf,.PSPDFKit-2gh7qt7mp38bkn5x9qf3y99zu3{bottom:0;cursor:default;left:0;position:absolute;right:0;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2gh7qt7mp38bkn5x9qf3y99zu3{pointer-events:none}.interactions-disabled .PSPDFKit-3w2n2qdrr23cmdk4q8whx3tsxf{touch-action:none}.PSPDFKit-39tt5mrp55ku7xxg9u7mh41a33{fill:none;stroke-linejoin:round;stroke-linecap:round;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-39tt5mrp55ku7xxg9u7mh41a33.PSPDFKit-6wrq4aekz4kq4fgt2pvnb9w6a3{cursor:pointer;pointer-events:stroke}.PSPDFKit-supportsTouch.PSPDFKit-width-sm .PSPDFKit-39tt5mrp55ku7xxg9u7mh41a33.PSPDFKit-6wrq4aekz4kq4fgt2pvnb9w6a3,.PSPDFKit-supportsTouch.PSPDFKit-width-xs .PSPDFKit-39tt5mrp55ku7xxg9u7mh41a33.PSPDFKit-6wrq4aekz4kq4fgt2pvnb9w6a3{pointer-events:none}.PSPDFKit-57qn9qb3ug1rpk9v33hd5cxd1d.PSPDFKit-6wrq4aekz4kq4fgt2pvnb9w6a3{cursor:pointer;pointer-events:fill}.PSPDFKit-5q9h4djx3kcxba1qj815pdz3fs{pointer-events:none;position:absolute;-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-3ncb69xb2ve1sqjjdtyc6cd8g4{bottom:0;cursor:default;left:0;position:absolute;right:0;top:0}.PSPDFKit-5mur5qgg6vwc2wpggzustr83j9{border:0;line-height:0;font:inherit;padding:0;position:absolute} +.PSPDFKit-2wu94uj3duvdnqa6qcf42ezs6d{bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0}.PSPDFKit-54pg5n9qt6pj2u219my1yv9v14{background:transparent;border:0;line-height:1;padding:0;pointer-events:auto;position:absolute}.PSPDFKit-54pg5n9qt6pj2u219my1yv9v14:focus,.PSPDFKit-54pg5n9qt6pj2u219my1yv9v14:hover{cursor:pointer}.PSPDFKit-54pg5n9qt6pj2u219my1yv9v14[disabled]{cursor:auto}.PSPDFKit-2rbb4rpjnbmgu1bj6enchp1549{fill:currentColor;display:block;max-width:100%}.PSPDFKit-4ywhmukc4gwqac7ntzy2uz9x6h{word-wrap:break-word;cursor:text;display:flex;flex-direction:column;font-family:sans-serif;height:200px;line-height:1.2em;overflow-y:auto;padding:10px;position:relative;white-space:pre-wrap;width:300px;word-break:break-word}.PSPDFKit-4ywhmukc4gwqac7ntzy2uz9x6h .PSPDFKit-8tznpz6dg1zmer4mxt1kj4d367{margin-top:10px}.PSPDFKit-77mpcyuxmy88vcuvt1qbfqn1bg{background:#fff;bottom:0;left:0;margin:0;padding:15px 7px 15px 15px;position:absolute;right:0;text-align:initial}.PSPDFKit-77mpcyuxmy88vcuvt1qbfqn1bg .PSPDFKit-8tznpz6dg1zmer4mxt1kj4d367{margin-top:15px}.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat{align-items:center;align-self:flex-end;background:transparent;border:transparent;cursor:pointer;display:flex;height:24px;justify-content:center;margin:0;opacity:.7;padding:0;width:24px}.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat:active,.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat:focus,.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat:hover{opacity:1}.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat span{height:20px;width:20px}.PSPDFKit-4sup5zkzxcndck1xbaquyw5tat.PSPDFKit-3zbd56btxsp72du8mq44gc68pf{pointer-events:none;visibility:hidden}.PSPDFKit-7t4t5t39c8gj689nypcn8sy1n4{align-items:center;display:flex;flex-direction:row;justify-content:space-between}.PSPDFKit-7t4t5t39c8gj689nypcn8sy1n4 .PSPDFKit-8jdq4qfwqhh5yzunhf1nvu3sxs{font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);margin:0;opacity:.8;text-shadow:0 1px 1px #fff}.PSPDFKit-8tznpz6dg1zmer4mxt1kj4d367{background:transparent;flex:1;overflow-y:auto;position:relative;text-align:left}.PSPDFKit-5ns5z6cwaq7uvb37ejfqcck6cj{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;display:flex;justify-content:center;max-width:100%;overflow-y:auto}.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78{opacity:.7}.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78:active,.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78:focus,.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78:hover,.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78[data-focus-within]{opacity:1}.PSPDFKit-28m2z472nqzne4jhz5hvqkzp78:focus-within{opacity:1} +.PSPDFKit-86u6qqcu5qd2p78j3sasqcq3r4,.PSPDFKit-6euxnwumsrs547zhsd467cw4p9{bottom:0;cursor:crosshair;left:0;position:absolute;right:0;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-6euxnwumsrs547zhsd467cw4p9{pointer-events:none}.interactions-disabled .PSPDFKit-86u6qqcu5qd2p78j3sasqcq3r4{touch-action:none}.PSPDFKit-2gqt93vqwz7akw64wyn6tk2eqn{shape-rendering:geometricPrecision;stroke-linecap:butt;stroke-linejoin:miter;pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2gqt93vqwz7akw64wyn6tk2eqn.PSPDFKit-67t1bptsfdkkkbpn6jgsm9ktd9{stroke-linecap:round;stroke-linejoin:round}.PSPDFKit-xydzth3k7ns3nahap4gpxayej,.PSPDFKit-2gqt93vqwz7akw64wyn6tk2eqn.PSPDFKit-67t1bptsfdkkkbpn6jgsm9ktd9.PSPDFKit-3zmy52u71trzxmdvbycck28tg7{stroke-linecap:butt;stroke-linejoin:miter}.PSPDFKit-xydzth3k7ns3nahap4gpxayej{cursor:pointer;pointer-events:painted}.PSPDFKit-xydzth3k7ns3nahap4gpxayej.PSPDFKit-67t1bptsfdkkkbpn6jgsm9ktd9{stroke-linecap:round;stroke-linejoin:round}.PSPDFKit-68femat6jd47qrav117uen51r{pointer-events:none;position:absolute;-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-26jegsvp6ufypbu8pxdv7fr1zz{bottom:0;left:0;position:absolute;right:0;top:0}.PSPDFKit-2wjxpeaermrgg7maxgnqmz9nc3{align-items:center;display:flex;justify-content:center}.PSPDFKit-3g43gj4at3dwbty7y7kctavd8b{-webkit-user-select:text;-ms-user-select:text;user-select:text}.PSPDFKit-85dfpszurcp74kqrua8y455s3x,.PSPDFKit-85dfpszurcp74kqrua8y455s3x>:first-child{height:100%}.PSPDFKit-85dfpszurcp74kqrua8y455s3x>:last-child *{box-sizing:border-box} +.PSPDFKit-4dwy35ce5zzs8fcuzm4z5qyj9j{bottom:0;left:0;position:absolute;right:0;top:0}.PSPDFKit-4rhmvvkqbbeztw9z4seq55hdh4{overflow:hidden;position:absolute}.PSPDFKit-4rhmvvkqbbeztw9z4seq55hdh4 p{margin:0}.PSPDFKit-4rhmvvkqbbeztw9z4seq55hdh4 p:empty:after,.PSPDFKit-4rhmvvkqbbeztw9z4seq55hdh4 p>span:empty:after{content:" "}.PSPDFKit-5sgjnpxkms74d5uhcrs1xnpjkh{margin:0;padding:0}.PSPDFKit-5sgjnpxkms74d5uhcrs1xnpjkh:focus{outline:none}.PSPDFKit-c8up8r9n155axqjtb8dat8e5t{background:inherit;cursor:text;height:auto;overflow:hidden;position:absolute;-webkit-user-select:text!important;-ms-user-select:text!important;user-select:text!important;width:auto}.PSPDFKit-c8up8r9n155axqjtb8dat8e5t *{margin:0;padding:0}.PSPDFKit-c8up8r9n155axqjtb8dat8e5t:focus{outline:none}.PSPDFKit-3g965ce6b38z92kn57ymc33d93{position:absolute!important} +.PSPDFKit-87g1wera6smataxregkeucdz7u{pointer-events:none}.PSPDFKit-7nzf5ygyxf3ft1vwqded1vys1c{z-index:1}.PSPDFKit-7ckwm8p8x63jumkemns7vefj6u{bottom:0;cursor:crosshair;left:0;position:absolute;right:0;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-8629afaazd1efzub8c3z1qfnae{position:absolute;text-align:left}.PSPDFKit-4vzt6kbkqqcu93437rphdgn7xj{border:2px solid rgba(60,151,254,.5);bottom:-6px;left:-6px;position:absolute;right:-6px;top:-6px}.PSPDFKit-8qst6ht79xb7qug95szm7j35vv{cursor:pointer}.PSPDFKit-86f9zgw71s8n95n7rxd3uqn3c{word-wrap:break-word;font-family:Helvetica,sans-serif;line-height:0;overflow:hidden;overflow-wrap:break-word}.PSPDFKit-82f4yxbm2u7ssyqxr8sztm7qzb{display:inline-block;overflow:hidden;width:100%}.PSPDFKit-7vkn9dyk6rhen2hjabdgskypgp{pointer-events:none;position:absolute;-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-8py43zrk8tdwczbp1rgu5zkpcc{position:absolute}.PSPDFKit-4111jnwhknt7c61pjq82hshdjm,.PSPDFKit-68rke3v2mwfersk9s87pby4xqz:focus{outline:2px solid #2378ff!important;outline-offset:2px}.PSPDFKit-2wyzkwftushgxqvheqv9gc1qz7{background:hsla(0,0%,100%,.5);border-radius:3px;bottom:3px;left:3px;position:absolute;right:3px;top:3px}.PSPDFKit-68rke3v2mwfersk9s87pby4xqz .PSPDFKit-6jx1pd841ynqrzk4be2rtgtwnc{cursor:pointer}.PSPDFKit-4hm8gjadpcvqnu18qte7mqnfey .PSPDFKit-6jx1pd841ynqrzk4be2rtgtwnc{background-color:#900;bottom:0;content:"";cursor:pointer;left:0;position:absolute;right:0;top:50%}.PSPDFKit-4hm8gjadpcvqnu18qte7mqnfey .PSPDFKit-2wyzkwftushgxqvheqv9gc1qz7{opacity:.1}.PSPDFKit-8hws43jkrgjxj8tajvc3qfhyfr .PSPDFKit-6jx1pd841ynqrzk4be2rtgtwnc{background-color:#900;bottom:0;content:"";cursor:pointer;left:0;position:absolute;right:0}.PSPDFKit-8hws43jkrgjxj8tajvc3qfhyfr .PSPDFKit-2wyzkwftushgxqvheqv9gc1qz7{opacity:.1}.PSPDFKit-78vd6wa19gxf1ecyped1w9etsw .PSPDFKit-6jx1pd841ynqrzk4be2rtgtwnc{background:none!important;bottom:0;cursor:pointer;left:0;position:absolute;right:0}.PSPDFKit-78vd6wa19gxf1ecyped1w9etsw .PSPDFKit-2wyzkwftushgxqvheqv9gc1qz7{opacity:.1} +.PSPDFKit-73459dse4nv5d9mqecpwp57s3d{height:100%;width:100%}.PSPDFKit-8wsgnacdwb75d488xzar24jqkq{position:absolute} +.PSPDFKit-7ynwexufv1hs2a9qe2gqaegb69{border-radius:3px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;touch-action:none;white-space:nowrap}.PSPDFKit-7ynwexufv1hs2a9qe2gqaegb69:not([disabled]){background-color:#7792f4;border-color:#1946ec;color:#fff}.PSPDFKit-7ynwexufv1hs2a9qe2gqaegb69:not([disabled]):hover{background-color:#8fa5f6;color:#fff;outline:0}.PSPDFKit-7ynwexufv1hs2a9qe2gqaegb69:not([disabled]):active{background-color:#607ff2}.PSPDFKit-4cfxcba5wt87u69f2dw7v6xter{overflow:hidden;text-overflow:ellipsis;white-space:nowrap} +.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1{display:block;position:relative}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox],.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]{bottom:0;height:100%;left:0;margin:0;opacity:0;padding:0;position:absolute;right:0;top:0;width:100%}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:focus+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:focus+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg{background-color:#fffb8b;border-color:#beb700;box-shadow:none!important}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:active:not([disabled])+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:hover:not([disabled])+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:active:not([disabled])+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:hover:not([disabled])+.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg{background-color:#fff;box-shadow:inset 0 0 0 1px #b9c8ff}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox].PSPDFKit-5d2c15vj7t3amwwn2yqea1bcas+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:checked+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio].PSPDFKit-5d2c15vj7t3amwwn2yqea1bcas+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:checked+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after{background-color:#1332a7}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox].PSPDFKit-5d2c15vj7t3amwwn2yqea1bcas[disabled]+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox]:checked[disabled]+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio].PSPDFKit-5d2c15vj7t3amwwn2yqea1bcas[disabled]+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio]:checked[disabled]+.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after{background-color:rgba(87,87,87,.7)}.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=checkbox][disabled]~.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq,.PSPDFKit-24sm6mv9bd2n715byv1c75x3p1 [type=radio][disabled]~.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq{color:#666}.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq,.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg{bottom:0;left:0;line-height:0;pointer-events:none;position:absolute;right:0;top:0}.PSPDFKit-8zz118e9x2cbq64jj7xe4juhtg{border-radius:.1em}.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj,.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after{border-radius:100%;pointer-events:none}.PSPDFKit-yun3fvwa7cmcs36wxdpy8barj:after{background-color:transparent;content:"";height:50%;left:25%;position:absolute;top:25%;width:50%}.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq{color:#1332a7}.PSPDFKit-5kxx5vfzwztr2mwa4mzj18jqrq svg{height:100%;width:100%} +.PSPDFKit-5pebxrpmqgkrf7vcxe4371geyh{bottom:0;cursor:default;left:0;position:absolute;right:0;top:0}.PSPDFKit-7fyvzesvuhuugesmttmj91m4nm{align-items:flex-start;display:flex;flex:0 1 auto;flex-direction:column;margin:0;padding:0;position:relative}.PSPDFKit-7fyvzesvuhuugesmttmj91m4nm.PSPDFKit-2a2g4zggqmewex1vm5v4zpgb56{z-index:100}.PSPDFKit-6s31a1f931synspdjrnvzxnfgc{display:block;position:relative;width:100%}.PSPDFKit-4bd1e6vbjnuczspgvgas5tb4us{background-color:transparent;border:0;box-sizing:border-box;font:inherit;height:100%;margin-right:0;overflow:hidden;padding:0 .3em;text-align:left;white-space:nowrap;width:100%}.PSPDFKit-4bd1e6vbjnuczspgvgas5tb4us[disabled],.PSPDFKit-4bd1e6vbjnuczspgvgas5tb4us[disabled]+.PSPDFKit-3hahgu1xkd2v4363x5d3e6rryn{color:#666}.PSPDFKit-3hahgu1xkd2v4363x5d3e6rryn{border:none;color:#5f5f5f;margin-top:-.35em;position:absolute;right:.25em;top:50%;width:.7em}.PSPDFKit-3hahgu1xkd2v4363x5d3e6rryn svg{fill:currentColor;border:0!important;display:block;height:.7em}.PSPDFKit-3vaw2awbbx1p5zjtdh9v5dhtts{align-items:stretch;background-color:#fff;display:flex;flex-direction:column;min-width:3em;outline:2px solid #000;width:100%}.PSPDFKit-89gzhtz3mw6xunsgtyr2eum9s6,.PSPDFKit-3vaw2awbbx1p5zjtdh9v5dhtts{box-sizing:border-box}.PSPDFKit-89gzhtz3mw6xunsgtyr2eum9s6{flex:0 1 auto;margin:.2em;min-height:0;min-width:0;padding:.2em}.PSPDFKit-88t5fcsjadwffxkef3gfkzaksk{align-items:stretch;border-style:none;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;margin-top:.1em;overflow:none}.PSPDFKit-844vbxfxwv5rq9arab8e8gd5de{color:#3d464d;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-rrhtfqn9ehag1af8v4xkdd8au{background-color:#ecf0ff}.PSPDFKit-49532ws826dtcr1m8n5e4dcjzu{background-color:#b9c8ff;color:#fff}.PSPDFKit-57p3ubjwqmm7d4cs2pftzys4tx{color:#aeaeae}.PSPDFKit-rrhtfqn9ehag1af8v4xkdd8au .PSPDFKit-57p3ubjwqmm7d4cs2pftzys4tx{color:#3d464d}.PSPDFKit-49532ws826dtcr1m8n5e4dcjzu .PSPDFKit-57p3ubjwqmm7d4cs2pftzys4tx{color:#fff} +.PSPDFKit-4epuuwuap9pk3ntjcv5zf9djsb{outline:1px solid transparent}.PSPDFKit-7xq92qy48k696v9kfs77d7f216:not([disabled]) option:checked{background:#b9c8ff linear-gradient(0deg,#b9c8ff,#b9c8ff);color:#fff} +.PSPDFKit-6b7je6w7pq8q3htgsu22kkv6jy{align-items:center;background-color:#4636e3;background-color:var(--PSPDFKit-Signatures-background);border:1px solid #5e5ceb;border:1px solid var(--PSPDFKit-Signatures-border);border-radius:0 0 .2em;color:#fff;color:var(--PSPDFKit-Signatures-color);display:inline-flex;font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);left:0;line-height:1;padding:.2em .4em;position:absolute;text-transform:lowercase;top:0}.PSPDFKit-7181s3qkmmn7fdexydqff3quq3{background-color:inherit;border-color:inherit;color:inherit}.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju{max-height:100vh;max-width:640px;width:100%}@media(max-height:455px){.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju{height:90%}}@media(max-height:300px){.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju{height:100%}}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju{border-radius:0;height:100%;max-width:100%}}.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju .PSPDFKit-3nvj481sp2nd9z1gjhvh4xnak2,.PSPDFKit-4kv9rhr6nzpkdjsr5xsjyfaqju .PSPDFKit-3v4b4f9nkt7wjjd26afq8763k5{margin-left:calc(0.8125em*-1);margin-left:calc(var(--PSPDFKit-spacing-5)*-1);margin-right:calc(0.8125em*-1);margin-right:calc(var(--PSPDFKit-spacing-5)*-1)}.PSPDFKit-2g5n99kjfbnxh1che778jg7tjb{color:#4d525d;color:var(--PSPDFKit-Signatures-container-color);display:flex;flex-direction:column;height:100%;justify-content:space-between}.PSPDFKit-6qtbckagb6bfbdepc3443v6ywj{height:auto;max-height:60vh}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-6qtbckagb6bfbdepc3443v6ywj{height:100%;max-height:100%}}.PSPDFKit-4su78ec7s1c5mkz65pjuq22xsv{margin-bottom:1.625em;margin-bottom:var(--PSPDFKit-spacing-3)}.PSPDFKit-5ru14aj6muejw948tvdz1gb3ks,.PSPDFKit-4su78ec7s1c5mkz65pjuq22xsv{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.PSPDFKit-5ru14aj6muejw948tvdz1gb3ks{margin-top:1.625em;margin-top:var(--PSPDFKit-spacing-3)}.PSPDFKit-3bexu72w84xp6s2e361sj7711b,.PSPDFKit-5r5vdeqd1th8znbb9ygk279qt7{margin-bottom:0.609em;margin-bottom:var(--PSPDFKit-spacing-6)}@media(min-width:350px){.PSPDFKit-3bexu72w84xp6s2e361sj7711b,.PSPDFKit-5r5vdeqd1th8znbb9ygk279qt7{margin-bottom:0}}@media(max-width:350px){.PSPDFKit-8c4vuvw13bebs9s1s79remb5de{width:100%}.PSPDFKit-8c4vuvw13bebs9s1s79remb5de~.PSPDFKit-8c4vuvw13bebs9s1s79remb5de,.PSPDFKit-4kzbv64jk7wgnrp27w38k26bj3{margin-top:0.8125em;margin-top:var(--PSPDFKit-spacing-5)}.PSPDFKit-4kzbv64jk7wgnrp27w38k26bj3{width:100%}}.PSPDFKit-5ngq82qgx5cxz4uz5mzjkchjr4{background-color:#fcfdfe;background-color:var(--PSPDFKit-Signatures-editorCanvas-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-Signatures-editorCanvas-border);border-radius:3px;overflow:hidden;padding-bottom:43.3333%;position:relative;width:100%}.PSPDFKit-2ju133936zwp42hg96a2f41uec{color:#4d525d;color:var(--PSPDFKit-Signatures-signHere-color);margin-top:-.5em;position:absolute;text-align:center;top:50%;transition:opacity .2s linear,visibility .2s;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%}.PSPDFKit-2ttca3yjnqndu3nqu48x21jqwz{opacity:0;visibility:hidden}.PSPDFKit-6uvk92p73etnn6mk5qcbqwj9yx{align-items:center;display:flex}.PSPDFKit-642395esq5512gt252k1kx6gg2{margin-left:.5em}.PSPDFKit-3bexu72w84xp6s2e361sj7711b{font-size:1.5rem!important;font-size:var(--PSPDFKit-fontSize-6)!important}.PSPDFKit-3v4b4f9nkt7wjjd26afq8763k5{flex:1 1 auto;max-height:50vh;overflow:auto}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-3v4b4f9nkt7wjjd26afq8763k5{max-height:100%}}.PSPDFKit-6p71pj5wv5hqqjxncy9s2zhp6z{display:block;margin:0;padding:0 0 1rem;width:100%}.PSPDFKit-4yhszj3k6pkfr9qjx6zw41fd3g{list-style:none;margin-top:0.46875em;margin-top:var(--PSPDFKit-spacing-7);position:relative}.PSPDFKit-4yhszj3k6pkfr9qjx6zw41fd3g:first-child{margin-top:0}.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3{display:block;opacity:.75;padding-bottom:20%;touch-action:auto;width:100%}.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3:active,.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3:focus,.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3:hover{opacity:1}.PSPDFKit-4nbyd35stvtu3bz3kk4yr18ed3.PSPDFKit-353zxjn4cwq7f5trcamndrkw3j{padding:calc(0.8125em/2) 0.8125em;padding:calc(var(--PSPDFKit-spacing-5)/2) var(--PSPDFKit-spacing-5)}.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x{background:transparent;border:0;color:#4d525d;color:var(--PSPDFKit-Signatures-DeleteSignatureButton-color);cursor:pointer;height:24px;opacity:.3;padding:0;position:absolute;right:0.609em;right:var(--PSPDFKit-spacing-6);top:0.609em;top:var(--PSPDFKit-spacing-6);width:24px}.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x:active,.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x:focus,.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x:hover{opacity:1}.PSPDFKit-7urkar9j36rp4ztzeaqz3jjm6x svg{height:100%;width:100%}.PSPDFKit-5r5vdeqd1th8znbb9ygk279qt7{color:#4d525d;color:var(--PSPDFKit-Signatures-Title-color);font-size:1.25rem;font-size:var(--PSPDFKit-fontSize-5)} +.PSPDFKit-6nx1rtuadk913zxen95pax5hz5{background:transparent;border:0;line-height:1;padding:0;pointer-events:auto;position:absolute}.PSPDFKit-6nx1rtuadk913zxen95pax5hz5:focus,.PSPDFKit-6nx1rtuadk913zxen95pax5hz5:hover{cursor:pointer}.PSPDFKit-6nx1rtuadk913zxen95pax5hz5[disabled]{cursor:auto}.PSPDFKit-8qpben4cgdt355xztxuqcrcxvg svg{height:100%;overflow:visible;width:100%}.PSPDFKit-5ty8mmke3as9vprwxv67knqxcc .PSPDFKit-Icon-CommentIndicator-Stroke-Shape{stroke:#4636e3;stroke:var(--PSPDFKit-CommentMarkerAnnotation-accent-stroke);stroke-width:5px}.PSPDFKit-4cgbq7rdg2pm33fadjsppnpuux{cursor:pointer;opacity:1;pointer-events:all;position:absolute}.PSPDFKit-2aywxsct3x3wxc4d46re3nssxu{opacity:1} +.PSPDFKit-334y8gbu8r2jjjn87nzvuevc59{bottom:0;left:0;position:absolute;right:0;top:0} +.PSPDFKit-2z5hjphww7fvh1z69wxptsw1b9{bottom:0;left:0;position:absolute;right:0;top:0}.PSPDFKit-2z5hjphww7fvh1z69wxptsw1b9.PSPDFKit-3hfxfy9zqj8jprbtu9vf3epp17{cursor:pointer}.PSPDFKit-2z5hjphww7fvh1z69wxptsw1b9.PSPDFKit-3p9u592y96exhe2r2ntk5vbyxu{cursor:text} +.PSPDFKit-41x845wgwdrzef1yhewvdke7jq{fill:transparent;shape-rendering:geometricPrecision;cursor:pointer;pointer-events:fill}.PSPDFKit-41x845wgwdrzef1yhewvdke7jq.PSPDFKit-4xr8ttj6ez7ht327cw29e7egf4{cursor:grabbing}.PSPDFKit-3zx2hhrb4ywt7dnp33xe4gkwb3{fill:transparent;stroke:rgba(60,151,254,.5);shape-rendering:geometricPrecision;cursor:pointer;pointer-events:fill}.PSPDFKit-3zx2hhrb4ywt7dnp33xe4gkwb3.PSPDFKit-4xr8ttj6ez7ht327cw29e7egf4{cursor:grabbing}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g,.PSPDFKit-m9u6yjwr7kv5hrxj2edskfkgq{fill:#3c97fe;stroke:#fff;pointer-events:fill}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g{cursor:move}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g.PSPDFKit-39325679hnnu7x4wvxu6tbzens{cursor:nwse-resize}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g.PSPDFKit-4d596dtje8pvaa57j35a6jumtj{cursor:nesw-resize}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g.PSPDFKit-24ebukh9y4t3vv23sz65xrazp3{cursor:ew-resize}.PSPDFKit-dhbnhykfyudwqtjr6bkvb411g.PSPDFKit-3vgs6mrf1dabs2kb4pj7s49g45{cursor:ns-resize}.PSPDFKit-h4n5vrr4a9j6mcbt75ygqk7hf{stroke:#3c97fe}.PSPDFKit-8edbp12fj3btvvzys6786f1fgj{pointer-events:none;position:absolute;touch-action:none;-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-3g9zhcucr422ntc7f1j5r7d642{cursor:crosshair;height:100%;position:relative;width:100%}.PSPDFKit-5jju3cq115q7jyhsr5tbbc9k5v{background-color:#4636e3;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 1px rgba(0,0,0,.15);height:12px!important;width:12px!important}.PSPDFKit-7crnzth1tunbc1y11dsmm25d3d,.PSPDFKit-6jhwapspg9juffwvb74ngnheyk,.PSPDFKit-72wh5syb1qx2wkvnqjh2ts7ghz{left:50%!important;margin-left:-6px}.PSPDFKit-6jhwapspg9juffwvb74ngnheyk{top:-6px!important}.PSPDFKit-7crnzth1tunbc1y11dsmm25d3d{bottom:-6px!important}.PSPDFKit-3532cjnqew5bhzac79j6tsgba9,.PSPDFKit-2mzfwjn4a49rq62m884wpsqvwe,.PSPDFKit-4xstjgjt6yzwy52577u1uxmq58{margin-top:-6px;top:50%!important}.PSPDFKit-3532cjnqew5bhzac79j6tsgba9{left:-6px!important}.PSPDFKit-2mzfwjn4a49rq62m884wpsqvwe{right:-6px!important}.PSPDFKit-75mze7fkqv4saep8aun4y1qf7n{left:-6px!important;top:-6px!important}.PSPDFKit-q2hk1mcaqqvf11djfan91yrhz{right:-6px!important;top:-6px!important}.PSPDFKit-7w3jyr3yvfr7hpbmmha8uc2wr7{bottom:-6px!important;left:-6px!important}.PSPDFKit-3n3x1jyrwpd789w22qhc6nrscf{bottom:-6px!important;right:-6px!important}.PSPDFKit-7mmux7swq1uq9t5m59se9qu3u4{border:1px solid #fff;cursor:grab;outline:1px solid #717885;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-7mmux7swq1uq9t5m59se9qu3u4:active{cursor:grabbing;-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-6zm9nnbwvmtst5hnt9v1yhtmta{cursor:auto;height:100%;position:relative;width:100%;z-index:3}.PSPDFKit-4rqhxj4gybrps8vxa7fy7a3ssd{background-color:rgba(68,132,227,.2);border:1px solid #4484e3}.PSPDFKit-4rqhxj4gybrps8vxa7fy7a3ssd,.PSPDFKit-4rqhxj4gybrps8vxa7fy7a3ssd:active{-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-2nvh838hnrmj6tjpctafyh5x7m{margin-bottom:0;margin-top:0;max-width:100vw;position:relative;top:5px}.PSPDFKit-5xzg6bg1qbsb5nyd5qtnxyygh4{bottom:5px;top:auto}.PSPDFKit-7m14b5a6nxx7rywstpkcac66jh,.PSPDFKit-3m2a5gvruf8k4he7qc4zjkr6ph{border-bottom:5px solid transparent;border-bottom-color:#bec9d9;border-bottom-color:var(--PSPDFKit-LayoutConfig-arrow-border);border-left:5px solid transparent;border-right:5px solid transparent;border-top:0 solid transparent;display:block;height:0;margin-top:1px;position:relative;width:0}.PSPDFKit-8eerxut5n95np3tqrj71w5e222,.PSPDFKit-5b9jgmbtab9q2nsf1et2wzayps{border-bottom-width:0;border-top-color:#bec9d9;border-top-color:var(--PSPDFKit-LayoutConfig-arrow-border);border-top-width:5px}.PSPDFKit-3m2a5gvruf8k4he7qc4zjkr6ph{border-width:0 4px 4px;border-bottom:4px #fff;border-bottom:4px var(--PSPDFKit-LayoutConfig-arrowFill-border);top:1px}.PSPDFKit-3m2a5gvruf8k4he7qc4zjkr6ph,.PSPDFKit-8eerxut5n95np3tqrj71w5e222{border-style:solid;left:-4px;position:absolute}.PSPDFKit-8eerxut5n95np3tqrj71w5e222{border-width:4px 0;border-top:4px #fff;border-top:4px var(--PSPDFKit-LayoutConfig-arrowFill-border);bottom:2px;color:transparent}.PSPDFKit-6nefwc9ww2a6bdsknb6pf9xqyf{border-collapse:collapse;margin:0 10px}.PSPDFKit-6nefwc9ww2a6bdsknb6pf9xqyf tr+tr td{border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-LayoutConfig-table-border)}.PSPDFKit-441mq6m2ewd76vee95v9fr7my2{cursor:pointer;touch-action:none}.PSPDFKit-441mq6m2ewd76vee95v9fr7my2,.PSPDFKit-6f7sarp7tsa7umn4f92wvj1bfv{display:inline-block}.PSPDFKit-6f7sarp7tsa7umn4f92wvj1bfv{border-radius:3px;margin:5px 0;padding:3px}.PSPDFKit-36mkhhuvsv1c4uvf7vtkhpvmrp{background-color:#4636e3;background-color:var(--PSPDFKit-LayoutConfig-icon-isActive-background);color:#fff;color:var(--PSPDFKit-LayoutConfig-icon-isActive-color)}.PSPDFKit-h975nt1b2sjwtx24fkebaskvu:not(.PSPDFKit-36mkhhuvsv1c4uvf7vtkhpvmrp){background-color:#f0f3f9;background-color:var(--PSPDFKit-LayoutConfig-icon-isHighlighted-background)} +.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj{-ms-overflow-style:none;background-color:#fcfdfe;background-color:var(--PSPDFKit-Toolbar-background);box-shadow:0 1px 2px rgb(61 66 78 / 0.5);box-shadow:0 1px 2px var(--PSPDFKit-Toolbar-boxShadow);color:#3d424e;color:var(--PSPDFKit-Toolbar-color);flex:2;flex-direction:row;font-weight:400;height:44px;min-height:44px;opacity:1;overflow-x:auto;overflow-y:hidden;position:relative;transition:opacity .4s ease 0s;-webkit-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;z-index:3}.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj,.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-39uutbqvjcmpw86wegd169emzw,.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-7kw269a3q1nnm4e8q7ph8skd1y{align-items:center;display:flex}.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-39uutbqvjcmpw86wegd169emzw,.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-7kw269a3q1nnm4e8q7ph8skd1y{flex-grow:1}.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj .PSPDFKit-7kw269a3q1nnm4e8q7ph8skd1y{justify-content:flex-end}.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj>:first-child,.PSPDFKit-7y27utzt66zv3mqf62v5b93bkj>:first-child .PSPDFKit-yzpfzw9bfd9ejp1k7kgdacu7d{border:0}.PSPDFKit-4z9qs61q4s33nvuwafvrr69p27{margin:0 12px}.PSPDFKit-4z9qs61q4s33nvuwafvrr69p27:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-4z9qs61q4s33nvuwafvrr69p27,.PSPDFKit-width-sm .PSPDFKit-4z9qs61q4s33nvuwafvrr69p27,.PSPDFKit-width-xs .PSPDFKit-4z9qs61q4s33nvuwafvrr69p27{display:none}.PSPDFKit-2znbjv3uzcg3sd8kby58ara78y{align-items:center;display:flex;justify-content:center}.PSPDFKit-yzpfzw9bfd9ejp1k7kgdacu7d{border-left:1px solid #f0f3f9;border-left:1px solid var(--PSPDFKit-Toolbar-button-border);flex-shrink:0}.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh{align-items:center;border:0;border-radius:4px;display:flex;flex-shrink:0;font:inherit;justify-content:flex-start;padding-right:24px;white-space:nowrap;width:100%}.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh{color:inherit}.PSPDFKit-4w5v8zc35y6mjqvgzm7h29yxjz{background-color:#4636e3;background-color:var(--PSPDFKit-Toolbar-dropdownButton-isSelected-background);color:#fff!important;color:var(--PSPDFKit-Toolbar-dropdownButton-isSelected-color)!important}.PSPDFKit-3esgz77hvs295449651j22wfqe{background-color:#f0f3f9;background-color:var(--PSPDFKit-Toolbar-dropdownButton-isDisabled-background)}.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh:focus,.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh:hover,.PSPDFKit-7afsq6jcreh7h5cqqjrdd1xq87{background-color:#4636e3;background-color:var(--PSPDFKit-Toolbar-dropdownButton-isFocused-background);color:#fff;color:var(--PSPDFKit-Toolbar-dropdownButton-isFocused-color)}.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh:focus.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh,.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh:hover.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh,.PSPDFKit-7afsq6jcreh7h5cqqjrdd1xq87.PSPDFKit-6uq6r7dsfrgrfk6e7j9247tmjh{color:#fff;color:var(--PSPDFKit-Toolbar-dropdownButton-isFocused-color)} +.PSPDFKit-7q656qfg6merpmvr8kzt9szzpm{opacity:0;transform:translate3d(0,-50%,0)}.PSPDFKit-2uctbmt9nj99yrpxdk24951hsm{transition:all .1s ease-out}.PSPDFKit-2uctbmt9nj99yrpxdk24951hsm,.PSPDFKit-5v5jfhfemf1mxc5ret8j9wh9sh{opacity:1;transform:translateZ(0)}.PSPDFKit-3a46uu7aytzncpnz4ppsu1ucnd{opacity:0;transform:translate3d(0,-50%,0);transition:all .12s ease-in}.PSPDFKit-7yg9b82v4xahqj93wys6tpbu1f{opacity:0;transform:translate3d(0,50%,0)}.PSPDFKit-44rpp3fvbs9mj6uu6g6my1392{transition:all .1s ease-out}.PSPDFKit-44rpp3fvbs9mj6uu6g6my1392,.PSPDFKit-4pjqt364whvu7b81yv22fwa1ve{opacity:1;transform:translateZ(0)}.PSPDFKit-4sea6h8efz1kfffbq87vcmq3qu{opacity:0;transform:translate3d(0,50%,0);transition:all .12s ease-in}.PSPDFKit-6hdgn11y1ecgvxga69t6p78b9a{transform:translate3d(0,-44px,0)}.PSPDFKit-2b6tmwyq1x3rcswb7k71f8vurh{transform:translateZ(0);transition:all .1s ease-out}.PSPDFKit-7hwkgbqv2uvce8qyhqnq7n9vdp{transform:translateZ(0)}.PSPDFKit-4b3k2aksgt8h7qfz8vz5nbnvfz{transform:translate3d(0,-44px,0);transition:all .12s ease-in}.PSPDFKit-6rtd66rsbcpdy21mbkethcajk1{transform:translate3d(0,44px,0)}.PSPDFKit-6jy41y1rpnd5deemk7hqpbq4m1{transform:translateZ(0);transition:all .1s ease-out}.PSPDFKit-21nc3yzh856bkm3mw7smrrzb5w{transform:translateZ(0)}.PSPDFKit-4zmvpm3c2adfnu8qnuw79cjh3s{transform:translate3d(0,44px,0);transition:all .12s ease-in}.PSPDFKit-79rm2zddjaxgzdkx4w8mqnqa8c{opacity:0}.PSPDFKit-7trwsc5j1bg69wa1vf9qt5e2ve{opacity:1;transition:opacity .1s ease-in}.PSPDFKit-8t2qrt9phw91wb7a8wwmgdce7p{opacity:1}.PSPDFKit-7e9n9mfhw378wrt55c2j4gpdxm{opacity:0;transition:opacity .15s ease-out}.PSPDFKit-67d6x1qnthds5d58mamrx9qpu3{opacity:0}.PSPDFKit-3dfszxf6jpx5tm2y1gn1ehxgtw{transform:scale(.7) translateY(-12px);transform-origin:top center}.PSPDFKit-8kb8kruw3xcx17v1486van1ttq{transform:scale(.7) translateY(12px);transform-origin:bottom center}.PSPDFKit-3c4mxzjgy4m6n8r275v2uyp4we{transition-duration:.24s;transition-property:opacity,transform;transition-timing-function:cubic-bezier(.165,.84,.44,1)}.PSPDFKit-3c4mxzjgy4m6n8r275v2uyp4we,.PSPDFKit-3uce8apgqwt65tqd63cq5zuvpm{opacity:1;transform:none}.PSPDFKit-3hsvwu5hjq1a44vcrtkv5fhpnr{transform-origin:top center}.PSPDFKit-5r2r1t3f6q5zqjq84zbr69ejuk{transform-origin:bottom center}.PSPDFKit-35xj9c4azp7m511gxuzzvr1k5d{opacity:0;transition-duration:80ms;transition-property:opacity,transform;transition-timing-function:cubic-bezier(.55,.055,.675,.19)}.PSPDFKit-t8mvndx8cr8ydw9bm2vyh2wgw{transform:scale(.7) translateY(-12px)}.PSPDFKit-378kvahbp4zr42u1gb4cqyxsad{transform:scale(.7) translateY(12px)} +.PSPDFKit-ueuej8dv753zvbk6mp828mzsr{color:#3d424e;color:var(--PSPDFKit-Pager-color);cursor:default;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-variant-numeric:tabular-nums;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:-moz-fit-content;width:fit-content}.PSPDFKit-5k4sr6w4zxhd2hs9mbp6s6pzny,.PSPDFKit-4mcfrdfta1gqurpt3wsxjc97a{align-items:center;display:flex}.PSPDFKit-5k4sr6w4zxhd2hs9mbp6s6pzny{min-width:0}.PSPDFKit-width-sm .PSPDFKit-5k4sr6w4zxhd2hs9mbp6s6pzny,.PSPDFKit-width-xs .PSPDFKit-5k4sr6w4zxhd2hs9mbp6s6pzny{display:none}.PSPDFKit-4mcfrdfta1gqurpt3wsxjc97a{display:none}.PSPDFKit-width-sm .PSPDFKit-4mcfrdfta1gqurpt3wsxjc97a,.PSPDFKit-width-xs .PSPDFKit-4mcfrdfta1gqurpt3wsxjc97a{display:flex}.PSPDFKit-bc9txuev7gse3pp84ajq62vmt strong{color:#3d424e;color:var(--PSPDFKit-Pager-color);font-weight:400}.PSPDFKit-7tngmuaurbw9evq3vhsmqhb79y{display:flex;height:26px;margin:0 0.609em;margin:0 var(--PSPDFKit-spacing-6)}.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w{-moz-appearance:textfield;background:rgb(61 66 78 / 0.2);background:var(--PSPDFKit-Pager-input-background);border:none;color:#3d424e;color:var(--PSPDFKit-Pager-input-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:400;margin:0 1px;padding:4px;text-align:center;transition:all .15s;width:48px}.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w:active,.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w:focus{color:#3d424e;color:var(--PSPDFKit-Pager-input-isActive-color)}.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w::-webkit-inner-spin-button,.PSPDFKit-6akg5tb3pdjbrjepp4y44p6w6w::-webkit-outer-spin-button{-webkit-appearance:none}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw,.PSPDFKit-218fbh46vhgjukxda9q16dva61{background:rgb(61 66 78 / 0.2);background:var(--PSPDFKit-Pager-input-background);border:0;color:#3d424e;color:var(--PSPDFKit-Pager-input-isActive-color);cursor:pointer;display:flex;height:100%;justify-content:center;padding:5px 3px;touch-action:none;transition:all .15s;width:26px}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-218fbh46vhgjukxda9q16dva61 .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69{fill:#3d424e;fill:var(--PSPDFKit-Pager-input-isActive-color);display:block;height:14px;width:14px}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:focus,.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:hover,.PSPDFKit-218fbh46vhgjukxda9q16dva61:focus,.PSPDFKit-218fbh46vhgjukxda9q16dva61:hover{background:#bec9d9;background:var(--PSPDFKit-Pager-input-isHovered-background)}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:focus .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:hover .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-218fbh46vhgjukxda9q16dva61:focus .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-218fbh46vhgjukxda9q16dva61:hover .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69{fill:#3d424e;fill:var(--PSPDFKit-Pager-input-isHovered-color)}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:disabled,.PSPDFKit-218fbh46vhgjukxda9q16dva61:disabled{pointer-events:none}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw:disabled .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69,.PSPDFKit-218fbh46vhgjukxda9q16dva61:disabled .PSPDFKit-4k74zzdsrvasvyyh48kjpdwb69{fill:#3d424e;fill:var(--PSPDFKit-Pager-input-isDisabled-color);opacity:0.3;opacity:var(--PSPDFKit-Pager-input-isDisabled-opacity)}.PSPDFKit-218fbh46vhgjukxda9q16dva61{border-radius:4px 0 0 4px}.PSPDFKit-8eqdrxrxh6w15npezgfrhr5xaw{border-radius:0 4px 4px 0}.PSPDFKit-6fnzgpjer6z7ca9jecfhk8hdsy{left:-1000000px;position:absolute;top:-1000000px} +.PSPDFKit-7kgnbhpp26m2rect3yjw1u1693{background-color:inherit;border:1px solid transparent}.PSPDFKit-314s1es5hfe28mgs9tnhkzb1de{pointer-events:none}.PSPDFKit-812ak3qykd2u5n22qxdy661rhr{border:unset} +.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9{align-items:stretch;display:flex;flex:2;flex-direction:row;left:0;position:absolute;right:0;top:0;z-index:4}.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja{-ms-overflow-style:none;background-color:#fcfdfe;background-color:var(--PSPDFKit-ToolbarResponsiveGroup--primary-background);overflow-x:auto;position:fixed}.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja.PSPDFKit-2sm51vztwj4mjbhd5pehvnauwk{bottom:0;top:auto}.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-272tn91arpsx8j7fngtk874eyz{background:#d8dfeb;background:var(--PSPDFKit-ToolbarResponsiveGroup--secondary-background);border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-ToolbarResponsiveGroup--secondary-border);box-shadow:-1px 2px 5px rgb(61 66 78 / 0.5);box-shadow:-1px 2px 5px var(--PSPDFKit-shadow-color)}.PSPDFKit-browser-engine-webkit .PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-272tn91arpsx8j7fngtk874eyz{right:unset}.PSPDFKit-8tf4984hks13xr145qxkvqh5x2{height:auto}.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja .PSPDFKit-8tf4984hks13xr145qxkvqh5x2{border-right:1px solid #f0f3f9;border-right:1px solid var(--PSPDFKit-ToolbarResponsiveGroup-button--primary-border)}.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 .PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:after,.PSPDFKit-6zy881tctu9r8st5vfwvpcfxja .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 .PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:before{border-color:#3d424e;border-color:var(--PSPDFKit-ToolbarResponsiveGroup-button--primary-arrow-border)}.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2{border-right:1px solid #bec9d9!important;border-right:1px solid var(--PSPDFKit-ToolbarResponsiveGroup-button--secondary-border)!important}.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 .PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:after,.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 .PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:before{border-color:#3d424e;border-color:var(--PSPDFKit-ToolbarResponsiveGroup-button--secondary-arrow-border)}.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2.PSPDFKit-3jvcxjeemxp6228839um72qy4t,.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2:active,.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2:focus,.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2:hover{background:#f0f3f9!important;background:var(--PSPDFKit-ToolbarResponsiveGroup-button--secondary-arrow-isFocused-background)!important}.PSPDFKit-272tn91arpsx8j7fngtk874eyz .PSPDFKit-8tf4984hks13xr145qxkvqh5x2 svg{fill:#3d424e;fill:var(--PSPDFKit-ToolbarResponsiveGroup-button-svg-fill);height:24px;width:24px}.PSPDFKit-2n3akw6g2m6zcpdwrxfqcdm28q{align-items:center;display:flex;flex-direction:row;height:auto;width:auto}.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe{background:transparent;border:0;height:20px;left:3px;position:relative;width:24px}.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:after,.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:before{border-width:2px;content:"";height:50%;left:0;position:absolute;width:calc(50% - 1px)}.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:before{animation:PSPDFKit-6t665x89dpp83cptuahpm823v9 .25s linear;border-right-style:solid;top:0;transform:rotate(-45deg);transform-origin:100% 100%}.PSPDFKit-3skkbnpn3gm9d5fp6b75tc96pe:after{animation:PSPDFKit-3ta9x8afg61d6nxtq9yhdeq5k2 .25s linear;border-right-style:solid;top:50%;transform:rotate(45deg);transform-origin:100% 0}.PSPDFKit-5g7enmsbf45swnff2zwyxdwmd8{opacity:0;transform:translate3d(50%,0,0)}.PSPDFKit-h2x5j64f4qrks9ntdqzgenamu{transition:all .15s ease-out}.PSPDFKit-h2x5j64f4qrks9ntdqzgenamu,.PSPDFKit-4hcst5bakcb11gphagzdemmaj2{opacity:1;transform:translateZ(0)}.PSPDFKit-2f4rg8arx4myttw4gnp6m4cj6f{opacity:0;transform:translate3d(50%,0,0);transition:all .12s ease-in}.PSPDFKit-browser-engine-webkit .PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-h2x5j64f4qrks9ntdqzgenamu,.PSPDFKit-browser-engine-webkit .PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-3zhxpze9bhbrk5wqq7cnx6rrcz,.PSPDFKit-browser-engine-webkit .PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-4hcst5bakcb11gphagzdemmaj2{right:0}.PSPDFKit-7s54nnph7yayfgqvb7rcy9q2r9.PSPDFKit-3zhxpze9bhbrk5wqq7cnx6rrcz{position:absolute}@keyframes PSPDFKit-6t665x89dpp83cptuahpm823v9{0%{transform:rotate(0)}20%{transform:rotate(0)}to{transform:rotate(-45deg)}}@keyframes PSPDFKit-3ta9x8afg61d6nxtq9yhdeq5k2{0%{transform:rotate(0)}20%{transform:rotate(0)}to{transform:rotate(45deg)}} +.PSPDFKit-6xbbtf8p2qcsg9fyy1cuyj7gw5{align-items:stretch;display:flex;flex-direction:column;position:relative}.PSPDFKit-5vy62kz7ms89nk2k2k3swztwdt,.PSPDFKit-2bqfqmutsr41ycmfq7rs53uqxa{align-self:stretch;flex-grow:1}.PSPDFKit-3r5sb26jgasuxhwabq3dunx45u{height:55px;position:absolute;transform:translate(-27px,-28.5px);width:52px}.PSPDFKit-83td1duhyv22mhv3yff4qtza4s{height:82px;left:50%;position:fixed;top:50%;transform:translate(-41px,-19px);width:82px;z-index:1}.PSPDFKit-83td1duhyv22mhv3yff4qtza4s svg{height:82px;pointer-events:none;width:82px}.PSPDFKit-83td1duhyv22mhv3yff4qtza4s path{filter:drop-shadow(0 3px 4px rgba(43,50,59,.2))}.PSPDFKit-83td1duhyv22mhv3yff4qtza4s path:nth-child(2){stroke:#4537de;stroke:var(--PSPDFKit-DocumentComparison-crosshair-stroke)}.PSPDFKit-4fgfk59wcke21gwwxhuq8mm7n7{align-items:center;background-color:#000;border-radius:8px;color:#fff;display:flex;height:45px;justify-content:center;left:50%;opacity:1;pointer-events:all;position:absolute;top:-55px;transform:translateX(-50%);transition:.25s;width:117px}.PSPDFKit-4fgfk59wcke21gwwxhuq8mm7n7.PSPDFKit-3dkk2vqpcthpdtrchghtj4ssn4{opacity:0;pointer-events:none}.PSPDFKit-4fgfk59wcke21gwwxhuq8mm7n7:after{background-color:#000;bottom:-5px;content:"";height:10px;left:50%;position:absolute;transform:translateX(-50%) rotate(45deg);width:10px}.PSPDFKit-7kr3xjykvj7fr643ccby96g62n path{filter:drop-shadow(0 3px 4px rgba(43,50,59,.2))}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc{background:#fff;display:block;overflow:hidden;position:relative}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc.PSPDFKit-5pzb826nhfhqp1g5p1ks17fq77{box-shadow:3px 3px 8px rgba(0,0,0,.1)}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc.PSPDFKit-427zszzm3g9rt685w6err79657{box-shadow:3px -3px 8px rgba(0,0,0,.1)}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc.PSPDFKit-2ymsd6xds9g7m3tn384wexbs7d{box-shadow:-3px -3px 8px rgba(0,0,0,.1)}.PSPDFKit-76gy17tgphy3rkqc839s5j1pzc.PSPDFKit-36rheuktx5sb8ecxck9vutfh9y{box-shadow:-3px 3px 8px rgba(0,0,0,.1)}.PSPDFKit-4y67gffktarr3dzsdm3be4tkxg{background-color:var(--PSPDFKit-DocumentComparison-background);border:1px solid var(--PSPDFKit-DocumentComparison-magnifierContainer-borderColor);border-radius:50%;box-shadow:0 0 0 1px var(--PSPDFKit-DocumentComparison-magnifierContainer-boxShadow);height:174px;overflow:hidden;position:fixed;right:30px;top:118px;width:174px}.PSPDFKit-5dnneume1xfsb52nce5gmkwws3{position:absolute}.PSPDFKit-5vm17u78a9y73z4fns92w8pcmh{height:100%;left:0;position:absolute;top:0;width:100%}.PSPDFKit-5r343876m2a2k85cus2jjxh8fw{stroke:var(--PSPDFKit-DocumentComparison-magnifierGrid-stroke);fill:none}.PSPDFKit-54zz8rzg9jq31dvzq91d2qkgg5{stroke:var(--PSPDFKit-DocumentComparison-magnifierCenterOutlineStroke-stroke);fill:none}.PSPDFKit-5ct94rndvza9jt8fdk5kj434wf{stroke:var(--PSPDFKit-DocumentComparison-magnifierCenterStroke-stroke);fill:none}.PSPDFKit-jyeb8qr8rp75utm5jpsrrw1xb,.PSPDFKit-41ur68urabv2z38jg19c3pcx39{border-radius:10px;font-size:12px;height:20px;left:50%;line-height:20px;min-width:100px;position:absolute;top:75%;transform:translate(-50%,-50%)}.PSPDFKit-jyeb8qr8rp75utm5jpsrrw1xb{background-color:var(--PSPDFKit-DocumentComparison-magnifierZoomValue-backgroundColor);mix-blend-mode:multiply}.PSPDFKit-41ur68urabv2z38jg19c3pcx39{color:var(--PSPDFKit-DocumentComparison-magnifierZoomValue-color);text-align:center}.PSPDFKit-4kmrm9dhgkuczunfzmxs26b83p{left:50%;position:absolute;top:50%}.PSPDFKit-4t23dm96wzfwsfr5116ky9f96y{bottom:0;left:0;pointer-events:auto;position:absolute;right:0;top:0} +.PSPDFKit-5b8n6ax7uyfq7q2zt9n9en17ab{background:#eff4fb;background:var(--PSPDFKit-UserHintComponent-background);border:1px solid #8f9bf4;border:1px solid var(--PSPDFKit-UserHintComponent-border);border-radius:4px;bottom:20px;box-sizing:border-box;color:#190d94;color:var(--PSPDFKit-UserHintComponent-color);position:fixed;right:40px;width:240px}.PSPDFKit-2jffvae4wwchr5476dpvz5z5ch{align-items:flex-start;display:flex;flex-direction:column;padding:20px}.PSPDFKit-2ehyk369yxm1zk369m6mttkt22{align-items:center;font-size:14px;font-weight:700;padding-bottom:5px}.PSPDFKit-2ehyk369yxm1zk369m6mttkt22,.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu,.PSPDFKit-6qzybrgcrc8sfgmwkc749exk9n{font-style:normal;max-width:100%}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu,.PSPDFKit-6qzybrgcrc8sfgmwkc749exk9n{font-size:12px;font-weight:400;line-height:140%;text-align:left}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu{padding-top:5px}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu button{border:none;padding:0;text-align:left}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu button,.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu button:hover{background-color:#eff4fb;background-color:var(--PSPDFKit-UserHintComponent-background);color:#190d94;color:var(--PSPDFKit-UserHintComponent-color)}.PSPDFKit-7agv7htc7d2j2xf6ugmwrw1ppu button:hover{text-decoration:underline}.PSPDFKit-32x2pcstxyeubux789j773s9rc{padding-bottom:5px} +.PSPDFKit-8cswfxve74abt7a5ua2r512q67{-webkit-overflow-scrolling:touch;background:#fff;background:var(--PSPDFKit-AnnotationsSidebar-container-background);box-sizing:border-box;height:100%;overflow:auto;padding-bottom:0.609em;padding-bottom:var(--PSPDFKit-spacing-6)}.PSPDFKit-7ukwuhzxh3rd8yp7euuxw4jn9b{background-color:#f6f8fa;background-color:var(--PSPDFKit-AnnotationsSidebar--empty-background);color:#000;color:var(--PSPDFKit-AnnotationsSidebar--empty-color);display:flex;justify-content:center;padding:2.4375em 0.609em;padding:var(--PSPDFKit-spacing-2) var(--PSPDFKit-spacing-6)}.PSPDFKit-4qgb7hxxn2r4g3fdet5bn1pzv8{background-color:#fff;background-color:var(--PSPDFKit-AnnotationsSidebar-annotationCounter-background);color:#4d525d;color:var(--PSPDFKit-AnnotationsSidebar-annotationCounter-color);display:flex;font-weight:700;padding:1em;padding:var(--PSPDFKit-spacing-4)}.PSPDFKit-7pcrw4sjytqdrvwzpes48axkkj{background:#f0f3f9;background:var(--PSPDFKit-AnnotationsSidebar-pageNumber-background);color:#4d525d;color:var(--PSPDFKit-AnnotationsSidebar-pageNumber-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:700;margin:0;padding:0.8125em 1.625em;padding:var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-3);text-align:right}.PSPDFKit-4uh3zdrahzskzstfsa5v48m76w{background-color:#fff;background-color:var(--PSPDFKit-AnnotationsSidebar-annotations-background);border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-AnnotationsSidebar-annotations-border)}.PSPDFKit-65qjuaube253zzcqdz1q4ku4y9{fill:#4636e3;fill:var(--PSPDFKit-AnnotationsSidebar-icon-color);color:#4636e3;color:var(--PSPDFKit-AnnotationsSidebar-icon-color);display:block;height:24px;margin-left:0.8125em;margin-left:var(--PSPDFKit-spacing-5);margin-right:0.8125em;margin-right:var(--PSPDFKit-spacing-5);width:24px}.PSPDFKit-6dxjd7dzqt7trrg39dqjupckv3{align-items:center;cursor:pointer;display:flex;margin-right:1em;margin-right:var(--PSPDFKit-spacing-4);padding:0.8125em 0;padding:var(--PSPDFKit-spacing-5) 0;position:relative}.PSPDFKit-6ek4wb89x2x5x1vhr1s1xdux9n{cursor:default}.PSPDFKit-6dxjd7dzqt7trrg39dqjupckv3+.PSPDFKit-6dxjd7dzqt7trrg39dqjupckv3:before{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationsSidebar-layout-background);content:"";height:1px;left:0;position:absolute;right:0;top:0}.PSPDFKit-7uyteqpmrzbvazvysj6dcy32h8{flex:1;margin-right:0.8125em;margin-right:var(--PSPDFKit-spacing-5)}.PSPDFKit-7uyteqpmrzbvazvysj6dcy32h8,.PSPDFKit-7uyteqpmrzbvazvysj6dcy32h8 button{color:#21242c;color:var(--PSPDFKit-AnnotationsSidebar-layoutContent-button-color);cursor:inherit}.PSPDFKit-7uyteqpmrzbvazvysj6dcy32h8 button{background:transparent;border:0;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;padding:0;text-align:inherit;word-break:break-all}.PSPDFKit-5c6ug4g42fqed2454e7qctd4sn{color:#848c9a;color:var(--PSPDFKit-AnnotationsSidebar-footer-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2)}.PSPDFKit-5c6ug4g42fqed2454e7qctd4sn p{margin:0;padding:0}.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs{background:transparent;border:0;color:#3d424e;color:var(--PSPDFKit-AnnotationsSidebar-deleteIcon-color);cursor:pointer;height:24px;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6);opacity:0;padding:0;width:24px}.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs:active,.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs:focus,.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs:hover,:active>.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs,:focus>.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs,:hover>.PSPDFKit-3jftjfjas9mc5fnfn3nvfw9rbs{opacity:1} +.PSPDFKit-6pk75qzdg2ukj6fscjncywz97r{align-items:center;display:flex}.PSPDFKit-5nhvbbak97n275vs6wmzzmeuwc{background:#fff;background:var(--PSPDFKit-TextInputComponent-input-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-TextInputComponent-input-border);color:#3d424e;color:var(--PSPDFKit-TextInputComponent-input-color);font-size:1rem;font-size:var(--PSPDFKit-fontSize-1);font-weight:400;max-height:32px;padding:6px 10px}.PSPDFKit-5nhvbbak97n275vs6wmzzmeuwc:focus{border:1px solid #4636e3;border:1px solid var(--PSPDFKit-TextInputComponent-input-active-border)} +.PSPDFKit-8ytejk69dm72arac6kecrv7jgs{align-items:center;flex-wrap:wrap;font-size:1.125rem;font-size:var(--PSPDFKit-fontSize-4)}.PSPDFKit-4mck9x4g933qtvsqa6g63nq21j,.PSPDFKit-8ytejk69dm72arac6kecrv7jgs{display:flex;line-height:0}.PSPDFKit-4mck9x4g933qtvsqa6g63nq21j{border-radius:100%;cursor:pointer;margin:4px 3px;padding:4px;touch-action:none;transition:all .15s}.PSPDFKit-4mck9x4g933qtvsqa6g63nq21j:active,.PSPDFKit-4mck9x4g933qtvsqa6g63nq21j:hover{background:#848c9a;background:var(--PSPDFKit-ColorPicker-isHovered-background)}.PSPDFKit-5z85yf9u7uzqx732cjqehyhd3s{outline:2px solid #4636e3;outline:2px solid var(--PSPDFKit-ColorPicker-input-outline)}.PSPDFKit-7899cbm2djcuh9uzvh8y9mhq12{border:2px solid #fff;border:2px solid var(--PSPDFKit-ColorPicker-swatch-border);border-radius:100%;display:inline-block;height:1em;position:relative;width:1em;z-index:2}.PSPDFKit-7m6c5mvk9zc3ccp4w9ckt76p5q{background:#4636e3!important;background:var(--PSPDFKit-ColorPicker-input-isActive-background)!important}.PSPDFKit-6ge99vaebv8tjqjjwz2pg1qzd6,.PSPDFKit-3eaf5m5zxe8hsj1wptbbs2ru3r{border:2px solid #bec9d9;border:2px solid var(--PSPDFKit-ColorPicker-swatch--transparent-border)}.PSPDFKit-6ge99vaebv8tjqjjwz2pg1qzd6{background:#fff!important;background:var(--PSPDFKit-ColorPicker-swatch--transparent-background)!important}.PSPDFKit-6ge99vaebv8tjqjjwz2pg1qzd6:after{border-bottom:1px solid #d63960;border-bottom:1px solid var(--PSPDFKit-ColorPicker-swatch--transparent-after-border);content:"";display:inline-block;transform:rotate(-60deg) translate(-2px,3px);width:12px} +.PSPDFKit-8yyas95udks18p394fepzz4n9c{background:#f0f3f9;background:var(--PSPDFKit-AnnotationToolbar-background);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-4a4w8vxdz3qm2pcgsdreydv72t{width:100%}.PSPDFKit-4xrf431ss37nqh76k5db3ja96w{align-items:center;border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-7s5tce8pp2hsk5huzfuxez1gr9,.PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y{align-items:center;display:flex;flex-grow:1}.PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-4xrf431ss37nqh76k5db3ja96w,.PSPDFKit-width-sm .PSPDFKit-4xrf431ss37nqh76k5db3ja96w,.PSPDFKit-width-xs .PSPDFKit-4xrf431ss37nqh76k5db3ja96w{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-7s5tce8pp2hsk5huzfuxez1gr9,.PSPDFKit-width-sm .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-7s5tce8pp2hsk5huzfuxez1gr9,.PSPDFKit-width-xs .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-7s5tce8pp2hsk5huzfuxez1gr9{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y,.PSPDFKit-width-sm .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y,.PSPDFKit-width-xs .PSPDFKit-4xrf431ss37nqh76k5db3ja96w .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y{flex-direction:row;justify-content:flex-start}.PSPDFKit-4xrf431ss37nqh76k5db3ja96w.PSPDFKit-5cjsnmyjcke6b1v12yfgbz41gg{flex-direction:row}.PSPDFKit-6kfdt35ea6cx8yeepx58n36vmj .PSPDFKit-4xrf431ss37nqh76k5db3ja96w{border-bottom:none;border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-5f5bztx4e8cyvfqegfp7b8wthw{align-items:center;height:44px}.PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf,.PSPDFKit-width-sm .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf,.PSPDFKit-width-xs .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf{margin-right:6px}.PSPDFKit-7m8dfjh7avxk6eweakkjyh6xyd{height:32px}.PSPDFKit-713qj5u5gbp169rww4vvs3uac button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-4h4nb13c68hupg148pgyvzqd9f{align-items:center;width:100%}.PSPDFKit-4h4nb13c68hupg148pgyvzqd9f,.PSPDFKit-6xaanvujukmusu5r1tv594b12u{display:flex;flex-direction:column}.PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr{margin:0 8px}.PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr,.PSPDFKit-width-sm .PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr,.PSPDFKit-width-xs .PSPDFKit-3vb4yamdnmg7g9xnhd6yk22phr{display:none}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y{display:flex;flex:1}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s),.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s){cursor:default}.PSPDFKit-width-md .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf,.PSPDFKit-width-sm .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf,.PSPDFKit-width-xs .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf{display:none}.PSPDFKit-width-md .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e,.PSPDFKit-width-md .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-sm .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e,.PSPDFKit-width-sm .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-xs .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e,.PSPDFKit-width-xs .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn .PSPDFKit-c3779mg2s6295w7bzec9269ub{cursor:pointer}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-3xypkvwg7p8nvzw3r5s1buz9ej{display:none}.PSPDFKit-width-md .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-3xypkvwg7p8nvzw3r5s1buz9ej,.PSPDFKit-width-sm .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-3xypkvwg7p8nvzw3r5s1buz9ej,.PSPDFKit-width-xs .PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-3xypkvwg7p8nvzw3r5s1buz9ej{display:block}.PSPDFKit-4cdb93w5e9ug2gjhtp66ummy9y .PSPDFKit-443h9wb93vz3ncxwx1m5fdwczf{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf,.PSPDFKit-width-sm .PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf,.PSPDFKit-width-xs .PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf{display:none}.PSPDFKit-7gmgduz1enf1gxbhyfgf6e75hf button{height:32px}.PSPDFKit-5r3wt2zcuevj4sv3duqd61jwmv,.PSPDFKit-6wmznmmpnx14v21nf84mdrgcjn{align-items:center;display:flex;height:32px;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-5r3wt2zcuevj4sv3duqd61jwmv,.PSPDFKit-width-sm .PSPDFKit-5r3wt2zcuevj4sv3duqd61jwmv,.PSPDFKit-width-xs .PSPDFKit-5r3wt2zcuevj4sv3duqd61jwmv{display:none}.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv,.PSPDFKit-c55swym84na3uj8cbws3nfkvk{align-items:center;display:flex}.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv,.PSPDFKit-c55swym84na3uj8cbws3nfkvk{height:32px}.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv circle,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv line,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv path,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv polygon,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv polyline,.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv rect,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv circle,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv line,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv path,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv polygon,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv polyline,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv rect,.PSPDFKit-c55swym84na3uj8cbws3nfkvk circle,.PSPDFKit-c55swym84na3uj8cbws3nfkvk line,.PSPDFKit-c55swym84na3uj8cbws3nfkvk path,.PSPDFKit-c55swym84na3uj8cbws3nfkvk polygon,.PSPDFKit-c55swym84na3uj8cbws3nfkvk polyline,.PSPDFKit-c55swym84na3uj8cbws3nfkvk rect{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv button,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv button,.PSPDFKit-c55swym84na3uj8cbws3nfkvk button{height:32px}.PSPDFKit-3g7scgbk9uy7r46ajp7k1jjfbv,.PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv{width:64px}.PSPDFKit-width-md .PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv,.PSPDFKit-width-sm .PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv,.PSPDFKit-width-xs .PSPDFKit-4h8xfhv4hcmbz7pprrj5g8dddv{left:0;right:auto!important}.PSPDFKit-c55swym84na3uj8cbws3nfkvk{width:96px}.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e{height:32px}.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e:hover,.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e[data-focus-within]{background:transparent}.PSPDFKit-s6seujr5t4rukk7rxf3xkz55e:focus-within{background:transparent}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7{align-items:center;background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:#848c9a;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6);padding:0.46875em;padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7 span{fill:#848c9a;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7:hover:not(.PSPDFKit-54dwj7qcngkpxsybb6fqkr7y51),.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7[data-focus-within]{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7:hover:not(.PSPDFKit-54dwj7qcngkpxsybb6fqkr7y51) span,.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7[data-focus-within] span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7:focus-within{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-7eqxqzsm46bunvt6wn6a96cph7:focus-within span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-2mcx41qn64buedadzqmun4x439{width:100px}}.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e,.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse,.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:0!important;border-right:1px solid #bec9d9!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-md .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59,.PSPDFKit-width-md .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse,.PSPDFKit-width-md .PSPDFKit-64vjbtpmt1hrduq893ygvk8vse.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-sm .PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-sm .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59,.PSPDFKit-width-sm .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse,.PSPDFKit-width-sm .PSPDFKit-64vjbtpmt1hrduq893ygvk8vse.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-xs .PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-xs .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59,.PSPDFKit-width-xs .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse,.PSPDFKit-width-xs .PSPDFKit-64vjbtpmt1hrduq893ygvk8vse.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3,.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3,.PSPDFKit-width-md .PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-sm .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3,.PSPDFKit-width-sm .PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-width-xs .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3,.PSPDFKit-width-xs .PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz).PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-width-lg .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):active,.PSPDFKit-width-lg .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):focus,.PSPDFKit-width-lg .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):hover,.PSPDFKit-width-lg .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz).PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-width-lg .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):active,.PSPDFKit-width-lg .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):focus,.PSPDFKit-width-lg .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):hover,.PSPDFKit-width-xl .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz).PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-width-xl .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):active,.PSPDFKit-width-xl .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):focus,.PSPDFKit-width-xl .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):hover,.PSPDFKit-width-xl .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz).PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-width-xl .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):active,.PSPDFKit-width-xl .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):focus,.PSPDFKit-width-xl .PSPDFKit-c3779mg2s6295w7bzec9269ub:not(.PSPDFKit-8ax4j3a47u9hsgjmxfqh4s4b59) :not(.PSPDFKit-64vjbtpmt1hrduq893ygvk8vse) :not(.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs) :not(.PSPDFKit-sja59fxys18kkmu18xy6hph1s) :not(.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty) :not(.PSPDFKit-2annhwtak67ncv4t85ctg2y3mz):hover{background:transparent!important}.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:active,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:focus,.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:hover,.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9.PSPDFKit-c3779mg2s6295w7bzec9269ub,.PSPDFKit-c3779mg2s6295w7bzec9269ub:active,.PSPDFKit-c3779mg2s6295w7bzec9269ub:focus,.PSPDFKit-c3779mg2s6295w7bzec9269ub:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-p1au3zb7x12z2rhdhxt23urrf,.PSPDFKit-3jfra6hbvv4uav6ycenbqaya53{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-4qyrxjw4v89xuqdkqa4k8ztzzu{border:0!important;color:#3d424e!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs:active,.PSPDFKit-4cag238pz8y3y7dh5jbngjmrzs:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-21r1nktvgb352rd4c4yy57pz9g{outline:2px solid #4636e3;outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn:first-child .PSPDFKit-nwjc4czbh63dp4kvymek1fa3e:first-child,.PSPDFKit-5wuw8bj8khzgeg84fnwh7kh6sn:first-child .PSPDFKit-c3779mg2s6295w7bzec9269ub:first-child{border-left:none!important}.PSPDFKit-7gzw1kmadbfq1tnmw7d1w7zxd1{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-3ytv364gpnrm7x19bnbmeyg8f8{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-46sarmfrc8jg6s66bqgfefbjjh{align-items:center;background:#ffc78f;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 0.46875em;margin:0 var(--PSPDFKit-spacing-7);padding:4px 0.8125em;padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-4zhmsmuwkhtpwtruurtrcn2q8j{height:16px;width:16px}.PSPDFKit-54kg6hjakpubj7vt368nk674tz{width:max-content}.PSPDFKit-2nazf4z9xd7xjtyhnbhe7rqgep{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-2kf3vca84fgs4vq9s7zs1gpcmp{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-2kf3vca84fgs4vq9s7zs1gpcmp,.PSPDFKit-8gqc3tnvh9jka9muq4a9t5ahej{display:flex}.PSPDFKit-5c7qnuw3hacprzg2xwyca31kpu{height:20px;width:20px}.PSPDFKit-46k4525rumt3dyxruh7yn6ftbe,.PSPDFKit-2ujy7afe1awfhuh9ymbm6bme7t{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-4prbc6dhxp9ma6y7x5bw6vwpyu{display:none}.PSPDFKit-width-md .PSPDFKit-4prbc6dhxp9ma6y7x5bw6vwpyu,.PSPDFKit-width-sm .PSPDFKit-4prbc6dhxp9ma6y7x5bw6vwpyu,.PSPDFKit-width-xs .PSPDFKit-4prbc6dhxp9ma6y7x5bw6vwpyu{align-items:center;display:block;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-2kq3mk8tfsg87ukm5zvcxchay3,.PSPDFKit-77brcq5bxx44kv6p84cffgnrfh{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-5frf4ykayzzn33hp3c5h7em7an,.PSPDFKit-width-sm .PSPDFKit-5frf4ykayzzn33hp3c5h7em7an,.PSPDFKit-width-xs .PSPDFKit-5frf4ykayzzn33hp3c5h7em7an{align-items:center}.PSPDFKit-2skb7mhe9t63pg2ukxcsw49xsr,.PSPDFKit-3rsn1zkbd3dgwrjegb8g9hvhhg{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-3rsn1zkbd3dgwrjegb8g9hvhhg,.PSPDFKit-width-sm .PSPDFKit-3rsn1zkbd3dgwrjegb8g9hvhhg,.PSPDFKit-width-xs .PSPDFKit-3rsn1zkbd3dgwrjegb8g9hvhhg{margin-right:0}.PSPDFKit-2jq33zcqjvm19mjme567rvfrrm{align-items:center;display:inline-flex}.PSPDFKit-3xk6qkbjafwv7228ck9bx347w6{align-self:center;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-7jwg5rgcerucffvtbsmxvfb7zk{max-width:110px}.PSPDFKit-4e75mg661j3ax96qwbdmpzpsb4{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-2u9q2pe1ftds2f7qj2g4w622vw{align-items:center;border-right:1px solid #bec9d9;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-2u9q2pe1ftds2f7qj2g4w622vw{border-left:1px solid #bec9d9;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty{background-color:#fff;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:#000;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty:active,.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty:focus,.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty:hover{background-color:#4636e3;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:#fff;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty span{max-width:60px;overflow-x:hidden}.PSPDFKit-nwjc4czbh63dp4kvymek1fa3e.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty,.PSPDFKit-v8tqx1qvfp1vbwuttpp622dr3.PSPDFKit-2hdx47smz78g3s16p3r4j4dgty.PSPDFKit-c3779mg2s6295w7bzec9269ub{border-left:none!important}}.PSPDFKit-6jesjcs8hzf3yy3bqdg9kv3hk7{display:inline-flex}.PSPDFKit-7bm2dwvsr17e373y82u42rsemg{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 0.8125em;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-2x6urux4z76dkhv9azjrwtw1r6{margin-left:4px}.PSPDFKit-41f3k1r3a4wcjyvwb632qbpsar{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb,.PSPDFKit-width-sm .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb,.PSPDFKit-width-xs .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y,.PSPDFKit-width-sm .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y,.PSPDFKit-width-xs .PSPDFKit-8an6xzj8dczndqf5kkqj5bmdbb .PSPDFKit-53fgdvrhz6gw1hw6bdctgq1t9y{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-c3779mg2s6295w7bzec9269ub{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-c3779mg2s6295w7bzec9269ub.PSPDFKit-2vn1euub4mwbphwqwgfs1891h9,.PSPDFKit-c3779mg2s6295w7bzec9269ub:active,.PSPDFKit-c3779mg2s6295w7bzec9269ub:focus,.PSPDFKit-c3779mg2s6295w7bzec9269ub:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-5zh4b5sq7ky7hj92aqd24n3cec span{align-items:center;display:flex;justify-content:center}.PSPDFKit-28p9qe5v9wa12h9abqanj7759r{width:3rem}.PSPDFKit-2dbzger7c772nf61kqx2yj1snn{border-bottom-left-radius:3px;border-bottom-right-radius:0;border-top-left-radius:3px;border-top-right-radius:0;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);height:2rem}.PSPDFKit-2dbzger7c772nf61kqx2yj1snn:not(.PSPDFKit-37jqdeb6j87paw3ang9yrcet45):focus{background-color:#fff;background-color:var(--PSPDFKit-TextInputComponent-input-background)}.PSPDFKit-6pxk5ky2kj8jh4j1mw616vg41d{align-items:center;display:flex;flex-direction:row}.PSPDFKit-6pxk5ky2kj8jh4j1mw616vg41d:focus-within,.PSPDFKit-6pxk5ky2kj8jh4j1mw616vg41d:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationToolbar-background)}.PSPDFKit-pynbrvdg7hats6u5gzc58czkp{border-left:0;margin-left:0;padding-left:2px;padding-right:2px}.PSPDFKit-37jqdeb6j87paw3ang9yrcet45:disabled,.PSPDFKit-37jqdeb6j87paw3ang9yrcet45:disabled:active,.PSPDFKit-37jqdeb6j87paw3ang9yrcet45:disabled:hover{cursor:not-allowed;opacity:.3}.PSPDFKit-4qyrxjw4v89xuqdkqa4k8ztzzu{flex-shrink:0;height:.625rem;margin-right:.5rem;width:.625rem}.PSPDFKit-8uffc57cupxw72ujvccyd5u75q{border-bottom-left-radius:0;border-top-left-radius:0;margin:0}.PSPDFKit-4v7qu3gbmmmxc2v2hdycthse1t{width:4.5rem} +.PSPDFKit-369qag2kn88x7fd7hzmy37u7jj{background:#f0f3f9;background:var(--PSPDFKit-AnnotationToolbar-background)}.PSPDFKit-s88hmm2u6mr4p6a34q6p5x97j{width:100%}.PSPDFKit-2xkt2dmssjrt1zt3392unparpj{align-items:center;border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-22vuhdxbyg68mzx1mpbw51te8s,.PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g{align-items:center;display:flex;flex-grow:1}.PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-2xkt2dmssjrt1zt3392unparpj,.PSPDFKit-width-sm .PSPDFKit-2xkt2dmssjrt1zt3392unparpj,.PSPDFKit-width-xs .PSPDFKit-2xkt2dmssjrt1zt3392unparpj{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-22vuhdxbyg68mzx1mpbw51te8s,.PSPDFKit-width-sm .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-22vuhdxbyg68mzx1mpbw51te8s,.PSPDFKit-width-xs .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-22vuhdxbyg68mzx1mpbw51te8s{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g,.PSPDFKit-width-sm .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g,.PSPDFKit-width-xs .PSPDFKit-2xkt2dmssjrt1zt3392unparpj .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g{flex-direction:row;justify-content:flex-start}.PSPDFKit-2xkt2dmssjrt1zt3392unparpj.PSPDFKit-7p5sgv4my75nm8c7s61pavhw9k{flex-direction:row}.PSPDFKit-4s922kjq16ky2tuz2stu8cmevf .PSPDFKit-2xkt2dmssjrt1zt3392unparpj{border-bottom:none;border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-3yctv5gp7m63pzzfqmcn2vwzsu{align-items:center;height:44px}.PSPDFKit-5c3edpftcxt25778bnf8dge8wm{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-5c3edpftcxt25778bnf8dge8wm,.PSPDFKit-width-sm .PSPDFKit-5c3edpftcxt25778bnf8dge8wm,.PSPDFKit-width-xs .PSPDFKit-5c3edpftcxt25778bnf8dge8wm{margin-right:6px}.PSPDFKit-2td3u6fzb1juvzark5t2sx4q2k{height:32px}.PSPDFKit-5aqdkx2cvj2jkgvavhn63b9ng2 button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-56wa92tpx7h9ndndf4p4ntj594{align-items:center;width:100%}.PSPDFKit-56wa92tpx7h9ndndf4p4ntj594,.PSPDFKit-7yq1g1auatabjgr9redkv9mw4z{display:flex;flex-direction:column}.PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb{margin:0 8px}.PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb,.PSPDFKit-width-sm .PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb,.PSPDFKit-width-xs .PSPDFKit-4dbdwzw5vf7q7u9tzye7tg1nrb{display:none}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv{display:flex;flex:1}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd),.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd){cursor:default}.PSPDFKit-width-md .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-5c3edpftcxt25778bnf8dge8wm,.PSPDFKit-width-sm .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-5c3edpftcxt25778bnf8dge8wm,.PSPDFKit-width-xs .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-5c3edpftcxt25778bnf8dge8wm{display:none}.PSPDFKit-width-md .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-fcgb4uy1g1393vcttkd834zya,.PSPDFKit-width-md .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-sm .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-fcgb4uy1g1393vcttkd834zya,.PSPDFKit-width-sm .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-xs .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-fcgb4uy1g1393vcttkd834zya,.PSPDFKit-width-xs .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-6daq73jrkrpvw8as2bjg158s14 .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{cursor:pointer}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-57jstkypwesnde2vkmqgh9jdhc{display:none}.PSPDFKit-width-md .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-57jstkypwesnde2vkmqgh9jdhc,.PSPDFKit-width-sm .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-57jstkypwesnde2vkmqgh9jdhc,.PSPDFKit-width-xs .PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-57jstkypwesnde2vkmqgh9jdhc{display:block}.PSPDFKit-6k49n5ndgcc66dsatpj5sjmvzv .PSPDFKit-5c3edpftcxt25778bnf8dge8wm{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-8925upm91judwppvv9p55bukww{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-8925upm91judwppvv9p55bukww,.PSPDFKit-width-sm .PSPDFKit-8925upm91judwppvv9p55bukww,.PSPDFKit-width-xs .PSPDFKit-8925upm91judwppvv9p55bukww{display:none}.PSPDFKit-8925upm91judwppvv9p55bukww button{height:32px}.PSPDFKit-6j8484gf6zuru867h7zbjhwpsr,.PSPDFKit-47dkg274amuhtuvgmphaa3qbp8{align-items:center;display:flex;height:32px;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-6j8484gf6zuru867h7zbjhwpsr,.PSPDFKit-width-sm .PSPDFKit-6j8484gf6zuru867h7zbjhwpsr,.PSPDFKit-width-xs .PSPDFKit-6j8484gf6zuru867h7zbjhwpsr{display:none}.PSPDFKit-6kf14wyby256uusycuansuqden,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355{align-items:center;display:flex}.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355{height:32px}.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj circle,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj line,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj path,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj polygon,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj polyline,.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj rect,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 circle,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 line,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 path,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 polygon,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 polyline,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 rect,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 circle,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 line,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 path,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 polygon,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 polyline,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 rect{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj button,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2 button,.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355 button{height:32px}.PSPDFKit-496rvwdezqxaryf6ba6wew6ysj,.PSPDFKit-628jqdm82emd3wd8ywct68fvp2{width:64px}.PSPDFKit-width-md .PSPDFKit-628jqdm82emd3wd8ywct68fvp2,.PSPDFKit-width-sm .PSPDFKit-628jqdm82emd3wd8ywct68fvp2,.PSPDFKit-width-xs .PSPDFKit-628jqdm82emd3wd8ywct68fvp2{left:0;right:auto!important}.PSPDFKit-6fdkgc1bgv67zv1wegm6hsq355{width:96px}.PSPDFKit-6kf14wyby256uusycuansuqden{height:32px}.PSPDFKit-6kf14wyby256uusycuansuqden:hover,.PSPDFKit-6kf14wyby256uusycuansuqden[data-focus-within]{background:transparent}.PSPDFKit-6kf14wyby256uusycuansuqden:focus-within{background:transparent}.PSPDFKit-58854re4pgbwg56mdaznmjjscz{align-items:center;background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:#848c9a;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6);padding:0.46875em;padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-58854re4pgbwg56mdaznmjjscz span{fill:#848c9a;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-58854re4pgbwg56mdaznmjjscz:hover:not(.PSPDFKit-5z4at4466ca8t6dkug1bqpq81),.PSPDFKit-58854re4pgbwg56mdaznmjjscz[data-focus-within]{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-58854re4pgbwg56mdaznmjjscz:hover:not(.PSPDFKit-5z4at4466ca8t6dkug1bqpq81) span,.PSPDFKit-58854re4pgbwg56mdaznmjjscz[data-focus-within] span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-58854re4pgbwg56mdaznmjjscz:focus-within{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-58854re4pgbwg56mdaznmjjscz:focus-within span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-8uywmag1h1x3ypdz5b98crr775{width:100px}}.PSPDFKit-fcgb4uy1g1393vcttkd834zya,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r,.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q,.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:0!important;border-right:1px solid #bec9d9!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-md .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r,.PSPDFKit-width-md .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q,.PSPDFKit-width-md .PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-sm .PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-sm .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r,.PSPDFKit-width-sm .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q,.PSPDFKit-width-sm .PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-xs .PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-xs .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r,.PSPDFKit-width-xs .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q,.PSPDFKit-width-xs .PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718,.PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718,.PSPDFKit-width-md .PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-sm .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718,.PSPDFKit-width-sm .PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-width-xs .PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718,.PSPDFKit-width-xs .PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm).PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-width-lg .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):active,.PSPDFKit-width-lg .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):focus,.PSPDFKit-width-lg .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):hover,.PSPDFKit-width-lg .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm).PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-width-lg .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):active,.PSPDFKit-width-lg .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):focus,.PSPDFKit-width-lg .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):hover,.PSPDFKit-width-xl .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm).PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-width-xl .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):active,.PSPDFKit-width-xl .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):focus,.PSPDFKit-width-xl .PSPDFKit-fcgb4uy1g1393vcttkd834zya:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):hover,.PSPDFKit-width-xl .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm).PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-width-xl .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):active,.PSPDFKit-width-xl .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):focus,.PSPDFKit-width-xl .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:not(.PSPDFKit-8tn5aruncqkpg83c6e9e6yv53r) :not(.PSPDFKit-59bjkj2c9dfb828xaun8u4uq5q) :not(.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4) :not(.PSPDFKit-6yuyamdwf1rrwnzc2w8fqr4pjd) :not(.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9) :not(.PSPDFKit-3pymza1pztyu17t83dfx3cmmsm):hover{background:transparent!important}.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-fcgb4uy1g1393vcttkd834zya:active,.PSPDFKit-fcgb4uy1g1393vcttkd834zya:focus,.PSPDFKit-fcgb4uy1g1393vcttkd834zya:hover,.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:active,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:focus,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-48d85wg1rgb1utxa2a4fvw2vth,.PSPDFKit-cmgrqrz9uxy4sb9vg43t341c1{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-8xb3dqw6xuht2n573uhuknfp2k{border:0!important;color:#3d424e!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4:active,.PSPDFKit-4bkwv3nn67k2hqt55w19s4dvs4:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-52c5dtm21r4933mu2fkpjpe6uk{outline:2px solid #4636e3;outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-6daq73jrkrpvw8as2bjg158s14:first-child .PSPDFKit-fcgb4uy1g1393vcttkd834zya:first-child,.PSPDFKit-6daq73jrkrpvw8as2bjg158s14:first-child .PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:first-child{border-left:none!important}.PSPDFKit-5kgz7sh1trs8k2a4xw51qvusej{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-psd9e4tcte8ac4k6jmkt1wfeu{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-8zkbczvhbtdyv5utgdt42896wt{align-items:center;background:#ffc78f;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 0.46875em;margin:0 var(--PSPDFKit-spacing-7);padding:4px 0.8125em;padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-2bmrfq7hm8z4thd49fdtpzxewe{height:16px;width:16px}.PSPDFKit-6q2rpnx5br9xmymy4hxdvc9atg{width:max-content}.PSPDFKit-mjt1a3qgrvvxan7b2eet56kkt{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-3radjttaddx7fe6dnnreugbam2{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-3radjttaddx7fe6dnnreugbam2,.PSPDFKit-7uud28jq3crfqs4f4edufdekkf{display:flex}.PSPDFKit-5jpt4x4a9kj7rf7d24shsfp48k{height:20px;width:20px}.PSPDFKit-3fweswjpkq7dt55fw6t438rgun,.PSPDFKit-3hmu51e1ur6hrmfyzz2cru1c48{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-5fwcr59aaugp5fp73hthrqwxw9{display:none}.PSPDFKit-width-md .PSPDFKit-5fwcr59aaugp5fp73hthrqwxw9,.PSPDFKit-width-sm .PSPDFKit-5fwcr59aaugp5fp73hthrqwxw9,.PSPDFKit-width-xs .PSPDFKit-5fwcr59aaugp5fp73hthrqwxw9{align-items:center;display:block;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-5p5hpd3y1t7kjkjpn6cyqaqptj,.PSPDFKit-3v6m9ae9v1gsx87x46mg6kjmzf{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-67wu3hjpwubg5cqg8c94vydj5a,.PSPDFKit-width-sm .PSPDFKit-67wu3hjpwubg5cqg8c94vydj5a,.PSPDFKit-width-xs .PSPDFKit-67wu3hjpwubg5cqg8c94vydj5a{align-items:center}.PSPDFKit-41gfyk1yj6dkqvg8px6c7j3sec,.PSPDFKit-43q9sy7pzu933w9kdbph2ahftx{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-43q9sy7pzu933w9kdbph2ahftx,.PSPDFKit-width-sm .PSPDFKit-43q9sy7pzu933w9kdbph2ahftx,.PSPDFKit-width-xs .PSPDFKit-43q9sy7pzu933w9kdbph2ahftx{margin-right:0}.PSPDFKit-77hntfhrv9fmz6c5684u5bkz7s{align-items:center;display:inline-flex}.PSPDFKit-7kmmurpd341ujzyvezu9ecj88h{align-self:center;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-3fu4z9m4y47mmezmqbsmsg6u6f{max-width:110px}.PSPDFKit-8pbq1nn2qbdp1czxjuu7bjw2ks{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-6w6h956ezp7gtq4cmy2r5mkyhu{align-items:center;border-right:1px solid #bec9d9;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-6w6h956ezp7gtq4cmy2r5mkyhu{border-left:1px solid #bec9d9;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9{background-color:#fff;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:#000;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9:active,.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9:focus,.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9:hover{background-color:#4636e3;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:#fff;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9 span{max-width:60px;overflow-x:hidden}.PSPDFKit-fcgb4uy1g1393vcttkd834zya.PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9,.PSPDFKit-5gsachaj1r6ar3h4ru679tq718.PSPDFKit-4bdfdwv6dxjwygm9tw1zmjrta9.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{border-left:none!important}}.PSPDFKit-6ep9xddvqffd53nu5e72pbdbgj{display:inline-flex}.PSPDFKit-717y4rg4qa1pc652h8cg793m4d{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 0.8125em;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-4xdm97phakaezcxf6wpdxn2tjm{margin-left:4px}.PSPDFKit-62hyggwkdx954k8f821btn7zeh{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs,.PSPDFKit-width-sm .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs,.PSPDFKit-width-xs .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g,.PSPDFKit-width-sm .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g,.PSPDFKit-width-xs .PSPDFKit-2wv2dfhgdk3dpbha4mv9u16vs .PSPDFKit-8yz513hepw5dtea8yuyyc36z3g{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h.PSPDFKit-382u1rdjb1tf6tnk2q2g7kgvgp,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:active,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:focus,.PSPDFKit-29bp4qx2ar9g3bkzyq9mtha47h:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-6dpm8fme3awumu6c44rktfucs2 span{align-items:center;display:flex;justify-content:center}.PSPDFKit-369qag2kn88x7fd7hzmy37u7jj{background:#f0f3f9;background:var(--PSPDFKit-ContentEditorToolbar-background);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-zmwf99thxv6fcrc5fedznzzbf{border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-ContentEditorToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);flex-direction:row;height:44px;justify-content:space-between;padding:0 12px}.PSPDFKit-5xkwu35z1pdufxyge2fpn149wt,.PSPDFKit-zmwf99thxv6fcrc5fedznzzbf{align-items:center;display:flex}.PSPDFKit-5xkwu35z1pdufxyge2fpn149wt{padding-right:.75rem}.PSPDFKit-8p5cvevhmuv7u5wjndvwnbnu5w{background-color:unset;border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-ContentEditorToolbar-button-border);border-radius:3px;color:#3d424e;color:var(--PSPDFKit-ContentEditorToolbar-button-color);cursor:pointer;font-size:.875rem;margin:0 0.46875em;margin:0 var(--PSPDFKit-spacing-7);padding:0 20px;transition:border-color .15s}.PSPDFKit-8p5cvevhmuv7u5wjndvwnbnu5w:hover{border-color:rgb(132 140 154 / 0.5);border-color:var(--PSPDFKit-ContentEditorToolbar-button-isHovered-border)}.PSPDFKit-8p5cvevhmuv7u5wjndvwnbnu5w span{align-items:center;display:flex;height:32px}.PSPDFKit-8p5cvevhmuv7u5wjndvwnbnu5w:last-child{margin:0}.PSPDFKit-2aekynqmf5d2unsgpe2a63pqe7{background-color:#4636e3;background-color:var(--PSPDFKit-ContentEditorToolbar-button-save-backgroundColor);border-color:#2b1cc1;border-color:var(--PSPDFKit-ContentEditorToolbar-button-save-border);color:#fff;color:var(--PSPDFKit-ContentEditorToolbar-button-save-color)}.PSPDFKit-2aekynqmf5d2unsgpe2a63pqe7:hover{background-color:#4636e3;background-color:var(--PSPDFKit-ContentEditorToolbar-button-hover-save-backgroundColor);border-color:#0a0167;border-color:var(--PSPDFKit-ContentEditorToolbar-button-hover-save-border);color:#fff;color:var(--PSPDFKit-ContentEditorToolbar-button-hover-save-color)}.PSPDFKit-cmgrqrz9uxy4sb9vg43t341c1{cursor:not-allowed;opacity:.5}.PSPDFKit-5c3edpftcxt25778bnf8dge8wm{flex-wrap:nowrap}.PSPDFKit-5z4at4466ca8t6dkug1bqpq81{cursor:not-allowed}.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982{align-items:center;background-color:#fff;background-color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-backgroundColor);display:flex;height:32px;justify-content:center;padding:0;width:32px}.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982 span,.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982 svg{height:1.5rem;width:1.5rem}.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982:hover:not(:disabled){background-color:#fff;background-color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-backgroundColor)}.PSPDFKit-tb2p4fkm5haam7ptsvqb6c982:disabled{cursor:not-allowed}.PSPDFKit-5hv5vgzkpzspks749ufhhvfz1k{border:none}.PSPDFKit-3y1g2avp88swge652xu9nj312z{background-color:#4636e3!important;background-color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-backgroundColor)!important}.PSPDFKit-3y1g2avp88swge652xu9nj312z svg{color:#fff!important;color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-svg-color)!important}.PSPDFKit-3y1g2avp88swge652xu9nj312z:hover:not(:disabled){background-color:#4636e3;background-color:var(--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-backgroundColor)}.PSPDFKit-792vfa9s6t83dgghq4y7ghk2fj{border:none;color:#3d424e;color:var(--PSPDFKit-ContentEditorToolbar-button-color)}.PSPDFKit-792vfa9s6t83dgghq4y7ghk2fj:hover{background-color:#d8dfeb;background-color:var(--PSPDFKit-ContentEditorToolbar-button-isHovered-backgroundColor);cursor:pointer} +.PSPDFKit-8mw7cgx9nrd1yg35kkhqyhksqy{background:#f0f3f9;background:var(--PSPDFKit-AnnotationToolbar-background);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-3e1ymauppttrz41jzw3mzc2t65{width:100%}.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2{align-items:center;border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-768zuvadpfp2s99ztcwnaee5jp,.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah{align-items:center;display:flex;flex-grow:1}.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2,.PSPDFKit-width-sm .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2,.PSPDFKit-width-xs .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-768zuvadpfp2s99ztcwnaee5jp,.PSPDFKit-width-sm .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-768zuvadpfp2s99ztcwnaee5jp,.PSPDFKit-width-xs .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-768zuvadpfp2s99ztcwnaee5jp{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah,.PSPDFKit-width-sm .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah,.PSPDFKit-width-xs .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2 .PSPDFKit-263brxaxc464ym7sfe4phds8ah{flex-direction:row;justify-content:flex-start}.PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2.PSPDFKit-39d47rs5fq7kcjer959hp5rx8d{flex-direction:row}.PSPDFKit-8y6ce6n5884k7zrpr3uqnz7htb .PSPDFKit-2eu14kmrb8nn2j13et7k8kxgy2{border-bottom:none;border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-pqz79rmnz1jk37ra4q9jr8t33{align-items:center;height:44px}.PSPDFKit-628h193kd9qu5d9hhsg3cdnuza{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza,.PSPDFKit-width-sm .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza,.PSPDFKit-width-xs .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza{margin-right:6px}.PSPDFKit-6nbc7qagvqu9yd6yet13hb6rhj{height:32px}.PSPDFKit-48x8nkebmfpqss6a3u7rs8g9q5 button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-5m1cnawh6718mpdfvfzbb11abd{align-items:center;width:100%}.PSPDFKit-5m1cnawh6718mpdfvfzbb11abd,.PSPDFKit-7ntyew6gjjyyu8e3azuddfrhnp{display:flex;flex-direction:column}.PSPDFKit-6c1mz88rtks35wu1xhbrekd71a{margin:0 8px}.PSPDFKit-6c1mz88rtks35wu1xhbrekd71a:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-6c1mz88rtks35wu1xhbrekd71a,.PSPDFKit-width-sm .PSPDFKit-6c1mz88rtks35wu1xhbrekd71a,.PSPDFKit-width-xs .PSPDFKit-6c1mz88rtks35wu1xhbrekd71a{display:none}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8{display:flex;flex:1}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg),.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg),.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg),.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg){cursor:default}.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza{display:none}.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-39fu85k99jh2maw1gkthhh4pas,.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-39fu85k99jh2maw1gkthhh4pas,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-39fu85k99jh2maw1gkthhh4pas,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn .PSPDFKit-8tz941rhqxq9a7km8terwandnm{cursor:pointer}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-21jwyumejben4aqq13bksg3xh8{display:none}.PSPDFKit-width-md .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-21jwyumejben4aqq13bksg3xh8,.PSPDFKit-width-sm .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-21jwyumejben4aqq13bksg3xh8,.PSPDFKit-width-xs .PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-21jwyumejben4aqq13bksg3xh8{display:block}.PSPDFKit-t6r39wvb2q9vjm8wcyu4ean8 .PSPDFKit-628h193kd9qu5d9hhsg3cdnuza{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-75ttad8xww9mpzzprak2aac974{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-75ttad8xww9mpzzprak2aac974,.PSPDFKit-width-sm .PSPDFKit-75ttad8xww9mpzzprak2aac974,.PSPDFKit-width-xs .PSPDFKit-75ttad8xww9mpzzprak2aac974{display:none}.PSPDFKit-75ttad8xww9mpzzprak2aac974 button{height:32px}.PSPDFKit-6ft5xhbubs9uamqn8s4zfnq4b4,.PSPDFKit-w47nwqgy1154yrmztu2mnwzpm{align-items:center;display:flex;height:32px;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-6ft5xhbubs9uamqn8s4zfnq4b4,.PSPDFKit-width-sm .PSPDFKit-6ft5xhbubs9uamqn8s4zfnq4b4,.PSPDFKit-width-xs .PSPDFKit-6ft5xhbubs9uamqn8s4zfnq4b4{display:none}.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4{align-items:center;display:flex}.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4{height:32px}.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 circle,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 line,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 path,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 polygon,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 polyline,.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 rect,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s circle,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s line,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s path,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s polygon,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s polyline,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s rect,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 circle,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 line,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 path,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 polygon,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 polyline,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 rect{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93 button,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s button,.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4 button{height:32px}.PSPDFKit-zxa6uqty5r8s91cyrkfmxkc93,.PSPDFKit-275wshr5dpqatccw8ux11qqk9s{width:64px}.PSPDFKit-width-md .PSPDFKit-275wshr5dpqatccw8ux11qqk9s,.PSPDFKit-width-sm .PSPDFKit-275wshr5dpqatccw8ux11qqk9s,.PSPDFKit-width-xs .PSPDFKit-275wshr5dpqatccw8ux11qqk9s{left:0;right:auto!important}.PSPDFKit-3hxmaadpfcejwvjvjd3srb4nq4{width:96px}.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp{height:32px}.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp:hover,.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp[data-focus-within]{background:transparent}.PSPDFKit-2bnqvejyfcr2xpnvmzxrzqhapp:focus-within{background:transparent}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p{align-items:center;background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:#848c9a;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6);padding:0.46875em;padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p span{fill:#848c9a;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p:hover:not(.PSPDFKit-48byv3uppm1nzjqfybkzwnzjf),.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p[data-focus-within]{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p:hover:not(.PSPDFKit-48byv3uppm1nzjqfybkzwnzjf) span,.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p[data-focus-within] span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p:focus-within{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-7ub6g8tsdw1g86bt2kvn83wa7p:focus-within span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-8j3bg3d3dbcpkjba4qpgt6mtwx{width:100px}}.PSPDFKit-39fu85k99jh2maw1gkthhh4pas,.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-4fg19pph8cyagbqvnfr8fms11,.PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:0!important;border-right:1px solid #bec9d9!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-md .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-md .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-md .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz,.PSPDFKit-width-md .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-4fg19pph8cyagbqvnfr8fms11,.PSPDFKit-width-md .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-md .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-md .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-sm .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-sm .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-sm .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-sm .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz,.PSPDFKit-width-sm .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-4fg19pph8cyagbqvnfr8fms11,.PSPDFKit-width-sm .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-sm .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-sm .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-xs .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-xs .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-xs .PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-xs .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz,.PSPDFKit-width-xs .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-4fg19pph8cyagbqvnfr8fms11,.PSPDFKit-width-xs .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-xs .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-xs .PSPDFKit-4fg19pph8cyagbqvnfr8fms11.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp,.PSPDFKit-width-md .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-md .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-md .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-sm .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp,.PSPDFKit-width-sm .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-sm .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-sm .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-width-xs .PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp,.PSPDFKit-width-xs .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-width-xs .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-width-xs .PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-lg .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-lg .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-lg .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-lg .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-lg .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-lg .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-lg .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-lg .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-lg .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-lg .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-lg .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-lg .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-lg .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-lg .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-lg .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-xl .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-xl .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-xl .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-xl .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-xl .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-xl .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-xl .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-xl .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-xl .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-xl .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-xl .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-xl .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover,.PSPDFKit-width-xl .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj).PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-width-xl .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):active,.PSPDFKit-width-xl .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):focus,.PSPDFKit-width-xl .PSPDFKit-8tz941rhqxq9a7km8terwandnm:not(.PSPDFKit-7ryrry1x131tjsax7f4kwd8zfz) :not(.PSPDFKit-4fg19pph8cyagbqvnfr8fms11) :not(.PSPDFKit-73qv358utjtrzr85ky96uevmtg) :not(.PSPDFKit-6usxmcuq89wy8smur4v8ryhswg) :not(.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g) :not(.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj):hover{background:transparent!important}.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas:active,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas:focus,.PSPDFKit-39fu85k99jh2maw1gkthhh4pas:hover,.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:active,.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:focus,.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:hover,.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:active,.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:focus,.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:hover,.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz.PSPDFKit-8tz941rhqxq9a7km8terwandnm,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:active,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:focus,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-fts7hzse3qdkgfmxd89z1sxgg,.PSPDFKit-4q6ah6p4esufmffveqzpjh47b{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-2s797jk128ay8vfscex2bv7kfe{border:0!important;color:#3d424e!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-73qv358utjtrzr85ky96uevmtg{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-73qv358utjtrzr85ky96uevmtg.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-73qv358utjtrzr85ky96uevmtg:active,.PSPDFKit-73qv358utjtrzr85ky96uevmtg:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-4nuygfwr1ru425pyg3yjydvr61{outline:2px solid #4636e3;outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn:first-child .PSPDFKit-39fu85k99jh2maw1gkthhh4pas:first-child,.PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn:first-child .PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:first-child,.PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn:first-child .PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj:first-child,.PSPDFKit-5nvf2c6yp9b7ynxetxyjq8ejcn:first-child .PSPDFKit-8tz941rhqxq9a7km8terwandnm:first-child{border-left:none!important}.PSPDFKit-3fzefd39fwgk1qdbxv6jdjs8f7{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-5cn9vbp8wrnrmnk914jdmynjve{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-88kdpafyrs8h3rj4zjbrrted2p{align-items:center;background:#ffc78f;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 0.46875em;margin:0 var(--PSPDFKit-spacing-7);padding:4px 0.8125em;padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-6yj82gkzhm3npm9qtbttnwhvqs{height:16px;width:16px}.PSPDFKit-5kx5x5nrf9ffzpw127n7tdvrqw{width:max-content}.PSPDFKit-6m8awubd892h2q7bxq6ucu9yx5{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-5z24bvabee7axqkv39se95kj79{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-5z24bvabee7axqkv39se95kj79,.PSPDFKit-5uu5r98quqvpyqqvmhf7eqx6n8{display:flex}.PSPDFKit-7sx7anuampjzrt9mnvv7zccdny{height:20px;width:20px}.PSPDFKit-84hychtak5eqe99svt8mp3g7gq,.PSPDFKit-3wpt6233mxj93ajtgz97kkfp95{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-75syshz3pwrn5szey2w1zrbwhq{display:none}.PSPDFKit-width-md .PSPDFKit-75syshz3pwrn5szey2w1zrbwhq,.PSPDFKit-width-sm .PSPDFKit-75syshz3pwrn5szey2w1zrbwhq,.PSPDFKit-width-xs .PSPDFKit-75syshz3pwrn5szey2w1zrbwhq{align-items:center;display:block;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-5wjc8qvxn2shc717ghes4hwe4r,.PSPDFKit-4axb3jsn3p35zcvz2qkf1627s1{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-3gbc7z42ncvpe6ecjsfvekn6bf,.PSPDFKit-width-sm .PSPDFKit-3gbc7z42ncvpe6ecjsfvekn6bf,.PSPDFKit-width-xs .PSPDFKit-3gbc7z42ncvpe6ecjsfvekn6bf{align-items:center}.PSPDFKit-25fpzkeppwbvrayjgduw8retb5,.PSPDFKit-8q8cpk21u1e4cgjxkuetq25ac5{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-8q8cpk21u1e4cgjxkuetq25ac5,.PSPDFKit-width-sm .PSPDFKit-8q8cpk21u1e4cgjxkuetq25ac5,.PSPDFKit-width-xs .PSPDFKit-8q8cpk21u1e4cgjxkuetq25ac5{margin-right:0}.PSPDFKit-2syhxbxpfgp19jpz3z5x49q224{align-items:center;display:inline-flex}.PSPDFKit-7eua9n76z6wh9hyqtrgxabwhyp{align-self:center;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-8san6jac5e16c3cmp3udzsyzq9{max-width:110px}.PSPDFKit-2bhr7dx4y8a6z7s598sms29ggb{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-uqsh2mfe72fsz9emybm4vb6u9{align-items:center;border-right:1px solid #bec9d9;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-uqsh2mfe72fsz9emybm4vb6u9{border-left:1px solid #bec9d9;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g{background-color:#fff;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:#000;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g:active,.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g:focus,.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g:hover{background-color:#4636e3;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:#fff;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g span{max-width:60px;overflow-x:hidden}.PSPDFKit-39fu85k99jh2maw1gkthhh4pas.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj,.PSPDFKit-769hazgdc7wc335k78212j8emp.PSPDFKit-5uud5zxk4ybq2mv2nt3caxrq3g.PSPDFKit-8tz941rhqxq9a7km8terwandnm{border-left:none!important}}.PSPDFKit-6s24914j26xzdhgmaqjbdae7a8{display:inline-flex}.PSPDFKit-7kdp2eku1rven1vm3eug4x6su9{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 0.8125em;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-5mud2pd31puwn1df9zjr639yy4{margin-left:4px}.PSPDFKit-84kcnetmpfg2e64pd3wmwkkbud{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q,.PSPDFKit-width-sm .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q,.PSPDFKit-width-xs .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q .PSPDFKit-263brxaxc464ym7sfe4phds8ah,.PSPDFKit-width-sm .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q .PSPDFKit-263brxaxc464ym7sfe4phds8ah,.PSPDFKit-width-xs .PSPDFKit-2f6g3rm6gpedqtnwpk94cu5b6q .PSPDFKit-263brxaxc464ym7sfe4phds8ah{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-8tz941rhqxq9a7km8terwandnm{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-8tz941rhqxq9a7km8terwandnm.PSPDFKit-3z1atvkwb5ng185njjj5rz7xbz,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:active,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:focus,.PSPDFKit-8tz941rhqxq9a7km8terwandnm:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-2q1r39e1v2u5ekry3v7vbc9yr7 span{align-items:center;display:flex;justify-content:center}.PSPDFKit-48mktwcp2g29yu9eg22p2pbvmh,.PSPDFKit-8dznuywttgafn2v7zy61c6ctg4{align-items:center;border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-CropToolbarComponent-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex-direction:row;height:44px;justify-content:space-between;padding:0 12px}.PSPDFKit-5t9fk8ex9uwch2qhza7wa1pacw,.PSPDFKit-2x4tn85f3krgk9xb8r993atjue{display:flex}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue{align-items:center;color:#4d525d;color:var(--PSPDFKit-CropToolbarComponent-text-color);cursor:pointer;height:44px;justify-content:center;padding-left:10px;padding-right:10px;transition:background-color .15s}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue:not(:last-child){border-right:1px solid #bec9d9;border-right:1px solid var(--PSPDFKit-CropToolbarComponent-button-isDeselected-border)}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue:hover:not([aria-disabled=true]){background-color:#d8dfeb!important;background-color:var(--PSPDFKit-CropToolbarComponent-button-isHovered-backgroundColor)!important}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue:first-of-type{border-left:none!important;padding-left:0}.PSPDFKit-2x4tn85f3krgk9xb8r993atjue span,.PSPDFKit-2x4tn85f3krgk9xb8r993atjue svg{align-items:center;display:flex;height:32px}.PSPDFKit-6uhymu5y17pjr47gp9zdvgf3bd{cursor:not-allowed;opacity:.5}.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3{border:1px solid!important;border-color:#bec9d9!important;border-color:var(--PSPDFKit-CropToolbarComponent-button-borderColor)!important;border-radius:3px;cursor:pointer;padding:0 20px;transition:border-color .15s}.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3:hover{border:1px solid!important;border-color:#3d424e!important;border-color:var(--PSPDFKit-CropToolbarComponent-button-isHovered-borderColor)!important}.PSPDFKit-3dr4ygvb5bf362jg5fmzym38e3 span{align-items:center;display:flex;height:32px}.PSPDFKit-4wcvaawwq3jw743mwnp8vtf9df{display:block}.PSPDFKit-7tretxh1ue798paef14ryrb6q6{align-items:center;border-left:1px solid #bec9d9;border-left:1px solid var(--PSPDFKit-CropToolbarComponent-button-isDeselected-border);display:none;justify-content:center;padding-left:0;padding-right:0}.PSPDFKit-649k7389pwcsgmvwdt2yuhu7n3{display:block}.PSPDFKit-3uxhzwe7ph1xrpb89482k7hrd{display:none!important}@media(max-width:768px){.PSPDFKit-4wcvaawwq3jw743mwnp8vtf9df{display:none}.PSPDFKit-7tretxh1ue798paef14ryrb6q6{display:flex;width:47px}.PSPDFKit-7tretxh1ue798paef14ryrb6q6 svg{stroke-width:2px;height:17px;width:17px}.PSPDFKit-48mktwcp2g29yu9eg22p2pbvmh,.PSPDFKit-8dznuywttgafn2v7zy61c6ctg4{padding:0}.PSPDFKit-649k7389pwcsgmvwdt2yuhu7n3{display:none!important}.PSPDFKit-3uxhzwe7ph1xrpb89482k7hrd{display:flex!important}}:root{--color-white:#fff;--color-black:#000;--color-blue900:#0a0167;--color-blue800:#190d94;--color-blue700:#2b1cc1;--color-blue600:#4636e3;--color-blue400:#5e5ceb;--color-blue300:#777cf0;--color-blue200:#8f9bf4;--color-blue100:#a8bff8;--color-blue70:#4537de;--color-blue50:#d3dcff;--color-blue25:#eff4fb;--color-violet800:#462e75;--color-violet600:#5d24cf;--color-violet400:#8858e8;--color-violet100:#d1baff;--color-red900:#4a0013;--color-red800:#74002a;--color-red600:#ab1d41;--color-red300:#ed7d99;--color-red400:#d63960;--color-red100:#f7ced8;--color-red50:#fceaf1;--color-orange800:#7e3b00;--color-orange600:#d46703;--color-orange400:#ff900d;--color-orange100:#ffc78f;--color-yellow800:#805700;--color-yellow600:#e8b500;--color-yellow400:#fad40c;--color-yellow100:#ffee95;--color-yellow25:#fffae1;--color-green800:#385300;--color-green600:#628d06;--color-green400:#89bd1c;--color-green100:#d9efa9;--color-green25:#f5fee3;--color-coolGrey1000:#090c12;--color-coolGrey900:#21242c;--color-coolGrey900_alpha05:rgba(33,36,44,.5);--color-coolGrey900_alpha02:rgba(33,36,44,.2);--color-coolGrey850:#2b2e36;--color-coolGrey850_alpha01:rgba(43,46,54,.1);--color-coolGrey800:#3d424e;--color-coolGrey800_alpha02:rgba(61,66,78,.2);--color-coolGrey800_alpha05:rgba(61,66,78,.5);--color-coolGrey700:#4d525d;--color-coolGrey600:#606671;--color-coolGrey500:#717885;--color-coolGrey400:#848c9a;--color-coolGrey400_alpha05:rgba(132,140,154,.5);--color-coolGrey200:#bec9d9;--color-coolGrey100:#d8dfeb;--color-coolGrey100_alpha05:rgba(216,223,235,.5);--color-coolGrey100_alpha25:rgba(216,223,235,.25);--color-coolGrey50:#f0f3f9;--color-coolGrey37:#f6f8fa;--color-coolGrey25:#fcfdfe}.PSPDFKit-8dznuywttgafn2v7zy61c6ctg4{flex-direction:row;padding:0}.PSPDFKit-width-md .PSPDFKit-8dznuywttgafn2v7zy61c6ctg4,.PSPDFKit-width-sm .PSPDFKit-8dznuywttgafn2v7zy61c6ctg4,.PSPDFKit-width-xs .PSPDFKit-8dznuywttgafn2v7zy61c6ctg4{flex-direction:row-reverse}.PSPDFKit-6y1y58bqs19k64pa2axe4rgkgj{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-7dgtuxjugwv9wr6k94pfvchgzt{background:#4636e3!important;color:#fff}.PSPDFKit-3nf3mgqa1mk6xs968ztk8n1ped{display:flex;flex:1}.PSPDFKit-7kz6k3947em3q3sp47s5cd3u3m{flex-shrink:unset;width:max-content} +.PSPDFKit-5y28nfkmugyqqwevkxsjrpvq3c{align-items:center;color:#848c9a;color:var(--PSPDFKit-Error-color);height:100%;justify-content:center}.PSPDFKit-3gr2ksq6zccy3zdrbnfy8nh55j,.PSPDFKit-5y28nfkmugyqqwevkxsjrpvq3c{display:flex}.PSPDFKit-3gr2ksq6zccy3zdrbnfy8nh55j{align-items:stretch;background:#fff;background:var(--PSPDFKit-Error-background);border-radius:6px;box-shadow:0 3px 3px rgb(61 66 78 / 0.5);box-shadow:0 3px 3px var(--PSPDFKit-shadow-color);max-width:670px}.PSPDFKit-3gr2ksq6zccy3zdrbnfy8nh55j a{color:#4d525d;color:var(--PSPDFKit-Error-hyperlink-color);text-decoration:underline}.PSPDFKit-3gr2ksq6zccy3zdrbnfy8nh55j span{line-height:30px}.PSPDFKit-6eb3kcqgd5y9q8r7d8xtqz4649{align-items:center;background-color:#d63960;background-color:var(--PSPDFKit-Error-error-background);border-bottom-left-radius:6px;border-top-left-radius:6px}.PSPDFKit-6eb3kcqgd5y9q8r7d8xtqz4649,.PSPDFKit-scv92vgvrnxnyc284zcn6hjk3{display:flex;padding:15px 20px}.PSPDFKit-scv92vgvrnxnyc284zcn6hjk3{flex-direction:column}.PSPDFKit-4wf98g1ha47f4tw6p5xpr51nn7{fill:#d63960;fill:var(--PSPDFKit-Error-icon-color);background-color:#fff;background-color:var(--PSPDFKit-Error-icon-background);border-radius:12px;height:24px;width:24px} +.PSPDFKit-87k1yb2m56xugj11pvrn2epwmr{max-width:422px}.PSPDFKit-3s4vm3fcksqsg2getabuj9bha4{position:absolute}.PSPDFKit-3s4vm3fcksqsg2getabuj9bha4>svg{height:48px;width:48px}.PSPDFKit-3s4vm3fcksqsg2getabuj9bha4>svg g{fill:currentColor;stroke:currentColor}.PSPDFKit-g3g187c7zezz65j88wexd218w{color:#5e5ceb;color:var(--PSPDFKit-PasswordModal-icon--regular-color)}.PSPDFKit-568kqv9a573y6cm3j1y6xs5v62{color:#d63960;color:var(--PSPDFKit-PasswordModal-icon--error-color)}.PSPDFKit-287v657mcme5ewwt57t23w5qyh{color:#89bd1c;color:var(--PSPDFKit-PasswordModal-icon--success-color)}.PSPDFKit-3m2rqse7rv63dfkwgvcjy19997{height:48px;position:relative;width:48px}.PSPDFKit-3eq8gr4w2wkxz8kcemn3feckgz{background:#d63960;background:var(--PSPDFKit-PasswordModal-message--alert-background);border-bottom:2px solid #ab1d41;border-bottom:2px solid var(--PSPDFKit-PasswordModal-message--alert-border);border-top:2px solid #ab1d41;border-top:2px solid var(--PSPDFKit-PasswordModal-message--alert-border);color:#fff;color:var(--PSPDFKit-PasswordModal-message--alert-color)}.PSPDFKit-7qjt9yezkrce9kdkn11wwk7ntz{display:flex;justify-content:flex-end}.PSPDFKit-5r5qzyzhnat22bqdytrnu5ageu{opacity:0;transform:scale(.5)}.PSPDFKit-678vkyyxar4zfmqvz19pk1gg7c{transition:all .3s cubic-bezier(.895,.03,.685,.22)}.PSPDFKit-678vkyyxar4zfmqvz19pk1gg7c,.PSPDFKit-g25477hjsg4skgtpfrw93sj7u{opacity:1;transform:scale(1)}.PSPDFKit-3vp9fnny3e7hxta8yxd6jaxea4{opacity:0;transform:scale(.5);transition:all .3s cubic-bezier(.165,.84,.44,1)} +.PSPDFKit-7386u3hksvwqrk1txdsf6yjwh7{align-items:center;display:flex;height:100%;justify-content:center;width:100%} +.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd{position:absolute;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-74yvexyjr8t4ns42jhvu6euzjz canvas,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-74yvexyjr8t4ns42jhvu6euzjz img{image-rendering:-webkit-optimize-contrast}.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-74yvexyjr8t4ns42jhvu6euzjz.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b canvas,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-74yvexyjr8t4ns42jhvu6euzjz.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b img,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-8yevkzm64ywt19z5trdgvvvu8n.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b canvas,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-8yevkzm64ywt19z5trdgvvvu8n.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b img{image-rendering:pixelated}.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-43q2x5xuukayeyf9pnsf3s8vxv.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b canvas,.PSPDFKit-2ef7r6efsekvzma2acw68z2wsd.PSPDFKit-43q2x5xuukayeyf9pnsf3s8vxv.PSPDFKit-8qymj2kknqsa216hrbd9qhuh5b img{image-rendering:crisp-edges}.PSPDFKit-4uahg5akq9ua7h3n6r45t9pnv1{background:#fff} +.PSPDFKit-4hndx219v53cj6xkbemwdxxfbp{bottom:0;left:0;position:relative;right:0;top:0}.PSPDFKit-6q1j1fe91dp7b7uxu21ghbjvam{background-color:#fad40c;background-color:var(--PSPDFKit-SearchHighlight-background);mix-blend-mode:multiply;position:absolute}.PSPDFKit-6q1j1fe91dp7b7uxu21ghbjvam.PSPDFKit-2m3zj91uw1smew17zjaj1g3xfx{background-color:#e8b500;background-color:var(--PSPDFKit-SearchHighlight-isFocused-background)} +.PSPDFKit-3tr6q51qastpckz1pg3zrtz3rw{bottom:0;cursor:zoom-in;left:0;right:0;top:0;touch-action:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-3tr6q51qastpckz1pg3zrtz3rw,.PSPDFKit-2t63tjx7ps8wa34htwyhg1avhr{position:absolute}.PSPDFKit-2t63tjx7ps8wa34htwyhg1avhr{shape-rendering:crispEdges}.PSPDFKit-zxyvguvek2ym1z7dekdnq5v1z{fill:#a8bff8;fill:var(--PSPDFKit-MarqueeZoom-rect-fill);stroke-width:1px;stroke-dasharray:5;stroke:#000;opacity:.5}.PSPDFKit-brx4byv7qnas5ky1tfgt6ba6x{fill:transparent;stroke-width:1px;stroke-dasharray:5;stroke-dashoffset:5;stroke:#fff;opacity:.5} +:root{--color-white:#fff;--color-black:#000;--color-blue900:#0a0167;--color-blue800:#190d94;--color-blue700:#2b1cc1;--color-blue600:#4636e3;--color-blue400:#5e5ceb;--color-blue300:#777cf0;--color-blue200:#8f9bf4;--color-blue100:#a8bff8;--color-blue70:#4537de;--color-blue50:#d3dcff;--color-blue25:#eff4fb;--color-violet800:#462e75;--color-violet600:#5d24cf;--color-violet400:#8858e8;--color-violet100:#d1baff;--color-red900:#4a0013;--color-red800:#74002a;--color-red600:#ab1d41;--color-red300:#ed7d99;--color-red400:#d63960;--color-red100:#f7ced8;--color-red50:#fceaf1;--color-orange800:#7e3b00;--color-orange600:#d46703;--color-orange400:#ff900d;--color-orange100:#ffc78f;--color-yellow800:#805700;--color-yellow600:#e8b500;--color-yellow400:#fad40c;--color-yellow100:#ffee95;--color-yellow25:#fffae1;--color-green800:#385300;--color-green600:#628d06;--color-green400:#89bd1c;--color-green100:#d9efa9;--color-green25:#f5fee3;--color-coolGrey1000:#090c12;--color-coolGrey900:#21242c;--color-coolGrey900_alpha05:rgba(33,36,44,.5);--color-coolGrey900_alpha02:rgba(33,36,44,.2);--color-coolGrey850:#2b2e36;--color-coolGrey850_alpha01:rgba(43,46,54,.1);--color-coolGrey800:#3d424e;--color-coolGrey800_alpha02:rgba(61,66,78,.2);--color-coolGrey800_alpha05:rgba(61,66,78,.5);--color-coolGrey700:#4d525d;--color-coolGrey600:#606671;--color-coolGrey500:#717885;--color-coolGrey400:#848c9a;--color-coolGrey400_alpha05:rgba(132,140,154,.5);--color-coolGrey200:#bec9d9;--color-coolGrey100:#d8dfeb;--color-coolGrey100_alpha05:rgba(216,223,235,.5);--color-coolGrey100_alpha25:rgba(216,223,235,.25);--color-coolGrey50:#f0f3f9;--color-coolGrey37:#f6f8fa;--color-coolGrey25:#fcfdfe}.PSPDFKit-21tdya9vwjkb9467d89dpj3dz5{bottom:0;left:0;position:absolute;right:0;top:0}.PSPDFKit-6hysu1r6uydnrqrhfk1pps1pr8,.PSPDFKit-7dhdpumpuhp8jg295a51ffsd9j,.PSPDFKit-8csd1vhppnqgu7uyk8b5mf7czf{border:1px dashed #4636e3;border:1px dashed var(--color-blue600);position:absolute}.PSPDFKit-7dhdpumpuhp8jg295a51ffsd9j{height:2px;width:100%}.PSPDFKit-8csd1vhppnqgu7uyk8b5mf7czf{height:100%;width:2px}.PSPDFKit-68un8hbc6qvj9x9s9g5q6t21ve,.PSPDFKit-5ah6dzjmznmmkdumesdneq7wz7,.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y,.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk,.PSPDFKit-51yew4ehdjn7cbsyfq5njb69ma,.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3,.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq,.PSPDFKit-ecnxn5u4wzb7hzydwhayukxj,.PSPDFKit-737nkwy7w9s6vc4dtbb23bs54a{background:rgba(69,55,222,.2);border:2px solid #4537de;border:2px solid var(--color-blue70);height:40px;position:absolute}.PSPDFKit-68un8hbc6qvj9x9s9g5q6t21ve>div,.PSPDFKit-68un8hbc6qvj9x9s9g5q6t21ve>span,.PSPDFKit-5ah6dzjmznmmkdumesdneq7wz7>div,.PSPDFKit-5ah6dzjmznmmkdumesdneq7wz7>span,.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y>div,.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y>span,.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk>div,.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk>span,.PSPDFKit-51yew4ehdjn7cbsyfq5njb69ma>div,.PSPDFKit-51yew4ehdjn7cbsyfq5njb69ma>span,.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3>div,.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3>span,.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq>div,.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq>span,.PSPDFKit-ecnxn5u4wzb7hzydwhayukxj>div,.PSPDFKit-ecnxn5u4wzb7hzydwhayukxj>span,.PSPDFKit-737nkwy7w9s6vc4dtbb23bs54a>div,.PSPDFKit-737nkwy7w9s6vc4dtbb23bs54a>span{display:none}.PSPDFKit-68un8hbc6qvj9x9s9g5q6t21ve{width:120px}.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk,.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq,.PSPDFKit-ecnxn5u4wzb7hzydwhayukxj{width:220px}.PSPDFKit-51yew4ehdjn7cbsyfq5njb69ma{height:150px;width:220px}.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3{border-radius:50%}.PSPDFKit-5ah6dzjmznmmkdumesdneq7wz7,.PSPDFKit-41fvab9cypgzqfakdc8v95dcb3{height:32px;width:32px}.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq{display:flex;height:150px}.PSPDFKit-7w2dawdet2j2kdxg5sat88d5bq>div{align-self:flex-start;background-color:#4636e3;background-color:var(--color-blue600);color:#fff;color:var(--color-white);display:inline-block;font-size:14px;padding:2px 8px}.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y{align-items:center;display:flex;justify-content:flex-end;padding-right:8px;width:220px}.PSPDFKit-6fnpakckpk47tsnm8uz3m17u6y>span{color:#4636e3;color:var(--color-blue600);display:inline-flex;height:16px;width:16px}.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk{align-items:center;display:flex;justify-content:flex-end;padding-right:8px;width:220px}.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk>span{color:#4636e3;color:var(--color-blue600);display:inline-flex;height:16px;transform:translateX(35px);width:16px}.PSPDFKit-4yuxudxn8gpqg5ask3mtg2zakk>span svg{fill:#4636e3;fill:var(--color-blue600)} +.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-7qanggak6kh1whzh64vrkx4krz,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-6jc5m1b3ck8fqehqqd9b7th6gt,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-7mzzrbnpvegtq3qm6jswkervc3,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-f7jcky6yaxh4m5617uaekk3cj,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7:hover{border-color:#4636e3;border-color:var(--color-blue600);border-style:solid}.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-7mzzrbnpvegtq3qm6jswkervc3{background-color:rgba(69,55,222,.1)}.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7:not(.PSPDFKit-7qanggak6kh1whzh64vrkx4krz) textarea:hover{cursor:pointer}.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-7mzzrbnpvegtq3qm6jswkervc3 textarea:hover,.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7.PSPDFKit-f7jcky6yaxh4m5617uaekk3cj textarea:hover{cursor:move}.PSPDFKit-nxtuykwdsyjh6y7z8brn21b7{border:thin dashed #777cf0;border:thin dashed var(--color-blue300);box-sizing:initial!important;margin-left:-1px;margin-top:-1px}.PSPDFKit-3mngkstqybyrr7k8f5kgqf5ksn{background:none;border:none;cursor:pointer;margin:0;padding:0}.PSPDFKit-7eywttjpush5dwpejjm2b1edg3{color:#ff900d;color:var(--color-orange400);display:block}.PSPDFKit-7eywttjpush5dwpejjm2b1edg3,.PSPDFKit-7eywttjpush5dwpejjm2b1edg3>svg{height:100%;width:100%}@keyframes PSPDFKit-7kwgpn262dubfp6s5nxvyrt295{0%{color:#000}to{color:transparent}}.PSPDFKit-4tgb9n39czt6qk8ajacqjv5xdj{animation:PSPDFKit-7kwgpn262dubfp6s5nxvyrt295 1.2s steps(2,jump-none) 0s infinite normal both running}.PSPDFKit-6jc5m1b3ck8fqehqqd9b7th6gt{outline:3px solid #8f9bf4;outline:3px solid var(--color-blue200);outline-offset:1px}.PSPDFKit-7mpkqw7nbbw6tju4s46mm141sc{padding:.25rem;position:absolute;top:calc(50% - .6875rem)}.PSPDFKit-7mpkqw7nbbw6tju4s46mm141sc:hover{cursor:ew-resize}.PSPDFKit-3wksyn2d8kqsw1kg6b3vqztpfr{background-color:#4636e3;background-color:var(--color-blue600);border:1px solid #fff;border:1px solid var(--color-white);border-radius:50%;box-shadow:0 4px 8px rgba(0,0,0,.15),0 1px 3px rgba(0,0,0,.3);height:.875rem;width:.875rem}.PSPDFKit-2dv6u2bf1w5g4e17qeenc78qhu{right:-.6875rem}.PSPDFKit-4fvhxnqd5sg3bad4pr5gsqshv2{left:-.6875rem} +.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx{background:#fff;display:block;overflow:hidden;position:relative}.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx.PSPDFKit-5scxecvmyvz7wahnvpvhqf1u6n{box-shadow:3px 3px 8px rgba(0,0,0,.1)}.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx.PSPDFKit-4f127napxmw48wj78u1h4t24d5{box-shadow:3px -3px 8px rgba(0,0,0,.1)}.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx.PSPDFKit-6ncgj8zzkc4v2az5nh5414n95b{box-shadow:-3px -3px 8px rgba(0,0,0,.1)}.PSPDFKit-5e6tnwkxw9ka415svsdkkptcvx.PSPDFKit-2a2y9pvb8su899gfj1wsz2ta6n{box-shadow:-3px 3px 8px rgba(0,0,0,.1)}.PSPDFKit-863nmkfmtuh7z8chsq5cfw6y9h{left:0;pointer-events:none;position:absolute;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-q7ejbjhybhuyqgmj1yb6a4f56 ::selection{background:transparent!important;color:transparent!important}.PSPDFKit-browser-system-android .PSPDFKit-q7ejbjhybhuyqgmj1yb6a4f56 span::selection{background:transparent;color:transparent}.PSPDFKit-browser-system-windows .PSPDFKit-q7ejbjhybhuyqgmj1yb6a4f56 ::selection{background:rgba(18,61,112,.05)!important}.PSPDFKit-browser-system-windows .PSPDFKit-q7ejbjhybhuyqgmj1yb6a4f56 span::selection{background:transparent;color:transparent}.PSPDFKit-8hbgq8hdkhtfm5abztpkrkdp87{bottom:0;left:0;pointer-events:none;position:absolute;right:0;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-87pd6mukheqbugejr1g1n3es7w{cursor:none} +.PSPDFKit-34rw6dd52chrrk7xv2jr6zquew{height:100%;left:0;position:absolute;top:0;width:100%}.PSPDFKit-3eg3ptc58eu1dbczvddeqqmn75{stroke:#4537de;stroke:var(--color-blue70);stroke-width:1px} +.PSPDFKit-4fy2py5absazy7wc1atsvf39uh{-webkit-overflow-scrolling:touch;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);left:0;position:absolute;text-align:left;text-align:initial;top:0;transition:transform .3s cubic-bezier(.215,.61,.355,1)}.PSPDFKit-8skwhax4ksk9yd3zuznq1wyjxx{background-color:#f6f8fa;background-color:var(--PSPDFKit-Viewport-background);bottom:0;left:0;overflow-y:auto;position:fixed;right:0;top:auto}.PSPDFKit-846k3gp7b8ystvpdat7kchu6cf{border-radius:6px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);position:absolute;transition:all .3s cubic-bezier(.215,.61,.355,1);transition-property:transform,box-shadow}.PSPDFKit-846k3gp7b8ystvpdat7kchu6cf:not(.PSPDFKit-57ma556dgg7p25vkpwgypaprqm){cursor:pointer}.PSPDFKit-846k3gp7b8ystvpdat7kchu6cf:hover{box-shadow:0 4px 6px rgba(43,50,59,.2),0 6px 16px rgba(43,50,59,.1)}.PSPDFKit-57ma556dgg7p25vkpwgypaprqm,.PSPDFKit-57ma556dgg7p25vkpwgypaprqm:hover{box-shadow:0 16px 32px rgba(43,50,59,.25),0 16px 32px rgba(43,50,59,.1);z-index:1}.PSPDFKit-62tyf1xqx4kgnu144gt5uy9j9p{background-color:#fff;background-color:var(--PSPDFKit-Comment-thread-backgroundColor);border-radius:6px;color:#3d424e;color:var(--PSPDFKit-Comment-thread-color);height:100%;width:100%}.PSPDFKit-8skwhax4ksk9yd3zuznq1wyjxx .PSPDFKit-62tyf1xqx4kgnu144gt5uy9j9p{border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-Comment-separatorBold-color)}.PSPDFKit-6n4vf5zb3fds69s2uvw3xyfaxk{padding:0.8125em;padding:var(--PSPDFKit-spacing-5)}.PSPDFKit-6abtkbxbe387rzj3weks85eubv{border-top:1px solid #f6f8fa;border-top:1px solid var(--PSPDFKit-Comment-separator-color);margin-left:0.8125em;margin-left:var(--PSPDFKit-spacing-5)}.PSPDFKit-8gpdea9u4mgzacra4wx6vq3mxh{border-top:1px solid #d8dfeb;border-top:1px solid var(--PSPDFKit-Comment-separatorBold-color)}.PSPDFKit-83aay96yymctba7rmvy6wzwfzs{align-items:center;display:flex;line-height:1}.PSPDFKit-th67kk1b8w7umaeh289rjkc6s{font-weight:600;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-6kppppmn52ajrv8ahh7vyaqspg{color:#4636e3;color:var(--PSPDFKit-Comment-accent-color);display:block;font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);font-weight:500;margin-top:0.609em;margin-top:var(--PSPDFKit-spacing-6)}.PSPDFKit-e5y5twy8xx7ngqc3p762cs3ca{align-items:center;border:1px solid #4636e3;border:1px solid var(--PSPDFKit-Comment-accent-color);border-radius:100%;display:flex;height:32px;justify-content:center;margin-right:8px;overflow:hidden;width:32px}.PSPDFKit-e5y5twy8xx7ngqc3p762cs3ca,.PSPDFKit-8xau5mfzb7xbtsd67bf4f7amph{flex-shrink:0}.PSPDFKit-e5y5twy8xx7ngqc3p762cs3ca img{background-color:#d8dfeb;background-color:var(--PSPDFKit-Comment-footer-color);border-radius:100%;display:block;height:32px;width:32px}.PSPDFKit-2uymwug35415u37jmmjeckcf66{margin-bottom:0;margin-top:0.609em;margin-top:var(--PSPDFKit-spacing-6);white-space:pre-wrap;word-break:break-word}.PSPDFKit-2uymwug35415u37jmmjeckcf66 a{color:#777cf0;color:var(--color-blue300);text-decoration:underline}.PSPDFKit-2uymwug35415u37jmmjeckcf66 p:empty:after,.PSPDFKit-2uymwug35415u37jmmjeckcf66 p>span:empty:after{content:" "}.PSPDFKit-2uymwug35415u37jmmjeckcf66 [data-user-id]{color:#4636e3;color:var(--PSPDFKit-Comment-Mention-color)}.PSPDFKit-2uymwug35415u37jmmjeckcf66 [data-user-id]:before{content:"@"}.PSPDFKit-browser-engine-webkit .PSPDFKit-3setj6xgj3k3aecpjfhn26sbqn{max-height:calc(1.4rem*3);max-height:calc(var(--PSPDFKit-lineHeight-1)*3)}.PSPDFKit-3setj6xgj3k3aecpjfhn26sbqn{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.PSPDFKit-2uymwug35415u37jmmjeckcf66 p{margin:0}.PSPDFKit-2uymwug35415u37jmmjeckcf66 p p:empty:after,.PSPDFKit-2uymwug35415u37jmmjeckcf66 p p>span:empty:after{content:" "}.PSPDFKit-3jv55mynpjvcvxarj2awcxbc4q{align-items:center;display:flex;flex-direction:row;justify-content:space-between;margin-top:0.46875em;margin-top:var(--PSPDFKit-spacing-7)}.PSPDFKit-3wf8kzxdewz91bkynxz9nf13vn{display:inline-block}.PSPDFKit-526mgvw6wxrzqu5nzg18xsexvq{background-color:#fff;background-color:var(--PSPDFKit-Comment-footer-backgroundColor);border-radius:0 0 5px 5px;border-top:1px solid #d8dfeb;border-top:1px solid var(--PSPDFKit-Comment-separatorBold-color);display:flex;flex-direction:column;font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);font-weight:500;padding:0.609em 0.8125em;padding:var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-5)}.PSPDFKit-526mgvw6wxrzqu5nzg18xsexvq:first-child{border-radius:6px;border-top:0}.PSPDFKit-37dn8ce9d95692mrtn658uddbn{align-items:center;display:flex;flex-direction:row;justify-content:space-between}.PSPDFKit-728a47tmgr74fsteq92f378fyg{color:#4636e3;color:var(--PSPDFKit-Comment-accent-color);cursor:pointer}.PSPDFKit-8bcg3139te3u6y5mk63jjafky4{background-color:var(--PSPDFKit-Comment-editor-backgroundColor);border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-Comment-editor-borderColor);border-radius:3px 3px 0 0;color:inherit;display:block;font-size:inherit;min-height:115px;outline-color:#4636e3;outline-color:var(--PSPDFKit-Comment-accent-color);padding:0.609em;padding:var(--PSPDFKit-spacing-6);resize:none;white-space:pre-wrap;width:100%}.PSPDFKit-8bcg3139te3u6y5mk63jjafky4 [contenteditable]{min-height:inherit}.PSPDFKit-8bcg3139te3u6y5mk63jjafky4 [data-user-id]{background-color:transparent;color:#4636e3;color:var(--PSPDFKit-Comment-Mention-color)}.PSPDFKit-gwvf3p8zpgqc2xerb19dqrnes{font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);padding:0.8125em;padding:var(--PSPDFKit-spacing-5);width:100%}.PSPDFKit-3a6az8snvjp28tbbeuzbhb8g3j{align-items:center;display:flex;flex-direction:row;justify-content:space-between}.PSPDFKit-78r8tk3h18d8s38nbbx1uqszas{align-items:center;background:none;border:none;color:#3d424e;color:var(--PSPDFKit-Comment-thread-color);display:flex;height:26px;justify-content:center;margin-left:8px;padding:0}.PSPDFKit-78r8tk3h18d8s38nbbx1uqszas span{border-radius:3px;height:26px;padding:1px;width:26px}.PSPDFKit-78r8tk3h18d8s38nbbx1uqszas:hover{cursor:pointer}.PSPDFKit-78r8tk3h18d8s38nbbx1uqszas:hover:not(.PSPDFKit-564hkgdsdrr48xx9gtkeb7dqfn) span{background-color:#f0f3f9;background-color:var(--PSPDFKit-Comment-icon-backgroundColor-hover)}.PSPDFKit-564hkgdsdrr48xx9gtkeb7dqfn span{background-color:#4636e3;background-color:var(--PSPDFKit-Comment-icon-backgroundColorActive);color:#fff;color:var(--PSPDFKit-Comment-icon-strokeColorActive)}.PSPDFKit-89d8rmjrbxpgn7uejbavm1wqax:focus,.PSPDFKit-89d8rmjrbxpgn7uejbavm1wqax:hover{color:#d63960;color:var(--PSPDFKit-Comment-deleteIcon-color)}.PSPDFKit-5y5p3r6ykjn2ayvbvjkrfqphey{height:24px}.PSPDFKit-37gwnzwf4ca3vasdqrh9p66p1v{align-items:center;border-radius:3px;display:flex;padding:6px 8px}.PSPDFKit-8nc3tp5w5tk5jedzmbawt81rb3{margin-top:15px}.PSPDFKit-6jv6xmp6n2fxwyfe3phh1xct3z{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;border-radius:50%;height:24px;margin-left:8px;padding:0;width:24px}.PSPDFKit-6jv6xmp6n2fxwyfe3phh1xct3z:hover{cursor:pointer}.PSPDFKit-6jv6xmp6n2fxwyfe3phh1xct3z[disabled]{background-color:#bec9d9;background-color:var(--PSPDFKit-Comment-editingTextButtonIconDisabled-background);pointer-events:none}.PSPDFKit-4dtxkws1vg1m6nx9tv4e33tefm svg{color:#4636e3;color:var(--PSPDFKit-Comment-editingTextSaveButton-color)}.PSPDFKit-4dtxkws1vg1m6nx9tv4e33tefm:hover svg{color:#2b1cc1;color:var(--PSPDFKit-Comment-editingTextSaveButtonHover-color)}.PSPDFKit-7n31ebvwcswtxak829vc39yhjg{background-color:#4636e3;background-color:var(--PSPDFKit-Comment-editingTextSaveButton-color)}.PSPDFKit-7n31ebvwcswtxak829vc39yhjg svg{color:#fff;color:var(--PSPDFKit-Comment-editingTextButtonIcon-color)}.PSPDFKit-7n31ebvwcswtxak829vc39yhjg:hover{background-color:#2b1cc1;background-color:var(--PSPDFKit-Comment-editingTextSaveButtonHover-color)}.PSPDFKit-2bmschmeqc7h7vpt1u1ks4ekab{padding-top:1px}.PSPDFKit-2bmschmeqc7h7vpt1u1ks4ekab svg{color:#848c9a;color:var(--PSPDFKit-Comment-editingTextCancelButton-color)}.PSPDFKit-2bmschmeqc7h7vpt1u1ks4ekab:hover svg{color:#717885;color:var(--PSPDFKit-Comment-editingTextCancelButtonHover-color)}.PSPDFKit-58hy6741cqa5n2g3pqaermn97s{background-color:#fcfdfe;background-color:var(--PSPDFKit-Comment-Toolbar-background);border:1px solid #f0f3f9;border:1px solid var(--PSPDFKit-Comment-Toolbar-borderColor);border-radius:3px;box-shadow:0 1px 2px 0 #2b323b33, 0 3px 4px 0 #2b323b0d;box-shadow:var(--PSPDFKit-Comment-Toolbar-backdrop);display:flex;flex-direction:row}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht{align-items:center;background-color:transparent;border:none;cursor:pointer;display:flex;height:38px;justify-content:center}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht>span{display:flex}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht svg{color:#3d424e;color:var(--PSPDFKit-Comment-thread-color);height:24px;width:24px}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht.PSPDFKit-5ege4ny766r38mq51n6h553ksm svg,.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht[data-state=on] svg{color:#4636e3;color:var(--PSPDFKit-Comment-Toolbar-Selected-Color)}.PSPDFKit-7azr74fz3pqmr7w95zv8xmz3ht[data-state=open]{opacity:.5}.PSPDFKit-2vt7cft41fzxgd9tpfhgpj5wba{margin-left:8px}.PSPDFKit-2vt7cft41fzxgd9tpfhgpj5wba svg{color:#848c9a;color:var(--PSPDFKit-Comment-editingTextCancelButton-color);width:10px}.PSPDFKit-89u863ebnbu84fn5v8hhghh83x{align-items:center;display:flex;flex-direction:row}.PSPDFKit-3e81entadshw7dt4gtbeuem2xu{background-color:#f0f3f9;background-color:var(--PSPDFKit-Comment-Toolbar-borderColor);width:1px}.PSPDFKit-2nb7drgzfpu5sppaazuvdaas8q{background-color:#fcfdfe;background-color:var(--PSPDFKit-Comment-Toolbar-background);border:1px solid #f0f3f9;border:1px solid var(--PSPDFKit-Comment-Toolbar-borderColor);border-radius:3px;display:grid;gap:12px;grid-template-columns:repeat(6,1fr);padding:16px;width:200px}.PSPDFKit-27enn5x7u3gsa4w34fz12kuudf{border:1px solid #f0f3f9;border:1px solid var(--PSPDFKit-Comment-ColorPicker-borderColor);border-radius:100%;cursor:pointer;height:16px;width:16px}.PSPDFKit-27enn5x7u3gsa4w34fz12kuudf[data-state=checked]{outline:2px solid #4636e3;outline:2px solid var(--PSPDFKit-Comment-linkEditor-buttonText-color)}.PSPDFKit-7cw46tuwy1qkcm76hq7uwx4ts8{align-items:center;background-color:#606671;background-color:var(--color-coolGrey600);background-image:linear-gradient(45deg,#000 25%,transparent 25%,transparent 75%,#000 75%,#000),linear-gradient(45deg,#000 25%,transparent 25%,transparent 75%,#000 75%,#000);background-image:linear-gradient(45deg,var(--color-black) 25%,transparent 25%,transparent 75%,var(--color-black) 75%,var(--color-black)),linear-gradient(45deg,#000 25%,transparent 25%,transparent 75%,#000 75%,#000);background-position:0 0,4px 4px;background-size:8px 8px;display:flex;justify-content:center}.PSPDFKit-7cw46tuwy1qkcm76hq7uwx4ts8>div{background-color:#ec2d67;border-radius:2px;height:13px;transform:rotate(45deg);width:3px}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m{background-color:#f0f3f9;background-color:var(--PSPDFKit-Comment-linkEditor-backgroundColor);border-radius:4px;box-shadow:0 3px 4px rgba(43,50,59,.05),0 1px 2px rgba(43,50,59,.2);min-width:360px;overflow:hidden}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m,.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m>div{display:flex;flex-direction:column}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m>div{background-color:#fff;background-color:var(--PSPDFKit-Comment-footer-backgroundColor);border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-Comment-linkEditor-borderColor);border-top:1px solid #d8dfeb;border-top:1px solid var(--PSPDFKit-Comment-linkEditor-borderColor);color:#3d424e;color:var(--PSPDFKit-Comment-linkEditor-inputLabel-color);padding:8px 16px 24px}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m label{font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m input{all:unset;background-color:#f0f3f9;background-color:var(--PSPDFKit-Comment-linkEditor-input-backgroundColor);border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-Comment-linkEditor-input-borderColor);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);margin-top:4px;padding:8px}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m ::-ms-input-placeholder{color:#606671;color:var(--PSPDFKit-Comment-linkEditor-input-placeholder-color)}.PSPDFKit-3c59qxsr59e1naufh4mu6t8e1m ::placeholder{color:#606671;color:var(--PSPDFKit-Comment-linkEditor-input-placeholder-color)}.PSPDFKit-7kqa88wjcucusw944q4td6njjs{all:unset;color:#3d424e;color:var(--PSPDFKit-Comment-thread-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:600;padding:16px}.PSPDFKit-45m9kechgpmukdwrz93q4qmrh1{display:flex;flex-direction:row;padding:10px 16px!important}.PSPDFKit-78emxwqr69budhctjscsd4btu4{background-color:#f0f3f9!important;background-color:var(--PSPDFKit-Comment-linkEditor-backgroundColor)!important;border-top:unset!important}.PSPDFKit-739qzd1hv6b6qjjx638p4258gh{align-items:center;column-gap:1em;column-gap:var(--PSPDFKit-spacing-4);display:flex;flex:1;flex-direction:row;overflow:auto}.PSPDFKit-2t2huzxxwcaje7r4h9u6cs8gf8{justify-content:center}.PSPDFKit-4pxvqpszy7wy3zb3hxw4p8qk2r{justify-content:flex-end}.PSPDFKit-3u7etkbahb7gyv7dvxrfvtugfd{text-align:center}.PSPDFKit-23zx2zfm8wum8a6s3vr81nawu9{flex:1}.PSPDFKit-pjs3fa92fehykyz7vs566ebn3{min-width:100px}.PSPDFKit-7h3b7pnecezaz8fgbk4hcbh93n{all:unset;color:#4636e3;color:var(--PSPDFKit-Comment-linkEditor-buttonText-color);cursor:pointer;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:600;padding:16px;text-align:center}.PSPDFKit-7h3b7pnecezaz8fgbk4hcbh93n:not(:disabled):hover{background-color:#d8dfeb;background-color:var(--PSPDFKit-Comment-linkEditor-input-backgroundColor-hover)}.PSPDFKit-7h3b7pnecezaz8fgbk4hcbh93n:disabled{cursor:not-allowed;opacity:.5}.PSPDFKit-2cz2cdu6k2usyms4krcjqkgzbu{fill:#f0f3f9;fill:var(--PSPDFKit-Comment-linkEditor-backgroundColor)}.PSPDFKit-52j8fcsvjaarry461zrkhc7yda{border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-Comment-editor-borderColor);border-radius:3px}.PSPDFKit-52j8fcsvjaarry461zrkhc7yda:focus-within{border-color:#4636e3;border-color:var(--PSPDFKit-Comment-accent-color)}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-62tyf1xqx4kgnu144gt5uy9j9p{border-radius:0}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-gwvf3p8zpgqc2xerb19dqrnes{border-radius:0;color:#000;color:var(--PSPDFKit-Comment-popover-color)}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-738g668qas89ty7hkqaw6r3wj8{max-height:calc(100vh - 60px)}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-4amdryyq1gwctc8eh3eqqdusyx{background-color:#fff;background-color:var(--PSPDFKit-Comment-footer-backgroundColor);padding:0!important}.PSPDFKit-4jcbdncntz6ym55txnw16jhkaq .PSPDFKit-4amdryyq1gwctc8eh3eqqdusyx.PSPDFKit-2k9waz28euj6he95bg1pth1q71{border-top:none}.PSPDFKit-fe2j351tsy55sdctatshf3857{background:linear-gradient( + 180deg, + rgba(255, 255, 255, 0) 0%, + #fff 100% + );background:var(--PSPDFKit-Comment-popover-moreComments-gradient);bottom:0;display:flex;justify-content:center;padding:60px 0 12px;position:sticky}.PSPDFKit-2trdpjz58pc2r42ej2mpjdjggh{align-items:center;background-color:#3d424e;background-color:var(--PSPDFKit-Comment-popover-moreComments-background);border-radius:20px;box-shadow:0 3px 4px rgba(43,50,59,.05),0 1px 2px rgba(43,50,59,.2);color:#fff;color:var(--PSPDFKit-Comment-popover-moreComments-color);display:flex;padding:4px 12px 4px 8px}.PSPDFKit-2trdpjz58pc2r42ej2mpjdjggh:hover{cursor:pointer}.PSPDFKit-2d8udu9h2jqun2hh3rp6ezbyge{background-color:#fff;background-color:var(--PSPDFKit-Comment-popover-moreComments-color);border-radius:50%;display:flex;height:16px;margin-right:8px;width:16px}.PSPDFKit-2d8udu9h2jqun2hh3rp6ezbyge>svg{color:#3d424e;color:var(--PSPDFKit-Comment-popover-moreComments-background);height:16px;rotate:180deg;width:16px}.PSPDFKit-2qrt7yauvpmt7wqd1bfz4r74ju{background-color:#fcfdfe;background-color:var(--PSPDFKit-Comment-Mention-Suggestion-backgroundColor);border:1px solid #f0f3f9;border:1px solid var(--PSPDFKit-Comment-Mention-Suggestion-borderColor);border-radius:3px;max-height:300px;overflow:scroll;width:297px}.PSPDFKit-2qrt7yauvpmt7wqd1bfz4r74ju[data-side=bottom]{transform:translateY(36px)}.PSPDFKit-2qrt7yauvpmt7wqd1bfz4r74ju>div:not(:first-child){border-top:1px solid #f0f3f9;border-top:1px solid var(--PSPDFKit-Comment-Mention-Suggestion-separator)}@media(max-width:480px){.PSPDFKit-2qrt7yauvpmt7wqd1bfz4r74ju{max-height:200px;width:calc(100vw - 26px)}}.PSPDFKit-29ub44u4t1nq9au4r5r8gq16zz{display:flex;flex-direction:row}.PSPDFKit-7wmscxcygts9c5vqhurfsbvmz5[data-highlighted=true]{background-color:#4636e3;background-color:var(--PSPDFKit-Comment-Mention-Suggestion-Active-backgroundColor)}.PSPDFKit-7wmscxcygts9c5vqhurfsbvmz5[data-highlighted=true] .PSPDFKit-2gj9mhp9gmfbukw358y5b5qcg1{color:#d3dcff;color:var(--PSPDFKit-Comment-Mention-Suggestion-Description-Active-color)}.PSPDFKit-7wmscxcygts9c5vqhurfsbvmz5[data-highlighted=true] .PSPDFKit-5an9sajqpsfwmvtaqzwmrwpa1f{background-color:#d3dcff;background-color:var(--PSPDFKit-Comment-Avatar-Active-backgroundColor);color:#4636e3;color:var(--PSPDFKit-Comment-Mention-Suggestion-Active-backgroundColor)}.PSPDFKit-7wmscxcygts9c5vqhurfsbvmz5[data-highlighted=true] .PSPDFKit-82e5n33n5hsu3sehrtwr8cegm6{color:#f0f3f9;color:var(--PSPDFKit-Comment-Mention-Suggestion-Title-Active-color)}.PSPDFKit-283uxv24vcfj241z4bctddtydk{grid-column-gap:12px;grid-row-gap:0;cursor:pointer;display:grid;grid-template-columns:24px 1fr;grid-template-rows:20px 17px;padding:8px 16px}.PSPDFKit-6f9qc1enqd8ejv1rusfkvmsbum{grid-template-rows:1fr}.PSPDFKit-5an9sajqpsfwmvtaqzwmrwpa1f{align-self:center;background-color:#848c9a;background-color:var(--PSPDFKit-Comment-Avatar-backgroundColor);border-radius:100%;color:#fcfdfe;color:var(--PSPDFKit-Comment-Mention-Suggestion-backgroundColor);grid-area:1/1/3/2;height:24px;width:24px}.PSPDFKit-82e5n33n5hsu3sehrtwr8cegm6{align-self:center;color:#3d424e;color:var(--PSPDFKit-Comment-Mention-Suggestion-Title-color);font-size:14px;font-weight:600;grid-area:1/2/2/3}.PSPDFKit-2gj9mhp9gmfbukw358y5b5qcg1{align-self:center;color:#848c9a;color:var(--PSPDFKit-Comment-Mention-Suggestion-Description-color);font-size:12px;font-weight:500;grid-area:2/2/3/3} +.PSPDFKit-37y8jyguj8pacvfe5xhztdrrvh{max-width:362px}.PSPDFKit-37y8jyguj8pacvfe5xhztdrrvh,.PSPDFKit-5wkfpeyned7c4yt1mthjm2byaz{border-radius:6px;overflow:hidden}.PSPDFKit-5wkfpeyned7c4yt1mthjm2byaz{height:46px;text-align:center;width:362px}.PSPDFKit-273bhz15uvme1jcsnfahrnpqhm{align-content:center;justify-content:center;text-align:center}.PSPDFKit-6c7xfncwch6xyvu2c9ht4628jr,.PSPDFKit-273bhz15uvme1jcsnfahrnpqhm{display:flex;flex:1;flex-direction:column;max-height:400px;overflow-y:auto;overscroll-behavior:contain}.PSPDFKit-7pv18yphuz8xnmy775ru1vhcxe{color:var(--PSPDFKit-FormDesignerPopoverComponent-title-color);margin:0;padding:0.609em 1em;padding:var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-4)}.PSPDFKit-35atxysv8qfd3f8r6vuxhqfqdg,.PSPDFKit-7pv18yphuz8xnmy775ru1vhcxe{font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-35atxysv8qfd3f8r6vuxhqfqdg{color:#3d424e;color:var(--PSPDFKit-FormDesignerTextInputComponent-label-color)}.PSPDFKit-3771qspwv8ehjtp2dy2fzju48j{flex:1;flex-direction:column;padding:0.46875em 1em 1em 1em;padding:var(--PSPDFKit-spacing-7) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4)}.PSPDFKit-3771qspwv8ehjtp2dy2fzju48j,.PSPDFKit-2yrnzfc2gx8w1fwmkqaw1avw1e{background-color:var(--PSPDFKit-FormDesignerPopoverComponent-content-background-color);color:var(--PSPDFKit-FormDesignerPopoverComponent-content-color);display:flex;overflow:auto}.PSPDFKit-2yrnzfc2gx8w1fwmkqaw1avw1e{align-content:center;column-gap:1em;column-gap:var(--PSPDFKit-spacing-4);flex:1;flex-direction:row;justify-content:space-around;padding:1em;padding:var(--PSPDFKit-spacing-4)}.PSPDFKit-2yrnzfc2gx8w1fwmkqaw1avw1e button{width:100%}.PSPDFKit-88mdrcgzvp2729thzbev99hpvr{margin:4px 0 16px!important}.PSPDFKit-88mdrcgzvp2729thzbev99hpvr svg{height:11px!important;width:12px!important} +.PSPDFKit-rmf34nztrfgm2bcf7ccec8zhz{max-width:700px}.PSPDFKit-3xkskd39bk5c2rsxpw7jwbmnn6{margin-bottom:20px;text-align:left}.PSPDFKit-3xkskd39bk5c2rsxpw7jwbmnn6 a{color:#3c97fe}.PSPDFKit-8m2ghddxnzm27ad3jnnphw522j{background:#000;color:#fff;font-family:monospace;height:100px;margin:auto;resize:none;width:100%} +.PSPDFKit-5wp751jqbxpbbwkus9rbbddxgu{background-color:#fff;background-color:var(--PSPDFKit-DocumentOutline-background);height:100%;overflow:auto;padding:0.46875em calc(0.46875em/2);padding:var(--PSPDFKit-spacing-7) calc(var(--PSPDFKit-spacing-7)/2);padding-right:0}.PSPDFKit-38m3bpj83kumpugydqecgvfb87{display:flex;justify-content:center;padding:2.4375em 0.609em;padding:var(--PSPDFKit-spacing-2) var(--PSPDFKit-spacing-6)}.PSPDFKit-6thyvskwj8bhtjt43bjv7r2tv3{padding-left:0.609em;padding-left:var(--PSPDFKit-spacing-6)}.PSPDFKit-2wc1eg8pv5bz8rp1599q8cfpf{align-items:center;cursor:pointer;display:flex}.PSPDFKit-8q6pak6zvt1x45sh6b8f91pb5g{cursor:default}.PSPDFKit-8ea69n5pavewcwdnwuxcsvwz4{padding-left:24px}.PSPDFKit-83geqxjybeyf3vmtnwsfwrkpk1{border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-DocumentOutline-control-border);color:#21242c;color:var(--PSPDFKit-DocumentOutline-control-color);display:block;padding:0.8125em 1em 0.8125em 0;padding:var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-5) 0;width:100%}.PSPDFKit-8hs25mq46u5e54udrwp52hzqxc{fill:#bec9d9;fill:var(--PSPDFKit-DocumentOutline-icon-color);color:#bec9d9;color:var(--PSPDFKit-DocumentOutline-icon-color);cursor:pointer;display:block;margin-right:calc(0.46875em/2);margin-right:calc(var(--PSPDFKit-spacing-7)/2)}.PSPDFKit-8hs25mq46u5e54udrwp52hzqxc svg{height:100%;width:100%}.PSPDFKit-6dv6mkjhdzxrbje2fu49pke6cy{transform:rotate(90deg);transition:transform .2s ease}.PSPDFKit-2wc1eg8pv5bz8rp1599q8cfpf:hover .PSPDFKit-8hs25mq46u5e54udrwp52hzqxc,.PSPDFKit-6dv6mkjhdzxrbje2fu49pke6cy{fill:#4636e3;fill:var(--PSPDFKit-DocumentOutline-icon-isHovered-color);color:#4636e3;color:var(--PSPDFKit-DocumentOutline-icon-isHovered-color)}div[id^=outline-control] .PSPDFKit-8ea69n5pavewcwdnwuxcsvwz4>.PSPDFKit-83geqxjybeyf3vmtnwsfwrkpk1{padding-left:10px} +.PSPDFKit-3794mza67b1yg72kafrt5hb5ne{-webkit-overflow-scrolling:touch;background-color:#fff;background-color:var(--PSPDFKit-BookmarksSidebar-background);border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-BookmarksSidebar-border);box-sizing:border-box;height:100%;overflow:auto;padding-bottom:0.8125em;padding-bottom:var(--PSPDFKit-spacing-5)}.PSPDFKit-82vfq7tmnvc7msfc9e69vvteqg{display:flex;width:100%}.PSPDFKit-74mdazdfzvch29s6gw4fvdanw9{min-width:100%}.PSPDFKit-3fv5zkg97n3mu687rszsbq2vap,.PSPDFKit-6n1ufy9m7k6kddjekzx8ra9equ{width:90%}.PSPDFKit-8ar7rzebgg8hmscpa7e7zunr9c{background-color:#f6f8fa;background-color:var(--PSPDFKit-BookmarksSidebar--loading-background);display:flex;justify-content:center;padding:2.4375em 0.8125em;padding:var(--PSPDFKit-spacing-2) var(--PSPDFKit-spacing-5)}.PSPDFKit-425nu4nkcgh6mxxdgbc94tfnnh,.PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{color:#4d525d;color:var(--PSPDFKit-BookmarksSidebar-heading-color);font-size:inherit;font-weight:400;text-transform:uppercase}.PSPDFKit-25cnnvzt1zat453758mcudxsca{cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-425nu4nkcgh6mxxdgbc94tfnnh{align-items:center;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);font-weight:400;margin:0.609em 0;margin:var(--PSPDFKit-spacing-6) 0;text-transform:uppercase}.PSPDFKit-39x22bdb75a1huszgc6wehk4n2{display:flex;justify-content:space-between;margin-top:1em;margin-top:var(--PSPDFKit-spacing-4)}.PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{color:#3d424e;color:var(--PSPDFKit-BookmarksSidebar-layout-pageNumber-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);max-width:100%;overflow:hidden;padding:.1em 0 0 .7em;position:absolute;right:0;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-8qwj35jvzfa59ztz98a439e6uy{color:#2b2e36;color:var(--PSPDFKit-BookmarksSidebar-name-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1{align-items:center;cursor:pointer;display:flex;justify-content:space-between;margin:0 1em 0 0.46875em;margin:0 var(--PSPDFKit-spacing-4) 0 var(--PSPDFKit-spacing-7);padding:0.8125em 0 0.8125em 0.8125em;padding:var(--PSPDFKit-spacing-5) 0 var(--PSPDFKit-spacing-5) var(--PSPDFKit-spacing-5);position:relative}.PSPDFKit-3794mza67b1yg72kafrt5hb5ne div [tabindex="-1"]>div,.PSPDFKit-3794mza67b1yg72kafrt5hb5ne div [tabindex="0"]>div{border-bottom:1px solid #f0f3f9;border-bottom:1px solid var(--PSPDFKit-BookmarksSidebar-layout-border)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1.PSPDFKit-3xvextg3pac89n7ybnha6syffx,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within],[tabindex="0"]:focus .PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1{z-index:1}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1.PSPDFKit-3xvextg3pac89n7ybnha6syffx,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1.PSPDFKit-3xvextg3pac89n7ybnha6syffx .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within],.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within] .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9,[tabindex="0"]:focus .PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1,[tabindex="0"]:focus .PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1 .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{fill:#3d424e;fill:var(--PSPDFKit-BookmarksSidebar-layout-pageNumber-color);color:#3d424e;color:var(--PSPDFKit-BookmarksSidebar-layout-pageNumber-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1.PSPDFKit-3xvextg3pac89n7ybnha6syffx .PSPDFKit-8qwj35jvzfa59ztz98a439e6uy,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within] .PSPDFKit-8qwj35jvzfa59ztz98a439e6uy,[tabindex="0"]:focus .PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1 .PSPDFKit-8qwj35jvzfa59ztz98a439e6uy{color:#2b2e36;color:var(--PSPDFKit-BookmarksSidebar-name-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1:hover{color:#4636e3;color:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within]{z-index:1}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within],.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1[data-focus-within] .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{fill:#4636e3;fill:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color);color:#4636e3;color:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color)}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1:focus-within{z-index:1}.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1:focus-within,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1:focus-within .PSPDFKit-7q4jhntpw5ww3s7967h4fxawb9{fill:#4636e3;fill:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color);color:#4636e3;color:var(--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color)}.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57,.PSPDFKit-8xc3qwhsubkavwu93mg3mhacd1 button{background:transparent;border:0;color:inherit;cursor:pointer;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;padding:0;text-align:inherit;word-break:break-all}.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57 svg{background:#fff;background:var(--PSPDFKit-BookmarksSidebar-edit-background);height:24px;position:relative;width:24px}.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57{color:#3d424e;color:var(--PSPDFKit-BookmarksSidebar-edit-color);flex:0 0 16px;height:16px;margin-left:0.8125em;margin-left:var(--PSPDFKit-spacing-5);opacity:0;width:16px}.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57:active,.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57:focus,.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57:hover,.PSPDFKit-3gpkhfqvs5pqtr4r9ry6e3jwjq,:active>.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57,:focus>.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57,:hover>.PSPDFKit-2msvy6g19deemzxgx9xvgw7c57{opacity:1}.PSPDFKit-5j54uxjtt11g68z45aykeapv6x{background-color:#f0f3f9;background-color:var(--PSPDFKit-BookmarksSidebar-editor-background);padding:0.8125em;padding:var(--PSPDFKit-spacing-5);position:relative;width:100%;z-index:2}.PSPDFKit-5j54uxjtt11g68z45aykeapv6x .PSPDFKit-425nu4nkcgh6mxxdgbc94tfnnh{margin-bottom:0.8125em;margin-bottom:var(--PSPDFKit-spacing-5)}.PSPDFKit-5zwbu9g714rrbrfqc66ep7t3cs{flex-wrap:nowrap;margin-top:0.8125em;margin-top:var(--PSPDFKit-spacing-5);overflow-y:auto}.PSPDFKit-2b313c5ajnt3v97v7xqyj8k9ag{flex:1} +.PSPDFKit-wqnk7x3sp9sp2zkcvbfawsb6r{background-color:#f6f8fa;background-color:var(--PSPDFKit-Sidebar-background);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);height:100%;overflow-wrap:break-word;position:relative;word-break:break-word;z-index:1}.PSPDFKit-6zdf5v5224wp5vu92pkacn6sx3{background:#f0f3f9;background:var(--PSPDFKit-Sidebar-header-background);display:flex;flex-direction:column;flex-wrap:wrap;padding:0.609em 1em;padding:var(--PSPDFKit-spacing-6) var(--PSPDFKit-spacing-4);text-align:right}.PSPDFKit-4bvu69j78qa67c4wqqxaxrqbs5{background-color:#bec9d9;background-color:var(--PSPDFKit-Sidebar-dragger-background);border-left:1px solid rgb(33 36 44 / 0.2);border-left:1px solid var(--PSPDFKit-Sidebar-dragger-border);bottom:0;cursor:col-resize;overflow:hidden;position:absolute;top:0;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na{background:#fff;background:var(--PSPDFKit-Sidebar-draggerHandle-background);border:1px solid rgb(33 36 44 / 0.2);border:1px solid var(--PSPDFKit-Sidebar-draggerHandle-border);border-left:none;border-radius:3px;display:block;height:32px;position:fixed;top:50%;width:9px}.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na:after,.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na:before{background-color:#bec9d9;background-color:var(--PSPDFKit-Sidebar-dragger-pseudo-background);content:"";height:20px;left:50%;margin-top:-15px;position:absolute;top:64%;width:1px}.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na:before{margin-left:-2px}.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na:after{margin-left:1px}@media(max-width:768px){.PSPDFKit-6dtj44vm5qz5vw1njqxgaem7na{display:none}}.PSPDFKit-2x4gzue77m9rd4f4ax5y9e5wj1{height:100%;overflow:auto} +.PSPDFKit-twmttjfcv6j7rzbc8ybn7jhdf{color:#fff;display:block;-webkit-user-select:none;-ms-user-select:none;user-select:none}.interactions-disabled .PSPDFKit-twmttjfcv6j7rzbc8ybn7jhdf{display:none}.PSPDFKit-twmttjfcv6j7rzbc8ybn7jhdf div{align-items:center;display:flex;flex:1 0 auto;flex-direction:row;flex-wrap:nowrap;-webkit-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.PSPDFKit-6stgnz1576bk1x1pc2nvf8mswa{border-radius:6px;display:block;overflow:hidden}.PSPDFKit-47apua2t9uqk8xayrhg2x6bxwp{background:#5e6266;height:20px;margin:0 6px;width:1px}.PSPDFKit-dcqzrnymm6bk9dm2mrhum7xwe{border-right:1px solid #4a4d51;height:34px!important;width:38px!important}.PSPDFKit-dcqzrnymm6bk9dm2mrhum7xwe:last-child{border-right:0}.PSPDFKit-dcqzrnymm6bk9dm2mrhum7xwe i{height:20px!important;width:20px!important} +.PSPDFKit-8ffg9gawq78kbmz1r4tzjvvqc9{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.PSPDFKit-8xy9jsj7mkgjmn242vthsdvebm{min-height:32px;padding:0 10px} +.PSPDFKit-4vgck46zhyuscqkznsp8pabh68{cursor:all-scroll;cursor:grab;height:auto;min-height:100%;min-width:100%;width:auto}.PSPDFKit-4cbfb2m7vt4aq7g21z3gxtzzde{cursor:grabbing} +.PSPDFKit-m8vcznd3skqsshg6rhqg119mc{bottom:0;left:0;position:absolute;right:0;top:0} +.PSPDFKit-6m9gupd1vyy1fr4bpfheg6wwdk{width:90%}@media(min-width:320px){.PSPDFKit-6m9gupd1vyy1fr4bpfheg6wwdk{width:300px}}.PSPDFKit-8nwc6qm7s426c5g16sqaykh38n,.PSPDFKit-6m9gupd1vyy1fr4bpfheg6wwdk>button,.PSPDFKit-6m9gupd1vyy1fr4bpfheg6wwdk>div{margin:.5em 0}.PSPDFKit-8nwc6qm7s426c5g16sqaykh38n{background-color:#f0f3f9;background-color:var(--PSPDFKit-PrintLoadingIndicator-progress-background);border-radius:3px;color:#000;color:var(--PSPDFKit-PrintLoadingIndicator-progress-color);display:block;overflow:hidden;padding:.25em .5em;position:relative;width:100%;z-index:1}.PSPDFKit-3mu82vxhmw13y36qrsu6ya81cc{background-color:#4636e3;background-color:var(--PSPDFKit-PrintLoadingIndicator-progressBar-background);bottom:0;left:0;position:absolute;top:0;z-index:-1}.PSPDFKit-489xz3n1mhssjcqb9fqcbey276{color:#4d525d;color:var(--PSPDFKit-PrintLoadingIndicator-progressText-color)} +.PSPDFKit-59dey26v49qmxgx7zfh1ehxqag{align-items:center;display:flex;width:90%}@media(min-width:320px){.PSPDFKit-59dey26v49qmxgx7zfh1ehxqag{width:300px}}.PSPDFKit-4dct27k6q3q9d4c4atrzr75u79{display:flex;flex-direction:column;height:48px;justify-content:space-around;padding-left:1.625em;padding-left:var(--PSPDFKit-spacing-3)}.PSPDFKit-6pphz7vq2cfumupsmn27tmjjzb{display:block;height:48px;width:48px} +.PSPDFKit-5w2de1uyy445puycu46qkgmvar{align-items:center;display:flex;overflow:hidden;width:90%}@media(min-width:320px){.PSPDFKit-5w2de1uyy445puycu46qkgmvar{width:300px}}.PSPDFKit-6w84556468p7ssdr8cqmyn8mjr{display:flex;flex-direction:column;height:48px;justify-content:space-around;padding-left:1.625em;padding-left:var(--PSPDFKit-spacing-3)}.PSPDFKit-75vqhz2zk4qrae8pgcsegd1jf9{display:block;height:48px;width:48px} +.PSPDFKit-6mny4jk3t426w24d83deht33rn{bottom:0;left:0;position:absolute;right:0;top:0} +.PSPDFKit-5e2eu5vu2edrbusdw9chj1k5ya{align-items:center;display:flex;height:100%;justify-content:center;margin-right:16px}.PSPDFKit-qrb6rv4vd7m34wj2w85zjxjfu{font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);-webkit-user-select:none;-ms-user-select:none;user-select:none} +.PSPDFKit-5m6rrz61wj3npfybbf6bf7n132{align-items:center;background-color:#fff;background-color:var(--PSPDFKit-SearchForm-background);border-radius:0 0 4px 4px;border-top:1px solid #f6f8fa;border-top:1px solid var(--PSPDFKit-SearchForm-border);display:flex;flex-direction:row;height:44px;opacity:1;padding:5px 10px;position:absolute;right:0;top:44px;transition:opacity .4s ease 0s;width:400px;z-index:10}.PSPDFKit-width-xs .PSPDFKit-5m6rrz61wj3npfybbf6bf7n132{border-radius:0;width:100%}.PSPDFKit-kygm1cgnwkp9bv59ggpqfyv9j{top:0}.PSPDFKit-3zeygmv635dt4bunbqaw9pc4vc{align-items:stretch;display:flex;flex-direction:row;margin-right:10px}.PSPDFKit-882tgx1vetesc36x9va6ha65fk,.PSPDFKit-3zeygmv635dt4bunbqaw9pc4vc{flex-grow:1;height:30px}.PSPDFKit-882tgx1vetesc36x9va6ha65fk{background:#f0f3f9;background:var(--PSPDFKit-SearchForm-input-background);border:none;border-radius:4px 0 0 4px;color:#3d424e;color:var(--PSPDFKit-SearchForm-input-color);font-size:0.875rem!important;font-size:var(--PSPDFKit-fontSize-3)!important;padding:5px 0 5px 10px;width:0}.PSPDFKit-882tgx1vetesc36x9va6ha65fk::-ms-input-placeholder{color:#3d424e;color:var(--PSPDFKit-SearchForm-input-placeholder-color)}.PSPDFKit-882tgx1vetesc36x9va6ha65fk::placeholder{color:#3d424e;color:var(--PSPDFKit-SearchForm-input-placeholder-color)}.PSPDFKit-882tgx1vetesc36x9va6ha65fk:focus{outline:none}.PSPDFKit-882tgx1vetesc36x9va6ha65fk::-ms-clear{height:0;width:0}.PSPDFKit-8eacsmz4utrfkj8dhzhdh842ct{display:none}.PSPDFKit-8eacsmz4utrfkj8dhzhdh842ct:not(.PSPDFKit-4ysp4ac7wzfr8k1j96hrpb6232){background:#f0f3f9;background:var(--PSPDFKit-SearchForm-results-isDisabled-background);color:rgb(132 140 154 / 0.5);color:var(--PSPDFKit-SearchForm-results-isDisabled-color);display:flex;min-width:40px;text-align:right}.PSPDFKit-3mm3z68vbg9jrrv8ctujsff2j,.PSPDFKit-8eacsmz4utrfkj8dhzhdh842ct:not(.PSPDFKit-4ysp4ac7wzfr8k1j96hrpb6232){height:30px;line-height:20px;padding:5px 10px}.PSPDFKit-3mm3z68vbg9jrrv8ctujsff2j{background:#bec9d9;background:var(--PSPDFKit-SearchForm-button-background);border:0;border-radius:4px;color:#3d424e;color:var(--PSPDFKit-SearchForm-button-color);cursor:pointer;font-size:inherit;text-align:center;touch-action:none;transition:all .15s}.PSPDFKit-3mm3z68vbg9jrrv8ctujsff2j:hover{background:#f0f3f9;background:var(--PSPDFKit-SearchForm-button-isHovered-background);border:rgb(132 140 154 / 0.5);border:var(--PSPDFKit-SearchForm-button-isHovered-border);color:#21242c;color:var(--PSPDFKit-SearchForm-button-isHovered-color)}.PSPDFKit-6jsphwggasn3qhq6cpukr87kyp{border-radius:0 4px 4px 0;display:flex;flex-direction:row;height:30px;margin-left:1px;overflow:hidden}.PSPDFKit-the91ha3x5196stsyerdyzwb2,.PSPDFKit-8sbnka5652yjkubedgurz66zwq{align-items:center;background:#bec9d9;background:var(--PSPDFKit-SearchForm-button-controls-background);border:1px solid transparent;color:#3d424e;color:var(--PSPDFKit-SearchForm-button-controls-color);cursor:pointer;display:flex;justify-content:center;padding:0;touch-action:none;transition:all .15s;width:30px}.PSPDFKit-the91ha3x5196stsyerdyzwb2:focus-visible,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:focus-visible{border:2px solid #5e5ceb;border-radius:4px;transition:none}.PSPDFKit-the91ha3x5196stsyerdyzwb2 .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4,.PSPDFKit-8sbnka5652yjkubedgurz66zwq .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4{fill:#3d424e;fill:var(--PSPDFKit-SearchForm-button-controls-color);height:12px;width:12px}.PSPDFKit-the91ha3x5196stsyerdyzwb2 .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4 svg,.PSPDFKit-8sbnka5652yjkubedgurz66zwq .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4 svg{height:100%;width:100%}.PSPDFKit-the91ha3x5196stsyerdyzwb2 .PSPDFKit-5q7decz5hdban3tfadcauvj14t,.PSPDFKit-the91ha3x5196stsyerdyzwb2 .PSPDFKit-7uhhgqhkvcnxbwk9kfhjy9v9yt,.PSPDFKit-8sbnka5652yjkubedgurz66zwq .PSPDFKit-5q7decz5hdban3tfadcauvj14t,.PSPDFKit-8sbnka5652yjkubedgurz66zwq .PSPDFKit-7uhhgqhkvcnxbwk9kfhjy9v9yt{display:flex;justify-content:center}.PSPDFKit-the91ha3x5196stsyerdyzwb2:hover,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:hover{background:#f0f3f9;background:var(--PSPDFKit-SearchForm-button-controls-isHovered-background)}.PSPDFKit-the91ha3x5196stsyerdyzwb2:disabled,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:disabled{pointer-events:none}.PSPDFKit-the91ha3x5196stsyerdyzwb2:disabled .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:disabled .PSPDFKit-6p53nwyvjc1gsacy8fr4fac4q4{fill:rgb(132 140 154 / 0.5);fill:var(--PSPDFKit-SearchForm-button-controls-isDisabled-color)}.PSPDFKit-the91ha3x5196stsyerdyzwb2:focus,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:focus{outline:none}.PSPDFKit-the91ha3x5196stsyerdyzwb2:last-child,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:last-child{border-left:1px solid #f0f3f9;border-left:1px solid var(--PSPDFKit-SearchForm-button-lasChild-border)}.PSPDFKit-the91ha3x5196stsyerdyzwb2:last-child:focus-visible,.PSPDFKit-8sbnka5652yjkubedgurz66zwq:last-child:focus-visible{border-left:2px solid #5e5ceb;border-radius:4px} +.PSPDFKit-5jn8feeuubm369vnx3evcba1rp,.PSPDFKit-5b8wstcs14vckqa7tw77vr685r{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.PSPDFKit-5jn8feeuubm369vnx3evcba1rp canvas,.PSPDFKit-5jn8feeuubm369vnx3evcba1rp img,.PSPDFKit-5b8wstcs14vckqa7tw77vr685r canvas,.PSPDFKit-5b8wstcs14vckqa7tw77vr685r img{height:auto;left:0;max-height:100%;max-width:100%;top:0;width:auto}.PSPDFKit-6anvx47kar5w253fz6rqg9hxcr,.PSPDFKit-rfgw2ucjvptvmzh7zu271n4x2{background-color:#f0f3f9;background-color:var(--PSPDFKit-ImagePreview-imageAnnotation--error-background);position:relative}.PSPDFKit-4jv7s61cvh1pcgqnvbxqubx8xv{align-items:center;display:flex;justify-content:center}.PSPDFKit-3z5svj219typgks4atm97b4y6h svg{background-color:#fff;background-color:var(--PSPDFKit-ImagePreview-imageAnnotation--error-icon-background);border-radius:12px;color:#d63960;color:var(--PSPDFKit-ImagePreview-imageAnnotation--error-icon-color);height:24px;width:24px}.PSPDFKit-7kevtqukx2j121vwemdz3hztp6 canvas,.PSPDFKit-7kevtqukx2j121vwemdz3hztp6 img{height:auto;width:auto}.PSPDFKit-56vfsb9q6rq86j9dwdwt9edsp5.PSPDFKit-7yuetahtedwdfmawkggfhnmc8 canvas,.PSPDFKit-56vfsb9q6rq86j9dwdwt9edsp5.PSPDFKit-7yuetahtedwdfmawkggfhnmc8 img{height:auto;width:100%}.PSPDFKit-56vfsb9q6rq86j9dwdwt9edsp5.PSPDFKit-4bu7pjnhzjnq6m5wh7z589mw3t canvas,.PSPDFKit-56vfsb9q6rq86j9dwdwt9edsp5.PSPDFKit-4bu7pjnhzjnq6m5wh7z589mw3t img{height:100%;width:auto}.PSPDFKit-4dw6z4dcs45pn73rp3uakt52q2{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)} +.PSPDFKit-4cerm34vb8pczts7hmcng7djt6{max-width:640px}.PSPDFKit-5vxa6baehq7axm7hfhdhastujx{max-width:480px}.PSPDFKit-5vxa6baehq7axm7hfhdhastujx,.PSPDFKit-4cerm34vb8pczts7hmcng7djt6{max-height:100vh;padding:0;width:100%}@media(max-height:455px){.PSPDFKit-5vxa6baehq7axm7hfhdhastujx,.PSPDFKit-4cerm34vb8pczts7hmcng7djt6{height:90%}}@media(max-height:300px){.PSPDFKit-5vxa6baehq7axm7hfhdhastujx,.PSPDFKit-4cerm34vb8pczts7hmcng7djt6{height:100%}}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-5vxa6baehq7axm7hfhdhastujx,.PSPDFKit-4cerm34vb8pczts7hmcng7djt6{border-radius:0;height:100%;max-width:100%}}.PSPDFKit-2z88h3qxg8pahcdtccg1v16rzw{margin-left:calc(0.8125em*2);margin-left:calc(var(--PSPDFKit-spacing-5)*2);margin-right:calc(0.8125em*2);margin-right:calc(var(--PSPDFKit-spacing-5)*2)}@media(max-width:992px){.PSPDFKit-2z88h3qxg8pahcdtccg1v16rzw{margin-left:0.8125em;margin-left:var(--PSPDFKit-spacing-5);margin-right:0.8125em;margin-right:var(--PSPDFKit-spacing-5)}}.PSPDFKit-37n3gwhc7empyyme4xj5mr6fmd{margin:0!important;padding:1.625em;padding:var(--PSPDFKit-spacing-3);position:relative}.PSPDFKit-37n3gwhc7empyyme4xj5mr6fmd:last-child{margin-bottom:0}@media(max-width:992px){.PSPDFKit-37n3gwhc7empyyme4xj5mr6fmd{padding:0.8125em;padding:var(--PSPDFKit-spacing-5)}}.PSPDFKit-5d23s5wtcb4xyd2r69ffat43tr{color:#3d424e;color:var(--PSPDFKit-StampViewComponent-header-color);display:flex;flex-direction:column;height:100%;justify-content:space-between}@media(max-height:480px),(orientation:landscape)and (max-width:992px){.PSPDFKit-5d23s5wtcb4xyd2r69ffat43tr{height:auto}}.PSPDFKit-htg8xmsw1medv8z65rsxzra3j{height:auto;max-height:90vh}@media(max-height:480px),(orientation:landscape)and (max-width:992px){.PSPDFKit-htg8xmsw1medv8z65rsxzra3j{max-height:none}}.PSPDFKit-83y7r7bjft89d7vj54ak85a64d{align-items:center;border:0 solid #bec9d9;border:0 solid var(--PSPDFKit-StampViewComponent-header-border);display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;padding:1.625em;padding:var(--PSPDFKit-spacing-3);z-index:1}@media(max-width:992px){.PSPDFKit-83y7r7bjft89d7vj54ak85a64d{padding:0.8125em;padding:var(--PSPDFKit-spacing-5)}}.PSPDFKit-4c13ns3r3x61v4zpchdh6wzdc6{align-items:center;display:flex;flex-wrap:wrap;margin-top:1.625em;margin-top:var(--PSPDFKit-spacing-3)}.PSPDFKit-8aay2s7evt3up79u41nwecrs5b,.PSPDFKit-4c13ns3r3x61v4zpchdh6wzdc6{justify-content:space-between}.PSPDFKit-8aay2s7evt3up79u41nwecrs5b{font-size:1.5rem;font-size:var(--PSPDFKit-fontSize-6);padding-bottom:0.8125em;padding-bottom:var(--PSPDFKit-spacing-5)}.PSPDFKit-8aay2s7evt3up79u41nwecrs5b label{margin:0}@media(min-width:350px){.PSPDFKit-8aay2s7evt3up79u41nwecrs5b{margin-bottom:0;padding-bottom:0.609em;padding-bottom:var(--PSPDFKit-spacing-6);padding-top:0.609em;padding-top:var(--PSPDFKit-spacing-6)}}@media(max-width:350px){.PSPDFKit-7e7t5guyqmbj19anjq7fu2apb2{width:100%}.PSPDFKit-7e7t5guyqmbj19anjq7fu2apb2~.PSPDFKit-7e7t5guyqmbj19anjq7fu2apb2,.PSPDFKit-nzezcbc9ek89hybgj1pckw2zs{margin-top:0.8125em;margin-top:var(--PSPDFKit-spacing-5)}.PSPDFKit-nzezcbc9ek89hybgj1pckw2zs{width:100%}}@media(max-width:350px)and (max-width:992px){.PSPDFKit-nzezcbc9ek89hybgj1pckw2zs{margin-top:0}}.PSPDFKit-72pcrgpengy3y8cuv97n9jaw3f{background-color:rgb(216 223 235 / 0.25);background-color:var(--PSPDFKit-StampViewComponent-previewContainer-background);border:1px solid #a8bff8;border:1px solid var(--PSPDFKit-StampViewComponent-previewContainer-border);border-radius:3px;display:flex;flex-direction:row;justify-content:center;margin-left:calc(0.8125em*-1);margin-left:calc(var(--PSPDFKit-spacing-5)*-1);margin-right:calc(0.8125em*-1);margin-right:calc(var(--PSPDFKit-spacing-5)*-1);overflow:hidden;padding:2.4375em 0.8125em;padding:var(--PSPDFKit-spacing-2) var(--PSPDFKit-spacing-5);position:relative}@media(max-width:992px){.PSPDFKit-72pcrgpengy3y8cuv97n9jaw3f{margin-left:0;margin-right:0;padding:0.8125em;padding:var(--PSPDFKit-spacing-5)}}.PSPDFKit-572d5dceqqhvah17hy2c45a4ej{background-color:transparent;color:transparent;text-align:center;text-transform:uppercase}.PSPDFKit-572d5dceqqhvah17hy2c45a4ej canvas{max-width:100%}.PSPDFKit-68gt1wmwq59s62gmycmujxmmb4{background-color:#fcfdfe;background-color:var(--PSPDFKit-StampViewComponent-templateImageContainer-background);border:1px solid #a8bff8;border:1px solid var(--PSPDFKit-StampViewComponent-templateImageContainer-border);border-radius:2px;box-sizing:initial!important;display:flex;flex-direction:row;justify-content:center;padding:7.422924052%}@media(max-width:992px){.PSPDFKit-68gt1wmwq59s62gmycmujxmmb4{padding:4.4932079415%}}.PSPDFKit-2ntpjcyeqryy3sx2z21svrqz1w{color:#bec9d9;color:var(--PSPDFKit-StampViewComponent-writeHere-color);margin-top:-.5em;position:absolute;text-align:center;top:50%;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%}.PSPDFKit-66ekjcxsaeqgn89qtwpugg9xvn{align-items:center;cursor:pointer;display:flex;flex:1}.PSPDFKit-6zmyzykxc4t66pwbdd5sen73re{display:flex;flex-direction:row;justify-content:space-around;padding:0.46875em 0;padding:var(--PSPDFKit-spacing-7) 0}.PSPDFKit-6j7fbdr9rnqrtkj8begfh32k5z{-webkit-overflow-scrolling:touch;flex:1 1 auto;max-height:50vh;overflow:auto;transform:translateZ(0)}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-6j7fbdr9rnqrtkj8begfh32k5z{max-height:100%}}.PSPDFKit-7nv5w9b4mfxuda9qpmyu4tfmkq{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;margin-top:0;padding:0 1.6666666667%;scroll-behavior:smooth;width:100%}@media(max-width:992px){.PSPDFKit-7nv5w9b4mfxuda9qpmyu4tfmkq{padding:0 1.875%}}.PSPDFKit-3cppdtq9fhab43g49xz5t5vzy5{list-style:none;margin-top:3.3333333333%;width:31.03%}@media(max-width:992px){.PSPDFKit-3cppdtq9fhab43g49xz5t5vzy5{margin-top:3.75%;width:47.85%}}.PSPDFKit-8hmu8h2yx3k1xretx3c2t5e35j{align-items:stretch;background-color:transparent;border:1px solid transparent;display:flex;flex-direction:column;padding:0;touch-action:auto;width:100%}.PSPDFKit-8hmu8h2yx3k1xretx3c2t5e35j.PSPDFKit-6rfyzsd4thzrxy3u2uacc8zvq4,.PSPDFKit-8hmu8h2yx3k1xretx3c2t5e35j:focus,.PSPDFKit-8hmu8h2yx3k1xretx3c2t5e35j:hover{background-color:#fff;background-color:var(--PSPDFKit-StampViewComponent-selectStampButton-isHovered-background);border-color:#4636e3;border-color:var(--PSPDFKit-StampViewComponent-selectStampButton-isHovered-border);color:#fff;color:var(--PSPDFKit-StampViewComponent-selectStampButton-isHovered-color)}.PSPDFKit-8hmu8h2yx3k1xretx3c2t5e35j.PSPDFKit-6rfyzsd4thzrxy3u2uacc8zvq4 .PSPDFKit-68gt1wmwq59s62gmycmujxmmb4,.PSPDFKit-8hmu8h2yx3k1xretx3c2t5e35j:focus .PSPDFKit-68gt1wmwq59s62gmycmujxmmb4,.PSPDFKit-8hmu8h2yx3k1xretx3c2t5e35j:hover .PSPDFKit-68gt1wmwq59s62gmycmujxmmb4{background-color:#fcfdfe;background-color:var(--PSPDFKit-StampViewComponent-templateImageContainer-background)}.PSPDFKit-8agdbfphrnw37rw3cw5sfvvfjm{color:#4d525d;color:var(--PSPDFKit-StampViewComponent-title-color);font-size:1.25rem;font-size:var(--PSPDFKit-fontSize-5);margin-bottom:0;max-width:100%;white-space:nowrap}@media(max-width:768px){.PSPDFKit-8agdbfphrnw37rw3cw5sfvvfjm{padding-bottom:0.609em;padding-bottom:var(--PSPDFKit-spacing-6);padding-top:0.609em;padding-top:var(--PSPDFKit-spacing-6)}}.PSPDFKit-2dzap69xuhzmtc67qz5wnyya7a{padding:0.46875em 0;padding:var(--PSPDFKit-spacing-7) 0}.PSPDFKit-8kvufduapwfav2a4wpe2xsukhy{position:absolute}.PSPDFKit-7s8151tm4sjch2syfq2v6t7wzw{margin:0}.PSPDFKit-zdns58vemvwxvgxmts83x9exn{justify-content:space-between} +.PSPDFKit-69gywaa9k96ge1hvked74ez5n1{background:#f0f3f9;background:var(--PSPDFKit-ThumbnailsSidebar-gridView-row-background);display:flex;justify-content:space-around;justify-content:space-evenly;position:relative}.PSPDFKit-83vux4k1ev4t7s9g2qxwew634a{border-radius:10px;text-align:center}.PSPDFKit-42kn3f7jwfc8upuf4bdwgdyxcg{align-items:center;display:flex;justify-content:center}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub{background:#5e5ceb;height:calc(100% - 8px);left:50%;pointer-events:none;position:relative;width:3px}.PSPDFKit-78m832wbg6e9vmp1jz7knc9yk2{background:#000;background:var(--PSPDFKit-ThumbnailsSidebar-gridView-moveCursorDisabled-background);opacity:.1}.PSPDFKit-6bd8y61brzkav8gpvce127azsv{left:16px;position:absolute;top:50%;transform:translateY(-50%)}.PSPDFKit-7b8eq949hpzkc8q3qh9tv8nxbp{transform:translateX(calc(-100% - 48px)) translateY(-50%)}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:after,.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:before{background:#000;background:var(--PSPDFKit-ThumbnailsSidebar-gridView-moveCursorDisabled-background);content:"";height:3px;left:50%;position:absolute;transform:translateX(-50%);width:12px}@media(min-width:768px){.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:after,.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:before{width:24px}}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:not(.PSPDFKit-78m832wbg6e9vmp1jz7knc9yk2):after,.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:not(.PSPDFKit-78m832wbg6e9vmp1jz7knc9yk2):before{background:#5e5ceb}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:before{top:0}.PSPDFKit-7x2bqjhgdt551w3v3y37gv3yub:after{bottom:0}.PSPDFKit-8vr6stqqbzz9z9n2w721sczcmz{background-color:#fff;background-color:var(--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-background);box-shadow:0 1.5px 2px rgba(43, 46, 54, 0.15),0 3px 6px rgba(43, 46, 54, 0.15);box-shadow:0 1.5px 2px var(--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-boxShadow),0 3px 6px var(--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-boxShadow);overflow:hidden;transition:opacity .16s}.PSPDFKit-8vr6stqqbzz9z9n2w721sczcmz:not(.PSPDFKit-213q4dhe5s5dzr5zeyuf11xun6){cursor:pointer}.PSPDFKit-4vvz95aegtycng8362mk8x2u2f{border-radius:1px;box-shadow:0 0 0 4px #5e5ceb;box-shadow:0 0 0 4px var(--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-isSelected-boxShadow)}.PSPDFKit-7w3scq2qsd5h5g3fxuj2wccn4t{opacity:.3}.PSPDFKit-2y5u2mcg8a7zhnfwfbbcfhnxcx{background-color:rgb(61 66 78 / 0.5);background-color:var(--PSPDFKit-ThumbnailsSidebar-gridView-label-background);border-radius:3px;color:#fff;color:var(--PSPDFKit-ThumbnailsSidebar-gridView-label-color);display:inline-block;min-width:48px;overflow:hidden;padding:0 4px;text-align:center;text-overflow:ellipsis;text-shadow:0 1.5px 3px rgba(0,0,0,.3);white-space:nowrap;width:auto}.PSPDFKit-3q3ydy7h9pcgtbpzqngpf8cet1{background-color:#5e5ceb;background-color:var(--PSPDFKit-ThumbnailsSidebar-gridView-label-isSelected-background);color:#fff;color:var(--PSPDFKit-ThumbnailsSidebar-gridView-label-isSelected-color)}.PSPDFKit-38dx8eye5za2p9zfprek3a6fmu canvas,.PSPDFKit-38dx8eye5za2p9zfprek3a6fmu img{transform:translateZ(0)} +.PSPDFKit-6rzkyc987bqyetscyfvr4nf3f2{-webkit-backface-visibility:hidden;left:0;position:absolute;right:0;width:100%;z-index:2}.PSPDFKit-2fwepfwm4jpbvv9evy3bh2cmsu{bottom:44px} +.PSPDFKit-7dzbfgjr5hhbb3rc1z1j74nw53{align-items:flex-start;display:flex;flex-direction:row;opacity:.97;padding:1em 0.46875em;padding:var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-7)}.PSPDFKit-67qcupwvpz7h59x97s5hu3w8y9{display:flex;margin-left:auto;margin-right:auto}.PSPDFKit-5hnd1py888z6q6dqpr2kp2cq2e{margin-right:0.8125em;margin-right:var(--PSPDFKit-spacing-5)}.PSPDFKit-6ee193drjzesd61tu19hcvekb6{display:block;height:24px;width:24px}.PSPDFKit-67meud5692v5j5a61jw2681xzk{background-color:transparent;border:none;display:flex;justify-content:center;padding:0 0 0 0.8125em;padding:0 0 0 var(--PSPDFKit-spacing-5)}.PSPDFKit-67meud5692v5j5a61jw2681xzk:hover{background-color:transparent}.PSPDFKit-6u1j5sk8ayvj3gvkxqkswrcet2{flex-basis:24px;height:24px;width:24px}.PSPDFKit-44csr6tj4teuj9fhfz8ee71tfx{background-color:#f5fee3;background-color:var(--PSPDFKit-SignaturesValidationStatusBar-Valid-backgroundColor);color:#3d424e;color:var(--PSPDFKit-SignaturesValidationStatusBar-Valid-color)}.PSPDFKit-2e9udw15t4gp8scnfddhxz9hsd{color:#628d06;color:var(--PSPDFKit-SignaturesValidationStatusBar-Icon-Valid-color)}.PSPDFKit-4ppb4buhu7rwnjufcn6ajpkskn{background-color:#fffae1;background-color:var(--PSPDFKit-SignaturesValidationStatusBar-Warning-backgroundColor);color:#3d424e;color:var(--PSPDFKit-SignaturesValidationStatusBar-Warning-color)}.PSPDFKit-86f3yc46j85tr3gsnftm482dk{color:#e8b500;color:var(--PSPDFKit-SignaturesValidationStatusBar-Icon-Warning-color)}.PSPDFKit-2c4pxuv49a7x173nj5nzfauxbt{background-color:#fceaf1;background-color:var(--PSPDFKit-SignaturesValidationStatusBar-Error-backgroundColor);color:#3d424e;color:var(--PSPDFKit-SignaturesValidationStatusBar-Error-color)}.PSPDFKit-8zs1teqnye2ksnaxmemgknn6pv{color:#d63960;color:var(--PSPDFKit-SignaturesValidationStatusBar-Icon-Error-color)} +.PSPDFKit-32xak74au7weyz9ycbwytr2c3f{color:#fff;padding:0 6px}.PSPDFKit-5j1459s9zq1zket63h26xjmr1j{border-right:1px solid #4a4d51}.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:last-child{border-right:0}.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:active,.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:focus,.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:hover,.PSPDFKit-5j1459s9zq1zket63h26xjmr1j[data-focus-within]{background-color:#5f6d78}.PSPDFKit-5j1459s9zq1zket63h26xjmr1j:focus-within{background-color:#5f6d78} +.PSPDFKit-8jp8nm1hj7szh4vv5aurdvd5j9{background:#f6f8fa;background:var(--PSPDFKit-Viewport-background);overflow:hidden;position:absolute;text-align:center} +.PSPDFKit-upyueavav3kv33ygfhr93t7hn{background-color:#f6f8fa;background-color:var(--PSPDFKit-ElectronicSignatures-modal-background);max-height:100vh;max-width:1126px;padding:0;width:90%}@media(max-height:455px){.PSPDFKit-upyueavav3kv33ygfhr93t7hn{height:90%}}@media(max-height:300px){.PSPDFKit-upyueavav3kv33ygfhr93t7hn{height:100%}}@media(orientation:landscape)and (max-width:480px){.PSPDFKit-upyueavav3kv33ygfhr93t7hn{border-radius:0;max-width:100%}}@media(max-width:740px){.PSPDFKit-upyueavav3kv33ygfhr93t7hn{width:95%}}@media(max-width:695px){.PSPDFKit-upyueavav3kv33ygfhr93t7hn{width:100%}} +.PSPDFKit-8gq7mgq8djv9ezfm3aggdqah73{background-color:#f0f3f9;background-color:var(--PSPDFKit-ElectronicSignatures-tabsContainer-background)}.PSPDFKit-4naqn2bzdrgu5nb7mcca6813b9{border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-ElectronicSignatures-tabList-border-color);border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-ElectronicSignatures-tabList-border-color);display:flex;list-style:none;margin:0;padding:12px 32px;position:relative}.PSPDFKit-2wypy7bhpedng6w2enk86n2ffe{display:none}.PSPDFKit-2c6rssd6rpe9grxycaej4zf8rn{align-items:center;color:#4d525d;color:var(--PSPDFKit-ElectronicSignatures-tabLabel-color);cursor:pointer;display:flex;flex-direction:column;font-weight:400;height:35px;justify-content:center;margin-right:0.8125em;margin-right:var(--PSPDFKit-spacing-5);min-width:80px}.PSPDFKit-2c6rssd6rpe9grxycaej4zf8rn[aria-selected=true]{color:#4636e3;color:var(--PSPDFKit-ElectronicSignatures-tabLabel-active-color)}.PSPDFKit-79am7vyks3epfsjgn3wk7mww8m{background-color:#4636e3;background-color:var(--PSPDFKit-ElectronicSignatures-tabLabel-active-color);height:2px;position:absolute;top:59px;transition:all .2s ease}.PSPDFKit-83cpfrtzfckj4rmhdjbf74dvzb{align-items:center;display:flex}.PSPDFKit-7wtc4u9qzvmjad6d77716688jh{color:#4d525d;color:var(--PSPDFKit-ElectronicSignatures-storeCheckLabel-color);margin-left:0.609em;margin-left:var(--PSPDFKit-spacing-6)}.PSPDFKit-u7shgag5rj3hh92n3awajszy4{background-color:#fff;background-color:var(--PSPDFKit-ElectronicSignatures-contentArea-background)}.PSPDFKit-2qk916qe3f3jfunhkv92wmtjwx{align-items:center;background-color:#f6f8fa;background-color:var(--PSPDFKit-ElectronicSignatures-modal-background);border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-ElectronicSignatures-tabList-border-color);display:flex;flex-wrap:wrap;justify-content:space-between;padding:1.625em 1.625em;padding:var(--PSPDFKit-spacing-3) var(--PSPDFKit-spacing-3)} +.PSPDFKit-5e3vu2w8sdv2pf1emxt3yraaqv{height:465px;margin:0 auto;padding-top:35px;width:640px}@media(max-width:660px){.PSPDFKit-5e3vu2w8sdv2pf1emxt3yraaqv{width:500px}}@media(max-width:480px){.PSPDFKit-5e3vu2w8sdv2pf1emxt3yraaqv{height:368px;width:100%}}.PSPDFKit-4a1d7hjmzrnsgm1gb318csfrvy{display:flex;justify-content:flex-end;margin-bottom:1.625em;margin-bottom:var(--PSPDFKit-spacing-3);margin-left:auto;margin-right:auto;width:640px}@media(max-width:660px){.PSPDFKit-4a1d7hjmzrnsgm1gb318csfrvy{width:500px}}@media(max-width:480px){.PSPDFKit-4a1d7hjmzrnsgm1gb318csfrvy{padding-top:15px;width:100%}}.PSPDFKit-8wzepjf229upy2k96xt66nwvg1{border:1px dashed #bec9d9;border:1px dashed var(--PSPDFKit-DrawingTab-canvas-borderColor);border-radius:5px;padding-bottom:40.8%}@media(max-width:480px){.PSPDFKit-8wzepjf229upy2k96xt66nwvg1{padding-bottom:38.8%;width:95%}}.PSPDFKit-4g59caqc4n814yqz4cmsatkbb4{align-items:center;display:flex;flex-direction:column;justify-content:center}@media(max-width:480px){.PSPDFKit-4g59caqc4n814yqz4cmsatkbb4{height:163px}}.PSPDFKit-25wyftd6zqm5vz9yxv6w2ptfka{color:#606671;color:var(--PSPDFKit-DrawingTab-signHere-color);left:0;right:auto}.PSPDFKit-465fzcz7141apddhad1qk38m5n{border:none;color:#2b1cc1!important;color:var(--PSPDFKit-DrawingTab-deleteSignature-color)!important;padding:0}.PSPDFKit-465fzcz7141apddhad1qk38m5n,.PSPDFKit-25wyftd6zqm5vz9yxv6w2ptfka{margin-top:2em;position:inherit;text-align:center;top:auto;transition:opacity .2s linear,visibility .2s;width:100%}.PSPDFKit-8ca9yy99yv6dw22x1rju3mhdb{align-items:center;display:flex;flex-direction:row;justify-content:center}.PSPDFKit-8ca9yy99yv6dw22x1rju3mhdb>.PSPDFKit-465fzcz7141apddhad1qk38m5n{width:auto} +.PSPDFKit-47zcsv3fwu5f5j1agedgk7s38h{cursor:pointer;display:block;height:40px;width:40px}.PSPDFKit-84pakzkccrn1sw838hggzcebe3{background:none;border:none;color:inherit}.PSPDFKit-73gasbj8rxtmc5mfcsd6kz1pnz{border:1px dashed #bec9d9;border:1px dashed var(--PSPDFKit-ElectronicSignatures-imagePicker-borderColor);border-radius:5px;cursor:pointer;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);height:263px;width:640px}@media(max-width:660px){.PSPDFKit-73gasbj8rxtmc5mfcsd6kz1pnz{width:500px}}@media(max-width:480px){.PSPDFKit-73gasbj8rxtmc5mfcsd6kz1pnz{height:163px;width:95%}}.PSPDFKit-46re49atn1q2cssy9hm43jv1d9,.PSPDFKit-7aga8jh8uu7qs1c39crzpzcny9{align-items:center;flex-direction:column;justify-content:center}.PSPDFKit-7aga8jh8uu7qs1c39crzpzcny9{margin-bottom:5rem}.PSPDFKit-64akqfkfe3yfh3psehrkhk11cn,.PSPDFKit-8p7hj7mrmswvdvz9dgac99kcbp{align-items:center;display:flex;flex-direction:column;justify-content:center}.PSPDFKit-8p7hj7mrmswvdvz9dgac99kcbp{color:#4636e3;color:var(--PSPDFKit-ElectronicSignatures-imagePicker-color);height:465px;padding-top:5rem}@media(max-width:480px){.PSPDFKit-8p7hj7mrmswvdvz9dgac99kcbp{height:368px}}.PSPDFKit-7p7qnahhw8p91ewfd4espwghse{max-height:100%;max-width:100%}.PSPDFKit-2y5be3xzgvqseyuzhcmm6vsx4z,.PSPDFKit-7d7x8413mymuchrw2nz2993mp7{background-color:#d3dcff;background-color:var(--PSPDFKit-ElectronicSignatures-imagePicker-draggingBackground);border:1px dashed #4636e3;border:1px dashed var(--PSPDFKit-ElectronicSignatures-imagePicker-draggingBorder)}.PSPDFKit-83fg6reutzs25txppbedtku6vc{margin-top:14px}.PSPDFKit-82vsn8dkv4nb7e9kgk5qp8xbgp{height:.1px;opacity:0;overflow:hidden;position:absolute;width:.1px}.PSPDFKit-6u72ac2hzryqdgq3x5wsufupt4{background:none;border:none;color:inherit;cursor:pointer;font-size:inherit;margin-bottom:28px}.PSPDFKit-5dt9dw8u46k56qmj8cuh4sh97h{margin-top:2rem} +.PSPDFKit-719ep6pyz562atwmhkacj3k3m6{-webkit-overflow-scrolling:touch;height:465px}@media(max-width:480px){.PSPDFKit-719ep6pyz562atwmhkacj3k3m6{height:368px;overflow:scroll;width:100%}}.PSPDFKit-3n31k66pdk1ftnkfsz9qyf4hw2{background-color:#fff;background-color:var(--PSPDFKit-TypingTab-container-background-color);height:45%}@media(max-width:480px){.PSPDFKit-3n31k66pdk1ftnkfsz9qyf4hw2{height:53%}}.PSPDFKit-8wj5zntp4dv3watzk8r2x89phc{display:flex;justify-content:flex-end;margin-left:auto;margin-right:auto;padding-top:1.625em;padding-top:var(--PSPDFKit-spacing-3);width:640px}@media(max-width:660px){.PSPDFKit-8wj5zntp4dv3watzk8r2x89phc{width:500px}}@media(max-width:480px){.PSPDFKit-8wj5zntp4dv3watzk8r2x89phc{padding-top:15px;width:100%}}.PSPDFKit-61amcd4h9urqydnusjka2n26zq span{fill:#000;fill:var(--PSPDFKit-TypingTab-Dropdown-ColorPicker-color)}.PSPDFKit-61amcd4h9urqydnusjka2n26zq:active,.PSPDFKit-61amcd4h9urqydnusjka2n26zq:focus,.PSPDFKit-61amcd4h9urqydnusjka2n26zq:hover,.PSPDFKit-61amcd4h9urqydnusjka2n26zq[data-focus-within]{background-color:#fff;background-color:var(--PSPDFKit-TypingTab-Dropdown-ColorPicker-background)}.PSPDFKit-61amcd4h9urqydnusjka2n26zq:focus-within{background-color:#fff;background-color:var(--PSPDFKit-TypingTab-Dropdown-ColorPicker-background)}.PSPDFKit-61amcd4h9urqydnusjka2n26zq div[role=button]{background-color:#fff;background-color:var(--PSPDFKit-TypingTab-Dropdown-ColorPicker-background)}.PSPDFKit-2drm1cp6n3kvyeazukdtmu95sc{height:20px;width:20px}.PSPDFKit-4ptevweskgj257y41s798h5jjb{display:block;margin-left:auto;margin-right:auto;width:640px}@media(max-width:660px){.PSPDFKit-4ptevweskgj257y41s798h5jjb{width:500px}}@media(max-width:480px){.PSPDFKit-4ptevweskgj257y41s798h5jjb{width:100%}}.PSPDFKit-7nwwdf84apx2b7hzp5dwzennx6{opacity:.5}.PSPDFKit-g4c1ts5y4vg7jfgqfpbfzejm3{background-color:inherit;border:none;caret-color:rgba(0,0,0,.5);font-size:41px;font-weight:700;height:86px;letter-spacing:.02em;margin-bottom:20px;margin-left:auto;margin-right:auto;max-height:86px;text-align:center}.PSPDFKit-g4c1ts5y4vg7jfgqfpbfzejm3,.PSPDFKit-g4c1ts5y4vg7jfgqfpbfzejm3:focus{border-bottom:.33px solid #848c9a;border-bottom:.33px solid var(--PSPDFKit-TypingTab-input-border)}.PSPDFKit-g4c1ts5y4vg7jfgqfpbfzejm3:focus{background:#fff;background:var(--PSPDFKit-TypingTab-input-isFocused-background)}@media speech{.PSPDFKit-g4c1ts5y4vg7jfgqfpbfzejm3:focus-visible{outline-color:initial;outline-offset:0;outline-style:auto}}@media(max-width:480px){.PSPDFKit-g4c1ts5y4vg7jfgqfpbfzejm3{width:95%}}.PSPDFKit-73vux44ggg8dap4rwv4kyjkhn3{align-items:flex-end;display:flex;flex-direction:row;height:30px;justify-content:center;padding-bottom:.5em}@media(max-width:480px){.PSPDFKit-73vux44ggg8dap4rwv4kyjkhn3{padding-bottom:.8em}}.PSPDFKit-3p7nz96bvsjsdgjw4c8kyj4398{color:#606671;color:var(--PSPDFKit-DrawingTab-signHere-color);left:0;right:auto;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-3ks1wb4nkwub2urv5f3f4u4yvj{border:none;color:#2b1cc1!important;color:var(--PSPDFKit-DrawingTab-deleteSignature-color)!important;padding:0;width:auto}.PSPDFKit-73vux44ggg8dap4rwv4kyjkhn3>.PSPDFKit-3ks1wb4nkwub2urv5f3f4u4yvj{width:auto}.PSPDFKit-3ks1wb4nkwub2urv5f3f4u4yvj,.PSPDFKit-3p7nz96bvsjsdgjw4c8kyj4398{position:inherit;text-align:center;top:auto;transition:opacity .2s linear,visibility .2s;width:100%}.PSPDFKit-qs3v152s7j26gqhj68c2q6bss{background-color:#f0f3f9;background-color:var(--PSPDFKit-TypingTab-fontFamilyPicker-background);border-top:1px solid #d8dfeb;border-top:1px solid var(--PSPDFKit-TypingTab-fontFamilyPicker-border);display:flex;flex-wrap:wrap;height:55%}@media(max-width:480px){.PSPDFKit-qs3v152s7j26gqhj68c2q6bss{border:none;display:block;height:47%;padding-bottom:80vh}}.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t{align-items:center;background-color:#f0f3f9;background-color:var(--PSPDFKit-TypingTab-fontFamilyPicker-background);border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-TypingTab-fontFamilyPicker-border);display:flex;flex:0 0 50%;flex-direction:row;font-size:30px;justify-content:flex-start;letter-spacing:.02em;line-height:20px;padding-left:3%}.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:hover{background-color:#fff;background-color:var(--PSPDFKit-TypingTab-fontFamily-isHovered-background)}@media(max-width:480px){.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t{height:100px}.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t label{height:2em;line-height:2em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:88%}.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-TypingTab-fontFamilyPicker-background)}}.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:nth-child(odd){border-right:1px solid #d8dfeb;border-right:1px solid var(--PSPDFKit-TypingTab-fontFamilyPicker-border)}@media(min-width:768px){.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:nth-child(odd).PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:nth-last-child(2){border-bottom:none}}@media(max-width:480px){.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:nth-child(odd){border-right:none}.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:nth-child(3){border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-TypingTab-fontFamilyPicker-border)}}.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:last-child{border-bottom:none}@media(max-width:480px){.PSPDFKit-8y4kczzw2wzt6m4hbr729kb92t:last-child{border-right:none}}.PSPDFKit-77g32ukjbbpdu75xgmdsyxjjhg{align-items:center;-webkit-appearance:none;-moz-appearance:none;border:2px solid #d8dfeb;border:2px solid var(--PSPDFKit-TypingTab-fontFamilyPicker-border);border-radius:50%;display:flex;flex-direction:row;flex-shrink:0;height:28px;justify-content:space-evenly;margin-right:32px;width:28px}@media(max-width:660px){.PSPDFKit-77g32ukjbbpdu75xgmdsyxjjhg{margin-right:3%}}.PSPDFKit-77g32ukjbbpdu75xgmdsyxjjhg:checked:before{background:#4636e3;background:var(--color-blue600);border-radius:50%;content:"";display:block;height:16px;margin:4px auto;width:16px}.PSPDFKit-5ua85syhm5ve22x5eyb9j4wkut{align-items:center;display:flex;height:100%} +.PSPDFKit-8pxcgwyzugpmx2y9hzc8mar5sx{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:1.625em;margin-bottom:var(--PSPDFKit-spacing-3)}.PSPDFKit-46bu8hmtxqnu6z2bfjmgu8yc12{color:#21242c;color:var(--PSPDFKit-ElectronicSignatures-modal-legend-color);font-size:1.125rem;font-size:var(--PSPDFKit-fontSize-4);font-weight:600;margin-left:1.625em;margin-left:var(--PSPDFKit-spacing-3);margin-top:1.625em;margin-top:var(--PSPDFKit-spacing-3)}.PSPDFKit-2xtks3w6gdnf916enx9j4pwpfu{margin-bottom:1.625em;margin-bottom:var(--PSPDFKit-spacing-3)}.PSPDFKit-4vs74kx4e13zumkps7tgue7ez,.PSPDFKit-2xtks3w6gdnf916enx9j4pwpfu{margin-right:1.625em;margin-right:var(--PSPDFKit-spacing-3);margin-top:1.625em;margin-top:var(--PSPDFKit-spacing-3)}.PSPDFKit-5aztmmhhz1251z37zr16w279dd{flex:1 1 auto;margin-left:1em;margin-left:var(--PSPDFKit-spacing-4);margin-right:1em;margin-right:var(--PSPDFKit-spacing-4);max-height:50vh;overflow:auto}@media(orientation:landscape)and (max-width:992px){.PSPDFKit-5aztmmhhz1251z37zr16w279dd{max-height:100%}} +.PSPDFKit-5jknctefe1bdrcw8ckp4c84xxz{display:flex;flex-direction:column;height:100vh;position:relative;width:100vw}@media(min-width:768px){.PSPDFKit-5jknctefe1bdrcw8ckp4c84xxz{border-radius:6px;height:calc(100vh - 64px);isolation:isolate;overflow:hidden;width:calc(100vw - 64px)}}.PSPDFKit-4pkhpangb13n8mmvw8ukdfhw4n{position:relative}.PSPDFKit-8am6zresjtqzubaax3ncbdkk65,.PSPDFKit-4m35g8jgpcwck6gzgr9fx9sj37>*{pointer-events:none}.PSPDFKit-8am6zresjtqzubaax3ncbdkk65{background:#fff;background:var(--PSPDFKit-DocumentEditor-moveDialog-background);border-radius:0 0 4px 4px;box-shadow:0 8px 16px rgba(0,0,0,.333);display:flex;flex-direction:column;opacity:0;overflow:hidden;position:absolute;right:0;top:100%;transform:translateY(-8px);transition-duration:.12s;transition-property:opacity,transform;width:375px;z-index:1}.PSPDFKit-7wm68x153yxrzfku2ccv6bng6w{border-radius:4px;left:50%;right:auto;top:12px;transform:translateX(-50%) translateY(-8px)}@media(min-width:1200px){.PSPDFKit-8am6zresjtqzubaax3ncbdkk65:not(.PSPDFKit-7wm68x153yxrzfku2ccv6bng6w){left:0;right:auto}}.PSPDFKit-78jn9e1vjnny6e5w7kbswqahdm{opacity:.98;pointer-events:all;transform:none}.PSPDFKit-78jn9e1vjnny6e5w7kbswqahdm.PSPDFKit-7wm68x153yxrzfku2ccv6bng6w{transform:translateX(-50%)}.PSPDFKit-8h6fy8n1ae1b2jzvx2bx945q5p{align-items:center;display:flex;font-size:15px;height:3.5rem;padding:12px}.PSPDFKit-2q7tsdrjbypfd7mwu6hbfdnmqn{flex:1}.PSPDFKit-7ja4pzq1aasqwczs6cw41n68nw{-moz-appearance:textfield;background:#fff;background:var(--PSPDFKit-DocumentEditor-moveDialogFormInput-background);border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-DocumentEditor-moveDialogFormInput-borderColor);border-radius:3px;box-shadow:inset 0 1px 2px rgba(0,0,0,.2);color:inherit;font:inherit;height:100%;padding:0 8px;width:64px}.PSPDFKit-7ja4pzq1aasqwczs6cw41n68nw::-webkit-inner-spin-button,.PSPDFKit-7ja4pzq1aasqwczs6cw41n68nw::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.PSPDFKit-86an2z1e8c3rstpug6xhqbrz92{font-weight:500;height:100%;margin-left:12px;padding:0 20px}.PSPDFKit-86an2z1e8c3rstpug6xhqbrz92:disabled{opacity:.5}.PSPDFKit-7nbf67rhjsg7k4gsdmg33muhjb{background:#f0f3f9;background:var(--PSPDFKit-DocumentEditor-moveDialogHint-background);padding:6px 12px;white-space:normal}.PSPDFKit-2mh89kckyg3qpesbhuwrcrw9rd{color:#848c9a;color:var(--PSPDFKit-DocumentEditor-moveDialogHintText-color);font-size:13px;margin:0}.PSPDFKit-4qc12j3k5rawv8wqf56u3q8k4b{background:#f0f3f9;background:var(--PSPDFKit-DocumentEditor-pagesView-background);flex:1;overflow:auto;position:relative}.PSPDFKit-87xjjuqyeg5kxzvrh4nak5jkrs{align-items:center;display:flex;font-size:1.125rem;font-size:var(--PSPDFKit-fontSize-4);font-weight:700}.PSPDFKit-832dwy6tmpr3u59345n392d5kp{position:relative}.PSPDFKit-ufnr5vdahbxdpe2583xyak7wk{background:#fff}.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t{align-items:center;background:#fff;display:flex;flex-direction:column;justify-content:center;padding:24px;position:relative}.PSPDFKit-7mtmexx6nf2jzpxs9vv5ukyjhk{background:#4636e3;border-radius:50%;color:#fff;height:64px;padding:12px;width:64px}.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe .PSPDFKit-7mtmexx6nf2jzpxs9vv5ukyjhk{height:32px;padding:6px;width:32px}.PSPDFKit-3hs8zjffpgsz41nr4dp7ybdkt5{color:rgba(0,0,0,.8);display:none;margin-top:24px}.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe):after,.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe):before{background:transparent;box-shadow:0 1px 2px rgba(0,0,0,.25);content:"";left:0;position:absolute;top:0;width:100%}.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe):before{height:calc(100% - 6px)}.PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe):after{height:calc(100% - 3px)}.PSPDFKit-5yvxb7rnpjz9pacz8czkc32f8y .PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe) .PSPDFKit-491vbmcbxhae4fwryx7hsht2wh{height:80px;padding:16px;width:80px}.PSPDFKit-5yvxb7rnpjz9pacz8czkc32f8y .PSPDFKit-36mc2jhmhw8s6j455stsmh6k7t:not(.PSPDFKit-bx6vky4fzf7e375qv4fgmyffe) .PSPDFKit-2q199y39wutn5mwnfxjd4juxqq{display:initial}.PSPDFKit-8cajckh5v3zfxfj9hpdytffrv9 .PSPDFKit-5nnn6safhgnqp45k1gnacbs5b9{box-shadow:0 0 0 4px #5e5ceb}.PSPDFKit-7hskkg7c42g4u1gxydpvnhrare{background:rgba(0,0,0,.3);border-radius:6px;color:#fff;font-weight:700;margin-top:16px;padding:4px 24px;text-shadow:0 2px 3px rgba(0,0,0,.5);transition:background 40ms linear}.PSPDFKit-8cajckh5v3zfxfj9hpdytffrv9 .PSPDFKit-7hskkg7c42g4u1gxydpvnhrare{background:#5e5ceb}.PSPDFKit-267ekkrqhchqasjegw4gdy4gr3{align-items:center;background-color:#5e5ceb;background-color:var(--PSPDFKit-DocumentEditor-pagesSelectedIndicator-background);border-radius:3px;color:#fff;cursor:default;display:none;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);height:37px;opacity:0;padding:0 12px 0 8px;text-shadow:0 1.5px 3px rgba(0,0,0,.3);-webkit-user-select:none;-ms-user-select:none;user-select:none}@media(min-width:768px){.PSPDFKit-267ekkrqhchqasjegw4gdy4gr3{display:flex}}.PSPDFKit-7dep96m3dt6f6m6ggtsdvejn1b{opacity:1}.PSPDFKit-czbss4f5tejzb3s7rydnxdc6g{height:24px;margin-right:4px;width:24px}.PSPDFKit-8rq6e51mxrxdrszuexbb2cnxhy{align-items:center;background:#fcfdfe;background:var(--PSPDFKit-DocumentEditor-bottomBar-background);display:flex;flex-shrink:0;height:66px;padding:0 24px;position:relative}.PSPDFKit-8rq6e51mxrxdrszuexbb2cnxhy>:not(:last-child){margin-right:16px}.PSPDFKit-397h62jvayz1wt2xp2cz2ekmmw{flex:1}.PSPDFKit-7egcdrn8t9zxr4h4f3tqd6a6q9{overflow:visible!important}.PSPDFKit-5mgaebuj6tj1kbvvkf42rphvab{display:flex;justify-content:flex-start;overflow:visible;width:100%}.PSPDFKit-7mbngz46jn2pabmnth6t7hsds1{opacity:.8;position:relative}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj>*{box-shadow:0 2px 4px rgba(0,0,0,.2);position:absolute}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :first-child{position:static}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :nth-child(2){left:8px;top:8px}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :nth-child(3){left:16px;top:16px}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :nth-child(4){left:24px;top:24px}.PSPDFKit-7bbxybqv7gn2ruj7drnnj7fqgj :nth-child(5){left:32px;top:32px}.PSPDFKit-339r3xtmjz8gs5vpsy5ncb75nb{background:#5f5af4;border-radius:100px;box-shadow:0 2px 4px rgba(0,0,0,.2);color:#fff;left:4px;padding:.1em 1em;position:absolute;top:4px} +.PSPDFKit-3jpjxq56vk2un8ub8pje71u85a{background:transparent;padding:0}.PSPDFKit-68rzfs8a4kxm2sv4wxbhvjjsk4{display:flex;flex-direction:column;height:calc(100vh - 64px);max-height:320px;max-width:640px;width:calc(100vw - 120px)}.PSPDFKit-8a6esc3kchamvphrc23c4bjcxn{align-items:center;background:#f0f3f9;display:flex;flex:1;justify-content:center} +.PSPDFKit-6wj1ne12vnarkud1xme1m8q59e{background:#f0f3f9;background:var(--PSPDFKit-AnnotationToolbar-background);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3)}.PSPDFKit-8dvj6jpqdurcexw9s38nyrdusm{width:100%}.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w{align-items:center;border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);display:flex;flex:2;flex-direction:row;height:44px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-2nxj8qm7t143fbftj5wc5fkpmh,.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w{align-items:center;display:flex;flex-grow:1}.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w,.PSPDFKit-width-sm .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w,.PSPDFKit-width-xs .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-2nxj8qm7t143fbftj5wc5fkpmh,.PSPDFKit-width-sm .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-2nxj8qm7t143fbftj5wc5fkpmh,.PSPDFKit-width-xs .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-2nxj8qm7t143fbftj5wc5fkpmh{flex:initial;justify-content:flex-end}.PSPDFKit-width-md .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w,.PSPDFKit-width-sm .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w,.PSPDFKit-width-xs .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w{flex-direction:row;justify-content:flex-start}.PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w.PSPDFKit-5whgpdfnjnj445bw24d7d2eepu{flex-direction:row}.PSPDFKit-qg3hbxzy2wa7d7kn2kyb5hfg6 .PSPDFKit-ng2p7yzx55dk3e8yd33ucyq3w{border-bottom:none;border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-AnnotationToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-fw1d4hymsqsunxnj7htn2vejg{align-items:center;height:44px}.PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc{align-items:center;display:flex;flex-wrap:wrap;min-height:44px}.PSPDFKit-width-md .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc,.PSPDFKit-width-sm .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc,.PSPDFKit-width-xs .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc{margin-right:6px}.PSPDFKit-8p1jwd1vdxc1uu5kv9x8p6kgp5{height:32px}.PSPDFKit-4tf1hj3ua2348x3vfjq2ckjdzj button{height:32px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-698j5mv28ddfb1zzrmuuvu4bgt{align-items:center;width:100%}.PSPDFKit-698j5mv28ddfb1zzrmuuvu4bgt,.PSPDFKit-8rw1bsyhe4kbrshjzkbxn2pxt9{display:flex;flex-direction:column}.PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn{margin:0 8px}.PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn:last-child{display:none}.PSPDFKit-width-md .PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn,.PSPDFKit-width-sm .PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn,.PSPDFKit-width-xs .PSPDFKit-2p1w8qyfeab7u2r61e5xm9basn{display:none}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693{display:flex;flex:1}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan{align-content:center;align-items:center;display:flex;justify-content:center}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh),.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh),.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh){cursor:default}.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc{display:none}.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8sgpeb7apq77q6pg14srm485gf,.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8sgpeb7apq77q6pg14srm485gf,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8sgpeb7apq77q6pg14srm485gf,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{cursor:pointer}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-2rtyr394stgbvv5j9jd2mrzx4w{display:none}.PSPDFKit-width-md .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-2rtyr394stgbvv5j9jd2mrzx4w,.PSPDFKit-width-sm .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-2rtyr394stgbvv5j9jd2mrzx4w,.PSPDFKit-width-xs .PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-2rtyr394stgbvv5j9jd2mrzx4w{display:block}.PSPDFKit-7x5nveetga7f3u3eyhc2y9z693 .PSPDFKit-cvx8h4gvhqzqc8bb9wcmvaxnc{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;line-height:0}.PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t{align-items:center;display:flex;height:100%;min-width:100px}.PSPDFKit-width-md .PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t,.PSPDFKit-width-sm .PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t,.PSPDFKit-width-xs .PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t{display:none}.PSPDFKit-56zf8cu97f7wx6varc1jbjbc1t button{height:32px}.PSPDFKit-322qz987bpbdyu82atqpttzvvy,.PSPDFKit-3spwsrcuq4a58mafezc2hew2hm{align-items:center;display:flex;height:32px;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-width-md .PSPDFKit-322qz987bpbdyu82atqpttzvvy,.PSPDFKit-width-sm .PSPDFKit-322qz987bpbdyu82atqpttzvvy,.PSPDFKit-width-xs .PSPDFKit-322qz987bpbdyu82atqpttzvvy{display:none}.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e{align-items:center;display:flex}.PSPDFKit-5g195rx1hwggkduwfaghaguwp8,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e{height:32px}.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 circle,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 line,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 path,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 polygon,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 polyline,.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 rect,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 circle,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 line,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 path,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 polygon,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 polyline,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 rect,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e circle,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e line,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e path,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e polygon,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e polyline,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e rect{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke)}.PSPDFKit-5g195rx1hwggkduwfaghaguwp8 button,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6 button,.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e button{height:32px}.PSPDFKit-5g195rx1hwggkduwfaghaguwp8,.PSPDFKit-4h81esfk99wjjw1j1e4evv86k6{width:64px}.PSPDFKit-width-md .PSPDFKit-4h81esfk99wjjw1j1e4evv86k6,.PSPDFKit-width-sm .PSPDFKit-4h81esfk99wjjw1j1e4evv86k6,.PSPDFKit-width-xs .PSPDFKit-4h81esfk99wjjw1j1e4evv86k6{left:0;right:auto!important}.PSPDFKit-8vcucy3gdsu18nrccy3sfz6e8e{width:96px}.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he{height:32px}.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he:hover,.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he[data-focus-within]{background:transparent}.PSPDFKit-4evwmwkh2v68zx97dy8htnw1he:focus-within{background:transparent}.PSPDFKit-47tvrbutrws584y86zkht7ugrh{align-items:center;background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);border:1px solid #d8dfeb;border:1px solid var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border);border-radius:3px;color:#848c9a;color:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color);cursor:pointer;display:flex;height:32px;justify-content:space-between;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6);padding:0.46875em;padding:var(--PSPDFKit-spacing-7);width:55px}.PSPDFKit-47tvrbutrws584y86zkht7ugrh span{fill:#848c9a;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color)}.PSPDFKit-47tvrbutrws584y86zkht7ugrh:hover:not(.PSPDFKit-3z6z4mnx2mybf2dduwbnu4ghbx),.PSPDFKit-47tvrbutrws584y86zkht7ugrh[data-focus-within]{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-47tvrbutrws584y86zkht7ugrh:hover:not(.PSPDFKit-3z6z4mnx2mybf2dduwbnu4ghbx) span,.PSPDFKit-47tvrbutrws584y86zkht7ugrh[data-focus-within] span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}.PSPDFKit-47tvrbutrws584y86zkht7ugrh:focus-within{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background)}.PSPDFKit-47tvrbutrws584y86zkht7ugrh:focus-within span{fill:#090c12;fill:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color)}@media(max-width:1080px)and (min-width:992px){.PSPDFKit-7dcpygp7ucqsxtt8jqu8wqaek8{width:100px}}.PSPDFKit-8sgpeb7apq77q6pg14srm485gf,.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-button-color);flex-shrink:0}.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-74uqksjtt33kw457gbgm6cjhar,.PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:0!important;border-right:1px solid #bec9d9!important;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important}.PSPDFKit-width-md .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-md .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-md .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6,.PSPDFKit-width-md .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-74uqksjtt33kw457gbgm6cjhar,.PSPDFKit-width-md .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-md .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-sm .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-sm .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-sm .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6,.PSPDFKit-width-sm .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-74uqksjtt33kw457gbgm6cjhar,.PSPDFKit-width-sm .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-sm .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-xs .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-xs .PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-xs .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6,.PSPDFKit-width-xs .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-74uqksjtt33kw457gbgm6cjhar,.PSPDFKit-width-xs .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-xs .PSPDFKit-74uqksjtt33kw457gbgm6cjhar.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border)!important;border-right:0!important}.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt,.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:0!important;border-right:0!important}.PSPDFKit-width-md .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt,.PSPDFKit-width-md .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-md .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-sm .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt,.PSPDFKit-width-sm .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-sm .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-width-xs .PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt,.PSPDFKit-width-xs .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-width-xs .PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important}.PSPDFKit-width-lg .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-lg .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-lg .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-lg .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-lg .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-lg .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-lg .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-lg .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-lg .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-lg .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-lg .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-lg .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-xl .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-xl .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-xl .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-xl .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-xl .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-xl .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-xl .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-xl .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover,.PSPDFKit-width-xl .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc).PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-width-xl .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):active,.PSPDFKit-width-xl .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):focus,.PSPDFKit-width-xl .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:not(.PSPDFKit-2ztmuxhn7vkbcnujg5fjs2nxk6) :not(.PSPDFKit-74uqksjtt33kw457gbgm6cjhar) :not(.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp) :not(.PSPDFKit-67pvyt6s62cm85bnpjx6pbnnxh) :not(.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b) :not(.PSPDFKit-26sazeqcf3gq4uzpnpv7rxy5tc):hover{background:transparent!important}.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf:active,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf:focus,.PSPDFKit-8sgpeb7apq77q6pg14srm485gf:hover,.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:active,.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:focus,.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:hover,.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:active,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:focus,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-7ksmq2q9vqb2a84h6pknr59vq,.PSPDFKit-4frspfy8ydaf2dspz1w2fe24sm{cursor:not-allowed;opacity:.2;pointer-events:none}.PSPDFKit-6a17y1zq5nmhnd7rsvvnnp3u82{border:0!important;color:#3d424e!important;color:var(--PSPDFKit-AnnotationToolbar-icon-color)!important;display:flex!important;pointer-events:auto!important}.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp{cursor:pointer!important;height:44px;min-width:44px;padding:0 11px}.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp:active,.PSPDFKit-3j7ttk21fapf4hjzymwfaax2pp:hover{background:#d8dfeb;background:var(--PSPDFKit-AnnotationToolbar-button-isHovered-background)}.PSPDFKit-2kd6b54vbgtjvjpw1vfjnz3gxa{outline:2px solid #4636e3;outline:2px solid var(--PSPDFKit-AnnotationToolbar-button-outline)}.PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan:first-child .PSPDFKit-8sgpeb7apq77q6pg14srm485gf:first-child,.PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan:first-child .PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:first-child,.PSPDFKit-4m86pvrmtk7xh9sv3z47hqfan:first-child .PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:first-child{border-left:none!important}.PSPDFKit-5ju67k328yc7tj3jx5vxn2tn9q{line-height:normal;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-4rm6x2vr78j36rwf82x8zcfxaf{background:#fff;background:var(--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background);box-shadow:none;padding:0}.PSPDFKit-2jdyb25hw79fahb16kjd7nuauu{align-items:center;background:#ffc78f;background:var(--PSPDFKit-AnnotationToolbar-warning-icon-background);border-radius:3px;box-shadow:0 .75px 1.5px 0 rgba(0,0,0,.15);cursor:pointer;display:flex;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);gap:10px;margin:0 0.46875em;margin:0 var(--PSPDFKit-spacing-7);padding:4px 0.8125em;padding:4px var(--PSPDFKit-spacing-5)}.PSPDFKit-6gnk29arwa3bmx79suwfyneh29{height:16px;width:16px}.PSPDFKit-76w7jmjqqnsz53a6hk7gjuqjfv{width:max-content}.PSPDFKit-7xact8a8nm7egrfqd6jm8dexja{box-sizing:initial;display:flex;flex-flow:row wrap;padding:10px}.PSPDFKit-5swkhzjuhg7a1yzus1srcazf4{align-items:center;border:none;border-radius:5px;height:30px;justify-content:center;min-width:30px;padding:0}.PSPDFKit-5swkhzjuhg7a1yzus1srcazf4,.PSPDFKit-6j136ndjfdbtgth4w1223r3b8v{display:flex}.PSPDFKit-53pmrz6mhqkv25rduwt3r74tdf{height:20px;width:20px}.PSPDFKit-6kht9xjauanscqhyehtvh2m7kf,.PSPDFKit-64qwd21qw14a1hs2qywq9dktfv{stroke:#4d525d;stroke:var(--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke);stroke-width:1px;align-items:center;display:flex;padding:10px}.PSPDFKit-51ppvqecyde7wtftnkhpvreywa{display:none}.PSPDFKit-width-md .PSPDFKit-51ppvqecyde7wtftnkhpvreywa,.PSPDFKit-width-sm .PSPDFKit-51ppvqecyde7wtftnkhpvreywa,.PSPDFKit-width-xs .PSPDFKit-51ppvqecyde7wtftnkhpvreywa{align-items:center;display:block;margin-right:0.609em;margin-right:var(--PSPDFKit-spacing-6)}.PSPDFKit-47ujkffabzpr19w6jed6s7rn8s,.PSPDFKit-79wa34vt8h1dey55mwshznckvh{align-items:center;display:flex}.PSPDFKit-width-md .PSPDFKit-59kfug1yak6p54pbhwzyzp8nqv,.PSPDFKit-width-sm .PSPDFKit-59kfug1yak6p54pbhwzyzp8nqv,.PSPDFKit-width-xs .PSPDFKit-59kfug1yak6p54pbhwzyzp8nqv{align-items:center}.PSPDFKit-2bv4uu555xwcfzm4cbz9xw1575,.PSPDFKit-7y73pgnyhcbyab2r86s5wpf3tq{margin-right:10px}.PSPDFKit-width-md .PSPDFKit-7y73pgnyhcbyab2r86s5wpf3tq,.PSPDFKit-width-sm .PSPDFKit-7y73pgnyhcbyab2r86s5wpf3tq,.PSPDFKit-width-xs .PSPDFKit-7y73pgnyhcbyab2r86s5wpf3tq{margin-right:0}.PSPDFKit-3n3jywv8np58aypaxcq1dxaka4{align-items:center;display:inline-flex}.PSPDFKit-7h2nqj8dz99huxsdvz85vzqtkv{align-self:center;color:#3d424e;color:var(--PSPDFKit-AnnotationToolbar-label-color);padding:0 11px}.PSPDFKit-width-xs .PSPDFKit-3sskmdn9q2pttd7gnbgtfx1svm{max-width:110px}.PSPDFKit-5161whx8v77nvzdxwn92nren7h{align-items:center;display:flex;flex-wrap:wrap;line-height:0}.PSPDFKit-35zv6qfn2dk55st59jvbvkebe4{align-items:center;border-right:1px solid #bec9d9;border-right:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);display:flex;min-height:44px;padding-left:5px;padding-right:5px}@media(max-width:992px){.PSPDFKit-35zv6qfn2dk55st59jvbvkebe4{border-left:1px solid #bec9d9;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-isDeselected-border);border-right:none;max-width:70px}}.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b{background-color:#fff;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-background);border-radius:3px;box-shadow:0 .75px 1.5px rgba(0,0,0,.15);color:#000;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-color);display:flex;height:28px;white-space:nowrap}.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b:active,.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b:focus,.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b:hover{background-color:#4636e3;background-color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background);color:#fff;color:var(--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color);filter:drop-shadow(0 1px 1px rgba(0,0,0,.15))}@media(max-width:992px){.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b{border-left:none!important;justify-content:flex-start;max-width:60px}.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b span{max-width:60px;overflow-x:hidden}.PSPDFKit-8sgpeb7apq77q6pg14srm485gf.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b,.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376,.PSPDFKit-wnrcu53f16qwbavnhtrcsrvtt.PSPDFKit-4jweuxb68jk1sdm8kfuh5e2v3b.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{border-left:none!important}}.PSPDFKit-6zcvxqm7p1fu6peaqcvy1ggxur{display:inline-flex}.PSPDFKit-87rtaenbkbsa4vh76fdk49yn3{border-left:1px solid #bec9d9!important;border-left:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)!important;padding:0 0.8125em;padding:0 var(--PSPDFKit-spacing-5)}.PSPDFKit-7n79z1dfc6drdkd4q859desfw4{margin-left:4px}.PSPDFKit-7h73prxvatb9v6feg135wrgpnu{flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem,.PSPDFKit-width-sm .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem,.PSPDFKit-width-xs .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem{flex-direction:row;overflow-x:auto}.PSPDFKit-width-md .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w,.PSPDFKit-width-sm .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w,.PSPDFKit-width-xs .PSPDFKit-7ftvxz7pwnjfrf9p9bvx4kdaem .PSPDFKit-8hmxpj5ufr2dmugsrzsfj5w24w{flex-basis:0;flex-direction:row-reverse}.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn{cursor:pointer;display:inline-flex;height:100%;margin:0;padding:10px}.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn.PSPDFKit-36xa88kvhztmqf3w9bw4r5ux2b,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:active,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:focus,.PSPDFKit-5pby2mjv6be8mvvy41rpp7dkwn:hover{background-color:#f0f3f9;background-color:var(--PSPDFKit-AnnotationToolbar-background);border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-AnnotationToolbar-button-border)}.PSPDFKit-5zxmaq2rs3z7z1ycb76vnfp8s7 span{align-items:center;display:flex;justify-content:center}.PSPDFKit-2zcrcumxc9rs6exf4ygg6wxhud{align-items:center;border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-CropToolbarComponent-border);box-shadow:0 1px 2px rgba(0,0,0,.1);flex-direction:row;height:44px;justify-content:space-between;padding:0 12px}.PSPDFKit-4su7z3fj53danm9m8sfmsun6mh,.PSPDFKit-2zcrcumxc9rs6exf4ygg6wxhud,.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9{display:flex}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9{align-items:center;color:#4d525d;color:var(--PSPDFKit-CropToolbarComponent-text-color);cursor:pointer;height:44px;justify-content:center;padding-left:10px;padding-right:10px;transition:background-color .15s}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9:not(:last-child){border-right:1px solid #bec9d9;border-right:1px solid var(--PSPDFKit-CropToolbarComponent-button-isDeselected-border)}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9:hover:not([aria-disabled=true]){background-color:#d8dfeb!important;background-color:var(--PSPDFKit-CropToolbarComponent-button-isHovered-backgroundColor)!important}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9:first-of-type{border-left:none!important;padding-left:0}.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9 span,.PSPDFKit-3fqbszrmhfm53fj9m672rspbb9 svg{align-items:center;display:flex;height:32px}.PSPDFKit-3yfe86869dr14nnq3hdqmpstt3{cursor:not-allowed;opacity:.5}.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376{border:1px solid!important;border-color:#bec9d9!important;border-color:var(--PSPDFKit-CropToolbarComponent-button-borderColor)!important;border-radius:3px;cursor:pointer;padding:0 20px;transition:border-color .15s}.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376:hover{border:1px solid!important;border-color:#3d424e!important;border-color:var(--PSPDFKit-CropToolbarComponent-button-isHovered-borderColor)!important}.PSPDFKit-8cc6ksf43ant6wkp5gxwmyn376 span{align-items:center;display:flex;height:32px}.PSPDFKit-5q4w3drt2wva22st2m2zv3jdy9{display:block}.PSPDFKit-46c99tbpsdnq21yere2qsvz9cs{align-items:center;border-left:1px solid #bec9d9;border-left:1px solid var(--PSPDFKit-CropToolbarComponent-button-isDeselected-border);display:none;justify-content:center;padding-left:0;padding-right:0}.PSPDFKit-5uhy32eduhqeagjxsx8v1dsupn{display:block}.PSPDFKit-89hzg3dmpqdp1bb33by963n2me{display:none!important}@media(max-width:768px){.PSPDFKit-5q4w3drt2wva22st2m2zv3jdy9{display:none}.PSPDFKit-46c99tbpsdnq21yere2qsvz9cs{display:flex;width:47px}.PSPDFKit-46c99tbpsdnq21yere2qsvz9cs svg{stroke-width:2px;height:17px;width:17px}.PSPDFKit-2zcrcumxc9rs6exf4ygg6wxhud{padding:0}.PSPDFKit-5uhy32eduhqeagjxsx8v1dsupn{display:none!important}.PSPDFKit-89hzg3dmpqdp1bb33by963n2me{display:flex!important}} +.PSPDFKit-5u5zg1p821mpfkbnn2k5uwyj5f{background-color:#f6f8fa;background-color:var(--PSPDFKit-MagnifierComponent-background);border:1px solid #000;border:1px solid var(--PSPDFKit-MagnifierComponent-magnifierContainer-borderColor);border-radius:50%;box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px var(--PSPDFKit-MagnifierComponent-magnifierContainer-boxShadow);height:174px;overflow:hidden;position:fixed;right:30px;top:118px;width:174px}.PSPDFKit-8wd7v7mnz2rcxvt87ua26mzc6b{height:136px;right:15px;top:103px;width:136px}.PSPDFKit-5nkfqsjv5yud4v1dqua4t23fay{position:absolute}.PSPDFKit-5nkfqsjv5yud4v1dqua4t23fay img{image-rendering:pixelated}.PSPDFKit-browser-engine-gecko .PSPDFKit-5nkfqsjv5yud4v1dqua4t23fay img{image-rendering:crisp-edges}.PSPDFKit-4ucp3vtq371cyq6rjfnyr48ke9{height:100%;left:0;position:absolute;top:0;width:100%}.PSPDFKit-2mrwgj2fjj6868616ds613yrym{stroke:#d8dfeb;stroke:var(--PSPDFKit-MagnifierComponent-magnifierGrid-stroke);fill:none}.PSPDFKit-7sk5hhk6ycrf96cdxc48xy41us{stroke:#fff;stroke:var(--PSPDFKit-MagnifierComponent-magnifierCenterOutlineStroke-stroke);fill:none}.PSPDFKit-4cc9nv4wau5sr77yxnn4p9c6vn{stroke:#000;stroke:var(--PSPDFKit-MagnifierComponent-magnifierCenterStroke-stroke);fill:none}.PSPDFKit-61a71yusrshwesstskqk1ts821,.PSPDFKit-zd3q5csyfkc4sst1n5gwd6ynd{border-radius:10px;font-size:12px;height:20px;left:50%;line-height:20px;min-width:100px;position:absolute;top:75%;transform:translate(-50%,-50%)}.PSPDFKit-61a71yusrshwesstskqk1ts821{background-color:#848c9a;background-color:var(--PSPDFKit-MagnifierComponent-magnifierZoomValue-backgroundColor);mix-blend-mode:multiply}.PSPDFKit-zd3q5csyfkc4sst1n5gwd6ynd{color:#fff;color:var(--PSPDFKit-MagnifierComponent-magnifierZoomValue-color);text-align:center} +.PSPDFKit-3j4jdq7qz2dwxa1279k9vazwef{display:flex;flex-direction:row;opacity:.5;padding-right:24px}.PSPDFKit-69m56fu4j9n82gdbujywja2gvt .PSPDFKit-3j4jdq7qz2dwxa1279k9vazwef,.PSPDFKit-3j4jdq7qz2dwxa1279k9vazwef.PSPDFKit-8eej8fpcv5wjeexf54uv82ajge{opacity:1}.PSPDFKit-5ryk8gx2yq84us8ukyczpsxy3m{align-items:center;display:flex;flex-wrap:nowrap;justify-content:center}.PSPDFKit-8rqw29ppj2w4yuvy43x1xrr11j{opacity:.5;padding:0 24px}.PSPDFKit-8rqw29ppj2w4yuvy43x1xrr11j.PSPDFKit-2we2fxduv62wzemn8q1msf1mgz{padding:0 8px}.PSPDFKit-4dxpfmdzs1ahjnhcn4j2824q7j{opacity:1}.PSPDFKit-xy1ab3hf7etfk3xyw2jg4queq{background-color:#bec9d9;background-color:var(--PSPDFKit-DocumentComparisonToolbar-separator-background);height:1px;margin:0 4px;width:24px}.PSPDFKit-3wymx3u415ps1255jfa43bguba{align-items:center;display:flex;height:20px;justify-content:center;width:20px}.PSPDFKit-4a9v7b75g9brahh3mp79eahacf{align-items:center;border-right:1px solid #d8dfeb;border-right:1px solid var(--PSPDFKit-DocumentComparisonToolbar-tab-border);color:#3d424e;color:var(--PSPDFKit-DocumentComparisonToolbar-label-color);cursor:pointer;display:flex;flex-direction:row;height:100%;justify-content:space-between}.PSPDFKit-4a9v7b75g9brahh3mp79eahacf .PSPDFKit-4negp1qnzp2hght5fzzkb948bq{max-width:21px;overflow:hidden}.PSPDFKit-4a9v7b75g9brahh3mp79eahacf .PSPDFKit-4negp1qnzp2hght5fzzkb948bq.PSPDFKit-4aha149mn5fr2qf7nm9vv3s1e8{max-width:0}.PSPDFKit-8vq8197jb1dah7zkt2cj4puza6{height:15px;width:15px}.PSPDFKit-8vq8197jb1dah7zkt2cj4puza6 svg{stroke-width:3px}.PSPDFKit-5vyjan5cx19u6zqmpkyk5y6n4m circle{fill:#4636e3;fill:var(--PSPDFKit-DocumentComparisonToolbar-checkMark-fill)}.PSPDFKit-5vyjan5cx19u6zqmpkyk5y6n4m path{stroke:#fff;stroke:var(--PSPDFKit-DocumentComparisonToolbar-checkMark-stroke)}.PSPDFKit-8y45regm71axdj29fvpdnyyqw9 circle{fill:#89bd1c;fill:var(--PSPDFKit-DocumentComparisonToolbar-documentCheckMark-fill)}.PSPDFKit-8y45regm71axdj29fvpdnyyqw9 path{stroke:#fff;stroke:var(--PSPDFKit-DocumentComparisonToolbar-documentCheckMark-stroke)}.PSPDFKit-8kjh85hafnnbaywytk891yszzy circle{fill:#bec9d9;fill:var(--PSPDFKit-DocumentComparisonToolbar-referencePoint-fill)}.PSPDFKit-8kjh85hafnnbaywytk891yszzy text{stroke:#2b2e36;stroke:var(--PSPDFKit-DocumentComparisonToolbar-referencePointText-stroke);fill:#2b2e36;fill:var(--PSPDFKit-DocumentComparisonToolbar-referencePointText-fill)}.PSPDFKit-5u4fqe6u9h9335r2untkufbfcj circle{fill:#4636e3;fill:var(--PSPDFKit-DocumentComparisonToolbar-referencePointSet-fill)}.PSPDFKit-5u4fqe6u9h9335r2untkufbfcj text{stroke:#fff;stroke:var(--PSPDFKit-DocumentComparisonToolbar-referencePointSetText-stroke);fill:#fff;fill:var(--PSPDFKit-DocumentComparisonToolbar-referencePointSetText-fill)}.PSPDFKit-3a6ss6w8kz4a9bg1ppdxs9wfjn{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-3a6ss6w8kz4a9bg1ppdxs9wfjn.PSPDFKit-4ws5865r8ddf7waw5w994xbgka{padding-right:2px}.PSPDFKit-63wgvxgkew5y5nngyepzsvu4me{padding-right:3px}.PSPDFKit-69m56fu4j9n82gdbujywja2gvt{background-color:#f6f8fa;background-color:var(--PSPDFKit-DocumentComparisonToolbar-tab-active-background)}.PSPDFKit-69m56fu4j9n82gdbujywja2gvt .PSPDFKit-4negp1qnzp2hght5fzzkb948bq,.PSPDFKit-69m56fu4j9n82gdbujywja2gvt .PSPDFKit-4negp1qnzp2hght5fzzkb948bq.PSPDFKit-4aha149mn5fr2qf7nm9vv3s1e8{max-width:none}.PSPDFKit-5g2uumfazey6jk28fuu62t1ku1{background:#f0f3f9;background:var(--PSPDFKit-DocumentComparisonToolbar-background);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);position:absolute;width:100%;z-index:1}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4{border-bottom:1px solid #bec9d9;border-bottom:1px solid var(--PSPDFKit-DocumentComparisonToolbar-border);box-shadow:0 1px 2px rgba(0,0,0,.1);flex:2;flex-direction:row;-webkit-user-select:none;-ms-user-select:none;user-select:none}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4,.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p,.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r{align-items:center;display:flex;height:44px;width:100%}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p,.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r{flex-grow:1;justify-content:space-between}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r{flex-direction:row-reverse;justify-content:flex-start}.PSPDFKit-width-md .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4,.PSPDFKit-width-sm .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4,.PSPDFKit-width-xs .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4{flex:1;flex-direction:row-reverse}.PSPDFKit-width-md .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p,.PSPDFKit-width-sm .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p,.PSPDFKit-width-xs .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-46dnp15jxsmbmfb4w9u1ffee2p{align-items:center;height:44px}.PSPDFKit-width-md .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r,.PSPDFKit-width-sm .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r,.PSPDFKit-width-xs .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4 .PSPDFKit-3bsbcmmu6v14v6bf89hvv51u6r{flex-direction:row;justify-content:flex-start}.PSPDFKit-49apg3ban7f6z5tha93nkbxpj4.PSPDFKit-54wvq7waj941tcr6uq8dg63zsm{flex-direction:row}.PSPDFKit-84kxsxx785v52177eqww89wnfu{bottom:44px}.PSPDFKit-84kxsxx785v52177eqww89wnfu .PSPDFKit-49apg3ban7f6z5tha93nkbxpj4{border-bottom:none;border-top:1px solid #bec9d9;border-top:1px solid var(--PSPDFKit-DocumentComparisonToolbar-border);box-shadow:0 -1px 2px rgba(0,0,0,.1)}.PSPDFKit-7vccbh9nhre14pssj1cjg5ykph{align-items:center}.PSPDFKit-7vccbh9nhre14pssj1cjg5ykph,.PSPDFKit-6q2z53f1kt5u3frhayfupey174{display:flex;justify-content:space-between}.PSPDFKit-6q2z53f1kt5u3frhayfupey174{flex-wrap:nowrap;height:100%}.PSPDFKit-6qd7xqnwwt5spedkqzrq2xxd1y,.PSPDFKit-v7w7h5tnf2m47yzqtd84h1drm,.PSPDFKit-kfexhdzwencygrragmhzwd8v3{border:1px solid #bec9d9;border:1px solid var(--PSPDFKit-DocumentComparisonToolbar-button-border);border-radius:3px;color:#3d424e;color:var(--PSPDFKit-DocumentComparisonToolbar-label-color);cursor:pointer;margin:0 5px;opacity:.25;padding:5px 16px;pointer-events:none}.PSPDFKit-6qd7xqnwwt5spedkqzrq2xxd1y.PSPDFKit-67ced71xr6v9qcqegyjdb8f9h2,.PSPDFKit-v7w7h5tnf2m47yzqtd84h1drm.PSPDFKit-67ced71xr6v9qcqegyjdb8f9h2,.PSPDFKit-kfexhdzwencygrragmhzwd8v3.PSPDFKit-67ced71xr6v9qcqegyjdb8f9h2{padding:6px 10px}.PSPDFKit-6qd7xqnwwt5spedkqzrq2xxd1y,.PSPDFKit-2wue8e3wfu7w9cxehmz4e88ktt,.PSPDFKit-5p1uejfqckjn5s61nuatmaqbme,.PSPDFKit-5jfgm1cjfd1sp4z1fkd6a1hcc7{opacity:1;pointer-events:all}.PSPDFKit-6qd7xqnwwt5spedkqzrq2xxd1y{background-color:#4636e3;background-color:var(--PSPDFKit-DocumentComparisonToolbar-highlight-button-background);color:#d8dfeb;color:var(--PSPDFKit-DocumentComparisonToolbar-highlight-button-color)}.PSPDFKit-6s9dcaafj7ab6mc6ktq5xn5tw6{align-items:center;display:flex;height:100%;justify-content:space-between;width:100%} +.PSPDFKit-3g5zqud1wjmcd71kwst6gjbcds{display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative;touch-action:pan-x pan-y;width:100%}.PSPDFKit-3g5zqud1wjmcd71kwst6gjbcds,.PSPDFKit-3g5zqud1wjmcd71kwst6gjbcds *{box-sizing:border-box}.PSPDFKit-3g5zqud1wjmcd71kwst6gjbcds.PSPDFKit-browser-engine-webkit{transform:translateZ(0)}@media print{*{display:none!important}}body{background:#f6f8fa;background:var(--PSPDFKit-App-background);font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, + Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;font-family:var(--PSPDFKit-fontFamily-1);font-size:1rem;font-size:var(--PSPDFKit-fontSize-1);line-height:1.4rem;line-height:var(--PSPDFKit-lineHeight-1)}.PSPDFKit-6qc6bjvev7sffhewvpkas9njsf{display:flex;flex-wrap:nowrap;height:100%;overflow:hidden;position:relative}.PSPDFKit-2f9xn5bkkrt3h6fsmstdexegkk{flex:1}:focus:not(:focus-visible){outline:none}.PSPDFKit-61bk1385h5ss7vmr9n4d26y7wj{opacity:.3;-webkit-user-select:none;-ms-user-select:none;user-select:none}:root:not([data-focusvisible-supported]) :focus:not([data-focusvisible-polyfill]){outline:none}.PSPDFKit-ejvfc31fwjv43pf6dxbymn8xw{display:flex}.PSPDFKit-gec7bey8wdz7abca1kbpqjncb{overscroll-behavior:contain} +.PSPDFKit-5ndr2a8v593wmzbkugj7mhpkx6{padding:1em 1em 1.625em;padding:var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-4) var(--PSPDFKit-spacing-3)}.PSPDFKit-8a1r68duucnwazuve1yp3nbng9{color:#3d424e;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-title-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);padding-bottom:1em;padding-bottom:var(--PSPDFKit-spacing-4);text-transform:uppercase}.PSPDFKit-4wma8z492shc4ep1hmy6t4vqut{align-items:center;border-top:1px solid #d8dfeb;border-top:1px solid var(--PSPDFKit-FormDesignerOptionsControlComponent-border-color);display:flex;min-height:46px;padding:0.8125em 0;padding:var(--PSPDFKit-spacing-5) 0}.PSPDFKit-4tmeja8e4gtumrdf83gvhyrcc4{color:#bec9d9;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-icon-color);width:16px}.PSPDFKit-2ajb1c5391tmr11mqhaytx273m{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;height:23px}.PSPDFKit-2ajb1c5391tmr11mqhaytx273m:hover{cursor:pointer}.PSPDFKit-42c2zme6zggmdzdxcpyafgegx3{color:#000;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-text-color);flex:1 0;font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);margin:0 1rem 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.PSPDFKit-4muygv9es2v72qv85d9qdw6e96{display:flex}.PSPDFKit-4muygv9es2v72qv85d9qdw6e96:hover .PSPDFKit-7qr7fr949c5zy3chtgst1aqgnh{color:#4636e3;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-hover-color)}.PSPDFKit-2ds9qudjp9zf1adda74rdu1zrf{color:#4636e3;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-addOption-button-color);font-size:0.875rem;font-size:var(--PSPDFKit-fontSize-3);padding-left:0;padding-top:6px;text-decoration:underline}.PSPDFKit-4h68nb316qa6qx4sztcx3gjhnt{align-items:flex-start;border-bottom:1px solid #d8dfeb;border-bottom:1px solid var(--PSPDFKit-FormDesignerOptionsControlComponent-border-color);display:flex;flex-direction:column;height:unset}.PSPDFKit-7squ9wp4ashk5qmgwbchusb3aq{background:none;border:none;display:inline-block;flex:1 1 auto;height:30px;margin-right:0;width:100%}.PSPDFKit-7squ9wp4ashk5qmgwbchusb3aq:focus{outline:none}.PSPDFKit-7squ9wp4ashk5qmgwbchusb3aq::-ms-input-placeholder{color:#848c9a;color:var(--color-coolGrey400)}.PSPDFKit-7squ9wp4ashk5qmgwbchusb3aq::placeholder{color:#848c9a;color:var(--color-coolGrey400)}.PSPDFKit-62ry3uufpzt87bj49pdg2g3nbm{background-color:transparent;border:none;color:#bec9d9;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-icon-color);cursor:move;margin-right:0.8125em;margin-right:var(--PSPDFKit-spacing-5);padding:0}.PSPDFKit-62ry3uufpzt87bj49pdg2g3nbm,.PSPDFKit-62ry3uufpzt87bj49pdg2g3nbm span{display:inline-flex}.PSPDFKit-62ry3uufpzt87bj49pdg2g3nbm:hover{color:#4636e3;color:var(--PSPDFKit-FormDesignerOptionsControlComponent-addOption-button-color)}.PSPDFKit-35d4wvwwd43nxvufv3g9vaexbe{background-color:#f0f3f9;background-color:var(--PSPDFKit-FormDesignerOptionsControlComponent-background-color);border-top:none;opacity:.5;width:332px}.PSPDFKit-2qjmywkp4vpcrjshnshk8bang7{color:#d63960;color:var(--PSPDFKit-FormDesignerTextInputComponent-error-color);font-size:0.75rem;font-size:var(--PSPDFKit-fontSize-2);width:100%}.PSPDFKit-2jz3pq39c872g9k317nqj88ts4{border-bottom-color:#d63960;border-bottom-color:var(--PSPDFKit-FormDesignerTextInputComponent-error-color)} +.PSPDFKit-7d2gpuvu6pf58ndvvr6gvsje7q{display:flex;flex-direction:column;padding-left:1.125rem;padding-right:1.125rem}.PSPDFKit-89fc7eud4xcjy12ca7j2haddwk{align-self:center;color:#e8b500;color:var(--PSPDFKit-ExitContentEditorConfirm-warning-color);height:3rem;width:3rem}.PSPDFKit-47ced6qn4nruzv5vuz287qtd7z{padding:.375rem 0 0;width:23.75rem}.PSPDFKit-2cqd842dczj7tmreu8ur1v9s39{color:#2b2e36;color:var(--PSPDFKit-ExitContentEditorConfirm-heading-color);font-size:1.125rem;font-weight:500;margin-bottom:0;margin-top:2rem}.PSPDFKit-yuc41qrmjjetqv8krhsnx78k4{color:#606671;color:var(--PSPDFKit-ExitContentEditorConfirm-description-color);font-size:.875rem;margin-bottom:0;margin-top:0.8125em;margin-top:var(--PSPDFKit-spacing-5);padding-bottom:2rem}.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh{border:none;display:flex;justify-content:center;margin:0 0 0 auto;padding:.5rem 1.125rem 0 0}.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh,.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh:focus,.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh:hover{background-color:transparent}.PSPDFKit-5zfc76hv99gw27ybkmbk7ebzep{flex-basis:36px;height:32px;width:32px}.PSPDFKit-5wvh17kef4x55jrrzkh3hkaga3{background-color:#fcfdfe;background-color:var(--PSPDFKit-ExitContentEditorConfirm-buttonsGroup-background);border-top:1px solid #f0f3f9;border-top:1px solid var(--PSPDFKit-ExitContentEditorConfirm-buttonsGroup-border);margin-left:0;margin-right:0;padding-bottom:1rem;padding-right:1.125rem;padding-top:1rem}.PSPDFKit-4qu4e2qh9g4wt4vaj7wc7rek98{margin-left:0;margin-right:0;padding-right:0}.PSPDFKit-8etcg5412u6jyxe6wcw49n4eev{width:110px}.PSPDFKit-3hxqujdr5scngtpmjesahhytzq.PSPDFKit-3nd9gpwyygjwssm1a6vvyp2m5n{margin:0;padding:0;width:100%}@media(max-width:480px){.PSPDFKit-3nd9gpwyygjwssm1a6vvyp2m5n{margin-left:0;margin-right:0;padding-left:0;padding-right:0}.PSPDFKit-4qu4e2qh9g4wt4vaj7wc7rek98{padding-right:1.125rem}}@media(max-width:992px){.PSPDFKit-5wvh17kef4x55jrrzkh3hkaga3.PSPDFKit-3hxqujdr5scngtpmjesahhytzq{margin-bottom:0;padding-left:1.5rem;padding-right:1.5rem}.PSPDFKit-4qu4e2qh9g4wt4vaj7wc7rek98{padding-right:0}.PSPDFKit-6xed4xk58tjqt3b2cq9x86gehh{padding-right:1.5rem;padding-top:1.5rem}.PSPDFKit-7d2gpuvu6pf58ndvvr6gvsje7q{padding-left:1.5rem;padding-right:1.5rem}}.PSPDFKit-8p7rfubnucmdpxjpsw31xbf5mm[open]{border:0;border-radius:8px 8px 0 0;height:320px;margin-bottom:0;margin-left:0;margin-right:0;max-width:100%;overflow:hidden;padding:0;width:100%}.PSPDFKit-v7ryn5whw1cfrp237m7h2y2mz{display:flex;flex-direction:column;height:100%;justify-content:space-between} +.PSPDFKit-5eynqxckhbqrz8a4f77yujbh2k{background-color:#ffc78f;background-color:var(--color-orange100);box-shadow:0 0 4px rgba(113,126,144,.5);line-height:1.4;padding:.75rem;text-align:left;-webkit-user-select:all;user-select:all;width:17.75rem}.PSPDFKit-42pbth2eu2zrmgpae4jhg6h8en{font-size:.75rem;line-height:1.4}.PSPDFKit-6nx2uf6vhf6v33bnb1j4ganvvd{display:none} +:root{--color-white:#fff;--color-black:#000;--color-blue900:#0a0167;--color-blue800:#190d94;--color-blue700:#2b1cc1;--color-blue600:#4636e3;--color-blue400:#5e5ceb;--color-blue300:#777cf0;--color-blue200:#8f9bf4;--color-blue100:#a8bff8;--color-blue70:#4537de;--color-blue50:#d3dcff;--color-blue25:#eff4fb;--color-violet800:#462e75;--color-violet600:#5d24cf;--color-violet400:#8858e8;--color-violet100:#d1baff;--color-red900:#4a0013;--color-red800:#74002a;--color-red600:#ab1d41;--color-red300:#ed7d99;--color-red400:#d63960;--color-red100:#f7ced8;--color-red50:#fceaf1;--color-orange800:#7e3b00;--color-orange600:#d46703;--color-orange400:#ff900d;--color-orange100:#ffc78f;--color-yellow800:#805700;--color-yellow600:#e8b500;--color-yellow400:#fad40c;--color-yellow100:#ffee95;--color-yellow25:#fffae1;--color-green800:#385300;--color-green600:#628d06;--color-green400:#89bd1c;--color-green100:#d9efa9;--color-green25:#f5fee3;--color-coolGrey1000:#090c12;--color-coolGrey900:#21242c;--color-coolGrey900_alpha05:rgba(33,36,44,.5);--color-coolGrey900_alpha02:rgba(33,36,44,.2);--color-coolGrey850:#2b2e36;--color-coolGrey850_alpha01:rgba(43,46,54,.1);--color-coolGrey800:#3d424e;--color-coolGrey800_alpha02:rgba(61,66,78,.2);--color-coolGrey800_alpha05:rgba(61,66,78,.5);--color-coolGrey700:#4d525d;--color-coolGrey600:#606671;--color-coolGrey500:#717885;--color-coolGrey400:#848c9a;--color-coolGrey400_alpha05:rgba(132,140,154,.5);--color-coolGrey200:#bec9d9;--color-coolGrey100:#d8dfeb;--color-coolGrey100_alpha05:rgba(216,223,235,.5);--color-coolGrey100_alpha25:rgba(216,223,235,.25);--color-coolGrey50:#f0f3f9;--color-coolGrey37:#f6f8fa;--color-coolGrey25:#fcfdfe;--PSPDFKit-spacing-1:3.25em;--PSPDFKit-spacing-2:2.4375em;--PSPDFKit-spacing-3:1.625em;--PSPDFKit-spacing-4:1em;--PSPDFKit-spacing-5:0.8125em;--PSPDFKit-spacing-6:0.609em;--PSPDFKit-spacing-7:0.46875em;--PSPDFKit-fontFamily-1:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;--PSPDFKit-lineHeight-1:1.4rem;--PSPDFKit-lineHeight-2:0.815rem;--PSPDFKit-fontSize-1:1rem;--PSPDFKit-fontSize-2:0.75rem;--PSPDFKit-fontSize-3:0.875rem;--PSPDFKit-fontSize-4:1.125rem;--PSPDFKit-fontSize-5:1.25rem;--PSPDFKit-fontSize-6:1.5rem} +:root{--PSPDFKit-shadow-color:var(--color-coolGrey800_alpha05);--PSPDFKit-App-background:var(--color-coolGrey37);--PSPDFKit-Viewport-background:var(--PSPDFKit-App-background);--PSPDFKit-Button-isDisabled-opacity:0.3;--PSPDFKit-Button--default-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Button--default-borderColor:var(--color-coolGrey100);--PSPDFKit-Button--default-color:var(--color-coolGrey800);--PSPDFKit-Button--default-isHovered-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Button--default-isHovered-borderColor:var(--color-coolGrey400_alpha05);--PSPDFKit-Button--default-isHovered-color:var(--color-coolGrey900);--PSPDFKit-Button--default-isActive-backgroundColor:var(--color-coolGrey100);--PSPDFKit-Button--default-isActive-borderColor:var(--color-coolGrey200);--PSPDFKit-Button--default-isActive-color:var(--color-coolGrey700);--PSPDFKit-Button--default-isDisabled-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Button--default-isDisabled-borderColor:var(--color-coolGrey100);--PSPDFKit-Button--default-isDisabled-color:var(--color-coolGrey800);--PSPDFKit-Button--primary-backgroundColor:var(--color-blue600);--PSPDFKit-Button--primary-border:var(--color-blue700);--PSPDFKit-Button--primary-color:var(--color-white);--PSPDFKit-Button--primary-isHovered-backgroundColor:var(--color-blue600);--PSPDFKit-Button--primary-isHovered-borderColor:var(--color-blue900);--PSPDFKit-Button--primary-isHovered-color:var(--color-white);--PSPDFKit-Button--primary-isActive-backgroundColor:var(--color-blue700);--PSPDFKit-Button--primary-isActive-borderColor:var(--color-blue800);--PSPDFKit-Button--primary-isActive-color:var(--color-white);--PSPDFKit-Button--primary-isDisabled-backgroundColor:var(--color-blue600);--PSPDFKit-Button--primary-isDisabled-borderColor:var(--color-blue700);--PSPDFKit-Button--primary-isDisabled-color:var(--color-white);--PSPDFKit-Button--primary-inverted-color:var(--PSPDFKit-Button--primary-backgroundColor);--PSPDFKit-Button--danger-backgroundColor:var(--color-red50);--PSPDFKit-Button--danger-borderColor:var(--color-red400);--PSPDFKit-Button--danger-color:var(--color-red600);--PSPDFKit-Button--danger-isHovered-backgroundColor:var(--color-red600);--PSPDFKit-Button--danger-isHovered-borderColor:var(--color-red800);--PSPDFKit-Button--danger-isHovered-color:var(--color-white);--PSPDFKit-Button--danger-isDisabled-backgroundColor:var(--color-red100);--PSPDFKit-Button--danger-isDisabled-borderColor:var(--color-red400);--PSPDFKit-Button--danger-isDisabled-color:var(--color-red800);--PSPDFKit-Modal-dialog-backgroundColor:var(--color-white);--PSPDFKit-Modal-dialog-boxShadowColor:var(--PSPDFKit-shadow-color);--PSPDFKit-Modal-dialog-color:var(--color-black);--PSPDFKit-Modal-backdrop-backgroundColor:var(--color-coolGrey900_alpha05);--PSPDFKit-Modal-divider-color:var(--color-coolGrey100);--PSPDFKit-Modal-divider-border:var(--PSPDFKit-Modal-divider-color);--PSPDFKit-Mobile-popover-backgroundColor:var(--color-white);--PSPDFKit-ConfirmModalComponent-button-isFocused-border:var(--color-blue900);--PSPDFKit-Text-color:var(--color-coolGrey850);--PSPDFKit-TextInput--default-backgroundColor:var(--color-coolGrey25);--PSPDFKit-TextInput--default-borderColor:var(--color-coolGrey400_alpha05);--PSPDFKit-TextInput--default-color:var(--color-coolGrey700);--PSPDFKit-TextInput--default-placeholder-color:var(--color-coolGrey900_alpha05);--PSPDFKit-TextInput--default-isFocused-backgroundColor:var(--color-white);--PSPDFKit-TextInput--default-isFocused-borderColor:var(--color-coolGrey200);--PSPDFKit-TextInput--default-isFocused-color:var(--color-coolGrey900);--PSPDFKit-TextInput--error-backgroundColor:var(--color-red100);--PSPDFKit-TextInput--error-borderColor:var(--color-red400);--PSPDFKit-TextInput--error-color:var(--color-red800);--PSPDFKit-TextInput--error-placeholder-color:var(--color-red600);--PSPDFKit-TextInput--error-isFocused-backgroundColor:var(--color-red100);--PSPDFKit-TextInput--error-isFocused-borderColor:var(--color-red600);--PSPDFKit-TextInput--error-isFocused-color:var(--color-red800);--PSPDFKit-TextInput--success-backgroundColor:var(--color-green100);--PSPDFKit-TextInput--success-borderColor:var(--color-green400);--PSPDFKit-TextInput--success-color:var(--color-green800);--PSPDFKit-TextInput--success-placeholder-color:var(--color-green600);--PSPDFKit-TextInput--success-isFocused-backgroundColor:var(--color-green100);--PSPDFKit-TextInput--success-isFocused-borderColor:var(--color-green600);--PSPDFKit-TextInput--success-isFocused-color:var(--color-green800);--PSPDFKit-Toolbar-background:var(--color-coolGrey25);--PSPDFKit-Toolbar-color:var(--color-coolGrey800);--PSPDFKit-Toolbar-boxShadow:var(--PSPDFKit-shadow-color);--PSPDFKit-Toolbar-hover:var(--color-blue600);--PSPDFKit-Toolbar-button-border:var(--color-coolGrey50);--PSPDFKit-Toolbar-dropdownButton-isSelected-background:var(--color-blue600);--PSPDFKit-Toolbar-dropdownButton-isSelected-color:var(--color-white);--PSPDFKit-Toolbar-dropdownButton-isFocused-background:var(--color-blue600);--PSPDFKit-Toolbar-dropdownButton-isFocused-color:var(--color-white);--PSPDFKit-Toolbar-dropdownButton-isDisabled-background:var(--color-coolGrey50);--PSPDFKit-ToolbarButton-dropdown-isFocused-background:var(--color-coolGrey50);--PSPDFKit-ToolbarButton-dropdown-isFocused-color:var(--color-coolGrey800);--PSPDFKit-ToolbarButton-isDisabled-opacity:0.3;--PSPDFKit-ToolbarButton-isDisabled-child-fill:var(--color-coolGrey400);--PSPDFKit-ToolbarButton-isActive-background:var(--color-blue600);--PSPDFKit-ToolbarButton-isActive-color:var(--color-white);--PSPDFKit-ToolbarDropdownGroup-background:var(--color-coolGrey25);--PSPDFKit-ToolbarDropdownGroup-activeChild-color:var(--color-black);--PSPDFKit-ToolbarDropdownGroup-toggle-color:var(--color-white);--PSPDFKit-ToolbarResponsiveGroup--primary-background:var(--color-coolGrey25);--PSPDFKit-ToolbarResponsiveGroup--secondary-background:var(--color-coolGrey100);--PSPDFKit-ToolbarResponsiveGroup--secondary-border:var(--color-coolGrey200);--PSPDFKit-ToolbarResponsiveGroup-button--primary-border:var(--PSPDFKit-Toolbar-button-border);--PSPDFKit-ToolbarResponsiveGroup-button--primary-arrow-border:var(--color-coolGrey800);--PSPDFKit-ToolbarResponsiveGroup-button--secondary-border:var(--color-coolGrey200);--PSPDFKit-ToolbarResponsiveGroup-button--secondary-arrow-border:var(--color-coolGrey800);--PSPDFKit-ToolbarResponsiveGroup-button--secondary-arrow-isFocused-background:var( --color-coolGrey50 );--PSPDFKit-ToolbarResponsiveGroup-button-svg-fill:var(--color-coolGrey800);--PSPDFKit-CropToolbarComponent-button-borderColor:var(--color-coolGrey200);--PSPDFKit-CropToolbarComponent-button-isHovered-borderColor:var(--color-coolGrey800);--PSPDFKit-CropToolbarComponent-text-color:var(--color-coolGrey700);--PSPDFKit-CropToolbarComponent-button-isHovered-backgroundColor:var(--color-coolGrey100);--PSPDFKit-CropToolbarComponent-button-isDeselected-border:var(--color-coolGrey200);--PSPDFKit-CropToolbarComponent-border:var(--color-coolGrey200);--PSPDFKit-ContentEditorToolbar-background:var(--color-coolGrey50);--PSPDFKit-ContentEditorToolbar-button-border:var(--color-coolGrey200);--PSPDFKit-ContentEditorToolbar-button-isHovered-border:var( --PSPDFKit-Button--default-isHovered-borderColor );--PSPDFKit-ContentEditorToolbar-text-color:var(--color-coolGrey700);--PSPDFKit-ContentEditorToolbar-button-color:var(--color-coolGrey800);--PSPDFKit-ContentEditorToolbar-button-isHovered-backgroundColor:var(--color-coolGrey100);--PSPDFKit-ContentEditorToolbar-button-isDeselected-border:var(--color-coolGrey200);--PSPDFKit-ContentEditorToolbar-border:var(--color-coolGrey200);--PSPDFKit-ContentEditorToolbar-button-save-backgroundColor:var( --PSPDFKit-Button--primary-backgroundColor );--PSPDFKit-ContentEditorToolbar-button-save-color:var(--PSPDFKit-Button--primary-color);--PSPDFKit-ContentEditorToolbar-button-save-border:var(--PSPDFKit-Button--primary-border);--PSPDFKit-ContentEditorToolbar-button-hover-save-backgroundColor:var( --PSPDFKit-Button--primary-isHovered-backgroundColor );--PSPDFKit-ContentEditorToolbar-button-hover-save-color:var( --PSPDFKit-Button--primary-isHovered-color );--PSPDFKit-ContentEditorToolbar-button-hover-save-border:var( --PSPDFKit-Button--primary-isHovered-borderColor );--PSPDFKit-ContentEditorToolbar-button-fontstyle-backgroundColor:var( --PSPDFKit-AnnotationToolbar-icon-label-background );--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-backgroundColor:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-background );--PSPDFKit-ContentEditorToolbar-button-fontstyle-isActive-svg-color:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-color );--PSPDFKit-MagnifierComponent-background:var(--PSPDFKit-App-background);--PSPDFKit-MagnifierComponent-magnifierGrid-stroke:var(--color-coolGrey100);--PSPDFKit-MagnifierComponent-magnifierCenterOutlineStroke-stroke:var(--color-white);--PSPDFKit-MagnifierComponent-magnifierCenterStroke-stroke:var(--color-black);--PSPDFKit-MagnifierComponent-magnifierZoomValue-backgroundColor:var(--color-coolGrey400);--PSPDFKit-MagnifierComponent-magnifierZoomValue-color:var(--color-white);--PSPDFKit-MagnifierComponent-magnifierContainer-borderColor:var(--color-black);--PSPDFKit-MagnifierComponent-magnifierContainer-boxShadow:var(--color-white);--PSPDFKit-DocumentComparison-crosshair-stroke:var(--color-blue70);--PSPDFKit-DocumentComparisonToolbar-background:var(--color-coolGrey50);--PSPDFKit-DocumentComparisonToolbar-border:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-color:var(--color-coolGrey100);--PSPDFKit-DocumentComparisonToolbar-form-color:var(--color-coolGrey100_alpha25);--PSPDFKit-DocumentComparisonToolbar-startLineCapSelect-circle-stroke:var(--color-coolGrey700);--PSPDFKit-DocumentComparisonToolbar-button-color:var(--color-coolGrey800);--PSPDFKit-DocumentComparisonToolbar-button-border:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-highlight-button-color:var(--color-coolGrey100);--PSPDFKit-DocumentComparisonToolbar-highlight-button-background:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-button-isHovered-background:var(--color-coolGrey100);--PSPDFKit-DocumentComparisonToolbar-button-svg-color:var(--color-coolGrey800);--PSPDFKit-DocumentComparisonToolbar-tab-border:var(--color-coolGrey100);--PSPDFKit-DocumentComparisonToolbar-tab-active-background:var(--PSPDFKit-App-background);--PSPDFKit-DocumentComparisonToolbar-referencePoint-background:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-referencePointSet-background:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-referencePoint-text-color:var(--color-coolGrey850);--PSPDFKit-DocumentComparisonToolbar-referencePointSet-text-color:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-button-svg-fill:var( --PSPDFKit-AnnotationToolbar-button-svg-color );--PSPDFKit-DocumentComparisonToolbar-button-outline:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-button-isDeselected-border:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-icon-label-background:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-icon-color:var(--color-coolGrey800);--PSPDFKit-DocumentComparisonToolbar-label-color:var(--color-coolGrey800);--PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-background:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-border:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-svg-color:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-svg-fill:var( --PSPDFKit-DocumentComparisonToolbar-iconLabel-isActive-svg-color );--PSPDFKit-DocumentComparisonToolbar-dropdownMenu-button-background:var( --PSPDFKit-DropdownMenu-button-background );--PSPDFKit-DocumentComparisonToolbar-dropdownMenu-button-border:var( --PSPDFKit-DropdownMenu-button-border );--PSPDFKit-DocumentComparisonToolbar-dropdownMenu-button-isHovered-color:var( --PSPDFKit-SliderDropdownComponent-button-isHovered-color );--PSPDFKit-DocumentComparisonToolbar-dropdownMenu-button-color:var( --PSPDFKit-DropdownMenu-button-fill );--PSPDFKit-DocumentComparisonToolbar-checkMark-stroke:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-checkMark-fill:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-documentCheckMark-stroke:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-documentCheckMark-fill:var(--color-green400);--PSPDFKit-DocumentComparisonToolbar-referencePointText-stroke:var(--color-coolGrey850);--PSPDFKit-DocumentComparisonToolbar-referencePointText-fill:var(--color-coolGrey850);--PSPDFKit-DocumentComparisonToolbar-referencePoint-fill:var(--color-coolGrey200);--PSPDFKit-DocumentComparisonToolbar-referencePointSetText-stroke:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-referencePointSetText-fill:var(--color-white);--PSPDFKit-DocumentComparisonToolbar-referencePointSet-fill:var(--color-blue600);--PSPDFKit-DocumentComparisonToolbar-separator-background:var(--color-coolGrey200);--PSPDFKit-AnnotationToolbar-background:var(--color-coolGrey50);--PSPDFKit-AnnotationToolbar-border:var(--color-coolGrey200);--PSPDFKit-AnnotationToolbar-color:var(--color-coolGrey100);--PSPDFKit-AnnotationToolbar-form-color:var(--color-coolGrey100_alpha25);--PSPDFKit-AnnotationToolbar-startLineCapSelect-circle-stroke:var(--color-coolGrey700);--PSPDFKit-AnnotationToolbar-button-color:var(--color-coolGrey800);--PSPDFKit-AnnotationToolbar-button-border:var(--color-coolGrey200);--PSPDFKit-AnnotationToolbar-button-isHovered-background:var(--color-coolGrey100);--PSPDFKit-AnnotationToolbar-button-svg-color:var(--color-coolGrey800);--PSPDFKit-AnnotationToolbar-button-svg-fill:var(--PSPDFKit-AnnotationToolbar-button-svg-color);--PSPDFKit-AnnotationToolbar-button-outline:var(--color-blue600);--PSPDFKit-AnnotationToolbar-button-isDeselected-border:var(--color-coolGrey200);--PSPDFKit-AnnotationToolbar-icon-label-background:var(--color-white);--PSPDFKit-AnnotationToolbar-warning-icon-background:var(--color-orange100);--PSPDFKit-AnnotationToolbar-icon-color:var(--color-coolGrey800);--PSPDFKit-AnnotationToolbar-label-color:var(--color-coolGrey800);--PSPDFKit-AnnotationToolbar-iconLabel-isActive-background:var(--color-blue600);--PSPDFKit-AnnotationToolbar-iconLabel-isActive-border:var(--color-blue600);--PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-color:var(--color-white);--PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-fill:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-color );--PSPDFKit-AnnotationToolbar-dropdownMenu-button-background:var( --PSPDFKit-DropdownMenu-button-background );--PSPDFKit-AnnotationToolbar-dropdownMenu-button-border:var( --PSPDFKit-DropdownMenu-button-border );--PSPDFKit-AnnotationToolbar-dropdownMenu-button-isHovered-color:var( --PSPDFKit-SliderDropdownComponent-button-isHovered-color );--PSPDFKit-AnnotationToolbar-dropdownMenu-button-color:var(--PSPDFKit-DropdownMenu-button-fill);--PSPDFKit-AnnotationToolbar-redactions-button-background:var(--color-white);--PSPDFKit-AnnotationToolbar-redactions-button-color:var(--color-black);--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-background:var(--color-blue600);--PSPDFKit-AnnotationToolbar-redactions-button-isHovered-color:var(--color-white);--PSPDFKit-ColorDropdown-colorItemContainer-isFocused-background:var( --PSPDFKit-ToolbarButton-dropdown-isFocused-background );--PSPDFKit-ColorDropdown-customColor-deleteButton-color:var(--color-white);--PSPDFKit-CheckboxComponent-label-color:var(--color-coolGrey800);--PSPDFKit-CheckboxComponent-unchecked-border:var(--color-coolGrey200);--PSPDFKit-CheckboxComponent-checked-border:var(--color-blue400);--PSPDFKit-CheckboxComponent-checked-background:var(--color-blue600);--PSPDFKit-LayoutConfig-arrow-border:var(--color-coolGrey200);--PSPDFKit-LayoutConfig-arrowFill-border:var(--color-white);--PSPDFKit-LayoutConfig-table-border:var(--color-coolGrey200);--PSPDFKit-LayoutConfig-icon-isActive-color:var(--color-white);--PSPDFKit-LayoutConfig-icon-isActive-background:var(--color-blue600);--PSPDFKit-LayoutConfig-icon-isHighlighted-background:var(--color-coolGrey50);--PSPDFKit-Pager-color:var(--color-coolGrey800);--PSPDFKit-Pager-input-background:var(--color-coolGrey800_alpha02);--PSPDFKit-Pager-input-color:var(--color-coolGrey800);--PSPDFKit-Pager-input-isActive-color:var(--color-coolGrey800);--PSPDFKit-Pager-input-isHovered-color:var(--color-coolGrey800);--PSPDFKit-Pager-input-isHovered-background:var(--color-coolGrey200);--PSPDFKit-Pager-input-isDisabled-color:var(--PSPDFKit-Pager-input-isActive-color);--PSPDFKit-Pager-input-isDisabled-opacity:0.3;--PSPDFKit-Progress-dot-size:6px;--PSPDFKit-Progress-dot-height:var(--PSPDFKit-Progress-dot-size);--PSPDFKit-Progress-dot-width:var(--PSPDFKit-Progress-dot-size);--PSPDFKit-Progress-borderRadius:5px;--PSPDFKit-Progress-progress-background:var(--color-coolGrey50);--PSPDFKit-Progress-progress-color:var(--color-black);--PSPDFKit-Progress-progressBar-background:var(--color-blue600);--PSPDFKit-Progress-progressText-color:var(--color-coolGrey700);--PSPDFKit-ColorPicker-isHovered-background:var(--color-coolGrey400);--PSPDFKit-ColorPicker-swatch-border:var(--color-white);--PSPDFKit-ColorPicker-input-isActive-background:var(--color-blue600);--PSPDFKit-ColorPicker-input-outline:var(--color-blue600);--PSPDFKit-ColorPicker-swatch--transparent-border:var(--color-coolGrey200);--PSPDFKit-ColorPicker-swatch--transparent-background:var(--color-white);--PSPDFKit-ColorPicker-swatch--transparent-after-border:var(--color-red400);--PSPDFKit-SliderComponent-thumb-color:var(--color-blue600);--PSPDFKit-SliderComponent-thumb-isHovered-color:var(--color-blue800);--PSPDFKit-SliderComponent-thumb-border:var(--color-white);--PSPDFKit-SliderComponent-track-color:var(--color-coolGrey50);--PSPDFKit-SliderComponent-track-progress-color:var(--color-blue600);--PSPDFKit-SliderDropdownComponent-items-background:var(--color-white);--PSPDFKit-SliderDropdownComponent-items-border:var(--color-coolGrey100);--PSPDFKit-SliderDropdownComponent-button-background:var(--color-white);--PSPDFKit-SliderDropdownComponent-button-border:var(--color-coolGrey100);--PSPDFKit-SliderDropdownComponent-button-color:var(--color-coolGrey800);--PSPDFKit-SliderDropdownComponent-button-isHovered-color:var(--color-coolGrey1000);--PSPDFKit-SliderDropdownComponent-button-toggle-color:var(--color-coolGrey400);--PSPDFKit-SliderDropdownComponent-button-show-color:var( --PSPDFKit-SliderDropdownComponent-button-isHovered-color );--PSPDFKit-SliderDropdownComponent-item-color:var( --PSPDFKit-SliderDropdownComponent-button-color );--PSPDFKit-SliderDropdownComponent-item-border:var( --PSPDFKit-SliderDropdownComponent-button-border );--PSPDFKit-SliderDropdownComponent-item-isFocused-background:var(--color-blue600);--PSPDFKit-SliderDropdownComponent--item-isFocused-color:var(--color-white);--PSPDFKit-SliderDropdownComponent-item-isSelected-background:var(--color-coolGrey50);--PSPDFKit-SliderDropdownComponent-item-isDisabled-color:var( --PSPDFKit-SliderDropdownComponent-button-color );--PSPDFKit-SliderDropdownComponent-item-isDisabled-opacity:0.3;--PSPDFKit-SliderDropdownComponent-item-isFocused-isSelected-background:var(--color-blue600);--PSPDFKit-SliderDropdownComponent-dropdown-background:var(--color-white);--PSPDFKit-SliderDropdownComponent-dropdown-color:var(--color-coolGrey400);--PSPDFKit-SliderDropdownComponent-dropdown-border:var(--color-coolGrey100);--PSPDFKit-TextInputComponent-input-background:var(--color-white);--PSPDFKit-TextInputComponent-input-border:var(--color-coolGrey100);--PSPDFKit-TextInputComponent-input-color:var(--color-coolGrey800);--PSPDFKit-TextInputComponent-input-isHovered-color:var(--color-coolGrey1000);--PSPDFKit-TextInputComponent-input-active-border:var(--color-blue600);--PSPDFKit-PasswordModal-icon--regular-color:var(--color-blue400);--PSPDFKit-PasswordModal-icon--error-color:var(--color-red400);--PSPDFKit-PasswordModal-icon--success-color:var(--color-green400);--PSPDFKit-PasswordModal-message--alert-background:var(--color-red400);--PSPDFKit-PasswordModal-message--alert-color:var(--color-white);--PSPDFKit-PasswordModal-message--alert-border:var(--color-red600);--PSPDFKit-SearchForm-background:var(--color-white);--PSPDFKit-SearchForm-border:var(--PSPDFKit-Viewport-background);--PSPDFKit-SearchForm-input-background:var(--color-coolGrey50);--PSPDFKit-SearchForm-input-color:var(--color-coolGrey800);--PSPDFKit-SearchForm-input-placeholder-color:var(--color-coolGrey800);--PSPDFKit-SearchForm-results-isDisabled-background:var(--PSPDFKit-SearchForm-input-background);--PSPDFKit-SearchForm-results-isDisabled-color:var(--color-coolGrey400_alpha05);--PSPDFKit-SearchForm-button-color:var(--color-coolGrey800);--PSPDFKit-SearchForm-button-background:var(--color-coolGrey200);--PSPDFKit-SearchForm-button-isHovered-background:var(--color-coolGrey50);--PSPDFKit-SearchForm-button-isHovered-color:var(--color-coolGrey900);--PSPDFKit-SearchForm-button-isHovered-border:var(--color-coolGrey400_alpha05);--PSPDFKit-SearchForm-button-controls-background:var(--color-coolGrey200);--PSPDFKit-SearchForm-button-controls-color:var(--color-coolGrey800);--PSPDFKit-SearchForm-button-controls-isHovered-background:var(--color-coolGrey50);--PSPDFKit-SearchForm-button-controls-isDisabled-color:var(--color-coolGrey400_alpha05);--PSPDFKit-SearchForm-button-lasChild-border:var(--color-coolGrey50);--PSPDFKit-SearchHighlight-background:var(--color-yellow400);--PSPDFKit-SearchHighlight-isFocused-background:var(--color-yellow600);--PSPDFKit-Sidebar-background:var(--color-coolGrey37);--PSPDFKit-Sidebar-dragger-background:var(--color-coolGrey200);--PSPDFKit-Sidebar-dragger-border:var(--color-coolGrey900_alpha02);--PSPDFKit-Sidebar-dragger-pseudo-background:var(--color-coolGrey200);--PSPDFKit-Sidebar-draggerHandle-background:var(--color-white);--PSPDFKit-Sidebar-draggerHandle-border:var(--PSPDFKit-Sidebar-dragger-border);--PSPDFKit-Sidebar-header-background:var(--color-coolGrey50);--PSPDFKit-AnnotationsSidebar--empty-background:var(--PSPDFKit-Sidebar-background);--PSPDFKit-AnnotationsSidebar--empty-color:var(--color-black);--PSPDFKit-AnnotationsSidebar-annotationCounter-background:var(--color-white);--PSPDFKit-AnnotationsSidebar-container-background:var(--color-white);--PSPDFKit-AnnotationsSidebar-annotations-background:var(--color-white);--PSPDFKit-AnnotationsSidebar-annotations-border:var(--color-coolGrey100);--PSPDFKit-AnnotationsSidebar-icon-color:var(--color-blue600);--PSPDFKit-AnnotationsSidebar-layout-background:var(--color-coolGrey50);--PSPDFKit-AnnotationsSidebar-layoutContent-color:var(--color-coolGrey900);--PSPDFKit-AnnotationsSidebar-layoutContent-button-color:var( --PSPDFKit-AnnotationsSidebar-layoutContent-color );--PSPDFKit-AnnotationsSidebar-layoutContent-button-color--selected:var(--color-coolGrey1000);--PSPDFKit-AnnotationsSidebar-footer-color:var(--color-coolGrey400);--PSPDFKit-AnnotationsSidebar-deleteIcon-color:var(--color-coolGrey800);--PSPDFKit-AnnotationsSidebar-pageNumber-background:var(--color-coolGrey50);--PSPDFKit-AnnotationsSidebar-pageNumber-color:var(--PSPDFKit-TextInput--default-color);--PSPDFKit-AnnotationsSidebar-annotationCounter-color:var(--color-coolGrey700);--PSPDFKit-DocumentEditor-moveDialog-background:var(--color-white);--PSPDFKit-DocumentEditor-moveDialogFormInput-background:var(--color-white);--PSPDFKit-DocumentEditor-moveDialogFormInput-borderColor:var(--color-coolGrey200);--PSPDFKit-DocumentEditor-moveDialogHint-background:var(--color-coolGrey50);--PSPDFKit-DocumentEditor-moveDialogHintText-color:var(--color-coolGrey400);--PSPDFKit-DocumentEditor-pagesView-background:var(--color-coolGrey50);--PSPDFKit-DocumentEditor-bottomBar-background:var(--color-coolGrey25);--PSPDFKit-DocumentEditor-pagesSelectedIndicator-background:var(--color-blue400);--PSPDFKit-DocumentOutline-background:var(--color-white);--PSPDFKit-DocumentOutline-control-color:var(--color-coolGrey900);--PSPDFKit-DocumentOutline-control-border:var(--color-coolGrey50);--PSPDFKit-DocumentOutline-icon-color:var(--color-coolGrey200);--PSPDFKit-DocumentOutline-icon-isHovered-color:var(--color-blue600);--PSPDFKit-BookmarksSidebar-background:var(--color-white);--PSPDFKit-BookmarksSidebar-border:var(--color-coolGrey100);--PSPDFKit-BookmarksSidebar--loading-background:var(--PSPDFKit-Sidebar-background);--PSPDFKit-BookmarksSidebar-heading-color:var(--color-coolGrey700);--PSPDFKit-BookmarksSidebar-layout-pageNumber-color:var(--color-coolGrey800);--PSPDFKit-BookmarksSidebar-layout-isHovered-pageNumber-color:var(--color-blue600);--PSPDFKit-BookmarksSidebar-name-color:var(--color-coolGrey850);--PSPDFKit-BookmarksSidebar-layout-border:var(--color-coolGrey50);--PSPDFKit-BookmarksSidebar-edit-color:var(--color-coolGrey800);--PSPDFKit-BookmarksSidebar-edit-background:var(--color-white);--PSPDFKit-BookmarksSidebar-editor-background:var(--color-coolGrey50);--PSPDFKit-Error-color:var(--color-coolGrey400);--PSPDFKit-Error-background:var(--color-white);--PSPDFKit-Error-hyperlink-color:var(--color-coolGrey700);--PSPDFKit-Error-error-background:var(--color-red400);--PSPDFKit-Error-icon-color:var(--color-red400);--PSPDFKit-Error-icon-background:var(--color-white);--PSPDFKit-ThumbnailsSidebar-gridView-row-background:var(--color-coolGrey50);--PSPDFKit-ThumbnailsSidebar-gridView-column-isHovered-background:var( --color-coolGrey850_alpha01 );--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-background:var(--color-white);--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-boxShadow:rgba(43,46,54,.15);--PSPDFKit-ThumbnailsSidebar-gridView-thumbnail-isSelected-boxShadow:var(--color-blue400);--PSPDFKit-ThumbnailsSidebar-gridView-label-background:var(--color-coolGrey800_alpha05);--PSPDFKit-ThumbnailsSidebar-gridView-label-color:var(--color-white);--PSPDFKit-ThumbnailsSidebar-gridView-label-isSelected-background:var(--color-blue400);--PSPDFKit-ThumbnailsSidebar-gridView-label-isSelected-color:var(--color-white);--PSPDFKit-ThumbnailsSidebar-gridView-moveCursorDisabled-background:var(--color-black);--PSPDFKit-PrintLoadingIndicator-progress-background:var(--color-coolGrey50);--PSPDFKit-PrintLoadingIndicator-progress-color:var(--color-black);--PSPDFKit-PrintLoadingIndicator-progressBar-background:var(--color-blue600);--PSPDFKit-PrintLoadingIndicator-progressText-color:var(--color-coolGrey700);--PSPDFKit-StampViewComponent-header-color:var(--color-coolGrey800);--PSPDFKit-StampViewComponent-header-border:var(--color-coolGrey200);--PSPDFKit-StampViewComponent-previewContainer-border:var(--color-blue100);--PSPDFKit-StampViewComponent-previewContainer-background:var(--color-coolGrey100_alpha25);--PSPDFKit-StampViewComponent-templateImageContainer-border:var( --PSPDFKit-StampViewComponent-previewContainer-border );--PSPDFKit-StampViewComponent-templateImageContainer-background:var(--color-coolGrey25);--PSPDFKit-StampViewComponent-writeHere-color:var(--color-coolGrey200);--PSPDFKit-StampViewComponent-selectStampButton-isHovered-background:var(--color-white);--PSPDFKit-StampViewComponent-selectStampButton-isHovered-color:var(--color-white);--PSPDFKit-StampViewComponent-selectStampButton-isHovered-border:var(--color-blue600);--PSPDFKit-StampViewComponent-title-color:var(--color-coolGrey700);--PSPDFKit-ImagePreview-imageAnnotation--error-background:var(--color-coolGrey50);--PSPDFKit-ImagePreview-imageAnnotation--error-icon-color:var(--color-red400);--PSPDFKit-ImagePreview-imageAnnotation--error-icon-background:var(--color-white);--PSPDFKit-DropdownMenu-background:var(--color-coolGrey25);--PSPDFKit-DropdownMenu-color:var(--color-coolGrey850);--PSPDFKit-DropdownMenu-border:var(--color-coolGrey100);--PSPDFKit-DropdownMenu-item-background:var(--color-white);--PSPDFKit-DropdownMenu-item-border:var(--color-coolGrey100);--PSPDFKit-DropdownMenu-isSelected-background:var(--color-coolGrey50);--PSPDFKit-DropdownMenu-isSelected-color:var(--color-coolGrey800);--PSPDFKit-DropdownMenu-button-background:var(--color-white);--PSPDFKit-DropdownMenu-button-border:var(--color-coolGrey100);--PSPDFKit-DropdownMenu-button-color:var(--color-coolGrey800);--PSPDFKit-DropdownMenu-button-isHovered-color:var(--color-coolGrey1000);--PSPDFKit-DropdownMenu-button-fill:var(--color-coolGrey400);--PSPDFKit-Signatures-background:var(--color-blue600);--PSPDFKit-Signatures-color:var(--color-white);--PSPDFKit-Signatures-border:var(--color-blue400);--PSPDFKit-Signatures-container-color:var(--color-coolGrey700);--PSPDFKit-Signatures-editorCanvas-border:var(--color-coolGrey100);--PSPDFKit-Signatures-editorCanvas-background:var(--color-coolGrey25);--PSPDFKit-Signatures-signHere-color:var(--color-coolGrey700);--PSPDFKit-Signatures-DeleteSignatureButton-color:var(--color-coolGrey700);--PSPDFKit-Signatures-Title-color:var(--color-coolGrey700);--PSPDFKit-MarqueeZoom-rect-fill:var(--color-blue100);--PSPDFKit-Comment-thread-backgroundColor:var(--color-white);--PSPDFKit-Comment-thread-color:var(--color-coolGrey800);--PSPDFKit-Comment-accent-color:var(--color-blue600);--PSPDFKit-Comment-separatorBold-color:var(--color-coolGrey100);--PSPDFKit-Comment-separator-color:var(--color-coolGrey37);--PSPDFKit-Comment-footer-color:var(--color-coolGrey100);--PSPDFKit-Comment-footer-backgroundColor:var(--color-white);--PSPDFKit-Comment-editor-borderColor:var(--color-coolGrey200);--PSPDFKit-Comment-deleteIcon-color:var(--color-red400);--PSPDFKit-Comment-editingText-border:var(--color-blue600);--PSPDFKit-Comment-editingTextButtonContainer-border-top:var(--color-coolGrey50);--PSPDFKit-Comment-editingTextButtonIcon-color:var(--color-white);--PSPDFKit-Comment-editingTextSaveButton-color:var(--color-blue600);--PSPDFKit-Comment-editingTextSaveButtonHover-color:var(--color-blue700);--PSPDFKit-Comment-editingTextCancelButton-color:var(--color-coolGrey400);--PSPDFKit-Comment-editingTextCancelButtonHover-color:var(--color-coolGrey500);--PSPDFKit-Comment-editingTextButtonIconDisabled-background:var(--color-coolGrey200);--PSPDFKit-Comment-Toolbar-backdrop:0 1px 2px 0 #2b323b33,0 3px 4px 0 #2b323b0d;--PSPDFKit-Comment-Toolbar-background:var(--color-coolGrey25);--PSPDFKit-Comment-Toolbar-borderColor:var(--color-coolGrey50);--PSPDFKit-Comment-Toolbar-Selected-Color:var(--color-blue600);--PSPDFKit-Comment-icon-backgroundColor-hover:var(--color-coolGrey50);--PSPDFKit-Comment-icon-strokeColorActive:var(--color-white);--PSPDFKit-Comment-icon-backgroundColorActive:var(--color-blue600);--PSPDFKit-Comment-ColorPicker-borderColor:var(--color-coolGrey50);--PSPDFKit-Comment-ColorPicker-activeColor:#9e73fa;--PSPDFKit-Comment-linkEditor-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Comment-linkEditor-borderColor:var(--color-coolGrey100);--PSPDFKit-Comment-linkEditor-buttonText-color:var(--color-blue600);--PSPDFKit-Comment-linkEditor-inputLabel-color:var(--color-coolGrey800);--PSPDFKit-Comment-linkEditor-input-backgroundColor:var(--color-coolGrey50);--PSPDFKit-Comment-linkEditor-input-borderColor:var(--color-coolGrey200);--PSPDFKit-Comment-linkEditor-input-backgroundColor-hover:var(--color-coolGrey100);--PSPDFKit-Comment-linkEditor-input-placeholder-color:var(--color-coolGrey600);--PSPDFKit-Comment-Mention-color:var(--color-blue600);--PSPDFKit-Comment-Mention-Suggestion-backgroundColor:var(--color-coolGrey25);--PSPDFKit-Comment-Mention-Suggestion-borderColor:var(--color-coolGrey50);--PSPDFKit-Comment-Mention-Suggestion-separator:var(--color-coolGrey50);--PSPDFKit-Comment-Mention-Suggestion-Title-color:var(--color-coolGrey800);--PSPDFKit-Comment-Mention-Suggestion-Description-color:var(--color-coolGrey400);--PSPDFKit-Comment-Avatar-backgroundColor:var(--color-coolGrey400);--PSPDFKit-Comment-Avatar-Active-backgroundColor:var(--color-blue50);--PSPDFKit-Comment-Mention-Suggestion-Active-backgroundColor:var(--color-blue600);--PSPDFKit-Comment-Mention-Suggestion-Description-Active-color:var(--color-blue50);--PSPDFKit-Comment-Mention-Suggestion-Title-Active-color:var(--color-coolGrey50);--PSPDFKit-Comment-popover-color:var(--color-black);--PSPDFKit-Comment-popover-moreComments-gradient:linear-gradient(180deg,hsla(0,0%,100%,0),#fff);--PSPDFKit-Comment-popover-moreComments-background:var(--color-coolGrey800);--PSPDFKit-Comment-popover-moreComments-border:var(--color-coolGrey200);--PSPDFKit-Comment-popover-moreComments-color:var(--color-white);--PSPDFKit-CommentMarkerAnnotation-accent-stroke:var(--color-blue600);--PSPDFKit-SignaturesValidationStatusBar-Valid-backgroundColor:var(--color-green25);--PSPDFKit-SignaturesValidationStatusBar-Warning-backgroundColor:var(--color-yellow25);--PSPDFKit-SignaturesValidationStatusBar-Error-backgroundColor:var(--color-red50);--PSPDFKit-SignaturesValidationStatusBar-Valid-color:var(--color-coolGrey800);--PSPDFKit-SignaturesValidationStatusBar-Warning-color:var(--color-coolGrey800);--PSPDFKit-SignaturesValidationStatusBar-Error-color:var(--color-coolGrey800);--PSPDFKit-SignaturesValidationStatusBar-Icon-Valid-color:var(--color-green600);--PSPDFKit-SignaturesValidationStatusBar-Icon-Warning-color:var(--color-yellow600);--PSPDFKit-SignaturesValidationStatusBar-Icon-Error-color:var(--color-red400);--PSPDFKit-ColorDropdownPickerComponent-item-circle-border-stroke:var(--color-coolGrey700);--PSPDFKit-ElectronicSignatures-tabLabel-color:var(--color-coolGrey700);--PSPDFKit-ElectronicSignatures-tabLabel-active-color:var(--color-blue600);--PSPDFKit-ElectronicSignatures-tabList-border-color:var(--color-coolGrey200);--PSPDFKit-ElectronicSignatures-tabsContainer-background:var(--color-coolGrey50);--PSPDFKit-ElectronicSignatures-modal-background:var(--color-coolGrey37);--PSPDFKit-ElectronicSignatures-modal-legend-color:var(--color-coolGrey900);--PSPDFKit-ElectronicSignatures-storeCheckLabel-color:var(--color-coolGrey700);--PSPDFKit-ElectronicSignatures-contentArea-background:var(--color-white);--PSPDFKit-ElectronicSignatures-imagePicker-color:var(--color-blue600);--PSPDFKit-ElectronicSignatures-imagePicker-borderColor:var(--color-coolGrey200);--PSPDFKit-ElectronicSignatures-imagePicker-draggingBackground:var(--color-blue50);--PSPDFKit-ElectronicSignatures-imagePicker-draggingBorder:var(--color-blue600);--PSPDFKit-DrawingTab-deleteSignature-color:var(--color-blue700);--PSPDFKit-DrawingTab-signHere-color:var(--color-coolGrey600);--PSPDFKit-DrawingTab-canvas-borderColor:var(--color-coolGrey200);--PSPDFKit-TypingTab-container-background-color:var(--color-white);--PSPDFKit-TypingTab-input-border:var(--color-coolGrey400);--PSPDFKit-TypingTab-fontFamilyPicker-border:var(--color-coolGrey100);--PSPDFKit-TypingTab-fontFamilyPicker-background:var(--color-coolGrey50);--PSPDFKit-TypingTab-input-isFocused-background:var(--color-white);--PSPDFKit-TypingTab-Dropdown-ColorPicker-background:var(--color-white);--PSPDFKit-TypingTab-Dropdown-ColorPicker-color:var(--color-black);--PSPDFKit-TypingTab-fontFamily-border:var(--color-coolGrey100);--PSPDFKit-TypingTab-fontFamily-isHovered-background:var(--color-white);--PSPDFKit-UserHintComponent-background:var(--color-blue25);--PSPDFKit-UserHintComponent-border:var(--color-blue200);--PSPDFKit-UserHintComponent-color:var(--color-blue800);--PSPDFKit-FormDesignerExpandoComponent-button-color:var(--color-coolGrey37);--PSPDFKit-FormDesignerExpandoComponent-button-text-color:var(--color-coolGrey700);--PSPDFKit-FormDesignerExpandoComponent-button-text-hover-color:var(--color-coolGrey850);--PSPDFKit-FormDesignerExpandoComponent-content-color:var(--color-black);--PSPDFKit-FormDesignerExpandoComponent-border-color:var(--color-coolGrey50);--PSPDFKit-RadioGroup-selectedLabel-color:var(--color-coolGrey25);--PSPDFKit-RadioGroup-label-background:var(--color-coolGrey50);--PSPDFKit-RadioGroup-icon-label-background:var( --PSPDFKit-AnnotationToolbar-icon-label-background );--PSPDFKit-RadioGroup-icon-color:var(--PSPDFKit-AnnotationToolbar-icon-color);--PSPDFKit-RadioGroup-iconLabel-isActive-background:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-background );--PSPDFKit-RadioGroup-iconLabel-isActive-border:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-border );--PSPDFKit-RadioGroup-iconLabel-isActive-svg-color:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-color );--PSPDFKit-RadioGroup-iconLabel-isActive-svg-fill:var( --PSPDFKit-AnnotationToolbar-iconLabel-isActive-svg-fill );--PSPDFKit-FormDesignerToolbar-button-border:var(--PSPDFKit-AnnotationToolbar-button-border);--PSPDFKit-FormDesignerToolbar-button-color:var(--PSPDFKit-AnnotationToolbar-button-color);--PSPDFKit-FormDesignerOptionsControlComponent-title-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerOptionsControlComponent-border-color:var(--color-coolGrey100);--PSPDFKit-FormDesignerOptionsControlComponent-icon-color:var(--color-coolGrey200);--PSPDFKit-FormDesignerOptionsControlComponent-hover-color:var(--color-blue600);--PSPDFKit-FormDesignerOptionsControlComponent-addOption-button-color:var(--color-blue600);--PSPDFKit-FormDesignerOptionsControlComponent-text-color:var(--color-black);--PSPDFKit-FormDesignerOptionsControlComponent-background-color:var(--color-coolGrey50);--PSPDFKit-FormDesignerTextInputComponent-background-color:var(--color-coolGrey50);--PSPDFKit-FormDesignerTextInputComponent-label-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerTextInputComponent-input-text-color:var(--color-black);--PSPDFKit-FormDesignerTextInputComponent-border-color:var(--color-coolGrey200);--PSPDFKit-FormDesignerTextInputComponent-hover-border-color:var(--color-blue600);--PSPDFKit-FormDesignerTextInputComponent-error-color:var(--color-red400);--PSPDFKit-FormDesignerPopoverComponent-color-dropdown-menu-color:var(--color-white);--PSPDFKit-FormDesignerPopoverComponent-item-border-color:var(--color-coolGrey50);--PSPDFKit-FormDesignerPopoverComponent-item-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerPopoverComponent-warning-label-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerPopoverComponent-readonly-icon-color:var(--color-coolGrey850);--PSPDFKit-FormDesignerPopoverComponent-radioGroup-background-color:var(--color-coolGrey50);--PSPDFKit-FormDesignerPopoverComponent-deleteButton-mobile-text-color:var(--color-coolGrey800);--PSPDFKit-FormDesignerPopoverComponent-deleteButton-border:var(--color-coolGrey200);--PSPDFKit-FormDesignerPopoverComponent-doneButton-color:var(--color-white);--PSPDFKit-FormDesignerPopoverComponent-doneButton-background:var(--color-blue600);--PSPDFKit-FormDesignerPopoverComponent-doneButton-border:var(--color-blue700);--PSPDFKit-ExpandingPopoverComponent-title-color:var(--color-coolGrey850);--PSPDFKit-ExpandingPopoverComponent-background:var(--color-coolGrey50);--PSPDFKit-ExpandingPopoverComponent-background-color:var( --PSPDFKit-ExpandingPopoverComponent-background );--PSPDFKit-ExpandingPopoverComponent-content-background:var(--color-white);--PSPDFKit-ExpandingPopoverComponent-separator-border:var(--color-coolGrey100);--PSPDFKit-ExpandingPopoverComponent-footerButton-color:var(--color-blue600);--PSPDFKit-ExpandingPopoverComponent-footerButton-hover-background:var(--color-coolGrey100);--PSPDFKit-ExpandingPopoverComponent-content-color:var(--color-black);--PSPDFKit-ExitContentEditorConfirm-warning-color:var(--color-yellow600);--PSPDFKit-ExitContentEditorConfirm-buttonsGroup-background:var(--color-coolGrey25);--PSPDFKit-ExitContentEditorConfirm-buttonsGroup-border:var(--color-coolGrey50);--PSPDFKit-ExitContentEditorConfirm-description-color:var(--color-coolGrey600);--PSPDFKit-ExitContentEditorConfirm-heading-color:var(--color-coolGrey850);--PSPDFKit-MeasurementSettingsModal-separator-color:var(--color-coolGrey50);--PSPDFKit-MeasurementSettingsModal-info-color:var(--color-coolGrey400);--PSPDFKit-MeasurementSettingsModal-background-color:var(--color-coolGrey50);--PSPDFKit-MeasurementSettingsModal-section-background-color:var(--color-coolGrey37);--PSPDFKit-MeasurementSettingsModal-section-color:var(--color-coolGrey700);--PSPDFKit-MeasurementSettingsModal-section-text-color:var(--color-coolGrey800);--PSPDFKit-MeasurementSettingsModal-highlight-color:var(--color-blue400);--PSPDFKit-MeasurementSettingsModal-calibration-success-text-color:var(--color-coolGrey600);--PSPDFKit-MeasurementSettingsModal-error-text-color:var(--color-red400);--PSPDFKit-DropdownMenuComponent-trigger-backgroundColor:var(--color-coolGrey50);--PSPDFKit-DropdownMenuComponent-content-backgroundColor:var(--color-coolGrey25);--PSPDFKit-DropdownMenuComponent-border:1px solid var(--color-coolGrey100);--PSPDFKit-DropdownMenuComponent-item-highlighted-backgroundColor:var(--color-blue600);--PSPDFKit-DropdownMenuComponent-trigger-icon-fill:var(--color-coolGrey700);--PSPDFKit-DropdownMenuComponent-item-color:var(--color-black);--PSPDFKit-DropdownMenuComponent-separator-backgroundColor:var(--color-coolGrey50)} diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/pspdfkit-580678e36df8ca44.wasm.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/pspdfkit-580678e36df8ca44.wasm.js new file mode 100644 index 00000000..a6d94978 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/pspdfkit-580678e36df8ca44.wasm.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +var PSPDFModuleInit=function(){var _scriptDir="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0;return"undefined"!=typeof __filename&&(_scriptDir=_scriptDir||__filename),function(PSPDFModuleInit){PSPDFModuleInit=PSPDFModuleInit||{};var Module=void 0!==PSPDFModuleInit?PSPDFModuleInit:{},readyPromiseResolve,readyPromiseReject;Module.ready=new Promise((function(g,A){readyPromiseResolve=g,readyPromiseReject=A})),Module.expectedDataFileDownloads||(Module.expectedDataFileDownloads=0),Module.expectedDataFileDownloads++,function(g){function A(){Module.FS_createPath("/","assets",!0,!0),Module.FS_createPath("/assets","JavaScript",!0,!0),Module.FS_createPath("/assets","NoteIcons",!0,!0),Module.FS_createPath("/assets","Signatures",!0,!0),Module.FS_createDataFile("/assets/JavaScript","Init.js",decodeBase64("IWZ1bmN0aW9uKGUpe3ZhciB0PXt9O2Z1bmN0aW9uIHIobil7aWYodFtuXSlyZXR1cm4gdFtuXS5leHBvcnRzO3ZhciBpPXRbbl09e2k6bixsOiExLGV4cG9ydHM6e319O3JldHVybiBlW25dLmNhbGwoaS5leHBvcnRzLGksaS5leHBvcnRzLHIpLGkubD0hMCxpLmV4cG9ydHN9ci5tPWUsci5jPXQsci5kPWZ1bmN0aW9uKGUsdCxuKXtyLm8oZSx0KXx8T2JqZWN0LmRlZmluZVByb3BlcnR5KGUsdCx7ZW51bWVyYWJsZTohMCxnZXQ6bn0pfSxyLnI9ZnVuY3Rpb24oZSl7InVuZGVmaW5lZCIhPXR5cGVvZiBTeW1ib2wmJlN5bWJvbC50b1N0cmluZ1RhZyYmT2JqZWN0LmRlZmluZVByb3BlcnR5KGUsU3ltYm9sLnRvU3RyaW5nVGFnLHt2YWx1ZToiTW9kdWxlIn0pLE9iamVjdC5kZWZpbmVQcm9wZXJ0eShlLCJfX2VzTW9kdWxlIix7dmFsdWU6ITB9KX0sci50PWZ1bmN0aW9uKGUsdCl7aWYoMSZ0JiYoZT1yKGUpKSw4JnQpcmV0dXJuIGU7aWYoNCZ0JiYib2JqZWN0Ij09dHlwZW9mIGUmJmUmJmUuX19lc01vZHVsZSlyZXR1cm4gZTt2YXIgbj1PYmplY3QuY3JlYXRlKG51bGwpO2lmKHIucihuKSxPYmplY3QuZGVmaW5lUHJvcGVydHkobiwiZGVmYXVsdCIse2VudW1lcmFibGU6ITAsdmFsdWU6ZX0pLDImdCYmInN0cmluZyIhPXR5cGVvZiBlKWZvcih2YXIgaSBpbiBlKXIuZChuLGksZnVuY3Rpb24odCl7cmV0dXJuIGVbdF19LmJpbmQobnVsbCxpKSk7cmV0dXJuIG59LHIubj1mdW5jdGlvbihlKXt2YXIgdD1lJiZlLl9fZXNNb2R1bGU/ZnVuY3Rpb24oKXtyZXR1cm4gZS5kZWZhdWx0fTpmdW5jdGlvbigpe3JldHVybiBlfTtyZXR1cm4gci5kKHQsImEiLHQpLHR9LHIubz1mdW5jdGlvbihlLHQpe3JldHVybiBPYmplY3QucHJvdG90eXBlLmhhc093blByb3BlcnR5LmNhbGwoZSx0KX0sci5wPSIiLHIoci5zPTUpfShbZnVuY3Rpb24oZSx0LHIpe3ZhciBuPXIoMik7ZnVuY3Rpb24gaShlLHQpe3ZhciByLGksYT1uLkFGRXh0cmFjdE51bXMoZSk7cmV0dXJuIHQ9dHx8bmV3IERhdGUsZT8hbi5BRlRpbWVHYXJiYWdlUmVnRXhwLnRlc3QoZSl8fCFhfHxhLmxlbmd0aDwyfHwzPGEubGVuZ3RoP251bGw6KGk9ISFuLkFGUE1SZWdFeHAudGVzdChlKSxlPSEhbi5BRkFNUmVnRXhwLnRlc3QoZSkscj1uZXcgTnVtYmVyKGFbMF0pLGk/cjwxMiYmKHIrPTEyKTplJiYxMjw9ciYmKHItPTEyKSxpPWFbMV0sZT0zPT1hLmxlbmd0aD9hWzJdOjAsdC5zZXRIb3VycyhyKSx0LnNldE1pbnV0ZXMoaSksdC5zZXRTZWNvbmRzKGUpLHQuZ2V0SG91cnMoKSE9cnx8dC5nZXRNaW51dGVzKCkhPWl8fHQuZ2V0U2Vjb25kcygpIT1lP251bGw6dCk6dH1mdW5jdGlvbiBhKGUsdCl7dmFyIHI9bmV3IERhdGU7aWYoci5zZXRIb3VycygxMiwwLDApLCFlKXJldHVybiByO3ZhciBhPWZ1bmN0aW9uKGUpe2Zvcih2YXIgdD0wLHI9MDtyPGUubGVuZ3RoO3IrKylzd2l0Y2goZS5jaGFyQXQocikpe2Nhc2UiXFwiOnIrKzticmVhaztjYXNlInkiOnQrPTF9cmV0dXJuIHR9KHQpLHU9ZnVuY3Rpb24oZSl7Zm9yKHZhciB0PSIiLHI9MDtyPGUubGVuZ3RoO3IrKylzd2l0Y2goZS5jaGFyQXQocikpe2Nhc2UiXFwiOnIrKzticmVhaztjYXNlIm0iOi0xPT10LmluZGV4T2YoIm0iKSYmKHQrPSJtIik7YnJlYWs7Y2FzZSJkIjotMT09dC5pbmRleE9mKCJkIikmJih0Kz0iZCIpO2JyZWFrO2Nhc2UiaiI6Y2FzZSJ5IjotMT09dC5pbmRleE9mKCJ5IikmJih0Kz0ieSIpfXJldHVybi0xPT10LmluZGV4T2YoIm0iKSYmKHQrPSJtIiksLTE9PXQuaW5kZXhPZigiZCIpJiYodCs9ImQiKSwtMT09dC5pbmRleE9mKCJ5IikmJih0Kz0ieSIpLHR9KHQpLGw9ZnVuY3Rpb24oZSl7dmFyIHQscj0iIjtyZXR1cm4odD1uLkFGRXh0cmFjdFJlZ0V4cChuLkFGUE1SZWdFeHAsZSkpJiYocj10WzFdLGU9dFswXSksKHQ9bi5BRkV4dHJhY3RSZWdFeHAobi5BRkFNUmVnRXhwLGUpKSYmKGU9dFswXSksKHQ9bi5BRkV4dHJhY3RSZWdFeHAobi5BRlRpbWVMb25nUmVnRXhwLGUpKXx8KHQ9bi5BRkV4dHJhY3RSZWdFeHAobi5BRlRpbWVTaG9ydFJlZ0V4cCxlKSk/KHRbMV0rPXIsdCk6bnVsbH0oZSksYz0obCYmKGU9bFswXSksbi5BRkV4dHJhY3ROdW1zKGUpKTtpZighYylyZXR1cm4gbnVsbDtpZigzPT1jLmxlbmd0aClyZXR1cm4gdj0rY1t1LmluZGV4T2YoInkiKV0sMjxhJiZ2PDEwMHx8OTk5OTx2P251bGw6KHI9bSh2PW8odiksY1t1LmluZGV4T2YoIm0iKV0tMSxjW3UuaW5kZXhPZigiZCIpXSksbD9yPWkobFsxXSxyKTpyJiZyLnNldEhvdXJzKDAsMCwwKSxyKTtpZihzPWZ1bmN0aW9uKGUpe2Zvcih2YXIgdD0wO3Q8bi5BRk1vbnRoc1JlZ0V4cC5sZW5ndGg7dCsrKXt2YXIgcj1lLm1hdGNoKG4uQUZNb250aHNSZWdFeHBbdF0pO2lmKHIpcmV0dXJuIGZ1bmN0aW9uKGUpe3ZhciB0PSh0PW5ldyBSZWdFeHAoZSsiIChbMC05XSspIiwiaSIpKS5leGVjKCJKYW51YXJ5IDEgRmVicnVhcnkgMiBNYXJjaCAzIEFwcmlsIDQgTWF5IDUgSnVuZSA2IEp1bHkgNyBBdWd1c3QgOCBTZXB0ZW1iZXIgOSBPY3RvYmVyIDEwIE5vdmVtYmVyIDExIERlY2VtYmVyIDEyIFNlcHQgOSBKYW4gMSBGZWIgMiBNYXIgMyBBcHIgNCBKdW4gNiBKdWwgNyBBdWcgOCBTZXAgOSBPY3QgMTAgTm92IDExIERlYyAxMiAiKTtyZXR1cm4gZSYmdD8rdFsxXTowfShyW3IubGVuZ3RoLTFdKX1yZXR1cm4gMH0oZSksMj09Yy5sZW5ndGgpe2lmKHMpcmV0dXJuIHA9dS5pbmRleE9mKCJ5Iik8dS5pbmRleE9mKCJkIik/KHY9K2NbMF0sY1sxXSk6KHY9K2NbMV0sY1swXSksMjxhJiZ2PDEwMHx8OTk5OTx2P251bGw6KHI9bSh2PW8odikscy0xLHApLGw/cj1pKGxbMV0scik6ciYmci5zZXRIb3VycygwLDAsMCkscik7aWYodS5pbmRleE9mKCJ5Iik8dS5pbmRleE9mKCJkIikpe2lmKHM9dS5pbmRleE9mKCJ5Iik8dS5pbmRleE9mKCJtIik/KHY9K2NbMF0sY1sxXSk6KHY9K2NbMV0sY1swXSksMjxhJiZ2PDEwMHx8OTk5OTx2KXJldHVybiBudWxsO3I9bSh2PW8odikscy0xLDEpfWVsc2Ugdj1yLmdldEZ1bGxZZWFyKCkscj11LmluZGV4T2YoImQiKTx1LmluZGV4T2YoIm0iKT9tKHYsY1sxXS0xLGNbMF0pOm0odixjWzBdLTEsY1sxXSk7cmV0dXJuIGw/cj1pKGxbMV0scik6ciYmci5zZXRIb3VycygwLDAsMCkscn1pZigxIT1jLmxlbmd0aClyZXR1cm4gbnVsbDtpZihzKXtpZih1LmluZGV4T2YoInkiKTx1LmluZGV4T2YoImQiKSl7aWYodj0rY1swXSwyPGEmJnY8MTAwfHw5OTk5PHYpcmV0dXJuIG51bGw7cj1tKHY9byh2KSxzLTEsMSl9ZWxzZSByPW0odj1yLmdldEZ1bGxZZWFyKCkscy0xLGNbMF0pO3JldHVybiBsP3I9aShsWzFdLGRhdGUpOnImJnIuc2V0SG91cnMoMCwwLDApLHJ9aWYodC5sZW5ndGghPWUubGVuZ3RoKXJldHVybiBudWxsO2Zvcih2YXIgdj0iIixzPSIiLHA9IiIsZz0wO2c8dC5sZW5ndGg7ZysrKXN3aXRjaCh0LmNoYXJBdChnKSl7Y2FzZSJcXCI6ZysrO2JyZWFrO2Nhc2UieSI6dis9ZS5jaGFyQXQoZyk7YnJlYWs7Y2FzZSJtIjpzKz1lLmNoYXJBdChnKTticmVhaztjYXNlImQiOnArPWUuY2hhckF0KGcpfXJldHVybiB2Kj0xLChzKj0xKSYmLS1zLChwKj0xKXx8KHArPTEpLDI8YSYmdjwxMDB8fDk5OTk8dj9udWxsOihyPW0odj1vKHYpLHMscCksbD9yPWkobFsxXSxkYXRlKTpyJiZyLnNldEhvdXJzKDAsMCwwKSxyKX1mdW5jdGlvbiB1KGUpe2lmKGV2ZW50LnZhbHVlKXtpZigtMSE9ZXZlbnQudmFsdWUuaW5kZXhPZigiR01UKyIpKXt2YXIgdD1BRlBhcnNlR01URGF0ZVN0cmluZyhldmVudC52YWx1ZSk7aWYodClyZXR1cm4gdm9pZChldmVudC52YWx1ZT11dGlsLnByaW50ZChlLHQpKX10PWEoZXZlbnQudmFsdWUsZSksZXZlbnQudmFsdWU9dD91dGlsLnByaW50ZChlLHQpOiIifX1mdW5jdGlvbiBsKGUpe2V2ZW50LndpbGxDb21taXQmJiFhKG4uQUZNZXJnZUNoYW5nZShldmVudCksZSkmJihldmVudC53aWxsQ29tbWl0JiYhZXZlbnQuc2lsZW5jZUVycm9ycz8oZT11dGlsLnByaW50ZihTY3JpcHRTdHJpbmcuaW52YWxpZF9kYXRlX2Vycm9yX21lc3NhZ2UsbnVsbCE9ZXZlbnQudGFyZ2V0P2V2ZW50LnRhcmdldC5uYW1lOiIiLGUpLGFwcC5hbGVydChlKSk6YXBwLmJlZXAoMCksZXZlbnQucmM9ITEpfWZ1bmN0aW9uIG8oZSl7cmV0dXJuIGU8MTAwJiY1MDw9ZT9lKz0xOTAwOjA8PWUmJmU8NTAmJihlKz0yZTMpLGV9ZnVuY3Rpb24gbShlLHQscil7dmFyIG49bmV3IERhdGU7cmV0dXJuIG4uc2V0RnVsbFllYXIoZSx0LHIpLG4uZ2V0RnVsbFllYXIoKSE9ZXx8bi5nZXRNb250aCgpIT10fHxuLmdldERhdGUoKSE9cj9udWxsOm59ZS5leHBvcnRzPXtBRkRhdGVfRm9ybWF0OmZ1bmN0aW9uKGUpe3UoWyJtL2QiLCJtL2QveXkiLCJtbS9kZC95eSIsIm1tL3l5IiwiZC1tbW0iLCJkLW1tbS15eSIsImRkLW1tbS15eSIsInl5LW1tLWRkIiwibW1tLXl5IiwibW1tbS15eSIsIm1tbSBkLCB5eXl5IiwibW1tbSBkLCB5eXl5IiwibS9kL3l5IGg6TU0gdHQiLCJtL2QveXkgSEg6TU0iXVtlXSl9LEFGRGF0ZV9Gb3JtYXRFeDp1LEFGRGF0ZV9LZXlzdHJva2U6ZnVuY3Rpb24oZSl7bChbIm0vZCIsIm0vZC95eSIsIm1tL2RkL3l5IiwibW0veXkiLCJkLW1tbSIsImQtbW1tLXl5IiwiZGQtbW1tLXl5IiwieXktbW0tZGQiLCJtbW0teXkiLCJtbW1tLXl5IiwibW1tIGQsIHl5eXkiLCJtbW1tIGQsIHl5eXkiLCJtL2QveXkgaDpNTSB0dCIsIm0vZC95eSBISDpNTSJdW2VdKX0sQUZEYXRlX0tleXN0cm9rZUV4OmwsQUZUaW1lX0Zvcm1hdDpmdW5jdGlvbihlKXt2YXIgdDtldmVudC52YWx1ZSYmKCh0PWkoZXZlbnQudmFsdWUsbnVsbCkpP2V2ZW50LnZhbHVlPXV0aWwucHJpbnRkKFsiSEg6TU0iLCJoOk1NIHR0IiwiSEg6TU06c3MiLCJoOk1NOnNzIHR0Il1bZV0sdCk6ZXZlbnQudmFsdWU9IiIpfSxBRlRpbWVfRm9ybWF0RXg6ZnVuY3Rpb24oZSl7dmFyIHQ7ZXZlbnQudmFsdWUmJih0PWkoZXZlbnQudmFsdWUsbnVsbCksZXZlbnQudmFsdWU9dD91dGlsLnByaW50ZChlLHQpOiIiKX0sQUZUaW1lX0tleXN0cm9rZTpmdW5jdGlvbihlKXt2YXIgdDtldmVudC53aWxsQ29tbWl0JiYhaShldmVudC52YWx1ZSxudWxsKSYmKGV2ZW50LndpbGxDb21taXQmJiFldmVudC5zaWxlbmNlRXJyb3JzPyh0PXV0aWwucHJpbnRmKFNjcmlwdFN0cmluZy5pbnZhbGlkX3ZhbHVlX2Zvcm1hdF9lcnJvcl9tZXNzYWdlLG51bGwhPWV2ZW50LnRhcmdldD9ldmVudC50YXJnZXQubmFtZToiIiksYXBwLmFsZXJ0KHQpKTphcHAuYmVlcCgwKSxldmVudC5yYz0hMSl9fX0sZnVuY3Rpb24oZSx0LHIpe3ZhciBuPXIoMik7ZnVuY3Rpb24gaShlKXt2YXIgdDtyZXR1cm4ibnVtYmVyIj09KHQ9dHlwZW9mIGUpP2U6InN0cmluZyIhPXQ/bnVsbDoodD1uLkFGRXh0cmFjdE51bXMoZSkpPyh0PXQuam9pbigiLiIpLCh0PTA8PWUuaW5kZXhPZigiLS4iKT8iMC4iK3Q6dCkqKDA8PWUuaW5kZXhPZigiLSIpPy0xOjEpKTpudWxsfWZ1bmN0aW9uIGEoZSx0LHIsaSxhLHUpe3ZhciBsLG8sbT1uLkFGTWVyZ2VDaGFuZ2UoZXZlbnQpO20mJihvPTE8dD8obD1uLkFGTnVtYmVyQ29tbWFTZXBDb21taXRSZWdFeHAsbi5BRk51bWJlckNvbW1hU2VwRW50cnlSZWdFeHApOihsPW4uQUZOdW1iZXJEb3RTZXBDb21taXRSZWdFeHAsbi5BRk51bWJlckRvdFNlcEVudHJ5UmVnRXhwKSxuLkFGRXhhY3RNYXRjaChldmVudC53aWxsQ29tbWl0P2w6byxtKXx8KGV2ZW50LndpbGxDb21taXQmJiFldmVudC5zaWxlbmNlRXJyb3JzPyhsPXV0aWwucHJpbnRmKFNjcmlwdFN0cmluZy5pbnZhbGlkX3ZhbHVlX2Vycm9yX21lc3NhZ2UsbnVsbCE9ZXZlbnQudGFyZ2V0P2V2ZW50LnRhcmdldC5uYW1lOiIiKSxhcHAuYWxlcnQobCkpOmFwcC5iZWVwKDApLGV2ZW50LnJjPSExKSxldmVudC53aWxsQ29tbWl0JiYxPHQmJihvPWV2ZW50LnZhbHVlLG09bmV3IFJlZ0V4cCgiLCIpLG89by5yZXBsYWNlKG0sIi4iKSxldmVudC52YWx1ZT0rbykpfW5ldyBSZWdFeHAoIlswLTldKyIpLGUuZXhwb3J0cz17QUZOdW1iZXJfRm9ybWF0OmZ1bmN0aW9uKGUsdCxyLG4sYSx1KXt2YXIgbD1pKGV2ZW50LnZhbHVlKSxvPWw8MD8tMToxLG09ZXZlbnQudGFyZ2V0LGM9IiI7aWYobnVsbD09bHx8aXNOYU4obCkpcmV0dXJuIGNvbnNvbGUucmVwb3J0RXJyb3IoIkNvdWxkIG5vdCBjb252ZXJ0IHZhbHVlIHRvIG51bWJlcjogIitldmVudC52YWx1ZSksdm9pZChldmVudC52YWx1ZT0iIik7MSE9ciYmMyE9cnx8KG0udGV4dENvbG9yPTA8bz9jb2xvci5ibGFjazpjb2xvci5yZWQpLGw9dXRpbC5wcmludGYoIiUsIit0KyIuIitlKyJmIixsKSxvPDAmJnUmJjA9PXImJihjPSItIiksKDI9PXJ8fDM9PXIpJiZvPDAmJihjKz0iKCIpLHUmJihjKz1hKSxjKz1sPTA9PXImJiF1fHwiLSIhPWwuc3Vic3RyaW5nKDAsMSk/bDpsLnN1YnN0cmluZygxKSx1fHwoYys9YSksKDI9PXJ8fDM9PXIpJiZvPDAmJihjKz0iKSIpLGV2ZW50LnZhbHVlPWN9LEFGTnVtYmVyX0tleXN0cm9rZTphLEFGTWFrZU51bWJlcjppLEFGUGVyY2VudF9Gb3JtYXQ6ZnVuY3Rpb24oZSx0LHIpe3ZhciBuPTEwMCppKGV2ZW50LnZhbHVlKTt0PSIlLCIrdCsiLiIrZSsiZiI7bnVsbD09bj9ldmVudC52YWx1ZT0iIjoobj11dGlsLnByaW50Zih0LG4pLGV2ZW50LnZhbHVlPXI/IiUiK246bisiJSIpfSxBRlBlcmNlbnRfS2V5c3Ryb2tlOmZ1bmN0aW9uKGUsdCl7cmV0dXJuIGEoMCx0KX19fSxmdW5jdGlvbihlLHQpe2UuZXhwb3J0cz17QUZFeHRyYWN0UmVnRXhwOmZ1bmN0aW9uKGUsdCl7dmFyIHI9W107cmV0dXJuKG1hdGNoPWUuZXhlYyh0KSk/KHIubGVuZ3RoPTIsclswXT10LnN1YnN0cmluZygwLG1hdGNoLmluZGV4KSt0LnN1YnN0cmluZyhtYXRjaC5pbmRleCttYXRjaFswXS5sZW5ndGgpLHJbMV09bWF0Y2gscik6bnVsbH0sQUZNZXJnZUNoYW5nZTpmdW5jdGlvbihlKXt2YXIgdCxyPWUudmFsdWU7cmV0dXJuIGUud2lsbENvbW1pdD9lLnZhbHVlOih0PTA8PWUuc2VsU3RhcnQ/ci5zdWJzdHJpbmcoMCxlLnNlbFN0YXJ0KToiIixyPTA8PWUuc2VsRW5kJiZlLnNlbEVuZDw9ci5sZW5ndGg/ci5zdWJzdHJpbmcoZS5zZWxFbmQsci5sZW5ndGgpOiIiLHQrZS5jaGFuZ2Urcil9LEFGRXh0cmFjdE51bXM6ZnVuY3Rpb24oZSl7cmV0dXJuKGU9KGU9Ii4iIT1lLmNoYXJBdCgwKSYmIiwiIT1lLmNoYXJBdCgwKT9lOiIwIitlKS5tYXRjaCgvWzAtOV0rL2cpKSYmMTw9ZS5sZW5ndGg/ZTpudWxsfSxBRkV4YWN0TWF0Y2g6ZnVuY3Rpb24oZSx0KXtpZihBcnJheS5pc0FycmF5KGUpKXtmb3IodmFyIHI9MDtyPGUubGVuZ3RoO3IrKylpZigobj10Lm1hdGNoKGVbcl0pKSYmMDxuLmxlbmd0aCYmblswXT09dClyZXR1cm4hMH1lbHNle2lmKCEoZSBpbnN0YW5jZW9mIFJlZ0V4cCkpcmV0dXJuITE7dmFyIG47aWYoKG49dC5tYXRjaChlKSkmJjA8bi5sZW5ndGgmJm5bMF09PXQpcmV0dXJuITB9cmV0dXJuITF9LEFGVGltZUdhcmJhZ2VSZWdFeHA6L1swLTldezEsMn06WzAtOV17MSwyfSg6WzAtOV17MSwyfSk/KFxccykqKGFtfHBtKT8vaSxBRlBNUmVnRXhwOi9wbS9pLEFGQU1SZWdFeHA6L2FtL2ksQUZUaW1lTG9uZ1JlZ0V4cDovWzAtOV17MSwyfTpbMC05XXsxLDJ9OlswLTldezEsMn0vLEFGVGltZVNob3J0UmVnRXhwOi9bMC05XXsxLDJ9OlswLTldezEsMn0vLEFGTW9udGhzUmVnRXhwOlsvSmFudWFyeS9pLC9GZWJydWFyeS9pLC9NYXJjaC9pLC9BcHJpbC9pLC9NYXkvaSwvSnVuZS9pLC9KdWx5L2ksL0F1Z3VzdC9pLC9TZXB0ZW1iZXIvaSwvT2N0b2Jlci9pLC9Ob3ZlbWJlci9pLC9EZWNlbWJlci9pLC9TZXB0L2ksL0phbi9pLC9GZWIvaSwvTWFyL2ksL0Fwci9pLC9KdW4vaSwvSnVsL2ksL0F1Zy9pLC9TZXAvaSwvT2N0L2ksL05vdi9pLC9EZWMvaSwvKD86KS9pXSxBRk51bWJlckRvdFNlcENvbW1pdFJlZ0V4cDpbL1srLV0/WzAtOV0rKFwuWzAtOV0rKT8vaSwvWystXT9cLlswLTldKy9pLC9bKy1dP1swLTldK1wuL2ldLEFGTnVtYmVyQ29tbWFTZXBDb21taXRSZWdFeHA6Wy9bKy1dP1swLTldKyhbLixdWzAtOV0rKT8vaSwvWystXT9bLixdWzAtOV0rL2ksL1srLV0/WzAtOV0rWy4sXS9pXSxBRk51bWJlckNvbW1hU2VwRW50cnlSZWdFeHA6L1srLV0/WzAtOV0qLD9bMC05XSovaSxBRk51bWJlckRvdFNlcEVudHJ5UmVnRXhwOi9bKy1dP1swLTldKlwuP1swLTldKi9pLEFGWmlwQ29tbWl0UmVnRXhwOi9bMC05XXs1fS9pLEFGWmlwRW50cnlSZWdFeHA6L1swLTldezAsNX0vaSxBRlppcDRDb21taXRSZWdFeHA6L1swLTldezV9KFwufFstIF0pP1swLTldezR9L2ksQUZaaXA0RW50cnlSZWdFeHA6L1swLTldezAsNX0oXC58Wy0gXSk/WzAtOV17MCw0fS9pLEFGUGhvbmVDb21taXRSZWdFeHA6Wy9bMC05XXszfShcLnxbLSBdKT9bMC05XXs0fS9pLC9bMC05XXszfShcLnxbLSBdKT9bMC05XXszfShcLnxbLSBdKT9bMC05XXs0fS9pLC9cKFswLTldezN9XCkoXC58Wy0gXSk/WzAtOV17M30oXC58Wy0gXSk/WzAtOV17NH0vaSwvMDExKFwufFstIFswLTldKSovaV0sQUZQaG9uZUVudHJ5UmVnRXhwOlsvWzAtOV17MCwzfShcLnxbLSBdKT9bMC05XXswLDN9KFwufFstIF0pP1swLTldezAsNH0vaSwvXChbMC05XXswLDN9L2ksL1woWzAtOV17MCwzfVwpKFwufFstIF0pP1swLTldezAsM30oXC58Wy0gXSk/WzAtOV17MCw0fS9pLC9cKFswLTldezAsM30oXC58Wy0gXSk/WzAtOV17MCwzfShcLnxbLSBdKT9bMC05XXswLDR9L2ksL1swLTldezAsM31cKShcLnxbLSBdKT9bMC05XXswLDN9KFwufFstIF0pP1swLTldezAsNH0vaSwvMDExKFwufFstIFswLTldKSovaV0sQUZTU05Db21taXRSZWdFeHA6L1swLTldezN9KFwufFstIF0pP1swLTldezJ9KFwufFstIF0pP1swLTldezR9L2ksQUZTU05FbnRyeVJlZ0V4cDovWzAtOV17MCwzfShcLnxbLSBdKT9bMC05XXswLDJ9KFwufFstIF0pP1swLTldezAsNH0vaX19LGZ1bmN0aW9uKGUsdCxyKXt2YXIgbj1yKDIpO2Z1bmN0aW9uIGkoZSl7cmV0dXJuIjkiPT1lfHwiWCI9PWV8fCJBIj09ZXx8Ik8iPT1lfWZ1bmN0aW9uIGEoZSx0KXtmb3IodmFyIHI9dDtyPGUubGVuZ3RoO3IrKylpZihpKGUuY2hhckF0KHIpKSlyZXR1cm4gcjtyZXR1cm4tMX1mdW5jdGlvbiB1KGUpe3JldHVybiIwIjw9ZSYmZTw9IjkifWZ1bmN0aW9uIGwoZSl7cmV0dXJuImEiPD1lJiZlPD0ieiJ8fCJBIjw9ZSYmZTw9IloifWZ1bmN0aW9uIG8oZSx0KXtzd2l0Y2godCl7Y2FzZSI5IjpyZXR1cm4gdShlKTtjYXNlIkEiOnJldHVybiBsKGUpO2Nhc2UiTyI6cmV0dXJuIHUocj1lKXx8bChyKTtjYXNlIlgiOnJldHVybiAxO2RlZmF1bHQ6cmV0dXJuIGU9PXR9dmFyIHJ9ZS5leHBvcnRzPXtBRlNwZWNpYWxfRm9ybWF0OmZ1bmN0aW9uKGUpe3ZhciB0PWV2ZW50LnZhbHVlO2lmKHQpe3N3aXRjaChlKXtjYXNlIDA6dmFyIHI9Ijk5OTk5IjticmVhaztjYXNlIDE6cj0iOTk5OTktOTk5OSI7YnJlYWs7Y2FzZSAyOnI9MTA8PXV0aWwucHJpbnR4KCI5OTk5OTk5OTk5Iix0KS5sZW5ndGg/Iig5OTkpIDk5OS05OTk5IjoiOTk5LTk5OTkiO2JyZWFrO2Nhc2UgMzpyPSI5OTktOTktOTk5OSJ9ZXZlbnQudmFsdWU9dXRpbC5wcmludHgocix0KX19LEFGU3BlY2lhbF9LZXlzdHJva2U6ZnVuY3Rpb24oZSl7dmFyIHQscixpPW4uQUZNZXJnZUNoYW5nZShldmVudCk7aWYoaSl7c3dpdGNoKGUpe2Nhc2UgMDp0PW4uQUZaaXBDb21taXRSZWdFeHAscj1uLkFGWmlwRW50cnlSZWdFeHA7YnJlYWs7Y2FzZSAxOnQ9bi5BRlppcDRDb21taXRSZWdFeHAscj1uLkFGWmlwNEVudHJ5UmVnRXhwO2JyZWFrO2Nhc2UgMjp0PW4uQUZQaG9uZUNvbW1pdFJlZ0V4cCxyPW4uQUZQaG9uZUVudHJ5UmVnRXhwO2JyZWFrO2Nhc2UgMzp0PW4uQUZTU05Db21taXRSZWdFeHAscj1uLkFGU1NORW50cnlSZWdFeHB9bi5BRkV4YWN0TWF0Y2goZXZlbnQud2lsbENvbW1pdD90OnIsaSl8fChldmVudC53aWxsQ29tbWl0JiYhZXZlbnQuc2lsZW5jZUVycm9ycz8oZT11dGlsLnByaW50ZihTY3JpcHRTdHJpbmcuaW52YWxpZF92YWx1ZV9mb3JtYXRfZXJyb3JfbWVzc2FnZSxudWxsIT1ldmVudC50YXJnZXQ/ZXZlbnQudGFyZ2V0Lm5hbWU6IiIpLGFwcC5hbGVydChlKSk6YXBwLmJlZXAoMCksZXZlbnQucmM9ITEpfX0sQUZTcGVjaWFsX0tleXN0cm9rZUV4OmZ1bmN0aW9uKGUpe3ZhciB0PW4uQUZNZXJnZUNoYW5nZShldmVudCk7aWYodCYmZS5sZW5ndGgpe3ZhciByPXV0aWwucHJpbnRmKFNjcmlwdFN0cmluZy5pbnZhbGlkX3ZhbHVlX2Zvcm1hdF9lcnJvcl9tZXNzYWdlLGUpO2lmKGV2ZW50LndpbGxDb21taXQpcmV0dXJuLTEhPWEoZSx0Lmxlbmd0aCk/KGV2ZW50LnNpbGVuY2VFcnJvcnN8fGFwcC5hbGVydChyKSx2b2lkKGV2ZW50LnJjPSExKSk6dm9pZChldmVudC52YWx1ZT1ldmVudC52YWx1ZStlLnN1YnN0cmluZyh0Lmxlbmd0aCxlLmxlbmd0aCkpO2Zvcih2YXIgdT0wLGw9ZXZlbnQuc2VsU3RhcnQsbT0wLGM9MDtjPHQubGVuZ3RoOyl7dmFyIHY9ZS5jaGFyQXQobSkscz10LmNoYXJBdChjKTtpZighbyhzLHYpKXt2YXIgcD1hKGUsbSksZz1ldmVudC5zZWxTdGFydCtldmVudC5jaGFuZ2UubGVuZ3RoK3U7aWYoIShtPGUubGVuZ3RoJiYhaSh2KSYmLTEhPXAmJm8ocyxlLmNoYXJBdChwKSkmJmw8PWMrdSYmYyt1PD1nKSlyZXR1cm4gZXZlbnQuc2lsZW5jZUVycm9yc3x8YXBwLmFsZXJ0KHIpLHZvaWQoZXZlbnQucmM9ITEpO3Y9ZS5zdWJzdHJpbmcobSxwKSxldmVudC5jaGFuZ2U9ZXZlbnQuY2hhbmdlLnN1YnN0cmluZygwLGMrdS1sKSt2K2V2ZW50LmNoYW5nZS5zdWJzdHJpbmcoYyt1LWwpLHUrPXYubGVuZ3RoLG09cH1jKyssbSsrfX19fX0sZnVuY3Rpb24oZSx0LHIpe3IoMik7dmFyIG49cigxKTtmdW5jdGlvbiBpKGUsdCxyKXt2YXIgbj0rdDtyZXR1cm4gdD0rdCxyPStyLCJBVkciPT1lfHwiU1VNIj09ZT9uPXQrcjoiUFJEIj09ZT9uPXQqcjoiTUlOIj09ZT9uPU1hdGgubWluKHQscik6Ik1BWCI9PWUmJihuPU1hdGgubWF4KHQscikpLG59ZS5leHBvcnRzPXtBRlNpbXBsZTppLEFGU2ltcGxlX0NhbGN1bGF0ZTpmdW5jdGlvbihlLHQpe2Zvcih2YXIgcixhPTAsdT0iUFJEIj09ZT8xOjAsbD0ic3RyaW5nIj09dHlwZW9mKHQ9dCk/KChyPW5ldyBSZWdFeHApLmNvbXBpbGUoIixbIF0/IiksdC5zcGxpdChyKSk6dCxvPTA7bzxsLmxlbmd0aDtvKyspZm9yKHZhciBtPWRvYy5nZXRGaWVsZChsW29dKS5nZXRBcnJheSgpLGM9MDtjPG0ubGVuZ3RoO2MrKyl7dmFyIHY9bi5BRk1ha2VOdW1iZXIobVtjXS52YWx1ZSk7dT1pKGUsdT0wIT1vfHwwIT1jfHwiTUlOIiE9ZSYmIk1BWCIhPWU/dTp2LHYpO2ErK30iQVZHIj09ZSYmMDxhJiYodS89YSksIkFWRyIhPWUmJiJTVU0iIT1lJiYiUFJEIiE9ZXx8KHU9K3UudG9GaXhlZCg2KSksZXZlbnQudmFsdWU9dX19fSxmdW5jdGlvbihlLHQscil7QUZOdW1iZXJfRm9ybWF0PWZ1bmN0aW9uKGUsdCxuLGksYSx1KXtyZXR1cm4gcigxKS5BRk51bWJlcl9Gb3JtYXQoZSx0LG4saSxhLHUpfSxBRk51bWJlcl9LZXlzdHJva2U9ZnVuY3Rpb24oZSx0LG4saSxhLHUpe3JldHVybiByKDEpLkFGTnVtYmVyX0tleXN0cm9rZShlLHQsbixpLGEsdSl9LEFGTWFrZU51bWJlcj1mdW5jdGlvbihlKXtyZXR1cm4gcigxKS5BRk1ha2VOdW1iZXIoZSl9LEFGUGVyY2VudF9Gb3JtYXQ9ZnVuY3Rpb24oZSx0LG4pe3JldHVybiByKDEpLkFGUGVyY2VudF9Gb3JtYXQoZSx0LG4pfSxBRlBlcmNlbnRfS2V5c3Ryb2tlPWZ1bmN0aW9uKGUsdCxuKXtyZXR1cm4gcigxKS5BRlBlcmNlbnRfS2V5c3Ryb2tlKGUsdCxuKX0sQUZEYXRlX0Zvcm1hdD1mdW5jdGlvbihlKXtyZXR1cm4gcigwKS5BRkRhdGVfRm9ybWF0KGUpfSxBRkRhdGVfRm9ybWF0RXg9ZnVuY3Rpb24oZSl7cmV0dXJuIHIoMCkuQUZEYXRlX0Zvcm1hdEV4KGUpfSxBRkRhdGVfS2V5c3Ryb2tlPWZ1bmN0aW9uKGUpe3JldHVybiByKDApLkFGRGF0ZV9LZXlzdHJva2UoZSl9LEFGRGF0ZV9LZXlzdHJva2VFeD1mdW5jdGlvbihlKXtyZXR1cm4gcigwKS5BRkRhdGVfS2V5c3Ryb2tlRXgoZSl9LEFGVGltZV9Gb3JtYXQ9ZnVuY3Rpb24oZSl7cmV0dXJuIHIoMCkuQUZUaW1lX0Zvcm1hdChlKX0sQUZUaW1lX0Zvcm1hdEV4PWZ1bmN0aW9uKGUpe3JldHVybiByKDApLkFGVGltZV9Gb3JtYXRFeChlKX0sQUZUaW1lX0tleXN0cm9rZT1mdW5jdGlvbihlKXtyZXR1cm4gcigwKS5BRlRpbWVfS2V5c3Ryb2tlKGUpfSxBRlNwZWNpYWxfRm9ybWF0PWZ1bmN0aW9uKGUpe3JldHVybiByKDMpLkFGU3BlY2lhbF9Gb3JtYXQoZSl9LEFGU3BlY2lhbF9LZXlzdHJva2U9ZnVuY3Rpb24oZSl7cmV0dXJuIHIoMykuQUZTcGVjaWFsX0tleXN0cm9rZShlKX0sQUZTcGVjaWFsX0tleXN0cm9rZUV4PWZ1bmN0aW9uKGUpe3JldHVybiByKDMpLkFGU3BlY2lhbF9LZXlzdHJva2VFeChlKX0sQUZTaW1wbGU9ZnVuY3Rpb24oZSx0LG4pe3JldHVybiByKDQpLkFGU2ltcGxlKGUsdCxuKX0sQUZTaW1wbGVfQ2FsY3VsYXRlPWZ1bmN0aW9uKGUsdCl7cmV0dXJuIHIoNCkuQUZTaW1wbGVfQ2FsY3VsYXRlKGUsdCl9LEFGUmFuZ2VfVmFsaWRhdGU9ZnVuY3Rpb24oZSx0LG4saSl7cmV0dXJuIHIoNikuQUZSYW5nZV9WYWxpZGF0ZShlLHQsbixpKX19LGZ1bmN0aW9uKGUsdCl7ZS5leHBvcnRzPXtBRlJhbmdlX1ZhbGlkYXRlOmZ1bmN0aW9uKGUsdCxyLG4pe3ZhciBpOyIiIT1ldmVudC52YWx1ZSYmKGk9IiIsZSYmcj8oZXZlbnQudmFsdWU8dHx8ZXZlbnQudmFsdWU+bikmJihpPXV0aWwucHJpbnRmKFNjcmlwdFN0cmluZy5pbnZhbGlkX3ZhbHVlX2dyZWF0ZXJfdGhhbl9hbmRfbGVzc190aGFuX2Vycm9yX21lc3NhZ2UsdCxuKSk6ZT9ldmVudC52YWx1ZTx0JiYoaT11dGlsLnByaW50ZihTY3JpcHRTdHJpbmcuaW52YWxpZF92YWx1ZV9ncmVhdGVyX3RoYW5fb3JfZXF1YWxfdG9fZXJyb3JfbWVzc2FnZSx0KSk6ciYmZXZlbnQudmFsdWU+biYmKGk9dXRpbC5wcmludGYoU2NyaXB0U3RyaW5nLmludmFsaWRfdmFsdWVfbGVzc190aGFuX29yX2VxdWFsX3RvX2Vycm9yX21lc3NhZ2UsbikpLCIiIT1pJiYoZXZlbnQuc2lsZW5jZUVycm9yc3x8YXBwLmFsZXJ0KGksMCksZXZlbnQucmM9ITEpKX19fV0pOw=="),!0,!0,!1),Module.FS_createDataFile("/assets/NoteIcons","note_comment_thin.pdf",decodeBase64("JVBERi0xLjYNJeLjz9MNCjcgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgOTY4MC9PIDkvRSA0MjMzL04gMS9UIDkzOTUvSCBbIDQ0NiAxMzZdPj4NZW5kb2JqDSAgICAgICAgICAgICAgICAgICAgICAgIA0xMyAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgNC9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPEVBRkFCOUYwNTlBNjRGQjI5RTEyM0QxQ0Y2MDgwMTBDPjxGQ0JBOThEMDM4RDQ0RTFFQTQ4QUMxQTdDOUM0MDgyOT5dL0luZGV4WzcgMTFdL0luZm8gNiAwIFIvTGVuZ3RoIDUxL1ByZXYgOTM5Ni9Sb290IDggMCBSL1NpemUgMTgvVHlwZS9YUmVmL1dbMSAyIDFdPj5zdHJlYW0NCmjeYmJkEGBgYmAyAxIMNkCCUQdEKIDEkoHEL2cGJkaGaSBZBkYI8Z9xyz+AAAMAXGYF1w1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0wDSUlRU9GDSAgICAgICAgIA0xNyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvSSA2OS9MZW5ndGggNTgvUyAzOD4+c3RyZWFtDQpo3mJgYGBhYGD8xQAEfOwMqICRASTL0YAsxgLFDIwKDDwMBxhYLC1APGYGBuX1EC2MrAABBgCVZAPoDWVuZHN0cmVhbQ1lbmRvYmoNOCAwIG9iag08PC9NZXRhZGF0YSAxIDAgUi9QYWdlcyA1IDAgUi9UeXBlL0NhdGFsb2c+Pg1lbmRvYmoNOSAwIG9iag08PC9BcnRCb3hbMC4wIDAuOTk5ODc4IDI0LjAgMjQuMF0vQmxlZWRCb3hbMC4wIDAuMCAyNC4wIDI0LjBdL0NvbnRlbnRzIDExIDAgUi9Dcm9wQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9NZWRpYUJveFswLjAgMC4wIDI0LjAgMjQuMF0vUGFyZW50IDUgMCBSL1Jlc291cmNlczw8L0NvbG9yU3BhY2U8PC9DUzAgMTQgMCBSPj4vRXh0R1N0YXRlPDwvR1MwIDE1IDAgUj4+L1Byb3BlcnRpZXM8PC9NQzAgMTYgMCBSPj4+Pi9Sb3RhdGUgMC9UcmltQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9UeXBlL1BhZ2U+Pg1lbmRvYmoNMTAgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0ZpcnN0IDE4L0xlbmd0aCAxOTQvTiAzL1R5cGUvT2JqU3RtPj5zdHJlYW0NCmjeNI5LC8IwEIT/yh714nZjWz1IoVaRgtVixYt4iLpCMH2Qxte/N7R6HGa+mSEfPKAAaAoUApEPR0yTZC5bvgIJZ+5OsxnGaQE3qVvGeYab2pRSYxIDjTzc5j9nm2dAWMRgzYOxyGR7d9GKcf9pGJdvuyqstIwX2XF103NR5PqTWtfmKDwhfBiLSTiFMAjGwQkXqizdk35heVVWnjX3C7nhp+LXX6jKumAn9spqHqzlhw3QEA+qVX8qir4CDADkxkqEDWVuZHN0cmVhbQ1lbmRvYmoNMTEgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aCAyODY+PnN0cmVhbQ0KSIlUUrtuwzAM3PkV/AEzIiXZ0lq36NIMQYfOhZF2cQIkmfr3JSnlBdsyj7yjT5Q3H99/+zNutnPAl9cZ4QQBJdk96HPewxceYTN/BlwuGPzCy6Kpd039XuCE7ElGYUrFhMsBLHOAgQvVUcMVBgkUs4ZDow1MHG9AKAsucKuNrug1fgJUMlqzmkwuNIbRMSdxXMpknbhSleyZOipT8RSM0WLvFZ1YVJJ6oVAMTTRFwxNVLo61l5ETZa5GVE+hv5liS/ku1DyphR5n+9ICDfm6duD7d2kb6mL9RIcWSFSvYegiUSvh3kCJD73XO5rGCbuYbei2muf8MNPr1vkBPFeaxzuU2CYmyU31Ix3kaniFH9jB21Z/nR38CzAAcAdw0A1lbmRzdHJlYW0NZW5kb2JqDTEyIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9MZW5ndGggMjU3NC9OIDM+PnN0cmVhbQ0KSImclnlUU3cWx39vyZ6QlbDDYw1bgLAGkDVsYZEdBFEISQgBEkJI2AVBRAUURUSEqpUy1m10Rk9FnS6uY60O1n3q0gP1MOroOLQW146dFzhHnU5nptPvH+/3Ofd37+/d3733nfMAoCelqrXVMAsAjdagz0qMxRYVFGKkCQADCiACEQAyea0uLTshB+CSxkuwWtwJ/IueXgeQab0iTMrAMPD/iS3X6Q0AQBk4ByiUtXKcO3GuqjfoTPYZnHmllSaGURPr8QRxtjSxap6953zmOdrECo1WgbMpZ51CozDxaZxX1xmVOCOpOHfVqZX1OF/F2aXKqFHj/NwUq1HKagFA6Sa7QSkvx9kPZ7o+J0uC8wIAyHTVO1z6DhuUDQbTpSTVuka9WlVuwNzlHpgoNFSMJSnrq5QGgzBDJq+U6RWYpFqjk2kbAZi/85w4ptpieJGDRaHBwUJ/H9E7hfqvm79Qpt7O05PMuZ5B/AtvbT/nVz0KgHgWr836t7bSLQCMrwTA8uZbm8v7ADDxvh2++M59+KZ5KTcYdGG+vvX19T5qpdzHVNA3+p8Ov0DvvM/HdNyb8mBxyjKZscqAmeomr66qNuqxWp1MrsSEPx3iXx3483l4ZynLlHqlFo/Iw6dMrVXh7dYq1AZ1tRZTa/9TE39l2E80P9e4uGOvAa/YB7Au8gDytwsA5dIAUrQN34He9C2Vkgcy8DXf4d783M8J+vdT4T7To1atmouTZOVgcqO+bn7P9FkCAqACJuABK2APnIE7EAJ/EALCQTSIB8kgHeSAArAUyEE50AA9qActoB10gR6wHmwCw2A7GAO7wX5wEIyDj8EJ8EdwHnwJroFbYBJMg4dgBjwFryAIIkEMiAtZQQ6QK+QF+UNiKBKKh1KhLKgAKoFUkBYyQi3QCqgH6oeGoR3Qbuj30FHoBHQOugR9BU1BD6DvoJcwAtNhHmwHu8G+sBiOgVPgHHgJrIJr4Ca4E14HD8Gj8D74MHwCPg9fgyfhh/AsAhAawkccESEiRiRIOlKIlCF6pBXpRgaRUWQ/cgw5i1xBJpFHyAuUiHJRDBWi4WgSmovK0Rq0Fe1Fh9Fd6GH0NHoFnUJn0NcEBsGW4EUII0gJiwgqQj2hizBI2En4iHCGcI0wTXhKJBL5RAExhJhELCBWEJuJvcStxAPE48RLxLvEWRKJZEXyIkWQ0kkykoHURdpC2kf6jHSZNE16TqaRHcj+5ARyIVlL7iAPkveQPyVfJt8jv6KwKK6UMEo6RUFppPRRxijHKBcp05RXVDZVQI2g5lArqO3UIep+6hnqbeoTGo3mRAulZdLUtOW0IdrvaJ/Tpmgv6By6J11CL6Ib6evoH9KP07+iP2EwGG6MaEYhw8BYx9jNOMX4mvHcjGvmYyY1U5i1mY2YHTa7bPaYSWG6MmOYS5lNzEHmIeZF5iMWheXGkrBkrFbWCOso6wZrls1li9jpbA27l72HfY59n0PiuHHiOQpOJ+cDzinOXS7CdeZKuHLuCu4Y9wx3mkfkCXhSXgWvh/db3gRvxpxjHmieZ95gPmL+ifkkH+G78aX8Kn4f/yD/Ov+lhZ1FjIXSYo3FfovLFs8sbSyjLZWW3ZYHLK9ZvrTCrOKtKq02WI1b3bFGrT2tM63rrbdZn7F+ZMOzCbeR23TbHLS5aQvbetpm2TbbfmB7wXbWzt4u0U5nt8XulN0je759tH2F/YD9p/YPHLgOkQ5qhwGHzxz+ipljMVgVNoSdxmYcbR2THI2OOxwnHF85CZxynTqcDjjdcaY6i53LnAecTzrPuDi4pLm0uOx1uelKcRW7lrtudj3r+sxN4Jbvtspt3O2+wFIgFTQJ9gpuuzPco9xr3Efdr3oQPcQelR5bPb70hD2DPMs9RzwvesFewV5qr61el7wJ3qHeWu9R7xtCujBGWCfcK5zy4fuk+nT4jPs89nXxLfTd4HvW97VfkF+V35jfLRFHlCzqEB0Tfefv6S/3H/G/GsAISAhoCzgS8G2gV6AycFvgn4O4QWlBq4JOBv0jOCRYH7w/+EGIS0hJyHshN8Q8cYa4V/x5KCE0NrQt9OPQF2HBYYawg2F/DxeGV4bvCb+/QLBAuWBswd0IpwhZxI6IyUgssiTy/cjJKMcoWdRo1DfRztGK6J3R92I8Yipi9sU8jvWL1cd+FPtMEiZZJjkeh8QlxnXHTcRz4nPjh+O/TnBKUCXsTZhJDEpsTjyeREhKSdqQdENqJ5VLd0tnkkOSlyWfTqGnZKcMp3yT6pmqTz2WBqclp21Mu73QdaF24Xg6SJemb0y/kyHIqMn4QyYxMyNzJPMvWaKslqyz2dzs4uw92U9zYnP6cm7luucac0/mMfOK8nbnPcuPy+/Pn1zku2jZovMF1gXqgiOFpMK8wp2Fs4vjF29aPF0UVNRVdH2JYEnDknNLrZdWLf2kmFksKz5UQijJL9lT8oMsXTYqmy2Vlr5XOiOXyDfLHyqiFQOKB8oIZb/yXllEWX/ZfVWEaqPqQXlU+WD5I7VEPaz+tiKpYnvFs8r0yg8rf6zKrzqgIWtKNEe1HG2l9nS1fXVD9SWdl65LN1kTVrOpZkafot9ZC9UuqT1i4OE/UxeM7saVxqm6yLqRuuf1efWHGtgN2oYLjZ6NaxrvNSU0/aYZbZY3n2xxbGlvmVoWs2xHK9Ra2nqyzbmts216eeLyXe3U9sr2P3X4dfR3fL8if8WxTrvO5Z13Vyau3Ntl1qXvurEqfNX21ehq9eqJNQFrtqx53a3o/qLHr2ew54deee8Xa0Vrh9b+uK5s3URfcN+29cT12vXXN0Rt2NXP7m/qv7sxbePhAWyge+D7TcWbzg0GDm7fTN1s3Dw5lPpPAKQBW/6YuJkkmZCZ/JpomtWbQpuvnByciZz3nWSd0p5Anq6fHZ+Ln/qgaaDYoUehtqImopajBqN2o+akVqTHpTilqaYapoum/adup+CoUqjEqTepqaocqo+rAqt1q+msXKzQrUStuK4trqGvFq+LsACwdbDqsWCx1rJLssKzOLOutCW0nLUTtYq2AbZ5tvC3aLfguFm40blKucK6O7q1uy67p7whvJu9Fb2Pvgq+hL7/v3q/9cBwwOzBZ8Hjwl/C28NYw9TEUcTOxUvFyMZGxsPHQce/yD3IvMk6ybnKOMq3yzbLtsw1zLXNNc21zjbOts83z7jQOdC60TzRvtI/0sHTRNPG1EnUy9VO1dHWVdbY11zX4Nhk2OjZbNnx2nba+9uA3AXcit0Q3ZbeHN6i3ynfr+A24L3hROHM4lPi2+Nj4+vkc+T85YTmDeaW5x/nqegy6LzpRunQ6lvq5etw6/vshu0R7ZzuKO6070DvzPBY8OXxcvH/8ozzGfOn9DT0wvVQ9d72bfb794r4Gfio+Tj5x/pX+uf7d/wH/Jj9Kf26/kv+3P9t//8CDAD3hPP7DWVuZHN0cmVhbQ1lbmRvYmoNMSAwIG9iag08PC9MZW5ndGggNDY4Ny9TdWJ0eXBlL1hNTC9UeXBlL01ldGFkYXRhPj5zdHJlYW0NCjw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE1IDg0LjE1OTgxMCwgMjAxNi8wOS8xMC0wMjo0MTozMCAgICAgICAgIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgICAgICAgICAgeG1sbnM6cGRmPSJodHRwOi8vbnMuYWRvYmUuY29tL3BkZi8xLjMvIj4KICAgICAgICAgPHhtcDpDcmVhdGVEYXRlPjIwMTctMDktMThUMTY6MDM6MTkrMDI6MDA8L3htcDpDcmVhdGVEYXRlPgogICAgICAgICA8eG1wOk1ldGFkYXRhRGF0ZT4yMDE4LTAxLTIyVDA5OjI1OjM3WjwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTgtMDEtMjJUMDk6MjU6MzdaPC94bXA6TW9kaWZ5RGF0ZT4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBJbGx1c3RyYXRvciBDQyAyMDE3IChNYWNpbnRvc2gpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXBNTTpJbnN0YW5jZUlEPnV1aWQ6YWI5OGNmYTItZDhlMS1iYzRlLTg0MGMtMmY5ZjA3YWMxNDk0PC94bXBNTTpJbnN0YW5jZUlEPgogICAgICAgICA8eG1wTU06T3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6OTBmNzQzMjYtNDgxNS00ZDM2LWIzYTktN2U5NDMyZjM3ZTU3PC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpEb2N1bWVudElEPnhtcC5pZDo5ZmJkZTI2Ni1jZDRiLTQ2YmUtOGNmYS03ZmMxMjA4OGE0MDM8L3htcE1NOkRvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpSZW5kaXRpb25DbGFzcz5wcm9vZjpwZGY8L3htcE1NOlJlbmRpdGlvbkNsYXNzPgogICAgICAgICA8eG1wTU06SGlzdG9yeT4KICAgICAgICAgICAgPHJkZjpTZXE+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmNvbnZlcnRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6cGFyYW1ldGVycz5mcm9tIGFwcGxpY2F0aW9uL3gtaW5kZXNpZ24gdG8gYXBwbGljYXRpb24vcGRmPC9zdEV2dDpwYXJhbWV0ZXJzPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBJbkRlc2lnbiBDQyAyMDE1IChNYWNpbnRvc2gpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE2LTAzLTA5VDA5OjQzOjE4KzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6U2VxPgogICAgICAgICA8L3htcE1NOkhpc3Rvcnk+CiAgICAgICAgIDx4bXBNTTpEZXJpdmVkRnJvbSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgIDxzdFJlZjppbnN0YW5jZUlEPnhtcC5paWQ6YWRhNzhhYjQtMTdlMC00YzMzLWI1ZDgtM2U4OGNjOTUxYjBhPC9zdFJlZjppbnN0YW5jZUlEPgogICAgICAgICAgICA8c3RSZWY6ZG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1Nzwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1Nzwvc3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPgogICAgICAgICAgICA8c3RSZWY6cmVuZGl0aW9uQ2xhc3M+ZGVmYXVsdDwvc3RSZWY6cmVuZGl0aW9uQ2xhc3M+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxkYzpmb3JtYXQ+YXBwbGljYXRpb24vcGRmPC9kYzpmb3JtYXQ+CiAgICAgICAgIDxkYzp0aXRsZT4KICAgICAgICAgICAgPHJkZjpBbHQ+CiAgICAgICAgICAgICAgIDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+bm90ZV9jb21tZW50X3RoaW48L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6QWx0PgogICAgICAgICA8L2RjOnRpdGxlPgogICAgICAgICA8cGRmOlByb2R1Y2VyPkFkb2JlIFBERiBsaWJyYXJ5IDE1LjAwPC9wZGY6UHJvZHVjZXI+CiAgICAgICAgIDxwZGY6VHJhcHBlZD5GYWxzZTwvcGRmOlRyYXBwZWQ+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4NZW5kc3RyZWFtDWVuZG9iag0yIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCA0L0xlbmd0aCA0OC9OIDEvVHlwZS9PYmpTdG0+PnN0cmVhbQ0KaN4yVTBQsLHRd84vzStRMNT3zkwpjrYEigXF6odUFqTqBySmpxbb2QEEGADWdwuADWVuZHN0cmVhbQ1lbmRvYmoNMyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvRmlyc3QgNC9MZW5ndGggMTY5L04gMS9UeXBlL09ialN0bT4+c3RyZWFtDQpo3kSMsQqDMBRFfyWbhkLzElFrEaEoQgfBoVMRJOoDAzGRGIf+fSuldD333JMQIHnOSofSK2sq6TGsrgJ4Chm/8AQinp1ABAAB/VrWhbfJDkjuWu+bdwchZUmOD+nCRo7KeLvNHaWssdO/eAEuBGQijtInZa2z0z7iL9ZWNdFqcNK9CI/PAJQ9lNcYGuuxH+2yoPG9n5X5DE6uK06slnrDongLMAC/ZTvdDWVuZHN0cmVhbQ1lbmRvYmoNNCAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgMy9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPEVBRkFCOUYwNTlBNjRGQjI5RTEyM0QxQ0Y2MDgwMTBDPjxGQ0JBOThEMDM4RDQ0RTFFQTQ4QUMxQTdDOUM0MDgyOT5dL0luZm8gNiAwIFIvTGVuZ3RoIDM3L1Jvb3QgOCAwIFIvU2l6ZSA3L1R5cGUvWFJlZi9XWzEgMiAwXT4+c3RyZWFtDQpo3mJiYGBgYhToZGIQns3EwNDNxMDIysR4xw/IZgQIMAAnTQMUDWVuZHN0cmVhbQ1lbmRvYmoNc3RhcnR4cmVmDTExNg0lJUVPRg0="),!0,!0,!1),Module.FS_createDataFile("/assets/NoteIcons","note_rightpointer_thin.pdf",decodeBase64("JVBERi0xLjYNJeLjz9MNCjcgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgOTY5Mi9PIDkvRSA0MjM3L04gMS9UIDk0MDcvSCBbIDQ0NiAxMzZdPj4NZW5kb2JqDSAgICAgICAgICAgICAgICAgICAgICAgIA0xMyAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgNC9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPDJDODJDQzA5RjlFRTREMDk5MEQwNkQ4MzM1MkZBNTc0PjxBN0VDNzQ5NjQzQzQ0QTdGOUUxNTQ1QzdCQjJGNkRFMD5dL0luZGV4WzcgMTFdL0luZm8gNiAwIFIvTGVuZ3RoIDUxL1ByZXYgOTQwOC9Sb290IDggMCBSL1NpemUgMTgvVHlwZS9YUmVmL1dbMSAyIDFdPj5zdHJlYW0NCmjeYmJkEGBgYmAyAxIMNkCC0QREKIDE4oHEL3sGJkaGaSBZBkYI8Z9xyz+AAAMAXMoF1w1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0wDSUlRU9GDSAgICAgICAgIA0xNyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvSSA2OS9MZW5ndGggNTgvUyAzOD4+c3RyZWFtDQpo3mJgYGBhYGD8xQAEfNwMqICRASTL0YAsxgLFDIwKDDyMDgzMPy1APGYGBuUdEC2MHAABBgCaGwQ4DWVuZHN0cmVhbQ1lbmRvYmoNOCAwIG9iag08PC9NZXRhZGF0YSAxIDAgUi9QYWdlcyA1IDAgUi9UeXBlL0NhdGFsb2c+Pg1lbmRvYmoNOSAwIG9iag08PC9BcnRCb3hbMC45OTk5NTQgMC45OTk5MjQgMjMuMCAyMy4wMDAxXS9CbGVlZEJveFswLjAgMC4wIDI0LjAgMjQuMF0vQ29udGVudHMgMTEgMCBSL0Nyb3BCb3hbMC4wIDAuMCAyNC4wIDI0LjBdL01lZGlhQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9QYXJlbnQgNSAwIFIvUmVzb3VyY2VzPDwvQ29sb3JTcGFjZTw8L0NTMCAxNCAwIFI+Pi9FeHRHU3RhdGU8PC9HUzAgMTUgMCBSPj4vUHJvcGVydGllczw8L01DMCAxNiAwIFI+Pj4+L1JvdGF0ZSAwL1RyaW1Cb3hbMC4wIDAuMCAyNC4wIDI0LjBdL1R5cGUvUGFnZT4+DWVuZG9iag0xMCAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvRmlyc3QgMTgvTGVuZ3RoIDE5NC9OIDMvVHlwZS9PYmpTdG0+PnN0cmVhbQ0KaN40jksLwjAQhP/KHvXidmNbPUihVpGC1WLFi3iIukIwfZDG1783tHocZr6ZIR88oABoChQCkQ9HTJNkLlu+Agln7k6zGcZpATepW8Z5hpvalFJjEgONPNzmP2ebZ0BYxGDNg7HIZHt30Ypx/2kYl2+7Kqy0jBfZcXXTc1Hk+pNa1+YoPCF8GItJOIUwCMbBCReqLN2TfmF5VVaeNfcLueGn4tdfqMq6YCf2ymoerOWHDdAQD6pVfyqKvgIMAOTGSoQNZW5kc3RyZWFtDWVuZG9iag0xMSAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDI4Mj4+c3RyZWFtDQpIiUxRMW7DMAzc+Qp+wAxJWZG11i26NEPQoXMRpF2SAEmm/r5Hxi4K2xB5PumOp83b58/xxpvdrPz0PDNdSdnHeAd8tyN98IU287vy4c6aD98PgF4Bfd/pypagcRFVreyFD2cK6EyDSi0d5WCijdG6TdGMdYpuCy4NLooCqDcsLtZCXLwktRXjIc52cF06MOMTrX9skt6nAJaN1qVtnddTXaV5+9N0k9JC9GEIbZucF5+De3j1UFIpOj4Q2WpPaoegytTHZWMHD/oJmCdwIujXZgmMSCNmB7e2pYwhokAUY+GVjKXyelRHSpYWstVsT7T4UMyFSNPe4z4wTbhG3hluphOAoqjY7P9BrF+0p5cd7npPvwIMALLwYfkNZW5kc3RyZWFtDWVuZG9iag0xMiAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDI1NzQvTiAzPj5zdHJlYW0NCkiJnJZ5VFN3Fsd/b8mekJWww2MNW4CwBpA1bGGRHQRRCEkIARJCSNgFQUQFFEVEhKqVMtZtdEZPRZ0urmOtDtZ96tID9TDq6Di0FteOnRc4R51OZ6bT7x/v9zn3d+/v3d+9953zAKAnpaq11TALAI3WoM9KjMUWFRRipAkAAwogAhEAMnmtLi07IQfgksZLsFrcCfyLnl4HkGm9IkzKwDDw/4kt1+kNAEAZOAcolLVynDtxrqo36Ez2GZx5pZUmhlET6/EEcbY0sWqeved85jnaxAqNVoGzKWedQqMw8WmcV9cZlTgjqTh31amV9ThfxdmlyqhR4/zcFKtRymoBQOkmu0EpL8fZD2e6PidLgvMCAMh01Ttc+g4blA0G06Uk1bpGvVpVbsDc5R6YKDRUjCUp66uUBoMwQyavlOkVmKRao5NpGwGYv/OcOKbaYniRg0WhwcFCfx/RO4X6r5u/UKbeztOTzLmeQfwLb20/51c9CoB4Fq/N+re20i0AjK8EwPLmW5vL+wAw8b4dvvjOffimeSk3GHRhvr719fU+aqXcx1TQN/qfDr9A77zPx3Tcm/JgccoymbHKgJnqJq+uqjbqsVqdTK7EhD8d4l8d+PN5eGcpy5R6pRaPyMOnTK1V4e3WKtQGdbUWU2v/UxN/ZdhPND/XuLhjrwGv2AewLvIA8rcLAOXSAFK0Dd+B3vQtlZIHMvA13+He/NzPCfr3U+E+06NWrZqLk2TlYHKjvm5+z/RZAgKgAibgAStgD5yBOxACfxACwkE0iAfJIB3kgAKwFMhBOdAAPagHLaAddIEesB5sAsNgOxgDu8F+cBCMg4/BCfBHcB58Ca6BW2ASTIOHYAY8Ba8gCCJBDIgLWUEOkCvkBflDYigSiodSoSyoACqBVJAWMkIt0AqoB+qHhqEd0G7o99BR6AR0DroEfQVNQQ+g76CXMALTYR5sB7vBvrAYjoFT4Bx4CayCa+AmuBNeBw/Bo/A++DB8Aj4PX4Mn4YfwLAIQGsJHHBEhIkYkSDpSiJQheqQV6UYGkVFkP3IMOYtcQSaRR8gLlIhyUQwVouFoEpqLytEatBXtRYfRXehh9DR6BZ1CZ9DXBAbBluBFCCNICYsIKkI9oYswSNhJ+IhwhnCNME14SiQS+UQBMYSYRCwgVhCbib3ErcQDxOPES8S7xFkSiWRF8iJFkNJJMpKB1EXaQtpH+ox0mTRNek6mkR3I/uQEciFZS+4gD5L3kD8lXybfI7+isCiulDBKOkVBaaT0UcYoxygXKdOUV1Q2VUCNoOZQK6jt1CHqfuoZ6m3qExqN5kQLpWXS1LTltCHa72if06ZoL+gcuiddQi+iG+nr6B/Sj9O/oj9hMBhujGhGIcPAWMfYzTjF+Jrx3Ixr5mMmNVOYtZmNmB02u2z2mElhujJjmEuZTcxB5iHmReYjFoXlxpKwZKxW1gjrKOsGa5bNZYvY6WwNu5e9h32OfZ9D4rhx4jkKTifnA84pzl0uwnXmSrhy7gruGPcMd5pH5Al4Ul4Fr4f3W94Eb8acYx5onmfeYD5i/on5JB/hu/Gl/Cp+H/8g/zr/pYWdRYyF0mKNxX6LyxbPLG0soy2Vlt2WByyvWb60wqzirSqtNliNW92xRq09rTOt6623WZ+xfmTDswm3kdt02xy0uWkL23raZtk2235ge8F21s7eLtFOZ7fF7pTdI3u+fbR9hf2A/af2Dxy4DpEOaocBh88c/oqZYzFYFTaEncZmHG0dkxyNjjscJxxfOQmccp06nA443XGmOoudy5wHnE86z7g4uKS5tLjsdbnpSnEVu5a7bnY96/rMTeCW77bKbdztvsBSIBU0CfYKbrsz3KPca9xH3a96ED3EHpUeWz2+9IQ9gzzLPUc8L3rBXsFeaq+tXpe8Cd6h3lrvUe8bQrowRlgn3Cuc8uH7pPp0+Iz7PPZ18S303eB71ve1X5Bfld+Y3y0RR5Qs6hAdE33n7+kv9x/xvxrACEgIaAs4EvBtoFegMnBb4J+DuEFpQauCTgb9IzgkWB+8P/hBiEtISch7ITfEPHGGuFf8eSghNDa0LfTj0BdhwWGGsINhfw8XhleG7wm/v0CwQLlgbMHdCKcIWcSOiMlILLIk8v3IySjHKFnUaNQ30c7Riuid0fdiPGIqYvbFPI71i9XHfhT7TBImWSY5HofEJcZ1x03Ec+Jz44fjv05wSlAl7E2YSQxKbE48nkRISknakHRDaieVS3dLZ5JDkpcln06hp2SnDKd8k+qZqk89lganJadtTLu90HWhduF4OkiXpm9Mv5MhyKjJ+EMmMTMjcyTzL1mirJass9nc7OLsPdlPc2Jz+nJu5brnGnNP5jHzivJ25z3Lj8vvz59c5Lto2aLzBdYF6oIjhaTCvMKdhbOL4xdvWjxdFFTUVXR9iWBJw5JzS62XVi39pJhZLCs+VEIoyS/ZU/KDLF02KpstlZa+Vzojl8g3yx8qohUDigfKCGW/8l5ZRFl/2X1VhGqj6kF5VPlg+SO1RD2s/rYiqWJ7xbPK9MoPK3+syq86oCFrSjRHtRxtpfZ0tX11Q/UlnZeuSzdZE1azqWZGn6LfWQvVLqk9YuDhP1MXjO7Glcapusi6kbrn9Xn1hxrYDdqGC42ejWsa7zUlNP2mGW2WN59scWxpb5laFrNsRyvUWtp6ss25rbNtenni8l3t1PbK9j91+HX0d3y/In/FsU67zuWdd1cmrtzbZdal77qxKnzV9tXoavXqiTUBa7ased2t6P6ix69nsOeHXnnvF2tFa4fW/riubN1EX3DftvXE9dr11zdEbdjVz+5v6r+7MW3j4QFsoHvg+03Fm84NBg5u30zdbNw8OZT6TwCkAVv+mLiZJJmQmfyaaJrVm0Kbr5wcnImc951kndKeQJ6unx2fi5/6oGmg2KFHobaiJqKWowajdqPmpFakx6U4pammGqaLpv2nbqfgqFKoxKk3qamqHKqPqwKrdavprFys0K1ErbiuLa6hrxavi7AAsHWw6rFgsdayS7LCszizrrQltJy1E7WKtgG2ebbwt2i34LhZuNG5SrnCuju6tbsuu6e8IbybvRW9j74KvoS+/796v/XAcMDswWfB48JfwtvDWMPUxFHEzsVLxcjGRsbDx0HHv8g9yLzJOsm5yjjKt8s2y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp22vvbgNwF3IrdEN2W3hzeot8p36/gNuC94UThzOJT4tvjY+Pr5HPk/OWE5g3mlucf56noMui86Ubp0Opb6uXrcOv77IbtEe2c7ijutO9A78zwWPDl8XLx//KM8xnzp/Q09ML1UPXe9m32+/eK+Bn4qPk4+cf6V/rn+3f8B/yY/Sn9uv5L/tz/bf//AgwA94Tz+w1lbmRzdHJlYW0NZW5kb2JqDTEgMCBvYmoNPDwvTGVuZ3RoIDQ2OTIvU3VidHlwZS9YTUwvVHlwZS9NZXRhZGF0YT4+c3RyZWFtDQo8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzAxNSA4NC4xNTk4MTAsIDIwMTYvMDkvMTAtMDI6NDE6MzAgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iCiAgICAgICAgICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiCiAgICAgICAgICAgIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIgogICAgICAgICAgICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgICAgICAgICAgIHhtbG5zOnBkZj0iaHR0cDovL25zLmFkb2JlLmNvbS9wZGYvMS4zLyI+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE3LTA5LTE4VDE2OjAzOjE5KzAyOjAwPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxOC0wMS0yMlQwOToyOToyM1o8L3htcDpNZXRhZGF0YURhdGU+CiAgICAgICAgIDx4bXA6TW9kaWZ5RGF0ZT4yMDE4LTAxLTIyVDA5OjI5OjIzWjwveG1wOk1vZGlmeURhdGU+CiAgICAgICAgIDx4bXA6Q3JlYXRvclRvb2w+QWRvYmUgSWxsdXN0cmF0b3IgQ0MgMjAxNyAoTWFjaW50b3NoKTwveG1wOkNyZWF0b3JUb29sPgogICAgICAgICA8eG1wTU06SW5zdGFuY2VJRD51dWlkOmJiOWQxOGU5LWRhZTEtNGU0Yi05ZGQ3LThmNmJlNmI5M2EyMTwveG1wTU06SW5zdGFuY2VJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1NzwveG1wTU06T3JpZ2luYWxEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06RG9jdW1lbnRJRD54bXAuaWQ6OWZiZGUyNjYtY2Q0Yi00NmJlLThjZmEtN2ZjMTIwODhhNDAzPC94bXBNTTpEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06UmVuZGl0aW9uQ2xhc3M+cHJvb2Y6cGRmPC94bXBNTTpSZW5kaXRpb25DbGFzcz4KICAgICAgICAgPHhtcE1NOkhpc3Rvcnk+CiAgICAgICAgICAgIDxyZGY6U2VxPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi94LWluZGVzaWduIHRvIGFwcGxpY2F0aW9uL3BkZjwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgSW5EZXNpZ24gQ0MgMjAxNSAoTWFjaW50b3NoKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNi0wMy0wOVQwOTo0MzoxOCswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8eG1wTU06RGVyaXZlZEZyb20gcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICA8c3RSZWY6aW5zdGFuY2VJRD54bXAuaWlkOmFkYTc4YWI0LTE3ZTAtNGMzMy1iNWQ4LTNlODhjYzk1MWIwYTwvc3RSZWY6aW5zdGFuY2VJRD4KICAgICAgICAgICAgPHN0UmVmOmRvY3VtZW50SUQ+eG1wLmRpZDo5MGY3NDMyNi00ODE1LTRkMzYtYjNhOS03ZTk0MzJmMzdlNTc8L3N0UmVmOmRvY3VtZW50SUQ+CiAgICAgICAgICAgIDxzdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+eG1wLmRpZDo5MGY3NDMyNi00ODE1LTRkMzYtYjNhOS03ZTk0MzJmMzdlNTc8L3N0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOnJlbmRpdGlvbkNsYXNzPmRlZmF1bHQ8L3N0UmVmOnJlbmRpdGlvbkNsYXNzPgogICAgICAgICA8L3htcE1NOkRlcml2ZWRGcm9tPgogICAgICAgICA8ZGM6Zm9ybWF0PmFwcGxpY2F0aW9uL3BkZjwvZGM6Zm9ybWF0PgogICAgICAgICA8ZGM6dGl0bGU+CiAgICAgICAgICAgIDxyZGY6QWx0PgogICAgICAgICAgICAgICA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPm5vdGVfcmlnaHRwb2ludGVyX3RoaW48L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6QWx0PgogICAgICAgICA8L2RjOnRpdGxlPgogICAgICAgICA8cGRmOlByb2R1Y2VyPkFkb2JlIFBERiBsaWJyYXJ5IDE1LjAwPC9wZGY6UHJvZHVjZXI+CiAgICAgICAgIDxwZGY6VHJhcHBlZD5GYWxzZTwvcGRmOlRyYXBwZWQ+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4NZW5kc3RyZWFtDWVuZG9iag0yIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCA0L0xlbmd0aCA0OC9OIDEvVHlwZS9PYmpTdG0+PnN0cmVhbQ0KaN4yVTBQsLHRd84vzStRMNT3zkwpjrYEigXF6odUFqTqBySmpxbb2QEEGADWdwuADWVuZHN0cmVhbQ1lbmRvYmoNMyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvRmlyc3QgNC9MZW5ndGggMTcyL04gMS9UeXBlL09ialN0bT4+c3RyZWFtDQpo3kTMTQuCMBgH8K+ym46gPZtkGSKEInQQPHQKQaY+5GA4eZyHvn1KRNf/yy9mwNJU5ITaGzcV2mNYXBXIMyTyImOIZHIAFQAE/LtyFN4G1yG7W7sunvaE5TnbP6wJK92bybtlbDgXlRv+4gWkUpCoREVPLmpyw9rjD6uLklnTkaY3k6cjABcP4y2Gk/PYknmNfnYbjNT60UxbS3qecRCltgtm2UeAAQD5/z4IDWVuZHN0cmVhbQ1lbmRvYmoNNCAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgMy9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPDJDODJDQzA5RjlFRTREMDk5MEQwNkQ4MzM1MkZBNTc0PjxBN0VDNzQ5NjQzQzQ0QTdGOUUxNTQ1QzdCQjJGNkRFMD5dL0luZm8gNiAwIFIvTGVuZ3RoIDM3L1Jvb3QgOCAwIFIvU2l6ZSA3L1R5cGUvWFJlZi9XWzEgMiAwXT4+c3RyZWFtDQpo3mJiYGBgYhToZWIQXsDEwNDNxMDIwcR4xwnIZgQIMAAn1QMUDWVuZHN0cmVhbQ1lbmRvYmoNc3RhcnR4cmVmDTExNg0lJUVPRg0="),!0,!0,!1),Module.FS_createDataFile("/assets/NoteIcons","note_star_thin.pdf",decodeBase64("JVBERi0xLjYNJeLjz9MNCjcgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgOTg3Ni9PIDkvRSA0NDM2L04gMS9UIDk1OTEvSCBbIDQ0NiAxMzZdPj4NZW5kb2JqDSAgICAgICAgICAgICAgICAgICAgICAgIA0xMyAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgNC9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPEJBQ0Y3MDI5MjNCNTQ4RUFCMDMzNjlBMzM5Q0NGN0I2PjxFMzdFRjVBMkE2RTI0M0FFOEU3MjY1RDk2NDEyQzEwRT5dL0luZGV4WzcgMTFdL0luZm8gNiAwIFIvTGVuZ3RoIDUxL1ByZXYgOTU5Mi9Sb290IDggMCBSL1NpemUgMTgvVHlwZS9YUmVmL1dbMSAyIDFdPj5zdHJlYW0NCmjeYmJkEGBgYmAyAxIMNkCC0QJEKIDElIDErwoGJkaGaSBZBkYI8Z9xyz+AAAMAW9UF1w1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0wDSUlRU9GDSAgICAgICAgIA0xNyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvSSA2OS9MZW5ndGggNTgvUyAzOD4+c3RyZWFtDQpo3mJgYGBhYGD8xQAEfJcYUAEjA0iWowFZjAWKGRgVGHgYGxgENC1APGYGBpVyiBZGRoAAAwDG4QQ1DWVuZHN0cmVhbQ1lbmRvYmoNOCAwIG9iag08PC9NZXRhZGF0YSAxIDAgUi9QYWdlcyA1IDAgUi9UeXBlL0NhdGFsb2c+Pg1lbmRvYmoNOSAwIG9iag08PC9BcnRCb3hbMC4wNjk1MDM4IDAuMTE5ODEyIDIzLjkzMDUgMjMuMDMyNl0vQmxlZWRCb3hbMC4wIDAuMCAyNC4wIDI0LjBdL0NvbnRlbnRzIDExIDAgUi9Dcm9wQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9NZWRpYUJveFswLjAgMC4wIDI0LjAgMjQuMF0vUGFyZW50IDUgMCBSL1Jlc291cmNlczw8L0NvbG9yU3BhY2U8PC9DUzAgMTQgMCBSPj4vRXh0R1N0YXRlPDwvR1MwIDE1IDAgUj4+L1Byb3BlcnRpZXM8PC9NQzAgMTYgMCBSPj4+Pi9Sb3RhdGUgMC9UcmltQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9UeXBlL1BhZ2U+Pg1lbmRvYmoNMTAgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0ZpcnN0IDE4L0xlbmd0aCAxOTQvTiAzL1R5cGUvT2JqU3RtPj5zdHJlYW0NCmjeNI5LC8IwEIT/yh714nZjWz1IoVaRgtVixYt4iLpCMH2Qxte/N7R6HGa+mSEfPKAAaAoUApEPR0yTZC5bvgIJZ+5OsxnGaQE3qVvGeYab2pRSYxIDjTzc5j9nm2dAWMRgzYOxyGR7d9GKcf9pGJdvuyqstIwX2XF103NR5PqTWtfmKDwhfBiLSTiFMAjGwQkXqizdk35heVVWnjX3C7nhp+LXX6jKumAn9spqHqzlhw3QEA+qVX8qir4CDADkxkqEDWVuZHN0cmVhbQ1lbmRvYmoNMTEgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aCA0Nzc+PnN0cmVhbQ0KSIlcVD1vHEEI7edX8Afg5nuYNpcoTVxYKVJHKyfN2ZJ9Vf59gPHZw2l3T/tggMeDvdOP3/+e3uD0cI7w5esZwmuIkKveKM/bU/gFL+F0/hnhuEK0C66HmL6L6e81vEIyY4KUIReKJWc4noPangNGmoPlFRNxYRDcLTWlqrbWGhwBC80MODQYLgEndd5gkqA2bgZMEpbMb1aBnCYgU+OhyZIkFw6SpaXlH7OAZml54RhXmhSLBnQqVQ9UqsxakFeCNGn2vgylKmshUq1Uzl1gohqNN8dmcHLWhIMKJzFkal3COvU5DU7RCJscSx9QjjdqFv/hj5UNDo2u1LuhKlFHiMYrTuXlXJfgA33W+6Kekyd8349v12vhpdK8Xss7tc2wj8MP636WftR+D/YlOYLfoH29pOS+ereF1MvUzLKmUchp/+LNupyxsb6WYZs6tICI3IfyXBVW9U80VxMKhWZcqFSlySreFD3q4jmlUio0snLrpEdFzCZug2MYHh06JeUtYJ9gfJ+g4FI2L/NKxHMoKm2hXt6Xplv7F1233bkMWyz6xHhfFz0tdJTR9bO+bNcvOj3Wx72phU5J3FWWZHczQDeihW/Tw8+R6s8R/oTH8O1B/uAew38BBgDra/EqDWVuZHN0cmVhbQ1lbmRvYmoNMTIgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aCAyNTc0L04gMz4+c3RyZWFtDQpIiZyWeVRTdxbHf2/JnpCVsMNjDVuAsAaQNWxhkR0EUQhJCAESQkjYBUFEBRRFRISqlTLWbXRGT0WdLq5jrQ7WferSA/Uw6ug4tBbXjp0XOEedTmem0+8f7/c593fv793fvfed8wCgJ6WqtdUwCwCN1qDPSozFFhUUYqQJAAMKIAIRADJ5rS4tOyEH4JLGS7Ba3An8i55eB5BpvSJMysAw8P+JLdfpDQBAGTgHKJS1cpw7ca6qN+hM9hmceaWVJoZRE+vxBHG2NLFqnr3nfOY52sQKjVaBsylnnUKjMPFpnFfXGZU4I6k4d9WplfU4X8XZpcqoUeP83BSrUcpqAUDpJrtBKS/H2Q9nuj4nS4LzAgDIdNU7XPoOG5QNBtOlJNW6Rr1aVW7A3OUemCg0VIwlKeurlAaDMEMmr5TpFZikWqOTaRsBmL/znDim2mJ4kYNFocHBQn8f0TuF+q+bv1Cm3s7Tk8y5nkH8C29tP+dXPQqAeBavzfq3ttItAIyvBMDy5luby/sAMPG+Hb74zn34pnkpNxh0Yb6+9fX1Pmql3MdU0Df6nw6/QO+8z8d03JvyYHHKMpmxyoCZ6iavrqo26rFanUyuxIQ/HeJfHfjzeXhnKcuUeqUWj8jDp0ytVeHt1irUBnW1FlNr/1MTf2XYTzQ/17i4Y68Br9gHsC7yAPK3CwDl0gBStA3fgd70LZWSBzLwNd/h3vzczwn691PhPtOjVq2ai5Nk5WByo75ufs/0WQICoAIm4AErYA+cgTsQAn8QAsJBNIgHySAd5IACsBTIQTnQAD2oBy2gHXSBHrAebALDYDsYA7vBfnAQjIOPwQnwR3AefAmugVtgEkyDh2AGPAWvIAgiQQyIC1lBDpAr5AX5Q2IoEoqHUqEsqAAqgVSQFjJCLdAKqAfqh4ahHdBu6PfQUegEdA66BH0FTUEPoO+glzAC02EebAe7wb6wGI6BU+AceAmsgmvgJrgTXgcPwaPwPvgwfAI+D1+DJ+GH8CwCEBrCRxwRISJGJEg6UoiUIXqkFelGBpFRZD9yDDmLXEEmkUfIC5SIclEMFaLhaBKai8rRGrQV7UWH0V3oYfQ0egWdQmfQ1wQGwZbgRQgjSAmLCCpCPaGLMEjYSfiIcIZwjTBNeEokEvlEATGEmEQsIFYQm4m9xK3EA8TjxEvEu8RZEolkRfIiRZDSSTKSgdRF2kLaR/qMdJk0TXpOppEdyP7kBHIhWUvuIA+S95A/JV8m3yO/orAorpQwSjpFQWmk9FHGKMcoFynTlFdUNlVAjaDmUCuo7dQh6n7qGept6hMajeZEC6Vl0tS05bQh2u9on9OmaC/oHLonXUIvohvp6+gf0o/Tv6I/YTAYboxoRiHDwFjH2M04xfia8dyMa+ZjJjVTmLWZjZgdNrts9phJYboyY5hLmU3MQeYh5kXmIxaF5caSsGSsVtYI6yjrBmuWzWWL2OlsDbuXvYd9jn2fQ+K4ceI5Ck4n5wPOKc5dLsJ15kq4cu4K7hj3DHeaR+QJeFJeBa+H91veBG/GnGMeaJ5n3mA+Yv6J+SQf4bvxpfwqfh//IP86/6WFnUWMhdJijcV+i8sWzyxtLKMtlZbdlgcsr1m+tMKs4q0qrTZYjVvdsUatPa0zreutt1mfsX5kw7MJt5HbdNsctLlpC9t62mbZNtt+YHvBdtbO3i7RTme3xe6U3SN7vn20fYX9gP2n9g8cuA6RDmqHAYfPHP6KmWMxWBU2hJ3GZhxtHZMcjY47HCccXzkJnHKdOpwOON1xpjqLncucB5xPOs+4OLikubS47HW56UpxFbuWu252Pev6zE3glu+2ym3c7b7AUiAVNAn2Cm67M9yj3GvcR92vehA9xB6VHls9vvSEPYM8yz1HPC96wV7BXmqvrV6XvAneod5a71HvG0K6MEZYJ9wrnPLh+6T6dPiM+zz2dfEt9N3ge9b3tV+QX5XfmN8tEUeULOoQHRN95+/pL/cf8b8awAhICGgLOBLwbaBXoDJwW+Cfg7hBaUGrgk4G/SM4JFgfvD/4QYhLSEnIeyE3xDxxhrhX/HkoITQ2tC3049AXYcFhhrCDYX8PF4ZXhu8Jv79AsEC5YGzB3QinCFnEjojJSCyyJPL9yMkoxyhZ1GjUN9HO0YrondH3YjxiKmL2xTyO9YvVx34U+0wSJlkmOR6HxCXGdcdNxHPic+OH479OcEpQJexNmEkMSmxOPJ5ESEpJ2pB0Q2onlUt3S2eSQ5KXJZ9OoadkpwynfJPqmapPPZYGpyWnbUy7vdB1oXbheDpIl6ZvTL+TIcioyfhDJjEzI3Mk8y9ZoqyWrLPZ3Ozi7D3ZT3Nic/pybuW65xpzT+Yx84ryduc9y4/L78+fXOS7aNmi8wXWBeqCI4WkwrzCnYWzi+MXb1o8XRRU1FV0fYlgScOSc0utl1Yt/aSYWSwrPlRCKMkv2VPygyxdNiqbLZWWvlc6I5fIN8sfKqIVA4oHyghlv/JeWURZf9l9VYRqo+pBeVT5YPkjtUQ9rP62Iqlie8WzyvTKDyt/rMqvOqAha0o0R7UcbaX2dLV9dUP1JZ2Xrks3WRNWs6lmRp+i31kL1S6pPWLg4T9TF4zuxpXGqbrIupG65/V59Yca2A3ahguNno1rGu81JTT9phltljefbHFsaW+ZWhazbEcr1FraerLNua2zbXp54vJd7dT2yvY/dfh19Hd8vyJ/xbFOu87lnXdXJq7c22XWpe+6sSp81fbV6Gr16ok1AWu2rHndrej+osevZ7Dnh1557xdrRWuH1v64rmzdRF9w37b1xPXa9dc3RG3Y1c/ub+q/uzFt4+EBbKB74PtNxZvODQYObt9M3WzcPDmU+k8ApAFb/pi4mSSZkJn8mmia1ZtCm6+cHJyJnPedZJ3SnkCerp8dn4uf+qBpoNihR6G2oiailqMGo3aj5qRWpMelOKWpphqmi6b9p26n4KhSqMSpN6mpqhyqj6sCq3Wr6axcrNCtRK24ri2uoa8Wr4uwALB1sOqxYLHWskuywrM4s660JbSctRO1irYBtnm28Ldot+C4WbjRuUq5wro7urW7LrunvCG8m70VvY++Cr6Evv+/er/1wHDA7MFnwePCX8Lbw1jD1MRRxM7FS8XIxkbGw8dBx7/IPci8yTrJuco4yrfLNsu2zDXMtc01zbXONs62zzfPuNA50LrRPNG+0j/SwdNE08bUSdTL1U7V0dZV1tjXXNfg2GTY6Nls2fHadtr724DcBdyK3RDdlt4c3qLfKd+v4DbgveFE4cziU+Lb42Pj6+Rz5PzlhOYN5pbnH+ep6DLovOlG6dDqW+rl63Dr++yG7RHtnO4o7rTvQO/M8Fjw5fFy8f/yjPMZ86f0NPTC9VD13vZt9vv3ivgZ+Kj5OPnH+lf65/t3/Af8mP0p/br+S/7c/23//wIMAPeE8/sNZW5kc3RyZWFtDWVuZG9iag0xIDAgb2JqDTw8L0xlbmd0aCA0Njg0L1N1YnR5cGUvWE1ML1R5cGUvTWV0YWRhdGE+PnN0cmVhbQ0KPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMwMTUgODQuMTU5ODEwLCAyMDE2LzA5LzEwLTAyOjQxOjMwICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgICAgICAgICB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIgogICAgICAgICAgICB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczpwZGY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGRmLzEuMy8iPgogICAgICAgICA8eG1wOkNyZWF0ZURhdGU+MjAxNy0wOS0xOFQxNjowMzoyMSswMjowMDwveG1wOkNyZWF0ZURhdGU+CiAgICAgICAgIDx4bXA6TWV0YWRhdGFEYXRlPjIwMTgtMDEtMjJUMDk6Mjk6MjJaPC94bXA6TWV0YWRhdGFEYXRlPgogICAgICAgICA8eG1wOk1vZGlmeURhdGU+MjAxOC0wMS0yMlQwOToyOToyMlo8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8eG1wOkNyZWF0b3JUb29sPkFkb2JlIElsbHVzdHJhdG9yIENDIDIwMTcgKE1hY2ludG9zaCk8L3htcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhtcE1NOkluc3RhbmNlSUQ+dXVpZDo4NmJlMTBmMy1kY2ZmLTg1NDctOTg4ZS0yZjljYTg2NzUxNTY8L3htcE1NOkluc3RhbmNlSUQ+CiAgICAgICAgIDx4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+eG1wLmRpZDo5MGY3NDMyNi00ODE1LTRkMzYtYjNhOS03ZTk0MzJmMzdlNTc8L3htcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOkRvY3VtZW50SUQ+eG1wLmlkOjlmYmRlMjY2LWNkNGItNDZiZS04Y2ZhLTdmYzEyMDg4YTQwMzwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOlJlbmRpdGlvbkNsYXNzPnByb29mOnBkZjwveG1wTU06UmVuZGl0aW9uQ2xhc3M+CiAgICAgICAgIDx4bXBNTTpIaXN0b3J5PgogICAgICAgICAgICA8cmRmOlNlcT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y29udmVydGVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpwYXJhbWV0ZXJzPmZyb20gYXBwbGljYXRpb24veC1pbmRlc2lnbiB0byBhcHBsaWNhdGlvbi9wZGY8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIEluRGVzaWduIENDIDIwMTUgKE1hY2ludG9zaCk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTYtMDMtMDlUMDk6NDM6MTgrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICA8L3JkZjpTZXE+CiAgICAgICAgIDwveG1wTU06SGlzdG9yeT4KICAgICAgICAgPHhtcE1NOkRlcml2ZWRGcm9tIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgPHN0UmVmOmluc3RhbmNlSUQ+eG1wLmlpZDphZGE3OGFiNC0xN2UwLTRjMzMtYjVkOC0zZTg4Y2M5NTFiMGE8L3N0UmVmOmluc3RhbmNlSUQ+CiAgICAgICAgICAgIDxzdFJlZjpkb2N1bWVudElEPnhtcC5kaWQ6OTBmNzQzMjYtNDgxNS00ZDM2LWIzYTktN2U5NDMyZjM3ZTU3PC9zdFJlZjpkb2N1bWVudElEPgogICAgICAgICAgICA8c3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6OTBmNzQzMjYtNDgxNS00ZDM2LWIzYTktN2U5NDMyZjM3ZTU3PC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgICAgIDxzdFJlZjpyZW5kaXRpb25DbGFzcz5kZWZhdWx0PC9zdFJlZjpyZW5kaXRpb25DbGFzcz4KICAgICAgICAgPC94bXBNTTpEZXJpdmVkRnJvbT4KICAgICAgICAgPGRjOmZvcm1hdD5hcHBsaWNhdGlvbi9wZGY8L2RjOmZvcm1hdD4KICAgICAgICAgPGRjOnRpdGxlPgogICAgICAgICAgICA8cmRmOkFsdD4KICAgICAgICAgICAgICAgPHJkZjpsaSB4bWw6bGFuZz0ieC1kZWZhdWx0Ij5ub3RlX3N0YXJfdGhpbjwvcmRmOmxpPgogICAgICAgICAgICA8L3JkZjpBbHQ+CiAgICAgICAgIDwvZGM6dGl0bGU+CiAgICAgICAgIDxwZGY6UHJvZHVjZXI+QWRvYmUgUERGIGxpYnJhcnkgMTUuMDA8L3BkZjpQcm9kdWNlcj4KICAgICAgICAgPHBkZjpUcmFwcGVkPkZhbHNlPC9wZGY6VHJhcHBlZD4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Pg1lbmRzdHJlYW0NZW5kb2JqDTIgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0ZpcnN0IDQvTGVuZ3RoIDQ4L04gMS9UeXBlL09ialN0bT4+c3RyZWFtDQpo3jJVMFCwsdF3zi/NK1Ew1PfOTCmOtgSKBcXqh1QWpOoHJKanFtvZAQQYANZ3C4ANZW5kc3RyZWFtDWVuZG9iag0zIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCA0L0xlbmd0aCAxNjUvTiAxL1R5cGUvT2JqU3RtPj5zdHJlYW0NCmjeRIxBC4IwGED/ym46gvZtkWmIEIrQQfDQKQSZbuBgbPJtHvr3JRFdH++9jAApS1ajltF418io0+YqgF+g4DnP4CT4AUQCkNCv5TG9KT9pcrd2CxF3Quqa7A0Z0k7OxkUfloFS1nn1P+bAhYBCFEI8KevRq23Wv1nftMSaCSW+CD8fASh7mGh16nzUY4gSx7gY96Eo11Ur1kobdFW9BRgABRE6mw1lbmRzdHJlYW0NZW5kb2JqDTQgMCBvYmoNPDwvRGVjb2RlUGFybXM8PC9Db2x1bW5zIDMvUHJlZGljdG9yIDEyPj4vRmlsdGVyL0ZsYXRlRGVjb2RlL0lEWzxCQUNGNzAyOTIzQjU0OEVBQjAzMzY5QTMzOUNDRjdCNj48RTM3RUY1QTJBNkUyNDNBRThFNzI2NUQ5NjQxMkMxMEU+XS9JbmZvIDYgMCBSL0xlbmd0aCAzNy9Sb290IDggMCBSL1NpemUgNy9UeXBlL1hSZWYvV1sxIDIgMF0+PnN0cmVhbQ0KaN5iYmBgYGIUDGFiEJrBxMDYDcSMTIy3u5gYGBgBAgwAI9UDFA1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0xMTYNJSVFT0YN"),!0,!0,!1),Module.FS_createDataFile("/assets/NoteIcons","note_insert_thin.pdf",decodeBase64("JVBERi0xLjYNJeLjz9MNCjcgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgOTcyOC9PIDkvRSA0Mjg1L04gMS9UIDk0NDMvSCBbIDQ0NiAxMzZdPj4NZW5kb2JqDSAgICAgICAgICAgICAgICAgICAgICAgIA0xMyAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgNC9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPEY2MzE2RUFFNDY1NjRGMzFCQ0ZCNUJERkUxRjAxOEFDPjw1MTFBNDFBNjcyQjk0RENCOUUzRDg2NTA1MEU1RkVBND5dL0luZGV4WzcgMTFdL0luZm8gNiAwIFIvTGVuZ3RoIDUxL1ByZXYgOTQ0NC9Sb290IDggMCBSL1NpemUgMTgvVHlwZS9YUmVmL1dbMSAyIDFdPj5zdHJlYW0NCmjeYmJkEGBgYmAyAxIMNkCCUQtEKIDEZgKJX/wMTIwM00CyDIwQ4j/jln8AAQYAXVYF1w1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0wDSUlRU9GDSAgICAgICAgIA0xNyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvSSA2OS9MZW5ndGggNTgvUyAzOD4+c3RyZWFtDQpo3mJgYGBhYGD8xQAEfNYMqICRASTL0YAsxgLFDIwKDDwMCxjYZ1qAeMwMDMqPIFoYmQACDACqaASPDWVuZHN0cmVhbQ1lbmRvYmoNOCAwIG9iag08PC9NZXRhZGF0YSAxIDAgUi9QYWdlcyA1IDAgUi9UeXBlL0NhdGFsb2c+Pg1lbmRvYmoNOSAwIG9iag08PC9BcnRCb3hbMS4wIDYuMCAyMy4wIDIyLjI0OTldL0JsZWVkQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9Db250ZW50cyAxMSAwIFIvQ3JvcEJveFswLjAgMC4wIDI0LjAgMjQuMF0vTWVkaWFCb3hbMC4wIDAuMCAyNC4wIDI0LjBdL1BhcmVudCA1IDAgUi9SZXNvdXJjZXM8PC9Db2xvclNwYWNlPDwvQ1MwIDE0IDAgUj4+L0V4dEdTdGF0ZTw8L0dTMCAxNSAwIFI+Pi9Qcm9wZXJ0aWVzPDwvTUMwIDE2IDAgUj4+Pj4vUm90YXRlIDAvVHJpbUJveFswLjAgMC4wIDI0LjAgMjQuMF0vVHlwZS9QYWdlPj4NZW5kb2JqDTEwIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCAxOC9MZW5ndGggMTk0L04gMy9UeXBlL09ialN0bT4+c3RyZWFtDQpo3jSOSwvCMBCE/8oe9eJ2Y1s9SKFWkYLVYsWLeIi6QjB9kMbXvze0ehxmvpkhHzygAGgKFAKRD0dMk2QuW74CCWfuTrMZxmkBN6lbxnmGm9qUUmMSA4083OY/Z5tnQFjEYM2Dschke3fRinH/aRiXb7sqrLSMF9lxddNzUeT6k1rX5ig8IXwYi0k4hTAIxsEJF6os3ZN+YXlVVp419wu54afi11+oyrpgJ/bKah6s5YcN0BAPqlV/Koq+AgwA5MZKhA1lbmRzdHJlYW0NZW5kb2JqDTExIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9MZW5ndGggMzQwPj5zdHJlYW0NCkiJXFO7bsMwDNz5FfwB0XrLWesWXZoh6NC5MNJ2UAokmfr3JSXHlgw/yKN5PJGSh7fPv/MNh+Ok8el5QriCRuvlVvzczvCBvzBM7xrnO+py4X3m0CuHvu9wRVOCBo1Fq0l7h/MFJMTvAlU1GdQO/4DRFFAZWwIXiKufwZF1hxUbVAcadRAnVRFg13Cip4MkVpMhkHFcs5pAPpgNRB8fiTNEcsELtM4yL1LwpYx2CRfgKFmDS6KjYIPIko7cLaU4Mk2TTwFtTelAmzeD6qpkwY2E6tRVtzTmdivPgpu2dqYbB3OXKal1cNWv01T9lNW2AcJsNycXnNKWoYwpvo1p9cPCFOQKyisajQg9avilRtXwD83tExMdeRnKmktWjiXLxOT5fAk5urol7ZeeFpvynVqG3WKadTYNMGvrLUPT9G4e3bhm+IITvBz5jzrBvwADACmzpS4NZW5kc3RyZWFtDWVuZG9iag0xMiAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDI1NzQvTiAzPj5zdHJlYW0NCkiJnJZ5VFN3Fsd/b8mekJWww2MNW4CwBpA1bGGRHQRRCEkIARJCSNgFQUQFFEVEhKqVMtZtdEZPRZ0urmOtDtZ96tID9TDq6Di0FteOnRc4R51OZ6bT7x/v9zn3d+/v3d+9953zAKAnpaq11TALAI3WoM9KjMUWFRRipAkAAwogAhEAMnmtLi07IQfgksZLsFrcCfyLnl4HkGm9IkzKwDDw/4kt1+kNAEAZOAcolLVynDtxrqo36Ez2GZx5pZUmhlET6/EEcbY0sWqeved85jnaxAqNVoGzKWedQqMw8WmcV9cZlTgjqTh31amV9ThfxdmlyqhR4/zcFKtRymoBQOkmu0EpL8fZD2e6PidLgvMCAMh01Ttc+g4blA0G06Uk1bpGvVpVbsDc5R6YKDRUjCUp66uUBoMwQyavlOkVmKRao5NpGwGYv/OcOKbaYniRg0WhwcFCfx/RO4X6r5u/UKbeztOTzLmeQfwLb20/51c9CoB4Fq/N+re20i0AjK8EwPLmW5vL+wAw8b4dvvjOffimeSk3GHRhvr719fU+aqXcx1TQN/qfDr9A77zPx3Tcm/JgccoymbHKgJnqJq+uqjbqsVqdTK7EhD8d4l8d+PN5eGcpy5R6pRaPyMOnTK1V4e3WKtQGdbUWU2v/UxN/ZdhPND/XuLhjrwGv2AewLvIA8rcLAOXSAFK0Dd+B3vQtlZIHMvA13+He/NzPCfr3U+E+06NWrZqLk2TlYHKjvm5+z/RZAgKgAibgAStgD5yBOxACfxACwkE0iAfJIB3kgAKwFMhBOdAAPagHLaAddIEesB5sAsNgOxgDu8F+cBCMg4/BCfBHcB58Ca6BW2ASTIOHYAY8Ba8gCCJBDIgLWUEOkCvkBflDYigSiodSoSyoACqBVJAWMkIt0AqoB+qHhqEd0G7o99BR6AR0DroEfQVNQQ+g76CXMALTYR5sB7vBvrAYjoFT4Bx4CayCa+AmuBNeBw/Bo/A++DB8Aj4PX4Mn4YfwLAIQGsJHHBEhIkYkSDpSiJQheqQV6UYGkVFkP3IMOYtcQSaRR8gLlIhyUQwVouFoEpqLytEatBXtRYfRXehh9DR6BZ1CZ9DXBAbBluBFCCNICYsIKkI9oYswSNhJ+IhwhnCNME14SiQS+UQBMYSYRCwgVhCbib3ErcQDxOPES8S7xFkSiWRF8iJFkNJJMpKB1EXaQtpH+ox0mTRNek6mkR3I/uQEciFZS+4gD5L3kD8lXybfI7+isCiulDBKOkVBaaT0UcYoxygXKdOUV1Q2VUCNoOZQK6jt1CHqfuoZ6m3qExqN5kQLpWXS1LTltCHa72if06ZoL+gcuiddQi+iG+nr6B/Sj9O/oj9hMBhujGhGIcPAWMfYzTjF+Jrx3Ixr5mMmNVOYtZmNmB02u2z2mElhujJjmEuZTcxB5iHmReYjFoXlxpKwZKxW1gjrKOsGa5bNZYvY6WwNu5e9h32OfZ9D4rhx4jkKTifnA84pzl0uwnXmSrhy7gruGPcMd5pH5Al4Ul4Fr4f3W94Eb8acYx5onmfeYD5i/on5JB/hu/Gl/Cp+H/8g/zr/pYWdRYyF0mKNxX6LyxbPLG0soy2Vlt2WByyvWb60wqzirSqtNliNW92xRq09rTOt6623WZ+xfmTDswm3kdt02xy0uWkL23raZtk2235ge8F21s7eLtFOZ7fF7pTdI3u+fbR9hf2A/af2Dxy4DpEOaocBh88c/oqZYzFYFTaEncZmHG0dkxyNjjscJxxfOQmccp06nA443XGmOoudy5wHnE86z7g4uKS5tLjsdbnpSnEVu5a7bnY96/rMTeCW77bKbdztvsBSIBU0CfYKbrsz3KPca9xH3a96ED3EHpUeWz2+9IQ9gzzLPUc8L3rBXsFeaq+tXpe8Cd6h3lrvUe8bQrowRlgn3Cuc8uH7pPp0+Iz7PPZ18S303eB71ve1X5Bfld+Y3y0RR5Qs6hAdE33n7+kv9x/xvxrACEgIaAs4EvBtoFegMnBb4J+DuEFpQauCTgb9IzgkWB+8P/hBiEtISch7ITfEPHGGuFf8eSghNDa0LfTj0BdhwWGGsINhfw8XhleG7wm/v0CwQLlgbMHdCKcIWcSOiMlILLIk8v3IySjHKFnUaNQ30c7Riuid0fdiPGIqYvbFPI71i9XHfhT7TBImWSY5HofEJcZ1x03Ec+Jz44fjv05wSlAl7E2YSQxKbE48nkRISknakHRDaieVS3dLZ5JDkpcln06hp2SnDKd8k+qZqk89lganJadtTLu90HWhduF4OkiXpm9Mv5MhyKjJ+EMmMTMjcyTzL1mirJass9nc7OLsPdlPc2Jz+nJu5brnGnNP5jHzivJ25z3Lj8vvz59c5Lto2aLzBdYF6oIjhaTCvMKdhbOL4xdvWjxdFFTUVXR9iWBJw5JzS62XVi39pJhZLCs+VEIoyS/ZU/KDLF02KpstlZa+Vzojl8g3yx8qohUDigfKCGW/8l5ZRFl/2X1VhGqj6kF5VPlg+SO1RD2s/rYiqWJ7xbPK9MoPK3+syq86oCFrSjRHtRxtpfZ0tX11Q/UlnZeuSzdZE1azqWZGn6LfWQvVLqk9YuDhP1MXjO7Glcapusi6kbrn9Xn1hxrYDdqGC42ejWsa7zUlNP2mGW2WN59scWxpb5laFrNsRyvUWtp6ss25rbNtenni8l3t1PbK9j91+HX0d3y/In/FsU67zuWdd1cmrtzbZdal77qxKnzV9tXoavXqiTUBa7ased2t6P6ix69nsOeHXnnvF2tFa4fW/riubN1EX3DftvXE9dr11zdEbdjVz+5v6r+7MW3j4QFsoHvg+03Fm84NBg5u30zdbNw8OZT6TwCkAVv+mLiZJJmQmfyaaJrVm0Kbr5wcnImc951kndKeQJ6unx2fi5/6oGmg2KFHobaiJqKWowajdqPmpFakx6U4pammGqaLpv2nbqfgqFKoxKk3qamqHKqPqwKrdavprFys0K1ErbiuLa6hrxavi7AAsHWw6rFgsdayS7LCszizrrQltJy1E7WKtgG2ebbwt2i34LhZuNG5SrnCuju6tbsuu6e8IbybvRW9j74KvoS+/796v/XAcMDswWfB48JfwtvDWMPUxFHEzsVLxcjGRsbDx0HHv8g9yLzJOsm5yjjKt8s2y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp22vvbgNwF3IrdEN2W3hzeot8p36/gNuC94UThzOJT4tvjY+Pr5HPk/OWE5g3mlucf56noMui86Ubp0Opb6uXrcOv77IbtEe2c7ijutO9A78zwWPDl8XLx//KM8xnzp/Q09ML1UPXe9m32+/eK+Bn4qPk4+cf6V/rn+3f8B/yY/Sn9uv5L/tz/bf//AgwA94Tz+w1lbmRzdHJlYW0NZW5kb2JqDTEgMCBvYmoNPDwvTGVuZ3RoIDQ2ODYvU3VidHlwZS9YTUwvVHlwZS9NZXRhZGF0YT4+c3RyZWFtDQo8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzAxNSA4NC4xNTk4MTAsIDIwMTYvMDkvMTAtMDI6NDE6MzAgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iCiAgICAgICAgICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiCiAgICAgICAgICAgIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIgogICAgICAgICAgICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgICAgICAgICAgIHhtbG5zOnBkZj0iaHR0cDovL25zLmFkb2JlLmNvbS9wZGYvMS4zLyI+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE3LTA5LTE4VDE2OjAzOjIwKzAyOjAwPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxOC0wMS0yMlQwOToyOToyN1o8L3htcDpNZXRhZGF0YURhdGU+CiAgICAgICAgIDx4bXA6TW9kaWZ5RGF0ZT4yMDE4LTAxLTIyVDA5OjI5OjI3WjwveG1wOk1vZGlmeURhdGU+CiAgICAgICAgIDx4bXA6Q3JlYXRvclRvb2w+QWRvYmUgSWxsdXN0cmF0b3IgQ0MgMjAxNyAoTWFjaW50b3NoKTwveG1wOkNyZWF0b3JUb29sPgogICAgICAgICA8eG1wTU06SW5zdGFuY2VJRD51dWlkOjliNDkwZTc1LTQ4OTMtY2Y0Ny05ZWI2LTJjMTY3ZTExZjhkZDwveG1wTU06SW5zdGFuY2VJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1NzwveG1wTU06T3JpZ2luYWxEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06RG9jdW1lbnRJRD54bXAuaWQ6OWZiZGUyNjYtY2Q0Yi00NmJlLThjZmEtN2ZjMTIwODhhNDAzPC94bXBNTTpEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06UmVuZGl0aW9uQ2xhc3M+cHJvb2Y6cGRmPC94bXBNTTpSZW5kaXRpb25DbGFzcz4KICAgICAgICAgPHhtcE1NOkhpc3Rvcnk+CiAgICAgICAgICAgIDxyZGY6U2VxPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi94LWluZGVzaWduIHRvIGFwcGxpY2F0aW9uL3BkZjwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgSW5EZXNpZ24gQ0MgMjAxNSAoTWFjaW50b3NoKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNi0wMy0wOVQwOTo0MzoxOCswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8eG1wTU06RGVyaXZlZEZyb20gcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICA8c3RSZWY6aW5zdGFuY2VJRD54bXAuaWlkOmFkYTc4YWI0LTE3ZTAtNGMzMy1iNWQ4LTNlODhjYzk1MWIwYTwvc3RSZWY6aW5zdGFuY2VJRD4KICAgICAgICAgICAgPHN0UmVmOmRvY3VtZW50SUQ+eG1wLmRpZDo5MGY3NDMyNi00ODE1LTRkMzYtYjNhOS03ZTk0MzJmMzdlNTc8L3N0UmVmOmRvY3VtZW50SUQ+CiAgICAgICAgICAgIDxzdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+eG1wLmRpZDo5MGY3NDMyNi00ODE1LTRkMzYtYjNhOS03ZTk0MzJmMzdlNTc8L3N0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOnJlbmRpdGlvbkNsYXNzPmRlZmF1bHQ8L3N0UmVmOnJlbmRpdGlvbkNsYXNzPgogICAgICAgICA8L3htcE1NOkRlcml2ZWRGcm9tPgogICAgICAgICA8ZGM6Zm9ybWF0PmFwcGxpY2F0aW9uL3BkZjwvZGM6Zm9ybWF0PgogICAgICAgICA8ZGM6dGl0bGU+CiAgICAgICAgICAgIDxyZGY6QWx0PgogICAgICAgICAgICAgICA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPm5vdGVfaW5zZXJ0X3RoaW48L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6QWx0PgogICAgICAgICA8L2RjOnRpdGxlPgogICAgICAgICA8cGRmOlByb2R1Y2VyPkFkb2JlIFBERiBsaWJyYXJ5IDE1LjAwPC9wZGY6UHJvZHVjZXI+CiAgICAgICAgIDxwZGY6VHJhcHBlZD5GYWxzZTwvcGRmOlRyYXBwZWQ+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4NZW5kc3RyZWFtDWVuZG9iag0yIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCA0L0xlbmd0aCA0OC9OIDEvVHlwZS9PYmpTdG0+PnN0cmVhbQ0KaN4yVTBQsLHRd84vzStRMNT3zkwpjrYEigXF6odUFqTqBySmpxbb2QEEGADWdwuADWVuZHN0cmVhbQ1lbmRvYmoNMyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvRmlyc3QgNC9MZW5ndGggMTY2L04gMS9UeXBlL09ialN0bT4+c3RyZWFtDQpo3kSMQQuCMBhA/8puOoL2bZFmiBCK0EHw0CkEme4DB2OTbR769yURXR/vvYwAKUtWe5RRO9vIiGlzFcBzKPiFZ3AScACRACT0azmf3pSbkNyN2UL0OyF1TfaGDGknZ22jC8tAKeuc+h8vwIWAQhQif1LWe6e2GX+zvmmJ0ZOX/kX4+QhA2UNHg6l1EUdtA/o4xkXbD/dyXVGxVpqAVfUWYAB/ejt6DWVuZHN0cmVhbQ1lbmRvYmoNNCAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgMy9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPEY2MzE2RUFFNDY1NjRGMzFCQ0ZCNUJERkUxRjAxOEFDPjw1MTFBNDFBNjcyQjk0RENCOUUzRDg2NTA1MEU1RkVBND5dL0luZm8gNiAwIFIvTGVuZ3RoIDM3L1Jvb3QgOCAwIFIvU2l6ZSA3L1R5cGUvWFJlZi9XWzEgMiAwXT4+c3RyZWFtDQpo3mJiYGBgYhTYy8QgPIuJgaGbiYGRiYnxjhyQzQgQYAAqdQMUDWVuZHN0cmVhbQ1lbmRvYmoNc3RhcnR4cmVmDTExNg0lJUVPRg0="),!0,!0,!1),Module.FS_createDataFile("/assets/NoteIcons","note_note_thin.pdf",decodeBase64("JVBERi0xLjYNJeLjz9MNCjcgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgOTY0NC9PIDkvRSA0MjAzL04gMS9UIDkzNTkvSCBbIDQ0NSAxMzZdPj4NZW5kb2JqDSAgICAgICAgICAgICAgICAgICAgICAgIA0xMyAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgNC9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPDY4QjM4MUZBODQwNTQ5M0Y5ODI2RDU1Rjc4MTdCNDlEPjw2N0ExQTEzMzUxQkQ0RUUzODRFNDZCN0I1M0I4NDhEOD5dL0luZGV4WzcgMTFdL0luZm8gNiAwIFIvTGVuZ3RoIDUxL1ByZXYgOTM2MC9Sb290IDggMCBSL1NpemUgMTgvVHlwZS9YUmVmL1dbMSAyIDFdPj5zdHJlYW0NCmjeYmJkEGBgYmAyBRIMNkCCUR1EKIDEvIHEr0QGJkaGaSBZBkYI8Z9x8z+AAAMAW4gF1g1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0wDSUlRU9GDSAgICAgICAgDTE3IDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9JIDY5L0xlbmd0aCA1OC9TIDM4Pj5zdHJlYW0NCmjeYmBgYGFgYPzJAAS8rxhQASMDSJajAVmMBYoZGBUYeBgKGJh2WoB4zAwMyn0QLYxMAAEGANXxBNMNZW5kc3RyZWFtDWVuZG9iag04IDAgb2JqDTw8L01ldGFkYXRhIDEgMCBSL1BhZ2VzIDUgMCBSL1R5cGUvQ2F0YWxvZz4+DWVuZG9iag05IDAgb2JqDTw8L0FydEJveFswLjAgMC4wIDI0LjAgMjQuMF0vQmxlZWRCb3hbMC4wIDAuMCAyNC4wIDI0LjBdL0NvbnRlbnRzIDExIDAgUi9Dcm9wQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9NZWRpYUJveFswLjAgMC4wIDI0LjAgMjQuMF0vUGFyZW50IDUgMCBSL1Jlc291cmNlczw8L0NvbG9yU3BhY2U8PC9DUzAgMTQgMCBSPj4vRXh0R1N0YXRlPDwvR1MwIDE1IDAgUj4+L1Byb3BlcnRpZXM8PC9NQzAgMTYgMCBSPj4+Pi9Sb3RhdGUgMC9UcmltQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9UeXBlL1BhZ2U+Pg1lbmRvYmoNMTAgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0ZpcnN0IDE4L0xlbmd0aCAxOTQvTiAzL1R5cGUvT2JqU3RtPj5zdHJlYW0NCmjeNI5LC8IwEIT/yh714nZjWz1IoVaRgtVixYt4iLpCMH2Qxte/N7R6HGa+mSEfPKAAaAoUApEPR0yTZC5bvgIJZ+5OsxnGaQE3qVvGeYab2pRSYxIDjTzc5j9nm2dAWMRgzYOxyGR7d9GKcf9pGJdvuyqstIwX2XF103NR5PqTWtfmKDwhfBiLSTiFMAjGwQkXqizdk35heVVWnjX3C7nhp+LXX6jKumAn9spqHqzlhw3QEA+qVX8qir4CDADkxkqEDWVuZHN0cmVhbQ1lbmRvYmoNMTEgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aCAyNjI+PnN0cmVhbQ0KSIlEkT1uwzAMhXeegheQLNK2fta4RZdmCDp0LoS0HZwCiafcPqSouLANfU9+Tybp4f3rfr7hcFwCHl4WhCsE5ElvJ8/tDJ/4B8PyEbBuGNqFW5WtN9n62eCK1DYJmZHEdQGVF3DRzwIruORHLoIuows+Jm5E8rqCUlYTFdE7phSbiSWVTBm2jCBpfH1iM/QYMdphAuINRqsSS0fCe6QfU+G3+yat28KTne5zyiqcdseiimGvXrAVtRrmbrCYk3H0vnQwrVfqE5mSvY6+REInpeeias5R1SSfrEBtdbasIpuJfBgLss5yHlHbqcDPgexV/lfeO6vwDSd4Pco/PsFDgAEAb15gUQ1lbmRzdHJlYW0NZW5kb2JqDTEyIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9MZW5ndGggMjU3NC9OIDM+PnN0cmVhbQ0KSImclnlUU3cWx39vyZ6QlbDDYw1bgLAGkDVsYZEdBFEISQgBEkJI2AVBRAUURUSEqpUy1m10Rk9FnS6uY60O1n3q0gP1MOroOLQW146dFzhHnU5nptPvH+/3Ofd37+/d3733nfMAoCelqrXVMAsAjdagz0qMxRYVFGKkCQADCiACEQAyea0uLTshB+CSxkuwWtwJ/IueXgeQab0iTMrAMPD/iS3X6Q0AQBk4ByiUtXKcO3GuqjfoTPYZnHmllSaGURPr8QRxtjSxap6953zmOdrECo1WgbMpZ51CozDxaZxX1xmVOCOpOHfVqZX1OF/F2aXKqFHj/NwUq1HKagFA6Sa7QSkvx9kPZ7o+J0uC8wIAyHTVO1z6DhuUDQbTpSTVuka9WlVuwNzlHpgoNFSMJSnrq5QGgzBDJq+U6RWYpFqjk2kbAZi/85w4ptpieJGDRaHBwUJ/H9E7hfqvm79Qpt7O05PMuZ5B/AtvbT/nVz0KgHgWr836t7bSLQCMrwTA8uZbm8v7ADDxvh2++M59+KZ5KTcYdGG+vvX19T5qpdzHVNA3+p8Ov0DvvM/HdNyb8mBxyjKZscqAmeomr66qNuqxWp1MrsSEPx3iXx3483l4ZynLlHqlFo/Iw6dMrVXh7dYq1AZ1tRZTa/9TE39l2E80P9e4uGOvAa/YB7Au8gDytwsA5dIAUrQN34He9C2Vkgcy8DXf4d783M8J+vdT4T7To1atmouTZOVgcqO+bn7P9FkCAqACJuABK2APnIE7EAJ/EALCQTSIB8kgHeSAArAUyEE50AA9qActoB10gR6wHmwCw2A7GAO7wX5wEIyDj8EJ8EdwHnwJroFbYBJMg4dgBjwFryAIIkEMiAtZQQ6QK+QF+UNiKBKKh1KhLKgAKoFUkBYyQi3QCqgH6oeGoR3Qbuj30FHoBHQOugR9BU1BD6DvoJcwAtNhHmwHu8G+sBiOgVPgHHgJrIJr4Ca4E14HD8Gj8D74MHwCPg9fgyfhh/AsAhAawkccESEiRiRIOlKIlCF6pBXpRgaRUWQ/cgw5i1xBJpFHyAuUiHJRDBWi4WgSmovK0Rq0Fe1Fh9Fd6GH0NHoFnUJn0NcEBsGW4EUII0gJiwgqQj2hizBI2En4iHCGcI0wTXhKJBL5RAExhJhELCBWEJuJvcStxAPE48RLxLvEWRKJZEXyIkWQ0kkykoHURdpC2kf6jHSZNE16TqaRHcj+5ARyIVlL7iAPkveQPyVfJt8jv6KwKK6UMEo6RUFppPRRxijHKBcp05RXVDZVQI2g5lArqO3UIep+6hnqbeoTGo3mRAulZdLUtOW0IdrvaJ/Tpmgv6By6J11CL6Ib6evoH9KP07+iP2EwGG6MaEYhw8BYx9jNOMX4mvHcjGvmYyY1U5i1mY2YHTa7bPaYSWG6MmOYS5lNzEHmIeZF5iMWheXGkrBkrFbWCOso6wZrls1li9jpbA27l72HfY59n0PiuHHiOQpOJ+cDzinOXS7CdeZKuHLuCu4Y9wx3mkfkCXhSXgWvh/db3gRvxpxjHmieZ95gPmL+ifkkH+G78aX8Kn4f/yD/Ov+lhZ1FjIXSYo3FfovLFs8sbSyjLZWW3ZYHLK9ZvrTCrOKtKq02WI1b3bFGrT2tM63rrbdZn7F+ZMOzCbeR23TbHLS5aQvbetpm2TbbfmB7wXbWzt4u0U5nt8XulN0je759tH2F/YD9p/YPHLgOkQ5qhwGHzxz+ipljMVgVNoSdxmYcbR2THI2OOxwnHF85CZxynTqcDjjdcaY6i53LnAecTzrPuDi4pLm0uOx1uelKcRW7lrtudj3r+sxN4Jbvtspt3O2+wFIgFTQJ9gpuuzPco9xr3Efdr3oQPcQelR5bPb70hD2DPMs9RzwvesFewV5qr61el7wJ3qHeWu9R7xtCujBGWCfcK5zy4fuk+nT4jPs89nXxLfTd4HvW97VfkF+V35jfLRFHlCzqEB0Tfefv6S/3H/G/GsAISAhoCzgS8G2gV6AycFvgn4O4QWlBq4JOBv0jOCRYH7w/+EGIS0hJyHshN8Q8cYa4V/x5KCE0NrQt9OPQF2HBYYawg2F/DxeGV4bvCb+/QLBAuWBswd0IpwhZxI6IyUgssiTy/cjJKMcoWdRo1DfRztGK6J3R92I8Yipi9sU8jvWL1cd+FPtMEiZZJjkeh8QlxnXHTcRz4nPjh+O/TnBKUCXsTZhJDEpsTjyeREhKSdqQdENqJ5VLd0tnkkOSlyWfTqGnZKcMp3yT6pmqTz2WBqclp21Mu73QdaF24Xg6SJemb0y/kyHIqMn4QyYxMyNzJPMvWaKslqyz2dzs4uw92U9zYnP6cm7luucac0/mMfOK8nbnPcuPy+/Pn1zku2jZovMF1gXqgiOFpMK8wp2Fs4vjF29aPF0UVNRVdH2JYEnDknNLrZdWLf2kmFksKz5UQijJL9lT8oMsXTYqmy2Vlr5XOiOXyDfLHyqiFQOKB8oIZb/yXllEWX/ZfVWEaqPqQXlU+WD5I7VEPaz+tiKpYnvFs8r0yg8rf6zKrzqgIWtKNEe1HG2l9nS1fXVD9SWdl65LN1kTVrOpZkafot9ZC9UuqT1i4OE/UxeM7saVxqm6yLqRuuf1efWHGtgN2oYLjZ6NaxrvNSU0/aYZbZY3n2xxbGlvmVoWs2xHK9Ra2nqyzbmts216eeLyXe3U9sr2P3X4dfR3fL8if8WxTrvO5Z13Vyau3Ntl1qXvurEqfNX21ehq9eqJNQFrtqx53a3o/qLHr2ew54deee8Xa0Vrh9b+uK5s3URfcN+29cT12vXXN0Rt2NXP7m/qv7sxbePhAWyge+D7TcWbzg0GDm7fTN1s3Dw5lPpPAKQBW/6YuJkkmZCZ/JpomtWbQpuvnByciZz3nWSd0p5Anq6fHZ+Ln/qgaaDYoUehtqImopajBqN2o+akVqTHpTilqaYapoum/adup+CoUqjEqTepqaocqo+rAqt1q+msXKzQrUStuK4trqGvFq+LsACwdbDqsWCx1rJLssKzOLOutCW0nLUTtYq2AbZ5tvC3aLfguFm40blKucK6O7q1uy67p7whvJu9Fb2Pvgq+hL7/v3q/9cBwwOzBZ8Hjwl/C28NYw9TEUcTOxUvFyMZGxsPHQce/yD3IvMk6ybnKOMq3yzbLtsw1zLXNNc21zjbOts83z7jQOdC60TzRvtI/0sHTRNPG1EnUy9VO1dHWVdbY11zX4Nhk2OjZbNnx2nba+9uA3AXcit0Q3ZbeHN6i3ynfr+A24L3hROHM4lPi2+Nj4+vkc+T85YTmDeaW5x/nqegy6LzpRunQ6lvq5etw6/vshu0R7ZzuKO6070DvzPBY8OXxcvH/8ozzGfOn9DT0wvVQ9d72bfb794r4Gfio+Tj5x/pX+uf7d/wH/Jj9Kf26/kv+3P9t//8CDAD3hPP7DWVuZHN0cmVhbQ1lbmRvYmoNMSAwIG9iag08PC9MZW5ndGggNDY4NC9TdWJ0eXBlL1hNTC9UeXBlL01ldGFkYXRhPj5zdHJlYW0NCjw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE1IDg0LjE1OTgxMCwgMjAxNi8wOS8xMC0wMjo0MTozMCAgICAgICAgIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgICAgICAgICAgeG1sbnM6cGRmPSJodHRwOi8vbnMuYWRvYmUuY29tL3BkZi8xLjMvIj4KICAgICAgICAgPHhtcDpDcmVhdGVEYXRlPjIwMTctMDktMThUMTY6MDM6MjErMDI6MDA8L3htcDpDcmVhdGVEYXRlPgogICAgICAgICA8eG1wOk1ldGFkYXRhRGF0ZT4yMDE4LTAxLTIyVDA5OjI5OjI1WjwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTgtMDEtMjJUMDk6Mjk6MjVaPC94bXA6TW9kaWZ5RGF0ZT4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBJbGx1c3RyYXRvciBDQyAyMDE3IChNYWNpbnRvc2gpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXBNTTpJbnN0YW5jZUlEPnV1aWQ6ODRlZDFmMDgtZTU5Ni1hODQ5LTllZDUtNmRjOTc5ZmM0NTYzPC94bXBNTTpJbnN0YW5jZUlEPgogICAgICAgICA8eG1wTU06T3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6OTBmNzQzMjYtNDgxNS00ZDM2LWIzYTktN2U5NDMyZjM3ZTU3PC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpEb2N1bWVudElEPnhtcC5pZDo5ZmJkZTI2Ni1jZDRiLTQ2YmUtOGNmYS03ZmMxMjA4OGE0MDM8L3htcE1NOkRvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpSZW5kaXRpb25DbGFzcz5wcm9vZjpwZGY8L3htcE1NOlJlbmRpdGlvbkNsYXNzPgogICAgICAgICA8eG1wTU06SGlzdG9yeT4KICAgICAgICAgICAgPHJkZjpTZXE+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmNvbnZlcnRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6cGFyYW1ldGVycz5mcm9tIGFwcGxpY2F0aW9uL3gtaW5kZXNpZ24gdG8gYXBwbGljYXRpb24vcGRmPC9zdEV2dDpwYXJhbWV0ZXJzPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBJbkRlc2lnbiBDQyAyMDE1IChNYWNpbnRvc2gpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE2LTAzLTA5VDA5OjQzOjE4KzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6U2VxPgogICAgICAgICA8L3htcE1NOkhpc3Rvcnk+CiAgICAgICAgIDx4bXBNTTpEZXJpdmVkRnJvbSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgIDxzdFJlZjppbnN0YW5jZUlEPnhtcC5paWQ6YWRhNzhhYjQtMTdlMC00YzMzLWI1ZDgtM2U4OGNjOTUxYjBhPC9zdFJlZjppbnN0YW5jZUlEPgogICAgICAgICAgICA8c3RSZWY6ZG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1Nzwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1Nzwvc3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPgogICAgICAgICAgICA8c3RSZWY6cmVuZGl0aW9uQ2xhc3M+ZGVmYXVsdDwvc3RSZWY6cmVuZGl0aW9uQ2xhc3M+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxkYzpmb3JtYXQ+YXBwbGljYXRpb24vcGRmPC9kYzpmb3JtYXQ+CiAgICAgICAgIDxkYzp0aXRsZT4KICAgICAgICAgICAgPHJkZjpBbHQ+CiAgICAgICAgICAgICAgIDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+bm90ZV9ub3RlX3RoaW48L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6QWx0PgogICAgICAgICA8L2RjOnRpdGxlPgogICAgICAgICA8cGRmOlByb2R1Y2VyPkFkb2JlIFBERiBsaWJyYXJ5IDE1LjAwPC9wZGY6UHJvZHVjZXI+CiAgICAgICAgIDxwZGY6VHJhcHBlZD5GYWxzZTwvcGRmOlRyYXBwZWQ+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4NZW5kc3RyZWFtDWVuZG9iag0yIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCA0L0xlbmd0aCA0OC9OIDEvVHlwZS9PYmpTdG0+PnN0cmVhbQ0KaN4yVTBQsLHRd84vzStRMNT3zkwpjrYEigXF6odUFqTqBySmpxbb2QEEGADWdwuADWVuZHN0cmVhbQ1lbmRvYmoNMyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvRmlyc3QgNC9MZW5ndGggMTY2L04gMS9UeXBlL09ialN0bT4+c3RyZWFtDQpo3kSMQQuCMBiG/8pubgTt20LTECEUoYPQoVMIMd0HDsYmcx7692URXd7Dw/s8GQFSlrwOqKLxrlERaXOSII5QiFxkcJBiBzIBSNj35QM9az8guVi7LjFshNQ12RzS006NxkW/TD1jvPP6X8xBSAmFLGR6Z/wavF5H/MWuTUusGYIKTyLSPQDjNxMtUucjPj4TJ+PeNKh5Rs1bZResqpcAAwAFkDqaDWVuZHN0cmVhbQ1lbmRvYmoNNCAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgMy9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPDY4QjM4MUZBODQwNTQ5M0Y5ODI2RDU1Rjc4MTdCNDlEPjw2N0ExQTEzMzUxQkQ0RUUzODRFNDZCN0I1M0I4NDhEOD5dL0luZm8gNiAwIFIvTGVuZ3RoIDM3L1Jvb3QgOCAwIFIvU2l6ZSA3L1R5cGUvWFJlZi9XWzEgMiAwXT4+c3RyZWFtDQpo3mJiYGBgYhTIZmIQnsHEwNDNxMDIxMR4pwjIZgQIMAAlPQMUDWVuZHN0cmVhbQ1lbmRvYmoNc3RhcnR4cmVmDTExNg0lJUVPRg0="),!0,!0,!1),Module.FS_createDataFile("/assets/NoteIcons","note_check_thin.pdf",decodeBase64("JVBERi0xLjYNJeLjz9MNCjcgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgOTY5MS9PIDkvRSA0MjQ4L04gMS9UIDk0MDYvSCBbIDQ0NiAxMzZdPj4NZW5kb2JqDSAgICAgICAgICAgICAgICAgICAgICAgIA0xMyAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgNC9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPDNFQTZBMDQyOEM5MzQzMkJBRUI4QjNBRDhGMURGMDZEPjxEMzBBQkUxOTc4QTM0QkFEQTBCM0I4MEIzQkY0MUExRD5dL0luZGV4WzcgMTFdL0luZm8gNiAwIFIvTGVuZ3RoIDUxL1ByZXYgOTQwNy9Sb290IDggMCBSL1NpemUgMTgvVHlwZS9YUmVmL1dbMSAyIDFdPj5zdHJlYW0NCmjeYmJkEGBgYmAyAxIMNkCC0RREKIDEMoHELxMGJkaGaSBZBkYI8Z9xyz+AAAMAXQsF1w1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0wDSUlRU9GDSAgICAgICAgIA0xNyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvSSA2OS9MZW5ndGggNTgvUyAzOD4+c3RyZWFtDQpo3mJgYGBhYGD8xQAEfGIMqICRASTL0YAsxgLFDIwKDDyMAQwsMy1APGYGBuU9EC2MzAABBgCXpgPzDWVuZHN0cmVhbQ1lbmRvYmoNOCAwIG9iag08PC9NZXRhZGF0YSAxIDAgUi9QYWdlcyA1IDAgUi9UeXBlL0NhdGFsb2c+Pg1lbmRvYmoNOSAwIG9iag08PC9BcnRCb3hbMi4xNjgwOCA0LjAzNDQ1IDIxLjYxOTkgMjEuNTU0MV0vQmxlZWRCb3hbMC4wIDAuMCAyNC4wIDI0LjBdL0NvbnRlbnRzIDExIDAgUi9Dcm9wQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9NZWRpYUJveFswLjAgMC4wIDI0LjAgMjQuMF0vUGFyZW50IDUgMCBSL1Jlc291cmNlczw8L0NvbG9yU3BhY2U8PC9DUzAgMTQgMCBSPj4vRXh0R1N0YXRlPDwvR1MwIDE1IDAgUj4+L1Byb3BlcnRpZXM8PC9NQzAgMTYgMCBSPj4+Pi9Sb3RhdGUgMC9UcmltQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9UeXBlL1BhZ2U+Pg1lbmRvYmoNMTAgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0ZpcnN0IDE4L0xlbmd0aCAxOTQvTiAzL1R5cGUvT2JqU3RtPj5zdHJlYW0NCmjeNI5LC8IwEIT/yh714nZjWz1IoVaRgtVixYt4iLpCMH2Qxte/N7R6HGa+mSEfPKAAaAoUApEPR0yTZC5bvgIJZ+5OsxnGaQE3qVvGeYab2pRSYxIDjTzc5j9nm2dAWMRgzYOxyGR7d9GKcf9pGJdvuyqstIwX2XF103NR5PqTWtfmKDwhfBiLSTiFMAjGwQkXqizdk35heVVWnjX3C7nhp+LXX6jKumAn9spqHqzlhw3QEA+qVX8qir4CDADkxkqEDWVuZHN0cmVhbQ1lbmRvYmoNMTEgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aCAyOTI+PnN0cmVhbQ0KSIkkkbtOAzEQRXt/xfzATuZhj+2WgGhIEVFQo1WgIZGSrfh77izah+bcefjaPrx9/l4edDgdhZ6ej1TuRchqvgu+x6V80K0cju9C60ayP7StkF4hfW/lTrqLSpPdxKmyywharyXla1mCp0/Io1f6KUtnjaDG4k4AM8Rea8YSCa3Tml1enYLb3LuCdTTgMFoaRmUqBwKiBqBrQ5uwBcxzC0eXMBY2rqgTSJoJNcRhA3Fkh/K0mRZ8NzUqqbLWTooWJYUrrIk6dM2RbKNnjZgnuViSWU9S3WsNEyAH3Bh8gHMzYOmNkhqyjTtcZm30pDS4FpwWlpk8Mdc5NP91Ntg11dxG1931QGbJ7TrEjjMDNP+/i7V8lXN5OeE6z+VPgAEACbFdtA1lbmRzdHJlYW0NZW5kb2JqDTEyIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9MZW5ndGggMjU3NC9OIDM+PnN0cmVhbQ0KSImclnlUU3cWx39vyZ6QlbDDYw1bgLAGkDVsYZEdBFEISQgBEkJI2AVBRAUURUSEqpUy1m10Rk9FnS6uY60O1n3q0gP1MOroOLQW146dFzhHnU5nptPvH+/3Ofd37+/d3733nfMAoCelqrXVMAsAjdagz0qMxRYVFGKkCQADCiACEQAyea0uLTshB+CSxkuwWtwJ/IueXgeQab0iTMrAMPD/iS3X6Q0AQBk4ByiUtXKcO3GuqjfoTPYZnHmllSaGURPr8QRxtjSxap6953zmOdrECo1WgbMpZ51CozDxaZxX1xmVOCOpOHfVqZX1OF/F2aXKqFHj/NwUq1HKagFA6Sa7QSkvx9kPZ7o+J0uC8wIAyHTVO1z6DhuUDQbTpSTVuka9WlVuwNzlHpgoNFSMJSnrq5QGgzBDJq+U6RWYpFqjk2kbAZi/85w4ptpieJGDRaHBwUJ/H9E7hfqvm79Qpt7O05PMuZ5B/AtvbT/nVz0KgHgWr836t7bSLQCMrwTA8uZbm8v7ADDxvh2++M59+KZ5KTcYdGG+vvX19T5qpdzHVNA3+p8Ov0DvvM/HdNyb8mBxyjKZscqAmeomr66qNuqxWp1MrsSEPx3iXx3483l4ZynLlHqlFo/Iw6dMrVXh7dYq1AZ1tRZTa/9TE39l2E80P9e4uGOvAa/YB7Au8gDytwsA5dIAUrQN34He9C2Vkgcy8DXf4d783M8J+vdT4T7To1atmouTZOVgcqO+bn7P9FkCAqACJuABK2APnIE7EAJ/EALCQTSIB8kgHeSAArAUyEE50AA9qActoB10gR6wHmwCw2A7GAO7wX5wEIyDj8EJ8EdwHnwJroFbYBJMg4dgBjwFryAIIkEMiAtZQQ6QK+QF+UNiKBKKh1KhLKgAKoFUkBYyQi3QCqgH6oeGoR3Qbuj30FHoBHQOugR9BU1BD6DvoJcwAtNhHmwHu8G+sBiOgVPgHHgJrIJr4Ca4E14HD8Gj8D74MHwCPg9fgyfhh/AsAhAawkccESEiRiRIOlKIlCF6pBXpRgaRUWQ/cgw5i1xBJpFHyAuUiHJRDBWi4WgSmovK0Rq0Fe1Fh9Fd6GH0NHoFnUJn0NcEBsGW4EUII0gJiwgqQj2hizBI2En4iHCGcI0wTXhKJBL5RAExhJhELCBWEJuJvcStxAPE48RLxLvEWRKJZEXyIkWQ0kkykoHURdpC2kf6jHSZNE16TqaRHcj+5ARyIVlL7iAPkveQPyVfJt8jv6KwKK6UMEo6RUFppPRRxijHKBcp05RXVDZVQI2g5lArqO3UIep+6hnqbeoTGo3mRAulZdLUtOW0IdrvaJ/Tpmgv6By6J11CL6Ib6evoH9KP07+iP2EwGG6MaEYhw8BYx9jNOMX4mvHcjGvmYyY1U5i1mY2YHTa7bPaYSWG6MmOYS5lNzEHmIeZF5iMWheXGkrBkrFbWCOso6wZrls1li9jpbA27l72HfY59n0PiuHHiOQpOJ+cDzinOXS7CdeZKuHLuCu4Y9wx3mkfkCXhSXgWvh/db3gRvxpxjHmieZ95gPmL+ifkkH+G78aX8Kn4f/yD/Ov+lhZ1FjIXSYo3FfovLFs8sbSyjLZWW3ZYHLK9ZvrTCrOKtKq02WI1b3bFGrT2tM63rrbdZn7F+ZMOzCbeR23TbHLS5aQvbetpm2TbbfmB7wXbWzt4u0U5nt8XulN0je759tH2F/YD9p/YPHLgOkQ5qhwGHzxz+ipljMVgVNoSdxmYcbR2THI2OOxwnHF85CZxynTqcDjjdcaY6i53LnAecTzrPuDi4pLm0uOx1uelKcRW7lrtudj3r+sxN4Jbvtspt3O2+wFIgFTQJ9gpuuzPco9xr3Efdr3oQPcQelR5bPb70hD2DPMs9RzwvesFewV5qr61el7wJ3qHeWu9R7xtCujBGWCfcK5zy4fuk+nT4jPs89nXxLfTd4HvW97VfkF+V35jfLRFHlCzqEB0Tfefv6S/3H/G/GsAISAhoCzgS8G2gV6AycFvgn4O4QWlBq4JOBv0jOCRYH7w/+EGIS0hJyHshN8Q8cYa4V/x5KCE0NrQt9OPQF2HBYYawg2F/DxeGV4bvCb+/QLBAuWBswd0IpwhZxI6IyUgssiTy/cjJKMcoWdRo1DfRztGK6J3R92I8Yipi9sU8jvWL1cd+FPtMEiZZJjkeh8QlxnXHTcRz4nPjh+O/TnBKUCXsTZhJDEpsTjyeREhKSdqQdENqJ5VLd0tnkkOSlyWfTqGnZKcMp3yT6pmqTz2WBqclp21Mu73QdaF24Xg6SJemb0y/kyHIqMn4QyYxMyNzJPMvWaKslqyz2dzs4uw92U9zYnP6cm7luucac0/mMfOK8nbnPcuPy+/Pn1zku2jZovMF1gXqgiOFpMK8wp2Fs4vjF29aPF0UVNRVdH2JYEnDknNLrZdWLf2kmFksKz5UQijJL9lT8oMsXTYqmy2Vlr5XOiOXyDfLHyqiFQOKB8oIZb/yXllEWX/ZfVWEaqPqQXlU+WD5I7VEPaz+tiKpYnvFs8r0yg8rf6zKrzqgIWtKNEe1HG2l9nS1fXVD9SWdl65LN1kTVrOpZkafot9ZC9UuqT1i4OE/UxeM7saVxqm6yLqRuuf1efWHGtgN2oYLjZ6NaxrvNSU0/aYZbZY3n2xxbGlvmVoWs2xHK9Ra2nqyzbmts216eeLyXe3U9sr2P3X4dfR3fL8if8WxTrvO5Z13Vyau3Ntl1qXvurEqfNX21ehq9eqJNQFrtqx53a3o/qLHr2ew54deee8Xa0Vrh9b+uK5s3URfcN+29cT12vXXN0Rt2NXP7m/qv7sxbePhAWyge+D7TcWbzg0GDm7fTN1s3Dw5lPpPAKQBW/6YuJkkmZCZ/JpomtWbQpuvnByciZz3nWSd0p5Anq6fHZ+Ln/qgaaDYoUehtqImopajBqN2o+akVqTHpTilqaYapoum/adup+CoUqjEqTepqaocqo+rAqt1q+msXKzQrUStuK4trqGvFq+LsACwdbDqsWCx1rJLssKzOLOutCW0nLUTtYq2AbZ5tvC3aLfguFm40blKucK6O7q1uy67p7whvJu9Fb2Pvgq+hL7/v3q/9cBwwOzBZ8Hjwl/C28NYw9TEUcTOxUvFyMZGxsPHQce/yD3IvMk6ybnKOMq3yzbLtsw1zLXNNc21zjbOts83z7jQOdC60TzRvtI/0sHTRNPG1EnUy9VO1dHWVdbY11zX4Nhk2OjZbNnx2nba+9uA3AXcit0Q3ZbeHN6i3ynfr+A24L3hROHM4lPi2+Nj4+vkc+T85YTmDeaW5x/nqegy6LzpRunQ6lvq5etw6/vshu0R7ZzuKO6070DvzPBY8OXxcvH/8ozzGfOn9DT0wvVQ9d72bfb794r4Gfio+Tj5x/pX+uf7d/wH/Jj9Kf26/kv+3P9t//8CDAD3hPP7DWVuZHN0cmVhbQ1lbmRvYmoNMSAwIG9iag08PC9MZW5ndGggNDY4NS9TdWJ0eXBlL1hNTC9UeXBlL01ldGFkYXRhPj5zdHJlYW0NCjw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE1IDg0LjE1OTgxMCwgMjAxNi8wOS8xMC0wMjo0MTozMCAgICAgICAgIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgICAgICAgICAgeG1sbnM6cGRmPSJodHRwOi8vbnMuYWRvYmUuY29tL3BkZi8xLjMvIj4KICAgICAgICAgPHhtcDpDcmVhdGVEYXRlPjIwMTctMDktMThUMTY6MDM6MjArMDI6MDA8L3htcDpDcmVhdGVEYXRlPgogICAgICAgICA8eG1wOk1ldGFkYXRhRGF0ZT4yMDE4LTAxLTIyVDA5OjIxOjQ2WjwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTgtMDEtMjJUMDk6MjE6NDZaPC94bXA6TW9kaWZ5RGF0ZT4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBJbGx1c3RyYXRvciBDQyAyMDE3IChNYWNpbnRvc2gpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXBNTTpJbnN0YW5jZUlEPnV1aWQ6MTMzNDZhMDYtMGM5Ny02NDQ2LWE0MWEtOGIxZDZlNGFjYjI4PC94bXBNTTpJbnN0YW5jZUlEPgogICAgICAgICA8eG1wTU06T3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6OTBmNzQzMjYtNDgxNS00ZDM2LWIzYTktN2U5NDMyZjM3ZTU3PC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpEb2N1bWVudElEPnhtcC5pZDo5ZmJkZTI2Ni1jZDRiLTQ2YmUtOGNmYS03ZmMxMjA4OGE0MDM8L3htcE1NOkRvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpSZW5kaXRpb25DbGFzcz5wcm9vZjpwZGY8L3htcE1NOlJlbmRpdGlvbkNsYXNzPgogICAgICAgICA8eG1wTU06SGlzdG9yeT4KICAgICAgICAgICAgPHJkZjpTZXE+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmNvbnZlcnRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6cGFyYW1ldGVycz5mcm9tIGFwcGxpY2F0aW9uL3gtaW5kZXNpZ24gdG8gYXBwbGljYXRpb24vcGRmPC9zdEV2dDpwYXJhbWV0ZXJzPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBJbkRlc2lnbiBDQyAyMDE1IChNYWNpbnRvc2gpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE2LTAzLTA5VDA5OjQzOjE4KzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6U2VxPgogICAgICAgICA8L3htcE1NOkhpc3Rvcnk+CiAgICAgICAgIDx4bXBNTTpEZXJpdmVkRnJvbSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgIDxzdFJlZjppbnN0YW5jZUlEPnhtcC5paWQ6YWRhNzhhYjQtMTdlMC00YzMzLWI1ZDgtM2U4OGNjOTUxYjBhPC9zdFJlZjppbnN0YW5jZUlEPgogICAgICAgICAgICA8c3RSZWY6ZG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1Nzwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1Nzwvc3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPgogICAgICAgICAgICA8c3RSZWY6cmVuZGl0aW9uQ2xhc3M+ZGVmYXVsdDwvc3RSZWY6cmVuZGl0aW9uQ2xhc3M+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxkYzpmb3JtYXQ+YXBwbGljYXRpb24vcGRmPC9kYzpmb3JtYXQ+CiAgICAgICAgIDxkYzp0aXRsZT4KICAgICAgICAgICAgPHJkZjpBbHQ+CiAgICAgICAgICAgICAgIDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+bm90ZV9jaGVja190aGluPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOkFsdD4KICAgICAgICAgPC9kYzp0aXRsZT4KICAgICAgICAgPHBkZjpQcm9kdWNlcj5BZG9iZSBQREYgbGlicmFyeSAxNS4wMDwvcGRmOlByb2R1Y2VyPgogICAgICAgICA8cGRmOlRyYXBwZWQ+RmFsc2U8L3BkZjpUcmFwcGVkPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgIAo8P3hwYWNrZXQgZW5kPSJ3Ij8+DWVuZHN0cmVhbQ1lbmRvYmoNMiAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvRmlyc3QgNC9MZW5ndGggNDgvTiAxL1R5cGUvT2JqU3RtPj5zdHJlYW0NCmjeMlUwULCx0XfOL80rUTDU985MKY62BIoFxeqHVBak6gckpqcW29kBBBgA1ncLgA1lbmRzdHJlYW0NZW5kb2JqDTMgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0ZpcnN0IDQvTGVuZ3RoIDE2Ny9OIDEvVHlwZS9PYmpTdG0+PnN0cmVhbQ0KaN5EjEELgjAYQP/Kbm4E7dsq0xAhFKGD4KFTCDL1A0djkzkP/fuSiK6P915MgGQZLzyqoJ0tVUBaXiSIM6QiETEcJOxARgAR+1rO0+voeiQ3Y9Yl+I2QoiBbQ1paq0Hb4JapZYzXbvwfExBSQirFMX4w3ng3rgP+Zk1ZEaN7r/yLiNMegPG7DgapdQG7YcLh2YVJ2w/2ap5x5JUyC+b5W4ABADxJOtwNZW5kc3RyZWFtDWVuZG9iag00IDAgb2JqDTw8L0RlY29kZVBhcm1zPDwvQ29sdW1ucyAzL1ByZWRpY3RvciAxMj4+L0ZpbHRlci9GbGF0ZURlY29kZS9JRFs8M0VBNkEwNDI4QzkzNDMyQkFFQjhCM0FEOEYxREYwNkQ+PEQzMEFCRTE5NzhBMzRCQURBMEIzQjgwQjNCRjQxQTFEPl0vSW5mbyA2IDAgUi9MZW5ndGggMzcvUm9vdCA4IDAgUi9TaXplIDcvVHlwZS9YUmVmL1dbMSAyIDBdPj5zdHJlYW0NCmjeYmJgYGBiFJjBxCA8k4mBoZuJgZGZifGOM5DNCBBgACgdAxQNZW5kc3RyZWFtDWVuZG9iag1zdGFydHhyZWYNMTE2DSUlRU9GDQ=="),!0,!0,!1),Module.FS_createDataFile("/assets/NoteIcons","note_paragraph_thin.pdf",decodeBase64("JVBERi0xLjYNJeLjz9MNCjcgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgOTY0MS9PIDkvRSA0MTkwL04gMS9UIDkzNTYvSCBbIDQ0NSAxMzZdPj4NZW5kb2JqDSAgICAgICAgICAgICAgICAgICAgICAgIA0xMyAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgNC9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPEY2QTBFQTdEMkE3NjQyQjJCMUQ0NzQ4MDMxNkFCQjA3PjwyRDNGN0VDOEI5RUI0RkUzQTM2RDM2QTVBMzY0RjFFMj5dL0luZGV4WzcgMTFdL0luZm8gNiAwIFIvTGVuZ3RoIDUxL1ByZXYgOTM1Ny9Sb290IDggMCBSL1NpemUgMTgvVHlwZS9YUmVmL1dbMSAyIDFdPj5zdHJlYW0NCmjeYmJkEGBgYmAyBRIMNkCCUR1EKIDE7IDErzwGJkaGaSBZBkYI8Z9x8z+AAAMAW0cF1g1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0wDSUlRU9GDSAgICAgICAgDTE3IDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9JIDY5L0xlbmd0aCA1OC9TIDM4Pj5zdHJlYW0NCmjeYmBgYGFgYPzJAAS8dxlQASMDSJajAVmMBYoZGBUYeBgKGBhfWoB4zAwMym0QLYzsAAEGANWCBPINZW5kc3RyZWFtDWVuZG9iag04IDAgb2JqDTw8L01ldGFkYXRhIDEgMCBSL1BhZ2VzIDUgMCBSL1R5cGUvQ2F0YWxvZz4+DWVuZG9iag05IDAgb2JqDTw8L0FydEJveFszLjAgMi4wIDIwLjAgMjIuMF0vQmxlZWRCb3hbMC4wIDAuMCAyNC4wIDI0LjBdL0NvbnRlbnRzIDExIDAgUi9Dcm9wQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9NZWRpYUJveFswLjAgMC4wIDI0LjAgMjQuMF0vUGFyZW50IDUgMCBSL1Jlc291cmNlczw8L0NvbG9yU3BhY2U8PC9DUzAgMTQgMCBSPj4vRXh0R1N0YXRlPDwvR1MwIDE1IDAgUj4+L1Byb3BlcnRpZXM8PC9NQzAgMTYgMCBSPj4+Pi9Sb3RhdGUgMC9UcmltQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9UeXBlL1BhZ2U+Pg1lbmRvYmoNMTAgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0ZpcnN0IDE4L0xlbmd0aCAxOTQvTiAzL1R5cGUvT2JqU3RtPj5zdHJlYW0NCmjeNI5LC8IwEIT/yh714nZjWz1IoVaRgtVixYt4iLpCMH2Qxte/N7R6HGa+mSEfPKAAaAoUApEPR0yTZC5bvgIJZ+5OsxnGaQE3qVvGeYab2pRSYxIDjTzc5j9nm2dAWMRgzYOxyGR7d9GKcf9pGJdvuyqstIwX2XF103NR5PqTWtfmKDwhfBiLSTiFMAjGwQkXqizdk35heVVWnjX3C7nhp+LXX6jKumAn9spqHqzlhw3QEA+qVX8qir4CDADkxkqEDWVuZHN0cmVhbQ1lbmRvYmoNMTEgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aCAyNDk+PnN0cmVhbQ0KSIlUUTFuwzAM3PmK+4BlkpIsa61bdGmGoEPnQki7JAEST/19KcWuXUgW70gez4L6t8+f0x39YWI8PU+gGzE01N3Zdz/RB67UT++MMoOdSNhOHoC5WPnVyt8z3SBgWwLJLkIV5UI1caFO2GlWw2fD3nkbgE4Gx4OYk5MxNRpCRhediqBQTWQZ0Y1uHCwvwdqNiqLOiw1ZW17geYX13JGUBhjRGtRscwsmHBuwzuRSu7EV016U/sYVepDmEv+j1S/upXHzi6tfWP385uf3Ir/386sLL2GZiMfVm2KBtb9Bbn+yQNX6TFXEbRX6oiO9HOyZj/QrwADeR2DEDWVuZHN0cmVhbQ1lbmRvYmoNMTIgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aCAyNTc0L04gMz4+c3RyZWFtDQpIiZyWeVRTdxbHf2/JnpCVsMNjDVuAsAaQNWxhkR0EUQhJCAESQkjYBUFEBRRFRISqlTLWbXRGT0WdLq5jrQ7WferSA/Uw6ug4tBbXjp0XOEedTmem0+8f7/c593fv793fvfed8wCgJ6WqtdUwCwCN1qDPSozFFhUUYqQJAAMKIAIRADJ5rS4tOyEH4JLGS7Ba3An8i55eB5BpvSJMysAw8P+JLdfpDQBAGTgHKJS1cpw7ca6qN+hM9hmceaWVJoZRE+vxBHG2NLFqnr3nfOY52sQKjVaBsylnnUKjMPFpnFfXGZU4I6k4d9WplfU4X8XZpcqoUeP83BSrUcpqAUDpJrtBKS/H2Q9nuj4nS4LzAgDIdNU7XPoOG5QNBtOlJNW6Rr1aVW7A3OUemCg0VIwlKeurlAaDMEMmr5TpFZikWqOTaRsBmL/znDim2mJ4kYNFocHBQn8f0TuF+q+bv1Cm3s7Tk8y5nkH8C29tP+dXPQqAeBavzfq3ttItAIyvBMDy5luby/sAMPG+Hb74zn34pnkpNxh0Yb6+9fX1Pmql3MdU0Df6nw6/QO+8z8d03JvyYHHKMpmxyoCZ6iavrqo26rFanUyuxIQ/HeJfHfjzeXhnKcuUeqUWj8jDp0ytVeHt1irUBnW1FlNr/1MTf2XYTzQ/17i4Y68Br9gHsC7yAPK3CwDl0gBStA3fgd70LZWSBzLwNd/h3vzczwn691PhPtOjVq2ai5Nk5WByo75ufs/0WQICoAIm4AErYA+cgTsQAn8QAsJBNIgHySAd5IACsBTIQTnQAD2oBy2gHXSBHrAebALDYDsYA7vBfnAQjIOPwQnwR3AefAmugVtgEkyDh2AGPAWvIAgiQQyIC1lBDpAr5AX5Q2IoEoqHUqEsqAAqgVSQFjJCLdAKqAfqh4ahHdBu6PfQUegEdA66BH0FTUEPoO+glzAC02EebAe7wb6wGI6BU+AceAmsgmvgJrgTXgcPwaPwPvgwfAI+D1+DJ+GH8CwCEBrCRxwRISJGJEg6UoiUIXqkFelGBpFRZD9yDDmLXEEmkUfIC5SIclEMFaLhaBKai8rRGrQV7UWH0V3oYfQ0egWdQmfQ1wQGwZbgRQgjSAmLCCpCPaGLMEjYSfiIcIZwjTBNeEokEvlEATGEmEQsIFYQm4m9xK3EA8TjxEvEu8RZEolkRfIiRZDSSTKSgdRF2kLaR/qMdJk0TXpOppEdyP7kBHIhWUvuIA+S95A/JV8m3yO/orAorpQwSjpFQWmk9FHGKMcoFynTlFdUNlVAjaDmUCuo7dQh6n7qGept6hMajeZEC6Vl0tS05bQh2u9on9OmaC/oHLonXUIvohvp6+gf0o/Tv6I/YTAYboxoRiHDwFjH2M04xfia8dyMa+ZjJjVTmLWZjZgdNrts9phJYboyY5hLmU3MQeYh5kXmIxaF5caSsGSsVtYI6yjrBmuWzWWL2OlsDbuXvYd9jn2fQ+K4ceI5Ck4n5wPOKc5dLsJ15kq4cu4K7hj3DHeaR+QJeFJeBa+H91veBG/GnGMeaJ5n3mA+Yv6J+SQf4bvxpfwqfh//IP86/6WFnUWMhdJijcV+i8sWzyxtLKMtlZbdlgcsr1m+tMKs4q0qrTZYjVvdsUatPa0zreutt1mfsX5kw7MJt5HbdNsctLlpC9t62mbZNtt+YHvBdtbO3i7RTme3xe6U3SN7vn20fYX9gP2n9g8cuA6RDmqHAYfPHP6KmWMxWBU2hJ3GZhxtHZMcjY47HCccXzkJnHKdOpwOON1xpjqLncucB5xPOs+4OLikubS47HW56UpxFbuWu252Pev6zE3glu+2ym3c7b7AUiAVNAn2Cm67M9yj3GvcR92vehA9xB6VHls9vvSEPYM8yz1HPC96wV7BXmqvrV6XvAneod5a71HvG0K6MEZYJ9wrnPLh+6T6dPiM+zz2dfEt9N3ge9b3tV+QX5XfmN8tEUeULOoQHRN95+/pL/cf8b8awAhICGgLOBLwbaBXoDJwW+Cfg7hBaUGrgk4G/SM4JFgfvD/4QYhLSEnIeyE3xDxxhrhX/HkoITQ2tC3049AXYcFhhrCDYX8PF4ZXhu8Jv79AsEC5YGzB3QinCFnEjojJSCyyJPL9yMkoxyhZ1GjUN9HO0YrondH3YjxiKmL2xTyO9YvVx34U+0wSJlkmOR6HxCXGdcdNxHPic+OH479OcEpQJexNmEkMSmxOPJ5ESEpJ2pB0Q2onlUt3S2eSQ5KXJZ9OoadkpwynfJPqmapPPZYGpyWnbUy7vdB1oXbheDpIl6ZvTL+TIcioyfhDJjEzI3Mk8y9ZoqyWrLPZ3Ozi7D3ZT3Nic/pybuW65xpzT+Yx84ryduc9y4/L78+fXOS7aNmi8wXWBeqCI4WkwrzCnYWzi+MXb1o8XRRU1FV0fYlgScOSc0utl1Yt/aSYWSwrPlRCKMkv2VPygyxdNiqbLZWWvlc6I5fIN8sfKqIVA4oHyghlv/JeWURZf9l9VYRqo+pBeVT5YPkjtUQ9rP62Iqlie8WzyvTKDyt/rMqvOqAha0o0R7UcbaX2dLV9dUP1JZ2Xrks3WRNWs6lmRp+i31kL1S6pPWLg4T9TF4zuxpXGqbrIupG65/V59Yca2A3ahguNno1rGu81JTT9phltljefbHFsaW+ZWhazbEcr1FraerLNua2zbXp54vJd7dT2yvY/dfh19Hd8vyJ/xbFOu87lnXdXJq7c22XWpe+6sSp81fbV6Gr16ok1AWu2rHndrej+osevZ7Dnh1557xdrRWuH1v64rmzdRF9w37b1xPXa9dc3RG3Y1c/ub+q/uzFt4+EBbKB74PtNxZvODQYObt9M3WzcPDmU+k8ApAFb/pi4mSSZkJn8mmia1ZtCm6+cHJyJnPedZJ3SnkCerp8dn4uf+qBpoNihR6G2oiailqMGo3aj5qRWpMelOKWpphqmi6b9p26n4KhSqMSpN6mpqhyqj6sCq3Wr6axcrNCtRK24ri2uoa8Wr4uwALB1sOqxYLHWskuywrM4s660JbSctRO1irYBtnm28Ldot+C4WbjRuUq5wro7urW7LrunvCG8m70VvY++Cr6Evv+/er/1wHDA7MFnwePCX8Lbw1jD1MRRxM7FS8XIxkbGw8dBx7/IPci8yTrJuco4yrfLNsu2zDXMtc01zbXONs62zzfPuNA50LrRPNG+0j/SwdNE08bUSdTL1U7V0dZV1tjXXNfg2GTY6Nls2fHadtr724DcBdyK3RDdlt4c3qLfKd+v4DbgveFE4cziU+Lb42Pj6+Rz5PzlhOYN5pbnH+ep6DLovOlG6dDqW+rl63Dr++yG7RHtnO4o7rTvQO/M8Fjw5fFy8f/yjPMZ86f0NPTC9VD13vZt9vv3ivgZ+Kj5OPnH+lf65/t3/Af8mP0p/br+S/7c/23//wIMAPeE8/sNZW5kc3RyZWFtDWVuZG9iag0xIDAgb2JqDTw8L0xlbmd0aCA0Njg5L1N1YnR5cGUvWE1ML1R5cGUvTWV0YWRhdGE+PnN0cmVhbQ0KPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMwMTUgODQuMTU5ODEwLCAyMDE2LzA5LzEwLTAyOjQxOjMwICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgICAgICAgICB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIgogICAgICAgICAgICB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczpwZGY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGRmLzEuMy8iPgogICAgICAgICA8eG1wOkNyZWF0ZURhdGU+MjAxNy0wOS0xOFQxNjowMzoyMSswMjowMDwveG1wOkNyZWF0ZURhdGU+CiAgICAgICAgIDx4bXA6TWV0YWRhdGFEYXRlPjIwMTgtMDEtMjJUMDk6Mjk6MjRaPC94bXA6TWV0YWRhdGFEYXRlPgogICAgICAgICA8eG1wOk1vZGlmeURhdGU+MjAxOC0wMS0yMlQwOToyOToyNFo8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8eG1wOkNyZWF0b3JUb29sPkFkb2JlIElsbHVzdHJhdG9yIENDIDIwMTcgKE1hY2ludG9zaCk8L3htcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhtcE1NOkluc3RhbmNlSUQ+dXVpZDo3NzIwMzUzYS01ZDRhLTRlNGEtYWQ3OS1iZGRmZjE4YWY4MzQ8L3htcE1NOkluc3RhbmNlSUQ+CiAgICAgICAgIDx4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+eG1wLmRpZDo5MGY3NDMyNi00ODE1LTRkMzYtYjNhOS03ZTk0MzJmMzdlNTc8L3htcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOkRvY3VtZW50SUQ+eG1wLmlkOjlmYmRlMjY2LWNkNGItNDZiZS04Y2ZhLTdmYzEyMDg4YTQwMzwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOlJlbmRpdGlvbkNsYXNzPnByb29mOnBkZjwveG1wTU06UmVuZGl0aW9uQ2xhc3M+CiAgICAgICAgIDx4bXBNTTpIaXN0b3J5PgogICAgICAgICAgICA8cmRmOlNlcT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y29udmVydGVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpwYXJhbWV0ZXJzPmZyb20gYXBwbGljYXRpb24veC1pbmRlc2lnbiB0byBhcHBsaWNhdGlvbi9wZGY8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIEluRGVzaWduIENDIDIwMTUgKE1hY2ludG9zaCk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTYtMDMtMDlUMDk6NDM6MTgrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICA8L3JkZjpTZXE+CiAgICAgICAgIDwveG1wTU06SGlzdG9yeT4KICAgICAgICAgPHhtcE1NOkRlcml2ZWRGcm9tIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgPHN0UmVmOmluc3RhbmNlSUQ+eG1wLmlpZDphZGE3OGFiNC0xN2UwLTRjMzMtYjVkOC0zZTg4Y2M5NTFiMGE8L3N0UmVmOmluc3RhbmNlSUQ+CiAgICAgICAgICAgIDxzdFJlZjpkb2N1bWVudElEPnhtcC5kaWQ6OTBmNzQzMjYtNDgxNS00ZDM2LWIzYTktN2U5NDMyZjM3ZTU3PC9zdFJlZjpkb2N1bWVudElEPgogICAgICAgICAgICA8c3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6OTBmNzQzMjYtNDgxNS00ZDM2LWIzYTktN2U5NDMyZjM3ZTU3PC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgICAgIDxzdFJlZjpyZW5kaXRpb25DbGFzcz5kZWZhdWx0PC9zdFJlZjpyZW5kaXRpb25DbGFzcz4KICAgICAgICAgPC94bXBNTTpEZXJpdmVkRnJvbT4KICAgICAgICAgPGRjOmZvcm1hdD5hcHBsaWNhdGlvbi9wZGY8L2RjOmZvcm1hdD4KICAgICAgICAgPGRjOnRpdGxlPgogICAgICAgICAgICA8cmRmOkFsdD4KICAgICAgICAgICAgICAgPHJkZjpsaSB4bWw6bGFuZz0ieC1kZWZhdWx0Ij5ub3RlX3BhcmFncmFwaF90aGluPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOkFsdD4KICAgICAgICAgPC9kYzp0aXRsZT4KICAgICAgICAgPHBkZjpQcm9kdWNlcj5BZG9iZSBQREYgbGlicmFyeSAxNS4wMDwvcGRmOlByb2R1Y2VyPgogICAgICAgICA8cGRmOlRyYXBwZWQ+RmFsc2U8L3BkZjpUcmFwcGVkPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgIAo8P3hwYWNrZXQgZW5kPSJ3Ij8+DWVuZHN0cmVhbQ1lbmRvYmoNMiAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvRmlyc3QgNC9MZW5ndGggNDgvTiAxL1R5cGUvT2JqU3RtPj5zdHJlYW0NCmjeMlUwULCx0XfOL80rUTDU985MKY62BIoFxeqHVBak6gckpqcW29kBBBgA1ncLgA1lbmRzdHJlYW0NZW5kb2JqDTMgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0ZpcnN0IDQvTGVuZ3RoIDE3MS9OIDEvVHlwZS9PYmpTdG0+PnN0cmVhbQ0KaN5EjNEKgjAYhV9ldzqC9m+VaYgQitCF0EVXIch0PzkYm8x50dunRHR3OOc7X0KA5DkrPcqgna1kwLi6COBnyHjKEzgIvgMRAUT0SzkfX5XrkdyMWebgt4aUJdk+pI0bOWgb3Dy2lLLGqb8xBS4EZCITxydld+/UMuBPdq9qYnTvpX8TftoDUPbQwWBsXcBukl6+vJzGLozartOaJ1SslmbGovgIMAA08zyZDWVuZHN0cmVhbQ1lbmRvYmoNNCAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgMy9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPEY2QTBFQTdEMkE3NjQyQjJCMUQ0NzQ4MDMxNkFCQjA3PjwyRDNGN0VDOEI5RUI0RkUzQTM2RDM2QTVBMzY0RjFFMj5dL0luZm8gNiAwIFIvTGVuZ3RoIDM3L1Jvb3QgOCAwIFIvU2l6ZSA3L1R5cGUvWFJlZi9XWzEgMiAwXT4+c3RyZWFtDQpo3mJiYGBgYhSIY2IQmsvEwNgNxOxMjHdKmRgYGAECDAAkuQMUDWVuZHN0cmVhbQ1lbmRvYmoNc3RhcnR4cmVmDTExNg0lJUVPRg0="),!0,!0,!1),Module.FS_createDataFile("/assets/NoteIcons","note_key_thin.pdf",decodeBase64("JVBERi0xLjYNJeLjz9MNCjcgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgMTAxNDMvTyA5L0UgNDcwNC9OIDEvVCA5ODU4L0ggWyA0NDYgMTM2XT4+DWVuZG9iag0gICAgICAgICAgICAgICAgICAgICAgIA0xMyAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgNC9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPEQ3NkZCQzY0MTkxNzRBNTFCOTcwNDNFMEUxRDJERUNFPjw3OUQwRjJFQjhEODM0QzQxQkYyRUZFRkY1OEE4MzFBOT5dL0luZGV4WzcgMTFdL0luZm8gNiAwIFIvTGVuZ3RoIDUxL1ByZXYgOTg1OS9Sb290IDggMCBSL1NpemUgMTgvVHlwZS9YUmVmL1dbMSAyIDFdPj5zdHJlYW0NCmjeYmJkEGBgYmAyAxIMNkCC0RxEKAAJFn0g8SOHgYmRYRpIloERQvxn3PIPIMAAXBEF1w1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0wDSUlRU9GDSAgICAgICAgIA0xNyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvSSA2OS9MZW5ndGggNTgvUyAzOD4+c3RyZWFtDQpo3mJgYGBhYGD8xQAE/PcYUAEjA0iWowFZjAWKGRgVGHgYCxgUflqAeMwMDKpNEC2MjAABBgDaRwUeDWVuZHN0cmVhbQ1lbmRvYmoNOCAwIG9iag08PC9NZXRhZGF0YSAxIDAgUi9QYWdlcyA1IDAgUi9UeXBlL0NhdGFsb2c+Pg1lbmRvYmoNOSAwIG9iag08PC9BcnRCb3hbMC4xODkzOTIgMC4zMDg1MzMgMjMuNjA5MSAyMi42MTQ1XS9CbGVlZEJveFswLjAgMC4wIDI0LjAgMjQuMF0vQ29udGVudHMgMTEgMCBSL0Nyb3BCb3hbMC4wIDAuMCAyNC4wIDI0LjBdL01lZGlhQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9QYXJlbnQgNSAwIFIvUmVzb3VyY2VzPDwvQ29sb3JTcGFjZTw8L0NTMCAxNCAwIFI+Pi9FeHRHU3RhdGU8PC9HUzAgMTUgMCBSPj4vUHJvcGVydGllczw8L01DMCAxNiAwIFI+Pj4+L1JvdGF0ZSAwL1RyaW1Cb3hbMC4wIDAuMCAyNC4wIDI0LjBdL1R5cGUvUGFnZT4+DWVuZG9iag0xMCAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvRmlyc3QgMTgvTGVuZ3RoIDE5NC9OIDMvVHlwZS9PYmpTdG0+PnN0cmVhbQ0KaN40jksLwjAQhP/KHvXidmNbPUihVpGC1WLFi3iIukIwfZDG1783tHocZr6ZIR88oABoChQCkQ9HTJNkLlu+Agln7k6zGcZpATepW8Z5hpvalFJjEgONPNzmP2ebZ0BYxGDNg7HIZHt30Ypx/2kYl2+7Kqy0jBfZcXXTc1Hk+pNa1+YoPCF8GItJOIUwCMbBCReqLN2TfmF5VVaeNfcLueGn4tdfqMq6YCf2ymoerOWHDdAQD6pVfyqKvgIMAOTGSoQNZW5kc3RyZWFtDWVuZG9iag0xMSAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDc0Nj4+c3RyZWFtDQpIiUxVsXJUMQzs31f4B86xLMuWWgJDQ4oMBTVzAzSEmSQVf89K8jtukty9lf3k1WrlPHz5/vfHW3l4emzlw8fHcrwerfThvxf8vf04vpU/x8Pj11au76XFT3m/IvQZoV/vx2uhCFKhVQcxvrU2Yy3Xl8MXXo5Lq2MsPOJBp/kXLSkXqqTT0TAq1wNYR0THLBv02pvddna8zr5z52GEy84OwCJ+SD5cD4/rLV517Rc82fqfzA+i86QNksPeePLLFMk9c6cc1+Pn8XynQ2+1sfRCVEfvdqcD1UZRYSP2ExkEgGSRU9PzGQUOsKHb2qizxXvSlyOzQIPN90odGnsZh/12rBzrU7vjBToW9ao6VqfneCEpsFWZIS5b39jUj6HFjqnVznEsmusY/GV4YGlugHYqHuhz7UAzMAWzE7NTmFVo7oCiKQismYFRm5c4IVnmhB5ugwUytHfQ7AXsGfp7QFJGhRyZA+nb8sDmDT9CAc95FtrBikCbUgcbMHol3qteVa+zU8KB7gyIHCmtS5mVmzilSVLyE/LPkEvr5O4Vd7C2SpYtbboBNnq/7VxzD5xvtVsy182KQCYp+Qx622ToN8wDlugyHIXvgs64XD4r6Cj6cnfsRuGPdYNO3rfuFzNbfl6j0xPaLEiMot2/GGPIrByI0Dy4Zg+rVoXu4cZQ27JhApucAe7RQVrpArROyA+V7AcaZJ65IWC7gyozImu3mL3nwDZlu0B632zGaZSwO7gTbXOZRnFmZ0B6HDxlnH6ERAhQPwPUpvd5dtkeN79/NGYjA2Nq2I/WnoqZbrAN0+E2z2V2EgiwbD+N0J+yeBzl8s3aifdU+m2AkZGZUztj8i3LBGwxlEp7ebRY1ywJ3nR6aNYYeQl4JVjnFkONjX6lc5VEQxONnPTBgW4XEZ8XEazV7cRuuh43CSpPP17yy62rLa7HBql9+/DLlHk/pymvRyKJGcxX3JGz3Ls7L9RPT/hv9Hz8E2AAW+RDrQ1lbmRzdHJlYW0NZW5kb2JqDTEyIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9MZW5ndGggMjU3NC9OIDM+PnN0cmVhbQ0KSImclnlUU3cWx39vyZ6QlbDDYw1bgLAGkDVsYZEdBFEISQgBEkJI2AVBRAUURUSEqpUy1m10Rk9FnS6uY60O1n3q0gP1MOroOLQW146dFzhHnU5nptPvH+/3Ofd37+/d3733nfMAoCelqrXVMAsAjdagz0qMxRYVFGKkCQADCiACEQAyea0uLTshB+CSxkuwWtwJ/IueXgeQab0iTMrAMPD/iS3X6Q0AQBk4ByiUtXKcO3GuqjfoTPYZnHmllSaGURPr8QRxtjSxap6953zmOdrECo1WgbMpZ51CozDxaZxX1xmVOCOpOHfVqZX1OF/F2aXKqFHj/NwUq1HKagFA6Sa7QSkvx9kPZ7o+J0uC8wIAyHTVO1z6DhuUDQbTpSTVuka9WlVuwNzlHpgoNFSMJSnrq5QGgzBDJq+U6RWYpFqjk2kbAZi/85w4ptpieJGDRaHBwUJ/H9E7hfqvm79Qpt7O05PMuZ5B/AtvbT/nVz0KgHgWr836t7bSLQCMrwTA8uZbm8v7ADDxvh2++M59+KZ5KTcYdGG+vvX19T5qpdzHVNA3+p8Ov0DvvM/HdNyb8mBxyjKZscqAmeomr66qNuqxWp1MrsSEPx3iXx3483l4ZynLlHqlFo/Iw6dMrVXh7dYq1AZ1tRZTa/9TE39l2E80P9e4uGOvAa/YB7Au8gDytwsA5dIAUrQN34He9C2Vkgcy8DXf4d783M8J+vdT4T7To1atmouTZOVgcqO+bn7P9FkCAqACJuABK2APnIE7EAJ/EALCQTSIB8kgHeSAArAUyEE50AA9qActoB10gR6wHmwCw2A7GAO7wX5wEIyDj8EJ8EdwHnwJroFbYBJMg4dgBjwFryAIIkEMiAtZQQ6QK+QF+UNiKBKKh1KhLKgAKoFUkBYyQi3QCqgH6oeGoR3Qbuj30FHoBHQOugR9BU1BD6DvoJcwAtNhHmwHu8G+sBiOgVPgHHgJrIJr4Ca4E14HD8Gj8D74MHwCPg9fgyfhh/AsAhAawkccESEiRiRIOlKIlCF6pBXpRgaRUWQ/cgw5i1xBJpFHyAuUiHJRDBWi4WgSmovK0Rq0Fe1Fh9Fd6GH0NHoFnUJn0NcEBsGW4EUII0gJiwgqQj2hizBI2En4iHCGcI0wTXhKJBL5RAExhJhELCBWEJuJvcStxAPE48RLxLvEWRKJZEXyIkWQ0kkykoHURdpC2kf6jHSZNE16TqaRHcj+5ARyIVlL7iAPkveQPyVfJt8jv6KwKK6UMEo6RUFppPRRxijHKBcp05RXVDZVQI2g5lArqO3UIep+6hnqbeoTGo3mRAulZdLUtOW0IdrvaJ/Tpmgv6By6J11CL6Ib6evoH9KP07+iP2EwGG6MaEYhw8BYx9jNOMX4mvHcjGvmYyY1U5i1mY2YHTa7bPaYSWG6MmOYS5lNzEHmIeZF5iMWheXGkrBkrFbWCOso6wZrls1li9jpbA27l72HfY59n0PiuHHiOQpOJ+cDzinOXS7CdeZKuHLuCu4Y9wx3mkfkCXhSXgWvh/db3gRvxpxjHmieZ95gPmL+ifkkH+G78aX8Kn4f/yD/Ov+lhZ1FjIXSYo3FfovLFs8sbSyjLZWW3ZYHLK9ZvrTCrOKtKq02WI1b3bFGrT2tM63rrbdZn7F+ZMOzCbeR23TbHLS5aQvbetpm2TbbfmB7wXbWzt4u0U5nt8XulN0je759tH2F/YD9p/YPHLgOkQ5qhwGHzxz+ipljMVgVNoSdxmYcbR2THI2OOxwnHF85CZxynTqcDjjdcaY6i53LnAecTzrPuDi4pLm0uOx1uelKcRW7lrtudj3r+sxN4Jbvtspt3O2+wFIgFTQJ9gpuuzPco9xr3Efdr3oQPcQelR5bPb70hD2DPMs9RzwvesFewV5qr61el7wJ3qHeWu9R7xtCujBGWCfcK5zy4fuk+nT4jPs89nXxLfTd4HvW97VfkF+V35jfLRFHlCzqEB0Tfefv6S/3H/G/GsAISAhoCzgS8G2gV6AycFvgn4O4QWlBq4JOBv0jOCRYH7w/+EGIS0hJyHshN8Q8cYa4V/x5KCE0NrQt9OPQF2HBYYawg2F/DxeGV4bvCb+/QLBAuWBswd0IpwhZxI6IyUgssiTy/cjJKMcoWdRo1DfRztGK6J3R92I8Yipi9sU8jvWL1cd+FPtMEiZZJjkeh8QlxnXHTcRz4nPjh+O/TnBKUCXsTZhJDEpsTjyeREhKSdqQdENqJ5VLd0tnkkOSlyWfTqGnZKcMp3yT6pmqTz2WBqclp21Mu73QdaF24Xg6SJemb0y/kyHIqMn4QyYxMyNzJPMvWaKslqyz2dzs4uw92U9zYnP6cm7luucac0/mMfOK8nbnPcuPy+/Pn1zku2jZovMF1gXqgiOFpMK8wp2Fs4vjF29aPF0UVNRVdH2JYEnDknNLrZdWLf2kmFksKz5UQijJL9lT8oMsXTYqmy2Vlr5XOiOXyDfLHyqiFQOKB8oIZb/yXllEWX/ZfVWEaqPqQXlU+WD5I7VEPaz+tiKpYnvFs8r0yg8rf6zKrzqgIWtKNEe1HG2l9nS1fXVD9SWdl65LN1kTVrOpZkafot9ZC9UuqT1i4OE/UxeM7saVxqm6yLqRuuf1efWHGtgN2oYLjZ6NaxrvNSU0/aYZbZY3n2xxbGlvmVoWs2xHK9Ra2nqyzbmts216eeLyXe3U9sr2P3X4dfR3fL8if8WxTrvO5Z13Vyau3Ntl1qXvurEqfNX21ehq9eqJNQFrtqx53a3o/qLHr2ew54deee8Xa0Vrh9b+uK5s3URfcN+29cT12vXXN0Rt2NXP7m/qv7sxbePhAWyge+D7TcWbzg0GDm7fTN1s3Dw5lPpPAKQBW/6YuJkkmZCZ/JpomtWbQpuvnByciZz3nWSd0p5Anq6fHZ+Ln/qgaaDYoUehtqImopajBqN2o+akVqTHpTilqaYapoum/adup+CoUqjEqTepqaocqo+rAqt1q+msXKzQrUStuK4trqGvFq+LsACwdbDqsWCx1rJLssKzOLOutCW0nLUTtYq2AbZ5tvC3aLfguFm40blKucK6O7q1uy67p7whvJu9Fb2Pvgq+hL7/v3q/9cBwwOzBZ8Hjwl/C28NYw9TEUcTOxUvFyMZGxsPHQce/yD3IvMk6ybnKOMq3yzbLtsw1zLXNNc21zjbOts83z7jQOdC60TzRvtI/0sHTRNPG1EnUy9VO1dHWVdbY11zX4Nhk2OjZbNnx2nba+9uA3AXcit0Q3ZbeHN6i3ynfr+A24L3hROHM4lPi2+Nj4+vkc+T85YTmDeaW5x/nqegy6LzpRunQ6lvq5etw6/vshu0R7ZzuKO6070DvzPBY8OXxcvH/8ozzGfOn9DT0wvVQ9d72bfb794r4Gfio+Tj5x/pX+uf7d/wH/Jj9Kf26/kv+3P9t//8CDAD3hPP7DWVuZHN0cmVhbQ1lbmRvYmoNMSAwIG9iag08PC9MZW5ndGggNDY4My9TdWJ0eXBlL1hNTC9UeXBlL01ldGFkYXRhPj5zdHJlYW0NCjw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE1IDg0LjE1OTgxMCwgMjAxNi8wOS8xMC0wMjo0MTozMCAgICAgICAgIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgICAgICAgICAgeG1sbnM6cGRmPSJodHRwOi8vbnMuYWRvYmUuY29tL3BkZi8xLjMvIj4KICAgICAgICAgPHhtcDpDcmVhdGVEYXRlPjIwMTctMDktMThUMTY6MDM6MjArMDI6MDA8L3htcDpDcmVhdGVEYXRlPgogICAgICAgICA8eG1wOk1ldGFkYXRhRGF0ZT4yMDE4LTAxLTIyVDA5OjI5OjI3WjwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTgtMDEtMjJUMDk6Mjk6MjdaPC94bXA6TW9kaWZ5RGF0ZT4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBJbGx1c3RyYXRvciBDQyAyMDE3IChNYWNpbnRvc2gpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXBNTTpJbnN0YW5jZUlEPnV1aWQ6MjY4NmI2YmYtMzg5Mi1iOTQ3LWI0ZmQtYjliODNiZWRjYzcwPC94bXBNTTpJbnN0YW5jZUlEPgogICAgICAgICA8eG1wTU06T3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6OTBmNzQzMjYtNDgxNS00ZDM2LWIzYTktN2U5NDMyZjM3ZTU3PC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpEb2N1bWVudElEPnhtcC5pZDo5ZmJkZTI2Ni1jZDRiLTQ2YmUtOGNmYS03ZmMxMjA4OGE0MDM8L3htcE1NOkRvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpSZW5kaXRpb25DbGFzcz5wcm9vZjpwZGY8L3htcE1NOlJlbmRpdGlvbkNsYXNzPgogICAgICAgICA8eG1wTU06SGlzdG9yeT4KICAgICAgICAgICAgPHJkZjpTZXE+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmNvbnZlcnRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6cGFyYW1ldGVycz5mcm9tIGFwcGxpY2F0aW9uL3gtaW5kZXNpZ24gdG8gYXBwbGljYXRpb24vcGRmPC9zdEV2dDpwYXJhbWV0ZXJzPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBJbkRlc2lnbiBDQyAyMDE1IChNYWNpbnRvc2gpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE2LTAzLTA5VDA5OjQzOjE4KzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6U2VxPgogICAgICAgICA8L3htcE1NOkhpc3Rvcnk+CiAgICAgICAgIDx4bXBNTTpEZXJpdmVkRnJvbSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgIDxzdFJlZjppbnN0YW5jZUlEPnhtcC5paWQ6YWRhNzhhYjQtMTdlMC00YzMzLWI1ZDgtM2U4OGNjOTUxYjBhPC9zdFJlZjppbnN0YW5jZUlEPgogICAgICAgICAgICA8c3RSZWY6ZG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1Nzwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1Nzwvc3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPgogICAgICAgICAgICA8c3RSZWY6cmVuZGl0aW9uQ2xhc3M+ZGVmYXVsdDwvc3RSZWY6cmVuZGl0aW9uQ2xhc3M+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxkYzpmb3JtYXQ+YXBwbGljYXRpb24vcGRmPC9kYzpmb3JtYXQ+CiAgICAgICAgIDxkYzp0aXRsZT4KICAgICAgICAgICAgPHJkZjpBbHQ+CiAgICAgICAgICAgICAgIDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+bm90ZV9rZXlfdGhpbjwvcmRmOmxpPgogICAgICAgICAgICA8L3JkZjpBbHQ+CiAgICAgICAgIDwvZGM6dGl0bGU+CiAgICAgICAgIDxwZGY6UHJvZHVjZXI+QWRvYmUgUERGIGxpYnJhcnkgMTUuMDA8L3BkZjpQcm9kdWNlcj4KICAgICAgICAgPHBkZjpUcmFwcGVkPkZhbHNlPC9wZGY6VHJhcHBlZD4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Pg1lbmRzdHJlYW0NZW5kb2JqDTIgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0ZpcnN0IDQvTGVuZ3RoIDQ4L04gMS9UeXBlL09ialN0bT4+c3RyZWFtDQpo3jJVMFCwsdF3zi/NK1Ew1PfOTCmOtgSKBcXqh1QWpOoHJKanFtvZAQQYANZ3C4ANZW5kc3RyZWFtDWVuZG9iag0zIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCA0L0xlbmd0aCAxNjUvTiAxL1R5cGUvT2JqU3RtPj5zdHJlYW0NCmjeRIxBC4IwGED/ym46gvZtkWaIEIrQQfDQKQSZ7gNHY5M5D/77koiuj/deQoDkOSs9yqCdrWTAuLoK4Clk/MITOAk4gIgAIvq1nI9vyg1I7sasS/A7IWVJ9oZ0cSNHbYNbpo5S1jj1P16ACwGZyET6pKz1Tq0j/mZtVROjBy/9Rvj5CEDZQweDsXUB+xdufZi0/UAv5xkVq6VZsCjeAgwAyTk6Lg1lbmRzdHJlYW0NZW5kb2JqDTQgMCBvYmoNPDwvRGVjb2RlUGFybXM8PC9Db2x1bW5zIDMvUHJlZGljdG9yIDEyPj4vRmlsdGVyL0ZsYXRlRGVjb2RlL0lEWzxENzZGQkM2NDE5MTc0QTUxQjk3MDQzRTBFMUQyREVDRT48NzlEMEYyRUI4RDgzNEM0MUJGMkVGRUZGNThBODMxQTk+XS9JbmZvIDYgMCBSL0xlbmd0aCAzNy9Sb290IDggMCBSL1NpemUgNy9UeXBlL1hSZWYvV1sxIDIgMF0+PnN0cmVhbQ0KaN5iYmBgYGIUSmBiEJrOxMDYDcSMTIy36pkYGBgBAgwAJJkDFA1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0xMTYNJSVFT0YN"),!0,!0,!1),Module.FS_createDataFile("/assets/NoteIcons","note_help_thin.pdf",decodeBase64("JVBERi0xLjYNJeLjz9MNCjcgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgOTc3Mi9PIDkvRSA0MzMyL04gMS9UIDk0ODcvSCBbIDQ0NiAxMzZdPj4NZW5kb2JqDSAgICAgICAgICAgICAgICAgICAgICAgIA0xMyAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgNC9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPEU5QTY3N0E2OEQ3MjRGOERBNjcyMEU1RjAwNDA3NjRCPjw5QjM1OEIxRUE3MjA0REVDQkEwMDg0RURGMTgwODA1Nj5dL0luZGV4WzcgMTFdL0luZm8gNiAwIFIvTGVuZ3RoIDUxL1ByZXYgOTQ4OC9Sb290IDggMCBSL1NpemUgMTgvVHlwZS9YUmVmL1dbMSAyIDFdPj5zdHJlYW0NCmjeYmJkEGBgYmAyAxIMNkCCUR1EKIDETgOJXw8YmBgZpoFkGRghxH/GLf8AAgwAdCMG1w1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0wDSUlRU9GDSAgICAgICAgIA0xNyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvSSA2OS9MZW5ndGggNTgvUyAzOD4+c3RyZWFtDQpo3mJgYGBhYGD8xQAEfFkMqICRASTL0YAsxgLFDIwKDDwMBQxcOy1APGYGBhV+iBZGRoAAAwCuugPeDWVuZHN0cmVhbQ1lbmRvYmoNOCAwIG9iag08PC9NZXRhZGF0YSAxIDAgUi9QYWdlcyA1IDAgUi9UeXBlL0NhdGFsb2c+Pg1lbmRvYmoNOSAwIG9iag08PC9BcnRCb3hbMC4wIDAuMCAyNC4wIDI0LjBdL0JsZWVkQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9Db250ZW50cyAxMSAwIFIvQ3JvcEJveFswLjAgMC4wIDI0LjAgMjQuMF0vTWVkaWFCb3hbMC4wIDAuMCAyNC4wIDI0LjBdL1BhcmVudCA1IDAgUi9SZXNvdXJjZXM8PC9Db2xvclNwYWNlPDwvQ1MwIDE0IDAgUj4+L0V4dEdTdGF0ZTw8L0dTMCAxNSAwIFI+Pi9Qcm9wZXJ0aWVzPDwvTUMwIDE2IDAgUj4+Pj4vUm90YXRlIDAvVHJpbUJveFswLjAgMC4wIDI0LjAgMjQuMF0vVHlwZS9QYWdlPj4NZW5kb2JqDTEwIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCAxOC9MZW5ndGggMTk0L04gMy9UeXBlL09ialN0bT4+c3RyZWFtDQpo3jSOSwvCMBCE/8oe9eJ2Y1s9SKFWkYLVYsWLeIi6QjB9kMbXvze0ehxmvpkhHzygAGgKFAKRD0dMk2QuW74CCWfuTrMZxmkBN6lbxnmGm9qUUmMSA4083OY/Z5tnQFjEYM2Dschke3fRinH/aRiXb7sqrLSMF9lxddNzUeT6k1rX5ig8IXwYi0k4hTAIxsEJF6os3ZN+YXlVVp419wu54afi11+oyrpgJ/bKah6s5YcN0BAPqlV/Koq+AgwA5MZKhA1lbmRzdHJlYW0NZW5kb2JqDTExIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9MZW5ndGggMzkwPj5zdHJlYW0NCkiJXJO7bt0wDIZ3PQVfwDwidfXak6JLMgQZOhdG2qUJkJypb5+fujkpbEP6JF5+UvLl/te/53e6PFw9fbu7kntznjTau+F7f3Y/6dVdrk+ejhv59tDtwNIPLP25uTeStigkSkrHizN6cVvipIrpJp4ix1LbDO/h2qTvDzM1J7W9xafNdFuBZmh7DtOrljBzlmLzDUqkU5v2lEqBQw007LamDYLd4mUync44K3ZLdrjf7vFL5Rx8ziSVq/rwqQnCMVqewD4itecQoS+y5mpUxaQFBiBEpL8OIxbht1u/OGuDIs237AMgjRMSdlIuIVuE5HVC4KIFdgMTe0VdnKEOULqYnMsk6xBL0rV72mqLLZY8ca672Sr7hN2dRUy01fUF1XYLKwQ1FitnsqK4hZFr7HmQYEDgVE3SQDTR40byXmQd+n8HAO1SlQojyNl9NFhru4I41mIVp1QXYZDYC288aupOoCzthtiIS/Zp1ezztB8wgw3smWb+U/L3B/xij+5DgAEARMGnGQ1lbmRzdHJlYW0NZW5kb2JqDTEyIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9MZW5ndGggMjU3NC9OIDM+PnN0cmVhbQ0KSImclnlUU3cWx39vyZ6QlbDDYw1bgLAGkDVsYZEdBFEISQgBEkJI2AVBRAUURUSEqpUy1m10Rk9FnS6uY60O1n3q0gP1MOroOLQW146dFzhHnU5nptPvH+/3Ofd37+/d3733nfMAoCelqrXVMAsAjdagz0qMxRYVFGKkCQADCiACEQAyea0uLTshB+CSxkuwWtwJ/IueXgeQab0iTMrAMPD/iS3X6Q0AQBk4ByiUtXKcO3GuqjfoTPYZnHmllSaGURPr8QRxtjSxap6953zmOdrECo1WgbMpZ51CozDxaZxX1xmVOCOpOHfVqZX1OF/F2aXKqFHj/NwUq1HKagFA6Sa7QSkvx9kPZ7o+J0uC8wIAyHTVO1z6DhuUDQbTpSTVuka9WlVuwNzlHpgoNFSMJSnrq5QGgzBDJq+U6RWYpFqjk2kbAZi/85w4ptpieJGDRaHBwUJ/H9E7hfqvm79Qpt7O05PMuZ5B/AtvbT/nVz0KgHgWr836t7bSLQCMrwTA8uZbm8v7ADDxvh2++M59+KZ5KTcYdGG+vvX19T5qpdzHVNA3+p8Ov0DvvM/HdNyb8mBxyjKZscqAmeomr66qNuqxWp1MrsSEPx3iXx3483l4ZynLlHqlFo/Iw6dMrVXh7dYq1AZ1tRZTa/9TE39l2E80P9e4uGOvAa/YB7Au8gDytwsA5dIAUrQN34He9C2Vkgcy8DXf4d783M8J+vdT4T7To1atmouTZOVgcqO+bn7P9FkCAqACJuABK2APnIE7EAJ/EALCQTSIB8kgHeSAArAUyEE50AA9qActoB10gR6wHmwCw2A7GAO7wX5wEIyDj8EJ8EdwHnwJroFbYBJMg4dgBjwFryAIIkEMiAtZQQ6QK+QF+UNiKBKKh1KhLKgAKoFUkBYyQi3QCqgH6oeGoR3Qbuj30FHoBHQOugR9BU1BD6DvoJcwAtNhHmwHu8G+sBiOgVPgHHgJrIJr4Ca4E14HD8Gj8D74MHwCPg9fgyfhh/AsAhAawkccESEiRiRIOlKIlCF6pBXpRgaRUWQ/cgw5i1xBJpFHyAuUiHJRDBWi4WgSmovK0Rq0Fe1Fh9Fd6GH0NHoFnUJn0NcEBsGW4EUII0gJiwgqQj2hizBI2En4iHCGcI0wTXhKJBL5RAExhJhELCBWEJuJvcStxAPE48RLxLvEWRKJZEXyIkWQ0kkykoHURdpC2kf6jHSZNE16TqaRHcj+5ARyIVlL7iAPkveQPyVfJt8jv6KwKK6UMEo6RUFppPRRxijHKBcp05RXVDZVQI2g5lArqO3UIep+6hnqbeoTGo3mRAulZdLUtOW0IdrvaJ/Tpmgv6By6J11CL6Ib6evoH9KP07+iP2EwGG6MaEYhw8BYx9jNOMX4mvHcjGvmYyY1U5i1mY2YHTa7bPaYSWG6MmOYS5lNzEHmIeZF5iMWheXGkrBkrFbWCOso6wZrls1li9jpbA27l72HfY59n0PiuHHiOQpOJ+cDzinOXS7CdeZKuHLuCu4Y9wx3mkfkCXhSXgWvh/db3gRvxpxjHmieZ95gPmL+ifkkH+G78aX8Kn4f/yD/Ov+lhZ1FjIXSYo3FfovLFs8sbSyjLZWW3ZYHLK9ZvrTCrOKtKq02WI1b3bFGrT2tM63rrbdZn7F+ZMOzCbeR23TbHLS5aQvbetpm2TbbfmB7wXbWzt4u0U5nt8XulN0je759tH2F/YD9p/YPHLgOkQ5qhwGHzxz+ipljMVgVNoSdxmYcbR2THI2OOxwnHF85CZxynTqcDjjdcaY6i53LnAecTzrPuDi4pLm0uOx1uelKcRW7lrtudj3r+sxN4Jbvtspt3O2+wFIgFTQJ9gpuuzPco9xr3Efdr3oQPcQelR5bPb70hD2DPMs9RzwvesFewV5qr61el7wJ3qHeWu9R7xtCujBGWCfcK5zy4fuk+nT4jPs89nXxLfTd4HvW97VfkF+V35jfLRFHlCzqEB0Tfefv6S/3H/G/GsAISAhoCzgS8G2gV6AycFvgn4O4QWlBq4JOBv0jOCRYH7w/+EGIS0hJyHshN8Q8cYa4V/x5KCE0NrQt9OPQF2HBYYawg2F/DxeGV4bvCb+/QLBAuWBswd0IpwhZxI6IyUgssiTy/cjJKMcoWdRo1DfRztGK6J3R92I8Yipi9sU8jvWL1cd+FPtMEiZZJjkeh8QlxnXHTcRz4nPjh+O/TnBKUCXsTZhJDEpsTjyeREhKSdqQdENqJ5VLd0tnkkOSlyWfTqGnZKcMp3yT6pmqTz2WBqclp21Mu73QdaF24Xg6SJemb0y/kyHIqMn4QyYxMyNzJPMvWaKslqyz2dzs4uw92U9zYnP6cm7luucac0/mMfOK8nbnPcuPy+/Pn1zku2jZovMF1gXqgiOFpMK8wp2Fs4vjF29aPF0UVNRVdH2JYEnDknNLrZdWLf2kmFksKz5UQijJL9lT8oMsXTYqmy2Vlr5XOiOXyDfLHyqiFQOKB8oIZb/yXllEWX/ZfVWEaqPqQXlU+WD5I7VEPaz+tiKpYnvFs8r0yg8rf6zKrzqgIWtKNEe1HG2l9nS1fXVD9SWdl65LN1kTVrOpZkafot9ZC9UuqT1i4OE/UxeM7saVxqm6yLqRuuf1efWHGtgN2oYLjZ6NaxrvNSU0/aYZbZY3n2xxbGlvmVoWs2xHK9Ra2nqyzbmts216eeLyXe3U9sr2P3X4dfR3fL8if8WxTrvO5Z13Vyau3Ntl1qXvurEqfNX21ehq9eqJNQFrtqx53a3o/qLHr2ew54deee8Xa0Vrh9b+uK5s3URfcN+29cT12vXXN0Rt2NXP7m/qv7sxbePhAWyge+D7TcWbzg0GDm7fTN1s3Dw5lPpPAKQBW/6YuJkkmZCZ/JpomtWbQpuvnByciZz3nWSd0p5Anq6fHZ+Ln/qgaaDYoUehtqImopajBqN2o+akVqTHpTilqaYapoum/adup+CoUqjEqTepqaocqo+rAqt1q+msXKzQrUStuK4trqGvFq+LsACwdbDqsWCx1rJLssKzOLOutCW0nLUTtYq2AbZ5tvC3aLfguFm40blKucK6O7q1uy67p7whvJu9Fb2Pvgq+hL7/v3q/9cBwwOzBZ8Hjwl/C28NYw9TEUcTOxUvFyMZGxsPHQce/yD3IvMk6ybnKOMq3yzbLtsw1zLXNNc21zjbOts83z7jQOdC60TzRvtI/0sHTRNPG1EnUy9VO1dHWVdbY11zX4Nhk2OjZbNnx2nba+9uA3AXcit0Q3ZbeHN6i3ynfr+A24L3hROHM4lPi2+Nj4+vkc+T85YTmDeaW5x/nqegy6LzpRunQ6lvq5etw6/vshu0R7ZzuKO6070DvzPBY8OXxcvH/8ozzGfOn9DT0wvVQ9d72bfb794r4Gfio+Tj5x/pX+uf7d/wH/Jj9Kf26/kv+3P9t//8CDAD3hPP7DWVuZHN0cmVhbQ1lbmRvYmoNMSAwIG9iag08PC9MZW5ndGggNDY4NC9TdWJ0eXBlL1hNTC9UeXBlL01ldGFkYXRhPj5zdHJlYW0NCjw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE1IDg0LjE1OTgxMCwgMjAxNi8wOS8xMC0wMjo0MTozMCAgICAgICAgIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIgogICAgICAgICAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIKICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiCiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgICAgICAgICAgeG1sbnM6cGRmPSJodHRwOi8vbnMuYWRvYmUuY29tL3BkZi8xLjMvIj4KICAgICAgICAgPHhtcDpDcmVhdGVEYXRlPjIwMTctMDktMThUMTY6MDM6MjErMDI6MDA8L3htcDpDcmVhdGVEYXRlPgogICAgICAgICA8eG1wOk1ldGFkYXRhRGF0ZT4yMDE4LTAxLTIyVDA5OjI5OjI4WjwveG1wOk1ldGFkYXRhRGF0ZT4KICAgICAgICAgPHhtcDpNb2RpZnlEYXRlPjIwMTgtMDEtMjJUMDk6Mjk6MjhaPC94bXA6TW9kaWZ5RGF0ZT4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBJbGx1c3RyYXRvciBDQyAyMDE3IChNYWNpbnRvc2gpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXBNTTpJbnN0YW5jZUlEPnV1aWQ6ODkyNWNkYzktODFjZC1iNzQ1LWJlMmUtYmQyNTRkODhhZWU0PC94bXBNTTpJbnN0YW5jZUlEPgogICAgICAgICA8eG1wTU06T3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6OTBmNzQzMjYtNDgxNS00ZDM2LWIzYTktN2U5NDMyZjM3ZTU3PC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpEb2N1bWVudElEPnhtcC5pZDo5ZmJkZTI2Ni1jZDRiLTQ2YmUtOGNmYS03ZmMxMjA4OGE0MDM8L3htcE1NOkRvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpSZW5kaXRpb25DbGFzcz5wcm9vZjpwZGY8L3htcE1NOlJlbmRpdGlvbkNsYXNzPgogICAgICAgICA8eG1wTU06SGlzdG9yeT4KICAgICAgICAgICAgPHJkZjpTZXE+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmNvbnZlcnRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6cGFyYW1ldGVycz5mcm9tIGFwcGxpY2F0aW9uL3gtaW5kZXNpZ24gdG8gYXBwbGljYXRpb24vcGRmPC9zdEV2dDpwYXJhbWV0ZXJzPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBJbkRlc2lnbiBDQyAyMDE1IChNYWNpbnRvc2gpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE2LTAzLTA5VDA5OjQzOjE4KzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6U2VxPgogICAgICAgICA8L3htcE1NOkhpc3Rvcnk+CiAgICAgICAgIDx4bXBNTTpEZXJpdmVkRnJvbSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgIDxzdFJlZjppbnN0YW5jZUlEPnhtcC5paWQ6YWRhNzhhYjQtMTdlMC00YzMzLWI1ZDgtM2U4OGNjOTUxYjBhPC9zdFJlZjppbnN0YW5jZUlEPgogICAgICAgICAgICA8c3RSZWY6ZG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1Nzwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1Nzwvc3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPgogICAgICAgICAgICA8c3RSZWY6cmVuZGl0aW9uQ2xhc3M+ZGVmYXVsdDwvc3RSZWY6cmVuZGl0aW9uQ2xhc3M+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxkYzpmb3JtYXQ+YXBwbGljYXRpb24vcGRmPC9kYzpmb3JtYXQ+CiAgICAgICAgIDxkYzp0aXRsZT4KICAgICAgICAgICAgPHJkZjpBbHQ+CiAgICAgICAgICAgICAgIDxyZGY6bGkgeG1sOmxhbmc9IngtZGVmYXVsdCI+bm90ZV9oZWxwX3RoaW48L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6QWx0PgogICAgICAgICA8L2RjOnRpdGxlPgogICAgICAgICA8cGRmOlByb2R1Y2VyPkFkb2JlIFBERiBsaWJyYXJ5IDE1LjAwPC9wZGY6UHJvZHVjZXI+CiAgICAgICAgIDxwZGY6VHJhcHBlZD5GYWxzZTwvcGRmOlRyYXBwZWQ+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4NZW5kc3RyZWFtDWVuZG9iag0yIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCA0L0xlbmd0aCA0OC9OIDEvVHlwZS9PYmpTdG0+PnN0cmVhbQ0KaN4yVTBQsLHRd84vzStRMNT3zkwpjrYEigXF6odUFqTqBySmpxbb2QEEGADWdwuADWVuZHN0cmVhbQ1lbmRvYmoNMyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvRmlyc3QgNC9MZW5ndGggMTY1L04gMS9UeXBlL09ialN0bT4+c3RyZWFtDQpo3kSMQQuCMBhA/8pubgTt2yLTECEUoYPgoVMIMt0HDsYmcx769yURXR/vvZQAKQpeBVTReFeriLS+ShAXyEUmUjhJcQCZACTsa/lAb9qPSO7WbmsMOyFVRfaG9LRVk3HRr3PPGG+9/h8zEFJCLnOZPRnvgtfbhL9ZVzfEmjGo8CLifARg/GGiRep8xGFGuwxxNu5Dg1oW1LxRdsWyfAswAAUYOpANZW5kc3RyZWFtDWVuZG9iag00IDAgb2JqDTw8L0RlY29kZVBhcm1zPDwvQ29sdW1ucyAzL1ByZWRpY3RvciAxMj4+L0ZpbHRlci9GbGF0ZURlY29kZS9JRFs8RTlBNjc3QTY4RDcyNEY4REE2NzIwRTVGMDA0MDc2NEI+PDlCMzU4QjFFQTcyMDRERUNCQTAwODRFREYxODA4MDU2Pl0vSW5mbyA2IDAgUi9MZW5ndGggMzcvUm9vdCA4IDAgUi9TaXplIDcvVHlwZS9YUmVmL1dbMSAyIDBdPj5zdHJlYW0NCmjeYmJgYGBiFHjDxCA8g4mBsRuIGZkYb39iYmBgBAgwADJRBBQNZW5kc3RyZWFtDWVuZG9iag1zdGFydHhyZWYNMTE2DSUlRU9GDQ=="),!0,!0,!1),Module.FS_createDataFile("/assets/NoteIcons","note_cross_thin.pdf",decodeBase64("JVBERi0xLjYNJeLjz9MNCjcgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgOTY2MS9PIDkvRSA0MjE5L04gMS9UIDkzNzYvSCBbIDQ0NSAxMzRdPj4NZW5kb2JqDSAgICAgICAgICAgICAgICAgICAgICAgIA0xMyAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgNC9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPDgxRTcwNDgyMjk2QzREMDI5RUUzNjQ2MUQ1NTRBMDA4PjxERTlBOTNBQkY3QTU0QUE5QUM2OEVDQkYwREU5MDVFQT5dL0luZGV4WzcgMTFdL0luZm8gNiAwIFIvTGVuZ3RoIDUxL1ByZXYgOTM3Ny9Sb290IDggMCBSL1NpemUgMTgvVHlwZS9YUmVmL1dbMSAyIDFdPj5zdHJlYW0NCmjeYmJkEGBgYmAyBhIMNkCC0QhEKIDEgoDEr0AGJkaGaSBZBkYI8Z9x8z+AAAMAXB4F1g1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0wDSUlRU9GDSAgICAgICAgDTE3IDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9JIDY5L0xlbmd0aCA1Ni9TIDM4Pj5zdHJlYW0NCmjeYmBgYGFgYPzJAAS8fxhQASMDSJajAVmMBYoZGBUYeICYWdMCxGNmYFCeD9HCyAQQYADKNQQYDWVuZHN0cmVhbQ1lbmRvYmoNOCAwIG9iag08PC9NZXRhZGF0YSAxIDAgUi9QYWdlcyA1IDAgUi9UeXBlL0NhdGFsb2c+Pg1lbmRvYmoNOSAwIG9iag08PC9BcnRCb3hbMy41MDAwNiAzLjUwMDExIDIwLjQ5OTkgMjAuNV0vQmxlZWRCb3hbMC4wIDAuMCAyNC4wIDI0LjBdL0NvbnRlbnRzIDExIDAgUi9Dcm9wQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9NZWRpYUJveFswLjAgMC4wIDI0LjAgMjQuMF0vUGFyZW50IDUgMCBSL1Jlc291cmNlczw8L0NvbG9yU3BhY2U8PC9DUzAgMTQgMCBSPj4vRXh0R1N0YXRlPDwvR1MwIDE1IDAgUj4+L1Byb3BlcnRpZXM8PC9NQzAgMTYgMCBSPj4+Pi9Sb3RhdGUgMC9UcmltQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9UeXBlL1BhZ2U+Pg1lbmRvYmoNMTAgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0ZpcnN0IDE4L0xlbmd0aCAxOTQvTiAzL1R5cGUvT2JqU3RtPj5zdHJlYW0NCmjeNI5LC8IwEIT/yh714nZjWz1IoVaRgtVixYt4iLpCMH2Qxte/N7R6HGa+mSEfPKAAaAoUApEPR0yTZC5bvgIJZ+5OsxnGaQE3qVvGeYab2pRSYxIDjTzc5j9nm2dAWMRgzYOxyGR7d9GKcf9pGJdvuyqstIwX2XF103NR5PqTWtfmKDwhfBiLSTiFMAjGwQkXqizdk35heVVWnjX3C7nhp+LXX6jKumAn9spqHqzlhw3QEA+qVX8qir4CDADkxkqEDWVuZHN0cmVhbQ1lbmRvYmoNMTEgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aCAyNjk+PnN0cmVhbQ0KSIlcUrtOxEAM7P0V/gFv9p1sewHRcMWJghpFBxQ5pLtU/D3e2LtwKImdcTzOeLTD89v3+YbDcbZ4eJgRrmDRx3oTP7czvOIXDPOLxWVDu1+4LVx64tLHBld0e9GhCya6yNnjcoFau0A2JRSUuMJoXEh4H2Ny+n00OWZcmOODx8mEFJmTjQ0joxQLJjN619+TT9q1ALn6b5S4Akm9zSChSGQw5dRAMTa73zHFjHlSJWuFJQcV2UHVrY0inHneTH7ijdc2gtrOSqPOU6Qj9962uaqhP7qrVOrC71Nton8OULNA/OmjxDrliqcdVLv7HNFNzQKVLXo7qEkbmwWf8A4neDzyETrBjwADAMeydQENZW5kc3RyZWFtDWVuZG9iag0xMiAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDI1NzQvTiAzPj5zdHJlYW0NCkiJnJZ5VFN3Fsd/b8mekJWww2MNW4CwBpA1bGGRHQRRCEkIARJCSNgFQUQFFEVEhKqVMtZtdEZPRZ0urmOtDtZ96tID9TDq6Di0FteOnRc4R51OZ6bT7x/v9zn3d+/v3d+9953zAKAnpaq11TALAI3WoM9KjMUWFRRipAkAAwogAhEAMnmtLi07IQfgksZLsFrcCfyLnl4HkGm9IkzKwDDw/4kt1+kNAEAZOAcolLVynDtxrqo36Ez2GZx5pZUmhlET6/EEcbY0sWqeved85jnaxAqNVoGzKWedQqMw8WmcV9cZlTgjqTh31amV9ThfxdmlyqhR4/zcFKtRymoBQOkmu0EpL8fZD2e6PidLgvMCAMh01Ttc+g4blA0G06Uk1bpGvVpVbsDc5R6YKDRUjCUp66uUBoMwQyavlOkVmKRao5NpGwGYv/OcOKbaYniRg0WhwcFCfx/RO4X6r5u/UKbeztOTzLmeQfwLb20/51c9CoB4Fq/N+re20i0AjK8EwPLmW5vL+wAw8b4dvvjOffimeSk3GHRhvr719fU+aqXcx1TQN/qfDr9A77zPx3Tcm/JgccoymbHKgJnqJq+uqjbqsVqdTK7EhD8d4l8d+PN5eGcpy5R6pRaPyMOnTK1V4e3WKtQGdbUWU2v/UxN/ZdhPND/XuLhjrwGv2AewLvIA8rcLAOXSAFK0Dd+B3vQtlZIHMvA13+He/NzPCfr3U+E+06NWrZqLk2TlYHKjvm5+z/RZAgKgAibgAStgD5yBOxACfxACwkE0iAfJIB3kgAKwFMhBOdAAPagHLaAddIEesB5sAsNgOxgDu8F+cBCMg4/BCfBHcB58Ca6BW2ASTIOHYAY8Ba8gCCJBDIgLWUEOkCvkBflDYigSiodSoSyoACqBVJAWMkIt0AqoB+qHhqEd0G7o99BR6AR0DroEfQVNQQ+g76CXMALTYR5sB7vBvrAYjoFT4Bx4CayCa+AmuBNeBw/Bo/A++DB8Aj4PX4Mn4YfwLAIQGsJHHBEhIkYkSDpSiJQheqQV6UYGkVFkP3IMOYtcQSaRR8gLlIhyUQwVouFoEpqLytEatBXtRYfRXehh9DR6BZ1CZ9DXBAbBluBFCCNICYsIKkI9oYswSNhJ+IhwhnCNME14SiQS+UQBMYSYRCwgVhCbib3ErcQDxOPES8S7xFkSiWRF8iJFkNJJMpKB1EXaQtpH+ox0mTRNek6mkR3I/uQEciFZS+4gD5L3kD8lXybfI7+isCiulDBKOkVBaaT0UcYoxygXKdOUV1Q2VUCNoOZQK6jt1CHqfuoZ6m3qExqN5kQLpWXS1LTltCHa72if06ZoL+gcuiddQi+iG+nr6B/Sj9O/oj9hMBhujGhGIcPAWMfYzTjF+Jrx3Ixr5mMmNVOYtZmNmB02u2z2mElhujJjmEuZTcxB5iHmReYjFoXlxpKwZKxW1gjrKOsGa5bNZYvY6WwNu5e9h32OfZ9D4rhx4jkKTifnA84pzl0uwnXmSrhy7gruGPcMd5pH5Al4Ul4Fr4f3W94Eb8acYx5onmfeYD5i/on5JB/hu/Gl/Cp+H/8g/zr/pYWdRYyF0mKNxX6LyxbPLG0soy2Vlt2WByyvWb60wqzirSqtNliNW92xRq09rTOt6623WZ+xfmTDswm3kdt02xy0uWkL23raZtk2235ge8F21s7eLtFOZ7fF7pTdI3u+fbR9hf2A/af2Dxy4DpEOaocBh88c/oqZYzFYFTaEncZmHG0dkxyNjjscJxxfOQmccp06nA443XGmOoudy5wHnE86z7g4uKS5tLjsdbnpSnEVu5a7bnY96/rMTeCW77bKbdztvsBSIBU0CfYKbrsz3KPca9xH3a96ED3EHpUeWz2+9IQ9gzzLPUc8L3rBXsFeaq+tXpe8Cd6h3lrvUe8bQrowRlgn3Cuc8uH7pPp0+Iz7PPZ18S303eB71ve1X5Bfld+Y3y0RR5Qs6hAdE33n7+kv9x/xvxrACEgIaAs4EvBtoFegMnBb4J+DuEFpQauCTgb9IzgkWB+8P/hBiEtISch7ITfEPHGGuFf8eSghNDa0LfTj0BdhwWGGsINhfw8XhleG7wm/v0CwQLlgbMHdCKcIWcSOiMlILLIk8v3IySjHKFnUaNQ30c7Riuid0fdiPGIqYvbFPI71i9XHfhT7TBImWSY5HofEJcZ1x03Ec+Jz44fjv05wSlAl7E2YSQxKbE48nkRISknakHRDaieVS3dLZ5JDkpcln06hp2SnDKd8k+qZqk89lganJadtTLu90HWhduF4OkiXpm9Mv5MhyKjJ+EMmMTMjcyTzL1mirJass9nc7OLsPdlPc2Jz+nJu5brnGnNP5jHzivJ25z3Lj8vvz59c5Lto2aLzBdYF6oIjhaTCvMKdhbOL4xdvWjxdFFTUVXR9iWBJw5JzS62XVi39pJhZLCs+VEIoyS/ZU/KDLF02KpstlZa+Vzojl8g3yx8qohUDigfKCGW/8l5ZRFl/2X1VhGqj6kF5VPlg+SO1RD2s/rYiqWJ7xbPK9MoPK3+syq86oCFrSjRHtRxtpfZ0tX11Q/UlnZeuSzdZE1azqWZGn6LfWQvVLqk9YuDhP1MXjO7Glcapusi6kbrn9Xn1hxrYDdqGC42ejWsa7zUlNP2mGW2WN59scWxpb5laFrNsRyvUWtp6ss25rbNtenni8l3t1PbK9j91+HX0d3y/In/FsU67zuWdd1cmrtzbZdal77qxKnzV9tXoavXqiTUBa7ased2t6P6ix69nsOeHXnnvF2tFa4fW/riubN1EX3DftvXE9dr11zdEbdjVz+5v6r+7MW3j4QFsoHvg+03Fm84NBg5u30zdbNw8OZT6TwCkAVv+mLiZJJmQmfyaaJrVm0Kbr5wcnImc951kndKeQJ6unx2fi5/6oGmg2KFHobaiJqKWowajdqPmpFakx6U4pammGqaLpv2nbqfgqFKoxKk3qamqHKqPqwKrdavprFys0K1ErbiuLa6hrxavi7AAsHWw6rFgsdayS7LCszizrrQltJy1E7WKtgG2ebbwt2i34LhZuNG5SrnCuju6tbsuu6e8IbybvRW9j74KvoS+/796v/XAcMDswWfB48JfwtvDWMPUxFHEzsVLxcjGRsbDx0HHv8g9yLzJOsm5yjjKt8s2y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp22vvbgNwF3IrdEN2W3hzeot8p36/gNuC94UThzOJT4tvjY+Pr5HPk/OWE5g3mlucf56noMui86Ubp0Opb6uXrcOv77IbtEe2c7ijutO9A78zwWPDl8XLx//KM8xnzp/Q09ML1UPXe9m32+/eK+Bn4qPk4+cf6V/rn+3f8B/yY/Sn9uv5L/tz/bf//AgwA94Tz+w1lbmRzdHJlYW0NZW5kb2JqDTEgMCBvYmoNPDwvTGVuZ3RoIDQ2ODUvU3VidHlwZS9YTUwvVHlwZS9NZXRhZGF0YT4+c3RyZWFtDQo8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzAxNSA4NC4xNTk4MTAsIDIwMTYvMDkvMTAtMDI6NDE6MzAgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iCiAgICAgICAgICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiCiAgICAgICAgICAgIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIgogICAgICAgICAgICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgICAgICAgICAgIHhtbG5zOnBkZj0iaHR0cDovL25zLmFkb2JlLmNvbS9wZGYvMS4zLyI+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE3LTA5LTE4VDE2OjAzOjIwKzAyOjAwPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxOC0wMS0yMlQwOToyOTowOFo8L3htcDpNZXRhZGF0YURhdGU+CiAgICAgICAgIDx4bXA6TW9kaWZ5RGF0ZT4yMDE4LTAxLTIyVDA5OjI5OjA4WjwveG1wOk1vZGlmeURhdGU+CiAgICAgICAgIDx4bXA6Q3JlYXRvclRvb2w+QWRvYmUgSWxsdXN0cmF0b3IgQ0MgMjAxNyAoTWFjaW50b3NoKTwveG1wOkNyZWF0b3JUb29sPgogICAgICAgICA8eG1wTU06SW5zdGFuY2VJRD51dWlkOjJiMjUzYzUxLTMxOTEtZTM0My1hMGEyLWY5YTczNzBjNDFiYTwveG1wTU06SW5zdGFuY2VJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1NzwveG1wTU06T3JpZ2luYWxEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06RG9jdW1lbnRJRD54bXAuaWQ6OWZiZGUyNjYtY2Q0Yi00NmJlLThjZmEtN2ZjMTIwODhhNDAzPC94bXBNTTpEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06UmVuZGl0aW9uQ2xhc3M+cHJvb2Y6cGRmPC94bXBNTTpSZW5kaXRpb25DbGFzcz4KICAgICAgICAgPHhtcE1NOkhpc3Rvcnk+CiAgICAgICAgICAgIDxyZGY6U2VxPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi94LWluZGVzaWduIHRvIGFwcGxpY2F0aW9uL3BkZjwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgSW5EZXNpZ24gQ0MgMjAxNSAoTWFjaW50b3NoKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNi0wMy0wOVQwOTo0MzoxOCswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8eG1wTU06RGVyaXZlZEZyb20gcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICA8c3RSZWY6aW5zdGFuY2VJRD54bXAuaWlkOmFkYTc4YWI0LTE3ZTAtNGMzMy1iNWQ4LTNlODhjYzk1MWIwYTwvc3RSZWY6aW5zdGFuY2VJRD4KICAgICAgICAgICAgPHN0UmVmOmRvY3VtZW50SUQ+eG1wLmRpZDo5MGY3NDMyNi00ODE1LTRkMzYtYjNhOS03ZTk0MzJmMzdlNTc8L3N0UmVmOmRvY3VtZW50SUQ+CiAgICAgICAgICAgIDxzdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+eG1wLmRpZDo5MGY3NDMyNi00ODE1LTRkMzYtYjNhOS03ZTk0MzJmMzdlNTc8L3N0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOnJlbmRpdGlvbkNsYXNzPmRlZmF1bHQ8L3N0UmVmOnJlbmRpdGlvbkNsYXNzPgogICAgICAgICA8L3htcE1NOkRlcml2ZWRGcm9tPgogICAgICAgICA8ZGM6Zm9ybWF0PmFwcGxpY2F0aW9uL3BkZjwvZGM6Zm9ybWF0PgogICAgICAgICA8ZGM6dGl0bGU+CiAgICAgICAgICAgIDxyZGY6QWx0PgogICAgICAgICAgICAgICA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPm5vdGVfY3Jvc3NfdGhpbjwvcmRmOmxpPgogICAgICAgICAgICA8L3JkZjpBbHQ+CiAgICAgICAgIDwvZGM6dGl0bGU+CiAgICAgICAgIDxwZGY6UHJvZHVjZXI+QWRvYmUgUERGIGxpYnJhcnkgMTUuMDA8L3BkZjpQcm9kdWNlcj4KICAgICAgICAgPHBkZjpUcmFwcGVkPkZhbHNlPC9wZGY6VHJhcHBlZD4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Pg1lbmRzdHJlYW0NZW5kb2JqDTIgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0ZpcnN0IDQvTGVuZ3RoIDQ4L04gMS9UeXBlL09ialN0bT4+c3RyZWFtDQpo3jJVMFCwsdF3zi/NK1Ew1PfOTCmOtgSKBcXqh1QWpOoHJKanFtvZAQQYANZ3C4ANZW5kc3RyZWFtDWVuZG9iag0zIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCA0L0xlbmd0aCAxNjYvTiAxL1R5cGUvT2JqU3RtPj5zdHJlYW0NCmjeRIxBC4IwGED/ynfTEbRvi0xDhFCEDoKHTiHIdAMHY5NtHvr3JRFdH++9DBDKktZeiaidbURUaXPlyC5YsJxleOJ4QJ4gJuRrOZ/epJsU3I3ZQvQ7gbqGvYEh7cSsbXRhGQihnZP/Y46Mcyx4gfmT0N47uc3qN+ubFoyevPAvYOcjIqEPHY1KrYtqnL0LYYyLth/sxboqSVthgqqqtwADAEJTOw4NZW5kc3RyZWFtDWVuZG9iag00IDAgb2JqDTw8L0RlY29kZVBhcm1zPDwvQ29sdW1ucyAzL1ByZWRpY3RvciAxMj4+L0ZpbHRlci9GbGF0ZURlY29kZS9JRFs8ODFFNzA0ODIyOTZDNEQwMjlFRTM2NDYxRDU1NEEwMDg+PERFOUE5M0FCRjdBNTRBQTlBQzY4RUNCRjBERTkwNUVBPl0vSW5mbyA2IDAgUi9MZW5ndGggMzcvUm9vdCA4IDAgUi9TaXplIDcvVHlwZS9YUmVmL1dbMSAyIDBdPj5zdHJlYW0NCmjeYmJgYGBiFKhmYhCeycTA0M3EwMjExHgnEchmBAgwACZJAxQNZW5kc3RyZWFtDWVuZG9iag1zdGFydHhyZWYNMTE2DSUlRU9GDQ=="),!0,!0,!1),Module.FS_createDataFile("/assets/NoteIcons","note_rightarrow_thin.pdf",decodeBase64("JVBERi0xLjYNJeLjz9MNCjcgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgOTY2OS9PIDkvRSA0MjE3L04gMS9UIDkzODQvSCBbIDQ0NSAxMzZdPj4NZW5kb2JqDSAgICAgICAgICAgICAgICAgICAgICAgIA0xMyAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgNC9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPDU2Nzc1QUJBNkRFMDQwMkQ4OTREREI5ODUxOTE2RDExPjwzQUI4ODQ0MkRBRTU0QzBCQUNDRTQyNzlEQzczRUNEOD5dL0luZGV4WzcgMTFdL0luZm8gNiAwIFIvTGVuZ3RoIDUxL1ByZXYgOTM4NS9Sb290IDggMCBSL1NpemUgMTgvVHlwZS9YUmVmL1dbMSAyIDFdPj5zdHJlYW0NCmjeYmJkEGBgYmAyBRIMNkCCUQ9EKIDEgoDEr2AGJkaGaSBZBkYI8Z9x8z+AAAMAXBQF1g1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0wDSUlRU9GDSAgICAgICAgDTE3IDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9JIDY5L0xlbmd0aCA1OC9TIDM4Pj5zdHJlYW0NCmjeYmBgYGFgYPzJAAS8PxhQASMDSJajAVmMBYoZGBUYeBgeMDBrWoB4zAwMyosgWhjZAQIMANmeBNsNZW5kc3RyZWFtDWVuZG9iag04IDAgb2JqDTw8L01ldGFkYXRhIDEgMCBSL1BhZ2VzIDUgMCBSL1R5cGUvQ2F0YWxvZz4+DWVuZG9iag05IDAgb2JqDTw8L0FydEJveFsyLjAgMy41MDAxMSAyMi43OTI4IDIwLjVdL0JsZWVkQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9Db250ZW50cyAxMSAwIFIvQ3JvcEJveFswLjAgMC4wIDI0LjAgMjQuMF0vTWVkaWFCb3hbMC4wIDAuMCAyNC4wIDI0LjBdL1BhcmVudCA1IDAgUi9SZXNvdXJjZXM8PC9Db2xvclNwYWNlPDwvQ1MwIDE0IDAgUj4+L0V4dEdTdGF0ZTw8L0dTMCAxNSAwIFI+Pi9Qcm9wZXJ0aWVzPDwvTUMwIDE2IDAgUj4+Pj4vUm90YXRlIDAvVHJpbUJveFswLjAgMC4wIDI0LjAgMjQuMF0vVHlwZS9QYWdlPj4NZW5kb2JqDTEwIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCAxOC9MZW5ndGggMTk0L04gMy9UeXBlL09ialN0bT4+c3RyZWFtDQpo3jSOSwvCMBCE/8oe9eJ2Y1s9SKFWkYLVYsWLeIi6QjB9kMbXvze0ehxmvpkhHzygAGgKFAKRD0dMk2QuW74CCWfuTrMZxmkBN6lbxnmGm9qUUmMSA4083OY/Z5tnQFjEYM2Dschke3fRinH/aRiXb7sqrLSMF9lxddNzUeT6k1rX5ig8IXwYi0k4hTAIxsEJF6os3ZN+YXlVVp419wu54afi11+oyrpgJ/bKah6s5YcN0BAPqlV/Koq+AgwA5MZKhA1lbmRzdHJlYW0NZW5kb2JqDTExIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9MZW5ndGggMjY5Pj5zdHJlYW0NCkiJTJK/bsQgDMZ3P4VfIMQYCLA2rbr0hlOHzhW6drk76S5T3742kD9KgvX7MNh8ZPz4/rs8cTzNhC+vM8IDCNnrO8j3vMAX3mGcPwnLglQfXIpI7yL9LvBAW0WLzMYFF9A6QxMFLDfQiRsM0XB22Marok8J2yiQJLdD6kkFhmQiRZxMSJOuSSYTC7pscQOKHntiMClmXccmTrITSQ9WF9psUvAHgclYt7KSa9Oc/BGDzBbYBFuF61FILuK6G7fd1mIN9254Ld6alXNuR5Jgc8CdgmXc8mpQN3DIxlvf7FPHhCfK2M3cSe3ruUX8l9KWtTRVJ/UcckUdNIR6ewV+4AxvJ/kBzvAvwABqwmc8DWVuZHN0cmVhbQ1lbmRvYmoNMTIgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aCAyNTc0L04gMz4+c3RyZWFtDQpIiZyWeVRTdxbHf2/JnpCVsMNjDVuAsAaQNWxhkR0EUQhJCAESQkjYBUFEBRRFRISqlTLWbXRGT0WdLq5jrQ7WferSA/Uw6ug4tBbXjp0XOEedTmem0+8f7/c593fv793fvfed8wCgJ6WqtdUwCwCN1qDPSozFFhUUYqQJAAMKIAIRADJ5rS4tOyEH4JLGS7Ba3An8i55eB5BpvSJMysAw8P+JLdfpDQBAGTgHKJS1cpw7ca6qN+hM9hmceaWVJoZRE+vxBHG2NLFqnr3nfOY52sQKjVaBsylnnUKjMPFpnFfXGZU4I6k4d9WplfU4X8XZpcqoUeP83BSrUcpqAUDpJrtBKS/H2Q9nuj4nS4LzAgDIdNU7XPoOG5QNBtOlJNW6Rr1aVW7A3OUemCg0VIwlKeurlAaDMEMmr5TpFZikWqOTaRsBmL/znDim2mJ4kYNFocHBQn8f0TuF+q+bv1Cm3s7Tk8y5nkH8C29tP+dXPQqAeBavzfq3ttItAIyvBMDy5luby/sAMPG+Hb74zn34pnkpNxh0Yb6+9fX1Pmql3MdU0Df6nw6/QO+8z8d03JvyYHHKMpmxyoCZ6iavrqo26rFanUyuxIQ/HeJfHfjzeXhnKcuUeqUWj8jDp0ytVeHt1irUBnW1FlNr/1MTf2XYTzQ/17i4Y68Br9gHsC7yAPK3CwDl0gBStA3fgd70LZWSBzLwNd/h3vzczwn691PhPtOjVq2ai5Nk5WByo75ufs/0WQICoAIm4AErYA+cgTsQAn8QAsJBNIgHySAd5IACsBTIQTnQAD2oBy2gHXSBHrAebALDYDsYA7vBfnAQjIOPwQnwR3AefAmugVtgEkyDh2AGPAWvIAgiQQyIC1lBDpAr5AX5Q2IoEoqHUqEsqAAqgVSQFjJCLdAKqAfqh4ahHdBu6PfQUegEdA66BH0FTUEPoO+glzAC02EebAe7wb6wGI6BU+AceAmsgmvgJrgTXgcPwaPwPvgwfAI+D1+DJ+GH8CwCEBrCRxwRISJGJEg6UoiUIXqkFelGBpFRZD9yDDmLXEEmkUfIC5SIclEMFaLhaBKai8rRGrQV7UWH0V3oYfQ0egWdQmfQ1wQGwZbgRQgjSAmLCCpCPaGLMEjYSfiIcIZwjTBNeEokEvlEATGEmEQsIFYQm4m9xK3EA8TjxEvEu8RZEolkRfIiRZDSSTKSgdRF2kLaR/qMdJk0TXpOppEdyP7kBHIhWUvuIA+S95A/JV8m3yO/orAorpQwSjpFQWmk9FHGKMcoFynTlFdUNlVAjaDmUCuo7dQh6n7qGept6hMajeZEC6Vl0tS05bQh2u9on9OmaC/oHLonXUIvohvp6+gf0o/Tv6I/YTAYboxoRiHDwFjH2M04xfia8dyMa+ZjJjVTmLWZjZgdNrts9phJYboyY5hLmU3MQeYh5kXmIxaF5caSsGSsVtYI6yjrBmuWzWWL2OlsDbuXvYd9jn2fQ+K4ceI5Ck4n5wPOKc5dLsJ15kq4cu4K7hj3DHeaR+QJeFJeBa+H91veBG/GnGMeaJ5n3mA+Yv6J+SQf4bvxpfwqfh//IP86/6WFnUWMhdJijcV+i8sWzyxtLKMtlZbdlgcsr1m+tMKs4q0qrTZYjVvdsUatPa0zreutt1mfsX5kw7MJt5HbdNsctLlpC9t62mbZNtt+YHvBdtbO3i7RTme3xe6U3SN7vn20fYX9gP2n9g8cuA6RDmqHAYfPHP6KmWMxWBU2hJ3GZhxtHZMcjY47HCccXzkJnHKdOpwOON1xpjqLncucB5xPOs+4OLikubS47HW56UpxFbuWu252Pev6zE3glu+2ym3c7b7AUiAVNAn2Cm67M9yj3GvcR92vehA9xB6VHls9vvSEPYM8yz1HPC96wV7BXmqvrV6XvAneod5a71HvG0K6MEZYJ9wrnPLh+6T6dPiM+zz2dfEt9N3ge9b3tV+QX5XfmN8tEUeULOoQHRN95+/pL/cf8b8awAhICGgLOBLwbaBXoDJwW+Cfg7hBaUGrgk4G/SM4JFgfvD/4QYhLSEnIeyE3xDxxhrhX/HkoITQ2tC3049AXYcFhhrCDYX8PF4ZXhu8Jv79AsEC5YGzB3QinCFnEjojJSCyyJPL9yMkoxyhZ1GjUN9HO0YrondH3YjxiKmL2xTyO9YvVx34U+0wSJlkmOR6HxCXGdcdNxHPic+OH479OcEpQJexNmEkMSmxOPJ5ESEpJ2pB0Q2onlUt3S2eSQ5KXJZ9OoadkpwynfJPqmapPPZYGpyWnbUy7vdB1oXbheDpIl6ZvTL+TIcioyfhDJjEzI3Mk8y9ZoqyWrLPZ3Ozi7D3ZT3Nic/pybuW65xpzT+Yx84ryduc9y4/L78+fXOS7aNmi8wXWBeqCI4WkwrzCnYWzi+MXb1o8XRRU1FV0fYlgScOSc0utl1Yt/aSYWSwrPlRCKMkv2VPygyxdNiqbLZWWvlc6I5fIN8sfKqIVA4oHyghlv/JeWURZf9l9VYRqo+pBeVT5YPkjtUQ9rP62Iqlie8WzyvTKDyt/rMqvOqAha0o0R7UcbaX2dLV9dUP1JZ2Xrks3WRNWs6lmRp+i31kL1S6pPWLg4T9TF4zuxpXGqbrIupG65/V59Yca2A3ahguNno1rGu81JTT9phltljefbHFsaW+ZWhazbEcr1FraerLNua2zbXp54vJd7dT2yvY/dfh19Hd8vyJ/xbFOu87lnXdXJq7c22XWpe+6sSp81fbV6Gr16ok1AWu2rHndrej+osevZ7Dnh1557xdrRWuH1v64rmzdRF9w37b1xPXa9dc3RG3Y1c/ub+q/uzFt4+EBbKB74PtNxZvODQYObt9M3WzcPDmU+k8ApAFb/pi4mSSZkJn8mmia1ZtCm6+cHJyJnPedZJ3SnkCerp8dn4uf+qBpoNihR6G2oiailqMGo3aj5qRWpMelOKWpphqmi6b9p26n4KhSqMSpN6mpqhyqj6sCq3Wr6axcrNCtRK24ri2uoa8Wr4uwALB1sOqxYLHWskuywrM4s660JbSctRO1irYBtnm28Ldot+C4WbjRuUq5wro7urW7LrunvCG8m70VvY++Cr6Evv+/er/1wHDA7MFnwePCX8Lbw1jD1MRRxM7FS8XIxkbGw8dBx7/IPci8yTrJuco4yrfLNsu2zDXMtc01zbXONs62zzfPuNA50LrRPNG+0j/SwdNE08bUSdTL1U7V0dZV1tjXXNfg2GTY6Nls2fHadtr724DcBdyK3RDdlt4c3qLfKd+v4DbgveFE4cziU+Lb42Pj6+Rz5PzlhOYN5pbnH+ep6DLovOlG6dDqW+rl63Dr++yG7RHtnO4o7rTvQO/M8Fjw5fFy8f/yjPMZ86f0NPTC9VD13vZt9vv3ivgZ+Kj5OPnH+lf65/t3/Af8mP0p/br+S/7c/23//wIMAPeE8/sNZW5kc3RyZWFtDWVuZG9iag0xIDAgb2JqDTw8L0xlbmd0aCA0NjkwL1N1YnR5cGUvWE1ML1R5cGUvTWV0YWRhdGE+PnN0cmVhbQ0KPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMwMTUgODQuMTU5ODEwLCAyMDE2LzA5LzEwLTAyOjQxOjMwICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgICAgICAgICB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIgogICAgICAgICAgICB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczpwZGY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGRmLzEuMy8iPgogICAgICAgICA8eG1wOkNyZWF0ZURhdGU+MjAxNy0wOS0xOFQxNjowMzoxOSswMjowMDwveG1wOkNyZWF0ZURhdGU+CiAgICAgICAgIDx4bXA6TWV0YWRhdGFEYXRlPjIwMTgtMDEtMjJUMDk6Mjk6MjNaPC94bXA6TWV0YWRhdGFEYXRlPgogICAgICAgICA8eG1wOk1vZGlmeURhdGU+MjAxOC0wMS0yMlQwOToyOToyM1o8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8eG1wOkNyZWF0b3JUb29sPkFkb2JlIElsbHVzdHJhdG9yIENDIDIwMTcgKE1hY2ludG9zaCk8L3htcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhtcE1NOkluc3RhbmNlSUQ+dXVpZDo0YzM4MzFlNi1mMzNiLWVlNDQtYWM1Yy0wYTllNGViM2JjNWE8L3htcE1NOkluc3RhbmNlSUQ+CiAgICAgICAgIDx4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+eG1wLmRpZDo5MGY3NDMyNi00ODE1LTRkMzYtYjNhOS03ZTk0MzJmMzdlNTc8L3htcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOkRvY3VtZW50SUQ+eG1wLmlkOjlmYmRlMjY2LWNkNGItNDZiZS04Y2ZhLTdmYzEyMDg4YTQwMzwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOlJlbmRpdGlvbkNsYXNzPnByb29mOnBkZjwveG1wTU06UmVuZGl0aW9uQ2xhc3M+CiAgICAgICAgIDx4bXBNTTpIaXN0b3J5PgogICAgICAgICAgICA8cmRmOlNlcT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y29udmVydGVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpwYXJhbWV0ZXJzPmZyb20gYXBwbGljYXRpb24veC1pbmRlc2lnbiB0byBhcHBsaWNhdGlvbi9wZGY8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIEluRGVzaWduIENDIDIwMTUgKE1hY2ludG9zaCk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTYtMDMtMDlUMDk6NDM6MTgrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICA8L3JkZjpTZXE+CiAgICAgICAgIDwveG1wTU06SGlzdG9yeT4KICAgICAgICAgPHhtcE1NOkRlcml2ZWRGcm9tIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgPHN0UmVmOmluc3RhbmNlSUQ+eG1wLmlpZDphZGE3OGFiNC0xN2UwLTRjMzMtYjVkOC0zZTg4Y2M5NTFiMGE8L3N0UmVmOmluc3RhbmNlSUQ+CiAgICAgICAgICAgIDxzdFJlZjpkb2N1bWVudElEPnhtcC5kaWQ6OTBmNzQzMjYtNDgxNS00ZDM2LWIzYTktN2U5NDMyZjM3ZTU3PC9zdFJlZjpkb2N1bWVudElEPgogICAgICAgICAgICA8c3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6OTBmNzQzMjYtNDgxNS00ZDM2LWIzYTktN2U5NDMyZjM3ZTU3PC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgICAgIDxzdFJlZjpyZW5kaXRpb25DbGFzcz5kZWZhdWx0PC9zdFJlZjpyZW5kaXRpb25DbGFzcz4KICAgICAgICAgPC94bXBNTTpEZXJpdmVkRnJvbT4KICAgICAgICAgPGRjOmZvcm1hdD5hcHBsaWNhdGlvbi9wZGY8L2RjOmZvcm1hdD4KICAgICAgICAgPGRjOnRpdGxlPgogICAgICAgICAgICA8cmRmOkFsdD4KICAgICAgICAgICAgICAgPHJkZjpsaSB4bWw6bGFuZz0ieC1kZWZhdWx0Ij5ub3RlX3JpZ2h0YXJyb3dfdGhpbjwvcmRmOmxpPgogICAgICAgICAgICA8L3JkZjpBbHQ+CiAgICAgICAgIDwvZGM6dGl0bGU+CiAgICAgICAgIDxwZGY6UHJvZHVjZXI+QWRvYmUgUERGIGxpYnJhcnkgMTUuMDA8L3BkZjpQcm9kdWNlcj4KICAgICAgICAgPHBkZjpUcmFwcGVkPkZhbHNlPC9wZGY6VHJhcHBlZD4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Pg1lbmRzdHJlYW0NZW5kb2JqDTIgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0ZpcnN0IDQvTGVuZ3RoIDQ4L04gMS9UeXBlL09ialN0bT4+c3RyZWFtDQpo3jJVMFCwsdF3zi/NK1Ew1PfOTCmOtgSKBcXqh1QWpOoHJKanFtvZAQQYANZ3C4ANZW5kc3RyZWFtDWVuZG9iag0zIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCA0L0xlbmd0aCAxNzEvTiAxL1R5cGUvT2JqU3RtPj5zdHJlYW0NCmjeRIzRCoIwGEZfZXduBO3fJMsQIRShC8GLrkKQqSMHY5PfSfT2JRHdnu98JyFAsowXqFUw3pUqaFqeJYgjpOIkEohFugMZAUTsa3mkl9H3mlytXZeAGyFFQbYPaWmtBuOCX6aWMV778V88gZASUpnK+M54g35cB/2LNWVFrOlR4YuIwx6A8ZsJVlPng+7QPKagEP2zC5Nxnw3VPOuRV8ouOs/fAgwAe349Mg1lbmRzdHJlYW0NZW5kb2JqDTQgMCBvYmoNPDwvRGVjb2RlUGFybXM8PC9Db2x1bW5zIDMvUHJlZGljdG9yIDEyPj4vRmlsdGVyL0ZsYXRlRGVjb2RlL0lEWzw1Njc3NUFCQTZERTA0MDJEODk0RERCOTg1MTkxNkQxMT48M0FCODg0NDJEQUU1NEMwQkFDQ0U0Mjc5REM3M0VDRDg+XS9JbmZvIDYgMCBSL0xlbmd0aCAzNy9Sb290IDggMCBSL1NpemUgNy9UeXBlL1hSZWYvV1sxIDIgMF0+PnN0cmVhbQ0KaN5iYmBgYGIUqGRiEJ7HxMDQzcTAyM7EeCcSyGYECDAAJnkDFA1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0xMTYNJSVFT0YN"),!0,!0,!1),Module.FS_createDataFile("/assets/NoteIcons","note_newparagraph_thin.pdf",decodeBase64("JVBERi0xLjYNJeLjz9MNCjcgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgOTg2NC9PIDkvRSA0NDA4L04gMS9UIDk1NzkvSCBbIDQ0NSAxMzZdPj4NZW5kb2JqDSAgICAgICAgICAgICAgICAgICAgICAgIA0xMyAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgNC9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPEY5RjJCQTBDQ0JDMDQyQzBCMkFBNTc3MDNFMTQ2QzdDPjwxRTlBNjdCNjYwNEU0N0Y2OEE3N0NGQzg5QTFGOUM0ND5dL0luZGV4WzcgMTFdL0luZm8gNiAwIFIvTGVuZ3RoIDUwL1ByZXYgOTU4MC9Sb290IDggMCBSL1NpemUgMTgvVHlwZS9YUmVmL1dbMSAyIDFdPj5zdHJlYW0NCmjeYmJkEGBgYmAyBRIMNkCCUR9EKIDEQBK/pjAwMTJMA8kyMEKI/4yb/wEEGABa2QXWDWVuZHN0cmVhbQ1lbmRvYmoNc3RhcnR4cmVmDTANJSVFT0YNICAgICAgICAgDTE3IDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9JIDY5L0xlbmd0aCA1OC9TIDM4Pj5zdHJlYW0NCmjeYmBgYGFgYPzJAAR82xlQASMDSJajAVmMBYoZGBUYeBg+MPBzWoB4zAwMKskQLYycAAEGAMVkBFsNZW5kc3RyZWFtDWVuZG9iag04IDAgb2JqDTw8L01ldGFkYXRhIDEgMCBSL1BhZ2VzIDUgMCBSL1R5cGUvQ2F0YWxvZz4+DWVuZG9iag05IDAgb2JqDTw8L0FydEJveFswLjk5OTk4NSAyLjAgMjIuNzczNiAyMy4wXS9CbGVlZEJveFswLjAgMC4wIDI0LjAgMjQuMF0vQ29udGVudHMgMTEgMCBSL0Nyb3BCb3hbMC4wIDAuMCAyNC4wIDI0LjBdL01lZGlhQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9QYXJlbnQgNSAwIFIvUmVzb3VyY2VzPDwvQ29sb3JTcGFjZTw8L0NTMCAxNCAwIFI+Pi9FeHRHU3RhdGU8PC9HUzAgMTUgMCBSPj4vUHJvcGVydGllczw8L01DMCAxNiAwIFI+Pj4+L1JvdGF0ZSAwL1RyaW1Cb3hbMC4wIDAuMCAyNC4wIDI0LjBdL1R5cGUvUGFnZT4+DWVuZG9iag0xMCAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvRmlyc3QgMTgvTGVuZ3RoIDE5NC9OIDMvVHlwZS9PYmpTdG0+PnN0cmVhbQ0KaN40jksLwjAQhP/KHvXidmNbPUihVpGC1WLFi3iIukIwfZDG1783tHocZr6ZIR88oABoChQCkQ9HTJNkLlu+Agln7k6zGcZpATepW8Z5hpvalFJjEgONPNzmP2ebZ0BYxGDNg7HIZHt30Ypx/2kYl2+7Kqy0jBfZcXXTc1Hk+pNa1+YoPCF8GItJOIUwCMbBCReqLN2TfmF5VVaeNfcLueGn4tdfqMq6YCf2ymoerOWHDdAQD6pVfyqKvgIMAOTGSoQNZW5kc3RyZWFtDWVuZG9iag0xMSAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDQ1OT4+c3RyZWFtDQpIiWRUy24bMQy86yv0A0uLFPW6xi16aQ5BDz0XQtoenACJT/37DiXt2khge5fD5WM05Pr0/de/53d/ejwH//Dl7N3p/CP4fvVhfPy1v7rTN7j+XN2b5+Fkz0qsKflEUiT5/uLM/+I2oSzFRypS/cVtFpY/wi1almEhqfIJB9KkgIGipttTpgr3B7iXDof11/12T+4NHlH7bvi9P7uf/vWefyMVaeDP3PiOP3pHhXnZTSFVGQ0Oi2ppCzFJsxhmXTauIN3dRDgCSFnG0rM7K5vAtlaegqnEBS87xCHB60biE2bc2uBixQ4I/UBtwUgxsbeMnBbYyU0k1DC7mTMJ3HPrU8dDMiVlRQm5qdUo1TzE4oiZicXl4QNf0FygmBzT5EDJwg9USrawmKElmxXMb9057TbilcCIx97dJ+qtaHcLlRlvppLECsbYo+LFT7piM/A2yEgt2gq0oR12E2fP47rbCpVmVKaMzTXlJIov0E9HhRALUFJbiCJ82AnKzqjubHpi4pdg5AAT2+pEHu+CgUC5zjGLTUFaRN6ssqXVbDYAtA6z8wGM1Ars61x42YzyfjBAO80BeAx6BM5bX2/O10f8CTy5/wIMAHNkyUANZW5kc3RyZWFtDWVuZG9iag0xMiAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDI1NzQvTiAzPj5zdHJlYW0NCkiJnJZ5VFN3Fsd/b8mekJWww2MNW4CwBpA1bGGRHQRRCEkIARJCSNgFQUQFFEVEhKqVMtZtdEZPRZ0urmOtDtZ96tID9TDq6Di0FteOnRc4R51OZ6bT7x/v9zn3d+/v3d+9953zAKAnpaq11TALAI3WoM9KjMUWFRRipAkAAwogAhEAMnmtLi07IQfgksZLsFrcCfyLnl4HkGm9IkzKwDDw/4kt1+kNAEAZOAcolLVynDtxrqo36Ez2GZx5pZUmhlET6/EEcbY0sWqeved85jnaxAqNVoGzKWedQqMw8WmcV9cZlTgjqTh31amV9ThfxdmlyqhR4/zcFKtRymoBQOkmu0EpL8fZD2e6PidLgvMCAMh01Ttc+g4blA0G06Uk1bpGvVpVbsDc5R6YKDRUjCUp66uUBoMwQyavlOkVmKRao5NpGwGYv/OcOKbaYniRg0WhwcFCfx/RO4X6r5u/UKbeztOTzLmeQfwLb20/51c9CoB4Fq/N+re20i0AjK8EwPLmW5vL+wAw8b4dvvjOffimeSk3GHRhvr719fU+aqXcx1TQN/qfDr9A77zPx3Tcm/JgccoymbHKgJnqJq+uqjbqsVqdTK7EhD8d4l8d+PN5eGcpy5R6pRaPyMOnTK1V4e3WKtQGdbUWU2v/UxN/ZdhPND/XuLhjrwGv2AewLvIA8rcLAOXSAFK0Dd+B3vQtlZIHMvA13+He/NzPCfr3U+E+06NWrZqLk2TlYHKjvm5+z/RZAgKgAibgAStgD5yBOxACfxACwkE0iAfJIB3kgAKwFMhBOdAAPagHLaAddIEesB5sAsNgOxgDu8F+cBCMg4/BCfBHcB58Ca6BW2ASTIOHYAY8Ba8gCCJBDIgLWUEOkCvkBflDYigSiodSoSyoACqBVJAWMkIt0AqoB+qHhqEd0G7o99BR6AR0DroEfQVNQQ+g76CXMALTYR5sB7vBvrAYjoFT4Bx4CayCa+AmuBNeBw/Bo/A++DB8Aj4PX4Mn4YfwLAIQGsJHHBEhIkYkSDpSiJQheqQV6UYGkVFkP3IMOYtcQSaRR8gLlIhyUQwVouFoEpqLytEatBXtRYfRXehh9DR6BZ1CZ9DXBAbBluBFCCNICYsIKkI9oYswSNhJ+IhwhnCNME14SiQS+UQBMYSYRCwgVhCbib3ErcQDxOPES8S7xFkSiWRF8iJFkNJJMpKB1EXaQtpH+ox0mTRNek6mkR3I/uQEciFZS+4gD5L3kD8lXybfI7+isCiulDBKOkVBaaT0UcYoxygXKdOUV1Q2VUCNoOZQK6jt1CHqfuoZ6m3qExqN5kQLpWXS1LTltCHa72if06ZoL+gcuiddQi+iG+nr6B/Sj9O/oj9hMBhujGhGIcPAWMfYzTjF+Jrx3Ixr5mMmNVOYtZmNmB02u2z2mElhujJjmEuZTcxB5iHmReYjFoXlxpKwZKxW1gjrKOsGa5bNZYvY6WwNu5e9h32OfZ9D4rhx4jkKTifnA84pzl0uwnXmSrhy7gruGPcMd5pH5Al4Ul4Fr4f3W94Eb8acYx5onmfeYD5i/on5JB/hu/Gl/Cp+H/8g/zr/pYWdRYyF0mKNxX6LyxbPLG0soy2Vlt2WByyvWb60wqzirSqtNliNW92xRq09rTOt6623WZ+xfmTDswm3kdt02xy0uWkL23raZtk2235ge8F21s7eLtFOZ7fF7pTdI3u+fbR9hf2A/af2Dxy4DpEOaocBh88c/oqZYzFYFTaEncZmHG0dkxyNjjscJxxfOQmccp06nA443XGmOoudy5wHnE86z7g4uKS5tLjsdbnpSnEVu5a7bnY96/rMTeCW77bKbdztvsBSIBU0CfYKbrsz3KPca9xH3a96ED3EHpUeWz2+9IQ9gzzLPUc8L3rBXsFeaq+tXpe8Cd6h3lrvUe8bQrowRlgn3Cuc8uH7pPp0+Iz7PPZ18S303eB71ve1X5Bfld+Y3y0RR5Qs6hAdE33n7+kv9x/xvxrACEgIaAs4EvBtoFegMnBb4J+DuEFpQauCTgb9IzgkWB+8P/hBiEtISch7ITfEPHGGuFf8eSghNDa0LfTj0BdhwWGGsINhfw8XhleG7wm/v0CwQLlgbMHdCKcIWcSOiMlILLIk8v3IySjHKFnUaNQ30c7Riuid0fdiPGIqYvbFPI71i9XHfhT7TBImWSY5HofEJcZ1x03Ec+Jz44fjv05wSlAl7E2YSQxKbE48nkRISknakHRDaieVS3dLZ5JDkpcln06hp2SnDKd8k+qZqk89lganJadtTLu90HWhduF4OkiXpm9Mv5MhyKjJ+EMmMTMjcyTzL1mirJass9nc7OLsPdlPc2Jz+nJu5brnGnNP5jHzivJ25z3Lj8vvz59c5Lto2aLzBdYF6oIjhaTCvMKdhbOL4xdvWjxdFFTUVXR9iWBJw5JzS62XVi39pJhZLCs+VEIoyS/ZU/KDLF02KpstlZa+Vzojl8g3yx8qohUDigfKCGW/8l5ZRFl/2X1VhGqj6kF5VPlg+SO1RD2s/rYiqWJ7xbPK9MoPK3+syq86oCFrSjRHtRxtpfZ0tX11Q/UlnZeuSzdZE1azqWZGn6LfWQvVLqk9YuDhP1MXjO7Glcapusi6kbrn9Xn1hxrYDdqGC42ejWsa7zUlNP2mGW2WN59scWxpb5laFrNsRyvUWtp6ss25rbNtenni8l3t1PbK9j91+HX0d3y/In/FsU67zuWdd1cmrtzbZdal77qxKnzV9tXoavXqiTUBa7ased2t6P6ix69nsOeHXnnvF2tFa4fW/riubN1EX3DftvXE9dr11zdEbdjVz+5v6r+7MW3j4QFsoHvg+03Fm84NBg5u30zdbNw8OZT6TwCkAVv+mLiZJJmQmfyaaJrVm0Kbr5wcnImc951kndKeQJ6unx2fi5/6oGmg2KFHobaiJqKWowajdqPmpFakx6U4pammGqaLpv2nbqfgqFKoxKk3qamqHKqPqwKrdavprFys0K1ErbiuLa6hrxavi7AAsHWw6rFgsdayS7LCszizrrQltJy1E7WKtgG2ebbwt2i34LhZuNG5SrnCuju6tbsuu6e8IbybvRW9j74KvoS+/796v/XAcMDswWfB48JfwtvDWMPUxFHEzsVLxcjGRsbDx0HHv8g9yLzJOsm5yjjKt8s2y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp22vvbgNwF3IrdEN2W3hzeot8p36/gNuC94UThzOJT4tvjY+Pr5HPk/OWE5g3mlucf56noMui86Ubp0Opb6uXrcOv77IbtEe2c7ijutO9A78zwWPDl8XLx//KM8xnzp/Q09ML1UPXe9m32+/eK+Bn4qPk4+cf6V/rn+3f8B/yY/Sn9uv5L/tz/bf//AgwA94Tz+w1lbmRzdHJlYW0NZW5kb2JqDTEgMCBvYmoNPDwvTGVuZ3RoIDQ2OTIvU3VidHlwZS9YTUwvVHlwZS9NZXRhZGF0YT4+c3RyZWFtDQo8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzAxNSA4NC4xNTk4MTAsIDIwMTYvMDkvMTAtMDI6NDE6MzAgICAgICAgICI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgICAgICAgICAgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iCiAgICAgICAgICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiCiAgICAgICAgICAgIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIgogICAgICAgICAgICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgICAgICAgICAgIHhtbG5zOnBkZj0iaHR0cDovL25zLmFkb2JlLmNvbS9wZGYvMS4zLyI+CiAgICAgICAgIDx4bXA6Q3JlYXRlRGF0ZT4yMDE3LTA5LTE4VDE2OjAzOjIwKzAyOjAwPC94bXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhtcDpNZXRhZGF0YURhdGU+MjAxOC0wMS0yMlQwOToyOToyNlo8L3htcDpNZXRhZGF0YURhdGU+CiAgICAgICAgIDx4bXA6TW9kaWZ5RGF0ZT4yMDE4LTAxLTIyVDA5OjI5OjI2WjwveG1wOk1vZGlmeURhdGU+CiAgICAgICAgIDx4bXA6Q3JlYXRvclRvb2w+QWRvYmUgSWxsdXN0cmF0b3IgQ0MgMjAxNyAoTWFjaW50b3NoKTwveG1wOkNyZWF0b3JUb29sPgogICAgICAgICA8eG1wTU06SW5zdGFuY2VJRD51dWlkOjQ0MTJlNDM3LTE2YzYtNzA0Mi05YThkLWYwYzRiYjM1Yjg1NzwveG1wTU06SW5zdGFuY2VJRD4KICAgICAgICAgPHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1NzwveG1wTU06T3JpZ2luYWxEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06RG9jdW1lbnRJRD54bXAuaWQ6OWZiZGUyNjYtY2Q0Yi00NmJlLThjZmEtN2ZjMTIwODhhNDAzPC94bXBNTTpEb2N1bWVudElEPgogICAgICAgICA8eG1wTU06UmVuZGl0aW9uQ2xhc3M+cHJvb2Y6cGRmPC94bXBNTTpSZW5kaXRpb25DbGFzcz4KICAgICAgICAgPHhtcE1NOkhpc3Rvcnk+CiAgICAgICAgICAgIDxyZGY6U2VxPgogICAgICAgICAgICAgICA8cmRmOmxpIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmFjdGlvbj5jb252ZXJ0ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnBhcmFtZXRlcnM+ZnJvbSBhcHBsaWNhdGlvbi94LWluZGVzaWduIHRvIGFwcGxpY2F0aW9uL3BkZjwvc3RFdnQ6cGFyYW1ldGVycz4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OnNvZnR3YXJlQWdlbnQ+QWRvYmUgSW5EZXNpZ24gQ0MgMjAxNSAoTWFjaW50b3NoKTwvc3RFdnQ6c29mdHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OmNoYW5nZWQ+Lzwvc3RFdnQ6Y2hhbmdlZD4KICAgICAgICAgICAgICAgICAgPHN0RXZ0OndoZW4+MjAxNi0wMy0wOVQwOTo0MzoxOCswMTowMDwvc3RFdnQ6d2hlbj4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAgICAgICA8eG1wTU06RGVyaXZlZEZyb20gcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICA8c3RSZWY6aW5zdGFuY2VJRD54bXAuaWlkOmFkYTc4YWI0LTE3ZTAtNGMzMy1iNWQ4LTNlODhjYzk1MWIwYTwvc3RSZWY6aW5zdGFuY2VJRD4KICAgICAgICAgICAgPHN0UmVmOmRvY3VtZW50SUQ+eG1wLmRpZDo5MGY3NDMyNi00ODE1LTRkMzYtYjNhOS03ZTk0MzJmMzdlNTc8L3N0UmVmOmRvY3VtZW50SUQ+CiAgICAgICAgICAgIDxzdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+eG1wLmRpZDo5MGY3NDMyNi00ODE1LTRkMzYtYjNhOS03ZTk0MzJmMzdlNTc8L3N0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOnJlbmRpdGlvbkNsYXNzPmRlZmF1bHQ8L3N0UmVmOnJlbmRpdGlvbkNsYXNzPgogICAgICAgICA8L3htcE1NOkRlcml2ZWRGcm9tPgogICAgICAgICA8ZGM6Zm9ybWF0PmFwcGxpY2F0aW9uL3BkZjwvZGM6Zm9ybWF0PgogICAgICAgICA8ZGM6dGl0bGU+CiAgICAgICAgICAgIDxyZGY6QWx0PgogICAgICAgICAgICAgICA8cmRmOmxpIHhtbDpsYW5nPSJ4LWRlZmF1bHQiPm5vdGVfbmV3cGFyYWdyYXBoX3RoaW48L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6QWx0PgogICAgICAgICA8L2RjOnRpdGxlPgogICAgICAgICA8cGRmOlByb2R1Y2VyPkFkb2JlIFBERiBsaWJyYXJ5IDE1LjAwPC9wZGY6UHJvZHVjZXI+CiAgICAgICAgIDxwZGY6VHJhcHBlZD5GYWxzZTwvcGRmOlRyYXBwZWQ+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4NZW5kc3RyZWFtDWVuZG9iag0yIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCA0L0xlbmd0aCA0OC9OIDEvVHlwZS9PYmpTdG0+PnN0cmVhbQ0KaN4yVTBQsLHRd84vzStRMNT3zkwpjrYEigXF6odUFqTqBySmpxbb2QEEGADWdwuADWVuZHN0cmVhbQ1lbmRvYmoNMyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvRmlyc3QgNC9MZW5ndGggMTczL04gMS9UeXBlL09ialN0bT4+c3RyZWFtDQpo3kSM0QqCMBiFX2V3OoL2b5FliBCK0IXgRVchyHQ/ORibzEn09ikR3R3O+c6XECBZxgqPMmhnSxkwLi8C+AlSfuYJHATsQEQAEf1SzsdX5XokN2OWOfitIUVBtg9p41oO2gY3jy2lrHbqbzwDFwJSkYrkQVnjnVoG/MmasiJG9176N+HHPQBldx0MxtYF7Cy+Junl08tp7MKo7bqueULFKmlmzPOPAAMA8q495A1lbmRzdHJlYW0NZW5kb2JqDTQgMCBvYmoNPDwvRGVjb2RlUGFybXM8PC9Db2x1bW5zIDMvUHJlZGljdG9yIDEyPj4vRmlsdGVyL0ZsYXRlRGVjb2RlL0lEWzxGOUYyQkEwQ0NCQzA0MkMwQjJBQTU3NzAzRTE0NkM3Qz48MUU5QTY3QjY2MDRFNDdGNjhBNzdDRkM4OUExRjlDNDQ+XS9JbmZvIDYgMCBSL0xlbmd0aCAzNy9Sb290IDggMCBSL1NpemUgNy9UeXBlL1hSZWYvV1sxIDIgMF0+PnN0cmVhbQ0KaN5iYmBgYGIUtGBiEFrAxMDYDcScTIy3pzExMDACBBgAIpUDFA1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0xMTYNJSVFT0YN"),!0,!0,!1),Module.FS_createDataFile("/assets/NoteIcons","note_circle_thin.pdf",decodeBase64("JVBERi0xLjYNJeLjz9MNCjcgMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgOTU2NS9PIDkvRSA0MTIxL04gMS9UIDkyODAvSCBbIDQ0NiAxMzZdPj4NZW5kb2JqDSAgICAgICAgICAgICAgICAgICAgICAgIA0xMyAwIG9iag08PC9EZWNvZGVQYXJtczw8L0NvbHVtbnMgNC9QcmVkaWN0b3IgMTI+Pi9GaWx0ZXIvRmxhdGVEZWNvZGUvSURbPEY5OTdFMThEMEY4RDRCMENCNkU5QjNGMjREMDczRDA3PjxBOEVBNzhDQjgxODY0MDVDQUREQzU2QzU1RkU4MzI1QT5dL0luZGV4WzcgMTFdL0luZm8gNiAwIFIvTGVuZ3RoIDUxL1ByZXYgOTI4MS9Sb290IDggMCBSL1NpemUgMTgvVHlwZS9YUmVmL1dbMSAyIDFdPj5zdHJlYW0NCmjeYmJkEGBgYmAyAxIMNkCCUR1EKICIH0Di92YGJkaGaSBZBkYI8Z9xyz+AAAMAdP8G1w1lbmRzdHJlYW0NZW5kb2JqDXN0YXJ0eHJlZg0wDSUlRU9GDSAgICAgICAgIA0xNyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvSSA2OS9MZW5ndGggNTgvUyAzOD4+c3RyZWFtDQpo3mJgYGBhYGD8xQAEvNMZUAEjA0iWowFZjAWKGRh+MPAwfdBg4EwAcZgZGJTtIFoYmQECDADV+wUpDWVuZHN0cmVhbQ1lbmRvYmoNOCAwIG9iag08PC9NZXRhZGF0YSAxIDAgUi9QYWdlcyA1IDAgUi9UeXBlL0NhdGFsb2c+Pg1lbmRvYmoNOSAwIG9iag08PC9BcnRCb3hbMS4wIDEuMCAyMy4wIDIzLjBdL0JsZWVkQm94WzAuMCAwLjAgMjQuMCAyNC4wXS9Db250ZW50cyAxMSAwIFIvQ3JvcEJveFswLjAgMC4wIDI0LjAgMjQuMF0vTWVkaWFCb3hbMC4wIDAuMCAyNC4wIDI0LjBdL1BhcmVudCA1IDAgUi9SZXNvdXJjZXM8PC9Db2xvclNwYWNlPDwvQ1MwIDE0IDAgUj4+L0V4dEdTdGF0ZTw8L0dTMCAxNSAwIFI+Pi9Qcm9wZXJ0aWVzPDwvTUMwIDE2IDAgUj4+Pj4vUm90YXRlIDAvVHJpbUJveFswLjAgMC4wIDI0LjAgMjQuMF0vVHlwZS9QYWdlPj4NZW5kb2JqDTEwIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9GaXJzdCAxOC9MZW5ndGggMTk0L04gMy9UeXBlL09ialN0bT4+c3RyZWFtDQpo3jSOSwvCMBCE/8oe9eJ2Y1s9SKFWkYLVYsWLeIi6QjB9kMbXvze0ehxmvpkhHzygAGgKFAKRD0dMk2QuW74CCWfuTrMZxmkBN6lbxnmGm9qUUmMSA4083OY/Z5tnQFjEYM2Dschke3fRinH/aRiXb7sqrLSMF9lxddNzUeT6k1rX5ig8IXwYi0k4hTAIxsEJF6os3ZN+YXlVVp419wu54afi11+oyrpgJ/bKah6s5YcN0BAPqlV/Koq+AgwA5MZKhA1lbmRzdHJlYW0NZW5kb2JqDTExIDAgb2JqDTw8L0ZpbHRlci9GbGF0ZURlY29kZS9MZW5ndGggMTc5Pj5zdHJlYW0NCkiJTFC7DsIwDNz9FfcDbpP0pa4UxEKHioEZRYUJpLYTf4/t0gY5di7nO1tKfrl/xhl53zkcjh1oIodQ6mHJeaQb3pR3V4e4wFlgiUKdhXouNMEb6eEDQoH4In2+iOvM1ZVA9h5cZm1RrVAy0ooak/yUHIKqpUZKzJ9uN6eB2w6NSOqWzdJqvMLWRodWgRn1rqy7aZytVDMnipOONyvvw3ahWaX1oIFOvfzdQF8BBgD/AEBbDWVuZHN0cmVhbQ1lbmRvYmoNMTIgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aCAyNTc0L04gMz4+c3RyZWFtDQpIiZyWeVRTdxbHf2/JnpCVsMNjDVuAsAaQNWxhkR0EUQhJCAESQkjYBUFEBRRFRISqlTLWbXRGT0WdLq5jrQ7WferSA/Uw6ug4tBbXjp0XOEedTmem0+8f7/c593fv793fvfed8wCgJ6WqtdUwCwCN1qDPSozFFhUUYqQJAAMKIAIRADJ5rS4tOyEH4JLGS7Ba3An8i55eB5BpvSJMysAw8P+JLdfpDQBAGTgHKJS1cpw7ca6qN+hM9hmceaWVJoZRE+vxBHG2NLFqnr3nfOY52sQKjVaBsylnnUKjMPFpnFfXGZU4I6k4d9WplfU4X8XZpcqoUeP83BSrUcpqAUDpJrtBKS/H2Q9nuj4nS4LzAgDIdNU7XPoOG5QNBtOlJNW6Rr1aVW7A3OUemCg0VIwlKeurlAaDMEMmr5TpFZikWqOTaRsBmL/znDim2mJ4kYNFocHBQn8f0TuF+q+bv1Cm3s7Tk8y5nkH8C29tP+dXPQqAeBavzfq3ttItAIyvBMDy5luby/sAMPG+Hb74zn34pnkpNxh0Yb6+9fX1Pmql3MdU0Df6nw6/QO+8z8d03JvyYHHKMpmxyoCZ6iavrqo26rFanUyuxIQ/HeJfHfjzeXhnKcuUeqUWj8jDp0ytVeHt1irUBnW1FlNr/1MTf2XYTzQ/17i4Y68Br9gHsC7yAPK3CwDl0gBStA3fgd70LZWSBzLwNd/h3vzczwn691PhPtOjVq2ai5Nk5WByo75ufs/0WQICoAIm4AErYA+cgTsQAn8QAsJBNIgHySAd5IACsBTIQTnQAD2oBy2gHXSBHrAebALDYDsYA7vBfnAQjIOPwQnwR3AefAmugVtgEkyDh2AGPAWvIAgiQQyIC1lBDpAr5AX5Q2IoEoqHUqEsqAAqgVSQFjJCLdAKqAfqh4ahHdBu6PfQUegEdA66BH0FTUEPoO+glzAC02EebAe7wb6wGI6BU+AceAmsgmvgJrgTXgcPwaPwPvgwfAI+D1+DJ+GH8CwCEBrCRxwRISJGJEg6UoiUIXqkFelGBpFRZD9yDDmLXEEmkUfIC5SIclEMFaLhaBKai8rRGrQV7UWH0V3oYfQ0egWdQmfQ1wQGwZbgRQgjSAmLCCpCPaGLMEjYSfiIcIZwjTBNeEokEvlEATGEmEQsIFYQm4m9xK3EA8TjxEvEu8RZEolkRfIiRZDSSTKSgdRF2kLaR/qMdJk0TXpOppEdyP7kBHIhWUvuIA+S95A/JV8m3yO/orAorpQwSjpFQWmk9FHGKMcoFynTlFdUNlVAjaDmUCuo7dQh6n7qGept6hMajeZEC6Vl0tS05bQh2u9on9OmaC/oHLonXUIvohvp6+gf0o/Tv6I/YTAYboxoRiHDwFjH2M04xfia8dyMa+ZjJjVTmLWZjZgdNrts9phJYboyY5hLmU3MQeYh5kXmIxaF5caSsGSsVtYI6yjrBmuWzWWL2OlsDbuXvYd9jn2fQ+K4ceI5Ck4n5wPOKc5dLsJ15kq4cu4K7hj3DHeaR+QJeFJeBa+H91veBG/GnGMeaJ5n3mA+Yv6J+SQf4bvxpfwqfh//IP86/6WFnUWMhdJijcV+i8sWzyxtLKMtlZbdlgcsr1m+tMKs4q0qrTZYjVvdsUatPa0zreutt1mfsX5kw7MJt5HbdNsctLlpC9t62mbZNtt+YHvBdtbO3i7RTme3xe6U3SN7vn20fYX9gP2n9g8cuA6RDmqHAYfPHP6KmWMxWBU2hJ3GZhxtHZMcjY47HCccXzkJnHKdOpwOON1xpjqLncucB5xPOs+4OLikubS47HW56UpxFbuWu252Pev6zE3glu+2ym3c7b7AUiAVNAn2Cm67M9yj3GvcR92vehA9xB6VHls9vvSEPYM8yz1HPC96wV7BXmqvrV6XvAneod5a71HvG0K6MEZYJ9wrnPLh+6T6dPiM+zz2dfEt9N3ge9b3tV+QX5XfmN8tEUeULOoQHRN95+/pL/cf8b8awAhICGgLOBLwbaBXoDJwW+Cfg7hBaUGrgk4G/SM4JFgfvD/4QYhLSEnIeyE3xDxxhrhX/HkoITQ2tC3049AXYcFhhrCDYX8PF4ZXhu8Jv79AsEC5YGzB3QinCFnEjojJSCyyJPL9yMkoxyhZ1GjUN9HO0YrondH3YjxiKmL2xTyO9YvVx34U+0wSJlkmOR6HxCXGdcdNxHPic+OH479OcEpQJexNmEkMSmxOPJ5ESEpJ2pB0Q2onlUt3S2eSQ5KXJZ9OoadkpwynfJPqmapPPZYGpyWnbUy7vdB1oXbheDpIl6ZvTL+TIcioyfhDJjEzI3Mk8y9ZoqyWrLPZ3Ozi7D3ZT3Nic/pybuW65xpzT+Yx84ryduc9y4/L78+fXOS7aNmi8wXWBeqCI4WkwrzCnYWzi+MXb1o8XRRU1FV0fYlgScOSc0utl1Yt/aSYWSwrPlRCKMkv2VPygyxdNiqbLZWWvlc6I5fIN8sfKqIVA4oHyghlv/JeWURZf9l9VYRqo+pBeVT5YPkjtUQ9rP62Iqlie8WzyvTKDyt/rMqvOqAha0o0R7UcbaX2dLV9dUP1JZ2Xrks3WRNWs6lmRp+i31kL1S6pPWLg4T9TF4zuxpXGqbrIupG65/V59Yca2A3ahguNno1rGu81JTT9phltljefbHFsaW+ZWhazbEcr1FraerLNua2zbXp54vJd7dT2yvY/dfh19Hd8vyJ/xbFOu87lnXdXJq7c22XWpe+6sSp81fbV6Gr16ok1AWu2rHndrej+osevZ7Dnh1557xdrRWuH1v64rmzdRF9w37b1xPXa9dc3RG3Y1c/ub+q/uzFt4+EBbKB74PtNxZvODQYObt9M3WzcPDmU+k8ApAFb/pi4mSSZkJn8mmia1ZtCm6+cHJyJnPedZJ3SnkCerp8dn4uf+qBpoNihR6G2oiailqMGo3aj5qRWpMelOKWpphqmi6b9p26n4KhSqMSpN6mpqhyqj6sCq3Wr6axcrNCtRK24ri2uoa8Wr4uwALB1sOqxYLHWskuywrM4s660JbSctRO1irYBtnm28Ldot+C4WbjRuUq5wro7urW7LrunvCG8m70VvY++Cr6Evv+/er/1wHDA7MFnwePCX8Lbw1jD1MRRxM7FS8XIxkbGw8dBx7/IPci8yTrJuco4yrfLNsu2zDXMtc01zbXONs62zzfPuNA50LrRPNG+0j/SwdNE08bUSdTL1U7V0dZV1tjXXNfg2GTY6Nls2fHadtr724DcBdyK3RDdlt4c3qLfKd+v4DbgveFE4cziU+Lb42Pj6+Rz5PzlhOYN5pbnH+ep6DLovOlG6dDqW+rl63Dr++yG7RHtnO4o7rTvQO/M8Fjw5fFy8f/yjPMZ86f0NPTC9VD13vZt9vv3ivgZ+Kj5OPnH+lf65/t3/Af8mP0p/br+S/7c/23//wIMAPeE8/sNZW5kc3RyZWFtDWVuZG9iag0xIDAgb2JqDTw8L0xlbmd0aCA0Njg2L1N1YnR5cGUvWE1ML1R5cGUvTWV0YWRhdGE+PnN0cmVhbQ0KPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMwMTUgODQuMTU5ODEwLCAyMDE2LzA5LzEwLTAyOjQxOjMwICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgICAgICAgICB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIgogICAgICAgICAgICB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczpwZGY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGRmLzEuMy8iPgogICAgICAgICA8eG1wOkNyZWF0ZURhdGU+MjAxNy0wOS0xOFQxNjowMzoyMCswMjowMDwveG1wOkNyZWF0ZURhdGU+CiAgICAgICAgIDx4bXA6TWV0YWRhdGFEYXRlPjIwMTgtMDEtMjJUMDk6MjQ6NDRaPC94bXA6TWV0YWRhdGFEYXRlPgogICAgICAgICA8eG1wOk1vZGlmeURhdGU+MjAxOC0wMS0yMlQwOToyNDo0NFo8L3htcDpNb2RpZnlEYXRlPgogICAgICAgICA8eG1wOkNyZWF0b3JUb29sPkFkb2JlIElsbHVzdHJhdG9yIENDIDIwMTcgKE1hY2ludG9zaCk8L3htcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhtcE1NOkluc3RhbmNlSUQ+dXVpZDo3Y2MzMWYxYy0wNjMxLTIzNGUtOTA4Ny00NDUzMWM5NTBmMDM8L3htcE1NOkluc3RhbmNlSUQ+CiAgICAgICAgIDx4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+eG1wLmRpZDo5MGY3NDMyNi00ODE1LTRkMzYtYjNhOS03ZTk0MzJmMzdlNTc8L3htcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOkRvY3VtZW50SUQ+eG1wLmlkOjlmYmRlMjY2LWNkNGItNDZiZS04Y2ZhLTdmYzEyMDg4YTQwMzwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1NOlJlbmRpdGlvbkNsYXNzPnByb29mOnBkZjwveG1wTU06UmVuZGl0aW9uQ2xhc3M+CiAgICAgICAgIDx4bXBNTTpIaXN0b3J5PgogICAgICAgICAgICA8cmRmOlNlcT4KICAgICAgICAgICAgICAgPHJkZjpsaSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDphY3Rpb24+Y29udmVydGVkPC9zdEV2dDphY3Rpb24+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpwYXJhbWV0ZXJzPmZyb20gYXBwbGljYXRpb24veC1pbmRlc2lnbiB0byBhcHBsaWNhdGlvbi9wZGY8L3N0RXZ0OnBhcmFtZXRlcnM+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50PkFkb2JlIEluRGVzaWduIENDIDIwMTUgKE1hY2ludG9zaCk8L3N0RXZ0OnNvZnR3YXJlQWdlbnQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpjaGFuZ2VkPi88L3N0RXZ0OmNoYW5nZWQ+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDp3aGVuPjIwMTYtMDMtMDlUMDk6NDM6MTgrMDE6MDA8L3N0RXZ0OndoZW4+CiAgICAgICAgICAgICAgIDwvcmRmOmxpPgogICAgICAgICAgICA8L3JkZjpTZXE+CiAgICAgICAgIDwveG1wTU06SGlzdG9yeT4KICAgICAgICAgPHhtcE1NOkRlcml2ZWRGcm9tIHJkZjpwYXJzZVR5cGU9IlJlc291cmNlIj4KICAgICAgICAgICAgPHN0UmVmOmluc3RhbmNlSUQ+eG1wLmlpZDphZGE3OGFiNC0xN2UwLTRjMzMtYjVkOC0zZTg4Y2M5NTFiMGE8L3N0UmVmOmluc3RhbmNlSUQ+CiAgICAgICAgICAgIDxzdFJlZjpkb2N1bWVudElEPnhtcC5kaWQ6OTBmNzQzMjYtNDgxNS00ZDM2LWIzYTktN2U5NDMyZjM3ZTU3PC9zdFJlZjpkb2N1bWVudElEPgogICAgICAgICAgICA8c3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6OTBmNzQzMjYtNDgxNS00ZDM2LWIzYTktN2U5NDMyZjM3ZTU3PC9zdFJlZjpvcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgICAgIDxzdFJlZjpyZW5kaXRpb25DbGFzcz5kZWZhdWx0PC9zdFJlZjpyZW5kaXRpb25DbGFzcz4KICAgICAgICAgPC94bXBNTTpEZXJpdmVkRnJvbT4KICAgICAgICAgPGRjOmZvcm1hdD5hcHBsaWNhdGlvbi9wZGY8L2RjOmZvcm1hdD4KICAgICAgICAgPGRjOnRpdGxlPgogICAgICAgICAgICA8cmRmOkFsdD4KICAgICAgICAgICAgICAgPHJkZjpsaSB4bWw6bGFuZz0ieC1kZWZhdWx0Ij5ub3RlX2NpcmNsZV90aGluPC9yZGY6bGk+CiAgICAgICAgICAgIDwvcmRmOkFsdD4KICAgICAgICAgPC9kYzp0aXRsZT4KICAgICAgICAgPHBkZjpQcm9kdWNlcj5BZG9iZSBQREYgbGlicmFyeSAxNS4wMDwvcGRmOlByb2R1Y2VyPgogICAgICAgICA8cGRmOlRyYXBwZWQ+RmFsc2U8L3BkZjpUcmFwcGVkPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgIAo8P3hwYWNrZXQgZW5kPSJ3Ij8+DWVuZHN0cmVhbQ1lbmRvYmoNMiAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvRmlyc3QgNC9MZW5ndGggNDgvTiAxL1R5cGUvT2JqU3RtPj5zdHJlYW0NCmjeMlUwULCx0XfOL80rUTDU985MKY62BIoFxeqHVBak6gckpqcW29kBBBgA1ncLgA1lbmRzdHJlYW0NZW5kb2JqDTMgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0ZpcnN0IDQvTGVuZ3RoIDE2Ny9OIDEvVHlwZS9PYmpTdG0+PnN0cmVhbQ0KaN5EjEELgjAYQP/Kbm4E7dsy0xAhFKGD4KFTCDL1AwdjkzkP/fuSiK6P915CgOQ5Lz2qoJ2tVEBaXSWIC2QiFQmcJBxARgAR+1rO09vkBiR3Y7Y1+J2QsiR7QzraqFHb4Na5Y4w3bvofUxBSQibjOH4y3no3bSP+Zm1VE6MHr/yLiPMRgPGHDgapdQH7UfvRYB9mbT/cq2XBidfKrFgUbwEGAHpAO1ENZW5kc3RyZWFtDWVuZG9iag00IDAgb2JqDTw8L0RlY29kZVBhcm1zPDwvQ29sdW1ucyAzL1ByZWRpY3RvciAxMj4+L0ZpbHRlci9GbGF0ZURlY29kZS9JRFs8Rjk5N0UxOEQwRjhENEIwQ0I2RTlCM0YyNEQwNzNEMDc+PEE4RUE3OENCODE4NjQwNUNBRERDNTZDNTVGRTgzMjVBPl0vSW5mbyA2IDAgUi9MZW5ndGggMzcvUm9vdCA4IDAgUi9TaXplIDcvVHlwZS9YUmVmL1dbMSAyIDBdPj5zdHJlYW0NCmjeYmJgYGBiFJBkYhCaxcTA2A3EzEyMdw4yMTAwAgQYACA1AxQNZW5kc3RyZWFtDWVuZG9iag1zdGFydHhyZWYNMTE2DSUlRU9GDQ=="),!0,!0,!1),Module.FS_createDataFile("/assets/Signatures","digital-signatures-watermark.pdf",decodeBase64("JVBERi0xLjcNJeLjz9MNCjggMCBvYmoNPDwvTGluZWFyaXplZCAxL0wgODU2Ny9PIDEwL0UgNDcyNC9OIDEvVCA4MjkzL0ggWyA0NzYgMTgwXT4+DWVuZG9iag0gICAgICAgICAgICAgICAgICAgICAgIA14cmVmDTggOQ0wMDAwMDAwMDE2IDAwMDAwIG4NCjAwMDAwMDA2NTYgMDAwMDAgbg0KMDAwMDAwMDgyNCAwMDAwMCBuDQowMDAwMDAxMTQwIDAwMDAwIG4NCjAwMDAwMDEyNDIgMDAwMDAgbg0KMDAwMDAwMTM1NSAwMDAwMCBuDQowMDAwMDA0MDAzIDAwMDAwIG4NCjAwMDAwMDQwMzggMDAwMDAgbg0KMDAwMDAwMDQ3NiAwMDAwMCBuDQp0cmFpbGVyDTw8L1NpemUgMTcvUm9vdCA5IDAgUi9JbmZvIDcgMCBSL0lEWzxERDRFMkE0OTBCMUU0RDQ4QkYxODlFRUQzMEI2RjlFND48RTc1OEY1RkM3REVCNERGNDk5RkM5OTY5OTEwMjc3QTA+XS9QcmV2IDgyODU+Pg1zdGFydHhyZWYNMA0lJUVPRg0gICAgICAgICAgICAgICAgICAgICAgICAgIA0xNiAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvSSAxMzEvTGVuZ3RoIDkwL08gMTE1L1MgMzYvVCA3Mz4+c3RyZWFtDQpo3mJgYGBjYGBqYQACfhsGTMDCwAEkGRkYBA8wgNWC+QwMygw8ghOcWV6ZMjB1M2y8C1HKICIBUQwEC8EkIwM2wMzAIPwOKqsFxOwMDHIfofwdAAEGAIopCeYNZW5kc3RyZWFtDWVuZG9iag05IDAgb2JqDTw8L0V4dGVuc2lvbnM8PC9BREJFPDwvQmFzZVZlcnNpb24vMS43L0V4dGVuc2lvbkxldmVsIDM+Pj4+L01ldGFkYXRhIDYgMCBSL091dGxpbmVzIDMgMCBSL1BhZ2VzIDUgMCBSL1R5cGUvQ2F0YWxvZy9WaWV3ZXJQcmVmZXJlbmNlczw8L0RpcmVjdGlvbi9SMkw+Pj4+DWVuZG9iag0xMCAwIG9iag08PC9BcnRCb3hbMC4wIDAuMCAzMS4xODExIDMxLjE4MTFdL0JsZWVkQm94WzAuMCAwLjAgMzEuMTgxMSAzMS4xODExXS9Db250ZW50cyAxMSAwIFIvQ3JvcEJveFswLjAgMC4wIDMxLjE4MTEgMzEuMTgxMV0vTWVkaWFCb3hbMC4wIDAuMCAzMS4xODExIDMxLjE4MTFdL1BhcmVudCA1IDAgUi9SZXNvdXJjZXM8PC9FeHRHU3RhdGU8PC9HUzAgMTIgMCBSPj4vWE9iamVjdDw8L0ZtMCAxNSAwIFI+Pj4+L1JvdGF0ZSAwL1RhYnMvVy9UaHVtYiA0IDAgUi9UcmltQm94WzAuMCAwLjAgMzEuMTgxMSAzMS4xODExXS9UeXBlL1BhZ2U+Pg1lbmRvYmoNMTEgMCBvYmoNPDwvRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aCAzND4+c3RyZWFtDQpIiSrk0ncPNlBIL+YyUAjx0XfLNVBwyecK5AIIMABJbgWzDWVuZHN0cmVhbQ1lbmRvYmoNMTIgMCBvYmoNPDwvQUlTIGZhbHNlL0JNL05vcm1hbC9DQSAxLjAvT1AgZmFsc2UvT1BNIDEvU0EgdHJ1ZS9TTWFzay9Ob25lL1R5cGUvRXh0R1N0YXRlL2NhIDEuMC9vcCBmYWxzZT4+DWVuZG9iag0xMyAwIG9iag08PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDI1NzQvTiAzPj5zdHJlYW0NCkiJnJZ5VFN3Fsd/b8mekJWww2MNW4CwBpA1bGGRHQRRCEkIARJCSNgFQUQFFEVEhKqVMtZtdEZPRZ0urmOtDtZ96tID9TDq6Di0FteOnRc4R51OZ6bT7x/v9zn3d+/v3d+9953zAKAnpaq11TALAI3WoM9KjMUWFRRipAkAAwogAhEAMnmtLi07IQfgksZLsFrcCfyLnl4HkGm9IkzKwDDw/4kt1+kNAEAZOAcolLVynDtxrqo36Ez2GZx5pZUmhlET6/EEcbY0sWqeved85jnaxAqNVoGzKWedQqMw8WmcV9cZlTgjqTh31amV9ThfxdmlyqhR4/zcFKtRymoBQOkmu0EpL8fZD2e6PidLgvMCAMh01Ttc+g4blA0G06Uk1bpGvVpVbsDc5R6YKDRUjCUp66uUBoMwQyavlOkVmKRao5NpGwGYv/OcOKbaYniRg0WhwcFCfx/RO4X6r5u/UKbeztOTzLmeQfwLb20/51c9CoB4Fq/N+re20i0AjK8EwPLmW5vL+wAw8b4dvvjOffimeSk3GHRhvr719fU+aqXcx1TQN/qfDr9A77zPx3Tcm/JgccoymbHKgJnqJq+uqjbqsVqdTK7EhD8d4l8d+PN5eGcpy5R6pRaPyMOnTK1V4e3WKtQGdbUWU2v/UxN/ZdhPND/XuLhjrwGv2AewLvIA8rcLAOXSAFK0Dd+B3vQtlZIHMvA13+He/NzPCfr3U+E+06NWrZqLk2TlYHKjvm5+z/RZAgKgAibgAStgD5yBOxACfxACwkE0iAfJIB3kgAKwFMhBOdAAPagHLaAddIEesB5sAsNgOxgDu8F+cBCMg4/BCfBHcB58Ca6BW2ASTIOHYAY8Ba8gCCJBDIgLWUEOkCvkBflDYigSiodSoSyoACqBVJAWMkIt0AqoB+qHhqEd0G7o99BR6AR0DroEfQVNQQ+g76CXMALTYR5sB7vBvrAYjoFT4Bx4CayCa+AmuBNeBw/Bo/A++DB8Aj4PX4Mn4YfwLAIQGsJHHBEhIkYkSDpSiJQheqQV6UYGkVFkP3IMOYtcQSaRR8gLlIhyUQwVouFoEpqLytEatBXtRYfRXehh9DR6BZ1CZ9DXBAbBluBFCCNICYsIKkI9oYswSNhJ+IhwhnCNME14SiQS+UQBMYSYRCwgVhCbib3ErcQDxOPES8S7xFkSiWRF8iJFkNJJMpKB1EXaQtpH+ox0mTRNek6mkR3I/uQEciFZS+4gD5L3kD8lXybfI7+isCiulDBKOkVBaaT0UcYoxygXKdOUV1Q2VUCNoOZQK6jt1CHqfuoZ6m3qExqN5kQLpWXS1LTltCHa72if06ZoL+gcuiddQi+iG+nr6B/Sj9O/oj9hMBhujGhGIcPAWMfYzTjF+Jrx3Ixr5mMmNVOYtZmNmB02u2z2mElhujJjmEuZTcxB5iHmReYjFoXlxpKwZKxW1gjrKOsGa5bNZYvY6WwNu5e9h32OfZ9D4rhx4jkKTifnA84pzl0uwnXmSrhy7gruGPcMd5pH5Al4Ul4Fr4f3W94Eb8acYx5onmfeYD5i/on5JB/hu/Gl/Cp+H/8g/zr/pYWdRYyF0mKNxX6LyxbPLG0soy2Vlt2WByyvWb60wqzirSqtNliNW92xRq09rTOt6623WZ+xfmTDswm3kdt02xy0uWkL23raZtk2235ge8F21s7eLtFOZ7fF7pTdI3u+fbR9hf2A/af2Dxy4DpEOaocBh88c/oqZYzFYFTaEncZmHG0dkxyNjjscJxxfOQmccp06nA443XGmOoudy5wHnE86z7g4uKS5tLjsdbnpSnEVu5a7bnY96/rMTeCW77bKbdztvsBSIBU0CfYKbrsz3KPca9xH3a96ED3EHpUeWz2+9IQ9gzzLPUc8L3rBXsFeaq+tXpe8Cd6h3lrvUe8bQrowRlgn3Cuc8uH7pPp0+Iz7PPZ18S303eB71ve1X5Bfld+Y3y0RR5Qs6hAdE33n7+kv9x/xvxrACEgIaAs4EvBtoFegMnBb4J+DuEFpQauCTgb9IzgkWB+8P/hBiEtISch7ITfEPHGGuFf8eSghNDa0LfTj0BdhwWGGsINhfw8XhleG7wm/v0CwQLlgbMHdCKcIWcSOiMlILLIk8v3IySjHKFnUaNQ30c7Riuid0fdiPGIqYvbFPI71i9XHfhT7TBImWSY5HofEJcZ1x03Ec+Jz44fjv05wSlAl7E2YSQxKbE48nkRISknakHRDaieVS3dLZ5JDkpcln06hp2SnDKd8k+qZqk89lganJadtTLu90HWhduF4OkiXpm9Mv5MhyKjJ+EMmMTMjcyTzL1mirJass9nc7OLsPdlPc2Jz+nJu5brnGnNP5jHzivJ25z3Lj8vvz59c5Lto2aLzBdYF6oIjhaTCvMKdhbOL4xdvWjxdFFTUVXR9iWBJw5JzS62XVi39pJhZLCs+VEIoyS/ZU/KDLF02KpstlZa+Vzojl8g3yx8qohUDigfKCGW/8l5ZRFl/2X1VhGqj6kF5VPlg+SO1RD2s/rYiqWJ7xbPK9MoPK3+syq86oCFrSjRHtRxtpfZ0tX11Q/UlnZeuSzdZE1azqWZGn6LfWQvVLqk9YuDhP1MXjO7Glcapusi6kbrn9Xn1hxrYDdqGC42ejWsa7zUlNP2mGW2WN59scWxpb5laFrNsRyvUWtp6ss25rbNtenni8l3t1PbK9j91+HX0d3y/In/FsU67zuWdd1cmrtzbZdal77qxKnzV9tXoavXqiTUBa7ased2t6P6ix69nsOeHXnnvF2tFa4fW/riubN1EX3DftvXE9dr11zdEbdjVz+5v6r+7MW3j4QFsoHvg+03Fm84NBg5u30zdbNw8OZT6TwCkAVv+mLiZJJmQmfyaaJrVm0Kbr5wcnImc951kndKeQJ6unx2fi5/6oGmg2KFHobaiJqKWowajdqPmpFakx6U4pammGqaLpv2nbqfgqFKoxKk3qamqHKqPqwKrdavprFys0K1ErbiuLa6hrxavi7AAsHWw6rFgsdayS7LCszizrrQltJy1E7WKtgG2ebbwt2i34LhZuNG5SrnCuju6tbsuu6e8IbybvRW9j74KvoS+/796v/XAcMDswWfB48JfwtvDWMPUxFHEzsVLxcjGRsbDx0HHv8g9yLzJOsm5yjjKt8s2y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp22vvbgNwF3IrdEN2W3hzeot8p36/gNuC94UThzOJT4tvjY+Pr5HPk/OWE5g3mlucf56noMui86Ubp0Opb6uXrcOv77IbtEe2c7ijutO9A78zwWPDl8XLx//KM8xnzp/Q09ML1UPXe9m32+/eK+Bn4qPk4+cf6V/rn+3f8B/yY/Sn9uv5L/tz/bf//AgwA94Tz+w1lbmRzdHJlYW0NZW5kb2JqDTE0IDAgb2JqDVsvSUNDQmFzZWQgMTMgMCBSXQ1lbmRvYmoNMTUgMCBvYmoNPDwvQkJveFswLjAgMzEuMTgxMSAzMS4xODExIDAuMF0vRmlsdGVyL0ZsYXRlRGVjb2RlL0xlbmd0aCA0NzcvTWF0cml4WzEuMCAwLjAgMC4wIDEuMCAwLjAgMC4wXS9SZXNvdXJjZXM8PC9Db2xvclNwYWNlPDwvQ1MwIDE0IDAgUj4+L0V4dEdTdGF0ZTw8L0dTMCAxMiAwIFI+Pj4+L1N1YnR5cGUvRm9ybT4+c3RyZWFtDQpIiTRTS6ocMQzc+xS6QOtZsmRJ67fIOuQIDcnqBcJAYG6fkpsw0NOy9akqVX98/ph0v2hy6nnsfi4let2/x8c33P56jT8kNPETEuc1vUiEfUfS/TX64mssnhYkbLJI0cHw7kl/x2RfQotXbrqUpxZtnqV0TVYJKpYqujuvNkn/LdTudBLl5fhjVTwNtX4Sd1kDKe8egVYSOPNuvwUYk10AbVwoCfTEiBS6NqtZR9pQAtHuysAdchPHmIIklb61kjMztCu9Dpw4CC4HzWys5QfDDAdDX5veAyBQuVnAut8tyaFHQIoLKuAU8hjKDCN2V2/UYfzUdaIHenHE6b1n0gW5061DD2TJYhHcCld0MnA6dEd/h6IXtFFDiLkGELhNzeZUU/6nK2gVW3NFtxXPkKcr1Mesplf+YMnTFs7Y1VBPmFw7D3Bf3dwhJ5I329yHXVojEhgLewS5dy9E1sFt8BAuszpYLq0OOMrhaHAPhq925IJGUPHRJr2dgiZNFihnkUGwdYSGD2BOWKOnTEUidtl4cQo1AqOtVynolcdf7YjjPTBW7OnsuZeeTQxlru2zsyZlny2GtHnxNYAXHLBYoxprRH8SgnyeIHEPhyzUgub5ct7j5/g+/gkwAD7apr4NZW5kc3RyZWFtDWVuZG9iag0xIDAgb2JqDVsvSW5kZXhlZC9EZXZpY2VSR0IgMjU1IDIgMCBSXQ1lbmRvYmoNMiAwIG9iag08PC9GaWx0ZXJbL0FTQ0lJODVEZWNvZGUvRmxhdGVEZWNvZGVdL0xlbmd0aCA0Mjg+PnN0cmVhbQ0KODtYXU8+RXFOQCUnJ09fQCVlQD9KOyUrOCg5ZT5YPU1SNlM/aV5ZZ0EzPV0uSERYRi5SJGxJTEAicEorRVAoJTAKYl02YWptTlpuKiE9J09RWmVRXlkqLD1dP0MuQitcVWxnOWRoRCoiaUNbOyo9M2BvUDFbIVNeKT8xKUlaNGR1cGAKRTFyIS8sKjBbKjkuYUZJUjImYi1DI3M8WGw1RkhAWzw9ISM2Vil1REJYbklyLkY+b1JaN0RsJU1MWVwuP2Q+TW4KNiVRMm9ZZk5SRiQkK09OPCtdUlVKbUMwSTxqbEwub1hpc1o7U1lVWy83IzwmMzdyY2xRS3FlSmUjLFVGN1JnYjEKVk5XRktmPm5EWjRPVHMwUyFzYUc+R0dLVWxRKlE/NDU6Q0kmNEonXzJqPGV0SklDajdlN25QTWI9TzZTN1VPSDwKUE83clxJLkh1JmUwZCZFPC4nKWZFUnIvbCsqVywpcV5EKmFpNTx1dUxYLjdnLz4kWEtyY1lwMG4rWGxfblUqTygKbFskNk5uK1pfTnEwXXM3aHNdYFhYMW5aOCY5NGFcfj4NZW5kc3RyZWFtDWVuZG9iag0zIDAgb2JqDTw8L0NvdW50IDAvVHlwZS9PdXRsaW5lcz4+DWVuZG9iag00IDAgb2JqDTw8L0JpdHNQZXJDb21wb25lbnQgOC9Db2xvclNwYWNlIDEgMCBSL0ZpbHRlclsvQVNDSUk4NURlY29kZS9GbGF0ZURlY29kZV0vSGVpZ2h0IDMvTGVuZ3RoIDI1L1dpZHRoIDM+PnN0cmVhbQ0KODtYcGxCJ283SzVkMitLXl01TTAjJj1+Pg1lbmRzdHJlYW0NZW5kb2JqDTUgMCBvYmoNPDwvQ291bnQgMS9LaWRzWzEwIDAgUl0vVHlwZS9QYWdlcz4+DWVuZG9iag02IDAgb2JqDTw8L0xlbmd0aCAyNDg4L1N1YnR5cGUvWE1ML1R5cGUvTWV0YWRhdGE+PnN0cmVhbQ0KPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxMTEgNzkuMTU4MzY2LCAyMDE1LzA5LzI1LTAxOjEyOjAwICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iCiAgICAgICAgICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgICAgICAgICB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIgogICAgICAgICAgICB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIKICAgICAgICAgICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICAgICAgICAgICB4bWxuczpwZGY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGRmLzEuMy8iPgogICAgICAgICA8eG1wOkNyZWF0ZURhdGU+MjAxNi0wMy0wOVQwOTo0MzoxOCswMTowMDwveG1wOkNyZWF0ZURhdGU+CiAgICAgICAgIDx4bXA6TWV0YWRhdGFEYXRlPjIwMTYtMDMtMDlUMDk6NDM6MTgrMDE6MDA8L3htcDpNZXRhZGF0YURhdGU+CiAgICAgICAgIDx4bXA6TW9kaWZ5RGF0ZT4yMDE2LTAzLTA5VDA5OjQzOjE4KzAxOjAwPC94bXA6TW9kaWZ5RGF0ZT4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBJbkRlc2lnbiBDQyAyMDE1IChNYWNpbnRvc2gpPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgICAgIDx4bXBNTTpJbnN0YW5jZUlEPnV1aWQ6N2IxYjAwNDgtMDQ2Yy0zMTQxLTk2ZTgtMTc2OTAzNmJlYzQ3PC94bXBNTTpJbnN0YW5jZUlEPgogICAgICAgICA8eG1wTU06T3JpZ2luYWxEb2N1bWVudElEPnhtcC5kaWQ6OTBmNzQzMjYtNDgxNS00ZDM2LWIzYTktN2U5NDMyZjM3ZTU3PC94bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpEb2N1bWVudElEPnhtcC5pZDo5ZmJkZTI2Ni1jZDRiLTQ2YmUtOGNmYS03ZmMxMjA4OGE0MDM8L3htcE1NOkRvY3VtZW50SUQ+CiAgICAgICAgIDx4bXBNTTpSZW5kaXRpb25DbGFzcz5wcm9vZjpwZGY8L3htcE1NOlJlbmRpdGlvbkNsYXNzPgogICAgICAgICA8eG1wTU06SGlzdG9yeT4KICAgICAgICAgICAgPHJkZjpTZXE+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVzb3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmNvbnZlcnRlZDwvc3RFdnQ6YWN0aW9uPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6cGFyYW1ldGVycz5mcm9tIGFwcGxpY2F0aW9uL3gtaW5kZXNpZ24gdG8gYXBwbGljYXRpb24vcGRmPC9zdEV2dDpwYXJhbWV0ZXJzPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6c29mdHdhcmVBZ2VudD5BZG9iZSBJbkRlc2lnbiBDQyAyMDE1IChNYWNpbnRvc2gpPC9zdEV2dDpzb2Z0d2FyZUFnZW50PgogICAgICAgICAgICAgICAgICA8c3RFdnQ6Y2hhbmdlZD4vPC9zdEV2dDpjaGFuZ2VkPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6d2hlbj4yMDE2LTAzLTA5VDA5OjQzOjE4KzAxOjAwPC9zdEV2dDp3aGVuPgogICAgICAgICAgICAgICA8L3JkZjpsaT4KICAgICAgICAgICAgPC9yZGY6U2VxPgogICAgICAgICA8L3htcE1NOkhpc3Rvcnk+CiAgICAgICAgIDx4bXBNTTpEZXJpdmVkRnJvbSByZGY6cGFyc2VUeXBlPSJSZXNvdXJjZSI+CiAgICAgICAgICAgIDxzdFJlZjppbnN0YW5jZUlEPnhtcC5paWQ6YWRhNzhhYjQtMTdlMC00YzMzLWI1ZDgtM2U4OGNjOTUxYjBhPC9zdFJlZjppbnN0YW5jZUlEPgogICAgICAgICAgICA8c3RSZWY6ZG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1Nzwvc3RSZWY6ZG9jdW1lbnRJRD4KICAgICAgICAgICAgPHN0UmVmOm9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjkwZjc0MzI2LTQ4MTUtNGQzNi1iM2E5LTdlOTQzMmYzN2U1Nzwvc3RSZWY6b3JpZ2luYWxEb2N1bWVudElEPgogICAgICAgICAgICA8c3RSZWY6cmVuZGl0aW9uQ2xhc3M+ZGVmYXVsdDwvc3RSZWY6cmVuZGl0aW9uQ2xhc3M+CiAgICAgICAgIDwveG1wTU06RGVyaXZlZEZyb20+CiAgICAgICAgIDxkYzpmb3JtYXQ+YXBwbGljYXRpb24vcGRmPC9kYzpmb3JtYXQ+CiAgICAgICAgIDxwZGY6UHJvZHVjZXI+QWRvYmUgUERGIExpYnJhcnkgMTUuMDwvcGRmOlByb2R1Y2VyPgogICAgICAgICA8cGRmOlRyYXBwZWQ+RmFsc2U8L3BkZjpUcmFwcGVkPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KPD94cGFja2V0IGVuZD0iciI/Pg1lbmRzdHJlYW0NZW5kb2JqDTcgMCBvYmoNPDwvQ3JlYXRpb25EYXRlKEQ6MjAxNjAzMDkwOTQzMTgrMDEnMDAnKS9DcmVhdG9yKEFkb2JlIEluRGVzaWduIENDIDIwMTUgXChNYWNpbnRvc2hcKSkvTW9kRGF0ZShEOjIwMTYwMzA5MDk0MzE4KzAxJzAwJykvUHJvZHVjZXIoQWRvYmUgUERGIExpYnJhcnkgMTUuMCkvVHJhcHBlZC9GYWxzZT4+DWVuZG9iag14cmVmDTAgOA0wMDAwMDAwMDAwIDY1NTM1IGYNCjAwMDAwMDQ3MjQgMDAwMDAgbg0KMDAwMDAwNDc3MCAwMDAwMCBuDQowMDAwMDA1MjgyIDAwMDAwIG4NCjAwMDAwMDUzMjQgMDAwMDAgbg0KMDAwMDAwNTQ4NSAwMDAwMCBuDQowMDAwMDA1NTM3IDAwMDAwIG4NCjAwMDAwMDgxMDEgMDAwMDAgbg0KdHJhaWxlcg08PC9TaXplIDgvSURbPERENEUyQTQ5MEIxRTRENDhCRjE4OUVFRDMwQjZGOUU0PjxFNzU4RjVGQzdERUI0REY0OTlGQzk5Njk5MTAyNzdBMD5dPj4Nc3RhcnR4cmVmDTExNg0lJUVPRg0="),!0,!0,!1)}Module.calledRun?A():(Module.preRun||(Module.preRun=[]),Module.preRun.push(A))}();var moduleOverrides={},key;for(key in Module)Module.hasOwnProperty(key)&&(moduleOverrides[key]=Module[key]);var arguments_=[],thisProgram="./this.program",quit_=function(g,A){throw A},ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,scriptDirectory="",read_,readAsync,readBinary,setWindowTitle,nodeFS,nodePath;function locateFile(g){return Module.locateFile?Module.locateFile(g,scriptDirectory):scriptDirectory+g}ENVIRONMENT_IS_NODE?(scriptDirectory=ENVIRONMENT_IS_WORKER?require("path").dirname(scriptDirectory)+"/":__dirname+"/",read_=function(g,A){return nodeFS||(nodeFS=require("fs")),nodePath||(nodePath=require("path")),g=nodePath.normalize(g),nodeFS.readFileSync(g,A?null:"utf8")},readBinary=function(g){var A=read_(g,!0);return A.buffer||(A=new Uint8Array(A)),assert(A.buffer),A},readAsync=function(g,A,I){nodeFS||(nodeFS=require("fs")),nodePath||(nodePath=require("path")),g=nodePath.normalize(g),nodeFS.readFile(g,(function(g,C){g?I(g):A(C.buffer)}))},process.argv.length>1&&(thisProgram=process.argv[1].replace(/\\/g,"/")),arguments_=process.argv.slice(2),process.on("uncaughtException",(function(g){if(!(g instanceof ExitStatus))throw g})),process.on("unhandledRejection",abort),quit_=function(g,A){if(keepRuntimeAlive())throw process.exitCode=g,A;process.exit(g)},Module.inspect=function(){return"[Emscripten Module object]"}):(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&(ENVIRONMENT_IS_WORKER?scriptDirectory=self.location.href:"undefined"!=typeof document&&document.currentScript&&(scriptDirectory=document.currentScript.src),_scriptDir&&(scriptDirectory=_scriptDir),scriptDirectory=0!==scriptDirectory.indexOf("blob:")?scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1):"",read_=function(g){var A=new XMLHttpRequest;return A.open("GET",g,!1),A.send(null),A.responseText},ENVIRONMENT_IS_WORKER&&(readBinary=function(g){var A=new XMLHttpRequest;return A.open("GET",g,!1),A.responseType="arraybuffer",A.send(null),new Uint8Array(A.response)}),readAsync=function(g,A,I){var C=new XMLHttpRequest;C.open("GET",g,!0),C.responseType="arraybuffer",C.onload=function(){200==C.status||0==C.status&&C.response?A(C.response):I()},C.onerror=I,C.send(null)},setWindowTitle=function(g){document.title=g});var out=Module.print||console.log.bind(console),err=Module.printErr||console.warn.bind(console);for(key in moduleOverrides)moduleOverrides.hasOwnProperty(key)&&(Module[key]=moduleOverrides[key]);moduleOverrides=null,Module.arguments&&(arguments_=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram),Module.quit&&(quit_=Module.quit);var tempRet0=0,setTempRet0=function(g){tempRet0=g},getTempRet0=function(){return tempRet0},wasmBinary;Module.wasmBinary&&(wasmBinary=Module.wasmBinary);var noExitRuntime=Module.noExitRuntime||!0,wasmMemory;"object"!=typeof WebAssembly&&abort("no native wasm support detected");var ABORT=!1,EXITSTATUS;function assert(g,A){g||abort("Assertion failed: "+A)}var UTF8Decoder="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function UTF8ArrayToString(g,A,I){for(var C=A+I,e=A;g[e]&&!(e>=C);)++e;if(e-A>16&&g.subarray&&UTF8Decoder)return UTF8Decoder.decode(g.subarray(A,e));for(var t="";A>10,56320|1023&o)}}else t+=String.fromCharCode((31&n)<<6|i)}else t+=String.fromCharCode(n)}return t}function UTF8ToString(g,A){return g?UTF8ArrayToString(HEAPU8,g,A):""}function stringToUTF8Array(g,A,I,C){if(!(C>0))return 0;for(var e=I,t=I+C-1,n=0;n=55296&&i<=57343)i=65536+((1023&i)<<10)|1023&g.charCodeAt(++n);if(i<=127){if(I>=t)break;A[I++]=i}else if(i<=2047){if(I+1>=t)break;A[I++]=192|i>>6,A[I++]=128|63&i}else if(i<=65535){if(I+2>=t)break;A[I++]=224|i>>12,A[I++]=128|i>>6&63,A[I++]=128|63&i}else{if(I+3>=t)break;A[I++]=240|i>>18,A[I++]=128|i>>12&63,A[I++]=128|i>>6&63,A[I++]=128|63&i}}return A[I]=0,I-e}function stringToUTF8(g,A,I){return stringToUTF8Array(g,HEAPU8,A,I)}function lengthBytesUTF8(g){for(var A=0,I=0;I=55296&&C<=57343&&(C=65536+((1023&C)<<10)|1023&g.charCodeAt(++I)),C<=127?++A:A+=C<=2047?2:C<=65535?3:4}return A}var UTF16Decoder="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function UTF16ToString(g,A){for(var I=g,C=I>>1,e=C+A/2;!(C>=e)&&HEAPU16[C];)++C;if((I=C<<1)-g>32&&UTF16Decoder)return UTF16Decoder.decode(HEAPU8.subarray(g,I));for(var t="",n=0;!(n>=A/2);++n){var i=HEAP16[g+2*n>>1];if(0==i)break;t+=String.fromCharCode(i)}return t}function stringToUTF16(g,A,I){if(void 0===I&&(I=2147483647),I<2)return 0;for(var C=A,e=(I-=2)<2*g.length?I/2:g.length,t=0;t>1]=n,A+=2}return HEAP16[A>>1]=0,A-C}function lengthBytesUTF16(g){return 2*g.length}function UTF32ToString(g,A){for(var I=0,C="";!(I>=A/4);){var e=HEAP32[g+4*I>>2];if(0==e)break;if(++I,e>=65536){var t=e-65536;C+=String.fromCharCode(55296|t>>10,56320|1023&t)}else C+=String.fromCharCode(e)}return C}function stringToUTF32(g,A,I){if(void 0===I&&(I=2147483647),I<4)return 0;for(var C=A,e=C+I-4,t=0;t=55296&&n<=57343)n=65536+((1023&n)<<10)|1023&g.charCodeAt(++t);if(HEAP32[A>>2]=n,(A+=4)+4>e)break}return HEAP32[A>>2]=0,A-C}function lengthBytesUTF32(g){for(var A=0,I=0;I=55296&&C<=57343&&++I,A+=4}return A}function allocateUTF8(g){var A=lengthBytesUTF8(g)+1,I=_malloc(A);return I&&stringToUTF8Array(g,HEAP8,I,A),I}function writeArrayToMemory(g,A){HEAP8.set(g,A)}function writeAsciiToMemory(g,A,I){for(var C=0;C>0]=g.charCodeAt(C);I||(HEAP8[A>>0]=0)}function alignUp(g,A){return g%A>0&&(g+=A-g%A),g}function updateGlobalBufferAndViews(g){buffer=g,Module.HEAP8=HEAP8=new Int8Array(g),Module.HEAP16=HEAP16=new Int16Array(g),Module.HEAP32=HEAP32=new Int32Array(g),Module.HEAPU8=HEAPU8=new Uint8Array(g),Module.HEAPU16=HEAPU16=new Uint16Array(g),Module.HEAPU32=HEAPU32=new Uint32Array(g),Module.HEAPF32=HEAPF32=new Float32Array(g),Module.HEAPF64=HEAPF64=new Float64Array(g)}var INITIAL_MEMORY=Module.INITIAL_MEMORY||16777216,wasmTable,__ATPRERUN__=[],__ATINIT__=[],__ATPOSTRUN__=[],runtimeInitialized=!1,runtimeExited=!1,runtimeKeepaliveCounter=0;function keepRuntimeAlive(){return noExitRuntime||runtimeKeepaliveCounter>0}function preRun(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=!0,Module.noFSInit||FS.init.initialized||FS.init(),FS.ignorePermissions=!1,TTY.init(),callRuntimeCallbacks(__ATINIT__)}function exitRuntime(){runtimeExited=!0}function postRun(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(g){__ATPRERUN__.unshift(g)}function addOnInit(g){__ATINIT__.unshift(g)}function addOnPostRun(g){__ATPOSTRUN__.unshift(g)}var runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function getUniqueRunDependency(g){return g}function addRunDependency(g){runDependencies++,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies)}function removeRunDependency(g){if(runDependencies--,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),0==runDependencies&&(null!==runDependencyWatcher&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var A=dependenciesFulfilled;dependenciesFulfilled=null,A()}}function abort(g){Module.onAbort&&Module.onAbort(g),err(g+=""),ABORT=!0,EXITSTATUS=1,g="abort("+g+"). Build with -s ASSERTIONS=1 for more info.";var A=new WebAssembly.RuntimeError(g);throw readyPromiseReject(A),A}Module.preloadedImages={},Module.preloadedAudios={};var dataURIPrefix="data:application/octet-stream;base64,",wasmBinaryFile,tempDouble,tempI64;function isDataURI(g){return g.startsWith(dataURIPrefix)}function isFileURI(g){return g.startsWith("file://")}function getBinary(g){try{if(g==wasmBinaryFile&&wasmBinary)return new Uint8Array(wasmBinary);if(readBinary)return readBinary(g);throw"both async and sync fetching of the wasm failed"}catch(g){abort(g)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if("function"==typeof fetch&&!isFileURI(wasmBinaryFile))return fetch(wasmBinaryFile,{credentials:"same-origin"}).then((function(g){if(!g.ok)throw"failed to load wasm binary file at '"+wasmBinaryFile+"'";return g.arrayBuffer()})).catch((function(){return getBinary(wasmBinaryFile)}));if(readAsync)return new Promise((function(g,A){readAsync(wasmBinaryFile,(function(A){g(new Uint8Array(A))}),A)}))}return Promise.resolve().then((function(){return getBinary(wasmBinaryFile)}))}function createWasm(){var g={a:asmLibraryArg};function A(g,A){var I=g.exports;Module.asm=I,updateGlobalBufferAndViews((wasmMemory=Module.asm.Zc).buffer),wasmTable=Module.asm.nd,addOnInit(Module.asm._c),removeRunDependency("wasm-instantiate")}function I(g){A(g.instance)}function C(A){return getBinaryPromise().then((function(A){return WebAssembly.instantiate(A,g)})).then(A,(function(g){err("failed to asynchronously prepare wasm: "+g),abort(g)}))}if(addRunDependency("wasm-instantiate"),Module.instantiateWasm)try{return Module.instantiateWasm(g,A)}catch(g){return err("Module.instantiateWasm callback failed with error: "+g),!1}return(wasmBinary||"function"!=typeof WebAssembly.instantiateStreaming||isDataURI(wasmBinaryFile)||isFileURI(wasmBinaryFile)||"function"!=typeof fetch?C(I):fetch(wasmBinaryFile,{credentials:"same-origin"}).then((function(A){return WebAssembly.instantiateStreaming(A,g).then(I,(function(g){return err("wasm streaming compile failed: "+g),err("falling back to ArrayBuffer instantiation"),C(I)}))}))).catch(readyPromiseReject),{}}wasmBinaryFile="pspdfkit.wasm",isDataURI(wasmBinaryFile)||(wasmBinaryFile=locateFile(wasmBinaryFile));var ASM_CONSTS={2857728:function(){return!!("undefined"!=typeof window&&window&&window.process&&window.process.type)||"object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron/")>=0},2857988:function(){return-60*(new Date).getTimezoneOffset()*1e3},2858084:function(g,A){setTimeout((function(){console.error(UTF8ToString(g))}),A)},2858151:function(g){setTimeout((function(){try{"undefined"==typeof window&&"undefined"==typeof document&&"undefined"!=typeof self&&void 0!==self.close?self.close():"undefined"!=typeof process&&void 0!==process.exit?process.exit(1):location.href="https://pspdfkit.com"}catch(g){location.href="https://pspdfkit.com"}}),g)},2858547:function(){if("undefined"!=typeof self&&void 0!==self.crypto&&void 0!==self.crypto.getRandomValues){var g=new Uint32Array(1);return self.crypto.getRandomValues(g),g[0]}return Math.round(255*Math.random())}};function callRuntimeCallbacks(g){for(;g.length>0;){var A=g.shift();if("function"!=typeof A){var I=A.func;"number"==typeof I?void 0===A.arg?wasmTable.get(I)():wasmTable.get(I)(A.arg):I(void 0===A.arg?null:A.arg)}else A(Module)}}function _tzset(){if(!_tzset.called){_tzset.called=!0;var g=(new Date).getFullYear(),A=new Date(g,0,1),I=new Date(g,6,1),C=A.getTimezoneOffset(),e=I.getTimezoneOffset(),t=Math.max(C,e);HEAP32[__get_timezone()>>2]=60*t,HEAP32[__get_daylight()>>2]=Number(C!=e);var n=a(A),i=a(I),r=allocateUTF8(n),o=allocateUTF8(i);e>2]=r,HEAP32[__get_tzname()+4>>2]=o):(HEAP32[__get_tzname()>>2]=o,HEAP32[__get_tzname()+4>>2]=r)}function a(g){var A=g.toTimeString().match(/\(([A-Za-z ]+)\)$/);return A?A[1]:"GMT"}}function _mktime(g){_tzset();var A=new Date(HEAP32[g+20>>2]+1900,HEAP32[g+16>>2],HEAP32[g+12>>2],HEAP32[g+8>>2],HEAP32[g+4>>2],HEAP32[g>>2],0),I=HEAP32[g+32>>2],C=A.getTimezoneOffset(),e=new Date(A.getFullYear(),0,1),t=new Date(A.getFullYear(),6,1).getTimezoneOffset(),n=e.getTimezoneOffset(),i=Math.min(n,t);if(I<0)HEAP32[g+32>>2]=Number(t!=n&&i==C);else if(I>0!=(i==C)){var r=Math.max(n,t),o=I>0?i:r;A.setTime(A.getTime()+6e4*(o-C))}HEAP32[g+24>>2]=A.getDay();var a=(A.getTime()-e.getTime())/864e5|0;return HEAP32[g+28>>2]=a,HEAP32[g>>2]=A.getSeconds(),HEAP32[g+4>>2]=A.getMinutes(),HEAP32[g+8>>2]=A.getHours(),HEAP32[g+12>>2]=A.getDate(),HEAP32[g+16>>2]=A.getMonth(),A.getTime()/1e3|0}function ___asctime(g,A){var I=HEAP32[g>>2],C=HEAP32[g+4>>2],e=HEAP32[g+8>>2],t=HEAP32[g+12>>2],n=HEAP32[g+16>>2],i=HEAP32[g+20>>2];return stringToUTF8(["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][HEAP32[g+24>>2]]+" "+["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][n]+(t<10?" ":" ")+t+(e<10?" 0":" ")+e+(C<10?":0":":")+C+(I<10?":0":":")+I+" "+(1900+i)+"\n",A,26),A}function ___cxa_allocate_exception(g){return _malloc(g+16)+16}function _atexit(g,A){}function ExceptionInfo(g){this.excPtr=g,this.ptr=g-16,this.set_type=function(g){HEAP32[this.ptr+4>>2]=g},this.get_type=function(){return HEAP32[this.ptr+4>>2]},this.set_destructor=function(g){HEAP32[this.ptr+8>>2]=g},this.get_destructor=function(){return HEAP32[this.ptr+8>>2]},this.set_refcount=function(g){HEAP32[this.ptr>>2]=g},this.set_caught=function(g){g=g?1:0,HEAP8[this.ptr+12>>0]=g},this.get_caught=function(){return 0!=HEAP8[this.ptr+12>>0]},this.set_rethrown=function(g){g=g?1:0,HEAP8[this.ptr+13>>0]=g},this.get_rethrown=function(){return 0!=HEAP8[this.ptr+13>>0]},this.init=function(g,A){this.set_type(g),this.set_destructor(A),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var g=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=g+1},this.release_ref=function(){var g=HEAP32[this.ptr>>2];return HEAP32[this.ptr>>2]=g-1,1===g}}function CatchInfo(g){this.free=function(){_free(this.ptr),this.ptr=0},this.set_base_ptr=function(g){HEAP32[this.ptr>>2]=g},this.get_base_ptr=function(){return HEAP32[this.ptr>>2]},this.set_adjusted_ptr=function(g){HEAP32[this.ptr+4>>2]=g},this.get_adjusted_ptr_addr=function(){return this.ptr+4},this.get_adjusted_ptr=function(){return HEAP32[this.ptr+4>>2]},this.get_exception_ptr=function(){if(___cxa_is_pointer_type(this.get_exception_info().get_type()))return HEAP32[this.get_base_ptr()>>2];var g=this.get_adjusted_ptr();return 0!==g?g:this.get_base_ptr()},this.get_exception_info=function(){return new ExceptionInfo(this.get_base_ptr())},void 0===g?(this.ptr=_malloc(8),this.set_adjusted_ptr(0)):this.ptr=g}var exceptionCaught=[];function exception_addRef(g){g.add_ref()}var uncaughtExceptionCount=0;function ___cxa_begin_catch(g){var A=new CatchInfo(g),I=A.get_exception_info();return I.get_caught()||(I.set_caught(!0),uncaughtExceptionCount--),I.set_rethrown(!1),exceptionCaught.push(A),exception_addRef(I),A.get_exception_ptr()}function ___cxa_call_unexpected(g){throw err("Unexpected exception thrown, this is not properly supported - aborting"),ABORT=!0,g}var exceptionLast=0;function ___cxa_free_exception(g){return _free(new ExceptionInfo(g).ptr)}function exception_decRef(g){if(g.release_ref()&&!g.get_rethrown()){var A=g.get_destructor();A&&wasmTable.get(A)(g.excPtr),___cxa_free_exception(g.excPtr)}}function ___cxa_end_catch(){_setThrew(0);var g=exceptionCaught.pop();exception_decRef(g.get_exception_info()),g.free(),exceptionLast=0}function ___resumeException(g){var A=new CatchInfo(g),I=A.get_base_ptr();throw exceptionLast||(exceptionLast=I),A.free(),I}function ___cxa_find_matching_catch_2(){var g=exceptionLast;if(!g)return setTempRet0(0),0;var A=new ExceptionInfo(g),I=A.get_type(),C=new CatchInfo;if(C.set_base_ptr(g),C.set_adjusted_ptr(g),!I)return setTempRet0(0),0|C.ptr;for(var e=Array.prototype.slice.call(arguments),t=0;t>2]);HEAP32[A>>2]=I.getUTCSeconds(),HEAP32[A+4>>2]=I.getUTCMinutes(),HEAP32[A+8>>2]=I.getUTCHours(),HEAP32[A+12>>2]=I.getUTCDate(),HEAP32[A+16>>2]=I.getUTCMonth(),HEAP32[A+20>>2]=I.getUTCFullYear()-1900,HEAP32[A+24>>2]=I.getUTCDay(),HEAP32[A+36>>2]=0,HEAP32[A+32>>2]=0;var C=Date.UTC(I.getUTCFullYear(),0,1,0,0,0,0),e=(I.getTime()-C)/864e5|0;return HEAP32[A+28>>2]=e,_gmtime_r.GMTString||(_gmtime_r.GMTString=allocateUTF8("GMT")),HEAP32[A+40>>2]=_gmtime_r.GMTString,A}function ___gmtime_r(g,A){return _gmtime_r(g,A)}function _localtime_r(g,A){_tzset();var I=new Date(1e3*HEAP32[g>>2]);HEAP32[A>>2]=I.getSeconds(),HEAP32[A+4>>2]=I.getMinutes(),HEAP32[A+8>>2]=I.getHours(),HEAP32[A+12>>2]=I.getDate(),HEAP32[A+16>>2]=I.getMonth(),HEAP32[A+20>>2]=I.getFullYear()-1900,HEAP32[A+24>>2]=I.getDay();var C=new Date(I.getFullYear(),0,1),e=(I.getTime()-C.getTime())/864e5|0;HEAP32[A+28>>2]=e,HEAP32[A+36>>2]=-60*I.getTimezoneOffset();var t=new Date(I.getFullYear(),6,1).getTimezoneOffset(),n=C.getTimezoneOffset(),i=0|(t!=n&&I.getTimezoneOffset()==Math.min(n,t));HEAP32[A+32>>2]=i;var r=HEAP32[__get_tzname()+(i?4:0)>>2];return HEAP32[A+40>>2]=r,A}function ___localtime_r(g,A){return _localtime_r(g,A)}function setErrNo(g){return HEAP32[___errno_location()>>2]=g,g}function ___map_file(g,A){return setErrNo(63),-1}var PATH={splitPath:function(g){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(g).slice(1)},normalizeArray:function(g,A){for(var I=0,C=g.length-1;C>=0;C--){var e=g[C];"."===e?g.splice(C,1):".."===e?(g.splice(C,1),I++):I&&(g.splice(C,1),I--)}if(A)for(;I;I--)g.unshift("..");return g},normalize:function(g){var A="/"===g.charAt(0),I="/"===g.substr(-1);return(g=PATH.normalizeArray(g.split("/").filter((function(g){return!!g})),!A).join("/"))||A||(g="."),g&&I&&(g+="/"),(A?"/":"")+g},dirname:function(g){var A=PATH.splitPath(g),I=A[0],C=A[1];return I||C?(C&&(C=C.substr(0,C.length-1)),I+C):"."},basename:function(g){if("/"===g)return"/";var A=(g=(g=PATH.normalize(g)).replace(/\/$/,"")).lastIndexOf("/");return-1===A?g:g.substr(A+1)},extname:function(g){return PATH.splitPath(g)[3]},join:function(){var g=Array.prototype.slice.call(arguments,0);return PATH.normalize(g.join("/"))},join2:function(g,A){return PATH.normalize(g+"/"+A)}};function getRandomDevice(){if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues){var g=new Uint8Array(1);return function(){return crypto.getRandomValues(g),g[0]}}if(ENVIRONMENT_IS_NODE)try{var A=require("crypto");return function(){return A.randomBytes(1)[0]}}catch(g){}return function(){abort("randomDevice")}}var PATH_FS={resolve:function(){for(var g="",A=!1,I=arguments.length-1;I>=-1&&!A;I--){var C=I>=0?arguments[I]:FS.cwd();if("string"!=typeof C)throw new TypeError("Arguments to path.resolve must be strings");if(!C)return"";g=C+"/"+g,A="/"===C.charAt(0)}return(A?"/":"")+(g=PATH.normalizeArray(g.split("/").filter((function(g){return!!g})),!A).join("/"))||"."},relative:function(g,A){function I(g){for(var A=0;A=0&&""===g[I];I--);return A>I?[]:g.slice(A,I-A+1)}g=PATH_FS.resolve(g).substr(1),A=PATH_FS.resolve(A).substr(1);for(var C=I(g.split("/")),e=I(A.split("/")),t=Math.min(C.length,e.length),n=t,i=0;i0?I.slice(0,C).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?null!==(A=window.prompt("Input: "))&&(A+="\n"):"function"==typeof readline&&null!==(A=readline())&&(A+="\n");if(!A)return null;g.input=intArrayFromString(A,!0)}return g.input.shift()},put_char:function(g,A){null===A||10===A?(out(UTF8ArrayToString(g.output,0)),g.output=[]):0!=A&&g.output.push(A)},flush:function(g){g.output&&g.output.length>0&&(out(UTF8ArrayToString(g.output,0)),g.output=[])}},default_tty1_ops:{put_char:function(g,A){null===A||10===A?(err(UTF8ArrayToString(g.output,0)),g.output=[]):0!=A&&g.output.push(A)},flush:function(g){g.output&&g.output.length>0&&(err(UTF8ArrayToString(g.output,0)),g.output=[])}}};function zeroMemory(g,A){HEAPU8.fill(0,g,g+A)}function alignMemory(g,A){return Math.ceil(g/A)*A}function mmapAlloc(g){g=alignMemory(g,65536);var A=_memalign(65536,g);return A?(zeroMemory(A,g),A):0}var MEMFS={ops_table:null,mount:function(g){return MEMFS.createNode(null,"/",16895,0)},createNode:function(g,A,I,C){if(FS.isBlkdev(I)||FS.isFIFO(I))throw new FS.ErrnoError(63);MEMFS.ops_table||(MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}});var e=FS.createNode(g,A,I,C);return FS.isDir(e.mode)?(e.node_ops=MEMFS.ops_table.dir.node,e.stream_ops=MEMFS.ops_table.dir.stream,e.contents={}):FS.isFile(e.mode)?(e.node_ops=MEMFS.ops_table.file.node,e.stream_ops=MEMFS.ops_table.file.stream,e.usedBytes=0,e.contents=null):FS.isLink(e.mode)?(e.node_ops=MEMFS.ops_table.link.node,e.stream_ops=MEMFS.ops_table.link.stream):FS.isChrdev(e.mode)&&(e.node_ops=MEMFS.ops_table.chrdev.node,e.stream_ops=MEMFS.ops_table.chrdev.stream),e.timestamp=Date.now(),g&&(g.contents[A]=e,g.timestamp=e.timestamp),e},getFileDataAsTypedArray:function(g){return g.contents?g.contents.subarray?g.contents.subarray(0,g.usedBytes):new Uint8Array(g.contents):new Uint8Array(0)},expandFileStorage:function(g,A){var I=g.contents?g.contents.length:0;if(!(I>=A)){A=Math.max(A,I*(I<1048576?2:1.125)>>>0),0!=I&&(A=Math.max(A,256));var C=g.contents;g.contents=new Uint8Array(A),g.usedBytes>0&&g.contents.set(C.subarray(0,g.usedBytes),0)}},resizeFileStorage:function(g,A){if(g.usedBytes!=A)if(0==A)g.contents=null,g.usedBytes=0;else{var I=g.contents;g.contents=new Uint8Array(A),I&&g.contents.set(I.subarray(0,Math.min(A,g.usedBytes))),g.usedBytes=A}},node_ops:{getattr:function(g){var A={};return A.dev=FS.isChrdev(g.mode)?g.id:1,A.ino=g.id,A.mode=g.mode,A.nlink=1,A.uid=0,A.gid=0,A.rdev=g.rdev,FS.isDir(g.mode)?A.size=4096:FS.isFile(g.mode)?A.size=g.usedBytes:FS.isLink(g.mode)?A.size=g.link.length:A.size=0,A.atime=new Date(g.timestamp),A.mtime=new Date(g.timestamp),A.ctime=new Date(g.timestamp),A.blksize=4096,A.blocks=Math.ceil(A.size/A.blksize),A},setattr:function(g,A){void 0!==A.mode&&(g.mode=A.mode),void 0!==A.timestamp&&(g.timestamp=A.timestamp),void 0!==A.size&&MEMFS.resizeFileStorage(g,A.size)},lookup:function(g,A){throw FS.genericErrors[44]},mknod:function(g,A,I,C){return MEMFS.createNode(g,A,I,C)},rename:function(g,A,I){if(FS.isDir(g.mode)){var C;try{C=FS.lookupNode(A,I)}catch(g){}if(C)for(var e in C.contents)throw new FS.ErrnoError(55)}delete g.parent.contents[g.name],g.parent.timestamp=Date.now(),g.name=I,A.contents[I]=g,A.timestamp=g.parent.timestamp,g.parent=A},unlink:function(g,A){delete g.contents[A],g.timestamp=Date.now()},rmdir:function(g,A){var I=FS.lookupNode(g,A);for(var C in I.contents)throw new FS.ErrnoError(55);delete g.contents[A],g.timestamp=Date.now()},readdir:function(g){var A=[".",".."];for(var I in g.contents)g.contents.hasOwnProperty(I)&&A.push(I);return A},symlink:function(g,A,I){var C=MEMFS.createNode(g,A,41471,0);return C.link=I,C},readlink:function(g){if(!FS.isLink(g.mode))throw new FS.ErrnoError(28);return g.link}},stream_ops:{read:function(g,A,I,C,e){var t=g.node.contents;if(e>=g.node.usedBytes)return 0;var n=Math.min(g.node.usedBytes-e,C);if(n>8&&t.subarray)A.set(t.subarray(e,e+n),I);else for(var i=0;i0||C+I=g.node.size)return 0;var t=g.node.contents.slice(e,e+C),n=WORKERFS.reader.readAsArrayBuffer(t);return A.set(new Uint8Array(n),I),t.size},write:function(g,A,I,C,e){throw new FS.ErrnoError(29)},llseek:function(g,A,I){var C=A;if(1===I?C+=g.position:2===I&&FS.isFile(g.node.mode)&&(C+=g.node.size),C<0)throw new FS.ErrnoError(28);return C}}},FS={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:function(g,A){if(A=A||{},!(g=PATH_FS.resolve(FS.cwd(),g)))return{path:"",node:null};var I={follow_mount:!0,recurse_count:0};for(var C in I)void 0===A[C]&&(A[C]=I[C]);if(A.recurse_count>8)throw new FS.ErrnoError(32);for(var e=PATH.normalizeArray(g.split("/").filter((function(g){return!!g})),!1),t=FS.root,n="/",i=0;i40)throw new FS.ErrnoError(32)}}return{path:n,node:t}},getPath:function(g){for(var A;;){if(FS.isRoot(g)){var I=g.mount.mountpoint;return A?"/"!==I[I.length-1]?I+"/"+A:I+A:I}A=A?g.name+"/"+A:g.name,g=g.parent}},hashName:function(g,A){for(var I=0,C=0;C>>0)%FS.nameTable.length},hashAddNode:function(g){var A=FS.hashName(g.parent.id,g.name);g.name_next=FS.nameTable[A],FS.nameTable[A]=g},hashRemoveNode:function(g){var A=FS.hashName(g.parent.id,g.name);if(FS.nameTable[A]===g)FS.nameTable[A]=g.name_next;else for(var I=FS.nameTable[A];I;){if(I.name_next===g){I.name_next=g.name_next;break}I=I.name_next}},lookupNode:function(g,A){var I=FS.mayLookup(g);if(I)throw new FS.ErrnoError(I,g);for(var C=FS.hashName(g.id,A),e=FS.nameTable[C];e;e=e.name_next){var t=e.name;if(e.parent.id===g.id&&t===A)return e}return FS.lookup(g,A)},createNode:function(g,A,I,C){var e=new FS.FSNode(g,A,I,C);return FS.hashAddNode(e),e},destroyNode:function(g){FS.hashRemoveNode(g)},isRoot:function(g){return g===g.parent},isMountpoint:function(g){return!!g.mounted},isFile:function(g){return 32768==(61440&g)},isDir:function(g){return 16384==(61440&g)},isLink:function(g){return 40960==(61440&g)},isChrdev:function(g){return 8192==(61440&g)},isBlkdev:function(g){return 24576==(61440&g)},isFIFO:function(g){return 4096==(61440&g)},isSocket:function(g){return 49152==(49152&g)},flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags:function(g){var A=FS.flagModes[g];if(void 0===A)throw new Error("Unknown file open mode: "+g);return A},flagsToPermissionString:function(g){var A=["r","w","rw"][3&g];return 512&g&&(A+="w"),A},nodePermissions:function(g,A){return FS.ignorePermissions||(!A.includes("r")||292&g.mode)&&(!A.includes("w")||146&g.mode)&&(!A.includes("x")||73&g.mode)?0:2},mayLookup:function(g){var A=FS.nodePermissions(g,"x");return A||(g.node_ops.lookup?0:2)},mayCreate:function(g,A){try{FS.lookupNode(g,A);return 20}catch(g){}return FS.nodePermissions(g,"wx")},mayDelete:function(g,A,I){var C;try{C=FS.lookupNode(g,A)}catch(g){return g.errno}var e=FS.nodePermissions(g,"wx");if(e)return e;if(I){if(!FS.isDir(C.mode))return 54;if(FS.isRoot(C)||FS.getPath(C)===FS.cwd())return 10}else if(FS.isDir(C.mode))return 31;return 0},mayOpen:function(g,A){return g?FS.isLink(g.mode)?32:FS.isDir(g.mode)&&("r"!==FS.flagsToPermissionString(A)||512&A)?31:FS.nodePermissions(g,FS.flagsToPermissionString(A)):44},MAX_OPEN_FDS:4096,nextfd:function(g,A){g=g||0,A=A||FS.MAX_OPEN_FDS;for(var I=g;I<=A;I++)if(!FS.streams[I])return I;throw new FS.ErrnoError(33)},getStream:function(g){return FS.streams[g]},createStream:function(g,A,I){FS.FSStream||(FS.FSStream=function(){},FS.FSStream.prototype={object:{get:function(){return this.node},set:function(g){this.node=g}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}});var C=new FS.FSStream;for(var e in g)C[e]=g[e];g=C;var t=FS.nextfd(A,I);return g.fd=t,FS.streams[t]=g,g},closeStream:function(g){FS.streams[g]=null},chrdev_stream_ops:{open:function(g){var A=FS.getDevice(g.node.rdev);g.stream_ops=A.stream_ops,g.stream_ops.open&&g.stream_ops.open(g)},llseek:function(){throw new FS.ErrnoError(70)}},major:function(g){return g>>8},minor:function(g){return 255&g},makedev:function(g,A){return g<<8|A},registerDevice:function(g,A){FS.devices[g]={stream_ops:A}},getDevice:function(g){return FS.devices[g]},getMounts:function(g){for(var A=[],I=[g];I.length;){var C=I.pop();A.push(C),I.push.apply(I,C.mounts)}return A},syncfs:function(g,A){"function"==typeof g&&(A=g,g=!1),FS.syncFSRequests++,FS.syncFSRequests>1&&err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var I=FS.getMounts(FS.root.mount),C=0;function e(g){return FS.syncFSRequests--,A(g)}function t(g){if(g)return t.errored?void 0:(t.errored=!0,e(g));++C>=I.length&&e(null)}I.forEach((function(A){if(!A.type.syncfs)return t(null);A.type.syncfs(A,g,t)}))},mount:function(g,A,I){var C,e="/"===I,t=!I;if(e&&FS.root)throw new FS.ErrnoError(10);if(!e&&!t){var n=FS.lookupPath(I,{follow_mount:!1});if(I=n.path,C=n.node,FS.isMountpoint(C))throw new FS.ErrnoError(10);if(!FS.isDir(C.mode))throw new FS.ErrnoError(54)}var i={type:g,opts:A,mountpoint:I,mounts:[]},r=g.mount(i);return r.mount=i,i.root=r,e?FS.root=r:C&&(C.mounted=i,C.mount&&C.mount.mounts.push(i)),r},unmount:function(g){var A=FS.lookupPath(g,{follow_mount:!1});if(!FS.isMountpoint(A.node))throw new FS.ErrnoError(28);var I=A.node,C=I.mounted,e=FS.getMounts(C);Object.keys(FS.nameTable).forEach((function(g){for(var A=FS.nameTable[g];A;){var I=A.name_next;e.includes(A.mount)&&FS.destroyNode(A),A=I}})),I.mounted=null;var t=I.mount.mounts.indexOf(C);I.mount.mounts.splice(t,1)},lookup:function(g,A){return g.node_ops.lookup(g,A)},mknod:function(g,A,I){var C=FS.lookupPath(g,{parent:!0}).node,e=PATH.basename(g);if(!e||"."===e||".."===e)throw new FS.ErrnoError(28);var t=FS.mayCreate(C,e);if(t)throw new FS.ErrnoError(t);if(!C.node_ops.mknod)throw new FS.ErrnoError(63);return C.node_ops.mknod(C,e,A,I)},create:function(g,A){return A=void 0!==A?A:438,A&=4095,A|=32768,FS.mknod(g,A,0)},mkdir:function(g,A){return A=void 0!==A?A:511,A&=1023,A|=16384,FS.mknod(g,A,0)},mkdirTree:function(g,A){for(var I=g.split("/"),C="",e=0;ethis.length-1||g<0)){var A=g%this.chunkSize,I=g/this.chunkSize|0;return this.getter(I)[A]}},t.prototype.setDataGetter=function(g){this.getter=g},t.prototype.cacheLength=function(){var g=new XMLHttpRequest;if(g.open("HEAD",I,!1),g.send(null),!(g.status>=200&&g.status<300||304===g.status))throw new Error("Couldn't load "+I+". Status: "+g.status);var A,C=Number(g.getResponseHeader("Content-length")),e=(A=g.getResponseHeader("Accept-Ranges"))&&"bytes"===A,t=(A=g.getResponseHeader("Content-Encoding"))&&"gzip"===A,n=1048576;e||(n=C);var i=this;i.setDataGetter((function(g){var A=g*n,e=(g+1)*n-1;if(e=Math.min(e,C-1),void 0===i.chunks[g]&&(i.chunks[g]=function(g,A){if(g>A)throw new Error("invalid range ("+g+", "+A+") or no bytes requested!");if(A>C-1)throw new Error("only "+C+" bytes available! programmer error!");var e=new XMLHttpRequest;if(e.open("GET",I,!1),C!==n&&e.setRequestHeader("Range","bytes="+g+"-"+A),"undefined"!=typeof Uint8Array&&(e.responseType="arraybuffer"),e.overrideMimeType&&e.overrideMimeType("text/plain; charset=x-user-defined"),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+I+". Status: "+e.status);return void 0!==e.response?new Uint8Array(e.response||[]):intArrayFromString(e.responseText||"",!0)}(A,e)),void 0===i.chunks[g])throw new Error("doXHR failed!");return i.chunks[g]})),!t&&C||(n=C=1,C=this.getter(0).length,n=C,out("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=C,this._chunkSize=n,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var n=new t;Object.defineProperties(n,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var i={isDevice:!1,contents:n}}else i={isDevice:!1,url:I};var r=FS.createFile(g,A,i,C,e);i.contents?r.contents=i.contents:i.url&&(r.contents=null,r.url=i.url),Object.defineProperties(r,{usedBytes:{get:function(){return this.contents.length}}});var o={};return Object.keys(r.stream_ops).forEach((function(g){var A=r.stream_ops[g];o[g]=function(){return FS.forceLoadFile(r),A.apply(null,arguments)}})),o.read=function(g,A,I,C,e){FS.forceLoadFile(r);var t=g.node.contents;if(e>=t.length)return 0;var n=Math.min(t.length-e,C);if(t.slice)for(var i=0;i>2]=C.dev,HEAP32[I+4>>2]=0,HEAP32[I+8>>2]=C.ino,HEAP32[I+12>>2]=C.mode,HEAP32[I+16>>2]=C.nlink,HEAP32[I+20>>2]=C.uid,HEAP32[I+24>>2]=C.gid,HEAP32[I+28>>2]=C.rdev,HEAP32[I+32>>2]=0,tempI64=[C.size>>>0,(tempDouble=C.size,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[I+40>>2]=tempI64[0],HEAP32[I+44>>2]=tempI64[1],HEAP32[I+48>>2]=4096,HEAP32[I+52>>2]=C.blocks,HEAP32[I+56>>2]=C.atime.getTime()/1e3|0,HEAP32[I+60>>2]=0,HEAP32[I+64>>2]=C.mtime.getTime()/1e3|0,HEAP32[I+68>>2]=0,HEAP32[I+72>>2]=C.ctime.getTime()/1e3|0,HEAP32[I+76>>2]=0,tempI64=[C.ino>>>0,(tempDouble=C.ino,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[I+80>>2]=tempI64[0],HEAP32[I+84>>2]=tempI64[1],0},doMsync:function(g,A,I,C,e){var t=HEAPU8.slice(g,g+I);FS.msync(A,t,e,I,C)},doMkdir:function(g,A){return"/"===(g=PATH.normalize(g))[g.length-1]&&(g=g.substr(0,g.length-1)),FS.mkdir(g,A,0),0},doMknod:function(g,A,I){switch(61440&A){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return FS.mknod(g,A,I),0},doReadlink:function(g,A,I){if(I<=0)return-28;var C=FS.readlink(g),e=Math.min(I,lengthBytesUTF8(C)),t=HEAP8[A+e];return stringToUTF8(C,A,I+1),HEAP8[A+e]=t,e},doAccess:function(g,A){if(-8&A)return-28;var I;if(!(I=FS.lookupPath(g,{follow:!0}).node))return-44;var C="";return 4&A&&(C+="r"),2&A&&(C+="w"),1&A&&(C+="x"),C&&FS.nodePermissions(I,C)?-2:0},doDup:function(g,A,I){var C=FS.getStream(I);return C&&FS.close(C),FS.open(g,A,0,I,I).fd},doReadv:function(g,A,I,C){for(var e=0,t=0;t>2],i=HEAP32[A+(8*t+4)>>2],r=FS.read(g,HEAP8,n,i,C);if(r<0)return-1;if(e+=r,r>2],i=HEAP32[A+(8*t+4)>>2],r=FS.write(g,HEAP8,n,i,C);if(r<0)return-1;e+=r}return e},varargs:void 0,get:function(){return SYSCALLS.varargs+=4,HEAP32[SYSCALLS.varargs-4>>2]},getStr:function(g){return UTF8ToString(g)},getStreamFromFD:function(g){var A=FS.getStream(g);if(!A)throw new FS.ErrnoError(8);return A},get64:function(g,A){return g}};function ___sys_access(g,A){try{return g=SYSCALLS.getStr(g),SYSCALLS.doAccess(g,A)}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}function ___sys_chmod(g,A){try{return g=SYSCALLS.getStr(g),FS.chmod(g,A),0}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}function ___sys_fchmod(g,A){try{return FS.fchmod(g,A),0}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}function ___sys_fcntl64(g,A,I){SYSCALLS.varargs=I;try{var C=SYSCALLS.getStreamFromFD(g);switch(A){case 0:return(e=SYSCALLS.get())<0?-28:FS.open(C.path,C.flags,0,e).fd;case 1:case 2:case 13:case 14:return 0;case 3:return C.flags;case 4:var e=SYSCALLS.get();return C.flags|=e,0;case 12:e=SYSCALLS.get();return HEAP16[e+0>>1]=2,0;case 16:case 8:default:return-28;case 9:return setErrNo(28),-1}}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}function ___sys_fstat64(g,A){try{var I=SYSCALLS.getStreamFromFD(g);return SYSCALLS.doStat(FS.stat,I.path,A)}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}function ___sys_ftruncate64(g,A,I,C){try{var e=SYSCALLS.get64(I,C);return FS.ftruncate(g,e),0}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}function ___sys_getdents64(g,A,I){try{var C=SYSCALLS.getStreamFromFD(g);C.getdents||(C.getdents=FS.readdir(C.path));for(var e=280,t=0,n=FS.llseek(C,0,1),i=Math.floor(n/e);i>>0,(tempDouble=r,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[A+t>>2]=tempI64[0],HEAP32[A+t+4>>2]=tempI64[1],tempI64=[(i+1)*e>>>0,(tempDouble=(i+1)*e,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[A+t+8>>2]=tempI64[0],HEAP32[A+t+12>>2]=tempI64[1],HEAP16[A+t+16>>1]=280,HEAP8[A+t+18>>0]=o,stringToUTF8(a,A+t+19,256),t+=e,i+=1}return FS.llseek(C,i*e,0),t}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}function ___sys_getpid(){return 42}function ___sys_ioctl(g,A,I){SYSCALLS.varargs=I;try{var C=SYSCALLS.getStreamFromFD(g);switch(A){case 21509:case 21505:case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:case 21523:case 21524:return C.tty?0:-59;case 21519:if(!C.tty)return-59;var e=SYSCALLS.get();return HEAP32[e>>2]=0,0;case 21520:return C.tty?-28:-59;case 21531:e=SYSCALLS.get();return FS.ioctl(C,A,e);default:abort("bad ioctl syscall "+A)}}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}function ___sys_mkdir(g,A){try{return g=SYSCALLS.getStr(g),SYSCALLS.doMkdir(g,A)}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}function syscallMmap2(g,A,I,C,e,t){var n;t<<=12;var i=!1;if(0!=(16&C)&&g%65536!=0)return-28;if(0!=(32&C)){if(!(n=mmapAlloc(A)))return-48;i=!0}else{var r=FS.getStream(e);if(!r)return-8;var o=FS.mmap(r,g,A,t,I,C);n=o.ptr,i=o.allocated}return SYSCALLS.mappings[n]={malloc:n,len:A,allocated:i,fd:e,prot:I,flags:C,offset:t},n}function ___sys_mmap2(g,A,I,C,e,t){try{return syscallMmap2(g,A,I,C,e,t)}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}var ___sys_mprotect=function(g,A,I){err("warning: unsupported syscall: __sys_mprotect");try{return 0}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}};function syscallMunmap(g,A){var I=SYSCALLS.mappings[g];if(0===A||!I)return-28;if(A===I.len){var C=FS.getStream(I.fd);C&&(2&I.prot&&SYSCALLS.doMsync(g,C,A,I.flags,I.offset),FS.munmap(C)),SYSCALLS.mappings[g]=null,I.allocated&&_free(I.malloc)}return 0}function ___sys_munmap(g,A){try{return syscallMunmap(g,A)}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}function ___sys_open(g,A,I){SYSCALLS.varargs=I;try{var C=SYSCALLS.getStr(g),e=I?SYSCALLS.get():0;return FS.open(C,A,e).fd}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}function ___sys_rename(g,A){try{return g=SYSCALLS.getStr(g),A=SYSCALLS.getStr(A),FS.rename(g,A),0}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}function ___sys_rmdir(g){try{return g=SYSCALLS.getStr(g),FS.rmdir(g),0}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}function ___sys_stat64(g,A){try{return g=SYSCALLS.getStr(g),SYSCALLS.doStat(FS.stat,g,A)}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}function ___sys_unlink(g){try{return g=SYSCALLS.getStr(g),FS.unlink(g),0}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),-g.errno}}var char_0=48,char_9=57;function makeLegalFunctionName(g){if(void 0===g)return"_unknown";var A=(g=g.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return A>=char_0&&A<=char_9?"_"+g:g}function createNamedFunction(g,A){return g=makeLegalFunctionName(g),new Function("body","return function "+g+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(A)}var emval_free_list=[],emval_handle_array=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function count_emval_handles(){for(var g=0,A=5;A>2])}var awaitingDependencies={},typeDependencies={},InternalError=void 0;function throwInternalError(g){throw new InternalError(g)}function whenDependentTypesAreResolved(g,A,I){function C(A){var C=I(A);C.length!==g.length&&throwInternalError("Mismatched type converter count");for(var e=0;e>t])},destructorFunction:null})}function ClassHandle_isAliasOf(g){if(!(this instanceof ClassHandle))return!1;if(!(g instanceof ClassHandle))return!1;for(var A=this.$$.ptrType.registeredClass,I=this.$$.ptr,C=g.$$.ptrType.registeredClass,e=g.$$.ptr;A.baseClass;)I=A.upcast(I),A=A.baseClass;for(;C.baseClass;)e=C.upcast(e),C=C.baseClass;return A===C&&I===e}function shallowCopyInternalPointer(g){return{count:g.count,deleteScheduled:g.deleteScheduled,preservePointerOnDelete:g.preservePointerOnDelete,ptr:g.ptr,ptrType:g.ptrType,smartPtr:g.smartPtr,smartPtrType:g.smartPtrType}}function throwInstanceAlreadyDeleted(g){throwBindingError(g.$$.ptrType.registeredClass.name+" instance already deleted")}function ClassHandle_clone(){if(this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var g=attachFinalizer(Object.create(Object.getPrototypeOf(this),{$$:{value:shallowCopyInternalPointer(this.$$)}}));return g.$$.count.value+=1,g.$$.deleteScheduled=!1,g}function ClassHandle_delete(){this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&throwBindingError("Object already scheduled for deletion"),detachFinalizer(this),releaseClassHandle(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function ClassHandle_isDeleted(){return!this.$$.ptr}function ClassHandle_deleteLater(){return this.$$.ptr||throwInstanceAlreadyDeleted(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&throwBindingError("Object already scheduled for deletion"),deletionQueue.push(this),1===deletionQueue.length&&delayFunction&&delayFunction(flushPendingDeletes),this.$$.deleteScheduled=!0,this}function init_ClassHandle(){ClassHandle.prototype.isAliasOf=ClassHandle_isAliasOf,ClassHandle.prototype.clone=ClassHandle_clone,ClassHandle.prototype.delete=ClassHandle_delete,ClassHandle.prototype.isDeleted=ClassHandle_isDeleted,ClassHandle.prototype.deleteLater=ClassHandle_deleteLater}function ClassHandle(){}var registeredPointers={};function ensureOverloadTable(g,A,I){if(void 0===g[A].overloadTable){var C=g[A];g[A]=function(){return g[A].overloadTable.hasOwnProperty(arguments.length)||throwBindingError("Function '"+I+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+g[A].overloadTable+")!"),g[A].overloadTable[arguments.length].apply(this,arguments)},g[A].overloadTable=[],g[A].overloadTable[C.argCount]=C}}function exposePublicSymbol(g,A,I){Module.hasOwnProperty(g)?((void 0===I||void 0!==Module[g].overloadTable&&void 0!==Module[g].overloadTable[I])&&throwBindingError("Cannot register public name '"+g+"' twice"),ensureOverloadTable(Module,g,g),Module.hasOwnProperty(I)&&throwBindingError("Cannot register multiple overloads of a function with the same number of arguments ("+I+")!"),Module[g].overloadTable[I]=A):(Module[g]=A,void 0!==I&&(Module[g].numArguments=I))}function RegisteredClass(g,A,I,C,e,t,n,i){this.name=g,this.constructor=A,this.instancePrototype=I,this.rawDestructor=C,this.baseClass=e,this.getActualType=t,this.upcast=n,this.downcast=i,this.pureVirtualFunctions=[]}function upcastPointer(g,A,I){for(;A!==I;)A.upcast||throwBindingError("Expected null or instance of "+I.name+", got an instance of "+A.name),g=A.upcast(g),A=A.baseClass;return g}function constNoSmartPtrRawPointerToWireType(g,A){if(null===A)return this.isReference&&throwBindingError("null is not a valid "+this.name),0;A.$$||throwBindingError('Cannot pass "'+_embind_repr(A)+'" as a '+this.name),A.$$.ptr||throwBindingError("Cannot pass deleted object as a pointer of type "+this.name);var I=A.$$.ptrType.registeredClass;return upcastPointer(A.$$.ptr,I,this.registeredClass)}function genericPointerToWireType(g,A){var I;if(null===A)return this.isReference&&throwBindingError("null is not a valid "+this.name),this.isSmartPointer?(I=this.rawConstructor(),null!==g&&g.push(this.rawDestructor,I),I):0;A.$$||throwBindingError('Cannot pass "'+_embind_repr(A)+'" as a '+this.name),A.$$.ptr||throwBindingError("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&A.$$.ptrType.isConst&&throwBindingError("Cannot convert argument of type "+(A.$$.smartPtrType?A.$$.smartPtrType.name:A.$$.ptrType.name)+" to parameter type "+this.name);var C=A.$$.ptrType.registeredClass;if(I=upcastPointer(A.$$.ptr,C,this.registeredClass),this.isSmartPointer)switch(void 0===A.$$.smartPtr&&throwBindingError("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:A.$$.smartPtrType===this?I=A.$$.smartPtr:throwBindingError("Cannot convert argument of type "+(A.$$.smartPtrType?A.$$.smartPtrType.name:A.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:I=A.$$.smartPtr;break;case 2:if(A.$$.smartPtrType===this)I=A.$$.smartPtr;else{var e=A.clone();I=this.rawShare(I,__emval_register((function(){e.delete()}))),null!==g&&g.push(this.rawDestructor,I)}break;default:throwBindingError("Unsupporting sharing policy")}return I}function nonConstNoSmartPtrRawPointerToWireType(g,A){if(null===A)return this.isReference&&throwBindingError("null is not a valid "+this.name),0;A.$$||throwBindingError('Cannot pass "'+_embind_repr(A)+'" as a '+this.name),A.$$.ptr||throwBindingError("Cannot pass deleted object as a pointer of type "+this.name),A.$$.ptrType.isConst&&throwBindingError("Cannot convert argument of type "+A.$$.ptrType.name+" to parameter type "+this.name);var I=A.$$.ptrType.registeredClass;return upcastPointer(A.$$.ptr,I,this.registeredClass)}function RegisteredPointer_getPointee(g){return this.rawGetPointee&&(g=this.rawGetPointee(g)),g}function RegisteredPointer_destructor(g){this.rawDestructor&&this.rawDestructor(g)}function RegisteredPointer_deleteObject(g){null!==g&&g.delete()}function downcastPointer(g,A,I){if(A===I)return g;if(void 0===I.baseClass)return null;var C=downcastPointer(g,A,I.baseClass);return null===C?null:I.downcast(C)}function getInheritedInstance(g,A){return A=getBasestPointer(g,A),registeredInstances[A]}function makeClassHandle(g,A){return A.ptrType&&A.ptr||throwInternalError("makeClassHandle requires ptr and ptrType"),!!A.smartPtrType!==!!A.smartPtr&&throwInternalError("Both smartPtrType and smartPtr must be specified"),A.count={value:1},attachFinalizer(Object.create(g,{$$:{value:A}}))}function RegisteredPointer_fromWireType(g){var A=this.getPointee(g);if(!A)return this.destructor(g),null;var I=getInheritedInstance(this.registeredClass,A);if(void 0!==I){if(0===I.$$.count.value)return I.$$.ptr=A,I.$$.smartPtr=g,I.clone();var C=I.clone();return this.destructor(g),C}function e(){return this.isSmartPointer?makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:A,smartPtrType:this,smartPtr:g}):makeClassHandle(this.registeredClass.instancePrototype,{ptrType:this,ptr:g})}var t,n=this.registeredClass.getActualType(A),i=registeredPointers[n];if(!i)return e.call(this);t=this.isConst?i.constPointerType:i.pointerType;var r=downcastPointer(A,this.registeredClass,t.registeredClass);return null===r?e.call(this):this.isSmartPointer?makeClassHandle(t.registeredClass.instancePrototype,{ptrType:t,ptr:r,smartPtrType:this,smartPtr:g}):makeClassHandle(t.registeredClass.instancePrototype,{ptrType:t,ptr:r})}function init_RegisteredPointer(){RegisteredPointer.prototype.getPointee=RegisteredPointer_getPointee,RegisteredPointer.prototype.destructor=RegisteredPointer_destructor,RegisteredPointer.prototype.argPackAdvance=8,RegisteredPointer.prototype.readValueFromPointer=simpleReadValueFromPointer,RegisteredPointer.prototype.deleteObject=RegisteredPointer_deleteObject,RegisteredPointer.prototype.fromWireType=RegisteredPointer_fromWireType}function RegisteredPointer(g,A,I,C,e,t,n,i,r,o,a){this.name=g,this.registeredClass=A,this.isReference=I,this.isConst=C,this.isSmartPointer=e,this.pointeeType=t,this.sharingPolicy=n,this.rawGetPointee=i,this.rawConstructor=r,this.rawShare=o,this.rawDestructor=a,e||void 0!==A.baseClass?this.toWireType=genericPointerToWireType:C?(this.toWireType=constNoSmartPtrRawPointerToWireType,this.destructorFunction=null):(this.toWireType=nonConstNoSmartPtrRawPointerToWireType,this.destructorFunction=null)}function replacePublicSymbol(g,A,I){Module.hasOwnProperty(g)||throwInternalError("Replacing nonexistant public symbol"),void 0!==Module[g].overloadTable&&void 0!==I?Module[g].overloadTable[I]=A:(Module[g]=A,Module[g].argCount=I)}function dynCallLegacy(g,A,I){var C=Module["dynCall_"+g];return I&&I.length?C.apply(null,[A].concat(I)):C.call(null,A)}function dynCall(g,A,I){return g.includes("j")?dynCallLegacy(g,A,I):wasmTable.get(A).apply(null,I)}function getDynCaller(g,A){var I=[];return function(){I.length=arguments.length;for(var C=0;C0?", ":"")+l),c+=(o?"var rv = ":"")+"invoker(fn"+(l.length>0?", ":"")+l+");\n",i)c+="runDestructors(destructors);\n";else for(r=n?1:2;r>2)+C]);return I}function __embind_register_class_class_function(g,A,I,C,e,t,n){var i=heap32VectorToArray(I,C);A=readLatin1String(A),t=embind__requireFunction(e,t),whenDependentTypesAreResolved([],[g],(function(g){var C=(g=g[0]).name+"."+A;function e(){throwUnboundTypeError("Cannot call "+C+" due to unbound types",i)}A.startsWith("@@")&&(A=Symbol[A.substring(2)]);var r=g.registeredClass.constructor;return void 0===r[A]?(e.argCount=I-1,r[A]=e):(ensureOverloadTable(r,A,C),r[A].overloadTable[I-1]=e),whenDependentTypesAreResolved([],i,(function(g){var e=[g[0],null].concat(g.slice(1)),i=craftInvokerFunction(C,e,null,t,n);return void 0===r[A].overloadTable?(i.argCount=I-1,r[A]=i):r[A].overloadTable[I-1]=i,[]})),[]}))}function __embind_register_class_constructor(g,A,I,C,e,t){assert(A>0);var n=heap32VectorToArray(A,I);e=embind__requireFunction(C,e),whenDependentTypesAreResolved([],[g],(function(g){var I="constructor "+(g=g[0]).name;if(void 0===g.registeredClass.constructor_body&&(g.registeredClass.constructor_body=[]),void 0!==g.registeredClass.constructor_body[A-1])throw new BindingError("Cannot register multiple constructors with identical number of parameters ("+(A-1)+") for class '"+g.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return g.registeredClass.constructor_body[A-1]=function(){throwUnboundTypeError("Cannot construct "+g.name+" due to unbound types",n)},whenDependentTypesAreResolved([],n,(function(C){return C.splice(1,0,null),g.registeredClass.constructor_body[A-1]=craftInvokerFunction(I,C,null,e,t),[]})),[]}))}function __embind_register_class_function(g,A,I,C,e,t,n,i){var r=heap32VectorToArray(I,C);A=readLatin1String(A),t=embind__requireFunction(e,t),whenDependentTypesAreResolved([],[g],(function(g){var C=(g=g[0]).name+"."+A;function e(){throwUnboundTypeError("Cannot call "+C+" due to unbound types",r)}A.startsWith("@@")&&(A=Symbol[A.substring(2)]),i&&g.registeredClass.pureVirtualFunctions.push(A);var o=g.registeredClass.instancePrototype,a=o[A];return void 0===a||void 0===a.overloadTable&&a.className!==g.name&&a.argCount===I-2?(e.argCount=I-2,e.className=g.name,o[A]=e):(ensureOverloadTable(o,A,C),o[A].overloadTable[I-2]=e),whenDependentTypesAreResolved([],r,(function(e){var i=craftInvokerFunction(C,e,g,t,n);return void 0===o[A].overloadTable?(i.argCount=I-2,o[A]=i):o[A].overloadTable[I-2]=i,[]})),[]}))}function validateThis(g,A,I){return g instanceof Object||throwBindingError(I+' with invalid "this": '+g),g instanceof A.registeredClass.constructor||throwBindingError(I+' incompatible with "this" of type '+g.constructor.name),g.$$.ptr||throwBindingError("cannot call emscripten binding method "+I+" on deleted object"),upcastPointer(g.$$.ptr,g.$$.ptrType.registeredClass,A.registeredClass)}function __embind_register_class_property(g,A,I,C,e,t,n,i,r,o){A=readLatin1String(A),e=embind__requireFunction(C,e),whenDependentTypesAreResolved([],[g],(function(g){var C=(g=g[0]).name+"."+A,a={get:function(){throwUnboundTypeError("Cannot access "+C+" due to unbound types",[I,n])},enumerable:!0,configurable:!0};return a.set=r?function(){throwUnboundTypeError("Cannot access "+C+" due to unbound types",[I,n])}:function(g){throwBindingError(C+" is a read-only property")},Object.defineProperty(g.registeredClass.instancePrototype,A,a),whenDependentTypesAreResolved([],r?[I,n]:[I],(function(I){var n=I[0],a={get:function(){var A=validateThis(this,g,C+" getter");return n.fromWireType(e(t,A))},enumerable:!0};if(r){r=embind__requireFunction(i,r);var l=I[1];a.set=function(A){var I=validateThis(this,g,C+" setter"),e=[];r(o,I,l.toWireType(e,A)),runDestructors(e)}}return Object.defineProperty(g.registeredClass.instancePrototype,A,a),[]})),[]}))}function __emval_decref(g){g>4&&0==--emval_handle_array[g].refcount&&(emval_handle_array[g]=void 0,emval_free_list.push(g))}function __embind_register_emval(g,A){registerType(g,{name:A=readLatin1String(A),fromWireType:function(g){var A=emval_handle_array[g].value;return __emval_decref(g),A},toWireType:function(g,A){return __emval_register(A)},argPackAdvance:8,readValueFromPointer:simpleReadValueFromPointer,destructorFunction:null})}function _embind_repr(g){if(null===g)return"null";var A=typeof g;return"object"===A||"array"===A||"function"===A?g.toString():""+g}function floatReadValueFromPointer(g,A){switch(A){case 2:return function(g){return this.fromWireType(HEAPF32[g>>2])};case 3:return function(g){return this.fromWireType(HEAPF64[g>>3])};default:throw new TypeError("Unknown float type: "+g)}}function __embind_register_float(g,A,I){var C=getShiftFromSize(I);registerType(g,{name:A=readLatin1String(A),fromWireType:function(g){return g},toWireType:function(g,A){if("number"!=typeof A&&"boolean"!=typeof A)throw new TypeError('Cannot convert "'+_embind_repr(A)+'" to '+this.name);return A},argPackAdvance:8,readValueFromPointer:floatReadValueFromPointer(A,C),destructorFunction:null})}function __embind_register_function(g,A,I,C,e,t){var n=heap32VectorToArray(A,I);g=readLatin1String(g),e=embind__requireFunction(C,e),exposePublicSymbol(g,(function(){throwUnboundTypeError("Cannot call "+g+" due to unbound types",n)}),A-1),whenDependentTypesAreResolved([],n,(function(I){var C=[I[0],null].concat(I.slice(1));return replacePublicSymbol(g,craftInvokerFunction(g,C,null,e,t),A-1),[]}))}function integerReadValueFromPointer(g,A,I){switch(A){case 0:return I?function(g){return HEAP8[g]}:function(g){return HEAPU8[g]};case 1:return I?function(g){return HEAP16[g>>1]}:function(g){return HEAPU16[g>>1]};case 2:return I?function(g){return HEAP32[g>>2]}:function(g){return HEAPU32[g>>2]};default:throw new TypeError("Unknown integer type: "+g)}}function __embind_register_integer(g,A,I,C,e){A=readLatin1String(A),-1===e&&(e=4294967295);var t=getShiftFromSize(I),n=function(g){return g};if(0===C){var i=32-8*I;n=function(g){return g<>>i}}var r=A.includes("unsigned");registerType(g,{name:A,fromWireType:n,toWireType:function(g,I){if("number"!=typeof I&&"boolean"!=typeof I)throw new TypeError('Cannot convert "'+_embind_repr(I)+'" to '+this.name);if(Ie)throw new TypeError('Passing a number "'+_embind_repr(I)+'" from JS side to C/C++ side to an argument of type "'+A+'", which is outside the valid range ['+C+", "+e+"]!");return r?I>>>0:0|I},argPackAdvance:8,readValueFromPointer:integerReadValueFromPointer(A,t,0!==C),destructorFunction:null})}function __embind_register_memory_view(g,A,I){var C=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][A];function e(g){var A=HEAPU32,I=A[g>>=2],e=A[g+1];return new C(buffer,e,I)}registerType(g,{name:I=readLatin1String(I),fromWireType:e,argPackAdvance:8,readValueFromPointer:e},{ignoreDuplicateRegistrations:!0})}function __embind_register_smart_ptr(g,A,I,C,e,t,n,i,r,o,a,l){I=readLatin1String(I),t=embind__requireFunction(e,t),i=embind__requireFunction(n,i),o=embind__requireFunction(r,o),l=embind__requireFunction(a,l),whenDependentTypesAreResolved([g],[A],(function(g){return g=g[0],[new RegisteredPointer(I,g.registeredClass,!1,!1,!0,g,C,t,i,o,l)]}))}function __embind_register_std_string(g,A){var I="std::string"===(A=readLatin1String(A));registerType(g,{name:A,fromWireType:function(g){var A,C=HEAPU32[g>>2];if(I)for(var e=g+4,t=0;t<=C;++t){var n=g+4+t;if(t==C||0==HEAPU8[n]){var i=UTF8ToString(e,n-e);void 0===A?A=i:(A+=String.fromCharCode(0),A+=i),e=n+1}}else{var r=new Array(C);for(t=0;t>2]=e,I&&C)stringToUTF8(A,t+4,e+1);else if(C)for(var n=0;n255&&(_free(t),throwBindingError("String has UTF-16 code units that do not fit in 8 bits")),HEAPU8[t+4+n]=i}else for(n=0;n>2],n=t(),r=g+4,o=0;o<=e;++o){var a=g+4+o*A;if(o==e||0==n[a>>i]){var l=C(r,a-r);void 0===I?I=l:(I+=String.fromCharCode(0),I+=l),r=a+A}}return _free(g),I},toWireType:function(g,C){"string"!=typeof C&&throwBindingError("Cannot pass non-string to C++ string type "+I);var t=n(C),r=_malloc(4+t+A);return HEAPU32[r>>2]=t>>i,e(C,r+4,t+A),null!==g&&g.push(_free,r),r},argPackAdvance:8,readValueFromPointer:simpleReadValueFromPointer,destructorFunction:function(g){_free(g)}})}function __embind_register_value_object(g,A,I,C,e,t){structRegistrations[g]={name:readLatin1String(A),rawConstructor:embind__requireFunction(I,C),rawDestructor:embind__requireFunction(e,t),fields:[]}}function __embind_register_value_object_field(g,A,I,C,e,t,n,i,r,o){structRegistrations[g].fields.push({fieldName:readLatin1String(A),getterReturnType:I,getter:embind__requireFunction(C,e),getterContext:t,setterArgumentType:n,setter:embind__requireFunction(i,r),setterContext:o})}function __embind_register_void(g,A){registerType(g,{isVoid:!0,name:A=readLatin1String(A),argPackAdvance:0,fromWireType:function(){},toWireType:function(g,A){}})}function __emscripten_throw_longjmp(){throw"longjmp"}function __emval_as(g,A,I){g=requireHandle(g),A=requireRegisteredType(A,"emval::as");var C=[],e=__emval_register(C);return HEAP32[I>>2]=e,A.toWireType(C,g)}function __emval_lookupTypes(g,A){for(var I=new Array(g),C=0;C>2)+C],"parameter "+C);return I}function __emval_call(g,A,I,C){g=requireHandle(g);for(var e=__emval_lookupTypes(A,I),t=new Array(A),n=0;n>2]=__emval_register(A),A}var emval_symbols={};function getStringOrSymbol(g){var A=emval_symbols[g];return void 0===A?readLatin1String(g):A}var emval_methodCallers=[],_emscripten_get_now;function __emval_call_method(g,A,I,C,e){return(g=emval_methodCallers[g])(A=requireHandle(A),I=getStringOrSymbol(I),__emval_allocateDestructors(C),e)}function __emval_call_void_method(g,A,I,C){(g=emval_methodCallers[g])(A=requireHandle(A),I=getStringOrSymbol(I),null,C)}function emval_get_global(){return"object"==typeof globalThis?globalThis:Function("return this")()}function __emval_get_global(g){return 0===g?__emval_register(emval_get_global()):(g=getStringOrSymbol(g),__emval_register(emval_get_global()[g]))}function __emval_addMethodCaller(g){var A=emval_methodCallers.length;return emval_methodCallers.push(g),A}function __emval_get_method_caller(g,A){for(var I=__emval_lookupTypes(g,A),C=I[0],e=C.name+"_$"+I.slice(1).map((function(g){return g.name})).join("_")+"$",t=["retType"],n=[C],i="",r=0;r4&&(emval_handle_array[g].refcount+=1)}function __emval_new_cstring(g){return __emval_register(getStringOrSymbol(g))}function __emval_run_destructors(g){runDestructors(emval_handle_array[g].value),__emval_decref(g)}function __emval_take_value(g,A){return __emval_register((g=requireRegisteredType(g,"_emval_take_value")).readValueFromPointer(A))}function __emval_typeof(g){return __emval_register(typeof(g=requireHandle(g)))}function _abort(){abort()}function _clock(){return void 0===_clock.start&&(_clock.start=Date.now()),1e3*(Date.now()-_clock.start)|0}_emscripten_get_now=ENVIRONMENT_IS_NODE?function(){var g=process.hrtime();return 1e3*g[0]+g[1]/1e6}:function(){return performance.now()};var _emscripten_get_now_is_monotonic=!0;function _clock_gettime(g,A){var I;if(0===g)I=Date.now();else{if(1!==g&&4!==g||!_emscripten_get_now_is_monotonic)return setErrNo(28),-1;I=_emscripten_get_now()}return HEAP32[A>>2]=I/1e3|0,HEAP32[A+4>>2]=I%1e3*1e3*1e3|0,0}function _difftime(g,A){return g-A}function _dlclose(g){abort("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")}function _dlerror(){abort("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")}function _dlopen(g,A){abort("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")}function _dlsym(g,A){abort("To use dlopen, you need to use Emscripten's linking support, see https://github.com/emscripten-core/emscripten/wiki/Linking")}var readAsmConstArgsArray=[];function readAsmConstArgs(g,A){var I;for(readAsmConstArgsArray.length=0,A>>=2;I=HEAPU8[g++];){var C=I<105;C&&1&A&&A++,readAsmConstArgsArray.push(C?HEAPF64[A++>>1]:HEAP32[A]),++A}return readAsmConstArgsArray}function _emscripten_asm_const_int(g,A,I){var C=readAsmConstArgs(A,I);return ASM_CONSTS[g].apply(null,C)}function _emscripten_asm_const_double(g,A,I){return _emscripten_asm_const_int(g,A,I)}function _emscripten_memcpy_big(g,A,I){HEAPU8.copyWithin(g,A,A+I)}function emscripten_realloc_buffer(g){try{return wasmMemory.grow(g-buffer.byteLength+65535>>>16),updateGlobalBufferAndViews(wasmMemory.buffer),1}catch(g){}}function _emscripten_resize_heap(g){var A=HEAPU8.length,I=2147483648;if((g>>>=0)>I)return!1;for(var C=1;C<=4;C*=2){var e=A*(1+.2/C);if(e=Math.min(e,g+100663296),emscripten_realloc_buffer(Math.min(I,alignUp(Math.max(g,e),65536))))return!0}return!1}function _emscripten_run_script(ptr){eval(UTF8ToString(ptr))}var ENV={};function getExecutableName(){return thisProgram||"./this.program"}function getEnvStrings(){if(!getEnvStrings.strings){var g={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:getExecutableName()};for(var A in ENV)void 0===ENV[A]?delete g[A]:g[A]=ENV[A];var I=[];for(var A in g)I.push(A+"="+g[A]);getEnvStrings.strings=I}return getEnvStrings.strings}function _environ_get(g,A){var I=0;return getEnvStrings().forEach((function(C,e){var t=A+I;HEAP32[g+4*e>>2]=t,writeAsciiToMemory(C,t),I+=C.length+1})),0}function _environ_sizes_get(g,A){var I=getEnvStrings();HEAP32[g>>2]=I.length;var C=0;return I.forEach((function(g){C+=g.length+1})),HEAP32[A>>2]=C,0}function _exit(g){exit(g)}function _fd_close(g){try{var A=SYSCALLS.getStreamFromFD(g);return FS.close(A),0}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),g.errno}}function _fd_fdstat_get(g,A){try{var I=SYSCALLS.getStreamFromFD(g),C=I.tty?2:FS.isDir(I.mode)?3:FS.isLink(I.mode)?7:4;return HEAP8[A>>0]=C,0}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),g.errno}}function _fd_read(g,A,I,C){try{var e=SYSCALLS.getStreamFromFD(g),t=SYSCALLS.doReadv(e,A,I);return HEAP32[C>>2]=t,0}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),g.errno}}function _fd_seek(g,A,I,C,e){try{var t=SYSCALLS.getStreamFromFD(g),n=4294967296*I+(A>>>0),i=9007199254740992;return n<=-i||n>=i?-61:(FS.llseek(t,n,C),tempI64=[t.position>>>0,(tempDouble=t.position,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[e>>2]=tempI64[0],HEAP32[e+4>>2]=tempI64[1],t.getdents&&0===n&&0===C&&(t.getdents=null),0)}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),g.errno}}function _fd_sync(g){try{var A=SYSCALLS.getStreamFromFD(g);return A.stream_ops&&A.stream_ops.fsync?-A.stream_ops.fsync(A):0}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),g.errno}}function _fd_write(g,A,I,C){try{var e=SYSCALLS.getStreamFromFD(g),t=SYSCALLS.doWritev(e,A,I);return HEAP32[C>>2]=t,0}catch(g){return void 0!==FS&&g instanceof FS.ErrnoError||abort(g),g.errno}}function _getTempRet0(){return getTempRet0()}function _getentropy(g,A){_getentropy.randomDevice||(_getentropy.randomDevice=getRandomDevice());for(var I=0;I>0]=_getentropy.randomDevice();return 0}function _gettimeofday(g){var A=Date.now();return HEAP32[g>>2]=A/1e3|0,HEAP32[g+4>>2]=A%1e3*1e3|0,0}function _llvm_eh_typeid_for(g){return g}function _setTempRet0(g){setTempRet0(g)}function __isLeapYear(g){return g%4==0&&(g%100!=0||g%400==0)}function __arraySum(g,A){for(var I=0,C=0;C<=A;I+=g[C++]);return I}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31],__MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(g,A){for(var I=new Date(g.getTime());A>0;){var C=__isLeapYear(I.getFullYear()),e=I.getMonth(),t=(C?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[e];if(!(A>t-I.getDate()))return I.setDate(I.getDate()+A),I;A-=t-I.getDate()+1,I.setDate(1),e<11?I.setMonth(e+1):(I.setMonth(0),I.setFullYear(I.getFullYear()+1))}return I}function _strftime(g,A,I,C){var e=HEAP32[C+40>>2],t={tm_sec:HEAP32[C>>2],tm_min:HEAP32[C+4>>2],tm_hour:HEAP32[C+8>>2],tm_mday:HEAP32[C+12>>2],tm_mon:HEAP32[C+16>>2],tm_year:HEAP32[C+20>>2],tm_wday:HEAP32[C+24>>2],tm_yday:HEAP32[C+28>>2],tm_isdst:HEAP32[C+32>>2],tm_gmtoff:HEAP32[C+36>>2],tm_zone:e?UTF8ToString(e):""},n=UTF8ToString(I),i={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var r in i)n=n.replace(new RegExp(r,"g"),i[r]);var o=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["January","February","March","April","May","June","July","August","September","October","November","December"];function l(g,A,I){for(var C="number"==typeof g?g.toString():g||"";C.length0?1:0}var C;return 0===(C=I(g.getFullYear()-A.getFullYear()))&&0===(C=I(g.getMonth()-A.getMonth()))&&(C=I(g.getDate()-A.getDate())),C}function s(g){switch(g.getDay()){case 0:return new Date(g.getFullYear()-1,11,29);case 1:return g;case 2:return new Date(g.getFullYear(),0,3);case 3:return new Date(g.getFullYear(),0,2);case 4:return new Date(g.getFullYear(),0,1);case 5:return new Date(g.getFullYear()-1,11,31);case 6:return new Date(g.getFullYear()-1,11,30)}}function u(g){var A=__addDays(new Date(g.tm_year+1900,0,1),g.tm_yday),I=new Date(A.getFullYear(),0,4),C=new Date(A.getFullYear()+1,0,4),e=s(I),t=s(C);return d(e,A)<=0?d(t,A)<=0?A.getFullYear()+1:A.getFullYear():A.getFullYear()-1}var m={"%a":function(g){return o[g.tm_wday].substring(0,3)},"%A":function(g){return o[g.tm_wday]},"%b":function(g){return a[g.tm_mon].substring(0,3)},"%B":function(g){return a[g.tm_mon]},"%C":function(g){return c((g.tm_year+1900)/100|0,2)},"%d":function(g){return c(g.tm_mday,2)},"%e":function(g){return l(g.tm_mday,2," ")},"%g":function(g){return u(g).toString().substring(2)},"%G":function(g){return u(g)},"%H":function(g){return c(g.tm_hour,2)},"%I":function(g){var A=g.tm_hour;return 0==A?A=12:A>12&&(A-=12),c(A,2)},"%j":function(g){return c(g.tm_mday+__arraySum(__isLeapYear(g.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,g.tm_mon-1),3)},"%m":function(g){return c(g.tm_mon+1,2)},"%M":function(g){return c(g.tm_min,2)},"%n":function(){return"\n"},"%p":function(g){return g.tm_hour>=0&&g.tm_hour<12?"AM":"PM"},"%S":function(g){return c(g.tm_sec,2)},"%t":function(){return"\t"},"%u":function(g){return g.tm_wday||7},"%U":function(g){var A=new Date(g.tm_year+1900,0,1),I=0===A.getDay()?A:__addDays(A,7-A.getDay()),C=new Date(g.tm_year+1900,g.tm_mon,g.tm_mday);if(d(I,C)<0){var e=__arraySum(__isLeapYear(C.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,C.getMonth()-1)-31,t=31-I.getDate()+e+C.getDate();return c(Math.ceil(t/7),2)}return 0===d(I,A)?"01":"00"},"%V":function(g){var A,I=new Date(g.tm_year+1900,0,4),C=new Date(g.tm_year+1901,0,4),e=s(I),t=s(C),n=__addDays(new Date(g.tm_year+1900,0,1),g.tm_yday);return d(n,e)<0?"53":d(t,n)<=0?"01":(A=e.getFullYear()=0;return A=(A=Math.abs(A)/60)/60*100+A%60,(I?"+":"-")+String("0000"+A).slice(-4)},"%Z":function(g){return g.tm_zone},"%%":function(){return"%"}};for(var r in m)n.includes(r)&&(n=n.replace(new RegExp(r,"g"),m[r](t)));var v=intArrayFromString(n,!1);return v.length>A?0:(writeArrayToMemory(v,g),v.length-1)}function jstoi_q(g){return parseInt(g)}function _strptime(g,A,I){for(var C=UTF8ToString(A),e="\\!@#$^&*()+=-[]/{}|:<>?,.",t=0,n=e.length;t=0;t=C.indexOf("%"))l.push(C[t+1]),C=C.replace(new RegExp("\\%"+C[t+1],"g"),"");var c=new RegExp("^"+C,"i").exec(UTF8ToString(g));if(c){var d,s=function(){function g(g,A,I){return"number"!=typeof g||isNaN(g)?A:g>=A?g<=I?g:I:A}return{year:g(HEAP32[I+20>>2]+1900,1970,9999),month:g(HEAP32[I+16>>2],0,11),day:g(HEAP32[I+12>>2],1,31),hour:g(HEAP32[I+8>>2],0,23),min:g(HEAP32[I+4>>2],0,59),sec:g(HEAP32[I>>2],0,59)}}(),u=function(g){var A=l.indexOf(g);if(A>=0)return c[A+1]};if((d=u("S"))&&(s.sec=jstoi_q(d)),(d=u("M"))&&(s.min=jstoi_q(d)),d=u("H"))s.hour=jstoi_q(d);else if(d=u("I")){var m=jstoi_q(d);(d=u("p"))&&(m+="P"===d.toUpperCase()[0]?12:0),s.hour=m}if(d=u("Y"))s.year=jstoi_q(d);else if(d=u("y")){var v=jstoi_q(d);(d=u("C"))?v+=100*jstoi_q(d):v+=v<69?2e3:1900,s.year=v}if((d=u("m"))?s.month=jstoi_q(d)-1:(d=u("b"))&&(s.month={JAN:0,FEB:1,MAR:2,APR:3,MAY:4,JUN:5,JUL:6,AUG:7,SEP:8,OCT:9,NOV:10,DEC:11}[d.substring(0,3).toUpperCase()]||0),d=u("d"))s.day=jstoi_q(d);else if(d=u("j"))for(var b=jstoi_q(d),Z=__isLeapYear(s.year),p=0;p<12;++p){var h=__arraySum(Z?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,p-1);b<=h+(Z?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[p]&&(s.day=b-h)}else if(d=u("a")){var R=d.substring(0,3).toUpperCase();if(d=u("U")){var y={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6}[R],w=jstoi_q(d);D=0===(M=new Date(s.year,0,1)).getDay()?__addDays(M,y+7*(w-1)):__addDays(M,7-M.getDay()+y+7*(w-1)),s.day=D.getDate(),s.month=D.getMonth()}else if(d=u("W")){var M,D;y={MON:0,TUE:1,WED:2,THU:3,FRI:4,SAT:5,SUN:6}[R],w=jstoi_q(d);D=1===(M=new Date(s.year,0,1)).getDay()?__addDays(M,y+7*(w-1)):__addDays(M,7-M.getDay()+1+y+7*(w-1)),s.day=D.getDate(),s.month=D.getMonth()}}var S=new Date(s.year,s.month,s.day,s.hour,s.min,s.sec,0);return HEAP32[I>>2]=S.getSeconds(),HEAP32[I+4>>2]=S.getMinutes(),HEAP32[I+8>>2]=S.getHours(),HEAP32[I+12>>2]=S.getDate(),HEAP32[I+16>>2]=S.getMonth(),HEAP32[I+20>>2]=S.getFullYear()-1900,HEAP32[I+24>>2]=S.getDay(),HEAP32[I+28>>2]=__arraySum(__isLeapYear(S.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,S.getMonth()-1)+S.getDate()-1,HEAP32[I+32>>2]=0,g+intArrayFromString(c[0]).length-1}return 0}function _time(g){var A=Date.now()/1e3|0;return g&&(HEAP32[g>>2]=A),A}function _timegm(g){_tzset();var A=Date.UTC(HEAP32[g+20>>2]+1900,HEAP32[g+16>>2],HEAP32[g+12>>2],HEAP32[g+8>>2],HEAP32[g+4>>2],HEAP32[g>>2],0),I=new Date(A);HEAP32[g+24>>2]=I.getUTCDay();var C=Date.UTC(I.getUTCFullYear(),0,1,0,0,0,0),e=(I.getTime()-C)/864e5|0;return HEAP32[g+28>>2]=e,I.getTime()/1e3|0}var FSNode=function(g,A,I,C){g||(g=this),this.parent=g,this.mount=g.mount,this.mounted=null,this.id=FS.nextInode++,this.name=A,this.mode=I,this.node_ops={},this.stream_ops={},this.rdev=C},readMode=365,writeMode=146;function intArrayFromString(g,A,I){var C=I>0?I:lengthBytesUTF8(g)+1,e=new Array(C),t=stringToUTF8Array(g,e,0,e.length);return A&&(e.length=t),e}Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(g){g?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(g){g?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}}),FS.FSNode=FSNode,FS.staticInit(),Module.FS_createPath=FS.createPath,Module.FS_createDataFile=FS.createDataFile,Module.FS_createPreloadedFile=FS.createPreloadedFile,Module.FS_createLazyFile=FS.createLazyFile,Module.FS_createDevice=FS.createDevice,Module.FS_unlink=FS.unlink,init_emval(),PureVirtualError=Module.PureVirtualError=extendError(Error,"PureVirtualError"),embind_init_charCodes(),init_embind(),BindingError=Module.BindingError=extendError(Error,"BindingError"),InternalError=Module.InternalError=extendError(Error,"InternalError"),init_ClassHandle(),init_RegisteredPointer(),UnboundTypeError=Module.UnboundTypeError=extendError(Error,"UnboundTypeError");var decodeBase64="function"==typeof atob?atob:function(g){var A,I,C,e,t,n,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="",o=0;g=g.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{A=i.indexOf(g.charAt(o++))<<2|(e=i.indexOf(g.charAt(o++)))>>4,I=(15&e)<<4|(t=i.indexOf(g.charAt(o++)))>>2,C=(3&t)<<6|(n=i.indexOf(g.charAt(o++))),r+=String.fromCharCode(A),64!==t&&(r+=String.fromCharCode(I)),64!==n&&(r+=String.fromCharCode(C))}while(o0||(preRun(),runDependencies>0||(Module.setStatus?(Module.setStatus("Running..."),setTimeout((function(){setTimeout((function(){Module.setStatus("")}),1),A()}),1)):A()))}function exit(g,A){EXITSTATUS=g,keepRuntimeAlive()||exitRuntime(),procExit(g)}function procExit(g){EXITSTATUS=g,keepRuntimeAlive()||(Module.onExit&&Module.onExit(g),ABORT=!0),quit_(g,new ExitStatus(g))}if(Module.addRunDependency=addRunDependency,Module.removeRunDependency=removeRunDependency,Module.FS_createPath=FS.createPath,Module.FS_createDataFile=FS.createDataFile,Module.FS_createPreloadedFile=FS.createPreloadedFile,Module.FS_createLazyFile=FS.createLazyFile,Module.FS_createDevice=FS.createDevice,Module.FS_unlink=FS.unlink,Module.FS=FS,dependenciesFulfilled=function g(){calledRun||run(),calledRun||(dependenciesFulfilled=g)},Module.run=run,Module.preInit)for("function"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();return run(),PSPDFModuleInit.ready}}();"object"==typeof exports&&"object"==typeof module?module.exports=PSPDFModuleInit:"function"==typeof define&&define.amd?define([],(function(){return PSPDFModuleInit})):"object"==typeof exports&&(exports.PSPDFModuleInit=PSPDFModuleInit); \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/pspdfkit-745dfd6e3c06b8cc.wasm b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/pspdfkit-745dfd6e3c06b8cc.wasm new file mode 100644 index 00000000..b00b586c Binary files /dev/null and b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/pspdfkit-745dfd6e3c06b8cc.wasm differ diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/windows-ba2e2d3f7c5061a9.css b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/windows-ba2e2d3f7c5061a9.css new file mode 100644 index 00000000..c701ea71 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit-lib/windows-ba2e2d3f7c5061a9.css @@ -0,0 +1,15 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +:root{--primary:#2d78d6;--primary-dark-1:#1f5aa2;--primary-dark-2:#123d70;--primary-dark-3:#0b2f56;--primary-light-1:#3091e2;--primary-light-2:#5fafef;--primary-light-3:#91c5f0;--disabled:#dee5f0;--color-coolGrey800:#3d424e;--PSPDFKit-Pager-color:var(--color-white);--PSPDFKit-Pager-background:var(--primary-dark-2);--PSPDFKit-Pager-input-isActive-color:var(--color-white);--PSPDFKit-Pager-input-isDisabled-color:var(--disabled);--PSPDFKit-Pager-input-isHovered-color:var(--color-white);--PSPDFKit-Pager-input-isDisabled-opacity:0.25;--PSPDFKit-Toolbar-background:var(--primary-dark-1);--PSPDFKit-Toolbar-color:var(--color-white);--PSPDFKit-Toolbar-button-border:none;--PSPDFKit-Toolbar-button-image-annotation:var(--primary-dark-1);--PSPDFKit-Toolbar-dropdownButton-isFocused-background:var(--primary);--PSPDFKit-Toolbar-dropdownButton-isFocused-color:var(--color-white);--PSPDFKit-Toolbar-dropdownButton-isSelected-color:var(--color-white);--PSPDFKit-Toolbar-dropdownButton-isSelected-background:var(--primary);--PSPDFKit-CropToolbarComponent-button-borderColor:var(--color-coolGrey600);--PSPDFKit-CropToolbarComponent-button-isHovered-borderColor:var(--color-coolGrey200);--PSPDFKit-CropToolbarComponent-text-color:var(--color-white);--PSPDFKit-CropToolbarComponent-button-isHovered-backgroundColor:var(--color-coolGrey700);--PSPDFKit-AnnotationToolbar-button-color:var(--color-coolGrey800);--PSPDFKit-ToolbarButton-dropdown-isFocused-background:var(--primary);--PSPDFKit-ToolbarButton-dropdown-isFocused-color:var(--color-white);--PSPDFKit-ToolbarButton-isActive-background:var(--color-white);--PSPDFKit-ToolbarButton-isActive-color:var(--primary-dark-1);--PSPDFKit-ToolbarResponsiveGroup-background:var(--primary-dark-2);--PSPDFKit-ToolbarResponsiveGroup-background-isHovered:var(--primary-dark-1);--PSPDFKit-ToolbarResponsiveGroup--primary-background:var( + --PSPDFKit-ToolbarResponsiveGroup-background + );--PSPDFKit-ToolbarResponsiveGroup-button--primary-arrow-border:var(--color-white);--PSPDFKit-Viewport-background:#dfdfdf;--PSPDFKit-DropdownMenu-background:var(--color-coolGrey25);--PSPDFKit-DropdownMenu-color:var(--color-coolGrey850);--PSPDFKit-DropdownMenu-border:var(--primary-dark-1);--PSPDFKit-DropdownMenu-isSelected-background:var(--primary);--PSPDFKit-DropdownMenu-isSelected-color:var(--color-white);--PSPDFKit-LayoutConfig-icon-isActive-color:var(--primary);--PSPDFKit-LayoutConfig-icon-isActive-background:var(--color-white);--PSPDFKit-Signatures-background:var(--color-blue600);--PSPDFKit-Signatures-color:var(--color-white);--PSPDFKit-Signatures-border:var(--color-blue400);--PSPDFKit-Signatures-container-color:var(--color-coolGrey700);--PSPDFKit-Signatures-editorCanvas-border:var(--color-coolGrey100);--PSPDFKit-Signatures-editorCanvas-background:var(--color-coolGrey25);--PSPDFKit-Signatures-signHere-color:var(--color-coolGrey700);--PSPDFKit-Signatures-DeleteSignatureButton-color:var(--color-coolGrey700);--PSPDFKit-Signatures-Title-color:var(--color-coolGrey700)}.PSPDFKit-Page-Indicator-Input,.PSPDFKit-Page-Indicator-Label{background:var(--PSPDFKit-Pager-background);color:var(--PSPDFKit-Pager-color);font-family:Segoe UI,sans-serif}.PSPDFKit-Page-Indicator-Next,.PSPDFKit-Page-Indicator-Prev{background:var(--PSPDFKit-Pager-background);border-radius:0;margin:0}.PSPDFKit-Page-Indicator-Next:hover,.PSPDFKit-Page-Indicator-Prev:hover{background:var(--PSPDFKit-Pager-background)}.PSPDFKit-Page-Indicator-Next-disabled span,.PSPDFKit-Page-Indicator-Prev-disabled span{fill:var(--disabled)!important;opacity:var(--PSPDFKit-Pager-input-isDisabled-opacity)}.PSPDFKit-Toolbar-Button,.PSPDFKit-Toolbar-Responsive-Group .PSPDFKit-Toolbar-Button,.PSPDFKit-Toolbar-Responsive-Group>div,.PSPDFKit-Toolbar>div{border:none;color:var(--PSPDFKit-Toolbar-color)}.PSPDFKit-Annotation-Toolbar .PSPDFKit-Toolbar-Button{color:var(--PSPDFKit-AnnotationToolbar-button-color)}.PSPDFKit-Toolbar .PSPDFKit-Input-Dropdown-active,.PSPDFKit-Toolbar .PSPDFKit-Input-Dropdown-active:active,.PSPDFKit-Toolbar .PSPDFKit-Input-Dropdown-active:focus{background:var(--PSPDFKit-ToolbarButton-isActive-background)}.PSPDFKit-Input-Dropdown-Item-selected{background:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-background);color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-color)}.PSPDFKit-Input-Dropdown-Item-selected>.PSPDFKit-Toolbar-Button-active{background:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-background)!important;color:var(--PSPDFKit-ToolbarButton-dropdown-isFocused-color)!important}.PSPDFKit-Annotation-Toolbar .PSPDFKit-Input-Dropdown.PSPDFKit-Toolbar-DropdownGroup:active,.PSPDFKit-Annotation-Toolbar .PSPDFKit-Input-Dropdown.PSPDFKit-Toolbar-DropdownGroup:focus,.PSPDFKit-Annotation-Toolbar .PSPDFKit-Input-Dropdown.PSPDFKit-Toolbar-DropdownGroup:focus-within{background:var(--PSPDFKit-AnnotationToolbar-background)}div[role=listbox] .PSPDFKit-Input-Dropdown-Item-selected{background:var(--color-white)}.PSPDFKit-Toolbar .PSPDFKit-Toolbar-Responsive-Group .PSPDFKit-Toolbar-Button,.PSPDFKit-Toolbar .PSPDFKit-Toolbar-Responsive-Group .PSPDFKit-Toolbar-DropdownGroup,.PSPDFKit-Toolbar .PSPDFKit-Toolbar-Responsive-Group-primary,.PSPDFKit-Toolbar .PSPDFKit-Toolbar-Responsive-Group>div{background:var(--PSPDFKit-ToolbarResponsiveGroup-background)}.PSPDFKit-Toolbar-Responsive-Group .PSPDFKit-Toolbar-Button:hover,.PSPDFKit-Toolbar-Responsive-Group .PSPDFKit-Toolbar-DropdownGroup:hover{background:var(--PSPDFKit-ToolbarResponsiveGroup-background-isHovered)}.PSPDFKit-Toolbar-Button.animatedArrow:after,.PSPDFKit-Toolbar-Button.animatedArrow:before{color:var(--PSPDFKit-ToolbarResponsiveGroup-button--primary-arrow-border)}.PSPDFKit-Annotation-Toolbar .PSPDFKit-Toolbar-Button:hover,.PSPDFKit-Annotation-Toolbar .PSPDFKit-Toolbar-DropdownGroup:hover{background:var(--color-coolGrey50)}.PSPDFKit-Text-Annotation-Toolbar-Alignment-left,.PSPDFKit-Text-Annotation-Toolbar-Alignment-right,.PSPDFKit-Toolbar-DropdownGroup-Button{border-radius:0!important}.PSPDFKit-Input-Slider-Value,.PSPDFKit-Toolbar-DropdownGroup-Button{font-family:Segoe UI,sans-serif}.PSPDFKit-Toolbar-Button-Image-Annotation{border-left:var(--PSPDFKit-Toolbar-button-image-annotation)}.PSPDFKit-Toolbar .PSPDFKit-Toolbar-DropdownGroup:hover button,.PSPDFKit-Toolbar .PSPDFKit-Toolbar-DropdownGroup:hover label,.PSPDFKit-Toolbar .PSPDFKit-Toolbar-DropdownGroup:hover span{background:initial}.PSPDFKit-DocumentEditor-MoveDialog form>span,.PSPDFKit-DocumentEditor-MoveDialog input{color:var(--color-black)}.PSPDFKit-Viewport{background:var(--PSPDFKit-Viewport-background)}.PSPDFKit-Toolbox-BlendMode{display:none!important}input[type=range]{appearance:normal}input[type=range]::-ms-fill-lower{background:#91c5f0}input[type=range]::-ms-fill-upper{background:#eee}input[type=range]::-ms-thumb{background:#1f5aa2} \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/pspdfkit.js b/EnvelopeGenerator.Web/wwwroot/pspdfkit.js new file mode 100644 index 00000000..2fc34453 --- /dev/null +++ b/EnvelopeGenerator.Web/wwwroot/pspdfkit.js @@ -0,0 +1,13 @@ +/*! + * PSPDFKit for Web 2023.4.0 (https://pspdfkit.com/web) + * + * Copyright (c) 2016-2023 PSPDFKit GmbH. All rights reserved. + * + * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW + * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT. + * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. + * This notice may not be removed from this file. + * + * PSPDFKit uses several open source third-party components: https://pspdfkit.com/acknowledgements/web/ + */ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.PSPDFKit=t():e.PSPDFKit=t()}(self,(()=>(()=>{var e,t,n,o,r={84121:(e,t,n)=>{"use strict";function o(e){return o="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},o(e)}function r(e){var t=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===o(t)?t:String(t)}function i(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>i})},22122:(e,t,n)=>{"use strict";function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;to})},17375:(e,t,n)=>{"use strict";function o(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,{Z:()=>o})},53912:(e,t,n)=>{"use strict";function o(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(null==e||e(o),!1===n||!o.defaultPrevented)return null==t?void 0:t(o)}}n.d(t,{M:()=>o})},21286:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var o=n(67294),r=n(47257),i=n(72261),a=n(8145);function s(e){const t=e+"CollectionProvider",[n,s]=(0,r.b)(t),[l,c]=n(t,{collectionRef:{current:null},itemMap:new Map}),u=e=>{const{scope:t,children:n}=e,r=o.useRef(null),i=o.useRef(new Map).current;return o.createElement(l,{scope:t,itemMap:i,collectionRef:r},n)},d=e+"CollectionSlot",p=o.forwardRef(((e,t)=>{const{scope:n,children:r}=e,s=c(d,n),l=(0,i.e)(t,s.collectionRef);return o.createElement(a.g7,{ref:l},r)})),f=e+"CollectionItemSlot",h="data-radix-collection-item",m=o.forwardRef(((e,t)=>{const{scope:n,children:r,...s}=e,l=o.useRef(null),u=(0,i.e)(t,l),d=c(f,n);return o.useEffect((()=>(d.itemMap.set(l,{ref:l,...s}),()=>{d.itemMap.delete(l)}))),o.createElement(a.g7,{[h]:"",ref:u},r)}));return[{Provider:u,Slot:p,ItemSlot:m},function(t){const n=c(e+"CollectionConsumer",t);return o.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${h}]`));return Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)))}),[n.collectionRef,n.itemMap])},s]}},72261:(e,t,n)=>{"use strict";n.d(t,{F:()=>r,e:()=>i});var o=n(67294);function r(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function i(...e){return(0,o.useCallback)(r(...e),e)}},47257:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var o=n(67294);function r(e,t=[]){let n=[];const r=()=>{const t=n.map((e=>(0,o.createContext)(e)));return function(n){const r=(null==n?void 0:n[e])||t;return(0,o.useMemo)((()=>({[`__scope${e}`]:{...n,[e]:r}})),[n,r])}};return r.scopeName=e,[function(t,r){const i=(0,o.createContext)(r),a=n.length;function s(t){const{scope:n,children:r,...s}=t,l=(null==n?void 0:n[e][a])||i,c=(0,o.useMemo)((()=>s),Object.values(s));return(0,o.createElement)(l.Provider,{value:c},r)}return n=[...n,r],s.displayName=t+"Provider",[s,function(n,s){const l=(null==s?void 0:s[e][a])||i,c=(0,o.useContext)(l);if(c)return c;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},i(r,...t)]}function i(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const r=n.reduce(((t,{useScope:n,scopeName:o})=>({...t,...n(e)[`__scope${o}`]})),{});return(0,o.useMemo)((()=>({[`__scope${t.scopeName}`]:r})),[r])}};return n.scopeName=t.scopeName,n}},69409:(e,t,n)=>{"use strict";n.d(t,{gm:()=>i});var o=n(67294);const r=(0,o.createContext)(void 0);function i(e){const t=(0,o.useContext)(r);return e||t||"ltr"}},48923:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;th});var r=n(67294),i=n(53912),a=n(84178),s=n(72261),l=n(88751);const c="dismissableLayer.update",u="dismissableLayer.pointerDownOutside",d="dismissableLayer.focusOutside";let p;const f=(0,r.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=(0,r.forwardRef)(((e,t)=>{var n;const{disableOutsidePointerEvents:h=!1,onEscapeKeyDown:v,onPointerDownOutside:y,onFocusOutside:b,onInteractOutside:w,onDismiss:S,...E}=e,P=(0,r.useContext)(f),[x,D]=(0,r.useState)(null),C=null!==(n=null==x?void 0:x.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,k]=(0,r.useState)({}),A=(0,s.e)(t,(e=>D(e))),O=Array.from(P.layers),[T]=[...P.layersWithOutsidePointerEventsDisabled].slice(-1),I=O.indexOf(T),F=x?O.indexOf(x):-1,M=P.layersWithOutsidePointerEventsDisabled.size>0,_=F>=I,R=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=(0,l.W)(e),o=(0,r.useRef)(!1),i=(0,r.useRef)((()=>{}));return(0,r.useEffect)((()=>{const e=e=>{if(e.target&&!o.current){const r={originalEvent:e};function a(){g(u,n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}o.current=!1},r=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}}),[t,n]),{onPointerDownCapture:()=>o.current=!0}}((e=>{const t=e.target,n=[...P.branches].some((e=>e.contains(t)));_&&!n&&(null==y||y(e),null==w||w(e),e.defaultPrevented||null==S||S())}),C),N=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=(0,l.W)(e),o=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{const e=e=>{if(e.target&&!o.current){g(d,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}((e=>{const t=e.target;[...P.branches].some((e=>e.contains(t)))||(null==b||b(e),null==w||w(e),e.defaultPrevented||null==S||S())}),C);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=(0,l.W)(e);(0,r.useEffect)((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[n,t])}((e=>{F===P.layers.size-1&&(null==v||v(e),!e.defaultPrevented&&S&&(e.preventDefault(),S()))}),C),(0,r.useEffect)((()=>{if(x)return h&&(0===P.layersWithOutsidePointerEventsDisabled.size&&(p=C.body.style.pointerEvents,C.body.style.pointerEvents="none"),P.layersWithOutsidePointerEventsDisabled.add(x)),P.layers.add(x),m(),()=>{h&&1===P.layersWithOutsidePointerEventsDisabled.size&&(C.body.style.pointerEvents=p)}}),[x,C,h,P]),(0,r.useEffect)((()=>()=>{x&&(P.layers.delete(x),P.layersWithOutsidePointerEventsDisabled.delete(x),m())}),[x,P]),(0,r.useEffect)((()=>{const e=()=>k({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)}),[]),(0,r.createElement)(a.WV.div,o({},E,{ref:A,style:{pointerEvents:M?_?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,N.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,R.onPointerDownCapture)}))}));function m(){const e=new CustomEvent(c);document.dispatchEvent(e)}function g(e,t,n,{discrete:o}){const r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),o?(0,a.jH)(r,i):r.dispatchEvent(i)}},12921:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;tnt,oC:()=>Qe,VY:()=>Xe,ck:()=>Je,Uv:()=>Ye,Ee:()=>et,Rk:()=>tt,fC:()=>He,xz:()=>$e});var r=n(67294),i=n(53912),a=n(72261),s=n(47257),l=n(16180),c=n(84178);function u(){return u=Object.assign||function(e){for(var t=1;t{var t;const{__scopeMenu:n,open:o=!1,children:i,dir:a,onOpenChange:s,modal:l=!0}=e,c=_(n),[u,d]=(0,r.useState)(null),f=(0,r.useRef)(!1),h=(0,E.W)(s),m=(0,p.gm)(a),g=null!==(t=null==u?void 0:u.ownerDocument)&&void 0!==t?t:document;return(0,r.useEffect)((()=>{const e=()=>{f.current=!0,g.addEventListener("pointerdown",t,{capture:!0,once:!0}),g.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.current=!1;return g.addEventListener("keydown",e,{capture:!0}),()=>{g.removeEventListener("keydown",e,{capture:!0}),g.removeEventListener("pointerdown",t,{capture:!0}),g.removeEventListener("pointermove",t,{capture:!0})}}),[g]),(0,r.createElement)(v.fC,c,(0,r.createElement)(N,{scope:n,open:o,onOpenChange:h,content:u,onContentChange:d},(0,r.createElement)(B,{scope:n,onClose:(0,r.useCallback)((()=>h(!1)),[h]),isUsingKeyboardRef:f,dir:m,modal:l},i)))},K=(0,r.forwardRef)(((e,t)=>{const{__scopeMenu:n,...o}=e,i=_(n);return(0,r.createElement)(v.ee,u({},i,o,{ref:t}))})),Z="MenuPortal",[U,V]=F(Z,{forceMount:void 0}),G=e=>{const{__scopeMenu:t,forceMount:n,children:o,container:i}=e,a=L(Z,t);return(0,r.createElement)(U,{scope:t,forceMount:n},(0,r.createElement)(b.z,{present:n||a.open},(0,r.createElement)(y.h,{asChild:!0,container:i},o)))},W="MenuContent",[q,H]=F(W),$=(0,r.forwardRef)(((e,t)=>{const n=V(W,e.__scopeMenu),{forceMount:o=n.forceMount,...i}=e,a=L(W,e.__scopeMenu),s=j(W,e.__scopeMenu);return(0,r.createElement)(O.Provider,{scope:e.__scopeMenu},(0,r.createElement)(b.z,{present:o||a.open},(0,r.createElement)(O.Slot,{scope:e.__scopeMenu},s.modal?(0,r.createElement)(Y,u({},i,{ref:t})):(0,r.createElement)(X,u({},i,{ref:t})))))})),Y=(0,r.forwardRef)(((e,t)=>{const n=L(W,e.__scopeMenu),o=(0,r.useRef)(null),s=(0,a.e)(t,o);return(0,r.useEffect)((()=>{const e=o.current;if(e)return(0,P.Ry)(e)}),[]),(0,r.createElement)(J,u({},e,{ref:s,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,i.M)(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))})),X=(0,r.forwardRef)(((e,t)=>{const n=L(W,e.__scopeMenu);return(0,r.createElement)(J,u({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))})),J=(0,r.forwardRef)(((e,t)=>{var n,o;const{__scopeMenu:s,loop:l=!1,trapFocus:c,onOpenAutoFocus:d,onCloseAutoFocus:p,disableOutsidePointerEvents:g,onEscapeKeyDown:y,onPointerDownOutside:b,onFocusOutside:E,onInteractOutside:P,onDismiss:D,disableOutsideScroll:A,...O}=e,I=L(W,s),F=j(W,s),M=_(s),N=R(s),B=T(s),[z,K]=(0,r.useState)(null),Z=(0,r.useRef)(null),U=(0,a.e)(t,Z,I.onContentChange),V=(0,r.useRef)(0),G=(0,r.useRef)(""),H=(0,r.useRef)(0),$=(0,r.useRef)(null),Y=(0,r.useRef)("right"),X=(0,r.useRef)(0),J=null!==(n=null===(o=Z.current)||void 0===o?void 0:o.ownerDocument)&&void 0!==n?n:document,Q=A?x.f:r.Fragment,ee=A?{as:S.g7,allowPinchZoom:!0}:void 0,te=e=>{var t,n;const o=G.current+e,r=B().filter((e=>!e.disabled)),i=J.activeElement,a=null===(t=r.find((e=>e.ref.current===i)))||void 0===t?void 0:t.textValue,s=function(e,t,n){const o=t.length>1&&Array.from(t).every((e=>e===t[0]))?t[0]:t,r=n?e.indexOf(n):-1;let i=(a=e,s=Math.max(r,0),a.map(((e,t)=>a[(s+t)%a.length])));var a,s;1===o.length&&(i=i.filter((e=>e!==n)));const l=i.find((e=>e.toLowerCase().startsWith(o.toLowerCase())));return l!==n?l:void 0}(r.map((e=>e.textValue)),o,a),l=null===(n=r.find((e=>e.textValue===s)))||void 0===n?void 0:n.ref.current;!function e(t){var n;G.current=t;const o=null!==(n=J.defaultView)&&void 0!==n?n:window;o.clearTimeout(V.current),""!==t&&(V.current=o.setTimeout((()=>e("")),1e3))}(o),l&&setTimeout((()=>l.focus()))};(0,r.useEffect)((()=>()=>{var e;return null===(e=J.defaultView)||void 0===e?void 0:e.clearTimeout(V.current)}),[J]),(0,h.EW)(J);const ne=(0,r.useCallback)((e=>{var t,n;return Y.current===(null===(t=$.current)||void 0===t?void 0:t.side)&&function(e,t){if(!t)return!1;return function(e,t){const{x:n,y:o}=e;let r=!1;for(let e=0,i=t.length-1;eo!=c>o&&n<(l-a)*(o-s)/(c-s)+a&&(r=!r)}return r}({x:e.clientX,y:e.clientY},t)}(e,null===(n=$.current)||void 0===n?void 0:n.area)}),[]);return(0,r.createElement)(q,{scope:s,searchRef:G,onItemEnter:(0,r.useCallback)((e=>{ne(e)&&e.preventDefault()}),[ne]),onItemLeave:(0,r.useCallback)((e=>{var t;ne(e)||(null===(t=Z.current)||void 0===t||t.focus(),K(null))}),[ne]),onTriggerLeave:(0,r.useCallback)((e=>{ne(e)&&e.preventDefault()}),[ne]),pointerGraceTimerRef:H,onPointerGraceIntentChange:(0,r.useCallback)((e=>{$.current=e}),[])},(0,r.createElement)(Q,ee,(0,r.createElement)(m.M,{asChild:!0,trapped:c,onMountAutoFocus:(0,i.M)(d,(e=>{var t;e.preventDefault(),null===(t=Z.current)||void 0===t||t.focus()})),onUnmountAutoFocus:p},(0,r.createElement)(f.XB,{asChild:!0,disableOutsidePointerEvents:g,onEscapeKeyDown:y,onPointerDownOutside:b,onFocusOutside:E,onInteractOutside:P,onDismiss:D},(0,r.createElement)(w.fC,u({asChild:!0},N,{dir:F.dir,orientation:"vertical",loop:l,currentTabStopId:z,onCurrentTabStopIdChange:K,onEntryFocus:e=>{F.isUsingKeyboardRef.current||e.preventDefault()}}),(0,r.createElement)(v.VY,u({role:"menu","aria-orientation":"vertical","data-state":ye(I.open),"data-radix-menu-content":"",dir:F.dir},M,O,{ref:U,style:{outline:"none",...O.style},onKeyDown:(0,i.M)(O.onKeyDown,(e=>{const t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,o=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&o&&te(e.key));const r=Z.current;if(e.target!==r)return;if(!k.includes(e.key))return;e.preventDefault();const i=B().filter((e=>!e.disabled)).map((e=>e.ref.current));C.includes(e.key)&&i.reverse(),function(e,t=document){const n=t.activeElement;for(const o of e){if(o===n)return;if(o.focus(),t.activeElement!==n)return}}(i,J)})),onBlur:(0,i.M)(e.onBlur,(e=>{var t;e.currentTarget.contains(e.target)||((null!==(t=J.defaultView)&&void 0!==t?t:window).clearTimeout(V.current),G.current="")})),onPointerMove:(0,i.M)(e.onPointerMove,Se((e=>{const t=e.target,n=X.current!==e.clientX;if(e.currentTarget.contains(t)&&n){const t=e.clientX>X.current?"right":"left";Y.current=t,X.current=e.clientX}})))})))))))})),Q=(0,r.forwardRef)(((e,t)=>{const{__scopeMenu:n,...o}=e;return(0,r.createElement)(c.WV.div,u({role:"group"},o,{ref:t}))})),ee="MenuItem",te="menu.itemSelect",ne=(0,r.forwardRef)(((e,t)=>{const{disabled:n=!1,onSelect:o,...s}=e,l=(0,r.useRef)(null),d=j(ee,e.__scopeMenu),p=H(ee,e.__scopeMenu),f=(0,a.e)(t,l),h=(0,r.useRef)(!1);return(0,r.createElement)(oe,u({},s,{ref:f,disabled:n,onClick:(0,i.M)(e.onClick,(()=>{const e=l.current;if(!n&&e){const t=new CustomEvent(te,{bubbles:!0,cancelable:!0});e.addEventListener(te,(e=>null==o?void 0:o(e)),{once:!0}),(0,c.jH)(e,t),t.defaultPrevented?h.current=!1:d.onClose()}})),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),h.current=!0},onPointerUp:(0,i.M)(e.onPointerUp,(e=>{var t;h.current||null===(t=e.currentTarget)||void 0===t||t.click()})),onKeyDown:(0,i.M)(e.onKeyDown,(e=>{const t=""!==p.searchRef.current;n||t&&" "===e.key||D.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())}))}))})),oe=(0,r.forwardRef)(((e,t)=>{const{__scopeMenu:n,disabled:o=!1,textValue:s,...l}=e,d=H(ee,n),p=R(n),f=(0,r.useRef)(null),h=(0,a.e)(t,f),[m,g]=(0,r.useState)(!1),[v,y]=(0,r.useState)("");return(0,r.useEffect)((()=>{const e=f.current;var t;e&&y((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}),[l.children]),(0,r.createElement)(O.ItemSlot,{scope:n,disabled:o,textValue:null!=s?s:v},(0,r.createElement)(w.ck,u({asChild:!0},p,{focusable:!o}),(0,r.createElement)(c.WV.div,u({role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0},l,{ref:h,onPointerMove:(0,i.M)(e.onPointerMove,Se((e=>{if(o)d.onItemLeave(e);else if(d.onItemEnter(e),!e.defaultPrevented){e.currentTarget.focus()}}))),onPointerLeave:(0,i.M)(e.onPointerLeave,Se((e=>d.onItemLeave(e)))),onFocus:(0,i.M)(e.onFocus,(()=>g(!0))),onBlur:(0,i.M)(e.onBlur,(()=>g(!1)))}))))})),re=(0,r.forwardRef)(((e,t)=>{const{checked:n=!1,onCheckedChange:o,...a}=e;return(0,r.createElement)(pe,{scope:e.__scopeMenu,checked:n},(0,r.createElement)(ne,u({role:"menuitemcheckbox","aria-checked":be(n)?"mixed":n},a,{ref:t,"data-state":we(n),onSelect:(0,i.M)(a.onSelect,(()=>null==o?void 0:o(!!be(n)||!n)),{checkForDefaultPrevented:!1})})))})),ie="MenuRadioGroup",[ae,se]=F(ie,{value:void 0,onValueChange:()=>{}}),le=(0,r.forwardRef)(((e,t)=>{const{value:n,onValueChange:o,...i}=e,a=(0,E.W)(o);return(0,r.createElement)(ae,{scope:e.__scopeMenu,value:n,onValueChange:a},(0,r.createElement)(Q,u({},i,{ref:t})))})),ce="MenuRadioItem",ue=(0,r.forwardRef)(((e,t)=>{const{value:n,...o}=e,a=se(ce,e.__scopeMenu),s=n===a.value;return(0,r.createElement)(pe,{scope:e.__scopeMenu,checked:s},(0,r.createElement)(ne,u({role:"menuitemradio","aria-checked":s},o,{ref:t,"data-state":we(s),onSelect:(0,i.M)(o.onSelect,(()=>{var e;return null===(e=a.onValueChange)||void 0===e?void 0:e.call(a,n)}),{checkForDefaultPrevented:!1})})))})),de="MenuItemIndicator",[pe,fe]=F(de,{checked:!1}),he=(0,r.forwardRef)(((e,t)=>{const{__scopeMenu:n,...o}=e,i=_(n);return(0,r.createElement)(v.Eh,u({},i,o,{ref:t}))})),me="MenuSub",[ge,ve]=F(me);function ye(e){return e?"open":"closed"}function be(e){return"indeterminate"===e}function we(e){return be(e)?"indeterminate":e?"checked":"unchecked"}function Se(e){return t=>"mouse"===t.pointerType?e(t):void 0}const Ee=z,Pe=K,xe=G,De=$,Ce=ne,ke=re,Ae=le,Oe=ue,Te=he,Ie="DropdownMenu",[Fe,Me]=(0,s.b)(Ie,[M]),_e=M(),[Re,Ne]=Fe(Ie),Le=e=>{const{__scopeDropdownMenu:t,children:n,dir:i,open:a,defaultOpen:s,onOpenChange:c,modal:u=!0}=e,d=_e(t),p=(0,r.useRef)(null),[f=!1,h]=(0,l.T)({prop:a,defaultProp:s,onChange:c});return(0,r.createElement)(Re,{scope:t,triggerId:(0,g.M)(),triggerRef:p,contentId:(0,g.M)(),open:f,onOpenChange:h,onOpenToggle:(0,r.useCallback)((()=>h((e=>!e))),[h]),modal:u},(0,r.createElement)(Ee,o({},d,{open:f,onOpenChange:h,dir:i,modal:u}),n))},Be="DropdownMenuTrigger",je=(0,r.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,disabled:s=!1,...l}=e,u=Ne(Be,n),d=_e(n);return(0,r.createElement)(Pe,o({asChild:!0},d),(0,r.createElement)(c.WV.button,o({type:"button",id:u.triggerId,"aria-haspopup":"menu","aria-expanded":u.open,"aria-controls":u.open?u.contentId:void 0,"data-state":u.open?"open":"closed","data-disabled":s?"":void 0,disabled:s},l,{ref:(0,a.F)(t,u.triggerRef),onPointerDown:(0,i.M)(e.onPointerDown,(e=>{s||0!==e.button||!1!==e.ctrlKey||(u.onOpenToggle(),u.open||e.preventDefault())})),onKeyDown:(0,i.M)(e.onKeyDown,(e=>{s||(["Enter"," "].includes(e.key)&&u.onOpenToggle(),"ArrowDown"===e.key&&u.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())}))})))})),ze=e=>{const{__scopeDropdownMenu:t,...n}=e,i=_e(t);return(0,r.createElement)(xe,o({},i,n))},Ke="DropdownMenuContent",Ze=(0,r.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...a}=e,s=Ne(Ke,n),l=_e(n),c=(0,r.useRef)(!1);return(0,r.createElement)(De,o({id:s.contentId,"aria-labelledby":s.triggerId},l,a,{ref:t,onCloseAutoFocus:(0,i.M)(e.onCloseAutoFocus,(e=>{var t;c.current||null===(t=s.triggerRef.current)||void 0===t||t.focus(),c.current=!1,e.preventDefault()})),onInteractOutside:(0,i.M)(e.onInteractOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,o=2===t.button||n;s.modal&&!o||(c.current=!0)})),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)"}}))})),Ue=(0,r.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=_e(n);return(0,r.createElement)(Ce,o({},a,i,{ref:t}))})),Ve=(0,r.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=_e(n);return(0,r.createElement)(ke,o({},a,i,{ref:t}))})),Ge=(0,r.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=_e(n);return(0,r.createElement)(Ae,o({},a,i,{ref:t}))})),We=(0,r.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=_e(n);return(0,r.createElement)(Oe,o({},a,i,{ref:t}))})),qe=(0,r.forwardRef)(((e,t)=>{const{__scopeDropdownMenu:n,...i}=e,a=_e(n);return(0,r.createElement)(Te,o({},a,i,{ref:t}))})),He=Le,$e=je,Ye=ze,Xe=Ze,Je=Ue,Qe=Ve,et=Ge,tt=We,nt=qe},57279:(e,t,n)=>{"use strict";n.d(t,{EW:()=>i});var o=n(67294);let r=0;function i(e=document){(0,o.useEffect)((()=>{var t,n;const o=e.querySelectorAll("[data-radix-focus-guard]");return e.body.insertAdjacentElement("afterbegin",null!==(t=o[0])&&void 0!==t?t:a()),e.body.insertAdjacentElement("beforeend",null!==(n=o[1])&&void 0!==n?n:a()),r++,()=>{1===r&&e.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),r--}}),[e])}function a(e=document){const t=e.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",t}},1788:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;td});var r=n(67294),i=n(72261),a=n(84178),s=n(88751);const l="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",u={bubbles:!1,cancelable:!0},d=(0,r.forwardRef)(((e,t)=>{var n;const{loop:d=!1,trapped:h=!1,onMountAutoFocus:v,onUnmountAutoFocus:y,...b}=e,[w,S]=(0,r.useState)(null),E=(0,s.W)(v),P=(0,s.W)(y),x=(0,r.useRef)(null),D=null!==(n=null==w?void 0:w.ownerDocument)&&void 0!==n?n:document,C=(0,i.e)(t,(e=>S(e))),k=(0,r.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,r.useEffect)((()=>{if(h){function e(e){if(k.paused||!w)return;const t=e.target;w.contains(t)?x.current=t:m(x.current,{select:!0,ownerDocument:D})}function t(e){!k.paused&&w&&(w.contains(e.relatedTarget)||m(x.current,{select:!0,ownerDocument:D}))}return D.addEventListener("focusin",e),D.addEventListener("focusout",t),()=>{D.removeEventListener("focusin",e),D.removeEventListener("focusout",t)}}}),[h,w,k.paused,D]),(0,r.useEffect)((()=>{if(w){g.add(k);const t=D.activeElement;if(!w.contains(t)){const n=new CustomEvent(l,u);w.addEventListener(l,E),w.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1,ownerDocument:n=document}={}){const o=n.activeElement;for(const r of e)if(m(r,{select:t,ownerDocument:n}),n.activeElement!==o)return}((e=p(w),e.filter((e=>"A"!==e.tagName))),{select:!0,ownerDocument:D}),D.activeElement===t&&m(w,{ownerDocument:D}))}return()=>{w.removeEventListener(l,E),setTimeout((()=>{const e=new CustomEvent(c,u);w.addEventListener(c,P),w.dispatchEvent(e),e.defaultPrevented||m(null!=t?t:D.body,{select:!0,ownerDocument:D}),w.removeEventListener(c,P),g.remove(k)}),0)}}var e}),[w,D,E,P,k]);const A=(0,r.useCallback)((e=>{if(!d&&!h)return;if(k.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=D.activeElement;if(t&&n){const t=e.currentTarget,[o,r]=function(e){const t=p(e),n=f(t,e),o=f(t.reverse(),e);return[n,o]}(t);o&&r?e.shiftKey||n!==r?e.shiftKey&&n===o&&(e.preventDefault(),d&&m(r,{select:!0,ownerDocument:D})):(e.preventDefault(),d&&m(o,{select:!0,ownerDocument:D})):n===t&&e.preventDefault()}}),[d,h,k.paused,D]);return(0,r.createElement)(a.WV.div,o({tabIndex:-1},b,{ref:C,onKeyDown:A}))}));function p(e){const t=[],n=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function f(e,t){for(const n of e)if(!h(n,{upTo:t}))return n}function h(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function m(e,{select:t=!1,ownerDocument:n=document}={}){if(e&&e.focus){const o=n.activeElement;e.focus({preventScroll:!0}),e!==o&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const g=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=v(e,t),e.unshift(t)},remove(t){var n;e=v(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function v(e,t){const n=[...e],o=n.indexOf(t);return-1!==o&&n.splice(o,1),n}},69448:(e,t,n)=>{"use strict";var o;n.d(t,{M:()=>l});var r=n(67294),i=n(14805);const a=(o||(o=n.t(r,2)))["useId".toString()]||(()=>{});let s=0;function l(e){const[t,n]=r.useState(a());return(0,i.b)((()=>{e||n((e=>null!=e?e:String(s++)))}),[e]),e||(t?`radix-${t}`:"")}},54941:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;tZ,VY:()=>G,h_:()=>V,fC:()=>K,xz:()=>U});var r=n(67294),i=n(53912),a=n(72261),s=n(47257),l=n(48923),c=n(57279),u=n(1788),d=n(69448),p=n(74943),f=n(37103),h=n(83583),m=n(84178),g=n(8145),v=n(16180),y=n(23541),b=n(81066);const w="Popover",[S,E]=(0,s.b)(w,[p.D7]),P=(0,p.D7)(),[x,D]=S(w),C=e=>{const{__scopePopover:t,children:n,open:o,defaultOpen:i,onOpenChange:a,modal:s=!1}=e,l=P(t),c=(0,r.useRef)(null),[u,f]=(0,r.useState)(!1),[h=!1,m]=(0,v.T)({prop:o,defaultProp:i,onChange:a});return(0,r.createElement)(p.fC,l,(0,r.createElement)(x,{scope:t,contentId:(0,d.M)(),triggerRef:c,open:h,onOpenChange:m,onOpenToggle:(0,r.useCallback)((()=>m((e=>!e))),[m]),hasCustomAnchor:u,onCustomAnchorAdd:(0,r.useCallback)((()=>f(!0)),[]),onCustomAnchorRemove:(0,r.useCallback)((()=>f(!1)),[]),modal:s},n))},k="PopoverAnchor",A=(0,r.forwardRef)(((e,t)=>{const{__scopePopover:n,...i}=e,a=D(k,n),s=P(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:c}=a;return(0,r.useEffect)((()=>(l(),()=>c())),[l,c]),(0,r.createElement)(p.ee,o({},s,i,{ref:t}))})),O="PopoverTrigger",T=(0,r.forwardRef)(((e,t)=>{const{__scopePopover:n,...s}=e,l=D(O,n),c=P(n),u=(0,a.e)(t,l.triggerRef),d=(0,r.createElement)(m.WV.button,o({type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":z(l.open)},s,{ref:u,onClick:(0,i.M)(e.onClick,l.onOpenToggle)}));return l.hasCustomAnchor?d:(0,r.createElement)(p.ee,o({asChild:!0},c),d)})),I="PopoverPortal",[F,M]=S(I,{forceMount:void 0}),_=e=>{const{__scopePopover:t,forceMount:n,children:o,container:i}=e,a=D(I,t);return(0,r.createElement)(F,{scope:t,forceMount:n},(0,r.createElement)(h.z,{present:n||a.open},(0,r.createElement)(f.h,{asChild:!0,container:i},o)))},R="PopoverContent",N=(0,r.forwardRef)(((e,t)=>{const n=M(R,e.__scopePopover),{forceMount:i=n.forceMount,...a}=e,s=D(R,e.__scopePopover);return(0,r.createElement)(h.z,{present:i||s.open},s.modal?(0,r.createElement)(L,o({},a,{ref:t})):(0,r.createElement)(B,o({},a,{ref:t})))})),L=(0,r.forwardRef)(((e,t)=>{const n=D(R,e.__scopePopover),s=(0,r.useRef)(null),l=(0,a.e)(t,s),c=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{const e=s.current;if(e)return(0,y.Ry)(e)}),[]),(0,r.createElement)(b.f,{as:g.g7,allowPinchZoom:!0},(0,r.createElement)(j,o({},e,{ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.M)(e.onCloseAutoFocus,(e=>{var t;e.preventDefault(),c.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:(0,i.M)(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,o=2===t.button||n;c.current=o}),{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.M)(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1})})))})),B=(0,r.forwardRef)(((e,t)=>{const n=D(R,e.__scopePopover),i=(0,r.useRef)(!1);return(0,r.createElement)(j,o({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,r;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(i.current||null===(r=n.triggerRef.current)||void 0===r||r.focus(),t.preventDefault());i.current=!1},onInteractOutside:t=>{var o,r;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(i.current=!0);const a=t.target;(null===(r=n.triggerRef.current)||void 0===r?void 0:r.contains(a))&&t.preventDefault()}}))})),j=(0,r.forwardRef)(((e,t)=>{const{__scopePopover:n,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:d,disableOutsidePointerEvents:f,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:v,...y}=e,b=D(R,n),w=P(n),[S,E]=(0,r.useState)(document),x=(0,a.e)(t,(e=>{var t;return E(null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document)}));return(0,c.EW)(S),(0,r.createElement)(u.M,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:s,onUnmountAutoFocus:d},(0,r.createElement)(l.XB,{asChild:!0,disableOutsidePointerEvents:f,onInteractOutside:v,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:g,onDismiss:()=>b.onOpenChange(!1)},(0,r.createElement)(p.VY,o({"data-state":z(b.open),role:"dialog",id:b.contentId},w,y,{ref:x,style:{...y.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)"}}))))}));function z(e){return e?"open":"closed"}const K=C,Z=A,U=T,V=_,G=N},74943:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;tZe,Eh:()=>Ve,VY:()=>Ue,fC:()=>Ke,D7:()=>Ee});var r=n(67294);function i(e){return e.split("-")[0]}function a(e){return e.split("-")[1]}function s(e){return["top","bottom"].includes(i(e))?"x":"y"}function l(e){return"y"===e?"height":"width"}function c(e,t,n){let{reference:o,floating:r}=e;const c=o.x+o.width/2-r.width/2,u=o.y+o.height/2-r.height/2,d=s(t),p=l(d),f=o[p]/2-r[p]/2,h="x"===d;let m;switch(i(t)){case"top":m={x:c,y:o.y-r.height};break;case"bottom":m={x:c,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:u};break;case"left":m={x:o.x-r.width,y:u};break;default:m={x:o.x,y:o.y}}switch(a(t)){case"start":m[d]-=f*(n&&h?-1:1);break;case"end":m[d]+=f*(n&&h?-1:1)}return m}function u(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function d(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function p(e,t){var n;void 0===t&&(t={});const{x:o,y:r,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=t,g=u(m),v=s[h?"floating"===f?"reference":"floating":f],y=d(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b=d(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===f?{...a.floating,x:o,y:r}:a.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),strategy:l}):a[f]);return{top:y.top-b.top+g.top,bottom:b.bottom-y.bottom+g.bottom,left:y.left-b.left+g.left,right:b.right-y.right+g.right}}const f=Math.min,h=Math.max;function m(e,t,n){return h(e,f(t,n))}const g=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:o=0}=null!=e?e:{},{x:r,y:i,placement:c,rects:d,platform:p}=t;if(null==n)return{};const f=u(o),h={x:r,y:i},g=s(c),v=a(c),y=l(g),b=await p.getDimensions(n),w="y"===g?"top":"left",S="y"===g?"bottom":"right",E=d.reference[y]+d.reference[g]-h[g]-d.floating[y],P=h[g]-d.reference[g],x=await(null==p.getOffsetParent?void 0:p.getOffsetParent(n));let D=x?"y"===g?x.clientHeight||0:x.clientWidth||0:0;0===D&&(D=d.floating[y]);const C=E/2-P/2,k=f[w],A=D-b[y]-f[S],O=D/2-b[y]/2+C,T=m(k,O,A),I=("start"===v?f[w]:f[S])>0&&O!==T&&d.reference[y]<=d.floating[y];return{[g]:h[g]-(I?Ov[e]))}function b(e,t,n){void 0===n&&(n=!1);const o=a(e),r=s(e),i=l(r);let c="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(c=y(c)),{main:c,cross:y(c)}}const w={start:"end",end:"start"};function S(e){return e.replace(/start|end/g,(e=>w[e]))}const E=["top","right","bottom","left"],P=(E.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]),function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:o,middlewareData:r,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",flipAlignment:m=!0,...g}=e,v=i(o),w=f||(v!==s&&m?function(e){const t=y(e);return[S(e),t,S(t)]}(s):[y(s)]),E=[s,...w],P=await p(t,g),x=[];let D=(null==(n=r.flip)?void 0:n.overflows)||[];if(u&&x.push(P[v]),d){const{main:e,cross:t}=b(o,a,await(null==l.isRTL?void 0:l.isRTL(c.floating)));x.push(P[e],P[t])}if(D=[...D,{placement:o,overflows:x}],!x.every((e=>e<=0))){var C,k;const e=(null!=(C=null==(k=r.flip)?void 0:k.index)?C:0)+1,t=E[e];if(t)return{data:{index:e,overflows:D},reset:{placement:t}};let n="bottom";switch(h){case"bestFit":{var A;const e=null==(A=D.map((e=>[e,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:A[0].placement;e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}});function x(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function D(e){return E.some((t=>e[t]>=0))}const C=function(e){let{strategy:t="referenceHidden",...n}=void 0===e?{}:e;return{name:"hide",async fn(e){const{rects:o}=e;switch(t){case"referenceHidden":{const t=x(await p(e,{...n,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:D(t)}}}case"escaped":{const t=x(await p(e,{...n,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:D(t)}}}default:return{}}}}},k=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o}=t,r=await async function(e,t){const{placement:n,platform:o,elements:r}=e,l=await(null==o.isRTL?void 0:o.isRTL(r.floating)),c=i(n),u=a(n),d="x"===s(n),p=["left","top"].includes(c)?-1:1,f=l&&d?-1:1,h="function"==typeof t?t(e):t;let{mainAxis:m,crossAxis:g,alignmentAxis:v}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return u&&"number"==typeof v&&(g="end"===u?-1*v:v),d?{x:g*f,y:m*p}:{x:m*p,y:g*f}}(t,e);return{x:n+r.x,y:o+r.y,data:r}}}};function A(e){return"x"===e?"y":"x"}const O=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:a=!0,crossAxis:l=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=e,d={x:n,y:o},f=await p(t,u),h=s(i(r)),g=A(h);let v=d[h],y=d[g];if(a){const e="y"===h?"bottom":"right";v=m(v+f["y"===h?"top":"left"],v,v-f[e])}if(l){const e="y"===g?"bottom":"right";y=m(y+f["y"===g?"top":"left"],y,y-f[e])}const b=c.fn({...t,[h]:v,[g]:y});return{...b,data:{x:b.x-n,y:b.y-o}}}}},T=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:a,middlewareData:l}=t,{offset:c=0,mainAxis:u=!0,crossAxis:d=!0}=e,p={x:n,y:o},f=s(r),h=A(f);let m=p[f],g=p[h];const v="function"==typeof c?c({...a,placement:r}):c,y="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){const e="y"===f?"height":"width",t=a.reference[f]-a.floating[e]+y.mainAxis,n=a.reference[f]+a.reference[e]-y.mainAxis;mn&&(m=n)}if(d){var b,w,S,E;const e="y"===f?"width":"height",t=["top","left"].includes(i(r)),n=a.reference[h]-a.floating[e]+(t&&null!=(b=null==(w=l.offset)?void 0:w[h])?b:0)+(t?0:y.crossAxis),o=a.reference[h]+a.reference[e]+(t?0:null!=(S=null==(E=l.offset)?void 0:E[h])?S:0)-(t?y.crossAxis:0);go&&(g=o)}return{[f]:m,[h]:g}}}};function I(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function F(e){if(null==e)return window;if(!I(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function M(e){return F(e).getComputedStyle(e)}function _(e){return I(e)?"":e?(e.nodeName||"").toLowerCase():""}function R(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function N(e){return e instanceof F(e).HTMLElement}function L(e){return e instanceof F(e).Element}function B(e){return"undefined"!=typeof ShadowRoot&&(e instanceof F(e).ShadowRoot||e instanceof ShadowRoot)}function j(e){const{overflow:t,overflowX:n,overflowY:o}=M(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function z(e){return["table","td","th"].includes(_(e))}function K(e){const t=/firefox/i.test(R()),n=M(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function Z(){return!/^((?!chrome|android).)*safari/i.test(R())}const U=Math.min,V=Math.max,G=Math.round;function W(e,t,n){var o,r,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const s=e.getBoundingClientRect();let l=1,c=1;t&&N(e)&&(l=e.offsetWidth>0&&G(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&G(s.height)/e.offsetHeight||1);const u=L(e)?F(e):window,d=!Z()&&n,p=(s.left+(d&&null!=(o=null==(r=u.visualViewport)?void 0:r.offsetLeft)?o:0))/l,f=(s.top+(d&&null!=(i=null==(a=u.visualViewport)?void 0:a.offsetTop)?i:0))/c,h=s.width/l,m=s.height/c;return{width:h,height:m,top:f,right:p+h,bottom:f+m,left:p,x:p,y:f}}function q(e){return(t=e,(t instanceof F(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function H(e){return L(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function $(e){return W(q(e)).left+H(e).scrollLeft}function Y(e,t,n){const o=N(t),r=q(t),i=W(e,o&&function(e){const t=W(e);return G(t.width)!==e.offsetWidth||G(t.height)!==e.offsetHeight}(t),"fixed"===n);let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(o||!o&&"fixed"!==n)if(("body"!==_(t)||j(r))&&(a=H(t)),N(t)){const e=W(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else r&&(s.x=$(r));return{x:i.left+a.scrollLeft-s.x,y:i.top+a.scrollTop-s.y,width:i.width,height:i.height}}function X(e){return"html"===_(e)?e:e.assignedSlot||e.parentNode||(B(e)?e.host:null)||q(e)}function J(e){return N(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function Q(e){const t=F(e);let n=J(e);for(;n&&z(n)&&"static"===getComputedStyle(n).position;)n=J(n);return n&&("html"===_(n)||"body"===_(n)&&"static"===getComputedStyle(n).position&&!K(n))?t:n||function(e){let t=X(e);for(B(t)&&(t=t.host);N(t)&&!["html","body"].includes(_(t));){if(K(t))return t;t=t.parentNode}return null}(e)||t}function ee(e){if(N(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=W(e);return{width:t.width,height:t.height}}function te(e){const t=X(e);return["html","body","#document"].includes(_(t))?e.ownerDocument.body:N(t)&&j(t)?t:te(t)}function ne(e,t){var n;void 0===t&&(t=[]);const o=te(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=F(o),a=r?[i].concat(i.visualViewport||[],j(o)?o:[]):o,s=t.concat(a);return r?s:s.concat(ne(a))}function oe(e,t,n){return"viewport"===t?d(function(e,t){const n=F(e),o=q(e),r=n.visualViewport;let i=o.clientWidth,a=o.clientHeight,s=0,l=0;if(r){i=r.width,a=r.height;const e=Z();(e||!e&&"fixed"===t)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n)):L(t)?function(e,t){const n=W(e,!1,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft;return{top:o,left:r,x:r,y:o,right:r+e.clientWidth,bottom:o+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):d(function(e){var t;const n=q(e),o=H(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=V(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=V(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let s=-o.scrollLeft+$(e);const l=-o.scrollTop;return"rtl"===M(r||n).direction&&(s+=V(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(q(e)))}function re(e){const t=ne(e),n=["absolute","fixed"].includes(M(e).position)&&N(e)?Q(e):e;return L(n)?t.filter((e=>L(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&B(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==_(e))):[]}const ie={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?re(t):[].concat(n),o],a=i[0],s=i.reduce(((e,n)=>{const o=oe(t,n,r);return e.top=V(o.top,e.top),e.right=U(o.right,e.right),e.bottom=U(o.bottom,e.bottom),e.left=V(o.left,e.left),e}),oe(t,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=N(n),i=q(n);if(n===i)return t;let a={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==_(n)||j(i))&&(a=H(n)),N(n))){const e=W(n,!0);s.x=e.x+n.clientLeft,s.y=e.y+n.clientTop}return{...t,x:t.x-a.scrollLeft+s.x,y:t.y-a.scrollTop+s.y}},isElement:L,getDimensions:ee,getOffsetParent:Q,getDocumentElement:q,getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:Y(t,Q(n),o),floating:{...ee(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===M(e).direction};function ae(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=o,l=r&&!s,c=i&&!s,u=l||c?[...L(e)?ne(e):[],...ne(t)]:[];u.forEach((e=>{l&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)}));let d,p=null;if(a){let o=!0;p=new ResizeObserver((()=>{o||n(),o=!1})),L(e)&&!s&&p.observe(e),p.observe(t)}let f=s?W(e):null;return s&&function t(){const o=W(e);!f||o.x===f.x&&o.y===f.y&&o.width===f.width&&o.height===f.height||n(),f=o,d=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{l&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)})),null==(e=p)||e.disconnect(),p=null,s&&cancelAnimationFrame(d)}}const se=(e,t,n)=>(async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:a}=n,s=await(null==a.isRTL?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:d}=c(l,o,s),p=o,f={},h=0;for(let n=0;n{t.current=e})),t}(i),c=r.useRef(null),[u,d]=r.useState({x:null,y:null,strategy:o,placement:n,middlewareData:{}}),[p,f]=r.useState(t);ue(null==p?void 0:p.map((e=>{let{options:t}=e;return t})),null==t?void 0:t.map((e=>{let{options:t}=e;return t})))||f(t);const h=r.useCallback((()=>{a.current&&s.current&&se(a.current,s.current,{middleware:p,placement:n,strategy:o}).then((e=>{m.current&&le.flushSync((()=>{d(e)}))}))}),[p,n,o]);ce((()=>{m.current&&h()}),[h]);const m=r.useRef(!1);ce((()=>(m.current=!0,()=>{m.current=!1})),[]);const g=r.useCallback((()=>{if("function"==typeof c.current&&(c.current(),c.current=null),a.current&&s.current)if(l.current){const e=l.current(a.current,s.current,h);c.current=e}else h()}),[h,l]),v=r.useCallback((e=>{a.current=e,g()}),[g]),y=r.useCallback((e=>{s.current=e,g()}),[g]),b=r.useMemo((()=>({reference:a,floating:s})),[]);return r.useMemo((()=>({...u,update:h,refs:b,reference:v,floating:y})),[u,h,b,v,y])}const pe=e=>{const{element:t,padding:n}=e;return{name:"arrow",options:e,fn(e){return o=t,Object.prototype.hasOwnProperty.call(o,"current")?null!=t.current?g({element:t.current,padding:n}).fn(e):{}:t?g({element:t,padding:n}).fn(e):{};var o}}};function fe(){return fe=Object.assign||function(e){for(var t=1;t{const{children:n,width:o=10,height:i=5,...a}=e;return(0,r.createElement)(he.WV.svg,fe({},a,{ref:t,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,r.createElement)("polygon",{points:"0,0 30,0 15,10"}))})),ge=me;var ve=n(72261),ye=n(47257),be=n(14805);const we="Popper",[Se,Ee]=(0,ye.b)(we),[Pe,xe]=Se(we),De=e=>{const{__scopePopper:t,children:n}=e,[o,i]=(0,r.useState)(null);return(0,r.createElement)(Pe,{scope:t,anchor:o,onAnchorChange:i},n)},Ce="PopperAnchor",ke=(0,r.forwardRef)(((e,t)=>{const{__scopePopper:n,virtualRef:i,...a}=e,s=xe(Ce,n),l=(0,r.useRef)(null),c=(0,ve.e)(t,l);return(0,r.useEffect)((()=>{s.onAnchorChange((null==i?void 0:i.current)||l.current)})),i?null:(0,r.createElement)(he.WV.div,o({},a,{ref:c}))})),Ae="PopperContent",[Oe,Te]=Se(Ae),[Ie,Fe]=Se(Ae,{hasParent:!1,positionUpdateFns:new Set}),Me=(0,r.forwardRef)(((e,t)=>{var n,o,i,a,s,l,c,u;const{__scopePopper:d,side:p="bottom",sideOffset:f=0,align:h="center",alignOffset:m=0,arrowPadding:g=0,collisionBoundary:v=[],collisionPadding:y=0,sticky:b="partial",hideWhenDetached:w=!1,avoidCollisions:S=!0,...E}=e,x=xe(Ae,d),[D,A]=(0,r.useState)(null),I=(0,ve.e)(t,(e=>A(e))),[F,M]=(0,r.useState)(null),_=function(e){const[t,n]=(0,r.useState)(void 0);return(0,be.b)((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t))return;if(!t.length)return;const o=t[0];let r,i;if("borderBoxSize"in o){const e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}(F),R=null!==(n=null==_?void 0:_.width)&&void 0!==n?n:0,N=null!==(o=null==_?void 0:_.height)&&void 0!==o?o:0,L=p+("center"!==h?"-"+h:""),B="number"==typeof y?y:{top:0,right:0,bottom:0,left:0,...y},j=Array.isArray(v)?v:[v],z=j.length>0,K={padding:B,boundary:j.filter(Be),altBoundary:z},{reference:Z,floating:U,strategy:V,x:G,y:W,placement:q,middlewareData:H,update:$}=de({strategy:"fixed",placement:L,whileElementsMounted:ae,middleware:[k({mainAxis:f+N,alignmentAxis:m}),S?O({mainAxis:!0,crossAxis:!1,limiter:"partial"===b?T():void 0,...K}):void 0,F?pe({element:F,padding:g}):void 0,S?P({...K}):void 0,je({arrowWidth:R,arrowHeight:N}),w?C({strategy:"referenceHidden"}):void 0].filter(Le)});(0,be.b)((()=>{Z(x.anchor)}),[Z,x.anchor]);const Y=null!==G&&null!==W,[X,J]=ze(q),Q=null===(i=H.arrow)||void 0===i?void 0:i.x,ee=null===(a=H.arrow)||void 0===a?void 0:a.y,te=0!==(null===(s=H.arrow)||void 0===s?void 0:s.centerOffset),[ne,oe]=(0,r.useState)();(0,be.b)((()=>{if(D){var e;const t=null!==(e=D.ownerDocument.defaultView)&&void 0!==e?e:window;oe(t.getComputedStyle(D).zIndex)}}),[D]);const{hasParent:re,positionUpdateFns:ie}=Fe(Ae,d),se=!re;(0,r.useLayoutEffect)((()=>{if(!se)return ie.add($),()=>{ie.delete($)}}),[se,ie,$]),(0,r.useLayoutEffect)((()=>{se&&Y&&Array.from(ie).reverse().forEach((e=>requestAnimationFrame(e)))}),[se,Y,ie]);const le={"data-side":X,"data-align":J,...E,ref:I,style:{...E.style,animation:Y?void 0:"none",opacity:null!==(l=H.hide)&&void 0!==l&&l.referenceHidden?0:void 0}};return(0,r.createElement)("div",{ref:U,"data-radix-popper-content-wrapper":"",style:{position:V,left:0,top:0,transform:Y?`translate3d(${Math.round(G)}px, ${Math.round(W)}px, 0)`:"translate3d(0, -200%, 0)",minWidth:"max-content",zIndex:ne,"--radix-popper-transform-origin":[null===(c=H.transformOrigin)||void 0===c?void 0:c.x,null===(u=H.transformOrigin)||void 0===u?void 0:u.y].join(" ")}},(0,r.createElement)(Oe,{scope:d,placedSide:X,onArrowChange:M,arrowX:Q,arrowY:ee,shouldHideArrow:te},se?(0,r.createElement)(Ie,{scope:d,hasParent:!0,positionUpdateFns:ie},(0,r.createElement)(he.WV.div,le)):(0,r.createElement)(he.WV.div,le)))})),_e="PopperArrow",Re={top:"bottom",right:"left",bottom:"top",left:"right"},Ne=(0,r.forwardRef)((function(e,t){const{__scopePopper:n,...i}=e,a=Te(_e,n),s=Re[a.placedSide];return(0,r.createElement)("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0}},(0,r.createElement)(ge,o({},i,{ref:t,style:{...i.style,display:"block"}})))}));function Le(e){return void 0!==e}function Be(e){return null!==e}const je=e=>({name:"transformOrigin",options:e,fn(t){var n,o,r,i,a;const{placement:s,rects:l,middlewareData:c}=t,u=0!==(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset),d=u?0:e.arrowWidth,p=u?0:e.arrowHeight,[f,h]=ze(s),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!==(o=null===(r=c.arrow)||void 0===r?void 0:r.x)&&void 0!==o?o:0)+d/2,v=(null!==(i=null===(a=c.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+p/2;let y="",b="";return"bottom"===f?(y=u?m:`${g}px`,b=-p+"px"):"top"===f?(y=u?m:`${g}px`,b=`${l.floating.height+p}px`):"right"===f?(y=-p+"px",b=u?m:`${v}px`):"left"===f&&(y=`${l.floating.width+p}px`,b=u?m:`${v}px`),{data:{x:y,y:b}}}});function ze(e){const[t,n="center"]=e.split("-");return[t,n]}const Ke=De,Ze=ke,Ue=Me,Ve=Ne},37103:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;ts});var r=n(67294),i=n(73935),a=n(84178);const s=(0,r.forwardRef)(((e,t)=>{var n;const{container:s=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...l}=e;return s?i.createPortal((0,r.createElement)(a.WV.div,o({},l,{ref:t})),s):null}))},83583:(e,t,n)=>{"use strict";n.d(t,{z:()=>s});var o=n(67294),r=n(73935),i=n(72261),a=n(14805);const s=e=>{const{present:t,children:n}=e,s=function(e){const[t,n]=(0,o.useState)(),i=(0,o.useRef)({}),s=(0,o.useRef)(e),c=(0,o.useRef)("none"),u=e?"mounted":"unmounted",[d,p]=function(e,t){return(0,o.useReducer)(((e,n)=>{const o=t[e][n];return null!=o?o:e}),e)}(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,o.useEffect)((()=>{const e=l(i.current);c.current="mounted"===d?e:"none"}),[d]),(0,a.b)((()=>{const t=i.current,n=s.current;if(n!==e){const o=c.current,r=l(t);if(e)p("MOUNT");else if("none"===r||"none"===(null==t?void 0:t.display))p("UNMOUNT");else{const e=o!==r;p(n&&e?"ANIMATION_OUT":"UNMOUNT")}s.current=e}}),[e,p]),(0,a.b)((()=>{if(t){const e=e=>{const n=l(i.current).includes(e.animationName);e.target===t&&n&&(0,r.flushSync)((()=>p("ANIMATION_END")))},n=e=>{e.target===t&&(c.current=l(i.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}p("ANIMATION_END")}),[t,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:(0,o.useCallback)((e=>{e&&(i.current=getComputedStyle(e)),n(e)}),[])}}(t),c="function"==typeof n?n({present:s.isPresent}):o.Children.only(n),u=(0,i.e)(s.ref,c.ref);return"function"==typeof n||s.isPresent?(0,o.cloneElement)(c,{ref:u}):null};function l(e){return(null==e?void 0:e.animationName)||"none"}s.displayName="Presence"},84178:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;ts,jH:()=>l});var r=n(67294),i=n(73935),a=n(8145);const s=["a","button","div","h2","h3","img","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const n=(0,r.forwardRef)(((e,n)=>{const{asChild:i,...s}=e,l=i?a.g7:t;return(0,r.useEffect)((()=>{window[Symbol.for("radix-ui")]=!0}),[]),(0,r.createElement)(l,o({},s,{ref:n}))}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});function l(e,t){e&&(0,i.flushSync)((()=>e.dispatchEvent(t)))}},20026:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;tI,fC:()=>T,Pc:()=>S});var r=n(67294),i=n(53912),a=n(21286),s=n(72261),l=n(47257),c=n(69448),u=n(84178),d=n(88751),p=n(16180),f=n(69409);const h="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[v,y,b]=(0,a.B)(g),[w,S]=(0,l.b)(g,[b]),[E,P]=w(g),x=(0,r.forwardRef)(((e,t)=>(0,r.createElement)(v.Provider,{scope:e.__scopeRovingFocusGroup},(0,r.createElement)(v.Slot,{scope:e.__scopeRovingFocusGroup},(0,r.createElement)(D,o({},e,{ref:t})))))),D=(0,r.forwardRef)(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:a,loop:l=!1,dir:c,currentTabStopId:g,defaultCurrentTabStopId:v,onCurrentTabStopIdChange:b,onEntryFocus:w,...S}=e,P=(0,r.useRef)(null),x=(0,s.e)(t,P),D=(0,f.gm)(c),[C=null,k]=(0,p.T)({prop:g,defaultProp:v,onChange:b}),[A,T]=(0,r.useState)(!1),I=(0,d.W)(w),F=y(n),M=(0,r.useRef)(!1),[_,R]=(0,r.useState)(0),[N,L]=(0,r.useState)(document);return(0,r.useEffect)((()=>{const e=P.current;if(e)return L(e.ownerDocument),e.addEventListener(h,I),()=>e.removeEventListener(h,I)}),[I]),(0,r.createElement)(E,{scope:n,orientation:a,dir:D,loop:l,currentTabStopId:C,onItemFocus:(0,r.useCallback)((e=>k(e)),[k]),onItemShiftTab:(0,r.useCallback)((()=>T(!0)),[]),onFocusableItemAdd:(0,r.useCallback)((()=>R((e=>e+1))),[]),onFocusableItemRemove:(0,r.useCallback)((()=>R((e=>e-1))),[])},(0,r.createElement)(u.WV.div,o({tabIndex:A||0===_?-1:0,"data-orientation":a},S,{ref:x,style:{outline:"none",...e.style},onMouseDown:(0,i.M)(e.onMouseDown,(()=>{M.current=!0})),onFocus:(0,i.M)(e.onFocus,(e=>{const t=!M.current;if(e.target===e.currentTarget&&t&&!A){const t=new CustomEvent(h,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=F().filter((e=>e.focusable));O([e.find((e=>e.active)),e.find((e=>e.id===C)),...e].filter(Boolean).map((e=>e.ref.current)),N)}}M.current=!1})),onBlur:(0,i.M)(e.onBlur,(()=>T(!1)))})))})),C="RovingFocusGroupItem",k=(0,r.forwardRef)(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:a=!0,active:l=!1,...d}=e,p=(0,c.M)(),f=P(C,n),h=f.currentTabStopId===p,m=y(n),[g,b]=(0,r.useState)(document),w=(0,s.e)(t,(e=>{var t;return b(null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document)})),{onFocusableItemAdd:S,onFocusableItemRemove:E}=f;return(0,r.useEffect)((()=>{if(a)return S(),()=>E()}),[a,S,E]),(0,r.createElement)(v.ItemSlot,{scope:n,id:p,focusable:a,active:l},(0,r.createElement)(u.WV.span,o({tabIndex:h?0:-1,"data-orientation":f.orientation},d,{ref:w,onMouseDown:(0,i.M)(e.onMouseDown,(e=>{a?f.onItemFocus(p):e.preventDefault()})),onFocus:(0,i.M)(e.onFocus,(()=>f.onItemFocus(p))),onKeyDown:(0,i.M)(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void f.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const o=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(o)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)?void 0:A[o]}(e,f.orientation,f.dir);if(void 0!==t){e.preventDefault();let r=m().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();const i=r.indexOf(e.currentTarget);r=f.loop?(o=i+1,(n=r).map(((e,t)=>n[(o+t)%n.length]))):r.slice(i+1)}setTimeout((()=>O(r,g)))}var n,o}))})))})),A={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function O(e,t=document){const n=t.activeElement;for(const o of e){if(o===n)return;if(o.focus(),t.activeElement!==n)return}}const T=x,I=k},8145:(e,t,n)=>{"use strict";function o(){return o=Object.assign||function(e){for(var t=1;ta});var r=n(67294),i=n(72261);const a=(0,r.forwardRef)(((e,t)=>{const{children:n,...i}=e,a=r.Children.toArray(n),l=a.find(c);if(l){const e=l.props.children,n=a.map((t=>t===l?r.Children.count(e)>1?r.Children.only(null):(0,r.isValidElement)(e)?e.props.children:null:t));return(0,r.createElement)(s,o({},i,{ref:t}),(0,r.isValidElement)(e)?(0,r.cloneElement)(e,void 0,n):null)}return(0,r.createElement)(s,o({},i,{ref:t}),n)}));a.displayName="Slot";const s=(0,r.forwardRef)(((e,t)=>{const{children:n,...o}=e;return(0,r.isValidElement)(n)?(0,r.cloneElement)(n,{...u(o,n.props),ref:(0,i.F)(t,n.ref)}):r.Children.count(n)>1?r.Children.only(null):null}));s.displayName="SlotClone";const l=({children:e})=>(0,r.createElement)(r.Fragment,null,e);function c(e){return(0,r.isValidElement)(e)&&e.type===l}function u(e,t){const n={...t};for(const o in t){const r=e[o],i=t[o];/^on[A-Z]/.test(o)?r&&i?n[o]=(...e)=>{i(...e),r(...e)}:r&&(n[o]=r):"style"===o?n[o]={...r,...i}:"className"===o&&(n[o]=[r,i].filter(Boolean).join(" "))}return{...e,...n}}},88751:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});var o=n(67294);function r(e){const t=(0,o.useRef)(e);return(0,o.useEffect)((()=>{t.current=e})),(0,o.useMemo)((()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}},16180:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var o=n(67294),r=n(88751);function i({prop:e,defaultProp:t,onChange:n=(()=>{})}){const[i,a]=function({defaultProp:e,onChange:t}){const n=(0,o.useState)(e),[i]=n,a=(0,o.useRef)(i),s=(0,r.W)(t);return(0,o.useEffect)((()=>{a.current!==i&&(s(i),a.current=i)}),[i,a,s]),n}({defaultProp:t,onChange:n}),s=void 0!==e,l=s?e:i,c=(0,r.W)(n);return[l,(0,o.useCallback)((t=>{if(s){const n=t,o="function"==typeof t?n(e):t;o!==e&&c(o)}else a(t)}),[s,e,a,c])]}},14805:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var o=n(67294);const r=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?o.useLayoutEffect:()=>{}},23541:(e,t,n)=>{"use strict";n.d(t,{Ry:()=>u});var o=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},r=new WeakMap,i=new WeakMap,a={},s=0,l=function(e){return e&&(e.host||l(e.parentNode))},c=function(e,t,n,o){var c=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=l(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);a[n]||(a[n]=new WeakMap);var u=a[n],d=[],p=new Set,f=new Set(c),h=function(e){e&&!p.has(e)&&(p.add(e),h(e.parentNode))};c.forEach(h);var m=function(e){e&&!f.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(p.has(e))m(e);else{var t=e.getAttribute(o),a=null!==t&&"false"!==t,s=(r.get(e)||0)+1,l=(u.get(e)||0)+1;r.set(e,s),u.set(e,l),d.push(e),1===s&&a&&i.set(e,!0),1===l&&e.setAttribute(n,"true"),a||e.setAttribute(o,"true")}}))};return m(t),p.clear(),s++,function(){d.forEach((function(e){var t=r.get(e)-1,a=u.get(e)-1;r.set(e,t),u.set(e,a),t||(i.has(e)||e.removeAttribute(o),i.delete(e)),a||e.removeAttribute(n)})),--s||(r=new WeakMap,r=new WeakMap,i=new WeakMap,a={})}},u=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||o(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),c(r,i,n,"aria-hidden")):function(){return null}}},10531:(e,t)=>{"use strict";function n(e,t){for(var n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TouchBackendImpl=void 0;var o,r=n(685),i=n(7584),a=n(52355),s=n(60814),l=n(39751),c=n(47473),u=n(10531);function d(e,t){for(var n=0;n0){var o=r.moveStartSourceIds;r.actions.beginDrag(o,{clientOffset:r._mouseClientOffset,getSourceClientOffset:r.getSourceClientOffset,publishSource:!1})}}r.waitingForDelay=!1}},this.handleTopMoveStartDelay=function(e){if((0,a.eventShouldStartDrag)(e)){var t=e.type===f.touch.start?r.options.delayTouchStart:r.options.delayMouseStart;r.timeout=setTimeout(r.handleTopMoveStart.bind(r,e),t),r.waitingForDelay=!0}},this.handleTopMoveCapture=function(){r.dragOverTargetIds=[]},this.handleMove=function(e,t){r.dragOverTargetIds&&r.dragOverTargetIds.unshift(t)},this.handleTopMove=function(e){if(r.document&&!r.waitingForDelay){r.timeout&&clearTimeout(r.timeout);var t=r.moveStartSourceIds,n=r.dragOverTargetIds,o=r.options.enableHoverOutsideTarget,i=(0,s.getEventClientOffset)(e,r.lastTargetTouchFallback);if(i)if(r._isScrolling||!r.monitor.isDragging()&&(0,l.inAngleRanges)(r._mouseClientOffset.x||0,r._mouseClientOffset.y||0,i.x,i.y,r.options.scrollAngleRanges))r._isScrolling=!0;else if(!r.monitor.isDragging()&&r._mouseClientOffset.hasOwnProperty("x")&&t&&(0,l.distance)(r._mouseClientOffset.x||0,r._mouseClientOffset.y||0,i.x,i.y)>(r.options.touchSlop?r.options.touchSlop:0)&&(r.moveStartSourceIds=void 0,r.actions.beginDrag(t,{clientOffset:r._mouseClientOffset,getSourceClientOffset:r.getSourceClientOffset,publishSource:!1})),r.monitor.isDragging()){var a=r.sourceNodes.get(r.monitor.getSourceId());r.installSourceNodeRemovalObserver(a),r.actions.publishDragSource(),e.cancelable&&e.preventDefault();var c=(n||[]).map((function(e){return r.targetNodes.get(e)})).filter((function(e){return!!e})),u=r.options.getDropTargetElementsAtPoint?r.options.getDropTargetElementsAtPoint(i.x,i.y,c):r.document.elementsFromPoint(i.x,i.y),d=[];for(var p in u)if(u.hasOwnProperty(p)){var f=u[p];for(d.push(f);f;)(f=f.parentElement)&&-1===d.indexOf(f)&&d.push(f)}var h=d.filter((function(e){return c.indexOf(e)>-1})).map((function(e){return r._getDropTargetId(e)})).filter((function(e){return!!e})).filter((function(e,t,n){return n.indexOf(e)===t}));if(o)for(var m in r.targetNodes){var g=r.targetNodes.get(m);if(a&&g&&g.contains(a)&&-1===h.indexOf(m)){h.unshift(m);break}}if(r.lastDragOverTargetIds=h.reverse(),r.lastClientOffset=i,!r.updateTimer){var v=function e(){r.monitor.isDragging()&&(r.actions.hover(r.lastDragOverTargetIds,{clientOffset:r.lastClientOffset}),r.updateTimer=requestAnimationFrame(e))};r.updateTimer=requestAnimationFrame((function(){v()}))}}}},this._getDropTargetId=function(e){for(var t=r.targetNodes.keys(),n=t.next();!1===n.done;){var o=n.value;if(e===r.targetNodes.get(o))return o;n=t.next()}},this.handleTopMoveEndCapture=function(e){r._isScrolling=!1,r.lastTargetTouchFallback=void 0,(0,a.eventShouldEndDrag)(e)&&(r.monitor.isDragging()&&!r.monitor.didDrop()?(e.cancelable&&e.preventDefault(),r._mouseClientOffset={},r.uninstallSourceNodeRemovalObserver(),r.actions.drop(),r.actions.endDrag(),r.updateTimer&&cancelAnimationFrame(r.updateTimer),r.updateTimer=null):r.moveStartSourceIds=void 0)},this.handleCancelOnEscape=function(e){"Escape"===e.key&&r.monitor.isDragging()&&(r._mouseClientOffset={},r.uninstallSourceNodeRemovalObserver(),r.actions.endDrag())},this.options=new u.OptionsReader(o,n),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(i.ListenerType.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(i.ListenerType.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(i.ListenerType.keyboard)}var t,n,o;return t=e,(n=[{key:"profile",value:function(){var e;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:(null===(e=this.dragOverTargetIds)||void 0===e?void 0:e.length)||0}}},{key:"setup",value:function(){this.document&&((0,r.invariant)(!e.isSetUp,"Cannot have two Touch backends at the same time."),e.isSetUp=!0,this.addEventListener(this.document,"start",this.getTopMoveStartHandler()),this.addEventListener(this.document,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(this.document,"move",this.handleTopMove),this.addEventListener(this.document,"move",this.handleTopMoveCapture,!0),this.addEventListener(this.document,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(this.document,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(this.document,"keydown",this.handleCancelOnEscape,!0))}},{key:"teardown",value:function(){this.document&&(e.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(this.document,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(this.document,"start",this.handleTopMoveStart),this.removeEventListener(this.document,"move",this.handleTopMoveCapture,!0),this.removeEventListener(this.document,"move",this.handleTopMove),this.removeEventListener(this.document,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(this.document,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(this.document,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}},{key:"throttle",value:function(e,t){var n=!1;return function(o){n||(e(o),n=!0,setTimeout((function(){n=!1}),t))}}},{key:"addEventListener",value:function(e,t,n,o){var r=c.supportsPassive?{capture:o,passive:!1}:o,i=this.throttle(n,50);this.listenerTypes.forEach((function(n){var o=f[n][t];o&&e.addEventListener(o,i,r)}))}},{key:"removeEventListener",value:function(e,t,n,o){var r=c.supportsPassive?{capture:o,passive:!1}:o;this.listenerTypes.forEach((function(o){var i=f[o][t];i&&e.removeEventListener(i,n,r)}))}},{key:"connectDragSource",value:function(e,t){var n=this,o=this.handleMoveStart.bind(this,e);return this.sourceNodes.set(e,t),this.addEventListener(t,"start",o),function(){n.sourceNodes.delete(e),n.removeEventListener(t,"start",o)}}},{key:"connectDragPreview",value:function(e,t,n){var o=this;return this.sourcePreviewNodeOptions.set(e,n),this.sourcePreviewNodes.set(e,t),function(){o.sourcePreviewNodes.delete(e),o.sourcePreviewNodeOptions.delete(e)}}},{key:"connectDropTarget",value:function(e,t){var n=this;if(!this.document)return function(){};var o=function(o){if(n.document&&n.monitor.isDragging()){var r;switch(o.type){case f.mouse.move:r={x:o.clientX,y:o.clientY};break;case f.touch.move:r={x:o.touches[0].clientX,y:o.touches[0].clientY}}var i=null!=r?n.document.elementFromPoint(r.x,r.y):void 0,a=i&&t.contains(i);return i===t||a?n.handleMove(o,e):void 0}};return this.addEventListener(this.document.body,"move",o),this.targetNodes.set(e,t),function(){n.document&&(n.targetNodes.delete(e),n.removeEventListener(n.document.body,"move",o))}}},{key:"getTopMoveStartHandler",value:function(){return this.options.delayTouchStart||this.options.delayMouseStart?this.handleTopMoveStartDelay:this.handleTopMoveStart}},{key:"installSourceNodeRemovalObserver",value:function(e){var t=this;this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=e,this.draggedSourceNodeRemovalObserver=new MutationObserver((function(){e&&!e.parentElement&&(t.resurrectSourceNode(),t.uninstallSourceNodeRemovalObserver())})),e&&e.parentElement&&this.draggedSourceNodeRemovalObserver.observe(e.parentElement,{childList:!0})}},{key:"resurrectSourceNode",value:function(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}},{key:"uninstallSourceNodeRemovalObserver",value:function(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}},{key:"document",get:function(){return this.options.document}}])&&d(t.prototype,n),o&&d(t,o),e}();t.TouchBackendImpl=h},71634:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={TouchBackend:!0};t.TouchBackend=void 0;var r=n(6901);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));t.TouchBackend=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new r.TouchBackendImpl(e,t,n)}},7584:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ListenerType=void 0,t.ListenerType=n,function(e){e.mouse="mouse",e.touch="touch",e.keyboard="keyboard"}(n||(t.ListenerType=n={}))},39751:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distance=function(e,t,n,o){return Math.sqrt(Math.pow(Math.abs(n-e),2)+Math.pow(Math.abs(o-t),2))},t.inAngleRanges=function(e,t,n,o,r){if(!r)return!1;for(var i=180*Math.atan2(o-t,n-e)/Math.PI+180,a=0;a=r[a].start)&&(null==r[a].end||i<=r[a].end))return!0;return!1}},60814:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=function(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return;var n=t.getBoundingClientRect(),o=n.top;return{x:n.left,y:o}},t.getEventClientTouchOffset=r,t.getEventClientOffset=i;var o=n(52355);function r(e,t){return 1===e.targetTouches.length?i(e.targetTouches[0]):t&&1===e.touches.length&&e.touches[0].target===t.target?i(e.touches[0]):void 0}function i(e,t){return(0,o.isTouchEvent)(e)?r(e,t):{x:e.clientX,y:e.clientY}}},52355:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eventShouldStartDrag=function(e){return void 0===e.button||e.button===o},t.eventShouldEndDrag=function(e){return void 0===e.buttons||0==(e.buttons&n)},t.isTouchEvent=function(e){return!!e.targetTouches};var n=1,o=0},47473:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportsPassive=void 0;var n=function(){var e=!1;try{addEventListener("test",(function(){}),Object.defineProperty({},"passive",{get:function(){return e=!0,!0}}))}catch(e){}return e}();t.supportsPassive=n},685:(e,t,n)=>{"use strict";function o(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;ro})},79153:(e,t,n)=>{"use strict";n.d(t,{WG:()=>Ie,c0:()=>ot,f$:()=>rt,LW:()=>lt});var o=n(67294);const r=(0,o.createContext)({dragDropManager:void 0});var i=n(85893),a=n(40230);function s(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;re&&e[t]?e[t]:n||null),e)}function u(e,t){return e.filter((e=>e!==t))}function d(e){return"object"==typeof e}function p(e,t){const n=new Map,o=e=>{n.set(e,n.has(e)?n.get(e)+1:1)};e.forEach(o),t.forEach(o);const r=[];return n.forEach(((e,t)=>{1===e&&r.push(t)})),r}const f="dnd-core/INIT_COORDS",h="dnd-core/BEGIN_DRAG",m="dnd-core/PUBLISH_DRAG_SOURCE",g="dnd-core/HOVER",v="dnd-core/DROP",y="dnd-core/END_DRAG";function b(e,t){return{type:f,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}const w={type:f,payload:{clientOffset:null,sourceClientOffset:null}};function S(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0};const{publishSource:o=!0,clientOffset:r,getSourceClientOffset:i}=n,a=e.getMonitor(),s=e.getRegistry();e.dispatch(b(r)),E(t,a,s);const l=D(t,a);if(null==l)return void e.dispatch(w);let c=null;if(r){if(!i)throw new Error("getSourceClientOffset must be defined");P(i),c=i(l)}e.dispatch(b(r,c));const u=s.getSource(l),d=u.beginDrag(a,l);if(null==d)return;x(d),s.pinSource(l);const p=s.getSourceType(l);return{type:h,payload:{itemType:p,item:d,sourceId:l,clientOffset:r||null,sourceClientOffset:c||null,isSourcePublic:!!o}}}}function E(e,t,n){s(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach((function(e){s(n.getSource(e),"Expected sourceIds to be registered.")}))}function P(e){s("function"==typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}function x(e){s(d(e),"Item must be an object.")}function D(e,t){let n=null;for(let o=e.length-1;o>=0;o--)if(t.canDragSource(e[o])){n=e[o];break}return n}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};const n=e.getMonitor(),o=e.getRegistry();O(n);const r=I(n);r.forEach(((r,i)=>{const a=T(r,i,o,n),s={type:v,payload:{dropResult:k({},t,a)}};e.dispatch(s)}))}}function O(e){s(e.isDragging(),"Cannot call drop while not dragging."),s(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function T(e,t,n,o){const r=n.getTarget(e);let i=r?r.drop(o,e):void 0;return function(e){s(void 0===e||d(e),"Drop result must either be an object or undefined.")}(i),void 0===i&&(i=0===t?{}:o.getDropResult()),i}function I(e){const t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function F(e){return function(){const t=e.getMonitor(),n=e.getRegistry();!function(e){s(e.isDragging(),"Cannot call endDrag while not dragging.")}(t);const o=t.getSourceId();if(null!=o){n.getSource(o,!0).endDrag(t,o),n.unpinSource()}return{type:y}}}function M(e,t){return null===t?null===e:Array.isArray(e)?e.some((e=>e===t)):e===t}function _(e){return function(t){let{clientOffset:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};R(t);const o=t.slice(0),r=e.getMonitor(),i=e.getRegistry(),a=r.getItemType();return L(o,i,a),N(o,r,i),B(o,r,i),{type:g,payload:{targetIds:o,clientOffset:n||null}}}}function R(e){s(Array.isArray(e),"Expected targetIds to be an array.")}function N(e,t,n){s(t.isDragging(),"Cannot call hover while not dragging."),s(!t.didDrop(),"Cannot call hover after drop.");for(let t=0;t=0;o--){const r=e[o];M(t.getTargetType(r),n)||e.splice(o,1)}}function B(e,t,n){e.forEach((function(e){n.getTarget(e).hover(t,e)}))}function j(e){return function(){if(e.getMonitor().isDragging())return{type:m}}}class z{receiveBackend(e){this.backend=e}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const e=this,{dispatch:t}=this.store;const n=function(e){return{beginDrag:S(e),publishDragSource:j(e),hover:_(e),drop:A(e),endDrag:F(e)}}(this);return Object.keys(n).reduce(((o,r)=>{const i=n[r];var a;return o[r]=(a=i,function(){for(var n=arguments.length,o=new Array(n),r=0;r{const e=this.store.getState().refCount>0;this.backend&&(e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=e,this.monitor=t,e.subscribe(this.handleRefCountChange)}}function K(e,t){return{x:e.x-t.x,y:e.y-t.y}}const Z=[],U=[];Z.__IS_NONE__=!0,U.__IS_ALL__=!0;class V{subscribeToStateChange(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{handlerIds:n}=t;s("function"==typeof e,"listener must be a function."),s(void 0===n||Array.isArray(n),"handlerIds, when specified, must be an array of strings.");let o=this.store.getState().stateId;return this.store.subscribe((()=>{const t=this.store.getState(),r=t.stateId;try{const i=r===o||r===o+1&&!function(e,t){return e!==Z&&(e===U||void 0===t||(n=e,t.filter((e=>n.indexOf(e)>-1))).length>0);var n}(t.dirtyHandlerIds,n);i||e()}finally{o=r}}))}subscribeToOffsetChange(e){s("function"==typeof e,"listener must be a function.");let t=this.store.getState().dragOffset;return this.store.subscribe((()=>{const n=this.store.getState().dragOffset;n!==t&&(t=n,e())}))}canDragSource(e){if(!e)return!1;const t=this.registry.getSource(e);return s(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()&&t.canDrag(this,e)}canDropOnTarget(e){if(!e)return!1;const t=this.registry.getTarget(e);if(s(t,`Expected to find a valid target. targetId=${e}`),!this.isDragging()||this.didDrop())return!1;return M(this.registry.getTargetType(e),this.getItemType())&&t.canDrop(this,e)}isDragging(){return Boolean(this.getItemType())}isDraggingSource(e){if(!e)return!1;const t=this.registry.getSource(e,!0);if(s(t,`Expected to find a valid source. sourceId=${e}`),!this.isDragging()||!this.isSourcePublic())return!1;return this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}isOverTarget(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1};if(!e)return!1;const{shallow:n}=t;if(!this.isDragging())return!1;const o=this.registry.getTargetType(e),r=this.getItemType();if(r&&!M(o,r))return!1;const i=this.getTargetIds();if(!i.length)return!1;const a=i.indexOf(e);return n?a===i.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(e){const{clientOffset:t,initialClientOffset:n,initialSourceClientOffset:o}=e;return t&&n&&o?K((i=o,{x:(r=t).x+i.x,y:r.y+i.y}),n):null;var r,i}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(e){const{clientOffset:t,initialClientOffset:n}=e;return t&&n?K(t,n):null}(this.store.getState().dragOffset)}constructor(e,t){this.store=e,this.registry=t}}const G=void 0!==n.g?n.g:self,W=G.MutationObserver||G.WebKitMutationObserver;function q(e){return function(){const t=setTimeout(o,0),n=setInterval(o,50);function o(){clearTimeout(t),clearInterval(n),e()}}}const H="function"==typeof W?function(e){let t=1;const n=new W(e),o=document.createTextNode("");return n.observe(o,{characterData:!0}),function(){t=-t,o.data=t}}:q;class ${call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,t){this.onError=e,this.release=t,this.task=null}}const Y=new class{enqueueTask(e){const{queue:t,requestFlush:n}=this;t.length||(n(),this.flushing=!0),t[t.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.indexthis.capacity){for(let t=0,n=e.length-this.index;t{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=H(this.flush),this.requestErrorThrow=q((()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()}))}},X=new class{create(e){const t=this.freeTasks,n=t.length?t.pop():new $(this.onError,(e=>t[t.length]=e));return n.task=e,n}constructor(e){this.onError=e,this.freeTasks=[]}}(Y.registerPendingError);const J="dnd-core/ADD_SOURCE",Q="dnd-core/ADD_TARGET",ee="dnd-core/REMOVE_SOURCE",te="dnd-core/REMOVE_TARGET";function ne(e,t){t&&Array.isArray(e)?e.forEach((e=>ne(e,!1))):s("string"==typeof e||"symbol"==typeof e,t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var oe;!function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"}(oe||(oe={}));let re=0;function ie(e){const t=(re++).toString();switch(e){case oe.SOURCE:return`S${t}`;case oe.TARGET:return`T${t}`;default:throw new Error(`Unknown Handler Role: ${e}`)}}function ae(e){switch(e[0]){case"S":return oe.SOURCE;case"T":return oe.TARGET;default:throw new Error(`Cannot parse handler ID: ${e}`)}}function se(e,t){const n=e.entries();let o=!1;do{const{done:e,value:[,r]}=n.next();if(r===t)return!0;o=!!e}while(!o);return!1}class le{addSource(e,t){ne(e),function(e){s("function"==typeof e.canDrag,"Expected canDrag to be a function."),s("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),s("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);const n=this.addHandler(oe.SOURCE,e,t);return this.store.dispatch(function(e){return{type:J,payload:{sourceId:e}}}(n)),n}addTarget(e,t){ne(e,!0),function(e){s("function"==typeof e.canDrop,"Expected canDrop to be a function."),s("function"==typeof e.hover,"Expected hover to be a function."),s("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);const n=this.addHandler(oe.TARGET,e,t);return this.store.dispatch(function(e){return{type:Q,payload:{targetId:e}}}(n)),n}containsHandler(e){return se(this.dragSources,e)||se(this.dropTargets,e)}getSource(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s(this.isSourceId(e),"Expected a valid source ID.");return t&&e===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(e)}getTarget(e){return s(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}getSourceType(e){return s(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}getTargetType(e){return s(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}isSourceId(e){return ae(e)===oe.SOURCE}isTargetId(e){return ae(e)===oe.TARGET}removeSource(e){var t;s(this.getSource(e),"Expected an existing source."),this.store.dispatch(function(e){return{type:ee,payload:{sourceId:e}}}(e)),t=()=>{this.dragSources.delete(e),this.types.delete(e)},Y.enqueueTask(X.create(t))}removeTarget(e){s(this.getTarget(e),"Expected an existing target."),this.store.dispatch(function(e){return{type:te,payload:{targetId:e}}}(e)),this.dropTargets.delete(e),this.types.delete(e)}pinSource(e){const t=this.getSource(e);s(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}unpinSource(){s(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(e,t,n){const o=ie(e);return this.types.set(o,t),e===oe.SOURCE?this.dragSources.set(o,n):e===oe.TARGET&&this.dropTargets.set(o,n),o}constructor(e){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=e}}const ce=(e,t)=>e===t;function ue(e,t){return!e&&!t||!(!e||!t)&&(e.x===t.x&&e.y===t.y)}function de(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ce;if(e.length!==t.length)return!1;for(let o=0;o1?arguments[1]:void 0;switch(e.type){case g:break;case J:case Q:case te:case ee:return Z;default:return U}const{targetIds:t=[],prevTargetIds:n=[]}=e.payload,o=p(t,n),r=o.length>0||!de(t,n);if(!r)return Z;const i=n[n.length-1],a=t[t.length-1];return i!==a&&(i&&o.push(i),a&&o.push(a)),o}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function he(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:me,t=arguments.length>1?arguments[1]:void 0;const{payload:n}=t;switch(t.type){case f:case h:return{initialSourceClientOffset:n.sourceClientOffset,initialClientOffset:n.clientOffset,clientOffset:n.clientOffset};case g:return ue(e.clientOffset,n.clientOffset)?e:he({},e,{clientOffset:n.clientOffset});case y:case v:return me;default:return e}}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ye(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:be,t=arguments.length>1?arguments[1]:void 0;const{payload:n}=t;switch(t.type){case h:return ye({},e,{itemType:n.itemType,item:n.item,sourceId:n.sourceId,isSourcePublic:n.isSourcePublic,dropResult:null,didDrop:!1});case m:return ye({},e,{isSourcePublic:!0});case g:return ye({},e,{targetIds:n.targetIds});case te:return-1===e.targetIds.indexOf(n.targetId)?e:ye({},e,{targetIds:u(e.targetIds,n.targetId)});case v:return ye({},e,{dropResult:n.dropResult,didDrop:!0,targetIds:[]});case y:return ye({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function Se(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case J:case Q:return e+1;case ee:case te:return e-1;default:return e}}function Ee(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e+1}function Pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:pe(e.dirtyHandlerIds,{type:t.type,payload:xe({},t.payload,{prevTargetIds:c(e,"dragOperation.targetIds",[])})}),dragOffset:ge(e.dragOffset,t),refCount:Se(e.refCount,t),dragOperation:we(e.dragOperation,t),stateId:Ee(e.stateId)}}function Ce(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const r=ke(o),i=new V(r,new le(r)),a=new z(r,i),s=e(a,t,n);return a.receiveBackend(s),a}function ke(e){const t="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return(0,a.MT)(De,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}function Ae(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}let Oe=0;const Te=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var Ie=(0,o.memo)((function(e){var{children:t}=e,n=Ae(e,["children"]);const[a,s]=function(e){if("manager"in e){return[{dragDropManager:e.manager},!1]}const t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fe(),n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;const r=t;r[Te]||(r[Te]={dragDropManager:Ce(e,t,n,o)});return r[Te]}(e.backend,e.context,e.options,e.debugMode),n=!e.context;return[t,n]}(n);return(0,o.useEffect)((()=>{if(s){const e=Fe();return++Oe,()=>{0==--Oe&&(e[Te]=null)}}}),[]),(0,i.jsx)(r.Provider,{value:a,children:t})}));function Fe(){return void 0!==n.g?n.g:window}var Me=n(64063),_e=n.n(Me);const Re="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;function Ne(e,t,n){const[r,i]=(0,o.useState)((()=>t(e))),a=(0,o.useCallback)((()=>{const o=t(e);_e()(r,o)||(i(o),n&&n())}),[r,e,n]);return Re(a),[r,a]}function Le(e,t,n){return function(e,t,n){const[o,r]=Ne(e,t,n);return Re((function(){const t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(r,{handlerIds:[t]})}),[e,r]),o}(t,e||(()=>({})),(()=>n.reconnect()))}function Be(e,t){const n=[...t||[]];return null==t&&"function"!=typeof e&&n.push(e),(0,o.useMemo)((()=>"function"==typeof e?e():e),n)}function je(e){return(0,o.useMemo)((()=>e.hooks.dragSource()),[e])}function ze(e){return(0,o.useMemo)((()=>e.hooks.dragPreview()),[e])}let Ke=!1,Ze=!1;class Ue{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){s(!Ke,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return Ke=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{Ke=!1}}isDragging(){if(!this.sourceId)return!1;s(!Ze,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return Ze=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{Ze=!1}}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,t){return this.internalMonitor.isOverTarget(e,t)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}}let Ve=!1;class Ge{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}canDrop(){if(!this.targetId)return!1;s(!Ve,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return Ve=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{Ve=!1}}isOver(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}}function We(e,t,n,o){let r=n?n.call(o,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;const i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;const s=Object.prototype.hasOwnProperty.bind(t);for(let a=0;a, or turn it into a drag source or a drop target itself.`)}function $e(e){const t={};return Object.keys(e).forEach((n=>{const r=e[n];if(n.endsWith("Ref"))t[n]=e[n];else{const e=function(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,o.isValidElement)(t)){const o=t;return e(o,n),o}const r=t;He(r);return Xe(r,n?t=>e(t,n):e)}}(r);t[n]=()=>e}})),t}function Ye(e,t){"function"==typeof e?e(t):e.current=t}function Xe(e,t){const n=e.ref;return s("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a or
. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),n?(0,o.cloneElement)(e,{ref:e=>{Ye(n,e),Ye(t,e)}}):(0,o.cloneElement)(e,{ref:t})}class Je{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){const e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){const e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId?e?(t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)),t):(this.lastConnectedDragSource=e,t):t}reconnectDragPreview(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.dragPreview,n=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();n&&this.disconnectDragPreview(),this.handlerId&&(t?n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions)):this.lastConnectedDragPreview=t)}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!We(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!We(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=$e({dragSource:(e,t)=>{this.clearDragSource(),this.dragSourceOptions=t||null,qe(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,t)=>{this.clearDragPreview(),this.dragPreviewOptions=t||null,qe(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}}class Qe{get connectTarget(){return this.dropTarget}reconnect(){const e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();const t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!We(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=$e({dropTarget:(e,t)=>{this.clearDropTarget(),this.dropTargetOptions=t,qe(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}}function et(){const{dragDropManager:e}=(0,o.useContext)(r);return s(null!=e,"Expected drag drop context"),e}class tt{beginDrag(){const e=this.spec,t=this.monitor;let n=null;return n="object"==typeof e.item?e.item:"function"==typeof e.item?e.item(t):{},null!=n?n:null}canDrag(){const e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)}isDragging(e,t){const n=this.spec,o=this.monitor,{isDragging:r}=n;return r?r(o):t===e.getSourceId()}endDrag(){const e=this.spec,t=this.monitor,n=this.connector,{end:o}=e;o&&o(t.getItem(),t),n.reconnect()}constructor(e,t,n){this.spec=e,this.monitor=t,this.connector=n}}function nt(e,t,n){const r=et(),i=function(e,t,n){const r=(0,o.useMemo)((()=>new tt(e,t,n)),[t,n]);return(0,o.useEffect)((()=>{r.spec=e}),[e]),r}(e,t,n),a=function(e){return(0,o.useMemo)((()=>{const t=e.type;return s(null!=t,"spec.type must be defined"),t}),[e])}(e);Re((function(){if(null!=a){const[e,o]=function(e,t,n){const o=n.getRegistry(),r=o.addSource(e,t);return[r,()=>o.removeSource(r)]}(a,i,r);return t.receiveHandlerId(e),n.receiveHandlerId(e),o}}),[r,t,n,i,a])}function ot(e,t){const n=Be(e,t);s(!n.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const r=function(){const e=et();return(0,o.useMemo)((()=>new Ue(e)),[e])}(),i=function(e,t){const n=et(),r=(0,o.useMemo)((()=>new Je(n.getBackend())),[n]);return Re((()=>(r.dragSourceOptions=e||null,r.reconnect(),()=>r.disconnectDragSource())),[r,e]),Re((()=>(r.dragPreviewOptions=t||null,r.reconnect(),()=>r.disconnectDragPreview())),[r,t]),r}(n.options,n.previewOptions);return nt(n,r,i),[Le(n.collect,r,i),je(i),ze(i)]}function rt(e){const t=et().getMonitor(),[n,r]=Ne(t,e);return(0,o.useEffect)((()=>t.subscribeToOffsetChange(r))),(0,o.useEffect)((()=>t.subscribeToStateChange(r))),n}function it(e){return(0,o.useMemo)((()=>e.hooks.dropTarget()),[e])}class at{canDrop(){const e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)}hover(){const e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}drop(){const e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}constructor(e,t){this.spec=e,this.monitor=t}}function st(e,t,n){const r=et(),i=function(e,t){const n=(0,o.useMemo)((()=>new at(e,t)),[t]);return(0,o.useEffect)((()=>{n.spec=e}),[e]),n}(e,t),a=function(e){const{accept:t}=e;return(0,o.useMemo)((()=>(s(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t])),[t])}(e);Re((function(){const[e,o]=function(e,t,n){const o=n.getRegistry(),r=o.addTarget(e,t);return[r,()=>o.removeTarget(r)]}(a,i,r);return t.receiveHandlerId(e),n.receiveHandlerId(e),o}),[r,t,i,n,a.map((e=>e.toString())).join("|")])}function lt(e,t){const n=Be(e,t),r=function(){const e=et();return(0,o.useMemo)((()=>new Ge(e)),[e])}(),i=function(e){const t=et(),n=(0,o.useMemo)((()=>new Qe(t.getBackend())),[t]);return Re((()=>(n.dropTargetOptions=e||null,n.reconnect(),()=>n.disconnectDropTarget())),[e]),n}(n.options);return st(n,r,i),[Le(n.collect,r,i),it(i)]}},76154:(e,t,n)=>{"use strict";n.d(t,{_H:()=>Wt,Pj:()=>_t,dp:()=>Ft,Sn:()=>je,vU:()=>Ht,XN:()=>xt,YB:()=>Dt});var o=n(70655),r=n(67294),i=n(8679),a=n.n(i);["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"].map((function(e){return e.slice(e.indexOf("-")+1)}));function s(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}var l=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;new RegExp("^"+l.source),new RegExp(l.source+"$");var c,u,d,p;!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="MISSING_LOCALE_DATA",t}(0,o.ZT)(t,e)}(Error);function f(e){return e.type===d.literal}function h(e){return e.type===d.argument}function m(e){return e.type===d.number}function g(e){return e.type===d.date}function v(e){return e.type===d.time}function y(e){return e.type===d.select}function b(e){return e.type===d.plural}function w(e){return e.type===d.pound}function S(e){return e.type===d.tag}function E(e){return!(!e||"object"!=typeof e||e.type!==p.number)}function P(e){return!(!e||"object"!=typeof e||e.type!==p.dateTime)}!function(e){e.startRange="startRange",e.shared="shared",e.endRange="endRange"}(c||(c={})),function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(u||(u={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(d||(d={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(p||(p={}));var x=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,D=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function C(e){var t={};return e.replace(D,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"short":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var k=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var A,O=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,T=/^(@+)?(\+|#+)?$/g,I=/(\*)(0+)|(#+)(0+)|(0+)/g,F=/^(0+)$/;function M(e){var t={};return e.replace(T,(function(e,n,o){return"string"!=typeof o?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===o?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof o?o.length:0)),""})),t}function _(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function R(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!F.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function N(e){var t=_(e);return t||{}}function L(e){for(var t={},n=0,r=e;n1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(I,(function(e,n,o,r,i,a){if(n)t.minimumIntegerDigits=o.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(F.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(O.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(O,(function(e,n,o,r,i,a){return"*"===o?t.minimumFractionDigits=n.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""})),i.options.length&&(t=(0,o.pi)((0,o.pi)({},t),M(i.options[0])))}else if(T.test(i.stem))t=(0,o.pi)((0,o.pi)({},t),M(i.stem));else{var a=_(i.stem);a&&(t=(0,o.pi)((0,o.pi)({},t),a));var s=R(i.stem);s&&(t=(0,o.pi)((0,o.pi)({},t),s))}}return t}var B=new RegExp("^"+x.source+"*"),j=new RegExp(x.source+"*$");function z(e,t){return{start:e,end:t}}var K=!!String.prototype.startsWith,Z=!!String.fromCodePoint,U=!!Object.fromEntries,V=!!String.prototype.codePointAt,G=!!String.prototype.trimStart,W=!!String.prototype.trimEnd,q=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},H=!0;try{H="a"===(null===(A=ne("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===A?void 0:A[0])}catch(e){H=!1}var $,Y=K?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},X=Z?String.fromCodePoint:function(){for(var e=[],t=0;ti;){if((n=e[i++])>1114111)throw RangeError(n+" is not a valid code point");o+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return o},J=U?Object.fromEntries:function(e){for(var t={},n=0,o=e;n=n)){var o,r=e.charCodeAt(t);return r<55296||r>56319||t+1===n||(o=e.charCodeAt(t+1))<56320||o>57343?r:o-56320+(r-55296<<10)+65536}},ee=G?function(e){return e.trimStart()}:function(e){return e.replace(B,"")},te=W?function(e){return e.trimEnd()}:function(e){return e.replace(j,"")};function ne(e,t){return new RegExp(e,t)}if(H){var oe=ne("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$=function(e,t){var n;return oe.lastIndex=t,null!==(n=oe.exec(e)[1])&&void 0!==n?n:""}}else $=function(e,t){for(var n=[];;){var o=Q(e,t);if(void 0===o||ae(o)||se(o))break;n.push(o),t+=o>=65536?2:1}return X.apply(void 0,n)};var re=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var o=[];!this.isEOF();){var r=this.char();if(123===r){if((i=this.parseArgument(e,n)).err)return i;o.push(i.val)}else{if(125===r&&e>0)break;if(35!==r||"plural"!==t&&"selectordinal"!==t){if(60===r&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(u.UNMATCHED_CLOSING_TAG,z(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&ie(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;o.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;o.push(i.val)}}else{var a=this.clonePosition();this.bump(),o.push({type:d.pound,location:z(a,this.clonePosition())})}}}return{val:o,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:d.literal,value:"<"+o+"/>",location:z(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var i=r.val,a=this.clonePosition();if(this.bumpIf("")?{val:{type:d.tag,value:o,children:i,location:z(n,this.clonePosition())},err:null}:this.error(u.INVALID_TAG,z(a,this.clonePosition())))}return this.error(u.UNCLOSED_TAG,z(n,this.clonePosition()))}return this.error(u.INVALID_TAG,z(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),o="";;){var r=this.tryParseQuote(t);if(r)o+=r;else{var i=this.tryParseUnquoted(e,t);if(i)o+=i;else{var a=this.tryParseLeftAngleBracket();if(!a)break;o+=a}}}var s=z(n,this.clonePosition());return{val:{type:d.literal,value:o,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ie(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return X.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),X(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(u.EMPTY_ARGUMENT,z(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(u.MALFORMED_ARGUMENT,z(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:d.argument,value:o,location:z(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,z(n,this.clonePosition())):this.parseArgumentOptions(e,t,o,n);default:return this.error(u.MALFORMED_ARGUMENT,z(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=$(this.message,t),o=t+n.length;return this.bumpTo(o),{value:n,location:z(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(u.EXPECT_ARGUMENT_TYPE,z(a,l));case"number":case"date":case"time":this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition();if((w=this.parseSimpleArgStyleIfPossible()).err)return w;if(0===(g=te(w.val)).length)return this.error(u.EXPECT_ARGUMENT_STYLE,z(this.clonePosition(),this.clonePosition()));c={style:g,styleLocation:z(f,this.clonePosition())}}if((S=this.tryParseArgumentClose(r)).err)return S;var h=z(r,this.clonePosition());if(c&&Y(null==c?void 0:c.style,"::",0)){var m=ee(c.style.slice(2));if("number"===s)return(w=this.parseNumberSkeletonFromString(m,c.styleLocation)).err?w:{val:{type:d.number,value:n,location:h,style:w.val},err:null};if(0===m.length)return this.error(u.EXPECT_DATE_TIME_SKELETON,h);var g={type:p.dateTime,pattern:m,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?C(m):{}};return{val:{type:"date"===s?d.date:d.time,value:n,location:h,style:g},err:null}}return{val:{type:"number"===s?d.number:"date"===s?d.date:d.time,value:n,location:h,style:null!==(i=null==c?void 0:c.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(u.EXPECT_SELECT_ARGUMENT_OPTIONS,z(v,(0,o.pi)({},v)));this.bumpSpace();var y=this.parseIdentifierIfPossible(),b=0;if("select"!==s&&"offset"===y.value){if(!this.bumpIf(":"))return this.error(u.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,z(this.clonePosition(),this.clonePosition()));var w;if(this.bumpSpace(),(w=this.tryParseDecimalInteger(u.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,u.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return w;this.bumpSpace(),y=this.parseIdentifierIfPossible(),b=w.val}var S,E=this.tryParsePluralOrSelectOptions(e,s,t,y);if(E.err)return E;if((S=this.tryParseArgumentClose(r)).err)return S;var P=z(r,this.clonePosition());return"select"===s?{val:{type:d.select,value:n,options:J(E.val),location:P},err:null}:{val:{type:d.plural,value:n,options:J(E.val),offset:b,pluralType:"plural"===s?"cardinal":"ordinal",location:P},err:null};default:return this.error(u.INVALID_ARGUMENT_TYPE,z(a,l))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,z(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(u.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,z(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,o=e.split(k).filter((function(e){return e.length>0}));n=48&&a<=57))break;r=!0,i=10*i+(a-48),this.bump()}var s=z(o,this.clonePosition());return r?q(i*=n)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Q(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Y(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ae(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function ie(e){return e>=97&&e<=122||e>=65&&e<=90}function ae(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function se(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function le(e){e.forEach((function(e){if(delete e.location,y(e)||b(e))for(var t in e.options)delete e.options[t].location,le(e.options[t].value);else m(e)&&E(e.style)||(g(e)||v(e))&&P(e.style)?delete e.style.location:S(e)&&le(e.children)}))}function ce(e,t){void 0===t&&(t={}),t=(0,o.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new re(e,t).parse();if(n.err){var r=SyntaxError(u[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||le(n.val),n.val}function ue(e,t){var n=t&&t.cache?t.cache:ye,o=t&&t.serializer?t.serializer:me;return(t&&t.strategy?t.strategy:he)(e,{cache:n,serializer:o})}function de(e,t,n,o){var r,i=null==(r=o)||"number"==typeof r||"boolean"==typeof r?o:n(o),a=t.get(i);return void 0===a&&(a=e.call(this,o),t.set(i,a)),a}function pe(e,t,n){var o=Array.prototype.slice.call(arguments,3),r=n(o),i=t.get(r);return void 0===i&&(i=e.apply(this,o),t.set(r,i)),i}function fe(e,t,n,o,r){return n.bind(t,e,o,r)}function he(e,t){return fe(e,this,1===e.length?de:pe,t.cache.create(),t.serializer)}var me=function(){return JSON.stringify(arguments)};function ge(){this.cache=Object.create(null)}ge.prototype.has=function(e){return e in this.cache},ge.prototype.get=function(e){return this.cache[e]},ge.prototype.set=function(e,t){this.cache[e]=t};var ve,ye={create:function(){return new ge}},be={variadic:function(e,t){return fe(e,this,pe,t.cache.create(),t.serializer)},monadic:function(e,t){return fe(e,this,de,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(ve||(ve={}));var we,Se=function(e){function t(t,n,o){var r=e.call(this,t)||this;return r.code=n,r.originalMessage=o,r}return(0,o.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},t}(Error),Ee=function(e){function t(t,n,o,r){return e.call(this,'Invalid values for "'+t+'": "'+n+'". Options are "'+Object.keys(o).join('", "')+'"',ve.INVALID_VALUE,r)||this}return(0,o.ZT)(t,e),t}(Se),Pe=function(e){function t(t,n,o){return e.call(this,'Value for "'+t+'" must be of type '+n,ve.INVALID_VALUE,o)||this}return(0,o.ZT)(t,e),t}(Se),xe=function(e){function t(t,n){return e.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+n+'"',ve.MISSING_VALUE,n)||this}return(0,o.ZT)(t,e),t}(Se);function De(e){return"function"==typeof e}function Ce(e,t,n,o,r,i,a){if(1===e.length&&f(e[0]))return[{type:we.literal,value:e[0].value}];for(var s=[],l=0,c=e;l needs to exist in the component ancestry.")}var gt=(0,o.pi)((0,o.pi)({},Be),{textComponent:r.Fragment});function vt(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),o=Object.keys(t),r=n.length;if(o.length!==r)return!1;for(var i=0;i=g?a-r:a,c=Math.abs(s-g);return g!==s&&(l=setTimeout((function(){return v(s)}),1e3*c)),e}),[g,i,n]);var y=t||0,b=n;if(jt(n)&&"number"==typeof g&&i){var w=Lt(b=Nt(g));y=Math.round(g/w)}return r.createElement(zt,(0,o.pi)({value:y,unit:b},a))};Kt.displayName="FormattedRelativeTime",Kt.defaultProps={value:0,unit:"second"};var Zt=function(e){var t=Dt(),n=t.formatPlural,o=t.textComponent,i=e.value,a=e.other,s=e.children,l=e[n(i,e)]||a;return"function"==typeof s?s(l):o?r.createElement(o,null,l):l};Zt.defaultProps={type:"cardinal"},Zt.displayName="FormattedPlural";function Ut(e,t){var n=e.values,r=(0,o._T)(e,["values"]),i=t.values,a=(0,o._T)(t,["values"]);return vt(i,n)&&vt(r,a)}function Vt(e){var t=Dt(),n=t.formatMessage,o=t.textComponent,i=void 0===o?r.Fragment:o,a=e.id,s=e.description,l=e.defaultMessage,c=e.values,u=e.children,d=e.tagName,p=void 0===d?i:d,f=n({id:a,description:s,defaultMessage:l},c,{ignoreTag:e.ignoreTag});return Array.isArray(f)||(f=[f]),"function"==typeof u?u(f):p?r.createElement(p,null,r.Children.toArray(f)):r.createElement(r.Fragment,null,f)}Vt.displayName="FormattedMessage";var Gt=r.memo(Vt,Ut);Gt.displayName="MemoizedFormattedMessage";const Wt=Gt;var qt=function(e){var t=Dt(),n=e.from,i=e.to,a=e.children,s=(0,o._T)(e,["from","to","children"]),l=t.formatDateTimeRange(n,i,s);if("function"==typeof a)return a(l);var c=t.textComponent||r.Fragment;return r.createElement(c,null,l)};qt.displayName="FormattedDateTimeRange";function Ht(e){return e}At("formatDate"),At("formatTime"),At("formatNumber"),At("formatList"),At("formatDisplayName"),kt("formatDate"),kt("formatTime")},71984:(e,t,n)=>{"use strict";n.d(t,{AO:()=>b,L7:()=>S,$u:()=>D,Qk:()=>C,d:()=>E,Sk:()=>P,AL:()=>O,oH:()=>k});var o=n(84121),r=n(50974),i=(n(77552),n(91117)),a=n.n(i),s=n(35349),l=n.n(s),c=n(26656),u=n.n(c);let d;d="object"==typeof process&&"object"==typeof process.versions&&void 0!==process.versions.node||"undefined"!=typeof window&&"Deno"in window||"undefined"!=typeof self&&"Deno"in self?u():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;(0,r.kG)(i),i.appendChild(o)})):(self.importScripts(e),Promise.resolve(self.PSPDFModuleInit))};const p="pspdfkit-lib/";l(),a();n(37015);var f=n(96617),h=(n(55024),n(91859),n(5038));n(26248);h.x.Maui_iOS,h.x.Maui_Android,h.x.Maui_MacCatalyst,h.x.Maui_Windows;var m=n(35369),g=n(78827),v=n.n(g);const y=()=>{};class b{constructor(){(0,o.Z)(this,"_worker",new(v())),(0,o.Z)(this,"_requests",(0,m.D5)()),(0,o.Z)(this,"_nextRequestId",1),(0,o.Z)(this,"_isLoading",!0),(0,o.Z)(this,"_loadPromise",null),(0,o.Z)(this,"_initPromise",null),(0,o.Z)(this,"_hasOpenedDocument",!1),(0,o.Z)(this,"_hasLoadedCertificates",!1),(0,o.Z)(this,"_handleMessage",(e=>{const t=e.data,n=this._requests.get(t.id);(0,r.kG)(n,`No request was made for id ${t.id}.`);const{resolve:o,reject:i}=n;if(this._requests=this._requests.delete(t.id),t.error){const e=new r.p2(t.error);e.callArgs=t.callArgs,i(e)}else o(t.result)})),this._worker.onmessage=this._handleMessage}loadNativeModule(e,t){let{mainThreadOrigin:n,disableWebAssemblyStreaming:o,enableAutomaticLinkExtraction:i,overrideMemoryLimit:a}=t;return(0,r.kG)(!this._hasOpenedDocument,"cannot invoke `loadNativeModule` while an instance is still in use. Please call `recycle` first."),this._loadPromise?this._loadPromise.then((()=>{})):(this._initPromise||(this._baseCoreUrl=e,this._mainThreadOrigin=n,this._initPromise=this._sendRequest("loadNativeModule",[e,{mainThreadOrigin:n,disableWebAssemblyStreaming:o,enableAutomaticLinkExtraction:i,overrideMemoryLimit:a}]).then((e=>e)).catch((e=>{throw this._isLoading=!1,this._worker.terminate(),e}))),this._initPromise)}load(e,t,n){let{mainThreadOrigin:o,customFonts:i,productId:a}=n;return(0,r.kG)(!this._hasOpenedDocument,"cannot invoke `load` while an instance is still in use. Please call `recycle` first."),this._loadPromise||(this._loadPromise=this._sendRequest("load",[e,t,{mainThreadOrigin:o,customFonts:i,productId:a}]).then((e=>(this._isLoading=!1,e))).catch((e=>{throw this._isLoading=!1,this._worker.terminate(),e}))),this._loadPromise}version(){return this._assertLoaded(),this._sendRequest("version")}openDocument(e,t,n){return this._assertLoaded(),this._hasOpenedDocument=!0,this._sendRequest("openDocument",[e,t,n]).catch((e=>{throw this._hasOpenedDocument=!1,e}))}async getMeasurementScales(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getMeasurementScales")}async removeMeasurementScale(e){return this._sendRequest("removeMeasurementScale",[e])}async addMeasurementScale(e){return await this._sendRequest("addMeasurementScale",[e])}async getAnnotationsByScale(e){return await this._sendRequest("getAnnotationsByScale",[e])}async openDocumentAt(){throw new Error("Should never be called")}async getAllPageInfos(e){return this._assertLoaded(),this._sendRequest("getAllPageInfos",[e])}async enablePDFJavaScriptSupport(){return this._assertLoaded(),this._sendRequest("enablePDFJavaScriptSupport")}async runPDFFormattingScripts(e,t){return this._assertLoaded(),this._sendRequest("runPDFFormattingScripts",[e,t])}async getAvailableFontFaces(e){return this._assertLoaded(),this._sendRequest("getAvailableFontFaces",[e])}getBookmarks(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getBookmarks")}getFormJSON(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getFormJSON")}evalFormValuesActions(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("evalFormValuesActions",[e])}evalScript(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("evalScript",[e,t])}setFormJSONUpdateBatchMode(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setFormJSONUpdateBatchMode",[e])}getFormValues(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getFormValues")}closeDocument(){return this._assertLoaded(),this._hasOpenedDocument=!1,this._sendRequest("closeDocument")}renderTile(e,t,n,o,r,i,a,s){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("renderTile",[e,t,n,o,r,i,a,s])}renderAnnotation(e,t,n,o,r,i){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("renderAnnotation",[e,t,n,o,r,i])}renderPageAnnotations(e,t,n,o,r){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("renderPageAnnotations",[e,t,n,o,r])}renderDetachedAnnotation(e,t,n,o,r){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("renderDetachedAnnotation",[e,t,n,o,r])}onKeystrokeEvent(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("onKeystrokeEvent",[e])}getAttachment(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getAttachment",[e])}textForPageIndex(e){this._assertLoaded(),this._assertDocumentOpen();return this._sendRequest("textForPageIndex",[e])}textContentTreeForPageIndex(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("textContentTreeForPageIndex",[e])}annotationsForPageIndex(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("annotationsForPageIndex",[e])}createAnnotation(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("createAnnotation",[e,t])}updateAnnotation(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("updateAnnotation",[e])}deleteAnnotation(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("deleteAnnotation",[e])}createFormField(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("createFormField",[e,t])}updateFormField(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("updateFormField",[e,t])}deleteFormField(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("deleteFormField",[e])}setFormFieldValue(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setFormFieldValue",[e])}deleteFormFieldValue(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("deleteFormFieldValue",[e])}createBookmark(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("createBookmark",[e])}updateBookmark(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("updateBookmark",[e])}deleteBookmark(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("deleteBookmark",[e])}getTextFromRects(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getTextFromRects",[e,t])}search(e,t,n,o){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:f.S.TEXT;return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("search",[e,t,n,o,r])}getSecondaryMeasurementUnit(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getSecondaryMeasurementUnit",[])}setSecondaryMeasurementUnit(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("setSecondaryMeasurementUnit",[e])}getMeasurementSnappingPoints(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getMeasurementSnappingPoints",[e])}parseXFDF(e){return this._sendRequest("parseXFDF",[e])}getEmbeddedFilesList(){return this._sendRequest("getEmbeddedFilesList")}exportFile(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"pdf",r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0;return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("exportFile",[e,t,n,o,r,i,a])}importXFDF(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("importXFDF",[e,t])}exportXFDF(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("exportXFDF",[])}importInstantJSON(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("importInstantJSON",[e])}exportInstantJSON(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("exportInstantJSON",[e])}getDocumentOutline(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getDocumentOutline")}getPageGlyphs(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getPageGlyphs",[e])}applyOperations(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("applyOperations",[e,t])}reloadDocument(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("reloadDocument")}exportPDFWithOperations(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("exportPDFWithOperations",[e,t])}loadCertificates(e){return this._assertLoaded(),this._assertDocumentOpen(),this._hasLoadedCertificates=Boolean(e.length),this._sendRequest("loadCertificates",[e]).catch((e=>{throw this._hasLoadedCertificates=!1,e}))}getSignaturesInfo(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getSignaturesInfo",[])}getComments(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("getComments",[])}applyComments(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("applyComments",[e])}prepareSign(e,t,n,o,r,i,a){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("prepareSign",[e,t,n,o,r,i,a])}sign(e,t,n,o,r,i){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("sign",[e,t,n,o,r,i])}restoreToOriginalState(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("restoreToOriginalState")}applyRedactions(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("applyRedactions",[])}readFormJSONObjects(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("readFormJSONObjects")}clearAPStreamCache(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("clearAPStreamCache")}setComparisonDocument(e,t){return this._assertLoaded(),t||this._assertDocumentOpen(),this._sendRequest("setComparisonDocument",[e,t])}openComparisonDocument(e){return this._assertLoaded(),this._hasOpenedDocument=!0,this._sendRequest("openComparisonDocument",[e]).catch((e=>{throw this._hasOpenedDocument=!1,e}))}documentCompareAndOpen(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("documentCompareAndOpen",[e])}persistOpenDocument(e){return this._assertLoaded(),e||this._assertDocumentOpen(),this._sendRequest("persistOpenDocument",[e])}cleanupDocumentComparison(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("cleanupDocumentComparison")}contentEditorEnter(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorEnter",[])}contentEditorExit(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorExit",[])}contentEditorGetTextBlocks(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorGetTextBlocks",[e])}contentEditorDetectParagraphs(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorDetectParagraphs",[e])}contentEditorRenderTextBlock(e,t,n){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorRenderTextBlock",[e,t,n])}contentEditorSetTextBlockCursor(e,t,n,o){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorSetTextBlockCursor",[e,t,n,o])}contentEditorMoveTextBlockCursor(e,t,n,o){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorMoveTextBlockCursor",[e,t,n,o])}contentEditorInsertTextBlockString(e,t,n,o){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorInsertTextBlockString",[e,t,n,o])}contentEditorInsertTextBlockContentRef(e,t,n,o){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorInsertTextBlockContentRef",[e,t,n,o])}contentEditorCreateTextBlock(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorCreateTextBlock",[e])}contentEditorLayoutTextBlock(e,t,n,o){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorLayoutTextBlock",[e,t,n,o])}contentEditorDeleteTextBlockRange(e,t,n){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorDeleteTextBlockRange",[e,t,n])}contentEditorDeleteTextBlockString(e,t,n){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorDeleteTextBlockString",[e,t,n])}contentEditorSetTextBlockSelection(e,t,n){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorSetTextBlockSelection",[e,t,n])}contentEditorSetTextBlockSelectionRange(e,t,n,o,r){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorSetTextBlockSelectionRange",[e,t,n,o,r])}contentEditorTextBlockUndo(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorTextBlockUndo",[e,t])}contentEditorTextBlockRedo(e,t){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorTextBlockRedo",[e,t])}contentEditorTextBlockRestore(e,t,n){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorTextBlockRestore",[e,t,n])}contentEditorTextBlockApplyFormat(e,t,n,o){return this._sendRequest("contentEditorTextBlockApplyFormat",[e,t,n,o])}contentEditorGetAvailableFaces(){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorGetAvailableFaces",[])}contentEditorSave(e){return this._assertLoaded(),this._assertDocumentOpen(),this._sendRequest("contentEditorSave",[e])}recycle(){this._hasLoadedCertificates&&this.loadCertificates([]),this._hasOpenedDocument&&this.closeDocument(),this._isLoading||(this._requests=this._requests.map((()=>({resolve:y,reject:y}))))}destroy(){this._loadPromise=null,this._worker.terminate()}_assertLoaded(){if(this._isLoading)throw new r.p2("CoreClient not yet initialized")}_assertDocumentOpen(){if(!this._hasOpenedDocument)throw new r.p2("This method can not be called since there is no open document. Have you run PSPDFKit.unload()?")}_sendRequest(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return new Promise(((n,o)=>{const r=this._assignId(),i=[...t].filter((e=>e instanceof ArrayBuffer));this._worker.postMessage({id:r,action:e,args:t},i),this._requests=this._requests.set(r,{resolve:n,reject:o})}))}_assignId(){const e=this._nextRequestId;return this._nextRequestId=this._nextRequestId+1,e}}n(17375),n(97528);var w=n(56664);(0,w.Z)();class S{constructor(e){(0,o.Z)(this,"size",1),(0,o.Z)(this,"_freeObjects",[]),this._constructor=e}checkOut(){let e;return e=this._freeObjects.length>0?this._freeObjects.shift():new this._constructor,{object:e,checkIn:()=>{this._freeObjects.length>=this.size?e.destroy():(e.recycle(),this._freeObjects.push(e))}}}}function E(){return"object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron/")>=0}function P(){const e=A()[atob("cmVxdWlyZQ==")];return E()&&"undefined"!=typeof window&&window&&window.process&&window.process.type&&"function"==typeof e}function x(){let e;try{e=k("@electron/remote")}catch(t){if("MODULE_NOT_FOUND"!==t.code)throw t;try{e=k("electron").remote}catch(e){(0,r.vU)(`Failed to load the remote module package. PSPDFKit for Web needs access to it in order to work in Electron.\n Please read our Electron guides to help you set it up: https://pspdfkit.com/getting-started/electron/\n ${t.message}\n ${e.message}`)}}return e}function D(){if(!E())return null;if(!P())return null;try{const e=k("fs"),t=x().app.getAppPath()+"/package.json";return JSON.parse(e.readFileSync(t).toString()).name}catch(e){throw new Error(`There was an error parsing this project's \`package.json\`: ${e.message}`)}}function C(){if(!E())return null;try{return`file://${x().app.getAppPath()}/node_modules/pspdfkit/dist/`}catch(e){return null}}function k(e){return(0,A()[atob("cmVxdWlyZQ==")])(e)}function A(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:n.g}function O(e,t){return"string"==typeof e&&(null==t?void 0:t.startsWith("Maui_"))}},46797:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(84121);class r{constructor(e){(0,o.Z)(this,"_subscriptions",new Set),this._state=e}getState(){return this._state}setState(e){this._state="function"==typeof e?e(this._state):e;for(const e of this._subscriptions)e(this._state)}subscribe(e){return this._subscriptions.add(e),()=>this.unsubscribe(e)}unsubscribe(e){this._subscriptions.delete(e)}}},75920:(e,t,n)=>{"use strict";n.d(t,{XV:()=>r,ZK:()=>a,a1:()=>o,cM:()=>i,um:()=>l,vU:()=>s});n(56664);function o(e){a(e)}function r(e,t,n){if(n)return o(`The API ${e} has been deprecated and will be removed in the next major release. Please use ${t} instead. Please go to https://pspdfkit.com/api/web/ for more informations`);o(`The function ${e} was deprecated and will be removed in future version. Please use ${t} instead.`)}function i(e){console.log(e)}function a(e){console.warn(e)}function s(e){console.error(e)}function l(){console.info(...arguments)}},87350:(e,t,n)=>{"use strict";n.d(t,{GO:()=>r,cO:()=>o});const o=["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 r(e){return Array.prototype.filter.call(e.querySelectorAll(o),(e=>!(e.inert||e.hasAttribute("inert")||"-1"===e.getAttribute("tabindex")||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))))}},50974:(e,t,n)=>{"use strict";n.d(t,{p2:()=>r,Rz:()=>s,GB:()=>p,Qo:()=>b,$O:()=>d,FE:()=>m,Tr:()=>i,XV:()=>h.XV,a1:()=>h.a1,vU:()=>h.vU,um:()=>h.um,kG:()=>a,PO:()=>l,AK:()=>c,cM:()=>h.cM,lH:()=>w,wp:()=>f,ZK:()=>h.ZK});const o=function e(t){let n;return n=t instanceof Error?t:new Error(t),Object.setPrototypeOf(n,e.prototype),n};o.prototype=Object.create(Error.prototype,{name:{value:"PSPDFKitError",enumerable:!1}});const r=o;function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t=>new o(""===e?t:`${e}: ${t}`)}function a(e,t){if(!e)throw new r(`Assertion failed: ${t||"Condition not met"}\n\nFor further assistance, please go to: https://pspdfkit.com/support/request`)}const s=e=>{throw new Error("")};function l(e){return"[object Object]"===Object.prototype.toString.call(e)}function c(e){const t=new MessageChannel;try{t.port1.postMessage(e)}catch(e){return!1}return!0}const u={keys:[]};function d(e,t){var n;let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u;if(o={keys:null!=(null===(n=o)||void 0===n?void 0:n.keys)?o.keys:u.keys},Object.is(e,t))return[];let r=o.keys||[];if(0===r.length){r=[...new Set(Object.keys(e).concat(Object.keys(t)))]}const i=r.filter((n=>e[n]!==t[n]));return i.map((n=>({key:n,previous:e[n],current:t[n]})))}function p(e){return e.map((e=>{let{key:t,previous:n,current:o}=e;return`- ${t} was previously ${n}, but is now ${o}`})).join("\n")}function f(e){alert(e)}var h=n(75920);n(59271),n(87350),n(30667),n(46797);function m(){for(var e=arguments.length,t=new Array(e),n=0;nv(e,t)),t[0]);return o||null}const g=new WeakMap;function v(e,t){if(e&&t){const n=g.get(e)||new WeakMap;g.set(e,n);const o=n.get(t)||(n=>{y(e,n),y(t,n)});return n.set(t,o),o}return e||t}function y(e,t){"function"==typeof e?e(t):e.current=t}function b(e,t){if(t.caretRangeFromPoint)return t.caretRangeFromPoint(e.x,e.y);if("caretPositionFromPoint"in t&&"function"==typeof t.caretPositionFromPoint){const n=t.caretPositionFromPoint(e.x,e.y),o=t.createRange();return o.setStart(n.offsetNode,n.offset),o.setEnd(n.offsetNode,n.offset),o}}function w(e){return null!=e}},59271:(e,t,n)=>{"use strict";function o(e){return"true"===e.contentEditable||"INPUT"===e.tagName||"TEXTAREA"===e.tagName}n.d(t,{c:()=>o})},30667:(e,t,n)=>{"use strict";n.d(t,{AV:()=>v,Cp:()=>o,E$:()=>l,MS:()=>p,OC:()=>w,P9:()=>f,b8:()=>i,bs:()=>b,cS:()=>g,d2:()=>y,gs:()=>m,gx:()=>s,iT:()=>a,j4:()=>r,rw:()=>h,tW:()=>u,wG:()=>d,zz:()=>c});const o=48,r=70,i=71,a=80,s=90,l=13,c=27,u=32,d=34,p=33,f=37,h=38,m=39,g=40,v=187,y=189,b=8,w=9},25915:(e,t,n)=>{"use strict";n.d(t,{HJ:()=>$t,zx:()=>p,hE:()=>f,qe:()=>ht,M5:()=>vt,bK:()=>zn,FE:()=>Kt,ub:()=>mr,N9:()=>hr,nB:()=>gr,D:()=>er,Hp:()=>lr,F0:()=>Gt,w6:()=>Vt,z:()=>kn,QO:()=>gn,u_:()=>dn,Ex:()=>bn,Ee:()=>Nn,xv:()=>Cn,oi:()=>Fn,TX:()=>nn,ri:()=>o});var o={};n.r(o),n.d(o,{applyStyle:()=>qo,cssStringToObject:()=>xo,deserialize:()=>Eo,escapeHtml:()=>bo,getComputedStyleAll:()=>Zo,getInnerHTML:()=>Io,getLastNCharacters:()=>_o,getSelectedNodesColor:()=>Uo,getStyleString:()=>Do,getText:()=>Ao,getWrapperTags:()=>To,isAtStartOfWordOrText:()=>Ro,isMarkActive:()=>Co,isRangeSelected:()=>Mo,isSelectionUnderlined:()=>Ho,parseHTML:()=>Oo,prepareHTML:()=>Fo,serialize:()=>Po,setStyleOrToggleFormat:()=>jo,toHex:()=>zo,toggleMark:()=>ko,unwrapNode:()=>Wo,wrapNode:()=>Go});var r=n(22122),i=n(17375),a=n(67294),s=n(9327),l=n.n(s),c=n(38996),u=n.n(c);const d=["className","disabled","inverted","primary","danger","type"],p=e=>{const{className:t,disabled:n,inverted:o,primary:s,danger:c,type:p}=e,f=(0,i.Z)(e,d),h=l()({[u().general]:!0,[u().default]:!s,[u().primary]:s,[u().danger]:c,[u().disabled]:n,[u().inverted]:!n&&o},t);return a.createElement("button",(0,r.Z)({},f,{className:h,disabled:n,type:p||"button"}))},f=e=>{const{className:t,children:n,align:o,style:r}=e;let i=null;return a.createElement("div",{className:l()(u().group,"start"===o&&u().groupAlignStart,"end"===o&&u().groupAlignEnd,t),style:r},a.Children.map(n,(e=>e?i?(i=e,a.createElement(a.Fragment,null,a.createElement("div",{className:u().groupSpacer}),e)):(i=e,e):null)))};function h(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function m(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function g(e){m(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function v(e,t){m(2,arguments);var n=g(e).getTime(),o=h(t);return new Date(n+o)}function y(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}Math.pow(10,8);function b(e){m(1,arguments);var t=g(e);return!isNaN(t)}var w={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function S(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,o=e.formats[n]||e.formats[e.defaultWidth];return o}}var E={date:S({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:S({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:S({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var P={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function x(e){return function(t,n){var o,r=n||{};if("formatting"===(r.context?String(r.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=r.width?String(r.width):i;o=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=r.width?String(r.width):e.defaultWidth;o=e.values[l]||e.values[s]}return o[e.argumentCallback?e.argumentCallback(t):t]}}function D(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;var a,s=i[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?k(l,(function(e){return e.test(s)})):C(l,(function(e){return e.test(s)}));a=e.valueCallback?e.valueCallback(c):c,a=n.valueCallback?n.valueCallback(a):a;var u=t.slice(s.length);return{value:a,rest:u}}}function C(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function k(e,t){for(var n=0;n0?"in "+o:o+" ago":o},formatLong:E,formatRelative:function(e,t,n,o){return P[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:x({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:x({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:x({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:x({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:x({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(A={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(A.matchPattern);if(!n)return null;var o=n[0],r=e.match(A.parsePattern);if(!r)return null;var i=A.valueCallback?A.valueCallback(r[0]):r[0];i=t.valueCallback?t.valueCallback(i):i;var a=e.slice(o.length);return{value:i,rest:a}}),era:D({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:D({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:D({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:D({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:D({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function T(e,t){m(2,arguments);var n=h(t);return v(e,-n)}function I(e,t){for(var n=e<0?"-":"",o=Math.abs(e).toString();o.length0?n:1-n;return I("yy"===t?o%100:o,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):I(n+1,2)},d:function(e,t){return I(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return I(e.getUTCHours()%12||12,t.length)},H:function(e,t){return I(e.getUTCHours(),t.length)},m:function(e,t){return I(e.getUTCMinutes(),t.length)},s:function(e,t){return I(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,o=e.getUTCMilliseconds();return I(Math.floor(o*Math.pow(10,n-3)),t.length)}};const M=F;var _=864e5;function R(e){m(1,arguments);var t=1,n=g(e),o=n.getUTCDay(),r=(o=r.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function L(e){m(1,arguments);var t=N(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var o=R(n);return o}var B=6048e5;function j(e){m(1,arguments);var t=g(e),n=R(t).getTime()-L(t).getTime();return Math.round(n/B)+1}function z(e,t){m(1,arguments);var n=t||{},o=n.locale,r=o&&o.options&&o.options.weekStartsOn,i=null==r?0:h(r),a=null==n.weekStartsOn?i:h(n.weekStartsOn);if(!(a>=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=g(e),l=s.getUTCDay(),c=(l=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=new Date(0);c.setUTCFullYear(o+1,0,l),c.setUTCHours(0,0,0,0);var u=z(c,t),d=new Date(0);d.setUTCFullYear(o,0,l),d.setUTCHours(0,0,0,0);var p=z(d,t);return n.getTime()>=u.getTime()?o+1:n.getTime()>=p.getTime()?o:o-1}function Z(e,t){m(1,arguments);var n=t||{},o=n.locale,r=o&&o.options&&o.options.firstWeekContainsDate,i=null==r?1:h(r),a=null==n.firstWeekContainsDate?i:h(n.firstWeekContainsDate),s=K(e,t),l=new Date(0);l.setUTCFullYear(s,0,a),l.setUTCHours(0,0,0,0);var c=z(l,t);return c}var U=6048e5;function V(e,t){m(1,arguments);var n=g(e),o=z(n,t).getTime()-Z(n,t).getTime();return Math.round(o/U)+1}var G="midnight",W="noon",q="morning",H="afternoon",$="evening",Y="night",X={G:function(e,t,n){var o=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});default:return n.era(o,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var o=e.getUTCFullYear(),r=o>0?o:1-o;return n.ordinalNumber(r,{unit:"year"})}return M.y(e,t)},Y:function(e,t,n,o){var r=K(e,o),i=r>0?r:1-r;return"YY"===t?I(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):I(i,t.length)},R:function(e,t){return I(N(e),t.length)},u:function(e,t){return I(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return I(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,n){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return I(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,n){var o=e.getUTCMonth();switch(t){case"M":case"MM":return M.M(e,t);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,n){var o=e.getUTCMonth();switch(t){case"L":return String(o+1);case"LL":return I(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,n,o){var r=V(e,o);return"wo"===t?n.ordinalNumber(r,{unit:"week"}):I(r,t.length)},I:function(e,t,n){var o=j(e);return"Io"===t?n.ordinalNumber(o,{unit:"week"}):I(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):M.d(e,t)},D:function(e,t,n){var o=function(e){m(1,arguments);var t=g(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var o=t.getTime(),r=n-o;return Math.floor(r/_)+1}(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):I(o,t.length)},E:function(e,t,n){var o=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){var r=e.getUTCDay(),i=(r-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return I(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){var r=e.getUTCDay(),i=(r-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return I(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){var o=e.getUTCDay(),r=0===o?7:o;switch(t){case"i":return String(r);case"ii":return I(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,n){var o=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){var o,r=e.getUTCHours();switch(o=12===r?W:0===r?G:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){var o,r=e.getUTCHours();switch(o=r>=17?$:r>=12?H:r>=4?q:Y,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var o=e.getUTCHours()%12;return 0===o&&(o=12),n.ordinalNumber(o,{unit:"hour"})}return M.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):M.H(e,t)},K:function(e,t,n){var o=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(o,{unit:"hour"}):I(o,t.length)},k:function(e,t,n){var o=e.getUTCHours();return 0===o&&(o=24),"ko"===t?n.ordinalNumber(o,{unit:"hour"}):I(o,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):M.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):M.s(e,t)},S:function(e,t){return M.S(e,t)},X:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return Q(r);case"XXXX":case"XX":return ee(r);default:return ee(r,":")}},x:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();switch(t){case"x":return Q(r);case"xxxx":case"xx":return ee(r);default:return ee(r,":")}},O:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+J(r,":");default:return"GMT"+ee(r,":")}},z:function(e,t,n,o){var r=(o._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+J(r,":");default:return"GMT"+ee(r,":")}},t:function(e,t,n,o){var r=o._originalDate||e;return I(Math.floor(r.getTime()/1e3),t.length)},T:function(e,t,n,o){return I((o._originalDate||e).getTime(),t.length)}};function J(e,t){var n=e>0?"-":"+",o=Math.abs(e),r=Math.floor(o/60),i=o%60;if(0===i)return n+String(r);var a=t||"";return n+String(r)+a+I(i,2)}function Q(e,t){return e%60==0?(e>0?"-":"+")+I(Math.abs(e)/60,2):ee(e,t)}function ee(e,t){var n=t||"",o=e>0?"-":"+",r=Math.abs(e);return o+I(Math.floor(r/60),2)+n+I(r%60,2)}const te=X;function ne(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function oe(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}var re={p:oe,P:function(e,t){var n,o=e.match(/(P+)(p+)?/),r=o[1],i=o[2];if(!i)return ne(e,t);switch(r){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",ne(r,t)).replace("{{time}}",oe(i,t))}};const ie=re;var ae=["D","DD"],se=["YY","YYYY"];function le(e){return-1!==ae.indexOf(e)}function ce(e){return-1!==se.indexOf(e)}function ue(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://git.io/fxCyr"))}var de=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,pe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,fe=/^'([^]*?)'?$/,he=/''/g,me=/[a-zA-Z]/;function ge(e,t,n){m(2,arguments);var o=String(t),r=n||{},i=r.locale||O,a=i.options&&i.options.firstWeekContainsDate,s=null==a?1:h(a),l=null==r.firstWeekContainsDate?s:h(r.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=i.options&&i.options.weekStartsOn,u=null==c?0:h(c),d=null==r.weekStartsOn?u:h(r.weekStartsOn);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!i.localize)throw new RangeError("locale must contain localize property");if(!i.formatLong)throw new RangeError("locale must contain formatLong property");var p=g(e);if(!b(p))throw new RangeError("Invalid time value");var f=y(p),v=T(p,f),w={firstWeekContainsDate:l,weekStartsOn:d,locale:i,_originalDate:p},S=o.match(pe).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,ie[t])(e,i.formatLong,w):e})).join("").match(de).map((function(n){if("''"===n)return"'";var o=n[0];if("'"===o)return ve(n);var a=te[o];if(a)return!r.useAdditionalWeekYearTokens&&ce(n)&&ue(n,t,e),!r.useAdditionalDayOfYearTokens&&le(n)&&ue(n,t,e),a(v,n,i.localize,w);if(o.match(me))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return n})).join("");return S}function ve(e){return e.match(fe)[1].replace(he,"'")}function ye(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t=t||{})Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function be(e,t,n){m(2,arguments);var o=n||{},r=o.locale,i=r&&r.options&&r.options.weekStartsOn,a=null==i?0:h(i),s=null==o.weekStartsOn?a:h(o.weekStartsOn);if(!(s>=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=g(e),c=h(t),u=l.getUTCDay(),d=c%7,p=(d+7)%7,f=(p0,r=o?t:1-t;if(r<=50)n=e||100;else{var i=r+50;n=e+100*Math.floor(i/100)-(e>=i%100?100:0)}return o?n:1-n}var Xe=[31,28,31,30,31,30,31,31,30,31,30,31],Je=[31,29,31,30,31,30,31,31,30,31,30,31];function Qe(e){return e%400==0||e%4==0&&e%100!=0}var et={G:{priority:140,parse:function(e,t,n,o){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}},set:function(e,t,n,o){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,n,o){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return qe(4,e,r);case"yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return qe(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,o){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var i=Ye(n.year,r);return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,n,o){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return qe(4,e,r);case"Yo":return n.ordinalNumber(e,{unit:"year",valueCallback:r});default:return qe(t.length,e,r)}},validate:function(e,t,n){return t.isTwoDigitYear||t.year>0},set:function(e,t,n,o){var r=K(e,o);if(n.isTwoDigitYear){var i=Ye(n.year,r);return e.setUTCFullYear(i,0,o.firstWeekContainsDate),e.setUTCHours(0,0,0,0),z(e,o)}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,o.firstWeekContainsDate),e.setUTCHours(0,0,0,0),z(e,o)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,n,o){return He("R"===t?4:t.length,e)},set:function(e,t,n,o){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),R(r)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,n,o){return He("u"===t?4:t.length,e)},set:function(e,t,n,o){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,n,o){switch(t){case"Q":case"QQ":return qe(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,o){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,n,o){switch(t){case"q":case"qq":return qe(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=1&&t<=4},set:function(e,t,n,o){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,n,o){var r=function(e){return e-1};switch(t){case"M":return Ve(we,e,r);case"MM":return qe(2,e,r);case"Mo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,o){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,n,o){var r=function(e){return e-1};switch(t){case"L":return Ve(we,e,r);case"LL":return qe(2,e,r);case"Lo":return n.ordinalNumber(e,{unit:"month",valueCallback:r});case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,o){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,n,o){switch(t){case"w":return Ve(Pe,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return qe(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,o){return z(function(e,t,n){m(2,arguments);var o=g(e),r=h(t),i=V(o,n)-r;return o.setUTCDate(o.getUTCDate()-7*i),o}(e,n,o),o)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,n,o){switch(t){case"I":return Ve(Pe,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return qe(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=53},set:function(e,t,n,o){return R(function(e,t){m(2,arguments);var n=g(e),o=h(t),r=j(n)-o;return n.setUTCDate(n.getUTCDate()-7*r),n}(e,n,o),o)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,n,o){switch(t){case"d":return Ve(Se,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return qe(t.length,e)}},validate:function(e,t,n){var o=Qe(e.getUTCFullYear()),r=e.getUTCMonth();return o?t>=1&&t<=Je[r]:t>=1&&t<=Xe[r]},set:function(e,t,n,o){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,n,o){switch(t){case"D":case"DD":return Ve(Ee,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return qe(t.length,e)}},validate:function(e,t,n){return Qe(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,n,o){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,n,o){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,o){return(e=be(e,n,o)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,n,o){var r=function(e){var t=7*Math.floor((e-1)/7);return(e+o.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return qe(t.length,e,r);case"eo":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,o){return(e=be(e,n,o)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,n,o){var r=function(e){var t=7*Math.floor((e-1)/7);return(e+o.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return qe(t.length,e,r);case"co":return n.ordinalNumber(e,{unit:"day",valueCallback:r});case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,n){return t>=0&&t<=6},set:function(e,t,n,o){return(e=be(e,n,o)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,n,o){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return qe(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiii":return n.day(e,{width:"narrow",context:"formatting",valueCallback:r});case"iiiiii":return n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r});default:return n.day(e,{width:"wide",context:"formatting",valueCallback:r})||n.day(e,{width:"abbreviated",context:"formatting",valueCallback:r})||n.day(e,{width:"short",context:"formatting",valueCallback:r})||n.day(e,{width:"narrow",context:"formatting",valueCallback:r})}},validate:function(e,t,n){return t>=1&&t<=7},set:function(e,t,n,o){return e=function(e,t){m(2,arguments);var n=h(t);n%7==0&&(n-=7);var o=1,r=g(e),i=r.getUTCDay(),a=((n%7+7)%7=1&&t<=12},set:function(e,t,n,o){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,n,o){switch(t){case"H":return Ve(xe,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return qe(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=23},set:function(e,t,n,o){return e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,n,o){switch(t){case"K":return Ve(Ce,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return qe(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=11},set:function(e,t,n,o){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(e,t,n,o){switch(t){case"k":return Ve(De,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return qe(t.length,e)}},validate:function(e,t,n){return t>=1&&t<=24},set:function(e,t,n,o){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,n,o){switch(t){case"m":return Ve(Ae,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return qe(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,o){return e.setUTCMinutes(n,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,n,o){switch(t){case"s":return Ve(Oe,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return qe(t.length,e)}},validate:function(e,t,n){return t>=0&&t<=59},set:function(e,t,n,o){return e.setUTCSeconds(n,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,n,o){return qe(t.length,e,(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))},set:function(e,t,n,o){return e.setUTCMilliseconds(n),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,n,o){switch(t){case"X":return Ge(je,e);case"XX":return Ge(ze,e);case"XXXX":return Ge(Ke,e);case"XXXXX":return Ge(Ue,e);default:return Ge(Ze,e)}},set:function(e,t,n,o){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,n,o){switch(t){case"x":return Ge(je,e);case"xx":return Ge(ze,e);case"xxxx":return Ge(Ke,e);case"xxxxx":return Ge(Ue,e);default:return Ge(Ze,e)}},set:function(e,t,n,o){return t.timestampIsSet?e:new Date(e.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,n,o){return We(e)},set:function(e,t,n,o){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,n,o){return We(e)},set:function(e,t,n,o){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}};const tt=et;var nt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ot=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rt=/^'([^]*?)'?$/,it=/''/g,at=/\S/,st=/[a-zA-Z]/;function lt(e,t,n,o){m(3,arguments);var r=String(e),i=String(t),a=o||{},s=a.locale||O;if(!s.match)throw new RangeError("locale must contain match property");var l=s.options&&s.options.firstWeekContainsDate,c=null==l?1:h(l),u=null==a.firstWeekContainsDate?c:h(a.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=s.options&&s.options.weekStartsOn,p=null==d?0:h(d),f=null==a.weekStartsOn?p:h(a.weekStartsOn);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===i)return""===r?g(n):new Date(NaN);var v,b={firstWeekContainsDate:u,weekStartsOn:f,locale:s},w=[{priority:10,subPriority:-1,set:ct,index:0}],S=i.match(ot).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,ie[t])(e,s.formatLong,b):e})).join("").match(nt),E=[];for(v=0;v0&&at.test(r))return new Date(NaN);var M=w.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return w.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),_=g(n);if(isNaN(_))return new Date(NaN);var R=T(_,y(_)),N={};for(v=0;v{const n=a.useRef(null),o=a.useRef(null),[r,i]=a.useState(!1);a.useImperativeHandle(t,(()=>n.current));const s=e.format.split("").map((e=>{switch(e){case"m":return"M";case"M":return"m"}return e})).join(""),c=ft.i7||ft.TL||"date"===e.type,u=t=>{const r=n.current,a=o.current;if(!r)return;const s=r.ownerDocument.activeElement;s!==r&&s!==a&&(e.onBlur&&e.onBlur(t),i(!1))},d=t=>{!r&&e.onFocus&&(e.onFocus(t),i(!0)),i(!0)},p=()=>{switch(e.type){case"date":return"yyyy-MM-dd";case"time":return"HH:mm";case"datetime-local":return"yyyy-MM-dd'T'HH:mm"}};return a.createElement("div",{className:pt().wrapper},a.createElement("input",{"data-testid":"input",ref:n,name:e.name,value:e.value,style:e.style,className:l()(pt().input,e.className,"PSPDFKit-Annotation-Widget-Date-Input"),type:"text",disabled:e.disabled,maxLength:e.maxLength,placeholder:e.format,required:e.required,onChange:t=>{const r=n.current,i=o.current;if(r){const n=lt(r.value,s,new Date);!0===b(n)&&i&&(i.value=ge(n,p())),e.onChange&&e.onChange(t)}},onBlur:u,onFocus:d}),c?a.createElement("div",{style:{opacity:r?1:0},className:pt().pickerWidget},a.createElement("input",{"data-testid":"picker",ref:o,className:pt().picker,type:e.type,onChange:t=>{const r=n.current,i=o.current;if(r&&i){var a;const n=lt(i.value,p(),new Date);b(n)&&i&&(r.value=ge(n,s)),null===(a=e.onChange)||void 0===a||a.call(e,t)}},onBlur:u,onFocus:d})):null)}));ht.defaultProps={};var mt=n(81585),gt=n.n(mt);function vt(e){let{children:t,className:n}=e;return a.createElement("div",{className:l()(gt().center,n)},t)}var yt=n(84121),bt=n(79153),wt=n(71634),St=n(35369),Et=n(12459),Pt=n.n(Et);const xt=e=>{const{onDragOver:t}=e,[,n]=(0,bt.c0)({type:Dt,item:()=>(e.onDragStart&&e.onDragStart(e.index),{id:e.index,type:Dt}),canDrag:()=>e.draggable||!1,end:()=>{e.onDragEnd&&e.onDragEnd()}}),[,o]=(0,bt.LW)({accept:Dt,hover:(n,o)=>{t&&t(e.index,o.getClientOffset())}});return a.createElement("div",{"data-id":e.index,ref:o},a.createElement("div",{ref:n,className:Pt().item},a.createElement("div",{className:Pt().content},e.children)))},Dt="ITEM",Ct=e=>{const{renderItem:t}=e,{item:n,isDragging:o,currentOffset:r}=(0,bt.f$)((e=>({item:e.getItem(),currentOffset:e.getSourceClientOffset(),isDragging:e.isDragging()}))),i=a.useMemo((()=>o?a.createElement(xt,{index:n.id},t(n.id)):null),[o,n,t]);if(!o||!r)return null;const{x:s,y:l}=r;return a.createElement("div",{className:Pt().dragPreview},a.createElement("div",{style:{transform:`translate(${s}px, ${l}px)`}},i))};var kt=n(34855);function At(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ot(e){for(var t=1;t{const{scrollY:t=0,onViewportChange:n,initialForcedScrollY:o}=e,[r,i]=a.useState(null),[s,l]=a.useState({height:0,width:0,scrollY:0}),c=a.useRef(null),u=a.useRef(null),d=a.useRef(0);a.useLayoutEffect((()=>{r&&(r.scrollTop=t)}),[r,t]),a.useLayoutEffect((()=>{r&&"number"==typeof o&&(r.scrollTop=o)}),[r,o]);const{currentOffset:p,isDragging:f}=(0,bt.f$)((e=>({isDragging:e.isDragging(),currentOffset:e.getClientOffset()}))),h=a.useCallback((()=>{const{clientWidth:e=0,clientHeight:t=0}=r||{},n=e||0,o=t||0;n===s.width&&o===s.height||l(Ot(Ot({},s),{},{width:n||0,height:o||0}))}),[r,s]),m=a.useCallback((e=>{const t=e.currentTarget.scrollTop,n=Ot(Ot({},s),{},{scrollY:t});s.scrollY!==t&&l(n)}),[s]);a.useLayoutEffect((()=>{n(s)}),[n,s]),a.useEffect((()=>{c.current=null==r?void 0:r.getBoundingClientRect(),h()}),[r,h]);const g=a.useCallback((()=>{clearInterval(u.current),u.current=null}),[]),v=a.useCallback((e=>{g(),r&&d.current!==e&&(g(),u.current=setInterval((()=>{r.scrollBy(0,e)}),Rt),d.current=e)}),[r,g]);a.useEffect((()=>{if(!c.current||!p)return void g();const{height:e}=c.current,t=p.ye-It,o=p.y,r=e-p.y,i=Ft+(It-(t?o:r))/It*(Mt-Ft);!u.current||t||n?t?v(-_t*i):n&&v(_t*i):g()}),[p,v,g]);const y={position:"relative",width:"100%",height:"100%",overflowX:"hidden",overflowY:f&&(0,ft.b1)()?"hidden":"scroll"},b=a.useRef(null);return a.useEffect((()=>{var e;b.current&&(null===(e=b.current)||void 0===e||e.focus({preventScroll:!0}))})),a.createElement("div",{"data-testid":"scroll",ref:e=>i(e),style:y,onScroll:m},a.createElement(kt.Z,{onResize:h}),r?e.renderContent(s,b):null)},It=50,Ft=.5,Mt=1,_t=10,Rt=1;var Nt=n(50974);class Lt{constructor(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;(0,yt.Z)(this,"itemWidth",0),(0,yt.Z)(this,"itemHeight",0),(0,yt.Z)(this,"itemPaddingLeft",0),(0,yt.Z)(this,"itemPaddingRight",0),(0,yt.Z)(this,"totalItems",0),(0,Nt.kG)(e>0,"You must provide an item width of greater than 0"),(0,Nt.kG)(t>0,"You must provide an item height of greater than 0"),(0,Nt.kG)(o>=0,"Padding must be greater than 0"),(0,Nt.kG)(r>=0,"Padding must be greater than 0"),this.itemWidth=e,this.itemHeight=t,this.totalItems=n,this.itemPaddingLeft=o,this.itemPaddingRight=r}contentHeight(e){const t=this.itemsPerRow(e);return Math.ceil(this.totalItems/t)*this.itemHeight}itemsPerRow(e){return Math.max(Math.floor(e.width/this.itemWidth),1)}layoutAttributesForItemsIn(e){const{scrollY:t,height:n}=e,o=this.itemsPerRow(e),r=Math.ceil(this.totalItems/o),i=t?Math.floor(t/this.itemHeight):0,a=Math.ceil(n/this.itemHeight),s=Math.max(i-Bt,0),l=Math.min(i+a+Bt,r),c=[];for(let t=s*o;t{var t;const{draggingEnabled:n=!1,totalItems:o,itemHeight:r,itemWidth:i,itemPaddingLeft:s,itemPaddingRight:l,selectedItemIndexes:c=(0,St.l4)(),canInsert:u,renderDragPreview:d,renderInsertionCursor:p,focusedItemIndex:f}=e,[h,m]=a.useState(null),g=a.useRef(null),v=a.useRef(null),y=a.useRef(null),[b,w]=a.useState((0,St.l4)([])),S=new Lt(i,r,o,s,l),[E,P]=a.useState(0);a.useLayoutEffect((()=>{0!==c.size&&(e=>{const t=v.current;if(0===e.size)return;if(!t)return;const n=t.height+t.scrollY,o=e=>{const o=e.top+e.height/2;return o>t.scrollY&&oe.has(t.index)));if(r.filter(o).length>0)return;let i=r.filter((e=>!o(e)));0===i.length&&(i=e.map((e=>S.layoutAttributeForItemAt(t,e))).toArray()),i=i.sort(((e,t)=>e.index-t.index));const a=i[0];v.current=zt(zt({},t),{},{scrollY:a.top}),P(a.top)})(c)}),[c]);const x=e=>{e.preventDefault()},D=e=>c.has(e)||!1,C=()=>{g.current=null,y.current=null,w((0,St.l4)([]))},k=a.useCallback(((e,t)=>{const n=g.current;if(h&&t)if(null===n||n.index!==e){const t=h.querySelector(`[data-id="${e}"]`),n=null==t?void 0:t.getBoundingClientRect();if(!n)return void(g.current=null);g.current={index:e,bounds:n}}else{const r=n.bounds.left+n.bounds.width/2,i=t.x{const t=D(e);w(t?(0,St.l4)(c):(0,St.l4)([e]))},O=()=>{const t=y.current;if(null!==t){const n=Array.from(b);if(b.has(t))return void T();e.onDragEnd&&e.onDragEnd(n,t)}C()},T=()=>{requestAnimationFrame((()=>C()))},I=t=>{if(d)return d(t,Array.from(b));{const n={selected:!1,dragging:!1};return e.renderItem(t,n)}},F=e=>{v.current=e},M=(t,n)=>{if(!p)return null;const o=null!==y.current?y.current:e.insertionIndex;if(null==o)return;const r=t.layoutAttributeForInsertionCursor(n,g.current?g.current.index:null,o),i={position:"absolute",width:r.width,height:r.height,left:r.left,top:r.top,zIndex:100},s=(e=>!u||u(b.isEmpty()&&c?Array.from(c):Array.from(b),e))(r.index);return a.createElement("div",{style:i},p(s,!!r.atRowEnd))},_=(t,s)=>{const l=S.layoutAttributesForItemsIn(t);let c=!1;if(l.length>0){const e=l[0].index,t=l[l.length-1].index;c=null!=f&&(ft)}const u=l.map(((t,u)=>{const{index:d}=t,p={position:"absolute",left:t.left,top:t.top,width:t.width,height:t.height},f=u===Math.floor(l.length/2)&&c;return a.createElement("div",{key:e.itemKey?e.itemKey(d):d,style:p},((t,s)=>{const l={selected:D(t),dragging:b.has(t),itemRef:s},c=!(tm(e)},(()=>{var n;if(!h)return null;const o={enableMouseEvents:!0,delayTouchStart:500,touchSlop:10,ignoreContextMenu:!0,ownerDocument:h.ownerDocument},r={width:e.width,height:e.height};return a.createElement(bt.WG,{backend:wt.TouchBackend,options:o},a.createElement("div",{className:Pt().container,onContextMenu:x,style:r},t||(t=a.createElement(Ct,{renderItem:I})),a.createElement(Tt,{onViewportChange:F,renderContent:_,scrollY:(null===(n=v.current)||void 0===n?void 0:n.scrollY)||0,initialForcedScrollY:E})))})())};var Zt=n(68402),Ut=n.n(Zt);const Vt=e=>{const{children:t,onPress:n,expanded:o,ariaControls:r,className:i,headingRef:s}=e,c=e.headingTag;return a.createElement(c,{className:l()("PSPDFKit-Expando-Control",Ut().control,i),ref:s},a.createElement("button",{className:Ut().controlButton,"aria-expanded":r?o:void 0,"aria-controls":r,onClick:n,autoFocus:e.autoFocus},t))};Vt.defaultProps={headingTag:"div"};const Gt=e=>{const{children:t,expanded:n,id:o}=e;return a.createElement("div",{id:o,className:l()("PSPDFKit-Expando-Content",!n&&Ut().contentHidden,!n&&"PSPDFKit-Expando-Content-Hidden")},t)};var Wt=n(59271),qt=n(30667),Ht=n(87350);class $t extends a.Component{constructor(){super(...arguments),(0,yt.Z)(this,"rootRef",a.createRef()),(0,yt.Z)(this,"activeItem",a.createRef()),(0,yt.Z)(this,"state",{activeItemIndex:0,focusReason:"initial"}),(0,yt.Z)(this,"didSetActiveItem",!1),(0,yt.Z)(this,"onActiveItemIndexChange",(()=>{this.props.onActiveItemIndexChange&&this.props.onActiveItemIndexChange(this.state.activeItemIndex)})),(0,yt.Z)(this,"onKeyDown",(e=>{var t;const{ignoreOnKeyPress:n}=this.props;if("function"==typeof n?n(e):e.altKey||e.shiftKey)return;const o=null===(t=e.currentTarget.ownerDocument.defaultView)||void 0===t?void 0:t.HTMLElement;if(!(e.target instanceof o)||(0,Wt.c)(e.target))return;const{activeItemIndex:r}=this.state,i=e.ctrlKey||e.metaKey;if(e.which===this.props.prevKey&&r>0&&this.setState({activeItemIndex:i?0:r-1,focusReason:"keyboard"},this.onActiveItemIndexChange),e.which===this.props.nextKey){const e=this.props.items.length-1;r{const t=e.target!==e.currentTarget;let n=this.state.activeItemIndex;const o=e.currentTarget,r=o&&o.parentNode&&o.parentNode.children?Array.prototype.findIndex.call(o.parentNode.children,(e=>e===o)):-1;-1!==r&&(n=r),this.setState({activeItemIndex:n,focusReason:t?"focus_within":"focus"},this.onActiveItemIndexChange)}))}setActiveItem(e){this.didSetActiveItem=!0,this.setState({activeItemIndex:e,focusReason:"focus"})}getActiveItem(){return this.state.activeItemIndex}componentDidMount(){Yt(this.rootRef.current,this.activeItem.current),this.onActiveItemIndexChange()}componentDidUpdate(e,t){(this.didSetActiveItem||e.items.length!==this.props.items.length||t.activeItemIndex!==this.state.activeItemIndex)&&(this.didSetActiveItem=!1,Yt(this.rootRef.current,this.activeItem.current),"focus_within"!==this.state.focusReason&&function(e){if(!e)return;const t=e.children,n=t[0],o=n.matches||n.msMatchesSelector;1===t.length&&o.call(n,Ht.cO)?(e.removeAttribute("tabindex"),n.focus()):e.focus()}(this.activeItem.current))}render(){if("function"==typeof this.props.children){let e=!1,t=!1;const n=this.props.children({activeItemIndex:this.state.activeItemIndex,getContainerProps:()=>(e=!0,{onKeyDown:this.onKeyDown,ref:this.rootRef}),getItemProps:e=>{let{item:n}=e;(0,Nt.kG)(n,"getItemProps must be called with `{ item }`");const o=this.props.items.findIndex((e=>e===n));(0,Nt.kG)(o>-1,"getItemPropsL: Cannot find `item` in `props.items`");const r=o===this.state.activeItemIndex;return t=!0,{tabIndex:r?0:-1,ref:r?this.activeItem:void 0,onFocus:this.onFocus,onClick:e=>{e.target.closest(Ht.cO)||this.setState({activeItemIndex:o,focusReason:"focus"},this.onActiveItemIndexChange)}}}});return(0,Nt.kG)(n,"Did not return valid children"),(0,Nt.kG)(e,"Did not call getContainerProps"),(0,Nt.kG)(t,"Did not call getItemProps"),n}return a.createElement("div",{onKeyDown:this.onKeyDown,ref:this.rootRef,"data-testid":"accessible-collection"},this.props.items.map(((e,t)=>{const n=t===this.state.activeItemIndex;return a.createElement("div",{key:t,tabIndex:n?0:-1,ref:n?this.activeItem:void 0,onFocus:this.onFocus,onClick:e=>{e.target.closest(Ht.cO)||this.setState({activeItemIndex:t,focusReason:"focus"},this.onActiveItemIndexChange)}},e)})))}}function Yt(e,t){if(!e||!t)return;(0,Ht.GO)(e).forEach((t=>{t.parentNode!==e&&t.setAttribute("tabindex","-1")})),Array.prototype.forEach.call(t.querySelectorAll('[tabindex="-1"]'),(e=>{e.removeAttribute("tabindex")}))}(0,yt.Z)($t,"defaultProps",{prevKey:qt.rw,nextKey:qt.cS,ignoreOnKeyPress:null});var Xt=n(67665),Jt=n(19575),Qt=n(21246),en=n.n(Qt);const tn=["className","tag","announce"],nn=a.forwardRef((function(e,t){const{className:n,tag:o,announce:s}=e,c=(0,i.Z)(e,tn),u=s?{role:"status","aria-live":s}:{};return a.createElement(o||"p",(0,r.Z)({},c,{ref:t,className:l()(en().visuallyHidden,n)},u))}));class on extends a.Component{constructor(){super(...arguments),(0,yt.Z)(this,"_handleRef",(e=>{this._el=e,this._document=e?e.ownerDocument:null})),(0,yt.Z)(this,"_handleKeyDown",(e=>{const t=this._el,n=this._document;if(e.keyCode===qt.OC&&t&&n){const o=(0,Ht.GO)(t),r=o.indexOf(n.activeElement);e.shiftKey&&0===r?(o[o.length-1].focus(),e.preventDefault()):e.shiftKey||r!==o.length-1||(o[0].focus(),e.preventDefault())}}))}componentDidMount(){this._document&&this._document.addEventListener("keydown",this._handleKeyDown),document.addEventListener("keydown",this._handleKeyDown);const e=this._el;if(e&&!e.querySelector('[autofocus]:not([autofocus="false"])')){const t=(0,Ht.GO)(e)[0]||e.querySelector('[tabindex="-1"]');t&&t.focus()}}componentWillUnmount(){this._document&&this._document.removeEventListener("keydown",this._handleKeyDown),document.removeEventListener("keydown",this._handleKeyDown)}render(){return a.createElement("div",{ref:this._handleRef},this.props.children)}}var rn=n(48721),an=n.n(rn);const sn=["children","className","spaced"],ln=["className","spaced"],cn=[];function un(){const e=cn.length-1;cn.forEach(((t,n)=>{t.setState({isOnTop:n==e})}))}class dn extends a.Component{constructor(){super(...arguments),(0,yt.Z)(this,"descriptionId",this.props.accessibilityDescription?`modal-description-${Jt.Base64.encode(this.props.accessibilityDescription).substr(0,10)}`:null),(0,yt.Z)(this,"restoreOnCloseElement",this.props.restoreOnCloseElement),(0,yt.Z)(this,"useBorderRadius",!1!==this.props.useBorderRadius),(0,yt.Z)(this,"state",{isShaking:!1,isOnTop:!0}),(0,yt.Z)(this,"_preventPropagation",(e=>{e.stopPropagation(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation()})),(0,yt.Z)(this,"_handleClick",(()=>{this.props.onDismiss&&this.props.onDismiss()})),(0,yt.Z)(this,"onMount",(e=>{0===cn.length&&e.setAttribute("aria-hidden","true"),cn.push(this),un()})),(0,yt.Z)(this,"onUnmount",(e=>{cn.pop(),0===cn.length&&e.removeAttribute("aria-hidden"),un(),this.restoreOnCloseElement&&this.restoreOnCloseElement.focus()})),(0,yt.Z)(this,"_handleKeyDown",(e=>{e.keyCode!==qt.E$&&e.keyCode!==qt.tW||e.nativeEvent.stopImmediatePropagation(),this.props.onEscape&&e.keyCode===qt.zz&&(this.props.onEscape(),e.preventDefault(),e.target.ownerDocument.addEventListener("keyup",this._preventPropagation,{capture:!0,once:!0})),this.props.onEnter&&e.keyCode===qt.E$&&(this.props.onEnter(),e.preventDefault())})),(0,yt.Z)(this,"_handleAnimationEnd",(()=>{this.setState({isShaking:!1})}))}shake(){this.setState({isShaking:!0})}componentDidMount(){this.props.innerRef&&(this.props.innerRef.current=this)}componentWillUnmount(){this.props.innerRef&&(this.props.innerRef.current=null)}render(){var e,t;const{isShaking:n,isOnTop:o}=this.state,{className:r,backdropFixed:i}=this.props,s=o?on:a.Fragment,c={position:i?"fixed":"absolute"};return a.createElement(Xt.m,{onMount:this.onMount,onUnmount:this.onUnmount},a.createElement("div",{"aria-hidden":!o},a.createElement(s,null,a.createElement("div",{className:l()(an().backdropContainer,"PSPDFKit-Modal-Backdrop"),style:c,onClick:this._handleClick,onKeyDown:o?this._handleKeyDown:void 0},a.createElement("div",{role:this.props.role,"aria-label":this.props.accessibilityLabel,"aria-describedby":this.props.accessibilityDescription&&null!==(e=this.descriptionId)&&void 0!==e?e:void 0,className:l()(an().dialog,r,"PSPDFKit-Modal-Dialog",{[an().shaking]:n,[an().squareCorners]:!this.useBorderRadius}),onTouchEndCapture:this._preventPropagation,onMouseUpCapture:this._preventPropagation,onPointerUpCapture:this._preventPropagation,onKeyUpCapture:this._preventPropagation,onAnimationEnd:this._handleAnimationEnd,tabIndex:-1},this.props.children,this.props.accessibilityDescription&&a.createElement(nn,{id:null!==(t=this.descriptionId)&&void 0!==t?t:void 0},this.props.accessibilityDescription))))))}}function pn(e){const{children:t,className:n,spaced:o}=e,s=(0,i.Z)(e,sn),c=l()(an().section,o&&an().sectionSpaced,o&&"PSPDFKit-Modal-Section-Spaced",n,"PSPDFKit-Modal-Section");return a.createElement("div",(0,r.Z)({},s,{className:c}),t)}function fn(e){const{className:t,spaced:n}=e,o=(0,i.Z)(e,ln),s=l()(an().divider,n&&an().dividerSpaced,n&&"PSPDFKit-Modal-Divider-Spaced",t,"PSPDFKit-Modal-Divider");return a.createElement("div",(0,r.Z)({},o,{className:s}))}(0,yt.Z)(dn,"Section",pn),(0,yt.Z)(dn,"Divider",fn),(0,yt.Z)(dn,"defaultProps",{role:"dialog"}),pn.displayName="Modal.Section",pn.defaultProps={spaced:!1},fn.displayName="Modal.Divider",fn.defaultProps={spaced:!0};var hn=n(45265),mn=n.n(hn);const gn=a.forwardRef((function(e,t){const n=a.useRef(null);return a.useImperativeHandle(t,(()=>n.current)),a.useEffect((()=>{const e=n.current;return null==e||e.showModal(),()=>{null==e||e.close()}}),[]),a.createElement("dialog",{ref:n,className:l()("PSPDFKit-Modal-Backdrop",mn().wrapper,e.wrapperClass),onClose:e.onDismiss},a.createElement("form",{method:"dialog",className:e.formClass},e.children))}));var vn=n(41707),yn=n.n(vn);const bn=e=>{let{message:t,progress:n,style:o}=e;if(n){const e=Math.floor(100*n);return a.createElement("div",{className:l()("PSPDFKit-Progress",yn().progress),style:o,role:"progressbar","aria-valuenow":e,"aria-label":`${e}% complete`},a.createElement("div",{className:yn().progressBar},a.createElement("div",{className:yn().progressFill,style:{width:`${e}%`}})),t?a.createElement("div",{className:yn().progressText},t):null)}return a.createElement("div",{className:l()("PSPDFKit-Progress",yn().loader),style:o,role:"progressbar","aria-valuenow":0,"aria-label":"0% complete"},a.createElement("div",{className:yn().loaderDot}),a.createElement("div",{className:yn().loaderDot}),a.createElement("div",{className:yn().loaderDot}))};var wn=n(38104),Sn=n.n(wn);const En=["className","children"];function Pn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function xn(e){for(var t=1;tt=>{const{className:n,children:o}=t,r=xn(xn({},(0,i.Z)(t,En)),{},{className:l()(Sn()[e],n)});return a.createElement(e,r,o)},Cn=Dn("p");Cn.displayName="Text";const kn=Dn("h1");kn.displayName="HeaderText";var An=n(60044),On=n.n(An);const Tn=["secureTextEntry","error","success","selectTextOnFocus","onBlur","onFocus"],In=(e,t)=>{const n=a.useRef(null);a.useImperativeHandle(t,(()=>n.current)),a.useEffect((()=>{const{selectTextOnFocus:t,autoFocus:n}=e;t&&n&&o()}),[]);const o=a.useCallback((()=>{const{selectTextOnFocus:t}=e,{current:o}=n;o&&(t&&o.select(),f&&f())}),[]),{secureTextEntry:s,error:c,success:u,selectTextOnFocus:d,onBlur:p,onFocus:f}=e,h=(0,i.Z)(e,Tn),m=l()({[On().default]:!c&&!u,[On().error]:c,[On().success]:u},e.className),g=s?"password":"text";return a.createElement("input",(0,r.Z)({},h,{className:m,type:g,ref:n,onFocus:o,onBlur:p}))},Fn=a.memo(a.forwardRef(In));var Mn=n(13540),_n=n(15967),Rn=n.n(_n);function Nn(e){let{inputName:t,label:n,options:o,onChange:r,selectedOption:i,labelClassNamePrefix:s,disabled:c=!1,showLabel:u,isButton:d,wrapperClasses:p}=e;return a.createElement("div",{className:l()(Rn().radioGroup,{[p]:p}),"aria-label":n,role:"radiogroup"},o.map((e=>{let{value:n,label:o,iconPath:p}=e;const f=n===i,h=l()(Rn().iconLabel,{[Rn().iconLabelIsActive]:f,[`${s}-${n}`]:!0,[`${s}-active`]:f,[Rn().focusedLabelFocusVisible]:f,[Rn().selectedLabel]:f&&d,[Rn().radioGroupLabel]:!f&&d,[Rn().fullWidthRadio]:d});return a.createElement("label",{key:n,className:h},a.createElement(nn,{tag:"span"},o),a.createElement("input",{type:"radio",name:t,value:n,checked:f,onChange:e=>r(e.target.value),"aria-label":o,disabled:c}),d&&f&&a.createElement(Mn.Z,{src:p,className:l()(Rn().icon,{[Rn().radioGroupIcon]:d})}),!d&&a.createElement(Mn.Z,{src:p,className:Rn().icon}),u&&a.createElement("span",null,o))})))}var Ln=n(98932),Bn=n.n(Ln);let jn=0;function zn(e){const t=a.useRef(jn++),{label:n,accessibilityLabel:o,onUpdate:r}=e,i=a.useCallback((e=>{r(e.target.checked)}),[r]);const s=l()(Bn().label,e.styles.label);return a.createElement("div",{className:e.styles.controlWrapper},a.createElement("div",{className:e.styles.control},a.createElement("div",{className:l()("PSPDFKit-Checkbox-Input",e.className,Bn().root)},a.createElement("input",{className:l()(Bn().input,e.styles.input),type:"checkbox",id:`${Bn().label}-${t.current}`,onChange:i,checked:e.value}),e.label?a.createElement("label",{htmlFor:`${Bn().label}-${t.current}`,className:s},n):o?a.createElement("label",{htmlFor:`${Bn().label}-${t.current}`,className:s},a.createElement(nn,{tag:"span"},o)):null)))}var Kn=n(74305),Zn=n(42308),Un=n(35583),Vn={isHistory:e=>(0,Un.P)(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||Zn.OX.isOperationList(e.redos[0].operations))&&(0===e.undos.length||Zn.OX.isOperationList(e.undos[0].operations))},Gn=(new WeakMap,new WeakMap),Wn=new WeakMap,qn={isHistoryEditor:e=>Vn.isHistory(e.history)&&Zn.ML.isEditor(e),isMerging:e=>Wn.get(e),isSaving:e=>Gn.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=qn.isMerging(e);Wn.set(e,!1),t(),Wn.set(e,n)},withoutSaving(e,t){var n=qn.isSaving(e);Gn.set(e,!1),t(),Gn.set(e,n)}},Hn=(e,t)=>!(!t||"insert_text"!==e.type||"insert_text"!==t.type||e.offset!==t.offset+t.text.length||!Zn.y$.equals(e.path,t.path))||!(!t||"remove_text"!==e.type||"remove_text"!==t.type||e.offset+e.text.length!==t.offset||!Zn.y$.equals(e.path,t.path)),$n=(e,t)=>"set_selection"!==e.type,Yn=n(18953),Xn=n.n(Yn);function Jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qn=new WeakMap,eo=new WeakMap;class to{}class no extends to{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();var{offset:t,path:n}=e;this.offset=t,this.path=n}}class oo extends to{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();var{offset:t,path:n}=e;this.offset=t,this.path=n}}var ro=e=>eo.get(e);function io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ao(e){for(var t=1;t{var t=[],n=e=>{if(null!=e){var o=t[t.length-1];if("string"==typeof e){var r={text:e};so.add(r),e=r}if(Zn.xv.isText(e)){var i=e;Zn.xv.isText(o)&&so.has(o)&&so.has(i)&&Zn.xv.equals(o,i,{loose:!0})?o.text+=i.text:t.push(i)}else if(Zn.W_.isElement(e))t.push(e);else{if(!(e instanceof to))throw new Error("Unexpected hyperscript child object: ".concat(e));var a=t[t.length-1];Zn.xv.isText(a)||(n(""),a=t[t.length-1]),e instanceof no?((e,t)=>{var n=e.text.length;Qn.set(e,[n,t])})(a,e):e instanceof oo&&((e,t)=>{var n=e.text.length;eo.set(e,[n,t])})(a,e)}}};for(var o of e.flat(1/0))n(o);return t};function co(e,t,n){return ao(ao({},t),{},{children:lo(n)})}function uo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function po(e){for(var t=1;t{var o,r=[];for(var i of n)Zn.e6.isRange(i)?o=i:r.push(i);var a,s=lo(r),l={},c=fo();for(var[u,d]of(Object.assign(c,t),c.children=s,Zn.NB.texts(c))){var p=(a=u,Qn.get(a)),f=ro(u);if(null!=p){var[h]=p;l.anchor={path:d,offset:h}}if(null!=f){var[m]=f;l.focus={path:d,offset:m}}}if(l.anchor&&!l.focus)throw new Error("Slate hyperscript ranges must have both `` and `` defined if one is defined, but you only defined ``. For collapsed selections, use `` instead.");if(!l.anchor&&l.focus)throw new Error("Slate hyperscript ranges must have both `` and `` defined if one is defined, but you only defined ``. For collapsed selections, use `` instead.");return null!=o?c.selection=o:Zn.e6.isRange(l)&&(c.selection=l),c}),element:co,focus:function(e,t,n){return new oo(t)},fragment:function(e,t,n){return lo(n)},selection:function(e,t,n){var o=n.find((e=>e instanceof no)),r=n.find((e=>e instanceof oo));if(!o||null==o.offset||null==o.path)throw new Error("The hyperscript tag must have an tag as a child with `path` and `offset` attributes defined.");if(!r||null==r.offset||null==r.path)throw new Error("The hyperscript tag must have a tag as a child with `path` and `offset` attributes defined.");return ao({anchor:{offset:o.offset,path:o.path},focus:{offset:r.offset,path:r.path}},t)},text:function(e,t,n){var o=lo(n);if(o.length>1)throw new Error("The hyperscript tag must only contain a single node's worth of children.");var[r]=o;if(null==r&&(r={text:""}),!Zn.xv.isText(r))throw new Error("\n The hyperscript tag can only contain text content as children.");return so.delete(r),Object.assign(r,t),r}},mo=e=>function(t,n){for(var o=arguments.length,r=new Array(o>2?o-2:0),i=2;i"));null==n&&(n={}),(0,Un.P)(n)||(r=[n].concat(r),n={});var s=a(t,n,r=r.filter((e=>Boolean(e))).flat());return s},go=e=>{var t={},n=function(n){var o=e[n];if("object"!=typeof o)throw new Error("Properties specified for a hyperscript shorthand should be an object, but for the custom element <".concat(n,"> tag you passed: ").concat(o));t[n]=(e,t,n)=>co(0,po(po({},o),t),n)};for(var o in e)n(o);return t},vo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{elements:t={}}=e,n=go(t),o=po(po(po({},ho),n),e.creators),r=mo(o);return r}();const yo=/["'&<>]/;function bo(e){const t=""+e,n=yo.exec(t);if(!n)return t;let o,r="",i=0,a=0;for(i=n.index;iEo(e,n))).flat();switch(0===o.length&&o.push(vo("text",n,"")),e.nodeName.toUpperCase()){case"BR":return vo("text",t,"\n");case"SPAN":{const t=function(e){return"SPAN"===e.nodeName.toUpperCase()&&e.getAttribute("data-user-id")}(e);if(t)return vo("element",{type:"mention",userId:t,displayName:Ao(Po(o))},o);if(function(e){return"SPAN"===e.nodeName.toUpperCase()&&e.getAttribute("style")}(e)&&!function(e){return"underline"===e.style.textDecoration&&!e.style.color&&!e.style.backgroundColor}(e)){const t=xo(e.getAttribute("style")||""),n=t.color?zo(t.color):void 0,r=t["background-color"]?zo(t["background-color"]):void 0;return vo("element",{type:"style",fontColor:n,backgroundColor:r},o)}return o}case"P":return vo("element",{type:"paragraph"},o);case"A":return vo("element",{type:"link",url:e.getAttribute("href")},o);default:return o}}function Po(e){function t(e){var t;if(function(e){return Zn.xv.isText(e)}(e)){let t=bo(e.text);return e.bold&&(t=`${t}`),e.italic&&(t=`${t}`),e.underline&&(t=`${t}`),t}const n=null===(t=e.children)||void 0===t?void 0:t.map((e=>Po(e))).join("");switch(e.type){case"paragraph":return`

${n}

`;case"link":return`${n}`;case"mention":return`${e.displayName}`;case"style":{const t=Do(e);return`${n}`}default:return n}}return Array.isArray(e)?e.map((e=>t(e))).join(""):t(e)}function xo(e){return e?((e=e.trim()).endsWith(";")&&(e=e.slice(0,-1)),e.split(";").map((e=>e.split(":").map((e=>e.trim())))).reduce(((e,t)=>{let[n,o]=t;return So(So({},e),{},{[n]:o})}),{})):{}}function Do(e){let t="";return e.fontColor&&(t+=`color: ${e.fontColor};`),e.backgroundColor&&(t+=`background-color: ${e.backgroundColor};`),t}function Co(e,t){const n=Zn.ML.marks(e);return!!n&&!0===n[t]}const ko=(e,t)=>{Co(e,t)?Zn.ML.removeMark(e,t):Zn.ML.addMark(e,t,!0)};function Ao(e){const t=document.createElement("div");return t.innerHTML=e,t.textContent||""}function Oo(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(new DOMParser).parseFromString(e,"text/html")}function To(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=(e||"").match(/(<[^<>]+>)/g)||[],n={pre:[],post:[]};return t.forEach((e=>{if(e.startsWith("");e.startsWith(""))})),n}function Io(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Oo(e).body.innerHTML}function Fo(e){let{changeUnderlineCSStoHTML:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Oo(e).body;if(0===n.childNodes.length){const e=document.createElement("p");return n.appendChild(e),n}const o=document.createElement("body");let r=[];return[...n.childNodes].forEach(((e,t)=>{const i=n.childNodes.length-1===t;if("P"===e.nodeName.toUpperCase()||i){if(i&&"P"!==e.nodeName.toUpperCase()&&r.push(e),r.length){const e=document.createElement("p");r.forEach((t=>{e.appendChild(t)})),o.appendChild(e),r=[]}"P"===e.nodeName.toUpperCase()&&o.appendChild(e)}else r.push(e)})),o.childNodes.forEach((e=>{var n,o,r,i,a,s;(null===(n=(o=e).querySelectorAll)||void 0===n||n.call(o,"p").forEach((e=>{const t=document.createElement("span");e.style.cssText&&t.setAttribute("style",e.style.cssText),t.innerHTML=e.innerHTML,e.replaceWith(t)})),null===(r=(i=e).querySelectorAll)||void 0===r||r.call(i,"div").forEach((e=>{const t=document.createElement("span");e.style.cssText&&t.setAttribute("style",e.style.cssText),t.innerHTML=e.innerHTML,e.replaceWith(t)})),t)&&(null===(a=(s=e).querySelectorAll)||void 0===a||a.call(s,"span").forEach((e=>{if("underline"===e.style.textDecoration){const t=document.createElement("u");t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML,e.style.textDecoration="",e.style.cssText||(e.removeAttribute("style"),e.attributes.length||e.replaceWith(...e.childNodes))}})))})),o}function Mo(e){if(!e)return!1;const{selection:t}=e;return!!t&&Zn.e6.isExpanded(t)&&""!==Zn.ML.string(e,t)}function _o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const{selection:n}=e;if(n){const[o]=Zn.e6.edges(n),r=Zn.ML.before(e,o,{distance:t,unit:"character"}),i=r&&Zn.ML.range(e,r,o);return{text:i&&Zn.ML.string(e,i),range:i}}return null}function Ro(e){return e&&(" "===e.text||!e.range)}function No(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Lo(e){for(var t=1;t{let[,t]=e;return void 0!==t})).map((e=>{let[t,n]=e;return`${t}: ${n}`})).join("; ").concat(";")}function jo(e,t,n){const o=Fo(e,{changeUnderlineCSStoHTML:!1});function r(e){var t;const n=null===(t=e.closest("p"))||void 0===t?void 0:t.textContent;return e.textContent===n&&!e.closest("span[style]")}return o.querySelectorAll("p").forEach((e=>{const{isBold:o,isUnderlined:i,isItalic:a}=Ko(e);if("fontColor"===t){let t=!1;if(e.querySelectorAll("span[style]").forEach((e=>{r(e)?(t=!0,e.setAttribute("style",Bo(e,"fontColor",n))):(e.style.color="",""===e.style.cssText&&e.replaceWith(...e.childNodes))})),!t){const t=document.createElement("span");t.setAttribute("style",Bo(t,"fontColor",n)),t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML}}else if("underline"===t){const t=e.querySelectorAll("span[style]");if(i)t.forEach((e=>{e.style.textDecoration=""}));else{let n=!1;if(t.forEach((e=>{r(e)&&(n=!0,e.style.textDecoration="underline")})),!n){const t=document.createElement("span");t.style.textDecoration="underline",t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML}}t.forEach((e=>{r(e)?e.style.textDecoration=i?"":"underline":(e.style.textDecoration="",""===e.style.cssText&&e.replaceWith(...e.childNodes))}))}else if("bold"===t){const t=e.querySelectorAll("b");if(o)t.forEach((e=>{e.replaceWith(...e.childNodes)}));else{const t=document.createElement("b");t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML}}else if("italic"===t){const t=e.querySelectorAll("i, em");if(a)t.forEach((e=>{e.replaceWith(...e.childNodes)}));else{const t=document.createElement("i");t.innerHTML=e.innerHTML,e.innerHTML=t.outerHTML}}})),o.innerHTML}function zo(e){if(!e)return"";if(e.startsWith("rgb")){return`#${e.replace("rgb(","").replace(")","").split(",").map((e=>parseInt(e,10))).map((e=>e.toString(16))).map((e=>1===e.length?`0${e}`:e)).join("")}`}return e.startsWith("#")&&9===e.length?`#${e.substr(3,6)}`:7===e.length&&e.startsWith("#")?e:"#000000"}function Ko(e){const t=e.querySelectorAll("span[style]"),n=Array.from(t).filter((t=>t.textContent===e.textContent)),o=n.filter((e=>e.style.color)),r=n.filter((e=>e.style.backgroundColor)),i=n.filter((e=>"underline"===e.style.textDecoration)),a=e.querySelectorAll("b"),s=Array.from(a).filter((t=>t.textContent===e.textContent)),l=e.querySelectorAll("i, em"),c=Array.from(l).filter((t=>t.textContent===e.textContent));return{fontColor:o.length>0?zo(o[o.length-1].style.color):null,backgroundColor:r.length>0?zo(r[r.length-1].style.backgroundColor):null,isUnderlined:i.length>0,isBold:s.length>0,isItalic:c.length>0}}function Zo(e){const t=Fo(e,{changeUnderlineCSStoHTML:!1}).querySelectorAll("p"),n=Array.from(t).map((e=>Ko(e)));return{fontColor:n.every((e=>{let{fontColor:t}=e;return t&&t===n[0].fontColor}))?n[0].fontColor:null,isUnderlined:n.every((e=>{let{isUnderlined:t}=e;return t&&t===n[0].isUnderlined})),isBold:n.every((e=>{let{isBold:t}=e;return t&&t===n[0].isBold})),isItalic:n.every((e=>{let{isItalic:t}=e;return t&&t===n[0].isItalic})),backgroundColor:n.every((e=>{let{backgroundColor:t}=e;return t&&t===n[0].backgroundColor}))?n[0].backgroundColor:null}}function Uo(e,t){var n;const{selection:o}=e;if(!o)return;const[...r]=Array.from(Zn.ML.nodes(e,{at:Zn.ML.unhangRange(e,o),match:e=>!Zn.ML.isEditor(e)&&Vo(e)})),i=r.map((e=>{let[t]=e;return t}));if(!i)return;const a=i.map((e=>zo(e[t])));return 1===new Set(a).size&&null!==(n=a[0])&&void 0!==n?n:void 0}function Vo(e){return"style"===e.type}function Go(e,t){const{selection:n}=e;n&&Zn.e6.isCollapsed(n)?Zn.YR.insertNodes(e,t):(Zn.YR.wrapNodes(e,t,{split:!0}),Zn.YR.collapse(e,{edge:"end"}))}function Wo(e,t){Zn.YR.unwrapNodes(e,{match:e=>!Zn.ML.isEditor(e)&&Zn.W_.isElement(e)&&e.type===t})}function qo(e,t,n){(0,Nt.kG)(e,"Editor is not defined.");const[o]=Zn.ML.nodes(e,{match:e=>!Zn.ML.isEditor(e)&&Zn.W_.isElement(e)&&Vo(e)});o?Zn.YR.setNodes(e,{[t]:n},{match:e=>Vo(e),split:!0}):Go(e,{type:"style",[t]:n,children:[{text:""}]})}function Ho(e){var t;const{selection:n}=e;if(!n)return!1;const[...o]=Array.from(Zn.ML.nodes(e,{at:Zn.ML.unhangRange(e,n),match:e=>!Zn.ML.isEditor(e)&&Vo(e)})),r=o.map((e=>{let[t]=e;return t}));return!(null==r||null===(t=r[0])||void 0===t||!t.underline)}function $o(e){return"mention"===e.type}var Yo,Xo;const Jo="undefined"!=typeof navigator&&/Android/.test(navigator.userAgent),Qo="undefined"!=typeof navigator&&/Chrome/.test(navigator.userAgent),er=a.forwardRef(((e,t)=>{let{text:n,style:o,updateBoundingBox:r,onValueChange:i,onBlurSave:s,maxLength:c,onStopEditing:u,onEscape:d,lastMousePoint:p,onEditorInit:f,className:h,placeholder:m,onBlur:g,autoFocus:v=!0,onSelectionChange:y,autoOpenKeyboard:b=!0,onKeyDown:w,title:S="Rich text editor"}=e;const{value:E,wrapperTags:P}=(0,a.useMemo)((()=>({wrapperTags:To(n),value:Io(n)})),[n]),x=(0,a.useRef)(null),D=a.useRef(E),C=(0,a.useMemo)((()=>(e=>{const{insertData:t,isInline:n,markableVoid:o,isVoid:r}=e;return e.isInline=e=>"link"===e.type||$o(e)||"style"===e.type||n(e),e.isVoid=e=>$o(e)||r(e),e.markableVoid=e=>$o(e)||o(e),e.insertData=n=>{try{const o=n.getData("text/html");if(o){const t=Eo(Fo(o));return void Zn.YR.insertFragment(e,t)}t(n)}catch(e){}},e})((e=>{var t=e,{apply:n}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:e}=t,{redos:n}=e;if(n.length>0){var o=n[n.length-1];o.selectionBefore&&Zn.YR.setSelection(t,o.selectionBefore),qn.withoutSaving(t,(()=>{Zn.ML.withoutNormalizing(t,(()=>{for(var e of o.operations)t.apply(e)}))})),e.redos.pop(),e.undos.push(o)}},t.undo=()=>{var{history:e}=t,{undos:n}=e;if(n.length>0){var o=n[n.length-1];qn.withoutSaving(t,(()=>{Zn.ML.withoutNormalizing(t,(()=>{var e=o.operations.map(Zn.OX.inverse).reverse();for(var n of e)t.apply(n);o.selectionBefore&&Zn.YR.setSelection(t,o.selectionBefore)}))})),e.redos.push(o),e.undos.pop()}},t.apply=e=>{var{operations:o,history:r}=t,{undos:i}=r,a=i[i.length-1],s=a&&a.operations[a.operations.length-1],l=qn.isSaving(t),c=qn.isMerging(t);if(null==l&&(l=$n(e)),l){if(null==c&&(c=null!=a&&(0!==o.length||Hn(e,s))),a&&c)a.operations.push(e);else{var u={operations:[e],selectionBefore:t.selection};i.push(u)}for(;i.length>100;)i.shift();r.redos=[]}n(e)},t})((0,Kn.BU)((0,Zn.Jh)())))),[]),k=(0,a.useCallback)((e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}),[]);(0,a.useEffect)((()=>{const e=x.current;function t(t){null!=e&&e.contains(t.target)||null==s||s()}return null==e||e.ownerDocument.addEventListener("pointerdown",t,{capture:!0}),Zn.YR.select(C,Zn.ML.end(C,[])),()=>{null==e||e.ownerDocument.removeEventListener("pointerdown",t,{capture:!0})}}),[C,s]);const A=(0,a.useMemo)((()=>Eo(Fo(E))),[E]),O=(0,a.useCallback)((e=>a.createElement(or,e)),[]),T=(0,a.useCallback)((e=>a.createElement(tr,e)),[]);(0,a.useEffect)((()=>(null==f||f(C),()=>{null==f||f(null)})),[C,f]),(0,a.useEffect)((()=>{v&&(Kn.F3.focus(C),setTimeout((()=>{Kn.F3.blur(C),Kn.F3.focus(C),b||Kn.F3.blur(C)}),0))}),[b]),(0,a.useEffect)((()=>{setTimeout((()=>{if(p&&x.current){const e=(0,Nt.Qo)(p,x.current.ownerDocument);if(!e)return;const t=Kn.F3.toSlatePoint(C,[e.startContainer,e.startOffset],{exactMatch:!0,suppressThrow:!0});t&&Zn.YR.select(C,t)}}),0)}),[C,p,t]);const I=(0,a.useCallback)((e=>{if("Escape"!==e.key)return"Enter"===e.key&&e.shiftKey?(null==u||u(),void e.preventDefault()):void(c&&Ao(D.current).length>=c&&e.preventDefault());null==d||d(e)}),[c,d,u]),F=(0,a.useCallback)((()=>{const{selection:e}=C;if(e&&Zn.e6.isCollapsed(e)){var t,n,o;const[i]=Zn.e6.edges(e),a=_o(C,2);if((null!=a&&null!==(t=a.text)&&void 0!==t&&t.startsWith(" ")||1===(null==a||null===(n=a.text)||void 0===n?void 0:n.length))&&null!=a&&null!==(o=a.text)&&void 0!==o&&o.endsWith("@")){var r;(0,Nt.kG)(a,"lastTwoCharacters should be defined");const e=null===(r=_o(C))||void 0===r?void 0:r.range;return e?{query:"",target:e}:null}{const e=Zn.ML.before(C,i,{unit:"word"}),t=e&&Zn.ML.before(C,e),n=t&&Zn.ML.range(C,t,i),o=n&&Zn.ML.string(C,n),r=o&&o.match(/^@(\w+)$/),a=Zn.ML.after(C,i),s=Zn.ML.range(C,i,a),l=Zn.ML.string(C,s).match(/^(\s|$)/);return r&&l&&n?{query:r[1],target:n}:null}}return null}),[C]),M=(0,a.useCallback)((e=>{var t;C.operations.every((e=>"set_selection"===e.type))&&(null==y||y(),"onSelectionChange"in C&&"function"==typeof C.onSelectionChange&&C.onSelectionChange());const n=e.map((e=>Po(e))).join("");D.current=n,i(`${P.pre.join("")}${n}${P.post.join("")}`,{activeMention:null!==(t=F())&&void 0!==t?t:null}),null==r||r(),"onValueChange"in C&&"function"==typeof C.onValueChange&&C.onValueChange(n)}),[i,r,P,C,y,F]);return a.createElement("div",{role:"presentation",className:l()(Xn().richTextEditor,"PSPDFKit-Rich-Text-Editor",h),style:o,ref:(0,Nt.FE)(t,x),onBlur:()=>{null==s||s(),null==g||g()},onDragStart:k,onDragEnd:k,onKeyUp:k,onMouseDown:k,onPointerUp:k,onTouchStart:k,onTouchEnd:k,onMouseUp:k},a.createElement(Kn.mH,{onChange:M,editor:C,value:A},a.createElement(Kn.CX,{title:S,placeholder:m,renderLeaf:T,renderElement:O,onInput:r,className:Xn().wrapper,onKeyDown:e=>{w?w(e):(I(e),(e.metaKey||e.ctrlKey)&&"b"===e.key?(e.preventDefault(),ko(C,"bold")):(e.metaKey||e.ctrlKey)&&"i"===e.key?(e.preventDefault(),ko(C,"italic")):(e.metaKey||e.ctrlKey)&&"u"===e.key&&(e.preventDefault(),ko(C,"underline")),Jo&&!Kn.F3.isComposing(C)&&setTimeout(C.onChange,10))}})))})),tr=e=>{let{attributes:t,children:n,leaf:o}=e;return o.bold&&(n=a.createElement("strong",null,n)),o.italic&&(n=a.createElement("em",null,n)),o.underline&&(n=a.createElement("u",null,n)),a.createElement("span",t,n)},nr=()=>a.createElement("span",{contentEditable:!1,style:{fontSize:0}},"$",String.fromCodePoint(160)),or=e=>{const{attributes:t,children:n,element:o}=e;switch(o.type){case"link":return a.createElement("a",(0,r.Z)({},t,{href:o.url}),Yo||(Yo=a.createElement(nr,null)),n,Xo||(Xo=a.createElement(nr,null)));case"mention":return a.createElement("span",(0,r.Z)({},t,{contentEditable:Qo?void 0:t.contentEditable,"data-user-id":o.userId}),n,"@",o.displayName);case"style":return a.createElement("span",(0,r.Z)({},t,{style:{color:o.fontColor,backgroundColor:o.backgroundColor}}),n);default:return a.createElement("p",t,n)}};var rr=n(87360),ir=n.n(rr),ar=n(54941);const sr=["onMention","users","onValueChange","mentionDropdownClassName","mentionListRenderer","mentionListClassName","onEditorInit","maxMentionSuggestions","onMentionSuggestionsOpenChange"],lr=a.forwardRef(((e,t)=>{let{onMention:n,users:o,onValueChange:s,mentionDropdownClassName:l,mentionListRenderer:c,mentionListClassName:u,onEditorInit:d,maxMentionSuggestions:p=5,onMentionSuggestionsOpenChange:f}=e,h=(0,i.Z)(e,sr);const[m,g]=a.useState([]),[v,y]=(0,a.useState)(null),b=(0,a.useRef)(null),[w,S]=(0,a.useState)(null),[E,P]=(0,a.useState)(0),x=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,(()=>({startMention:()=>{const e=b.current;(0,Nt.kG)(e,"Editor ref is not set");const t=_o(e,1);Zn.YR.insertText(e,Ro(t)?"@":" @"),Kn.F3.focus(e)}})));const D=(0,a.useCallback)((e=>{null==n||n(e);const t={userId:e.id,displayName:e.displayName||e.name,children:[{text:""}],type:"mention"};(0,Nt.kG)(b.current,"Editor ref is not set"),(0,Nt.kG)(v,"Target is not set"),Zn.YR.select(b.current,v),Zn.YR.insertNodes(b.current,t),Zn.YR.move(b.current),Zn.YR.insertText(b.current," "),P(0),g([]),y(null)}),[n,v]),C=(0,a.useCallback)((e=>{null==d||d(e),b.current=e}),[d]),k=(0,a.useCallback)((e=>{"ArrowDown"===e.key?(e.preventDefault(),P((e=>(e+1)%m.length))):"ArrowUp"===e.key?(e.preventDefault(),P((e=>(e-1+m.length)%m.length))):"Enter"===e.key?(e.preventDefault(),D(m[E])):"Escape"===e.key&&(e.preventDefault(),P(0),g([]),y(null))}),[m,E,D,v]);(0,a.useEffect)((()=>{if(x.current){const e=x.current.querySelector('[data-highlighted="true"]');e&&e.scrollIntoView({block:"nearest"})}}),[E]);const A=!(!v||!m.length);return(0,a.useEffect)((()=>{null==f||f(A)}),[f,A]),a.createElement(ar.fC,{modal:!1,open:A},a.createElement(ar.xz,{asChild:!0},a.createElement(er,(0,r.Z)({},h,{onValueChange:function(e,t){var n;null==s||s(e,t);const{activeMention:r}=t;if(y(null!==(n=null==r?void 0:r.target)&&void 0!==n?n:null),r)if(r.query.length){const e=ir().go(r.query,o,{keys:["name","displayName","description"]});g(e.slice(0,p).map((e=>e.obj)))}else g(o.slice(0,p));else g([]);P(0)},onEditorInit:C,ref:e=>{var t,n;e&&S(null!==(t=null===(n=e.ownerDocument)||void 0===n?void 0:n.body)&&void 0!==t?t:null)},onKeyDown:A?k:void 0}))),a.createElement(ar.h_,{container:w},a.createElement(ar.VY,{onOpenAutoFocus:e=>e.preventDefault(),className:l,role:"menu",ref:x,onInteractOutside:()=>{g([]),y(null)}},m.map(((e,t)=>a.createElement("div",{role:"menuitem",tabIndex:t===E?0:-1,"data-highlighted":t===E,key:e.id,className:u,onClick:()=>{D(e)},onMouseEnter:()=>P(t)},(null==c?void 0:c(e))||a.createElement("div",null,e.name)))))))}));var cr=n(12921),ur=n(12704),dr=n.n(ur),pr=n(11149),fr=n.n(pr);function hr(e){let{label:t,trigger:n,items:o,container:r=document.body,alignContent:i="center",className:s}=e;return a.createElement("div",{className:l()(fr().wrapper,s)},a.createElement(cr.fC,null,a.createElement(cr.xz,{asChild:!0},a.createElement("button",{className:fr().trigger,"aria-label":t},n||a.createElement(Mn.Z,{src:dr(),className:fr().triggerIcon}))),a.createElement(cr.Uv,{container:r},a.createElement(cr.VY,{className:fr().content,align:i},o.map(((e,t)=>(0,a.isValidElement)(e)?a.createElement(a.Fragment,{key:t},e):a.createElement(cr.ck,{key:t,className:fr().item,onSelect:e.onClick},e.content,e.helperText&&a.createElement("div",{className:fr().itemHelperText},e.helperText))))))))}function mr(e){let{checked:t,onCheckedChange:o,children:r}=e;return a.createElement(cr.oC,{className:l()(fr().item,fr().checkboxItem),checked:t,onCheckedChange:o},t&&a.createElement(Mn.Z,{src:n(70190),className:fr().itemCheckmark}),a.createElement("span",null,r))}const gr=function(){return a.createElement("div",{role:"separator",className:fr().separatorItem})}},74855:(e,t,n)=>{"use strict";n.d(t,{default:()=>rD});var o=n(84121),r=n(17375);n(41817),n(72443),n(69007),n(83510),n(41840),n(32159),n(84944),n(86535),n(2707),n(33792),n(99244),n(61874),n(9494),n(56977),n(19601),n(38559),n(54678),n(91058),n(88674),n(17727),n(83593),n(24603),n(74916),n(92087),n(39714),n(27852),n(32023),n(4723),n(15306),n(64765),n(23123),n(23157),n(48702),n(55674),n(33105),n(3462),n(33824),n(12974),n(4129),n(33948),n(84633),n(85844),n(60285),n(83753),n(41637),n(94301);"object"==typeof window&&(window._babelPolyfill=!1);var i=n(35369),a=n(50974),s=n(15973),l=(n(75376),n(59780)),c=n(89335),u=n(3845),d=n(1053),p=n(83634),f=n(74985),h=n(19209),m=n(18509),g=n(19419),v=n(65338),y=n(34426),b=n(11863),w=n(39745),S=n(76192),E=n(26248),P=n(13997),x=n(20792),D=n(52842),C=n(77973),k=n(67665),A=n(67366),O=n(73935),T=n(67294),I=n(94184),F=n.n(I),M=n(46797),_=n(75920),R=n(87153),N=n.n(R),L=(n(17938),n(71984)),B=n(88804),j=n(82481),z=n(97333),K=n(40230);function Z(e){return function(t){var n=t.dispatch,o=t.getState;return function(t){return function(r){return"function"==typeof r?r(n,o,e):t(r)}}}}var U=Z();U.withExtraArgument=Z;const V=U;n(94500);var G=n(30570),W=n(79827),q=n(36489),H=n(80857),$=n(72584);const Y=(0,H.Z)("MeasurementValueConfiguration");function X(e){let t=!1;e.forEach(((n,o)=>{var r;r=n,Y((0,a.PO)(r)&&!!r,"Expected item to be an object"),Y((0,a.PO)(r.scale)&&!!r.scale,"Expected scale to be an object"),Y(void 0!==r.scale.unitFrom&&Object.values(q.s).includes(r.scale.unitFrom),`Scale ${r.name} does not have a valid 'unitFrom' value.`),Y(void 0!==r.scale.unitTo&&Object.values(W.K).includes(r.scale.unitTo),`Scale ${r.name} does not have a valid 'unitTo' value.`),Y(void 0!==r.scale.fromValue&&(0,$.hj)(Number(r.scale.fromValue)),`Scale ${r.name} does not have a valid 'fromValue' value.`),Y(void 0!==r.scale.toValue&&(0,$.hj)(Number(r.scale.toValue)),`Scale ${r.name} does not have a valid 'toValue' value.`),Y("string"==typeof r.precision||void 0===r.precision,"`measurementValueConfiguration.measurementPrecision` must be a string.");for(let t=o+1;te.withMutations((e=>{t.annotations.forEach((t=>{(0,J.ud)(e,t)}))})),[te.ILc]:(e,t)=>{const n=t.annotation.withMutations((n=>n.merge((0,J.lx)(e)).set("pageIndex",t.pageIndex)));return e.withMutations((e=>{e.set("selectedAnnotationIds",(0,i.l4)([n.id])),e.set("interactionMode",x.A.INK),e.set("selectedAnnotationMode",Q.o.EDITING),(0,J.ud)(e,n)}))},[te.RPc]:(e,t)=>e.set("inkEraserCursorWidth",t.lineWidth),[te.HS7]:(e,t)=>{const n=t.annotation.withMutations((n=>n.merge((0,J.lx)(e)).set("pageIndex",t.pageIndex)));return e.withMutations((e=>{e.set("selectedAnnotationIds",(0,i.l4)([n.id])),e.set("interactionMode",(0,ee.R4)(t.annotation.constructor)),e.set("selectedAnnotationMode",Q.o.EDITING),(0,J.ud)(e,n)}))},[te.jzI]:(e,t)=>{const n=t.annotation.withMutations((n=>n.merge((0,J.lx)(e)).set("pageIndex",t.pageIndex)));return e.withMutations((e=>{e.set("selectedAnnotationIds",(0,i.l4)([n.id])),e.set("interactionMode",x.A.REDACT_SHAPE_RECTANGLE),e.set("selectedAnnotationMode",Q.o.EDITING),(0,J.ud)(e,n)}))},[te.oE1]:(e,t)=>{let{attributes:n}=t;const{currentItemPreset:o}=e;return o?e.hasIn(["annotationPresets"],o)?e.mergeIn(["annotationPresets",o],n):e.setIn(["annotationPresets",o],n):e},[te.oWy]:(e,t)=>{let{currentItemPreset:n}=t;return e.set("currentItemPreset",n)},[te.UiQ]:(e,t)=>{let{annotationPresets:n}=t;return e.set("annotationPresets",n)},[te.R1i]:(e,t)=>{let{annotationID:n,annotationPresetID:o}=t;return e.setIn(["annotationPresetIds",n],o)},[te.x0v]:(e,t)=>{let{annotationID:n}=t;return e.delete("annotationPresetIds",n)},[te.JwD]:(e,t)=>{let{annotationID:n}=t;const o=e.annotationPresetIds.has(n)?e.annotationPresetIds.get(n):(0,J.X5)(e,n);return e.set("currentItemPreset",o)},[te.R8P]:(e,t)=>e.withMutations((e=>{t.annotations.forEach((t=>{(0,J._E)(e,t)}))})),[te.gF5]:(e,t)=>e.withMutations((e=>{t.ids.forEach((t=>{(0,J.Dl)(e,t)}))})),[te.sCM]:(e,t)=>{let{annotationsIDs:n}=t;return e.set("annotationsIdsToDelete",n)},[te.qRJ]:(e,t)=>{let{stampAnnotationTemplates:n}=t;return e.set("stampAnnotationTemplates",n)},[te.WaW]:(e,t)=>e.set("collapseSelectedNoteContent",t.value),[te.ieh]:(e,t)=>e.withMutations((e=>{t.ids.forEach(((t,n)=>{e.invalidAPStreams.get(t)||e.set("invalidAPStreams",e.invalidAPStreams.set(t,(0,i.l4)()));const o=e.invalidAPStreams.get(t);o&&e.set("invalidAPStreams",e.invalidAPStreams.set(t,o.add(n)))}))})),[te.kVz]:(e,t)=>e.withMutations((e=>{t.ids.forEach(((t,n)=>{e.invalidAPStreams.get(t)&&e.deleteIn(["invalidAPStreams",t],n)}))})),[te.hw0]:(e,t)=>e.set("onAnnotationResizeStart",t.callback),[te.$8O]:(e,t)=>{let{measurementToolState:n}=t;return e.set("measurementToolState",n?oe(oe({},e.measurementToolState),n):null)},[te.UP4]:(e,t)=>{let{hintLines:n}=t;return e.set("hintLines",n)},[te.vkF]:(e,t)=>{let{configurationCallback:n}=t;return e.set("measurementValueConfiguration",n)},[te.SdX]:(e,t)=>{var n,o;let{scales:r}=t;const i=null!==(n=null===(o=e.measurementValueConfiguration)||void 0===o?void 0:o.call(e,r))&&void 0!==n?n:r;i&&X(i);const a=e.activeMeasurementScale||i.find((e=>e.selected))||i[0];return e.withMutations((e=>{e.set("measurementScales",i),a&&e.set("activeMeasurementScale",a)}))},[te.Zt9]:(e,t)=>e.set("secondaryMeasurementUnit",t.secondaryMeasurementUnit),[te.VNu]:(e,t)=>e.set("activeMeasurementScale",t.activeMeasurementScale),[te.wgG]:(e,t)=>e.set("isCalibratingScale",t.isCalibratingScale),[te.Dqw]:(e,t)=>e.withMutations((e=>{"down"===t.variant?e.updateIn(["APStreamVariantsDown"],(e=>e.concat(t.annotationObjectIds))):"rollover"===t.variant&&e.updateIn(["APStreamVariantsRollover"],(e=>e.concat(t.annotationObjectIds)))})),[te.uOP]:(e,t)=>e.set("widgetAnnotationToFocus",t.annotationId)};function ae(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,t=arguments.length>1?arguments[1]:void 0;const n=ie[t.type];return n?n(e,t):e}const se=new j.ZM,le={[te.huI]:(e,t)=>{const{hash:n,attachment:o}=t;return e.setIn(["attachments",n],o)}};function ce(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:se,t=arguments.length>1?arguments[1]:void 0;const n=le[t.type];return n?n(e,t):e}var ue=n(25915),de=n(27515),pe=n(18146),fe=n(75237),he=n(79941),me=n(49027),ge=n(60132),ve=n(72131);function ye(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function we(e){for(var t=1;t()=>{};function Ee(){const e=T.createContext(Se);class t extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{instances:{}}),(0,o.Z)(this,"refCreator",((e,t,n)=>o=>{this.setState((r=>{let{instances:i}=r;const a=i[e]||{node:null,portalTarget:document.createElement("div"),target:null};return n&&(a.portalTarget.className=n),a.portalTarget.parentNode!==o&&o&&o.appendChild(a.portalTarget),a.node===t&&a.target===o?null:{instances:we(we({},i),{},{[e]:we(we({},a),{},{node:t,target:o})})}}),(()=>{if(null===o){null===this.state.instances[e].target&&this.setState((t=>{let{instances:n}=t;const{[e]:o}=n;return{instances:(0,r.Z)(n,[e].map(ye))}}))}}))}))}render(){const t=Object.entries(this.state.instances).map((e=>{let[t,{node:n,portalTarget:o}]=e;return O.createPortal(void 0===n?null:n,o,t)}));return T.createElement(e.Provider,{value:this.refCreator},this.props.children,t)}}return{Provider:t,Reparent:function(t){let{id:n,children:o,className:r}=t;return T.createElement(e.Consumer,null,(e=>T.createElement("div",{ref:e(n,o,r)})))}}}const Pe=Ee(),xe=Ee();Ee();var De=n(22122);function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ke(e){for(var t=1;t{if(a&&n&&n!==a.firstChild){for(;a.firstChild;)a.removeChild(a.firstChild);a.appendChild(n)}return()=>{const e=l.current;e&&e(n)}}),[n,a]),T.useLayoutEffect((()=>{l.current=i}),[i]),T.createElement("div",{style:{position:"relative"}},t&&o,n&&T.createElement("div",{ref:s,style:r}))}function Oe(e,t){return!e&&!t}const Te={node:"object",append:"boolean",noZoom:"boolean",onDisappear:"function"};const Ie=(0,A.$j)((e=>({customRenderers:e.customRenderers})))((function(e){const{children:t,customRenderers:n,renderer:o,zoomLevel:r,notCSSScaled:i=!1}=e;if(!n||!n[o])return t;const s=T.Children.only(t),l=s.props,c=Fe[o],u=n[o];(0,a.kG)(null!=u);const d=u(c(l));if(!d)return t;!function(e){(0,a.kG)(e.node,"Custom renderers must return an object with a node property.");for(const t in e)e.hasOwnProperty(t)&&((0,a.kG)(void 0!==Te[t],`Render configuration '${t}' property is not supported`),(0,a.kG)(typeof e[t]===Te[t],`Render configuration ${t} property has wrong '${typeof e[t]}' type, should be '${Te[t]}'`))}(d);const{node:p,append:f,noZoom:h=!1,onDisappear:m}=d,g=Me[o];(0,a.kG)("boolean"==typeof h);const v=ke({pointerEvents:f?"none":"all"},g?g(l,h,i,r):null);return T.createElement(Ae,{node:p,append:f,onDisappear:m,rendererStyles:v},s)})),Fe={Annotation:e=>({annotation:e.annotation}),CommentAvatar:e=>({comment:e.comment})},Me={Annotation:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;if(e&&e.annotation&&e.annotation.boundingBox){const{left:r,top:i,width:a,height:s}=e.annotation.boundingBox;return ke({position:"absolute",left:r*o,top:i*o,width:n?a*o:a,height:n?s*o:s},Oe(t,n)?{transform:`scale(${o})`,transformOrigin:"0 0"}:null)}return{}},CommentAvatar:null};var _e=n(18390),Re=n(76154),Ne=n(97413);function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}class Be extends T.PureComponent{render(){const{applyZoom:e,children:t,position:n,zoomLevel:r,noRotate:i,currentPagesRotation:a,disablePointerEvents:s,additionalStyle:l={},isMultiAnnotationsSelected:c}=this.props;(0,Ne.k)(!i||"number"==typeof a);const u=(e?`scale(${r}) `:"")+(i?`rotate(-${String(a)}deg)`:""),d=function(e){for(var t=1;t{e.isPrimary&&(!this.props.isReadOnly&&e.preventDefault(),this._handlePress(e,"touch"!==e.pointerType?new j.E9({x:e.clientX,y:e.clientY}):null))})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.props.dispatch((0,je.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0,ignoreReadOnly:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_onFocus",(e=>{this.props.onFocus&&this.props.onFocus(this.props.annotation,e)})),(0,o.Z)(this,"_onBlur",(e=>{this.props.onBlur&&this.props.onBlur(this.props.annotation,e)}))}render(){const{annotation:e,zoomLevel:t,rotation:n,active:o,intl:{formatMessage:r}}=this.props,{width:i,height:a}=e.boundingBox,s=this.props.isReadOnly?{onPointerUp:this._onPointerDownUp}:{onPointerDown:this._onPointerDownUp},l=F()("PSPDFKit-Annotation","PSPDFKit-Comment-Marker-Annotation",o&&!this.props.isDisabled&&"PSPDFKit-Annotation-Selected",o&&!this.props.isDisabled&&"PSPDFKit-Comment-Marker-Annotation-Selected",Ve().annotation);return T.createElement(Be,{position:e.boundingBox.getLocation(),zoomLevel:t,currentPagesRotation:n,noRotate:!0,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},T.createElement(_e.Z,(0,De.Z)({},s,{onClick:this._handleClick,onFocus:this._onFocus,onBlur:this._onBlur,disabled:this.props.isDisabled,style:{width:i,height:a,transformOrigin:"top left",transform:`translate(${i*t/2-i/2}px, ${a*t/2-a/2}px)`},className:l,"data-annotation-id":e.id,"aria-controls":`CommentThread-${e.id}`,"aria-label":`${r(Ke.Z.annotation)}: ${r(Ke.Z.comment)}`}),T.createElement(Ze.Z,{style:{width:20,height:20},className:F()(Ve().icon,o&&Ve().iconActive),type:"comment-indicator"})))}}const We=(0,Re.XN)(Ge,{forwardRef:!0});var qe,He=n(45588),$e=n(86366),Ye=n(13540),Xe=n(73264),Je=n(91859),Qe=n(58054),et=n.n(Qe),tt=n(36095),nt=n(16126),ot=n(75669),rt=n(92606),it=n.n(rt);function at(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function st(e){for(var t=1;t{e&&!this._fetchImageComponentInstance&&(this._fetchImageComponentInstance=e)})),(0,o.Z)(this,"_fetchImageComponentInstance",null),(0,o.Z)(this,"state",{loadingState:"LOADING",showLoadingIndicator:!1,renderedAnnotation:null}),(0,o.Z)(this,"_fetchImage",(()=>{const{backend:e,attachment:t,zoomLevel:n,isDetachedAnnotation:o}=this.props;let r=this.props.annotation;return o&&(r=r.update("boundingBox",(e=>null==e?void 0:e.set("left",0).set("top",0)))),(0,He.an)({backend:e,blob:null==t?void 0:t.data,annotation:r,isDetachedAnnotation:Boolean(o),zoomLevel:n,variant:this.props.variant})})),(0,o.Z)(this,"_renderFinished",(()=>{var e,t;this.isAlive&&(this.props.annotation instanceof j.GI&&this.setState({renderedAnnotation:this.props.annotation}),this._shouldShowIndicators&&this.setState({loadingState:"LOADED"}),null===(e=(t=this.props).onRenderFinished)||void 0===e||e.call(t))})),(0,o.Z)(this,"_showError",(()=>{var e,t;this.isAlive&&(this.props.annotation instanceof j.GI||this.props.annotation instanceof j.sK||this.props.annotation instanceof j.Ih?this._shouldShowIndicators&&this.setState({loadingState:"ERROR"}):null===(e=(t=this.props).onError)||void 0===e||e.call(t))})),(0,o.Z)(this,"_showLoadingIndicator",(()=>{this.isAlive&&this._shouldShowIndicators&&this.setState((e=>({showLoadingIndicator:"LOADING"===e.loadingState})))}))}componentDidUpdate(e){!this.props.isDragging&&this.isAlive&&dt(e,this.props)&&(this._fetchImageComponentInstance&&this.props.annotation.rotation!==e.annotation.rotation?this._fetchImageComponentInstance.refreshSkippingThrottle():this._fetchImageComponentInstance&&this._fetchImageComponentInstance.refresh())}componentDidMount(){this._shouldShowIndicators&&setTimeout(this._showLoadingIndicator,Je.rB)}componentWillUnmount(){this.isAlive=!1;const{annotation:e,backend:t}=this.props;"imageAttachmentId"in e&&e.imageAttachmentId&&(t.attachmentsCache=t.attachmentsCache.delete((0,He.UW)(e)))}render(){var e;const{annotation:t,attachment:n,formField:o,label:r,zoomLevel:i}=this.props,s=t instanceof j.GI&&(null===(e=this.state.renderedAnnotation)||void 0===e?void 0:e.opacity)!==t.opacity,l=st(st(st({},ct),function(e){let{annotation:t,attachment:n,zoomLevel:o}=e;if(t instanceof j.x_||t instanceof j.R1)return{position:"absolute",top:0};if(t instanceof j.UX||t instanceof j.Zc)return{padding:tt.Ni?Je.wK:Je.XZ};if(t instanceof j.GI&&(0,ot.kv)(t)){const e=(0,ot.h4)(t),n=(t.boundingBox.width-e.boundingBox.width)/2*o,r=(t.boundingBox.height-e.boundingBox.height)/2*o;return{transformOrigin:"50% 50%",transform:`translate(${-n}px, ${-r}px) rotate(${String(t.rotation)}deg)`,width:t.boundingBox.width*o,height:t.boundingBox.height*o}}if(t instanceof j.gd&&(0,ot.kv)(t)){const e=(0,ot.h4)(t),n=(t.boundingBox.width-e.boundingBox.width)/2*o,r=(t.boundingBox.height-e.boundingBox.height)/2*o;return{transformOrigin:"50% 50%",transform:`translate(${-n}px, ${-r}px) rotate(${String(t.rotation)}deg)`,width:t.boundingBox.width*o,height:t.boundingBox.height*o}}if(t instanceof j.sK&&n&&t.opacity<1)return{opacity:t.opacity};if(t instanceof j.R1||t instanceof j.gd||t instanceof j.On||t instanceof j.Qi||t instanceof j.Ih||t instanceof j.sK||t instanceof j.GI)return{};(0,a.Rz)(t.constructor)}({annotation:this.state.renderedAnnotation||t,attachment:n,zoomLevel:i})),s?{opacity:t.opacity}:null),c=F()(it().wrapper,"PSPDFKit-APStream-Wrapper",{[it().loading]:this._shouldShowIndicators&&"LOADING"===this.state.loadingState&&this.state.showLoadingIndicator,[it().error]:this._shouldShowIndicators&&"ERROR"===this.state.loadingState}),u=F()(t instanceof j.GI&&it().stampAnnotation,t instanceof j.x_&&it().widgetAnnotation,"PSPDFKit-APStream"),d=t instanceof j.GI||t instanceof j.sK||t instanceof j.Ih||t instanceof j.x_&&o instanceof j.Yo?null:0;return T.createElement("figure",{style:l,className:c,"data-name":null==o?void 0:o.name},T.createElement($e.Z,{className:u,fetchImage:this._fetchImage,label:r,visible:!0,onRenderFinished:this._renderFinished,onError:this._showError,throttleTimeout:d,rectStyle:ut,ref:this._imageFetcherRef}),"description"in t&&t.description&&T.createElement(ue.TX,{tag:"figcaption"},t.description),this._shouldShowIndicators&&"LOADING"===this.state.loadingState&&this.state.showLoadingIndicator?T.createElement("div",{className:it().placeholder},qe||(qe=T.createElement(Xe.Z,null))):this._shouldShowIndicators&&"ERROR"===this.state.loadingState?T.createElement("div",{className:it().placeholder},T.createElement(Ye.Z,{src:et(),className:it().errorIcon})):null)}}const ct={position:"relative",overflow:"hidden",margin:0,pointerEvents:"none",width:"100%",height:"100%"},ut={pointerEvents:"none",width:"100%",height:"100%"};function dt(e,t){return t.zoomLevel>e.zoomLevel||(0,J.AC)(e.annotation,t.annotation)||(0,J.TL)(e.formField,t.formField)||t.formField&&e.formField&&t.formField.formattedValue!==e.formField.formattedValue||!(0,nt.BT)(t.formField,e.formField)||e.variant!==t.variant||e.isDigitallySigned!==t.isDigitallySigned}var pt=n(13944);class ft extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"el",null),(0,o.Z)(this,"_innerRef",(e=>{this.el=e})),(0,o.Z)(this,"_handlePointerDown",(e=>{e.isPrimary&&this.props.isSelectable&&this._handlePress(e,"touch"!==e.pointerType?new j.E9({x:e.clientX,y:e.clientY}):null)})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.props.dispatch((0,je.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;t&&t(n,e),this.props.dispatch((0,je.Oc)(n.id))}))}componentDidUpdate(){this.props.isFocused&&this.el&&this.el.focus()}render(){const{annotation:e,attachment:t,backend:n,onRenderFinished:o,zoomLevel:r,isSelectable:i,isDisabled:a,isDragging:s,intl:{formatMessage:l}}=this.props,{boundingBox:c,id:u}=e,d={cursor:i?"pointer":"auto",overflow:"hidden",width:c.width*r,height:c.height*r,display:"block",outline:this.props.isFocused?J.A8:null};return T.createElement(Pe.Reparent,{id:`annotation-image-${u}`},T.createElement(Be,{position:c.getLocation(),zoomLevel:r,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},T.createElement(pt.Z,{onPointerUp:this._handlePointerUp},T.createElement(_e.Z,{disabled:a,onPointerDown:this._handlePointerDown,onClick:this._handleClick,onFocus:this._handleFocus,onBlur:this._handleBlur,style:d,className:"PSPDFKit-Annotation PSPDFKit-Image-Annotation","data-annotation-id":e.id,"aria-label":`${l(Ke.Z.annotation)}: ${l(Ke.Z.imageAnnotation)}`,innerRef:this._innerRef},T.createElement(lt,{annotation:e,attachment:t,backend:n,onRenderFinished:o,zoomLevel:r,label:l(Ke.Z.imageAnnotation),isDragging:s,onError:this.props.onError})))))}}const ht=(0,Re.XN)(ft,{forwardRef:!0});var mt=n(97528),gt=n(51731),vt=n(78233);function yt(e){switch(e){case gt.V.TOP:return{mx:0,my:-1};case gt.V.BOTTOM:return{mx:0,my:1};case gt.V.LEFT:return{mx:-1,my:0};case gt.V.RIGHT:return{mx:1,my:0};case gt.V.TOP_LEFT:return{mx:-1,my:-1};case gt.V.TOP_RIGHT:return{mx:1,my:-1};case gt.V.BOTTOM_RIGHT:return{mx:1,my:1};case gt.V.BOTTOM_LEFT:return{mx:-1,my:1}}throw new a.p2("Expected `getMultipliersFromResizeStartingAnchor` to be called with a valid `ResizeStartingAnchor` value.")}function bt(e,t,n,o,r){const i=yt(t);let a,s=e.width+i.mx*n.x,l=e.height+i.my*n.y;return r&&o&&(i.mx>0&&e.left+s>o.width?(s=o.width-e.left,a="width"):i.mx<0&&s-e.width>e.left&&(s=e.left+e.width,a="width"),i.my>0&&e.top+l>o.height?(l=o.height-e.top,a="height"):i.my<0&&l-e.height>e.top&&(l=e.top+e.height,a="height")),{rect:e.set("width",s).set("height",l),keepToSide:a}}function wt(e,t,n,o,r){const i=yt(t),a=-1*i.mx*(e.width-e.width*n),s=-1*i.my*(e.height-e.height*o),l=r?new j.E9({x:i.mx>=0?0:Math.max(-e.left,a),y:i.my>=0?0:Math.max(-e.top,s)}):new j.E9({x:i.mx>=0?0:a,y:i.my>=0?0:s});return{translation:l,dragDifference:r?new j.E9({x:i.mx>=0?0:a-l.x,y:i.my>=0?0:s-l.y}):new j.E9({x:0,y:0})}}function St(e,t){const n=yt(t);return new j.E9({x:e.boundingBox.left+e.boundingBox.width/2+-1*n.mx*e.boundingBox.width/2,y:e.boundingBox.top+e.boundingBox.height/2+-1*n.my*e.boundingBox.height/2})}function Et(e,t,n,o){let r=e.lines;const i=St(e,o);return r=r.map((e=>e.map((e=>e.translate(i.scale(-1)).scale(t,n).translate(i))))),r}function Pt(e,t,n,o){let r;if(e instanceof j.o9)r=(0,i.aV)([e.startPoint,e.endPoint]);else{if(!(e instanceof j.Hi||e instanceof j.om))return(0,i.aV)();r=e.points}const a=St(e,o);return r=r.map((e=>e.translate(a.scale(-1)).scale(t,n).translate(a))),r}function xt(e,t,n){const o=Ct(e);if(o>0){const r=e.boundingBox,i=r.widtho.maxWidth&&(i=o.maxWidth),o.minWidth&&io.maxHeight&&(s=o.maxHeight),o.minHeight&&t.height4&&void 0!==arguments[4])||arguments[4],i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0;const l=e.boundingBox;let c;if((0,ot.o0)(e)&&!(0,ot.Ag)(e)){const o=yt(n),r=new j.E9({x:l.width/2*o.mx,y:l.height/2*o.my}),i=r.rotate(e.rotation),a=new j.E9({x:i.x+t.x,y:i.y+t.y}).rotate(-e.rotation);c=new j.E9({x:a.x-r.x,y:a.y-r.y})}else c=t;const u=bt(l,n,c,i,a);let d=u.rect;if(o&&(d=kt(u.keepToSide,l,d)),r&&s&&(null!=s&&s.maxHeight||null!=s&&s.maxWidth||null!=s&&s.minHeight||null!=s&&s.minWidth)){const t=Ct(e);s.minHeight=s.minHeight?s.minHeight:t,s.minWidth=s.minWidth?s.minWidth:t}else r&&(d=xt(e,d,o));const p=0!==l.width?d.width/l.width:0,f=0!==l.height?d.height/l.height:0,{translation:h,dragDifference:m}=wt(l,n,p,f,a);d=d.set("width",d.width+m.x).set("height",d.height+m.y),d=d.translate(h),(null!=s&&s.maxHeight||null!=s&&s.maxWidth||null!=s&&s.minHeight||null!=s&&s.minWidth)&&(d=Dt(e,d,o,s));const g=function(){const t=e.set("boundingBox",d),r=Math.sqrt(p*f);let i;return t instanceof j.gd?(0,vt.XA)((0,ot.Ag)(e)&&n===At[e.rotation]||!(0,ot.Ag)(e)&&n===gt.V.BOTTOM_RIGHT?t.set("fontSize",e.fontSize*r):t):t instanceof j.Zc?t.withMutations((e=>{e.set("lines",Et(t,p,f,o?Ot[n]:n)),e.set("lineWidth",t.lineWidth*r)})):t instanceof j.o9?(i=Pt(t,p,f,n),t.withMutations((e=>{e.set("startPoint",i.get(0)),e.set("endPoint",i.get(1))}))):t instanceof j.Hi||t instanceof j.om?(i=Pt(t,p,f,n),t.withMutations((e=>{e.set("boundingBox",d),e.set("points",i)}))):t}();return It(g,l)}function It(e,t){if((0,ot.o0)(e)&&!(0,ot.Ag)(e)){const n=new j.E9({x:e.boundingBox.getCenter().x-t.getCenter().x,y:e.boundingBox.getCenter().y-t.getCenter().y}).rotate(e.rotation);return e.update("boundingBox",(e=>e.set("left",t.left+n.x-(e.width-t.width)/2).set("top",t.top+n.y-(e.height-t.height)/2)))}return e}var Ft=n(73815);function Mt(e){var t,n,o,r;if(0===e.lines.size)return new j.UL;const i=e.lines.flatMap((e=>e)),a=Math.ceil((null===(t=i.maxBy((e=>e.x)))||void 0===t?void 0:t.x)+e.lineWidth/2),s=Math.ceil((null===(n=i.maxBy((e=>e.y)))||void 0===n?void 0:n.y)+e.lineWidth/2),l=Math.floor((null===(o=i.minBy((e=>e.x)))||void 0===o?void 0:o.x)-e.lineWidth/2),c=Math.floor((null===(r=i.minBy((e=>e.y)))||void 0===r?void 0:r.y)-e.lineWidth/2);return new j.UL({width:a-l,height:s-c,top:c,left:l})}function _t(e,t,n){const{width:o,height:r}=e.boundingBox,i=function(e,t){const{width:n,height:o}=e,r=t.width/n,i=t.height/o,a=Math.min(r,i);return new j.$u({width:n*a,height:o*a})}(new j.$u({width:o,height:r}),t);return Tt(e,new j.E9({x:i.width-o,y:i.height-r}),gt.V.BOTTOM_RIGHT,n,!1)}const Rt=e=>{const t=Math.abs(Math.ceil(Math.log10((0,Ft.L)()*e)));let n;return n=t>100?100:t,n},Nt=(e,t)=>{const n=e.first();if(1===e.size&&n)return[`L ${n.x},${n.y}`];const o=[`M ${n.x},${n.y}`],r=e.get(1);if(2===e.size&&r)return o.push(`L ${r.x},${r.y}`),o;for(let n=2,r=e.size;n{const t=e.first();return 1===e.size&&t?[`L ${t.x},${t.y}`]:e.reduce(((e,t,n)=>(n>0&&e.push(`L ${t.x},${t.y}`),e)),[`M ${t.x},${t.y}`])};function Bt(e){const t=Math.ceil(2*e)+4,n=Math.ceil(2*e)+4,o=document.createElement("canvas");o.width=t,o.height=n;const r=o.getContext("2d");return(0,Ne.k)(r),r.beginPath(),r.arc(e+2,e+2,e,0,2*Math.PI,!1),r.lineWidth=1,r.strokeStyle="rgba(0,0,0,.7)",r.stroke(),r.beginPath(),r.arc(e+2,e+2,e+1,0,2*Math.PI,!1),r.lineWidth=1,r.strokeStyle="white",r.stroke(),o.toDataURL()}function jt(e){if(tt.Mn||e<3)return"crosshair";const t=Bt(e),n=tt.SR;if("webkit"===n||"blink"===n){return`-webkit-image-set(\n url('${t}') 1x,\n url('${Bt(2*e)}') 2x\n ) ${e+2} ${e+2}, crosshair`}return`url('${t}') ${e+2} ${e+2}, crosshair`}var zt=n(70994),Kt=n.n(zt);function Zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ut(e){for(var t=1;t{e.persist(),e.isPrimary&&(e.preventDefault(),this._handlePress(e,"touch"!==e.pointerType?new j.E9({x:e.clientX,y:e.clientY}):null))})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.precision=Rt(this.props.zoomLevel),this.props.dispatch((0,je.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;t&&t(n,e),this.props.dispatch((0,je.Oc)(n.id))})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()})),(0,o.Z)(this,"el",null),(0,o.Z)(this,"_innerRef",(e=>{this.el=e}))}componentDidUpdate(){this.props.isFocused&&this.el&&this.el.focus()}render(){const{annotation:e,intl:{formatMessage:t},isSelectable:n,pathDataFromFragments:o,backend:r,zoomLevel:i,isDragging:a=!1,shouldKeepRenderingAPStream:s=!1}=this.props,{boundingBox:l,blendMode:c}=e,u=l.grow(tt.Ni?Je.wK:Je.XZ),d=Ut(Ut(Ut({},u.toJS()),n&&{cursor:"pointer"}),{},{outline:this.props.isFocused?J.A8:null}),p=c&&"normal"!==c?Ut({mixBlendMode:(0,J.vk)(c)},tt.G6?{transform:"translate3d(0,0,0)"}:null):{};return T.createElement("div",{style:p},T.createElement(Be,{zoomLevel:this.props.zoomLevel,applyZoom:!0,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},T.createElement(_e.Z,{disabled:this.props.isDisabled,onClick:this._handleClick,onFocus:this._handleFocus,onBlur:this._handleBlur,onPointerUp:s?this._handlePointerUp:void 0,className:F()(Kt().container,"PSPDFKit-Ink-Annotation PSPDFKit-Annotation"),style:d,"data-annotation-id":e.id,"aria-label":`${t(Ke.Z.annotation)}: ${t(Ke.Z.inkAnnotation)}`,innerRef:this._innerRef},T.createElement(Wt,{annotation:e,onPointerDown:this._handlePointerDown,isSelectable:this.props.isSelectable,viewBox:u,pathDataFromFragments:o,renderInvisibleClickPath:s,precision:this.precision}),s&&r&&T.createElement(Pe.Reparent,{id:`annotation-ink-${e.id}`},T.createElement(lt,{annotation:e,backend:r,zoomLevel:i,label:t(Ke.Z.inkAnnotation),isDragging:a,onError:this.props.onError})))))}}const Gt=(0,Re.XN)(Vt,{forwardRef:!0}),Wt=function(e){let{annotation:t,isSelectable:n,viewBox:o,pathDataFromFragments:r=(()=>null),onPointerDown:a,renderInvisibleClickPath:s=!1,precision:l=Rt(1)}=e;const{ENABLE_INK_SMOOTH_LINES:c}=mt.Ei,u=T.useMemo((()=>c?e=>Nt(e,l):Lt),[l,c]),d=T.useRef([]),p=T.useCallback(((e,n,o)=>r(t.id,n,o)||(e=>e.reduce(((e,t)=>(null==t?e.push((0,i.aV)()):e[e.length-1]=e[e.length-1].push(t),e)),[(0,i.aV)()]).filter((e=>e.size>0)))(e).map(u).flat()),[r,u,t]);d.current=T.useMemo((()=>{t.lines.size!==d.current.length&&(d.current=[]);const e=[];return t.lines.forEach((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,i.aV)(),n=arguments.length>1?arguments[1]:void 0;e.push(p(t,n,d.current[n]))})),e}),[t,p]);const f=T.useMemo((()=>{const{strokeColor:e,lineWidth:o,lines:r}=t,i={stroke:(null==e?void 0:e.toCSSValue())||"transparent",strokeWidth:o,pointerEvents:"none"},l={strokeWidth:n?Math.max(tt.Ni?Je.wK:Je.XZ,o):0},u=F()({[Kt().path]:!0,[Kt().selectable]:!0,"PSPDFKit-Smooth-Lines":c}),p=r.map(((e,t)=>{const o=(r=d.current[t]).reduce(((e,t,n)=>(r[n-1]&&"M 0,0"!==r[n-1]||!t.startsWith("L")||e.push(t.replace("L","M")),e.push(t),e)),[]).join(" ");var r;return T.createElement("g",{key:t},!s&&T.createElement("path",{className:u,style:i,d:o,"data-testid":"ink-path"}),n&&T.createElement("path",{onPointerDown:a,className:u,style:l,stroke:"transparent",d:o,"data-testid":"clickable-path"}))}));return T.createElement("g",null,p)}),[t,n,a,c,s]),h=T.useMemo((()=>{const{backgroundColor:e,boundingBox:n}=t,o=F()({[Kt().rect]:!0,[Kt().selectable]:!!e}),r={fill:(null==e?void 0:e.toCSSValue())||"transparent"},{width:i,height:s,top:l,left:c}=n;return T.createElement("rect",{onPointerDown:a,x:c,y:l,width:i,height:s,className:o,style:r})}),[a,t,s]),m=`${o.left} ${o.top} ${o.width} ${o.height}`,g={left:0,top:0,width:"100%",height:"100%",opacity:t.opacity,overflow:"hidden"};return T.createElement("svg",{viewBox:m,style:g,className:Kt().svg,focusable:!1,"data-testid":"ink-svg"},h,f)};var qt=n(17090),Ht=n.n(qt);function $t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Yt(e){for(var t=1;tfunction(e){var t;switch((null===(t=e.action)||void 0===t?void 0:t.constructor)||null){case c.lm:{const t=e.action;return(0,a.kG)("string"==typeof t.uri,"URIAction requires `uri`"),{type:"a",props:{href:t.uri,"aria-label":t.uri}}}case c.Di:{const t=e.action;(0,a.kG)("number"==typeof t.pageIndex,"GoToAction requires `pageIndex`");const n=`#page=${t.pageIndex}`;return{type:"a",props:{href:n,"aria-label":n}}}case c.BO:{const t=e.action;return(0,a.kG)("boolean"==typeof t.includeExclude,"ResetFormAction requires `includeExclude`"),{type:"button",props:{type:"reset","aria-label":`Reset${t.fields?t.fields.join(" "):""}`}}}case c.pl:{const t=e.action;return(0,a.kG)("string"==typeof t.uri,"ResetFormAction requires `uri`"),(0,a.kG)("boolean"==typeof t.includeExclude,"ResetFormAction requires `includeExclude`"),{type:"button",props:{type:"submit","aria-label":`Submit to ${t.uri}`}}}default:return{type:"div",props:{}}}}(t)),[t]),C=T.useCallback((function(e){o(t,e)}),[t,o]),k=T.useCallback((function(e){r(t,e)}),[t,r]);return T.createElement(Be,{position:i.getLocation(),zoomLevel:s,disablePointerEvents:!0,isMultiAnnotationsSelected:h},T.createElement(_e.Z,{disabled:n,className:F()(`PSPDFKit-${t.constructor.readableName}-Annotation PSPDFKit-Annotation`),style:P,onClick:function(e){"keypress"===e.type&&function(e,n){(0,je.mg)(t,e,{selectedAnnotationShouldDrag:n,stopPropagation:!0})}(e,null)},onFocus:function(t){const{onFocus:n,annotation:o}=e;n&&n(o,t)},onBlur:function(t){const{onBlur:n,annotation:o}=e;n&&n(o,t),d((0,je.Oc)(o.id))},onPointerUp:u?function(e){e.stopPropagation()}:void 0,"data-annotation-id":t.id,"aria-label":"Link-annotation",innerRef:g,onMouseEnter:()=>{d((0,je.oX)(t.id))},onMouseLeave:()=>{d((0,je.IP)(t.id))}},T.createElement(D.type,(0,De.Z)({},D.props,{className:v,style:x,onFocus:C,onBlur:k,"data-annotation-id":t.id,tabIndex:n?-1:0,"aria-disabled":n?"true":"false"})),u&&p&&T.createElement(Pe.Reparent,{id:`annotation-link-${t.id}`},T.createElement(lt,{annotation:t,backend:p,zoomLevel:s,label:m(Ke.Z.linkAnnotation),isDragging:f,onError:e.onError}))))}));const Jt=Xt;var Qt=n(69939),en=n(18025),tn=n(72032),nn=n.n(tn);class on extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",ze.O),(0,o.Z)(this,"el",null),(0,o.Z)(this,"_innerRef",(e=>{this.el=e})),(0,o.Z)(this,"onClick",(()=>{this.props.dispatch((0,Qt.i0)()),window.setTimeout((()=>{this.props.dispatch((0,je.VR)(this.props.annotation.id))}),0)})),(0,o.Z)(this,"_onPointerDownUp",(e=>{e.isPrimary&&(!this.props.isReadOnly&&e.preventDefault(),this._handlePress(e,"touch"!==e.pointerType?new j.E9({x:e.clientX,y:e.clientY}):null),this.props.isOpen||this.props.dispatch((0,je.IP)(this.props.annotation.id)),e.stopPropagation())})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.props.dispatch((0,je.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0,ignoreReadOnly:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_onMouseEnter",(()=>{this.props.dispatch((0,je.oX)(this.props.annotation.id))})),(0,o.Z)(this,"_onMouseLeave",(()=>{this.props.dispatch((0,je.IP)(this.props.annotation.id))})),(0,o.Z)(this,"_onFocus",(e=>{this.props.onFocus&&this.props.onFocus(this.props.annotation,e)})),(0,o.Z)(this,"_onBlur",(e=>{this.props.onBlur&&this.props.onBlur(this.props.annotation,e),this.props.dispatch((0,je.Oc)(this.props.annotation.id))}))}componentDidUpdate(){this.props.isFocused&&this.el&&this.el.focus()}render(){const{intl:{formatMessage:e},backend:t,shouldKeepRenderingAPStream:o,isFocused:r}=this.props,i=!this.props.isOpen&&!this.props.isFullscreen&&!tt.Ni,{annotation:a,zoomLevel:s,rotation:l}=this.props,{boundingBox:c,color:u,icon:d}=a,{width:p,height:f}=c,h={width:p,height:f,transformOrigin:"top left",transform:`translate(${p*s/2-p/2}px, ${f*s/2-f/2}px)`,color:u.toCSSValue(),opacity:a.opacity,outline:r?J.A8:null},m=en.Y4[d]||en.Y4[en.Zi.COMMENT],g=(0,$.Oe)(m);let v;try{v=n(91435)(`./${m}.svg`)}catch(e){}const y=this.props.isReadOnly?{onPointerUp:this._onPointerDownUp}:{onPointerDown:this._onPointerDownUp},b=F()({"PSPDFKit-Annotation":!0,"PSPDFKit-Note-Annotation":!0,[`PSPDFKit-Note-Annotation-Icon-${g}`]:!0,[nn().annotation]:!0});return T.createElement(T.Fragment,null,T.createElement(Be,{position:c.getLocation(),zoomLevel:s,currentPagesRotation:l,noRotate:!0,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},T.createElement(_e.Z,(0,De.Z)({},y,{onClick:this._handleClick,onFocus:this._onFocus,onBlur:this._onBlur,disabled:this.props.isDisabled,style:h,className:b,onMouseEnter:i?this._onMouseEnter:void 0,onMouseLeave:i?this._onMouseLeave:void 0,"data-annotation-id":a.id,"aria-label":`${e(Ke.Z.annotation)}: ${e(Ke.Z.noteAnnotation)}`,"aria-controls":`NoteAnnotationContent-${a.id}`,innerRef:this._innerRef}),o?T.createElement(Pe.Reparent,{id:`annotation-note-${a.id}`},T.createElement(lt,{annotation:a,zoomLevel:s,backend:t,label:e(Ke.Z.noteAnnotation),onError:this.props.onError})):v?T.createElement(Ye.Z,{src:v,className:nn().icon,role:"presentation"}):m)),!this.props.isOpen&&T.createElement(ue.TX,{id:`NoteAnnotationContent-${a.id}`}))}}const rn=(0,Re.XN)(on,{forwardRef:!0});const an=(0,A.$j)((function(e,t){let{annotation:n}=t;return{annotation:n,isFullscreen:e.viewportState.viewportRect.width<=Je.j1,rotation:e.viewportState.pagesRotation,isOpen:e.selectedAnnotationIds.has(n.id)&&"number"==typeof n.pageIndex}}),null,null,{forwardRef:!0})(rn),sn=an;var ln=n(34997),cn=n(26467);const un=e=>{let{lineCap:t,style:n,id:o,position:r}=e;return T.createElement("marker",{id:o,style:n,markerWidth:"5",markerHeight:"5",refX:"start"===r?3.75:.5,refY:"2",orient:"auto"},cn.O[t][`${r}Element`](n))};var dn=n(29978),pn=n.n(dn);const fn=e=>{let{isSelectable:t,onPointerDown:n,annotation:{strokeDashArray:o,strokeColor:r,strokeWidth:a,startPoint:s,endPoint:l,lineCaps:c,fillColor:u,pageIndex:d,id:p=(0,ln.SK)()},renderInvisibleClickPath:f=!1}=e;if(null===d||0===a&&!f)return null;const h={stroke:(null==r?void 0:r.toCSSValue())||"transparent",strokeWidth:a,fill:"transparent"},m=F()({[pn().visible]:!0}),g=t?tt.Ni?Math.max(Je.wK,a):Math.max(Je.XZ,a):0,v=F()({[pn().selectable]:!0}),y={stroke:(null==r?void 0:r.toCSSValue())||"transparent",pointerEvents:"none",fill:(null==u?void 0:u.toCSSValue())||"transparent",strokeWidth:1},b=`${p}-StartLineCap`,w=`${p}-EndLineCap`,S=(0,ee.CW)((0,i.aV)([s,l]),a,c||{}),E=S.first(),P=S.get(1),x={x1:void 0!==E?E.x:s.x,y1:void 0!==E?E.y:s.y,x2:void 0!==P?P.x:l.x,y2:void 0!==P?P.y:l.y},D=x.x1!==s.x||x.y1!==s.y,C=x.x2!==l.x||x.y2!==l.y,k=c&&D?`url(#${b})`:void 0,A=c&&C?`url(#${w})`:void 0;return T.createElement("g",{style:{strokeWidth:a}},(D||C)&&T.createElement("defs",null,c&&D&&c.start&&T.createElement(un,{style:y,lineCap:c.start,id:b,position:"start"}),c&&C&&c.end&&T.createElement(un,{style:y,lineCap:c.end,id:w,position:"end"})),!f&&T.createElement("line",{className:m,style:h,x1:x.x1,y1:x.y1,x2:x.x2,y2:x.y2,strokeDasharray:o?o.map((e=>e*a)).join(","):"",markerStart:k,markerEnd:A,strokeLinecap:"butt"}),t&&T.createElement("line",{onPointerDown:n,className:v,stroke:"transparent",style:{fill:"none",strokeWidth:g},x1:s.x,y1:s.y,x2:l.x,y2:l.y}))},hn=e=>{let{isSelectable:t,onPointerDown:n,annotation:o,renderInvisibleClickPath:r=!1}=e;const{strokeDashArray:i,strokeColor:a,strokeWidth:s,fillColor:l,pageIndex:c,boundingBox:u,cloudyBorderIntensity:d,cloudyBorderInset:p}=o,f=Number(d);if(null===c||0===s&&!l&&!r)return null;const{width:h,height:m,top:g,left:v}=u,y={stroke:(null==a?void 0:a.toCSSValue())||"transparent",strokeWidth:s,fill:(null==l?void 0:l.toCSSValue())||"transparent"},b=F()({[pn().visible]:!0,[pn().cloudy]:!!f,[pn().strokeDashArray]:!!i}),w=t?tt.Ni?Math.max(Je.wK,s):Math.max(Je.XZ,s):0,S={fill:l&&!l.equals(j.Il.TRANSPARENT)?"transparent":"none",strokeWidth:w},E=F()({[pn().selectable]:!0,[pn().cloudy]:!!f}),P=h>s?h-s:h/4,x=m>s?m-s:m/4,D=i?i.map((e=>e*s)).join(","):"",C=f>0,k=C?mn(f,p,u):"";return T.createElement(T.Fragment,null,!r&&(C?T.createElement("path",{d:k,className:b,style:y,strokeDasharray:D}):T.createElement("rect",{className:b,style:y,strokeDasharray:D,x:v+s/2,y:g+s/2,width:P,height:x})),t&&(C?T.createElement("path",{onPointerDown:n,d:k,className:E,style:S,stroke:"transparent"}):T.createElement("rect",{onPointerDown:n,className:E,stroke:"transparent",style:S,x:v+s/2,y:g+s/2,width:P,height:x})))},mn=(e,t,n)=>{const{left:o,top:r,width:i,height:a}=t instanceof j.eB?j.eB.applyToRect(t,n):n;return(0,ee.rr)({points:[[o,r],[o+i,r],[o+i,r+a],[o,r+a]],intensity:e})},gn=e=>{let{isSelectable:t,onPointerDown:n,annotation:o,renderInvisibleClickPath:r=!1}=e;const{strokeDashArray:i,strokeColor:a,strokeWidth:s,fillColor:l,pageIndex:c,boundingBox:u,cloudyBorderIntensity:d,cloudyBorderInset:p}=o,f=Number(d);if(null===c||0===s&&!l&&!r)return null;const{width:h,height:m,top:g,left:v}=u,y={stroke:(null==a?void 0:a.toCSSValue())||"transparent",strokeWidth:s,fill:(null==l?void 0:l.toCSSValue())||"transparent"},b=F()({[pn().visible]:!0,[pn().cloudy]:!!f,[pn().strokeDashArray]:!!i}),w=t?tt.Ni?Math.max(Je.wK,s):Math.max(Je.XZ,s):0,S={fill:l&&!l.equals(j.Il.TRANSPARENT)?"transparent":"none",strokeWidth:w},E=F()({[pn().selectable]:!0,[pn().cloudy]:!!f}),P=h>2*s?(h-s)/2:h/4,x=m>2*s?(m-s)/2:m/4,D=i?i.map((e=>e*s)).join(","):"",C=f>0,k=C?(0,ee.Hz)({boundingBox:u,cloudyBorderIntensity:f,cloudyBorderInset:p}):"";return T.createElement(T.Fragment,null,!r&&(C?T.createElement("path",{className:b,style:y,strokeDasharray:D,d:k}):T.createElement("ellipse",{className:b,style:y,strokeDasharray:D,cx:v+h/2,cy:g+m/2,rx:P,ry:x})),t&&(C?T.createElement("path",{onPointerDown:n,className:E,style:S,d:k,stroke:"transparent"}):T.createElement("ellipse",{onPointerDown:n,className:E,stroke:"transparent",style:S,cx:v+h/2,cy:g+m/2,rx:P,ry:x})))},vn=e=>{let{isSelectable:t,onPointerDown:n,annotation:o,renderInvisibleClickPath:r=!1}=e;const{strokeDashArray:i,strokeColor:a,strokeWidth:s,fillColor:l,pageIndex:c,points:u,cloudyBorderIntensity:d}=o,p=Number(d);if(null===c||0===u.size||0===s&&(!l||l.equals(j.Il.TRANSPARENT))&&!r)return null;const f={stroke:a?a.toCSSValue():"transparent",strokeWidth:s,fill:(null==l?void 0:l.toCSSValue())||"transparent"},h=F()({[pn().visible]:!0,[pn().cloudy]:!!p,[pn().strokeDashArray]:!!i}),m=t?tt.Ni?Math.max(Je.wK,s):Math.max(Je.XZ,s):0,g={fill:l&&!l.equals(j.Il.TRANSPARENT)?"transparent":"none",strokeWidth:m},v=F()({[pn().selectable]:!0,[pn().cloudy]:!!p}),y=u.first();if(void 0===y)return null;const b=1===u.size||2===u.size?u.push(y):u,w=i?i.map((e=>e*s)).join(","):"",S=p>0&&b.size>2,E=S?yn({annotation:o,intensity:p}):`${b.map((e=>`${e.x},${e.y}`)).join(" ")}`;return T.createElement(T.Fragment,null,!r&&(S?T.createElement("path",{className:h,style:f,strokeDasharray:w,d:E}):T.createElement("polygon",{className:h,style:f,strokeDasharray:w,points:E})),t&&(S?T.createElement("path",{onPointerDown:n,className:v,style:g,stroke:"transparent",d:E}):T.createElement("polygon",{onPointerDown:n,className:v,stroke:"transparent",style:g,points:E})))},yn=e=>{let{intensity:t,annotation:n}=e;return(0,ee.rr)({points:n.points.map((e=>[e.x,e.y])).toArray(),intensity:t})},bn=e=>{let{isSelectable:t,onPointerDown:n,annotation:{strokeDashArray:o,strokeColor:r,strokeWidth:i,lineCaps:a,fillColor:s,pageIndex:l,points:c,id:u=(0,ln.SK)()},renderInvisibleClickPath:d=!1}=e;if(null===l||void 0===c||0===c.size||0===i&&!d)return null;const p=c.first(),f=c.last();if(!p||!f)return null;const h={stroke:(null==r?void 0:r.toCSSValue())||"transparent",strokeWidth:i,fill:"transparent"},m=F()({[pn().visible]:!0}),g=t?tt.Ni?Math.max(Je.wK,i):Math.max(Je.XZ,i):0,v=F()({[pn().selectable]:!0}),y={stroke:(null==r?void 0:r.toCSSValue())||"transparent",pointerEvents:"none",fill:(null==s?void 0:s.toCSSValue())||"transparent",strokeWidth:1},b=`${u}-StartLineCap`,w=`${u}-EndLineCap`,S=1===c.size?` ${p.x},${p.y}`:"",E=(0,ee.CW)(c,i,a||{}),P=E.first(),x=E.last();if(!P||!x)return null;const D=a&&(P.x!==p.x||P.y!==p.y),C=a&&(x.x!==f.x||x.y!==f.y),k=`${E.map((e=>`${e.x},${e.y}`)).join(" ")}${S}`,A=a&&D?`url(#${b})`:void 0,O=a&&C?`url(#${w})`:void 0;return T.createElement("g",{style:{strokeWidth:i}},(D||C)&&T.createElement("defs",null,a&&D&&a.start&&T.createElement(un,{style:y,lineCap:a.start,id:b,position:"start"}),a&&C&&a.end&&T.createElement(un,{style:y,lineCap:a.end,id:w,position:"end"})),!d&&T.createElement("polyline",{className:m,style:h,points:k,strokeDasharray:o?o.map((e=>e*i)).join(","):"",markerStart:A,markerEnd:O}),t&&T.createElement("polyline",{onPointerDown:n,className:v,stroke:"transparent",style:{fill:"none",strokeWidth:g},points:k}))},wn=e=>{const{annotation:t,viewBox:n,isSelectable:o,onPointerDown:r,renderInvisibleClickPath:i=!1}=e,a=`${n.left} ${n.top} ${n.width} ${n.height}`,s={left:0,top:0,width:"100%",height:"100%",opacity:t.opacity,overflow:"hidden"},l=(e=>{switch(e){case j.o9:return fn;case j.b3:return hn;case j.Xs:return gn;case j.Hi:return vn;case j.om:return bn;default:throw new Error("Unexpected shape annotation type")}})(t.constructor);return T.createElement("svg",{viewBox:a,style:s,className:pn().svg,focusable:!1},T.createElement(l,{isSelectable:o,onPointerDown:r,annotation:t,renderInvisibleClickPath:i}))};var Sn=n(60840),En=n(63738);function Pn(e,t){return e.distance(t)>Je.c1}var xn=n(44763),Dn=n(39583);function Cn(e){const{pageIndex:t,currentAnnotation:n,onAnnotationUpdate:o,keepSelectedTool:r,interactionMode:a,defaultAutoCloseThreshold:s}=e,l=T.useRef(null),c=(0,A.v9)((e=>e.eventEmitter)),d=(0,A.I0)(),[p,f]=T.useState(!1),[h,m]=T.useState(null),g=T.useMemo((()=>(0,ee.sS)(n.constructor)),[n.constructor]),v=T.useCallback((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];d((0,Qt.FG)(e)),t&&(d((0,En.Ce)()),d((0,je.Df)((0,i.l4)([e.id]),null)),d((0,Qt.ZE)(e.id)),d((0,xn.eO)(null)))}),[d]),y=T.useCallback((()=>{(n instanceof j.om||n instanceof j.Hi)&&v(n,!0)}),[n,v]),b=T.useCallback(((e,r)=>{var a,s;let p=n;const f={annotations:(0,i.aV)([p]),reason:u.f.DRAW_START};c.emit("annotations.willChange",f);const h=new j.E9({x:e.x,y:e.y});if(p instanceof j.o9)p=p.merge({startPoint:h,endPoint:h});else if(p instanceof j.b3||p instanceof j.Xs){l.current=h;const e=p.cloudyBorderIntensity*Je.St+p.strokeWidth/2;p=p.merge({boundingBox:new j.UL({left:h.x,top:h.y,width:0,height:0}),cloudyBorderInset:p.cloudyBorderIntensity?p.cloudyBorderInset||j.eB.fromValue(e):null})}else if(p instanceof pe.Z){l.current=h;const e=new j.UL({left:h.x,top:h.y,width:0,height:0});p=p.merge({boundingBox:e,rects:(0,i.aV)([e])})}else(p instanceof j.Hi||p instanceof j.om)&&(p=p.update("points",(e=>e.push(h))));p=p.set("boundingBox",g(p));const m=p.pageIndex;if(null===m)p=p.set("pageIndex",t);else if(m!==t){p=p.set("pageIndex",t);const e=p instanceof pe.Z?Qt.hj:Qt.hX;d(e(p,t))}p instanceof j.Xs||!("isMeasurement"in p)||null===(a=(s=p).isMeasurement)||void 0===a||!a.call(s)||d((0,xn.eO)({magnifierLabel:p.getMeasurementDetails().label,drawnAnnotationID:p.id,drawnAnnotationPageIndex:p.pageIndex,magnifierCursorPosition:r})),o(p)}),[n,d,c,t,o,g]),w=T.useCallback(((e,t)=>{var r,a;let c=n;const u=e[e.length-1],y=t[t.length-1],b=new j.E9({x:u.x,y:u.y});if(c instanceof j.o9)c=c.set("endPoint",b);else if(c instanceof j.b3||c instanceof j.Xs){(0,Ne.k)(null!=l.current);const e=l.current,t=new j.UL({left:Math.min(e.x,b.x),top:Math.min(e.y,b.y),width:Math.abs(b.x-e.x),height:Math.abs(b.y-e.y)});c=c.merge({boundingBox:t})}else if(c instanceof pe.Z){(0,Ne.k)(null!=l.current);const e=l.current,t=new j.UL({left:Math.min(e.x,b.x),top:Math.min(e.y,b.y),width:Math.abs(b.x-e.x),height:Math.abs(b.y-e.y)});c=c.merge({boundingBox:t,rects:(0,i.aV)([t])})}else if(c instanceof j.Hi||c instanceof j.om){const e=c.points.size-1;if(h&&Pn(h,b))f(!1),m(null);else if(!p){const t=(0,Dn.K)(c,e,s),n=-1!==t;c=kn(c,b,n,t),n&&(v(c),f(!0),m(c.points.get(e)))}c.isMeasurement()&&"isMeasurement"in c&&d((0,xn.eO)({magnifierLabel:c.getMeasurementDetails().label,drawnAnnotationID:c.id,drawnAnnotationPageIndex:c.pageIndex,magnifierCursorPosition:y}))}c=c.set("boundingBox",g(c)),o(c),c instanceof j.Xs||c instanceof j.om||c instanceof j.Hi||!("isMeasurement"in c)||null===(r=(a=c).isMeasurement)||void 0===r||!r.call(a)||d((0,xn.eO)({magnifierLabel:c.getMeasurementDetails().label,magnifierCursorPosition:t[t.length-1]}))}),[n,g,o,h,p,s,v,d]),S=T.useCallback((()=>{var e,t;let l=n;const{left:p,top:f,width:h,height:m}=l.boundingBox,g={annotations:(0,i.aV)([l]),reason:u.f.DRAW_END};if(c.emit("annotations.willChange",g),l instanceof j.Xs||!("isMeasurement"in l)||null===(e=(t=l).isMeasurement)||void 0===e||!e.call(t)||d((0,xn.eO)(null)),l instanceof j.o9)Pn(l.startPoint,l.endPoint)?(d((0,Qt.FG)(l)),d((0,En.Ce)()),d((0,je.Df)((0,i.l4)([l.id]),null)),d((0,Qt.ZE)(l.id)),r&&d((0,En.yg)(l.constructor,a))):(l=l.merge({startPoint:new j.E9,endPoint:new j.E9,boundingBox:new j.UL}),o(l));else if(l instanceof j.b3||l instanceof j.Xs||l instanceof pe.Z)if(Pn(new j.E9({x:p,y:f}),new j.E9({x:p+h,y:f+m})))d((0,Qt.FG)(l)),d((0,je.Df)((0,i.l4)([l.id]),null)),l instanceof pe.Z||d((0,En.Ce)()),d((0,Qt.ZE)(l.id)),l instanceof pe.Z&&r&&d((0,En.t)()),r&&l instanceof j.UX&&d((0,En.yg)(l.constructor,a));else{const e=new j.UL;l=l instanceof pe.Z?l.merge({boundingBox:e,rects:(0,i.aV)([e])}):l.merge({boundingBox:e}),o(l)}else if(l instanceof j.Hi||l instanceof j.om){const e=l.points.size-1,t=(0,Dn.K)(l,e,s),n=-1!==t,o=kn(l,l.points.last(),n,t);n?v(o):d((0,Qt.FG)(o))}else d((0,Qt.FG)(l))}),[n,o,d,c,r,a]),E=(0,A.v9)((e=>(0,de.zi)(e,t))),P=T.useCallback((e=>e.apply(E)),[E]);return T.createElement(Sn.Z,{size:e.pageSize,onDrawStart:b,onDrawCoalesced:w,onDrawEnd:S,transformPoint:P,interactionMode:a,scrollElement:e.scrollElement,onDoubleClick:y,currentAnnotation:n,defaultAutoCloseThreshold:s,dispatch:d})}const kn=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3?arguments[3]:void 0;if(n){var r;const t=null===(r=e.get("points"))||void 0===r?void 0:r.get(o);return e.update("points",(e=>e.set(e.size-1,t)))}return e.update("points",(e=>e.set(e.size-1,t)))};var An,On;function Tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function In(e){for(var t=1;t{this.setState({currentShapeAnnotation:e,isDrawing:!0})}))}static getDerivedStateFromProps(e,t){return(0,i.is)(t.shapeAnnotationFromCurrentProps,e.shapeAnnotation)||(0,i.is)(t.currentShapeAnnotation,e.shapeAnnotation)?null:Fn(e)}componentDidMount(){this.props.dispatch((0,En.X2)())}componentWillUnmount(){this.props.dispatch((0,En.Zg)())}render(){const e=this.state.currentShapeAnnotation,{pageSize:t,viewportState:{zoomLevel:n}}=this.props,{boundingBox:o}=e,r=F()({[pn().canvas]:!0});return T.createElement("div",{className:r},T.createElement(Be,{zoomLevel:n,applyZoom:!0},e.isMeasurement()&&this.state.isDrawing?T.createElement("div",{className:"PSPDFKit-Measurement-Label",style:(0,G.KI)(e)},T.createElement(Rn,{value:e.getMeasurementDetails().label})):null,T.createElement("div",{style:In(In({},o.toJS()),{},{position:"absolute"})},T.createElement(wn,{isSelectable:!1,annotation:e,viewBox:o}))),T.createElement(Cn,{pageSize:t,pageIndex:this.props.pageIndex,currentAnnotation:e,onAnnotationUpdate:this._handleAnnotationUpdate,keepSelectedTool:this.props.keepSelectedTool,interactionMode:this.props.interactionMode,scrollElement:this.props.scrollElement,defaultAutoCloseThreshold:this.props.defaultAutoCloseThreshold}))}}const _n=(0,A.$j)(((e,t)=>{let{pageIndex:n}=t;return{viewportState:e.viewportState,clientToPageTransformation:(0,de.zi)(e,n),eventEmitter:e.eventEmitter,keepSelectedTool:e.keepSelectedTool,interactionMode:e.interactionMode,scrollElement:e.scrollElement,defaultAutoCloseThreshold:e.defaultAutoCloseThreshold}}))(Mn),Rn=e=>{let{value:t,isSecondaryMeasurement:n}=e;if(n&&t.includes("/")){const e=t.split("/");return T.createElement("span",null,"  (",T.createElement("span",null,e[0],An||(An=T.createElement(T.Fragment,null,"⁄")),e[1]),")")}if(n&&!t.includes("/"))return T.createElement("span",null,"  (",T.createElement("span",null,t),")");if(!n&&t.includes("/")){const e=t.split("/");return T.createElement("span",null,e[0],On||(On=T.createElement(T.Fragment,null,"⁄")),e[1],";")}return T.createElement("span",null,t)};function Nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ln(e){for(var t=1;t{e.isPrimary&&this.props.isSelectable&&(e.preventDefault(),this.handlePress(e,"touch"!==e.pointerType?new j.E9({x:e.clientX,y:e.clientY}):null))})),(0,o.Z)(this,"handlePress",((e,t)=>{this.props.dispatch((0,je.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"handleClick",(e=>{"keypress"===e.type&&this.handlePress(e,null)})),(0,o.Z)(this,"handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;t&&t(n,e),this.props.dispatch((0,je.Oc)(n.id))})),(0,o.Z)(this,"handlePointerUp",(e=>{e.stopPropagation()})),(0,o.Z)(this,"el",null),(0,o.Z)(this,"innerRef",(e=>{this.el=e}))}componentDidUpdate(){this.props.isFocused&&this.el&&this.el.focus()}render(){const{annotation:e,intl:{formatMessage:t},zoomLevel:n,backend:o,isDragging:r,shouldKeepRenderingAPStream:i}=this.props,{boundingBox:a}=e;let s;s=!!((0,G.S6)(e)&&!e.measurementBBox&&(a.width<100||a.height<100)||e.isMeasurement()&&!i);const l=a.grow(tt.Ni?Je.wK:Je.XZ),c=Ln(Ln({},l.toJS()),{},{outline:this.props.isFocused?J.A8:null}),u=e.constructor.readableName,d=u&&Ke.Z[`${u.charAt(0).toLowerCase()+u.slice(1)}Annotation`],p=(0,J.vk)(e.blendMode),f=p?{mixBlendMode:p}:{},h=e.isMeasurement()&&this.props.secondaryMeasurementUnit&&(0,G.Rw)(e,this.props.secondaryMeasurementUnit);return T.createElement(Be,{zoomLevel:n,additionalStyle:f,applyZoom:!0,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},e.isMeasurement()&&s&&T.createElement("div",{className:"PSPDFKit-Measurement-Label",style:(0,G.KI)(e,!!h)},T.createElement(Rn,{value:e.getMeasurementDetails().label}),h?T.createElement(Rn,{value:h.label,isSecondaryMeasurement:!0}):null),T.createElement(_e.Z,{disabled:this.props.isDisabled,className:F()(pn().container,`PSPDFKit-${jn(e)}-Annotation`,"PSPDFKit-Shape-Annotation","PSPDFKit-Annotation"),style:c,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onPointerUp:i?this.handlePointerUp:void 0,"data-annotation-id":e.id,"aria-label":`${t(Ke.Z.annotation)}${u&&d?`: ${t(d)}`:""}`,innerRef:this.innerRef},T.createElement(wn,{annotation:e,onPointerDown:this.handlePointerDown,isSelectable:this.props.isSelectable,viewBox:l,renderInvisibleClickPath:i}),i&&T.createElement(Pe.Reparent,{id:`annotation-shape-${e.id}`},T.createElement(lt,{annotation:e,zoomLevel:n,backend:o,label:t(u&&d?d:Ke.Z.annotation),isDragging:r,onError:this.props.onError}))))}}function jn(e){const t=e.constructor.readableName;return e.isMeasurement()?"Line"===t?"Distance":"Polyline"===t?"Perimeter":"Polygon"===t?"Polygon-Area":"Rectangle"===t?"Rectangle-Area":"Ellipse"===t?"Ellipse-Area":void 0:t}const zn=(0,Re.XN)(Bn,{forwardRef:!0});function Kn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}class Zn extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_handlePointerDown",(e=>{e.isPrimary&&this.props.isSelectable&&this._handlePress(e,"touch"!==e.pointerType?new j.E9({x:e.clientX,y:e.clientY}):null)})),(0,o.Z)(this,"_handlePress",((e,t)=>{this.props.dispatch((0,je.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;t&&t(n,e),this.props.dispatch((0,je.Oc)(n.id))})),(0,o.Z)(this,"el",null),(0,o.Z)(this,"_innerRef",(e=>{this.el=e}))}componentDidUpdate(){this.props.isFocused&&this.el&&this.el.focus()}render(){const{annotation:e,globalAnnotation:t,onRenderFinished:n,zoomLevel:r,backend:i,isSelectable:a,isDisabled:s,isDragging:l,cursor:c,intl:{formatMessage:u},isFocused:d}=this.props,{boundingBox:p,id:f}=e,h=function(e){for(var t=1;t{var n;let{annotation:{callout:r,borderWidth:i,borderStyle:s,boundingBox:l,borderColor:c,id:u,backgroundColor:d,verticalAlign:p,fontSize:f,font:h},annotation:m,children:g,isEditing:v}=e;const y=(0,A.I0)(),b=T.useRef(null),w=(0,A.v9)((e=>e.viewportState.zoomLevel));(0,a.kG)(r,"CalloutTextComponent: callout is undefined");const S=(0,T.useRef)(!0);(0,Wn.useGranularLayoutEffect)((()=>{if(S.current)S.current=!1;else{var e;const t=null===(e=b.current)||void 0===e?void 0:e.getBoundingClientRect();if(!t)return;const n=(0,qn.Vq)({annotation:m,rect:t,zoomLevel:w,callout:m.callout,text:m.text});n&&y((0,Qt.FG)(n))}}),[f,h],[m,w]);const E=null===(n=r.innerRectInset)||void 0===n?void 0:n.setScale(w),P=function(e){for(var t=1;t{(0,a.kG)(e,"CalloutTextComponent: point is undefined");const{x:t,y:n}=function(e,t,n){return{x:(e.x-t.left)*n,y:(e.y-t.top)*n}}(e,l,w);return`${t},${n}`})).join(" ");return T.createElement(T.Fragment,null,T.createElement("svg",{style:{position:"absolute",inset:0},width:D.width,height:D.height,stroke:null==c?void 0:c.toCSSValue(),viewBox:`0 0 ${D.width} ${D.height}`},T.createElement("g",null,r.cap&&T.createElement("defs",null,T.createElement(un,{lineCap:r.cap,style:C,id:x,position:"start"})),T.createElement("polyline",{fill:"none",points:k,stroke:(null==c?void 0:c.toCSSValue())||"black",strokeWidth:i||void 0,markerStart:`url(#${x})`}))),T.createElement("div",{style:P,ref:t,className:"Callout"},T.createElement("div",{style:{verticalAlign:"center"===p?"middle":p,display:"inline-block"},ref:b},g)))}));const Yn=["backgroundColor"];function Xn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Jn(e){for(var t=1;t{this.el=e})),(0,o.Z)(this,"onClick",(e=>{"function"==typeof this.props.onClick&&this.props.onClick(e),window.setTimeout((()=>{this.props.dispatch((0,je.VR)(this.props.annotation.id))}),0)})),(0,o.Z)(this,"_handlePointerDown",(e=>{e.isPrimary&&this.props.isSelectable&&(e.preventDefault(),this._handlePress(e,"touch"!==e.pointerType?new j.E9({x:e.clientX,y:e.clientY}):null))})),(0,o.Z)(this,"_handlePress",((e,t)=>{"function"==typeof this.props.onClick?this.onClick(e):this.props.dispatch((0,je.mg)(this.props.annotation,e,{selectedAnnotationShouldDrag:t,stopPropagation:!0}))})),(0,o.Z)(this,"_handleClick",(e=>{"keypress"===e.type&&this._handlePress(e,null)})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;t&&t(n,e),this.props.dispatch((0,je.Oc)(n.id))})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()}))}componentDidUpdate(){this.props.isFocused&&this.el&&this.el.focus()}render(){const{annotation:{boundingBox:e},annotation:t,globalAnnotation:n,zoomLevel:o,isDisabled:i,isSelectable:a,intl:{formatMessage:s},backend:l,isDragging:c,cursor:u,shouldKeepRenderingAPStream:d,isFocused:p,isMultiAnnotationsSelected:f}=this.props,h=Jn(Jn({},(0,vt.z1)(t.isFitting?(0,vt.MF)(t,o):t,o,d)),{},{cursor:u||(a?"pointer":"auto"),outline:p?J.A8:null},(0,ot.kv)(t)&&d?{transformOrigin:"50% 50%",transform:`rotate(${String(-t.rotation)}deg)`}:null),{backgroundColor:m}=h,g=(0,r.Z)(h,Yn),v="xhtml"===t.text.format;let y;var b,w;d||(y=v?T.createElement("div",{dangerouslySetInnerHTML:{__html:null===(b=t.text)||void 0===b?void 0:b.value}}):(0,vt.hr)(null===(w=t.text)||void 0===w?void 0:w.value),v&&(g.color=void 0));return T.createElement(Be,{position:e.getLocation(),zoomLevel:o,isMultiAnnotationsSelected:f},T.createElement(pt.Z,{onPointerUp:d?this._handlePointerUp:void 0},T.createElement(_e.Z,{disabled:i,onPointerDown:this._handlePointerDown,onClick:this._handleClick,onFocus:this._handleFocus,onBlur:this._handleBlur,style:Jn(Jn({},g),{},{backgroundColor:(0,J.Vc)(t)?void 0:m}),className:`${Gn().annotation} PSPDFKit-Text-Annotation PSPDFKit-Annotation`,"data-annotation-id":t.id,"aria-label":`${s(Ke.Z.annotation)}: ${s(Ke.Z.textAnnotation)}`,innerRef:this._innerRef},d?T.createElement(Pe.Reparent,{id:`annotation-text-${t.id}`},T.createElement(lt,{annotation:n,zoomLevel:o,backend:l,label:s(Ke.Z.textAnnotation),isDragging:c,onError:this.props.onError})):t.callout?T.createElement($n,{annotation:t},y):y)))}}const eo=(0,Re.XN)(Qn,{forwardRef:!0});var to=n(54670),no=n(20276),oo=n(92135),ro=n.n(oo);function io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ao(e){for(var t=1;t{if(n&&t.overlayText&&t.repeatOverlayText){const e=new to.default(`${l}px Helvetica, sans-serif`),{width:n}=e.measureText(t.overlayText);s(n),e.clean()}}),[n,t.overlayText,t.repeatOverlayText,l,s]);const d=T.useMemo((()=>t.overlayText&&!t.repeatOverlayText?t.rects.sortBy({0:e=>[e.top,e.left],90:e=>[e.left,-e.top],180:e=>[-e.top,-e.left],270:e=>[-e.left,e.top]}[t.rotation||"0"],ze.b).first():null),[t.overlayText,t.repeatOverlayText,t.rects,t.rotation]),p=t.rects.map(((e,s)=>{const c=e.scale(o),{overlayText:p,textHeight:f}=function(e,t,n,o,r,i){let a=e.overlayText,s=o;if(t&&a&&e.repeatOverlayText&&n){const e=i.width/n,t=Math.max(1,Math.floor(i.height/o)),l=Math.ceil(e*t);s=o*t,s+r<=i.height&&(s+=r),a=a.repeat(l)}return{overlayText:a,textHeight:s}}(t,n,a,u,l,c),h={fontSize:l,lineHeight:`${u}px`,height:t.repeatOverlayText?f:"100%"};if((0,ot.kv)(t)){const e=90===t.rotation||270===t.rotation;h.transformOrigin="50% 50%",h.transform=(e?`translate(${Math.round(c.width/2-c.height/2)}px, ${-Math.round(c.width/2-c.height/2)}px) `:"")+`rotate(${String(-t.rotation)}deg)`,e&&(h.width=c.height,h.height=c.width)}const m={top:(e.top-i.top)*o,left:(e.left-i.left)*o,width:c.width,height:c.height,cursor:r?"pointer":"auto",backgroundColor:n?"white":void 0},g={width:c.width,height:c.height},v=ao(ao({},g),{},{border:t.outlineColor instanceof j.Il?`2px solid ${t.outlineColor.toCSSValue()}`:void 0,opacity:t.opacity}),y=ao(ao({},g),{},{border:0,color:t.color instanceof j.Il?t.color.toCSSValue():void 0,backgroundColor:t.fillColor instanceof j.Il?t.fillColor.toCSSValue():"black",opacity:t.opacity}),b=F()({[ro().textContainer]:!0,[ro().selectable]:!0});return T.createElement("div",{key:s,className:ro().rectContainer,style:m},T.createElement("div",{className:b,style:n?y:v},n&&(t.repeatOverlayText||e.equals(d))&&T.createElement("span",{className:ro().textSpan,style:h},p)))}));return T.createElement(T.Fragment,null,p)}const lo=function(e){const{isSelectable:t,dispatch:n,annotation:o,zoomLevel:r,onFocus:i,onBlur:a,active:s,isDisabled:l,isMultiAnnotationsSelected:c}=e,{boundingBox:u}=o,d=T.useRef(s),p=T.useCallback((e=>{n((0,je.mg)(o,e))}),[n,o]),f=T.useCallback((e=>{i&&i(o,e)}),[i,o]),h=T.useCallback((e=>{a&&a(o,e)}),[a,o]),m=T.useRef(null),g=(0,A.v9)((e=>e.previewRedactionMode));T.useEffect((()=>{m.current&&m.current.ownerDocument.activeElement!==m.current&&(!d.current&&s?m.current.focus():d.current&&!s&&l&&h((0,no.M)("blur"))),d.current=s}),[s,h,l]);const v={width:u.width*r,height:u.height*r,cursor:t?"pointer":"auto"};return T.createElement(Be,{zoomLevel:e.zoomLevel,position:u.getLocation(),className:ro().wrapper,disablePointerEvents:!0,isMultiAnnotationsSelected:c},T.createElement(_e.Z,{is:"div",disabled:Boolean(e.isDisabled),className:F()(ro().container,"PSPDFKit-Redaction-Annotation PSPDFKit-Annotation",s&&!e.isDisabled&&"PSPDFKit-Annotation-Selected",s&&!e.isDisabled&&"PSPDFKit-Redaction-Annotation-Selected"),style:v,"data-annotation-id":o.id,onClick:p,onFocus:f,onBlur:h,innerRef:m},e.active?T.createElement("div",{className:ro().active}):null,T.createElement(so,{annotation:o,previewRedactionMode:g,isSelectable:t,zoomLevel:r})))};var co,uo=n(65642),po=n.n(uo);class fo extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",ze.O)}render(){const{color:e,markupStyle:t,zoomLevel:n,pageRotation:o}=this.props,r=(0,ln.SK)(),i=0!==o?{transform:`rotate(${90*o}deg)`}:{};return T.createElement("svg",{className:po().markup,style:t,focusable:!1},T.createElement("defs",null,T.createElement("pattern",{id:r,width:"8",height:"3",patternUnits:"userSpaceOnUse",fill:e instanceof j.Il?e.toCSSValue():"transparent",style:i},co||(co=T.createElement("path",{d:"M8 2.9C7.2 2.9 6.7 2.3 6.5 1.9 6.2 1.5 6.1 1.4 6 1.4 5.9 1.4 5.8 1.5 5.5 1.9 5.3 2.3 4.8 2.9 4 2.9 3.2 2.9 2.7 2.3 2.5 1.9 2.2 1.5 2.1 1.4 2 1.4 1.9 1.4 1.8 1.5 1.5 1.9 1.3 2.3 0.8 2.9 0 2.9L0 1.6C0.1 1.6 0.2 1.5 0.5 1.1 0.7 0.7 1.2 0.1 2 0.1 2.8 0.1 3.3 0.7 3.5 1.1 3.8 1.5 3.9 1.6 4 1.6 4.1 1.6 4.2 1.5 4.5 1.1 4.7 0.7 5.2 0.1 6 0.1 6.8 0.1 7.3 0.7 7.5 1.1 7.8 1.5 7.9 1.6 8 1.6L8 2.9 8 2.9Z"})))),T.createElement("rect",{fill:`url(#${r})`,width:"100%",height:"100%",transform:`scale(${n<1?`1, ${n}`:`${n}`})`}))}}function ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function mo(e){for(var t=1;t{this.el=e})),(0,o.Z)(this,"_handlePress",(e=>{this.props.dispatch((0,je.mg)(this.props.annotation,e))})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;t&&t(n,e),this.props.dispatch((0,je.Oc)(n.id))})),(0,o.Z)(this,"_handleCommentIconPress",(e=>{this._handlePress(e),e.stopPropagation()}))}componentDidUpdate(e){this.el&&this.el.ownerDocument.activeElement!==this.el&&(this.props.isFocused&&this.el&&this.el.focus(),!e.active&&this.props.active?this.el.focus():e.active&&!this.props.active&&this.props.isDisabled&&this._handleBlur((0,no.M)("blur")))}render(){const{active:e,annotation:t,zoomLevel:n,isSelectable:o,intl:{formatMessage:r},backend:i,shouldKeepRenderingAPStream:s,pageRotation:l}=this.props,c=t instanceof j.FV,{boundingBox:u}=t,d=t.rects.map(((r,i)=>{const a=F()({[po().annotationRect]:!0,[po()[t.constructor.className]]:!0}),s={top:(r.top-u.top)*n,left:(r.left-u.left)*n,width:r.width*n,height:r.height*n,opacity:t.opacity,cursor:o?"pointer":"auto"},d=function(e){let{annotation:t,rect:n,zoomLevel:o,pageRotation:r}=e;const i={width:n.width*o,height:n.height*o,backgroundColor:t.color instanceof j.Il?t.color.toCSSValue():"transparent"};if(t instanceof j.R9)switch(r){case 0:return mo(mo({},i),{},{height:Math.max(1,Math.floor(2*o)),marginTop:Math.max(1,Math.floor(-1*o))});case 1:return mo(mo({},i),{},{width:Math.max(1,Math.floor(2*o)),left:"auto",right:"50%",top:0,marginRight:Math.max(1,Math.floor(-1*o))});case 2:return mo(mo({},i),{},{height:Math.max(1,Math.floor(2*o)),top:"auto",bottom:"50%",marginBottom:Math.max(1,Math.floor(-1*o))});case 3:return mo(mo({},i),{},{width:Math.max(1,Math.floor(2*o)),right:"auto",left:"50%",top:0,marginLeft:Math.max(1,Math.floor(-1*o))})}else if(t instanceof j.xu)switch(r){case 0:return mo(mo({},i),{},{marginTop:Math.max(1,Math.floor(2*o)),height:Math.max(1,Math.floor(2*o))});case 1:return mo(mo({},i),{},{marginRight:Math.max(1,Math.floor(2*o)),width:Math.max(1,Math.floor(2*o))});case 2:return mo(mo({},i),{},{marginBottom:Math.max(1,Math.floor(2*o)),height:Math.max(1,Math.floor(2*o)),top:0});case 3:return mo(mo({},i),{},{width:Math.max(1,Math.floor(2*o)),left:"auto",marginLeft:Math.max(1,Math.floor(2*o))})}else if(t instanceof j.hL)switch(r){case 0:return mo(mo({},i),{},{height:3*o,overflow:"hidden"});case 1:return mo(mo({},i),{},{width:3*o,overflow:"hidden"});case 2:return mo(mo({},i),{},{height:3*o,top:0,overflow:"hidden"});case 3:return mo(mo({},i),{},{width:3*o,left:"auto",overflow:"hidden"})}return i}({annotation:t,rect:r,zoomLevel:n,pageRotation:l}),p={backgroundColor:t.color instanceof j.Il?t.color.toCSSValue():"transparent"};return T.createElement("div",{key:i,className:a,style:s},e?T.createElement("div",{className:F()({[po().active]:!c}),style:p}):null,t instanceof j.hL?T.createElement(fo,{markupStyle:d,color:t.color,zoomLevel:n,pageRotation:l}):T.createElement("div",{className:po().markup,style:d}))})).toArray(),p=(0,J.vk)(t.blendMode),f=p?{mixBlendMode:p}:void 0,h=mo({width:u.width*n,height:u.height*n,cursor:o?"pointer":"auto",outline:this.props.isFocused?J.A8:null},tt.G6?null:f),m=function(e){switch(e.constructor){case j.FV:return"Highlight";case j.R9:return"StrikeOut";case j.xu:return"Underline";case j.hL:return"Squiggle";default:throw new a.p2(`Unknown text markup annotation type of annotation: ${JSON.stringify(e.toJS())}`)}}(t),g=Ke.Z[`${m.charAt(0).toLowerCase()+m.slice(1)}Annotation`],v=F()(po().annotation,"PSPDFKit-Annotation","PSPDFKit-Text-Markup-Annotation",`PSPDFKit-${m}-Annotation`,{[po().activeTextMarkup]:e&&c,[po().highlight]:c,"PSPDFKit-Text-Markup-Annotation-selected":e,"PSPDFKit-Text-Markup-Comment-Annotation":t.isCommentThreadRoot}),y={};return e&&(y["data-testid"]="selected annotation"),T.createElement(Be,{position:u.getLocation(),zoomLevel:n,disablePointerEvents:!0,additionalStyle:tt.G6?f:void 0},T.createElement(_e.Z,(0,De.Z)({is:"div",style:h,className:v,onClick:this._handlePress,onFocus:this._handleFocus,onBlur:this._handleBlur,disabled:!!this.props.isDisabled,"data-annotation-id":t.id,"aria-label":`${r(Ke.Z.annotation)}: ${r(g)}`,innerRef:this._innerRef},y),T.createElement(T.Fragment,null,s&&T.createElement(lt,{annotation:t,zoomLevel:n,backend:i,label:r(g),onError:this.props.onError}),(!s||e)&&d)))}}(0,o.Z)(go,"defaultProps",{active:!1});const vo=(0,Re.XN)(go,{forwardRef:!0});var yo=n(68108),bo=n.n(yo);function wo(e){let{annotation:t,zoomLevel:n,isDisabled:o,backend:r,isFocused:i,isMultiAnnotationsSelected:a}=e;const s=T.useRef(null),{formatMessage:l}=(0,Re.YB)(),{boundingBox:c}=t,u={width:c.width*n,height:c.height*n};return T.useEffect((()=>{i&&s.current&&s.current.focus()}),[i]),T.createElement(Be,{position:c.getLocation(),zoomLevel:n,applyZoom:!0,isMultiAnnotationsSelected:a},T.createElement(_e.Z,{disabled:o,className:F()(bo().annotation,"PSPDFKit-Annotation-Unknown PSPDFKit-Annotation-Unsupported PSPDFKit-Annotation"),style:u,"data-annotation-id":t.id,"aria-label":l(Ke.Z.annotation),innerRef:s},r&&T.createElement(lt,{annotation:t,backend:r,zoomLevel:n,label:l(Ke.Z.annotation)})))}var So=n(19815),Eo=n(55961),Po=n(23661),xo=n.n(Po),Do=n(29544),Co=n.n(Do);function ko(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ao(e){for(var t=1;t{this.props.dispatch((0,je.mg)(this.props.annotation,e))})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n,annotationToFocus:o}=this.props;o===n.id&&this.props.dispatch((0,Qt.vy)(null)),t&&t(n,e)}))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;var o;n!==t&&this.props.annotation.id===t&&(null===(o=this._inputRef.current)||void 0===o||o.focus())}render(){const{annotation:e,formField:{name:t,readOnly:n,buttonLabel:o,label:r},zoomLevel:i,formDesignMode:a,isRenderingAPStream:s,canFillFormFieldCP:l}=this.props,c="number"==typeof e.fontSize?e.fontSize:12,u=Ao({width:Math.ceil(e.boundingBox.width*i),height:Math.ceil(e.boundingBox.height*i)},s?{opacity:0}:Ao(Ao({},(0,nt.i2)(e,i)),{},{fontSize:Math.ceil(c*i),justifyContent:e.verticalAlign&&Io[e.verticalAlign]||"center",alignItems:e.horizontalAlign&&Fo[e.horizontalAlign]||"center"})),d=l&&!n,p=!d||a,f=F()({[xo().widget]:!0,[xo().onFocus]:!0,[xo().readOnly]:!d,[xo().flexText]:!0,[Co().btn]:!p,[Co().btnFormDesigner]:a,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-Button":!0,"PSPDFKit-Annotation-Widget-read-only":!d});return T.createElement("button",{ref:this._inputRef,className:f,disabled:p,name:t,type:To(e),style:u,onClick:this._handleClickAction,onFocus:this._handleFocus,onBlur:this._handleBlur},o||r||"")}}function To(e){const{action:t}=e;if(!t)return"button";switch(t.constructor){case c.BO:return"reset";case c.pl:return"submit";default:return"button"}}const Io={top:"flex-start",center:"center",bottom:"flex-end"},Fo={left:"flex-start",center:"center",right:"flex-end"};var Mo=n(96114),_o=n(69554),Ro=n.n(_o);function No(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}class Lo extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",ze.O),(0,o.Z)(this,"state",{checked:(0,nt.CK)(this.props.formField,this.props.annotation)}),(0,o.Z)(this,"UNSAFE_componentWillReceiveProps",(e=>{e.formField.values.equals(this.props.formField.values)||this.setState({checked:(0,nt.CK)(e.formField,e.annotation)})})),(0,o.Z)(this,"_inputRef",T.createRef()),(0,o.Z)(this,"_onChange",(()=>{const{formField:e,annotation:t}=this.props,n=(0,nt.l_)(e,t),o=this.state.checked?(0,i.aV)(["Off"]):(0,i.aV)([n]),r=(0,nt.g6)(e,t,!this.state.checked);this.setState({checked:!this.state.checked}),this.props.dispatch((0,Mo.xh)([{name:e.name,value:o,optionIndexes:r}]))})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;null==t||t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n}=this.props;this.props.annotationToFocus===this.props.annotation.id&&this.props.dispatch((0,Qt.vy)(null)),null==t||t(n,e)}))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;var o;n!==t&&this.props.annotation.id===t&&(null===(o=this._inputRef.current)||void 0===o||o.focus())}render(){const{annotation:{id:e},annotation:t,zoomLevel:r,formField:i,formDesignMode:a,isRenderingAPStream:s,canFillFormFieldCP:l}=this.props,{readOnly:c}=i,u=(0,nt.l_)(i,t),d=function(e){for(var t=1;t=this.itemCount)throw Error("Requested index "+e+" is outside of range 0.."+this.itemCount);if(e>this.lastMeasuredIndex){for(var t=this.getSizeAndPositionOfLastMeasuredItem(),n=t.offset+t.size,o=this.lastMeasuredIndex+1;o<=e;o++){var r=this.itemSizeGetter(o);if(null==r||isNaN(r))throw Error("Invalid size returned for index "+o+" of value "+r);this.itemSizeAndPositionData[o]={offset:n,size:r},n+=r}this.lastMeasuredIndex=e}return this.itemSizeAndPositionData[e]},e.prototype.getSizeAndPositionOfLastMeasuredItem=function(){return this.lastMeasuredIndex>=0?this.itemSizeAndPositionData[this.lastMeasuredIndex]:{offset:0,size:0}},e.prototype.getTotalSize=function(){var e=this.getSizeAndPositionOfLastMeasuredItem();return e.offset+e.size+(this.itemCount-this.lastMeasuredIndex-1)*this.estimatedItemSize},e.prototype.getUpdatedOffsetForIndex=function(e){var t=e.align,n=void 0===t?qo:t,o=e.containerSize,r=e.currentOffset,i=e.targetIndex;if(o<=0)return 0;var a,s=this.getSizeAndPositionForIndex(i),l=s.offset,c=l-o+s.size;switch(n){case"end":a=c;break;case Ho:a=l-(o-s.size)/2;break;case qo:a=l;break;default:a=Math.max(c,Math.min(l,r))}var u=this.getTotalSize();return Math.max(0,Math.min(u-o,a))},e.prototype.getVisibleRange=function(e){var t=e.containerSize,n=e.offset,o=e.overscanCount;if(0===this.getTotalSize())return{};var r=n+t,i=this.findNearestItem(n);if(void 0===i)throw Error("Invalid offset "+n+" specified");var a=this.getSizeAndPositionForIndex(i);n=a.offset+a.size;for(var s=i;n=e?this.binarySearch({high:n,low:0,offset:e}):this.exponentialSearch({index:n,offset:e})},e.prototype.binarySearch=function(e){for(var t=e.low,n=e.high,o=e.offset,r=0,i=0;t<=n;){if(r=t+Math.floor((n-t)/2),(i=this.getSizeAndPositionForIndex(r).offset)===o)return r;io&&(n=r-1)}return t>0?t-1:0},e.prototype.exponentialSearch=function(e){for(var t=e.index,n=e.offset,o=1;t=n)&&(e=0),this.sizeAndPositionManager.getUpdatedOffsetForIndex({align:t,containerSize:this.props[er[r]],currentOffset:this.state&&this.state.offset||0,targetIndex:e})},t.prototype.getSize=function(e){var t=this.props.itemSize;return"function"==typeof t?t(e):Array.isArray(t)?t[e]:t},t.prototype.getStyle=function(e){var t=this.styleCache[e];if(t)return t;var n,o=this.props.scrollDirection,r=void 0===o?$o:o,i=this.sizeAndPositionManager.getSizeAndPositionForIndex(e),a=i.size,s=i.offset;return this.styleCache[e]=Uo({},ir,((n={})[er[r]]=a,n[tr[r]]=s,n))},t.prototype.recomputeSizes=function(e){void 0===e&&(e=0),this.styleCache={},this.sizeAndPositionManager.resetItem(e)},t.prototype.render=function(){var e,t=this.props,n=(t.estimatedItemSize,t.height),o=t.overscanCount,r=void 0===o?3:o,i=t.renderItem,a=(t.itemCount,t.itemSize,t.onItemsRendered),s=(t.onScroll,t.scrollDirection),l=void 0===s?$o:s,c=(t.scrollOffset,t.scrollToIndex,t.scrollToAlignment,t.style),u=t.width,d=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{if(e.isEmpty())return"";{const t=this.props.formField.options.find((t=>t.get("value")===e.first()));return t?t.label:e.first()||""}})),(0,o.Z)(this,"state",{initialValue:this._getInput(this.props.formField.values),value:this._getInput(this.props.formField.values),values:this.props.formField.values,isOpen:!1,isFocused:!1,textSelected:!1}),(0,o.Z)(this,"_getSelectedLabel",(()=>{const{options:e}=this.props.formField,t=this.state.values.first(),n=e.find((e=>e.value===t));return n&&n.label||t})),(0,o.Z)(this,"UNSAFE_componentWillReceiveProps",(e=>{e.formField.values!==this.props.formField.values&&this.setState({values:e.formField.values})})),(0,o.Z)(this,"_onChange",(e=>{const t=e.currentTarget,{value:n}=t,{backend:o,formField:r,annotation:i}=this.props;if(!(0,nt.sC)(o,i,r))return void this.setState({value:n,textSelected:!1});const{selectionStart:s,selectionEnd:l}=t,c=(0,$.QE)(this.state.initialValue,n,s);this.latestKeystrokeDiff=c;const u={change:c.change,value:c.prev,returnCode:!0,name:this.props.formField.name,selStart:s,selEnd:l};this.setState({value:n,textSelected:!1}),o.onKeystrokeEvent(u).then((e=>{if(c!==this.latestKeystrokeDiff||0===e.length)return;const n=e[0].object;if(!n.returnCode)return void this.setState({value:this.state.initialValue,textSelected:!1});const o=(0,$.F6)(c,n.change),r=e.slice(1);r.length&&this.props.dispatch((0,Mo.bt)({changes:r})),this.setState({value:o,initialValue:o,textSelected:!1},(function(){n.selStart!==t.selectionStart&&(t.selectionStart=n.selStart),n.selEnd!==t.selectionEnd&&(t.selectionEnd=n.selEnd)}))})).catch(a.vU)})),(0,o.Z)(this,"_onSelect",(e=>{if(!e){const e=this.state;return this.setState({values:e.values,isOpen:!1,value:e.value,textSelected:!1},(()=>{this.props.onOpenStateChange(this.state.isOpen)})),this.latestKeystrokeDiff=null,void(this._button&&this._button.focus())}const t=(0,i.aV)([e.value]);this.setState({values:t,isOpen:!1,value:e.label,textSelected:!1},(()=>{this.props.onOpenStateChange(this.state.isOpen)})),this.latestKeystrokeDiff=null,this.props.formField.commitOnChange&&(this.props.formField.values.equals(t)||this.props.dispatch((0,Mo.xh)([{name:this.props.formField.name,value:t}]))),this._button&&this._button.focus()})),(0,o.Z)(this,"_handleBlur",(e=>{e.persist();const{currentTarget:t}=e;this.props.dispatch((0,Qt.vy)(null)),this.latestKeystrokeDiff=null,setTimeout((()=>{if(!t.contains(this.props.frameWindow.document.activeElement)){const t=this._getInput(this.state.values);this.setState({isOpen:!1,isFocused:!1,value:t,initialValue:t},(()=>{this.props.onOpenStateChange(this.state.isOpen)})),this.props.formField.values.equals(this.state.values)||this.props.dispatch((0,Mo.xh)([{name:this.props.formField.name,value:this.state.values}]));const{onBlur:n,annotation:o}=this.props;n&&n(o,e)}}),0)})),(0,o.Z)(this,"calculateFilteredOptions",(()=>{const e=this.state.isOpen,{formField:{options:t,edit:n}}=this.props,o=e?t.toSeq().filter((e=>this.state.textSelected||!this.state.value||e.label.toLowerCase().includes(this.state.value.toLowerCase()))).toList():(0,i.aV)();return n?o.some((e=>this.state.value.includes(e.label)))?o:o.unshift(new j.mv({label:this.state.value,value:this.state.value})):o})),(0,o.Z)(this,"_renderComboBoxTop",((e,t,o,r)=>{const{name:i,readOnly:a}=this.props.formField,s=this.props.formDesignMode,l=this.props.canFillFormFieldCP&&!a,c=F()({[ur().comboBoxTop]:!0,"PSPDFKit-Annotation-Widget-ComboBox-Button":!0,"PSPDFKit-Annotation-Widget-read-only":!l}),u=this._getSelectedLabel();return T.createElement("div",{className:c,onClick:this._openDropdownClick,ref:r},T.createElement("button",{"aria-controls":`PSPDFKit-dd-${this.props.formField.name}-menu`,"aria-expanded":o,"aria-haspopup":"true",tabIndex:o?-1:0,style:e,disabled:!l||s,className:ur().valueBtn,onFocus:e=>{this.setState({isFocused:!0});const{onFocus:t,annotation:n}=this.props;t&&(e.persist(),t(n,e))},ref:e=>this._button=e,name:i,value:u},u),T.createElement("div",(0,De.Z)({"aria-hidden":!o,className:ur().arrowBtn},t),T.createElement(Ye.Z,{src:n(58021)})))})),(0,o.Z)(this,"_openDropdownClick",(()=>{this.props.formField.readOnly||this.props.formField.formDesignMode||!this.props.canFillFormFieldCP||this.setState((e=>{let{isOpen:t}=e;return{isOpen:!t}}),(()=>{this._inputRef.current&&(this._inputRef.current.select(),this.setState({textSelected:!0},(()=>{this.props.onOpenStateChange(this.state.isOpen)})))}))})),(0,o.Z)(this,"_setContentElementRect",(e=>{this.props.handleComboxBoxRect(e)})),(0,o.Z)(this,"_downShiftRenderFn",(e=>{let{getInputProps:t,getItemProps:n,getToggleButtonProps:o,isOpen:i,highlightedIndex:a}=e;const{annotation:{boundingBox:{width:s,height:l}},annotation:c,formField:{doNotSpellCheck:u,readOnly:d,required:p},formDesignMode:f,isRenderingAPStream:h,canFillFormFieldCP:m,viewportState:g}=this.props,{zoomLevel:v}=g,y=this.calculateFilteredOptions(),b=y.size>5?5:y.size,w={fontSize:10*v,padding:2*v},S=d||f||!m,E=t({ref:this._inputRef,value:this.state.value,onFocus:()=>this.setState({isOpen:!0},(()=>{this.props.onOpenStateChange(this.state.isOpen)})),spellCheck:!u,onChange:this._onChange}),P=o(),x=F()({[ur().comboBox]:!0,[ur().expanded]:i,[xo().widget]:!0,[xo().focusedWidget]:i||this.state.isFocused,[xo().readOnly]:S,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-ComboBox":!0,"PSPDFKit-Annotation-Widget-ComboBox-isOpen":i,"PSPDFKit-Annotation-Widget-Required":p}),D=Math.max(4,Math.min(.7*l,12))*v,C=90===c.rotation||270===c.rotation,k=this._memoizedCalculateFontSize(this._getSelectedLabel(),s,l,c.fontSize,!1,0,this._inputRef.current),A=fr({width:Math.ceil(c.boundingBox.width*v),height:Math.ceil(c.boundingBox.height*v)},h?{opacity:0}:(0,nt.i2)(c,v,!1)),{height:O,width:I,opacity:M}=A,_=(0,r.Z)(A,dr),R=fr(fr({},(0,nt.VY)(c,v)),{},{borderWidth:Math.max(1,v),fontSize:D,opacity:M,[C?"height":"width"]:I,[C?"width":"height"]:O}),N=fr(fr({},_),{},{cursor:S?"default":"pointer",padding:`0 ${lr.DI*v}px`,fontSize:k*v,[C?"width":"height"]:O,[C?"height":"width"]:I}),L=F()({[ur().menu]:!0,"PSPDFKit-Annotation-Widget-ComboBox-Menu":!0});return T.createElement("div",{className:x,style:fr(fr({},R),i?{position:"fixed"}:void 0),tabIndex:-1,onBlur:this._handleBlur},T.createElement(mr,{viewportRect:g.viewportRect,isVertical:90===c.rotation||270===c.rotation,setContentElementRect:this._setContentElementRect},(e=>{let{referenceRef:t,contentRef:o,style:r}=e;return T.createElement(T.Fragment,null,this._renderComboBoxTop(N,P,i,t),i&&T.createElement("div",{className:L,ref:o,style:r},T.createElement("input",(0,De.Z)({},E,{className:F()(ur().comboBoxInput,"PSPDFKit-Annotation-Widget-ComboBox-SearchInput"),style:{textAlign:"center"},tabIndex:-1,required:p})),T.createElement("div",{className:F()(ur().comboBoxList,"PSPDFKit-Annotation-Widget-ComboBox-List"),id:`PSPDFKit-dd-${this.props.formField.name}-menu`},y.isEmpty()?T.createElement("div",{className:ur().comboBoxListItem,style:w},"No results found"):T.createElement(sr,{scrollToIndex:a||0,scrollToAlignment:"auto",width:"100%",height:Math.ceil(20*b*v),itemCount:y.size,itemSize:Math.ceil(20*v),renderItem:e=>{let{index:t,style:o}=e;const r=y.get(t),i=a===t;(0,Ne.k)(r);const s=this.state.values.includes(r.get("value")),l=F()({[ur().comboBoxListItem]:!0,[ur().comboBoxListItemActive]:i,[ur().comboBoxListItemSelected]:s});let c;return c=0===t&&this.props.formField.edit&&!this.props.formField.options.includes(r)?r.label.length?`Create "${r.label}"`:T.createElement("span",{className:ur().empty},"(empty)"):r.label,T.createElement("div",(0,De.Z)({className:F()(l,"PSPDFKit-Annotation-Widget-ComboBox-ListItem",{"PSPDFKit-Annotation-Widget-ComboBox-ListItem-Active":i,"PSPDFKit-Annotation-Widget-ComboBox-ListItem-Selected":s}),title:r.label},n({key:r.value,index:t,item:r,style:fr(fr({},o),w)})),c)}}))))})))})),(0,o.Z)(this,"_itemToString",(e=>e?e.label:""))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;n!==t&&this.props.annotation.id===t&&this._openDropdownClick()}componentWillUnmount(){this.latestKeystrokeDiff=null}render(){const{frameWindow:e}=this.props;return T.createElement(Bo.ZP,{environment:e,onSelect:this._onSelect,itemToString:this._itemToString,isOpen:this.state.isOpen,defaultHighlightedIndex:0},this._downShiftRenderFn)}}const mr=function(e){const{children:t,viewportRect:n,isVertical:o,setContentElementRect:r}=e,[i,a]=T.useState(null),[s,l]=T.useState(null),[c,u]=T.useState(null),d=T.useCallback((()=>{const e=s?s.getBoundingClientRect():null,t=i?i.getBoundingClientRect():null,a=o?"left":"top",l=o?"width":"height";let c=e?e[l]:0;null!==t&&null!==e&&e[a]+e[l]+t[l]>n[l]&&0!==e[a]&&(c=-t[l]),r&&r(t),u({top:c})}),[i,s,n,o]);T.useLayoutEffect((()=>{d()}),[d]);return t({referenceRef:e=>l(e),contentRef:e=>a(e),style:fr(fr({position:"absolute"},c),{},{width:"100%"},s&&i?null:{opacity:0})})};var gr=n(82654),vr=n.n(gr);function yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function br(e){for(var t=1;t{e.formField.values.equals(this.props.formField.values)||this.setState({values:e.formField.values})})),(0,o.Z)(this,"_inputRef",T.createRef()),(0,o.Z)(this,"_onChange",(e=>{const t=e.target.options,n=(0,i.dM)([...t]).filter((e=>e.selected)).map((e=>e.value)).toList();this.setState({values:n}),this.props.formField.commitOnChange&&(this.props.formField.values.equals(n)||this.props.dispatch((0,Mo.xh)([{name:this.props.formField.name,value:n}])))})),(0,o.Z)(this,"_onBlur",(e=>{this.props.annotationToFocus===this.props.annotation.id&&this.props.dispatch((0,Qt.vy)(null)),this.props.formField.values.equals(this.state.values)||this.props.dispatch((0,Mo.xh)([{name:this.props.formField.name,value:this.state.values}]));const{onBlur:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_onFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)}))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;var o;n!==t&&this.props.annotation.id===t&&(null===(o=this._inputRef.current)||void 0===o||o.focus())}render(){const{annotation:e,formField:{options:t,name:n,multiSelect:o,readOnly:r,required:i},zoomLevel:a,formDesignMode:s,isRenderingAPStream:l,canFillFormFieldCP:c}=this.props,u=c&&!r,d=br({width:Math.ceil(e.boundingBox.width*a),height:Math.ceil(e.boundingBox.height*a)},l?{opacity:0}:br(br({},(0,nt.i2)(e,a)),{},{fontSize:Math.ceil(12*a),textAlign:e.horizontalAlign})),p=F()({[vr().listBox]:!0,[xo().widget]:!0,[xo().onFocus]:!0,[xo().readOnly]:!u,[vr().listBoxRotated]:!!e.rotation,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-ListBox":!0,"PSPDFKit-Annotation-Widget-read-only":!u,"PSPDFKit-Annotation-Widget-Required":i}),f=o?this.state.values.toArray():this.state.values.size>0?this.state.values.get(0):void 0;return T.createElement("select",{ref:this._inputRef,disabled:!u||s,style:d,size:t.size,className:p,name:n,onChange:this._onChange,multiple:o,onBlur:this._onBlur,onFocus:this._onFocus,value:f,required:i},t.map((e=>T.createElement("option",{key:e.value,value:e.value},e.label))))}}var Sr=n(30667);const Er=["borderColor","borderWidth","borderStyle","height","width","opacity","backgroundColor"];function Pr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function xr(e){for(var t=1;t{const t=(0,nt.CK)(e.formField,e.annotation);this.setState({checked:t})})),(0,o.Z)(this,"_inputRef",T.createRef()),(0,o.Z)(this,"handleChange",(()=>{const{dispatch:e,formField:t,annotation:n}=this.props;if(this.state.checked&&t.noToggleToOff)return;const o=(0,nt.g6)(t,n,!this.state.checked);e((0,Mo.xh)([{name:t.name,value:this.state.checked?null:(0,nt.l_)(t,n),optionIndexes:o}])),this.setState((e=>{let{checked:t}=e;return{checked:!t}}))})),(0,o.Z)(this,"uncheck",(e=>{const{formField:t,dispatch:n,annotation:o}=this.props;if(t.readOnly||t.noToggleToOff||!this.state.checked||"keydown"===e.type&&e.keyCode!==Sr.tW)return;"keydown"===e.type&&e.preventDefault();const r=(0,nt.g6)(t,o,!1);n((0,Mo.xh)([{name:t.name,value:null,optionIndexes:r}]))})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n,annotationToFocus:o}=this.props;o===n.id&&this.props.dispatch((0,Qt.vy)(null)),t&&t(n,e)}))}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;var o;n!==t&&this.props.annotation.id===t&&(null===(o=this._inputRef.current)||void 0===o||o.focus())}render(){const{annotation:{id:e},annotation:t,zoomLevel:n,formField:o,formDesignMode:i,isRenderingAPStream:a,canFillFormFieldCP:s}=this.props,{checked:l}=this.state,c=xr({width:Math.ceil(t.boundingBox.width*n),height:Math.ceil(t.boundingBox.height*n)},a?{opacity:0}:(0,nt.i2)(t,n,!1)),{borderColor:u,borderWidth:d,borderStyle:p,height:f,width:h,opacity:m,backgroundColor:g}=c,v=(0,r.Z)(c,Er),{transform:y,transformOrigin:b}=(0,nt.i2)(t,n);let w={width:h,height:f,opacity:m};(0,ot.kv)(t)&&(w=xr(xr({},w),{},{transform:y,transformOrigin:b}));const S=s&&!o.readOnly,E=F()({[Ro().input]:!0,[Ro().inputRadio]:!0,[xo().widget]:!0,[xo().readOnly]:!S,"PSPDFKit-Annotation-Widget-RadioButton-Control":!0}),P=F()({[Ro().checkradio]:!0,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-RadioButton":!0,"PSPDFKit-Annotation-Widget-read-only":!S});return T.createElement("label",{style:w,className:P},T.createElement("input",{ref:this._inputRef,type:"radio",name:o.name,disabled:!S||i,key:e,checked:l,value:(0,nt.l_)(o,t),className:l?Ro().checked:null,onChange:S?this.handleChange:void 0,onClick:this.uncheck,onKeyDown:this.uncheck,onFocus:this._handleFocus,onBlur:this._handleBlur,style:v}),T.createElement("span",{className:E,style:{borderColor:u,borderWidth:null!=d?d:Math.max(1,n),borderStyle:p,backgroundColor:g}}))}}var Cr=n(43578),kr=n.n(Cr),Ar=n(67628);function Or(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Tr(e){for(var t=1;t{this._focusableElement=e})),(0,o.Z)(this,"_handlePress",(e=>{e.stopPropagation(),e.preventDefault();const t=this.props.features.includes(ge.q.ELECTRONIC_SIGNATURES)?"es-signature":"ink-signature",n=this.props.isAnnotationPressPrevented({annotation:this.props.annotation,nativeEvent:e.nativeEvent,selected:!1});if(!e.isPrimary||n||this.props.isDigitallySigned)return;const{overlappingAnnotation:o}=this.state;o?this.props.dispatch((0,je.mg)(o,e,{selectedAnnotationShouldDrag:"touch"!==e.pointerType?new j.E9({x:e.clientX,y:e.clientY}):null})):(this._focusableElement&&this._focusableElement.focus(),this.props.dispatch((0,Qt.Ds)(t)),this.props.dispatch((0,En.Cc)({signatureRect:this.props.annotation.boundingBox,signaturePageIndex:this.props.annotation.pageIndex,formFieldName:this.props.formField.name})))})),(0,o.Z)(this,"_handleFocus",(e=>{const{onFocus:t,annotation:n}=this.props;t&&t(n,e)})),(0,o.Z)(this,"_handleBlur",(e=>{const{onBlur:t,annotation:n,annotationToFocus:o}=this.props;o===n.id&&this.props.dispatch((0,Qt.vy)(null)),t&&t(n,e)})),(0,o.Z)(this,"_handlePointerUp",(e=>{e.stopPropagation()}))}static getDerivedStateFromProps(e){const t=e.inkAnnotations.find((t=>t.boundingBox.isRectOverlapping(e.annotation.boundingBox)))||e.imageAnnotations.find((t=>t.boundingBox.isRectOverlapping(e.annotation.boundingBox)));return{overlappingAnnotation:t||null}}componentDidUpdate(e){const{annotationToFocus:t}=this.props,{annotationToFocus:n}=e;if(n!==t&&this.props.annotation.id===t&&!this.props.isDigitallySigned){const{overlappingAnnotation:e}=this.state,t=this.props.features.includes(ge.q.ELECTRONIC_SIGNATURES)?"es-signature":"ink-signature";e?this.props.dispatch((0,je.Df)((0,i.l4)([e.id]),null)):(this._focusableElement&&this._focusableElement.focus(),this.props.dispatch((0,Qt.Ds)(t)),this.props.dispatch((0,En.Cc)({signatureRect:this.props.annotation.boundingBox,signaturePageIndex:this.props.annotation.pageIndex,formFieldName:this.props.formField.name})))}}render(){const{formatMessage:e}=this.props.intl,{annotation:t,annotation:{boundingBox:n,id:o},formField:{readOnly:r,name:i},zoomLevel:a,formDesignMode:s,isDigitallySigned:l,hasSignatureLicenseComponent:c,backend:u,isDragging:d,canFillFormFieldCP:p,signatureFeatureAvailability:f}=this.props,h=Math.ceil(n.height*a),m=Tr(Tr({},(0,nt.i2)(t,a,!1)),{},{fontSize:(20e instanceof s.Zc)).toList(),u=l.filter((e=>e instanceof s.sK)).toList();return{isDigitallySigned:(0,Mr.Zt)(e,n),inkAnnotations:c,imageAnnotations:u,isAnnotationPressPrevented:t=>(0,J.TW)(t,e.eventEmitter),backend:e.backend,features:i,signatureFeatureAvailability:a,hasSignatureLicenseComponent:i.includes(ge.q.DIGITAL_SIGNATURES)||i.includes(ge.q.ELECTRONIC_SIGNATURES)}}))(Fr),Rr=_r;function Nr(e,t){return Nr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Nr(e,t)}function Lr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nr(e,t)}var Br=n(34710),jr=n(4054);function zr(){zr=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,o,r){var i=new RegExp(e,o);return t.set(i,r||t.get(e)),Nr(i,n.prototype)}function o(e,n){var o=t.get(n);return Object.keys(o).reduce((function(t,n){var r=o[n];if("number"==typeof r)t[n]=e[r];else{for(var i=0;void 0===e[r[i]]&&i+1]+)>/g,(function(e,t){var n=i[t];return"$"+(Array.isArray(n)?n.join("$"):n)})))}if("function"==typeof r){var a=this;return e[Symbol.replace].call(this,n,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(o(e,a)),r.apply(this,e)}))}return e[Symbol.replace].call(this,n,r)},zr.apply(this,arguments)}function Kr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Zr(e){for(var t=1;t{const e=this._inputRef.current;(0,a.kG)(e);const{value:t}=e,{comb:n,doNotScroll:o,multiLine:r}=this.props.formField,i=t.length{if(h!==this._latestKeystrokeDiff||0===t.length)return;const n=t[0].object;if(!n.returnCode)return void this.setState({value:this.state.initialValue,editingValue:this.state.initialEditingValue});const o=(0,$.F6)(h,n.change),r=t.slice(1);r.length&&this.props.dispatch((0,Mo.bt)({changes:r})),this.setState({value:o,initialValue:o,editingValue:o,initialEditingValue:o},(function(){n.selStart!==e.selectionStart&&(e.selectionStart=n.selStart),n.selEnd!==h.endCursorPosition&&(e.selectionEnd=n.selEnd)}))})).catch(a.vU)})),(0,o.Z)(this,"_onFocus",(e=>{const t=this._inputRef.current;this.setState({isFocused:!0,shouldRecalculateWhenOverflow:!!t&&t.clientHeight{this.setState({isFocused:!1}),this.props.annotationToFocus===this.props.annotation.id&&this.props.dispatch((0,Qt.vy)(null)),this._latestKeystrokeDiff=null,this._commitChanges();const{onBlur:t}=this.props;t&&(e.persist(),t(this.props.annotation,e.nativeEvent))}))}static getDerivedStateFromProps(e,t){return t.valueFromCurrentProps!==e.formField.value||t.readOnlyFromCurrentProps!==e.formField.readOnly?Gr(e,t):null}componentWillUnmount(){this._latestKeystrokeDiff=null,this._commitChanges();const{onBlur:e,annotation:t}=this.props;e&&e(t,(0,no.M)("blur"))}_commitChanges(){this.props.formField.value!==this.state.value&&this.props.dispatch((0,Mo.xh)([Zr({name:this.props.formField.name,value:this.state.value},this.props.formField.multiLine&&{isFitting:(0,lr.$Z)(this.props.annotation,this.state.value,this.props.zoomLevel)})]))}_dateFormat(){var e,t;const{annotation:n}=this.props,o=null===(e=n.additionalActions)||void 0===e||null===(t=e.onFormat)||void 0===t?void 0:t.script;if(!o)return null;const r=zr(/(AFTime|AFDate)_([FormatEx]*)\("*([0-9]+|[\w\d\s:\-/]*)"*\)/,{name:1,type:2,argument:3}),i=o.match(r);if(!i)return null;const{argument:a,type:s,name:l}=i.groups;if("FormatEx"===s){const e=a.match(/[d|y|m]/);return"AFDate"===l&&e||"AFTime"===l&&!e?a:null}switch(l){case"AFDate":return Ur[a];case"AFTime":return Vr[a]}return null}_dateInputType(e){if(e){const t=e.match(/[d|y|m]/),n=e.match(/[H|h|M|t]/);if(t&&n)return"datetime-local";if(n)return"time"}return"date"}_getReusableRealm(){return this._reusableRealm?this._reusableRealm.window.document.body.innerHTML="":this._reusableRealm=(0,jr.Aw)(this.props.frameWindow),this._reusableRealmRemoveTimeout&&clearTimeout(this._reusableRealmRemoveTimeout),this._reusableRealmRemoveTimeout=setTimeout((()=>{this._reusableRealm&&this._reusableRealm.remove(),this._reusableRealm=null,this._reusableRealmRemoveTimeout=null}),200),(0,a.kG)(this._reusableRealm),this._reusableRealm}componentDidUpdate(e){var t;e.annotationToFocus!==this.props.annotationToFocus&&this.props.annotationToFocus===this.props.annotation.id&&(null===(t=this._inputRef.current)||void 0===t||t.focus())}render(){const{annotation:{boundingBox:{width:e,height:t},lineHeightFactor:n},annotation:o,formField:{name:r,password:i,maxLength:a,doNotSpellCheck:s,doNotScroll:l,multiLine:c,readOnly:u,comb:d,required:p},zoomLevel:f,formDesignMode:h,formattedValue:m,frameWindow:g,isRenderingAPStream:v,canFillFormFieldCP:y}=this.props,b=function(e,t){return e.isFocused||null==t?e.isFocused&&null!=e.editingValue?e.editingValue:e.value:t}(this.state,m),w=this._memoizedCalculateFontSize(b,e,t,o.fontSize,c,o.borderWidth||0,this._inputRef.current),S=Zr({width:o.boundingBox.width*f,height:o.boundingBox.height*f,fontSize:w*f},v?{opacity:0}:Zr(Zr({},(0,nt.i2)(o,f)),{},{overflow:l?"hidden":"auto",paddingTop:0,paddingBottom:0,paddingLeft:c?lr.DI*f:0,paddingRight:c?lr.DI*f:0}));if(o.horizontalAlign&&(S.textAlign=o.horizontalAlign),o.verticalAlign&&!c&&("bottom"===o.verticalAlign?S.paddingTop=S.height-S.fontSize-2*S.borderWidth:"top"===o.verticalAlign&&(S.paddingBottom=S.height-S.fontSize-2*S.borderWidth)),d&&"number"==typeof a&&!c){const t=this._memoizedCalculateCombLetterSpacing(w,e,a,g.document,this._inputRef.current)*f;S.fontFamily="monospace",S.letterSpacing=t,S.paddingLeft=t/2,S.paddingRight=0}const E=i?"password":"text",P=y&&!u,x=F()({[xo().readOnly]:!P,[xo().widget]:!0,[xo().combNoPaddingLeftOnFocus]:d&&a,[xo().onFocus]:!0,"PSPDFKit-Annotation-Widget PSPDFKit-Annotation-Widget-Text":!0,"PSPDFKit-Annotation-Widget-read-only":!P,"PSPDFKit-Annotation-Widget-Required":p}),D=!P||h;if(!i&&c){let e=lr.n*f;const t=S.height-S.fontSize;t-2*e<0&&(e=t>0?t/2:0);const i=S.fontSize*(null!=n?n:1),l=S.height/i<2?0:Math.min((null!=n?n:1)*w*.4*f,5*f),c=Zr(Zr({},S),{},{resize:"none",paddingTop:e+l,paddingLeft:lr.DI*f,paddingRight:lr.DI*f,paddingBottom:Math.max(e-l,0),lineHeight:`${i}px`});if(o.verticalAlign&&"top"!==o.verticalAlign){this._usedHeight=this._memoizedGetTextareaUsedHeight(b||" ",o.boundingBox.width,f,w,this._getReusableRealm());const t=c.height-(this._usedHeight||c.fontSize);"bottom"===o.verticalAlign?c.paddingTop=c.height>this._usedHeight?t-e-2*c.borderWidth:0:"center"===o.verticalAlign&&(c.paddingTop=c.height>this._usedHeight?t/2-c.borderWidth:0,c.paddingBottom=c.height>this._usedHeight?t/2-e-c.borderWidth:0)}return T.createElement("textarea",{ref:this._inputRef,className:x,name:r,disabled:D,value:b,style:c,maxLength:a,spellCheck:!s,onChange:this._onChange,onBlur:this._onBlur,onFocus:this._onFocus,required:p})}const C=this._dateFormat(),k=this._dateInputType(C);return C&&k?T.createElement(ue.qe,{ref:this._inputRef,style:S,className:x,name:r,value:b,disabled:D,type:k,maxLength:a,format:C,onChange:this._onChange,onBlur:this._onBlur,onFocus:this._onFocus,required:p}):T.createElement("input",{ref:this._inputRef,className:x,type:E,disabled:D,maxLength:a,name:r,value:b,style:S,spellCheck:!s,onChange:this._onChange,onBlur:this._onBlur,onFocus:this._onFocus,required:p})}}function qr(e,t,n,o,r){let s,l=e/2;try{s=new Br.f(o,(0,i.aV)(["_"]),{fontSize:`${e}px`,width:`${t}px`,wordWrap:"break-word",whiteSpace:"pre-wrap",fontFamily:"monospace"},xo().widget,r&&r.parentNode);const n=s.measure().first();(0,a.kG)(n),l=n.width}finally{s&&s.remove()}const c=t/n-l;return Math.max(c,0)}function Hr(e,t,n,o,r){let i;try{const a={width:`${Math.ceil(t*n)}px`,fontSize:o*n+"px",padding:`0 ${lr.DI*n}px`,whiteSpace:"pre-wrap",overflowWrap:"break-word",maxWidth:t*n+"px",border:`${Math.max(1,n)}px solid transparent`,boxSizing:"border-box",display:"block",fontFamily:"Helvetica, sans-serif",margin:"0",outline:"0"};return i=new Br.f(r.window.document,e,a),i.wrapper?i.wrapper.scrollHeight:0}finally{i&&i.remove()}}var $r=n(61631),Yr=n(5020);function Xr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Jr(e){for(var t=1;t{this._pointerRecognizer=e})),(0,o.Z)(this,"onFocus",((e,t)=>{const{onFocus:n,dispatch:o,annotation:{additionalActions:r,formFieldName:i}}=this.props;r&&r.onFocus&&o((0,$r.gH)(r.onFocus.script,i)),n&&n(e,t),this.setState({isFocused:!0})})),(0,o.Z)(this,"onBlur",((e,t)=>{const{onBlur:n,dispatch:o,annotation:{additionalActions:r,formFieldName:i}}=this.props;r&&r.onBlur&&o((0,$r.gH)(r.onBlur.script,i)),n&&n(e,t),this.setState({isFocused:!1})})),(0,o.Z)(this,"onPointerUp",(()=>{var e;null!==(e=this.props.annotation.additionalActions)&&void 0!==e&&e.onPointerUp&&this.props.dispatch((0,$r.TU)(this.props.annotation,"onPointerUp")),this.state.isDown&&this.setState({isDown:!1})})),(0,o.Z)(this,"onPointerEnter",(()=>{var e,t;this._elementBoundingBox=null===(e=this._pointerRecognizer)||void 0===e?void 0:e.getBoundingClientRect(),null!==(t=this.props.annotation.additionalActions)&&void 0!==t&&t.onPointerEnter&&this.props.dispatch((0,$r.TU)(this.props.annotation,"onPointerEnter")),this.props.hasRolloverVariantAPStream&&this.setState({isRollover:!0})})),(0,o.Z)(this,"onPointerLeave",(()=>{var e;null!==(e=this.props.annotation.additionalActions)&&void 0!==e&&e.onPointerLeave&&this.props.dispatch((0,$r.TU)(this.props.annotation,"onPointerLeave")),this.state.isRollover&&this.setState({isRollover:!1,isDown:!1})})),(0,o.Z)(this,"onRootPointerMove",(e=>{var t,n,o,r;this._elementBoundingBox&&this.state.isRollover&&(e.clientX<(null===(t=this._elementBoundingBox)||void 0===t?void 0:t.left)||e.clientX>(null===(n=this._elementBoundingBox)||void 0===n?void 0:n.right)||e.clientY<(null===(o=this._elementBoundingBox)||void 0===o?void 0:o.top)||e.clientY>(null===(r=this._elementBoundingBox)||void 0===r?void 0:r.bottom))&&this.onPointerLeave()})),(0,o.Z)(this,"handlePointerUp",(e=>{e.stopPropagation()})),(0,o.Z)(this,"handleOpenStateChange",(e=>{var t,n;(this.setState({isComboboxOpen:e}),this.props.isComboBoxOpen&&this.props.isComboBoxOpen(e),e)||(null===(t=(n=this.props).handleComboBoxRect)||void 0===t||t.call(n,null))})),(0,o.Z)(this,"handleComboBoxRect",(e=>{var t,n;null===(t=(n=this.props).handleComboBoxRect)||void 0===t||t.call(n,e)})),(0,o.Z)(this,"handlePointerDown",(e=>{if(e.isPrimary&&this.props.isSelectable&&this.props.hasDownVariantAPStream&&this.setState({isDown:!0}),!e.isPrimary||!this.props.isSelectable||this.props.formField instanceof j.R0&&!this.props.formDesignMode)return;const t={selectedAnnotationShouldDrag:"touch"!==e.pointerType?new j.E9({x:e.clientX,y:e.clientY}):null,stopPropagation:!0};this.props.dispatch((0,je.mg)(this.props.annotation,e,t))}))}renderWidgetComponent(e){const{formField:t,canFillFormFieldCP:n,frameWindow:o}=this.props;(0,a.kG)(t),(0,a.kG)(o);const r={dispatch:this.props.dispatch,annotation:this.props.annotation,zoomLevel:this.props.zoomLevel,frameWindow:o,onFocus:this.onFocus,onBlur:this.onBlur,onPointerUp:e?this.handlePointerUp:void 0,formDesignMode:this.props.formDesignMode,backend:this.props.backend,formattedValue:this.props.formattedValue,editingValue:this.props.editingValue,isRenderingAPStream:e,canFillFormFieldCP:n,viewportState:this.props.viewportState,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected,annotationToFocus:this.props.annotationToFocus};if(t instanceof j.$o)return T.createElement(Wr,(0,De.Z)({},r,{formField:t}));if(t instanceof j.Vi)return T.createElement(wr,(0,De.Z)({},r,{formField:t}));if(t instanceof j.rF)return T.createElement(Lo,(0,De.Z)({},r,{formField:t}));if(t instanceof j.fB)return T.createElement(hr,(0,De.Z)({},r,{handleComboxBoxRect:this.handleComboBoxRect,onOpenStateChange:this.handleOpenStateChange,formField:t}));if(t instanceof j.XQ)return T.createElement(Dr,(0,De.Z)({},r,{formField:t}));if(t instanceof j.R0)return T.createElement(Oo,(0,De.Z)({},r,{formField:t}));if(t instanceof j.Yo)return T.createElement(Rr,(0,De.Z)({},r,{isDragging:this.props.isDragging,formField:t}));throw new Error("Unsupported type for FormField.")}renderWidgetMaybeWithAPStream(){const{annotation:e,zoomLevel:t,backend:n,formField:o,isDragging:r,shouldKeepRenderingAPStream:i,intl:{formatMessage:a}}=this.props,s=i&&!this.state.isComboboxOpen&&(!this.state.isFocused||o instanceof j.rF||o instanceof j.XQ||o instanceof j.R0)&&!(o instanceof j.Yo),l=(0,J.vk)(e.blendMode),c=l?{mixBlendMode:l}:{};let u;return this.state.isRollover&&(u="rollover"),this.state.isDown&&(u="down"),T.createElement("div",{style:c},this.renderWidgetComponent(s),s?T.createElement(Pe.Reparent,{id:`annotation-widget-${e.id}`,className:it().APStreamParent},T.createElement(lt,{annotation:e,variant:u,zoomLevel:t,backend:n,formField:o,label:a(Ke.Z.annotation),isDragging:r})):null)}render(){const{annotation:{rotation:e,boundingBox:t,id:n},zoomLevel:o,formDesignMode:r,formField:i,isSelectable:a}=this.props;if(!i)return null;const s=90===(0,Yr.Lv)(e)||270===(0,Yr.Lv)(e);let l=ti,c=ni;return s&&(l=Jr(Jr({},l),{},{transformOrigin:"50% 50%",transform:(0,nt.G8)({width:Math.ceil(t.width*o),height:Math.ceil(t.height*o),rotation:(0,Yr.Lv)(e)})}),c=Jr(Jr({},c),{},{transformOrigin:"50% 50%",transform:(0,nt.G8)({width:Math.ceil(t.width*o),height:Math.ceil(t.height*o),rotation:(0,Yr.Lv)(e),reverse:!0})})),T.createElement(Be,{position:t.getLocation(),zoomLevel:o,isMultiAnnotationsSelected:this.props.isMultiAnnotationsSelected},T.createElement(pt.Z,{onPointerDown:this.handlePointerDown,onPointerUp:this.onPointerUp,onPointerEnter:this.onPointerEnter,onPointerLeave:this.onPointerLeave,onRootPointerMove:this.onRootPointerMove,onDOMElement:this._pointerRecognizerRef},r&&a?T.createElement("div",{style:l,className:"PSPDFKit-Annotation","data-annotation-id":n},T.createElement("div",{style:c},this.renderWidgetMaybeWithAPStream())):T.createElement("div",{className:"PSPDFKit-Annotation","data-annotation-id":n},this.renderWidgetMaybeWithAPStream())))}}const ei=(0,Re.XN)(Qr,{forwardRef:!0}),ti={cursor:"pointer"},ni={pointerEvents:"none"};var oi=n(10284);const ri=(0,Eo.x)((function(e,t){let{annotation:n}=t;const o=e.formFields.get(n.formFieldName),r=o&&e.formattedFormFieldValues.get(o.name),i=o&&e.editingFormFieldValues.get(o.name);return{annotation:n,formField:(null==o?void 0:o.set("readOnly",(0,So.VY)(o,n,e)))||null,frameWindow:e.frameWindow,formDesignMode:e.formDesignMode,backend:e.backend,formattedValue:r,editingValue:i,canFillFormFieldCP:!!o&&(0,oi.os)(o,e),viewportState:e.viewportState,hasDownVariantAPStream:!("number"!=typeof n.pdfObjectId||!e.APStreamVariantsDown.has(n.pdfObjectId)),hasRolloverVariantAPStream:!("number"!=typeof n.pdfObjectId||!e.APStreamVariantsRollover.has(n.pdfObjectId)),annotationToFocus:e.widgetAnnotationToFocus}}),{forwardRef:!0})(ei),ii=ri;var ai=n(57497),si=n.n(ai),li=n(70094);const ci=li.p1;const ui=function(e){var t;const{annotation:n,dispatch:o,zoomLevel:r,isAnnotationSelected:i,activeAnnotationNote:a,visible:l}=e,c=a&&(null===(t=a.parentAnnotation)||void 0===t?void 0:t.id)===n.id,u=n.isCommentThreadRoot,d=T.useMemo((()=>c&&a?a:(0,li.Yu)(n,u?24:ci,u?24:ci)),[n,c,u,a]),p=d.position,f=(u||n.note||c)&&function(e){return!(e instanceof s.Qi||e instanceof s.gd||e instanceof s.Jn||e instanceof s.x_||e instanceof s.R1||function(e){return e.creatorName&&/AutoCAD SHX Text/i.test(e.creatorName)}(e))}(n),h=!tt.Ni&&!u,{width:m,height:g}=d.boundingBox,v={width:m,height:g,transformOrigin:"top left",transform:`translate(${m*r/2-m/2}px, ${g*r/2-g/2}px)`},y=n.constructor.readableName;return T.createElement(T.Fragment,null,f&&T.createElement(Be,{position:p,zoomLevel:r},T.createElement(pt.Z,{onPointerUp:e=>{u?o((0,je.mg)(n,e)):(i||o((0,je.mg)(d.parentAnnotation,e)),o((0,je.mv)(d))),e&&e.stopPropagation()}},T.createElement("div",{className:F()({"PSPDFKit-Annotation-Note":!0,[si().noteIndicator]:!0,[si().noteIndicatorActive]:i||c,[`PSPDFKit-Annotation-Note-${y}Annotation`]:!!y}),onMouseEnter:h?e=>{o((0,je._3)(d)),e&&e.stopPropagation()}:void 0,onMouseLeave:h?e=>{o((0,je._3)(null)),e&&e.stopPropagation()}:void 0},l?T.createElement(Ze.Z,{style:v,className:F()(si().icon,c&&si().iconActive),type:u?"comment-indicator":"note-indicator"}):T.createElement("div",{style:v})))))},di=T.memo((function(e){const{annotation:t,annotation:{boundingBox:n},zoomLevel:o,backend:r,onFocus:i,onBlur:s,isMultiAnnotationsSelected:l}=e,{formatMessage:c}=(0,Re.YB)(),u={width:n.width*o,height:n.height*o},[d,p]=T.useState(void 0),[f,h]=T.useState(void 0);T.useEffect((()=>{r.cachedRenderAnnotation(t,void 0,u.width,u.height).promise.then((e=>{if((null==e?void 0:e.element)instanceof HTMLImageElement)return h(e.element.src)})).catch((e=>{throw new a.p2(`Could not render the media annotation: ${e.message}`)}))}),[t,r,u.width,u.height]),T.useEffect((()=>{r.getAttachment(t.mediaAttachmentId).then((e=>p(e))).catch((()=>{throw new a.p2("Could not get media attachment for "+t.id)}))}),[t.mediaAttachmentId,r,t.id]);const m=T.useMemo((()=>d?URL.createObjectURL(d):""),[d]);T.useEffect((()=>function(){m&&URL.revokeObjectURL(m)}),[m]);const g=T.useCallback((function(e){i(t,e)}),[t,i]),v=T.useCallback((function(e){s(t,e)}),[t,s]);return m?T.createElement(Be,{position:n.getLocation(),zoomLevel:o,isMultiAnnotationsSelected:l},T.createElement("div",{className:F()("PSPDFKit-MediaAnnotation","PSPDFKit-Annotation"),"data-annotation-id":t.id,tabIndex:0,onFocus:g,onBlur:v},T.createElement("video",{src:m,controls:!0,width:u.width,height:u.height,poster:f,"aria-label":`${c(Ke.Z.annotation)}: ${c(Ke.Z.mediaAnnotation)} ${t.fileName}`},c(Ke.Z.mediaFormatNotSupported)))):null})),pi=di;var fi=n(58479);const hi=T.forwardRef((function(e,t){let{annotation:n,globalAnnotation:o,attachments:r,backend:i,dispatch:a,isAnnotationReadOnly:l,isDisabled:c,isHover:u,isFocused:d,onBlur:p,onFocus:f,pageSize:h,zoomLevel:m,rotation:g,pageRotation:v,isSelected:y,showAnnotationNotes:b,activeAnnotationNote:w,onClick:S,isResizing:E=!1,isModifying:P=!1,isDragging:x=!1,isRotating:D=!1,cursor:C,shouldRenderAPStream:k,isMultiAnnotationsSelected:O=!1,isComboBoxOpen:I,handleComboBoxRect:F}=e;const[M,_]=T.useState(!1),R=T.useCallback((()=>_(!0)),[]),N=(0,A.v9)((e=>"formFieldName"in n?e.formFields.get(n.formFieldName):void 0)),L=(0,A.v9)((e=>(0,Mr.Zt)(e,n))),B=(0,fi.jC)({annotation:n,formField:N,zoomLevel:m,isDigitallySignedWidget:L});T.useEffect((()=>{B&&dt({annotation:n,formField:N,zoomLevel:m,isDigitallySigned:L},B)&&_(!1)}),[n,N,m,L]);const j=l(n),z={backend:i,dispatch:a,isDisabled:c,isSelectable:!j,onBlur:p,onFocus:f,ref:t,zoomLevel:m,rotation:g,isDragging:x,shouldKeepRenderingAPStream:k&&!E&&!P&&!D&&!M,isFocused:d,isMultiAnnotationsSelected:O,cursor:C,isComboBoxOpen:I,handleComboBoxRect:F,onError:R},K=(0,A.v9)((e=>e.secondaryMeasurementUnit));let Z=null;return n instanceof s.Hu&&(Z=T.createElement(pi,(0,De.Z)({},z,{annotation:n}))),n instanceof s.sK?Z=T.createElement(ht,(0,De.Z)({},z,{attachment:n.imageAttachmentId?r.get(n.imageAttachmentId):null,annotation:n})):n instanceof s.Zc?Z=T.createElement(Gt,(0,De.Z)({},z,{annotation:n})):n instanceof s.R1?Z=T.createElement(Jt,(0,De.Z)({},z,{isHover:u,annotation:n})):n instanceof s.Qi?Z=T.createElement(sn,(0,De.Z)({},z,{isReadOnly:j,annotation:n})):n instanceof s.UX?Z=T.createElement(zn,(0,De.Z)({},z,{annotation:n,secondaryMeasurementUnit:K})):n instanceof s.GI?Z=T.createElement(Un,(0,De.Z)({},z,{annotation:n,globalAnnotation:o})):n instanceof s.gd?Z=T.createElement(eo,(0,De.Z)({},z,{pageSize:h,onClick:S,annotation:n,globalAnnotation:o})):n instanceof s.Wk?Z=T.createElement(lo,(0,De.Z)({},z,{active:y,annotation:n})):n instanceof s.On?Z=T.createElement(vo,(0,De.Z)({},z,{active:y,pageRotation:v,annotation:n})):n instanceof s.Ih?Z=T.createElement(wo,(0,De.Z)({},z,{annotation:n})):n instanceof s.x_?Z=T.createElement(ii,(0,De.Z)({},z,{annotation:n})):n instanceof s.Jn&&(Z=T.createElement(We,(0,De.Z)({},z,{isReadOnly:j,active:y,annotation:n}))),T.createElement(Ie,{key:n.id,zoomLevel:m,renderer:"Annotation",notCSSScaled:n instanceof s.x_},T.createElement(gi,{annotation:n},Z,b&&(0,J.YV)(n)&&T.createElement(ui,{dispatch:a,annotation:n,zoomLevel:m,isAnnotationSelected:y,activeAnnotationNote:w,visible:!0})))})),mi=hi;function gi(e){let{children:t}=e;return T.createElement("div",null,t)}const vi=(0,A.$j)(((e,t)=>{let{pageIndex:n}=t;return{viewportState:e.viewportState,transformClientToPage:function(t){return e.transformClientToPage(t,n)}}})),yi=(0,A.$j)((e=>({transformClientToPage:e.transformClientToPage})));var bi=n(51333),wi=n(2019),Si=n.n(wi);class Ei extends T.PureComponent{constructor(e){let t,n,r;if(super(e),(0,o.Z)(this,"layerRef",T.createRef()),(0,o.Z)(this,"_handlePointerUp",(e=>{if(!e.isPrimary)return;const t=this._getNormalizedMousePosition(e);if(!t)return;const n=this._fitRectInPage(new j.UL({left:t.x-this.sizes.width/2,top:t.y-this.sizes.height/2,width:this.sizes.width,height:this.sizes.height}),this.props.pageSize),o=this.props.annotation.set("pageIndex",this.props.pageIndex).set("boundingBox",n);e.stopPropagation(),o instanceof j.Qi?this.props.dispatch((0,Qt.FG)(o)):o instanceof j.Jn&&(this.props.dispatch((0,Qt.Zr)((0,i.aV)([o]))),this.props.dispatch((0,bi.mh)(o.id)))})),e.annotation instanceof j.Qi)t=n=r=Je.SP,this.cursor="context-menu";else{if(!(e.annotation instanceof j.Jn))throw Error("Annotation type not supported.");t=n=r=Je.zk,this.cursor="context-menu"}this.sizes={width:t,height:n,minWidth:r}}_getNormalizedMousePosition(e){const{target:t}=e;if(this.layerRef.current){const{defaultView:n}=this.layerRef.current.ownerDocument;if(t instanceof n.HTMLDivElement)return this.props.transformClientToPage(new j.E9({x:e.clientX,y:e.clientY}),this.props.pageIndex)}}_fitRectInPage(e,t){const{width:n,height:o}=t,r=this.sizes.minWidth||this.sizes.width;return e.top+e.height>o&&(e=e.set("top",o-e.height)),e.left+r>n&&(e=e.set("left",n-r)),e}render(){return T.createElement(pt.Z,{onPointerUp:this._handlePointerUp},T.createElement("div",{"data-testid":"create-annotation-layer"},T.createElement("div",{className:Si().layer,style:{cursor:this.cursor||"auto"},ref:this.layerRef})))}}const Pi=yi(Ei);var xi=n(921),Di=n.n(xi);class Ci extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{currentSelectableAnnotation:null}),(0,o.Z)(this,"_handlePointerDownCapture",(e=>{this._pointerDownTime=Date.now();const t=this._transformToPagePoint(e);this._selectableAnnotation=this.findSelectableAnnotation(t);const n=this._selectableAnnotation instanceof j.R1;var o,r,i,a;(n&&(this._selectedAnnotationOnDown=this.findSelectedAnnotationAtPoint(t)),this._isInterestedInUpCapture=n&&!this._selectedAnnotationOnDown,e.metaKey||e.ctrlKey&&this.props.isMultiSelectionEnabled)?(null===(o=(r=this.props).setMultiAnnsInitialEvent)||void 0===o||o.call(r,e.nativeEvent),this.props.dispatch((0,En.YF)(!0))):null===(i=(a=this.props).setMultiAnnsInitialEvent)||void 0===i||i.call(a,void 0)})),(0,o.Z)(this,"_handlePointerUpCapture",(e=>{if(!this._selectableAnnotation||!this._isInterestedInUpCapture||!this.getSelection().isCollapsed)return;const t=Date.now()-this._pointerDownTime>300,n=this._selectableAnnotation,o=n instanceof j.R1;if(t&&!o)return void(this._selectableAnnotation=null);const r=n instanceof j.On||o,i=!this._selectedAnnotationOnDown&&Boolean(this.findSelectedAnnotationAtPoint(this._transformToPagePoint(e)));this.props.dispatch((0,je.mg)(n,e,{preventDefault:r,stopPropagation:r,clearSelection:i,longPress:t&&o}))})),(0,o.Z)(this,"_handlePointerUp",(e=>{if(!this.getSelection().isCollapsed||!this._selectableAnnotation||this._selectedAnnotationOnDown)return;const t=this._selectableAnnotation,n=t instanceof j.On;this.props.dispatch((0,je.mg)(t,e,{preventDefault:n,stopPropagation:n}))})),(0,o.Z)(this,"_handlePointerMove",(e=>{if("mouse"!==e.pointerType)return;const{currentSelectableAnnotation:t}=this.state,n=this._transformToPagePoint(e),o=this.findSelectableAnnotation(n);!(0,i.is)(o,t)&&(t&&this.props.hoverAnnotationIds.has(t.id)&&this.props.dispatch((0,je.IP)(t.id)),!o||this.props.hoverAnnotationIds.has(o.id)||this.checkifHoverPointIsDefferedRegion(new j.E9({x:e.clientX,y:e.clientY}))||this.props.dispatch((0,je.oX)(o.id)),this.setState({currentSelectableAnnotation:o}))}))}checkifHoverPointIsDefferedRegion(e){if(this.props.hitCaptureDefferedRect&&this.props.hitCaptureDefferedRect.length>0)for(const t of this.props.hitCaptureDefferedRect){if(e.x>=t.left&&e.x<=t.right&&e.y>=t.top&&e.y<=t.bottom)return!0}return!1}_transformToPagePoint(e){return this.props.transformClientToPage(new j.E9({x:e.clientX,y:e.clientY}),this.props.pageIndex)}_boundingBoxHitTest(e){const t=tt.Ni?Je.wK:Je.XZ;return n=>n instanceof j.R1?n.boundingBox.isPointInside(e):n.boundingBox.grow(t).isPointInside(e)}_findSelectableLinkAnnotation(e){return this.props.selectableLinkAnnotations.filter(J.Fp).findLast(this._boundingBoxHitTest(e))}_findSelectableTextMarkupAnnotation(e){return this.props.selectableTextMarkupAnnotations.filter(J.Fp).findLast((t=>t.rects.find((t=>t.grow(tt.Ni?Je.wK:Je.XZ).isPointInside(e)))))}findSelectableAnnotation(e){const t=this._findSelectableLinkAnnotation(e),n=this._findSelectableTextMarkupAnnotation(e);return t||n}findSelectedAnnotationAtPoint(e){return this.props.selectedAnnotations.findLast(this._boundingBoxHitTest(e))}getSelection(){return this.props.window.getSelection()}render(){const e=!!this.state.currentSelectableAnnotation,t=F()({[Di().layer]:!0,[Di().cursorText]:this.props.keepSelectedTool&&"TEXT"===this.props.interactionMode,[Di().cursorPointer]:e,"PSPDFKit-CursorPointer":e});return T.createElement(pt.Z,{onPointerMove:this._handlePointerMove,onPointerUp:this._handlePointerUp,onPointerDownCapture:this.props.isHitCaptureDeffered?void 0:this._handlePointerDownCapture,onPointerDown:this.props.isHitCaptureDeffered?this._handlePointerDownCapture:void 0,onPointerUpCapture:this._handlePointerUpCapture},T.createElement("div",{className:t},this.props.children))}}const ki=yi(Ci);class Ai extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"precision",Rt(this.props.zoomLevel)),(0,o.Z)(this,"pointsToPathArray",mt.Ei.ENABLE_INK_SMOOTH_LINES?e=>Nt(e,this.precision):Lt),(0,o.Z)(this,"_pathDataFromFragments",((e,t,n)=>{if(!n||n.length<3)return null;const o=this.props.annotation.lines.get(t);return!o||o.size{let{annotation:t,onDrawStart:n}=this.props;this.precision=Rt(this.props.zoomLevel),t=t.update("lines",(t=>t.push((0,i.aV)([e,new j.Wm({x:e.x,y:e.y,intensity:e.intensity})])))),t=t.set("boundingBox",Mt(t)),n(t)})),(0,o.Z)(this,"_onDraw",(e=>{let{annotation:t,onDraw:n}=this.props,o=t.lines.last();(0,a.kG)(o),o=e.reduce(((e,t)=>function(e,t,n){return 0===n||0===e.size||e.last().distance(t)>n}(e,t,this.props.distanceBetweenPoints)?e.push(t):e),o.pop()).push(e[e.length-1]),t=t.setIn(["lines",this.props.annotation.lines.size-1],o),t=t.set("boundingBox",function(e,t){const{boundingBox:n,lineWidth:o}=e;let{left:r,top:i,width:a,height:s}=n,l=Math.floor(r),c=Math.floor(i),u=Math.ceil(r+a),d=Math.ceil(i+s);return t.forEach((e=>{l=Math.floor(Math.min(r,e.x-o/2)),c=Math.floor(Math.min(i,e.y-o/2)),u=Math.ceil(Math.max(r+a,e.x+o/2)),d=Math.ceil(Math.max(i+s,e.y+o/2)),r=l,i=c,a=u-l,s=d-c})),new j.UL({left:r,top:i,width:a,height:s})}(t,o)),n(t)})),(0,o.Z)(this,"_onDrawEnd",(()=>{let{annotation:e,onDrawEnd:t}=this.props;const n=e.lines.last();if((0,a.kG)(n),n.size>1){const t=n.get(n.size-2);t&&0===n.last().distance(t)&&(e=e.updateIn(["lines",e.lines.size-1],(e=>e.pop())))}t(e)}))}render(){const{annotation:e,canvasSize:t,zoomLevel:n}=this.props,{boundingBox:o}=e;return T.createElement("div",{className:Kt().canvas,style:{cursor:this.props.cursor,mixBlendMode:(0,J.vk)(e.blendMode)},"data-testid":"ink-canvas-outer-div"},T.createElement(Be,{zoomLevel:n,applyZoom:!0},T.createElement("div",{style:{position:"absolute",top:o.top,left:o.left,width:o.width,height:o.height}},T.createElement(Wt,{isSelectable:!1,annotation:e,viewBox:o,pathDataFromFragments:this._pathDataFromFragments,precision:this.precision}))),T.createElement(Sn.Z,{scrollElement:this.props.scrollElement,size:t,onDrawStart:this._onDrawStart,onDrawCoalesced:this._onDraw,onDrawEnd:this._onDrawEnd,transformPoint:this.props.transformPoint,interactionMode:this.props.interactionMode,canScrollWhileDrawing:this.props.canScrollWhileDrawing}))}}(0,o.Z)(Ai,"defaultProps",{canvasSize:new j.$u({width:300,height:200}),distanceBetweenPoints:0,cursor:"default",zoomLevel:1});const Oi=(0,jo.Z)(jt);function Ti(e){const t=e.inkAnnotation.lineWidth/2*e.viewportState.zoomLevel;return{currentInkAnnotation:e.inkAnnotation,cursor:Oi(t),zoomLevel:e.viewportState.zoomLevel,inkAnnotationFromCurrentProps:e.inkAnnotation}}class Ii extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",Ti(this.props)),(0,o.Z)(this,"lastEndDrawingTime",Date.now()),(0,o.Z)(this,"_transformClientToPage",(e=>e.apply(this.props.clientToPageTransformation))),(0,o.Z)(this,"_onDrawStart",(e=>{const t=e.pageIndex,n={annotations:(0,i.aV)([e]),reason:u.f.DRAW_START};this.props.eventEmitter.emit("annotations.willChange",n),null===t?e=e.set("pageIndex",this.props.pageIndex):t!==this.props.pageIndex?(e=e.set("pageIndex",this.props.pageIndex),this.props.dispatch((0,Qt.vc)(e,this.props.pageIndex))):function(e,t,n){if(e.lines.size<2)return!0;const o=e.lines.last();if(null==e.lines.get(e.lines.size-2)||null==o||0===o.size||o.size>2)return!0;const r=.5*(t.width+t.height),i=e.lines.size<50?.15:.03,a=(Date.now()-n)/1e3;if(ae.some((e=>e.distance(s)(0,i.aV)([e.last()])))).set("boundingBox",Mt(e)),this.props.dispatch((0,Qt.vc)(e,this.props.pageIndex))),this.setState({currentInkAnnotation:e})})),(0,o.Z)(this,"_onDraw",(e=>{this.setState({currentInkAnnotation:e})})),(0,o.Z)(this,"_onDrawEnd",(e=>{const t={annotations:(0,i.aV)([e]),reason:u.f.DRAW_END};this.props.eventEmitter.emit("annotations.willChange",t),this.lastEndDrawingTime=Date.now(),this.setState({currentInkAnnotation:e},(()=>{this.state.currentInkAnnotation.lines.size&&this.props.dispatch((0,Qt.FG)(this.state.currentInkAnnotation))}))}))}static getDerivedStateFromProps(e,t){return(0,i.is)(t.inkAnnotationFromCurrentProps,e.inkAnnotation)||(0,i.is)(t.currentInkAnnotation,e.inkAnnotation)&&e.viewportState.zoomLevel===t.zoomLevel?null:Ti(e)}componentDidMount(){this.props.dispatch((0,En.X2)())}componentWillUnmount(){this.props.dispatch((0,En.Zg)())}render(){const e=this.state.currentInkAnnotation,{pageSize:t}=this.props,{INK_EPSILON_RANGE_OPTIMIZATION:n}=mt.Ei;return T.createElement(Ai,{scrollElement:this.props.scrollElement,annotation:e,canvasSize:t,onDrawStart:this._onDrawStart,onDrawEnd:this._onDrawEnd,onDraw:this._onDraw,transformPoint:this._transformClientToPage,distanceBetweenPoints:n/(this.props.viewportState.zoomLevel*(0,Ft.L)()),cursor:this.state.cursor,zoomLevel:this.props.viewportState.zoomLevel,interactionMode:this.props.interactionMode,canScrollWhileDrawing:this.props.canScrollWhileDrawing})}}const Fi=(0,A.$j)(((e,t)=>{let{pageIndex:n}=t;return{viewportState:e.viewportState,clientToPageTransformation:(0,de.zi)(e,n),eventEmitter:e.eventEmitter,interactionMode:e.interactionMode,canScrollWhileDrawing:e.canScrollWhileDrawing}}))(Ii);var Mi=n(52871);const _i=100;function Ri(e,t){const n=Math.floor(e.x/_i);return Math.floor(e.y/_i)*t+n}function Ni(e,t,n,o){const{lineWidth:r,id:i}=e,a=Math.ceil(o.width/_i),s=t/2;return e.lines.forEach(((e,t)=>{e.forEach(((e,o)=>{if(null==e)return;const l=Math.floor(e.x/_i),c=Math.floor(e.y/_i),u={point:e,annotationId:i,lineIndex:t,pointIndex:o,strokeRadius:r/2},d=Math.ceil((s+u.strokeRadius)/_i);for(let t=c-d;t<=c+d;t++)for(let o=l-d;o<=l+d;o++)if(o>-1&&t>-1){if(new Mi.Z({x:ot.x+n||e.y+ot.y+n)&&e.distance(t){let{pageIndex:n}=t;return{inkEraserCursorWidth:e.inkEraserCursorWidth,zoomLevel:e.viewportState.zoomLevel,clientToPageTransformation:(0,de.zi)(e,n),scrollElement:e.scrollElement,interactionMode:e.interactionMode}}))((function(e){const{canvasSize:t=new j.$u({width:300,height:200}),inkEraserCursorWidth:n,zoomLevel:o,dispatch:r,inkAnnotations:a,clientToPageTransformation:s}=e,l=T.useMemo((function(){return jt(n/2*o)}),[n,o]),[c,u]=T.useState({localAnnotations:a,lastErasedPointsPaths:[]}),d=T.useRef(null),p=T.useCallback((e=>e.apply(s)),[s]);T.useEffect((()=>{d.current=a.reduce(((e,o)=>Ni(o,n,e,t)),[]),u({localAnnotations:a,lastErasedPointsPaths:[]})}),[a,n,t]);const f=T.useCallback((e=>{u(function(e,t,n,o,r,i){const a=Math.ceil(i.width/_i),s={};return t.forEach((e=>{const t=Ri(e,a);o[t]&&o[t].forEach((t=>{t&&t.point&&Li(t.point,e,n/2,t.strokeRadius)&&(t.point=null,r.push([t.annotationId,t.lineIndex,t.pointIndex]),s[t.annotationId]=!0)}))})),{localAnnotations:e.map((e=>s[e.id]?e.withMutations((t=>{r.filter((t=>t[0]===e.id)).forEach((e=>{t.setIn(["lines",e[1],e[2]],null)}))})):e)),lastErasedPointsPaths:r}}(c.localAnnotations,Array.isArray(e)?e:[e],n,d.current,[],t))}),[c.localAnnotations,n,t]),h=T.useCallback((()=>{const e=function(e,t){return e.map(((e,n)=>e===t.get(n)?e:(e=e.withMutations((e=>{e.update("lines",(e=>e.reduce(((e,t)=>e.concat(t.reduce(((e,t)=>null==t?e.push((0,i.aV)()):e.update(-1,(e=>e.push(t)))),(0,i.aV)([(0,i.aV)()])).filter((e=>e.size>0)))),(0,i.aV)()).filter((e=>e.size>0))))}))).set("boundingBox",Mt(e))))}(c.localAnnotations,a);r((0,Qt.GZ)(e.filter((e=>e.lines&&e.lines.size>0)),e.filter((e=>!e.lines||0===e.lines.size)).map((e=>e.id))))}),[c.localAnnotations,r,a]);T.useEffect((()=>(r((0,En.X2)()),()=>{r((0,En.Zg)())})),[r]);const m=T.useCallback(((e,t,n)=>{var o;if(!n)return null;const{lastErasedPointsPaths:r,localAnnotations:i}=c;if(0===r.length)return n;const a=null==i||null===(o=i.find((t=>t.id===e)))||void 0===o?void 0:o.lines.get(t);return a&&a.size===n.length?r.reduce(((n,o)=>{if(function(e,t,n,o){return e[0]===n&&e[1]===o&&"M 0,0"!==t[e[2]]}(o,n,e,t)){n[o[2]]="M 0,0";const e=n[o[2]+1],t=a.get(o[2]+1);if(t&&ji(e)){const e=n[o[2]+2];n[o[2]+1]=`${ji(e)?"M":"L"} ${t.x},${t.y}`}const r=n[o[2]-1],i=a.get(o[2]-1),s=i?`L ${i.x},${i.y}`:"";if(ji(r)){const e=n[o[2]-2];i&&zi(e)&&(n[o[2]-1]=s)}else i&&zi(r)&&(n[o[2]-1]=s);return n}return n}),n):null}),[c]);return T.createElement("div",{className:Kt().canvas,style:{cursor:l}},c.localAnnotations.map((e=>T.createElement(Gt,{dispatch:r,annotation:e,isSelectable:!1,isDisabled:!0,zoomLevel:o,key:e.id,pathDataFromFragments:m}))),T.createElement(Sn.Z,{size:t,onDrawStart:f,onDrawCoalesced:f,onDrawEnd:h,transformPoint:p,interactionMode:e.interactionMode,scrollElement:e.scrollElement}))}));function ji(e){return"string"==typeof e&&e.startsWith("C")}function zi(e){return"string"==typeof e&&e.startsWith("M")}const Ki=(0,A.$j)(((e,t)=>{let{pageIndex:n}=t;return{inkEraserCursorWidth:e.inkEraserCursorWidth,zoomLevel:e.viewportState.zoomLevel,clientToPageTransformation:(0,de.zi)(e,n),scrollElement:e.scrollElement,interactionMode:e.interactionMode}}))((function(e){const{canvasSize:t=new j.$u({width:300,height:200}),inkEraserCursorWidth:n,zoomLevel:o,dispatch:r,inkAnnotations:a,clientToPageTransformation:s}=e,l=T.useMemo((function(){return jt(n/2*o)}),[n,o]),[c,u]=T.useState({localAnnotations:a,lastErasedLinesPaths:[]}),d=T.useRef(null),p=T.useCallback((e=>e.apply(s)),[s]);T.useEffect((()=>{d.current=a.reduce(((e,o)=>Ni(o,n,e,t)),[]),u({localAnnotations:a,lastErasedLinesPaths:[]})}),[a,n,t]);const f=T.useCallback((e=>{u(function(e,t,n,o,r,a){const s=Math.ceil(a.width/_i),l={};return t.forEach((e=>{const t=Ri(e,s);o[t]&&o[t].forEach((t=>{t&&t.point&&Li(t.point,e,n/2,t.strokeRadius)&&(t.point=null,r.push([t.annotationId,t.lineIndex]),l[t.annotationId]=!0)}))})),{localAnnotations:e.map((e=>l[e.id]?e.withMutations((t=>{r.filter((t=>t[0]===e.id)).forEach((e=>{t.setIn(["lines",e[1]],(0,i.aV)([]))}))})):e)),lastErasedLinesPaths:r}}(c.localAnnotations,Array.isArray(e)?e:[e],n,d.current,[],t))}),[c.localAnnotations,n,t]),h=T.useCallback((()=>{const e=function(e,t){return e.map(((e,n)=>e===t.get(n)?e:(e=e.update("lines",(e=>e.filter(Boolean).filter((e=>e.size>0))))).set("boundingBox",Mt(e))))}(c.localAnnotations,a);r((0,Qt.GZ)(e.filter((e=>{var t;return(null===(t=e.lines)||void 0===t?void 0:t.size)>0})),e.filter((e=>!e.lines||0===e.lines.size)).map((e=>e.id))))}),[c.localAnnotations,r,a]);return T.useEffect((()=>(r((0,En.X2)()),()=>{r((0,En.Zg)())})),[r]),T.createElement("div",{className:Kt().canvas,style:{cursor:l}},c.localAnnotations.map((e=>T.createElement(Gt,{dispatch:r,annotation:e,isSelectable:!1,isDisabled:!0,zoomLevel:o,key:e.id}))),T.createElement(Sn.Z,{size:t,onDrawStart:f,onDrawCoalesced:f,onDrawEnd:h,transformPoint:p,interactionMode:e.interactionMode,scrollElement:e.scrollElement}))}));class Zi extends T.Component{constructor(e){super(e),(0,o.Z)(this,"_handledBlur",!1),(0,o.Z)(this,"editor",T.createRef()),(0,o.Z)(this,"shouldComponentUpdate",ze.O),(0,o.Z)(this,"clearText",(()=>{const{current:e}=this.editor;if(!e)return"";e.innerText="",setTimeout((()=>{this.props.valueDidUpdate&&this.props.valueDidUpdate()}),0),this.focus()})),(0,o.Z)(this,"focus",(()=>{const{current:e}=this.editor;e&&(e.focus(),setTimeout((()=>{const{current:e}=this.editor;e&&("webkit"!==tt.SR&&(this._handledBlur=!0,e.blur()),e.focus())}),0),this.setInitialSelection())})),(0,o.Z)(this,"_createRangeAndSelect",(e=>{const{current:t}=this.editor;if(!t)return;const{ownerDocument:n,childNodes:o}=t,r=o[o.length-1];if(!r)return;if(void 0===n.createRange)return;const i=n.createRange();let a;a="gecko"===tt.SR?r.length-1:r.length,i.setStart(r,e?0:a),i.setEnd(r,a),this.setSelection(i)})),(0,o.Z)(this,"_preventDeselect",(e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()})),(0,o.Z)(this,"_handleKeyDown",(e=>{if(e.keyCode!==Sr.zz){if(e.keyCode===Sr.E$&&e.shiftKey)return this.props.onStopEditing(),void e.preventDefault();if(this.getPlainText().length>=this.props.maxLength)e.preventDefault();else if("blink"===tt.SR&&e.keyCode===Sr.E$){const{current:n}=this.editor;if(!n)return;const{defaultView:o}=n.ownerDocument;(0,a.kG)(o,"defaultView is null");const r=o.getSelection();if(null!=r&&r.anchorNode&&"#text"===(null==r?void 0:r.anchorNode.nodeName)){var t;const n=Ui(r);if(null===(t=r.anchorNode.parentNode)||void 0===t||t.normalize(),r.anchorNode&&"#text"===r.anchorNode.nodeName){const t=r.anchorOffset;"Range"===r.type&&r.deleteFromDocument();const o=r.anchorNode.nodeValue;(0,a.kG)(o,"currentText is null");const i=n&&o.replace(/\n/,"").length>0;r.anchorNode.nodeValue=o.substr(0,r.anchorOffset)+"\n"+(i?"\n":"")+o.substr(r.anchorOffset),r.collapse(r.anchorNode,t+1),e.preventDefault(),setTimeout((()=>{this.props.valueDidUpdate&&this.props.valueDidUpdate()}),0)}}}else if("gecko"===tt.SR&&e.keyCode===Sr.E$){const{current:t}=this.editor;if(!t)return;const{defaultView:o}=t.ownerDocument;(0,a.kG)(o,"defaultView is null");const r=o.getSelection();if(null!=r&&r.anchorNode&&"#text"===(null==r?void 0:r.anchorNode.nodeName)&&(function(e){let{anchorNode:t,anchorOffset:n}=e;return null!=t&&("#text"===t.nodeName&&(0===n||t.nodeValue.length>n&&"\n"===t.nodeValue.charAt(n-1))||"DIV"===t.nodeName&&t.hasChildNodes()&&t.childNodes.length>0&&"BR"===t.childNodes[0].nodeName)}(r)||Ui(r))){var n;const t=Ui(r);if(null===(n=r.anchorNode.parentNode)||void 0===n||n.normalize(),r.anchorNode&&"#text"===r.anchorNode.nodeName){const n=r.anchorOffset;"Range"===r.type&&r.deleteFromDocument();const o=r.anchorNode.nodeValue;(0,a.kG)(o,"currentText is null");const i=t&&o.replace(/\n/,"").length>0;r.anchorNode.nodeValue=o.substr(0,r.anchorOffset)+"\n"+(i?"\n":"")+o.substr(r.anchorOffset),r.collapse(r.anchorNode,n+1+(i?1:0)),e.preventDefault(),setTimeout((()=>{this.props.valueDidUpdate&&this.props.valueDidUpdate()}),0)}}}}else this.props.onEscape(e)})),(0,o.Z)(this,"_handleInput",(()=>{const{current:e}=this.editor;if(e){if("gecko"===tt.SR){const{innerText:t}=e,n=t.charAt(t.length-1);if(" "===n){const t=e.childNodes[e.childNodes.length-1];t.nodeValue===n&&(t.nodeValue="\n")}}this.props.valueDidUpdate&&this.props.valueDidUpdate()}})),(0,o.Z)(this,"_handlePaste",(e=>{var t,n;if(!this.editor.current)return;const o=this.editor.current.ownerDocument;e.preventDefault();const r=null===(t=e.clipboardData)||void 0===t?void 0:t.getData("text/plain");this.getPlainText().length+r.length>=this.props.maxLength||o.execCommand("insertText",!1,null===(n=e.clipboardData)||void 0===n?void 0:n.getData("text/plain"))})),(0,o.Z)(this,"_handleDrop",(e=>{if(!this.editor.current)return;const t=this.editor.current.ownerDocument;if(e.preventDefault(),e.dataTransfer){const n=e.dataTransfer.getData("text/plain");if(this.getPlainText.length+n.length>=this.props.maxLength)return;t.execCommand("insertText",!1,n),this.props.valueDidUpdate&&this.props.valueDidUpdate()}})),(0,o.Z)(this,"_handleScroll",(e=>{const{current:t}=this.editor;t&&(t.scrollTop=0,t.scrollLeft=0,e.stopPropagation(),e.preventDefault())})),(0,o.Z)(this,"_handlePointerDown",(e=>{this.editor.current&&(this.editor.current.contains(e.target)||this._handleBlur())})),(0,o.Z)(this,"_handleBlur",(()=>{this._handledBlur||(this._handledBlur=!0,this.props.onBlur())})),(0,o.Z)(this,"_handleFocus",(()=>{this._handledBlur=!1,this.props.onFocus&&this.props.onFocus()})),this.innerText=this.props.defaultValue+"\n"}componentDidMount(){this.editor.current&&(this.props.autoFocus||this.props.autoSelect)&&this.focus()}getElement(){return this.editor.current}getEditorBoundingClientRect(){const{current:e}=this.editor;return(0,a.kG)(e),j.UL.fromClientRect(e.getBoundingClientRect())}getPlainText(){const{current:e}=this.editor;return e?void 0===e.innerText?"":e.innerText.replace(/\n$/,""):""}setSelection(e){const{current:t}=this.editor;if(!t)return;const n=t.ownerDocument.getSelection();null==n||n.removeAllRanges(),null==n||n.addRange(e)}blur(){this.editor.current&&this.editor.current.blur()}setInitialSelection(){if(this.props.autoSelect)return void this.autoSelectText();const{lastMousePoint:e}=this.props;let t,n=!1;if(e){if(!this.editor.current)return;const{ownerDocument:o}=this.editor.current;t=(0,a.Qo)(e,o),n=!!t&&(t.commonAncestorContainer===this.editor.current||t.commonAncestorContainer.parentElement===this.editor.current)}t&&n?this.setSelection(t):this.moveFocusToEnd()}moveFocusToEnd(){this._createRangeAndSelect(!1)}autoSelectText(){this._createRangeAndSelect(!0)}render(){return T.createElement(T.Fragment,null,T.createElement("div",{style:this.props.style,className:Gn().editor,onInput:this._handleInput,onBlur:this._handleBlur,onFocus:this._handleFocus,onMouseUp:this._preventDeselect,onPointerUp:this._preventDeselect,onKeyDown:this._handleKeyDown,onKeyUp:this._preventDeselect,onTouchStart:this._preventDeselect,onTouchEnd:this._preventDeselect,onPaste:this._handlePaste,onDrop:this._handleDrop,onScroll:this._handleScroll,ref:this.editor,contentEditable:!0,suppressContentEditableWarning:!0,spellCheck:"false"},this.innerText),T.createElement(pt.Z,{onRootPointerDownCapture:this._handlePointerDown}))}}function Ui(e){return null!=e.anchorNode&&null==e.anchorNode.nextSibling&&("#text"===e.anchorNode.nodeName&&e.anchorOffset===e.anchorNode.nodeValue.length||"DIV"===e.anchorNode.nodeName&&e.anchorNode.hasChildNodes()&&e.anchorNode.childNodes.length>0&&"BR"===e.anchorNode.childNodes[0].nodeName)}(0,o.Z)(Zi,"defaultProps",{autoFocus:!0,autoSelect:!1});var Vi=n(32360),Gi=n.n(Vi);function Wi(e){let{x:t,y:n,direction:o,startResizing:r,endResizing:i,onFitToSide:s,viewportSize:l,title:c,cursor:u}=e;const d=function(e){switch(e){case gt.V.TOP_LEFT:return"Top-Left";case gt.V.TOP:return"Top";case gt.V.TOP_RIGHT:return"Top-Right";case gt.V.LEFT:return"Left";case gt.V.RIGHT:return"Right";case gt.V.BOTTOM_LEFT:return"Bottom-Left";case gt.V.BOTTOM:return"Bottom";case gt.V.BOTTOM_RIGHT:return"Bottom-Right";default:(0,a.Rz)(e)}}(gt.V[o]),p=F()({[Gi().resizeAnchor]:!0,[Gi().nwseCursor]:o===gt.V.TOP_LEFT||o===gt.V.BOTTOM_RIGHT,[Gi().neswCursor]:o===gt.V.TOP_RIGHT||o===gt.V.BOTTOM_LEFT,[Gi().ewCursor]:o===gt.V.LEFT||o===gt.V.RIGHT,[Gi().nsCursor]:o===gt.V.TOP||o===gt.V.BOTTOM,"PSPDFKit-Resize-Anchor":!0,[`PSPDFKit-Resize-Anchor-${d}`]:!0}),{RESIZE_ANCHOR_RADIUS:f}=mt.Ei,h=f(l),m=u?{cursor:u}:void 0;return T.createElement(pt.Z,{onPointerDown:r,onPointerUp:i},T.createElement("circle",{cx:t,cy:n,r:h-Je.Hr/2,strokeWidth:Je.Hr,className:p,onDoubleClick:s,style:m},c?T.createElement("title",null,c):null))}function qi(e){let{x:t,y:n,startModifying:o,endModifying:r,pointIndex:i,viewportSize:a,title:s,cursor:l}=e;const c=F()({[Gi().resizeAnchor]:!0}),{RESIZE_ANCHOR_RADIUS:u}=mt.Ei,d=u(a),p=l?{cursor:l}:void 0;return T.createElement(pt.Z,{onPointerDown:o,onPointerUp:r},T.createElement("circle",(0,De.Z)({cx:t,cy:n,r:d-Je.Hr/2,strokeWidth:Je.Hr,className:c,id:`pointIndex${i}`,style:p},{title:s})))}function Hi(e){let{width:t,startRotating:n,endRotating:o,viewportSize:r,rotationHandleLength:i,rotation:a=0,title:s}=e;const{RESIZE_ANCHOR_RADIUS:l,SELECTION_STROKE_WIDTH:c}=mt.Ei,u=F()({"PSPDFKit-Annotations-Rotation-Anchor":!0,[Gi().rotateAnchor]:!0}),d=l(r);return T.createElement("svg",{"data-testid":"rotation-handle-ui",className:"PSPDFKit-Annotations-Rotation-Handle"},T.createElement("line",{className:F()(Gi().rotationLine,"PSPDFKit-Annotations-Rotation-Line"),x1:t/2,y1:0,x2:t/2,y2:i,style:{strokeWidth:c}}),T.createElement(pt.Z,{onPointerDown:n,onPointerUp:o},T.createElement("circle",{cx:t/2,cy:i,r:d-Je.Hr/2,strokeWidth:Je.Hr,className:u,style:{cursor:(0,ot.Mg)(a,"grab")}},s?T.createElement("title",null,s):null)))}var $i=n(41952);function Yi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Xi(e){for(var t=1;tt(Ke.Z[`resizeHandle${e.trim()}`]))).join(", ")}`;return T.createElement(Wi,{key:r,x:n,y:o,direction:a,title:s,startResizing:t=>{e.startResizing&&e.startResizing(t,i)},endResizing:ta,onFitToSide:()=>{e.onFitToSide&&e.onFitToSide(a)},viewportSize:e.viewportSize,cursor:e.cursor})}const{zoomLevel:o,annotation:r,annotationBoundingBox:i,viewportSize:a,customZIndex:s,cursor:l}=e,{RESIZE_ANCHOR_RADIUS:c,SELECTION_STROKE_WIDTH:u}=mt.Ei,d=(0,$i.q)(i.scale(o),a),{SELECTION_OUTLINE_PADDING:p}=mt.Ei,f=p(a),h=c(a),m=r?Ct(r)+2*(0,$i.K)(a):0,g=Math.min(2*h,m),v=Math.max(d.width,g),y=Math.max(d.height,g),b=Math.max(h+u/2,u),w=2*b,S=Math.max(h,u/2),E=(0,J.fk)(r,i,o,a,b),P=F()({[Gi().selectionRect]:!0,[Gi().isDragging]:e.isDragging,"PSPDFKit-Selection-Outline-Rect":!0}),x=!r||(0,J.vj)(r)?Xi({strokeWidth:u},l?{cursor:l}:null):{stroke:"transparent"},D=F()({[Gi().draggingRect]:!0,[Gi().isDragging]:e.isDragging,"PSPDFKit-Selection-Outline-Border":!0}),C=r?r.rotation:e.annotationRotation,k=35*o,A=T.useRef(d),O=Xi(Xi({left:d.left-b,top:d.top-b,width:v+w,height:y+w,overflow:"visible"},r||"number"!=typeof C||0===C?null:{transformOrigin:`${f+A.current.width/2}px ${f+A.current.height/2}px`}),{},{transform:"number"!=typeof C||0===C||r instanceof j.x_||r instanceof j.sK?void 0:`rotate(${-C}deg)`,zIndex:null!=s?s:0},l?{cursor:l}:null),I=o*(c(a)-Je.Hr/2),M={left:O.left+O.width/2-I,top:O.top+O.height,width:2*I,height:k+I,overflow:"visible",transformOrigin:`center -${O.height/2}px`,transform:"number"==typeof C&&0!==C?`rotate(${-C}deg)`:void 0};return T.createElement(T.Fragment,null,T.createElement("svg",{style:O,className:Gi().svg,focusable:!1},r instanceof j.o9?T.createElement("line",{className:P,x1:E[0].x,y1:E[0].y,x2:E[1].x,y2:E[1].y,style:Xi(Xi({},x),{},{strokeWidth:tt.Ni?Math.max(Je.wK,r.strokeWidth)*o:Math.max(Je.XZ,r.strokeWidth)*o,pointerEvents:"all"})}):T.createElement("rect",{className:P,style:x,x:b-u/2,y:b-u/2,width:v+u,height:y+u})),e.children||null,T.createElement("svg",{style:O,className:Gi().svg,focusable:!1},T.createElement(pt.Z,{onPointerDown:function(t){e.deselectAnnotation&&t.shiftKey&&e.deselectAnnotation?e.deselectAnnotation(t):(t.stopPropagation(),e.isEditableCP&&2!==t.buttons&&null!=e.startDragging&&e.startDragging(t))}},r instanceof j.o9?T.createElement("line",{className:D,x1:E[0].x,y1:E[0].y,x2:E[1].x,y2:E[1].y,style:Xi(Xi({},x),{},{strokeWidth:tt.Ni?Math.max(Je.wK,r.strokeWidth)*o:Math.max(Je.XZ,r.strokeWidth)*o,pointerEvents:"all"})}):T.createElement("rect",{x:b-u/2,y:b-u/2,width:v+u,height:y+u,className:D,style:x})),e.startResizing&&e.isResizable?[n(O.width/2,S,0),n(O.width-S,S,45),n(O.width-S,O.height/2,90),n(O.width-S,O.height-S,135),n(O.width/2,O.height-S,180),n(S,O.height-S,225),n(S,O.height/2,270),n(S,S,315)]:null,e.startModifying&&e.isModifiable?E.map(((t,n)=>function(t,n,o,r){return T.createElement(qi,{key:`modifyAnchor${o}`,x:t,y:n,pointIndex:o,title:r,startModifying:t=>{e.startModifying&&e.startModifying(t,o)},endModifying:ta,viewportSize:e.viewportSize,cursor:e.cursor})}(t.x,t.y,n,"Modify point"))):null),e.startRotating&&e.isRotatable?T.createElement("svg",{style:M,className:Gi().svg,focusable:!1},T.createElement(Hi,{key:"rotateAnchor",width:M.width,startRotating:t=>{var n;return null===(n=e.startRotating)||void 0===n?void 0:n.call(e,t)},endRotating:ta,viewportSize:e.viewportSize,rotationHandleLength:k,rotation:C,title:t(Ke.Z.rotation)})):null)}function Qi(e){switch((0,a.kG)(e%45==0,"Only multiples of 45° allowed."),e%360){case 0:return gt.V.TOP;case 45:return gt.V.TOP_RIGHT;case 90:return gt.V.RIGHT;case 135:return gt.V.BOTTOM_RIGHT;case 180:return gt.V.BOTTOM;case 225:return gt.V.BOTTOM_LEFT;case 270:return gt.V.LEFT;case 315:return gt.V.TOP_LEFT;default:throw new Error("Unsupported resize degrees")}}const ea={[gt.V.TOP]:"Top",[gt.V.TOP_RIGHT]:"Top, Right",[gt.V.RIGHT]:"Right",[gt.V.BOTTOM_RIGHT]:"Bottom, Right",[gt.V.BOTTOM]:"Bottom",[gt.V.BOTTOM_LEFT]:"Bottom, Left",[gt.V.LEFT]:"Left",[gt.V.TOP_LEFT]:"Top, Left"};function ta(e){e.stopPropagation()}function na(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function oa(e){for(var t=1;t{const e=this._getNormalizedEditorBoundingBox(),t=mt.Ei.TEXT_ANNOTATION_AUTOFIT_BOUNDING_BOX_ON_EDIT?e:this.state.selectionBoundingBox.set("left",e.left).set("top",e.top),n=this.props.annotation.set("boundingBox",t);var o,r;j.UL.areRectsCloserThan((0,ot.h4)(n).boundingBox,(0,ot.h4)(n.set("boundingBox",this.state.selectionBoundingBox)).boundingBox,this.props.viewportState.zoomLevel)||(this.setState({selectionBoundingBox:n.boundingBox}),null===(o=(r=this.props).onChange)||void 0===o||o.call(r,n.boundingBox,this.getText()))})),(0,o.Z)(this,"handleEscape",(()=>{this.props.dispatch((0,je.fz)()),this.props.onEditingDone()})),(0,o.Z)(this,"handleBlur",(()=>{this._triggerOnEditingDone()})),(0,o.Z)(this,"onStopEditing",(()=>{this._triggerOnEditingDone(!0)})),(0,o.Z)(this,"onRichEditorInit",(e=>{this.props.dispatch((0,En.$Q)(e))}));const{annotation:r}=e;this.lastSavedAnnotation=r,this.initialOutlineBoundingBox=this.getInitialBoundingBox(r);let i=!1,a=(0,vt.hr)(null===(t=e.annotation.text)||void 0===t?void 0:t.value)||"";var s,l,c;if(e.enableRichText(e.annotation)){if(i=!0,"plain"===(null===(s=e.annotation.text)||void 0===s?void 0:s.format)){var u;const t=(null===(u=e.annotation.fontColor)||void 0===u?void 0:u.toHex())||"",n=ue.ri.prepareHTML(e.annotation.text.value);a=ue.ri.setStyleOrToggleFormat(ue.ri.serialize(ue.ri.deserialize(n)),"fontColor",t)}}else"xhtml"===(null===(l=e.annotation.text)||void 0===l?void 0:l.format)&&(a=ue.ri.getText((null===(c=e.annotation.text)||void 0===c?void 0:c.value)||""));this.state={selectionBoundingBox:this.initialOutlineBoundingBox,annotation:r,richTextContent:null===(n=e.annotation.text)||void 0===n?void 0:n.value,useRichText:i,text:a}}getInitialBoundingBox(e){let t=e.boundingBox;return(0,J.U7)(t)||(t=t.set("width",mt.Ei.MIN_TEXT_ANNOTATION_SIZE).set("height",e.fontSize)),t}componentDidUpdate(e){this.updateSelectionBoundingBox(),e&&!e.annotation.equals(this.props.annotation)&&(this.initialOutlineBoundingBox=this.getInitialBoundingBox(this.props.annotation))}_getNormalizedEditorBoundingBox(){const{current:e}=this.editorRef,{current:t}=this.richTextEditorRef;return t?this.props.transformClientToPage(j.UL.fromClientRect(aa(t))):e?this.props.transformClientToPage(j.UL.fromClientRect(aa(e.getElement()))):new j.UL}getText(){const{current:e}=this.editorRef;return e||this.state.useRichText?e?{value:e.getPlainText(),format:"plain"}:{value:this.state.richTextContent,format:"xhtml"}:{value:"",format:"plain"}}_triggerOnEditingDone(){var e;let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{current:n}=this.editorRef,o=this.getText(),{annotation:r,onChange:i}=this.props;if((0,J.Vc)(r))return void(null==i||i(this.state.selectionBoundingBox,o));if(!n&&!this.state.useRichText)return;let a=(null===(e=this.props.annotation.text)||void 0===e?void 0:e.value)!==o.value?this.props.annotation.set("text",o).set("boundingBox",this.state.selectionBoundingBox):this.props.annotation;if("xhtml"===o.format&&this.props.annotation.fontColor?a=a.set("fontColor",null):"plain"!==o.format||this.props.annotation.fontColor||(a=a.set("fontColor",j.Il.BLACK)),mt.Ei.TEXT_ANNOTATION_AUTOFIT_BOUNDING_BOX_ON_EDIT){const e=this._getNormalizedEditorBoundingBox(),t=a.boundingBox;!e.getSize().equals(t.getSize())&&(a=a.set("boundingBox",e)),a=(0,vt.XA)(a,this.props.viewportState.zoomLevel)}this.lastSavedAnnotation.equals(a)||(this.lastSavedAnnotation=a,this.props.onEditingDone(It(a,this.props.annotation.boundingBox),t))}render(){var e;const t=this.props.annotation,{zoomLevel:n}=this.props.viewportState,o=t.boundingBox,r=this.props.pageSize.width,i=this.props.pageSize.height,a=(0,vt.z1)(t.set("rotation",0),n,!1);let s,l;const c=Math.floor(o.left*n),u=Math.floor(o.top*n);switch(t.rotation){case 0:s=r*n-c,l=i*n-u;break;case 90:s=o.bottom*n,l=r*n-c;break;case 180:s=o.right*n,l=o.bottom*n;break;case 270:s=i*n-u,l=o.right*n}const d=(0,J.Vc)(t),p=oa(oa({},!d&&{left:c,top:u}),{},{minWidth:mt.Ei.MIN_TEXT_ANNOTATION_SIZE*n,minHeight:t.fontSize*n,maxWidth:s,maxHeight:l}),f=mt.Ei.TEXT_ANNOTATION_AUTOFIT_BOUNDING_BOX_ON_EDIT?p:oa(oa({},a),p);delete a.width,delete a.height,delete a.overflow;const h=Math.ceil(t.boundingBox.width*n),m=Math.ceil(t.boundingBox.height*n);switch(f.transformOrigin="0 0",t.rotation){case 90:f.transform=`translate(0, ${m}px) rotate(${-t.rotation}deg)`;break;case 180:f.transform=`translate(${h}px, ${m}px) rotate(${-t.rotation}deg)`;break;case 270:f.transform=`translate(${h}px, 0) rotate(${-t.rotation}deg)`;break;default:(0,ot.kv)(t)&&(f.transformOrigin=`${n*this.initialOutlineBoundingBox.width/2}px ${n*this.initialOutlineBoundingBox.height/2}px`,f.transform=`rotate(${String(-t.rotation)}deg)`)}return this.state.useRichText||"xhtml"!==(null===(e=this.props.annotation.text)||void 0===e?void 0:e.format)||(f.color=j.Il.BLACK.toHex()),T.createElement(T.Fragment,null,!d&&T.createElement(Ji,{zoomLevel:n,pagesRotation:this.props.viewportState.pagesRotation,annotationBoundingBox:this.state.selectionBoundingBox,annotationRotation:t.rotation,isResizable:!0,isModifiable:!1,isRotatable:!0,isEditableCP:!0,viewportSize:this.props.viewportState.viewportRect.getSize()}),T.createElement("div",{style:oa(oa({},a),!this.state.useRichText&&{wordBreak:d?void 0:a.wordBreak,overflowWrap:d?"break-word":a.overflowWrap}),className:Gn().editorWrapper},this.state.useRichText?T.createElement(ue.D,{text:this.state.text,style:oa(oa({},f),{},{color:j.Il.BLACK.toHex()}),updateBoundingBox:this.updateSelectionBoundingBox,ref:this.richTextEditorRef,onValueChange:e=>{this.setState({richTextContent:e})},onBlurSave:this.handleBlur,onStopEditing:this.onStopEditing,onEscape:this.handleEscape,maxLength:Je.RI,lastMousePoint:this.props.lastMousePoint,onEditorInit:this.onRichEditorInit,className:!d&&Gn().richEditor,autoFocus:!0}):T.createElement(Zi,{style:oa(oa({},f),{position:d?"static":f.position}),valueDidUpdate:this.updateSelectionBoundingBox,onBlur:this.handleBlur,onStopEditing:this.onStopEditing,onEscape:this.handleEscape,ref:this.editorRef,maxLength:Je.RI,defaultValue:this.state.text,lastMousePoint:this.props.lastMousePoint,autoSelect:this.props.autoSelect})))}}(0,o.Z)(ra,"defaultProps",{autoSelect:!1});const ia=vi(ra);function aa(e){var t;const n=e.cloneNode(!0);n.style.transform="none",n.style.visibility="hidden",n.style.pointerEvents="none",null===(t=e.parentElement)||void 0===t||t.append(n);const o=n.getBoundingClientRect();return n.remove(),o}const sa=e=>{let{annotation:t,children:n}=e;const[o,r]=(0,T.useState)(t),i=(0,A.v9)((e=>e.viewportState.zoomLevel)),a=(0,T.useRef)(null),s=(0,A.I0)(),l=o.boundingBox.scale(i),c=(0,T.useRef)(o);(0,T.useLayoutEffect)((()=>{c.current=o}),[o]),(0,T.useEffect)((()=>{r((e=>e.set("fontSize",t.fontSize).set("font",t.font).set("horizontalAlign",t.horizontalAlign).set("verticalAlign",t.verticalAlign)))}),[t.font,t.fontSize,t.horizontalAlign,t.verticalAlign]);const u=(0,T.useCallback)(((e,n)=>{var s;const l=null===(s=a.current)||void 0===s?void 0:s.getBoundingClientRect();if(!l)return;const{callout:c}=t,u=(0,qn.Vq)({rect:l,annotation:o,zoomLevel:i,text:n,callout:c});u&&r(u)}),[t,i,o]);return(0,T.useEffect)((()=>()=>{("xhtml"===c.current.text.format?(0,qn.KY)(c.current.text.value):c.current.text.value)||s((0,Qt.hQ)(c.current))}),[s]),(0,T.useEffect)((()=>{s((0,Qt.FG)(o))}),[o,s]),T.createElement("div",{style:{position:"absolute",left:l.left,top:l.top,minHeight:l.height,width:l.width}},T.createElement($n,{annotation:o,isEditing:!0,ref:a},n(u)))};class la extends T.PureComponent{constructor(){var e;super(...arguments),e=this,(0,o.Z)(this,"_onEditingDone",(function(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=t&&(0,ot.az)(t),r=o?(0,i.aV)([o]):(0,i.aV)([]),a={annotations:r,reason:u.f.TEXT_EDIT_END};e.props.eventEmitter.emit("annotations.willChange",a),o&&(e.props.dispatch((0,Qt.FG)(o)),n&&e.props.dispatch((0,je.Df)((0,i.l4)([e.props.annotation.id]),null)),e.props.keepSelectedTool&&e.props.dispatch((0,En.DU)()))}))}componentDidMount(){const e={annotations:(0,i.aV)([this.props.annotation]),reason:u.f.TEXT_EDIT_START};this.props.eventEmitter.emit("annotations.willChange",e),this.props.dispatch((0,En.X2)())}componentWillUnmount(){this.props.dispatch((0,En.Zg)())}render(){const{annotation:e,autoSelect:t,dispatch:n,pageSize:o,lastMousePoint:r,pageIndex:i,enableRichText:a}=this.props,s=s=>T.createElement(ia,{dispatch:n,annotation:(0,ot.h4)(e),lastMousePoint:r,pageSize:o,pageIndex:i,onEditingDone:this._onEditingDone,autoSelect:t,enableRichText:a,onChange:s});return(0,J.Vc)(e)?T.createElement(sa,{annotation:e},(e=>s(e))):s()}}(0,o.Z)(la,"defaultProps",{autoSelect:!1});class ca extends T.Component{constructor(e){super(e),(0,o.Z)(this,"shouldComponentUpdate",ze.O),(0,o.Z)(this,"_handlePointerUp",(e=>{if(!e.isPrimary)return;const t=this._getNormalizedMousePosition(e);if(!t)return;const{pagesRotation:n}=this.props.viewportState,o=(0,vt.gB)(t,n),r=this._fitRectInPage(o,this.props.pageSize);this.setState({bindPointerUpEvent:!1});let a=this.props.annotation.set("pageIndex",this.props.pageIndex).set("boundingBox",r).set("rotation",n);this.props.interactionMode===x.A.CALLOUT&&(a=function(e,t,n){const o=function(e,t){let n="top-right";const{width:o}=t;e.x+100>o&&(n=n.replace("right","left"));e.y-120<0&&(n=n.replace("top","bottom"));return n}(e,t),r=new j.E9({x:e.x,y:e.y}),i=new j.E9({x:o.includes("right")?e.x+50:e.x-50,y:o.includes("top")?e.y-50:e.y+50}),a=new j.E9({x:o.includes("right")?e.x+50:e.x-50,y:o.includes("top")?e.y-ua:e.y+ua}),s=new j.eB({top:o.includes("top")?0:ua,right:o.includes("right")?0:42,bottom:o.includes("top")?ua:0,left:o.includes("right")?42:0}),l=new j.UW({start:r,knee:i,end:a,innerRectInset:s,cap:"openArrow"}),c=new j.UL({top:o.includes("top")?e.y-100:e.y,left:o.includes("right")?e.x:e.x-85,width:85,height:100});return n.set("callout",l).set("boundingBox",c).set("borderWidth",n.borderWidth||2).set("borderStyle",n.borderStyle||"solid").set("borderColor",n.borderColor||j.Il.BLACK)}(t,this.props.pageSize,a)),this.props.dispatch((0,Qt.Zr)((0,i.aV)([a]))),e.stopPropagation()})),this.state={bindPointerUpEvent:!0}}_getNormalizedMousePosition(e){const{target:t}=e;if("DIV"==t.tagName)return this.props.transformClientToPage(new j.E9({x:e.clientX,y:e.clientY}))}_fitRectInPage(e,t){const{width:n,height:o}=t,{MIN_TEXT_ANNOTATION_SIZE:r}=mt.Ei;return e.top+e.height>o&&(e=e.set("top",o-e.height)),e.left+r>n&&(e=e.set("left",n-r)),e}render(){const e=F()({[Gn().layer]:!0,"PSPDFKit-Text-Canvas":!0});return T.createElement(pt.Z,{onPointerUpCapture:this.state.bindPointerUpEvent?this._handlePointerUp:void 0},T.createElement("div",{className:e,style:{cursor:"text"}}))}}(0,o.Z)(ca,"defaultProps",{autoSelect:!1});const ua=80;const da=vi(ca);function pa(e,t){const n=e.set("boundingBox",e.boundingBox.translate(t));return n instanceof s.Zc?n.update("lines",(e=>e.map((e=>e.map((e=>e.translate(t))))))):n instanceof s.o9?n.update("startPoint",(e=>e.translate(t))).update("endPoint",(e=>e.translate(t))):n instanceof s.Hi||n instanceof s.om?n.update("points",(e=>e.map((e=>e.translate(t))))):(0,J.Vc)(e)?n.update("callout",(e=>(e.knee&&(e=e.update("knee",(e=>e.translate(t)))),e.update("start",(e=>e.translate(t))).update("end",(e=>e.translate(t)))))):n}function fa(e,t,n,o,r){const i=function(e,t,n,o,r){const{boundingBox:i}=(0,ot.az)(e),a=new B.UL({x:0,y:0,width:n.width,height:n.height}).isRectInside(i);r&&a?(i.left+t.x<0&&(t=t.set("x",-i.left)),i.left+i.width+t.x>n.width&&(t=t.set("x",n.width-i.width-i.left)),i.top+t.y<0&&(t=t.set("y",-i.top)),i.top+i.height+t.y>n.height&&(t=t.set("y",n.height-i.height-i.top))):(o.x+i.left+t.x<0&&(t=t.set("x",-o.x-i.left)),o.x+i.left+t.x>n.width&&(t=t.set("x",n.width-(o.x+i.left))),o.y+i.top+t.y<0&&(t=t.set("y",-o.y-i.top)),o.y+i.top+t.y>n.height&&(t=t.set("y",n.height-(o.y+i.top))));return t}(e,t,n,o,r);return pa(e,i)}function ha(e,t,n,o,r,a,s,l,c){const[d,p]=T.useState(!1),f=T.useRef(!1),h=T.useCallback((function(t){if(!(0,jr.eR)(t.target))switch(t.key){case"Enter":case" ":case"Spacebar":if((0,jr.gC)(t.target)||(0,jr.N1)(t.target))return;e(t),t.preventDefault();break;case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"ArrowDown":{if((0,jr.N1)(t.target))return;t.preventDefault();const e=t.shiftKey?10:1,r=(0,Yr.n5)(ma[t.key]-s),d=function(e){switch(e){case 0:return new B.E9({x:0,y:-1});case 90:return new B.E9({x:1,y:0});case 180:return new B.E9({x:0,y:1});case 270:return new B.E9({x:-1,y:0});default:throw Error()}}(r),h=0===r||270===r?new B.E9:new B.E9({x:n.boundingBox.width,y:n.boundingBox.height}),m=fa(n,d.scale(e),a,h,c);if(o(m),!f.current){const e={annotations:(0,i.aV)([n]),reason:u.f.MOVE_START};l.emit("annotations.willChange",e),f.current=!0}p(!0)}}}),[e,a,s,o,n,l,c]),m=T.useCallback((function(e){if(!(0,jr.eR)(e.target)&&(("Spacebar"!==e.key&&" "!==e.key||!(0,jr.gC)(e.target))&&e.preventDefault(),d&&r(n),f.current)){const e={annotations:(0,i.aV)([n]),reason:u.f.MOVE_END};l.emit("annotations.willChange",e),f.current=!1}}),[d,n,f,l,r]),g=t.document;T.useLayoutEffect((function(){return g.addEventListener("keydown",h),g.addEventListener("keyup",m),function(){g.removeEventListener("keydown",h),g.removeEventListener("keyup",m)}}),[h,m,g])}const ma={ArrowUp:0,ArrowRight:90,ArrowDown:180,ArrowLeft:270};var ga=n(18803);function va(e){var t;null!==(t=e.getSelection())&&void 0!==t&&t.isCollapsed||(0,ga.a7)(e)}function ya(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ba(e){for(var t=1;t{let e;return(0,G.S6)(t)&&t.measurementBBox?(e=t.set("boundingBox",t.measurementBBox),e):t}),[t]),[R,N]=(0,fi.Ah)(_),[L,z]=T.useState(null),[K,Z]=function(e,t,n){const o=T.useRef(null);return[T.useCallback((function(e){const{current:t}=o;if(!t)return;const r="function"==typeof t.getWrappedInstance?t.getWrappedInstance():t;r&&"function"==typeof r.onClick&&!n&&r.onClick(e)}),[n]),o]}(0,0,I.current);(0,T.useEffect)((()=>{R&&P.emit("annotations.transform",{annotation:R})}),[R,P]);const U=T.useMemo((()=>(0,de.cr)(e.viewportState,t.pageIndex)),[e.viewportState,t.pageIndex]),V=T.useCallback((function(e){return e.scale(1/o).rotate(s)}),[o,s]),W=T.useCallback((e=>{z(e),k(e)}),[k]),q=T.useCallback((function(e){const t=(0,ot.az)(e);if(S&&x){if(!new j.UL({left:0,top:0,width:S.width,height:S.height}).isRectInside(t.boundingBox))return}b((0,Qt.FG)(t))}),[b,S,x]),{isDragging:H,cancelDrag:$,startDraggingWithEvent:Y,startDraggingAtPoint:X,dragListener:Q}=function(e){let{getScrollElement:t,transformClientToPage:n,transformedAnnotation:o,setTransformedAnnotation:r,setGlobalAnnotation:s,annotation:l,interactionsDisabled:c,dispatch:d,frameWindow:p,pageSize:f,onClick:h,transformDeltaFromClientToPage:m,eventEmitter:g,restrictAnnotationToPageBounds:v,isEditableCP:y}=e;const[b,w]=T.useReducer(Sa,wa),{isListening:S,isDragging:E}=b,P=T.useCallback((function(){return new j.E9({x:t().scrollLeft,y:t().scrollTop})}),[t]);T.useEffect((()=>()=>{E&&c&&d((0,En.Zg)())}),[d,c,E]);const x=T.useRef(null),D=T.useCallback((function(e){x.current=P();const t=n(e).translate(l.boundingBox.getLocation().scale(-1)),o=m(e);w({type:"start",mousePosition:o,initialClickWithinAnnotation:t})}),[P,n,m,l.boundingBox]),C=T.useCallback((function(e){e.isPrimary&&D(new j.E9({x:e.clientX,y:e.clientY}))}),[D]),k=T.useCallback((function(){w({type:"stop"}),va(p),d((0,En.Zg)())}),[p,d]),A=T.useCallback((function(e){if((E||Ea(e))&&e.stopPropagation(),o.equals(l)?b.initialDragCompleted&&h(e):s(o),w({type:"stop"}),E){const e={annotations:(0,i.aV)([o]),reason:u.f.MOVE_END};g.emit("annotations.willChange",e)}va(p),d((0,En.Zg)())}),[l,p,d,E,h,b.initialDragCompleted,o,g,s]),O=T.useCallback((function(e){if(e.stopPropagation(),e.preventDefault(),E&&0===e.buttons)return void A(e);const{previousMousePosition:t,initialClickWithinAnnotation:n,translation:o}=b;(0,a.kG)(t),(0,a.kG)(n);const s=m(new j.E9({x:e.clientX,y:e.clientY})),h=Pn(n,t);!c&&h&&d((0,En.X2)());const y=s.translate(t.scale(-1)),S=o.translate(y),P=fa(l,S,f,n,v),x=(0,G.S6)(P)?P.set("measurementBBox",P.boundingBox):P;if(r(x),w({type:"drag",mousePosition:s,translation:S}),va(p),!E){const e={annotations:(0,i.aV)([l]),reason:u.f.MOVE_START};g.emit("annotations.willChange",e)}}),[l,p,d,c,f,r,b,E,m,g,A,v]),I=T.useCallback((function(){const e=t();if(void 0===e.scrollTop||void 0===e.scrollLeft)return;const n=P(),o=x.current;(0,a.kG)(o);const i=m(n.translate(o.scale(-1))),s=b.translation.translate(i);let c=b.initialClickWithinAnnotation;c||(c=new j.E9);const u=fa(l,s,f,c);r(u),w({type:"scroll",translation:s}),x.current=n,va(p)}),[l,p,t,P,f,r,b.initialClickWithinAnnotation,b.translation,m]);(0,fi.wA)(S,t,I);const F=S&&T.createElement(pt.Z,{onRootPointerDownCapture:A,onRootPointerMoveCapture:y?O:void 0,onRootPointerUpCapture:A});return{isDragging:E,cancelDrag:k,startDraggingWithEvent:C,startDraggingAtPoint:D,dragListener:F}}({getScrollElement:m,transformClientToPage:g,transformedAnnotation:R,setTransformedAnnotation:N,setGlobalAnnotation:q,annotation:t,interactionsDisabled:y,dispatch:b,frameWindow:v,pageSize:S,onClick:K,transformDeltaFromClientToPage:V,eventEmitter:P,restrictAnnotationToPageBounds:x,isEditableCP:D}),{startResizing:ee,resizeListener:te,isResizing:ne}=function(e){let{transformedAnnotation:t,setTransformedAnnotation:n,setGlobalAnnotation:o,annotation:r,dispatch:s,frameWindow:l,transformDeltaFromClientToPage:c,eventEmitter:d,pageSize:p,restrictAnnotationToPageBounds:f,shouldConstrainAspectRatio:h,annotationDimensions:m,clientTransformationMatrix:g,interactionsDisabled:v}=e;const[y,b]=T.useState(Ca),[w,S]=T.useState(!1),E=T.useRef(void 0),P=T.useRef(null),x=T.useRef(!1);T.useEffect((()=>()=>{w&&v&&s((0,En.Zg)())}),[s,v,w]);const D=T.useCallback((function(e,n){var o;if(!e.isPrimary)return;const l=new j.E9({x:e.clientX,y:e.clientY}),p=c(l);b({startingMousePosition:p,startingResizeAnchor:n,isListening:!0}),S(!0);const f={annotations:(0,i.aV)([r]),reason:u.f.RESIZE_START};d.emit("annotations.willChange",f),r instanceof j.b3&&![gt.V.TOP,gt.V.RIGHT,gt.V.BOTTOM,gt.V.LEFT].includes(n)&&null!==(o=r.isMeasurement)&&void 0!==o&&o.call(r)&&((0,a.kG)(t instanceof j.b3),s((0,xn.eO)({magnifierLabel:t.getMeasurementDetails().label,drawnAnnotationID:t.id,drawnAnnotationPageIndex:t.pageIndex,magnifierCursorPosition:ka(r,g,n)}))),s((0,En.X2)())}),[t,s,c,r,d,g]),C=T.useCallback((function(e){var t;e.preventDefault();const o=new j.E9({x:e.clientX,y:e.clientY}),i=c(o),{startingMousePosition:u,startingResizeAnchor:d}=y;(0,a.kG)(u),(0,a.kG)(d);const v={annotation:r,resizeAnchor:d,isShiftPressed:e.shiftKey},b=P.current;null!==b&&b.annotation.id===v.annotation.id&&b.isShiftPressed===v.isShiftPressed&&b.resizeAnchor===v.resizeAnchor||(x.current=h(v),E.current=m(v)),P.current=v;const w=i.translate(u.scale(-1)),S=Tt(r,w,d,x.current,void 0,p,f,E.current),D=(0,G.S6)(S)?S.set("measurementBBox",S.boundingBox):S;n(D),va(l),r instanceof j.b3&&![gt.V.TOP,gt.V.RIGHT,gt.V.BOTTOM,gt.V.LEFT].includes(d)&&null!==(t=r.isMeasurement)&&void 0!==t&&t.call(r)&&((0,a.kG)(S instanceof j.b3),s((0,xn.eO)({magnifierLabel:S.getMeasurementDetails().label,magnifierCursorPosition:ka(S,g,d)})))}),[s,r,l,n,g,h,y,c,p,f]),k=T.useCallback((function(e){var n;e.stopPropagation(),S(!1),b(Ca),o(t),s((0,En.Zg)()),va(l);const a={annotations:(0,i.aV)([t]),reason:u.f.RESIZE_END};d.emit("annotations.willChange",a),r instanceof j.b3&&null!==(n=r.isMeasurement)&&void 0!==n&&n.call(r)&&s((0,xn.eO)(null))}),[r,l,s,o,t,d]);return{startResizing:D,resizeListener:y.isListening&&T.createElement(pt.Z,{onRootPointerMoveCapture:C,onRootPointerUpCapture:k}),isResizing:w}}({transformedAnnotation:R,setTransformedAnnotation:N,setGlobalAnnotation:q,annotation:t,dispatch:b,frameWindow:v,transformDeltaFromClientToPage:V,eventEmitter:P,pageSize:S,restrictAnnotationToPageBounds:x,shouldConstrainAspectRatio:C,annotationDimensions:O,clientTransformationMatrix:U,interactionsDisabled:y}),{startRotating:oe,rotateListener:re,isRotating:ie}=function(e){let{transformedAnnotation:t,setTransformedAnnotation:n,setGlobalAnnotation:o,annotation:r,dispatch:a,frameWindow:s,transformClientToPage:l,eventEmitter:c,pageSize:d,restrictAnnotationToPageBounds:p,centerPoint:f,interactionsDisabled:h,setLocalAndGlobalCursor:m}=e;const[g,v]=T.useState(!1),[y,b]=T.useState(!1);T.useEffect((()=>()=>{y&&h&&a((0,En.Zg)())}),[a,h,y]);const w=T.useCallback((e=>{const t=new j.E9({x:e.clientX,y:e.clientY}),n=l(t),o=f.x-n.x,r=n.y-f.y,i=-Math.atan2(o,r);return Math.round(i*(180/Math.PI))}),[f,l]),S=T.useCallback((function(e){if(!e.isPrimary)return;v(!0),b(!0);const t={annotations:(0,i.aV)([r]),reason:u.f.ROTATE_START};c.emit("annotations.willChange",t),a((0,En.X2)()),m((0,ot.Mg)(w(e),"grabbing"))}),[a,r,c,w,m]),E=T.useCallback((function(e){const o=w(e),r=(0,ot.sw)(t,o,d,p);n(r),va(s),m((0,ot.Mg)(o,"grabbing"))}),[t,s,n,w,m,d,p]),P=T.useCallback((function(e){e.stopPropagation(),b(!1),v(!1);const t=w(e),n=(0,ot.sw)(r,t,d,p);o(n),a((0,En.Zg)()),va(s),m("");const l={annotations:(0,i.aV)([n]),reason:u.f.ROTATE_END};c.emit("annotations.willChange",l)}),[s,a,o,r,w,c,d,p,m]);return{startRotating:S,rotateListener:g&&T.createElement(pt.Z,{onRootPointerMoveCapture:E,onRootPointerUpCapture:P}),isRotating:y}}({transformedAnnotation:R,setTransformedAnnotation:N,setGlobalAnnotation:q,annotation:t,dispatch:b,frameWindow:v,transformClientToPage:g,eventEmitter:P,pageSize:S,restrictAnnotationToPageBounds:x,centerPoint:t.boundingBox.getCenter(),interactionsDisabled:y,setLocalAndGlobalCursor:W}),ae=(0,fi.lB)(t,S,o,b),{startModifying:se,modifyListener:le,isModifying:ce}=function(e){let{transformedAnnotation:t,setTransformedAnnotation:n,setGlobalAnnotation:o,annotation:r,dispatch:s,frameWindow:l,transformDeltaFromClientToPage:c,eventEmitter:d,clientTransformationMatrix:p,pageSize:f,restrictAnnotationToPageBounds:h}=e;const[m,g]=T.useState(xa),[v,y]=T.useState(!1),b=(0,A.v9)((e=>e.defaultAutoCloseThreshold)),w=T.useCallback((function(e,t){var n;if(!e.isPrimary)return;const o=new j.E9({x:e.clientX,y:e.clientY}),a=c(o);g({pointIndex:t,startingMousePosition:a,isListening:!0}),y(!0);const l={annotations:(0,i.aV)([r]),reason:u.f.RESIZE_START};d.emit("annotations.willChange",l),r instanceof j.UX&&null!==(n=r.isMeasurement)&&void 0!==n&&n.call(r)&&s((0,xn.eO)({magnifierLabel:r.getMeasurementDetails().label,drawnAnnotationID:r.id,drawnAnnotationPageIndex:r.pageIndex,magnifierCursorPosition:Da(r,t,p)})),s((0,En.X2)())}),[s,c,r,d,p]),S=T.useCallback((function(e){var t;e.preventDefault();const o=new j.E9({x:e.clientX,y:e.clientY}),i=c(o),{startingMousePosition:u,pointIndex:d}=m;(0,a.kG)(u),(0,a.kG)(null!==d);const f=i.translate(u.scale(-1)),h=(0,Pa.Sy)(r,f,d);if((0,a.kG)(h),h instanceof j.om||h instanceof j.Hi){const e=(0,Dn.K)(h,d,b);n(-1!==e?(0,Dn.d)(h,d,e):h)}else n(h);va(l),"isMeasurement"in h&&null!==(t=h.isMeasurement)&&void 0!==t&&t.call(h)&&s((0,xn.eO)({magnifierLabel:h.getMeasurementDetails().label,magnifierCursorPosition:Da(h,d,p)}))}),[s,r,l,n,m,c,p]),E=T.useCallback((function(e){var n;if(e.stopPropagation(),y(!1),g(xa),f&&h&&!new B.UL({left:0,top:0,width:f.width,height:f.height}).isRectInside(t.boundingBox))return;o(t),s((0,En.Zg)()),va(l);const a={annotations:(0,i.aV)([t]),reason:u.f.RESIZE_END};d.emit("annotations.willChange",a),"isMeasurement"in r&&null!==(n=r.isMeasurement)&&void 0!==n&&n.call(r)&&s((0,xn.eO)(null))}),[r,l,s,t,d,o,f,h]);return{startModifying:w,modifyListener:m.isListening&&T.createElement(pt.Z,{onRootPointerMoveCapture:S,onRootPointerUpCapture:E}),isModifying:v}}({transformedAnnotation:R,setTransformedAnnotation:N,setGlobalAnnotation:q,annotation:t,dispatch:b,frameWindow:v,transformDeltaFromClientToPage:V,eventEmitter:P,clientTransformationMatrix:U,pageSize:S,restrictAnnotationToPageBounds:x});(0,fi.Sv)(w,b,X);const ue=function(e,t){return T.Children.map(e,(e=>T.cloneElement(e,Oa(Oa({},t),{},{isDisabled:!0}))))}(l,Oa({annotation:R,globalAnnotation:n,ref:Z,isResizing:ne,isModifying:ce,isDragging:H,isRotating:ie},L?{cursor:L}:null)),pe=T.useRef(null);pe.current=function(e){h&&h(t,e)};const fe=(0,fi.wL)(m);T.useEffect((function(){const{current:e}=fe;return function(){if(e&&e===(null==e?void 0:e.ownerDocument.activeElement)){const e=pe.current;e&&e((0,no.M)("blur"))}}}),[]),T.useLayoutEffect((function(){H&&$()}),[o,$]),ha(K,v,R,N,q,S,s,P,x);const he=(0,J._k)(R,M);return T.createElement(pt.Z,{onPointerDownCapture:function(e){e.isPrimary&&(I.current=E({annotation:t,nativeEvent:e.nativeEvent,selected:!0},P),I.current||b((0,je.mg)(R,e,{selectedAnnotationShouldDrag:"touch"!==e.pointerType?new j.E9({x:e.clientX,y:e.clientY}):null,stopPropagation:!1,isAnnotationPressPrevented:!1})))},onPointerUp:Ia},T.createElement("div",{style:{touchAction:"none"},role:"application"},T.createElement(Ji,{zoomLevel:o,viewportSize:r.getSize(),startModifying:se,startResizing:ee,startDragging:Y,startRotating:oe,onFitToSide:ae,isDragging:H,pagesRotation:s,annotation:R,isResizable:c&&D,isModifiable:d&&D,isRotatable:p&&D,isEditableCP:D,annotationBoundingBox:(0,J.SY)(R,s),window:v,cursor:L},T.createElement("div",{tabIndex:0,ref:fe,role:"button","aria-label":R instanceof j.x_?M(Ke.Z.selectedAnnotation,{arg0:he}):R instanceof j.gd||R instanceof j.Qi?M(Ke.Z.selectedAnnotationWithText,{arg0:he,arg1:R.text.value}):M(Ke.Z.selectedAnnotation,{arg0:he}),"data-testid":"selected annotation",onFocus:function(e){f&&f(t,e)},onBlur:pe.current,className:F()("PSPDFKit-Annotation-Selected",R.constructor.readableName&&`PSPDFKit-${R.constructor.readableName}-Annotation-Selected`)},ue)),Q,te,le,re))}));function Ia(e){e.stopPropagation()}const Fa=(0,A.$j)((function(e,t){let{annotation:n}=t;return{interactionsDisabled:e.interactionsDisabled,selectedAnnotationShouldDrag:e.selectedAnnotationShouldDrag,isAnnotationPressPrevented:t=>(0,J.TW)(t,e.eventEmitter),eventEmitter:e.eventEmitter,restrictAnnotationToPageBounds:e.restrictAnnotationToPageBounds,isEditableCP:(0,oi.CM)(n,e),shouldConstrainAspectRatio:t=>(0,J.xU)(t,e),annotationDimensions:t=>(0,J.aI)(t,e)}}))(Ta),Ma={isListening:!1,isDragging:!1,previousMousePosition:null,initialClickWithinAnnotation:null,translation:new j.E9,initialDragCompleted:!1};function _a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ra(e){for(var t=1;t{const t=(0,ot.az)(e);if(v&&b){if(!new j.UL({left:0,top:0,width:v.width,height:v.height}).isRectInside(t.boundingBox))return null}return t})).filter(Boolean);r((0,Qt.GZ)(t,(0,i.aV)()))}),[r,v,b]),{isDragging:I,cancelDrag:M,startDraggingWithEvent:_,startDraggingAtPoint:R,dragListener:N}=function(e){let{getScrollElement:t,transformClientToPage:n,transformedAnnotations:o,setTransformedAnnotations:r,setGlobalAnnotations:i,interactionsDisabled:s,dispatch:l,frameWindow:c,pageSize:d,transformDeltaFromClientToPage:p,eventEmitter:f,restrictAnnotationToPageBounds:h,isEditableCP:m,selectedAnnotationsBoundingBox:g,selectedAnnotations:v}=e;const[y,b]=T.useReducer(Sa,Ma),{isListening:w,isDragging:S}=y,E=T.useCallback((function(){return new j.E9({x:t().scrollLeft,y:t().scrollTop})}),[t]);T.useEffect((()=>()=>{S&&s&&l((0,En.Zg)())}),[l,s,S]);const P=T.useRef(null),x=T.useCallback((function(e){P.current=E();const t=n(e).translate(g.getLocation().scale(-1)),o=p(e);b({type:"start",mousePosition:o,initialClickWithinAnnotation:t})}),[E,n,p,g]),D=T.useCallback((function(e){e.isPrimary&&x(new j.E9({x:e.clientX,y:e.clientY}))}),[x]),C=T.useCallback((function(){b({type:"stop"}),va(c),l((0,En.Zg)())}),[c,l]),k=T.useCallback((function(e){if((S||Ea(e))&&e.stopPropagation(),o&&i(o),b({type:"stop"}),S){const e={annotations:o,reason:u.f.MOVE_END};f.emit("annotations.willChange",e)}va(c),l((0,En.Zg)())}),[c,l,S,o,f,i]),A=T.useCallback((function(e){if(e.stopPropagation(),e.preventDefault(),S&&0===e.buttons)return void k(e);const{previousMousePosition:t,initialClickWithinAnnotation:n,translation:o}=y;(0,a.kG)(t),(0,a.kG)(n);const i=p(new j.E9({x:e.clientX,y:e.clientY})),m=Pn(n,t);!s&&m&&l((0,En.X2)());const g=i.translate(t.scale(-1)),w=o.translate(g),E=v.map((e=>fa(e,w,d,n,h)));if(function(e,t){return e.left<=0||e.top<=0||e.left+e.width>=t.width||e.top+e.height>=t.height}((0,J.Jy)(E),d)||(r(E),b({type:"drag",mousePosition:i,translation:w})),va(c),!S){const e={annotations:E,reason:u.f.MOVE_START};f.emit("annotations.willChange",e)}}),[c,l,s,d,r,y,S,p,f,k,h,v]),O=T.useCallback((function(){const e=t();if(void 0===e.scrollTop||void 0===e.scrollLeft)return;const n=E(),o=P.current;(0,a.kG)(o);const i=p(n.translate(o.scale(-1))),s=y.translation.translate(i),l=y.initialClickWithinAnnotation||new j.E9,u=v.map((e=>fa(e,s,d,l)));r(u),b({type:"scroll",translation:s}),P.current=n,va(c)}),[c,t,E,d,r,y.initialClickWithinAnnotation,y.translation,p,v]);(0,fi.wA)(w,t,O);const I=w&&T.createElement(pt.Z,{onRootPointerDownCapture:k,onRootPointerMoveCapture:m?A:void 0,onRootPointerUpCapture:k});return{isDragging:S,cancelDrag:C,startDraggingWithEvent:D,startDraggingAtPoint:x,dragListener:I}}({getScrollElement:f,transformClientToPage:h,transformedAnnotations:x,setTransformedAnnotations:D,setGlobalAnnotations:O,interactionsDisabled:g,dispatch:r,frameWindow:m,pageSize:v,transformDeltaFromClientToPage:A,eventEmitter:y,restrictAnnotationToPageBounds:b,isEditableCP:p,selectedAnnotationsBoundingBox:k,selectedAnnotations:n}),L=T.Children.toArray(t).map((e=>T.isValidElement(e)?function(e,t){return T.cloneElement(e,Ra(Ra({},t),{},{isDisabled:!0}))}(e,{annotation:x.find((t=>{var n;return t.id===(null===(n=e.props)||void 0===n?void 0:n.annotation.id)})),globalAnnotation:o.find((t=>{var n;return t.id===(null===(n=e.props)||void 0===n?void 0:n.annotation.id)})),isDragging:I}):e));(0,fi.Sv)(w,r,R),T.useLayoutEffect((function(){I&&M()}),[l,M]);const B=T.useRef(null);B.current=function(e,t){E&&E(e,t)};const z=L.filter((e=>Boolean(e.props.annotation))).length>1;return T.createElement(pt.Z,{onPointerDownCapture:function(e){e.isPrimary},onPointerUp:La},T.createElement("div",{style:{touchAction:"none",zIndex:1}},T.createElement(Ji,{zoomLevel:l,viewportSize:c.getSize(),startDragging:_,isDragging:I,pagesRotation:d,isResizable:!1,isModifiable:!1,isEditableCP:p,annotationBoundingBox:k,isRotatable:!1},L.filter((e=>Boolean(e.props.annotation))).map(((e,t)=>{const n=e.props.annotation,o=(0,J._k)(n,P);return T.createElement(Ji,{key:n.id,zoomLevel:l,viewportSize:c.getSize(),startDragging:_,isDragging:I,pagesRotation:d,isResizable:!1,isModifiable:!1,isRotatable:!1,isEditableCP:p,annotationBoundingBox:(0,J.SY)(n,d),deselectAnnotation:e=>{r((0,je.mg)(n,e))},annotationRotation:n.rotation,customZIndex:2},T.createElement("div",{tabIndex:t,"aria-label":n instanceof s.x_?P(Ke.Z.selectedAnnotation,{arg0:o}):n instanceof s.gd||n instanceof s.Qi?P(Ke.Z.selectedAnnotationWithText,{arg0:o,arg1:n.text.value}):P(Ke.Z.selectedAnnotation,{arg0:o}),ref:z?void 0:C,role:"button","data-testid":`selected annotation ${t}`,onFocus:e=>{return t=n,o=e,void(S&&S(t,o));var t,o},onBlur:e=>{var t;return null===(t=B.current)||void 0===t?void 0:t.call(B,n,e)},className:F()(`PSPDFKit-Annotation-Selected-${t}`,"PSPDFKit-Annotation-Selected",n.constructor.readableName&&`PSPDFKit-${n.constructor.readableName}-Annotation-Selected`)},e))}))),N))}));function La(e){e.stopPropagation()}const Ba=(0,A.$j)((function(e,t){let{annotation:n}=t;return{interactionsDisabled:e.interactionsDisabled,selectedAnnotationShouldDrag:e.selectedAnnotationShouldDrag,eventEmitter:e.eventEmitter,restrictAnnotationToPageBounds:e.restrictAnnotationToPageBounds,isEditableCP:(0,oi.CM)(n,e),shouldConstrainAspectRatio:t=>(0,J.xU)(t,e)}}))(Na);function ja(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function za(e){for(var t=1;t(a((0,En.X2)()),()=>{a((0,En.Zg)())})),[a]);const{pageIndex:c}=e,u=(0,A.v9)((e=>e.viewportState.zoomLevel)),d=F()([ro().canvas],"PSPDFKit-Redaction-Canvas"),{boundingBox:p}=o,f=(0,A.v9)((e=>e.scrollElement));return T.createElement("div",{className:d},T.createElement(Be,{zoomLevel:u,applyZoom:!0},T.createElement("div",{style:za(za({},p.toJS()),{},{position:"absolute"})},T.createElement(so,{annotation:o,zoomLevel:1,previewRedactionMode:!1,isSelectable:!1}))),T.createElement(Cn,{pageSize:s,pageIndex:c,currentAnnotation:o,onAnnotationUpdate:r,keepSelectedTool:l,scrollElement:f}))}var Za=n(61193),Ua=n.n(Za),Va=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Ga=function(){return Ga=Object.assign||function(e){for(var t,n=1,o=arguments.length;n1&&void 0!==arguments[1]?arguments[1]:1;return e.scale(1/t)}function vs(e){return"touches"in e?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}}let ys;!function(e){e[e.NOT_CREATED=0]="NOT_CREATED",e[e.CREATING=1]="CREATING",e[e.CREATED=2]="CREATED"}(ys||(ys={}));const bs=e=>{let{page:t,viewportState:n,onAreaChangeComplete:o,frameWindow:r,onAreaChangeStart:i,initialDraggingEvent:s}=e;const{zoomLevel:l}=n,[c,u]=(0,T.useState)(l),d=(0,T.useRef)(null),[p,f]=(0,T.useState)({left:0,top:0,height:0,width:0}),[h,m]=(0,T.useState)(!1),[g,v]=(0,T.useState)(null),[y,b]=(0,T.useState)(ys.NOT_CREATED),[w,S]=(0,T.useState)(!1),[E,P]=(0,T.useState)(void 0),[x,D]=(0,T.useState)(!1),C=(0,T.useRef)(null);(0,T.useEffect)((()=>{const e=r.document.querySelector(".PSPDFKit-Scroll");(0,a.kG)(e),e.style.overflow=w?"hidden":"auto",r.document.body.style.overscrollBehavior=w?"contain":"auto"}),[w]),(0,T.useEffect)((()=>{function e(e){"Shift"===e.key&&D(!0)}function t(e){"Shift"===e.key&&D(!1)}return r.document.addEventListener("keydown",e),r.document.addEventListener("keyup",t),()=>{r.document.removeEventListener("keydown",e),r.document.removeEventListener("keyup",t)}}),[]),(0,T.useEffect)((()=>{if(E&&l!==c){const e=E.scale(l/c);P(e),u(l),y===ys.CREATING&&(b(ys.CREATED),null==o||o(gs(e,l)))}}),[c,l,E]);const k=(0,T.useCallback)(((e,t,n,o)=>{P((e=>{var n,r;(0,a.kG)(e);let i=new j.UL({left:e.left,top:e.top,width:(null===(n=C.current)||void 0===n?void 0:n.width)+o.width,height:(null===(r=C.current)||void 0===r?void 0:r.height)+o.height});return e&&t.toLowerCase().includes("top")&&(i=i.set("top",e.top-(i.height-e.height))),e&&t.toLowerCase().includes("left")&&(i=i.set("left",e.left-(i.width-e.width))),i}))}),[P,t.pageSize,l,p]);function A(e){var t;return parseInt(null===(t=e.target.closest(".PSPDFKit-Page"))||void 0===t?void 0:t.getAttribute("data-page-index"),10)}const O=(0,fi.R9)((e=>{"touches"in e&&2===e.touches.length&&m(!0);const n=A(e);if(t.pageIndex!==n)return;e.stopImmediatePropagation(),(0,a.kG)(d.current);const o=d.current.getBoundingClientRect(),{clientY:r,clientX:i}=vs(e);f(o),v(new j.E9({x:i-o.left,y:r-o.top}))}));(0,T.useEffect)((()=>{s&&O(s)}),[s,O]);const I=(0,fi.R9)((e=>{if(!g||y===ys.CREATED)return;const{clientX:t,clientY:n}=vs(e);if(g.x!==t||g.y!==t){e.stopImmediatePropagation(),S(!0);const o=t-p.left,r=n-p.top,a=new j.UL({left:Math.max(0,Math.min(o,g.x)),top:Math.max(0,Math.min(r,g.y)),width:o{if(y===ys.CREATED)return;m(!1);const n=A(e);t.pageIndex===n&&e.stopImmediatePropagation(),S(!1),v(null),E?(null==o||o(gs(E,l)),b(ys.CREATED)):b(ys.NOT_CREATED)}));(0,T.useEffect)((()=>(r.document.addEventListener("pointerdown",O),r.document.addEventListener("pointermove",I),r.document.addEventListener("pointerup",M),r.document.addEventListener("touchstart",O),r.document.addEventListener("touchmove",I),r.document.addEventListener("touchend",M),()=>{r.document.removeEventListener("pointerdown",O),r.document.removeEventListener("pointermove",I),r.document.removeEventListener("pointerup",M),r.document.removeEventListener("touchstart",O),r.document.removeEventListener("touchmove",I),r.document.removeEventListener("touchend",M)})),[O,I,M]);const _=E&&{x:E.left,y:E.top,width:E.width,height:E.height};return T.createElement("div",{ref:d,className:ps().wrapper,onPointerUp:e=>e.stopPropagation(),role:"application"},y!==ys.NOT_CREATED&&T.createElement(T.Fragment,null,y===ys.CREATED&&function(e){const t={position:"absolute",backgroundColor:"rgba(0,0,0,0.2)"};return e?T.createElement(T.Fragment,null,T.createElement("div",{style:hs(hs({},t),{},{left:0,top:0,bottom:0,width:e.left})}),T.createElement("div",{style:hs(hs({},t),{},{left:e.left,top:0,right:0,height:e.top})}),T.createElement("div",{style:hs(hs({},t),{},{left:e.left+e.width,top:e.top,right:0,bottom:0})}),T.createElement("div",{style:hs(hs({},t),{},{left:e.left,top:e.top+e.height,bottom:0,width:e.width})})):null}(E),T.createElement(Ua(),{position:_,onStart:()=>{(0,a.kG)(E),null==i||i(gs(E,l))},onDrag:(e,t)=>{if(h)return!1;P((e=>((0,a.kG)(e),e.merge({left:t.x,top:t.y}))))},onStop:()=>{(0,a.kG)(E),null==o||o(gs(E,l))},defaultPosition:_,cancel:`.${ps().handles}`,bounds:"parent"},T.createElement(us,{size:E?{width:E.width,height:E.height}:void 0,onResizeStart:()=>{S(!0),(0,a.kG)(d.current&&E),null==i||i(gs(E,l)),f(d.current.getBoundingClientRect()),C.current=E},onResize:k,onResizeStop:()=>{S(!1),(0,a.kG)(E),null==o||o(gs(E,l)),C.current=null},handleClasses:ms,bounds:"parent",boundsByDirection:!0,lockAspectRatio:x},T.createElement("div",{style:E?{width:E.width,height:E.height}:void 0,className:F()(ps().cropBox,"PSPDFKit-Document-Crop-Box")})))))};function ws(e){const{dispatch:t,linkAnnotation:n,pageIndex:o}=e;T.useEffect((()=>()=>{t((0,En.lL)())}),[]);const r=F()({[ro().canvas]:!0});return T.createElement("div",{className:r},T.createElement(bs,{viewportState:e.viewportState,page:e.page,onAreaChangeComplete:function(e){const r=n.set("pageIndex",o).set("boundingBox",e);window.setTimeout((()=>{(0,A.dC)((()=>{t((0,Qt.FG)(r)),t((0,En.UU)()),t((0,je.Df)((0,i.l4)([r.id]),null)),t((0,Qt.ZE)(r.id)),t((0,En.lL)())}))}),10)},frameWindow:e.window}))}var Ss=n(76374),Es=n.n(Ss);const Ps=e=>{let{viewportState:t,onAreaChangeComplete:n,frameWindow:o,onAreaChangeStart:r,initialDraggingEvent:i}=e;const s=(0,A.I0)(),{zoomLevel:l}=t,c=(0,T.useRef)(null),[u,d]=(0,T.useState)({left:0,top:0,height:0,width:0}),[p,f]=(0,T.useState)(!1),[h,m]=(0,T.useState)(null),[g,v]=(0,T.useState)(ys.NOT_CREATED),[y,b]=(0,T.useState)(void 0),w=(0,fi.R9)((e=>{"touches"in e&&2===e.touches.length&&f(!0),s((0,je._)(!0)),e.stopImmediatePropagation(),(0,a.kG)(c.current);const t=c.current.getBoundingClientRect(),{clientY:n,clientX:o}=vs(e);d(t),m(new j.E9({x:o-t.left,y:n-t.top}))}));(0,T.useEffect)((()=>{i&&w(i)}),[i,w]);const S=(0,fi.R9)((e=>{if(!h||g===ys.CREATED)return;const{clientX:t,clientY:n}=vs(e);if(h.x!==t||h.y!==t){e.stopImmediatePropagation();const o=t-u.left,i=n-u.top,a=new j.UL({left:Math.max(0,Math.min(o,h.x)),top:Math.max(0,Math.min(i,h.y)),width:o{g!==ys.CREATED&&(f(!1),s((0,je._)(!1)),e.stopImmediatePropagation(),m(null),y?(null==n||n(gs(y,l)),v(ys.CREATED)):v(ys.NOT_CREATED))}));(0,T.useEffect)((()=>(o.document.addEventListener("pointerdown",w),o.document.addEventListener("pointermove",S),o.document.addEventListener("pointerup",E),o.document.addEventListener("touchstart",w),o.document.addEventListener("touchmove",S),o.document.addEventListener("touchend",E),()=>{o.document.removeEventListener("pointerdown",w),o.document.removeEventListener("pointermove",S),o.document.removeEventListener("pointerup",E),o.document.removeEventListener("touchstart",w),o.document.removeEventListener("touchmove",S),o.document.removeEventListener("touchend",E)})),[w,S,E]);const P=y&&{x:y.left,y:y.top,width:y.width,height:y.height};return T.createElement("div",{ref:c,className:Es().wrapper,onPointerUp:e=>e.stopPropagation(),role:"application"},g!==ys.NOT_CREATED&&T.createElement(T.Fragment,null,T.createElement(Ua(),{position:P,onStart:()=>{(0,a.kG)(y),null==r||r(gs(y,l))},onDrag:(e,t)=>{if(p)return!1;b((e=>((0,a.kG)(e),e.merge({left:t.x,top:t.y}))))},onStop:()=>{(0,a.kG)(y),null==n||n(gs(y,l))},defaultPosition:P,bounds:"parent"},T.createElement("div",{style:y?{width:y.width,height:y.height}:void 0,className:F()(Es().selectionBox,"PSPDFKit-Multiple-Selection-Box")}))))};function xs(e){const t=(0,A.I0)(),n=(0,A.v9)((e=>e.annotations)),{pageIndex:o,viewportState:r,window:a,initialDraggingEvent:s,multiAnnotationsUsingShortcut:l}=e;return T.createElement("div",{className:ro().canvas},T.createElement(Ps,{viewportState:r,onAreaChangeComplete:function(e){const r=n.filter((e=>e.pageIndex===o)).toArray(),s=[];r.forEach((t=>{let[n,o]=t;const r=o.boundingBox;e.isRectOverlapping(r)&&s.push(n)})),s.length?a.setTimeout((()=>{(0,A.dC)((()=>{t((0,je.fz)()),t((0,je.Df)((0,i.l4)(s),null))}))}),5):t((0,En.FA)())},frameWindow:a,initialDraggingEvent:l?s:void 0}))}const Ds=[x.A.SHAPE_LINE,x.A.SHAPE_RECTANGLE,x.A.SHAPE_ELLIPSE,x.A.SHAPE_POLYLINE,x.A.SHAPE_POLYGON],Cs=[x.A.DISTANCE,x.A.PERIMETER,x.A.RECTANGLE_AREA,x.A.ELLIPSE_AREA,x.A.POLYGON_AREA];var ks=n(33320),As=n(71603);function Os(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ts(e){for(var t=1;te.set("debugMode",!0),[te.RTr]:e=>e.set("hasFetchedInitialRecordsFromInstant",!0),[te.kt4]:(e,t)=>{let{enabled:n}=t;return e.set("areClipboardActionsEnabled",n)},[te.heZ]:(e,t)=>{let{group:n}=t;return e.set("group",n)},[te.G5w]:e=>e.set("isDebugConsoleVisible",!0),[te.GW4]:e=>e.set("isDebugConsoleVisible",!1),[te.mqf]:(e,t)=>{let{preset:n="text-highlighter"}=t;const o=new j.FV((0,J.lx)(e.set("currentItemPreset",n)));return e.withMutations((e=>{e.set("currentItemPreset",n),e.set("interactionMode",x.A.TEXT_HIGHLIGHTER),e.set("selectedAnnotationIds",(0,i.l4)([o.id])),e.set("selectedAnnotationMode",Q.o.EDITING),n&&!(n in fe.AQ)&&e.setIn(["annotationPresetIds",o.id],n),e.setIn(["annotations",o.id],o)}))},[te.tLW]:e=>e.withMutations((t=>{t.set("currentItemPreset",null),t.set("interactionMode",null),e.interactionMode===x.A.TEXT_HIGHLIGHTER&&(0,J.Xu)(t),t.set("selectedAnnotationIds",(0,i.l4)())})),[te.tS$]:(e,t)=>{let{preset:n="redaction"}=t;const o=new pe.Z((0,J.lx)(e.set("currentItemPreset",n)));return e.withMutations((e=>{e.set("currentItemPreset",n),e.set("interactionMode",x.A.REDACT_TEXT_HIGHLIGHTER),e.set("selectedAnnotationIds",(0,i.l4)([o.id])),e.set("selectedAnnotationMode",Q.o.EDITING),n&&!(n in fe.AQ)&&e.setIn(["annotationPresetIds",o.id],n),e.setIn(["annotations",o.id],o)}))},[te.g30]:e=>e.withMutations((t=>{t.set("currentItemPreset",null),t.set("interactionMode",null),e.interactionMode===x.A.REDACT_TEXT_HIGHLIGHTER&&(0,J.Xu)(t),t.set("selectedAnnotationIds",(0,i.l4)())})),[te.VNM]:(e,t)=>{let{editor:n}=t;return e.set("richTextEditorRef",n)},[te.yPS]:(e,t)=>{let{preset:n}=t;return e.withMutations((e=>{e.set("interactionMode",x.A.MEASUREMENT),void 0!==n&&e.set("currentItemPreset",n)}))},[te.m_C]:e=>e.set("interactionMode",null),[te.GXR]:(e,t)=>{let{preset:n}=t;const o=new j.Zc((0,J.lx)(e));return e.withMutations((t=>{t.set("interactionMode",x.A.INK),t.set("interactionsDisabled",!0),t.set("selectedAnnotationIds",(0,i.l4)([o.id])),t.set("selectedAnnotationMode",Q.o.EDITING),void 0!==n&&t.set("currentItemPreset",n);const r=void 0!==n?n:e.currentItemPreset;r&&!fe.AQ[r]&&t.setIn(["annotationPresetIds",o.id],r),t.setIn(["annotations",o.id],o)}))},[te.J7J]:e=>e.set("interactionMode",null),[te.JyO]:e=>e.withMutations((e=>{e.set("interactionMode",x.A.INK_ERASER),e.set("selectedAnnotationIds",(0,i.l4)()),e.set("interactionsDisabled",!0)})),[te.NDs]:e=>e.set("interactionMode",null),[te.Vu4]:(e,t)=>{let{signatureRect:n,signaturePageIndex:o,formFieldName:r}=t;null!==o&&(0,a.kG)("number"==typeof o&&o>=0&&o{e.set("interactionMode",x.A.SIGNATURE),e.setIn(["signatureState","signatureRect"],n),e.setIn(["signatureState","signaturePageIndex"],o),e.setIn(["signatureState","formFieldName"],r)}))},[te.S$y]:e=>e.withMutations((e=>{e.set("widgetAnnotationToFocus",null),e.set("interactionMode",null),e.set("currentItemPreset",null),e.setIn(["signatureState","formFieldName"],null),e.setIn(["signatureState","signatureRect"],null),e.setIn(["signatureState","signaturePageIndex"],null)})),[te.Dzg]:e=>{const t={annotations:(0,i.aV)([new j.GI({pageIndex:e.viewportState.currentPageIndex})]),reason:u.f.SELECT_START};return e.eventEmitter.emit("annotations.willChange",t),e.withMutations((e=>{e.set("interactionMode",x.A.STAMP_PICKER),e.set("currentItemPreset",null)}))},[te.M3C]:e=>e.withMutations((e=>{e.set("interactionMode",x.A.STAMP_CUSTOM),e.set("currentItemPreset",null)})),[te.tie]:e=>e.withMutations((e=>{e.set("interactionMode",null)})),[te.JS9]:(e,t)=>{const n=Cs.includes(t.shapeInteractionMode),o=(0,J.lx)(e),{activeMeasurementScale:r,isCalibratingScale:a}=e;n&&(o.measurementScale=null!=r&&r.scale?new As.Z({fromValue:Number(r.scale.fromValue),toValue:Number(r.scale.toValue),unitFrom:r.scale.unitFrom,unitTo:r.scale.unitTo}):e.measurementScale,o.measurementPrecision=null!=r&&r.precision?r.precision:e.measurementPrecision,a&&(o.strokeColor=j.Il.BLUE));const s=new t.shapeClass(o);return e.withMutations((n=>{n.set("interactionMode",t.shapeInteractionMode),n.set("interactionsDisabled",!0),n.set("selectedAnnotationIds",(0,i.l4)([s.id])),n.set("selectedAnnotationMode",Q.o.EDITING),void 0!==t.preset&&n.set("currentItemPreset",t.preset);const o=void 0!==t.preset?t.preset:e.currentItemPreset;o&&!fe.AQ[o]&&n.setIn(["annotationPresetIds",s.id],o),n.setIn(["annotations",s.id],s)}))},[te.AIf]:e=>e.withMutations((e=>{e.set("interactionMode",null)})),[te.cbv]:(e,t)=>{let{preset:n="redaction"}=t;const o=new pe.Z((0,J.lx)(e.set("currentItemPreset",n)));return e.withMutations((e=>{e.set("currentItemPreset",n),e.set("interactionMode",x.A.REDACT_SHAPE_RECTANGLE),e.set("interactionsDisabled",!0),e.set("selectedAnnotationIds",(0,i.l4)([o.id])),e.set("selectedAnnotationMode",Q.o.EDITING),n&&!(n in fe.AQ)&&e.setIn(["annotationPresetIds",o.id],n),e.setIn(["annotations",o.id],o)}))},[te.TUA]:e=>e.withMutations((t=>{t.set("interactionMode",null),t.set("currentItemPreset",null),e.interactionMode===x.A.REDACT_SHAPE_RECTANGLE&&(0,J.Xu)(t),t.set("selectedAnnotationIds",(0,i.l4)())})),[te.ZDQ]:(e,t)=>{const{annotation:n,preset:o}=t,r=n||new j.Qi((0,J.lx)(e));return e.withMutations((t=>{t.set("interactionMode",x.A.NOTE),t.set("selectedAnnotationIds",(0,i.l4)([r.id])),t.set("selectedAnnotationMode",Q.o.EDITING),void 0!==o&&t.set("currentItemPreset",o);const n=void 0!==o?o:e.currentItemPreset;n&&!fe.AQ[n]&&t.setIn(["annotationPresetIds",r.id],n),t.setIn(["annotations",r.id],r)}))},[te.B1n]:e=>e.withMutations((e=>{e.set("interactionMode",null)})),[te.dEe]:(e,t)=>{const n=t.annotation?t.annotation:new j.Jn((0,J.lx)(e));return e.withMutations((e=>{e.set("selectedAnnotationIds",(0,i.l4)([n.id])),e.set("selectedAnnotationMode",Q.o.EDITING),e.setIn(["annotations",n.id],n),e.set("interactionMode",x.A.COMMENT_MARKER),e.set("currentItemPreset",null)}))},[te.iMs]:e=>e.set("interactionMode",null),[te.pnu]:(e,t)=>{const{annotation:n,preset:o}=t;let r=n;if(!r&&(r=new j.gd((0,J.lx)(e)),e.enableRichText(r))){var a;const e=ue.ri.setStyleOrToggleFormat(r.text.value||"","fontColor",(null===(a=r.fontColor)||void 0===a?void 0:a.toHex())||"");r=r.set("fontColor",null).set("text",{format:"xhtml",value:e})}const s=r.id;return e.withMutations((n=>{n.set("interactionMode",t.isCallout?x.A.CALLOUT:x.A.TEXT),void 0!==o&&n.set("currentItemPreset",o);const a=void 0!==o?o:e.currentItemPreset;a&&!fe.AQ[a]&&n.setIn(["annotationPresetIds",s],a),n.setIn(["annotations",s],r),n.set("selectedAnnotationIds",(0,i.l4)([s])),n.set("selectedAnnotationMode",Q.o.EDITING)}))},[te.KqR]:e=>e.withMutations((e=>{e.set("interactionMode",null)})),[te.JRS]:e=>e.withMutations((e=>{e.set("interactionMode",x.A.DOCUMENT_CROP),e.set("interactionsDisabled",!0),e.set("currentItemPreset",null)})),[te.Gox]:e=>e.withMutations((e=>{e.set("interactionMode",null),e.set("interactionsDisabled",!1)})),[te.eFQ]:e=>e.set("interactionsDisabled",!1),[te.L8n]:e=>e.set("interactionsDisabled",!0),[te.MuN]:e=>e.set("showToolbar",!0),[te.xk1]:e=>e.set("showToolbar",!1),[te.tYC]:e=>e.set("enableAnnotationToolbar",!0),[te.NAH]:e=>e.set("enableAnnotationToolbar",!1),[te.Ce5]:(e,t)=>e.set("clientsChangeCallback",t.callback),[te.WtY]:(e,t)=>e.set("transformClientToPage",t.transformClientToPage),[te.tPZ]:(e,t)=>{const n=t.width>0?Math.abs(t.width-e.scrollbarOffset):-1*e.scrollbarOffset,o=(0,de.a$)(e.viewportState,e.viewportState.viewportRect,!1,n);return e.merge({viewportState:o,scrollbarOffset:t.width})},[te.rWQ]:(e,t)=>{let{layoutMode:n}=t;return e.update("viewportState",(e=>(0,de.YA)(e,n)))},[te.b0l]:(e,t)=>{let{scrollMode:n}=t;return e.update("viewportState",(e=>(0,de._U)(e,n)))},[te._n_]:(e,t)=>{let{scrollElement:n}=t;return e.set("scrollElement",n)},[te.bxr]:(e,t)=>{let{spreadSpacing:n}=t;return e.set("viewportState",(0,de.JN)(e.viewportState,n))},[te._ko]:(e,t)=>{let{pageSpacing:n}=t;return e.set("viewportState",(0,de.vY)(e.viewportState,n))},[te.FHt]:(e,t)=>{let{keepFirstSpreadAsSinglePage:n}=t;return e.set("viewportState",(0,de.EY)(e.viewportState,n))},[te.ht3]:(e,t)=>{let{viewportPadding:n}=t;return e.set("viewportState",(0,de._P)(e.viewportState,n))},[te.aYj]:e=>e.set("printingEnabled",!0),[te.hpj]:e=>e.set("printingEnabled",!1),[te.QYP]:e=>e.set("exportEnabled",!0),[te.zKF]:e=>e.set("exportEnabled",!1),[te.NfO]:(e,t)=>{let{readOnlyEnabled:n}=t;return e.set("readOnlyEnabled",n)},[te.cyk]:e=>e.set("showAnnotations",!0),[te.KYU]:e=>e.set("showAnnotations",!1),[te.Nl1]:e=>e.set("showComments",!0),[te.L9g]:e=>e.set("showComments",!1),[te.Dl4]:e=>e.set("showAnnotationNotes",!0),[te.GfR]:e=>e.set("showAnnotationNotes",!1),[te.Xlm]:e=>((0,a.kG)(!e.backendPermissions.readOnly,"Can not disable read only mode."),e.set("readOnlyEnabled",ve.J.NO)),[te.iQZ]:(e,t)=>{let{features:n}=t;return(0,a.kG)(0===e.features.size,"Cannot alterate the supported features list after initialization."),n.includes(ge.q.FORMS)||(e=e.set("formsEnabled",!1)),(0,So.Vz)(n)||n.includes(ge.q.ELECTRONIC_SIGNATURES)||(e=(e=e.set("readOnlyEnabled",ve.J.LICENSE_RESTRICTED)).setIn(["backendPermissions","readOnly"],!0)),e.set("features",n)},[te.JQC]:(e,t)=>{let{signatureFeatureAvailability:n}=t;return(0,a.kG)(!e.signatureFeatureAvailability,"Cannot alterate the signature feature availability after initialization."),e.set("signatureFeatureAvailability",n)},[te.hv0]:(e,t)=>{let{mode:n}=t;return e.set("sidebarMode",n)},[te.eI4]:(e,t)=>{let{placement:n}=t;return e.set("sidebarPlacement",n)},[te.bP3]:(e,t)=>{let{sidebarOptions:n}=t;return e.set("sidebarOptions",n)},[te._TO]:(e,t)=>{let{showSignatureValidationStatus:n}=t;return e.set("showSignatureValidationStatus",n)},[te.dVW]:(e,t)=>{let{locale:n}=t;return e.set("locale",n)},[te.hlI]:(e,t)=>{let{annotationCreatorName:n,immutable:o}=t;return e.set("annotationCreatorName",n).set("annotationCreatorNameReadOnly",o)},[te.ZbY]:(e,t)=>{let{editableAnnotationTypes:n}=t;return e.set("editableAnnotationTypes",n).set("isEditableAnnotation",null)},[te.uFU]:(e,t)=>{let{isEditableAnnotation:n}=t;return e.set("isEditableAnnotation",n).set("editableAnnotationTypes",(0,i.l4)(he.Z))},[te.ArU]:(e,t)=>{let{editableAnnotationTypes:n,isEditableAnnotation:o}=t;return e.set("isEditableAnnotation",o).set("editableAnnotationTypes",n)},[te.Q2U]:(e,t)=>{let{isEditableComment:n}=t;return e.set("isEditableComment",n)},[te.IFt]:(e,t)=>{let{formDesignMode:n}=t;return e.withMutations((t=>{t.set("formDesignMode",n),!1===n&&t.set("selectedAnnotationIds",e.selectedAnnotationIds.filter((t=>e.annotations.get(t)&&!(e.annotations.get(t)instanceof j.x_))))}))},[te.YIz]:e=>e.set("interactionMode",x.A.DOCUMENT_EDITOR),[te.Gkm]:(e,t)=>{let{measurementSnapping:n}=t;return e.set("measurementSnapping",n)},[te.fwq]:(e,t)=>{let{measurementPrecision:n}=t;return e.set("measurementPrecision",n)},[te.G6t]:(e,t)=>{let{scale:n}=t;return e.set("measurementScale",n)},[te.K26]:e=>e.set("interactionMode",null),[te.Hbz]:e=>e.set("interactionMode",x.A.MARQUEE_ZOOM),[te.$VE]:(e,t)=>{let{interactionMode:n}=t;return e.set("interactionMode",n)},[te.yrz]:e=>e.set("interactionMode",null),[te.sYK]:e=>e.set("interactionMode",null),[te.fAF]:(e,t)=>e.set("customRenderers",t.customRenderers),[te.pNz]:e=>e.withMutations((e=>{e.set("isSigning",!0),e.set("interactionsDisabled",!0)})),[te.bV3]:e=>e.withMutations((e=>{e.set("isSigning",!1),e.set("interactionsDisabled",!1)})),[te.EpY]:e=>e.withMutations((e=>{e.set("isApplyingRedactions",!0),e.set("interactionsDisabled",!0)})),[te.bui]:e=>e.withMutations((e=>{e.set("isApplyingRedactions",!1),e.set("interactionsDisabled",!1)})),[te.vVk]:(e,t)=>{let{previewRedactionMode:n}=t;return e.set("previewRedactionMode",n)},[te.D5x]:(e,t)=>e.set("a11yStatusMessage",t.a11yStatusMessage),[te.rpU]:(e,t)=>{let{lastToolbarActionUsedKeyboard:n}=t;return e.set("lastToolbarActionUsedKeyboard",n)},[te.KA1]:(e,t)=>{let{documentComparisonState:n}=t;return e.set("documentComparisonState",n?Ts(Ts({},e.documentComparisonState),n):null)},[te.MYU]:e=>e.set("canScrollWhileDrawing",!0),[te.mbD]:e=>e.set("canScrollWhileDrawing",!1),[te.wog]:e=>e.set("keepSelectedTool",!0),[te.UL9]:e=>e.set("keepSelectedTool",!1),[te.IyB]:(e,t)=>{let{instance:n}=t;return e.set("instance",n)},[te.eJ4]:(e,t)=>{let{customUIStore:n}=t;return e.set("customUIStore",n)},[te.R7l]:e=>{const t=new j.R1((0,J.lx)(e)),n="link";return e.withMutations((e=>{e.set("linkAnnotationMode",!0),e.set("interactionMode",x.A.LINK),e.set("selectedAnnotationIds",(0,i.l4)([t.id])),e.set("selectedAnnotationMode",Q.o.EDITING),e.setIn(["annotations",t.id],t),e.set("currentItemPreset",n);const o=n;!fe.AQ.link&&e.setIn(["annotationPresetIds",t.id],o)}))},[te.qKG]:e=>e.withMutations((e=>{e.set("linkAnnotationMode",!1)})),[te.oZW]:(e,t)=>{let{multiAnnotationsUsingShortcut:n}=t;return e.withMutations((t=>{e.isMultiSelectionEnabled&&(t.set("interactionMode",x.A.MULTI_ANNOTATIONS_SELECTION),t.set("selectedAnnotationIds",(0,i.l4)()),t.set("selectedAnnotationMode",Q.o.SELECTED),t.set("multiAnnotationsUsingShortcut",n))}))},[te.odo]:e=>e.withMutations((e=>{e.set("interactionMode",null),e.set("multiAnnotationsUsingShortcut",null)})),[te.Vje]:e=>e.set("interactionMode",x.A.MEASUREMENT_SETTINGS),[te.XTO]:e=>e.set("interactionMode",null),[te.FQb]:(e,t)=>{let{annotationsIds:n}=t;return e.withMutations((e=>{var t;const{annotationsGroups:o,annotations:r}=e,s=null===(t=r.find((e=>e.get("id")===n.first())))||void 0===t?void 0:t.get("pageIndex");n.forEach((e=>{const t=r.find((t=>t.id===e));(0,a.kG)(t,`Annotation with id ${e} couldn't be found.`),(0,a.kG)(s===t.get("pageIndex"),"Annotations can't be grouped if they are not on the same page")}));const l=o.map((e=>{const t=e.annotationsIds;return e.annotationsIds=t.filter((e=>!n.includes(e))),e})).filter((e=>e.annotationsIds.size>0)),c=(0,ks.C)();e.set("annotationsGroups",l.set(c,{groupKey:c,annotationsIds:(0,i.l4)(n)})),e.set("selectedGroupId",c)}))},[te.t$K]:(e,t)=>{let{groupId:n}=t;return e.set("selectedGroupId",n)},[te.vBn]:(e,t)=>{let{pullToRefreshNewState:n}=t;return e.set("disablePullToRefresh",n)},[te.bzW]:(e,t)=>{let{groupId:n}=t;return e.withMutations((e=>{const{annotationsGroups:t}=e;e.set("annotationsGroups",t.delete(n)),e.set("selectedGroupId",null)}))},[te.b4I]:(e,t)=>{let{annotationId:n,groupId:o}=t;return e.withMutations((e=>{const{annotationsGroups:t}=e,r=t.get(o);r&&(e.set("annotationsGroups",t.set(o,{groupKey:o,annotationsIds:r.annotationsIds.delete(n)})),e.set("selectedGroupId",null))}))},[te.tzG]:(e,t)=>{let{customFontsReadableNames:n}=t;return e.set("customFontsReadableNames",n)}};function Ms(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Is,t=arguments.length>1?arguments[1]:void 0;const n=Fs[t.type];return n?n(e,t):e}var _s=n(89849);const Rs=new j.ZM,Ns={[te.BS3]:(e,t)=>e.set("connectionState",new j.em({name:_s.F.CONNECTING,reason:t.reason,progress:t.progress})),[te.nmm]:e=>e.set("connectionState",new j.em({name:_s.F.CONNECTED})),[te.zZV]:(e,t)=>e.set("connectionState",new j.em({name:_s.F.CONNECTION_FAILED,reason:t.reason})),[te.rxv]:(e,t)=>e.set("annotationManager",t.annotationManager),[te.Hrp]:(e,t)=>e.set("bookmarkManager",t.bookmarkManager),[te.GHc]:(e,t)=>e.set("formFieldValueManager",t.formFieldValueManager),[te.oj5]:(e,t)=>e.set("formFieldManager",t.formFieldManager),[te.UII]:(e,t)=>e.set("commentManager",t.commentManager),[te.gbd]:(e,t)=>e.set("changeManager",t.changeManager),[te.Ty$]:(e,t)=>e.set("connectionState",new j.em({name:_s.F.PASSWORD_REQUIRED})).set("resolvePassword",t.resolvePassword),[te.hC8]:e=>e.set("isUnlockedViaModal",!0).set("resolvePassword",null),[te.poO]:(e,t)=>e.set("hasPassword",t.hasPassword),[te.iZ1]:(e,t)=>e.set("allowedTileScales",t.allowedTileScales)};function Ls(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rs,t=arguments.length>1?arguments[1]:void 0;const n=Ns[t.type];return n?n(e,t):e}const Bs=new j.ZM,js={[te.jJ7]:(e,t)=>{const{item:n}=t;return(0,Ne.k)(e.pages.get(n.pageIndex),`Trying to insert a CustomOverlayItem at pageIndex ${n.pageIndex}. But such a page does not exist.`),e.withMutations((e=>{e.updateIn(["pages",n.pageIndex,"customOverlayItemIds"],(e=>e.add(n.id))).setIn(["customOverlayItems",n.id],n)}))},[te.G8_]:(e,t)=>{const n=e.customOverlayItems.get(t.id);return(0,Ne.k)(n,"CustomOverlayItem not found"),e.withMutations((e=>{e.deleteIn(["pages",n.pageIndex,"customOverlayItemIds",n.id]).deleteIn(["customOverlayItems",n.id])}))}};function zs(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Bs,t=arguments.length>1?arguments[1]:void 0;const n=js[t.type];return n?n(e,t):e}const Ks=new j.ZM,Zs={[te.lRe]:(e,t)=>e.set("digitalSignatures",t.digitalSignatures)};function Us(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ks,t=arguments.length>1?arguments[1]:void 0;const n=Zs[t.type];return n?n(e,t):e}const Vs=new me.Z,Gs={[te.Oh4]:(e,t)=>{let{outline:n}=t;return e.withMutations((e=>{e.setIn(["documentOutlineState","elements"],n),e.setIn(["documentOutlineState","expanded"],qs((0,i.D5)(),n,"0"))}))},[te.Whn]:(e,t)=>{let{level:n}=t;return e.updateIn(["documentOutlineState","expanded",n],(e=>!e))}};function Ws(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Vs,t=arguments.length>1?arguments[1]:void 0;const n=Gs[t.type];return n?n(e,t):e}function qs(e,t,n){return t.reduce(((e,t,o)=>{if(0===t.size)return e;const r=`${n}-${o}`;return qs(e.set(r,t.isExpanded),t.children,r)}),e)}var Hs=n(71693),$s=n(56956),Ys=n(52560),Xs=n(28098);const Js=new j.ZM,Qs={[te.wtk]:e=>{const{viewportState:t}=e,n=(0,Hs.dF)(t,t.currentPageIndex),o=(0,Hs.kd)(t),r=n>=o-1?o-1:n+1,s=(0,Hs.P1)(t,r)[0];return(0,a.kG)("number"==typeof s,"Can not find the next pageIndex."),e.withMutations((t=>{t.set("viewportState",(0,$s.eb)(e.viewportState,s)),t.set("hoverAnnotationIds",(0,i.l4)())}))},[te.mE7]:e=>{const{viewportState:t}=e,n=(0,Hs.dF)(t,t.currentPageIndex),o=n<=0?0:n-1,r=(0,Hs.P1)(t,o)[0];return(0,a.kG)("number"==typeof r,"Can not find the next pageIndex."),e.withMutations((n=>{n.set("viewportState",(0,$s.eb)(e.viewportState,r)),r!==t.currentPageIndex&&n.set("hoverAnnotationIds",(0,i.l4)())}))},[te.RxB]:(e,t)=>{const{pageIndex:n}=t;return(0,a.kG)(n>=0&&n{t.set("viewportState",(0,$s.eb)(e.viewportState,n)),n!==e.viewportState.currentPageIndex&&t.set("hoverAnnotationIds",(0,i.l4)())}))},[te.mLh]:(e,t)=>{const{scrollPosition:n,lastScrollUsingKeyboard:o=!1}=t;return e.set("viewportState",(0,$s.hu)(e.viewportState,n).set("lastScrollUsingKeyboard",o))},[te.g4f]:(e,t)=>{let{pageIndex:n,rect:o}=t;return e.set("viewportState",(0,$s.kN)(e.viewportState,n,o))},[te.Lyo]:(e,t)=>{let{pageIndex:n,rect:o}=t;return e.set("viewportState",(0,$s.vP)(e.viewportState,n,o))},[te.xYE]:(e,t)=>{var n;let{viewportRect:o,isTriggeredByOrientationChange:r}=t;const i=j.UL.fromClientRect(null===(n=e.rootElement)||void 0===n?void 0:n.getBoundingClientRect()),a=(0,de.a$)(e.viewportState,o,r,e.scrollbarOffset);return e.withMutations((e=>{e.set("containerRect",i),e.set("viewportState",a)}))},[te.syg]:(e,t)=>{let n=(0,Ys.cq)(e.viewportState,t.zoomLevel);return t.scrollPosition&&(n=n.set("scrollPosition",t.scrollPosition)),e.set("viewportState",n)},[te.u9b]:(e,t)=>{const n=e.viewportState.set("zoomStep",t.zoomStep);return e.set("viewportState",n)},[te.ZGb]:(e,t)=>e.set("viewportState",t.viewportState),[te.UFs]:e=>e.set("viewportState",(0,Ys.cq)(e.viewportState,e.viewportState.zoomLevel*e.viewportState.zoomStep)),[te.RCc]:e=>e.set("viewportState",(0,Ys.cq)(e.viewportState,e.viewportState.zoomLevel/e.viewportState.zoomStep)),[te.MfE]:e=>e.set("viewportState",(0,Ys.cq)(e.viewportState,Xs.c.AUTO)),[te.BWS]:e=>e.set("viewportState",(0,Ys.cq)(e.viewportState,Xs.c.FIT_TO_VIEWPORT)),[te.QU3]:e=>e.set("viewportState",(0,Ys.cq)(e.viewportState,Xs.c.FIT_TO_WIDTH)),[te.lD1]:(e,t)=>{let{degCW:n}=t;return e.update("viewportState",(e=>(0,Yr.U1)(e,n)))},[te.kRo]:e=>e.set("interactionMode",x.A.PAN),[te.UFK]:e=>e.set("interactionMode",null),[te.D1d]:(e,t)=>{let{width:n}=t;return e.set("sidebarWidth",n)},[te.WsN]:(e,t)=>{let{shouldDisable:n}=t;return e.set("scrollDisabled",n)}};function el(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Js,t=arguments.length>1?arguments[1]:void 0;const n=Qs[t.type];return n?n(e,t):e}var tl=n(19568),nl=n(47710),ol=n(4757),rl=n(56169),il=n(98013);function al(e){return(0,a.kG)(6===e.length,"Tried to deserialize matrix that does not have 6 entries"),new B.sl({a:e[0],b:e[1],c:e[2],d:e[3],e:e[4],f:e[5]})}var sl=n(93572),ll=n(76413),cl=n.n(ll);function ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function dl(e){for(var t=1;t{const n=e.pages.map((e=>e.pageKey)),o=(0,i.aV)(t.payload).map((e=>{const t=new j.$u({width:e.width,height:e.height}),o=n.get(e.pageIndex)||(0,ks.C)();return new j.T3(dl(dl({},e),{},{matrix:al(e.matrix),reverseMatrix:al(e.reverseMatrix),untransformedRect:(0,sl.k)(e.untransformedBBox),transformedRect:(0,sl.k)(e.transformedBBox),rawPdfBoxes:e.rawPdfBoxes,pageKey:o,pageSize:t}))})),r=o.map((e=>e.pageSize));return e.withMutations((e=>{const t=e.viewportState.set("pageSizes",r);e.set("pages",o),e.set("viewportState",t),e.set("arePageSizesLoaded",!0)}))},[te.ME7]:(e,t)=>{const n=(0,i.aV)(t.payload.pages).map((e=>{var n;const o=new j.$u({width:e.width,height:e.height}),r=(null===(n=t.pageKeys)||void 0===n?void 0:n.get(e.pageIndex))||(0,ks.C)();return new j.T3(dl(dl({},e),{},{matrix:al(e.matrix),reverseMatrix:al(e.reverseMatrix),untransformedRect:(0,sl.k)(e.untransformedBBox),transformedRect:(0,sl.k)(e.transformedBBox),rawPdfBoxes:e.rawPdfBoxes,pageKey:r,pageSize:o}))})),o=n.map((e=>e.pageSize));return e.withMutations((r=>{let i=r.viewportState.set("pageSizes",o);if(r.set("pages",n),r.set("totalPages",n.size),r.set("documentPermissions",new tl.Z(mt.Ei.IGNORE_DOCUMENT_PERMISSIONS?void 0:t.payload.permissions)),i.currentPageIndex>=n.size&&(i=i.set("currentPageIndex",0)),i.zoomMode===Xs.c.CUSTOM){const e=(0,Ys.Yo)(i),t=(0,Ys.Sm)(i);(i.zoomLevelt)&&(i=i.set("zoomMode",Xs.c.AUTO))}if(i=i.zoomMode===Xs.c.CUSTOM?i.merge({zoomLevel:(0,Ys.X9)(i,i.zoomLevel)}):i.merge({zoomLevel:(0,Ys.X9)(i,i.zoomMode)}),i.scrollMode===nl.G.PER_SPREAD&&(i=(0,de._U)(i.set("scrollMode",nl.G.CONTINUOUS),nl.G.PER_SPREAD)),i.scrollMode===nl.G.DISABLED&&(i=(0,de._U)(i.set("scrollMode",nl.G.CONTINUOUS),nl.G.DISABLED)),i.currentPageIndex>0){if(0===i.viewportRect.width||0===i.viewportRect.height){let t=e.containerRect;e.showToolbar&&(t=t.set("top",il.k3).set("height",t.height-il.k3)),i=i.set("viewportRect",t)}i=(0,$s.eb)(i.set("currentPageIndex",0),i.currentPageIndex)}r.set("viewportState",i)}))},[te.GZZ]:(e,t)=>{const n=(0,i.D5)().withMutations((n=>{const o=[];t.textLines.forEach((t=>{var n;o.push(new Br.f(null===(n=e.frameWindow)||void 0===n?void 0:n.document,(0,i.aV)([(0,ol.LD)((0,So.HI)(e),t)]),{},cl().line))})),t.textLines.forEach(((e,t)=>{const r=o[t].measure().get(0);(0,Ne.k)(r);const{id:i}=e;n.set(i,{scaleX:e.boundingBox.width/r.width,scaleY:e.boundingBox.height/r.height})})),t.textLines.forEach(((e,t)=>{o[t].remove()}))}));return e.setIn(["pages",t.pageIndex,"textLines"],t.textLines).setIn(["pages",t.pageIndex,"textLineScales"],n)},[te.fnw]:(e,t)=>{let{backendPermissions:n}=t;return e.withMutations((e=>{n.readOnly&&e.set("readOnlyEnabled",ve.J.VIA_BACKEND_PERMISSIONS),n.downloadingAllowed||(e.set("exportEnabled",!1),e.set("printingEnabled",!1)),e.set("backendPermissions",n)}))},[te.obk]:e=>e.withMutations((e=>{e.set("annotations",(0,i.D5)()),e.set("attachments",(0,i.D5)()),e.set("formFields",(0,i.D5)()),e.set("currentTextSelection",null),e.set("interactionMode",null),e.set("selectedAnnotationIds",(0,i.l4)()),e.set("selectedAnnotationShouldDrag",null),e.set("selectedAnnotationMode",null),e.set("activeAnnotationNote",null),e.set("interactionsDisabled",!1),e.set("annotationPresetIds",(0,i.D5)()),e.set("documentOutlineState",new j.S),e.set("comments",(0,i.D5)()),e.set("commentThreads",(0,i.D5)()),e.set("invalidAPStreams",(0,i.D5)()),e.set("searchState",new rl.Z)})),[te.S0t]:(e,t)=>e.set("documentHandle",t.documentHandle).set("isDocumentHandleOutdated",!1),[te.YS$]:(e,t)=>e.set("isDocumentHandleOutdated",t.isDocumentHandleOutdated),[te.UX$]:(e,t)=>e.set("reuseState",t.state?new me.w(t.state):null),[te.TG1]:(e,t)=>e.withMutations((e=>{t.pageIndexes.forEach((t=>{e.setIn(["pages",t,"pageKey"],(0,ks.C)())}))}))};function hl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pl,t=arguments.length>1?arguments[1]:void 0;const n=fl[t.type];return n?n(e,t):e}const ml=new me.Z,gl={[te.skc]:e=>e.set("isPrinting",!0),[te.snh]:e=>e.set("isPrinting",!1),[te._uU]:e=>e.set("isPrinting",!1),[te.qV6]:(e,t)=>{let{currentPage:n}=t;return e.set("printLoadingIndicatorProgress",n)}};function vl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ml,t=arguments.length>1?arguments[1]:void 0;const n=gl[t.type];return n?n(e,t):e}function yl(e,t){const{focusedResultIndex:n}=e.searchState,o=e.searchState.results.size;if(o<=0)return e;let r=n+t;r<0&&(r+=o);const i=Math.abs(r%o),a=e.searchState.results.get(i);(0,Ne.k)(a);const s=(0,$s.kN)(e.viewportState,a.pageIndex,j.UL.union(null==a?void 0:a.rectsOnPage));return e.setIn(["searchState","focusedResultIndex"],i).set("viewportState",s)}const bl={[te.FH6]:(e,t)=>t.term.length>=e.searchState.minSearchQueryLength?e.setIn(["searchState","term"],t.term):e.setIn(["searchState","term"],t.term).setIn(["searchState","focusedResultIndex"],-1).setIn(["searchState","results"],(0,i.aV)()).setIn(["searchState","isLoading"],!1),[te.$Jy]:e=>yl(e,1),[te.gIV]:e=>yl(e,-1),[te.$hO]:e=>e.set("interactionMode",x.A.SEARCH).setIn(["searchState","isFocused"],!0),[te._AY]:e=>e.set("interactionMode",null).mergeIn(["searchState"],{isFocused:!1,term:"",results:(0,i.aV)(),focusedResultIndex:-1}),[te.Ifu]:e=>e.setIn(["searchState","isFocused"],!0),[te.nFn]:e=>e.setIn(["searchState","isFocused"],!1),[te.F6q]:(e,t)=>{let{isLoading:n}=t;return e.setIn(["searchState","isLoading"],n)},[te.qZT]:(e,t)=>{let{results:n}=t,o=e.viewportState,r=-1;if(-1!==e.searchState.focusedResultIndex){const t=e.searchState.results.get(e.searchState.focusedResultIndex);(0,Ne.k)(t);const{pageIndex:o}=t,i=t.rectsOnPage.first();(0,Ne.k)(i);const{top:a,left:s}=i;r=n.findIndex((e=>{const t=e.rectsOnPage.first();return(0,Ne.k)(t),e.pageIndex===o&&t.top===a&&t.left===s}))}if(-1===r&&n.size>0){r=n.findIndex((t=>t.pageIndex>=e.viewportState.currentPageIndex)),-1===r&&(r=0);const t=n.get(r);(0,Ne.k)(t),o=(0,$s.kN)(e.viewportState,t.pageIndex,j.UL.union(t.rectsOnPage))}return e.setIn(["searchState","results"],n).setIn(["searchState","focusedResultIndex"],r).set("viewportState",o)},[te.p1u]:(e,t)=>{let{state:n}=t;return e.set("searchState",n)},[te.esN]:(e,t)=>{let{provider:n}=t;return e.set("searchProvider",n)}};function wl(e,t){const n=bl[t.type];return n?n(e,t):e}const Sl=new j.ZM,El={[te.f3N]:(e,t)=>{const n=t.textRange,{startTextLineId:o,endTextLineId:r,startPageIndex:a,endPageIndex:s}=n.startAndEndIds(),l=new j.Bs({textRange:t.textRange,startTextLineId:o,endTextLineId:r,startPageIndex:a,endPageIndex:s}),c=e.withMutations((t=>{t.set("currentTextSelection",l),e.interactionMode!==x.A.TEXT_HIGHLIGHTER&&e.interactionMode!==x.A.REDACT_TEXT_HIGHLIGHTER&&t.set("selectedAnnotationIds",(0,i.l4)())}));return(0,So.j$)(j.On,e)?c:c.withMutations((e=>{e.set("inlineTextMarkupToolbar",t.inlineTextMarkupToolbar)}))},[te.MOe]:e=>e.delete("currentTextSelection"),[te.a33]:e=>e.withMutations((t=>{t.delete("selectedAnnotationMode"),t.set("currentItemPreset",null),e.interactionMode===x.A.TEXT_HIGHLIGHTER&&(0,J.Xu)(t),t.set("selectedAnnotationIds",(0,i.l4)()),t.set("widgetAnnotationToFocus",null),t.set("interactionMode",e.interactionMode===x.A.PAN||e.interactionMode===x.A.FORM_CREATOR?e.interactionMode:null),t.set("selectedTextOnEdit",!1),t.set("activeAnnotationNote",null),e.interactionMode===x.A.DISTANCE&&e.isCalibratingScale&&t.set("isCalibratingScale",!1)})),[te._Yi]:(e,t)=>{let n=null;const o=t.annotations.filter((t=>{const o=e.annotations.get(t);return n=e.annotationPresetIds.get(t)||null,o&&(o instanceof j.Qi||o.isCommentThreadRoot||!(0,So.lV)(o,e))}));return 0===o.size?e:e.withMutations((e=>{e.set("selectedAnnotationIds",o),e.set("currentItemPreset",n),e.set("selectedAnnotationMode",t.mode),e.set("selectedAnnotationShouldDrag",t.selectedAnnotationShouldDrag),e.delete("currentTextSelection")}))},[te.c3G]:e=>e.set("selectedAnnotationShouldDrag",null),[te.RvB]:e=>e.set("selectedTextOnEdit",!0),[te.qh0]:(e,t)=>((0,a.kG)(e.annotations.has(t.id),"Annotation not found"),e.readOnlyEnabled?e.update("focusedAnnotationIds",(e=>e.add(t.id))):e),[te.rm]:(e,t)=>((0,a.kG)(e.annotations.has(t.id),"Annotation not found"),e.readOnlyEnabled?e.update("focusedAnnotationIds",(e=>e.delete(t.id))):e),[te.TPT]:(e,t)=>{(0,a.kG)(e.annotations.has(t.id),"Annotation not found");const n=e.annotations.get(t.id);return e.readOnlyEnabled===ve.J.NO||n instanceof j.Qi?((0,a.kG)(n instanceof j.On||n instanceof j.R1||n instanceof j.gd||n instanceof j.Qi,"Annotation type does not support hovering"),e.updateIn(["hoverAnnotationIds"],(e=>e.has(t.id)?e:e.add(t.id)))):e},[te.iyZ]:(e,t)=>{(0,a.kG)(e.annotations.has(t.id),"Annotation not found");const n=e.annotations.get(t.id);return e.readOnlyEnabled===ve.J.NO||n instanceof j.Qi?((0,a.kG)(n instanceof j.On||n instanceof j.R1||n instanceof j.gd||n instanceof j.Qi,"Annotation type does not support hovering"),e.updateIn(["hoverAnnotationIds"],(e=>e.has(t.id)?e.delete(t.id):e))):e},[te.yyM]:(e,t)=>{const n=t.annotationNote;return e.set("hoverAnnotationNote",n)},[te.vSH]:(e,t)=>e.set("activeAnnotationNote",t.annotationNote),[te._fK]:(e,t)=>e.withMutations((n=>{if(t.newSelectedAnnotationsIds.size>0)n.set("selectedAnnotationIds",t.newSelectedAnnotationsIds);else{const o=1===e.selectedAnnotationIds.size&&e.annotations.get(e.selectedAnnotationIds.first());if(!o||null!=o.pageIndex){const o=new t.annotationClass((0,J.lx)(e));n.setIn(["annotations",o.id],o),n.set("selectedAnnotationIds",(0,i.l4)([o.id])),null!=e.currentItemPreset&&n.setIn(["annotationPresetIds",o.id],e.currentItemPreset)}}})),[te.L2A]:(e,t)=>e.set("inlineTextSelectionToolbarItems",t.inlineTextSelectionToolbarItemsCallback)};function Pl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Sl,t=arguments.length>1?arguments[1]:void 0;const n=El[t.type];return n?n(e,t):e}const xl=new j.ZM,Dl={[te.mGH]:(e,t)=>{let{signature:n}=t;return e.withMutations((e=>{(0,J.ud)(e,n)}))},[te.W0l]:(e,t)=>{let{annotation:n}=t;return e.signatureState.formFieldName&&(0,a.kG)(!e.signatureState.formFieldsNotSavingSignatures.includes(e.signatureState.formFieldName),`Cannot save signature for the form field \`${e.signatureState.formFieldName}\` because this field is in formFieldsNotSavingSignatures`),e.updateIn(["signatureState","storedSignatures"],(e=>e.push(n)))},[te.Kw7]:(e,t)=>{let{annotations:n}=t;return e.setIn(["signatureState","storedSignatures"],n)},[te.Kc8]:(e,t)=>{let{annotation:n}=t;return e.updateIn(["signatureState","storedSignatures"],(e=>e.filter((e=>!e.equals(n)))))}};function Cl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xl,t=arguments.length>1?arguments[1]:void 0;const n=Dl[t.type];return n?n(e,t):e}const kl=new j.ZM,Al={[te.aWu]:(e,t)=>e.set("toolbarItems",t.toolbarItems),[te.T3g]:(e,t)=>e.set("annotationToolbarItems",t.annotationToolbarItemsCallback),[te.A8G]:(e,t)=>e.set("annotationToolbarHeight",t.height)};function Ol(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:kl,t=arguments.length>1?arguments[1]:void 0;const n=Al[t.type];return n?n(e,t):e}const Tl=new j.ZM,Il={[te.iJ2]:(e,t)=>{let{formJSON:n}=t;(0,a.kG)("pspdfkit/form"==n.type,"Invalid type for form JSON."),(0,a.kG)(1==n.v,"Invalid version for form JSON."),(0,a.kG)(n.fields instanceof Array,"Invalid type for `fields` in form JSON.");const o=(0,nt.U_)(n.fields),r=(0,nt.hT)(n.annotations);return e.withMutations((e=>{e.set("formFields",o),r.forEach((t=>{const{id:n}=t;e.setIn(["annotations",n],t),(0,a.kG)(e.pages.has(t.pageIndex),"Invalid `pageIndex` of widget annotation: "+t.pageIndex),e.updateIn(["pages",t.pageIndex,"annotationIds"],(e=>e.add(n)))}))}))},[te.zGM]:(e,t)=>e.withMutations((e=>{t.formFields.forEach((t=>{e.setIn(["formFields",t.name],t)}))})),[te.Wyx]:(e,t)=>e.withMutations((n=>{t.formFields.forEach((t=>{const o=e.formFields.valueSeq().find((e=>e.id===t.id));(0,a.kG)(o,"Invalid form field ID: "+t.id);const r=o.name!==t.name;if(t instanceof j.XQ){const n=e.formFields.find((e=>e.name===t.name)),o=null==n?void 0:n.annotationIds;if(o&&n.id!==t.id){let e=o,r=n.options;[...t.annotationIds].forEach(((n,o)=>{e.includes(n)||(e=e.push(n),r=r.push(t.options.get(o)))})),t=t.set("annotationIds",e).set("options",r)}}if(r){t.annotationIds.forEach((e=>{n.annotations.get(e)&&n.setIn(["annotations",e,"formFieldName"],t.name)})),n.deleteIn(["formFields",o.name])}n.setIn(["formFields",t.name],t),(0,nt.r_)(o,e,n)}))})),[te.fDl]:(e,t)=>{const n=e.formFields.find((e=>e.id===t.formField.id));return e.withMutations((o=>{o.deleteIn(["formFields",null==n?void 0:n.name]),o.setIn(["formFields",t.formField.name],t.formField),(0,nt.r_)(e.formFields.get(t.formField.name),e,o)}))},[te.D_w]:(e,t)=>e.withMutations((n=>{t.formFieldsIds.forEach((t=>{const o=(0,nt.CL)(e,t);o&&n.deleteIn(["formFields",o.name])}))})),[te.Ui_]:(e,t)=>e.withMutations((n=>{(0,nt.AM)({state:e,mutableState:n,formFieldValues:t.formFieldValues,areFormFieldValuesNew:!0})})),[te.m3$]:(e,t)=>e.withMutations((n=>{(0,nt.AM)({state:e,mutableState:n,formFieldValues:t.formFieldValues,areFormFieldValuesNew:!1})})),[te.VK7]:(e,t)=>{let{formattedFormFieldValues:n}=t;return e.set("formattedFormFieldValues",e.formattedFormFieldValues.merge(n))},[te.yET]:(e,t)=>{let{editingFormFieldValues:n}=t;return e.set("editingFormFieldValues",e.editingFormFieldValues.merge(n))},[te.u7V]:(e,t)=>e.withMutations((n=>{t.formFieldValuesIds.forEach((t=>{const o=t.split("/")[1],r=e.formFields.get(o);r&&(r instanceof j.$o?n.setIn(["formFields",o,"value"],""):r instanceof j.XQ?n.setIn(["formFields",o,"value"],null):r instanceof j.Dz||r instanceof j.rF?n.setIn(["formFields",o,"values"],(0,i.aV)()):r instanceof j.R0||r instanceof j.Yo||(0,a.kG)(!1,`DELETE_FORM_FIELD_VALUE not implemented for ${o}`))}))})),[te.TYu]:(e,t)=>{let{onWidgetCreationStartCallback:n}=t;return e.set("onWidgetAnnotationCreationStart",n)},[te.vgx]:(e,t)=>{let{annotationId:n}=t;return e.set("formDesignerUnsavedWidgetAnnotation",n)}};function Fl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tl,t=arguments.length>1?arguments[1]:void 0;const n=Il[t.type];return n?n(e,t):e}var Ml=n(62164);const _l=new j.ZM,Rl={[te.ckI]:(e,t)=>e.withMutations((e=>{t.comments.forEach((t=>{if((0,Ne.k)(t.id&&!e.comments.has(t.id),`Comment with ID ${t.id} already exists.`),t.pageIndex<0||t.pageIndex>=e.pages.size)(0,a.ZK)(`Tried to add a comment with ID ${t.id} with an out of bounds page index (${t.pageIndex}). This comment was skipped.`);else if(e.setIn(["comments",t.id],t),(0,Ne.k)(t.rootId&&t.id),e.commentThreads.has(t.rootId)){const n=e.commentThreads.get(t.rootId);(0,Ne.k)(n),e.setIn(["commentThreads",t.rootId],n.add(t.id).sortBy((t=>{const n=e.comments.get(t);(0,Ne.k)(n);const o=n.createdAt.getTime();return[(0,Ml.kT)(n)?1:0,o]}),ze.b))}else e.setIn(["commentThreads",t.rootId],(0,i.hU)([t.id]))}))})),[te.hxO]:(e,t)=>{const n=t.rootId,o=e.annotations.get(n),r=new Date;let a=new j.sv({id:(0,ks.C)(),rootId:n,creatorName:e.annotationCreatorName||null,createdAt:r,updatedAt:r,text:{format:"plain",value:""}});if(e.onCommentCreationStart){const t=e.onCommentCreationStart(a);(0,Ne.k)(t instanceof j.sv,"`onCommentCreationStart` should return an instance of `Comment`"),a=t}(0,Ne.k)(e.backend),e.backend.isCollaborationPermissionsEnabled()&&e.group!==e.backend.getDefaultGroup()&&(a=a.set("group",e.group));return!(0,So.Ez)(a,e)&&o&&(0,oi.mi)(o,e)?e.withMutations((e=>{e.setIn(["comments",a.id],a),e.commentThreads.has(n)?e.updateIn(["commentThreads",n],(e=>e.add(a.id))):e.setIn(["commentThreads",n],(0,i.hU)([a.id]))})):e.set("interactionMode",null)},[te.FdD]:(e,t)=>e.withMutations((e=>{t.comments.forEach((t=>{(0,Ne.k)(t.id&&e.comments.has(t.id),`Comment with missing ID ${t.id} not found and thus cannot be updated.`),e.setIn(["comments",t.id],t)}))})),[te.kg]:(e,t)=>e.withMutations((e=>{t.ids.forEach((t=>{(0,Ne.k)(e.comments.has(t),`Comment with ID ${t} not found, so it cannot be deleted.`);const n=e.comments.get(t);(0,Ne.k)(null!=n,`Attempted to delete non-existent comment with ID ${t}`),(0,Ne.k)(n.rootId);const o=e.commentThreads.get(n.rootId);if((0,Ne.k)(null!=o,`Comment with ID ${t} has no corresponding thread with matching root ID ${n.rootId}`),(0,Ne.k)(n.id&&o.has(n.id),`Comment with ID ${n.id} is missing from its thread.`),1===o.size)e.removeIn(["commentThreads",n.rootId]);else{const t=o.remove(n.id);if(e.setIn(["commentThreads",n.rootId],t),1===t.size){const o=e.comments.get(t.first());(0,Ne.k)(null!=o),(0,Ml.kT)(o)&&(e.removeIn(["commentThreads",n.rootId]),e.removeIn(["comments",o.id]))}}e.removeIn(["comments",t])}))})),[te.NB4]:e=>e.setIn(["viewportState","commentMode"],(0,Ml.dq)(e)),[te.YHT]:(e,t)=>e.set("mentionableUsers",t.users),[te.ZLr]:(e,t)=>e.set("maxMentionSuggestions",t.maxSuggestions),[te.mfU]:(e,t)=>{let{onCommentCreationStartCallback:n}=t;return e.set("onCommentCreationStart",n)}};function Nl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_l,t=arguments.length>1?arguments[1]:void 0;const n=Rl[t.type];return n?n(e,t):e}const Ll=new j.ZM,Bl={[te.Kpf]:(e,t)=>e.set("documentEditorFooterItems",t.documentEditorFooterItems),[te.wPI]:(e,t)=>e.set("documentEditorToolbarItems",t.documentEditorToolbarItems)};function jl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ll,t=arguments.length>1?arguments[1]:void 0;const n=Bl[t.type];return n?n(e,t):e}function zl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Kl(e){for(var t=1;te.withMutations((n=>{n.set("redoActions",e.redoActions.push(t.nextRedoAction));const o=t.oldId;if(o){n.update("redoActions",(e=>e.map((e=>e.payload.id===t.oldId?Kl(Kl({},e),{},{payload:Kl(Kl({},e.payload),{},{id:t.nextRedoAction.payload.id})}):e))));const r=t.nextRedoAction.payload.pageIndex,i="number"==typeof r&&e.invalidAPStreams.has(r)?e.invalidAPStreams.get(r):null;i&&i.has(o)&&n.setIn(["invalidAPStreams",r],i.add(t.nextRedoAction.payload.id).delete(o))}n.set("undoActions",e.undoActions.pop())})),[te.iwn]:(e,t)=>e.withMutations((n=>{n.set("undoActions",e.undoActions.push(t.nextUndoAction));const o=t.oldId;if(o){n.update("undoActions",(e=>e.map((e=>e.payload.id===t.oldId?Kl(Kl({},e),{},{payload:Kl(Kl({},e.payload),{},{id:t.nextUndoAction.payload.id})}):e))));const r=t.nextUndoAction.payload.pageIndex,i="number"==typeof r&&e.invalidAPStreams.has(r)?e.invalidAPStreams.get(r):null;i&&i.has(o)&&n.setIn(["invalidAPStreams",r],i.add(t.nextUndoAction.payload.id).delete(o))}n.set("redoActions",e.redoActions.pop())})),[te.faS]:(e,t)=>e.set("historyChangeContext",t.historyChangeContext),[te.tC1]:(e,t)=>e.set("historyIdsMap",e.historyIdsMap.set(t.newId,t.oldId)),[te._Qf]:e=>e.withMutations((t=>{t.set("undoActions",e.undoActions.clear()),t.set("redoActions",e.redoActions.clear()),t.set("historyIdsMap",e.historyIdsMap.clear())})),[te._33]:e=>e.set("isHistoryEnabled",!0),[te.wG7]:e=>e.set("isHistoryEnabled",!1)};function Vl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Zl,t=arguments.length>1?arguments[1]:void 0;const n=Ul[t.type];return n?n(e,t):e}var Gl=n(68218);const Wl=e=>new Gl.Sg(e),ql=e=>new Gl.UL({offset:Wl(e.offset),size:Wl(e.size)}),Hl=e=>new Gl.W4(e),$l=e=>{let t=i.l4.of();for(const n of e)t=t.add(Hl(n));return t},Yl=e=>new Gl.I5({family:e.family,variants:$l(e.variants)}),Xl=e=>new Gl.yO({family:e.family,variant:Hl(e.variant)}),Jl=e=>new Gl.IA({faceRef:Xl(e.faceRef),size:e.size}),Ql=e=>new Gl.mZ(e),ec=e=>new Gl.vz({fontRef:Jl(e.fontRef),color:e.color,effects:Ql(e.effects)}),tc=e=>new Gl.JR(e),nc=e=>new Gl.yJ({family:e.family,faceMismatch:e.faceMismatch?tc(e.faceMismatch):null,bold:e.bold,italic:e.italic,xScale:e.xScale,skew:e.skew,color:e.color,size:e.size}),oc=e=>new Gl.a2(e),rc=e=>new Gl.DN(e),ic=e=>new Gl.FQ({cluster:e.cluster,offset:Wl(e.offset),advance:Wl(e.advance),text:e.text,control:e.control,lastOfSegment:e.lastOfSegment,beginOfWord:e.beginOfWord,endOfWord:e.endOfWord}),ac=e=>new Gl.tW({offset:Wl(e.offset),lineSpacing:oc(e.lineSpacing),elements:i.aV.of(...e.elements.map(ic))});var sc=n(72643);const lc=new me.Z,cc=(e,t)=>{let n=!1;const o=ql(t.contentRect);(0,i.is)(o,e.contentRect)||(e=e.set("contentRect",o)),(0,i.is)(t.version,e.version)||(e=e.set("version",t.version),n=!0);const r=(a=t.cursor,new Gl.CF({offset:Wl(a.offset),lineSpacing:oc(a.lineSpacing)}));var a;(0,i.is)(r,e.cursor)||(e=e.set("cursor",r),n=!0);const s=t.selection?(e=>new Gl.Y1(e))(t.selection):null;(0,i.is)(s,e.selection)||(e=e.set("selection",s),n=!0);const l=(e=>new Gl.Ts({lines:i.aV.of(...e.lines.map(ac))}))(t.layoutView);(0,i.is)(l,e.layoutView)||(e=e.set("layoutView",l));const c=(e=>new Gl.tk({selectionStyleInfo:e.selectionStyleInfo?nc(e.selectionStyleInfo):null,modificationsCharacterStyle:e.modificationsCharacterStyle?ec(e.modificationsCharacterStyle):null,modificationsCharacterStyleFaceMismatch:e.modificationsCharacterStyleFaceMismatch?tc(e.modificationsCharacterStyleFaceMismatch):null}))(t.detectedStyle);if((0,i.is)(c,e.detectedStyle)||(e=e.set("detectedStyle",c)),c.modificationsCharacterStyle){let t=c.modificationsCharacterStyle;t=t.setIn(["effects"],new Gl.mZ({})),n&&!(0,i.is)(t,e.modificationsCharacterStyle)&&(e=e.set("modificationsCharacterStyle",t))}return e},uc={[te.MGL]:e=>e.withMutations((e=>{const t=e.contentEditorSession.sessionId+1;e.set("contentEditorSession",new Gl.aN({sessionId:t,active:!0})).set("interactionMode",x.A.CONTENT_EDITOR)})),[te.Qm9]:e=>e.withMutations((e=>{e.setIn(["contentEditorSession","active"],!1).set("interactionMode",null)})),[te.l$y]:(e,t)=>e.withMutations((e=>{(0,Ne.k)(!e.contentEditorSession.pageStates.has(t.pageIndex)),e.setIn(["contentEditorSession","pageStates",t.pageIndex],new Gl.nv({loading:!0}))})),[te.kD6]:(e,t)=>e.withMutations((e=>{var n;(0,Ne.k)(null===(n=e.contentEditorSession.pageStates.get(t.pageIndex))||void 0===n?void 0:n.loading);let o=e.contentEditorSession.pageStates.get(t.pageIndex);(0,Ne.k)(o);const r=t.initialTextBlocks.map((e=>{const t=e.textBlock,n=Wl(t.anchor),o=rc(t.globalEffects),r=new Gl.Ar({maxWidth:t.maxWidth,alignment:t.alignment,lineSpacingFactor:t.lineSpacingFactor}),i=new Gl.Q7({id:e.id,initialAnchor:n,initialGlobalEffects:o,initialLayout:r,anchor:n,globalEffects:o,layout:r,modificationsCharacterStyle:ec(t.modificationsCharacterStyle)});return cc(i,e.updateInfo)})),a=i.aV.of(...r);o=o.set("textBlocks",a),o=o.set("initialTextBlocks",a),o=o.set("loading",!1),e.setIn(["contentEditorSession","pageStates",t.pageIndex],o)})),[te.joZ]:(e,t)=>e.withMutations((e=>{e.setIn(["contentEditorSession","textBlockInteractionState"],new Gl._h({pageIndex:t.pageIndex,textBlockId:t.textBlockId,state:Gl.FP.Active}))})),[te.fQw]:e=>e.withMutations((e=>{const t=e.contentEditorSession.textBlockInteractionState;if(t.state===Gl.FP.Active){let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,Ne.k)(n),n=n.set("textBlocks",n.textBlocks.filter((e=>!(e.justCreated&&0===e.contentRect.size.x))).map((e=>e.id===t.textBlockId&&e.justCreated?e=e.set("justCreated",!1).set("layout",e.layout.set("maxWidth",Math.max(e.contentRect.size.x,10))):e))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)}e.setIn(["contentEditorSession","textBlockInteractionState"],e.contentEditorSession.textBlockInteractionState.state===Gl.FP.Active?e.contentEditorSession.textBlockInteractionState.set("state",Gl.FP.Selected):new Gl._h)})),[te.VOt]:(e,t)=>e.withMutations((e=>{let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,Ne.k)(n),n=((e,t,n)=>{const o=e.textBlocks.map((e=>e.id!=t?e:cc(e,n)));return e.set("textBlocks",o)})(n,t.textBlockId,t.updateInfo),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)})),[te.U7k]:e=>e.withMutations((e=>{e.setIn(["contentEditorSession","availableFaces","loading"],!0)})),[te.ZgW]:(e,t)=>e.withMutations((e=>{const n=(o=t.faceList,i.aV.of(...o.map(Yl)));var o;e.setIn(["contentEditorSession","availableFaces"],new Gl.t9({faceList:n,loading:!1}))})),[te.Y4]:e=>e.withMutations((e=>{e.setIn(["contentEditorSession","saving"],!0)})),[te.HYy]:e=>e.withMutations((e=>{e.setIn(["contentEditorSession","dirty"],!0)})),[te.bOH]:(e,t)=>e.set("showExitContentEditorDialog",t.isVisible),[te.Han]:(e,t)=>e.set("contentEditorSession",e.contentEditorSession.set("fontMismatchTooltip",new Gl.xb({fontFace:t.fontFace,rect:t.tooltipRect}))),[te.WmI]:e=>e.set("contentEditorSession",e.contentEditorSession.set("fontMismatchTooltip",null)),[te.nI6]:(e,t)=>e.contentEditorSession.fontMismatchTooltip?e.setIn(["contentEditorSession","fontMismatchTooltip","dismissAbortController"],t.abortController):e,[te.Ebp]:(e,t)=>e.withMutations((e=>{let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,Ne.k)(n),n=n.set("textBlocks",n.textBlocks.map((e=>{if(e.id!=t.textBlockId)return e;let n=e.modificationsCharacterStyle;return t.faceRef&&!(0,i.is)(t.faceRef,n.fontRef.faceRef)&&(n=n.setIn(["fontRef","faceRef"],t.faceRef)),t.size&&!(0,i.is)(t.size,n.fontRef.size)&&(n=n.setIn(["fontRef","size"],t.size)),t.color&&!(0,i.is)(t.color,n.color)&&(n=n.set("color",t.color)),e=e.set("modificationsCharacterStyle",n)}))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)})),[te.ciU]:(e,t)=>e.withMutations((e=>{e.contentEditorSession.dirty||e.setIn(["contentEditorSession","dirty"],!0);let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,Ne.k)(n),n=n.set("textBlocks",n.textBlocks.map((e=>{if(e.id!=t.textBlockId)return e;const{fixpointValue:n,newWidth:o}=t,{layout:r,globalEffects:i,anchor:a}=e;(0,Ne.k)(r.maxWidth);const s=(0,sc.uB)(r.alignment,i,n,o-r.maxWidth);return e=(e=e.set("anchor",new Gl.Sg({x:a.x+s.x,y:a.y+s.y}))).setIn(["layout","maxWidth"],o)}))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)})),[te.fLm]:(e,t)=>e.withMutations((e=>{let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,Ne.k)(n),e.contentEditorSession.dirty||e.setIn(["contentEditorSession","dirty"],!0),t.isKeyboardMove||e.contentEditorSession.textBlockInteractionState.state===Gl.FP.Moving||e.setIn(["contentEditorSession","textBlockInteractionState"],new Gl._h({state:Gl.FP.Moving,pageIndex:t.pageIndex,textBlockId:t.textBlockId})),n=n.set("textBlocks",n.textBlocks.map((e=>e.id!=t.textBlockId?e:e=e.set("anchor",new Gl.Sg({x:t.anchor.x,y:t.anchor.y}))))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n)})),[te.xhM]:(e,t)=>e.withMutations((e=>{e.setIn(["contentEditorSession","textBlockInteractionState"],new Gl._h({pageIndex:t.pageIndex,textBlockId:t.textBlockId,state:Gl.FP.Selected}))})),[te.snK]:(e,t)=>e.withMutations((e=>{e.setIn(["contentEditorSession","textBlockInteractionState"],new Gl._h);let n=e.contentEditorSession.pageStates.get(t.pageIndex);(0,Ne.k)(n),n=n.set("textBlocks",n.textBlocks.filter((e=>e.id!==t.textBlockId))),e.setIn(["contentEditorSession","pageStates",t.pageIndex],n),e.setIn(["contentEditorSession","mode"],Gl.wR.Edit)})),[te.teI]:(e,t)=>e.withMutations((e=>{e.setIn(["contentEditorSession","mode"],t.mode)})),[te.uo5]:(e,t)=>e.withMutations((e=>{var n,o;let r=e.contentEditorSession.pageStates.get(t.pageIndex);const i=null===(n=e.pages.get(t.pageIndex))||void 0===n||null===(o=n.pageSize)||void 0===o?void 0:o.width;(0,Ne.k)(r),(0,Ne.k)(i);const{pageIndex:a,initialTextBlock:s}=t,l=s.textBlock,c=rc(l.globalEffects),u=new Gl.Ar({maxWidth:i-t.anchor.x,alignment:l.alignment,lineSpacingFactor:l.lineSpacingFactor});let d=new Gl.Q7({id:s.id,initialAnchor:t.anchor,initialGlobalEffects:c,initialLayout:u,anchor:t.anchor,globalEffects:c,layout:u,justCreated:!0,modificationsCharacterStyle:ec(l.modificationsCharacterStyle)});return d=cc(d,s.updateInfo),r=r.set("textBlocks",r.textBlocks.push(d)),e.setIn(["contentEditorSession","pageStates",a],r).setIn(["contentEditorSession","mode"],Gl.wR.Edit).setIn(["contentEditorSession","textBlockInteractionState"],new Gl._h({pageIndex:a,textBlockId:s.id,state:Gl.FP.Active}))}))};function dc(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:lc,t=arguments.length>1?arguments[1]:void 0;const n=uc[t.type];return n?n(e,t):e}function pc(e,t){return[ae,ce,Ms,Ls,zs,Us,Ws,el,hl,vl,wl,Pl,Cl,Ol,Fl,Nl,jl,Vl,dc].reduce(((e,n)=>n(e,t)),e)}const fc=[V];const hc=(0,K.md)(...fc)(K.MT);function mc(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return hc(pc,new me.Z(e))}var gc=n(14012),vc=n(2810),yc=n(30761);async function bc(e){let t,{backend:n,dispatch:o,getState:r,maxPasswordRetries:s,password:l,stylesheetPromise:c,formFieldValuesJSON:u,customFonts:d}=e;try{await c;let e=!1;const{features:p,signatureFeatureAvailability:f,hasPassword:h,minSearchQueryLength:m,allowedTileScales:g,creatorName:v,defaultGroup:y}=await async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,r=null,i=0;for(;!r;){try{r=await n(e)}catch(n){const r=in.load({password:t,progressCallback:(t,n)=>{e||o((0,gc.qZ)(t,n))},isPDFJavaScriptEnabled:mt.Ei.PDF_JAVASCRIPT})),(()=>(e=!0,new Promise((e=>o((0,gc.uT)(e))))))),{frameWindow:b}=r();let w=(0,i.l4)();if(d&&b){const e=await n.getAvailableFontFaces(d);for(const t of d){const n=e.find((e=>e.name===t.name)),o=(null==n?void 0:n.readableName)||t.name;b.document.fonts.add(new FontFace((0,vt.hm)(o),await t.data.arrayBuffer())),w=w.add(o)}w.size>0&&o((0,En.p2)(w))}await(0,yc.jX)(o,r,{attemptedUnlockViaModal:e,features:p,signatureFeatureAvailability:f,hasPassword:h,minSearchQueryLength:m,allowedTileScales:g});const{annotations:S,isAPStreamRendered:E,formFields:P}=r();n.isUsingInstantProvider()&&o((0,En.Ie)()),n.isCollaborationPermissionsEnabled()&&o((0,En.YK)(y));const x=await n.runPDFFormattingScriptsFromWidgets(S,P,E);if(x.length){const{formFieldManager:e}=r();let n,i;null!==e&&await e.loadFormFields(),t=new Promise(((e,t)=>{n=e,i=t})),o((0,Mo.bt)({changes:x,resolve:n,reject:i}))}"STANDALONE"===n.type&&mt.Ei.PDF_JAVASCRIPT&&u&&o((0,Mo.ul)((0,i.aV)(u.map(vc.u9)))),o((0,gc.Bm)()),v&&o((0,En.X8)(v,!0))}catch(e){(0,a.vU)("An error occurred while initializing PSPDFKit for Web.\n\n Please contact our customer support, if you're having troubles setting up PSPDFKit for Web or the PSPDFKit Server: https://pspdfkit.com/guides/web/current/pspdfkit-for-web/troubleshooting/");const t=e instanceof a.p2?e:new a.p2(e);throw-1!==t.message.indexOf("File not in PDF format or corrupted")?o((0,gc.sr)(t.message)):o((0,gc.sr)()),t}return t}var wc=n(68258);function Sc(e){try{return e.querySelector(":focus-visible"),void(e.documentElement&&e.documentElement.setAttribute("data-focusvisible-supported","true"))}catch(e){}const t="data-focusvisible-polyfill";let n=!0,o=!1,r=null;const i={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function a(t){return!!(t&&t!==e&&"HTML"!==t.nodeName&&"BODY"!==t.nodeName&&"classList"in t&&"contains"in t.classList)}function s(e){e.hasAttribute(t)||e.setAttribute(t,!0)}function l(e){e.removeAttribute(t)}function c(){!0===n&&function(){const t=e.querySelectorAll("[data-focusvisible-polyfill]");for(let e=0;e0;){"SERVER"===e.backend.type&&(t=kc[n],n+=n>=kc.length-1?0:1);let o=t;l<1.5*t&&(o=l);const i=await e.backend.search(this.term,a,o,!1);if(s=s.concat(i),!this._activeSearches[r])return;this.dispatch((0,Dc.Sc)(s)),l-=o,a+=o}}this.dispatch((0,Dc.M0)(!1))}_cancelSearchRequests(e){for(const t of this._activeSearches.keys())null!=e&&t===e||(this._activeSearches[t]=!1)}}const Oc=(0,H.Z)("AnnotationPreset"),Tc=e=>{Oc("object"==typeof e,"`annotationPreset` is not an `object`")};var Ic=n(92457),Fc=n(30679);function Mc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _c(e){for(var t=1;t{const{type:t,mediaQueries:n,preset:o}=e;Rc("string"==typeof t,"Mandatory `type` is either missing or not a `string`"),(0,Fc.G)(_c(_c({},e),{},{type:"custom"}),Rc),Rc(Ic._o.includes(t),`Invalid built-in type \`${t}\`. Choose one from ${Ic._o.join(", ")}`),n&&(Rc(Array.isArray(n),"`mediaQueries` must be an `array`"),Rc(n.length>0,"`mediaQueries` must not be an empty `array`"),n.forEach((e=>{Rc("string"==typeof e,`Invalid media query: \`${e}\``);const t=e.split("(").length,n=e.split(")").length;0===t&&0===n||Rc(t===n,`Detected unbalanced parenthesis in the media query: ${e}`)}))),"preset"in e&&Rc("string"==typeof o,"`preset` must be a `string`")},Lc=[{type:"cancel"},{type:"selected-pages"},{type:"spacer"},{type:"loading-indicator"},{type:"save-as"},{type:"save"}],Bc=(0,i.d0)(Lc),jc=(0,H.Z)("DocumentEditorFooterItem"),zc=[...Lc.map((e=>e.type)),"custom"],Kc=e=>{const{type:t,id:n,className:o,onPress:r,node:i}=e;jc("string"==typeof t,"Mandatory `type` is either missing or not a `string`"),jc(zc.indexOf(t)>=0,`Invalid built-in type \`${t}\`. Choose one from ${zc.join(", ")}`),"custom"===t&&(jc(i,"`node` is mandatory for `custom` footer items."),jc(i&&Fc.a.includes(i.nodeType),"`node.nodeType` is invalid. Expected one of "+Fc.a.join(", ")),n&&jc("string"==typeof n,"`id` must be a `string`"),o&&jc("string"==typeof o,"`className` must be a `string`"),r&&jc("function"==typeof r,"`onPress` must be a `function`")),n&&jc("string"==typeof n,"`id` must be a `string`")},Zc=[{type:"add"},{type:"remove"},{type:"duplicate"},{type:"rotate-left"},{type:"rotate-right"},{type:"move"},{type:"move-left"},{type:"move-right"},{type:"import-document"},{type:"spacer"},{type:"undo"},{type:"redo"},{type:"select-all"},{type:"select-none"}],Uc=(0,i.d0)(Zc);function Vc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Gc(e){for(var t=1;te.type)),"custom"],Hc=e=>{const{type:t}=e;Wc("string"==typeof t,"Mandatory `type` is either missing or not a `string`"),(0,Fc.G)(Gc(Gc({},e),{},{type:"custom"}),Wc),Wc(qc.indexOf(t)>=0,`Invalid built-in type \`${t}\`. Choose one from ${qc.join(", ")}`)};var $c=n(33754),Yc=n(86071);const Xc=(0,Re.vU)({approved:{id:"approved",defaultMessage:"Approved",description:"Approved Stamp Annotation"},notApproved:{id:"notApproved",defaultMessage:"Not Approved",description:"Not Approved Stamp Annotation"},draft:{id:"draft",defaultMessage:"Draft",description:"Draft Stamp Annotation"},final:{id:"final",defaultMessage:"Final",description:"Final Stamp Annotation"},completed:{id:"completed",defaultMessage:"Completed",description:"Completed Stamp Annotation"},confidential:{id:"confidential",defaultMessage:"Confidential",description:"Confidential Stamp Annotation"},forPublicRelease:{id:"forPublicRelease",defaultMessage:"For Public Release",description:"For Public Release Stamp Annotation"},notForPublicRelease:{id:"notForPublicRelease",defaultMessage:"Not For Public Release",description:"Not For Public Release Stamp Annotation"},forComment:{id:"forComment",defaultMessage:"For Comment",description:"ForComment Stamp Annotation"},void:{id:"void",defaultMessage:"Void",description:"Void Stamp Annotation"},preliminaryResults:{id:"preliminaryResults",defaultMessage:"Preliminary Results",description:"Preliminary Results Stamp Annotation"},informationOnly:{id:"informationOnly",defaultMessage:"Information Only",description:"Information Only Stamp Annotation"},rejected:{id:"rejected",defaultMessage:"Rejected",description:"Rejected Stamp Annotation"},accepted:{id:"accepted",defaultMessage:"Accepted",description:"Accepted Stamp Annotation"},initialHere:{id:"initialHere",defaultMessage:"Initial Here",description:"Initial Here Stamp Annotation"},signHere:{id:"signHere",defaultMessage:"Sign Here",description:"Sign Here Stamp Annotation"},witness:{id:"witness",defaultMessage:"Witness",description:"Witness Stamp Annotation"},asIs:{id:"asIs",defaultMessage:"As Is",description:"As Is Stamp Annotation"},departmental:{id:"departmental",defaultMessage:"Departmental",description:"Departmental Stamp Annotation"},experimental:{id:"experimental",defaultMessage:"Experimental",description:"Experimental Stamp Annotation"},expired:{id:"expired",defaultMessage:"Expired",description:"Expired Stamp Annotation"},sold:{id:"sold",defaultMessage:"Sold",description:"Sold Stamp Annotation"},topSecret:{id:"topSecret",defaultMessage:"Top Secret",description:"TopSecret Stamp Annotation"},revised:{id:"revised",defaultMessage:"Revised",description:"Revised Stamp Annotation"},custom:{id:"custom",defaultMessage:"Custom",description:"Custom Stamp Annotation"},stampAnnotationTemplatesDialog:{id:"stampAnnotationTemplatesDialog",defaultMessage:"Stamp Annotation Templates",description:"Stamp Annotation Templates Dialog"},stampAnnotationTemplatesDialogDescription:{id:"stampAnnotationTemplatesDialogDesc",defaultMessage:"This dialog lets you select a stamp annotation to insert into the document or create a custom stamp annotation with your own text.",description:"Stamp Annotation Templates Dialog Description"}});function Jc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Qc(e){for(var t=1;t{eu(e instanceof s.GI||e instanceof s.sK,"`annotationTemplate` is not an instance of `PSPDFKit.Annotations.StampAnnotation` or ``PSPDFKit.Annotations.ImageAnnotation`")},nu=function(e){var t;let{includeDate:n,includeTime:o}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,i=arguments.length>2?arguments[2]:void 0;const a={};n&&(a.day="2-digit",a.month="2-digit",a.year="numeric"),o&&(a.hour="2-digit",a.minute="2-digit");let s=n||o?i.formatDate(r,a):null;return s&&tt.rO&&(s=s.replace(/[^A-Za-z 0-9 .,?""!@#$%^&*()-_=+;:<>/\\|}{[\]`~]*/g,"")),null!==(t=s)&&void 0!==t?t:null},ou=e=>{let{annotation:t,intl:n}=e;const{formatMessage:o}=n,{stampType:r,title:i,description:a,fileName:l}=t;return t instanceof s.GI?"Custom"===r&&i?Xc[(0,$.LE)(i)]?o(Xc[(0,$.LE)(i)]):i:Xc[(0,$.LE)((0,$c.k1)(r))]?o(Xc[(0,$.LE)((0,$c.k1)(r))]):r:a||l||" "},ru=(0,Ft.L)(),iu=2*ru,au=8*ru,su=iu/2,lu=e=>{let{canvas:t,title:n,subtitle:o,color:r,defaultStampWidth:i,stampHeight:a,container:s}=e,l=i*ru;if(t&&s&&s.offsetWidth){const e=t.getContext("2d"),c="string"==typeof o&&o.length>0,u=(e=>{let{ctx:t,title:n,fontSize:o,containerWidth:r}=e;t.font=`bold ${o}px Arial`;const i=t.measureText(n);let a=r*ru;const s=o;return i.width+s>a?o=a/((i.width+s)/o):a=i.width+s,{fontSize:o,stampWidth:a}})({ctx:e,title:n,fontSize:(c?.6:.7)*ru*a,containerWidth:s.offsetWidth});l=Math.max(u.stampWidth,i*ru),t.width=l,t.height=a*ru,null==e||e.clearRect(0,0,t.width,t.height),(e=>{let{ctx:t,stampWidth:n,stampHeight:o,color:r}=e;t.lineWidth=iu;const i=n-su,a=ru*o-su;t.strokeStyle=r.toCSSValue(),t.fillStyle=r.lighter(Je.zT).toCSSValue(),t.beginPath(),t.moveTo(au+su,su),t.lineTo(i-au,su),t.quadraticCurveTo(i-1,su,i-1,au+su),t.lineTo(i-1,a-au),t.quadraticCurveTo(i-1,a,i-au,a),t.lineTo(au+su,a),t.quadraticCurveTo(su,a,su,a-au),t.lineTo(su,au+su),t.quadraticCurveTo(su,su,au+su,su),t.closePath(),t.stroke(),t.fill()})({ctx:e,stampWidth:l,color:r,stampHeight:a}),(e=>{let{ctx:t,fontSize:n,color:o,stampWidth:r,stampHeight:i,title:a,hasSubTitle:s}=e;t.font=`bold ${n}px Arial`,t.fillStyle=o.toCSSValue(),t.textBaseline="middle",t.textAlign="center",t.fillText(a,r/2,(s?.4*i:.5*i)*ru)})({ctx:e,fontSize:u.fontSize,color:r,stampWidth:l,stampHeight:a,title:n,hasSubTitle:c}),c&&(e.font=ru*a*.175+"px Arial",null==e||e.fillText(o,l/2,.85*a*ru))}return l/ru},cu=Yc.Z.filter((e=>[p.Z.BLUE,p.Z.RED,p.Z.ORANGE,p.Z.LIGHT_YELLOW,p.Z.GREEN].includes(e.color)||"mauve"===e.localization.id)).map((e=>function(e){return(0,a.kG)(null!=e.color),Qc(Qc({},e),{},{color:Object.values(uu(e.color))[0].color})}(e)));function uu(e){const t=e.lighter(Je.zT);let n=e;const o=Math.max(n.r,n.g,n.b);for(let e=0;e<10&&t.contrastRatio(n)<4.5;e++)n=n.darker((255-o)/25.5);return{[`${n.toCSSValue()}`]:{color:n,backgroundColor:t}}}var du=n(19702),pu=n(65872),fu=n(64494);function hu(e){return(0,a.kG)(Array.isArray(e)&&e.length>0,"Operations must be a non-empty array of operations."),e.forEach((e=>{(0,a.kG)(e.hasOwnProperty("type"),"Invalid operation: no `type` field")})),e}var mu=n(20234);const gu="The API you're trying to use requires a document editing license. Document editing is a component of PSPDFKit for Web and sold separately.",vu=["document.change"];var yu=n(41194);const bu="The API you're trying to use requires a digital signatures license. Digital Signatures is a component of PSPDFKit for Web and sold separately.";var wu=n(55909),Su=n(38151),Eu=n(3219);function Pu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"!=typeof location?location.hash:null;if(!t)return e;const n=t.replace("#","").split("&").map((e=>{const t=e.split("=");if(2===t.length)return[t[0],t[1]]})).filter(Boolean);return n.forEach((t=>{let[n,o]=t;switch(n){case"page":{const t=parseInt(o,10);if("number"!=typeof t||Number.isNaN(t)||t<=0)break;e=e.set("currentPageIndex",t-1);break}}})),e}function xu(e,t,n){const o=e.viewportState.viewportRect.set("height",t.height);return e.sidebarMode?o.set("width",e.containerRect.width-n).set("left",e.sidebarPlacement===pu.d.START?n:0):o.set("width",e.containerRect.width).set("left",0)}const Du=["viewState.change","viewState.currentPageIndex.change","viewState.zoom.change"],Cu=["cropArea.changeStart","cropArea.changeStop"];function ku(e,t){return{[x.A.TEXT_HIGHLIGHTER]:{onEnterAction:En.d5,onLeaveAction:En.lC,allowWhenInReadOnlyMode:!1},[x.A.INK]:{onEnterAction:En.P4,onLeaveAction:En.s3,allowWhenInReadOnlyMode:!1},[x.A.INK_ERASER]:{onEnterAction:En.Ug,onLeaveAction:En.VU,allowWhenInReadOnlyMode:!1},[x.A.STAMP_PICKER]:{onEnterAction:En.C4,onLeaveAction:En.pM,allowWhenInReadOnlyMode:!1},[x.A.STAMP_CUSTOM]:{onEnterAction:En._z,onLeaveAction:En.pM,allowWhenInReadOnlyMode:!1},[x.A.INK_SIGNATURE]:{onEnterAction:En.Cc,onLeaveAction:En.MV,allowWhenInReadOnlyMode:!1},[x.A.SIGNATURE]:{onEnterAction:En.Cc,onLeaveAction:En.MV,allowWhenInReadOnlyMode:!1},[x.A.SHAPE_LINE]:{onEnterAction:(0,En.p9)(j.o9,x.A.SHAPE_LINE),onLeaveAction:En.Ce,allowWhenInReadOnlyMode:!1},[x.A.SHAPE_RECTANGLE]:{onEnterAction:(0,En.p9)(j.b3,x.A.SHAPE_RECTANGLE),onLeaveAction:En.Ce,allowWhenInReadOnlyMode:!1},[x.A.SHAPE_ELLIPSE]:{onEnterAction:(0,En.p9)(j.Xs,x.A.SHAPE_ELLIPSE),onLeaveAction:En.Ce,allowWhenInReadOnlyMode:!1},[x.A.SHAPE_POLYGON]:{onEnterAction:(0,En.p9)(j.Hi,x.A.SHAPE_POLYGON),onLeaveAction:En.Ce,allowWhenInReadOnlyMode:!1},[x.A.SHAPE_POLYLINE]:{onEnterAction:(0,En.p9)(j.om,x.A.SHAPE_POLYLINE),onLeaveAction:En.Ce,allowWhenInReadOnlyMode:!1},[x.A.NOTE]:{onEnterAction:En.i9,onLeaveAction:En.dp,allowWhenInReadOnlyMode:!1},[x.A.COMMENT_MARKER]:{onEnterAction:()=>((0,a.kG)(t&&t.features.includes(ge.q.COMMENTS),Ml.kx),(0,En.k6)()),onLeaveAction:()=>((0,a.kG)(t&&t.features.includes(ge.q.COMMENTS),Ml.kx),(0,En.tr)()),allowWhenInReadOnlyMode:!1},[x.A.TEXT]:{onEnterAction:En.DU,onLeaveAction:En.k4,allowWhenInReadOnlyMode:!1},[x.A.CALLOUT]:{onEnterAction:En.Lt,onLeaveAction:En.k4,allowWhenInReadOnlyMode:!1},[x.A.PAN]:{onEnterAction:Eu.vc,onLeaveAction:Eu.Yr,allowWhenInReadOnlyMode:!0},[x.A.SEARCH]:{onEnterAction:Dc.Xe,onLeaveAction:Dc.ct,allowWhenInReadOnlyMode:!0},[x.A.DOCUMENT_EDITOR]:{onEnterAction:En.lV,onLeaveAction:En.sJ,allowWhenInReadOnlyMode:!1},[x.A.MARQUEE_ZOOM]:{onEnterAction:En.xF,onLeaveAction:En.si,allowWhenInReadOnlyMode:!0},[x.A.REDACT_TEXT_HIGHLIGHTER]:{onEnterAction:En.aw,onLeaveAction:En.TR,allowWhenInReadOnlyMode:!1},[x.A.REDACT_SHAPE_RECTANGLE]:{onEnterAction:En.t,onLeaveAction:En.jP,allowWhenInReadOnlyMode:!1},[x.A.DOCUMENT_CROP]:{onEnterAction:En.rL,onLeaveAction:En.Cn,allowWhenInReadOnlyMode:!1},[x.A.CONTENT_EDITOR]:{onEnterAction:()=>Su.gY,onLeaveAction:()=>Su.u8,allowWhenInReadOnlyMode:!1},[x.A.FORM_CREATOR]:{onEnterAction:Mo.el,onLeaveAction:Mo.h4,allowWhenInReadOnlyMode:!1},[x.A.SIGNATURE_WIDGET]:{onEnterAction:()=>(0,En.UF)(x.A.SIGNATURE_WIDGET),onLeaveAction:En.XX,allowWhenInReadOnlyMode:!1},[x.A.LIST_BOX_WIDGET]:{onEnterAction:()=>(0,En.UF)(x.A.LIST_BOX_WIDGET),onLeaveAction:En.XX,allowWhenInReadOnlyMode:!1},[x.A.COMBO_BOX_WIDGET]:{onEnterAction:()=>(0,En.UF)(x.A.COMBO_BOX_WIDGET),onLeaveAction:En.XX,allowWhenInReadOnlyMode:!1},[x.A.CHECKBOX_WIDGET]:{onEnterAction:()=>(0,En.UF)(x.A.CHECKBOX_WIDGET),onLeaveAction:En.XX,allowWhenInReadOnlyMode:!1},[x.A.RADIO_BUTTON_WIDGET]:{onEnterAction:()=>(0,En.UF)(x.A.RADIO_BUTTON_WIDGET),onLeaveAction:En.XX,allowWhenInReadOnlyMode:!1},[x.A.TEXT_WIDGET]:{onEnterAction:()=>(0,En.UF)(x.A.TEXT_WIDGET),onLeaveAction:En.XX,allowWhenInReadOnlyMode:!1},[x.A.BUTTON_WIDGET]:{onEnterAction:()=>(0,En.UF)(x.A.BUTTON_WIDGET),onLeaveAction:En.XX,allowWhenInReadOnlyMode:!1},[x.A.DATE_WIDGET]:{onEnterAction:()=>(0,En.UF)(x.A.DATE_WIDGET),onLeaveAction:En.XX,allowWhenInReadOnlyMode:!1},[x.A.LINK]:{onEnterAction:En.Jn,onLeaveAction:En.UU,allowWhenInReadOnlyMode:!1},[x.A.DISTANCE]:{onEnterAction:(0,En.p9)(j.o9,x.A.DISTANCE),onLeaveAction:En.Ce,allowWhenInReadOnlyMode:!1},[x.A.PERIMETER]:{onEnterAction:(0,En.p9)(j.om,x.A.PERIMETER),onLeaveAction:En.Ce,allowWhenInReadOnlyMode:!1},[x.A.RECTANGLE_AREA]:{onEnterAction:(0,En.p9)(j.b3,x.A.RECTANGLE_AREA),onLeaveAction:En.Ce,allowWhenInReadOnlyMode:!1},[x.A.ELLIPSE_AREA]:{onEnterAction:(0,En.p9)(j.Xs,x.A.ELLIPSE_AREA),onLeaveAction:En.Ce,allowWhenInReadOnlyMode:!1},[x.A.POLYGON_AREA]:{onEnterAction:(0,En.p9)(j.Hi,x.A.POLYGON_AREA),onLeaveAction:En.Ce,allowWhenInReadOnlyMode:!1},[x.A.MULTI_ANNOTATIONS_SELECTION]:{onEnterAction:En.YF,onLeaveAction:En.FA,allowWhenInReadOnlyMode:!1},[x.A.MEASUREMENT_SETTINGS]:{onEnterAction:(0,En.PR)(),onLeaveAction:(0,En.jJ)(),allowWhenInReadOnlyMode:!1}}[e]}function Au(e,t){var n,o;const r=t?t.getState():null;if("number"!=typeof e.currentPageIndex)throw new a.p2("The currentPageIndex set on the new ViewState is not of type `number`.");if(r&&(e.currentPageIndex<0||e.currentPageIndex>=r.totalPages))throw new a.p2(`The currentPageIndex set on the new ViewState is out of bounds.\nThe index is expected to be in the range from 0 to ${r.totalPages-1} (inclusive).`);if("number"==typeof e.zoom){if(r){const{viewportState:t}=r,n=(0,Ys.Yo)(t),o=(0,Ys.Sm)(t);if(e.zoomo)throw new a.p2(`The supplied zoom level is larger than the maximum zoom level for this document (${o})`)}}else if(e.zoom!==Xs.c.AUTO&&e.zoom!==Xs.c.FIT_TO_WIDTH&&e.zoom!==Xs.c.FIT_TO_VIEWPORT)throw new a.p2("The supplied zoom mode is not valid.\nValid zoom modes are: PSPDFKit.ZoomMode.AUTO, PSPDFKit.ZoomMode.FIT_TO_VIEWPORT, or PSPDFKit.ZoomMode.FIT_TO_WIDTH");if(e.pagesRotation%90!=0)throw new a.p2("The supplied pagesRotation must be a multiple of 90°.");if(e.layoutMode!==C.X.SINGLE&&e.layoutMode!==C.X.DOUBLE&&e.layoutMode!==C.X.AUTO)throw new a.p2("The supplied layout mode is not valid.\nValid layout modes are: PSPDFKit.LayoutMode.SINGLE, PSPDFKit.LayoutMode.DOUBLE, or PSPDFKit.LayoutMode.AUTO");if(e.scrollMode!==nl.G.CONTINUOUS&&e.scrollMode!==nl.G.PER_SPREAD&&e.scrollMode!==nl.G.DISABLED)throw new a.p2("The supplied scroll mode is not valid.\nValid scroll modes are: PSPDFKit.ScrollMode.CONTINUOUS, PSPDFKit.ScrollMode.PER_SPREAD, or PSPDFKit.ScrollMode.DISABLED");if(e.showSignatureValidationStatus!==fu.W.IF_SIGNED&&e.showSignatureValidationStatus!==fu.W.HAS_ERRORS&&e.showSignatureValidationStatus!==fu.W.HAS_WARNINGS&&e.showSignatureValidationStatus!==fu.W.NEVER)throw new a.p2("The supplied mode for showing the digital signature validation UI is not valid.");if("number"!=typeof e.spreadSpacing||e.spreadSpacing<0)throw new a.p2(`Expected \`spreadSpacing\` to be a positive number but instead got: ${e.spreadSpacing}.`);if("number"!=typeof e.pageSpacing||e.pageSpacing<0)throw new a.p2(`Expected \`pageSpacing\` to be a positive number but instead got: ${e.pageSpacing}.`);if("boolean"!=typeof e.keepFirstSpreadAsSinglePage)throw new a.p2(`Expected \`keepFirstSpreadAsSinglePage\` to be a boolean but instead got: ${e.keepFirstSpreadAsSinglePage}.`);if("number"!=typeof e.viewportPadding.vertical)throw new a.p2("The supplied viewportPadding has a missing property: vertical not found");if("number"!=typeof e.viewportPadding.horizontal)throw new a.p2("The supplied viewportPadding has a missing property: horizontal not found");if(e.viewportPadding.vertical<0||e.viewportPadding.horizontal<0)throw new a.p2("The supplied viewportPadding horizontal or vertical value is not a positive number");if("boolean"!=typeof e.allowPrinting)throw new a.p2("`allowPrinting` must be of type boolean.");if(r&&!0===e.allowPrinting&&!r.backendPermissions.downloadingAllowed)throw new a.p2("To enable printing, you need to authenticate the `download` permission in the JWT (See: https://pspdfkit.com/guides/web/server-backed/client-authentication/)");if("boolean"!=typeof e.allowExport)throw new a.p2("`allowExport` must be of type boolean.");if(r&&!0===e.allowExport&&!r.backendPermissions.downloadingAllowed)throw new a.p2("To enable PDF export, you need to authenticate the `download` permission in the JWT (See: https://pspdfkit.com/guides/web/server-backed/client-authentication/)");if("boolean"!=typeof e.previewRedactionMode)throw new a.p2("`previewRedactionMode` must be of type boolean.");if("boolean"!=typeof e.readOnly)throw new a.p2("`readOnly` must be of type boolean.");if(!r||!1!==e.readOnly||mt.Ei.IGNORE_DOCUMENT_PERMISSIONS||!r.backendPermissions.readOnly&&(r.documentPermissions.annotationsAndForms||r.documentPermissions.fillForms)||(e=e.set("readOnly",!0),(0,a.ZK)("It’s not possible to change PSPDFKit.ViewState#readOnly to false if the current backend or document permissions do not allow it. For document permissions, you can override this behavior by setting the PSPDFKit.Options.IGNORE_DOCUMENT_PERMISSIONS option before initializing PSPDFKit.")),e.interactionMode&&Object.values(x.A).indexOf(e.interactionMode)<0)throw new a.p2(`The supplied interaction mode is not valid.\nValid view modes are: ${Object.keys(x.A).map((e=>`PSPDFKit.InteractionMode.${e}`)).join(", ")}`);if(null!=e.interactionMode){const t=ku(e.interactionMode,r);null!=r&&(e.interactionMode===x.A.DOCUMENT_EDITOR&&(0,So.Xr)({features:r.features,backendPermissions:r.backendPermissions,documentPermissions:r.documentPermissions,readOnlyEnabled:r.readOnlyEnabled})||e.interactionMode===x.A.CONTENT_EDITOR&&(0,So.qs)({features:r.features,backendPermissions:r.backendPermissions,documentPermissions:r.documentPermissions,readOnlyEnabled:r.readOnlyEnabled}))||!e.readOnly||t.allowWhenInReadOnlyMode||((0,a.ZK)(`Can’t set PSPDFKit.ViewState#interactionMode to ${e.interactionMode} when PSPDFKit.ViewState#readOnly is true.`),e=e.set("interactionMode",null))}if("boolean"!=typeof e.showAnnotations)throw new a.p2("`showAnnotations` must be of type boolean.");if(!1===e.showAnnotations&&!1===e.readOnly)throw new a.p2("In order to hide annotations, you must also enable read only mode.");if("boolean"!=typeof e.showComments)throw new a.p2("`showComments` must be of type boolean.");if("boolean"!=typeof e.showAnnotationNotes)throw new a.p2("`showAnnotationNotes` must be of type boolean.");if(e.sidebarMode&&Object.values(du.f).indexOf(e.sidebarMode)<0)throw new a.p2(`The supplied sidebar mode is not valid.\nValid view modes are: ${Object.keys(du.f).map((e=>`PSPDFKit.SidebarMode.${e}`)).join(", ")} or \`null\`.`);if(Object.values(pu.d).indexOf(e.sidebarPlacement)<0)throw new a.p2(`The supplied sidebar placement is not valid.\nValid placements are: ${Object.keys(pu.d).map((e=>`PSPDFKit.SidebarPlacement.${e}`)).join(" or ")}.`);if(null===(n=e.sidebarOptions)||void 0===n||!n[du.f.ANNOTATIONS])throw new a.p2("The supplied sidebar options configuration is missing the required `PSPDFKit.SidebarMode.ANNOTATIONS` property.");if(!Array.isArray(null===(o=e.sidebarOptions[du.f.ANNOTATIONS])||void 0===o?void 0:o.includeContent))throw new a.p2("The `includeContent` property is mandatory for the `PSPDFKit.SidebarMode.ANNOTATIONS` sidebar options and it must be an array");if(e.sidebarOptions[du.f.ANNOTATIONS].includeContent.length&&e.sidebarOptions[du.f.ANNOTATIONS].includeContent.some((e=>!(e.prototype instanceof j.q6)&&e!==j.sv)))throw new a.p2("The `includeContent` array can only contain annotations classes or `PSPDFKit.Comment` as possible values");if("boolean"!=typeof e.canScrollWhileDrawing)throw new a.p2("`canScrollWhileDrawing` must be of type boolean.");if("boolean"!=typeof e.keepSelectedTool)throw new a.p2("`keepSelectedTool` must be of type boolean.");if("number"!=typeof e.sidebarWidth)throw new a.p2("`sidebarWidth` must be of type number.");return e}var Ou=n(32125),Tu=n(26353),Iu=n(84013),Fu=n(27001);const Mu=(0,T.createContext)((()=>{throw new Error}));var _u=n(59386),Ru=n(89e3);const Nu={COMMENT_THREAD:"COMMENT_THREAD",ANNOTATIONS_SIDEBAR:"ANNOTATIONS_SIDEBAR"};var Lu=n(80303),Bu=n.n(Lu);const ju=function(e){var t,o;const{formatMessage:r}=(0,Re.YB)(),i=T.useCallback((e=>e.stopPropagation()),[]),a=F()("PSPDFKit-Sidebar-Annotations-Item",e.layoutClassName,Bu().layout,{[Bu().selected]:e.isSelectedItem,[Bu().layoutNavigationDisabled]:e.navigationDisabled,"PSPDFKit-Sidebar-Annotations-Item-Selected":e.isSelectedItem});return T.createElement("div",{ref:e.itemRef},T.createElement(pt.Z,{onPointerUpCapture:i},T.createElement("div",(0,De.Z)({className:a,onClick:e.onPress},e.itemWrapperProps),e.icon,T.createElement("div",{className:Bu().layoutContent},e.children,(null===(t=e.showFooter)||void 0===t||t)&&(e.author||e.formattedDate)&&T.createElement("footer",{className:F()(Bu().footer,"PSPDFKit-Sidebar-Annotations-Footer")},T.createElement("p",null,e.author&&T.createElement("span",null,e.author,e.formattedDate?", ":""),e.formattedDate&&T.createElement("time",{dateTime:null===(o=e.date)||void 0===o?void 0:o.toISOString()},e.formattedDate)),e.additionalFooter)),e.isDeletable&&T.createElement("button",{className:F()(Bu().delete,"PSPDFKit-Sidebar-Annotations-Delete"),onClick:e.onDelete,"aria-label":r(Ke.Z.delete)},T.createElement(Ye.Z,{src:n(61019),role:"presentation"})))))},zu={highlighter:"highlighter",arrow:"arrow",callout:"textAnnotation","cloudy-rectangle":"cloudyRectangleAnnotation","dashed-rectangle":"dashedRectangleAnnotation","cloudy-ellipse":"cloudyEllipseAnnotation","dashed-ellipse":"dashedEllipseAnnotation","cloudy-polygon":"cloudyPolygonAnnotation","dashed-polygon":"dashedPolygonAnnotation","ellipse-area":"ellipseAreaMeasurement","rectangle-area":"rectangularAreaMeasurement","polygon-area":"polygonAreaMeasurement",distance:"distanceMeasurement",perimeter:"perimeterMeasurement"},Ku=e=>{const{formatMessage:t}=e.intl,n=zu[e.type]||`${e.type}Annotation`;return T.createElement(T.Fragment,null,T.createElement("button",{autoFocus:e.autoFocus},t(Ke.Z[n])),","," ",t(Ke.Z.linesCount,{arg0:e.annotation.lines.size}))},Zu=e=>{const t=e.annotation.text.value||"";let n=(0,$.aF)("xhtml"===e.annotation.text.format?(0,qn.KY)(t):t);const o=zu[e.type]||"textAnnotation";return 0===n.length&&(n=e.intl.formatMessage(Ke.Z[o])),T.createElement("button",{autoFocus:e.autoFocus},n)},Uu=e=>T.createElement("button",{autoFocus:e.autoFocus},e.intl.formatMessage(Ke.Z[`${e.type}Annotation`])),Vu=e=>{const t=zu[e.type]||`${e.type}Annotation`;return T.createElement("button",{autoFocus:e.autoFocus},e.intl.formatMessage(Ke.Z[t]))},Gu=e=>T.createElement("button",{autoFocus:e.autoFocus},e.annotation.formFieldName),Wu={text:Zu,callout:Zu,ink:Ku,highlighter:Ku,note:e=>{let t=(0,$.aF)(e.annotation.text.value||"");return 0===t.length&&(t=e.intl.formatMessage(Ke.Z.noteAnnotation)),T.createElement("button",{autoFocus:e.autoFocus},t)},highlight:Uu,underline:Uu,strikeOut:Uu,squiggle:Uu,link:e=>{var t;return T.createElement("button",{autoFocus:e.autoFocus},(null===(t=e.annotation.action)||void 0===t?void 0:t.uri)||e.intl.formatMessage(Ke.Z.linkAnnotation))},rectangle:Vu,"cloudy-rectangle":Vu,"dashed-rectangle":Vu,ellipse:Vu,"cloudy-ellipse":Vu,"dashed-ellipse":Vu,polygon:Vu,"cloudy-polygon":Vu,"dashed-polygon":Vu,polyline:Vu,line:Vu,arrow:Vu,image:e=>{const{formatMessage:t}=e.intl,{fileName:n}=e.annotation,o=(0,$.aF)(e.annotation.description||"");return T.createElement(T.Fragment,null,T.createElement("button",{autoFocus:e.autoFocus},t(Ke.Z[`${e.type}Annotation`])),n&&!o&&T.createElement("div",{title:t(Ke.Z.filePath)+`: ${n}`},n),o&&T.createElement("div",null,o))},stamp:e=>{const{formatMessage:t}=e.intl,{fileName:n}=e.annotation,o=(0,$.aF)(ou({annotation:e.annotation,intl:e.intl})||"");return T.createElement(T.Fragment,null,T.createElement("button",{autoFocus:e.autoFocus},t(Ke.Z[`${e.type}Annotation`])),n&&!o&&T.createElement("div",{title:`${t(Ke.Z.stampText)}: ${t(Ke.Z[e.annotation.stampType])}`},`${t(Ke.Z.stampText)}: ${t(Ke.Z[e.annotation.stampType])}`),o&&T.createElement("div",null,o))},"form-text":Gu,"form-checkbox":Gu,"form-button":Gu,"form-signature":Gu,redaction:e=>T.createElement("button",{autoFocus:e.autoFocus},e.intl.formatMessage(Ke.Z[`${e.type}Annotation`])),media:e=>{const{formatMessage:t}=e.intl,{fileName:n}=e.annotation,o=(0,$.aF)(e.annotation.description||"");return T.createElement(T.Fragment,null,T.createElement("button",{autoFocus:e.autoFocus},t(Ke.Z[`${e.type}Annotation`])),n&&!o&&T.createElement("div",{title:t(Ke.Z.filePath)+`: ${n}`},n),o&&T.createElement("div",null,o))},perimeter:Vu,distance:Vu,"ellipse-area":Vu,"rectangle-area":Vu,"polygon-area":Vu};class qu extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_itemRef",(e=>{var t,n;e&&(this._el=e,null===(t=(n=this.props).onRenderItemCallback)||void 0===t||t.call(n,e,this.props.annotation))})),(0,o.Z)(this,"onPress",(()=>{const{annotation:e,dispatch:t,onPress:n}=this.props;if(!this.props.navigationDisabled){if(t((0,Eu.kN)(e.pageIndex,e.boundingBox)),this.props.isAnnotationReadOnly(e))return setTimeout((()=>{t((0,je.Q2)(e.id))}),100);e instanceof s.x_?t((0,je.fz)()):tt.Ni&&e instanceof s.Qi?t((0,je.VR)(e.id)):t((0,je.Df)((0,i.l4)([e.id]),null)),n&&n()}})),(0,o.Z)(this,"onDelete",(()=>{const{annotation:e,dispatch:t,navigationDisabled:n}=this.props;n||t((0,Eu.kN)(e.pageIndex,e.boundingBox)),t((0,Qt.d8)((0,i.l4)([e.id])))})),(0,o.Z)(this,"preventDeselect",(e=>e.stopPropagation()))}componentDidUpdate(e){var t,n;this._el&&e.onRenderItemCallback!==this.props.onRenderItemCallback&&(null===(t=(n=this.props).onRenderItemCallback)||void 0===t||t.call(n,this._el,this.props.annotation))}render(){const{annotation:e,intl:t,isSelectedAnnotation:n,annotationType:o,isAnnotationReadOnly:r,autoFocus:i,canDeleteAnnotationCP:a,dateTimeStringCallback:l}=this.props,{formatDate:c}=t,u=e.creatorName;let d=null;e.updatedAt.getTime()&&(l&&(d=l({dateTime:e.updatedAt,element:Nu.ANNOTATIONS_SIDEBAR,object:e})),null==d&&(d=c(e.updatedAt)));const p=Wu[o],f=F()("PSPDFKit-Sidebar-Annotations-Annotation",`PSPDFKit-Sidebar-Annotations-Annotation-${(0,qn.in)(o)}`,{"PSPDFKit-Sidebar-Annotations-Annotation-Selected":n}),h=!(e instanceof s.x_)&&!(e instanceof s.Hu)&&!r(e)&&!tt.Ni&&a(e),m=(0,Ze.Z)({type:o.toLowerCase(),className:F()(Bu().icon,"PSPDFKit-Sidebar-Annotations-Icon")});return T.createElement(ju,{itemRef:this._itemRef,layoutClassName:f,isSelectedItem:n,navigationDisabled:this.props.navigationDisabled,onPress:this.onPress,onDelete:this.onDelete,isDeletable:h,itemWrapperProps:{"data-annotation-id":e.id},icon:m,showFooter:!(e instanceof s.x_),author:u,formattedDate:d,date:e.updatedAt},T.createElement(p,{intl:t,annotation:e,type:o,autoFocus:i}))}}const Hu=(0,Re.XN)(qu);var $u=n(35860);const Yu=(0,Re.vU)({commentOptions:{id:"commentOptions",defaultMessage:"Comment Options",description:"Comment Options"},editContent:{id:"editContent",defaultMessage:"Edit Content",description:"Edit Content"},deleteCommentConfirmMessage:{id:"deleteCommentConfirmMessage",defaultMessage:"Are you sure you want to delete this comment?",description:'Message displayed in the "Delete Comment" confirm dialog'},deleteCommentConfirmAccessibilityLabel:{id:"deleteCommentConfirmAccessibilityLabel",defaultMessage:"Confirm comment deletion",description:'Accessibility label (title) for the "Delete Comment" confirm dialog'},deleteCommentConfirmAccessibilityDescription:{id:"deleteCommentConfirmAccessibilityDescription",defaultMessage:"Dialog allowing the user to confirm or cancel deleting the comment",description:'Accessibility description for the "Delete Comment" confirm dialog'},moreComments:{id:"moreComments",defaultMessage:"More comments",description:"More comments indicator in comments popover"}});const Xu=function(e){var t;const n=T.useRef(),{rootComment:o,commentsCount:r,onRenderItemCallback:a,annotation:s,onPress:l,navigationDisabled:c,isCommentReadOnly:u,dateTimeStringCallback:d,isSelectedAnnotation:p,canDeleteCommentCP:f}=e,h=(0,A.I0)(),{formatMessage:m,formatDate:g}=(0,Re.YB)(),[v,y]=T.useState(!1),b=T.useCallback((e=>{e&&(n.current=e,null==a||a(e,s))}),[s,a]),w=(0,fi.R9)((()=>{if(!c){if(h((0,Eu.kN)(s.pageIndex,s.boundingBox)),u(o))return setTimeout((()=>{h((0,je.Q2)(s.id))}),100);h((0,je.Df)((0,i.l4)([s.id]),null)),l&&l()}})),S=(0,fi.R9)((()=>{c||h((0,Eu.kN)(s.pageIndex,s.boundingBox)),y(!0)})),E=T.useCallback((()=>{h((0,bi.UM)(o)),y(!1)}),[o,h]),P=o.isAnonymous?m(Ke.Z.anonymous):null!==(t=o.creatorName)&&void 0!==t?t:m(Ke.Z.anonymous);let x=null;o.createdAt.getTime()&&(d&&(x=d({dateTime:o.createdAt,element:Nu.ANNOTATIONS_SIDEBAR,object:o})),null==x&&(x=g(o.createdAt,s.isCommentThreadRoot&&o?{hour12:!0,hour:"numeric",minute:"numeric",month:"numeric",day:"numeric",year:"numeric"}:void 0)));let D=null;r&&r>1&&(D=m(Ke.Z.nMoreComments,{arg0:r-1}));const C=F()("PSPDFKit-Sidebar-Annotations-Comment",{"PSPDFKit-Sidebar-Annotations-Comment-Selected":p}),k=!u(o)&&!tt.Ni&&f(o),O=(0,Ze.Z)({type:"comment",className:F()(Bu().icon,"PSPDFKit-Sidebar-Annotations-Icon")});return T.createElement(T.Fragment,null,T.createElement(ju,{itemRef:b,layoutClassName:C,isSelectedItem:p,navigationDisabled:c,onPress:w,onDelete:S,isDeletable:k,itemWrapperProps:{"data-annotation-id":s.id},icon:O,showFooter:!0,author:P,formattedDate:x,date:s.updatedAt,additionalFooter:s.isCommentThreadRoot&&D?T.createElement("span",null,D):null},T.createElement("button",{autoFocus:e.autoFocus},(0,$.aF)((0,qn.KY)((null==o?void 0:o.text.value)||"")))),v&&T.createElement($u.Z,{onConfirm:E,onCancel:()=>{y(!1)},accessibilityLabel:m(Yu.deleteCommentConfirmAccessibilityLabel),accessibilityDescription:m(Yu.deleteCommentConfirmAccessibilityDescription)},T.createElement("p",null,m(Yu.deleteCommentConfirmMessage))))},Ju=T.memo((function(e){let{closeOnPress:t=!1,navigationDisabled:n,annotations:o,comments:r,commentThreads:a,formFields:s,pages:l,isAnnotationReadOnly:c,isCommentReadOnly:u,selectedAnnotationIds:d,canDeleteAnnotationCP:p,canDeleteCommentCP:f,sidebarOptions:h}=e;const[m,g]=T.useState(null),{includeContent:v}=h;T.useEffect((()=>{null==m||m.focus()}),[m]);const{formatMessage:y}=(0,Re.YB)(),b=(0,A.I0)(),w=(0,A.v9)((e=>e.dateTimeString)),S=(0,fi.R9)((()=>{n||t&&b((0,En.mu)())})),E=v.some((e=>e===j.sv)),P=F()(Bu().container,"PSPDFKit-Sidebar-Annotations"),x=T.useMemo((()=>o.filter((e=>null!==e.pageIndex&&(E&&e.isCommentThreadRoot||!e.isCommentThreadRoot&&null!==Qu(e,s)&&v.some((t=>e instanceof t)))))),[o,s,v,E]),D=T.useMemo((()=>l.reduce(((e,t)=>{const n=function(e){let t=e.filter((e=>e.isCommentThreadRoot)).sortBy((e=>e.boundingBox.top));return e.map((e=>{if(!e.isCommentThreadRoot)return e;const n=t.first();return t=t.shift(),n}))}((0,J.xp)(x,t));return 0===n.size?e:e.push(n)}),(0,i.aV)())),[l,x]),C=(0,fi.Bo)(m,D),k=(null==D?void 0:D.reduce(((e,t)=>e+t.size),0))||0,O=(0,fi.mP)(C,(e=>e.id),(e=>x.get(e)));return T.createElement("div",{className:P,role:"region","aria-label":y(Ke.Z.annotations),ref:g},T.createElement("div",{className:"PSPDFKit-Sidebar-Header"},k>0?T.createElement("div",{className:F()(Bu().annotationCounter,"PSPDFKit-Sidebar-Annotations-Annotation-Counter")},y(Ke.Z.annotationsCount,{arg0:k})):null),k>0&&D?T.createElement(T.Fragment,null,D.map(((e,t)=>{const o=e.first().pageIndex,i=l.get(o);(0,Ne.k)(i);const h=i.get("pageLabel");return T.createElement("section",{key:`Annotations-Sidebar-Page-${o}`},T.createElement("h1",{className:F()(Bu().pageNumber,"PSPDFKit-Sidebar-Annotations-Page-Number")},y(Ke.Z.pageX,{arg0:h||o+1})),T.createElement("div",{className:F()(Bu().content,Bu().annotations,"PSPDFKit-Sidebar-Annotations-Container")},e.map(((e,o)=>{if(e.isCommentThreadRoot&&E){const i=a.get(e.id),s=null==i?void 0:i.first(),l=null==i?void 0:i.last();if(i&&l&&s){const a=r.get(l);if(a){const l=!(0,Ml.kT)(a)&&(null==a?void 0:a.text.value).length>0?null==i?void 0:i.size:(null==i?void 0:i.size)-1,c=r.get(s);return T.createElement(Xu,{annotation:e,rootComment:c,commentsCount:l,onPress:S,isCommentReadOnly:u,isSelectedAnnotation:d.has(e.id),navigationDisabled:n,autoFocus:0===o&&0===t,canDeleteCommentCP:f,key:`Annotation-Info-${e.id}`,onRenderItemCallback:O,dateTimeStringCallback:w})}}}const i=Qu(e,s);return null!=i?T.createElement(Hu,{dispatch:b,annotation:e,annotationType:i,onPress:S,isAnnotationReadOnly:c,isSelectedAnnotation:d.has(e.id),navigationDisabled:n,autoFocus:0===o&&0===t,canDeleteAnnotationCP:p,key:`Annotation-Info-${e.id}`,onRenderItemCallback:O,dateTimeStringCallback:w}):null}))))}))):T.createElement("div",{className:F()(Bu().container,Bu().empty,"PSPDFKit-Sidebar-Empty"),role:"region","aria-label":y(Ke.Z.annotations)},y(ed.noAnnotations)))}));function Qu(e,t){var n;let o;const r=Number(e.cloudyBorderIntensity)>0,i=null===(n=e.strokeDashArray)||void 0===n?void 0:n.length;return e instanceof s.Zc?function(e){return"normal"===e.blendMode?0===e.opacity||e.lineWidth/e.opacity>40?"highlighter":"ink":e.lineWidth>15?"highlighter":"ink"}(e):e instanceof s.gd?e.callout?"callout":"text":e instanceof s.Qi?"note":e instanceof s.sK?"image":e instanceof s.GI?"stamp":e instanceof s.FV?"highlight":e instanceof s.xu?"underline":e instanceof s.R9?"strikeOut":e instanceof s.hL?"squiggle":e instanceof s.R1?"link":e instanceof s.b3?e.isMeasurement()?"rectangle-area":r?"cloudy-rectangle":i?"dashed-rectangle":"rectangle":e instanceof s.Xs?e.isMeasurement()?"ellipse-area":r?"cloudy-ellipse":i?"dashed-ellipse":"ellipse":e instanceof s.Hi?e.isMeasurement()?"polygon-area":r?"cloudy-polygon":i?"dashed-polygon":"polygon":e instanceof s.om?e.isMeasurement()?"perimeter":"polyline":e instanceof s.o9?function(e){if(e.isMeasurement())return"distance";if(!e.lineCaps)return"line";const t="openArrow"===e.lineCaps.start||"closedArrow"===e.lineCaps.start||"reverseOpenArrow"===e.lineCaps.start||"reverseClosedArrow"===e.lineCaps.start,n="openArrow"===e.lineCaps.end||"closedArrow"===e.lineCaps.end||"reverseOpenArrow"===e.lineCaps.end||"reverseClosedArrow"===e.lineCaps.end;return t||n?"arrow":"line"}(e):e instanceof s.x_?((0,Ne.k)(t),o=t.get(e.formFieldName),o instanceof l.$o||o instanceof l.Vi||o instanceof l.fB?"form-text":o instanceof l.rF?"form-checkbox":o instanceof l.XQ||o instanceof l.R0?"form-button":o instanceof l.Yo?"form-signature":null):e instanceof pe.Z?"redaction":e instanceof s.Hu?"media":null}const ed=(0,Re.vU)({noAnnotations:{id:"noAnnotations",defaultMessage:"No Annotations",description:"Message shown when there is no annotations"}});var td,nd=n(24871),od=n(81619),rd=n(5462),id=n(27435),ad=n.n(id),sd=n(44364),ld=n.n(sd),cd=n(93628),ud=n.n(cd);function dd(e){return gd[e]||Ke.Z[e]}function pd(e){let{item:t,isEnd:n,formatMessage:o}=e;return T.createElement(T.Fragment,null,T.createElement(ue.TX,{tag:"div"},o(dd(t))),T.createElement("svg",{viewBox:"0 0 8 4",style:{height:16,width:32}},T.createElement("g",{transform:n?"rotate(180 4,2)":void 0},cn.O[t].startElement({fill:"transparent"}),td||(td=T.createElement("line",{x1:"3.5",y1:"2",x2:"8",y2:"2"})))))}function fd(e){let{item:t,formatMessage:n}=e;const o=od.x.find((e=>e.id===t));return T.createElement(T.Fragment,null,T.createElement(ue.TX,{tag:"div"},n(dd(t))),T.createElement("svg",{viewBox:"0 0 16 4",style:{width:54,height:16}},T.createElement("line",{x1:"0",y1:"2",x2:"16",y2:"2",strokeDasharray:o?o.dashArray:void 0,fill:"transparent"})))}class hd extends T.PureComponent{constructor(){for(var e,t=arguments.length,n=new Array(t),r=0;r{const{annotation:t}=this.props,n={};return"none"!==e&&(n.start=e),"lineCaps"in t&&t.lineCaps&&null!=t.lineCaps.end&&(n.end=t.lineCaps.end),this.props.updateAnnotation({lineCaps:n,boundingBox:this.calculateBoundingBox(t.set("lineCaps",n))})})),(0,o.Z)(this,"_onChangeDashArray",(e=>{const t=od.x.find((t=>t.id===e));return this.props.updateAnnotation({strokeDashArray:void 0!==t?t.dashArray:null})})),(0,o.Z)(this,"_onChangeEndLineCap",(e=>{const{annotation:t}=this.props,n={};return"lineCaps"in t&&t.lineCaps&&null!=t.lineCaps.start&&(n.start=t.lineCaps.start),"none"!==e&&(n.end=e),this.props.updateAnnotation({lineCaps:n,boundingBox:this.calculateBoundingBox(t.set("lineCaps",n))})})),(0,o.Z)(this,"LineCapSelectButton",(function(t,n){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;return i=>{var a;let{btnComponentProps:s,selectedItem:l}=i;return T.createElement(_e.Z,(0,De.Z)({is:"div"},s,{className:F()("PSPDFKit-Input-Dropdown-Button",ud().selectBox,e.props.styles.startLineCapSelect),name:"clickableBox",ref:e=>{s.ref(e),"function"==typeof r?r(e):r&&(r.current=e)}}),T.createElement(pd,{item:null!==(a=null==l?void 0:l.label)&&void 0!==a?a:"",isEnd:o,formatMessage:t}),T.createElement("div",null,(0,Ze.Z)({type:"caret-"+n,style:{width:12,height:12,flexBasis:12,marginLeft:3,strokeWidth:0},className:F()(ud().dropdownIcon)})))}})),(0,o.Z)(this,"LineCapItem",(function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{var o;let{item:r,state:i,itemComponentProps:a,ref:s}=n;return T.createElement(_e.Z,(0,De.Z)({is:"div",className:F()(ld().root,ad().root,(null==i?void 0:i.includes("selected"))&&ud().isSelected,(null==i?void 0:i.includes("focused"))&&ud().isSelected)},a,{ref:s}),T.createElement(pd,{item:null!==(o=null==r?void 0:r.label)&&void 0!==o?o:"",isEnd:t,formatMessage:e}))}})),(0,o.Z)(this,"DashArrayButton",((e,t)=>n=>{var o;let{btnComponentProps:r,selectedItem:i}=n;return T.createElement(_e.Z,(0,De.Z)({is:"div"},r,{ref:r.ref,className:F()("PSPDFKit-Input-Dropdown-Button",ud().selectBox,this.props.styles.strokeDashArraySelect),name:"clickableBox"}),T.createElement(fd,{item:null!==(o=null==i?void 0:i.label)&&void 0!==o?o:"",formatMessage:e}),T.createElement("div",null,(0,Ze.Z)({type:"caret-"+t,style:{width:12,height:12,flexBasis:12,marginLeft:3,strokeWidth:0},className:F()(ud().dropdownIcon)})))})),(0,o.Z)(this,"DashArrayItem",(e=>t=>{var n;let{item:o,state:r,itemComponentProps:i,ref:a}=t;return T.createElement(_e.Z,(0,De.Z)({is:"div",className:F()(ld().root,ad().root,(null==r?void 0:r.includes("selected"))&&ud().isSelected,(null==r?void 0:r.includes("focused"))&&ud().isSelected),ref:a},i),T.createElement(fd,{item:null!==(n=null==o?void 0:o.label)&&void 0!==n?n:"",formatMessage:e}))})),(0,o.Z)(this,"_startButton",this.LineCapSelectButton(this.props.intl.formatMessage,this.props.caretDirection,!1,this.props.innerRef)),(0,o.Z)(this,"_endButton",this.LineCapSelectButton(this.props.intl.formatMessage,this.props.caretDirection,!0)),(0,o.Z)(this,"_startItem",this.LineCapItem(this.props.intl.formatMessage)),(0,o.Z)(this,"_endItem",this.LineCapItem(this.props.intl.formatMessage,!0)),(0,o.Z)(this,"_dashArrayButton",this.DashArrayButton(this.props.intl.formatMessage,this.props.caretDirection)),(0,o.Z)(this,"_dashArrayItem",this.DashArrayItem(this.props.intl.formatMessage))}render(){const{intl:{formatMessage:e},styles:t,annotation:n,caretDirection:o}=this.props,{strokeDashArray:r}=n,i=mt.Ei.LINE_CAP_PRESETS,a={start:"none",end:"none"};"lineCaps"in n&&n.lineCaps&&(nd.a.includes(n.lineCaps.start)&&(a.start=n.lineCaps.start),nd.a.includes(n.lineCaps.end)&&(a.end=n.lineCaps.end)),i.includes(a.start)||(a.start="N/A"),i.includes(a.end)||(a.end="N/A");const s=i.map((e=>({value:e,label:e}))),l=r instanceof Array&&2===r.length?od.x.find((e=>2===e.dashArray.length&&e.dashArray[0]===r[0]&&e.dashArray[1]===r[1])):od.x[0],c=od.x.map((e=>({value:e.id,label:e.id})));return T.createElement("div",{className:t.controlWrapper},T.createElement("div",{className:t.control},T.createElement(rd.Z,{items:s,value:{value:a.start,label:a.start},discreteDropdown:!1,isActive:!1,caretDirection:o,accessibilityLabel:e(Ke.Z.startLineCap),className:F()("PSPDFKit-Annotation-Toolbar-StartLineCap",t.startLineCapSelect,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:F()(t.dropdownMenu,t.lineCapsDashArrayMenu),maxCols:5,itemWidth:54,ButtonComponent:this._startButton,ItemComponent:this._startItem,onSelect:(e,t)=>{t.value&&this._onChangeStartLineCap(t.value)},frameWindow:this.props.frameWindow}),T.createElement(rd.Z,{items:c,value:l?{label:l.id,value:l.id}:{label:"solid",value:"solid"},discreteDropdown:!1,isActive:!1,caretDirection:o,accessibilityLabel:e(Ke.Z.strokeDashArray),className:F()("PSPDFKit-Annotation-Toolbar-DashArray",t.strokeDashArraySelect,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:F()(t.dropdownMenu,t.lineCapsDashArrayMenu),itemWidth:76,ButtonComponent:this._dashArrayButton,ItemComponent:this._dashArrayItem,onSelect:(e,t)=>{t.value&&this._onChangeDashArray(t.value)},frameWindow:this.props.frameWindow}),T.createElement(rd.Z,{items:s,value:{label:a.end,value:a.end},discreteDropdown:!1,isActive:!1,caretDirection:o,accessibilityLabel:e(Ke.Z.endLineCap),className:F()("PSPDFKit-Annotation-Toolbar-EndLineCap",t.endLineCapSelect,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:F()(t.dropdownMenu,t.lineCapsDashArrayMenu),maxCols:5,itemWidth:54,ButtonComponent:this._endButton,ItemComponent:this._endItem,onSelect:(e,t)=>{t.value&&this._onChangeEndLineCap(t.value)},frameWindow:this.props.frameWindow})))}}const md=hd,gd=(0,Re.vU)({square:{id:"square",defaultMessage:"Square",description:"Square line cap"},circle:{id:"circle",defaultMessage:"Circle",description:"Circle line cap"},diamond:{id:"diamond",defaultMessage:"Diamond",description:"Diamond line cap"},openArrow:{id:"openArrow",defaultMessage:"Open Arrow",description:"Open arrow line cap"},closedArrow:{id:"closedArrow",defaultMessage:"Closed Arrow",description:"Closed arrow line cap"},butt:{id:"butt",defaultMessage:"Butt",description:"Butt line cap"},reverseOpenArrow:{id:"reverseOpenArrow",defaultMessage:"Reverse Open Arrow",description:"Reverse open arrow line cap"},reverseClosedArrow:{id:"reverseClosedArrow",defaultMessage:"Reverse Closed Arrow",description:"Reverse closed arrow line cap"},slash:{id:"slash",defaultMessage:"Slash",description:"Slash line cap"},solid:{id:"solid",defaultMessage:"Solid",description:"Solid line"},narrowDots:{id:"narrowDots",defaultMessage:"Narrow Dots",description:"Narrow dotted line"},wideDots:{id:"wideDots",defaultMessage:"Wide Dots",description:"Wide dotted line"},narrowDashes:{id:"narrowDashes",defaultMessage:"Narrow Dashes",description:"Narrow dashed line"},wideDashes:{id:"wideDashes",defaultMessage:"Wide Dashes",description:"Wide dashed line"}});var vd;const yd=74,bd={width:54,height:13.5,fill:"transparent"};const wd=Je.i1*Je.St;function Sd(e){let{item:t,lineStyleOptions:n,formatMessage:o}=e;const r=n.get(t);return T.createElement(T.Fragment,null,T.createElement(ue.TX,{tag:"div"},o(xd[t])),r)}class Ed extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{calculateShapeBoundingBox:(0,ee.sS)(this.props.annotation.constructor)}),(0,o.Z)(this,"DashArrayButton",(e=>{var t;let{btnComponentProps:n,selectedItem:o}=e;return T.createElement(_e.Z,(0,De.Z)({is:"div"},n,{className:F()("PSPDFKit-Input-Dropdown-Button",ud().selectBox,this.props.styles.strokeDashArraySelect),name:"clickableBox",ref:e=>{n.ref(e),"function"==typeof this.props.innerRef?this.props.innerRef(e):this.props.innerRef&&(this.props.innerRef.current=e)}}),T.createElement(Sd,{item:null!==(t=null==o?void 0:o.label)&&void 0!==t?t:"solid",lineStyleOptions:this._lineStyleOptions,formatMessage:this.props.intl.formatMessage}),T.createElement("div",null,(0,Ze.Z)({type:"caret-"+this.props.caretDirection,style:{width:12,height:12,flexBasis:12,marginLeft:3,strokeWidth:0},className:F()(ud().dropdownIcon)})))})),(0,o.Z)(this,"DashArrayItem",(e=>{var t;let{item:n,state:o,itemComponentProps:r,ref:i}=e;return T.createElement(_e.Z,(0,De.Z)({is:"div",className:F()(ld().root,ad().root,(null==o?void 0:o.includes("selected"))&&ud().isSelected,(null==o?void 0:o.includes("focused"))&&ud().isSelected)},r,{ref:i}),T.createElement(Sd,{item:null!==(t=null==n?void 0:n.label)&&void 0!==t?t:"solid",lineStyleOptions:this._lineStyleOptions,formatMessage:this.props.intl.formatMessage}))})),(0,o.Z)(this,"_onChange",((e,t)=>{const{value:n}=t,{annotation:o}=this.props,r="cloudy"===n?Je.i1:0,i=od.x.find((e=>e.id===n)),a=((e,t,n)=>{if(e.constructor===s.Xs||e.constructor===s.b3){if(t>0&&!e.cloudyBorderIntensity)return e.boundingBox.grow(wd+e.strokeWidth/2);if(!t&&e.cloudyBorderIntensity>0)return e.boundingBox.grow(-(wd+e.strokeWidth/2))}return e.constructor===s.Hi?n(e.set("cloudyBorderIntensity",t)):n(e)})(o,r,this.state.calculateShapeBoundingBox);return this.props.updateAnnotation({strokeDashArray:void 0!==i&&Array.isArray(i.dashArray)&&2===i.dashArray.length?i.dashArray:null,cloudyBorderIntensity:r,cloudyBorderInset:r?j.eB.fromValue(wd+o.strokeWidth/2):o.cloudyBorderInset,boundingBox:a})})),(0,o.Z)(this,"_lineStyleOptions",function(){const e=new Map;return od.x.forEach((t=>{e.set(t.id,T.createElement("svg",{viewBox:"0 0 16 4",style:bd,key:t.id},T.createElement("line",{x1:"0",y1:"2",x2:"16",y2:"2",strokeDasharray:t.dashArray})))})),e.set("cloudy",vd||(vd=T.createElement("svg",{viewBox:"0 0 16 4",style:bd,key:"cloudy"},T.createElement("path",{d:"M 1 2.23 A 2.125 2.125 0 0 1 4.67 1.68 A 2.125 2.125 0 0 0 4.35 2.23 A 2.125 2.125 0 0 1 8 1.68 A 2.125 2.125 0 0 0 7.68 2.23 A 2.125 2.125 0 0 1 11.33 1.68 A 2.125 2.125 0 0 0 11.02 2.23 A 2.125 2.125 0 1 1 14.14 4.80 A 2.125 2.125 0 0 0 13.55 4.54"})))),e}(this.props.intl.formatMessage))}static getDerivedStateFromProps(e){return{calculateShapeBoundingBox:(0,ee.sS)(e.annotation.constructor)}}render(){const{intl:{formatMessage:e},styles:t,annotation:n,frameWindow:o}=this.props,{strokeDashArray:r,cloudyBorderIntensity:i}=n,a=Array.isArray(r)&&2===r.length&&od.x.find((e=>2===e.dashArray.length&&e.dashArray[0]===r[0]&&e.dashArray[1]===r[1])),s=i>0?a||i!==Je.i1?"":"cloudy":a?a.id:r?"":"solid",l=Array.from(this._lineStyleOptions.keys()).map((e=>({label:e,value:e})));return T.createElement("div",{className:t.controlWrapper},T.createElement("div",{className:t.control},T.createElement(rd.Z,{items:l,value:{label:s||"solid",value:s||"solid"},discreteDropdown:!1,isActive:!1,caretDirection:this.props.caretDirection,accessibilityLabel:e(Ke.Z.strokeDashArray),className:F()("PSPDFKit-Annotation-Toolbar-LineStyle",t.strokeDashArraySelect,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:F()(t.dropdownMenu,t.strokeDashArrayMenu),maxCols:1,itemWidth:yd,ButtonComponent:this.DashArrayButton,ItemComponent:this.DashArrayItem,onSelect:this._onChange,frameWindow:o})))}}const Pd=Ed,xd=(0,Re.vU)({solid:{id:"solid",defaultMessage:"Solid",description:"Solid line"},narrowDots:{id:"narrowDots",defaultMessage:"Narrow Dots",description:"Narrow dotted line"},wideDots:{id:"wideDots",defaultMessage:"Wide Dots",description:"Wide dotted line"},narrowDashes:{id:"narrowDashes",defaultMessage:"Narrow Dashes",description:"Narrow dashed line"},wideDashes:{id:"wideDashes",defaultMessage:"Wide Dashes",description:"Wide dashed line"},cloudy:{id:"cloudy",defaultMessage:"Cloudy border",description:"Cloudy border effect"}});var Dd=n(2726);function Cd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}const kd=T.forwardRef(((e,t)=>{let n=[],r=!1;Array.isArray(mt.Ei.LINE_WIDTH_PRESETS)&&(n=mt.Ei.LINE_WIDTH_PRESETS,r=!0);let i=!1,a=!1;e.annotation instanceof j.Zc&&(i=!0),e.annotation instanceof j.R1&&(a=!0);const{intl:{formatMessage:s},styles:l,annotation:c,type:u,caretDirection:d}=e,p=u?`PSPDFKit-${u}-Annotation-Toolbar-StrokeWidth`:"",f=F()("PSPDFKit-Annotation-Toolbar-StrokeWidth",u&&p);let h=1,m=40,g=i?c.lineWidth:a?c.borderWidth:c.strokeWidth;return r&&(h=0,m=n.length-1,g=n.indexOf(g)),T.createElement("div",{className:l.controlWrapper},T.createElement("div",{className:l.control},T.createElement(Dd.Z,{name:"lineWidth",accessibilityLabel:e.accessibilityLabel||s(Ke.Z.size),className:f,value:g,valueLabel:t=>{let o=t;if(r){if(-1===t)return"N/A";o=n[t]}return e.intl.formatMessage(Ke.Z.numberInPt,{arg0:o.toFixed(0)})},min:h,max:m,step:1,onChange:t=>{let s=t;if(r&&(s=n[t]),i)return e.updateAnnotation({lineWidth:s});if(a)return e.updateAnnotation({borderWidth:s});if(e.annotation instanceof j.b3||e.annotation instanceof j.Xs){const t=s/2-e.annotation.strokeWidth/2,n=e.annotation.cloudyBorderInset?new j.eB({left:e.annotation.cloudyBorderInset.left+t,top:e.annotation.cloudyBorderInset.top+t,right:e.annotation.cloudyBorderInset.right+t,bottom:e.annotation.cloudyBorderInset.bottom+t}):null;return e.updateAnnotation(function(e){for(var t=1;tthis.props.updateAnnotation({opacity:e/100}))),(0,o.Z)(this,"valueLabel",(e=>`${Math.round(e)}%`))}render(){const{intl:{formatMessage:e},styles:t,annotation:n,type:o,caretDirection:r}=this.props,i=o?`PSPDFKit-${o}-Annotation-Toolbar-Opacity`:"",a=F()("PSPDFKit-Annotation-Toolbar-Opacity",o&&i);return T.createElement("div",{className:t.controlWrapper},T.createElement("div",{className:t.control},T.createElement(Dd.Z,{name:"opacity",accessibilityLabel:e(Ke.Z.opacity),className:a,value:100*n.opacity,valueLabel:this.valueLabel,min:10,max:100,step:1,onChange:this.updateAnnotation,caretDirection:r,innerRef:this.props.innerRef})))}}const Td={LineCapsDashArrayComponent:md,LineStyleComponent:Pd,StrokeWidthComponent:Ad,OpacityComponent:Od};var Id=n(11010),Fd=n(66003),Md=n(16593),_d=n.n(Md);let Rd=0;const Nd=T.forwardRef((function(e,t){const n=T.useRef(Rd++),{label:o,accessibilityLabel:r,onUpdate:i,onBlur:a,onFocus:s,onKeyDown:l,textStyles:c,disabled:u=!1,autoFocus:d=!0,name:p="name"}=e,f=T.useCallback((e=>{i&&i(e.target.value)}),[i]);return T.createElement("div",{className:e.styles.controlWrapper},T.createElement("div",{className:e.styles.control},T.createElement("div",{className:`PSPDFKit-Text-Input ${e.className||""} ${_d().root}`},e.label?T.createElement("label",{htmlFor:`${_d().root}-${n.current}`,className:_d().label},o):r?T.createElement(ue.TX,{tag:"label",htmlFor:`${_d().root}-${n.current}`},r):null,T.createElement(ue.oi,{className:F()(_d().input,e.styles.input),value:e.value,onChange:f,onBlur:a,onFocus:s,onKeyDown:l,autoFocus:d,selectTextOnFocus:!0,name:p,placeholder:e.placeholder,autoComplete:"off",id:`${_d().root}-${n.current}`,ref:t,style:c,disabled:u}))))}));var Ld=n(9437),Bd=n.n(Ld);const jd=T.forwardRef((function(e,t){const{intl:n,isEditing:o,showAnnotationNotes:r,isAnnotationNoteActive:i,hasAnnotationNote:a,onAnnotationNotePress:s,disabled:l}=e,{formatMessage:c}=n;return T.createElement(T.Fragment,null,r&&!o?T.createElement(Id.Z,{type:a||i?"note":"note-add",title:c(Ke.Z.noteAnnotation),className:F()(Bd().button,Bd().annotationNoteButton,{[Bd().disableEditing]:l}),onPress:l?void 0:s,selected:i,ref:t}):null)}));var zd=n(24852),Kd=n(11378),Zd=n(44706);function Ud(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Vd(e){for(var t=1;t{let{annotationToolbarItems:t,builtInItems:n,btnFocusRefIfFocusedItem:o,onGroupExpansion:r,builtInToolbarProps:i={},expandedGroup:a,hasDesktopLayout:s,onGroupTransitionEnded:l,position:c,typeMap:u}=e;const d=(0,T.useMemo)((()=>t.every((e=>{if(Gd(e))return!1;if("spacer"===e.type)return!0;{const t=n.find((t=>t.type===e.type));return!(null==t||!t.hidden)}}))),[n,t]),p=a?n.find((e=>Wd(e)===a))||t.filter(Gd).find((e=>Wd(e)===a)):void 0,f=(0,T.useMemo)((()=>((e,t,n)=>{if(n)return e.map((e=>{const n=!Gd(e)&&t.find((t=>t.type===e.type));return Vd(Vd({},e),n&&{group:n.group,node:n.node,title:e.title||n.title,onPress:(t,o)=>{var r,i;null===(r=n.onPress)||void 0===r||r.call(n,t.nativeEvent,e.id),null===(i=e.onPress)||void 0===i||i.call(e,t.nativeEvent,o)},disabled:n.disabled&&e.disabled,className:F()(n.className,e.className)})})).find((e=>n===Wd(e)))})(t,n,a)),[t,a,n]);if(f)return T.createElement("div",{className:Bd().right},T.createElement(Zd.Z,{onClose:()=>r(null),isPrimary:!1,position:c,onEntered:l,accessibilityLabel:f?f.title:void 0,className:Bd().expanded},f.node instanceof HTMLElement?T.createElement(Kd.Z,{node:f.node,className:f.className,onPress:f.onPress,title:f.title,disabled:f.disabled}):T.createElement("div",{className:f.className,onClick:e=>{var t;return null===(t=f.onPress)||void 0===t?void 0:t.call(f,e.nativeEvent,f.id)},title:f.title},f.node)));if(d)return null;const h=t.find((e=>{var t;return"spacer"!==e.type&&!(null!==(t=n.find((t=>t.type===e.type)))&&void 0!==t&&t.hidden)}));return T.createElement("form",{className:Bd().form,onSubmit:jr.PF},t.map(((e,t)=>{if("spacer"===e.type)return T.createElement("div",{key:e.type,className:F()("PSPDFKit-Annotation-Toolbar-Spacer",e.className),style:{display:"flex",flex:1},onClick:t=>{var n;return null===(n=e.onPress)||void 0===n?void 0:n.call(e,t.nativeEvent,e.id)}});const l=n.find((t=>t.type===e.type)),c=(null==h?void 0:h.id)===e.id&&(null==h?void 0:h.type)===e.type;if(Gd(e)){const n="node"in e&&!!e.node&&T.createElement("div",{role:"button",ref:o(Wd(e),p,0===t&&!a),key:e.id},T.createElement(Kd.Z,{node:e.node,className:e.className,onPress:t=>{var n;return null===(n=e.onPress)||void 0===n?void 0:n.call(e,t,e.id)},title:e.title,disabled:e.disabled,variant:"annotationToolbar"})),i="icon"in e&&!!e.icon&&T.createElement("div",{role:"button",key:e.id,className:F()(Bd().button,ad().root,ld().root,`${e.className}-Icon`),onClick:t=>{var n;"custom"===e.type&&e.node&&r(`custom-${e.id}`),null===(n=e.onPress)||void 0===n||n.call(e,t,e.id)},ref:o(Wd(e),p,c&&!a),title:e.title},(e=>"icon"in e?"string"==typeof e.icon?/{var n;return null===(n=e.onIconPress)||void 0===n?void 0:n.call(e,t,e.id)},title:e.title,disabled:e.disabled}):void 0:null)(e));return s?n||i:i||n}if(!l||l.hidden)return null;const d=(null==u?void 0:u[e.type])||e.type,f="function"==typeof i?i(l):i;return l.group?T.createElement(T.Fragment,{key:l.type},T.createElement("div",{className:F()(l.className,{[Bd().disableEditing]:l.disabled})},T.createElement(Id.Z,(0,De.Z)({type:d,icon:e.icon,title:e.title||l.title,onPress:t=>{var n,o;(r(l.group||null),s)?null===(n=e.onPress)||void 0===n||n.call(e,t,e.id):null===(o=e.onIconPress)||void 0===o||o.call(e,t,e.id)}},f,{className:F()(f.className,e.className),ref:o(Wd(l),p,c&&!a)})),l.node),!l.hideSeparator&&T.createElement("div",{className:Bd().separator})):T.createElement("div",{className:F()(l.className,{[Bd().disableEditing]:l.disabled},e.className),key:l.type,onClick:t=>{var n;null===(n=e.onPress)||void 0===n||n.call(e,t.nativeEvent,e.id)},title:e.title||l.title},l.node)})))};var Hd=n(77528);function $d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Yd(e){for(var t=1;t{r&&(t.rects.size>0&&n?(o((0,Qt.gX)(i)),o((0,En.aw)()),o((0,je.vR)())):e.updateAnnotation(i,"redaction"))})),f=(0,fi.R9)((()=>(o((0,En.fq)()),new Promise(((e,t)=>(o((0,zd.g)((()=>{o((0,En.Di)()),e()}),(e=>{o((0,En.Di)()),t(e)}))),e)))))),{position:h,intl:m}=e,{formatMessage:g}=m,v={updateAnnotation:p,annotation:t,styles:Bd(),intl:m,caretDirection:"bottom"===h?"up":"down"},y=[{node:T.createElement(Fd.Z,(0,De.Z)({},v,{record:t,colorProperty:"fillColor",onChange:p,className:"PSPDFKit-Redaction-Annotation-Toolbar-Fill-Color",accessibilityLabel:g(Ke.Z.fillColor),removeTransparent:!0,keepOpacity:!0,frameWindow:e.frameWindow,innerRef:s("fillColor",!a),lastToolbarActionUsedKeyboard:c,annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:g(Ke.Z.fillColor),type:"fill-color",className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Fill-Color"),group:"fillColor",disabled:!r,hideSeparator:!0},{node:T.createElement("div",{style:{display:"flex"}},T.createElement(Nd,{accessibilityLabel:g(Ke.Z.overlayText),placeholder:g(Ke.Z.insertOverlayText),className:Bd().overlayTextInput,value:t.overlayText||"",onUpdate:e=>{p({overlayText:e})},styles:Yd(Yd({},Bd()),{},{controlWrapper:Bd().controlWrapperAutoWidth,input:Bd().overlayInput}),ref:s("overlayText")}),T.createElement(Fd.Z,(0,De.Z)({},v,{record:t,colorProperty:"color",onChange:p,className:"PSPDFKit-Redaction-Annotation-Toolbar-Color",removeTransparent:!0,accessibilityLabel:g(Ke.Z.color),keepOpacity:!0,styles:Yd(Yd({},Bd()),{},{controlWrapper:Bd().controlWrapperAutoWidth}),frameWindow:e.frameWindow,annotationToolbarColorPresets:e.annotationToolbarColorPresets})),T.createElement(ue.bK,{label:g(Ke.Z.repeatText),value:Boolean(t.repeatOverlayText),onUpdate:e=>{p({repeatOverlayText:e})},styles:Yd(Yd({},Bd()),{},{controlWrapper:Bd().controlWrapperAutoWidth})})),title:g(Ke.Z.overlayText),group:"overlayText",className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Overlay-Text",Bd().overlayTextMargin),disabled:!e.canEditAnnotationCP,type:"overlay-text"},{node:T.createElement(Fd.Z,(0,De.Z)({},v,{record:t,colorProperty:"outlineColor",onChange:p,className:"PSPDFKit-Redaction-Annotation-Toolbar-Outline-Color",accessibilityLabel:g(Ke.Z.outlineColor),frameWindow:e.frameWindow,innerRef:s("outlineColor"),annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:g(Ke.Z.outlineColor),group:"outlineColor",className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Outline-Color"),disabled:!e.canEditAnnotationCP,type:"outline-color"},{node:T.createElement(Td.OpacityComponent,(0,De.Z)({},v,{innerRef:s("opacity")})),title:g(Ke.Z.opacity),group:"opacity",className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity"),disabled:!e.canEditAnnotationCP,type:"opacity"},{node:T.createElement(Id.Z,{type:"delete",icon:(0,Hd.KT)(u),title:g(Ke.Z.delete),className:F()("PSPDFKit-Redaction-Annotation-Toolbar-Button-Delete",Bd().button,Bd().deleteButton,{[Bd().disabledButton]:!i}),onPress:i?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===t.pageIndex||!!a||d},{node:T.createElement("div",{className:F()(Bd().applyRedactionsWrapper)},T.createElement(Id.Z,{type:"applyRedaction",title:g(Ke.Z.applyRedactions),className:F()("PSPDFKit-Redaction-Annotation-Toolbar-Button-Apply-Redactions",Bd().button,Bd().buttonNoBorder,Bd().applyRedactionsButton),onPress:f})),type:"apply-redactions",hidden:null===t.pageIndex||!!a||d},{node:T.createElement(jd,{intl:m,isEditing:e.isEditing,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),disabled:!e.canEditAnnotationCP,hidden:!e.showAnnotationNotes||n,type:"annotation-note"}],b={"overlay-text":t.repeatOverlayText?"redaction-text-repeating":"redaction-text-single","outline-color":"border-color"},w={presentational:e.viewportWidth>Je.GI,disabled:Boolean(a),className:F()(Bd().button,Bd().buttonNoBorder)};return T.createElement("div",{className:F()("PSPDFKit-Redaction-Annotation-Toolbar",Bd().content)},T.createElement(qd,{annotationToolbarItems:u,builtInItems:y,btnFocusRefIfFocusedItem:l,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:w,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:a,onGroupTransitionEnded:e.onGroupTransitionEnded,position:h,typeMap:b}))}));const Jd=Xd,Qd=T.memo((function(e){const{annotation:t,intl:n,position:o,expandedGroup:r,btnFocusRefIfFocusedGroup:i,btnFocusRefIfFocusedItem:a,canDeleteSelectedAnnotationCP:s,annotationToolbarItems:l}=e,c=(0,fi.R9)((t=>e.updateAnnotation(t,"stamp"))),{formatMessage:u}=n,d=[{node:T.createElement(Td.OpacityComponent,{intl:n,type:"Image",styles:Bd(),annotation:t,updateAnnotation:c,caretDirection:"bottom"===o?"up":"down",innerRef:i("opacity",!r)}),title:u(Ke.Z.opacity),type:"opacity",disabled:!e.canEditAnnotationCP,group:"opacity",className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:T.createElement(Id.Z,{type:"delete",icon:(0,Hd.KT)(l),title:u(Ke.Z.delete),className:F()("PSPDFKit-Stamp-Annotation-Toolbar-Button-Delete",Bd().button,Bd().deleteButton,{[Bd().disabledButton]:!s}),onPress:s?()=>e.deleteAnnotation():()=>{}}),type:"delete",disabled:null===e.annotation.pageIndex},{node:T.createElement(jd,{intl:e.intl,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),type:"annotation-note",disabled:!e.showAnnotationNotes}];return T.createElement("div",{className:F()("PSPDFKit-Stamp-Annotation-Toolbar",Bd().content)},T.createElement(qd,{annotationToolbarItems:l,builtInItems:d,btnFocusRefIfFocusedItem:a,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:{className:Bd().button},hasDesktopLayout:e.hasDesktopLayout,expandedGroup:r,onGroupTransitionEnded:e.onGroupTransitionEnded,position:o}))}));const ep=Qd,tp=T.memo((function(e){const{annotation:t,intl:n,position:o,expandedGroup:r,btnFocusRefIfFocusedGroup:i,btnFocusRefIfFocusedItem:a,canDeleteSelectedAnnotationCP:s,annotationToolbarItems:l}=e,c=(0,fi.R9)((t=>e.updateAnnotation(t,"image"))),{formatMessage:u}=n,d=[{node:T.createElement(Td.OpacityComponent,{intl:n,type:"Image",styles:Bd(),annotation:t,updateAnnotation:c,caretDirection:"bottom"===o?"up":"down",innerRef:i("opacity",!r)}),title:u(Ke.Z.opacity),type:"opacity",group:"opacity",disabled:!e.canEditAnnotationCP,hidden:e.areOnlyElectronicSignaturesEnabled,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:T.createElement(Id.Z,{type:"counterclockwise",title:u(Ke.Z.rotateCounterclockwise),className:`PSPDFKit-Image-Annotation-Toolbar-Button-Rotate PSPDFKit-Image-Annotation-Toolbar-Button-Rotate-Counterclockwise ${Bd().button} ${Bd().rotateButton}`,onPress:()=>{e.selectedAnnotationPageSize&&e.updateAnnotation((0,J.eJ)(e.annotation,e.selectedAnnotationPageSize,J.z1.COUNTERCLOCKWISE))}}),type:"counterclockwise-rotation",disabled:!e.canEditAnnotationCP,hidden:e.areOnlyElectronicSignaturesEnabled},{node:T.createElement(Id.Z,{type:"clockwise",title:u(Ke.Z.rotateClockwise),className:`PSPDFKit-Image-Annotation-Toolbar-Button-Rotate PSPDFKit-Image-Annotation-Toolbar-Button-Rotate-Clockwise ${Bd().button} ${Bd().rotateButton}`,onPress:()=>{e.selectedAnnotationPageSize&&e.updateAnnotation((0,J.eJ)(e.annotation,e.selectedAnnotationPageSize,J.z1.CLOCKWISE))}}),type:"clockwise-rotation",disabled:!e.canEditAnnotationCP,hidden:e.areOnlyElectronicSignaturesEnabled},{node:T.createElement(Id.Z,{type:"delete",icon:(0,Hd.KT)(l),title:u(Ke.Z.delete),className:F()("PSPDFKit-Image-Annotation-Toolbar-Button-Delete",Bd().button,Bd().deleteButton,{[Bd().disabledButton]:!s}),onPress:s?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex||!!r},{node:T.createElement(jd,{intl:e.intl,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),type:"annotation-note",hidden:!e.showAnnotationNotes||e.areOnlyElectronicSignaturesEnabled}];return T.createElement("div",{className:F()("PSPDFKit-Image-Annotation-Toolbar",Bd().content)},T.createElement(qd,{annotationToolbarItems:l,builtInItems:d,btnFocusRefIfFocusedItem:a,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:{className:Bd().button},hasDesktopLayout:e.hasDesktopLayout,expandedGroup:r,onGroupTransitionEnded:e.onGroupTransitionEnded,position:o}))}));const np=tp;var op=n(927),rp=n.n(op);const ip=["Tab","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"];class ap extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{keyboardFocus:!!this.props.lastToolbarActionUsedKeyboard}),(0,o.Z)(this,"_handleKeyUp",(e=>{ip.includes(e.key)&&this.setState({keyboardFocus:!0})})),(0,o.Z)(this,"_handlePointerUp",(()=>{this.setState({keyboardFocus:!1})})),(0,o.Z)(this,"shouldComponentUpdate",ze.O)}componentDidMount(){var e,t;const n=null===(e=this.props.innerRef)||void 0===e||null===(t=e.current)||void 0===t?void 0:t.parentNode;n&&n.focus()}render(){const{colorPresets:e,activeColor:t,innerRef:n}=this.props,{formatMessage:o}=this.props.intl;return this.props.colorPresets.length<2?null:T.createElement("div",{className:F()("PSPDFKit-Input-ColorPicker",this.props.className,rp().root),role:"radiogroup","aria-label":this.props.accessibilityLabel,onKeyUp:this._handleKeyUp,onPointerUp:this._handlePointerUp,onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||this.setState({keyboardFocus:!1})}},e.map(((e,r)=>{const i=e.color===t||e.color&&t&&e.color.equals(t),a=F()({[rp().input]:!0,[rp().inputIsActive]:i,"PSPDFKit-Input-ColorPicker-Label":!0,"PSPDFKit-Input-ColorPicker-Label-active":i,[rp().focusRing]:this.state.keyboardFocus&&i}),s=F()({[rp().swatch]:!0,[rp().swatchIsTransparent]:!e.color,[rp().swatchIsWhite]:!e.color||e.color.equals(j.Il.WHITE),"PSPDFKit-Input-ColorPicker-Swatch":!0}),l=e.color?e.color.toCSSValue():null;let c=e.localization.defaultMessage;null!=l&&(e.localization.id?c=o(e.localization):null!=Ke.Z[l]&&(c=o(Ke.Z[l])));const u=e.color&&e.color.toCSSValue();return T.createElement("label",{className:a,key:r,title:c,"aria-label":c},T.createElement("span",{className:s,style:{backgroundColor:u||"transparent"}}),T.createElement(ue.TX,null," ",c," "),T.createElement(ue.TX,{tag:"input",type:"radio",name:rp().root,value:r,checked:!!i,onChange:t=>{t.target.checked&&this.props.onClick(e.color)},ref:i&&n?n:void 0}))})))}}(0,o.Z)(ap,"defaultProps",{className:""});const sp=(0,Re.XN)(ap),lp={normal:"normal",multiply:"multiply",screen:"screen",overlay:"overlay",darken:"darken",lighten:"lighten",colorDodge:"colorDodge",colorBurn:"colorBurn",hardLight:"hardLight",softLight:"softLight",difference:"difference",exclusion:"exclusion"},cp=T.forwardRef((function(e,t){let{value:n="normal",onChange:o,className:r,caretDirection:i,frameWindow:a}=e;const{formatMessage:s}=(0,Re.YB)(),l=Object.keys(lp).map((e=>({value:e,label:e}))),c=T.useCallback(up(s,i),[s,i]),u=T.useCallback(dp(s),[s]);return T.createElement(T.Fragment,null,T.createElement(rd.Z,{items:l,value:{label:n,value:n},discreteDropdown:!1,isActive:!1,caretDirection:i,accessibilityLabel:s(Ke.Z.blendMode),className:F()(Bd().blendModeSelect,r,"PSPDFKit-Toolbar-DropdownGroup","PSPDFKit-Toolbar-DropdownGroup-Toolbar"),menuClassName:Bd().dropdownMenu,ButtonComponent:c,ItemComponent:u,onSelect:(e,t)=>{if(t.value){const e=lp[t.value];o(e)}},frameWindow:a,ref:t}),T.createElement("div",{className:F()(Bd().fontSizeNativeFlexbox)},T.createElement("div",{className:Bd().nativeDropdown},T.createElement("select",{"aria-label":s(Ke.Z.blendMode),className:"PSPDFKit-Input-Dropdown-Select",value:n,onChange:e=>{if(void 0!==e.target.value){const t=lp[e.target.value];o(t)}},ref:t},l.map((e=>T.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},s(pp[e.label]))))))))})),up=(e,t)=>n=>{let{btnComponentProps:o,selectedItem:r}=n;return T.createElement(_e.Z,(0,De.Z)({is:"div"},o,{ref:o.ref,className:F()("PSPDFKit-Input-Dropdown-Button ",ud().selectBox,Bd().selectBox),style:{minWidth:"100px"}}),T.createElement("span",null,null!=r&&r.label?e(pp[r.label]):null),T.createElement("div",null,(0,Ze.Z)({type:"caret-"+t,style:{width:12,height:12,flexBasis:12},className:F()(ud().dropdownIcon)})))},dp=e=>t=>{let{item:n,state:o,itemComponentProps:r,ref:i}=t;return T.createElement(_e.Z,(0,De.Z)({is:"div",ref:i,className:F()(ud().item,{[ud().isSelected]:(null==o?void 0:o.includes("selected"))||(null==o?void 0:o.includes("focused"))}),name:null==n?void 0:n.label},r),null!=n&&n.label?e(pp[n.label]):null)},pp=(0,Re.vU)({normal:{id:"normal",defaultMessage:"Normal",description:"Blend Mode Normal"},multiply:{id:"multiply",defaultMessage:"Multiply",description:"Blend Mode Multiply"},screen:{id:"screenBlend",defaultMessage:"Screen",description:"Blend Mode Screen"},overlay:{id:"overlay",defaultMessage:"Overlay",description:"Blend Mode Overlay"},darken:{id:"darken",defaultMessage:"Darken",description:"Blend Mode Darken"},lighten:{id:"lighten",defaultMessage:"Lighten",description:"Blend Mode Lighten"},colorDodge:{id:"colorDodge",defaultMessage:"Color Dodge",description:"Blend Mode Color Dodge"},colorBurn:{id:"colorBurn",defaultMessage:"Color Burn",description:"Blend Mode Color Burn"},hardLight:{id:"hardLight",defaultMessage:"Hard Light",description:"Blend Mode Hard Light"},softLight:{id:"softLight",defaultMessage:"Soft Light",description:"Blend Mode Soft Light"},difference:{id:"difference",defaultMessage:"Difference",description:"Blend Mode Difference"},exclusion:{id:"exclusion",defaultMessage:"Exclusion",description:"Blend Mode Exclusion"},hue:{id:"hue",defaultMessage:"Hue",description:"Blend Mode Hue"},saturation:{id:"saturation",defaultMessage:"Saturation",description:"Blend Mode Saturation"},color:{id:"color",defaultMessage:"Color",description:"Blend Mode Color"},luminosity:{id:"luminosity",defaultMessage:"Luminosity",description:"Blend Mode Luminosity"}}),fp=T.memo((function(e){const t=(0,fi.R9)((t=>{const{annotation:n,isEditing:o,dispatch:r,variantAnnotationPresetID:i,canEditAnnotationCP:a}=e;if(a)if(n.rects.size>0&&o)r((0,Qt.gX)(t)),r((0,En.d5)()),r((0,je.vR)());else{const o=i||fe.hD.get(n.constructor);e.updateAnnotation(t,o)}})),{position:n,annotation:o,expandedGroup:r,btnFocusRefIfFocusedGroup:i,btnFocusRefIfFocusedItem:a,canDeleteSelectedAnnotationCP:s,lastToolbarActionUsedKeyboard:l,annotationToolbarItems:c}=e,{formatMessage:u}=e.intl,d=mt.Ei.TEXT_MARKUP_COLOR_PRESETS,p=mt.Ei.HIGHLIGHT_COLOR_PRESETS,f=o instanceof j.FV?p:d,h=[{node:T.createElement("div",{className:Bd().controlWrapper},T.createElement("div",{className:Bd().control},T.createElement(sp,{className:"PSPDFKit-Text-Markup-Annotation-Toolbar-Color",accessibilityLabel:u(Ke.Z.color),colorPresets:f,activeColor:o.color,onClick:e=>t({color:e}),innerRef:i("color",!r),lastToolbarActionUsedKeyboard:l}))),title:u(Ke.Z.color),group:"color",type:"color",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Color")},{node:T.createElement(Td.OpacityComponent,{intl:e.intl,type:"Text-Markup",styles:Bd(),annotation:o,updateAnnotation:e=>t(e),caretDirection:"bottom"===n?"up":"down",innerRef:i("opacity")}),title:u(Ke.Z.opacity),group:"opacity",type:"opacity",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:T.createElement("div",{className:Bd().controlWrapper},T.createElement("div",{className:Bd().control},T.createElement(cp,{value:o.blendMode,className:"PSPDFKit-Text-Markup-Annotation-Toolbar-Blend-Mode",onChange:e=>t({blendMode:e}),caretDirection:"bottom"===n?"up":"down",frameWindow:e.frameWindow,ref:i("blendMode")}))),title:u(Ke.Z.blendMode),group:"blendMode",type:"blend-mode",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-BlendMode")},{node:T.createElement(Id.Z,{type:"delete",icon:(0,Hd.KT)(c),title:u(Ke.Z.delete),className:F()("PSPDFKit-Text-Markup-Annotation-Toolbar-Button-Delete",Bd().button,Bd().deleteButton,{[Bd().disabledButton]:!s}),onPress:s?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex||!!r||e.isEditing},{node:T.createElement(jd,{intl:e.intl,isEditing:e.isEditing,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),type:"annotation-note",hidden:!e.showAnnotationNotes||e.isEditing}],m={className:Bd().button,presentational:e.viewportWidth>=Je.GI,disabled:!!r};return T.createElement("div",{className:F()("PSPDFKit-Text-Markup-Annotation-Toolbar",Bd().content)},T.createElement(qd,{annotationToolbarItems:c,builtInItems:h,btnFocusRefIfFocusedItem:a,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:m,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:r,onGroupTransitionEnded:e.onGroupTransitionEnded,position:n,typeMap:{color:"border-color"}}))}));const hp=fp;var mp=n(38623),gp=n(47751),vp=n(61252),yp=n.n(vp),bp=n(70190),wp=n.n(bp);const Sp=e=>{let{item:t,state:n,itemComponentProps:o,ref:r}=e;return T.createElement(Ep,{item:t,state:n,fontFamily:void 0,itemComponentProps:o,ref:r})},Ep=T.forwardRef(((e,t)=>{var n;let{item:o,state:r,fontFamily:i,itemComponentProps:a,width:s}=e;return T.createElement(_e.Z,(0,De.Z)({is:"div",className:F()(ud().item,yp().item,{[ud().isSelected]:(null==r?void 0:r.includes("selected"))||(null==r?void 0:r.includes("focused"))}),name:null!==(n=null==o?void 0:o.value)&&void 0!==n?n:null==o?void 0:o.label,style:{fontFamily:i,width:s},ref:t},a),null!=r&&r.includes("selected")?T.createElement(Ye.Z,{src:wp(),className:yp().icon}):T.createElement("span",{className:yp().icon}),null==o?void 0:o.label)})),Pp=e=>function(t){var n;let{btnComponentProps:o,selectedItem:r,caretDirection:i,disabled:a,isOpen:s}=t;const l=T.useRef(),{formatMessage:c}=(0,Re.YB)();T.useLayoutEffect((()=>{l.current&&(l.current.value=(null==r?void 0:r.label)||"")}),[r]);const u=T.useCallback((()=>{var t;const n=null===(t=l.current)||void 0===t?void 0:t.value;if(n&&l.current&&n!==(null==r?void 0:r.label)){const t=parseFloat(n);var o,i,a;if(Number.isNaN(t))l.current.value=null!==(o=null==r?void 0:r.label)&&void 0!==o?o:"";else e({selectedItem:{label:null!==(i=t.toString())&&void 0!==i?i:"",value:null!==(a=t.toString())&&void 0!==a?a:""},preventFocusShift:!1})}}),[null==r?void 0:r.label]);return T.createElement("div",{className:F()(yp().wrapper)},T.createElement(Nd,{accessibilityLabel:c(Ke.Z.fontSize),className:yp().textInput,onBlur:u,onKeyDown:t=>{var n,o;const r=null!==(n=null===(o=l.current)||void 0===o?void 0:o.value)&&void 0!==n?n:"0";if("ArrowUp"===t.key){var i,a;const t=parseFloat(r)+1;e({selectedItem:{label:null!==(i=t.toString())&&void 0!==i?i:"",value:null!==(a=t.toString())&&void 0!==a?a:""},preventFocusShift:!0})}else if("ArrowDown"===t.key){var s,c;const t=Math.max(0,parseFloat(r)-1);e({selectedItem:{label:null!==(s=t.toString())&&void 0!==s?s:"",value:null!==(c=t.toString())&&void 0!==c?c:""},preventFocusShift:!0})}else"Enter"===t.key&&(t.preventDefault(),u())},onFocus:()=>{tt.G6&&setTimeout((()=>{l.current&&l.current.setSelectionRange(0,l.current.value.length)}),100)},name:"fontSize",styles:{input:F()({[yp().inputDisabled]:a},yp().textInputField)},disabled:a,ref:l,autoFocus:!1}),T.createElement("button",(0,De.Z)({},o,{ref:o.ref,key:null!==(n=null==r?void 0:r.value)&&void 0!==n?n:null==r?void 0:r.label,className:F()("PSPDFKit-Input-Dropdown-Button",ud().selectBox,yp().arrowDropdownBtn,yp().fontSizeDropdownBtn,{[yp().inputDisabled]:a,[ud().disabled]:a}),disabled:a}),T.createElement(ue.TX,null,c(Ke.Z.fontSize)),T.createElement("div",null,(0,Ze.Z)({type:`caret-${i}`,style:{width:12,height:12,flexBasis:12},className:F()(ud().dropdownIcon,{[ud().isOpen]:s})}))))},xp=function(e){const{disabled:t=!1}=e;return T.createElement(rd.Z,{frameWindow:e.frameWindow,items:e.items,value:e.value,className:e.className,maxCols:1,isActive:!1,caretDirection:e.caretDirection,disabled:t,menuClassName:F()(e.menuClass,yp().dropdownMenu),ButtonComponent:Pp(e.onSelect),ItemComponent:Sp,onSelect:(t,n)=>{e.onSelect({selectedItem:n,preventFocusShift:!1})},menuPositionOffsets:{top:-1}})},Dp=T.forwardRef((function(e,t){var o,r;const{caretDirection:i,onChange:a,frameWindow:s,intl:l,styles:c,fontSizes:u,fontFamilyItems:d,isBold:p=!1,isItalic:f=!1,isUnderline:h=!1,currentFontFamily:m,currentFontSize:g,currentHorizontalAlign:v,currentVerticalAlign:y,showAlignmentOptions:b,showFontStyleOptions:w,disabled:S=!1,showUnderline:E=!1}=e,{formatMessage:P}=l,x=T.useCallback(Ap(150,i,c,S,c.fontFamily),[i,c,S]),D=u.map((e=>({label:e.toString(),value:e.toString(),disabled:!1}))),C=d.map((e=>{var t,n;return T.createElement("option",{key:null!==(t=e.value)&&void 0!==t?t:e.label,value:null!==(n=e.value)&&void 0!==n?n:e.label,disabled:e.disabled},e.label)}));return T.createElement("div",{className:c.controlWrapper},T.createElement("div",{className:F()(c.control,c.textFormatControls)},T.createElement("div",{className:F()(c.fontFamilyNativeFlexbox)},T.createElement("div",{className:c.nativeDropdown},T.createElement("select",{"aria-label":P(Ke.Z.font),className:"PSPDFKit-Input-Dropdown-Select",value:null!=m?m:"",onChange:e=>{void 0!==e.target.value&&a({modification:{font:e.target.value}})},ref:t,disabled:S},C,d.some((e=>e.value===m))?null:T.createElement("option",{style:{display:"none"}},m)))),T.createElement(rd.Z,{items:d,value:m?{label:m,value:m}:null,accessibilityLabel:P(Ke.Z.font),discreteDropdown:!1,isActive:!1,caretDirection:i,className:F()(e.fontFamilyClasses,c.fontFamilySelect),menuClassName:F()(c.dropdownMenu,e.fontFamilyMenuClasses),ButtonComponent:x,ItemComponent:kp,onSelect:(e,t)=>{null!=t.value&&a({modification:{font:t.value}})},frameWindow:s,disabled:S}),T.createElement(xp,{items:D,value:{label:g?g.toString():"",value:(null!=g?g:"").toString()||""},frameWindow:s,className:F()(c.fontSizeSelect,e.fontSizeClasses),menuClass:F()(e.fontSizeMenuClasses),caretDirection:i,disabled:S,onSelect:e=>{let{selectedItem:t,preventFocusShift:n}=e;null!=t.value&&a({modification:{fontSize:Number(t.value)},preventFocusShift:n})}}),w?T.createElement(T.Fragment,null,T.createElement(ue.zx,{className:F()(c.fontStyleBtn,c.fontStyleBtnBorderless,{[c.activeFontStyleBtn]:p}),style:{marginRight:8},title:P(Ke.Z.bold),onClick:()=>{a({modification:{bold:!p}})},disabled:S,"aria-pressed":p},T.createElement(Ye.Z,{src:n(99604)}),T.createElement(ue.TX,null,P(Ke.Z.bold))),T.createElement(ue.zx,{className:F()(c.fontStyleBtn,c.fontStyleBtnBorderless,{[c.activeFontStyleBtn]:f}),onClick:()=>{a({modification:{italic:!f}})},disabled:S,title:P(Ke.Z.italic),"aria-pressed":f},T.createElement(Ye.Z,{src:n(99082)}),T.createElement(ue.TX,null,P(Ke.Z.italic))),E&&T.createElement(ue.zx,{className:F()(c.fontStyleBtn,c.fontStyleBtnBorderless,{[c.activeFontStyleBtn]:h}),style:{marginLeft:8},onClick:()=>{a({modification:{underline:!h}})},disabled:S,title:P(Ke.Z.underline),"aria-pressed":h},T.createElement(Ye.Z,{src:n(80394)}),T.createElement(ue.TX,null,P(Ke.Z.underline)))):null,b?T.createElement(T.Fragment,null,T.createElement("span",{className:c.radioGroupWrapper},T.createElement(ue.Ee,{inputName:"horizontalAlign",label:P(Ke.Z.horizontalAlignment),selectedOption:null!=v?v:"",labelClassNamePrefix:null!==(o=e.horizontalAlignClasses)&&void 0!==o?o:"",options:["left","center","right"].map((e=>({value:e,label:P(Ke.Z[`alignment${(0,qn.kC)(e)}`]),iconPath:n(58758)(`./text-align-horizontal-${e}.svg`)}))),onChange:e=>a({modification:{horizontalAlign:e}}),disabled:S})),T.createElement(ue.Ee,{inputName:"verticalAlign",label:P(Ke.Z.verticalAlignment),selectedOption:null!=y?y:"",labelClassNamePrefix:null!==(r=e.verticalAlignClasses)&&void 0!==r?r:"",options:["top","center","bottom"].map((e=>({value:e,label:P(Ke.Z["center"===e?"alignmentCenter":e]),iconPath:n(29712)(`./text-align-vertical-${e}.svg`)}))),onChange:e=>a({modification:{verticalAlign:e}}),disabled:S})):null))})),Cp=T.forwardRef(((e,t)=>{var n;let{item:o,state:r,fontFamily:i,itemComponentProps:a,width:s}=e;return T.createElement(_e.Z,(0,De.Z)({is:"div",className:F()(ud().item,{[ud().isSelected]:(null==r?void 0:r.includes("selected"))||(null==r?void 0:r.includes("focused"))}),name:null!==(n=null==o?void 0:o.value)&&void 0!==n?n:null==o?void 0:o.label,style:{fontFamily:i,width:s},ref:t},a),null==o?void 0:o.label)})),kp=e=>{let{item:t,state:n,itemComponentProps:o}=e;return T.createElement(Cp,{item:t,state:n,fontFamily:null==t?void 0:t.label,itemComponentProps:o})},Ap=(e,t,n,o,r)=>i=>{var a;let{btnComponentProps:s,selectedItem:l}=i;return T.createElement("button",(0,De.Z)({},s,{ref:s.ref,key:null!==(a=null==l?void 0:l.value)&&void 0!==a?a:null==l?void 0:l.label,className:F()("PSPDFKit-Input-Dropdown-Button",ud().selectBox,n.selectBox,{[ad().isDisabled]:o,[n.controlIsDisabled]:o,[ud().disabled]:o}),style:{width:e},disabled:o}),T.createElement("span",{className:r},null==l?void 0:l.label),T.createElement("div",null,(0,Ze.Z)({type:`caret-${t}`,style:{width:12,height:12,flexBasis:12},className:F()(ud().dropdownIcon)})))};var Op=n(56939),Tp=n.n(Op);function Ip(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Fp(e){for(var t=1;te-t)):d,h=mp.vt.toArray().map((e=>({label:e,value:e}))),m=h.concat(c.toArray().map((e=>({label:e,value:e}))).filter((e=>!h.some((t=>t.value===e.value)))));if(!mp.vt.has(n.font)&&!c.has(n.font)&&""!==n.font.trim()){const e=u(Ke.Z.fontFamilyUnsupported,{arg0:n.font});m.push({label:e,value:e,disabled:!0})}return T.createElement(Dp,{onChange:e=>{let{modification:t}=e;return r(t)},caretDirection:o,frameWindow:i,ref:t,intl:a,styles:Fp(Fp({},s),{},{fontStyleBtn:Tp().fontStyleBtn,fontStyleBtnBorderless:Tp().fontStyleBtnBorderless,activeFontStyleBtn:Tp().activeFontStyleBtn}),fontSizes:f,fontFamilyItems:m,showAlignmentOptions:!0,showFontStyleOptions:l,showUnderline:l,isBold:e.selectedIsBold,isItalic:e.selectedIsItalic,isUnderline:e.selectedIsUnderline,currentFontFamily:n.font,currentFontSize:p,currentHorizontalAlign:n.horizontalAlign,currentVerticalAlign:n.verticalAlign,fontFamilyClasses:"PSPDFKit-Text-Annotation-Toolbar-Font-Family",fontSizeClasses:"PSPDFKit-Text-Annotation-Toolbar-Font-Size",horizontalAlignClasses:"PSPDFKit-Text-Annotation-Toolbar-Alignment",verticalAlignClasses:"PSPDFKit-Text-Annotation-Toolbar-Vertical-Alignment",inlineStyleClasses:"PSPDFKit-Text-Annotation-Toolbar-Inline-Style"})}));function _p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Rp(e){for(var t=1;t{if(!e.canEditAnnotationCP)return;let n=e.annotation.merge(t);if((0,J.Vc)(n))e.updateAnnotation(t);else if(e.selectedAnnotationPageSize&&(t.fontSize||t.font||t.text&&"xhtml"===t.text.format)){const{rotation:o}=n;let r=(0,ot.h4)(n);const i=r.boundingBox.getCenter();r=(0,vt.Zv)(r.set("rotation",0),e.selectedAnnotationPageSize,e.zoomLevel),r=(0,vt.XA)(r,e.zoomLevel);const a=new j.E9({x:r.boundingBox.getCenter().x-i.x,y:r.boundingBox.getCenter().y-i.y}),s=a.rotate(o),l=new j.E9({x:s.x-a.x,y:s.y-a.y});r=r.update("boundingBox",(e=>null==e?void 0:e.translate(l))),n=(0,ot.az)(r.set("rotation",o)),e.updateAnnotation(Bp(Bp({},t),{},{isFitting:n.isFitting,boundingBox:n.boundingBox}))}else{const{isFitting:o}=(0,vt.XA)((0,ot.h4)(n).set("rotation",0),e.zoomLevel);e.updateAnnotation(Bp(Bp({},t),{},{isFitting:o}))}})),{activeTextStyle:i,updateAnnotationOrEditorText:s,selectedIsUnderline:l,selectedIsBold:c,selectedIsItalic:u}=function(e){let{editor:t,frameWindow:n,updateAnnotation:o,text:r,isRichText:i}=e;const[s,l]=(0,T.useState)(null),[c,u]=(0,T.useState)(!1),[d,p]=(0,T.useState)(!1),[f,h]=(0,T.useState)(!1),m=(0,T.useCallback)((()=>{t&&(u(ue.ri.isMarkActive(t,"bold")),p(ue.ri.isMarkActive(t,"italic")),h(ue.ri.isMarkActive(t,"underline")))}),[t]),g=(0,T.useCallback)((()=>{if(!t||!i)return;const e=(0,qn.BK)(ue.ri.getSelectedNodesColor(t,"fontColor")),n=(0,qn.BK)(ue.ri.getSelectedNodesColor(t,"backgroundColor"));l({fontColor:e?j.Il.fromHex(e):Np,backgroundColor:n?j.Il.fromHex(n):null}),m()}),[t,m,i]);t&&(t.onSelectionChange=g,t.onValueChange=()=>{m(),g()}),(0,T.useEffect)((()=>{var e;if(i&&t)return null===(e=n.document)||void 0===e||e.addEventListener("keydown",o),()=>{var e;null===(e=n.document)||void 0===e||e.removeEventListener("keydown",o)};function o(e){t&&(!e.ctrlKey&&!e.metaKey||"u"!==e.key&&"i"!==e.key&&"b"!==e.key||m())}}),[t,n,i,m]);const v=(0,T.useCallback)((e=>{const i=new Map(Object.entries(e)),s=i.has("fontColor")||i.has("backgroundColor"),c=i.has("bold")||i.has("italic")||i.has("underline");if(s){const i=e.fontColor?"fontColor":"backgroundColor";var d,f;if(ue.ri.isRangeSelected(t))ue.ri.applyStyle(t,i,!e[i]||null!==(d=e[i])&&void 0!==d&&d.equals(j.Il.TRANSPARENT)?null:e[i].toHex()),o({text:{format:"xhtml",value:ue.ri.serialize(null==t?void 0:t.children[0])}}),l((t=>Rp(Rp({},t),{},{[i]:e[i]}))),null===(f=n.getSelection())||void 0===f||f.removeAllRanges();else if("fontColor"===i){const t=ue.ri.setStyleOrToggleFormat(r,i,e[i].toHex());o({text:{format:"xhtml",value:t},borderColor:e[i]})}else l({backgroundColor:e.backgroundColor}),o(e)}else if(c){const n=Object.keys(e)[0];if((0,a.kG)(t,"Editor is not defined"),ue.ri.isRangeSelected(t)){switch(ue.ri.toggleMark(t,n),n){case"bold":u(e.bold);break;case"italic":p(e.italic);break;case"underline":h(e.underline)}o({text:{format:"xhtml",value:ue.ri.serialize(null==t?void 0:t.children[0])}})}else{const e=ue.ri.setStyleOrToggleFormat(r,n);o({text:{format:"xhtml",value:e}})}}else o(e)}),[o,r,t,n]);if(i){if(t)return{activeTextStyle:s,updateAnnotationOrEditorText:v,selectedIsBold:c,selectedIsItalic:d,selectedIsUnderline:f};{const{fontColor:e,isUnderlined:t,isItalic:n,isBold:o}=ue.ri.getComputedStyleAll(r);return{activeTextStyle:{fontColor:e?j.Il.fromHex(e):void 0,backgroundColor:null==s?void 0:s.backgroundColor},updateAnnotationOrEditorText:v,selectedIsBold:o,selectedIsItalic:n,selectedIsUnderline:t}}}return{updateAnnotationOrEditorText:o}}({editor:e.richTextEditorRef,frameWindow:e.frameWindow,updateAnnotation:r,text:(null===(t=e.annotation.text)||void 0===t?void 0:t.value)||"",isRichText:o}),{annotation:d,position:p,intl:f,expandedGroup:h,btnFocusRefIfFocusedGroup:m,canDeleteSelectedAnnotationCP:g,keepSelectedTool:v,interactionMode:y,annotationToolbarColorPresets:b}=e,{formatMessage:w}=f,S="bottom"===p?"up":"down",E={onChange:s,annotation:d,styles:Bd(),intl:f,caretDirection:S},P=v&&y===x.A.TEXT,D=[{node:T.createElement("div",{className:Bd().controlWrapper},T.createElement("div",{className:Bd().control},T.createElement(Fd.Z,(0,De.Z)({},E,{record:o?Bp(Bp({},i),{},{opacity:d.opacity}):d,colorProperty:"fontColor",className:"PSPDFKit-Text-Annotation-Toolbar-Font-Color",removeTransparent:!0,frameWindow:e.frameWindow,accessibilityLabel:w(Ke.Z.color),innerRef:m("color"),annotationToolbarColorPresets:b})))),title:w(Ke.Z.color),type:"color",group:"color",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-TextColor")},{node:T.createElement("div",{className:Bd().controlWrapper},T.createElement("div",{className:Bd().control},T.createElement(Fd.Z,(0,De.Z)({},E,{record:o?Bp(Bp({},i),{},{opacity:d.opacity},!e.richTextEditorRef&&{backgroundColor:d.backgroundColor}):d,colorProperty:"backgroundColor",className:"PSPDFKit-Text-Annotation-Toolbar-Background-Color",frameWindow:e.frameWindow,accessibilityLabel:w(Ke.Z.fillColor),innerRef:m("backgroundColor"),annotationToolbarColorPresets:b})))),title:w(Ke.Z.fillColor),type:"background-color",group:"backgroundColor",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-FillColor")},{node:T.createElement(Td.OpacityComponent,{intl:e.intl,type:"Text",styles:Bd(),annotation:d,updateAnnotation:r,caretDirection:S,innerRef:m("opacity")}),title:w(Ke.Z.opacity),type:"opacity",group:"opacity",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:T.createElement(Mp,(0,De.Z)({},E,{frameWindow:e.frameWindow,ref:m("font"),selectedIsBold:c,selectedIsItalic:u,selectedIsUnderline:l,showInlineFontStyles:o,customFontsReadableNames:e.customFontsReadableNames})),title:w(Ke.Z.font),type:"font",group:"font",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Font")},{node:T.createElement(Id.Z,{type:"delete",icon:(0,Hd.KT)(e.annotationToolbarItems),title:w(Ke.Z.delete),className:F()("PSPDFKit-Text-Annotation-Toolbar-Button-Delete",Bd().button,Bd().deleteButton,{[Bd().disabledButton]:!g}),onPress:g?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:P||null===e.annotation.pageIndex||!!h,disabled:!e.canDeleteSelectedAnnotationCP}],C={className:Bd().button,presentational:e.viewportWidth>Je.GI,disabled:!!h};return T.createElement("div",{ref:n,className:F()("PSPDFKit-Text-Annotation-Toolbar",Bd().content)},T.createElement(qd,{annotationToolbarItems:e.annotationToolbarItems,builtInItems:D,btnFocusRefIfFocusedItem:e.btnFocusRefIfFocusedItem,onGroupExpansion:e.onGroupExpansion,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:e.expandedGroup,builtInToolbarProps:C,onGroupTransitionEnded:e.onGroupTransitionEnded,position:e.position,typeMap:{color:"text-color","background-color":"fill-color"}}))}));const zp=jp,Kp=T.forwardRef((function(e,t){const{annotation:n,updateAnnotation:o,intl:r}=e,{formatMessage:i}=r,[a,s]=T.useState(!1),l=T.useCallback((e=>{"Tab"===e.key&&s(!0)}),[s]),c=T.useCallback((()=>{s(!1)}),[s]);return T.createElement("div",{className:Bd().controlWrapper},T.createElement("div",{className:`${Bd().control} PSPDFKit-Note-Annotation-Toolbar-Icons`,role:"radiogroup","aria-label":i(Ke.Z.icon),onKeyUp:l,onPointerUp:c,onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||s(!1)}},Object.keys(en.Zi).map(((e,r)=>{const s=en.Y4[e],l=(0,$.Oe)(s),c=n.icon===e,u=F()(ld().root,Bd().noteIconLabel,Bd().button,Bd().icon,"PSPDFKit-Tool-Button",c&&"PSPDFKit-Tool-Button-active",`PSPDFKit-Note-Annotation-Icon-${l}`,{[Bd().isActive]:c,[Bd().focusRing]:c&&a});return T.createElement("label",{"aria-label":i(Zp[`icon${(0,qn.kC)(s)}`]),className:u,key:`NoteAnnotationToolbarIcon-${e}`},T.createElement(Ze.Z,{type:`note/toolbar/${s}`}),T.createElement(ue.TX,{tag:"input",type:"radio",name:Bd().radioInput,value:r,checked:c,onChange:t=>{t.target.checked&&o({icon:e})},ref:c&&t?t:void 0}))}))))})),Zp=(0,Re.vU)({iconRightPointer:{id:"iconRightPointer",defaultMessage:"Right Pointer",description:"Icon Right Pointer"},iconRightArrow:{id:"iconRightArrow",defaultMessage:"Right Arrow",description:"Icon Right Arrow"},iconCheck:{id:"iconCheck",defaultMessage:"Checkmark",description:"Icon Checkmark"},iconCircle:{id:"iconCircle",defaultMessage:"Circle",description:"Icon Circle"},iconCross:{id:"iconCross",defaultMessage:"Cross",description:"Icon Cross"},iconInsert:{id:"iconInsert",defaultMessage:"Insert Text",description:"Icon Insert Text"},iconNewParagraph:{id:"iconNewParagraph",defaultMessage:"New Paragraph",description:"Icon New Paragraph"},iconNote:{id:"iconNote",defaultMessage:"Text Note",description:"Icon Text Note"},iconComment:{id:"iconComment",defaultMessage:"Comment",description:"Icon Comment"},iconParagraph:{id:"iconParagraph",defaultMessage:"Paragraph",description:"Icon Paragraph"},iconHelp:{id:"iconHelp",defaultMessage:"Help",description:"Icon Help"},iconStar:{id:"iconStar",defaultMessage:"Star",description:"Icon Star"},iconKey:{id:"iconKey",defaultMessage:"Key",description:"Icon Key"}}),Up=T.memo((function(e){let{annotation:t,intl:n,updateAnnotation:o,isAnnotationReadOnly:r,deleteAnnotation:i,position:a,viewportWidth:s,expandedGroup:l,btnFocusRefIfFocusedGroup:c,btnFocusRefIfFocusedItem:u,canEditAnnotationCP:d,canDeleteSelectedAnnotationCP:p,keepSelectedTool:f,interactionMode:h,annotationToolbarItems:m,onGroupExpansion:g,hasDesktopLayout:v,onGroupTransitionEnded:y}=e;const{formatMessage:b}=n,w=mt.Ei.NOTE_COLOR_PRESETS,S=r(t)||t instanceof li.FN,E=null!==t.pageIndex&&!r(t),P=f&&h===x.A.NOTE,D=[{node:T.createElement("div",{className:Bd().controlWrapper},T.createElement("div",{className:Bd().control},T.createElement(sp,{className:"PSPDFKit-Note-Annotation-Toolbar-Color",accessibilityLabel:b(Ke.Z.color),colorPresets:w,activeColor:t.color,onClick:e=>o({color:e}),innerRef:c("color")}))),title:b(Ke.Z.color),className:`${Bd().formGroup} PSPDFKit-Toolbox PSPDFKit-Toolbox-FillColor`,hidden:S,disabled:!d,onPress:()=>{},type:"color",group:"color",hideSeparator:!0},{node:T.createElement(Kp,{annotation:t,updateAnnotation:o,intl:n,ref:c("note")}),title:b(Ke.Z.icon),hidden:S,onPress:()=>{},disabled:!d,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-NoteIcon"),type:"note-icon",group:"note"},{node:T.createElement(Id.Z,{type:"delete",icon:(0,Hd.KT)(m),title:b(Ke.Z.delete),className:F()("PSPDFKit-Note-Annotation-Toolbar-Button-Delete",Bd().button,Bd().deleteButton,{[Bd().disabledButton]:!p}),onPress:p?()=>i():()=>{}}),disabled:!p,hidden:P||!(E&&"note"!==l&&"color"!==l),type:"delete",onPress:()=>{},className:""}];return T.createElement("div",{className:F()("PSPDFKit-Note-Annotation-Toolbar",Bd().content)},T.createElement(qd,{annotationToolbarItems:m,builtInItems:D,btnFocusRefIfFocusedItem:u,onGroupExpansion:g,builtInToolbarProps:e=>({className:F()(Bd().button,{[Bd().iconOnlyMobile]:"note-icon"===e.type}),presentational:s>Je.GI,disabled:!!l}),hasDesktopLayout:v,expandedGroup:l,onGroupTransitionEnded:y,position:a,typeMap:{"note-icon":"note",color:"fill-color"}}))}));const Vp=Up,Gp=["boundingBox"],Wp=T.memo((function(e){const t=(0,fi.R9)((t=>{const{annotation:n,isEditing:o,dispatch:i,canEditAnnotationCP:a}=e;if(a)if(n.lines.size>0&&o){const{boundingBox:e}=t,n=(0,r.Z)(t,Gp);i((0,Qt.gX)(n)),i((0,En.P4)())}else t.lineWidth&&n.lines.size>0&&(t.boundingBox=n.boundingBox.grow((t.lineWidth-n.lineWidth)/2)),e.updateAnnotation(t)})),{annotation:n,intl:o,position:i,isEditing:a,expandedGroup:s,canDeleteSelectedAnnotationCP:l,btnFocusRefIfFocusedGroup:c,lastToolbarActionUsedKeyboard:u,annotationToolbarItems:d,btnFocusRefIfFocusedItem:p}=e,{formatMessage:f}=o,h={onChange:t,record:n,styles:Bd(),intl:o,caretDirection:"bottom"===i?"up":"down",frameWindow:e.frameWindow},m=e.areOnlyElectronicSignaturesEnabled&&e.annotation.isSignature,g=[{node:T.createElement("div",{className:Bd().controlWrapper},T.createElement("div",{className:Bd().control},T.createElement(Fd.Z,(0,De.Z)({},h,{className:"PSPDFKit-Ink-Annotation-Toolbar-Stroke-Color",colorProperty:"strokeColor",removeTransparent:!0,accessibilityLabel:f(Ke.Z.color),innerRef:c("color",!s),lastToolbarActionUsedKeyboard:u,annotationToolbarColorPresets:e.annotationToolbarColorPresets})))),title:f(Ke.Z.color),className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-StrokeColor"),hidden:m,disabled:!e.canEditAnnotationCP,type:"stroke-color",group:"color"},{node:T.createElement("div",{className:Bd().controlWrapper},T.createElement("div",{className:Bd().control},T.createElement(Fd.Z,(0,De.Z)({},h,{accessibilityLabel:f(Ke.Z.fillColor),className:"PSPDFKit-Ink-Annotation-Toolbar-Background-Color",colorProperty:"backgroundColor",innerRef:c("backgroundColor"),annotationToolbarColorPresets:e.annotationToolbarColorPresets})))),title:f(Ke.Z.fillColor),className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-FillColor"),hidden:m,disabled:!e.canEditAnnotationCP,type:"fill-color",group:"backgroundColor"},{node:T.createElement(Td.OpacityComponent,{intl:e.intl,type:"Ink",styles:Bd(),annotation:n,updateAnnotation:t,caretDirection:"bottom"===i?"up":"down",innerRef:c("opacity")}),title:f(Ke.Z.opacity),className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity"),hidden:m,disabled:!e.canEditAnnotationCP,type:"opacity",group:"opacity"},{node:T.createElement(Td.StrokeWidthComponent,{intl:e.intl,type:"Ink",styles:Bd(),annotation:n,updateAnnotation:t,caretDirection:"bottom"===i?"up":"down",accessibilityLabel:f(Ke.Z.thickness),ref:c("lineWidth")}),title:f(Ke.Z.thickness),className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth"),hidden:m,disabled:!e.canEditAnnotationCP,type:"line-width",group:"lineWidth"},{node:T.createElement("div",{className:Bd().controlWrapper},T.createElement("div",{className:Bd().control},T.createElement(cp,{value:n.blendMode,className:"PSPDFKit-Ink-Annotation-Toolbar-Blend-Mode",onChange:e=>t({blendMode:e}),caretDirection:"bottom"===i?"up":"down",frameWindow:e.frameWindow,ref:c("blendMode")}))),title:f(Ke.Z.blendMode),className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-BlendMode"),hidden:m,disabled:!e.canEditAnnotationCP,type:"blend-mode",group:"blendMode"},{node:T.createElement(Id.Z,{type:"delete",icon:(0,Hd.KT)(d),title:f(Ke.Z.delete),className:F()("PSPDFKit-Ink-Annotation-Toolbar-Button-Delete",Bd().button,Bd().deleteButton,{[Bd().disabledButton]:!l}),onPress:l?()=>e.deleteAnnotation():()=>{}}),disabled:!l,hidden:!(null!=e.annotation.pageIndex&&!a),type:"delete"},{node:T.createElement(jd,{intl:o,isEditing:a,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),hidden:e.areOnlyElectronicSignaturesEnabled||!e.showAnnotationNotes||a,disabled:!e.canEditAnnotationCP,type:"annotation-note"}],v={className:Bd().button,presentational:e.viewportWidth>Je.GI,disabled:!!s};return T.createElement("div",{className:F()("PSPDFKit-Ink-Annotation-Toolbar",Bd().content)},T.createElement(qd,{annotationToolbarItems:d,builtInItems:g,btnFocusRefIfFocusedItem:p,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:v,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:s,onGroupTransitionEnded:e.onGroupTransitionEnded,position:i}))}));const qp=Wp;var Hp=n(34855),$p=n(63564);const Yp=function(e){const{intl:t,position:n,annotation:o,expandedGroup:r,btnFocusRefIfFocusedItem:i,annotationToolbarItems:a,hasDesktopLayout:s,btnFocusRefIfFocusedGroup:l,lastToolbarActionUsedKeyboard:c,name:u,canDeleteSelectedAnnotationCP:d}=e,p=(0,fi.R9)((t=>{const{annotation:n,canEditAnnotationCP:o}=e;o&&(t.strokeWidth&&(t.boundingBox=n.boundingBox.grow((t.strokeWidth-n.strokeWidth)/2)),e.updateAnnotation(t))})),f=o instanceof j.b3||o instanceof j.Xs?e.updateAnnotation:p,h=o instanceof j.o9||o instanceof j.om,{formatMessage:m}=t,g={updateAnnotation:f,annotation:o,styles:Bd(),intl:t,caretDirection:"bottom"===n?"up":"down"},v=[{node:T.createElement(Fd.Z,(0,De.Z)({},g,{record:e.annotation,colorProperty:"strokeColor",onChange:e.updateAnnotation,className:`PSPDFKit-${u}-Annotation-Toolbar-Stroke-Color`,removeTransparent:!0,frameWindow:e.frameWindow,accessibilityLabel:m(Ke.Z.color),innerRef:l("color",!r),lastToolbarActionUsedKeyboard:c,annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:m(Ke.Z.color),group:"color",type:"stroke-color",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox",{"PSPDFKit-Toolbox-BorderColor":!h,"PSPDFKit-Toolbox-StrokeColor":h})},{node:T.createElement(Fd.Z,(0,De.Z)({},g,{record:o,colorProperty:"fillColor",onChange:e.updateAnnotation,className:`PSPDFKit-${u}-Annotation-Toolbar-Fill-Color`,frameWindow:e.frameWindow,accessibilityLabel:m(Ke.Z.fillColor),innerRef:l("fillColor"),annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:m(Ke.Z.fillColor),group:"fillColor",type:"fill-color",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-FillColor")},{node:T.createElement(Td.OpacityComponent,(0,De.Z)({},g,{type:u,innerRef:l("opacity")})),title:m(Ke.Z.opacity),group:"opacity",type:"opacity",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:T.createElement(Td.StrokeWidthComponent,(0,De.Z)({},g,{type:u,accessibilityLabel:m(Ke.Z.thickness),ref:l("line-width")})),title:m(Ke.Z.thickness),group:"line-width",type:"line-width",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth")},...o instanceof j.o9||o instanceof j.om?[{node:T.createElement(Td.LineCapsDashArrayComponent,(0,De.Z)({},g,{frameWindow:e.frameWindow,innerRef:l("linecaps-dasharray")})),title:m(Ke.Z["linecaps-dasharray"]),group:"linecaps-dasharray",type:"linecaps-dasharray",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineCaps-DashArray")}]:[{node:T.createElement(Td.LineStyleComponent,(0,De.Z)({},g,{frameWindow:e.frameWindow,innerRef:l("linestyle")})),title:m(Ke.Z.linestyle),group:"linestyle",type:"line-style",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineStyle")}],{node:T.createElement(Id.Z,{type:"delete",icon:(0,Hd.KT)(a),title:m(Ke.Z.delete),className:F()(`PSPDFKit-${u}-Annotation-Toolbar-Button-Delete`,Bd().button,Bd().deleteButton,{[Bd().disabledButton]:!d}),onPress:d?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex||!!r},{node:T.createElement(jd,{intl:e.intl,isEditing:e.isEditing,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP}),type:"annotation-note",hidden:!e.showAnnotationNotes||e.isEditing}],y={className:Bd().button,presentational:e.viewportWidth>Je.GI,disabled:!!r},b={"line-style":"linestyle"};return o instanceof j.o9||o instanceof j.om||(b["stroke-color"]="border-color"),T.createElement("div",{className:F()(`PSPDFKit-${u}-Annotation-Toolbar`,Bd().content)},T.createElement(qd,{annotationToolbarItems:a,builtInItems:v,btnFocusRefIfFocusedItem:i,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:y,hasDesktopLayout:s,expandedGroup:r,onGroupTransitionEnded:e.onGroupTransitionEnded,position:n,typeMap:b}))},Xp=T.memo((function(e){const{formatMessage:t}=e.intl,n=[{node:T.createElement(Id.Z,{type:"widget_ccw",title:t(Ke.Z.rotateCounterclockwise),className:`PSPDFKit-Widget-Annotation-Toolbar-Button-Rotate PSPDFKit-Widget-Annotation-Toolbar-Button-Rotate-Counterclockwise ${Bd().button} ${Bd().rotateButton}`,onPress:()=>{e.selectedAnnotationPageSize&&e.updateAnnotation((0,J.eJ)(e.annotation,e.selectedAnnotationPageSize,J.z1.COUNTERCLOCKWISE))}}),type:"counterclockwise-rotation",disabled:!e.canEditAnnotationCP},{node:T.createElement(Id.Z,{type:"widget_cw",title:t(Ke.Z.rotateClockwise),className:`PSPDFKit-Widget-Annotation-Toolbar-Button-Rotate PSPDFKit-Widget-Toolbar-Button-Rotate-Clockwise ${Bd().button} ${Bd().rotateButton}`,onPress:()=>{e.selectedAnnotationPageSize&&e.updateAnnotation((0,J.eJ)(e.annotation,e.selectedAnnotationPageSize,J.z1.CLOCKWISE))}}),type:"clockwise-rotation",disabled:!e.canEditAnnotationCP},{node:T.createElement(Id.Z,{type:"delete",icon:(0,Hd.KT)(e.annotationToolbarItems),title:t(Ke.Z.delete),className:F()("PSPDFKit-Widget-Annotation-Toolbar-Button-Delete",Bd().button,Bd().deleteButton,{[Bd().disabledButton]:!e.canDeleteSelectedAnnotationCP}),onPress:e.canDeleteSelectedAnnotationCP?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex}];return T.createElement("div",{className:`PSPDFKit-Widget-Annotation-Toolbar ${Bd().content}`},T.createElement(qd,{annotationToolbarItems:e.annotationToolbarItems,builtInItems:n,btnFocusRefIfFocusedItem:e.btnFocusRefIfFocusedItem,onGroupExpansion:e.onGroupExpansion,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:e.expandedGroup,onGroupTransitionEnded:e.onGroupTransitionEnded,position:e.position}))}));const Jp=T.memo((function(e){const t=(0,Re.YB)(),n=(0,fi.R9)((t=>{const{canEditAnnotationCP:n}=e;n&&e.updateAnnotation(t)})),{annotation:o,position:r,expandedGroup:i,canDeleteSelectedAnnotationCP:a,btnFocusRefIfFocusedGroup:s,annotationToolbarItems:l,btnFocusRefIfFocusedItem:c,lastToolbarActionUsedKeyboard:u}=e,d={onChange:n,record:o,styles:Bd(),intl:t,caretDirection:"bottom"===r?"up":"down",frameWindow:e.frameWindow},p=e.annotation.isSignature,f=[{node:T.createElement("div",{className:Bd().controlWrapper},T.createElement("div",{className:Bd().control},T.createElement(Fd.Z,(0,De.Z)({},d,{className:"PSPDFKit-Link-Annotation-Toolbar-Border-Color",colorProperty:"borderColor",accessibilityLabel:t.formatMessage(Ke.Z.color),innerRef:s("color",!i),lastToolbarActionUsedKeyboard:u,annotationToolbarColorPresets:e.annotationToolbarColorPresets})))),title:t.formatMessage(Ke.Z.borderColor),className:F()(Bd().formGroup,"PSPDFKit-Toolbox","PSPDFKit-Toolbox-BorderColor"),hidden:p,disabled:!e.canEditAnnotationCP,type:"stroke-color",group:"color"},{node:T.createElement(Td.OpacityComponent,{intl:e.intl,type:"Link",styles:Bd(),annotation:o,updateAnnotation:n,caretDirection:"bottom"===r?"up":"down",innerRef:s("opacity")}),title:t.formatMessage(Ke.Z.opacity),className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity"),hidden:p,disabled:!e.canEditAnnotationCP,type:"opacity",group:"opacity"},{node:T.createElement(Td.StrokeWidthComponent,{intl:e.intl,type:"Link",styles:Bd(),annotation:o,updateAnnotation:n,caretDirection:"bottom"===r?"up":"down",accessibilityLabel:t.formatMessage(Ke.Z.thickness),ref:s("lineWidth")}),title:t.formatMessage(Ke.Z.thickness),className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth"),hidden:p,disabled:!e.canEditAnnotationCP,type:"line-width",group:"lineWidth"},{node:T.createElement(Id.Z,{type:"delete",icon:(0,Hd.KT)(l),title:t.formatMessage(Ke.Z.delete),className:F()("PSPDFKit-Link-Annotation-Toolbar-Button-Delete",Bd().button,Bd().deleteButton,{[Bd().disabledButton]:!a}),onPress:a?()=>e.deleteAnnotation():()=>{}}),disabled:!a,hidden:null===e.annotation.pageIndex||!!i,type:"delete"}],h={className:Bd().button,presentational:e.viewportWidth>Je.GI,disabled:!!i};return T.createElement("div",{className:F()("PSPDFKit-Link-Annotation-Toolbar",Bd().content)},T.createElement(qd,{annotationToolbarItems:l,builtInItems:f,btnFocusRefIfFocusedItem:c,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:h,hasDesktopLayout:e.hasDesktopLayout,expandedGroup:i,onGroupTransitionEnded:e.onGroupTransitionEnded,position:r}))}));const Qp=Jp;var ef=n(82405),tf=n(9599),nf=n(68073),of=n.n(nf),rf=n(94505);const af=function(e){const{intl:t,position:n,annotation:o,expandedGroup:r,btnFocusRefIfFocusedItem:i,annotationToolbarItems:a,hasDesktopLayout:s,btnFocusRefIfFocusedGroup:l,lastToolbarActionUsedKeyboard:c,canDeleteSelectedAnnotationCP:u,selectedAnnotations:d}=e,p=(0,A.I0)(),f=(0,A.v9)((e=>e.secondaryMeasurementUnit)),h=T.useMemo((()=>e.selectedAnnotations&&e.selectedAnnotations.size>1),[e.selectedAnnotations]),m=T.useMemo((()=>!!d&&(0,G.xA)(d)),[d]),g=T.useMemo((()=>(0,G.bs)(o)),[o]),v=(0,fi.R9)((t=>{const{annotation:n,canEditAnnotationCP:o}=e;if(o){if(t.strokeWidth){if(h&&d){const o=[];return d.forEach((e=>{o.push({boundingBox:e.boundingBox.grow((t.strokeWidth-n.strokeWidth)/2),strokeWidth:t.strokeWidth})})),void e.updateAnnotation(o)}t.boundingBox=n.boundingBox.grow((t.strokeWidth-n.strokeWidth)/2)}e.updateAnnotation(t)}})),y=o instanceof j.b3||o instanceof j.Xs?e.updateAnnotation:v,b=o instanceof j.o9||o instanceof j.om,{formatMessage:w}=t,S={updateAnnotation:y,annotation:o,styles:Bd(),intl:t,caretDirection:"bottom"===n?"up":"down"},E=G.Di.find((e=>e.title===g)),P=T.useMemo((()=>(0,G.Rw)(o,f)),[o,f]),x=[{node:T.createElement(Id.Z,{type:"back",title:w(Ke.Z.back),className:F()(`PSPDFKit-${g}-Annotation-Toolbar-Button-Back`,Bd().button,Bd().measurementBackButton),onPress:()=>{(0,A.dC)((()=>{p((0,je.fz)()),p((0,Qt.Ds)("measurement")),p((0,En.BR)())}))}}),type:"back"},{node:m?T.createElement(rf.Z,{key:w(Ke.Z.mixedMeasurements),type:"measure",title:w(Ke.Z.mixedMeasurements),className:F()(E.className,of().measurementValue,Bd().measurementToolbarButton,"PSPDFKit-Annotation-Toolbar-Measurement")},o&&null!=o&&o.note?T.createElement(T.Fragment,null,w(Ke.Z.mixedMeasurements)):null):T.createElement(rf.Z,{key:E.interactionMode,type:E.icon,title:w(Ke.Z[E.localeKey]),className:F()(E.className,of().measurementValue,Bd().measurementToolbarButton,"PSPDFKit-Annotation-Toolbar-Measurement")},o&&null!=o&&o.note?h?T.createElement(T.Fragment,null,E.title):T.createElement(T.Fragment,null,E.title,":"," ",T.createElement("b",null,o.note,P?` (${P.label})`:"")):null),title:w(Ke.Z[E.localeKey]),type:"measurementType",className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-MeasurementType")},{node:T.createElement(T.Fragment,null,T.createElement(rf.Z,{key:"scale",type:"scale",title:w(Fu.sY.measurementScale),className:F()(Bd().measurementToolbarButton)}),T.createElement(tf.ZP,{frameWindow:e.frameWindow,selectedAnnotation:o,onAnnotationScaleUpdate:e.updateAnnotation,selectedAnnotations:e.selectedAnnotations})),title:w(Fu.sY.measurementScale),type:"measurementScale",className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-MeasurementScale")},{node:T.createElement(Fd.Z,(0,De.Z)({},S,{record:e.annotation,colorProperty:"strokeColor",onChange:e.updateAnnotation,className:`PSPDFKit-${g}-Annotation-Toolbar-Stroke-Color`,frameWindow:e.frameWindow,accessibilityLabel:w(Ke.Z.color),innerRef:l("color",!r),lastToolbarActionUsedKeyboard:c,annotationToolbarColorPresets:e.annotationToolbarColorPresets})),title:w(Ke.Z.color),group:"color",type:"stroke-color",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox",{"PSPDFKit-Toolbox-BorderColor":!b,"PSPDFKit-Toolbox-StrokeColor":b})},{node:T.createElement(Td.OpacityComponent,(0,De.Z)({},S,{type:g,innerRef:l("opacity")})),title:w(Ke.Z.opacity),group:"opacity",type:"opacity",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Opacity")},{node:T.createElement(Td.StrokeWidthComponent,(0,De.Z)({},S,{type:g,accessibilityLabel:w(Ke.Z.thickness),ref:l("line-width")})),title:w(Ke.Z.thickness),group:"line-width",type:"line-width",disabled:!e.canEditAnnotationCP,className:F()(Bd().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth")},{node:T.createElement(Id.Z,{type:"delete",icon:(0,Hd.KT)(a),title:w(Ke.Z.delete),className:F()(`PSPDFKit-${g}-Annotation-Toolbar-Button-Delete`,Bd().button,Bd().deleteButton,{[Bd().disabledButton]:!u}),onPress:u?()=>e.deleteAnnotation():()=>{}}),type:"delete",hidden:null===e.annotation.pageIndex||!!r},{node:T.createElement(jd,{intl:e.intl,isEditing:e.isEditing,showAnnotationNotes:e.showAnnotationNotes,hasAnnotationNote:e.hasAnnotationNote,isAnnotationNoteActive:e.isAnnotationNoteActive,onAnnotationNotePress:e.onAnnotationNotePress,disabled:!e.canEditAnnotationCP||h}),type:"annotation-note",hidden:!e.showAnnotationNotes||e.isEditing}],D={className:Bd().button,presentational:e.viewportWidth>Je.GI,disabled:!!r},C={"line-style":"linestyle"};return o instanceof j.o9||o instanceof j.om||(C["stroke-color"]="border-color"),T.createElement("div",{className:F()(`PSPDFKit-${g}-Annotation-Toolbar`,Bd().content,Bd().measurementToolbar)},T.createElement(qd,{annotationToolbarItems:a,builtInItems:x,btnFocusRefIfFocusedItem:i,onGroupExpansion:e.onGroupExpansion,builtInToolbarProps:D,hasDesktopLayout:s,expandedGroup:r,onGroupTransitionEnded:e.onGroupTransitionEnded,position:n,typeMap:C}))},sf=["text"];class lf extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{showConfirmDelete:!1,expandedGroup:null,transitionFinished:!1,prevActiveGroup:null}),(0,o.Z)(this,"focusRef",T.createRef()),(0,o.Z)(this,"deleteAnnotation",(()=>{var e;const t=this.props.annotation,n=this.props.selectedAnnotations&&(null===(e=this.props.selectedAnnotations)||void 0===e?void 0:e.size)>1;t&&!n?this.props.dispatch((0,Qt.d8)((0,i.l4)([t.id]))):n&&this.props.selectedAnnotations&&this.props.dispatch((0,Qt.d8)(this.props.selectedAnnotations.map((e=>e.id))))})),(0,o.Z)(this,"handleEntered",(()=>{this.setState({transitionFinished:!0})})),(0,o.Z)(this,"handleGroupExpansion",(e=>{e?this.setState({prevActiveGroup:e,expandedGroup:e}):this.setState({expandedGroup:e,transitionFinished:!1})})),(0,o.Z)(this,"_handleKeyPress",(e=>{e.keyCode===Sr.zz&&this.state.expandedGroup&&this.handleGroupExpansion()})),(0,o.Z)(this,"updateAnnotation",((e,t,n)=>{if(!e||!this.props.canEditAnnotationCP)return;e=e.merge(t);const o={annotations:(0,i.aV)([e]),reason:u.f.PROPERTY_CHANGE};this.props.eventEmitter.emit("annotations.willChange",o),n&&this.props.dispatch((0,Qt.Ds)(n));const{text:a}=t,s=(0,r.Z)(t,sf);this.props.dispatch((0,Qt.gX)(s)),this.props.dispatch((0,Qt.FG)(e))})),(0,o.Z)(this,"updateSingleAnnotation",((e,t)=>{const n=this.props.annotation;this.updateAnnotation(n,e,t)})),(0,o.Z)(this,"updateAnnotations",((e,t)=>{const{selectedAnnotations:n}=this.props;n&&(null==n?void 0:n.size)>1&&(0,A.dC)((()=>{var n;null===(n=this.props.selectedAnnotations)||void 0===n||n.toList().forEach(((n,o)=>{Array.isArray(e)?this.updateAnnotation(n,e[o],t):this.updateAnnotation(n,e,t)}))}))})),(0,o.Z)(this,"onAnnotationNotePress",(()=>{const e=this.props.annotation;if(this.isActiveAnnotationNote())this.closeAnnotationNote();else if(e){const t=(0,li.Yu)(e);this.props.dispatch((0,je.mv)(t))}})),(0,o.Z)(this,"deleteAnnotationNote",(()=>{const e=this.props.annotation;e&&(this.props.dispatch((0,Qt.FG)(e.delete("note"))),this.closeAnnotationNote())})),(0,o.Z)(this,"closeAnnotationNote",(()=>{this.props.dispatch((0,je.mv)(null))})),(0,o.Z)(this,"_handleResize",(e=>{var t;this.props.dispatch((t=e.height,{type:te.A8G,height:t}))}))}isActiveAnnotationNote(){var e;const{activeAnnotationNote:t,annotation:n}=this.props;return Boolean(t&&n&&(null===(e=t.parentAnnotation)||void 0===e?void 0:e.id)===n.id)}defaultToolbarItems(){var e,t;const{annotation:n,annotationToolbarItems:o,viewportWidth:r}=this.props;if((0,a.kG)(n),!$p.qH.get(uf(n)))return(0,i.aV)();const s=r>Je.GI,l=null===(e=$p.qH.get(uf(n)))||void 0===e||null===(t=e.get(s?"desktop":"mobile"))||void 0===t?void 0:t.map((e=>({type:e})));if((0,a.kG)(l,`No default toolbar items found for annotation type: ${uf(n)}`),o){const e=o(n,{hasDesktopLayout:s,defaultAnnotationToolbarItems:l.toJS()});if(e)return e.forEach((e=>{(0,$p.gb)(e,uf(n))})),(0,i.aV)(e)}return l}renderContent(){var e,t=this;const{annotation:n,variantAnnotationPresetID:o,position:r,viewportWidth:i,frameWindow:s,intl:l,showAnnotationNotes:c,canEditAnnotationCP:u,canDeleteSelectedAnnotationCP:d,lastToolbarActionUsedKeyboard:p,interactionMode:f,keepSelectedTool:h,annotationToolbarColorPresets:m,richTextEditorRef:g,customFontsReadableNames:v,isCalibratingScale:y}=this.props;if(!n)return null;const b={deleteAnnotation:this.deleteAnnotation,updateAnnotation:this.props.selectedAnnotations&&(null===(e=this.props.selectedAnnotations)||void 0===e?void 0:e.size)>1?this.updateAnnotations:this.updateSingleAnnotation,intl:l,position:r,viewportWidth:i,onGroupTransitionEnded:this.handleEntered,onGroupExpansion:this.handleGroupExpansion,expandedGroup:this.state.expandedGroup,btnFocusRefIfFocusedGroup:function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,Hd.CN)(e,t.state.expandedGroup)||n&&null!==f&&i>Je.GI?t.focusRef:void 0},btnFocusRefIfFocusedItem:function(e,n){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,Hd.Kt)(e,n,t.state.prevActiveGroup)||o&&null!==f&&iJe.GI,customFontsReadableNames:this.props.customFontsReadableNames},w={onAnnotationNotePress:this.onAnnotationNotePress,showAnnotationNotes:c&&!n.isCommentThreadRoot,hasAnnotationNote:Boolean(n.note),isAnnotationNoteActive:this.isActiveAnnotationNote()};return n instanceof pe.Z?T.createElement(Jd,(0,De.Z)({},b,w,{annotation:n,isEditing:this.props.selectedAnnotationMode===Q.o.EDITING,dispatch:this.props.dispatch,keepSelectedTool:h})):n instanceof j.R1?T.createElement(Qp,(0,De.Z)({},b,w,{annotation:n})):n instanceof j.On?T.createElement(hp,(0,De.Z)({},b,w,{annotation:n,isEditing:this.props.selectedAnnotationMode===Q.o.EDITING,dispatch:this.props.dispatch,variantAnnotationPresetID:o})):n instanceof j.Zc?T.createElement(qp,(0,De.Z)({},b,w,{annotation:n,isEditing:this.props.selectedAnnotationMode===Q.o.EDITING,dispatch:this.props.dispatch,areOnlyElectronicSignaturesEnabled:this.props.areOnlyElectronicSignaturesEnabled})):n instanceof ef.Z&&n.isMeasurement()?y?null:T.createElement(af,(0,De.Z)({},b,w,{annotation:n,dispatch:this.props.dispatch,isEditing:this.props.selectedAnnotationMode===Q.o.EDITING,selectedAnnotations:this.props.selectedAnnotations})):n instanceof j.o9?T.createElement(Yp,(0,De.Z)({},b,w,{annotation:n,isEditing:this.props.selectedAnnotationMode===Q.o.EDITING,name:"Line"})):n instanceof j.b3?T.createElement(Yp,(0,De.Z)({},b,w,{annotation:n,isEditing:this.props.selectedAnnotationMode===Q.o.EDITING,name:"Rectangle"})):n instanceof j.Xs?T.createElement(Yp,(0,De.Z)({},b,w,{annotation:n,isEditing:this.props.selectedAnnotationMode===Q.o.EDITING,name:"Ellipse"})):n instanceof j.Hi?T.createElement(Yp,(0,De.Z)({},b,w,{annotation:n,isEditing:this.props.selectedAnnotationMode===Q.o.EDITING,name:"Polygon"})):n instanceof j.om?T.createElement(Yp,(0,De.Z)({},b,w,{annotation:n,isEditing:this.props.selectedAnnotationMode===Q.o.EDITING,name:"Polyline"})):n instanceof j.gd?T.createElement(zp,(0,De.Z)({},b,{annotation:n,richTextEditorRef:g,selectedAnnotationPageSize:this.props.selectedAnnotationPageSize,zoomLevel:this.props.zoomLevel||1,keepSelectedTool:h,interactionMode:f,customFontsReadableNames:v})):n instanceof j.Qi?T.createElement(Vp,(0,De.Z)({},b,{annotation:n,dispatch:this.props.dispatch,isAnnotationReadOnly:this.props.isAnnotationReadOnly,keepSelectedTool:h,interactionMode:f})):n instanceof j.sK?T.createElement(np,(0,De.Z)({},b,w,{annotation:n,areOnlyElectronicSignaturesEnabled:this.props.areOnlyElectronicSignaturesEnabled,selectedAnnotationPageSize:this.props.selectedAnnotationPageSize})):n instanceof j.GI?T.createElement(ep,(0,De.Z)({},b,w,{annotation:n})):n instanceof j.x_?T.createElement(Xp,(0,De.Z)({},b,{annotation:n,selectedAnnotationPageSize:this.props.selectedAnnotationPageSize})):n instanceof j.Jn?null:void(0,a.kG)(!1,"Annotation type not handled")}componentDidUpdate(e,t){const n=this.state.expandedGroup&&this.state.transitionFinished&&!t.transitionFinished,o=!this.state.expandedGroup&&t.expandedGroup&&this.state.prevActiveGroup;(n||o)&&this.focusRef.current&&this.focusRef.current.focus()}render(){return T.createElement("div",{className:F()("PSPDFKit-Annotation-Toolbar",Bd().root,{[Bd().stickToBottom]:"bottom"===this.props.position}),onKeyDown:this._handleKeyPress},T.createElement(Hp.Z,{onResize:this._handleResize}),this.renderContent())}}const cf=(0,Re.XN)(lf);function uf(e){var t;return"isMeasurement"in e&&null!==(t=e.isMeasurement)&&void 0!==t&&t.call(e)?"Measurement":$p.qH.get(e.constructor.readableName)?e.constructor.readableName:e instanceof j.On?j.On.readableName:e instanceof j.x_?j.x_.readableName:void new a.p2("AnnotationToolbarComponent: getReadableName: Annotation type not handled")}function df(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}const pf=T.memo((function(e){let{intl:t,dispatch:n,inkEraserCursorWidth:o,position:r,viewportWidth:i}=e;const{handleGroupExpansion:a,handleEntered:s,expandedGroup:l,prevActiveGroup:c,btnFocusRef:u}=(0,fi.Tp)(),[d,p]=T.useState(o);T.useEffect((()=>{n((0,Qt.GT)(d))}),[d,n]),T.useEffect((()=>{p(o)}),[o]);const f=T.useCallback((e=>{n((0,Qt.gX)({inkEraserWidth:e})),p(e)}),[n]),h=T.useCallback((e=>{e.keyCode===Sr.zz&&l&&a()}),[l,a]),{formatMessage:m}=t,g={lineWidth:{node:T.createElement("div",{className:Bd().controlWrapper},T.createElement("div",{className:Bd().control},T.createElement(Dd.Z,{name:"lineWidth",accessibilityLabel:m(Ke.Z.size),className:"PSPDFKit-Ink-Eraser-Toolbar-Line-Width",value:d,valueLabel:e=>m(Ke.Z.numberInPt,{arg0:e.toFixed(0)}),min:1,max:40,step:1,onChange:f,caretDirection:"bottom"===r?"up":"down",innerRef:(0,Hd.CN)("lineWidth",l)?u:void 0}))),title:m(Ke.Z.thickness)}};return T.createElement("div",{className:F()("PSPDFKit-Annotation-Toolbar",Bd().root,{[Bd().stickToBottom]:"bottom"===r}),onMouseUp:df,onTouchEnd:df,onPointerUp:df,onKeyDown:h},T.createElement("div",{className:`\n PSPDFKit-Ink-Eraser-Toolbar\n ${Bd().content}\n\n `},T.createElement("div",{className:Bd().left},T.createElement("form",{className:Bd().form,onSubmit:jr.PF},T.createElement("div",{className:`${Bd().formGroup} PSPDFKit-Toolbox PSPDFKit-Toolbox-LineWidth`},T.createElement(Id.Z,{type:"line-width",title:g.lineWidth.title,className:Bd().button,onPress:()=>a("lineWidth"),disabled:Boolean(l),presentational:i>Je.GI,ref:(0,Hd.Kt)("lineWidth",l,c)?u:void 0}),g.lineWidth.node))),T.createElement("div",{className:Bd().right},T.createElement(Zd.Z,{position:r,onClose:()=>a(null),isPrimary:!1,onEntered:s,accessibilityLabel:l?g[l].title:void 0},l?g[l].node:void 0))))})),ff=(0,Re.XN)(pf);var hf=n(50653),mf=n.n(hf);const gf=(0,A.$j)((e=>({connectionFailureReason:e.connectionFailureReason})),(()=>({})))((e=>T.createElement("div",{className:`PSPDFKit-Error ${mf().root}`},T.createElement("div",{className:`PSPDFKit-Error-Box ${mf().box}`},T.createElement("div",{className:mf().error},T.createElement(Ye.Z,{src:n(58054),className:mf().icon})),T.createElement("div",{className:`PSPDFKit-Error-Message ${mf().errorMessage}`},T.createElement("p",null,null!=e.connectionFailureReason?e.connectionFailureReason:T.createElement(T.Fragment,null,"An error occurred while loading the document. Try"," ",T.createElement("a",{href:"#",onClick:()=>window.location.reload()},"reloading the page"),".")))))));var vf,yf=n(28890),bf=n(55733),wf=n.n(bf);const Sf={timeout:300,classNames:{enter:wf().unlockEnter,enterActive:wf().unlockEnterActive,exit:wf().unlockExit,exitActive:wf().unlockExitActive}};class Ef extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"_modalRef",T.createRef()),(0,o.Z)(this,"_inputRef",T.createRef()),(0,o.Z)(this,"state",{value:"",isIncorrectPassword:!1,inputShowError:!1}),(0,o.Z)(this,"_onConfirm",(()=>{this.props.resolvePassword&&this.props.resolvePassword(this.state.value)})),(0,o.Z)(this,"_onChange",(e=>{const{value:t}=e.currentTarget;this.setState({value:t,inputShowError:!1})}))}componentDidUpdate(e){e.resolvePassword===this.props.resolvePassword||this.props.unlocked||(this._modalRef.current&&this._modalRef.current.shake(),this._inputRef.current&&this._inputRef.current.focus(),this.setState({isIncorrectPassword:!0,inputShowError:!0}))}render(){const{unlocked:e}=this.props,{isIncorrectPassword:t,inputShowError:o}=this.state,{formatMessage:r}=this.props.intl;return T.createElement(yf.Z,{role:"dialog",onEnter:this._onConfirm,background:"rgba(0,0,0,.1)",className:F()("PSPDFKit-Password-Dialog",wf().container),accessibilityLabel:r(Pf.password),accessibilityDescription:r(Pf.passwordAccessibilityDescription),innerRef:this._modalRef},T.createElement("div",{className:"PSPDFKit-Password-Dialog-Content"},T.createElement(yf.Z.Section,null,T.createElement(ue.M5,null,T.createElement("div",{className:wf().iconBox},T.createElement(Iu.Z,null,e?T.createElement(Tu.Z,(0,De.Z)({},Sf,{key:"unlock"}),T.createElement(Ye.Z,{src:n(96242),className:F()(wf().icon,wf()["icon-success"])})):T.createElement(Tu.Z,(0,De.Z)({},Sf,{key:"lock"}),T.createElement(Ye.Z,{src:n(65883),className:F()({[wf().icon]:!0,[wf()["icon-regular"]]:!t,[wf()["icon-error"]]:t})})))))),T.createElement(ue.z,null,r(Pf.passwordRequired)),T.createElement(yf.Z.Section,null,T.createElement(ue.xv,null,r(Pf.unlockDocumentDescription))),T.createElement(ue.oi,{name:"password",value:this.state.value,onChange:this._onChange,"aria-label":r(Pf.password),autoFocus:!0,selectTextOnFocus:!0,disabled:e,secureTextEntry:!0,error:o,success:e,ref:this._inputRef})),t&&!e?T.createElement(yf.Z.Section,{className:wf().alert,spaced:!0},r(Pf.incorrectPassword)):vf||(vf=T.createElement(yf.Z.Divider,null)),T.createElement("div",{className:F()("PSPDFKit-Password-Dialog-Buttons",wf().dialogButtons)},T.createElement(ue.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons"},T.createElement(ue.zx,{onClick:this._onConfirm,primary:!0,className:"PSPDFKit-Confirm-Dialog-Button PSPDFKit-Confirm-Dialog-Button-Confirm"},r(Pf.unlock)))))}}const Pf=(0,Re.vU)({password:{id:"password",defaultMessage:"Password",description:"Text on a label"},passwordAccessibilityDescription:{id:"passwordAccessibilityDescription",defaultMessage:"Dialog prompting for a password to unlock the document",description:"Accessibility description for password modal"},passwordRequired:{id:"passwordRequired",defaultMessage:"Password Required",description:"Title of the modal to indicate a password is required"},unlockDocumentDescription:{id:"unlockDocumentDescription",defaultMessage:"You have to unlock this document to view it. Please enter the password in the field below.",description:"Label of the password prompt"},incorrectPassword:{id:"incorrectPassword",defaultMessage:"The password you entered isn't correct. Please try again.",description:"Error message when an incorrect password was entered"},unlock:{id:"unlock",defaultMessage:"Unlock",description:"Button to unlock a password protected PDF"}}),xf=(0,Re.XN)(Ef);var Df,Cf=n(61470),kf=n.n(Cf);class Af extends T.Component{render(){const{resolvePassword:e,children:t,intl:n}=this.props,{formatMessage:o}=n,{name:r,progress:i,reason:a}=this.props.connectionState;switch(r){case _s.F.CONNECTING:{var s;const e=a?null!==(s=Of[a])&&void 0!==s?s:a:null,t=e?o(e):"";return T.createElement("div",{className:kf().loader},T.createElement(ue.Ex,{message:t,progress:null!=i?i:0}))}case _s.F.CONNECTION_FAILED:return Df||(Df=T.createElement(gf,null));case _s.F.PASSWORD_REQUIRED:return T.createElement(xf,{resolvePassword:e,unlocked:this.props.isUnlockedViaModal});default:return void 0===t?null:t}}}const Of=(0,Re.vU)({loading:{id:"loading",defaultMessage:"Loading...",description:"Shown while the document is being fetched"}}),Tf=(0,Re.XN)(Af);var If=n(38858);const Ff=(0,jo.Z)(((e,t)=>(0,J.xp)(e,t).sort(Lf)));const Mf=(0,Eo.x)((function(e,t){let{page:n}=t;const o=!!e.reuseState,r=Ff(e.annotations,n);let s=(0,i.aV)(),l=null;switch(e.selectedAnnotationMode){case Q.o.SELECTED:s=r.filter((t=>e.selectedAnnotationIds.has(t.id)));break;case Q.o.EDITING:l=e.selectedAnnotationIds.map((t=>{const n=e.annotations.get(t);return(0,a.kG)(n),n})).first(),(l instanceof j.Qi||l instanceof j.Jn)&&l.pageIndex===n.pageIndex&&(s=(0,i.aV)([l]))}return{backend:e.backend,hoverAnnotationIds:e.hoverAnnotationIds,interactionMode:e.interactionMode,isAnnotationReadOnly:t=>(0,So.lV)(t,e),selectedAnnotationIds:e.selectedAnnotationIds,activeAnnotationNote:e.activeAnnotationNote,selectedTextOnEdit:e.selectedTextOnEdit,showAnnotations:e.showAnnotations,window:e.frameWindow,zoomLevel:e.viewportState.zoomLevel,rotation:e.viewportState.pagesRotation,onFocusAnnotation:Rf(e.eventEmitter),onBlurAnnotation:Nf(e.eventEmitter),formDesignMode:e.formDesignMode,annotations:r,isReloadingDocument:o,attachments:e.attachments,selectedAnnotations:s,editingAnnotation:l,showComments:(0,Ml.Y7)(e),showAnnotationNotes:e.showAnnotationNotes,eventEmitter:e.eventEmitter,isAPStreamRendered:e.isAPStreamRendered,pageInvalidAPStreams:e.invalidAPStreams.get(n.pageIndex),canEditAnnotationCP:t=>(0,oi.CM)(t,e),canDeleteAnnotationCP:t=>(0,oi.Kd)(t,e),keepSelectedTool:e.keepSelectedTool,scrollElement:e.scrollElement,focusedAnnotationIds:e.focusedAnnotationIds,inkEraserMode:e.inkEraserMode,viewportState:e.viewportState,page:n,enableRichText:e.enableRichText,multiAnnotationsUsingShortcut:e.multiAnnotationsUsingShortcut,isMultiSelectionEnabled:e.isMultiSelectionEnabled}}))((function(e){const{annotations:t,isReloadingDocument:n,showAnnotations:o,zoomLevel:r,rotation:s,attachments:l,backend:c,dispatch:u,hoverAnnotationIds:d,page:p,isAnnotationReadOnly:f,canEditAnnotationCP:h,canDeleteAnnotationCP:m,getScrollElement:g,onFocusAnnotation:v,onBlurAnnotation:y,formDesignMode:b,selectedTextOnEdit:w,selectedAnnotationIds:S,selectedAnnotations:E,activeAnnotationNote:P,interactionMode:C,editingAnnotation:k,window:A,children:O,showComments:I,showAnnotationNotes:F,eventEmitter:M,isAPStreamRendered:_,pageInvalidAPStreams:R=(0,i.l4)(),keepSelectedTool:N,focusedAnnotationIds:L,inkEraserMode:B,enableRichText:z,multiAnnotationsUsingShortcut:K,setGlobalCursor:Z,isMultiSelectionEnabled:U}=e;(0,a.kG)(R);const{pageSize:V,pageIndex:G}=p,W=T.useCallback((e=>!(e instanceof j.Jn||e instanceof j.On&&e.isCommentThreadRoot)||I),[I]),[q,H]=T.useState(null),[$,Y]=T.useState(void 0),[X,Q]=T.useState(!1),[te,ne]=T.useState(Array()),oe=T.useCallback((function(e){"number"==typeof e.clientX&&"number"==typeof e.clientY&&H(new j.E9({x:e.clientX,y:e.clientY}))}),[]),re=S.size>0,ie=t.filter((e=>e instanceof j.On&&(e.isCommentThreadRoot||!f(e)))),ae=T.useMemo((()=>t.filter((e=>e instanceof j.R1))),[t]),se=T.useMemo((()=>t.filter((e=>e instanceof j.Zc))),[t]),le=(0,fi.R9)((e=>e instanceof j.Zc&&(0,J.Fp)(e)&&!f(e)&&h(e)&&m(e))),ce=T.useMemo((()=>se.filter(le)),[se,le]);function ue(e){const t=S.has(e.id);return e instanceof pe.Z?t&&C!==x.A.REDACT_TEXT_HIGHLIGHTER:t}function de(e){ne(e?[...te,e]:[])}const fe=k instanceof j.Zc?k:null,he=k instanceof j.UX?k:null,me=k instanceof j.gd&&null===k.pageIndex?k:null,ge=k instanceof j.gd&&k.pageIndex===G?k:null,ve=k instanceof j.Qi&&null===k.pageIndex?k:null,ye=k instanceof j.Jn&&null===k.pageIndex?k:null,be=k instanceof pe.Z&&null===k.pageIndex?k:null,we=k instanceof j.R1&&null===k.pageIndex?k:null,[Se,Ee]=T.useState(!1),xe=T.useRef(!1),De=e=>Se&&(0,J.eD)(e)&&!(null!=R&&R.has(e.id))&&(0,J.U7)(e.boundingBox)&&_(e),Ce=T.useRef(r),ke=T.useRef(G),Ae=(0,fi.tm)();T.useEffect((()=>{if(n)return void(xe.current=!1);(r>Ce.current||ke.current!==G)&&(xe.current=!1,ke.current=G),Ce.current=r;const e=t.filter((e=>!(null!=R&&R.has(e.id))&&(0,J.eD)(e)&&(0,J.U7)(e.boundingBox)&&_(e)));e.size>0&&!xe.current&&(xe.current=!0,c.renderPageAnnotations(G,e,r*(0,Ft.L)()).then((()=>{Ae()&&Ee(!0)})))}),[G,r,_,c,R,t,Ee,Se,n,Ae]),T.useEffect((()=>{Se&&c.clearPageAPStreams(G,R)}),[Se,c,G,R]),T.useEffect((()=>{if(Se)return()=>{c.clearAllPageAPStreams(G)}}),[c,G,Se]);const Oe=(0,fi.jC)({zoomLevel:r}),Te=!(null==Oe||!Oe.zoomLevel)&&Oe.zoomLevel{Te&&c.clearAllPageAPStreams(G)}));const Ie=B===D.b.POINT?Bi:Ki,Fe=E.filter((e=>W(e)&&(0,J.Fp)(e)&&(0,J.yU)(e)&&!f(e)&&(!(e instanceof j.Jn)||null==k))),Me=Fe.size>1;return T.createElement(Pe.Provider,null,T.createElement(ki,{dispatch:u,selectableTextMarkupAnnotations:ie,selectableLinkAnnotations:ae,hoverAnnotationIds:d,zoomLevel:r,window:A,pageIndex:G,selectedAnnotations:E,keepSelectedTool:N,interactionMode:C,setMultiAnnsInitialEvent:Y,isMultiSelectionEnabled:U,isHitCaptureDeffered:X,hitCaptureDefferedRect:te},O,o?T.createElement("div",null,t.filter((e=>W(e)&&(0,J.Fp)(e)&&function(e){return!(C===x.A.INK_ERASER&&le(e))}(e)&&(!ue(e)||!(0,J.yU)(e)||f(e)||e instanceof j.Jn&&k&&k.equals(e))&&!function(e){return e instanceof j.x_&&ue(e)&&b}(e))).map((e=>T.createElement(mi,{key:e.id,annotation:(0,ot.h4)(e),globalAnnotation:e,attachments:l,backend:c,dispatch:u,isAnnotationReadOnly:f,isDisabled:re&&!ue(e),isHover:d.has(e.id),isSelected:ue(e),activeAnnotationNote:P,showAnnotationNotes:F,onBlur:y,onFocus:v,pageSize:V,zoomLevel:r,rotation:s,pageRotation:p.rotation,shouldRenderAPStream:De(e),isFocused:L.has(e.id),isMultiAnnotationsSelected:Me,isComboBoxOpen:Q,handleComboBoxRect:de}))),Me&&T.createElement(T.Fragment,{key:"multi-annotations-selection"},T.createElement(Ba,{dispatch:u,pageIndex:G,pageSize:V,window:A,getScrollElement:g,selectedAnnotations:Fe.map((e=>(0,ot.h4)(e))),selectedGlobalAnnotations:Fe},Fe.map((e=>T.createElement(mi,{key:e.id,annotation:(0,ot.h4)(e),globalAnnotation:e,attachments:l,backend:c,dispatch:u,isAnnotationReadOnly:f,isDisabled:!1,isHover:d.has(e.id),isSelected:!0,activeAnnotationNote:P,showAnnotationNotes:F,onBlur:y,onFocus:v,pageSize:V,zoomLevel:r,rotation:s,pageRotation:p.rotation,onClick:e instanceof j.gd?oe:void 0,shouldRenderAPStream:De(e),isFocused:!1,isComboBoxOpen:Q,handleComboBoxRect:de}))))),!Me&&Fe.map((e=>T.createElement(T.Fragment,{key:e.id},T.createElement(Fa,{pageIndex:G,pageSize:V,annotation:(0,ot.h4)(e),globalAnnotation:e,window:A,getScrollElement:g,onFocus:v,onBlur:y,isResizable:(0,J.IO)(e),isModifiable:(0,J.Km)(e),isRotatable:(0,J.a$)(e),setGlobalCursor:Z},T.createElement(mi,{annotation:(0,ot.h4)(e),globalAnnotation:e,attachments:l,backend:c,dispatch:u,isAnnotationReadOnly:f,isDisabled:!1,isHover:d.has(e.id),isSelected:!0,isFocused:!1,activeAnnotationNote:P,showAnnotationNotes:F,onBlur:y,onFocus:v,pageSize:V,zoomLevel:r,rotation:s,pageRotation:p.rotation,onClick:e instanceof j.gd?oe:void 0,shouldRenderAPStream:De(e),isComboBoxOpen:Q,handleComboBoxRect:de})),F&&(0,J.YV)(e)&&T.createElement(ui,{dispatch:u,annotation:e,zoomLevel:r,isAnnotationSelected:!0,activeAnnotationNote:P,visible:!1}))))):null),C===x.A.INK&&null!==fe&&(0,J.Fp)(fe)?T.createElement(Fi,{dispatch:u,pageSize:V,pageIndex:G,inkAnnotation:fe.pageIndex===G?fe:fe.delete("lines").delete("boundingBox"),scrollElement:e.scrollElement}):null,C===x.A.INK_ERASER&&se.size>0?T.createElement(Ie,{inkAnnotations:ce,canvasSize:V,pageIndex:G}):null,he&&[...Ds,...Cs].includes(C)&&(0,J.Fp)(he)?T.createElement(_n,{dispatch:u,pageSize:V,pageIndex:G,shapeAnnotation:he.pageIndex===G?he:(0,ee.Hx)(he),isAnnotationMeasurement:[...Cs].includes(C)}):null,C!==x.A.TEXT&&C!==x.A.CALLOUT||!me?null:T.createElement(da,{annotation:me,interactionMode:C,dispatch:u,pageSize:V,pageIndex:G,autoSelect:w,eventEmitter:M}),ge&&(0,J.Fp)(ge)?T.createElement(la,{dispatch:u,annotation:ge,pageIndex:G,pageSize:V,autoSelect:w,lastMousePoint:null===q?void 0:q,eventEmitter:M,keepSelectedTool:N,enableRichText:z}):null,(ve||ye)&&T.createElement(Pi,{dispatch:u,annotation:ve||ye,pageSize:V,pageIndex:G,zoomLevel:r}),be&&C===x.A.REDACT_SHAPE_RECTANGLE&&(0,J.Fp)(be)?T.createElement(Ka,{dispatch:u,pageSize:V,pageIndex:G,redactionAnnotation:be.pageIndex===G?be:be.delete("boundingBox"),keepSelectedTool:N}):null,C===x.A.LINK&&we?T.createElement(ws,{dispatch:u,linkAnnotation:we,viewportState:e.viewportState,page:e.page,window:e.window,pageIndex:G,keepSelectedTool:N}):null,C===x.A.MULTI_ANNOTATIONS_SELECTION?T.createElement(xs,{viewportState:e.viewportState,window:e.window,pageIndex:G,initialDraggingEvent:$,multiAnnotationsUsingShortcut:K}):null)})),_f=Mf,Rf=(0,jo.Z)((e=>(t,n)=>{e.emit("annotations.focus",{annotation:t,nativeEvent:void 0!==n.nativeEvent?n.nativeEvent:n})})),Nf=(0,jo.Z)((e=>(t,n)=>{e.emit("annotations.blur",{annotation:t,nativeEvent:void 0!==n.nativeEvent?n.nativeEvent:n})}));function Lf(e,t){const n=Bf(e),o=Bf(t);return n>o?1:n{const t=this._hostElement.current;if(!t)return;const n=t.ownerDocument.defaultView.getSelection()||{},{anchorNode:o,extentNode:r,focusNode:i,isCollapsed:a}=n;if(o&&t.contains(o)||r&&t.contains(r)||i&&t.contains(i)){if(a)return;e.stopPropagation(),e.stopImmediatePropagation()}}))}_appendNode(){const e=this._hostElement.current;if(!e)return;const{node:t,onAppear:n}=this.props.item;e.innerHTML="",e.appendChild(t),"function"!=typeof n||this._onAppearInvoked||(this._onAppearInvoked=!0,n())}componentDidMount(){const e=this._hostElement.current;if(e){const t=e.ownerDocument;Kf.forEach((e=>{t.addEventListener(e,this._preventTextSelection,!0)}))}this._appendNode()}componentDidUpdate(e){this.props.item.node!==e.item.node&&this._appendNode()}componentWillUnmount(){const e=this._hostElement.current;if(!e)return;const t=e.ownerDocument;Kf.forEach((e=>{t.removeEventListener(e,this._preventTextSelection,!0)})),this._onAppearInvoked=!1;const{onDisappear:n}=this.props.item;"function"==typeof n&&n()}render(){return T.createElement(Be,{applyZoom:!this.props.item.disableAutoZoom,position:this.props.item.position,noRotate:this.props.item.noRotate,currentPagesRotation:this.props.rotation,zoomLevel:this.props.zoomLevel},T.createElement("div",{className:zf().selectable,ref:this._hostElement}))}}var Uf=n(72800);class Vf extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_handlePointerUp",(e=>{const{transformClientToPage:t,onEmit:n,pageIndex:o}=this.props;n(e,t(new B.E9({x:e.clientX,y:e.clientY}),o))}))}render(){return T.createElement(pt.Z,{onPointerUp:this._handlePointerUp},T.createElement(this.props.element,{},this.props.children))}}const Gf=yi(Vf);var Wf=n(99398),qf=n.n(Wf);function Hf(e){let{focused:t,searchResult:n,zoomLevel:o}=e;const r=F()({[qf().highlight]:!0,[qf().focused]:t,"PSPDFKit-Search-Highlight":!0,"PSPDFKit-Search-Highlight-focused":t});return T.createElement("div",{"data-testid":"SearchHighlight","aria-live":"polite"},t?T.createElement(ue.TX,{announce:"polite"},"Search Result: ",n.previewText):null,n.rectsOnPage.map(((e,t)=>T.createElement("div",{key:t,style:{top:Math.floor(e.top*o),left:Math.floor(e.left*o),width:Math.ceil(e.width*o),height:Math.ceil(e.height*o)},className:r}))).toArray())}const $f=(0,A.$j)((function(e,t){const{searchState:n}=e;return{searchResults:n.results.filter((e=>e.pageIndex===t.pageIndex)),focusedResult:n.results.get(n.focusedResultIndex)}}))((function(e){let{searchResults:t,focusedResult:n,zoomLevel:o}=e;return T.createElement("div",{className:qf().layer,"data-testid":"SearchHighlightLayer"},t.map(((e,t)=>T.createElement(Hf,{focused:e===n,key:t,searchResult:e,zoomLevel:o}))))})),Yf={P:"p",TH:"th",TD:"td",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",Figure:"figure",Link:"a"};function Xf(e){var t,n;const{textLine:o,content:r,isPanModeEnabled:i,enableTextSelection:a,vertical:s,scaling:l,pageIndex:c}=e,u=null===(t=o.contentTreeElementMetadata)||void 0===t?void 0:t.pdfua_type;let d="span";u&&u in Yf&&(d=Yf[u]);const p=F()({[cl().line]:!0,[cl().lineTextCursor]:!i,[cl().debug]:!1,[cl().enableTextSelection]:a,"PSPDFKit-Text":!0,[cl().vertical]:!!s}),f={top:o.boundingBox.top,left:o.boundingBox.left,transform:l&&l.scaleX>0&&l.scaleY>0?`scale(${l.scaleX}, ${l.scaleY})`:""};return T.createElement(d,{className:p,style:f,key:o.id||void 0,alt:(null===(n=o.contentTreeElementMetadata)||void 0===n?void 0:n.alt)||void 0},T.createElement("span",{"data-textline-id":o.id,"data-page-index":c,className:cl().selectableText},r))}class Jf extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_handleOnPressEmit",((e,t)=>{const{textLine:n,eventEmitter:o}=this.props,r={textLine:n,point:t,nativeEvent:e.nativeEvent};o.emit("textLine.press",r)})),(0,o.Z)(this,"_handleDeselectText",(()=>{this.props.dispatch((0,je.vR)())}))}render(){const{textLine:e,isTextCopyingAllowed:t}=this.props,n={top:e.boundingBox.top,left:e.boundingBox.left-20,transform:"none"},o=(0,ol.LD)(t,e);return T.createElement(Gf,{pageIndex:this.props.pageIndex,onEmit:this._handleOnPressEmit,element:"div"},!tt.vU&&T.createElement("span",{className:F()({[cl().linePadding]:!0,[cl().preventUserSelect]:tt.G6||tt.b5}),style:n,onClick:tt.G6||tt.b5?this._handleDeselectText:void 0}),T.createElement(Xf,(0,De.Z)({content:o},this.props)))}}var Qf;class eh extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"layerRef",T.createRef()),(0,o.Z)(this,"state",{needsTextSelectionOverlay:"gecko"===tt.SR,overlayHeight:0}),(0,o.Z)(this,"handleMouseDown",(e=>{if(this.state.needsTextSelectionOverlay&&this.layerRef.current){const t=this.layerRef.current.getBoundingClientRect();if(e.clientY){const n=Math.max(0,e.clientY-t.top);this.setState({overlayHeight:n/this.props.zoomLevel})}}})),(0,o.Z)(this,"handleMouseUp",(()=>{this.state.needsTextSelectionOverlay&&this.setState({overlayHeight:0})}))}getChildren(){return this.layerRef.current&&(0,i.aV)(this.layerRef.current.getElementsByClassName(cl().line))}getLayer(){return this.layerRef.current}render(){const{enableTextSelection:e,zoomLevel:t,rotation:n,eventEmitter:o,textLines:r,pageIndex:i,textLineScales:a}=this.props;return T.createElement("div",{className:cl().layer,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,style:{transform:`scale(${t})`,transformOrigin:"0 0"},ref:this.layerRef,role:"webkit"===tt.SR?"text":void 0},Qf||(Qf=T.createElement("div",null)),null==r?void 0:r.map((t=>T.createElement(Jf,{dispatch:this.props.dispatch,enableTextSelection:e,key:t.id,pageIndex:i,scaling:a&&a.get(t.id),textLine:t,vertical:90===n||270===n,eventEmitter:o,isTextCopyingAllowed:this.props.isTextCopyingAllowed,isPanModeEnabled:this.props.isPanModeEnabled}))),this.state.needsTextSelectionOverlay&&this.state.overlayHeight>0?T.createElement("div",{className:cl().overlay,style:{top:this.state.overlayHeight}}):null)}}var th=n(51869),nh=n.n(th);function oh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function rh(e){for(var t=1;te.apply(o)),[o]);T.useEffect((function(){return t((0,En.X2)()),function(){t((0,En.Zg)())}}),[t]);const{rect:c}=a;return T.createElement("div",{className:nh().canvas},null!==c?T.createElement("svg",{className:nh().svg,style:{left:c.left*i,top:c.top*i,width:c.width*i,height:c.height*i},focusable:!1},T.createElement("rect",{className:nh().rect,height:c.height*i,width:c.width*i,x:0,y:0}),T.createElement("rect",{className:nh().rectStrokeBetween,height:c.height*i,width:c.width*i,x:0,y:0})):null,T.createElement(Sn.Z,{size:n,onDrawStart:function(e){s((t=>rh(rh({},t),{},{startingPoint:e})))},onDrawCoalesced:function(e){const{startingPoint:t}=a;(0,Ne.k)(t);const n=e[e.length-1];s((e=>rh(rh({},e),{},{rect:sh(t,n)})))},onDrawEnd:function(){const{rect:e}=a,n=5/i;null===e||e.width{if(!(0,tt.b1)())return t.addEventListener("mousemove",e),()=>{(0,tt.b1)()||t.removeEventListener("mousemove",e)};function e(e){const{pageX:t,pageY:n}=e,r=e.target.closest(".PSPDFKit-Page");if(!r)return void p(!1);const i=r.getAttribute("data-page-index");if((0,a.kG)("string"==typeof i,"Page number is not a string"),+i===s){p(!0),(0,a.kG)(o.current);const{left:e,top:r}=o.current.getBoundingClientRect();u([t-e,n-r])}else p(!1)}}),[o,t,s]),d?T.createElement("div",{className:F()({[ch().wrapper]:(0,tt.b1)()},"PSPDFKit-Form-Creator-Guides"),onPointerUp:i,role:"application"},!(0,tt.b1)()&&T.createElement(T.Fragment,null,T.createElement("div",{className:ch().hGuide,style:{transform:`translate(0, ${c[1]}px)`}}),T.createElement("div",{className:ch().vGuide,style:{transform:`translate(${c[0]}px,0)`}}),T.createElement("div",{className:F()({[ch().buttonWidget]:r===x.A.BUTTON_WIDGET,[ch().textWidget]:r===x.A.TEXT_WIDGET,[ch().radioWidget]:r===x.A.RADIO_BUTTON_WIDGET,[ch().checkboxWidget]:r===x.A.CHECKBOX_WIDGET,[ch().signWidget]:r===x.A.SIGNATURE_WIDGET,[ch().listBoxWidget]:r===x.A.LIST_BOX_WIDGET,[ch().comboBoxWidget]:r===x.A.COMBO_BOX_WIDGET,[ch().dateWidget]:r===x.A.DATE_WIDGET}),style:{transform:`translate(${c[0]}px,${c[1]}px)`}},T.createElement("div",null,l.formatMessage(Ke.Z.sign)),T.createElement(Ye.Z,{src:n(58021)})))):null}var dh=n(12671);function ph(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function fh(e){for(var t=1;t{const{page:t,textBlockId:n,anchor:o,zoomLevel:r,textBlockState:i,backend:a,isActive:s}=e,l=T.useRef(null),c=T.useRef({offset:{x:0,y:0},size:{x:-1,y:-1}}),u=T.useCallback((0,Cc.k)(((e,t)=>a.contentEditorRenderTextBlock(n,e,t)),20),[]),d=i.layout,p=i.globalEffects,f=i.modificationsCharacterStyle;T.useEffect((()=>{!async function(){const e=(0,dh.T8)(d,f),n=(0,Ft.L)(),i=await u({pixelAnchor:{x:o.x*r*n,y:o.y*r*n},globalEffects:(0,dh.uE)(p),pixelPageSize:{x:t.pageSize.width*r*n,y:t.pageSize.height*r*n},pixelViewport:{offset:{x:0,y:0},size:{x:t.pageSize.width*r*n,y:t.pageSize.height*r*n}},cursor:null,selection:s?{color:"#b5d7ff"}:null},e),a=i.displayRect,h=l.current;if(!h)return;const m=c.current;m.offset.x!=a.offset.x&&(h.style.left=a.offset.x/n+"px"),m.offset.y!=a.offset.y&&(h.style.top=a.offset.y/n+"px"),m.size.x!=a.size.x&&(h.style.width=a.size.x/(tt.G6?1:n)+"px",h.width=a.size.x),m.size.y!=a.size.y&&(h.style.height=a.size.y/(tt.G6?1:n)+"px",h.height=a.size.y);const g=h.getContext("2d");if(g){if(g.clearRect(0,0,a.size.x,a.size.y),a.size.x&&a.size.y){const e=new ImageData(new Uint8ClampedArray(i.imageBuffer),a.size.x,a.size.y);g.putImageData(e,0,0)}c.current=a}}()}));const h=tt.G6?{transformOrigin:"top left",transform:`scale(${1/devicePixelRatio})`}:{};return T.createElement("canvas",{ref:l,style:fh({position:"absolute",left:0,top:0},h)})},mh=T.memo(hh),gh={on(e,t){document.addEventListener(e,(e=>t(e.detail)))},dispatch(e,t){document.dispatchEvent(new CustomEvent(e,{detail:t}))},remove(e,t){document.removeEventListener(e,t)}};var vh=n(20423),yh=n.n(vh),bh=n(94385);const wh=(0,Re.vU)({fontMismatch:{id:"ceFontMismatch",defaultMessage:"The {arg0} font isn’t available or can’t be used to edit content in this document. Added or changed content will revert to a default font.",description:"Message to show when there is a mismatch"},toggleFontMismatchTooltip:{id:"ceToggleFontMismatchTooltip",defaultMessage:"Toggle font mismatch tooltip",description:"Message to show for the button that displays the font mismatch tooltip"},deleteTextBlockConfirmMessage:{id:"deleteTextBlockConfirmMessage",defaultMessage:"Are you sure you want to delete this text box?",description:"Message for the delete text block confirm dialog"},deleteTextBlockConfirmAccessibilityLabel:{id:"deleteTextBlockConfirmAccessibilityLabel",defaultMessage:"Confirm text box deletion",description:"Accessibility label for the delete text block confirm dialog"},deleteTextBlockConfirmAccessibilityDescription:{id:"deleteTextBlockConfirmAccessibilityDescription",defaultMessage:"Dialog allowing the user to confirm or cancel deleting the text box",description:"Accessibility description for the delete annotation confirm dialog"}});function Sh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Eh(e){for(var t=1;t{const e=B.sl.IDENTITY.rotateRad(p.rotation).scale(1,p.flipY?-1:1),t=o.offset.x+s.width,n=new j.E9({x:t+5*i,y:o.offset.y}).apply(e),r=n.x+a.x*i+(p.rotation<0?o.offset.x:0),l=n.y+a.y*i+(p.rotation<0?o.offset.y:0);return new j.E9({x:r,y:l})}),[s.width,i,p.flipY,p.rotation,a.x,a.y,o.offset.x,o.offset.y]),m=Eh(Eh({},l),{},{position:"fixed",left:h.x,top:h.y,width:Math.max(12,Math.round(16*i)),height:Math.max(12,Math.round(16*i)),zIndex:3});return T.createElement("button",{style:m,className:yh().tooltipButton,onClick:e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),e.preventDefault()},onPointerDown:e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),e.preventDefault()},onPointerOver:()=>{var e;const n=o.offset.x+d.size.x,r=o.offset.y,s=new j.E9({x:n,y:r}),l=B.sl.IDENTITY.rotateRad(p.rotation).scale(1,p.flipY?-1:1),c=s.apply(l);u((0,Su.lx)(new j.UL({left:a.x+(null!==(e=f.maxWidth)&&void 0!==e?e:c.x),top:h.y/i,width:16,height:16}),t))},onPointerLeave:()=>{if(!tt.Ni){const e=new AbortController;u((0,Su.Hv)(e)),u((0,Su.uy)(e.signal))}}},T.createElement(Ye.Z,{src:n(46113),className:yh().tooltipSVG}),T.createElement(ue.TX,null,c(wh.toggleFontMismatchTooltip)))}function xh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Dh(e){for(var t=1;t{var t,n;const{page:{pageSize:o,pageIndex:r},textBlockId:i,anchor:a,zoomLevel:s,textBlockState:l,isActive:c,frameWindow:u}=e,d=(0,A.I0)(),p=l.contentRect,f=l.globalEffects,h=l.detectedStyle,m=l.cursor,g=T.useRef(!1),[v,y]=T.useState(!1),b=T.useRef(!1),w=(0,A.v9)((e=>(0,Gl.G_)(r,i)(e))),S=(0,A.v9)((e=>(0,Gl.QC)(r,i)(e)));T.useEffect((()=>{if(!c){const e=new AbortController;d((0,Su.Hv)(e)),d((0,Su.uy)(e.signal))}}),[c,d]);const E=T.useRef(null),P=T.useMemo((()=>{var e,t,n;return c?null!=(null===(e=h.selectionStyleInfo)||void 0===e?void 0:e.faceMismatch)?h.selectionStyleInfo.faceMismatch.unavailableFaceName:null!==(t=null===(n=h.modificationsCharacterStyleFaceMismatch)||void 0===n?void 0:n.unavailableFaceName)&&void 0!==t?t:null:null}),[null===(t=h.selectionStyleInfo)||void 0===t?void 0:t.faceMismatch,null===(n=h.modificationsCharacterStyleFaceMismatch)||void 0===n?void 0:n.unavailableFaceName,c]),x=T.useRef(null),D=T.useRef(null),C=e=>{var t,n;(0,Ne.k)(e.currentTarget);return new j.E9({x:(null!==(t=e.nativeEvent.offsetX)&&void 0!==t?t:0)/s+p.offset.x,y:(null!==(n=e.nativeEvent.offsetY)&&void 0!==n?n:0)/s+p.offset.y})},k=()=>(0,dh.T8)(l.layout,l.modificationsCharacterStyle),O=function(e){let{textAreaRef:t,textBlockId:n,pageIndex:o,makeExternalState:r}=e;const i=T.useRef(!1),a=(0,A.I0)(),s=e=>{t.current&&null!=e&&e.length&&a((0,Su.qt)(o,n,null,e,r()))},l=tt.Dt||tt.TL;return{onChange:e=>{i.current||s("insertLineBreak"===e.nativeEvent.inputType?"\n":e.nativeEvent.data)},onCompositionStart:()=>{l||(i.current=!0)},onCompositionEnd:e=>{l||(i.current=!1,s(e.data))}}}({textAreaRef:E,textBlockId:i,pageIndex:r,makeExternalState:k}),I=function(e){let{textBlockState:t,textBlockId:n,pageIndex:o,makeExternalState:r}=e;const i=(0,A.I0)();return{onCopy:e=>{e.preventDefault(),t.selection&&e.clipboardData.setData("text/plain",t.selection.text)},onCut:e=>{e.preventDefault(),t.selection&&(e.clipboardData.setData("text/plain",t.selection.text),i((0,Su.qt)(o,n,null,"",r())))},onPaste:e=>{e.preventDefault();const t=e.clipboardData.getData("text/plain");i((0,Su.qt)(o,n,null,t,r()))}}}({textBlockId:i,pageIndex:r,textBlockState:l,makeExternalState:k}),M=function(e){let{textBlockId:t,makeExternalState:n,textBlockState:o,pageSize:r,pageIndex:i,isSelected:a,isActive:s}=e;const l=(0,A.I0)();return e=>{const c=tt.V5&&e.altKey||!tt.V5&&e.ctrlKey;if(s)switch(e.key){case"ArrowRight":l((0,Su.FD)(i,t,c?"forwardWord":"forward",e.shiftKey,n()));break;case"ArrowLeft":l((0,Su.FD)(i,t,c?"backwardWord":"backward",e.shiftKey,n()));break;case"ArrowDown":l((0,Su.FD)(i,t,"nextLine",e.shiftKey,n()));break;case"ArrowUp":l((0,Su.FD)(i,t,"previousLine",e.shiftKey,n()));break;case"Home":l((0,Su.FD)(i,t,"first",e.shiftKey,n()));break;case"End":l((0,Su.FD)(i,t,"last",e.shiftKey,n()));break;case"Backspace":l((0,Su.RL)(i,t,"backward",n()));break;case"Delete":l((0,Su.RL)(i,t,"forward",n()));break;case"a":case"A":if(!(tt.V5&&e.metaKey||!tt.V5&&e.ctrlKey))break;l((0,Su.Ow)(i,t,"everything",n()));break;case"z":case"Z":if(!(tt.V5&&e.metaKey||!tt.V5&&e.ctrlKey))break;e.shiftKey?l((0,Su.yy)(i,t,n())):l((0,Su.Zv)(i,t,n()));break;case"y":case"Y":if(!(tt.V5&&e.metaKey||!tt.V5&&e.ctrlKey))break;l((0,Su.yy)(i,t,n()));break;case"Escape":l(Su.Pq),e.preventDefault()}else if(a){let n=1;switch(e.shiftKey&&(n=10),e.key){case"ArrowRight":{e.preventDefault();const t=new j.E9({x:o.anchor.x+n,y:o.anchor.y});if(t.x+o.contentRect.offset.x+o.contentRect.size.x>=r.width)break;l((0,Su.$t)({anchor:t,isKeyboardMove:!0}));break}case"ArrowLeft":{e.preventDefault();const t=new j.E9({x:o.anchor.x-n,y:o.anchor.y});if(t.x+o.contentRect.offset.x<=0)break;l((0,Su.$t)({anchor:t,isKeyboardMove:!0}));break}case"ArrowDown":{e.preventDefault();const t=new j.E9({x:o.anchor.x,y:o.anchor.y+n});if(t.y+o.contentRect.offset.y+o.contentRect.size.y>=r.height)break;l((0,Su.$t)({anchor:t,isKeyboardMove:!0}));break}case"ArrowUp":{e.preventDefault();const t=new j.E9({x:o.anchor.x,y:o.anchor.y-n});if(t.y+o.contentRect.offset.y<=0)break;l((0,Su.$t)({anchor:t,isKeyboardMove:!0}));break}case"Enter":l((0,Su.SF)(i,t)),e.preventDefault();break;case"Escape":l(Su.Pq),e.preventDefault();break;case"Backspace":case"Delete":case"Del":l((0,Su.u)(Gl.wR.Delete)),e.preventDefault(),e.stopPropagation();break;default:e.preventDefault()}}else switch(e.key){case"Enter":l((0,Su.C0)(i,t)),e.preventDefault();break;case"Escape":l(Su.Pq),e.preventDefault()}}}({textBlockId:i,textBlockState:l,makeExternalState:k,pageSize:o,pageIndex:r,isActive:c,isSelected:w});function _(e){var t;const n=C(e),o={x:n.x,y:n.y};null===(t=E.current)||void 0===t||t.focus(),d((0,Su.v2)(r,i,o,e.shiftKey,k())),x.current={mode:"characters",begin:o}}function R(e){e.stopPropagation(),e.stopImmediatePropagation();const t={x:e.clientX,y:e.clientY};if(!D.current)return[null,null];const n=new j.UL({width:o.width,height:o.height});let r=new j.E9(t);const i=D.current;if(r=r.apply(i.transformation),!n.isPointInside(r))return[null,null];return[(t.x-i.start.x)*i.scale/i.zoomLevel,(t.y-i.start.y)*i.scale/i.zoomLevel]}T.useEffect((()=>{b.current&&w&&(b.current=!1)}),[w]);const N=T.useCallback((0,bh.Z)((e=>{const[t,n]=R(e);if(null===t||null===n||!D.current)return;const o=new j.E9({x:D.current.anchor.x+t,y:D.current.anchor.y+n});D.current.changed=!0,d((0,Su.$t)({anchor:o,pageIndex:r,textBlockId:i}))}),20),[]),L=T.useCallback((()=>{var e;u.document.removeEventListener("pointermove",N),u.document.removeEventListener("pointerup",L),d((0,Eu.ac)(!1)),null!==(e=D.current)&&void 0!==e&&e.changed&&(D.current.previousInteractionState===Gl.FP.Selected?d((0,Su.C0)(r,i)):d(Su.Pq)),D.current=null}),[]);T.useEffect((()=>{var e;c&&l.justCreated&&(null===(e=E.current)||void 0===e||e.focus())}),[c,l.justCreated]);const B=()=>{var e;return c&&(null===(e=E.current)||void 0===e?void 0:e.focus())};T.useEffect((()=>(gh.on("content-editing:re-focus",B),()=>gh.remove("content-editing:re-focus",B))));const z=l.layout;(0,Ne.k)(null!==z.maxWidth);const K={offset:{x:(0,sc._v)(z.alignment,sc.Im,z.maxWidth),y:p.offset.y},size:{x:z.maxWidth,y:p.size.y}},Z=(0,sc.sz)(ql(K),s),U=(0,sc.yK)(Z,a,s),V={position:"absolute",left:U.offset.x,top:U.offset.y},G=Dh(Dh({},V),{},{width:U.size.x,height:U.size.y,transformOrigin:`${-Z.offset.x}px ${-Z.offset.y}px`,transform:`rotate(${f.rotation}rad) scaleY(${f.flipY?-1:1})`});l.justCreated&&(G.width=Math.max(p.size.x,10)*s);const W=(0,A.v9)((e=>(0,de.zi)(e,r))),q=(e,t)=>n=>{n.stopPropagation(),n.isPrimary&&0===n.button&&(n.nativeEvent.stopImmediatePropagation(),n.preventDefault(),u.document.addEventListener("pointermove",H,{passive:!0}),u.document.addEventListener("pointerup",$,{passive:!0}),d((0,Eu.ac)(!0)),w||c||d((0,Su.SF)(r,i)),(0,Ne.k)(null!==z.maxWidth),D.current={fixpoint:e,scale:t,zoomLevel:s,start:{x:n.clientX,y:n.clientY},anchor:l.anchor,maxWidth:z.maxWidth,transformation:W,previousInteractionState:w?Gl.FP.Selected:Gl.FP.None})},H=T.useCallback((0,bh.Z)((e=>{const[t]=R(e);null!==t&&D.current&&d((0,Su.PZ)({fixpointValue:D.current.fixpoint,newWidth:D.current.maxWidth+t}))}),20),[]),$=T.useCallback((()=>{D.current=null,u.document.removeEventListener("pointermove",H),u.document.removeEventListener("pointerup",$),d((0,Eu.ac)(!1))}),[]);return T.createElement(T.Fragment,null,P?T.createElement(Ph,{faceMismatch:P,relativePixelContentRect:Z,textBlockState:l,zoomLevel:s,anchor:a,geometricStyleAttributes:G,positionAttributes:V}):null,T.createElement("div",{style:Dh(Dh({},G),{},{position:"fixed",zIndex:2}),className:F()(yh().textBlock,{[yh().selectedTextBlock]:w,[yh().movingTextBlock]:S,[yh().activeTextBlock]:c,[yh().focusIn]:v}),onFocus:()=>{g.current=!0},onBlur:()=>{g.current=!1,y(!1)},onKeyUp:e=>{const t=e.target.ownerDocument.defaultView&&e.target instanceof e.target.ownerDocument.defaultView.HTMLTextAreaElement;g.current&&"Tab"===e.key&&t&&(y(!0),d((0,Su.FD)(r,i,"first",!1,k())))}},T.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:`${p.offset.x*s} ${Z.offset.y} ${Z.size.x} ${Z.size.y}`,style:Dh(Dh({},G),{},{width:U.size.x,position:"absolute",left:0,top:0,transform:void 0,transformOrigin:void 0,display:c?"block":"none"}),className:yh().blinkingCaret},T.createElement("line",{stroke:"currentColor",x1:m.offset.x*s,y1:(m.offset.y+m.lineSpacing.bottom)*s,x2:m.offset.x*s,y2:(m.offset.y-m.lineSpacing.top)*s})),T.createElement("textarea",(0,De.Z)({ref:E,onPointerDown:e=>{e.stopPropagation(),c?_(e):(e.preventDefault(),e.isPrimary&&(u.document.addEventListener("pointermove",N,{passive:!0}),u.document.addEventListener("pointerup",L,{passive:!0}),d((0,Eu.ac)(!0)),(0,Ne.k)(null!==z.maxWidth),D.current={fixpoint:0,scale:1,zoomLevel:s,start:{x:e.clientX,y:e.clientY},anchor:l.anchor,maxWidth:z.maxWidth,transformation:W,previousInteractionState:w?Gl.FP.Selected:Gl.FP.None}))},onPointerMove:e=>{if(D.current)return;if(e.preventDefault(),!(c&&1&e.buttons))return;e.stopPropagation();const t=C(e),n={x:t.x,y:t.y},o=x.current;(0,Ne.k)(o),d((0,Su.sC)(r,i,o.begin,n,o.mode,k()))},onPointerUp:e=>{var t;null!==(t=D.current)&&void 0!==t&&t.changed||(e.preventDefault(),e.stopPropagation(),w||c?c||(d((0,Su.SF)(r,i)),_(e)):(d((0,Su.C0)(r,i)),b.current=!0))},onMouseUp:e=>{if(e.detail>=2){e.preventDefault(),e.stopPropagation();const t=C(e),n={x:t.x,y:t.y};x.current={mode:"words",begin:n},d((0,Su.sC)(r,i,n,n,"words",k())),e.detail>=3&&d((0,Su.Ow)(r,i,"everything",k()))}},onClick:e=>{e.preventDefault(),e.stopPropagation()},onKeyDown:M},O,I,{onContextMenu:jr.PF,style:Dh(Dh({},G),{},{resize:"none",opacity:0,touchAction:"none",left:0,top:0,transform:void 0,transformOrigin:void 0}),defaultValue:l.layoutView.lines.map((e=>(0,sc.z8)(e.elements))).join(" ")})),w?T.createElement(T.Fragment,null,T.createElement("div",{draggable:!0,onPointerDown:q(sc.Tl,-1),className:F()(yh().resizeHandle,yh().resizeHandleLeft)},T.createElement("div",{className:yh().resizeHandleCircle})),T.createElement("div",{draggable:!0,onPointerDown:q(sc.Im,1),className:F()(yh().resizeHandle,yh().resizeHandleRight)},T.createElement("div",{className:yh().resizeHandleCircle}))):null))},kh=T.memo(Ch),Ah=e=>{const{page:t,textBlockId:n,zoomLevel:o,backend:r,frameWindow:i}=e,a=(0,A.v9)((e=>{const o=(0,Gl.aT)(t.pageIndex,n)(e);return(0,Ne.k)(o),o.anchor})),s=(0,A.v9)((e=>(0,Gl.aT)(t.pageIndex,n)(e)));(0,Ne.k)(s);const l=(0,A.v9)((e=>(0,Gl.Dn)(t.pageIndex,n)(e)));return T.createElement("div",{className:"PSPDFKit-Content-Editing-Text-Block"},T.createElement(mh,{page:t,textBlockId:n,anchor:a,zoomLevel:o,textBlockState:s,isActive:l,backend:r}),T.createElement(kh,{page:t,textBlockId:n,anchor:a,zoomLevel:o,isActive:l,textBlockState:s,frameWindow:i}))},Oh=T.memo(Ah);function Th(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ih(e){for(var t=1;t{const t=(0,A.I0)(),{formatMessage:n}=(0,Re.YB)(),{page:o,zoomLevel:r,backend:i,frameWindow:a}=e;T.useEffect((()=>{var e;t((e=o.pageIndex,async(t,n)=>{if((0,Gl.Cd)(e)(n())!=Gl.R1.Uninitialized)return;t({type:te.l$y,pageIndex:e});const o=await n().backend.contentEditorDetectParagraphs(e);t({type:te.kD6,pageIndex:e,initialTextBlocks:o})}))}),[t,o.pageIndex]);const s=o.pageSize.height*r,l=o.pageSize.width*r,c=(0,A.v9)((0,Gl.jI)(o.pageIndex),A.wU),u=(0,A.v9)((e=>e.contentEditorSession.mode)),d=u===Gl.wR.Create,p=u===Gl.wR.Delete,f=(0,A.v9)((e=>(0,de.zi)(e,o.pageIndex))),h=(0,A.v9)((e=>e.contentEditorSession.textBlockInteractionState.state)),m=h===Gl.FP.Active,g=h===Gl.FP.Moving;return T.createElement("div",{tabIndex:0,onPointerDown:e=>{if(d){const n=new j.E9({x:e.clientX,y:e.clientY}).apply(f),r=new Gl.Sg({x:n.x,y:n.y});t((0,Su.rO)(o.pageIndex,r))}else p||(m&&(e.preventDefault(),e.stopPropagation()),t(Su.Pq))},className:"content-editing-overlay",style:Ih({position:"absolute",top:0,left:0,touchAction:g?"none":"auto",height:s,width:l,zIndex:1},d?{cursor:"text"}:{})},p&&T.createElement($u.Z,{onConfirm:()=>t(Su.um),onCancel:()=>t((0,Su.u)(Gl.wR.Edit)),accessibilityLabel:n(wh.deleteTextBlockConfirmAccessibilityLabel),accessibilityDescription:n(wh.deleteTextBlockConfirmAccessibilityDescription),"aria-atomic":!0,restoreOnClose:!1},T.createElement("p",null,n(wh.deleteTextBlockConfirmMessage))),c.map((e=>T.createElement(Oh,{key:e,backend:i,textBlockId:e,page:o,zoomLevel:r,frameWindow:a}))))},Mh=T.memo(Fh);function _h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Rh(e){for(var t=1;t{let{pageSize:t}=e;const n=(0,A.v9)((e=>e.hintLines));return n?T.createElement("svg",{id:"hint-lines",viewBox:`0 0 ${t.width} ${t.height}`,className:Kh().hintLineSvg},n.lines.map(((e,t)=>T.createElement("line",{key:t,x1:e.start.x,y1:e.start.y,x2:e.end.x,y2:e.end.y,className:Kh().line})))):null};class Uh extends T.Component{constructor(e){super(e),(0,o.Z)(this,"pageRef",T.createRef()),(0,o.Z)(this,"_handleOverviewRenderFinished",(()=>{this.setState({isOverviewRendered:!0}),this.props.onInitialOverviewRenderFinished&&this.props.onInitialOverviewRenderFinished(this.props.page.pageIndex)})),(0,o.Z)(this,"_handleScroll",(e=>{this.pageRef.current&&(this.pageRef.current.scrollTop=0,this.pageRef.current.scrollLeft=0),e.stopPropagation(),e.preventDefault()})),(0,o.Z)(this,"_handleOnPressEmit",((e,t)=>{const n={pageIndex:this.props.page.pageIndex,point:t,nativeEvent:e.nativeEvent};this.props.eventEmitter.emit("page.press",n)})),(0,o.Z)(this,"onCropAreaChangeComplete",(e=>{const t=(0,Yr.kI)(e,this.props.page.pageSize,this.props.viewportState.pagesRotation),n={cropBox:t,pageIndex:this.props.page.pageIndex};this.props.eventEmitter.emit("cropArea.changeStop",n),this.props.onCropChange(t,this.props.page.pageIndex)})),(0,o.Z)(this,"onCropAreaChangeStart",(e=>{const t=(0,Yr.kI)(e,this.props.page.pageSize,this.props.viewportState.pagesRotation),n={cropBox:t,pageIndex:this.props.page.pageIndex};this.props.eventEmitter.emit("cropArea.changeStart",n),this.props.onCropChange(t,this.props.page.pageIndex)})),(0,o.Z)(this,"createWidgetAnnotation",(e=>{var t,n,o;e.stopPropagation(),this.props.dispatch((t=this.props.page.pageIndex,n=[e.pageX,e.pageY],o=this.props.intl,async(e,r)=>{const{interactionMode:s,viewportState:l,onWidgetAnnotationCreationStart:c,changeManager:u}=r();Lh++;const d=(0,de.Ek)(l,t),p=(0,J.xc)();(0,a.kG)(s,"interactionMode is not defined");const f=Nh[s],h=new Date;let m,g=new j.x_(Rh(Rh({id:p,formFieldName:`${s}_${(0,ks.C)()}`,boundingBox:new j.UL({left:n[0],top:n[1],width:f[0],height:f[1]}).apply(d),pageIndex:t,createdAt:h,updatedAt:h,fontSize:12},s===x.A.BUTTON_WIDGET?{backgroundColor:j.Il.BLUE,fontColor:j.Il.WHITE}:{}),s===x.A.DATE_WIDGET?{additionalActions:{onFormat:new j.bp({script:'AFDate_FormatEx("yyyy-mm-dd")'})}}:{}));switch(s){case x.A.BUTTON_WIDGET:m=new j.R0({annotationIds:(0,i.aV)([g.id]),name:g.formFieldName,buttonLabel:"Button"});break;case x.A.TEXT_WIDGET:case x.A.DATE_WIDGET:m=new j.$o({annotationIds:(0,i.aV)([g.id]),name:g.formFieldName});break;case x.A.RADIO_BUTTON_WIDGET:m=new j.XQ({annotationIds:(0,i.aV)([g.id]),name:g.formFieldName,options:(0,i.aV)([new j.mv({label:o.formatMessage(Gh.labelX,{arg0:1}),value:`Value ${Lh}`})])});break;case x.A.CHECKBOX_WIDGET:m=new j.rF({annotationIds:(0,i.aV)([g.id]),name:g.formFieldName,options:(0,i.aV)([new j.mv({label:o.formatMessage(Gh.labelX,{arg0:1}),value:`Value ${Lh}`})])});break;case x.A.SIGNATURE_WIDGET:m=new j.Yo({annotationIds:(0,i.aV)([g.id]),name:g.formFieldName});break;case x.A.LIST_BOX_WIDGET:m=new j.Vi({annotationIds:(0,i.aV)([g.id]),name:g.formFieldName,options:(0,i.aV)([new j.mv({label:"Option 1",value:`Value ${Lh}`})])});break;case x.A.COMBO_BOX_WIDGET:m=new j.fB({annotationIds:(0,i.aV)([g.id]),name:g.formFieldName,options:(0,i.aV)([new j.mv({label:"Option 1",value:"Option 1"}),new j.mv({label:"Option 2",value:"Option 2"})])});break;default:throw new Error(`Unknown interaction mode: ${s}`)}if(m=m.set("id",(0,ks.C)()),c){const e=c(g,m);g=e.annotation||g,m=e.formField||m,(0,a.kG)(g instanceof j.x_,"widgetAnnotation must be an instance of WidgetAnnotation"),(0,a.kG)(m instanceof j.Wi,"formField must be an instance of FormField"),(0,a.kG)(g.formFieldName===m.name,"widgetAnnotation.formFieldName must be equal to formField.name"),(0,a.kG)(t===g.pageIndex,"You are not allowed to change the pageIndex")}e({type:te.vgx,annotationId:g.id}),null==u||u.create([g,m]),e((0,Mo.el)()),e((0,je.J4)((0,i.l4)([g.id]),Q.o.SELECTED))}))})),this._textLinesPromise=null,this._cancelTextPromise=null,this.state={hasBeenInViewport:e.inViewport,isOverviewRendered:!e.renderPagePreview}}shouldComponentUpdate(e,t){return!!e.page&&(this.props.isReused!==e.isReused||(this.props.page.pageIndex!==e.page.pageIndex||(!(!e.inViewport||this.props.inViewport)||(!(e.inViewport||!this.props.inViewport)||(e.shouldPrerender!==this.props.shouldPrerender||(e.inViewport?ze.O.call(this,e,t):this.props.interactionMode===x.A.CONTENT_EDITOR&&e.interactionMode!==x.A.CONTENT_EDITOR||this.props.viewportState.zoomLevel!==e.viewportState.zoomLevel))))))}UNSAFE_componentWillReceiveProps(e){e.inViewport&&!this.state.hasBeenInViewport&&this.setState({hasBeenInViewport:!0})}UNSAFE_componentWillMount(){(this.props.inViewport||this.props.shouldPrerender)&&this.componentWillEnterViewport(this.props),this.props.inViewport&&this.setState({hasBeenInViewport:!0})}UNSAFE_componentWillUpdate(e){this.props.isReused?(this._resetTextLines(),this._fetchPageContent(e)):!this.props.inViewport&&e.inViewport||e.shouldPrerender?this.componentWillEnterViewport(e):this.props.inViewport&&!e.inViewport&&this.componentWillExitViewport()}componentDidUpdate(e){this.state.isOverviewRendered&&this.props.onInitialOverviewRenderFinished&&this.props.parent!==e.parent&&this.props.onInitialOverviewRenderFinished(this.props.page.pageIndex)}componentWillEnterViewport(e){this._fetchPageContent(e)}_fetchPageContent(e){e.annotationManager.loadAnnotationsForPageIndex(e.page.pageIndex),null==e.page.textLines&&null==this._textLinesPromise&&this.fetchTextLinesForProps(e)}componentWillExitViewport(){this._resetTextLines()}_resetTextLines(){this._textLinesPromise&&this._cancelTextPromise&&(this._cancelTextPromise(),this._textLinesPromise=null)}async fetchTextLinesForProps(e){if(!this.props.enableTextLoading||this.props.interactionMode===x.A.CONTENT_EDITOR)return void e.dispatch((0,If.Lv)(e.page.pageIndex,(0,i.aV)()));const{promise:t,cancel:n}=e.backend.getTextContentTreeForPageIndex(e.page.pageIndex);this._textLinesPromise=t,this._cancelTextPromise=n;try{const t=await this._textLinesPromise;e.dispatch((0,If.Lv)(e.page.pageIndex,t))}catch(e){if(e&&!e.aborted)throw e}}isWithinRange(){const{page:{pageIndex:e},viewportState:{currentPageIndex:t}}=this.props;return e>=Math.min(0,t-2)&&e<=t+2}render(){const{props:e}=this,{page:t,intl:n,innerRef:o,viewportState:r,frameWindow:i,cropInfo:a}=e,{formatMessage:s}=n,l={width:t.pageSize.width*r.zoomLevel,height:t.pageSize.height*r.zoomLevel};let c={height:l.height,width:l.width,transform:B.sl.IDENTITY.rotate(-r.pagesRotation).toCssValue()};if(90===r.pagesRotation||270===r.pagesRotation){const e=(l.height-l.width)/2;c={height:l.width,width:l.height,transform:B.sl.IDENTITY.rotate(r.pagesRotation).translate({x:-e,y:e}).toCssValue()}}const u=F()({"PSPDFKit-Page":!0,[`PSPDFKit-Page-Rotation-${r.pagesRotation}-degree`]:!0,[jh().root]:!0,[jh()["deg-"+r.pagesRotation]]:!0,[jh().textHighlighterMode]:e.interactionMode===x.A.TEXT_HIGHLIGHTER||e.interactionMode===x.A.REDACT_TEXT_HIGHLIGHTER,[jh().hideCursor]:(0,nt.o6)(e.interactionMode)});return t?T.createElement("section",{className:u,style:l,ref:this.pageRef,"data-page-index":t.pageIndex,"data-page-is-loaded":null!==t.textLines,onScroll:this._handleScroll,key:t.pageKey,"aria-label":s(Gh.pageX,{arg0:t.pageLabel||t.pageIndex+1})},T.createElement("div",{tabIndex:e.documentHasActiveAnnotation?-1:0,className:jh().focusPage,ref:o}),this.state.hasBeenInViewport&&this.state.isOverviewRendered&&t.textLines?null:T.createElement(ue.TX,null,s(Ke.Z.loading)),T.createElement(Gf,{pageIndex:t.pageIndex,onEmit:this._handleOnPressEmit,element:"div"},(this.state.hasBeenInViewport||this.state.isOverviewRendered||e.shouldPrerender)&&T.createElement(Uf.Z,{inViewport:e.inViewport,shouldPrerender:!e.inViewport&&e.shouldPrerender,page:t,backend:e.backend,zoomLevel:r.zoomLevel,rotation:r.pagesRotation,renderPageCallback:e.renderPageCallback,onInitialOverviewRenderFinished:this._handleOverviewRenderFinished,allowedTileScales:e.allowedTileScales,viewportRect:r.viewportRect,forceDetailView:!1,renderPagePreview:e.renderPagePreview,isPageSizeReal:e.isPageSizeReal,inContentEditorMode:e.interactionMode===x.A.CONTENT_EDITOR}),e.interactionMode===x.A.CONTENT_EDITOR&&e.inViewport&&T.createElement(Mh,{backend:e.backend,zoomLevel:r.zoomLevel,page:t,frameWindow:i}),this.props.hintLinesPageIndex===t.pageIndex?T.createElement(Zh,{pageSize:t.pageSize}):null,this.state.hasBeenInViewport&&this.state.isOverviewRendered&&T.createElement(T.Fragment,null,T.createElement($f,{pageIndex:t.pageIndex,zoomLevel:r.zoomLevel}),T.createElement(Mu.Consumer,null,(n=>T.createElement(_f,{page:t,getScrollElement:n,setGlobalCursor:this.props.setGlobalCursor},t.textLines?T.createElement(eh,{dispatch:e.dispatch,enableTextSelection:e.enableTextSelection,zoomLevel:r.zoomLevel,rotation:r.pagesRotation,eventEmitter:e.eventEmitter,isTextCopyingAllowed:e.isTextCopyingAllowed,isPanModeEnabled:e.isPanModeEnabled,pageIndex:t.pageIndex,textLines:t.textLines,textLineScales:t.textLineScales}):null))),e.interactionMode===x.A.MARQUEE_ZOOM?T.createElement(ah,{pageIndex:t.pageIndex,pageSize:t.pageSize,scrollElement:e.scrollElement}):null,e.customOverlayItems.size>0&&T.createElement("div",null,e.customOverlayItems.map((e=>T.createElement(Zf,{key:e.id,item:e,rotation:r.pagesRotation,zoomLevel:r.zoomLevel})))))),e.interactionMode===x.A.DOCUMENT_CROP&&(null===a&&this.isWithinRange()||(null==a?void 0:a.pageIndex)===t.pageIndex)&&T.createElement("div",{style:c},T.createElement(bs,{viewportState:r,page:this.props.page,onAreaChangeComplete:this.onCropAreaChangeComplete,frameWindow:i,onAreaChangeStart:this.onCropAreaChangeStart})),(0,nt.o6)(e.interactionMode)&&T.createElement("div",{style:c},T.createElement(uh,{frameWindow:i,pageRef:this.pageRef,interactionMode:e.interactionMode,pageIndex:t.pageIndex,onCreate:this.createWidgetAnnotation,intl:e.intl}))):null}}const Vh=(0,Re.XN)(Uh),Gh=(0,Re.vU)({pageX:{id:"pageX",defaultMessage:"Page {arg0}",description:"Current page"},labelX:{id:"labelX",defaultMessage:"Label {arg0}",description:"Label"}});const Wh=(0,Eo.x)((function(e,t){var n;const o=e.pages.get(t.pageIndex),r=(null==o?void 0:o.customOverlayItemIds.map((t=>e.customOverlayItems.get(t))).toList())||null;return{frameWindow:e.frameWindow,enableTextLoading:(0,So.$Q)(e),enableTextSelection:e.interactionMode!==x.A.PAN,annotationManager:e.annotationManager,backend:e.backend,customOverlayItems:r,eventEmitter:e.eventEmitter,page:o,isTextCopyingAllowed:(0,So.HI)(e),renderPageCallback:e.renderPageCallback,interactionMode:e.interactionMode,documentHasActiveAnnotation:e.selectedAnnotationIds.size>0,allowedTileScales:e.allowedTileScales,isPanModeEnabled:e.interactionMode===x.A.PAN&&!tt.Ni,viewportState:e.viewportState,scrollElement:e.scrollElement,isReused:!!e.reuseState,renderPagePreview:e.renderPagePreview,isPageSizeReal:e.firstCurrentPageIndex===t.pageIndex||e.arePageSizesLoaded,hintLinesPageIndex:null===(n=e.hintLines)||void 0===n?void 0:n.pageIndex}}))(Vh);class qh extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"spreadRef",T.createRef()),(0,o.Z)(this,"shouldComponentUpdate",ze.O),(0,o.Z)(this,"pageIndexesWaitingForRender",(0,Hs.P1)(this.props.viewportState,this.props.spreadIndex)),(0,o.Z)(this,"_handleOverviewRenderFinished",(e=>{if(this.props.onOverviewRenderFinished){const t=this.pageIndexesWaitingForRender.indexOf(e);t>-1&&this.pageIndexesWaitingForRender.splice(t,1),0===this.pageIndexesWaitingForRender.length&&this.props.onOverviewRenderFinished&&this.props.onOverviewRenderFinished(this.props.spreadIndex)}}))}render(){const{spreadIndex:e,viewportState:t,inViewport:n,shouldPrerender:o,onCropChange:r,cropInfo:i}=this.props,a=(0,Hs.Xk)(t,e);return T.createElement("div",{style:{width:a.width*t.zoomLevel,height:a.height*t.zoomLevel},hidden:this.props.hidden},(0,Hs.P1)(t,e).map((a=>{const s=(0,de.DB)(B.sl.IDENTITY,t,a,e,t.zoomLevel),l=this.props.pageKeys.get(a);return T.createElement("div",{key:l,style:{transform:s.toCssValue(!0),transformOrigin:"0 0",position:"absolute"}},T.createElement(xe.Reparent,{id:`page-${l}`},T.createElement(Wh,{pageIndex:a,inViewport:n,shouldPrerender:o,viewportRect:t.viewportRect,onInitialOverviewRenderFinished:this._handleOverviewRenderFinished,innerRef:this.props.innerRef,parent:this.spreadRef,onCropChange:r,cropInfo:i,setGlobalCursor:this.props.setGlobalCursor})))})))}}var Hh=n(40045);const $h=T.memo((function(e){const{viewportState:t}=e,{lastScrollUsingKeyboard:n}=t,o=T.useRef(null),r=(0,Hs.dF)(t,t.currentPageIndex),[i,a]=(0,Hs.wU)(t,r);return T.useEffect((()=>{r-Je.J8>0&&o.current&&n&&o.current.focus({preventScroll:!0})}),[r,n]),0===t.viewportRect.width||0===t.viewportRect.height?null:T.createElement(Hh.Z,{dispatch:e.dispatch,viewportState:t},T.createElement("div",null,function(){const{viewportState:t,viewportState:{viewportRect:n,scrollPosition:s,zoomLevel:l},onCropChange:c,cropInfo:u}=e,d=(0,Hs.kd)(t),p=s.y,f=s.y+n.height/l,h=(0,Hs.Ad)(t);let m=0,g=0;const v=[];for(let n=0;np,y=(h-s.width)/2,b=new B.UL({left:y,top:m,width:s.width,height:s.height}).scale(l),w={left:b.left,top:b.top,width:b.width,height:b.height,position:"absolute"};if(g+=t.spreadSpacing,m=g,(0,Hs.wX)(n,r)){const s=n===r,l=(0,Hs.nw)(t)===C.X.DOUBLE?n.toString():e.pageKeys.get(n);v.push(T.createElement("div",{key:l,className:"PSPDFKit-Spread",style:w,"data-spread-index":n},T.createElement(qh,{spreadIndex:n,viewportState:t,inViewport:d,shouldPrerender:!s&&"number"==typeof i&&r===i,onOverviewRenderFinished:a,innerRef:s?o:void 0,onCropChange:c,cropInfo:u,pageKeys:e.pageKeys,setGlobalCursor:e.setGlobalCursor})))}}return v}()))}));var Yh=n(87222),Xh=n(74305);function Jh(){return Jh=Object.assign||function(e){for(var t=1;t{const{decorative:n,orientation:o=rm,...r}=e,i=sm(o)?o:rm,a=n?{role:"none"}:{"aria-orientation":"vertical"===i?i:void 0,role:"separator"};return(0,T.createElement)(nm.WV.div,om({"data-orientation":i},a,r,{ref:t}))}));function sm(e){return im.includes(e)}am.propTypes={orientation(e,t,n){const o=e[t],r=String(o);return o&&!sm(o)?new Error(function(e,t){return`Invalid prop \`orientation\` of value \`${e}\` supplied to \`${t}\`, expected one of:\n - horizontal\n - vertical\n\nDefaulting to \`${rm}\`.`}(r,n)):null}};const lm=am;function cm(){return cm=Object.assign||function(e){for(var t=1;t{const{pressed:n,defaultPressed:o=!1,onPressedChange:r,...i}=e,[a=!1,s]=(0,dm.T)({prop:n,onChange:r,defaultProp:o});return(0,T.createElement)(nm.WV.button,um({type:"button","aria-pressed":a,"data-state":a?"on":"off","data-disabled":e.disabled?"":void 0},i,{ref:t,onClick:(0,Qh.M)(e.onClick,(()=>{e.disabled||s(!a)}))}))}));var fm=n(69409);const hm="ToggleGroup",[mm,gm]=(0,em.b)(hm,[tm.Pc]),vm=(0,tm.Pc)(),ym=T.forwardRef(((e,t)=>{const{type:n,...o}=e;if("single"===n){const e=o;return T.createElement(Sm,cm({},e,{ref:t}))}if("multiple"===n){const e=o;return T.createElement(Em,cm({},e,{ref:t}))}throw new Error("Missing prop `type` expected on `ToggleGroup`")})),[bm,wm]=mm(hm),Sm=T.forwardRef(((e,t)=>{const{value:n,defaultValue:o,onValueChange:r=(()=>{}),...i}=e,[a,s]=(0,dm.T)({prop:n,defaultProp:o,onChange:r});return T.createElement(bm,{scope:e.__scopeToggleGroup,type:"single",value:a?[a]:[],onItemActivate:s,onItemDeactivate:T.useCallback((()=>s("")),[s])},T.createElement(Dm,cm({},i,{ref:t})))})),Em=T.forwardRef(((e,t)=>{const{value:n,defaultValue:o,onValueChange:r=(()=>{}),...i}=e,[a=[],s]=(0,dm.T)({prop:n,defaultProp:o,onChange:r}),l=T.useCallback((e=>s(((t=[])=>[...t,e]))),[s]),c=T.useCallback((e=>s(((t=[])=>t.filter((t=>t!==e))))),[s]);return T.createElement(bm,{scope:e.__scopeToggleGroup,type:"multiple",value:a,onItemActivate:l,onItemDeactivate:c},T.createElement(Dm,cm({},i,{ref:t})))})),[Pm,xm]=mm(hm),Dm=T.forwardRef(((e,t)=>{const{__scopeToggleGroup:n,disabled:o=!1,rovingFocus:r=!0,orientation:i,dir:a,loop:s=!0,...l}=e,c=vm(n),u=(0,fm.gm)(a),d={role:"group",dir:u,...l};return T.createElement(Pm,{scope:n,rovingFocus:r,disabled:o},r?T.createElement(tm.fC,cm({asChild:!0},c,{orientation:i,dir:u,loop:s}),T.createElement(nm.WV.div,cm({},d,{ref:t}))):T.createElement(nm.WV.div,cm({},d,{ref:t})))})),Cm="ToggleGroupItem",km=T.forwardRef(((e,t)=>{const n=wm(Cm,e.__scopeToggleGroup),o=xm(Cm,e.__scopeToggleGroup),r=vm(e.__scopeToggleGroup),i=n.value.includes(e.value),a=o.disabled||e.disabled,s={...e,pressed:i,disabled:a},l=T.useRef(null);return o.rovingFocus?T.createElement(tm.ck,cm({asChild:!0},r,{focusable:!a,active:i,ref:l}),T.createElement(Am,cm({},s,{ref:t}))):T.createElement(Am,cm({},s,{ref:t}))})),Am=T.forwardRef(((e,t)=>{const{__scopeToggleGroup:n,value:o,...r}=e,i=wm(Cm,n),a={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},s="single"===i.type?a:void 0;return T.createElement(pm,cm({},s,r,{ref:t,onPressedChange:e=>{e?i.onItemActivate(o):i.onItemDeactivate(o)}}))})),Om=ym,Tm=km,Im="Toolbar",[Fm,Mm]=(0,em.b)(Im,[tm.Pc,gm]),_m=(0,tm.Pc)(),Rm=gm(),[Nm,Lm]=Fm(Im),Bm=(0,T.forwardRef)(((e,t)=>{const{__scopeToolbar:n,orientation:o="horizontal",dir:r,loop:i=!0,...a}=e,s=_m(n),l=(0,fm.gm)(r);return(0,T.createElement)(Nm,{scope:n,orientation:o,dir:l},(0,T.createElement)(tm.fC,Jh({asChild:!0},s,{orientation:o,dir:l,loop:i}),(0,T.createElement)(nm.WV.div,Jh({role:"toolbar","aria-orientation":o,dir:l},a,{ref:t}))))})),jm="ToolbarSeparator",zm=(0,T.forwardRef)(((e,t)=>{const{__scopeToolbar:n,...o}=e,r=Lm(jm,n);return(0,T.createElement)(lm,Jh({orientation:"horizontal"===r.orientation?"vertical":"horizontal"},o,{ref:t}))})),Km=(0,T.forwardRef)(((e,t)=>{const{__scopeToolbar:n,...o}=e,r=_m(n);return(0,T.createElement)(tm.ck,Jh({asChild:!0},r,{focusable:!e.disabled}),(0,T.createElement)(nm.WV.button,Jh({type:"button"},o,{ref:t})))})),Zm="ToolbarToggleGroup",Um=(0,T.forwardRef)(((e,t)=>{const{__scopeToolbar:n,...o}=e,r=Lm(Zm,n),i=Rm(n);return(0,T.createElement)(Om,Jh({"data-orientation":r.orientation,dir:r.dir},i,o,{ref:t,rovingFocus:!1}))})),Vm=(0,T.forwardRef)(((e,t)=>{const{__scopeToolbar:n,...o}=e,r=Rm(n),i={__scopeToolbar:e.__scopeToolbar};return(0,T.createElement)(Km,Jh({asChild:!0},i),(0,T.createElement)(Tm,Jh({},r,o,{ref:t})))})),Gm=Bm,Wm=zm,qm=Km,Hm=Um,$m=Vm;var Ym,Xm=n(12921),Jm=n(54941);const Qm=e=>{let{rect:t,onInteractOutside:n,onEscapeKeyDown:o,children:r,onOpenAutoFocus:i,contentClassName:a}=e;return T.createElement(Jm.fC,{open:!!t},T.createElement(Jm.ee,{style:{position:"absolute",left:null==t?void 0:t.left,top:null==t?void 0:t.top,width:null==t?void 0:t.width,height:null==t?void 0:t.height,visibility:"hidden"}},Ym||(Ym=T.createElement("div",null,"Demo"))),T.createElement(Jm.VY,{sideOffset:10,onInteractOutside:n,onOpenAutoFocus:i,onEscapeKeyDown:o,className:a},r))};var eg=n(14526),tg=n.n(eg),ng=n(42308),og=n(66489),rg=n.n(og),ig=n(23756),ag=n.n(ig);const sg=["label","errorMessage","inputClassName","className","disablePadding"];function lg(e){let{label:t,errorMessage:n,inputClassName:o,className:i,disablePadding:a}=e,s=(0,r.Z)(e,sg);return T.createElement("div",{className:F()(!a&&ag().wrapper,i)},T.createElement("label",{className:ag().label},t,s.required&&"*",T.createElement(ue.oi,(0,De.Z)({},s,{className:F()(ag().input,{[ag().inputError]:!!n},o)}))),n&&T.createElement("span",{className:ag().errorLabel},n))}var cg=n(51205);const ug={uri:"uri",page:"page"},dg="edit",pg="hover",fg="open";function hg(e){if(!e.action)return null;const t=e.action;return t instanceof j.lm?t.uri:t.pageIndex+1}function mg(e){return T.createElement("div",{className:F()(rg().container)},T.createElement("div",{className:rg().innerContainer},T.createElement("div",{className:rg().content},T.createElement(gg,e))))}function gg(e){var t,o;let{pages:r,dispatch:i,annotation:a}=e;const s=(0,Re.YB)(),l=a.action instanceof j.Di,c=a.action instanceof j.lm;let u;l&&(u=a.action),c&&(u=a.action);const d=(0,T.useMemo)((()=>!c&&!l||c?ug.uri:ug.page),[l,c]),[p,f]=(0,T.useState)(d),[h,m]=(0,T.useState)((null===(t=u)||void 0===t?void 0:t.uri)||""),[g,v]=(0,T.useState)((null===(o=u)||void 0===o?void 0:o.pageIndex)+1||""),[y,b]=(0,T.useState)(""),w=p===ug.uri,S=(0,T.useCallback)((e=>r.get(e-1)),[r]),E=(0,T.useCallback)((()=>{const e=Number(g);if(e)if(S(e)){const t=new j.Di({pageIndex:e-1}),n=a.set("action",t);i((0,Qt.FG)(n))}else b(s.formatMessage(yg.invalidPageNumber));else b(s.formatMessage(yg.invalidPageNumber))}),[a,i,g,S]),P=(0,T.useCallback)((()=>{if(!h)return void b(s.formatMessage(yg.invalidPageLink));const e=new j.lm({uri:h}),t=a.set("action",e);i((0,Qt.FG)(t))}),[a,i,h]),x=(0,T.useCallback)((()=>{if(w)return T.createElement(lg,{label:s.formatMessage(Ke.Z.linkAnnotation),value:h,onChange:e=>{m(e.target.value),b("")},onBlur:P,errorMessage:y,placeholder:"www.example.com",disablePadding:!0})}),[y,s,w,h,P]),D=(0,T.useCallback)((()=>{if(!w)return T.createElement(lg,{disablePadding:!0,label:s.formatMessage(yg.targetPageLink),value:g,onChange:e=>{v(e.target.value),y&&b("")},onBlur:E,placeholder:"1",errorMessage:y})}),[y,s,w,g,E]);return T.createElement(T.Fragment,null,T.createElement("label",{className:rg().label},s.formatMessage(yg.linkTo),T.createElement(ue.Ee,{inputName:"LinkTo",label:s.formatMessage(Ke.Z.horizontalAlignment),selectedOption:p,labelClassNamePrefix:"PSPDFKit-Link-Popover-Editor-LinkTo",wrapperClasses:rg().radioGroupWrapper,options:Object.keys(ug).map((e=>({value:e,label:s.formatMessage(yg[`${e}Link`]),iconPath:n(11379)}))),onChange:e=>{f(ug[e]),y&&b("")},isButton:!0,showLabel:!0})),x(),D())}function vg(e){const{viewportState:t,isHidden:n,annotation:o,isHover:r,dispatch:i}=e,a=(0,Re.YB)(),[s,l]=(0,T.useState)(!1),c=(0,T.useMemo)((()=>(0,$i.q)((0,J.Wj)(o,t.pagesRotation,t.viewportRect.getSize()).apply((0,de.cr)(t,t.currentPageIndex).translate(t.scrollPosition.scale(t.zoomLevel))),t.viewportRect.getSize())),[o,t]),u=(0,T.useMemo)((()=>o&&r?pg:o&&!o.action||s?dg:fg),[o,r,s]),d=(null==o?void 0:o.action)instanceof j.lm,p=(0,T.useMemo)((()=>u===dg?a.formatMessage(yg.linkSettingsPopoverTitle):d?hg(o):`${a.formatMessage(yg.linkToPage,{arg0:hg(o)})}: ${hg(o)}`),[o,u,a]),f=(0,T.useCallback)((t=>{if(t){const e=o.action instanceof j.lm;return T.createElement("div",{className:F()(rg().container)},T.createElement("div",{className:rg().contentRow},T.createElement(ue.zx,{className:F()("PSPDFKit-Link-Popover-Editor-Edit-Button"),onClick:()=>l(!0)},a.formatMessage(Ke.Z.edit)),T.createElement(ue.zx,{className:F()("PSPDFKit-Link-Popover-Editor-Open-Button"),onClick:()=>{i((0,je.fz)()),i((0,$r.oo)(o))},primary:!0},a.formatMessage(e?yg.openLink:yg.goToPageLink))))}return T.createElement(mg,e)}),[o,i,a,e]),h=(0,T.useCallback)((()=>{switch(u){case dg:return f();case fg:return f(!0);default:return null}}),[u,f]);return T.createElement(cg.Z,{referenceRect:c,viewportState:t,isHidden:n,className:"PSPDFKit-Link-Editor-Popover",wrapperClassName:"PSPDFKit-Link-Editor",title:p,centeredTitle:u!==dg},h())}const yg=(0,Re.vU)({linkSettingsPopoverTitle:{id:"linkSettingsPopoverTitle",defaultMessage:"Link Settings",description:"Link settings popover title"},linkTo:{id:"linkTo",defaultMessage:"Link To",description:"Link to popover option"},linkToPage:{id:"linkToPage",defaultMessage:"Link to Page",description:"Link to page action"},targetPageLink:{id:"targetPageLink",defaultMessage:"Page Number",description:"Link settings popover target link"},linkSettings:{id:"linkSettings",defaultMessage:"Link Settings",description:"Link Settings"},uriLink:{id:"uriLink",defaultMessage:"Website",description:"Link to uri"},pageLink:{id:"pageLink",defaultMessage:"Page",description:"Link to a page"},openLink:{id:"openLink",defaultMessage:"Open Link",description:"Open link to a page"},goToPageLink:{id:"goToPageLink",defaultMessage:"Go to Page",description:"Go to a page link"},invalidPageNumber:{id:"invalidPageNumber",defaultMessage:"Enter a valid page number.",description:"Invalid page number"},invalidPageLink:{id:"invalidPageLink",defaultMessage:"Enter a valid page link.",description:"Invalid page link"}}),bg=e=>{var t,o,r,i;let{editor:s,closeInlineToolbar:l,container:c}=e;const u=(0,T.useCallback)((e=>{const[t]=ng.ML.nodes(e,{match:e=>!ng.ML.isEditor(e)&&ng.W_.isElement(e)&&"link"===e.type});return t}),[]),d=(0,T.useRef)(s&&(null===(t=u(s))||void 0===t||null===(o=t[0])||void 0===o?void 0:o.url)),[p,f]=T.useState(s?null===(r=u(s))||void 0===r||null===(i=r[0])||void 0===i?void 0:i.url:""),[h,m]=T.useState(!1),[g,v]=T.useState(!1),{formatMessage:y}=(0,Re.YB)(),b=T.useCallback((e=>{f(e.target.value)}),[f]),w=(0,T.useCallback)((e=>{ng.YR.unwrapNodes(e,{match:e=>!ng.ML.isEditor(e)&&ng.W_.isElement(e)&&"link"===e.type})}),[]),S=(0,T.useCallback)((e=>{if(!s)return;u(s)&&ue.ri.unwrapNode(s,"link");const{selection:t}=s,n=t&&ng.e6.isCollapsed(t);ue.ri.wrapNode(s,{type:"link",url:e,children:n?[{text:e,type:"text"}]:[]})}),[s,u]),E=T.useCallback((()=>{(0,a.kG)(s),p?S(p):w(s),l()}),[s,p,l,w,S]),P=T.useCallback((()=>{(0,a.kG)(s),w(s),l()}),[s,w,l]),x=T.useCallback((()=>!d.current||g?T.createElement("div",null,T.createElement("label",{htmlFor:"linkUrl"},y(Ke.Z.linkAnnotation)),T.createElement("input",{id:"linkUrl",placeholder:"https://yourdomain.com",value:p,type:"url",onChange:b,onKeyPress:e=>{"Enter"===e.key&&E()}})):T.createElement("div",{className:F()(tg().linkEditorMenu)},T.createElement("div",{className:F()(tg().linkEditorRow,tg().linkEditorCenteredRow)},T.createElement(ue.zx,{className:F()("PSPDFKit-Link-Popover-Editor-Edit-Button",tg().linkEditorFullWidthButton),onClick:()=>v(!0)},y(Ke.Z.edit)),T.createElement(ue.zx,{className:F()("PSPDFKit-Link-Popover-Editor-Open-Button",tg().linkEditorFullWidthButton),onClick:P,primary:!0},y(wg.removeLink))))),[y,b,g,p,P]),D=T.useCallback((()=>d.current&&!g?null:g?T.createElement("div",{className:F()(tg().linkSaveContainer,tg().linkEditorMenu)},T.createElement("div",{className:F()(tg().linkEditorRow,tg().linkEditorEndAlignedRow)},T.createElement(ue.zx,{className:F()("PSPDFKit-Link-Popover-Editor-Edit-Button",tg().linkEditorFooterButton),onClick:()=>v(!1)},y(Ke.Z.cancel)),T.createElement(ue.zx,{className:F()("PSPDFKit-Link-Popover-Editor-Open-Button",tg().linkEditorFooterButton),onClick:E,primary:!0},y(Ke.Z.save)))):T.createElement("button",{className:tg().removeLink,disabled:!p&&!d.current||d.current&&d.current===p&&!p,onClick:E},d.current?p&&d.current!==p?y(wg.editLink):y(wg.removeLink):y(wg.addLink))),[y,E,g,p]);return s?T.createElement(Xm.fC,{open:h,modal:!1},T.createElement(Xm.xz,{asChild:!0},T.createElement(qm,{onKeyDown:e=>{"Enter"!==e.key&&"Spacebar"!==e.key&&" "!==e.key||(e.nativeEvent.stopImmediatePropagation(),m(!h))},onClick:()=>m(!h),className:F()(tg().inlineToolbarButton,{[tg().linkActive]:!!u(s)}),title:y(wg.addLink),"aria-label":y(wg.addLink)},T.createElement(Ye.Z,{src:n(55676)}))),T.createElement(Xm.Uv,{container:c},T.createElement(Xm.VY,{onPointerDownOutside:()=>m(!1),className:F()(tg().linkEditor,"PSPDFKit-Rich-Link-Editor-Dropdown")},T.createElement("h4",{className:F()(tg().linkEditorHeader,{[tg().centeredLinkEditorHeader]:!(g||!d.current)})},g||!d.current?y(yg.linkSettings):d.current),x(),D(),T.createElement(Xm.Eh,{className:tg().linkEditorArrow})))):null},wg=(0,Re.vU)({addLink:{id:"addLink",defaultMessage:"Add Link",description:"Add Link"},removeLink:{id:"removeLink",defaultMessage:"Remove Link",description:"Remove Link"},editLink:{id:"editLink",defaultMessage:"Edit Link",description:"Edit Link"}});var Sg;function Eg(e){"Enter"!==e.key&&"Spacebar"!==e.key&&" "!==e.key||e.nativeEvent.stopImmediatePropagation()}const Pg=(0,Re.vU)({commentEditorLabel:{id:"commentEditorLabel",defaultMessage:"Add your comment…",description:"Label for comment area textarea"},reply:{id:"reply",defaultMessage:"Reply",description:"Button text for adding a comment reply"}}),xg=e=>{let{name:t,avatarUrl:o,description:r}=e;return T.createElement("div",{className:F()(tg().mentionDropdownList,{[tg().mentionDropdownListWithoutDescription]:!r})},o?T.createElement("img",{className:tg().mentionImg,src:o,alt:t}):T.createElement(Ye.Z,{className:tg().mentionImg,src:n(32443)}),T.createElement("span",{className:tg().mentionName},t),!!r&&T.createElement("span",{className:tg().mentionDescription},r))},Dg=e=>{let{color:t,onValueChange:n,children:o,includeTransparent:r,label:i,frameWindow:s}=e;const l=mt.Ei.COLOR_PRESETS,{formatMessage:c}=(0,Re.YB)(),[u,d]=T.useState(!1);return T.createElement(Xm.fC,{open:u,modal:!1},T.createElement(Xm.xz,{asChild:!0},T.createElement(qm,{"aria-label":i,title:i,onKeyDown:e=>{"Enter"!==e.key&&"Spacebar"!==e.key&&" "!==e.key||(e.nativeEvent.stopImmediatePropagation(),d(!u))},onClick:()=>d(!u),className:tg().inlineToolbarButton},o)),T.createElement(Xm.Uv,{container:s.document.body},T.createElement(Xm.VY,{align:"start",className:F()(tg().colorPickerContent,"PSPDFKit-Color-Picker-Dropdown"),asChild:!0,onPointerDownOutside:()=>d(!1),defaultValue:null!=t?t:"transparent"},T.createElement(Xm.Ee,{value:null!=t?t:"transparent",onValueChange:n},l.filter((e=>!!e.color&&!e.color.equals(j.Il.TRANSPARENT))).map((e=>{(0,a.kG)(e.color);const t=e.color.toHex();return T.createElement(Xm.Rk,{className:tg().colorPickerItem,value:t,key:t,"aria-label":c(e.localization),title:c(e.localization),asChild:!0},T.createElement("div",{style:{backgroundColor:t}}))})),r&&T.createElement(Xm.Rk,{className:tg().colorPickerItem,value:"transparent",asChild:!0},T.createElement("div",{className:tg().colorPickerCheckered},Sg||(Sg=T.createElement("div",null))))))))},Cg=e=>{let{comment:t,dispatch:o,isFirstComment:r,keepSelectedTool:s,onEditorInit:l,frameWindow:c,anonymousComments:u,isEditing:d,onChangeDone:p,className:f,mentionableUsers:h,maxMentionSuggestions:m}=e;const g=(0,T.useRef)(t),{formatMessage:v}=(0,Re.YB)(),[y,b]=T.useState(t.text.value&&ue.ri.getText(t.text.value).length>0),[w,S]=T.useState(t.text.value||""),E=T.useRef(null),[P,x]=T.useState(null),D=T.useRef(null),[C,k]=T.useState(!1),[A,O]=(0,T.useState)(null),I=(0,T.useRef)(null),M=T.useCallback((()=>{if(d)return;if(w===t.text.value)return;const e=t.set("text",{format:"xhtml",value:w.trim()});o((0,bi.gk)((0,i.aV)([e])))}),[o,t,w,d]),_=T.useCallback((()=>{if(!y)return;let e=t;d&&(e=e.set("text",{format:"xhtml",value:w.trim()})),o((0,bi.BY)(e,g.current));const n=e.rootId;(0,a.kG)(n),d||o((0,bi.mh)(n)),r&&o((0,je.Df)((0,i.l4)([n]),null)),s&&o((0,En.k6)()),null==p||p()}),[o,t,r,y,d,w,s,p]),R=T.useCallback((()=>{const e=t.set("isAnonymous",!t.isAnonymous);o((0,bi.gk)((0,i.aV)([e])))}),[t,o]),N=T.useCallback((e=>{C&&!e||((0,a.kG)(E.current),x(null),O(null),E.current.selection=null,Xh.F3.focus(E.current))}),[E.current,C]),L=(0,T.useCallback)((()=>{const e=E.current,t=c.getSelection();if(null==e||!e.selection||!D.current||!D.current.contains(null==t?void 0:t.anchorNode))return;if(!ue.ri.isRangeSelected(e))return x(null),void O(null);const n=Xh.F3.toDOMRange(e,e.selection).getBoundingClientRect(),o=D.current.getBoundingClientRect();O({fontColor:(0,qn.BK)(ue.ri.getSelectedNodesColor(e,"fontColor")),backgroundColor:(0,qn.BK)(ue.ri.getSelectedNodesColor(e,"backgroundColor")),inlineFormat:["bold","italic","underline"].map((t=>"underline"===t?ue.ri.isSelectionUnderlined(e):ue.ri.isMarkActive(e,t)?t:null)).filter(Boolean)}),x({height:n.height,width:n.width,top:n.top-o.top,left:n.left-o.left})}),[c]);(0,T.useEffect)((()=>{var e,t,n;const o=E.current;if(!o)return;function r(e){"Escape"===e.key?(N(!0),ue.ri.isRangeSelected(o)&&(e.preventDefault(),e.stopPropagation())):"Tab"===e.key&&(e.preventDefault(),e.stopPropagation())}function i(e){"keyup"===e.type&&k(!0)}const a=(0,Cc.Z)(L,50);return c.document.addEventListener("selectionchange",i),c.document.addEventListener("keyup",r,{capture:!0}),null===(e=D.current)||void 0===e||e.addEventListener("pointerup",L),null===(t=D.current)||void 0===t||t.addEventListener("keyup",a),null===(n=D.current)||void 0===n||n.addEventListener("dblclick",a),()=>{var e,t,n;c.document.removeEventListener("selectionchange",i),c.document.removeEventListener("keyup",r,{capture:!0}),null===(e=D.current)||void 0===e||e.removeEventListener("pointerup",L),null===(t=D.current)||void 0===t||t.removeEventListener("keyup",a),null===(n=D.current)||void 0===n||n.removeEventListener("dblclick",a)}}),[N,c.document,L]);const B=T.useCallback((e=>{null==l||l(e),E.current=e}),[l]),j=e=>{const t=E.current;(0,a.kG)(t),ue.ri.toggleMark(t,e),N()},z=T.useCallback((e=>{S(e),b(ue.ri.getText(e).length>0)}),[S,b]);return T.createElement("div",{className:F()(tg().commentWrapper,f,"PSPDFKit-Comment-Editor")},T.createElement("div",{ref:D,style:{position:"relative"},onBlur:M},T.createElement(ue.Hp,{title:v(Pg.commentEditorLabel),users:h,autoFocus:!!r,text:t.text.value||"",onMentionSuggestionsOpenChange:M,onEditorInit:B,onValueChange:z,placeholder:v(Pg.commentEditorLabel),className:F()(tg().commentEditorInput,"PSPDFKit-Comment-Editor-Input"),autoOpenKeyboard:!tt.TL&&!tt.Dt,mentionListRenderer:xg,mentionDropdownClassName:tg().mentionDropdown,mentionListClassName:tg().mentionDropdownListWrapper,ref:I,maxMentionSuggestions:m}),T.createElement(Qm,{rect:P,onInteractOutside:N,container:c.document.body,onOpenAutoFocus:e=>e.preventDefault(),contentClassName:"PSPDFKit-Comment-Editor-Inline-Toolbar"},T.createElement(Gm,{className:tg().inlineToolbar},T.createElement(Dg,{color:null==A?void 0:A.fontColor,onValueChange:e=>{ue.ri.applyStyle(E.current,"fontColor",e),N()},frameWindow:c,label:v(Ke.Z.color)},T.createElement("div",{role:"button",className:tg().inlineToolbarButton},T.createElement(Ye.Z,{src:n(19587)}),T.createElement(Ye.Z,{className:tg().caret,src:n(64762)}))),T.createElement(Wm,{className:tg().inlineToolbarSeparator}),T.createElement(Dg,{color:null==A?void 0:A.backgroundColor,onValueChange:e=>{ue.ri.applyStyle(E.current,"backgroundColor",e),N()},includeTransparent:!0,label:v(Ke.Z.fillColor),frameWindow:c},T.createElement("div",{role:"button",className:tg().inlineToolbarButton},T.createElement(Ye.Z,{src:n(59601)}),T.createElement(Ye.Z,{className:tg().caret,src:n(64762)}))),T.createElement(Wm,{className:tg().inlineToolbarSeparator}),T.createElement(Hm,{type:"multiple",value:null==A?void 0:A.inlineFormat,className:tg().inlineToolbarGroup},T.createElement($m,{onClick:()=>{j("bold")},value:"bold",className:tg().inlineToolbarButton,"aria-label":v(Ke.Z.bold),title:v(Ke.Z.bold)},T.createElement(Ye.Z,{role:"presentation",src:n(99604)})),T.createElement($m,{onClick:()=>j("italic"),value:"italic",className:tg().inlineToolbarButton,"aria-label":v(Ke.Z.italic),title:v(Ke.Z.italic)},T.createElement(Ye.Z,{role:"presentation",src:n(99082)})),T.createElement($m,{onClick:()=>j("underline"),value:"underline",className:tg().inlineToolbarButton,"aria-label":v(Ke.Z.underline),title:v(Ke.Z.underline)},T.createElement(Ye.Z,{role:"presentation",src:n(80394)}))),T.createElement(Wm,{className:tg().inlineToolbarSeparator}),T.createElement(bg,{container:c.document.body,editor:E.current,closeInlineToolbar:N})))),T.createElement("div",{className:tg().commentEditorActions},T.createElement("div",{className:tg().commentActionsFooter},!!h.length&&T.createElement("button",{className:tg().commentEditorAction,onClick:()=>{var e;null===(e=I.current)||void 0===e||e.startMention()},title:v(Ke.Z.anonymous),"aria-label":v(Ke.Z.anonymous)},T.createElement(Ye.Z,{role:"presentation",src:n(35122)})),!!u&&T.createElement("button",{className:F()(tg().commentEditorAction,{[tg().commentEditorAnonymityActive]:t.isAnonymous}),onClick:R,"aria-checked":!!t.isAnonymous,role:"checkbox",title:v(Ke.Z.anonymous),"aria-label":v(Ke.Z.anonymous)},T.createElement(Ye.Z,{role:"presentation",src:n(15445)}))),T.createElement("div",{className:tg().editingCommentText},d?T.createElement(T.Fragment,null,T.createElement("button",{type:"button",title:v(Ke.Z.discard),"aria-label":v(Ke.Z.discard),onClick:p,className:F()(tg().editingCommentActionButton,tg().editingCommentActionCancel)},T.createElement(Ye.Z,{src:n(4587)})),T.createElement("button",{title:v(Ke.Z.edit),"aria-label":v(Ke.Z.edit),type:"submit",className:F()(tg().editingCommentActionButton,tg().editingCommentActionSave),onClick:_},T.createElement(Ye.Z,{src:n(33862)}))):T.createElement("button",{title:v(r?Ke.Z.commentAction:Pg.reply),"aria-label":v(r?Ke.Z.commentAction:Pg.reply),className:F()(tg().editingCommentActionButton,tg().editingCommentActionSaveNew,"PSPDFKit-Comment-Editor-Save-Button"),disabled:!y,"aria-disabled":!y,onKeyDown:Eg,onClick:_},T.createElement(Ye.Z,{src:n(96447)})))))};var kg,Ag,Og=n(37676);const Tg=e=>e.children;const Ig=(0,A.$j)((function(e,t){return{isReadOnly:(0,So.Ez)(t.comment,e),canDeleteCommentCP:!!(0,oi.Ss)(t.comment,e),canEditCommentCP:!!(0,oi.kR)(t.comment,e),dateTimeStringCallback:e.dateTimeString,frameWindow:e.frameWindow,anonymousComments:e.anonymousComments,mentionableUsers:e.mentionableUsers}}))((function(e){const{comment:t,onToggleContent:n,dispatch:o,isGrouped:r,isExpanded:i,isReadOnly:a,canDeleteCommentCP:s,canEditCommentCP:l,dateTimeStringCallback:c,frameWindow:u,anonymousComments:d,mentionableUsers:p,maxMentionSuggestions:f}=e,{text:h,isAnonymous:m}=t,g=i&&!a&&s,v=i&&!a&&l,[y,b]=T.useState(!1),[w,S]=T.useState(!1);T.useEffect((()=>{!i&&w&&S(!1)}),[i,w]);const E=(0,qn.KY)(h.value||"").length>120,[P,x]=T.useState(!E),D=`Comment-${t.id}`,C=T.useCallback((e=>{E&&(e.stopPropagation(),x(!P),n&&n(!P))}),[P,E,x,n]),k=T.useCallback((()=>{o((0,bi.UM)(t))}),[t,o]),{formatDate:A,formatMessage:O}=(0,Re.YB)();let I="?";null==t.creatorName||t.isAnonymous||(I=t.creatorName.split(" ").map((e=>e[0])).join(" "));const M=O(P?Ke.Z.showLess:Ke.Z.showMore);let _=null;c&&(_=c({dateTime:t.createdAt,element:Nu.COMMENT_THREAD,object:t})),null==_&&(_=A(t.createdAt,{hour12:!0,hour:"numeric",minute:"numeric",month:"short",day:"numeric"}));const R=T.useCallback((e=>{const n=t.set("isAnonymous",!!e);o((0,bi.DO)(n)),S(!1)}),[t,o]),N=T.useMemo((()=>{const e=[];return v&&e.push({content:O(Yu.editContent),onClick:()=>{S(!0)}}),g&&e.push({content:O(Ke.Z.delete),onClick:()=>{b(!0)}}),v&&d&&e.push(kg||(kg=T.createElement(ue.nB,null)),T.createElement(ue.ub,{checked:!!m,onCheckedChange:R},O(Ke.Z.anonymous))),e}),[m,g,O,v,R]);return T.createElement("div",{className:F()(tg().comment,"PSPDFKit-Comment")},T.createElement("div",{className:F()(tg().header,"PSPDFKit-Comment-Header")},!r&&T.createElement("div",{className:F()(tg().avatar,"PSPDFKit-Comment-Avatar")},T.createElement(Ie,{key:t.creatorName,renderer:"CommentAvatar"},T.createElement(Tg,{comment:t},T.createElement("span",{title:t.isAnonymous?O(Ke.Z.anonymous):t.creatorName||void 0},I)))),T.createElement("div",{className:tg().nameAndDate},!r&&T.createElement("div",{className:F()(tg().creatorName,"PSPDFKit-Comment-CreatorName")},m?O(Ke.Z.anonymous):t.creatorName||O(Ke.Z.anonymous)),T.createElement("time",{dateTime:t.createdAt.toISOString(),className:F()(tg().commentDate,"PSPDFKit-Comment-CommentDate")},_)),!!N.length&&T.createElement(ue.N9,{container:null==u?void 0:u.document.body,label:O(Yu.commentOptions),items:N,alignContent:"end",className:tg().dropdownWrapper})),w?T.createElement(Cg,{maxMentionSuggestions:f,mentionableUsers:p,className:tg().editingCommentWrapper,comment:t,isEditing:!0,frameWindow:u,anonymousComments:d,dispatch:o,keepSelectedTool:!1,onChangeDone:()=>S(!1)}):T.createElement("div",{className:F()(tg().commentText,"PSPDFKit-Comment-Text")},T.createElement("div",{onClick:e=>{"A"===e.target.nodeName&&((0,Og.l)(e.target.href,!0),e.stopPropagation(),e.preventDefault())},className:P?void 0:tg().notExpanded,id:D,dangerouslySetInnerHTML:{__html:h.value||""}})),(g||E)&&T.createElement("div",{className:F()(tg().commentActions,"PSPDFKit-Comment-Actions")},E?T.createElement(ue.w6,{ariaControls:D,onPress:E?C:void 0,expanded:P,className:F()(tg().commentToggle,"PSPDFKit-Comment-Toggle")},T.createElement("span",{className:tg().showMore,title:M},M)):Ag||(Ag=T.createElement("div",null)),g&&y&&T.createElement($u.Z,{onConfirm:k,onCancel:()=>{b(!1)},accessibilityLabel:O(Yu.deleteCommentConfirmAccessibilityLabel),accessibilityDescription:O(Yu.deleteCommentConfirmAccessibilityDescription)},T.createElement("p",null,O(Yu.deleteCommentConfirmMessage)))))})),Fg=Ig,Mg=T.forwardRef((function(e,t){const{comments:n,rootId:o,isExpanded:r,dispatch:i,commentThread:s,onUpdate:l,isSelected:c,keepSelectedTool:u,frameWindow:d,anonymousComments:p,mentionableUsers:f,maxMentionSuggestions:h}=e,{formatMessage:m}=(0,Re.YB)(),g=T.useRef(null),v=T.useRef(c);T.useEffect((()=>{const e=v.current,t=setTimeout((()=>{e&&c&&g.current&&Xh.F3.focus(g.current)}),150);return v.current=!1,()=>{t&&clearTimeout(t)}}),[c]);const y=T.useCallback((e=>{null!=l&&l(o,r,e)}),[r,l,o]);return T.createElement("div",{className:F()("PSPDFKit-Comment-Thread",tg().commentThread,{"PSPDFKit-Comment-Thread-Selected":c,"PSPDFKit-Comment-Thread-Expanded":r}),ref:t},n.map(((t,o)=>{(0,a.kG)(null!==t,"Comment must not be null");const l=0===o;if((0,Ml.kT)(t))return T.createElement("div",{className:F()(tg().commentFooter,tg().commentFooterEditor),key:`draft-${t.id}`,onFocus:()=>{v.current=!0}},T.createElement(Cg,{maxMentionSuggestions:h,mentionableUsers:f,isFirstComment:l,comment:t,dispatch:e.dispatch,onEditorInit:e=>g.current=e,keepSelectedTool:u,frameWindow:d,anonymousComments:p}));const c=o>0&&n.get(o-1),m=!!c&&(c.creatorName!==t.creatorName||t.isAnonymous||c.isAnonymous);return T.createElement(T.Fragment,{key:t.id||void 0},r&&s.size>1&&o>0?T.createElement("div",{className:m?tg().separatorDifferentAuthor:tg().separatorSameAuthor}):null,T.createElement(Fg,{maxMentionSuggestions:h,isExpanded:r,comment:t,onToggleContent:()=>y(l),isGrouped:0!==o&&!m,dispatch:i}))})),s.size>1&&!r&&T.createElement("div",{className:F()(tg().commentFooter,tg().moreComments)},T.createElement("div",null,m(Ke.Z.nMoreComments,{arg0:s.size-1})),T.createElement(_e.Z,{className:tg().showMore},m(Ke.Z.showMore))))}));var _g=n(49200);function Rg(e){let{selectedAnnotation:t,viewportState:o,keepSelectedTool:r,anonymousComments:s,frameWindow:l,commentThread:c,comments:u,maxMentionSuggestions:d,mentionableUsers:p}=e;const{formatMessage:f}=(0,Re.YB)(),h=(0,A.I0)(),[m,g]=(0,fi.U5)({threshold:.2}),v=T.useRef(null);let y,b;y=t instanceof _g.Z?(0,$i.q)((0,J.Wj)(t,o.pagesRotation,o.viewportRect.getSize()).apply((0,de.cr)(o,t.pageIndex).translate(o.scrollPosition.scale(o.zoomLevel))),o.viewportRect.getSize()):t.boundingBox.apply((0,de.cr)(o,t.pageIndex).translate(o.scrollPosition.scale(o.zoomLevel)));const w=c.reduce(((e,t)=>{const n=u.get(t);return(0,a.kG)(n),(0,Ml.kT)(n)?b=n:e=e.push(n),e}),(0,i.aV)());return T.createElement(cg.Z,{referenceRect:y,viewportState:o,className:"PSPDFKit-Comment-Thread-Popover",wrapperClassName:F()(tg().commentThreadPopover,"PSPDFKit-Comment-Thread"),footerClassName:F()(tg().commentThreadPopoverFooter,{[tg().commentThreadPopoverFooterEmpty]:0===w.size}),innerWrapperClassName:tg().innerWrapper,title:f(Ke.Z.comment),footer:T.createElement("div",{className:F()(tg().commentFooter,tg().commentFooterEditor),key:b.id},T.createElement(Cg,{isFirstComment:0===w.size,comment:b,dispatch:h,keepSelectedTool:r,frameWindow:l,anonymousComments:s,maxMentionSuggestions:d,mentionableUsers:p}))},T.createElement("div",{className:tg().commentThread},w.map(((e,t)=>{const n=t>0&&w.get(t-1),o=!!n&&(n.creatorName!==e.creatorName||e.isAnonymous||n.isAnonymous);return T.createElement(T.Fragment,{key:e.id||void 0},c.size>1&&t>0?T.createElement("div",{ref:t===w.size-1?m:null,className:o?tg().separatorDifferentAuthor:tg().separatorSameAuthor}):null,T.createElement("div",{ref:w.size-1===t?e=>{v.current=e,m(e)}:null},T.createElement(Fg,{isExpanded:!0,comment:e,isGrouped:0!==t&&!o,dispatch:h,maxMentionSuggestions:d})))})),!1===g.isIntersecting&&T.createElement("div",{className:tg().moreCommentsContainer},T.createElement("div",{className:tg().moreCommentsContent,role:"button",onClick:()=>{v.current&&v.current.scrollIntoView({block:"nearest",inline:"nearest"})}},T.createElement(Ye.Z,{className:tg().moreCommentsIcon,src:n(96447)}),f(Yu.moreComments)))))}const Ng=T.memo((function(e){let{annotations:t,selectedAnnotation:n,comments:o,commentThreads:r,viewportState:s,dispatch:l,keepSelectedTool:c,frameWindow:u,anonymousComments:d,mentionableUsers:p,maxMentionSuggestions:f}=e;const h=T.useCallback(((e,t)=>{Kg(e),n&&n.id===t.id||(l((0,bi.Dm)()),l((0,je.Df)((0,i.l4)([t.id]),null)))}),[l,n]);if(s.commentMode===Yh._.PANE){(0,a.kG)(n);const e=r.get(n.id);return e?T.createElement(Bg,{maxMentionSuggestions:f,mentionableUsers:p,comments:o,commentThread:e,id:n.id,viewportState:s,onThreadClick:Kg,dispatch:l,keepSelectedTool:c,frameWindow:u,anonymousComments:d}):null}if(s.zoomMode===Xs.c.FIT_TO_WIDTH){if(!n)return null;const e=r.get(n.id);return e?T.createElement(Rg,{selectedAnnotation:n,comments:o,commentThread:e,anonymousComments:d,viewportState:s,keepSelectedTool:c,frameWindow:u,mentionableUsers:p,maxMentionSuggestions:f}):null}return T.createElement(Lg,{maxMentionSuggestions:f,mentionableUsers:p,annotations:t,selectedAnnotation:n,comments:o,commentThreads:r,viewportState:s,onThreadClick:h,dispatch:l,keepSelectedTool:c,frameWindow:u,anonymousComments:d})})),Lg=T.memo((function(e){let{annotations:t,selectedAnnotation:n,comments:o,commentThreads:r,viewportState:i,onThreadClick:s,dispatch:l,keepSelectedTool:c,frameWindow:u,anonymousComments:d,mentionableUsers:p,maxMentionSuggestions:f}=e;const h=function(e,t,n){const{scrollMode:o,layoutMode:r,currentPageIndex:i}=n,a=o===nl.G.PER_SPREAD||o===nl.G.DISABLED?i:null,s=T.useMemo((()=>n),[r,o,a]),l=T.useMemo((()=>{if(s.scrollMode===nl.G.PER_SPREAD||s.scrollMode===nl.G.DISABLED){const n=(0,Hs.P1)(s,(0,Hs.dF)(s,s.currentPageIndex));return t.filter(((t,o)=>{const r=e.get(o);return r&&n.includes(r.pageIndex)}))}return t}),[s,e,t]);return T.useMemo((()=>l.sortBy(((t,n)=>{const o=e.get(n);if(!o)return[0,0];return[(0,Hs.dF)(s,o.pageIndex),o.boundingBox.top]}),ze.b)),[s,l,e])}(t,r,i),{selectedOffset:m,threadElements:g,totalHeight:v}=function(e,t,n,o,r,i,s,l,c,u,d,p){const{currentPageIndex:f,viewportRect:h,layoutMode:m}=r,g=h.height,v=m===C.X.SINGLE?4:8,y=T.useCallback(((e,t,n)=>{n&&delete jg[zg(e,!1)],delete jg[zg(e,t)],S({})}),[]),b=T.useMemo((()=>o.map(((t,n)=>{const o=e.get(n);return o&&"number"==typeof o.pageIndex?(0,Ml.nN)(o,r):-1}))),[e,o,r]),[w,S]=T.useState({}),{formatMessage:E}=(0,Re.YB)();return T.useMemo((()=>{let r=0,h=0,m=null,w=null,P=0;const x=o.map(((o,x,D)=>{var C,k;const A=e.get(x);if(!A||"number"!=typeof A.pageIndex)return null;let O=!1;if((0,Ml._P)(o,n)){const e=o.last();(0,a.kG)(null!=e);const t=n.get(e);(0,a.kG)(null!=t),O=t.text.value.length>0}const I=Boolean(t&&t.id===A.id),M=Boolean(I||O);let _=jg[zg(x,M)];if(null!=_){const e=!M&&_.threadCommentIds.first()!==o.first(),t=!M&&(o.size>=2&&_.threadCommentIds.size<=1||o.size<=1&&_.threadCommentIds.size>=2),n=M&&!o.equals(_.threadCommentIds);(e||t||n)&&(delete jg[zg(x,M)],_=null)}const R=_&&_.height||(M?.4*g:80);let N=b.get(x),L="number"==typeof N&&-1!==N?N:R;N=L,Lf+v))return null;const j=!_;let z;j&&(P++,z=function(e){e&&(jg[zg(x,M)]={height:e.offsetHeight,threadCommentIds:o},P--,0===P&&S({}))}),I&&(h=L-N,m=L,w=D);const K=(M?o:o.take(1)).map((e=>{const t=n.get(e);return(0,a.kG)(null!=t),t})).toList(),Z=M?E(Zg.commentThread):E(Zg.commentDialogClosed,{arg0:null===(C=K.first())||void 0===C?void 0:C.creatorName,arg1:null===(k=K.first())||void 0===k?void 0:k.text.value});return T.createElement(pt.Z,{key:x,onPointerUp:Kg},T.createElement("div",{onClick:Kg,style:{transform:`translate(${I&&!j?-40:0}px, ${L}px)`,visibility:j?"hidden":void 0,width:Je.h8,height:j?"auto":R},className:F()(tg().commentThreadWrapper,"PSPDFKit-Comment-Thread-Wrapper",{"PSPDFKit-Comment-Thread-Wrapper-Expanded":M,"PSPDFKit-Comment-Thread-Wrapper-Selected":I,[tg().commentThreadWrapperExpanded]:M})},T.createElement(_e.Z,{is:"div",disabled:I,onClick:e=>i(e.nativeEvent,A),role:I?"dialog":"button","aria-label":Z,"aria-disabled":void 0},T.createElement(Mg,{maxMentionSuggestions:d,mentionableUsers:u,comments:K,commentThread:o,rootId:A.id,dispatch:s,onUpdate:y,ref:z,isExpanded:M,isSelected:I,keepSelectedTool:l,frameWindow:c,anonymousComments:p}))))})).valueSeq();return{selectedIndex:w,selectedOffset:h,selectedTop:m,threadElements:x,totalHeight:r}}),[n,o,e,b,t,f,g,v,i,s,w])}(t,n,o,h,i,s,l,c,u,p,f,d),{formatMessage:y}=(0,Re.YB)(),b=T.useMemo((()=>{const e=(0,de.G4)(i);return Math.ceil(e.left)+e.width+i.viewportPadding.x}),[i]);return T.createElement("aside",{style:{height:v+2*i.viewportPadding.y,flex:`0 0 ${Je.h8}px`,transform:`translate(${b}px, -${m}px)`,width:Je.h8},className:F()(tg().commentThreads,"PSPDFKit-Comment-Threads"),"aria-label":y(Ke.Z.comments)},g)})),Bg=T.memo((function(e){let{id:t,comments:n,commentThread:o,dispatch:r,viewportState:i,onThreadClick:s,keepSelectedTool:l,frameWindow:c,anonymousComments:u,mentionableUsers:d,maxMentionSuggestions:p}=e;const{formatMessage:f}=(0,Re.YB)(),h=T.useMemo((()=>o.map((e=>{const t=n.get(e);return(0,a.kG)(t),t})).toList()),[o,n]);return T.createElement(k.m,null,T.createElement(pt.Z,{onPointerUp:s},T.createElement("aside",{style:{height:i.viewportRect.height/2},className:F()(tg().commentThreads,tg().commentThreadsSmall,"PSPDFKit-Comment-Threads"),"aria-label":f(Ke.Z.comments)},T.createElement("div",{className:"PSPDFKit-Comment-Thread PSPDFKit-Comment-Thread-Expanded"},T.createElement(Mg,{maxMentionSuggestions:p,mentionableUsers:d,comments:h,commentThread:o,rootId:t,dispatch:r,isExpanded:!0,isSelected:!0,keepSelectedTool:l,frameWindow:c,anonymousComments:u})))))}));const jg={};function zg(e,t){return`${e}-${t?"expanded":"collapsed"}`}function Kg(e){e.stopPropagation()}const Zg=(0,Re.vU)({commentDialogClosed:{id:"commentDialogClosed",defaultMessage:"Open comment thread started by {arg0}: “{arg1}”",description:"With the dialog closed, show the author of the comment and the number of replies."},commentThread:{id:"commentThread",defaultMessage:"Comment Thread",description:"Comment thread."}});var Ug,Vg,Gg=n(93162),Wg=n.n(Gg),qg=n(6969),Hg=n.n(qg);class $g extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"rootRef",T.createRef()),(0,o.Z)(this,"shouldComponentUpdate",ze.O),(0,o.Z)(this,"_handleOnClose",(()=>{this.props.dispatch((0,En.Sn)())})),(0,o.Z)(this,"_download",(()=>{Wg().saveAs(this._getBlob(),`PSPDFKit-for-Web-Debug-Output-${Date.now()}.txt`)}))}_getDebugOutput(){const e=document.documentElement;if((0,a.kG)(e,"externalDocumentElement must not be null"),this.rootRef.current){const t=this.rootRef.current.ownerDocument.documentElement;return(0,a.kG)(t,"internalDocumentElement must not be null"),`-----BEGIN VERSION-----\n PSPDFKit for Web Version: 2023.4.0 (80c992b150)\n PSPDFKit Server Version: 2023.4.0\n -----END VERSION-----\n\n -----BEGIN CLIENT INFO-----\n User Agent: ${navigator.userAgent}\n Language: ${navigator.language}\n Engine: ${tt.SR}\n System: ${tt.By}\n Pixel ratio: ${(0,Ft.L)()}\n -----END CLIENT INFO-----\n\n -----BEGIN EXTERNAL HTML-----\n ${e.innerHTML}\n -----END EXTERNAL HTML-----\n\n -----BEGIN INTERNAL HTML-----\n ${t.innerHTML}\n -----END INTERNAL HTML-----\n `}}_getBlob(){return new Blob([this._getDebugOutput()],{type:"text/plain;charset=utf-8"})}render(){return T.createElement(yf.Z,{onDismiss:this._handleOnClose},T.createElement("div",{className:Hg().root,ref:this.rootRef},T.createElement("div",{className:Hg().header},Ug||(Ug=T.createElement("h2",null,"Debug Output")),Vg||(Vg=T.createElement("p",null,"When reporting an issue to support, please provide the debug output. The output contains the PSPDFKit for Web version, information about your device, a snapshot of the current DOM. Please submit new support requests via our"," ",T.createElement("a",{target:"_blank",href:"https://pspdfkit.com/support/request"},"support form"),".")),T.createElement(ue.zx,{onClick:this._download},"Download Debug Output"))))}}class Yg extends T.Component{constructor(){var e;super(...arguments),e=this,(0,o.Z)(this,"onConfirm",(()=>{if(this.props.setA11yStatusMessage){const{formatMessage:e}=this.props.intl;this.props.setA11yStatusMessage(e(Jg.annotationDeleted))}const e={annotations:(0,i.aV)(this.props.annotations),reason:u.f.DELETE_END};this.props.eventEmitter.emit("annotations.willChange",e),this.props.annotations.forEach((e=>{this.props.dispatch((0,Qt.hQ)(e))})),this.onCancel(!1),this.props.dispatch((0,je.fz)())})),(0,o.Z)(this,"onCancel",(function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(e.props.dispatch((0,Qt.d8)(null)),t){const t={annotations:(0,i.aV)(),reason:u.f.DELETE_END};e.props.eventEmitter.emit("annotations.willChange",t)}}))}render(){const{formatMessage:e}=this.props.intl;return T.createElement($u.Z,{onConfirm:this.onConfirm,onCancel:this.onCancel,accessibilityLabel:e(Jg.deleteAnnotationConfirmAccessibilityLabel),accessibilityDescription:e(Jg.deleteAnnotationConfirmAccessibilityDescription),"aria-atomic":!0,restoreOnClose:!1},T.createElement("p",null,e(Jg.deleteAnnotationConfirmMessage)))}}const Xg=(0,Re.XN)(Yg),Jg=(0,Re.vU)({deleteAnnotationConfirmMessage:{id:"deleteAnnotationConfirmMessage",defaultMessage:"Are you sure you want to delete this annotation?",description:'Message displayed in the "Delete Annotation" confirm dialog'},deleteAnnotationConfirmAccessibilityLabel:{id:"deleteAnnotationConfirmAccessibilityLabel",defaultMessage:"Confirm annotation deletion",description:'Accessibility label (title) for the "Delete Annotation" confirm dialog'},deleteAnnotationConfirmAccessibilityDescription:{id:"deleteAnnotationConfirmAccessibilityDescription",defaultMessage:"Dialog allowing the user to confirm or cancel deleting the annotation",description:'Accessibility description for the "Delete Annotation" confirm dialog'},annotationDeleted:{id:"annotationDeleted",defaultMessage:"Annotation deleted.",description:"An annotation has been deleted."}});function Qg(e){let{locale:t}=e;const n=(0,T.useRef)(null);return(0,T.useEffect)((function(){const e=n.current;if(!e)return;const o=e.ownerDocument.documentElement;o&&(o.lang=t)}),[t]),T.createElement("div",{ref:n})}var ev=n(32170),tv=n(94358),nv=n.n(tv);function ov(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function rv(e){for(var t=1;t{const{isBold:i,isItalic:a,children:s,action:l,color:c}=e,u=`${this.props.parentLevel}-${r}`;let d=t.get(u);"boolean"!=typeof d&&(d=e.isExpanded);const p=s.size>0,f=T.createElement("span",{className:F()(nv().controlContainer,{[nv().controlContainerNoIcon]:!p,[nv().controlContainerNavigationDisabled]:!p&&n})},p&&T.createElement("span",{onClick:e=>{e.stopPropagation(),this.props.onPress(u,null,p)}},T.createElement(Ze.Z,{type:"caret",className:F()(nv().icon,d&&nv().iconExpanded),style:{width:24,height:24}})),T.createElement("span",{className:nv().control,style:rv({fontWeight:i?"bold":void 0,fontStyle:a?"italic":void 0},c?{color:c.toCSSValue()}:null)},e.title)),h=()=>{this.props.onPress(u,l,p)},m=o?t=>o(t,e):void 0;if(!p||!d)return T.createElement(ue.w6,{key:u,onPress:h,expanded:!1,autoFocus:0===r&&"0"===this.props.parentLevel,headingRef:m},f);const g=`outline-control-${u}`;return T.createElement("div",{key:u,ref:m},T.createElement(ue.w6,{onPress:h,expanded:d,ariaControls:g,autoFocus:0===r&&"0"===this.props.parentLevel},f),T.createElement(ue.F0,{expanded:d,id:g},T.createElement("div",{className:nv().content},T.createElement(iv,{parentLevel:u,onPress:this.props.onPress,outlineElements:s,expanded:t,navigationDisabled:n,onRenderItemCallback:o}))))}))}}(0,o.Z)(iv,"defaultProps",{parentLevel:"0"});var av,sv=n(42952),lv=n.n(sv),cv=n(60493),uv=n.n(cv);const dv=T.memo((function(e){const{outlineElements:t,expanded:n,backend:o,documentHandle:r,navigationDisabled:i,closeOnPress:s=!1}=e,[l,c]=T.useState(null);T.useEffect((()=>{null==l||l.focus()}),[l]);const u=(0,A.I0)();T.useEffect((()=>{t||((0,a.kG)(o),o.getDocumentOutline().then((e=>{u((0,ev.o)(e))})))}),[]);const d=(0,fi.jC)(e);T.useEffect((()=>{r===(null==d?void 0:d.documentHandle)||t||((0,a.kG)(o),o.getDocumentOutline().then((e=>{u((0,ev.o)(e))})))}));const p=(0,fi.R9)(((e,t,n)=>{n&&u((0,ev.Q)(e)),i||(setTimeout((()=>{t&&u((0,$r.aG)(t))})),s&&!n&&u((0,En.mu)()))})),f=t||null,h=(0,fi.Bo)(l,f),m=(0,fi.mP)(h,(e=>e.title),(e=>null==f?void 0:f.find((t=>t.title===e)))),g=F()(nv().container,!t&&nv().empty+" PSPDFKit-Sidebar-Loading",t&&0===t.size&&nv().empty+" PSPDFKit-Sidebar-Empty","PSPDFKit-Sidebar-Document-Outline"),{formatMessage:v}=(0,Re.YB)();return f?0===f.size?T.createElement("div",{className:g,ref:c},v(pv.noOutline)):T.createElement("div",{className:g,role:"region","aria-label":v(pv.outline),ref:c},T.createElement("div",{className:uv().sidebarHeader},T.createElement("h2",{"aria-hidden":"true",className:F()(lv().heading,"PSPDFKit-Sidebar-Document-Outline-Heading")},T.createElement("span",null,v(pv.outline)))),T.createElement(iv,{outlineElements:f,expanded:n,onPress:p,navigationDisabled:i,onRenderItemCallback:m})):T.createElement("div",{className:g,ref:c},av||(av=T.createElement(Xe.Z,null)))})),pv=(0,Re.vU)({noOutline:{id:"noOutline",defaultMessage:"No Outline",description:"Message shown when there is no document outline / table of contents"},outline:{id:"outline",defaultMessage:"Outline",description:"Outline"}});class fv extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",ze.O),(0,o.Z)(this,"_handleKeydown",(e=>{const t=this.props.document.activeElement;this.props.hasSelectedAnnotations||t&&"BODY"!==t.tagName&&(0,jr.Qu)(t)||e.shiftKey||e.metaKey||e.ctrlKey||e.alt||(e.keyCode===Sr.P9&&this._handleKeyLeft(),e.keyCode===Sr.gs&&this._handleKeyRight())})),(0,o.Z)(this,"_handleKeyRight",(()=>{const e=(0,$s.TW)(this.props.viewportState);Math.ceil(this.props.viewportState.scrollPosition.x)>=Math.floor(e.x)&&this.props.dispatch((0,Eu.fz)())})),(0,o.Z)(this,"_handleKeyLeft",(()=>{Math.floor(this.props.viewportState.scrollPosition.x)<=0&&this.props.dispatch((0,Eu.IT)())}))}componentDidMount(){this.props.document.addEventListener("keydown",this._handleKeydown)}componentWillUnmount(){this.props.document.removeEventListener("keydown",this._handleKeydown)}render(){const{children:e}=this.props;return void 0===e?null:e}}var hv=n(59271),mv=n(25644),gv=n(92234),vv=n(29165);function yv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function bv(e){for(var t=1;t{const{viewportState:{currentPageIndex:u},formFields:d}=c();if(n instanceof j.x_){const r=d.get(n.formFieldName)||l;(0,a.kG)(r,`Form field with name "${n.formFieldName}" not found`);const c=(0,J.xc)(),p="cut"===o?n.formFieldName:`${null==r?void 0:r.name} copy`;let f=n.set("id",c).set("formFieldName",p).set("boundingBox",s?n.boundingBox.translate(s):n.boundingBox).delete("group").delete("pdfObjectId");o&&(f=f.set("pageIndex",u));let h=r.set("name",p).set("annotationIds",r.annotationIds.map((e=>e===n.id?c:e))).set("id",(0,ks.C)()).delete("group").delete("pdfObjectId");r.options&&"cut"!==o&&(h=h.set("options",(0,i.aV)([r.options.get(0).set("value",`${r.options.get(0).value}_1`)])).set("annotationIds",(0,i.aV)([c]))),e((0,Qt.$d)(f)),e((0,Mo.kW)(h)),t(bv({annotation:f,formField:h,originalAnnotation:n,originalFormField:r},o&&{previousAction:o.toUpperCase()}))}else{let i=n.set("id",(0,J.xc)()).delete("pdfObjectId");if(s&&(i=pa(i,s)),o&&(i=i.set("pageIndex",u)),"imageAttachmentId"in n&&n.imageAttachmentId&&r){let t;try{t=await r}catch(e){throw new a.p2(`Could not retrieve attachment data: ${e.message}`)}(0,a.kG)(t,"Attachment not found");const{hash:n}=await(0,He.uq)(t),o=new j.Pg({data:t});e((0,vv.O)(n,o)),i=i.set("imageAttachmentId",n)}e((0,Qt.$d)(i)),t(bv({annotation:i,originalAnnotation:n},o&&{previousAction:o.toUpperCase()}))}}}function Sv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ev(e){for(var t=1;t{const{annotations:e,selectedAnnotationsIds:t,backend:n}=this.props,o=null==e?void 0:e.filter((e=>null==t?void 0:t.has(e.id))).valueSeq().toArray();return null==o?void 0:o.map((e=>{let t;return e instanceof j.sK&&e.imageAttachmentId&&(t=null==n?void 0:n.getAttachment(e.imageAttachmentId)),{annotation:e,attachmentBlobPromise:t}}))})),(0,o.Z)(this,"handleKeyDown",(async e=>{const{dispatch:t,selectedAnnotationsIds:n,commentThreads:o,isPrinting:r,printingEnabled:s,canDeleteSelectedAnnotationCP:l,selectedAnnotation:c,eventEmitter:u,backend:d,formFields:p,areClipboardActionsEnabled:f,modalClosurePreventionError:h,setModalClosurePreventionError:m,annotations:g,frameWindow:v,isMultiSelectionEnabled:y,contentEditorSession:b,interactionMode:w}=this.props;if((0,a.kG)(d,"backend is required"),e.metaKey&&e.ctrlKey)return;if(this.props.canUndo&&(e.metaKey||e.ctrlKey)&&!e.shiftKey&&e.keyCode===Sr.gx&&!(0,jr.eR)(e.target))return t((0,gv.Yw)()),void e.preventDefault();if(this.props.canRedo&&!(0,jr.eR)(e.target)&&(e.metaKey||e.ctrlKey)&&e.shiftKey&&e.keyCode===Sr.gx)return t((0,gv.KX)()),void e.preventDefault();if(f&&(e.metaKey||e.ctrlKey)&&e.keyCode===Sr.b8&&e.shiftKey&&n&&n.size>0&&(e.preventDefault(),this.props.selectedGroupId?t((0,En.UZ)(this.props.selectedGroupId)):(0,A.dC)((()=>{n.forEach((e=>{var n;const o=null===(n=this.props.annotationsGroups)||void 0===n?void 0:n.find((t=>{let{annotationsIds:n}=t;return n.has(e)}));o&&t((0,En.of)(e,o.groupKey))}))}))),e.shiftKey)return;f&&(e.metaKey||e.ctrlKey)&&e.keyCode===Sr.b8&&n&&n.size>0&&(e.preventDefault(),t((0,En._R)(n))),(e.ctrlKey&&e.keyCode===Sr.j4||e.metaKey&&e.keyCode===Sr.j4)&&(t((0,je.fz)()),t((0,Dc.Xe)()),e.preventDefault()),(e.metaKey||e.ctrlKey)&&e.keyCode===Sr.iT&&(!r&&s&&t((0,mv.S0)()),e.preventDefault(),e.stopImmediatePropagation()),(e.metaKey||e.ctrlKey)&&e.keyCode===Sr.AV&&(t((0,Eu.kr)()),e.preventDefault()),(e.metaKey||e.ctrlKey)&&e.keyCode===Sr.d2&&(t((0,Eu.vG)()),e.preventDefault()),(e.metaKey||e.ctrlKey)&&e.keyCode===Sr.Cp&&(t((0,Eu._R)()),e.preventDefault());const{copiedOrCutAnnotations:S}=this.state;var E,P,D;if(f&&(e.ctrlKey||e.metaKey)&&S&&"v"===e.key&&(e.preventDefault(),e.stopPropagation(),t((E=S,(e,t)=>{const{eventEmitter:n,viewportState:{currentPageIndex:o}}=t();E.forEach((t=>{const r="copy"===t.previousAction&&t.annotation.pageIndex===o;e(wv(bv(bv({},t),r&&{offset:new j.E9({x:20,y:20})}),(e=>{n.emit("annotations.paste",e)})))}))})),this.setState({copiedOrCutAnnotations:null})),f&&y&&(e.ctrlKey||e.metaKey)&&"a"===e.key){var C;const n=null==v?void 0:v.document.activeElement,o=n&&(0,jr.eR)(n),r=null===(C=window.top)||void 0===C?void 0:C.document.activeElement,i=r&&(0,jr.eR)(r);if(o||i)return;e.preventDefault(),e.stopPropagation();const a=null==g?void 0:g.filter((e=>e.pageIndex===this.props.currentPageIndex)).map((e=>e.id));a&&(0,A.dC)((()=>{t((0,je.fz)()),t((0,je.Df)(a.toSet(),null))}))}if(b.active&&b.textBlockInteractionState.state===Gl.FP.Selected&&["Del","Delete","Backspace"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),t((0,Su.u)(Gl.wR.Delete))),n&&n.size>0&&!(0,jr.eR)(e.target))if(!["Del","Delete","Backspace"].includes(e.key)||o&&n.some((e=>o.has(e)))||!l){if(f&&(e.ctrlKey||e.metaKey)&&c&&"c"===e.key){var k;e.preventDefault(),e.stopPropagation();const t=null===(k=this.getSelectedAnnotations())||void 0===k?void 0:k.map((e=>Ev(Ev({},e),{},{previousAction:"copy"})));this.setState({copiedOrCutAnnotations:t}),u.emit("annotations.copy",{annotation:c})}else if(f&&(e.ctrlKey||e.metaKey)&&c&&"x"===e.key){var O;if(!t((D=c,(e,t)=>(0,oi.Kd)(D,t()))))return;e.preventDefault(),e.stopPropagation();const n=null===(O=this.getSelectedAnnotations())||void 0===O?void 0:O.map((e=>{const t=e.annotation;return Ev(Ev({},e),{},{formField:t instanceof j.x_?null==p?void 0:p.get(t.formFieldName):void 0,previousAction:"cut"})}));this.setState({copiedOrCutAnnotations:n}),u.emit("annotations.cut",{annotation:c}),(0,A.dC)((()=>{n.forEach((e=>{t((0,Qt.hQ)(e.annotation))}))}))}else if(f&&(e.ctrlKey||e.metaKey)&&c&&"d"===e.key){e.preventDefault(),e.stopPropagation();const n=this.getSelectedAnnotations();t((P=n,(e,t)=>{const{eventEmitter:n}=t();P.map((e=>wv({annotation:e.annotation,offset:new j.E9({x:20,y:20}),attachmentBlobPromise:e.attachmentBlobPromise},(e=>{n.emit("annotations.duplicate",e)})))).forEach((t=>{e(t)})),e((0,je.J4)((0,i.l4)(P.map((e=>e.annotation.id))),Q.o.SELECTED))})),this.setState({copiedOrCutAnnotations:null})}else if(!("Esc"!==e.key&&"Escape"!==e.key||(0,jr.N1)(e.target)||(0,jr.fp)(e.target)||h&&h.annotationId===(null==c?void 0:c.id))){e.preventDefault(),e.stopPropagation(),t((0,je.fz)());const o=n.first(),r=this.props.getScrollElement();if(r&&o){const e=r.querySelector(`[data-annotation-id="${o}"]`);e&&(0,jr._s)(r,e)}}}else(null==h?void 0:h.annotationId)===(null==c?void 0:c.id)&&m(null),e.preventDefault(),e.stopPropagation(),t((0,Qt.d8)(n));"Esc"!==e.key&&"Escape"!==e.key||w!==x.A.MEASUREMENT||(0,A.dC)((()=>{t((0,Qt.Ds)(null)),t((0,En.hS)())})),e.keyCode!==Sr.bs||(0,jr.eR)(e.target)||(e.preventDefault(),e.stopPropagation())})),(0,o.Z)(this,"_handleRef",(e=>{e&&(this._document=e.ownerDocument)}))}componentDidMount(){this._document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleKeyDown),this.props.isTextCopyingAllowed||this._document.addEventListener("copy",xv)}componentWillUnmount(){this._document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keydown",this.handleKeyDown),this.props.isTextCopyingAllowed||this._document.removeEventListener("copy",xv)}render(){return T.createElement("div",{ref:this._handleRef})}}function xv(e){const{target:t}=e;(0,hv.c)(t)||e.preventDefault()}const Dv=["highlight","strikeout","underline","squiggle","redact-text-highlighter","comment"],Cv=(0,H.Z)("InlineTextSelectionToolbarItem ");var kv=n(51025),Av=n.n(kv);function Ov(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Tv(e){for(var t=1;t{n((0,Qt.VX)(e,t)),n((0,je.fz)())}),[n]),p=T.useCallback((()=>{n((0,bi.cQ)())}),[n]),f=F()({[Av().button]:!s},{[Bd().button]:s}),h=T.useMemo((()=>{const e=[{type:"highlight",title:u(Ke.Z.highlightAnnotation),className:F()("PSPDFKit-Text-Markup-Inline-Toolbar-Highlight",f),onPress:()=>{d(j.FV,"highlight")}},{type:"strikeout",title:u(Ke.Z.strikeOutAnnotation),className:F()("PSPDFKit-Text-Markup-Inline-Toolbar-Strike-Out",f),onPress:()=>{d(j.R9,"strikeout")}},{type:"underline",title:u(Ke.Z.underlineAnnotation),className:F()("PSPDFKit-Text-Markup-Inline-Toolbar-Underline",f),onPress:()=>{d(j.xu,"underline")}},{type:"squiggle",title:u(Ke.Z.squiggleAnnotation),className:F()("PSPDFKit-Text-Markup-Inline-Toolbar-Squiggle",f),onPress:()=>{d(j.hL,"squiggle")}}];return r&&e.push({type:"comment",title:u(Ke.Z.comment),className:F()("PSPDFKit-Text-Markup-Inline-Toolbar-Comment",f),onPress:()=>{p()}}),i&&e.push({type:"redact-text-highlighter",title:u(Ke.Z.redactionAnnotation),className:F()("PSPDFKit-Text-Markup-Inline-Toolbar-Redaction",f),onPress:()=>{d(pe.Z,"redaction")}}),e}),[d,f,u,p,r,i]),m=T.useMemo((()=>{if(l){if(!c)return[];const e=l({defaultItems:h,hasDesktopLayout:!s},c);e.forEach((e=>{!function(e){Cv((0,a.PO)(e)&&!!e,"Expected item to be an object");const{type:t,id:n,title:o,icon:r,className:i,onPress:s,disabled:l}=e;Cv("type"in e&&(0,$.HD)(t)&&[...Dv,"custom"].includes(t),`Expected item.type to be one of ${[...Dv,"custom"].join(", ")}`),o&&Cv((0,$.HD)(o),"Expected `title` to be a string"),r&&Cv((0,$.HD)(r),"Expected `icon` to be a string"),n&&Cv((0,$.HD)(n),"Expected `id` to be a string"),i&&Cv((0,$.HD)(i),"Expected `className` to be a string"),s&&Cv("function"==typeof s,"`onPress` must be a `function`"),"disabled"in e&&Cv("boolean"==typeof l,"`disabled` must be a `boolean`"),e.node&&Cv(Fc.a.includes(e.node.nodeType),"`node.nodeType` is invalid. Expected one of "+Fc.a.join(", "))}(e)}));return e.map((e=>"custom"===e.type&&null!==e.onPress?Tv(Tv({},e),{},{onPress:()=>{e.onPress(),n((0,je.fz)())}}):e)).map((e=>({node:Fv(e),type:e.type})))}return h.map((e=>({node:Fv(e),type:e.type})))}),[h,c,s,l,Fv,n]),g=F()({[Bd().content]:s,[Bd().mobileTextMarkup]:s,[Av().inner]:!s});return T.createElement("div",{className:F()("PSPDFKit-Text-Markup-Inline-Toolbar",{[Av().root]:!s}),role:"dialog","aria-label":u(Ke.Z.markupToolbar)},T.createElement("div",{className:g},m.map(((e,t)=>"custom"!==e.type&&o(Iv.get(e.type))?null:"custom"===e.type?T.createElement("div",{key:`custom-${t}`},e.node):T.createElement("div",{key:e.type},e.node)))))}class _v extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",ze.O)}render(){const{position:e,dispatch:t,showComments:n,showRedactions:o,currentTextSelection:r,isAnnotationTypeReadOnly:i,inlineTextSelectionToolbarItems:a}=this.props;return T.createElement("div",{className:F()("PSPDFKit-Annotation-Toolbar",Bd().root,{[Bd().stickToBottom]:"bottom"===e})},T.createElement(Mv,{dispatch:t,isAnnotationTypeReadOnly:i,showComments:n,showRedactions:o,hasMobileLayout:!0,inlineTextSelectionToolbarItems:a,currentTextSelection:r}))}}var Rv=n(54543),Nv=n(65627),Lv=n(3999),Bv=n(97066),jv=n.n(Bv);const zv=T.memo((function(e){const t=e.items.map(((t,n)=>{const{className:o,disabled:r,selected:i,icon:a,title:s,onPress:l}=t;return t.node?T.createElement(Lv.Z,{node:t.node,className:F()("PSPDFKit-Annotation-Tool-Node",e.itemClassName,o,jv().node),onPress:l,title:s,disabled:r,selected:i,key:`AnnotationTools-tool-${n}`}):T.createElement(rf.Z,{type:"custom",className:F()("PSPDFKit-Annotation-Tool-Button",e.itemClassName,o,jv().button),disabled:r,selected:i,icon:a,title:s,onPress:l,key:`AnnotationTools-tool-${n}`})}));return T.createElement("div",{role:"toolbar",className:F()(jv().root,e.rootClassName)},t)})),Kv=["children","fullScreen","hover","tools","intl","closeNote","clearNote"];function Zv(e){e.stopPropagation()}const Uv=(0,Re.XN)((e=>{const{children:t,fullScreen:n,hover:o,tools:i,intl:a,closeNote:s,clearNote:l}=e,c=(0,r.Z)(e,Kv),{formatMessage:u}=a,d=T.useRef(null);T.useEffect((function(){const e=d.current;if(e)return e.addEventListener("wheel",Zv,!0),()=>e.removeEventListener("wheel",Zv,!0)}),[]);const p=(0,Ze.Z)({type:"close"}),f=(0,Ze.Z)({type:"delete"});return T.createElement("div",(0,De.Z)({className:`PSPDFKit-Note-Annotation-Content ${nn().wrapper}${n?" "+nn().fullScreen:""}`},c,{ref:d}),T.createElement("div",{className:nn().header},T.createElement("h3",{className:nn().title},u(Ke.Z.noteAnnotation)),T.createElement("button",{className:F()(nn().button,o?nn().hidden:null),title:u(Ke.Z.close),"aria-label":u(Ke.Z.close),onClick:s||void 0,role:"button",type:"button"},p)),T.createElement("div",{className:nn().content},t),l&&T.createElement("button",{className:F()(nn().button,o?nn().hidden:null),title:u(Ke.Z.clear),"aria-label":u(Ke.Z.clear),onClick:l,role:"button",type:"button"},f),i&&!n&&T.createElement("div",{className:nn().tools},T.createElement(zv,{items:i,rootClassName:nn().tools,itemClassName:nn().tool})))})),Vv={left:0,top:0,maxWidth:"100%",maxHeight:"auto",minWidth:"100%",minHeight:"100%"};class Gv extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"_didUpdate",!1),(0,o.Z)(this,"_didEditorFocus",!1),(0,o.Z)(this,"shouldComponentUpdate",ze.O),(0,o.Z)(this,"state",{value:this.props.annotation.text.value}),(0,o.Z)(this,"focus",(()=>{this._isFocused||(this._isFocused=!0,this._editor&&this._editor.focus())})),(0,o.Z)(this,"clearText",(()=>{this._editor&&this._editor.clearText()})),(0,o.Z)(this,"_isFocused",!1),(0,o.Z)(this,"_lastSavedAnnotation",this.props.annotation),(0,o.Z)(this,"_onRef",(e=>{this._editor=e})),(0,o.Z)(this,"_valueDidUpdate",(()=>{this._didUpdate=!0})),(0,o.Z)(this,"_updateAnnotation",(()=>{if(this._didUpdate){var e;const n=this.props.annotation.set("text",{format:"plain",value:null===(e=this._editor)||void 0===e?void 0:e.getPlainText()});if(this._lastSavedAnnotation.text.value!==n.text.value||this._lastSavedAnnotation.text.format!==n.text.format)if(this._lastSavedAnnotation=n,n instanceof li.FN){var t;const e=null===(t=n.parentAnnotation)||void 0===t?void 0:t.set("note",n.text.value);(0,a.kG)(e),this.props.dispatch((0,Qt.FG)(e))}else this.props.dispatch((0,Qt.FG)(n)),this.props.keepSelectedTool&&this.props.dispatch((0,En.i9)())}else this.props.keepSelectedTool&&this.props.dispatch((0,En.i9)())})),(0,o.Z)(this,"_onBlur",(()=>{this._updateAnnotation()})),(0,o.Z)(this,"_onStopEditing",(()=>{this._updateAnnotation(),this.props.dispatch((0,Qt.i0)(!0))})),(0,o.Z)(this,"_onEscape",(()=>{this.props.dispatch((0,je.fz)()),this._updateAnnotation()})),(0,o.Z)(this,"_handleEditorFocus",(()=>{if(!this._didEditorFocus){const e={annotations:(0,i.aV)([this.props.annotation]),reason:u.f.TEXT_EDIT_START};this.props.eventEmitter.emit("annotations.willChange",e)}this._didEditorFocus=!0}))}UNSAFE_componentWillReceiveProps(e){e.annotation.equals(this.props.annotation)||this.setState({value:e.annotation.text.value})}componentWillUnmount(){if(this._didEditorFocus){const e={annotations:(0,i.aV)([this.props.annotation]),reason:u.f.TEXT_EDIT_END};this.props.eventEmitter.emit("annotations.willChange",e)}this._updateAnnotation()}render(){return T.createElement(Zi,{autoFocus:!1,autoSelect:this.props.autoSelect,onBlur:this._onBlur,onStopEditing:this._onStopEditing,onEscape:this._onEscape,ref:this._onRef,maxLength:Je.RI,defaultValue:this.state.value,lastMousePoint:this.props.lastMousePoint,style:Vv,valueDidUpdate:this._valueDidUpdate,onFocus:this._handleEditorFocus,key:this.state.value})}}(0,o.Z)(Gv,"defaultProps",{autoSelect:!1});var Wv=n(48311);class qv extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{}),(0,o.Z)(this,"shouldComponentUpdate",ze.O),(0,o.Z)(this,"_closeNote",(()=>{this.props.noteAnnotation instanceof li.FN?this.props.dispatch((0,je.mv)(null)):this.props.dispatch((0,je.fz)())})),(0,o.Z)(this,"_clearNote",(()=>{this._editor&&this._editor.clearText()})),(0,o.Z)(this,"_preventDeselect",(e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()})),(0,o.Z)(this,"_makeHandleMouseUpAndTouchEnd",(e=>(0,Rv.S)((t=>{this.setState({lastMousePoint:new j.E9({x:t.clientX,y:t.clientY})},(()=>{this.props.dispatch((0,je.VR)(e))}))})))),(0,o.Z)(this,"_onRef",(e=>{this._editor=e,this.props.isFullscreen&&this._editor&&this._editor.focus()})),(0,o.Z)(this,"_getGradient",(0,jo.Z)((e=>{let t=e.lighter(30);const n=Math.min(t.r,t.g,t.b);for(let e=0;e<10&&t.contrastRatio(j.Il.BLACK)<4.5;e++)t=t.lighter((255-n)/25.5);return{top:t.lighter(30),bottom:t}}))),(0,o.Z)(this,"isPopoverPositioned",!1),(0,o.Z)(this,"onPopoverPositioned",(()=>{!this.isPopoverPositioned&&this._editor&&(this.isPopoverPositioned=!0,this._editor.focus())}))}render(){const{dispatch:e,noteAnnotation:t,noteAnnotationToModify:n,viewportState:o,isFullscreen:r,collapseSelectedNoteContent:i}=this.props;if(null==t.pageIndex||i)return null;const s=n&&t.id===n.id,l=this.props.isAnnotationReadOnly(t),c=t instanceof li.FN,{color:u}=t,d=$v[u.toCSSValue()]||this._getGradient(u.saturate(60));if(r){if(!s&&!l)return null;const n=u.toCSSValue(),r=`linear-gradient(to bottom, ${d.top.toCSSValue()} 0%, ${d.bottom.toCSSValue()} 100%)`,i=o.viewportRect.height-(this.props.annotationToolbarHeight((0,a.kG)(e),e.merge({left:e.left+(e.width-e.width/o.zoomLevel)/2,top:e.top+(e.height-e.height/o.zoomLevel)/2,width:e.width/o.zoomLevel,height:e.height/o.zoomLevel}))));return T.createElement(Wv.Z,{referenceRect:(0,J.SY)(m,o.pagesRotation).apply(h),viewportState:o,onPositionInfoChange:this.onPopoverPositioned,baseColor:u,color:[d.top,d.bottom],className:"PSPDFKit-Popover-Note-Annotation",customZIndex:1001},T.createElement(Uv,{onMouseUp:p,onTouchEnd:f,tools:this.props.tools,closeNote:this._closeNote,clearNote:s&&!l&&c?this._clearNote:void 0,hover:this.props.isHover,id:`NoteAnnotationContent-${t.id}`},this.props.isAnnotationReadOnly(t)?t.text.value:T.createElement(Gv,{annotation:t,dispatch:e,ref:s?this._onRef:void 0,lastMousePoint:this.state.lastMousePoint,autoSelect:this.props.autoSelect,eventEmitter:this.props.eventEmitter,keepSelectedTool:this.props.keepSelectedTool})))}}(0,o.Z)(qv,"defaultProps",{autoSelect:!1});const Hv={yellow:{top:new j.Il({r:245,g:240,b:158}),bottom:new j.Il({r:250,g:247,b:106})},orange:{top:new j.Il({r:250,g:213,b:161}),bottom:new j.Il({r:255,g:184,b:112})},red:{top:new j.Il({r:255,g:181,b:178}),bottom:new j.Il({r:255,g:134,b:126})},fuchsia:{top:new j.Il({r:255,g:186,b:255}),bottom:new j.Il({r:240,g:139,b:233})},blue:{top:new j.Il({r:164,g:211,b:255}),bottom:new j.Il({r:113,g:166,b:244})},green:{top:new j.Il({r:190,g:255,b:161}),bottom:new j.Il({r:130,g:227,b:111})}},$v={};for(const e of Nv.W)null!=e.color&&null!=e.localization.id&&($v[e.color.toCSSValue()]=Hv[e.localization.id]);var Yv=n(49242),Xv=n(5912),Jv=n.n(Xv);class Qv extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"elementRef",T.createRef()),(0,o.Z)(this,"state",{isPanning:!1}),(0,o.Z)(this,"initialPosition",null),(0,o.Z)(this,"previousPosition",null),(0,o.Z)(this,"_handleDragStart",(e=>{this.props.enabled&&(0,Yv.I)(e)&&(this.initialPosition=this.previousPosition=new B.E9({x:e.clientX,y:e.clientY}),this.setState({isPanning:!0}),this._addEventListeners())})),(0,o.Z)(this,"_handleDragMove",(e=>{if(!(0,Yv.W)(e))return void this._handleDragEnd(e);if(!this.props.enabled||!this.previousPosition)return;const t=new B.E9({x:e.clientX,y:e.clientY}),n=this.previousPosition.translate(t.scale(-1)),o=this._getScrollElement(),{scrollLeft:r,scrollTop:i}=o;o.scrollLeft=r+n.x,o.scrollTop=i+n.y,this.previousPosition=t,e.stopPropagation()})),(0,o.Z)(this,"_handleDragEnd",(e=>{this.initialPosition&&this.previousPosition&&(Pn(this.initialPosition,this.previousPosition)&&(e.stopPropagation(),e.stopImmediatePropagation()),this.previousPosition=null,this.setState({isPanning:!1}),this._removeEventListeners())}))}componentDidMount(){this.elementRef.current&&this.elementRef.current.addEventListener("mousedown",this._handleDragStart)}componentWillUnmount(){this.elementRef.current&&this.elementRef.current.removeEventListener("mousedown",this._handleDragStart),this._removeEventListeners()}render(){const{enabled:e}=this.props,{isPanning:t}=this.state,n=F()({[Jv().layer]:e,[Jv().isPanning]:t});return T.createElement("div",{className:n,ref:this.elementRef},this.props.children)}_addEventListeners(){const{defaultView:e}=this._getScrollElement().ownerDocument;null==e||e.addEventListener("mouseup",this._handleDragEnd,!0),null==e||e.addEventListener("mousemove",this._handleDragMove)}_removeEventListeners(){const e=this._getScrollElement();if(!e)return;const{defaultView:t}=e.ownerDocument;t&&(t.removeEventListener("mouseup",this._handleDragEnd,!0),t.removeEventListener("mousemove",this._handleDragMove))}_getScrollElement(){return this.context()}}(0,o.Z)(Qv,"contextType",Mu);const ey=T.memo((function(e){const{dispatch:t,viewportState:n,interactionMode:o,spreadIndex:r,onCropChange:i,cropInfo:a}=e,s=T.useRef(null);T.useEffect((()=>{null!==s.current&&s.current!==r&&(o===x.A.SEARCH?t((0,je.vR)()):t((0,je.fz)())),s.current=r}),[t,r,o]);const[l,c]=(0,Hs.wU)(n,r);if(0===n.viewportRect.width||0===n.viewportRect.height)return null;function u(t,o,r){const s={transform:(0,de.vs)(B.sl.IDENTITY,n,t).toCssValue(),transformOrigin:"0 0"},l=(0,Hs.nw)(n)===C.X.DOUBLE?t.toString():e.pageKeys.get(t);return T.createElement("div",{key:l,className:"PSPDFKit-Spread",style:s,"data-spread-index":t},T.createElement(qh,{key:l,spreadIndex:t,viewportState:n,inViewport:o,shouldPrerender:r,hidden:!o,onOverviewRenderFinished:c,onCropChange:i,cropInfo:a,pageKeys:e.pageKeys,setGlobalCursor:e.setGlobalCursor}))}return T.createElement(Hh.Z,{dispatch:e.dispatch,viewportState:n},T.createElement("div",null,function(e){const t=[];if(t.push(u(e,!0,!1)),n.scrollMode===nl.G.DISABLED)return t;const o=(0,Hs.kd)(n),r=Math.max(e-Je.J8,0),i=Math.min(e+Je.J8,o-1);for(let n=r;n<=i;n++)n!==e&&t.push(u(n,!1,"number"==typeof l&&e===l));return t}(r)))}));var ty=n(71231),ny=n(45590),oy=n.n(ny);const ry=!(!ty.Gn||"edge"==tt.SR)&&{passive:!0};class iy extends T.Component{constructor(){super(),(0,o.Z)(this,"_elementRef",T.createRef()),(0,o.Z)(this,"_handleWheel",(e=>{const{viewportState:t,scrollElement:n}=this.props,o=t.zoomLevel<=(0,Ys.Mq)(t);let r=!0;if(n){const{clientHeight:e,scrollHeight:o}=n;r=t.commentMode!==Yh._.SIDEBAR||t.scrollMode!==nl.G.PER_SPREAD||t.scrollPosition.y+e>=o}if(!(o&&r))return;const i=(0,de.G4)(t);e.clientX>Math.ceil(i.left)+i.width+t.viewportPadding.x||(e.deltaY<0?this.props.dispatch((0,Eu.IT)()):e.deltaY>0&&this.props.dispatch((0,Eu.fz)()))})),(0,o.Z)(this,"_handleSwipeLeft",(()=>{const e=(0,$s.TW)(this.props.viewportState);Math.ceil(this.props.viewportState.scrollPosition.x)>=Math.floor(e.x)&&this.props.dispatch((0,Eu.fz)())})),(0,o.Z)(this,"_handleSwipeRight",(()=>{Math.floor(this.props.viewportState.scrollPosition.x)<=0&&this.props.dispatch((0,Eu.IT)())})),(0,o.Z)(this,"_handleTouchStart",(e=>{const t=this._elementRef.current;t&&null===this._touchStart&&(0,Ec.sX)(e)&&(this._touchStart=ly(e),t.ownerDocument.addEventListener("touchend",this._handleTouchEnd,!0))})),(0,o.Z)(this,"_handleTouchEnd",(e=>{const t=this._elementRef.current;if(!t)return;const n=this._touchStart;if(!n)return;const o=ly(e),r=o.x-n.x,i=o.y-n.y,a=function(e,t,n){const o=t/e||0,r=n/e||0;return Math.abs(o)>Math.abs(r)?o:r}(o.timestamp-n.timestamp,r,i),s=function(e,t){const n=t.x-e.x,o=t.y-e.y;return Math.sqrt(n*n+o*o)}(n,o),l=function(e,t){if(e===t)return 0;if(Math.abs(e)>=Math.abs(t))return e<0?ay:sy;return t<0?3:4}(r,i);if(s>10&&Math.abs(a)>.3&&!this.props.interactionsDisabled)switch(l){case ay:this._handleSwipeLeft();break;case sy:this._handleSwipeRight()}t.ownerDocument.removeEventListener("touchend",this._handleTouchEnd,!0),this._touchStart=null})),(0,o.Z)(this,"_handleClick",(e=>{const t=this._elementRef.current;if(!t||this.props.hasSelection||t.ownerDocument.defaultView&&e.target instanceof t.ownerDocument.defaultView.HTMLElement&&(0,hv.c)(e.target))return;const n=t.getBoundingClientRect(),o=(e.clientX-n.left)/n.width;o<.3?this._handleSwipeRight():o>.7&&this._handleSwipeLeft()})),this._handleWheel=(0,bh.Z)(this._handleWheel,250),this._touchStart=null}componentDidMount(){const e=this._elementRef.current;e&&(e.addEventListener("touchstart",this._handleTouchStart),e.addEventListener("wheel",this._handleWheel,ry))}componentWillUnmount(){const e=this._elementRef.current;e&&(e.removeEventListener("touchstart",this._handleTouchStart),e.removeEventListener("wheel",this._handleWheel,ry),e.ownerDocument.removeEventListener("touchend",this._handleTouchEnd,!0))}render(){return T.createElement("div",{className:oy().root,onClick:this._handleClick,ref:this._elementRef},this.props.children)}}const ay=1,sy=2;function ly(e){const t=e.touches[0]||e.changedTouches[0];return{x:t.clientX,y:t.clientY,timestamp:Date.now()}}var cy=n(58005),uy=n.n(cy);const dy=function(e){let{progress:t,totalPages:n}=e;const{formatMessage:o}=(0,Re.YB)(),r=(0,A.I0)(),i=T.useCallback((()=>{(0,A.dC)((()=>{r((0,En.Zg)()),r((0,mv.WQ)())}))}),[r]);return T.createElement(yf.Z,{onEscape:i,accessibilityLabel:o(py.printProgressModal),accessibilityDescription:o(py.printProgressModalDesc)},T.createElement("div",{className:uy().root},T.createElement("div",null,o(py.printPrepare)),"number"==typeof t&&T.createElement(T.Fragment,null,T.createElement("div",{className:uy().progressWrapper},T.createElement("div",{className:uy().progress,"aria-label":`${t}% complete`,role:"progressbar","aria-valuenow":t},T.createElement("div",{className:uy().progressBar,style:{width:`${Math.floor(100*t/n)}%`}})),T.createElement("div",{className:uy().progressText},o(py.pageXofY,{arg0:t,arg1:n}))),T.createElement(ue.zx,{title:o(Ke.Z.cancel),onClick:i},o(Ke.Z.cancel)))))},py=(0,Re.vU)({pageXofY:{id:"pageXofY",defaultMessage:"Page {arg0} of {arg1}",description:"Printing processing progress"},printPrepare:{id:"printPrepare",defaultMessage:"Preparing document for printing…",description:"Shown while the printing process is preparing the pages for printing"},printProgressModal:{id:"printProgressModal",defaultMessage:"Printing in progress",description:"Printing in progress modal"},printProgressModalDesc:{id:"printProgressModalDesc",defaultMessage:"Indicates that a document is being prepared for printing",description:"Description for the Printing in progress modal"}});var fy,hy=n(93621),my=n.n(hy);const gy=function(){const{formatMessage:e}=(0,Re.YB)();return T.createElement(yf.Z,{accessibilityLabel:e(vy.signingModal),accessibilityDescription:e(vy.signingModalDescription)},T.createElement("div",{className:my().root},T.createElement(Ye.Z,{src:n(17285),className:my().icon,role:"presentation"}),T.createElement("div",{className:my().message},e(vy.signing),fy||(fy=T.createElement(Xe.Z,null)))))},vy=(0,Re.vU)({signing:{id:"signing",defaultMessage:"Signing...",description:"Shown while the digital signature flow is in progress"},signingModal:{id:"signingInProgress",defaultMessage:"Signing in progress",description:"Signing in progress modal"},signingModalDescription:{id:"signingModalDesc",defaultMessage:"Indicates that the current document is being signed",description:"Description of the Signing in progress modal"}});var yy,by=n(76134),wy=n.n(by);function Sy(){const{formatMessage:e}=(0,Re.YB)();return T.createElement(yf.Z,{accessibilityLabel:e(Ey.redactionsModal),accessibilityDescription:e(Ey.redactionModalDescription)},T.createElement("div",{className:wy().root},T.createElement(Ye.Z,{src:n(1088),className:wy().icon,role:"presentation"}),T.createElement("div",{className:wy().message},e(Ey.applyingRedactions),yy||(yy=T.createElement(Xe.Z,null)))))}const Ey=(0,Re.vU)({applyingRedactions:{id:"applyingRedactions",defaultMessage:"Applying redactions...",description:"Shown while the redactions flow is in progress"},redactionsModal:{id:"redactionInProgress",defaultMessage:"Redaction in progress",description:"Redaction in progress modal"},redactionModalDescription:{id:"redactionModalDesc",defaultMessage:"Indicates that the current document is being redacted",description:"Description of the Redacted in progress modal"}});var Py=n(93242),xy=n.n(Py);function Dy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Cy(e){for(var t=1;t{Ay.indexOf(e.keyCode)>=0&&!this.usingNavigationKeys&&(this.usingNavigationKeys=!0)})),(0,o.Z)(this,"handleKeyUp",(e=>{Ay.indexOf(e.keyCode)>=0&&this.usingNavigationKeys&&(this.usingNavigationKeys=!1)})),(0,o.Z)(this,"_handleRef",(e=>{e&&(this.element=e,this.props.onScrollElementChange(e))})),this.previousKnownScrollPosition=new j.E9,this.previousKnownZoomLevel=1}updateScrollbarOffset(e){const t=this.element.offsetWidth-this.element.clientWidth,n="hidden"!==this.element.style.overflow;"number"==typeof t&&e!=t&&n&&this.props.dispatch((0,En.IU)(t))}componentDidUpdate(e){requestAnimationFrame((()=>this.updateScrollbarOffset(e.scrollbarOffset))),this.updateScrollPosition()}componentDidMount(){this.updateScrollbarOffset(),this.updateScrollPosition(),this.props.dispatch((0,En.K_)(this.element)),this.element.ownerDocument.addEventListener("keydown",this.handleKeyDown),this.element.ownerDocument.addEventListener("keyup",this.handleKeyUp)}componentWillUnmount(){this.props.dispatch((0,En.K_)(null)),this.element.ownerDocument.removeEventListener("keydown",this.handleKeyDown),this.element.ownerDocument.removeEventListener("keyup",this.handleKeyUp)}updateScrollPosition(){const{viewportState:e}=this.props;if(0===e.viewportRect.width)return;if(this.previousKnownScrollPosition.equals(e.scrollPosition)&&this.previousKnownZoomLevel===e.zoomLevel)return;const t=this.element,n=Math.round(e.scrollPosition.x*e.zoomLevel),o=Math.round(e.scrollPosition.y*e.zoomLevel);t.scrollTop!==o&&(t.scrollTop=o),t.scrollLeft!==n&&(t.scrollLeft=n),this.previousKnownScrollPosition=e.scrollPosition,this.previousKnownZoomLevel=e.zoomLevel}handleScroll(){const{dispatch:e,viewportState:t}=this.props,{scrollPosition:n,zoomLevel:o}=t;if(0===t.viewportRect.width)return;const r=this.element;if(void 0===r.scrollTop||void 0===r.scrollLeft)return;const i=new j.E9({x:r.scrollLeft/o,y:r.scrollTop/o}),a=function(e,t,n){const o=1/n;return Math.abs(e.x-t.x)>o||Math.abs(e.y-t.y)>o}(n,i,o);a&&(this.previousKnownScrollPosition=i,this.previousKnownZoomLevel=o,e((0,Eu.lt)(i,this.usingNavigationKeys)))}render(){const{children:e,scrollDisabled:t}=this.props;return T.createElement("div",{ref:this._handleRef,className:`PSPDFKit-Scroll ${xy().root}`,style:Cy(Cy({},ky),{},{overflow:t?"hidden":"auto"}),onScroll:this.handleScroll},e)}}var Ty,Iy=n(98973),Fy=n.n(Iy);const My=(0,Re.XN)((function(e){const{formatMessage:t}=e.intl,n=t(_y.searchResultOf,{arg0:e.searchResultsSize>0?e.focusedResultIndex+1:0,arg1:e.searchResultsSize}),o=T.createElement("div",{role:"status",className:Fy().searchPosition,"aria-live":"polite","aria-label":tt.vU?n:void 0},n);return T.createElement(T.Fragment,null,e.isLoading&&T.createElement("div",{className:Fy().loader},Ty||(Ty=T.createElement(Xe.Z,null))),o)})),_y=(0,Re.vU)({searchResultOf:{id:"searchResultOf",defaultMessage:"{arg0} of {arg1}",description:"Shows the current search result number. E.g. 1 of 10"}});var Ry=n(50397),Ny=n.n(Ry);const Ly=(0,Re.vU)({searchPreviousMatch:{id:"searchPreviousMatch",defaultMessage:"Previous",description:"Go to the previous search result"},searchNextMatch:{id:"searchNextMatch",defaultMessage:"Next",description:"Go to the next search result"}}),By=(0,Re.XN)((e=>{const t=T.useRef(null);T.useEffect((()=>{(()=>{const n=t.current;(0,Ne.k)(null!=n),n.ownerDocument.activeElement!==n&&e.isFocused?n.focus():n.ownerDocument.activeElement!==n||e.isFocused||n.blur()})()}));const{formatMessage:o}=e.intl,r=F()({[Ny().previous]:!0,"PSPDFKit-Search-Control-Prev":!0,"PSPDFKit-Search-Control-Prev-disabled":e.searchResultsSize<=0}),i=F()({[Ny().next]:!0,"PSPDFKit-Search-Control-Next":!0,"PSPDFKit-Search-Control-Next-disabled":e.searchResultsSize<=0}),a=0===e.term.length,s=F()({[Ny().results]:!0,[Ny().resultsDisabled]:a,"PSPDFKit-Search-Form-Result":!0}),l=o(Ke.Z.searchDocument);return T.createElement("div",{className:F()("PSPDFKit-Search",Ny().root,{[Ny().noToolbar]:!e.showToolbar||e.toolbarPlacement!==Ru.p.TOP}),"data-testid":"pspdfkit-search-form-component-root"},T.createElement("div",{className:`PSPDFKit-Search-Form ${Ny().searchBox}`},T.createElement("input",{type:"text",name:"search",ref:t,autoComplete:"off",placeholder:l,"aria-label":l,value:e.term,onChange:()=>{const n=t.current;(0,Ne.k)(null!=n);const o=n.value;let r=!1;e.eventEmitter.emit("search.termChange",{term:o,preventDefault:()=>{r=!0}}),r||(e.searchForTerm(n.value),e.searchProvider.searchTerm(n.value))},onKeyDown:t=>{t.shiftKey&&(t.keyCode===Sr.E$||t.metaKey&&t.keyCode===Sr.b8)?(t.preventDefault(),e.focusPreviousSearchHighlight()):t.keyCode===Sr.E$||t.metaKey&&t.keyCode===Sr.b8?(t.preventDefault(),e.focusNextSearchHighlight()):t.keyCode===Sr.zz&&(t.preventDefault(),e.hideSearch())},onFocus:()=>{e.focusSearch()},onBlur:()=>{e.blurSearch()},className:`PSPDFKit-Search-Form-Input ${Ny().input}`}),T.createElement("div",{className:s},!a&&T.createElement(My,{isLoading:e.isLoading,searchResultsSize:e.searchResultsSize,focusedResultIndex:e.focusedResultIndex})),T.createElement("div",{className:`PSPDFKit-Search-Control ${Ny().control}`},T.createElement("button",{className:r,title:o(Ly.searchPreviousMatch),disabled:e.searchResultsSize<=1,onClick:e.focusPreviousSearchHighlight},T.createElement(Ye.Z,{src:n(28069),className:`${Ny().icon} ${Ny().iconLeft}`})),T.createElement("button",{className:i,title:o(Ly.searchNextMatch),disabled:e.searchResultsSize<=1,onClick:e.focusNextSearchHighlight},T.createElement(Ye.Z,{src:n(14341),className:`${Ny().icon} ${Ny().iconRight}`})))),T.createElement("button",{className:`PSPDFKit-Search-Button-Close ${Ny().button}`,onClick:e.hideSearch},o(Ke.Z.close)))}));const jy=(0,A.$j)((function(e){return{isFocused:e.searchState.isFocused,isLoading:e.searchState.isLoading,term:e.searchState.term,searchResultsSize:e.searchState.results.size,focusedResultIndex:e.searchState.focusedResultIndex,searchProvider:e.searchProvider,eventEmitter:e.eventEmitter,locale:e.locale,showToolbar:e.showToolbar,toolbarPlacement:e.toolbarPlacement}}),(function(e){return(0,K.DE)({searchForTerm:Dc._8,focusNextSearchHighlight:Dc.jL,focusPreviousSearchHighlight:Dc.dZ,hideSearch:Dc.ct,focusSearch:Dc.tB,blurSearch:Dc.nJ},e)}))(By);class zy{constructor(e,t,n){var o;const r=e.getRangeAt(0);let i=new j.SV;if(this.selection=e,this.className=n,this.rootElement=t,this.window=t.ownerDocument.defaultView,this.commonAncestorContainer=r.commonAncestorContainer,e.rangeCount>1){const t=e.getRangeAt(e.rangeCount-1);r.setEnd(t.endContainer,t.endOffset)}const s=!(null!=t&&t.contains(r.startContainer)),l=!(null!=t&&t.contains(r.endContainer)),c=!(null!==(o=this.commonAncestorContainer)&&void 0!==o&&o.contains(t));if(s&&l&&c)this.textRange=null;else{if(r.startContainer instanceof this.window.Text&&null!=t&&t.contains(r.startContainer)&&this._parentsMatchClass(r.startContainer))i=i.set("startNode",r.startContainer).set("startOffset",r.startOffset);else if(r.startContainer instanceof this.window.Element||r.startContainer instanceof this.window.Text){let e;if(e=r.startContainer.hasChildNodes()?this._nextTextNode(r.startContainer.childNodes[r.startOffset]):this._nextTextNode(r.startContainer),null==e)return void(this.textRange=null);i=i.set("startNode",e).set("startOffset",0)}else(0,a.kG)(!1,"Selected start container is neither DOM Element nor Text");if(r.endContainer instanceof this.window.Text&&null!=t&&t.contains(r.endContainer)&&this._parentsMatchClass(r.endContainer))i=i.set("endNode",r.endContainer).set("endOffset",r.endOffset);else if(r.endContainer instanceof this.window.Element||r.endContainer instanceof this.window.Text){let e;if(r.endContainer.hasChildNodes())if(r.endOffset>=r.endContainer.childNodes.length){let t=this._nextCrossSibling(r.endContainer);t||(t=r.endContainer.childNodes[r.endContainer.childNodes.length-1]),e=this._previousTextNode(t)}else e=this._previousTextNode(r.endContainer.childNodes[r.endOffset]);else e=this._previousTextNode(r.endContainer);if(null==e)return void(this.textRange=null);i=i.set("endNode",e).set("endOffset",e.length)}else(0,a.kG)(!1,"Selected start container is neither DOM Element nor Text");if(i.startNode==i.endNode&&i.startOffset>=i.endOffset)return void(this.textRange=null);if(!this._isBeforeOrSame(i.startNode,i.endNode))return void(this.textRange=null);this.textRange=i}}getTextRange(){return this.textRange}_nextTextNode(e){let t=this._findNextSpanNodeInTree(e);if(e===this.commonAncestorContainer)return null;let n=e;for(;!t;){if(n=this._nextCrossSibling(n),null==n)return null;t=this._findNextSpanNodeInTree(n)}return t.firstChild}_previousTextNode(e){let t=null;if(e===this.commonAncestorContainer)return null;let n=e;for(;!t;){if(n=this._previousCrossSibling(n),null==n)return null;t=this._findLastSpanNodeInTree(n)}return t.firstChild}_nextCrossSibling(e){if(!e)return null;if(null!=e.nextSibling)return e.nextSibling;const t=e.parentNode;return null==t||t===this.commonAncestorContainer?null:null!=t.nextSibling?t.nextSibling:this._nextCrossSibling(t)}_previousCrossSibling(e){if(null!==e.previousSibling)return e.previousSibling;const t=e.parentNode;return null==t||t===this.commonAncestorContainer?null:null!==t.previousSibling?t.previousSibling:this._previousCrossSibling(t)}_findNextSpanNodeInTree(e){if(e instanceof this.window.HTMLElement&&e.classList.contains(this.className))return e;if(e instanceof this.window.HTMLElement)for(let t=0;t=0;t--){const n=e.childNodes[t],o=this._findLastSpanNodeInTree(n);if(null!==o)return o}return null}_parentsMatchClass(e){let t=e.parentNode;for(;t&&t instanceof this.window.HTMLElement&&t!==this.rootElement;){if(t.classList.contains(this.className))return!0;t=t.parentNode}return!1}_isBeforeOrSame(e,t){const n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=0==e.compareDocumentPosition(t);return n||o}_getSelectedTextWithNL(){if(!this.textRange)return this.selection.toString();const{startNode:e,endNode:t,startOffset:n,endOffset:o}=this.textRange;if(!e||!t)return this.selection.toString();if(e===t)return e.textContent?e.textContent.substring(n,o):"";let r=e,i=r.textContent?r.textContent.substring(n)+"\n":"";for(;r&&r!==t;)r=this._nextTextNode(r),r&&r.textContent&&(i+=r!==t?r.textContent+"\n":r.textContent.substring(0,o));return i}}var Ky=n(22181),Zy=n.n(Ky);let Uy=null,Vy=null;const Gy=(e,t)=>e.container===t.container&&e.offset===t.offset,Wy={Left:!0,ArrowLeft:!0,Top:!0,ArrowTop:!0,Right:!0,ArrowRight:!0,Bottom:!0,ArrowBottom:!0,Home:!0,End:!0,PageDown:!0,PageUp:!0,Esc:!0,Escape:!0};class qy extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"isMouseSelection",!1),(0,o.Z)(this,"pointerMadeSelection",!1),(0,o.Z)(this,"isShiftPressed",!1),(0,o.Z)(this,"isPrimaryPointerGesture",!1),(0,o.Z)(this,"_handleSelectStart",(()=>{this.props.interactionMode!==x.A.TEXT_HIGHLIGHTER&&this.props.interactionMode!==x.A.REDACT_TEXT_HIGHLIGHTER||(this.isShiftPressed?this._processTextSelection(tt.Ni?"touch":"mouse"):this.props.dispatch((0,je.d5)((0,i.l4)(),this.props.interactionMode===x.A.TEXT_HIGHLIGHTER?j.FV:pe.Z)))})),(0,o.Z)(this,"_handleSelectionChange",(()=>{const{rootElement:e,interactionMode:t}=this.props,{defaultView:n}=e.ownerDocument,o=null==n?void 0:n.getSelection();!this.pointerMadeSelection&&(e=>{if(e.rangeCount<=0)return!1;if(e.rangeCount>1){const t=e.getRangeAt(e.rangeCount-1);t.setEnd(t.endContainer,t.endOffset)}const t=e.getRangeAt(0),{startContainer:n,endContainer:o,startOffset:r,endOffset:i}=t,a={container:n,offset:r},s={container:o,offset:i};let l;return l=null===Uy||null===Vy||!(Gy(Uy,a)||Gy(Vy,s)||Gy(Uy,s)||Gy(Vy,a)),Uy=a,Vy=s,l})(o)&&(this._handleSelectStart(),this.pointerMadeSelection=!0),this.isMouseSelection&&t!==x.A.TEXT_HIGHLIGHTER&&t!==x.A.REDACT_TEXT_HIGHLIGHTER||o&&!o.isCollapsed&&this._processTextSelection(tt.Ni?"touch":"mouse")})),(0,o.Z)(this,"_handlePointerUp",(e=>{let{pointerType:t,shiftKey:n}=e;this.isPrimaryPointerGesture&&("mouse"===t&&(this.isMouseSelection=!1),this.pointerMadeSelection=!1,this.isShiftPressed=n,n||window.setTimeout((()=>{this._checkForTextSelection(t)}),0))})),(0,o.Z)(this,"_handlePointerDown",(e=>{let{pointerType:t,shiftKey:n,isPrimary:o}=e;this.isPrimaryPointerGesture=o,"mouse"===t&&(this.isMouseSelection=!0,this.isShiftPressed=n)})),(0,o.Z)(this,"_handleKeyUp",(e=>{const{rootElement:t}=this.props;if(t){const n=t.ownerDocument.defaultView;this.isShiftPressed=e.shiftKey;const o=e.target;if(!Wy.hasOwnProperty(e.key)||n&&o instanceof n.HTMLElement&&((0,jr.eR)(o,n)||(0,jr.N1)(o)||(0,jr.gC)(o)))return;window.setTimeout((()=>{e.defaultPrevented||this._checkForTextSelection("mouse")}),0)}}))}componentDidMount(){const{rootElement:e}=this.props;e&&(e.ownerDocument.addEventListener("keyup",this._handleKeyUp),e.ownerDocument.addEventListener("selectionchange",this._handleSelectionChange))}componentWillUnmount(){const{rootElement:e}=this.props;e&&(e.ownerDocument.removeEventListener("keyup",this._handleKeyUp),e.ownerDocument.removeEventListener("selectionchange",this._handleSelectionChange)),Uy=null,Vy=null}_checkForTextSelection(e){const{dispatch:t,currentTextSelection:n,selectedAnnotationIds:o,activeAnnotationNote:r,rootElement:i,interactionMode:a}=this.props,{defaultView:s}=i.ownerDocument;if(this.props.modalClosurePreventionError&&o.includes(this.props.modalClosurePreventionError.annotationId)){const e=i.ownerDocument.querySelector(".PSPDFKit-Form-Creator-Popover > .PSPDFKit-Popover");return null==e||e.classList.add(Zy().shakeEffect),void setTimeout((()=>{null==e||e.classList.remove(Zy().shakeEffect)}),200)}if(!s)return;const l=s.getSelection();l&&(l.isCollapsed?(n||o.size>0||r)&&(a===x.A.TEXT_HIGHLIGHTER||a===x.A.REDACT_TEXT_HIGHLIGHTER||a===x.A.CONTENT_EDITOR?(this.isShiftPressed&&t((0,je.td)(a===x.A.TEXT_HIGHLIGHTER?j.FV:pe.Z)),t((0,je.vR)())):t((0,je.fz)())):this._processTextSelection(e))}_processTextSelection(e){const{dispatch:t,rootElement:n,interactionMode:o}=this.props,{defaultView:r}=n.ownerDocument;if(!r)return;const i=r.getSelection();if(!i)return;const a=i.rangeCount>0?((e,t,n)=>new zy(e,t,n).getTextRange())(i,n,cl().selectableText):null;null!=a&&(0,A.dC)((()=>{t((0,je.FP)(a,"mouse"===e&&o!==x.A.TEXT_HIGHLIGHTER&&o!==x.A.REDACT_TEXT_HIGHLIGHTER)),o===x.A.TEXT_HIGHLIGHTER?t((0,je.BO)(j.FV)):o===x.A.REDACT_TEXT_HIGHLIGHTER&&t((0,je.BO)(pe.Z))}))}render(){return T.createElement(pt.Z,{onPointerUp:this._handlePointerUp,onPointerDown:this._handlePointerDown},T.createElement("div",null,this.props.children))}}var Hy=n(47859);function $y(e,t){return e>t?t/1.5:e}class Yy extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"sidebarRef",T.createRef()),(0,o.Z)(this,"state",{size:Math.min(this.props.initialSize,this.props.maxWidth),prevSize:Math.min(this.props.initialSize,this.props.maxWidth)}),(0,o.Z)(this,"onResize",(e=>{const{size:t}=this.state,{onResize:n}=this.props,o=this.sidebarRef.current&&this.sidebarRef.current.getBoundingClientRect();o&&(null==n||n({sidebarRect:o,isDragging:e,size:t}))})),(0,o.Z)(this,"onResizeFinish",(e=>{e!==this.props.initialSize&&this.props.dispatch((0,Eu.Pt)(e))})),(0,o.Z)(this,"onDrag",((e,t)=>{const{minWidth:n,maxWidth:o}=this.props;this.setState((t=>{let{size:r}=t;return eo||o-e<10?{size:o,prevSize:r}:{size:e,prevSize:r}}),(()=>{this.onResize(t)}))})),(0,o.Z)(this,"onDoubleClick",(()=>{const{maxWidth:e}=this.props;this.setState((t=>{let{size:n,prevSize:o}=t;return n===e?{size:$y(o,e)}:{size:e,prevSize:n}}),(()=>this.onResize(!1)))}))}componentDidMount(){this.onResize(!1)}componentDidUpdate(e){const{size:t,prevSize:n}=this.state,{maxWidth:o}=this.props;o!==e.maxWidth&&(t===e.maxWidth||t>o)?this.setState({size:o,prevSize:$y(n,o)}):this.props.initialSize!==e.initialSize&&this.setState({size:this.props.initialSize})}componentWillUnmount(){this.onResize(!1)}render(){const{size:e}=this.state,{draggerSize:t,isRTL:n,maxWidth:o,minWidth:r}=this.props;return T.createElement("div",{ref:this.sidebarRef},T.createElement(Xy,{size:e,onDrag:this.onDrag,onDoubleClick:this.onDoubleClick,onResizeFinish:this.onResizeFinish,draggerSize:t,isRTL:n,currentValue:Math.round((e-r)/(o-r)*100)},T.createElement(Hy.ZP,null,this.props.children(e-t,t))))}}class Xy extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{isDragging:!1,previousPosition:null}),(0,o.Z)(this,"_handlePointerDown",(e=>{const{isPrimary:t}=e;if(!t)return;const n=new B.E9({x:e.clientX,y:e.clientY});this.setState({isDragging:!0,previousPosition:n})})),(0,o.Z)(this,"_handlePointerMove",(e=>{if(!this.state.isDragging)return;const t=new B.E9({x:e.clientX,y:e.clientY});this._handleDrag(t)})),(0,o.Z)(this,"_handlePointerUp",(e=>{if(!this.state.isDragging)return;this.setState({isDragging:!1});const{previousPosition:t}=this.state;if(!t)return;const n=new B.E9({x:e.clientX,y:e.clientY}),o=this.props.size+(this.props.isRTL?t.x-n.x:n.x-t.x);this.props.onResizeFinish(o)})),(0,o.Z)(this,"_handleDoubleClick",(()=>{this.props.onDoubleClick()})),(0,o.Z)(this,"_handleKeyDown",(e=>{const{size:t,isRTL:n,onDrag:o,onDoubleClick:r}=this.props;"ArrowRight"===e.key?o(n?t-2:t+2,!1):"ArrowLeft"===e.key?o(n?t+2:t-2,!1):"Enter"===e.key&&r()})),(0,o.Z)(this,"_handleDrag",(e=>{const{previousPosition:t}=this.state;if(!t)return;const n=this.props.size+(this.props.isRTL?t.x-e.x:e.x-t.x);this.props.onDrag(n,!1),this.setState({previousPosition:e})}))}render(){const{isRTL:e,draggerSize:t,currentValue:n}=this.props;return T.createElement("div",{className:`${uv().sidebar} PSPDFKit-Sidebar`,style:{width:this.props.size,position:"relative",overflow:"hidden",[e?"paddingLeft":"paddingRight"]:t}},this.props.children,T.createElement("div",{onDoubleClick:this._handleDoubleClick},T.createElement(pt.Z,{onPointerDown:this._handlePointerDown,onRootPointerMoveCapture:this._handlePointerMove,onRootPointerUpCapture:this._handlePointerUp},T.createElement("div",{style:{[e?"left":"right"]:0,width:t},className:`${uv().dragger} PSPDFKit-Sidebar-Dragger`},T.createElement("div",{tabIndex:0,role:"separator","aria-label":"Resizer handle","aria-orientation":"vertical","aria-valuenow":n,onKeyDown:this._handleKeyDown,style:{[e?"right":"left"]:this.props.size-t},className:`${uv().draggerHandle} PSPDFKit-Sidebar-DraggerHandle`})))))}}class Jy extends T.PureComponent{render(){const{formatMessage:e}=this.props.intl;return T.createElement(yf.Z,{role:"dialog",onEscape:this.props.onEscape,background:"rgba(0,0,0,.1)",className:kr().modal,accessibilityLabel:e(Qy.signatureDialog),accessibilityDescription:e(Qy.signatureDialogDescription)},this.props.children)}}const Qy={signatureDialog:{id:"signatureDialog",defaultMessage:"Signature",description:"Signature Dialog"},signatureDialogDescription:{id:"signatureDialogDesc",defaultMessage:"This dialog lets you select an ink signature to insert into the document. If you do not have stored signatures, you can create one using the canvas view.",description:"Signature Dialog description"}},eb=(0,Re.XN)(Jy);var tb=n(73039);function nb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ob(e){for(var t=1;t[p.Z.BLACK,p.Z.BLUE,p.Z.RED].includes(e.color)));class ib extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",ze.O),(0,o.Z)(this,"state",{annotation:new tb.Z(ob(ob({},this.props.preset),{},{isSignature:!0})),zoomLevel:1}),(0,o.Z)(this,"_onAnnotationColorChange",(e=>{const t=this.state.annotation.withMutations((t=>{t.set("strokeColor",e)}));this._onChange(t)})),(0,o.Z)(this,"_clear",(()=>{this.setState({annotation:new tb.Z(ob(ob({},this.props.preset),{},{isSignature:!0}))},this._callOnChange)})),(0,o.Z)(this,"_onChange",(e=>{this.setState({annotation:e},this._callOnChange)})),(0,o.Z)(this,"_callOnChange",(()=>{const{onChange:e}=this.props;if(!e)return;e(fa(this.state.annotation,this.state.annotation.boundingBox.getLocation().scale(-1),this.props.canvasSize,new B.E9))})),(0,o.Z)(this,"_onResize",(e=>{this.setState({zoomLevel:e.width/this.props.canvasSize.width})}))}render(){const{annotation:e}=this.state,{canvasSize:t}=this.props,{formatMessage:n}=this.props.intl,o=e.lines.isEmpty();return T.createElement(T.Fragment,null,T.createElement("div",{className:kr().header},T.createElement(sp,{colorPresets:rb,activeColor:e.strokeColor,onClick:this._onAnnotationColorChange,className:F()(kr().colorPicker,"PSPDFKit-Signature-Dialog-Color-Picker")}),T.createElement(ue.zx,{onClick:this._clear,inverted:!0,disabled:o,className:F()(kr().button,"PSPDFKit-Signature-Dialog-Clear-Signature-Button")},n(Ke.Z.clearSignature))),T.createElement("div",{className:kr().editorCanvasContainer},T.createElement("div",{className:F()(kr().editorCanvas,"PSPDFKit-Signature-Dialog-Canvas","PSPDFKit-Signature-Canvas","interactions-disabled")},T.createElement(Hp.Z,{onResize:this._onResize}),T.createElement("div",{className:F()(kr().signHere,"PSPDFKit-Signature-Dialog-Sign-Here-Label",{[kr().signHereHidden]:!e.lines.isEmpty()})},n(ab.pleaseSignHere)),T.createElement(Ai,{annotation:e,canvasSize:t,onDrawStart:this._onChange,onDraw:this._onChange,onDrawEnd:this._onChange,zoomLevel:this.state.zoomLevel,cursor:"crosshair"}))))}}(0,o.Z)(ib,"defaultProps",{canvasSize:new B.$u({width:600,height:260}),preset:{}});const ab=(0,Re.vU)({pleaseSignHere:{id:"pleaseSignHere",defaultMessage:"Please sign here",description:"Message on the signature canvas"}}),sb=(0,Re.XN)(ib);var lb,cb=n(41067),ub=n.n(cb);function db(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function pb(e){for(var t=1;t{const{backend:e,attachment:t,templateWidth:n}=this.props;let o=this.props.annotation.update("boundingBox",(e=>null==e?void 0:e.set("left",0).set("top",0))),{boundingBox:r}=o;const i=Math.max(r.width,r.height);return i{this.unmounted||(this.setState({loadingState:"LOADED"}),this.props.onRenderFinished&&this.props.onRenderFinished(e))})),(0,o.Z)(this,"_showError",(()=>{this.setState({loadingState:"ERROR"})})),(0,o.Z)(this,"_showLoadingIndicator",(()=>{this.setState((e=>({showLoadingIndicator:"LOADING"===e.loadingState})))}))}componentDidUpdate(e){if(!(0,i.is)((0,J.ip)(this.props.annotation),(0,J.ip)(e.annotation))||e.annotation.imageAttachmentId!==this.props.annotation.imageAttachmentId||e.templateWidth0&&a>0?i/a:1,l=s>1?ub().wideImg:ub().highImg,c=F()(e instanceof j.sK?ub().imageAnnotation:ub().stampAnnotation,o?ub().containedImg:ub().notContainedImg,l),u=F()(ub().wrapper,{[ub()["imageAnnotation-loading"]]:"LOADING"===this.state.loadingState&&this.state.showLoadingIndicator,[ub()["imageAnnotation-error"]]:"ERROR"===this.state.loadingState}),d={opacity:r,position:"relative",width:o?0===t||s>=1?"100%":t:"auto"},p=pb(pb({},d),{},{height:0===t?"100%":s>1?t:t*s});return T.createElement("div",{style:d,className:u},T.createElement($e.Z,{className:c,fetchImage:this._fetchImage,label:n,visible:!0,onRenderFinished:this._renderFinished,onError:this._showError,rectStyle:p,ref:this.imageFetcherRef}),"LOADING"===this.state.loadingState&&this.state.showLoadingIndicator?T.createElement("div",{className:ub().placeHolder},lb||(lb=T.createElement(Xe.Z,null))):"ERROR"===this.state.loadingState?T.createElement("div",{className:ub().placeHolder},T.createElement(Ye.Z,{src:et(),className:ub().errorIcon})):null)}}class hb extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",ze.O)}render(){const{formatMessage:e}=this.props.intl,t=null==this.props.showDeleteBtn||this.props.showDeleteBtn;return T.createElement("ul",{className:F()(kr().signaturePickerList,"PSPDFKit-Signature-Dialog-Picker","PSPDFKit-Signature-Picker")},this.props.signatures.map(((o,r)=>T.createElement("li",{key:r,className:F()(kr().signaturePickerListItem,"PSPDFKit-Signature-Dialog-Picker-Item"),"data-signature":r},T.createElement(ue.zx,{className:F()(kr().selectSignatureButton,"PSPDFKit-Signature-Dialog-Picker-Item-Button",{[kr().imageAnnotation]:o instanceof j.sK}),onClick:()=>{this.props.onSelect(o)},autoFocus:0===r},o instanceof j.Zc?T.createElement(Wt,{isSelectable:!1,annotation:o,viewBox:o.boundingBox}):T.createElement(fb,{annotation:o,backend:this.props.backend,label:o.description||e(Ke.Z.imageAnnotation),attachment:o.imageAttachmentId?this.props.attachments.get(o.imageAttachmentId):null,templateWidth:153.5})),t?T.createElement("button",{className:F()(kr().deleteSignatureButton,"PSPDFKit-Signature-Dialog-Picker-Item-Delete-Button"),onClick:()=>{this.props.onDelete(o)},"aria-label":e(Ke.Z.delete)},T.createElement(Ye.Z,{src:n(61019)})):null))))}}const mb=(0,Re.XN)(hb);var gb;function vb(e){let{children:t,hasDivider:n}=e;return n?T.createElement(T.Fragment,null,gb||(gb=T.createElement(ue.u_.Divider,{spaced:!1})),T.createElement(ue.u_.Section,null,t)):T.createElement("div",{className:kr().footer},t)}class yb extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{annotation:null,hideSignaturePicker:!1,storeSignature:!!this.props.canStoreSignature}),(0,o.Z)(this,"_hideSignaturePicker",(()=>{this.setState({hideSignaturePicker:!0,annotation:null})})),(0,o.Z)(this,"_onSignatureChange",(e=>{this.setState({annotation:e})})),(0,o.Z)(this,"_onDone",(()=>{const{onCreate:e,onCancel:t}=this.props,{annotation:n,storeSignature:o}=this.state;n?null==e||e(n,o,!0):null==t||t()})),(0,o.Z)(this,"_toggleStoreSignature",(()=>{this.setState((e=>({storeSignature:!e.storeSignature})))}))}render(){const{onCreate:e,onDelete:t,storedSignatures:n,preset:o}=this.props,r=!!this.props.canStoreSignature,a=!this.state.hideSignaturePicker&&r&&Boolean(n&&n.size>0),{formatMessage:s}=this.props.intl,{annotation:l,storeSignature:c}=this.state,u=null!==l&&l.lines instanceof i.aV&&!l.lines.isEmpty(),{SIGNATURE_SAVE_MODE:d}=mt.Ei,p=d===_u.f.USING_UI;return T.createElement("div",{className:F()(kr().viewRoot,"PSPDFKit-Signature-Dialog",{[kr().viewSignaturePicker]:a})},a&&n?T.createElement(T.Fragment,null,T.createElement("div",{className:kr().header},T.createElement("div",{className:F()(kr().title,"PSPDFKit-Signature-Dialog-Signature-Heading"),role:"heading","aria-level":"1"},s(Ke.Z.signatures)),T.createElement(ue.zx,{className:"PSPDFKit-Signature-Dialog-Add-Signature-Button",onClick:this._hideSignaturePicker,inverted:!0},s(Ke.Z.addSignature))),T.createElement("div",{className:kr().signaturePickerContainer},T.createElement(mb,{signatures:n,onSelect:t=>{e(t,!1,!0)},onDelete:e=>{t(e,!0)},backend:this.props.backend,attachments:this.props.attachments,viewportWidth:this.props.viewportWidth}))):T.createElement(sb,{onChange:this._onSignatureChange,preset:o}),T.createElement(vb,{hasDivider:a&&r},!a&&r&&p&&T.createElement("label",{className:F()(kr().checkbox,"PSPDFKit-Signature-Dialog-Store-Signature-Checkbox")},T.createElement("input",{type:"checkbox",name:"store",checked:c,onChange:this._toggleStoreSignature}),T.createElement("span",{className:kr().checkboxLabel},s(Ke.Z.storeSignature))),T.createElement(ue.hE,{className:kr().group,align:"end"},T.createElement(ue.zx,{onClick:this.props.onCancel,className:F()(kr().button,"PSPDFKit-Signature-Dialog-Cancel-Button"),autoFocus:!a},s(Ke.Z.cancel)),!a&&T.createElement(ue.zx,{primary:!0,disabled:!u,onClick:u?this._onDone:null,className:F()(kr().button,"PSPDFKit-Signature-Dialog-Done-Button")},s(Ke.Z.done)))))}}(0,o.Z)(yb,"defaultProps",{canStoreSignature:!0});const bb=(0,Re.XN)(yb);var wb=n(44182),Sb=n.n(wb);const Eb=e=>{const{formatMessage:t}=(0,Re.YB)();return T.createElement(yf.Z,{backdropFixed:!0,role:"dialog",onEscape:e.onEscape,background:"rgba(0, 0, 0, 0.1)",className:e.showPicker?Sb().modal:Sb().editorModal,accessibilityLabel:t(Xc.stampAnnotationTemplatesDialog),accessibilityDescription:t(Xc.stampAnnotationTemplatesDialogDescription)},e.children)};class Pb extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_onSelect",(e=>{this.props.onSelect(e)})),(0,o.Z)(this,"_initializeTemplateValues",(e=>(e instanceof s.GI&&(null==e.title&&(e=e.set("title",ou({annotation:e,intl:this.props.intl}))),e.subtitle&&"Custom"===e.stampType||(e=e.set("subtitle",nu($c.pY[e.stampType],new Date,this.props.intl))),void 0!==$c.a$[e.stampType]&&(e=e.set("stampType",$c.a$[e.stampType]))),e)))}componentDidMount(){const{stampAnnotationTemplates:e,attachments:t}=this.props;let n=!1;e.forEach((e=>{e.imageAttachmentId&&!t.has(e.imageAttachmentId)&&(n=!0,(0,a.ZK)("No attachment found for stamp template with imageAttachmentId set: "+e.toJS()))})),n&&(0,a.ZK)("When the document is reloaded due to having performed operations on the document you need to regenerate any attachments that are not present in the document. Check the corresponding KB article: https://pspdfkit.com/guides/web/current/knowledge-base/image-attachments-lost-stamp-annotation-templates/")}render(){const{intl:{formatMessage:e},viewportWidth:t}=this.props,n=t{const o=ou({annotation:t,intl:this.props.intl});return T.createElement("li",{key:n,className:Sb().stampPickerListItem},T.createElement(ue.zx,{className:Sb().selectStampButton,onClick:()=>{this._onSelect(t)},autoFocus:0===n,"aria-label":o,title:o},T.createElement("div",{className:Sb().templateImageContainer},T.createElement(fb,{annotation:t,backend:this.props.backend,label:t instanceof s.sK?e(Ke.Z.imageAnnotation):t.title||e(Xc[(0,$.LE)((0,$c.k1)(t.stampType))]),attachment:t.imageAttachmentId?this.props.attachments.get(t.imageAttachmentId):null,templateWidth:r,contain:!0}))))})))),T.createElement(_b,{raised:"top"},T.createElement(ue.hE,{className:Sb().group,align:"start"},T.createElement(ue.zx,{onClick:this.props.onCancel,className:Sb().button},e(Ke.Z.cancel)))))}}const xb=(0,Re.XN)(Pb),Db={textTransform:"uppercase"},Cb=cu.find((e=>"blue"===e.localization.id));(0,Ne.k)(null!=Cb),(0,Ne.k)(Cb.color instanceof p.Z);const kb=Cb.color;class Ab extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_stampWidth",Je.$P),(0,o.Z)(this,"currentDate",new Date),(0,o.Z)(this,"state",{includeDate:!0,includeTime:!0,title:"",color:kb}),(0,o.Z)(this,"_setWidth",(e=>{this._stampWidth=e})),(0,o.Z)(this,"_onAnnotationColorChange",(e=>{this.setState({color:e})})),(0,o.Z)(this,"_toggleIncludeDate",(()=>{this.setState({includeDate:!this.state.includeDate})})),(0,o.Z)(this,"_toggleIncludeTime",(()=>{this.setState({includeTime:!this.state.includeTime})})),(0,o.Z)(this,"_updateText",(e=>{this.setState({title:e.currentTarget.value.toUpperCase()})})),(0,o.Z)(this,"_onCreate",(()=>{const{includeDate:e,includeTime:t}=this.state;this.props.onCreate(new j.GI({stampType:"Custom",title:this.state.title,subtitle:nu({includeDate:e,includeTime:t},this.currentDate,this.props.intl),color:this.state.color,boundingBox:new j.UL({left:0,top:0,width:this._stampWidth,height:Je.mM})}))}))}render(){const{formatMessage:e}=this.props.intl,{includeDate:t,includeTime:n,title:o,color:r}=this.state,i=nu({includeDate:t,includeTime:n},this.currentDate,this.props.intl);return T.createElement(T.Fragment,null,T.createElement("div",{className:Sb().previewContainerBlock},T.createElement("div",{className:F()(Sb().previewContainer,"PSPDFKit-Stamp-Editor")},T.createElement(Ob,{title:o,subtitle:i,color:r,setWidth:this._setWidth})),T.createElement("div",{className:Sb().modalSubHeader},e(Ke.Z.stampText)),T.createElement(ue.oi,{"aria-label":e(Ke.Z.stampText),autoFocus:!0,onChange:this._updateText,value:o,style:Db}),T.createElement("div",{className:Sb().dateTimeLabels},T.createElement("label",{className:Sb().checkbox},T.createElement("input",{type:"checkbox",name:"store",checked:t,onChange:this._toggleIncludeDate}),T.createElement("span",{style:{width:"0.5em"}}),T.createElement("span",null,e(Ke.Z.date))),T.createElement("label",{className:Sb().checkbox},T.createElement("input",{type:"checkbox",name:"store",checked:n,onChange:this._toggleIncludeTime}),T.createElement("span",{style:{width:"0.5em"}}),T.createElement("span",null,e(Ke.Z.time)))),T.createElement("div",{className:Sb().modalSubHeader},e(Ke.Z.chooseColor)),T.createElement(sp,{colorPresets:cu,activeColor:r||kb,onClick:this._onAnnotationColorChange,className:Sb().colorPicker,accessibilityLabel:e(Ke.Z.color)})),T.createElement(_b,null,T.createElement(ue.hE,{className:F()(Sb().group,Sb().spaceBetween)},T.createElement(ue.zx,{onClick:this.props.onCancel,className:Sb().button},e(Ke.Z.cancel)),T.createElement(ue.zx,{className:Sb().button,primary:!0,onClick:this._onCreate},e(Tb.createStamp)))))}}class Ob extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_canvasEl",null),(0,o.Z)(this,"_canvasRef",(e=>{this._canvasEl=e,this.props.setWidth(this._drawCustomStamp())})),(0,o.Z)(this,"_drawCustomStamp",(()=>lu({canvas:this._canvasEl,title:this.props.title,subtitle:this.props.subtitle,color:this.props.color,defaultStampWidth:Je.$P,stampHeight:Je.mM,container:this._canvasEl&&this._canvasEl.parentElement&&this._canvasEl.parentElement.parentElement})))}render(){const e=this._drawCustomStamp();return this.props.setWidth(e),T.createElement("div",{className:Sb().customStampPreviewContainer,style:{width:e,height:Je.mM}},T.createElement("canvas",{ref:this._canvasRef,style:{width:e,height:Je.mM}}))}}const Tb=(0,Re.vU)({createStamp:{id:"createStamp",defaultMessage:"Create Stamp",description:"Create Stamp from edited template."}}),Ib=(0,Re.XN)(Ab);class Fb extends T.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"_toggleStampsPicker",(()=>{this.props.dispatch(this.props.showPicker?(0,En._z)():(0,En.C4)())}))}render(){const{onCreate:e,onCancel:t,stampAnnotationTemplates:n,backend:o,dispatch:r,attachments:i,viewportWidth:a,intl:{formatMessage:s}}=this.props;return T.createElement("div",{className:F()(Sb().viewRoot,this.props.showPicker&&Sb().viewStampsPicker)},this.props.showPicker?T.createElement(T.Fragment,null,T.createElement(_b,{raised:"bottom",className:Sb().header,useDivider:!1},T.createElement(T.Fragment,null,T.createElement("div",{className:Sb().title,role:"heading","aria-level":"1"},s(Ke.Z.useAnExistingStampDesign)),T.createElement(ue.zx,{onClick:this._toggleStampsPicker,inverted:!0,className:`PSPDFKit-Stamp-Dialog-Custom-Stamp-Button ${Sb().group}`},s(Ke.Z.customStamp)))),T.createElement(xb,{stampAnnotationTemplates:n,onSelect:e,onCancel:t,backend:o,dispatch:r,attachments:i,viewportWidth:a})):T.createElement(T.Fragment,null,T.createElement(_b,{className:Sb().header},T.createElement(T.Fragment,null,T.createElement("div",{className:Sb().title,role:"heading","aria-level":"1"},s(Ke.Z.customStamp)),T.createElement(ue.zx,{onClick:this._toggleStampsPicker,inverted:!0,className:`.PSPDFKit-Stamp-Dialog-Existing-Stamp-Button ${Sb().group}`},s(Ke.Z.useAnExistingStampDesign)))),T.createElement(Ib,{onCreate:e,onCancel:t,dispatch:r})))}}const Mb={top:"0 -2px",left:"-2px 0",right:"2px 0",bottom:"0 2px"},_b=e=>{let{children:t,raised:n,className:o,useDivider:r=!0}=e;const i=n?{boxShadow:`${Mb[n]} 5px rgba(0,0,0, 0.1)`,position:"relative",[`border${n.charAt(0).toUpperCase()}${n.substr(1)}Width`]:1}:{};return T.createElement(T.Fragment,null,r&&T.createElement(yf.Z.Divider,{spaced:!1,className:Sb().modalDivider}),T.createElement(yf.Z.Section,{className:F()(Sb().stampModalSection,o),style:i},t))},Rb=((0,Re.vU)({customStamp:{id:"customStamp",defaultMessage:"Custom Stamp",description:"Edit custom stamp template."}}),(0,Re.XN)(Fb));var Nb=n(6437),Lb=n(98785);const Bb=(0,Re.vU)({thumbnails:{id:"thumbnails",defaultMessage:"Thumbnails",description:"Thumbnails"}});const jb=(0,Eo.x)((function(e){const{pages:t,backend:n,viewportState:{viewportRect:o},annotations:r,attachments:a,showAnnotations:s,formFields:l,renderPageCallback:c}=e,u=(0,nt.Qg)(l);return{annotations:s?r:(0,i.D5)(),attachments:a,backend:n,formFields:l,formFieldValues:u,height:o.height,pages:t,renderPageCallback:c}}))((function(e){const{pages:t,closeOnPress:n,selectedPageIndex:o,navigationDisabled:r}=e,[a,s]=T.useState(null);T.useEffect((()=>{null==a||a.focus()}),[a]);const l=T.useMemo((()=>t.map(g.J)),[t]),{formatMessage:c}=(0,Re.YB)(),u=(0,fi.Bo)(a,l),d=(0,fi.mP)(u,(e=>String(e.index)),(e=>null==l?void 0:l.find((t=>String(t.index)===String(e))))),p=(0,A.I0)(),f=T.useCallback((function(e){r||(n?(p((0,Eu.YA)(e)),p((0,En.mu)())):e!==o&&p((0,Eu.YA)(e)))}),[n,p,o,r]),h=T.useCallback((function(e,n,o){const r=t.find((t=>t.pageIndex===e));if(!r)return{item:null,label:e+1+""};const i=d?e=>{d(e,(0,g.J)(r))}:void 0;return{item:T.createElement(Lb.Z,{key:r.pageKey,page:r,size:n,maxSize:o,pageRef:i}),label:r.pageLabel||e+1+""}}),[t,d]),m=T.useCallback((function(e){const n=t.find((t=>t.pageIndex===e));return(null==n?void 0:n.pageKey)||`${e}`}),[t]);return T.createElement("div",{role:"region","aria-label":c(Bb.thumbnails),tabIndex:-1,ref:s,className:"PSPDFKit-Sidebar-Thumbnails"},l?T.createElement(Nb.Z,{width:e.width,height:e.height,totalItems:l.size,renderItemCallback:h,itemKeyCallback:m,itemScale:e.scale,onItemPress:f,selectedItemIndexes:(0,i.l4)([o]),cssPrefix:"PSPDFKit-Sidebar",clickDisabled:r}):null)}));var zb=n(46983),Kb=n.n(zb);function Zb(e){let{position:t,children:n}=e;return T.createElement("div",null,T.createElement("div",{className:F()("PSPDFKit-Toolbars",Kb().root,{[Kb().stickToBottom]:"bottom"===t})},n))}var Ub=n(76367),Vb=n(70742),Gb=n.n(Vb);function Wb(e){const[t,o]=T.useState(!1),[r,i]=T.useState(!1),a=T.useRef(e.digitalSignatures);T.useEffect((()=>{e.digitalSignatures!==a.current&&o(!1),a.current=e.digitalSignatures}),[e.digitalSignatures]),T.useEffect((()=>{!async function(){const t=(0,Mr.jI)(e.digitalSignatures,e.showSignatureValidationStatus);i(t)}()}),[e.showSignatureValidationStatus,e.digitalSignatures]);const{formatMessage:s}=(0,Re.YB)(),{status:l,messageId:c,iconPath:u}=e.digitalSignatures?function(e){let{documentModifiedSinceSignature:t,status:n}=e;if(n===Ub._.valid)return t?{status:"warning",messageId:"digitalSignaturesDocModified",iconPath:"warning-2.svg"}:{status:"valid",messageId:"digitalSignaturesAllValid",iconPath:"digital-signatures/signature-valid.svg"};if(n===Ub._.warning)return{status:"warning",messageId:t?"digitalSignaturesSignatureWarningDocModified":"digitalSignaturesSignatureWarning",iconPath:"warning-2.svg"};if(n===Ub._.error)return{status:"error",messageId:t?"digitalSignaturesSignatureErrorDocModified":"digitalSignaturesSignatureError",iconPath:"digital-signatures/signature-error.svg"};return{status:null,messageId:null,iconPath:null}}(e.digitalSignatures):{status:null,messageId:null,iconPath:null};if(null==l||null==c||t)return null;const d=F()(Gb().root,Gb()[`status-${l}`],"PSPDFKit-Digital-Signatures-Status",`PSPDFKit-Digital-Signatures-Status-${(0,qn.kC)(l)}`),p=F()(Gb().signatureValidationStatusIcon,Gb()[`status-${l}-icon`],"PSPDFKit-Digital-Signatures-Status-Icon");return r?T.createElement("div",{className:d},T.createElement("div",{className:Gb().signatureInfoContainer},T.createElement("div",{className:Gb().signatureValidationStatusIconContainer},T.createElement(Ye.Z,{className:p,src:n(79230)(`./${u}`)})),T.createElement("span",{className:F()(Gb().signatureValidationStatusText,"PSPDFKit-Digital-Signatures-Status-Text")},s(qb[c]))),T.createElement(ue.zx,{className:F()(Gb().signatureValidationCloseButton,"PSPDFKit-Digital-Signatures-Status-Close-Button"),onClick:()=>{o(!0)},"aria-label":"Close digital signatures status bar"},T.createElement(Ye.Z,{className:Gb().signatureValidationCloseIcon,src:n(15708)}))):null}const qb=(0,Re.vU)({digitalSignaturesDocModified:{id:"digitalSignaturesDocModified",defaultMessage:"The document has been digitally signed, but it has been modified since it was signed.",description:"Message when document is valid but has been modified since it was signed."},digitalSignaturesAllValid:{id:"digitalSignaturesAllValid",defaultMessage:"The document has been digitally signed and all signatures are valid.",description:"Message when document is valid."},digitalSignaturesSignatureWarningDocModified:{id:"digitalSignaturesSignatureWarningDocModified",defaultMessage:"The document has been digitally signed, but it has been modified since it was signed and at least one signature has problems.",description:'Message when the document is in a "warning" status and the document has been modified since signing.'},digitalSignaturesSignatureWarning:{id:"digitalSignaturesSignatureWarning",defaultMessage:"The document has been digitally signed, but at least one signature has problems.",description:'Message when the document is in a "warning" status.'},digitalSignaturesSignatureErrorDocModified:{id:"digitalSignaturesSignatureErrorDocModified",defaultMessage:"The document has been digitally signed, but it has been modified since it was signed and at least one signature is invalid.",description:'Message when the document is in a "error" status and the document has been modified since signing.'},digitalSignaturesSignatureError:{id:"digitalSignaturesSignatureError",defaultMessage:"The document has been digitally signed, but at least one signature is invalid.",description:'Message when the document is in a "error" status.'}});var Hb=n(90133),$b=n.n(Hb);const Yb=T.memo((function(e){return T.createElement(zv,{itemClassName:$b().item,rootClassName:F()("PSPDFKit-Annotation-Tooltip",$b().root),items:e.items})}));var Xb=n(73396),Jb=n.n(Xb);function Qb(e){let{viewportState:{viewportRect:t,commentMode:n},children:o,scrollbarOffset:r}=e;const i={width:t.width+r,height:n===Yh._.PANE?t.height/2:t.height};return T.createElement("div",{className:`PSPDFKit-Viewport ${Jb().root}`,style:i},o)}var ew=n(73535),tw=n.n(ew);const nw=(0,Re.XN)((function(e){const{formatMessage:t}=e.intl;return T.createElement(yf.Z,{role:"alertdialog",onEscape:e.onCancel,background:"rgba(0,0,0,.1)",className:"PSPDFKit-Confirm-Dialog PSPDFKit-Reload-Document-Confirm-Dialog",accessibilityLabel:t(ow.reloadDocumentDialog),accessibilityDescription:t(ow.reloadDocumentDialogDesc)},T.createElement(yf.Z.Section,{style:{paddingBottom:0}},T.createElement("div",{className:`${tw().content} PSPDFKit-Confirm-Dialog-Content`},T.createElement("div",null,t(ow.instantModifiedWarning)))),T.createElement(yf.Z.Section,null,T.createElement(ue.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons",align:"end"},T.createElement(ue.zx,{autoFocus:!0,onClick:e.onCancel,className:"PSPDFKit-Confirm-Dialog-Button PSPDFKit-Confirm-Dialog-Button-Cancel"},t(Ke.Z.cancel)),T.createElement(ue.zx,{onClick:e.onConfirm,primary:!0,className:"PSPDFKit-Confirm-Dialog-Button PSPDFKit-Confirm-Dialog-Button-Confirm"},t(ow.reloadDocument)))))})),ow=(0,Re.vU)({instantModifiedWarning:{id:"instantModifiedWarning",defaultMessage:"Reload document confirm dialog message",description:"The document was modified and is now in read-only mode. Reload the page to fix this."},reloadDocument:{id:"reloadDocument",defaultMessage:"Reload document",description:"Reload"},reloadDocumentDialog:{id:"reloadDocumentDialog",defaultMessage:"Confirm document reload",description:"Reload Document Confirm Dialog"},reloadDocumentDialogDesc:{id:"reloadDocumentDialogDesc",defaultMessage:"Dialog prompting the user to confirm reloading the document.",description:"Description for the Reload Document Dialog"}});var rw=n(83251),iw=n.n(rw);function aw(e){const{formatMessage:t}=(0,Re.YB)();return T.createElement(yf.Z,{role:"dialog",onEscape:e.onEscape,className:iw().modal,accessibilityLabel:t(sw.signatureDialog),accessibilityDescription:t(sw.signatureDialogDescription)},e.children)}const sw={signatureDialog:{id:"signatureDialog",defaultMessage:"Signature",description:"Signature Dialog"},signatureDialogDescription:{id:"signatureDialogDesc",defaultMessage:"This dialog lets you select a signature to insert into the document. If you do not have stored signatures, you can create one by drawing, typing or selecting an existing image.",description:"Signature Dialog description"}};function lw(e){return function(t){return!!t.type&&t.type.tabsRole===e}}var cw=lw("Tab"),uw=lw("TabList"),dw=lw("TabPanel");function pw(){return pw=Object.assign||function(e){for(var t=1;t=this.getTabsCount())){var n=this.props;(0,n.onSelect)(e,n.selectedIndex,t)}},r.getNextTab=function(e){for(var t=this.getTabsCount(),n=e+1;ne;)if(!Dw(this.getTab(t)))return t;return e},r.getFirstTab=function(){for(var e=this.getTabsCount(),t=0;t=0||(r[n]=e[n]);return r}(t,["children","className","disabledTabClassName","domRef","focus","forceRenderTabPanel","onSelect","selectedIndex","selectedTabClassName","selectedTabPanelClassName","environment","disableUpDownKeys"]));return T.createElement("div",Sw({},r,{className:gw(n),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){e.node=t,o&&o(t)},"data-tabs":!0}),this.getChildren())},o}(T.Component);function kw(e,t){return kw=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},kw(e,t)}Cw.defaultProps={className:"react-tabs",focus:!1},Cw.propTypes={};var Aw=function(e){var t,n;function o(t){var n;return(n=e.call(this,t)||this).handleSelected=function(e,t,o){var r=n.props.onSelect,i=n.state.mode;if("function"!=typeof r||!1!==r(e,t,o)){var a={focus:"keydown"===o.type};1===i&&(a.selectedIndex=e),n.setState(a)}},n.state=o.copyPropsToState(n.props,{},t.defaultFocus),n}return n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,kw(t,n),o.getDerivedStateFromProps=function(e,t){return o.copyPropsToState(e,t)},o.getModeFromProps=function(e){return null===e.selectedIndex?1:0},o.copyPropsToState=function(e,t,n){void 0===n&&(n=!1);var r={focus:n,mode:o.getModeFromProps(e)};if(1===r.mode){var i=Math.max(0,ww(e.children)-1),a=null;a=null!=t.selectedIndex?Math.min(t.selectedIndex,i):e.defaultIndex||0,r.selectedIndex=a}return r},o.prototype.render=function(){var e=this.props,t=e.children,n=(e.defaultIndex,e.defaultFocus,function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["children","defaultIndex","defaultFocus"])),o=this.state,r=o.focus,i=o.selectedIndex;return n.focus=r,n.onSelect=this.handleSelected,null!=i&&(n.selectedIndex=i),T.createElement(Cw,n,t)},o}(T.Component);function Ow(){return Ow=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,["children","className"]);return T.createElement("ul",Ow({},o,{className:gw(n),role:"tablist"}),t)},o}(T.Component);function Fw(){return Fw=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(n,["children","className","disabled","disabledClassName","focus","id","panelId","selected","selectedClassName","tabIndex","tabRef"]);return T.createElement("li",Fw({},f,{className:gw(r,(e={},e[u]=c,e[a]=i,e)),ref:function(e){t.node=e,p&&p(e)},role:"tab",id:s,"aria-selected":c?"true":"false","aria-disabled":i?"true":"false","aria-controls":l,tabIndex:d||(c?"0":null)}),o)},o}(T.Component);function Nw(){return Nw=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(t,["children","className","forceRender","id","selected","selectedClassName","tabId"]);return T.createElement("div",Nw({},c,{className:gw(o,(e={},e[s]=a,e)),role:"tabpanel",id:i,"aria-labelledby":l}),r||a?n:null)},o}(T.Component);jw.defaultProps={className:Bw,forceRender:!1,selectedClassName:"react-tabs__tab-panel--selected"},jw.propTypes={},jw.tabsRole="TabPanel";var zw=n(52940),Kw=n.n(zw),Zw=n(70768),Uw=n.n(Zw);function Vw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Gw(e){for(var t=1;t{const e=new tb.Z(Gw(Gw({},o),{},{isSignature:!0,strokeColor:a.strokeColor}));n(e)}),[o,n,a]),d=T.useCallback((e=>{const t=a.set("strokeColor",e);n(t)}),[n,a]),p=T.useCallback((e=>{l(e.width/r.width)}),[r.width]),f=T.useCallback((e=>{n(e)}),[n]);return T.createElement("div",{className:Uw().wrapper},T.createElement("div",{className:Uw().colorPickerContainer},T.createElement(sp,{colorPresets:i,activeColor:a.strokeColor,accessibilityLabel:t(Ke.Z.color),onClick:d,className:F()(kr().colorPicker,"PSPDFKit-Electronic-Signatures-Color-Picker")})),T.createElement("div",{className:F()(kr().editorCanvasContainer,Uw().editorCanvasContainer)},T.createElement("div",{className:F()(kr().editorCanvas,Uw().canvas,"PSPDFKit-Electronic-Signatures-Canvas","interactions-disabled"),tabIndex:0},T.createElement(Hp.Z,{onResize:p}),T.createElement(Ai,{annotation:a,canvasSize:r,onDrawStart:f,onDraw:f,onDrawEnd:f,zoomLevel:s,cursor:"crosshair"}))),T.createElement("div",{className:Uw().actionContainer},a.lines.isEmpty()?T.createElement("div",{className:F()(kr().signHere,Uw().signHere,"PSPDFKit-Electronic-Signatures-Sign-Here-Label",{[kr().signHereHidden]:!a.lines.isEmpty()})},t(qw.signHere)):T.createElement(ue.zx,{onClick:u,inverted:!0,disabled:c,className:F()(kr().button,Uw().deleteSignature,"PSPDFKit-Electronic-Signatures-Clear-Signature-Button")},t(Ke.Z.clearSignature))))}const qw=(0,Re.vU)({signHere:{id:"signHere",defaultMessage:"Sign here",description:"Message on the signature canvas"}});var Hw=n(27074),$w=n.n(Hw),Yw=n(10713),Xw=n.n(Yw);function Jw(e){const{formatMessage:t}=(0,Re.YB)(),{image:n,onImageSelected:o,onRenderFinished:r}=e,[i,a]=T.useState(!1),[s,l]=T.useState(!1),[c,u]=T.useState(null),d=T.useRef(null),p=T.useRef(null),f=T.useCallback((e=>{const t=e.target.files[0];if(!t)return;const n=e.target.files[0].type;"image/jpeg"!==n&&"image/png"!==n||(o(t),e.target.value="")}),[o]),h=T.useCallback((e=>{e.stopPropagation(),d.current&&d.current.click()}),[]);return T.useEffect((function(){n&&n!==p.current&&(c&&URL.revokeObjectURL(c),u(URL.createObjectURL(n)),r(),p.current=n)}),[n,c,u,r]),T.createElement("div",{className:$w().wrapper},T.createElement("div",{className:F()($w().dragZone,{[$w().draggingOver]:i,[$w().hoveringOver]:s,[$w().dragZoneNoSelection]:!n,[$w().dragZoneNoLegacyEdge]:!0},"PSPDFKit-Electronic-Signatures-Image-Dropzone"),onDrag:e=>{e.preventDefault(),e.stopPropagation()},onDragStart:e=>{e.preventDefault(),e.stopPropagation()},onDragEnd:e=>{e.preventDefault(),e.stopPropagation(),a(!1)},onDragOver:e=>{e.preventDefault(),e.stopPropagation(),a(!0)},onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),a(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),a(!1)},onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),a(!1),e.dataTransfer.files&&e.dataTransfer.files[0]){const t=e.dataTransfer.files[0];if("image/jpeg"!==t.type&&"image/png"!==t.type)return;o(t)}},onClickCapture:h,onPointerOver:()=>{l(!0)},onPointerOut:()=>{l(!1)}},T.createElement("input",{type:"file",id:"image-picker",className:$w().filePicker,accept:"image/png, image/jpeg",onChange:f,ref:d,tabIndex:-1}),n?T.createElement("img",{src:c||void 0,className:$w().imagePreview}):T.createElement("div",{className:$w().dragZoneContent},T.createElement("button",{tabIndex:0,className:F()($w().addButton,"PSPDFKit-Electronic-Signatures-Add-Image-Button"),onClick:h},T.createElement(ue.TX,null,t(Qw.selectDragImage)),T.createElement(Ye.Z,{src:Xw(),className:$w().addIcon,"aria-hidden":"true"})),T.createElement("p",{className:$w().legend,"aria-hidden":!0},t(Qw.selectDragImage)))),n&&T.createElement("button",{className:F()($w().fileLabel,$w().buttonLink,"PSPDFKit-Electronic-Signatures-Replace-Image-Button"),onClick:h},t(Qw.replaceImage)))}const Qw=(0,Re.vU)({selectDragImage:{id:"selectDragImage",defaultMessage:"Select or Drag Image",description:"Indicate that the space is reserved to select or drag an image"},replaceImage:{id:"replaceImage",defaultMessage:"Replace Image",description:"Click to replace the image currently visible"}});var eS=n(52247),tS=n(49814),nS=n.n(tS);function oS(e){var t,n,o;const r=(0,Re.YB)().formatMessage,{signingFonts:i,onChange:s,colors:l,signature:c}=e,u=e.frameWindow.innerWidth,d=i.map((e=>e.name));let p,f;d.size<=1&&(p={paddingTop:"5%",height:"100%"},u>Je.Fg&&(f=48));const h=T.useCallback((e=>{if(!e)return;const t=c.set("fontColor",e);s(t)}),[c,s]),m=T.useCallback((e=>{const t=c.set("font",e);s(t)}),[c,s]),g=T.useCallback((e=>{const t=c.set("text",{format:"plain",value:e});s(t)}),[c,s]),v=T.useCallback((()=>{const e=c.set("text",{format:"plain",value:""});s(e)}),[c,s]),y=F()(nS().fontFamilyWrapper,"PSPDFKit-Electronic-Signatures-Font-Family-Wrapper"),b=l.find((e=>e.color&&e.color.equals(c.fontColor)));return T.createElement("div",{className:nS().wrapper},T.createElement("div",{className:nS().typingUiContainer,style:p},T.createElement("div",{className:nS().colorPickerContainer},T.createElement(sp,{colorPresets:l,activeColor:c.fontColor,onClick:h,className:F()(kr().colorPicker,"PSPDFKit-Electronic-Signatures-Color-Picker")})),T.createElement("style",null,`\n .PSPDFKit-Electronic-Signatures-Text-Input::placeholder {\n color: rgb(${null==b||null===(t=b.color)||void 0===t?void 0:t.r}, ${null==b||null===(n=b.color)||void 0===n?void 0:n.g}, ${null==b||null===(o=b.color)||void 0===o?void 0:o.b});\n }\n `),T.createElement("div",{className:nS().inputContainer},T.createElement(Nd,{accessibilityLabel:r(rS.ElectronicSignatures_SignHereTypeHint),placeholder:r(rS.signature),autoFocus:!0,value:c.text.value,onUpdate:g,styles:{input:F()(nS().input,"PSPDFKit-Electronic-Signatures-Text-Input",{[nS().opaque]:!c.text})},textStyles:{color:c.fontColor.toCSSValue(),fontFamily:(0,vt.hm)(c.font),fontSize:f}}),T.createElement("div",{className:nS().actionContainer},c.text?T.createElement(ue.zx,{onClick:v,inverted:!0,className:F()(kr().button,nS().deleteSignature,"PSPDFKit-Electronic-Signatures-Clear-Signature-Button")},r(Ke.Z.clearSignature)):T.createElement("div",{className:F()(kr().signHere,nS().signHere,"PSPDFKit-Electronic-Signatures-Sign-Here-Label")},r(rS.ElectronicSignatures_SignHereTypeHint))))),d.size>1?T.createElement("div",{className:F()(nS().fontFamiliesPickerContainer,"PSPDFKit-Electronic-Signatures-Font-Families-Container")},d.map(((e,t)=>{const n=e===c.font;return(0,a.kG)((0,$.HD)(e)&&(0,$.HD)(t)),T.createElement("div",{onClick:()=>{m(e)},className:y,key:e},T.createElement("input",{type:"radio",checked:n,value:t,id:e,name:e,onChange:t=>{t.target.checked&&m(e)},className:F()(nS().fontFamilyRadio,"PSPDFKit-Electronic-Signatures-Font-Family-Radio-Input")}),T.createElement("label",{"aria-label":e,htmlFor:e,style:{color:c.fontColor.toCSSValue(),fontFamily:`${(0,vt.hm)(e)}, cursive`},className:F()(nS().fontLabel,"PSPDFKit-Electronic-Signatures-Font-Family-Label")},c.text.value||r(rS.signature)))}))):null)}const rS=(0,Re.vU)({signature:{id:"signature",defaultMessage:"Signature",description:"Placeholder for the signature"},ElectronicSignatures_SignHereTypeHint:{id:"ElectronicSignatures_SignHereTypeHint",defaultMessage:"Type Your Signature Above",description:"Indicates where the signature will be"}});function iS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function aS(e){for(var t=1;te.name)),[d,p]=T.useState(0),[f,h]=T.useState(null),[m,g]=T.useState(!0),[v,y]=T.useState(null),[b,w]=T.useState(!1),[S,E]=T.useState(new s.gd(aS(aS({},n),{},{font:u.first(),fontSize:16,text:{format:"plain",value:""},fontColor:e.colorPresets[0].color}))),[P,x]=T.useState(new tb.Z(aS(aS({},n),{},{isSignature:!0,strokeColor:e.colorPresets[0].color}))),D=T.useRef(null),C=T.useCallback((e=>{E(e)}),[E]),k=T.useCallback((e=>{x(e)}),[x]),A=T.useCallback((async function(){if(0===d&&P){const e=fa(P,P.boundingBox.getLocation().scale(-1),c,new B.E9);o(e,m,!1)}else if(1===d&&v)o(v,m,!1);else if(2===d&&S&&S.fontColor){const e=await(0,He.Y)(S.text.value,S,a);l((0,Qt.gX)({fontColor:S.fontColor,font:S.font})),o(e,m,!1)}}),[d,v,P,S,o,m,a,c,l]);let O=!0;const I=i.toArray()[d];I!==eS.M.DRAW||P.lines.isEmpty()?(I===eS.M.IMAGE&&v&&b||I===eS.M.TYPE&&S.text.value)&&(O=!1):O=!1;const M=i.map((o=>{switch(o){case eS.M.DRAW:return{tab:T.createElement(Rw,{className:F()(Kw().tab,"PSPDFKit-Electronic-Signatures-Tab PSPDFKit-Electronic-Signatures-Tab-Draw"),key:"draw"},t(cS.draw)),tabPanel:T.createElement(jw,{key:"draw",className:"PSPDFKit-Electronic-Signatures-Tab-Panel PSPDFKit-Electronic-Signatures-Tab-Panel-Draw"},T.createElement(Ww,{preset:n,colors:e.colorPresets,onChange:k,signature:P,canvasSize:c}))};case eS.M.IMAGE:return{tab:T.createElement(Rw,{className:F()(Kw().tab,"PSPDFKit-Electronic-Signatures-Tab PSPDFKit-Electronic-Signatures-Tab-Image"),key:"image"},t(cS.image)),tabPanel:T.createElement(jw,{key:"image",className:"PSPDFKit-Electronic-Signatures-Tab-Panel PSPDFKit-Electronic-Signatures-Tab-Panel-Image"},T.createElement(Jw,{image:v,onImageSelected:y,onRenderFinished:()=>w(!0)}))};case eS.M.TYPE:return{tab:T.createElement(Rw,{className:F()(Kw().tab,"PSPDFKit-Electronic-Signatures-Tab PSPDFKit-Electronic-Signatures-Tab-Type"),key:"type"},t(cS.type)),tabPanel:T.createElement(jw,{key:"type",className:"PSPDFKit-Electronic-Signatures-Tab-Panel PSPDFKit-Electronic-Signatures-Tab-Panel-Type"},T.createElement(oS,{signingFonts:r,onChange:C,frameWindow:e.frameWindow,colors:e.colorPresets,signature:S,preset:n}))};default:return}}));return T.useLayoutEffect((()=>{if(D.current){const e=D.current.querySelectorAll('li[role="tab"]');h(Array.from(e).map((e=>e.getBoundingClientRect().width)))}}),[h]),T.createElement(Aw,{onSelect:e=>{p(e)},className:F()(Kw().tabsContainer,"PSPDFKit-Electronic-Signatures-Tabs-Container"),defaultFocus:!0,environment:e.frameWindow,domRef:e=>D.current=e},T.createElement(Iw,{className:F()(Kw().tabsList,{[Kw().singleTab]:1===M.size},"PSPDFKit-Electronic-Signatures-Tabs-List")},T.createElement("div",{className:Kw().activeTabIndicator,style:{left:(f?f.filter(((e,t)=>te+t+13),0):0)+32,width:f?f[d]:0}}),M.map((e=>e&&e.tab))),T.createElement("div",{className:Kw().contentArea},M.map((e=>e&&e.tabPanel))),T.createElement("div",{className:Kw().footer},e.hasSignaturesCreationListener&&T.createElement("label",{className:F()(Kw().checkbox,"PSPDFKit-Electronic-Signatures-Store-Signature-Checkbox")},T.createElement("input",{type:"checkbox",name:"store",checked:m,onChange:e=>{g(e.target.checked)}}),T.createElement("span",{className:Kw().checkboxLabel},t(cS.saveSignature))),T.createElement(ue.hE,{className:Kw().group,align:"end",style:e.hasSignaturesCreationListener?void 0:{width:"100%"}},T.createElement(ue.zx,{onClick:e.onCancel,className:F()(Kw().button,"PSPDFKit-Electronic-Signatures-Cancel-Button")},t(Ke.Z.cancel)),T.createElement(ue.zx,{primary:!0,disabled:O,onClick:A,className:F()(Kw().button,"PSPDFKit-Electronic-Signatures-Done-Button")},t(Ke.Z.done)))))}const cS=(0,Re.vU)({saveSignature:{id:"saveSignature",defaultMessage:"Save Signature",description:"Save the signature that is in creation"},draw:{id:"draw",defaultMessage:"Draw",description:"Draw tab"},image:{id:"image",defaultMessage:"Image",description:"Image tab"},type:{id:"type",defaultMessage:"Type",description:"Type tab"}});var uS=n(44295),dS=n.n(uS);function pS(e){const{formatMessage:t}=(0,Re.YB)(),{storedSignatures:n,onCreate:o,onDelete:r,dispatch:i}=e,[a,s]=T.useState(!1),l=!a&&Boolean(n&&n.size>0);return T.useEffect((()=>{e.frameWindow.document.fonts&&(0,mp.GE)(e.signingFonts,e.frameWindow.document.fonts)}),[e.signingFonts,e.frameWindow.document.fonts]),l&&n?T.createElement(T.Fragment,null,T.createElement("div",{className:dS().header},T.createElement("div",{className:F()(dS().legend,"PSPDFKit-Electronic-Signatures-Signature-Heading"),role:"heading","aria-level":"1"},t(Ke.Z.signatures)),T.createElement(ue.zx,{className:F()(dS().addButton,"PSPDFKit-Electronic-Signatures-Add-Signature-Button"),onClick:()=>{s(!0)},inverted:!0},t(Ke.Z.addSignature))),T.createElement("div",{className:dS().signaturePickerContainer},T.createElement(mb,{signatures:n,onSelect:e=>{o(e,!1,!1)},onDelete:e=>{r(e,!1)},backend:e.backend,attachments:e.attachments,viewportWidth:e.viewportWidth,showDeleteBtn:e.hasSignaturesDeletionListener})),T.createElement("div",{className:dS().footer},T.createElement(ue.hE,{className:dS().group,align:"end"},T.createElement(ue.zx,{onClick:e.onCancel,className:F()(dS().button,"PSPDFKit-Signature-Dialog-Cancel-Button")},t(Ke.Z.cancel))))):T.createElement(T.Fragment,null,T.createElement("p",{className:dS().legend},t(Ke.Z.addSignature)),T.createElement(lS,{preset:e.preset,frameWindow:e.frameWindow,colorPresets:e.colorPresets,onCreate:e.onCreate,onCancel:e.onCancel,hasSignaturesCreationListener:e.hasSignaturesCreationListener,signingFonts:e.signingFonts,creationModes:e.creationModes,dispatch:i}))}var fS=n(72952),hS=n.n(fS),mS=n(84747),gS=n(23477),vS=n(6733),yS=n.n(vS);function bS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function wS(e){for(var t=1;tn.e(5747).then(n.bind(n,12711)))),PS=T.createElement("div",{className:yS().fallback,"data-testid":"fallback"},T.createElement("div",{className:yS().fallbackToolbar}),T.createElement("div",{className:yS().fallbackPagesView},T.createElement(Xe.Z,{scale:2})),T.createElement("div",{className:yS().fallbackToolbar})),xS={documentEditor:{id:"documentEditor",defaultMessage:"Document Editor",description:"Document Editor"},documentEditorDesc:{id:"documentEditorDesc",defaultMessage:"Make changes to the current document",description:"Description of the Document Editor modal"}},DS=e=>{const{formatMessage:t}=(0,Re.YB)(),[n,o]=T.useState(!0),r=T.useCallback((e=>{o(!e)}),[]),i=T.useCallback((()=>{n&&e.onCancel()}),[n,e]);return T.createElement(yf.Z,{onEscape:i,useBorderRadius:!1,className:yS().modal,accessibilityLabel:t(xS.documentEditor),accessibilityDescription:t(xS.documentEditorDesc)},T.createElement(T.Suspense,{fallback:PS},T.createElement(ES,{onCancel:e.onCancel,scale:e.scale,CSS_HACK:SS,onDialog:r})))};function CS(){const[e,t]=T.useState(null);T.useEffect((()=>{null==e||e.focus()}),[e]),(0,fi.Bo)(e,null);const n=F()(uv().container,"PSPDFKit-Sidebar-Custom");return T.createElement("div",{role:"region",tabIndex:-1,ref:t,className:n})}var kS,AS=n(74792),OS=n(47825);function TS(e){const{formatMessage:t}=(0,Re.YB)();return T.createElement("form",{onSubmit:e.onSave,className:F()(lv().editor,"PSPDFKit-Sidebar-Bookmarks-Editor"),onKeyUp:t=>{t.which===Sr.zz&&e.onCancel()}},e.title&&T.createElement("h2",{className:F()(lv().heading,"PSPDFKit-Sidebar-Bookmarks-Heading")},e.title),T.createElement("label",null,T.createElement(ue.oi,{value:e.value,onChange:e.onChange,autoFocus:!0,selectTextOnFocus:!0,name:"name",placeholder:t(Ke.Z.name),autoComplete:"off",style:{fontSize:"inherit",fontWeight:"normal",padding:"calc(0.8125em/ 2) 0.8125em"}})),T.createElement("div",{className:F()(lv().buttonContainer,"PSPDFKit-Sidebar-Bookmarks-Button-Container")},e.onDelete&&T.createElement(ue.zx,{onClick:e.onDelete,inverted:!0,danger:!0,className:"PSPDFKit-Sidebar-Bookmarks-Button-Delete",style:{marginRight:"5em"}},t(Ke.Z.delete)),T.createElement("div",null,T.createElement(ue.zx,{onClick:e.onCancel,className:"PSPDFKit-Sidebar-Bookmarks-Button-Cancel",style:{marginRight:"0.5em"}},t(Ke.Z.cancel)),T.createElement(ue.zx,{primary:!0,type:"submit",className:"PSPDFKit-Sidebar-Bookmarks-Button-Save"},t(Ke.Z.save)))))}function IS(e){var t;const{bookmarks:o,pages:r,currentPageIndex:a,bookmarkManager:s}=e,[l,c]=T.useState(null);T.useEffect((()=>{null==l||l.focus()}),[l]);const[u,d]=T.useState(null),[p,f]=T.useState(null),[h,m]=T.useState(!1),[g,v]=T.useState(null),y=(0,A.I0)(),b=T.useRef(),w=T.useRef(null),S=T.useRef(!1),[E,P]=T.useState(new Set),{formatMessage:x}=(0,Re.YB)(),D=(0,fi.R9)((()=>{d(null),f(null),m(!1)})),C=(0,fi.R9)((e=>{f(e.currentTarget.value)})),k=(0,fi.R9)((()=>{u&&u.id&&(S.current=!0),D(),v(x(_S.cancelledEditingBookmark))})),O=(0,fi.R9)((e=>{if(e.persist(),e.preventDefault(),u&&p!==u.name){let e=u.set("name",p).setIn(["action","pageIndex"],a);e.id?s.updateObject(e):(e=e.set("id",(0,OS.A)()),w.current=e.id,s.createObject(e)),s.autoSave(),v(x(_S.bookmarkEdited))}else v(x(_S.bookmarkCreated));D()})),I=(0,fi.R9)((()=>{u&&(s.deleteObject(u),s.autoSave()),D(),v(x(_S.bookmarkDeleted))})),M=(0,fi.R9)((()=>{m(!1)})),_=(0,fi.R9)((()=>{m(!0)})),R=(0,fi.R9)((e=>{d(e),f(e.name||"")})),N=(0,fi.R9)((()=>{d(new j.rp({action:new j.Di({pageIndex:e.currentPageIndex})})),f("")}));T.useEffect((()=>{null!=l&&l.hasAttribute("aria-label")&&l.focus()}),[l]);const L=(0,fi.jC)(e);T.useEffect((()=>{if(b.current&&null!=L&&L.bookmarks&&o&&(L.bookmarks!==o||S.current)){var e;const t=null!==(e=MS(o).findIndex((e=>e.id===w.current)))&&void 0!==e?e:-1;t>-1&&b.current.setActiveItem(t),S.current=!1}}));const B=o?(0,i.aV)(MS(o)):o,z=(0,fi.Bo)(l,B),K={className:F()(lv().container,!B&&lv().loading+" PSPDFKit-Sidebar-Loading",B&&0===B.size&&" PSPDFKit-Sidebar-Empty","PSPDFKit-Sidebar-Bookmarks"),ref:c,style:{width:e.width},role:"region","aria-label":x(Ke.Z.bookmarks)},Z=(0,fi.mP)(z,(e=>e.id),(e=>null==B?void 0:B.find((t=>t.id===e))));if(!B)return T.createElement("div",(0,De.Z)({},K,{tabIndex:0}),T.createElement(ue.TX,{"aria-live":"polite"},x(_S.loadingBookmarks)),kS||(kS=T.createElement(Xe.Z,null)));const U=r.get(a),V=U&&U.get("pageLabel");return T.createElement("div",K,T.createElement(ue.TX,{"aria-live":"polite"},x(Ke.Z.bookmarks)),u&&!u.id?T.createElement(TS,{onChange:C,onSave:O,onCancel:k,value:p,title:x(Ke.Z.pageX,{arg0:V||e.currentPageIndex+1})+": "+x(_S.newBookmark)}):T.createElement("div",{style:{width:"100%"}},T.createElement("div",{className:uv().sidebarHeader},T.createElement("h2",{"aria-hidden":"true",className:F()(lv().heading,"PSPDFKit-Sidebar-Bookmarks-Heading")}," ",T.createElement("span",null,x(Ke.Z.bookmarks))),T.createElement(ue.zx,{primary:!0,onClick:N,className:F()("PSPDFKit-Sidebar-Bookmarks-Button-Add"),autoFocus:!0},x(_S.newBookmark)))),B&&B.size>0&&T.createElement(ue.HJ,{onActiveItemIndexChange:e=>{const t=B.get(e);t&&t.id&&(w.current=t.id)},ref:b,items:B.toArray().map(((o,i)=>{const s=o.action,l=s.pageIndex===a,c=F()({[lv().layout]:!0,[lv().layoutWidth]:!0,[lv().layoutEditing]:o===u,[lv().layoutNarrow]:e.closeOnPress,[lv().selected]:l,"PSPDFKit-Sidebar-Bookmarks-Bookmark":!0,"PSPDFKit-Sidebar-Bookmarks-Bookmark-Selected":l,"PSPDFKit-Sidebar-Bookmarks-Bookmark-Editing":o===u}),d=F()([lv().name],{[lv().nameEllipsis]:!E.has(i)},"PSPDFKit-Sidebar-Bookmarks-Name"),f=r.get(s.pageIndex),h=f&&f.pageLabel,m=o.action instanceof j.Di?x(Ke.Z.pageX,{arg0:h||s.pageIndex+1}):null,g=o.action instanceof j.Di?h||s.pageIndex+1:null,v=m||x(Ke.Z.bookmark),b=T.createElement(T.Fragment,null,T.createElement("div",{onClick:()=>(e=>{P((t=>(t.has(e)?t.delete(e):t.add(e),new Set(t))))})(i),className:d},o.name||x(Ke.Z.bookmark)),!!g&&T.createElement("span",{className:F()(lv().pageNumber)},g));o.name;const w=Z?e=>{Z(e,o)}:void 0;return T.createElement("div",{key:"bookmark-item-"+o.id,ref:w,className:F()(lv().wrapper,lv().container)},o===u?t||(t=T.createElement(TS,{onChange:C,onSave:O,onCancel:k,onDelete:_,value:p})):T.createElement("div",{className:F()(lv().wrapper,lv().fullWidth)},T.createElement("div",{className:c,"aria-label":v,onClick:t=>{t.preventDefault(),y((0,$r.aG)(o.action)),e.closeOnPress&&y((0,En.mu)())}},T.createElement("button",{type:"button",className:lv().layoutSmallWidth,"aria-label":o.action instanceof j.Di?x(Ke.Z.gotoPageX,{arg0:h||o.action.pageIndex+1}):o.name||void 0},T.createElement("span",{className:lv().wrapper},b)),T.createElement("button",{title:v+": "+x(Ke.Z.edit),className:F()(lv().edit,e.closeOnPress&&lv().editVisible,"PSPDFKit-Sidebar-Bookmarks-Button-Edit"),onClick:e=>{e.stopPropagation(),R(o)}},T.createElement(Ye.Z,{src:n(56735),role:"presentation"})))))}))}),T.createElement(ue.TX,{announce:"polite"},g),B&&B.size>0&&h&&T.createElement($u.Z,{onCancel:M,onConfirm:I,accessibilityLabel:x(_S.deleteBookmarkConfirmAccessibilityLabel),accessibilityDescription:x(_S.deleteBookmarkConfirmAccessibilityDescription)},x(_S.deleteBookmarkConfirmMessage)))}const FS=(0,AS.createSubscription)({getCurrentValue:()=>{},subscribe:(e,t)=>{let n=function(){};const o=()=>{const n=e.getBookmarks();return n.then(t),n};return o().then((()=>{e.eventEmitter.on("change",o),n=()=>{e.eventEmitter.off("change",o)}})),()=>n()}}),MS=(0,jo.Z)((e=>e.valueSeq().toArray().sort(((e,t)=>{const n=e.action.pageIndex,o=t.action.pageIndex,r=!isNaN(n),i=!isNaN(o);return r&&i?n===o?0:n2&&void 0!==arguments[2]?arguments[2]:{};return(t,l)=>{var c,d;null===o&&(o=l().viewportState.currentPageIndex),(0,a.kG)("number"==typeof o,"Page index for a signature should be a number.");const p=l().pages.get(o);(0,a.kG)(p,`Cannot find page at index ${o}`);const f=p.pageSize;let h,m=e.withMutations((e=>{const t=(0,J.lx)(l());Object.keys(t).forEach((n=>{e.set(n,t[n])})),e.set("pageIndex",o),e.set("isSignature",!0)}));if(n){m=m.set("boundingBox",m.boundingBox.set("top",0).set("left",0)),m=_t(m,new RS.Z({width:n.width,height:n.height}),!0);const{boundingBox:e}=m,t=n.left+(n.width-e.width)/2,o=n.top+(n.height-e.height)/2;h=new Mi.Z({x:t,y:o})}else if(!m.boundingBox.top&&!m.boundingBox.left){const{boundingBox:e}=m;h=new Mi.Z({x:f.width/2-e.width/2,y:f.height/2-e.height/2})}h&&(m=fa(m,h,f,new Mi.Z));const g={annotations:(0,i.aV)([m]),reason:u.f.SELECT_END};l().eventEmitter.emit("annotations.willChange",g),t({type:te.mGH,signature:m}),null===(c=l().annotationManager)||void 0===c||c.createObject(m,{attachments:r&&s?(0,i.D5)([[r,s]]):(0,i.D5)()}),null===(d=l().annotationManager)||void 0===d||d.autoSave()}}function LS(e,t){return(n,o)=>{const r=e.merge({id:null,name:null,pageIndex:0});t&&n({type:te.W0l,annotation:r}),o().eventEmitter.emit("inkSignatures.create",r),o().eventEmitter.emit("inkSignatures.change"),o().eventEmitter.emit("storedSignatures.create",r),o().eventEmitter.emit("storedSignatures.change")}}function BS(e){return{type:te.Kw7,annotations:e}}function jS(){return async(e,t)=>{const{populateStoredSignatures:n}=t().signatureState;e(BS(await n()))}}var zS=n(78869),KS=n.n(zS);const ZS=(0,Re.XN)((e=>{let{position:t,onCropApply:o,onCropCancel:r,isCropAreaSelected:i,frameWindow:a,intl:{formatMessage:s}}=e;return T.useEffect((()=>{function e(e){"Enter"===e.key?i&&o(!1):"Escape"===e.key&&r()}return a.document.addEventListener("keydown",e),()=>{a.document.removeEventListener("keydown",e)}}),[i]),T.createElement("div",{className:F()("PSPDFKit-Annotation-Toolbar","PSPDFKit-Document-Crop-Toolbar",Bd().root,KS().container,{[Bd().stickToBottom]:"bottom"===t}),onMouseUp:US,onTouchEnd:US,onPointerUp:US},T.createElement("div",{className:KS().buttonContainer},T.createElement("div",{role:"button",className:F()(KS().cropButton,{[KS().cropButtonDisabled]:!i}),onClick:i?()=>o(!1):void 0,title:s(Ke.Z.cropCurrentPage),"aria-disabled":!i},T.createElement(Ye.Z,{src:n(8571)})," ",T.createElement("span",{className:KS().desktopButtonText},s(Ke.Z.cropCurrentPage)),T.createElement("span",{className:KS().mobileButtonText},s(Ke.Z.cropCurrent))),T.createElement("div",{role:"button",className:F()(KS().cropButton,{[KS().cropButtonDisabled]:!i}),onClick:i?()=>o(!0):void 0,title:s(Ke.Z.cropAllPages),"aria-disabled":!i},T.createElement(Ye.Z,{src:n(80525)}),T.createElement("span",{className:KS().desktopButtonText},s(Ke.Z.cropAllPages)),T.createElement("span",{className:KS().mobileButtonText},s(Ke.Z.cropAll)))),T.createElement("div",{role:"button",className:`${KS().cancelButton} ${KS().cancelDesktop}`,onClick:()=>r(),title:s(Ke.Z.cancel)},T.createElement("span",null,s(Ke.Z.cancel))),T.createElement("div",{role:"button",className:`${KS().cropButton} ${KS().cancelMobile}`,onClick:()=>r(),title:s(Ke.Z.cancel)},T.createElement(Ye.Z,{src:n(58054)})))}));function US(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}var VS=n(32801);const GS=sc.AK,WS=e=>{var t,o,r,a;const s=(0,Re.YB)(),{formatMessage:l}=s,c=(0,A.I0)(),{frameWindow:u,position:d,viewportWidth:p,creationMode:f}=e,h=(0,A.v9)(Gl.YG),{handleGroupExpansion:m,handleEntered:g,expandedGroup:v,prevActiveGroup:y,btnFocusRef:b}=(0,fi.Tp)(),w=(0,A.v9)(Gl.lK),S=(0,A.v9)((e=>e.contentEditorSession.textBlockInteractionState.state)),E=(0,A.v9)((e=>e.contentEditorSession.dirty)),P=null===w||S!==Gl.FP.Active;T.useEffect((()=>{h.faceList||h.loading||c(Su.O2)}),[h.faceList,h.loading,c]);const x=h.faceList||[new Gl.I5({family:""})],D=(0,A.v9)((e=>e.customFontsReadableNames))||(0,i.l4)(),C=[...x.concat(D.toArray().map((e=>new Gl.I5({family:e}))).filter((e=>!x.some((t=>t.family===e.family))))).map((e=>({label:e.family,value:e.family})))],k=T.useCallback((e=>{let{modification:t,preventFocusShift:n=!1}=e;const[[o,r]]=Object.entries(t);switch(o){case"fontSize":c((0,Su.Mq)({size:r})),n||gh.dispatch("content-editing:re-focus",null);break;case"font":c((0,Su.Mq)({family:r})),n||gh.dispatch("content-editing:re-focus",null);break;case"bold":c((0,Su.Mq)({bold:r})),n||gh.dispatch("content-editing:re-focus",null);break;case"italic":c((0,Su.Mq)({italic:r})),n||gh.dispatch("content-editing:re-focus",null)}}),[c]),O=T.useCallback((()=>c((0,Su.u)(f?Gl.wR.Edit:Gl.wR.Create))),[c,f]),I=T.useCallback((()=>{c((0,Su.u)(Gl.wR.Delete))}),[c]),M=w?(e=>{if(e.detectedStyle.selectionStyleInfo){const{family:t,bold:n,italic:o,color:r,size:i}=e.detectedStyle.selectionStyleInfo;return{family:t,bold:n,italic:o,color:r?j.Il.fromHex(r):null,size:i}}const{family:t,variant:{bold:n,italic:o}}=e.modificationsCharacterStyle.fontRef.faceRef,{color:r,fontRef:{size:i}}=e.modificationsCharacterStyle;return{family:t,bold:n,italic:o,color:j.Il.fromHex(r),size:i}})(w):null,_=null!==(t=null==M?void 0:M.family)&&void 0!==t?t:void 0,R=null!==(o=null==M?void 0:M.size)&&void 0!==o?o:void 0,N=null==M?void 0:M.bold,L=null==M?void 0:M.italic;let B=null;if(null!=(null==M?void 0:M.color)){var z;const e=M.color;B=null!==(z=mt.Ei.COLOR_PRESETS.find((t=>{var n;return null===(n=t.color)||void 0===n?void 0:n.equals(e)})))&&void 0!==z?z:{color:e,localization:Ke.Z.color}}const K=Boolean((null==w?void 0:w.detectedStyle.selectionStyleInfo)&&null==B),Z={"text-color":{node:T.createElement(VS.Z,{onChange:e=>{var t;e&&c((0,Su.Mq)({color:null===(t=e.color)||void 0===t?void 0:t.toHex()}));gh.dispatch("content-editing:re-focus",null)},styles:Tp(),value:null!==(r=B)&&void 0!==r?r:K?null:null!==(a=mt.Ei.COLOR_PRESETS.find((e=>e.color===j.Il.BLACK)))&&void 0!==a?a:null,caretDirection:"down",className:"PSPDFKit-Content-Editing-Toolbar-Font-Color",menuClassName:"PSPDFKit-Content-Editing-Toolbar-Font-Color-Menu",removeTransparent:!0,frameWindow:u,colors:mt.Ei.COLOR_PRESETS,innerRef:(0,Hd.CN)("text-color",v)?b:void 0,unavailableItemFallback:K?{type:"label",label:""}:{type:"swatch"},disabled:P,accessibilityLabel:l(Ke.Z.color)}),title:l(Ke.Z.color)},font:{node:T.createElement(Dp,{onChange:k,caretDirection:"down",frameWindow:u,intl:s,styles:Tp(),fontSizes:GS,fontFamilyItems:C,showAlignmentOptions:!1,showFontStyleOptions:!0,currentFontFamily:_,currentFontSize:R,isBold:N,isItalic:L,fontFamilyClasses:"PSPDFKit-Content-Editing-Toolbar-Font-Family",fontFamilyMenuClasses:"PSPDFKit-Content-Editing-Toolbar-Font-Family-Menu",fontSizeClasses:"PSPDFKit-Content-Editing-Toolbar-Font-Size",fontSizeMenuClasses:"PSPDFKit-Content-Editing-Toolbar-Font-Size-Menu",horizontalAlignClasses:"PSPDFKit-Content-Editing-Toolbar-Alignment",verticalAlignClasses:"PSPDFKit-Content-Editing-Toolbar-Vertical-Alignment",disabled:P,ref:(0,Hd.CN)("font",v)?b:void 0}),title:l(Ke.Z.font)}};return T.createElement("div",{className:F()("PSPDFKit-Content-Editing-Toolbar",Tp().root,{[Tp().stickToBottom]:"bottom"===d})},T.createElement("div",{className:Tp().content},v?T.createElement("div",{className:Tp().right},T.createElement(Zd.B,{position:d,onClose:()=>m(null),isPrimary:!1,onEntered:g,intl:s,className:Tp().expanded},v?Z[v].node:void 0)):T.createElement("form",{className:Tp().form,onSubmit:jr.PF},T.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"}},T.createElement("div",{className:F()(Tp().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Add-Text")},T.createElement(Id.Z,{type:"add-text-box",icon:n(92982),title:l(qS.addTextBox),className:F()("PSPDFKit-Content-Editing-Toolbar-Add-Text-Box",Tp().iconButton,{[Tp().iconButtonActive]:f}),onPress:O,selected:f})),T.createElement("div",{className:F()(Tp().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-TextColor")},T.createElement(Id.Z,{type:"text-color",title:Z["text-color"].title,className:Tp().button,onPress:()=>m("text-color"),disabled:Boolean(v)||P,presentational:p>Je.GI,ref:(0,Hd.Kt)("text-color",v,y)?b:void 0}),Z["text-color"].node),T.createElement("div",{className:F()(Tp().formGroup,"PSPDFKit-Toolbox PSPDFKit-Toolbox-Font")},T.createElement(Id.Z,{type:"font",title:Z.font.title,className:Tp().button,onPress:()=>m("font"),disabled:P,presentational:p>Je.GI,ref:(0,Hd.Kt)("font",v,y)?b:void 0}),Z.font.node)),T.createElement("div",{className:"PSPDFKit-Toolbar-Spacer",style:{display:"flex",flex:1}}),p>=Je.GI?T.createElement("div",{className:Tp().buttonContainer},T.createElement(Id.Z,{type:"delete",title:s.formatMessage(Ke.Z.delete),className:F()("PSPDFKit-Content-Editor-Toolbar-Button-Delete",Tp().iconButton),onPress:I,disabled:!w}),T.createElement("button",{className:Tp().contentEditorButton,type:"button",onClick:()=>c(Su.u8),title:s.formatMessage(Ke.Z.cancel)},T.createElement("span",null,s.formatMessage(Ke.Z.cancel))),T.createElement("button",{className:F()(Tp().contentEditorButton,Tp().saveButton,{[Tp().disabledButton]:!E}),type:"button",onClick:()=>c(Su.Ij),title:s.formatMessage(Ke.Z.saveAndClose),disabled:!E},T.createElement("span",null,s.formatMessage(Ke.Z.saveAndClose)))):T.createElement(T.Fragment,null,T.createElement(Id.Z,{type:"delete",title:s.formatMessage(Ke.Z.delete),className:F()("PSPDFKit-Content-Editor-Toolbar-Button-Delete",Tp().iconButton),onPress:I,disabled:!w}),T.createElement(Id.Z,{type:"close",title:s.formatMessage(Ke.Z.close),className:Tp().button,onPress:()=>{c(E?(0,Su.Yg)(!0):Su.u8)}})))))},qS=(0,Re.vU)({addTextBox:{id:"addTextBox",defaultMessage:"Add Text Box",description:"Label for the add text box button"}});var HS,$S,YS,XS=n(51559),JS=n(2270),QS=n(99728),eE=n(55024),tE=n(4888),nE=n.n(tE);function oE(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}const rE={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},iE=(0,tt.b1)(),aE=T.memo((function(e){let{position:t}=e;const{formatMessage:n}=(0,Re.YB)(),[o,r]=(0,fi.$)(),[i,a]=(0,fi.nG)(),s=(0,fi.R9)((()=>{(0,O.unstable_batchedUpdates)((()=>{a([]),u===eE.Q.result&&d(eE.Q.documentA)}))})),[l,c]=(0,fi.jw)(),u=(0,XS.SH)(l),d=(0,fi.R9)((e=>{e!==u&&c(e||eE.Q.result)})),p=()=>{(0,O.unstable_batchedUpdates)((()=>{a([]),r(!1),d(eE.Q.documentA)}))},[,f]=(0,fi.dX)(),h=(0,fi.R9)((()=>{s(),d(eE.Q.documentA),f(!1)}));return T.createElement("div",{className:F()(nE().root,{"PSPDFKit-DocumentComparison-Toolbar":!0,[nE().stickToBottom]:"bottom"===t}),onMouseUp:oE,onTouchEnd:oE,onPointerUp:oE},T.createElement("div",{className:nE().content},T.createElement("div",{className:nE().left},T.createElement("form",{className:nE().form,onSubmit:jr.PF},T.createElement("div",{className:nE().tabsContainer},T.createElement("div",{className:F()(nE().documentTab,{[nE().documentTabActive]:u===eE.Q.documentA,[nE().autoCompareTab]:o,[nE().mobileTab]:iE}),onPointerUp:()=>d(eE.Q.documentA),onTouchEnd:()=>d(eE.Q.documentA)},T.createElement("span",{className:F()(nE().documentText,{[nE().mobileText]:!!iE,[nE().documentTabActiveText]:u===eE.Q.documentA})},n(iE?QS.messages.Comparison_documentOldTouch:QS.messages.Comparison_documentOld)),!o&&i.length<3&&T.createElement(sE,{referencePoints:i,startIndex:0,styles:nE(),touchDevice:iE}),!o&&i.length>=3&&T.createElement("span",{className:F()([nE().toolbarReferencePoints,nE().toolbarReferencePointsSet])},T.createElement("div",{className:nE().toolbarReferencePoint},T.createElement("svg",(0,De.Z)({},rE,{className:nE().documentCheckMark}),HS||(HS=T.createElement("circle",{cx:"10",cy:"10",r:"10"})),cE)))),T.createElement("div",{className:F()(nE().documentTab,{[nE().documentTabActive]:u===eE.Q.documentB,[nE().autoCompareTab]:o,[nE().mobileTab]:iE}),onPointerUp:()=>d(eE.Q.documentB),onTouchEnd:()=>d(eE.Q.documentB)},T.createElement("span",{className:F()(nE().documentText,{[nE().mobileText]:!!iE,[nE().documentTabActiveText]:u===eE.Q.documentB})},n(iE?QS.messages.Comparison_documentNewTouch:QS.messages.Comparison_documentNew)),!o&&i.length<6&&T.createElement(sE,{referencePoints:i,startIndex:3,styles:nE(),touchDevice:iE}),!o&&6===i.length&&T.createElement("span",{className:F()([nE().toolbarReferencePoints,nE().toolbarReferencePointsSet])},T.createElement("div",{className:nE().toolbarReferencePoint},T.createElement("svg",(0,De.Z)({},rE,{className:nE().documentCheckMark}),$S||($S=T.createElement("circle",{cx:"10",cy:"10",r:"10"})),cE)))),(o||6===i.length)&&T.createElement("div",{className:F()(nE().documentTab,nE().resultTab,{[nE().documentTabActive]:u===eE.Q.result,[nE().autoCompareTab]:o}),onPointerUp:()=>d(null),onTouchEnd:()=>d(null)},T.createElement("span",{className:F()(nE().documentText,{[nE().mobileText]:!!iE,[nE().documentTabActiveText]:u===eE.Q.result})},n(QS.messages.Comparison_result)))),T.createElement("div",{className:nE().controlButtonContainer},!o&&i.length>0&&T.createElement("div",{className:F()(nE().buttonReset,nE().buttonResetActive,{[nE().mobileButton]:iE}),onPointerUp:h,onTouchEnd:h},n(QS.messages.Comparison_resetButton)),o&&T.createElement("div",{className:F()({[nE().buttonAlignDocuments]:!0,[nE().mobileButton]:iE}),onPointerUp:p,onTouchEnd:p},n(iE?QS.messages.Comparison_alignButtonTouch:QS.messages.Comparison_alignButton)))))))}));const sE=e=>{const{styles:t,referencePoints:n,startIndex:o,touchDevice:r}=e,i=n.slice(o,o+3),a=Array.from({length:3-i.length});return T.createElement("span",{className:F()(t.toolbarReferencePoints,{[t.toolbarReferencePointMobile]:!!r,[t.second]:3===o})},i.concat(a).map(((e,r,i)=>{const a=e?"set":0===r&&n.length===o||i[r-1]?"current":"empty";return T.createElement("div",{className:F()(t.referencePointParent,"PSPDFKit-DocumentComparison-ReferencePoint-State",`PSPDFKit-DocumentComparison-ReferencePoint-State-${(0,qn.kC)(a)}`),key:`point_${r+o}`},r>0?T.createElement("div",{className:t.separator}):null,T.createElement("div",{className:t.toolbarReferencePoint},T.createElement("svg",(0,De.Z)({},rE,{className:t[lE[a]]}),YS||(YS=T.createElement("circle",{cx:"10",cy:"10",r:"10"})),e?cE:T.createElement(uE,null,r+1))))})))},lE={set:"checkMark",current:"referencePointSet",empty:"referencePoint"},cE=T.createElement("path",{d:"M5.45508 10.1125L8.53758 12.94L14.5451 6.25",strokeWidth:"1.875",strokeMiterlimit:"10",strokeLinecap:"round"}),uE=e=>{let{children:t}=e;return T.createElement("text",{x:"10",y:"11",textAnchor:"middle",dominantBaseline:"middle",dy:""},t)};var dE=n(36401),pE=n.n(dE),fE=n(11521),hE=n.n(fE);const mE=[{interactionMode:x.A.BUTTON_WIDGET,icon:"fd-button",title:"Create Button Widget",className:"PSPDFKit-Form-Creator-Toolbar-ButtonWidget"},{interactionMode:x.A.TEXT_WIDGET,icon:"fd-text",title:"Create Text Widget",className:"PSPDFKit-Form-Creator-Toolbar-TextWidget"},{interactionMode:x.A.RADIO_BUTTON_WIDGET,icon:"fd-radio",title:"Create Radio Widget",className:"PSPDFKit-Form-Creator-Toolbar-RadioWidget"},{interactionMode:x.A.CHECKBOX_WIDGET,icon:"fd-checkbox",title:"Create Checkbox Widget",className:"PSPDFKit-Form-Creator-Toolbar-CheckboxWidget"},{interactionMode:x.A.COMBO_BOX_WIDGET,icon:"fd-combobox",title:"Create Combobox widget",className:"PSPDFKit-Form-Creator-Toolbar-ComboboxWidget"},{interactionMode:x.A.LIST_BOX_WIDGET,icon:"fd-listbox",title:"Create List Box Widget",className:"PSPDFKit-Form-Creator-Toolbar-ListBoxWidget"},{interactionMode:x.A.SIGNATURE_WIDGET,icon:"fd-signature",title:"Create Signature Widget",className:"PSPDFKit-Form-Creator-Toolbar-SignatureWidget"},{interactionMode:x.A.DATE_WIDGET,icon:"fd-date",title:"Create Date Widget",className:"PSPDFKit-Form-Creator-Toolbar-DateWidget"}];var gE=n(56966);const vE=e=>{let{position:t,dispatch:n,interactionMode:o,frameWindow:r,modalClosurePreventionError:i,selectedAnnotation:a}=e;return T.useEffect((()=>{function e(e){"Escape"!==e.key||i&&(null==i?void 0:i.error)===gE.x.FORM_DESIGNER_ERROR||a||n((0,En.XX)())}return r.document.addEventListener("keydown",e),()=>{r.document.removeEventListener("keydown",e)}}),[n,i,a]),T.createElement("div",{className:F()("PSPDFKit-Form-Creator-Toolbar",Bd().root,of().formDesignerContainer,{[Bd().stickToBottom]:"bottom"===t}),onMouseUp:US,onTouchEnd:US,onPointerUp:US},T.createElement("div",null,mE.map((e=>T.createElement(rf.Z,{key:e.interactionMode,type:e.icon,title:e.title,className:F()(of().formDesignerButton,{[of().formDesignerButtonActive]:o===e.interactionMode},e.className),onPress:()=>{o===e.interactionMode?n((0,Mo.el)()):(n((0,Mo.h4)()),n((0,En.UF)(e.interactionMode)))},selected:o===e.interactionMode})))),T.createElement("div",{className:of().spacer}))};var yE=n(40853),bE=n(28910),wE=n(22458),SE=n.n(wE);function EE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function PE(e){for(var t=1;t({label:e,value:e}))),h=f.concat(p.toArray().map((e=>({label:e,value:e}))).filter((e=>!f.some((t=>t.value===e.value)))));if(s.font&&!mp.vt.has(s.font||"")&&!p.some((e=>e===s.font))&&""!==s.font.trim()){const e=c.formatMessage(Ke.Z.fontFamilyUnsupported,{arg0:s.font});h.push({label:e,value:e,disabled:!0})}const m=["auto",4,6,8,10,12,14,18,24,36,48,64,72,96,144,192,200].map((e=>({value:e,label:e.toString()}))),g=T.useCallback((e=>l({horizontalAlign:e})),[l]),v=T.useCallback((e=>l({verticalAlign:e})),[l]);return T.createElement(bE.U,{title:c.formatMessage(AE.textStyle)},T.createElement("div",{className:SE().item},T.createElement(Ye.Z,{src:n(20626),className:SE().itemIcon,role:"presentation"}),T.createElement("div",{className:SE().itemLabel},c.formatMessage(Ke.Z.font)),T.createElement("div",{className:SE().nativeDropdown},T.createElement("select",{"aria-label":c.formatMessage(Ke.Z.font),className:"PSPDFKit-Input-Dropdown-Select",value:s.font||"",onChange:e=>{void 0!==e.target.value&&l({font:e.target.value})}},h.map((e=>T.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},e.label))))),T.createElement(rd.Z,{items:h,value:{label:null!==(t=s.font)&&void 0!==t?t:h[0].label,value:null!==(o=s.font)&&void 0!==o?o:h[0].value},accessibilityLabel:c.formatMessage(Ke.Z.font),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:SE().dropdownGroupComponent,menuClassName:SE().dropdownGroupMenu,ButtonComponent:xE,ItemComponent:DE,onSelect:(e,t)=>{void 0!==t.value&&l({font:t.value})},frameWindow:u})),T.createElement("div",{className:SE().item},T.createElement(Ye.Z,{src:n(89882),className:SE().itemIcon,role:"presentation"}),T.createElement("div",{className:SE().itemLabel},c.formatMessage(AE.fontSize)),T.createElement("div",{className:SE().nativeDropdown},T.createElement("select",{"aria-label":c.formatMessage(AE.fontSize),className:"PSPDFKit-Input-Dropdown-Select",value:s.fontSize||"",onChange:e=>{l({fontSize:"auto"===e.target.value?"auto":parseFloat(e.target.value)})}},m.map((e=>T.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},e.label))))),T.createElement(rd.Z,{items:m,value:(null!==(r=m.find((e=>e.value===Math.round(s.fontSize||0))))&&void 0!==r?r:null!=s.fontSize)?{value:s.fontSize,label:null!==(i=null===(a=s.fontSize)||void 0===a?void 0:a.toString())&&void 0!==i?i:""}:null,accessibilityLabel:c.formatMessage(AE.fontSize),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:SE().dropdownGroupComponent,menuClassName:SE().dropdownGroupMenu,ButtonComponent:xE,ItemComponent:DE,onSelect:(e,t)=>{null==t.value||"auto"!==t.value&&isNaN(t.value)||l({fontSize:t.value})},frameWindow:u})),T.createElement("div",{className:SE().item},T.createElement(Ye.Z,{src:n(59601),className:SE().itemIcon,role:"presentation"}),T.createElement("div",{className:SE().itemLabel},c.formatMessage(Ke.Z.color)),T.createElement(Fd.Z,{record:s,onChange:l,styles:PE(PE({},Bd()),{},{colorSvg:SE().colorSvg,colorItem:SE().colorItem,dropdownMenu:SE().colorDropdownMenu,controlWrapper:PE(PE({},Bd().controlWrapper),{},{width:"auto"})}),accessibilityLabel:c.formatMessage(Ke.Z.fillColor),caretDirection:"down",colorProperty:"fontColor",frameWindow:u,className:SE().colorDropdown})),T.createElement("div",{className:SE().item},T.createElement(Ye.Z,{src:n(65908),className:SE().itemIcon,role:"presentation"}),T.createElement("div",{className:SE().itemLabel},c.formatMessage(Ke.Z.horizontalAlignment)),T.createElement(ue.Ee,{inputName:"horizontalAlign",label:c.formatMessage(Ke.Z.horizontalAlignment),selectedOption:CE(s,d),labelClassNamePrefix:"PSPDFKit-Form-Creator-Editor-Horizontal-Alignment",options:["left","center","right"].map((e=>({value:e,label:c.formatMessage(Ke.Z[`alignment${(0,qn.kC)(e)}`]),iconPath:n(58758)(`./text-align-horizontal-${e}.svg`)}))),onChange:g})),!(d instanceof j.Vi)&&T.createElement("div",{className:SE().item},T.createElement(Ye.Z,{src:n(1792),className:SE().itemIcon,role:"presentation"}),T.createElement("div",{className:SE().itemLabel},c.formatMessage(Ke.Z.verticalAlignment)),T.createElement(ue.Ee,{inputName:"verticalAlign",label:c.formatMessage(Ke.Z.verticalAlignment),selectedOption:kE(s,d),labelClassNamePrefix:"PSPDFKit-Form-Creator-Editor-Vertical-Alignment",options:["top","center","bottom"].map((e=>({value:e,label:c.formatMessage(Ke.Z["center"===e?"alignmentCenter":e]),iconPath:n(29712)(`./text-align-vertical-${e}.svg`)}))),onChange:v})))};var TE=n(84537);const IE=(0,Re.vU)({advanced:{id:"advanced",defaultMessage:"Advanced",description:"Form designer popover advanced section title"},creatorName:{id:"creatorName",defaultMessage:"Creator Name",description:"Form designer popover advanced section creator name label"},note:{id:"note",defaultMessage:"Note",description:"Form designer popover advanced section note label"},customData:{id:"customData",defaultMessage:"Custom data",description:"Form designer popover advanced section custom data label"},required:{id:"required",defaultMessage:"Required",description:"Form designer popover advanced section required label"},readOnly:{id:"readOnly",defaultMessage:"Read Only",description:"Form designer popover advanced section read only label"},multiSelect:{id:"multiSelect",defaultMessage:"Multi Select",description:"Form designer popover advanced section multi select label"},createdAt:{id:"createdAt",defaultMessage:"Created at",description:"Form designer popover advanced section created at label"},updatedAt:{id:"updatedAt",defaultMessage:"Updated at",description:"Form designer popover advanced section updated at label"},customDataErrorMessage:{id:"customDataErrorMessage",defaultMessage:"Must be a plain JSON-serializable object",description:"Form designer popover advanced section custom data error"},multiLine:{id:"multiLine",defaultMessage:"Multi Line",description:"Form designer popover multiline input label"}}),FE=function(e){let{intl:t,annotation:n,updateAnnotation:o,formField:r,updateFormField:i,locale:a,onCustomDataError:s}=e;const[l,c]=T.useState({value:JSON.stringify(n.customData),error:""}),u=T.useCallback((e=>o({creatorName:e.target.value})),[o]),d=T.useCallback((e=>o({note:e.target.value})),[o]),p=T.useCallback((e=>{let n="";try{JSON.parse(e.target.value),s(!1)}catch(e){n=t.formatMessage(IE.customDataErrorMessage),s(!0)}c({value:e.target.value,error:n})}),[t,s]),f=T.useCallback((()=>{if(!l.error)try{const e=JSON.parse(l.value);o({customData:e})}catch(e){}}),[o,l]),h=T.useCallback((e=>i({required:e})),[i]),m=T.useCallback((e=>i({readOnly:e})),[i]),g=T.useCallback((e=>i({multiSelect:e})),[i]),v=T.useCallback((e=>i({multiLine:e})),[i]);return T.createElement(bE.U,{title:t.formatMessage(IE.advanced)},T.createElement(lg,{label:t.formatMessage(IE.creatorName),value:n.creatorName||"",onChange:u}),T.createElement(lg,{label:t.formatMessage(IE.note),value:n.note||"",onChange:d}),T.createElement(lg,{label:t.formatMessage(IE.customData),value:l.value,onChange:p,onBlur:f,errorMessage:l.error,className:SE().lastInputField}),T.createElement("div",{className:SE().advancedItem},T.createElement("div",{className:SE().advancedItemLabel},t.formatMessage(IE.required)),T.createElement(TE.n,{value:!(null==r||!r.required),onUpdate:h,accessibilityLabel:t.formatMessage(IE.required)})),T.createElement("div",{className:SE().advancedItem},T.createElement("div",{className:SE().advancedItemLabel},t.formatMessage(IE.readOnly)),T.createElement(TE.n,{value:!(null==r||!r.readOnly),onUpdate:m,accessibilityLabel:t.formatMessage(IE.readOnly)})),r instanceof j.Dz&&T.createElement("div",{className:SE().advancedItem},T.createElement("div",{className:SE().advancedItemLabel},t.formatMessage(IE.multiSelect)),T.createElement(TE.n,{value:!(null==r||!r.multiSelect),onUpdate:g,accessibilityLabel:t.formatMessage(IE.multiSelect)})),r instanceof j.$o&&T.createElement("div",{className:SE().advancedItem},T.createElement("div",{className:SE().advancedItemLabel},t.formatMessage(IE.multiLine)),T.createElement(TE.n,{value:!(null==r||!r.multiLine),onUpdate:v,accessibilityLabel:t.formatMessage(IE.multiLine)})),T.createElement("div",{className:SE().advancedItem},T.createElement("div",{className:SE().advancedItemLabel},"ID"),T.createElement("div",{className:SE().advancedItemValue},n.id)),T.createElement("div",{className:SE().advancedItem},T.createElement("div",{className:SE().advancedItemLabel},t.formatMessage(IE.createdAt)),T.createElement("div",{className:SE().advancedItemValue},n.createdAt.toLocaleDateString(a))),T.createElement("div",{className:SE().advancedItem},T.createElement("div",{className:SE().advancedItemLabel},t.formatMessage(IE.updatedAt)),T.createElement("div",{className:SE().advancedItemValue},n.updatedAt.toLocaleDateString(a))))};var ME=n(79153),_E=n(71634),RE=n(47860),NE=n.n(RE),LE=function(){var e,t,n=(0,ME.f$)((function(e){return{currentOffset:e.getSourceClientOffset(),isDragging:e.isDragging(),itemType:e.getItemType(),item:e.getItem()}}));return n.isDragging&&null!==n.currentOffset?{display:!0,itemType:n.itemType,item:n.item,style:(e=n.currentOffset,t="translate(".concat(e.x,"px, ").concat(e.y,"px)"),{pointerEvents:"none",position:"fixed",top:0,left:0,transform:t,WebkitTransform:t})}:{display:!1}};Ko().func,Ko().oneOfType([Ko().node,Ko().func]);function BE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function jE(e){for(var t=1;t{let{id:t,index:o,moveCard:r,option:i,onDelete:a}=e;const s=(0,T.useRef)(null),l=(0,T.useRef)(null),[{handlerId:c},u]=(0,ME.LW)({accept:"CARD",collect:e=>({handlerId:e.getHandlerId()}),hover(e,t){var n;if(!l.current)return;const i=e.index,a=o;if(i===a)return;const s=null===(n=l.current)||void 0===n?void 0:n.getBoundingClientRect(),c=(s.bottom-s.top)/2,u=t.getClientOffset().y-s.top;ia&&u>c||(r(i,a),e.index=a)}}),{display:d,style:p}=LE(),[{isDragging:f,id:h},m]=(0,ME.c0)({type:"CARD",item:()=>({id:t,index:o}),collect:e=>{var t;return{isDragging:e.isDragging(),id:null===(t=e.getItem())||void 0===t?void 0:t.id}}}),g=f?.5:1;m(u(s));const v=e=>T.createElement("div",{style:e?jE(jE({},p),{width:332}):{opacity:g},className:F()(NE().option,{[NE().preview]:e}),ref:e?void 0:l},T.createElement("button",(0,De.Z)({type:"button",className:NE().hamburger},e?void 0:{ref:s,"data-handler-id":c}),T.createElement(Ye.Z,{src:n(50618),role:"presentation"})),T.createElement("div",{className:NE().optionContent},i.label),T.createElement("button",{className:F()(NE().button,NE().deleteButton),type:"button",onClick:()=>a(o)},T.createElement(Ye.Z,{src:n(33374),className:F()(NE().icon,NE().deleteIcon),role:"presentation"})));return T.createElement(T.Fragment,null,v(!1),d&&h===t&&v(!0))};const KE=(0,Re.vU)({options:{id:"options",defaultMessage:"Options",description:"Options control label"},enterDescriptionHere:{id:"enterDescriptionHere",defaultMessage:"Enter description here",description:"New option input placeholder"},addOption:{id:"addOption",defaultMessage:"Add option",description:"New option button text"},emptyInput:{id:"emptyInput",defaultMessage:"Please fill in this field",description:"New option empty input label"}}),ZE=(0,Re.XN)((function(e){let{intl:t,options:n,onChange:o,ownerDocument:r}=e;const{formatMessage:i}=t,[s,l]=T.useState(!0);return T.createElement(ME.WG,{backend:_E.TouchBackend,options:{enableMouseEvents:!0,delayTouchStart:500,touchSlop:10,ignoreContextMenu:!0,ownerDocument:r}},T.createElement("form",{className:NE().wrapper,onSubmit:e=>{e.preventDefault();const t=e.target,{value:r}=t.newOption;r?(t.reset(),o(n.push(new j.mv({value:r,label:r})))):l(!1)}},T.createElement("div",{className:NE().title},i(KE.options)),T.createElement("div",null,n.map(((e,t)=>T.createElement(zE,{key:e.value,index:t,moveCard:(e,t)=>{const r=n.get(t);(0,a.kG)(r,"Item not found"),o(n.delete(t).insert(e,r))},option:e,id:e.value,onDelete:e=>o(n.delete(e))}))),T.createElement("div",{className:F()(NE().option,NE().addOptionInputWrapper,{[NE().addOptionInputWrapperInvalid]:!s})},T.createElement("input",{autoFocus:!0,className:F()(NE().optionContent,NE().addOptionInput),name:"newOption",type:"text",placeholder:i(KE.enterDescriptionHere),onBlur:()=>l(!0),onChange:e=>{!s&&e.target.value.trim()&&l(!0)}}))),!s&&T.createElement("div",{className:NE().invalidOptionInput},t.formatMessage(KE.emptyInput)),T.createElement("button",{className:F()(NE().button,NE().addOptionButton),type:"submit"},i(KE.addOption))))}));var UE,VE,GE,WE,qE;function HE(e,t){return t?Ke.Z.dateField:e instanceof j.R0?Ke.Z.button:e instanceof j.$o?Ke.Z.textField:e instanceof j.XQ?Ke.Z.radioField:e instanceof j.rF?Ke.Z.checkboxField:e instanceof j.fB?Ke.Z.comboBoxField:e instanceof j.Vi?Ke.Z.listBoxField:Ke.Z.signatureField}const $E=(0,Re.vU)({formDesignerPopoverTitle:{id:"formDesignerPopoverTitle",defaultMessage:"{formFieldType} properties",description:"Form designer popover title"},styleSectionLabel:{id:"styleSectionLabel",defaultMessage:"{formFieldType} style",description:"Form designer style section"},formFieldName:{id:"formFieldName",defaultMessage:"Form field name",description:"Form designer popover form field name input label"},format:{id:"format",defaultMessage:"Format",description:"Format"},buttonText:{id:"buttonText",defaultMessage:"Button Text",description:"Form designer popover button text input label"},defaultValue:{id:"defaultValue",defaultMessage:"Default Value",description:"Form designer popover default value input label"},multiline:{id:"multiline",defaultMessage:"Multiline",description:"Form designer popover multiline input label"},radioButtonFormFieldNameWarning:{id:"radioButtonFormFieldNameWarning",defaultMessage:"To group the radio buttons, make sure they have the same form field names.",description:"Form designer popover radio button form field name warning message"},formFieldNameExists:{id:"formFieldNameExists",defaultMessage:"A form field named {formFieldName} already exists. Please choose a different name.",description:"Change form field name if it already exists."},formFieldNameNotEmpty:{id:"formFieldNameNotEmpty",defaultMessage:"Form Field Name cannot be left empty.",description:"Form Field Name cannot be left empty."},label:{id:"label",defaultMessage:"Label",description:"Label"},value:{id:"value",defaultMessage:"Value",description:"Value"}}),YE=(0,Re.XN)((function(e){var t;let{referenceRect:o,viewportState:r,isHidden:s,intl:l,formFields:c,dispatch:d,annotation:p,frameWindow:f,eventEmitter:h,locale:m,isUnsavedAnnotation:g,setModalClosurePreventionError:v,modalClosurePreventionError:y,pageSize:b,customFontsReadableNames:w}=e;const S=(0,T.useMemo)((()=>{const e=c.get(p.formFieldName);return(0,a.kG)(e,"Form field not found"),e}),[p,c]),E=(0,T.useMemo)((()=>{if(S instanceof j.XQ||S instanceof j.rF)return S.annotationIds.findIndex((0,J.oF)(p))}),[S,p]),[P,x]=(0,T.useState)(S.name),[D,C]=(0,T.useState)(),[k,A]=T.useState(!1),O=T.useCallback((e=>{let t=p;if(!t)return;t=t.merge(e);const n={annotations:(0,i.aV)([t]),reason:u.f.PROPERTY_CHANGE};h.emit("annotations.willChange",n),d((0,Qt.FG)(t))}),[h,d,p]),I=T.useCallback((e=>{let t=S;t&&(t=t.merge(e),d((0,Mo.vK)(t)))}),[S,d]);(0,Wn.useGranularEffect)((()=>{x(S.name),C(void 0)}),[p.id],[S.name]);const M=T.useCallback((e=>{const t=e.target.value;x(t),null!=t&&t.trim()?!c.has(t)||p.formFieldName===t||S instanceof j.XQ?(C(void 0),k||v(null)):(C(l.formatMessage($E.formFieldNameExists,{formFieldName:t})),v({annotationId:p.id,error:gE.x.FORM_DESIGNER_ERROR})):(C(l.formatMessage($E.formFieldNameNotEmpty)),v({annotationId:p.id,error:gE.x.FORM_DESIGNER_ERROR}))}),[l,p,S,c,v,k]),_=T.useCallback((e=>I({buttonLabel:e.target.value})),[I]),R=T.useCallback((e=>I({options:e})),[I]),N=(0,T.useCallback)((e=>{const t=e.target.value;(0,a.kG)(void 0!==E);const n=S.options.get(E),o=S.options.set(E,n.set("label",t));I({options:o})}),[I,S,E]),L=T.useCallback((e=>{A(e),e?v({annotationId:p.id,error:gE.x.FORM_DESIGNER_ERROR}):y&&!D&&v(null)}),[v,y,D,p]),B=(0,T.useCallback)((e=>{const t=e.target.value;(0,a.kG)(void 0!==E);const n=S.options.get(E),o=S.options.set(E,n.set("value",t));I({options:o})}),[I,S,E]),z=T.useMemo((()=>{return S instanceof j.R0?T.createElement(lg,{label:l.formatMessage($E.buttonText),value:(null==S?void 0:S.buttonLabel)||"",onChange:_,className:SE().lastInputField}):S instanceof j.XQ?((0,a.kG)(void 0!==E),T.createElement(T.Fragment,null,T.createElement("div",{className:SE().radioButtonWarning},T.createElement(Ye.Z,{src:n(14896),role:"presentation",className:SE().radioButtonWarningIcon}),T.createElement("span",{className:SE().radioButtonWarningLabel},l.formatMessage($E.radioButtonFormFieldNameWarning))),T.createElement(lg,{label:l.formatMessage($E.label),value:(null==S||null===(e=S.options.get(E))||void 0===e?void 0:e.label)||"",onChange:N,required:!0}),T.createElement(lg,{label:l.formatMessage($E.value),value:(null==S||null===(t=S.options.get(E))||void 0===t?void 0:t.value)||"",onChange:B,required:!0,className:SE().lastInputField}))):S instanceof j.rF?((0,a.kG)(void 0!==E),T.createElement(T.Fragment,null,T.createElement(lg,{label:l.formatMessage($E.label),value:(null==S||null===(o=S.options.get(E))||void 0===o?void 0:o.label)||"",onChange:N,required:!0}),T.createElement(lg,{label:l.formatMessage($E.value),value:(null==S||null===(r=S.options.get(E))||void 0===r?void 0:r.value)||"",onChange:B,required:!0,className:SE().lastInputField}))):S instanceof j.Vi||S instanceof j.fB?T.createElement(ZE,{options:S.options,onChange:R,ownerDocument:f.document}):null;var e,t,o,r}),[f.document,S,l,_,R,N,B,E]),K=S instanceof j.$o&&!(null===(t=p.additionalActions)||void 0===t||!t.onFormat);return T.createElement(cg.Z,{referenceRect:o,viewportState:r,isHidden:s||!S,className:"PSPDFKit-Form-Creator-Popover",wrapperClassName:"PSPDFKit-Form-Creator-Editor",title:l.formatMessage($E.formDesignerPopoverTitle,{formFieldType:S?l.formatMessage(HE(S,K)):""}),footer:T.createElement(T.Fragment,null,T.createElement(cg.j,{className:F()(SE().footerButton,SE().deleteButton,"PSPDFKit-Form-Creator-Editor-Delete"),onClick:()=>{v(null),d((0,Qt.d8)((0,i.l4)([p.id])))}},l.formatMessage(Ke.Z.delete)),T.createElement(cg.j,{className:F()(SE().footerButton,SE().doneButton,"PSPDFKit-Form-Creator-Editor-Done"),onClick:()=>{y||d((0,je.fz)())}},l.formatMessage(Ke.Z.done)))},T.createElement(T.Fragment,null,T.createElement("div",{className:g?void 0:SE().formFieldNameReadOnly},T.createElement("div",null,T.createElement(lg,{label:l.formatMessage($E.formFieldName),value:P,onChange:M,onKeyDown:e=>e.stopPropagation(),required:!0,errorMessage:D,className:F()({[SE().lastInputField]:!z&&!K}),inputClassName:"PSPDFKit-Form-Creator-Editor-Form-Field-Name",onBlur:()=>{D||I({name:P})}})),z),K&&T.createElement("div",{className:F()(ag().wrapper,SE().lastInputField)},T.createElement("label",{className:ag().label,htmlFor:"dateTimeFormat"},"Format",T.createElement("div",{className:ag().formatSelectWrapper,role:"button"},T.createElement("select",{className:ag().dateSelect,name:"dateTimeFormat",id:"dateTimeFormat",onChange:e=>{const t=e.target.value;O({additionalActions:{onFormat:new j.bp({script:`AFDate_FormatEx("${t}")`})}})}},UE||(UE=T.createElement("option",{value:"yyyy-mm-dd"},"yyyy-mm-dd")),VE||(VE=T.createElement("option",{value:"mm/dd/yyyy"},"mm/dd/yyyy")),GE||(GE=T.createElement("option",{value:"dd/mm/yyyy"},"dd/mm/yyyy")),WE||(WE=T.createElement("option",{value:"m/d/yyyy HH:MM"},"m/d/yyyy HH:MM")),qE||(qE=T.createElement("option",{value:"d/m/yyyy HH:MM"},"d/m/yyyy HH:MM")))))),T.createElement(yE.ZP,{intl:l,annotation:p,label:l.formatMessage($E.styleSectionLabel,{formFieldType:S?l.formatMessage(HE(S,K)):""}),updateAnnotation:O,frameWindow:f,pageSize:b}),!(S instanceof j.Yo)&&!(S instanceof j.XQ)&&!(S instanceof j.rF)&&T.createElement(OE,{intl:l,annotation:p,updateAnnotation:O,frameWindow:f,formField:S,customFontsReadableNames:w}),T.createElement(FE,{intl:l,annotation:p,updateAnnotation:O,formField:S,updateFormField:I,locale:m,onCustomDataError:L})))}));var XE,JE,QE=n(31060),eP=n.n(QE);const tP=tt.Ni?()=>{const e=(0,A.I0)();return T.createElement(ue.QO,{wrapperClass:F()(eP().mobileWrapper,"PSPDFKit-ContentEditor-Exit-Dialog"),formClass:eP().formWrapper,onDismiss:()=>{e((0,Su.Yg)(!1))}},JE||(JE=T.createElement(nP,null)))}:()=>{const{formatMessage:e}=(0,Re.YB)(),t=(0,A.I0)();return T.createElement(yf.Z,{role:"alertdialog",background:"rgba(0,0,0,.1)",className:F()(eP().modalRoot,"PSPDFKit-ContentEditor-Exit-Dialog"),accessibilityLabel:e(oP.contentEditorSavePromptAccessibilityLabel),accessibilityDescription:e(oP.contentEditorSavePromptAccessibilityDescription),restoreOnClose:!0,onEscape:()=>{t((0,Su.Yg)(!1))}},XE||(XE=T.createElement(nP,null)))},nP=()=>{const{formatMessage:e}=(0,Re.YB)(),t=(0,A.I0)();return T.createElement(T.Fragment,null,T.createElement(yf.Z.Section,{className:F()(eP().dropdownSection,eP().mainSection)},T.createElement(ue.zx,{className:F()(eP().closeButton,"PSPDFKit-ContentEditor-Exit-Dialog-Close-Button"),onClick:()=>{t((0,Su.Yg)(!1))},"aria-label":e(Ke.Z.close)},T.createElement(Ye.Z,{className:eP().closeIcon,src:n(15708)})),T.createElement("div",{className:F()(eP().container,"PSPDFKit-ContentEditor-Exit-Dialog-Content")},T.createElement(Ye.Z,{className:eP().warningIcon,src:n(73986)}),T.createElement("h2",{className:eP().heading},e(oP.contentEditorSavePromptHeading)),T.createElement("p",{className:eP().description},e(oP.contentEditorSavePromptMessage)))),T.createElement(yf.Z.Section,{className:F()(eP().buttonsGroupSection,eP().dropdownSection)},T.createElement(ue.hE,{className:F()(eP().buttonsGroup,"PSPDFKit-ContentEditor-Exit-Dialog-Buttons"),align:"end"},T.createElement(ue.zx,{autoFocus:!0,onClick:()=>{t(Su.u8)},className:F()("PSPDFKit-ContentEditor-Exit-Dialog-Button","PSPDFKit-ContentEditor-Exit-Dialog-Button-Discard-Changes",eP().button)},"Don't Save"),T.createElement(ue.zx,{onClick:()=>{t(Su.Ij)},primary:!0,className:F()("PSPDFKit-ContentEditor-Exit-Dialog-Button","PSPDFKit-ContentEditor-Exit-Dialog-Button-Save-Changes",eP().button)},"Save"))))},oP=(0,Re.vU)({contentEditorSavePromptHeading:{id:"contentEditorSavePromptHeading",defaultMessage:"Save changes before exiting?",description:'Heading displayed in the "Exit Content Editing Mode" confirm dialog'},contentEditorSavePromptMessage:{id:"contentEditorSavePromptMessage",defaultMessage:"If you don’t save your changes to the document, your changes will be lost.",description:'Message displayed in the "Exit Content Editing Mode" confirm dialog'},contentEditorSavePromptAccessibilityLabel:{id:"contentEditorSavePromptAccessibilityLabel",defaultMessage:"Confirm content editing exit dialog",description:'Accessibility description for the "Delete Annotation" confirm dialog'},contentEditorSavePromptAccessibilityDescription:{id:"contentEditorSavePromptAccessibilityDescription",defaultMessage:"A content editing session is about to be dismissed and data could be loss. This dialog serves as a confirmation to whether continue with this action or not.",description:'Accessibility description for the "Exit Content Editing Mode" confirm dialog'}});var rP=n(20500),iP=n(14149),aP=n.n(iP);const sP=function(e){const{referenceRect:t,viewportState:n,activeTextBlock:o,fontFace:r}=e,i=(0,A.I0)(),{formatMessage:a}=(0,Re.YB)(),s=(0,A.v9)((e=>{var t,n;return null!==(t=null===(n=e.contentEditorSession.fontMismatchTooltip)||void 0===n?void 0:n.dismissAbortController)&&void 0!==t?t:null}));return T.createElement(Wv.Z,{referenceRect:t.apply((0,de.cr)(n,o.pageIndex)).translate(n.scrollPosition.scale(n.zoomLevel)),viewportState:n,className:F()(aP().container,"PSPDFKit-Font-Mismatch-Notification-Container"),color:[new j.Il({r:255,g:199,b:143})],arrowSize:0,arrowClassName:aP().arrow},T.createElement("div",{className:F()(aP().wrapper,"PSPDFKit-Font-Mismatch-Notification"),onPointerOver:()=>{s&&s.abort()},onPointerLeave:()=>{const e=new AbortController;i((0,Su.Hv)(e)),i((0,Su.uy)(e.signal))}},T.createElement("span",{className:aP().tooltipFont},a(wh.fontMismatch,{arg0:r}))))},lP=T.memo((function(e){const t=(0,Re.YB)(),n=(0,A.I0)(),o=(0,A.v9)((e=>e.selectedGroupId)),{selectedAnnotationIds:r}=e;return T.createElement("div",{className:F()("PSPDFKit-Multi-Annotations-Selection-Toolbar",Bd().root,Bd().content,Bd().reverseRow)},T.createElement(Id.Z,{type:"delete",title:t.formatMessage(Ke.Z.delete),className:Bd().button,onPress:()=>{n((0,Qt.d8)(r))}}),o?null:T.createElement(Id.Z,{type:"group",title:t.formatMessage(Ke.Z.group),className:Bd().button,onPress:()=>{n((0,En._R)(r))}}),o?T.createElement(Id.Z,{type:"ungroup",title:t.formatMessage(Ke.Z.ungroup),className:Bd().button,onPress:()=>{n((0,En.UZ)(o))}}):null)}));const cP=lP,uP=e=>{const t=(0,A.I0)(),{formatMessage:n}=(0,Re.YB)(),{interactionMode:o,currentItemPreset:r,frameWindow:i}=e;function a(e,n,i){t((0,je.fz)()),o===n&&i===r?(0,A.dC)((()=>{t((0,Qt.Ds)(null)),t((0,En.Ce)())})):(0,A.dC)((()=>{t((0,Qt.Ds)(i)),t((0,En.yg)(e,n))}))}return T.createElement("div",{className:F()("PSPDFKit-Measurement-Toolbar",Bd().root,Bd().content,Bd().measurementToolbar),onMouseUp:US,onTouchEnd:US,onPointerUp:US},G.Di.map((e=>T.createElement(rf.Z,{key:e.interactionMode,type:e.icon,title:n(Ke.Z[e.localeKey]),className:F()(of().formDesignerButton,{[of().formDesignerButtonActive]:o===e.interactionMode},e.className),onPress:()=>{a(e.class,e.interactionMode,e.preset)},selected:o===e.interactionMode}))),T.createElement("div",{className:of().spacer}),T.createElement("div",{className:Bd().right},T.createElement(tf.ZP,{frameWindow:i}),T.createElement(rf.Z,{key:"scale",type:"scale",title:n(Fu.sY.measurementScale),className:F()(Bd().measurementToolbarButton)}),T.createElement(rf.Z,{key:"calibrate",type:"calibrate",title:n(Fu.sY.calibrate),className:F()(of().formDesignerButton,"PSPDFKit-Scale-Calibration"),onPress:()=>{const e=G.Di.find((e=>e.interactionMode===x.A.DISTANCE));e&&(t((0,xn.Xh)(!0)),a(e.class,e.interactionMode,e.preset))}})))};var dP,pP,fP,hP,mP,gP=n(90012);function vP(e){return mt.Ei.DISABLE_KEYBOARD_SHORTCUTS||e.viewportState.scrollMode===nl.G.DISABLED?e.children:T.createElement(fv,e)}class yP extends T.Component{constructor(){super(...arguments),(0,o.Z)(this,"state",{isResizingSidebar:!1,scrollElement:null,silenceOutdatedDocumentPromptForHandle:null,filteredItems:(0,Hd.I4)(this.props.state),isAnnotationTypeReadOnlyMemoized:(0,jo.Z)(((e,t)=>(0,So.j$)(e,this.props.state,t))),crop:null,modalClosurePreventionError:null}),(0,o.Z)(this,"_memoizedMapPagesToPageKeys",(0,jo.Z)((e=>e.map((e=>e.pageKey))))),(0,o.Z)(this,"handleScrollElementChange",(e=>{this.setState({scrollElement:e})})),(0,o.Z)(this,"getScrollElement",(()=>{const{scrollElement:e}=this.state;return(0,a.kG)(e),e})),(0,o.Z)(this,"setGlobalCursor",(e=>{this.getScrollElement().style.cursor=e})),(0,o.Z)(this,"getThumbnailScale",(()=>this.props.state.containerRect.width<=Je.Fg?.55:1)),(0,o.Z)(this,"isAnnotationReadOnly",(e=>(0,So.lV)(e,this.props.state)||!(0,oi.CM)(e,this.props.state))),(0,o.Z)(this,"isCommentReadOnly",(e=>(0,So.Ez)(e,this.props.state)||!(0,oi.kR)(e,this.props.state))),(0,o.Z)(this,"reloadDocument",(()=>{const e=this.props.state.documentHandle;this.props.dispatch((0,mu.NV)((()=>this.closeReloadDocumentModal(e)),(e=>{throw e})))})),(0,o.Z)(this,"closeReloadDocumentModal",(e=>{this.setState({silenceOutdatedDocumentPromptForHandle:e})})),(0,o.Z)(this,"_canDeleteAnnotationCP",(e=>(0,oi.Kd)(e,this.props.state))),(0,o.Z)(this,"_canDeleteCommentCP",(e=>(0,oi.Ss)(e,this.props.state))),(0,o.Z)(this,"renderSidebar",((e,t)=>{const n=this.props.state,o=this.props.state.containerRect.width-e<=t,r=n.viewportState.scrollMode===nl.G.DISABLED;if(e<=0)return null;switch(n.sidebarMode){case du.f.THUMBNAILS:return T.createElement(jb,{scale:this.getThumbnailScale(),width:e,selectedPageIndex:n.viewportState.currentPageIndex,closeOnPress:o,navigationDisabled:r});case du.f.DOCUMENT_OUTLINE:return T.createElement(dv,{outlineElements:n.documentOutlineState.elements,expanded:n.documentOutlineState.expanded,closeOnPress:o,backend:n.backend,documentHandle:n.documentHandle,navigationDisabled:r});case du.f.ANNOTATIONS:return T.createElement(Ju,{pages:n.pages,annotations:n.annotations,comments:n.comments,commentThreads:n.commentThreads,formFields:n.formFields,isAnnotationReadOnly:this.isAnnotationReadOnly,isCommentReadOnly:this.isCommentReadOnly,selectedAnnotationIds:n.selectedAnnotationIds,sidebarOptions:n.sidebarOptions.ANNOTATIONS,closeOnPress:o,navigationDisabled:r,canDeleteAnnotationCP:this._canDeleteAnnotationCP,canDeleteCommentCP:this._canDeleteCommentCP});case du.f.BOOKMARKS:return T.createElement(FS,{source:n.bookmarkManager},(t=>T.createElement(IS,{bookmarks:t,bookmarkManager:n.bookmarkManager,currentPageIndex:n.viewportState.currentPageIndex,pages:n.pages,width:e,closeOnPress:o})));case du.f.CUSTOM:return dP||(dP=T.createElement(CS,null));default:return null}})),(0,o.Z)(this,"_viewportEl",null),(0,o.Z)(this,"_viewportRef",(e=>{"gecko"===tt.SR&&(e?(this._viewportEl=e,this._viewportEl.addEventListener("copy",this._copyEventHandler)):this._viewportEl&&(this._viewportEl.removeEventListener("copy",this._copyEventHandler),this._viewportEl=null))})),(0,o.Z)(this,"_copyEventHandler",(e=>{var t;if(!this._viewportEl)return;if(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)return;const n=(o=this._viewportEl,new zy(null===(r=o.ownerDocument.defaultView)||void 0===r?void 0:r.getSelection(),o,cl().selectableText)._getSelectedTextWithNL());var o,r;null===(t=e.clipboardData)||void 0===t||t.setData("text/plain",n),e.preventDefault()})),(0,o.Z)(this,"renderViewport",(e=>{var t,n;const{selectedAnnotation:o,state:r,dispatch:i}=this.props,{viewportState:a}=r,s=o&&null!==o.pageIndex&&"function"==typeof r.annotationTooltipCallback&&!r.interactionsDisabled?r.annotationTooltipCallback(o):[];return T.createElement(qy,{dispatch:this.props.dispatch,currentTextSelection:this.props.state.currentTextSelection,selectedAnnotationIds:this.props.state.selectedAnnotationIds,activeAnnotationNote:this.props.state.activeAnnotationNote,rootElement:null===(t=this.props.state.frameWindow)||void 0===t?void 0:t.document.documentElement,interactionMode:this.props.state.interactionMode,modalClosurePreventionError:this.state.modalClosurePreventionError},T.createElement("div",{style:{position:"relative",height:"100%"}},T.createElement(Qb,{viewportState:a,scrollbarOffset:r.scrollbarOffset},T.createElement(vP,{dispatch:i,viewportState:a,hasSelectedAnnotations:this.props.state.selectedAnnotationIds.size>0,document:null===(n=r.frameWindow)||void 0===n?void 0:n.document},T.createElement(xe.Provider,null,a.scrollMode===nl.G.PER_SPREAD?T.createElement(iy,{dispatch:i,viewportState:a,hasSelection:this.props.state.selectedAnnotationIds.size>0||null!==this.props.state.currentTextSelection,scrollElement:this.state.scrollElement,interactionsDisabled:r.interactionsDisabled},this.renderViewportContent(s,e)):this.renderViewportContent(s,e))),this._isFullscreen&&this.renderExpandendNoteAnnotations(s))))})),(0,o.Z)(this,"_handleDocumentEditorCancel",(()=>{this.props.dispatch((0,En.sJ)())})),(0,o.Z)(this,"_closeSignatureModal",(()=>{const e={annotations:(0,i.aV)(),reason:u.f.SELECT_END};this.props.state.eventEmitter.emit("annotations.willChange",e),this.props.dispatch((0,En.MV)())})),(0,o.Z)(this,"_createSignatureFromAnnotation",((e,t,n)=>{e instanceof s.Zc&&this.props.dispatch((0,Qt.gX)({strokeColor:e.strokeColor}));const{signatureRect:o,signaturePageIndex:r}=this.props.state.signatureState,{attachments:i}=this.props.state;let l;if("imageAttachmentId"in e&&e.imageAttachmentId&&i.has(e.imageAttachmentId)){const t=i.get(e.imageAttachmentId);(0,a.kG)(t),l={hash:e.imageAttachmentId,attachment:t}}this.props.dispatch(NS(e,{signatureRect:o,signaturePageIndex:r},l)),t&&this.props.dispatch(LS(e,n)),this.props.dispatch((0,En.MV)())})),(0,o.Z)(this,"_createSignatureFromFile",(async(e,t,n)=>{const{signatureRect:o,signaturePageIndex:r}=this.props.state.signatureState;this.props.dispatch((0,En.MV)());const{hash:i,dimensions:a,attachment:s}=await(0,Qt.Iv)(e);this.props.dispatch(function(e,t,n,o){let{dimensions:r,hash:i,attachment:a,file:s}=e,{signatureRect:l,signaturePageIndex:c}=o;return(e,o)=>{let u;e((0,Qt.Ds)("image")),u=s instanceof File?(0,J.om)(o(),r,i,s.type,s.name):(0,J.om)(o(),r,i,"image/png"),u=u.set("isSignature",!0),e((0,vv.O)(i,a)),e(NS(u,{signatureRect:l,signaturePageIndex:c},{hash:i,attachment:a})),t&&e(LS(u,n))}}({hash:i,dimensions:a,attachment:s,file:e},t,n,{signatureRect:o,signaturePageIndex:r}))})),(0,o.Z)(this,"_createSignature",((e,t,n)=>{e instanceof s.q6?this._createSignatureFromAnnotation(e,t,n):this._createSignatureFromFile(e,t,n)})),(0,o.Z)(this,"_deleteStoredSignature",((e,t)=>{this.props.dispatch(function(e,t){return(n,o)=>{t&&n({type:te.Kc8,annotation:e}),o().eventEmitter.emit("inkSignatures.delete",e),o().eventEmitter.emit("inkSignatures.change"),o().eventEmitter.emit("storedSignatures.delete",e),o().eventEmitter.emit("storedSignatures.change")}}(e,t))})),(0,o.Z)(this,"_closeStampModal",(()=>{const e={annotations:(0,i.aV)(),reason:u.f.SELECT_END};this.props.state.eventEmitter.emit("annotations.willChange",e),this.props.dispatch((0,En.pM)())})),(0,o.Z)(this,"_createAnnotationFromTemplate",(e=>{this.props.dispatch((0,En.pM)()),this.props.dispatch((0,Qt.ip)(e))})),(0,o.Z)(this,"_getAttachments",(()=>this.props.state.attachments)),(0,o.Z)(this,"_fetchDigitalSignaturesInfo",(()=>{var e;null===(e=this.props.state.backend)||void 0===e||e.getSignaturesInfo().then((e=>{this.props.dispatch((0,yu.Y)(e))})).catch(a.vU)})),(0,o.Z)(this,"_setA11yStatusMessage",(e=>{this.props.dispatch((0,En.iJ)("")),window.setTimeout((()=>{this.props.dispatch((0,En.iJ)(e))}),200)})),(0,o.Z)(this,"isDocumentComparisonAvailable",(()=>(0,XS.RG)(this.props.state))),(0,o.Z)(this,"handleCrop",(e=>{(0,a.kG)(this.state.crop),this.props.dispatch((0,mu.b_)([{type:"cropPages",cropBox:this.state.crop.area,pageIndexes:e?void 0:[this.state.crop.pageIndex]}],(()=>{}),(()=>{}))),this.props.dispatch((0,En.Cn)())})),(0,o.Z)(this,"setCropDetails",((e,t)=>{this.setState({crop:{area:e,pageIndex:t}})})),(0,o.Z)(this,"onCropCancel",(()=>{const{dispatch:e}=this.props;e((0,En.Cn)())})),(0,o.Z)(this,"getToolbarComponent",(()=>{const{selectedAnnotation:e,activeAnnotationNote:t,state:n,currentTextSelection:o}=this.props,{viewportState:r,selectedAnnotationIds:i}=n,a=n.toolbarPlacement===Ru.p.TOP?"top":"bottom",s=n.selectedAnnotationIds.every((e=>{const t=n.annotations.get(e);return!!t&&("isMeasurement"in t&&t.isMeasurement())}));if(n.selectedAnnotationIds.size>1&&!s)return T.createElement(cP,{selectedAnnotationIds:i});if(e&&!(0,nt.fF)(n.interactionMode)||t){const o=e?n.pages.get(e.pageIndex):null,a=o&&o.pageSize,s=e&&n.annotationPresetIds.get(e.id),l=!(!e||!(0,oi.CM)(e,n)),c=(0,So.aE)(this.props.state),u=!(!e||!(0,oi.Kd)(e,n)),d=i.map((e=>n.annotations.get(e)));return T.createElement(cf,{dispatch:this.props.dispatch,annotation:e,selectedAnnotationPageSize:a,isAnnotationReadOnly:this.isAnnotationReadOnly,variantAnnotationPresetID:s,selectedAnnotationMode:this.props.state.selectedAnnotationMode,zoomLevel:r.zoomLevel,position:n.toolbarPlacement===Ru.p.TOP?"top":"bottom",eventEmitter:n.eventEmitter,frameWindow:n.frameWindow,viewportWidth:n.containerRect.width,activeAnnotationNote:t,showAnnotationNotes:this.props.state.showAnnotationNotes,canEditAnnotationCP:l,canDeleteSelectedAnnotationCP:u,areOnlyElectronicSignaturesEnabled:c,lastToolbarActionUsedKeyboard:n.lastToolbarActionUsedKeyboard,interactionMode:n.interactionMode,keepSelectedTool:this.props.state.keepSelectedTool,annotationToolbarColorPresets:n.annotationToolbarColorPresets,annotationToolbarItems:n.annotationToolbarItems,richTextEditorRef:n.richTextEditorRef,customFontsReadableNames:n.customFontsReadableNames,isCalibratingScale:n.isCalibratingScale,selectedAnnotations:d})}var l,c;return n.interactionMode===x.A.INK_ERASER?T.createElement(ff,{dispatch:this.props.dispatch,inkEraserCursorWidth:null!==(l=null===(c=n.annotationPresets.get("ink"))||void 0===c?void 0:c.inkEraserWidth)&&void 0!==l?l:mt.Ei.DEFAULT_INK_ERASER_CURSOR_WIDTH,position:a,viewportWidth:n.containerRect.width}):n.interactionMode===x.A.DOCUMENT_CROP?T.createElement(ZS,{onCropApply:this.handleCrop,onCropCancel:this.onCropCancel,position:a,isCropAreaSelected:!!this.state.crop,frameWindow:n.frameWindow}):(0,nt.fF)(n.interactionMode)?T.createElement(vE,{position:a,interactionMode:n.interactionMode,dispatch:this.props.dispatch,frameWindow:n.frameWindow,modalClosurePreventionError:this.state.modalClosurePreventionError,selectedAnnotation:!!n.selectedAnnotationIds.size}):n.interactionMode===x.A.CONTENT_EDITOR?T.createElement(WS,{position:a,viewportWidth:n.containerRect.width,frameWindow:n.frameWindow,creationMode:n.contentEditorSession.mode===Gl.wR.Create}):n.interactionMode===x.A.MEASUREMENT?T.createElement(uP,{position:a,interactionMode:n.interactionMode,viewportWidth:n.containerRect.width,frameWindow:n.frameWindow}):T.createElement(_v,{dispatch:this.props.dispatch,isAnnotationTypeReadOnly:this.state.isAnnotationTypeReadOnlyMemoized,position:n.toolbarPlacement===Ru.p.TOP?"top":"bottom",showComments:(0,Ml.oK)(n),showRedactions:this.props.state.features.includes(ge.q.REDACTIONS),inlineTextSelectionToolbarItems:n.inlineTextSelectionToolbarItems,currentTextSelection:o})})),(0,o.Z)(this,"handleSidebarResize",(e=>{let{sidebarRect:t,isDragging:n,size:o}=e;const r=xu(this.props.state,t,o);this.props.dispatch((0,Eu.dx)(r,!1)),this.setState({isResizingSidebar:n})})),(0,o.Z)(this,"handleResizeHelperResize",((e,t)=>{const n=this.props.state,o=e.width,r=n.containerRect.width===n.sidebarWidth,i=!r&&o-n.sidebarWidth<200;let a;n.sidebarMode&&!i?r?(a=e.set("width",o).set("left",0),this.props.dispatch((0,Eu.Pt)(o))):a=e.set("width",o-n.sidebarWidth).set("left",n.sidebarPlacement===pu.d.START?n.sidebarWidth:0):(a=e,n.sidebarMode&&i&&this.props.dispatch((0,En.mu)())),this.props.dispatch((0,Eu.dx)(a,t))}))}renderViewportContent(e,t){const{selectedAnnotation:n,state:o,dispatch:r,currentTextSelection:a}=this.props,{viewportState:l,interactionsDisabled:c,interactionMode:u,formFields:d,frameWindow:p,eventEmitter:f,locale:h,scrollElement:m,measurementToolState:g,contentEditorSession:{fontMismatchTooltip:v,textBlockInteractionState:y},selectedAnnotationIds:b}=o;let w,S,E=null;if(o.interactionMode!==x.A.TEXT_HIGHLIGHTER&&!o.interactionsDisabled&&a&&!t(s.On)&&o.inlineTextMarkupToolbar&&(E=T.createElement(Wv.Z,{referenceRect:(0,ga.U2)(o,a.textRange),viewportState:l,className:"PSPDFKit-Popover-Text-Markup-Toolbar",isArrowHidden:!!this.props.state.inlineTextSelectionToolbarItems&&!(this.props.state.inlineTextSelectionToolbarItems.length>0)},T.createElement(Mv,{dispatch:r,isAnnotationTypeReadOnly:t,showComments:(0,Ml.oK)(this.props.state),showRedactions:this.props.state.features.includes(ge.q.REDACTIONS),inlineTextSelectionToolbarItems:this.props.state.inlineTextSelectionToolbarItems,currentTextSelection:a}))),w=o.viewportState.documentComparisonMode&&o.backend?T.createElement(JS.Z,{renderPageCallback:o.renderPageCallback,backend:o.backend,allowedTileScales:o.allowedTileScales,viewportState:o.viewportState,interactionMode:o.interactionMode,scrollElement:o.scrollElement,dispatch:r,configuration:o.viewportState.documentComparisonMode,viewportWidth:o.containerRect.width,renderPagePreview:o.renderPagePreview}):l.scrollMode===nl.G.PER_SPREAD||l.scrollMode===nl.G.DISABLED?T.createElement(ey,{onCropChange:this.setCropDetails,dispatch:r,spreadIndex:(0,Hs.dF)(l,l.currentPageIndex),viewportState:l,interactionMode:o.interactionMode,cropInfo:this.state.crop,pageKeys:this._memoizedMapPagesToPageKeys(o.pages),setGlobalCursor:this.setGlobalCursor}):T.createElement($h,{onCropChange:this.setCropDetails,dispatch:r,viewportState:l,cropInfo:this.state.crop,pageKeys:this._memoizedMapPagesToPageKeys(o.pages),setGlobalCursor:this.setGlobalCursor}),g&&o.backend&&(0,$.hj)(g.drawnAnnotationPageIndex)){var P;const e={inViewport:!0,page:o.pages.get(g.drawnAnnotationPageIndex),backend:o.backend,shouldPrerender:!0,zoomLevel:l.zoomLevel,rotation:l.pagesRotation,renderPageCallback:o.renderPageCallback,allowedTileScales:"all",documentHandle:o.documentHandle,viewportRect:l.viewportRect,forceDetailView:!1,renderPagePreview:o.renderPagePreview,isPageSizeReal:!!o.arePageSizesLoaded,inContentEditorMode:!1};let t=g.magnifierCursorPosition;const n=(0,Hs.Ad)(l),r=(0,Hs.dF)(l,g.drawnAnnotationPageIndex),i=(0,Hs.Xk)(l,r);let a=(n-i.width)/2*l.zoomLevel;o.sidebarMode&&(a+=o.sidebarWidth);let s=0;if((0,Hs.nw)(l)===C.X.DOUBLE){const e=(0,Hs.hK)(l,g.drawnAnnotationPageIndex);if(i.height!==e.height&&(s=(i.height-e.height)/2*l.zoomLevel),g.drawnAnnotationPageIndex%2!=0){a+=(0,Hs.hK)(l,g.drawnAnnotationPageIndex-1).width*l.zoomLevel}}t=null===(P=g.magnifierCursorPosition)||void 0===P?void 0:P.merge({x:g.magnifierCursorPosition.x-a,y:g.magnifierCursorPosition.y-s}),S=T.createElement(rP.B,{pageRendererComponentProps:e,viewportState:l,scrollElement:m,currentMainToolbarHeight:il.k3,className:"PSPDFKit-Measurement-Magnifier",label:g.magnifierLabel,pageIndex:g.drawnAnnotationPageIndex,cursorPosition:t,isMobile:o.containerRect.width<=Je.Fg})}const D=n?o.pages.get(n.pageIndex):null,k=D&&D.pageSize;return T.createElement(Oy,{dispatch:r,viewportState:l,scrollbarOffset:o.scrollbarOffset,onScrollElementChange:this.handleScrollElementChange,scrollDisabled:o.scrollDisabled},T.createElement(Qv,{enabled:o.interactionMode===x.A.PAN&&!tt.Ni&&!o.interactionsDisabled&&!!o.scrollElement},T.createElement("div",{className:pE().viewportContent,ref:this._viewportRef,"data-testid":"viewport"},w,(0,Ml.Y7)(o)&&l.commentMode&&T.createElement(Ng,{maxMentionSuggestions:o.maxMentionSuggestions,mentionableUsers:o.mentionableUsers,annotations:this.props.state.annotations,viewportState:l,selectedAnnotation:this.props.selectedAnnotation,comments:this.props.state.comments,commentThreads:this.props.state.commentThreads,dispatch:r,keepSelectedTool:this.props.state.keepSelectedTool,frameWindow:this.props.state.frameWindow,anonymousComments:this.props.state.anonymousComments})),E,n&&!(n instanceof j.Qi)&&e.length>0&&!this.props.noteAnnotationToModify&&T.createElement(Wv.Z,{referenceRect:(0,$i.q)((0,J.Wj)(n,l.pagesRotation,l.viewportRect.getSize()).apply((0,de.cr)(l,n.pageIndex).translate(l.scrollPosition.scale(l.zoomLevel))),l.viewportRect.getSize()),viewportState:l,className:"PSPDFKit-Popover-Annotation-Tooltip"},T.createElement(Yb,{items:e})),n&&null!==n.pageIndex&&n instanceof j.UX&&n.isMeasurement()&&o.isCalibratingScale&&T.createElement(Fu.ZP,{annotation:n,isHidden:c,referenceRect:(0,$i.q)((0,J.Wj)(n,l.pagesRotation,l.viewportRect.getSize()).apply((0,de.cr)(l,n.pageIndex).translate(l.scrollPosition.scale(l.zoomLevel))),l.viewportRect.getSize()),viewportState:l,eventEmitter:f,modalClosurePreventionError:this.state.modalClosurePreventionError,setModalClosurePreventionError:e=>this.setState({modalClosurePreventionError:e}),frameWindow:p,locale:h}),n&&1===b.size&&(0,nt.fF)(u)&&n instanceof j.x_&&T.createElement(YE,{modalClosurePreventionError:this.state.modalClosurePreventionError,setModalClosurePreventionError:e=>this.setState({modalClosurePreventionError:e}),annotation:n,isHidden:c,referenceRect:(0,$i.q)((0,J.Wj)(n,l.pagesRotation,l.viewportRect.getSize()).apply((0,de.cr)(l,n.pageIndex).translate(l.scrollPosition.scale(l.zoomLevel))),l.viewportRect.getSize()),viewportState:l,formFields:d,dispatch:r,frameWindow:p,eventEmitter:f,locale:h,isUnsavedAnnotation:n.id===this.props.state.formDesignerUnsavedWidgetAnnotation,pageSize:k,customFontsReadableNames:this.props.state.customFontsReadableNames||(0,i.l4)()}),this.renderLinkAnnotationPopover(),S,this.renderAnimatedExpandendNoteAnnotations(e),null!=v&&v.fontFace&&(null==y?void 0:y.state)===Gl.FP.Active&&null!=v&&v.rect?T.createElement(sP,{referenceRect:v.rect,fontFace:v.fontFace,viewportState:l,activeTextBlock:y}):null))}getSnapshotBeforeUpdate(e){const t=e.selectedNoteAnnotations&&this.props.selectedNoteAnnotations&&0!==e.selectedNoteAnnotations.size&&e.selectedNoteAnnotations.size===this.props.selectedNoteAnnotations.size;return this._animateNoteAnnotation=!window["PSPDFKit-disable-animations"]&&!t,null}renderAnimatedExpandendNoteAnnotations(e){const t=this._isFullscreen?null:this.renderExpandendNoteAnnotations(e);return this._animateNoteAnnotation&&null!==t?T.createElement(Iu.Z,null,t.map((e=>T.createElement(Tu.Z,{key:`NoteAnnotationPopopver-${e.props.noteAnnotation.id}`,timeout:{enter:window["PSPDFKit-disable-animations"]?0:100,exit:window["PSPDFKit-disable-animations"]?0:150},classNames:{enter:hE().fadeEnter,enterActive:hE().fadeEnterActive,exit:hE().fadeExit,exitActive:hE().fadeExitActive}},e)))):T.createElement("div",null,t)}renderExpandendNoteAnnotations(e){var t,n,o,r,a,s;if(!this.props.state.showAnnotations||this.props.state.interactionsDisabled&&!this._isFullscreen||this.props.state.selectedAnnotationIds.size>1)return(0,i.l4)();const l=[];if(this.props.activeAnnotationNote&&(0,J.YV)(null===(t=this.props.activeAnnotationNote)||void 0===t?void 0:t.parentAnnotation)){const e=this.props.activeAnnotationNote;l.push(T.createElement(qv,{key:`NoteAnnotationPopopver-${e.id}`,noteAnnotation:e,noteAnnotationToModify:e,viewportState:this.props.state.viewportState,dispatch:this.props.dispatch,isFullscreen:this._isFullscreen,collapseSelectedNoteContent:!1,annotationToolbarHeight:this.props.state.annotationToolbarHeight,isAnnotationReadOnly:this.isAnnotationReadOnly,autoSelect:this.props.state.selectedTextOnEdit,eventEmitter:this.props.state.eventEmitter,keepSelectedTool:this.props.state.keepSelectedTool}))}if(this.props.hoverAnnotationNote&&(0,J.YV)(null===(n=this.props.hoverAnnotationNote)||void 0===n?void 0:n.parentAnnotation)&&(!this.props.activeAnnotationNote||(null===(o=this.props.hoverAnnotationNote)||void 0===o||null===(r=o.parentAnnotation)||void 0===r?void 0:r.id)!==(null===(a=this.props.activeAnnotationNote)||void 0===a||null===(s=a.parentAnnotation)||void 0===s?void 0:s.id))){const e=this.props.hoverAnnotationNote;l.push(T.createElement(qv,{key:`NoteAnnotationPopopver-${e.id}`,noteAnnotation:e,noteAnnotationToModify:null,viewportState:this.props.state.viewportState,dispatch:this.props.dispatch,isFullscreen:this._isFullscreen,isHover:!0,collapseSelectedNoteContent:!1,annotationToolbarHeight:this.props.state.annotationToolbarHeight,isAnnotationReadOnly:this.isAnnotationReadOnly,autoSelect:this.props.state.selectedTextOnEdit,eventEmitter:this.props.state.eventEmitter,keepSelectedTool:this.props.state.keepSelectedTool}))}return this.props.selectedNoteAnnotations&&0!==this.props.selectedNoteAnnotations.size?this.props.selectedNoteAnnotations.filter((e=>null!==e.pageIndex)).map((t=>{const n=!!this.props.selectedAnnotation&&t.id===this.props.selectedAnnotation.id;return T.createElement(qv,{key:`NoteAnnotationPopopver-${t.id}`,noteAnnotation:t,noteAnnotationToModify:this.props.noteAnnotationToModify,viewportState:this.props.state.viewportState,dispatch:this.props.dispatch,isFullscreen:this._isFullscreen,isHover:!n,annotationToolbarHeight:this.props.state.annotationToolbarHeight,isAnnotationReadOnly:this.isAnnotationReadOnly,tools:n?e:[],collapseSelectedNoteContent:this.props.state.collapseSelectedNoteContent,autoSelect:this.props.state.selectedTextOnEdit,eventEmitter:this.props.state.eventEmitter,keepSelectedTool:this.props.state.keepSelectedTool})})).concat(l):(0,i.l4)(l)}renderLinkAnnotationPopover(){const{selectedAnnotation:e,state:t,dispatch:n,hoveredLinkAnnotation:o}=this.props,{viewportState:r,frameWindow:i,locale:a,pages:l,linkAnnotationMode:c,viewportState:{currentPageIndex:u}}=t,d=e&&e instanceof s.R1&&!c,p=!(null==o||!o.action||d),f=e?(null==e?void 0:e.pageIndex)===u:(null==o?void 0:o.pageIndex)===u;if(!p&&!d)return null;if(!f)return o&&this.props.dispatch((0,je.IP)(o.id)),null;const h=p?o:e;return T.createElement(vg,{annotation:h,viewportState:r,dispatch:n,frameWindow:i,locale:a,pages:l,isHover:p})}componentDidUpdate(e){this.props.state.interactionMode!==x.A.DOCUMENT_CROP&&e.state.interactionMode===x.A.DOCUMENT_CROP&&this.setState({crop:null}),(0,nt.fF)(e.state.interactionMode)&&!(0,nt.fF)(this.props.state.interactionMode)&&this.props.dispatch((0,En.LE)(!1)),this.props.state.interactionMode!==x.A.INK_SIGNATURE&&this.props.state.interactionMode!==x.A.SIGNATURE||this.props.state.signatureState.storedSignatures||this.props.dispatch(jS());!(this.props.state.features.includes(ge.q.DIGITAL_SIGNATURES)&&!this.props.state.digitalSignatures&&this.props.state.connectionState.name===_s.F.CONNECTED)&&(e.state.documentHandle===this.props.state.documentHandle&&this.props.state.digitalSignatures||this.props.state.connectionState.name!==_s.F.CONNECTED)||this._fetchDigitalSignaturesInfo(),e.state.features.equals(this.props.state.features)&&e.state.backend===this.props.state.backend&&e.state.backendPermissions.equals(this.props.state.backendPermissions)&&e.state.documentPermissions.equals(this.props.state.documentPermissions)&&e.state.readOnlyEnabled===this.props.state.readOnlyEnabled&&e.state.editableAnnotationTypes.equals(this.props.state.editableAnnotationTypes)&&e.state.toolbarItems.equals(this.props.state.toolbarItems)&&e.state.showComments===this.props.state.showComments||this.setState({isAnnotationTypeReadOnlyMemoized:(0,jo.Z)((e=>(0,So.j$)(e,this.props.state))),filteredItems:(0,Hd.I4)(this.props.state)})}render(){const{selectedAnnotation:e,activeAnnotationNote:t,state:n}=this.props,{viewportState:o,isDocumentHandleOutdated:r}=n;this._isFullscreen=o.viewportRect.width<=Je.j1;const i=n.containerRect.width<=Je.Fg?n.containerRect.width:200,a=e instanceof j.Qi&&this.isAnnotationReadOnly(e)&&!this._isFullscreen,s=n.currentItemPreset&&n.annotationPresets.get(n.currentItemPreset)||{},{SIGNATURE_SAVE_MODE:l,DISABLE_KEYBOARD_SHORTCUTS:c}=mt.Ei,u=n.sidebarMode&&T.createElement(Yy,{initialSize:n.sidebarWidth,minWidth:i,maxWidth:n.containerRect.width,draggerSize:n.containerRect.width<=Je.Fg?0:6,onResize:this.handleSidebarResize,isRTL:n.sidebarPlacement===pu.d.END,dispatch:this.props.dispatch},this.renderSidebar),d=(e||t)&&!a||!n.interactionsDisabled&&(n.currentTextSelection||n.interactionMode===x.A.TEXT_HIGHLIGHTER)&&!n.inlineTextMarkupToolbar||n.interactionMode===x.A.INK_ERASER||n.interactionMode===x.A.DOCUMENT_CROP||n.interactionMode===x.A.CONTENT_EDITOR||n.interactionMode===x.A.MEASUREMENT||(0,nt.fF)(n.interactionMode),p=!(!e||!(0,oi.Kd)(e,n)),f=o.documentComparisonMode&&T.createElement(aE,{position:n.toolbarPlacement===Ru.p.TOP?"top":"bottom"}),h=!f&&n.enableAnnotationToolbar&&!(e&&this.props.state.commentThreads.has(e.id))&&T.createElement(Iu.Z,null,d?T.createElement(Tu.Z,{timeout:{exit:window["PSPDFKit-disable-animations"]?0:120,enter:window["PSPDFKit-disable-animations"]?0:100},classNames:n.toolbarPlacement===Ru.p.TOP?{enter:hE().slideDownEnter,enterActive:hE().slideDownEnterActive,exit:hE().slideDownExit,exitActive:hE().slideDownExitActive}:{enter:hE().slideUpEnter,enterActive:hE().slideUpEnterActive,exit:hE().slideUpExit,exitActive:hE().slideUpExitActive}},this.getToolbarComponent()):null),m=n.digitalSignatures&&n.showSignatureValidationStatus!==fu.W.NEVER?T.createElement(Tu.Z,{in:!!d,timeout:{exit:window["PSPDFKit-disable-animations"]?0:120,enter:window["PSPDFKit-disable-animations"]?0:100},classNames:n.toolbarPlacement===Ru.p.TOP?{enter:hE().moveDownSignatureBarEnter,enterActive:hE().moveDownSignatureBarEnterActive,exit:hE().moveDownExit,exitActive:hE().moveDownSignatureBarExitActive}:{enter:hE().moveUpSignatureBarEnter,enterActive:hE().moveUpSignatureBarEnterActive,exit:hE().moveUpSignatureBarExit,exitActive:hE().moveUpSignatureBarExitActive}},T.createElement(Wb,{digitalSignatures:n.digitalSignatures,showSignatureValidationStatus:n.showSignatureValidationStatus})):null,g=n.signatureFeatureAvailability,v=(0,So.bp)(n),y=T.createElement(T.Fragment,null,n.showToolbar&&T.createElement(il.ZP,{sidebarMode:n.sidebarMode,currentPageIndex:o.currentPageIndex,debugMode:n.debugMode,dispatch:this.props.dispatch,eventEmitter:this.props.state.eventEmitter,frameWindow:n.frameWindow,interactionMode:n.interactionMode,items:this.state.filteredItems,layoutMode:o.layoutMode,maxZoomReached:o.zoomLevel>=(0,Ys.Sm)(o),minZoomReached:o.zoomLevel<=(0,Ys.Yo)(o),printingEnabled:(0,So.VT)(n),exportEnabled:(0,So.RZ)(n),isDocumentReadOnly:v,isAnnotationTypeReadOnly:this.state.isAnnotationTypeReadOnlyMemoized,isDocumentComparisonAvailable:this.isDocumentComparisonAvailable(),signatureFeatureAvailability:g,scrollMode:o.scrollMode,pages:n.pages,totalPages:n.totalPages,zoomMode:o.zoomMode,currentItemPreset:n.currentItemPreset,toolbarPlacement:n.toolbarPlacement,documentEditorEnabled:(0,So.Xr)(n),canUndo:n.isHistoryEnabled&&n.undoActions.size>0,canRedo:n.isHistoryEnabled&&n.redoActions.size>0,currentDocumentComparisonMode:o.documentComparisonMode,isContentEditorSessionDirty:n.contentEditorSession.dirty,isMultiSelectionEnabled:n.isMultiSelectionEnabled}),T.createElement(Zb,{position:n.toolbarPlacement===Ru.p.TOP?"top":"bottom"},n.toolbarPlacement===Ru.p.TOP?T.createElement(T.Fragment,null,f||h,m):T.createElement(T.Fragment,null,m,f||h)));return T.createElement(Mu.Provider,{value:this.getScrollElement},T.createElement("div",{className:`PSPDFKit-Container PSPDFKit-browser-engine-${tt.SR} PSPDFKit-browser-system-${tt.By} ${tt.Ni?"PSPDFKit-mobile-os":""} PSPDFKit-${(0,Hs.s)(n.containerRect)} ${pE().root} ${n.interactionsDisabled?"interactions-disabled":""} ${null!=n.backend?"PSPDFKit-backend-"+("STANDALONE"===n.backend.type?"standalone":"server"):""} ${n.disablePullToRefresh?"overscrollDisabled":""}`},n.isDebugConsoleVisible&&T.createElement($g,{dispatch:this.props.dispatch}),(n.interactionMode===x.A.STAMP_PICKER||n.interactionMode===x.A.STAMP_CUSTOM)&&T.createElement(Eb,{onEscape:this._closeStampModal,showPicker:n.interactionMode===x.A.STAMP_PICKER},T.createElement(Rb,{onCreate:this._createAnnotationFromTemplate,backend:n.backend,onCancel:this._closeStampModal,stampAnnotationTemplates:n.stampAnnotationTemplates,dispatch:this.props.dispatch,showPicker:n.interactionMode===x.A.STAMP_PICKER,attachments:n.attachments,viewportWidth:n.containerRect.width})),(n.interactionMode===x.A.INK_SIGNATURE||n.interactionMode===x.A.SIGNATURE)&&n.signatureState.storedSignatures&&g===Ar.H.LEGACY_SIGNATURES&&T.createElement(eb,{onEscape:this._closeSignatureModal},T.createElement(bb,{onCancel:this._closeSignatureModal,onCreate:this._createSignatureFromAnnotation,onDelete:this._deleteStoredSignature,storedSignatures:n.signatureState.storedSignatures,preset:s,canStoreSignature:(null==n.signatureState.formFieldName||!n.signatureState.formFieldsNotSavingSignatures.includes(n.signatureState.formFieldName))&&l!==_u.f.NEVER,backend:n.backend,attachments:n.attachments,viewportWidth:n.containerRect.width})),(n.interactionMode===x.A.INK_SIGNATURE||n.interactionMode===x.A.SIGNATURE)&&n.signatureState.storedSignatures&&g===Ar.H.ELECTRONIC_SIGNATURES&&T.createElement(aw,{onEscape:this._closeSignatureModal},T.createElement(pS,{preset:s,colorPresets:this.props.state.electronicSignatureColorPresets,frameWindow:n.frameWindow,onCreate:this._createSignature,onDelete:this._deleteStoredSignature,onCancel:this._closeSignatureModal,storedSignatures:n.signatureState.storedSignatures,hasSignaturesCreationListener:Object.keys(n.eventEmitter.listeners).includes("storedSignatures.create")||Object.keys(n.eventEmitter.listeners).includes("inkSignatures.create"),hasSignaturesDeletionListener:Object.keys(n.eventEmitter.listeners).includes("storedSignatures.delete")||Object.keys(n.eventEmitter.listeners).includes("inkSignatures.delete"),backend:n.backend,attachments:n.attachments,viewportWidth:n.containerRect.width,creationModes:n.electronicSignatureCreationModes,signingFonts:n.signingFonts,dispatch:this.props.dispatch})),n.interactionMode===x.A.MEASUREMENT_SETTINGS&&T.createElement(gP.Z,{frameWindow:n.frameWindow}),n.interactionMode===x.A.DOCUMENT_EDITOR&&T.createElement(DS,{onCancel:this._handleDocumentEditorCancel,scale:this.getThumbnailScale()}),n.isPrinting&&T.createElement(dy,{progress:n.printLoadingIndicatorProgress,totalPages:n.totalPages}),n.isSigning&&(pP||(pP=T.createElement(gy,null))),n.isApplyingRedactions&&(fP||(fP=T.createElement(Sy,null))),T.createElement(Tf,{connectionState:n.connectionState,resolvePassword:n.resolvePassword,isUnlockedViaModal:n.isUnlockedViaModal},n.toolbarPlacement===Ru.p.TOP&&y,n.interactionMode===x.A.SEARCH&&(hP||(hP=T.createElement(jy,null))),T.createElement("div",{className:pE().main},!u&&T.createElement(Hp.Z,{onResize:this.handleResizeHelperResize}),n.sidebarPlacement===pu.d.START&&u,T.createElement("div",{className:F()(pE().mainContent,this.state.isResizingSidebar&&pE().mainContentResizing)},this.renderViewport(this.state.isAnnotationTypeReadOnlyMemoized)),n.sidebarPlacement===pu.d.END&&u,u&&T.createElement(Hp.Z,{onResize:this.handleResizeHelperResize})),n.toolbarPlacement===Ru.p.BOTTOM&&y,n.annotationsIdsToDelete&&T.createElement(Xg,{dispatch:this.props.dispatch,annotations:n.annotationsIdsToDelete.map((e=>n.annotations.get(e))).filter(Boolean),eventEmitter:n.eventEmitter,setA11yStatusMessage:this._setA11yStatusMessage}),n.showExitContentEditorDialog&&(mP||(mP=T.createElement(tP,null))),!c&&T.createElement(Pv,{dispatch:this.props.dispatch,printingEnabled:(0,So.VT)(n),isPrinting:n.isPrinting,isTextCopyingAllowed:(0,So.HI)(n),selectedAnnotationsIds:this.props.editableSelectedAnnotationIds,commentThreads:this.props.state.commentThreads,getScrollElement:this.getScrollElement,canDeleteSelectedAnnotationCP:p,canUndo:n.isHistoryEnabled&&n.undoActions.size>0,canRedo:n.isHistoryEnabled&&n.redoActions.size>0,selectedAnnotation:this.props.selectedAnnotation,currentPageIndex:o.currentPageIndex,eventEmitter:n.eventEmitter,backend:n.backend,formFields:n.formFields,areClipboardActionsEnabled:n.areClipboardActionsEnabled,modalClosurePreventionError:this.state.modalClosurePreventionError,setModalClosurePreventionError:e=>{this.setState({modalClosurePreventionError:e})},annotations:n.annotations,selectedGroupId:n.selectedGroupId,annotationsGroups:n.annotationsGroups,frameWindow:n.frameWindow,isMultiSelectionEnabled:n.isMultiSelectionEnabled,contentEditorSession:n.contentEditorSession,interactionMode:n.interactionMode}),r&&this.state.silenceOutdatedDocumentPromptForHandle!==n.documentHandle&&T.createElement(nw,{onConfirm:this.reloadDocument,onCancel:()=>this.closeReloadDocumentModal(n.documentHandle)})),T.createElement(Qg,{locale:n.locale}),T.createElement(bP,{message:n.a11yStatusMessage})))}}const bP=T.memo((e=>T.createElement(ue.TX,{announce:"polite",role:"status",tag:"div"},T.createElement("div",null,e.message)))),wP=(0,A.$j)((e=>{const{annotations:t,hoverAnnotationIds:n,hoverAnnotationNote:o,activeAnnotationNote:r,selectedAnnotationIds:i}=e,a=i.concat(n).map((e=>t.get(e))).filter((e=>e&&e instanceof j.Qi)),s=n.concat(n).map((e=>t.get(e))).filter((e=>e&&e instanceof j.R1)).first(),l=a.first(),c=l&&e.selectedAnnotationMode===Q.o.EDITING?l:null,u=e.selectedAnnotationIds.size>0?e.annotations.get(e.selectedAnnotationIds.first()):null;return{state:e,selectedNoteAnnotations:a,noteAnnotationToModify:c,selectedAnnotation:u,activeAnnotationNote:r,hoverAnnotationNote:o,editableSelectedAnnotationIds:i.filter((t=>{const n=e.annotations.get(t);return n&&!(0,So.lV)(n,e)})),currentTextSelection:e.currentTextSelection,hoveredLinkAnnotation:s}}))(yP);var SP=n(55237);const EP=tt.Ni?396:240,PP=new SP.Z({width:EP,height:EP/3,left:0,top:0}),xP=new SP.Z({width:EP,height:EP,left:0,top:0}),DP=Object.freeze([["Approved",PP],["NotApproved",PP],["Draft",PP],["Final",PP],["Completed",PP],["Confidential",PP],["ForPublicRelease",PP],["NotForPublicRelease",PP],["ForComment",PP],["Void",PP],["PreliminaryResults",PP],["InformationOnly",PP],["Rejected",xP],["Accepted",xP],["InitialHere",PP],["SignHere",PP],["Witness",PP],["AsIs",PP],["Departmental",PP],["Experimental",PP],["Expired",PP],["Sold",PP],["TopSecret",PP],["Revised",PP],["RejectedWithText",PP]].map((e=>{let[t,n]=e;return new s.GI({stampType:t,boundingBox:n})})));var CP=n(84760),kP=n(31835);const AP=(0,H.Z)("ToolbarItems");const OP=["annotationSelection.change"];const TP=(0,H.Z)("Annotations");const IP=(0,H.Z)("Bookmarks");const FP=(0,H.Z)("CustomOverlayItem");var MP=n(8503);const _P=(0,H.Z)("Forms");const RP=(0,H.Z)("InkSignatures"),NP=["inkSignatures.create","inkSignatures.update","inkSignatures.delete","inkSignatures.change"],LP=["storedSignatures.create","storedSignatures.update","storedSignatures.delete","storedSignatures.change"];const BP=(0,H.Z)();async function jP(e,t,n){var o;if("object"!=typeof e||"number"!=typeof e.width&&"number"!=typeof e.height)throw new a.p2("The first argument must be an object with either `width` or `height` set to a number.");if("width"in e&&"height"in e)throw new a.p2("The first argument can't contain both `height` and `width` propeties at the same time.");if("width"in e&&"number"!=typeof e.width)throw new a.p2("`width` must be a number.");if("height"in e&&"number"!=typeof e.height)throw new a.p2("`height` must be a number.");BP("number"==typeof t,"pageIndex must be a number."),await(null===(o=n.getState().annotationManager)||void 0===o?void 0:o.loadAnnotationsForPageIndex(t));const r=n.getState(),i=r.pages.get(t);BP(i,`Could not find page with index ${t} in this document.`);const{pageSize:s}=i;let l,c;"width"in e&&"number"==typeof e.width&&e.width>0&&e.width<=Je.Qr?(l=Math.round(e.width),c=Math.round(l*s.height/s.width)):"height"in e&&"number"==typeof e.height&&e.height>0&&e.height<=Je.Qr?(c=Math.round(e.height),l=Math.round(c*s.width/s.height)):BP(!1,`Could not calculate cover dimensions. Values must be in the interval \`(0; ${Je.Qr}]\`.`);const u=r.annotations.filter((e=>e.pageIndex===t&&!(e instanceof j.Jn||e instanceof j.On&&r.commentThreads.has(e.id)))).toList(),d=r.formFields.filter((e=>e.annotationIds.some((e=>{const n=r.annotations.get(e);return!(!n||n.pageIndex!==t)})))),p=(0,nt.Qg)(d);BP(r.backend);const{promise:f}=r.backend.renderTile(t,new j.$u({width:l,height:c}),new j.UL({width:l,height:c}),!1,!0,{annotations:u,formFieldValues:p,formFields:d.toList(),attachments:r.attachments,signatures:r.digitalSignatures&&r.digitalSignatures.signatures}),{element:h}=await f;return{element:h,width:l,height:c}}var zP=n(96617);const KP={CREDIT_CARD_NUMBER:"credit_card_number",DATE:"date",TIME:"time",EMAIL_ADDRESS:"email_address",INTERNATIONAL_PHONE_NUMBER:"international_phone_number",IP_V4:"ipv4",IP_V6:"ipv6",MAC_ADDRESS:"mac_address",NORTH_AMERICAN_PHONE_NUMBER:"north_american_phone_number",SOCIAL_SECURITY_NUMBER:"social_security_number",URL:"url",US_ZIP_CODE:"us_zip_code",VIN:"vin"},ZP=["search.stateChange","search.termChange"];const UP=(0,H.Z)("StampAnnotationTemplates");var VP=n(49177);class GP extends((0,i.WV)({startTextLineId:null,endTextLineId:null,startPageIndex:null,endPageIndex:null,startNode:null,startOffset:null,endNode:null,endOffset:null,getText:null,getSelectedTextLines:null,getBoundingClientRect:null,getSelectedRectsPerPage:null})){}const WP=["textSelection.change"];function qP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function HP(e){for(var t=1;t{e.setFormJSONUpdateBatchMode(!1)})))}const QP=["history.undo","history.redo","history.change","history.willChange","history.clear"];const ex=(0,H.Z)("DocumentEditorFooterItem");const tx=["documentComparisonUI.start","documentComparisonUI.end"];const nx={Sidebar:Object.values(du.f)};function ox(e){for(const t in e)if(e.hasOwnProperty(t)){(0,Ne.k)(void 0!==typeof nx[t],`'${t}' is not a customizable UI element. Customizable UI elements are: ${Object.keys(nx).join(", ")}`);const n=nx[t];(0,Ne.k)(Object.keys(e[t]).every((e=>n.includes(e))),`The provided custom UI configuration contains one or more invalid keys for "${t}". Valid "${t}" keys are: ${n.join(",")}`),(0,Ne.k)(Object.values(e[t]).every((e=>"function"==typeof e)),"The custom UI values provided must be callback functions.")}return e}var rx=n(62793);const ix=(0,H.Z)(),ax=["instant.connectedClients.change","page.press","textLine.press","annotationPresets.update","annotationNote.hover","annotationNote.press"],sx=[function(e,t){Object.defineProperty(t,"editableAnnotationTypes",{enumerable:!0,configurable:!1,get:()=>e.getState().editableAnnotationTypes}),t.setEditableAnnotationTypes=function(t){if(!Array.isArray(t))throw new a.p2("editableAnnotationTypes must be an array of annotation types.");if(!t.every((e=>e&&e.prototype&&(e.prototype instanceof Ou.Z||e==Ou.Z))))throw new a.p2("editableAnnotationTypes must be an array of annotation types.");e.dispatch((0,En.ZV)((0,i.l4)(t)))},t.setIsEditableAnnotation=function(t){if("function"!=typeof t)throw new a.p2("The type for isEditableAnnotation is not valid. Must be `function`.");e.dispatch((0,En.R1)(t))}},function(e,t){const n=()=>e.getState().annotationPresets;Object.defineProperty(t,"annotationPresets",{enumerable:!0,configurable:!1,get:()=>n().toObject()}),Object.defineProperty(t,"currentAnnotationPreset",{enumerable:!0,configurable:!1,get:()=>e.getState().currentItemPreset}),t.setAnnotationPresets=function(t){let o=t;"function"==typeof t&&(o=t.call(null,n().toObject())),AP("object"==typeof o,`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an object.`),Object.values(o).forEach(Tc);const r=(0,i.D5)(o);n().equals(r)||e.dispatch((0,Qt.QA)(r))},t.setCurrentAnnotationPreset=function(t){const n=e.getState();"string"==typeof t&&(0,a.kG)(void 0!==n.annotationPresets.get(t),`There is no annotation preset with the supplied 'annotationPresetID' ${t}`),e.dispatch((0,Qt.Ds)(t))}},function(e,t){const n=()=>[...e.getState().stampAnnotationTemplates];Object.defineProperty(t,"stampAnnotationTemplates",{enumerable:!0,configurable:!1,get:()=>n()}),t.setStampAnnotationTemplates=function(t){let o=t;"function"==typeof o&&(o=o.call(null,n())),UP(Array.isArray(o),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an array.`),o.forEach(tu);const r=n();JSON.stringify(r)!==JSON.stringify(o)&&e.dispatch((0,Qt.fx)([...o]))}},function(e,t){const{eventEmitter:n}=e.getState();let o=!0,r=l();function i(){if(!o)return;const e=l(),t=r;r=e;const i=t.delete("instance"),a=e.delete("instance");i.equals(a)||(t.currentPageIndex!==e.currentPageIndex&&n.emit("viewState.currentPageIndex.change",e.currentPageIndex),t.zoom!==e.zoom&&n.emit("viewState.zoom.change",e.zoom),n.emit("viewState.change",e,t))}n.events.push(...Du),n.events.push(...Cu);const s=e.subscribe(i);function l(){return function(e,t){return new y.Z({currentPageIndex:e.viewportState.currentPageIndex,zoom:e.viewportState.zoomMode===Xs.c.CUSTOM?e.viewportState.zoomLevel:e.viewportState.zoomMode,pagesRotation:e.viewportState.pagesRotation,layoutMode:e.viewportState.layoutMode,scrollMode:e.viewportState.scrollMode,showToolbar:e.showToolbar,enableAnnotationToolbar:e.enableAnnotationToolbar,allowPrinting:e.printingEnabled,allowExport:e.exportEnabled,interactionMode:e.interactionMode,readOnly:e.readOnlyEnabled!==ve.J.NO,showAnnotations:e.showAnnotations,showComments:e.showComments,showAnnotationNotes:e.showAnnotationNotes,sidebarMode:e.sidebarMode,sidebarOptions:e.sidebarOptions,sidebarPlacement:e.sidebarPlacement,spreadSpacing:e.viewportState.spreadSpacing,pageSpacing:e.viewportState.pageSpacing,keepFirstSpreadAsSinglePage:e.viewportState.keepFirstSpreadAsSinglePage,viewportPadding:new j.gx({horizontal:e.viewportState.viewportPadding.x,vertical:e.viewportState.viewportPadding.y}),instance:t||e.instance,formDesignMode:e.formDesignMode,showSignatureValidationStatus:e.showSignatureValidationStatus,previewRedactionMode:e.previewRedactionMode,keepSelectedTool:e.keepSelectedTool,resolvedLayoutMode:(0,Hs.nw)(e.viewportState),sidebarWidth:e.sidebarWidth})}(e.getState(),t)}return Object.defineProperty(t,"viewState",{enumerable:!0,configurable:!1,get:l}),t.setViewState=function(t){let n=t;if("function"==typeof n&&(n=n.call(null,l())),!(n instanceof j.f7)){const e="function"==typeof n?"return value of your update function":"supplied argument";throw new a.p2(`The ${e} is not an instance of PSPDFKit.ViewState.`)}o=!1,n=Au(n,e),function(e,t,n){t.zoom!==n.zoom&&(n.zoom===Xs.c.AUTO?e.dispatch((0,Eu._R)()):n.zoom===Xs.c.FIT_TO_VIEWPORT?e.dispatch((0,Eu.lO)()):n.zoom===Xs.c.FIT_TO_WIDTH?e.dispatch((0,Eu.du)()):"number"==typeof n.zoom&&e.dispatch((0,Eu.Ic)(n.zoom)));if(t.pagesRotation!==n.pagesRotation){const o=(0,Yr.n5)(n.pagesRotation-t.pagesRotation);e.dispatch((0,Eu.U1)(o))}t.layoutMode!==n.layoutMode&&e.dispatch((0,En.YA)(n.layoutMode));t.scrollMode!==n.scrollMode&&e.dispatch((0,En._U)(n.scrollMode));t.showToolbar!==n.showToolbar&&(t.showToolbar?e.dispatch((0,En.iu)()):e.dispatch((0,En.bv)()));t.enableAnnotationToolbar!==n.enableAnnotationToolbar&&(t.enableAnnotationToolbar?e.dispatch((0,En.Wv)()):e.dispatch((0,En.m$)()));t.allowPrinting!==n.allowPrinting&&(n.allowPrinting?e.dispatch((0,En.Ol)()):e.dispatch((0,En.m0)()));t.allowExport!==n.allowExport&&(n.allowExport?e.dispatch((0,En.Rx)()):e.dispatch((0,En.YI)()));t.zoomStep!==n.zoomStep&&(!n.zoomStep||n.zoomStep<1?((0,a.ZK)(`The zoomStep value must be greater than 1. The value you provided was ${n.zoomStep}.The zoomStep value will be set to default ${Je.V4}`),e.dispatch((0,En.Ql)(Je.V4))):e.dispatch((0,En.Ql)(n.zoomStep)));const o=e.getState();t.showSignatureValidationStatus!==n.showSignatureValidationStatus&&((0,a.kG)(o.features.includes(ge.q.DIGITAL_SIGNATURES),bu),e.dispatch((0,En.A7)(n.showSignatureValidationStatus)));(!0===n.formDesignMode||(0,nt.fF)(n.interactionMode))&&((0,a.kG)(o.features.includes(ge.q.FORM_DESIGNER),wu.RB),(0,a.kG)(o.backend&&(0,So.k_)(o.backend),wu.Bl));!0===n.previewRedactionMode&&(0,a.kG)(o.features.includes(ge.q.REDACTIONS),"The API you're trying to use requires a redactions license. Redactions is a component of PSPDFKit for Web and sold separately.");n.interactionMode===x.A.DOCUMENT_EDITOR&&(0,a.kG)(o.features.includes(ge.q.DOCUMENT_EDITING),gu);n.interactionMode===x.A.CONTENT_EDITOR&&(0,a.kG)(o.features.includes(ge.q.CONTENT_EDITING),sc.Aq);t.formDesignMode!==n.formDesignMode&&e.dispatch((0,En.LE)(n.formDesignMode));if(t.interactionMode!==n.interactionMode){if(null!=n.interactionMode){const r=ku(n.interactionMode,o),i=t.interactionMode?ku(t.interactionMode,o):null;(n.interactionMode===x.A.DOCUMENT_EDITOR&&(0,So.Xr)({features:o.features,backendPermissions:o.backendPermissions,documentPermissions:o.documentPermissions,readOnlyEnabled:o.readOnlyEnabled})||n.interactionMode===x.A.CONTENT_EDITOR&&(0,So.qs)({features:o.features,backendPermissions:o.backendPermissions,documentPermissions:o.documentPermissions,readOnlyEnabled:o.readOnlyEnabled})||!n.readOnly||r.allowWhenInReadOnlyMode)&&(0,A.dC)((()=>{i&&e.dispatch(i.onLeaveAction()),e.dispatch(r.onEnterAction())}))}else if(null!=t.interactionMode){const n=ku(t.interactionMode,o);e.dispatch((0,je.fz)()),e.dispatch(n.onLeaveAction())}n.interactionMode===x.A.INK_SIGNATURE&&(0,_.a1)("PSPDFKit.InteractionMode.INK_SIGNATURE was deprecated and will be removed in future version. Please use PSPDFKit.InteractionMode.SIGNATURE instead.")}t.readOnly!==n.readOnly&&(n.readOnly?e.dispatch((0,En.oX)(ve.J.VIA_VIEW_STATE)):e.dispatch((0,En.ek)()));t.showAnnotations!==n.showAnnotations&&(n.showAnnotations?e.dispatch((0,En.cI)()):e.dispatch((0,En.Tu)()));t.showComments!==n.showComments&&((0,a.kG)(o.features.includes(ge.q.COMMENTS),Ml.kx),n.showComments?e.dispatch((0,En.Q8)()):e.dispatch((0,En.u0)()));t.showAnnotationNotes!==n.showAnnotationNotes&&(n.showAnnotationNotes?e.dispatch((0,En.T)()):e.dispatch((0,En.SE)()));const r={[du.f.ANNOTATIONS]:En.ze,[du.f.BOOKMARKS]:En.Hf,[du.f.DOCUMENT_OUTLINE]:En.EJ,[du.f.THUMBNAILS]:En.el,[du.f.CUSTOM]:En.rd};t.sidebarMode!==n.sidebarMode&&(null===n.sidebarMode?e.dispatch((0,En.mu)()):e.dispatch(r[n.sidebarMode]()));t.sidebarPlacement!==n.sidebarPlacement&&e.dispatch((0,En.Ox)(n.sidebarPlacement));t.sidebarOptions!==n.sidebarOptions&&e.dispatch((0,En.vI)(n.sidebarOptions));t.spreadSpacing!==n.spreadSpacing&&e.dispatch((0,En.JN)(n.spreadSpacing));t.pageSpacing!==n.pageSpacing&&e.dispatch((0,En.vY)(n.pageSpacing));t.keepFirstSpreadAsSinglePage!==n.keepFirstSpreadAsSinglePage&&e.dispatch((0,En.EY)(n.keepFirstSpreadAsSinglePage));if(t.viewportPadding.horizontal!==n.viewportPadding.horizontal||t.viewportPadding.vertical!==n.viewportPadding.vertical){const t=new j.E9({x:n.viewportPadding.horizontal,y:n.viewportPadding.vertical});e.dispatch((0,En._P)(t))}t.currentPageIndex!==n.currentPageIndex&&e.dispatch((0,Eu.YA)(n.currentPageIndex));t.previewRedactionMode!==n.previewRedactionMode&&e.dispatch((0,En.P_)(n.previewRedactionMode));n.canScrollWhileDrawing&&!t.canScrollWhileDrawing&&e.dispatch((0,En.xW)());!n.canScrollWhileDrawing&&t.canScrollWhileDrawing&&e.dispatch((0,En.Ft)());n.keepSelectedTool&&e.dispatch((0,En.HT)());!n.keepSelectedTool&&t.keepSelectedTool&&e.dispatch((0,En.Xv)());if(t.sidebarWidth!==n.sidebarWidth){const t=e.getState(),{containerRect:o}=t,r={width:n.sidebarWidth,height:o.height};(0,A.dC)((()=>{e.dispatch((0,Eu.Pt)(n.sidebarWidth)),e.dispatch((0,Eu.dx)(xu(t,r,n.sidebarWidth),!1))})),t.viewportState.viewportRect.set("height",r.height)}}(e,l(),n),o=!0,i()},s},function(e,t){const n=()=>e.getState().toolbarItems;Object.defineProperty(t,"toolbarItems",{enumerable:!0,configurable:!1,get:()=>n().toJS()}),t.setToolbarItems=function(t){let o=t;"function"==typeof o&&(o=o.call(null,n().toJS())),$P(Array.isArray(o),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an array.`);const{backend:r}=e.getState();o=o.map((e=>"ink-signature"===e.type?((0,a.a1)("The 'ink-signature' toolbar item type has been renamed to 'signature'. The 'ink-signature' identifier will be removed on a future release of PSPDFKit for Web."),HP(HP({},e),{},{type:"signature"})):e)).filter((e=>"content-editor"!==e.type||"SERVER"!==(null==r?void 0:r.type)||((0,a.ZK)("The 'content-editor' toolbar item type is not supported in the Server backend: Content Editing is only available in Standalone."),!1))),o.forEach(Nc);const s=(0,i.d0)(o);var l;n().equals(s)||e.dispatch((l=s,{type:te.aWu,toolbarItems:l}))},t.setAnnotationToolbarItems=t=>{(0,a.kG)("function"==typeof t,"The annotationToolbarItemsCallback argument must be a function."),e.dispatch((e=>({type:te.T3g,annotationToolbarItemsCallback:e}))(t))}},function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("annotations.willChange","annotations.change","annotations.willSave","annotations.didSave","annotations.load","annotations.create","annotations.update","annotations.delete","annotations.press","annotations.focus","annotations.blur","annotations.transform","annotations.cut","annotations.copy","annotations.paste","annotations.duplicate");let n=e.getState().annotations;const o=()=>t.emit("annotations.willSave"),r=()=>t.emit("annotations.didSave"),i=e=>t.emit("annotations.load",e),a=e=>t.emit("annotations.create",e),s=e=>t.emit("annotations.update",e),l=e=>t.emit("annotations.delete",e);let c=!1;const u=()=>{if(!c){const{annotationManager:t}=e.getState();t&&(t.eventEmitter.on("willSave",o),t.eventEmitter.on("didSave",r),t.eventEmitter.on("load",i),t.eventEmitter.on("create",a),t.eventEmitter.on("update",s),t.eventEmitter.on("delete",l),c=!0)}},d=e.subscribe((()=>{const o=e.getState().annotations;n!==o&&(n=o,t.emit("annotations.change")),u()}));return u(),()=>{if(c){const{annotationManager:t}=e.getState();TP(t,"AnnotationManager is not present in the state"),t.eventEmitter.off("willSave",o),t.eventEmitter.off("didSave",r),t.eventEmitter.off("load",i),t.eventEmitter.off("create",a),t.eventEmitter.off("update",s),t.eventEmitter.off("delete",l),c=!1}d()}}(e);return t.getAnnotations=async function(t){TP("number"==typeof t,"`pageIndex` must be a number");const{annotationManager:n,totalPages:o}=e.getState();TP(t>-1&&te.pageIndex===t)).toList()},t.createAttachment=async function(t){const{hash:n}=await(0,He.uq)(t),o=new j.Pg({data:t});return e.dispatch((0,vv.O)(n,o)),n},t.getAttachment=async function(t){if(!(0,J.F3)(t))throw new a.p2(`${t} is not a valid attachment.`);const n=e.getState(),o=n.attachments.get(t);if(o){if(o.data)return o.data;throw new a.p2(`Attachment ${t} not found.`)}return TP(n.backend),n.backend.getAttachment(t)},t.calculateFittingTextAnnotationBoundingBox=function(t){TP(t instanceof s.gd,"The annotation in `calculateFittingTextAnnotationBoundingBox(annotation)` must be of type `PSPDFKit.Annotations.TextAnnotation`"),TP("number"==typeof t.pageIndex,"`pageIndex` must be a number");const{viewportState:n}=e.getState(),o=n.pageSizes.get(t.pageIndex);return TP(o,"`pageIndex` is not a valid page index in the open document"),(0,vt.Zv)(t,o)},t.getEmbeddedFiles=async function(){const{backend:t}=e.getState();return TP(t),t.getEmbeddedFiles()},t.setOnAnnotationResizeStart=function(t){e.dispatch((0,Qt.dt)(t))},n},function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("bookmarks.change","bookmarks.willSave","bookmarks.didSave","bookmarks.load","bookmarks.create","bookmarks.update","bookmarks.delete");const n=()=>t.emit("bookmarks.change"),o=()=>t.emit("bookmarks.willSave"),r=()=>t.emit("bookmarks.didSave"),i=e=>t.emit("bookmarks.load",e),a=e=>t.emit("bookmarks.create",e),s=e=>t.emit("bookmarks.update",e),l=e=>t.emit("bookmarks.delete",e);let c=!1;const u=()=>{if(!c){const{bookmarkManager:t}=e.getState();t&&(t.eventEmitter.on("change",n),t.eventEmitter.on("willSave",o),t.eventEmitter.on("didSave",r),t.eventEmitter.on("load",i),t.eventEmitter.on("create",a),t.eventEmitter.on("update",s),t.eventEmitter.on("delete",l),c=!0)}},d=e.subscribe(u);return u(),()=>{if(c){const{bookmarkManager:t}=e.getState();t.eventEmitter.off("change",n),t.eventEmitter.off("willSave",o),t.eventEmitter.off("didSave",r),t.eventEmitter.off("load",i),t.eventEmitter.off("create",a),t.eventEmitter.off("update",s),t.eventEmitter.off("delete",l),c=!1}d()}}(e);return t.getBookmarks=async function(){var t;const n=await(null===(t=e.getState().bookmarkManager)||void 0===t?void 0:t.getBookmarks());return IP(n),n.toList()},n},function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("formFieldValues.update","formFieldValues.willSave","formFieldValues.didSave","forms.willSubmit","forms.didSubmit","formFields.change","formFields.willSave","formFields.didSave","formFields.load","formFields.create","formFields.update","formFields.delete");const n=e.getState();let{formFields:o}=n;const r=()=>t.emit("formFieldValues.willSave"),i=()=>t.emit("formFieldValues.didSave"),a=e=>t.emit("formFieldValues.update",e),s=e=>t.emit("forms.willSubmit",e),l=e=>t.emit("forms.didSubmit",e),c=()=>t.emit("formFields.willSave"),u=()=>t.emit("formFields.didSave"),d=e=>t.emit("formFields.load",e),p=e=>t.emit("formFields.create",e),f=e=>t.emit("formFields.update",e),h=e=>t.emit("formFields.delete",e);let m=!1,g=!1;const v=()=>{const t=e.getState();if(!m){const{formFieldValueManager:e}=t;e&&(e.eventEmitter.on("willSave",r),e.eventEmitter.on("didSave",i),e.eventEmitter.on("update",a),e.eventEmitter.on("willSubmit",s),e.eventEmitter.on("didSubmit",l),m=!0)}if(!g){const{formFieldManager:e}=t;e&&(0,So.ix)(t)&&(e.eventEmitter.on("willSave",c),e.eventEmitter.on("didSave",u),e.eventEmitter.on("load",d),e.eventEmitter.on("create",p),e.eventEmitter.on("update",f),e.eventEmitter.on("delete",h),g=!0)}},y=e.subscribe((()=>{const n=e.getState();if((0,So.ix)(n)){const e=n.formFields;o!==e&&(o=e,t.emit("formFields.change"))}v()}));return v(),()=>{if(m){const{formFieldValueManager:t}=e.getState();t.eventEmitter.off("willSave",r),t.eventEmitter.off("didSave",i),t.eventEmitter.off("update",a),t.eventEmitter.off("willSubmit",s),t.eventEmitter.off("didSubmit",l),m=!1}if(g){const{formFieldManager:t}=e.getState();t.eventEmitter.off("willSave",c),t.eventEmitter.off("didSave",u),t.eventEmitter.off("load",d),t.eventEmitter.off("create",p),t.eventEmitter.off("update",f),t.eventEmitter.off("delete",h),g=!1}y()}}(e);return t.getFormFields=async function(){const{features:t,formFieldManager:n,formsEnabled:o}=e.getState();_P(t.includes(ge.q.FORMS),wu.DR),_P(o,wu.BZ),n instanceof MP.c&&await n.loadFormFields();const{formFields:r}=e.getState();return r.valueSeq().toList()},t.getFormFieldValues=function(){const{formFields:t,features:n,formsEnabled:o}=e.getState();return _P(n.includes(ge.q.FORMS),wu.DR),_P(o,wu.BZ),(0,nt.Qg)(t).reduce(((e,t)=>(e[t.name]=t.value instanceof i.aV?t.value.toJS():t.value,e)),{})},t.setFormFieldValues=async function(t){const{formFieldManager:n,features:o,formsEnabled:r}=e.getState();_P(o.includes(ge.q.FORMS),wu.DR),_P(r,wu.BZ),n instanceof MP.c&&await n.loadFormFields();const{formFields:a}=e.getState(),s=Object.keys(t).map((e=>{const n=a.get(e);_P(a.has(e),`Tried to set the form field value for form field \`${e}\` which does not exist.`);const o=Array.isArray(t[e])?(0,i.aV)(t[e]):t[e];return n&&(0,wu._1)(n,o),{name:e,value:o,optionIndexes:void 0}}));return new Promise((t=>{e.dispatch((0,Mo.xh)(s,t))})).then((()=>{})).catch((e=>{throw e}))},t.setOnWidgetAnnotationCreationStart=function(t){const{features:n}=e.getState();_P("function"==typeof t,"The callback must be a function."),_P(n.includes(ge.q.FORMS),wu.DR),_P(n.includes(ge.q.FORM_DESIGNER),wu.RB),e.dispatch((0,Mo.r$)(t))},n},function(e,t){t.getTextSelection=function(){var t,n,o,r;const i=e.getState(),s=i.currentTextSelection;return s?new GP({startTextLineId:s.startTextLineId,endTextLineId:s.endTextLineId,startPageIndex:s.startPageIndex,endPageIndex:s.endPageIndex,startNode:null===(t=s.textRange)||void 0===t?void 0:t.startNode,startOffset:null===(n=s.textRange)||void 0===n?void 0:n.startOffset,endNode:null===(o=s.textRange)||void 0===o?void 0:o.endNode,endOffset:null===(r=s.textRange)||void 0===r?void 0:r.endOffset,getText:async()=>(0,ga.Q)(i,s),getSelectedTextLines:async()=>((0,a.kG)(s.textRange),(0,ga.ZJ)(i,s.textRange).valueSeq().toList().flatten(!0)),getBoundingClientRect:async()=>((0,a.kG)(s.textRange),(0,ga.U2)(i,s.textRange)),getSelectedRectsPerPage:async()=>(0,VP.rf)(i)}):null};let n=e.getState();const{eventEmitter:o}=n;return o.events.push(...WP),e.subscribe((()=>{const r=e.getState();n.currentTextSelection!==r.currentTextSelection&&o.emit("textSelection.change",t.getTextSelection()),n=r}))},function(e,t){function n(){const{selectedAnnotationIds:t,annotations:n}=e.getState();if(t.size>=1){const e=t.first();(0,a.kG)(e);return n.get(e)}return null}function o(t,n){if(!t)return void e.dispatch((0,je.fz)());const o=i.aV.isList(t)?t:(0,i.aV)([t]),{annotations:r}=e.getState(),l=e.getState(),c=o.map((t=>{const n=t instanceof s.q6?t.id:t;(0,a.kG)("string"==typeof n,"annotationId must be a string"),(0,a.kG)(r.has(n),"Unknown annotationId. Either the annotation was not yet created or is not yet loaded from the annotation provider.");const o=r.get(n);return(0,a.kG)(o&&(0,J.Fp)(o),"Annotations with the `noView` or `hidden` flag set cannot be selected."),o instanceof s.x_&&!l.formDesignMode?e.dispatch((0,Qt.vy)(n)):((0,a.kG)(!(o instanceof s.x_)||l.features.includes(ge.q.FORM_DESIGNER),`Cannot select PSPDFKit.Annotations.WidgetAnnotation: ${wu.RB}`),(0,a.kG)(!(o instanceof s.x_)||(0,So.k_)(l.backend),`Cannot select PSPDFKit.Annotations.WidgetAnnotation: ${wu.Bl}`)),n}));if(1===c.size){const t=r.get(c.first());e.dispatch((0,je.J4)(c.toSet(),t instanceof s.gd||t instanceof s.Qi?n:Q.o.SELECTED))}else e.dispatch((0,je.J4)(c.toSet(),Q.o.SELECTED))}t.getSelectedAnnotation=function(){(0,a.XV)("getSelectedAnnotation","getSelectedAnnotations",!1);for(var e=arguments.length,t=new Array(e),o=0;o=1?(0,i.aV)(t.map((e=>{const t=n.get(e);return(0,a.kG)(t),t}))):null},t.setSelectedAnnotation=function(e){(0,a.XV)("setSelectedAnnotation","setSelectedAnnotations",!1),o(e,Q.o.SELECTED)},t.setSelectedAnnotations=function(e){o(e,Q.o.SELECTED)},t.groupAnnotations=function(t){if(!t||0===(null==t?void 0:t.size))return;const n=null==t?void 0:t.map((e=>e instanceof s.q6?e.id:e));e.dispatch((0,En._R)(n.toSet()))},t.getAnnotationsGroups=function(){const{annotationsGroups:t}=e.getState();return t.size>=1?t:null},t.deleteAnnotationsGroup=function(t){t&&e.dispatch((0,En.UZ)(t))},t.setEditingAnnotation=function(t,n){e.dispatch((0,je.fz)()),!0===n&&e.dispatch((0,je.Y1)()),o(t,Q.o.EDITING)};let r=n();const{eventEmitter:l}=e.getState();return l.events.push(...OP),e.subscribe((()=>{const e=n();(r&&r.id)!==(e&&e.id)?(r=e,l.emit("annotationSelection.change",e)):r=e}))},function(e,t){t.setCustomOverlayItem=function(t){FP(t instanceof f.Z,"invalid item. Expected an instance of PSPDFKit.CustomOverlayItem"),(0,f.G)(t),e.dispatch((e=>({type:te.jJ7,item:e}))(t))},t.removeCustomOverlayItem=function(t){FP("string"==typeof t,"`id` must be a string"),e.dispatch((e=>({type:te.G8_,id:e}))(t))}},function(e,t){t.setLocale=async function(t){const n=(0,wc.z5)(t);await(0,wc.sS)(n),e.dispatch((0,En.i_)(n))},Object.defineProperty(t,"locale",{enumerable:!0,configurable:!1,get:()=>e.getState().locale})},function(e,t){const n=()=>e.getState().searchState;t.search=async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{backend:o,totalPages:r,searchState:{minSearchQueryLength:i}}=e.getState(),a=null!=n.startPageIndex?n.startPageIndex:0,s=null!=n.endPageIndex?n.endPageIndex:r-1,l=n.searchType||zP.S.TEXT,c=n.searchInAnnotations||!1,u="boolean"==typeof n.caseSensitive?n.caseSensitive:l!==zP.S.TEXT;return(0,Ne.k)(Object.values(zP.S).includes(l),"searchType is not valid."),l===zP.S.PRESET&&(0,Ne.k)(Object.values(KP).includes(t),"search query is not a valid search pattern."),(0,Ne.k)("number"==typeof a&&"number"==typeof s,"startPageIndex/endPageIndex must be numbers"),(0,Ne.k)("boolean"==typeof c,"searchInAnnotations should be boolean"),(0,Ne.k)(void 0===n.caseSensitive||"boolean"==typeof n.caseSensitive,"caseSensitive should be boolean"),(0,Ne.k)(s>=a,"endPageIndex must be greater than or equal to startPageIndex"),(0,Ne.k)(t.length>=i,`"${t}" - search query length (${t.length}) shorter than the minimum (${i})`),(0,Ne.k)(o),await o.search(t,a,s-a+1,u,c,l)},Object.defineProperty(t,"searchState",{enumerable:!0,configurable:!1,get:n}),t.setSearchState=function(t){let o=t;if("function"==typeof o&&(o=o.call(null,n())),!(o instanceof rl.Z)){const e="function"==typeof o?"return value of your update function":"supplied argument";throw new a.p2(`The ${e} is not an instance of PSPDFKit.SearchState.`)}const r=n();o.minSearchQueryLength!==r.minSearchQueryLength&&((0,a.ZK)(`Trying to set readonly property SearchState.minSearchQueryLength from ${r.minSearchQueryLength} to ${o.minSearchQueryLength} failed. For more details please see https://pspdfkit.com/api/web/PSPDFKit.SearchState.html#minSearchQueryLength`),o=o.set("minSearchQueryLength",r.minSearchQueryLength)),function(e){if("boolean"!=typeof e.isFocused)throw new a.p2("`isFocused` must be of type boolean.");if("boolean"!=typeof e.isLoading)throw new a.p2("`isLoading` must be of type boolean.");if("string"!=typeof e.term)throw new a.p2("`term` must be of type string.");if("number"!=typeof e.focusedResultIndex)throw new a.p2("`focusedResultIndex` must be of type number.");if(!(e.results instanceof i.aV))throw new a.p2("`results` must be of type PSPDFKit.Immutable.List.")}(o),function(e,t,n){const{dispatch:o}=e;t!==n&&o((0,Dc.j8)(n))}(e,n(),o)},t.startUISearch=function(t){const{dispatch:n,getState:o}=e,{searchProvider:r,eventEmitter:i,searchState:{minSearchQueryLength:a}}=o();let s=!1;i.emit("search.termChange",{term:t,preventDefault:()=>{s=!0}}),s||((0,Ne.k)(t.length>=a,`"${t}" - search query length (${t.length}) shorter than the minimum (${a})`),n((0,Dc.Xe)()),n((0,Dc._8)(t)),null==r||r.searchTerm(t))};let o=e.getState();const{eventEmitter:r}=o;return r.events.push(...ZP),e.subscribe((()=>{const t=e.getState();o.searchState.equals(t.searchState)||r.emit("search.stateChange",t.searchState),o=t}))},function(e,t){t.renderPageAsArrayBuffer=async function(t,n){const{element:o,width:r,height:i}=await jP(t,n,e);let a;if(o instanceof HTMLImageElement){const e=document.createElement("canvas");e.width=r,e.height=i,a=e.getContext("2d"),await(0,jr.sR)(o),a.drawImage(o,0,0,r,i)}else o instanceof HTMLCanvasElement?a=o.getContext("2d"):BP(!1,"There was an error while rendering the page. Please try again.");return a.getImageData(0,0,r,i).data.buffer},t.renderPageAsImageURL=async function(t,n){const{element:o}=await jP(t,n,e);return o instanceof HTMLImageElement?o.src:o instanceof HTMLCanvasElement?URL.createObjectURL(await(0,jr._c)(o)):void BP(!1,"There was an error while generating the image URL. Please try again.")}},function(e,t){async function n(){let{storedSignatures:t}=e.getState().signatureState;if(!t){const n=jS();await n(e.dispatch,e.getState),t=e.getState().signatureState.storedSignatures}return t||(0,i.aV)()}async function o(t){let n=e.getState().signatureState.storedSignatures;const o=n instanceof i.aV;n||(n=await e.getState().signatureState.populateStoredSignatures());let r=t;"function"==typeof r&&(r=r.call(null,n)),RP(r instanceof i.aV&&r.every((e=>e instanceof j.Zc||e instanceof j.sK)),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not a PSPDFKit.Immutable.List of PSPDFKit.Annotations.InkAnnotation or PSPDFKit.Annotations.ImageAnnotation`),o&&n.equals(r)||(e.dispatch(BS(r)),e.getState().eventEmitter.emit("inkSignatures.update",r),e.getState().eventEmitter.emit("inkSignatures.change"),e.getState().eventEmitter.emit("storedSignatures.update",r),e.getState().eventEmitter.emit("storedSignatures.change"))}e.getState().eventEmitter.events.push(...NP,...LP),t.getInkSignatures=async function(){return(0,_.XV)("instance.getInkSignatures","instance.getStoredSignatures"),n()},t.getStoredSignatures=n,t.setInkSignatures=async function(e){return(0,_.XV)("instance.setInkSignatures","instance.setStoredSignatures"),o(e)},t.setStoredSignatures=o},function(e,t){e.getState().eventEmitter.events.push(...vu),t.applyOperations=function(t){const{features:n}=e.getState();return(0,a.kG)(n.includes(ge.q.DOCUMENT_EDITING),gu),hu(t),new Promise(((n,o)=>{e.dispatch((0,mu.b_)(t,n,o))}))},t.exportPDFWithOperations=async function(t){const{features:n,backend:o}=e.getState();return(0,a.kG)(n.includes(ge.q.DOCUMENT_EDITING),gu),hu(t),(0,a.kG)(o),o.exportPDFWithOperations(t.map(vc.kg))}},function(e,t){t.setIsEditableComment=function(t){(0,a.kG)("function"==typeof t,"The type for isEditableComment is not valid. Must be `function`."),e.dispatch((0,En.Gh)(t))}},function(e,t){t.getSignaturesInfo=function(){const{features:t,backend:n}=e.getState();return(0,a.kG)(t.includes(ge.q.DIGITAL_SIGNATURES),bu),(0,a.kG)(n),n.getSignaturesInfo().then((t=>(e.dispatch((0,yu.Y)(t)),t)))},t.signDocument=function(t,n){const{features:o,backend:r}=e.getState();var i;((0,a.kG)(o.includes(ge.q.DIGITAL_SIGNATURES),bu),t&&(0,Mr.w2)(t,r),"STANDALONE"===(null==r?void 0:r.type))?null!=t&&t.signingData?(0,a.kG)(void 0===n||void 0===(null==t||null===(i=t.signingData)||void 0===i?void 0:i.privateKey),"On a Standalone deployment, when `signaturePreparationData.signingData.privateKey` is set, `twoStepSignatureCallbackOrSigningServiceData` should not be provided."):(0,a.kG)("function"==typeof n,"On a Standalone deployment, when `signaturePreparationData.signingData` is not provided or does not include a `privateKey`, `twoStepSignatureCallbackOrSigningServiceData` must be a function."):"SERVER"===(null==r?void 0:r.type)&&(0,a.kG)(!n||"object"==typeof n,"On a Server deployment, `twoStepSignatureCallbackOrSigningServiceData` must be a `PSPDFKit.SigningServiceData` object if specified.");return e.dispatch((0,En.d9)()),new Promise(((o,r)=>{e.dispatch((0,yu.e)(t,n,(()=>{e.dispatch((0,En.t6)()),o()}),(t=>{e.dispatch((0,En.t6)()),r(t)})))}))}},function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("comments.change","comments.willSave","comments.didSave","comments.load","comments.create","comments.update","comments.delete","comments.mention");const n=()=>t.emit("comments.change"),o=()=>t.emit("comments.willSave"),r=()=>t.emit("comments.didSave"),i=e=>t.emit("comments.load",e),a=e=>t.emit("comments.create",e),s=e=>t.emit("comments.update",e),l=e=>t.emit("comments.delete",e);let c=!1;const u=()=>{if(!c){const{commentManager:t}=e.getState();t&&(t.eventEmitter.on("change",n),t.eventEmitter.on("willSave",o),t.eventEmitter.on("didSave",r),t.eventEmitter.on("load",i),t.eventEmitter.on("create",a),t.eventEmitter.on("update",s),t.eventEmitter.on("delete",l),c=!0)}},d=e.subscribe(u);return u(),()=>{if(c){const{commentManager:t}=e.getState();t&&(t.eventEmitter.off("change",n),t.eventEmitter.off("willSave",o),t.eventEmitter.off("didSave",r),t.eventEmitter.off("load",i),t.eventEmitter.off("create",a),t.eventEmitter.off("update",s),t.eventEmitter.off("delete",l)),c=!1}d()}}(e);return t.getComments=async function(){const{comments:t,backend:n}=e.getState(),o=t.filter((e=>!(0,Ml.kT)(e))).toList();return o.size||null==n||!n.isUsingInstantProvider()?o:new Promise((t=>{const n=setInterval((()=>{const{hasFetchedInitialRecordsFromInstant:o,comments:r}=e.getState();o&&(clearInterval(n),t(r.filter((e=>!(0,Ml.kT)(e))).toList()))}),500)}))},t.setMentionableUsers=function(t){e.dispatch((0,bi.v7)(t))},t.setMaxMentionSuggestions=function(t){e.dispatch((0,bi.aZ)(t))},t.setOnCommentCreationStart=function(t){(0,a.kG)("function"==typeof t,"The callback must be a function."),e.dispatch((0,bi.Rf)(t))},n},YP.Z,function(e,t){const n=function(e){const{eventEmitter:t}=e.getState();t.events.push("document.saveStateChange");const n=e=>{t.emit("document.saveStateChange",e)};let o=!1;const r=()=>{if(!o){const{changeManager:t}=e.getState();t&&(t.eventEmitter.on("saveStateChange",n),o=!0)}},i=e.subscribe((()=>{r()}));return r(),()=>{if(o){const{changeManager:t}=e.getState();(0,a.kG)(t),t.eventEmitter.off("saveStateChange",n),o=!1}i()}}(e);return t.save=async function(){const{changeManager:t}=e.getState();return(0,a.kG)(t),t.save(!0)},t.hasUnsavedChanges=function(){const{changeManager:t}=e.getState();return(0,a.kG)(t),t.hasUnsavedChanges()},t.syncChanges=async function(){const{backend:n}=e.getState();if((0,a.kG)(n),!n.isUsingInstantProvider())throw new a.p2("You need PSPDFKit Instant to use this method.");return t.save()},t.create=async function(t){const{changeManager:n,backend:o}=e.getState();return(0,a.kG)(n&&o),JP(o,(()=>n.create(XP(t))))},t.update=async function(t){const{changeManager:n,backend:o}=e.getState();return(0,a.kG)(n&&o),JP(o,(()=>n.update(XP(t))))},t.delete=async function(t){const{changeManager:n,backend:o}=e.getState();return(0,a.kG)(n&&o),JP(o,(()=>n.delete(XP(t))))},t.ensureChangesSaved=async function(t){const{changeManager:n,backend:o}=e.getState();return(0,a.kG)(n&&o),"STANDALONE"===(null==o?void 0:o.type)&&await(null==o?void 0:o.setFormJSONUpdateBatchMode(!1)),n.ensureChangesSaved(XP(t))},n},YP.Z,function(e,t){t.setGroup=function(t){const{backend:n}=e.getState();null!=n&&n.isCollaborationPermissionsEnabled()?e.dispatch((0,En.YK)(t)):(0,a.ZK)("`instance.setGroup` is no-op if Collaboration Permissions is not enabled.")},t.resetGroup=function(){const{backend:t}=e.getState();null!=t&&t.isCollaborationPermissionsEnabled()?e.dispatch((0,En.YK)(t.getDefaultGroup())):(0,a.ZK)("`instance.setGroup` is no-op if Collaboration Permissions is not enabled.")}},function(e,t){const n=()=>e.getState().documentEditorFooterItems,o=()=>e.getState().documentEditorToolbarItems;Object.defineProperty(t,"documentEditorFooterItems",{enumerable:!0,configurable:!1,get:()=>n().toJS()}),Object.defineProperty(t,"documentEditorToolbarItems",{enumerable:!0,configurable:!1,get:()=>o().toJS()}),t.setDocumentEditorFooterItems=function(t){const{features:o}=e.getState();(0,Ne.k)(o.includes(ge.q.DOCUMENT_EDITING),gu);let r=t;"function"==typeof r&&(r=r(n().toJS())),ex(Array.isArray(r),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an array.`),r.forEach(Kc);const a=(0,i.d0)(r);var s;n().equals(a)||e.dispatch((s=a,{type:te.Kpf,documentEditorFooterItems:s}))},t.setDocumentEditorToolbarItems=function(t){const{features:n}=e.getState();(0,Ne.k)(n.includes(ge.q.DOCUMENT_EDITING),gu);let r=t;"function"==typeof r&&(r=r(o().toJS())),ex(Array.isArray(r),`The ${"function"==typeof t?"return value of your update function":"supplied argument"} is not an array.`),r.forEach(Hc);const a=(0,i.d0)(r);var s;o().equals(a)||e.dispatch((s=a,{type:te.wPI,documentEditorToolbarItems:s}))}},function(e,t){function n(){const{isHistoryEnabled:t,undoActions:n}=e.getState();return t&&n.size>0}function o(){const{isHistoryEnabled:t,redoActions:n}=e.getState();return t&&n.size>0}e.getState().eventEmitter.events.push(...QP),t.history={},t.history.undo=async function(){return!!n()&&(e.dispatch((0,gv.Yw)()),!0)},t.history.redo=async function(){return!!o()&&(e.dispatch((0,gv.KX)()),!0)},t.history.canUndo=function(){return n()},t.history.canRedo=function(){return o()},t.history.clear=function(){e.dispatch((0,gv.QQ)())},t.history.enable=function(){e.dispatch((0,gv.z9)())},t.history.disable=function(){e.dispatch((0,gv.ou)())}},function(e,t){t.parseXFDF=async t=>{const{backend:n}=e.getState();return(0,a.kG)(n,"backend is null."),(0,a.kG)("STANDALONE"===n.type,"`instance.parseXFDF` only works in standalone mode."),n.parseXFDF(t)}},function(e,t){e.getState().eventEmitter.events.push(...tx),t.setDocumentComparisonMode=async function(t){const{features:n,backend:o,viewportState:{documentComparisonMode:r}}=e.getState();if((0,a.kG)(n.includes(ge.q.DOCUMENT_COMPARISON),XS.nN),(0,a.kG)("STANDALONE"===(null==o?void 0:o.type),XS.bZ),function(e){if("object"!=typeof e)throw new a.p2("`PSPDFKit.DocumentComparisonConfiguration` must be a `PSPDFKit.DocumentComparisonConfiguration` plain object, or `null`.");if(null===e)return;if("boolean"!=typeof e.autoCompare)throw new a.p2("`PSPDFKit.DocumentComparisonConfiguration.autoCompare` must be a boolean value.");if("object"!=typeof e.documentA||null===e.documentA)throw new a.p2("`PSPDFKit.DocumentComparisonConfiguration.documentA` must be a plain object.");if("object"!=typeof e.documentB||null===e.documentB)throw new a.p2("`PSPDFKit.DocumentComparisonConfiguration.documentB` must be a plain object.");if(!("string"==typeof e.documentA.source||e.documentA.source instanceof ArrayBuffer||e.documentA.source instanceof Promise))throw new a.p2("`PSPDFKit.DocumentComparisonConfiguration.documentA#source` must be a string, an ArrayBuffer or a Promise object resolving to a string or an ArrayBuffer.");if(!("string"==typeof e.documentB.source||e.documentB.source instanceof ArrayBuffer||e.documentB.source instanceof Promise))throw new a.p2("`PSPDFKit.DocumentComparisonConfiguration.documentB#source` must be a string, an ArrayBuffer or a Promise object resolving to a string or an ArrayBuffer.");if(void 0!==e.documentA.pageIndex&&"number"!=typeof e.documentA.pageIndex)throw new a.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.documentA#pageIndex` must be a number.");if(void 0!==e.documentB.pageIndex&&"number"!=typeof e.documentB.pageIndex)throw new a.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.documentB#pageIndex` must be a number.");if(void 0!==e.blendMode&&!Object.values(lp).includes(e.blendMode))throw new a.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.blendMode` must be a `PSPDFKit.BlendMode`.");if(void 0!==e.strokeColors&&("object"!=typeof e.strokeColors||null===e.strokeColors))throw new a.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.strokeColors` must be a plain object.");if("object"==typeof e.strokeColors){if(void 0!==e.strokeColors.documentA&&!(e.strokeColors.documentA instanceof j.Il))throw new a.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.strokeColors#documentA` must be a `PSPDFKit.Color` value.");if(void 0!==e.strokeColors.documentB&&!(e.strokeColors.documentB instanceof j.Il))throw new a.p2("If provided, `PSPDFKit.DocumentComparisonConfiguration.strokeColors#documentB` must be a `PSPDFKit.Color` value.");e.strokeColors.documentA&&e.strokeColors.documentB&&e.strokeColors.documentA.equals(e.strokeColors.documentB)&&(0,a.ZK)("The values provided for `PSPDFKit.DocumentComparisonConfiguration.strokeColors#documentA` and `PSPDFKit.DocumentComparisonConfiguration.strokeColors#documentB` are identical.")}}(t),t)e.dispatch((0,En.cz)(t));else if(r){const{completion:{end:{promise:t}}}=r;return e.dispatch((0,En.cz)(null)),t}}}],lx="You need PSPDFKit Instant to use this method.",cx="You need to enable clients presence in your configuration (`instant: { clientsPresenceEnabled: true }`) to use this method.";class ux{constructor(e){let{store:t,backend:n,eventEmitter:o}=e;o.events.push(...ax);let r=!1;const s=sx.map((e=>e(t,this)));let l=(0,i.D5)();t.dispatch((0,En.lW)((e=>{r||(l=e.map((e=>(0,m.B)(e))),o.emit("instant.connectedClients.change",l))}))),Object.defineProperty(this,"totalPageCount",{enumerable:!0,configurable:!1,get:()=>t.getState().totalPages}),this.pageInfoForIndex=function(e){const n=t.getState().pages.get(e);return n?(0,g.J)(n):null},this.textLinesForPageIndex=async function(e){const{promise:t}=n.textForPageIndex(e);return t},this.toggleClipboardActions=function(e){ix("boolean"==typeof e,"`toggleClipboardActions` expects a boolean as an argument"),t.dispatch((0,En.UG)(e))},this.setMeasurementSnapping=function(e){ix("boolean"==typeof e,"`setMeasurementSnapping` expects a boolean as an argument"),t.dispatch((0,En.Gc)(e))},this.setMeasurementPrecision=function(e){ix("string"==typeof e,"`setMeasurementPrecision` expects a string as an argument"),t.dispatch((0,En.M4)(e))},this.setMeasurementScale=function(e){ix(e instanceof As.Z,"`setMeasurementScale` expects an instance of `MeasurementScale` as an argument"),t.dispatch((0,En._b)(e))},this.setMeasurementValueConfiguration=e=>{ix("function"==typeof e,"The `measurementValueConfigurationCallback` argument must be a function."),t.dispatch((0,En.QL)(e))},this.getMarkupAnnotationText=async function(e){return ix(e instanceof _g.Z,"annotation must be a PSPDFKit.Annotations.MarkupAnnotation"),n.getTextFromRects(e.pageIndex,e.rects)},this.getTextFromRects=async function(e,t){return ix("number"==typeof e,"pageIndex must be a number"),ix(t instanceof i.aV&&t.every((e=>e instanceof B.UL)),"rects must be a PSPDFKit.Immutable.List of PSPDFKit.Geometry.Rect"),n.getTextFromRects(e,t)},Object.defineProperty(this,"currentZoomLevel",{enumerable:!0,configurable:!1,get:()=>t.getState().viewportState.zoomLevel}),Object.defineProperty(this,"maximumZoomLevel",{enumerable:!0,configurable:!1,get(){const{viewportState:e}=t.getState();return(0,Ys.Sm)(e)}}),Object.defineProperty(this,"minimumZoomLevel",{enumerable:!0,configurable:!1,get(){const{viewportState:e}=t.getState();return(0,Ys.Yo)(e)}}),Object.defineProperty(this,"zoomStep",{enumerable:!0,configurable:!1,get(){const{viewportState:e}=t.getState();return e.zoomStep}}),Object.defineProperty(this,"connectedClients",{enumerable:!0,configurable:!1,get:()=>n.isUsingInstantProvider()?n.hasClientsPresence()?l:((0,a.ZK)(cx),(0,i.D5)()):((0,a.ZK)(lx),(0,i.D5)())}),this.addEventListener=function(e,t){ix("instant.connectedClients.change"!==e||n.isUsingInstantProvider(),lx),ix("instant.connectedClients.change"!==e||n.hasClientsPresence(),cx),ix(!e.startsWith("comments.")||(0,So.xr)(n),lx);const r=dx(e);try{o.on(r,t)}catch(e){throw new a.p2(e)}},this.removeEventListener=function(e,t){ix("instant.connectedClients.change"!==e||n.isUsingInstantProvider(),lx),ix("instant.connectedClients.change"!==e||n.hasClientsPresence(),cx);const r=dx(e);try{o.off(r,t)}catch(e){throw new a.p2(e)}},this.jumpToRect=function(e,n){const{totalPages:o}=t.getState();ix(e>=0&&e=0&&e=0&&n=0&&n=0&&n=0&&n0&&void 0!==arguments[0]?arguments[0]:{};return n.exportPDF(e)},this.exportXFDF=async function(){return n.exportXFDF()},this.exportInstantJSON=async function(e){return n.exportInstantJSON(e)},this._destroy=function(){s.filter(Boolean).forEach((e=>{null==e||e()})),r=!0},this.print=function(e){const n=t.getState(),{isPrinting:o}=n,r=(0,So.VT)(n);e&&"object"!=typeof e&&(0,a.ZK)("PSPDFKit.Instance.print: options must be an object. If you want to pass the `printMode`, use `{ mode: PSPDFKit.PrintMode.DOM }` instead.");const i="object"==typeof e?e.mode:e;if(!r)throw new a.p2("Tried to start a print job while printing is disabled.");if(o)throw new a.p2("Tried to start a print job while another one was already being processed.\nUse PSPDFKit.Instance#abortPrint to terminate the current print job.\n ");if(i&&!Object.prototype.hasOwnProperty.call(Pc.X,i))throw new a.p2("The supplied printMode is not valid.\nValid `printMode`s are: PSPDFKit.PrintMode.DOM, PSPDFKit.PrintMode.EXPORT_PDF");t.dispatch(mv.S0({mode:i,excludeAnnotations:"object"==typeof e&&e.excludeAnnotations}))},this.setAnnotationCreatorName=function(e){const{annotationCreatorNameReadOnly:n}=t.getState();if(n)throw new a.p2("When the annotation creator name is defined on the JWT it can't be overriden.");t.dispatch((0,En.X8)(e))},this.setCustomRenderers=function(e){t.dispatch((0,En.jM)(e))},this.setCustomUIConfiguration=function(e){const{customUIStore:n}=t.getState();if((null==n?void 0:n.getState())===e)return;let o,r;o="function"==typeof e?e((null==n?void 0:n.getState())||null):e,ox(o),n||(r=new M.Z(o),t.dispatch((0,En.W)(r))),(n||r).setState(o)},this.setInlineTextSelectionToolbarItems=e=>{ix("function"==typeof e,"The inlineTextSelectionToolbarItemsCallback argument must be a function."),t.dispatch((0,je.tu)(e))},this.abortPrint=function(){const e=t.getState(),{isPrinting:n}=e;if(!(0,So.VT)(e))throw new a.p2("Tried to terminate a print job while printing is disabled.");if(!n)throw new a.p2("No print job to abort found.");t.dispatch(mv.xF())},this.getDocumentOutline=async function(){const e=t.getState();if(e.documentOutlineState.elements)return e.documentOutlineState.elements;ix(e.backend);const n=await e.backend.getDocumentOutline();return t.dispatch((0,ev.o)(n)),n},this.getPageGlyphs=async function(e){const n=t.getState();return ix(n.backend),ix("number"==typeof e&&Number.isInteger(e)&&e>=0&&et.getState().frameWindow}),Object.defineProperty(this,"contentDocument",{enumerable:!0,configurable:!1,get(){var e;return null===(e=t.getState().frameWindow)||void 0===e?void 0:e.document}}),Object.defineProperty(this,"licenseFeatures",{enumerable:!0,configurable:!1,get:()=>t.getState().features}),"production"!==(0,P.zj)()&&(this._store=t,this._eventEmitter=o)}}function dx(e){switch(e){case"annotations.onPress":case"textLine.onPress":case"page.onPress":{const t=e.replace(".onPress",".press");return(0,a.a1)(`The event ${e} was renamed and will be removed in a a future version. Please use ${t} instead.`),t}default:return e}}var px=n(57742);const fx=(0,A.$j)((function(e){return{locale:e.locale,messages:px.ZP[e.locale]}}))(Re.Pj),hx=["Annotation","CommentAvatar"];const mx={LIGHT:"LIGHT",DARK:"DARK",AUTO:"AUTO"};var gx=n(53678),vx=n(151);const yx=new p.Z({r:70,g:54,b:227}),bx={color:p.Z.BLUE,localization:{id:"blue",defaultMessage:"Blue",description:"Blue color"}},wx=[{color:p.Z.BLACK,localization:{id:"black",defaultMessage:"Black",description:"Black color"}},bx,{color:yx,localization:{id:"darkBlue",defaultMessage:"Dark blue",description:"Dark blue color"}}];var Sx,Ex=n(60619),Px=(n(37940),n(37024),n(5038)),xx=n(63632),Dx=n(28028);function Cx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function kx(e){for(var t=1;t\nbody, html, .${Je.re} {\n margin: 0;\n padding: 0;\n overflow: hidden;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n}\n`,Mx=["baseUrl","baseCoreUrl","licenseKey","disableWebAssemblyStreaming","enableAutomaticLinkExtraction","overrideMemoryLimit","customFonts","isSharePoint","isSalesforce","productId"];let _x=null,Rx=null,Nx=null;function Lx(e){n.p=e}function Bx(e){var t;return e.baseUrl?e.baseUrl:"authPayload"in e&&"object"==typeof e.authPayload&&"string"==typeof(null===(t=e.authPayload)||void 0===t?void 0:t.accessToken)?"https://cdn.cloud.pspdfkit.com/pspdfkit-web@2023.4.0/":(0,P.SV)(window.document)}function jx(e){return e.baseCoreUrl?e.baseCoreUrl:Bx(e)}function zx(e,t){if(e[t]&&"boolean"!=typeof e[t])throw new a.p2(`The type for ${t} is not valid. Must be \`true\` or \`false\`.`)}function Kx(e,t){if(e[t]&&"function"!=typeof e[t])throw new a.p2(`The type for ${t} is not valid. Must be \`function\`.`)}function Zx(e){const t="string"==typeof e.container?document.querySelector(e.container):e.container;if(!(t instanceof HTMLElement))throw new a.p2("`Configuration#container` must either be a valid element or a CSS selector");return t}function Ux(e,t){const n=Ax.current.get(e);function o(){t(),null==n||n()}return(0,a.kG)(n),Ax.current=Ax.current.set(e,o),o}function Vx(e,t,n){const o=Array.prototype.slice.call(n.querySelectorAll('link[rel="stylesheet"]')).filter((e=>!e.dataset.loaded)).map((function(e){let t,n;e.dataset.loaded="true";const o=new Promise((function(e,o){t=e,n=o}));return e.onload=function(){t()},e.onerror=function(){const o=e.href+" could not be loaded. Make sure that the file is accessible from your webserver.";e.dataset.pspdfkit?n(new a.p2(o)):((0,a.vU)(o),t())},o}));Promise.all(o).then(e,t)}var Gx=n(9946),Wx=n(37231);var qx=n(46791),Hx=n(71652),$x=n(54097),Yx=n(45395),Xx=n(4132);const Jx=["color"];function Qx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function eD(e){for(var t=1;t(0,vc.vH)(null,e),rotate:(e,t,n)=>{const o=(0,ot.h4)(e,n);return(0,ot.az)(o.set("rotation",t))}},AnnotationPresets:{toSerializableObject:vc.xT,fromSerializableObject:vc.MR},Comment:b.ZP,Bookmark:d.Z,CustomOverlayItem:f.Z,FormFields:{FormField:l.Wi,ButtonFormField:l.R0,CheckBoxFormField:l.rF,ChoiceFormField:l.Dz,ComboBoxFormField:l.fB,ListBoxFormField:l.Vi,RadioButtonFormField:l.XQ,TextFormField:l.$o,SignatureFormField:l.Yo,toSerializableObject:vc.vD,fromSerializableObject:e=>(0,vc.IN)(String(e.pdfObjectId),e)},FormFieldValue:l.KD,FormOption:h.Z,Color:p.Z,Instance:ux,preloadWorker:nD,load:async function(e){tt.fq&&new a.p2("Starting 2022.5.0, we no longer support Internet Explorer 11."),tt.rO&&new a.p2("Starting 2023.2.0, we no longer support Microsoft Edge 18."),"disableWebAssembly"in e&&e.disableWebAssembly&&(0,a.a1)("The 'disableWebAssembly' option is deprecated. It will be removed in a future release as we are removing support for ASM.js.");const t={current:!0};let o=null;if(!0!==e.headless){o=Zx(e),(0,a.kG)(!Ax.current.has(o),"Configuration#container is already used to mount a PSPDFKit for Web instance. \n\nEither use PSPDFKit.unload(container) before loading again or use a different container.");const n=o;Ax.current=Ax.current.set(o,(function(){t.current=!1,Ax.current=Ax.current.delete(n)}))}try{var r,s,l,c,u;if(_x instanceof Promise)try{await _x}catch(t){if(Rx&&0===(0,a.$O)(e,Rx).length)throw t;Rx=null}else _x=Promise.resolve();let o;const p=Bx(e);if(Lx(p),!t.current)return Tx;if("document"in e&&e.document){if(null!=Rx){const t=(0,a.$O)(Rx,e,{keys:Mx});(0,a.kG)(0===t.length,"The configuration object passed to PSPDFKit is different from the one given previously\n"+(0,a.GB)(t))}Rx=e;{var d;Nx||(Nx=await Promise.all([n.e(1620),n.e(3610)]).then(n.bind(n,49136)));const t=null===(d=Nx)||void 0===d?void 0:d.default;o=new t(kx(kx({},e),{},{baseCoreUrl:jx(e)}))}e.autoSaveMode||(e.autoSaveMode=S.u.IMMEDIATE),(e.appName&&(0,L.d)()||e.electronAppName)&&(e.electronAppName&&((0,a.ZK)("The `Configuration.electronAppName` option is deprecated and will be removed in a future version. Please use `appName` instead."),(0,a.kG)((0,L.d)(),"`electronAppName` should only be set when using Electron.")),(0,Dx.t0)(e.appName||e.electronAppName,e.productId))}if("documentId"in e&&e.documentId||"authPayload"in e&&"object"==typeof e.authPayload&&"string"==typeof(null===(r=e.authPayload)||void 0===r?void 0:r.accessToken)){const t=(await Promise.all([n.e(1620),n.e(6377)]).then(n.bind(n,16288))).default;o=new t(e),e.autoSaveMode||(e.autoSaveMode=e.instant?S.u.IMMEDIATE:S.u.INTELLIGENT)}if(!t.current)return o&&o.destroy(),Tx;if(!o)throw new a.p2("Backend could not be inferred. Please add one of the following properties to the configuration:\n - `document` to load document and render the document client-side.\n - `documentId` to connect to PSPDFKit Server and render the document server-side.\n");if(e.autoSaveMode&&e.autoSaveMode!==S.u.INTELLIGENT&&e.autoSaveMode!==S.u.IMMEDIATE&&e.autoSaveMode!==S.u.DISABLED)throw new a.p2("The supplied autoSaveMode is not valid.\nValid `autoSaveMode`s are: PSPDFKit.AutoSaveMode.INTELLIGENT, PSPDFKit.AutoSaveMode.IMMEDIATE or PSPDFKit.AutoSaveMode.DISABLED");if(e.printOptions||(e.printOptions={}),e.printOptions&&e.printOptions.mode&&!Object.prototype.hasOwnProperty.call(Pc.X,e.printOptions.mode))throw new a.p2("The supplied mode in printOptions is not valid.\nValid `printMode`s are: PSPDFKit.PrintMode.DOM, PSPDFKit.PrintMode.EXPORT_PDF");if(e.printOptions&&e.printOptions.quality&&!Object.prototype.hasOwnProperty.call(xc.g,e.printOptions.quality))throw new a.p2("The supplied quality in printOptions is not valid.\nValid `printOptions.quality`s are: PSPDFKit.PrintQuality.LOW, PSPDFKit.PrintQuality.MEDIUM, PSPDFKit.PrintQuality.HIGH");if(e.printMode&&(0,a.ZK)("Configuration.printMode has been deprecated and will be removed in the next major version. Please refer to the migration guide in order to keep the desired behavior."),e.printMode&&!e.printOptions.mode){if(!Object.prototype.hasOwnProperty.call(Pc.X,e.printMode))throw new a.p2("The supplied printMode is not valid.\nValid `printMode`s are: PSPDFKit.PrintMode.DOM, PSPDFKit.PrintMode.EXPORT_PDF");e.printOptions.mode=e.printMode}if("disableHighQualityPrinting"in e&&((0,a.ZK)("Configuration.disableHighQualityPrinting has been deprecated and will be removed in the next major version. Please refer to the migration guide in order to keep the desired behavior."),zx(e,"disableHighQualityPrinting"),e.disableHighQualityPrinting&&"boolean"==typeof e.disableHighQualityPrinting&&!e.printOptions.quality&&("STANDALONE"!==o.type||"ios"!==tt.By&&"android"!==tt.By?e.printOptions.quality=e.disableHighQualityPrinting?xc.g.MEDIUM:xc.g.HIGH:e.printOptions.quality=xc.g.MEDIUM)),e.electronicSignatures){if(e.electronicSignatures.creationModes){if(!Array.isArray(e.electronicSignatures.creationModes)||!e.electronicSignatures.creationModes.length)throw new a.p2("PSPDFKit.Configuration.electronicSignatures#creationModes must be a non-empty array if specified.");if(e.electronicSignatures.creationModes.some((e=>!Object.keys(eS.M).includes(e))))throw new a.p2("PSPDFKit.Configuration.electronicSignatures#creationModes only accepts PSPDFKit.ElectronicSignatureCreationMode values.")}if(e.electronicSignatures.fonts){if(!Array.isArray(e.electronicSignatures.fonts)||!e.electronicSignatures.fonts.length)throw new a.p2("PSPDFKit.Configuration.electronicSignatures#fonts must be a non-empty array if specified.");if(e.electronicSignatures.fonts.some((e=>!(e instanceof w.Z))))throw new a.p2("PSPDFKit.Configuration.electronicSignatures#fonts only accepts PSPDFKit.Font values.")}if(e.electronicSignatures.forceLegacySignaturesFeature&&"boolean"!=typeof e.electronicSignatures.forceLegacySignaturesFeature)throw new a.p2("PSPDFKit.Configuration.electronicSignatures#forceLegacySignaturesFeature only accepts boolean values.")}let f;zx(e,"disableForms"),Kx(e,"annotationTooltipCallback"),zx(e,"disableTextSelection"),zx(e,"preventTextCopy"),Kx(e,"renderPageCallback"),function(e,t){if(e[t]){if(!Array.isArray(e[t]))throw new a.p2(`${t} must be an array of annotation types.`);if(!e[t].every((e=>e&&e.prototype&&(e.prototype instanceof Ou.Z||e==Ou.Z))))throw new a.p2(`${t} must be an array of annotation types.`)}}(e,"editableAnnotationTypes"),Kx(e,"isEditableAnnotation"),Kx(e,"isEditableComment"),Kx(e,"dateTimeString"),Kx(e,"annotationToolbarColorPresets"),Kx(e,"annotationToolbarItems"),Kx(e,"onWidgetAnnotationCreationStart"),Kx(e,"inlineTextSelectionToolbarItems"),Kx(e,"onCommentCreationStart"),Kx(e,"measurementValueConfiguration"),"mentionableUsers"in e&&((0,a.kG)(Array.isArray(e.mentionableUsers),"mentionableUsers must be an array"),e.mentionableUsers.forEach(b.vQ)),(0,a.um)(`PSPDFKit for ${(0,L.d)()?"Electron":"Web"} 2023.4.0 (https://pspdfkit.com/web)`);try{f=(0,wc.z5)(e.locale||navigator.language)}catch(e){f="en"}if(e.populateInkSignatures&&"function"!=typeof e.populateInkSignatures)throw new a.p2("populateInkSignatures must be a function.");if(e.populateStoredSignatures&&"function"!=typeof e.populateStoredSignatures)throw new a.p2("populateStoredSignatures must be a function.");if(null!=e.maxPasswordRetries&&"number"!=typeof e.maxPasswordRetries)throw new a.p2("maxPasswordRetries must be a number.");if(e.formFieldsNotSavingSignatures&&(!Array.isArray(e.formFieldsNotSavingSignatures)||e.formFieldsNotSavingSignatures.some((e=>"string"!=typeof e))))throw new a.p2("formFieldsNotSavingSignatures must be an array of strings.");let h,m,g,v=new y.Z;e.disableOpenParameters||(v=Pu(v)),e.initialViewState&&(v=e.initialViewState,v=Au(v,null)),e.customRenderers&&(h=function(e){for(const t in e)e.hasOwnProperty(t)&&((0,a.kG)(hx.includes(t),`'${t}' is not a custom renderable entity. Custom renderable entities are: ${hx.join(", ")}`),(0,a.kG)("function"==typeof e[t],`'${t}' custom renderer must be a function.`));return e}(e.customRenderers)),e.customUI&&(m=ox(e.customUI)),(0,a.kG)("number"==typeof mt.Ei.DEFAULT_INK_ERASER_CURSOR_WIDTH&&mt.Ei.DEFAULT_INK_ERASER_CURSOR_WIDTH>=0,"PSPDFKit.Options.DEFAULT_INK_ERASER_CURSOR_WIDTH must be set to a positive number."),(0,a.kG)(!e.isAPStreamRendered||"function"==typeof e.isAPStreamRendered,"When provided, `configuration.isAPStreamRendered` must be a function."),(0,a.kG)(!e.enableRichText||"function"==typeof e.enableRichText,"When provided, `configuration.enableRichText` must be a function."),(0,a.kG)("boolean"==typeof e.enableHistory||void 0===e.enableHistory,"When provided, `configuration.enableHistory` must be a boolean value."),(0,a.kG)("boolean"==typeof e.enableClipboardActions||void 0===e.enableClipboardActions,"When provided, `configuration.enableClipboardOperations` must be a boolean value."),e.unstable_inkEraserMode&&((0,a.kG)(Object.keys(D.b).includes(e.unstable_inkEraserMode),"`unstable_inkEraserMode` must be one of: `PSPDFKit.unstable_InkEraserMode.POINT` or `PSPDFKit.unstable_InkEraserMode.STROKE`"),g=e.unstable_inkEraserMode),(0,a.kG)("boolean"==typeof e.measurementSnapping||void 0===e.measurementSnapping,"When provided, `configuration.measurementSnapping` must be a boolean value."),(0,a.kG)("string"==typeof e.measurementPrecision||void 0===e.measurementPrecision,"When provided, `configuration.measurementPrecision` must be a string."),(0,a.kG)(e.measurementScale instanceof As.Z||void 0===e.measurementScale,"When provided, `configuration.measurementScale` must be an instance of `MeasurementScale`."),(0,a.kG)("boolean"==typeof e.anonymousComments||void 0===e.anonymousComments||!0===e.anonymousComments&&"STANDALONE"!==o.type,"When provided, `configuration.anonymousComments` must be used only with PSPDFKit Server and be a boolean value."),(0,a.kG)("boolean"==typeof e.disableMultiSelection||void 0===e.disableMultiSelection,"When provided, `configuration.disableMultiSelection` must be a boolean value."),(0,a.kG)("number"==typeof e.autoCloseThreshold||void 0===e.autoCloseThreshold,"When provided, `configuration.autoCloseThreshold` must be a number.");const E=kx(kx({backend:o,autoSaveMode:e.autoSaveMode,printMode:null===(s=e.printOptions)||void 0===s?void 0:s.mode,printQuality:null===(l=e.printOptions)||void 0===l?void 0:l.quality,showComments:!!v.showComments,showAnnotationNotes:!!v.showAnnotationNotes,printingEnabled:v.allowPrinting,exportEnabled:v.allowExport,readOnlyEnabled:v.readOnly?ve.J.VIA_VIEW_STATE:ve.J.NO,formsEnabled:!e.disableForms,formDesignMode:!e.disableForms&&v.formDesignMode,showAnnotations:v.showAnnotations,eventEmitter:new kP.Z,locale:f,clientPermissions:new j.uh({extract:!e.disableTextSelection,preventTextCopy:!!e.preventTextCopy,printHighQuality:(null===(c=e.printOptions)||void 0===c?void 0:c.quality)===xc.g.HIGH}),signatureState:new j.dp({populateStoredSignatures:e.populateStoredSignatures||e.populateInkSignatures,formFieldsNotSavingSignatures:(0,i.l4)(e.formFieldsNotSavingSignatures||[])}),renderPageCallback:e.renderPageCallback,annotationTooltipCallback:e.annotationTooltipCallback?t=>{var n;const o=null===(n=e.annotationTooltipCallback)||void 0===n?void 0:n.call(e,t);return null==o||o.forEach((e=>{(0,Fc.G)(e)})),o}:null,sidebarMode:v.sidebarMode,sidebarOptions:v.sidebarOptions,sidebarPlacement:v.sidebarPlacement,isEditableAnnotation:e.isEditableAnnotation,isEditableComment:e.isEditableComment,customRenderers:h},m?{customUIStore:new M.Z(m)}:null),{},{toolbarPlacement:e.toolbarPlacement,showSignatureValidationStatus:v.showSignatureValidationStatus||fu.W.NEVER,previewRedactionMode:v.previewRedactionMode,keepSelectedTool:v.keepSelectedTool,isAPStreamRendered:e.isAPStreamRendered,restrictAnnotationToPageBounds:e.restrictAnnotationToPageBounds,electronicSignatureCreationModes:(0,i.hU)(e.electronicSignatures&&e.electronicSignatures.creationModes||vx.Z),signingFonts:(0,i.hU)(e.electronicSignatures&&e.electronicSignatures.fonts||CP.Z),isHistoryEnabled:!!e.enableHistory,areClipboardActionsEnabled:!!e.enableClipboardActions,onOpenURI:e.onOpenURI,onAnnotationResizeStart:e.onAnnotationResizeStart,canScrollWhileDrawing:v.canScrollWhileDrawing,dateTimeString:e.dateTimeString,annotationToolbarColorPresets:e.annotationToolbarColorPresets,annotationToolbarItems:e.annotationToolbarItems,onWidgetAnnotationCreationStart:e.onWidgetAnnotationCreationStart,inkEraserMode:g,firstCurrentPageIndex:v.currentPageIndex,arePageSizesLoaded:"STANDALONE"!==o.type||!1,inlineTextSelectionToolbarItems:e.inlineTextSelectionToolbarItems,measurementSnapping:e.measurementSnapping,measurementPrecision:e.measurementPrecision,measurementScale:e.measurementScale,measurementValueConfiguration:e.measurementValueConfiguration,anonymousComments:e.anonymousComments,enableRichText:e.enableRichText,maxMentionSuggestions:"maxMentionSuggestions"in e&&e.maxMentionSuggestions||void 0,mentionableUsers:"mentionableUsers"in e&&e.mentionableUsers||[],isMultiSelectionEnabled:!e.disableMultiSelection,defaultAutoCloseThreshold:e.autoCloseThreshold,onCommentCreationStart:e.onCommentCreationStart});let P,C,I=Promise.resolve();if(!0===e.headless)P=mc(kx(kx({},E),{},{frameWindow:window}));else if([P,I,C]=await async function(e,t,n,o,r){var s;const l=Zx(o);if(l.childNodes.length>0)throw new a.p2('`Configuration#container` is expected to be an empty element but instead it contains child nodes.\nTo fix this, please make sure that the container is empty (e.g. by using an empty div `
`');if(o.styleSheets&&!(o.styleSheets instanceof Array))throw new a.p2("styleSheets must either be an Array of strings");let c=[];const u=window.getComputedStyle(l).getPropertyValue("width"),d=window.getComputedStyle(l).getPropertyValue("height");if(!u||u&&"0px"===u)throw new a.p2("The mounting container has no width.\n PSPDFKit for Web adapts to the dimensions of this element and will require this to be set. You can set it to 100% to adopt to the dimensions of the parent node.");if(!d||d&&"0px"===d)throw new a.p2("The mounting container has no height.\n PSPDFKit for Web adapts to the dimensions of this element and will require this to be set. You can set it to 100% to adopt to the dimensions of the parent node.");if(o.theme){if("string"!=typeof o.theme||!mx[o.theme])throw new a.p2("Invalid theme. Configuration#theme must be a valid PSPDFKit.Theme");(o.theme===mx.DARK||o.theme===mx.AUTO&&window.matchMedia("(prefers-color-scheme: dark)").matches)&&c.push(`${t}pspdfkit-lib/dark-${N()}.css`)}o.styleSheets&&(c=c.concat(o.styleSheets));let p=Je.cY;null!=o.minDefaultZoomLevel&&((0,a.kG)("number"==typeof o.minDefaultZoomLevel&&o.minDefaultZoomLevel>0,"minDefaultZoomLevel must be a number greater than 0"),p=o.minDefaultZoomLevel);let f=Je.QS;null!=o.maxDefaultZoomLevel&&((0,a.kG)("number"==typeof o.maxDefaultZoomLevel&&o.maxDefaultZoomLevel>0,"maxDefaultZoomLevel must be a number greater than 0"),f=o.maxDefaultZoomLevel);(0,a.kG)(f>=p,`maxDefaultZoomLevel (${f}) must be greater than or equal to minDefaultZoomLevel (${p}). If you didn't set one of those values, then the default value was used.`);const h=B.UL.fromClientRect(l.getBoundingClientRect()).setLocation(new B.E9),m=new j.Vk({currentPageIndex:r.currentPageIndex,zoomLevel:"number"==typeof r.zoom?r.zoom:1,zoomMode:"number"==typeof r.zoom?Xs.c.CUSTOM:r.zoom,pagesRotation:(0,Yr.n5)(r.pagesRotation),layoutMode:r.layoutMode,scrollMode:r.scrollMode,pageSpacing:r.pageSpacing,spreadSpacing:r.spreadSpacing,keepFirstSpreadAsSinglePage:r.keepFirstSpreadAsSinglePage,viewportPadding:new B.E9({x:r.viewportPadding.horizontal,y:r.viewportPadding.vertical}),minDefaultZoomLevel:p,maxDefaultZoomLevel:f});let g=Ic.ZP.toJS();o.toolbarItems&&(g=o.toolbarItems,g=g.map((e=>"ink-signature"===e.type?((0,a.a1)("The 'ink-signature' toolbar item type has been renamed to 'signature'. The 'ink-signature' identifier will be removed on a future release of PSPDFKit for Web."),kx(kx({},e),{},{type:"signature"})):e)).filter((e=>{var t;return"content-editor"!==e.type||"SERVER"!==(null===(t=n.backend)||void 0===t?void 0:t.type)||((0,a.ZK)("The 'content-editor' toolbar item type is not supported in the Server backend: Content Editing is only available in Standalone."),!1)})),g.forEach(Nc));let v=Bc.toJS();o.documentEditorFooterItems&&(v=o.documentEditorFooterItems,v.forEach(Kc));let y=Uc.toJS();o.documentEditorToolbarItems&&(y=o.documentEditorToolbarItems,y.forEach(Hc));let w=fe.ZP.toObject();w.ink.inkEraserWidth=mt.Ei.DEFAULT_INK_ERASER_CURSOR_WIDTH,o.annotationPresets&&(w=o.annotationPresets,Object.values(w).forEach(Tc));let S=DP;o.stampAnnotationTemplates&&Array.isArray(o.stampAnnotationTemplates)&&(S=o.stampAnnotationTemplates,S.forEach(tu));"mentionableUsers"in o&&((0,a.kG)(Array.isArray(o.mentionableUsers),"mentionableUsers must be an array"),o.mentionableUsers.forEach(b.vQ));"maxMentionSuggestions"in o&&(0,a.kG)("number"==typeof o.maxMentionSuggestions&&o.maxMentionSuggestions>0,"maxMentionSuggestions must be a number greater than 0");Object.isFrozen(mt.Ei)||(mt.Wv!==mt.Ei.COLOR_PRESETS&&(0,_.XV)("Options.COLOR_PRESETS","PSPDFKit#Customisation.AnnotationToolbarColorPresets",!0),(0,mt.ng)(mt.Ei),Object.freeze(mt.Ei));const E=function(){const e=document.createElement("div");return e.className="PSPDFKit-Container",e.style.width="100%",e.style.height="100%",e}();let P,x;if(l.appendChild(E),Ux(l,(function(){const{parentNode:e}=E;e&&e.removeChild(E)})),[P,x]=await async function(e,t,n,o){let r,i;const a=new Promise((function(e,t){r=e,i=t}));let s;if(o){let e;try{e=await(0,z.jK)([t+Ix].concat(n).map((e=>{const n=n=>{const o=n instanceof Error;return{filename:e,css:o?null:n,isCustom:e!==t+Ix}};return fetch(e,{credentials:"same-origin"}).then((e=>{if(200!==e.status)throw Error(`${e.status} ${e.statusText}`);return e.text()})).then(n).catch(n)})))}catch(t){e=t}e=e.filter((e=>null!==e.css)),s=Fx+e.map((e=>{let{css:t,isCustom:n,filename:o}=e;return`${t}`})).join("")}else s=`\n${n.map((e=>``)).join("\n")}\n${Fx}\n`;return new Promise((t=>{const n=document.createElement("iframe");n.setAttribute("allowfullscreen","true"),n.setAttribute("title","PSPDFKit"),n.style.width="100%",n.style.height="100%",n.style.border="0",n.style.display="block",e.appendChild(n);const o=n.contentDocument;if(o){o.open(),o.write(`PSPDFKit
`),o.close(),o.addEventListener("touchstart",(()=>{document.body&&(document.body.style.overscrollBehavior="none")})),o.addEventListener("touchcancel",(()=>{document.body&&(document.body.style.overscrollBehavior="inherit")})),o.addEventListener("touchend",(()=>{document.body&&(document.body.style.overscrollBehavior="inherit")}));const e=o.createRange().createContextualFragment(s);o.head.appendChild(e),Vx(r,i,o),t([o,a])}}))}(E,t,c,o.enableServiceWorkerSupport||!1),!e.current)return Tx;Sc(P);const D=(0,Ec.bl)(P);"function"==typeof D&&Ux(l,(function(){D()}));const C=(null===(s=o.electronicSignatures)||void 0===s?void 0:s.unstable_colorPresets)||wx;if(0===C.length)throw new a.p2("PSPDFKit.Configuration.electronicSignatures#unstable_colorPresets should have at least one preset.");let I=null;if("customFonts"in o&&o.customFonts){const e=n.backend.getCustomFontsPromise();e.current||(e.current=(0,mp.x6)(o.customFonts)),I=await e.current}const M=mc(kx(kx({},n),{},{rootElement:l,containerRect:h,showToolbar:r.showToolbar,enableAnnotationToolbar:r.enableAnnotationToolbar,toolbarItems:(0,i.d0)(g),electronicSignatureColorPresets:C,annotationPresets:(0,i.D5)(w),stampAnnotationTemplates:Object.freeze(S),currentItemPreset:null,viewportState:m,interactionMode:null,documentEditorFooterItems:(0,i.d0)(v),documentEditorToolbarItems:(0,i.d0)(y),frameWindow:P.defaultView,sidebarWidth:h.width<=Je.Fg?h.width:mt.Ei.INITIAL_DESKTOP_SIDEBAR_WIDTH,renderPagePreview:"boolean"!=typeof o.renderPagePreview||o.renderPagePreview}));if(await(0,wc.sS)(M.getState().locale),!e.current)return Tx;M.dispatch((0,Dc.t2)(new Ac(M.getState,M.dispatch))),M.dispatch((0,En.z5)((0,de.YV)(M.getState)));const R=P.querySelector(`.${Je.re}`);return(0,a.kG)(R,"Internal PSPDFKit Error: Mount Target could not be found in contentDocument. Please contact support@pspdfkit.com"),(0,O.render)(T.createElement(A.zt,{store:M},T.createElement(fx,{onError:e=>(e.code,e)},T.createElement("div",{className:F()(zf().withLayers,(!("CSS"in window)||!window.CSS.supports("isolation: isolate"))&&zf().withLayersFallback)},T.createElement(k.P,null,Sx||(Sx=T.createElement(wP,null)))))),R),Ux(l,(function(){(0,O.unmountComponentAtNode)(R)})),[M,x,I]}(t,p,E,e,v),!t.current)return Tx;const R=P.getState(),{eventEmitter:K,rootElement:Z}=R;Z&&Ux(Z,(function(){o&&o.destroy()})),j.UX.prototype.getMeasurementDetails=function(){return R.features.includes(ge.q.MEASUREMENT_TOOLS)||new a.p2(Ex.oD),(0,G.t9)(this)};const U=new ux({store:P,backend:o,eventEmitter:K});if(await bc({dispatch:P.dispatch,backend:o,getState:P.getState,password:e.password,maxPasswordRetries:!0===e.headless?0:"number"==typeof e.maxPasswordRetries?e.maxPasswordRetries:Number.POSITIVE_INFINITY,stylesheetPromise:I,formFieldValuesJSON:"STANDALONE"===o.type?"instantJSON"in e&&e.instantJSON&&e.instantJSON.formFieldValues:null,customFonts:C}),!t.current)return o&&o.destroy(),Tx;let V=function(){U._destroy(),!0===e.headless&&o&&o.destroy(),Ox.current=Ox.current.delete(U)};Z&&(V=Ux(Z,V)),Ox.current=Ox.current.set(U,V);const{features:W,formDesignMode:q,previewRedactionMode:H,documentPermissions:$,frameWindow:Y}=P.getState();if($.fillForms||$.annotationsAndForms||mt.Ei.IGNORE_DOCUMENT_PERMISSIONS?P.dispatch((0,En.we)(e.editableAnnotationTypes?(0,i.l4)(e.editableAnnotationTypes):(0,i.l4)(he.Z),e.isEditableAnnotation)):P.dispatch((0,En.ZV)((0,i.l4)([]))),W.includes(ge.q.ELECTRONIC_SIGNATURES)&&function(e,t){const n=e.document.createRange(),o=mp.eE.map((e=>`@font-face {\n font-family: '${e.name}';\n font-style: normal;\n font-weight: ${e.weight};\n font-display: swap;\n src: url(${t}pspdfkit-lib/${e.file}.woff2) format('woff2'),\n url(${t}pspdfkit-lib/${e.file}.woff) format('woff');\n }`)).join("\n"),r=n.createContextualFragment(``);e.document.head.appendChild(r)}(Y,p),q&&!(0,So.ix)(P.getState()))throw P.dispatch((0,En.LE)(!1)),$.annotationsAndForms||$.fillForms?new a.p2("Widget annotation selection (`configuration.viewState.formDesignMode = true`) can only be enabled if the license includes the Form Designer component and on standalone mode or with PSPDFKit Instant."):new a.p2('Widget annotation selection (`configuration.viewState.formDesignMode = true`) can only be enabled if the current document has either the "Editing Annotations and Forms" or the "Filling Forms" permissions granted. you can override this behavior by setting the PSPDFKit.Options.IGNORE_DOCUMENT_PERMISSIONS option before initializing PSPDFKit. Please make also sure the license includes the Form Designer component and a backend that supports it.');if(H&&!W.includes(ge.q.REDACTIONS))throw P.dispatch((0,En.P_)(!1)),new a.p2("`configuration.viewState.previewRedactionMode = true` can only be enabled if the license includes the Redactions component.");if(e.initialViewState&&e.initialViewState.interactionMode===x.A.DOCUMENT_EDITOR&&!W.includes(ge.q.DOCUMENT_EDITING))throw P.dispatch((0,En.sJ)()),new a.p2(gu);if(e.initialViewState&&e.initialViewState.interactionMode===x.A.CONTENT_EDITOR&&!W.includes(ge.q.CONTENT_EDITING))throw P.dispatch({type:te.Qm9}),new a.p2(sc.Aq);if((0,nt.fF)(null===(u=e.initialViewState)||void 0===u?void 0:u.interactionMode)&&!W.includes(ge.q.FORM_DESIGNER))throw P.dispatch((0,En.XX)()),new a.p2(wu.RB);if(e.initialViewState&&e.initialViewState.showSignatureValidationStatus!==fu.W.NEVER&&!W.includes(ge.q.DIGITAL_SIGNATURES))throw new a.p2(bu);if((e.documentEditorFooterItems||e.documentEditorToolbarItems)&&!W.includes(ge.q.DOCUMENT_EDITING))throw new a.p2(gu);if(!0!==e.headless&&!W.includes(ge.q.UI))throw P.dispatch((0,gc.sr)("Your license does not cover the configured functionality.")),new a.p2("The web UI feature is not enabled for your license key. Please contact support or sales to purchase the UI module for PSPDFKit for Web.");if(!0!==e.headless&&v.interactionMode){const e=ku(v.interactionMode,R);P.dispatch(e.onEnterAction())}return P.dispatch((0,En._$)(U)),U}catch(e){const{type:t,request:n}=e;throw"error"===t&&n&&/\/pspdfkit-lib\//.test(n)&&e("Failed to load pspdfkit-lib.\nMake sure you are serving all PSPDFKit library files as described in https://pspdfkit.com/guides/web/current/standalone/adding-to-your-project/#copy-the-pspdfkit-for-web-assets."),e}},unload:function(e){if(null==e)throw new a.p2("Expected `PSPDFKit.unload` to be called with an `HTMLElement | string | PSPDFKit.Instance`\ninstead none was provided.");if("string"==typeof e){const t=e;if(null===(e=document.querySelector(t)))throw new a.p2(`Couldn't find a container which matches the provided selector \`${t}\``)}else if(!(e instanceof HTMLElement||e instanceof ux))throw new a.p2("Expected `PSPDFKit.unload` to be called with a valid `target` argument.\nAllowed values for `target` are: `HTMLElement | string | PSPDFKit.Instance`.\n");let t;return e instanceof ux?t=Ox.current.get(e):Ax.current.has(e)&&(t=Ax.current.get(e)),!!t&&(t(),!0)},convertToPDF:async function(e,t){const{licenseKey:o,electronAppName:r,productId:i,appName:s}=e;"string"==typeof e.baseUrl&&(0,gx.Pn)(e.baseUrl);const l=Bx(e);Lx(l),(0,a.kG)(null==o||"string"==typeof o,"licenseKey must be a string value if provided. Please obtain yours from https://customers.pspdfkit.com."),"string"==typeof o&&(0,a.kG)(!o.startsWith("TRIAL-"),"You're using the npm key instead of the license key. This key is used to download the PSPDFKit for Web package via the node package manager.\n\nLeave out the license key to activate as a trial."),(0,a.kG)(i!==Px.x.Salesforce,"Document conversion is not currently supported in Salesforce."),(s&&(0,L.d)()||r)&&((0,a.kG)(r,"The `electronAppName` option is deprecated and will be removed in a future version. Please use `appName` instead."),(0,Dx.t0)(s||r,i)),t&&(0,a.kG)(t&&Object.values(xx.w).includes(t),"The supplied PDF/A Conformance type is not valid. Valid Conformance should be one of the following options PSPDFKit.Conformance."+Object.keys(xx.w).join(", PSPDFKit.Conformance."));const c=await(0,yc.D4)(l,e.document,i),u=s||r||(0,L.$u)()||window.location.origin;let d;try{return d=new(tt.vU?(await n.e(4516).then(n.bind(n,14516))).GdPictureClientNative:(await n.e(4516).then(n.bind(n,14516))).GdPictureWorker)(kx({baseUrl:l,mainThreadOrigin:u,licenseKey:o},e.customFonts?{customFonts:await(0,mp.x6)(e.customFonts)}:null)),await d.toPdf(c,t)}finally{var p;null===(p=d)||void 0===p||p.destroy()}},Error:a.p2,SaveError:Hx.V,ViewState:y.Z,PageInfo:g.Z,TextLine:v.Z,InstantClient:m.Z,TextSelection:GP,SearchResult:qx.Z,SearchState:rl.Z,AutoSaveMode:S.u,SignatureSaveMode:_u.f,LayoutMode:C.X,PrintMode:Pc.X,PrintQuality:xc.g,ScrollMode:nl.G,ZoomMode:Xs.c,InteractionMode:x.A,unstable_InkEraserMode:D.b,SidebarMode:du.f,UIElement:{Sidebar:"Sidebar"},BlendMode:lp,BorderStyle:Yx.N,LineCap:nd.u,SidebarPlacement:pu.d,SignatureAppearanceMode:Wx.H,ShowSignatureValidationStatusMode:fu.W,NoteIcon:en.Zi,Theme:mx,ToolbarPlacement:Ru.p,ElectronicSignatureCreationMode:eS.M,I18n:wc.ZP,baseUrl:tD,DocumentIntegrityStatus:E.QA,SignatureValidationStatus:E.qA,SignatureType:E.BG,SignatureContainerType:E.FR,CertificateChainValidationStatus:E.wk,AnnotationsWillChangeReason:u.f,DocumentComparisonSourceType:Gx.b,MeasurementScaleUnitFrom:q.s,MeasurementScaleUnitTo:W.K,MeasurementPrecision:Xx.L,MeasurementScale:As.Z,ProductId:Px.x,Conformance:xx.w,DocumentPermissions:tl.A,viewStateFromOpenParameters:Pu,get unstable_defaultElectronicSignatureColorPresets(){return(0,i.d0)(wx).toJS().map((e=>{let{color:t}=e;return eD(eD({},(0,r.Z)(e,Jx)),{},{color:new p.Z(t)})}))},get defaultToolbarItems(){return Ic.ZP.toJS()},get defaultDocumentEditorFooterItems(){return Bc.toJS()},get defaultDocumentEditorToolbarItems(){return Uc.toJS()},get defaultAnnotationPresets(){return fe.ZP.toObject()},get defaultStampAnnotationTemplates(){return[...DP]},get defaultAnnotationsSidebarContent(){return $x.Z.toJS()},defaultEditableAnnotationTypes:he.Z,defaultElectronicSignatureCreationModes:vx.Z,defaultSigningFonts:CP.Z,Options:mt.Ei,SearchPattern:KP,SearchType:zP.S,UIDateTimeElement:Nu,generateInstantId:ks.C,Font:w.Z},rD=oD},61631:(e,t,n)=>{"use strict";n.d(t,{TU:()=>m,aG:()=>f,gH:()=>g,oo:()=>h});var o=n(50974),r=n(67366),i=n(35369),a=n(96114),s=n(3219),l=n(89335),c=n(37676),u=n(97528),d=n(69939),p=n(29346);const f=e=>(t,n)=>{!function e(u){try{if(u instanceof l.lm){(0,o.kG)("string"==typeof u.uri,"URIAction requires `uri`");const e=n();(!e.onOpenURI||e.onOpenURI(u.uri,!0))&&(0,c.Z)(u.uri)}else if(u instanceof l.Di)(0,o.kG)("number"==typeof u.pageIndex,"GoToAction requires `pageIndex`"),t((0,s.YA)(u.pageIndex));else if(u instanceof l.BO)(0,o.kG)("boolean"==typeof u.includeExclude,"ResetFormAction requires `includeExclude`"),t((0,a.yM)(u.fields,u.includeExclude));else if(u instanceof l.pl)(0,o.kG)("string"==typeof u.uri,"ResetFormAction requires `uri`"),(0,o.kG)("boolean"==typeof u.includeExclude,"ResetFormAction requires `includeExclude`"),t((0,a.V6)(u));else{if(!(u instanceof l.ZD))throw new o.p2(`Annotation action not handled: ${u.constructor.name}`);{(0,o.kG)(i.aV.isList(u.annotationReferences),"HideAction must have `annotationReferences`");const{annotations:e,formFields:a}=n(),s=u.annotationReferences.map((e=>"fieldName"in e&&a.get(e.fieldName))),l=u.annotationReferences.map((t=>"pdfObjectId"in t&&"number"==typeof t.pdfObjectId?e.find((e=>e.pdfObjectId===t.pdfObjectId)):null));(0,r.dC)((()=>{l.forEach((e=>{e&&t((0,d.FG)(e.set("noView",u.hide)))})),s.forEach((n=>{n&&n.annotationIds.forEach((n=>{const o=e.get(n);o&&t((0,d.FG)(o.set("noView",u.hide)))}))}))}))}}}catch(e){(0,o.ZK)(e.message)}u.subActions&&u.subActions.forEach((t=>{e(t)}))}(e)},h=e=>{const{action:t}=e;return t instanceof l.bp?g(t.script,e instanceof p.Z?e.formFieldName:null):f(t)},m=(e,t)=>{const{additionalActions:n,formFieldName:o}=e;return(null==n?void 0:n[t])instanceof l.bp?g(n[t].script,e instanceof p.Z?o:null):f(null==n?void 0:n[t])};function g(e,t){return async(n,r)=>{const{backend:i}=r();if((0,o.kG)(i),"STANDALONE"!==i.type||!u.Ei.PDF_JAVASCRIPT)return;(0,o.kG)("string"==typeof e,"JavaScriptAction requires `script`");const s=await i.evalScript(e,t);n((0,a.bt)({changes:s}))}}},69939:(e,t,n)=>{"use strict";n.d(t,{$d:()=>T,$e:()=>A,Ds:()=>R,FG:()=>G,GI:()=>te,GT:()=>X,GZ:()=>H,Iv:()=>k,QA:()=>N,RK:()=>Q,VX:()=>z,XG:()=>J,ZE:()=>j,Zr:()=>F,aF:()=>M,d8:()=>$,dt:()=>oe,fx:()=>Y,gX:()=>_,hQ:()=>q,hX:()=>D,hj:()=>C,i0:()=>ee,ip:()=>O,lA:()=>I,mw:()=>re,pZ:()=>L,sF:()=>B,ug:()=>ne,uk:()=>U,vc:()=>x,vy:()=>ie});var o=n(35369),r=n(67366),i=n(50974),a=n(82481),s=n(3845),l=n(88804),c=n(34573),u=n(29165),d=n(63738),p=n(3219),f=n(96114),h=n(51333),m=n(95651),g=n(7921),v=n(78233),y=n(49177),b=n(45588),w=n(62164),S=n(25387),E=n(91859),P=n(75237);const x=(e,t)=>n=>{n((0,c.Ab)()),n({type:S.ILc,annotation:e,pageIndex:t})},D=(e,t)=>n=>{n((0,c.Ab)()),n({type:S.HS7,annotation:e,pageIndex:t})},C=(e,t)=>n=>{n((0,c.Ab)()),n({type:S.jzI,annotation:e,pageIndex:t})},k=async e=>{const{hash:t,dimensions:n}=await(0,b.uq)(e);return{hash:t,dimensions:n,attachment:new a.Pg({data:e})}},A=e=>async(t,n)=>{const{dimensions:i,hash:a,attachment:l}=await k(e),d=(0,m.om)(n(),i,a,e.type,e.name),f={annotations:(0,o.aV)([d]),reason:s.f.SELECT_END},{eventEmitter:h,annotationManager:g}=n();(0,r.dC)((()=>{null==h||h.emit("annotations.willChange",f),t((0,u.O)(a,l)),t(I((0,o.aV)([d]))),null==g||g.createObject(d,{attachments:(0,o.D5)([[a,l]])}),null==g||g.autoSave(),t((0,c.Df)((0,o.l4)([d.id]),null)),t((0,p.kN)(d.pageIndex,d.boundingBox))}))},O=e=>(t,n)=>{let i;const{imageAttachmentId:u,contentType:d,fileName:f,description:h}=e,g=u&&n().attachments.get(u);if(e instanceof a.GI)t(R("stamp")),i=(0,m.hG)(n(),new l.$u({width:e.boundingBox.width,height:e.boundingBox.height}),e);else{if(!(e instanceof a.sK))return;if(!u)return;t(R("image")),i=(0,m.om)(n(),new l.$u({width:e.boundingBox.width,height:e.boundingBox.height}),u,d||"",f),h&&(i=i.set("description",h))}const v={annotations:(0,o.aV)([i]),reason:s.f.SELECT_END},{eventEmitter:y,annotationManager:b}=n();(0,r.dC)((()=>{null==y||y.emit("annotations.willChange",v),t(I((0,o.aV)([i]))),null==b||b.createObject(i,{attachments:u&&g?(0,o.D5)([[u,g]]):(0,o.D5)()}),null==b||b.autoSave(),t((0,c.Df)((0,o.l4)([i.id]),null)),t((0,p.kN)(i.pageIndex,i.boundingBox))}))},T=e=>(t,n)=>{const a=n();(0,i.kG)(a.backend);const{annotationManager:s,backend:l}=a;(0,r.dC)((()=>{"STANDALONE"===(null==l?void 0:l.type)?t(I((0,o.aV)([e.set("pdfObjectId",null).delete("APStreamCache")]))):t(I((0,o.aV)([e]))),null==s||s.createObject(e,{attachments:(0,m.Dc)(n(),e)})}))},I=e=>({type:S.M85,annotations:e}),F=e=>({type:S.R8P,annotations:e}),M=e=>({type:S.gF5,ids:e}),_=e=>(t,n)=>{const o=n(),r=o.currentItemPreset;if(!r)return;const i=o.annotationPresets.get(r);if(!i)return;let a=!1;o.eventEmitter.emit("annotationPresets.update",{preventDefault:()=>a=!0,currentPreset:r,currentPresetProperties:i,newPresetProperties:e}),a||t({type:S.oE1,attributes:e})},R=e=>({type:S.oWy,currentItemPreset:e}),N=e=>({type:S.UiQ,annotationPresets:e}),L=(e,t)=>({type:S.R1i,annotationID:e,annotationPresetID:t}),B=e=>({type:S.x0v,annotationID:e}),j=e=>({type:S.JwD,annotationID:e}),z=(e,t)=>(n,o)=>{n(R(t)),(0,y.PK)(o(),e).forEach((e=>{n(T(e)),!P.AQ[t]&&n(L(e.id,t))}))},K=(e,t)=>{e().annotationManager.updateObject(t,(0,m.Dc)(e(),t))},Z={},U=e=>(t,n)=>{const{annotations:r,invalidAPStreams:a,backend:s}=n();if(!r.has(e.id))return void(0,i.ZK)("An annotation that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this annotation was skipped.");(0,m.tl)({annotations:r,backend:s},(0,o.aV)([e]));let l=e.set("updatedAt",new Date);t(F((0,o.aV)([l]))),l=(0,m.tM)(n(),a,l),Z[l.id]||(Z[l.id]=(0,g.Z)(K,E.sP)),Z[l.id](n,l)};function V(e,t,n){const{annotations:o,invalidAPStreams:r,backend:s}=t;(0,m.tl)({annotations:o,backend:s},n);const l=n.map((e=>o.has(e.id)?(e instanceof a.UX&&e.isMeasurement()&&(e=e.set("note",e.getMeasurementDetails().label)),"STANDALONE"===(null==s?void 0:s.type)?e.delete("APStreamCache").set("updatedAt",new Date):e.set("updatedAt",new Date)):((0,i.ZK)("An annotation that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this annotation was skipped."),!1))).filter(Boolean);e(F(l)),l.forEach((e=>{const n=(0,m.tM)(t,r,e);var o;null!==e.pageIndex&&(null===(o=t.annotationManager)||void 0===o||o.updateObject(n,{attachments:(0,m.Dc)(t,n)}))}))}const G=e=>(t,n)=>{const i=n();(0,r.dC)((()=>{V(t,i,(0,o.aV)([e]))}))};function W(e,t,n){const{commentThreads:s,comments:l,annotationManager:c,formFieldValueManager:u}=t;n.forEach((t=>{const n=s.get(t.id);if(n&&1===n.size){const t=l.get(n.first());t&&(0,w.kT)(t)&&((0,i.kG)(t.id),e((0,h.Vn)((0,o.l4)([t.id]))))}})),n.forEach((t=>{(t instanceof a.Jn||t instanceof a.FV||t.isCommentThreadRoot)&&e((0,h.Wn)(t))}));let d=(0,o.aV)();(0,r.dC)((()=>{e(M(n.map((e=>e.id)).toSet())),d=n.map((e=>(0,m.dk)(t,e))),d.forEach((e=>{null==c||c.deleteObject(e)}))})),d.forEach((n=>{if(n instanceof a.x_){const r=n.formFieldName?t.formFields.get(n.formFieldName):null;var o;if(r)if(1===r.annotationIds.size&&r.annotationIds.first()===n.id)e((0,f.Wh)(r)),null!==(o=t.backend)&&void 0!==o&&o.isUsingInstantProvider()||null==u||u.deleteObject(new a.KD({name:r.name,value:r.value}));else if(r.annotationIds.includes(n.id)){const t=r.annotationIds.findIndex((e=>e===n.id));let o=r.set("annotationIds",r.annotationIds.filter((e=>e!==n.id)));o.options&&(o=o.set("options",r.options.filter(((e,n)=>n!==t)))),e((0,f.vK)(o))}}Z[n.id]&&delete Z[n.id]}))}const q=e=>(t,n)=>{W(t,n(),(0,o.aV)([e]))},H=(e,t)=>(n,o)=>{const i=o(),{annotations:a}=i,s=t.map((e=>a.get(e))).filter(Boolean);(0,r.dC)((()=>{e.size>0&&V(n,i,e),s.size>0&&W(n,i,s)}))};function $(e){return(t,n)=>{if(e&&!e.isEmpty()){const t=n(),r=e.map((e=>t.annotations.get(e))).filter(Boolean),i={annotations:(0,o.aV)(r),reason:s.f.DELETE_START};t.eventEmitter.emit("annotations.willChange",i)}t({type:S.sCM,annotationsIDs:e})}}const Y=e=>({type:S.qRJ,stampAnnotationTemplates:e}),X=e=>({type:S.RPc,lineWidth:e});function J(){return(e,t)=>{const n=t();let o=new a.Qi((0,m.lx)(n));const r=n.pages.get(n.viewportState.currentPageIndex);(0,i.kG)(r);const s=a.UL.getCenteredRect(new l.$u({width:E.SP,height:E.SP}),r.pageSize);o=o.set("pageIndex",n.viewportState.currentPageIndex).set("boundingBox",s),e((0,d.i9)(null,o)),e(G(o))}}function Q(){return(e,t)=>{const n=t();let o=new a.gd((0,m.lx)(n));const r=n.pages.get(n.viewportState.currentPageIndex);(0,i.kG)(r);const{pagesRotation:s,currentPageIndex:l}=n.viewportState,c=r.pageSize.scale(.5),u=(0,v.gB)(new a.E9({x:c.width,y:c.height}),s);o=o.set("pageIndex",l).set("boundingBox",u).set("rotation",s),e((0,d.DU)(null,o)),e(G(o))}}const ee=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{type:S.WaW,value:e}},te=e=>({type:S.ieh,ids:e}),ne=e=>({type:S.kVz,ids:e}),oe=e=>({type:S.hw0,callback:e}),re=(e,t)=>({type:S.Dqw,variant:e,annotationObjectIds:t}),ie=e=>({type:S.uOP,annotationId:e})},29165:(e,t,n)=>{"use strict";n.d(t,{O:()=>r});var o=n(25387);const r=(e,t)=>({type:o.huI,hash:e,attachment:t})},51333:(e,t,n)=>{"use strict";n.d(t,{$z:()=>T,BY:()=>x,DO:()=>O,Dm:()=>E,GH:()=>I,Jr:()=>D,Rf:()=>F,UM:()=>k,V4:()=>C,Vn:()=>S,Wn:()=>A,aZ:()=>b,cQ:()=>v,fg:()=>m,gk:()=>w,mh:()=>g,v7:()=>y});var o=n(35369),r=n(25387),i=n(91859),a=n(82481),s=n(69939),l=n(34573),c=n(63738),u=n(49177),d=n(62164),p=n(95651),f=n(97413),h=n(30360);const m=e=>t=>{t({type:r.ckI,comments:e}),t(T())},g=e=>t=>{t({type:r.hxO,rootId:e}),t(T())};function v(){return(e,t)=>{const n=(0,u.PK)(t(),a.FV,!0);if(n.size){e((0,l.fz)()),e((0,s.lA)(n));const r=t().annotations.get(n.first().id);(0,f.k)(r),e((0,l.Df)((0,o.l4)([r.id]),null)),e(g(r.id))}}}const y=e=>({type:r.YHT,users:e}),b=e=>({type:r.ZLr,maxSuggestions:e}),w=e=>t=>{t((e=>({type:r.FdD,comments:e}))(e)),t(T())},S=e=>t=>{t({type:r.kg,ids:e}),t(T())};function E(){return(e,t)=>{const n=t(),r=[],i=[];n.selectedAnnotationIds.forEach((e=>{const t=n.commentThreads.get(e);if(!t)return;let o=t.size;t.forEach((e=>{var t;const i=n.comments.get(e);!i||null!=i.pageIndex||null!=(null===(t=i.text)||void 0===t?void 0:t.value)&&""!==(0,h.KY)(i.text.value)||(r.push(e),o--)})),0===o&&i.push(e)})),r.length>0&&e(S((0,o.l4)(r))),i.length>0&&e((0,s.aF)((0,o.l4)(i)))}}function P(e,t){let{oldComment:n,comment:r,action:i}=t;const{comments:a,eventEmitter:s}=e;if("DELETE"===i)(0,f.k)(n),s.emit("comments.mention",{comment:n,modifications:n.getMentionedUserIds().map((e=>({userId:e,action:"REMOVED"}))).toList()});else if("CREATE"===i)(0,f.k)(r),s.emit("comments.mention",{comment:r,modifications:r.getMentionedUserIds().map((e=>({userId:e,action:"ADDED"}))).toList()});else{(0,f.k)(r);const e=n||r.id&&a.get(r.id),t=r.getMentionedUserIds();let i=(0,o.aV)();(0,f.k)(e);const l=e.getMentionedUserIds(),c=l.subtract(t);c.size>0&&(i=i.push(...c.map((e=>({userId:e,action:"REMOVED"}))).toList()));const u=t.subtract(l);u.size>0&&(i=i.push(...u.map((e=>({userId:e,action:"ADDED"}))).toList())),s.emit("comments.mention",{comment:r,modifications:i})}}const x=(e,t)=>(n,r)=>{const i=r();(0,f.k)(e.rootId);const a=i.annotations.get(e.rootId);(0,f.k)(a);const l=new Date,c=e.set("createdAt",l).set("updatedAt",l).set("pageIndex",a.pageIndex);P(i,{comment:c,oldComment:t,action:"UPDATE"}),n(w((0,o.aV)([c])));const u=i.commentThreads.get(e.rootId);if((0,f.k)(null!=u),1===u.size&&(0,d.kT)(e)){var p,h;const e=a.set("isCommentThreadRoot",!0);n((0,s.Zr)((0,o.aV)([e]))),null===(p=i.annotationManager)||void 0===p||p.createObject(e),null===(h=i.annotationManager)||void 0===h||h.autoSave()}(0,f.k)(null!=i.commentManager);const m=r(),g=m.comments.toList().filter((e=>!(0,d.kT)(e)));i.commentManager.createObject(c,{comments:g,annotations:m.annotations}),i.commentManager.autoSave()},D=e=>(t,n)=>{const r=new Date,i=e.set("createdAt",r).set("updatedAt",r);t(m((0,o.aV)([i]))),P(n(),{comment:i,action:"CREATE"});const{commentManager:a,annotations:s}=n();(0,f.k)(null!=a);const l=n().comments.toList().filter((e=>!(0,d.kT)(e)));a.createObject(i,{comments:l,annotations:s})},C=e=>(t,n)=>{const r=e.set("updatedAt",new Date);t(w((0,o.aV)([r]))),P(n(),{comment:r,oldComment:e,action:"UPDATE"});const{annotations:i,commentManager:a}=n();(0,f.k)(null!=a);const s=n().comments.toList().filter((e=>!(0,d.kT)(e)));a.updateObject(r,{comments:s,annotations:i})},k=e=>(t,n)=>{const r=n();if((0,f.k)(e.id),P(r,{oldComment:e,action:"DELETE"}),e.rootId){const n=r.commentThreads.get(e.rootId);if(n&&(1===n.size||(0,d._P)(n,r.comments)&&2===n.size)){const n=r.annotations.get(e.rootId);if(n)return void t((0,s.hQ)(n))}}t(S((0,o.l4)([e.id])));const{commentManager:i}=r;(0,f.k)(null!=i);const a=n(),l=a.comments.toList().filter((e=>!(0,d.kT)(e)));i.deleteObject(e,{comments:l,annotations:a.annotations}),i.autoSave()},A=e=>(t,n)=>{var o;const r=n();if((0,f.k)(e),"SERVER"===(null===(o=r.backend)||void 0===o?void 0:o.type))return;const i=r.comments.filter((t=>t.rootId===e.id&&!(0,d.kT)(t))).map((e=>e.id));if(0===i.size)return;t(S(i.toSet())),r.comments.forEach((e=>{P(r,{oldComment:e,action:"DELETE"})}));const{commentManager:a}=r;(0,f.k)(null!=a);const s=n();let l=s.comments.toList().filter((e=>!(0,d.kT)(e)));l.forEach((t=>{t.rootId===e.id&&(a.deleteObject(t,{comments:l,annotations:s.annotations}),l=l.filter((e=>e.id!==t.id)))})),a.autoSave()},O=e=>(t,n)=>{const r=n();(0,f.k)(e.id),P(r,{comment:e,oldComment:r.comments.get(e.id),action:"UPDATE"}),t(w((0,o.aV)([e])));const{commentManager:i}=r;(0,f.k)(null!=i);const{annotations:a,comments:s}=n(),l=s.toList().filter((e=>!(0,d.kT)(e)));i.updateObject(e,{comments:l,annotations:a}),i.autoSave()};function T(){return{type:r.NB4}}const I=()=>(e,t)=>{const n=t();let r=new a.Jn((0,p.lx)(n));const l=n.pages.get(n.viewportState.currentPageIndex);(0,f.k)(l);const u=a.UL.getCenteredRect(new a.$u({width:i.zk,height:i.zk}),l.pageSize);r=r.set("pageIndex",n.viewportState.currentPageIndex).set("boundingBox",u),e((0,c.k6)(r)),e((0,s.Zr)((0,o.aV)([r]))),e(g(r.id))};function F(e){return{type:r.mfU,onCommentCreationStartCallback:e}}},63738:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>ce,A7:()=>ge,BB:()=>m,BR:()=>x,C4:()=>R,Cc:()=>A,Ce:()=>F,Cn:()=>dt,DU:()=>oe,Di:()=>it,EJ:()=>je,EY:()=>we,FA:()=>St,Ft:()=>ht,GL:()=>Te,Gc:()=>U,Gh:()=>Ne,HT:()=>mt,Hf:()=>Be,IU:()=>ue,Ie:()=>We,JN:()=>ye,Jn:()=>ie,K_:()=>ve,LE:()=>Z,Lt:()=>ne,M4:()=>G,M5:()=>lt,MV:()=>O,Ol:()=>H,Ox:()=>Ue,P4:()=>E,PR:()=>Ct,P_:()=>at,Q8:()=>Ce,QL:()=>W,Ql:()=>de,R:()=>h,R1:()=>_e,RN:()=>q,Rx:()=>Y,SE:()=>Oe,Sn:()=>v,T:()=>Ae,TR:()=>S,Tu:()=>De,UF:()=>Xe,UG:()=>g,UU:()=>ae,UZ:()=>Pt,Ug:()=>C,VU:()=>k,W:()=>yt,Wv:()=>te,X2:()=>le,X8:()=>He,XX:()=>Je,Xv:()=>gt,YA:()=>he,YF:()=>wt,YI:()=>X,YK:()=>qe,ZV:()=>Me,Zg:()=>se,_$:()=>vt,_P:()=>Se,_R:()=>Et,_U:()=>me,_b:()=>V,_z:()=>N,aw:()=>w,bv:()=>J,cI:()=>xe,cz:()=>st,d5:()=>y,d9:()=>nt,dp:()=>j,ek:()=>Pe,el:()=>ze,fq:()=>rt,hS:()=>D,i9:()=>B,iJ:()=>ct,i_:()=>Ge,iu:()=>Q,jJ:()=>kt,jM:()=>tt,jP:()=>_,k4:()=>re,k6:()=>z,lC:()=>b,lL:()=>bt,lV:()=>$e,lW:()=>pe,m$:()=>ee,m0:()=>$,mu:()=>Ze,oX:()=>Ee,of:()=>xt,p2:()=>Dt,p9:()=>T,pM:()=>L,qB:()=>pt,rL:()=>ut,rd:()=>Ke,s3:()=>P,sJ:()=>Ye,sY:()=>Ie,si:()=>et,t:()=>M,t6:()=>ot,tr:()=>K,u0:()=>ke,vI:()=>Ve,vY:()=>be,we:()=>Re,xF:()=>Qe,xW:()=>ft,yg:()=>I,z5:()=>fe,ze:()=>Le});var o=n(84121),r=n(50974),i=n(67366),a=n(32170),s=n(25387),l=n(34573),c=n(19702),u=n(3219),d=n(55024);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function f(e){for(var t=1;t({type:s.Dj2}),m=()=>({type:s.G5w}),g=e=>({type:s.kt4,enabled:e}),v=()=>({type:s.GW4}),y=e=>({type:s.mqf,preset:e}),b=()=>({type:s.tLW}),w=e=>({type:s.tS$,preset:e}),S=()=>({type:s.g30}),E=e=>({type:s.GXR,preset:e}),P=()=>({type:s.J7J}),x=e=>({type:s.yPS,preset:e}),D=()=>({type:s.m_C}),C=()=>({type:s.JyO}),k=()=>({type:s.NDs}),A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{signatureRect:null,signaturePageIndex:null,formFieldName:null};return f({type:s.Vu4},e)},O=()=>({type:s.S$y}),T=(e,t)=>()=>I(e,t),I=(e,t,n)=>({type:s.JS9,shapeClass:e,shapeInteractionMode:t,preset:n}),F=()=>({type:s.AIf}),M=e=>({type:s.cbv,preset:e}),_=()=>({type:s.TUA}),R=()=>({type:s.Dzg}),N=()=>({type:s.M3C}),L=()=>({type:s.tie}),B=(e,t)=>({type:s.ZDQ,preset:e,annotation:t}),j=()=>({type:s.B1n}),z=e=>({type:s.dEe,annotation:e}),K=()=>({type:s.iMs});function Z(e){return{type:s.IFt,formDesignMode:e}}function U(e){return{type:s.Gkm,measurementSnapping:e}}function V(e){return{type:s.G6t,scale:e}}function G(e){return{type:s.fwq,measurementPrecision:e}}function W(e){return{type:s.vkF,configurationCallback:e}}function q(e){return{type:s.SdX,scales:e}}function H(){return{type:s.aYj}}function $(){return{type:s.hpj}}function Y(){return{type:s.QYP}}function X(){return{type:s.zKF}}const J=()=>({type:s.MuN}),Q=()=>({type:s.xk1}),ee=()=>({type:s.tYC}),te=()=>({type:s.NAH}),ne=(e,t)=>({type:s.pnu,preset:e,annotation:t,isCallout:!0}),oe=(e,t)=>({type:s.pnu,preset:e,annotation:t}),re=()=>({type:s.KqR}),ie=()=>({type:s.R7l}),ae=()=>({type:s.Vpf}),se=()=>({type:s.eFQ}),le=()=>({type:s.L8n}),ce=e=>({type:s.VNM,editor:e}),ue=e=>({type:s.tPZ,width:e}),de=e=>({type:s.u9b,zoomStep:e}),pe=e=>({type:s.Ce5,callback:e}),fe=e=>({type:s.WtY,transformClientToPage:e});function he(e){return{type:s.rWQ,layoutMode:e}}function me(e){return{type:s.b0l,scrollMode:e}}function ge(e){return{type:s._TO,showSignatureValidationStatus:e}}function ve(e){return{type:s._n_,scrollElement:e}}function ye(e){return{type:s.bxr,spreadSpacing:e}}function be(e){return{type:s._ko,pageSpacing:e}}function we(e){return{type:s.FHt,keepFirstSpreadAsSinglePage:e}}function Se(e){return{type:s.ht3,viewportPadding:e}}function Ee(e){return{type:s.NfO,readOnlyEnabled:e}}function Pe(){return{type:s.Xlm}}function xe(){return{type:s.cyk}}function De(){return{type:s.KYU}}function Ce(){return{type:s.Nl1}}function ke(){return{type:s.L9g}}function Ae(){return{type:s.Dl4}}function Oe(){return{type:s.GfR}}function Te(e){return{type:s.iQZ,features:e}}function Ie(e){return{type:s.JQC,signatureFeatureAvailability:e}}function Fe(e){return t=>{t({type:s.hv0,mode:e}),t((0,l.vR)())}}function Me(e){return{type:s.ZbY,editableAnnotationTypes:e}}function _e(e){return{type:s.uFU,isEditableAnnotation:e}}function Re(e,t){return{type:s.ArU,editableAnnotationTypes:e,isEditableAnnotation:t}}function Ne(e){return{type:s.Q2U,isEditableComment:e}}const Le=()=>(e,t)=>{e(Fe(c.f.ANNOTATIONS));const n=t();for(let e=0;easync(e,t)=>{e(Fe(c.f.DOCUMENT_OUTLINE));const n=t();if(n.documentOutlineState.elements)return;(0,r.kG)(n.backend);const o=await n.backend.getDocumentOutline();e((0,a.o)(o))};function ze(){return Fe(c.f.THUMBNAILS)}function Ke(){return Fe(c.f.CUSTOM)}function Ze(){return{type:s.hv0,mode:null}}function Ue(e){return{type:s.eI4,placement:e}}function Ve(e){return{type:s.bP3,sidebarOptions:e}}function Ge(e){return{type:s.dVW,locale:e}}function We(){return{type:s.RTr}}function qe(e){return{type:s.heZ,group:e}}function He(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{type:s.hlI,annotationCreatorName:e,immutable:t}}const $e=()=>({type:s.YIz}),Ye=()=>({type:s.K26}),Xe=e=>({type:s.$VE,interactionMode:e}),Je=()=>({type:s.yrz});function Qe(){return{type:s.Hbz}}function et(){return{type:s.sYK}}const tt=e=>({type:s.fAF,customRenderers:e});function nt(){return{type:s.pNz}}function ot(){return{type:s.bV3}}function rt(){return{type:s.EpY}}function it(){return{type:s.bui}}function at(e){return{type:s.vVk,previewRedactionMode:e}}function st(e){return async(t,n)=>{const{viewportState:o,eventEmitter:a,documentComparisonState:s}=n();if(e){const n={start:{},end:{}};n.start.promise=new Promise(((e,t)=>{n.start.resolve=e,n.start.reject=t})),n.end.promise=new Promise(((e,t)=>{n.end.resolve=e,n.end.reject=t})),(0,i.dC)((()=>{t((0,u.nr)(o.set("documentComparisonMode",f(f({},e),{},{completion:n})))),t(lt({referencePoints:[],autoCompare:e.autoCompare,isResultFetched:!1,currentTab:e.autoCompare?null:d.Q.documentA,documentKey:d.Q.documentA,previousViewportState:{zoomMode:o.zoomMode,zoomLevel:o.zoomLevel,scrollPosition:o.scrollPosition,currentPageIndex:o.currentPageIndex,pageSizes:o.pageSizes}}))})),a.emit("documentComparisonUI.start",e)}else if(o.documentComparisonMode){const{completion:e}=o.documentComparisonMode;try{e.start.resolve(),await e.end.promise,(0,i.dC)((()=>{t((0,u.nr)(o.set("documentComparisonMode",null).merge(s.previousViewportState))),t(lt(null))})),a.emit("documentComparisonUI.end")}catch(e){throw new r.p2(e.message)}}}}function lt(e){return{type:s.KA1,documentComparisonState:e}}function ct(e){return{type:s.D5x,a11yStatusMessage:e}}function ut(){return{type:s.JRS}}function dt(){return{type:s.Gox}}function pt(e){return{type:s.rpU,lastToolbarActionUsedKeyboard:e}}function ft(){return{type:s.MYU}}function ht(){return{type:s.mbD}}function mt(){return{type:s.wog}}function gt(){return{type:s.UL9}}function vt(e){return{type:s.IyB,instance:e}}function yt(e){return{type:s.eJ4,customUIStore:e}}const bt=()=>({type:s.qKG}),wt=e=>({type:s.oZW,multiAnnotationsUsingShortcut:e}),St=()=>({type:s.odo}),Et=e=>({type:s.FQb,annotationsIds:e}),Pt=e=>({type:s.bzW,groupId:e}),xt=(e,t)=>({type:s.b4I,annotationId:e,groupId:t}),Dt=e=>({type:s.tzG,customFontsReadableNames:e}),Ct=()=>({type:s.Vje}),kt=()=>({type:s.XTO})},14012:(e,t,n)=>{"use strict";n.d(t,{Bm:()=>p,qZ:()=>d,rJ:()=>m,sr:()=>f,uT:()=>h});var o=n(67366),r=n(25387),i=n(70006),a=n(96114),s=n(38858),l=n(63738),c=n(20234),u=n(92234);function d(e,t){return{type:r.BS3,reason:e,progress:t}}function p(){return{type:r.nmm}}function f(e){return{type:r.zZV,reason:e}}function h(e){return{type:r.Ty$,resolvePassword:e}}function m(e){let{attemptedUnlockViaModal:t,hasPassword:n,features:d,signatureFeatureAvailability:p,permissions:f,documentInfo:h,formJSON:m,annotationManager:g,bookmarkManager:v,formFieldManager:y,formFieldValueManager:b,commentManager:w,changeManager:S,minSearchQueryLength:E,documentHandle:P,allowedTileScales:x,pageKeys:D}=e;return(e,C)=>{const{searchState:k,documentHandle:A,features:O,signatureFeatureAvailability:T}=C();(0,o.dC)((()=>{x&&e(function(e){return{type:r.iZ1,allowedTileScales:e}}(x)),t&&e({type:r.hC8}),e(function(e){return{type:r.poO,hasPassword:e}}(n)),d&&0===O.size&&e((0,l.GL)(d)),p&&!T&&e((0,l.sY)(p)),e((0,s.at)(f)),A&&A!==P&&e({type:r.obk}),e((0,s.GO)(h,D)),m&&e((0,a.Qi)(m)),e((0,u.QQ)()),e(function(e){return{type:r.rxv,annotationManager:e}}(g)),e(function(e){return{type:r.Hrp,bookmarkManager:e}}(v)),e(function(e){return{type:r.oj5,formFieldManager:e}}(y)),e(function(e){return{type:r.GHc,formFieldValueManager:e}}(b)),null!=w&&e(function(e){return{type:r.UII,commentManager:e}}(w)),e(function(e){return{type:r.gbd,changeManager:e}}(S)),"number"==typeof E&&e((0,i.j8)(k.set("minSearchQueryLength",E))),e((0,c.kE)(P))}))}}},38151:(e,t,n)=>{"use strict";n.d(t,{$t:()=>A,C0:()=>x,FD:()=>g,Hv:()=>_,Ij:()=>C,Mq:()=>O,O2:()=>T,Ow:()=>y,PZ:()=>k,Pq:()=>D,RL:()=>v,SF:()=>P,Yg:()=>E,Zv:()=>w,gY:()=>p,lx:()=>F,qt:()=>m,rO:()=>j,sC:()=>b,u:()=>B,u8:()=>f,um:()=>L,uy:()=>M,v2:()=>h,yy:()=>S});var o=n(67366),r=n(25387),i=n(97413),a=n(30761),s=n(96114),l=n(72643),c=n(68218),u=n(34573),d=n(12671);const p=async(e,t)=>{const{backend:n,contentEditorSession:i}=t();i.sessionId>0&&await(null==n?void 0:n.contentEditorExit()),await(null==n?void 0:n.contentEditorEnter()),(0,o.dC)((()=>{e((0,u.fz)()),e({type:r.MGL})}))},f=async(e,t)=>{const{backend:n}=t();await(null==n?void 0:n.contentEditorExit()),(0,o.dC)((()=>{e({type:r.Qm9}),e(E(!1))}))};const h=(e,t,n,o,r)=>N(e,t,(e=>e.contentEditorSetTextBlockCursor(t,n,o,r))),m=(e,t,n,o,r)=>N(e,t,(e=>e.contentEditorInsertTextBlockString(t,n,o,r))),g=(e,t,n,o,r)=>N(e,t,(e=>e.contentEditorMoveTextBlockCursor(t,n,o,r))),v=(e,t,n,o)=>N(e,t,(e=>e.contentEditorDeleteTextBlockString(t,n,o))),y=(e,t,n,o)=>N(e,t,(e=>e.contentEditorSetTextBlockSelection(t,n,o))),b=(e,t,n,o,r,i)=>N(e,t,(e=>e.contentEditorSetTextBlockSelectionRange(t,n,o,r,i))),w=(e,t,n)=>N(e,t,(e=>e.contentEditorTextBlockUndo(t,n))),S=(e,t,n)=>N(e,t,(e=>e.contentEditorTextBlockRedo(t,n))),E=e=>({type:r.bOH,isVisible:e}),P=(e,t)=>({type:r.joZ,pageIndex:e,textBlockId:t}),x=(e,t)=>({type:r.xhM,pageIndex:e,textBlockId:t}),D=e=>{e({type:r.fQw})},C=(e,t)=>{e({type:r.Y4});const n=t().contentEditorSession;e(function(e){return async(t,n)=>{const{backend:o,features:r,annotations:l,isAPStreamRendered:c}=n();(0,i.k)(o),o.cancelRequests(),await o.contentEditorSaveAndReload(e);const u=await o.runPDFFormattingScriptsFromWidgets(l,null,c);await(0,a.jX)(t,n,{features:r}),u.length&&t((0,s.bt)({changes:u}))}}((0,l.Gp)(n))),e(f)},k=e=>{let{fixpointValue:t,newWidth:n}=e;return async(e,o)=>{const a=o(),{backend:s}=a;(0,i.k)(s);const{textBlockInteractionState:l}=a.contentEditorSession;if((null==l?void 0:l.state)!==c.FP.Selected)return;const{pageIndex:u,textBlockId:p}=l;e({type:r.ciU,pageIndex:u,textBlockId:p,fixpointValue:t,newWidth:n});const f=(0,c.aT)(u,p)(o());(0,i.k)(f),await s.contentEditorLayoutTextBlock(p,null,null,(0,d.hH)(f)).then((t=>e({type:r.VOt,pageIndex:u,textBlockId:p,updateInfo:t}))).catch()}},A=e=>{let{anchor:t,pageIndex:n=null,textBlockId:o=null,isKeyboardMove:a}=e;return async(e,s)=>{const l=s(),{backend:u}=l;if((0,i.k)(u),null===n||!o){const{textBlockInteractionState:e}=l.contentEditorSession;if(({pageIndex:n,textBlockId:o}=e),(null==e?void 0:e.state)===c.FP.Active)return}e({type:r.fLm,pageIndex:n,textBlockId:o,anchor:t,isKeyboardMove:a});const p=(0,c.aT)(n,o)(s());(0,i.k)(p),await u.contentEditorLayoutTextBlock(o,null,null,(0,d.hH)(p)).then((t=>e({type:r.VOt,pageIndex:n,textBlockId:o,updateInfo:t}))).catch()}},O=e=>(t,n)=>{const o=n(),{backend:a}=o;(0,i.k)(a);const{textBlockInteractionState:s}=o.contentEditorSession;(0,i.k)((null==s?void 0:s.state)===c.FP.Active);const l=(0,c.aT)(s.pageIndex,s.textBlockId)(o);if(l)if(l.selection)a.contentEditorTextBlockApplyFormat(s.textBlockId,null,e,(0,d.hH)(l)).then((e=>{t({type:r.VOt,pageIndex:s.pageIndex,textBlockId:s.textBlockId,updateInfo:e})}));else{let n=l.modificationsCharacterStyle.fontRef.faceRef;e.family&&(n=n.set("family",e.family)),null!=e.bold&&(n=n.setIn(["variant","bold"],e.bold)),null!=e.italic&&(n=n.setIn(["variant","italic"],e.italic)),t({type:r.Ebp,pageIndex:s.pageIndex,textBlockId:s.textBlockId,faceRef:n,color:e.color,size:e.size})}},T=async(e,t)=>{e(I());const{backend:n}=t();(0,i.k)(n);const o=await n.contentEditorGetAvailableFaces();e(R(o))},I=()=>({type:r.U7k}),F=(e,t)=>({type:r.Han,tooltipRect:e,fontFace:t}),M=e=>async t=>{new Promise((n=>{setTimeout((()=>{e.aborted||t({type:r.WmI}),n()}),100)}))},_=e=>({type:r.nI6,abortController:e}),R=e=>({type:r.ZgW,faceList:e}),N=(e,t,n)=>async(o,a)=>{const{backend:s}=a();(0,i.k)(s),o({type:r.HYy});const l=await n(s);o({type:r.VOt,pageIndex:e,textBlockId:t,updateInfo:l})},L=async(e,t)=>{const n=t(),{backend:a,contentEditorSession:s}=n;(0,i.k)(a);const{textBlockInteractionState:l}=s;(0,i.k)((null==l?void 0:l.state)===c.FP.Selected||(null==l?void 0:l.state)===c.FP.Active);const{pageIndex:u,textBlockId:p}=l,f=(0,c.aT)(u,p)(t());(0,i.k)(f);const h=(0,d.hH)(f);(0,o.dC)((()=>{e(y(u,p,"everything",h)),e(v(u,p,"forward",h)),e({type:r.snK,pageIndex:u,textBlockId:p})}))},B=e=>({type:r.teI,mode:e}),j=(e,t)=>async(n,a)=>{const{backend:s}=a();(0,i.k)(s),n({type:r.HYy});const l=await s.contentEditorCreateTextBlock(e);l.textBlock.modificationsCharacterStyle.fontRef.size=16;const{id:c,textBlock:{maxWidth:u,alignment:d,lineSpacingFactor:p,modificationsCharacterStyle:f}}=l,h=await s.contentEditorLayoutTextBlock(c,null,null,{maxWidth:u,alignment:d,lineSpacingFactor:p,modificationsCharacterStyle:f});(0,o.dC)((()=>{n({type:r.uo5,pageIndex:e,initialTextBlock:l,anchor:t.set("y",t.y-h.contentRect.offset.y/2)}),n({type:r.VOt,pageIndex:e,textBlockId:c,updateInfo:h})}))}},41194:(e,t,n)=>{"use strict";n.d(t,{Y:()=>l,e:()=>s});var o=n(50974),r=n(30761),i=n(25387),a=n(96114);function s(e,t,n,i){return async(s,l)=>{const{backend:c,features:u,pages:d}=l();try{(0,o.kG)(c),c.cancelRequests();const n=await c.signDocumentAndReload(e,t);if(await(0,r.jX)(s,l,{features:u,pageKeys:d.map((e=>e.pageKey))}),n&&"STANDALONE"===c.type){const e=await c.runPDFFormattingScripts([n],!1);e.length>0&&s((0,a.bt)({changes:e,isReloading:!0}))}}catch(e){return i(e)}l().eventEmitter.emit("document.change",[]),n()}}function l(e){return{type:i.lRe,digitalSignatures:e}}},20234:(e,t,n)=>{"use strict";n.d(t,{KY:()=>p,NV:()=>f,b_:()=>u,kE:()=>d});var o=n(50974),r=n(30761),i=n(25387),a=n(96114),s=n(2810),l=n(33320),c=n(18146);function u(e,t,n){return async(i,l)=>{const{backend:u,features:d,pages:p,annotations:f,isAPStreamRendered:m}=l();(0,o.kG)(u);try{const t=e.map(s.kg);u.cancelRequests(),await u.applyOperationsAndReload(t);const n=await u.runPDFFormattingScriptsFromWidgets(f,null,m);await(0,r.jX)(i,l,{features:d,pageKeys:h(p.map((e=>e.pageKey)),e,f.filter((e=>e instanceof c.Z)))}),n.length&&i((0,a.bt)({changes:n}))}catch(e){return n(e)}l().eventEmitter.emit("document.change",e),t()}}function d(e){return{type:i.S0t,documentHandle:e}}function p(e){return{type:i.YS$,isDocumentHandleOutdated:e}}function f(e,t){return async(n,i)=>{const{backend:s,features:l,annotations:c,isAPStreamRendered:u}=i();(0,o.kG)(s);try{s.cancelRequests(),await s.reloadDocument();const e=await s.runPDFFormattingScriptsFromWidgets(c,null,u);await(0,r.jX)(n,i,{features:l}),e.length&&n((0,a.bt)({changes:e}))}catch(e){return t(e)}i().eventEmitter.emit("document.change",[]),e()}}function h(e,t,n){return t.reduce(((e,t)=>{switch(t.type){case"addPage":return e.insert("beforePageIndex"in t?t.beforePageIndex:t.afterPageIndex+1,(0,l.C)());case"movePages":{const n=e.filter(((e,n)=>t.pageIndexes.includes(n)));return e.map(((e,n)=>t.pageIndexes.includes(n)?null:e)).splice("beforePageIndex"in t?t.beforePageIndex:t.afterPageIndex+1,0,...n.toArray()).filter((e=>e))}case"removePages":return e.filter(((e,n)=>!t.pageIndexes.includes(n)));case"keepPages":return e.filter(((e,n)=>t.pageIndexes.includes(n)));case"duplicatePages":return e.flatMap(((e,n)=>t.pageIndexes.includes(n)?[e,(0,l.C)()]:[e]));case"cropPages":case"rotatePages":case"flattenAnnotations":return e.map(((e,n)=>!t.pageIndexes||t.pageIndexes.includes(n)?(0,l.C)():e));case"applyRedactions":{const t=n.map((e=>e.pageIndex)).toSet();return e.map(((e,n)=>t.includes(n)?(0,l.C)():e))}case"updateMetadata":case"setPageLabel":return e;case"importDocument":if(t.treatImportedDocumentAsOnePage){const n="beforePageIndex"in t?t.beforePageIndex:t.afterPageIndex+1;return e.map(((e,t)=>t(0,l.C)()));default:throw new Error(`Operation ${t} is not implemented`)}}),e)}},32170:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i,o:()=>r});var o=n(25387);function r(e){return{type:o.Oh4,outline:e}}function i(e){return{type:o.Whn,level:e}}},96114:(e,t,n)=>{"use strict";n.d(t,{bt:()=>Z,kW:()=>U,zq:()=>T,TD:()=>M,Wh:()=>G,HE:()=>F,M$:()=>R,h4:()=>B,el:()=>L,ul:()=>K,yM:()=>W,xW:()=>I,xh:()=>j,Qi:()=>O,r$:()=>N,V6:()=>q,vK:()=>V,C2:()=>_});var o=n(67366),r=n(50974),i=n(35369),a=n(73935),s=n(82481),l=n(25387),c=n(2810),u=n(69939),d=n(86920),p=n(37676),f=n(16126),h=n(25644),m=n(97333),g=n(97528),v=n(35129),y=n(84121),b=n(76154),w=n(37756);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function E(e){for(var t=1;t(0,r.wp)(i.formatMessage(t,null==n?void 0:n.reduce(((e,t,n)=>E(E({},e),{},{[`arg${n}`]:t})),{})))),0)}var x=n(63738),D=n(20792),C=n(76192),k=n(95651),A=n(25904);function O(e){return{type:l.iJ2,formJSON:e}}function T(e){return{type:l.Ui_,formFieldValues:e}}function I(e){return{type:l.m3$,formFieldValues:e}}function F(e){return{type:l.u7V,formFieldValuesIds:e}}function M(e){return{type:l.zGM,formFields:e}}function _(e){return{type:l.Wyx,formFields:e}}function R(e){return{type:l.D_w,formFieldsIds:e}}function N(e){return{type:l.TYu,onWidgetCreationStartCallback:e}}function L(){return e=>{e((0,x.LE)(!0)),e((0,x.UF)(D.A.FORM_CREATOR))}}function B(){return e=>{e((0,x.LE)(!1)),e((0,x.XX)())}}function j(e,t){return(n,a)=>{const l=e.map((e=>new s.KD({name:e.name,value:e.value,optionIndexes:e.optionIndexes,isFitting:e.isFitting}))),c=(0,i.aV)(l),{backend:u,formFields:d,formFieldValueManager:p,annotations:h,viewportState:{zoomLevel:m}}=a();if((0,r.kG)(u),(0,r.kG)(p),g.Ei.PDF_JAVASCRIPT&&"STANDALONE"===u.type)n(K(c,t));else{const e=[];(0,o.dC)((()=>{c.forEach((t=>{let o;const a=new Promise((e=>{o=e}));e.push(a),(0,f.Ay)({getState:()=>({formFields:d,annotations:h,backend:u}),originalFormFields:(0,i.D5)({[t.name]:d.get(t.name)}),formFieldValues:(0,i.aV)(l),callback:e=>{if(!e.includes(t.name)){const e=d.get(t.name);(0,r.kG)(e);const o=e.annotationIds.reduce(((e,t)=>{const n=h.get(t);return n instanceof s.x_?e.push(n):e}),(0,i.aV)());if(e.multiLine){const r=(0,A.$Z)(o.first(),e.value,m);n(I((0,i.aV)([t.set("isFitting",r)])))}else n(I((0,i.aV)([t])))}},resolve:o}),p.updateObject(t)}))})),Promise.all(e).then((()=>{null==t||t()})).catch((e=>{throw e}))}}}let z=Promise.resolve();function K(e,t){return async(n,o)=>{const l=z;let c=()=>{};z=new Promise((function(e){c=e})),await l;try{const{backend:t}=o();if((0,r.kG)(t),"STANDALONE"!==t.type||!g.Ei.PDF_JAVASCRIPT)return;const l=await(0,m.Vs)(t.evalFormValuesActions(e),1e4),u=l.filter((e=>e.change_type===d.zR&&"pspdfkit/form-field-value"===e.object.type)),p=u.map((e=>e.object.name)),h=(0,i.aV)(u.map((e=>new s.KD({name:e.object.name,value:Array.isArray(e.object.value)?(0,i.aV)(e.object.value):e.object.value,optionIndexes:e.object.optionIndexes})))),v=e.map((e=>e.name)).toArray().filter((e=>p.indexOf(e)<0)),{formFields:y}=o(),b=(0,f.Qg)(y.filter(((e,t)=>v.indexOf(t)>=0))),w=y.filter((t=>e.find((e=>e.name===t.name))||b.find((e=>e.name===t.name))||p.includes(t.name))),S=e.map((e=>h.find((t=>t.name===e.name))||e)).concat(h.filter((t=>!e.find((e=>e.name===t.name)))));(0,f.Ay)({getState:o,originalFormFields:w,formFieldValues:S,callback:t=>{e.size>0&&(0,a.flushSync)((function(){n(I(e))})),b.size>0&&n(I(b)),n(Z({changes:l,unchangedFormFieldValues:t}))}})}catch(e){}finally{c()}null==t||t()}}function Z(e){let{changes:t,unchangedFormFieldValues:n=[],resolve:a,reject:s,isReloading:m=!1}=e;return(e,g)=>{const y=g(),{annotations:b,formFields:w,formFieldManager:S,backend:E,autoSaveMode:x}=y,D=y.formattedFormFieldValues;let k,A=(0,i.aV)(),O=y.editingFormFieldValues;(0,o.dC)((function(){null==E||E.setFormJSONUpdateBatchMode(!0).catch((e=>{null==s||s(e)})),A=(0,i.aV)().withMutations((n=>{k=D.withMutations((o=>{t.forEach((t=>{let{change_type:i,object:a}=t;switch(i){case d.uV:case d.zR:if("pspdfkit/form-field-value"===a.type){const e=(0,c.u9)(a);n.push(e),"string"==typeof a.formattedValue&&o.set(e.name,a.formattedValue),"string"==typeof a.editingValue&&(O=O.set(e.name,a.editingValue))}else if(a.type.startsWith("pspdfkit/form-field/")){if(!S)return;const t=(0,c.IN)(a.id,a,{permissions:a.permissions,group:a.group});w.has(t.name)?e(V(t)):e(U(t))}else try{const t=(0,c.vH)(a.id,a);b.has(t.id)?e((0,u.FG)(t)):e((0,u.$d)(t))}catch(e){(0,r.ZK)(`Form actions: unable to apply change of type "${i}"\n\n${a}\n\n${e.message}`)}break;case d.co:if(a.type.startsWith("pspdfkit/form-field/")){const t=w.get(a.name);t?e(G(t)):(0,r.ZK)(`Form actions: unable to find FormField to delete with id "${a.id}".`)}else{const t=b.get(a.id);t?e((0,u.hQ)(t)):(0,r.ZK)(`Form actions: unable to find Annotation to delete with id "${a.id}".`)}break;case d.D2:switch(a.type){case"pspdfkit/javascript/effects/alert":{const{message:e}=a;if(e.startsWith(f.$Y)){const t=e.split("[")[1].split("]"),n=t[1].split(f.as);P(y.locale,v.A.dateValidationBadFormat,[t[0],n[1]])}else if(e.startsWith(f.sh)){const t=e.split("[")[1].split("]");P(y.locale,v.A.numberValidationBadFormat,[t[0]])}else(0,r.wp)(e);break}case"pspdfkit/javascript/effects/print":e((0,h.S0)());break;case"pspdfkit/javascript/effects/launchURL":var s;(null===(s=y.onOpenURI)||void 0===s?void 0:s.call(y,a.url,!1))&&(a.newFrame?(0,p.Z)(a.url):(0,p.l)(a.url));break;case"pspdfkit/javascript/effects/mail":{if(!a.to)break;let e=`mailto:${Array.isArray(a.to)?a.to.join(","):a.to}?`;const t=[];if(a.subject&&t.push(`subject=${encodeURIComponent(a.subject)}`),a.cc){const e=Array.isArray(a.cc)?a.cc.map((e=>encodeURIComponent(e))).join(";"):encodeURIComponent(a.cc);t.push(`cc=${e}`)}if(a.bcc){const e=Array.isArray(a.bcc)?a.bcc.map((e=>encodeURIComponent(e))).join(";"):encodeURIComponent(a.bcc);t.push(`bcc=${e}`)}a.message&&t.push(`body=${encodeURIComponent(a.message)}`),e+=t.join("&"),(0,p.Z)(e);break}case"pspdfkit/javascript/effects/importIcon":break;default:(0,r.ZK)(`Form actions: side effect "${a.type}" not supported.`)}break;case d.Q:break;default:(0,r.ZK)(`Form actions: change type "${i}" not supported.`)}}))}))}))}));const T=null==E?void 0:E.setFormJSONUpdateBatchMode(!1);let F=[];if(A.size>0){e(I(A)),k.size>0&&e(function(e){return{type:l.VK7,formattedFormFieldValues:e}}(k)),O.size>0&&e(function(e){return{type:l.yET,editingFormFieldValues:e}}(O));const{formFieldValueManager:t}=g();(0,r.kG)(t);let o=(0,i.l4)();F=A.filter((e=>!n.includes(e.name))).map((e=>{if(t.updateObject(e),m){const t=w.get(e.name);if(t){const e=t.annotationIds.map((e=>b.get(e))).filter(Boolean);o=o.concat((0,i.l4)(e.map((e=>e.pageIndex))))}}return x===C.u.DISABLED?Promise.resolve():t.ensureObjectSaved(e)})).toArray(),m&&o.size>0&&e({type:l.TG1,pageIndexes:o})}Promise.all([T,...F]).then((()=>{null==a||a()})).catch((e=>{null==s||s(e)}))}}function U(e){return(t,n)=>{const{formFields:o,formFieldManager:a}=n();if(o.get(e.name))throw new r.p2(`Cannot create form field: a form field with the name "${e.name}" already exists. Form field names must be unique.`);t(M((0,i.aV)([e]))),null==a||a.createObject(e)}}function V(e){return(t,n)=>{var o;const{formFields:a,annotations:s,backend:l}=n(),c=a.find((t=>t.id===e.id||t.name===e.name));if(!c)return void(0,r.ZK)("A form field that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this form field was skipped.");if(c.readOnly!==e.readOnly){const t=e.annotationIds.map((e=>s.get(e))).filter(Boolean);(0,k.CU)({formFields:a,backend:l},t,e)}const u=e.merge({value:c.value,values:c.values});t(_((0,i.aV)([u]))),null===(o=n().formFieldManager)||void 0===o||o.updateObject(u)}}function G(e){return(t,n)=>{var o;const r=n(),a=e.annotationIds.map((e=>r.annotations.get(e))).filter(Boolean);a.isEmpty()||(t((0,u.aF)(a.map((e=>null==e?void 0:e.id)).toSet())),a.forEach((e=>{var t;null===(t=r.annotationManager)||void 0===t||t.deleteObject(e)}))),t(R((0,i.l4)([e.id]))),null===(o=n().formFieldManager)||void 0===o||o.deleteObject(e)}}function W(e,t){return(n,o)=>{const i=H(o(),e,t).map((e=>{const{name:t}=e;let n;return e instanceof s.$o||e instanceof s.XQ?n=e.defaultValue:e instanceof s.Dz||e instanceof s.rF?n=e.defaultValues:e instanceof s.R0?n=null:(0,r.kG)(!1),new s.KD({name:t,value:n})}));g.Ei.PDF_JAVASCRIPT&&n(K(i)),n(I(i)),i.forEach((e=>{var t;null===(t=o().formFieldValueManager)||void 0===t||t.updateObject(e)}))}}function q(e){return(t,n)=>{var o;const a=n();let l,c=!1;if(null===(o=a.formFieldValueManager)||void 0===o||o.eventEmitter.emit("willSubmit",{preventDefault:()=>c=!0}),c)return;const{uri:u,fields:d,includeExclude:p,exportFormat:f,getMethod:h,submitPDF:m,xfdf:g}=e,v=(0,i.D5)(H(a,d,p).filter((e=>!e.noExport)).map((e=>{const{name:t}=e;return[t,e instanceof s.R0?null:void 0===e.value?e.values:e.value]})));if(f){const e=function(e){const t=[];return e.forEach(((e,n)=>{const o=encodeURIComponent(n);"string"==typeof e?t.push(`${o}=${encodeURIComponent(e)}`):null===e?t.push(`${o}=`):e instanceof i.aV&&e.forEach((e=>{t.push(`${o}[]=${encodeURIComponent(e)}`)}))})),t.join("&")}(v);if(h)l=Promise.resolve({uri:`${u}?${e}`,fetchOptions:{method:"GET"}});else{const t={headers:new Headers({"Content-Type":"application/x-www-form-urlencoded"}),method:"POST",body:e};l=Promise.resolve({uri:u,fetchOptions:t})}}else{if(!m)return g?void(0,r.vU)("XFDF Form submission not supported yet."):void(0,r.vU)("FDF Form submission not supported yet.");var y;l=null===(y=a.backend)||void 0===y?void 0:y.exportPDF({flatten:!0,incremental:!1}).then((e=>{const t={headers:new Headers({"Content-Type":"application/pdf"}),method:"POST",body:e};return{uri:u,fetchOptions:t}}))}l.then((e=>{let{uri:t,fetchOptions:n}=e;fetch(t,n).then((e=>{var t;null===(t=a.formFieldValueManager)||void 0===t||t.eventEmitter.emit("didSubmit",{response:e})}))})).catch((e=>{var t;e(`Form submission failed with the following error:\n\n${e}`),null===(t=a.formFieldValueManager)||void 0===t||t.eventEmitter.emit("didSubmit",{error:e})}))}}function H(e,t,n){let o;const r=e.formFields.keySeq().toSet();return o=t?n?r.subtract(t):r.intersect(t):r,e.get("formFields").valueSeq().filter((e=>o.includes(e.name))).toList()}},92234:(e,t,n)=>{"use strict";n.d(t,{KX:()=>w,QQ:()=>S,Yw:()=>b,ou:()=>P,pB:()=>y,z9:()=>E});var o=n(84121),r=n(35369),i=n(50974),a=n(25387),s=n(69939),l=n(39728),c=n(32125),u=n(95651),d=n(67699),p=n(51333),f=n(33320),h=n(96114);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t{const{historyChangeContext:r}=o();n(v(e)),t(),n(v(r))}}function b(){return(e,t)=>{const{undoActions:n,annotations:o,isHistoryEnabled:m}=t();if(!m)throw new i.p2("Cannot undo: the Undo Redo history API is disabled.");if(0===n.size)throw new i.p2("Cannot undo: the Undo actions history is empty.");const v=n.last(),b=(0,l.kM)(v,o);e(y(d.j.HISTORY,(()=>{"create"===v.type?e(function(e){return function(t,n){const{historyIdsMap:o,backend:i}=n();let l=e.payload;const c=e.formField;if(e.restoreAPStream&&"STANDALONE"===(null==i?void 0:i.type)&&(l=l.set("APStreamCache",{attach:o.get(l.id)||l.id})),t((0,s.$d)(l)),c&&t((0,h.kW)(c)),l.isCommentThreadRoot&&e.comments){e.comments.map((t=>t.set("rootId",e.payload.id).set("id",(0,f.C)()))).forEach((e=>{t((0,p.Jr)(e))}))}e.restoreAPStream?t((0,s.ug)((0,r.D5)({[l.id]:l.pageIndex}))):t((0,s.GI)((0,r.D5)({[l.id]:l.pageIndex})));const u={type:"delete",payload:{id:l.id}};t({type:a.bVL,nextRedoAction:u})}}(v)):"update"===v.type?e(function(e){return function(t,n){const{annotations:o,historyIdsMap:d,backend:p}=n();let f=o.get(e.payload.id);!f&&e.deletedAnnotation&&(f=e.deletedAnnotation.set("id",(0,u.xc)()),t((0,s.$d)(f))),(0,i.kG)(f instanceof c.Z);let h=f.merge(g(g({},e.payload),{},{pdfObjectId:f.pdfObjectId,id:f.id}));e.restoreAPStream&&"STANDALONE"===(null==p?void 0:p.type)&&(h=h.set("APStreamCache",{attach:d.get(h.id)||h.id})),t((0,s.FG)(h)),e.restoreAPStream&&t((0,s.ug)((0,r.D5)({[h.id]:h.pageIndex})));const m={type:"update",payload:g(g({},(0,l.mZ)(h,f)),{},{id:f.id})};t({type:a.bVL,nextRedoAction:m}),t({type:a.tC1,oldId:d.get(e.payload.id)||e.payload.id,newId:f.id})}}(v)):"delete"===v.type?e(function(e){return function(t,n){const o=n(),{annotations:i,commentThreads:d,comments:p,historyIdsMap:f}=o,m=i.get(e.payload.id);if(!(m instanceof c.Z))return;t((0,s.hQ)(m));const g=(0,u.xc)(),v=(0,l.Yr)(m,g,d,p),y=(0,l.ax)(m,g,o);y&&t((0,h.M$)((0,r.l4)([y.id])));const b={type:"create",payload:m.merge(e.payload).set("id",g),comments:v,formField:y};t({type:a.bVL,nextRedoAction:b,oldId:e.payload.id}),t({type:a.tC1,oldId:f.get(e.payload.id)||e.payload.id,newId:g})}}(v)):(0,i.Rz)(v.type)})));const{annotations:w,eventEmitter:S}=t(),E=(0,l.FA)(v,w,v.payload.id);S.emit("history.undo",{before:b,after:E}),S.emit("history.change",{before:b,after:E,action:"undo"})}}function w(){return(e,t)=>{const{redoActions:n,annotations:o,isHistoryEnabled:r}=t();if(!r)throw new i.p2("Cannot redo: the Undo Redo history API is disabled.");if(0===n.size)throw new i.p2("Cannot redo: the Redo actions history is empty.");const m=n.last(),v=(0,l.kM)(m,o);e(y(d.j.HISTORY,(()=>{"create"===m.type?e(function(e){return t=>{const n=e.payload,o=e.formField;if(t((0,s.$d)(n)),n.isCommentThreadRoot&&e.comments){e.comments.map((e=>e.set("rootId",n.id).set("id",(0,f.C)()))).forEach((e=>{t((0,p.Jr)(e))}))}o&&t((0,h.kW)(o));const r={type:"delete",payload:{id:n.id}};t({type:a.iwn,nextUndoAction:r})}}(m)):"update"===m.type?e(function(e){return(t,n)=>{const{annotations:o}=n(),r=o.get(e.payload.id);(0,i.kG)(r instanceof c.Z);const d=r.merge(g(g({},e.payload),{},{id:r.id})),p=(0,u.pe)(n,r,(()=>{t((0,s.FG)(d))})),f={type:"update",payload:(0,l.mZ)(d,r),restoreAPStream:p};t({type:a.iwn,nextUndoAction:f})}}(m)):"delete"===m.type&&e(function(e){return(t,n)=>{const o=n(),{historyIdsMap:r,annotations:d,commentThreads:p,comments:f}=o,h=d.get(e.payload.id);(0,i.kG)(h instanceof c.Z);const m=(0,u.pe)(n,h,(()=>{t((0,s.hQ)(h))})),g=(0,u.xc)(),v=(0,l.Yr)(h,g,p,f),y=(0,l.ax)(h,g,o),b={type:"create",payload:h.set("id",g),restoreAPStream:m,comments:v,formField:y};t({type:a.iwn,nextUndoAction:b,oldId:e.payload.id}),t({type:a.tC1,oldId:r.get(e.payload.id)||e.payload.id,newId:g})}}(m))})));const{annotations:b,eventEmitter:w}=t(),S=(0,l.FA)(m,b,m.payload.id);w.emit("history.redo",{before:v,after:S}),w.emit("history.change",{before:v,after:S,action:"redo"})}}function S(){return(e,t)=>{e({type:a._Qf});const{backend:n,eventEmitter:o}=t();"STANDALONE"===(null==n?void 0:n.type)&&n.clearAPStreamCache(),o.emit("history.clear")}}function E(){return{type:a._33}}function P(){return{type:a.wG7}}},44763:(e,t,n)=>{"use strict";n.d(t,{C0:()=>h,Ik:()=>l,Se:()=>u,U7:()=>f,VO:()=>c,Xh:()=>d,eO:()=>s,v9:()=>p});var o=n(50974),r=n(30570),i=n(63738),a=n(25387);function s(e){return{type:a.$8O,measurementToolState:e}}function l(e){return{type:a.UP4,hintLines:e}}function c(e){return{type:a.Zt9,secondaryMeasurementUnit:e}}function u(e){return{type:a.VNu,activeMeasurementScale:e}}function d(e){return{type:a.wgG,isCalibratingScale:e}}const p=e=>async(t,n)=>{const r=n();(0,o.kG)(r.backend);const{backend:i,secondaryMeasurementUnit:a}=r;try{e&&(await(null==i?void 0:i.setSecondaryMeasurementUnit(e)),t(c(e))),a&&!e&&(await(null==i?void 0:i.setSecondaryMeasurementUnit(null)),t(c(null)))}catch(e){(0,o.ZK)(`Failed to set secondary measurement unit: ${e}.`),t(c(a))}},f=(e,t)=>async(n,a)=>{const s=a();(0,o.kG)(s.backend);const{backend:l,measurementScales:c}=s,u="STANDALONE"===l.type;(0,o.kG)(c);const{added:d,deleted:p}=(0,r.Rc)(c,e),f=p.map((async e=>{u&&await(null==l?void 0:l.removeMeasurementScale(e));(null==t?void 0:t.find((t=>t.prevScale===e)))||await(0,r.fH)({deletedScale:e,getState:a,dispatch:n})})),h=d.map((async e=>{u&&await(null==l?void 0:l.addMeasurementScale(e))})),m=null==t?void 0:t.map((async t=>{await(0,r.Hg)({scale:e[t.index],oldScale:t.prevScale,getState:a,dispatch:n})}));Promise.all([f,h,m]).then((async()=>{u||(d.length>0?await(null==l?void 0:l.addMeasurementScale(d[0])):p.length>0&&await(null==l?void 0:l.removeMeasurementScale(p[0]))),n((0,i.RN)(e))}))},h=e=>async(t,n)=>{const r=n();(0,o.kG)(r.backend);const{backend:a,measurementScales:s}=r;await(null==a?void 0:a.addMeasurementScale(e)),t((0,i.RN)(s?[...s,e]:[e]))}},3219:(e,t,n)=>{"use strict";n.d(t,{IT:()=>a,Ic:()=>p,Pt:()=>E,U1:()=>b,YA:()=>s,Yr:()=>S,_R:()=>g,ac:()=>P,du:()=>y,dx:()=>d,fz:()=>i,kN:()=>c,kr:()=>h,lO:()=>v,lt:()=>l,nr:()=>f,vG:()=>m,vP:()=>u,vc:()=>w});var o=n(25387),r=n(51333);const i=()=>({type:o.wtk}),a=()=>({type:o.mE7}),s=e=>({type:o.RxB,pageIndex:e}),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{type:o.mLh,scrollPosition:e,lastScrollUsingKeyboard:t}},c=(e,t)=>({type:o.g4f,pageIndex:e,rect:t}),u=(e,t)=>({type:o.Lyo,pageIndex:e,rect:t});function d(e,t){return n=>{n({type:o.xYE,viewportRect:e,isTriggeredByOrientationChange:t}),n((0,r.$z)())}}const p=(e,t)=>({type:o.syg,zoomLevel:e,scrollPosition:t}),f=e=>({type:o.ZGb,viewportState:e}),h=()=>({type:o.UFs}),m=()=>({type:o.RCc}),g=()=>({type:o.MfE}),v=()=>({type:o.BWS}),y=()=>({type:o.QU3}),b=e=>({type:o.lD1,degCW:e}),w=()=>({type:o.kRo}),S=()=>({type:o.UFK}),E=e=>({type:o.D1d,width:e}),P=e=>({type:o.WsN,shouldDisable:e})},38858:(e,t,n)=>{"use strict";n.d(t,{GO:()=>r,Lv:()=>a,at:()=>s,uM:()=>i});var o=n(25387);function r(e,t){return{type:o.ME7,payload:e,pageKeys:t}}function i(e){return{type:o.dCo,payload:e}}const a=(e,t)=>({type:o.GZZ,pageIndex:e,textLines:t});function s(e){return{type:o.fnw,backendPermissions:e}}},25644:(e,t,n)=>{"use strict";n.d(t,{xF:()=>T,WQ:()=>O,S0:()=>F});var o=n(35369),r=n(50974),i=n(91859),a=n(80440),s=n(82481),l=n(36095);const c=l.Ni;function u(e,t,n){const o=i.nJ[n];let r=o>=i.nJ[a.g.LOW]&&c?i.nJ[a.g.MEDIUM]:o;t||(r=i.nJ[a.g.MEDIUM]);let l=e.scale(r).floor();return l.width>i.Qr&&l.width>l.height&&(l=new s.$u({width:i.Qr,height:Math.round(i.Qr*l.height/l.width)})),l.height>i.Qr&&l.height>l.width&&(l=new s.$u({width:Math.round(i.Qr*l.width/l.height),height:i.Qr})),[l,r]}const d=e=>{const t=e.scale(i.Ui);return new s.$u({width:Math.ceil(t.width),height:Math.floor(t.height)})};function p(e,t,n,o){const a=e.ownerDocument,l=a.createElement("div");l.id="print";const c=a.createElement("style");c.textContent=function(e){const t=`\n @page {\n size: ${e.width}pt ${e.height}pt;\n }\n\n \n @page {\n margin: 0;\n }`;return`\n @media print {\n \n * {\n ${f()}\n padding: 0 !important;\n margin: 0 !important;\n box-sizing: initial !important;\n display: none !important;\n visibility: hidden !important;\n }\n\n html, body {\n ${f()}\n height: 100% !important;\n width: 100% !important;\n display: block !important;\n visibility: visible !important;\n }\n\n \n\n body {\n background: transparent none !important;\n }\n\n #print, #print-container {\n ${f()}\n display: block !important;\n visibility: visible !important;\n height: 100% !important;\n }\n\n #print-container > div {\n ${f()}\n display: block !important;\n visibility: visible !important;\n position: relative !important;\n top: 0 !important;\n left: 0 !important;\n width: 1px !important;\n height: 1px !important;\n overflow: visible !important;\n page-break-after: always !important;\n page-break-inside: avoid !important;\n }\n\n #print-container canvas {\n ${f()}\n display: block !important;\n visibility: visible !important;\n }\n\n \n #print-container > .rotate90 {\n ${f()}\n display: block !important;\n visibility: visible !important;\n transform: rotate(90deg) !important;\n }\n\n \n #print-container > .rotateNegative90 {\n ${f()}\n display: block !important;\n visibility: visible !important;\n transform: translateY(${Math.abs(e.height-e.width)}pt) rotate(-90deg) !important;\n }\n\n \n @-moz-document url-prefix() {\n #print-container > .rotateNegative90 , #print-container > .rotate90 {\n margin-bottom: ${Math.abs(e.height-e.width)}pt !important;\n }\n }\n\n\n\n\n ${t}\n `}(function(e){const t=e.first();if(!t)return new s.$u({width:i.zA,height:i._2});let n=!1;const o=e.reduce(((e,t)=>{let{pageSize:o}=t;return o.width{const{rotation:r}=n.get(t)||{},i=a.createElement("div");if(i.classList.add("page"),o){e.width>e.height&&(1===r?i.classList.add("rotateNegative90"):i.classList.add("rotate90"))}i.appendChild(e),u.appendChild(i)})),l.appendChild(c),l.appendChild(u),e.appendChild(l),()=>{e.removeChild(l)}}function f(){return"animation: none 0s ease 0s 1 normal none running !important;\nbackface-visibility: visible !important;\nbackground: transparent none repeat 0 0/auto auto padding-box border-box scroll !important;\nborder: medium none currentColor !important;\nborder-collapse: separate !important;\nborder-image: none !important;\nborder-radius: 0 !important;\nborder-spacing: 0 !important;\nbottom: auto !important;\nbox-shadow: none !important;\nbox-sizing: content-box !important;\ncaption-side: top !important;\nclear: none !important;\nclip: auto !important;\ncolor: #000 !important;\ncolumns: auto !important;\ncolumn-count: auto !important;\ncolumn-fill: balance !important;\ncolumn-gap: normal !important;\ncolumn-rule: medium none currentColor !important;\ncolumn-span: 1 !important;\ncolumn-width: auto !important;\ncontent: normal !important;\ncounter-increment: none !important;\ncounter-reset: none !important;\ncursor: auto !important;\ndirection: ltr !important;\ndisplay: inline !important;\nempty-cells: show !important;\nfloat: none !important;\nfont-family: serif !important;\nfont-size: medium !important;\nfont-style: normal !important;\nfont-variant: normal !important;\nfont-weight: 400 !important;\nfont-stretch: normal !important;\nline-height: normal !important;\nheight: auto !important;\nhyphens: none !important;\nleft: auto !important;\nletter-spacing: normal !important;\nlist-style: disc outside none !important;\nmargin: 0 !important;\nmax-height: none !important;\nmax-width: none !important;\nmin-height: 0 !important;\nmin-width: 0 !important;\nopacity: 1 !important;\norphans: 2 !important;\noutline: medium none invert !important;\noverflow: visible !important;\noverflow-x: visible !important;\noverflow-y: visible !important;\npadding: 0 !important;\npage-break-after: auto !important;\npage-break-before: auto !important;\npage-break-inside: auto !important;\nperspective: none !important;\nperspective-origin: 50% 50% !important;\nposition: static !important;\nright: auto !important;\ntab-size: 8 !important;\ntable-layout: auto !important;\ntext-align: left !important;\ntext-align-last: auto !important;\ntext-decoration: none !important;\ntext-indent: 0 !important;\ntext-shadow: none !important;\ntext-transform: none !important;\ntop: auto !important;\ntransform: none !important;\ntransform-origin: 50% 50% 0 !important;\ntransform-style: flat !important;\ntransition: none 0s ease 0s !important;\nunicode-bidi: normal !important;\nvertical-align: baseline !important;\nvisibility: visible !important;\nwhite-space: normal !important;\nwidows: 2 !important;\nwidth: auto !important;\nword-spacing: normal !important;\nz-index: auto !important;\nall-initial !important;"}n(75376);var h=n(63738),m=n(16126),g=n(55615),v=n(95651),y=n(39511),b=n(97413);const w={macos:{blink:!0,webkit:!0},windows:{blink:!0,trident:!0},ios:{webkit:!0},android:{},linux:{blink:!0},unknown:{}};let S=null,E=null,P=null,x=null;function D(){P&&(clearTimeout(P),P=null),x&&(clearTimeout(x),x=null),S&&S.parentNode&&(S.parentNode.removeChild(S),S=null),E&&E()}var C=n(25387),k=n(19815);function A(){return{type:C.skc}}function O(){return{type:C.snh}}function T(){return{type:C._uU}}function I(e){const t="number"==typeof e?e:null;return{type:C.qV6,currentPage:t}}function F(){let{mode:e,excludeAnnotations:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(n,o)=>{e||(e=o().printMode);return(e===y.X.DOM?_:R)(n,o,t)}}let M=()=>{};async function _(e,t,n){e((0,h.X2)()),e(I(0)),e(A());const r=[];let i=t(),a=[];function c(){a.forEach((e=>{e()})),a=[]}M(),M=c;for(const{pageIndex:p,pageSize:h}of i.pages){if(!t().isPrinting)return M(),M=()=>{},void e(I(null));const[g,S]=u(h,(0,k.jb)(i),i.printQuality);try{var f;await(null===(f=i.annotationManager)||void 0===f?void 0:f.loadAnnotationsForPageIndex(p)),i=t();const c=i.pages.get(p);let u;if((0,b.k)(c&&i.backend),n)u=i.backend.renderTile(p,g,new s.UL({width:g.width,height:g.height}),!0,!0).promise;else{var y,w;const{annotationIds:e}=c,t=e.map((e=>i.annotations.get(e))).filter(Boolean).filter((e=>(0,v.x2)(e)&&(0,v.d)(e)&&!(e instanceof s.Jn||e instanceof s.On&&i.commentThreads.has(e.id)))).toList(),n=i.formFields.filter((e=>e.annotationIds.some((e=>{const t=i.annotations.get(e);return!(!t||t.pageIndex!==p)})))),r=(0,m.Qg)(n),a=t.reduce(((e,t)=>e.merge((0,v.Dc)(i,t))),(0,o.D5)()),l=null===(y=i.digitalSignatures)||void 0===y||null===(w=y.signatures)||void 0===w?void 0:w.filter((e=>n.some((t=>{let{name:n}=t;return n===e.signatureFormFQN}))));u=i.backend.renderTile(p,g,new s.UL({width:g.width,height:g.height}),!0,!0,{annotations:t,formFieldValues:r,attachments:a,signatures:l,formFields:n.toList()}).promise}let{element:E,release:P}=await u;if(a.push(P),"IMG"===E.nodeName){const e=E,t=document.createElement("canvas");t.width=g.width,t.height=g.height;const n=t.getContext("2d");(0,b.k)(n),null==n||n.drawImage(e,0,0),E=t}const{renderPageCallback:x}=i;if("function"==typeof x){const e=E.getContext("2d");null==e||e.scale(S,S),x(e,p,h)}const D=l.G6?h:d(h);E.style.cssText=`width: ${D.width}px !important;\nheight: ${D.height}px !important; display: none; filter: none; ${l.vU?"border: 1px solid transparent !important":""}`,r.push(E),e(I(p+1))}catch(e){throw c(),e}}try{(0,b.k)(document.body,"Printing requires a `` tag in the main HTML layout.");const{pages:t}=i,n=function(e){let t;for(const[n,{pageSize:o}]of e.entries()){const e=o.width>o.height?"landscape":"portrait";if(0!==n){if(e!==t)return!0}else t=e}return!1}(t),o=p(document.body,r,t,n);M=()=>{c(),o()},await(S=()=>{if((0,g.il)(),window.focus(),l.b5){let e=!1;const t=()=>{e=!0,window.focus()},n=()=>{e=!1},o=()=>{e||(window.removeEventListener("focus",o),window.removeEventListener("beforeprint",t),window.removeEventListener("afterprint",n),M(),M=()=>{})};window.addEventListener("focus",o),window.addEventListener("beforeprint",t),window.addEventListener("afterprint",n)}window.print()},E=()=>{e((0,h.Zg)()),e(O()),e(I(null))},new Promise((e=>{const t=Date.now();setTimeout((()=>{S(),E();const n=Date.now()-t>500?25:18e4;setTimeout(e,n)}))})))}catch(e){throw e}finally{l.b5||(M(),M=()=>{})}var S,E}async function R(e,t,n){const o=t().backend;if((0,b.k)(o),!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.By,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.SR,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:navigator.plugins;const o=w[e].hasOwnProperty(t);let r="ios"===e;const i=/pdf/i;for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:l.SR,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return new Promise((async(o,r)=>{const i=12e4;D();const a=document.documentElement;(0,b.k)(a,"Could not access document.documentElement");const s=e=>{e.dataset.pspdfkitPrint="true",e.style.position="absolute",e.style.bottom="0px",e.style.left="0px",e.style.width="0px",e.style.height="0px",e.style.border="none",e.setAttribute("type","application/pdf")},{promise:l,revoke:c}=e.generatePDFObjectURL({includeComments:!1,saveForPrinting:!0,excludeAnnotations:n});E=c;const u=await l;if("trident"===t){S=document.createElement("embed"),S.setAttribute("src",u),s(S),a.appendChild(S),S.focus();const e=Date.now();!function t(){const n=document.querySelector("embed[data-pspdfkit-print=true]");(0,b.k)(n,"element not found"),Date.now()-e>3e4&&(c(),r(new Error("timeout")));try{n.print(),o(),P=setTimeout(D,i)}catch(e){x=setTimeout(t,500)}}()}else try{S=document.createElement("iframe"),S.setAttribute("src",u),S.setAttribute("aria-hidden","true"),s(S),S.onload=()=>{(0,b.k)(S,"iframe.onload called without element"),(0,b.k)(S instanceof HTMLIFrameElement,"element must be of type iframe");const e=S.contentWindow;if("webkit"===t){const t=setInterval((()=>{var n;"about:blank"!==(null==e?void 0:e.location.href)&&"complete"===(null==e?void 0:e.document.readyState)&&(clearInterval(t),null===(n=S)||void 0===n||n.focus(),null==e||e.print(),o(),P=setTimeout(D,i))}),100);setTimeout((()=>{clearInterval(t),r("Print failed: the document is taking too long to prepare"),D()}),5e3)}else S.focus(),null==e||e.print(),o(),P=setTimeout(D,i)},a.appendChild(S)}catch(e){r(e),D()}}))}(o,void 0,n),e(O())}catch(t){e(O())}}}},24852:(e,t,n)=>{"use strict";n.d(t,{g:()=>s});var o=n(50974),r=n(30761),i=n(18146),a=n(33320);function s(e,t){return async(n,i)=>{const{backend:a,features:s}=i();try{(0,o.kG)(a),a.cancelRequests(),await a.applyRedactionsAndReload(),await(0,r.jX)(n,i,{features:s,pageKeys:l(i())})}catch(e){return t(e)}i().eventEmitter.emit("document.change",[]),e()}}function l(e){const{pages:t,annotations:n}=e,o=n.filter((e=>e instanceof i.Z)).map((e=>e.pageIndex)).toSet();return t.map((e=>o.includes(e.pageIndex)?(0,a.C)():e.pageKey))}},70006:(e,t,n)=>{"use strict";n.d(t,{M0:()=>d,Sc:()=>p,Xe:()=>s,_8:()=>r,ct:()=>l,dZ:()=>a,j8:()=>f,jL:()=>i,nJ:()=>u,t2:()=>h,tB:()=>c});var o=n(25387);function r(e){return{type:o.FH6,term:e}}function i(){return{type:o.$Jy}}function a(){return{type:o.gIV}}function s(){return{type:o.$hO}}function l(){return{type:o._AY}}function c(){return{type:o.Ifu}}function u(){return{type:o.nFn}}function d(e){return{type:o.F6q,isLoading:e}}function p(e){return{type:o.qZT,results:e}}function f(e){return{type:o.p1u,state:e}}function h(e){return{type:o.esN,provider:e}}},34573:(e,t,n)=>{"use strict";n.d(t,{Ab:()=>C,BO:()=>D,Df:()=>T,FP:()=>w,IP:()=>_,J4:()=>A,Oc:()=>N,Q2:()=>R,Sb:()=>F,VR:()=>I,Y1:()=>O,_:()=>K,_3:()=>L,d5:()=>E,fz:()=>k,mg:()=>j,mv:()=>B,oX:()=>M,td:()=>P,tu:()=>Z,vR:()=>S});var o=n(67366),r=n(35369),i=n(50974),a=n(82481),s=n(18803),l=n(19815),c=n(95651),u=n(51333),d=n(69939),p=n(75237),f=n(68382),h=n(25387),m=n(49177),g=n(61631),v=n(62164),y=n(91039),b=n(44763);const w=(e,t)=>n=>{n((0,u.Dm)()),n(((e,t)=>({type:h.f3N,textRange:e,inlineTextMarkupToolbar:t}))(e,t))},S=()=>(e,t)=>{(0,s.a7)(t().frameWindow),e({type:h.MOe})},E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.l4)(),t=arguments.length>1?arguments[1]:void 0;return{type:h._fK,newSelectedAnnotationsIds:e,annotationClass:t}},P=e=>(t,n)=>{const{annotations:o,selectedAnnotationIds:i}=n(),a=i.reduce(((e,t)=>{const n=o.get(t);return n?e.push(n):e}),(0,r.aV)());t(x(a)),t(E((0,r.l4)(),e))},x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.aV)(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,r.aV)(),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,r.aV)();return(o,r)=>{const i=r().currentItemPreset;e.forEach((e=>{e&&o((0,d.hQ)(e)),e&&!p.ZP[i]&&o((0,d.sF)(e.id))})),t.forEach((e=>{o((0,d.$d)(e)),i&&!p.ZP[i]&&o((0,d.pZ)(e.id,i))})),n.forEach((e=>{o((0,d.uk)(e))}))}},D=e=>(t,n)=>{const o=n();if(!o.currentTextSelection)return t(P(e)),void t(S());const i=o.annotations.filter((e=>o.selectedAnnotationIds.has(e.id))).mapEntries((e=>{let[,t]=e;return[null!=t.pageIndex?t.pageIndex:o.viewportState.currentPageIndex,null!=t.pageIndex?t:t.set("pageIndex",o.viewportState.currentPageIndex)]})),a=(0,m.Bx)(o,i,e),s=i.reduce(((e,t)=>a.find((e=>e.id===t.id))?e:e.push(t)),(0,r.aV)()),l=a.filter((e=>!o.selectedAnnotationIds.has(e.id))),c=a.filter((e=>o.selectedAnnotationIds.has(e.id)&&!e.equals(i.get(e.pageIndex))));t(x(s,l,c));const u=(0,r.l4)(a.map((e=>e.id)));t(E(u,e))},C=()=>(e,t)=>{const n=t();n.selectedAnnotationIds.toSeq().map((e=>n.annotations.get(e))).filter(Boolean).filter((e=>e instanceof a.gd?!e.text.value||""===e.text.value:(e instanceof a.Hi||e instanceof a.om)&&(!e.points||e.points.size<=1))).forEach((t=>{e((0,d.hQ)(t))}))},k=()=>(e,t)=>{var n;(0,s.a7)(t().frameWindow),(0,o.dC)((()=>{e((0,u.Dm)()),e(C()),e((0,d.i0)()),e({type:h.MOe}),e({type:h.a33}),e((0,u.$z)()),e(z(null)),e((0,b.Ik)(null))})),null===(n=t().annotationManager)||void 0===n||n.autoSave()},A=(e,t)=>(n,o)=>{const r=o(),c=r.annotations.filter(((t,n)=>e.includes(n))),d=(0,l.ix)(r),p=c.some((e=>e instanceof a.x_));(0,i.kG)(!p||d,"Widget annotations cannot be selected without the corresponding license feature nor without instant enabled.");const f=c.map((e=>e.id)).toSet();n((0,u.Dm)()),(0,s.a7)(r.frameWindow);const m=f.find((e=>r.commentThreads.has(e)));if(m){const e=r.commentThreads.get(m);(0,i.kG)(null!=e);(0,v._P)(e,r.comments)||n((0,u.mh)(m))}n({type:h._Yi,annotations:f,mode:t,selectedAnnotationShouldDrag:null}),n((0,u.$z)())},O=()=>({type:h.RvB}),T=(e,t)=>(n,o)=>{const{commentThreads:a,comments:s,annotationsGroups:l}=o();if(1===e.size){const o=null==l?void 0:l.find((t=>{let{annotationsIds:n}=t;return n.has(e.first())}));if(o)return n(T(o.annotationsIds,t||null)),void n(z(o.groupKey))}e.forEach((e=>{if(a.has(e)){const t=a.get(e);(0,i.kG)(t);(0,v._P)(t,s)||n((0,u.mh)(e))}})),n(((e,t)=>({type:h._Yi,annotations:(0,r.l4)(e),mode:f.o.SELECTED,selectedAnnotationShouldDrag:t}))(e,t)),n((0,u.$z)())},I=e=>({type:h._Yi,annotations:(0,r.l4)([e]),mode:f.o.EDITING});function F(){return{type:h.c3G}}const M=e=>({type:h.TPT,id:e}),_=e=>({type:h.iyZ,id:e}),R=e=>({type:h.qh0,id:e}),N=e=>({type:h.rm,id:e}),L=e=>(t,n)=>{const{eventEmitter:o}=n();if(e){let t=!1;if(o.emit("annotationNote.hover",{preventDefault:()=>t=!0,annotationNote:e}),t)return}t({type:h.yyM,annotationNote:e})},B=e=>(t,n)=>{const{eventEmitter:o}=n();if(e){let t=!1;if(o.emit("annotationNote.press",{preventDefault:()=>t=!0,annotationNote:e}),t)return}t({type:h.vSH,annotationNote:e})},j=function(e,t){let{selectedAnnotationShouldDrag:n,preventDefault:i,stopPropagation:s,ignoreReadOnly:u,isAnnotationPressPrevented:p,clearSelection:f,longPress:h}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{selectedAnnotationShouldDrag:null,preventDefault:!1,stopPropagation:!1,ignoreReadOnly:!1,isAnnotationPressPrevented:void 0,clearSelection:!1,longPress:!1};return(m,v)=>{var b,w;const S=v(),{selectedAnnotationIds:E,annotations:P,activeAnnotationNote:x,collapseSelectedNoteContent:D,interactionsDisabled:C,eventEmitter:A,formDesignMode:O,isMultiSelectionEnabled:I}=S,F=E.size>1,M=t.shiftKey;if(x&&m(B(null)),D&&m((0,d.i0)()),!u&&(C||e&&(!("action"in e)||!e.action)&&(null===(b=e.additionalActions)||void 0===b||!b.onPointerDown)&&!e.isCommentThreadRoot&&(0,l.lV)(e,S)))return;if(void 0===p&&(p=!!e&&(0,c.TW)({annotation:e,nativeEvent:t.nativeEvent,selected:!1},A)),p)return;if((i||t.hasOwnProperty("type")&&"keypress"===t.type)&&t.preventDefault(),s&&t.stopPropagation(),f&&m(k()),!e)return;if(M){const t=P.get(E.first());if((null==t?void 0:t.pageIndex)!==e.pageIndex)return}const _=E.has(e.id);if("action"in e&&e.action&&!h&&!_&&!M)return void m((0,g.oo)(e));if("additionalActions"in e&&null!==(w=e.additionalActions)&&void 0!==w&&w.onPointerDown)return void m((0,g.TU)(e,"onPointerDown"));const R=!(0,y.Zt)(S,e)&&(!(e instanceof a.x_)||O);if(!R)return;const N=S.annotationsGroups.find((t=>{let{annotationsIds:n}=t;return n.has(e.id)}));if(_||!R||M||N){if(M&&I){if(_)return m(T(E.remove(e.id),n||null)),void m(z(null));if(N)return void(0,o.dC)((()=>{m(T(S.selectedAnnotationIds.merge(N.annotationsIds),n||null)),m(z(null))}));if(!_&&!N)return m(T(E.add(e.id),n||null)),void m(z(null))}if(!M){if(!_&&!N)return void(0,o.dC)((()=>{m(k()),m(T((0,r.l4)([e.id]),n||null))}));_||!N||F||(0,o.dC)((()=>{m(T(N.annotationsIds,n||null)),m(z(N.groupKey))}))}}else(0,o.dC)((()=>{m(k()),m(T((0,r.l4)([e.id]),n||null))}))}},z=e=>({type:h.t$K,groupId:e}),K=e=>({type:h.vBn,pullToRefreshNewState:e}),Z=e=>({type:h.L2A,inlineTextSelectionToolbarItemsCallback:e})},60840:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var o=n(84121),r=n(67294),i=n(82481),a=n(7844),s=n(13944),l=n(36095),c=n(4054),u=n(90523),d=n.n(u),p=n(95919),f=n.n(p),h=n(14483),m=n.n(h),g=n(39583),v=n(44763);const y=(0,l.yx)(),b="data:image/svg+xml;base64,"+globalThis.btoa(f()),w="data:image/svg+xml;base64,"+globalThis.btoa(m());class S extends r.Component{constructor(){super(...arguments),(0,o.Z)(this,"shouldComponentUpdate",a.O),(0,o.Z)(this,"position",null),(0,o.Z)(this,"rect",null),(0,o.Z)(this,"state",{isDrawing:!1,isPenUser:!1,explicitScroll:!1,clientX:0,clientY:0,canAutoCloseShape:!1}),(0,o.Z)(this,"_drawingAreaEl",null),(0,o.Z)(this,"lastClickTime",null),(0,o.Z)(this,"_drawingAreaRef",(e=>{var t;(this._drawingAreaEl=e,e&&l.TL)&&(null===(t=this._drawingAreaEl)||void 0===t||t.addEventListener("touchmove",c.PF))})),(0,o.Z)(this,"onUnmount",(()=>{var e;this._drawingAreaEl&&l.TL&&(null===(e=this._drawingAreaEl)||void 0===e||e.removeEventListener("touchmove",c.PF));this._drawingAreaEl=null})),(0,o.Z)(this,"_handlePointerDown",(e=>{let t=!0;if(y&&this.props.canScrollWhileDrawing&&("pen"!==e.pointerType||this.state.isPenUser?"touch"===e.pointerType&&this.state.isPenUser&&(this.setState({explicitScroll:!0,clientX:e.clientX,clientY:e.clientY}),t=!1):this.setState({explicitScroll:!1,isPenUser:!0})),this.state.isDrawing)return void this._handlePointerUp();if(!e.isPrimary)return;if(!this._drawingAreaEl)return;this.rect=this._drawingAreaEl.getBoundingClientRect(),e.stopPropagation();const n=new i.E9({x:e.clientX,y:e.clientY}),o=this.position&&n.distance(this.position)<=10;var r,a;(this.position=n,this._buffer=[],this.setState({isDrawing:!0}),this.props.currentAnnotation instanceof i.om||this.props.currentAnnotation instanceof i.Hi)&&(null===(r=(a=this.props).dispatch)||void 0===r||r.call(a,(0,v.Ik)(null)));const{onDrawStart:s,onDoubleClick:l}=this.props,c=(new Date).getTime();if(this.lastClickTime&&l&&c-this.lastClickTime<500&&o)return l(this._transformPoint(n)),void(this.lastClickTime=null);this.lastClickTime=c,t&&s&&s(this._transformPoint(n),n)})),(0,o.Z)(this,"_buffer",[]),(0,o.Z)(this,"_throttleMove",E()),(0,o.Z)(this,"_throttleUp",E()),(0,o.Z)(this,"_handlePointerMove",(e=>{if(this.state.explicitScroll){const t={x:e.clientX,y:e.clientY},n={x:this.state.clientX,y:this.state.clientY};return requestAnimationFrame((()=>{if(this.props.scrollElement){const e=this.props.scrollElement.scrollTop+(n.y-t.y),o=this.props.scrollElement.scrollLeft+(n.x-t.x);this.props.scrollElement.scrollTop=e,this.props.scrollElement.scrollLeft=o}})),void this.setState({clientX:t.x,clientY:t.y})}this._handleDrawLine(e),this._handleCursorMove(e)})),(0,o.Z)(this,"_handleCursorMove",(e=>{if(this.props.currentAnnotation instanceof i.om||this.props.currentAnnotation instanceof i.Hi){if(!this.props.defaultAutoCloseThreshold)return;const a=new i.E9({x:e.clientX,y:e.clientY}),s=this.props.currentAnnotation.points,l=s.last(),c=this._transformPoint(a);var t,n;if(l&&c)null===(t=(n=this.props).dispatch)||void 0===t||t.call(n,(0,v.Ik)({lines:[{start:l,end:c}],pageIndex:this.props.currentAnnotation.pageIndex}));if(s&&s.size<3)return;const u=(0,g.K)(this.props.currentAnnotation,0,this.props.defaultAutoCloseThreshold,new i.E9({x:c.x,y:c.y}));var o,r;if(-1!==u&&u!==s.size-1)this.setState({canAutoCloseShape:!0}),null===(o=(r=this.props).dispatch)||void 0===o||o.call(r,(0,v.Ik)({lines:[{start:l,end:s.get(u)}],pageIndex:this.props.currentAnnotation.pageIndex}));else this.setState({canAutoCloseShape:!1})}})),(0,o.Z)(this,"_handlePointerUp",(e=>{e&&!e.isPrimary||(e&&e.stopPropagation(),this.setState({isDrawing:!1}),this.state.isPenUser&&"touch"==(null==e?void 0:e.pointerType)?this.setState({explicitScroll:!1}):this._throttleUp((()=>{const{onDrawEnd:e}=this.props;this._drawingAreaEl&&(this.rect=this._drawingAreaEl.getBoundingClientRect(),this._buffer=[],this.position&&e&&e(this._transformPoint(this.position)))})))})),(0,o.Z)(this,"_defaultTransformPoint",(e=>{if(!this.rect)return e;const t=this.props.size.width/this.rect.width,n=this.props.size.height/this.rect.height,o="number"==typeof this.rect.x?this.rect.x:this.rect.left,r="number"==typeof this.rect.y?this.rect.y:this.rect.top;return new i.Wm({x:e.x-o,y:e.y-r}).scale(t,n)})),(0,o.Z)(this,"_transformPoint",(e=>this._clipPointToContainerBounds((this.props.transformPoint||this._defaultTransformPoint)(new i.Wm({x:e.x,y:e.y})))))}render(){return r.createElement(s.Z,{onPointerDown:this._handlePointerDown,onRootPointerMove:this.state.isDrawing?this._handlePointerMove:this._handleCursorMove,onRootPointerUpCapture:this.state.isDrawing?this._handlePointerUp:void 0,interactionMode:this.props.interactionMode},r.createElement("div",{"data-testid":"drawcomponent",role:"application"},r.createElement("div",{className:d().layer,style:(this.props.currentAnnotation instanceof i.om||this.props.currentAnnotation instanceof i.Hi)&&!l.G6?{cursor:this.state.canAutoCloseShape?`url(${w}) 6 6, auto`:`url(${b}) 6 6, auto`}:{},ref:this._drawingAreaRef})))}_handleDrawLine(e){e.preventDefault(),e.stopPropagation();const t=new i.E9({x:e.clientX,y:e.clientY});if(t.equals(this.position))return;this.position=t;const{onDrawCoalesced:n}=this.props;if(n){const t=e.getCoalescedEvents();this._buffer=this._buffer.concat(t),this._throttleMove((()=>{const[e,t]=this._buffer.reduce(((e,t)=>{const n=new i.E9({x:t.clientX,y:t.clientY});return e[0].push(this._transformPoint(n)),e[1].push(n),e}),[[],[]]);this._buffer=[],n(e,t)}))}}_clipPointToContainerBounds(e){if(this._isPointWithinContainer(e))return e;const{size:t}=this.props;return e.x>t.width&&(e=e.set("x",t.width)),e.x<0&&(e=e.set("x",0)),e.y>t.height&&(e=e.set("y",t.height)),e.y<0&&(e=e.set("y",0)),e}_isPointWithinContainer(e){const{size:t}=this.props;return new i.UL({width:t.width,height:t.height}).isPointInside(e)}}function E(){let e;return t=>{e||requestAnimationFrame((()=>{const t=e;e=null,t()})),e=t}}},86366:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(84121),r=n(50974),i=n(67294),a=n(94184),s=n.n(a),l=n(94385),c=n(4054),u=n(21824),d=n.n(u);class p extends i.PureComponent{constructor(){var e;super(...arguments),e=this,(0,o.Z)(this,"_cancelImagePromise",null),(0,o.Z)(this,"_throttledFetchImage",(0,l.Z)(this._fetchImage,"number"==typeof this.props.throttleTimeout?this.props.throttleTimeout:2e3,!0)),(0,o.Z)(this,"imageRef",i.createRef()),(0,o.Z)(this,"_replaceImage",(function(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.imageRef.current?(e.imageRef.current.appendChild(t.element),setTimeout((()=>t.release()),500),e.imageRef.current&&e.imageRef.current.children.length>1&&e.imageRef.current.removeChild(e.imageRef.current.firstChild),e.props.onRenderFinished&&e.props.onRenderFinished(),n&&e._throttledFetchImage()):t.release()})),(0,o.Z)(this,"_onImageAvailable",(function(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{label:o,visible:i}=e.props,a=t.element;a&&e.imageRef.current&&a!==e.imageRef.current.firstChild&&(a.setAttribute("alt",o||""),i||a.setAttribute("role","presentation"),(0,c.sR)(a).then((()=>requestAnimationFrame((()=>e._replaceImage(t,n))))).catch((t=>{(0,r.vU)(t),e.props.onError&&e.props.onError(t)})))}))}componentDidMount(){this._throttledFetchImage()}refresh(){this._throttledFetchImage()}refreshSkippingThrottle(){this._fetchImage()}async _fetchImage(){let e;this._cancelOutstandingRequests();const{promise:t,isProvisional:n,cancel:o}=this.props.fetchImage();this._cancelImagePromise=o;try{var i,a;if(e=await t,e)this._onImageAvailable(e,n);else null===(i=(a=this.props).onError)||void 0===i||i.call(a)}catch(e){var s,l;(0,r.vU)(e),o(e),null===(s=(l=this.props).onError)||void 0===s||s.call(l,e)}this._cancelImagePromise=null}_cancelOutstandingRequests(){this._cancelImagePromise&&this._cancelImagePromise()}componentWillUnmount(){this._cancelOutstandingRequests()}render(){const{className:e,rectStyle:t}=this.props;return i.createElement("div",{className:s()(d().root,e),style:t,ref:this.imageRef})}}},6437:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var o=n(22122),r=n(84121),i=n(25915),a=n(67294),s=n(94184),l=n.n(s),c=n(18390),u=n(30667),d=n(88804),p=n(36095),f=n(6006),h=n.n(f);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1],n=0;const[o,r]=a.useState(null),[i,s]=a.useState(!1),l=e=>{t||s(e)};function c(){n=Date.now(),l(!1)}return[i,{onTouchStart(){n=Date.now(),l(!0)},onTouchEnd:c,onTouchCancel:c,onMouseEnter(){Date.now()-n>500&&l(!0)},onMouseLeave(){l(!1)},onMouseDown(e){r(e)},onPointerDown(e){r(e)},onClick(t){o&&o.clientX===t.clientX&&o.clientY===t.clientY&&(e(t),r(null))}}]}((()=>{i.dragging||d(t)})),{item:E,label:P,props:x}=r(t,b,v),D=l()(h().thumbnail,n+"-Thumbnails-Page-Image",{[h().thumbnailClickDisabled]:s,[h().thumbnailSelected]:i.selected,[h().thumbnailBeingDragged]:i.dragging});return a.createElement("div",(0,o.Z)({style:w,className:l()(h().column,n+"-Thumbnails-Page",h()[`engine-${p.SR}`],{[n+"-Thumbnails-Page-Selected"]:i.selected}),"data-testid":"grid-column","data-page-index":t},x),a.createElement("div",{style:{width:b,height:b},className:h().columnPreview},e.clickDisabled?a.createElement("div",{className:D},E):a.createElement(c.Z,(0,o.Z)({is:"div",className:D,"aria-label":`Select Page ${P}`,"aria-pressed":i.selected,onKeyPress:e=>{const{charCode:n}=e;n===u.tW&&d(t)},onFocus:()=>f(t),onBlur:()=>f(null),ref:i.itemRef},"object"==typeof S&&S),E)),a.createElement("div",{style:{height:24,maxWidth:b,marginTop:16*y,lineHeight:"24px"},className:l()(h().label,n+"-Thumbnails-Page-Label",{[h().labelSelected]:i.selected})},P))}const b=e=>{const{cssPrefix:t,clickDisabled:n,width:o,moveCursor:r}=e;let{itemScale:s}=e;const[c,u]=a.useState(null);s=Math.min(s,(o-15)/314),s=Math.max(s,.01);const p=a.useMemo((function(){return new d.$u({width:314*s,height:322*s+24})}),[s]),f=v*s,m=r?"left"===r.position?r.pageIndex:r.pageIndex+1:void 0;return a.createElement(i.FE,{width:e.width,height:e.height,canInsert:e.canInsert,draggingEnabled:!!e.onItemsMove&&!n,totalItems:e.totalItems,itemWidth:p.width,itemHeight:p.height,itemPaddingLeft:32*s,itemPaddingRight:32*s,renderItem:(o,r)=>a.createElement(y,{selectedItemIndexes:e.selectedItemIndexes,size:p,itemScale:s,pageIndex:o,itemState:r,cssPrefix:t,clickDisabled:n||!1,renderItemCallback:e.renderItemCallback,onItemPress:e.onItemPress,onItemFocus:e=>u(e)}),itemKey:e.itemKeyCallback,renderDragPreview:e.renderDragPreviewCallback?(t,n)=>e.renderDragPreviewCallback?e.renderDragPreviewCallback(n,t,f,v):null:void 0,renderInsertionCursor:(e,t)=>{const n={top:32*s+1,height:v*s-1};return a.createElement("div",{style:n,className:l()(h().moveCursor,{[h().moveCursorDisabled]:!e})},null!=(null==r?void 0:r.previewContent)&&a.createElement("div",{className:l()(h().moveCursorPreview,{[h().moveCursorPreviewEnd]:t})},r.previewContent))},onDragEnd:e.onItemsMove,selectedItemIndexes:e.selectedItemIndexes,insertionIndex:m,focusedItemIndex:c})}},13540:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(22122),r=n(17375),i=n(67294);const a=["src"];function s(e){let{src:t}=e,n=(0,r.Z)(e,a);const s=i.useRef(null);return i.useEffect((function(){if(s.current){const e=s.current.childNodes[0];"function"==typeof e.setAttribute&&e.setAttribute("focusable","false")}}),[]),i.createElement("span",(0,o.Z)({},n,{dangerouslySetInnerHTML:{__html:t},ref:s}))}},26467:(e,t,n)=>{"use strict";n.d(t,{O:()=>p});var o=n(84121),r=n(67294);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;tr.createElement("polygon",{points:"0.5,2 0.5,0.5 3.5,0.5 3.5,3.5 0.5,3.5 0.5,2",style:a(a({},e),s)}),u=e=>r.createElement("circle",{cx:"2",cy:"2",r:"1.5",style:a(a({},e),s)}),d=e=>r.createElement("line",{x1:"0",y1:"2",x2:"4",y2:"2",style:a(a({},e),l)}),p={none:{startElement:d,endElement:d,width:4},square:{startElement:c,endElement:c,width:3.5},circle:{startElement:u,endElement:u,width:3.5},diamond:{startElement:e=>r.createElement("polygon",{points:"3.5,2 2.25,3.25 1,2 2.25,0.75 3.5,2 4,2",style:a(a({},e),s)}),endElement:e=>r.createElement("polygon",{points:"0.75,2 2,0.75 3.25,2 2,3.25 0.75,2 0.25,2",style:a(a({},e),s)}),width:3.5},openArrow:{startElement:e=>r.createElement("polyline",{points:"4.25,0.5 1.25,2 4.25,3.5 1.25,2 4.75,2",style:a(a({},e),l)}),endElement:e=>r.createElement("polyline",{points:"0.25,0.5 3.25,2 0.25,3.5 3.25,2 -0.25,2",style:a(a({},e),l)}),width:3.75},closedArrow:{startElement:e=>r.createElement("polygon",{points:"3.75,2 3.75,0.75 1.25,2 3.75,3.25 3.75,2 4.75,2",style:a(a({},e),s)}),endElement:e=>r.createElement("polygon",{points:"0.75,2 0.75,0.75 3.25,2 0.75,3.25 0.75,2 -0.75,2",style:a(a({},e),s)}),width:3.75},butt:{startElement:e=>r.createElement("line",{x1:"3.75",y1:"0.5",x2:"3.75",y2:"3.5",style:a(a({},e),l)}),endElement:e=>r.createElement("line",{x1:"0.5",y1:"0.5",x2:"0.5",y2:"3.5",style:a(a({},e),l)}),width:.5},reverseOpenArrow:{startElement:e=>r.createElement("polyline",{points:"1,0.5 4,2 1,3.5",style:a(a({},e),l)}),endElement:e=>r.createElement("polyline",{points:"3.25,0.5 0.25,2 3.25,3.5",style:a(a({},e),l)}),width:3},reverseClosedArrow:{startElement:e=>r.createElement("polygon",{points:"4,2 1.5,3.25 1.5,0.75",style:a(a({},e),s)}),endElement:e=>r.createElement("polygon",{points:"0.25,2 2.75,3.25 2.75,0.75",style:a(a({},e),s)}),width:2.75},slash:{startElement:e=>r.createElement("polyline",{points:"3.25,0.5 2.25,3.75 2.85,2 3.75,2",style:a(a({},e),l)}),endElement:e=>r.createElement("polyline",{points:"1.85,0.5 0.85,3.75 1.25,2 0.35,2",style:a(a({},e),l)}),width:1.5}}},73264:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(67294),r=n(94184),i=n.n(r),a=n(71945),s=n.n(a);function l(e){let{scale:t=1,rotate:n=0}=e;const[r,a]=o.useState(!1);o.useEffect((()=>{const e=setTimeout((()=>{a(!0)}),400);return()=>{clearTimeout(e)}}),[]);const l=`scale(${t})`,c={transform:n?`rotate(${n}deg) ${l}`:l,transformOrigin:"center center"};return o.createElement("div",{style:c,className:i()("PSPDFKit-Loading-Indicator",s().loader,{[s().loaderShown]:r})},o.createElement("div",{className:s().loaderDot}),o.createElement("div",{className:s().loaderDot}),o.createElement("div",{className:s().loaderDot}))}},40045:(e,t,n)=>{"use strict";n.d(t,{Z:()=>x});var o=n(84121),r=n(67366),i=n(67294),a=n(52560),s=n(27515),l=n(18803),c=n(36095),u=n(47710),d=n(3219),p=n(82481),f=n(42911),h=n(97413);const m=(0,f.Yw)(),g={onPinchStart:"pinchstart",onPinchIn:"pinchin",onPinchOut:"pinchout",onPinchCancel:"pinchcancel",onPinchEnd:"pinchend",onSwipeLeft:"swipeleft",onSwipeRight:"swiperight",onDoubleTap:"doubletap"};function v(e,t,n){t&&Object.keys(t).forEach((o=>{const r=g[o];!r||"function"!=typeof t[o]||n&&"function"==typeof n[o]&&n[o]===t[o]||e.off(r,t[o])})),n&&(n.enablePinch&&e.get("pinch").set({enable:!0,threshold:.3}),n.onDoubleTap&&e.get("doubletap").set({posThreshold:50}),Object.keys(n).forEach((o=>{const r=g[o];!r||"function"!=typeof n[o]||t&&"function"==typeof n[o]&&n[o]===t[o]||e.on(r,n[o])})))}class y extends i.Component{constructor(){super(...arguments),(0,o.Z)(this,"_handleRef",(e=>{e&&((0,h.k)("string"==typeof e.nodeName,"TRC requires a basic HTML element as children. This looks like a custom react component."),this._refElement=e)}))}componentDidMount(){this.initializeHammer(),v(this._hammer,null,this.props)}initializeHammer(){this._hammer=new m(this._refElement,{touchAction:"pan-x pan-y"}),this._refElement.style.msTouchSelect="initial"}componentDidUpdate(e){this._hammer&&v(this._hammer,e,this.props)}componentWillUnmount(){v(this._hammer,this.props,null),this._hammer&&(this._hammer.stop(),this._hammer.destroy()),this._hammer=null}render(){const e=i.Children.only(this.props.children);return(0,h.k)(!e.ref,"TRC requires the child element to not have a `ref` assigned. Consider inserting a new `
` in between."),i.cloneElement(e,{ref:this._handleRef})}}const b=!n(71231).Gn||{passive:!1,capture:!0};class w extends i.Component{constructor(){super(...arguments),(0,o.Z)(this,"_trackpadRef",i.createRef()),(0,o.Z)(this,"_hasWheelEventStarted",!1),(0,o.Z)(this,"_currentWheelTimeout",null),(0,o.Z)(this,"_lastScale",1),(0,o.Z)(this,"_handleWheel",(e=>{if(!e.ctrlKey)return;e.preventDefault(),e.stopPropagation(),this._currentWheelTimeout&&clearTimeout(this._currentWheelTimeout),this._currentWheelTimeout=setTimeout((()=>{this.props.onPinchEnd(),this._hasWheelEventStarted=!1,this._lastScale=1}),250);const t=function(e,t){return{center:{x:e.clientX,y:e.clientY},scale:t-e.deltaY/120,pointerType:"mouse",preventDefault:e.preventDefault,srcEvent:e}}(e,this._lastScale);let n=1;n=t.scale>1?1.05*this._lastScale:.95*this._lastScale,t.scale=n,n*this.props.zoomLevel>this.props.minZoomLevel&&n*this.props.zoomLevel{e.preventDefault(),this.props.onPinchStart(S(e))})),(0,o.Z)(this,"_handleGestureChange",(e=>{e.preventDefault(),this.props.onPinch(S(e))})),(0,o.Z)(this,"_handleGestureEnd",(e=>{e.preventDefault(),this.props.onPinchEnd(S(e))}))}componentDidMount(){const{current:e}=this._trackpadRef;if(e){const t=e.ownerDocument;t.addEventListener("wheel",this._handleWheel,b),"ios"!==c.By&&(t.addEventListener("gesturestart",this._handleGestureStart),t.addEventListener("gesturechange",this._handleGestureChange),t.addEventListener("gestureend",this._handleGestureEnd))}}componentWillUnmount(){const{current:e}=this._trackpadRef;if(e){const t=e.ownerDocument;t.removeEventListener("wheel",this._handleWheel,b),"ios"!==c.By&&(t.removeEventListener("gesturestart",this._handleGestureStart),t.removeEventListener("gesturechange",this._handleGestureChange),t.removeEventListener("gestureend",this._handleGestureEnd))}}render(){return i.createElement("div",{ref:this._trackpadRef},this.props.children)}}function S(e){return{center:{x:e.clientX,y:e.clientY},scale:e.scale,pointerType:"mouse",preventDefault:e.preventDefault,srcEvent:e}}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function P(e){for(var t=1;t{if("touch"!==e.pointerType)return;const{viewportState:t}=this.props,{viewportRect:n,zoomLevel:o}=t;this._startZooming();const r=new p.E9({x:e.center.x,y:e.center.y}).translate(n.getLocation().scale(-1)),i=this.props.viewportState.scrollMode===u.G.PER_SPREAD||this.props.viewportState.scrollMode===u.G.DISABLED?(0,a.vw)(t):(0,a.kh)(t),s=o>i?i:1.5*o,l=(0,a.cq)(t,s,{zoomCenter:r});this.setState({nextViewportState:l,shouldAnimate:!0}),this._callEndZoomingAfterTransition(l)})),(0,o.Z)(this,"_handlePinchStart",(e=>{const{viewportState:t}=this.props,{viewportRect:n}=t;this._startZooming(),this._touchZoomCenter=new p.E9({x:e.center.x,y:e.center.y}).translate(n.getLocation().scale(-1))})),(0,o.Z)(this,"_handlePinch",(e=>{this._isZooming&&(this._lastPinchScale=e.scale,this.requestAnimationFrameId||(this.requestAnimationFrameId=window.requestAnimationFrame(this._renderNextFrame)),null!==this._pinchResetTimeoutId&&clearTimeout(this._pinchResetTimeoutId),this._pinchResetTimeoutId=setTimeout((()=>this._handlePinchEnd()),2e3))})),(0,o.Z)(this,"_handlePinchEnd",(()=>{if(!this._isZooming)return;null!==this._pinchResetTimeoutId&&(clearTimeout(this._pinchResetTimeoutId),this._pinchResetTimeoutId=null);const{viewportState:e}=this.props,{zoomLevel:t}=e;if(!this._touchZoomCenter)return;this.requestAnimationFrameId&&(window.cancelAnimationFrame(this.requestAnimationFrameId),this.requestAnimationFrameId=null);const n=t*this._lastPinchScale,o=(0,a.cq)(e,n,{zoomCenter:this._touchZoomCenter});this.state.nextViewportState&&(0,a.hT)(this.state.nextViewportState)?(this.setState({nextViewportState:o,shouldAnimate:!0}),this._callEndZoomingAfterTransition(o)):this._zoomComplete(o)})),(0,o.Z)(this,"_renderNextFrame",(()=>{const{viewportState:e}=this.props,{zoomLevel:t}=e,n=t*this._lastPinchScale,o=(0,a.cq)(e,n,{zoomCenter:this._touchZoomCenter,unbounded:!0});this.setState({nextViewportState:o}),this.requestAnimationFrameId=null})),(0,o.Z)(this,"_zoomComplete",(e=>{(0,r.dC)((()=>{this.props.dispatch((0,d.nr)(e)),this._endZooming()}))})),this._touchZoomCenter=new p.E9,this._isZooming=!1,this.state={shouldAnimate:!1,nextViewportState:null},this.requestAnimationFrameId=null}render(){const{children:e,viewportState:t}=this.props,{nextViewportState:n}=this.state,o=(0,s.G4)(t);let r={transformOrigin:"0 0",width:o.width+t.viewportPadding.x,height:o.height+t.viewportPadding.y};if(n){const e=n.scrollPosition.scale(n.zoomLevel).translate(t.scrollPosition.scale(-t.zoomLevel)),o=(0,s.G4)(n).translate(e.scale(-1)),i=n.zoomLevel/t.zoomLevel;r=P(P({},r),{},{transform:`translate(${o.left}px, ${o.top}px)\n scale(${i}, ${i})`,willChange:"transform",transition:this.state.shouldAnimate?"transform 150ms ease-in":""})}else r=P(P({},r),{},{transform:`translate(${Math.ceil(o.left)}px, ${Math.ceil(o.top)}px)`});return i.createElement(w,{onPinchStart:this._handlePinchStart,onPinch:this._handlePinch,onPinchEnd:this._handlePinchEnd,zoomLevel:this.props.viewportState.zoomLevel,minZoomLevel:(0,a.Yo)(this.props.viewportState),maxZoomLevel:(0,a.Sm)(this.props.viewportState)},i.createElement(y,{onPinchStart:this._handlePinchStart,onPinchIn:this._handlePinch,onPinchOut:this._handlePinch,onPinchEnd:this._handlePinchEnd,onPinchCancel:this._handlePinchEnd,onDoubleTap:this._handleDoubleTap,enablePinch:!0},i.createElement("div",null,i.createElement("div",{ref:this._zoomLayerRef,style:r,className:"PSPDFKit-Zoom"},e))))}_callEndZoomingAfterTransition(e){this._removeAnimationEventListener();const t=this._zoomComplete.bind(this,e);this._zoomCompleteFn=t,this._zoomLayerRef.current&&this._zoomLayerRef.current.addEventListener("transitionend",this._zoomCompleteFn),setTimeout((()=>{this._zoomCompleteFn&&t===this._zoomCompleteFn&&this._zoomCompleteFn()}),250)}_startZooming(){if(!this._isZooming&&(this._isZooming=!0,"gecko"===c.SR&&"windows"===c.By&&this._zoomLayerRef.current)){const{defaultView:e}=this._zoomLayerRef.current.ownerDocument;(0,l.a7)(e)}}_endZooming(){this._resetState()}_resetState(){this.setState({shouldAnimate:!1,nextViewportState:null}),this._lastPinchScale=1,this._touchZoomCenter=new p.E9,this._isZooming=!1,this._removeAnimationEventListener()}_removeAnimationEventListener(){this._zoomLayerRef.current&&this._zoomLayerRef.current.removeEventListener("transitionend",this._zoomCompleteFn),this._zoomCompleteFn=null}}},99728:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ne,getDocumentKeyForReferencePoints:()=>te,messages:()=>oe});var o,r,i,a,s,l,c,u,d=n(67294),p=n(73935),f=n(76154),h=n(51559),m=n(55024),g=n(84121),v=n(73264),y=n(22122),b=n(67665),w=n(94184),S=n.n(w),E=n(67366),P=n(40045),x=n(60840),D=n(13540),C=n(88804),k=n(58479),A=n(20500),O=n(20792),T=n(72800),I=n(98013),F=n(36095),M=n(53033),_=n.n(M);const R=(0,F.b1)(),N=R?{x:31.25,y:13}:{x:12.5,y:-4},L=e=>{const{viewportState:t,backend:o,scrollElement:r,styles:i,currentDocumentKey:a,referencePoints:s,addReferencePoint:l,page:c,isAutoCompare:u,interactionMode:p}=e,{formatMessage:h}=(0,f.YB)(),g=(0,k.tm)(),[v,y]=d.useState(!1),w=d.useRef(null),F=(0,k.R9)((e=>{R?(v||y(!0),w.current&&clearTimeout(w.current),w.current=setTimeout((()=>{w.current=null,g()&&y(!1)}),300)):e()})),M=a!==m.Q.result?a===m.Q.documentA?s.slice(0,3):s.slice(3,6):[],L=s.length<6&&M.filter(Boolean).length<3&&!u&&p!==O.A.PAN&&(a===m.Q.documentA&&s.length<3||a===m.Q.documentB&&s.length>=3),B={width:c.pageSize.width*t.zoomLevel,height:c.pageSize.height*t.zoomLevel},z=d.useRef(null),K=S()({"PSPDFKit-Page":!0,[`PSPDFKit-Page-Rotation-${t.pagesRotation}-degree`]:!0,[i.page]:!0,[i["deg-"+t.pagesRotation]]:!0}),Z=(0,k._x)(),U=(0,E.v9)((e=>e.showToolbar))?I.k3:0,V=(0,k.R9)((()=>{l(Z(new C.Wm({x:t.viewportRect.width/2+2,y:t.viewportRect.height/2+U})))})),G={inViewport:!0,page:c,backend:o,shouldPrerender:!0,zoomLevel:t.zoomLevel,rotation:t.pagesRotation,renderPageCallback:e.renderPageCallback,allowedTileScales:e.allowedTileScales,documentHandle:a,viewportRect:t.viewportRect,forceDetailView:!1,renderPagePreview:e.renderPagePreview,isPageSizeReal:!0,crispTiles:!0,inContentEditorMode:!1},W=(0,E.v9)((e=>e.scrollbarOffset)),q=M.map(((e,n)=>e?d.createElement("div",{className:S()({"PSPDFKit-DocumentComparison-ReferencePoint-Marker":!0,[i.referencePoint]:!0}),style:{left:e.x*t.zoomLevel-N.x+(R?W/2:0),top:e.y*t.zoomLevel-N.y},key:`point_${n}`},d.createElement(j,{touchDevice:R,className:i.comparisonPin},n+1)):null));return d.createElement(d.Fragment,null,d.createElement("div",{className:S()({[i.source]:!R,[i.sourceTouch]:!!R,"PSPDFKit-DocumentComparison-Source":!0,[`PSPDFKit-DocumentComparison-Source-${a}`]:!!a}),style:{cursor:L&&!R?`url('data:image/svg+xml,${_()}') 4 20, crosshair`:"auto"}},L&&R&&d.createElement(b.m,null,d.createElement("div",{className:i.crosshair,ref:z},d.createElement("div",{className:S()(i.selectPoint,{[i.hidden]:v}),onClick:V},h(oe.Comparison_selectPoint)),d.createElement(D.Z,{src:n(96373)}))),d.createElement(P.Z,{dispatch:e.dispatch,viewportState:t},d.createElement("section",{className:K,style:B,"data-page-index":c?c.pageIndex:""},d.createElement(T.Z,G),q,R?null:d.createElement("div",{className:i.pointerLayer},L?d.createElement(x.Z,{size:c.pageSize,onDrawEnd:l,transformPoint:Z,interactionMode:p,scrollElement:r}):null)))),r&&!R?d.createElement(A.B,{viewportState:t,scrollElement:r,onScroll:F,currentMainToolbarHeight:U,className:"PSPDFKit-DocumentComparison-Magnifier",pageIndex:c.pageIndex,pageRendererComponentProps:G},q):null)},B=R?{width:"100",height:"100",viewBox:"-10 0 90 100",fill:"none",xmlns:"http://www.w3.org/2000/svg"}:{width:"66",height:"66",viewBox:"-10 0 56 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j=e=>{let{children:t,touchDevice:n,className:p}=e;return d.createElement("svg",(0,y.Z)({},B,{className:p}),n?d.createElement("g",{stroke:"#f5281b"},o||(o=d.createElement("path",{d:"M44.0171 43.4142L72.3014 71.6985",strokeWidth:"4"})),r||(r=d.createElement("path",{d:"M12.9043 12.3015L41.1886 40.5858",strokeWidth:"4"})),i||(i=d.createElement("path",{d:"M72.3013 12.3015L44.017 40.5858",strokeWidth:"4"})),a||(a=d.createElement("path",{d:"M41.189 43.4142L12.9047 71.6985",strokeWidth:"4"})),d.createElement("text",{x:"-10",y:"82",fontSize:"28",fill:"#f5281b",dominantBaseline:"central"},t)):d.createElement("g",{stroke:"#f5281b"},s||(s=d.createElement("path",{d:"M26.0083 25.7072L40.1505 39.8493",strokeWidth:"1.99616"})),l||(l=d.createElement("path",{d:"M10.4521 10.1508L24.5943 24.2929",strokeWidth:"1.99616"})),c||(c=d.createElement("path",{d:"M40.1509 10.1508L26.0087 24.2929",strokeWidth:"1.99616"})),u||(u=d.createElement("path",{d:"M24.5952 25.7072L10.453 39.8493",strokeWidth:"1.99616"})),d.createElement("text",{x:"0",y:"44",fontSize:"14",fill:"#f5281b",dominantBaseline:"central"},t)))};var z=n(25915);const K=e=>{const{addSource:t}=e,n=d.useCallback((e=>{(null==e?void 0:e.click)&&e.click()}),[]),o=d.useCallback((e=>{if(e.target.files[0]){const n=new FileReader;n.onload=e=>{var n;t(null===(n=e.target)||void 0===n?void 0:n.result)},n.readAsArrayBuffer(e.target.files[0])}}),[t]);return d.createElement(z.TX,{tag:"div"},d.createElement("input",{ref:n,"aria-label":"","aria-hidden":!0,type:"file",accept:"image/png, image/jpeg, image/tiff, application/pdf",onChange:o,tabIndex:-1}))};var Z,U=n(9946),V=n(80399),G=n(3219),W=n(22660),q=n(2270);function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function $(e){for(var t=1;t{const{styles:t,currentDocumentKey:n,referencePoints:o,addReferencePoint:r,settings:i,completionConfiguration:a,setDocumentSources:s,documentSources:l,backend:c,viewportState:u,interactionMode:f,dispatch:g,isAutoCompare:y,renderPagePreview:b}=e,w=(0,k.tm)(),[S,E]=d.useState(null),[P,x]=d.useState(!1),D=(0,k.R9)((()=>{S&&g((0,G.nr)((0,h.mr)(u,S)))}));d.useEffect((()=>{D()}),[S,D]);const[A,O]=(0,k.dX)();d.useEffect((()=>{O(!1)}),[y,O]);const T=(0,k.R9)((e=>{e&&!l[e]&&i[e].source!==U.b.USE_OPEN_DOCUMENT||async function(){if(P)return;let t;e!==m.Q.result&&e?(S&&E(null),t=await c.openComparisonDocument(e)):(S&&E(null),t=A?await c.openComparisonDocument(m.Q.result):await X(o,i,c),O(!0));const n=i[m.Q.documentA].pageIndex||0,r=new V.Z($({pageSize:new C.$u(t.pages[n])},t.pages[n]));w()&&E(r)}()})),I=d.useRef(null);d.useEffect((()=>{I.current!==n&&S&&E(null),I.current=n}),[n,S]),d.useEffect((()=>{S||P||T(n)}),[S,n,T,P,l]);const F=6===o.length||y;d.useEffect((()=>{F&&!y&&T(null)}),[T,F,y]),d.useEffect((()=>{!async function(){try{await a.start.promise,w()&&(0,p.unstable_batchedUpdates)((()=>{x(!0),E(null)}))}catch(e){a.start.reject(e)}}()}),[a,w]),d.useEffect((()=>{P&&async function(){try{await c.cleanupDocumentComparison(),a.end.resolve()}catch(e){a.end.reject(e)}}()}),[P,c,a]);const M=d.useCallback((async e=>{e&&(await c.setComparisonDocument(n,e),w()&&s($($({},l),{},{[n]:e})))}),[n,l,s,c,w]);return S?d.createElement(L,{backend:e.backend,renderPageCallback:e.renderPageCallback,allowedTileScales:e.allowedTileScales,viewportState:u,scrollElement:e.scrollElement,styles:t,dispatch:e.dispatch,viewportWidth:e.viewportWidth,currentDocumentKey:n,addReferencePoint:r,referencePoints:o,page:S,isAutoCompare:y,interactionMode:f,renderPagePreview:b}):F||l[n]||i[n].source!==U.b.USE_FILE_DIALOG?d.createElement("div",{className:t.documentComparisonPageLoading},Z||(Z=d.createElement(v.Z,{scale:2}))):d.createElement(K,{addSource:M})},X=async(e,t,n)=>{var o,r,i,a,s,l;let c;c=e&&e.length?[[[e[3].x,e[3].y],[e[0].x,e[0].y]],[[e[4].x,e[4].y],[e[1].x,e[1].y]],[[e[5].x,e[5].y],[e[2].x,e[2].y]]]:h.h6;return await n.documentCompareAndOpen({documentA:{pageIndex:t.documentA.pageIndex||0,strokeColor:null!==(o=t.strokeColors)&&void 0!==o&&o.documentA?(0,W.C)(null===(r=t.strokeColors)||void 0===r?void 0:r.documentA):(0,W.C)(null===(i=q.s.strokeColors)||void 0===i?void 0:i.documentA)},documentB:{pageIndex:t.documentB.pageIndex||0,strokeColor:null!==(a=t.strokeColors)&&void 0!==a&&a.documentB?(0,W.C)(null===(s=t.strokeColors)||void 0===s?void 0:s.documentB):(0,W.C)(null===(l=q.s.strokeColors)||void 0===l?void 0:l.documentB)},options:{type:"path",points:c,blendMode:t.blendMode||"darken"}})},J=e=>{const{onHide:t,styles:o}=e,{formatMessage:r}=(0,f.YB)();return d.createElement("div",{className:o.container},d.createElement("div",{className:o.wrapper},d.createElement(D.Z,{src:n(96462),className:o.icon}),d.createElement("div",{className:o.header},r(Q.UserHint_title)),d.createElement("div",{className:o.hint},r(Q.UserHint_description)),d.createElement("div",{className:o.hideButton},d.createElement(z.zx,{onClick:t},r(Q.UserHint_dismissMessage)))))},Q=(0,f.vU)({UserHint_title:{id:"UserHint_Select",defaultMessage:"Selecting Points",description:"User hint Title. User should select points to compare documents."},UserHint_description:{id:"UserHint_description",defaultMessage:"Select 3 points on both documents for manual alignment. For best results, choose points near corners of the document, and make sure to choose the points in the same order on both documents.",description:"Main body of the user hint. Explains what to do to compare documents"},UserHint_dismissMessage:{id:"UserHint_dismissMessage",defaultMessage:"Dismiss Message",description:"Dismiss user hint message"}}),ee=(0,F.b1)(),te=e=>e.length<3?m.Q.documentA:e.length<6?m.Q.documentB:m.Q.result,ne=e=>{const{interactionMode:t,initialDocumentSources:n,settings:o,backend:r}=e,{styles:i}=e.CSS_HACK,a=(0,k.tm)(),[s,l]=(0,k.nG)(),[c,u]=(0,k.jw)(),[f]=(0,k.$)(),[g,v]=d.useState(!0),y=(0,h.SH)(c),b=(0,k.R9)((e=>{e!==y&&u(e||m.Q.result)})),w=d.useCallback((e=>{const t=[...s,e];(0,p.unstable_batchedUpdates)((()=>{l(t),b(te(t))}))}),[s,b,l]),[S,E]=d.useState(null);return d.useEffect((()=>{!async function(){const[e,t]=await Promise.all([n[m.Q.documentA],n[m.Q.documentB]]);(e&&e.byteLength>0||o[m.Q.documentA].source===U.b.USE_OPEN_DOCUMENT)&&await r.setComparisonDocument(m.Q.documentA,e),(t&&t.byteLength>0||o[m.Q.documentB].source===U.b.USE_OPEN_DOCUMENT)&&await r.setComparisonDocument(m.Q.documentB,t),a()&&E({[m.Q.documentA]:e,[m.Q.documentB]:t,[m.Q.result]:{source:null}})}()}),[n,r,o,a]),d.createElement("div",{className:i.docComparison},S?d.createElement(Y,{backend:r,renderPageCallback:e.renderPageCallback,allowedTileScales:e.allowedTileScales,viewportState:e.viewportState,interactionMode:t,scrollElement:e.scrollElement,styles:i,dispatch:e.dispatch,settings:o,completionConfiguration:e.completionConfiguration,documentSources:S,setDocumentSources:E,viewportWidth:e.viewportWidth,currentDocumentKey:y,addReferencePoint:w,referencePoints:s,isAutoCompare:f,renderPagePreview:e.renderPagePreview}):null,!ee&&!(6===s.length)&&!f&&g&&d.createElement(J,{styles:i.userHintStyles,onHide:()=>v(!1)}))},oe=(0,f.vU)({Comparison_documentOld:{id:"Comparison_documentOld",defaultMessage:"Old Document",description:"One of the documents to be compared."},Comparison_documentOldTouch:{id:"Comparison_documentOldTouch",defaultMessage:"Old",description:"The original document used in the comparison."},Comparison_documentNew:{id:"Comparison_documentNew",defaultMessage:"New Document",description:"The new document used in the comparison."},Comparison_documentNewTouch:{id:"Comparison_documentNewTouch",defaultMessage:"New",description:"The new document used in the comparison."},Comparison_result:{id:"Comparison_result",defaultMessage:"Comparison",description:"The compared document."},Comparison_resetButton:{id:"Comparison_resetButton",defaultMessage:"Reset",description:"Reset all placed alignment points."},Comparison_alignButton:{id:"Comparison_alignButton",defaultMessage:"Align Documents",description:"Start the manual document alignment process."},Comparison_alignButtonTouch:{id:"Comparison_alignButtonTouch",defaultMessage:"Align",description:"Start the manual document alignment process."},Comparison_selectPoint:{id:"Comparison_selectPoint",defaultMessage:"Select Point",description:"Select alignment point."}})},2270:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E,s:()=>y});var o=n(84121),r=n(67294),i=n(73264),a=n(83634),s=n(9946),l=n(51559),c=n(55024),u=n(79973),d=n.n(u),p=n(94287),f=n.n(p);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function m(e){for(var t=1;tPromise.resolve().then(n.bind(n,99728)))),y={documentA:{source:s.b.USE_OPEN_DOCUMENT,pageIndex:0},documentB:{source:s.b.USE_FILE_DIALOG,pageIndex:0},strokeColors:{documentA:new a.Z({r:245,g:40,b:27}),documentB:new a.Z({r:49,g:193,b:255})},blendMode:"darken",autoCompare:!1},b=r.createElement("div",{className:d().documentComparisonPageLoading,"data-testid":"documentComparisonFallback"},r.createElement(i.Z,{scale:2})),w=(e,t)=>({documentA:m(m({},y.documentA),{},{pageIndex:(null==e?void 0:e.documentA.source)===s.b.USE_OPEN_DOCUMENT?t:0},null==e?void 0:e.documentA),documentB:m(m({},y.documentB),{},{pageIndex:(null==e?void 0:e.documentB.source)===s.b.USE_OPEN_DOCUMENT?t:0},null==e?void 0:e.documentB),strokeColors:m(m({},y.strokeColors),null==e?void 0:e.strokeColors),blendMode:(null==e?void 0:e.blendMode)||y.blendMode,autoCompare:e.autoCompare}),S=e=>e!==s.b.USE_OPEN_DOCUMENT&&e!==s.b.USE_FILE_DIALOG?(0,l.rh)(e):null,E=e=>{const{backend:t,viewportState:n,interactionMode:o=null,configuration:i}=e,a=r.useMemo((()=>w(i,n.currentPageIndex)),[i,n.currentPageIndex]);r.useEffect((()=>{let e;a[c.Q.documentA].source===s.b.USE_OPEN_DOCUMENT?e=c.Q.documentA:a[c.Q.documentB].source===s.b.USE_OPEN_DOCUMENT&&(e=c.Q.documentB),t.persistOpenDocument(e)}),[t,a]);const l=r.useRef({[c.Q.documentA]:S(a.documentA.source),[c.Q.documentB]:S(a.documentB.source)});return r.createElement(r.Suspense,{fallback:b},r.createElement(v,{backend:e.backend,interactionMode:o,renderPageCallback:e.renderPageCallback,allowedTileScales:e.allowedTileScales,viewportState:n,scrollElement:e.scrollElement,CSS_HACK:g,viewportWidth:e.viewportWidth,dispatch:e.dispatch,settings:a,completionConfiguration:i.completion,initialDocumentSources:l.current,renderPagePreview:e.renderPagePreview}))}},84537:(e,t,n)=>{"use strict";n.d(t,{n:()=>l});var o=n(22122),r=n(67294),i=n(25915),a=n(72673),s=n.n(a);function l(e){return r.createElement(i.bK,(0,o.Z)({},e,{styles:{label:s().label,input:s().input}}))}},28910:(e,t,n)=>{"use strict";n.d(t,{U:()=>l});var o=n(67294),r=n(25915),i=n(13540),a=n(99580),s=n.n(a);function l(e){let{title:t,children:a}=e;const[l,c]=o.useState(!1),u=(0,o.useCallback)((()=>c((e=>!e))),[]);return o.createElement(o.Fragment,null,o.createElement(r.w6,{expanded:l,onPress:u,className:s().wrapper},o.createElement("div",{className:s().controlContent},o.createElement(i.Z,{src:n(35982)(`./caret-${l?"down":"right"}.svg`),className:s().icon}),o.createElement("span",null,t))),o.createElement(r.F0,{expanded:l},o.createElement("div",{className:s().content},a)))}},40853:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>F,ck:()=>T,zx:()=>O});var o=n(84121),r=n(22122),i=n(67294),a=n(76154),s=n(94184),l=n.n(s),c=n(18390),u=n(35129),d=n(28910),p=n(13540),f=n(66003),h=n(2726),m=n(84537),g=n(5462),v=n(45395),y=n(13448),b=n(95651),w=n(22458),S=n.n(w),E=n(9437),P=n.n(E),x=n(93628),D=n.n(x);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function k(e){for(var t=1;to=>{let{btnComponentProps:a,selectedItem:s}=o;return i.createElement(c.Z,(0,r.Z)({is:"div"},a,{className:l()("PSPDFKit-Input-Dropdown-Button",D().selectBox,S().selectBox,{[D().measurementDropdownText]:"measurement"===t}),style:{minWidth:"measurement"===t?"60px":"100px",columnGap:"measurement"===t?"8px":"",width:n?`${n}px`:""}}),i.createElement("span",null,null!=s&&s.label?A(s.label)?e(A(s.label)):s.label:null),i.createElement("div",null,(0,y.Z)({type:"caret-down",style:{width:12,height:12,flexBasis:12},className:l()(D().dropdownIcon)})))},T=(e,t)=>n=>{let{item:o,state:a,itemComponentProps:s,ref:u}=n;return i.createElement(c.Z,(0,r.Z)({is:"div",className:l()(D().item,{[D().isSelected]:(null==a?void 0:a.includes("selected"))||(null==a?void 0:a.includes("focused")),[D().measurementDropdownText]:"measurement"===t}),name:null==o?void 0:o.value},s,{ref:u}),i.createElement("span",null,null!=o&&o.label?A(o.label)?e(A(o.label)):o.label:null))};const I=(0,a.vU)({borderColor:{id:"borderColor",defaultMessage:"Border Color",description:"Form designer popover style section border color label"},borderWidth:{id:"borderWidth",defaultMessage:"Border Width",description:"Form designer popover style section border width label"},borderStyle:{id:"borderStyle",defaultMessage:"Border Style",description:"Form designer popover style section border style label"},print:{id:"print",defaultMessage:"Print",description:"Form designer popover style section print label"},solid:{id:"solid",defaultMessage:"Solid",description:"Form designer popover style section solid border label"},dashed:{id:"dashed",defaultMessage:"Dashed",description:"Form designer popover style section dashed border label"},beveled:{id:"beveled",defaultMessage:"Beveled",description:"Form designer popover style section beveled border label"},inset:{id:"inset",defaultMessage:"Inset",description:"Form designer popover style section inset border label"},underline:{id:"underline",defaultMessage:"Underline",description:"Form designer popover style section unredline border label"}}),F=function(e){var t;let{annotation:o,updateAnnotation:r,intl:a,frameWindow:s,label:l,pageSize:c}=e;const y=i.useCallback((e=>a.formatMessage(u.Z.numberInPt,{arg0:e.toFixed(0)})),[a]),w=i.useCallback((e=>`${Math.round(e)}%`),[]),E=i.useCallback((e=>r({borderWidth:e})),[r]),x=i.useCallback((e=>{if(!c)return;const t=Number(e);if(90!==Math.abs(t-o.rotation)&&270!==Math.abs(t-o.rotation))r({rotation:t});else{const e=(0,b.eJ)(o,c),n=e.set("rotation",t);r({rotation:n.rotation,boundingBox:e.boundingBox})}}),[c,r,o]),D=i.useMemo((()=>[{label:"none",value:"none"},...Object.keys(v.N).map((e=>({label:e,value:e})))]),[]),C=null!==(t=D.find((e=>{var t;return(null!==(t=o.borderStyle)&&void 0!==t?t:"none")===e.value})))&&void 0!==t?t:null,F=[{label:"0°",value:"0"},{label:"90°",value:"90"},{label:"180°",value:"180"},{label:"270°",value:"270"}];let M=o.rotation?F.find((e=>{let{value:t}=e;return Number(t)===o.rotation})):F[0];void 0===M&&(M=F[0]);const _=i.useCallback(O(a.formatMessage),[a.formatMessage]),R=i.useCallback(T(a.formatMessage),[a.formatMessage]);return i.createElement(d.U,{title:l},i.createElement("div",{className:S().item},i.createElement(p.Z,{src:n(59601),className:S().itemIcon,role:"presentation"}),i.createElement("div",{className:S().itemLabel},a.formatMessage(u.Z.fillColor)),i.createElement(f.Z,{record:o,onChange:r,styles:k(k({},P()),{},{colorSvg:S().colorSvg,colorItem:S().colorItem,controlWrapper:k(k({},P().controlWrapper),{},{width:"auto"})}),accessibilityLabel:a.formatMessage(u.Z.fillColor),caretDirection:"down",colorProperty:"backgroundColor",frameWindow:s,className:S().colorDropdown})),i.createElement("div",{className:S().item},i.createElement(p.Z,{src:n(35147),className:S().itemIcon,role:"presentation"}),i.createElement("div",{className:S().itemLabel},a.formatMessage(I.borderColor)),i.createElement(f.Z,{record:o,onChange:r,styles:k(k({},P()),{},{colorSvg:S().colorSvg,colorItem:S().colorItem,controlWrapper:k(k({},P().controlWrapper),{},{width:"auto"})}),accessibilityLabel:a.formatMessage(I.borderColor),caretDirection:"down",colorProperty:"borderColor",frameWindow:s,className:S().colorDropdown})),i.createElement("div",{className:S().item},i.createElement(p.Z,{src:n(81913),className:S().itemIcon,role:"presentation"}),i.createElement("div",{className:S().itemLabel},a.formatMessage(I.borderStyle)),i.createElement("div",{className:S().nativeDropdown},i.createElement("select",{"aria-label":a.formatMessage(I.borderStyle),className:"PSPDFKit-Input-Dropdown-Select",value:o.borderStyle||"",onChange:e=>{e.target.value!==D[0].value?void 0!==e.target.value&&r({borderStyle:e.target.value}):r({borderStyle:null})}},D.map((e=>i.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},e.label?a.formatMessage(A(e.label)):""))))),i.createElement(g.Z,{items:D,value:C,accessibilityLabel:a.formatMessage(I.borderStyle),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:S().dropdownGroupComponent,menuClassName:S().dropdownGroupMenu,ButtonComponent:_,ItemComponent:R,onSelect:(e,t)=>{t.value!==D[0].value?void 0!==t.value&&r({borderStyle:t.value}):r({borderStyle:null})},frameWindow:s})),i.createElement("div",{className:S().item},i.createElement(p.Z,{src:n(62846),className:S().itemIcon,role:"presentation"}),i.createElement("div",{className:S().itemLabel},a.formatMessage(I.borderWidth)),i.createElement(h.Z,{onChange:E,value:o.borderWidth||0,name:"borderWidth",caretDirection:"down",min:0,max:40,valueLabel:y,className:S().sliderDropdown,accessibilityLabel:a.formatMessage(I.borderWidth)})),i.createElement("div",{className:S().item},i.createElement(p.Z,{src:n(53491),className:S().itemIcon,role:"presentation"}),i.createElement("div",{className:S().itemLabel},a.formatMessage(u.Z.opacity)),i.createElement(h.Z,{onChange:e=>r({opacity:e/100}),value:100*o.opacity,name:"opacity",caretDirection:"down",valueLabel:w,className:S().sliderDropdown,accessibilityLabel:a.formatMessage(u.Z.opacity)})),i.createElement("div",{className:S().item},i.createElement(p.Z,{src:n(55426),className:S().itemIcon,role:"presentation"}),i.createElement("div",{className:S().itemLabel},a.formatMessage(u.Z.rotation)),i.createElement("div",{className:S().nativeDropdown},i.createElement("select",{"aria-label":a.formatMessage(u.Z.rotation),className:"PSPDFKit-Input-Dropdown-Select",value:o.rotation||0,onChange:e=>{e.target.value&&x(e.target.value)}},F.map((e=>i.createElement("option",{key:e.value,value:e.value,disabled:e.disabled},e.label))))),i.createElement(g.Z,{items:F,value:M,accessibilityLabel:a.formatMessage(u.Z.rotation),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:S().dropdownGroupComponent,menuClassName:S().dropdownGroupMenu,ButtonComponent:_,ItemComponent:R,onSelect:(e,t)=>{t.value&&x(t.value)},frameWindow:s})),i.createElement("div",{className:S().item},i.createElement(p.Z,{src:n(54629),className:S().itemIcon,role:"presentation"}),i.createElement("div",{className:S().itemLabel},a.formatMessage(I.print)),i.createElement(m.n,{value:!o.noPrint,onUpdate:e=>r({noPrint:!e}),accessibilityLabel:a.formatMessage(I.print)})))}},98785:(e,t,n)=>{"use strict";n.d(t,{X:()=>f,Z:()=>h});var o=n(67294),r=n(35369),i=n(55961),a=n(87515),s=n(88804),l=n(73815),c=n(95651),u=n(16126),d=n(10333),p=n.n(d);function f(e,t,n,o){const{width:r,height:i}=e,a=Math.min(n/r,n/i),s=Math.min(o/r,o/i),c=Math.ceil(r*s*(0,l.L)()),u=Math.ceil(i*s*(0,l.L)()),d=Math.floor(r*a),p=Math.floor(i*a);let f=d,h=p;90!==t&&270!==t||(f=p,h=d);let m=0,g=0;return 90===t?m=f:180===t?(m=f,g=h):270===t&&(g=h),{ratio:a,tileRatio:s,tileWidth:c,tileHeight:u,containerWidth:d,containerHeight:p,rotatedWidth:f,rotatedHeight:h,translationX:m,translationY:g}}const h=(0,i.x)((function(e,t){const{page:n}=t,{backend:o,annotations:i,attachments:a,formFields:s,showAnnotations:l,renderPageCallback:d}=e,p=l?(0,c.xp)(i,n):void 0,f=l?(0,u.ET)(s,n):void 0,h=l&&f?(0,u.Qg)(f.reduce(((e,t)=>e.set(t.name,t)),(0,r.D5)())):void 0;return{annotations:p,formFields:f,formFieldValues:h,attachments:l?a:void 0,backend:o,renderPageCallback:d,digitalSignatures:e.digitalSignatures}}))((function(e){const{page:{pageSize:t,pageIndex:n,pageKey:r},size:i,maxSize:c,backend:u,annotations:d,attachments:h,formFields:m,formFieldValues:g,renderPageCallback:v,digitalSignatures:y,pageRef:b}=e,w=e.rotation||0,{ratio:S,tileRatio:E,tileWidth:P,tileHeight:x,rotatedWidth:D,rotatedHeight:C,translationX:k,translationY:A}=f(t,w,i,c),O=o.useMemo((function(){return new s.$u({width:P,height:x})}),[x,P]),T=o.useMemo((function(){return new s.UL({width:P,height:x})}),[x,P]),I={width:D,height:C,transform:`\n translateX(${k}px)\n translateY(${A}px)\n rotate(${w}deg)\n scale(${S/E/(0,l.L)()})\n `,transformOrigin:"top left"};return o.createElement("div",{style:I,ref:b},o.createElement("div",{className:p().tilePlaceholder,style:{width:P,height:x}}),o.createElement(a.Z,{backend:u,pageIndex:n,originalPageSize:t,scaledPageSize:O,rect:T,annotations:d,attachments:h,formFields:m,formFieldValues:g,renderPageCallback:v,digitalSignatures:y,pageKey:r}))}))},34855:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(22122),r=n(84121),i=n(67294),a=n(73935),s=n(7844),l=n(82481),c=n(45719),u=n.n(c);class d extends i.Component{constructor(){super(...arguments),(0,r.Z)(this,"shouldComponentUpdate",s.O),(0,r.Z)(this,"_lastOrientationChange",0),(0,r.Z)(this,"_handleResize",(()=>{const e=this._element&&this._element.getBoundingClientRect();if(!e)return;const t=Date.now()-this._lastOrientationChange<1e3;(0,a.unstable_batchedUpdates)((()=>{this.props.onResize(l.UL.fromClientRect(e),t)}))})),(0,r.Z)(this,"_handleOrientationChange",(()=>{this._lastOrientationChange=Date.now()})),(0,r.Z)(this,"_handleRef",(e=>{this._element=e}))}componentDidMount(){const e=this._getIFrameWindow();null==e||e.addEventListener("resize",this._handleResize),null==e||e.addEventListener("orientationchange",this._handleOrientationChange),this._handleResize()}componentWillUnmount(){const e=this._getIFrameWindow();null==e||e.removeEventListener("resize",this._handleResize),null==e||e.removeEventListener("orientationchange",this._handleOrientationChange)}_getIFrameWindow(){var e;return null===(e=this._element)||void 0===e?void 0:e.contentWindow}render(){return i.createElement("iframe",(0,o.Z)({ref:this._handleRef,className:u().root},{inert:""},{"aria-hidden":!0,tabIndex:"-1"}))}}},13448:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(67294),r=n(94184),i=n.n(r),a=n(13540),s=n(25393),l=n.n(s),c=n(30360);function u(e){const{icon:t,type:r,style:s=null}=e,u=i()(l().root,e.className,"PSPDFKit-Icon","PSPDFKit-Icon-"+(0,c.in)(r));if(t)return/{"use strict";n.d(t,{Z:()=>p});var o=n(84121),r=n(67294),i=n(82481),a=n(97528),s=n(18146),l=n(95651),c=n(32801),u=n(35129);const d=[i.Xs,i.gd,i.Zc,s.Z,i.FV,i.o9,i.om,i.Hi,i.b3,i.x_];class p extends r.PureComponent{static getDerivedStateFromProps(e){if(e.annotationToolbarColorPresets){const t=e.annotationToolbarColorPresets({propertyName:(()=>{for(const[t,n]of l.fc.entries())if(n===e.colorProperty)return t})(),defaultAnnotationToolbarColorPresets:a.Ei.COLOR_PRESETS});if(void 0!==t)return!1===t.showColorPicker?{hasColorPicker:t.showColorPicker,colors:t.presets,isUsingCustomConfig:!0}:{colors:t.presets,hasColorPicker:!0,isUsingCustomConfig:!0}}return e.colors?{colors:e.colors}:{colors:a.Ei.COLOR_PRESETS}}constructor(e){super(e),(0,o.Z)(this,"state",{colors:a.Ei.COLOR_PRESETS,colorPresets:(0,l.sH)(this.props.colorProperty),creatingColor:void 0,hasColorPicker:!0,isDeleteButtonVisible:void 0,isUsingCustomConfig:!1}),(0,o.Z)(this,"defaultBorderColor","#404040"),(0,o.Z)(this,"_autoFocused",!1),(0,o.Z)(this,"_onChange",(e=>{this.props.onChange({[this.props.colorProperty]:e?e.color:null})})),(0,o.Z)(this,"showCustomPickerForAnnotation",(e=>d.some((t=>e instanceof t)))),(0,o.Z)(this,"_setStoredColors",(e=>localStorage.setItem(`persistedColors${this.props.colorProperty}`,JSON.stringify(e))))}render(){var e;const{record:t}=this.props,n=this.state.hasColorPicker&&(!(t instanceof i.q6)||this.showCustomPickerForAnnotation(t)),o=this.props.record[this.props.colorProperty],a=null!==(e=this.state.colors.find((e=>!(null!=e.color&&!e.color.transparent||null!=o)||null!=e.color&&null!=o&&e.color.equals(o))))&&void 0!==e?e:{color:o,localization:u.Z.color};return r.createElement(c.Z,{colors:this.state.colors,value:a,customColorPresets:this.state.colorPresets,setCustomColorPresets:e=>e?this.setState({colorPresets:e}):null,onChange:this._onChange,className:this.props.className,caretDirection:this.props.caretDirection,removeTransparent:this.props.removeTransparent,opacity:this.props.record.opacity,accessibilityLabel:this.props.accessibilityLabel,keepOpacity:this.props.keepOpacity,frameWindow:this.props.frameWindow,innerRef:this.props.innerRef,lastToolbarActionUsedKeyboard:this.props.lastToolbarActionUsedKeyboard,styles:this.props.styles,setStoredColors:this._setStoredColors,shouldShowCustomColorPicker:n,unavailableItemFallback:{type:"swatch"},isUsingCustomConfig:this.state.isUsingCustomConfig})}}(0,o.Z)(p,"defaultProps",{className:"",removeTransparent:!1,lastToolbarActionUsedKeyboard:!1})},32801:(e,t,n)=>{"use strict";n.d(t,{Z:()=>Y});var o=n(22122),r=n(18390),i=n(67294),a=n(21614),s=n(50974),l=n(25915),c=n(94184),u=n.n(c),d=n(76154),p=n(44364),f=n.n(p),h=n(97528),m=n(82481),g=n(62967),v=n.n(g),y=n(93628),b=n.n(y),w=n(27435),S=n.n(w),E=n(38006),P=n.n(E),x=n(35129),D=n(5462),C=n(23093),k=n.n(C),A=n(36095),O=n(4054),T=n(13448),I=n(13540),F=n(775),M=n(47650),_=n.n(M);const R=i.memo((function(e){const{onCreateNewColor:t,onChange:n,disabled:o,isChoosingColor:r}=e,[a,s]=i.useState("#000000"),l={opacity:o?"40%":"100%",backgroundImage:r?"none":_().nativeColorInput.backgroundImage,backgroundColor:r?a:null,border:r?"1px solid var(--PSPDFKit-ColorDropdownPickerComponent-item-circle-border-stroke)":"none",width:r?"18px":"22px",height:r?"18px":"22px"};return i.createElement("label",{htmlFor:"input-color"},i.createElement("div",{className:_().nativeColorInputWrapper},i.createElement(F.DebounceInput,{className:u()(_().nativeColorInput,"PSPDFKit-Custom-Color-Input"),style:l,type:"color",id:"input-color",debounceTimeout:200,value:a,onChange:e=>{const t=e.target.value;t&&(s(t),n(m.Il.fromHex(t)))},onBlur:e=>{const n=e.target.value;n&&t(m.Il.fromHex(n))},disabled:o})))}));var N,L,B,j,z;const K=e=>{var t,n;const o=null!==(t=e.colors)&&void 0!==t?t:h.Ei.COLOR_PRESETS,{formatMessage:r}=(0,d.YB)(),{removeTransparent:s=!1,customColorPresets:l=[],setCustomColorPresets:c,setStoredColors:p,lastToolbarActionUsedKeyboard:f=!1,opacity:g=1,innerRef:v,value:y,caretDirection:b,keepOpacity:w,frameWindow:S,accessibilityLabel:E,onChange:P,unavailableItemFallback:x={type:"label"},disabled:C=!1,styles:k,shouldShowCustomColorPicker:O=!1,isUsingCustomConfig:T=!1,menuClassName:I}=e,[F,M]=i.useState(),[_,N]=i.useState(),L=i.useRef(!1),B=i.useCallback((e=>{const t=[...o,...l].find((t=>{var n,o,r,i;return null!==(n=null!=t.color&&null!=(null==e||null===(o=e.value)||void 0===o?void 0:o.color)&&(null===(r=e.value.color)||void 0===r?void 0:r.equals(t.color)))&&void 0!==n?n:null==(null==e||null===(i=e.value)||void 0===i?void 0:i.color)&&null==t.color})),n=[...o,...l].find((e=>t?V(e)===V(t):null));P(null!=n?n:null)}),[o,l,P]),j=i.useCallback((e=>{var t;const n={color:e,localization:{id:`custom-${(0,a.v4)()}`,defaultMessage:"Custom",description:"Custom color"}},o=[...l,n];null==p||p(o),c&&(c(o),M(void 0)),null!=y&&null!==(t=y.color)&&void 0!==t&&t.equals(e)||P(n)}),[l,c,p,P,y]),z=i.useCallback((e=>{var t;const n=l.filter((t=>t.localization.id!==e.localization.id));null==p||p(n),c&&(c(n),M(void 0)),e.color&&null!=y&&null!==(t=y.color)&&void 0!==t&&t.equals(e.color)&&P(o[0])}),[l,P,c,p,o,y]),K=i.useCallback((e=>{M(e);const t={color:e,localization:{id:`custom-${(0,a.v4)()}`,defaultMessage:"Custom",description:"Custom color"}};P(t)}),[P]),U=[...o,...l].filter((e=>!(s&&(null===e.color||e.color.transparent)))).map((e=>({label:e.localization.id,value:e,disabled:!1}))),G=H({caretDirection:b,colors:o,customColorPresets:l,colorItems:U,disabled:C,innerRef:v,keepOpacity:w,lastToolbarActionUsedKeyboard:f,opacity:g,unavailableItemFallback:x,styles:k,value:y,formatMessage:r,autoFocused:L}),W=$({colors:o,customColorPresets:l,isDeleteButtonVisible:_,setIsDeleteButtonVisible:N,formatMessage:r,handleChange:B,handleDeleteColor:z,keepOpacity:w,opacity:g,styles:k});return i.createElement("div",{className:k.controlWrapper},i.createElement("div",{className:k.control},i.createElement(D.Z,{items:U,value:null!=y&&null!==(n=U.find((e=>V(e.value)===V(y))))&&void 0!==n?n:null,discreteDropdown:!1,isActive:!1,caretDirection:b,className:`${e.className} ${k.colorSelect}`,menuClassName:u()(k.dropdownMenu,k.colorPickerDropdownMenu,I),ButtonComponent:G,ItemComponent:W,onSelect:(0,A.b1)()?void 0:(e,t)=>{B(t)},frameWindow:S,accessibilityLabel:E,maxCols:6,itemWidth:30,appendAfter:O?{node:Z,index:T?o.length-1:o.length-(s?2:1)}:null},O&&i.createElement(R,{onCreateNewColor:j,onChange:K,disabled:l.length>=17,isChoosingColor:F instanceof m.Il}))))},Z=()=>i.createElement("label",{style:{width:"100%",paddingTop:"10px",paddingBottom:"10px",paddingLeft:"5px"}},"Custom");function U(e){let{onClick:t}=e;return i.createElement(r.Z,{onClick:t,is:"button",className:u()(`PSPDFKit-AnnotationToolbar-Custom-Color-Delete-Button ${v().colorDeleteButton}`)},N||(N=i.createElement(I.Z,{src:k(),"aria-hidden":"true"})))}function V(e){return null!=e?null!=e.color?e.color.toCSSValue():"none":"N/A"}function G(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return{stroke:"var(--PSPDFKit-ColorDropdownPickerComponent-item-circle-border-stroke)",fill:e?e.toCSSValue():"none",strokeWidth:1,fillOpacity:t?n:1}}const W=()=>i.createElement(i.Fragment,null,i.createElement("defs",null,i.createElement("pattern",{id:"PSPDFKit-Color-Background-Chessboard",width:"0.5",height:"0.5",patternContentUnits:"objectBoundingBox"},i.createElement("rect",{x:"0",y:"0",width:"0.25",height:"0.25",style:{fill:"rgba(0,0,0,.2)"}}),i.createElement("rect",{x:"0.25",y:"0.25",width:"0.25",height:"0.25",style:{fill:"rgba(0,0,0,.2)"}}))),i.createElement("circle",{cx:"12",cy:"12",r:"10",style:{fill:"url(#PSPDFKit-Color-Background-Chessboard)"}})),q=()=>i.createElement("g",{transform:"translate(5 5)"},i.createElement("line",{x1:"2",x2:"12",y1:"12",y2:"2",style:{stroke:"#F00",strokeWidth:2},strokeLinecap:"round"})),H=e=>t=>{var n,r,a;let{btnComponentProps:s,selectedItem:c}=t,d=!1;if(null!=(null==c||null===(n=c.value)||void 0===n?void 0:n.color)){var p;const t=null===(p=c.value)||void 0===p?void 0:p.color;d=Boolean(!e.colorItems.some((e=>{var n,o;return null===(n=e.value)||void 0===n||null===(o=n.color)||void 0===o?void 0:o.equals(t)})))}else d=!e.colorItems.some((e=>{var t,n,o,r;return null==(null===(t=e.value)||void 0===t?void 0:t.color)&&null==(null==c||null===(n=c.value)||void 0===n?void 0:n.color)||(null===(o=e.value)||void 0===o||null===(r=o.color)||void 0===r?void 0:r.transparent)}));const f=[...e.colors,...e.customColorPresets].find((e=>{var t;return c?V(e)===V(c.value):null===(t=e.color)||void 0===t?void 0:t.transparent})),h=f?V(f):null,m=e.formatMessage(f?f.localization:{id:"transparent",defaultMessage:"Transparent",description:"Transparent"}),g=e.value,v=(!g||!f||"transparent"===f.localization.id||!e.keepOpacity&&e.opacity<1)&&(L||(L=i.createElement(W,null)));return i.createElement("button",(0,o.Z)({},s,{className:u()("PSPDFKit-Input-Dropdown-Button","PSPDFKit-Input-Color-Dropdown",e.styles.colorSelectButton,{[S().isDisabled]:e.disabled,[e.styles.controlIsDisabled]:e.disabled}),ref:t=>{s.ref(t),"function"==typeof e.innerRef?e.innerRef(t):e.innerRef&&"object"==typeof e.innerRef&&"current"in e.innerRef&&(e.innerRef.current=t),e.innerRef&&t&&!e.autoFocused.current&&(t.focus(),e.autoFocused.current=!0,e.lastToolbarActionUsedKeyboard&&(t.classList.add(P().focusedFocusVisible),t.addEventListener("blur",O.Cz)))},name:"clickableBox",disabled:e.disabled}),d&&"label"===e.unavailableItemFallback.type?i.createElement("span",null,null!==(r=e.unavailableItemFallback.label)&&void 0!==r?r:"N/A"):i.createElement(i.Fragment,null,i.createElement(l.TX,{tag:"div"},m),i.createElement("svg",(0,o.Z)({viewBox:"0 0 24 24",className:e.styles.colorSvg,key:h},{title:m,value:h},{"aria-hidden":!0}),v,(f&&"transparent"===f.localization.id||!g)&&(B||(B=i.createElement(q,null))),i.createElement("circle",{cx:"12",cy:"12",r:"10",style:G(null!==(a=null==g?void 0:g.color)&&void 0!==a?a:null)}))),i.createElement("div",null,(0,T.Z)({type:`caret-${e.caretDirection}`,style:{width:12,height:12,flexBasis:12},className:u()(b().dropdownIcon)})))},$=e=>t=>{var n,a;let{item:c,state:d,itemComponentProps:p}=t;const h=[...e.colors,...e.customColorPresets].find((e=>{var t,n;return null!=e.color&&null!=(null==c||null===(t=c.value)||void 0===t?void 0:t.color)?e.color.equals(null==c?void 0:c.value.color):null==e.color&&null==(null==c||null===(n=c.value)||void 0===n?void 0:n.color)})),m=e.colors.some((e=>{var t,n;return null!=e.color&&null!=(null==c||null===(t=c.value)||void 0===t?void 0:t.color)?e.color.equals(c.value.color):null==e.color&&null==(null==c||null===(n=c.value)||void 0===n?void 0:n.color)}));(0,s.kG)(h,"Couldn't find matching color.");const g=V(h),y=m?e.formatMessage(h.localization):e.formatMessage(x.Z.newColor),w=e.customColorPresets.find((e=>{var t,n;return null!=e.color&&null!=(null==c||null===(t=c.value)||void 0===t?void 0:t.color)?e.color.equals(c.value.color):null==e.color&&null==(null==c||null===(n=c.value)||void 0===n?void 0:n.color)}));let E,P=0;const D=("transparent"===h.localization.id||!e.keepOpacity&&e.opacity<1)&&(j||(j=i.createElement(W,null)));return i.createElement("div",{"data-testid":"color-swatch",className:v().colorItemContainer},w&&(e.isDeleteButtonVisible===g||!(0,A.b1)())&&i.createElement(U,{onClick:()=>e.handleDeleteColor(w)}),i.createElement(r.Z,(0,o.Z)({is:"div",className:u()(f().root,S().root,{[b().isSelected]:(null==d?void 0:d.includes("selected"))||(null==d?void 0:d.includes("focused"))},b().item,e.styles.colorItem),name:null!==(n=null==c||null===(a=c.value)||void 0===a?void 0:a.localization.id)&&void 0!==n?n:""},p,{onPointerDown:(0,A.b1)()?()=>{P=Date.now(),E=setTimeout((()=>{e.setIsDeleteButtonVisible(g)}),300)}:void 0,onPointerUp:(0,A.b1)()?(t=>()=>{Date.now()-P<300&&(window.clearTimeout(E),e.setIsDeleteButtonVisible(void 0),e.handleChange(t))})(c):void 0}),i.createElement(l.TX,{tag:"div"},y),i.createElement("svg",(0,o.Z)({viewBox:"0 0 24 24",className:`PSPDFKit-Input-Dropdown-Item ${e.styles.colorSvg}`,key:g},{title:y,value:g},{"aria-hidden":"true"}),D,"transparent"===h.localization.id&&(z||(z=i.createElement(q,null))),i.createElement("circle",{cx:"12",cy:"12",r:"10",style:G(h.color,e.keepOpacity)}))))},Y=i.memo(K)},2726:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var o=n(22122),r=n(84121),i=(n(50974),n(67294)),a=n(94184),s=n.n(a),l=n(25915),c=n(13540),u=n(7844),d=n(23215),p=n.n(d);let f=0;class h extends i.Component{constructor(){super(...arguments),(0,r.Z)(this,"inputRef",i.createRef()),(0,r.Z)(this,"shouldComponentUpdate",u.O),(0,r.Z)(this,"_guid",f++),(0,r.Z)(this,"triggerChange",(()=>{this.inputRef.current&&this.props.onChange(Number(this.inputRef.current.value))}))}render(){const{label:e,accessibilityLabel:t}=this.props;return i.createElement("div",{className:`PSPDFKit-Input-Slider ${this.props.className} ${p().root}`},this.props.label?i.createElement("label",{htmlFor:`${p().label}-${this._guid}`,className:p().label},this.props.label):this.props.accessibilityLabel?i.createElement(l.TX,{tag:"label",htmlFor:`${p().label}-${this._guid}`},this.props.accessibilityLabel):null,i.createElement("div",{className:p().input},i.createElement("input",{id:`${p().label}-${this._guid}`,type:"range",ref:this.inputRef,className:"PSPDFKit-Input-Slider-Input",min:this.props.min,max:this.props.max,step:this.props.step,value:this.props.value,onChange:this.triggerChange})),!this.props.hideLabel&&i.createElement("label",{className:`PSPDFKit-Input-Slider-Value ${p().value}`},this.props.valueLabel(this.props.value)))}}(0,r.Z)(h,"defaultProps",{min:0,max:100,step:1,valueLabel:e=>e.toString(),className:""});var m=n(19770),g=n.n(m);let v=0;class y extends i.Component{constructor(){super(...arguments),(0,r.Z)(this,"controlRef",i.createRef()),(0,r.Z)(this,"state",{isOpen:!1}),(0,r.Z)(this,"_guid",v++),(0,r.Z)(this,"_toggleItems",(()=>{this.state.isOpen?this._hideItems():this._showItems()})),(0,r.Z)(this,"_handleKeyDown",(e=>{"ArrowDown"!==e.key||this.state.isOpen||this._toggleItems()})),(0,r.Z)(this,"_handleBlur",(e=>{e.preventDefault(),e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),setTimeout((()=>{const e=this.controlRef.current,t=e&&e.ownerDocument&&e.ownerDocument.activeElement;this.state.isOpen&&e&&!e.contains(t)&&this._hideItems()}),0)}))}_showItems(){this.setState({isOpen:!0})}_hideItems(){this.setState({isOpen:!1})}render(){const{label:e,accessibilityLabel:t,caretDirection:o}=this.props;const r=this.props.className?this.props.className:"",a=s()(g().root,this.state.isOpen&&g().show,r,"PSPDFKit-Input-Dropdown",this.state.isOpen&&"PSPDFKit-Input-Dropdown-open");return i.createElement("div",{style:this.props.style,className:a,onBlur:this._handleBlur,ref:this.controlRef,tabIndex:-1},i.createElement("button",{className:`PSPDFKit-Input-Dropdown-Button ${g().button}`,onClick:this._toggleItems,onKeyDown:this._handleKeyDown,"aria-labelledby":`${g().srLabel}-${this._guid} ${g().value}-${this._guid}`,style:{height:32},ref:this.props.innerRef,"aria-expanded":this.state.isOpen,"aria-controls":`${g().dropdownItems}-${this._guid}`,type:"button"},i.createElement("span",{className:`PSPDFKit-Input-Dropdown-FlexContainer ${g().flexContainer}`,"aria-hidden":"true"},i.createElement("span",{className:`PSPDFKit-Input-Slider-Value ${g().value}`,id:`${g().value}-${this._guid}`},this.props.valueLabel(this.props.value))),i.createElement(l.TX,{id:`${g().srLabel}-${this._guid}`},t||null),i.createElement(c.Z,{src:n("down"===o?58021:7359),className:g().toggle,"aria-hidden":"true"})),i.createElement("div",{className:s()("PSPDFKit-Input-Dropdown-Items",g().dropdownItems,g().dropdown,{[g().dropDownItemsUp]:"up"===this.props.caretDirection}),id:`${g().dropdownItems}-${this._guid}`},this.state.isOpen&&this._renderDropdownItems()))}_renderDropdownItems(){return i.createElement("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap",width:"auto",padding:"5px 10px"}},i.createElement(h,(0,o.Z)({},this.props,{className:`${this.props.className} ${g().slider}`,hideLabel:!0})))}}(0,r.Z)(y,"defaultProps",{min:0,max:100,step:1,valueLabel:e=>e.toString(),className:""})},20500:(e,t,n)=>{"use strict";n.d(t,{B:()=>P});var o,r=n(22122),i=n(67294),a=n(67665),s=n(94184),l=n.n(s),c=n(27515),u=n(73815),d=n(36095),p=n(58479),f=n(13944),h=n(82481),m=n(72800),g=n(71693),v=n(89029),y=n.n(v);const b=d.G6&&(0,u.L)()>1,w=b?2:1,S=16/w;function E(e,t){const{zoomLevel:n}=e;return Math.round((0,g.e8)(e,(0,g.dF)(e,t))*n)}const P=e=>{const{pageRendererComponentProps:t,contentState:n,pageIndex:s,viewportState:g,onScroll:v,currentMainToolbarHeight:P,className:x,scrollElement:D,label:C,cursorPosition:k,isMobile:A}=e,[{x:O,y:T},I]=i.useState({x:0,y:0}),[{scrollTop:F,scrollLeft:M},_]=i.useState({scrollLeft:(null==D?void 0:D.scrollLeft)||0,scrollTop:((null==D?void 0:D.scrollTop)||0)-E(g,s)}),R=(0,p.R9)((e=>{k||I({x:e.clientX,y:e.clientY})})),N=(0,p.tm)(),L=(0,p.R9)((()=>{if(!D||!N())return;const e={scrollLeft:D.scrollLeft,scrollTop:D.scrollTop-E(g,s)};v?v((()=>_(e))):_(e)}));i.useEffect((()=>(null==D||D.addEventListener("scroll",L,!1),()=>{null==D||D.removeEventListener("scroll",L,!1)})),[L,D]);const B=A?136:174,j=g.scrollPosition.scale(g.zoomLevel).translate(g.scrollPosition.scale(-g.zoomLevel)),z=(0,c.G4)(g).translate(j.scale(-1)),K=(0,u.L)(),Z=Math.floor(K*(((null==k?void 0:k.x)||O)-z.left+M))/K,U=Math.floor(K*(((null==k?void 0:k.y)||T)-z.top-P+F))/K,V=Math.floor(B/2-Z),G=Math.floor(B/2-U),W=K/(w*S/K)+.5/w,q=w*S*.5*K,H=C||`${(g.zoomLevel*S*K/2).toFixed(1).replace(".0","")}x`;return i.createElement(f.Z,{onRootPointerMove:R},i.createElement(a.m,null,i.createElement("div",{className:l()(y().magnifierContainer,{[y().magnifierContainerMobile]:A},x)},i.createElement("div",{className:y().magnifier,style:{transformOrigin:`${Z}px ${U}px`,transform:`scale(${S*K/2}) translate(-${W}px, -${W}px)`,left:V,top:G}},i.createElement(m.Z,(0,r.Z)({},t,{contentState:n,viewportRect:new h.UL({left:Z,top:U,width:B,height:B}),forceDetailView:!0})),e.children),i.createElement("div",{className:y().magnifierGridContainer},i.createElement("svg",{width:B,height:B,viewBox:`0 0 ${B*K} ${B*K}`},i.createElement("defs",null,i.createElement("pattern",{id:"grid",x:A?-3*K:K>1?-.5*K:0,y:A?-3*K:K>1?-.5*K:0,width:q,height:q,patternUnits:"userSpaceOnUse"},i.createElement("polyline",{points:`${q-.5},0 ${q-.5},${q-.5} 0,${q-.5}`,className:y().magnifierGridStroke,strokeWidth:1,strokeLinejoin:"miter",strokeLinecap:"butt",shapeRendering:"crispEdges"}))),i.createElement("g",{transform:`translate(-${1+q/2},-${1+q/2})`},o||(o=i.createElement("rect",{fill:"url(#grid)",x:"0",y:"0",width:"100%",height:"100%",strokeLinejoin:"miter",strokeLinecap:"butt",shapeRendering:"crispEdges"})),i.createElement("rect",{x:Math.floor(B*K/2)+K*(b||d.vU&&K>1?0:.5),y:Math.floor(B*K/2)+(b?1:0),width:q,height:q,className:y().magnifierCenterStroke,strokeWidth:1,strokeLinejoin:"miter",strokeLinecap:"butt",shapeRendering:"crispEdges"}),i.createElement("rect",{x:Math.floor(B*K/2)-1,y:Math.floor(B*K/2)-1,width:q+3,height:q+3,className:y().magnifierCenterOutlineStroke,strokeWidth:2,strokeLinejoin:"miter",strokeLinecap:"butt",shapeRendering:"crispEdges"}))),i.createElement("div",{className:y().magnifierLabelBackground}),i.createElement("div",{className:y().magnifierLabelText},H)))))}},27001:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>H,qw:()=>X,sY:()=>$});var o,r,i,a,s=n(22122),l=n(67294),c=n(94184),u=n.n(c),d=n(76154),p=n(35369),f=n(25915),h=n(50974),m=n(67366),g=n(18390),v=n(9599),y=n(20792),b=n(34573),w=n(44763),S=n(35129),E=n(51205),P=n(22458),x=n.n(P),D=n(56966),C=n(69939),k=n(13540),A=n(4132),O=n(30570),T=n(36095),I=n(5462),F=n(40853),M=n(3845),_=n(36489),R=n(23756),N=n.n(R),L=n(10754),B=n.n(L),j=n(80324),z=n.n(j),K=n(93628),Z=n.n(K),U=n(79827),V=n(63738),G=n(2383),W=n(70190),q=n.n(W);const H=function(e){var t,o,r,i,a,s,c,g,P;let{referenceRect:T,viewportState:R,isHidden:L,annotation:j,frameWindow:K,eventEmitter:Z,setModalClosurePreventionError:W}=e;(0,h.kG)(j.measurementPrecision&&j.measurementScale);const{formatMessage:q}=(0,d.YB)(),H=(0,m.I0)(),Y=j.getMeasurementDetails().value,J=(0,m.v9)((e=>e.backend)),Q=(0,m.v9)((e=>e.measurementScales)),ee=(0,m.v9)((e=>e.activeMeasurementScale)),[te,ne]=(0,l.useState)(!1),[oe,re]=(0,l.useState)(!1),ie=ee&&!te?ee.precision:j.measurementPrecision,[ae,se]=(0,l.useState)((0,p.l4)([])),[le,ce]=(0,l.useState)(Y.toFixed(O._P[ie])),ue=l.useMemo((()=>ee&&!te?{unitFrom:ee.scale.unitFrom,unitTo:ee.scale.unitTo,fromValue:ee.scale.fromValue,toValue:ee.scale.toValue}:j.measurementScale),[ee,j.measurementScale,te]),[de,pe]=(0,l.useState)((0,v.sJ)({scale:ue,precision:ie}).label),[fe,he]=(0,l.useState)(null==ue?void 0:ue.fromValue.toString()),[me,ge]=(0,l.useState)(null==ue?void 0:ue.toValue.toString()),[ve,ye]=(0,l.useState)(!1),be=(0,l.useCallback)((e=>{const t=j.merge(e),n={annotations:(0,p.aV)([t]),reason:M.f.PROPERTY_CHANGE};Z.emit("annotations.willChange",n),H((0,C.FG)(t)),ne(!0)}),[j,H,Z]),we=l.useCallback((e=>{const t=(0,O.P_)(j,e);be({measurementScale:t}),he(t.fromValue.toString()),ge(t.toValue.toString())}),[j,be]);(0,l.useEffect)((()=>{W({error:D.x.MEASUREMENT_ERROR,annotationId:j.id})}),[j.id]),(0,l.useEffect)((()=>{we(parseFloat(le||"1"))}),[le,ue]),(0,l.useEffect)((()=>{H((0,V.M4)(ie))}),[ie]),(0,l.useEffect)((()=>{oe&&de||(pe((0,v.sJ)({scale:ue,precision:ie}).label),se(ae.delete("scaleName")));const e=null==Q?void 0:Q.find((e=>{let{scale:t,precision:n}=e;return t.fromValue===Number(null==ue?void 0:ue.fromValue)&&t.toValue===Number(null==ue?void 0:ue.toValue)&&t.unitFrom===(null==ue?void 0:ue.unitFrom)&&t.unitTo===(null==ue?void 0:ue.unitTo)&&n===ie}));se(e?ae.add("duplicate"):ae.delete("duplicate"))}),[fe,me,le,ue,ie]);const Se="startPoint"in j&&j.startPoint,Ee="endPoint"in j&&j.endPoint;(0,l.useEffect)((()=>{ce(j.getMeasurementDetails().value.toFixed(O._P[ie]))}),[Se,Ee,ie]);const Pe=l.useCallback((0,F.zx)(q,"measurement"),[q]),xe=l.useCallback((0,F.ck)(q),[q]),De=l.useCallback((()=>{const e={name:de,scale:{fromValue:parseFloat(fe),toValue:parseFloat(me),unitFrom:null==ue?void 0:ue.unitFrom,unitTo:null==ue?void 0:ue.unitTo},precision:ie};(0,m.dC)((()=>{H((0,w.C0)(e)),H((0,w.Se)(e))})),"SERVER"===(null==J?void 0:J.type)?(0,m.dC)((()=>{H((0,C.hQ)(j)),H((0,b.fz)()),H((0,V.UF)(y.A.MEASUREMENT)),H((0,w.Xh)(!1))})):ye(!0)}),[ye,H,fe,ie,null==ue?void 0:ue.unitFrom,null==ue?void 0:ue.unitTo,de,me]),Ce="in"===j.measurementScale.unitTo||"ft"===j.measurementScale.unitTo||"yd"===j.measurementScale.unitTo?O.nK:O.nK.filter((e=>!e.label.includes("/")));return ve?l.createElement(f.u_,{onEscape:()=>{(0,m.dC)((()=>{H((0,C.hQ)(j)),H((0,b.fz)()),H((0,V.UF)(y.A.MEASUREMENT)),H((0,w.Xh)(!1))}))},background:"var(--PSPDFKit-MeasurementModalComponent-background-color)",className:z().calibrationSuccessModal},l.createElement("div",{className:z().calibrationSuccessModalContainer},l.createElement("div",{className:z().calibrationSuccessRow},l.createElement(k.Z,{src:n(17076),className:x().itemIcon,role:"presentation"}),l.createElement("div",{onClick:()=>{(0,m.dC)((()=>{H((0,C.hQ)(j)),H((0,b.fz)()),H((0,V.UF)(y.A.MEASUREMENT)),H((0,w.Xh)(!1))}))}},l.createElement(k.Z,{src:n(58054),className:x().itemIcon,role:"presentation",style:{cursor:"pointer"}}))),l.createElement("div",{className:u()(z().calibrationSuccessRow,z().calibrationSuccessTitle)},l.createElement("p",null,q($.calibrationScaleSuccess))),l.createElement("div",{className:z().calibrationSuccessRow},l.createElement("p",null,q($.calibrationScaleSubtitle))))):L?null:l.createElement(E.Z,{referenceRect:T,viewportState:R,className:"PSPDFKit-Measurement-Popover",wrapperClassName:"PSPDFKit-Measurement-Editor",title:q($.calibrateScale),footer:l.createElement("div",{className:u()(z().footer,z().contentRow,z().spaceBetweenRow)},l.createElement(f.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons",align:"end"},l.createElement(f.zx,{autoFocus:!0,onClick:()=>{(0,m.dC)((()=>{H((0,w.Xh)(!1)),H((0,C.hQ)(j)),H((0,b.fz)()),H((0,V.UF)(y.A.MEASUREMENT))}))},className:u()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Cancel",z().button)},q(S.Z.delete)),l.createElement(f.zx,{onClick:()=>De(),primary:!0,disabled:ae.size>0,className:u()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Confirm",z().button)},q(S.Z.done))))},l.createElement("div",{className:B().calibration},l.createElement("div",{className:B().calibrationTop},l.createElement(k.Z,{src:n(96810),className:x().itemIcon,role:"presentation"}),l.createElement("div",{className:x().itemLabel},q($.measurementCalibrateLength)),l.createElement("div",{className:B().calibrateRight},l.createElement(f.oi,{type:"number",value:le,onChange:e=>{if(ce(e.target.value),!function(e){const t=parseFloat(e);return!isNaN(t)&&isFinite(t)&&t>0}(e.target.value))return void se(ae.add("calibrationValue"));se(ae.delete("calibrationValue"));const t=parseFloat(e.target.value);we(t)},required:!0,style:{height:32,width:90,borderColor:ae.has("calibrationValue")?"#FF0000":void 0},className:u()(N().input,"PSPDFKit-Calibration-Input")}),l.createElement("div",{className:u()(x().nativeDropdown,B().nativeButton)},l.createElement("select",{"aria-label":q($.calibrate),className:u()("PSPDFKit-Input-Dropdown-Select","PSPDFKit-Calibration-UnitTo"),value:null!==(t=null===(o=O.b5.find((e=>e.value===(null==ue?void 0:ue.unitTo))))||void 0===o?void 0:o.value)&&void 0!==t?t:null===(r=j.measurementScale)||void 0===r?void 0:r.unitTo,onChange:e=>{var t;be({measurementScale:null===(t=j.measurementScale)||void 0===t?void 0:t.set("unitTo",e.target.value)})}},Object.keys(U.K).map((e=>l.createElement("option",{key:e,value:U.K[e]},U.K[e]))))),l.createElement(I.Z,{items:O.b5,value:null!==(i=O.b5.find((e=>e.value===(null==ue?void 0:ue.unitTo))))&&void 0!==i?i:null,accessibilityLabel:q($.calibrate),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:u()(x().dropdownGroupComponent,"PSPDFKit-Calibration-UnitTo"),menuClassName:x().dropdownGroupMenu,ButtonComponent:Pe,ItemComponent:xe,onSelect:(e,t)=>{var n;be({measurementScale:null===(n=j.measurementScale)||void 0===n?void 0:n.set("unitTo",t.value)})},frameWindow:K})))),l.createElement("span",{className:B().spacer}),l.createElement("div",{className:B().scale},l.createElement("div",{className:B().scaleTop},l.createElement(k.Z,{src:n(69695),className:x().itemIcon,role:"presentation"}),l.createElement("div",{className:x().itemLabel},q($.measurementScale))),l.createElement("div",{style:{width:"100%"},className:B().itemHeader},l.createElement(f.oi,{type:"text",value:de,onChange:e=>{e.target.value?se(ae.delete("scaleName")):se(ae.add("scaleName")),pe(e.target.value),oe||re(!0)},required:!0,style:{height:32,width:"100%",borderColor:ae.has("scaleName")?"#FF0000":void 0},className:u()(N().input,"PSPDFKit-Calibration-Name")})),l.createElement("div",{className:B().scaleBottom},l.createElement("div",null,l.createElement(f.oi,{type:"number",value:fe,required:!0,disabled:!0,style:{height:32,width:90,borderColor:ae.has("fromValue")?"#FF0000":void 0,opacity:"var(--PSPDFKit-Button-isDisabled-opacity)"},className:u()(N().input,N().disabled)}),l.createElement("div",{className:u()(x().nativeDropdown,B().nativeButton)},l.createElement("select",{"aria-label":q($.measurementScale),className:"PSPDFKit-Input-Dropdown-Select",value:(null===(a=j.measurementScale)||void 0===a?void 0:a.unitFrom)||"",disabled:!0},Object.keys(_.s).map((e=>l.createElement("option",{key:e,value:_.s[e]},_.s[e]))))),l.createElement(I.Z,{items:O.m_,value:null!==(s=O.m_.find((e=>e.value===(null==ue?void 0:ue.unitFrom))))&&void 0!==s?s:null,accessibilityLabel:q($.measurementScale),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:x().dropdownGroupComponent,menuClassName:x().dropdownGroupMenu,ButtonComponent:Pe,ItemComponent:xe,disabled:!0,frameWindow:K})),":",l.createElement("div",null,l.createElement(f.oi,{type:"number",value:me,required:!0,disabled:!0,style:{height:32,width:90,borderColor:ae.has("toValue")?"#FF0000":void 0,opacity:"var(--PSPDFKit-Button-isDisabled-opacity)"},className:u()(N().input,N().disabled)}),l.createElement("div",{className:u()(x().nativeDropdown,B().nativeButton)},l.createElement("select",{"aria-label":q($.measurementScale),className:"PSPDFKit-Input-Dropdown-Select",value:(null===(c=j.measurementScale)||void 0===c?void 0:c.unitTo)||"",disabled:!0},Object.keys(U.K).map((e=>l.createElement("option",{key:e,value:U.K[e]},U.K[e]))))),l.createElement(I.Z,{items:O.b5,value:null!==(g=O.b5.find((e=>e.value===(null==ue?void 0:ue.unitTo))))&&void 0!==g?g:null,accessibilityLabel:q($.measurementScale),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:x().dropdownGroupComponent,menuClassName:x().dropdownGroupMenu,ButtonComponent:Pe,ItemComponent:xe,disabled:!0,frameWindow:K})))),l.createElement("span",{className:B().spacer}),l.createElement("div",{className:x().item},l.createElement("div",{className:u()(x().itemLabel,B().itemLabel)},q($.measurementPrecision)),l.createElement("div",{className:u()(x().nativeDropdown,B().nativeButton)},l.createElement("select",{style:{height:30},"aria-label":q($.measurementPrecision),className:u()("PSPDFKit-Input-Dropdown-Select","PSPDFKit-Calibration-Precision"),value:j.measurementPrecision||"",onChange:e=>{be({measurementPrecision:e.target.value})}},Object.keys(A.L).map(((e,t)=>l.createElement("option",{key:e,value:A.L[e]},O.W9[t]))))),l.createElement(I.Z,{items:Ce,value:null!==(P=Ce.find((e=>e.value===j.measurementPrecision)))&&void 0!==P?P:null,accessibilityLabel:q($.measurementPrecision),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:u()(x().dropdownGroupComponent,"PSPDFKit-Measurement-Popover-Precision-Dropdown","PSPDFKit-Calibration-Precision"),menuClassName:x().dropdownGroupMenu,ButtonComponent:Pe,ItemComponent:X,onSelect:(e,t)=>{be({measurementPrecision:t.value}),ce(Y.toFixed(O._P[t.value]).toString())},frameWindow:K})),ae.has("duplicate")&&l.createElement("p",{className:z().scaleError},q(G.s.duplicateScaleError)))},$=(0,d.vU)({calibrationScaleSuccess:{id:"calibrationScaleSuccess",defaultMessage:"Scale has been successfully set",description:"Scale has been successfully set"},calibrationScaleSubtitle:{id:"calibrationScaleSubtitle",defaultMessage:"Start measuring by selecting one of the measurement tools.",description:"Start measuring by selecting one of the measurement tools."},perimeterMeasurementSettings:{id:"perimeterMeasurementSettings",defaultMessage:"Perimeter Measurement Settings",description:"Perimeter Measurement Settings"},polygonAreaMeasurementSettings:{id:"polygonAreaMeasurementSettings",defaultMessage:"Polygon Area Measurement Settings",description:"Polygon Area Measurement Settings"},rectangularAreaMeasurementSettings:{id:"rectangularAreaMeasurementSettings",defaultMessage:"Rectangle Area Measurement Settings",description:"Rectangle Area Measurement Settings"},ellipseAreaMeasurementSettings:{id:"ellipseAreaMeasurementSettings",defaultMessage:"Ellipse Area Measurement Settings",description:"Ellipse Area Measurement Settings"},measurementCalibrateLength:{id:"measurementCalibrateLength",defaultMessage:"Calibrate Length",description:"Calibrate"},measurementPrecision:{id:"measurementPrecision",defaultMessage:"Precision",description:"Precision"},measurementScale:{id:"measurementScale",defaultMessage:"Scale",description:"Scale"},calibrateScale:{id:"calibrateScale",defaultMessage:"Calibrate Scale",description:"Calibrate Scale"},calibrate:{id:"calibrate",defaultMessage:"Calibrate",description:"Calibrate"}});const Y=e=>T.G6?l.createElement("span",null,e.label):"1/2"===e.label?o||(o=l.createElement("span",null,"1⁄2 in")):"1/4"===e.label?r||(r=l.createElement("span",null,"1⁄4 in")):"1/8"===e.label?i||(i=l.createElement("span",null,"1⁄8 in")):"1/16"===e.label?a||(a=l.createElement("span",null,"1⁄16 in ")):l.createElement("span",null,e.label),X=e=>{let{item:t,state:n,itemComponentProps:o,ref:r}=e;return l.createElement(g.Z,(0,s.Z)({is:"div",className:u()(Z().item,{[Z().isSelected]:(null==n?void 0:n.includes("selected"))||(null==n?void 0:n.includes("focused"))},Z().measurementDropdownText),name:null==t?void 0:t.value},o,{ref:r}),null!=n&&n.includes("selected")?l.createElement(k.Z,{src:q(),className:B().icon}):l.createElement("span",{className:B().icon}),l.createElement(Y,{label:null==t?void 0:t.label}))}},90012:(e,t,n)=>{"use strict";n.d(t,{Z:()=>I,s:()=>F});var o=n(67294),r=n(76154),i=n(25915),a=n(94184),s=n.n(a),l=n(67366),c=n(19338),u=n(71603),d=n(69939),p=n(34573),f=n(63738),h=n(35860),m=n(2383),g=n(28890),v=n(35129),y=n(80324),b=n.n(y),w=n(84537),S=n(10754),E=n.n(S),P=n(79827),x=n(22458),D=n.n(x),C=n(5462),k=n(40853),A=n(4132),O=n(30570),T=n(44763);const I=function(e){var t,n;let{frameWindow:a}=e;const y=(0,r.YB)(),{formatMessage:S}=(0,r.YB)(),x=(0,l.v9)((e=>e.measurementScales)),I=(0,l.v9)((e=>e.secondaryMeasurementUnit)),[M,_]=o.useState(Boolean(I)),[R,N]=o.useState(null==I?void 0:I.unitTo),[L,B]=o.useState(null==I?void 0:I.precision),[j,z]=o.useState(!1),[K,Z]=o.useState([]),[U,V]=o.useState(null),[G,W]=o.useState(null),[q,H]=o.useState(!1),$=(0,l.v9)((e=>{const{selectedAnnotationIds:t,annotations:n}=e;return t.map((e=>n.get(e)))})),Y=(0,l.I0)(),X=o.useCallback((0,k.zx)(S,"measurement"),[S]),J=o.useCallback((0,k.ck)(S),[S]),Q=o.useCallback((()=>{Y((0,f.jJ)()),Y((0,p.fz)()),Y((0,d.Ds)("measurement")),Y((0,f.BR)())}),[Y]),ee=o.useCallback((e=>{if(j&&K&&x){const{deleted:t}=(0,O.Rc)(x,K);if(t.filter((e=>!(null==G?void 0:G.find((t=>t.prevScale===e))))).length>0&&!e)return void H(!0);(0,l.dC)((()=>{Y((0,T.U7)(K,G)),Y((0,T.Se)(U))}))}M&&R&&L&&Y((0,T.v9)({unitTo:R,precision:L})),!I||R||L||Y((0,T.v9)(null)),$.size>0&&(0,l.dC)((()=>{$.toList().forEach((e=>{const t=e.set("measurementScale",new u.Z({fromValue:Number(null==U?void 0:U.scale.fromValue),toValue:Number(null==U?void 0:U.scale.toValue),unitFrom:null==U?void 0:U.scale.unitFrom,unitTo:null==U?void 0:U.scale.unitTo})).set("measurementPrecision",null==U?void 0:U.precision);Y((0,d.FG)(t))}))})),Q()}),[U,j,Y,G,x,Q,K,I,R,L,M]),te=o.useMemo((()=>!!R&&(0,O.B0)(R)),[R]);return q?o.createElement(h.z,{onConfirm:()=>{ee(!0)},onCancel:()=>{H(!1)},accessibilityLabel:S(F.scaleAnnotationsDeleteWarning),accessibilityDescription:S(F.scaleAnnotationsDeleteWarning),intl:y},o.createElement("p",null,S(F.scaleAnnotationsDeleteWarning))):o.createElement(g.Z,{onEscape:Q,background:"var(--PSPDFKit-MeasurementModalComponent-background-color)",className:b().modal},o.createElement("h2",{className:s()(b().title,b().header,b().contentRow)},S(F.setScale)),o.createElement(m.Z,{frameWindow:a,setAreValidScales:z,scalesSetter:Z,activeScaleSetter:V,editedScalesSetter:W}),o.createElement("h2",{className:s()(b().contentRow,b().sectionTitle,b().spaceBetweenRow)},S(F.secondaryUnit)),o.createElement("div",{className:s()(b().contentRow,b().spaceBetweenRow)},o.createElement("p",null,S(F.displaySecondaryUnit)),o.createElement(w.n,{value:M,onUpdate:()=>{M?(N(void 0),B(void 0)):(N(P.K.INCHES),B(A.L.WHOLE)),_(!M)},accessibilityLabel:S(F.displaySecondaryUnit)})),M?o.createElement("div",{className:"PSPDFKit-Secondary-Measurement"},o.createElement("div",{className:s()(b().contentRow,b().spaceBetweenRow)},o.createElement("p",null,S(F.unit)),o.createElement("div",{className:s()(b().nativeDropdown,E().nativeButton)},o.createElement("select",{style:{height:30},"aria-label":S(F.measurementScale),value:(null===(t=O.b5.find((e=>e.value===R)))||void 0===t?void 0:t.value)||"",className:"PSPDFKit-Input-Dropdown-Select",onChange:e=>{N(e.target.value)}},Object.keys(P.K).map((e=>o.createElement("option",{key:e,value:P.K[e]},P.K[e]))))),o.createElement(C.Z,{items:O.b5,value:null!==(n=O.b5.find((e=>e.value===R)))&&void 0!==n?n:null,accessibilityLabel:S(F.measurementScale),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:s()(b().dropdownGroupComponent,D().dropdownGroupComponent,"PSPDFKit-Secondary-Measurement-UnitTo"),menuClassName:D().dropdownGroupMenu,ButtonComponent:X,ItemComponent:J,onSelect:(e,t)=>{(0,O.B0)(t.value)&&(0,O.zl)(L)&&!te&&B(void 0),N(t.value)},frameWindow:a})),o.createElement("div",{className:s()(b().contentRow,b().spaceBetweenRow)},o.createElement("p",null,S(F.measurementPrecision)),o.createElement(c.Z,{frameWindow:a,unit:R,onPrecisionChange:B,selectedPrecision:L,precisionDropdownClassname:"PSPDFKit-Secondary-Measurement-Precision",accessibilityLabel:S(F.measurementPrecision)}))):null,o.createElement("div",{className:s()(b().footer,b().contentRow,b().spaceBetweenRow)},o.createElement(i.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons",align:"end"},o.createElement(i.zx,{autoFocus:!0,onClick:Q,className:s()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Cancel",b().button)},S(v.Z.cancel)),o.createElement(i.zx,{onClick:()=>ee(),primary:!0,disabled:M&&(!R||!L)||!j,className:s()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Confirm",b().button)},S(v.Z.done)))))},F=(0,r.vU)({distanceMeasurementSettings:{id:"distanceMeasurementSettings",defaultMessage:"Distance Measurement Settings",description:"Distance Measurement Settings"},perimeterMeasurementSettings:{id:"perimeterMeasurementSettings",defaultMessage:"Perimeter Measurement Settings",description:"Perimeter Measurement Settings"},polygonAreaMeasurementSettings:{id:"polygonAreaMeasurementSettings",defaultMessage:"Polygon Area Measurement Settings",description:"Polygon Area Measurement Settings"},rectangularAreaMeasurementSettings:{id:"rectangularAreaMeasurementSettings",defaultMessage:"Rectangle Area Measurement Settings",description:"Rectangle Area Measurement Settings"},ellipseAreaMeasurementSettings:{id:"ellipseAreaMeasurementSettings",defaultMessage:"Ellipse Area Measurement Settings",description:"Ellipse Area Measurement Settings"},measurementCalibrateLength:{id:"measurementCalibrateLength",defaultMessage:"Calibrate Length",description:"Calibrate"},measurementPrecision:{id:"measurementPrecision",defaultMessage:"Precision",description:"Precision"},measurementScale:{id:"measurementScale",defaultMessage:"Scale",description:"Measurement Scale"},setScale:{id:"setScale",defaultMessage:"Set Scale",description:"Set Scale"},unit:{id:"unit",defaultMessage:"Unit",description:"Unit"},secondaryUnit:{id:"Secondary Unit",defaultMessage:"Secondary Unit",description:"Secondary Unit"},displaySecondaryUnit:{id:"displaySecondaryUnit",defaultMessage:"Display Secondary Unit",description:"Display Secondary Unit"},scaleAnnotationsDeleteWarning:{id:"scaleAnnotationsDeleteWarning",defaultMessage:"Deleting the scale will also delete measurements using the scale.",description:"Message displayed in the scales deletion dialog"}})},19338:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var o=n(94184),r=n.n(o),i=n(67294),a=n(76154),s=n(40853),l=n(27001),c=n(10754),u=n.n(c),d=n(90012),p=n(80324),f=n.n(p),h=n(22458),m=n.n(h),g=n(5462),v=n(4132),y=n(30570);const b=e=>{var t,n;let{unit:o,frameWindow:c,selectedPrecision:p,onPrecisionChange:h,wrapperClass:b,precisionDropdownClassname:w,accessibilityLabel:S,index:E}=e;const{formatMessage:P}=(0,a.YB)(),x=(0,i.useMemo)((()=>!!o&&(0,y.B0)(o)),[o]),D=(0,i.useMemo)((()=>x?y.Qc:y.nK),[x]),C=i.useCallback((0,s.zx)(P,"measurement"),[P]);return i.createElement("div",{className:b||void 0},i.createElement("div",{className:r()(f().nativeDropdown,u().nativeButton)},i.createElement("select",{style:{height:30},"aria-label":P(d.s.measurementPrecision),"data-test-id":void 0!==E?`PSPDFKit-Scale-${E+1}-Precision`:"PSPDFKit-Scale-Precision",value:(null===(t=y.nK.find((e=>e.value===p||e.label===p)))||void 0===t?void 0:t.value)||"",className:r()("PSPDFKit-Input-Dropdown-Select","PSPDFKit-Measurement-Precision-Dropdown"),onChange:e=>{h(e.target.value)}},Object.keys(v.L).filter((e=>x?!(0,y.zl)(v.L[e]):e)).map(((e,t)=>i.createElement("option",{key:e,value:v.L[e]},y.W9[t]))))),i.createElement(g.Z,{items:D,value:null!==(n=D.find((e=>e.value===p||e.label===p)))&&void 0!==n?n:null,accessibilityLabel:S,discreteDropdown:!1,isActive:!1,caretDirection:"down",className:r()("PSPDFKit-Input-Dropdown-Select",f().dropdownGroupComponent,"PSPDFKit-Measurement-Precision-Dropdown",w),"data-test-id":void 0!==E?`PSPDFKit-Scale-${E+1}-Precision`:"PSPDFKit-Scale-Precision",menuClassName:m().dropdownGroupMenu,ButtonComponent:C,ItemComponent:l.qw,onSelect:(e,t)=>{h(t.value)},frameWindow:c}))}},2383:(e,t,n)=>{"use strict";n.d(t,{Z:()=>L,s:()=>N});var o=n(84121),r=n(25915),i=n(94184),a=n.n(i),s=n(67294),l=n(76154),c=n(67366),u=n(19338),d=n(4132),p=n(40853),f=n(22458),h=n.n(f),m=n(23756),g=n.n(m),v=n(13540),y=n(27001),b=n(10754),w=n.n(b),S=n(35129),E=n(5462),P=n(36489),x=n(79827),D=n(30570),C=n(80324),k=n.n(C);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function O(e){for(var t=1;t0}const N=(0,l.vU)({scaleSelector:{id:"scaleSelector",defaultMessage:"Scale {arg0}",description:"Scale checkbox selector for multiple scale selection accessibility"},scaleName:{id:"scaleName",defaultMessage:"Scale Name",description:"Scale Name"},scaleUnitFrom:{id:"scaleUnitFrom",defaultMessage:"Scale unit from",description:"Scale unit from"},scaleUnitTo:{id:"scaleUnitTo",defaultMessage:"Scale unit to",description:"Scale unit to"},newScale:{id:"newScale",defaultMessage:"Add new scale",description:"Add new scale"},duplicateScaleError:{id:"duplicateScaleError",defaultMessage:"Scale with these settings has already been defined. Please choose a different scale.",description:"Scale with these settings has already been defined. Please choose a different scale."}}),L=function(e){const{frameWindow:t,setAreValidScales:o,scalesSetter:i,activeScaleSetter:f,editedScalesSetter:m}=e,{formatMessage:b}=(0,l.YB)(),C=(0,c.v9)((e=>e.measurementScales)),A=(0,c.v9)((e=>e.activeMeasurementScale)),[L,B]=(0,s.useState)([]),[j,z]=(0,s.useState)(C),[K,Z]=(0,s.useState)(A?null==C?void 0:C.findIndex((e=>(0,D.cd)(e,A))):0),[U,V]=(0,s.useState)([]),[G,W]=(0,s.useState)([]);s.useEffect((()=>{const e=function(e,t){const n=[];return t.forEach((t=>{const o=e[t],r=[],i=o.scale.fromValue,a=o.scale.toValue,s=o.precision;R(i)||r.push(F),R(a)||r.push(M),s||r.push(_);const l=[];e.forEach(((e,n)=>{n!==t&&(l.push(n),o.name&&o.name===e.name&&!r.includes(I)&&r.push(I),(0,D.cd)(o,e)&&!r.includes(T)&&r.push(T))})),r.length>0&&n.push({index:t,fields:r,conflicts:l})})),n}(j,G);if(e.length>0){const t=e[e.length-1];B([t])}else B([]),W([]),i(j);o(0===e.length)}),[j,i,o]),s.useEffect((()=>{z(C)}),[C]),s.useEffect((()=>{const e=null==j?void 0:j.find(((e,t)=>t===K));e&&f(e)}),[K,f,j]),s.useEffect((()=>{m(U)}),[U]);const q=(e,t,n)=>{z((o=>{const r=null==o?void 0:o.map((e=>O(O({},e),{},{scale:O({},e.scale)})));return"precision"===t?r[e][t]=n:r[e].scale=O(O({},r[e].scale),{},{[t]:n}),r})),null!=C&&C.find((t=>JSON.stringify(t)===JSON.stringify(null==j?void 0:j[e])))&&U&&!U.find((t=>t===e))&&V([...U,{index:e,prevScale:C[e]}]),G.includes(e)||W([...G,e])},H=s.useCallback((0,p.zx)(b,"measurement"),[b]),$=s.useCallback((0,p.ck)(b),[b]);return s.createElement("div",{className:k().scale},null==j?void 0:j.map(((e,o)=>{var i,l;const c=e.name,d=e.scale,p=e.precision,f=null==d?void 0:d.unitFrom,m=null==d?void 0:d.unitTo,A=null==d?void 0:d.fromValue,R=null==d?void 0:d.toValue,B=L.find((e=>e.index===o)),Y=null==B?void 0:B.fields.includes(T),X=null==B?void 0:B.fields.includes(I),J=null==B?void 0:B.fields.includes(F),Q=null==B?void 0:B.fields.includes(M),ee=null==B?void 0:B.fields.includes(_);return s.createElement("div",{key:o,style:{marginBottom:"var(--PSPDFKit-spacing-6)"}},s.createElement("div",{className:a()(k().scaleRow),style:Y?{borderBottom:0}:{},"data-test-id":`PSPDFKit-Scale-${o+1}`},s.createElement("input",{key:c,type:"radio",checked:Boolean(K===o&&!Y),value:o,id:b(N.scaleSelector,{arg0:o+1}),name:b(N.scaleSelector,{arg0:o+1}),onChange:e=>{e.target.checked&&Z(o)},className:a()(k().activeScaleRadio,"PSPDFKit-Active-Scale-Radio-Input")}),s.createElement("div",{className:a()(k().scaleContent,k().scaleMiddleSection)},s.createElement("div",{className:a()(k().scaleRow,k().spaceBetweenRow,k().rowSeparator)},s.createElement(r.oi,{type:"text",value:c,placeholder:b(N.scaleName),onChange:e=>{((e,t)=>{G.includes(e)||W([...G,e]),z((n=>{const o=null==n?void 0:n.map((e=>O(O({},e),{},{scale:O({},e.scale)})));return o[e].name=t,o})),null!=C&&C.find((t=>JSON.stringify(t)===JSON.stringify(null==j?void 0:j[e])))&&U&&!U.find((t=>t===e))&&V([...U,{index:e,prevScale:C[e]}])})(o,e.target.value)},required:!0,style:{height:32,width:"100%",borderColor:X?"#FF0000":void 0},className:a()(g().input),maxLength:40})),s.createElement("div",{className:a()(k().scaleRow,k().rowSeparator)},s.createElement("div",{className:k().scaleRowContent},s.createElement(r.oi,{type:"number",value:""+A,onChange:e=>{q(o,"fromValue",e.target.value)},required:!0,style:{height:32,width:54,borderColor:J||Y?"#FF0000":void 0},"data-test-id":`PSPDFKit-Scale-${o+1}-FromValue`,className:a()(g().input)}),s.createElement("div",{className:a()(k().nativeDropdown,w().nativeButton)},s.createElement("select",{style:{height:30},"aria-label":`${b(N.scaleUnitFrom)} ${o+1}`,className:a()("PSPDFKit-Input-Dropdown-Select"),"data-test-id":`PSPDFKit-Scale-${o+1}-UnitFrom`,value:f||"",onChange:e=>{q(o,"unitFrom",e.target.value)}},Object.keys(P.s).map((e=>s.createElement("option",{key:e,value:P.s[e]},P.s[e]))))),s.createElement(E.Z,{items:D.m_,value:null!==(i=D.m_.find((e=>e.value===f)))&&void 0!==i?i:null,accessibilityLabel:`${b(N.scaleUnitFrom)} ${o+1}`,discreteDropdown:!1,isActive:!1,caretDirection:"down","data-test-id":`PSPDFKit-Scale-${o+1}-UnitFrom`,className:a()(k().dropdownGroupComponent,h().dropdownGroupComponent),menuClassName:h().dropdownGroupMenu,ButtonComponent:H,ItemComponent:$,onSelect:(e,t)=>{q(o,"unitFrom",t.value)},frameWindow:t})),"=",s.createElement("div",{className:k().scaleRowContent},s.createElement(r.oi,{type:"number",value:""+R,onChange:e=>{q(o,"toValue",e.target.value)},required:!0,style:{height:32,width:54,borderColor:Q||Y?"#FF0000":void 0},"data-test-id":`PSPDFKit-Scale-${o+1}-ToValue`,className:a()(g().input)}),s.createElement("div",{className:a()(k().nativeDropdown,w().nativeButton)},s.createElement("select",{style:{height:30},"aria-label":`${b(N.scaleUnitFrom)} ${o+1}`,"data-test-id":`PSPDFKit-Scale-${o+1}-UnitTo`,className:a()("PSPDFKit-Input-Dropdown-Select"),value:m||"",onChange:e=>{q(o,"unitTo",e.target.value)}},Object.keys(x.K).map((e=>s.createElement("option",{key:e,value:x.K[e]},x.K[e]))))),s.createElement(E.Z,{items:D.b5,value:null!==(l=D.b5.find((e=>e.value===m)))&&void 0!==l?l:null,accessibilityLabel:`${b(N.scaleUnitFrom)} ${o+1}`,discreteDropdown:!1,isActive:!1,caretDirection:"down","data-test-id":`PSPDFKit-Scale-${o+1}-UnitTo`,className:a()(k().dropdownGroupComponent,h().dropdownGroupComponent),menuClassName:h().dropdownGroupMenu,ButtonComponent:H,ItemComponent:$,onSelect:(e,t)=>{q(o,"unitTo",t.value)},frameWindow:t}))),s.createElement("div",{className:a()(k().scaleRow,k().spaceBetweenRow,k().rowSeparator)},s.createElement("p",{className:h().itemLabel},b(y.sY.measurementPrecision)),s.createElement(u.Z,{frameWindow:t,unit:m,onPrecisionChange:e=>q(o,"precision",e),selectedPrecision:p,wrapperClass:a()({[k().error]:ee}),accessibilityLabel:`${y.sY.measurementScale} ${b(y.sY.measurementPrecision)} ${o+1}`,index:o}))),s.createElement("div",null,s.createElement(r.zx,{"data-test-id":`PSPDFKit-Scale-${o+1}-RemoveScale`,className:a()(k().closeButton,"PSPDFKit-Measurement-Exit-Dialog-Close-Button"),onClick:()=>{(e=>{if(z((t=>{const n=null==t?void 0:t.map((e=>O(O({},e),{},{scale:O({},e.scale)})));return n.splice(e,1),n})),U){const t=U.filter((t=>t.index!==e)).map((e=>O(O({},e),{},{index:e.index-1})));V(t)}if(G){const t=G.filter((t=>t!==e)).map((e=>e-1));W(t)}Z((e=>e?e-1:0))})(o)},"aria-label":b(S.Z.close),disabled:1===j.length,style:{position:"relative",top:"7px"}},s.createElement(v.Z,{className:k().signatureValidationCloseIcon,src:n(15708)})))),(Y||X)&&s.createElement("p",{className:a()(k().scaleError)},b(N.duplicateScaleError)))})),s.createElement("div",{className:k().addNewScale,onClick:()=>{z((e=>{const t=null==e?void 0:e.map((e=>O(O({},e),{},{scale:O({},e.scale)})));return t.push({name:"",scale:{unitFrom:"cm",unitTo:"cm",fromValue:1,toValue:1},precision:d.L.WHOLE}),t})),W([...G,null==j?void 0:j.length])}},s.createElement(v.Z,{className:k().signatureValidationCloseIcon,src:n(88232)}),s.createElement("u",{style:{color:"var(--color-blue600)"}},b(N.newScale))))}},9599:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>j,sJ:()=>L});var o=n(22122),r=n(94184),i=n.n(r),a=n(18390),s=n(85628),l=n.n(s),c=n(67294),u=n(76154),d=n(67366),p=n(70190),f=n.n(p),h=n(30570),m=n(90012),g=n(71603),v=n(20792),y=n(69939),b=n(44763),w=n(40853),S=n(93628),E=n.n(S),P=n(22458),x=n.n(P),D=n(10754),C=n.n(D),k=n(5462),A=n(63738),O=n(13540),T=n(9437),I=n.n(T),F=n(20683),M=n(80324),_=n.n(M),R=n(35129);function N(e,t){const n=Math.round(e*t);return new(l())(n/t).toFraction(!0)}function L(e){if(!e)return{label:"",value:null};let t,n;const o=function(e){switch(e){case"whole":return"1";case"oneDp":return"0.1";case"twoDp":return"0.001";case"threeDp":case"fourDp":return"0.0001";default:return null}}(e.precision)||e.precision;if(["1","0.1","0.01","0.001","0.0001"].includes(o)){const r=function(e){switch(e){case"1":default:return 0;case"0.1":return 1;case"0.01":return 2;case"0.001":return 3;case"0.0001":return 4}}(o);t=Number(e.scale.fromValue).toFixed(r),n=Number(e.scale.toValue).toFixed(r)}else if(["1/2","1/4","1/8","1/16"].includes(o)){const r=Number(o.split("/")[1]);t=N(e.scale.fromValue,r),n=N(e.scale.toValue,r)}return{label:e.name||`${t} ${e.scale.unitFrom} : ${n} ${e.scale.unitTo}`,value:e}}const B=(0,u.vU)({unit:{id:"unit",defaultMessage:"Unit",description:"Unit"},scalesDropdown:{id:"scalesDropdown",defaultMessage:"Scales dropdown",description:"Scales dropdown"},editAddScale:{id:"editAddScale",defaultMessage:"Edit or add new scale",description:"Edit or add new scale"},useCalibrationTool:{id:"useCalibrationTool",defaultMessage:"Use calibration tool",description:"Use calibration tool"}}),j=function(e){var t;let{frameWindow:o,selectedAnnotation:r,onAnnotationScaleUpdate:a,selectedAnnotations:s}=e;const l=(0,d.v9)((e=>e.measurementScales)),p=(0,d.v9)((e=>e.activeMeasurementScale)),f=(0,d.I0)(),{formatMessage:S}=(0,u.YB)(),P=c.useMemo((()=>function(e,t){if(t&&e)return null==e?void 0:e.find((e=>{var n,o,r,i;const a=e.precision===t.measurementPrecision,s=e.scale.fromValue===(null===(n=t.measurementScale)||void 0===n?void 0:n.fromValue),l=e.scale.toValue===(null===(o=t.measurementScale)||void 0===o?void 0:o.toValue),c=e.scale.unitFrom===(null===(r=t.measurementScale)||void 0===r?void 0:r.unitFrom),u=e.scale.unitTo===(null===(i=t.measurementScale)||void 0===i?void 0:i.unitTo);return a&&s&&l&&c&&u}))}(l,r)||p),[l,r,p]),D=c.useCallback((0,w.zx)(S,"measurement",200),[S]),T=c.useMemo((()=>!!s&&(0,h.mq)(s)),[s]),M=c.useMemo((()=>function(e,t,n){const o=e.map((e=>L(e)));return t?[...o,{label:n,value:n}]:o}(l,T,S(R.Z.mixed))),[T,S,l]),N=c.useCallback((e=>{if(e.value!==S(R.Z.mixed))if(r){const{value:t}=e,{precision:n,scale:o}=t,{fromValue:r,toValue:i,unitFrom:s,unitTo:l}=o;null==a||a({measurementPrecision:n,measurementScale:new g.Z({fromValue:Number(r),toValue:Number(i),unitFrom:s,unitTo:l})})}else f((0,b.Se)(e.value))}),[f,S,a,r]);if(!l)return null;if(!P)return c.createElement("div",{className:I().warningButton,onClick:()=>f((0,A.PR)())},c.createElement(O.Z,{src:n(78339),role:"presentation",className:I().warningButtonIcon}),c.createElement("span",{className:I().radioButtonWarningLabel},S(m.s.setScale)));function j(){(0,d.dC)((()=>{f((0,b.Xh)(!0)),f((0,y.Ds)("distance")),f((0,A.yg)(F.Z,v.A.DISTANCE))}))}return c.createElement("div",{className:C().scaleDropdownContainer},c.createElement("div",{className:i()(x().nativeDropdown,C().nativeButton)},c.createElement("select",{"aria-label":S(B.scalesDropdown),value:T?S(R.Z.mixed):null===(t=M.find((e=>JSON.stringify(e.value)===JSON.stringify(P))))||void 0===t?void 0:t.label,className:i()("PSPDFKit-Input-Dropdown-Select","PSPDFKit-Scales-Dropdown"),onChange:e=>{const t=e.target.value;"editAddScale"===t?f((0,A.PR)()):"calibrationTool"===t?j():N(M.find((e=>e.label===t)))}},null==M?void 0:M.map((e=>c.createElement("option",{key:e.label,value:e.label},e.label))),c.createElement("option",{key:S(B.editAddScale),value:"editAddScale"},S(B.editAddScale),"..."),c.createElement("option",{key:S(B.useCalibrationTool),value:"calibrationTool"},S(B.useCalibrationTool),"..."))),c.createElement(k.Z,{items:M,value:T?{label:S(R.Z.mixed),value:S(R.Z.mixed)}:M.find((e=>JSON.stringify(e.value)===JSON.stringify(P))),accessibilityLabel:S(B.scalesDropdown),discreteDropdown:!1,isActive:!1,caretDirection:"down",className:i()(x().dropdownGroupComponent,"PSPDFKit-Measurement-Popover-Precision-Dropdown","PSPDFKit-Scales-Dropdown"),menuClassName:i()(x().dropdownGroupMenu,E().measurementDropdownText),ButtonComponent:D,ItemComponent:z,onSelect:(e,t)=>N(t),frameWindow:o},c.createElement("div",{className:_().scalesDropdownItem,onClick:()=>f((0,A.PR)())},S(B.editAddScale),"..."),c.createElement("div",{className:_().scalesDropdownItem,onClick:()=>{j()}},S(B.useCalibrationTool),"...")))},z=e=>{let{item:t,state:n,itemComponentProps:o,ref:r}=e;return c.createElement(K,{item:t,state:n,itemComponentProps:o,ref:r})},K=c.forwardRef(((e,t)=>{var n;let{item:r,state:s,itemComponentProps:l,width:u}=e;return c.createElement(a.Z,(0,o.Z)({is:"div",className:i()(E().item,_().item,{[E().isSelected]:(null==s?void 0:s.includes("selected"))||(null==s?void 0:s.includes("focused"))}),name:null!==(n=null==r?void 0:r.value)&&void 0!==n?n:null==r?void 0:r.label,style:{width:u},ref:t},l),null!=s&&s.includes("selected")?c.createElement(O.Z,{src:f(),className:_().icon}):c.createElement("span",{className:_().icon}),null==r?void 0:r.label)}))},35129:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,Z:()=>i});var o=n(76154),r=n(83634);const i=(0,o.vU)({color:{id:"color",defaultMessage:"Color",description:"Color"},fillColor:{id:"fillColor",defaultMessage:"Fill Color",description:"Background color"},newColor:{id:"newColor",defaultMessage:"New Color",description:"New Custom Color"},[r.Z.BLACK.toCSSValue()]:{id:"black",defaultMessage:"Black",description:"Black, the color"},[r.Z.WHITE.toCSSValue()]:{id:"white",defaultMessage:"White",description:"White, the color"},[r.Z.BLUE.toCSSValue()]:{id:"blue",defaultMessage:"Blue",description:"Blue, the color"},[r.Z.RED.toCSSValue()]:{id:"red",defaultMessage:"Red",description:"Red, the color"},[r.Z.GREEN.toCSSValue()]:{id:"green",defaultMessage:"Green",description:"Green, the color"},[r.Z.ORANGE.toCSSValue()]:{id:"orange",defaultMessage:"Orange",description:"Orange, the color"},[r.Z.LIGHT_BLUE.toCSSValue()]:{id:"lightBlue",defaultMessage:"Light Blue",description:"Light Blue color"},[r.Z.LIGHT_RED.toCSSValue()]:{id:"lightRed",defaultMessage:"Light Red",description:"Light Red color"},[r.Z.LIGHT_GREEN.toCSSValue()]:{id:"lightGreen",defaultMessage:"Light Green",description:"Light Green color"},[r.Z.LIGHT_YELLOW.toCSSValue()]:{id:"yellow",defaultMessage:"Yellow",description:"Yellow color"},opacity:{id:"opacity",defaultMessage:"Opacity",description:"Opacity"},thickness:{id:"thickness",defaultMessage:"Thickness",description:"Thickness of a line"},"linecaps-dasharray":{id:"linecaps-dasharray",defaultMessage:"Line Style",description:"Select line caps and dash pattern of lines"},linestyle:{id:"dasharray",defaultMessage:"Line style",description:"Select line style"},borderStyle:{id:"borderStyle",defaultMessage:"Border style",description:"Select border style"},borderColor:{id:"borderColor",defaultMessage:"Border color",description:"Select border color"},font:{id:"font",defaultMessage:"Font",description:"Font"},fontSize:{id:"fontSize",defaultMessage:"Font size",description:"Font size selection"},fonts:{id:"fonts",defaultMessage:"Fonts",description:"Fonts"},allFonts:{id:"allFonts",defaultMessage:"All Fonts",description:"Used when presenting a list of fonts"},fontFamilyUnsupported:{id:"fontFamilyUnsupported",defaultMessage:"{arg0} (not supported)",description:"Font family (type) is not supported"},alignment:{id:"alignment",defaultMessage:"Alignment",description:"Alignment (left, center, right, top, middle, bottom)"},alignmentRight:{id:"alignmentRight",defaultMessage:"Right",description:"Right alignment"},alignmentLeft:{id:"alignmentLeft",defaultMessage:"Left",description:"Left alignment"},alignmentCenter:{id:"alignmentCenter",defaultMessage:"center",description:"Center alignment"},verticalAlignment:{id:"verticalAlignment",defaultMessage:"Vertical Alignment",description:"Vertical Alignment (top, center, bottom)"},horizontalAlignment:{id:"horizontalAlignment",defaultMessage:"Horizontal Alignment",description:"Horizontal Alignment (left, center, right)"},size:{id:"size",defaultMessage:"Size",description:"Used to label sizes (eg. font)"},numberInPt:{id:"numberInPt",defaultMessage:"{arg0} pt",description:"A number in pt (points). eg. 10pt"},startLineCap:{id:"startLineCap",defaultMessage:"Line Start",description:'Start line cap marker. eg. "open arrow"'},strokeDashArray:{id:"strokeDashArray",defaultMessage:"Line Style",description:"Line Style"},endLineCap:{id:"endLineCap",defaultMessage:"Line End",description:'End line cap marker. eg. "open arrow"'},edit:{id:"edit",defaultMessage:"Edit",description:"Generic edit label"},save:{id:"save",defaultMessage:"Save",description:"Generic save label"},saveAs:{id:"saveAs",defaultMessage:"Save As...",description:'Generic "save as" label'},export:{id:"export",defaultMessage:"Export",description:'Generic "export" label'},delete:{id:"delete",defaultMessage:"Delete",description:"Generic delete label"},cancel:{id:"cancel",defaultMessage:"Cancel",description:"Cancel"},ok:{id:"ok",defaultMessage:"OK",description:"Ok, usually used to confirm an action"},close:{id:"close",defaultMessage:"Close",description:'Generic, usually to close something. "something" can be inferred from the context in which the message appears'},done:{id:"done",defaultMessage:"Done",description:'Generic "done" message. Usually used in a button.'},annotationsCount:{id:"annotationsCount",defaultMessage:"{arg0, plural,\n =0 {{arg0} Annotations}\n one {{arg0} Annotation}\n two {{arg0} Annotations}\n other {{arg0} Annotations}\n }",description:"Amount of annotations."},annotations:{id:"annotations",defaultMessage:"Annotations",description:"PDF Annotations"},bookmark:{id:"bookmark",defaultMessage:"Bookmark",description:"PDF Bookmark"},bookmarks:{id:"bookmarks",defaultMessage:"Bookmarks",description:"PDF Bookmarks"},annotation:{id:"annotation",defaultMessage:"Annotation",description:"Annotation"},selectedAnnotation:{id:"selectedAnnotation",defaultMessage:"selected {arg0}",description:"Selected Annotation"},selectedAnnotationWithText:{id:"selectedAnnotationWithText",defaultMessage:"Selected {arg0} with {arg1} as content",description:"Selected Text or Note Annotation"},noteAnnotation:{id:"noteAnnotation",defaultMessage:"Note",description:"Text Note Annotation"},comment:{id:"comment",defaultMessage:"Comment",description:"Comment"},commentAction:{id:"commentAction",defaultMessage:"Comment",description:"Comment"},comments:{id:"comments",defaultMessage:"Comments",description:"Comments"},textAnnotation:{id:"textAnnotation",defaultMessage:"Text",description:"Free Text Annotation"},calloutAnnotation:{id:"calloutAnnotation",defaultMessage:"Callout",description:"Free Text Annotation (Callout)"},pen:{id:"pen",defaultMessage:"Drawing",description:"Ink Annotation used to do freehand drawing."},eraser:{id:"eraser",defaultMessage:"Ink Eraser",description:"Ink Eraser tool to remove ink annotations points by hand."},inkAnnotation:{id:"inkAnnotation",defaultMessage:"Drawing",description:"Ink Annotation used to do freehand drawing."},highlighterAnnotation:{id:"highlighterAnnotation",defaultMessage:"Freeform Highlight",description:"Ink Annotation used to highlight content."},highlightAnnotation:{id:"highlightAnnotation",defaultMessage:"Text Highlight",description:"Highlight Annotation used to select and mark text."},underlineAnnotation:{id:"underlineAnnotation",defaultMessage:"Underline",description:"Undeline Annotation used to select and mark text."},squiggleAnnotation:{id:"squiggleAnnotation",defaultMessage:"Squiggle",description:"Squiggle Annotation used to select and mark text."},strikeOutAnnotation:{id:"strikeOutAnnotation",defaultMessage:"Strikethrough",description:"StrikeOut Annotation used to select and mark text."},lineAnnotation:{id:"lineAnnotation",defaultMessage:"Line",description:"Shape Annotation used to draw straight lines."},arrowAnnotation:{id:"arrowAnnotation",defaultMessage:"Arrow",description:"Shape Annotation used to draw an arrow."},rectangleAnnotation:{id:"rectangleAnnotation",defaultMessage:"Rectangle",description:"Shape Annotation used to draw rectangles."},ellipseAnnotation:{id:"ellipseAnnotation",defaultMessage:"Ellipse",description:"Shape Annotation used to draw ellipses."},polygonAnnotation:{id:"polygonAnnotation",defaultMessage:"Polygon",description:"Shape Annotation used to draw polygons."},polylineAnnotation:{id:"polylineAnnotation",defaultMessage:"Polyline",description:"Shape Annotation used to draw polylines."},imageAnnotation:{id:"imageAnnotation",defaultMessage:"Image",description:"Image Annotation"},stampAnnotation:{id:"stampAnnotation",defaultMessage:"Stamp",description:"Stamp Annotation"},redactionAnnotation:{id:"redactionAnnotation",defaultMessage:"Redaction",description:"Redaction Annotation"},arrow:{id:"arrow",defaultMessage:"Line with arrow",description:"Shape Annotation used to draw straight lines with an arrow."},highlighter:{id:"highlighter",defaultMessage:"Freeform Highlight",description:"Ink Annotation used to highlight content with freehand drawing."},icon:{id:"icon",defaultMessage:"Icon",description:"Label for when users need to select an icon"},pageXofY:{id:"pageXofY",defaultMessage:"Page {arg0} of {arg1}",description:"Page indicator."},pageX:{id:"pageX",defaultMessage:"Page {arg0}",description:"Page number"},searchDocument:{id:"searchDocument",defaultMessage:"Search Document",description:"Search document (for text)"},sign:{id:"sign",defaultMessage:"Sign",description:"Label for a signature field"},signed:{id:"signed",defaultMessage:"Signed",description:"Label for a signed field"},signatures:{id:"signatures",defaultMessage:"Signatures",description:"Signatures title"},blendMode:{id:"blendMode",defaultMessage:"Blend Mode",description:"Blend Mode"},linesCount:{id:"linesCount",defaultMessage:"{arg0, plural,\n =0 {{arg0} Lines}\n one {{arg0} Line}\n two {{arg0} Lines}\n other {{arg0} Lines}\n }",description:"Amount of lines (for example in a ink annotation)."},filePath:{id:"filePath",defaultMessage:"File Path",description:"Location of a file or file name"},useAnExistingStampDesign:{id:"useAnExistingStampDesign",defaultMessage:"Use an existing stamp design",description:"Use an existing stamp design"},customStamp:{id:"customStamp",defaultMessage:"Custom Stamp",description:"Custom Stamp"},stampText:{id:"stampText",defaultMessage:"Stamp Text",description:"Stamp Text"},clear:{id:"clear",defaultMessage:"Clear",description:"Clear"},date:{id:"date",defaultMessage:"Date",description:"Date."},time:{id:"time",defaultMessage:"Time",description:"Time."},sidebar:{id:"sidebar",defaultMessage:"Sidebar",description:"Generic label for a sidebar"},gotoPageX:{id:"gotoPageX",defaultMessage:"Go to Page {arg0}",description:"Go to a page"},name:{id:"name",defaultMessage:"Name",description:"Name field usually."},chooseColor:{id:"chooseColor",defaultMessage:"Choose Color",description:"Choose color from the UI."},textHighlighter:{id:"textHighlighter",defaultMessage:"Text highlighter",description:"Highlighter tool used to highlight selected text."},undo:{id:"undo",defaultMessage:"Undo",description:"Undo last action."},redo:{id:"redo",defaultMessage:"Redo",description:"Redo last undone action."},showMore:{id:"showMore",defaultMessage:"Show More",description:"Show more"},showLess:{id:"showLess",defaultMessage:"Show Less",description:"Show Less"},nMoreComments:{id:"nMoreComments",defaultMessage:"{arg0, plural,\none {{arg0} more comment}\nother {{arg0} more comments}\n}",description:"n more comments"},documentEditor:{id:"documentEditor",defaultMessage:"Document Editor",description:"Document Editor toolbar label"},areaRedaction:{id:"areaRedaction",defaultMessage:"Area Redaction",description:"Area Redaction toolbar item label"},textRedaction:{id:"textRedaction",defaultMessage:"Text Redaction",description:"Text Redaction toolbar item label"},outlineColor:{id:"outlineColor",defaultMessage:"Outline Color",description:"Outline color"},overlayText:{id:"overlayText",defaultMessage:"Overlay text",description:"Overlay text"},insertOverlayText:{id:"overlayTextPlaceholder",defaultMessage:"Insert overlay text",description:"Overlay Text property placeholder"},repeatText:{id:"repeatText",defaultMessage:"Repeat text",description:"Repeat text placeholder"},preview:{id:"preview",defaultMessage:"Preview",description:"Preview"},markupToolbar:{id:"markupAnnotationToolbar",defaultMessage:"Markup annotation toolbar",description:"Label for the markup annotation toolbar popover"},documentViewport:{id:"documentViewport",defaultMessage:"document viewport",description:"Label for document viewport region"},top:{id:"top",defaultMessage:"Top",description:"Top"},bottom:{id:"bottom",defaultMessage:"Bottom",description:"Bottom"},resize:{id:"resize",defaultMessage:"Resize",description:"Resize action when an annotation is selected."},resizeHandleTop:{id:"resizeHandleTop",defaultMessage:"top",description:"One of the top resize handlers."},resizeHandleBottom:{id:"resizeHandleBottom",defaultMessage:"bottom",description:"One of the bottom resize handlers."},resizeHandleLeft:{id:"resizeHandleLeft",defaultMessage:"left",description:"One of the left resize handlers."},resizeHandleRight:{id:"resizeHandleRight",defaultMessage:"right",description:"One of the right resize handlers."},cropAll:{id:"cropAll",defaultMessage:"Crop All",description:"Crop all pages."},cropAllPages:{id:"cropAllPages",defaultMessage:"Crop All Pages",description:"Crop all pages."},cropCurrent:{id:"cropCurrent",defaultMessage:"Crop Current",description:"Crop current page."},cropCurrentPage:{id:"cropCurrentPage",defaultMessage:"Crop Current Page",description:"Crop current page."},documentCrop:{id:"documentCrop",defaultMessage:"Document Crop",description:"Crop document pages."},documentComparison:{id:"documentComparison",defaultMessage:"Document Comparison",description:"Compare two documents."},rotateCounterclockwise:{id:"rotateCounterclockwise",defaultMessage:"Rotate counterclockwise",description:"Label for the rotate counterclockwise button"},rotateClockwise:{id:"rotateClockwise",defaultMessage:"Rotate clockwise",description:"Label for the rotate clockwise button"},rotation:{id:"rotation",defaultMessage:"Rotate",description:"Label for the rotate button"},applyRedactions:{id:"applyRedactions",defaultMessage:"Apply Redactions",description:"Applies redactions to document"},cloudyRectangleAnnotation:{id:"cloudyRectangleAnnotation",defaultMessage:"Cloudy Rectangle",description:"Cloudy Rectangle"},dashedRectangleAnnotation:{id:"dashedRectangleAnnotation",defaultMessage:"Dashed Rectangle",description:"Dashed Rectangle"},cloudyEllipseAnnotation:{id:"cloudyEllipseAnnotation",defaultMessage:"Cloudy Ellipse",description:"Cloudy Ellipse"},dashedEllipseAnnotation:{id:"dashedEllipseAnnotation",defaultMessage:"Dashed Ellipse",description:"Dashed Ellipse"},cloudyPolygonAnnotation:{id:"cloudyPolygonAnnotation",defaultMessage:"Cloudy Polygon",description:"Cloudy Polygon"},dashedPolygonAnnotation:{id:"dashedPolygonAnnotation",defaultMessage:"Dashed Polygon",description:"Dashed Polygon"},cloudAnnotation:{id:"cloudAnnotation",defaultMessage:"Cloud",description:"Cloud Annotation"},addSignature:{id:"addSignature",defaultMessage:"Add Signature",description:"Add Signature"},storeSignature:{id:"storeSignature",defaultMessage:"Store Signature",description:"Store the signature that is in creation"},clearSignature:{id:"clearSignature",defaultMessage:"Clear Signature",description:"Clear the signature canvas"},button:{id:"button",defaultMessage:"Button Field",description:"Button Field"},textField:{id:"textField",defaultMessage:"Text Field",description:"Text Field"},radioField:{id:"radioField",defaultMessage:"Radio Field",description:"Radio Field"},checkboxField:{id:"checkboxField",defaultMessage:"Checkbox Field",description:"Checkbox Field"},comboBoxField:{id:"comboBoxField",defaultMessage:"Combo Box Field",description:"Combo Box Field"},listBoxField:{id:"listBoxField",defaultMessage:"List Box Field",description:"List Box Field"},signatureField:{id:"signatureField",defaultMessage:"Signature Field",description:"Signature Field"},dateField:{id:"dateField",defaultMessage:"Date Field",description:"Date Field"},formCreator:{id:"formCreator",defaultMessage:"Form Creator",description:"Create, edit or Delete widget annotations."},mediaAnnotation:{id:"mediaAnnotation",defaultMessage:"Media Annotation",description:"Media Annotation"},mediaFormatNotSupported:{id:"mediaFormatNotSupported",defaultMessage:"This browser does not support embedded medias.",description:"The browser does not support embedded medias"},contentEditor:{id:"contentEditor",defaultMessage:"Content Editor",description:"Content Editor"},saveAndClose:{id:"saveAndClose",defaultMessage:"Save & Close",description:"Save changes"},none:{id:"none",defaultMessage:"None",description:"Normal line"},linkAnnotation:{id:"linkAnnotation",defaultMessage:"Link",description:"Link Annotation"},measurement:{id:"measurement",defaultMessage:"Measurement",description:"Measurement"},distanceMeasurement:{id:"distanceMeasurement",defaultMessage:"Distance",description:"Measurement Annotation used to measure distance between 2 points"},multiAnnotationsSelection:{id:"multiAnnotationsSelection",defaultMessage:"Select Multiple Annotations",description:"Multiple annotations selection tool used to enable selection of multiple annotations."},rectangularAreaMeasurement:{id:"rectangularAreaMeasurement",defaultMessage:"Rectangle Area",description:"Measurement Annotation used to measure rectangle areas."},ellipseAreaMeasurement:{id:"ellipseAreaMeasurement",defaultMessage:"Ellipse Area",description:"Measurement Annotation used to measure elliptical areas."},polygonAreaMeasurement:{id:"polygonAreaMeasurement",defaultMessage:"Polygon Area",description:"Measurement Annotation used to measure polygon areas."},perimeterMeasurement:{id:"perimeterMeasurement",defaultMessage:"Perimeter",description:"Measure Annotation used to measure perimeter."},bold:{id:"bold",defaultMessage:"Bold",description:"Bold text"},italic:{id:"italic",defaultMessage:"Italic",description:"Italic text"},underline:{id:"underline",defaultMessage:"Underline",description:"Underline"},discard:{id:"discardChanges",defaultMessage:"Discard Changes",description:"Discard"},anonymous:{id:"anonymous",defaultMessage:"Anonymous",description:"Anonymous"},loading:{id:"loading",defaultMessage:"Loading...",description:"Shown while the document is being fetched"},group:{id:"group",defaultMessage:"Group",description:"Group annotations."},ungroup:{id:"ungroup",defaultMessage:"Ungroup",description:"Ungroup annotations."},mixedMeasurements:{id:"mixedMeasurements",defaultMessage:"Mixed Measurements",description:"Mixed Measurements"},mixed:{id:"mixed",defaultMessage:"Mixed",description:"Mixed"},back:{id:"back",defaultMessage:"Back",description:"back"}}),a=(0,o.vU)({numberValidationBadFormat:{id:"numberValidationBadFormat",defaultMessage:"The value entered does not match the format of the field [{arg0}]",description:"The number form field value format is wrong."},dateValidationBadFormat:{id:"dateValidationBadFormat",defaultMessage:"Invalid date/time: please ensure that the date/time exists. Field [{arg0}] should match format {arg1}",description:"The date form field value format is wrong."}})},35860:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f,z:()=>p});var o=n(25915),r=n(76154),i=n(67294),a=n(94184),s=n.n(a),l=n(35129),c=n(28890),u=n(73535),d=n.n(u);class p extends i.PureComponent{render(){const{formatMessage:e}=this.props.intl;return i.createElement(c.Z,{role:"alertdialog",onEscape:this.props.onCancel,background:"rgba(0,0,0,.1)",className:"PSPDFKit-Confirm-Dialog",accessibilityLabel:this.props.accessibilityLabel||"Confirm Dialog",accessibilityDescription:this.props.accessibilityDescription,restoreOnClose:this.props.restoreOnClose},i.createElement(c.Z.Section,{style:{paddingBottom:0}},i.createElement("div",{className:`${d().content} PSPDFKit-Confirm-Dialog-Content`},this.props.children)),i.createElement(c.Z.Section,null,i.createElement(o.hE,{className:"PSPDFKit-Confirm-Dialog-Buttons",align:"end"},i.createElement(o.zx,{autoFocus:!0,onClick:this.props.onCancel,className:s()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Cancel",d().button)},e(l.Z.cancel)),i.createElement(o.zx,{onClick:this.props.onConfirm,primary:!0,className:s()("PSPDFKit-Confirm-Dialog-Button","PSPDFKit-Confirm-Dialog-Button-Confirm",d().button)},e(l.Z.delete)))))}}const f=(0,r.XN)(p)},72800:(e,t,n)=>{"use strict";n.d(t,{Z:()=>S});var o=n(67294),r=n(73264),i=n(87515),a=n(82481);function s(e){const{backend:t,onInitialRenderFinished:n,pageIndex:r,pageSize:s,pageKey:l,renderPageCallback:c,zoomLevel:u,scaleFactor:d}=e,p=o.useRef(!1),f=o.useCallback((function(){p.current||(p.current=!0,n&&n())}),[n]),h=o.useMemo((function(){return new a.UL({width:Math.ceil(s.width*d),height:Math.ceil(s.height*d)})}),[s,d]),m=e.inContentEditorMode||!1;return o.createElement("div",{style:{transform:`scale(${u/d})`,transformOrigin:"0 0"},key:l},o.createElement(i.Z,{backend:t,pageIndex:r,scaledPageSize:h,originalPageSize:s,onRenderFinished:f,rect:h,renderPageCallback:c,pageKey:l,hasInitialRenderFinished:p.current,inContentEditorMode:m}))}var l=n(55961),c=n(22122),u=n(27515),d=n(88804);function p(e){let{backend:t,viewportState:n,page:r,tileSize:a,tileOverlapping:s,scale:l,renderPageCallback:p,tilesRenderedCallback:f,contentState:h,crispTiles:m,inContentEditorMode:g}=e;const{pageIndex:v,pageSize:y,pageKey:b}=r,[w,S]=function(e,t,n,r,i,a,s){const[l,c]=o.useState({}),p=o.useRef([]),f=o.useMemo((function(){return function(e,t,n,o,r,i,a){const{viewportRect:s}=e,l=(0,u.Ek)(e,r),c=s.grow(n).apply(l).scale(a).round(),p=t.scale(a).ceil(),f={};for(let e=0;e<=p.height;e+=n){let t=n;if(e+t>p.height&&(t=Math.floor(p.height-e)),e+t<=c.top||e>=c.bottom||t<=0)e-=o;else{for(let r=0;r<=p.width;r+=n){let s=n;if(r+n>p.width&&(s=Math.floor(p.width-r)),r+s<=c.left||r>=c.right||s<=0){r-=o;continue}const l=`${i}-sw${p.width}-sh${p.height}-x${r}-y${e}-w${s}-h${t}`;f[l]={key:l,scale:a,rect:new d.UL({width:s,height:t,left:r,top:e})},r-=o}e-=o}}return f}(e,t,n,r,i,a,s)}),[i,a,t,s,r,n,e]);o.useLayoutEffect((function(){c((e=>function(e,t,n){const o={};for(const n of t)o[n]=e[n];for(const e in n)o[e]=n[e];return o}(e,p.current,f)))}),[f]);return[o.useMemo((function(){return function(e){const t=[];for(const n in e){const o=e[n],{scale:r}=o;let i=t.find((function(e){return e[0]===r}));if(void 0===i){let e;for(i=[r,[]],e=0;e=t?(p.current=Object.keys(f),c(f)):p.current.push(e)}]}(n,y,a,s,v,b,l);return o.createElement(o.Fragment,null,w.map((e=>{let[a,s]=e;const l=y,u=l.scale(a).ceil();return o.createElement("div",{key:a},s.map((e=>o.createElement(i.Z,(0,c.Z)({key:e.key,rect:e.rect,pageIndex:v,originalPageSize:l,scaledPageSize:u,backend:t,renderPageCallback:p,onRenderFinished:()=>{S(e.key),f()},pageKey:r.pageKey,crisp:m,inContentEditorMode:g},h,{tileScale:n.zoomLevel/a})))))})))}const f=o.memo(p,(function(e,t){return e.page.pageKey===t.page.pageKey&&!(0,u.pA)(e.viewportState,t.viewportState)&&e.inContentEditorMode===t.inContentEditorMode}));var h=n(91859);const m=(0,l.x)((function(e){return{viewportState:e.viewportState,backend:e.backend,tileSize:h.I_,tileOverlapping:h.Dx,renderPageCallback:e.renderPageCallback}}))(f);var g=n(73815),v=n(36095);var y=n(58479),b=n(90523),w=n.n(b);const S=function(e){const{inViewport:t,shouldPrerender:n,rotation:i,backend:a,zoomLevel:l,renderPageCallback:c,page:u,onInitialOverviewRenderFinished:d,allowedTileScales:p,forceDetailView:f,renderPagePreview:h,isPageSizeReal:b,crispTiles:S=!1,inContentEditorMode:E,contentState:P}=e,[x,D]=o.useState(!h),C=o.useCallback((function(){D(!0),d&&d()}),[d]),k=function(e,t,n){var o;let r=(0,g.L)();const i=window.navigator,a=null==i||null===(o=i.connection)||void 0===o?void 0:o.saveData;"STANDALONE"===t.type&&v.Ni&&r>2&&(r=2),"SERVER"===t.type&&a&&(r=1);const s=e*r;return"all"===n?s:n.reduce(((e,t)=>eu.pageSize.floor()),[u.pageSize]),O=o.useMemo((function(){const t=Math.min((0,g.L)(),2);return Math.min(e.viewportRect.width*t/A.width,1)}),[A.width,e.viewportRect.width]),[T,I]=o.useState(!1),F=(0,y.R9)((()=>{T||h||I(!0)})),M=t&&b&&(!h||k>1||f||l>O)?o.createElement("div",{style:{opacity:x?1:0}},o.createElement(m,{contentState:P,page:u,scale:k,key:u.pageKey,crispTiles:S,tilesRenderedCallback:F,inContentEditorMode:E})):null;return o.createElement("div",null,(!x||!b||!T&&!h)&&o.createElement("div",{className:`${w().layer} ${w().deadCenter}`},o.createElement(r.Z,{scale:1.5,rotate:-i})),(t||x||n)&&h&&b&&o.createElement(s,{backend:a,pageIndex:u.pageIndex,pageSize:A,pageKey:u.pageKey,onInitialRenderFinished:C,zoomLevel:l,scaleFactor:O,renderPageCallback:c,inContentEditorMode:E}),M)}},87515:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(84121),r=n(67294),i=n(35369),a=n(94184),s=n.n(a),l=n(86366),c=n(97333),u=n(95651),d=n(36095),p=n(10333),f=n.n(p);class h extends r.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"imageFetcherRef",r.createRef()),(0,o.Z)(this,"_fetchImage",(()=>{const{backend:e,originalPageSize:t,scaledPageSize:n,pageIndex:o,rect:r,attachments:a,renderPageCallback:s,digitalSignatures:l}=this.props,d=(this.props.annotations||(0,i.aV)()).filter(u.bz),p=this.props.formFields||(0,i.aV)(),f=this.props.formFieldValues||(0,i.aV)(),h=l&&l.signatures||[],m=this.props.inContentEditorMode||!1;let g;if((d.size>0||f.size>0)&&(g={annotations:d,formFieldValues:f,formFields:p,attachments:a||(0,i.D5)(),signatures:h}),!n.width||!n.height)return{promise:Promise.resolve(null),cancel:()=>{}};const{cancel:v,promise:y}=e.renderTile(o,n,r,!1,!m,g);return(0,c.uZ)(y.then((e=>{let{element:i}=e;if("function"==typeof s){var a,l;let u;if("IMG"===i.nodeName){var c;const e=i,t=document.createElement("canvas");t.width=r.width,t.height=r.height,u=t.getContext("2d"),null===(c=u)||void 0===c||c.drawImage(e,0,0),i=t}u||(u=i.getContext("2d")),null===(a=u)||void 0===a||a.translate(-r.left,-r.top),null===(l=u)||void 0===l||l.scale(n.width/t.width,n.height/t.height),s(u,o,t);const d=document.createElement("img");d.src=i.toDataURL(),e.element=d}return e})),v)}))}componentDidUpdate(e){const{annotations:t,formFieldValues:n}=this.props,{annotations:o,formFieldValues:r}=e;(null!=this.props.hasInitialRenderFinished&&!this.props.hasInitialRenderFinished||!this.props.scaledPageSize.equals(e.scaledPageSize)||!this.props.rect.equals(e.rect)||t&&t!==o&&!t.equals(o)||n&&n!==r&&!n.equals(r)||this.props.pageKey!==e.pageKey||this.props.inContentEditorMode!==e.inContentEditorMode)&&this.imageFetcherRef.current&&this.imageFetcherRef.current.refresh()}render(){const{onRenderFinished:e,rect:t,tileScale:n=1,crisp:o=!1}=this.props,{width:i,height:a,left:c,top:u}=t,p={width:i*n,height:a*n,left:c*n,top:u*n,outline:null},h=s()({[f().tile]:!0,[f().tileChrome]:d.i7,[f().tileFirefox]:d.vU,[f().tileSafari]:d.G6,[f().crispTile]:o});return r.createElement(l.Z,{fetchImage:this._fetchImage,className:h,rectStyle:p,onRenderFinished:e,visible:!1,ref:this.imageFetcherRef})}}},51205:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c,j:()=>u});var o=n(67294),r=n(94184),i=n.n(r),a=n(48311),s=n(22181),l=n.n(s);function c(e){let{referenceRect:t,viewportState:n,isHidden:r,children:s,title:c,className:u,wrapperClassName:d,innerWrapperClassName:p,footerClassName:f,footer:h,centeredTitle:m}=e;return o.createElement(a.Z,{referenceRect:t,viewportState:n,className:i()(l().popover,u,{[l().popoverHidden]:r})},o.createElement("div",{className:i()(l().container,d)},o.createElement("div",{className:i()(l().innerContainer,p)},o.createElement("h2",{className:i()(l().title,{[l().centeredTitle]:m})},c),s&&o.createElement("div",{className:l().content},s),h&&o.createElement("div",{className:i()(l().footer,f)},h))," "))}function u(e){let{children:t,className:n,onClick:r}=e;return o.createElement("button",{className:i()(l().footerButton,n),onClick:r},t)}},48311:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var o=n(84121),r=n(67294),i=n(94184),a=n.n(i),s=n(13944),l=n(34855),c=n(88804),u=n(30360),d=n(32905),p=n.n(d);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;t{if(!p)return;const e=o.translate(i);if(!e.isRectInside(n)&&!e.isRectOverlapping(n))return;const t=function(e){let{viewportRect:t,referenceRect:n,contentRect:o,scroll:r,onPositionConflict:i}=e,a=n.left+n.width/2-o.width/2;const s=new c.E9({x:a,y:n.top-o.height}),l=new c.E9({x:a,y:n.bottom});let u=n.top+n.height/2-o.height/2;const d=new c.E9({x:n.left-o.width,y:u}),p=new c.E9({x:n.right,y:u});let{position:f,direction:h}=m(t,o,{top:s,right:p,bottom:l,left:d});f||(at.width+t.left&&(a=t.width+t.left-o.width),ut.height+t.top&&(u=t.height+t.top-o.height),({position:f,direction:h}=m(t,o,{top:s.set("x",a),right:p.set("y",u),bottom:l.set("x",a),left:d.set("y",u)}))),f||("function"==typeof i?({position:f,direction:h}=i({referenceRect:n,viewportRect:t,contentRect:o,scroll:r,attempts:{top:s,right:p,bottom:l,left:d}})):t.isRectOverlapping(n)&&(f=new c.E9({x:t.left+t.width/2-o.width/2,y:t.top+t.height/2-o.height/2}),h="center"));return{direction:h,position:f}}({viewportRect:e,referenceRect:n,contentRect:p,scroll:i,onPositionConflict:s});t.position&&d(t)}),[o,n,p,s,i]),r.useEffect((()=>{a&&a(u)}),[u,a]);const{direction:g}=u,v=u.position&&u.position.translate(o.getLocation().scale(-1)),y=h(h({position:"absolute"},v?{top:v.y,left:v.x}:{top:-1e5,left:-1e5}),{},{visibility:v?void 0:"hidden"}),b=e=>{(e.height||e.width||e.top||e.left)&&f(e)};return"function"==typeof t?t({style:y,direction:g,onResize:b}):r.createElement("div",{style:y},r.createElement(l.Z,{onResize:b}),t)}const v=function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()};function y(e){let{children:t,referenceRect:n,color:o,baseColor:i,className:d,arrowClassName:f,viewportState:m,onPositionInfoChange:y,arrowSize:b=5,customZIndex:w,isArrowHidden:S=!1}=e;const{viewportRect:E,zoomLevel:P,scrollPosition:x}=m;return r.createElement(g,{referenceRect:n.grow(b),viewportRect:E,scroll:x.scale(P),onPositionInfoChange:y},(e=>{let{style:m,direction:g,onResize:y}=e;const P=g&&(0,u.kC)(g),x=g&&"center"!==g?function(e){let t,n,{referenceRect:o,viewportRect:r,size:i,direction:a}=e;switch("top"===a||"bottom"===a?n=o.left+o.width/2-i:t=o.top+o.height/2-i,a){case"top":t=o.top-i;break;case"bottom":t=o.top+o.height;break;case"left":n=o.left-i;break;case"right":n=o.left+o.width;break;default:throw new Error("invalid direction")}return new c.E9({y:t,x:n}).translate(r.getLocation().scale(-1))}({referenceRect:n,viewportRect:E,size:b,direction:g}):null,D={};let C;if(o){switch(g){case"top":D.color=o[o.length-1].toCSSValue();break;case"bottom":D.color=o[0].toCSSValue();break;default:D.color=o[Math.floor((o.length-1)/2)].toCSSValue()}const e=o.map(((e,t)=>`${e.toCSSValue()} ${100*t/(o.length-1)}%`)).join(", ");i&&(m=h(h({},m),{},{backgroundColor:i.toCSSValue()}),C={color:i.toCSSValue()}),m=h(h({},m),{},{backgroundImage:`linear-gradient(to bottom, ${e})`,zIndex:w})}return r.createElement(s.Z,{onPointerUp:v},r.createElement("div",{className:d},x&&!S&&r.createElement("span",{style:h(h({},C),{},{zIndex:w})},r.createElement("div",{style:h({position:"absolute",top:x.y,left:x.x,width:b,height:b,zIndex:w},D),className:a()(p().arrow,f,P&&p()[`arrow${P}`],"PSPDFKit-Popover-Arrow",P&&"PSPDFKit-Popover-Arrow-"+P)})),r.createElement("div",{style:m,className:a()(p().root,"PSPDFKit-Popover",P&&"PSPDFKit-Popover-"+P)},t,r.createElement(l.Z,{onResize:y}))))}))}},54543:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var o=n(50974),r=n(49242);const i=e=>t=>e(function(e){const t=e.nativeEvent||e;let n=!1,i=0,a=0;const s=t.shiftKey;let l=t.pointerType||"mouse";const c=(void 0!==e.touches||void 0!==e.changedTouches)&&void 0===e.width;c?(l="touch",n=1==t.touches.length||"touchend"===e.type,n&&t.changedTouches.length&&(i=t.changedTouches[0].clientX,a=t.changedTouches[0].clientY)):(n=e.isPrimary||(0,r.I)(e),i=e.clientX,a=e.clientY);let u={clientX:i,clientY:a,isPrimary:n,pointerType:l,shiftKey:s,metaKey:t.metaKey,ctrlKey:t.ctrlKey,getCoalescedEvents:"function"==typeof t.getCoalescedEvents?()=>{const e=t.getCoalescedEvents.call(t);return e.length?e:[u]}:()=>[u],stopPropagation:()=>{e.stopPropagation(),t.stopImmediatePropagation()},preventDefault:()=>{e.preventDefault()},get target(){if(c&&void 0!==e.target.ownerDocument){const t=e.target.ownerDocument;return t&&t.elementFromPoint?t.elementFromPoint(i,a):e.target}return e.target},nativeEvent:t,get buttons(){return c?(0,o.ZK)("TouchEvent do not have the method buttons"):e.buttons}};return u}(t))},13944:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var o=n(22122),r=n(84121),i=n(67294),a=n(50974),s=n(54543),l=n(71231),c=n(36095);const u=l.Gn?{passive:!1}:void 0,d=!l.Gn||{passive:!1,capture:!0},p=1e3;let f=0,h=0;function m(e){return e?function(){if(f=Date.now(),!(Date.now()-h{this.props.onDOMElement&&this.props.onDOMElement(e),e&&((0,a.kG)("string"==typeof e.nodeName,"PRC requires a basic HTML element as children (so that we can find the proper `ownerDocument`)."),this._refDocument=e.ownerDocument)}))}componentDidMount(){this._updateRootListeners(this.props)}componentDidUpdate(){this._updateRootListeners(this.props)}componentWillUnmount(){this._removeAllRootListeners()}_updateListener(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const o=this._refDocument;let r=null,i=null;const a=this._attachedListeners[e][n?1:0];if(a&&([r,i]=a),i!==t&&(r&&(o.removeEventListener(e,r,n?d:u),this._attachedListeners[e][n?1:0]=null),"function"==typeof t)){const r=(0,s.S)(t);o.addEventListener(e,r,n?d:u),this._attachedListeners[e][n?1:0]=[r,t]}}_removeAllRootListeners(){const e=this._refDocument;Object.entries(this._attachedListeners).forEach((t=>{let[n,o]=t;const[r,i]=o;r&&e.removeEventListener(n,r[0],u),i&&e.removeEventListener(n,i[0],d)}))}_updateRootListeners(e){Object.entries(e).forEach((e=>{let[t,n]=e;switch(t){case"onRootPointerDown":this._updateListener("touchstart",m(n)),this.disablePointerEvents||this._updateListener("pointerdown",v(n)),this._updateListener("mousedown",g(n));break;case"onRootPointerDownCapture":this._updateListener("touchstart",m(n),!0),this.disablePointerEvents||this._updateListener("pointerdown",v(n),!0),this._updateListener("mousedown",g(n),!0);break;case"onRootPointerMove":this._updateListener("touchmove",m(n)),this.disablePointerEvents||this._updateListener("pointermove",v(n)),this._updateListener("mousemove",g(n));break;case"onRootPointerMoveCapture":this._updateListener("touchmove",m(n),!0),this.disablePointerEvents||this._updateListener("pointermove",v(n),!0),this._updateListener("mousemove",g(n),!0);break;case"onRootPointerUp":this._updateListener("touchend",m(n)),this.disablePointerEvents||this._updateListener("pointerup",v(n)),this._updateListener("mouseup",g(n));break;case"onRootPointerEnter":this.disablePointerEvents||this._updateListener("pointerenter",v(n)),this._updateListener("mouseenter",g(n));break;case"onRootPointerLeave":this.disablePointerEvents||this._updateListener("pointerleave",v(n)),this._updateListener("mouseleave",g(n));break;case"onRootPointerUpCapture":this._updateListener("touchend",m(n),!0),this.disablePointerEvents||this._updateListener("pointerup",v(n),!0),this._updateListener("mouseup",g(n),!0);break;case"onRootPointerEnterCapture":this.disablePointerEvents||this._updateListener("pointerenter",v(n),!0),this._updateListener("mouseenter",g(n),!0);break;case"onRootPointerLeaveCapture":this.disablePointerEvents||this._updateListener("pointerleave",v(n),!0),this._updateListener("mouseleave",g(n),!0);break;case"onRootPointerCancel":this.disablePointerEvents||this._updateListener("pointercancel",v(n)),this._updateListener("touchcancel",m(n));break;case"onRootPointerCancelCapture":this.disablePointerEvents||this._updateListener("pointercancel",v(n),!0),this._updateListener("touchcancel",m(n),!0)}}))}render(){const e={};let t=!1;if(this.disablePointerEvents="INK"!==this.props.interactionMode&&(0,c.yx)(),Object.entries(this.props).forEach((n=>{let[o,r]=n;if("function"==typeof r)switch(o){case"onPointerDown":e.onTouchStart=m((0,s.S)(r)),this.disablePointerEvents||(e.onPointerDown=v((0,s.S)(r))),e.onMouseDown=g((0,s.S)(r)),t=!0;break;case"onPointerDownCapture":e.onTouchStartCapture=m((0,s.S)(r)),this.disablePointerEvents||(e.onPointerDownCapture=v((0,s.S)(r))),e.onMouseDownCapture=g((0,s.S)(r)),t=!0;break;case"onPointerMove":e.onTouchMove=m((0,s.S)(r)),this.disablePointerEvents||(e.onPointerMove=v((0,s.S)(r))),e.onMouseMove=g((0,s.S)(r)),t=!0;break;case"onPointerMoveCapture":e.onTouchMoveCapture=m((0,s.S)(r)),this.disablePointerEvents||(e.onPointerMoveCapture=v((0,s.S)(r))),e.onMouseMoveCapture=g((0,s.S)(r)),t=!0;break;case"onPointerUp":e.onTouchEnd=m((0,s.S)(r)),this.disablePointerEvents||(e.onPointerUp=v((0,s.S)(r))),e.onMouseUp=g((0,s.S)(r)),t=!0;break;case"onPointerUpCapture":e.onTouchEndCapture=m((0,s.S)(r)),this.disablePointerEvents||(e.onPointerUpCapture=v((0,s.S)(r))),e.onMouseUpCapture=g((0,s.S)(r)),t=!0;break;case"onPointerEnter":this.disablePointerEvents||(e.onPointerEnter=v((0,s.S)(r))),e.onMouseEnter=g((0,s.S)(r)),t=!0;break;case"onPointerEnterCapture":this.disablePointerEvents||(e.onPointerEnterCapture=v((0,s.S)(r))),e.onMouseEnterCapture=g((0,s.S)(r)),t=!0;break;case"onPointerLeave":this.disablePointerEvents||(e.onPointerLeave=v((0,s.S)(r))),e.onMouseLeave=g((0,s.S)(r)),t=!0;break;case"onPointerLeaveCapture":this.disablePointerEvents||(e.onPointerLeaveCapture=v((0,s.S)(r))),e.onMouseLeaveCapture=g((0,s.S)(r)),t=!0;break;case"onPointerCancel":this.disablePointerEvents||(e.onPointerCancel=v((0,s.S)(r))),e.onTouchCancel=m((0,s.S)(r)),t=!0;break;case"onPointerCancelCapture":this.disablePointerEvents||(e.onPointerCancelCapture=v((0,s.S)(r))),e.onTouchCancelCapture=m((0,s.S)(r)),t=!0;break;case"onRootPointerDown":case"onRootPointerDownCapture":e.onTouchStart=e.onTouchStart||y,this.disablePointerEvents||(e.onPointerDown=e.onPointerDown||y),e.onMouseDown=e.onMouseDown||y;break;case"onRootPointerMove":case"onRootPointerMoveCapture":e.onTouchMove=e.onTouchMove||y,this.disablePointerEvents||(e.onPointerMove=e.onPointerMove||y),e.onMouseMove=e.onMouseMove||y;break;case"onRootPointerUp":case"onRootPointerUpCapture":e.onTouchEnd=e.onTouchEnd||y,this.disablePointerEvents||(e.onPointerUp=e.onPointerUp||y),e.onMouseUp=e.onMouseUp||y;break;case"onRootPointerEnter":case"onRootPointerEnterCapture":this.disablePointerEvents||(e.onPointerEnter=e.onPointerEnter||y),e.onMouseEnter=e.onMouseEnter||y;break;case"onRootPointerLeave":case"onRootPointerLeaveCapture":this.disablePointerEvents||(e.onPointerLeave=e.onPointerLeave||y),e.onMouseLeave=e.onMouseLeave||y;break;case"onRootPointerCancel":case"onRootPointerCancelCapture":this.disablePointerEvents||(e.onPointerCancel=e.onPointerCancel||y),e.onTouchCancel=e.onTouchCancel||y}})),!t)return i.createElement("div",(0,o.Z)({ref:this._handleRef},e),this.props.children);const n=i.Children.only(this.props.children);return e.ref=this._handleRef,(0,a.kG)(!n.ref,"PRC requires the child element to not have a `ref` assigned. Consider inserting a new `
` in between."),i.cloneElement(n,e)}}},11010:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(22122),r=n(67294),i=n(94184),a=n.n(i),s=(n(44364),n(94505)),l=n(27435),c=n.n(l);const u=r.forwardRef((function(e,t){const{selected:n,disabled:i}=e,l=a()(c().root,n&&c().isActive,i&&c().isDisabled,"string"==typeof e.className&&e.className,"PSPDFKit-Toolbar-Button",n&&"PSPDFKit-Toolbar-Button-active",i&&"PSPDFKit-Toolbar-Button-disabled");return r.createElement(s.Z,(0,o.Z)({},e,{className:l,iconClassName:"PSPDFKit-Toolbar-Button-Icon",ref:t,itemComponentProps:e.itemComponentProps}))}))},98013:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>Ie,k3:()=>Ce});var o=n(84121),r=n(67294),i=n(35369),a=n(94184),s=n.n(a),l=n(30845),c=n(76154),u=n(50974),d=n(25915),p=n(30667),f=n(67366),h=n(7844),m=n(22122),g=n(67665),v=n(41756),y=n(26353),b=n(84013),w=n(47710),S=n(63738),E=n(58924),P=n(93628),x=n.n(P),D=n(60964),C=n.n(D),k=n(11010),A=n(23477),O=n.n(A),T=n(77973),I=n(3219),F=n(34573),M=n(11521),_=n.n(M),R=n(13448);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function L(e){for(var t=1;tnull===e?"":`${e.type} ${e.mode}`,stateReducer:z,environment:e.frameWindow},(c=>{let{getToggleButtonProps:u,getMenuProps:d,getItemProps:p,isOpen:f,highlightedIndex:h,setHighlightedIndex:v}=c,S=!1;const P=d({onMouseDown:()=>{S=!0},onTouchStart:()=>{S=!0}},{suppressRefError:!0}),D=u(),A="down"===e.caretDirection;return r.createElement("div",{className:s()(f&&"PSPDFKit-Input-Dropdown-open")},r.createElement("div",(0,m.Z)({ref:l},L(L({},D),e.disabled?{onClick:null}:null),{onBlur:function(e){if(S&&(S=!1,e.nativeEvent.preventDownshiftDefault=!0,l.current)){const e=l.current.querySelector("button");e&&e.focus()}D.onBlur(e)}}),r.createElement(k.Z,{type:"layout-config",selected:f,title:a(Z.pageLayout),icon:e.icon,className:s()(O().toolbarButton,"PSPDFKit-Toolbar-Button-Layout-Config",e.className),onPress:e=>{e.target.focus&&e.target.focus(),f||t((0,F.fz)())},disabled:i})),r.createElement(g.m,null,r.createElement(b.Z,null,f&&r.createElement(y.Z,{timeout:{enter:window["PSPDFKit-disable-animations"]?0:240,exit:window["PSPDFKit-disable-animations"]?0:80},classNames:{enter:s()(_().scaleInEnter,{[_().scaleInEnterTop]:A,[_().scaleInEnterBottom]:!A}),enterActive:_().scaleInEnterActive,exit:s()(_().scaleInExit,{[_().scaleInExitTop]:A,[_().scaleInExitBottom]:!A}),exitActive:s()(_().scaleInExitActive,{[_().scaleInExitActiveTop]:A,[_().scaleInExitActiveBottom]:!A})}},r.createElement(E.Z,{referenceElement:l.current,horizontalAlignment:"center"},r.createElement("div",(0,m.Z)({},P,{className:s()(x().root,C().dropdownMenu,"PSPDFKit-Dropdown-Layout-Config",{[C().dropdownMenuUp]:!A}),style:{padding:0},onMouseLeave:()=>v(null)}),r.createElement("table",{className:s()(C().table,"PSPDFKit-Layout-Config")},r.createElement("tbody",null,r.createElement("tr",null,r.createElement("td",{className:"PSPDFKit-Layout-Config-Label"},a(Z.pageMode)),r.createElement("td",{style:{textAlign:"right"},className:"PSPDFKit-Layout-Config-Options"},r.createElement(B,{itemProps:p({item:j[0]}),isActive:n===T.X.SINGLE,isHighlighted:0===h,type:T.X.SINGLE,className:"PSPDFKit-Layout-Config-Option-Layout-Mode-Single",title:a(Z.pageModeSingle)}),r.createElement(B,{itemProps:p({item:j[1]}),isActive:n===T.X.DOUBLE,isHighlighted:1===h,type:T.X.DOUBLE,className:"PSPDFKit-Layout-Config-Option-Layout-Mode-Double",title:a(Z.pageModeDouble)}),r.createElement(B,{itemProps:p({item:j[2]}),isActive:n===T.X.AUTO,isHighlighted:2===h,type:T.X.AUTO,className:"PSPDFKit-Layout-Config-Option-Layout-Mode-Auto",title:a(Z.pageModeAutomatic)}))),r.createElement("tr",null,r.createElement("td",{className:"PSPDFKit-Layout-Config-Label"},a(Z.pageTransition)),r.createElement("td",{style:{textAlign:"right"},className:"PSPDFKit-Layout-Config-Options"},r.createElement(B,{itemProps:p({item:j[3]}),isActive:o===w.G.CONTINUOUS,isHighlighted:3===h,type:w.G.CONTINUOUS,className:"PSPDFKit-Layout-Config-Option-Scroll-Mode-Continuous",title:a(Z.pageTransitionContinuous)}),r.createElement(B,{itemProps:p({item:j[4]}),isActive:o===w.G.PER_SPREAD,isHighlighted:4===h,type:"single",className:"PSPDFKit-Layout-Config-Option-Scroll-Mode-Per-Spread",title:a(Z.pageTransitionJump)}))),r.createElement("tr",null,r.createElement("td",{className:"PSPDFKit-Layout-Config-Label"},a(Z.pageRotation)),r.createElement("td",{style:{textAlign:"right"},className:"PSPDFKit-Layout-Config-Options"},r.createElement(B,{itemProps:p({item:j[5]}),type:"view_rotate_left",title:a(Z.pageRotationLeft),className:"PSPDFKit-Layout-Config-Option-Page-Rotation-Left",isHighlighted:5===h,isActive:!1}),r.createElement(B,{itemProps:p({item:j[6]}),type:"view_rotate_right",title:a(Z.pageRotationRight),className:"PSPDFKit-Layout-Config-Option-Page-Rotation-Right",isHighlighted:6===h,isActive:!1})))))))))),!f&&r.createElement("div",P),r.createElement(g.m,null,r.createElement(b.Z,null,f&&r.createElement(y.Z,{timeout:{enter:window["PSPDFKit-disable-animations"]?0:240,exit:window["PSPDFKit-disable-animations"]?0:80},classNames:{enter:s()(_().scaleInEnter,{[_().scaleInEnterTop]:A,[_().scaleInEnterBottom]:!A}),enterActive:_().scaleInEnterActive,exit:s()(_().scaleInExit,{[_().scaleInExitTop]:A,[_().scaleInExitBottom]:!A}),exitActive:s()(_().scaleInExitActive,{[_().scaleInExitActiveTop]:A,[_().scaleInExitActiveBottom]:!A})}},r.createElement(E.Z,{referenceElement:l.current,horizontalAlignment:"center"},r.createElement(r.Fragment,null,r.createElement("div",{className:s()(C().arrow,{[C().arrowUp]:!A})},r.createElement("div",{className:s()({[C().arrowFill]:A,[C().arrowFillUp]:!A})}))))))))}))}));const Z=(0,c.vU)({pageLayout:{id:"pageLayout",defaultMessage:"Page Layout",description:'Button to open the "change page layout" menu'},pageMode:{id:"pageMode",defaultMessage:"Page Mode",description:"Label for the page mode configuration"},pageModeSingle:{id:"pageModeSingle",defaultMessage:"Single",description:"Single page mode"},pageModeDouble:{id:"pageModeDouble",defaultMessage:"Double",description:"Double page mode"},pageModeAutomatic:{id:"pageModeAutomatic",defaultMessage:"Automatic",description:"Automatic page mode"},pageTransition:{id:"pageTransition",defaultMessage:"Page Transition",description:"Label for the page transition mode"},pageTransitionContinuous:{id:"pageTransitionContinuous",defaultMessage:"Continuous",description:"Continuous page transition mode"},pageTransitionJump:{id:"pageTransitionJump",defaultMessage:"Jump",description:"Jump-ing page transition mode (one page at the time)"},pageRotation:{id:"pageRotation",defaultMessage:"Page Rotation",description:"Label for the page rotation mode (left, right)"},pageRotationLeft:{id:"pageRotationLeft",defaultMessage:"Rotate Left",description:"Button to rotate the page to the left of 90°"},pageRotationRight:{id:"pageRotationRight",defaultMessage:"Rotate Right",description:"Button to rotate the page to the right of 90°"}});var U=n(13540),V=n(36105),G=n.n(V);const W=e=>{["-","+",".","e","E"].some((t=>e.key===t))&&e.preventDefault()},q=e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()},H=e=>{e.currentTarget.select()},$=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{withParens:!1};return t=>r.createElement("div",{className:G().desktop},e.withParens&&"(",t.map(((e,t)=>r.createElement("span",{key:t},e))),e.withParens&&")")};const Y=(0,c.XN)((function(e){const t=e.pages.get(e.currentPageNumber-1);(0,u.kG)(null!=t,`Couldn't get page number ${e.currentPageNumber}`);const o=r.useMemo((()=>e.pages.some((e=>e.pageLabel!==(e.pageIndex+1).toString()))),[e.pages]),[i,a]=r.useState(null==t?void 0:t.pageLabel);r.useEffect((()=>{a(null==t?void 0:t.pageLabel)}),[null==t?void 0:t.pageLabel]);const l=n=>{if(o){const t=e.pages.findIndex((e=>e.pageLabel===n));if(t>=0&&!e.readOnly)return void e.dispatch((0,I.YA)(t))}const r=parseInt(n);1<=r&&r<=e.totalPages&&!e.readOnly?e.dispatch((0,I.YA)(r-1)):a(t.pageLabel)},{formatMessage:d}=e.intl,p=s()({"PSPDFKit-Page-Indicator-Prev":!0,[G().prev]:!0,"PSPDFKit-Page-Indicator-Prev-disabled":1===e.currentPageNumber}),f=s()({"PSPDFKit-Page-Indicator-Next":!0,[G().next]:!0,"PSPDFKit-Page-Indicator-Next-disabled":e.currentPageNumber===e.totalPages}),h=r.createElement("div",{className:G().control},r.createElement("button",{className:p,title:d(X.prevPage),onClick:()=>e.dispatch((0,I.IT)()),disabled:1===e.currentPageNumber||e.readOnly},r.createElement(U.Z,{src:n(28069),className:G().icon})),r.createElement("label",{className:G().inputLabel,htmlFor:G().input},d(X.goToPage)),r.createElement("input",(0,m.Z)({id:G().input,type:o?"text":"number",value:i,className:`PSPDFKit-Page-Indicator-Input ${G().input}`,onMouseDown:q,onFocus:H,onChange:t=>{e.readOnly||a(t.currentTarget.value)},onBlur:e=>{l(e.currentTarget.value)},onKeyPress:e=>{"Enter"===e.key&&l(e.currentTarget.value)},disabled:e.readOnly},o?{}:{min:1,max:e.totalPages,onKeyDown:W,pattern:"[0-9]"})),r.createElement("button",{className:f,onClick:()=>e.dispatch((0,I.fz)()),title:d(X.nextPage),disabled:e.currentPageNumber===e.totalPages||e.readOnly},r.createElement(U.Z,{src:n(14341),className:G().icon})));return r.createElement("div",{className:`PSPDFKit-Page-Indicator ${G().root}`},o?r.createElement(r.Fragment,null,r.createElement(c._H,{id:"pageX",defaultMessage:"Page {arg0}",description:"Page indicator prefix",values:{arg0:h},children:$()}),r.createElement(c._H,{id:"XofY",defaultMessage:"{arg0} of {arg1}",description:"Page indicator label",values:{arg0:e.currentPageNumber,arg1:e.totalPages},children:$({withParens:!0})})):r.createElement(c._H,{id:"pageXofY",defaultMessage:"Page {arg0} of {arg1}",description:"Page indicator control. arg0 is an interactive widget to select pages.",values:{arg0:h,arg1:e.totalPages},children:$()}),r.createElement("div",{className:G().mobile},r.createElement("label",{className:G().label},r.createElement("strong",null,e.currentPageNumber)," ","/"," ",e.totalPages)))})),X=(0,c.vU)({prevPage:{id:"prevPage",defaultMessage:"Previous Page",description:"Button to go to the previous page"},nextPage:{id:"nextPage",defaultMessage:"Next Page",description:"Button to go to the next page"},goToPage:{id:"goToPage",defaultMessage:"Go to Page",description:"label for the go to page selector"}}),J=(0,f.$j)((e=>({currentPageNumber:e.viewportState.currentPageIndex+1})))(Y);var Q=n(11378),ee=n(44706),te=n(84747),ne=n(82481),oe=n(18146),re=n(3845),ie=n(38151),ae=n(69939),se=n(51333),le=n(77528),ce=n(25644),ue=n(70006),de=n(36095);function pe(e,t){const n=document.createElement("a");n.href=e,n.style.display="none",n.download=t,n.setAttribute("download",t);const o=document.body;return o?(o.appendChild(n),n.click(),()=>{const e=document.body;e&&e.removeChild(n)}):()=>{}}var fe=n(97528),he=n(20792),me=n(19702),ge=n(28098),ve=n(67628),ye=n(89e3),be=n(35129),we=n(92234),Se=n(2270),Ee=n(16126),Pe=n(96114);function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function De(e){for(var t=1;t{const{interactionMode:e,dispatch:t}=this.props;t((0,F.fz)()),e===he.A.PAN?t((0,I.Yr)()):t((0,I.vc)())})),(0,o.Z)(this,"handleFormDesignerTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,F.fz)()),(0,Ee.fF)(e)?t((0,Pe.h4)()):t((0,Pe.el)())})),(0,o.Z)(this,"_handleZoomOutTap",(()=>{this.props.dispatch((0,I.vG)())})),(0,o.Z)(this,"_handleZoomInTap",(()=>{this.props.dispatch((0,I.kr)())})),(0,o.Z)(this,"_handleUndoTap",(()=>{this.props.canUndo&&this.props.dispatch((0,we.Yw)())})),(0,o.Z)(this,"_handleRedoTap",(()=>{this.props.canRedo&&this.props.dispatch((0,we.KX)())})),(0,o.Z)(this,"_handleMarqueeZoomTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,F.fz)()),e===he.A.MARQUEE_ZOOM?t((0,S.si)()):t((0,S.xF)())})),(0,o.Z)(this,"_handleFitToWidthTap",(()=>{this.props.dispatch((0,I.du)())})),(0,o.Z)(this,"_handleFitToBothTap",(()=>{this.props.dispatch((0,I.lO)())})),(0,o.Z)(this,"handleCalloutTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.CALLOUT&&n===this.props.currentItemPreset?(r((0,ae.Ds)(null)),r((0,S.k4)())):(r((0,ae.Ds)(n)),r((0,S.Lt)()))})),(0,o.Z)(this,"_handleTextTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.TEXT&&n===this.props.currentItemPreset?(r((0,ae.Ds)(null)),r((0,S.k4)())):(r((0,ae.Ds)(n)),r((0,S.DU)()))})),(0,o.Z)(this,"_handleTextKeyPress",(()=>{const{dispatch:e}=this.props;e((0,F.fz)()),e((0,ae.RK)())})),(0,o.Z)(this,"_handleTextHighlighterTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.TEXT_HIGHLIGHTER&&n===this.props.currentItemPreset?r((0,S.lC)()):r((0,S.d5)(n))})),(0,o.Z)(this,"_handleLinkTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.LINK&&n===this.props.currentItemPreset?(r((0,ae.Ds)(null)),r((0,S.UU)())):(r((0,ae.Ds)(n)),r((0,S.Jn)()))})),(0,o.Z)(this,"_handleInkTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.INK&&n===this.props.currentItemPreset?(r((0,ae.Ds)(null)),r((0,S.s3)())):(r((0,ae.Ds)(n)),r((0,S.P4)()))})),(0,o.Z)(this,"_handleMeasurementTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.MEASUREMENT&&n===this.props.currentItemPreset?(r((0,ae.Ds)(null)),r((0,S.hS)())):(r((0,ae.Ds)(n)),r((0,S.BR)()))})),(0,o.Z)(this,"_handleInkEraserTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.INK_ERASER?(r((0,ae.Ds)(null)),r((0,S.VU)())):(r((0,ae.Ds)(n)),r((0,S.Ug)()))})),(0,o.Z)(this,"_handleLineTap",((e,t,n)=>this._handleShapeTap(ne.o9,he.A.SHAPE_LINE,n))),(0,o.Z)(this,"_handleRectangleTap",((e,t,n)=>this._handleShapeTap(ne.b3,he.A.SHAPE_RECTANGLE,n))),(0,o.Z)(this,"_handleEllipseTap",((e,t,n)=>this._handleShapeTap(ne.Xs,he.A.SHAPE_ELLIPSE,n))),(0,o.Z)(this,"_handlePolygonTap",((e,t,n)=>this._handleShapeTap(ne.Hi,he.A.SHAPE_POLYGON,n))),(0,o.Z)(this,"_handlePolylineTap",((e,t,n)=>this._handleShapeTap(ne.om,he.A.SHAPE_POLYLINE,n))),(0,o.Z)(this,"_handleShapeTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===t&&n===this.props.currentItemPreset?(r((0,ae.Ds)(null)),r((0,S.Ce)())):(r((0,ae.Ds)(n)),r((0,S.yg)(e,t)))})),(0,o.Z)(this,"_handleNoteTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.NOTE&&n===this.props.currentItemPreset?(r((0,ae.Ds)(null)),r((0,S.dp)())):(r((0,ae.Ds)(n)),r((0,S.i9)()))})),(0,o.Z)(this,"_handleNoteKeyPress",(()=>{const{dispatch:e}=this.props;e((0,F.fz)()),e((0,ae.XG)())})),(0,o.Z)(this,"_handleCommentMarkerTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,F.fz)()),e===he.A.COMMENT_MARKER?t((0,S.tr)()):t((0,S.k6)())})),(0,o.Z)(this,"_handleCommentMarkerKeyPress",(()=>{const{dispatch:e}=this.props;e((0,F.fz)()),e((0,se.GH)())})),(0,o.Z)(this,"_handleSignatureTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.INK_SIGNATURE||o===he.A.SIGNATURE?(r((0,ae.Ds)(null)),r((0,S.MV)())):(r((0,ae.Ds)(n)),r((0,S.Cc)()))})),(0,o.Z)(this,"_handleStampTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,F.fz)()),e===he.A.STAMP_PICKER?t((0,S.pM)()):t((0,S.C4)())})),(0,o.Z)(this,"_handleRedactRectangleTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.REDACT_SHAPE_RECTANGLE&&n===this.props.currentItemPreset?r((0,S.jP)()):r((0,S.t)(n))})),(0,o.Z)(this,"_handleRedactTextHighlighterTap",((e,t,n)=>{const{interactionMode:o,dispatch:r}=this.props;r((0,F.fz)()),o===he.A.REDACT_TEXT_HIGHLIGHTER&&n===this.props.currentItemPreset?r((0,S.TR)()):r((0,S.aw)(n))})),(0,o.Z)(this,"_handleResponsiveGroupTap",(e=>{this.setState({activeResponsiveGroup:e}),e&&this.setState({prevActiveGroup:e})})),(0,o.Z)(this,"_handleAnnotateResponsiveGroupTap",(()=>this._handleResponsiveGroupTap("annotate"))),(0,o.Z)(this,"_handlePrintTap",(()=>{this.props.printingEnabled&&this.props.dispatch((0,ce.S0)())})),(0,o.Z)(this,"_handleSearchTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,F.fz)()),e===he.A.SEARCH?t((0,ue.ct)()):t((0,ue.Xe)())})),(0,o.Z)(this,"handleCropTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;t((0,F.fz)()),e===he.A.DOCUMENT_CROP?t((0,S.Cn)()):t((0,S.rL)())})),(0,o.Z)(this,"handleDocumentComparisonTap",(()=>{const{currentDocumentComparisonMode:e,dispatch:t}=this.props;t((0,F.fz)()),t(e?(0,S.cz)(null):(0,S.cz)(Se.s))})),(0,o.Z)(this,"_handleExportPDFTap",(async()=>{this.props.exportEnabled&&this.props.dispatch(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return async(t,n)=>{const{backend:o}=n();(0,u.kG)(o);const r=HTMLAnchorElement.prototype.hasOwnProperty("download"),i=await o.exportPDF(e),a=i.mimeType||"application/pdf",s=i.extension||"pdf",l=new Blob([i],{type:a}),c=`${(await o.documentInfo()).title||"document"}.${s}`;let d=()=>{};if(navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(l,c);else if(r){const e=window.URL.createObjectURL(l),t=pe(e,c);d=()=>{t(),window.URL.revokeObjectURL(e)}}else{const e=new FileReader;e.onloadend=()=>{d=pe(e.result,s)},e.readAsDataURL(l)}window.setTimeout(d,1e3)}}())})),(0,o.Z)(this,"_handleDebugTap",(()=>{this.props.dispatch((0,S.BB)())})),(0,o.Z)(this,"_handleThumbnailsSidebarTap",(()=>{const{sidebarMode:e,dispatch:t}=this.props;e===me.f.THUMBNAILS?t((0,S.mu)()):t((0,S.el)())})),(0,o.Z)(this,"_handleDocumentOutlineSidebarTap",(()=>{const{sidebarMode:e,dispatch:t}=this.props;e===me.f.DOCUMENT_OUTLINE?t((0,S.mu)()):t((0,S.EJ)())})),(0,o.Z)(this,"_handleDocumentEditorTap",(()=>{const{dispatch:e}=this.props;e((0,S.lV)())})),(0,o.Z)(this,"_handleAnnotationsSidebarTap",(()=>{const{sidebarMode:e,dispatch:t}=this.props;e===me.f.ANNOTATIONS?t((0,S.mu)()):t((0,S.ze)())})),(0,o.Z)(this,"_handleBookmarksSidebarTap",(()=>{const{sidebarMode:e,dispatch:t}=this.props;e===me.f.BOOKMARKS?t((0,S.mu)()):t((0,S.Hf)())})),(0,o.Z)(this,"_handleImageTap",(()=>{const e={annotations:(0,i.aV)([new ne.sK({pageIndex:this.state.currentPageIndex})]),reason:re.f.SELECT_START};this.props.eventEmitter.emit("annotations.willChange",e);const t=this.imagePickerRef&&this.imagePickerRef.current;if(t)try{const{formatMessage:e}=this.props.intl;this.props.dispatch((0,S.iJ)(e(Fe.selectAFileForImage))),t.removeAttribute("aria-hidden"),t.click()}catch(e){t.setAttribute("aria-hidden","true");const n={annotations:(0,i.aV)(),reason:re.f.SELECT_END};this.props.eventEmitter.emit("annotations.willChange",n)}})),(0,o.Z)(this,"_handleImageSelect",(e=>{if(e.target.setAttribute("aria-hidden","true"),e.target.files[0]){this.props.dispatch((0,F.fz)());{this.props.dispatch((0,ae.Ds)("image")),this.props.dispatch((0,ae.$e)(e.target.files[0]));const{formatMessage:t}=this.props.intl;this.props.dispatch((0,S.iJ)(t(Fe.newAnnotationCreated,{arg0:"image"})))}e.target.value=""}})),(0,o.Z)(this,"_handleResponsiveGroupClose",(()=>{this.props.dispatch((0,F.fz)()),this._handleResponsiveGroupTap(null)})),(0,o.Z)(this,"_handleContentEditorTap",(()=>{const{interactionMode:e,dispatch:t,isContentEditorSessionDirty:n}=this.props;e===he.A.CONTENT_EDITOR?t(n?(0,ie.Yg)(!0):ie.u8):t(ie.gY)})),(0,o.Z)(this,"_handleMultiAnnotationsSelectionTap",(()=>{const{interactionMode:e,dispatch:t}=this.props;e===he.A.MULTI_ANNOTATIONS_SELECTION?t((0,S.FA)()):t((0,S.YF)())})),(0,o.Z)(this,"_getBuiltInDefaults",(0,l.Z)(((e,t,n,o,r,i,a,s,l,c,u,d,p,f,h,m,g,v)=>{const{formatMessage:y}=e,b=n===he.A.CONTENT_EDITOR;return{debug:{className:"",onPress:this._handleDebugTap,title:"Debug Info",forceHide:!t},image:{className:"PSPDFKit-Toolbar-Button-Image-Annotation",title:y(be.Z.imageAnnotation),forceHide:o(ne.sK),responsiveGroup:"annotate",preset:"image",onPress:this._handleImageTap,dropdownGroup:"image",disabled:b},stamp:{className:"PSPDFKit-Toolbar-Button-Stamp-Annotation",selected:n===he.A.STAMP_PICKER||n===he.A.STAMP_CUSTOM,onPress:this._handleStampTap,title:y(be.Z.stampAnnotation),forceHide:o(ne.GI),responsiveGroup:"annotate",preset:"stamp",dropdownGroup:"image",disabled:b},link:{className:"PSPDFKit-Toolbar-Button-Link-Annotation",selected:n===he.A.LINK&&"link"===this.state.lastSelectedToolbarItemType,onPress:this._handleLinkTap,title:y(be.Z.linkAnnotation),forceHide:o(ne.R1),responsiveGroup:"annotate",preset:"link",dropdownGroup:"image",disabled:b},ink:{className:"PSPDFKit-Toolbar-Button-Ink-Annotation",selected:n===he.A.INK&&"ink"===h,onPress:this._handleInkTap,title:y(be.Z.pen),forceHide:o(ne.Zc),responsiveGroup:"annotate",dropdownGroup:"ink",preset:"ink",disabled:b},"ink-eraser":{className:"PSPDFKit-Toolbar-Button-Ink-Eraser",selected:n===he.A.INK_ERASER&&"ink-eraser"===h,onPress:this._handleInkEraserTap,title:y(be.Z.eraser),forceHide:o(ne.Zc),responsiveGroup:"annotate",dropdownGroup:"ink",preset:"ink",disabled:b},highlighter:{className:"PSPDFKit-Toolbar-Button-Ink-Annotation PSPDFKit-Toolbar-Button-Variant-Highlighter",selected:n===he.A.INK&&"highlighter"===h,onPress:this._handleInkTap,title:y(be.Z.highlighter),forceHide:o(ne.Zc),responsiveGroup:"annotate",dropdownGroup:"ink",preset:"highlighter",disabled:b},"text-highlighter":{className:"PSPDFKit-Toolbar-Button-TextHighlighter-Annotation",selected:n===he.A.TEXT_HIGHLIGHTER&&"text-highlighter"===h,onPress:this._handleTextHighlighterTap,title:y(be.Z.textHighlighter),forceHide:o(ne.FV),responsiveGroup:"annotate",dropdownGroup:"ink",preset:"text-highlighter",disabled:b},line:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Line-Annotation",selected:n===he.A.SHAPE_LINE&&"line"===h,onPress:this._handleLineTap,title:y(be.Z.lineAnnotation),forceHide:o(ne.o9),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"line",disabled:b},arrow:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Line-Annotation PSPDFKit-Toolbar-Button-Variant-Arrow",selected:n===he.A.SHAPE_LINE&&"arrow"===h,onPress:this._handleLineTap,title:y(be.Z.arrow),forceHide:o(ne.o9),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"arrow",disabled:b},rectangle:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Rectangle-Annotation",selected:n===he.A.SHAPE_RECTANGLE&&"rectangle"===h,onPress:this._handleRectangleTap,title:y(be.Z.rectangleAnnotation),forceHide:o(ne.b3),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"rectangle",disabled:b},"cloudy-rectangle":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Rectangle-Annotation PSPDFKit-Toolbar-Button-Variant-CloudyRectangle",selected:n===he.A.SHAPE_RECTANGLE&&"cloudy-rectangle"===h,onPress:this._handleRectangleTap,title:y(be.Z.cloudyRectangleAnnotation),forceHide:o(ne.b3),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"cloudy-rectangle",disabled:b},"dashed-rectangle":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Rectangle-Annotation PSPDFKit-Toolbar-Button-Variant-DashedRectangle",selected:n===he.A.SHAPE_RECTANGLE&&"dashed-rectangle"===h,onPress:this._handleRectangleTap,title:y(be.Z.dashedRectangleAnnotation),forceHide:o(ne.b3),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"dashed-rectangle",disabled:b},ellipse:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Ellipse-Annotation",selected:n===he.A.SHAPE_ELLIPSE&&"ellipse"===h,onPress:this._handleEllipseTap,title:y(be.Z.ellipseAnnotation),forceHide:o(ne.Xs),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"ellipse",disabled:b},"cloudy-ellipse":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Ellipse-Annotation PSPDFKit-Toolbar-Button-Variant-CloudyEllipse",selected:n===he.A.SHAPE_ELLIPSE&&"cloudy-ellipse"===h,onPress:this._handleEllipseTap,title:y(be.Z.cloudyEllipseAnnotation),forceHide:o(ne.Xs),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"cloudy-ellipse",disabled:b},"dashed-ellipse":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Ellipse-Annotation PSPDFKit-Toolbar-Button-Variant-DashedEllipse",selected:n===he.A.SHAPE_ELLIPSE&&"dashed-ellipse"===h,onPress:this._handleEllipseTap,title:y(be.Z.dashedEllipseAnnotation),forceHide:o(ne.Xs),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"dashed-ellipse",disabled:b},polygon:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Polygon-Annotation",selected:n===he.A.SHAPE_POLYGON&&"polygon"===h,onPress:this._handlePolygonTap,title:y(be.Z.polygonAnnotation),forceHide:o(ne.Hi),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"polygon",disabled:b},"cloudy-polygon":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Polygon-Annotation PSPDFKit-Toolbar-Button-Variant-CloudyPolygon",selected:n===he.A.SHAPE_POLYGON&&"cloudy-polygon"===h,onPress:this._handlePolygonTap,title:Te("cloudy-",this.props.items)?y(be.Z.cloudAnnotation):y(be.Z.cloudyPolygonAnnotation),forceHide:o(ne.Hi),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"cloudy-polygon",disabled:b},"dashed-polygon":{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Polygon-Annotation PSPDFKit-Toolbar-Button-Variant-DashedPolygon",selected:n===he.A.SHAPE_POLYGON&&"dashed-polygon"===h,onPress:this._handlePolygonTap,title:y(be.Z.dashedPolygonAnnotation),forceHide:o(ne.Hi),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"dashed-polygon",disabled:b},polyline:{className:"PSPDFKit-Toolbar-Button-Shape-Annotation PSPDFKit-Toolbar-Button-Polyline-Annotation",selected:n===he.A.SHAPE_POLYLINE&&"polyline"===h,onPress:this._handlePolylineTap,title:y(be.Z.polylineAnnotation),forceHide:o(ne.om),responsiveGroup:"annotate",dropdownGroup:"shapes",preset:"polyline",disabled:b},note:{className:"PSPDFKit-Toolbar-Button-Note-Annotation",selected:n===he.A.NOTE&&"note"===h,onPress:this._handleNoteTap,onKeyPress:this._handleNoteKeyPress,title:y(be.Z.noteAnnotation),forceHide:o(ne.Qi),responsiveGroup:"annotate",preset:"note",disabled:b},comment:{className:"PSPDFKit-Toolbar-Button-Comment-Marker-Annotation",selected:n===he.A.COMMENT_MARKER,title:y(be.Z.comment),onPress:this._handleCommentMarkerTap,onKeyPress:this._handleCommentMarkerKeyPress,forceHide:o(ne.Jn),responsiveGroup:"annotate",disabled:b},signature:{className:"PSPDFKit-Toolbar-Button-InkSignature-Annotation PSPDFKit-Toolbar-Button-Signature",selected:n===he.A.INK_SIGNATURE||n===he.A.SIGNATURE,onPress:this._handleSignatureTap,title:y(be.Z.sign),forceHide:s===ve.H.NONE||a||o(ne.Zc)&&s!==ve.H.ELECTRONIC_SIGNATURES,responsiveGroup:"annotate",preset:s===ve.H.ELECTRONIC_SIGNATURES?"es-signature":"ink-signature",disabled:b},"redact-text-highlighter":{className:"PSPDFKit-Toolbar-Button-RedactTextHighlighter-Annotation",selected:n===he.A.REDACT_TEXT_HIGHLIGHTER,onPress:this._handleRedactTextHighlighterTap,title:y(be.Z.textRedaction),forceHide:o(oe.Z),responsiveGroup:"annotate",dropdownGroup:"redaction",preset:"redaction",disabled:b},"redact-rectangle":{className:"PSPDFKit-Toolbar-Button-Redaction-Annotation PSPDFKit-Toolbar-Button-Rectangle-Redaction-Annotation",selected:n===he.A.REDACT_SHAPE_RECTANGLE,onPress:this._handleRedactRectangleTap,title:y(be.Z.areaRedaction),forceHide:o(oe.Z),responsiveGroup:"annotate",dropdownGroup:"redaction",preset:"redaction",disabled:b},"form-creator":{className:"PSPDFKit-Toolbar-Button-Form-Creator",selected:(0,Ee.fF)(n),onPress:this.handleFormDesignerTap,title:y(be.Z.formCreator),forceHide:o(ne.x_),disabled:b},pan:{className:"PSPDFKit-Toolbar-Button-Pan",selected:n===he.A.PAN,onPress:this._handlePanTap,title:y(Fe.panMode),forceHide:de.Ni,disabled:b},print:{className:"PSPDFKit-Toolbar-Button-Print",onPress:this._handlePrintTap,title:y(Fe.print),disabled:!l||b},"document-editor":{className:"PSPDFKit-Toolbar-Button-Document-Editor",onPress:this._handleDocumentEditorTap,title:y(be.Z.documentEditor),dropdownGroup:"editor",disabled:b},"document-crop":{className:"PSPDFKit-Toolbar-Button-Document-Crop",onPress:this.handleCropTap,title:y(be.Z.documentCrop),dropdownGroup:"editor",selected:n===he.A.DOCUMENT_CROP,disabled:b},"document-comparison":{className:"PSPDFKit-Toolbar-Button-Document-Comparison",onPress:this.handleDocumentComparisonTap,title:y(be.Z.documentComparison),dropdownGroup:"editor",forceHide:!r,selected:i,disabled:b},search:{className:"PSPDFKit-Toolbar-Button-Search",selected:n===he.A.SEARCH,onPress:this._handleSearchTap,title:y(be.Z.searchDocument),disabled:b},text:{className:"PSPDFKit-Toolbar-Button-Text-Annotation",selected:n===he.A.TEXT&&"text"===this.state.lastSelectedToolbarItemType,onPress:this._handleTextTap,onKeyPress:this._handleTextKeyPress,title:y(be.Z.textAnnotation),forceHide:o(ne.gd),dropdownGroup:"text",responsiveGroup:"annotate",preset:"text",disabled:b},callout:{className:"PSPDFKit-Toolbar-Button-Callout-Annotation",selected:n===he.A.CALLOUT&&"callout"===this.state.lastSelectedToolbarItemType,onPress:this.handleCalloutTap,title:y(be.Z.calloutAnnotation),forceHide:o(ne.gd),dropdownGroup:"text",responsiveGroup:"annotate",preset:"callout",disabled:b},"zoom-mode":De({mediaQueries:[de.Ni?`(min-width: ${fe.Ei.BREAKPOINT_MD_TOOLBAR}px)`:"all"]},u===ge.c.FIT_TO_VIEWPORT?{className:"PSPDFKit-Toolbar-Button-Fit-To-Width",onPress:this._handleFitToWidthTap,title:y(Fe.fitWidth),type:"fit-width",disabled:b}:{className:"PSPDFKit-Toolbar-Button-Fit-To-Page",onPress:this._handleFitToBothTap,title:y(Fe.fitPage),type:"fit-page",disabled:b}),"zoom-out":{className:"PSPDFKit-Toolbar-Button-Zoom-Out",disabled:p,onPress:this._handleZoomOutTap,title:y(Fe.zoomOut),mediaQueries:[de.Ni?`(min-width: ${fe.Ei.BREAKPOINT_MD_TOOLBAR}px)`:"all"]},"zoom-in":{className:"PSPDFKit-Toolbar-Button-Zoom-In",disabled:d,onPress:this._handleZoomInTap,title:y(Fe.zoomIn),mediaQueries:[de.Ni?`(min-width: ${fe.Ei.BREAKPOINT_MD_TOOLBAR}px)`:"all"]},undo:{className:"PSPDFKit-Toolbar-Button-Undo",disabled:!m||b,onPress:this._handleUndoTap,title:y(Fe.undo),forceHide:a,responsiveGroup:"annotate"},redo:{className:"PSPDFKit-Toolbar-Button-Redo",disabled:!g||b,onPress:this._handleRedoTap,title:y(Fe.redo),forceHide:a,responsiveGroup:"annotate"},"marquee-zoom":{className:"PSPDFKit-Toolbar-Button-Marquee-Zoom",selected:n===he.A.MARQUEE_ZOOM,onPress:this._handleMarqueeZoomTap,title:y(Fe.marqueeZoom),disabled:b},spacer:{},pager:{disabled:b},"layout-config":{mediaQueries:[`(min-width: ${fe.Ei.BREAKPOINT_SM_TOOLBAR+1}px)`],disabled:b},"multi-annotations-selection":{className:"PSPDFKit-Toolbar-Button-Multiple-Annotations-Selection",selected:n===he.A.MULTI_ANNOTATIONS_SELECTION,onPress:this._handleMultiAnnotationsSelectionTap,title:y(be.Z.multiAnnotationsSelection),disabled:!v||b},annotate:{className:"PSPDFKit-Toolbar-Button-Annotate",onPress:this._handleAnnotateResponsiveGroupTap,title:y(be.Z.annotations),forceHide:o(ne.q6),mediaQueries:[`(max-width: ${fe.Ei.BREAKPOINT_MD_TOOLBAR}px)`],disabled:b},measure:{className:"PSPDFKit-Toolbar-Button-Measurement-Annotation",selected:n===he.A.MEASUREMENT||n===he.A.DISTANCE||n===he.A.PERIMETER||n===he.A.RECTANGLE_AREA||n===he.A.POLYGON_AREA||n===he.A.ELLIPSE_AREA,onPress:this._handleMeasurementTap,title:y(be.Z.measurement),forceHide:o(ne.q6),responsiveGroup:"annotate",preset:"measurement",disabled:b},"responsive-group":{onPress:(e,t)=>this._handleResponsiveGroupTap(t),disabled:b},"sidebar-thumbnails":{className:"PSPDFKit-Toolbar-Button-Sidebar PSPDFKit-Toolbar-Button-Sidebar-Thumbnails",title:y(Fe.thumbnails),onPress:this._handleThumbnailsSidebarTap,selected:f===me.f.THUMBNAILS,dropdownGroup:"sidebar",disabled:b},"sidebar-document-outline":{className:"PSPDFKit-Toolbar-Button-Sidebar PSPDFKit-Toolbar-Button-Sidebar-Document-Outline",title:y(Fe.outline),onPress:this._handleDocumentOutlineSidebarTap,selected:f===me.f.DOCUMENT_OUTLINE,dropdownGroup:"sidebar",disabled:b},"sidebar-annotations":{className:"PSPDFKit-Toolbar-Button-Sidebar PSPDFKit-Toolbar-Button-Sidebar-Annotations",title:y(be.Z.annotations),onPress:this._handleAnnotationsSidebarTap,selected:f===me.f.ANNOTATIONS,dropdownGroup:"sidebar",disabled:b},"sidebar-bookmarks":{className:"PSPDFKit-Toolbar-Button-Bookmarks PSPDFKit-Toolbar-Button-Sidebar-Bookmarks",title:y(be.Z.bookmarks),onPress:this._handleBookmarksSidebarTap,selected:f===me.f.BOOKMARKS,dropdownGroup:"sidebar",disabled:b},"export-pdf":{className:"PSPDFKit-Toolbar-Button-Export-PDF",title:y(be.Z.export),onPress:this._handleExportPDFTap,disabled:!c||b,selected:!1},"content-editor":{className:"PSPDFKit-Toolbar-Button-Content-Editor",onPress:this._handleContentEditorTap,title:y(be.Z.contentEditor),selected:n===he.A.CONTENT_EDITOR}}}))),(0,o.Z)(this,"_prepareToolbarItems",(0,l.Z)(((e,t,n,o,r,i,a,s,l,c,u,d,p,f,h,m,g,v,y,b,w,S)=>{const E=this._getBuiltInDefaults(e,t,n,r,i,a,o,s,l,c,u,d,p,f,y,b,w,S),P=a?h:(0,le.q1)(h,E,m),x=(0,le.DQ)(P,E),D=a?function(e){return e.filter((e=>Oe.includes(e.get("type"))))}(x):x,C=(0,le.Ut)((0,le.hJ)(D)),k=(0,le.Ut)(D,!0,g);return{items:C,groupedItems:this.getDropdownGroupGroupedItems(C),groupedResponsiveItems:this.getDropdownGroupGroupedItems(k)}}))),(0,o.Z)(this,"_onMediaQueryUpdate",(()=>{var e;null!==(e=this.props.frameWindow)&&void 0!==e&&e.matchMedia("print").matches||this.setState({mediaQueryDidUpdate:{}})})),(0,o.Z)(this,"_updateMediaQueryListener",(()=>{const{intl:e,debugMode:t,interactionMode:n,isAnnotationTypeReadOnly:o,isDocumentComparisonAvailable:r,currentDocumentComparisonMode:i,isDocumentReadOnly:a,signatureFeatureAvailability:s,printingEnabled:l,exportEnabled:c,zoomMode:u,maxZoomReached:d,minZoomReached:p,sidebarMode:f,items:h,canUndo:m,canRedo:g,isMultiSelectionEnabled:v}=this.props,y=this._getBuiltInDefaults(e,t,n,o,r,!!i,a,s,l,c,u,d,p,f,this.state.lastSelectedToolbarItemType,m,g,v),b=(0,le.se)(h,y);b.forEach((e=>{var t;if(this._mediaListeners.hasOwnProperty(e))return;const n=null===(t=this.props.frameWindow)||void 0===t?void 0:t.matchMedia(e);null==n||n.addListener(this._onMediaQueryUpdate),this._mediaListeners[e]=n})),Object.keys(this._mediaListeners).filter((e=>!b.includes(e))).forEach((e=>{this._mediaListeners[e].removeListener(this._onMediaQueryUpdate),delete this._mediaListeners[e]}))})),(0,o.Z)(this,"_handleKeyPress",(e=>{e.keyCode===p.zz&&this.state.activeResponsiveGroup&&this._handleResponsiveGroupClose()})),(0,o.Z)(this,"_handleOnPress",(function(t,n,o,r,i){let a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6?arguments[6]:void 0;(0,le.Li)(r)&&e.setState({lastSelectedToolbarItemType:r}),(0,f.dC)((()=>{a&&s?s(n,o,i,a):t(n,o,i,a),e.props.dispatch((0,S.qB)(a))}))})),(0,o.Z)(this,"DropdownItemComponent",r.forwardRef(((e,t)=>{if(!e.item)return null;const n=e.item.item,o=e.item.index,{isSelectedItem:r,state:i,itemComponentProps:a}=e;return Ae(this.props,De(De({},n),{},{className:s()(n.className,{[O().dropdownButtonSelected]:null==i?void 0:i.includes("selected"),[O().dropdownButtonDisabled]:null==i?void 0:i.includes("disabled"),[O().dropdownButtonFocused]:null==i?void 0:i.includes("focused")}),onPress:r?n.onPress:void 0}),o,this._handleOnPress,!r,t,a)}))),(0,o.Z)(this,"_renderGroupedItems",(e=>{let{groupedItems:t,classNamePartial:n}=e;return t.map(((e,t)=>Array.isArray(e)?e.length<2?Ae(this.props,e[0].item,e[0].index,this._handleOnPress,!1,0===t?this.itemToFocusRef:void 0):r.createElement(te.Z,{frameWindow:this.props.frameWindow,items:e,disabled:e.every((e=>e.item.disabled)),ItemComponent:this.DropdownItemComponent,role:"menu",onSelect:(t,n)=>{const{onPress:o,id:r,type:i,preset:a,disabled:s}=n.item;if(!s&&(e.forEach((e=>{delete e.item.selected})),o)){const e="keydown"===t.type;this._handleOnPress(o,t,r,i,a,e)}},isActive:e.some((e=>e.item.selected)),key:`toolbar-items-group-${t}-${n}`,caretDirection:this.props.toolbarPlacement===ye.p.TOP?"down":"up",ref:0===t?this.itemToFocusRef:void 0}):Ae(this.props,e.item,e.index,this._handleOnPress,!1,0===t||e.item.type===this.state.prevActiveGroup?this.itemToFocusRef:void 0)))}))}static getDerivedStateFromProps(e,t){let n=null;if(e.interactionMode&&e.interactionMode in le.FO){const t=le.FO[e.interactionMode];Array.isArray(t)?n=e.currentItemPreset&&t.includes(e.currentItemPreset)?e.currentItemPreset:t[0]:"string"==typeof t&&(n=t)}return n!==t.lastSelectedToolbarItemType?{lastSelectedToolbarItemType:n,currentPageIndex:e.currentPageIndex}:{currentPageIndex:e.currentPageIndex}}getDropdownGroupGroupedItems(e){let t=(0,i.aV)();const n={};return e.forEach(((e,o)=>{const r=(0,i.D5)({index:o,item:e}),a=e.get("dropdownGroup");a?void 0!==n[a]?t=t.update(n[a],(e=>e instanceof i.aV?e.push(r):e)):(n[a]=t.size,t=t.push((0,i.aV)([r]))):t=t.push(r)})),t.toJS()}componentDidUpdate(e,t){this._updateMediaQueryListener();const n=t&&!t.activeResponsiveGroup&&this.state.activeResponsiveGroup,o=t&&t.activeResponsiveGroup&&!this.state.activeResponsiveGroup;(n||o)&&this.itemToFocusRef.current&&this.itemToFocusRef.current.focus()}componentDidMount(){this._updateMediaQueryListener()}componentWillUnmount(){Object.keys(this._mediaListeners).forEach((e=>{this._mediaListeners[e].removeListener(this._onMediaQueryUpdate),delete this._mediaListeners[e]}))}shouldComponentUpdate(e,t){const n=De(De({},e),{},{currentPageIndex:this.props.currentPageIndex}),o=De(De({},t),{},{currentPageIndex:this.state.currentPageIndex});return h.O.bind(this)(n,o)}render(){const{props:e}=this,{intl:t,debugMode:n,interactionMode:o,isDocumentReadOnly:i,isAnnotationTypeReadOnly:a,isDocumentComparisonAvailable:s,currentDocumentComparisonMode:l,signatureFeatureAvailability:c,printingEnabled:u,exportEnabled:p,zoomMode:f,maxZoomReached:h,minZoomReached:m,sidebarMode:g,items:v,frameWindow:y,toolbarPlacement:b,canUndo:w,canRedo:S,isMultiSelectionEnabled:E}=e,{formatMessage:P}=t,{activeResponsiveGroup:x,mediaQueryDidUpdate:D,lastSelectedToolbarItemType:C}=this.state,{groupedItems:k,groupedResponsiveItems:A}=this._prepareToolbarItems(t,n,o,i,a,s,!!l,c,u,p,f,h,m,g,v,y,x,D,C,w,S,E),T=x&&A.length,I=T?this._renderGroupedItems({groupedItems:A,classNamePartial:"groupedResponsiveItems"}):this._renderGroupedItems({groupedItems:k,classNamePartial:"groupedItems"}),F=T&&k.filter((e=>!Array.isArray(e))).find((e=>e.item.id===x)),M=F&&F.item?F.item.title:void 0,_=v.some((e=>"image"===e.get("type")));return r.createElement("div",{className:`PSPDFKit-Toolbar ${O().root}`,onKeyDown:this._handleKeyPress},T?null:I,r.createElement(ee.Z,{onClose:this._handleResponsiveGroupClose,isPrimary:!0,position:b===ye.p.TOP?"top":"bottom",accessibilityLabel:M},T?I:null),_&&r.createElement(d.TX,{tag:"div"},r.createElement("input",{ref:this.imagePickerRef,"aria-label":P(Fe.selectImage),"aria-hidden":!0,type:"file",accept:"image/png, image/jpeg, application/pdf",onChange:this._handleImageSelect,tabIndex:-1})))}}function Ae(e,t,n,o,i,a,l){switch(t.type){case"spacer":return r.createElement("div",{style:{flex:1},key:`spacer-${n}`});case"pager":return r.createElement(J,{dispatch:e.dispatch,pages:e.pages,totalPages:e.totalPages,key:e.currentPageIndex.toString(),readOnly:e.scrollMode===w.G.DISABLED});case"layout-config":var c;return r.createElement(K,{dispatch:e.dispatch,key:"layout-config",className:t.className,icon:t.icon,layoutMode:e.layoutMode,scrollMode:e.scrollMode,caretDirection:e.toolbarPlacement===ye.p.TOP?"down":"up",frameWindow:e.frameWindow,disabled:null!==(c=t.disabled)&&void 0!==c&&c});default:{const{type:e,id:c,className:u,disabled:d,selected:p,icon:f,title:h,onPress:m,preset:g,onKeyPress:v}=t;return"custom"===e&&t.node?r.createElement(Q.Z,{node:t.node,className:u,onPress:m?t=>o(m,t,c,e,g):void 0,title:h,disabled:d,selected:p,ref:a,itemComponentProps:l,key:`custom-node-${n}`}):r.createElement(k.Z,{type:e,className:s()(u,i?O().dropdownButton:O().toolbarButton),disabled:d,selected:p,icon:f,title:h,onPress:m?(t,n)=>o(m,t,c,e,g,n,v):void 0,key:`${e}-${n}`,children:i?h:void 0,role:i?"menuitem":void 0,ref:a,itemComponentProps:l,doNotAutoFocusOnFirstItem:!0})}}}const Oe=["pan","zoom-in","zoom-out","fit-page","fit-width","spacer","export-pdf","document-comparison"];function Te(e,t){return 1===t.filter((t=>{var n;return null===(n=t.get("type"))||void 0===n?void 0:n.startsWith(e)})).size}const Ie=(0,c.XN)(ke),Fe=(0,c.vU)({thumbnails:{id:"thumbnails",defaultMessage:"Thumbnails",description:"Show or hide the thumbnails sidebar"},outline:{id:"outline",defaultMessage:"Outline",description:"Show or hide the document outline sidebar"},panMode:{id:"panMode",defaultMessage:"Pan Mode",description:"Activate and deactivate the pan mode (the hand cursor to move the page)"},zoomIn:{id:"zoomIn",defaultMessage:"Zoom In",description:"Zoom in the document"},zoomOut:{id:"zoomOut",defaultMessage:"Zoom Out",description:"Zoom out the document"},undo:{id:"undo",defaultMessage:"Undo",description:"Undo a previous annotation operation"},redo:{id:"redo",defaultMessage:"Redo",description:"Redo a previous annotation operation"},marqueeZoom:{id:"marqueeZoom",defaultMessage:"Marquee Zoom",description:"Enables Marquee Zoom mode which allows to zoom to a rectangle"},fitPage:{id:"fitPage",defaultMessage:"Fit Page",description:"Fit the page in the viewer based on the bigger dimension"},fitWidth:{id:"fitWidth",defaultMessage:"Fit Width",description:"Fit the page in the document based on its width"},print:{id:"print",defaultMessage:"Print",description:"print"},selectImage:{id:"selectImage",defaultMessage:"Select Image",description:"Label for the select image field"},unsupportedImageFormat:{id:"unsupportedImageFormat",defaultMessage:"Unsupported type for image annotation: {arg0}. Please use a JPEG, PNG or PDF.",description:"Unsupported image type error."},newAnnotationCreated:{id:"newAnnotationCreated",defaultMessage:"New {arg0} annotation created.",description:"A new annotation was created."},selectAFileForImage:{id:"selectAFileForImage",defaultMessage:"Select a file for the new image annotation.",description:"Select a file from the file dialog for the new image annotation."}})},5462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var o=n(22122),r=n(84121),i=n(67294),a=n(94184),s=n.n(a),l=n(76154),c=n(41756),u=n(67665),d=n(30667),p=n(25915),f=n(35369),h=n(36095),m=n(13448),g=n(58924),v=n(91859),y=n(27435),b=n.n(y),w=n(93628),S=n.n(w),E=n(38006),P=n.n(E),x=n(20276);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function C(e){for(var t=1;t{let{selectedItem:t}=e;E&&E(F.current||(0,x._)("click"),t),F.current=null}),[E]),_=i.useRef(),R=null!==(n=i.useMemo((()=>y.find((e=>e.value===(null==w?void 0:w.value)))),[y,w]))&&void 0!==n?n:w,N=e.ItemComponent,L={root:s()("PSPDFKit-Input-Dropdown",e.isActive&&!e.disabled&&"PSPDFKit-Input-Dropdown-active","PSPDFKit-Toolbar-Dropdown",e.className,b().withDropdown,!e.isActive&&b().withDropdownIdle,e.disabled&&b().withDropdownDisabled,R&&"string"==typeof R.icon?R.icon:void 0),button:s()("PSPDFKit-Input-Dropdown-Button",b().dropdown,e.isActive&&!e.disabled&&b().isActive,{[b().discreteDropdown]:e.discreteDropdown,[b().isDisabled]:e.disabled}),menu:s()("PSPDFKit-Input-Dropdown-Items",S().root,e.menuClassName)},[B,j]=i.useState(!1),{getToggleButtonProps:z,getMenuProps:K,getItemProps:Z,getLabelProps:U,isOpen:V,selectedItem:G,highlightedIndex:W,setHighlightedIndex:q}=(0,c.L7)(C(C({items:y,itemToString:O,selectedItem:R,onHighlightedIndexChange:e=>{switch(e.type){case c.L7.stateChangeTypes.MenuKeyDownArrowDown:case c.L7.stateChangeTypes.MenuKeyDownArrowUp:case c.L7.stateChangeTypes.MenuKeyDownEscape:case c.L7.stateChangeTypes.MenuKeyDownHome:case c.L7.stateChangeTypes.MenuKeyDownEnd:case c.L7.stateChangeTypes.MenuKeyDownEnter:case c.L7.stateChangeTypes.MenuKeyDownSpaceButton:case c.L7.stateChangeTypes.MenuKeyDownCharacter:case c.L7.stateChangeTypes.FunctionSetHighlightedIndex:!B&&j(!0);break;default:B&&j(!1)}},onSelectedItemChange:t=>{"menu"!==e.role&&M(t)}},e.frameWindow?{environment:e.frameWindow}:null),{},{circularNavigation:!e.hasOwnProperty("circularNavigation")||e.circularNavigation,getA11yStatusMessage(){},getA11ySelectionMessage(){}})),H=z({onKeyDown:e=>{let{nativeEvent:t,key:n}=e;"Enter"===n&&(F.current=t)},onClick:e=>{e.target.focus&&e.target.focus()},"aria-haspopup":"menu"===e.role?"true":"listbox"}),$=K({onKeyDown:t=>{if(t.keyCode===d.zz&&V&&!e.propagateEscPress)t.stopPropagation();else if((t.keyCode===d.E$||t.keyCode===d.tW)&&W>-1&&"menu"===e.role&&V&&!y[W].disabled)F.current=t.nativeEvent,M({selectedItem:y[W]});else if(t.keyCode===d.P9&&Q>1)q(0===W?y.length:W-1);else if(t.keyCode===d.gs&&Q>1)q(W===y.length-1?0:W+1);else if(t.keyCode===d.OC&&_.current){const e=_.current.querySelector(`#${H.id}`);e&&e.focus()}}},{suppressRefError:!0}),Y=U(),X=e.ButtonComponent,J="menu"===e.role?{role:void 0,"aria-labelledby":void 0,"aria-haspopup":void 0,"aria-expanded":void 0}:{},Q=Math.min(y.length,e.maxCols||1),ee={display:"flex",flexDirection:Q>1?"row":"column",flexWrap:"wrap",width:e.itemWidth?Q*e.itemWidth:"auto",boxSizing:"content-box"},te=null!=e.icon?e.icon:{};return i.createElement("div",(0,o.Z)({className:s()(V&&"PSPDFKit-Input-Dropdown-open",L.root)},J,{"data-test-id":e["data-test-id"]}),i.createElement(p.TX,{tag:"div"},i.createElement("span",Y,e.accessibilityLabel)),i.createElement("div",{ref:_,className:s()(b().wrapper,{[b().disabledWrapper]:e.disabled,[b().isDisabled]:e.disabled})},X?X({btnComponentProps:H,selectedItem:G,ref:t,caretDirection:e.caretDirection,disabled:null!==(r=e.disabled)&&void 0!==r&&r,isOpen:V}):i.createElement(i.Fragment,null,N({item:G,isSelectedItem:!0,state:null,ref:t}),i.createElement("button",(0,o.Z)({},C(C({},H),e.disabled?{onClick:null}:null),{className:L.button,style:{minWidth:0},type:"button"}),i.createElement(m.Z,(0,o.Z)({type:`caret-${e.caretDirection}`,style:{width:12,height:"100%"},className:s()("PSPDFKit-Toolbar-Button-Icon",b().dropdownIcon,{[b().disabledDropdownIcon]:e.disabled})},te)),i.createElement(p.TX,{tag:"div"},i.createElement("span",null,null==G?void 0:G.label))))),i.createElement(u.m,null,i.createElement(g.Z,{referenceElement:_.current,measure:V,offsets:A},(t=>{let{ref:n,style:r}=t;const l="down"===e.caretDirection;let c;c=(e.frameWindow?e.frameWindow.innerWidth:_.current.ownerDocument.defaultView.innerWidth)>=v.Fg?_.current.offsetWidth:"auto";const u=r.top,d={maxHeight:l&&"auto"!==u?`calc(100vh - ${u}px)`:void 0,overflowY:"auto"};return i.createElement("div",{ref:n,style:C({minWidth:c},r)},i.createElement("div",(0,o.Z)({},$,{className:`${L.menu} ${s()({[S().hiddenMenu]:!V})}`,style:C(C({},d),ee),onMouseLeave:()=>q(null),role:"menu"===e.role?"menu":"listbox","aria-labelledby":H["aria-label"]?void 0:$["aria-labelledby"],"aria-label":H["aria-label"],"aria-hidden":!V}),V&&y.map(((t,n)=>{var o;const r=!!G&&(G.value||t.label)===(t.value||t.label),l=function(e,t,n){return t.indexOf(e)===n}(t,y,W);let c=(0,f.l4)();t.disabled&&(c=c.add("disabled")),l&&(c=c.add("focused")),r&&(c=c.add("selected")),t.disabled||l||r||(c=c.add("default"));const u=s()("PSPDFKit-Input-Dropdown-Item",{"PSPDFKit-Input-Dropdown-Item-disabled":t.disabled,"PSPDFKit-Input-Dropdown-Item-focused":!t.disabled&&l,"PSPDFKit-Input-Dropdown-Item-selected":!t.disabled&&r,"PSPDFKit-Input-Dropdown-Item-default":!t.disabled&&!r&&!l,[P().focusVisible]:l&&B}),d=Z(C({item:t,index:n,disabled:null!==(o=t.disabled)&&void 0!==o&&o,onClick:n=>{let{nativeEvent:o}=n;t.disabled||(F.current=o,"menu"===e.role&&V&&M({selectedItem:t}))}},"menu"===e.role?{"aria-selected":void 0,role:void 0}:h.G6?{}:{"aria-selected":void 0,"aria-label":r?I(T.selectedItem,{arg0:t.label}):void 0}));return i.createElement(i.Fragment,{key:`${O(t)}${n}`},i.createElement("div",{className:u},N({item:t,isSelectedItem:!1,state:c,itemComponentProps:d})),null!=k&&(null==k?void 0:k.index)===n&&(a||(a=i.createElement(k.node,null))))})),D))}))))}const A=(0,i.memo)(i.forwardRef(k));function O(e){return null!=e&&e.label?null==e?void 0:e.label:(null!=(null==e?void 0:e.value)&&"object"==typeof e.value&&"toString"in e.value&&"function"==typeof e.value.toString&&e.value.toString(),null!=(null==e?void 0:e.value)&&"string"==typeof e.value?e.value:"N/A")}const T=(0,l.vU)({accessibilityLabelDropdownGroupToggle:{id:"accessibilityLabelDropdownGroupToggle",defaultMessage:"{arg0} tools, toggle menu",description:"Accessible label to announce the button to open and close a toolbar menu which contains tools like shapes or ink annotations buttons."},selectedItem:{id:"selectedItem",defaultMessage:"{arg0}, selected",description:"Label for selected item in a dropdown"}})},84747:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var o=n(22122),r=n(17375),i=n(76154),a=n(67294),s=n(94184),l=n.n(s),c=n(27435),u=n.n(c),d=n(5462),p=n(97413);const f=["item"],h=["selectedItem"],m=a.memo(a.forwardRef((function(e,t){const{items:n,noInitialSelection:s,ItemComponent:c,ButtonComponent:m}=e,[b,w]=a.useState(null),{formatMessage:S}=(0,i.YB)(),E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Toolbar";return e.charAt(0).toUpperCase()+e.substr(1)}(n[0].item.dropdownGroup),P=a.useMemo((()=>n.find((e=>e.item.selected))||b||(s?null:n[0])),[n,s,b]),x=l()("PSPDFKit-Toolbar-DropdownGroup",E&&"PSPDFKit-Toolbar-DropdownGroup-"+E,e.className,P?"string"==typeof P.item.icon?P.item.icon:"string"==typeof P.item.type&&"custom"!==P.item.type?u().withDropdownIcon:void 0:void 0),D=e.items.map(g),C=P?g(P):null,k=a.useCallback((e=>{const{item:i}=e,s=(0,r.Z)(e,f),l=n.find((e=>null!=i?v(i,e):null));return a.createElement(c,(0,o.Z)({item:l},s,{ref:t}))}),[n,c,t]),A=a.useCallback((e=>{const{selectedItem:t}=e,i=(0,r.Z)(e,h),s=n.find((e=>null!=t?v(t,e):null));return(0,p.k)(s,"A dropdown item must be present for the button"),(0,p.k)(m,"A button must be available to render dropdown"),a.createElement(m,(0,o.Z)({selectedItem:s},i))}),[m,n]);return a.createElement(d.Z,{onSelect:(t,n)=>{const o=e.items.find((e=>v(n,e)));var r;null!=o&&(null===(r=e.onSelect)||void 0===r||r.call(e,t,o));if(b!==e.items.find((e=>v(n,e)))){const t=e.items.find((e=>v(n,e)));t&&w(t)}},items:D,value:C,ItemComponent:k,ButtonComponent:m?A:void 0,isActive:e.isActive,className:x,menuClassName:e.menuClassName,icon:e.icon,discreteDropdown:e.discreteDropdown,caretDirection:e.caretDirection,frameWindow:e.frameWindow,role:e.role,ref:t,accessibilityLabel:e.accessibilityLabel||S(y.accessibilityLabelDropdownGroupToggle,{arg0:E}),noInitialSelection:e.noInitialSelection,maxCols:e.maxCols,itemWidth:e.itemWidth,circularNavigation:e.circularNavigation,propagateEscPress:e.propagateEscPress,appendAfter:e.appendAfter,disabled:e.disabled},e.children)})));function g(e){var t,n,o,r;return{value:null!==(t=null!==(n=null!==(o=e.item.id)&&void 0!==o?o:e.item.title)&&void 0!==n?n:e.item.type)&&void 0!==t?t:"",icon:e.item.icon,label:null!==(r=e.item.title)&&void 0!==r?r:"",disabled:e.item.disabled}}function v(e,t){return t.item.id===e.value||t.item.title===e.value||t.item.type===e.value}const y=(0,i.vU)({accessibilityLabelDropdownGroupToggle:{id:"accessibilityLabelDropdownGroupToggle",defaultMessage:"{arg0} tools, toggle menu",description:"Accessible label to announce the button to open and close a toolbar menu which contains tools like shapes or ink annotations buttons."},selectedItem:{id:"selectedItem",defaultMessage:"{arg0}, selected",description:"Label for selected item in a dropdown"}})},11378:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(22122),r=n(67294),i=n(94184),a=n.n(i),s=n(3999);const l=r.forwardRef((function(e,t){const{selected:n,disabled:i}=e,l=a()("string"==typeof e.className&&e.className,"PSPDFKit-Toolbar-Node",n&&"PSPDFKit-Toolbar-Node-active",i&&"PSPDFKit-Toolbar-Node-disabled");return r.createElement(s.Z,(0,o.Z)({},e,{className:l,ref:t,itemComponentProps:e.itemComponentProps}))}))},44706:(e,t,n)=>{"use strict";n.d(t,{B:()=>f,Z:()=>h});var o=n(67294),r=n(76154),i=n(26353),a=n(84013),s=n(94184),l=n.n(s),c=n(85578),u=n.n(c),d=n(35129),p=n(11010);function f(e){let{children:t,onClose:n,isPrimary:r,position:s,intl:c,accessibilityLabel:f,onEntered:h,className:m}=e;const{formatMessage:g}=c,v=o.Children.count(t)>0;return o.createElement(a.Z,null,v&&o.createElement(i.Z,{timeout:{enter:window["PSPDFKit-disable-animations"]?0:150,exit:window["PSPDFKit-disable-animations"]?0:120},classNames:{enter:u().slideRightEnter,enterActive:u().slideRightEnterActive,enterDone:u().slideRightEnterDone,exit:u().slideRightExit,exitActive:u().slideRightExitActive},onEntered:h},o.createElement("div",{className:l()({[u().responsiveGroup]:!0,[u().primary]:r,[u().secondary]:!r,[u().stickToBottom]:"bottom"===s,"PSPDFKit-Toolbar-Responsive-Group":!0},m),role:"dialog","aria-label":f},o.createElement(p.Z,{type:"custom",title:g(d.Z.close),className:u().button,onPress:n},o.createElement("div",{className:u().animatedArrow})),o.createElement("div",{style:{flex:1}}),o.createElement("div",{className:u().items},t))))}const h=(0,r.XN)(f)},94505:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(22122),r=n(67294),i=n(94184),a=n.n(i),s=n(13448),l=n(44364),c=n.n(l);const u=r.memo(r.forwardRef((function(e,t){const{type:n,selected:i,disabled:l,onPress:u,icon:d,role:p,title:f,doNotAutoFocusOnFirstItem:h=!1}=e,m=r.useRef(!1),g=r.useCallback((function(e){e.preventDefault(),!l&&u&&u(e.nativeEvent,m.current)}),[u,l]),v=r.useCallback((function(){m.current=!0}),[]),y=r.useCallback((function(){m.current=!1}),[]),b=(0,s.Z)({icon:d,type:n,className:a()(void 0!==e.children&&c().withLabel,"PSPDFKit-Tool-Button-Icon",e.iconClassName)}),w=e.children||(b?null:f),S=a()(c().root,i&&c().isActive,l&&c().isDisabled,"string"==typeof e.className&&e.className,"PSPDFKit-Tool-Button",i&&"PSPDFKit-Tool-Button-active",l&&"PSPDFKit-Tool-Button-disabled");r.useEffect((()=>{!e.presentational&&t&&t.current&&!h&&t.current.focus()}),[e.presentational,t,h]);const E=r.createElement("button",(0,o.Z)({className:S,title:f,"aria-label":f,disabled:l,onClick:u?g:void 0,onKeyDown:u?v:void 0,onPointerUp:u?y:void 0,"aria-pressed":"annotate"!==n&&"responsive-group"!==n&&void 0!==i?i:void 0},e.itemComponentProps,{role:p||(e.itemComponentProps?e.itemComponentProps.role:void 0),type:"button",ref:t}),b,null!=w&&r.createElement("span",null,w));return e.presentational?r.createElement("div",null,r.createElement("div",{className:S,title:f,"aria-hidden":"true",role:"presentation"},b)):e.disabled?r.createElement("div",{className:a()({[c().disabledWrapper]:e.disabled})},E):E})))},3999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(22122),r=n(67294),i=n(94184),a=n.n(i),s=n(18571),l=n.n(s);const c=r.memo(r.forwardRef((function(e,t){const{node:n,title:i,selected:s,disabled:c}=e,u=r.useRef();r.useImperativeHandle(t,(()=>({focus:()=>{n instanceof n.ownerDocument.defaultView.HTMLElement&&n.focus()}}))),r.useLayoutEffect((()=>{const e=u&&u.current;e&&(e.innerHTML="",e.appendChild(n))}),[n]);const d=a()("PSPDFKit-Tool-Node",{"PSPDFKit-Tool-Node-active":s,"PSPDFKit-Tool-Node-disabled":c},e.className,l().root,{[l().disabled]:c,[l().annotationToolbar]:"annotationToolbar"===e.variant}),p=e.onPress?t=>{let{nativeEvent:n}=t;e.onPress&&e.onPress(n)}:void 0;return r.createElement("div",(0,o.Z)({onClick:p,className:d,title:i,"aria-label":i,tabIndex:c?-1:void 0,"aria-disabled":!!c||void 0},e.itemComponentProps,{ref:u}))})))},97528:(e,t,n)=>{"use strict";n.d(t,{Ei:()=>m,Wv:()=>f,ng:()=>v});var o=n(84121),r=n(80857),i=n(59386),a=n(83634),s=n(86071),l=n(65627),c=n(35129),u=n(24871),d=n(91859);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}const f=s.Z.filter((e=>e.color!==a.Z.DARK_BLUE)),h={MIN_TEXT_ANNOTATION_SIZE:5,MIN_INK_ANNOTATION_SIZE:16,MIN_SHAPE_ANNOTATION_SIZE:16,MIN_IMAGE_ANNOTATION_SIZE:5,MIN_STAMP_ANNOTATION_SIZE:15,MIN_WIDGET_ANNOTATION_SIZE:3,ENABLE_INK_SMOOTH_LINES:!0,INK_EPSILON_RANGE_OPTIMIZATION:10,SIGNATURE_SAVE_MODE:i.f.USING_UI,INITIAL_DESKTOP_SIDEBAR_WIDTH:300,IGNORE_DOCUMENT_PERMISSIONS:!1,SELECTION_OUTLINE_PADDING:function(e){return e.width>d.y$?10:13},RESIZE_ANCHOR_RADIUS:function(e){return e.width>d.y$?7:10},SELECTION_STROKE_WIDTH:2,TEXT_ANNOTATION_AUTOFIT_TEXT_ON_EXPORT:!0,TEXT_ANNOTATION_AUTOFIT_BOUNDING_BOX_ON_EDIT:!0,DISABLE_KEYBOARD_SHORTCUTS:!1,DEFAULT_INK_ERASER_CURSOR_WIDTH:12.5,COLOR_PRESETS:f,LINE_CAP_PRESETS:["none"].concat(u.a),LINE_WIDTH_PRESETS:null,HIGHLIGHT_COLOR_PRESETS:[a.Z.LIGHT_YELLOW,a.Z.LIGHT_BLUE,a.Z.LIGHT_GREEN,a.Z.LIGHT_RED].map((e=>({color:e,localization:c.Z[e.toCSSValue()]}))),TEXT_MARKUP_COLOR_PRESETS:s.Z.filter((e=>[a.Z.BLACK,a.Z.BLUE,a.Z.RED,a.Z.GREEN].includes(e.color))),NOTE_COLOR_PRESETS:l.W,PDF_JAVASCRIPT:!0,BREAKPOINT_MD_TOOLBAR:1070,BREAKPOINT_SM_TOOLBAR:768},m=Object.preventExtensions(function(e){for(var t=1;t{for(const t in e)g(void 0!==h[t],`Option \`${t}\` is not available in the \`Options\` object`),g(typeof h[t]==typeof e[t],`Option \`${t}\` is of incorrect type \`${typeof e[t]}\`, should be \`${typeof h[t]}\``)}},25387:(e,t,n)=>{"use strict";n.d(t,{$8O:()=>Po,$Jy:()=>Tt,$VE:()=>ht,$hO:()=>Ft,A8G:()=>Ee,AIf:()=>et,ArU:()=>Zn,B1n:()=>nt,BS3:()=>o,BWS:()=>se,Ce5:()=>g,D1d:()=>no,D5x:()=>Un,D_w:()=>$t,Dj2:()=>ue,Dl4:()=>q,Dqw:()=>uo,Dzg:()=>it,Ebp:()=>Fo,EpY:()=>kn,F6q:()=>Nt,FH6:()=>Ot,FHt:()=>M,FQb:()=>Go,FdD:()=>yt,G5w:()=>de,G6t:()=>wo,G8_:()=>Qt,GHc:()=>l,GW4:()=>pe,GXR:()=>qe,GZZ:()=>ze,GfR:()=>H,Gkm:()=>yo,Gox:()=>Wn,HS7:()=>Pt,HYy:()=>No,Han:()=>zo,Hbz:()=>pt,Hrp:()=>s,IFt:()=>mn,ILc:()=>Et,Ifu:()=>_t,IyB:()=>eo,J7J:()=>He,JQC:()=>Q,JRS:()=>Gn,JS9:()=>Qe,JwD:()=>Ae,JyO:()=>$e,K26:()=>dt,KA1:()=>Hn,KYU:()=>V,Kc8:()=>rn,Kpf:()=>zn,KqR:()=>rt,Kw7:()=>on,L2A:()=>co,L8n:()=>ct,L9g:()=>W,Lyo:()=>P,M3C:()=>at,M85:()=>St,ME7:()=>y,MGL:()=>po,MOe:()=>Fe,MYU:()=>$n,MfE:()=>ae,MuN:()=>fe,NAH:()=>ge,NB4:()=>wt,NDs:()=>Ye,NfO:()=>K,Nl1:()=>G,Oh4:()=>Yt,Q2U:()=>hn,QU3:()=>le,QYP:()=>j,Qm9:()=>fo,R1i:()=>ke,R7l:()=>mo,R8P:()=>Dt,RCc:()=>ie,RPc:()=>gn,RTr:()=>h,RvB:()=>je,RxB:()=>k,S$y:()=>Je,S0t:()=>yn,SdX:()=>Eo,T3g:()=>io,TG1:()=>Qo,TPT:()=>Me,TUA:()=>We,TYu:()=>so,Ty$:()=>sn,U7k:()=>Lo,UFK:()=>N,UFs:()=>re,UII:()=>u,UL9:()=>Qn,UP4:()=>xo,UX$:()=>Xn,UiQ:()=>Ce,Ui_:()=>Kt,VK7:()=>Ut,VNM:()=>Yo,VNu:()=>lr,VOt:()=>Io,Vje:()=>ir,Vpf:()=>go,Vu4:()=>Xe,W0l:()=>nn,WaW:()=>Tn,Whn:()=>Xt,WmI:()=>Ko,WsN:()=>tr,WtY:()=>v,Wyx:()=>qt,XTO:()=>ar,Xlm:()=>Z,Y4:()=>Ro,YHT:()=>d,YIz:()=>ut,YS$:()=>bn,ZDQ:()=>tt,ZGb:()=>T,ZLr:()=>p,ZbY:()=>fn,ZgW:()=>Bo,Zt9:()=>sr,_33:()=>Bn,_AY:()=>Mt,_Qf:()=>Ln,_TO:()=>Dn,_Yi:()=>Le,_fK:()=>dn,_ko:()=>F,_n_:()=>we,_uU:()=>ne,a33:()=>Te,aWu:()=>Pe,aYj:()=>L,b0l:()=>be,b4I:()=>Ho,bOH:()=>jo,bP3:()=>J,bV3:()=>xn,bVL:()=>Mn,bui:()=>An,bxr:()=>I,bzW:()=>qo,c3G:()=>Be,cbv:()=>Ge,ciU:()=>Mo,ckI:()=>gt,cyk:()=>U,dCo:()=>b,dEe:()=>Sn,dVW:()=>en,eFQ:()=>lt,eI4:()=>X,eJ4:()=>to,esN:()=>jt,f3N:()=>Ie,fAF:()=>wn,fDl:()=>Ht,fLm:()=>_o,fQw:()=>Ao,faS:()=>Rn,fnw:()=>w,fwq:()=>bo,g30:()=>Ve,g4f:()=>E,gF5:()=>Ct,gIV:()=>It,gbd:()=>f,hC8:()=>cn,heZ:()=>m,hlI:()=>Se,hpj:()=>B,ht3:()=>_,huI:()=>At,hv0:()=>Y,hw0:()=>qn,hxO:()=>vt,iJ2:()=>zt,iMs:()=>En,iQZ:()=>$,iZ1:()=>un,ieh:()=>In,iwn:()=>_n,iyZ:()=>_e,jJ7:()=>Jt,joZ:()=>ko,jzI:()=>xt,kD6:()=>Co,kRo:()=>R,kVz:()=>Fn,kg:()=>bt,kt4:()=>ao,l$y:()=>Do,lD1:()=>ce,lRe:()=>Cn,m3$:()=>Zt,mE7:()=>C,mGH:()=>tn,mLh:()=>S,m_C:()=>rr,mbD:()=>Yn,mfU:()=>Jo,mqf:()=>Ke,nFn:()=>Rt,nI6:()=>Zo,nmm:()=>r,oE1:()=>xe,oWy:()=>De,oZW:()=>Uo,obk:()=>vn,odo:()=>Vo,oj5:()=>c,p1u:()=>Bt,pNz:()=>Pn,pnu:()=>ot,poO:()=>ln,qKG:()=>vo,qRJ:()=>an,qV6:()=>oe,qZT:()=>Lt,qh0:()=>oo,rWQ:()=>ye,rm:()=>ro,rpU:()=>Vn,rxv:()=>a,sCM:()=>kt,sYK:()=>ft,skc:()=>ee,snK:()=>er,snh:()=>te,syg:()=>A,t$K:()=>Wo,tC1:()=>Nn,tLW:()=>Ze,tPZ:()=>ve,tS$:()=>Ue,tYC:()=>me,teI:()=>ho,tie:()=>st,tzG:()=>nr,u7V:()=>Gt,u9b:()=>O,uFU:()=>pn,uOP:()=>Xo,uo5:()=>To,vBn:()=>$o,vSH:()=>Ne,vVk:()=>On,vgx:()=>lo,vkF:()=>So,wG7:()=>jn,wPI:()=>Kn,wgG:()=>cr,wog:()=>Jn,wtk:()=>D,x0v:()=>Oe,xYE:()=>x,xhM:()=>Oo,xk1:()=>he,yET:()=>Vt,yPS:()=>or,yrz:()=>mt,yyM:()=>Re,zGM:()=>Wt,zKF:()=>z,zZV:()=>i});const o="CONNECTING",r="CONNECTED",i="CONNECTION_FAILED",a="SET_ANNOTATION_MANAGER",s="SET_BOOKMARK_MANAGER",l="SET_FORM_FIELD_VALUE_MANAGER",c="SET_FORM_FIELD_MANAGER",u="SET_COMMENT_MANAGER",d="SET_MENTIONABLE_USERS",p="SET_MAX_MENTION_SUGGESTIONS",f="SET_CHANGE_MANAGER",h="SET_HAS_FETCHED_INITIAL_RECORDS_FROM_INSTANT",m="SET_GROUP",g="SET_CLIENTS_UPDATE_CALLBACK",v="SET_TRANSFORM_CLIENT_TO_PAGE",y="FETCH_DOCUMENT_SUCCESS",b="FETCH_PAGES_SUCCESS",w="SET_BACKEND_PERMISSIONS",S="SCROLLED",E="JUMP_TO_RECT",P="JUMP_AND_ZOOM_TO_RECT",x="RESIZED",D="NEXT_PAGE",C="PREVIOUS_PAGE",k="SET_PAGE",A="SET_ZOOM_LEVEL",O="SET_ZOOM_STEP",T="SET_VIEWPORT_STATE",I="SET_SPREAD_SPACING",F="SET_PAGE_SPACING",M="SET_FIRST_PAGE_ALWAYS_SINGLE",_="SET_VIEWPORT_PADDING",R="ENABLE_PANNING",N="DISABLE_PANNING",L="ENABLE_PRINTING",B="DISABLE_PRINTING",j="ENABLE_EXPORT",z="DISABLE_EXPORT",K="ENABLE_READ_ONLY",Z="DISABLE_READ_ONLY",U="SHOW_ANNOTATIONS",V="HIDE_ANNOTATIONS",G="SHOW_COMMENTS",W="HIDE_COMMENTS",q="SHOW_ANNOTATION_NOTES",H="HIDE_ANNOTATION_NOTES",$="SET_FEATURES",Y="SET_SIDEBAR_MODE",X="SET_SIDEBAR_PLACEMENT",J="SET_SIDEBAR_OPTIONS",Q="SET_SIGNATURE_FEATURE_AVAILABILITY",ee="START_PRINTING",te="END_PRINTING",ne="ABORT_PRINTING",oe="UPDATE_PRINT_LOADING_INDICATOR",re="ZOOM_IN",ie="ZOOM_OUT",ae="ZOOM_TO_AUTO",se="ZOOM_TO_FIT_TO_VIEWPORT",le="ZOOM_TO_FIT_TO_WIDTH",ce="ROTATE",ue="ENABLE_DEBUG_MODE",de="SHOW_DEBUG_CONSOLE",pe="HIDE_DEBUG_CONSOLE",fe="SHOW_TOOLBAR",he="HIDE_TOOLBAR",me="ENABLE_ANNOTATION_TOOLBAR",ge="DISABLE_ANNOTATION_TOOLBAR",ve="SET_SCROLLBAR_OFFSET",ye="SET_LAYOUT_MODE",be="SET_SCROLL_MODE",we="SET_SCROLL_ELEMENT",Se="SET_ANNOTATION_CREATOR",Ee="SET_ANNOTATION_TOOLBAR_HEIGHT",Pe="UPDATE_TOOLBAR_ITEMS",xe="UPDATE_CURRENT_PRESET",De="SET_CURRENT_ITEM_PRESET",Ce="UPDATE_ANNOTATION_PRESETS",ke="ADD_ANNOTATION_PRESET_ID",Ae="SET_CURRENT_ITEM_PRESET_FROM_ANNOTATION",Oe="REMOVE_ANNOTATION_PRESET_ID",Te="DESELECT",Ie="TEXT_SELECTED",Fe="TEXT_DESELECTED",Me="SET_ANNOTATION_HOVER",_e="UNSET_ANNOTATION_HOVER",Re="SET_ANNOTATION_NOTE_HOVER",Ne="SET_ACTIVE_ANNOTATION_NOTE",Le="SET_SELECTED_ANNOTATIONS",Be="UNSET_SELECTED_ANNOTATION_SHOULD_DRAG",je="SET_SELECTED_TEXT_ON_EDIT",ze="FETCH_TEXT_LINES_SUCCESS",Ke="ENABLE_TEXT_HIGHLIGHTER_MODE",Ze="DISABLE_TEXT_HIGHLIGHTER_MODE",Ue="ENABLE_REDACT_TEXT_HIGHLIGHTER_MODE",Ve="DISABLE_REDACT_TEXT_HIGHLIGHTER_MODE",Ge="ENABLE_REDACT_SHAPE_RECTANGLE_MODE",We="DISABLE_REDACT_SHAPE_RECTANGLE_MODE",qe="ENABLE_INK_MODE",He="DISABLE_INK_MODE",$e="ENABLE_INK_ERASER_MODE",Ye="DISABLE_INK_ERASER_MODE",Xe="ENABLE_SIGNATURE_MODE",Je="DISABLE_SIGNATURE_MODE",Qe="ENABLE_SHAPE_MODE",et="DISABLE_SHAPE_MODE",tt="ENABLE_NOTE_MODE",nt="DISABLE_NOTE_MODE",ot="ENABLE_TEXT_MODE",rt="DISABLE_TEXT_MODE",it="ENABLE_STAMP_PICKER_MODE",at="ENABLE_STAMP_CUSTOM_MODE",st="DISABLE_STAMP_MODE",lt="ENABLE_INTERACTIONS",ct="DISABLE_INTERACTIONS",ut="SHOW_DOCUMENT_EDITOR",dt="HIDE_DOCUMENT_EDITOR",pt="ENABLE_MARQUEE_ZOOM",ft="DISABLE_MARQUEE_ZOOM",ht="SET_INTERACTION_MODE",mt="RESET_INTERACTION_MODE",gt="CREATE_COMMENTS",vt="CREATE_COMMENT_DRAFT",yt="UPDATE_COMMENTS",bt="DELETE_COMMENTS",wt="COMPUTE_COMMENT_MODE",St="CREATE_ANNOTATIONS",Et="CREATE_INK_ANNOTATION_ON_NEW_PAGE",Pt="CREATE_SHAPE_ANNOTATION_ON_NEW_PAGE",xt="CREATE_REDACTION_ANNOTATION_ON_NEW_PAGE",Dt="UPDATE_ANNOTATIONS",Ct="DELETE_ANNOTATIONS",kt="SET_ANNOTATIONS_TO_DELETE",At="CREATE_ATTACHMENT",Ot="SEARCH_FOR_TERM",Tt="FOCUS_NEXT_SEARCH_HIGHLIGHT",It="FOCUS_PREVIOUS_SEARCH_HIGHLIGHT",Ft="SHOW_SEARCH",Mt="HIDE_SEARCH",_t="FOCUS_SEARCH",Rt="BLUR_SEARCH",Nt="SET_SEARCH_IS_LOADING",Lt="SET_SEARCH_RESULTS",Bt="SET_SEARCH_STATE",jt="SET_SEARCH_PROVIDER",zt="SET_FORM_JSON",Kt="CREATE_FORM_FIELD_VALUES",Zt="SET_FORM_FIELD_VALUES",Ut="SET_FORMATTED_FORM_FIELD_VALUES",Vt="SET_EDITING_FORM_FIELD_VALUES",Gt="DELETE_FORM_FIELD_VALUES",Wt="CREATE_FORM_FIELDS",qt="UPDATE_FORM_FIELDS",Ht="REPLACE_FORM_FIELD",$t="DELETE_FORM_FIELDS",Yt="SET_DOCUMENT_OUTLINE",Xt="TOGGLE_DOCUMENT_OUTLINE_ELEMENT",Jt="SET_CUSTOM_OVERLAY_ITEM",Qt="REMOVE_CUSTOM_OVERLAY_ITEM",en="I18N_SET_LOCALE",tn="CREATE_SIGNATURE",nn="STORE_SIGNATURE",on="SET_STORED_SIGNATURES",rn="DELETE_STORED_SIGNATURE",an="UPDATE_STAMP_ANNOTATION_TEMPLATES",sn="SHOW_PASSWORD_PROMPT",ln="SET_HAS_PASSWORD",cn="UNLOCKED_VIA_MODAL",un="SET_ALLOWED_TILE_SCALES",dn="UPDATE_SELECTED_MARKUP_ANNOTATIONS",pn="SET_IS_EDITABLE_ANNOTATION",fn="SET_EDITABLE_ANNOTATION_TYPES",hn="SET_IS_EDITABLE_COMMENT",mn="SET_FORM_DESIGN_MODE",gn="SET_INK_ERASER_WIDTH",vn="RESET_DOCUMENT_STATE",yn="SET_DOCUMENT_HANDLE",bn="SET_DOCUMENT_HANDLE_OUTDATED",wn="UPDATE_CUSTOM_RENDERERS",Sn="ENABLE_COMMENT_MARKER",En="DISABLE_COMMENT_MARKER",Pn="START_DIGITAL_SIGNATURE",xn="END_DIGITAL_SIGNATURE",Dn="SET_SHOW_SIGNATURE_VALIDATION_STATUS_MODE",Cn="SET_DIGITAL_SIGNATURES",kn="START_REDACTION",An="END_REDACTION",On="SET_PREVIEW_REDACTION_MODE",Tn="SET_COLLAPSE_SELECTED_NOTE_CONTENT",In="INVALIDATE_AP_STREAMS",Fn="VALIDATE_AP_STREAMS",Mn="HISTORY_UPDATE_FROM_UNDO",_n="HISTORY_UPDATE_FROM_REDO",Rn="SET_HISTORY_CHANGE_CONTEXT",Nn="HISTORY_IDS_MAP_ADD",Ln="CLEAR_HISTORY",Bn="ENABLE_HISTORY",jn="DISABLE_HISTORY",zn="UPDATE_DOCUMENT_EDITOR_FOOTER_ITEMS",Kn="UPDATE_DOCUMENT_EDITOR_TOOLBAR_ITEMS",Zn="SET_EDITABLE_ANNOTATION_STATE",Un="SET_A11Y_STATUS_MESSAGE",Vn="SET_LAST_TOOLBAR_ACTION_USED_KEYBOARD",Gn="ENABLE_DOCUMENT_CROP_MODE",Wn="DISABLE_DOCUMENT_CROP_MODE",qn="SET_ON_ANNOTATION_RESIZE_START",Hn="SET_DOCUMENT_COMPARISON_STATE",$n="ENABLE_SCROLL_WHILE_DRAWING",Yn="DISABLE_SCROLL_WHILE_DRAWING",Xn="SET_REUSE_STATE",Jn="ENABLE_KEEP_SELECTED_TOOL",Qn="DISABLE_KEEP_SELECTED_TOOL",eo="SET_INSTANCE",to="SET_CUSTOM_UI_STORE",no="SET_SIDEBAR_WIDTH",oo="SET_READ_ONLY_ANNOTATION_FOCUS",ro="UNSET_READ_ONLY_ANNOTATION_FOCUS",io="SET_ANNOTATION_TOOLBAR_ITEMS_CALLBACK",ao="TOGGLE_CLIPBOARD_ACTIONS",so="SET_ON_WIDGET_CREATION_START_CALLBACK",lo="SET_FORM_DESIGNER_LOCAL_WIDGET_ANNOTATION",co="SET_INLINE_TOOLBAR_ITEMS_CALLBACK",uo="ADD_ANNOTATION_VARIANTS",po="ENABLE_CONTENT_EDITOR",fo="DISABLE_CONTENT_EDITOR",ho="CHANGE_CONTENT_EDITOR_SESSION_MODE",mo="ENABLE_LINK_MODE",go="DISABLE_LINK_MODE",vo="DISABLE_DRAWING_LINK_ANNOTATION_MODE",yo="SET_MEASUREMENT_SNAPPING",bo="SET_MEASUREMENT_PRECISION",wo="SET_MEASUREMENT_SCALE",So="SET_MEASUREMENT_VALUE_CONFIGURATION_CALLBACK",Eo="SET_MEASUREMENT_SCALES",Po="SET_MEASUREMENT_TOOL_STATE",xo="SET_HINT_LINES",Do="CONTENT_EDITOR/PAGE/LOADING",Co="CONTENT_EDITOR/PAGE/LOADED",ko="CONTENT_EDITOR/TEXT_BLOCK/INTERACTION/ACTIVE",Ao="CONTENT_EDITOR/TEXT_BLOCK/INTERACTION/TOGGLE",Oo="CONTENT_EDITOR/TEXT_BLOCK/INTERACTION/SELECT",To="CONTENT_EDITOR/TEXT_BLOCK/CREATE",Io="CONTENT_EDITOR/TEXT_BLOCK/UPDATE_INFO",Fo="CONTENT_EDITOR/TEXT_BLOCK/SET_FORMAT",Mo="CONTENT_EDITOR_/TEXT_BLOCK/RESIZE",_o="CONTENT_EDITOR_/TEXT_BLOCK/MOVE",Ro="CONTENT_EDITOR/SAVING",No="CONTENT_EDITOR/SET_DIRTY",Lo="CONTENT_EDITOR/FACE_LIST/LOADING",Bo="CONTENT_EDITOR/FACE_LIST/SET",jo="CONTENT_EDITOR_SET_EXIT_DIALOG",zo="CONTENT_EDITOR_SHOW_FONT_MISMATCH_TOOLTIP",Ko="CONTENT_EDITOR_HIDE_FONT_MISMATCH_TOOLTIP",Zo="CONTENT_EDITOR_FONT_MISMATCH_TOOLTIP_ABORT_CONTROLLER",Uo="ENABLE_MULTI_ANNOTATIONS_SELECTION_MODE",Vo="DISABLE_MULTI_ANNOTATIONS_SELECTION_MODE",Go="CREATE_ANNOTATION_GROUP",Wo="SET_SELECTED_GROUP",qo="DELETE_ANNOTATION_GROUP",Ho="REMOVE_ANNOTATION_FROM_GROUP",$o="SET_PULL_TO_REFRESH_STATE",Yo="SET_RICH_EDITOR_REF",Xo="FOCUS_WIDGET_ANNOTATION",Jo="SET_ON_COMMENT_CREATION_START_CALLBACK",Qo="INVALIDATE_PAGE_KEYS",er="CONTENT_EDITOR_ACTIVE_TEXT_BLOCK_DELETE",tr="CHANGE_SCROLL_STATE",nr="SET_CUSTOM_FONTS_READABLE_NAMES",or="ENABLE_MEASUREMENT_MODE",rr="DISABLE_MEASUREMENT_MODE",ir="SHOW_MEASUREMENT_SETTINGS",ar="HIDE_MEASUREMENT_SETTINGS",sr="SET_SECONDARY_MEASUREMENT_UNIT",lr="SET_ACTIVE_MEASUREMENT_SCALE",cr="SET_CALIBRATION_MODE"},91859:(e,t,n)=>{"use strict";n.d(t,{$P:()=>Z,Bs:()=>L,Dx:()=>C,Fg:()=>i,GI:()=>r,Hr:()=>x,I_:()=>D,J8:()=>I,Kk:()=>E,M5:()=>M,QS:()=>m,Qc:()=>q,Qq:()=>o,Qr:()=>R,RI:()=>s,SP:()=>O,Sk:()=>S,St:()=>G,Ui:()=>_,V4:()=>k,W3:()=>$,XU:()=>f,XZ:()=>v,YJ:()=>w,_2:()=>j,c1:()=>P,cY:()=>h,g3:()=>c,gZ:()=>b,h8:()=>p,i1:()=>W,j1:()=>u,mM:()=>K,nJ:()=>N,oW:()=>F,pt:()=>H,rB:()=>U,re:()=>A,rm:()=>l,sP:()=>V,wK:()=>y,xD:()=>d,y$:()=>a,zA:()=>B,zT:()=>z,zh:()=>g,zk:()=>T});const o=1200,r=1070,i=768,a=480,s=32768,l=18,c=50,u=a,d=a,p=320,f=250,h=.5,m=10,g=1.25,v=5,y=30,b=2,w=20,S=0,E=20,P=5,x=1,D=512,C=5,k=1.25,A="PSPDFKit-Root",O=32,T=32,I=5,F=0,M=1,_=96/72,R=5e3,N={LOW:75/72,MEDIUM:150/72,HIGH:300/72},L=2/3,B=595,j=842,z=50,K=96,Z=2*K,U=300,V=1e3,G=4.25,W=2,q=10,H=16383,$=4},75237:(e,t,n)=>{"use strict";n.d(t,{AQ:()=>d,ZP:()=>g,hD:()=>m});var o=n(84121),r=n(35369),i=n(83634),a=n(15973),s=n(24871);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function c(e){for(var t=1;tObject.keys(e).filter((t=>!f.includes(t)&&null!=e[t])).reduce(((t,n)=>(t[n]=e[n],t)),{});for(const e in d){const t=u[e];Object.getPrototypeOf(t)===a.UX?d[e]=h(c(c({},a.UX.defaultValues),t.defaultValues)):Object.getPrototypeOf(t)===a.On?d[e]=h(c(c({},a.On.defaultValues),t.defaultValues)):d[e]=h(t.defaultValues)}for(const e in p){const t=u[e];Object.getPrototypeOf(t)===a.UX?p[e]=h(c(c(c({},a.UX.defaultValues),t.defaultValues),p[e])):Object.getPrototypeOf(t)===a.On?p[e]=h(c(c(c({},a.On.defaultValues),t.defaultValues),p[e])):p[e]=h(c(c({},t.defaultValues),p[e]))}const m=(0,r.D5)([[a.FV,"highlight"],[a.xu,"underline"],[a.hL,"squiggle"],[a.R9,"strikeout"]]),g=(0,r.D5)(c(c({},d),p))},54097:(e,t,n)=>{"use strict";n.d(t,{J:()=>i,Z:()=>a});var o=n(35369),r=n(15973);const i=[r.Xs,r.FV,r.sK,r.Zc,r.o9,r.Qi,r.Hi,r.om,r.b3,r.hL,r.GI,r.R9,r.gd,r.xu,r.x_],a=(0,o.d0)(i)},79941:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(15973);const r=Object.freeze([o.Xs,o.FV,o.sK,o.Zc,o.o9,o.Qi,o.Hi,o.om,o.b3,o.Wk,o.hL,o.GI,o.R9,o.gd,o.x_,o.xu,o.Jn,o.R1].filter(Boolean))},151:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(52247);const r=Object.freeze([o.M.DRAW,o.M.IMAGE,o.M.TYPE])},84760:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(39745);const r=Object.freeze([new o.Z({name:"Caveat"}),new o.Z({name:"Pacifico"}),new o.Z({name:"Marck Script"}),new o.Z({name:"Meddon"})])},92457:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>r,_o:()=>i});const o=[{type:"sidebar-thumbnails"},{type:"sidebar-document-outline"},{type:"sidebar-annotations"},{type:"sidebar-bookmarks"},{type:"pager"},{type:"multi-annotations-selection"},{type:"pan"},{type:"zoom-out"},{type:"zoom-in"},{type:"zoom-mode"},{type:"spacer"},{type:"annotate"},{type:"ink"},{type:"highlighter"},{type:"text-highlighter"},{type:"ink-eraser"},{type:"signature"},{type:"image"},{type:"stamp"},{type:"note"},{type:"text"},{type:"callout"},{type:"line"},{type:"link"},{type:"arrow"},{type:"rectangle"},{type:"ellipse"},{type:"polygon"},{type:"cloudy-polygon"},{type:"polyline"},{type:"print"},{type:"document-editor"},{type:"document-crop"},{type:"search"},{type:"export-pdf"},{type:"debug"}],r=(0,n(35369).d0)(o),i=[...o.map((e=>e.type)),"layout-config","marquee-zoom","custom","responsive-group","comment","redact-text-highlighter","redact-rectangle","cloudy-rectangle","dashed-rectangle","cloudy-ellipse","dashed-ellipse","dashed-polygon","document-comparison","measure","undo","redo","form-creator","content-editor","distance","perimeter","rectangle-area","ellipse-area","polygon-area"]},28890:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(67366),r=n(25915);const i=(0,o.$j)((function(e,t){var n;let{restoreOnClose:o=!0}=t;const r=null===(n=e.frameWindow)||void 0===n?void 0:n.document;return{restoreOnCloseElement:o?null!=r&&r.hasFocus()?r.activeElement&&"function"==typeof r.activeElement.focus?r.activeElement:r.body:document.activeElement:null}}))(r.u_)},58924:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(67366),r=n(84121),i=n(67294);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}class s extends i.Component{constructor(){super(...arguments),(0,r.Z)(this,"elRef",i.createRef()),(0,r.Z)(this,"state",{styles:this._calculatePositionStyles()})}_calculatePositionStyles(){var e;const{referenceElement:t,horizontalAlignment:n}=this.props,{containerRect:o,offsets:r}=this.props,i=null!==(e=null==r?void 0:r.top)&&void 0!==e?e:0,a=this.elRef.current,s=t?t.getBoundingClientRect():null,l=a?a.getBoundingClientRect():null;let c=s?s.top+s.height:0;if(null!==l&&null!==s&&s.top+s.height+l.height>o.height&&0!==s.top&&(c=Math.max(0,s.top-l.height)),!a||!s)return{top:c+i,right:"auto",left:"auto"};if(a.offsetWidth>o.width)return{top:c+i,right:0,left:0};const u=this.props.isRTL?"right":"left",d=this.props.isRTL?"left":"right";let p="left"===u?s.left:s.right;switch(n){case"center":p-=(a.offsetWidth-s.width)/2;break;case"end":p=p-a.offsetWidth+s.width}return p<0?{top:c+i,[u]:0,[d]:"auto"}:p+a.offsetWidth>o.width?{top:c+i,[d]:0,[u]:"auto"}:"auto"===n&&p>o.width/2?{top:c+i,[u]:p-a.offsetWidth+s.width,[d]:"auto"}:{top:c+i,[u]:p,[d]:"auto"}}componentDidUpdate(e){(e.containerRect!==this.props.containerRect||this.props.measure&&!e.measure)&&this.setState({styles:this._calculatePositionStyles()})}componentDidMount(){this.setState({styles:this._calculatePositionStyles()})}render(){const{children:e}=this.props,t=function(e){for(var t=1;t({containerRect:e.containerRect})))(s)},76192:(e,t,n)=>{"use strict";n.d(t,{u:()=>o});const o={IMMEDIATE:"IMMEDIATE",INTELLIGENT:"INTELLIGENT",DISABLED:"DISABLED"}},45395:(e,t,n)=>{"use strict";n.d(t,{N:()=>o});const o={solid:"solid",dashed:"dashed",beveled:"beveled",inset:"inset",underline:"underline"}},87222:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});const o={SIDEBAR:"SIDEBAR",PANE:"PANE"}},89849:(e,t,n)=>{"use strict";n.d(t,{F:()=>o});const o={PASSWORD_REQUIRED:"PASSWORD_REQUIRED",CONNECTING:"CONNECTING",CONNECTED:"CONNECTED",CONNECTION_FAILED:"CONNECTION_FAILED"}},55024:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o});const o={documentA:"documentA",documentB:"documentB",result:"result"}},9946:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});const o={USE_OPEN_DOCUMENT:"USE_OPEN_DOCUMENT",USE_FILE_DIALOG:"USE_FILE_DIALOG"}},52247:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});const o={DRAW:"DRAW",IMAGE:"IMAGE",TYPE:"TYPE"}},67699:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});const o={DEFAULT:"DEFAULT",EXTERNAL:"EXTERNAL",HISTORY:"HISTORY"}},52842:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});const o={POINT:"POINT",STROKE:"STROKE"}},20792:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const o={TEXT_HIGHLIGHTER:"TEXT_HIGHLIGHTER",INK:"INK",INK_SIGNATURE:"INK_SIGNATURE",SIGNATURE:"SIGNATURE",STAMP_PICKER:"STAMP_PICKER",STAMP_CUSTOM:"STAMP_CUSTOM",SHAPE_LINE:"SHAPE_LINE",SHAPE_RECTANGLE:"SHAPE_RECTANGLE",SHAPE_ELLIPSE:"SHAPE_ELLIPSE",SHAPE_POLYGON:"SHAPE_POLYGON",SHAPE_POLYLINE:"SHAPE_POLYLINE",INK_ERASER:"INK_ERASER",NOTE:"NOTE",COMMENT_MARKER:"COMMENT_MARKER",TEXT:"TEXT",CALLOUT:"CALLOUT",PAN:"PAN",SEARCH:"SEARCH",DOCUMENT_EDITOR:"DOCUMENT_EDITOR",MARQUEE_ZOOM:"MARQUEE_ZOOM",REDACT_TEXT_HIGHLIGHTER:"REDACT_TEXT_HIGHLIGHTER",REDACT_SHAPE_RECTANGLE:"REDACT_SHAPE_RECTANGLE",DOCUMENT_CROP:"DOCUMENT_CROP",BUTTON_WIDGET:"BUTTON_WIDGET",TEXT_WIDGET:"TEXT_WIDGET",RADIO_BUTTON_WIDGET:"RADIO_BUTTON_WIDGET",CHECKBOX_WIDGET:"CHECKBOX_WIDGET",COMBO_BOX_WIDGET:"COMBO_BOX_WIDGET",LIST_BOX_WIDGET:"LIST_BOX_WIDGET",SIGNATURE_WIDGET:"SIGNATURE_WIDGET",DATE_WIDGET:"DATE_WIDGET",FORM_CREATOR:"FORM_CREATOR",LINK:"LINK",DISTANCE:"DISTANCE",PERIMETER:"PERIMETER",RECTANGLE_AREA:"RECTANGLE_AREA",ELLIPSE_AREA:"ELLIPSE_AREA",POLYGON_AREA:"POLYGON_AREA",CONTENT_EDITOR:"CONTENT_EDITOR",MULTI_ANNOTATIONS_SELECTION:"MULTI_ANNOTATIONS_SELECTION",MEASUREMENT:"MEASUREMENT",MEASUREMENT_SETTINGS:"MEASUREMENT_SETTINGS"}},77973:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});const o={SINGLE:"SINGLE",DOUBLE:"DOUBLE",AUTO:"AUTO"}},60132:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});const o={ANNOTATION_EDITING:"annotation_editing",FORMS:"acro_forms",DIGITAL_SIGNATURES:"digital_signatures",DOCUMENT_COMPARISON:"comparison",DOCUMENT_EDITING:"document_editing",WEB_VIEWER:"web:viewer",WEB_ANNOTATION_EDITING:"web:annotation_editing",INSTANT:"instant",SERVER_OPT_OUT_ANALYTICS:"server:disable-analytics",UI:"user_interface",TEXT_SELECTION:"text_selection",ELECTRON:"web:electron",FORM_DESIGNER:"editable_forms",COMMENTS:"comments",REDACTIONS:"redaction",ELECTRONIC_SIGNATURES:"electronic_signatures",CONTENT_EDITING:"content_editing",MEASUREMENT_TOOLS:"measurement_tools"}},24871:(e,t,n)=>{"use strict";n.d(t,{a:()=>r,u:()=>o});const o={square:"square",circle:"circle",diamond:"diamond",openArrow:"openArrow",closedArrow:"closedArrow",butt:"butt",reverseOpenArrow:"reverseOpenArrow",reverseClosedArrow:"reverseClosedArrow",slash:"slash"},r=Object.values(o)},4132:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});const o={WHOLE:"whole",ONE:"oneDp",TWO:"twoDp",THREE:"threeDp",FOUR:"fourDp",HALVES:"1/2",QUARTERS:"1/4",EIGHTHS:"1/8",SIXTEENTHS:"1/16"}},36489:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});const o={INCHES:"in",MILLIMETERS:"mm",CENTIMETERS:"cm",POINTS:"pt"}},79827:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});const o={INCHES:"in",MILLIMETERS:"mm",CENTIMETERS:"cm",POINTS:"pt",FEET:"ft",METERS:"m",YARDS:"yd",KILOMETERS:"km",MILES:"mi"}},56966:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});const o={FORM_DESIGNER_ERROR:"FORM_DESIGNER_ERROR",MEASUREMENT_ERROR:"MEASUREMENT_ERROR"}},18025:(e,t,n)=>{"use strict";n.d(t,{V9:()=>i,Y4:()=>r,Zi:()=>o});const o={COMMENT:"COMMENT",RIGHT_POINTER:"RIGHT_POINTER",RIGHT_ARROW:"RIGHT_ARROW",CHECK:"CHECK",CIRCLE:"CIRCLE",CROSS:"CROSS",INSERT:"INSERT",NEW_PARAGRAPH:"NEW_PARAGRAPH",NOTE:"NOTE",PARAGRAPH:"PARAGRAPH",HELP:"HELP",STAR:"STAR",KEY:"KEY"},r={[o.COMMENT]:"comment",[o.RIGHT_POINTER]:"rightPointer",[o.RIGHT_ARROW]:"rightArrow",[o.CHECK]:"check",[o.CIRCLE]:"circle",[o.CROSS]:"cross",[o.INSERT]:"insert",[o.NEW_PARAGRAPH]:"newParagraph",[o.NOTE]:"note",[o.PARAGRAPH]:"paragraph",[o.HELP]:"help",[o.STAR]:"star",[o.KEY]:"key"},i=Object.keys(r).reduce(((e,t)=>(e[r[t]]=t,e)),{})},63632:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});const o={PDFA_1A:"pdfa-1a",PDFA_1B:"pdfa-1b",PDFA_2A:"pdfa-2a",PDFA_2U:"pdfa-2u",PDFA_2B:"pdfa-2b",PDFA_3A:"pdfa-3a",PDFA_3U:"pdfa-3u",PDFA_3B:"pdfa-3b",PDFA_4:"pdfa-4",PDFA_4E:"pdfa-4e",PDFA_4F:"pdfa-4f"}},39511:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});const o={DOM:"DOM",EXPORT_PDF:"EXPORT_PDF"}},80440:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});const o={LOW:"LOW",MEDIUM:"MEDIUM",HIGH:"HIGH"}},5038:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});const o={SharePoint:"SharePoint",Salesforce:"Salesforce",Maui_Android:"Maui_Android",Maui_iOS:"Maui_iOS",Maui_MacCatalyst:"Maui_MacCatalyst",Maui_Windows:"Maui_Windows"}},72131:(e,t,n)=>{"use strict";let o;n.d(t,{J:()=>o}),function(e){e.NO="NO",e.VIA_VIEW_STATE="VIA_VIEW_STATE",e.VIA_BACKEND_PERMISSIONS="VIA_BACKEND_PERMISSIONS",e.LICENSE_RESTRICTED="LICENSE_RESTRICTED"}(o||(o={}))},51731:(e,t,n)=>{"use strict";n.d(t,{V:()=>o});const o={TOP:"TOP",BOTTOM:"BOTTOM",LEFT:"LEFT",RIGHT:"RIGHT",TOP_LEFT:"TOP_LEFT",TOP_RIGHT:"TOP_RIGHT",BOTTOM_RIGHT:"BOTTOM_RIGHT",BOTTOM_LEFT:"BOTTOM_LEFT"}},47710:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});const o={CONTINUOUS:"CONTINUOUS",PER_SPREAD:"PER_SPREAD",DISABLED:"DISABLED"}},96617:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});const o={TEXT:"text",PRESET:"preset",REGEX:"regex"}},68382:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const o={SELECTED:"SELECTED",EDITING:"EDITING"}},64494:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});const o={IF_SIGNED:"IF_SIGNED",HAS_WARNINGS:"HAS_WARNINGS",HAS_ERRORS:"HAS_ERRORS",NEVER:"NEVER"}},19702:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});const o={ANNOTATIONS:"ANNOTATIONS",BOOKMARKS:"BOOKMARKS",DOCUMENT_OUTLINE:"DOCUMENT_OUTLINE",THUMBNAILS:"THUMBNAILS",CUSTOM:"CUSTOM"}},65872:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});const o={START:"START",END:"END"}},37231:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});const o={signatureOnly:"signatureOnly",signatureAndDescription:"signatureAndDescription",descriptionOnly:"descriptionOnly"}},67628:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});const o={ELECTRONIC_SIGNATURES:"electronic_signatures",LEGACY_SIGNATURES:"legacy_signatures",NONE:"none"}},59386:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});const o={ALWAYS:"ALWAYS",NEVER:"NEVER",USING_UI:"USING_UI"}},89e3:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});const o={TOP:"TOP",BOTTOM:"BOTTOM"}},28098:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});const o={AUTO:"AUTO",FIT_TO_WIDTH:"FIT_TO_WIDTH",FIT_TO_VIEWPORT:"FIT_TO_VIEWPORT",CUSTOM:"CUSTOM"}},68258:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>f,sS:()=>p,z5:()=>d});var o=n(80857),r=n(29662),i=n.n(r),a=n(57742),s=n(13997),l=n(53678);const c=(0,o.Z)("I18n"),u=e=>e.split("-")[0],d=e=>{let t=e;return i().includes(t)||(t=u(t),c(i().includes(t),`The "${t}" locale is not supported. Available locales are: ${i().join(", ")}. You can also add "${t}" as a custom one with PSPDFKit.I18n.locales.push('${t}')`)),t};async function p(e){await(0,a.EV)(e),await(0,a.wP)(u(e))}const f={locales:i(),messages:a.ZP,preloadLocalizationData:async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"string"==typeof t.baseUrl&&(0,l.Pn)(t.baseUrl);const o=t.baseUrl||(0,s.SV)(window.document);n.p=o;const r=d(e);await p(r)}}},29662:e=>{e.exports=["cs","cy","da","de","el","en-GB","en","es","fi","fr-CA","fr","hr","id","it","ja","ko","ms","nb-NO","nl","pl","pt-PT","pt","ru","sk","sl","sv","th","tr","uk","zh-Hans","zh-Hant"]},57742:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>l,wP:()=>u,EV:()=>c});var o=n(80857),r=n(37756);const i={cs:()=>n.e(3005).then(n.t.bind(n,12282,23)),cy:()=>n.e(7050).then(n.t.bind(n,26873,23)),da:()=>n.e(752).then(n.t.bind(n,5407,23)),de:()=>n.e(8869).then(n.t.bind(n,60333,23)),el:()=>n.e(1882).then(n.t.bind(n,80056,23)),en:()=>n.e(5014).then(n.t.bind(n,32778,23)),es:()=>n.e(1252).then(n.t.bind(n,53802,23)),fi:()=>n.e(5528).then(n.t.bind(n,15857,23)),fr:()=>n.e(1145).then(n.t.bind(n,75828,23)),hr:()=>n.e(9677).then(n.t.bind(n,34029,23)),id:()=>n.e(5192).then(n.t.bind(n,32419,23)),it:()=>n.e(3424).then(n.t.bind(n,81998,23)),ja:()=>n.e(4728).then(n.t.bind(n,55389,23)),ko:()=>n.e(1089).then(n.t.bind(n,97301,23)),ms:()=>n.e(1518).then(n.t.bind(n,55367,23)),nb:()=>n.e(2279).then(n.t.bind(n,93673,23)),nl:()=>n.e(9486).then(n.t.bind(n,80953,23)),pl:()=>n.e(6523).then(n.t.bind(n,12533,23)),pt:()=>n.e(4932).then(n.t.bind(n,28708,23)),ru:()=>n.e(1385).then(n.t.bind(n,63409,23)),sk:()=>n.e(1077).then(n.t.bind(n,87042,23)),sl:()=>n.e(1277).then(n.t.bind(n,13367,23)),sv:()=>n.e(2727).then(n.t.bind(n,64520,23)),th:()=>n.e(1063).then(n.t.bind(n,69909,23)),tr:()=>n.e(9384).then(n.t.bind(n,99102,23)),uk:()=>n.e(1843).then(n.t.bind(n,32058,23)),zh:()=>n.e(4072).then(n.t.bind(n,2725,23))},a=(0,o.Z)("I18n"),s={},l=s;async function c(e){if(!(e in s))try{const t=await r.o[e]();s[e]=t.default}catch(t){a(!1,`Cannot find translations for "${e}". Please retry or add them manually to PSPDFKit.I18n.messages["${e}"]`)}return s[e]}async function u(e){if(i[e])try{await i[e]()}catch(t){a(!1,`Cannot find locale data for "${e}". Please retry or contact support for further assistance.`)}}},37756:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const o={cs:()=>n.e(3579).then(n.t.bind(n,46984,19)),cy:()=>n.e(7578).then(n.t.bind(n,50706,19)),da:()=>n.e(1139).then(n.t.bind(n,32156,19)),de:()=>n.e(1009).then(n.t.bind(n,47875,19)),el:()=>n.e(1323).then(n.t.bind(n,87908,19)),"en-GB":()=>n.e(6045).then(n.t.bind(n,29207,19)),en:()=>n.e(1874).then(n.t.bind(n,70840,19)),es:()=>n.e(473).then(n.t.bind(n,59657,19)),fi:()=>n.e(9390).then(n.t.bind(n,5317,19)),"fr-CA":()=>n.e(2916).then(n.t.bind(n,76215,19)),fr:()=>n.e(3360).then(n.t.bind(n,28435,19)),hr:()=>n.e(157).then(n.t.bind(n,24733,19)),id:()=>n.e(9726).then(n.t.bind(n,33615,19)),it:()=>n.e(8839).then(n.t.bind(n,24068,19)),ja:()=>n.e(3463).then(n.t.bind(n,87854,19)),ko:()=>n.e(1168).then(n.t.bind(n,23980,19)),ms:()=>n.e(1391).then(n.t.bind(n,48853,19)),"nb-NO":()=>n.e(4966).then(n.t.bind(n,16844,19)),nl:()=>n.e(5677).then(n.t.bind(n,14314,19)),pl:()=>n.e(4899).then(n.t.bind(n,16365,19)),"pt-PT":()=>n.e(5431).then(n.t.bind(n,55910,19)),pt:()=>n.e(517).then(n.t.bind(n,7638,19)),ru:()=>n.e(8057).then(n.t.bind(n,21652,19)),sk:()=>n.e(9971).then(n.t.bind(n,57298,19)),sl:()=>n.e(5595).then(n.t.bind(n,33943,19)),sv:()=>n.e(6530).then(n.t.bind(n,99649,19)),th:()=>n.e(5666).then(n.t.bind(n,81446,19)),tr:()=>n.e(407).then(n.t.bind(n,18141,19)),uk:()=>n.e(3095).then(n.t.bind(n,76911,19)),"zh-Hans":()=>n.e(6678).then(n.t.bind(n,47224,19)),"zh-Hant":()=>n.e(7579).then(n.t.bind(n,58372,19))}},3479:(e,t,n)=>{e.exports=n(74855).default},31835:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});class o{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.events=e,this.listeners={}}on(e,t){if("function"!=typeof t)throw new TypeError("Listener must be a function");if(!this.supportsEvent(e))throw new TypeError(`Event '${e}' is not supported. Only supporting ${this.events.join(", ")}`);this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t)}off(e,t){if("function"!=typeof t)throw new TypeError("Listener must be a function");if(!this.supportsEvent(e))throw new TypeError(`Event '${e}' is not supported. Only supporting ${this.events.join(", ")}`);const n=this.listeners[e]||[];n.forEach(((e,o)=>{e===t&&n.splice(o,1)})),0===n.length&&delete this.listeners[e]}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{e.call(null,...n)}))}supportsEvent(e){return 0===this.events.length||-1!==this.events.indexOf(e)}}},8503:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var o=n(84121),r=n(35369),i=n(3534),a=n(76192),s=n(96846);class l{constructor(e,t){(0,o.Z)(this,"localFormFieldsMapping",(0,r.D5)()),(0,o.Z)(this,"onCreate",(e=>{this.localFormFieldsMapping=this.localFormFieldsMapping.set(e.id,e.name)})),(0,o.Z)(this,"onUpdate",(e=>{this.onCreate(e)})),(0,o.Z)(this,"onDelete",(e=>{this.localFormFieldsMapping=this.localFormFieldsMapping.delete(e.id)})),this.formFieldProvider=e,this.localFormFieldCallbacks=t}createBackendObject(e){return this.formFieldProvider.createFormField(e)}updateBackendObject(e){return this.formFieldProvider.updateFormField(e)}deleteBackendObject(e){return this.formFieldProvider.deleteFormField(e)}createStoreObjects(e){this.localFormFieldsMapping=this.localFormFieldsMapping.withMutations((t=>{e.forEach((e=>{t.set(e.id,e.name)}))})),this.localFormFieldCallbacks.createFormFields(e)}updateStoreObjects(e){this.localFormFieldsMapping=this.localFormFieldsMapping.withMutations((t=>{e.forEach((e=>{t.set(e.id,e.name)}))})),this.localFormFieldCallbacks.updateFormFields(e)}deleteStoreObjects(e){this.localFormFieldsMapping=this.localFormFieldsMapping.withMutations((t=>{e.forEach((e=>{t.delete(e)}))})),this.localFormFieldCallbacks.deleteFormFields(e)}validateObject(e){if(!e.name||"string"!=typeof e.name||!e.id||"string"!=typeof e.id)return!1;try{return(0,i.Gu)(e),!0}catch(e){return!1}}getObjectById(e){const t=this.localFormFieldsMapping.get(e);return t?this.localFormFieldCallbacks.getFormFieldByName(t):null}getObjectId(e){return e.id}refresh(){this.localFormFieldCallbacks.refreshSignaturesInfo()}syncChanges(){return this.formFieldProvider.syncChanges()}}class c extends s.a{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.u.IMMEDIATE,r=arguments.length>3?arguments[3]:void 0;super(new l(e,t),n,r),(0,o.Z)(this,"loadFormFields",function(){let e=null;return async function(){e||(e=this.formFieldProvider.loadFormFields()),await e}}()),this.formFieldProvider=e}}},60797:(e,t,n)=>{"use strict";n.d(t,{D:()=>l,V:()=>s});var o=n(84121),r=n(35369);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;t{Object.defineProperty(n,e,{get(){return this.get(e)},set(t){this.set(e,t)}})}))}class l extends((0,r.WV)({})){constructor(e){super(e)}}},55615:(e,t,n)=>{"use strict";n.d(t,{mH:()=>f,ZP:()=>v,il:()=>g});var o=n(84121),r=n(35369),i=n(21614),a=n(50974);function s(e,t){const n=t.record_rev,o=e.stagedRecordsChanges;if((0,a.kG)("number"==typeof n&&n>=0,"Tried to apply changes but the server responded with no `record_rev`"),(0,a.kG)(n>=e.localRecordsRev,"The server revision number is lower than the current one."),n<=e.localRecordsRev)return e;(0,a.kG)("number"==typeof t.previous_record_rev,"The payload must have a `previous_record_rev`"),(0,a.kG)(t.previous_record_rev>=e.localRecordsRev,"The payload's `previous_record_rev` is unknown to us, this means we missed out on changes.");let i=0;const s=e.requiredAttachmentIds;let l=(0,r.l4)(),c=(0,r.aV)();const u=[],d=e.localRecordsContents.withMutations((e=>{let n;n={accepted:{created:t=>{let{id:n,permissions:r,group:s,isAnonymous:l}=t;(0,a.kG)(!e.has(n),"There's already a record with the newly created record id");const c=o.find((e=>e.id===n));if(!c)return;c.resolve(null);const{content:u}=c;e.set(n,{content:u,permissions:r,group:s,isAnonymous:l}),i++},updated:t=>{let{id:n,permissions:r,group:s,isAnonymous:l}=t;(0,a.kG)(e.has(n),"Tried to update a record that is not present");const c=o.find((e=>e.id===n));if(!c)return;c.resolve(!0);const{content:u}=c;e.set(n,{content:u,permissions:r,group:s,isAnonymous:l}),i++},deleted:t=>{(0,a.kG)(e.has(t),"Tried to delete a record that is not present");const n=o.find((e=>e.id===t));n&&(n.resolve(!0),e.delete(t),i++)}},rejected:(e,t)=>{let[n,r]=t;const d=o.find((e=>e.id===n));if(d)switch(i++,r){case"conflict":d.reject(new a.p2("The server rejected the change due to a conflict")),"created"!==e&&u.push(n);break;case"attachment_not_found":{const e=Object.keys(d.attachments),t=!s.intersect(e).isEmpty();if(d.attachments&&!t&&Object.keys(d.attachments).length>0){l=l.union(Object.keys(d.attachments)),c=c.push(d);break}}default:d.reject(new a.p2("The server rejected the change")),"created"!==e&&u.push(n)}},changes:{created:t=>{(0,a.kG)(!e.has(t.id),"The change set tried to add a record that is already present");const{content:n,permissions:o,group:r,isAnonymous:i}=t;e.set(t.id,{content:n,permissions:o,group:r,isAnonymous:i})},updated:t=>{(0,a.kG)(e.has(t.id),`The change set tried to update a record with id ${t.id} that was not present`);const{content:n,permissions:o,group:r,isAnonymous:i}=t;e.set(t.id,{content:n,permissions:o,group:r,isAnonymous:i}),u.push(t.id)},deleted:t=>{(0,a.kG)(e.has(t),`The change set you tried to delete a record with id ${t} that was not present`),e.delete(t),u.push(t)}}},t.accepted.created.forEach(n.accepted.created),t.accepted.updated.forEach(n.accepted.updated),t.accepted.deleted.forEach(n.accepted.deleted),["created","updated","deleted"].forEach((e=>{Object.entries(t.rejected[e]).forEach((t=>{let o=t[1];"conflict"!==o&&"attachment_not_found"!==o&&(o=null),n.rejected(e,[t[0],o])}))})),t.changes.created.forEach(n.changes.created),t.changes.updated.forEach(n.changes.updated),t.changes.deleted.forEach(n.changes.deleted)}));(0,a.kG)(i===o.size,"Some changes were not processed by the server");const p=function(e,t){const n=e.localRecordsChanges.filter((e=>"created"===e.type||!t.includes(e.id)||(e.reject(new a.p2("Request was cleared because a newer revision arrived.")),!1)));return e.set("localRecordsChanges",n)}(e,(0,r.aV)(u));return p.withMutations((e=>e.set("requiredAttachmentIds",l).update("localRecordsChanges",(e=>e.merge(c))).set("stagedRecordsChanges",(0,r.aV)()).set("localRecordsContents",d).set("localRecordsRev",n)))}class l{constructor(e,t){(0,o.Z)(this,"_currentDelay",0),this._initialDelay=e,this._delayGrowthCap=t,this._currentDelay=e}schedule(e){const t=this._currentDelay;this.cancel(),te()),t)}cancel(){this._timeout&&(clearTimeout(this._timeout),this._timeout=null)}reset(){this._currentDelay=this._initialDelay,this.cancel()}}var c=n(23413),u=n(89551);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function p(e){for(var t=1;t{e._currentRequest&&!e._currentRequestHasChanges&&(e._abortCurrentRequest(),setTimeout((()=>e.nextCycle().catch(console.log)),0))}))}class v{constructor(e){let{getState:t,setState:n,onChanges:r,onAcceptedRecords:i,longPollingTimeout:a=f,backoffTimer:s=new l(1e3,6e4),RequestClass:u=c.Z}=e;(0,o.Z)(this,"onDocumentHandleConflictCallback",(()=>{})),(0,o.Z)(this,"_lastAbortedRequest",null),(0,o.Z)(this,"_handleBeforeUnload",(()=>{this._abortCurrentRequest()})),this._currentRequestHasChanges=!1,this._isDestroyed=!1,this.getState=t,this.setState=n,this.onChangesCallback=r||(()=>{}),this.onAcceptedRecordsCallback=i||(()=>{}),this.RequestClass=u,this._longPollingTimeout=a,this._backoffTimer=s,window.addEventListener("beforeunload",this._handleBeforeUnload),m.add(this)}async nextCycle(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._longPollingTimeout;if(this._isDestroyed)return;if(this._currentRequest&&this._currentRequestHasChanges)return(0,a.kG)(this._currentRequestPromise,"Expected to have request running but no one was ever made."),this._currentRequestPromise;this._currentRequest&&(this._abortCurrentRequest(),this._backoffTimer&&this._backoffTimer.cancel());const o=this.getState(),l=o.localRecordsChanges;this.setState(o.set("localRecordsChanges",(0,r.aV)()).set("stagedRecordsChanges",l));const c=this._createSyncRequest(),d=!l.isEmpty(),f=new Promise(((n,o)=>{e=n,t=o})),m=(0,i.v4)(),g={request_id:m,record_rev:o.localRecordsRev,changes:{created:l.filter((e=>"created"===e.type)).map((e=>{let{id:t,content:n,group:o,isAnonymous:r}=e;return p(p(p({id:t},"boolean"==typeof r&&{isAnonymous:r}),n&&{content:n}),o&&{group:o})})).toJS(),updated:l.filter((e=>"updated"===e.type)).map((e=>{let{id:t,content:n,group:o,isAnonymous:r}=e;return p(p(p({id:t},"boolean"==typeof r&&{isAnonymous:r}),n&&{content:n}),o&&{group:o})})).toJS(),deleted:l.filter((e=>"deleted"===e.type)).map((e=>e.id)).toJS()},timeout:d?0:n},v=o.requiredAttachmentIds.isEmpty()?g:function(e,t){const n=new FormData;return n.append("sync",JSON.stringify(e)),t.requiredAttachmentIds.forEach((e=>{var o;n.append(e,null===(o=t.localRecordsChanges.find((t=>t.attachments.hasOwnProperty(e))))||void 0===o?void 0:o.attachments[e])})),n}(g,o);return c.request({method:"POST",data:v}).then((t=>{void 0!==t.request_id&&(0,a.kG)(t.request_id===m,"The response doesn't match the client request ID"),(0,a.kG)(c!==this._lastAbortedRequest,"A manually aborted request still managed to resolve."),(0,a.kG)(c===this._currentRequest,"Expected the resolved request to be the latest created request."),(0,a.kG)(!this._isDestroyed,"The instance is destroyed yet the request managed to resolve.");const n=this.getState(),o=s(n,p(p({},t),{},{previous_record_rev:n.localRecordsRev}));this.setState(o),this._currentRequestHasChanges=!1,this._currentRequest=null,h-=1,e();try{t.record_rev>n.localRecordsRev&&(this.onAcceptedRecordsCallback(t.accepted),this.onChangesCallback(t.changes)),this._scheduleNextCycle(!1,(()=>!o.localRecordsChanges.isEmpty()))}catch(e){throw h+=1,e}})).catch((e=>{if("Outdated layer handle"===e.message&&!this._isDestroyed)return this.onDocumentHandleConflictCallback(),this.destroy(),t();c===this._lastAbortedRequest?t(new a.p2("A manually aborted request still managed to reject.")):c!==this._currentRequest?t(new a.p2("Expected the reject request to be the latest created request.")):this._isDestroyed?t(new a.p2("The instance is destroyed yet the request managed to reject.")):t(new a.p2("Pushing changes failed"+(e&&e.message?`: ${e.message}`:"")));const n=(0,u.n)({oldChanges:l,newChanges:this.getState().localRecordsChanges});this.setState(o.set("localRecordsChanges",n).set("stagedRecordsChanges",(0,r.aV)())),this._currentRequestHasChanges=!1,this._currentRequest=null,h-=1,this._scheduleNextCycle(!0)})),h+=1,h>3&&(0,a.ZK)(`PSPDFKit: detected ${h} open sync requests. This might be due to multiple PSPDFKit for Web instances running in parallel, did you forget to \`unload\` any of them? Due to the browser limit of maximum number of default simultaneous persistent connections per server, this might cause subsequent requests to be queued and processed later which might result in a slowdown for your app.`),this._currentRequest=c,this._currentRequestHasChanges=d,this._currentRequestPromise=f,f}setOnDocumentHandleConflictCallback(e){this.onDocumentHandleConflictCallback=e}destroy(){this._abortCurrentRequest(),window.removeEventListener("beforeunload",this._handleBeforeUnload),this._isDestroyed=!0,m.delete(this)}log(e){(0,a.cM)(e)}_scheduleNextCycle(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>!0;const n=()=>{this.nextCycle().catch(this.log)};e?this._backoffTimer.schedule(n):(this._backoffTimer.reset(),(this._longPollingTimeout>0||t())&&n())}_createSyncRequest(){const{serverURL:e,authPayload:t}=this.getState().requestInfo;return(0,a.kG)("string"==typeof e,"Cannot call request without serverURL"),(0,a.kG)(t&&"string"==typeof t.auth_token,"Cannot call request without authPayload"),new this.RequestClass(e,t.auth_token)}_abortCurrentRequest(){this._currentRequest&&(h-=1,this._lastAbortedRequest=this._currentRequest,this._currentRequest.abort(),this._currentRequest=null)}}},89551:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var o=n(50974);function r(){let{oldChanges:e,newChanges:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e;return t.forEach((e=>{n=i({oldChanges:n,newChange:e})})),n}function i(){let{oldChanges:e,newChange:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t,r=e.filter((e=>{if(e.id===t.id){switch(t.type){case"updated":if("created"===e.type){n=a(e,t.set("type","created"));break}if("updated"===e.type){n=a(e,t);break}case"deleted":if("created"===e.type){e.resolve(),t.resolve(),n=null;break}if("updated"===e.type){n=a(e,t);break}default:e.reject(new o.p2("Request was cleared because a more recent update was queued."))}return!1}return!0}));return n&&(r=r.push(n)),r}function a(e,t){const n=e.resolve,o=t.resolve,r=e.reject,i=t.reject;return t.set("resolve",(e=>{n(e),o(e)})).set("reject",(e=>{r(e),i(e)}))}},71652:(e,t,n)=>{"use strict";n.d(t,{V:()=>r,h:()=>i});var o=n(50974);function r(e,t){let n;return n=e instanceof Error?e:new Error(e),Object.setPrototypeOf(n,r.prototype),n.reason=t,n}function i(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new r(n?`Some changes could not be ${t?"synced":"saved"} to backend: ${n}`:`Some changes could not be ${t?"synced":"saved"} to backend.`,e)}r.prototype=Object.create(o.p2.prototype,{name:{value:"PSPDFKitSaveError",enumerable:!1}})},83253:(e,t,n)=>{"use strict";n.d(t,{y:()=>o,z:()=>r});const o=1,r=2},34710:(e,t,n)=>{"use strict";n.d(t,{f:()=>s});var o=n(84121),r=n(35369),i=n(50974),a=n(88804);class s{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4?arguments[4]:void 0;if(this.examples=t,this.customStyles=n,this.document=a?a.ownerDocument:e,this.wrapper=e.createElement("div"),this.wrapper.setAttribute("aria-hidden","true"),this.wrapper.className=o,this._setStyles(this.wrapper,Object.assign({},s.defaultWrapperStyles,n)),t instanceof r.aV)t.forEach((t=>{const n="string"==typeof t?t:"",o=e.createElement("span");o.setAttribute("aria-hidden","true"),o.style.display="inline-block",o.style.whiteSpace="pre-wrap",o.innerText=n,this.wrapper.appendChild(o)}));else{const e="string"==typeof t?t:"";this.wrapper.innerHTML=e}const l=a||this.document.documentElement;(0,i.kG)(l,"documentElement must not be null"),l.appendChild(this.wrapper)}measure(){const e=a.UL.fromClientRect(this.wrapper.getBoundingClientRect()),t=e.getLocation().scale(-1);return this.examples instanceof r.aV?this.examples.map(((e,n)=>{const o=this.wrapper.childNodes[n];return a.UL.fromClientRect(o.getBoundingClientRect()).translate(t)})):(0,r.aV)([e.translate(t)])}remove(){this.wrapper.parentNode&&this.wrapper.parentNode.removeChild(this.wrapper),this.wrapper=null,this.examples=null}_setStyles(e,t){for(const n in t)e.style[n]=t[n]}}(0,o.Z)(s,"defaultWrapperStyles",Object.freeze({maxWidth:"none",display:"inline-block",position:"absolute",height:"auto",width:"auto",margin:"0",padding:"0",whiteSpace:"nowrap",top:"-10000px",left:"-10000px",fontSize:"80px",fontWeight:"normal"}))},60619:(e,t,n)=>{"use strict";n.d(t,{GA:()=>O,Nk:()=>A,oD:()=>k});var o=n(50974),r=n(35369),i=n(67366),a=n(15973),s=n(82481),l=n(18146),c=n(80857),u=n(25797),d=n(95651),p=n(69939),f=n(17746),h=n(33754),m=n(68250),g=n(55909),v=n(19815),y=n(59780),b=n(10284),w=n(22571),S=n(45395),E=n(51269),P=n(60132);const x=(0,c.Z)("Annotations"),D="The API you're trying to use requires a annotation editing license. Annotation Editing is a component of PSPDFKit for Web and thus sold separately.\nhttps://pspdfkit.com/guides/web/current/annotations/introduction-to-annotations/",C="WidgetAnnotation can only be modified if you are using Standalone setup or with Instant turned on. If you are using server backed setup, make sure `instant` is set to `true` in configuration.",k="The API you're trying to use requires a measurement license. Measurement is a component of PSPDFKit for Web and sold separately.";class A extends m.I{constructor(e,t){super(t().annotationManager),this.dispatch=e,this.getState=t}async create(e,t){const n=this.getState(),r=e.map((e=>{T(n,e,"create");const r=e.id;if("string"==typeof r&&x(!n.annotations.has(r),`Annotation id (${r}) is already used.`),e instanceof a.x_&&t){O(n,e)||x(t.some((t=>t instanceof y.Wi&&t.name===e.formFieldName)),`Widget orphan: The widget annotation can't be created because no form field was found with the name '${e.formFieldName}'. Please ensure that you create the corresponding form field together with the widget via instance.create([widget, formField]).`)}const{annotationCreatorName:i,annotationCreatorNameReadOnly:s}=n;if(e.creatorName&&e.creatorName!==i&&s)throw new o.p2("The annotation creator name is different from the one set on the JWT.");M(e);let l=e.withMutations((t=>{t.merge((0,d.lx)(n.set("currentItemPreset",null))),["name","id","creatorName","createdAt","updatedAt"].map((n=>e[n]&&t.set(n,e[n])))}));if(e instanceof a.x_&&e.group)throw new o.p2("If you want to define the `group` of this widget annotation, pass it to the corresponding form field instead. Widget annotations inherit the `group` from their form field.");if(l instanceof a.x_&&(l=l.delete("group")),e instanceof a.x_){const n=this.getState;if((null==t?void 0:t.some((t=>t instanceof y.Wi&&t.name===e.formFieldName)))&&!!O(n(),e))throw new o.p2(`The widget annotation can't be created because the form field it'll be created with has a duplicated form field name '${e.formFieldName}'. Please ensure the form field name is unique.`);setTimeout((()=>{x(l instanceof a.x_,"Expected widget annotation");null==O(n(),l)&&(this.dispatch((0,p.hQ)(l)),(0,o.ZK)(`Widget orphan: The widget annotation has been deleted because no form was field found with the name ${l.formFieldName} after 500ms. Please ensure that once instance.create() resolves, a corresponding form field is created with instance.create(). (See: https://pspdfkit.com/api/web/PSPDFKit.Instance.html#create)`))}),500)}return l=_(l),l}));return(0,i.dC)((()=>{r.forEach((e=>{e instanceof Error||(this.dispatch((0,p.$d)(e)),this.autoSave())}))})),(0,E.s)(r)}async update(e){const t=this.getState(),n=e.map((e=>{var n;T(t,e,"update"),x("string"==typeof e.id,"The annotation you passed to Instance.update() has no id.\nPlease use Instance.create() first to assign an id.");const r=t.annotations.get(e.id);x(r,"An annotation that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this annotation was skipped."),x(!(e instanceof a.sK&&e.imageAttachmentId!==(null===(n=t.annotations.get(e.id))||void 0===n?void 0:n.imageAttachmentId)),"Changing the imageAttachmentId of an annotation is not allowed."),x(t.backend),t.backend.isCollaborationPermissionsEnabled()||e.group===r.group&&e.isEditable===r.isEditable&&e.isDeletable===r.isDeletable&&e.canSetGroup===r.canSetGroup||(e=e.set("group",r.group).set("isEditable",r.isEditable).set("isDeletable",r.isDeletable).set("canSetGroup",r.canSetGroup),(0,o.ZK)("`group`, `isEditable`, `isDeletable` and `canSetGroup` are only relevant when Collaboration Permissions are enabled in server backed setup. You do not have it enabled so these values are set to `undefined`."));if(!e.delete("group").equals(r.delete("group"))&&!(0,b.CM)(r,t))throw new o.p2("You don't have permission to update this annotation.");if(e instanceof a.x_&&e.group!==r.group)throw new o.p2("The `group` property of widget annotations is read only and can't be updated directly. If you want to do that you should update the `group` property of the connected form field and this annotation will inherit that `group`.");if(e.group!==r.group&&!(0,b.uW)(r,t))throw new o.p2("You don't have permission to update the `group` of this annotation.");if(e.isEditable!==r.isEditable||e.isDeletable!==r.isDeletable||e.canSetGroup!==r.canSetGroup)throw new o.p2("You can't update `isEditable`, `canSetGroup` or `isDeletable` since they are read only properties which depend on the `group` property.");if(e.creatorName!==r.creatorName&&t.annotationCreatorNameReadOnly)throw new o.p2("You can't change the creatorName of an annotation if it was already set on the JWT.");const i=(e=_(e)).set("updatedAt",new Date);return M(i),i}));return n.length>0&&(0,i.dC)((()=>{n.forEach((e=>{e instanceof Error||this.dispatch((0,p.FG)(e))})),this.autoSave()})),(0,E.s)(n)}async delete(e){const t=this.getState(),n=e.map((e=>{T(t,e,"delete");const n=t.annotations.get(e.id);if(x(n,`No annotation with id ${e.id} found.`),!(0,b.Kd)(n,t))throw new o.p2("You don't have permission to delete this annotation.");return e}));return n.length>0&&(0,i.dC)((()=>{n.forEach((e=>{e instanceof Error||this.dispatch((0,p.hQ)(e))})),this.autoSave()})),(0,E.s)(n)}async ensureChangesSaved(e){x("string"==typeof e.id,"The annotation you passed to Instance.ensureChangesSaved() has no id.\nPlease use Instance.create() first to assign an id.");const{annotationManager:t}=this.getState();return x(t),await t.ensureObjectSaved(e)}async getObjectById(e){x("string"==typeof e,"The supplied id is not a valid id.");const{annotations:t,features:n}=this.getState();return(0,v.Vz)(n)?t.get(e):null}}function O(e,t){const n=e.annotations.get(t.id);let o=t.formFieldName;return null!=n&&null!=n.formFieldName&&(o=n.formFieldName),null!=o?e.formFields.get(o):null}function T(e,t,n){const{features:r}=e;if(!(0,v.Vz)(r)){if(!(t instanceof s.Zc||t instanceof a.sK))throw new o.p2(`Annotations: ${D}`);if(!0===t.isSignature&&!r.includes(P.q.ELECTRONIC_SIGNATURES))throw new o.p2("Annotations: The API you're trying to use requires either an electronic signatures or annotation editing license. Electronic Signatures and Annotation Editing are components of PSPDFKit for Web and thus sold separately.\nhttps://pspdfkit.com/guides/web/current/annotations/introduction-to-annotations/");if(!t.isSignature||!r.includes(P.q.ELECTRONIC_SIGNATURES))throw new o.p2(`Annotations: ${D}`)}let i="";t.id&&(i=` with id "${t.id}"`),t instanceof a.x_&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{features:n}=e;x(n.includes(P.q.FORM_DESIGNER),(t||"")+g.RB),x((0,v.k_)(e.backend),C)}(e,`Tried to ${n} a widget annotation${i}. Widget annotations are part of forms. `),x(!(t instanceof l.Z)||r.includes(P.q.REDACTIONS),`Tried to ${n} a redaction annotation${i}. ${u.q}`),x(!(t instanceof s.UX&&t.isMeasurement())||r.includes(P.q.MEASUREMENT_TOOLS),`Tried to ${n} a measurement annotation${i}. ${k}`)}function I(e){x(e instanceof s.UL,"`boundingBox` must be an instance of PSPDFKit.Geometry.Rect");for(const[t,n]of e)x("number"==typeof n,`invalid value \`${n}\` for \`boundingBox.${t}\``)}function F(e){x(e instanceof s.E9,"`startPoint` and `endPoint` must be instances of PSPDFKit.Geometry.Point");for(const[t,n]of e)x("number"==typeof n,`invalid value \`${n}\` for \`point.${t}\``)}function M(e){if(x(e instanceof a.q6,"Invalid annotation"),x("number"==typeof e.pageIndex,"`pageIndex` must be a number"),x("number"==typeof e.opacity,"`opacity` must be a number"),x("boolean"==typeof e.noView,"`noView` must be a boolean"),x("boolean"==typeof e.noPrint,"`noPrint` must be a boolean"),x("boolean"==typeof e.hidden,"`hidden` must be a boolean"),x(null==e.customData||(0,o.PO)(e.customData)&&(0,o.AK)(e.customData),"`customData` must be a serializable object"),I(e.boundingBox),"text"in e&&null!=e.text&&(x("object"==typeof e.text&&null!==e.text,"`text` is not an object with properties `format` and `value`"),x("plain"===e.text.format||"xhtml"===e.text.format,"Invalid text format"),x("string"==typeof e.text.value,"`text.value` must be a string")),e instanceof s.Qi&&x("plain"===e.text.format,"Invalid text format. Only `plain` format is supported"),e instanceof a.x_){if(e.additionalActions)for(const[t,n]of Object.entries(e.additionalActions))x("onBlur"===t||"onFocus"===t||"onInput"===t||"onFormat"===t||"onChange"===t,`Invalid attribute ${t} in \`additionalActions\`. Supported attributes: \`onBlur\`, \`onFocus\`, \`onInput\`, \`onFormat\`, \`onChange\``),x(n instanceof w.b,`Invalid attribute type of ${t} in \`additionalActions\`. ${t} must be of type \`PSPDFKit.Actions.JavaScriptAction\``);x("string"==typeof e.formFieldName&&e.formFieldName.length>0,"Annotation attribute `formFieldName` must be of type `string` and larger than 0 characters")}if((e instanceof a.x_||e instanceof a.gd)&&(null!=e.isItalic&&x("boolean"==typeof e.isItalic,"Annotation attribute `isItalic` must be of type `boolean`"),null!=e.isBold&&x("boolean"==typeof e.isBold,"Annotation attribute `isBold` must be of type `boolean`"),null!=e.verticalAlign&&x("string"==typeof e.verticalAlign&&("top"===e.verticalAlign||"center"===e.verticalAlign||"bottom"===e.verticalAlign),"Annotation attribute `verticalAlign` must be of type `string` and either `top`, `center`, or `bottom`"),null!=e.horizontalAlign&&x("string"==typeof e.horizontalAlign&&("left"===e.horizontalAlign||"center"===e.horizontalAlign||"right"===e.horizontalAlign),"Annotation attribute `horizontalAlign` must be of type `string` and either `left`, `center`, or `right`"),null!=e.borderWidth&&x("number"==typeof e.borderWidth,"Annotation attribute `borderWidth` must be of type `number`"),null!=e.borderStyle&&x(e.borderStyle===S.N.solid||e.borderStyle===S.N.dashed||e.borderStyle===S.N.beveled||e.borderStyle===S.N.inset||e.borderStyle===S.N.underline,"Annotation attribute `borderStyle` must be one of `solid`, `dashed`, `beveled`, `inset`, `underline`"),null!=e.font&&x("string"==typeof e.font&&e.font.length>0,"Annotation attribute `font` must be of type `string` and larger than 0 characters."),null!=e.fontSize&&x("number"==typeof e.fontSize||"auto"===e.fontSize,"Annotation attribute `fontSize` must be of type `number` or the string `auto`")),["fillColor","backgroundColor","fontColor","color","borderColor","strokeColor"].forEach((t=>{e.has(t)&&null!==e.get(t)&&x(e.get(t)instanceof s.Il,`\`${t}\` must be an instance of PSPDFKit.Color`)})),e.has("lines")&&(x("lines"in e&&e.lines instanceof r.aV,"lines must be an instance of PSPDFKit.Immutable.List"),e.lines.forEach(((e,t)=>{x(e instanceof r.aV,"line must be an instance of PSPDFKit.Immutable.List"),e.some(((e,n)=>{x(e instanceof f.Z,`found an invalid DrawingPoint at index ${n} for line ${t}`)}))}))),e instanceof a.On&&x(e.has("rects"),"Text markup annotations must have `rects`"),e instanceof a.GI&&x(h.pY[e.stampType],`Unknown stamp annotation stampType: \`${e.stampType}\``),e.has("rects")&&(x("rects"in e&&e.rects instanceof r.aV,"rects must be an instance of `PSPDFKit.Immutable.List`"),x(e.rects.size>0,"rects must be contain at least one rect"),e.rects.forEach(I)),e.has("startPoint")&&(x("startPoint"in e&&e.startPoint instanceof s.E9,"startPoint must be an instance of `PSPDFKit.Immutable.Point`"),F(e.startPoint)),e.has("endPoint")&&(x("endPoint"in e&&e.endPoint instanceof s.E9,"endPoint must be an instance of `PSPDFKit.Immutable.Point`"),F(e.endPoint)),e.has("rotation")){const t=e.rotation;e instanceof a.x_?x(0===t||90===t||180===t||270===t,"`rotation` must be of type `number` and one of 0, 90, 180, or 270."):(e instanceof a.gd||e instanceof a.GI||e instanceof a.sK)&&x(Math.abs(t)%1==0,"`rotation` must be an integer")}}function _(e){let t=e;return e instanceof a.gd&&"xhtml"===e.text.format&&(x(t instanceof a.gd,"Expected TextAnnotation"),e.text.value.startsWith("

")&&e.text.value.endsWith("

")||((0,o.ZK)("TextAnnotation text value must be wrapped in

tags if the format is `xhtml`."),t=t.set("text",{format:"xhtml",value:`

${t.text.value}

`})),e.fontColor&&((0,o.ZK)('TextAnnotation fontColor is not supported for xhtml formatted text. You should add inline span element to the text value instead.\n\n Example:

your text

'),t=t.set("fontColor",null)),e.text.value||(t=t.set("text",{format:"xhtml",value:'

'}))),t}},68250:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});var o=n(50974);class r{constructor(e){this._objectManager=e}create(e,t){return Promise.reject(new o.p2("create() is not implemented"))}update(e,t){return Promise.reject(new o.p2("update() is not implemented"))}delete(e){return Promise.reject(new o.p2("delete() is not implemented"))}getObjectById(e){return Promise.resolve(null)}ensureChangesSaved(e){throw new o.p2("ensureChangesSaved() is not implemented")}hasUnsavedChanges(){return!!this._objectManager&&this._objectManager.hasUnsavedChanges()}manualSave(e){return this._objectManager?this._objectManager.manualSave(e):Promise.resolve()}autoSave(){this._objectManager&&this._objectManager.autoSave()}getEventEmitter(){return this._objectManager?this._objectManager.eventEmitter:null}lockSave(){return this._objectManager?this._objectManager.lockSave():()=>{}}}},55909:(e,t,n)=>{"use strict";n.d(t,{BZ:()=>E,Bl:()=>S,DR:()=>b,RB:()=>w,_1:()=>k,fu:()=>x});var o=n(34997),r=n(35369),i=n(50974),a=n(67366),s=n(80857),l=n(16126),c=n(19815),u=n(96114),d=n(11032),p=n(68250),f=n(10284),h=n(22571),m=n(51269),g=n(82481),v=n(59780),y=n(60132);const b="The API you're trying to use requires a forms license. Forms is a component of PSPDFKit for Web and thus sold separately.\nhttps://pspdfkit.com/guides/web/current/forms/introduction-to-forms/",w="The API you're trying to use requires a license that includes the Form Designer component on standalone mode or with PSPDFKit Instant. This is a separate component of PSPDFKit for Web and thus sold separately.\nhttps://pspdfkit.com/guides/web/current/forms/introduction-to-forms/",S="The API you're trying to use is only available when using the standalone mode or with PSPDFKit Instant.",E="The API you're trying to use is not available when `disableForms` is set to `true`.",P=(0,s.Z)("Forms");class x extends p.I{constructor(e,t){super(t().formFieldManager),this.dispatch=e,this.getState=t}async create(e,t){const n=[],i=this.getState();D(i,"Tried to create a form field. ");const s=e.map((e=>{try{const r=e.id;"string"==typeof r&&P(!(0,l.CL)(i,r),`Form field id (${r}) is already used.`),C(e,i,t);let a="string"==typeof r?e:e.set("id",(0,o.SK)());if(P(i.backend),P(i.formFieldValueManager),i.backend.isCollaborationPermissionsEnabled()&&!e.group&&i.group!==i.backend.getDefaultGroup()&&(a=a.set("group",i.group)),void 0!==e.value||void 0!==e.values){const t=new d.Z({name:e.name,value:void 0!==e.value?e.value:e.values});n.push(t)}return a}catch(e){return e}}));return(0,a.dC)((()=>{s.forEach((e=>{e instanceof Error||(this.dispatch((0,u.kW)(e)),this.autoSave())}))})),n.forEach((e=>{this.dispatch((0,u.xW)((0,r.aV)([e]))),P(i.formFieldValueManager),i.formFieldValueManager.createObject(e),i.formFieldValueManager.autoSave()})),(0,m.s)(s)}async update(e,t){const n=this.getState();P(n.formFieldValueManager);const o=e.map((e=>{try{D(n,"Tried to update a form field. "),P("string"==typeof e.id,"The form field you passed to Instance.update() has no id.\n Please use Instance.create() first to assign an id."),C(e,n,t);const o=(0,l.CL)(n,e.id);P(o,"A form field that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\nThe update of this form field was skipped."),P(n.backend),n.backend.isCollaborationPermissionsEnabled()||e.group===o.group&&e.isEditable===o.isEditable&&e.isDeletable===o.isDeletable&&e.canSetGroup===o.canSetGroup&&e.isFillable===o.isFillable||(e=e.set("group",o.group).set("isEditable",o.isEditable).set("isDeletable",o.isDeletable).set("canSetGroup",o.canSetGroup).set("isFillable",o.isFillable),(0,i.ZK)("`group`, `isEditable`, `isDeletable`, `isFillable` and `canSetGroup` are only relevant when Collaboration Permissions are enabled in server backed setup. You do not have it enabled so these values are set to `undefined`."));if(!e.delete("group").equals(o.delete("group"))&&!(0,f.iR)(o,n))throw new i.p2("You don't have permission to update this form field.");if(e.group!==o.group&&!(0,f.uW)(o,n))throw new i.p2("You don't have permission to update the `group` of this form field.");if(e.isEditable!==o.isEditable||e.isDeletable!==o.isDeletable||e.canSetGroup!==o.canSetGroup||e.isFillable!==o.isFillable)throw new i.p2("You can't update `isFillable`, `isEditable`, `canSetGroup` or `isDeletable` since they are read only properties which depend on the `group` property.");return e}catch(e){return e}}));return(0,a.dC)((()=>{o.forEach((e=>{e instanceof Error||(this.dispatch((0,u.vK)(e)),this.autoSave())}))})),(0,m.s)(o)}async delete(e){const t=this.getState();D(t,"Tried to delete a form field. ");const n=e.map((e=>{try{const o=(0,l.CL)(t,e.id);if(P(o,`There is no form field with id '${e.id}'`),P(t.formFieldValueManager),!(0,f.ev)(o,t))throw new i.p2("You don't have permission to delete this form field.");var n;if(void 0!==o.value||void 0!==o.values)null===(n=t.formFieldValueManager)||void 0===n||n.deleteObject(new d.Z({name:o.name,value:void 0!==o.value?o.value:o.values})),t.formFieldValueManager.autoSave();return e}catch(e){return e}}));return(0,a.dC)((()=>{n.forEach((e=>{e instanceof Error||(this.dispatch((0,u.Wh)(e)),this.autoSave())}))})),(0,m.s)(n)}async ensureChangesSaved(e){P("string"==typeof e.id,"The form field you passed to Instance.ensureSaved() has no id.\n Please use Instance.create() first to assign an id.");const{formFieldManager:t}=this.getState();return P(t),await t.ensureObjectSaved(e)}async getObjectById(e){return P("string"==typeof e,"The supplied id is not a valid id."),(0,l.CL)(this.getState(),e)}}function D(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{features:n,formsEnabled:o}=e;P(n.includes(y.q.FORMS),(t||"")+b),P(o,(t||"")+E),P(n.includes(y.q.FORM_DESIGNER),(t||"")+w),P((0,c.k_)(e.backend),S)}function C(e,t,n){if(e.additionalActions)for(const[t,n]of Object.entries(e.additionalActions))P("onCalculate"===t||"onChange"===t||"onFormat"===t||"onInput"===t,`Invalid attribute ${t} in \`additionalActions\`. Supported attributes: \`onCalculate\`, \`onChange\`, \`onFormat\`, \`onInput\``),P(n instanceof h.b,`Invalid attribute type of ${t} in \`additionalActions\`. ${t} must be of type \`PSPDFKit.Actions.JavaScriptAction\``);e.annotationIds&&(P(e.annotationIds instanceof r.aV,"Invalid form field `annotationIds` attribute. `annotationIds` must be of type `PSPDFKit.Immutable.List`"),P(e.annotationIds.every((e=>"string"==typeof e)),"Invalid form field `annotationIds` attribute. `annotationIds` should only contain string values."),e.annotationIds.forEach((e=>{!function(e,t,n){const o=e.get("annotations");if(!(((null==t?void 0:t.find((e=>e instanceof g.q6&&e.id===n)))||o.get(n)||o.find((e=>{var t;return(null==e||null===(t=e.pdfObjectId)||void 0===t?void 0:t.toString())===n})))instanceof g.x_))throw new i.p2("Invalid form field `annotationIds` attribute. `annotationIds` should only contain references to widget annotations.")}(t,n,e)}))),null!=e.id&&P("string"==typeof e.id&&e.id.length>0,"Invalid form field `id` attribute. `id` must be of type `string` and larger than 0 characters."),null!=e.label&&P("string"==typeof e.label,"Invalid form field `label` attribute. `label` must be of type `string`"),P("string"==typeof e.name&&e.name.length>0,"Invalid form field `name` attribute. `name` must be of type `string` and larger than 0 characters."),null!=e.noExport&&P("boolean"==typeof e.noExport,"Invalid form field `noExport` attribute. `noExport` must be of type `boolean`"),null!=e.pdfObjectId&&P("number"==typeof e.pdfObjectId,"Invalid form field `pdfObjectId` attribute. `pdfObjectId` must be of type `number`"),null!=e.readOnly&&P("boolean"==typeof e.readOnly,"Invalid form field `readOnly` attribute. `readOnly` must be of type `boolean`"),null!=e.required&&P("boolean"==typeof e.required,"Invalid form field `required` attribute. `required` must be of type `boolean`")}function k(e,t){e instanceof v.$o?P("string"==typeof(t=t||""),`The type of action value for a TextFormField ${e.name} is ${typeof t}, but has to be a string`):e instanceof v.Dz||e instanceof v.rF?P(t instanceof r.aV,`The type of action value for the ${e instanceof v.Dz?"ChoiceFormField":"CheckBoxFormField"} ${e.name} is ${typeof t}, but has to be a List of strings`):e instanceof v.XQ?P("string"==typeof t||null===t,`The type of action value for a RadioButtonFormField ${e.name} is ${typeof t}, but has to either be a string or null`):e instanceof v.R0||e instanceof v.Yo||P(!1,`Cannot set form field value for ${e.name}: unknown form field type`)}},92466:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});class o{constructor(e,t){this.element=e,this.release=t}}},96846:(e,t,n)=>{"use strict";n.d(t,{a:()=>w});var o=n(84121),r=n(35369),i=n(50974),a=n(76192);const s="CREATED",l="UPDATED",c="DELETED";var u=n(97333),d=n(31835),p=n(80857),f=n(34997);class h{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{};(0,o.Z)(this,"_locks",(0,r.l4)()),this._onUnlockCallback=e}lock(){const e=(0,f.SK)();return this._locks=this._locks.add(e),()=>{this._locks=this._locks.remove(e),this._locks.isEmpty()&&this._onUnlockCallback()}}isLocked(){return!this._locks.isEmpty()}}var m=n(71652);const g=(0,p.Z)("SaveModeQueue");class v{constructor(e){let{autoSaveMode:t,flushCreateObject:n,flushUpdateObject:i,flushDeleteObject:s,validateObject:l,getObjectId:c,syncChanges:u=(async()=>{})}=e;(0,o.Z)(this,"eventEmitter",new d.Z(["willSave","didSave","saveStateChange"])),(0,o.Z)(this,"_modifications",(0,r.D5)()),(0,o.Z)(this,"_inFlightModifications",(0,r.D5)()),(0,o.Z)(this,"_savedObjects",(0,r.l4)()),(0,o.Z)(this,"_ensureSavedRequests",(0,r.D5)()),(0,o.Z)(this,"_prevHasUnsavedObjects",!1),(0,o.Z)(this,"_saveLock",new h((()=>{if(this._autoSaveMode===a.u.IMMEDIATE||!this._saveRequests.isEmpty()){const e=this._autoSaveMode===a.u.IMMEDIATE||this._saveRequests.some((e=>e.syncChanges)),t=this._saveRequests.some((e=>e.manualSave)),n=this._saveRequests;this._saveRequests=this._saveRequests.clear(),this._save(e,t).then((()=>{n.forEach((e=>{e.resolve()}))})).catch((e=>{n.forEach((t=>{t.reject(e)}))}))}}))),(0,o.Z)(this,"_saveRequests",(0,r.aV)()),this._autoSaveMode=t,this._flushCreateObject=n,this._flushUpdateObject=i,this._flushDeleteObject=s,this._validateObject=l,this._getObjectId=c,this._syncChanges=u}lockSave(){return this._saveLock.lock()}assertSaveLocked(){g(this._saveLock.isLocked(),"This method can't be used without active save lock, use saveLock() to acquire the lock.")}createObject(e){this.assertSaveLocked();const t=this._getObjectId(e);this._setModificationsAndNotifyChange(this._modifications.set(t,{object:e,type:s}))}updateObject(e){this.assertSaveLocked();const t=this._getObjectId(e),n=this._modifications.get(t),o=n&&n.type===s&&!this._inFlightModifications.has(t);this._setModificationsAndNotifyChange(this._modifications.set(t,{object:e,type:o?s:l}))}deleteObject(e){this.assertSaveLocked();const t=this._getObjectId(e),n=this._modifications.get(t);n&&n.type===s?this._setModificationsAndNotifyChange(this._modifications.delete(t)):this._setModificationsAndNotifyChange(this._modifications.set(t,{object:e,type:c}))}enqueueInFlightModification(e){const t=this._getObjectId(e.object);return this._inFlightModifications.has(t)?this._inFlightModifications=this._inFlightModifications.updateIn([t],(t=>t.push(e))):this._inFlightModifications=this._inFlightModifications.set(t,(0,r.aV)([e])),this._notifySaveStateChange(),()=>{this._inFlightModifications=this._inFlightModifications.updateIn([t],(t=>t.filter((t=>t!==e))));const n=this._inFlightModifications.get(t);n&&0===n.size&&(this._inFlightModifications=this._inFlightModifications.delete(t)),this._notifySaveStateChange()}}clearQueueForObject(e){this._setModificationsAndNotifyChange(this._modifications.delete(e))}queuedObjectType(e){const t=this._inFlightModifications.get(e);if(t&&t.size>0)return t.last().type;{const t=this._modifications.get(e);return t?t.type:null}}hasUnsavedObjects(){return this._modifications.size>0||this._inFlightModifications.size>0}autoSave(){this._autoSaveMode===a.u.INTELLIGENT&&this.manualSave(!0).catch((()=>{}))}manualSave(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._save(e,!0)}_save(e,t){return new Promise(((n,o)=>{if(this._saveLock.isLocked())this._saveRequests=this._saveRequests.push({resolve:n,reject:o,syncChanges:e,manualSave:t});else{const a=this._modifications.filter((e=>{let{type:t}=e;return t!==c})).filter((e=>{let{object:t}=e;return!this._validateObject(t)}));t&&a.forEach((e=>{(0,i.ZK)(`Can not save invalid object with ID: ${this._getObjectId(e.object)}.\n Make sure to remove or update this object, before trying to save again.`)}));let d=(0,r.aV)();const p=this._modifications.filter(((e,t)=>!a.has(t))),f=p.map((e=>{let{object:t,type:n}=e;const o={object:t,type:n};let r;switch(d=d.push(this.enqueueInFlightModification(o)),n){case s:r=this._flushCreateObject(t);break;case l:r=this._flushUpdateObject(t);break;default:r=this._flushDeleteObject(t)}return r.then((()=>{this._markModificationAsSaved(o)})).catch((e=>{throw y(e),e}))})).valueSeq().toArray();if(this._setModificationsAndNotifyChange(a,!1),e&&f.length>0&&f.push(this._syncChanges().catch((e=>{throw y(e),e}))),this.eventEmitter.emit("willSave"),0===f.length)return this.eventEmitter.emit("didSave"),void n();let h;(0,u.jK)(f).catch((t=>{const n=p.toList(),o=e?t.pop():null,i=t.map(((e,t)=>{const o=n.get(t);if(e&&o)return{error:e,object:o.object,modificationType:o.type}})).filter(Boolean);throw h=(0,r.aV)(i),(0,m.h)(i,Boolean(o),o?o.message:null)})).finally((()=>{d.forEach((e=>{e()}));let e=p;h&&(e=e.withMutations((e=>{g(h),h.forEach((t=>{const n=this._getObjectId(t.object);e.remove(n)}))}))),this._resolveEnsureSavedRequests(e.map((e=>e.object)).valueSeq().toArray()),h&&this._rejectEnsureSavedRequests(h.toArray()),this.eventEmitter.emit("didSave")})).then((()=>{n()})).catch(o)}}))}markObjectsAsSaved(e){this._savedObjects=this._savedObjects.union(e)}isSaved(e){return this._savedObjects.has(e)&&null==this.queuedObjectType(e)}ensureObjectSaved(e){return new Promise(((t,n)=>{const o=this._getObjectId(e);this.isSaved(o)?t(e):this._ensureSavedRequests=this._ensureSavedRequests.withMutations((e=>{const i=e.get(o);i?e.set(o,i.push({resolve:t,reject:n})):e.set(o,(0,r.aV)([{resolve:t,reject:n}]))}))}))}_resolveEnsureSavedRequests(e){this._ensureSavedRequests=this._ensureSavedRequests.withMutations((t=>{e.forEach((e=>{const n=this._getObjectId(e),o=t.get(n);o&&this.isSaved(n)&&(o.forEach((t=>{let{resolve:n}=t;n(e)})),t.delete(n))}))}))}_rejectEnsureSavedRequests(e){this._ensureSavedRequests=this._ensureSavedRequests.withMutations((t=>{e.forEach((e=>{const n=this._getObjectId(e.object),o=t.get(n);o&&(o.forEach((t=>{let{reject:n}=t;n(e.error)})),t.delete(n))}))}))}_markModificationAsSaved(e){const t=this._getObjectId(e.object);switch(e.type){case"CREATED":case"UPDATED":this._savedObjects=this._savedObjects.add(t);break;case"DELETED":this._savedObjects=this._savedObjects.remove(t)}}_setModificationsAndNotifyChange(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._modifications=e,t&&this._notifySaveStateChange()}_notifySaveStateChange(){const e=this.hasUnsavedObjects();this._prevHasUnsavedObjects!==e&&(this._prevHasUnsavedObjects=e,this.eventEmitter.emit("saveStateChange",e))}}function y(e){(0,i.vU)(e)}var b=n(83253);class w{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.u.IMMEDIATE,n=arguments.length>2?arguments[2]:void 0;(0,o.Z)(this,"eventEmitter",new d.Z(this._getSupportedEvents())),(0,o.Z)(this,"_createdObjects",(0,r.D5)()),(0,o.Z)(this,"_updatedObjects",(0,r.D5)()),(0,o.Z)(this,"_deletedObjects",(0,r.D5)()),(0,o.Z)(this,"_crudEventsLock",new h((()=>{(this._createdObjects.size||this._updatedObjects.size||this._deletedObjects.size)&&this.eventEmitter.emit("change"),this._createdObjects.size&&(this.eventEmitter.emit("create",(0,r.aV)(this._createdObjects.values())),this._createdObjects=this._createdObjects.clear()),this._updatedObjects.size&&(this.eventEmitter.emit("update",(0,r.aV)(this._updatedObjects.values())),this._updatedObjects=this._updatedObjects.clear()),this._deletedObjects.size&&(this.eventEmitter.emit("delete",(0,r.aV)(this._deletedObjects.values())),this._deletedObjects=this._deletedObjects.clear())}))),this._callbacks=e,this._autoSaveMode=t,null!=n&&(this.eventEmitter=n),this._saveModeQueue=new v({autoSaveMode:t,flushCreateObject:async e=>{try{await this._callbacks.createBackendObject(e.object,e.additionalFields)}catch(t){throw this._callbacks.deleteStoreObjects((0,r.l4)([e.id])),this.eventEmitter.emit("change"),this.eventEmitter.emit("delete",(0,r.aV)([e.object])),t}this._callbacks.refresh()},flushUpdateObject:async e=>{await this._callbacks.updateBackendObject(e.object,e.additionalFields),this._callbacks.refresh()},flushDeleteObject:async e=>{try{await this._callbacks.deleteBackendObject(e.object,e.additionalFields)}catch(t){throw this._callbacks.createStoreObjects((0,r.aV)([e.object])),this.eventEmitter.emit("change"),this.eventEmitter.emit("create",(0,r.aV)([e.object])),t}this._callbacks.refresh()},validateObject:e=>this._callbacks.validateObject(e.object),getObjectId:e=>e.id,syncChanges:()=>this._callbacks.syncChanges()}),this._saveModeQueue.eventEmitter.on("willSave",(()=>{this.eventEmitter.emit("change"),this.eventEmitter.emit("willSave")})),this._saveModeQueue.eventEmitter.on("didSave",(()=>{this.eventEmitter.emit("change"),this.eventEmitter.emit("didSave")})),this._saveModeQueue.eventEmitter.on("saveStateChange",(e=>this.eventEmitter.emit("saveStateChange",e)))}autoSave(){this._saveModeQueue.autoSave()}manualSave(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._saveModeQueue.manualSave(e).catch((e=>{throw(0,i.kG)(e instanceof m.V),e.reason&&(e.reason=e.reason.map((e=>({error:e.error,modificationType:e.modificationType,object:e.object.object})))),e}))}ensureObjectSaved(e){return this._saveModeQueue.ensureObjectSaved(this._createSaveQueueObject(this._callbacks.getObjectId(e),e)).then((e=>e.object))}hasUnsavedChanges(){return this._saveModeQueue.hasUnsavedObjects()}lockSave(){const e=this._crudEventsLock.lock(),t=this._saveModeQueue.lockSave();return()=>{t(),e()}}createObject(e,t){const n=this.lockSave();try{const o=this._callbacks.getObjectId(e);(0,i.kG)(o);const r=this._saveModeQueue.queuedObjectType(o),a=this._saveModeQueue.isSaved(o)||r===l,c=r===s;a||c?(this._callbacks.onUpdate&&this._callbacks.onUpdate(e,t),this._saveModeQueue.updateObject(this._createSaveQueueObject(o,e,t)),this._updatedObjects=this._updatedObjects.set(o,e)):(this._callbacks.onCreate&&this._callbacks.onCreate(e,t),this._saveModeQueue.createObject(this._createSaveQueueObject(o,e,t)),this._createdObjects=this._createdObjects.set(o,e))}finally{n()}}updateObject(e,t){this.createObject(e,t)}deleteObject(e,t){const n=this.lockSave();try{const o=this._callbacks.getObjectId(e);(0,i.kG)(o);const r=this._saveModeQueue.queuedObjectType(o),a=this._saveModeQueue.isSaved(o)||r===l,c=r===s;this._callbacks.onDelete&&this._callbacks.onDelete(e,t),(a||c)&&this._saveModeQueue.deleteObject(this._createSaveQueueObject(o,e,t)),this._deletedObjects=this._deletedObjects.set(o,e)}finally{n()}}backendObjectsCreated(e,t,n){const o=t===b.y,r=e.map((e=>this._callbacks.getObjectId(e))).toArray();this._saveModeQueue.markObjectsAsSaved(r),this._callbacks.createStoreObjects(e,n),this.eventEmitter.emit("change"),this.eventEmitter.emit(o?"load":"create",e),r.forEach((e=>{this._saveModeQueue.clearQueueForObject(e)})),!o&&this._callbacks.refresh()}backendObjectsUpdated(e,t){this._callbacks.updateStoreObjects(e),t||(this.eventEmitter.emit("change"),this.eventEmitter.emit("update",e));e.map((e=>this._callbacks.getObjectId(e))).toArray().forEach((e=>{this._saveModeQueue.clearQueueForObject(e)})),this._callbacks.refresh()}backendObjectsDeleted(e){const t=e.map((e=>this._callbacks.getObjectById(e))).filter(Boolean).toList();this._callbacks.deleteStoreObjects(e),e.forEach((e=>{this._saveModeQueue.clearQueueForObject(e)})),this.eventEmitter.emit("change"),this.eventEmitter.emit("delete",t),this._callbacks.refresh()}_getSupportedEvents(){return["change","willSave","didSave","load","create","update","delete","saveStateChange"]}_createSaveQueueObject(e,t,n){return void 0===n?{id:e,object:t}:{id:e,object:t,additionalFields:n}}}},46292:(e,t,n)=>{"use strict";n(84121),n(13096)},56664:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});n(46292);let o;function r(){return o}},75376:(e,t,n)=>{"use strict";n(50974);var o=n(35369),r=(n(95651),n(20792),n(82481),n(63564)),i=(n(75237),n(59780),n(44048),n(2810),n(97528),n(88804),n(19702),n(65872),n(30578),n(92457)),a=n(56664);n(46791),n(52247),n(68258),n(97413),n(46292),n(13096);i.ZP.toJS(),(0,o.d0)({});(0,a.Z)();Object.entries(r.qH.toJS()).reduce(((e,t)=>{var n;let[o,r]=t;return e[o]=null===(n=r.desktop)||void 0===n?void 0:n.map((e=>({type:e}))),e}),{})},13096:(e,t,n)=>{"use strict";n(84121)},23413:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(53678),r=n(13997);class i{constructor(e,t){this.identifier=this.url=e,this.token=t,this.aborted=!1}request(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{method:"GET"};const{method:t,data:n=null}=e,i=new XMLHttpRequest;return i.open(t,this.url,!0),i.setRequestHeader("X-PSPDFKit-Token",this.token),i.setRequestHeader("PSPDFKit-Platform","web"),i.setRequestHeader("PSPDFKit-Version",(0,r.oM)()),new Promise(((e,t)=>{i.onreadystatechange=()=>{this.aborted||4===i.readyState&&((0,o.vu)(i.status)?e(JSON.parse(i.responseText)):t({message:i.responseText}))},this.httpRequest=i,i.send(n instanceof FormData?n:"object"==typeof n?JSON.stringify(n):void 0)}))}abort(){this.httpRequest&&(this.aborted=!0,this.httpRequest.abort(),this.httpRequest=null)}}},16159:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(84121),r=n(50974),i=n(31712),a=n(93572),s=n(84778);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function c(e){for(var t=1;t{this.annotation[t]&&e.push(t)})),e.length?e:null}}(0,o.Z)(u,"VERSION",2)},81041:(e,t,n)=>{"use strict";n.d(t,{M:()=>d,Z:()=>p});var o=n(84121),r=n(35369),i=n(16159),a=n(15973),s=n(93572),l=n(97413);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function u(e){for(var t=1;t(0,s.u)(e))).toJS()})}static fromJSON(e,t,n){return(0,l.k)("object"==typeof t.rects,"Missing `rects` field"),u(u({},super.fromJSON(e,t,n)),{},{rects:(0,r.aV)(t.rects).map((e=>(0,s.k)(e)))})}}},44048:(e,t,n)=>{"use strict";n.d(t,{a:()=>a,i:()=>s});var o=n(50974),r=n(31712),i=n(1053);function a(e){return{id:e.id,v:1,pdfBookmarkId:e.pdfBookmarkId,type:"pspdfkit/bookmark",name:e.name,sortKey:e.sortKey,action:e.action&&(0,r.vP)(e.action)}}function s(e,t){let n;(0,o.kG)(null==e||"string"==typeof e,"`id` must be null or of type `string`"),(0,o.kG)(null==t.name||"string"==typeof t.name,"`name` must be of type `string`"),(0,o.kG)(null==t.sortKey||"number"==typeof t.sortKey,"`sortKey` must be of type `number`"),(0,o.kG)("object"==typeof t.action,"Missing `action` field");try{n=(0,r.lk)(t.action)}catch(e){(0,o.ZK)(`PDF Action not supported:\n\n${t.action}`)}return new i.Z({id:e,pdfBookmarkId:t.pdfBookmarkId||null,name:t.name,sortKey:t.sortKey,action:n})}},56460:(e,t,n)=>{"use strict";n.d(t,{o:()=>c,z:()=>u});var o=n(84121),r=n(50974),i=n(82481),a=n(84778);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;t{"use strict";n.d(t,{T8:()=>i,X$:()=>o,hH:()=>a,uE:()=>r});const o=e=>e.toJS(),r=e=>e.toJS(),i=(e,t)=>{return{maxWidth:e.maxWidth,alignment:e.alignment,lineSpacingFactor:e.lineSpacingFactor,modificationsCharacterStyle:(n=t,n.toJS())};var n},a=e=>i(e.layout,e.modificationsCharacterStyle)},30578:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var o=n(50974),r=n(35369),i=n(31712),a=n(22660),s=n(82481);function l(e){let t,n;(0,o.kG)("pspdfkit/outline-element"===e.type,"invalid outline element type."),(0,o.kG)(null==e.children||Array.isArray(e.children),"children must be an Array."),(0,o.kG)("string"==typeof e.title,"title must be a string."),(0,o.kG)(null==e.isBold||"boolean"==typeof e.isBold,"isBold must be a boolean."),(0,o.kG)(null==e.isItalic||"boolean"==typeof e.isItalic,"isItalic must be a boolean."),(0,o.kG)(null==e.isExpanded||"boolean"==typeof e.isExpanded,"isExpanded must be a boolean.");try{t=e.action&&(0,i.lk)(e.action)}catch(t){(0,o.ZK)(`PDF Action not supported\n\n${e.action}`)}try{n=e.color&&(0,a.b)(e.color)}catch(t){(0,o.ZK)(`Invalid color:\n\n${e.color}`)}const c={title:e.title,color:n,isBold:!0===e.isBold,isItalic:!0===e.isItalic,isExpanded:!0===e.isExpanded,action:t,children:(0,r.aV)()};return e.children&&e.children.length>0&&(c.children=(0,r.aV)(e.children.map(l))),new s.sT(c)}},13071:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var o=n(84121),r=n(50974),i=n(22660),a=n(18146),s=n(5020),l=n(81041);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function u(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>h,q:()=>f});var o=n(84121),r=n(35369),i=n(22660),a=n(16159),s=n(20367),l=n(97413),c=n(71603),u=n(4132);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function p(e){for(var t=1;t(0,s.K)(e))).toJS()}static _JSONToPoints(e){return(0,r.aV)(e.map((e=>(0,s.W)(e))))}static _JSONLinesToPoints(e){return(0,r.aV)(e.points[0].map(s.W))}}function m(e){return new c.Z({unitFrom:e.unitFrom,unitTo:e.unitTo,fromValue:e.from,toValue:e.to})}},78162:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(84121),r=n(50974),i=n(45395),a=n(22660),s=n(82481),l=n(16159),c=n(31712),u=n(2810),d=n(5020);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function f(e){for(var t=1;t{"use strict";n.d(t,{GI:()=>f,eb:()=>p,lk:()=>u,vP:()=>c});var o=n(84121),r=n(35369),i=n(50974),a=n(89335);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;te(t))).toArray()});if(t instanceof a.lm)return l({type:"uri",uri:t.uri},n);if(t instanceof a.Di)return l({type:"goTo",pageIndex:t.pageIndex},n);if(t instanceof a.Qr)return l({type:"goToEmbedded",newWindow:t.newWindow,relativePath:t.relativePath,targetType:t.targetType},n);if(t instanceof a._6)return l({type:"goToRemote",relativePath:t.relativePath,namedDestination:t.namedDestination},n);if(t instanceof a.ZD)return l({type:"hide",hide:t.hide,annotationReferences:t.annotationReferences.toJS()},n);if(t instanceof a.bp)return l({type:"javaScript",script:t.script},n);if(t instanceof a.b)return l({type:"launch",filePath:t.filePath},n);if(t instanceof a.oH)return l({type:"named",action:t.action},n);if(t instanceof a.BO)return l({type:"resetForm",fields:t.fields?t.fields.toArray():null,flags:t.includeExclude?"includeExclude":null},n);if(t instanceof a.pl)return l({type:"submitForm",uri:t.uri,fields:t.fields?t.fields.toArray():null,flags:d(t)},n);throw new Error(`Unknown action type: ${t.constructor.name}`)}(e)}function u(e){return function e(t){let n=null;switch(t.subactions&&(n={subActions:(0,r.aV)(t.subactions.map((t=>e(t))))}),t.type){case"uri":return(0,i.kG)("string"==typeof t.uri,"URI action must have a `uri`"),new a.lm(l({uri:t.uri},n));case"goTo":return(0,i.kG)("number"==typeof t.pageIndex,"Goto action must have a `pageIndex`"),new a.Di(l({pageIndex:t.pageIndex},n));case"goToEmbedded":return(0,i.kG)("boolean"==typeof t.newWindow,"GoToEmbeddedAction must have `newWindow`"),(0,i.kG)("parent"===t.targetType||"child"===t.targetType,"GoToEmbeddedAction must have a valid `targetType`"),new a.Qr(l({newWindow:t.newWindow,relativePath:t.relativePath||"",targetType:t.targetType||""},n));case"goToRemote":return new a._6(l({relativePath:t.relativePath||"",namedDestination:t.namedDestination||""},n));case"hide":return(0,i.kG)(Array.isArray(t.annotationReferences),"HideAction must have `annotationReferences`"),new a.ZD(l({hide:!!t.hide,annotationReferences:(0,r.aV)(t.annotationReferences)},n));case"javaScript":return new a.bp(l({script:t.script||""},n));case"launch":return new a.b(l({filePath:t.filePath||""},n));case"named":return new a.oH(l({action:t.action||""},n));case"resetForm":{(0,i.kG)(t.fields instanceof Array||void 0===t.fields,"The value of the `fields` field of ResetForm Action has to be an array or undefined"),(0,i.kG)("string"==typeof t.flags||void 0===t.flags,"The value of the `flags` field of ResetForm Action has to be a string or undefined");const e="includeExclude"===t.flags;return new a.BO(l({fields:t.fields?(0,r.aV)(t.fields):void 0,includeExclude:e},n))}case"submitForm":return(0,i.kG)("string"==typeof t.uri,"The value of the `uri` field of SubmitForm Action has to be a string"),(0,i.kG)(t.fields instanceof Array||void 0===t.fields,"The value of the `fields` field of SubmitForm Action has to be an array or undefined"),(0,i.kG)(t.flags instanceof Array||void 0===t.flags,"The value of the `flags` field of SubmitForm Action has to be a array or undefined"),t.flags||(t.flags=[]),new a.pl(l({fields:t.fields?(0,r.aV)(t.fields):void 0,uri:t.uri,includeExclude:t.flags.includes("includeExclude"),includeNoValueFields:t.flags.includes("includeNoValueFields"),exportFormat:t.flags.includes("exportFormat"),getMethod:t.flags.includes("getMethod"),submitCoordinated:t.flags.includes("submitCoordinated"),xfdf:t.flags.includes("xfdf"),includeAppendSaves:t.flags.includes("includeAppendSaves"),includeAnnotations:t.flags.includes("includeAnnotations"),submitPDF:t.flags.includes("submitPDF"),canonicalFormat:t.flags.includes("canonicalFormat"),excludeNonUserAnnotations:t.flags.includes("excludeNonUserAnnotations"),excludeFKey:t.flags.includes("excludeFKey"),embedForm:t.flags.includes("embedForm")},n));default:throw new Error(`Unknown action: ${t}`)}}(e)}function d(e){const t=[];return["includeExclude","includeNoValueFields","exportFormat","getMethod","submitCoordinated","xfdf","includeAppendSaves","includeAnnotations","submitPDF","canonicalFormat","excludeNonUserAnnotations","excludeFKey","embedForm"].forEach((n=>{e[n]&&t.push(n)})),t.length?t:null}function p(e){return Object.keys(e).reduce(((t,n)=>{const o=e[n];return o&&(t[n]=u(o)),t}),{})}function f(e){return Object.keys(e).reduce(((t,n)=>{const o=e[n];return o instanceof a.aU&&(t[n]=c(o)),t}),{})}},84778:(e,t,n)=>{"use strict";n.d(t,{G:()=>s,Ut:()=>c,a5:()=>l});var o=n(84121),r=n(50974);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};const{group:t,permissions:n}=e;(0,r.kG)(void 0===t||"string"==typeof t||null===t,"`group` should be `undefined` or `string`."),(0,r.kG)(void 0===n||(0,r.PO)(n),"`permissions` should be `undefined` or an `object`."),(0,r.PO)(n)&&((0,r.kG)("boolean"==typeof n.edit,"`permissions.edit` should be `boolean`."),(0,r.kG)("boolean"==typeof n.delete,"`permissions.delete` should be `boolean`."),(0,r.kG)("boolean"==typeof n.setGroup,"`permissions.setGroup` should be `boolean`."),void 0!==n.fill&&(0,r.kG)("boolean"==typeof n.fill,"`permissions.fill` should be `boolean`."),void 0!==n.reply&&(0,r.kG)("boolean"==typeof n.reply,"`permissions.reply` should be `boolean`."))}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{group:t,permissions:n}=e;let o={group:t};return(0,r.PO)(n)&&(o=a(a({},o),{},{canSetGroup:n.setGroup,isEditable:n.edit,isDeletable:n.delete}),"boolean"==typeof n.fill&&(o.isFillable=n.fill),"boolean"==typeof n.reply&&(o.canReply=n.reply)),o}function c(e){const t="boolean"==typeof e.isEditable&&"boolean"==typeof e.canSetGroup&&"boolean"==typeof e.isDeletable;let n={group:e.group};return t&&((0,r.kG)("boolean"==typeof e.isEditable),(0,r.kG)("boolean"==typeof e.isDeletable),(0,r.kG)("boolean"==typeof e.canSetGroup),n=a(a({},n),{},{permissions:{edit:e.isEditable,delete:e.isDeletable,setGroup:e.canSetGroup}}),"boolean"==typeof e.isFillable&&(n.permissions=a(a({},n.permissions),{},{fill:e.isFillable})),"boolean"==typeof e.canReply&&(n.permissions=a(a({},n.permissions),{},{reply:e.canReply}))),n}},22660:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,b:()=>a});var o=n(50974),r=n(82481);function i(e){return e.toHex()}function a(e){if((0,o.kG)(7===e.length||9===e.length,"Tried to deserialize color that does not have 7 or 9 characters"),"#00000000"===e)return r.Il.TRANSPARENT;const t=parseInt(e.substring(1,3),16),n=parseInt(e.substring(3,5),16),i=parseInt(e.substring(5,7),16);return new r.Il({r:t,g:n,b:i})}},62793:(e,t,n)=>{"use strict";n.d(t,{B:()=>i,r:()=>a});var o=n(50974),r=n(82481);function i(e){return[e.left,e.top,e.right,e.bottom]}function a(e){return(0,o.kG)(4===e.length,"Tried to deserialize inset that does not have 4 entries"),new r.eB({left:e[0],top:e[1],right:e[2],bottom:e[3]})}},20367:(e,t,n)=>{"use strict";n.d(t,{K:()=>i,W:()=>a});var o=n(50974),r=n(82481);function i(e){return[e.x,e.y]}function a(e){return(0,o.kG)(2===e.length,"Tried to deserialize point that does not have 2 entries"),new r.E9({x:e[0],y:e[1]})}},93572:(e,t,n)=>{"use strict";n.d(t,{k:()=>a,u:()=>i});var o=n(50974),r=n(82481);function i(e){return[e.left,e.top,e.width,e.height]}function a(e){return(0,o.kG)(4===e.length,"Tried to deserialize rect that does not have 4 entries"),new r.UL({left:e[0],top:e[1],width:e[2],height:e[3]})}},2810:(e,t,n)=>{"use strict";n.d(t,{Lw:()=>qe,vH:()=>Fe,Mu:()=>Re,IN:()=>Me,u9:()=>Be,Vl:()=>it,rS:()=>je,XH:()=>tt,l9:()=>Xe,Fd:()=>Je,_o:()=>et,_Q:()=>Ge,Qp:()=>We,$T:()=>Qe,Hs:()=>Ie,jA:()=>Ne,kg:()=>nt,vD:()=>_e,kr:()=>Le,xT:()=>$e,sr:()=>Ue,_D:()=>Ke,eE:()=>Ze,_L:()=>Ve,YA:()=>rt,MR:()=>Ye});var o=n(17375),r=n(84121),i=n(50974),a=n(35369),s=n(82481),l=n(18146),c=n(74973),u=n(22660),d=n(20367),p=n(16159);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;te.map((e=>(0,d.K)(e))))).toJS(),intensities:this.annotation.lines.map((e=>e.map((e=>e.intensity)))).toJS()}}static _JSONToLines(e){return(0,a.aV)(e.points).map(((t,n)=>{const o=e.intensities[n];return(0,a.aV)(t).map(((e,t)=>{const n=o[t],r=(0,d.W)(e);return new s.Wm({x:r.x,y:r.y,intensity:n})}))}))}}var g=n(74115),v=n(97413);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function b(e){for(var t=1;t{Object.keys(e).forEach((t=>{null==e[t]||e[t]instanceof Array&&0===e[t].length?delete e[t]:"object"!=typeof e[t]||e[t]instanceof Array||Te(e[t])}))};function Ie(e){const t=new(function(e){switch(e){case s.Zc:return m;case s.o9:return w;case s.b3:return D;case s.Xs:return A;case s.Hi:return I;case s.om:return _;case s.R1:return L;case s.FV:case s.R9:case s.xu:case s.hL:return X;case l.Z:return pe.Z;case s.gd:return q;case s.Qi:return K;case s.sK:return oe;case s.GI:return se;case s.x_:return le.Z;case s.Jn:return de;case s.Ih:return ee;case c.Z:return me;default:throw new Error("Unsupported annotation type")}}(e.constructor))(e).toJSON();return Te(t),t}function Fe(e,t,n){return He(t.type).fromJSON(e,t,n)}function Me(e,t,n){return function(e,t,n){(0,v.k)(1===t.v,"Version Unknown"),(0,v.k)("string"==typeof e,"`id` must be of type `string`"),(0,v.k)(null==t.name||"string"==typeof t.name,"`name` must be of type `string`"),(0,v.k)("string"==typeof t.type&&t.type.startsWith("pspdfkit/form-field/")&&3===t.type.split("/").length,`Invalid type for form field '${t.type}'`),(0,we.G)(n);const o=t.type.split("/")[2],r=t.flags?t.flags.reduce(((e,t)=>(e[t]=!0,e)),{}):{},s=Ee({id:e,pdfObjectId:t.pdfObjectId||null,name:t.name,annotationIds:(0,a.aV)(t.annotationIds),label:t.label,readOnly:r.readOnly,required:r.required,noExport:r.noExport,additionalActions:t.additionalActions?(0,be.eb)(t.additionalActions):null},(0,we.a5)(n));switch(t.type){case"pspdfkit/form-field/button":return new ge.R0(Ee(Ee({},s),{},{buttonLabel:t.buttonLabel}));case"pspdfkit/form-field/checkbox":return new ge.rF(Ee(Ee({},s),{},{defaultValues:(0,a.aV)(t.defaultValues),options:(0,a.aV)(t.options.map((e=>new ve.Z(e))))}));case"pspdfkit/form-field/combobox":return new ge.fB(Ee(Ee({},s),{},{options:(0,a.aV)(t.options.map((e=>new ve.Z(e)))),multiSelect:t.multiSelect,commitOnChange:t.commitOnChange,defaultValues:(0,a.aV)(t.defaultValues),edit:t.edit,doNotSpellCheck:t.doNotSpellCheck}));case"pspdfkit/form-field/listbox":return new ge.Vi(Ee(Ee({},s),{},{options:(0,a.aV)(t.options.map((e=>new ve.Z(e)))),multiSelect:t.multiSelect,commitOnChange:t.commitOnChange,defaultValues:(0,a.aV)(t.defaultValues)}));case"pspdfkit/form-field/radio":return new ge.XQ(Ee(Ee({},s),{},{noToggleToOff:t.noToggleToOff,radiosInUnison:t.radiosInUnison,defaultValue:t.defaultValue,options:(0,a.aV)(t.options.map((e=>new ve.Z(e))))}));case"pspdfkit/form-field/text":return new ge.$o(Ee(Ee({},s),{},{defaultValue:t.defaultValue,password:t.password,maxLength:t.maxLength,doNotSpellCheck:t.doNotSpellCheck,doNotScroll:t.doNotScroll,multiLine:t.multiLine,comb:t.comb}));case"pspdfkit/form-field/signature":return new ge.Yo(s);default:throw new i.p2(`Form field type not deserializable: ${o}`)}}(e,t,n)}function _e(e){return function(e){const t=ye.Mr.filter((t=>e[t])),n=Ee(Ee({id:e.id,v:1,pdfObjectId:e.pdfObjectId,name:e.name,annotationIds:e.annotationIds.toArray(),label:e.label,additionalActions:e.additionalActions&&(0,be.GI)(e.additionalActions)},(0,we.Ut)(e)),(null==t?void 0:t.length)&&{flags:t});if(e instanceof ge.R0)return Ee(Ee({},n),{},{type:"pspdfkit/form-field/button",buttonLabel:e.buttonLabel});if(e instanceof ge.rF)return Ee(Ee({},n),{},{type:"pspdfkit/form-field/checkbox",defaultValues:e.defaultValues.toArray(),options:e.options.toJS()});if(e instanceof ge.fB)return Ee(Ee({},n),{},{type:"pspdfkit/form-field/combobox",options:e.options.toJS(),multiSelect:e.multiSelect,commitOnChange:e.commitOnChange,defaultValues:e.defaultValues.toArray(),edit:e.edit,doNotSpellCheck:e.doNotSpellCheck});if(e instanceof ge.Vi)return Ee(Ee({},n),{},{type:"pspdfkit/form-field/listbox",options:e.options.toJS(),multiSelect:e.multiSelect,commitOnChange:e.commitOnChange,defaultValues:e.defaultValues.toArray()});if(e instanceof ge.XQ)return Ee(Ee({},n),{},{type:"pspdfkit/form-field/radio",options:e.options.toJS(),noToggleToOff:e.noToggleToOff,radiosInUnison:e.radiosInUnison,defaultValue:e.defaultValue});if(e instanceof ge.$o)return Ee(Ee({},n),{},{type:"pspdfkit/form-field/text",password:e.password,maxLength:e.maxLength,doNotSpellcheck:e.doNotSpellCheck,doNotScroll:e.doNotScroll,multiLine:e.multiLine,comb:e.comb,defaultValue:e.defaultValue});if(e instanceof ge.Yo)return Ee(Ee({},n),{},{type:"pspdfkit/form-field/signature"});throw new i.p2("Form field type not serializable")}(e)}function Re(e,t,n){return(0,De.z)(e,t,n)}function Ne(e,t){return(0,De.o)(e,t)}function Le(e){const t=a.aV.isList(e.value)?e.value.toArray():null==e.value?void 0:e.value;return Oe(Oe({v:1,type:"pspdfkit/form-field-value",name:e.name,value:t},e.optionIndexes&&e.optionIndexes.size>=1?{optionIndexes:e.optionIndexes.toArray()}:null),"boolean"==typeof e.isFitting&&{isFitting:e.isFitting})}function Be(e){(0,i.kG)("pspdfkit/form-field-value"===e.type,"Invalid `type` for form field value."),(0,i.kG)(1===e.v,"Invalid `version` for form field value."),(0,i.kG)("string"==typeof e.name,"Invalid `name` for form field value. Must be of type `string`."),(0,i.kG)(void 0===e.value||null===e.value||"string"==typeof e.value||Array.isArray(e.value),"Invalid `value` for form field value. Must be of type `undefined`, `null`, `string`, or `Array`."),(0,i.kG)(void 0===e.optionIndexes||Array.isArray(e.optionIndexes)&&e.optionIndexes.every(Number.isInteger),"Invalid `optionIndexes` value for form field value. Must be an Array of integers."),(0,i.kG)(void 0===(null==e?void 0:e.isFitting)||"boolean"==typeof e.isFitting,"Invalid `isFitting` value for form field value. Must be a boolean.");const t=e.value instanceof Array?(0,a.aV)(e.value):e.value,n=e.name;return new ge.KD(Oe(Oe({name:n,value:t},e.optionIndexes&&e.optionIndexes.length>=1?{optionIndexes:(0,a.aV)(e.optionIndexes)}:null),"boolean"==typeof e.isFitting&&{isFitting:e.isFitting}))}function je(e){if(!Object.values(xe._).includes(e.status))throw new i.p2("Invalid `status` for signatures info. Must be one of the `PSPDFKit.DocumentValidationStatus` values");if("string"!=typeof e.checkedAt)throw new i.p2("Invalid `checkedAt` for signatures info. Must be of type `string`.");if(void 0!==e.signatures&&!Array.isArray(e.signatures))throw new i.p2("Invalid `signatures` for signatures info. Must be of type `undefined` or `Array`.");if(!["undefined","boolean"].includes(typeof e.documentModifiedSinceSignature))throw new i.p2("Invalid `documentModifiedSinceSignature` for signatures info. Must be of type `undefined` or `boolean`.");const{checkedAt:t,signatures:n,documentModifiedSinceSignature:o}=e;return Oe(Oe({status:xe._[e.status],checkedAt:new Date(t)},n?{signatures:ze(n)}:null),"boolean"==typeof o?{documentModifiedSinceSignature:o}:null)}function ze(e){return e.map((e=>{if("pspdfkit/signature-info"!==e.type)throw new i.p2("Invalid `type` for signature info.");if(["signerName","creationDate","signatureReason","signatureLocation"].forEach((t=>{if(!["undefined","string"].includes(typeof e[t]))throw new i.p2(`Invalid \`${t}\` for signature info. Must be \`undefined\` or \`string\`.`)})),["isTrusted","isSelfSigned","isExpired","documentModifiedSinceSignature"].forEach((t=>{if(!["boolean"].includes(typeof e[t]))throw new i.p2(`Invalid \`${t}\` for signature info. Must be \`boolean\``)})),!["string"].includes(typeof e.signatureFormFQN))throw new i.p2("Invalid `signatureFormFQN` for signature info. Must be a `string`.");if(!Object.values(Pe.QA).includes(e.documentIntegrityStatus))throw new i.p2("Invalid `documentIntegrityStatus` for signature info. Must be one of the `PSPDFKit.DocumentIntegrityStatus` values");if(!Object.values(Pe.Xl).includes(e.signatureType))throw new i.p2(`Invalid \`signatureType\` for signature info: ${e.signatureType}. Must be 'cms' or 'cades'`);if(!Object.values(Pe.wk).includes(e.certificateChainValidationStatus))throw new i.p2("Invalid `certificateChainValidationStatus` for signature info. Must be one of the `PSPDFKit.CertificateChainValidationStatus` values");if(!Object.values(Pe.qA).includes(e.signatureValidationStatus))throw new i.p2("Invalid `signatureValidationStatus` for signature info. Must be one of the `PSPDFKit.SignatureValidationStatus` values");return{type:e.type,signatureType:ot[e.signatureType],documentIntegrityStatus:Pe.QA[e.documentIntegrityStatus],certificateChainValidationStatus:Pe.wk[e.certificateChainValidationStatus],signatureValidationStatus:Pe.qA[e.signatureValidationStatus],isTrusted:e.isTrusted,isSelfSigned:e.isSelfSigned,isExpired:e.isExpired,documentModifiedSinceSignature:e.documentModifiedSinceSignature,signerName:e.signerName,signatureReason:e.signatureReason,signatureLocation:e.signatureLocation,creationDate:e.creationDate?new Date(e.creationDate):void 0,signatureFormFQN:e.signatureFormFQN}}))}function Ke(e){return Oe({type:"pspdfkit/signature-metadata"},e)}function Ze(e){return e?{type:"pspdfkit/signature-position",pageIndex:e.pageIndex,rect:(0,E.u)(e.boundingBox)}:null}function Ue(e){if(!e)return null;const{watermarkImage:t}=e,n=(0,o.Z)(e,Ce);let r;return t&&(r=t.type),Oe(Oe({type:"pspdfkit/signature-appearance"},n),r?{contentType:r}:null)}function Ve(e){const t=e||{},{signatureType:n,certificates:r}=t,i=(0,o.Z)(t,ke);return Oe({type:"pspdfkit/signer-data-source",certificates:r||[],signatureType:rt[n||(r&&r.length>0?Pe.BG.CAdES:Pe.BG.CMS)]||Pe.Xl.cms},i)}function Ge(e){return"string"==typeof e.type&&e.type.startsWith("pspdfkit/form-field/")}function We(e){return"pspdfkit/form-field-value"===e.type}function qe(e){return e.map((e=>e.data)).toJS()}const He=e=>{switch(e){case"pspdfkit/ink":return m;case"pspdfkit/shape/line":return w;case"pspdfkit/shape/rectangle":return D;case"pspdfkit/shape/ellipse":return A;case"pspdfkit/shape/polygon":return I;case"pspdfkit/shape/polyline":return _;case"pspdfkit/link":return L;case"pspdfkit/markup/highlight":case"pspdfkit/markup/squiggly":case"pspdfkit/markup/strikeout":case"pspdfkit/markup/underline":return X;case"pspdfkit/markup/redaction":return pe.Z;case"pspdfkit/text":return q;case"pspdfkit/note":return K;case"pspdfkit/image":return oe;case"pspdfkit/stamp":return se;case"pspdfkit/widget":return le.Z;case"pspdfkit/comment-marker":return de;case"pspdfkit/media":return me;default:return ee}};function $e(e){const t=Object.entries(e).reduce(((e,t)=>{let[n,o]=t;switch(n){case"color":case"fontColor":case"strokeColor":case"backgroundColor":case"borderColor":case"fillColor":case"outlineColor":e[n]=o&&(0,u.C)(o);break;case"startPoint":case"endPoint":e[n]=o&&(0,d.K)(o);break;case"icon":e.icon=B.Y4[o];break;case"points":e.points=o&&o.map((e=>(0,d.K)(e))).toJS();break;case"lines":e.lines=o&&{points:o.map((e=>e.map((e=>(0,d.K)(e))))).toJS(),intensities:o.map((e=>e.map((e=>e.intensity)))).toJS()};break;case"isBold":e.fontStyle=Array.isArray(e.fontStyle)?e.fontStyle.concat("bold"):["bold"];break;case"isItalic":e.fontStyle=Array.isArray(e.fontStyle)?e.fontStyle.concat("italic"):["italic"];break;case"callout":e.callout=o&&{start:(0,d.K)(o.start),knee:o.knee&&(0,d.K)(o.knee),end:(0,d.K)(o.end),cap:o.cap};break;case"boundingBox":e.bbox=o&&(0,E.u)(o);break;case"cloudyBorderInset":e.cloudyBorderInset=o&&(0,S.B)(o);break;case"strokeDashArray":case"borderDashArray":e.strokeDashArray=o;break;case"action":e.action=o&&(0,be.vP)(o);break;case"createdAt":case"updatedAt":e[n]=o&&o.toISOString();break;case"noPrint":case"noZoom":case"noRotate":case"noView":case"hidden":!0===o&&(e.flags=Array.isArray(e.flags)?e.flags.concat(n):[n]);break;default:e[n]=o}return e}),{});return Te(t),t}function Ye(e){const t=Object.entries(e).reduce(((e,t)=>{let[n,o]=t;switch(n){case"color":case"fontColor":case"strokeColor":case"backgroundColor":case"borderColor":case"fillColor":case"outlineColor":e[n]=null!=o?(0,u.b)(o):null;break;case"startPoint":case"endPoint":e[n]=o&&(0,d.W)(o);break;case"icon":e.icon=B.V9[o];break;case"points":e.points=o&&(0,a.aV)(o.map((e=>(0,d.W)(e))));break;case"lines":e.lines=o&&(0,a.aV)(o.points).map(((e,t)=>{const n=o.intensities[t];return(0,a.aV)(e).map(((e,t)=>{const o=n[t],r=(0,d.W)(e);return new s.Wm({x:r.x,y:r.y,intensity:o})}))}));break;case"fontStyle":e.isBold=o&&o.includes("bold"),e.isItalic=o&&o.includes("italic");break;case"callout":e.callout=o&&{start:(0,d.W)(o.start),knee:o.knee&&(0,d.W)(o.knee),end:(0,d.W)(o.end),cap:o.cap};break;case"bbox":e.boundingBox=o&&(0,E.k)(o);break;case"cloudyBorderInset":e.cloudyBorderInset=o&&(0,S.r)(o);break;case"strokeDashArray":e.strokeDashArray=o;break;case"action":e.action=o&&(0,be.lk)(o);break;case"createdAt":case"updatedAt":e[n]=new Date(o);break;case"flags":o&&(e.noPrint=o.includes("noPrint"),e.noZoom=o.includes("noZoom"),e.noRotate=o.includes("noRotate"),e.noView=o.includes("noView"),e.hidden=o.includes("hidden"));break;default:e[n]=o}return e}),{});return Te(t),t}function Xe(e){return"pspdfkit/bookmark"===e.type}function Je(e){return"pspdfkit/comment"===e.type}function Qe(e){return"pspdfkit/signature-info"===e.type}function et(e){return"pspdfkit/embedded-file"===e.type}function tt(e){const t=[];return e.isBold&&t.push("bold"),e.isItalic&&t.push("italic"),t.length>0?t:null}function nt(e){if("addPage"===e.type){if("afterPageIndex"in e&&"number"==typeof e.afterPageIndex)return Oe({type:e.type,afterPageIndex:e.afterPageIndex,pageWidth:e.pageWidth,pageHeight:e.pageHeight,rotateBy:e.rotateBy,backgroundColor:e.backgroundColor.toCSSValue()},e.insets&&{insets:(0,E.u)(e.insets)});if("beforePageIndex"in e&&"number"==typeof e.beforePageIndex)return Oe({type:e.type,beforePageIndex:e.beforePageIndex,pageWidth:e.pageWidth,pageHeight:e.pageHeight,rotateBy:e.rotateBy,backgroundColor:e.backgroundColor.toCSSValue()},e.insets&&{insets:(0,E.u)(e.insets)});throw new i.p2("The `addPage` operation is missing either the `afterPageIndex` or the `beforePageIndex` property")}return"cropPages"===e.type?{type:e.type,cropBox:(0,E.u)(e.cropBox),pageIndexes:e.pageIndexes}:e}const ot={cms:"CMS",cades:"CAdES",documentTimestamp:"documentTimestamp"},rt={CMS:"cms",CAdES:"cades",documentTimestamp:"documentTimestamp"};function it(e){return(0,a.aV)(e.map((e=>({c:e.c,rect:(0,E.k)(e.r)}))))}},63564:(e,t,n)=>{"use strict";n.d(t,{gb:()=>y,qH:()=>g});var o=n(84121),r=n(17375),i=n(50974),a=n(35369),s=n(15973),l=n(72584),c=n(30679),u=n(80857),d=n(18146);const p=["icon"];function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({readOnly:!1,downloadingAllowed:!0})){}},1053:(e,t,n)=>{"use strict";n.d(t,{G:()=>d,Z:()=>u});var o=n(84121),r=n(35369),i=n(80857),a=n(86920),s=n(44048);const l=(0,i.Z)("Bookmark"),c={id:null,pdfBookmarkId:null,name:null,sortKey:null,action:null};class u extends(r.WV(c)){}(0,o.Z)(u,"toSerializableObject",s.a),(0,o.Z)(u,"fromSerializableObject",(e=>(0,s.i)(null,e)));const d=e=>{const{name:t,sortKey:n,action:o}=e;null!=t&&l("string"==typeof t,"`name` must be a string"),null!=n&&l("number"==typeof n,"`sortKey` must be a number"),l(o instanceof a.aU,"`action` must be an instance of PSPDFKit.Actions.Action")}},98663:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({printHighQuality:!0,extract:!0,preventTextCopy:!1})){}},83634:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(84121),r=n(35369),i=n(50974);class a extends((0,r.WV)({r:0,g:0,b:0,transparent:!1})){constructor(e){!0!==e.transparent?super(e):super({transparent:!0})}lighter(e){(0,i.kG)("number"==typeof e&&e>=0&&e<=100,"Invalid `percent` value. Must be 0-100.");const t=255*e/100;let n=parseInt(this.r+t),o=parseInt(this.g+t),r=parseInt(this.b+t);return n=n<255?n:255,o=o<255?o:255,r=r<255?r:255,new a({r:n,g:o,b:r})}darker(e){(0,i.kG)("number"==typeof e&&e>=0&&e<=100,"Invalid `percent` value. Must be 0-100.");const t=255*e/100;let n=parseInt(this.r-t),o=parseInt(this.g-t),r=parseInt(this.b-t);return n=n>0?n:0,o=o>0?o:0,r=r>0?r:0,new a({r:n,g:o,b:r})}equals(e){return(0,i.kG)(e instanceof a||"object"==typeof e,"Invalid `color` provided. It must be an instance of Color or an RGB object."),(0,i.kG)("number"==typeof e.r&&e.r>=0&&e.r<=255,"Invalid `r` value provided. It must be an integer between 0 and 255."),(0,i.kG)("number"==typeof e.g&&e.g>=0&&e.g<=255,"Invalid `g` value provided. It must be an integer between 0 and 255."),(0,i.kG)("number"==typeof e.b&&e.b>=0&&e.b<=255,"Invalid `b` value provided. It must be an integer between 0 and 255."),!this.transparent&&!e.transparent&&this.r===e.r&&this.g===e.g&&this.b===e.b||this.transparent&&e.transparent}saturate(e){(0,i.kG)("number"==typeof e&&e>=0&&e<=100,"Invalid `percent` value. Must be 0-100.");const t=e/100,n=.3086*this.r+.6094*this.g+.082*this.b;return new a({r:Math.round(this.r*t+n*(1-t)),g:Math.round(this.g*t+n*(1-t)),b:Math.round(this.b*t+n*(1-t))})}sRGBToRGBComponent(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}relativeLuminance(){const{r:e,g:t,b:n}={r:this.r/255,g:this.g/255,b:this.b/255},{R:o,G:r,B:i}={R:this.sRGBToRGBComponent(e),G:this.sRGBToRGBComponent(t),B:this.sRGBToRGBComponent(n)};return.2126*o+.7152*r+.0722*i}contrastRatio(e){return(this.relativeLuminance()+.05)/(e.relativeLuminance()+.05)}toCSSValue(){return this.transparent?"transparent":`rgb(${this.r}, ${this.g}, ${this.b})`}toHex(){if(this.transparent)return"#00000000";let e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}(0,o.Z)(a,"BLACK",new a({r:0,g:0,b:0})),(0,o.Z)(a,"GREY",new a({r:128,g:128,b:128})),(0,o.Z)(a,"WHITE",new a({r:255,g:255,b:255})),(0,o.Z)(a,"DARK_BLUE",new a({r:36,g:131,b:199})),(0,o.Z)(a,"RED",new a({r:248,g:36,b:0})),(0,o.Z)(a,"PURPLE",new a({r:255,g:0,b:255})),(0,o.Z)(a,"PINK",new a({r:255,g:114,b:147})),(0,o.Z)(a,"GREEN",new a({r:110,g:176,b:0})),(0,o.Z)(a,"ORANGE",new a({r:243,g:149,b:0})),(0,o.Z)(a,"YELLOW",new a({r:255,g:255,b:0})),(0,o.Z)(a,"LIGHT_BLUE",new a({r:141,g:184,b:255})),(0,o.Z)(a,"LIGHT_RED",new a({r:247,g:141,b:138})),(0,o.Z)(a,"LIGHT_GREEN",new a({r:162,g:250,b:123})),(0,o.Z)(a,"LIGHT_YELLOW",new a({r:252,g:238,b:124})),(0,o.Z)(a,"BLUE",new a({r:34,g:147,b:251})),(0,o.Z)(a,"LIGHT_ORANGE",new a({r:255,g:139,b:94})),(0,o.Z)(a,"LIGHT_GREY",new a({r:192,g:192,b:192})),(0,o.Z)(a,"DARK_GREY",new a({r:64,g:64,b:64})),(0,o.Z)(a,"MAUVE",new a({r:245,g:135,b:255})),(0,o.Z)(a,"TRANSPARENT",new a({transparent:!0})),(0,o.Z)(a,"fromHex",(e=>e.length>=8&&(e.endsWith("00")||e.endsWith("00"))?a.TRANSPARENT:new a({r:parseInt(e.substr(1,2),16),g:parseInt(e.substr(3,2),16),b:parseInt(e.substr(5,2),16)})))},86071:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(83634);const r=[{color:o.Z.RED,localization:{id:"red",defaultMessage:"Red",description:"Red color"}},{color:o.Z.ORANGE,localization:{id:"orange",defaultMessage:"Orange",description:"Orange color"}},{color:o.Z.YELLOW,localization:{id:"yellow",defaultMessage:"Yellow",description:"Yellow color"}},{color:o.Z.GREEN,localization:{id:"green",defaultMessage:"Green",description:"Green color"}},{color:o.Z.DARK_BLUE,localization:{id:"darkBlue",defaultMessage:"Dark blue",description:"Dark blue color"}},{color:o.Z.BLUE,localization:{id:"blue",defaultMessage:"Blue",description:"Blue color"}},{color:o.Z.PURPLE,localization:{id:"purple",defaultMessage:"Purple",description:"Purple color"}},{color:o.Z.PINK,localization:{id:"pink",defaultMessage:"Pink",description:"Pink color"}},{color:o.Z.LIGHT_ORANGE,localization:{id:"lightOrange",defaultMessage:"Light Orange",description:"Light Orange color"}},{color:o.Z.LIGHT_YELLOW,localization:{id:"lightYellow",defaultMessage:"Light Yellow",description:"Light Yellow color"}},{color:o.Z.LIGHT_GREEN,localization:{id:"lightGreen",defaultMessage:"Light Green",description:"Light Green color"}},{color:o.Z.LIGHT_BLUE,localization:{id:"lightBlue",defaultMessage:"Light Blue",description:"Light Blue color"}},{color:o.Z.MAUVE,localization:{id:"mauve",defaultMessage:"Mauve",description:"Mauve color"}},{color:o.Z.TRANSPARENT,localization:{id:"transparent",defaultMessage:"Transparent",description:"Transparent"}},{color:o.Z.WHITE,localization:{id:"white",defaultMessage:"White",description:"White color"}},{color:o.Z.LIGHT_GREY,localization:{id:"lightGrey",defaultMessage:"Light Grey",description:"Light Grey color"}},{color:o.Z.GREY,localization:{id:"grey",defaultMessage:"Grey",description:"Grey color"}},{color:o.Z.DARK_GREY,localization:{id:"darkGrey",defaultMessage:"Dark Grey",description:"Dark Grey color"}},{color:o.Z.BLACK,localization:{id:"black",defaultMessage:"Black",description:"Black color"}}]},11721:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});class o{constructor(e){this.name=e.name,this.reason=e.reason,this.progress=e.progress}}},68218:(e,t,n)=>{"use strict";n.d(t,{Ar:()=>v,CF:()=>b,Cd:()=>_,DN:()=>u,Dn:()=>B,FP:()=>a,FQ:()=>E,G_:()=>z,I5:()=>T,IA:()=>m,JR:()=>S,Q7:()=>k,QC:()=>K,R1:()=>i,Sg:()=>l,Ts:()=>x,UL:()=>c,W4:()=>p,Y1:()=>w,YG:()=>j,_h:()=>O,a2:()=>y,aN:()=>M,aT:()=>N,jI:()=>R,lK:()=>L,mZ:()=>d,nv:()=>A,t9:()=>I,tW:()=>P,tk:()=>C,vz:()=>g,wR:()=>s,xb:()=>F,yJ:()=>D,yO:()=>h});var o=n(50974),r=n(35369);let i,a,s;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Loading=1]="Loading",e[e.Loaded=2]="Loaded"}(i||(i={})),function(e){e[e.None=0]="None",e[e.Selected=1]="Selected",e[e.Active=2]="Active",e[e.Moving=3]="Moving"}(a||(a={})),function(e){e[e.Edit=0]="Edit",e[e.Create=1]="Create",e[e.Delete=2]="Delete"}(s||(s={}));class l extends((0,r.WV)({x:0,y:0})){}class c extends((0,r.WV)({offset:new l,size:new l})){}class u extends((0,r.WV)({rotation:0,flipY:!1})){}class d extends((0,r.WV)({xScale:1,skew:0})){}class p extends((0,r.WV)({bold:!1,italic:!1})){}const f={regular:new p,bold:new p({bold:!0}),italic:new p({italic:!0}),boldItalic:new p({bold:!0,italic:!0})};class h extends((0,r.WV)({family:"",variant:f.regular})){}class m extends((0,r.WV)({faceRef:new h,size:0})){}class g extends((0,r.WV)({fontRef:new m,color:"#000000",effects:new d})){}class v extends((0,r.WV)({maxWidth:null,alignment:"begin",lineSpacingFactor:1})){}class y extends((0,r.WV)({top:0,bottom:0})){}class b extends((0,r.WV)({offset:new l,lineSpacing:new y})){}class w extends((0,r.WV)({begin:0,end:0,text:""})){}class S extends((0,r.WV)({unavailableFaceName:null})){}class E extends((0,r.WV)({cluster:0,offset:new l,advance:new l,text:"",control:null,lastOfSegment:!1,beginOfWord:!1,endOfWord:!1})){}class P extends((0,r.WV)({offset:new l,lineSpacing:new y,elements:(0,r.aV)()})){}class x extends((0,r.WV)({lines:(0,r.aV)()})){}class D extends((0,r.WV)({family:null,faceMismatch:null,bold:null,italic:null,size:null,xScale:null,skew:null,color:null})){}class C extends((0,r.WV)({selectionStyleInfo:null,modificationsCharacterStyle:null,modificationsCharacterStyleFaceMismatch:null})){}class k extends((0,r.WV)({id:"",initialAnchor:new l,initialGlobalEffects:new u,initialLayout:new v,anchor:new l,globalEffects:new u,layout:new v,justCreated:!1,modificationsCharacterStyle:new g,version:0,contentRect:new c,cursor:new b,selection:null,detectedStyle:new C,layoutView:new x})){}class A extends((0,r.WV)({initialTextBlocks:(0,r.aV)(),textBlocks:(0,r.aV)(),loading:!0})){}class O extends((0,r.WV)({pageIndex:0,textBlockId:"",state:a.None})){}class T extends((0,r.WV)({family:"",variants:(0,r.l4)()})){}class I extends((0,r.WV)({faceList:null,loading:!1})){}class F extends((0,r.WV)({fontFace:null,rect:null,dismissAbortController:null})){}class M extends((0,r.WV)({pageStates:(0,r.D5)(),availableFaces:new I,textBlockInteractionState:new O,sessionId:0,active:!1,dirty:!1,saving:!1,mode:s.Edit,fontMismatchTooltip:null})){}const _=e=>t=>{const n=t.contentEditorSession.pageStates.get(e);return n?n.loading?i.Loading:i.Loaded:i.Uninitialized},R=e=>t=>{const n=t.contentEditorSession.pageStates.get(e);return n?[...n.textBlocks.map((e=>e.id))]:[]},N=(e,t)=>n=>{const r=n.contentEditorSession.pageStates.get(e);(0,o.kG)(r);for(const e of r.textBlocks)if(e.id==t)return e;return null},L=e=>{const{textBlockInteractionState:t}=e.contentEditorSession;return!t||t.state!==a.Active&&t.state!==a.Selected?null:N(t.pageIndex,t.textBlockId)(e)},B=(e,t)=>n=>{const{textBlockInteractionState:o}=n.contentEditorSession;return o&&o.state===a.Active&&o.pageIndex===e&&o.textBlockId===t},j=e=>e.contentEditorSession.availableFaces,z=(e,t)=>n=>{const{textBlockInteractionState:o}=n.contentEditorSession;return o&&o.state===a.Selected&&o.pageIndex===e&&o.textBlockId===t},K=(e,t)=>n=>{const{textBlockInteractionState:o}=n.contentEditorSession;return o&&o.state===a.Moving&&o.pageIndex===e&&o.textBlockId===t}},74985:(e,t,n)=>{"use strict";n.d(t,{G:()=>l,Z:()=>a});var o=n(35369),r=n(88804);const i=(0,n(80857).Z)("CustomOverlayItem");class a extends((0,o.WV)({disableAutoZoom:!1,id:null,node:null,noRotate:!1,pageIndex:0,position:new r.E9,onAppear:null,onDisappear:null})){constructor(e){super(e)}}const s=[Node.ELEMENT_NODE,Node.TEXT_NODE,Node.COMMENT_NODE,Node.DOCUMENT_FRAGMENT_NODE],l=e=>{const{disableAutoZoom:t,id:n,node:o,noRotate:a,pageIndex:l,position:c,onAppear:u,onDisappear:d}=e;i("boolean"==typeof t,"`disableAutoZoom` must be a `boolean`"),i("string"==typeof n,"`id` must be a `string`"),i(o instanceof Node,"`node` must be an instance of `Node`"),i(s.includes(o.nodeType),"`node.nodeType` is invalid. Expected one of "+s.join(", ")),i("boolean"==typeof a,"`noRotate` must be a `boolean`"),i("number"==typeof l,"`pageIndex` must be a `number`"),i(c instanceof r.E9,"`position` must be an instance of `PSPDFKit.Geometry.Point`"),u&&i("function"==typeof u,"`onAppear` must be a `function`"),d&&i("function"==typeof d,"`onDisappear` must be a `function`")}},81619:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});const o=Object.freeze([{id:"solid",dashArray:[]},{id:"narrowDots",dashArray:[1,1]},{id:"wideDots",dashArray:[1,3]},{id:"narrowDashes",dashArray:[3,3]},{id:"wideDashes",dashArray:[6,6]}])},92947:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(35369);const r={elements:null,expanded:(0,o.D5)()};class i extends((0,o.WV)(r)){}},19568:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,Z:()=>l});var o=n(84121),r=n(35369);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;ta(a({},e),{},{[t]:t})),{})},39745:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);(0,n(80857).Z)("Font");class r extends((0,o.WV)({name:null,callback:null})){constructor(e){super(e)}}},19209:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({label:"",value:""})){}},18509:(e,t,n)=>{"use strict";n.d(t,{B:()=>l,Z:()=>s});var o=n(84121);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t{"use strict";n.d(t,{C:()=>r});var o=n(34997);function r(){return(0,o.SK)()}},80399:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(35369),r=n(88804);const i={pageSize:new r.$u,pageIndex:0,pageLabel:"",rotation:0,inViewport:!1,textLines:null,textLineScales:null,annotationIds:(0,o.hU)(),customOverlayItemIds:(0,o.l4)(),pageKey:"",untransformedRect:new r.UL,transformedRect:new r.UL,matrix:r.sl.IDENTITY,reverseMatrix:r.sl.IDENTITY,rawPdfBoxes:{bleedBox:null,cropBox:null,mediaBox:null,trimBox:null}};class a extends((0,o.WV)(i)){}},19419:(e,t,n)=>{"use strict";n.d(t,{J:()=>l,Z:()=>s});var o=n(84121);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t{"use strict";n.d(t,{T:()=>r});var o=n(54097);const r={[n(19702).f.ANNOTATIONS]:{includeContent:[...o.J]}}},57960:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({storedSignatures:null,signatureRect:null,signaturePageIndex:null,populateStoredSignatures:()=>Promise.resolve((0,o.aV)()),formFieldsNotSavingSignatures:(0,o.l4)(),formFieldName:null})){}},49027:(e,t,n)=>{"use strict";n.d(t,{Z:()=>L,w:()=>N});var o=n(35369),r=n(88804),i=n(11721),a=n(89849),s=n(57960),l=n(56169),c=n(47852),u=n(89835),d=n(98663),p=n(19568),f=n(65872),h=n(89e3),m=n(64494),g=n(79941),v=n(151),y=n(92947),b=n(76192),w=n(39511),S=n(80440),E=n(31835),P=n(84760),x=n(67699),D=n(52842),C=n(72131),k=n(73324),A=n(68218),O=n(4132),T=n(71603),I=n(36489),F=n(79827),M=n(91859);const _={reuseState:null,backend:null,pages:(0,o.aV)(),totalPages:0,debugMode:!1,isDebugConsoleVisible:!1,rootElement:null,scrollElement:null,frameWindow:null,containerRect:new r.UL,connectionFailureReason:null,connectionState:new i.Z({name:a.F.CONNECTING}),scrollbarOffset:0,currentTextSelection:null,inlineTextMarkupToolbar:!0,annotations:(0,o.D5)(),attachments:(0,o.D5)(),formFields:(0,o.D5)(),formattedFormFieldValues:(0,o.D5)(),editingFormFieldValues:(0,o.D5)(),readOnlyEnabled:C.J.NO,formsEnabled:!0,formDesignMode:!1,showAnnotations:!0,showComments:!0,showAnnotationNotes:!0,printingEnabled:!0,exportEnabled:!0,selectedAnnotationIds:(0,o.l4)(),selectedAnnotationShouldDrag:null,selectedAnnotationMode:null,selectedTextOnEdit:!1,interactionMode:null,interactionsDisabled:!1,showToolbar:!0,enableAnnotationToolbar:!0,sidebarMode:null,sidebarOptions:k.T,sidebarPlacement:f.d.START,showSignatureValidationStatus:m.W.NEVER,hoverAnnotationIds:(0,o.l4)(),hoverAnnotationNote:null,activeAnnotationNote:null,clientsChangeCallback:()=>{},searchState:new l.Z,clientPermissions:new d.Z,backendPermissions:new u.Z,documentPermissions:new p.Z,inkEraserCursorWidth:0,isPrinting:!1,printLoadingIndicatorProgress:null,toolbarItems:(0,o.aV)(),electronicSignatureColorPresets:[],annotationToolbarHeight:0,annotationPresets:(0,o.D5)(),annotationPresetIds:(0,o.D5)(),currentItemPreset:null,stampAnnotationTemplates:[],viewportState:new c.Z,annotationManager:null,bookmarkManager:null,formFieldManager:null,formFieldValueManager:null,commentManager:null,changeManager:null,searchProvider:null,autoSaveMode:b.u.IMMEDIATE,eventEmitter:new E.Z,printMode:w.X.DOM,printQuality:S.g.LOW,features:(0,o.aV)(),signatureFeatureAvailability:null,customOverlayItems:(0,o.D5)(),locale:"en",annotationCreatorName:null,signatureState:new s.Z,annotationCreatorNameReadOnly:!1,hasPassword:!1,resolvePassword:null,isUnlockedViaModal:!1,transformClientToPage:e=>e,documentOutlineState:new y.Z,annotationsIdsToDelete:null,renderPageCallback:null,annotationTooltipCallback:null,isEditableAnnotation:null,isEditableComment:null,editableAnnotationTypes:(0,o.l4)(g.Z),customRenderers:null,customUIStore:null,documentHandle:null,allowedTileScales:"all",isDocumentHandleOutdated:!1,toolbarPlacement:h.p.TOP,comments:(0,o.D5)(),commentThreads:(0,o.D5)(),isSigning:!1,isApplyingRedactions:!1,digitalSignatures:null,previewRedactionMode:!1,canScrollWhileDrawing:!1,isAPStreamRendered:()=>!0,invalidAPStreams:(0,o.D5)(),collapseSelectedNoteContent:!1,restrictAnnotationToPageBounds:!0,hasFetchedInitialRecordsFromInstant:!1,group:void 0,documentEditorFooterItems:(0,o.aV)(),electronicSignatureCreationModes:(0,o.hU)(v.Z),signingFonts:(0,o.hU)(P.Z),documentEditorToolbarItems:(0,o.aV)(),isHistoryEnabled:!1,areClipboardActionsEnabled:!1,historyChangeContext:x.j.DEFAULT,undoActions:(0,o.aV)(),redoActions:(0,o.aV)(),historyIdsMap:(0,o.D5)(),a11yStatusMessage:"",lastToolbarActionUsedKeyboard:!1,onOpenURI:null,onAnnotationResizeStart:void 0,documentComparisonState:null,keepSelectedTool:!1,instance:null,dateTimeString:null,sidebarWidth:0,annotationToolbarItems:null,focusedAnnotationIds:(0,o.l4)(),annotationToolbarColorPresets:null,renderPagePreview:!0,onWidgetAnnotationCreationStart:null,formDesignerUnsavedWidgetAnnotation:null,inkEraserMode:D.b.POINT,firstCurrentPageIndex:0,arePageSizesLoaded:null,inlineTextSelectionToolbarItems:null,measurementSnapping:!0,measurementPrecision:O.L.TWO,measurementScale:new T.Z({unitFrom:I.s.INCHES,unitTo:F.K.INCHES,fromValue:1,toValue:1}),measurementToolState:null,measurementValueConfiguration:null,measurementScales:null,APStreamVariantsRollover:(0,o.l4)(),APStreamVariantsDown:(0,o.l4)(),contentEditorSession:new A.aN,showExitContentEditorDialog:!1,linkAnnotationMode:!1,anonymousComments:!1,annotationsGroups:(0,o.D5)(),selectedGroupId:null,enableRichText:()=>!1,richTextEditorRef:null,multiAnnotationsUsingShortcut:null,disablePullToRefresh:!1,mentionableUsers:[],maxMentionSuggestions:5,isMultiSelectionEnabled:!0,widgetAnnotationToFocus:null,onCommentCreationStart:null,defaultAutoCloseThreshold:M.W3,hintLines:null,scrollDisabled:!1,customFontsReadableNames:(0,o.l4)(),secondaryMeasurementUnit:null,activeMeasurementScale:null,isCalibratingScale:!1},R={pages:(0,o.aV)(),annotations:(0,o.D5)(),attachments:(0,o.D5)(),formFields:(0,o.D5)(),comments:(0,o.D5)(),commentThreads:(0,o.D5)()};class N extends((0,o.WV)(R)){}class L extends((0,o.WV)(_)){}},65338:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(35369),r=n(88804);class i extends((0,o.WV)({id:null,pageIndex:null,boundingBox:new r.UL,contents:"",contentTreeElementMetadata:null})){}},30679:(e,t,n)=>{"use strict";n.d(t,{G:()=>i,a:()=>r});const o=(0,n(80857).Z)("ToolItem"),r=[Node.ELEMENT_NODE,Node.TEXT_NODE,Node.DOCUMENT_FRAGMENT_NODE],i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;const{type:n,id:i,title:a,className:s,icon:l,onPress:c,disabled:u,selected:d,node:p}=e;t("custom"===n,"Mandatory `type` is either missing or not `custom`"),p&&(t("custom"===n,"`node` is only supported for `custom` tool items."),t(r.includes(p.nodeType),"`node.nodeType` is invalid. Expected one of "+r.join(", "))),i&&t("string"==typeof i,"`id` must be a `string`"),a&&t("string"==typeof a,"`title` must be a `string`"),s&&t("string"==typeof s,"`className` must be a `string`"),l&&t("string"==typeof l,"`icon` must be a `string`"),c&&t("function"==typeof c,"`onPress` must be a `function`"),"disabled"in e&&t("boolean"==typeof u,"`disabled` must be a `boolean`"),"selected"in e&&t("boolean"==typeof d,"`selected` must be a `boolean`")}},34426:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var o=n(50974),r=n(35369),i=n(91859),a=n(40725),s=n(77973),l=n(47710),c=n(65872),u=n(28098),d=n(64494),p=n(73324);const f="You tried to call a function on ViewState that requires a PSPDFKit.Instance.\nThis is possible, when you use a ViewState that is obtained via Instance#viewState, Instance.setViewState or by setting the instance value of a ViewState explicitly.";class h extends((0,r.WV)({currentPageIndex:0,zoom:u.c.AUTO,zoomStep:i.V4,pagesRotation:0,layoutMode:s.X.SINGLE,scrollMode:l.G.CONTINUOUS,showToolbar:!0,enableAnnotationToolbar:!0,allowPrinting:!0,allowExport:!0,interactionMode:null,readOnly:!1,showAnnotations:!0,showComments:!0,showAnnotationNotes:!0,sidebarMode:null,sidebarOptions:p.T,sidebarPlacement:c.d.START,spreadSpacing:i.YJ,pageSpacing:i.Sk,keepFirstSpreadAsSinglePage:!1,viewportPadding:new a.Z,instance:null,formDesignMode:!1,showSignatureValidationStatus:d.W.NEVER,previewRedactionMode:!1,canScrollWhileDrawing:!1,keepSelectedTool:!1,resolvedLayoutMode:s.X.SINGLE,sidebarWidth:0})){zoomIn(){if(!this.instance)throw new o.p2(f);this.instance.zoomStep||(this.instance.zoomStep=i.V4);const{maximumZoomLevel:e}=this.instance;let t=this.instance.currentZoomLevel*this.instance.zoomStep;return t>e&&(t=e),this.set("zoom",t)}zoomOut(){if(!this.instance)throw new o.p2(f);this.instance.zoomStep||(this.instance.zoomStep=i.V4);const{minimumZoomLevel:e}=this.instance;let t=this.instance.currentZoomLevel/this.instance.zoomStep;return t(e+270)%360))}rotateRight(){return this.update("pagesRotation",(e=>(e+90)%360))}goToNextPage(){if(!this.instance)throw new o.p2(f);let e=this.currentPageIndex+1;return e>this.instance.totalPageCount-1&&(e=this.instance.totalPageCount-1),this.set("currentPageIndex",e)}goToPreviousPage(){let e=this.currentPageIndex-1;return e<0&&(e=0),this.set("currentPageIndex",e)}}},40725:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(35369),r=n(91859);class i extends((0,o.WV)({horizontal:r.Kk,vertical:r.Kk})){}},47852:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(35369),r=n(91859),i=n(77973),a=n(47710),s=n(28098),l=n(88804);const c={zoomLevel:1,zoomMode:s.c.AUTO,layoutMode:i.X.SINGLE,scrollMode:a.G.CONTINUOUS,scrollPosition:new l.E9,currentPageIndex:0,viewportRect:new l.UL,pageSizes:(0,o.aV)(),commentMode:null,pagesRotation:0,viewportPadding:new l.E9({x:r.Kk,y:r.Kk}),spreadSpacing:r.YJ,pageSpacing:r.Sk,keepFirstSpreadAsSinglePage:!1,minDefaultZoomLevel:r.cY,maxDefaultZoomLevel:r.QS,zoomStep:r.V4,lastScrollUsingKeyboard:!1,documentComparisonMode:null};class u extends(o.WV(c)){}},86920:(e,t,n)=>{"use strict";n.d(t,{D2:()=>u,Q:()=>d,aU:()=>a,co:()=>c,uV:()=>s,zR:()=>l});var o=n(84121),r=n(50974),i=n(60797);class a extends i.D{constructor(e){if(super(e),(0,o.Z)(this,"subActions",null),this.subActions=null==e?void 0:e.subActions,this.constructor===a)throw new r.p2("PSPDFKit.Actions.Action is an abstract base class and can not be instantiated")}}(0,i.V)(a);const s=1,l=1,c=2,u=3,d=4},22571:(e,t,n)=>{"use strict";n.d(t,{b:()=>a});var o=n(84121),r=n(60797),i=n(86920);class a extends i.aU{constructor(e){super(e)}}(0,o.Z)(a,"defaultValues",{script:""}),(0,r.V)(a)},89335:(e,t,n)=>{"use strict";n.d(t,{aU:()=>o.aU,Di:()=>a,Qr:()=>s,_6:()=>l,ZD:()=>u,bp:()=>d.b,b:()=>p,oH:()=>f,BO:()=>h,pl:()=>m,lm:()=>g});var o=n(86920),r=n(84121),i=n(60797);class a extends o.aU{constructor(e){super(e)}}(0,r.Z)(a,"defaultValues",{pageIndex:null}),(0,i.V)(a);class s extends o.aU{constructor(e){super(e)}}(0,r.Z)(s,"defaultValues",{newWindow:!1,relativePath:"",targetType:"parent"}),(0,i.V)(s);class l extends o.aU{constructor(e){super(e)}}(0,r.Z)(l,"defaultValues",{relativePath:"",namedDestination:""}),(0,i.V)(l);var c=n(35369);class u extends o.aU{constructor(e){super(e)}}(0,r.Z)(u,"defaultValues",{hide:!0,annotationReferences:(0,c.aV)()}),(0,i.V)(u);var d=n(22571);class p extends o.aU{constructor(e){super(e)}}(0,r.Z)(p,"defaultValues",{filePath:null}),(0,i.V)(p);class f extends o.aU{constructor(e){super(e)}}(0,r.Z)(f,"defaultValues",{action:null}),(0,i.V)(f);class h extends o.aU{constructor(e){super(e)}}(0,r.Z)(h,"defaultValues",{fields:null,includeExclude:!1}),(0,i.V)(h);class m extends o.aU{constructor(e){super(e)}}(0,r.Z)(m,"defaultValues",{uri:null,fields:null,includeExclude:!1,includeNoValueFields:!0,exportFormat:!0,getMethod:!1,submitCoordinated:!1,xfdf:!1,includeAppendSaves:!1,includeAnnotations:!1,submitPDF:!1,canonicalFormat:!1,excludeNonUserAnnotations:!1,excludeFKey:!1,embedForm:!1}),(0,i.V)(m);class g extends o.aU{constructor(e){super(e)}}(0,r.Z)(g,"defaultValues",{uri:null}),(0,i.V)(g)},32125:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(84121),r=n(50974),i=n(88804),a=n(60797);class s extends a.D{constructor(e){if(super(e),this.constructor===s)throw new r.p2("PSPDFKit.Annotations.Annotation is an abstract base class and can not be instantiated")}}(0,o.Z)(s,"defaultValues",{id:null,name:null,subject:null,pdfObjectId:null,pageIndex:null,boundingBox:new i.UL,opacity:1,action:null,note:null,creatorName:null,createdAt:new Date(0),updatedAt:new Date(0),customData:null,noPrint:!1,noZoom:!1,noRotate:!1,noView:!1,locked:!1,lockedContents:!1,readOnly:!1,hidden:!1,blendMode:"normal",additionalActions:null,isCommentThreadRoot:!1,group:void 0,isEditable:void 0,isDeletable:void 0,canSetGroup:void 0,canReply:void 0,APStreamCache:void 0,rotation:0}),(0,a.V)(s);const l=s},70094:(e,t,n)=>{"use strict";n.d(t,{FN:()=>u,Yu:()=>d,p1:()=>c});var o=n(84121),r=n(34997),i=n(15973),a=n(88804),s=n(88713),l=n(60797);const c=32;class u extends i.Qi{}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c;if(e){var o;const i=p(e,t,n);return new u({id:(0,r.SK)(),pageIndex:e.pageIndex,boundingBox:new a.UL({left:i.x,top:i.y,width:t,height:n}),text:{format:"plain",value:null!==(o=e.note)&&void 0!==o?o:""},parentAnnotation:e,position:i})}return new u({id:(0,r.SK)(),notePosition:new a.E9})}function p(e,t,n){let o=null;var r,l;if(e instanceof i.Zc)e.lines.isEmpty()||null!==(r=e.lines.get(0))&&void 0!==r&&r.isEmpty()||(o=null===(l=e.lines.get(0))||void 0===l?void 0:l.get(0));else if(e instanceof s.Z||e instanceof i.om){if(e.points&&e.points.size>=2){const t=e.points.get(0),n=e.points.get(1);o=new a.E9({x:(t.x+n.x)/2,y:(t.y+n.y)/2})}}else if(e instanceof i.o9){const t=e.startPoint,n=e.endPoint;o=new a.E9({x:(t.x+n.x)/2,y:(t.y+n.y)/2})}else if(e instanceof i.On)return new a.E9({x:e.boundingBox.right+4,y:e.boundingBox.getCenter().y-n/2});return o||(o=new a.E9({x:e.boundingBox.getCenter().x,y:e.boundingBox.top})),o.set("x",o.x-t/2).set("y",o.y-n/2)}(0,o.Z)(u,"defaultValues",{parentAnnotation:null,position:new a.E9,notePosition:new a.E9}),(0,l.V)(u)},73039:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(84121),r=n(35369),i=n(32125),a=n(83634),s=n(60797);class l extends i.Z{}(0,o.Z)(l,"defaultValues",{lines:(0,r.aV)(),lineWidth:5,strokeColor:a.Z.BLUE,backgroundColor:null,isDrawnNaturally:!1,isSignature:!1}),(0,o.Z)(l,"readableName","Ink"),(0,s.V)(l);const c=l},74973:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(84121),r=n(32125),i=n(60797);class a extends r.Z{}(0,o.Z)(a,"defaultValues",{description:null,fileName:null,contentType:null,mediaAttachmentId:null}),(0,o.Z)(a,"readableName","Media"),(0,i.V)(a)},65627:(e,t,n)=>{"use strict";n.d(t,{W:()=>c,Z:()=>d});var o,r=n(84121),i=n(32125),a=n(83634),s=n(18025),l=n(60797);const c=[{color:new a.Z({r:255,g:216,b:63}),localization:{id:"yellow",defaultMessage:"Yellow",description:"Yellow color"}},{color:new a.Z({r:255,g:127,b:0}),localization:{id:"orange",defaultMessage:"Orange",description:"Orange, the color"}},{color:new a.Z({r:255,g:51,b:0}),localization:{id:"red",defaultMessage:"Red",description:"Red, the color"}},{color:new a.Z({r:229,g:51,b:255}),localization:{id:"fuchsia",defaultMessage:"Fuchsia",description:"Fuchsia, the color"}},{color:new a.Z({r:0,g:153,b:255}),localization:{id:"blue",defaultMessage:"Blue",description:"Blue, the color"}},{color:new a.Z({r:114,g:255,b:0}),localization:{id:"green",defaultMessage:"Green",description:"Green, the color"}}];class u extends i.Z{}(0,r.Z)(u,"isEditable",!0),(0,r.Z)(u,"readableName","Note"),(0,r.Z)(u,"defaultValues",{text:{format:"plain",value:""},icon:s.Zi.COMMENT,color:null===(o=c.find((e=>"yellow"===e.localization.id)))||void 0===o?void 0:o.color}),(0,l.V)(u);const d=u},18146:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(84121),r=n(49200),i=n(83634),a=n(60797);class s extends r.Z{}(0,o.Z)(s,"readableName","Redaction"),(0,o.Z)(s,"defaultValues",{color:i.Z.RED,fillColor:i.Z.BLACK,outlineColor:i.Z.RED,overlayText:null,repeatOverlayText:null,rotation:0}),(0,a.V)(s)},82405:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(84121),r=n(32125),i=n(83634),a=n(60797);class s extends r.Z{isMeasurement(){return null!==this.measurementScale}}(0,o.Z)(s,"readableName","Shape"),(0,o.Z)(s,"defaultValues",{strokeWidth:5,strokeColor:i.Z.BLUE,fillColor:null,strokeDashArray:null,measurementPrecision:null,measurementScale:null}),(0,a.V)(s);const l=s},33754:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>u,a$:()=>s,k1:()=>l,pY:()=>a});var o=n(84121),r=n(32125),i=n(60797);const a={Approved:{},NotApproved:{},Draft:{},Final:{},Completed:{},Confidential:{},ForPublicRelease:{},NotForPublicRelease:{},ForComment:{},Void:{},PreliminaryResults:{},InformationOnly:{},Rejected:{},Accepted:{},InitialHere:{},SignHere:{},Witness:{},AsIs:{},Departmental:{},Experimental:{},Expired:{},Sold:{},TopSecret:{},Revised:{includeDate:!0,includeTime:!0},RejectedWithText:{includeDate:!0,includeTime:!0},Custom:{}},s={RejectedWithText:"Rejected"},l=e=>s[e]||e;class c extends r.Z{}(0,o.Z)(c,"defaultValues",{stampType:"Custom",title:null,subtitle:null,color:null,xfdfAppearanceStream:null}),(0,o.Z)(c,"readableName","Stamp"),(0,i.V)(c);const u=c},47751:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(84121),r=n(38623),i=n(32125),a=n(83634),s=n(60797);class l extends i.Z{}(0,o.Z)(l,"defaultValues",{text:{format:"plain",value:null},fontColor:a.Z.BLACK,backgroundColor:null,font:r.vt.first()||"sans-serif",fontSize:18,isBold:!1,isItalic:!1,horizontalAlign:"left",verticalAlign:"top",callout:null,borderStyle:null,borderWidth:null,borderColor:null,isFitting:!1,lineHeightFactor:null}),(0,o.Z)(l,"isEditable",!0),(0,o.Z)(l,"readableName","Text"),(0,o.Z)(l,"fontSizePresets",Object.freeze([4,6,8,10,12,14,18,24,36,48,64,72,96,144,192,200])),(0,s.V)(l);const c=l},49200:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(84121),r=n(35369),i=n(32125),a=n(83634),s=n(60797);class l extends i.Z{}(0,o.Z)(l,"defaultValues",{rects:(0,r.aV)(),color:a.Z.BLACK,blendMode:"normal"}),(0,o.Z)(l,"readableName","Text-Markup"),(0,s.V)(l);const c=l},29346:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var o=n(84121),r=n(32125),i=n(60797);class a extends r.Z{}(0,o.Z)(a,"defaultValues",{formFieldName:null,borderColor:null,borderStyle:null,borderDashArray:null,borderWidth:null,backgroundColor:null,fontSize:null,font:null,isBold:!1,isItalic:!1,fontColor:null,horizontalAlign:null,verticalAlign:null,additionalActions:null,lineHeightFactor:1}),(0,o.Z)(a,"readableName","Widget"),(0,i.V)(a);const s=a},15973:(e,t,n)=>{"use strict";n.d(t,{q6:()=>o.Z,Jn:()=>O,Xs:()=>m.Z,FV:()=>l,sK:()=>u,Zc:()=>d.Z,o9:()=>f.Z,R1:()=>b,Hu:()=>I.Z,Qi:()=>w.Z,Hi:()=>g.Z,om:()=>v.Z,b3:()=>h.Z,Wk:()=>T.Z,UX:()=>p.Z,hL:()=>S,GI:()=>E.ZP,R9:()=>P,gd:()=>x.Z,On:()=>i.Z,xu:()=>D,Ih:()=>k,x_:()=>A.Z});var o=n(32125),r=n(84121),i=n(49200),a=n(83634),s=n(60797);class l extends i.Z{}(0,r.Z)(l,"className","highlight"),(0,r.Z)(l,"readableName","Highlight"),(0,r.Z)(l,"defaultValues",{blendMode:"multiply",color:a.Z.LIGHT_YELLOW}),(0,s.V)(l);class c extends o.Z{}(0,r.Z)(c,"defaultValues",{description:null,fileName:null,contentType:null,imageAttachmentId:null,isSignature:!1,xfdfAppearanceStream:null}),(0,r.Z)(c,"readableName","Image"),(0,s.V)(c);const u=c;var d=n(73039),p=n(82405),f=n(20683),h=n(87043),m=n(70076),g=n(88713),v=n(50690);class y extends o.Z{}(0,r.Z)(y,"readableName","Link"),(0,r.Z)(y,"defaultValues",{borderWidth:0,borderColor:null,opacity:1}),(0,s.V)(y);const b=y;var w=n(65627);class S extends i.Z{}(0,r.Z)(S,"className","squiggle"),(0,r.Z)(S,"readableName","Squiggle"),(0,r.Z)(S,"defaultValues",{color:a.Z.RED}),(0,s.V)(S);var E=n(33754);class P extends i.Z{}(0,r.Z)(P,"className","strikeout"),(0,r.Z)(P,"readableName","Strike Out"),(0,r.Z)(P,"defaultValues",{color:a.Z.RED}),(0,s.V)(P);var x=n(47751);class D extends i.Z{}(0,r.Z)(D,"className","underline"),(0,r.Z)(D,"readableName","Underline"),(0,r.Z)(D,"defaultValues",{color:a.Z.BLACK}),(0,s.V)(D);class C extends o.Z{}(0,s.V)(C);const k=C;var A=n(29346);class O extends o.Z{}(0,r.Z)(O,"readableName","Comment-Marker"),(0,s.V)(O);var T=n(18146),I=n(74973)},70076:(e,t,n)=>{"use strict";n.d(t,{F:()=>u,Z:()=>d});var o=n(84121),r=n(82405),i=n(88804),a=n(91859),s=n(60797);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}class c extends r.Z{constructor(e){super(u(e))}}function u(e){if(!e)return;const t=function(e){for(var t=1;t0&&!e.cloudyBorderInset){const n=Number(e.cloudyBorderIntensity)*a.St+(e.strokeWidth||r.Z.defaultValues.strokeWidth)/2;return t.cloudyBorderInset=i.eB.fromValue(n),t}return t}(0,o.Z)(c,"defaultValues",{cloudyBorderIntensity:null,cloudyBorderInset:null,measurementBBox:null}),(0,o.Z)(c,"readableName","Ellipse"),(0,s.V)(c);const d=c},20683:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(84121),r=n(82405),i=n(88804),a=n(60797);class s extends r.Z{}(0,o.Z)(s,"defaultValues",{startPoint:new i.E9,endPoint:new i.E9,lineCaps:null}),(0,o.Z)(s,"readableName","Line"),(0,a.V)(s);const l=s},88713:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(84121),r=n(35369),i=n(82405),a=n(60797);class s extends i.Z{}(0,o.Z)(s,"defaultValues",{points:(0,r.aV)(),cloudyBorderIntensity:null}),(0,o.Z)(s,"readableName","Polygon"),(0,a.V)(s);const l=s},50690:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(84121),r=n(35369),i=n(82405),a=n(60797);class s extends i.Z{}(0,o.Z)(s,"defaultValues",{points:(0,r.aV)(),lineCaps:null}),(0,o.Z)(s,"readableName","Polyline"),(0,a.V)(s);const l=s},87043:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var o=n(84121),r=n(82405),i=n(70076),a=n(60797);class s extends r.Z{constructor(e){super((0,i.F)(e))}}(0,o.Z)(s,"defaultValues",{cloudyBorderIntensity:null,cloudyBorderInset:null,measurementBBox:null}),(0,o.Z)(s,"readableName","Rectangle"),(0,a.V)(s);const l=s},11863:(e,t,n)=>{"use strict";n.d(t,{Gu:()=>s,ZP:()=>a,vQ:()=>l});var o=n(50974),r=n(35369);const i={id:null,rootId:null,pageIndex:null,pdfObjectId:null,creatorName:null,createdAt:new Date(0),updatedAt:new Date(0),text:{format:"xhtml",value:null},customData:null,group:void 0,isEditable:void 0,isDeletable:void 0,canSetGroup:void 0,isAnonymous:void 0};class a extends(r.WV(i)){getMentionedUserIds(){const e=this.text.value;(0,o.kG)("string"==typeof e,"`text.value` must be of type `string`");const t=(new DOMParser).parseFromString(e,"text/html").body.querySelectorAll("span[data-user-id]"),n=Array.from(t).map((e=>e.getAttribute("data-user-id"))).filter(o.lH);return r.l4(n)}}const s=e=>{(0,o.kG)("string"==typeof e.id,"`id` must be of type `string`"),(0,o.kG)("string"==typeof e.rootId,"`rootId` must be of type `string`"),(0,o.kG)("number"==typeof e.pageIndex,"`pageIndex` must be of type `number`"),(0,o.kG)(null==e.pdfObjectId||"number"==typeof e.pdfObjectId,"`pdfObjectId` must be of type `number`"),(0,o.kG)(null==e.creatorName||"string"==typeof e.creatorName,"`creatorName` must be of type `string`"),(0,o.kG)(e.createdAt instanceof Date,"`createdAt` must be a Date"),(0,o.kG)(e.updatedAt instanceof Date,"`updatedAt` must be a Date"),(0,o.kG)("object"==typeof e.text,"`text` must be of type `object`"),(0,o.kG)("string"==typeof e.text.value,"`text` must be of type `string`"),(0,o.kG)("xhtml"===e.text.format||"plain"===e.text.format,"`text.format` must be either `xhtml` or `plain`"),(0,o.kG)(null==e.customData||(0,o.PO)(e.customData),"`customData` must be a JSON-serializable object"),(0,o.kG)(void 0===e.isAnonymous||"boolean"==typeof e.isAnonymous||null==e.isAnonymous,"`isAnonymous` must be of type `boolean`")};function l(e){return(0,o.kG)("string"==typeof e.id,"`id` must be of type `string`"),(0,o.kG)("string"==typeof e.name,"`name` must be of type `string`"),e.avatarUrl&&(0,o.kG)("string"==typeof e.avatarUrl,"`avatarUrl` must be of type `string`"),e.description&&(0,o.kG)("string"==typeof e.description,"`description` must be of type `string`"),(0,o.kG)("string"==typeof e.displayName,"`displayName` must be of type `string`"),e}},26248:(e,t,n)=>{"use strict";n.d(t,{BG:()=>a,FR:()=>l,QA:()=>o,Xl:()=>s,qA:()=>i,wk:()=>r});const o={ok:"ok",tampered_document:"tampered_document",failed_to_retrieve_signature_contents:"failed_to_retrieve_signature_contents",failed_to_retrieve_byterange:"failed_to_retrieve_byterange",failed_to_compute_digest:"failed_to_compute_digest",failed_retrieve_signing_certificate:"failed_retrieve_signing_certificate",failed_retrieve_public_key:"failed_retrieve_public_key",failed_encryption_padding:"failed_encryption_padding",general_failure:"general_failure"},r={ok:"ok",ok_but_self_signed:"ok_but_self_signed",untrusted:"untrusted",expired:"expired",not_yet_valid:"not_yet_valid",invalid:"invalid",revoked:"revoked",failed_to_retrieve_signature_contents:"failed_to_retrieve_signature_contents",general_validation_problem:"general_validation_problem"},i={valid:"valid",warning:"warning",error:"error"},a={CMS:"CMS",CAdES:"CAdES"},s={cms:"cms",cades:"cades",documentTimestamp:"documentTimestamp"},l={raw:"raw",pkcs7:"pkcs7"}},76367:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});const o={valid:"valid",warning:"warning",error:"error",not_signed:"not_signed"}},3845:(e,t,n)=>{"use strict";let o;n.d(t,{f:()=>o}),function(e){e.DRAW_START="DRAW_START",e.DRAW_END="DRAW_END",e.TEXT_EDIT_START="TEXT_EDIT_START",e.TEXT_EDIT_END="TEXT_EDIT_END",e.SELECT_START="SELECT_START",e.SELECT_END="SELECT_END",e.MOVE_START="MOVE_START",e.MOVE_END="MOVE_END",e.RESIZE_START="RESIZE_START",e.RESIZE_END="RESIZE_END",e.ROTATE_START="ROTATE_START",e.ROTATE_END="ROTATE_END",e.DELETE_START="DELETE_START",e.DELETE_END="DELETE_END",e.PROPERTY_CHANGE="PROPERTY_CHANGE"}(o||(o={}))},3534:(e,t,n)=>{"use strict";n.d(t,{Gu:()=>u,Mr:()=>s,ZP:()=>c});var o=n(84121),r=n(35369),i=n(50974),a=n(60797);const s=["readOnly","required","noExport"];class l extends a.D{constructor(e){if(super(e),this.constructor===l)throw new i.p2("PSPDFKit.FormFields.FormField is an abstract base class and can not be instantiated")}}(0,o.Z)(l,"defaultValues",{id:null,pdfObjectId:null,annotationIds:(0,r.aV)(),name:null,label:"",readOnly:!1,required:!1,noExport:!1,additionalActions:null,group:void 0,isEditable:void 0,isFillable:void 0,isDeletable:void 0,canSetGroup:void 0}),(0,a.V)(l);const c=l;function u(e){return e.has("name")}},11032:(e,t,n)=>{"use strict";n.d(t,{X:()=>s,Z:()=>a});var o=n(84121),r=n(60797);class i extends r.D{constructor(e){super(e),void 0!==(null==e?void 0:e.optionIndexes)&&(this.optionIndexes=e.optionIndexes),void 0!==(null==e?void 0:e.isFitting)&&(this.isFitting=e.isFitting)}}(0,o.Z)(i,"defaultValues",{name:null,value:null}),(0,r.V)(i);const a=i;function s(e){return`form-field-value/${e.name}`}},59780:(e,t,n)=>{"use strict";n.d(t,{R0:()=>s,rF:()=>u,Dz:()=>p,fB:()=>h,Wi:()=>r.ZP,KD:()=>m.Z,Vi:()=>v,XQ:()=>b,Yo:()=>P,$o:()=>S});var o=n(84121),r=n(3534),i=n(60797);class a extends r.ZP{}(0,o.Z)(a,"defaultValues",{buttonLabel:null}),(0,i.V)(a);const s=a;var l=n(35369);class c extends r.ZP{}(0,o.Z)(c,"defaultValues",{values:(0,l.aV)(),defaultValues:(0,l.aV)(),options:(0,l.aV)(),optionIndexes:void 0}),(0,i.V)(c);const u=c;class d extends r.ZP{}(0,o.Z)(d,"defaultValues",{options:(0,l.aV)(),values:(0,l.aV)(),defaultValues:(0,l.aV)(),multiSelect:!1,commitOnChange:!1,additionalActions:null}),(0,i.V)(d);const p=d;class f extends p{}(0,o.Z)(f,"defaultValues",{edit:!1,doNotSpellCheck:!1}),(0,i.V)(f);const h=f;var m=n(11032);class g extends p{}(0,i.V)(g);const v=g;class y extends r.ZP{}(0,o.Z)(y,"defaultValues",{options:(0,l.aV)(),noToggleToOff:!1,radiosInUnison:!0,value:"",defaultValue:"",optionIndexes:void 0}),(0,i.V)(y);const b=y;class w extends r.ZP{}(0,o.Z)(w,"defaultValues",{password:!1,maxLength:null,doNotSpellCheck:!1,doNotScroll:!1,multiLine:!1,comb:!1,value:"",defaultValue:"",additionalActions:null}),(0,i.V)(w);const S=w;class E extends r.ZP{}const P=E},17746:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(84121),r=n(52871),i=n(60797);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function s(e){for(var t=1;t{"use strict";n.d(t,{Z:()=>a});var o=n(84121),r=n(60797);class i extends r.D{constructor(e){super(e)}scale(e,t){return this.withMutations((n=>{t||(t=e),n.set("x",this.x*e).set("y",this.y*t)}))}translate(e){let{x:t,y:n}=e;return this.withMutations((e=>{e.set("x",this.x+t).set("y",this.y+n)}))}translateX(e){return this.translate(new i({x:e,y:0}))}translateY(e){return this.translate(new i({x:0,y:e}))}distance(e){return Math.sqrt((e.x-this.x)**2+(e.y-this.y)**2)}rotate(e){e%=360;const{x:t,y:n}=this;switch(e){case 0:return this;case 90:return this.set("x",n).set("y",-t);case 180:return this.set("x",-t).set("y",-n);case 270:return this.set("x",-n).set("y",t);default:{const o=e*Math.PI/180;return this.set("x",Math.cos(o)*t+Math.sin(o)*n).set("y",Math.cos(o)*n-Math.sin(o)*t)}}}apply(e){const[t,n]=e.applyToPoint([this.x,this.y]);return this.withMutations((e=>{e.set("x",t).set("y",n)}))}}(0,o.Z)(i,"defaultValues",{x:0,y:0}),(0,r.V)(i);const a=i},55237:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var o=n(84121),r=n(50974),i=n(60797),a=n(52871),s=n(20449);class l extends i.D{constructor(e){super(e)}get right(){return this.left+this.width}get bottom(){return this.top+this.height}static fromClientRect(e){let{top:t,left:n,width:o,height:r}=e;return new l({top:t,left:n,width:o,height:r})}static union(e){const t=e.map((e=>e.top)).min(),n=e.map((e=>e.bottom)).max()-t,o=e.map((e=>e.left)).min(),r=e.map((e=>e.right)).max()-o;return new l({left:o,top:t,width:r,height:n})}static getCenteredRect(e,t){return new l({left:(t.width-e.width)/2,top:(t.height-e.height)/2,width:e.width,height:e.height})}static fromInset(e){return new l({left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top})}static fromPoints(){for(var e=arguments.length,t=new Array(e),n=0;ne.x))),i=Math.min(...t.map((e=>e.y))),a=Math.max(...t.map((e=>e.x))),s=Math.max(...t.map((e=>e.y)));return new l({left:o,top:i,width:a-o,height:s-i})}expandToIncludePoints(){for(var e=arguments.length,t=new Array(e),n=0;ne.x))),r=Math.min(this.top,...t.map((e=>e.y))),i=Math.max(this.left+this.width,...t.map((e=>e.x))),a=Math.max(this.top+this.height,...t.map((e=>e.y)));return new l({left:o,top:r,width:i-o,height:a-r})}static areRectsCloserThan(e,t,n){return Math.abs(e.left-t.left)<=n&&Math.abs(e.top-t.top)<=n&&Math.abs(e.left+e.width-(t.left+t.width))<=n&&Math.abs(e.top+e.height-(t.top+t.height))<=n}translate(e){let{x:t,y:n}=e;return this.withMutations((e=>{e.set("left",this.left+t).set("top",this.top+n)}))}translateX(e){return this.set("left",this.left+e)}translateY(e){return this.set("top",this.top+e)}scale(e,t){return this.withMutations((n=>{t||(t=e),n.set("left",this.left*e).set("top",this.top*t).set("width",this.width*e).set("height",this.height*t)}))}grow(e){return this.withMutations((t=>{t.set("left",this.left-e).set("top",this.top-e).set("width",this.width+2*e).set("height",this.height+2*e)}))}getLocation(){return new a.Z({x:this.left,y:this.top})}getSize(){return new s.Z({width:this.width,height:this.height})}getCenter(){return new a.Z({x:this.left+this.width/2,y:this.top+this.height/2})}setLocation(e){return this.withMutations((t=>{t.set("left",e.x).set("top",e.y)}))}roundOverlap(){return this.withMutations((e=>{e.set("left",Math.floor(this.left)).set("top",Math.floor(this.top)).set("width",Math.ceil(this.width)).set("height",Math.ceil(this.height))}))}round(){return this.withMutations((e=>{e.set("left",Math.round(this.left)).set("top",Math.round(this.top)).set("width",Math.round(this.width)).set("height",Math.round(this.height))}))}isPointInside(e){return e.x>=this.left&&e.x<=this.right&&e.y>=this.top&&e.y<=this.bottom}isRectInside(e){return this.isPointInside(e.getLocation())&&this.isPointInside(e.getLocation().translate(new a.Z({x:e.width,y:e.height})))}isRectOverlapping(e){return e.leftthis.left&&e.topthis.top}normalize(){return this.withMutations((e=>e.set("left",this.width<0?this.left+this.width:this.left).set("top",this.height<0?this.top+this.height:this.top).set("width",Math.abs(this.width)).set("height",Math.abs(this.height))))}apply(e){const[t,n]=e.applyToPoint([this.left,this.top]),[o,r]=e.applyToVector([this.width,this.height]);return this.withMutations((e=>e.set("left",t).set("top",n).set("width",o).set("height",r))).normalize()}}(0,o.Z)(l,"defaultValues",{left:0,top:0,width:0,height:0}),(0,i.V)(l);const c=l},20449:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({width:0,height:0})){scale(e){return this.withMutations((t=>{t.set("width",this.width*e).set("height",this.height*e)}))}ceil(){return this.withMutations((e=>{e.set("width",Math.ceil(this.width)).set("height",Math.ceil(this.height))}))}floor(){return this.withMutations((e=>{e.set("width",Math.floor(this.width)).set("height",Math.floor(this.height))}))}swapDimensions(){return this.withMutations((e=>{e.set("width",this.height).set("height",this.width)}))}apply(e){const[t,n]=e.applyToVector([this.width,this.height]);return this.withMutations((e=>{e.set("width",Math.abs(t)).set("height",Math.abs(n))}))}}},88804:(e,t,n)=>{"use strict";n.d(t,{Wm:()=>r.Z,eB:()=>f,E9:()=>o.Z,UL:()=>i.Z,$u:()=>a.Z,sl:()=>d});var o=n(52871),r=n(17746),i=n(55237),a=n(20449),s=n(84121),l=n(50974),c=n(60797);class u extends c.D{translate(e){let{x:t,y:n}=e;return this.transform(1,0,0,1,t,n)}translateX(e){return this.translate({x:e,y:0})}translateY(e){return this.translate({x:0,y:e})}scale(e,t){return t||(t=e),this.transform(e,0,0,t,0,0)}transform(e,t,n,o,r,i){const{a,b:s,c:l,d:c,e:u,f:d}=this;return this.withMutations((p=>p.set("a",e*a+n*s).set("b",t*a+o*s).set("c",e*l+n*c).set("d",t*l+o*c).set("e",e*u+n*d+r).set("f",t*u+o*d+i)))}rotate(e){(0,l.kG)(e%90==0,"Only multiples of 90° allowed.");const t=(360-e)*Math.PI/180,n=Math.cos(t),o=Math.sin(t);return this.transform(n,o,-o,n,0,0)}rotateRad(e){const t=Math.cos(e),n=Math.sin(e);return this.transform(t,n,-n,t,0,0)}inverse(){const{a:e,b:t,c:n,d:o,e:r,f:i}=this,a=e*o-t*n;return this.withMutations((s=>s.set("a",o/a).set("b",t/-a).set("c",n/-a).set("d",e/a).set("e",(n*i-o*r)/a).set("f",(e*i-t*r)/-a)))}toCssValue(){const{a:e,b:t,c:n,d:o,e:r,f:i}=this;return`matrix(${e.toFixed(2)}, ${t.toFixed(2)}, ${n.toFixed(2)}, ${o.toFixed(2)}, ${r.toFixed(2)}, ${i.toFixed(2)})`}applyToPoint(e){let[t,n]=e;const{a:o,b:r,c:i,d:a,e:s,f:l}=this;return[o*t+i*n+s,r*t+a*n+l]}applyToVector(e){let[t,n]=e;const{a:o,b:r,c:i,d:a}=this;return[o*t+i*n,r*t+a*n]}}(0,s.Z)(u,"defaultValues",{a:1,b:0,c:0,d:1,e:0,f:0}),(0,s.Z)(u,"IDENTITY",new u),(0,c.V)(u);const d=u;var p=n(35369);class f extends((0,p.WV)({left:0,top:0,right:0,bottom:0})){static applyToRect(e,t){if(!(e instanceof f))throw new l.p2("`inset` must be an instance of `PSPDFKit.Geometry.Inset`");if(!(t instanceof i.Z))throw new l.p2("`rect` must be an instance of `PSPDFKit.Geometry.Rect`");return new i.Z({top:t.top+e.top,left:t.left+e.left,width:t.width-(e.left+e.right),height:t.height-(e.top+e.bottom)})}static fromRect(e){return new f({left:e.left,top:e.top,right:e.left+e.width,bottom:e.top+e.height})}static fromValue(e){if("number"!=typeof e)throw new l.p2("The provided value must be a number");return new f({top:e,left:e,right:e,bottom:e})}apply(e){const t=e.applyToPoint([this.left,this.top]),n=e.applyToPoint([this.left,this.bottom]),o=e.applyToPoint([this.right,this.top]),r=e.applyToPoint([this.right,this.bottom]),i=Math.min(t[0],n[0],o[0],r[0]),a=Math.max(t[0],n[0],o[0],r[0]),s=Math.min(t[1],n[1],o[1],r[1]),l=Math.max(t[1],n[1],o[1],r[1]);return new f({left:i,right:a,top:s,bottom:l})}setScale(e){return new f({left:this.left*e,right:this.right*e,top:this.top*e,bottom:this.bottom*e})}}},82481:(e,t,n)=>{"use strict";n.d(t,{q6:()=>i.q6,Pg:()=>l,rp:()=>c.Z,R0:()=>a.R0,UW:()=>f,rF:()=>a.rF,Dz:()=>a.Dz,uh:()=>y.Z,Il:()=>h.Z,fB:()=>a.fB,sv:()=>T.ZP,Jn:()=>i.Jn,em:()=>m.Z,S:()=>x.Z,Wm:()=>r.Wm,Xs:()=>i.Xs,Wi:()=>a.Wi,KD:()=>a.KD,mv:()=>g.Z,Di:()=>o.Di,FV:()=>i.FV,sK:()=>i.sK,Zc:()=>i.Zc,eB:()=>r.eB,bp:()=>o.bp,o9:()=>i.o9,R1:()=>i.R1,Vi:()=>a.Vi,Qi:()=>i.Qi,sT:()=>C,T3:()=>v.Z,E9:()=>r.E9,Hi:()=>i.Hi,om:()=>i.om,XQ:()=>a.XQ,UL:()=>r.UL,b3:()=>i.b3,UX:()=>i.UX,Yo:()=>a.Yo,dp:()=>D.Z,$u:()=>r.$u,hL:()=>i.hL,GI:()=>i.GI,ZM:()=>b.Z,R9:()=>i.R9,gd:()=>i.gd,$o:()=>a.$o,bi:()=>w.Z,On:()=>i.On,SV:()=>E,Bs:()=>P,lm:()=>o.lm,xu:()=>i.xu,Ih:()=>i.Ih,f7:()=>O.Z,gx:()=>A.Z,Vk:()=>k.Z,x_:()=>i.x_});var o=n(89335),r=n(88804),i=n(15973),a=n(59780),s=n(35369);class l extends((0,s.WV)({data:null})){}var c=n(1053),u=n(84121),d=n(60797);class p extends d.D{}(0,u.Z)(p,"defaultValues",{start:null,knee:null,end:null,cap:null,innerRectInset:null}),(0,d.V)(p);const f=p;var h=n(83634),m=(n(86071),n(11721)),g=(n(74985),n(81619),n(19209)),v=(n(18509),n(80399)),y=(n(19419),n(98663)),b=(n(89835),n(19568),n(49027)),w=n(65338),S=n(50974);class E extends((0,s.WV)({startNode:null,startOffset:null,endNode:null,endOffset:null})){startAndEndIds(){const e=this.startNode.parentNode,t=this.endNode.parentNode,n=parseInt(e.dataset.textlineId),o=parseInt(t.dataset.textlineId),r=parseInt(e.dataset.pageIndex),i=parseInt(t.dataset.pageIndex);return(0,S.kG)("number"==typeof n,"selection startId is not a number"),(0,S.kG)("number"==typeof o,"selection endId is not a number"),(0,S.kG)("number"==typeof r,"selection start pageIndex is not a number"),(0,S.kG)("number"==typeof i,"selection end pageIndex is not a number"),{startTextLineId:n,endTextLineId:o,startPageIndex:r,endPageIndex:i}}}class P extends((0,s.WV)({textRange:null,startTextLineId:null,endTextLineId:null,startPageIndex:null,endPageIndex:null})){}var x=n(92947),D=n(57960);class C extends((0,s.WV)({children:(0,s.aV)(),title:"",color:null,isBold:!1,isItalic:!1,isExpanded:!1,action:null})){}var k=n(47852),A=n(40725),O=n(34426),T=n(11863)},71603:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(35369),r=n(36489),i=n(79827);class a extends((0,o.WV)({unitFrom:r.s.INCHES,unitTo:i.K.INCHES,fromValue:1,toValue:1})){}},46791:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({pageIndex:null,previewText:"",locationInPreview:null,lengthInPreview:null,rectsOnPage:(0,o.aV)(),isAnnotation:null,annotationRect:null})){}},56169:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(35369);class r extends((0,o.WV)({isFocused:!1,isLoading:!1,term:"",focusedResultIndex:-1,results:(0,o.aV)(),minSearchQueryLength:1})){}},25797:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m,q:()=>h});var o=n(84121),r=n(50974),i=n(67366),a=n(24852),s=n(63738),l=n(69939),c=n(96617),u=n(60132),d=n(83253);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function f(e){for(var t=1;t{y.forEach((t=>{e.dispatch((0,l.$d)(t))}))}));else if("SERVER"===s.type&&!s.isUsingInstantProvider()){var b;const{alreadyLoadedPages:e}=s.provider.state,t=y.filter((t=>e.has(t.pageIndex)));null===(b=o.annotationManager)||void 0===b||b.backendObjectsCreated(y,d.z),m.emit("annotations.create",t)}return y.map((e=>e.id))},t.applyRedactions=function(){const{features:t}=e.getState();if(!t.includes(u.q.REDACTIONS))throw new r.p2(h);return e.dispatch((0,s.fq)()),new Promise(((t,n)=>(e.dispatch((0,a.g)((()=>{e.dispatch((0,s.Di)()),t()}),(t=>{e.dispatch((0,s.Di)()),n(t)}))),t)))}}},95651:(e,t,n)=>{"use strict";n.d(t,{A8:()=>ue,AC:()=>oe,CU:()=>fe,Dc:()=>U,Dl:()=>D,F3:()=>Z,Fp:()=>T,IO:()=>q,Jy:()=>ge,Km:()=>V,SY:()=>C,TL:()=>re,TW:()=>J,U7:()=>te,Vc:()=>W,Wj:()=>k,X5:()=>j,Xu:()=>Q,YV:()=>ye,_E:()=>P,_R:()=>ne,_k:()=>ve,a$:()=>G,aI:()=>$,bz:()=>O,d:()=>F,dk:()=>ce,eD:()=>ee,eJ:()=>me,fc:()=>L,fk:()=>A,hG:()=>K,ip:()=>N,lx:()=>B,oF:()=>de,om:()=>z,pe:()=>se,sH:()=>S,tM:()=>le,tl:()=>pe,ud:()=>E,vj:()=>X,vk:()=>M,x2:()=>I,xU:()=>H,xc:()=>_,xp:()=>R,yU:()=>Y,z1:()=>he});var o=n(84121),r=n(35369),i=n(50974),a=n(34997),s=n(82481),l=n(18146),c=n(41952),u=n(91859),d=n(97528),p=n(88804),f=n(35129),h=n(83634),m=n(39728),g=n(51731),v=n(20792),y=n(75669);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function w(e){for(var t=1;t({color:new h.Z({r:e.color.r,g:e.color.g,b:e.color.b}),localization:e.localization})))}catch(e){return(0,i.ZK)(`Wrong color data stored in localStorage: ${e.message}`),[]}return[]}catch(e){return[]}}function E(e,t){return(0,i.kG)("number"==typeof t.pageIndex,"Annotation has no valid pageIndex"),(0,i.kG)(!e.annotations.has(t.id),`Annotation ID (${t.id}) is already known`),t.pageIndex<0||t.pageIndex>=e.pages.size?((0,i.ZK)(`Tried to add an annotation (ID: ${t.id}) with an out of bounds page index. This annotation was skipped.`),e):(t instanceof s.sK&&(0,i.kG)(Z(t.imageAttachmentId),"imageAttachmentId is not a valid hash or pdfObjectId"),e.withMutations((e=>{var n;t.id||(t=t.set("id",_())),e.setIn(["annotations",t.id],t),null!==(n=e.isAPStreamRendered)&&void 0!==n&&n.call(e,t)&&!ee(t)&&e.updateIn(["invalidAPStreams",t.pageIndex],(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.l4)();return e.add(t.id)})),x(e,t),(0,m._d)(e,t)})))}function P(e,t){(0,i.kG)("string"==typeof t.id,"Annotation has no valid id");const n=e.annotations.get(t.id);return(0,i.kG)(n instanceof s.q6,`Annotation with id ${t.id} not found and thus the update was ignored.`),e.withMutations((o=>{var i,a;null!=t.pageIndex&&x(o,t),!0!==t.noView&&!0!==t.hidden||!o.selectedAnnotationIds.has(t.id)||(o.delete("selectedAnnotationMode"),o.set("interactionMode",null),o.update("selectedAnnotationIds",(e=>e.filterNot((e=>e===t.id)))),o.update("hoverAnnotationIds",(e=>e.delete(t.id)))),o.setIn(["annotations",t.id],t);const s=e.activeAnnotationNote;s&&(null===(i=s.parentAnnotation)||void 0===i?void 0:i.id)===t.id&&(t.note?t.note!==s.text.value&&o.set("activeAnnotationNote",s.set("text",{format:"plain",value:t.note})):o.set("activeAnnotationNote",null));const l=e.hoverAnnotationNote;l&&(null===(a=l.parentAnnotation)||void 0===a?void 0:a.id)===t.id&&(t.note?t.note!==l.text.value&&o.set("hoverAnnotationNote",l.set("text",{format:"plain",value:t.note})):o.set("hoverAnnotationNote",null));const c=se((()=>o),t,(()=>{var e;null!==(e=o.isAPStreamRendered)&&void 0!==e&&e.call(o,t)&&oe(n,t)&&T(n)===T(t)&&o.updateIn(["invalidAPStreams",t.pageIndex],(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,r.l4)();return e.add(t.id)}))}));(0,m.GW)(o,n,t,c)}))}function x(e,t){return e.updateIn(["pages",t.pageIndex,"annotationIds"],(e=>e.add(t.id)))}function D(e,t){const n=e.annotations.get(t);return(0,i.kG)(n instanceof s.q6,"Annotation is unknown"),e.withMutations((o=>{var r,i,a;o.selectedAnnotationIds.has(t)&&(o.delete("selectedAnnotationMode"),o.interactionMode!==v.A.FORM_CREATOR&&o.set("interactionMode",null)),o.update("annotations",(e=>e.delete(t))),o.update("selectedAnnotationIds",(e=>e.filterNot((e=>e===t)))),o.update("annotationPresetIds",(e=>e.filterNot((e=>e===t)))),o.update("hoverAnnotationIds",(e=>e.delete(t))),null!==o.annotationsIdsToDelete&&o.update("annotationsIdsToDelete",(e=>null==e?void 0:e.filterNot((e=>e===t))));const s=e.activeAnnotationNote;s&&(null===(r=s.parentAnnotation)||void 0===r?void 0:r.id)===t&&o.set("activeAnnotationNote",null);const l=e.hoverAnnotationNote;if(l&&(null===(i=l.parentAnnotation)||void 0===i?void 0:i.id)===t&&o.set("hoverAnnotationNote",null),null==(null==n?void 0:n.pageIndex))return;o.deleteIn(["pages",n.pageIndex,"annotationIds",t]);const c=e.invalidAPStreams.get(n.pageIndex),u=(!c||!c.has(t))&&(null===(a=e.isAPStreamRendered)||void 0===a?void 0:a.call(e,n));(0,m.WF)(o,n,u),"number"==typeof n.pdfObjectId&&(o.deleteIn(["APStreamVariantsRollover",n.pdfObjectId]),o.deleteIn(["APStreamVariantsDown",n.pdfObjectId]))}))}function C(e,t){const{boundingBox:n}=e;if(e instanceof s.Qi){const e=n.getLocation(),o=(new p.sl).translate(e.scale(-1)).rotate(t).translate(e);return n.apply(o)}return n}function k(e,t,n){return(0,c.q)(C(e,t),n)}function A(e,t,n,o,r){var a;let l=e instanceof s.q6&&("points"in e&&(null===(a=e.points)||void 0===a?void 0:a.toJS())||"startPoint"in e&&e.startPoint&&e.endPoint&&[e.startPoint.toJS(),e.endPoint.toJS()]);if(W(e)){(0,i.kG)(e instanceof s.gd,"Callout annotation is not a TextAnnotation");const{callout:t}=e;(0,i.kG)(t,"Callout annotation has no callout");const{knee:n,start:o}=t;l=[o,n].map((e=>null==e?void 0:e.toJS()))}const u=(0,c.K)(o);return Array.isArray(l)?l.map((e=>({x:r+u+(e.x-t.left)*n,y:r+u+(e.y-t.top)*n}))):[]}function O(e){const t=null!=e.pageIndex;return e instanceof s.gd?t&&null!=e.text.value&&""!==e.text.value:e instanceof s.Hi||e instanceof s.om?t&&null!=e.points&&e.points.size>1:t}function T(e){return!1===e.noView&&!0!==e.hidden}function I(e){return!1===e.noPrint&&!0!==e.hidden}function F(e){return!(e instanceof s.Ih)}function M(e){return e?e.replace(/[A-Z]/g,"-$&").toLowerCase():null}const _=a.SK;function R(e,t){return function(e,t){return t.map((function(t){return e.get(t)})).filter(Boolean).toList()}(e,t.annotationIds)}function N(e){return e.boundingBox.setLocation(new s.E9)}const L=(0,r.D5)([["stroke-color","strokeColor"],["background-color","backgroundColor"],["color","color"],["fill-color","fillColor"],["font-color","fontColor"],["outline-color","outlineColor"]]);function B(e){var t;const n=_(),o=function(e){const t=e.currentItemPreset;return t&&e.annotationPresets.get(t)||{}}(e),r=w(w({},o),{},{id:n,name:n,creatorName:e.annotationCreatorName,createdAt:new Date,updatedAt:new Date});return e.group!==(null===(t=e.backend)||void 0===t?void 0:t.getDefaultGroup())&&(r.group=e.group),o.group&&o.group!==e.group&&(r.group=o.group),e.annotationToolbarColorPresets?L.reduce(((t,n,o)=>{const r=e.annotationToolbarColorPresets({propertyName:o,defaultAnnotationToolbarColorPresets:d.Ei.COLOR_PRESETS});if(void 0===r)return t;const i=r.presets,a=S(L.get(o,o));return function(e,t){return e.some((e=>!t&&null===e.color||t&&e.color&&e.color.equals(t)))}([...i,...a],t[n])?t:w(w({},t),{},{[n]:i[0].color})}),r):r}function j(e,t){const n=e.annotations.get(t);return n?n instanceof s.o9?"line":n instanceof s.Xs?"ellipse":n instanceof s.b3?"rectangle":n instanceof s.om?"polyline":n instanceof s.Hi?"polygon":n instanceof s.Zc?"ink":n instanceof s.Qi?"note":n instanceof s.gd?"text":n instanceof s.sK?"image":n instanceof s.GI?"stamp":n instanceof s.x_?"widget":n instanceof s.FV?"highlight":n instanceof s.xu?"underline":n instanceof s.R9?"strikeout":n instanceof s.hL?"squiggle":n instanceof l.Z?"redaction":null:null}function z(e,t,n,o,r){const{width:a,height:l}=t,{currentPageIndex:c,pagesRotation:d}=e.viewportState,p=e.pages.get(c);(0,i.kG)(p,`Cannot find page at index ${c}`);const f=p.pageSize,h=Math.min(f.width*u.Bs/a,f.height*u.Bs/l,1);let m=a*h,g=l*h;return 90!==d&&270!==d||([m,g]=[g,m]),new s.sK(w(w({},B(e)),{},{pageIndex:c,imageAttachmentId:n,contentType:o,rotation:d,fileName:r,boundingBox:new s.UL({left:f.width/2-m/2,top:f.height/2-g/2,width:m,height:g})}))}function K(e,t,n){const{width:o,height:r}=t,{currentPageIndex:a,pagesRotation:l}=e.viewportState,c=e.pages.get(a);(0,i.kG)(c,`Cannot find page at index ${a}`);const d=c.pageSize,p=Math.min(d.width*u.Bs/o,d.height*u.Bs/r,1);let f=o*p,h=r*p;return 90!==l&&270!==l||([f,h]=[h,f]),new s.GI(w(w({},B(e)),{},{pageIndex:a,stampType:n.stampType,title:n.title,subtitle:n.subtitle,color:n.color,opacity:n.opacity,rotation:l,boundingBox:new s.UL({left:d.width/2-f/2,top:d.height/2-h/2,width:f,height:h})}))}function Z(e){return RegExp("^([A-Fa-f0-9]{64}|[0-9]+)$").test(e)}function U(e,t){let n=(0,r.D5)();return(Array.isArray(t)?t:[t]).forEach((t=>{if(t instanceof s.sK&&t.imageAttachmentId){const o=e.attachments.get(t.imageAttachmentId);o&&(n=n.set(t.imageAttachmentId,o))}})),n}function V(e){return e instanceof s.om||e instanceof s.Hi||e instanceof s.o9||W(e)}function G(e){switch(e.constructor){case s.gd:return!W(e);case s.GI:return!0;default:return!1}}function W(e){var t;return e instanceof s.gd&&!(null===(t=e.callout)||void 0===t||!t.innerRectInset)}function q(e){return e instanceof s.om||e instanceof s.Hi||e instanceof s.b3||e instanceof s.sK||e instanceof s.Zc||e instanceof s.Xs||e instanceof s.GI||e instanceof s.gd&&!W(e)||e instanceof s.x_||e instanceof s.R1}function H(e,t){const n=t.onAnnotationResizeStart?t.onAnnotationResizeStart(e):void 0;if(void 0!==n)return(0,i.kG)(!0===n.maintainAspectRatio||!1===n.maintainAspectRatio||null===n.maintainAspectRatio||void 0===n.maintainAspectRatio,"onAnnotationResizeStart should return a valid configuration or undefined"),!!n.maintainAspectRatio&&n.maintainAspectRatio;if(e.isShiftPressed)return!0;const o=e.annotation instanceof s.sK||e.annotation instanceof s.GI,r=[g.V.TOP_LEFT,g.V.TOP_RIGHT,g.V.BOTTOM_LEFT,g.V.BOTTOM_RIGHT];return!!(o&&r.includes(e.resizeAnchor)||"isSignature"in e.annotation&&e.annotation.isSignature)}function $(e,t){const n=t.onAnnotationResizeStart?t.onAnnotationResizeStart(e):void 0;return n&&(n.minHeight&&n.minHeight<0&&((0,i.ZK)("minimum height in the onAnnotationResizeStart API should be greater than 0"),n.minHeight=void 0),n.maxHeight&&n.maxHeight<0&&((0,i.ZK)("maximum height in the onAnnotationResizeStart API should be greater than 0"),n.maxHeight=void 0),n.maxWidth&&n.maxWidth<0&&((0,i.ZK)("maximum width in the onAnnotationResizeStart API should be greater than 0"),n.maxWidth=void 0),n.minWidth&&n.minWidth<0&&((0,i.ZK)("maximum width in the onAnnotationResizeStart API should be greater than 0"),n.minWidth=void 0),n.maxHeight&&n.minHeight&&n.maxHeight{e.nativeEvent.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),n=!0}})),n}function Q(e){e.selectedAnnotationIds.forEach((t=>{e.deleteIn(["annotationPresetIds"],t)}))}function ee(e){return"number"==typeof e.pdfObjectId}function te(e){return e.width>0&&e.height>0}function ne(e,t){return!(e instanceof s.GI||e instanceof s.Ih||e instanceof s.sK||e instanceof s.x_&&t instanceof s.Yo)}function oe(e,t){return!(0,r.is)(N(e),N(t))||e.opacity!==t.opacity||e.rotation!==t.rotation||T(e)!==T(t)||(t instanceof s.sK&&e instanceof s.sK&&e.imageAttachmentId!==t.imageAttachmentId||(!(!(t instanceof s.UX&&e instanceof s.UX)||e.strokeWidth===t.strokeWidth&&ie(e.strokeColor,t.strokeColor)&&ie(e.fillColor,t.fillColor)&&(!t.strokeDashArray||e.strokeDashArray&&!t.strokeDashArray.some(((t,n)=>void 0===e.strokeDashArray[n]||t!==e.strokeDashArray[n]))))||(!(!(t instanceof s.UX&&e instanceof s.UX&&t.isMeasurement())||e.measurementScale===t.measurementScale&&e.measurementPrecision===t.measurementPrecision)||((t instanceof s.b3||t instanceof s.Xs)&&(e instanceof s.b3||e instanceof s.Xs)&&(t.cloudyBorderInset!==e.cloudyBorderInset||t.cloudyBorderIntensity!==e.cloudyBorderIntensity)||(!!((t instanceof s.o9||t instanceof s.om)&&(e instanceof s.o9||e instanceof s.om)&&t.lineCaps&&(!e.lineCaps||t.lineCaps.start!==e.lineCaps.start||t.lineCaps.end!==e.lineCaps.end)||!t.lineCaps&&e.lineCaps)||(!!(t instanceof s.o9&&ae(e,t))||(!!((t instanceof s.om||t instanceof s.Hi)&&(e instanceof s.om||e instanceof s.Hi)&&ae(e,t))||(t instanceof s.Zc&&e instanceof s.Zc&&(e.lineWidth!==t.lineWidth||!ie(e.strokeColor,t.strokeColor)||!ie(e.backgroundColor,t.backgroundColor)||e.blendMode!==t.blendMode)||(t instanceof s.gd&&e instanceof s.gd&&(e.text.value!==t.text.value||e.fontSize!==t.fontSize||e.font!==t.font||!ie(e.fontColor,t.fontColor)||!ie(e.backgroundColor,t.backgroundColor)||e.isBold!==t.isBold||e.isItalic!==t.isItalic||e.horizontalAlign!==t.horizontalAlign||e.verticalAlign!==t.verticalAlign||e.borderWidth!==t.borderWidth||e.borderStyle!==t.borderStyle)||(t instanceof s.Qi&&e instanceof s.Qi&&(!ie(t.color,e.color)||e.icon!==t.icon)||t instanceof s.On&&e instanceof s.On&&(e.blendMode!==t.blendMode||!ie(e.color,t.color)||e.rects!==t.rects)))))))))))}function re(e,t){return(null==e?void 0:e.readOnly)!==(null==t?void 0:t.readOnly)}function ie(e,t){return e instanceof h.Z&&t instanceof h.Z?e.equals(t):!(e instanceof h.Z||t instanceof h.Z)}function ae(e,t){if(e instanceof s.o9&&t instanceof s.o9){if(t.startPoint!==e.startPoint||t.endPoint!==e.endPoint)return!(t.startPoint.x-e.startPoint.x==t.boundingBox.left-e.boundingBox.left&&t.startPoint.y-e.startPoint.y==t.boundingBox.top-e.boundingBox.top)}else if((e instanceof s.om||e instanceof s.Hi)&&(t instanceof s.om||t instanceof s.Hi))return!(e.points.size===t.points.size&&e.points.every(((n,o)=>{const r=t.points.get(o);return(0,i.kG)(r&&n),r.x-n.x==t.boundingBox.left-e.boundingBox.left&&r.y-n.y==t.boundingBox.top-e.boundingBox.top})));return!1}function se(e,t,n){const{invalidAPStreams:o}=e();let r=!1,i=o.get(t.pageIndex);i&&(r=!!i.get(t.id)),n();const{invalidAPStreams:a,annotations:s}=e(),l=s.get(t.id);if(!l)return!r;let c=!1;return i=a.get(l.pageIndex),i&&(c=!!i.get(l.id)),!r&&c}function le(e,t,n){(0,i.kG)(e.backend);const{invalidAPStreams:o,historyIdsMap:r,isHistoryEnabled:a,backend:s}=e,l=t.get(n.pageIndex),c=o.get(n.pageIndex);return!a||"STANDALONE"!==(null==s?void 0:s.type)||l&&l.has(n.id)||!c||!c.has(n.id)?n:n.set("APStreamCache",{cache:r.get(n.id)||n.id})}function ce(e,t){(0,i.kG)(e.backend);const{historyIdsMap:n,isHistoryEnabled:o,backend:r}=e;return o&&"STANDALONE"===(null==r?void 0:r.type)?t.set("APStreamCache",{cache:n.get(t.id)||t.id}):t}const ue="#4636e3 solid 2px";function de(e){const{id:t,pdfObjectId:n}=e;return e=>e===(null==n?void 0:n.toString())||e===t}function pe(e,t){let{backend:n,annotations:o}=e;t.forEach((e=>{const t=o.get(e.id);t&&oe(t,e)&&(null==n||n.clearPageAPStreams(t.pageIndex,(0,r.l4)([t.id])))}))}function fe(e,t,n){let{backend:o,formFields:i}=e;t.forEach((e=>{const t=i.get(e.formFieldName);t&&re(t,n)&&(null==o||o.clearPageAPStreams(e.pageIndex,(0,r.l4)([e.id])))}))}const he=Object.freeze({CLOCKWISE:"CLOCKWISE",COUNTERCLOCKWISE:"COUNTERCLOCKWISE"});function me(e,t,n){const{rotation:o,boundingBox:r}=e,i=r.getCenter();let a=new s.E9({x:Math.max(0,i.x-r.height/2),y:Math.max(0,i.y-r.width/2)});a.x+r.height>t.width&&(a=a.set("x",t.width-r.height)),a.y+r.width>t.height&&(a=a.set("y",t.height-r.width));const l=e.set("boundingBox",r.withMutations((e=>{e.height=r.width,e.width=r.height,e.left=a.x,e.top=a.y})));if(n){const e=n===he.CLOCKWISE;switch(o){case 0:return l.set("rotation",e?270:90);case 90:return l.set("rotation",e?0:180);case 180:return l.set("rotation",e?90:270);case 270:return l.set("rotation",e?180:0)}}return l}function ge(e){return s.UL.union(e.map((e=>(0,y.o0)(e)?(0,y.az)(e).boundingBox:e.boundingBox)))}function ve(e,t){if(e instanceof s.x_)return"widget";if(Object.keys(f.Z).includes(e.constructor.readableName.toLowerCase()+"Annotation")){const n=function(e){if(e instanceof s.Jn)return f.Z.comment.id;const t=e.constructor.readableName.toLowerCase()+"Annotation";return f.Z[t].id}(e);return t(f.Z[n])}return e.constructor.readableName.toLowerCase()}function ye(e){return!(e instanceof s.UX&&e.isMeasurement())}},37015:(e,t,n)=>{"use strict";function o(e){const t=new FileReader;return new Promise(((n,o)=>{t.onerror=e=>{o(new Error(e))},t.onload=e=>{var t;n(new Uint8Array(null===(t=e.target)||void 0===t?void 0:t.result))},t.readAsArrayBuffer(e)}))}n.d(t,{V:()=>o})},47825:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const o=n(34997).SK},36095:(e,t,n)=>{"use strict";function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]: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 r(e,t){const n=new RegExp(` ${t}/(\\d+)\\.*`);let o;return(o=e.match(n))?Number(o[1]):0}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:navigator.platform,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:navigator.maxTouchPoints;return t.indexOf("MacIntel")>-1&&n>1?"ios":e.indexOf("Win")>-1?"windows":e.indexOf("iPhone")>-1||e.indexOf("iPad")>-1?"ios":e.indexOf("Mac")>-1?"macos":e.indexOf("Android")>-1?"android":e.indexOf("Linux")>-1?"linux":"unknown"}n.d(t,{By:()=>s,Dt:()=>m,G6:()=>c,Mn:()=>w,Ni:()=>l,SR:()=>a,TL:()=>h,V5:()=>S,b1:()=>b,b5:()=>g,fq:()=>p,i7:()=>d,rO:()=>f,vU:()=>u,yx:()=>v});const a=o(),s=i(),l=(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent;switch(o(e)){case"trident":return r(e,"Trident");case"edge":return r(e,"Edge");case"blink":return r(e,"Chrome");case"webkit":return r(e,"Version");case"gecko":return r(e,"Firefox");default:;}}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o();return"ios"===e||"android"===e||v(t)}()),c="webkit"===a,u="gecko"===a,d="blink"===a,p="trident"===a,f="edge"===a,h="ios"===s||v(),m="android"===s,g=d&&m;function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();return("undefined"==typeof window||!window.PSPDFKIT_PLAYWRIGHT_TEST)&&("webkit"===e&&"undefined"!=typeof TouchEvent)}let y;function b(){return void 0===y&&(y="ontouchstart"in window||navigator.maxTouchPoints>0),y}"undefined"!=typeof window&&(window.addEventListener("mousemove",(function e(){y=!1,window.removeEventListener("mousemove",e)})),window.addEventListener("pointermove",(function e(t){"mouse"!==t.pointerType&&"pen"!==t.pointerType||(y=!1),window.removeEventListener("pointermove",e)})));const w=!1,S=/Mac/i.test(navigator.platform)},10284:(e,t,n)=>{"use strict";n.d(t,{CM:()=>i,Kd:()=>a,Ss:()=>l,ev:()=>u,iR:()=>c,kR:()=>s,mi:()=>r,os:()=>d,uW:()=>p});var o=n(50974);function r(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.canReply||e.isCommentThreadRoot&&e.canReply}function i(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.isEditable||e.isEditable}function a(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.isDeletable||e.isDeletable}function s(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.isEditable||e.isEditable}function l(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||null==e.pageIndex||"boolean"!=typeof e.isDeletable||e.isDeletable}function c(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||"boolean"!=typeof e.isEditable||e.isEditable}function u(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||"boolean"!=typeof e.isDeletable||e.isDeletable}function d(e,t){return(0,o.kG)(t.backend),!t.backend.isCollaborationPermissionsEnabled()||"boolean"!=typeof e.isFillable||e.isFillable}function p(e,t){return(0,o.kG)(t.backend),!(!t.backend.isCollaborationPermissionsEnabled()||"boolean"!=typeof e.canSetGroup)&&e.canSetGroup}},62164:(e,t,n)=>{"use strict";n.d(t,{Y7:()=>p,_P:()=>v,dq:()=>h,kT:()=>m,kx:()=>d,nN:()=>g,oK:()=>f});var o=n(27515),r=n(71693),i=n(88804),a=n(91859),s=n(47710),l=n(87222),c=n(19815),u=n(97413);const d="The feature you're trying to use requires a comments license. Comments is a component of PSPDFKit for Web and sold separately.";function p(e){let{showComments:t,commentThreads:n,features:o,backend:r}=e;return t&&n.size>0&&(0,c.LC)({features:o,backend:r})}function f(e){let{showComments:t,features:n,backend:o}=e;return t&&(0,c.LC)({features:n,backend:o})}function h(e){if(!p(e))return null;const{viewportState:t}=e;return e.containerRect.width>a.xD?t.scrollMode!==s.G.PER_SPREAD&&t.scrollMode!==s.G.DISABLED||function(e,t){let{viewportState:n,pages:o,commentThreads:i}=e;return(0,r.P1)(n,(0,r.dF)(n,t)).some((e=>{const t=o.get(e);return!!t&&t.annotationIds.some((e=>i.has(e)))}))}(e,e.viewportState.currentPageIndex)?l._.SIDEBAR:null:e.selectedAnnotationIds.size>0&&e.selectedAnnotationIds.some((t=>!!e.commentThreads.get(t)))?l._.PANE:null}const m=e=>null==e.pageIndex;function g(e,t){const n=(0,r.dF)(t,e.pageIndex);let a=i.sl.IDENTITY;if(t.scrollMode===s.G.CONTINUOUS){const e=(0,r.e8)(t,n);a=a.translateY(e)}return a=(0,o._4)(a,t),e.boundingBox.apply(a).top}const v=(e,t)=>{let n=!1;const o=e.last();if(null!=o){const e=t.get(o);(0,u.k)(null!=e),n=m(e)}return n}},72643:(e,t,n)=>{"use strict";n.d(t,{AK:()=>u,Aq:()=>c,Gp:()=>l,Im:()=>h,Tl:()=>m,_v:()=>y,sz:()=>d,uB:()=>b,yK:()=>p,z8:()=>f});var o=n(35369),r=n(68218),i=n(88804),a=n(12671);n(60132);function s(e){return{textBlockId:e.id,anchor:(0,a.X$)(e.anchor),globalEffects:(0,a.uE)(e.globalEffects),externalControlState:(0,a.hH)(e)}}function l(e){const t=[];for(const n of e.pageStates.toList()){const e=new Map(n.textBlocks.map((e=>[e.id,e])));for(const o of n.initialTextBlocks)e.has(o.id)||t.push(s(o));for(const e of n.textBlocks){(!(0,o.is)(e.anchor,e.initialAnchor)||!(0,o.is)(e.globalEffects,e.initialGlobalEffects)||!(0,o.is)(e.layout,e.initialLayout)||e.version)&&t.push(s(e))}}return t}const c="The API you're trying to use requires a content editor license. Content editor is a component of PSPDFKit for Web and sold separately.";const u=[4,6,8,10,12,14,16,18,20,24,32,36,48,64,72,96,144,192,200];function d(e,t){return new r.UL({offset:new r.Sg({x:e.offset.x*t,y:e.offset.y*t}),size:new r.Sg({x:e.size.x*t,y:e.size.y*t})})}function p(e,t,n){return new r.UL({offset:new r.Sg({x:e.offset.x+t.x*n,y:e.offset.y+t.y*n}),size:e.size})}function f(e){let t="";for(const n of e)t+=n.text;return t}const h=0,m=1,g=e=>{switch(e){case"begin":case"justified":return h;case"end":return m;case"center":return.5}},v=(e,t,n)=>{const o=(e=>(new i.sl).rotateRad(e.rotation).scale(1,e.flipY?-1:1))(e),a=o.applyToVector([n*t,0]);return new r.Sg({x:a[0],y:a[1]})},y=(e,t,n)=>(t-g(e))*n,b=(e,t,n,o)=>{const r=g(e)-n;return v(t,r,o)}},80857:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(50974);const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(t,n){if(!t)throw new o.p2(""===e?n:`${e}: ${n}`)}}},7921:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r,k:()=>i});var o=n(35369);function r(e,t){let n;return function(){for(var o=arguments.length,r=new Array(o),i=0;i{n=null,e.apply(a,r)}),t)}}function i(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(0,o.aV)();function i(e){const t=r;r=r.clear(),e.then((e=>{t.forEach((t=>{t.resolve(e)}))})).catch((e=>{t.forEach((t=>{t.reject(e)}))}))}return function(){for(var o=arguments.length,a=new Array(o),s=0;s{t=null,i(e.apply(l,a))}),n),new Promise(((e,t)=>{r=r.push({resolve:e,reject:t})}))}}},91039:(e,t,n)=>{"use strict";n.d(t,{sM:()=>h,uF:()=>f,Zt:()=>m,jI:()=>p,tK:()=>w,w2:()=>g});var o=n(50974),r=n(19575),i=n(76367),a=n(64494),s=n(82481),l=n(60132),c=n(26248),u=n(37231);const d=["application/pdf","image/png","image/jpeg"];function p(e,t){if(t===a.W.IF_SIGNED&&e.status!==i._.not_signed)return!0;if(t===a.W.HAS_ERRORS&&e.status===i._.error)return!0;const n=e.status===i._.valid&&e.documentModifiedSinceSignature;return!(t!==a.W.HAS_WARNINGS||e.status!==i._.warning&&e.status!==i._.error&&!n)}function f(e){if("string"==typeof e)return r.Base64.encode(e);if(e instanceof ArrayBuffer)return h(e);throw(0,o.Rz)(e)}function h(e){let t="";const n=new Uint8Array(e),o=n.byteLength;for(let e=0;e{let{signatureFormFQN:n}=e;return n===t.formFieldName}))&&e.formFields.has(t.formFieldName))}function g(e,t){e&&t&&"STANDALONE"===t.type&&((0,o.kG)(void 0===e.placeholderSize||"number"==typeof e.placeholderSize,"`placeholderSize` must be a number."),(0,o.kG)(void 0===e.flatten||"boolean"==typeof e.flatten,"`flatten` must be a boolean."),(0,o.kG)(void 0===e.formFieldName||"string"==typeof e.formFieldName,"`formFieldName` must be a string."),(0,o.kG)(void 0===e.formFieldName||void 0===e.position,"`formFieldName` and `position` cannot be used together."),v(e.position),y(e.appearance),b(e.signatureMetadata),function(e){if(!e)return;(0,o.kG)(!e.signatureType||e.signatureType===c.BG.CMS||Array.isArray(e.certificates)&&e.certificates.length>0&&e.certificates.every((e=>Boolean(e instanceof ArrayBuffer&&e.byteLength>0||"string"==typeof e&&e.length>0))),"For signatures of type `PSPDFKit.SignatureType.CAdES` an `Array` of certificates must be provided in `signaturePreparationData.signingData.certificates`."),(0,o.kG)(void 0===e.privateKey||"string"==typeof e.privateKey&&e.privateKey.length>0,"`signingData.privateKey` must be a non-empty string if provided."),(0,o.kG)(Object.values(c.BG).includes(e.signatureType),`\`signingData.signatureType\` must be a valid \`PSPDFKit.SignatureType\` value. \`${e.signatureType}\` was provided instead.`)}(e.signingData))}function v(e){e&&((0,o.kG)("number"==typeof e.pageIndex,"`pageIndex` must be a number."),(0,o.kG)(e.boundingBox instanceof s.UL,"`boundingBox` must be a PSPDFKit.Geometry.Rect instance."))}function y(e){var t;e&&((0,o.kG)(void 0===e.mode||e.mode in u.H,"`mode` must be a valid PSPDFKit.SignatureAppearanceMode value."),(0,o.kG)(void 0===e.showSigner||"boolean"==typeof e.showSigner,"`showSigner` must be a boolean."),(0,o.kG)(void 0===e.showSignDate||"boolean"==typeof e.showSignDate,"`showSignDate` must be a boolean."),(0,o.kG)(void 0===e.showReason||"boolean"==typeof e.showReason,"`showReason` must be a boolean."),(0,o.kG)(void 0===e.showLocation||"boolean"==typeof e.showLocation,"`showLocation` must be a boolean."),(0,o.kG)(void 0===e.showWatermark||"boolean"==typeof e.showWatermark,"`showWatermark` must be a boolean."),(0,o.kG)(void 0===e.watermarkImage||"Blob"===e.watermarkImage.constructor.name||"File"===e.watermarkImage.constructor.name,"`image` must be a Blob or File."),(0,o.kG)(void 0===e.watermarkImage||d.includes(e.watermarkImage.type),`The image type must be one of the supported formats: ${d.join(", ")}, provided: ${null===(t=e.watermarkImage)||void 0===t?void 0:t.type}.`))}function b(e){e&&((0,o.kG)(void 0===e.signerName||"string"==typeof e.signerName,"`signerName` must be a string."),(0,o.kG)(void 0===e.signatureReason||"string"==typeof e.signatureReason,"`signatureReason` must be a string."),(0,o.kG)(void 0===e.signatureLocation||"string"==typeof e.signatureLocation,"`signatureLocation` must be a string."))}function w(e){var t,n,r,i;e&&((0,o.kG)(!("placeholderSize"in e)||"number"==typeof e.placeholderSize&&e.placeholderSize>0,`Invalid \`placeholderSize\` for signature preparation data. Must be of type \`number\` and greater than \`0\` if present. Provided: ${e.placeholderSize}.`),(0,o.kG)(!("flatten"in e)||"boolean"==typeof e.flatten,`Invalid \`flatten\` for signature preparation data. Must be of type \`boolean\` if present. Provided: ${e.flatten}.`),(0,o.kG)(!("signatureMetadata"in e)||"object"==typeof e.signatureMetadata,`Invalid \`signatureMetadata\` for signature preparation data. Must be of type \`object\` if present. Provided: ${e.signatureMetadata}.`),"signatureMetadata"in e&&b(e.signatureMetadata),(0,o.kG)(!("position"in e)||"object"==typeof e.position,`Invalid \`position\` for signature preparation data. Must be of type \`object\` if present. Provided: ${e.position}.`),"position"in e&&v(e.position),(0,o.kG)(!("appearance"in e)||"object"==typeof e.appearance,`Invalid \`appearance\` for signature preparation data. Must be of type \`object\` if present. Provided: ${e.appearance}.`),"appearance"in e&&y(e.appearance),(0,o.kG)(!("formFieldName"in e)||"string"==typeof e.formFieldName&&e.formFieldName.trim().length>0,`Invalid \`formFieldName\` for signature preparation data. Must be a non-empty \`string\` if present. Provided: ${e.formFieldName}.`),(0,o.kG)(!e.signingData||!("signatureContainer"in e.signingData)||(null===(t=e.signingData)||void 0===t?void 0:t.signatureContainer)&&Object.values(c.FR).includes(e.signingData.signatureContainer),`Invalid \`signingData.signatureContainer\`. Must be either \`raw\` or \`pkcs7\` if present. Provided: ${null===(n=e.signingData)||void 0===n?void 0:n.signatureContainer}.`),(0,o.kG)(!e.signingData||!("signatureType"in e.signingData)||(null===(r=e.signingData)||void 0===r?void 0:r.signatureType)&&Object.values(c.BG).includes(e.signingData.signatureType),`Invalid \`signingData.signatureType\`. Must be either \`CMS\` or \`CAdES\` if present. Provided: ${null===(i=e.signingData)||void 0===i?void 0:i.signatureType}.`))}},30761:(e,t,n)=>{"use strict";n.d(t,{D4:()=>xe,jX:()=>Se});var o=n(84121),r=n(30845),i=n(67366),a=n(35369),s=n(50974),l=n(30570),c=n(14012),u=n(96114),d=n(82481),p=n(83253),f=n(29165),h=n(20234),m=n(76192),g=n(95651),v=n(96846),y=n(15973);class b{constructor(e,t){this.annotationProvider=e,this.localAnnotationCallbacks=t}createBackendObject(e,t){return(0,s.kG)(!(e instanceof y.Hu),"Media annotations cannot be created nor updated, only deleted."),!this.annotationProvider.canCreateBackendOrphanWidgets&&e instanceof d.x_?Promise.resolve():this.annotationProvider.createAnnotation(e,(null==t?void 0:t.attachments)||(0,a.D5)())}updateBackendObject(e,t){return(0,s.kG)(!(e instanceof y.Hu),"Media annotations cannot be created nor updated, only deleted."),this.annotationProvider.updateAnnotation(e,(null==t?void 0:t.attachments)||(0,a.D5)())}deleteBackendObject(e){return this.annotationProvider.deleteAnnotation(e)}createStoreObjects(e,t){this.localAnnotationCallbacks.createAnnotations(e,(null==t?void 0:t.attachments)||(0,a.D5)())}updateStoreObjects(e){this.localAnnotationCallbacks.updateAnnotations(e)}deleteStoreObjects(e){this.localAnnotationCallbacks.deleteAnnotations(e)}validateObject(e){return(0,g.bz)(e)}getObjectById(e){return this.localAnnotationCallbacks.getAnnotationById(e)}getObjectId(e){return e.id}refresh(){this.localAnnotationCallbacks.refreshSignaturesInfo()}syncChanges(){return this.annotationProvider.syncChanges()}}class w extends v.a{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.u.IMMEDIATE,o=arguments.length>3?arguments[3]:void 0;super(new b(e,t),n,o),this.annotationProvider=e}loadAnnotationsForPageIndex(e){return this.annotationProvider.loadAnnotationsForPageIndex(e)}}var S=n(1053);class E{constructor(e,t){(0,o.Z)(this,"localBookmarks",(0,a.D5)()),(0,o.Z)(this,"onCreate",(e=>{this.localBookmarks=this.localBookmarks.set(e.id,e)})),(0,o.Z)(this,"onUpdate",(e=>{this.onCreate(e)})),(0,o.Z)(this,"onDelete",(e=>{this.localBookmarks=this.localBookmarks.delete(e.id)})),this.bookmarkProvider=e,this.localBookmarkCallbacks=t}createBackendObject(e){return this.bookmarkProvider.createBookmark(e)}updateBackendObject(e){return this.bookmarkProvider.updateBookmark(e)}deleteBackendObject(e){return this.bookmarkProvider.deleteBookmark(e.id)}createStoreObjects(e){this.localBookmarks=this.localBookmarks.withMutations((t=>{e.forEach((e=>{t.set(e.id,e)}))}))}updateStoreObjects(e){this.createStoreObjects(e)}deleteStoreObjects(e){this.localBookmarks=this.localBookmarks.withMutations((t=>{e.forEach((e=>{t.delete(e)}))}))}validateObject(e){if(!e.id||"string"!=typeof e.id)return!1;try{return(0,S.G)(e),!0}catch(e){return!1}}getObjectById(e){return this.localBookmarks.get(e)}getObjectId(e){return e.id}refresh(){this.localBookmarkCallbacks.refreshSignaturesInfo()}syncChanges(){return this.bookmarkProvider.syncChanges()}}class P extends v.a{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.u.IMMEDIATE,r=arguments.length>3?arguments[3]:void 0;super(new E(e,t),n,r),(0,o.Z)(this,"getBookmarks",function(){let e=null;return async function(){return e||(e=this.bookmarkProvider.loadBookmarks()),await e,this.getLocalBookmarks()}}()),this.bookmarkProvider=e}getLocalBookmarks(){return this._callbacks.localBookmarks}}var x=n(8503),D=n(11863);class C{constructor(e,t){(0,o.Z)(this,"localComments",(0,a.D5)()),(0,o.Z)(this,"onCreate",(e=>{(0,s.kG)(e.id),this.localComments=this.localComments.set(e.id,e)})),(0,o.Z)(this,"onUpdate",(e=>{this.onCreate(e)})),(0,o.Z)(this,"onDelete",(e=>{(0,s.kG)(e.id),this.localComments=this.localComments.delete(e.id)})),this.commentProvider=e,this.localCommentCallbacks=t}createBackendObject(e,t){return this.commentProvider.createComment(e,t.comments,t.annotations)}updateBackendObject(e,t){return this.commentProvider.updateComment(e,t.comments,t.annotations)}deleteBackendObject(e,t){return(0,s.kG)(e.id),this.commentProvider.deleteComment(e.id,t.comments,t.annotations)}createStoreObjects(e){this.localComments=this.localComments.withMutations((t=>{e.forEach((e=>{(0,s.kG)(e.id),t.set(e.id,e)}))})),this.localCommentCallbacks.createComments(e)}updateStoreObjects(e){this.localComments=this.localComments.withMutations((t=>{e.forEach((e=>{(0,s.kG)(e.id),t.set(e.id,e)}))})),this.localCommentCallbacks.updateComments(e)}deleteStoreObjects(e){this.localComments=this.localComments.withMutations((t=>{e.forEach((e=>{t.delete(e)}))})),this.localCommentCallbacks.deleteComments(e)}validateObject(e){try{return(0,D.Gu)(e),!0}catch(e){return!1}}getObjectById(e){return this.localComments.get(e)}getObjectId(e){return(0,s.kG)(e.id),e.id}refresh(){this.localCommentCallbacks.refreshSignaturesInfo()}syncChanges(){return this.commentProvider.syncChanges()}}class k extends v.a{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.u.IMMEDIATE,o=arguments.length>3?arguments[3]:void 0;super(new C(e,t),n,o),this.commentProvider=e}async loadComments(){let e=null;e||(e=this.commentProvider.loadComments?this.commentProvider.loadComments():Promise.resolve()),await e}}var A=n(11032);class O{constructor(e,t){this.formFieldValueProvider=e,this.localFormFieldValueCallbacks=t}createBackendObject(e){return this.formFieldValueProvider.createFormFieldValue(e)}updateBackendObject(e){return this.formFieldValueProvider.setFormFieldValue(e)}deleteBackendObject(e){return this.formFieldValueProvider.deleteFormFieldValue((0,A.X)(e))}createStoreObjects(e){this.localFormFieldValueCallbacks.createFormFieldValues(e)}updateStoreObjects(e){this.localFormFieldValueCallbacks.setFormFieldValues(e)}deleteStoreObjects(e){this.localFormFieldValueCallbacks.deleteFormFieldValues(e)}getObjectById(){return null}getObjectId(e){return e.name}validateObject(){return!0}refresh(){this.localFormFieldValueCallbacks.refreshSignaturesInfo()}syncChanges(){return this.formFieldValueProvider.syncChanges()}}class T extends v.a{_getSupportedEvents(){return[...super._getSupportedEvents(),"willSubmit","didSubmit"]}constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m.u.IMMEDIATE,o=arguments.length>3?arguments[3]:void 0;super(new O(e,t),n===m.u.INTELLIGENT?m.u.IMMEDIATE:n,o)}createObject(e){const t=this.lockSave();try{this._saveModeQueue.createObject(this._createSaveQueueObject(e.name,e)),this._createdObjects=this._createdObjects.set(e.name,e)}finally{t()}}updateObject(e){const t=this.lockSave();try{this._saveModeQueue.updateObject(this._createSaveQueueObject(e.name,e)),this._updatedObjects=this._updatedObjects.set(e.name,e)}finally{t()}}deleteObject(e){const t=this.lockSave();try{this._saveModeQueue.deleteObject(this._createSaveQueueObject(e.name,e)),this._deletedObjects=this._deletedObjects.set(e.name,(0,A.X)(e))}finally{t()}}}var I=n(69939),F=n(41194),M=n(19815),_=n(97528),R=n(51333),N=n(92234),L=n(31835),B=n(97333),j=n(60619),z=n(55909),K=n(80857),Z=n(68250),U=n(10284),V=n(60132);const G=(0,K.Z)("Forms"),W=(0,s.Tr)("Forms");class q extends Z.I{constructor(e,t){super(t().formFieldValueManager),this.dispatch=e,this.getState=t}async create(e){throw W(`Can't create ${e.toString()}. Form field values creation is not supported.`)}async update(e){const{formFields:t,features:n,formsEnabled:o}=this.getState(),r=this.getState();return G(n.includes(V.q.FORMS),z.DR),G(o,z.BZ),G(r.backend),e.map((e=>{const n=t.get(e.name);if(G(n,`Tried to set the form field value for form field \`${e.name}\` which does not exist.`),!(0,U.os)(n,r))throw new s.p2("You don't have permission to update this form field value.");return this.dispatch((0,u.xh)([{name:e.name,value:e.value,optionIndexes:e.optionIndexes}])),e}))}async delete(e){return e.map((e=>{throw W(`Can't delete ${e.toString()}. Form field values deletion is not supported.`)}))}async ensureChangesSaved(e){G("string"==typeof e.name,"The form field value you passed to Instance.ensureChangesSaved() has no name.");const{formFieldValueManager:t}=this.getState();return G(t),await t.ensureObjectSaved(e)}}var H=n(47825),$=n(51269);const Y=(0,K.Z)("Bookmarks");class X extends Z.I{constructor(e,t){super(t().bookmarkManager),this.dispatch=e,this.getState=t}async create(e){const t=this.getState(),{bookmarkManager:n}=t,o=e.map((e=>{const t=e.id;Y(n),"string"==typeof t&&n.getLocalBookmarks()&&Y(!n.getLocalBookmarks().has(t),`Bookmark with id (${t}) is already used.`);const o="string"==typeof e.id&&e.id.length>0?e:e.set("id",(0,H.A)());return(0,S.G)(o),n.createObject(o),n.autoSave(),o}));return(0,$.s)(o)}async update(e){const{bookmarkManager:t}=this.getState();Y(t);const n=e.map((e=>(Y("string"==typeof e.id,"The bookmark you passed to Instance.update() has no id.\nPlease use Instance.create() first to assign an id."),(0,S.G)(e),t.updateObject(e),t.autoSave(),e)));return(0,$.s)(n)}async delete(e){const t=this.getState(),{bookmarkManager:n}=t,o=await(null==n?void 0:n.getBookmarks());Y(n);const r=e.map((e=>{Y("string"==typeof e.id,"The supplied bookmark id is not a valid id.");const t=null==o?void 0:o.get(e.id);return Y(t,`No bookmark with id ${e.id} found.`),n.deleteObject(e),n.autoSave(),t}));return(0,$.s)(r)}async getObjectById(e){const{bookmarkManager:t}=this.getState();if(!t)return null;return(await t.getBookmarks()).get(e)}async ensureChangesSaved(e){Y("string"==typeof e.id,"The bookmark you passed to Instance.ensureChangesSaved() has no valid id.\nPlease use Instance.create() first to assign an id.");const{bookmarkManager:t}=this.getState();return Y(t),await t.ensureObjectSaved(e)}}var J=n(34997),Q=n(62164);const ee=(0,K.Z)("Comments"),te=J.SK;class ne extends Z.I{constructor(e,t){super(t().commentManager),this.dispatch=e,this.getState=t}async create(e,t){const n=this.getState(),o=e.map((e=>{oe(n);const o=e.id;"string"==typeof o&&ee(!n.comments.has(o),`Comment id (${o}) is already used.`),ee(e.rootId,"Comment does not have `rootId`");const r=n.annotations.get(e.rootId)||(t?function(e,t){return e.find((e=>e instanceof y.q6&&e.id===t))}(t,e.rootId):null);if(ee(r,`Comment orphan: The comment can't be created because no comment thread root was found with the id '${e.rootId}'. Please ensure that you create the corresponding annotation together with the comment via instance.create([comment, commentThreadRootAnnotation]).`),ee(r instanceof y.Jn||r instanceof y.On,`The comment can't be created because its root has wrong type. Was '${r.constructor.name}', only 'CommentMarkerAnnotation' and 'TextMarkupAnnotation' are supported as comment thread roots.`),ee(!e.pageIndex||e.pageIndex===r.pageIndex,`The comment can't be created on different page (${e.pageIndex}) than the comment root (${r.pageIndex}).`),!(0,U.mi)(r,n))throw new s.p2("You are not allowed to reply to this thread.");const{annotationCreatorName:i,annotationCreatorNameReadOnly:a}=n;if(e.creatorName&&e.creatorName!==i&&a)throw new s.p2("The comment creator name is different from the one set on the JWT.");const l=e.withMutations((t=>{const o=new Date;t.set("id",te()).set("creatorName",n.annotationCreatorName).set("createdAt",o).set("updatedAt",o).set("pageIndex",r.pageIndex),ee(n.backend),n.backend.isCollaborationPermissionsEnabled()&&!t.group&&n.group!==n.backend.getDefaultGroup()&&t.merge({group:n.group}),["id","creatorName","createdAt","updatedAt"].map((n=>e[n]&&t.set(n,e[n])))}));return(0,D.Gu)(l),l}));return(0,i.dC)((()=>{o.forEach((e=>{e instanceof Error||(this.dispatch((0,R.Jr)(e)),this.autoSave())}))})),(0,$.s)(o)}async update(e){const t=this.getState(),n=e.map((e=>{var n;oe(t),ee("string"==typeof e.id,"The comment you passed to Instance.update() has no id.\nPlease use Instance.create() first to assign an id.");const o=t.comments.get(e.id);ee(o,"An comment that does not exist was updated. This is probably caused by a sync conflict when Instant is enabled.\n The update of this comment was skipped."),null!==(n=t.backend)&&void 0!==n&&n.isCollaborationPermissionsEnabled()||o.group===e.group&&e.isEditable===o.isEditable&&e.isDeletable===o.isDeletable&&e.canSetGroup===o.canSetGroup||(e=e.set("group",o.group).set("isEditable",o.isEditable).set("isDeletable",o.isDeletable).set("canSetGroup",o.canSetGroup),(0,s.ZK)("`group`, `isEditable`, `isDeletable` and `canSetGroup` are only relevant when Collaboration Permissions are enabled in server backed setup. You do not have it enabled so these values are set to `undefined`."));if(!e.delete("group").equals(o.delete("group"))&&!(0,U.kR)(o,t))throw new s.p2("You don't have permission to update this comment.");if(e.group!==o.group&&!(0,U.uW)(e,t))throw new s.p2("You don't have permission to update the `group` of this comment.");if(e.isEditable!==o.isEditable||e.isDeletable!==o.isDeletable||e.canSetGroup!==o.canSetGroup)throw new s.p2("You can't update `isEditable` or `isDeletable` since they are read only properties which depend on the `group` property.");if(e.creatorName!==o.creatorName&&t.annotationCreatorNameReadOnly)throw new s.p2("You can't change the creatorName of a comment if it was already set on the JWT.");if(e.rootId!==o.rootId)throw new s.p2("You can't change the root id of a comment once it has been created.");const r=e.set("updatedAt",new Date);return(0,D.Gu)(r),r}));return(0,i.dC)((()=>{n.forEach((e=>{e instanceof Error||(this.dispatch((0,R.V4)(e)),this.autoSave())}))})),(0,$.s)(n)}async delete(e){const t=this.getState();oe(t);const n=e.map((e=>{ee(e.id);const n=t.comments.get(e.id);if(ee(n,`No comment with id ${e.id} found.`),!(0,U.Ss)(n,t))throw new s.p2("You don't have permission to delete this comment.");return n}));return(0,i.dC)((()=>{n.forEach((e=>{e instanceof Error||(this.dispatch((0,R.UM)(e)),this.autoSave())}))})),(0,$.s)(n)}async ensureChangesSaved(e){oe(this.getState()),ee("string"==typeof e.id,"The comment you passed to Instance.ensureChangesSaved() has no id.\nPlease use Instance.create() first to assign an id.");const{commentManager:t}=this.getState();return ee(t),await t.ensureObjectSaved(e)}async getObjectById(e){ee("string"==typeof e,"The supplied id is not a valid id.");const{comments:t,features:n}=this.getState();return n.includes(V.q.COMMENTS)?t.get(e):null}}function oe(e){const{features:t,backend:n}=e;ee(t.includes(V.q.COMMENTS),Q.kx),ee((0,M.xr)(n),"The API you're trying to use is only available when using the PSPDFKit Instant or PSPDFKit for Web Standalone.")}var re=n(71652);const ie=(0,s.Tr)("Changes");class ae{constructor(e){this.annotation=e.annotation,this.bookmark=e.bookmark,this.comment=e.comment,this.formField=e.formField,this.formFieldValue=e.formFieldValue}toArray(){return[this.annotation,this.bookmark,this.comment,this.formField,this.formFieldValue].filter(Boolean)}forEach(e){this.toArray().forEach(e)}map(e){return this.toArray().map(e)}}class se{constructor(e,t,n,r){(0,o.Z)(this,"_prevHasUnsavedChanges",!1),(0,o.Z)(this,"eventEmitter",new L.Z(["saveStateChange"])),this._dispatch=e,this._getState=t,n&&(this.handlers=new ae(n)),r&&(this.eventEmitter=r)}connect(){const e=this._getState();if(this._backend=e.backend,!this.handlers){const e={};e.annotation=new j.Nk(this._dispatch,this._getState),e.bookmark=new X(this._dispatch,this._getState),e.formField=new z.fu(this._dispatch,this._getState),e.formFieldValue=new q(this._dispatch,this._getState),e.comment=new ne(this._dispatch,this._getState),this.handlers=new ae(e)}this.handlers.forEach((e=>{const t=e.getEventEmitter();t&&t.supportsEvent("saveStateChange")&&t.on("saveStateChange",(()=>this._onSaveStateChanged()))}))}save(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!this.hasUnsavedChanges())return Promise.resolve();const t=this.handlers.map((e=>e.manualSave(!1)));return e&&t.push(this._backend.syncChanges().catch(le)),(0,B.jK)(t).then((()=>{})).catch((t=>{const n=e?t.pop():null,o=t.filter(Boolean).map((e=>{if(e instanceof re.V)return e.reason})).filter(Boolean),r=(0,a.aV)(o).flatMap((e=>e)).toArray();throw(0,re.h)(r,Boolean(n),n?n.message:null)}))}hasUnsavedChanges(){return this.handlers.map((e=>e.hasUnsavedChanges())).some(Boolean)}_onSaveStateChanged(){const e=this.hasUnsavedChanges();this._prevHasUnsavedChanges!==e&&(this._prevHasUnsavedChanges=e,this.eventEmitter.emit("saveStateChange",{hasUnsavedChanges:e}))}async create(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this._performChanges(e,((n,o)=>n.create(o,t?e:null)))}async update(e){return this._performChanges(e,((t,n)=>t.update(n,e)))}_changesForHandler(e,t){return t.filter((t=>this._handlerForChange(t)===e))}async delete(e){const t=e.map((()=>ie("Unsupported change type"))),n=await(0,B.jK)(e.map((async(e,n)=>{if(e){if("string"==typeof e){for(const t of this.handlers.toArray()){const n=await t.getObjectById(e);if(n)return n}t[n]=ie(`No object with id '${e}' found.`)}}else t[n]=ie("The supplied id is not a valid id");return e})));return this._performChanges(n,((e,t)=>e.delete(t)),t)}ensureChangesSaved(e){const t=e.map((e=>{const t=this._handlerForChange(e);return t?t.ensureChangesSaved(e):Promise.reject(ie("Unsupported change type"))}));return(0,B.jK)(t)}async _performChanges(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.map((()=>ie("Unsupported change type")));const o=[],r=this.handlers.map((e=>e.lockSave()));try{let n=null;(0,i.dC)((()=>{n=this.handlers.map((async(n,r)=>{const i=this._changesForHandler(n,e);if(i.length)try{o[r]=await t(n,i)}catch(e){o[r]=e}}))})),n&&await(0,B.jK)(n)}finally{r.forEach((e=>{e()}))}const a=await this._mapResultsToChanges(e,o,n);return a.some((e=>e instanceof Error))?Promise.reject(a):Promise.resolve(a)}async _mapResultsToChanges(e,t,n){const o=n;for(const[n,r]of this.handlers.map((e=>e)).entries()){const i=await this._changesForHandler(r,e),a=t[n];i.length&&i.forEach(((t,n)=>{const r=e.findIndex((e=>e===t));var i;a instanceof Error?o[r]=a:o[r]=null!==(i=a[n])&&void 0!==i?i:a}))}return o}_handlerForChange(e){switch(!0){case e instanceof y.q6:return this.handlers.annotation;case e instanceof S.Z:return this.handlers.bookmark;case e instanceof d.sv:return this.handlers.comment;case e instanceof d.Wi:return this.handlers.formField;case e instanceof d.KD:return this.handlers.formFieldValue;default:return null}}}function le(e){throw ie(e),e}var ce=n(16126),ue=n(76367),de=n(67699),pe=n(25387),fe=n(38858);const he="rollover",me="down";var ge=n(5038),ve=n(63738),ye=n(44763);function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function we(e){for(var t=1;t{A.call(null,e)})),n.setDocumentHandleOutdated((t=>{e((0,h.KY)(t))})),n.setFormsEnabledInConfig(O),n.setStateGetter(t)}else if("SERVER"===D.type&&U&&m&&v){if(!(0,M.xW)(m,v)){const e=U.fields.filter((e=>"pspdfkit/form-field/signature"===e.type)).map((e=>e.name));U.annotations=U.annotations.filter((t=>!e.includes(t.formFieldName))),U.fields=U.fields.filter((t=>!e.includes(t.name))),L.setIgnoredFormFieldNames((0,a.aV)(e))}}const G={refreshSignaturesInfo:async()=>{const{digitalSignatures:n}=t();m&&m.includes("digital_signatures")&&n&&n&&n.status!==ue._.not_signed&&!1===n.documentModifiedSinceSignature&&(await D.refreshSignaturesInfo(),e((0,F.Y)(await D.getSignaturesInfo())))}},W=we(we({},G),{},{createAnnotations:(t,n)=>{n&&n.forEach(((t,n)=>{e((0,f.O)(n,t))})),e((0,N.pB)(de.j.EXTERNAL,(()=>{e((0,I.lA)(t))})))},updateAnnotations:t=>{e((0,N.pB)(de.j.EXTERNAL,(()=>{e((0,I.Zr)(t))})))},deleteAnnotations:t=>{e((0,N.pB)(de.j.EXTERNAL,(()=>{e((0,I.aF)(t))})))},getAnnotationById:e=>t().annotations.get(e)}),q=z&&(0,M.k_)(D)?we(we({},G),{},{createFormFields:t=>{e((0,u.TD)(t))},updateFormFields:t=>{e((0,u.C2)(t)),e((0,u.xW)(t.map((e=>new d.KD({name:e.name,value:e.value})))))},deleteFormFields:t=>{e((0,u.M$)(t))},getFormFieldByName:e=>t().formFields.get(e)}):null,H=we(we({},G),{},{createFormFieldValues:t=>e((0,u.zq)(t)),setFormFieldValues:t=>e((0,u.xW)(t)),deleteFormFieldValues:t=>e((0,u.HE)(t))}),$=(0,M.xr)(D),Y=$?we(we({},G),{},{createComments:t=>{e((0,R.fg)(t))},updateComments:t=>{e((0,R.gk)(t))},deleteComments:t=>{e((0,R.Vn)(t))}}):null,X=we({},G),J=t(),Q=new w(L,W,C,J.annotationManager&&J.annotationManager.eventEmitter),ee=new P(L,X,C,J.bookmarkManager&&J.bookmarkManager.eventEmitter),te=z&&q&&(0,M.k_)(D)?new x.c(L,q,C,J.formFieldManager&&J.formFieldManager.eventEmitter):null,ne=new T(L,H,C,J.formFieldValueManager&&J.formFieldValueManager.eventEmitter);let oe;$&&((0,s.kG)(null!=Y),oe=new k(L,Y,C,J.commentManager&&J.commentManager.eventEmitter));const re=(0,r.Z)(g.xp),ie=(0,r.Z)(ce.ET),ae={getPageContentState:e=>{const{pages:n,annotations:o,formFields:r}=t(),i=n.get(e);return(0,s.kG)(i),{pageSize:i.pageSize,annotations:re(o,i),formFields:ie(r,i)}},getZoomState:()=>t().viewportState.zoomLevel,getAnnotationWithFormField:e=>{const{annotations:n,formFields:o}=t(),r=n.get(e);return{annotation:r,formField:r instanceof d.x_&&r.formFieldName?o.get(r.formFieldName):null}},getFormFieldWidgets:e=>{const{annotations:n}=t(),{annotationIds:o}=e;return n.filter(((t,n)=>e.annotationIds.includes(n)||e.annotationIds.includes(String(t.pdfObjectId)))).toList().sort(((e,t)=>o.indexOf(e.id)t().formFields.get(e),isFormDesignerEnabled:()=>(0,M.ix)(t()),isAnnotationInState:e=>t().annotations.has(e),isFormFieldInState:e=>t().formFields.has(e),getAvailableVariants:e=>{const{APStreamVariantsRollover:n,APStreamVariantsDown:o}=t();if(null==e.pdfObjectId)return[];const r=[];return n.has(e.pdfObjectId)&&r.push(he),o.has(e.pdfObjectId)&&r.push(me),r}},le={createAnnotations:(e,t,n)=>{Q.backendObjectsCreated(e,n,{attachments:t})},updateAnnotations:Q.backendObjectsUpdated.bind(Q),deleteAnnotations:Q.backendObjectsDeleted.bind(Q),invalidateAPStreams:t=>e((0,I.GI)(t)),createAttachment:(t,n)=>{e((0,f.O)(t,new d.Pg({data:n})))},addAnnotationVariants:(t,n)=>{e((0,I.mw)(t,n))},applyJavaScriptActionChanges:t=>{e((0,u.bt)(t))}},pe={createBookmarks:ee.backendObjectsCreated.bind(ee),updateBookmarks:ee.backendObjectsUpdated.bind(ee),deleteBookmarks:ee.backendObjectsDeleted.bind(ee)},ge=z&&te instanceof x.c&&(0,M.k_)(D)?{createFormFields:te.backendObjectsCreated.bind(te),updateFormFields:te.backendObjectsUpdated.bind(te),deleteFormFields:te.backendObjectsDeleted.bind(te)}:null,be={createFormFieldValues:(e,t)=>{t===p.y?z&&ne.backendObjectsCreated(e,t):t===p.z&&Z&&ne.backendObjectsCreated(e,t)},setFormFieldValues:e=>{K&&ne.backendObjectsUpdated(e)},deleteFormFieldValues:e=>{Z&&ne.backendObjectsDeleted(e)}};let Se;$&&((0,s.kG)(null!=oe),Se={createComments:oe.backendObjectsCreated.bind(oe),updateComments:oe.backendObjectsUpdated.bind(oe),deleteComments:oe.backendObjectsDeleted.bind(oe)});const Ee=new se(e,t,null,J.changeManager&&J.changeManager.eventEmitter),Pe={attemptedUnlockViaModal:o,hasPassword:y,features:m,signatureFeatureAvailability:v,permissions:B,documentInfo:j,formJSON:U,annotationManager:Q,bookmarkManager:ee,formFieldManager:te,formFieldValueManager:ne,commentManager:oe,changeManager:Ee,minSearchQueryLength:b,documentHandle:D.getDocumentHandle(),allowedTileScales:S,pageKeys:E};let xe=null;(0,i.dC)((function(){e((0,c.rJ)(Pe)),L.setReadStateCallbacks(ae),L.setAnnotationCallbacks(le),L.setBookmarkCallbacks(pe),L.setFormFieldValueCallbacks(be),$&&((0,s.kG)(null!=Se),L.setCommentCallbacks(Se)),z&&(0,M.k_)(D)&&((0,s.kG)(ge),L.setFormFieldCallbacks(ge)),Ee.connect(),xe=L.load()}));try{await xe,await new Promise(((t,n)=>{("visible"===document.visibilityState?requestAnimationFrame:setTimeout)((()=>{D.lazyLoadPages().then((o=>{const r=[];o&&e((0,fe.uM)(o)),z&&(0,M.k_)(D)&&te&&r.push(te.loadFormFields()),(0,s.kG)(m,"Features should be defined at this point"),(0,M.xr)(D)&&(0,M.LC)({features:m,backend:D})&&oe&&r.push(oe.loadComments()),(0,M.YN)({features:m,backend:D})&&r.push(async function(e){var t;let{backend:n,dispatch:o}=e;const r=await(null===(t=n.getSecondaryMeasurementUnit)||void 0===t?void 0:t.call(n));r&&o((0,ye.VO)(r));const i=await n.getMeasurementScales();i&&o((0,ve.RN)(i?(0,l.Ex)(i):null))}({backend:D,dispatch:e})),r.length>0?Promise.all(r).then((()=>t())).catch(n):t()})).catch((e=>{n(e)}))}))}))}catch(e){throw e}}function Pe(e){return{type:pe.UX$,state:e}}function xe(e,t,n,o){let r;if("string"==typeof t){if(n===ge.x.SharePoint){const n=new URL(t,e),[o,r]=n.hostname.split(".").reverse();if("sharepoint"!==r||"com"!==o)throw new s.p2(`When using SharePoint, the document URL must be a sharepoint.com URL: it's ${r}.${o} instead.`)}if(n===ge.x.Salesforce){const t=new URL(e),[n,o]=t.hostname.split(".").reverse();if("salesforce"!==o&&"force"!==o&&"visualforce"!==o||"com"!==n)throw new s.p2(`When using Salesforce, the SDK must be loaded from a Salesforce URL: it's ${o}.${n} instead.`)}r=fetch(t,{credentials:"same-origin"}).then((e=>e.arrayBuffer())).finally((()=>{null==o||o()}))}else r=t;return r}},51559:(e,t,n)=>{"use strict";n.d(t,{RG:()=>c,SH:()=>h,bZ:()=>d,h6:()=>m,mr:()=>p,nN:()=>u,rh:()=>f});var o=n(35369),r=n(50974),i=n(60132),a=n(52560),s=n(28098),l=n(55024);function c(e){var t;return"STANDALONE"===(null===(t=e.backend)||void 0===t?void 0:t.type)&&e.features.includes(i.q.DOCUMENT_COMPARISON)}const u="You need the document comparison license component to use this feature.",d="The document comparison feature is only available in Standalone mode.",p=(e,t)=>(0,a.cq)(e.set("currentPageIndex",0).set("pageSizes",(0,o.aV)([t.pageSize])),s.c.FIT_TO_WIDTH);async function f(e){const t=await e;if("string"==typeof t){let e;try{e=fetch(t).then((e=>e.arrayBuffer()))}catch(e){(0,r.vU)(e)}return e}if(t instanceof ArrayBuffer)return t;throw new r.p2("Comparison document source is not a URL nor an ArrayBuffer")}const h=e=>e===l.Q.documentA?l.Q.documentA:e===l.Q.documentB?l.Q.documentB:l.Q.result,m=[[[0,0],[0,0]],[[0,0],[0,0]],[[0,0],[0,0]]]},4054:(e,t,n)=>{"use strict";n.d(t,{Aw:()=>d,Cz:()=>k,N1:()=>v,PF:()=>D,Qu:()=>p,R4:()=>h,R9:()=>f,_c:()=>x,_s:()=>S,ar:()=>m,cR:()=>E,eR:()=>g,f:()=>c,fp:()=>b,gC:()=>y,o5:()=>u,sR:()=>C});var o=n(50974),r=n(92466),i=n(36095),a=n(71231),s=n(38006),l=n.n(s);function c(e){return function(e){e&&i.vU&&e.scrollHeight}(e),function(e){return e.scrollHeight>e.clientHeight}(e)||u(e)}function u(e){return e.scrollWidth>e.clientWidth}function d(e){const t=e?e.document:document,n=t.createElement("iframe"),{documentElement:r}=t;return(0,o.kG)(r),n.title="script",n.style.position="absolute",n.style.top="-10000px",n.style.left="-10000px",n.style.width="10000px",n.style.height="10000px",n.setAttribute("aria-hidden","true"),r.appendChild(n),{window:n.contentWindow,remove(){r.removeChild(n)}}}function p(e){let t;if(!e.nodeName)return!1;const n=e.nodeName,o=e.hasAttribute("tabindex")&&parseInt(e.getAttribute("tabindex")),r=!isNaN(o)&&isFinite(o)&&"boolean"!=typeof o;if(/^(IFRAME|LABEL|DATALIST|INPUT|SELECT|TEXTAREA|BUTTON|OBJECT)$/.test(n)){if(t=!e.disabled,t){const n=e.closest("fieldset");n&&(t=!n.disabled)}}else t="A"===n?e.href||r:e.hasAttribute("contenteditable")&&"true"===e.getAttribute("contenteditable")||r;return!!t}const f=async e=>{let{buffer:t,width:n,height:o,format:r=(0,a.zP)()}=e;if("bitmap"===r)return(async e=>{let{buffer:t,width:n,height:o}=e;const r=document.createElement("canvas");r.width=n,r.height=o;const i=new Uint8ClampedArray(t),a=r.getContext("2d"),s=null==a?void 0:a.createImageData(n,o);return null==s||s.data.set(i),null==a||a.putImageData(s,0,0),h(await x(r))})({buffer:t,width:n,height:o});return h(new Blob([t],{type:`image/${r}`}))};function h(e){return m(URL.createObjectURL(e))}async function m(e){const t=new Image;return t.onerror=e=>{throw new o.p2(`There was an error loading the image: ${e.message}`)},t.src=e,await C(t),new r.Z(t,(()=>URL.revokeObjectURL(e)))}function g(e){return!(!e||1!==e.nodeType)&&("true"===e.contentEditable||"INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)}function v(e){return!(!e||1!==e.nodeType)&&Boolean(e.attributes.role&&"listbox"===e.attributes.role.value||e.attributes.role&&"menu"===e.attributes.role.value)}function y(e){if(!e||1!==e.nodeType)return!1;const t=e.ownerDocument.querySelector(".PSPDFKit-Toolbar"),n=e.ownerDocument.querySelector(".PSPDFKit-Annotation-Toolbar");return Boolean(t&&t.contains(e)||n&&n.contains(e))}function b(e){return!(!e||1!==e.nodeType)&&Boolean(e.closest(".PSPDFKit-Toolbar-Responsive-Group"))}let w=!1;{let e=document.createElement("div");const t=()=>{};try{e.addEventListener("focus",t,!0),e.focus(Object.defineProperty({},"preventScroll",{get:()=>{w=!0}}))}catch(e){w=!1}finally{e.removeEventListener("focus",t),e=null}}function S(e,t){w&&t.focus({preventScroll:!0})}function E(e,t){const n=t.HTMLAnchorElement.prototype.hasOwnProperty("download"),o=new Blob([e],{type:"application/pdf"});if("function"==typeof navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(o,"download.pdf");else if(n){const e=window.URL.createObjectURL(o);P(e),t.URL.revokeObjectURL(e)}else{const e=new FileReader;e.onloadend=function(){const t=e.result;"string"==typeof t&&P(t)},e.readAsDataURL(o)}}function P(e){(0,o.kG)(null!=document.body);const t=document.createElement("a");t.href=e,t.style.display="none",t.download="download.pdf",t.setAttribute("download","download.pdf"),document.body&&document.body.appendChild(t),t.click(),document.body&&document.body.removeChild(t)}function x(e){return new Promise(((t,n)=>{"toBlob"in e?e.toBlob((e=>{t(e)}),"image/png"):"msToBlob"in e?t(null==e?void 0:e.msToBlob()):n(new Error("Exporting HTMLCanvasElement to Blob is not supported in this browser."))}))}function D(e){e.preventDefault()}async function C(e){if(!(e instanceof HTMLImageElement)||"IMG"!==e.nodeName)return;try{await new Promise(((t,n)=>{e.complete?t():(e.onerror=n,e.onload=()=>t())}))}catch(e){throw new o.p2(`The image could not be loaded: ${e.message}`)}const t=e.decode();try{await t}catch(e){if(!i.i7)throw new o.p2(`The image could not be decoded: ${e.message}`);await new Promise((e=>setTimeout(e,200)))}}function k(e){var t,n;null===(t=e.target)||void 0===t||t.classList.remove(l().focusedFocusVisible),null===(n=e.target)||void 0===n||n.removeEventListener("blur",k)}},13997:(e,t,n)=>{"use strict";n.d(t,{SV:()=>l,oM:()=>i,zj:()=>a});var o=n(50974),r=n(71984);function i(){return"protocol=5, client=2023.4.0, client-git=80c992b150"}function a(){return"production"}const s=new Map;function l(e){const t=(0,r.Qk)();if(t)return t;const n=document.createElement("a");n.href=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Error;const n=s.get(e);if("string"==typeof n)return n;if(e.currentScript){const t=e.currentScript.src;return s.set(e,t),t}{let n;try{throw new t("PSPDFKit document.currentScript.src detection")}catch(e){e.stack&&(n=e.stack.match(/(?:file|https?):[^)]+/i))}(0,o.kG)(n,"Failed to automatically determine baseUrl. Please specify the base url as an option.");const r=n[0].split(":").slice(0,-2).join(":");return s.set(e,r),r}}(e);const i=n.pathname.split("/").filter(Boolean).slice(0,-1);return[`${n.protocol}/`,n.host,...i].join("/")+"/"}},20276:(e,t,n)=>{"use strict";function o(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{bubbles:!1,cancelable:!1};return"function"==typeof Event?t=new Event(e,n):(t=document.createEvent("Event"),t.initEvent(e,Boolean(n.bubbles),Boolean(n.cancelable))),t}function r(e){const t=document.createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}n.d(t,{M:()=>o,_:()=>r})},71231:(e,t,n)=>{"use strict";n.d(t,{Gn:()=>i,Rh:()=>l,Zy:()=>a,aV:()=>c,zP:()=>s});var o=n(36095),r=n(91859);const i=(()=>{if("object"!=typeof window)return!1;let e=!1;const t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});try{window.addEventListener("test",null,t)}catch(e){}return e})();let a=!o.G6;if(!o.G6){const e=new Image;e.onload=()=>a=e.width>0&&e.height>0,e.onerror=()=>a=!1,e.src="data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA=="}const s=()=>a?"webp":"png";let l=!1;try{const e=new FormData;e.append("key","value");const t=new Response(e);"formData"in t&&!fetch.polyfill&&t.formData().then((()=>{l=!0})).catch((()=>{l=!1}))}catch(e){l=!1}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s();return"webp"===t&&(e.width>r.pt||e.height>r.pt)?"png":t}},38623:(e,t,n)=>{"use strict";n.d(t,{GE:()=>p,eE:()=>d,vt:()=>u,x6:()=>f});var o=n(35369),r=n(50974),i=n(34710);const a=(0,o.hU)(["Helvetica","Arial","Calibri","Century Gothic","Consolas","Courier","Dejavu Sans","Dejavu Serif","Georgia","Gill Sans","Impact","Lucida Sans","Myriad Pro","Open Sans","Palatino","Tahoma","Times New Roman","Trebuchet","Verdana","Zapfino","Comic Sans"]),s=(0,o.hU)(["sans-serif","serif","monospace"]);let l=new Set;const c=(0,o.aV)(["mmmBESbswy"]);s.forEach((e=>{const t=a.filterNot((e=>l.has(e))),n=new i.f(document,c,{fontFamily:e}),o=t.map((t=>[t,new i.f(document,c,{fontFamily:`${t},${e}`})])),s=n.measure().first();(0,r.kG)(s),o.forEach((e=>{let[t,n]=e;const o=n.measure().first();s.equals(o)||(l=l.add(t))})),n.remove(),o.forEach((e=>{let[,t]=e;t.remove()}))}));const u=a.filter((e=>l.has(e))),d=[{name:"Caveat",file:"Caveat-Bold",weight:700},{name:"Marck Script",file:"MarckScript-Regular",weight:400},{name:"Meddon",file:"Meddon-Regular",weight:400},{name:"Pacifico",file:"Pacifico-Regular",weight:400}];function p(e,t){e.forEach((e=>{t.load(`16px ${e.name}`)}))}function f(e){return Promise.allSettled(e.map((e=>new Promise(((t,n)=>{var o,i;if((0,r.kG)(e.name),i=e.name,!/\.[^.]*$/.test(i))return(0,r.vU)(`The font name for font "${e.name}" must have a file extension.`),void n();null==e||null===(o=e.callback)||void 0===o||o.call(e,e.name).then((o=>{(0,r.kG)(e.name),o instanceof Blob?t({name:e.name,data:o}):((0,r.vU)(`Callback for retrieving font ${e.name} didn't returned a Blob. It returned ${typeof o}`),n())})).catch((t=>{(0,r.vU)(`Error returned by callback for retrieving font ${e.name}. ${t}`),n()}))}))))).then((e=>e.filter((e=>"fulfilled"===e.status)).map((e=>e.value))))}},16126:(e,t,n)=>{"use strict";n.d(t,{$Y:()=>z,AM:()=>_,Ay:()=>R,BT:()=>y,CH:()=>N,CK:()=>j,CL:()=>k,ET:()=>A,G8:()=>P,Qg:()=>v,U_:()=>b,VY:()=>E,as:()=>Z,fF:()=>L,g6:()=>F,gE:()=>T,hT:()=>w,i2:()=>x,l_:()=>S,o6:()=>B,r_:()=>I,sC:()=>O,sh:()=>K});var o=n(84121),r=n(35369),i=n(50974),a=n(59780),s=n(82481),l=n(86920),c=n(78162),u=n(97528),d=n(95651),p=n(20792),f=n(5020),h=n(78233);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;tnew s.KD({name:e.name,value:"string"==typeof e.value?e.value:e.values,optionIndexes:e.optionIndexes}))).toList()}function y(e,t){var n;return e&&t?e instanceof a.Dz||e instanceof a.rF?e.values.size>0?e.values.equals(t.values):0===t.values.size:(e.value===t.value||"function"==typeof(null===(n=e.value)||void 0===n?void 0:n.equals)&&e.value.equals(t.value))&&(!e.optionIndexes||!t.optionIndexes||e.optionIndexes.every(((e,n)=>t.optionIndexes[n]===e))):!e&&!t}function b(e){return(0,r.D5)(e.map((e=>{(0,i.kG)(null==e.pdfObjectId||"number"==typeof e.pdfObjectId,"Invalid type for `pdfObjectId`.");try{(0,i.kG)(Array.isArray(e.annotationIds),"Invalid type for `annotationIds`."),(0,i.kG)("string"==typeof e.name,"Invalid type for `name`."),(0,i.kG)("string"==typeof e.label,"Invalid type for `label`.");const t=Array.isArray(e.flags)?e.flags:[],n={pdfObjectId:e.pdfObjectId,annotationIds:(0,r.aV)(e.annotationIds),name:e.name,label:e.label,readOnly:t.includes("readOnly"),required:t.includes("required"),noExport:t.includes("noExport")};switch(e.type){case"pspdfkit/form-field/button":return function(e){return new a.R0(g({},e))}(n);case"pspdfkit/form-field/radio":return function(e,t){return(0,i.kG)(t.options instanceof Array,"Invalid type for `options`."),(0,i.kG)("string"==typeof t.defaultValue,"Invalid type for `defaultValue`."),(0,i.kG)("boolean"==typeof t.noToggleToOff,"Invalid type for `noToggleToOff`."),(0,i.kG)("boolean"==typeof t.radiosInUnison,"Invalid type for `radiosInUnison`."),new a.XQ(g(g({},e),{},{options:C(t.options),defaultValue:t.defaultValue,noToggleToOff:t.noToggleToOff,radiosInUnison:t.radiosInUnison}))}(n,e);case"pspdfkit/form-field/checkbox":return function(e,t){return(0,i.kG)(t.options instanceof Array,"Invalid type for `options`."),(0,i.kG)(t.defaultValues instanceof Array,"Invalid type for `defaultValue`."),new a.rF(g(g({},e),{},{options:C(t.options),defaultValues:(0,r.aV)(t.defaultValues)}))}(n,e);case"pspdfkit/form-field/combobox":case"pspdfkit/form-field/listbox":return function(e,t){(0,i.kG)(t.options instanceof Array,"Invalid type for `options`."),(0,i.kG)("boolean"==typeof t.multiSelect,"Invalid type for `multiSelect`."),(0,i.kG)("boolean"==typeof t.commitOnChange,"Invalid type for `commitOnChange`."),(0,i.kG)(!t.defaultValues||Array.isArray(t.defaultValues),"Invalid type for `defaultValue`.");const n=g(g({},e),{},{options:C(t.options),multiSelect:t.multiSelect,commitOnChange:t.commitOnChange,defaultValues:t.defaultValues?(0,r.aV)(t.defaultValues):(0,r.aV)()});switch(t.type){case"pspdfkit/form-field/combobox":{const e=t;return(0,i.kG)("boolean"==typeof e.edit,"Invalid type for `edit`."),(0,i.kG)("boolean"==typeof e.doNotSpellcheck||"boolean"==typeof e.doNotSpellCheck,"Invalid type for `doNotSpellCheck`."),new a.fB(g(g({},n),{},{edit:e.edit,doNotSpellCheck:e.doNotSpellCheck||e.doNotSpellcheck}))}case"pspdfkit/form-field/listbox":return new a.Vi(n);default:throw new Error("Unknown choice field type")}}(n,e);case"pspdfkit/form-field/text":return function(e,t){return(0,i.kG)("boolean"==typeof t.doNotSpellcheck||"boolean"==typeof t.doNotSpellCheck,"Invalid type for `doNotSpellCheck`."),(0,i.kG)("boolean"==typeof t.doNotScroll,"Invalid type for `doNotScroll`."),(0,i.kG)("boolean"==typeof t.password,"Invalid type for `password`."),(0,i.kG)("boolean"==typeof t.multiLine,"Invalid type for `multiLine`."),(0,i.kG)("string"==typeof t.defaultValue||!t.defaultValue,"Invalid type for `defaultValue`."),(0,i.kG)(!0!==t.comb||"number"==typeof t.maxLength,"Invalid type for `comb`. When `comb` is set, the text field must have a `maxLength`."),new a.$o(g(g({},e),{},{defaultValue:t.defaultValue,doNotSpellCheck:t.doNotSpellCheck||t.doNotSpellcheck,doNotScroll:t.doNotScroll,password:t.password,maxLength:"number"==typeof t.maxLength?t.maxLength:null,multiLine:t.multiLine,comb:t.comb}))}(n,e);case"pspdfkit/form-field/signature":return function(e){return new a.Yo(g({},e))}(n);default:throw new Error(`Unsupported form field type: ${e.type}`)}}catch(t){return(0,i.um)(`Skipped parsing form field #${e.name} from payload because an error occurred while deserializing.`),void(0,i.um)(t)}})).filter(Boolean).map((e=>[null==e?void 0:e.name,e])))}function w(e){return e.map((e=>c.Z.fromJSON(e.pdfObjectId?e.pdfObjectId.toString():e.id,e)))}function S(e,t){const n=e.annotationIds.findIndex((0,d.oF)(t)),o=e.options.get(n);return(0,i.kG)(o,`There is no FormOption defined for annotationId '${t.id}' in formField '${e.name}'.`),o.value}function E(e,t){let{rotation:n,boundingBox:o}=e;if(!n)return{};const r=90===(0,f.Lv)(n)||270===(0,f.Lv)(n),i={},a=Math.ceil(o.height*t),s=Math.ceil(o.width*t);return r&&(i.width=a,i.height=s),n&&(i.transformOrigin="50% 50%",i.transform=P({width:s,height:a,rotation:n})),i}function P(e){let{width:t,height:n,rotation:o,reverse:r=!1}=e;const i=90===(0,f.Lv)(o)||270===(0,f.Lv)(o);return r?`rotate(${o}deg)`+(i&&t&&n?`translate(${-Math.round(t/2-n/2)}px, ${Math.round(t/2-n/2)}px)`:""):(i&&t&&n?`translate(${Math.round(t/2-n/2)}px, ${-Math.round(t/2-n/2)}px) `:"")+`rotate(${-o}deg)`}function x(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const{fontColor:o,font:r,backgroundColor:i,borderColor:a,horizontalAlign:s,borderWidth:l,borderStyle:c,isBold:u,isItalic:d,boundingBox:{width:p,height:f},opacity:m}=e,v=Math.ceil(p*t),y=Math.ceil(f*t);return g(g({color:null==o?void 0:o.toCSSValue(),backgroundColor:null==i?void 0:i.toCSSValue(),borderColor:(null==a?void 0:a.toCSSValue())||"transparent",opacity:m,textAlign:s||void 0,fontWeight:u?"bold":void 0,fontStyle:d?"italic":void 0},"string"==typeof r?{fontFamily:(0,h.hm)(r)}:null),{},{borderWidth:l||0,borderStyle:null!=c?D[c]:"none",width:v,height:y},n?E(e,t):{})}const D={solid:"solid",dashed:"dashed",beveled:"groove",inset:"inset",underline:"none none solid"};function C(e){return(0,r.aV)(e.map((e=>new s.mv(e))))}function k(e,t){return e.formFields.find((e=>e.id===t))}function A(e,t){return e.filter((e=>e.annotationIds.some((e=>t.annotationIds.has(e))))).toList()}function O(e,t,n){var o,r,i,a;return"STANDALONE"===e.type&&u.Ei.PDF_JAVASCRIPT&&"function"==typeof e.onKeystrokeEvent&&(Boolean(null===(o=t.additionalActions)||void 0===o?void 0:o.onInput)||Boolean(null===(r=n.additionalActions)||void 0===r?void 0:r.onInput)||Boolean(null===(i=t.additionalActions)||void 0===i?void 0:i.onChange)||Boolean(null===(a=n.additionalActions)||void 0===a?void 0:a.onChange))}function T(e,t){if(0===e.length)return t;if(0===t.length)return e;const n=[],o=t.slice(0);return e.forEach((e=>{if((e.change_type===l.uV||e.change_type===l.zR)&&"pspdfkit/form-field-value"===e.object.type){const t=o.findIndex((t=>"pspdfkit/form-field-value"===t.object.type&&t.object.type===e.object.type&&t.object.name===e.object.name));if(t>-1){const n=o[t];e.object.formattedValue=n.object.formattedValue,e.object.editingValue=n.object.editingValue,o.splice(t,1)}}n.push(e)})),n.concat(o)}function I(e,t,n){const o=e&&n.formFields.get(e.name);if(e&&o&&!y(e,o)){e.annotationIds.reduce(((e,n)=>{var o;const i=t.annotations.get(n)||t.annotations.find((e=>e.pdfObjectId===parseInt(n)));if(i&&null!==(o=t.isAPStreamRendered)&&void 0!==o&&o.call(t,i)){return e.get(i.pageIndex)?e.updateIn([i.pageIndex],(e=>e.add(i.id))):e.set(i.pageIndex,(0,r.l4)([i.id]))}return e}),(0,r.D5)()).forEach(((e,n)=>{var o;null===(o=t.backend)||void 0===o||o.clearPageAPStreams(n,e)}))}}function F(e,t,n){const o=e.annotationIds.findIndex((0,d.oF)(t)),i=S(e,t),a=e.options.filter((e=>e.value===i)).size;let s;if(n){if(a<2)return;s=(e.optionIndexes||(0,r.aV)()).push(o)}else{if(!e.optionIndexes)return;s=e.optionIndexes.filter((e=>e!==o))}return s.size>0?s:void 0}function M(e,t,n){const o=t.filter((t=>{const o=e.annotationIds.get(t);if(!o)return!1;const r=n.get(o);if(!r)return!1;const i=S(e,r);return e.options.filter((e=>e.value===i)).size>1}));return o.size>0?o:void 0}function _(e){let{state:t,mutableState:n,formFieldValues:o,areFormFieldValuesNew:s}=e;o.forEach((e=>{let{name:o,value:l,optionIndexes:c}=e;const u=t.formFields.get(o);if(u){if((0,i.kG)(!c||u instanceof a.XQ||u instanceof a.rF,"`optionIndexes` property is only supported in radio and checkbox form field values."),u instanceof a.$o)l=l||"",(0,i.kG)("string"==typeof l,`The type of action value for a TextFormField is ${typeof l}, but has to be a string`),n.setIn(["formFields",o,"value"],l);else if(u instanceof a.XQ){if((0,i.kG)("string"==typeof l||null===l,`The type of action value for a RadioButtonFormField is ${typeof l}, but has to either be a string or null`),n.setIn(["formFields",o,"value"],l),c){const e=M(u,c,t.annotations);e&&n.setIn(["formFields",o,"optionIndexes"],e)}}else if(u instanceof a.Dz||u instanceof a.rF){if(l=l||(0,r.aV)(),(0,i.kG)(l instanceof r.aV,`The type of action value for the ${u instanceof a.Dz?"ChoiceFormField":"CheckBoxFormField"} is ${typeof l}, but has to be a List of strings`),n.setIn(["formFields",o,"values"],l),u instanceof a.rF&&c){const e=M(u,c,t.annotations);e&&n.setIn(["formFields",o,"optionIndexes"],e)}}else u instanceof a.R0||u instanceof a.Yo||(0,i.kG)(!1,`Cannot set form field value for ${u.name}: unknown form field type`);s||I(u,t,n)}else(0,i.ZK)(`No form field found with name ${o}`)}))}function R(e){let{getState:t,originalFormFields:n,formFieldValues:o,callback:a,resolve:s}=e;const{formFields:l,annotations:c,backend:u}=t(),d=[],p=[];n.forEach(((e,t)=>{if(!e)return;(0,i.kG)(u);let n=l.get(t);if((0,i.kG)(n),o.some((e=>e.name===t&&(n=r.aV.isList(e.value)?n.set("values",e.value):n.set("value",e.value),!0))),y(e,n))p.push(t);else{c.filter((e=>e.points===t)).reduce(((e,t)=>{const n=e.get(t.pageIndex);return n?e.set(t.pageIndex,n.add(t.id)):e.set(t.pageIndex,(0,r.l4)([t.id]))}),(0,r.D5)()).forEach(((e,t)=>{d.push({pageIndex:t,pageWidgetIds:e})}))}})),a(p),d.forEach((e=>{let{pageIndex:t,pageWidgetIds:n}=e;null==u||u.clearPageAPStreams(t,n)})),null==s||s()}function N(e){return new s.KD(g({name:e.name,value:e.values||e.value},e.optionIndexes?{optionIndexes:e.optionIndexes}:null))}function L(e){return e===p.A.CHECKBOX_WIDGET||e===p.A.RADIO_BUTTON_WIDGET||e===p.A.SIGNATURE_WIDGET||e===p.A.TEXT_WIDGET||e===p.A.BUTTON_WIDGET||e===p.A.COMBO_BOX_WIDGET||e===p.A.LIST_BOX_WIDGET||e===p.A.FORM_CREATOR||e===p.A.DATE_WIDGET}function B(e){return L(e)&&e!==p.A.FORM_CREATOR}function j(e,t){const n=S(e,t),o=!e.optionIndexes||e.optionIndexes.includes(e.annotationIds.findIndex((0,d.oF)(t)));return e instanceof a.XQ?e.value===n&&o:e instanceof a.rF?e.values.includes(n)&&o:(0,i.Rz)(e)}const z="Invalid date/time: please ensure that the date/time exists. Field [",K="The value entered does not match the format of the field [",Z="format "},51269:(e,t,n)=>{"use strict";function o(e){return e.some((e=>e instanceof Error))?Promise.reject(e):Promise.resolve(e)}n.d(t,{s:()=>o})},39728:(e,t,n)=>{"use strict";n.d(t,{FA:()=>g,GW:()=>y,WF:()=>b,Yr:()=>w,_d:()=>v,ax:()=>S,kM:()=>m,mZ:()=>E});var o=n(84121),r=n(50974),i=n(35369),a=n(32125),s=n(82481),l=n(67699),c=n(95651),u=n(62164),d=n(15973),p=n(60619);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;te.push({type:"delete",payload:{id:t.id}}))),e.update("redoActions",(e=>e.clear())))}function y(e,t,n,o){if(e.isHistoryEnabled){let t=!0;if(e.eventEmitter.emit("history.willChange",{annotation:n,type:"update",preventDefault(){t=!1}}),!t)return}if(!t.set("updatedAt",null).equals(n.set("updatedAt",null)))if(e.historyChangeContext===l.j.DEFAULT&&e.isHistoryEnabled&&function(e,t){if(e instanceof s.gd&&!e.text)return!(!t||!("text"in t))&&!!t.text.value;if(e instanceof s.Jn&&!e.isCommentThreadRoot)return!!t&&t.isCommentThreadRoot;if("number"!=typeof e.pageIndex&&"number"!=typeof t.pageIndex)return!1;return!0}(n,t)){const r="number"!=typeof t.pageIndex&&"number"==typeof n.pageIndex||t instanceof s.gd&&null==t.text||t instanceof s.Jn&&!t.isCommentThreadRoot&&n.isCommentThreadRoot?{type:"delete",payload:{id:t.id}}:{type:"update",payload:E(n,t),restoreAPStream:o,deletedAnnotation:null};e.update("undoActions",(e=>e.push(r))),e.update("redoActions",(e=>e.clear()))}else if(e.historyChangeContext!==l.j.HISTORY&&e.undoActions.size>0){const o=e.undoActions.findLastIndex((e=>("update"===e.type||"delete"===e.type)&&e.payload.id===n.id));-1!==o&&e.updateIn(["undoActions",o],(e=>"update"===e.type?h(h({},e),{},{payload:E(n,t.merge(e.payload)),restoreAPStream:e.restoreAPStream}):"delete"===e.type?h(h({},e),{},{payload:h(h({},E(n,t)),e.payload)}):e))}}function b(e,t,n){if(t instanceof d.Hu)return;if(e.isHistoryEnabled){let n=!0;if(e.eventEmitter.emit("history.willChange",{annotation:t,type:"delete",preventDefault(){n=!1}}),!n)return}const o=(0,c.xc)();if(e.historyChangeContext===l.j.DEFAULT&&e.isHistoryEnabled){const r=w(t,o,e.commentThreads,e.comments),i=S(t,o,e);e.update("undoActions",(e=>e.map((e=>e.payload.id===t.id?h(h({},e),{},{payload:h(h({},e.payload),{},{id:o})}):e)).push({type:"create",payload:t.set("id",o),formField:i,restoreAPStream:n,comments:r}))),e.update("redoActions",(e=>e.clear()));const a=e.historyIdsMap.get(t.id);a&&e.deleteIn(["historyIdsMap",t.id]),e.setIn(["historyIdsMap",o],a||t.id)}else if(e.historyChangeContext!==l.j.HISTORY&&e.undoActions.size>0){const r=e.undoActions.findLastIndex((e=>"update"===e.type&&e.payload.id===t.id));if(-1!==r){e.updateIn(["undoActions",r],(e=>({type:"update",deletedAnnotation:t,payload:e.payload,restoreAPStream:n})));const i=e.historyIdsMap.get(t.id);i&&e.deleteIn(["historyIdsMap",t.id]),e.setIn(["historyIdsMap",o],i||t.id)}}}function w(e,t,n,o){let r=null;if(e.isCommentThreadRoot){const i=n.get(e.id);r=i?i.map((e=>{const n=o.get(e);return n&&n.set("rootId",t)})).filter((e=>e&&!(0,u.kT)(e))).toList():null}return r}function S(e,t,n){let o=null;return e instanceof s.x_&&(o=(0,p.GA)(n,e)),o&&o.set("annotationIds",(0,i.aV)([t]))}function E(e,t){return t.toSeq().reduce(((t,n,o)=>(e.has(o)&&e.get(o)===n||(t[o]=n),t)),{id:e.id})}},58479:(e,t,n)=>{"use strict";n.d(t,{$:()=>v,Ah:()=>A,Bo:()=>E,R9:()=>f,Sv:()=>D,Tp:()=>x,U5:()=>T,_x:()=>b,dX:()=>y,jC:()=>S,jw:()=>g,lB:()=>C,mP:()=>P,nG:()=>m,tm:()=>w,wA:()=>O,wL:()=>k});var o=n(67294),r=n(67366),i=n(63738),a=n(27515),s=n(34573),l=n(82481),c=n(51731),u=n(78233),d=n(69939),p=n(4054);function f(e){const t=o.useRef(e),n=o.useCallback((function(){for(var e,n=arguments.length,o=new Array(n),r=0;r(t.current=e,()=>t.current=void 0))),n}function h(e){const t=(0,r.I0)();return[(0,r.v9)((t=>{if(t.documentComparisonState&&void 0!==t.documentComparisonState[e])return t.documentComparisonState[e];throw new Error("Document comparison state not properly initialized.")})),f((n=>t((0,i.M5)({[e]:n}))))]}function m(){return h("referencePoints")}function g(){return h("currentTab")}function v(){return h("autoCompare")}function y(){return h("isResultFetched")}function b(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=o.useRef(),n=o.useRef();return(0,r.v9)((o=>(o.viewportState===t.current&&n.current||(n.current=t=>t.apply((0,a.zi)(o,e))),t.current=o.viewportState,n.current)))}function w(){const e=o.useRef(!0),t=o.useCallback((()=>e.current),[]);return o.useEffect((()=>()=>{e.current=!1}),[]),t}function S(e){const t=o.useRef();return o.useEffect((()=>{t.current=e})),t.current}function E(e,t){const{customUIStore:n,sidebarMode:i}=(0,r.v9)((e=>({customUIStore:e.customUIStore,sidebarMode:e.sidebarMode}))),[a,s]=o.useState((()=>{var e;return i?null==n||null===(e=n.getState().Sidebar)||void 0===e?void 0:e[i]:void 0}));o.useEffect((()=>null==n?void 0:n.subscribe((e=>{var t;if(!i)return;const n=null==e||null===(t=e.Sidebar)||void 0===t?void 0:t[i];s((()=>n))}))),[n,i]);const l=e&&(null==a?void 0:a({containerNode:e,items:t})),c=null==l?void 0:l.node;return o.useEffect((()=>{c&&e&&c!==e&&e.lastChild!==c&&e.append(c)}),[e,c]),null==l?void 0:l.onRenderItem}function P(e,t,n){const r=o.useRef({}),i=f(t),a=f(n),s=o.useMemo((()=>(t,n)=>{e&&t&&n&&(e({itemContainerNode:t,item:n}),r.current[i(n)]=t)}),[e,i]);return o.useEffect((()=>{Object.entries(r.current).forEach((t=>{let[n,o]=t;if(o&&n){const t=a(n),o=r.current[n];e&&o&&t&&e({itemContainerNode:o,item:t})}}))}),[e,a]),e?s:null}function x(){const[e,t]=o.useState(null),[n,r]=o.useState(null),[i,a]=o.useState(null),s=o.useRef(),l=o.useRef(),c=o.useRef(null);o.useEffect((()=>{l.current=n,s.current=i})),o.useEffect((()=>{const t=e&&n&&!l.current,o=!e&&s.current&&i;(t||o)&&c.current&&c.current.focus()}),[n,i,e]);const u=o.useCallback((()=>{r(!0)}),[r]);return{handleGroupExpansion:o.useCallback((e=>{t(e),e?a(e):r(!1)}),[a,t,r]),handleEntered:u,expandedGroup:e,prevActiveGroup:i,btnFocusRef:c}}function D(e,t,n){o.useLayoutEffect((function(){null!==e&&(t((0,s.Sb)()),n(e))}),[n,e,t])}function C(e,t,n,r){return o.useCallback((function(o){if(!(e instanceof l.gd))return;const i=(0,u.Zv)(e,t,n).boundingBox;let a=null;switch(o){case c.V.RIGHT:a=e.setIn(["boundingBox","width"],i.width);break;case c.V.BOTTOM:a=e.setIn(["boundingBox","height"],i.height);break;case c.V.BOTTOM_RIGHT:a=e.set("boundingBox",i)}null!==a&&r((0,d.FG)((0,u.XA)(a,n)))}),[e,r,t,n])}function k(e){const t=o.useRef(null);return o.useEffect((function(){const{current:n}=t;n&&(0,p._s)(e(),n)}),[e]),t}function A(e){const[t,n]=o.useState(e),[r,i]=o.useState(e);return t!==e&&(i(e),n(e)),[r,i]}function O(e,t,n){o.useEffect((function(){if(!e)return;const o=t();return o.addEventListener("scroll",n),function(){o.removeEventListener("scroll",n)}}),[t,e,n])}function T(e){let{threshold:t=0}=e;const[n,r]=o.useState(null),[i,a]=o.useState(null),s=o.useRef(null);return o.useEffect((()=>{s.current&&s.current.disconnect(),s.current=new window.IntersectionObserver((e=>{let[t]=e;return r(t)}),{threshold:t});const{current:e}=s;return i&&e.observe(i),()=>e.disconnect()}),[i]),[a,n||{}]}},53678:(e,t,n)=>{"use strict";n.d(t,{Pn:()=>i,rH:()=>a,sf:()=>s,vu:()=>r});var o=n(97413);function r(e){return 200<=e&&e<300}function i(e){const t=e.indexOf("://")>0;(0,o.k)(t,`The baseUrl must be an absolute URL (e.g. https://example.com/pspdfkit-lib/), but it is set to ${e}.\nProtocol relative URLs (e.g. //example.com/pspdfkit-lib/) are not supported.`);const n="/"===e.substr(-1);(0,o.k)(n,`The baseUrl must have a trailing slash in the URL (e.g. https://example.com/pspdfkit-lib/), but it is set to ${e}.`)}function a(e){return i(e)}function s(e){const t=e.indexOf("://")>0;(0,o.k)(t,`The hostedBaseUrl must be an absolute URL (e.g. https://api.pspdfkit.com/, but it is set to ${e}.`);const n="/"===e.substr(-1);(0,o.k)(n,`The hostedBaseUrl must have a trailing slash in the URL (e.g. https://api.pspdfkit.com/), but it is set to ${e}.`)}},45588:(e,t,n)=>{"use strict";n.d(t,{Jc:()=>y,UW:()=>g,Y:()=>b,an:()=>v,uq:()=>m});var o=n(84121),r=n(30845),i=n(50974),a=n(91859),s=n(97333),l=n(37015),c=n(88804),u=n(92466),d=n(73815);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function f(e){for(var t=1;t{t.onerror=e=>o(new Error(e)),t.onload=e=>{var t;const o=new Image;o.onload=()=>{n(new c.$u({width:o.width,height:o.height}))},o.onerror=()=>n(new c.$u({width:a.zA,height:a._2})),o.src=null===(t=e.target)||void 0===t?void 0:t.result},t.readAsDataURL(e)}))}));const m=async e=>{const{Sha256:t,bytes_to_hex:o}=await n.e(4536).then(n.bind(n,61529)),r=new t,i=await(0,l.V)(e);return{hash:o(r.process(i).finish().result),dimensions:await h(e)}};function g(e){return`${e.imageAttachmentId}_${e.id}`}function v(e){var t;let{backend:n,blob:o,annotation:r,isDetachedAnnotation:a=!1,zoomLevel:l,variant:u}=e,p=null,h=!1;const v=null!==(t=null==r?void 0:r.rotation)&&void 0!==t?t:0;(0,i.kG)(n);const y=r?g(r):void 0;if(r&&"imageAttachmentId"in r&&r.imageAttachmentId&&y&&n.attachmentsCache.has(y)){const{dimensions:e,img:t,provisional:i,prevRotation:a}=n.attachmentsCache.get(y);if(n&&i&&o&&a===v)return b();o&&"image/png"!==o.type&&"image/jpeg"!==o.type&&"image/webp"!==o.type&&(h=!0),p=w(n,e,v,r,o,t).then((r=>(o&&"image/png"!==o.type&&"image/jpeg"!==o.type&&"image/webp"!==o.type&&r&&(n.attachmentsCache=n.attachmentsCache.set(y,{dimensions:e,img:t,provisional:!0,prevRotation:v})),r)))}else{if(!o||"image/png"!==o.type&&"image/jpeg"!==o.type&&"image/webp"!==o.type)return b();p=m(o).then((e=>{let{dimensions:t}=e;return w(n,t,v,r,o)})).catch((()=>{throw new i.p2("Couldn't read data from the provided image.")}))}return f(f({},(0,s.uZ)(p)),{},{isProvisional:h});function b(){(0,i.kG)(n,"Backend is required to render the image"),(0,i.kG)(r,"Annotation is required to render the image");const{boundingBox:e}=r,t=(0,d.L)()*(null!=l?l:1),s=Math.round(e.width*t),p=Math.round(e.height*t),f=new c.$u({width:s,height:p}),h=a?n.renderDetachedAnnotation(r,o,s,p):n.cachedRenderAnnotation(r,o,s,p,u);return h.promise=h.promise.then((async e=>"imageAttachmentId"in r&&r.imageAttachmentId&&y&&null!=e&&e.element?0!==v?w(n,f,360-v,r,o,e.element).then((t=>(null!=t&&t.element&&(n.attachmentsCache=n.attachmentsCache.set(y,{dimensions:90===v||270===v?f.swapDimensions():f,img:t.element,prevRotation:v})),e))):(n.attachmentsCache=n.attachmentsCache.set(y,{dimensions:f,img:e.element,prevRotation:v}),e):e)),h}}function y(e,t){const n=new Uint8Array(e.length);for(let t=0;tnew Promise((e=>{o.toBlob(e)})));const s=o.getContext("2d");s.textBaseline="hanging";s.font=`100px "${i}"`;const{actualBoundingBoxLeft:l,actualBoundingBoxRight:c,width:u}=s.measureText(e);o.height=500;const d=2*(l||c?l+c:u);return o.width=d,s.textBaseline="hanging",s.font=`100px "${i}"`,s.fillStyle=a.toCSSValue(),s.fillText(e,d/4,125),function(e){const t=e.getContext("2d"),n=t.getImageData(0,0,e.width,e.height),o=n.data.length;let r=null,i=null,a=null,s=null,l=0,c=0;for(let t=0;tS(i,t,n).then(e,o)));if(r){const i=URL.createObjectURL(r),a=document.createElement("img");return new Promise(((s,l)=>{a.onload=()=>{r&&o&&(e.attachmentsCache=e.attachmentsCache.set(g(o),{dimensions:t,img:a,prevRotation:n})),S(a,t,n).then(s,l)},a.onerror=()=>{l(new Error("The attachment provided could not be rendered as image/jpeg, image/png or image/webp although the mime type suggests so."))},a.src=i}))}return new Promise((e=>e))}async function S(e,t,n){if(0===n)return e.onload=null,e.onerror=null,new u.Z(e,(()=>{}));{const o=document.createElement("canvas"),{width:r,height:a}=t;90===n||270===n?(o.width=a,o.height=r):(o.width=r,o.height=a);const s=o.getContext("2d");return(0,i.kG)(s,"Could not get canvas context"),90===n||270===n?s.translate(a/2,r/2):s.translate(r/2,a/2),s.rotate(n*-Math.PI/180),s.drawImage(e,-r/2,-a/2),new u.Z(o,(()=>{}))}}},7844:(e,t,n)=>{"use strict";n.d(t,{O:()=>i,b:()=>a});var o=n(35369);function r(e,t){if(e===t||(0,o.is)(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const i=Object.prototype.hasOwnProperty.bind(t);for(let r=0;r{"use strict";n.d(t,{k:()=>r});var o=n(50974);function r(e,t){if(!e)throw new o.p2(`Assertion failed: ${t||"Condition not met"}\n\nFor further assistance, please go to: https://pspdfkit.com/support/request`)}},28028:(e,t,n)=>{"use strict";n.d(t,{eU:()=>s,t0:()=>l,yK:()=>a});var o=n(19575),r=n(50974),i=n(71984);function a(e){const t="The supplied JWT is invalid. Please refer to our guides on how to set up authentication:\n https://pspdfkit.com/guides/web/current/server-backed/client-authentication/";if(-1!==e.indexOf('{"internal":'))return;let n;(0,r.kG)("string"==typeof e&&3===e.split(".").length,t);try{const t=o.Base64.decode(e.split(".")[1]);n=JSON.parse(t)}catch(e){throw new r.p2(t)}(0,r.kG)("string"==typeof n.document_id,"The supplied JWT is invalid. The field 'document_id' has to be a string value.\n Please refer to our guides for further information: https://pspdfkit.com/guides/web/current/server-backed/client-authentication/")}function s(e){if("string"!=typeof e)throw new r.p2("`accessToken` must be of type string.")}function l(e,t){(0,r.kG)("string"==typeof e,"`appName` must be a string."),(0,r.kG)((0,i.d)()||(0,i.AL)(e,t),"`appName` should only be set when using Electron or Maui."),(0,r.kG)(!(0,i.Sk)()||(0,i.AL)(e,t),"`appName` should only be set when using Electron without node integration or Maui.")}},77552:(e,t,n)=>{"use strict";function o(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}}n.d(t,{f:()=>o})},30570:(e,t,n)=>{"use strict";n.d(t,{B0:()=>Q,Di:()=>x,Ex:()=>G,Hg:()=>q,KI:()=>D,P_:()=>R,Qc:()=>Z,Rc:()=>V,Rw:()=>L,S6:()=>N,W9:()=>z,_P:()=>O,b5:()=>U,bs:()=>X,cd:()=>B,fH:()=>H,m_:()=>j,mq:()=>$,nK:()=>K,t9:()=>_,xA:()=>Y,zl:()=>J});var o=n(84121),r=n(50974),i=n(85628),a=n.n(i),s=n(35369),l=n(71603),c=n(9599),u=n(69939),d=n(74115),p=n(20792),f=n(4132),h=n(36489),m=n(79827),g=n(70076),v=n(20683),y=n(88713),b=n(50690),w=n(87043),S=n(36095);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function P(e){for(var t=1;te.y-t.y)).first();return{coordinate:[o.x,o.y-t]}}{const{boundingBox:t}=e;return{coordinate:[t.left+t.width/2,t.top+t.height/2]}}}(e,o);if(!r)return{display:"none"};const a={position:"absolute",transform:"translate(-50%, -50%) "+(e instanceof b.Z||e instanceof w.Z||e instanceof g.Z?"":e instanceof v.Z&&i?`rotate(${i}deg) translate(0, -${e.strokeWidth/2+10}px)`:i?`rotate(${i}deg) translate(0px, -${e.strokeWidth/2+10}px)`:`translate(0px, -${e.strokeWidth/2+10}px)`),transformOrigin:"center",fontSize:12,color:null===(n=e.strokeColor)||void 0===n?void 0:n.toCSSValue(),width:"max-content",left:r[0],top:e instanceof v.Z&&S.G6&&!i?r[1]-20:r[1]},{boundingBox:s}=e;return(e instanceof w.Z||e instanceof g.Z)&&(t&&s.width<200||s.width<80)?P(P({},a),{},{top:s.top-30}):a}function C(e,t){let n=e,o=t;t.x({label:h.s[e],value:h.s[e],disabled:!1}))),z=function(){const e=[];for(const t in f.L){const n=Object.keys(f.L).find((e=>e===t));if(n&&k.hasOwnProperty(f.L[t]))e.push((1/Math.pow(10,O[f.L[n]])).toString());else if(n&&A.hasOwnProperty(f.L[t])){const t=new(a())(O[f.L[n]]);e.push(t.toFraction(!0).toString())}}return e}(),K=Object.keys(f.L).map(((e,t)=>({label:z[t],value:f.L[e]}))),Z=Object.keys(f.L).filter((e=>!J(f.L[e]))).map(((e,t)=>({label:z[t],value:f.L[e]}))),U=Object.keys(m.K).map((e=>({value:m.K[e],label:m.K[e]}))),V=(e,t)=>({added:t.filter((t=>!e.find((e=>JSON.stringify(e)===JSON.stringify(t))))),deleted:e.filter((e=>!t.find((t=>JSON.stringify(e)===JSON.stringify(t)))))});function G(e){return e.map(((e,t)=>{const n=P(P({},e),{},{scale:P(P({},e.scale),{},{fromValue:e.scale.from,toValue:e.scale.to})});var o;(delete n.scale.from,delete n.scale.to,n.name&&""!==n.name.trim())||(n.name=(null===(o=(0,c.sJ)(n))||void 0===o?void 0:o.label)||`Scale ${t}`);return d.q[n.precision]&&(n.precision=d.q[n.precision]),n}))}async function W(e){let{operation:t,scale:n,getState:o,measurementUpdate:r,dispatch:i}=e;const a=o(),{backend:c,annotations:d,annotationManager:p}=a;const f=async(e,r)=>{const a=await(async e=>(await(null==p?void 0:p.loadAnnotationsForPageIndex(e)),o().annotations))(r);!function(e,t,o){e.forEach((e=>{const r=t.find((t=>t.pdfObjectId===e.pdfObjectId));if(r)switch(o){case"edit":{const e=r.set("measurementScale",new l.Z({fromValue:Number(n.scale.fromValue),toValue:Number(n.scale.toValue),unitFrom:n.scale.unitFrom,unitTo:n.scale.unitTo})).set("measurementPrecision",n.precision);i((0,u.FG)(e));break}case"delete":i((0,u.hQ)(r))}}))}(e,a,t)},h="STANDALONE"===c.type?await c.getAnnotationsByScale(n):function(e,t){return t.filter((t=>{const n=t.measurementScale,o=t.measurementPrecision;return!!n&&n.unitFrom===e.scale.unitFrom&&n.unitTo===e.scale.unitTo&&n.fromValue===e.scale.fromValue&&n.toValue===e.scale.toValue&&o===e.precision}))}(n,d),m=[];if(h.forEach((e=>{const n=d.find((t=>t.pdfObjectId?t.pdfObjectId===e.pdfObjectId:t.id===e.id));if(n&&"edit"===t&&r){const e=n.set("measurementScale",r.scale).set("measurementPrecision",r.precision);i((0,u.FG)(e))}else n&&"delete"===t?i((0,u.hQ)(n)):m.push(e)})),m.length>0){const e=(0,s.l4)(m.map((e=>e.pageIndex)));await Promise.all(e.map((async e=>{await f(m,e)})))}}async function q(e){let{scale:t,oldScale:n,getState:o,dispatch:r}=e;const i={scale:new l.Z({fromValue:Number(t.scale.fromValue),toValue:Number(t.scale.toValue),unitFrom:t.scale.unitFrom,unitTo:t.scale.unitTo}),precision:t.precision};await W({operation:"edit",scale:n,getState:o,measurementUpdate:i,dispatch:r})}async function H(e){let{deletedScale:t,getState:n,dispatch:o}=e;await W({operation:"delete",scale:t,getState:n,dispatch:o})}function $(e){if(e.size<2)return!1;const t=e.toList(),n=t.first(),o={scale:n.measurementScale,precision:n.measurementPrecision};for(let e=1;e{"use strict";n.d(t,{Sy:()=>s,Zt:()=>u,dY:()=>l});var o=n(50974),r=n(82481),i=n(3026),a=n(95651);function s(e,t,n){let s;if(e instanceof r.o9)return s=e.set(["startPoint","endPoint"][n],e[["startPoint","endPoint"][n]].translate(t)),s.set("boundingBox",(0,i.sS)(r.o9)(s));var c;if(e instanceof r.om||e instanceof r.Hi)return s=e.setIn(["points",n],null===(c=e.points.get(n))||void 0===c?void 0:c.translate(t)),s.set("boundingBox",(0,i.sS)(r.om)(s));if((0,a.Vc)(e)){var d,p,f;(0,o.kG)(e instanceof r.gd,"Callout annotation must have a callout");const a=null!==(d=e.callout)&&void 0!==d&&d.knee?["start","knee","end"]:["start","end"];if("end"===a[n])return e;s=e.setIn(["callout",a[n]],null===(p=e.callout)||void 0===p||null===(f=p[a[n]])||void 0===f?void 0:f.translate(t));const{callout:c}=s;(0,o.kG)(c,"Callout annotation must have a callout");const h=c.innerRectInset;(0,o.kG)(h,"Callout annotation must have an innerRectInset"),(0,o.kG)(c.start,"Callout annotation must have a start point");const m={left:e.boundingBox.left+h.left,top:e.boundingBox.top+h.top,right:e.boundingBox.left+e.boundingBox.width-h.right,bottom:e.boundingBox.top+e.boundingBox.height-h.bottom},g=l([[m.left,m.top],[m.right,m.top],[m.right,m.bottom],[m.left,m.bottom]]),v=(0,i.sS)(r.gd)(s),y=new r.eB({left:m.left-v.left,top:m.top-v.top,right:v.left+v.width-m.right,bottom:v.top+v.height-m.bottom});return s.set("boundingBox",v).setIn(["callout","innerRectInset"],y).setIn(["callout","end"],u(c.knee||c.start,g))}return e}function l(e){const t=[];for(let n=0;n{"use strict";n.d(t,{I:()=>r,W:()=>i});var o=n(91859);function r(e){return e.button===o.oW}function i(e){return e.buttons===o.M5}},37676:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,l:()=>a});var o=n(71984);const r=["http","https","mailto"];function i(e){const t=e.split(":")[0];if(t===e)e=/^[./#]/.test(e)?e:"http://"+e;else if(r.indexOf(t)<=-1)return;a(e,!0)}function a(e,t){if((0,o.Sk)()){(0,o.oH)("electron").shell.openExternal(e)}else if(t){window.open(e,"_blank").opener=null}else window.opener=null,window.location.href=e}},19815:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>g,Ez:()=>w,HI:()=>v,LC:()=>T,RZ:()=>m,VT:()=>h,VY:()=>_,Vz:()=>R,Xr:()=>A,YN:()=>I,aE:()=>F,bp:()=>P,ix:()=>D,j$:()=>S,jb:()=>f,k_:()=>C,lV:()=>b,qs:()=>O,xW:()=>M,xr:()=>k});var o=n(50974),r=n(82481),i=n(18146),a=n(70094),s=n(10284),l=n(67628),c=n(60619),u=n(97528),d=n(60132),p=n(72131);function f(e){return e.documentPermissions.printHighQuality}function h(e){return e.documentPermissions.printing&&e.printingEnabled&&e.backendPermissions.downloadingAllowed}function m(e){return e.exportEnabled&&e.backendPermissions.downloadingAllowed}function g(e){return e.documentPermissions.extract&&e.clientPermissions.extract}function v(e){return g(e)&&!e.clientPermissions.preventTextCopy}function y(e){let{backendPermissions:t,documentPermissions:n,readOnlyEnabled:o}=e;return!(!n.modification&&n.annotationsAndForms&&!t.readOnly&&o===p.J.NO)}function b(e,t){let n=!1;if((0,o.kG)(t.backend),t.backend.isCollaborationPermissionsEnabled()&&e instanceof r.x_){const o=(0,c.GA)(t,e);n=!!o&&(0,s.os)(o,t)}const i=!n&&!(0,s.CM)(e,t)&&!(0,s.Kd)(e,t);if(F(t)&&(!("isSignature"in e)||!e.isSignature))return!0;if(E(t)||i)return!0;if(e instanceof a.FN&&(e=e.parentAnnotation),t.isEditableAnnotation)return!t.isEditableAnnotation(e);if(!P(t)||!y(t)){if(0===t.editableAnnotationTypes.size)return!0;if(t.editableAnnotationTypes.find((t=>e instanceof t)))return!1}return!0}function w(e,t){const n=!(0,s.kR)(e,t)&&!(0,s.Ss)(e,t);return!(T(t)&&!E(t)&&!n)||(t.isEditableComment?!t.isEditableComment(e):!!P(t)&&y(t))}function S(e,t,n){let{features:o,backend:a,backendPermissions:s,documentPermissions:l,readOnlyEnabled:c,editableAnnotationTypes:u}=t;if(e===r.Jn&&!T({features:o,backend:a}))return!0;if(e===i.Z&&!o.includes(d.q.REDACTIONS))return!0;if(e===r.UX&&n&&!o.includes(d.q.MEASUREMENT_TOOLS))return!0;return!!F({features:o})||(!(!P({backendPermissions:s,documentPermissions:l,readOnlyEnabled:c})||!y({backendPermissions:s,documentPermissions:l,readOnlyEnabled:c}))||!u.find((t=>e===t||e.prototype instanceof t||t.prototype instanceof e)))}function E(e){return e.backendPermissions.readOnly}function P(e){let{backendPermissions:t,documentPermissions:n,readOnlyEnabled:o}=e;return t.readOnly||!n.modification||o!==p.J.NO}function x(e){return(e.documentPermissions.annotationsAndForms||e.documentPermissions.fillForms)&&e.formsEnabled}function D(e){return x(e)&&C(e.backend)&&e.features.includes(d.q.FORM_DESIGNER)}function C(e){return(0,o.kG)(e),e.isUsingInstantProvider()||"STANDALONE"===e.type}function k(e){return(0,o.kG)(e),e.isUsingInstantProvider()||"STANDALONE"===e.type}function A(e){let{features:t,backendPermissions:n,documentPermissions:o,readOnlyEnabled:r}=e;return t.includes(d.q.DOCUMENT_EDITING)&&!(n.readOnly||!o.modification||r===p.J.VIA_VIEW_STATE||r===p.J.VIA_BACKEND_PERMISSIONS)}function O(e){let{features:t,backendPermissions:n,documentPermissions:o,readOnlyEnabled:r}=e;return t.includes(d.q.CONTENT_EDITING)&&!(n.readOnly||!o.modification||r===p.J.VIA_VIEW_STATE||r===p.J.VIA_BACKEND_PERMISSIONS)}function T(e){let{features:t,backend:n}=e;return(0,o.kG)(n),t.includes(d.q.COMMENTS)&&("STANDALONE"===n.type||"SERVER"===n.type&&n.isUsingInstantProvider())}function I(e){let{features:t,backend:n}=e;return(0,o.kG)(n),t.includes(d.q.MEASUREMENT_TOOLS)&&("STANDALONE"===n.type||"SERVER"===n.type&&n.isUsingInstantProvider())}function F(e){let{features:t}=e;return!R(t)&&t.includes(d.q.ELECTRONIC_SIGNATURES)}function M(e,t){return!!(t===l.H.LEGACY_SIGNATURES||e.includes(d.q.FORMS)&&(e.includes(d.q.ELECTRONIC_SIGNATURES)||e.includes(d.q.DIGITAL_SIGNATURES)))}function _(e,t,n){let{backendPermissions:o,documentPermissions:i,isEditableAnnotation:a,editableAnnotationTypes:s,readOnlyEnabled:l}=n;return e.readOnly||a&&!a(t)||!s.has(r.x_)||!u.Ei.IGNORE_DOCUMENT_PERMISSIONS&&!i.fillForms&&!i.annotationsAndForms||o.readOnly||l!==p.J.NO}function R(e){return e.includes(d.q.WEB_ANNOTATION_EDITING)||e.includes(d.q.ANNOTATION_EDITING)}},97333:(e,t,n)=>{"use strict";function o(e){return new Promise(((t,n)=>{let o=0;const r=[];let i=!1;const a=()=>{o>=e.length&&(i?n(r):t(r))};a(),e.forEach(((e,t)=>{e.then((e=>{o+=1,r[t]=e,a()})).catch((e=>{o+=1,r[t]=e,i=!0,a()}))}))}))}function r(e,t){let n=!1;return{promise:new Promise(((t,o)=>{e.then((e=>!n&&t(e)),(e=>!n&&o(e)))})),cancel(){n=!0,t&&t()}}}function i(e,t){return new Promise((function(n,o){e.then(n,o),setTimeout((function(){o(Error("promise:timeout"))}),t)}))}n.d(t,{Vs:()=>i,jK:()=>o,uZ:()=>r})},73815:(e,t,n)=>{"use strict";function o(){let e=1;return void 0!==window.devicePixelRatio&&(e=window.devicePixelRatio),e}n.d(t,{L:()=>o})},75669:(e,t,n)=>{"use strict";n.d(t,{Ag:()=>d,Mg:()=>v,az:()=>l,h4:()=>c,kv:()=>u,o0:()=>p,sw:()=>s});var o=n(82481),r=n(95651),i=n(64377),a=n.n(i);function s(e,t,n,r){const i=e.set("rotation",t);if(n&&r){const t=l(i).boundingBox;if(!new o.UL({left:0,top:0,width:n.width,height:n.height}).isRectInside(t))return e}return i}function l(e){const{boundingBox:t,rotation:n}=e,{width:r,height:i}=t;if(!p(e))return e;const a=new o.E9({x:-r/2,y:-i/2}),s=new o.E9({x:r/2,y:-i/2}),l=new o.E9({x:r/2,y:i/2}),c=new o.E9({x:-r/2,y:i/2}),u=a.rotate(n),d=s.rotate(n),f=l.rotate(n),h=c.rotate(n),m=Math.min(u.x,d.x,f.x,h.x),g=Math.min(u.y,d.y,f.y,h.y),v=Math.max(u.x,d.x,f.x,h.x),y=Math.max(u.y,d.y,f.y,h.y),b=t.getCenter();return e.set("boundingBox",new o.UL({left:b.x+m,top:b.y+g,width:v-m,height:y-g}))}function c(e,t){if(p(e)){const n=t||function(e,t){if(void 0===t||0===t)return e.getSize();const n=Math.floor(t/360);-1===Math.sign(t)&&(t+=360+360*n);let r=(t-=360*n)%180;const i=r>=90,a=i?e.height:e.width,s=i?e.width:e.height;if(r%=90,45===r){if(a!==s){const e=Math.min(a,s);return new o.$u({width:Math.sqrt(2)*e,height:Math.sqrt(2)*e})}return new o.$u({width:Math.sqrt(2)*a,height:Math.sqrt(2)*s})}const l=r*(Math.PI/180);return new o.$u({width:(a*Math.cos(l)-s*Math.sin(l))/Math.cos(2*l),height:(s*Math.cos(l)-a*Math.sin(l))/Math.cos(2*l)})}(e.boundingBox,e.rotation);return e.set("boundingBox",new o.UL({left:e.boundingBox.left+(e.boundingBox.width-n.width)/2,top:e.boundingBox.top+(e.boundingBox.height-n.height)/2,width:n.width,height:n.height}))}return e}function u(e){return"number"==typeof e.rotation&&e.rotation%360!=0}function d(e){return"number"==typeof e.rotation&&Math.abs(e.rotation)%90==0&&Math.abs(e.rotation)%360!=0}function p(e){return(0,r.a$)(e)&&u(e)}let f,h,m,g;function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"grab";if(f||(f=new DOMParser,h=f.parseFromString(a(),"image/svg+xml"),m=h.querySelector("svg"),g=new XMLSerializer),m&&(m.style.transform=`rotate(${-e}deg)`),g){return`url("${`data:image/svg+xml;utf8,${encodeURIComponent(g.serializeToString(h))}`}") 15 15, ${t}`}return t}},18803:(e,t,n)=>{"use strict";n.d(t,{Q:()=>b,U2:()=>w,ZJ:()=>m,a7:()=>h,mB:()=>y});var o=n(35369),r=n(50974),i=n(27515),a=n(4757),s=n(19815),l=n(82481),c=n(36095),u=n(34710),d=n(72584),p=n(76413),f=n.n(p);function h(e){var t,n;const{document:o}=e;if(c.TL){var i;const{activeElement:t,body:n}=o,a=t&&1===t.nodeType&&t!==n;if(null!==(i=e.getSelection())&&void 0!==i&&i.isCollapsed&&!a)return;const s=o.createElement("input");return s.style.position="fixed",s.style.left="50vw",s.style.top="50vh",s.readOnly=!0,(0,r.kG)(o.documentElement,"no document object found"),o.documentElement.appendChild(s),s.focus(),s.blur(),void s.remove()}var a;if(null!==(t=e.getSelection())&&void 0!==t&&t.empty)null===(a=e.getSelection())||void 0===a||a.empty();else if(null!==(n=e.getSelection())&&void 0!==n&&n.removeAllRanges){var s;null===(s=e.getSelection())||void 0===s||s.removeAllRanges()}}function m(e,t){const{startTextLineId:n,endTextLineId:i,startPageIndex:a,endPageIndex:s}=t.startAndEndIds();return(0,o.D5)(e.pages.filter((e=>e.textLines&&e.pageIndex>=a&&e.pageIndex<=s)).map((e=>{const t=e.textLines;let o;return e.pageIndex===a&&e.pageIndex===s?o=t.filter((e=>((0,r.kG)((0,d.hj)(e.id)),e.id>=n&&e.id<=i))):e.pageIndex===a?o=t.filter((e=>((0,r.kG)((0,d.hj)(e.id)),e.id>=n))):e.pageIndex===s?o=t.filter((e=>((0,r.kG)((0,d.hj)(e.id)),e.id<=i))):((0,r.kG)(e.textLines),o=e.textLines),[e.pageIndex,o]})))}const g=(e,t,n,o)=>{var i;(0,r.kG)((0,d.hj)(t.pageIndex));const a={transform:n&&n.scaleX>0&&n.scaleY>0?`scale(${n.scaleX*e.viewportState.zoomLevel}, ${n.scaleY*e.viewportState.zoomLevel})`:""};return new u.f(null===(i=e.frameWindow)||void 0===i?void 0:i.document,o,a,f().line)},v=(e,t,n)=>{const o=e.pages.get(t);(0,r.kG)(o&&o.textLines,"Page not found or page has no text lines");const i=o.textLines.find((e=>e.id===n));return(0,r.kG)(i,"TextLine not found"),i};function y(e,t){const{startTextLineId:n,endTextLineId:i,startPageIndex:l,endPageIndex:c}=t.startAndEndIds(),u=e.pages.get(l);(0,r.kG)(u,"Index of start page is out of bounds");const p=e.pages.get(c);if((0,r.kG)(p,"Index of end page is out of bounds"),n===i&&l===c){const i=v(e,l,n);(0,r.kG)((0,d.hj)(i.id));const c=u.textLineScales&&u.textLineScales.get(i.id),p=(0,a.LD)((0,s.HI)(e),i),f=p.substring(0,t.startOffset),h=p.substring(t.startOffset,t.endOffset),m=p.substring(t.endOffset),y=g(e,i,c,(0,o.aV)([f,h,m])),b=y.measure().get(1);(0,r.kG)(b);const w=b.scale(1/e.viewportState.zoomLevel).translate(i.boundingBox.getLocation());return y.remove(),{startRect:w,endRect:w}}{const f=v(e,l,n),h=v(e,c,i);(0,r.kG)((0,d.hj)(f.id)),(0,r.kG)((0,d.hj)(h.id));const m=u.textLineScales&&u.textLineScales.get(f.id),y=p.textLineScales&&p.textLineScales.get(h.id),b=(0,a.LD)((0,s.HI)(e),f),w=b.substring(0,t.startOffset),S=b.substring(t.startOffset),E=(0,a.LD)((0,s.HI)(e),h),P=E.substring(0,t.endOffset),x=E.substring(t.endOffset),D=g(e,f,m,(0,o.aV)([w,S])),C=g(e,h,y,(0,o.aV)([P,x])),k=D.measure().last();(0,r.kG)(k);const A=k.scale(1/e.viewportState.zoomLevel).translate(f.boundingBox.getLocation()),O=C.measure().first();(0,r.kG)(O);const T=O.scale(1/e.viewportState.zoomLevel).translate(h.boundingBox.getLocation());return D.remove(),C.remove(),{startRect:A,endRect:T}}}function b(e,t){const{startTextLineId:n,endTextLineId:o,startPageIndex:i,endPageIndex:a,textRange:s}=t;(0,r.kG)((0,d.hj)(i));const l=e.pages.get(i);(0,r.kG)((0,d.hj)(a)),(0,r.kG)(l,"Index of start page is out of bounds");const c=e.pages.get(a);if((0,r.kG)(c,"Index of end page is out of bounds"),(0,r.kG)(s&&(0,d.hj)(n)&&(0,d.hj)(o)),n===o&&i===a){return v(e,i,n).contents.substring(s.startOffset,s.endOffset)}{const t=v(e,i,n),r=v(e,a,o),l=t.contents.substring(s.startOffset),c=r.contents.substring(0,s.endOffset);return m(e,s).map(((e,t)=>e.map((e=>e.id==n&&t==i?l:e.id==o&&t==a?c:e.contents)))).valueSeq().flatten(!0).join("\n")}}function w(e,t){const{startTextLineId:n,endTextLineId:o,startPageIndex:r,endPageIndex:a}=t.startAndEndIds(),{startRect:s,endRect:c}=y(e,t),u=m(e,t).map(((t,l)=>t.map((t=>{let u;u=t.id==n&&l==r?s:t.id==o&&l==a?c:t.boundingBox;const d=(0,i.cr)(e.viewportState,l).translate(e.viewportState.scrollPosition.scale(e.viewportState.zoomLevel));return u.apply(d)})))).valueSeq().flatten(!0).toList();return l.UL.union(u)}},41952:(e,t,n)=>{"use strict";n.d(t,{K:()=>r,q:()=>i});var o=n(97528);const r=e=>{const{SELECTION_OUTLINE_PADDING:t}=o.Ei;return t(e)},i=(e,t)=>e.grow(r(t))},3026:(e,t,n)=>{"use strict";n.d(t,{CW:()=>v,Hx:()=>y,Hz:()=>P,Pr:()=>h,R4:()=>b,rr:()=>w,sS:()=>f});var o=n(35369),r=n(50974),i=n(82481),a=n(18146),s=n(26467),l=n(20792),c=n(91859),u=n(95651);const d=(e,t)=>e-t,p=(e,t)=>{const n=t.reduce(((t,n,o,r)=>{var i,a;const s={x:t.x.concat([n.x]),y:t.y.concat([n.y])},l=r.get(o+1)||r.get(o-1)||n,c=l.x-n.x,u=l.y-n.y;if(0===c&&0===u)return s;const d=Math.sqrt(c**2+u**2),p=(0===o?"lineCaps"in e&&null!==(i=e.lineCaps)&&void 0!==i&&i.start?2.5*e.strokeWidth:e.strokeWidth/2:o===r.size-1&&"lineCaps"in e&&null!==(a=e.lineCaps)&&void 0!==a&&a.end?2.5*e.strokeWidth:e.strokeWidth/2)/d;return{x:s.x.concat([n.x-p*u,n.x+p*u]),y:s.y.concat([n.y-p*c,n.y+p*c])}}),{x:[],y:[]}),[o,...r]=n.x.sort(d),i=r.slice(-1)[0]||o,[a,...s]=n.y.sort(d);return{minX:o,maxX:i,minY:a,maxY:s.slice(-1)[0]||a}};function f(e){switch(e){case i.o9:return e=>{(0,r.kG)(e instanceof i.o9,"Expected `lineAnnotation` to be an instance of `LineAnnotation`");const{minX:t,maxX:n,minY:a,maxY:s}=p(e,(0,o.aV)([e.startPoint,e.endPoint]));return new i.UL({width:n-t+2*e.strokeWidth,height:s-a+2*e.strokeWidth,top:a-e.strokeWidth,left:t-e.strokeWidth})};case i.b3:case i.Xs:case a.Z:return e=>e.boundingBox;case i.Hi:case i.om:return e=>{if((0,r.kG)(e instanceof i.om||e instanceof i.Hi,"Expected `polyshapeAnnotation` to be an instance of `PolylineAnnotation` or `PolygonAnnotation`"),0===e.points.size)return e.boundingBox;const{minX:t,maxX:n,minY:o,maxY:a}=p(e,e.points),s="cloudyBorderIntensity"in e&&e.cloudyBorderIntensity?e.cloudyBorderIntensity*c.St:0;return new i.UL({width:n-t+2*e.strokeWidth+2*s,height:a-o+2*e.strokeWidth+2*s,top:o-e.strokeWidth-s,left:t-e.strokeWidth-s})};case i.gd:return e=>{if((0,u.Vc)(e)){(0,r.kG)(e instanceof i.gd,"Expected `annotation` to be a `TextAnnotation`");const{callout:t}=e;(0,r.kG)(t,"Expected `callout` to be defined");const{innerRectInset:n,knee:o,start:a,end:s}=t;(0,r.kG)(n&&a&&s,"Expected `innerRectInset`, `start` and `end` to be defined");const l=Math.min(e.boundingBox.left+n.left,a.x,s.x,o?o.x:1/0),c=Math.min(e.boundingBox.top+n.top,a.y,s.y,o?o.y:1/0),u=Math.max(e.boundingBox.left+e.boundingBox.width-n.right,a.x,s.x,o?o.x:-1/0),d=Math.max(e.boundingBox.top+e.boundingBox.height-n.bottom,a.y,s.y,o?o.y:-1/0),p=4*(e.borderWidth||2);let f=h(a,new i.UL({left:l,top:c,width:u-l,height:d-c}),p);return o&&(f=h(o,f,p)),f}return e.boundingBox}}throw new r.p2("Expected `getBoundingBoxCalculator` to be called with a valid shape annotation type class value.")}function h(e,t,n){const o=t.left===e.x,r=t.left+t.width===e.x,a=t.top===e.y,s=t.top+t.height===e.y;return new i.UL({left:o?t.left-n:t.left,top:a?t.top-n:t.top,width:o||r?t.width+n:t.width,height:a||s?t.height+n:t.height})}const m=(e,t)=>new i.E9({x:e.x+t.weightedStrokeWidthLineRatio*t.xOffset,y:e.y+t.weightedStrokeWidthLineRatio*t.yOffset}),g={xOffset:0,yOffset:0,weightedStrokeWidthLineRatio:0};function v(e,t,n){if(null===n)return e;const r=n.start,a=n.end,l=r?s.O[r].width:0,c=a?s.O[a].width:0;if(e.size<2||!l&&!c)return e;const u=e.get(0),d=e.get(e.size-1);if(!(u instanceof i.E9&&d instanceof i.E9))return e;const p=r?(()=>{const n=u,o=e.get(1)||n;if(!(o instanceof i.E9))return g;const r=o.x-n.x,a=o.y-n.y;return{xOffset:r,yOffset:a,weightedStrokeWidthLineRatio:0!==r||0!==a?l*t/Math.sqrt(r**2+a**2):0}})():g,f=a&&e.get(e.size-2)instanceof i.E9?(()=>{const n=d,o=e.get(e.size-2)||n,r=-(n.x-o.x),i=-(n.y-o.y);return{xOffset:r,yOffset:i,weightedStrokeWidthLineRatio:0!==r||0!==i?c*t/Math.sqrt(r**2+i**2):0}})():g;return e.size>2||!r||!a?e.map(((t,n)=>0===n?p.weightedStrokeWidthLineRatio<=1?m(t,p):t:n===e.size-1&&f.weightedStrokeWidthLineRatio<=1?m(t,f):t)):p.weightedStrokeWidthLineRatio+f.weightedStrokeWidthLineRatio<=1?(0,o.aV)([m(u,p),m(d,f)]):e}function y(e){return e instanceof i.b3||e instanceof i.Xs?e.delete("boundingBox"):e instanceof i.Hi||e instanceof i.om?e.delete("boundingBox").delete("points"):e instanceof i.o9?e.delete("boundingBox").delete("startPoint").delete("endPoint"):e}function b(e){switch(e){case i.o9:return l.A.SHAPE_LINE;case i.b3:return l.A.SHAPE_RECTANGLE;case i.Xs:return l.A.SHAPE_ELLIPSE;case i.om:return l.A.SHAPE_POLYLINE;case i.Hi:return l.A.SHAPE_POLYGON;default:return null}}function w(e){let{points:t,intensity:n,arcRadius:o=c.St*n}=e;const r=t.reduce(((e,n,r)=>{const i=r===t.length-1?t[0]:t[r+1];if(C(n,i,.01))return e;const a=D(n,i),s=Math.floor(a/(1.75*o));if(a>=a/(s+1)){const t=s+1,o=(i[0]-n[0])/t,r=(i[1]-n[1])/t;e.push(...Array.from({length:t},((e,t)=>[n[0]+o*t,n[1]+r*t])))}return e}),[]),i=x(t),a=i?"1":"0",s="1"===a?"0":"1",l=i?-.3:.3;return r.reduce(((e,t,n)=>{const c=r[n>0?n-1:r.length-1];if(C(t,c))return e;let u=r[(n+1)%r.length],d=n+1;for(;C(t,u);){if(d%r.length===n)return[];u=r[(1+ ++d)%r.length]}let p=k(t,c,o,i),f=k(t,u,o,!i);if(isNaN(p)&&isNaN(f))return e.push(`${u[0]} ${u[1]}`),e;isNaN(p)&&(p=f+Math.PI),isNaN(f)&&(f=p+Math.PI),f+=l;const h=i?f>p?p+(S-f)>Math.PI?"1":"0":p-f>Math.PI?"1":"0":f>p?p+(S-f)>Math.PI?"0":"1":p-f>Math.PI?"0":"1",m=[t[0]+Math.cos(p)*o,t[1]-Math.sin(p)*o],g=[t[0]+Math.cos(f)*o,t[1]-Math.sin(f)*o];return e.push(0===e.length?`M ${m[0]} ${m[1]} A ${o} ${o} 0 ${h} ${a} ${g[0]} ${g[1]}`:` A ${o} ${o} 0 0 ${s} ${m[0]} ${m[1]} A ${o} ${o} 0 ${h} ${a} ${g[0]} ${g[1]}`),e}),[]).join(" ")}const S=2*Math.PI,E=S/360;function P(e){let{boundingBox:t,cloudyBorderIntensity:n,cloudyBorderInset:o}=e;const r=o instanceof i.eB?i.eB.applyToRect(o,t):t,a=t.width/2,s=t.height/2;if(0===a||0===s)return"";const l=Math.min(a,s,c.St*n),u=r.width/2,d=r.height/2,p=r.left+u,f=r.top+d,h=Array.from({length:360},((e,t)=>{const n=E*t;return[p+u*Math.cos(n),f+d*Math.sin(n)]})),m=h.length;let g=1.75*l;const v=A(h),y=v/g;g+=y>0?v%g/y:0;let b=0;const w=h.reduce(((e,t,n)=>{const o=h[(n+1)%m],r=D(t,o)/g,i=(o[0]-t[0])/r,a=(o[1]-t[1])/r,s=i/g*b,l=a/g*b;let c=t[0]+s,u=t[1]+l;for(;(i<=0&&c>=o[0]||i>=0&&c<=o[0])&&(a<=0&&u>=o[1]||a>=0&&u<=o[1]);)e.push([c,u]),c+=i,u+=a;return b=Math.abs(o[0]-c)*(g/Math.abs(i)),e}),[]),P=w.length;return 0===P?"":w.reduce(((e,t,n)=>{const o=w[n>0?n-1:P-1],r=w[(n+1)%P];let i=k(t,o,l,!0),a=k(t,r,l,!1);if(isNaN(i)&&isNaN(a))return e.push(`${r[0]} ${r[1]}`),e;isNaN(i)&&(i=a+Math.PI),isNaN(a)&&(a=i+Math.PI),a-=.3;const s=a>i?i+(S-a)>Math.PI?"1":"0":i-a>Math.PI?"1":"0",c=[t[0]+Math.cos(i)*l,t[1]-Math.sin(i)*l],u=[t[0]+Math.cos(a)*l,t[1]-Math.sin(a)*l];return e.push(0===e.length?`M ${c[0]} ${c[1]} A ${l} ${l} 0 ${s} 1 ${u[0]} ${u[1]}`:`A ${l} ${l} 0 0 0 ${c[0]} ${c[1]} A ${l} ${l} 0 ${s} 1 ${u[0]} ${u[1]}`),e}),[]).join(" ")}const x=e=>e.reduce(((t,n,o)=>o0,D=(e,t)=>{const n=t[0]-e[0],o=t[1]-e[1];return e[0]===t[0]?Math.abs(o):e[1]===t[1]?Math.abs(n):Math.sqrt(n**2+o**2)},C=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.001;return Math.abs(e[0]-t[0])<=n&&Math.abs(e[1]-t[1])<=n},k=(e,t,n,o)=>{const r=.5*Math.sqrt((e[0]-t[0])**2+(e[1]-t[1])**2),i=Math.acos(r/n),a=[t[0]-e[0],t[1]-e[1]];let s=Math.atan2(-a[1],a[0]);return s<0&&(s+=S),o?s-i:s+i},A=e=>e.reduce(((t,n,o)=>t+D(n,o{"use strict";function o(e,t,n,o){var r;if((null===(r=e.points)||void 0===r?void 0:r.size)<3)return-1;const i=e.get("points"),a=o||(null==i?void 0:i.get(t));return i.findIndex((e=>{if(e.get("x")===a.get("x")&&e.get("y")===a.get("y"))return!1;return e.distance(a)<=n}))}function r(e,t,n){var o;const r=null===(o=e.get("points"))||void 0===o?void 0:o.get(n);return e.update("points",(e=>e.set(t,r)))}n.d(t,{K:()=>o,d:()=>r})},55961:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var o=n(67366);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.$j)(((t,n)=>null==e?void 0:e(t.reuseState?i(t,t.reuseState):t,n)),null,null,t)}const i=(0,n(30845).Z)(((e,t)=>e.withMutations((n=>{n.merge(t),n.set("pages",e.pages.map((e=>{const n=e.pageKey,o=t.pages.find((e=>e.pageKey===n));return o&&o?e.set("annotationIds",o.annotationIds):e})))}))))},72584:(e,t,n)=>{"use strict";n.d(t,{F6:()=>c,HD:()=>d,LE:()=>a,Oe:()=>i,QE:()=>l,aF:()=>f,hj:()=>p,zW:()=>u});var o=n(37529),r=n.n(o);function i(e){return e.charAt(0)&&e.charAt(0).toUpperCase()+e.slice(1)}function a(e){return e.charAt(0).toLowerCase()+e.substr(1)}const s=e=>e[0]===r().INSERT;function l(e,t,n){var o,i;const a=r()(e,t,n);let l="";const c=a.filter(s);return c.length>0&&(l=c[0][1]),{prev:e,next:t,change:l,diff:a,endCursorPosition:n+((null===(o=a[1])||void 0===o||null===(i=o[1])||void 0===i?void 0:i.length)||0)}}function c(e,t){if(t===e.change)return e.next;const{diff:n}=e,o=n.findIndex(s);return o>=0?n[o][1]=t:n.push([r().INSERT,t]),function(e){let t="";for(let n=0;nt?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():e.toLowerCase())).join("")}function d(e){return"string"==typeof e}function p(e){return"number"==typeof e}function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:120;const n=e.trim();return n.length{"use strict";n.d(t,{BK:()=>u,KY:()=>c,Vq:()=>d,in:()=>l,kC:()=>s});var o=n(50974),r=n(25256),i=n(82481),a=n(3026);function s(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e){return e.split(/[^a-zA-Z0-9]/g).reduce(((e,t)=>e+s(t)),"")}function c(e){const t=document.createElement("div");return t.innerHTML=e,t.textContent||""}function u(e){return"#00000000"===e?void 0:e}function d(e){let{rect:t,callout:n,zoomLevel:s,annotation:l,text:c=l.text}=e;const{height:u,width:d}=t,p=l.boundingBox.scale(s);if(null==n||!n.innerRectInset||!d||!u)return;const f=n.innerRectInset.setScale(s),h=p.left+f.left,m=p.left+f.left+d,g=p.top+f.top,v=p.top+f.top+u,y=(l.borderWidth||2)/2,b=(0,r.dY)([[h+y,g+y],[m-y,g+y],[m-y,v-y],[h+y,v-y]]),w=n.knee||n.start;(0,o.kG)(w,"CalloutEditComponent: point is undefined");const S=(0,r.Zt)(w.scale(s),b);(0,o.kG)(n.start);let E=i.UL.fromPoints(...[[h,g],[m,g],[m,v],[h,v]].map((e=>new i.E9({x:e[0],y:e[1]})))).expandToIncludePoints(...[n.start,n.knee].filter(Boolean).map((e=>null==e?void 0:e.scale(s))));E=(0,a.Pr)(n.start.scale(s),E,4*(l.borderWidth||2)),n.knee&&(E=(0,a.Pr)(n.knee.scale(s),E,l.borderWidth||2));const P=S.scale(1/s);return l.setIn(["callout","end"],P).setIn(["callout","innerRectInset"],new i.eB({bottom:(E.top+E.height-v)/s,left:(h-E.left)/s,right:(E.left+E.width-m)/s,top:(g-E.top)/s})).set("text",c).set("boundingBox",E.scale(1/s))}},78233:(e,t,n)=>{"use strict";n.d(t,{MF:()=>h,XA:()=>f,Zv:()=>m,gB:()=>b,hm:()=>w,hr:()=>y,z1:()=>g});var o=n(84121),r=n(50974),i=n(4054),a=n(82481),s=n(34710),l=n(91859),c=n(97528),u=n(75669);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function p(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:1;if(!1===c.Ei.TEXT_ANNOTATION_AUTOFIT_TEXT_ON_EXPORT)return e.set("isFitting",!1);try{t=(0,i.Aw)(),n=new s.f(document,e.text.value,g(e.set("rotation",0),o,!1));const r=!(0,i.f)(n.wrapper);return e.set("isFitting",r)}finally{n&&n.remove(),t&&t.remove()}}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;for(e=f(e,t);!e.isFitting&&e.fontSize>=2;)e=f(e=e.set("fontSize",e.fontSize-1),t);return e}function m(e,t){let n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;try{const r=t.width-e.boundingBox.left,i=t.height-e.boundingBox.top;n=new s.f(document,e.text.value,p(p({},g(e,o,!1)),{},{width:"auto",height:"auto",maxWidth:`${Math.ceil(r*o)}px`,maxHeight:`${Math.ceil(i*o)}px`,padding:"0px",margin:"0px",overflow:"visible"}));const{width:a,height:l}=n.wrapper.getBoundingClientRect(),c=Math.max(a,n.wrapper.clientWidth,n.wrapper.scrollWidth),u=Math.max(l,n.wrapper.clientHeight,n.wrapper.scrollHeight);return e.set("boundingBox",e.boundingBox.set("width",Math.ceil(c/o)).set("height",Math.ceil(u/o)))}finally{n&&n.remove()}}function g(e,t,n){const o=p(p({width:Math.ceil(e.boundingBox.width*t),height:Math.ceil(e.boundingBox.height*t),color:e.fontColor?e.fontColor.toCSSValue():"transparent",backgroundColor:e.backgroundColor&&!n?e.backgroundColor.toCSSValue():"transparent",fontSize:e.fontSize*t+"px",fontFamily:`${w(e.font)}, sans-serif`,textAlign:e.horizontalAlign},n?null:{opacity:e.opacity}),{},{fontWeight:e.isBold?"bold":"normal",fontStyle:e.isItalic?"italic":"normal",whiteSpace:"pre-wrap",wordBreak:"break-word",overflow:"hidden",lineHeight:"number"==typeof e.lineHeightFactor?e.lineHeightFactor*t*e.fontSize+"px":"normal",flexDirection:"column",justifyContent:v(e.verticalAlign),display:"flex"});return(0,u.kv)(e)&&!n&&(o.transformOrigin="50% 50%",o.transform=`rotate(${String(-e.rotation)}deg)`),o}function v(e){switch(e){case"top":return"flex-start";case"center":return"center";case"bottom":return"flex-end";default:return(0,r.Rz)(e)}}function y(e){return"string"==typeof e?e.split("\r\n").join("\n").split("\r").join("\n"):e}function b(e,t){let n;switch(t){case 0:n=new a.UL({left:e.x,top:e.y,width:l.g3,height:l.rm});break;case 90:n=new a.UL({left:e.x,top:e.y-l.rm,width:l.g3,height:l.rm});break;case 180:n=new a.UL({left:e.x-l.g3,top:e.y-l.rm,width:l.g3,height:l.rm});break;case 270:n=new a.UL({left:e.x-l.g3,top:e.y,width:l.g3,height:l.rm});break;default:throw(0,r.Rz)(t)}return n}function w(e){return/^[-_a-zA-Z0-9\\xA0-\\u{10FFFF}]*$/.test(e)?e:`"${e}"`}},4757:(e,t,n)=>{"use strict";n.d(t,{LD:()=>u,TH:()=>l,uv:()=>c});var o=n(35369),r=n(82481),i=n(33320),a=n(36095),s=n(93572);function l(e,t){return(0,o.aV)(e.textLines.map(((e,n)=>new r.bi({id:n+1,contents:e.contents,pageIndex:t,boundingBox:new r.UL({top:e.top,left:e.left,height:e.height,width:e.width})}))))}function c(e,t,n){let a=n;const l=[],c=[],u={};let d="",p=(0,i.C)();return function e(n,o){n&&n.forEach((n=>{if(n.bbox){a+=1;const e=new r.bi({id:a,contents:n.element.text,pageIndex:t,contentTreeElementMetadata:o,boundingBox:(0,s.k)(n.bbox)});(null==o?void 0:o.pdfua_type)===d&&r.UL.areRectsCloserThan(e.boundingBox,u[p][u[p].length-1].boundingBox,.6*e.boundingBox.height)?u[p]&&u[p].length>0?u[p].push(e):u[p]=[e]:(d=(null==o?void 0:o.pdfua_type)||"",p=(0,i.C)(),u[p]=[e]),l.push(e)}if(n.children){const t={pdfua_type:n.pdfua_type,type:n.type,alt:n.alt};e(n.children,t)}}))}(e,null),a=n,Object.keys(u).forEach((e=>{let n="";const i=[];let s={pdfua_type:"",type:"",alt:""};for(let t=0;t{"use strict";n.d(t,{Bx:()=>d,PK:()=>u,rf:()=>p});var o=n(84121),r=n(82481),i=n(18803),a=n(95651),s=n(97413);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function c(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2];return p(e).map((o=>{let{pageIndex:i,rects:s}=o;return new t(c(c({},(0,a.lx)(e)),{},{pageIndex:i,boundingBox:r.UL.union(s),rects:s,isCommentThreadRoot:n}))}))}function d(e,t,n){return p(e).map((o=>{let{pageIndex:i,rects:s}=o;const l=t.get(i);return null==l?new n(c(c({},(0,a.lx)(e)),{},{pageIndex:i,boundingBox:r.UL.union(s),rects:s})):l.withMutations((e=>e.set("boundingBox",r.UL.union(s)).set("rects",s)))}))}function p(e){(0,s.k)(e.currentTextSelection,"Cannot create markup annotation without text selection.");const{textRange:t,startTextLineId:n,endTextLineId:o,startPageIndex:r,endPageIndex:a}=e.currentTextSelection;(0,s.k)(t);const{startRect:l,endRect:c}=(0,i.mB)(e,t);return(0,i.ZJ)(e,t).map(((t,i)=>{const u=e.pages.get(i);(0,s.k)(u);const d=t.map((e=>e.id==n&&i==r?l:e.id==o&&i==a?c:e.boundingBox));return{pageIndex:u.pageIndex,rects:d}})).valueSeq().toList()}},94385:(e,t,n)=>{"use strict";function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=null,r=null;return function(){const i=this;for(var a=arguments.length,s=new Array(a),l=0;l{o=null,r&&n&&(e.apply(i,r),r=null,o=setTimeout(a,t))};o=setTimeout(a,t)}}}n.d(t,{Z:()=>o})},77528:(e,t,n)=>{"use strict";n.d(t,{CN:()=>h,DQ:()=>c,FO:()=>v,I4:()=>g,KT:()=>b,Kt:()=>m,Li:()=>y,Ut:()=>u,hJ:()=>d,q1:()=>s,se:()=>l});var o=n(35369),r=n(19815),i=n(62164),a=n(20792);function s(e,t,n){return e.filter((e=>{const o=e.get("type");if(t[o]&&t[o].forceHide)return!1;let r=e.get("mediaQueries");if(!r){if(f(e))return!0;const n=t[o].mediaQueries;if(!n)return!0;r=n}const i=null==n?void 0:n.matchMedia(r.join(", "));return null==i?void 0:i.matches}))}function l(e,t){return e.map((e=>{const n=e.get("mediaQueries");if(!n){if(f(e))return;const n=(t[e.get("type")]||{}).mediaQueries;return n?(0,o.aV)(n):void 0}return n})).filter(Boolean).flatten().filter((e=>"all"!==e)).toSet().toArray()}function c(e,t){return e=e.map((e=>{const n=e.get("type"),r=t[n]||{},{id:i,className:a,icon:s,title:l,selected:c,disabled:u,responsiveGroup:d,onPress:p,dropdownGroup:f,preset:h,node:m}=e.toJS(),g="custom"===n,v={id:i||n,type:r.type||n,title:l||r.title,icon:s||r.icon,className:[r.className,a].filter(Boolean).join(" "),selected:g?c:r.selected,disabled:!0===u?u:r.disabled,onPress:g?p:r.onPress,onKeyPress:g?void 0:r.onKeyPress,responsiveGroup:d||r.responsiveGroup,dropdownGroup:void 0!==f?f:r.dropdownGroup,preset:h||r.preset};return m&&(v.node=m),(0,o.D5)(v)}))}function u(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0;return e.filter((o=>{const r=o.get("responsiveGroup");return r&&void 0!==p(e,r)?!!t&&r===n:!t}))}function d(e){return e.map((t=>{const n=t.get("type"),o=t.get("id");if("responsive-group"==n||"annotate"==n){const n=t.get("selected"),r=!!e.find((e=>e.get("responsiveGroup")==o&&1==e.get("selected")));return t.set("selected",n||r)}return t}))}function p(e,t){return e.find((e=>e.get("id")&&e.get("id")===t))}function f(e){const t=e.get("type");return"custom"===t||"responsive-group"===t}function h(e,t){return t===e}function m(e,t,n){return n===e&&!t}function g(e){let{toolbarItems:t,features:n,backend:o,backendPermissions:a,documentPermissions:s,readOnlyEnabled:l,showComments:c}=e;return t.filter((e=>"document-editor"===e.get("type")||"document-crop"===e.get("type")?(0,r.Xr)({features:n,backendPermissions:a,documentPermissions:s,readOnlyEnabled:l}):"content-editor"===e.get("type")?(0,r.qs)({features:n,backendPermissions:a,documentPermissions:s,readOnlyEnabled:l}):"comment"!==e.get("type")||(0,r.LC)({features:n,backend:o})&&(0,i.oK)({showComments:c,features:n,backend:o})))}const v={[a.A.INK]:["ink","highlighter"],[a.A.SHAPE_LINE]:["line","arrow"],[a.A.INK_ERASER]:"ink-eraser",[a.A.TEXT_HIGHLIGHTER]:"text-highlighter",[a.A.SHAPE_RECTANGLE]:["rectangle","cloudy-rectangle","dashed-rectangle"],[a.A.SHAPE_ELLIPSE]:["ellipse","cloudy-ellipse","dashed-ellipse"],[a.A.SHAPE_POLYGON]:["polygon","cloudy-polygon","dashed-polygon"],[a.A.SHAPE_POLYLINE]:"polyline",[a.A.NOTE]:"note",[a.A.TEXT]:"text",[a.A.CALLOUT]:"callout",[a.A.LINK]:"link",[a.A.MEASUREMENT]:"measurement"};function y(e){const t=Object.entries(v).find((t=>{let[,n]=t;return Array.isArray(n)?n.includes(e):n===e}));return t&&t[0]||null}function b(e){var t;return null===(t=e.find((e=>"delete"===e.type)))||void 0===t?void 0:t.icon}},42911:(e,t,n)=>{"use strict";n.d(t,{Yw:()=>i,bl:()=>l,sX:()=>a});var o=n(36095),r=n(71231);function i(){const e="webkit"===o.SR;let t;e&&(t=window.PointerEvent);const r=window.Hammer;e&&delete window.PointerEvent;const i=n(34988);return e&&(window.PointerEvent=t),window.Hammer=r,i}function a(e){let t;if(e.touches)t=e.touches;else{if(!e.changedTouches)return!1;t=e.changedTouches}return t.length<=1}const s="webkit"===o.SR||"blink"===o.SR;function l(e){if(!s)return()=>{};const t=e=>{a(e)||e.preventDefault()},n=["touchstart","touchmove"],o=r.Gn?{passive:!1}:void 0;return n.forEach((n=>{e.addEventListener(n,t,o),document.addEventListener(n,t,o)})),()=>{n.forEach((n=>{e.removeEventListener(n,t,o),document.removeEventListener(n,t,o)}))}}},27515:(e,t,n)=>{"use strict";n.d(t,{DB:()=>g,EY:()=>x,Ek:()=>m,G4:()=>C,JN:()=>E,YA:()=>w,YS:()=>f,YV:()=>I,_4:()=>y,_P:()=>D,_U:()=>S,a$:()=>b,cr:()=>h,fI:()=>k,oI:()=>O,pA:()=>A,vY:()=>P,vs:()=>v,zi:()=>F,zo:()=>T});var o=n(71693),r=n(52560),i=n(56956),a=n(77973),s=n(88804),l=n(47710),c=n(28098),u=n(91859),d=n(87222),p=n(97413);function f(e,t,n){if((e.scrollMode===l.G.PER_SPREAD||e.scrollMode===l.G.DISABLED)&&t!==e.currentPageIndex)return!1;const o=h(e,t),r=n.apply(o);return e.viewportRect.isRectOverlapping(r)}function h(e,t){var n;if(null!==(n=e._pageToClientTransformation)&&void 0!==n&&n[t])return e._pageToClientTransformation[t];const r=(0,o.dF)(e,t),i=function(e,t){return e.translate(t.viewportRect.getLocation()).translate(t.scrollPosition.scale(-t.zoomLevel))}(y(v(g(s.sl.IDENTITY,e,t,r),e,r),e),e);return e._pageToClientTransformation||(e._pageToClientTransformation={}),e._pageToClientTransformation[t]=i,i}function m(e,t){return h(e,t).inverse()}function g(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const s=t.pageSizes.get(n);switch((0,p.k)(s),0!==t.pagesRotation&&(e=e.rotate(-t.pagesRotation)),t.pagesRotation){case 0:break;case 90:e=e.translateX(s.height*i);break;case 180:e=e.translateX(s.width*i).translateY(s.height*i);break;case 270:e=e.translateY(s.width*i);break;default:throw new Error(`Unsupported pagesRotation: ${t.pagesRotation}. Only supporting: 0, 90, 180, 270.`)}switch((0,o.nw)(t)){case a.X.SINGLE:return(0,p.k)(n===r,"In LayoutMode.SINGLE, pageIndex must equal spreadIndex."),e;case a.X.DOUBLE:{if(t.keepFirstSpreadAsSinglePage&&0==n&&0==r)return e;const a=t.keepFirstSpreadAsSinglePage?1:0,s=(0,o.hK)(t,n),l=(0,o.Xk)(t,r);return e.translateX((n+a)%2?parseInt((l.width-s.width)*i,10):0).translateY(parseInt((l.height-s.height)*i/2,10))}default:throw new Error("Unsupported layoutMode")}}function v(e,t,n){if(t.scrollMode===l.G.CONTINUOUS){const r=(0,o.Xk)(t,n).width,i=(0,o.e8)(t,n);return e.translateX(((0,o.Ad)(t)-r)/2).translateY(i)}return e}function y(e,t){return e.scale(t.zoomLevel).translate(C(t).getLocation())}function b(e,t,n,o){const r=e.set("viewportRect",new s.UL({width:t.width-o,height:t.height,top:t.top,left:t.left}));return T(k(e,r,n))}function w(e,t){const n=e.set("layoutMode",t);return T(k(e,n))}function S(e,t){const n=e.set("scrollMode",t);return T(k(e,n))}function E(e,t){return T(e.set("spreadSpacing",t))}function P(e,t){return T(e.set("pageSpacing",t))}function x(e,t){return T(e.set("keepFirstSpreadAsSinglePage",t))}function D(e,t){return T(e.set("viewportPadding",t))}function C(e){let t;if(e.scrollMode===l.G.CONTINUOUS)t=new s.$u({width:(0,o.Ad)(e),height:(0,o.Of)(e)});else{const n=(0,o.dF)(e,e.currentPageIndex);t=(0,o.Xk)(e,n)}let n=new s.UL({width:t.width,height:t.height}).scale(e.zoomLevel).translate(e.viewportPadding);const r=e.commentMode===d._.SIDEBAR?u.h8:0;e.viewportRect.width-r-2*e.viewportPadding.x>n.width&&(n=n.translateX((e.viewportRect.width-r-2*e.viewportPadding.x-n.width)/2));return e.viewportRect.height-2*e.viewportPadding.y>n.height&&(n=n.translateY((e.viewportRect.height-2*e.viewportPadding.y-n.height)/2)),n}function k(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=(0,o.nw)(e)!==(0,o.nw)(t),a=e.scrollMode!==t.scrollMode;if(!(n||r||a))return t;switch(t.scrollMode){case l.G.PER_SPREAD:case l.G.DISABLED:return t.set("zoomMode",c.c.FIT_TO_VIEWPORT);case l.G.CONTINUOUS:return t=T(t),(0,i.eb)(t,t.currentPageIndex,!0);default:throw new Error("Unsupported scrollMode")}}function A(e,t){return e.zoomLevel!==t.zoomLevel||e.zoomMode!==t.zoomMode||e.layoutMode!==t.layoutMode||e.scrollMode!==t.scrollMode||e.scrollPosition!==t.scrollPosition||e.currentPageIndex!==t.currentPageIndex||e.viewportRect!==t.viewportRect||e.pageSizes!==t.pageSizes||e.pagesRotation!==t.pagesRotation||e.viewportPadding!==t.viewportPadding||e.spreadSpacing!==t.spreadSpacing||e.pageSpacing!==t.pageSpacing||e.keepFirstSpreadAsSinglePage!==t.keepFirstSpreadAsSinglePage}function O(e){return[e.zoomLevel,e.zoomMode,e.layoutMode,e.scrollMode,e.scrollPosition,e.currentPageIndex,e.viewportRect,e.pageSizes,e.pagesRotation,e.viewportPadding,e.spreadSpacing,e.pageSpacing,e.keepFirstSpreadAsSinglePage]}function T(e){return e.zoomMode!==c.c.CUSTOM?e.set("zoomLevel",(0,r.X9)(e,e.zoomMode)):e}function I(e){return function(t,n){return t.apply(F(e(),n))}}function F(e,t){let{viewportState:n,scrollElement:o}=e;if(o){const e=new s.E9({x:o.scrollLeft/n.zoomLevel,y:o.scrollTop/n.zoomLevel});n=n.set("scrollPosition",e)}return m(n,t)}},5020:(e,t,n)=>{"use strict";n.d(t,{Lv:()=>l,U1:()=>a,kI:()=>c,n5:()=>s});var o=n(50974),r=n(27515),i=n(82481);function a(e,t){(0,o.kG)(t%90==0,"Only multiples of 90° allowed for rotation."),t=s(t);const n=e.update("pagesRotation",(e=>(e+t)%360));return(0,r.zo)((0,r.fI)(e,n,!0))}function s(e){return(0,o.kG)(e%90==0,"Only multiples of 90° allowed for rotation."),(360+e%360)%360}function l(e){return(360+Math.round(e)%360)%360}function c(e,t,n){switch(n){case 90:return new i.UL({left:e.top,top:Math.max(0,Math.round(t.height-e.right)),height:e.width,width:e.height});case 180:return e.merge({left:Math.max(0,Math.round(t.width-e.right)),top:Math.max(0,Math.round(t.height-e.bottom))});case 270:return new i.UL({left:Math.max(0,Math.round(t.width-e.bottom)),top:e.left,height:e.width,width:e.height});default:return e}}},56956:(e,t,n)=>{"use strict";n.d(t,{DJ:()=>u,TW:()=>h,eb:()=>d,hu:()=>m,k3:()=>c,kN:()=>p,vP:()=>f});var o=n(71693),r=n(27515),i=n(52560),a=n(88804),s=n(47710),l=n(28098);function c(e,t,n){n||(n=new a.E9({x:.5*e.viewportRect.width,y:.1*e.viewportRect.height})),n=n.translate(e.viewportPadding.scale(-1));const o=t/e.zoomLevel-1;let r=0;const s=(0,i.kh)(e),l=t>s;if(l){r=t/Math.max(e.zoomLevel,s)-1}return new a.E9({x:l?e.scrollPosition.x+n.x*r/t:0,y:e.scrollPosition.y+n.y*o/t})}function u(e,t){const n=h(e);return new a.E9({x:Math.max(0,Math.min(t.x,n.x)),y:Math.max(0,Math.min(t.y,n.y))})}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!n&&e.currentPageIndex==t)return e;if(e.scrollMode==s.G.PER_SPREAD||e.scrollMode===s.G.DISABLED)return(0,i.cq)(e.set("currentPageIndex",t),l.c.FIT_TO_VIEWPORT).set("scrollPosition",new a.E9).set("currentPageIndex",t);{const n=(0,o.dF)(e,t),r=(0,o.e8)(e,n),i=h(e).y,a=Math.min(i,r);return e.set("currentPageIndex",t).setIn(["scrollPosition","y"],a)}}function p(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!o&&(0,r.YS)(e,t,n))return e;const i=(0,r.cr)(e,t),a=n.apply(i),s=e.viewportRect.getCenter(),l=a.getCenter().translate(s.scale(-1)),c=e.scrollPosition.translate(l.scale(1/e.zoomLevel));return e.merge({scrollPosition:u(e,c),currentPageIndex:t})}function f(e,t,n){const{viewportRect:o,viewportPadding:r}=e,a=(o.width-2*r.x)/n.width,s=(o.height-2*r.y)/n.height,l=Math.min(a,s);return p((0,i.cq)(e,l),t,n,!0)}function h(e){const t=(0,r.G4)(e),n=t.left/e.zoomLevel+t.width/e.zoomLevel+e.viewportPadding.x/e.zoomLevel-e.viewportRect.width/e.zoomLevel,o=t.top/e.zoomLevel+t.height/e.zoomLevel+e.viewportPadding.y/e.zoomLevel-e.viewportRect.height/e.zoomLevel;return new a.E9({x:Math.max(0,n),y:Math.max(0,o)})}function m(e,t){return(0,o.Y2)(e.set("scrollPosition",t))}},71693:(e,t,n)=>{"use strict";n.d(t,{Ad:()=>h,Of:()=>m,P1:()=>g,Xk:()=>w,Y2:()=>E,dF:()=>v,e8:()=>f,hK:()=>b,kd:()=>y,nw:()=>d,s:()=>S,wU:()=>x,wX:()=>D});var o=n(35369),r=n(67294),i=n(50974),a=n(77973),s=n(27515),l=n(88804),c=n(47710),u=n(91859);function d(e){if(e.layoutMode===a.X.AUTO){return e.viewportRect.width>e.viewportRect.height&&e.viewportRect.width>u.GI?a.X.DOUBLE:a.X.SINGLE}return e.layoutMode}function p(e){const t=y(e);let n=(0,o.aV)();for(let e=0;ew(e,t))).takeUntil(((e,n)=>n>=t)).reduce(((t,n)=>t+n.height+e.spreadSpacing),0)}function h(e){const t=p(e).map((t=>w(e,t))).maxBy((e=>e.width));return t?t.width:0}function m(e){const t=p(e).map((t=>w(e,t))),n=(t.size-1)*e.spreadSpacing;return t.map((e=>e.height)).reduce(((e,t)=>e+t),0)+n}function g(e,t){switch(d(e)){case a.X.SINGLE:return(0,i.kG)(t=e.pageSizes.size)return 0;switch(d(e)){case a.X.SINGLE:return t;case a.X.DOUBLE:{const n=e.keepFirstSpreadAsSinglePage?1:0;return Math.floor((t+n)/2)}default:throw new Error("Unsupported layoutMode")}}function y(e){switch(d(e)){case a.X.SINGLE:return e.pageSizes.size;case a.X.DOUBLE:{if(e.pageSizes.size<=0)return 0;const t=e.keepFirstSpreadAsSinglePage?1:0;return Math.ceil((e.pageSizes.size+t)/2)}default:throw new Error("Unsupported layoutMode")}}function b(e,t){const n=e.pageSizes.get(t);return(0,i.kG)(n,"No such page size"),90===e.pagesRotation||270===e.pagesRotation?new l.$u({width:n.height,height:n.width}):n}function w(e,t){const n=g(e,t);if(1===n.length)return b(e,n[0]);{let t=0,o=0;for(const r of n){const{width:n,height:i}=b(e,r);t+=n+(0!==r?e.pageSpacing:0),i>o&&(o=i)}return new l.$u({width:t,height:o})}}function S(e){let{width:t}=e;return t<=u.y$?"width-xs":t<=u.Fg?"width-sm":t<=u.GI?"width-md":t<=u.Qq?"width-lg":"width-xl"}function E(e){let t=e.currentPageIndex,n=v(e,e.currentPageIndex);if(e.scrollMode===c.G.CONTINUOUS){const t=[0];let o=0;for(let n=0;nt1){const r=e.scrollPosition.x*e.zoomLevel-e.viewportPadding.x+e.viewportRect.width/2,i=o[1],a=(0,s._4)((0,s.vs)((0,s.DB)(l.sl.IDENTITY,e,i,n),e,n),e);t=(new l.E9).apply(a).x{const t=e.current;return()=>t.clear()})),e.current}(),c=r.useCallback((e=>{a.current.contains(t)&&(e?(l.clear(),l.set((()=>{i(t)}),P)):i(t))}),[t,l,i]);r.useEffect((()=>{l.clear(),a.current=a.current.filter((e=>D(e,t))),c(!1)}),[...(0,s.oI)(e),t,l,c]);return[n,r.useCallback((e=>{a.current=a.current.add(e),c(!0)}),[c])]}function D(e,t){return e>=t-u.J8&&e<=t+u.J8}},52560:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>h,Sm:()=>p,X9:()=>g,Yo:()=>d,cq:()=>v,hT:()=>y,kh:()=>f,vw:()=>m});var o=n(71693),r=n(91859),i=n(56956),a=n(47710),s=n(28098),l=n(97413);let c=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY;function d(e){const t=Math.min(f(e),h(e),e.minDefaultZoomLevel,c);return c>t&&(c=t),t}function p(e){const t=Math.max(f(e),h(e),e.maxDefaultZoomLevel,u);return ui.height?Math.min(t,n):n;return Math.min(a,r.zh)}(e);case s.c.FIT_TO_VIEWPORT:return m(e);case s.c.FIT_TO_WIDTH:return f(e);default:return(0,l.k)("number"==typeof t,"Unknown zoom mode"),t}}function v(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=g(e,t);const a="number"==typeof t?s.c.CUSTOM:t,l=d(e),c=p(e);if(r>=c)if(n.unbounded){const e=b((r-c)/25);r=c*(1+.5*e)}else r=c;else if(r<=l)if(n.unbounded){const e=b(4*(r-l));r=l*(1+.25*e)}else r=l;let u=(0,i.k3)(e,r,n.zoomCenter);return u=(0,i.DJ)(e.set("zoomLevel",r),u),(0,o.Y2)(e.withMutations((e=>e.set("zoomLevel",r).set("scrollPosition",u).set("zoomMode",a))))}function y(e){const{zoomLevel:t}=e,n=d(e);return t>p(e)||t{"use strict";n.d(t,{$Z:()=>g,DI:()=>d,MX:()=>h,n:()=>u,w5:()=>p});var o=n(35369),r=n(50974),i=n(34710),a=n(4054),s=n(23661),l=n.n(s),c=n(16126);const u=2,d=2,p=[1,2,3,4,6,8,9,10,12,14,16,18,20,25,30,35,40,45,50,55,60,70,80,90,100,110,120,130,144],f=p.slice(0,Math.floor(p.length/4));function h(e,t,n,a,s,c,h){if(s&&e&&10===e.charCodeAt(e.length-1)&&(e+="\n"),"auto"!==a)return a||Math.max(4,Math.min(.7*n,12));let g,v;if(h){const e=window.getComputedStyle(h);g=e.getPropertyValue("font-family"),s||(v=e.getPropertyValue("line-height"))}if(s){const a=n-2*u,s=(0,o.aV)([e]),p=m(f,(e=>{const n=function(e){let{valueString:t,fontSize:n,fontFamily:o="inherit",availableWidth:a,element:s}=e;const c=new i.f(document,t,{fontSize:`${n}px`,width:`${a}px`,wordBreak:"break-word",whiteSpace:"pre-wrap",fontFamily:o,lineHeight:`${n}px`,margin:"0",padding:"0",border:"none",textAlign:(null==s?void 0:s.style.textAlign)||"initial"},l().widget,s&&s.parentNode),u=c.measure().first();(0,r.kG)(u);const d=u.height;return c.remove(),d}({valueString:s,fontSize:e,fontFamily:g,availableWidth:t-2*d,element:h});let o=u;const p=a-e;return p-2*u<0&&(o=p>0?p/2:0),n+2*o+2*c>a?0:1}));return p}{const a=(0,o.aV)([e]),s=m(p,(e=>{const o=function(e){let{valueString:t,fontSize:n,fontFamily:o="inherit",lineHeight:a="inherit",element:s}=e;const c=new i.f(document,t,{fontSize:`${n}px`,fontFamily:o,lineHeight:a},l().widget,s&&s.parentNode),u=c.measure().first();(0,r.kG)(u);const d=u.width;return c.remove(),d}({valueString:a,fontSize:e,fontFamily:g,lineHeight:v,element:h});return o>t||e>n?0:1}));return s}}function m(e,t){let n=0,o=e.length-1,r=0,i=e[0];for(;n<=o;)r=Math.floor((n+o)/2),i=e[r],t(i)?n=r+1:o=r-1;return t(i)||(i=e[Math.max(0,r-1)]),i}function g(e,t){let n,o,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;try{return n=(0,a.Aw)(),o=new i.f(document,t,(0,c.i2)(e,r,!1)),!(0,a.f)(o.wrapper)}finally{o&&o.remove(),n&&n.remove()}}},94184:(e,t)=>{var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t{"use strict";n.d(t,{Z:()=>c});var o=n(67294);function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var s=function(e){function t(e){var n,o;return function(e,n){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this),(n=!(o=r(t).call(this,e))||"object"!=typeof o&&"function"!=typeof o?a(this):o).onKeyPress=n.onKeyPress.bind(a(n)),n}var n;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(t,o.Component),(n=[{key:"onKeyPress",value:function(e){var t=this.props,n=t.onClick,o=t.onKeyPress;switch(e.key){case" ":case"Spacebar":e.preventDefault(),n&&o||o?o(e):n&&n(e);break;case"Enter":if(o&&(o(e),e.isDefaultPrevented()))return;n&&n(e)}}},{key:"render",value:function(){var e=this.props,t=e.is,n=void 0===t?"span":t,r=e.innerRef,i=e.onClick,a=e.disabled,s=e.tabIndex,l=void 0===s?0:s,c=function(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["is","innerRef","onClick","disabled","tabIndex","onKeyPress"]);return o.createElement(n,Object.assign({tabIndex:a?void 0:l,role:"button",onKeyPress:a?void 0:this.onKeyPress,onClick:a?void 0:i,"aria-disabled":a?"true":void 0,ref:r},c))}}])&&function(e,t){for(var n=0;n{var o=n(60614),r=n(66330),i=TypeError;e.exports=function(e){if(o(e))return e;throw i(r(e)+" is not a function")}},39483:(e,t,n)=>{var o=n(4411),r=n(66330),i=TypeError;e.exports=function(e){if(o(e))return e;throw i(r(e)+" is not a constructor")}},96077:(e,t,n)=>{var o=n(60614),r=String,i=TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw i("Can't set "+r(e)+" as a prototype")}},51223:(e,t,n)=>{var o=n(5112),r=n(70030),i=n(3070).f,a=o("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:r(null)}),e.exports=function(e){s[a][e]=!0}},31530:(e,t,n)=>{"use strict";var o=n(28710).charAt;e.exports=function(e,t,n){return t+(n?o(e,t).length:1)}},25787:(e,t,n)=>{var o=n(47976),r=TypeError;e.exports=function(e,t){if(o(t,e))return e;throw r("Incorrect invocation")}},19670:(e,t,n)=>{var o=n(70111),r=String,i=TypeError;e.exports=function(e){if(o(e))return e;throw i(r(e)+" is not an object")}},23013:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7556:(e,t,n)=>{var o=n(47293);e.exports=o((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},90260:(e,t,n)=>{"use strict";var o,r,i,a=n(23013),s=n(19781),l=n(17854),c=n(60614),u=n(70111),d=n(92597),p=n(70648),f=n(66330),h=n(68880),m=n(98052),g=n(3070).f,v=n(47976),y=n(79518),b=n(27674),w=n(5112),S=n(69711),E=n(29909),P=E.enforce,x=E.get,D=l.Int8Array,C=D&&D.prototype,k=l.Uint8ClampedArray,A=k&&k.prototype,O=D&&y(D),T=C&&y(C),I=Object.prototype,F=l.TypeError,M=w("toStringTag"),_=S("TYPED_ARRAY_TAG"),R="TypedArrayConstructor",N=a&&!!b&&"Opera"!==p(l.opera),L=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},j={BigInt64Array:8,BigUint64Array:8},z=function(e){var t=y(e);if(u(t)){var n=x(t);return n&&d(n,R)?n.TypedArrayConstructor:z(t)}},K=function(e){if(!u(e))return!1;var t=p(e);return d(B,t)||d(j,t)};for(o in B)(i=(r=l[o])&&r.prototype)?P(i).TypedArrayConstructor=r:N=!1;for(o in j)(i=(r=l[o])&&r.prototype)&&(P(i).TypedArrayConstructor=r);if((!N||!c(O)||O===Function.prototype)&&(O=function(){throw F("Incorrect invocation")},N))for(o in B)l[o]&&b(l[o],O);if((!N||!T||T===I)&&(T=O.prototype,N))for(o in B)l[o]&&b(l[o].prototype,T);if(N&&y(A)!==T&&b(A,T),s&&!d(T,M))for(o in L=!0,g(T,M,{get:function(){return u(this)?this[_]:void 0}}),B)l[o]&&h(l[o],_,o);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:N,TYPED_ARRAY_TAG:L&&_,aTypedArray:function(e){if(K(e))return e;throw F("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!b||v(O,e)))return e;throw F(f(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,o){if(s){if(n)for(var r in B){var i=l[r];if(i&&d(i.prototype,e))try{delete i.prototype[e]}catch(n){try{i.prototype[e]=t}catch(e){}}}T[e]&&!n||m(T,e,n?t:N&&C[e]||t,o)}},exportTypedArrayStaticMethod:function(e,t,n){var o,r;if(s){if(b){if(n)for(o in B)if((r=l[o])&&d(r,e))try{delete r[e]}catch(e){}if(O[e]&&!n)return;try{return m(O,e,n?t:N&&O[e]||t)}catch(e){}}for(o in B)!(r=l[o])||r[e]&&!n||m(r,e,t)}},getTypedArrayConstructor:z,isView:function(e){if(!u(e))return!1;var t=p(e);return"DataView"===t||d(B,t)||d(j,t)},isTypedArray:K,TypedArray:O,TypedArrayPrototype:T}},21285:(e,t,n)=>{"use strict";var o=n(47908),r=n(51400),i=n(26244);e.exports=function(e){for(var t=o(this),n=i(t),a=arguments.length,s=r(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:r(l,n);c>s;)t[s++]=e;return t}},48457:(e,t,n)=>{"use strict";var o=n(49974),r=n(46916),i=n(47908),a=n(53411),s=n(97659),l=n(4411),c=n(26244),u=n(86135),d=n(18554),p=n(71246),f=Array;e.exports=function(e){var t=i(e),n=l(this),h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m;g&&(m=o(m,h>2?arguments[2]:void 0));var v,y,b,w,S,E,P=p(t),x=0;if(!P||this===f&&s(P))for(v=c(t),y=n?new this(v):f(v);v>x;x++)E=g?m(t[x],x):t[x],u(y,x,E);else for(S=(w=d(t,P)).next,y=n?new this:[];!(b=r(S,w)).done;x++)E=g?a(w,m,[b.value,x],!0):b.value,u(y,x,E);return y.length=x,y}},41318:(e,t,n)=>{var o=n(45656),r=n(51400),i=n(26244),a=function(e){return function(t,n,a){var s,l=o(t),c=i(l),u=r(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},42092:(e,t,n)=>{var o=n(49974),r=n(1702),i=n(68361),a=n(47908),s=n(26244),l=n(65417),c=r([].push),u=function(e){var t=1==e,n=2==e,r=3==e,u=4==e,d=6==e,p=7==e,f=5==e||d;return function(h,m,g,v){for(var y,b,w=a(h),S=i(w),E=o(m,g),P=s(S),x=0,D=v||l,C=t?D(h,P):n||p?D(h,0):void 0;P>x;x++)if((f||x in S)&&(b=E(y=S[x],x,w),e))if(t)C[x]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return x;case 2:c(C,y)}else switch(e){case 4:return!1;case 7:c(C,y)}return d?-1:r||u?u:C}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},9341:(e,t,n)=>{"use strict";var o=n(47293);e.exports=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){return 1},1)}))}},41589:(e,t,n)=>{var o=n(51400),r=n(26244),i=n(86135),a=Array,s=Math.max;e.exports=function(e,t,n){for(var l=r(e),c=o(t,l),u=o(void 0===n?l:n,l),d=a(s(u-c,0)),p=0;c{var o=n(1702);e.exports=o([].slice)},94362:(e,t,n)=>{var o=n(41589),r=Math.floor,i=function(e,t){var n=e.length,l=r(n/2);return n<8?a(e,t):s(e,i(o(e,0,l),t),i(o(e,l),t),t)},a=function(e,t){for(var n,o,r=e.length,i=1;i0;)e[o]=e[--o];o!==i++&&(e[o]=n)}return e},s=function(e,t,n,o){for(var r=t.length,i=n.length,a=0,s=0;a{var o=n(43157),r=n(4411),i=n(70111),a=n(5112)("species"),s=Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,(r(t)&&(t===s||o(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},65417:(e,t,n)=>{var o=n(77475);e.exports=function(e,t){return new(o(e))(0===t?0:t)}},53411:(e,t,n)=>{var o=n(19670),r=n(99212);e.exports=function(e,t,n,i){try{return i?t(o(n)[0],n[1]):t(n)}catch(t){r(e,"throw",t)}}},17072:(e,t,n)=>{var o=n(5112)("iterator"),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){r=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i={};i[o]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},84326:(e,t,n)=>{var o=n(1702),r=o({}.toString),i=o("".slice);e.exports=function(e){return i(r(e),8,-1)}},70648:(e,t,n)=>{var o=n(51694),r=n(60614),i=n(84326),a=n(5112)("toStringTag"),s=Object,l="Arguments"==i(function(){return arguments}());e.exports=o?i:function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?i(t):"Object"==(o=i(t))&&r(t.callee)?"Arguments":o}},29320:(e,t,n)=>{"use strict";var o=n(1702),r=n(89190),i=n(62423).getWeakData,a=n(25787),s=n(19670),l=n(68554),c=n(70111),u=n(20408),d=n(42092),p=n(92597),f=n(29909),h=f.set,m=f.getterFor,g=d.find,v=d.findIndex,y=o([].splice),b=0,w=function(e){return e.frozen||(e.frozen=new S)},S=function(){this.entries=[]},E=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};S.prototype={get:function(e){var t=E(this,e);if(t)return t[1]},has:function(e){return!!E(this,e)},set:function(e,t){var n=E(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&y(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var d=e((function(e,r){a(e,f),h(e,{type:t,id:b++,frozen:void 0}),l(r)||u(r,e[o],{that:e,AS_ENTRIES:n})})),f=d.prototype,g=m(t),v=function(e,t,n){var o=g(e),r=i(s(t),!0);return!0===r?w(o).set(t,n):r[o.id]=n,e};return r(f,{delete:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return!0===n?w(t).delete(e):n&&p(n,t.id)&&delete n[t.id]},has:function(e){var t=g(this);if(!c(e))return!1;var n=i(e);return!0===n?w(t).has(e):n&&p(n,t.id)}}),r(f,n?{get:function(e){var t=g(this);if(c(e)){var n=i(e);return!0===n?w(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),d}}},77710:(e,t,n)=>{"use strict";var o=n(82109),r=n(17854),i=n(1702),a=n(54705),s=n(98052),l=n(62423),c=n(20408),u=n(25787),d=n(60614),p=n(68554),f=n(70111),h=n(47293),m=n(17072),g=n(58003),v=n(79587);e.exports=function(e,t,n){var y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),w=y?"set":"add",S=r[e],E=S&&S.prototype,P=S,x={},D=function(e){var t=i(E[e]);s(E,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!f(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return b&&!f(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!f(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!d(S)||!(b||E.forEach&&!h((function(){(new S).entries().next()})))))P=n.getConstructor(t,e,y,w),l.enable();else if(a(e,!0)){var C=new P,k=C[w](b?{}:-0,1)!=C,A=h((function(){C.has(1)})),O=m((function(e){new S(e)})),T=!b&&h((function(){for(var e=new S,t=5;t--;)e[w](t,t);return!e.has(-0)}));O||((P=t((function(e,t){u(e,E);var n=v(new S,e,P);return p(t)||c(t,n[w],{that:n,AS_ENTRIES:y}),n}))).prototype=E,E.constructor=P),(A||T)&&(D("delete"),D("has"),y&&D("get")),(T||k)&&D(w),b&&E.clear&&delete E.clear}return x[e]=P,o({global:!0,constructor:!0,forced:P!=S},x),g(P,e),b||n.setStrong(P,e,y),P}},99920:(e,t,n)=>{var o=n(92597),r=n(53887),i=n(31236),a=n(3070);e.exports=function(e,t,n){for(var s=r(t),l=a.f,c=i.f,u=0;u{var o=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(e){}}return!1}},49920:(e,t,n)=>{var o=n(47293);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},76178:e=>{e.exports=function(e,t){return{value:e,done:t}}},68880:(e,t,n)=>{var o=n(19781),r=n(3070),i=n(79114);e.exports=o?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},79114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},86135:(e,t,n)=>{"use strict";var o=n(34948),r=n(3070),i=n(79114);e.exports=function(e,t,n){var a=o(t);a in e?r.f(e,a,i(0,n)):e[a]=n}},47045:(e,t,n)=>{var o=n(56339),r=n(3070);e.exports=function(e,t,n){return n.get&&o(n.get,t,{getter:!0}),n.set&&o(n.set,t,{setter:!0}),r.f(e,t,n)}},98052:(e,t,n)=>{var o=n(60614),r=n(3070),i=n(56339),a=n(13072);e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(o(n)&&i(n,c,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:r.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},89190:(e,t,n)=>{var o=n(98052);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},13072:(e,t,n)=>{var o=n(17854),r=Object.defineProperty;e.exports=function(e,t){try{r(o,e,{value:t,configurable:!0,writable:!0})}catch(n){o[e]=t}return t}},85117:(e,t,n)=>{"use strict";var o=n(66330),r=TypeError;e.exports=function(e,t){if(!delete e[t])throw r("Cannot delete property "+o(t)+" of "+o(e))}},19781:(e,t,n)=>{var o=n(47293);e.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},80317:(e,t,n)=>{var o=n(17854),r=n(70111),i=o.document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},7207:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},48324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},98509:(e,t,n)=>{var o=n(80317)("span").classList,r=o&&o.constructor&&o.constructor.prototype;e.exports=r===Object.prototype?void 0:r},68886:(e,t,n)=>{var o=n(88113).match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},7871:(e,t,n)=>{var o=n(83823),r=n(35268);e.exports=!o&&!r&&"object"==typeof window&&"object"==typeof document},89363:e=>{e.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},83823:e=>{e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},30256:(e,t,n)=>{var o=n(88113);e.exports=/MSIE|Trident/.test(o)},71528:(e,t,n)=>{var o=n(88113),r=n(17854);e.exports=/ipad|iphone|ipod/i.test(o)&&void 0!==r.Pebble},6833:(e,t,n)=>{var o=n(88113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(o)},35268:(e,t,n)=>{var o=n(84326),r=n(17854);e.exports="process"==o(r.process)},71036:(e,t,n)=>{var o=n(88113);e.exports=/web0s(?!.*chrome)/i.test(o)},88113:(e,t,n)=>{var o=n(35005);e.exports=o("navigator","userAgent")||""},7392:(e,t,n)=>{var o,r,i=n(17854),a=n(88113),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(r=(o=u.split("."))[0]>0&&o[0]<4?1:+(o[0]+o[1])),!r&&a&&(!(o=a.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/))&&(r=+o[1]),e.exports=r},98008:(e,t,n)=>{var o=n(88113).match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},80748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:(e,t,n)=>{var o=n(17854),r=n(31236).f,i=n(68880),a=n(98052),s=n(13072),l=n(99920),c=n(54705);e.exports=function(e,t){var n,u,d,p,f,h=e.target,m=e.global,g=e.stat;if(n=m?o:g?o[h]||s(h,{}):(o[h]||{}).prototype)for(u in t){if(p=t[u],d=e.dontCallGetSet?(f=r(n,u))&&f.value:n[u],!c(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),a(n,u,p,e)}}},47293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},27007:(e,t,n)=>{"use strict";n(74916);var o=n(21470),r=n(98052),i=n(22261),a=n(47293),s=n(5112),l=n(68880),c=s("species"),u=RegExp.prototype;e.exports=function(e,t,n,d){var p=s(e),f=!a((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),h=f&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!f||!h||n){var m=o(/./[p]),g=t(p,""[e],(function(e,t,n,r,a){var s=o(e),l=t.exec;return l===i||l===u.exec?f&&!a?{done:!0,value:m(t,n,r)}:{done:!0,value:s(n,t,r)}:{done:!1}}));r(String.prototype,e,g[0]),r(u,p,g[1])}d&&l(u[p],"sham",!0)}},6790:(e,t,n)=>{"use strict";var o=n(43157),r=n(26244),i=n(7207),a=n(49974),s=function(e,t,n,l,c,u,d,p){for(var f,h,m=c,g=0,v=!!d&&a(d,p);g0&&o(f)?(h=r(f),m=s(e,t,f,h,m,u-1)-1):(i(m+1),e[m]=f),m++),g++;return m};e.exports=s},76677:(e,t,n)=>{var o=n(47293);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},22104:(e,t,n)=>{var o=n(34374),r=Function.prototype,i=r.apply,a=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(o?a.bind(i):function(){return a.apply(i,arguments)})},49974:(e,t,n)=>{var o=n(21470),r=n(19662),i=n(34374),a=o(o.bind);e.exports=function(e,t){return r(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},34374:(e,t,n)=>{var o=n(47293);e.exports=!o((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},46916:(e,t,n)=>{var o=n(34374),r=Function.prototype.call;e.exports=o?r.bind(r):function(){return r.apply(r,arguments)}},76530:(e,t,n)=>{var o=n(19781),r=n(92597),i=Function.prototype,a=o&&Object.getOwnPropertyDescriptor,s=r(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!o||o&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},21470:(e,t,n)=>{var o=n(84326),r=n(1702);e.exports=function(e){if("Function"===o(e))return r(e)}},1702:(e,t,n)=>{var o=n(34374),r=Function.prototype,i=r.call,a=o&&r.bind.bind(i,i);e.exports=o?a:function(e){return function(){return i.apply(e,arguments)}}},35005:(e,t,n)=>{var o=n(17854),r=n(60614),i=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(o[e]):o[e]&&o[e][t]}},71246:(e,t,n)=>{var o=n(70648),r=n(58173),i=n(68554),a=n(97497),s=n(5112)("iterator");e.exports=function(e){if(!i(e))return r(e,s)||r(e,"@@iterator")||a[o(e)]}},18554:(e,t,n)=>{var o=n(46916),r=n(19662),i=n(19670),a=n(66330),s=n(71246),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(r(n))return i(o(n,e));throw l(a(e)+" is not iterable")}},58173:(e,t,n)=>{var o=n(19662),r=n(68554);e.exports=function(e,t){var n=e[t];return r(n)?void 0:o(n)}},10647:(e,t,n)=>{var o=n(1702),r=n(47908),i=Math.floor,a=o("".charAt),s=o("".replace),l=o("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,o,d,p){var f=n+e.length,h=o.length,m=u;return void 0!==d&&(d=r(d),m=c),s(p,m,(function(r,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,f);case"<":c=d[l(s,1,-1)];break;default:var u=+s;if(0===u)return r;if(u>h){var p=i(u/10);return 0===p?r:p<=h?void 0===o[p-1]?a(s,1):o[p-1]+a(s,1):r}c=o[u-1]}return void 0===c?"":c}))}},17854:(e,t,n)=>{var o=function(e){return e&&e.Math==Math&&e};e.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},92597:(e,t,n)=>{var o=n(1702),r=n(47908),i=o({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(r(e),t)}},3501:e=>{e.exports={}},842:(e,t,n)=>{var o=n(17854);e.exports=function(e,t){var n=o.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},60490:(e,t,n)=>{var o=n(35005);e.exports=o("document","documentElement")},64664:(e,t,n)=>{var o=n(19781),r=n(47293),i=n(80317);e.exports=!o&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},68361:(e,t,n)=>{var o=n(1702),r=n(47293),i=n(84326),a=Object,s=o("".split);e.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},79587:(e,t,n)=>{var o=n(60614),r=n(70111),i=n(27674);e.exports=function(e,t,n){var a,s;return i&&o(a=t.constructor)&&a!==n&&r(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},42788:(e,t,n)=>{var o=n(1702),r=n(60614),i=n(5465),a=o(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},62423:(e,t,n)=>{var o=n(82109),r=n(1702),i=n(3501),a=n(70111),s=n(92597),l=n(3070).f,c=n(8006),u=n(1156),d=n(52050),p=n(69711),f=n(76677),h=!1,m=p("meta"),g=0,v=function(e){l(e,m,{value:{objectID:"O"+g++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},h=!0;var e=c.f,t=r([].splice),n={};n[m]=1,e(n).length&&(c.f=function(n){for(var o=e(n),r=0,i=o.length;r{var o,r,i,a=n(94811),s=n(17854),l=n(70111),c=n(68880),u=n(92597),d=n(5465),p=n(6200),f=n(3501),h="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||d.state){var v=d.state||(d.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,o=function(e,t){if(v.has(e))throw m(h);return t.facade=e,v.set(e,t),t},r=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var y=p("state");f[y]=!0,o=function(e,t){if(u(e,y))throw m(h);return t.facade=e,c(e,y,t),t},r=function(e){return u(e,y)?e[y]:{}},i=function(e){return u(e,y)}}e.exports={set:o,get:r,has:i,enforce:function(e){return i(e)?r(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},97659:(e,t,n)=>{var o=n(5112),r=n(97497),i=o("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},43157:(e,t,n)=>{var o=n(84326);e.exports=Array.isArray||function(e){return"Array"==o(e)}},60614:(e,t,n)=>{var o=n(4154),r=o.all;e.exports=o.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},4411:(e,t,n)=>{var o=n(1702),r=n(47293),i=n(60614),a=n(70648),s=n(35005),l=n(42788),c=function(){},u=[],d=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,f=o(p.exec),h=!p.exec(c),m=function(e){if(!i(e))return!1;try{return d(c,u,e),!0}catch(e){return!1}},g=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(p,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!d||r((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},45032:(e,t,n)=>{var o=n(92597);e.exports=function(e){return void 0!==e&&(o(e,"value")||o(e,"writable"))}},54705:(e,t,n)=>{var o=n(47293),r=n(60614),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==u||n!=c&&(r(t)?o(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},68554:e=>{e.exports=function(e){return null==e}},70111:(e,t,n)=>{var o=n(60614),r=n(4154),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:o(e)||e===i}:function(e){return"object"==typeof e?null!==e:o(e)}},31913:e=>{e.exports=!1},47850:(e,t,n)=>{var o=n(70111),r=n(84326),i=n(5112)("match");e.exports=function(e){var t;return o(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==r(e))}},52190:(e,t,n)=>{var o=n(35005),r=n(60614),i=n(47976),a=n(43307),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return r(t)&&i(t.prototype,s(e))}},20408:(e,t,n)=>{var o=n(49974),r=n(46916),i=n(19670),a=n(66330),s=n(97659),l=n(26244),c=n(47976),u=n(18554),d=n(71246),p=n(99212),f=TypeError,h=function(e,t){this.stopped=e,this.result=t},m=h.prototype;e.exports=function(e,t,n){var g,v,y,b,w,S,E,P=n&&n.that,x=!(!n||!n.AS_ENTRIES),D=!(!n||!n.IS_RECORD),C=!(!n||!n.IS_ITERATOR),k=!(!n||!n.INTERRUPTED),A=o(t,P),O=function(e){return g&&p(g,"normal",e),new h(!0,e)},T=function(e){return x?(i(e),k?A(e[0],e[1],O):A(e[0],e[1])):k?A(e,O):A(e)};if(D)g=e.iterator;else if(C)g=e;else{if(!(v=d(e)))throw f(a(e)+" is not iterable");if(s(v)){for(y=0,b=l(e);b>y;y++)if((w=T(e[y]))&&c(m,w))return w;return new h(!1)}g=u(e,v)}for(S=D?e.next:g.next;!(E=r(S,g)).done;){try{w=T(E.value)}catch(e){p(g,"throw",e)}if("object"==typeof w&&w&&c(m,w))return w}return new h(!1)}},99212:(e,t,n)=>{var o=n(46916),r=n(19670),i=n(58173);e.exports=function(e,t,n){var a,s;r(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=o(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return r(a),n}},63061:(e,t,n)=>{"use strict";var o=n(13383).IteratorPrototype,r=n(70030),i=n(79114),a=n(58003),s=n(97497),l=function(){return this};e.exports=function(e,t,n,c){var u=t+" Iterator";return e.prototype=r(o,{next:i(+!c,n)}),a(e,u,!1,!0),s[u]=l,e}},51656:(e,t,n)=>{"use strict";var o=n(82109),r=n(46916),i=n(31913),a=n(76530),s=n(60614),l=n(63061),c=n(79518),u=n(27674),d=n(58003),p=n(68880),f=n(98052),h=n(5112),m=n(97497),g=n(13383),v=a.PROPER,y=a.CONFIGURABLE,b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,S=h("iterator"),E="keys",P="values",x="entries",D=function(){return this};e.exports=function(e,t,n,a,h,g,C){l(n,t,a);var k,A,O,T=function(e){if(e===h&&R)return R;if(!w&&e in M)return M[e];switch(e){case E:case P:case x:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",F=!1,M=e.prototype,_=M[S]||M["@@iterator"]||h&&M[h],R=!w&&_||T(h),N="Array"==t&&M.entries||_;if(N&&(k=c(N.call(new e)))!==Object.prototype&&k.next&&(i||c(k)===b||(u?u(k,b):s(k[S])||f(k,S,D)),d(k,I,!0,!0),i&&(m[I]=D)),v&&h==P&&_&&_.name!==P&&(!i&&y?p(M,"name",P):(F=!0,R=function(){return r(_,this)})),h)if(A={values:T(P),keys:g?R:T(E),entries:T(x)},C)for(O in A)(w||F||!(O in M))&&f(M,O,A[O]);else o({target:t,proto:!0,forced:w||F},A);return i&&!C||M[S]===R||f(M,S,R,{name:h}),m[t]=R,A}},13383:(e,t,n)=>{"use strict";var o,r,i,a=n(47293),s=n(60614),l=n(70111),c=n(70030),u=n(79518),d=n(98052),p=n(5112),f=n(31913),h=p("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(r=u(u(i)))!==Object.prototype&&(o=r):m=!0),!l(o)||a((function(){var e={};return o[h].call(e)!==e}))?o={}:f&&(o=c(o)),s(o[h])||d(o,h,(function(){return this})),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:m}},97497:e=>{e.exports={}},26244:(e,t,n)=>{var o=n(17466);e.exports=function(e){return o(e.length)}},56339:(e,t,n)=>{var o=n(47293),r=n(60614),i=n(92597),a=n(19781),s=n(76530).CONFIGURABLE,l=n(42788),c=n(29909),u=c.enforce,d=c.get,p=Object.defineProperty,f=a&&!o((function(){return 8!==p((function(){}),"length",{value:8}).length})),h=String(String).split("String"),m=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||s&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t),f&&n&&i(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var o=u(e);return i(o,"source")||(o.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=m((function(){return r(this)&&d(this).source||l(this)}),"toString")},74758:e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var o=+e;return(o>0?n:t)(o)}},95948:(e,t,n)=>{var o,r,i,a,s,l,c,u,d=n(17854),p=n(49974),f=n(31236).f,h=n(20261).set,m=n(6833),g=n(71528),v=n(71036),y=n(35268),b=d.MutationObserver||d.WebKitMutationObserver,w=d.document,S=d.process,E=d.Promise,P=f(d,"queueMicrotask"),x=P&&P.value;x||(o=function(){var e,t;for(y&&(e=S.domain)&&e.exit();r;){t=r.fn,r=r.next;try{t()}catch(e){throw r?a():i=void 0,e}}i=void 0,e&&e.enter()},m||y||v||!b||!w?!g&&E&&E.resolve?((c=E.resolve(void 0)).constructor=E,u=p(c.then,c),a=function(){u(o)}):y?a=function(){S.nextTick(o)}:(h=p(h,d),a=function(){h(o)}):(s=!0,l=w.createTextNode(""),new b(o).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),e.exports=x||function(e){var t={fn:e,next:void 0};i&&(i.next=t),r||(r=t,a()),i=t}},78523:(e,t,n)=>{"use strict";var o=n(19662),r=TypeError,i=function(e){var t,n;this.promise=new e((function(e,o){if(void 0!==t||void 0!==n)throw r("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new i(e)}},3929:(e,t,n)=>{var o=n(47850),r=TypeError;e.exports=function(e){if(o(e))throw r("The method doesn't accept regular expressions");return e}},2814:(e,t,n)=>{var o=n(17854),r=n(47293),i=n(1702),a=n(41340),s=n(53111).trim,l=n(81361),c=i("".charAt),u=o.parseFloat,d=o.Symbol,p=d&&d.iterator,f=1/u(l+"-0")!=-1/0||p&&!r((function(){u(Object(p))}));e.exports=f?function(e){var t=s(a(e)),n=u(t);return 0===n&&"-"==c(t,0)?-0:n}:u},83009:(e,t,n)=>{var o=n(17854),r=n(47293),i=n(1702),a=n(41340),s=n(53111).trim,l=n(81361),c=o.parseInt,u=o.Symbol,d=u&&u.iterator,p=/^[+-]?0x/i,f=i(p.exec),h=8!==c(l+"08")||22!==c(l+"0x16")||d&&!r((function(){c(Object(d))}));e.exports=h?function(e,t){var n=s(a(e));return c(n,t>>>0||(f(p,n)?16:10))}:c},21574:(e,t,n)=>{"use strict";var o=n(19781),r=n(1702),i=n(46916),a=n(47293),s=n(81956),l=n(25181),c=n(55296),u=n(47908),d=n(68361),p=Object.assign,f=Object.defineProperty,h=r([].concat);e.exports=!p||a((function(){if(o&&1!==p({b:1},p(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=p({},e)[n]||s(p({},t)).join("")!=r}))?function(e,t){for(var n=u(e),r=arguments.length,a=1,p=l.f,f=c.f;r>a;)for(var m,g=d(arguments[a++]),v=p?h(s(g),p(g)):s(g),y=v.length,b=0;y>b;)m=v[b++],o&&!i(f,g,m)||(n[m]=g[m]);return n}:p},70030:(e,t,n)=>{var o,r=n(19670),i=n(36048),a=n(80748),s=n(3501),l=n(60490),c=n(80317),u=n(6200),d=u("IE_PROTO"),p=function(){},f=function(e){return"