@arbidocs/react 0.5.48 → 0.5.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/annotations/freeze/index.cjs +14 -14
  2. package/dist/annotations/freeze/index.js +3 -3
  3. package/dist/annotations/index.cjs +48 -48
  4. package/dist/annotations/index.js +2 -2
  5. package/dist/artifacts/index.cjs +4 -4
  6. package/dist/artifacts/index.js +3 -3
  7. package/dist/bundle-DCWPYNGD.cjs +14 -0
  8. package/dist/{bundle-IC65W2AO.cjs.map → bundle-DCWPYNGD.cjs.map} +1 -1
  9. package/dist/bundle-JCKKGEJE.js +5 -0
  10. package/dist/{bundle-YNOX7VIL.js.map → bundle-JCKKGEJE.js.map} +1 -1
  11. package/dist/calls/livekit/index.cjs +43 -43
  12. package/dist/calls/livekit/index.js +4 -4
  13. package/dist/{chunk-NIKPG4PW.js → chunk-A2XSLTIP.js} +3 -3
  14. package/dist/{chunk-NIKPG4PW.js.map → chunk-A2XSLTIP.js.map} +1 -1
  15. package/dist/{chunk-PC4O3JDV.cjs → chunk-B6I2HRRF.cjs} +3 -3
  16. package/dist/{chunk-PC4O3JDV.cjs.map → chunk-B6I2HRRF.cjs.map} +1 -1
  17. package/dist/{chunk-E76255DQ.js → chunk-BIHGAW4G.js} +3 -3
  18. package/dist/{chunk-E76255DQ.js.map → chunk-BIHGAW4G.js.map} +1 -1
  19. package/dist/{chunk-QN4UN6KG.js → chunk-CMNZI4WQ.js} +3 -3
  20. package/dist/{chunk-QN4UN6KG.js.map → chunk-CMNZI4WQ.js.map} +1 -1
  21. package/dist/{chunk-25PMGZT7.cjs → chunk-FSPLYO52.cjs} +3 -3
  22. package/dist/{chunk-25PMGZT7.cjs.map → chunk-FSPLYO52.cjs.map} +1 -1
  23. package/dist/{chunk-FNV5V2J2.js → chunk-JQSHGBNI.js} +4 -4
  24. package/dist/{chunk-FNV5V2J2.js.map → chunk-JQSHGBNI.js.map} +1 -1
  25. package/dist/{chunk-IBBV5A5M.js → chunk-KOLCL4KV.js} +3 -3
  26. package/dist/{chunk-IBBV5A5M.js.map → chunk-KOLCL4KV.js.map} +1 -1
  27. package/dist/{chunk-DWCST7NF.js → chunk-KUGZXI7V.js} +3 -3
  28. package/dist/{chunk-DWCST7NF.js.map → chunk-KUGZXI7V.js.map} +1 -1
  29. package/dist/{chunk-J5DUAVNR.cjs → chunk-ME4TS33T.cjs} +3 -3
  30. package/dist/{chunk-J5DUAVNR.cjs.map → chunk-ME4TS33T.cjs.map} +1 -1
  31. package/dist/{chunk-NETQSWIK.cjs → chunk-ONGNP4JM.cjs} +3 -3
  32. package/dist/{chunk-NETQSWIK.cjs.map → chunk-ONGNP4JM.cjs.map} +1 -1
  33. package/dist/{chunk-YCDRSSDT.cjs → chunk-SUZORMAB.cjs} +3 -3
  34. package/dist/{chunk-YCDRSSDT.cjs.map → chunk-SUZORMAB.cjs.map} +1 -1
  35. package/dist/{chunk-NSNTGXTW.js → chunk-T4CLW3DN.js} +3 -3
  36. package/dist/{chunk-NSNTGXTW.js.map → chunk-T4CLW3DN.js.map} +1 -1
  37. package/dist/{chunk-F7MTKPV5.cjs → chunk-TUPSNW3B.cjs} +3 -3
  38. package/dist/{chunk-F7MTKPV5.cjs.map → chunk-TUPSNW3B.cjs.map} +1 -1
  39. package/dist/{chunk-6N7PXOR5.cjs → chunk-W7DQJT4T.cjs} +6 -6
  40. package/dist/{chunk-6N7PXOR5.cjs.map → chunk-W7DQJT4T.cjs.map} +1 -1
  41. package/dist/document-tools/index.cjs +48 -48
  42. package/dist/document-tools/index.js +7 -7
  43. package/dist/index.cjs +749 -696
  44. package/dist/index.cjs.map +1 -1
  45. package/dist/index.d.cts +9 -3
  46. package/dist/index.d.ts +9 -3
  47. package/dist/index.js +92 -39
  48. package/dist/index.js.map +1 -1
  49. package/dist/shell/index.cjs +33 -33
  50. package/dist/shell/index.js +2 -2
  51. package/dist/ui/index.cjs +148 -148
  52. package/dist/ui/index.js +2 -2
  53. package/dist/viewers/index.cjs +5 -5
  54. package/dist/viewers/index.js +2 -2
  55. package/package.json +3 -3
  56. package/dist/bundle-IC65W2AO.cjs +0 -14
  57. package/dist/bundle-YNOX7VIL.js +0 -5
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var chunkNETQSWIK_cjs = require('../chunk-NETQSWIK.cjs');
4
- var chunkYCDRSSDT_cjs = require('../chunk-YCDRSSDT.cjs');
3
+ var chunkONGNP4JM_cjs = require('../chunk-ONGNP4JM.cjs');
4
+ var chunkSUZORMAB_cjs = require('../chunk-SUZORMAB.cjs');
5
+ var chunk2IJP73ZG_cjs = require('../chunk-2IJP73ZG.cjs');
5
6
  var chunkRRWAX52L_cjs = require('../chunk-RRWAX52L.cjs');
