resul-template-builder 1.1.8 → 1.1.10

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.
@@ -263,17 +263,17 @@ function gb() {
263
263
  } catch (ut) {
264
264
  if (ut && et && typeof ut.stack == "string") {
265
265
  for (var ct = ut.stack.split(`
266
- `), Je = et.stack.split(`
267
- `), ge = ct.length - 1, $e = Je.length - 1; ge >= 1 && $e >= 0 && ct[ge] !== Je[$e]; )
266
+ `), Ze = et.stack.split(`
267
+ `), ge = ct.length - 1, $e = Ze.length - 1; ge >= 1 && $e >= 0 && ct[ge] !== Ze[$e]; )
268
268
  $e--;
269
269
  for (; ge >= 1 && $e >= 0; ge--, $e--)
270
- if (ct[ge] !== Je[$e]) {
270
+ if (ct[ge] !== Ze[$e]) {
271
271
  if (ge !== 1 || $e !== 1)
272
272
  do
273
- if (ge--, $e--, $e < 0 || ct[ge] !== Je[$e]) {
274
- var Xe = `
273
+ if (ge--, $e--, $e < 0 || ct[ge] !== Ze[$e]) {
274
+ var Ke = `
275
275
  ` + ct[ge].replace(" at new ", " at ");
276
- return he.displayName && Xe.includes("<anonymous>") && (Xe = Xe.replace("<anonymous>", he.displayName)), typeof he == "function" && te.set(he, Xe), Xe;
276
+ return he.displayName && Ke.includes("<anonymous>") && (Ke = Ke.replace("<anonymous>", he.displayName)), typeof he == "function" && te.set(he, Ke), Ke;
277
277
  }
278
278
  while (ge >= 1 && $e >= 0);
279
279
  break;
@@ -337,8 +337,8 @@ function gb() {
337
337
  var ct = void 0;
338
338
  try {
339
339
  if (typeof he[tt] != "function") {
340
- var Je = Error((et || "React class") + ": " + De + " type `" + tt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof he[tt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
- throw Je.name = "Invariant Violation", Je;
340
+ var Ze = Error((et || "React class") + ": " + De + " type `" + tt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof he[tt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
+ throw Ze.name = "Invariant Violation", Ze;
342
342
  }
343
343
  ct = he[tt](Se, tt, et, De, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
344
  } catch (ge) {
@@ -378,7 +378,7 @@ function gb() {
378
378
  __self: !0,
379
379
  __source: !0
380
380
  }, je, Be;
381
- function _e(he) {
381
+ function Ee(he) {
382
382
  if (V.call(he, "ref")) {
383
383
  var Se = Object.getOwnPropertyDescriptor(he, "ref").get;
384
384
  if (Se && Se.isReactWarning)
@@ -450,8 +450,8 @@ function gb() {
450
450
  };
451
451
  function ke(he, Se, De, et, nt) {
452
452
  {
453
- var dt, tt = {}, ct = null, Je = null;
454
- De !== void 0 && (xe(De), ct = "" + De), Ie(Se) && (xe(Se.key), ct = "" + Se.key), _e(Se) && (Je = Se.ref, Re(Se, nt));
453
+ var dt, tt = {}, ct = null, Ze = null;
454
+ De !== void 0 && (xe(De), ct = "" + De), Ie(Se) && (xe(Se.key), ct = "" + Se.key), Ee(Se) && (Ze = Se.ref, Re(Se, nt));
455
455
  for (dt in Se)
456
456
  V.call(Se, dt) && !Te.hasOwnProperty(dt) && (tt[dt] = Se[dt]);
457
457
  if (he && he.defaultProps) {
@@ -459,11 +459,11 @@ function gb() {
459
459
  for (dt in ge)
460
460
  tt[dt] === void 0 && (tt[dt] = ge[dt]);
461
461
  }
462
- if (ct || Je) {
462
+ if (ct || Ze) {
463
463
  var $e = typeof he == "function" ? he.displayName || he.name || "Unknown" : he;
464
- ct && we(tt, $e), Je && pe(tt, $e);
464
+ ct && we(tt, $e), Ze && pe(tt, $e);
465
465
  }
466
- return be(he, ct, Je, nt, et, ve.current, tt);
466
+ return be(he, ct, Ze, nt, et, ve.current, tt);
467
467
  }
468
468
  }
469
469
  var de = x.ReactCurrentOwner, ce = x.ReactDebugCurrentFrame;
@@ -476,7 +476,7 @@ function gb() {
476
476
  }
477
477
  var ye;
478
478
  ye = !1;
479
- function Ee(he) {
479
+ function _e(he) {
480
480
  return typeof he == "object" && he !== null && he.$$typeof === t;
481
481
  }
482
482
  function Ue() {
@@ -507,7 +507,7 @@ Check the top-level render call using <` + De + ">.");
507
507
  return Se;
508
508
  }
509
509
  }
510
- function qe(he, Se) {
510
+ function Xe(he, Se) {
511
511
  {
512
512
  if (!he._store || he._store.validated || he.key != null)
513
513
  return;
@@ -527,15 +527,15 @@ Check the top-level render call using <` + De + ">.");
527
527
  if (D(he))
528
528
  for (var De = 0; De < he.length; De++) {
529
529
  var et = he[De];
530
- Ee(et) && qe(et, Se);
530
+ _e(et) && Xe(et, Se);
531
531
  }
532
- else if (Ee(he))
532
+ else if (_e(he))
533
533
  he._store && (he._store.validated = !0);
534
534
  else if (he) {
535
535
  var nt = g(he);
536
536
  if (typeof nt == "function" && nt !== he.entries)
537
537
  for (var dt = nt.call(he), tt; !(tt = dt.next()).done; )
538
- Ee(tt.value) && qe(tt.value, Se);
538
+ _e(tt.value) && Xe(tt.value, Se);
539
539
  }
540
540
  }
541
541
  }
@@ -564,7 +564,7 @@ Check the top-level render call using <` + De + ">.");
564
564
  typeof Se.getDefaultProps == "function" && !Se.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
565
565
  }
566
566
  }
567
- function Ze(he) {
567
+ function qe(he) {
568
568
  {
569
569
  for (var Se = Object.keys(he.props), De = 0; De < Se.length; De++) {
570
570
  var et = Se[De];
@@ -583,8 +583,8 @@ Check the top-level render call using <` + De + ">.");
583
583
  if (!tt) {
584
584
  var ct = "";
585
585
  (he === void 0 || typeof he == "object" && he !== null && Object.keys(he).length === 0) && (ct += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
586
- var Je = fe();
587
- Je ? ct += Je : ct += Ue();
586
+ var Ze = fe();
587
+ Ze ? ct += Ze : ct += Ue();
588
588
  var ge;
589
589
  he === null ? ge = "null" : D(he) ? ge = "array" : he !== void 0 && he.$$typeof === t ? (ge = "<" + (W(he.type) || "Unknown") + " />", ct = " Did you accidentally export a JSX literal instead of a component?") : ge = typeof he, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ge, ct);
590
590
  }
@@ -592,17 +592,17 @@ Check the top-level render call using <` + De + ">.");
592
592
  if ($e == null)
593
593
  return $e;
594
594
  if (tt) {
595
- var Xe = Se.children;
596
- if (Xe !== void 0)
595
+ var Ke = Se.children;
596
+ if (Ke !== void 0)
597
597
  if (et)
598
- if (D(Xe)) {
599
- for (var mt = 0; mt < Xe.length; mt++)
600
- Ge(Xe[mt], he);
601
- Object.freeze && Object.freeze(Xe);
598
+ if (D(Ke)) {
599
+ for (var mt = 0; mt < Ke.length; mt++)
600
+ Ge(Ke[mt], he);
601
+ Object.freeze && Object.freeze(Ke);
602
602
  } else
603
603
  C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
604
604
  else
605
- Ge(Xe, he);
605
+ Ge(Ke, he);
606
606
  }
607
607
  if (V.call(Se, "key")) {
608
608
  var At = W(he), ut = Object.keys(Se).filter(function(Ao) {
@@ -618,7 +618,7 @@ React keys must be passed directly to JSX without using spread:
618
618
  <%s key={someKey} {...props} />`, Et, At, Zt, At), Ve[At + Et] = !0;
619
619
  }
620
620
  }
621
- return he === r ? Ze($e) : ze($e), $e;
621
+ return he === r ? qe($e) : ze($e), $e;
622
622
  }
623
623
  }
624
624
  function He(he, Se, De) {
@@ -1162,7 +1162,7 @@ var fx = {
1162
1162
  * This source code is licensed under the ISC license.
1163
1163
  * See the LICENSE file in the root directory of this source tree.
1164
1164
  */
1165
- const mx = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase().trim(), Ke = (e, t) => {
1165
+ const mx = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase().trim(), Ye = (e, t) => {
1166
1166
  const o = Hn(
1167
1167
  ({
1168
1168
  color: r = "currentColor",
@@ -1198,7 +1198,7 @@ const mx = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase().trim(),
1198
1198
  * This source code is licensed under the ISC license.
1199
1199
  * See the LICENSE file in the root directory of this source tree.
1200
1200
  */
1201
- const no = Ke("AlertCircle", [
1201
+ const no = Ye("AlertCircle", [
1202
1202
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
1203
1203
  ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
1204
1204
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
@@ -1209,7 +1209,7 @@ const no = Ke("AlertCircle", [
1209
1209
  * This source code is licensed under the ISC license.
1210
1210
  * See the LICENSE file in the root directory of this source tree.
1211
1211
  */
1212
- const gx = Ke("AlertTriangle", [
1212
+ const gx = Ye("AlertTriangle", [
1213
1213
  [
1214
1214
  "path",
1215
1215
  {
@@ -1226,7 +1226,7 @@ const gx = Ke("AlertTriangle", [
1226
1226
  * This source code is licensed under the ISC license.
1227
1227
  * See the LICENSE file in the root directory of this source tree.
1228
1228
  */
1229
- const ur = Ke("AlignCenter", [
1229
+ const ur = Ye("AlignCenter", [
1230
1230
  ["line", { x1: "21", x2: "3", y1: "6", y2: "6", key: "1fp77t" }],
1231
1231
  ["line", { x1: "17", x2: "7", y1: "12", y2: "12", key: "rsh8ii" }],
1232
1232
  ["line", { x1: "19", x2: "5", y1: "18", y2: "18", key: "1t0tuv" }]
@@ -1237,7 +1237,7 @@ const ur = Ke("AlignCenter", [
1237
1237
  * This source code is licensed under the ISC license.
1238
1238
  * See the LICENSE file in the root directory of this source tree.
1239
1239
  */
1240
- const bx = Ke("AlignJustify", [
1240
+ const bx = Ye("AlignJustify", [
1241
1241
  ["line", { x1: "3", x2: "21", y1: "6", y2: "6", key: "4m8b97" }],
1242
1242
  ["line", { x1: "3", x2: "21", y1: "12", y2: "12", key: "10d38w" }],
1243
1243
  ["line", { x1: "3", x2: "21", y1: "18", y2: "18", key: "kwyyxn" }]
@@ -1248,7 +1248,7 @@ const bx = Ke("AlignJustify", [
1248
1248
  * This source code is licensed under the ISC license.
1249
1249
  * See the LICENSE file in the root directory of this source tree.
1250
1250
  */
1251
- const Go = Ke("AlignLeft", [
1251
+ const Go = Ye("AlignLeft", [
1252
1252
  ["line", { x1: "21", x2: "3", y1: "6", y2: "6", key: "1fp77t" }],
1253
1253
  ["line", { x1: "15", x2: "3", y1: "12", y2: "12", key: "v6grx8" }],
1254
1254
  ["line", { x1: "17", x2: "3", y1: "18", y2: "18", key: "1awlsn" }]
@@ -1259,7 +1259,7 @@ const Go = Ke("AlignLeft", [
1259
1259
  * This source code is licensed under the ISC license.
1260
1260
  * See the LICENSE file in the root directory of this source tree.
1261
1261
  */
1262
- const qo = Ke("AlignRight", [
1262
+ const qo = Ye("AlignRight", [
1263
1263
  ["line", { x1: "21", x2: "3", y1: "6", y2: "6", key: "1fp77t" }],
1264
1264
  ["line", { x1: "21", x2: "9", y1: "12", y2: "12", key: "1uyos4" }],
1265
1265
  ["line", { x1: "21", x2: "7", y1: "18", y2: "18", key: "1g9eri" }]
@@ -1270,7 +1270,7 @@ const qo = Ke("AlignRight", [
1270
1270
  * This source code is licensed under the ISC license.
1271
1271
  * See the LICENSE file in the root directory of this source tree.
1272
1272
  */
1273
- const xx = Ke("AlignVerticalJustifyCenter", [
1273
+ const xx = Ye("AlignVerticalJustifyCenter", [
1274
1274
  ["rect", { width: "14", height: "6", x: "5", y: "16", rx: "2", key: "1i8z2d" }],
1275
1275
  ["rect", { width: "10", height: "6", x: "7", y: "2", rx: "2", key: "ypihtt" }],
1276
1276
  ["path", { d: "M2 12h20", key: "9i4pu4" }]
@@ -1281,7 +1281,7 @@ const xx = Ke("AlignVerticalJustifyCenter", [
1281
1281
  * This source code is licensed under the ISC license.
1282
1282
  * See the LICENSE file in the root directory of this source tree.
1283
1283
  */
1284
- const Cx = Ke("AlignVerticalJustifyEnd", [
1284
+ const Cx = Ye("AlignVerticalJustifyEnd", [
1285
1285
  ["rect", { width: "14", height: "6", x: "5", y: "12", rx: "2", key: "4l4tp2" }],
1286
1286
  ["rect", { width: "10", height: "6", x: "7", y: "2", rx: "2", key: "ypihtt" }],
1287
1287
  ["path", { d: "M2 22h20", key: "272qi7" }]
@@ -1292,7 +1292,7 @@ const Cx = Ke("AlignVerticalJustifyEnd", [
1292
1292
  * This source code is licensed under the ISC license.
1293
1293
  * See the LICENSE file in the root directory of this source tree.
1294
1294
  */
1295
- const vx = Ke("AlignVerticalJustifyStart", [
1295
+ const vx = Ye("AlignVerticalJustifyStart", [
1296
1296
  ["rect", { width: "14", height: "6", x: "5", y: "16", rx: "2", key: "1i8z2d" }],
1297
1297
  ["rect", { width: "10", height: "6", x: "7", y: "6", rx: "2", key: "13squh" }],
1298
1298
  ["path", { d: "M2 2h20", key: "1ennik" }]
@@ -1303,7 +1303,7 @@ const vx = Ke("AlignVerticalJustifyStart", [
1303
1303
  * This source code is licensed under the ISC license.
1304
1304
  * See the LICENSE file in the root directory of this source tree.
1305
1305
  */
1306
- const wx = Ke("ArrowDown", [
1306
+ const wx = Ye("ArrowDown", [
1307
1307
  ["path", { d: "M12 5v14", key: "s699le" }],
1308
1308
  ["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
1309
1309
  ]);
@@ -1313,7 +1313,7 @@ const wx = Ke("ArrowDown", [
1313
1313
  * This source code is licensed under the ISC license.
1314
1314
  * See the LICENSE file in the root directory of this source tree.
1315
1315
  */
1316
- const Ax = Ke("ArrowUpDown", [
1316
+ const Ax = Ye("ArrowUpDown", [
1317
1317
  ["path", { d: "m21 16-4 4-4-4", key: "f6ql7i" }],
1318
1318
  ["path", { d: "M17 20V4", key: "1ejh1v" }],
1319
1319
  ["path", { d: "m3 8 4-4 4 4", key: "11wl7u" }],
@@ -1325,7 +1325,7 @@ const Ax = Ke("ArrowUpDown", [
1325
1325
  * This source code is licensed under the ISC license.
1326
1326
  * See the LICENSE file in the root directory of this source tree.
1327
1327
  */
1328
- const yx = Ke("ArrowUp", [
1328
+ const yx = Ye("ArrowUp", [
1329
1329
  ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
1330
1330
  ["path", { d: "M12 19V5", key: "x0mq9r" }]
1331
1331
  ]);
@@ -1335,7 +1335,7 @@ const yx = Ke("ArrowUp", [
1335
1335
  * This source code is licensed under the ISC license.
1336
1336
  * See the LICENSE file in the root directory of this source tree.
1337
1337
  */
1338
- const nr = Ke("Bold", [
1338
+ const nr = Ye("Bold", [
1339
1339
  ["path", { d: "M14 12a4 4 0 0 0 0-8H6v8", key: "v2sylx" }],
1340
1340
  ["path", { d: "M15 20a4 4 0 0 0 0-8H6v8Z", key: "1ef5ya" }]
1341
1341
  ]);
@@ -1345,7 +1345,7 @@ const nr = Ke("Bold", [
1345
1345
  * This source code is licensed under the ISC license.
1346
1346
  * See the LICENSE file in the root directory of this source tree.
1347
1347
  */
1348
- const kx = Ke("Car", [
1348
+ const kx = Ye("Car", [
1349
1349
  [
1350
1350
  "path",
1351
1351
  {
@@ -1363,7 +1363,7 @@ const kx = Ke("Car", [
1363
1363
  * This source code is licensed under the ISC license.
1364
1364
  * See the LICENSE file in the root directory of this source tree.
1365
1365
  */
1366
- const jx = Ke("CheckCircle", [
1366
+ const jx = Ye("CheckCircle", [
1367
1367
  ["path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14", key: "g774vq" }],
1368
1368
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
1369
1369
  ]);
@@ -1373,14 +1373,14 @@ const jx = Ke("CheckCircle", [
1373
1373
  * This source code is licensed under the ISC license.
1374
1374
  * See the LICENSE file in the root directory of this source tree.
1375
1375
  */
1376
- const jc = Ke("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
1376
+ const jc = Ye("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
1377
1377
  /**
1378
1378
  * @license lucide-react v0.344.0 - ISC
1379
1379
  *
1380
1380
  * This source code is licensed under the ISC license.
1381
1381
  * See the LICENSE file in the root directory of this source tree.
1382
1382
  */
1383
- const ra = Ke("ChevronDown", [
1383
+ const ra = Ye("ChevronDown", [
1384
1384
  ["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
1385
1385
  ]);
1386
1386
  /**
@@ -1389,7 +1389,7 @@ const ra = Ke("ChevronDown", [
1389
1389
  * This source code is licensed under the ISC license.
1390
1390
  * See the LICENSE file in the root directory of this source tree.
1391
1391
  */
1392
- const Om = Ke("ChevronLeft", [
1392
+ const Om = Ye("ChevronLeft", [
1393
1393
  ["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]
1394
1394
  ]);
1395
1395
  /**
@@ -1398,7 +1398,7 @@ const Om = Ke("ChevronLeft", [
1398
1398
  * This source code is licensed under the ISC license.
1399
1399
  * See the LICENSE file in the root directory of this source tree.
1400
1400
  */
1401
- const Tc = Ke("ChevronRight", [
1401
+ const Tc = Ye("ChevronRight", [
1402
1402
  ["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
1403
1403
  ]);
1404
1404
  /**
@@ -1407,14 +1407,14 @@ const Tc = Ke("ChevronRight", [
1407
1407
  * This source code is licensed under the ISC license.
1408
1408
  * See the LICENSE file in the root directory of this source tree.
1409
1409
  */
1410
- const Tx = Ke("ChevronUp", [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]);
1410
+ const Tx = Ye("ChevronUp", [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]);
1411
1411
  /**
1412
1412
  * @license lucide-react v0.344.0 - ISC
1413
1413
  *
1414
1414
  * This source code is licensed under the ISC license.
1415
1415
  * See the LICENSE file in the root directory of this source tree.
1416
1416
  */
1417
- const Nx = Ke("Cloud", [
1417
+ const Nx = Ye("Cloud", [
1418
1418
  ["path", { d: "M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z", key: "p7xjir" }]
1419
1419
  ]);
1420
1420
  /**
@@ -1423,7 +1423,7 @@ const Nx = Ke("Cloud", [
1423
1423
  * This source code is licensed under the ISC license.
1424
1424
  * See the LICENSE file in the root directory of this source tree.
1425
1425
  */
1426
- const Bx = Ke("Code", [
1426
+ const Bx = Ye("Code", [
1427
1427
  ["polyline", { points: "16 18 22 12 16 6", key: "z7tu5w" }],
1428
1428
  ["polyline", { points: "8 6 2 12 8 18", key: "1eg1df" }]
1429
1429
  ]);
@@ -1433,7 +1433,7 @@ const Bx = Ke("Code", [
1433
1433
  * This source code is licensed under the ISC license.
1434
1434
  * See the LICENSE file in the root directory of this source tree.
1435
1435
  */
1436
- const Rx = Ke("Columns2", [
1436
+ const Rx = Ye("Columns2", [
1437
1437
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
1438
1438
  ["path", { d: "M12 3v18", key: "108xh3" }]
1439
1439
  ]);
@@ -1443,7 +1443,7 @@ const Rx = Ke("Columns2", [
1443
1443
  * This source code is licensed under the ISC license.
1444
1444
  * See the LICENSE file in the root directory of this source tree.
1445
1445
  */
1446
- const Wm = Ke("Copy", [
1446
+ const Wm = Ye("Copy", [
1447
1447
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
1448
1448
  ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
1449
1449
  ]);
@@ -1453,7 +1453,7 @@ const Wm = Ke("Copy", [
1453
1453
  * This source code is licensed under the ISC license.
1454
1454
  * See the LICENSE file in the root directory of this source tree.
1455
1455
  */
1456
- const Sx = Ke("Download", [
1456
+ const Sx = Ye("Download", [
1457
1457
  ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
1458
1458
  ["polyline", { points: "7 10 12 15 17 10", key: "2ggqvy" }],
1459
1459
  ["line", { x1: "12", x2: "12", y1: "15", y2: "3", key: "1vk2je" }]
@@ -1464,7 +1464,7 @@ const Sx = Ke("Download", [
1464
1464
  * This source code is licensed under the ISC license.
1465
1465
  * See the LICENSE file in the root directory of this source tree.
1466
1466
  */
1467
- const _x = Ke("FileText", [
1467
+ const _x = Ye("FileText", [
1468
1468
  ["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
1469
1469
  ["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
1470
1470
  ["path", { d: "M10 9H8", key: "b1mrlr" }],
@@ -1477,7 +1477,7 @@ const _x = Ke("FileText", [
1477
1477
  * This source code is licensed under the ISC license.
1478
1478
  * See the LICENSE file in the root directory of this source tree.
1479
1479
  */
1480
- const Ex = Ke("Flag", [
1480
+ const Ex = Ye("Flag", [
1481
1481
  ["path", { d: "M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z", key: "i9b6wo" }],
1482
1482
  ["line", { x1: "4", x2: "4", y1: "22", y2: "15", key: "1cm3nv" }]
1483
1483
  ]);
@@ -1487,7 +1487,7 @@ const Ex = Ke("Flag", [
1487
1487
  * This source code is licensed under the ISC license.
1488
1488
  * See the LICENSE file in the root directory of this source tree.
1489
1489
  */
1490
- const Ix = Ke("Folder", [
1490
+ const Ix = Ye("Folder", [
1491
1491
  [
1492
1492
  "path",
1493
1493
  {
@@ -1502,7 +1502,7 @@ const Ix = Ke("Folder", [
1502
1502
  * This source code is licensed under the ISC license.
1503
1503
  * See the LICENSE file in the root directory of this source tree.
1504
1504
  */
1505
- const Hd = Ke("Grid3x3", [
1505
+ const Hd = Ye("Grid3x3", [
1506
1506
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
1507
1507
  ["path", { d: "M3 9h18", key: "1pudct" }],
1508
1508
  ["path", { d: "M3 15h18", key: "5xshup" }],
@@ -1515,7 +1515,7 @@ const Hd = Ke("Grid3x3", [
1515
1515
  * This source code is licensed under the ISC license.
1516
1516
  * See the LICENSE file in the root directory of this source tree.
1517
1517
  */
1518
- const Lx = Ke("GripVertical", [
1518
+ const Lx = Ye("GripVertical", [
1519
1519
  ["circle", { cx: "9", cy: "12", r: "1", key: "1vctgf" }],
1520
1520
  ["circle", { cx: "9", cy: "5", r: "1", key: "hp0tcf" }],
1521
1521
  ["circle", { cx: "9", cy: "19", r: "1", key: "fkjjf6" }],
@@ -1529,7 +1529,7 @@ const Lx = Ke("GripVertical", [
1529
1529
  * This source code is licensed under the ISC license.
1530
1530
  * See the LICENSE file in the root directory of this source tree.
1531
1531
  */
1532
- const $x = Ke("Hand", [
1532
+ const $x = Ye("Hand", [
1533
1533
  ["path", { d: "M18 11V6a2 2 0 0 0-2-2v0a2 2 0 0 0-2 2v0", key: "aigmz7" }],
1534
1534
  ["path", { d: "M14 10V4a2 2 0 0 0-2-2v0a2 2 0 0 0-2 2v2", key: "1n6bmn" }],
1535
1535
  ["path", { d: "M10 10.5V6a2 2 0 0 0-2-2v0a2 2 0 0 0-2 2v8", key: "a9iiix" }],
@@ -1547,7 +1547,7 @@ const $x = Ke("Hand", [
1547
1547
  * This source code is licensed under the ISC license.
1548
1548
  * See the LICENSE file in the root directory of this source tree.
1549
1549
  */
1550
- const zm = Ke("Heart", [
1550
+ const zm = Ye("Heart", [
1551
1551
  [
1552
1552
  "path",
1553
1553
  {
@@ -1562,7 +1562,7 @@ const zm = Ke("Heart", [
1562
1562
  * This source code is licensed under the ISC license.
1563
1563
  * See the LICENSE file in the root directory of this source tree.
1564
1564
  */
1565
- const Mx = Ke("ImagePlus", [
1565
+ const Mx = Ye("ImagePlus", [
1566
1566
  ["path", { d: "M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7", key: "31hg93" }],
1567
1567
  ["line", { x1: "16", x2: "22", y1: "5", y2: "5", key: "ez7e4s" }],
1568
1568
  ["line", { x1: "19", x2: "19", y1: "2", y2: "8", key: "1gkr8c" }],
@@ -1575,7 +1575,7 @@ const Mx = Ke("ImagePlus", [
1575
1575
  * This source code is licensed under the ISC license.
1576
1576
  * See the LICENSE file in the root directory of this source tree.
1577
1577
  */
1578
- const Nc = Ke("Image", [
1578
+ const Nc = Ye("Image", [
1579
1579
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
1580
1580
  ["circle", { cx: "9", cy: "9", r: "2", key: "af1f0g" }],
1581
1581
  ["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
@@ -1586,7 +1586,7 @@ const Nc = Ke("Image", [
1586
1586
  * This source code is licensed under the ISC license.
1587
1587
  * See the LICENSE file in the root directory of this source tree.
1588
1588
  */
1589
- const Fx = Ke("Indent", [
1589
+ const Fx = Ye("Indent", [
1590
1590
  ["polyline", { points: "3 8 7 12 3 16", key: "f3rxhf" }],
1591
1591
  ["line", { x1: "21", x2: "11", y1: "12", y2: "12", key: "1fxxak" }],
1592
1592
  ["line", { x1: "21", x2: "11", y1: "6", y2: "6", key: "asgu94" }],
@@ -1598,7 +1598,7 @@ const Fx = Ke("Indent", [
1598
1598
  * This source code is licensed under the ISC license.
1599
1599
  * See the LICENSE file in the root directory of this source tree.
1600
1600
  */
1601
- const ir = Ke("Italic", [
1601
+ const ir = Ye("Italic", [
1602
1602
  ["line", { x1: "19", x2: "10", y1: "4", y2: "4", key: "15jd3p" }],
1603
1603
  ["line", { x1: "14", x2: "5", y1: "20", y2: "20", key: "bu0au3" }],
1604
1604
  ["line", { x1: "15", x2: "9", y1: "4", y2: "20", key: "uljnxc" }]
@@ -1609,7 +1609,7 @@ const ir = Ke("Italic", [
1609
1609
  * This source code is licensed under the ISC license.
1610
1610
  * See the LICENSE file in the root directory of this source tree.
1611
1611
  */
1612
- const Gd = Ke("LayoutGrid", [
1612
+ const Gd = Ye("LayoutGrid", [
1613
1613
  ["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
1614
1614
  ["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
1615
1615
  ["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
@@ -1621,7 +1621,7 @@ const Gd = Ke("LayoutGrid", [
1621
1621
  * This source code is licensed under the ISC license.
1622
1622
  * See the LICENSE file in the root directory of this source tree.
1623
1623
  */
1624
- const Pi = Ke("LayoutTemplate", [
1624
+ const Pi = Ye("LayoutTemplate", [
1625
1625
  ["rect", { width: "18", height: "7", x: "3", y: "3", rx: "1", key: "f1a2em" }],
1626
1626
  ["rect", { width: "9", height: "7", x: "3", y: "14", rx: "1", key: "jqznyg" }],
1627
1627
  ["rect", { width: "5", height: "7", x: "16", y: "14", rx: "1", key: "q5h2i8" }]
@@ -1632,7 +1632,7 @@ const Pi = Ke("LayoutTemplate", [
1632
1632
  * This source code is licensed under the ISC license.
1633
1633
  * See the LICENSE file in the root directory of this source tree.
1634
1634
  */
1635
- const Dx = Ke("Lightbulb", [
1635
+ const Dx = Ye("Lightbulb", [
1636
1636
  [
1637
1637
  "path",
1638
1638
  {
@@ -1649,7 +1649,7 @@ const Dx = Ke("Lightbulb", [
1649
1649
  * This source code is licensed under the ISC license.
1650
1650
  * See the LICENSE file in the root directory of this source tree.
1651
1651
  */
1652
- const Px = Ke("Link2Off", [
1652
+ const Px = Ye("Link2Off", [
1653
1653
  ["path", { d: "M9 17H7A5 5 0 0 1 7 7", key: "10o201" }],
1654
1654
  ["path", { d: "M15 7h2a5 5 0 0 1 4 8", key: "1d3206" }],
1655
1655
  ["line", { x1: "8", x2: "12", y1: "12", y2: "12", key: "rvw6j4" }],
@@ -1661,7 +1661,7 @@ const Px = Ke("Link2Off", [
1661
1661
  * This source code is licensed under the ISC license.
1662
1662
  * See the LICENSE file in the root directory of this source tree.
1663
1663
  */
1664
- const Ox = Ke("Link", [
1664
+ const Ox = Ye("Link", [
1665
1665
  ["path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71", key: "1cjeqo" }],
1666
1666
  ["path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71", key: "19qd67" }]
1667
1667
  ]);
@@ -1671,7 +1671,7 @@ const Ox = Ke("Link", [
1671
1671
  * This source code is licensed under the ISC license.
1672
1672
  * See the LICENSE file in the root directory of this source tree.
1673
1673
  */
1674
- const Wx = Ke("ListOrdered", [
1674
+ const Wx = Ye("ListOrdered", [
1675
1675
  ["line", { x1: "10", x2: "21", y1: "6", y2: "6", key: "76qw6h" }],
1676
1676
  ["line", { x1: "10", x2: "21", y1: "12", y2: "12", key: "16nom4" }],
1677
1677
  ["line", { x1: "10", x2: "21", y1: "18", y2: "18", key: "u3jurt" }],
@@ -1685,7 +1685,7 @@ const Wx = Ke("ListOrdered", [
1685
1685
  * This source code is licensed under the ISC license.
1686
1686
  * See the LICENSE file in the root directory of this source tree.
1687
1687
  */
1688
- const zx = Ke("List", [
1688
+ const zx = Ye("List", [
1689
1689
  ["line", { x1: "8", x2: "21", y1: "6", y2: "6", key: "7ey8pc" }],
1690
1690
  ["line", { x1: "8", x2: "21", y1: "12", y2: "12", key: "rjfblc" }],
1691
1691
  ["line", { x1: "8", x2: "21", y1: "18", y2: "18", key: "c3b1m8" }],
@@ -1699,7 +1699,7 @@ const zx = Ke("List", [
1699
1699
  * This source code is licensed under the ISC license.
1700
1700
  * See the LICENSE file in the root directory of this source tree.
1701
1701
  */
1702
- const Ux = Ke("Lock", [
1702
+ const Ux = Ye("Lock", [
1703
1703
  ["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
1704
1704
  ["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
1705
1705
  ]);
@@ -1709,7 +1709,7 @@ const Ux = Ke("Lock", [
1709
1709
  * This source code is licensed under the ISC license.
1710
1710
  * See the LICENSE file in the root directory of this source tree.
1711
1711
  */
1712
- const Vx = Ke("Mail", [
1712
+ const Vx = Ye("Mail", [
1713
1713
  ["rect", { width: "20", height: "16", x: "2", y: "4", rx: "2", key: "18n3k1" }],
1714
1714
  ["path", { d: "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7", key: "1ocrg3" }]
1715
1715
  ]);
@@ -1719,7 +1719,7 @@ const Vx = Ke("Mail", [
1719
1719
  * This source code is licensed under the ISC license.
1720
1720
  * See the LICENSE file in the root directory of this source tree.
1721
1721
  */
1722
- const Hx = Ke("MapPin", [
1722
+ const Hx = Ye("MapPin", [
1723
1723
  ["path", { d: "M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z", key: "2oe9fu" }],
1724
1724
  ["circle", { cx: "12", cy: "10", r: "3", key: "ilqhr7" }]
1725
1725
  ]);
@@ -1729,7 +1729,7 @@ const Hx = Ke("MapPin", [
1729
1729
  * This source code is licensed under the ISC license.
1730
1730
  * See the LICENSE file in the root directory of this source tree.
1731
1731
  */
1732
- const Gx = Ke("MessageCircleX", [
1732
+ const Gx = Ye("MessageCircleX", [
1733
1733
  ["path", { d: "M7.9 20A9 9 0 1 0 4 16.1L2 22Z", key: "vv11sd" }],
1734
1734
  ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
1735
1735
  ["path", { d: "m9 9 6 6", key: "z0biqf" }]
@@ -1740,7 +1740,7 @@ const Gx = Ke("MessageCircleX", [
1740
1740
  * This source code is licensed under the ISC license.
1741
1741
  * See the LICENSE file in the root directory of this source tree.
1742
1742
  */
1743
- const qx = Ke("MinusSquare", [
1743
+ const qx = Ye("MinusSquare", [
1744
1744
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
1745
1745
  ["path", { d: "M8 12h8", key: "1wcyev" }]
1746
1746
  ]);
@@ -1750,7 +1750,7 @@ const qx = Ke("MinusSquare", [
1750
1750
  * This source code is licensed under the ISC license.
1751
1751
  * See the LICENSE file in the root directory of this source tree.
1752
1752
  */
1753
- const Um = Ke("MousePointerClick", [
1753
+ const Um = Ye("MousePointerClick", [
1754
1754
  ["path", { d: "m9 9 5 12 1.8-5.2L21 14Z", key: "1b76lo" }],
1755
1755
  ["path", { d: "M7.2 2.2 8 5.1", key: "1cfko1" }],
1756
1756
  ["path", { d: "m5.1 8-2.9-.8", key: "1go3kf" }],
@@ -1763,7 +1763,7 @@ const Um = Ke("MousePointerClick", [
1763
1763
  * This source code is licensed under the ISC license.
1764
1764
  * See the LICENSE file in the root directory of this source tree.
1765
1765
  */
1766
- const Vm = Ke("Move", [
1766
+ const Vm = Ye("Move", [
1767
1767
  ["polyline", { points: "5 9 2 12 5 15", key: "1r5uj5" }],
1768
1768
  ["polyline", { points: "9 5 12 2 15 5", key: "5v383o" }],
1769
1769
  ["polyline", { points: "15 19 12 22 9 19", key: "g7qi8m" }],
@@ -1777,7 +1777,7 @@ const Vm = Ke("Move", [
1777
1777
  * This source code is licensed under the ISC license.
1778
1778
  * See the LICENSE file in the root directory of this source tree.
1779
1779
  */
1780
- const Xx = Ke("Outdent", [
1780
+ const Xx = Ye("Outdent", [
1781
1781
  ["polyline", { points: "7 8 3 12 7 16", key: "2j60jr" }],
1782
1782
  ["line", { x1: "21", x2: "11", y1: "12", y2: "12", key: "1fxxak" }],
1783
1783
  ["line", { x1: "21", x2: "11", y1: "6", y2: "6", key: "asgu94" }],
@@ -1789,7 +1789,7 @@ const Xx = Ke("Outdent", [
1789
1789
  * This source code is licensed under the ISC license.
1790
1790
  * See the LICENSE file in the root directory of this source tree.
1791
1791
  */
1792
- const Kx = Ke("PanelsTopLeft", [
1792
+ const Kx = Ye("PanelsTopLeft", [
1793
1793
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
1794
1794
  ["path", { d: "M3 9h18", key: "1pudct" }],
1795
1795
  ["path", { d: "M9 21V9", key: "1oto5p" }]
@@ -1800,7 +1800,7 @@ const Kx = Ke("PanelsTopLeft", [
1800
1800
  * This source code is licensed under the ISC license.
1801
1801
  * See the LICENSE file in the root directory of this source tree.
1802
1802
  */
1803
- const Hm = Ke("Paperclip", [
1803
+ const Hm = Ye("Paperclip", [
1804
1804
  [
1805
1805
  "path",
1806
1806
  {
@@ -1815,7 +1815,7 @@ const Hm = Ke("Paperclip", [
1815
1815
  * This source code is licensed under the ISC license.
1816
1816
  * See the LICENSE file in the root directory of this source tree.
1817
1817
  */
1818
- const Yx = Ke("Phone", [
1818
+ const Yx = Ye("Phone", [
1819
1819
  [
1820
1820
  "path",
1821
1821
  {
@@ -1830,7 +1830,7 @@ const Yx = Ke("Phone", [
1830
1830
  * This source code is licensed under the ISC license.
1831
1831
  * See the LICENSE file in the root directory of this source tree.
1832
1832
  */
1833
- const Jx = Ke("Pipette", [
1833
+ const Jx = Ye("Pipette", [
1834
1834
  ["path", { d: "m2 22 1-1h3l9-9", key: "1sre89" }],
1835
1835
  ["path", { d: "M3 21v-3l9-9", key: "hpe2y6" }],
1836
1836
  [
@@ -1847,7 +1847,7 @@ const Jx = Ke("Pipette", [
1847
1847
  * This source code is licensed under the ISC license.
1848
1848
  * See the LICENSE file in the root directory of this source tree.
1849
1849
  */
1850
- const Zx = Ke("Pizza", [
1850
+ const Zx = Ye("Pizza", [
1851
1851
  ["path", { d: "M15 11h.01", key: "rns66s" }],
1852
1852
  ["path", { d: "M11 15h.01", key: "k85uqc" }],
1853
1853
  ["path", { d: "M16 16h.01", key: "1f9h7w" }],
@@ -1860,7 +1860,7 @@ const Zx = Ke("Pizza", [
1860
1860
  * This source code is licensed under the ISC license.
1861
1861
  * See the LICENSE file in the root directory of this source tree.
1862
1862
  */
1863
- const na = Ke("Plus", [
1863
+ const na = Ye("Plus", [
1864
1864
  ["path", { d: "M5 12h14", key: "1ays0h" }],
1865
1865
  ["path", { d: "M12 5v14", key: "s699le" }]
1866
1866
  ]);
@@ -1870,7 +1870,7 @@ const na = Ke("Plus", [
1870
1870
  * This source code is licensed under the ISC license.
1871
1871
  * See the LICENSE file in the root directory of this source tree.
1872
1872
  */
1873
- const Qx = Ke("Rabbit", [
1873
+ const Qx = Ye("Rabbit", [
1874
1874
  ["path", { d: "M13 16a3 3 0 0 1 2.24 5", key: "1epib5" }],
1875
1875
  ["path", { d: "M18 12h.01", key: "yjnet6" }],
1876
1876
  [
@@ -1889,7 +1889,7 @@ const Qx = Ke("Rabbit", [
1889
1889
  * This source code is licensed under the ISC license.
1890
1890
  * See the LICENSE file in the root directory of this source tree.
1891
1891
  */
1892
- const eC = Ke("Redo2", [
1892
+ const eC = Ye("Redo2", [
1893
1893
  ["path", { d: "m15 14 5-5-5-5", key: "12vg1m" }],
1894
1894
  ["path", { d: "M20 9H9.5A5.5 5.5 0 0 0 4 14.5v0A5.5 5.5 0 0 0 9.5 20H13", key: "19mnr4" }]
1895
1895
  ]);
@@ -1899,7 +1899,7 @@ const eC = Ke("Redo2", [
1899
1899
  * This source code is licensed under the ISC license.
1900
1900
  * See the LICENSE file in the root directory of this source tree.
1901
1901
  */
1902
- const Gm = Ke("RotateCcw", [
1902
+ const Gm = Ye("RotateCcw", [
1903
1903
  ["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
1904
1904
  ["path", { d: "M3 3v5h5", key: "1xhq8a" }]
1905
1905
  ]);
@@ -1909,7 +1909,7 @@ const Gm = Ke("RotateCcw", [
1909
1909
  * This source code is licensed under the ISC license.
1910
1910
  * See the LICENSE file in the root directory of this source tree.
1911
1911
  */
1912
- const tC = Ke("Rss", [
1912
+ const tC = Ye("Rss", [
1913
1913
  ["path", { d: "M4 11a9 9 0 0 1 9 9", key: "pv89mb" }],
1914
1914
  ["path", { d: "M4 4a16 16 0 0 1 16 16", key: "k0647b" }],
1915
1915
  ["circle", { cx: "5", cy: "19", r: "1", key: "bfqh0e" }]
@@ -1920,7 +1920,7 @@ const tC = Ke("Rss", [
1920
1920
  * This source code is licensed under the ISC license.
1921
1921
  * See the LICENSE file in the root directory of this source tree.
1922
1922
  */
1923
- const qd = Ke("Search", [
1923
+ const qd = Ye("Search", [
1924
1924
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
1925
1925
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
1926
1926
  ]);
@@ -1930,7 +1930,7 @@ const qd = Ke("Search", [
1930
1930
  * This source code is licensed under the ISC license.
1931
1931
  * See the LICENSE file in the root directory of this source tree.
1932
1932
  */
1933
- const oC = Ke("Share2", [
1933
+ const oC = Ye("Share2", [
1934
1934
  ["circle", { cx: "18", cy: "5", r: "3", key: "gq8acd" }],
1935
1935
  ["circle", { cx: "6", cy: "12", r: "3", key: "w7nqdw" }],
1936
1936
  ["circle", { cx: "18", cy: "19", r: "3", key: "1xt0gg" }],
@@ -1943,7 +1943,7 @@ const oC = Ke("Share2", [
1943
1943
  * This source code is licensed under the ISC license.
1944
1944
  * See the LICENSE file in the root directory of this source tree.
1945
1945
  */
1946
- const qm = Ke("Smile", [
1946
+ const qm = Ye("Smile", [
1947
1947
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
1948
1948
  ["path", { d: "M8 14s1.5 2 4 2 4-2 4-2", key: "1y1vjs" }],
1949
1949
  ["line", { x1: "9", x2: "9.01", y1: "9", y2: "9", key: "yxxnd0" }],
@@ -1955,7 +1955,7 @@ const qm = Ke("Smile", [
1955
1955
  * This source code is licensed under the ISC license.
1956
1956
  * See the LICENSE file in the root directory of this source tree.
1957
1957
  */
1958
- const rC = Ke("Square", [
1958
+ const rC = Ye("Square", [
1959
1959
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }]
1960
1960
  ]);
1961
1961
  /**
@@ -1964,7 +1964,7 @@ const rC = Ke("Square", [
1964
1964
  * This source code is licensed under the ISC license.
1965
1965
  * See the LICENSE file in the root directory of this source tree.
1966
1966
  */
1967
- const nC = Ke("Strikethrough", [
1967
+ const nC = Ye("Strikethrough", [
1968
1968
  ["path", { d: "M16 4H9a3 3 0 0 0-2.83 4", key: "43sutm" }],
1969
1969
  ["path", { d: "M14 12a4 4 0 0 1 0 8H6", key: "nlfj13" }],
1970
1970
  ["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }]
@@ -1975,7 +1975,7 @@ const nC = Ke("Strikethrough", [
1975
1975
  * This source code is licensed under the ISC license.
1976
1976
  * See the LICENSE file in the root directory of this source tree.
1977
1977
  */
1978
- const iC = Ke("Table", [
1978
+ const iC = Ye("Table", [
1979
1979
  ["path", { d: "M12 3v18", key: "108xh3" }],
1980
1980
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
1981
1981
  ["path", { d: "M3 9h18", key: "1pudct" }],
@@ -1987,7 +1987,7 @@ const iC = Ke("Table", [
1987
1987
  * This source code is licensed under the ISC license.
1988
1988
  * See the LICENSE file in the root directory of this source tree.
1989
1989
  */
1990
- const aC = Ke("Tag", [
1990
+ const aC = Ye("Tag", [
1991
1991
  [
1992
1992
  "path",
1993
1993
  {
@@ -2003,7 +2003,7 @@ const aC = Ke("Tag", [
2003
2003
  * This source code is licensed under the ISC license.
2004
2004
  * See the LICENSE file in the root directory of this source tree.
2005
2005
  */
2006
- const sC = Ke("Trash2", [
2006
+ const sC = Ye("Trash2", [
2007
2007
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
2008
2008
  ["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
2009
2009
  ["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
@@ -2016,7 +2016,7 @@ const sC = Ke("Trash2", [
2016
2016
  * This source code is licensed under the ISC license.
2017
2017
  * See the LICENSE file in the root directory of this source tree.
2018
2018
  */
2019
- const lC = Ke("Trophy", [
2019
+ const lC = Ye("Trophy", [
2020
2020
  ["path", { d: "M6 9H4.5a2.5 2.5 0 0 1 0-5H6", key: "17hqa7" }],
2021
2021
  ["path", { d: "M18 9h1.5a2.5 2.5 0 0 0 0-5H18", key: "lmptdp" }],
2022
2022
  ["path", { d: "M4 22h16", key: "57wxv0" }],
@@ -2030,7 +2030,7 @@ const lC = Ke("Trophy", [
2030
2030
  * This source code is licensed under the ISC license.
2031
2031
  * See the LICENSE file in the root directory of this source tree.
2032
2032
  */
2033
- const cC = Ke("Type", [
2033
+ const cC = Ye("Type", [
2034
2034
  ["polyline", { points: "4 7 4 4 20 4 20 7", key: "1nosan" }],
2035
2035
  ["line", { x1: "9", x2: "15", y1: "20", y2: "20", key: "swin9y" }],
2036
2036
  ["line", { x1: "12", x2: "12", y1: "4", y2: "20", key: "1tx1rr" }]
@@ -2041,7 +2041,7 @@ const cC = Ke("Type", [
2041
2041
  * This source code is licensed under the ISC license.
2042
2042
  * See the LICENSE file in the root directory of this source tree.
2043
2043
  */
2044
- const ar = Ke("Underline", [
2044
+ const ar = Ye("Underline", [
2045
2045
  ["path", { d: "M6 4v6a6 6 0 0 0 12 0V4", key: "9kb039" }],
2046
2046
  ["line", { x1: "4", x2: "20", y1: "20", y2: "20", key: "nun2al" }]
2047
2047
  ]);
@@ -2051,7 +2051,7 @@ const ar = Ke("Underline", [
2051
2051
  * This source code is licensed under the ISC license.
2052
2052
  * See the LICENSE file in the root directory of this source tree.
2053
2053
  */
2054
- const dC = Ke("Undo2", [
2054
+ const dC = Ye("Undo2", [
2055
2055
  ["path", { d: "M9 14 4 9l5-5", key: "102s5s" }],
2056
2056
  ["path", { d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5v0a5.5 5.5 0 0 1-5.5 5.5H11", key: "llx8ln" }]
2057
2057
  ]);
@@ -2061,7 +2061,7 @@ const dC = Ke("Undo2", [
2061
2061
  * This source code is licensed under the ISC license.
2062
2062
  * See the LICENSE file in the root directory of this source tree.
2063
2063
  */
2064
- const uC = Ke("Unlock", [
2064
+ const uC = Ye("Unlock", [
2065
2065
  ["rect", { width: "18", height: "11", x: "3", y: "11", rx: "2", ry: "2", key: "1w4ew1" }],
2066
2066
  ["path", { d: "M7 11V7a5 5 0 0 1 9.9-1", key: "1mm8w8" }]
2067
2067
  ]);
@@ -2071,7 +2071,7 @@ const uC = Ke("Unlock", [
2071
2071
  * This source code is licensed under the ISC license.
2072
2072
  * See the LICENSE file in the root directory of this source tree.
2073
2073
  */
2074
- const Xm = Ke("Upload", [
2074
+ const Xm = Ye("Upload", [
2075
2075
  ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
2076
2076
  ["polyline", { points: "17 8 12 3 7 8", key: "t8dd8p" }],
2077
2077
  ["line", { x1: "12", x2: "12", y1: "3", y2: "15", key: "widbto" }]
@@ -2082,7 +2082,7 @@ const Xm = Ke("Upload", [
2082
2082
  * This source code is licensed under the ISC license.
2083
2083
  * See the LICENSE file in the root directory of this source tree.
2084
2084
  */
2085
- const pC = Ke("User", [
2085
+ const pC = Ye("User", [
2086
2086
  ["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2", key: "975kel" }],
2087
2087
  ["circle", { cx: "12", cy: "7", r: "4", key: "17ys0d" }]
2088
2088
  ]);
@@ -2092,7 +2092,7 @@ const pC = Ke("User", [
2092
2092
  * This source code is licensed under the ISC license.
2093
2093
  * See the LICENSE file in the root directory of this source tree.
2094
2094
  */
2095
- const Vl = Ke("Video", [
2095
+ const Vl = Ye("Video", [
2096
2096
  ["path", { d: "m22 8-6 4 6 4V8Z", key: "50v9me" }],
2097
2097
  ["rect", { width: "14", height: "12", x: "2", y: "6", rx: "2", ry: "2", key: "1rqjg6" }]
2098
2098
  ]);
@@ -2102,7 +2102,7 @@ const Vl = Ke("Video", [
2102
2102
  * This source code is licensed under the ISC license.
2103
2103
  * See the LICENSE file in the root directory of this source tree.
2104
2104
  */
2105
- const qn = Ke("Wand2", [
2105
+ const qn = Ye("Wand2", [
2106
2106
  [
2107
2107
  "path",
2108
2108
  {
@@ -2124,7 +2124,7 @@ const qn = Ke("Wand2", [
2124
2124
  * This source code is licensed under the ISC license.
2125
2125
  * See the LICENSE file in the root directory of this source tree.
2126
2126
  */
2127
- const uo = Ke("X", [
2127
+ const uo = Ye("X", [
2128
2128
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
2129
2129
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
2130
2130
  ]), hC = {}, Xd = (e) => {
@@ -3884,7 +3884,7 @@ const ln = {
3884
3884
  };
3885
3885
  function tg() {
3886
3886
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : tv();
3887
- const t = (Je) => tg(Je);
3887
+ const t = (Ze) => tg(Ze);
3888
3888
  if (t.version = "3.2.6", t.removed = [], !e || !e.document || e.document.nodeType !== ln.document || !e.Element)
3889
3889
  return t.isSupported = !1, t;
3890
3890
  let {
@@ -3902,8 +3902,8 @@ function tg() {
3902
3902
  trustedTypes: f
3903
3903
  } = e, b = d.prototype, h = sn(b, "cloneNode"), g = sn(b, "remove"), x = sn(b, "nextSibling"), C = sn(b, "childNodes"), y = sn(b, "parentNode");
3904
3904
  if (typeof s == "function") {
3905
- const Je = o.createElement("template");
3906
- Je.content && Je.content.ownerDocument && (o = Je.content.ownerDocument);
3905
+ const Ze = o.createElement("template");
3906
+ Ze.content && Ze.content.ownerDocument && (o = Ze.content.ownerDocument);
3907
3907
  }
3908
3908
  let v, A = "";
3909
3909
  const {
@@ -3958,21 +3958,21 @@ function tg() {
3958
3958
  let Te = null;
3959
3959
  const je = pt({}, ["audio", "video", "img", "source", "image", "track"]);
3960
3960
  let Be = null;
3961
- const _e = pt({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ie = "http://www.w3.org/1998/Math/MathML", Re = "http://www.w3.org/2000/svg", we = "http://www.w3.org/1999/xhtml";
3961
+ const Ee = pt({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ie = "http://www.w3.org/1998/Math/MathML", Re = "http://www.w3.org/2000/svg", we = "http://www.w3.org/1999/xhtml";
3962
3962
  let pe = we, be = !1, ke = null;
3963
3963
  const de = pt({}, [Ie, Re, we], Sa);
3964
3964
  let ce = pt({}, ["mi", "mo", "mn", "ms", "mtext"]), me = pt({}, ["annotation-xml"]);
3965
3965
  const ye = pt({}, ["title", "style", "font", "a", "script"]);
3966
- let Ee = null;
3966
+ let _e = null;
3967
3967
  const Ue = ["application/xhtml+xml", "text/html"], fe = "text/html";
3968
3968
  let Ae = null, Fe = null;
3969
- const qe = o.createElement("form"), Ge = function(ge) {
3969
+ const Xe = o.createElement("form"), Ge = function(ge) {
3970
3970
  return ge instanceof RegExp || ge instanceof Function;
3971
3971
  }, ze = function() {
3972
3972
  let ge = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3973
3973
  if (!(Fe && Fe === ge)) {
3974
- if ((!ge || typeof ge != "object") && (ge = {}), ge = Fo(ge), Ee = // eslint-disable-next-line unicorn/prefer-includes
3975
- Ue.indexOf(ge.PARSER_MEDIA_TYPE) === -1 ? fe : ge.PARSER_MEDIA_TYPE, Ae = Ee === "application/xhtml+xml" ? Sa : Si, I = vo(ge, "ALLOWED_TAGS") ? pt({}, ge.ALLOWED_TAGS, Ae) : z, Q = vo(ge, "ALLOWED_ATTR") ? pt({}, ge.ALLOWED_ATTR, Ae) : K, ke = vo(ge, "ALLOWED_NAMESPACES") ? pt({}, ge.ALLOWED_NAMESPACES, Sa) : de, Be = vo(ge, "ADD_URI_SAFE_ATTR") ? pt(Fo(_e), ge.ADD_URI_SAFE_ATTR, Ae) : _e, Te = vo(ge, "ADD_DATA_URI_TAGS") ? pt(Fo(je), ge.ADD_DATA_URI_TAGS, Ae) : je, xe = vo(ge, "FORBID_CONTENTS") ? pt({}, ge.FORBID_CONTENTS, Ae) : ve, ne = vo(ge, "FORBID_TAGS") ? pt({}, ge.FORBID_TAGS, Ae) : Fo({}), ue = vo(ge, "FORBID_ATTR") ? pt({}, ge.FORBID_ATTR, Ae) : Fo({}), le = vo(ge, "USE_PROFILES") ? ge.USE_PROFILES : !1, re = ge.ALLOW_ARIA_ATTR !== !1, ae = ge.ALLOW_DATA_ATTR !== !1, te = ge.ALLOW_UNKNOWN_PROTOCOLS || !1, H = ge.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Z = ge.SAFE_FOR_TEMPLATES || !1, Y = ge.SAFE_FOR_XML !== !1, T = ge.WHOLE_DOCUMENT || !1, F = ge.RETURN_DOM || !1, O = ge.RETURN_DOM_FRAGMENT || !1, E = ge.RETURN_TRUSTED_TYPE || !1, V = ge.FORCE_BODY || !1, U = ge.SANITIZE_DOM !== !1, J = ge.SANITIZE_NAMED_PROPS || !1, oe = ge.KEEP_CONTENT !== !1, ie = ge.IN_PLACE || !1, $ = ge.ALLOWED_URI_REGEXP || Qm, pe = ge.NAMESPACE || we, ce = ge.MATHML_TEXT_INTEGRATION_POINTS || ce, me = ge.HTML_INTEGRATION_POINTS || me, ee = ge.CUSTOM_ELEMENT_HANDLING || {}, ge.CUSTOM_ELEMENT_HANDLING && Ge(ge.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (ee.tagNameCheck = ge.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ge.CUSTOM_ELEMENT_HANDLING && Ge(ge.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (ee.attributeNameCheck = ge.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ge.CUSTOM_ELEMENT_HANDLING && typeof ge.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (ee.allowCustomizedBuiltInElements = ge.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Z && (ae = !1), O && (F = !0), le && (I = pt({}, su), Q = [], le.html === !0 && (pt(I, au), pt(Q, lu)), le.svg === !0 && (pt(I, _a), pt(Q, La), pt(Q, ni)), le.svgFilters === !0 && (pt(I, Ea), pt(Q, La), pt(Q, ni)), le.mathMl === !0 && (pt(I, Ia), pt(Q, cu), pt(Q, ni))), ge.ADD_TAGS && (I === z && (I = Fo(I)), pt(I, ge.ADD_TAGS, Ae)), ge.ADD_ATTR && (Q === K && (Q = Fo(Q)), pt(Q, ge.ADD_ATTR, Ae)), ge.ADD_URI_SAFE_ATTR && pt(Be, ge.ADD_URI_SAFE_ATTR, Ae), ge.FORBID_CONTENTS && (xe === ve && (xe = Fo(xe)), pt(xe, ge.FORBID_CONTENTS, Ae)), oe && (I["#text"] = !0), T && pt(I, ["html", "head", "body"]), I.table && (pt(I, ["tbody"]), delete ne.tbody), ge.TRUSTED_TYPES_POLICY) {
3974
+ if ((!ge || typeof ge != "object") && (ge = {}), ge = Fo(ge), _e = // eslint-disable-next-line unicorn/prefer-includes
3975
+ Ue.indexOf(ge.PARSER_MEDIA_TYPE) === -1 ? fe : ge.PARSER_MEDIA_TYPE, Ae = _e === "application/xhtml+xml" ? Sa : Si, I = vo(ge, "ALLOWED_TAGS") ? pt({}, ge.ALLOWED_TAGS, Ae) : z, Q = vo(ge, "ALLOWED_ATTR") ? pt({}, ge.ALLOWED_ATTR, Ae) : K, ke = vo(ge, "ALLOWED_NAMESPACES") ? pt({}, ge.ALLOWED_NAMESPACES, Sa) : de, Be = vo(ge, "ADD_URI_SAFE_ATTR") ? pt(Fo(Ee), ge.ADD_URI_SAFE_ATTR, Ae) : Ee, Te = vo(ge, "ADD_DATA_URI_TAGS") ? pt(Fo(je), ge.ADD_DATA_URI_TAGS, Ae) : je, xe = vo(ge, "FORBID_CONTENTS") ? pt({}, ge.FORBID_CONTENTS, Ae) : ve, ne = vo(ge, "FORBID_TAGS") ? pt({}, ge.FORBID_TAGS, Ae) : Fo({}), ue = vo(ge, "FORBID_ATTR") ? pt({}, ge.FORBID_ATTR, Ae) : Fo({}), le = vo(ge, "USE_PROFILES") ? ge.USE_PROFILES : !1, re = ge.ALLOW_ARIA_ATTR !== !1, ae = ge.ALLOW_DATA_ATTR !== !1, te = ge.ALLOW_UNKNOWN_PROTOCOLS || !1, H = ge.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Z = ge.SAFE_FOR_TEMPLATES || !1, Y = ge.SAFE_FOR_XML !== !1, T = ge.WHOLE_DOCUMENT || !1, F = ge.RETURN_DOM || !1, O = ge.RETURN_DOM_FRAGMENT || !1, E = ge.RETURN_TRUSTED_TYPE || !1, V = ge.FORCE_BODY || !1, U = ge.SANITIZE_DOM !== !1, J = ge.SANITIZE_NAMED_PROPS || !1, oe = ge.KEEP_CONTENT !== !1, ie = ge.IN_PLACE || !1, $ = ge.ALLOWED_URI_REGEXP || Qm, pe = ge.NAMESPACE || we, ce = ge.MATHML_TEXT_INTEGRATION_POINTS || ce, me = ge.HTML_INTEGRATION_POINTS || me, ee = ge.CUSTOM_ELEMENT_HANDLING || {}, ge.CUSTOM_ELEMENT_HANDLING && Ge(ge.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (ee.tagNameCheck = ge.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ge.CUSTOM_ELEMENT_HANDLING && Ge(ge.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (ee.attributeNameCheck = ge.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ge.CUSTOM_ELEMENT_HANDLING && typeof ge.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (ee.allowCustomizedBuiltInElements = ge.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Z && (ae = !1), O && (F = !0), le && (I = pt({}, su), Q = [], le.html === !0 && (pt(I, au), pt(Q, lu)), le.svg === !0 && (pt(I, _a), pt(Q, La), pt(Q, ni)), le.svgFilters === !0 && (pt(I, Ea), pt(Q, La), pt(Q, ni)), le.mathMl === !0 && (pt(I, Ia), pt(Q, cu), pt(Q, ni))), ge.ADD_TAGS && (I === z && (I = Fo(I)), pt(I, ge.ADD_TAGS, Ae)), ge.ADD_ATTR && (Q === K && (Q = Fo(Q)), pt(Q, ge.ADD_ATTR, Ae)), ge.ADD_URI_SAFE_ATTR && pt(Be, ge.ADD_URI_SAFE_ATTR, Ae), ge.FORBID_CONTENTS && (xe === ve && (xe = Fo(xe)), pt(xe, ge.FORBID_CONTENTS, Ae)), oe && (I["#text"] = !0), T && pt(I, ["html", "head", "body"]), I.table && (pt(I, ["tbody"]), delete ne.tbody), ge.TRUSTED_TYPES_POLICY) {
3976
3976
  if (typeof ge.TRUSTED_TYPES_POLICY.createHTML != "function")
3977
3977
  throw an('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
3978
3978
  if (typeof ge.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -3982,14 +3982,14 @@ function tg() {
3982
3982
  v === void 0 && (v = ov(f, n)), v !== null && typeof A == "string" && (A = v.createHTML(""));
3983
3983
  Xt && Xt(ge), Fe = ge;
3984
3984
  }
3985
- }, Ze = pt({}, [..._a, ...Ea, ...HC]), Ve = pt({}, [...Ia, ...GC]), Oe = function(ge) {
3985
+ }, qe = pt({}, [..._a, ...Ea, ...HC]), Ve = pt({}, [...Ia, ...GC]), Oe = function(ge) {
3986
3986
  let $e = y(ge);
3987
3987
  (!$e || !$e.tagName) && ($e = {
3988
3988
  namespaceURI: pe,
3989
3989
  tagName: "template"
3990
3990
  });
3991
- const Xe = Si(ge.tagName), mt = Si($e.tagName);
3992
- return ke[ge.namespaceURI] ? ge.namespaceURI === Re ? $e.namespaceURI === we ? Xe === "svg" : $e.namespaceURI === Ie ? Xe === "svg" && (mt === "annotation-xml" || ce[mt]) : !!Ze[Xe] : ge.namespaceURI === Ie ? $e.namespaceURI === we ? Xe === "math" : $e.namespaceURI === Re ? Xe === "math" && me[mt] : !!Ve[Xe] : ge.namespaceURI === we ? $e.namespaceURI === Re && !me[mt] || $e.namespaceURI === Ie && !ce[mt] ? !1 : !Ve[Xe] && (ye[Xe] || !Ze[Xe]) : !!(Ee === "application/xhtml+xml" && ke[ge.namespaceURI]) : !1;
3991
+ const Ke = Si(ge.tagName), mt = Si($e.tagName);
3992
+ return ke[ge.namespaceURI] ? ge.namespaceURI === Re ? $e.namespaceURI === we ? Ke === "svg" : $e.namespaceURI === Ie ? Ke === "svg" && (mt === "annotation-xml" || ce[mt]) : !!qe[Ke] : ge.namespaceURI === Ie ? $e.namespaceURI === we ? Ke === "math" : $e.namespaceURI === Re ? Ke === "math" && me[mt] : !!Ve[Ke] : ge.namespaceURI === we ? $e.namespaceURI === Re && !me[mt] || $e.namespaceURI === Ie && !ce[mt] ? !1 : !Ve[Ke] && (ye[Ke] || !qe[Ke]) : !!(_e === "application/xhtml+xml" && ke[ge.namespaceURI]) : !1;
3993
3993
  }, He = function(ge) {
3994
3994
  rn(t.removed, {
3995
3995
  element: ge
@@ -4023,18 +4023,18 @@ function tg() {
4023
4023
  } catch {
4024
4024
  }
4025
4025
  }, ot = function(ge) {
4026
- let $e = null, Xe = null;
4026
+ let $e = null, Ke = null;
4027
4027
  if (V)
4028
4028
  ge = "<remove></remove>" + ge;
4029
4029
  else {
4030
4030
  const ut = iu(ge, /^[\r\n\t ]+/);
4031
- Xe = ut && ut[0];
4031
+ Ke = ut && ut[0];
4032
4032
  }
4033
- Ee === "application/xhtml+xml" && pe === we && (ge = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + ge + "</body></html>");
4033
+ _e === "application/xhtml+xml" && pe === we && (ge = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + ge + "</body></html>");
4034
4034
  const mt = v ? v.createHTML(ge) : ge;
4035
4035
  if (pe === we)
4036
4036
  try {
4037
- $e = new m().parseFromString(mt, Ee);
4037
+ $e = new m().parseFromString(mt, _e);
4038
4038
  } catch {
4039
4039
  }
4040
4040
  if (!$e || !$e.documentElement) {
@@ -4045,7 +4045,7 @@ function tg() {
4045
4045
  }
4046
4046
  }
4047
4047
  const At = $e.body || $e.documentElement;
4048
- return ge && Xe && At.insertBefore(o.createTextNode(Xe), At.childNodes[0] || null), pe === we ? j.call($e, T ? "html" : "body")[0] : T ? $e.documentElement : At;
4048
+ return ge && Ke && At.insertBefore(o.createTextNode(Ke), At.childNodes[0] || null), pe === we ? j.call($e, T ? "html" : "body")[0] : T ? $e.documentElement : At;
4049
4049
  }, lt = function(ge) {
4050
4050
  return k.call(
4051
4051
  ge.ownerDocument || ge,
@@ -4059,25 +4059,25 @@ function tg() {
4059
4059
  }, Se = function(ge) {
4060
4060
  return typeof l == "function" && ge instanceof l;
4061
4061
  };
4062
- function De(Je, ge, $e) {
4063
- ri(Je, (Xe) => {
4064
- Xe.call(t, ge, $e, Fe);
4062
+ function De(Ze, ge, $e) {
4063
+ ri(Ze, (Ke) => {
4064
+ Ke.call(t, ge, $e, Fe);
4065
4065
  });
4066
4066
  }
4067
4067
  const et = function(ge) {
4068
4068
  let $e = null;
4069
4069
  if (De(L.beforeSanitizeElements, ge, null), he(ge))
4070
4070
  return He(ge), !0;
4071
- const Xe = Ae(ge.nodeName);
4071
+ const Ke = Ae(ge.nodeName);
4072
4072
  if (De(L.uponSanitizeElement, ge, {
4073
- tagName: Xe,
4073
+ tagName: Ke,
4074
4074
  allowedTags: I
4075
4075
  }), Y && ge.hasChildNodes() && !Se(ge.firstElementChild) && qt(/<[/\w!]/g, ge.innerHTML) && qt(/<[/\w!]/g, ge.textContent) || ge.nodeType === ln.progressingInstruction || Y && ge.nodeType === ln.comment && qt(/<[/\w]/g, ge.data))
4076
4076
  return He(ge), !0;
4077
- if (!I[Xe] || ne[Xe]) {
4078
- if (!ne[Xe] && dt(Xe) && (ee.tagNameCheck instanceof RegExp && qt(ee.tagNameCheck, Xe) || ee.tagNameCheck instanceof Function && ee.tagNameCheck(Xe)))
4077
+ if (!I[Ke] || ne[Ke]) {
4078
+ if (!ne[Ke] && dt(Ke) && (ee.tagNameCheck instanceof RegExp && qt(ee.tagNameCheck, Ke) || ee.tagNameCheck instanceof Function && ee.tagNameCheck(Ke)))
4079
4079
  return !1;
4080
- if (oe && !xe[Xe]) {
4080
+ if (oe && !xe[Ke]) {
4081
4081
  const mt = y(ge) || ge.parentNode, At = C(ge) || ge.childNodes;
4082
4082
  if (At && mt) {
4083
4083
  const ut = At.length;
@@ -4089,13 +4089,13 @@ function tg() {
4089
4089
  }
4090
4090
  return He(ge), !0;
4091
4091
  }
4092
- return ge instanceof d && !Oe(ge) || (Xe === "noscript" || Xe === "noembed" || Xe === "noframes") && qt(/<\/no(script|embed|frames)/i, ge.innerHTML) ? (He(ge), !0) : (Z && ge.nodeType === ln.text && ($e = ge.textContent, ri([S, W, N], (mt) => {
4092
+ return ge instanceof d && !Oe(ge) || (Ke === "noscript" || Ke === "noembed" || Ke === "noframes") && qt(/<\/no(script|embed|frames)/i, ge.innerHTML) ? (He(ge), !0) : (Z && ge.nodeType === ln.text && ($e = ge.textContent, ri([S, W, N], (mt) => {
4093
4093
  $e = nn($e, mt, " ");
4094
4094
  }), ge.textContent !== $e && (rn(t.removed, {
4095
4095
  element: ge.cloneNode()
4096
4096
  }), ge.textContent = $e)), De(L.afterSanitizeElements, ge, null), !1);
4097
- }, nt = function(ge, $e, Xe) {
4098
- if (U && ($e === "id" || $e === "name") && (Xe in o || Xe in qe))
4097
+ }, nt = function(ge, $e, Ke) {
4098
+ if (U && ($e === "id" || $e === "name") && (Ke in o || Ke in Xe))
4099
4099
  return !1;
4100
4100
  if (!(ae && !ue[$e] && qt(P, $e))) {
4101
4101
  if (!(re && qt(X, $e))) {
@@ -4106,13 +4106,13 @@ function tg() {
4106
4106
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
4107
4107
  !(dt(ge) && (ee.tagNameCheck instanceof RegExp && qt(ee.tagNameCheck, ge) || ee.tagNameCheck instanceof Function && ee.tagNameCheck(ge)) && (ee.attributeNameCheck instanceof RegExp && qt(ee.attributeNameCheck, $e) || ee.attributeNameCheck instanceof Function && ee.attributeNameCheck($e)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4108
4108
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4109
- $e === "is" && ee.allowCustomizedBuiltInElements && (ee.tagNameCheck instanceof RegExp && qt(ee.tagNameCheck, Xe) || ee.tagNameCheck instanceof Function && ee.tagNameCheck(Xe)))
4109
+ $e === "is" && ee.allowCustomizedBuiltInElements && (ee.tagNameCheck instanceof RegExp && qt(ee.tagNameCheck, Ke) || ee.tagNameCheck instanceof Function && ee.tagNameCheck(Ke)))
4110
4110
  ) return !1;
4111
4111
  } else if (!Be[$e]) {
4112
- if (!qt($, nn(Xe, G, ""))) {
4113
- if (!(($e === "src" || $e === "xlink:href" || $e === "href") && ge !== "script" && WC(Xe, "data:") === 0 && Te[ge])) {
4114
- if (!(te && !qt(M, nn(Xe, G, "")))) {
4115
- if (Xe)
4112
+ if (!qt($, nn(Ke, G, ""))) {
4113
+ if (!(($e === "src" || $e === "xlink:href" || $e === "href") && ge !== "script" && WC(Ke, "data:") === 0 && Te[ge])) {
4114
+ if (!(te && !qt(M, nn(Ke, G, "")))) {
4115
+ if (Ke)
4116
4116
  return !1;
4117
4117
  }
4118
4118
  }
@@ -4130,7 +4130,7 @@ function tg() {
4130
4130
  } = ge;
4131
4131
  if (!$e || he(ge))
4132
4132
  return;
4133
- const Xe = {
4133
+ const Ke = {
4134
4134
  attrName: "",
4135
4135
  attrValue: "",
4136
4136
  keepAttr: !0,
@@ -4145,13 +4145,13 @@ function tg() {
4145
4145
  value: Zt
4146
4146
  } = At, Ao = Ae(ut), Ir = Zt;
4147
4147
  let Ft = ut === "value" ? Ir : zC(Ir);
4148
- if (Xe.attrName = Ao, Xe.attrValue = Ft, Xe.keepAttr = !0, Xe.forceKeepAttr = void 0, De(L.uponSanitizeAttribute, ge, Xe), Ft = Xe.attrValue, J && (Ao === "id" || Ao === "name") && (We(ut, ge), Ft = D + Ft), Y && qt(/((--!?|])>)|<\/(style|title)/i, Ft)) {
4148
+ if (Ke.attrName = Ao, Ke.attrValue = Ft, Ke.keepAttr = !0, Ke.forceKeepAttr = void 0, De(L.uponSanitizeAttribute, ge, Ke), Ft = Ke.attrValue, J && (Ao === "id" || Ao === "name") && (We(ut, ge), Ft = D + Ft), Y && qt(/((--!?|])>)|<\/(style|title)/i, Ft)) {
4149
4149
  We(ut, ge);
4150
4150
  continue;
4151
4151
  }
4152
- if (Xe.forceKeepAttr)
4152
+ if (Ke.forceKeepAttr)
4153
4153
  continue;
4154
- if (!Xe.keepAttr) {
4154
+ if (!Ke.keepAttr) {
4155
4155
  We(ut, ge);
4156
4156
  continue;
4157
4157
  }
@@ -4186,44 +4186,44 @@ function tg() {
4186
4186
  }
4187
4187
  }
4188
4188
  De(L.afterSanitizeAttributes, ge, null);
4189
- }, ct = function Je(ge) {
4189
+ }, ct = function Ze(ge) {
4190
4190
  let $e = null;
4191
- const Xe = lt(ge);
4192
- for (De(L.beforeSanitizeShadowDOM, ge, null); $e = Xe.nextNode(); )
4193
- De(L.uponSanitizeShadowNode, $e, null), et($e), tt($e), $e.content instanceof a && Je($e.content);
4191
+ const Ke = lt(ge);
4192
+ for (De(L.beforeSanitizeShadowDOM, ge, null); $e = Ke.nextNode(); )
4193
+ De(L.uponSanitizeShadowNode, $e, null), et($e), tt($e), $e.content instanceof a && Ze($e.content);
4194
4194
  De(L.afterSanitizeShadowDOM, ge, null);
4195
4195
  };
4196
- return t.sanitize = function(Je) {
4197
- let ge = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, $e = null, Xe = null, mt = null, At = null;
4198
- if (be = !Je, be && (Je = "<!-->"), typeof Je != "string" && !Se(Je))
4199
- if (typeof Je.toString == "function") {
4200
- if (Je = Je.toString(), typeof Je != "string")
4196
+ return t.sanitize = function(Ze) {
4197
+ let ge = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, $e = null, Ke = null, mt = null, At = null;
4198
+ if (be = !Ze, be && (Ze = "<!-->"), typeof Ze != "string" && !Se(Ze))
4199
+ if (typeof Ze.toString == "function") {
4200
+ if (Ze = Ze.toString(), typeof Ze != "string")
4201
4201
  throw an("dirty is not a string, aborting");
4202
4202
  } else
4203
4203
  throw an("toString is not a function");
4204
4204
  if (!t.isSupported)
4205
- return Je;
4206
- if (q || ze(ge), t.removed = [], typeof Je == "string" && (ie = !1), ie) {
4207
- if (Je.nodeName) {
4208
- const Zt = Ae(Je.nodeName);
4205
+ return Ze;
4206
+ if (q || ze(ge), t.removed = [], typeof Ze == "string" && (ie = !1), ie) {
4207
+ if (Ze.nodeName) {
4208
+ const Zt = Ae(Ze.nodeName);
4209
4209
  if (!I[Zt] || ne[Zt])
4210
4210
  throw an("root node is forbidden and cannot be sanitized in-place");
4211
4211
  }
4212
- } else if (Je instanceof l)
4213
- $e = ot("<!---->"), Xe = $e.ownerDocument.importNode(Je, !0), Xe.nodeType === ln.element && Xe.nodeName === "BODY" || Xe.nodeName === "HTML" ? $e = Xe : $e.appendChild(Xe);
4212
+ } else if (Ze instanceof l)
4213
+ $e = ot("<!---->"), Ke = $e.ownerDocument.importNode(Ze, !0), Ke.nodeType === ln.element && Ke.nodeName === "BODY" || Ke.nodeName === "HTML" ? $e = Ke : $e.appendChild(Ke);
4214
4214
  else {
4215
4215
  if (!F && !Z && !T && // eslint-disable-next-line unicorn/prefer-includes
4216
- Je.indexOf("<") === -1)
4217
- return v && E ? v.createHTML(Je) : Je;
4218
- if ($e = ot(Je), !$e)
4216
+ Ze.indexOf("<") === -1)
4217
+ return v && E ? v.createHTML(Ze) : Ze;
4218
+ if ($e = ot(Ze), !$e)
4219
4219
  return F ? null : E ? A : "";
4220
4220
  }
4221
4221
  $e && V && He($e.firstChild);
4222
- const ut = lt(ie ? Je : $e);
4222
+ const ut = lt(ie ? Ze : $e);
4223
4223
  for (; mt = ut.nextNode(); )
4224
4224
  et(mt), tt(mt), mt.content instanceof a && ct(mt.content);
4225
4225
  if (ie)
4226
- return Je;
4226
+ return Ze;
4227
4227
  if (F) {
4228
4228
  if (O)
4229
4229
  for (At = R.call($e.ownerDocument); $e.firstChild; )
@@ -4238,24 +4238,24 @@ function tg() {
4238
4238
  Et = nn(Et, Zt, " ");
4239
4239
  }), v && E ? v.createHTML(Et) : Et;
4240
4240
  }, t.setConfig = function() {
4241
- let Je = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4242
- ze(Je), q = !0;
4241
+ let Ze = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4242
+ ze(Ze), q = !0;
4243
4243
  }, t.clearConfig = function() {
4244
4244
  Fe = null, q = !1;
4245
- }, t.isValidAttribute = function(Je, ge, $e) {
4245
+ }, t.isValidAttribute = function(Ze, ge, $e) {
4246
4246
  Fe || ze({});
4247
- const Xe = Ae(Je), mt = Ae(ge);
4248
- return nt(Xe, mt, $e);
4249
- }, t.addHook = function(Je, ge) {
4250
- typeof ge == "function" && rn(L[Je], ge);
4251
- }, t.removeHook = function(Je, ge) {
4247
+ const Ke = Ae(Ze), mt = Ae(ge);
4248
+ return nt(Ke, mt, $e);
4249
+ }, t.addHook = function(Ze, ge) {
4250
+ typeof ge == "function" && rn(L[Ze], ge);
4251
+ }, t.removeHook = function(Ze, ge) {
4252
4252
  if (ge !== void 0) {
4253
- const $e = PC(L[Je], ge);
4254
- return $e === -1 ? void 0 : OC(L[Je], $e, 1)[0];
4253
+ const $e = PC(L[Ze], ge);
4254
+ return $e === -1 ? void 0 : OC(L[Ze], $e, 1)[0];
4255
4255
  }
4256
- return nu(L[Je]);
4257
- }, t.removeHooks = function(Je) {
4258
- L[Je] = [];
4256
+ return nu(L[Ze]);
4257
+ }, t.removeHooks = function(Ze) {
4258
+ L[Ze] = [];
4259
4259
  }, t.removeAllHooks = function() {
4260
4260
  L = uu();
4261
4261
  }, t;
@@ -5065,7 +5065,8 @@ const nv = (e) => {
5065
5065
  right: 13,
5066
5066
  bottom: 13,
5067
5067
  left: 13,
5068
- isCustomPadding: !0
5068
+ isCustomPadding: !0,
5069
+ btnspanheight: 5
5069
5070
  },
5070
5071
  containerPadding: {
5071
5072
  all: 10,
@@ -5107,7 +5108,8 @@ const nv = (e) => {
5107
5108
  right: 13,
5108
5109
  bottom: 13,
5109
5110
  left: 13,
5110
- isCustomPadding: !0
5111
+ isCustomPadding: !0,
5112
+ btnspanheight: 5
5111
5113
  },
5112
5114
  containerPadding: {
5113
5115
  all: 10,
@@ -5154,7 +5156,8 @@ const nv = (e) => {
5154
5156
  right: 13,
5155
5157
  bottom: 13,
5156
5158
  left: 13,
5157
- isCustomPadding: !0
5159
+ isCustomPadding: !0,
5160
+ btnspanheight: 5
5158
5161
  },
5159
5162
  containerPadding: {
5160
5163
  all: 10,
@@ -5648,12 +5651,12 @@ const nv = (e) => {
5648
5651
  return d(n, ["span", "u", "i", "b", "strong"]), n.innerHTML;
5649
5652
  }(e)}
5650
5653
  </div>
5651
- ` : e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#039;").replace(/\n/g, "<br>") : "", Ye = (e) => !e || typeof e != "object" ? "" : Object.entries(e).filter(([t, o]) => o != null).map(([t, o]) => {
5654
+ ` : e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#039;").replace(/\n/g, "<br>") : "", Je = (e) => !e || typeof e != "object" ? "" : Object.entries(e).filter(([t, o]) => o != null).map(([t, o]) => {
5652
5655
  const r = t.replace(/([A-Z])/g, "-$1").toLowerCase();
5653
5656
  return typeof o == "number" && !["z-index", "opacity", "font-weight", "line-height"].includes(r) ? `${r}: ${o}px` : Array.isArray(o) ? `${r}: ${o.join(" ")}` : typeof o == "object" && o !== null ? `${r}: ${JSON.stringify(o)}` : `${r}: ${o}`;
5654
5657
  }).join("; "), pv = (e = {}) => {
5655
5658
  var t, o, r, n, a, s;
5656
- return Ye({
5659
+ return Je({
5657
5660
  // Text styling
5658
5661
  // color: style.textColor || style.color || '#000000', // Support both textColor and color properties
5659
5662
  // fontFamily: style.fontFamily || 'Arial, sans-serif',
@@ -5835,23 +5838,23 @@ const nv = (e) => {
5835
5838
  `.trim();
5836
5839
  }, ig = (e, t, o) => {
5837
5840
  const { content: r, style: n = {}, contentTarget: a } = e, s = (d, c, u) => {
5838
- var w, k, R, j, B, L, S, W, N, P, X, M, G, _, $, I, z, Q, K, ee, ne, ue, re, ae, te, H, Z, Y, T, q, V, F, O, E, U, J, D, oe, ie, le, xe, ve, Te, je, Be, _e, Ie, Re, we, pe, be, ke;
5839
- (w = c == null ? void 0 : c.paddingControl) != null && w.isCustomPadding ? (((k = c == null ? void 0 : c.paddingControl) == null ? void 0 : k.right) || 0) + (((R = c == null ? void 0 : c.paddingControl) == null ? void 0 : R.left) || 0) : ((j = c == null ? void 0 : c.paddingControl) == null ? void 0 : j.all) * 2, c.buttonCustomBorder ? ((c == null ? void 0 : c.buttonBorderRightWidth) || 0) + ((c == null ? void 0 : c.buttonBorderLeftWidth) || 0) : c.buttonBorderWidth * 2, (B = c == null ? void 0 : c.containerPadding) != null && B.isCustomPadding ? (((L = c == null ? void 0 : c.containerPadding) == null ? void 0 : L.right) || 0) + (((S = c == null ? void 0 : c.containerPadding) == null ? void 0 : S.left) || 0) : (W = c == null ? void 0 : c.containerPadding) != null && W.all;
5841
+ var k, R, j, B, L, S, W, N, P, X, M, G, _, $, I, z, Q, K, ee, ne, ue, re, ae, te, H, Z, Y, T, q, V, F, O, E, U, J, D, oe, ie, le, xe, ve, Te, je, Be, Ee, Ie, Re, we, pe, be, ke, de;
5842
+ (k = c == null ? void 0 : c.paddingControl) != null && k.isCustomPadding ? (((R = c == null ? void 0 : c.paddingControl) == null ? void 0 : R.right) || 0) + (((j = c == null ? void 0 : c.paddingControl) == null ? void 0 : j.left) || 0) : ((B = c == null ? void 0 : c.paddingControl) == null ? void 0 : B.all) * 2, c.buttonCustomBorder ? ((c == null ? void 0 : c.buttonBorderRightWidth) || 0) + ((c == null ? void 0 : c.buttonBorderLeftWidth) || 0) : c.buttonBorderWidth * 2, (L = c == null ? void 0 : c.containerPadding) != null && L.isCustomPadding ? (((S = c == null ? void 0 : c.containerPadding) == null ? void 0 : S.right) || 0) + (((W = c == null ? void 0 : c.containerPadding) == null ? void 0 : W.left) || 0) : (N = c == null ? void 0 : c.containerPadding) != null && N.all;
5840
5843
  let p;
5841
5844
  if (o && t > 1) {
5842
- const de = (N = c == null ? void 0 : c.containerPadding) != null && N.isCustomMargin ? ((P = c == null ? void 0 : c.containerPadding) == null ? void 0 : P.left) || 0 : ((X = c == null ? void 0 : c.containerPadding) == null ? void 0 : X.all) || 0, ce = (M = c == null ? void 0 : c.containerPadding) != null && M.isCustomMargin ? ((G = c == null ? void 0 : c.containerPadding) == null ? void 0 : G.right) || 0 : ((_ = c == null ? void 0 : c.containerPadding) == null ? void 0 : _.all) || 0, me = c != null && c.customBorder ? (c == null ? void 0 : c.borderLeftWidth) || 0 : (c == null ? void 0 : c.borderWidth) || 0, ye = c != null && c.customBorder ? (c == null ? void 0 : c.borderRightWidth) || 0 : (c == null ? void 0 : c.borderWidth) || 0;
5843
- p = o - de - ce - me - ye;
5845
+ const ce = (P = c == null ? void 0 : c.containerPadding) != null && P.isCustomMargin ? ((X = c == null ? void 0 : c.containerPadding) == null ? void 0 : X.left) || 0 : ((M = c == null ? void 0 : c.containerPadding) == null ? void 0 : M.all) || 0, me = (G = c == null ? void 0 : c.containerPadding) != null && G.isCustomMargin ? ((_ = c == null ? void 0 : c.containerPadding) == null ? void 0 : _.right) || 0 : (($ = c == null ? void 0 : c.containerPadding) == null ? void 0 : $.all) || 0, ye = c != null && c.customBorder ? (c == null ? void 0 : c.borderLeftWidth) || 0 : (c == null ? void 0 : c.borderWidth) || 0, _e = c != null && c.customBorder ? (c == null ? void 0 : c.borderRightWidth) || 0 : (c == null ? void 0 : c.borderWidth) || 0;
5846
+ p = o - ce - me - ye - _e;
5844
5847
  }
5845
5848
  const m = {
5846
5849
  display: c.fullWidth ? "block" : "inline-block",
5847
5850
  backgroundColor: c.buttonColor || "#3B82F6",
5848
- ...($ = c == null ? void 0 : c.buttonRadiusControl) != null && $.isCustomRadius ? {
5849
- borderTopLeftRadius: `${((I = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : I.topLeft) || 0}px`,
5850
- borderTopRightRadius: `${((z = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : z.topRight) || 0}px`,
5851
- borderBottomLeftRadius: `${((Q = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : Q.bottomLeft) || 0}px`,
5852
- borderBottomRightRadius: `${((K = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : K.bottomRight) || 0}px`
5851
+ ...(I = c == null ? void 0 : c.buttonRadiusControl) != null && I.isCustomRadius ? {
5852
+ borderTopLeftRadius: `${((z = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : z.topLeft) || 0}px`,
5853
+ borderTopRightRadius: `${((Q = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : Q.topRight) || 0}px`,
5854
+ borderBottomLeftRadius: `${((K = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : K.bottomLeft) || 0}px`,
5855
+ borderBottomRightRadius: `${((ee = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : ee.bottomRight) || 0}px`
5853
5856
  } : {
5854
- borderRadius: `${((ee = c.buttonRadiusControl) == null ? void 0 : ee.all) || 0}px ${((ne = c.buttonRadiusControl) == null ? void 0 : ne.all) || 0}px ${((ue = c.buttonRadiusControl) == null ? void 0 : ue.all) || 0}px ${((re = c.buttonRadiusControl) == null ? void 0 : re.all) || 0}px`
5857
+ borderRadius: `${((ne = c.buttonRadiusControl) == null ? void 0 : ne.all) || 0}px ${((ue = c.buttonRadiusControl) == null ? void 0 : ue.all) || 0}px ${((re = c.buttonRadiusControl) == null ? void 0 : re.all) || 0}px ${((ae = c.buttonRadiusControl) == null ? void 0 : ae.all) || 0}px`
5855
5858
  },
5856
5859
  ...c.buttonCustomBorder ? {
5857
5860
  borderTopWidth: c.buttonBorderTopWidth || 0,
@@ -5880,18 +5883,18 @@ const nv = (e) => {
5880
5883
  // Check if padding is disabled - if so, apply 0px
5881
5884
  // When fullWidth is enabled, don't apply left/right padding
5882
5885
  padding: (() => {
5883
- var de, ce, me, ye, Ee, Ue, fe, Ae, Fe, qe, Ge;
5884
- if (((de = c == null ? void 0 : c.paddingControl) == null ? void 0 : de.isPaddingEnabled) === !1)
5886
+ var ce, me, ye, _e, Ue, fe, Ae, Fe, Xe, Ge, ze;
5887
+ if (((ce = c == null ? void 0 : c.paddingControl) == null ? void 0 : ce.isPaddingEnabled) === !1)
5885
5888
  return "0px";
5886
5889
  if (c.fullWidth) {
5887
- if ((ce = c == null ? void 0 : c.paddingControl) != null && ce.isCustomPadding)
5888
- return `${((me = c == null ? void 0 : c.paddingControl) == null ? void 0 : me.top) || 0}px 0px ${((ye = c == null ? void 0 : c.paddingControl) == null ? void 0 : ye.bottom) || 0}px 0px`;
5890
+ if ((me = c == null ? void 0 : c.paddingControl) != null && me.isCustomPadding)
5891
+ return `${((ye = c == null ? void 0 : c.paddingControl) == null ? void 0 : ye.top) || 0}px 0px ${((_e = c == null ? void 0 : c.paddingControl) == null ? void 0 : _e.bottom) || 0}px 0px`;
5889
5892
  {
5890
- const ze = ((Ee = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ee.all) || 13;
5891
- return `${ze}px 0px ${ze}px 0px`;
5893
+ const qe = ((Ue = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ue.all) || 13;
5894
+ return `${qe}px 0px ${qe}px 0px`;
5892
5895
  }
5893
5896
  } else
5894
- return (Ue = c == null ? void 0 : c.paddingControl) != null && Ue.isCustomPadding ? `${((fe = c == null ? void 0 : c.paddingControl) == null ? void 0 : fe.top) || 0}px ${((Ae = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ae.right) || 0}px ${((Fe = c == null ? void 0 : c.paddingControl) == null ? void 0 : Fe.bottom) || 0}px ${((qe = c == null ? void 0 : c.paddingControl) == null ? void 0 : qe.left) || 0}px` : `${((Ge = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ge.all) || 13}px`;
5897
+ return (fe = c == null ? void 0 : c.paddingControl) != null && fe.isCustomPadding ? `${((Ae = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ae.top) || 0}px ${((Fe = c == null ? void 0 : c.paddingControl) == null ? void 0 : Fe.right) || 0}px ${((Xe = c == null ? void 0 : c.paddingControl) == null ? void 0 : Xe.bottom) || 0}px ${((Ge = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ge.left) || 0}px` : `${((ze = c == null ? void 0 : c.paddingControl) == null ? void 0 : ze.all) || 13}px`;
5895
5898
  })(),
5896
5899
  ...c.fullWidth && {
5897
5900
  // width: `calc(100% - ${combine}px)`,
@@ -5909,7 +5912,7 @@ const nv = (e) => {
5909
5912
  // width: buttonStyle.fullWidth ? '100%' : `${buttonStyle.width || 200}px`,
5910
5913
  // height: `${buttonStyle.height || 40}px`,
5911
5914
  textAlign: "center",
5912
- lineHeight: (ae = c.paddingControl) != null && ae.btnspanheight ? `${c.paddingControl.btnspanheight}px` : "normal",
5915
+ lineHeight: (te = c.paddingControl) != null && te.btnspanheight ? `${c.paddingControl.btnspanheight}px` : "normal",
5913
5916
  // lineHeight: `${buttonStyle.height || 40}px`,
5914
5917
  msoLineHeightRule: "exactly"
5915
5918
  }, f = {
@@ -5925,18 +5928,18 @@ const nv = (e) => {
5925
5928
  // Check if padding is disabled - if so, apply 0px
5926
5929
  // When fullWidth is enabled, don't apply left/right padding
5927
5930
  padding: (() => {
5928
- var de, ce, me, ye, Ee, Ue, fe, Ae, Fe, qe, Ge;
5929
- if (((de = c == null ? void 0 : c.paddingControl) == null ? void 0 : de.isPaddingEnabled) === !1)
5931
+ var ce, me, ye, _e, Ue, fe, Ae, Fe, Xe, Ge, ze;
5932
+ if (((ce = c == null ? void 0 : c.paddingControl) == null ? void 0 : ce.isPaddingEnabled) === !1)
5930
5933
  return "0px";
5931
5934
  if (c.fullWidth) {
5932
- if ((ce = c == null ? void 0 : c.paddingControl) != null && ce.isCustomPadding)
5933
- return `${((me = c == null ? void 0 : c.paddingControl) == null ? void 0 : me.top) || 0}px 0px ${((ye = c == null ? void 0 : c.paddingControl) == null ? void 0 : ye.bottom) || 0}px 0px`;
5935
+ if ((me = c == null ? void 0 : c.paddingControl) != null && me.isCustomPadding)
5936
+ return `${((ye = c == null ? void 0 : c.paddingControl) == null ? void 0 : ye.top) || 0}px 0px ${((_e = c == null ? void 0 : c.paddingControl) == null ? void 0 : _e.bottom) || 0}px 0px`;
5934
5937
  {
5935
- const ze = ((Ee = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ee.all) || 13;
5936
- return `${ze}px 0px ${ze}px 0px`;
5938
+ const qe = ((Ue = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ue.all) || 13;
5939
+ return `${qe}px 0px ${qe}px 0px`;
5937
5940
  }
5938
5941
  } else
5939
- return (Ue = c == null ? void 0 : c.paddingControl) != null && Ue.isCustomPadding ? `${((fe = c == null ? void 0 : c.paddingControl) == null ? void 0 : fe.top) || 0}px ${((Ae = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ae.right) || 0}px ${((Fe = c == null ? void 0 : c.paddingControl) == null ? void 0 : Fe.bottom) || 0}px ${((qe = c == null ? void 0 : c.paddingControl) == null ? void 0 : qe.left) || 0}px` : `${((Ge = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ge.all) || 13}px`;
5942
+ return (fe = c == null ? void 0 : c.paddingControl) != null && fe.isCustomPadding ? `${((Ae = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ae.top) || 0}px ${((Fe = c == null ? void 0 : c.paddingControl) == null ? void 0 : Fe.right) || 0}px ${((Xe = c == null ? void 0 : c.paddingControl) == null ? void 0 : Xe.bottom) || 0}px ${((Ge = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ge.left) || 0}px` : `${((ze = c == null ? void 0 : c.paddingControl) == null ? void 0 : ze.all) || 13}px`;
5940
5943
  })(),
5941
5944
  ...c.fullWidth && {
5942
5945
  // width: `calc(100% - ${combine}px)`,
@@ -5946,19 +5949,19 @@ const nv = (e) => {
5946
5949
  // width: buttonStyle.fullWidth ? '100%' : `${buttonStyle.width || 200}px`,
5947
5950
  // height: `${buttonStyle.height || 40}px`,
5948
5951
  textAlign: "center",
5949
- lineHeight: (te = c.paddingControl) != null && te.btnspanheight ? `${c.paddingControl.btnspanheight}px` : "normal",
5952
+ lineHeight: (H = c.paddingControl) != null && H.btnspanheight ? `${c.paddingControl.btnspanheight}px` : "normal",
5950
5953
  // lineHeight: `${buttonStyle.height || 40}px`,
5951
5954
  msoLineHeightRule: "exactly"
5952
5955
  }, b = {
5953
5956
  // display: 'inline-block',
5954
5957
  backgroundColor: c.buttonColor || "#3B82F6",
5955
- ...(H = c == null ? void 0 : c.buttonRadiusControl) != null && H.isCustomRadius ? {
5956
- borderTopLeftRadius: `${((Z = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : Z.topLeft) || 0}px`,
5957
- borderTopRightRadius: `${((Y = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : Y.topRight) || 0}px`,
5958
- borderBottomLeftRadius: `${((T = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : T.bottomLeft) || 0}px`,
5959
- borderBottomRightRadius: `${((q = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : q.bottomRight) || 0}px`
5958
+ ...(Z = c == null ? void 0 : c.buttonRadiusControl) != null && Z.isCustomRadius ? {
5959
+ borderTopLeftRadius: `${((Y = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : Y.topLeft) || 0}px`,
5960
+ borderTopRightRadius: `${((T = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : T.topRight) || 0}px`,
5961
+ borderBottomLeftRadius: `${((q = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : q.bottomLeft) || 0}px`,
5962
+ borderBottomRightRadius: `${((V = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : V.bottomRight) || 0}px`
5960
5963
  } : {
5961
- borderRadius: `${((V = c.buttonRadiusControl) == null ? void 0 : V.all) || 0}px ${((F = c.buttonRadiusControl) == null ? void 0 : F.all) || 0}px ${((O = c.buttonRadiusControl) == null ? void 0 : O.all) || 0}px ${((E = c.buttonRadiusControl) == null ? void 0 : E.all) || 0}px`
5964
+ borderRadius: `${((F = c.buttonRadiusControl) == null ? void 0 : F.all) || 0}px ${((O = c.buttonRadiusControl) == null ? void 0 : O.all) || 0}px ${((E = c.buttonRadiusControl) == null ? void 0 : E.all) || 0}px ${((U = c.buttonRadiusControl) == null ? void 0 : U.all) || 0}px`
5962
5965
  },
5963
5966
  ...c.buttonCustomBorder ? {
5964
5967
  borderTopWidth: c.buttonBorderTopWidth || 0,
@@ -5979,18 +5982,18 @@ const nv = (e) => {
5979
5982
  // Check if padding is disabled - if so, apply 0px
5980
5983
  // When fullWidth is enabled, don't apply left/right padding
5981
5984
  padding: (() => {
5982
- var de, ce, me, ye, Ee, Ue, fe, Ae, Fe, qe, Ge;
5983
- if (((de = c == null ? void 0 : c.paddingControl) == null ? void 0 : de.isPaddingEnabled) === !1)
5985
+ var ce, me, ye, _e, Ue, fe, Ae, Fe, Xe, Ge, ze;
5986
+ if (((ce = c == null ? void 0 : c.paddingControl) == null ? void 0 : ce.isPaddingEnabled) === !1)
5984
5987
  return "0px";
5985
5988
  if (c.fullWidth) {
5986
- if ((ce = c == null ? void 0 : c.paddingControl) != null && ce.isCustomPadding)
5987
- return `${((me = c == null ? void 0 : c.paddingControl) == null ? void 0 : me.top) || 0}px 0px ${((ye = c == null ? void 0 : c.paddingControl) == null ? void 0 : ye.bottom) || 0}px 0px`;
5989
+ if ((me = c == null ? void 0 : c.paddingControl) != null && me.isCustomPadding)
5990
+ return `${((ye = c == null ? void 0 : c.paddingControl) == null ? void 0 : ye.top) || 0}px 0px ${((_e = c == null ? void 0 : c.paddingControl) == null ? void 0 : _e.bottom) || 0}px 0px`;
5988
5991
  {
5989
- const ze = ((Ee = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ee.all) || 13;
5990
- return `${ze}px 0px ${ze}px 0px`;
5992
+ const qe = ((Ue = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ue.all) || 13;
5993
+ return `${qe}px 0px ${qe}px 0px`;
5991
5994
  }
5992
5995
  } else
5993
- return (Ue = c == null ? void 0 : c.paddingControl) != null && Ue.isCustomPadding ? `${((fe = c == null ? void 0 : c.paddingControl) == null ? void 0 : fe.top) || 0}px ${((Ae = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ae.right) || 0}px ${((Fe = c == null ? void 0 : c.paddingControl) == null ? void 0 : Fe.bottom) || 0}px ${((qe = c == null ? void 0 : c.paddingControl) == null ? void 0 : qe.left) || 0}px` : `${((Ge = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ge.all) || 13}px`;
5996
+ return (fe = c == null ? void 0 : c.paddingControl) != null && fe.isCustomPadding ? `${((Ae = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ae.top) || 0}px ${((Fe = c == null ? void 0 : c.paddingControl) == null ? void 0 : Fe.right) || 0}px ${((Xe = c == null ? void 0 : c.paddingControl) == null ? void 0 : Xe.bottom) || 0}px ${((Ge = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ge.left) || 0}px` : `${((ze = c == null ? void 0 : c.paddingControl) == null ? void 0 : ze.all) || 13}px`;
5994
5997
  })(),
5995
5998
  ...c.fullWidth && {
5996
5999
  // width: `calc(100% - ${combine}px)`,
@@ -6002,7 +6005,7 @@ const nv = (e) => {
6002
6005
  // width: buttonStyle.fullWidth ? '100%' : `${buttonStyle.width || 200}px`,
6003
6006
  // height: `${buttonStyle.height || 40}px`,
6004
6007
  textAlign: "center",
6005
- lineHeight: (U = c.paddingControl) != null && U.btnspanheight ? `${c.paddingControl.btnspanheight}px` : "normal",
6008
+ lineHeight: (J = c.paddingControl) != null && J.btnspanheight ? `${c.paddingControl.btnspanheight}px` : "normal",
6006
6009
  // lineHeight: `${buttonStyle.height || 40}px`,
6007
6010
  msoLineHeightRule: "exactly"
6008
6011
  }, h = c.showIcon && c.iconUrl ? `
@@ -6020,23 +6023,23 @@ const nv = (e) => {
6020
6023
  border: 0;
6021
6024
  "
6022
6025
  />
6023
- ` : "", g = (J = c.paddingControl) != null && J.btnspanheight ? `line-height: ${c.paddingControl.btnspanheight}px; ` : "", x = c.iconPosition === "right" ? `<span style="${g}vertical-align: middle; display: inline-block;">${d}</span>${h}` : `${h}<span style="${g}vertical-align: middle; display: inline-block;">${d}</span>`, C = () => {
6024
- var me, ye;
6025
- const de = (me = c == null ? void 0 : c.actionTypeUpdates) == null ? void 0 : me.type, ce = (ye = c == null ? void 0 : c.actionTypeUpdates) == null ? void 0 : ye.url;
6026
- switch (de) {
6026
+ ` : "", x = `line-height: ${((D = c.paddingControl) == null ? void 0 : D.btnspanheight) ?? 5}px; `, C = c.iconPosition === "right" ? `<span style="${x}vertical-align: middle; display: inline-block;">${d}</span>${h}` : `${h}<span style="${x}vertical-align: middle; display: inline-block;">${d}</span>`, y = () => {
6027
+ var ye, _e;
6028
+ const ce = (ye = c == null ? void 0 : c.actionTypeUpdates) == null ? void 0 : ye.type, me = (_e = c == null ? void 0 : c.actionTypeUpdates) == null ? void 0 : _e.url;
6029
+ switch (ce) {
6027
6030
  case "site":
6028
- return ce || "#";
6031
+ return me || "#";
6029
6032
  case "offer":
6030
- return ce || "#";
6033
+ return me || "#";
6031
6034
  case "mail":
6032
- return ce || "#";
6035
+ return me || "#";
6033
6036
  case "file":
6034
- return ce || "#";
6037
+ return me || "#";
6035
6038
  case "tel":
6036
- return ce || "#";
6039
+ return me || "#";
6037
6040
  // return `tel:${url}`;
6038
6041
  case "sms":
6039
- return ce || "#";
6042
+ return me || "#";
6040
6043
  // return `sms:${url}`;
6041
6044
  // case 'skype':
6042
6045
  // return `skype:${url}`;
@@ -6047,36 +6050,36 @@ const nv = (e) => {
6047
6050
  case "ftf":
6048
6051
  return "{{#FTF}}";
6049
6052
  case "custom":
6050
- return ce || "#";
6053
+ return me || "#";
6051
6054
  default:
6052
6055
  return "#";
6053
6056
  }
6054
- }, y = {
6057
+ }, v = {
6055
6058
  boxSizing: "border-box",
6056
6059
  textAlign: c.textAlign || "center",
6057
6060
  // width: "100%",
6058
6061
  display: "block",
6059
6062
  margin: "0",
6060
6063
  backgroundColor: c.containerBackgroundColor || "transparent",
6061
- ...(D = c == null ? void 0 : c.containerBorderRadius) != null && D.isCustomRadius ? {
6062
- borderTopLeftRadius: `${((oe = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : oe.topLeft) || 0}px`,
6063
- borderTopRightRadius: `${((ie = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : ie.topRight) || 0}px`,
6064
- borderBottomLeftRadius: `${((le = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : le.bottomLeft) || 0}px`,
6065
- borderBottomRightRadius: `${((xe = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : xe.bottomRight) || 0}px`
6064
+ ...(oe = c == null ? void 0 : c.containerBorderRadius) != null && oe.isCustomRadius ? {
6065
+ borderTopLeftRadius: `${((ie = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : ie.topLeft) || 0}px`,
6066
+ borderTopRightRadius: `${((le = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : le.topRight) || 0}px`,
6067
+ borderBottomLeftRadius: `${((xe = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : xe.bottomLeft) || 0}px`,
6068
+ borderBottomRightRadius: `${((ve = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : ve.bottomRight) || 0}px`
6066
6069
  } : {
6067
- borderRadius: `${((ve = c.containerBorderRadius) == null ? void 0 : ve.all) || 0}px ${((Te = c.containerBorderRadius) == null ? void 0 : Te.all) || 0}px ${((je = c.containerBorderRadius) == null ? void 0 : je.all) || 0}px ${((Be = c.containerBorderRadius) == null ? void 0 : Be.all) || 0}px`
6070
+ borderRadius: `${((Te = c.containerBorderRadius) == null ? void 0 : Te.all) || 0}px ${((je = c.containerBorderRadius) == null ? void 0 : je.all) || 0}px ${((Be = c.containerBorderRadius) == null ? void 0 : Be.all) || 0}px ${((Ee = c.containerBorderRadius) == null ? void 0 : Ee.all) || 0}px`
6068
6071
  },
6069
6072
  // Check if margin is enabled, if disabled send 0px
6070
- ...((_e = c == null ? void 0 : c.containerPadding) == null ? void 0 : _e.isMarginEnabled) === !1 ? {
6073
+ ...((Ie = c == null ? void 0 : c.containerPadding) == null ? void 0 : Ie.isMarginEnabled) === !1 ? {
6071
6074
  padding: "0px"
6072
- } : (Ie = c == null ? void 0 : c.containerPadding) != null && Ie.isCustomMargin ? {
6075
+ } : (Re = c == null ? void 0 : c.containerPadding) != null && Re.isCustomMargin ? {
6073
6076
  padding: "0px",
6074
- paddingTop: ((we = c == null ? void 0 : c.containerPadding) == null ? void 0 : we.top) || 0,
6075
- paddingRight: ((pe = c == null ? void 0 : c.containerPadding) == null ? void 0 : pe.right) || 0,
6076
- paddingBottom: ((be = c == null ? void 0 : c.containerPadding) == null ? void 0 : be.bottom) || 0,
6077
- paddingLeft: ((ke = c == null ? void 0 : c.containerPadding) == null ? void 0 : ke.left) || 0
6077
+ paddingTop: ((pe = c == null ? void 0 : c.containerPadding) == null ? void 0 : pe.top) || 0,
6078
+ paddingRight: ((be = c == null ? void 0 : c.containerPadding) == null ? void 0 : be.right) || 0,
6079
+ paddingBottom: ((ke = c == null ? void 0 : c.containerPadding) == null ? void 0 : ke.bottom) || 0,
6080
+ paddingLeft: ((de = c == null ? void 0 : c.containerPadding) == null ? void 0 : de.left) || 0
6078
6081
  } : {
6079
- padding: (Re = c == null ? void 0 : c.containerPadding) != null && Re.all ? `${c.containerPadding.all}px` : "0px"
6082
+ padding: (we = c == null ? void 0 : c.containerPadding) != null && we.all ? `${c.containerPadding.all}px` : "0px"
6080
6083
  }
6081
6084
  // ...(buttonStyle.buttonCustomBorder
6082
6085
  // ? {
@@ -6104,8 +6107,8 @@ const nv = (e) => {
6104
6107
  // : 'none',
6105
6108
  // }),
6106
6109
  };
6107
- c.fullWidth && (y.display = "flex");
6108
- const v = u ? `${e.id}-${u}` : e.id, A = p !== void 0 ? {
6110
+ c.fullWidth && (v.display = "flex");
6111
+ const A = u ? `${e.id}-${u}` : e.id, w = p !== void 0 ? {
6109
6112
  maxWidth: `${p}px`,
6110
6113
  width: "100%",
6111
6114
  margin: "0 auto",
@@ -6114,8 +6117,8 @@ const nv = (e) => {
6114
6117
  return `
6115
6118
  <table class="table-button" role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width: 100%; width: 100%;">
6116
6119
  <tr>
6117
- <td class="main-column tee" align="${c.textAlign || "center"}" style="${Ye(y)}">
6118
- ${Object.keys(A).length > 0 ? `<div style="${Ye(A)}">` : ""}
6120
+ <td class="main-column tee" align="${c.textAlign || "center"}" style="${Je(v)}">
6121
+ ${Object.keys(w).length > 0 ? `<div style="${Je(w)}">` : ""}
6119
6122
 
6120
6123
  <!--[if mso]>
6121
6124
  <table
@@ -6141,16 +6144,16 @@ const nv = (e) => {
6141
6144
  <td
6142
6145
  align="${c.textAlign || "center"}"
6143
6146
  class="button-td button-td-primary"
6144
- style="${Ye(b)}"
6147
+ style="${Je(b)}"
6145
6148
  >
6146
6149
  <a
6147
6150
  class="button-a button-a-primary"
6148
- href="${C()}"
6149
- style="${Ye(
6151
+ href="${y()}"
6152
+ style="${Je(
6150
6153
  f
6151
6154
  )}"
6152
6155
  >
6153
- <span style="white-space: nowrap; text-decoration: ${c.underline ? "underline" : "none"};">${x}</span>
6156
+ <span style="white-space: nowrap; text-decoration: ${c.underline ? "underline" : "none"};">${C}</span>
6154
6157
  </a>
6155
6158
  </td>
6156
6159
  </tr>
@@ -6159,15 +6162,15 @@ const nv = (e) => {
6159
6162
  <![endif]-->
6160
6163
 
6161
6164
  <!--[if !mso]><!-->
6162
- <a href="${C()}"
6163
- id="${v}"
6165
+ <a href="${y()}"
6166
+ id="${A}"
6164
6167
  target="_blank"
6165
- style="${Ye(m)}"
6168
+ style="${Je(m)}"
6166
6169
  >
6167
- <span style="display: inline-flex; align-items: center; text-decoration: ${c.underline ? "underline" : "none"};">${x}</span>
6170
+ <span style="display: inline-flex; align-items: center; text-decoration: ${c.underline ? "underline" : "none"};">${C}</span>
6168
6171
  </a>
6169
6172
  <!--<![endif]-->
6170
- ${Object.keys(A).length > 0 ? "</div>" : ""}
6173
+ ${Object.keys(w).length > 0 ? "</div>" : ""}
6171
6174
  </td>
6172
6175
  </tr>
6173
6176
  </table>
@@ -6226,11 +6229,11 @@ const nv = (e) => {
6226
6229
  alt="${c.alt || ""}"
6227
6230
  width="${v}"
6228
6231
  ${typeof y == "number" ? `height="${y}"` : ""}
6229
- style="${Ye(A)}"
6232
+ style="${Je(A)}"
6230
6233
  border="0"
6231
6234
  />
6232
6235
  ` : `
6233
- <div style="${Ye(w)}">
6236
+ <div style="${Je(w)}">
6234
6237
  <svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
6235
6238
  <rect x="3" y="3" width="18" height="18" rx="2" ry="2"/>
6236
6239
  <circle cx="8.5" cy="8.5" r="1.5"/>
@@ -6402,12 +6405,12 @@ const nv = (e) => {
6402
6405
  <!-- padding-bottom: 56.25%; -->
6403
6406
  <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" align="center" style="width:100%; min-width:100%;">
6404
6407
  <tr>
6405
- <td align="center" style="${Ye(m)}">
6408
+ <td align="center" style="${Je(m)}">
6406
6409
  <div class="imagetext-preview-pad" style="
6407
6410
  position: relative;
6408
6411
  display: block;
6409
6412
  width: 100%;
6410
- ${Ye(b)}
6413
+ ${Je(b)}
6411
6414
  ">
6412
6415
 
6413
6416
  <!--[if mso]>
@@ -6436,19 +6439,19 @@ const nv = (e) => {
6436
6439
  background-position: center center;
6437
6440
  margin: 0;
6438
6441
  width: ${j}px;
6439
- ${Ye(h)};
6442
+ ${Je(h)};
6440
6443
  height: ${(p == null ? void 0 : p.height) + "px"};"
6441
6444
  >
6442
6445
  <tr>
6443
6446
 
6444
6447
  <!--[if mso]>
6445
- <td style="${Ye(
6448
+ <td style="${Je(
6446
6449
  f
6447
6450
  )}" style="height: ${(p == null ? void 0 : p.height) + "px"}; padding: 0; margin: 0;">
6448
6451
  <![endif]-->
6449
6452
 
6450
6453
  <!--[if !mso]><!-->
6451
- <td style="${Ye(f)}">
6454
+ <td style="${Je(f)}">
6452
6455
  <!--<![endif]-->
6453
6456
 
6454
6457
  <table class="imagetext-preview-present" role="presentation" border="0" cellpadding="0" cellspacing="0" style="margin:auto;" align="center" valign="middle">
@@ -6545,14 +6548,14 @@ const nv = (e) => {
6545
6548
  return `
6546
6549
  <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width: 100%; width: 100%;"">
6547
6550
  <tr>
6548
- <td align="${(t == null ? void 0 : t.textAlign) || "center"}" valign="middle" style="${Ye(
6551
+ <td align="${(t == null ? void 0 : t.textAlign) || "center"}" valign="middle" style="${Je(
6549
6552
  l
6550
6553
  )}; background-color: ${(t == null ? void 0 : t.containerBackgroundColor) || "transparent"};">
6551
6554
 
6552
6555
  <!--[if lt mso 15]>
6553
6556
  <table role="presentation" width="${parseInt(
6554
6557
  (t == null ? void 0 : t.width) || 100
6555
- )}%" border="0" cellpadding="0" cellspacing="0" style="${Ye(
6558
+ )}%" border="0" cellpadding="0" cellspacing="0" style="${Je(
6556
6559
  c
6557
6560
  )}">
6558
6561
  <tbody>
@@ -6581,7 +6584,7 @@ const nv = (e) => {
6581
6584
  <!--[if gte mso 15]>
6582
6585
  <table role="presentation" width="${parseInt(
6583
6586
  (t == null ? void 0 : t.width) || 100
6584
- )}%" border="0" cellpadding="0" cellspacing="0" style="${Ye(
6587
+ )}%" border="0" cellpadding="0" cellspacing="0" style="${Je(
6585
6588
  c
6586
6589
  )}">
6587
6590
  <tbody>
@@ -6597,7 +6600,7 @@ const nv = (e) => {
6597
6600
  <!--[if !mso]><!-->
6598
6601
  <table role="presentation" width="${parseInt(
6599
6602
  (t == null ? void 0 : t.width) || 100
6600
- )}%" border="0" cellpadding="0" cellspacing="0" style="${Ye(
6603
+ )}%" border="0" cellpadding="0" cellspacing="0" style="${Je(
6601
6604
  c
6602
6605
  )}">
6603
6606
  <tbody>
@@ -6615,7 +6618,7 @@ const nv = (e) => {
6615
6618
  </table>
6616
6619
  `.trim();
6617
6620
  }, hv = (e = {}) => {
6618
- var t, o, r, n, a, s, l, d, c, u, p, m, f, b, h, g, x, C, y, v, A, w, k, R, j;
6621
+ var t, o, r, n, a, s, l, d, c, u, p, m, f, b, h, g, x, C, y, v, A, w, k, R, j, B;
6619
6622
  return {
6620
6623
  container: {
6621
6624
  display: "inline-block",
@@ -6712,25 +6715,26 @@ const nv = (e) => {
6712
6715
  },
6713
6716
  // When buttonFullWidth is enabled, don't apply left/right padding
6714
6717
  padding: (() => {
6715
- var B, L, S, W, N, P, X, M, G, _;
6718
+ var L, S, W, N, P, X, M, G, _, $;
6716
6719
  if (e.buttonFullWidth) {
6717
- if ((B = e == null ? void 0 : e.paddingControl) != null && B.isCustomPadding)
6718
- return `${((L = e == null ? void 0 : e.paddingControl) == null ? void 0 : L.top) || 0}px 0px ${((S = e == null ? void 0 : e.paddingControl) == null ? void 0 : S.bottom) || 0}px 0px`;
6720
+ if ((L = e == null ? void 0 : e.paddingControl) != null && L.isCustomPadding)
6721
+ return `${((S = e == null ? void 0 : e.paddingControl) == null ? void 0 : S.top) || 0}px 0px ${((W = e == null ? void 0 : e.paddingControl) == null ? void 0 : W.bottom) || 0}px 0px`;
6719
6722
  {
6720
- const $ = ((W = e == null ? void 0 : e.paddingControl) == null ? void 0 : W.all) || 13;
6721
- return `${$}px 0px ${$}px 0px`;
6723
+ const I = ((N = e == null ? void 0 : e.paddingControl) == null ? void 0 : N.all) || 13;
6724
+ return `${I}px 0px ${I}px 0px`;
6722
6725
  }
6723
6726
  } else
6724
- return (N = e == null ? void 0 : e.paddingControl) != null && N.isCustomPadding ? `${((P = e == null ? void 0 : e.paddingControl) == null ? void 0 : P.top) || 0}px ${((X = e == null ? void 0 : e.paddingControl) == null ? void 0 : X.right) || 0}px ${((M = e == null ? void 0 : e.paddingControl) == null ? void 0 : M.bottom) || 0}px ${((G = e == null ? void 0 : e.paddingControl) == null ? void 0 : G.left) || 0}px` : `${((_ = e == null ? void 0 : e.paddingControl) == null ? void 0 : _.all) || 13}px`;
6727
+ return (P = e == null ? void 0 : e.paddingControl) != null && P.isCustomPadding ? `${((X = e == null ? void 0 : e.paddingControl) == null ? void 0 : X.top) || 0}px ${((M = e == null ? void 0 : e.paddingControl) == null ? void 0 : M.right) || 0}px ${((G = e == null ? void 0 : e.paddingControl) == null ? void 0 : G.bottom) || 0}px ${((_ = e == null ? void 0 : e.paddingControl) == null ? void 0 : _.left) || 0}px` : `${(($ = e == null ? void 0 : e.paddingControl) == null ? void 0 : $.all) || 13}px`;
6725
6728
  })(),
6726
- lineHeight: (j = e.paddingControl) != null && j.btnspanheight ? `${e.paddingControl.btnspanheight}px` : "normal"
6729
+ lineHeight: (j = e.paddingControl) != null && j.btnspanheight ? `${e.paddingControl.btnspanheight}px` : "normal",
6730
+ btnspanheight: (B = e.paddingControl) == null ? void 0 : B.btnspanheight
6727
6731
  }
6728
6732
  };
6729
6733
  }, Kn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAOCAYAAAAi2ky3AAAABGdBTUEAALGPC/xhBQAAARJJREFUKBVjPHPmzFYGBgYvIKYEbGMC6qbUEJADvEAGUQXgNIiRkfEsFhuuAsUWAeV+ocvhMugKFxeXO1DxG2QNrKysviYmJvH///9fgSwOYuMyaKKmpuZboM2lyBp+//7te/HiRUWgmDGyOIjNCIy1/2iCb4WFhWUUFRV/gMTPnj17EOgCOzQ1GFwMFwFdMRNmCEg1kJ8JpH6j6fyDxsfw2h9mZuZpyIqMjIyuMTEx9YDEgIaeAGJPID8OWQ2IzYImsNrAwOApmhiDqKho8+vXr/cBDd0DkgN6lRHo5RIg0wimFt1rE2ESyLSsrOx3mCEgcaCr/gNdXoGsBltgI8sTzUZ3EdEa0RWCDNqGLkgGfxsAbTdEtpgBOlMAAAAASUVORK5CYII=", fv = (e, t) => {
6730
- var c, u, p, m;
6734
+ var p, m, f, b, h;
6731
6735
  const o = t.buttonWrapper.showIcon ? `
6732
6736
  <img
6733
- src="${((c = t.buttonWrapper) == null ? void 0 : c.iconUrl) || Kn}"
6737
+ src="${((p = t.buttonWrapper) == null ? void 0 : p.iconUrl) || Kn}"
6734
6738
  alt="${t.buttonWrapper.iconAltText || "Image"}"
6735
6739
  style="
6736
6740
  width: ${t.buttonWrapper.iconSize || 16}px;
@@ -6740,7 +6744,7 @@ const nv = (e) => {
6740
6744
  border: 0;
6741
6745
  "
6742
6746
  />
6743
- ` : "", r = t.buttonWrapper.iconPosition === "right" ? `<span style="vertical-align: inherit;">${e.buttonText || "Offer Code"}</span>${o}` : `${o}<span style="vertical-align: inherit;">${e.buttonText || "Offer Code"}</span>`, n = {
6747
+ ` : "", n = `line-height: ${((m = t.button) == null ? void 0 : m.btnspanheight) ?? 5}px; `, a = t.buttonWrapper.iconPosition === "right" ? `<span style="${n}vertical-align: inherit;">${e.buttonText || "Offer Code"}</span>${o}` : `${o}<span style="${n}vertical-align: inherit;">${e.buttonText || "Offer Code"}</span>`, s = {
6744
6748
  display: t.button.width === "100%" ? "block" : "inline-block",
6745
6749
  backgroundColor: t.button.backgroundColor || "#3B82F6",
6746
6750
  borderRadius: t.button.borderRadius,
@@ -6754,7 +6758,7 @@ const nv = (e) => {
6754
6758
  textTransform: t.button.textTransform || "none",
6755
6759
  letterSpacing: t.button.letterSpacing || "0px",
6756
6760
  // Check if padding is disabled - if so, apply 0px
6757
- padding: (u = t.button) == null ? void 0 : u.padding,
6761
+ padding: (f = t.button) == null ? void 0 : f.padding,
6758
6762
  ...t.button.width === "100%" && {
6759
6763
  // width: `calc(100% - ${combine}px)`,
6760
6764
  width: "100%"
@@ -6774,7 +6778,7 @@ const nv = (e) => {
6774
6778
  lineHeight: t.button.lineHeight || "normal",
6775
6779
  // lineHeight: `${buttonStyle.height || 40}px`,
6776
6780
  msoLineHeightRule: "exactly"
6777
- }, a = {
6781
+ }, l = {
6778
6782
  display: t.button.width === "100%" ? "block" : "inline-block",
6779
6783
  color: t.button.buttonTextColor || "#ffffff",
6780
6784
  fontFamily: t.button.fontFamily || "Arial, sans-serif",
@@ -6785,7 +6789,7 @@ const nv = (e) => {
6785
6789
  textTransform: t.button.textTransform || "none",
6786
6790
  letterSpacing: t.button.letterSpacing || "0px",
6787
6791
  // Check if padding is disabled - if so, apply 0px
6788
- padding: (p = t.button) == null ? void 0 : p.padding,
6792
+ padding: (b = t.button) == null ? void 0 : b.padding,
6789
6793
  ...t.button.width === "100%" && {
6790
6794
  // width: `calc(100% - ${combine}px)`,
6791
6795
  width: "100%"
@@ -6796,13 +6800,13 @@ const nv = (e) => {
6796
6800
  textAlign: "center",
6797
6801
  // lineHeight: `${buttonStyle.height || 40}px`,
6798
6802
  msoLineHeightRule: "exactly"
6799
- }, s = {
6803
+ }, d = {
6800
6804
  // display: 'inline-block',
6801
6805
  backgroundColor: t.button.backgroundColor || "#3B82F6",
6802
6806
  borderRadius: t.button.borderRadius,
6803
6807
  border: t.button.border || "none",
6804
6808
  // Check if padding is disabled - if so, apply 0px
6805
- padding: (m = t.button) == null ? void 0 : m.padding,
6809
+ padding: (h = t.button) == null ? void 0 : h.padding,
6806
6810
  ...t.button.width === "100%" && {
6807
6811
  // width: `calc(100% - ${combine}px)`,
6808
6812
  width: "100%"
@@ -6815,23 +6819,23 @@ const nv = (e) => {
6815
6819
  textAlign: "center",
6816
6820
  // lineHeight: `${buttonStyle.height || 40}px`,
6817
6821
  msoLineHeightRule: "exactly"
6818
- }, l = 1, d = () => {
6819
- var h, g, x, C;
6820
- const f = (g = (h = t.button) == null ? void 0 : h.actionTypeUpdates) == null ? void 0 : g.type, b = (C = (x = t.button) == null ? void 0 : x.actionTypeUpdates) == null ? void 0 : C.url;
6821
- switch (f) {
6822
+ }, c = 1, u = () => {
6823
+ var C, y, v, A;
6824
+ const g = (y = (C = t.button) == null ? void 0 : C.actionTypeUpdates) == null ? void 0 : y.type, x = (A = (v = t.button) == null ? void 0 : v.actionTypeUpdates) == null ? void 0 : A.url;
6825
+ switch (g) {
6822
6826
  case "site":
6823
- return b || "#";
6827
+ return x || "#";
6824
6828
  case "offer":
6825
- return b || "#";
6829
+ return x || "#";
6826
6830
  case "mail":
6827
- return b || "#";
6831
+ return x || "#";
6828
6832
  case "file":
6829
- return b || "#";
6833
+ return x || "#";
6830
6834
  case "tel":
6831
- return b || "#";
6835
+ return x || "#";
6832
6836
  // return `tel:${url}`;
6833
6837
  case "sms":
6834
- return b || "#";
6838
+ return x || "#";
6835
6839
  // return `sms:${url}`;
6836
6840
  // case 'skype':
6837
6841
  // return `skype:${url}`;
@@ -6842,7 +6846,7 @@ const nv = (e) => {
6842
6846
  case "ftf":
6843
6847
  return "{{#FTF}}";
6844
6848
  case "custom":
6845
- return b || "#";
6849
+ return x || "#";
6846
6850
  default:
6847
6851
  return "#";
6848
6852
  }
@@ -6873,14 +6877,14 @@ const nv = (e) => {
6873
6877
  <td
6874
6878
  align="${t.button.textAlign || "center"}"
6875
6879
  class="button-td button-td-primary"
6876
- style="${Ye(s)}"
6880
+ style="${Je(d)}"
6877
6881
  >
6878
6882
  <a
6879
6883
  class="button-a button-a-primary"
6880
- href="${d()}"
6881
- style="${Ye(a)}"
6884
+ href="${u()}"
6885
+ style="${Je(l)}"
6882
6886
  >
6883
- <span style="white-space: nowrap; text-decoration: ${t.button.textDecoration || "none"}">${r}</span>
6887
+ <span style="white-space: nowrap; text-decoration: ${t.button.textDecoration || "none"}">${a}</span>
6884
6888
  </a>
6885
6889
  </td>
6886
6890
  </tr>
@@ -6889,12 +6893,12 @@ const nv = (e) => {
6889
6893
  <![endif]-->
6890
6894
 
6891
6895
  <!--[if !mso]><!-->
6892
- <a href="${d()}"
6893
- id="${l}"
6896
+ <a href="${u()}"
6897
+ id="${c}"
6894
6898
  target="_blank"
6895
- style="${Ye(n)}"
6899
+ style="${Je(s)}"
6896
6900
  >
6897
- <span style="display: inline-flex; align-items: center; text-decoration: ${t.button.textDecoration || "none"}">${r}</span>
6901
+ <span style="display: inline-flex; align-items: center; text-decoration: ${t.button.textDecoration || "none"}">${a}</span>
6898
6902
  </a>
6899
6903
  <!--<![endif]-->
6900
6904
 
@@ -6925,7 +6929,7 @@ const nv = (e) => {
6925
6929
  return `
6926
6930
  <table class="table-offer" role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width: 100%; width: 100%;">
6927
6931
  <tr>
6928
- <td class="email-offer-td" align="${p.buttonWrapper.textAlign || "center"}" style="${Ye(m)}">
6932
+ <td class="email-offer-td" align="${p.buttonWrapper.textAlign || "center"}" style="${Je(m)}">
6929
6933
  ${fv(c, p)}
6930
6934
  </td>
6931
6935
  </tr>
@@ -7112,7 +7116,7 @@ const nv = (e) => {
7112
7116
  m
7113
7117
  );
7114
7118
  return `
7115
- <td style="${Ye({
7119
+ <td style="${Je({
7116
7120
  ...o.cell,
7117
7121
  ...f,
7118
7122
  backgroundColor: d,
@@ -7128,7 +7132,7 @@ const nv = (e) => {
7128
7132
  (n, a) => {
7129
7133
  var s;
7130
7134
  return `
7131
- <tr style="${Ye({
7135
+ <tr style="${Je({
7132
7136
  fontFamily: ((s = o == null ? void 0 : o.table) == null ? void 0 : s.fontFamily) || "Arial, sans-serif"
7133
7137
  })}">
7134
7138
  ${n}
@@ -7137,8 +7141,8 @@ const nv = (e) => {
7137
7141
  }
7138
7142
  ).join("");
7139
7143
  }, Av = (e, t) => `
7140
- <div style="${Ye(t.container)}">
7141
- <table role="presentation" style="${Ye(t.table)}">
7144
+ <div style="${Je(t.container)}">
7145
+ <table role="presentation" style="${Je(t.table)}">
7142
7146
  <tbody>
7143
7147
  ${e}
7144
7148
  </tbody>
@@ -7207,13 +7211,13 @@ const nv = (e) => {
7207
7211
  <![endif]-->
7208
7212
 
7209
7213
  <!--[if gte mso 15]>
7210
- <div style="${Ye(
7214
+ <div style="${Je(
7211
7215
  n
7212
7216
  )}" aria-hidden="true">&nbsp;</div>
7213
7217
  <![endif]-->
7214
7218
 
7215
7219
  <!--[if !mso]><!-->
7216
- <div style="${Ye(
7220
+ <div style="${Je(
7217
7221
  n
7218
7222
  )}" aria-hidden="true">&nbsp;</div>
7219
7223
  <!--<![endif]-->
@@ -7268,9 +7272,9 @@ const nv = (e) => {
7268
7272
  const u = `/assets/social/${t.container.iconStyle || 1}/${l}.png`, p = new URL(u, window.location.origin).href;
7269
7273
  return `
7270
7274
  <!--[if mso]>
7271
- <td style="${Ye(t.column)}">
7275
+ <td style="${Je(t.column)}">
7272
7276
  <![endif]-->
7273
- <table role="presentation" border="0" cellpadding="0" cellspacing="0" style="${Ye(
7277
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0" style="${Je(
7274
7278
  t.iconWrapper
7275
7279
  )}">
7276
7280
  <tr>
@@ -7279,15 +7283,15 @@ const nv = (e) => {
7279
7283
  <![endif]-->
7280
7284
 
7281
7285
  <!--[if !mso]><!-->
7282
- <td style="${Ye(t.column)}">
7286
+ <td style="${Je(t.column)}">
7283
7287
  <!--<![endif]-->
7284
- <a href="${d.url}" target="_blank" style="${Ye(
7288
+ <a href="${d.url}" target="_blank" style="${Je(
7285
7289
  t.link
7286
7290
  )}; display: inline;">
7287
7291
  <img
7288
7292
  src="${p}"
7289
7293
  alt="${l}"
7290
- style="${Ye(t.icon)}"
7294
+ style="${Je(t.icon)}"
7291
7295
  width="${parseInt(t.icon.width)}"
7292
7296
  height="${parseInt(t.icon.height)}"
7293
7297
  />
@@ -7552,7 +7556,7 @@ const nv = (e) => {
7552
7556
  class="img-src-left"
7553
7557
  src="${e.imageUrl}"
7554
7558
  alt="${((x = t == null ? void 0 : t.image) == null ? void 0 : x.imageAlt) || ""}"
7555
- style="${Ye(t.image)};
7559
+ style="${Je(t.image)};
7556
7560
  width: ${(C = t.image) == null ? void 0 : C.width}px;"
7557
7561
  width="${(y = t.image) == null ? void 0 : y.width}"
7558
7562
  border="0"
@@ -7562,7 +7566,7 @@ const nv = (e) => {
7562
7566
  class="img-src-elses"
7563
7567
  src="${e.imageUrl}"
7564
7568
  alt="${((v = t == null ? void 0 : t.image) == null ? void 0 : v.imageAlt) || ""}"
7565
- style="${Ye(t.image)};
7569
+ style="${Je(t.image)};
7566
7570
  width: ${(A = t.image) == null ? void 0 : A.width}px;"
7567
7571
  width="${(w = t.image) == null ? void 0 : w.width}"
7568
7572
  border="0"
@@ -7573,7 +7577,7 @@ const nv = (e) => {
7573
7577
  class="img-src-left"
7574
7578
  src="${e.imageUrl}"
7575
7579
  alt="${((k = t == null ? void 0 : t.image) == null ? void 0 : k.imageAlt) || ""}"
7576
- style="${Ye(t.image)};"
7580
+ style="${Je(t.image)};"
7577
7581
  width="${(R = t.image) == null ? void 0 : R.width}"
7578
7582
  border="0"
7579
7583
  />
@@ -7581,7 +7585,7 @@ const nv = (e) => {
7581
7585
  class="img-src-elses pc-w620-width-100pc-del pc-w620-height-250-del"
7582
7586
  src="${e.imageUrl}"
7583
7587
  alt="${((j = t == null ? void 0 : t.image) == null ? void 0 : j.imageAlt) || ""}"
7584
- style="${Ye(t.image)};"
7588
+ style="${Je(t.image)};"
7585
7589
  width="${(B = t.image) == null ? void 0 : B.width}"
7586
7590
  border="0"
7587
7591
  />`
@@ -7612,8 +7616,8 @@ const nv = (e) => {
7612
7616
  }
7613
7617
  const a = e.text ? r(e.text) : "", s = n(a);
7614
7618
  return `
7615
- ${e.title ? `<h3 style="${Ye(t.title)}">${e.title}</h3>` : ""}
7616
- <div class="text-component" style="${Ye(
7619
+ ${e.title ? `<h3 style="${Je(t.title)}">${e.title}</h3>` : ""}
7620
+ <div class="text-component" style="${Je(
7617
7621
  t.text
7618
7622
  )}; display: block;">${s || "Enter text here"}</div>
7619
7623
  `;
@@ -8138,7 +8142,7 @@ const nv = (e) => {
8138
8142
  })(m)) == null ? void 0 : x.totalHorizontal;
8139
8143
  if (((C = o == null ? void 0 : o.image) == null ? void 0 : C.width) - b, !r)
8140
8144
  return u != null && u.trim() ? `
8141
- <div class="email-image-container" style="${Ye({
8145
+ <div class="email-image-container" style="${Je({
8142
8146
  ...t.container
8143
8147
  })}"><table class="main-column image-left-content" data-type="image-left-content" role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace:0pt;mso-table-rspace:0pt;border-collapse:collapse;border-spacing:0px;">
8144
8148
  <tr>
@@ -8157,7 +8161,7 @@ const nv = (e) => {
8157
8161
  border-spacing:0px;
8158
8162
  width: 100%;
8159
8163
  min-width: 100%;
8160
- ${Ye({
8164
+ ${Je({
8161
8165
  ...o.container,
8162
8166
  backgroundSize: ((v = o.container) == null ? void 0 : v.backgroundSize) === "percentage" ? `${((A = o.container) == null ? void 0 : A.backgroundSizeWidth) || 100}% ${((w = o.container) == null ? void 0 : w.backgroundSizeHeight) || 100}%` : ((k = o.container) == null ? void 0 : k.backgroundSize) || "cover"
8163
8167
  })}
@@ -8347,7 +8351,7 @@ const nv = (e) => {
8347
8351
  }
8348
8352
  };
8349
8353
  return `
8350
- <div class="email-image-wrap" style="${Ye({
8354
+ <div class="email-image-wrap" style="${Je({
8351
8355
  ...t.container,
8352
8356
  ...o.container,
8353
8357
  padding: "0px"
@@ -8534,18 +8538,18 @@ const nv = (e) => {
8534
8538
  };
8535
8539
  return `
8536
8540
  <tr>
8537
- <td style="${Ye(a)}">
8541
+ <td style="${Je(a)}">
8538
8542
  <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%">
8539
8543
  <tr>
8540
8544
  <td>
8541
- <a href="${e.link}" target="_blank" style="${Ye(r.link)}">
8542
- <h3 style="${Ye(r.title)}">
8545
+ <a href="${e.link}" target="_blank" style="${Je(r.link)}">
8546
+ <h3 style="${Je(r.title)}">
8543
8547
  ${e.title}
8544
8548
  </h3>
8545
- <p style="${Ye(r.description)}">
8549
+ <p style="${Je(r.description)}">
8546
8550
  ${e.description}
8547
8551
  </p>
8548
- <p style="${Ye(r.pubDate)}">
8552
+ <p style="${Je(r.pubDate)}">
8549
8553
  ${new Date(e.pubDate).toLocaleDateString("en-US", {
8550
8554
  year: "numeric",
8551
8555
  month: "short",
@@ -8574,7 +8578,7 @@ const nv = (e) => {
8574
8578
  };
8575
8579
  return `
8576
8580
  <tr>
8577
- <td style="${Ye(t)}">
8581
+ <td style="${Je(t)}">
8578
8582
  <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%">
8579
8583
  <tr>
8580
8584
  <td align="center">
@@ -8587,9 +8591,9 @@ const nv = (e) => {
8587
8591
  </svg>
8588
8592
  `)}"
8589
8593
  alt=""
8590
- style="${Ye(o)}"
8594
+ style="${Je(o)}"
8591
8595
  />
8592
- <p style="${Ye(
8596
+ <p style="${Je(
8593
8597
  r
8594
8598
  )}">No RSS feed content available</p>
8595
8599
  </td>
@@ -8604,7 +8608,7 @@ const nv = (e) => {
8604
8608
  <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%">
8605
8609
  <tr>
8606
8610
  <td>
8607
- <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="${Ye(t.container)}; display: block;">
8611
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="${Je(t.container)}; display: block;">
8608
8612
  <tbody>
8609
8613
  ${o.length > 0 ? o.map(
8610
8614
  (r, n) => $v(r, n, o.length, t)
@@ -9848,7 +9852,7 @@ const Oi = (e) => {
9848
9852
  typeof window < "u" && (window.useBlockStore = Qe);
9849
9853
  const vg = (e, t, o) => {
9850
9854
  const { content: r, style: n = {}, contentTarget: a } = e, s = (d, c) => {
9851
- var C, y, v, A, w, k, R, j, B, L, S, W, N, P, X, M, G, _, $, I, z, Q, K, ee, ne, ue, re, ae, te, H, Z, Y, T, q, V, F, O, E, U, J, D, oe, ie, le, xe, ve, Te, je, Be, _e, Ie, Re, we;
9855
+ var v, A, w, k, R, j, B, L, S, W, N, P, X, M, G, _, $, I, z, Q, K, ee, ne, ue, re, ae, te, H, Z, Y, T, q, V, F, O, E, U, J, D, oe, ie, le, xe, ve, Te, je, Be, Ee, Ie, Re, we, pe, be, ke;
9852
9856
  const u = {
9853
9857
  // display: 'inline-block',
9854
9858
  boxSizing: "border-box",
@@ -9862,22 +9866,22 @@ const vg = (e, t, o) => {
9862
9866
  justifyContent: c.textAlign === "left" ? "flex-start" : c.textAlign === "right" ? "flex-end" : "center"
9863
9867
  },
9864
9868
  backgroundColor: c.containerBackgroundColor || "transparent",
9865
- ...(C = c == null ? void 0 : c.containerBorderRadius) != null && C.isCustomRadius ? {
9866
- borderTopLeftRadius: `${((y = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : y.topLeft) || 0}px`,
9867
- borderTopRightRadius: `${((v = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : v.topRight) || 0}px`,
9868
- borderBottomLeftRadius: `${((A = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : A.bottomLeft) || 0}px`,
9869
- borderBottomRightRadius: `${((w = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : w.bottomRight) || 0}px`
9869
+ ...(v = c == null ? void 0 : c.containerBorderRadius) != null && v.isCustomRadius ? {
9870
+ borderTopLeftRadius: `${((A = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : A.topLeft) || 0}px`,
9871
+ borderTopRightRadius: `${((w = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : w.topRight) || 0}px`,
9872
+ borderBottomLeftRadius: `${((k = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : k.bottomLeft) || 0}px`,
9873
+ borderBottomRightRadius: `${((R = c == null ? void 0 : c.containerBorderRadius) == null ? void 0 : R.bottomRight) || 0}px`
9870
9874
  } : {
9871
- borderRadius: `${((k = c.containerBorderRadius) == null ? void 0 : k.all) || 0}px ${((R = c.containerBorderRadius) == null ? void 0 : R.all) || 0}px ${((j = c.containerBorderRadius) == null ? void 0 : j.all) || 0}px ${((B = c.containerBorderRadius) == null ? void 0 : B.all) || 0}px`
9875
+ borderRadius: `${((j = c.containerBorderRadius) == null ? void 0 : j.all) || 0}px ${((B = c.containerBorderRadius) == null ? void 0 : B.all) || 0}px ${((L = c.containerBorderRadius) == null ? void 0 : L.all) || 0}px ${((S = c.containerBorderRadius) == null ? void 0 : S.all) || 0}px`
9872
9876
  },
9873
- ...(L = c == null ? void 0 : c.containerPadding) != null && L.isCustomMargin ? {
9877
+ ...(W = c == null ? void 0 : c.containerPadding) != null && W.isCustomMargin ? {
9874
9878
  padding: 0,
9875
- paddingTop: ((W = c == null ? void 0 : c.containerPadding) == null ? void 0 : W.top) || 0,
9876
- paddingRight: ((N = c == null ? void 0 : c.containerPadding) == null ? void 0 : N.right) || 0,
9877
- paddingBottom: ((P = c == null ? void 0 : c.containerPadding) == null ? void 0 : P.bottom) || 0,
9878
- paddingLeft: ((X = c == null ? void 0 : c.containerPadding) == null ? void 0 : X.left) || 0
9879
+ paddingTop: ((P = c == null ? void 0 : c.containerPadding) == null ? void 0 : P.top) || 0,
9880
+ paddingRight: ((X = c == null ? void 0 : c.containerPadding) == null ? void 0 : X.right) || 0,
9881
+ paddingBottom: ((M = c == null ? void 0 : c.containerPadding) == null ? void 0 : M.bottom) || 0,
9882
+ paddingLeft: ((G = c == null ? void 0 : c.containerPadding) == null ? void 0 : G.left) || 0
9879
9883
  } : {
9880
- padding: ((S = c == null ? void 0 : c.containerPadding) == null ? void 0 : S.all) || 0
9884
+ padding: ((N = c == null ? void 0 : c.containerPadding) == null ? void 0 : N.all) || 0
9881
9885
  },
9882
9886
  ...c.customBorder ? {
9883
9887
  borderTopWidth: c.borderTopWidth || 0,
@@ -9897,13 +9901,13 @@ const vg = (e, t, o) => {
9897
9901
  }
9898
9902
  }, p = {
9899
9903
  backgroundColor: c.buttonColor || "#3B82F6",
9900
- ...(M = c == null ? void 0 : c.buttonRadiusControl) != null && M.isCustomRadius ? {
9901
- borderTopLeftRadius: `${((G = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : G.topLeft) || 0}px`,
9902
- borderTopRightRadius: `${((_ = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : _.topRight) || 0}px`,
9903
- borderBottomLeftRadius: `${(($ = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : $.bottomLeft) || 0}px`,
9904
- borderBottomRightRadius: `${((I = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : I.bottomRight) || 0}px`
9904
+ ...(_ = c == null ? void 0 : c.buttonRadiusControl) != null && _.isCustomRadius ? {
9905
+ borderTopLeftRadius: `${(($ = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : $.topLeft) || 0}px`,
9906
+ borderTopRightRadius: `${((I = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : I.topRight) || 0}px`,
9907
+ borderBottomLeftRadius: `${((z = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : z.bottomLeft) || 0}px`,
9908
+ borderBottomRightRadius: `${((Q = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : Q.bottomRight) || 0}px`
9905
9909
  } : {
9906
- borderRadius: `${((z = c.buttonRadiusControl) == null ? void 0 : z.all) || 0}px ${((Q = c.buttonRadiusControl) == null ? void 0 : Q.all) || 0}px ${((K = c.buttonRadiusControl) == null ? void 0 : K.all) || 0}px ${((ee = c.buttonRadiusControl) == null ? void 0 : ee.all) || 0}px`
9910
+ borderRadius: `${((K = c.buttonRadiusControl) == null ? void 0 : K.all) || 0}px ${((ee = c.buttonRadiusControl) == null ? void 0 : ee.all) || 0}px ${((ne = c.buttonRadiusControl) == null ? void 0 : ne.all) || 0}px ${((ue = c.buttonRadiusControl) == null ? void 0 : ue.all) || 0}px`
9907
9911
  },
9908
9912
  ...c.buttonCustomBorder ? {
9909
9913
  borderTopWidth: c.buttonBorderTopWidth || 0,
@@ -9922,7 +9926,7 @@ const vg = (e, t, o) => {
9922
9926
  border: c.buttonBorderWidth || c.buttonBorderStyle || c.buttonBorderColor ? `${c.buttonBorderWidth}px ${c.buttonBorderStyle || "solid"} ${c.buttonBorderColor || "#000000"}` : "none"
9923
9927
  },
9924
9928
  // Check if padding is disabled - if so, apply 0px
9925
- padding: ((ne = c == null ? void 0 : c.paddingControl) == null ? void 0 : ne.isPaddingEnabled) === !1 ? "0px" : (ue = c == null ? void 0 : c.paddingControl) != null && ue.isCustomPadding ? `${((re = c == null ? void 0 : c.paddingControl) == null ? void 0 : re.top) || 0}px ${((ae = c == null ? void 0 : c.paddingControl) == null ? void 0 : ae.right) || 0}px ${((te = c == null ? void 0 : c.paddingControl) == null ? void 0 : te.bottom) || 0}px ${((H = c == null ? void 0 : c.paddingControl) == null ? void 0 : H.left) || 0}px` : `${((Z = c == null ? void 0 : c.paddingControl) == null ? void 0 : Z.all) || 10}px`,
9929
+ padding: ((re = c == null ? void 0 : c.paddingControl) == null ? void 0 : re.isPaddingEnabled) === !1 ? "0px" : (ae = c == null ? void 0 : c.paddingControl) != null && ae.isCustomPadding ? `${((te = c == null ? void 0 : c.paddingControl) == null ? void 0 : te.top) || 0}px ${((H = c == null ? void 0 : c.paddingControl) == null ? void 0 : H.right) || 0}px ${((Z = c == null ? void 0 : c.paddingControl) == null ? void 0 : Z.bottom) || 0}px ${((Y = c == null ? void 0 : c.paddingControl) == null ? void 0 : Y.left) || 0}px` : `${((T = c == null ? void 0 : c.paddingControl) == null ? void 0 : T.all) || 10}px`,
9926
9930
  ...c.fullWidth && {
9927
9931
  width: "100%"
9928
9932
  },
@@ -9962,13 +9966,13 @@ const vg = (e, t, o) => {
9962
9966
  // Allow text to wrap when constrained
9963
9967
  // width: currentStyle.buttonFullWidth ? '100%' : (currentStyle.buttonWidth || 'auto'),
9964
9968
  textAlign: "center",
9965
- ...(Y = c == null ? void 0 : c.buttonRadiusControl) != null && Y.isCustomRadius ? {
9966
- borderTopLeftRadius: `${((T = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : T.topLeft) || 0}px`,
9967
- borderTopRightRadius: `${((q = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : q.topRight) || 0}px`,
9968
- borderBottomLeftRadius: `${((V = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : V.bottomLeft) || 0}px`,
9969
- borderBottomRightRadius: `${((F = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : F.bottomRight) || 0}px`
9969
+ ...(q = c == null ? void 0 : c.buttonRadiusControl) != null && q.isCustomRadius ? {
9970
+ borderTopLeftRadius: `${((V = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : V.topLeft) || 0}px`,
9971
+ borderTopRightRadius: `${((F = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : F.topRight) || 0}px`,
9972
+ borderBottomLeftRadius: `${((O = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : O.bottomLeft) || 0}px`,
9973
+ borderBottomRightRadius: `${((E = c == null ? void 0 : c.buttonRadiusControl) == null ? void 0 : E.bottomRight) || 0}px`
9970
9974
  } : {
9971
- borderRadius: `${((O = c.buttonRadiusControl) == null ? void 0 : O.all) || 0}px ${((E = c.buttonRadiusControl) == null ? void 0 : E.all) || 0}px ${((U = c.buttonRadiusControl) == null ? void 0 : U.all) || 0}px ${((J = c.buttonRadiusControl) == null ? void 0 : J.all) || 0}px`
9975
+ borderRadius: `${((U = c.buttonRadiusControl) == null ? void 0 : U.all) || 0}px ${((J = c.buttonRadiusControl) == null ? void 0 : J.all) || 0}px ${((D = c.buttonRadiusControl) == null ? void 0 : D.all) || 0}px ${((oe = c.buttonRadiusControl) == null ? void 0 : oe.all) || 0}px`
9972
9976
  },
9973
9977
  ...c.buttonCustomBorder ? {
9974
9978
  borderTopWidth: c.buttonBorderTopWidth || 0,
@@ -9986,7 +9990,7 @@ const vg = (e, t, o) => {
9986
9990
  } : {
9987
9991
  border: c.buttonBorderWidth || c.buttonBorderStyle || c.buttonBorderColor ? `${c.buttonBorderWidth || 0}px ${c.buttonBorderStyle || "solid"} ${c.buttonBorderColor || "#000000"}` : "none"
9988
9992
  },
9989
- padding: (D = c == null ? void 0 : c.paddingControl) != null && D.isCustomPadding ? `${((oe = c == null ? void 0 : c.paddingControl) == null ? void 0 : oe.top) || 0}px ${((ie = c == null ? void 0 : c.paddingControl) == null ? void 0 : ie.right) || 0}px ${((le = c == null ? void 0 : c.paddingControl) == null ? void 0 : le.bottom) || 0}px ${((xe = c == null ? void 0 : c.paddingControl) == null ? void 0 : xe.left) || 0}px` : `${((ve = c == null ? void 0 : c.paddingControl) == null ? void 0 : ve.all) || 10}px`
9993
+ padding: (ie = c == null ? void 0 : c.paddingControl) != null && ie.isCustomPadding ? `${((le = c == null ? void 0 : c.paddingControl) == null ? void 0 : le.top) || 0}px ${((xe = c == null ? void 0 : c.paddingControl) == null ? void 0 : xe.right) || 0}px ${((ve = c == null ? void 0 : c.paddingControl) == null ? void 0 : ve.bottom) || 0}px ${((Te = c == null ? void 0 : c.paddingControl) == null ? void 0 : Te.left) || 0}px` : `${((je = c == null ? void 0 : c.paddingControl) == null ? void 0 : je.all) || 10}px`
9990
9994
  }, f = {
9991
9995
  display: c.fullWidth ? "block" : "inline-block",
9992
9996
  color: c.buttonTextColor || "#ffffff",
@@ -9998,7 +10002,7 @@ const vg = (e, t, o) => {
9998
10002
  textTransform: c.textTransform || "none",
9999
10003
  letterSpacing: c.letterSpacing || "0px",
10000
10004
  // Check if padding is disabled - if so, apply 0px
10001
- padding: ((Te = c == null ? void 0 : c.paddingControl) == null ? void 0 : Te.isPaddingEnabled) === !1 ? "0px" : (je = c == null ? void 0 : c.paddingControl) != null && je.isCustomPadding ? `${((Be = c == null ? void 0 : c.paddingControl) == null ? void 0 : Be.top) || 0}px ${((_e = c == null ? void 0 : c.paddingControl) == null ? void 0 : _e.right) || 0}px ${((Ie = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ie.bottom) || 0}px ${((Re = c == null ? void 0 : c.paddingControl) == null ? void 0 : Re.left) || 0}px` : `${((we = c == null ? void 0 : c.paddingControl) == null ? void 0 : we.all) || 10}px`,
10005
+ padding: ((Be = c == null ? void 0 : c.paddingControl) == null ? void 0 : Be.isPaddingEnabled) === !1 ? "0px" : (Ee = c == null ? void 0 : c.paddingControl) != null && Ee.isCustomPadding ? `${((Ie = c == null ? void 0 : c.paddingControl) == null ? void 0 : Ie.top) || 0}px ${((Re = c == null ? void 0 : c.paddingControl) == null ? void 0 : Re.right) || 0}px ${((we = c == null ? void 0 : c.paddingControl) == null ? void 0 : we.bottom) || 0}px ${((pe = c == null ? void 0 : c.paddingControl) == null ? void 0 : pe.left) || 0}px` : `${((be = c == null ? void 0 : c.paddingControl) == null ? void 0 : be.all) || 10}px`,
10002
10006
  ...c.fullWidth && {
10003
10007
  // width: `calc(100% - ${combine}px)`,
10004
10008
  width: "100%"
@@ -10009,7 +10013,7 @@ const vg = (e, t, o) => {
10009
10013
  textAlign: "center",
10010
10014
  // lineHeight: `${buttonStyle.height || 40}px`,
10011
10015
  msoLineHeightRule: "exactly"
10012
- }, b = () => d.fileUrl ? d.fileUrl : d.fileData ? d.fileData : "#", h = (pe) => pe === "start" ? "left" : pe === "end" ? "right" : "center", g = c.showIcon ? `
10016
+ }, b = () => d.fileUrl ? d.fileUrl : d.fileData ? d.fileData : "#", h = (de) => de === "start" ? "left" : de === "end" ? "right" : "center", g = c.showIcon ? `
10013
10017
  <img
10014
10018
  src="${(c == null ? void 0 : c.iconUrl) || Kn}"
10015
10019
  alt="${c.iconAltText || "Attachment Icon"}"
@@ -10021,11 +10025,11 @@ const vg = (e, t, o) => {
10021
10025
  border: 0;
10022
10026
  "
10023
10027
  />
10024
- ` : "", x = c.iconPosition === "right" ? `<span style="vertical-align: inherit;">${c.buttonText || "Download"}</span>${g}` : `${g}<span style="vertical-align: inherit;">${c.buttonText || "Download"}</span>`;
10028
+ ` : "", C = `line-height: ${((ke = c.paddingControl) == null ? void 0 : ke.btnspanheight) ?? 5}px; `, y = c.iconPosition === "right" ? `<span style="${C}vertical-align: inherit;">${c.buttonText || "Download"}</span>${g}` : `${g}<span style="${C}vertical-align: inherit;">${c.buttonText || "Download"}</span>`;
10025
10029
  return `
10026
10030
  <table class="main-column" role="presentation" border="0" cellpadding="0" cellspacing="0" align="center" width="100%" style="min-width: 100%; width: 100%;">
10027
10031
  <tr>
10028
- <td class="main-column tee" style="${Ye(
10032
+ <td class="main-column tee" style="${Je(
10029
10033
  u
10030
10034
  )}; border-collapse: collapse;
10031
10035
  mso-table-lspace: 0pt;
@@ -10057,16 +10061,16 @@ const vg = (e, t, o) => {
10057
10061
  <td
10058
10062
  align="${c.textAlign || "center"}"
10059
10063
  class="button-td button-td-primary"
10060
- style="${Ye(p)}"
10064
+ style="${Je(p)}"
10061
10065
  >
10062
10066
  <a
10063
10067
  class="button-a button-a-primary"
10064
10068
  href="${b()}"
10065
- style="${Ye(
10069
+ style="${Je(
10066
10070
  f
10067
10071
  )}"
10068
10072
  >
10069
- <span style="white-space: nowrap; text-decoration: ${c.underline ? "underline" : "none"};">${x}</span>
10073
+ <span style="white-space: nowrap; text-decoration: ${c.underline ? "underline" : "none"};">${y}</span>
10070
10074
  </a>
10071
10075
  </td>
10072
10076
  </tr>
@@ -10076,12 +10080,12 @@ const vg = (e, t, o) => {
10076
10080
 
10077
10081
  <!--[if !mso]><!-->
10078
10082
  <a href="${b()}"
10079
- style="${Ye(m)}"
10083
+ style="${Je(m)}"
10080
10084
  download="${d.fileName || ""}"
10081
10085
  target="_blank"
10082
10086
  rel="noopener noreferrer"
10083
10087
  >
10084
- ${x}
10088
+ ${y}
10085
10089
  </a>
10086
10090
  <!--<![endif]-->
10087
10091
 
@@ -10196,12 +10200,12 @@ const vg = (e, t, o) => {
10196
10200
  middle: "top",
10197
10201
  end: "bottom"
10198
10202
  }, x = Ne.getState(), C = (ae) => typeof ae == "number" ? `${ae}px` : `${parseInt(ae || "0", 10)}px`, y = Array(n).fill(null).map((ae, te) => {
10199
- var Be, _e;
10203
+ var Be, Ee;
10200
10204
  const H = `${e.id}-${te}`, Y = [...p ? p[H] || [] : a[H] || []].sort((Ie, Re) => {
10201
10205
  var be, ke;
10202
10206
  const we = ((be = Ie.position) == null ? void 0 : be.y) || 0, pe = ((ke = Re.position) == null ? void 0 : ke.y) || 0;
10203
10207
  return we !== pe ? we - pe : (Ie.order || 0) - (Re.order || 0);
10204
- }), T = (_e = (Be = x == null ? void 0 : x.canvasSettings) == null ? void 0 : Be.style) != null && _e.mobileResponsive ? "stack-column-center pc-g-rb pc-g-rpt pc-g-wf pc-w620-itemsVSpacings-20-del" : "", q = 600, V = f && f[te] !== void 0 ? ao(f[te]) : 600 / n, F = V / q * 100, E = ((u == null ? void 0 : u.columnStyles) || [])[te] || {}, U = E == null ? void 0 : E.paddingControl, J = {
10208
+ }), T = (Ee = (Be = x == null ? void 0 : x.canvasSettings) == null ? void 0 : Be.style) != null && Ee.mobileResponsive ? "stack-column-center pc-g-rb pc-g-rpt pc-g-wf pc-w620-itemsVSpacings-20-del" : "", q = 600, V = f && f[te] !== void 0 ? ao(f[te]) : 600 / n, F = V / q * 100, E = ((u == null ? void 0 : u.columnStyles) || [])[te] || {}, U = E == null ? void 0 : E.paddingControl, J = {
10205
10209
  top: 0,
10206
10210
  right: 0,
10207
10211
  bottom: 0,
@@ -10255,7 +10259,7 @@ const vg = (e, t, o) => {
10255
10259
  V - ie - oe,
10256
10260
  0
10257
10261
  ), je = `
10258
- <td class="test-tr-con ${T}" width="${F}%" style="${Ye(
10262
+ <td class="test-tr-con ${T}" width="${F}%" style="${Je(
10259
10263
  {
10260
10264
  ...ve,
10261
10265
  width: `${F}%`
@@ -10276,7 +10280,7 @@ const vg = (e, t, o) => {
10276
10280
  <td class="gap-spacer" width="${b}" style="width: ${b}px; font-size: 1px; line-height: 1px; background-color: transparent;">&nbsp;</td>` : je;
10277
10281
  }).join(""), v = (K = e == null ? void 0 : e.style) != null && K.hideOnDesktop ? "display: none;" : "";
10278
10282
  return `
10279
- <table class="email-block-table ${(ee = e == null ? void 0 : e.style) != null && ee.mobileResponsive ? "pc-width-fill pc-g-b" : ""} ${(ne = e == null ? void 0 : e.style) != null && ne.hideOnDesktop ? "hide-on-desktop" : ""}" role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="${Ye(
10283
+ <table class="email-block-table ${(ee = e == null ? void 0 : e.style) != null && ee.mobileResponsive ? "pc-width-fill pc-g-b" : ""} ${(ne = e == null ? void 0 : e.style) != null && ne.hideOnDesktop ? "hide-on-desktop" : ""}" role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="${Je(
10280
10284
  m
10281
10285
  )}; ${v}">
10282
10286
  <tbody class="${(ue = e == null ? void 0 : e.style) != null && ue.mobileResponsive ? "pc-g-b" : ""}">
@@ -10385,7 +10389,7 @@ const vg = (e, t, o) => {
10385
10389
  <h3
10386
10390
  role="button"
10387
10391
  tabindex="0"
10388
- style="${Ye({
10392
+ style="${Je({
10389
10393
  backgroundColor: o.headerBgColor || "#f3f4f6",
10390
10394
  color: o.headerColor || "#111827",
10391
10395
  fontSize: o.headerFontSize || 16,
@@ -10403,7 +10407,7 @@ const vg = (e, t, o) => {
10403
10407
  <span>${n.title}</span>
10404
10408
  <!-- <span class="accordion-icon">▼</span> -->
10405
10409
  </h3>
10406
- <div style="${Ye({
10410
+ <div style="${Je({
10407
10411
  backgroundColor: o.contentBgColor || "#ffffff",
10408
10412
  color: o.contentColor || "#374151",
10409
10413
  fontSize: o.contentFontSize || 14,
@@ -10448,7 +10452,7 @@ const vg = (e, t, o) => {
10448
10452
  alt="${n.alt || ""}"
10449
10453
  ></amp-img>
10450
10454
  ${n.caption ? `
10451
- <div style="${Ye({
10455
+ <div style="${Je({
10452
10456
  position: "absolute",
10453
10457
  bottom: 0,
10454
10458
  left: 0,
@@ -10470,7 +10474,7 @@ const vg = (e, t, o) => {
10470
10474
  }, zv = (e) => {
10471
10475
  const { content: t, style: o = {} } = e, r = (t == null ? void 0 : t.fields) || [], n = (a) => {
10472
10476
  var l;
10473
- const s = Ye({
10477
+ const s = Je({
10474
10478
  width: "100%",
10475
10479
  padding: "0.5rem",
10476
10480
  borderRadius: "0.375rem",
@@ -10520,7 +10524,7 @@ const vg = (e, t, o) => {
10520
10524
  action-xhr="${t.actionUrl}"
10521
10525
  target="_top"
10522
10526
  class="amp-form"
10523
- style="${Ye({
10527
+ style="${Je({
10524
10528
  backgroundColor: o.backgroundColor || "#ffffff",
10525
10529
  padding: `${o.paddingTop || 16}px ${o.paddingRight || 16}px ${o.paddingBottom || 16}px ${o.paddingLeft || 16}px`,
10526
10530
  borderRadius: o.borderRadius || 8,
@@ -10532,7 +10536,7 @@ const vg = (e, t, o) => {
10532
10536
  <div style="margin-bottom: 1rem;">
10533
10537
  <label
10534
10538
  for="${a.id}"
10535
- style="${Ye({
10539
+ style="${Je({
10536
10540
  display: "block",
10537
10541
  marginBottom: "0.5rem",
10538
10542
  color: o.labelColor || "#374151",
@@ -10551,7 +10555,7 @@ const vg = (e, t, o) => {
10551
10555
 
10552
10556
  <button
10553
10557
  type="submit"
10554
- style="${Ye({
10558
+ style="${Je({
10555
10559
  backgroundColor: o.submitButtonColor || "#3b82f6",
10556
10560
  color: o.submitButtonTextColor || "#ffffff",
10557
10561
  padding: "0.75rem 1rem",
@@ -10672,7 +10676,7 @@ const vg = (e, t, o) => {
10672
10676
  `);
10673
10677
  const R = [...o].sort((j, B) => j.order - B.order);
10674
10678
  return R.map((j, B) => {
10675
- var ee, ne, ue, re, ae, te, H, Z, Y, T, q, V, F, O, E, U, J, D, oe, ie, le, xe, ve, Te, je, Be, _e, Ie, Re, we, pe, be, ke, de, ce, me, ye, Ee, Ue, fe, Ae, Fe, qe, Ge, ze, Ze, Ve, Oe, He, We, ot, lt, he, Se, De, et, nt, dt, tt, ct, Je, ge, $e, Xe, mt, At, ut, Et, Zt, Ao, Ir, Ft, Zr, Qr, cd, dd, ud, pd, hd, fd, md, gd, bd, xd, Cd, vd, wd, Ad, yd, kd, jd, Td, Nd;
10679
+ var ee, ne, ue, re, ae, te, H, Z, Y, T, q, V, F, O, E, U, J, D, oe, ie, le, xe, ve, Te, je, Be, Ee, Ie, Re, we, pe, be, ke, de, ce, me, ye, _e, Ue, fe, Ae, Fe, Xe, Ge, ze, qe, Ve, Oe, He, We, ot, lt, he, Se, De, et, nt, dt, tt, ct, Ze, ge, $e, Ke, mt, At, ut, Et, Zt, Ao, Ir, Ft, Zr, Qr, cd, dd, ud, pd, hd, fd, md, gd, bd, xd, Cd, vd, wd, Ad, yd, kd, jd, Td, Nd;
10676
10680
  const L = R.length, S = B === 0, W = B === L - 1, N = L === 1, X = n.filter(
10677
10681
  (pr) => pr.rowId === j.id
10678
10682
  ), M = N || S, G = N || W;
@@ -10693,18 +10697,18 @@ const vg = (e, t, o) => {
10693
10697
  } : {
10694
10698
  borderTop: M && ((O = t.style) != null && O.borderWidth || (E = t.style) != null && E.borderStyle || (U = t.style) != null && U.borderColor) ? `${((J = t.style) == null ? void 0 : J.borderWidth) || 0}px ${((D = t.style) == null ? void 0 : D.borderStyle) || "solid"} ${((oe = t.style) == null ? void 0 : oe.borderColor) || "#000000"}` : "none",
10695
10699
  borderBottom: G && ((ie = t.style) != null && ie.borderWidth || (le = t.style) != null && le.borderStyle || (xe = t.style) != null && xe.borderColor) ? `${((ve = t.style) == null ? void 0 : ve.borderWidth) || 0}px ${((Te = t.style) == null ? void 0 : Te.borderStyle) || "solid"} ${((je = t.style) == null ? void 0 : je.borderColor) || "#000000"}` : "none",
10696
- borderLeft: (Be = t.style) != null && Be.borderWidth || (_e = t.style) != null && _e.borderStyle || (Ie = t.style) != null && Ie.borderColor ? `${((Re = t.style) == null ? void 0 : Re.borderWidth) || 0}px ${((we = t.style) == null ? void 0 : we.borderStyle) || "solid"} ${((pe = t.style) == null ? void 0 : pe.borderColor) || "#000000"}` : "none",
10700
+ borderLeft: (Be = t.style) != null && Be.borderWidth || (Ee = t.style) != null && Ee.borderStyle || (Ie = t.style) != null && Ie.borderColor ? `${((Re = t.style) == null ? void 0 : Re.borderWidth) || 0}px ${((we = t.style) == null ? void 0 : we.borderStyle) || "solid"} ${((pe = t.style) == null ? void 0 : pe.borderColor) || "#000000"}` : "none",
10697
10701
  borderRight: (be = t.style) != null && be.borderWidth || (ke = t.style) != null && ke.borderStyle || (de = t.style) != null && de.borderColor ? `${((ce = t.style) == null ? void 0 : ce.borderWidth) || 0}px ${((me = t.style) == null ? void 0 : me.borderStyle) || "solid"} ${((ye = t.style) == null ? void 0 : ye.borderColor) || "#000000"}` : "none",
10698
- borderRadius: (Ee = t.style) != null && Ee.borderRadius ? `${(Ue = t.style) == null ? void 0 : Ue.borderRadius}px` : "0px"
10702
+ borderRadius: (_e = t.style) != null && _e.borderRadius ? `${(Ue = t.style) == null ? void 0 : Ue.borderRadius}px` : "0px"
10699
10703
  },
10700
10704
  borderRadius: (fe = t.style) != null && fe.borderRadius ? `${(Ae = t.style) == null ? void 0 : Ae.borderRadius}px` : "0px"
10701
10705
  };
10702
10706
  const _ = {
10703
10707
  width: "100%",
10704
10708
  maxWidth: "100%",
10705
- backgroundImage: (Fe = j.style) != null && Fe.imageBackgroundUrl ? `url('${(qe = j.style) == null ? void 0 : qe.imageBackgroundUrl}')` : "none",
10709
+ backgroundImage: (Fe = j.style) != null && Fe.imageBackgroundUrl ? `url('${(Xe = j.style) == null ? void 0 : Xe.imageBackgroundUrl}')` : "none",
10706
10710
  // backgroundSize: row.style?.backgroundSize || "auto",
10707
- backgroundSize: ((Ge = j.style) == null ? void 0 : Ge.backgroundSize) === "percentage" ? `${((ze = j.style) == null ? void 0 : ze.backgroundSizeWidth) || 100}% ${((Ze = j.style) == null ? void 0 : Ze.backgroundSizeHeight) || 100}%` : ((Ve = j.style) == null ? void 0 : Ve.backgroundSize) || "cover",
10711
+ backgroundSize: ((Ge = j.style) == null ? void 0 : Ge.backgroundSize) === "percentage" ? `${((ze = j.style) == null ? void 0 : ze.backgroundSizeWidth) || 100}% ${((qe = j.style) == null ? void 0 : qe.backgroundSizeHeight) || 100}%` : ((Ve = j.style) == null ? void 0 : Ve.backgroundSize) || "cover",
10708
10712
  backgroundRepeat: ((Oe = j.style) == null ? void 0 : Oe.backgroundRepeat) || "no-repeat",
10709
10713
  backgroundPosition: `${((He = j.style) == null ? void 0 : He.horizontalPosition) || "center"} ${((We = j.style) == null ? void 0 : We.verticalPosition) || "center"}`,
10710
10714
  backgroundColor: ((ot = j.style) == null ? void 0 : ot.backgroundColor) || "transparent",
@@ -10757,7 +10761,7 @@ const vg = (e, t, o) => {
10757
10761
  borderLeftColor: j.style.borderLeftColor
10758
10762
  }
10759
10763
  }
10760
- }, $ = (Je = j.style) != null && Je.responsive ? `
10764
+ }, $ = (Ze = j.style) != null && Ze.responsive ? `
10761
10765
  @media only screen and (max-width: 600px) {
10762
10766
  .row-${j.id} {
10763
10767
  display: ${(ge = j.style) != null && ge.hideOnDesktop || ($e = j.style) != null && $e.hideOnMobile ? "none" : "table"} !important;
@@ -10765,7 +10769,7 @@ const vg = (e, t, o) => {
10765
10769
  max-width: 100% !important;
10766
10770
  }
10767
10771
  .row-${j.id} td {
10768
- display: ${(Xe = j.style) != null && Xe.hideOnDesktop || (mt = j.style) != null && mt.hideOnMobile ? "none" : "table-cell"} !important;
10772
+ display: ${(Ke = j.style) != null && Ke.hideOnDesktop || (mt = j.style) != null && mt.hideOnMobile ? "none" : "table-cell"} !important;
10769
10773
  width: 100% !important;
10770
10774
  max-width: 100% !important;
10771
10775
  box-sizing: border-box !important;
@@ -10834,11 +10838,11 @@ const vg = (e, t, o) => {
10834
10838
  });
10835
10839
  return `
10836
10840
  <!-- Row ${j.order + 1} -->
10837
- <table class="email-row row-${j.id}" role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="${Ye(
10841
+ <table class="email-row row-${j.id}" role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="${Je(
10838
10842
  _
10839
10843
  )}">
10840
10844
  <tr>
10841
- <td class="email-row-td" align="center" style="${Ye(
10845
+ <td class="email-row-td" align="center" style="${Je(
10842
10846
  z()
10843
10847
  )}">
10844
10848
 
@@ -10853,7 +10857,7 @@ const vg = (e, t, o) => {
10853
10857
  data-width="${s}"
10854
10858
  align="center"
10855
10859
  style="
10856
- ${Ye(u)};
10860
+ ${Je(u)};
10857
10861
  background-color: ${d};
10858
10862
  width: ${(Zt = t.style) != null && Zt.mobileResponsive ? "100%" : s + "px"};
10859
10863
  min-width: ${(Ao = t.style) != null && Ao.mobileResponsive ? "inherit" : s + "px"};
@@ -10871,7 +10875,7 @@ const vg = (e, t, o) => {
10871
10875
  data-width="${s}"
10872
10876
  align="center"
10873
10877
  style="
10874
- ${Ye(u)};
10878
+ ${Je(u)};
10875
10879
  background-color: ${d};
10876
10880
  min-width: ${(Ir = t.style) != null && Ir.mobileResponsive ? "inherit" : s + "px"};
10877
10881
  max-width: ${s + "px"};
@@ -10890,7 +10894,7 @@ const vg = (e, t, o) => {
10890
10894
  max-width: ${(Ft = t.style) != null && Ft.mobileResponsive ? "100%" : s + "px"};
10891
10895
  background-color: ${c};
10892
10896
  ${(Zr = t.style) != null && Zr.contentShadow ? `box-shadow: ${Q() || "0 0 10px rgba(0, 0, 0, 0.08)"};` : ""}
10893
- ${Ye(K())}"
10897
+ ${Je(K())}"
10894
10898
  width="${s}"
10895
10899
  >
10896
10900
  ${I}
@@ -11787,7 +11791,7 @@ const vg = (e, t, o) => {
11787
11791
  <div class="content-wrapper">
11788
11792
 
11789
11793
  <!--[if mso]>
11790
- <table class="main-table" align="center" cellspacing="0" cellpadding="0" border="0" width="600" bgColor="${l ? "transparent" : h}" style="background-color: ${l ? "transparent" : h}; ${Ye(u)};
11794
+ <table class="main-table" align="center" cellspacing="0" cellpadding="0" border="0" width="600" bgColor="${l ? "transparent" : h}" style="background-color: ${l ? "transparent" : h}; ${Je(u)};
11791
11795
  width: 100%;
11792
11796
  min-width: ${s};
11793
11797
  max-width: ${s};
@@ -11797,7 +11801,7 @@ const vg = (e, t, o) => {
11797
11801
  <![endif]-->
11798
11802
 
11799
11803
  <!--[if !mso]><!-->
11800
- <table class="main-table" align="center" cellspacing="0" cellpadding="0" border="0" width="100%" bgColor="${l ? "transparent" : h}" style="background-color: ${l ? "transparent" : h}; ${Ye(u)}; width: 100%; margin: 0 auto;border: 0;">
11804
+ <table class="main-table" align="center" cellspacing="0" cellpadding="0" border="0" width="100%" bgColor="${l ? "transparent" : h}" style="background-color: ${l ? "transparent" : h}; ${Je(u)}; width: 100%; margin: 0 auto;border: 0;">
11801
11805
  <!--<![endif]-->
11802
11806
  <tr>
11803
11807
  <td>
@@ -12172,7 +12176,7 @@ function ai(e) {
12172
12176
  isCustomPadding: !1,
12173
12177
  isPaddingEnabled: !1,
12174
12178
  // Disable inner padding for buttons/offers/attachments
12175
- ...t !== void 0 && { btnspanheight: t }
12179
+ btnspanheight: t !== void 0 ? t : 5
12176
12180
  };
12177
12181
  const o = e.internalPadding.trim().split(/\s+/).map((b) => parseInt(b, 10)).filter((b) => !isNaN(b));
12178
12182
  let r = 0, n = 0, a = 0, s = 0, l = !1, d = 0, c = 0;
@@ -12204,7 +12208,7 @@ function ai(e) {
12204
12208
  isCustomPadding: l,
12205
12209
  isPaddingEnabled: !1,
12206
12210
  // Disable inner padding for buttons/offers/attachments
12207
- ...t !== void 0 && { btnspanheight: t }
12211
+ btnspanheight: t !== void 0 ? t : 5
12208
12212
  };
12209
12213
  }
12210
12214
  const si = (e) => {
@@ -17999,8 +18003,8 @@ const Le = ({
17999
18003
  (Be) => Be.type === "button"
18000
18004
  ), je = [];
18001
18005
  return Object.values(h || {}).forEach((Be) => {
18002
- Be.forEach((_e) => {
18003
- _e.type === "button" && je.push(_e);
18006
+ Be.forEach((Ee) => {
18007
+ Ee.type === "button" && je.push(Ee);
18004
18008
  });
18005
18009
  }), [...Te, ...je];
18006
18010
  })();
@@ -18165,7 +18169,7 @@ const Le = ({
18165
18169
  categoryName: J
18166
18170
  }
18167
18171
  }
18168
- }, _e = Zl(e), Ie = Wi(), Re = {
18172
+ }, Ee = Zl(e), Ie = Wi(), Re = {
18169
18173
  ...je,
18170
18174
  FilePath: Ie
18171
18175
  };
@@ -18176,7 +18180,7 @@ const Le = ({
18176
18180
  templateDetails: Be,
18177
18181
  saveType: "saveAsTemplate",
18178
18182
  FilePath: Ie,
18179
- ..._e
18183
+ ...Ee
18180
18184
  }));
18181
18185
  if (we != null && we.templateId || we != null && we.id)
18182
18186
  try {
@@ -18231,7 +18235,7 @@ const Le = ({
18231
18235
  return console.error("Error capturing canvas screenshot:", U), null;
18232
18236
  }
18233
18237
  }, Y = async () => {
18234
- var Re, we, pe, be, ke, de, ce, me, ye, Ee, Ue, fe;
18238
+ var Re, we, pe, be, ke, de, ce, me, ye, _e, Ue, fe;
18235
18239
  const E = ue();
18236
18240
  if (!E.isValid) {
18237
18241
  Q(E.message), I(!0);
@@ -18262,10 +18266,10 @@ const Le = ({
18262
18266
  t.forEach((Ae) => {
18263
18267
  h && Ae.id && Object.keys(h).forEach((Fe) => {
18264
18268
  if (Fe.startsWith(`${Ae.id}-`)) {
18265
- const qe = Fe.split("-").pop(), Ge = Te[Ae.id], ze = `${Ge}-${qe}`;
18269
+ const Xe = Fe.split("-").pop(), Ge = Te[Ae.id], ze = `${Ge}-${Xe}`;
18266
18270
  je[ze] = h[Fe].map(
18267
- (Ze) => ({
18268
- ...Ze,
18271
+ (qe) => ({
18272
+ ...qe,
18269
18273
  id: st(),
18270
18274
  parentId: Ge
18271
18275
  })
@@ -18273,7 +18277,7 @@ const Le = ({
18273
18277
  }
18274
18278
  });
18275
18279
  });
18276
- const Be = p[0], _e = t.filter(
18280
+ const Be = p[0], Ee = t.filter(
18277
18281
  (Ae) => p.some((Fe) => Ae.rowId === Fe.id)
18278
18282
  ), Ie = {
18279
18283
  offerBuilderEnabled: !0,
@@ -18296,9 +18300,9 @@ const Le = ({
18296
18300
  ...Be.style,
18297
18301
  backgroundColor: ((ce = Be.style) == null ? void 0 : ce.backgroundColor) || ((me = o.style) == null ? void 0 : me.backgroundColor),
18298
18302
  height: ((ye = Be.style) == null ? void 0 : ye.height) || "auto",
18299
- minHeight: ((Ee = Be.style) == null ? void 0 : Ee.minHeight) || "auto"
18303
+ minHeight: ((_e = Be.style) == null ? void 0 : _e.minHeight) || "auto"
18300
18304
  },
18301
- components: _e.map((Ae) => ({
18305
+ components: Ee.map((Ae) => ({
18302
18306
  ...Ae,
18303
18307
  id: Te[Ae.id],
18304
18308
  rowId: Ae.rowId && ve[Ae.rowId] || Ae.rowId,
@@ -18330,10 +18334,10 @@ const Le = ({
18330
18334
  const { isValid: J, firstErrorComponent: D, errorPlatform: oe } = ee();
18331
18335
  if (!J && D) {
18332
18336
  u(D.id), setTimeout(() => {
18333
- const _e = document.querySelector(
18337
+ const Ee = document.querySelector(
18334
18338
  `[data-platform="${oe}"] input[type="text"]`
18335
18339
  );
18336
- _e && (_e.scrollIntoView({ behavior: "smooth", block: "center" }), _e.focus());
18340
+ Ee && (Ee.scrollIntoView({ behavior: "smooth", block: "center" }), Ee.focus());
18337
18341
  }, 100);
18338
18342
  return;
18339
18343
  }
@@ -18344,12 +18348,12 @@ const Le = ({
18344
18348
  );
18345
18349
  return;
18346
18350
  }
18347
- t.forEach((_e) => {
18348
- if (h && (_e != null && _e.id)) {
18351
+ t.forEach((Ee) => {
18352
+ if (h && (Ee != null && Ee.id)) {
18349
18353
  const Ie = {};
18350
18354
  Object.keys(h).forEach((Re) => {
18351
- Re.includes(_e.id) && (Ie[Re] = h[Re]);
18352
- }), _e.blocks = Ie;
18355
+ Re.includes(Ee.id) && (Ie[Re] = h[Re]);
18356
+ }), Ee.blocks = Ie;
18353
18357
  }
18354
18358
  });
18355
18359
  const xe = Ur(
@@ -18375,8 +18379,8 @@ const Le = ({
18375
18379
  FilePath: je,
18376
18380
  ...Te
18377
18381
  })), a();
18378
- } catch (_e) {
18379
- console.error("Error saving template:", _e);
18382
+ } catch (Ee) {
18383
+ console.error("Error saving template:", Ee);
18380
18384
  }
18381
18385
  }, q = () => {
18382
18386
  if (C) {
@@ -20191,6 +20195,15 @@ const So = oc.getInstance(), X1 = (e) => {
20191
20195
  }, iw = (e) => {
20192
20196
  e.querySelectorAll("*").forEach((o) => {
20193
20197
  const r = o.style;
20198
+ if (o.tagName === "SPAN") {
20199
+ if (r.lineHeight === "normal")
20200
+ r.removeProperty("line-height");
20201
+ else if (r.lineHeight && r.lineHeight !== "inherit") {
20202
+ const n = parseFloat(r.lineHeight);
20203
+ isFinite(n) && (n > 5 || n < 0.3) && r.removeProperty("line-height");
20204
+ }
20205
+ return;
20206
+ }
20194
20207
  if (r.fontSize && (!r.lineHeight || r.lineHeight === "") && (r.lineHeight = "normal"), r.lineHeight && r.lineHeight !== "normal" && r.lineHeight !== "inherit") {
20195
20208
  const n = parseFloat(r.lineHeight);
20196
20209
  isFinite(n) && (n > 5 || n < 0.3) && (r.lineHeight = "normal");
@@ -20872,12 +20885,12 @@ const Wu = (e) => {
20872
20885
  const je = E.style.backgroundColor && E.style.backgroundColor.trim() !== "" && E.style.backgroundColor !== "transparent" && E.style.backgroundColor !== "rgba(0, 0, 0, 0)", Be = U.style.backgroundColor && U.style.backgroundColor.trim() !== "" && U.style.backgroundColor !== "transparent" && U.style.backgroundColor !== "rgba(0, 0, 0, 0)";
20873
20886
  if (je && !Be) return -1;
20874
20887
  if (!je && Be) return 1;
20875
- let _e = 0, Ie = 0, Re = E, we = U;
20888
+ let Ee = 0, Ie = 0, Re = E, we = U;
20876
20889
  for (; Re && Re !== h.current; )
20877
- Re.tagName === "SPAN" && _e++, Re = Re.parentElement;
20890
+ Re.tagName === "SPAN" && Ee++, Re = Re.parentElement;
20878
20891
  for (; we && we !== h.current; )
20879
20892
  we.tagName === "SPAN" && Ie++, we = we.parentElement;
20880
- return Ie - _e;
20893
+ return Ie - Ee;
20881
20894
  });
20882
20895
  for (const E of te) {
20883
20896
  let U = E;
@@ -23014,8 +23027,8 @@ const di = {
23014
23027
  try {
23015
23028
  const Be = x.range;
23016
23029
  if (J.contains(Be.commonAncestorContainer)) {
23017
- const _e = window.getSelection();
23018
- _e == null || _e.removeAllRanges(), _e == null || _e.addRange(Be);
23030
+ const Ee = window.getSelection();
23031
+ Ee == null || Ee.removeAllRanges(), Ee == null || Ee.addRange(Be);
23019
23032
  } else
23020
23033
  U.restoreSelection();
23021
23034
  } catch {
@@ -23081,8 +23094,8 @@ const di = {
23081
23094
  const Be = document.createRange();
23082
23095
  try {
23083
23096
  return Be.setStart(ie, le), Be.setEnd(xe, ve), Be;
23084
- } catch (_e) {
23085
- return console.error("Error creating range from text offset:", _e), null;
23097
+ } catch (Ee) {
23098
+ return console.error("Error creating range from text offset:", Ee), null;
23086
23099
  }
23087
23100
  }
23088
23101
  return null;
@@ -23193,8 +23206,8 @@ const di = {
23193
23206
  const je = E.compareBoundaryPoints(Range.START_TO_START, ie) >= 0, Be = E.compareBoundaryPoints(Range.END_TO_END, ie) <= 0;
23194
23207
  if (je && Be)
23195
23208
  return !0;
23196
- const _e = oe.contains(E.startContainer), Ie = oe.contains(E.endContainer);
23197
- return !!(_e && Ie);
23209
+ const Ee = oe.contains(E.startContainer), Ie = oe.contains(E.endContainer);
23210
+ return !!(Ee && Ie);
23198
23211
  } catch (ie) {
23199
23212
  return console.warn("Error comparing ranges for link removal:", ie), !1;
23200
23213
  }
@@ -23675,9 +23688,7 @@ const di = {
23675
23688
  "span",
23676
23689
  {
23677
23690
  style: {
23678
- ...((H = h == null ? void 0 : h.paddingControl) == null ? void 0 : H.btnspanheight) && {
23679
- lineHeight: `${h.paddingControl.btnspanheight}px`
23680
- }
23691
+ lineHeight: `${((H = h == null ? void 0 : h.paddingControl) == null ? void 0 : H.btnspanheight) ?? 5}px`
23681
23692
  },
23682
23693
  children: b
23683
23694
  }
@@ -23689,9 +23700,7 @@ const di = {
23689
23700
  "span",
23690
23701
  {
23691
23702
  style: {
23692
- ...((Z = h == null ? void 0 : h.paddingControl) == null ? void 0 : Z.btnspanheight) && {
23693
- lineHeight: `${h.paddingControl.btnspanheight}px`
23694
- }
23703
+ lineHeight: `${((Z = h == null ? void 0 : h.paddingControl) == null ? void 0 : Z.btnspanheight) ?? 5}px`
23695
23704
  },
23696
23705
  children: b
23697
23706
  }
@@ -25554,9 +25563,7 @@ const Cw = ({
25554
25563
  "span",
25555
25564
  {
25556
25565
  style: {
25557
- ...((ae = f == null ? void 0 : f.paddingControl) == null ? void 0 : ae.btnspanheight) && {
25558
- lineHeight: `${f.paddingControl.btnspanheight}px`
25559
- }
25566
+ lineHeight: `${((ae = f == null ? void 0 : f.paddingControl) == null ? void 0 : ae.btnspanheight) ?? 5}px`
25560
25567
  },
25561
25568
  children: m.buttonText || "Offer Code"
25562
25569
  }
@@ -25568,9 +25575,7 @@ const Cw = ({
25568
25575
  "span",
25569
25576
  {
25570
25577
  style: {
25571
- ...((te = f == null ? void 0 : f.paddingControl) == null ? void 0 : te.btnspanheight) && {
25572
- lineHeight: `${f.paddingControl.btnspanheight}px`
25573
- }
25578
+ lineHeight: `${((te = f == null ? void 0 : f.paddingControl) == null ? void 0 : te.btnspanheight) ?? 5}px`
25574
25579
  },
25575
25580
  children: m.buttonText || "Offer Code"
25576
25581
  }
@@ -26559,9 +26564,7 @@ const Cw = ({
26559
26564
  "span",
26560
26565
  {
26561
26566
  style: {
26562
- ...((z = h == null ? void 0 : h.paddingControl) == null ? void 0 : z.btnspanheight) && {
26563
- lineHeight: `${h.paddingControl.btnspanheight}px`
26564
- }
26567
+ lineHeight: `${((z = h == null ? void 0 : h.paddingControl) == null ? void 0 : z.btnspanheight) ?? 5}px`
26565
26568
  },
26566
26569
  children: g()
26567
26570
  }
@@ -26573,9 +26576,7 @@ const Cw = ({
26573
26576
  "span",
26574
26577
  {
26575
26578
  style: {
26576
- ...((Q = h == null ? void 0 : h.paddingControl) == null ? void 0 : Q.btnspanheight) && {
26577
- lineHeight: `${h.paddingControl.btnspanheight}px`
26578
- }
26579
+ lineHeight: `${((Q = h == null ? void 0 : h.paddingControl) == null ? void 0 : Q.btnspanheight) ?? 5}px`
26579
26580
  },
26580
26581
  children: g()
26581
26582
  }
@@ -30599,7 +30600,7 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
30599
30600
  lineHeight: o.lineHeight || 1.5,
30600
30601
  padding: `${o.paddingTop || 0}px ${o.paddingRight || 0}px ${o.paddingBottom || 0}px ${o.paddingLeft || 0}px`
30601
30602
  };
30602
- return `<div style="${Ye(r)}">
30603
+ return `<div style="${Je(r)}">
30603
30604
  ${t || "Enter text here"}
30604
30605
  </div>`;
30605
30606
  }, Oy = (e) => {
@@ -30616,7 +30617,7 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
30616
30617
  textDecoration: "none",
30617
30618
  display: "inline-block"
30618
30619
  };
30619
- return `<button style="${Ye(r)}">
30620
+ return `<button style="${Je(r)}">
30620
30621
  ${t || "Button"}
30621
30622
  </button>`;
30622
30623
  }, Wy = (e) => {
@@ -30630,7 +30631,7 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
30630
30631
  return `<img
30631
30632
  src="${t || "https://via.placeholder.com/400x300"}"
30632
30633
  alt="${o.alt || ""}"
30633
- style="${Ye(r)}"
30634
+ style="${Je(r)}"
30634
30635
  />`;
30635
30636
  }, zy = (e) => {
30636
30637
  const { content: t, style: o = {} } = e;
@@ -30659,7 +30660,7 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
30659
30660
  borderRadius: o.borderRadius ? `${o.borderRadius}px` : void 0
30660
30661
  };
30661
30662
  return `<video
30662
- style="${Ye(n)}"
30663
+ style="${Je(n)}"
30663
30664
  ${o.controls !== !1 ? "controls" : ""}
30664
30665
  ${o.autoplay ? "autoplay" : ""}
30665
30666
  ${o.muted ? "muted" : ""}
@@ -30674,7 +30675,7 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
30674
30675
  borderTop: `${t.borderWidth || 1}px ${t.borderStyle || "solid"} ${t.borderColor || "#E5E7EB"}`,
30675
30676
  margin: `${t.marginVertical || 20}px 0`
30676
30677
  };
30677
- return `<hr style="${Ye(o)}" />`;
30678
+ return `<hr style="${Je(o)}" />`;
30678
30679
  }, Vy = (e) => {
30679
30680
  const { content: t, style: o = {} } = e;
30680
30681
  return `<div style="text-align: center; padding: 20px; background: ${o.backgroundColor || "#ffffff"}; border-radius: ${o.borderRadius || 8}px;">
@@ -30700,14 +30701,14 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
30700
30701
  border: `${o.borderWidth || 1}px solid ${o.borderColor || "#e5e7eb"}`,
30701
30702
  textAlign: o.textAlign || "left"
30702
30703
  };
30703
- return `<table style="${Ye(r)}">
30704
+ return `<table style="${Je(r)}">
30704
30705
  <tbody>
30705
30706
  ${(a = t.rows) == null ? void 0 : a.map(
30706
30707
  (s) => `
30707
30708
  <tr>
30708
30709
  ${s.map(
30709
30710
  (l) => `
30710
- <td style="${Ye(n)}">${l}</td>`
30711
+ <td style="${Je(n)}">${l}</td>`
30711
30712
  ).join("")}
30712
30713
  </tr>`
30713
30714
  ).join("")}
@@ -30718,7 +30719,7 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
30718
30719
  textAlign: o.alignment || "center",
30719
30720
  padding: `${o.paddingTop || 0}px ${o.paddingRight || 0}px ${o.paddingBottom || 0}px ${o.paddingLeft || 0}px`
30720
30721
  };
30721
- return `<div style="${Ye(r)}">
30722
+ return `<div style="${Je(r)}">
30722
30723
  ${Object.entries(t.links || {}).map(
30723
30724
  ([n, a]) => `
30724
30725
  <a href="${a.url}" style="margin: 0 ${o.spacing || 8}px; text-decoration: none;" target="_blank" rel="noopener noreferrer">
@@ -31217,9 +31218,9 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
31217
31218
  U,
31218
31219
  {
31219
31220
  backgroundColor: "#ffffff",
31220
- filter: (_e) => {
31221
- if (_e.nodeType === Node.ELEMENT_NODE) {
31222
- const Ie = _e;
31221
+ filter: (Ee) => {
31222
+ if (Ee.nodeType === Node.ELEMENT_NODE) {
31223
+ const Ie = Ee;
31223
31224
  return !(Ie.classList.contains("rsp-canvas-hover-prop") || Ie.classList.contains("select-block-section") || Ie.classList.contains("hoverDuplicateBtn") || Ie.classList.contains("hoverContentTargetBtn") || Ie.classList.contains("hoverDeleteBtn") || Ie.classList.contains("hoverMenuBtn") || Ie.classList.contains("codeSnippetBtn"));
31224
31225
  }
31225
31226
  return !0;
@@ -31230,9 +31231,9 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
31230
31231
  U,
31231
31232
  {
31232
31233
  backgroundColor: "#ffffff",
31233
- filter: (_e) => {
31234
- if (_e.nodeType === Node.ELEMENT_NODE) {
31235
- const Ie = _e;
31234
+ filter: (Ee) => {
31235
+ if (Ee.nodeType === Node.ELEMENT_NODE) {
31236
+ const Ie = Ee;
31236
31237
  return !(Ie.classList.contains("rsp-canvas-hover-prop") || Ie.classList.contains("select-block-section") || Ie.classList.contains("hoverDuplicateBtn") || Ie.classList.contains("hoverContentTargetBtn") || Ie.classList.contains("hoverDeleteBtn") || Ie.classList.contains("hoverMenuBtn") || Ie.classList.contains("codeSnippetBtn"));
31237
31238
  }
31238
31239
  return !0;
@@ -31279,8 +31280,8 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
31279
31280
  if (je) {
31280
31281
  const Be = je.querySelector("[data-component-id]");
31281
31282
  if (Be) {
31282
- const _e = Be.getAttribute("data-component-id");
31283
- if (r(_e || "unknown"), _e)
31283
+ const Ee = Be.getAttribute("data-component-id");
31284
+ if (r(Ee || "unknown"), Ee)
31284
31285
  return await te(U, J);
31285
31286
  }
31286
31287
  }
@@ -31301,12 +31302,12 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
31301
31302
  const ie = {};
31302
31303
  w && (e != null && e.id) && Object.keys(w).forEach((je) => {
31303
31304
  if (je.startsWith(`${e.id}-`)) {
31304
- const Be = je.split("-").pop(), _e = oe[e.id], Ie = `${_e}-${Be}`;
31305
+ const Be = je.split("-").pop(), Ee = oe[e.id], Ie = `${Ee}-${Be}`;
31305
31306
  ie[Ie] = w[je].map((Re) => ({
31306
31307
  ...Re,
31307
31308
  id: st(),
31308
31309
  // Generate new ID for each block component
31309
- parentId: _e
31310
+ parentId: Ee
31310
31311
  // Use the mapped parent ID
31311
31312
  }));
31312
31313
  }
@@ -31339,9 +31340,9 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
31339
31340
  "Invalid component ID for snippet save:",
31340
31341
  o
31341
31342
  ), p) {
31342
- const _e = document.querySelector(".row-container-selected");
31343
- if (_e) {
31344
- const Ie = _e.querySelector("[data-component-id]");
31343
+ const Ee = document.querySelector(".row-container-selected");
31344
+ if (Ee) {
31345
+ const Ie = Ee.querySelector("[data-component-id]");
31345
31346
  if (Ie) {
31346
31347
  const Re = Ie.getAttribute("data-component-id");
31347
31348
  if (r(Re || "unknown"), Re)
@@ -31352,7 +31353,7 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
31352
31353
  return;
31353
31354
  }
31354
31355
  const D = s.find(
31355
- (_e) => _e.id === o
31356
+ (Ee) => Ee.id === o
31356
31357
  );
31357
31358
  if (!D) {
31358
31359
  console.error("Component not found in store:", o), W(!1);
@@ -31370,10 +31371,10 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
31370
31371
  const ie = {};
31371
31372
  ie[D.id] = st();
31372
31373
  const le = {};
31373
- w && (D != null && D.id) && Object.keys(w).forEach((_e) => {
31374
- if (_e.startsWith(`${D.id}-`)) {
31375
- const Ie = _e.split("-").pop(), Re = ie[D.id], we = `${Re}-${Ie}`;
31376
- le[we] = w[_e].map((pe) => ({
31374
+ w && (D != null && D.id) && Object.keys(w).forEach((Ee) => {
31375
+ if (Ee.startsWith(`${D.id}-`)) {
31376
+ const Ie = Ee.split("-").pop(), Re = ie[D.id], we = `${Re}-${Ie}`;
31377
+ le[we] = w[Ee].map((pe) => ({
31377
31378
  ...pe,
31378
31379
  id: st(),
31379
31380
  // Generate new ID for each block component
@@ -31415,8 +31416,8 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
31415
31416
  d(((Be = Ie == null ? void 0 : Ie.data) == null ? void 0 : Be.items) || []), L(null), j(!1), m();
31416
31417
  } else
31417
31418
  console.error("Server returned no response for snippet save");
31418
- } catch (_e) {
31419
- console.error("Error saving block snippet:", _e);
31419
+ } catch (Ee) {
31420
+ console.error("Error saving block snippet:", Ee);
31420
31421
  } finally {
31421
31422
  W(!1);
31422
31423
  }
@@ -31996,7 +31997,7 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
31996
31997
  isFirstRow: t,
31997
31998
  isLastRow: o
31998
31999
  }) => {
31999
- var ee, ne, ue, re, ae, te, H, Z, Y, T, q, V, F, O, E, U, J, D, oe, ie, le, xe, ve, Te, je, Be, _e, Ie, Re, we, pe, be, ke, de;
32000
+ var ee, ne, ue, re, ae, te, H, Z, Y, T, q, V, F, O, E, U, J, D, oe, ie, le, xe, ve, Te, je, Be, Ee, Ie, Re, we, pe, be, ke, de;
32000
32001
  const {
32001
32002
  setSelectedComponent: r,
32002
32003
  setSelectedRow: n,
@@ -32034,15 +32035,15 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
32034
32035
  id: me,
32035
32036
  order: (e.order ?? 0) + 1,
32036
32037
  snippetMetadata: void 0
32037
- }, Ee = m.map(
32038
+ }, _e = m.map(
32038
32039
  (Fe) => (Fe.order ?? 0) > (e.order ?? 0) ? { ...Fe, order: (Fe.order ?? 0) + 1 } : Fe
32039
32040
  );
32040
- f([...Ee, ye]);
32041
+ f([..._e, ye]);
32041
32042
  const Ue = s.filter((Fe) => Fe.rowId === e.id), fe = {}, Ae = Ue.map((Fe) => {
32042
- const qe = st();
32043
- return fe[Fe.id] = qe, {
32043
+ const Xe = st();
32044
+ return fe[Fe.id] = Xe, {
32044
32045
  ...Fe,
32045
- id: qe,
32046
+ id: Xe,
32046
32047
  rowId: me,
32047
32048
  snippetMetadata: void 0
32048
32049
  };
@@ -32051,15 +32052,15 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
32051
32052
  const Fe = {
32052
32053
  ...v
32053
32054
  };
32054
- Ue.forEach((qe) => {
32055
+ Ue.forEach((Xe) => {
32055
32056
  Object.keys(v).forEach((Ge) => {
32056
- if (Ge.startsWith(`${qe.id}-`)) {
32057
- const ze = Ge.split("-").pop(), Ze = fe[qe.id], Ve = `${Ze}-${ze}`;
32057
+ if (Ge.startsWith(`${Xe.id}-`)) {
32058
+ const ze = Ge.split("-").pop(), qe = fe[Xe.id], Ve = `${qe}-${ze}`;
32058
32059
  Fe[Ve] = v[Ge].map(
32059
32060
  (Oe) => ({
32060
32061
  ...Oe,
32061
32062
  id: st(),
32062
- parentId: Ze,
32063
+ parentId: qe,
32063
32064
  snippetMetadata: void 0
32064
32065
  })
32065
32066
  );
@@ -32089,14 +32090,14 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
32089
32090
  return null;
32090
32091
  }
32091
32092
  }, z = async (ce) => {
32092
- var fe, Ae, Fe, qe;
32093
+ var fe, Ae, Fe, Xe;
32093
32094
  if (ce.stopPropagation(), r(null), !e) return;
32094
32095
  const me = (fe = e.snippetMetadata) == null ? void 0 : fe.snippetType, ye = S.some(
32095
32096
  (Ge) => Ge.type === "block"
32096
- ), Ee = S.some(
32097
+ ), _e = S.some(
32097
32098
  (Ge) => Ge.type !== "block"
32098
32099
  );
32099
- if (me === "block" || ye && !Ee && S.length === 1) {
32100
+ if (me === "block" || ye && !_e && S.length === 1) {
32100
32101
  const Ge = S.find(
32101
32102
  (ze) => ze.type === "block"
32102
32103
  );
@@ -32115,13 +32116,13 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
32115
32116
  document.dispatchEvent(ze);
32116
32117
  }
32117
32118
  } else
32118
- x && ((qe = e.snippetMetadata) != null && qe.isFromSnippet) ? g({
32119
+ x && ((Xe = e.snippetMetadata) != null && Xe.isFromSnippet) ? g({
32119
32120
  snippetID: e.snippetMetadata.snippetId,
32120
32121
  snippetName: e.snippetMetadata.snippetName,
32121
32122
  snippetCategory: e.snippetMetadata.snippetCategory || ""
32122
32123
  }) : g(null), k(!0);
32123
32124
  }, Q = async (ce, me) => {
32124
- var Fe, qe, Ge, ze, Ze, Ve, Oe, He, We, ot, lt, he;
32125
+ var Fe, Xe, Ge, ze, qe, Ve, Oe, He, We, ot, lt, he;
32125
32126
  if (!e) return;
32126
32127
  j(!0);
32127
32128
  const ye = await I(e.id);
@@ -32129,12 +32130,12 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
32129
32130
  j(!1);
32130
32131
  return;
32131
32132
  }
32132
- const Ee = s.filter((Se) => Se.rowId === e.id), Ue = {};
32133
- Ee.forEach((Se) => {
32133
+ const _e = s.filter((Se) => Se.rowId === e.id), Ue = {};
32134
+ _e.forEach((Se) => {
32134
32135
  Ue[Se.id] = st();
32135
32136
  });
32136
32137
  const fe = {};
32137
- Ee.forEach((Se) => {
32138
+ _e.forEach((Se) => {
32138
32139
  v && Se.id && Object.keys(v).forEach((De) => {
32139
32140
  if (De.startsWith(`${Se.id}-`)) {
32140
32141
  const et = De.split("-").pop(), nt = Ue[Se.id], dt = `${nt}-${et}`;
@@ -32162,9 +32163,9 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
32162
32163
  id: st(),
32163
32164
  style: {
32164
32165
  ...e.style,
32165
- backgroundColor: ((qe = e.style) == null ? void 0 : qe.backgroundColor) || ((Ge = l.style) == null ? void 0 : Ge.backgroundColor),
32166
+ backgroundColor: ((Xe = e.style) == null ? void 0 : Xe.backgroundColor) || ((Ge = l.style) == null ? void 0 : Ge.backgroundColor),
32166
32167
  height: ((ze = e.style) == null ? void 0 : ze.height) || "auto",
32167
- minHeight: ((Ze = e.style) == null ? void 0 : Ze.minHeight) || "auto"
32168
+ minHeight: ((qe = e.style) == null ? void 0 : qe.minHeight) || "auto"
32168
32169
  }
32169
32170
  },
32170
32171
  style: {
@@ -32173,7 +32174,7 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
32173
32174
  height: ((He = e.style) == null ? void 0 : He.height) || "auto",
32174
32175
  minHeight: ((We = e.style) == null ? void 0 : We.minHeight) || "auto"
32175
32176
  },
32176
- components: Ee.map((Se) => ({
32177
+ components: _e.map((Se) => ({
32177
32178
  ...Se,
32178
32179
  id: Ue[Se.id],
32179
32180
  rowId: Ue[e.id],
@@ -32222,12 +32223,12 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
32222
32223
  ce.stopPropagation();
32223
32224
  const me = m.map(
32224
32225
  (ye) => {
32225
- var Ee;
32226
+ var _e;
32226
32227
  return ye.id === e.id ? {
32227
32228
  ...ye,
32228
32229
  style: {
32229
32230
  ...ye.style,
32230
- rowContentLock: !((Ee = ye.style) != null && Ee.rowContentLock)
32231
+ rowContentLock: !((_e = ye.style) != null && _e.rowContentLock)
32231
32232
  }
32232
32233
  } : ye;
32233
32234
  }
@@ -32464,7 +32465,7 @@ const jh = /* @__PURE__ */ Gn(LA), Qg = ({
32464
32465
  backgroundSize: ((E = e.style) == null ? void 0 : E.backgroundSize) === "percentage" ? `${((U = e.style) == null ? void 0 : U.backgroundSizeWidth) || 100}% ${((J = e.style) == null ? void 0 : J.backgroundSizeHeight) || 100}%` : ((D = e.style) == null ? void 0 : D.backgroundSize) || "auto",
32465
32466
  // Don't apply background color here - it's handled by the outer container
32466
32467
  backgroundColor: ((oe = e.style) == null ? void 0 : oe.backgroundColor) || ((ie = l.style) == null ? void 0 : ie.backgroundColor) || "transparent",
32467
- padding: (xe = (le = e.style) == null ? void 0 : le.paddingControl) != null && xe.isCustomPadding ? `${((Te = (ve = e.style) == null ? void 0 : ve.paddingControl) == null ? void 0 : Te.top) || 0}px ${((Be = (je = e.style) == null ? void 0 : je.paddingControl) == null ? void 0 : Be.right) || 0}px ${((Ie = (_e = e.style) == null ? void 0 : _e.paddingControl) == null ? void 0 : Ie.bottom) || 0}px ${((we = (Re = e.style) == null ? void 0 : Re.paddingControl) == null ? void 0 : we.left) || 0}px` : `${((be = (pe = e.style) == null ? void 0 : pe.paddingControl) == null ? void 0 : be.all) || 0}px`,
32468
+ padding: (xe = (le = e.style) == null ? void 0 : le.paddingControl) != null && xe.isCustomPadding ? `${((Te = (ve = e.style) == null ? void 0 : ve.paddingControl) == null ? void 0 : Te.top) || 0}px ${((Be = (je = e.style) == null ? void 0 : je.paddingControl) == null ? void 0 : Be.right) || 0}px ${((Ie = (Ee = e.style) == null ? void 0 : Ee.paddingControl) == null ? void 0 : Ie.bottom) || 0}px ${((we = (Re = e.style) == null ? void 0 : Re.paddingControl) == null ? void 0 : we.left) || 0}px` : `${((be = (pe = e.style) == null ? void 0 : pe.paddingControl) == null ? void 0 : be.all) || 0}px`,
32468
32469
  pointerEvents: (ke = e.style) != null && ke.rowContentLock ? "none" : "auto",
32469
32470
  // Use auto height to allow natural growth
32470
32471
  height: "auto",
@@ -35471,15 +35472,15 @@ function mk() {
35471
35472
  for (E.max_code = ve, U = O.heap_len >> 1; 1 <= U; U--) H(O, oe, U);
35472
35473
  for (D = xe; U = O.heap[1], O.heap[1] = O.heap[O.heap_len--], H(O, oe, 1), J = O.heap[1], O.heap[--O.heap_max] = U, O.heap[--O.heap_max] = J, oe[2 * D] = oe[2 * U] + oe[2 * J], O.depth[D] = (O.depth[U] >= O.depth[J] ? O.depth[U] : O.depth[J]) + 1, oe[2 * U + 1] = oe[2 * J + 1] = D, O.heap[1] = D++, H(O, oe, 1), 2 <= O.heap_len; ) ;
35473
35474
  O.heap[--O.heap_max] = O.heap[1], function(Te, je) {
35474
- var Be, _e, Ie, Re, we, pe, be = je.dyn_tree, ke = je.max_code, de = je.stat_desc.static_tree, ce = je.stat_desc.has_stree, me = je.stat_desc.extra_bits, ye = je.stat_desc.extra_base, Ee = je.stat_desc.max_length, Ue = 0;
35475
+ var Be, Ee, Ie, Re, we, pe, be = je.dyn_tree, ke = je.max_code, de = je.stat_desc.static_tree, ce = je.stat_desc.has_stree, me = je.stat_desc.extra_bits, ye = je.stat_desc.extra_base, _e = je.stat_desc.max_length, Ue = 0;
35475
35476
  for (Re = 0; Re <= g; Re++) Te.bl_count[Re] = 0;
35476
- for (be[2 * Te.heap[Te.heap_max] + 1] = 0, Be = Te.heap_max + 1; Be < h; Be++) Ee < (Re = be[2 * be[2 * (_e = Te.heap[Be]) + 1] + 1] + 1) && (Re = Ee, Ue++), be[2 * _e + 1] = Re, ke < _e || (Te.bl_count[Re]++, we = 0, ye <= _e && (we = me[_e - ye]), pe = be[2 * _e], Te.opt_len += pe * (Re + we), ce && (Te.static_len += pe * (de[2 * _e + 1] + we)));
35477
+ for (be[2 * Te.heap[Te.heap_max] + 1] = 0, Be = Te.heap_max + 1; Be < h; Be++) _e < (Re = be[2 * be[2 * (Ee = Te.heap[Be]) + 1] + 1] + 1) && (Re = _e, Ue++), be[2 * Ee + 1] = Re, ke < Ee || (Te.bl_count[Re]++, we = 0, ye <= Ee && (we = me[Ee - ye]), pe = be[2 * Ee], Te.opt_len += pe * (Re + we), ce && (Te.static_len += pe * (de[2 * Ee + 1] + we)));
35477
35478
  if (Ue !== 0) {
35478
35479
  do {
35479
- for (Re = Ee - 1; Te.bl_count[Re] === 0; ) Re--;
35480
- Te.bl_count[Re]--, Te.bl_count[Re + 1] += 2, Te.bl_count[Ee]--, Ue -= 2;
35480
+ for (Re = _e - 1; Te.bl_count[Re] === 0; ) Re--;
35481
+ Te.bl_count[Re]--, Te.bl_count[Re + 1] += 2, Te.bl_count[_e]--, Ue -= 2;
35481
35482
  } while (0 < Ue);
35482
- for (Re = Ee; Re !== 0; Re--) for (_e = Te.bl_count[Re]; _e !== 0; ) ke < (Ie = Te.heap[--Be]) || (be[2 * Ie + 1] !== Re && (Te.opt_len += (Re - be[2 * Ie + 1]) * be[2 * Ie], be[2 * Ie + 1] = Re), _e--);
35483
+ for (Re = _e; Re !== 0; Re--) for (Ee = Te.bl_count[Re]; Ee !== 0; ) ke < (Ie = Te.heap[--Be]) || (be[2 * Ie + 1] !== Re && (Te.opt_len += (Re - be[2 * Ie + 1]) * be[2 * Ie], be[2 * Ie + 1] = Re), Ee--);
35483
35484
  }
35484
35485
  }(O, E), ue(oe, ve, O.bl_count);
35485
35486
  }
@@ -35711,18 +35712,18 @@ function xk() {
35711
35712
  var ce = O.current, me = ce.stack, ye = ce.offset;
35712
35713
  if (me.length && ye > -1) {
35713
35714
  O.current.stack = me.slice(0, ye + 1);
35714
- var Ee = O.current.stack.length;
35715
- if (Ee > f) {
35716
- var Ue = Ee - f;
35717
- O.current.stack = me.slice(Ue, Ee), O.current.offset = Math.max(O.current.offset - Ue, 0);
35715
+ var _e = O.current.stack.length;
35716
+ if (_e > f) {
35717
+ var Ue = _e - f;
35718
+ O.current.stack = me.slice(Ue, _e), O.current.offset = Math.max(O.current.offset - Ue, 0);
35718
35719
  }
35719
35720
  }
35720
35721
  var fe = Date.now();
35721
35722
  if (pe) {
35722
35723
  var Ae = O.current.stack[O.current.offset];
35723
35724
  if (Ae && fe - Ae.timestamp < b) {
35724
- var Fe = /[^a-z0-9]([a-z0-9]+)$/i, qe = (be = le(Ae.value, Ae.selectionStart).pop()) === null || be === void 0 ? void 0 : be.match(Fe), Ge = (ke = le(we.value, we.selectionStart).pop()) === null || ke === void 0 ? void 0 : ke.match(Fe);
35725
- if (qe != null && qe[1] && (!((de = Ge == null ? void 0 : Ge[1]) === null || de === void 0) && de.startsWith(qe[1]))) {
35725
+ var Fe = /[^a-z0-9]([a-z0-9]+)$/i, Xe = (be = le(Ae.value, Ae.selectionStart).pop()) === null || be === void 0 ? void 0 : be.match(Fe), Ge = (ke = le(we.value, we.selectionStart).pop()) === null || ke === void 0 ? void 0 : ke.match(Fe);
35726
+ if (Xe != null && Xe[1] && (!((de = Ge == null ? void 0 : Ge[1]) === null || de === void 0) && de.startsWith(Xe[1]))) {
35726
35727
  O.current.stack[O.current.offset] = e(e({}, we), { timestamp: fe });
35727
35728
  return;
35728
35729
  }
@@ -35748,7 +35749,7 @@ function xk() {
35748
35749
  }, Be = function() {
35749
35750
  var we = O.current, pe = we.stack, be = we.offset, ke = pe[be - 1];
35750
35751
  ke && (Te(ke), O.current.offset = Math.max(be - 1, 0));
35751
- }, _e = function() {
35752
+ }, Ee = function() {
35752
35753
  var we = O.current, pe = we.stack, be = we.offset, ke = pe[be + 1];
35753
35754
  ke && (Te(ke), O.current.offset = Math.min(be + 1, pe.length - 1));
35754
35755
  }, Ie = function(we) {
@@ -35757,9 +35758,9 @@ function xk() {
35757
35758
  var pe = we.currentTarget, be = pe.value, ke = pe.selectionStart, de = pe.selectionEnd, ce = (P ? " " : " ").repeat(Y);
35758
35759
  if (we.key === "Tab" && !W && J)
35759
35760
  if (we.preventDefault(), we.shiftKey) {
35760
- var me = le(be, ke), ye = me.length - 1, Ee = le(be, de).length - 1, Ue = be.split(`
35761
+ var me = le(be, ke), ye = me.length - 1, _e = le(be, de).length - 1, Ue = be.split(`
35761
35762
  `).map(function(We, ot) {
35762
- return ot >= ye && ot <= Ee && We.startsWith(ce) ? We.substring(ce.length) : We;
35763
+ return ot >= ye && ot <= _e && We.startsWith(ce) ? We.substring(ce.length) : We;
35763
35764
  }).join(`
35764
35765
  `);
35765
35766
  if (be !== Ue) {
@@ -35788,41 +35789,41 @@ function xk() {
35788
35789
  selectionEnd: de + ce.length * (Fe - Ae + 1)
35789
35790
  });
35790
35791
  } else {
35791
- var qe = ke + ce.length;
35792
+ var Xe = ke + ce.length;
35792
35793
  je({
35793
35794
  // Insert tab character at caret
35794
35795
  value: be.substring(0, ke) + ce + be.substring(de),
35795
35796
  // Update caret position
35796
- selectionStart: qe,
35797
- selectionEnd: qe
35797
+ selectionStart: Xe,
35798
+ selectionEnd: Xe
35798
35799
  });
35799
35800
  }
35800
35801
  else if (we.key === "Backspace") {
35801
35802
  var Ge = ke !== de, ze = be.substring(0, ke);
35802
35803
  if (ze.endsWith(ce) && !Ge) {
35803
35804
  we.preventDefault();
35804
- var qe = ke - ce.length;
35805
+ var Xe = ke - ce.length;
35805
35806
  je({
35806
35807
  // Remove tab character at caret
35807
35808
  value: be.substring(0, ke - ce.length) + be.substring(de),
35808
35809
  // Update caret position
35809
- selectionStart: qe,
35810
- selectionEnd: qe
35810
+ selectionStart: Xe,
35811
+ selectionEnd: Xe
35811
35812
  });
35812
35813
  }
35813
35814
  } else if (we.key === "Enter") {
35814
35815
  if (ke === de) {
35815
- var Ze = le(be, ke).pop(), Ve = Ze == null ? void 0 : Ze.match(/^\s+/);
35816
+ var qe = le(be, ke).pop(), Ve = qe == null ? void 0 : qe.match(/^\s+/);
35816
35817
  if (Ve != null && Ve[0]) {
35817
35818
  we.preventDefault();
35818
35819
  var Oe = `
35819
- ` + Ve[0], qe = ke + Oe.length;
35820
+ ` + Ve[0], Xe = ke + Oe.length;
35820
35821
  je({
35821
35822
  // Insert indentation character at caret
35822
35823
  value: be.substring(0, ke) + Oe + be.substring(de),
35823
35824
  // Update caret position
35824
- selectionStart: qe,
35825
- selectionEnd: qe
35825
+ selectionStart: Xe,
35826
+ selectionEnd: Xe
35826
35827
  });
35827
35828
  }
35828
35829
  }
@@ -35849,7 +35850,7 @@ function xk() {
35849
35850
  ) : (
35850
35851
  // Trigger redo with Ctrl+Shift+Z on other platforms
35851
35852
  we.ctrlKey && we.keyCode === l && we.shiftKey
35852
- )) && !we.altKey ? (we.preventDefault(), _e()) : we.keyCode === d && we.ctrlKey && (!g || we.shiftKey) && (we.preventDefault(), D(function(We) {
35853
+ )) && !we.altKey ? (we.preventDefault(), Ee()) : we.keyCode === d && we.ctrlKey && (!g || we.shiftKey) && (we.preventDefault(), D(function(We) {
35853
35854
  return !We;
35854
35855
  }));
35855
35856
  }
@@ -45042,7 +45043,7 @@ const fN = ({ percentage: e }) => {
45042
45043
  document.body
45043
45044
  ) });
45044
45045
  }, gN = () => {
45045
- var V, F, O, E, U, J, D, oe, ie, le, xe, ve, Te, je, Be, _e;
45046
+ var V, F, O, E, U, J, D, oe, ie, le, xe, ve, Te, je, Be, Ee;
45046
45047
  const [e, t] = se(!1), [o, r] = se(!1), [n, a] = se(!1), [s, l] = se(!1), [d, c] = se(
45047
45048
  null
45048
45049
  ), [u, p] = se(!1), {
@@ -45398,7 +45399,7 @@ const fN = ({ percentage: e }) => {
45398
45399
  {
45399
45400
  isOpen: N,
45400
45401
  onClose: te,
45401
- message: ((_e = g == null ? void 0 : g.SendToMeData) == null ? void 0 : _e.message) || "Email failed to send",
45402
+ message: ((Ee = g == null ? void 0 : g.SendToMeData) == null ? void 0 : Ee.message) || "Email failed to send",
45402
45403
  type: "error",
45403
45404
  autoCloseDelay: 5e3
45404
45405
  }
@@ -51195,7 +51196,7 @@ const ft = ({
51195
51196
  )) {
51196
51197
  let ye = !1;
51197
51198
  try {
51198
- const Ee = ke.commonAncestorContainer, Ue = Ee.nodeType === Node.TEXT_NODE ? Ee.parentElement : Ee;
51199
+ const _e = ke.commonAncestorContainer, Ue = _e.nodeType === Node.TEXT_NODE ? _e.parentElement : _e;
51199
51200
  if ((Ue != null && Ue.closest("a") || (Ue == null ? void 0 : Ue.tagName) === "A") && (ye = !0), !ye) {
51200
51201
  const fe = ke.startContainer.nodeType === Node.TEXT_NODE ? ke.startContainer.parentElement : ke.startContainer, Ae = ke.endContainer.nodeType === Node.TEXT_NODE ? ke.endContainer.parentElement : ke.endContainer;
51201
51202
  (fe != null && fe.closest("a") || Ae != null && Ae.closest("a") || (fe == null ? void 0 : fe.tagName) === "A" || (Ae == null ? void 0 : Ae.tagName) === "A") && (ye = !0);
@@ -51416,8 +51417,8 @@ const ft = ({
51416
51417
  if (ce.nodeType === Node.ELEMENT_NODE) {
51417
51418
  const me = ce;
51418
51419
  if (me.tagName === "A") {
51419
- const ye = me.textContent || "", Ee = document.createTextNode(ye);
51420
- de.appendChild(Ee);
51420
+ const ye = me.textContent || "", _e = document.createTextNode(ye);
51421
+ de.appendChild(_e);
51421
51422
  } else {
51422
51423
  const ye = D(me);
51423
51424
  de.appendChild(ye);
@@ -51452,8 +51453,8 @@ const ft = ({
51452
51453
  if (me != null && me.closest("a") || (me == null ? void 0 : me.tagName) === "A")
51453
51454
  be = !0;
51454
51455
  else {
51455
- const ye = pe.startContainer.nodeType === Node.TEXT_NODE ? pe.startContainer.parentElement : pe.startContainer, Ee = pe.endContainer.nodeType === Node.TEXT_NODE ? pe.endContainer.parentElement : pe.endContainer;
51456
- (ye != null && ye.closest("a") || Ee != null && Ee.closest("a") || (ye == null ? void 0 : ye.tagName) === "A" || (Ee == null ? void 0 : Ee.tagName) === "A") && (be = !0);
51456
+ const ye = pe.startContainer.nodeType === Node.TEXT_NODE ? pe.startContainer.parentElement : pe.startContainer, _e = pe.endContainer.nodeType === Node.TEXT_NODE ? pe.endContainer.parentElement : pe.endContainer;
51457
+ (ye != null && ye.closest("a") || _e != null && _e.closest("a") || (ye == null ? void 0 : ye.tagName) === "A" || (_e == null ? void 0 : _e.tagName) === "A") && (be = !0);
51457
51458
  }
51458
51459
  } catch {
51459
51460
  be = K;
@@ -51485,7 +51486,7 @@ const ft = ({
51485
51486
  document.queryCommandSupported("defaultParagraphSeparator") && document.execCommand("defaultParagraphSeparator", !1, "p");
51486
51487
  }, []);
51487
51488
  function xe(pe) {
51488
- var Fe, qe, Ge;
51489
+ var Fe, Xe, Ge;
51489
51490
  if (!Z())
51490
51491
  return;
51491
51492
  const be = window.getSelection();
@@ -51502,13 +51503,13 @@ const ft = ({
51502
51503
  (!He.children.length || !((We = He.textContent) != null && We.trim())) && He.remove();
51503
51504
  });
51504
51505
  }, ye = ((ze) => {
51505
- const Ze = document.createTreeWalker(
51506
+ const qe = document.createTreeWalker(
51506
51507
  ze,
51507
51508
  NodeFilter.SHOW_ELEMENT,
51508
51509
  null
51509
51510
  );
51510
51511
  let Ve;
51511
- for (; Ve = Ze.nextNode(); ) {
51512
+ for (; Ve = qe.nextNode(); ) {
51512
51513
  const We = Ve;
51513
51514
  if (We.style.fontSize && We.style.fontSize.trim() !== "")
51514
51515
  return We.style.fontSize;
@@ -51524,18 +51525,18 @@ const ft = ({
51524
51525
  }
51525
51526
  }
51526
51527
  return "";
51527
- })(de), Ee = (ze, Ze) => {
51528
+ })(de), _e = (ze, qe) => {
51528
51529
  if (ze.nodeType === Node.TEXT_NODE) {
51529
51530
  if ((ze.textContent || "").length > 0) {
51530
51531
  if (pe === "inherit")
51531
51532
  return ze.cloneNode(!0);
51532
51533
  const Oe = document.createElement("span");
51533
- return Oe.style.fontFamily = pe, Ze && Ze.trim() !== "" && (Oe.style.fontSize = Ze), Oe.appendChild(ze.cloneNode(!0)), Oe;
51534
+ return Oe.style.fontFamily = pe, qe && qe.trim() !== "" && (Oe.style.fontSize = qe), Oe.appendChild(ze.cloneNode(!0)), Oe;
51534
51535
  }
51535
51536
  return ze.cloneNode(!0);
51536
51537
  } else if (ze.nodeType === Node.ELEMENT_NODE) {
51537
51538
  const Ve = ze;
51538
- let Oe = Ze;
51539
+ let Oe = qe;
51539
51540
  if (Ve.style.fontSize && Ve.style.fontSize.trim() !== "")
51540
51541
  Oe = Ve.style.fontSize;
51541
51542
  else {
@@ -51561,7 +51562,7 @@ const ft = ({
51561
51562
  }
51562
51563
  Ve.childNodes.forEach((ot) => {
51563
51564
  He.appendChild(
51564
- Ee(ot, Oe)
51565
+ _e(ot, Oe)
51565
51566
  );
51566
51567
  });
51567
51568
  } else if (Ve.tagName === "FONT") {
@@ -51579,12 +51580,12 @@ const ft = ({
51579
51580
  ot && lt[ot] && (We.style.fontSize = lt[ot], Oe = lt[ot]);
51580
51581
  } else Oe && (We.style.fontSize = Oe);
51581
51582
  return Ve.childNodes.forEach((ot) => {
51582
- We.appendChild(Ee(ot, Oe));
51583
+ We.appendChild(_e(ot, Oe));
51583
51584
  }), We;
51584
51585
  } else
51585
51586
  Ve.childNodes.forEach((We) => {
51586
51587
  He.appendChild(
51587
- Ee(We, Oe)
51588
+ _e(We, Oe)
51588
51589
  );
51589
51590
  });
51590
51591
  return He;
@@ -51592,35 +51593,35 @@ const ft = ({
51592
51593
  return ze.cloneNode(!0);
51593
51594
  }, Ue = document.createDocumentFragment();
51594
51595
  de.childNodes.forEach((ze) => {
51595
- Ue.appendChild(Ee(ze, ye));
51596
+ Ue.appendChild(_e(ze, ye));
51596
51597
  });
51597
51598
  const fe = Ue.firstChild, Ae = Ue.lastChild;
51598
- if (ke.insertNode(Ue), (qe = (Fe = s == null ? void 0 : s.current) == null ? void 0 : Fe.editorRef) != null && qe.current && ce(s.current.editorRef.current), fe && Ae) {
51599
+ if (ke.insertNode(Ue), (Xe = (Fe = s == null ? void 0 : s.current) == null ? void 0 : Fe.editorRef) != null && Xe.current && ce(s.current.editorRef.current), fe && Ae) {
51599
51600
  const ze = document.createRange();
51600
- let Ze = fe, Ve = Ae;
51601
- if (Ze.nodeType === Node.ELEMENT_NODE) {
51602
- const Oe = Ze.firstChild;
51603
- Oe && Oe.nodeType === Node.TEXT_NODE && (Ze = Oe);
51601
+ let qe = fe, Ve = Ae;
51602
+ if (qe.nodeType === Node.ELEMENT_NODE) {
51603
+ const Oe = qe.firstChild;
51604
+ Oe && Oe.nodeType === Node.TEXT_NODE && (qe = Oe);
51604
51605
  }
51605
51606
  if (Ve.nodeType === Node.ELEMENT_NODE) {
51606
51607
  const Oe = Ve.lastChild;
51607
51608
  Oe && Oe.nodeType === Node.TEXT_NODE && (Ve = Oe);
51608
51609
  }
51609
- ze.setStart(Ze, 0), Ve.nodeType === Node.TEXT_NODE ? ze.setEnd(Ve, ((Ge = Ve.textContent) == null ? void 0 : Ge.length) || 0) : ze.setEndAfter(Ve), be.removeAllRanges(), be.addRange(ze);
51610
+ ze.setStart(qe, 0), Ve.nodeType === Node.TEXT_NODE ? ze.setEnd(Ve, ((Ge = Ve.textContent) == null ? void 0 : Ge.length) || 0) : ze.setEndAfter(Ve), be.removeAllRanges(), be.addRange(ze);
51610
51611
  }
51611
51612
  requestAnimationFrame(() => {
51612
51613
  var ze;
51613
51614
  (ze = s == null ? void 0 : s.current) != null && ze.handleInput && s.current.handleInput(), requestAnimationFrame(() => {
51614
51615
  setTimeout(() => {
51615
51616
  var Ve;
51616
- const Ze = window.getSelection();
51617
- Ze && Ze.rangeCount > 0 && (Ve = s == null ? void 0 : s.current) != null && Ve.checkFormatState && s.current.checkFormatState();
51617
+ const qe = window.getSelection();
51618
+ qe && qe.rangeCount > 0 && (Ve = s == null ? void 0 : s.current) != null && Ve.checkFormatState && s.current.checkFormatState();
51618
51619
  }, 100);
51619
51620
  });
51620
51621
  });
51621
51622
  }
51622
51623
  function ve(pe) {
51623
- var Fe, qe, Ge;
51624
+ var Fe, Xe, Ge;
51624
51625
  if (!Z())
51625
51626
  return;
51626
51627
  const be = window.getSelection();
@@ -51642,17 +51643,17 @@ const ft = ({
51642
51643
  const He = Oe;
51643
51644
  (!He.children.length || !((We = He.textContent) != null && We.trim())) && He.remove();
51644
51645
  });
51645
- }, me = (ze, Ze) => {
51646
+ }, me = (ze, qe) => {
51646
51647
  var Ve;
51647
51648
  if (ze.nodeType === Node.TEXT_NODE) {
51648
51649
  if ((Ve = ze.textContent) == null ? void 0 : Ve.trim()) {
51649
51650
  const He = document.createElement("span");
51650
- return He.style.fontSize = `${pe}pt`, Ze && Ze.trim() !== "" && (He.style.fontFamily = Ze), He.appendChild(ze.cloneNode(!0)), He;
51651
+ return He.style.fontSize = `${pe}pt`, qe && qe.trim() !== "" && (He.style.fontFamily = qe), He.appendChild(ze.cloneNode(!0)), He;
51651
51652
  }
51652
51653
  return ze.cloneNode(!0);
51653
51654
  } else if (ze.nodeType === Node.ELEMENT_NODE) {
51654
51655
  const Oe = ze;
51655
- let He = Ze;
51656
+ let He = qe;
51656
51657
  if (Oe.style.fontFamily && Oe.style.fontFamily.trim() !== "")
51657
51658
  He = Oe.style.fontFamily;
51658
51659
  else {
@@ -51693,14 +51694,14 @@ const ft = ({
51693
51694
  }
51694
51695
  }
51695
51696
  return ze.cloneNode(!0);
51696
- }, Ee = ((ze) => {
51697
- const Ze = document.createTreeWalker(
51697
+ }, _e = ((ze) => {
51698
+ const qe = document.createTreeWalker(
51698
51699
  ze,
51699
51700
  NodeFilter.SHOW_ELEMENT,
51700
51701
  null
51701
51702
  );
51702
51703
  let Ve;
51703
- for (; Ve = Ze.nextNode(); ) {
51704
+ for (; Ve = qe.nextNode(); ) {
51704
51705
  const We = Ve;
51705
51706
  if (We.style.fontFamily && We.style.fontFamily.trim() !== "")
51706
51707
  return We.style.fontFamily;
@@ -51718,29 +51719,29 @@ const ft = ({
51718
51719
  return "";
51719
51720
  })(de), Ue = document.createDocumentFragment();
51720
51721
  de.childNodes.forEach((ze) => {
51721
- Ue.appendChild(me(ze, Ee));
51722
+ Ue.appendChild(me(ze, _e));
51722
51723
  });
51723
51724
  const fe = Ue.firstChild, Ae = Ue.lastChild;
51724
- if (ke.insertNode(Ue), (qe = (Fe = s == null ? void 0 : s.current) == null ? void 0 : Fe.editorRef) != null && qe.current && ce(s.current.editorRef.current), fe && Ae) {
51725
+ if (ke.insertNode(Ue), (Xe = (Fe = s == null ? void 0 : s.current) == null ? void 0 : Fe.editorRef) != null && Xe.current && ce(s.current.editorRef.current), fe && Ae) {
51725
51726
  const ze = document.createRange();
51726
- let Ze = fe, Ve = Ae;
51727
- if (Ze.nodeType === Node.ELEMENT_NODE) {
51728
- const Oe = Ze.firstChild;
51729
- Oe && Oe.nodeType === Node.TEXT_NODE && (Ze = Oe);
51727
+ let qe = fe, Ve = Ae;
51728
+ if (qe.nodeType === Node.ELEMENT_NODE) {
51729
+ const Oe = qe.firstChild;
51730
+ Oe && Oe.nodeType === Node.TEXT_NODE && (qe = Oe);
51730
51731
  }
51731
51732
  if (Ve.nodeType === Node.ELEMENT_NODE) {
51732
51733
  const Oe = Ve.lastChild;
51733
51734
  Oe && Oe.nodeType === Node.TEXT_NODE && (Ve = Oe);
51734
51735
  }
51735
- ze.setStart(Ze, 0), Ve.nodeType === Node.TEXT_NODE ? ze.setEnd(Ve, ((Ge = Ve.textContent) == null ? void 0 : Ge.length) || 0) : ze.setEndAfter(Ve), be.removeAllRanges(), be.addRange(ze);
51736
+ ze.setStart(qe, 0), Ve.nodeType === Node.TEXT_NODE ? ze.setEnd(Ve, ((Ge = Ve.textContent) == null ? void 0 : Ge.length) || 0) : ze.setEndAfter(Ve), be.removeAllRanges(), be.addRange(ze);
51736
51737
  }
51737
51738
  requestAnimationFrame(() => {
51738
51739
  var ze;
51739
51740
  (ze = s == null ? void 0 : s.current) != null && ze.handleInput && s.current.handleInput(), requestAnimationFrame(() => {
51740
51741
  setTimeout(() => {
51741
51742
  var Ve;
51742
- const Ze = window.getSelection();
51743
- Ze && Ze.rangeCount > 0 && (Ve = s == null ? void 0 : s.current) != null && Ve.checkFormatState && s.current.checkFormatState();
51743
+ const qe = window.getSelection();
51744
+ qe && qe.rangeCount > 0 && (Ve = s == null ? void 0 : s.current) != null && Ve.checkFormatState && s.current.checkFormatState();
51744
51745
  }, 100);
51745
51746
  });
51746
51747
  });
@@ -51798,7 +51799,7 @@ const ft = ({
51798
51799
  )
51799
51800
  ]
51800
51801
  }
51801
- ), _e = [
51802
+ ), Ee = [
51802
51803
  { label: "Paragraph", value: "p", size: "15px" },
51803
51804
  // { label: 'Number list', value: 'ol', size: '15px' },
51804
51805
  // { label: 'Bullet list', value: 'ul', size: '15px' },
@@ -51810,14 +51811,14 @@ const ft = ({
51810
51811
  { label: "Heading 6", value: "h6", size: "11px" }
51811
51812
  ];
51812
51813
  function Ie(pe) {
51813
- var ye, Ee, Ue, fe;
51814
+ var ye, _e, Ue, fe;
51814
51815
  if (!Z()) return;
51815
51816
  const be = window.getSelection();
51816
51817
  if (!be || be.rangeCount === 0) return;
51817
51818
  let de = be.getRangeAt(0).startContainer;
51818
51819
  for (; de && de.nodeType === Node.TEXT_NODE; )
51819
51820
  de = de.parentElement;
51820
- if (!de || !((Ue = (Ee = (ye = s == null ? void 0 : s.current) == null ? void 0 : ye.editorRef) == null ? void 0 : Ee.current) != null && Ue.contains(de)))
51821
+ if (!de || !((Ue = (_e = (ye = s == null ? void 0 : s.current) == null ? void 0 : ye.editorRef) == null ? void 0 : _e.current) != null && Ue.contains(de)))
51821
51822
  return;
51822
51823
  const ce = document.createElement(pe);
51823
51824
  switch (ce.innerHTML = de.innerHTML, pe) {
@@ -51863,7 +51864,7 @@ const ft = ({
51863
51864
  value: X,
51864
51865
  onChange: (pe) => Ie(pe.target.value),
51865
51866
  className: "ai-email-input-field h-8 w-[110px] paddingR15 bg-white focus:outline-none focus:ring-2 focus:ring-blue-500",
51866
- children: _e.map((pe) => /* @__PURE__ */ i.jsx(
51867
+ children: Ee.map((pe) => /* @__PURE__ */ i.jsx(
51867
51868
  "option",
51868
51869
  {
51869
51870
  value: pe.value,
@@ -52963,7 +52964,7 @@ DO NOT INCLUDE: ${s}`);
52963
52964
  T.commonAncestorContainer
52964
52965
  );
52965
52966
  if ((((H == null ? void 0 : H.contains(T.commonAncestorContainer)) ?? !1) && !!H || V && !!H) && H) {
52966
- const { range: Be, selection: _e } = S(
52967
+ const { range: Be, selection: Ee } = S(
52967
52968
  ((U = d == null ? void 0 : d.range) == null ? void 0 : U.cloneRange()) ?? T,
52968
52969
  H,
52969
52970
  Y
@@ -52971,22 +52972,22 @@ DO NOT INCLUDE: ${s}`);
52971
52972
  if (Ie) {
52972
52973
  (oe = Ie.parentNode) == null || oe.insertBefore(Re, Ie.nextSibling);
52973
52974
  const we = document.createRange();
52974
- we.setStartAfter(Re), we.collapse(!0), _e.removeAllRanges(), _e.addRange(we);
52975
+ we.setStartAfter(Re), we.collapse(!0), Ee.removeAllRanges(), Ee.addRange(we);
52975
52976
  } else
52976
- L(_e, Be, Re);
52977
+ L(Ee, Be, Re);
52977
52978
  H && N({ content: H.innerHTML });
52978
52979
  } else if (F) {
52979
- const Be = te.editorRef.current, _e = T.cloneRange(), Ie = Be.firstChild;
52980
+ const Be = te.editorRef.current, Ee = T.cloneRange(), Ie = Be.firstChild;
52980
52981
  if (Ie && Ie.nodeType === Node.ELEMENT_NODE && Ie.tagName === "P") {
52981
52982
  const pe = Ie, be = pe.childNodes.length === 1 && ((ie = pe.firstChild) == null ? void 0 : ie.nodeType) === Node.ELEMENT_NODE && pe.firstChild.tagName === "BR";
52982
- (((le = pe.textContent) == null ? void 0 : le.trim()) === "" || be) && (_e.startContainer === Be || pe.contains(_e.startContainer)) && (be && (pe.innerHTML = ""), _e.setStart(pe, 0), _e.collapse(!0));
52983
+ (((le = pe.textContent) == null ? void 0 : le.trim()) === "" || be) && (Ee.startContainer === Be || pe.contains(Ee.startContainer)) && (be && (pe.innerHTML = ""), Ee.setStart(pe, 0), Ee.collapse(!0));
52983
52984
  }
52984
- if (_e.startContainer === Be && _e.collapsed) {
52985
+ if (Ee.startContainer === Be && Ee.collapsed) {
52985
52986
  const pe = document.createRange();
52986
52987
  pe.selectNodeContents(Be), pe.collapse(!1);
52987
52988
  const be = pe.endContainer, ke = pe.endOffset;
52988
52989
  if (be.nodeType === Node.TEXT_NODE)
52989
- _e.setStart(be, ke), _e.collapse(!0);
52990
+ Ee.setStart(be, ke), Ee.collapse(!0);
52990
52991
  else {
52991
52992
  const de = document.createTreeWalker(
52992
52993
  Be,
@@ -52997,44 +52998,44 @@ DO NOT INCLUDE: ${s}`);
52997
52998
  for (; me = de.nextNode(); )
52998
52999
  me.nodeType === Node.TEXT_NODE && (ce = me);
52999
53000
  if (ce && ce.textContent)
53000
- _e.setStart(
53001
+ Ee.setStart(
53001
53002
  ce,
53002
53003
  ce.textContent.length
53003
- ), _e.collapse(!0);
53004
+ ), Ee.collapse(!0);
53004
53005
  else {
53005
53006
  const ye = Be.lastChild;
53006
53007
  if (ye) {
53007
53008
  if (ye.nodeType === Node.TEXT_NODE)
53008
- _e.setStart(
53009
+ Ee.setStart(
53009
53010
  ye,
53010
53011
  (ye.textContent || "").length
53011
- ), _e.collapse(!0);
53012
+ ), Ee.collapse(!0);
53012
53013
  else if (ye.nodeType === Node.ELEMENT_NODE && ye.tagName === "P") {
53013
- const Ee = ye, Ue = Ee.childNodes.length;
53014
- Ee.childNodes.length === 1 && ((xe = Ee.firstChild) == null ? void 0 : xe.nodeType) === Node.ELEMENT_NODE && Ee.firstChild.tagName === "BR" ? (Ee.innerHTML = "", _e.setStart(Ee, 0)) : _e.setStart(Ee, Ue), _e.collapse(!0);
53014
+ const _e = ye, Ue = _e.childNodes.length;
53015
+ _e.childNodes.length === 1 && ((xe = _e.firstChild) == null ? void 0 : xe.nodeType) === Node.ELEMENT_NODE && _e.firstChild.tagName === "BR" ? (_e.innerHTML = "", Ee.setStart(_e, 0)) : Ee.setStart(_e, Ue), Ee.collapse(!0);
53015
53016
  } else if (ye.nodeType === Node.ELEMENT_NODE) {
53016
- let Ee = ye;
53017
- for (; Ee.nodeType === Node.ELEMENT_NODE && Ee.lastChild; )
53018
- Ee = Ee.lastChild;
53019
- Ee.nodeType === Node.TEXT_NODE ? _e.setStart(
53020
- Ee,
53021
- (Ee.data || "").length
53022
- ) : _e.setStart(
53023
- Ee,
53024
- Ee.childNodes.length
53025
- ), _e.collapse(!0);
53017
+ let _e = ye;
53018
+ for (; _e.nodeType === Node.ELEMENT_NODE && _e.lastChild; )
53019
+ _e = _e.lastChild;
53020
+ _e.nodeType === Node.TEXT_NODE ? Ee.setStart(
53021
+ _e,
53022
+ (_e.data || "").length
53023
+ ) : Ee.setStart(
53024
+ _e,
53025
+ _e.childNodes.length
53026
+ ), Ee.collapse(!0);
53026
53027
  }
53027
53028
  }
53028
53029
  }
53029
53030
  }
53030
53031
  }
53031
- const Re = _e.commonAncestorContainer.nodeType === Node.TEXT_NODE ? (ve = _e.commonAncestorContainer.parentElement) == null ? void 0 : ve.closest("a") : (Te = _e.commonAncestorContainer) == null ? void 0 : Te.closest("a"), we = document.createTextNode(ae);
53032
+ const Re = Ee.commonAncestorContainer.nodeType === Node.TEXT_NODE ? (ve = Ee.commonAncestorContainer.parentElement) == null ? void 0 : ve.closest("a") : (Te = Ee.commonAncestorContainer) == null ? void 0 : Te.closest("a"), we = document.createTextNode(ae);
53032
53033
  if (Re) {
53033
53034
  (je = Re.parentNode) == null || je.insertBefore(we, Re.nextSibling);
53034
53035
  const pe = document.createRange();
53035
53036
  pe.setStartAfter(we), pe.collapse(!0), Y.removeAllRanges(), Y.addRange(pe);
53036
53037
  } else
53037
- L(Y, _e, we);
53038
+ L(Y, Ee, we);
53038
53039
  te.handleInput ? te.handleInput() : P(te.editorRef.current.innerHTML);
53039
53040
  }
53040
53041
  b(!1);
@@ -53053,22 +53054,22 @@ DO NOT INCLUDE: ${s}`);
53053
53054
  n.handleClose();
53054
53055
  return;
53055
53056
  }
53056
- const D = (je, Be, _e, Ie) => {
53057
+ const D = (je, Be, Ee, Ie) => {
53057
53058
  var Re;
53058
53059
  if (Ie) {
53059
- (Re = Ie.parentNode) == null || Re.insertBefore(_e, Ie.nextSibling);
53060
+ (Re = Ie.parentNode) == null || Re.insertBefore(Ee, Ie.nextSibling);
53060
53061
  const we = document.createRange();
53061
- we.setStartAfter(_e), we.collapse(!0), je.removeAllRanges(), je.addRange(we);
53062
+ we.setStartAfter(Ee), we.collapse(!0), je.removeAllRanges(), je.addRange(we);
53062
53063
  } else
53063
- L(je, Be, _e);
53064
+ L(je, Be, Ee);
53064
53065
  };
53065
53066
  if (U && Z) {
53066
53067
  const { range: je, selection: Be } = S(
53067
53068
  ((ie = d == null ? void 0 : d.range) == null ? void 0 : ie.cloneRange()) ?? q,
53068
53069
  Z,
53069
53070
  T
53070
- ), _e = je.commonAncestorContainer.nodeType === Node.TEXT_NODE ? (le = je.commonAncestorContainer.parentElement) == null ? void 0 : le.closest("a") : (xe = je.commonAncestorContainer) == null ? void 0 : xe.closest("a"), Ie = document.createTextNode(ae);
53071
- D(Be, je, Ie, _e ?? null), N({ content: Z.innerHTML });
53071
+ ), Ee = je.commonAncestorContainer.nodeType === Node.TEXT_NODE ? (le = je.commonAncestorContainer.parentElement) == null ? void 0 : le.closest("a") : (xe = je.commonAncestorContainer) == null ? void 0 : xe.closest("a"), Ie = document.createTextNode(ae);
53072
+ D(Be, je, Ie, Ee ?? null), N({ content: Z.innerHTML });
53072
53073
  } else if (J && H) {
53073
53074
  const je = q.commonAncestorContainer.nodeType === Node.TEXT_NODE ? (ve = q.commonAncestorContainer.parentElement) == null ? void 0 : ve.closest("a") : (Te = q.commonAncestorContainer) == null ? void 0 : Te.closest("a"), Be = document.createTextNode(ae);
53074
53075
  D(T, q, Be, je ?? null), te != null && te.handleInput ? te.handleInput() : P(H.innerHTML);
@@ -54253,7 +54254,7 @@ DO NOT INCLUDE: ${s}`);
54253
54254
  return s.isCustomPadding ? s.left || s.right || 0 : s.all || 0;
54254
54255
  }, r = () => {
54255
54256
  var s;
54256
- return ((s = e == null ? void 0 : e.paddingControl) == null ? void 0 : s.btnspanheight) || 0;
54257
+ return ((s = e == null ? void 0 : e.paddingControl) == null ? void 0 : s.btnspanheight) ?? 5;
54257
54258
  };
54258
54259
  function n(s, l) {
54259
54260
  const d = s * Math.pow(10, l + 1), c = Math.floor(d / 10);
@@ -54454,7 +54455,7 @@ DO NOT INCLUDE: ${s}`);
54454
54455
  };
54455
54456
  t("paddingControl", d);
54456
54457
  },
54457
- min: 0,
54458
+ min: 5,
54458
54459
  max: 100,
54459
54460
  step: 5,
54460
54461
  defaultValue: r()
@@ -56086,7 +56087,7 @@ DO NOT INCLUDE: ${s}`);
56086
56087
  onUpdate: r,
56087
56088
  columnCount: n
56088
56089
  }) => {
56089
- var Be, _e, Ie, Re, we, pe, be, ke;
56090
+ var Be, Ee, Ie, Re, we, pe, be, ke;
56090
56091
  const a = la(), { updateComponent: s, pConfig: l } = Ne(), { updateBlockComponent: d } = Qe(), {
56091
56092
  canvasTextEditorRef: c,
56092
56093
  currentSelection: u,
@@ -56148,8 +56149,8 @@ DO NOT INCLUDE: ${s}`);
56148
56149
  var ye;
56149
56150
  const me = de.cloneRange();
56150
56151
  if (me.startContainer === ce && me.collapsed && ce.childNodes.length) {
56151
- const Ee = document.createRange();
56152
- if (Ee.selectNodeContents(ce), Ee.collapse(!1), Ee.endContainer === ce) {
56152
+ const _e = document.createRange();
56153
+ if (_e.selectNodeContents(ce), _e.collapse(!1), _e.endContainer === ce) {
56153
56154
  const Ue = document.createTreeWalker(
56154
56155
  ce,
56155
56156
  NodeFilter.SHOW_TEXT,
@@ -56168,41 +56169,41 @@ DO NOT INCLUDE: ${s}`);
56168
56169
  ce.appendChild(Fe), me.setStart(Fe, 0);
56169
56170
  }
56170
56171
  } else
56171
- me.setStart(Ee.endContainer, Ee.endOffset);
56172
+ me.setStart(_e.endContainer, _e.endOffset);
56172
56173
  me.collapse(!0);
56173
56174
  }
56174
56175
  return me;
56175
56176
  }, T = (de, ce, me) => {
56176
56177
  ce.deleteContents(), ce.insertNode(me), ce.setStartAfter(me), ce.setEndAfter(me), de.removeAllRanges(), de.addRange(ce);
56177
56178
  }, q = (de, ce, me) => {
56178
- let ye = de, Ee = me;
56179
+ let ye = de, _e = me;
56179
56180
  if ((u == null ? void 0 : u.componentId) === e && (u == null ? void 0 : u.isCanvas) && (u != null && u.range)) {
56180
56181
  ye = u.range.cloneRange();
56181
56182
  const fe = window.getSelection();
56182
- fe == null || fe.removeAllRanges(), fe == null || fe.addRange(ye), fe && fe.rangeCount > 0 && (Ee = fe);
56183
+ fe == null || fe.removeAllRanges(), fe == null || fe.addRange(ye), fe && fe.rangeCount > 0 && (_e = fe);
56183
56184
  }
56184
56185
  return {
56185
56186
  range: Y(ye, ce),
56186
- selection: Ee
56187
+ selection: _e
56187
56188
  };
56188
56189
  }, V = (de) => {
56189
- var ze, Ze, Ve, Oe, He, We, ot, lt, he;
56190
+ var ze, qe, Ve, Oe, He, We, ot, lt, he;
56190
56191
  const ce = te.current;
56191
56192
  if (!(ce != null && ce.editorRef.current)) return;
56192
56193
  const me = H(), ye = [
56193
56194
  ce.editorRef.current,
56194
56195
  me
56195
- ].filter((Se) => !!Se), Ee = Z(ye);
56196
- if (!(Ee != null && Ee.rangeCount)) return;
56197
- const Ue = Ee.getRangeAt(0).cloneRange(), fe = (u == null ? void 0 : u.componentId) === e, Ae = (u == null ? void 0 : u.isCanvas) && fe, Fe = ce.editorRef.current.contains(
56196
+ ].filter((Se) => !!Se), _e = Z(ye);
56197
+ if (!(_e != null && _e.rangeCount)) return;
56198
+ const Ue = _e.getRangeAt(0).cloneRange(), fe = (u == null ? void 0 : u.componentId) === e, Ae = (u == null ? void 0 : u.isCanvas) && fe, Fe = ce.editorRef.current.contains(
56198
56199
  Ue.commonAncestorContainer
56199
56200
  );
56200
56201
  if ((((me == null ? void 0 : me.contains(Ue.commonAncestorContainer)) ?? !1) && !!me || Ae && !!me) && me) {
56201
56202
  const { range: Se, selection: De } = q(
56202
56203
  ((ze = u == null ? void 0 : u.range) == null ? void 0 : ze.cloneRange()) ?? Ue,
56203
56204
  me,
56204
- Ee
56205
- ), et = Se.commonAncestorContainer.nodeType === Node.TEXT_NODE ? (Ze = Se.commonAncestorContainer.parentElement) == null ? void 0 : Ze.closest("a") : (Ve = Se.commonAncestorContainer) == null ? void 0 : Ve.closest("a"), nt = document.createTextNode(de);
56205
+ _e
56206
+ ), et = Se.commonAncestorContainer.nodeType === Node.TEXT_NODE ? (qe = Se.commonAncestorContainer.parentElement) == null ? void 0 : qe.closest("a") : (Ve = Se.commonAncestorContainer) == null ? void 0 : Ve.closest("a"), nt = document.createTextNode(de);
56206
56207
  if (et) {
56207
56208
  (Oe = et.parentNode) == null || Oe.insertBefore(nt, et.nextSibling);
56208
56209
  const dt = document.createRange();
@@ -56221,18 +56222,18 @@ DO NOT INCLUDE: ${s}`);
56221
56222
  if (De.startContainer === Se && De.collapsed) {
56222
56223
  const tt = document.createRange();
56223
56224
  tt.selectNodeContents(Se), tt.collapse(!1);
56224
- const ct = tt.endContainer, Je = tt.endOffset;
56225
+ const ct = tt.endContainer, Ze = tt.endOffset;
56225
56226
  if (ct.nodeType === Node.TEXT_NODE)
56226
- De.setStart(ct, Je), De.collapse(!0);
56227
+ De.setStart(ct, Ze), De.collapse(!0);
56227
56228
  else {
56228
56229
  const ge = document.createTreeWalker(
56229
56230
  Se,
56230
56231
  NodeFilter.SHOW_TEXT,
56231
56232
  null
56232
56233
  );
56233
- let $e = null, Xe;
56234
- for (; Xe = ge.nextNode(); )
56235
- Xe.nodeType === Node.TEXT_NODE && ($e = Xe);
56234
+ let $e = null, Ke;
56235
+ for (; Ke = ge.nextNode(); )
56236
+ Ke.nodeType === Node.TEXT_NODE && ($e = Ke);
56236
56237
  $e && $e.textContent && (De.setStart(
56237
56238
  $e,
56238
56239
  $e.textContent.length
@@ -56243,9 +56244,9 @@ DO NOT INCLUDE: ${s}`);
56243
56244
  if (nt) {
56244
56245
  (he = nt.parentNode) == null || he.insertBefore(dt, nt.nextSibling);
56245
56246
  const tt = document.createRange();
56246
- tt.setStartAfter(dt), tt.collapse(!0), Ee.removeAllRanges(), Ee.addRange(tt);
56247
+ tt.setStartAfter(dt), tt.collapse(!0), _e.removeAllRanges(), _e.addRange(tt);
56247
56248
  } else
56248
- T(Ee, De, dt);
56249
+ T(_e, De, dt);
56249
56250
  ce.handleInput ? ce.handleInput() : oe({
56250
56251
  text: ce.editorRef.current.innerHTML
56251
56252
  });
@@ -56253,16 +56254,16 @@ DO NOT INCLUDE: ${s}`);
56253
56254
  v(!1);
56254
56255
  }, F = (de) => {
56255
56256
  var Oe, He, We, ot, lt, he;
56256
- const ce = te.current, me = ((Oe = ce == null ? void 0 : ce.editorRef) == null ? void 0 : Oe.current) || null, ye = H(), Ee = [
56257
+ const ce = te.current, me = ((Oe = ce == null ? void 0 : ce.editorRef) == null ? void 0 : Oe.current) || null, ye = H(), _e = [
56257
56258
  me,
56258
56259
  ye
56259
- ].filter((Se) => !!Se), Ue = Z(Ee);
56260
+ ].filter((Se) => !!Se), Ue = Z(_e);
56260
56261
  if (!(Ue != null && Ue.rangeCount)) {
56261
56262
  a.handleClose();
56262
56263
  return;
56263
56264
  }
56264
- const fe = Ue.getRangeAt(0).cloneRange(), Ae = (u == null ? void 0 : u.componentId) === e, Fe = (u == null ? void 0 : u.isCanvas) && Ae, qe = (me == null ? void 0 : me.contains(fe.commonAncestorContainer)) ?? !1, ze = ((ye == null ? void 0 : ye.contains(fe.commonAncestorContainer)) ?? !1) && !!ye || Fe && !!ye, Ze = qe && !!me || !(u != null && u.isCanvas) && !!me;
56265
- if (!ze && !Ze) {
56265
+ const fe = Ue.getRangeAt(0).cloneRange(), Ae = (u == null ? void 0 : u.componentId) === e, Fe = (u == null ? void 0 : u.isCanvas) && Ae, Xe = (me == null ? void 0 : me.contains(fe.commonAncestorContainer)) ?? !1, ze = ((ye == null ? void 0 : ye.contains(fe.commonAncestorContainer)) ?? !1) && !!ye || Fe && !!ye, qe = Xe && !!me || !(u != null && u.isCanvas) && !!me;
56266
+ if (!ze && !qe) {
56266
56267
  a.handleClose();
56267
56268
  return;
56268
56269
  }
@@ -56284,7 +56285,7 @@ DO NOT INCLUDE: ${s}`);
56284
56285
  Ve(De, Se, nt, et ?? null), D({
56285
56286
  content: { ...t, text: ye.innerHTML }
56286
56287
  });
56287
- } else if (Ze && me) {
56288
+ } else if (qe && me) {
56288
56289
  const Se = fe.commonAncestorContainer.nodeType === Node.TEXT_NODE ? (lt = fe.commonAncestorContainer.parentElement) == null ? void 0 : lt.closest("a") : (he = fe.commonAncestorContainer) == null ? void 0 : he.closest("a"), De = document.createTextNode(de);
56289
56290
  Ve(Ue, fe, De, Se ?? null), ce != null && ce.handleInput ? ce.handleInput() : oe({
56290
56291
  text: me.innerHTML
@@ -56319,8 +56320,8 @@ DO NOT INCLUDE: ${s}`);
56319
56320
  const D = Pe(
56320
56321
  (de, ce) => {
56321
56322
  if (r) {
56322
- const me = document.querySelector(`[data-component-id="${e}"]`), ye = me == null ? void 0 : me.getAttribute("data-parent-id"), Ee = me == null ? void 0 : me.getAttribute("data-column-index");
56323
- ye && Ee ? d(ye, e, de, ce) : K && ee ? d(K, e, de, ce) : r(de);
56323
+ const me = document.querySelector(`[data-component-id="${e}"]`), ye = me == null ? void 0 : me.getAttribute("data-parent-id"), _e = me == null ? void 0 : me.getAttribute("data-column-index");
56324
+ ye && _e ? d(ye, e, de, ce) : K && ee ? d(K, e, de, ce) : r(de);
56324
56325
  return;
56325
56326
  }
56326
56327
  K && ee ? d(K, e, de, ce) : s(e, de, ce);
@@ -56345,8 +56346,8 @@ DO NOT INCLUDE: ${s}`);
56345
56346
  return;
56346
56347
  const ye = new Image();
56347
56348
  ye.onload = () => {
56348
- const Ee = ye.width / ye.height;
56349
- N(Ee);
56349
+ const _e = ye.width / ye.height;
56350
+ N(_e);
56350
56351
  const Ue = Math.min(ye.width, 600), fe = o.imageWidth, Ae = fe === 180 || fe === 300, Fe = !de && fe && !Ae && fe <= 600 && fe !== Ue && fe !== U.current;
56351
56352
  if (!me && (de || !fe && !Fe || Ae && !P) && !Fe) {
56352
56353
  const Ge = Ue;
@@ -56409,7 +56410,7 @@ DO NOT INCLUDE: ${s}`);
56409
56410
  else if (de && typeof de == "object") {
56410
56411
  const me = de.imageUrl ?? de.imageBackgroundUrl;
56411
56412
  me !== void 0 && (ce.backgroundImageUrl = me), "imageAlt" in de && (ce.backgroundImageAlt = de.imageAlt), "imageWidth" in de && (ce.backgroundImageWidth = de.imageWidth), "imageHeight" in de && (ce.backgroundImageHeight = de.imageHeight), "backgroundSize" in de && (ce.backgroundSize = de.backgroundSize), "backgroundRepeat" in de && (ce.backgroundRepeat = de.backgroundRepeat), "backgroundSizeWidth" in de && (ce.backgroundSizeWidth = de.backgroundSizeWidth), "backgroundSizeHeight" in de && (ce.backgroundSizeHeight = de.backgroundSizeHeight);
56412
- const ye = o.horizontalPosition || (typeof o.backgroundPosition == "string" ? o.backgroundPosition.split(" ")[0] : "center"), Ee = o.verticalPosition || typeof o.backgroundPosition == "string" && o.backgroundPosition.split(" ")[1] || "center", Ue = "horizontalPosition" in de ? de.horizontalPosition : ye, fe = "verticalPosition" in de ? de.verticalPosition : Ee;
56413
+ const ye = o.horizontalPosition || (typeof o.backgroundPosition == "string" ? o.backgroundPosition.split(" ")[0] : "center"), _e = o.verticalPosition || typeof o.backgroundPosition == "string" && o.backgroundPosition.split(" ")[1] || "center", Ue = "horizontalPosition" in de ? de.horizontalPosition : ye, fe = "verticalPosition" in de ? de.verticalPosition : _e;
56413
56414
  ("horizontalPosition" in de || "verticalPosition" in de) && (ce.horizontalPosition = Ue, ce.verticalPosition = fe, ce.backgroundPosition = `${Ue} ${fe}`);
56414
56415
  }
56415
56416
  ce.backgroundImageUrl && o.backgroundSize === void 0 && (ce.backgroundSize = "cover"), ce.backgroundImageUrl && o.backgroundRepeat === void 0 && (ce.backgroundRepeat = "no-repeat"), ce.backgroundImageUrl && o.backgroundPosition === void 0 && (ce.backgroundPosition = "center center", ce.horizontalPosition = "center", ce.verticalPosition = "center"), D({ style: { ...o, ...ce } });
@@ -56422,27 +56423,27 @@ DO NOT INCLUDE: ${s}`);
56422
56423
  }, [o.paddingControl.left, o.paddingControl.right]);
56423
56424
  const le = (de, ce) => {
56424
56425
  if (typeof de == "object" && de !== null) {
56425
- const Ee = {
56426
+ const _e = {
56426
56427
  ...o,
56427
56428
  // Preserve ALL existing style properties
56428
56429
  ...de
56429
56430
  // Update multiple properties at once
56430
56431
  };
56431
56432
  D({
56432
- style: Ee
56433
+ style: _e
56433
56434
  });
56434
56435
  return;
56435
56436
  }
56436
56437
  const me = de;
56437
56438
  if (me === "responsive") {
56438
56439
  if (ce && W) {
56439
- const Ee = 600 / (n || 1) - j, Ue = Math.round(Ee / W);
56440
+ const _e = 600 / (n || 1) - j, Ue = Math.round(_e / W);
56440
56441
  D({
56441
56442
  style: {
56442
56443
  ...o,
56443
56444
  responsive: !0,
56444
56445
  maintainAspectRatio: !1,
56445
- imageWidth: Ee,
56446
+ imageWidth: _e,
56446
56447
  imageHeight: Ue
56447
56448
  }
56448
56449
  });
@@ -56457,14 +56458,14 @@ DO NOT INCLUDE: ${s}`);
56457
56458
  return;
56458
56459
  }
56459
56460
  if (!o.enableContent && W && (me === "imageWidth" || me === "imageHeight")) {
56460
- const Ee = Math.min(parseInt(ce), 600);
56461
+ const _e = Math.min(parseInt(ce), 600);
56461
56462
  if (o.maintainAspectRatio) {
56462
56463
  if (me === "imageWidth") {
56463
- const Ue = Math.round(Ee / W);
56464
+ const Ue = Math.round(_e / W);
56464
56465
  J.current = !0, D({
56465
56466
  style: {
56466
56467
  ...o,
56467
- imageWidth: Ee,
56468
+ imageWidth: _e,
56468
56469
  imageHeight: Ue,
56469
56470
  userWidth: !0,
56470
56471
  userWidthImageUrl: t.imageUrl
@@ -56472,7 +56473,7 @@ DO NOT INCLUDE: ${s}`);
56472
56473
  });
56473
56474
  return;
56474
56475
  } else if (me === "imageHeight") {
56475
- const Ue = Math.round(Ee * W);
56476
+ const Ue = Math.round(_e * W);
56476
56477
  if (Ue > 600) {
56477
56478
  const Ae = Math.round(600 / W);
56478
56479
  J.current = !0, D({
@@ -56489,7 +56490,7 @@ DO NOT INCLUDE: ${s}`);
56489
56490
  style: {
56490
56491
  ...o,
56491
56492
  imageWidth: Ue,
56492
- imageHeight: Ee,
56493
+ imageHeight: _e,
56493
56494
  userWidth: !0,
56494
56495
  userWidthImageUrl: t.imageUrl
56495
56496
  }
@@ -56501,7 +56502,7 @@ DO NOT INCLUDE: ${s}`);
56501
56502
  J.current = !0, D({
56502
56503
  style: {
56503
56504
  ...o,
56504
- [me]: Ee,
56505
+ [me]: _e,
56505
56506
  userWidth: !0,
56506
56507
  userWidthImageUrl: t.imageUrl
56507
56508
  }
@@ -56511,7 +56512,7 @@ DO NOT INCLUDE: ${s}`);
56511
56512
  D({
56512
56513
  style: {
56513
56514
  ...o,
56514
- [me]: Ee
56515
+ [me]: _e
56515
56516
  }
56516
56517
  });
56517
56518
  return;
@@ -56605,7 +56606,7 @@ DO NOT INCLUDE: ${s}`);
56605
56606
  onShowEmojiPopover: () => v(!0),
56606
56607
  onShowPersonalizationPopover: a.handleOpen,
56607
56608
  onShowLinkModal: () => R(!0),
56608
- canEditLink: ((_e = te.current) == null ? void 0 : _e.canEditLink) || !1,
56609
+ canEditLink: ((Ee = te.current) == null ? void 0 : Ee.canEditLink) || !1,
56609
56610
  canUnlink: ((Ie = te.current) == null ? void 0 : Ie.canUnlink) || !1,
56610
56611
  disabledEmoji: ((Re = te.current) == null ? void 0 : Re.disabledEmoji) || !0,
56611
56612
  showPersonalization: ((we = Ne.getState().pConfig) == null ? void 0 : we.isPersonalization) || !1
@@ -56833,35 +56834,35 @@ DO NOT INCLUDE: ${s}`);
56833
56834
  ce.restoreSelection();
56834
56835
  const me = window.getSelection();
56835
56836
  if (!me || !me.rangeCount) return;
56836
- const ye = me.getRangeAt(0), Ee = (fe, Ae) => {
56837
- var Ze;
56837
+ const ye = me.getRangeAt(0), _e = (fe, Ae) => {
56838
+ var qe;
56838
56839
  const Fe = ce.editorRef.current;
56839
56840
  if (!Fe) return 0;
56840
- const qe = document.createTreeWalker(
56841
+ const Xe = document.createTreeWalker(
56841
56842
  Fe,
56842
56843
  NodeFilter.SHOW_TEXT,
56843
56844
  null
56844
56845
  );
56845
56846
  let Ge = 0, ze;
56846
- for (; (ze = qe.nextNode()) !== null; ) {
56847
+ for (; (ze = Xe.nextNode()) !== null; ) {
56847
56848
  if (ze === fe)
56848
56849
  return Ge + Ae;
56849
- Ge += ((Ze = ze.textContent) == null ? void 0 : Ze.length) || 0;
56850
+ Ge += ((qe = ze.textContent) == null ? void 0 : qe.length) || 0;
56850
56851
  }
56851
56852
  return Ge;
56852
56853
  }, Ue = (fe, Ae) => {
56853
56854
  var We;
56854
56855
  const Fe = ce.editorRef.current;
56855
56856
  if (!Fe) return null;
56856
- const qe = document.createTreeWalker(
56857
+ const Xe = document.createTreeWalker(
56857
56858
  Fe,
56858
56859
  NodeFilter.SHOW_TEXT,
56859
56860
  null
56860
56861
  );
56861
- let Ge = 0, ze = null, Ze = 0, Ve = null, Oe = 0, He;
56862
- for (; (He = qe.nextNode()) !== null; ) {
56862
+ let Ge = 0, ze = null, qe = 0, Ve = null, Oe = 0, He;
56863
+ for (; (He = Xe.nextNode()) !== null; ) {
56863
56864
  const ot = ((We = He.textContent) == null ? void 0 : We.length) || 0;
56864
- if (ze === null && Ge + ot >= fe && (ze = He, Ze = fe - Ge), ze !== null && Ge + ot >= Ae) {
56865
+ if (ze === null && Ge + ot >= fe && (ze = He, qe = fe - Ge), ze !== null && Ge + ot >= Ae) {
56865
56866
  Ve = He, Oe = Ae - Ge;
56866
56867
  break;
56867
56868
  }
@@ -56870,7 +56871,7 @@ DO NOT INCLUDE: ${s}`);
56870
56871
  if (ze && Ve) {
56871
56872
  const ot = document.createRange();
56872
56873
  try {
56873
- return ot.setStart(ze, Ze), ot.setEnd(Ve, Oe), ot;
56874
+ return ot.setStart(ze, qe), ot.setEnd(Ve, Oe), ot;
56874
56875
  } catch (lt) {
56875
56876
  return console.error("Error creating range from text offset:", lt), null;
56876
56877
  }
@@ -56882,20 +56883,20 @@ DO NOT INCLUDE: ${s}`);
56882
56883
  const fe = document.createElement("a");
56883
56884
  fe.href = de.url, fe.title = de.title, fe.target = de.target, fe.setAttribute("data-type", de.type), fe.textContent = de.displayText, ye.insertNode(fe), ye.setStartAfter(fe), ye.collapse(!0), me.removeAllRanges(), me.addRange(ye);
56884
56885
  } else {
56885
- const fe = me.toString(), Ae = Ee(
56886
+ const fe = me.toString(), Ae = _e(
56886
56887
  ye.startContainer,
56887
56888
  ye.startOffset
56888
- ), Fe = Ee(
56889
+ ), Fe = _e(
56889
56890
  ye.endContainer,
56890
56891
  ye.endOffset
56891
- ), qe = ce.editorRef.current;
56892
- if (qe) {
56892
+ ), Xe = ce.editorRef.current;
56893
+ if (Xe) {
56893
56894
  const ze = Array.from(
56894
- qe.querySelectorAll("a")
56895
- ), Ze = [];
56895
+ Xe.querySelectorAll("a")
56896
+ ), qe = [];
56896
56897
  ze.forEach((Ve) => {
56897
- ye.intersectsNode(Ve) && Ze.push(Ve);
56898
- }), Ze.forEach((Ve) => {
56898
+ ye.intersectsNode(Ve) && qe.push(Ve);
56899
+ }), qe.forEach((Ve) => {
56899
56900
  var He;
56900
56901
  const Oe = document.createDocumentFragment();
56901
56902
  for (; Ve.firstChild; )
@@ -56909,15 +56910,15 @@ DO NOT INCLUDE: ${s}`);
56909
56910
  );
56910
56911
  if (Ge)
56911
56912
  if (Ge.toString() === fe) {
56912
- const Ze = Ge.extractContents(), Ve = document.createElement("a");
56913
- Ve.href = de.url, Ve.title = de.title, Ve.target = de.target, Ve.setAttribute("data-type", de.type), de.displayText && de.displayText.trim() && de.displayText !== fe ? Ve.textContent = de.displayText : Ve.appendChild(Ze), Ge.insertNode(Ve);
56913
+ const qe = Ge.extractContents(), Ve = document.createElement("a");
56914
+ Ve.href = de.url, Ve.title = de.title, Ve.target = de.target, Ve.setAttribute("data-type", de.type), de.displayText && de.displayText.trim() && de.displayText !== fe ? Ve.textContent = de.displayText : Ve.appendChild(qe), Ge.insertNode(Ve);
56914
56915
  const Oe = document.createRange();
56915
56916
  Oe.selectNodeContents(Ve), me.removeAllRanges(), me.addRange(Oe);
56916
56917
  } else {
56917
56918
  console.warn(
56918
56919
  "Selected text mismatch after link removal in ImageText, using fallback"
56919
56920
  );
56920
- const Ve = ((qe == null ? void 0 : qe.textContent) || "").indexOf(fe);
56921
+ const Ve = ((Xe == null ? void 0 : Xe.textContent) || "").indexOf(fe);
56921
56922
  if (Ve !== -1) {
56922
56923
  const Oe = Ue(
56923
56924
  Ve,
@@ -56941,13 +56942,13 @@ DO NOT INCLUDE: ${s}`);
56941
56942
  try {
56942
56943
  const Fe = me.toString();
56943
56944
  if (Fe) {
56944
- const qe = ce.editorRef.current;
56945
- if (qe) {
56946
- const Ge = qe.innerHTML, ze = `<a href="${de.url}" title="${de.title}" target="${de.target}" data-type="${de.type}">${de.displayText}</a>`, Ze = Ge.replace(
56945
+ const Xe = ce.editorRef.current;
56946
+ if (Xe) {
56947
+ const Ge = Xe.innerHTML, ze = `<a href="${de.url}" title="${de.title}" target="${de.target}" data-type="${de.type}">${de.displayText}</a>`, qe = Ge.replace(
56947
56948
  Fe,
56948
56949
  ze
56949
56950
  );
56950
- qe.innerHTML = Ze, oe({ text: Ze });
56951
+ Xe.innerHTML = qe, oe({ text: qe });
56951
56952
  }
56952
56953
  } else
56953
56954
  ye.collapse(!1), ye.insertNode(Ae);
@@ -58009,7 +58010,7 @@ DO NOT INCLUDE: ${s}`);
58009
58010
  return d.isCustomPadding ? d.left || d.right || 0 : d.all || 0;
58010
58011
  }, l = () => {
58011
58012
  var d;
58012
- return ((d = e == null ? void 0 : e.paddingControl) == null ? void 0 : d.btnspanheight) || 0;
58013
+ return ((d = e == null ? void 0 : e.paddingControl) == null ? void 0 : d.btnspanheight) ?? 5;
58013
58014
  };
58014
58015
  return /* @__PURE__ */ i.jsxs("div", { className: "space-y-6", children: [
58015
58016
  /* @__PURE__ */ i.jsx("div", { className: "rsp-property-elements-block hidden", children: /* @__PURE__ */ i.jsxs("div", { className: "flex items-center justify-between", children: [
@@ -58285,7 +58286,7 @@ DO NOT INCLUDE: ${s}`);
58285
58286
  };
58286
58287
  t("paddingControl", u);
58287
58288
  },
58288
- min: 0,
58289
+ min: 5,
58289
58290
  max: 100,
58290
58291
  step: 5,
58291
58292
  defaultValue: l()
@@ -62328,7 +62329,7 @@ DO NOT INCLUDE: ${s}`);
62328
62329
  return d.isCustomPadding ? d.left || d.right || 0 : d.all || 0;
62329
62330
  }, a = () => {
62330
62331
  var d;
62331
- return ((d = e == null ? void 0 : e.paddingControl) == null ? void 0 : d.btnspanheight) || 0;
62332
+ return ((d = e == null ? void 0 : e.paddingControl) == null ? void 0 : d.btnspanheight) ?? 5;
62332
62333
  };
62333
62334
  function s(d, c) {
62334
62335
  const u = d * Math.pow(10, c + 1), p = Math.floor(u / 10);
@@ -62594,7 +62595,7 @@ DO NOT INCLUDE: ${s}`);
62594
62595
  };
62595
62596
  t("paddingControl", u);
62596
62597
  },
62597
- min: 0,
62598
+ min: 5,
62598
62599
  max: 100,
62599
62600
  step: 5,
62600
62601
  defaultValue: a()
@@ -63608,7 +63609,7 @@ DO NOT INCLUDE: ${s}`);
63608
63609
  // content,
63609
63610
  style: t = {}
63610
63611
  }) => {
63611
- var P, X, M, G, _, $, I, z, Q, K, ee, ne, ue, re, ae, te, H, Z, Y, T, q, V, F, O, E, U, J, D, oe, ie, le, xe, ve, Te, je, Be, _e, Ie, Re, we, pe, be, ke, de, ce, me, ye, Ee, Ue;
63612
+ var P, X, M, G, _, $, I, z, Q, K, ee, ne, ue, re, ae, te, H, Z, Y, T, q, V, F, O, E, U, J, D, oe, ie, le, xe, ve, Te, je, Be, Ee, Ie, Re, we, pe, be, ke, de, ce, me, ye, _e, Ue;
63612
63613
  const {
63613
63614
  pConfig: o,
63614
63615
  updateComponent: r,
@@ -63656,19 +63657,19 @@ DO NOT INCLUDE: ${s}`);
63656
63657
  }, [(X = a == null ? void 0 : a.style) == null ? void 0 : X.emailWidth]);
63657
63658
  function w(fe, Ae) {
63658
63659
  const Fe = new Map(
63659
- Ae == null ? void 0 : Ae.map((qe) => [qe.id, qe])
63660
+ Ae == null ? void 0 : Ae.map((Xe) => [Xe.id, Xe])
63660
63661
  );
63661
- return fe.map((qe) => {
63662
- const Ge = Fe == null ? void 0 : Fe.get(qe.id);
63662
+ return fe.map((Xe) => {
63663
+ const Ge = Fe == null ? void 0 : Fe.get(Xe.id);
63663
63664
  return Ge && (Ge != null && Ge.style) && Ge.style.backgroundColor ? {
63664
- ...qe,
63665
+ ...Xe,
63665
63666
  style: {
63666
- ...qe.style,
63667
+ ...Xe.style,
63667
63668
  backgroundColor: Ge.style.backgroundColor,
63668
63669
  contentBackgroundColor: Ge.style.contentBackgroundColor
63669
63670
  // containerBackgroundColor: duplicate.style.containerBackgroundColor,
63670
63671
  }
63671
- } : qe;
63672
+ } : Xe;
63672
63673
  });
63673
63674
  }
63674
63675
  function k(fe) {
@@ -63704,10 +63705,10 @@ DO NOT INCLUDE: ${s}`);
63704
63705
  });
63705
63706
  } else fe === "canvasThemes" && Ae === !0 && await d();
63706
63707
  }, j = (fe) => {
63707
- var qe;
63708
+ var Xe;
63708
63709
  if (fe.size > 10 * 1024 * 1024)
63709
63710
  return "File size must not exceed 10MB";
63710
- const Ae = (qe = fe.name.split(".").pop()) == null ? void 0 : qe.toLowerCase();
63711
+ const Ae = (Xe = fe.name.split(".").pop()) == null ? void 0 : Xe.toLowerCase();
63711
63712
  if (!Ae || !["zip", "pdf", "png", "jpg", "jpeg", "gif"].includes(Ae))
63712
63713
  return "Only zip, pdf, png, jpg, jpeg and gif files are allowed";
63713
63714
  if (Ae === "zip" && ![
@@ -63723,8 +63724,8 @@ DO NOT INCLUDE: ${s}`);
63723
63724
  }
63724
63725
  return null;
63725
63726
  }, B = async (fe) => {
63726
- var qe;
63727
- const Ae = (qe = fe.target.files) == null ? void 0 : qe[0];
63727
+ var Xe;
63728
+ const Ae = (Xe = fe.target.files) == null ? void 0 : Xe[0];
63728
63729
  if (p(""), !Ae) return;
63729
63730
  const Fe = j(Ae);
63730
63731
  if (Fe) {
@@ -63738,8 +63739,8 @@ DO NOT INCLUDE: ${s}`);
63738
63739
  }
63739
63740
  const Ge = new FileReader();
63740
63741
  Ge.onload = (ze) => {
63741
- var Ze;
63742
- (Ze = ze.target) != null && Ze.result && R("attachment", {
63742
+ var qe;
63743
+ (qe = ze.target) != null && qe.result && R("attachment", {
63743
63744
  name: Ae.name,
63744
63745
  type: Ae.type,
63745
63746
  size: Ae.size,
@@ -64440,7 +64441,7 @@ DO NOT INCLUDE: ${s}`);
64440
64441
  maxLength: 150
64441
64442
  }
64442
64443
  ),
64443
- ((_e = a == null ? void 0 : a.style) == null ? void 0 : _e.inboxPreview) && /* @__PURE__ */ i.jsx("p", { className: "rsp-alert-bg text-xs text-gray-500 mt0", children: "Maximum 150 characters. This text appears after the subject line in most email clients." })
64444
+ ((Ee = a == null ? void 0 : a.style) == null ? void 0 : Ee.inboxPreview) && /* @__PURE__ */ i.jsx("p", { className: "rsp-alert-bg text-xs text-gray-500 mt0", children: "Maximum 150 characters. This text appears after the subject line in most email clients." })
64444
64445
  ] }),
64445
64446
  !((Ie = a == null ? void 0 : a.style) != null && Ie.emptyCanvas) && ((Re = a == null ? void 0 : a.style) == null ? void 0 : Re.emptyContentValid) && /* @__PURE__ */ i.jsx(
64446
64447
  Ca,
@@ -64528,7 +64529,7 @@ DO NOT INCLUDE: ${s}`);
64528
64529
  /* @__PURE__ */ i.jsxs("div", { children: [
64529
64530
  /* @__PURE__ */ i.jsx("p", { className: "ellispis", children: ((ye = a == null ? void 0 : a.style.attachment) == null ? void 0 : ye.name) || "Default" }),
64530
64531
  /* @__PURE__ */ i.jsx("small", { children: N(
64531
- ((Ue = (Ee = a == null ? void 0 : a.style) == null ? void 0 : Ee.attachment) == null ? void 0 : Ue.size) || 0
64532
+ ((Ue = (_e = a == null ? void 0 : a.style) == null ? void 0 : _e.attachment) == null ? void 0 : Ue.size) || 0
64532
64533
  ) })
64533
64534
  ] }),
64534
64535
  /* @__PURE__ */ i.jsx(
@@ -66367,7 +66368,7 @@ export {
66367
66368
  zr as cleanLineHeights,
66368
66369
  ku as convertFontSizeToPt,
66369
66370
  yu as ensureDataTypeForAnchor,
66370
- Ye as generateStyleString,
66371
+ Je as generateStyleString,
66371
66372
  o1 as hasNoComponents,
66372
66373
  fS as highlightComponentWithError,
66373
66374
  wu as isValid,