@campxdev/pdfme 1.2.1 → 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 (32) hide show
  1. package/dist/cjs/chunks/{helper-C2o2tpNj.js → helper-BfoMn47R.js} +16955 -4
  2. package/dist/cjs/chunks/{index-dHRmLCnu.js → index-C8qZMUOU.js} +2 -2
  3. package/dist/cjs/chunks/{index-qB7eb2BC.js → index-COKtXyPp.js} +6 -2
  4. package/dist/cjs/chunks/{index-CXm3doOM.js → index-CVqJfcgy.js} +101 -36
  5. package/dist/cjs/chunks/{pluginRegistry-Ba3ANzzx.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 +122 -140
  11. package/dist/cjs/schemas.js +3 -3
  12. package/dist/cjs/ui.js +83020 -72511
  13. package/dist/esm/chunks/{helper-D7XF1bxK.js → helper-D5PPN6Bv.js} +16952 -5
  14. package/dist/esm/chunks/{index-pDt5vVVj.js → index-C4F7EwBG.js} +2 -2
  15. package/dist/esm/chunks/{index-qTsnfbi7.js → index-C7jr4GIK.js} +102 -37
  16. package/dist/esm/chunks/{index-D1FuD_XZ.js → index-CDhErAtE.js} +3 -3
  17. package/dist/esm/chunks/{pluginRegistry-DEA2P0ud.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 +121 -142
  23. package/dist/esm/schemas.js +5 -5
  24. package/dist/esm/ui.js +83020 -72511
  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/fontCache.d.ts +10 -0
  32. 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-D7XF1bxK.js';
4
- export { o as getBuiltinFontsData, r as getInputFromTemplate } from './chunks/helper-D7XF1bxK.js';
5
- import { p as pluginRegistry, g as getDynamicTemplate } from './chunks/pluginRegistry-DEA2P0ud.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-qTsnfbi7.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-pDt5vVVj.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';
@@ -1919,7 +1919,7 @@ var parseStyle = function a(s) {
1919
1919
  function uniqueHash(a, s) {
1920
1920
  return murmur2("".concat(a.join("%")).concat(s));
1921
1921
  }
1922
- function Empty$3() {
1922
+ function Empty$4() {
1923
1923
  return null;
1924
1924
  }
1925
1925
  var STYLE_PREFIX = "style";
@@ -1989,7 +1989,7 @@ function useStyleRegister(a, s) {
1989
1989
  ), V = _slicedToArray$e(z, 3), U = V[0], G = V[1], Z = V[2];
1990
1990
  return function(ie) {
1991
1991
  var J;
1992
- return !N || H || !C ? J = /* @__PURE__ */ React$c.createElement(Empty$3, null) : J = /* @__PURE__ */ React$c.createElement("style", _extends$1({}, _defineProperty$c(_defineProperty$c({}, ATTR_TOKEN, G), ATTR_MARK, Z), {
1992
+ return !N || H || !C ? J = /* @__PURE__ */ React$c.createElement(Empty$4, null) : J = /* @__PURE__ */ React$c.createElement("style", _extends$1({}, _defineProperty$c(_defineProperty$c({}, ATTR_TOKEN, G), ATTR_MARK, Z), {
1993
1993
  dangerouslySetInnerHTML: {
1994
1994
  __html: U
1995
1995
  }
@@ -15593,7 +15593,7 @@ function getStatusClassNames(a, s, x) {
15593
15593
  [`${a}-has-feedback`]: x
15594
15594
  });
15595
15595
  }
15596
- const getMergedStatus = (a, s) => s || a, Empty$2 = () => {
15596
+ const getMergedStatus = (a, s) => s || a, Empty$3 = () => {
15597
15597
  const [, a] = useToken$1(), [s] = useLocale$2("Empty"), y = new FastColor(a.colorBgBase).toHsl().l < 0.5 ? {
15598
15598
  opacity: 0.65
15599
15599
  } : {};
@@ -15642,7 +15642,7 @@ const getMergedStatus = (a, s) => s || a, Empty$2 = () => {
15642
15642
  }), /* @__PURE__ */ React$c.createElement("path", {
15643
15643
  d: "M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"
15644
15644
  }))));
15645
- }, DefaultEmptyImg = Empty$2, Simple = () => {
15645
+ }, DefaultEmptyImg = Empty$3, Simple = () => {
15646
15646
  const [, a] = useToken$1(), [s] = useLocale$2("Empty"), {
15647
15647
  colorFill: x,
15648
15648
  colorFillTertiary: y,
@@ -15758,7 +15758,7 @@ var __rest$$ = globalThis && globalThis.__rest || function(a, s) {
15758
15758
  s.indexOf(y[$]) < 0 && Object.prototype.propertyIsEnumerable.call(a, y[$]) && (x[y[$]] = a[y[$]]);
15759
15759
  return x;
15760
15760
  };
15761
- const defaultEmptyImg = /* @__PURE__ */ React$c.createElement(DefaultEmptyImg, null), simpleEmptyImg = /* @__PURE__ */ React$c.createElement(SimpleEmptyImg, null), Empty = (a) => {
15761
+ const defaultEmptyImg = /* @__PURE__ */ React$c.createElement(DefaultEmptyImg, null), simpleEmptyImg = /* @__PURE__ */ React$c.createElement(SimpleEmptyImg, null), Empty$1 = (a) => {
15762
15762
  var s;
15763
15763
  const {
15764
15764
  className: x,
@@ -15802,9 +15802,9 @@ const defaultEmptyImg = /* @__PURE__ */ React$c.createElement(DefaultEmptyImg, n
15802
15802
  style: Object.assign(Object.assign({}, B.footer), P == null ? void 0 : P.footer)
15803
15803
  }, E)));
15804
15804
  };
15805
- Empty.PRESENTED_IMAGE_DEFAULT = defaultEmptyImg;
15806
- Empty.PRESENTED_IMAGE_SIMPLE = simpleEmptyImg;
15807
- const Empty$1 = Empty, DefaultRenderEmpty = (a) => {
15805
+ Empty$1.PRESENTED_IMAGE_DEFAULT = defaultEmptyImg;
15806
+ Empty$1.PRESENTED_IMAGE_SIMPLE = simpleEmptyImg;
15807
+ const Empty$2 = Empty$1, DefaultRenderEmpty = (a) => {
15808
15808
  const {
15809
15809
  componentName: s
15810
15810
  } = a, {
@@ -15813,22 +15813,22 @@ const Empty$1 = Empty, DefaultRenderEmpty = (a) => {
15813
15813
  switch (s) {
15814
15814
  case "Table":
15815
15815
  case "List":
15816
- return /* @__PURE__ */ React$c__default.createElement(Empty$1, {
15817
- image: Empty$1.PRESENTED_IMAGE_SIMPLE
15816
+ return /* @__PURE__ */ React$c__default.createElement(Empty$2, {
15817
+ image: Empty$2.PRESENTED_IMAGE_SIMPLE
15818
15818
  });
15819
15819
  case "Select":
15820
15820
  case "TreeSelect":
15821
15821
  case "Cascader":
15822
15822
  case "Transfer":
15823
15823
  case "Mentions":
15824
- return /* @__PURE__ */ React$c__default.createElement(Empty$1, {
15825
- image: Empty$1.PRESENTED_IMAGE_SIMPLE,
15824
+ return /* @__PURE__ */ React$c__default.createElement(Empty$2, {
15825
+ image: Empty$2.PRESENTED_IMAGE_SIMPLE,
15826
15826
  className: `${y}-small`
15827
15827
  });
15828
15828
  case "Table.filter":
15829
15829
  return null;
15830
15830
  default:
15831
- return /* @__PURE__ */ React$c__default.createElement(Empty$1, null);
15831
+ return /* @__PURE__ */ React$c__default.createElement(Empty$2, null);
15832
15832
  }
15833
15833
  }, DefaultRenderEmpty$1 = DefaultRenderEmpty, useVariant = (a, s, x) => {
15834
15834
  var y, $;
@@ -36898,10 +36898,10 @@ var _excluded$j = ["visible", "onVisibleChange", "getContainer", "current", "mov
36898
36898
  imageRender: V,
36899
36899
  onChange: ye
36900
36900
  }, U)));
36901
- }, uid$3 = 0;
36901
+ }, uid$4 = 0;
36902
36902
  function useRegisterImage(a, s) {
36903
36903
  var x = React$c.useState(function() {
36904
- return uid$3 += 1, String(uid$3);
36904
+ return uid$4 += 1, String(uid$4);
36905
36905
  }), y = _slicedToArray$e(x, 1), $ = y[0], S = React$c.useContext(PreviewGroupContext), _ = {
36906
36906
  data: s,
36907
36907
  canPreview: a
@@ -45991,8 +45991,8 @@ const FilterDropdown = (a) => {
45991
45991
  else {
45992
45992
  const we = ee() || [], Re = () => {
45993
45993
  var Pe, Ie;
45994
- const Te = (Pe = Ee == null ? void 0 : Ee("Table.filter")) !== null && Pe !== void 0 ? Pe : /* @__PURE__ */ React$c.createElement(Empty$1, {
45995
- image: Empty$1.PRESENTED_IMAGE_SIMPLE,
45994
+ const Te = (Pe = Ee == null ? void 0 : Ee("Table.filter")) !== null && Pe !== void 0 ? Pe : /* @__PURE__ */ React$c.createElement(Empty$2, {
45995
+ image: Empty$2.PRESENTED_IMAGE_SIMPLE,
45996
45996
  description: M.filterEmptyText,
45997
45997
  styles: {
45998
45998
  image: {
@@ -50326,7 +50326,7 @@ var traverseFileTree = /* @__PURE__ */ function() {
50326
50326
  return a.apply(this, arguments);
50327
50327
  };
50328
50328
  }(), now$1 = +/* @__PURE__ */ new Date(), index$n = 0;
50329
- function uid$2() {
50329
+ function uid$3() {
50330
50330
  return "rc-upload-".concat(now$1, "-").concat(++index$n);
50331
50331
  }
50332
50332
  var _excluded$1 = ["component", "prefixCls", "className", "classNames", "disabled", "id", "name", "style", "styles", "multiple", "accept", "capture", "children", "directory", "folder", "openFileDialogOnClick", "onMouseEnter", "onMouseLeave", "hasControlInside"], AjaxUploader = /* @__PURE__ */ function(a) {
@@ -50338,7 +50338,7 @@ var _excluded$1 = ["component", "prefixCls", "className", "classNames", "disable
50338
50338
  for (var $ = arguments.length, S = new Array($), _ = 0; _ < $; _++)
50339
50339
  S[_] = arguments[_];
50340
50340
  return y = s.call.apply(s, [this].concat(S)), _defineProperty$c(_assertThisInitialized(y), "state", {
50341
- uid: uid$2()
50341
+ uid: uid$3()
50342
50342
  }), _defineProperty$c(_assertThisInitialized(y), "reqs", {}), _defineProperty$c(_assertThisInitialized(y), "fileInput", void 0), _defineProperty$c(_assertThisInitialized(y), "_isMounted", void 0), _defineProperty$c(_assertThisInitialized(y), "onChange", function(E) {
50343
50343
  var A = y.props, w = A.accept, T = A.directory, P = E.target.files, C = _toConsumableArray$e(P).filter(function(R) {
50344
50344
  return !T || attrAccept(R, w);
@@ -50442,7 +50442,7 @@ var _excluded$1 = ["component", "prefixCls", "className", "classNames", "disable
50442
50442
  };
50443
50443
  }()), _defineProperty$c(_assertThisInitialized(y), "uploadFiles", function(E) {
50444
50444
  var A = _toConsumableArray$e(E), w = A.map(function(T) {
50445
- return T.uid = uid$2(), y.processFile(T, A);
50445
+ return T.uid = uid$3(), y.processFile(T, A);
50446
50446
  });
50447
50447
  Promise.all(w).then(function(T) {
50448
50448
  var P = y.props.onBatchStart;
@@ -50585,7 +50585,7 @@ var _excluded$1 = ["component", "prefixCls", "className", "classNames", "disable
50585
50585
  key: "reset",
50586
50586
  value: function() {
50587
50587
  this.setState({
50588
- uid: uid$2()
50588
+ uid: uid$3()
50589
50589
  });
50590
50590
  }
50591
50591
  }, {
@@ -52785,7 +52785,7 @@ function getMods(a, s) {
52785
52785
  x[y] = a[x[y].toLowerCase()];
52786
52786
  return x;
52787
52787
  }
52788
- function getKeys$2(a) {
52788
+ function getKeys$3(a) {
52789
52789
  typeof a != "string" && (a = ""), a = a.replace(/\s/g, "");
52790
52790
  const s = a.split(",");
52791
52791
  let x = s.lastIndexOf("");
@@ -52991,7 +52991,7 @@ const eachUnbind = (a) => {
52991
52991
  method: y,
52992
52992
  splitKey: $ = "+"
52993
52993
  } = a;
52994
- getKeys$2(s).forEach((_) => {
52994
+ getKeys$3(s).forEach((_) => {
52995
52995
  const E = _.split($), A = E.length, w = E[A - 1], T = w === "*" ? "*" : code$1(w);
52996
52996
  if (!_handlers[T])
52997
52997
  return;
@@ -53054,7 +53054,7 @@ function dispatch(a, s) {
53054
53054
  }
53055
53055
  function hotkeys$1(a, s, x) {
53056
53056
  _downKeys = [];
53057
- const y = getKeys$2(a);
53057
+ const y = getKeys$3(a);
53058
53058
  let $ = [], S = "all", _ = document, E = 0, A = false, w = true, T = "+", P = false, C = false;
53059
53059
  for (x === void 0 && typeof s == "function" && (x = s), Object.prototype.toString.call(s) === "[object Object]" && (s.scope && (S = s.scope), s.element && (_ = s.element), s.keyup && (A = s.keyup), s.keydown !== void 0 && (w = s.keydown), s.capture !== void 0 && (P = s.capture), typeof s.splitKey == "string" && (T = s.splitKey), s.single === true && (C = true)), typeof s == "string" && (S = s), C && unbind(a, S); E < y.length; E++)
53060
53060
  a = y[E].split(T), $ = [], a.length > 1 && ($ = getMods(_modifier, a)), a = a[a.length - 1], a = a === "*" ? "*" : code$1(a), a in _handlers || (_handlers[a] = []), _handlers[a].push({
@@ -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
  {
@@ -126341,7 +126341,7 @@ var requestAnimationFrame$1 = /* @__PURE__ */ function() {
126341
126341
  clearTimeout(s);
126342
126342
  };
126343
126343
  }();
126344
- function getKeys$1(a) {
126344
+ function getKeys$2(a) {
126345
126345
  return Object.keys(a);
126346
126346
  }
126347
126347
  function convertUnitSize(a, s) {
@@ -130048,7 +130048,7 @@ function renderDirectionControlsByInfos(a, s, x, y) {
130048
130048
  return null;
130049
130049
  C[D] = true;
130050
130050
  var F = (throttle(w, 15) + R * DIRECTION_ROTATIONS[D] + 720) % 180, L = {};
130051
- return getKeys$1(N).forEach(function(O) {
130051
+ return getKeys$2(N).forEach(function(O) {
130052
130052
  L["data-".concat(O)] = N[O];
130053
130053
  }), y.createElement("div", __assign$1({ className: prefix$2.apply(void 0, __spreadArray$1(["control", "direction", D, s], __read(M), false)), "data-rotation": F, "data-direction": D }, L, { key: "direction-".concat(D), style: getControlTransform.apply(void 0, __spreadArray$1([_, A], __read(B.map(function(O) {
130054
130054
  return S[O];
@@ -130098,7 +130098,7 @@ function renderAroundControls(a, s, x, y) {
130098
130098
  var $ = a.renderState;
130099
130099
  $.renderDirectionMap || ($.renderDirectionMap = {});
130100
130100
  var S = a.getState(), _ = S.renderPoses, E = S.rotation, A = S.direction, w = $.renderDirectionMap, T = a.props.zoom, P = sign(A), C = E / Math.PI * 180;
130101
- return (y || getKeys$1(w)).map(function(R) {
130101
+ return (y || getKeys$2(w)).map(function(R) {
130102
130102
  var I = DIRECTION_INDEXES[R];
130103
130103
  if (!I)
130104
130104
  return null;
@@ -131710,7 +131710,7 @@ cursor: move;
131710
131710
  } })
131711
131711
  ));
131712
131712
  }), _) {
131713
- var I = getKeys$1(A || {}), N = {};
131713
+ var I = getKeys$2(A || {}), N = {};
131714
131714
  I.forEach(function(D) {
131715
131715
  A[D].forEach(function(B) {
131716
131716
  N[B] = D;
@@ -133239,7 +133239,7 @@ function fillCSSObject(a, s) {
133239
133239
  }
133240
133240
  return {
133241
133241
  style: a,
133242
- cssText: getKeys$1(a).map(function(y) {
133242
+ cssText: getKeys$2(a).map(function(y) {
133243
133243
  return "".concat(decamelize(y, "-"), ": ").concat(a[y], ";");
133244
133244
  }).join("")
133245
133245
  };
@@ -136070,7 +136070,7 @@ var MoveableManager = /* @__PURE__ */ function(a) {
136070
136070
  var y = this.props, $ = y.dragTarget || y.target, S = this._prevOriginalDragTarget, _ = this._prevDragArea, E = y.dragArea, A = !E && S !== $, w = (x || E) && _ !== E;
136071
136071
  return A || w || this._prevPropTarget != this._propTarget;
136072
136072
  }, s.prototype._updateNativeEvents = function() {
136073
- var x = this, y = this.props, $ = y.dragArea ? this.areaElement : this.state.target, S = this.events, _ = getKeys$1(S);
136073
+ var x = this, y = this.props, $ = y.dragArea ? this.areaElement : this.state.target, S = this.events, _ = getKeys$2(S);
136074
136074
  if (this._isTargetChanged())
136075
136075
  for (var E in S) {
136076
136076
  var A = S[E];
@@ -136684,7 +136684,7 @@ var InitialMoveable = /* @__PURE__ */ function(a) {
136684
136684
  x[E] = true;
136685
136685
  });
136686
136686
  });
136687
- var $ = getKeys$1(x).join(`
136687
+ var $ = getKeys$2(x).join(`
136688
136688
  `);
136689
136689
  this.defaultStyled = styled("div", prefixCSS(PREFIX, MOVEABLE_CSS + $));
136690
136690
  }, s.getTotalAbles = function() {
@@ -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;
@@ -144396,11 +144404,11 @@ var _ie8DomDefine = !_descriptors && !_fails(function() {
144396
144404
  if (s && typeof (x = a.toString) == "function" && !isObject$2(y = x.call(a)) || typeof (x = a.valueOf) == "function" && !isObject$2(y = x.call(a)) || !s && typeof (x = a.toString) == "function" && !isObject$2(y = x.call(a)))
144397
144405
  return y;
144398
144406
  throw TypeError("Can't convert object to primitive value");
144399
- }, anObject$1 = _anObject, IE8_DOM_DEFINE$1 = _ie8DomDefine, toPrimitive$2 = _toPrimitive$5, dP$2 = Object.defineProperty;
144400
- _objectDp.f = _descriptors ? Object.defineProperty : function a(s, x, y) {
144401
- if (anObject$1(s), x = toPrimitive$2(x, true), anObject$1(y), IE8_DOM_DEFINE$1)
144407
+ }, anObject$3 = _anObject, IE8_DOM_DEFINE$1 = _ie8DomDefine, toPrimitive$2 = _toPrimitive$5, dP$3 = Object.defineProperty;
144408
+ _objectDp.f = require_descriptors() ? Object.defineProperty : function a(s, x, y) {
144409
+ if (anObject$3(s), x = toPrimitive$2(x, true), anObject$3(y), IE8_DOM_DEFINE$1)
144402
144410
  try {
144403
- return dP$2(s, x, y);
144411
+ return dP$3(s, x, y);
144404
144412
  } catch {
144405
144413
  }
144406
144414
  if ("get" in y || "set" in y)
@@ -144414,14 +144422,14 @@ var _propertyDesc = function(a, s) {
144414
144422
  writable: !(a & 4),
144415
144423
  value: s
144416
144424
  };
144417
- }, dP$1 = _objectDp, createDesc$2 = _propertyDesc, _hide = _descriptors ? function(a, s, x) {
144418
- return dP$1.f(a, s, createDesc$2(1, x));
144425
+ }, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide = require_descriptors() ? function(a, s, x) {
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$5 = _has, PROTOTYPE$1 = "prototype", $export$6 = function(a, s, x) {
144424
- 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$1], P = $ ? global$4 : S ? global$4[s] : (global$4[s] || {})[PROTOTYPE$1], C, R, I;
144431
+ }, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$2 = _hide, has$5 = _has, PROTOTYPE$2 = "prototype", $export$6 = function(a, s, x) {
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
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) {
@@ -144439,7 +144447,7 @@ var _propertyDesc = function(a, s) {
144439
144447
  }
144440
144448
  return N.apply(this, arguments);
144441
144449
  };
144442
- return M[PROTOTYPE$1] = N[PROTOTYPE$1], M;
144450
+ return M[PROTOTYPE$2] = N[PROTOTYPE$2], M;
144443
144451
  }(I) : _ && typeof I == "function" ? ctx(Function.call, I) : I, _ && ((w.virtual || (w.virtual = {}))[C] = I, a & $export$6.R && T && !T[C] && hide$2(T, C, I)));
144444
144452
  };
144445
144453
  $export$6.F = 1;
@@ -144533,22 +144541,14 @@ var _shared = { exports: {} }, core$1 = _coreExports, global$3 = _globalExports,
144533
144541
  });
144534
144542
  var _sharedExports = _shared.exports, id$1 = 0, px = Math.random(), _uid = function(a) {
144535
144543
  return "Symbol(".concat(a === void 0 ? "" : a, ")_", (++id$1 + px).toString(36));
144536
- }, _sharedKey, hasRequired_sharedKey;
144537
- function require_sharedKey() {
144538
- if (hasRequired_sharedKey)
144539
- return _sharedKey;
144540
- hasRequired_sharedKey = 1;
144541
- var a = _sharedExports("keys"), s = _uid;
144542
- return _sharedKey = function(x) {
144543
- return a[x] || (a[x] = s(x));
144544
- }, _sharedKey;
144545
- }
144546
- var _objectKeysInternal, hasRequired_objectKeysInternal;
144544
+ }, shared$1 = _sharedExports("keys"), uid$2 = _uid, _sharedKey = function(a) {
144545
+ return shared$1[a] || (shared$1[a] = uid$2(a));
144546
+ }, _objectKeysInternal, hasRequired_objectKeysInternal;
144547
144547
  function require_objectKeysInternal() {
144548
144548
  if (hasRequired_objectKeysInternal)
144549
144549
  return _objectKeysInternal;
144550
144550
  hasRequired_objectKeysInternal = 1;
144551
- var a = _has, s = _toIobject, x = require_arrayIncludes()(false), y = require_sharedKey()("IE_PROTO");
144551
+ var a = _has, s = _toIobject, x = require_arrayIncludes()(false), y = _sharedKey("IE_PROTO");
144552
144552
  return _objectKeysInternal = function($, S) {
144553
144553
  var _ = s($), E = 0, A = [], w;
144554
144554
  for (w in _)
@@ -144558,16 +144558,12 @@ function require_objectKeysInternal() {
144558
144558
  return A;
144559
144559
  }, _objectKeysInternal;
144560
144560
  }
144561
- var _enumBugKeys, hasRequired_enumBugKeys;
144562
- function require_enumBugKeys() {
144563
- return hasRequired_enumBugKeys || (hasRequired_enumBugKeys = 1, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")), _enumBugKeys;
144564
- }
144565
- var _objectKeys, hasRequired_objectKeys;
144561
+ var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), _objectKeys, hasRequired_objectKeys;
144566
144562
  function require_objectKeys() {
144567
144563
  if (hasRequired_objectKeys)
144568
144564
  return _objectKeys;
144569
144565
  hasRequired_objectKeys = 1;
144570
- var a = require_objectKeysInternal(), s = require_enumBugKeys();
144566
+ var a = require_objectKeysInternal(), s = _enumBugKeys;
144571
144567
  return _objectKeys = Object.keys || function(y) {
144572
144568
  return a(y, s);
144573
144569
  }, _objectKeys;
@@ -144595,8 +144591,8 @@ function require_objectAssign() {
144595
144591
  if (hasRequired_objectAssign)
144596
144592
  return _objectAssign;
144597
144593
  hasRequired_objectAssign = 1;
144598
- var a = _descriptors, s = require_objectKeys(), x = require_objectGops(), y = require_objectPie(), $ = require_toObject(), S = require_iobject(), _ = Object.assign;
144599
- 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() {
144600
144596
  var E = {}, A = {}, w = Symbol(), T = "abcdefghijklmnopqrst";
144601
144597
  return E[w] = 7, T.split("").forEach(function(P) {
144602
144598
  A[P] = P;
@@ -145300,7 +145296,7 @@ var _default$7 = function(a, s) {
145300
145296
  if (!(a instanceof s))
145301
145297
  throw new TypeError("Cannot call a class as a function");
145302
145298
  }, $export$4 = _export;
145303
- $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 });
145304
145300
  var $Object$1 = _coreExports.Object, defineProperty$2 = function a(s, x, y) {
145305
145301
  return $Object$1.defineProperty(s, x, y);
145306
145302
  }, defineProperty$1 = { default: defineProperty$2, __esModule: true }, _defineProperty$8 = defineProperty$1, _defineProperty2$1 = _interopRequireDefault$f(_defineProperty$8);
@@ -145322,20 +145318,12 @@ var _default$6 = function() {
145322
145318
  var y = String(defined(s)), $ = toInteger(x), S = y.length, _, E;
145323
145319
  return $ < 0 || $ >= S ? "" : (_ = y.charCodeAt($), _ < 55296 || _ > 56319 || $ + 1 === S || (E = y.charCodeAt($ + 1)) < 56320 || E > 57343 ? y.charAt($) : y.slice($, $ + 2) );
145324
145320
  };
145325
- }, _redefine = _hide, _iterators = {}, _objectDps, hasRequired_objectDps;
145326
- function require_objectDps() {
145327
- if (hasRequired_objectDps)
145328
- return _objectDps;
145329
- hasRequired_objectDps = 1;
145330
- var a = _objectDp, s = _anObject, x = require_objectKeys();
145331
- return _objectDps = _descriptors ? Object.defineProperties : function($, S) {
145332
- s($);
145333
- for (var _ = x(S), E = _.length, A = 0, w; E > A; )
145334
- a.f($, w = _[A++], S[w]);
145335
- return $;
145336
- }, _objectDps;
145337
- }
145338
- var _html, hasRequired_html;
145321
+ }, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$1 = require_objectKeys(), _objectDps = require_descriptors() ? Object.defineProperties : function a(s, x) {
145322
+ anObject$2(s);
145323
+ for (var y = getKeys$1(x), $ = y.length, S = 0, _; $ > S; )
145324
+ dP$1.f(s, _ = y[S++], x[_]);
145325
+ return s;
145326
+ }, _html, hasRequired_html;
145339
145327
  function require_html() {
145340
145328
  if (hasRequired_html)
145341
145329
  return _html;
@@ -145343,36 +145331,28 @@ function require_html() {
145343
145331
  var a = _globalExports.document;
145344
145332
  return _html = a && a.documentElement, _html;
145345
145333
  }
145346
- var _objectCreate, hasRequired_objectCreate;
145347
- function require_objectCreate() {
145348
- if (hasRequired_objectCreate)
145349
- return _objectCreate;
145350
- hasRequired_objectCreate = 1;
145351
- var a = _anObject, s = require_objectDps(), x = require_enumBugKeys(), y = require_sharedKey()("IE_PROTO"), $ = function() {
145352
- }, S = "prototype", _ = function() {
145353
- var E = require_domCreate()("iframe"), A = x.length, w = "<", T = ">", P;
145354
- for (E.style.display = "none", require_html().appendChild(E), E.src = "javascript:", P = E.contentWindow.document, P.open(), P.write(w + "script" + T + "document.F=Object" + w + "/script" + T), P.close(), _ = P.F; A--; )
145355
- delete _[S][x[A]];
145356
- return _();
145357
- };
145358
- return _objectCreate = Object.create || function(A, w) {
145359
- var T;
145360
- return A !== null ? ($[S] = a(A), T = new $(), $[S] = null, T[y] = A) : T = _(), w === void 0 ? T : s(T, w);
145361
- }, _objectCreate;
145362
- }
145363
- var _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(a) {
145334
+ var anObject$1 = _anObject, dPs = _objectDps, enumBugKeys = _enumBugKeys, IE_PROTO$1 = _sharedKey("IE_PROTO"), Empty = function() {
145335
+ }, PROTOTYPE$1 = "prototype", createDict = function() {
145336
+ var a = require_domCreate()("iframe"), s = enumBugKeys.length, x = "<", y = ">", $;
145337
+ for (a.style.display = "none", require_html().appendChild(a), a.src = "javascript:", $ = a.contentWindow.document, $.open(), $.write(x + "script" + y + "document.F=Object" + x + "/script" + y), $.close(), createDict = $.F; s--; )
145338
+ delete createDict[PROTOTYPE$1][enumBugKeys[s]];
145339
+ return createDict();
145340
+ }, _objectCreate = Object.create || function a(s, x) {
145341
+ var y;
145342
+ return s !== null ? (Empty[PROTOTYPE$1] = anObject$1(s), y = new Empty(), Empty[PROTOTYPE$1] = null, y[IE_PROTO$1] = s) : y = createDict(), x === void 0 ? y : dPs(y, x);
145343
+ }, _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(a) {
145364
145344
  return store[a] || (store[a] = USE_SYMBOL && Symbol$1[a] || (USE_SYMBOL ? Symbol$1 : uid$1)("Symbol." + a));
145365
145345
  };
145366
145346
  $exports.store = store;
145367
145347
  var _wksExports = _wks.exports, def = _objectDp.f, has$4 = _has, TAG = _wksExports("toStringTag"), _setToStringTag = function(a, s, x) {
145368
145348
  a && !has$4(a = x ? a : a.prototype, TAG) && def(a, TAG, { configurable: true, value: s });
145369
- }, create$2 = require_objectCreate(), descriptor = _propertyDesc, setToStringTag$2 = _setToStringTag, IteratorPrototype = {};
145349
+ }, create$2 = _objectCreate, descriptor = _propertyDesc, setToStringTag$2 = _setToStringTag, IteratorPrototype = {};
145370
145350
  _hide(IteratorPrototype, _wksExports("iterator"), function() {
145371
145351
  return this;
145372
145352
  });
145373
145353
  var _iterCreate = function(a, s, x) {
145374
145354
  a.prototype = create$2(IteratorPrototype, { next: descriptor(1, x) }), setToStringTag$2(a, s + " Iterator");
145375
- }, has$3 = _has, toObject$1 = require_toObject(), IE_PROTO = require_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) {
145376
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;
145377
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() {
145378
145358
  return this;
@@ -145433,7 +145413,7 @@ var _wksExt = {};
145433
145413
  _wksExt.f = _wksExports;
145434
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() {
145435
145415
  return true;
145436
- }, FREEZE = !_fails(function() {
145416
+ }, FREEZE = !require_fails()(function() {
145437
145417
  return isExtensible(Object.preventExtensions({}));
145438
145418
  }), setMeta = function(a) {
145439
145419
  setDesc(a, META$1, { value: {
@@ -145481,17 +145461,11 @@ var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esMo
145481
145461
  return s;
145482
145462
  }, cof = require_cof(), _isArray = Array.isArray || function a(s) {
145483
145463
  return cof(s) == "Array";
145484
- }, _objectGopnExt = {}, _objectGopn = {}, hasRequired_objectGopn;
145485
- function require_objectGopn() {
145486
- if (hasRequired_objectGopn)
145487
- return _objectGopn;
145488
- hasRequired_objectGopn = 1;
145489
- var a = require_objectKeysInternal(), s = require_enumBugKeys().concat("length", "prototype");
145490
- return _objectGopn.f = Object.getOwnPropertyNames || function(y) {
145491
- return a(y, s);
145492
- }, _objectGopn;
145493
- }
145494
- 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) {
145495
145469
  try {
145496
145470
  return gOPN$1(a);
145497
145471
  } catch {
@@ -145502,7 +145476,7 @@ _objectGopnExt.f = function a(s) {
145502
145476
  return windowNames && toString$1.call(s) == "[object Window]" ? getWindowNames(s) : gOPN$1(toIObject$2(s));
145503
145477
  };
145504
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;
145505
- _objectGopd.f = _descriptors ? gOPD$1 : function a(s, x) {
145479
+ _objectGopd.f = require_descriptors() ? gOPD$1 : function a(s, x) {
145506
145480
  if (s = toIObject$1(s), x = toPrimitive$1(x, true), IE8_DOM_DEFINE)
145507
145481
  try {
145508
145482
  return gOPD$1(s, x);
@@ -145511,7 +145485,7 @@ _objectGopd.f = _descriptors ? gOPD$1 : function a(s, x) {
145511
145485
  if (has$1(s, x))
145512
145486
  return createDesc$1(!pIE.f.call(s, x), s[x]);
145513
145487
  };
145514
- 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 = require_toObject(), toIObject = _toIobject, toPrimitive = _toPrimitive$5, createDesc = _propertyDesc, _create$1 = require_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() {
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() {
145515
145489
  return _create$1(dP({}, "a", {
145516
145490
  get: function() {
145517
145491
  return dP(this, "a", { value: 7 }).a;
@@ -145562,7 +145536,7 @@ USE_NATIVE || ($Symbol = function() {
145562
145536
  return DESCRIPTORS && setter && setSymbolDesc(ObjectProto, s, { configurable: true, set: x }), wrap(s);
145563
145537
  }, redefine($Symbol[PROTOTYPE], "toString", function() {
145564
145538
  return this._k;
145565
- }), $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) {
145566
145540
  return wrap(wks(a));
145567
145541
  });
145568
145542
  $export$2($export$2.G + $export$2.W + $export$2.F * !USE_NATIVE, { Symbol: $Symbol });
@@ -145686,7 +145660,7 @@ function require_setProto() {
145686
145660
  var $export$1 = _export;
145687
145661
  $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
145688
145662
  var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf, setPrototypeOf = { default: setPrototypeOf$1, __esModule: true }, $export = _export;
145689
- $export($export.S, "Object", { create: require_objectCreate() });
145663
+ $export($export.S, "Object", { create: _objectCreate });
145690
145664
  var $Object = _coreExports.Object, create$1 = function a(s, x) {
145691
145665
  return $Object.create(s, x);
145692
145666
  }, create = { default: create$1, __esModule: true }, _setPrototypeOf = setPrototypeOf, _setPrototypeOf2 = _interopRequireDefault$c(_setPrototypeOf), _create = create, _create2 = _interopRequireDefault$c(_create), _typeof2 = _typeof$i, _typeof3 = _interopRequireDefault$c(_typeof2);
@@ -154760,21 +154734,26 @@ const FormRenderComponent = withProvider(FormCore, defaultWidgets), AlignWidget
154760
154734
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: s, children: /* @__PURE__ */ jsxRuntimeExports.jsx(LoaderCircle, { size: 50, style: x }) })
154761
154735
  ] });
154762
154736
  }, Spinner$1 = Spinner, Root = ({ size: a, scale: s, children: x }, y) => {
154763
- 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
+ }, []);
154764
154748
  return useEffect$2(() => {
154765
154749
  if (!document || !document.fonts)
154766
154750
  return;
154767
- const E = Object.entries($).filter(([A]) => !S.current.has(A)).map(
154768
- ([A, { data: w }]) => new FontFace(A, typeof w == "string" ? `url(${w})` : w, {
154769
- display: "swap"
154770
- })
154751
+ const E = Object.entries($).filter(
154752
+ ([A]) => !S.current.has(A) && !isGoogleFont(A)
154771
154753
  );
154772
- Promise.allSettled(E.map((A) => A.load())).then((A) => {
154773
- A.forEach((w, T) => {
154774
- w.status === "fulfilled" && (document.fonts.add(E[T]), S.current.add(E[T].family));
154775
- });
154776
- });
154777
- }, [$]), /* @__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 }) });
154778
154757
  }, Root$1 = forwardRef(Root), scaleDragPosAdjustment = (a, s) => s > 1 ? a * (s - 1) : s < 1 ? a * -(1 - s) : 0, Canvas = ({
154779
154758
  style: a,
154780
154759
  className: s,
@@ -155033,7 +155012,7 @@ const FormRenderComponent = withProvider(FormCore, defaultWidgets), AlignWidget
155033
155012
  return a;
155034
155013
  };
155035
155014
  async function convertPdfToBase64(a) {
155036
- const { getB64BasePdf: s } = await import('./chunks/index-D1FuD_XZ.js'), x = await a.arrayBuffer();
155015
+ const { getB64BasePdf: s } = await import('./chunks/index-CDhErAtE.js'), x = await a.arrayBuffer();
155037
155016
  return s(new Uint8Array(x));
155038
155017
  }
155039
155018
  const ENCODING_MAPPING = {
@@ -170025,4 +170004,4 @@ Check this document: https://pdfme.com/docs/custom-schemas`);
170025
170004
  Barcode: dynamicBarcode
170026
170005
  };
170027
170006
 
170028
- 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-qTsnfbi7.js';
2
- export { b as builtInPlugins, g as getDynamicHeightsForTable, s as multiVariableText } from './chunks/index-qTsnfbi7.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-pDt5vVVj.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-pDt5vVVj.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-D7XF1bxK.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';