6
- require('../chunk-YIUUTRMQ.cjs');
7
7
  var chunkZWFMFOGP_cjs = require('../chunk-ZWFMFOGP.cjs');
8
8
  require('../chunk-VOFNX4P6.cjs');
9
9
  require('../chunk-WYZJLZ67.cjs');
10
10
  require('../chunk-HJDR5HEO.cjs');
11
11
  require('../chunk-Z3LLUO32.cjs');
12
- require('../chunk-RCKA7BEF.cjs');
13
12
  require('../chunk-S6A6FSG7.cjs');
14
- var chunk2IJP73ZG_cjs = require('../chunk-2IJP73ZG.cjs');
13
+ require('../chunk-YIUUTRMQ.cjs');
14
+ require('../chunk-RCKA7BEF.cjs');
15
15
  var react = require('react');
16
16
  var reactQuery = require('@tanstack/react-query');
17
17
  var client = require('@arbidocs/client');
@@ -42,9 +42,9 @@ async function fetchProductionPdf(client, doc) {
42
42
  const pdf = isPdfDocument(doc);
43
43
  let blob;
44
44
  try {
45
- blob = await (pdf ? chunkNETQSWIK_cjs.fetchDocumentFile : chunkNETQSWIK_cjs.fetchDocumentPdf)(client, doc.external_id);
45
+ blob = await (pdf ? chunkONGNP4JM_cjs.fetchDocumentFile : chunkONGNP4JM_cjs.fetchDocumentPdf)(client, doc.external_id);
46
46
  } catch (e) {
47
- if (!pdf && e instanceof chunkNETQSWIK_cjs.DocumentFetchError) return null;
47
+ if (!pdf && e instanceof chunkONGNP4JM_cjs.DocumentFetchError) return null;
48
48
  throw e;
49
49
  }
50
50
  const bytes = new Uint8Array(await blob.arrayBuffer());
@@ -107,7 +107,7 @@ async function buildProduction(client, documents, choices, options) {
107
107
  if (items.length === 0) {
108
108
  throw new Error("None of these documents has a PDF version to number yet.");
109
109
  }
110
- const { buildBundle } = await import('../bundle-IC65W2AO.cjs');
110
+ const { buildBundle } = await import('../bundle-DCWPYNGD.cjs');
111
111
  const result = await buildBundle(items, {
112
112
  layout: choices.layout,
113
113
  bates: {
@@ -169,7 +169,7 @@ async function call(request) {
169
169
  return await request();
170
170
  } catch (e) {
171
171
  if (e instanceof TypeError || typeof navigator !== "undefined" && !navigator.onLine) {
172
- throw new chunkYCDRSSDT_cjs.AnnotationStoreOfflineError();
172
+ throw new chunkSUZORMAB_cjs.AnnotationStoreOfflineError();
173
173
  }
174
174
  throw e;
175
175
  }
@@ -252,7 +252,7 @@ function createMarkupStore({ version, client, onSaved }) {
252
252
  const deleted = new Set(
253
253
  [...seen].filter((id) => !mine.annotations.some((a) => a.id === id))
254
254
  );
255
- const merged = chunkYCDRSSDT_cjs.mergeLayers({ base, mine, theirs: latest.layer, deleted });
255
+ const merged = chunkSUZORMAB_cjs.mergeLayers({ base, mine, theirs: latest.layer, deleted });
256
256
  revision = latest.revision;
257
257
  canEdit = latest.canEdit;
258
258
  base = latest.layer;
@@ -322,7 +322,7 @@ async function addToMarkup(documentId, version, marks, client) {
322
322
  ...chunk2IJP73ZG_cjs.emptyLayer(documentId, (/* @__PURE__ */ new Date()).toISOString()),
323
323
  annotations: marks
324
324
  };
325
- const merged = chunkYCDRSSDT_cjs.mergeLayers({ base: null, mine: current, theirs: incoming });
325
+ const merged = chunkSUZORMAB_cjs.mergeLayers({ base: null, mine: current, theirs: incoming });
326
326
  const added = merged.annotations.length - current.annotations.length;
327
327
  if (added > 0) await store.save(chunk2IJP73ZG_cjs.parseLayer({ ...merged, schema: chunk2IJP73ZG_cjs.LAYER_SCHEMA_VERSION }));
328
328
  return added;
@@ -349,7 +349,7 @@ function versionsWithMarkup(versions) {
349
349
  }
350
350
  var SIGNED_UNCHANGED = "The signed PDF is unchanged: the comments are kept beside it as markup.";
351
351
  function useDocumentMarkup(documentData, snapshotVersion, currentSigned = false) {
352
- const { client, notify, saveFile, onDocumentsChanged } = chunkNETQSWIK_cjs.useDocumentTools();
352
+ const { client, notify, saveFile, onDocumentsChanged } = chunkONGNP4JM_cjs.useDocumentTools();
353
353
  const documentId = documentData?.external_id;
354
354
  const currentVersion = documentData?.current_version ?? 1;
355
355
  const shownVersion = snapshotVersion ?? currentVersion;
@@ -380,11 +380,11 @@ function useDocumentMarkup(documentData, snapshotVersion, currentSigned = false)
380
380
  const downloadMarkup = react.useCallback(async () => {
381
381
  if (!documentId) return;
382
382
  if (currentSigned) {
383
- notify(chunkNETQSWIK_cjs.SIGNED_LOCKED_REASON, "info");
383
+ notify(chunkONGNP4JM_cjs.SIGNED_LOCKED_REASON, "info");
384
384
  return;
385
385
  }
386
386
  try {
387
- const { blob, fileName } = await chunkNETQSWIK_cjs.fetchMarkupPdf(
387
+ const { blob, fileName } = await chunkONGNP4JM_cjs.fetchMarkupPdf(
388
388
  client,
389
389
  documentId,
390
390
  snapshotVersion ? snapshotVersion : void 0
@@ -521,7 +521,7 @@ function useIsOnline() {
521
521
  );
522
522
  }
523
523
  function useDocumentBytes(documentRef, options) {
524
- const { client } = chunkNETQSWIK_cjs.useDocumentTools();
524
+ const { client } = chunkONGNP4JM_cjs.useDocumentTools();
525
525
  const { version, kind, enabled = true, fallback } = options;
526
526
  return reactQuery.useQuery({
527
527
  queryKey: chunkRRWAX52L_cjs.documentBytesKey(documentRef, version ?? null, kind),
@@ -531,7 +531,7 @@ function useDocumentBytes(documentRef, options) {
531
531
  if (offline) return offline;
532
532
  }
533
533
  try {
534
- return await (kind === "original" ? chunkNETQSWIK_cjs.fetchDocumentFile : chunkNETQSWIK_cjs.fetchDocumentPdf)(
534
+ return await (kind === "original" ? chunkONGNP4JM_cjs.fetchDocumentFile : chunkONGNP4JM_cjs.fetchDocumentPdf)(
535
535
  client,
536
536
  documentRef,
537
537
  { signal }
@@ -576,7 +576,7 @@ async function fetchDocumentSignatures(client, documentRef) {
576
576
  return data;
577
577
  }
578
578
  function useDocumentSignatures(documentId, enabled = true) {
579
- const { client } = chunkNETQSWIK_cjs.useDocumentTools();
579
+ const { client } = chunkONGNP4JM_cjs.useDocumentTools();
580
580
  const { docId, version } = chunkZWFMFOGP_cjs.parseVersionRef(documentId);
581
581
  return reactQuery.useQuery({
582
582
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.documentSignatures(docId ?? "", version),
@@ -644,7 +644,7 @@ async function signDocument(client$1, deploymentDomain, {
644
644
  return signed.data;
645
645
  }
646
646
  function useSignDocument() {
647
- const env = chunkNETQSWIK_cjs.useDocumentTools();
647
+ const env = chunkONGNP4JM_cjs.useDocumentTools();
648
648
  const queryClient = reactQuery.useQueryClient();
649
649
  return reactQuery.useMutation({
650
650
  mutationFn: (vars) => {
@@ -690,7 +690,7 @@ async function fetchSignatureVerification(client, reference) {
690
690
  return data;
691
691
  }
692
692
  function useSignatureVerification(reference) {
693
- const { client } = chunkNETQSWIK_cjs.useDocumentTools();
693
+ const { client } = chunkONGNP4JM_cjs.useDocumentTools();
694
694
  return reactQuery.useQuery({
695
695
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.signatureVerification(reference ?? ""),
696
696
  queryFn: () => fetchSignatureVerification(client, reference),
@@ -793,7 +793,7 @@ async function fetchDocumentSignatureRequests(client, documentId) {
793
793
  return data;
794
794
  }
795
795
  function useDocumentSignatureRequests(documentId, enabled = true) {
796
- const { client } = chunkNETQSWIK_cjs.useDocumentTools();
796
+ const { client } = chunkONGNP4JM_cjs.useDocumentTools();
797
797
  return reactQuery.useQuery({
798
798
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.signatureRequestsForDocument(documentId ?? ""),
799
799
  queryFn: () => fetchDocumentSignatureRequests(client, documentId),
@@ -802,7 +802,7 @@ function useDocumentSignatureRequests(documentId, enabled = true) {
802
802
  });
803
803
  }
804
804
  function useSignatureRequestsAwaitingMe(enabled = true) {
805
- const { client } = chunkNETQSWIK_cjs.useDocumentTools();
805
+ const { client } = chunkONGNP4JM_cjs.useDocumentTools();
806
806
  return reactQuery.useQuery({
807
807
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.signatureRequestsAwaitingMe(),
808
808
  queryFn: async () => {
@@ -817,7 +817,7 @@ function useSignatureRequestsAwaitingMe(enabled = true) {
817
817
  });
818
818
  }
819
819
  function useSignatureRequest(requestId) {
820
- const { client } = chunkNETQSWIK_cjs.useDocumentTools();
820
+ const { client } = chunkONGNP4JM_cjs.useDocumentTools();
821
821
  return reactQuery.useQuery({
822
822
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.signatureRequest(requestId ?? ""),
823
823
  queryFn: async () => {
@@ -870,7 +870,7 @@ function useInvalidateRequests() {
870
870
  return () => queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.signatureRequests() });
871
871
  }
872
872
  function useSaveSignatureRequest() {
873
- const { client } = chunkNETQSWIK_cjs.useDocumentTools();
873
+ const { client } = chunkONGNP4JM_cjs.useDocumentTools();
874
874
  const invalidate = useInvalidateRequests();
875
875
  return reactQuery.useMutation({
876
876
  mutationFn: (vars) => saveSignatureRequest(client, vars),
@@ -878,7 +878,7 @@ function useSaveSignatureRequest() {
878
878
  });
879
879
  }
880
880
  function useVoidSignatureRequest() {
881
- const { client } = chunkNETQSWIK_cjs.useDocumentTools();
881
+ const { client } = chunkONGNP4JM_cjs.useDocumentTools();
882
882
  const invalidate = useInvalidateRequests();
883
883
  return reactQuery.useMutation({
884
884
  mutationFn: async (requestId) => {
@@ -892,7 +892,7 @@ function useVoidSignatureRequest() {
892
892
  });
893
893
  }
894
894
  function useDeclineSignatureRequest() {
895
- const { client } = chunkNETQSWIK_cjs.useDocumentTools();
895
+ const { client } = chunkONGNP4JM_cjs.useDocumentTools();
896
896
  const invalidate = useInvalidateRequests();
897
897
  return reactQuery.useMutation({
898
898
  mutationFn: async ({ requestId, reason }) => {
@@ -932,7 +932,7 @@ async function signSignatureRequest(client$1, deploymentDomain, { request, pdfBl
932
932
  return signed.data;
933
933
  }
934
934
  function useSignSignatureRequest() {
935
- const env = chunkNETQSWIK_cjs.useDocumentTools();
935
+ const env = chunkONGNP4JM_cjs.useDocumentTools();
936
936
  const invalidate = useInvalidateRequests();
937
937
  const queryClient = reactQuery.useQueryClient();
938
938
  return reactQuery.useMutation({
@@ -950,7 +950,7 @@ function useSignSignatureRequest() {
950
950
  });
951
951
  }
952
952
  function useSignerCandidates(enabled = true) {
953
- const { client, user } = chunkNETQSWIK_cjs.useDocumentTools();
953
+ const { client, user } = chunkONGNP4JM_cjs.useDocumentTools();
954
954
  return reactQuery.useQuery({
955
955
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.signatureCandidates(),
956
956
  queryFn: async () => {
@@ -990,7 +990,7 @@ async function inviteSigners(client, documentId, emails) {
990
990
  }
991
991
  }
992
992
  function useInviteSigners() {
993
- const { client } = chunkNETQSWIK_cjs.useDocumentTools();
993
+ const { client } = chunkONGNP4JM_cjs.useDocumentTools();
994
994
  const invalidate = useInvalidateRequests();
995
995
  const queryClient = reactQuery.useQueryClient();
996
996
  return reactQuery.useMutation({
@@ -1034,7 +1034,7 @@ async function deleteSavedSignature(client) {
1034
1034
  if (!response.ok) throw new Error(detail2(error, "Your saved signature could not be deleted"));
1035
1035
  }
1036
1036
  function useSavedSignature(enabled = true) {
1037
- const { client } = chunkNETQSWIK_cjs.useDocumentTools();
1037
+ const { client } = chunkONGNP4JM_cjs.useDocumentTools();
1038
1038
  return reactQuery.useQuery({
1039
1039
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.savedSignature(),
1040
1040
  queryFn: () => fetchSavedSignature(client),
@@ -1044,7 +1044,7 @@ function useSavedSignature(enabled = true) {
1044
1044
  });
1045
1045
  }
1046
1046
  function useStoreSavedSignature() {
1047
- const { client } = chunkNETQSWIK_cjs.useDocumentTools();
1047
+ const { client } = chunkONGNP4JM_cjs.useDocumentTools();
1048
1048
  const queryClient = reactQuery.useQueryClient();
1049
1049
  return reactQuery.useMutation({
1050
1050
  mutationFn: (signature) => storeSavedSignature(client, signature),
@@ -1052,7 +1052,7 @@ function useStoreSavedSignature() {
1052
1052
  });
1053
1053
  }
1054
1054
  function useDeleteSavedSignature() {
1055
- const { client } = chunkNETQSWIK_cjs.useDocumentTools();
1055
+ const { client } = chunkONGNP4JM_cjs.useDocumentTools();
1056
1056
  const queryClient = reactQuery.useQueryClient();
1057
1057
  return reactQuery.useMutation({
1058
1058
  mutationFn: () => deleteSavedSignature(client),
@@ -1170,71 +1170,71 @@ function useFileShares(client) {
1170
1170
 
1171
1171
  Object.defineProperty(exports, "DocumentFetchError", {
1172
1172
  enumerable: true,
1173
- get: function () { return chunkNETQSWIK_cjs.DocumentFetchError; }
1173
+ get: function () { return chunkONGNP4JM_cjs.DocumentFetchError; }
1174
1174
  });
1175
1175
  Object.defineProperty(exports, "DocumentToolsProvider", {
1176
1176
  enumerable: true,
1177
- get: function () { return chunkNETQSWIK_cjs.DocumentToolsProvider; }
1177
+ get: function () { return chunkONGNP4JM_cjs.DocumentToolsProvider; }
1178
1178
  });
1179
1179
  Object.defineProperty(exports, "MarkupDownloadError", {
1180
1180
  enumerable: true,
1181
- get: function () { return chunkNETQSWIK_cjs.MarkupDownloadError; }
1181
+ get: function () { return chunkONGNP4JM_cjs.MarkupDownloadError; }
1182
1182
  });
1183
1183
  Object.defineProperty(exports, "SIGNED_LOCKED_REASON", {
1184
1184
  enumerable: true,
1185
- get: function () { return chunkNETQSWIK_cjs.SIGNED_LOCKED_REASON; }
1185
+ get: function () { return chunkONGNP4JM_cjs.SIGNED_LOCKED_REASON; }
1186
1186
  });
1187
1187
  Object.defineProperty(exports, "certificateLink", {
1188
1188
  enumerable: true,
1189
- get: function () { return chunkNETQSWIK_cjs.certificateLink; }
1189
+ get: function () { return chunkONGNP4JM_cjs.certificateLink; }
1190
1190
  });
1191
1191
  Object.defineProperty(exports, "clientUpload", {
1192
1192
  enumerable: true,
1193
- get: function () { return chunkNETQSWIK_cjs.clientUpload; }
1193
+ get: function () { return chunkONGNP4JM_cjs.clientUpload; }
1194
1194
  });
1195
1195
  Object.defineProperty(exports, "contentDispositionFileName", {
1196
1196
  enumerable: true,
1197
- get: function () { return chunkNETQSWIK_cjs.contentDispositionFileName; }
1197
+ get: function () { return chunkONGNP4JM_cjs.contentDispositionFileName; }
1198
1198
  });
1199
1199
  Object.defineProperty(exports, "currentHasMarkup", {
1200
1200
  enumerable: true,
1201
- get: function () { return chunkNETQSWIK_cjs.currentHasMarkup; }
1201
+ get: function () { return chunkONGNP4JM_cjs.currentHasMarkup; }
1202
1202
  });
1203
1203
  Object.defineProperty(exports, "defaultCertificateUrl", {
1204
1204
  enumerable: true,
1205
- get: function () { return chunkNETQSWIK_cjs.defaultCertificateUrl; }
1205
+ get: function () { return chunkONGNP4JM_cjs.defaultCertificateUrl; }
1206
1206
  });
1207
1207
  Object.defineProperty(exports, "downloadBlob", {
1208
1208
  enumerable: true,
1209
- get: function () { return chunkNETQSWIK_cjs.downloadBlob; }
1209
+ get: function () { return chunkONGNP4JM_cjs.downloadBlob; }
1210
1210
  });
1211
1211
  Object.defineProperty(exports, "fetchDocumentFile", {
1212
1212
  enumerable: true,
1213
- get: function () { return chunkNETQSWIK_cjs.fetchDocumentFile; }
1213
+ get: function () { return chunkONGNP4JM_cjs.fetchDocumentFile; }
1214
1214
  });
1215
1215
  Object.defineProperty(exports, "fetchDocumentPdf", {
1216
1216
  enumerable: true,
1217
- get: function () { return chunkNETQSWIK_cjs.fetchDocumentPdf; }
1217
+ get: function () { return chunkONGNP4JM_cjs.fetchDocumentPdf; }
1218
1218
  });
1219
1219
  Object.defineProperty(exports, "fetchMarkupPdf", {
1220
1220
  enumerable: true,
1221
- get: function () { return chunkNETQSWIK_cjs.fetchMarkupPdf; }
1221
+ get: function () { return chunkONGNP4JM_cjs.fetchMarkupPdf; }
1222
1222
  });
1223
1223
  Object.defineProperty(exports, "isSignedVersion", {
1224
1224
  enumerable: true,
1225
- get: function () { return chunkNETQSWIK_cjs.isSignedVersion; }
1225
+ get: function () { return chunkONGNP4JM_cjs.isSignedVersion; }
1226
1226
  });
1227
1227
  Object.defineProperty(exports, "uploadQueryString", {
1228
1228
  enumerable: true,
1229
- get: function () { return chunkNETQSWIK_cjs.uploadQueryString; }
1229
+ get: function () { return chunkONGNP4JM_cjs.uploadQueryString; }
1230
1230
  });
1231
1231
  Object.defineProperty(exports, "useDocumentTools", {
1232
1232
  enumerable: true,
1233
- get: function () { return chunkNETQSWIK_cjs.useDocumentTools; }
1233
+ get: function () { return chunkONGNP4JM_cjs.useDocumentTools; }
1234
1234
  });
1235
1235
  Object.defineProperty(exports, "useOptionalDocumentTools", {
1236
1236
  enumerable: true,
1237
- get: function () { return chunkNETQSWIK_cjs.useOptionalDocumentTools; }
1237
+ get: function () { return chunkONGNP4JM_cjs.useOptionalDocumentTools; }
1238
1238
  });
1239
1239
  Object.defineProperty(exports, "documentBytesKey", {
1240
1240
  enumerable: true,
@@ -1,17 +1,17 @@
1
- import { fetchDocumentFile, fetchDocumentPdf, DocumentFetchError, useDocumentTools, SIGNED_LOCKED_REASON, fetchMarkupPdf } from '../chunk-IBBV5A5M.js';
2
- export { DocumentFetchError, DocumentToolsProvider, MarkupDownloadError, SIGNED_LOCKED_REASON, certificateLink, clientUpload, contentDispositionFileName, currentHasMarkup, defaultCertificateUrl, downloadBlob, fetchDocumentFile, fetchDocumentPdf, fetchMarkupPdf, isSignedVersion, uploadQueryString, useDocumentTools, useOptionalDocumentTools } from '../chunk-IBBV5A5M.js';
3
- import { mergeLayers, AnnotationStoreOfflineError } from '../chunk-NSNTGXTW.js';
1
+ import { fetchDocumentFile, fetchDocumentPdf, DocumentFetchError, useDocumentTools, SIGNED_LOCKED_REASON, fetchMarkupPdf } from '../chunk-KOLCL4KV.js';
2
+ export { DocumentFetchError, DocumentToolsProvider, MarkupDownloadError, SIGNED_LOCKED_REASON, certificateLink, clientUpload, contentDispositionFileName, currentHasMarkup, defaultCertificateUrl, downloadBlob, fetchDocumentFile, fetchDocumentPdf, fetchMarkupPdf, isSignedVersion, uploadQueryString, useDocumentTools, useOptionalDocumentTools } from '../chunk-KOLCL4KV.js';
3
+ import { mergeLayers, AnnotationStoreOfflineError } from '../chunk-T4CLW3DN.js';
4
+ import { parseLayer, emptyLayer, LAYER_SCHEMA_VERSION } from '../chunk-T3USOSVN.js';
4
5
  import { documentBytesKey, arbiQueryKeys } from '../chunk-PBXJFMES.js';
5
6
  export { documentBytesKey } from '../chunk-PBXJFMES.js';
6
- import '../chunk-MB34NKBZ.js';
7
7
  import { parseVersionRef } from '../chunk-NNWMHMEC.js';
8
8
  import '../chunk-WUTL62MC.js';
9
9
  import '../chunk-YNNAJJ5Z.js';
10
10
  import '../chunk-47CCGUWR.js';
11
11
  import '../chunk-QRCMKEE6.js';
12
- import '../chunk-CPZ36AQS.js';
13
12
  import '../chunk-SN5YV6FF.js';
14
- import { parseLayer, emptyLayer, LAYER_SCHEMA_VERSION } from '../chunk-T3USOSVN.js';
13
+ import '../chunk-MB34NKBZ.js';
14
+ import '../chunk-CPZ36AQS.js';
15
15
  import { useMemo, useState, useCallback, useEffect, useSyncExternalStore } from 'react';
16
16
  import { onlineManager, useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
17
17
  import { unlockIdentityWithPassword, signMessage, getUserEncryptionKeypair, sealedBoxDecrypt, sealedBoxEncrypt, initSodium } from '@arbidocs/client';
@@ -107,7 +107,7 @@ async function buildProduction(client, documents, choices, options) {
107
107
  if (items.length === 0) {
108
108
  throw new Error("None of these documents has a PDF version to number yet.");
109
109
  }
110
- const { buildBundle } = await import('../bundle-YNOX7VIL.js');
110
+ const { buildBundle } = await import('../bundle-JCKKGEJE.js');
111
111
  const result = await buildBundle(items, {
112
112
  layout: choices.layout,
113
113
  bates: {