@campxdev/pdfme 1.2.0 → 1.2.2

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 (36) hide show
  1. package/dist/cjs/chunks/{helper-DU7Bm8ZQ.js → helper-BfoMn47R.js} +16956 -4
  2. package/dist/cjs/chunks/{index-mgS9yYj7.js → index-C8qZMUOU.js} +4 -4
  3. package/dist/cjs/chunks/{index-BzWo8eqh.js → index-COKtXyPp.js} +6 -2
  4. package/dist/cjs/chunks/{index-Co0Y0KJj.js → index-CVqJfcgy.js} +126 -34
  5. package/dist/cjs/chunks/{pluginRegistry-DlJQZP6L.js → pluginRegistry-C8bMreez.js} +1 -1
  6. package/dist/cjs/common.js +7 -3
  7. package/dist/cjs/converter.js +1 -1
  8. package/dist/cjs/generator.js +3 -3
  9. package/dist/cjs/index.js +9 -5
  10. package/dist/cjs/print-designer-editor.js +189 -112
  11. package/dist/cjs/schemas.js +3 -3
  12. package/dist/cjs/ui.js +83031 -72499
  13. package/dist/esm/chunks/{helper-C8LqGaF4.js → helper-D5PPN6Bv.js} +16953 -5
  14. package/dist/esm/chunks/{index-Rwcd_Vzj.js → index-C4F7EwBG.js} +4 -4
  15. package/dist/esm/chunks/{index-CwqHuiCe.js → index-C7jr4GIK.js} +127 -35
  16. package/dist/esm/chunks/{index-d0iAk7OA.js → index-CDhErAtE.js} +3 -3
  17. package/dist/esm/chunks/{pluginRegistry-C0a91XEw.js → pluginRegistry-B-XSNgmK.js} +1 -1
  18. package/dist/esm/common.js +3 -3
  19. package/dist/esm/converter.js +1 -1
  20. package/dist/esm/generator.js +3 -3
  21. package/dist/esm/index.js +5 -5
  22. package/dist/esm/print-designer-editor.js +188 -114
  23. package/dist/esm/schemas.js +5 -5
  24. package/dist/esm/ui.js +83031 -72499
  25. package/dist/types/_vendors/common/constants.d.ts +1 -2
  26. package/dist/types/_vendors/common/googleFontUrls.d.ts +9 -0
  27. package/dist/types/_vendors/common/googleFonts.d.ts +7 -0
  28. package/dist/types/_vendors/common/helper.d.ts +1 -0
  29. package/dist/types/_vendors/common/index.d.ts +3 -2
  30. package/dist/types/_vendors/print-designer-editor/index.d.ts +1 -1
  31. package/dist/types/_vendors/schemas/text/extraFormatter.d.ts +2 -0
  32. package/dist/types/_vendors/schemas/text/fontCache.d.ts +10 -0
  33. package/dist/types/_vendors/schemas/text/helper.d.ts +1 -0
  34. package/dist/types/_vendors/schemas/text/icons/index.d.ts +2 -0
  35. package/dist/types/_vendors/schemas/text/types.d.ts +2 -0
  36. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
1
  import * as React$c from 'react';
2
2
  import React$c__default, { useContext as useContext$1, useCallback, useMemo as useMemo$2, createContext as createContext$1, forwardRef, memo, useReducer, useState as useState$1, useRef as useRef$1, useEffect as useEffect$2, useLayoutEffect as useLayoutEffect$3, Children, cloneElement as cloneElement$1, createElement as createElement$1, useImperativeHandle, createRef, isValidElement, version as version$2, PureComponent, Component } from 'react';
3
- import { s as isBlankPdf, Z as ZOOM, m as getAllFonts, f as checkGenerateProps, l as cloneDeep$1, v as pt2mm, x as px2mm, n as getB64BasePdf, q as getFallbackFontName, p as getDefaultFont, c as b64toUint8Array, u as mm2pt } from './chunks/helper-C8LqGaF4.js';
4
- export { o as getBuiltinFontsData, r as getInputFromTemplate } from './chunks/helper-C8LqGaF4.js';
5
- import { p as pluginRegistry, g as getDynamicTemplate } from './chunks/pluginRegistry-C0a91XEw.js';
3
+ import { v as isBlankPdf, Z as ZOOM, n as getAllFontsWithGoogle, f as checkGenerateProps, l as cloneDeep$1, z as pt2mm, E as px2mm, o as getB64BasePdf, w as isGoogleFont, r as getFallbackFontName, q as getDefaultFont, c as b64toUint8Array, y as mm2pt } from './chunks/helper-D5PPN6Bv.js';
4
+ export { m as getAllFonts, p as getBuiltinFontsData, s as getGoogleFontsData, t as getInputFromTemplate } from './chunks/helper-D5PPN6Bv.js';
5
+ import { p as pluginRegistry, g as getDynamicTemplate } from './chunks/pluginRegistry-B-XSNgmK.js';
6
6
  import { r as replacePlaceholders } from './chunks/expression-B-F1KCfk.js';
7
- import { s as schema, g as getDynamicHeightsForTable, b as builtInPlugins } from './chunks/index-CwqHuiCe.js';
7
+ import { s as schema, g as getDynamicHeightsForTable, b as builtInPlugins } from './chunks/index-C7jr4GIK.js';
8
8
  import * as ReactDOM__default from 'react-dom';
9
9
  import ReactDOM__default__default, { unstable_batchedUpdates, createPortal, flushSync, findDOMNode as findDOMNode$1 } from 'react-dom';
10
- import { d as dynamicBarcode, a as dynamicQrCode, e as ellipse, r as rectangle$1, l as lineSchema, b as dynamicTableSchema, s as signature, i as imageSchema } from './chunks/index-Rwcd_Vzj.js';
10
+ import { d as dynamicBarcode, a as dynamicQrCode, e as ellipse, r as rectangle$1, l as lineSchema, b as dynamicTableSchema, s as signature, i as imageSchema } from './chunks/index-C4F7EwBG.js';
11
11
  import 'zod';
12
12
  import 'buffer';
13
13
  import 'acorn';
@@ -98825,7 +98825,7 @@ strings$6.utf8border = function(a, s) {
98825
98825
  function ZStream$6() {
98826
98826
  this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0;
98827
98827
  }
98828
- var zstream$2 = ZStream$6, zlib_deflate$1 = deflate$9, utils$c = common$3, strings$5 = strings$6, msg$4 = messages$2, ZStream$5 = zstream$2, toString$8 = Object.prototype.toString, Z_NO_FLUSH$4 = 0, Z_FINISH$6 = 4, Z_OK$6 = 0, Z_STREAM_END$6 = 1, Z_SYNC_FLUSH$2 = 2, Z_DEFAULT_COMPRESSION$3 = -1, Z_DEFAULT_STRATEGY$3 = 0, Z_DEFLATED$5 = 8;
98828
+ var zstream$2 = ZStream$6, zlib_deflate$1 = deflate$9, utils$c = common$3, strings$5 = strings$6, msg$4 = messages$2, ZStream$5 = zstream$2, toString$7 = Object.prototype.toString, Z_NO_FLUSH$4 = 0, Z_FINISH$6 = 4, Z_OK$6 = 0, Z_STREAM_END$6 = 1, Z_SYNC_FLUSH$2 = 2, Z_DEFAULT_COMPRESSION$3 = -1, Z_DEFAULT_STRATEGY$3 = 0, Z_DEFLATED$5 = 8;
98829
98829
  function Deflate$3(a) {
98830
98830
  if (!(this instanceof Deflate$3))
98831
98831
  return new Deflate$3(a);
@@ -98852,7 +98852,7 @@ function Deflate$3(a) {
98852
98852
  throw new Error(msg$4[x]);
98853
98853
  if (s.header && zlib_deflate$1.deflateSetHeader(this.strm, s.header), s.dictionary) {
98854
98854
  var y;
98855
- if (typeof s.dictionary == "string" ? y = strings$5.string2buf(s.dictionary) : toString$8.call(s.dictionary) === "[object ArrayBuffer]" ? y = new Uint8Array(s.dictionary) : y = s.dictionary, x = zlib_deflate$1.deflateSetDictionary(this.strm, y), x !== Z_OK$6)
98855
+ if (typeof s.dictionary == "string" ? y = strings$5.string2buf(s.dictionary) : toString$7.call(s.dictionary) === "[object ArrayBuffer]" ? y = new Uint8Array(s.dictionary) : y = s.dictionary, x = zlib_deflate$1.deflateSetDictionary(this.strm, y), x !== Z_OK$6)
98856
98856
  throw new Error(msg$4[x]);
98857
98857
  this._dict_set = true;
98858
98858
  }
@@ -98861,7 +98861,7 @@ Deflate$3.prototype.push = function(a, s) {
98861
98861
  var x = this.strm, y = this.options.chunkSize, $, S;
98862
98862
  if (this.ended)
98863
98863
  return false;
98864
- S = s === ~~s ? s : s === true ? Z_FINISH$6 : Z_NO_FLUSH$4, typeof a == "string" ? x.input = strings$5.string2buf(a) : toString$8.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
98864
+ S = s === ~~s ? s : s === true ? Z_FINISH$6 : Z_NO_FLUSH$4, typeof a == "string" ? x.input = strings$5.string2buf(a) : toString$7.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
98865
98865
  do {
98866
98866
  if (x.avail_out === 0 && (x.output = new utils$c.Buf8(y), x.next_out = 0, x.avail_out = y), $ = zlib_deflate$1.deflate(x, S), $ !== Z_STREAM_END$6 && $ !== Z_OK$6)
98867
98867
  return this.onEnd($), this.ended = true, false;
@@ -99702,7 +99702,7 @@ var constants$5 = {
99702
99702
  function GZheader$4() {
99703
99703
  this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = false;
99704
99704
  }
99705
- var gzheader$2 = GZheader$4, zlib_inflate$1 = inflate$a, utils$9 = common$3, strings$4 = strings$6, c$1 = constants$5, msg$3 = messages$2, ZStream$4 = zstream$2, GZheader$3 = gzheader$2, toString$7 = Object.prototype.toString;
99705
+ var gzheader$2 = GZheader$4, zlib_inflate$1 = inflate$a, utils$9 = common$3, strings$4 = strings$6, c$1 = constants$5, msg$3 = messages$2, ZStream$4 = zstream$2, GZheader$3 = gzheader$2, toString$6 = Object.prototype.toString;
99706
99706
  function Inflate$3(a) {
99707
99707
  if (!(this instanceof Inflate$3))
99708
99708
  return new Inflate$3(a);
@@ -99719,14 +99719,14 @@ function Inflate$3(a) {
99719
99719
  );
99720
99720
  if (x !== c$1.Z_OK)
99721
99721
  throw new Error(msg$3[x]);
99722
- if (this.header = new GZheader$3(), zlib_inflate$1.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings$4.string2buf(s.dictionary) : toString$7.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && (x = zlib_inflate$1.inflateSetDictionary(this.strm, s.dictionary), x !== c$1.Z_OK)))
99722
+ if (this.header = new GZheader$3(), zlib_inflate$1.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings$4.string2buf(s.dictionary) : toString$6.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && (x = zlib_inflate$1.inflateSetDictionary(this.strm, s.dictionary), x !== c$1.Z_OK)))
99723
99723
  throw new Error(msg$3[x]);
99724
99724
  }
99725
99725
  Inflate$3.prototype.push = function(a, s) {
99726
99726
  var x = this.strm, y = this.options.chunkSize, $ = this.options.dictionary, S, _, E, A, w, T = false;
99727
99727
  if (this.ended)
99728
99728
  return false;
99729
- _ = s === ~~s ? s : s === true ? c$1.Z_FINISH : c$1.Z_NO_FLUSH, typeof a == "string" ? x.input = strings$4.binstring2buf(a) : toString$7.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
99729
+ _ = s === ~~s ? s : s === true ? c$1.Z_FINISH : c$1.Z_NO_FLUSH, typeof a == "string" ? x.input = strings$4.binstring2buf(a) : toString$6.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
99730
99730
  do {
99731
99731
  if (x.avail_out === 0 && (x.output = new utils$9.Buf8(y), x.next_out = 0, x.avail_out = y), S = zlib_inflate$1.inflate(x, c$1.Z_NO_FLUSH), S === c$1.Z_NEED_DICT && $ && (S = zlib_inflate$1.inflateSetDictionary(this.strm, $)), S === c$1.Z_BUF_ERROR && T === true && (S = c$1.Z_OK, T = false), S !== c$1.Z_STREAM_END && S !== c$1.Z_OK)
99732
99732
  return this.onEnd(S), this.ended = true, false;
@@ -101817,7 +101817,7 @@ function GZheader$2() {
101817
101817
  this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = false;
101818
101818
  }
101819
101819
  var gzheader$1 = GZheader$2;
101820
- const toString$6 = Object.prototype.toString, {
101820
+ const toString$5 = Object.prototype.toString, {
101821
101821
  Z_NO_FLUSH: Z_NO_FLUSH$3,
101822
101822
  Z_FINISH: Z_FINISH$4,
101823
101823
  Z_OK: Z_OK$4,
@@ -101841,7 +101841,7 @@ function Inflate$1(a) {
101841
101841
  );
101842
101842
  if (x !== Z_OK$4)
101843
101843
  throw new Error(messages$1[x]);
101844
- if (this.header = new gzheader$1(), inflate_1$2.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings$3.string2buf(s.dictionary) : toString$6.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && (x = inflate_1$2.inflateSetDictionary(this.strm, s.dictionary), x !== Z_OK$4)))
101844
+ if (this.header = new gzheader$1(), inflate_1$2.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings$3.string2buf(s.dictionary) : toString$5.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && (x = inflate_1$2.inflateSetDictionary(this.strm, s.dictionary), x !== Z_OK$4)))
101845
101845
  throw new Error(messages$1[x]);
101846
101846
  }
101847
101847
  Inflate$1.prototype.push = function(a, s) {
@@ -101849,7 +101849,7 @@ Inflate$1.prototype.push = function(a, s) {
101849
101849
  let S, _, E;
101850
101850
  if (this.ended)
101851
101851
  return false;
101852
- for (s === ~~s ? _ = s : _ = s === true ? Z_FINISH$4 : Z_NO_FLUSH$3, toString$6.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length; ; ) {
101852
+ for (s === ~~s ? _ = s : _ = s === true ? Z_FINISH$4 : Z_NO_FLUSH$3, toString$5.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length; ; ) {
101853
101853
  for (x.avail_out === 0 && (x.output = new Uint8Array(y), x.next_out = 0, x.avail_out = y), S = inflate_1$2.inflate(x, _), S === Z_NEED_DICT$2 && $ && (S = inflate_1$2.inflateSetDictionary(x, $), S === Z_OK$4 ? S = inflate_1$2.inflate(x, _) : S === Z_DATA_ERROR$3 && (S = Z_NEED_DICT$2)); x.avail_in > 0 && S === Z_STREAM_END$4 && x.state.wrap > 0 && a[x.next_in] !== 0; )
101854
101854
  inflate_1$2.inflateReset(x), S = inflate_1$2.inflate(x, _);
101855
101855
  switch (S) {
@@ -105132,7 +105132,7 @@ strings$2.utf8border = function(a, s) {
105132
105132
  function ZStream$2() {
105133
105133
  this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0;
105134
105134
  }
105135
- var zstream = ZStream$2, zlib_deflate = deflate$3, utils$5 = common$1, strings$1 = strings$2, msg$1 = messages, ZStream$1 = zstream, toString$5 = Object.prototype.toString, Z_NO_FLUSH = 0, Z_FINISH$1 = 4, Z_OK$1 = 0, Z_STREAM_END$1 = 1, Z_SYNC_FLUSH = 2, Z_DEFAULT_COMPRESSION = -1, Z_DEFAULT_STRATEGY = 0, Z_DEFLATED$1 = 8;
105135
+ var zstream = ZStream$2, zlib_deflate = deflate$3, utils$5 = common$1, strings$1 = strings$2, msg$1 = messages, ZStream$1 = zstream, toString$4 = Object.prototype.toString, Z_NO_FLUSH = 0, Z_FINISH$1 = 4, Z_OK$1 = 0, Z_STREAM_END$1 = 1, Z_SYNC_FLUSH = 2, Z_DEFAULT_COMPRESSION = -1, Z_DEFAULT_STRATEGY = 0, Z_DEFLATED$1 = 8;
105136
105136
  function Deflate(a) {
105137
105137
  if (!(this instanceof Deflate))
105138
105138
  return new Deflate(a);
@@ -105159,7 +105159,7 @@ function Deflate(a) {
105159
105159
  throw new Error(msg$1[x]);
105160
105160
  if (s.header && zlib_deflate.deflateSetHeader(this.strm, s.header), s.dictionary) {
105161
105161
  var y;
105162
- if (typeof s.dictionary == "string" ? y = strings$1.string2buf(s.dictionary) : toString$5.call(s.dictionary) === "[object ArrayBuffer]" ? y = new Uint8Array(s.dictionary) : y = s.dictionary, x = zlib_deflate.deflateSetDictionary(this.strm, y), x !== Z_OK$1)
105162
+ if (typeof s.dictionary == "string" ? y = strings$1.string2buf(s.dictionary) : toString$4.call(s.dictionary) === "[object ArrayBuffer]" ? y = new Uint8Array(s.dictionary) : y = s.dictionary, x = zlib_deflate.deflateSetDictionary(this.strm, y), x !== Z_OK$1)
105163
105163
  throw new Error(msg$1[x]);
105164
105164
  this._dict_set = true;
105165
105165
  }
@@ -105168,7 +105168,7 @@ Deflate.prototype.push = function(a, s) {
105168
105168
  var x = this.strm, y = this.options.chunkSize, $, S;
105169
105169
  if (this.ended)
105170
105170
  return false;
105171
- S = s === ~~s ? s : s === true ? Z_FINISH$1 : Z_NO_FLUSH, typeof a == "string" ? x.input = strings$1.string2buf(a) : toString$5.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
105171
+ S = s === ~~s ? s : s === true ? Z_FINISH$1 : Z_NO_FLUSH, typeof a == "string" ? x.input = strings$1.string2buf(a) : toString$4.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
105172
105172
  do {
105173
105173
  if (x.avail_out === 0 && (x.output = new utils$5.Buf8(y), x.next_out = 0, x.avail_out = y), $ = zlib_deflate.deflate(x, S), $ !== Z_STREAM_END$1 && $ !== Z_OK$1)
105174
105174
  return this.onEnd($), this.ended = true, false;
@@ -106009,7 +106009,7 @@ var constants$1 = {
106009
106009
  function GZheader$1() {
106010
106010
  this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = false;
106011
106011
  }
106012
- var gzheader = GZheader$1, zlib_inflate = inflate$4, utils$2 = common$1, strings = strings$2, c = constants$1, msg = messages, ZStream = zstream, GZheader = gzheader, toString$4 = Object.prototype.toString;
106012
+ var gzheader = GZheader$1, zlib_inflate = inflate$4, utils$2 = common$1, strings = strings$2, c = constants$1, msg = messages, ZStream = zstream, GZheader = gzheader, toString$3 = Object.prototype.toString;
106013
106013
  function Inflate(a) {
106014
106014
  if (!(this instanceof Inflate))
106015
106015
  return new Inflate(a);
@@ -106026,14 +106026,14 @@ function Inflate(a) {
106026
106026
  );
106027
106027
  if (x !== c.Z_OK)
106028
106028
  throw new Error(msg[x]);
106029
- if (this.header = new GZheader(), zlib_inflate.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings.string2buf(s.dictionary) : toString$4.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && (x = zlib_inflate.inflateSetDictionary(this.strm, s.dictionary), x !== c.Z_OK)))
106029
+ if (this.header = new GZheader(), zlib_inflate.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings.string2buf(s.dictionary) : toString$3.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && (x = zlib_inflate.inflateSetDictionary(this.strm, s.dictionary), x !== c.Z_OK)))
106030
106030
  throw new Error(msg[x]);
106031
106031
  }
106032
106032
  Inflate.prototype.push = function(a, s) {
106033
106033
  var x = this.strm, y = this.options.chunkSize, $ = this.options.dictionary, S, _, E, A, w, T = false;
106034
106034
  if (this.ended)
106035
106035
  return false;
106036
- _ = s === ~~s ? s : s === true ? c.Z_FINISH : c.Z_NO_FLUSH, typeof a == "string" ? x.input = strings.binstring2buf(a) : toString$4.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
106036
+ _ = s === ~~s ? s : s === true ? c.Z_FINISH : c.Z_NO_FLUSH, typeof a == "string" ? x.input = strings.binstring2buf(a) : toString$3.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
106037
106037
  do {
106038
106038
  if (x.avail_out === 0 && (x.output = new utils$2.Buf8(y), x.next_out = 0, x.avail_out = y), S = zlib_inflate.inflate(x, c.Z_NO_FLUSH), S === c.Z_NEED_DICT && $ && (S = zlib_inflate.inflateSetDictionary(this.strm, $)), S === c.Z_BUF_ERROR && T === true && (S = c.Z_OK, T = false), S !== c.Z_STREAM_END && S !== c.Z_OK)
106039
106039
  return this.onEnd(S), this.ended = true, false;
@@ -123289,7 +123289,7 @@ const arrayBufferToBase64 = (a) => {
123289
123289
  options: x = {},
123290
123290
  children: y
123291
123291
  }) => {
123292
- const $ = useMemo$2(() => pluginRegistry(s), [s]), S = useMemo$2(() => x.font || getAllFonts(), [x.font]);
123292
+ const $ = useMemo$2(() => pluginRegistry(s), [s]), S = useMemo$2(() => x.font || getAllFontsWithGoogle(), [x.font]);
123293
123293
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
123294
123294
  AppContextProvider$1,
123295
123295
  {
@@ -138975,11 +138975,11 @@ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\
138975
138975
  }), s;
138976
138976
  });
138977
138977
  const stringToPath$1 = stringToPath;
138978
- function toString$3(a) {
138978
+ function toString$2(a) {
138979
138979
  return a == null ? "" : baseToString(a);
138980
138980
  }
138981
138981
  function castPath(a, s) {
138982
- return isArray$3(a) ? a : isKey(a, s) ? [a] : stringToPath$1(toString$3(a));
138982
+ return isArray$3(a) ? a : isKey(a, s) ? [a] : stringToPath$1(toString$2(a));
138983
138983
  }
138984
138984
  function toKey(a) {
138985
138985
  if (typeof a == "string" || isSymbol$2(a))
@@ -139508,7 +139508,7 @@ var objectProto$3 = Object.prototype, hasOwnProperty$4 = objectProto$3.hasOwnPro
139508
139508
  function baseHas(a, s) {
139509
139509
  return a != null && hasOwnProperty$4.call(a, s);
139510
139510
  }
139511
- function has$7(a, s) {
139511
+ function has$6(a, s) {
139512
139512
  return a != null && hasPath(a, s, baseHas);
139513
139513
  }
139514
139514
  function parent(a, s) {
@@ -140178,7 +140178,7 @@ var executeCallBack = function a(s, x, y, $) {
140178
140178
  allValues: x,
140179
140179
  flatValues: S
140180
140180
  }), Object.keys(y).forEach(function(_) {
140181
- if (has$7(S, _)) {
140181
+ if (has$6(S, _)) {
140182
140182
  var E = _get(S, _), A = E.value, w = E.index, T = y[_];
140183
140183
  executeCallBack(T, A, _, w);
140184
140184
  }
@@ -144365,17 +144365,25 @@ var _coreExports = _core.exports, _aFunction = function(a) {
144365
144365
  if (!isObject$3(a))
144366
144366
  throw TypeError(a + " is not an object!");
144367
144367
  return a;
144368
- }, _fails = function(a) {
144369
- try {
144370
- return !!a();
144371
- } catch {
144372
- return true;
144373
- }
144374
- }, _descriptors = !_fails(function() {
144375
- return Object.defineProperty({}, "a", { get: function() {
144376
- return 7;
144377
- } }).a != 7;
144378
- }), _domCreate, hasRequired_domCreate;
144368
+ }, _fails, hasRequired_fails;
144369
+ function require_fails() {
144370
+ return hasRequired_fails || (hasRequired_fails = 1, _fails = function(a) {
144371
+ try {
144372
+ return !!a();
144373
+ } catch {
144374
+ return true;
144375
+ }
144376
+ }), _fails;
144377
+ }
144378
+ var _descriptors, hasRequired_descriptors;
144379
+ function require_descriptors() {
144380
+ return hasRequired_descriptors || (hasRequired_descriptors = 1, _descriptors = !require_fails()(function() {
144381
+ return Object.defineProperty({}, "a", { get: function() {
144382
+ return 7;
144383
+ } }).a != 7;
144384
+ })), _descriptors;
144385
+ }
144386
+ var _domCreate, hasRequired_domCreate;
144379
144387
  function require_domCreate() {
144380
144388
  if (hasRequired_domCreate)
144381
144389
  return _domCreate;
@@ -144385,7 +144393,7 @@ function require_domCreate() {
144385
144393
  return x ? s.createElement(y) : {};
144386
144394
  }, _domCreate;
144387
144395
  }
144388
- var _ie8DomDefine = !_descriptors && !_fails(function() {
144396
+ var _ie8DomDefine = !require_descriptors() && !require_fails()(function() {
144389
144397
  return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
144390
144398
  return 7;
144391
144399
  } }).a != 7;
@@ -144397,7 +144405,7 @@ var _ie8DomDefine = !_descriptors && !_fails(function() {
144397
144405
  return y;
144398
144406
  throw TypeError("Can't convert object to primitive value");
144399
144407
  }, anObject$3 = _anObject, IE8_DOM_DEFINE$1 = _ie8DomDefine, toPrimitive$2 = _toPrimitive$5, dP$3 = Object.defineProperty;
144400
- _objectDp.f = _descriptors ? Object.defineProperty : function a(s, x, y) {
144408
+ _objectDp.f = require_descriptors() ? Object.defineProperty : function a(s, x, y) {
144401
144409
  if (anObject$3(s), x = toPrimitive$2(x, true), anObject$3(y), IE8_DOM_DEFINE$1)
144402
144410
  try {
144403
144411
  return dP$3(s, x, y);
@@ -144414,17 +144422,17 @@ var _propertyDesc = function(a, s) {
144414
144422
  writable: !(a & 4),
144415
144423
  value: s
144416
144424
  };
144417
- }, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide = _descriptors ? function(a, s, x) {
144425
+ }, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide = require_descriptors() ? function(a, s, x) {
144418
144426
  return dP$2.f(a, s, createDesc$2(1, x));
144419
144427
  } : function(a, s, x) {
144420
144428
  return a[s] = x, a;
144421
144429
  }, hasOwnProperty$1 = {}.hasOwnProperty, _has = function(a, s) {
144422
144430
  return hasOwnProperty$1.call(a, s);
144423
- }, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$2 = _hide, has$6 = _has, PROTOTYPE$2 = "prototype", $export$6 = function(a, s, x) {
144431
+ }, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$2 = _hide, has$5 = _has, PROTOTYPE$2 = "prototype", $export$6 = function(a, s, x) {
144424
144432
  var y = a & $export$6.F, $ = a & $export$6.G, S = a & $export$6.S, _ = a & $export$6.P, E = a & $export$6.B, A = a & $export$6.W, w = $ ? core$2 : core$2[s] || (core$2[s] = {}), T = w[PROTOTYPE$2], P = $ ? global$4 : S ? global$4[s] : (global$4[s] || {})[PROTOTYPE$2], C, R, I;
144425
144433
  $ && (x = s);
144426
144434
  for (C in x)
144427
- R = !y && P && P[C] !== void 0, !(R && has$6(w, C)) && (I = R ? P[C] : x[C], w[C] = $ && typeof P[C] != "function" ? x[C] : E && R ? ctx(I, global$4) : A && P[C] == I ? function(N) {
144435
+ R = !y && P && P[C] !== void 0, !(R && has$5(w, C)) && (I = R ? P[C] : x[C], w[C] = $ && typeof P[C] != "function" ? x[C] : E && R ? ctx(I, global$4) : A && P[C] == I ? function(N) {
144428
144436
  var M = function(D, B, F) {
144429
144437
  if (this instanceof N) {
144430
144438
  switch (arguments.length) {
@@ -144450,39 +144458,80 @@ $export$6.B = 16;
144450
144458
  $export$6.W = 32;
144451
144459
  $export$6.U = 64;
144452
144460
  $export$6.R = 128;
144453
- var _export = $export$6, toString$2 = {}.toString, _cof = function(a) {
144454
- return toString$2.call(a).slice(8, -1);
144455
- }, _iobject, hasRequired_iobject;
144461
+ var _export = $export$6, _cof, hasRequired_cof;
144462
+ function require_cof() {
144463
+ if (hasRequired_cof)
144464
+ return _cof;
144465
+ hasRequired_cof = 1;
144466
+ var a = {}.toString;
144467
+ return _cof = function(s) {
144468
+ return a.call(s).slice(8, -1);
144469
+ }, _cof;
144470
+ }
144471
+ var _iobject, hasRequired_iobject;
144456
144472
  function require_iobject() {
144457
144473
  if (hasRequired_iobject)
144458
144474
  return _iobject;
144459
144475
  hasRequired_iobject = 1;
144460
- var a = _cof;
144476
+ var a = require_cof();
144461
144477
  return _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(s) {
144462
144478
  return a(s) == "String" ? s.split("") : Object(s);
144463
144479
  }, _iobject;
144464
144480
  }
144465
- var _defined = function(a) {
144466
- if (a == null)
144467
- throw TypeError("Can't call method on " + a);
144468
- return a;
144469
- }, IObject = require_iobject(), defined$2 = _defined, _toIobject = function(a) {
144470
- return IObject(defined$2(a));
144481
+ var _defined, hasRequired_defined;
144482
+ function require_defined() {
144483
+ return hasRequired_defined || (hasRequired_defined = 1, _defined = function(a) {
144484
+ if (a == null)
144485
+ throw TypeError("Can't call method on " + a);
144486
+ return a;
144487
+ }), _defined;
144488
+ }
144489
+ var IObject = require_iobject(), defined$1 = require_defined(), _toIobject = function(a) {
144490
+ return IObject(defined$1(a));
144471
144491
  }, ceil = Math.ceil, floor = Math.floor, _toInteger = function(a) {
144472
144492
  return isNaN(a = +a) ? 0 : (a > 0 ? floor : ceil)(a);
144473
- }, toInteger$2 = _toInteger, min$1 = Math.min, _toLength = function(a) {
144474
- return a > 0 ? min$1(toInteger$2(a), 9007199254740991) : 0;
144475
- }, toInteger$1 = _toInteger, max = Math.max, min = Math.min, _toAbsoluteIndex = function(a, s) {
144476
- return a = toInteger$1(a), a < 0 ? max(a + s, 0) : min(a, s);
144477
- }, toIObject$5 = _toIobject, toLength = _toLength, toAbsoluteIndex = _toAbsoluteIndex, _arrayIncludes = function(a) {
144478
- return function(s, x, y) {
144479
- var $ = toIObject$5(s), S = toLength($.length), _ = toAbsoluteIndex(y, S);
144480
- for (; S > _; _++)
144481
- if ((_ in $) && $[_] === x)
144482
- return _ || 0;
144483
- return -1;
144484
- };
144485
- }, _shared = { exports: {} }, core$1 = _coreExports, global$3 = _globalExports, SHARED = "__core-js_shared__", store$1 = global$3[SHARED] || (global$3[SHARED] = {});
144493
+ }, _toLength, hasRequired_toLength;
144494
+ function require_toLength() {
144495
+ if (hasRequired_toLength)
144496
+ return _toLength;
144497
+ hasRequired_toLength = 1;
144498
+ var a = _toInteger, s = Math.min;
144499
+ return _toLength = function(x) {
144500
+ return x > 0 ? s(a(x), 9007199254740991) : 0;
144501
+ }, _toLength;
144502
+ }
144503
+ var _toAbsoluteIndex, hasRequired_toAbsoluteIndex;
144504
+ function require_toAbsoluteIndex() {
144505
+ if (hasRequired_toAbsoluteIndex)
144506
+ return _toAbsoluteIndex;
144507
+ hasRequired_toAbsoluteIndex = 1;
144508
+ var a = _toInteger, s = Math.max, x = Math.min;
144509
+ return _toAbsoluteIndex = function(y, $) {
144510
+ return y = a(y), y < 0 ? s(y + $, 0) : x(y, $);
144511
+ }, _toAbsoluteIndex;
144512
+ }
144513
+ var _arrayIncludes, hasRequired_arrayIncludes;
144514
+ function require_arrayIncludes() {
144515
+ if (hasRequired_arrayIncludes)
144516
+ return _arrayIncludes;
144517
+ hasRequired_arrayIncludes = 1;
144518
+ var a = _toIobject, s = require_toLength(), x = require_toAbsoluteIndex();
144519
+ return _arrayIncludes = function(y) {
144520
+ return function($, S, _) {
144521
+ var E = a($), A = s(E.length), w = x(_, A), T;
144522
+ if (y && S != S) {
144523
+ for (; A > w; )
144524
+ if (T = E[w++], T != T)
144525
+ return true;
144526
+ } else
144527
+ for (; A > w; w++)
144528
+ if ((y || w in E) && E[w] === S)
144529
+ return y || w || 0;
144530
+ return !y && -1;
144531
+ };
144532
+ }, _arrayIncludes;
144533
+ }
144534
+ var _shared = { exports: {} }, core$1 = _coreExports, global$3 = _globalExports, SHARED = "__core-js_shared__", store$1 = global$3[SHARED] || (global$3[SHARED] = {});
144486
144535
  (_shared.exports = function(a, s) {
144487
144536
  return store$1[a] || (store$1[a] = s !== void 0 ? s : {});
144488
144537
  })("versions", []).push({
@@ -144494,30 +144543,56 @@ var _sharedExports = _shared.exports, id$1 = 0, px = Math.random(), _uid = funct
144494
144543
  return "Symbol(".concat(a === void 0 ? "" : a, ")_", (++id$1 + px).toString(36));
144495
144544
  }, shared$1 = _sharedExports("keys"), uid$2 = _uid, _sharedKey = function(a) {
144496
144545
  return shared$1[a] || (shared$1[a] = uid$2(a));
144497
- }, has$5 = _has, toIObject$4 = _toIobject, arrayIndexOf = _arrayIncludes(), IE_PROTO$2 = _sharedKey("IE_PROTO"), _objectKeysInternal = function(a, s) {
144498
- var x = toIObject$4(a), y = 0, $ = [], S;
144499
- for (S in x)
144500
- S != IE_PROTO$2 && has$5(x, S) && $.push(S);
144501
- for (; s.length > y; )
144502
- has$5(x, S = s[y++]) && (~arrayIndexOf($, S) || $.push(S));
144503
- return $;
144504
- }, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), $keys$1 = _objectKeysInternal, enumBugKeys$1 = _enumBugKeys, _objectKeys = Object.keys || function a(s) {
144505
- return $keys$1(s, enumBugKeys$1);
144506
- }, _objectGops = {};
144507
- _objectGops.f = Object.getOwnPropertySymbols;
144546
+ }, _objectKeysInternal, hasRequired_objectKeysInternal;
144547
+ function require_objectKeysInternal() {
144548
+ if (hasRequired_objectKeysInternal)
144549
+ return _objectKeysInternal;
144550
+ hasRequired_objectKeysInternal = 1;
144551
+ var a = _has, s = _toIobject, x = require_arrayIncludes()(false), y = _sharedKey("IE_PROTO");
144552
+ return _objectKeysInternal = function($, S) {
144553
+ var _ = s($), E = 0, A = [], w;
144554
+ for (w in _)
144555
+ w != y && a(_, w) && A.push(w);
144556
+ for (; S.length > E; )
144557
+ a(_, w = S[E++]) && (~x(A, w) || A.push(w));
144558
+ return A;
144559
+ }, _objectKeysInternal;
144560
+ }
144561
+ var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), _objectKeys, hasRequired_objectKeys;
144562
+ function require_objectKeys() {
144563
+ if (hasRequired_objectKeys)
144564
+ return _objectKeys;
144565
+ hasRequired_objectKeys = 1;
144566
+ var a = require_objectKeysInternal(), s = _enumBugKeys;
144567
+ return _objectKeys = Object.keys || function(y) {
144568
+ return a(y, s);
144569
+ }, _objectKeys;
144570
+ }
144571
+ var _objectGops = {}, hasRequired_objectGops;
144572
+ function require_objectGops() {
144573
+ return hasRequired_objectGops || (hasRequired_objectGops = 1, _objectGops.f = Object.getOwnPropertySymbols), _objectGops;
144574
+ }
144508
144575
  var _objectPie = {}, hasRequired_objectPie;
144509
144576
  function require_objectPie() {
144510
144577
  return hasRequired_objectPie || (hasRequired_objectPie = 1, _objectPie.f = {}.propertyIsEnumerable), _objectPie;
144511
144578
  }
144512
- var defined$1 = _defined, _toObject = function(a) {
144513
- return Object(defined$1(a));
144514
- }, _objectAssign, hasRequired_objectAssign;
144579
+ var _toObject, hasRequired_toObject;
144580
+ function require_toObject() {
144581
+ if (hasRequired_toObject)
144582
+ return _toObject;
144583
+ hasRequired_toObject = 1;
144584
+ var a = require_defined();
144585
+ return _toObject = function(s) {
144586
+ return Object(a(s));
144587
+ }, _toObject;
144588
+ }
144589
+ var _objectAssign, hasRequired_objectAssign;
144515
144590
  function require_objectAssign() {
144516
144591
  if (hasRequired_objectAssign)
144517
144592
  return _objectAssign;
144518
144593
  hasRequired_objectAssign = 1;
144519
- var a = _descriptors, s = _objectKeys, x = _objectGops, y = require_objectPie(), $ = _toObject, S = require_iobject(), _ = Object.assign;
144520
- return _objectAssign = !_ || _fails(function() {
144594
+ var a = require_descriptors(), s = require_objectKeys(), x = require_objectGops(), y = require_objectPie(), $ = require_toObject(), S = require_iobject(), _ = Object.assign;
144595
+ return _objectAssign = !_ || require_fails()(function() {
144521
144596
  var E = {}, A = {}, w = Symbol(), T = "abcdefghijklmnopqrst";
144522
144597
  return E[w] = 7, T.split("").forEach(function(P) {
144523
144598
  A[P] = P;
@@ -145221,7 +145296,7 @@ var _default$7 = function(a, s) {
145221
145296
  if (!(a instanceof s))
145222
145297
  throw new TypeError("Cannot call a class as a function");
145223
145298
  }, $export$4 = _export;
145224
- $export$4($export$4.S + $export$4.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
145299
+ $export$4($export$4.S + $export$4.F * !require_descriptors(), "Object", { defineProperty: _objectDp.f });
145225
145300
  var $Object$1 = _coreExports.Object, defineProperty$2 = function a(s, x, y) {
145226
145301
  return $Object$1.defineProperty(s, x, y);
145227
145302
  }, defineProperty$1 = { default: defineProperty$2, __esModule: true }, _defineProperty$8 = defineProperty$1, _defineProperty2$1 = _interopRequireDefault$f(_defineProperty$8);
@@ -145238,12 +145313,12 @@ var _default$6 = function() {
145238
145313
  return function(s, x, y) {
145239
145314
  return x && a(s.prototype, x), y && a(s, y), s;
145240
145315
  };
145241
- }(), _typeof$i = {}, toInteger = _toInteger, defined = _defined, _stringAt = function(a) {
145316
+ }(), _typeof$i = {}, toInteger = _toInteger, defined = require_defined(), _stringAt = function(a) {
145242
145317
  return function(s, x) {
145243
145318
  var y = String(defined(s)), $ = toInteger(x), S = y.length, _, E;
145244
145319
  return $ < 0 || $ >= S ? "" : (_ = y.charCodeAt($), _ < 55296 || _ > 56319 || $ + 1 === S || (E = y.charCodeAt($ + 1)) < 56320 || E > 57343 ? y.charAt($) : y.slice($, $ + 2) );
145245
145320
  };
145246
- }, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$1 = _objectKeys, _objectDps = _descriptors ? Object.defineProperties : function a(s, x) {
145321
+ }, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$1 = require_objectKeys(), _objectDps = require_descriptors() ? Object.defineProperties : function a(s, x) {
145247
145322
  anObject$2(s);
145248
145323
  for (var y = getKeys$1(x), $ = y.length, S = 0, _; $ > S; )
145249
145324
  dP$1.f(s, _ = y[S++], x[_]);
@@ -145277,7 +145352,7 @@ _hide(IteratorPrototype, _wksExports("iterator"), function() {
145277
145352
  });
145278
145353
  var _iterCreate = function(a, s, x) {
145279
145354
  a.prototype = create$2(IteratorPrototype, { next: descriptor(1, x) }), setToStringTag$2(a, s + " Iterator");
145280
- }, has$3 = _has, toObject$1 = _toObject, IE_PROTO = _sharedKey("IE_PROTO"), ObjectProto$1 = Object.prototype, _objectGpo = Object.getPrototypeOf || function(a) {
145355
+ }, has$3 = _has, toObject$1 = require_toObject(), IE_PROTO = _sharedKey("IE_PROTO"), ObjectProto$1 = Object.prototype, _objectGpo = Object.getPrototypeOf || function(a) {
145281
145356
  return a = toObject$1(a), has$3(a, IE_PROTO) ? a[IE_PROTO] : typeof a.constructor == "function" && a instanceof a.constructor ? a.constructor.prototype : a instanceof Object ? ObjectProto$1 : null;
145282
145357
  }, $export$3 = _export, Iterators$2 = _iterators, $iterCreate = _iterCreate, setToStringTag$1 = _setToStringTag, getPrototypeOf = _objectGpo, ITERATOR = _wksExports("iterator"), BUGGY = !([].keys && "next" in [].keys()), FF_ITERATOR = "@@iterator", KEYS = "keys", VALUES = "values", returnThis = function() {
145283
145358
  return this;
@@ -145338,7 +145413,7 @@ var _wksExt = {};
145338
145413
  _wksExt.f = _wksExports;
145339
145414
  var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esModule: true }, _meta = { exports: {} }, META$1 = _uid("meta"), isObject$1 = _isObject, has$2 = _has, setDesc = _objectDp.f, id = 0, isExtensible = Object.isExtensible || function() {
145340
145415
  return true;
145341
- }, FREEZE = !_fails(function() {
145416
+ }, FREEZE = !require_fails()(function() {
145342
145417
  return isExtensible(Object.preventExtensions({}));
145343
145418
  }), setMeta = function(a) {
145344
145419
  setDesc(a, META$1, { value: {
@@ -145378,25 +145453,19 @@ var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esMo
145378
145453
  }, _metaExports = _meta.exports, core = _coreExports, wksExt$1 = _wksExt, defineProperty = _objectDp.f, _wksDefine = function(a) {
145379
145454
  var s = core.Symbol || (core.Symbol = {});
145380
145455
  a.charAt(0) != "_" && !(a in s) && defineProperty(s, a, { value: wksExt$1.f(a) });
145381
- }, getKeys = _objectKeys, gOPS = _objectGops, pIE$1 = require_objectPie(), _enumKeys = function(a) {
145456
+ }, getKeys = require_objectKeys(), gOPS = require_objectGops(), pIE$1 = require_objectPie(), _enumKeys = function(a) {
145382
145457
  var s = getKeys(a), x = gOPS.f;
145383
145458
  if (x)
145384
145459
  for (var y = x(a), $ = pIE$1.f, S = 0, _; y.length > S; )
145385
145460
  $.call(a, _ = y[S++]) && s.push(_);
145386
145461
  return s;
145387
- }, cof = _cof, _isArray = Array.isArray || function a(s) {
145462
+ }, cof = require_cof(), _isArray = Array.isArray || function a(s) {
145388
145463
  return cof(s) == "Array";
145389
- }, _objectGopnExt = {}, _objectGopn = {}, hasRequired_objectGopn;
145390
- function require_objectGopn() {
145391
- if (hasRequired_objectGopn)
145392
- return _objectGopn;
145393
- hasRequired_objectGopn = 1;
145394
- var a = _objectKeysInternal, s = _enumBugKeys.concat("length", "prototype");
145395
- return _objectGopn.f = Object.getOwnPropertyNames || function(y) {
145396
- return a(y, s);
145397
- }, _objectGopn;
145398
- }
145399
- var toIObject$2 = _toIobject, gOPN$1 = require_objectGopn().f, toString$1 = {}.toString, windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], getWindowNames = function(a) {
145464
+ }, _objectGopnExt = {}, _objectGopn = {}, $keys$1 = require_objectKeysInternal(), hiddenKeys = _enumBugKeys.concat("length", "prototype");
145465
+ _objectGopn.f = Object.getOwnPropertyNames || function a(s) {
145466
+ return $keys$1(s, hiddenKeys);
145467
+ };
145468
+ var toIObject$2 = _toIobject, gOPN$1 = _objectGopn.f, toString$1 = {}.toString, windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], getWindowNames = function(a) {
145400
145469
  try {
145401
145470
  return gOPN$1(a);
145402
145471
  } catch {
@@ -145407,7 +145476,7 @@ _objectGopnExt.f = function a(s) {
145407
145476
  return windowNames && toString$1.call(s) == "[object Window]" ? getWindowNames(s) : gOPN$1(toIObject$2(s));
145408
145477
  };
145409
145478
  var _objectGopd = {}, pIE = require_objectPie(), createDesc$1 = _propertyDesc, toIObject$1 = _toIobject, toPrimitive$1 = _toPrimitive$5, has$1 = _has, IE8_DOM_DEFINE = _ie8DomDefine, gOPD$1 = Object.getOwnPropertyDescriptor;
145410
- _objectGopd.f = _descriptors ? gOPD$1 : function a(s, x) {
145479
+ _objectGopd.f = require_descriptors() ? gOPD$1 : function a(s, x) {
145411
145480
  if (s = toIObject$1(s), x = toPrimitive$1(x, true), IE8_DOM_DEFINE)
145412
145481
  try {
145413
145482
  return gOPD$1(s, x);
@@ -145416,7 +145485,7 @@ _objectGopd.f = _descriptors ? gOPD$1 : function a(s, x) {
145416
145485
  if (has$1(s, x))
145417
145486
  return createDesc$1(!pIE.f.call(s, x), s[x]);
145418
145487
  };
145419
- var global$1 = _globalExports, has = _has, DESCRIPTORS = _descriptors, $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails = _fails, shared = _sharedExports, setToStringTag = _setToStringTag, uid = _uid, wks = _wksExports, wksExt = _wksExt, wksDefine = _wksDefine, enumKeys = _enumKeys, isArray = _isArray, anObject = _anObject, isObject = _isObject, toObject = _toObject, toIObject = _toIobject, toPrimitive = _toPrimitive$5, createDesc = _propertyDesc, _create$1 = _objectCreate, gOPNExt = _objectGopnExt, $GOPD = _objectGopd, $GOPS = _objectGops, $DP = _objectDp, $keys = _objectKeys, gOPD = $GOPD.f, dP = $DP.f, gOPN = gOPNExt.f, $Symbol = global$1.Symbol, $JSON = global$1.JSON, _stringify = $JSON && $JSON.stringify, PROTOTYPE = "prototype", HIDDEN = wks("_hidden"), TO_PRIMITIVE = wks("toPrimitive"), isEnum = {}.propertyIsEnumerable, SymbolRegistry = shared("symbol-registry"), AllSymbols = shared("symbols"), OPSymbols = shared("op-symbols"), ObjectProto = Object[PROTOTYPE], USE_NATIVE = typeof $Symbol == "function" && !!$GOPS.f, QObject = global$1.QObject, setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild, setSymbolDesc = DESCRIPTORS && $fails(function() {
145488
+ var global$1 = _globalExports, has = _has, DESCRIPTORS = require_descriptors(), $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails = require_fails(), shared = _sharedExports, setToStringTag = _setToStringTag, uid = _uid, wks = _wksExports, wksExt = _wksExt, wksDefine = _wksDefine, enumKeys = _enumKeys, isArray = _isArray, anObject = _anObject, isObject = _isObject, toObject = require_toObject(), toIObject = _toIobject, toPrimitive = _toPrimitive$5, createDesc = _propertyDesc, _create$1 = _objectCreate, gOPNExt = _objectGopnExt, $GOPD = _objectGopd, $GOPS = require_objectGops(), $DP = _objectDp, $keys = require_objectKeys(), gOPD = $GOPD.f, dP = $DP.f, gOPN = gOPNExt.f, $Symbol = global$1.Symbol, $JSON = global$1.JSON, _stringify = $JSON && $JSON.stringify, PROTOTYPE = "prototype", HIDDEN = wks("_hidden"), TO_PRIMITIVE = wks("toPrimitive"), isEnum = {}.propertyIsEnumerable, SymbolRegistry = shared("symbol-registry"), AllSymbols = shared("symbols"), OPSymbols = shared("op-symbols"), ObjectProto = Object[PROTOTYPE], USE_NATIVE = typeof $Symbol == "function" && !!$GOPS.f, QObject = global$1.QObject, setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild, setSymbolDesc = DESCRIPTORS && $fails(function() {
145420
145489
  return _create$1(dP({}, "a", {
145421
145490
  get: function() {
145422
145491
  return dP(this, "a", { value: 7 }).a;
@@ -145467,7 +145536,7 @@ USE_NATIVE || ($Symbol = function() {
145467
145536
  return DESCRIPTORS && setter && setSymbolDesc(ObjectProto, s, { configurable: true, set: x }), wrap(s);
145468
145537
  }, redefine($Symbol[PROTOTYPE], "toString", function() {
145469
145538
  return this._k;
145470
- }), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty, require_objectGopn().f = gOPNExt.f = $getOwnPropertyNames, require_objectPie().f = $propertyIsEnumerable, $GOPS.f = $getOwnPropertySymbols, wksExt.f = function(a) {
145539
+ }), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty, _objectGopn.f = gOPNExt.f = $getOwnPropertyNames, require_objectPie().f = $propertyIsEnumerable, $GOPS.f = $getOwnPropertySymbols, wksExt.f = function(a) {
145471
145540
  return wrap(wks(a));
145472
145541
  });
145473
145542
  $export$2($export$2.G + $export$2.W + $export$2.F * !USE_NATIVE, { Symbol: $Symbol });
@@ -154665,21 +154734,26 @@ const FormRenderComponent = withProvider(FormCore, defaultWidgets), AlignWidget
154665
154734
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: s, children: /* @__PURE__ */ jsxRuntimeExports.jsx(LoaderCircle, { size: 50, style: x }) })
154666
154735
  ] });
154667
154736
  }, Spinner$1 = Spinner, Root = ({ size: a, scale: s, children: x }, y) => {
154668
- const $ = useContext$1(FontContext), S = useRef$1(/* @__PURE__ */ new Set());
154737
+ const $ = useContext$1(FontContext), S = useRef$1(/* @__PURE__ */ new Set()), _ = useCallback((E, A) => {
154738
+ if (S.current.has(E) || !(document != null && document.fonts))
154739
+ return;
154740
+ const w = new FontFace(E, typeof A == "string" ? `url(${A})` : A, {
154741
+ display: "swap"
154742
+ });
154743
+ w.load().then(() => {
154744
+ document.fonts.add(w), S.current.add(E);
154745
+ }).catch(() => {
154746
+ });
154747
+ }, []);
154669
154748
  return useEffect$2(() => {
154670
154749
  if (!document || !document.fonts)
154671
154750
  return;
154672
- const E = Object.entries($).filter(([A]) => !S.current.has(A)).map(
154673
- ([A, { data: w }]) => new FontFace(A, typeof w == "string" ? `url(${w})` : w, {
154674
- display: "swap"
154675
- })
154751
+ const E = Object.entries($).filter(
154752
+ ([A]) => !S.current.has(A) && !isGoogleFont(A)
154676
154753
  );
154677
- Promise.allSettled(E.map((A) => A.load())).then((A) => {
154678
- A.forEach((w, T) => {
154679
- w.status === "fulfilled" && (document.fonts.add(E[T]), S.current.add(E[T].family));
154680
- });
154681
- });
154682
- }, [$]), /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: DESIGNER_CLASSNAME + "root", ref: y, style: { position: "relative", background: BACKGROUND_COLOR, ...a }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: DESIGNER_CLASSNAME + "background", style: { margin: "0 auto", ...a }, children: s === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(Spinner$1, {}) : x }) });
154754
+ for (const [A, { data: w }] of E)
154755
+ _(A, w);
154756
+ }, [$, _]), /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: DESIGNER_CLASSNAME + "root", ref: y, style: { position: "relative", background: BACKGROUND_COLOR, ...a }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: DESIGNER_CLASSNAME + "background", style: { margin: "0 auto", ...a }, children: s === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(Spinner$1, {}) : x }) });
154683
154757
  }, Root$1 = forwardRef(Root), scaleDragPosAdjustment = (a, s) => s > 1 ? a * (s - 1) : s < 1 ? a * -(1 - s) : 0, Canvas = ({
154684
154758
  style: a,
154685
154759
  className: s,
@@ -154938,7 +155012,7 @@ const FormRenderComponent = withProvider(FormCore, defaultWidgets), AlignWidget
154938
155012
  return a;
154939
155013
  };
154940
155014
  async function convertPdfToBase64(a) {
154941
- const { getB64BasePdf: s } = await import('./chunks/index-d0iAk7OA.js'), x = await a.arrayBuffer();
155015
+ const { getB64BasePdf: s } = await import('./chunks/index-CDhErAtE.js'), x = await a.arrayBuffer();
154942
155016
  return s(new Uint8Array(x));
154943
155017
  }
154944
155018
  const ENCODING_MAPPING = {
@@ -169930,4 +170004,4 @@ Check this document: https://pdfme.com/docs/custom-schemas`);
169930
170004
  Barcode: dynamicBarcode
169931
170005
  };
169932
170006
 
169933
- export { Canvas, PdfmeProvider, PropPanel, SchemaList, convertPdfToBase64, generate$1 as generate, getAllFonts, getDefaultFont, plugins, useDesigner, useDesignerContext };
170007
+ export { Canvas, PdfmeProvider, PropPanel, SchemaList, convertPdfToBase64, generate$1 as generate, getAllFontsWithGoogle, getDefaultFont, isGoogleFont, plugins, useDesigner, useDesignerContext };
@@ -1,9 +1,9 @@
1
- import { m as propPanel$1, p as pdfRender$2, u as uiRender$2, c as createSvgStr, d as convertForPdfLayoutProps, i as isEditable, a as addAlphaToHex, k as createErrorElm, D as DEFAULT_OPACITY, H as HEX_COLOR_PATTERN, n as getBodyWithRange, o as createSingleTable, q as getBody, f as getDefaultCellStyles, t as getColumnStylesPropPanelSchema, v as getCellPropPanelSchema, w as DEFAULT_FONT_COLOR, x as DEFAULT_CHARACTER_SPACING, y as DEFAULT_FONT_SIZE, z as DEFAULT_ALIGNMENT, A as getExtraFormatterSchema, F as Formatter, B as DEFAULT_LINE_HEIGHT, V as VERTICAL_ALIGN_MIDDLE, C as mapVerticalAlignToFlex } from './chunks/index-CwqHuiCe.js';
2
- export { b as builtInPlugins, g as getDynamicHeightsForTable, s as multiVariableText } from './chunks/index-CwqHuiCe.js';
3
- import { c as validateBarcodeInput, f as createBarCode, D as DEFAULT_BARCODE_COLOR, g as DEFAULT_BARCODE_BG_COLOR, h as DEFAULT_BARCODE_INCLUDETEXT, B as BARCODE_TYPES, r as rectangle, j as cellSchema } from './chunks/index-Rwcd_Vzj.js';
4
- export { d as dynamicBarcode, a as dynamicQrCode, b as dynamicTable, e as ellipse, i as image, l as line, s as signature, v as variableBarcodes } from './chunks/index-Rwcd_Vzj.js';
1
+ import { m as propPanel$1, p as pdfRender$2, u as uiRender$2, c as createSvgStr, d as convertForPdfLayoutProps, i as isEditable, a as addAlphaToHex, k as createErrorElm, D as DEFAULT_OPACITY, H as HEX_COLOR_PATTERN, n as getBodyWithRange, o as createSingleTable, q as getBody, f as getDefaultCellStyles, t as getColumnStylesPropPanelSchema, v as getCellPropPanelSchema, w as DEFAULT_FONT_COLOR, x as DEFAULT_CHARACTER_SPACING, y as DEFAULT_FONT_SIZE, z as DEFAULT_ALIGNMENT, A as getExtraFormatterSchema, F as Formatter, B as DEFAULT_LINE_HEIGHT, V as VERTICAL_ALIGN_MIDDLE, C as mapVerticalAlignToFlex } from './chunks/index-C7jr4GIK.js';
2
+ export { b as builtInPlugins, g as getDynamicHeightsForTable, s as multiVariableText } from './chunks/index-C7jr4GIK.js';
3
+ import { c as validateBarcodeInput, f as createBarCode, D as DEFAULT_BARCODE_COLOR, g as DEFAULT_BARCODE_BG_COLOR, h as DEFAULT_BARCODE_INCLUDETEXT, B as BARCODE_TYPES, r as rectangle, j as cellSchema } from './chunks/index-C4F7EwBG.js';
4
+ export { d as dynamicBarcode, a as dynamicQrCode, b as dynamicTable, e as ellipse, i as image, l as line, s as signature, v as variableBarcodes } from './chunks/index-C4F7EwBG.js';
5
5
  import { TextCursorInput, Route, QrCode, Barcode, Table, CalendarClock, Calendar, Clock, ChevronDown, CircleDot, Circle, SquareCheck, Square } from 'lucide';
6
- import { x as px2mm, Z as ZOOM, q as getFallbackFontName, D as DEFAULT_FONT_NAME } from './chunks/helper-C8LqGaF4.js';
6
+ import { E as px2mm, Z as ZOOM, r as getFallbackFontName, D as DEFAULT_FONT_NAME } from './chunks/helper-D5PPN6Bv.js';
7
7
  import AirDatepicker from 'air-datepicker';
8
8
  import localeAr from 'air-datepicker/locale/ar';
9
9
  import localeBg from 'air-datepicker/locale/bg';