hocmai-feedback-widget 0.1.4 → 0.1.6

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.
@@ -5,9 +5,9 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
5
5
  OBJECT: "object",
6
6
  STRING: "string",
7
7
  UNDEFINED: "undefined"
8
- }, L = "browser", j = "cpu", B = "device", U = "engine", D = "os", fe = "result", c = "name", a = "type", d = "vendor", u = "version", O = "architecture", Se = "major", l = "model", Me = "console", g = "mobile", y = "tablet", C = "smarttv", $ = "wearable", Ie = "xr", ke = "embedded", ae = "inapp", st = "brands", te = "formFactors", at = "fullVersionList", pe = "platform", lt = "platformVersion", De = "bitness", K = "sec-ch-ua", xi = K + "-full-version-list", vi = K + "-arch", ki = K + "-" + De, Si = K + "-form-factors", Ci = K + "-" + g, Ei = K + "-" + l, jt = K + "-" + pe, Ii = jt + "-version", Nt = [st, at, g, l, pe, lt, O, te, De], Te = "Amazon", le = "Apple", xt = "ASUS", vt = "BlackBerry", ee = "Google", kt = "Huawei", je = "Lenovo", St = "Honor", Re = "LG", Ne = "Microsoft", Ge = "Motorola", Ct = "Nvidia", Et = "OnePlus", Xe = "OPPO", ge = "Samsung", It = "Sharp", we = "Sony", Ye = "Xiaomi", Qe = "Zebra", Tt = "Chrome", Rt = "Chromium", G = "Chromecast", Ae = "Edge", me = "Firefox", ye = "Opera", Ke = "Facebook", Ot = "Sogou", ce = "Mobile ", xe = " Browser", tt = "Windows", Ti = typeof window !== S.UNDEFINED, F = Ti && window.navigator ? window.navigator : void 0, ie = F && F.userAgentData ? F.userAgentData : void 0, Ri = function(e, t) {
8
+ }, _ = "browser", j = "cpu", B = "device", z = "engine", D = "os", fe = "result", c = "name", a = "type", d = "vendor", u = "version", O = "architecture", Se = "major", l = "model", Ae = "console", g = "mobile", y = "tablet", C = "smarttv", $ = "wearable", Te = "xr", ke = "embedded", ae = "inapp", st = "brands", te = "formFactors", at = "fullVersionList", pe = "platform", lt = "platformVersion", He = "bitness", J = "sec-ch-ua", xi = J + "-full-version-list", vi = J + "-arch", ki = J + "-" + He, Si = J + "-form-factors", Ci = J + "-" + g, Ei = J + "-" + l, jt = J + "-" + pe, Ii = jt + "-version", Nt = [st, at, g, l, pe, lt, O, te, He], Re = "Amazon", le = "Apple", xt = "ASUS", vt = "BlackBerry", ee = "Google", kt = "Huawei", je = "Lenovo", St = "Honor", Oe = "LG", Ne = "Microsoft", Ge = "Motorola", Ct = "Nvidia", Et = "OnePlus", Xe = "OPPO", ge = "Samsung", It = "Sharp", we = "Sony", Ye = "Xiaomi", Qe = "Zebra", Tt = "Chrome", Rt = "Chromium", X = "Chromecast", Fe = "Edge", me = "Firefox", ye = "Opera", Ke = "Facebook", Ot = "Sogou", ce = "Mobile ", xe = " Browser", tt = "Windows", Ti = typeof window !== S.UNDEFINED, F = Ti && window.navigator ? window.navigator : void 0, ie = F && F.userAgentData ? F.userAgentData : void 0, Ri = function(e, t) {
9
9
  var i = {}, n = t;
10
- if (!Fe(t)) {
10
+ if (!_e(t)) {
11
11
  n = {};
12
12
  for (var o in t)
13
13
  for (var s in t[o])
@@ -16,20 +16,20 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
16
16
  for (var r in e)
17
17
  i[r] = n[r] && n[r].length % 2 === 0 ? n[r].concat(e[r]) : e[r];
18
18
  return i;
19
- }, He = function(e) {
19
+ }, ze = function(e) {
20
20
  for (var t = {}, i = 0; i < e.length; i++)
21
21
  t[e[i].toUpperCase()] = e[i];
22
22
  return t;
23
23
  }, it = function(e, t) {
24
24
  if (typeof e === S.OBJECT && e.length > 0) {
25
25
  for (var i in e)
26
- if (X(t) == X(e[i])) return !0;
26
+ if (Y(t) == Y(e[i])) return !0;
27
27
  return !1;
28
28
  }
29
- return Ce(e) ? X(t) == X(e) : !1;
30
- }, Fe = function(e, t) {
29
+ return Ce(e) ? Y(t) == Y(e) : !1;
30
+ }, _e = function(e, t) {
31
31
  for (var i in e)
32
- return /^(browser|cpu|device|engine|os)$/.test(i) || (t ? Fe(e[i]) : !1);
32
+ return /^(browser|cpu|device|engine|os)$/.test(i) || (t ? _e(e[i]) : !1);
33
33
  }, Ce = function(e) {
34
34
  return typeof e === S.STRING;
35
35
  }, Je = function(e) {
@@ -42,7 +42,7 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
42
42
  t[n] = Le(i[n]);
43
43
  return t;
44
44
  }
45
- }, X = function(e) {
45
+ }, Y = function(e) {
46
46
  return Ce(e) ? e.toLowerCase() : e;
47
47
  }, nt = function(e) {
48
48
  return Ce(e) ? be(/[^\d\.]/g, e).split(".")[0] : void 0;
@@ -121,7 +121,7 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
121
121
  /webview.+edge\/([\w\.]+)/i
122
122
  // Microsoft Edge
123
123
  ],
124
- [u, [c, Ae + " WebView"]],
124
+ [u, [c, Fe + " WebView"]],
125
125
  [
126
126
  /edg(?:e|ios|a)?\/([\w\.]+)/i
127
127
  ],
@@ -378,7 +378,7 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
378
378
  /wv\).+chrome\/([\w\.]+).+edgw\//i
379
379
  // Edge WebView2
380
380
  ],
381
- [u, [c, Ae + " WebView2"]],
381
+ [u, [c, Fe + " WebView2"]],
382
382
  [
383
383
  / wv\).+(chrome)\/([\w\.]+)/i
384
384
  // Chrome WebView
@@ -510,7 +510,7 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
510
510
  /(?:osf1|[freopnt]{3,4}bsd) (alpha)/i
511
511
  // Alpha
512
512
  ],
513
- [[O, /ower/, he, X]],
513
+ [[O, /ower/, he, Y]],
514
514
  [
515
515
  /mc680.0/i
516
516
  ],
@@ -652,13 +652,13 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
652
652
  // LG
653
653
  /((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i
654
654
  ],
655
- [l, [d, Re], [a, y]],
655
+ [l, [d, Oe], [a, y]],
656
656
  [
657
657
  /(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,
658
658
  /\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,
659
659
  /\blg-?([\d\w]+) bui/i
660
660
  ],
661
- [l, [d, Re], [a, g]],
661
+ [l, [d, Oe], [a, g]],
662
662
  [
663
663
  // Nokia
664
664
  /(nokia) (t[12][01])/i
@@ -702,12 +702,12 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
702
702
  /(kf[a-z]+)( bui|\)).+silk\//i
703
703
  // Kindle Fire HD
704
704
  ],
705
- [l, [d, Te], [a, y]],
705
+ [l, [d, Re], [a, y]],
706
706
  [
707
707
  /((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i
708
708
  // Fire Phone
709
709
  ],
710
- [[l, /(.+)/g, "Fire Phone $1"], [d, Te], [a, g]],
710
+ [[l, /(.+)/g, "Fire Phone $1"], [d, Re], [a, g]],
711
711
  [
712
712
  // BlackBerry
713
713
  /(playbook);[-\w\),; ]+(rim)/i
@@ -757,7 +757,7 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
757
757
  // itel
758
758
  /(itel) ((\w+))/i
759
759
  ],
760
- [[d, X], l, [a, H, { tablet: ["p10001l", "w7001"], "*": "mobile" }]],
760
+ [[d, Y], l, [a, H, { tablet: ["p10001l", "w7001"], "*": "mobile" }]],
761
761
  [
762
762
  // Acer
763
763
  /droid.+; ([ab][1-7]-?[0178a]\d\d?)/i
@@ -904,7 +904,7 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
904
904
  [
905
905
  /(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i
906
906
  ],
907
- [[d, Re], [a, C]],
907
+ [[d, Oe], [a, C]],
908
908
  [
909
909
  /(apple) ?tv/i
910
910
  // Apple TV
@@ -914,7 +914,7 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
914
914
  /crkey.*devicetype\/chromecast/i
915
915
  // Google Chromecast Third Generation
916
916
  ],
917
- [[l, G + " Third Generation"], [d, ee], [a, C]],
917
+ [[l, X + " Third Generation"], [d, ee], [a, C]],
918
918
  [
919
919
  /crkey.*devicetype\/([^/]*)/i
920
920
  // Google Chromecast with specific device type
@@ -924,12 +924,12 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
924
924
  /fuchsia.*crkey/i
925
925
  // Google Chromecast Nest Hub
926
926
  ],
927
- [[l, G + " Nest Hub"], [d, ee], [a, C]],
927
+ [[l, X + " Nest Hub"], [d, ee], [a, C]],
928
928
  [
929
929
  /crkey/i
930
930
  // Google Chromecast, Linux-based or unknown
931
931
  ],
932
- [[l, G], [d, ee], [a, C]],
932
+ [[l, X], [d, ee], [a, C]],
933
933
  [
934
934
  /(portaltv)/i
935
935
  // Facebook Portal TV
@@ -939,7 +939,7 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
939
939
  /droid.+aft(\w+)( bui|\))/i
940
940
  // Fire TV
941
941
  ],
942
- [l, [d, Te], [a, C]],
942
+ [l, [d, Re], [a, C]],
943
943
  [
944
944
  /(shield \w+ tv)/i
945
945
  // Nvidia Shield TV
@@ -980,12 +980,12 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
980
980
  /(playstation \w+)/i
981
981
  // Playstation
982
982
  ],
983
- [l, [d, we], [a, Me]],
983
+ [l, [d, we], [a, Ae]],
984
984
  [
985
985
  /\b(xbox(?: one)?(?!; xbox))[\); ]/i
986
986
  // Microsoft Xbox
987
987
  ],
988
- [l, [d, Ne], [a, Me]],
988
+ [l, [d, Ne], [a, Ae]],
989
989
  [
990
990
  /(ouya)/i,
991
991
  // Ouya
@@ -997,7 +997,7 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
997
997
  /droid.+; ((shield|rgcube|gr0006))( bui|\))/i
998
998
  // Nvidia Portable/Anbernic/Logitech
999
999
  ],
1000
- [[d, H, { Nvidia: "Shield", Anbernic: "RGCUBE", Logitech: "GR0006" }], l, [a, Me]],
1000
+ [[d, H, { Nvidia: "Shield", Anbernic: "RGCUBE", Logitech: "GR0006" }], l, [a, Ae]],
1001
1001
  [
1002
1002
  ///////////////////
1003
1003
  // WEARABLES
@@ -1042,7 +1042,7 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
1042
1042
  /(g watch r)/i
1043
1043
  // LG G Watch R
1044
1044
  ],
1045
- [l, [d, Re], [a, $]],
1045
+ [l, [d, Oe], [a, $]],
1046
1046
  [
1047
1047
  /droid.+; (wt63?0{2,3})\)/i
1048
1048
  ],
@@ -1054,22 +1054,22 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
1054
1054
  /droid.+; (glass) \d/i
1055
1055
  // Google Glass
1056
1056
  ],
1057
- [l, [d, ee], [a, Ie]],
1057
+ [l, [d, ee], [a, Te]],
1058
1058
  [
1059
1059
  /(pico) ([\w ]+) os\d/i
1060
1060
  // Pico
1061
1061
  ],
1062
- [d, l, [a, Ie]],
1062
+ [d, l, [a, Te]],
1063
1063
  [
1064
1064
  /(quest( \d| pro)?s?).+vr/i
1065
1065
  // Meta Quest
1066
1066
  ],
1067
- [l, [d, Ke], [a, Ie]],
1067
+ [l, [d, Ke], [a, Te]],
1068
1068
  [
1069
1069
  /mobile vr; rv.+firefox/i
1070
1070
  // Unidentifiable VR device using Firefox Reality / Wolvic
1071
1071
  ],
1072
- [[a, Ie]],
1072
+ [[a, Te]],
1073
1073
  [
1074
1074
  ///////////////////
1075
1075
  // EMBEDDED
@@ -1082,7 +1082,7 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
1082
1082
  /(aeobc)\b/i
1083
1083
  // Echo Dot
1084
1084
  ],
1085
- [l, [d, Te], [a, ke]],
1085
+ [l, [d, Re], [a, ke]],
1086
1086
  [
1087
1087
  /(homepod).+mac os/i
1088
1088
  // Apple HomePod
@@ -1130,7 +1130,7 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
1130
1130
  /windows.+ edge\/([\w\.]+)/i
1131
1131
  // EdgeHTML
1132
1132
  ],
1133
- [u, [c, Ae + "HTML"]],
1133
+ [u, [c, Fe + "HTML"]],
1134
1134
  [
1135
1135
  /(arkweb)\/([\w\.]+)/i
1136
1136
  // ArkWeb
@@ -1210,27 +1210,27 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
1210
1210
  /android ([\d\.]+).*crkey/i
1211
1211
  // Google Chromecast, Android-based
1212
1212
  ],
1213
- [u, [c, G + " Android"]],
1213
+ [u, [c, X + " Android"]],
1214
1214
  [
1215
1215
  /fuchsia.*crkey\/([\d\.]+)/i
1216
1216
  // Google Chromecast, Fuchsia-based
1217
1217
  ],
1218
- [u, [c, G + " Fuchsia"]],
1218
+ [u, [c, X + " Fuchsia"]],
1219
1219
  [
1220
1220
  /crkey\/([\d\.]+).*devicetype\/smartspeaker/i
1221
1221
  // Google Chromecast, Linux-based Smart Speaker
1222
1222
  ],
1223
- [u, [c, G + " SmartSpeaker"]],
1223
+ [u, [c, X + " SmartSpeaker"]],
1224
1224
  [
1225
1225
  /linux.*crkey\/([\d\.]+)/i
1226
1226
  // Google Chromecast, Legacy Linux-based
1227
1227
  ],
1228
- [u, [c, G + " Linux"]],
1228
+ [u, [c, X + " Linux"]],
1229
1229
  [
1230
1230
  /crkey\/([\d\.]+)/i
1231
1231
  // Google Chromecast, unknown
1232
1232
  ],
1233
- [u, [c, G]],
1233
+ [u, [c, X]],
1234
1234
  [
1235
1235
  // Mobile OSes
1236
1236
  /droid ([\w\.]+)\b.+(android[- ]x86)/i
@@ -1337,30 +1337,30 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
1337
1337
  ],
1338
1338
  [c, u]
1339
1339
  ]
1340
- }, Oe = (function() {
1340
+ }, Me = (function() {
1341
1341
  var e = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} };
1342
1342
  return q.call(e.init, [
1343
- [L, [c, u, Se, a]],
1343
+ [_, [c, u, Se, a]],
1344
1344
  [j, [O]],
1345
1345
  [B, [a, l, d]],
1346
- [U, [c, u]],
1346
+ [z, [c, u]],
1347
1347
  [D, [c, u]]
1348
1348
  ]), q.call(e.isIgnore, [
1349
- [L, [u, Se]],
1350
- [U, [u]],
1349
+ [_, [u, Se]],
1350
+ [z, [u]],
1351
1351
  [D, [u]]
1352
1352
  ]), q.call(e.isIgnoreRgx, [
1353
- [L, / ?browser$/i],
1353
+ [_, / ?browser$/i],
1354
1354
  [D, / ?os$/i]
1355
1355
  ]), q.call(e.toString, [
1356
- [L, [c, u]],
1356
+ [_, [c, u]],
1357
1357
  [j, [O]],
1358
1358
  [B, [d, l]],
1359
- [U, [c, u]],
1359
+ [z, [c, u]],
1360
1360
  [D, [c, u]]
1361
1361
  ]), e;
1362
1362
  })(), Mi = function(e, t) {
1363
- var i = Oe.init[t], n = Oe.isIgnore[t] || 0, o = Oe.isIgnoreRgx[t] || 0, s = Oe.toString[t] || 0;
1363
+ var i = Me.init[t], n = Me.isIgnore[t] || 0, o = Me.isIgnoreRgx[t] || 0, s = Me.toString[t] || 0;
1364
1364
  function r() {
1365
1365
  q.call(this, i);
1366
1366
  }
@@ -1375,7 +1375,7 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
1375
1375
  }, t != fe && (r.prototype.is = function(h) {
1376
1376
  var f = !1;
1377
1377
  for (var w in this)
1378
- if (this.hasOwnProperty(w) && !it(n, w) && X(o ? be(o, this[w]) : this[w]) == X(o ? be(o, h) : h)) {
1378
+ if (this.hasOwnProperty(w) && !it(n, w) && Y(o ? be(o, this[w]) : this[w]) == Y(o ? be(o, h) : h)) {
1379
1379
  if (f = !0, h != S.UNDEFINED) break;
1380
1380
  } else if (h == S.UNDEFINED && f) {
1381
1381
  f = !f;
@@ -1405,7 +1405,7 @@ var mi = "2.0.7", yi = 500, mt = "user-agent", he = "", yt = "?", S = {
1405
1405
  function Gt(e, t) {
1406
1406
  if (e = e || {}, q.call(this, Nt), t)
1407
1407
  q.call(this, [
1408
- [st, Je(e[K])],
1408
+ [st, Je(e[J])],
1409
1409
  [at, Je(e[xi])],
1410
1410
  [g, /\?1/.test(e[Ci])],
1411
1411
  [l, ve(e[Ei])],
@@ -1413,13 +1413,13 @@ function Gt(e, t) {
1413
1413
  [lt, ve(e[Ii])],
1414
1414
  [O, ve(e[vi])],
1415
1415
  [te, Je(e[Si])],
1416
- [De, ve(e[ki])]
1416
+ [He, ve(e[ki])]
1417
1417
  ]);
1418
1418
  else
1419
1419
  for (var i in e)
1420
1420
  this.hasOwnProperty(i) && typeof e[i] !== S.UNDEFINED && (this[i] = e[i]);
1421
1421
  }
1422
- function Q(e, t, i, n) {
1422
+ function K(e, t, i, n) {
1423
1423
  return q.call(this, [
1424
1424
  ["itemType", e],
1425
1425
  ["ua", t],
@@ -1428,19 +1428,19 @@ function Q(e, t, i, n) {
1428
1428
  ["data", Mi(this, e)]
1429
1429
  ]), this;
1430
1430
  }
1431
- Q.prototype.get = function(e) {
1431
+ K.prototype.get = function(e) {
1432
1432
  return e ? this.data.hasOwnProperty(e) ? this.data[e] : void 0 : this.data;
1433
1433
  };
1434
- Q.prototype.set = function(e, t) {
1434
+ K.prototype.set = function(e, t) {
1435
1435
  return this.data[e] = t, this;
1436
1436
  };
1437
- Q.prototype.setCH = function(e) {
1437
+ K.prototype.setCH = function(e) {
1438
1438
  return this.uaCH = e, this;
1439
1439
  };
1440
- Q.prototype.detectFeature = function() {
1440
+ K.prototype.detectFeature = function() {
1441
1441
  if (F && F.userAgent == this.ua)
1442
1442
  switch (this.itemType) {
1443
- case L:
1443
+ case _:
1444
1444
  F.brave && typeof F.brave.isBrave == S.FUNCTION && this.set(c, "Brave");
1445
1445
  break;
1446
1446
  case B:
@@ -1453,13 +1453,13 @@ Q.prototype.detectFeature = function() {
1453
1453
  var e = this.data, t = function(i) {
1454
1454
  return e[i].getItem().detectFeature().get();
1455
1455
  };
1456
- this.set(L, t(L)).set(j, t(j)).set(B, t(B)).set(U, t(U)).set(D, t(D));
1456
+ this.set(_, t(_)).set(j, t(j)).set(B, t(B)).set(z, t(z)).set(D, t(D));
1457
1457
  }
1458
1458
  return this;
1459
1459
  };
1460
- Q.prototype.parseUA = function() {
1460
+ K.prototype.parseUA = function() {
1461
1461
  switch (this.itemType != fe && rt.call(this.data, this.ua, this.rgxMap), this.itemType) {
1462
- case L:
1462
+ case _:
1463
1463
  this.set(Se, nt(this.get(u)));
1464
1464
  break;
1465
1465
  case D:
@@ -1471,21 +1471,21 @@ Q.prototype.parseUA = function() {
1471
1471
  }
1472
1472
  return this;
1473
1473
  };
1474
- Q.prototype.parseCH = function() {
1474
+ K.prototype.parseCH = function() {
1475
1475
  var e = this.uaCH, t = this.rgxMap;
1476
1476
  switch (this.itemType) {
1477
- case L:
1478
- case U:
1477
+ case _:
1478
+ case z:
1479
1479
  var i = e[at] || e[st], n;
1480
1480
  if (i)
1481
1481
  for (var o = 0; o < i.length; o++) {
1482
1482
  var s = i[o].brand || i[o], r = i[o].version;
1483
- this.itemType == L && !/not.a.brand/i.test(s) && (!n || /Chrom/.test(n) && s != Rt || n == Ae && /WebView2/.test(s)) && (s = H(s, Oi), n = this.get(c), n && !/Chrom/.test(n) && /Chrom/.test(s) || this.set(c, s).set(u, r).set(Se, nt(r)), n = s), this.itemType == U && s == Rt && this.set(u, r);
1483
+ this.itemType == _ && !/not.a.brand/i.test(s) && (!n || /Chrom/.test(n) && s != Rt || n == Fe && /WebView2/.test(s)) && (s = H(s, Oi), n = this.get(c), n && !/Chrom/.test(n) && /Chrom/.test(s) || this.set(c, s).set(u, r).set(Se, nt(r)), n = s), this.itemType == z && s == Rt && this.set(u, r);
1484
1484
  }
1485
1485
  break;
1486
1486
  case j:
1487
1487
  var h = e[O];
1488
- h && (h && e[De] == "64" && (h += "64"), rt.call(this.data, h + ";", t));
1488
+ h && (h && e[He] == "64" && (h += "64"), rt.call(this.data, h + ";", t));
1489
1489
  break;
1490
1490
  case B:
1491
1491
  if (e[g] && this.set(a, g), e[l] && (this.set(l, e[l]), !this.get(a) || !this.get(d))) {
@@ -1511,15 +1511,15 @@ Q.prototype.parseCH = function() {
1511
1511
  this.get(c) == tt && e[l] == "Xbox" && this.set(c, "Xbox").set(u, void 0);
1512
1512
  break;
1513
1513
  case fe:
1514
- var z = this.data, M = function(x) {
1515
- return z[x].getItem().setCH(e).parseCH().get();
1514
+ var U = this.data, M = function(x) {
1515
+ return U[x].getItem().setCH(e).parseCH().get();
1516
1516
  };
1517
- this.set(L, M(L)).set(j, M(j)).set(B, M(B)).set(U, M(U)).set(D, M(D));
1517
+ this.set(_, M(_)).set(j, M(j)).set(B, M(B)).set(z, M(z)).set(D, M(D));
1518
1518
  }
1519
1519
  return this;
1520
1520
  };
1521
1521
  function N(e, t, i) {
1522
- if (typeof e === S.OBJECT ? (Fe(e, !0) ? (typeof t === S.OBJECT && (i = t), t = e) : (i = e, t = void 0), e = void 0) : typeof e === S.STRING && !Fe(t, !0) && (i = t, t = void 0), i)
1522
+ if (typeof e === S.OBJECT ? (_e(e, !0) ? (typeof t === S.OBJECT && (i = t), t = e) : (i = e, t = void 0), e = void 0) : typeof e === S.STRING && !_e(t, !0) && (i = t, t = void 0), i)
1523
1523
  if (typeof i.append === S.FUNCTION) {
1524
1524
  var n = {};
1525
1525
  i.forEach(function(m, k) {
@@ -1544,16 +1544,16 @@ function N(e, t, i) {
1544
1544
  )
1545
1545
  ), h = new Gt(i, !0), f = t ? Ri(Ft, t) : Ft, w = function(m) {
1546
1546
  return m == fe ? function() {
1547
- return new Q(m, r, f, h).set("ua", r).set(L, this.getBrowser()).set(j, this.getCPU()).set(B, this.getDevice()).set(U, this.getEngine()).set(D, this.getOS()).get();
1547
+ return new K(m, r, f, h).set("ua", r).set(_, this.getBrowser()).set(j, this.getCPU()).set(B, this.getDevice()).set(z, this.getEngine()).set(D, this.getOS()).get();
1548
1548
  } : function() {
1549
- return new Q(m, r, f[m], h).parseUA().get();
1549
+ return new K(m, r, f[m], h).parseUA().get();
1550
1550
  };
1551
1551
  };
1552
1552
  return q.call(this, [
1553
- ["getBrowser", w(L)],
1553
+ ["getBrowser", w(_)],
1554
1554
  ["getCPU", w(j)],
1555
1555
  ["getDevice", w(B)],
1556
- ["getEngine", w(U)],
1556
+ ["getEngine", w(z)],
1557
1557
  ["getOS", w(D)],
1558
1558
  ["getResult", w(fe)],
1559
1559
  ["getUA", function() {
@@ -1565,10 +1565,10 @@ function N(e, t, i) {
1565
1565
  ]).setUA(r), this;
1566
1566
  }
1567
1567
  N.VERSION = mi;
1568
- N.BROWSER = He([c, u, Se, a]);
1569
- N.CPU = He([O]);
1570
- N.DEVICE = He([l, d, a, Me, g, C, y, $, ke]);
1571
- N.ENGINE = N.OS = He([c, u]);
1568
+ N.BROWSER = ze([c, u, Se, a]);
1569
+ N.CPU = ze([O]);
1570
+ N.DEVICE = ze([l, d, a, Ae, g, C, y, $, ke]);
1571
+ N.ENGINE = N.OS = ze([c, u]);
1572
1572
  const Ai = () => {
1573
1573
  const t = new N().getResult();
1574
1574
  return {
@@ -1590,7 +1590,7 @@ function Fi(e, t) {
1590
1590
  const i = document.implementation.createHTMLDocument(), n = i.createElement("base"), o = i.createElement("a");
1591
1591
  return i.head.appendChild(n), i.body.appendChild(o), t && (n.href = t), o.href = e, o.href;
1592
1592
  }
1593
- const Li = /* @__PURE__ */ (() => {
1593
+ const _i = /* @__PURE__ */ (() => {
1594
1594
  let e = 0;
1595
1595
  const t = () => (
1596
1596
  // eslint-disable-next-line no-bitwise
@@ -1598,7 +1598,7 @@ const Li = /* @__PURE__ */ (() => {
1598
1598
  );
1599
1599
  return () => (e += 1, `u${t()}${e}`);
1600
1600
  })();
1601
- function Y(e) {
1601
+ function Q(e) {
1602
1602
  const t = [];
1603
1603
  for (let i = 0, n = e.length; i < n; i++)
1604
1604
  t.push(e[i]);
@@ -1606,22 +1606,22 @@ function Y(e) {
1606
1606
  }
1607
1607
  let de = null;
1608
1608
  function Xt(e = {}) {
1609
- return de || (e.includeStyleProperties ? (de = e.includeStyleProperties, de) : (de = Y(window.getComputedStyle(document.documentElement)), de));
1609
+ return de || (e.includeStyleProperties ? (de = e.includeStyleProperties, de) : (de = Q(window.getComputedStyle(document.documentElement)), de));
1610
1610
  }
1611
- function _e(e, t) {
1611
+ function Pe(e, t) {
1612
1612
  const n = (e.ownerDocument.defaultView || window).getComputedStyle(e).getPropertyValue(t);
1613
1613
  return n ? parseFloat(n.replace("px", "")) : 0;
1614
1614
  }
1615
- function _i(e) {
1616
- const t = _e(e, "border-left-width"), i = _e(e, "border-right-width");
1615
+ function Li(e) {
1616
+ const t = Pe(e, "border-left-width"), i = Pe(e, "border-right-width");
1617
1617
  return e.clientWidth + t + i;
1618
1618
  }
1619
1619
  function Pi(e) {
1620
- const t = _e(e, "border-top-width"), i = _e(e, "border-bottom-width");
1620
+ const t = Pe(e, "border-top-width"), i = Pe(e, "border-bottom-width");
1621
1621
  return e.clientHeight + t + i;
1622
1622
  }
1623
1623
  function Yt(e, t = {}) {
1624
- const i = t.width || _i(e), n = t.height || Pi(e);
1624
+ const i = t.width || Li(e), n = t.height || Pi(e);
1625
1625
  return { width: i, height: n };
1626
1626
  }
1627
1627
  function Di() {
@@ -1637,7 +1637,7 @@ const P = 16384;
1637
1637
  function Hi(e) {
1638
1638
  (e.width > P || e.height > P) && (e.width > P && e.height > P ? e.width > e.height ? (e.height *= P / e.width, e.width = P) : (e.width *= P / e.height, e.height = P) : e.width > P ? (e.height *= P / e.width, e.width = P) : (e.width *= P / e.height, e.height = P));
1639
1639
  }
1640
- function Pe(e) {
1640
+ function De(e) {
1641
1641
  return new Promise((t, i) => {
1642
1642
  const n = new Image();
1643
1643
  n.onload = () => {
@@ -1647,18 +1647,18 @@ function Pe(e) {
1647
1647
  }, n.onerror = i, n.crossOrigin = "anonymous", n.decoding = "async", n.src = e;
1648
1648
  });
1649
1649
  }
1650
- async function Ui(e) {
1650
+ async function zi(e) {
1651
1651
  return Promise.resolve().then(() => new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then((t) => `data:image/svg+xml;charset=utf-8,${t}`);
1652
1652
  }
1653
- async function zi(e, t, i) {
1653
+ async function Ui(e, t, i) {
1654
1654
  const n = "http://www.w3.org/2000/svg", o = document.createElementNS(n, "svg"), s = document.createElementNS(n, "foreignObject");
1655
- return o.setAttribute("width", `${t}`), o.setAttribute("height", `${i}`), o.setAttribute("viewBox", `0 0 ${t} ${i}`), s.setAttribute("width", "100%"), s.setAttribute("height", "100%"), s.setAttribute("x", "0"), s.setAttribute("y", "0"), s.setAttribute("externalResourcesRequired", "true"), o.appendChild(s), s.appendChild(e), Ui(o);
1655
+ return o.setAttribute("width", `${t}`), o.setAttribute("height", `${i}`), o.setAttribute("viewBox", `0 0 ${t} ${i}`), s.setAttribute("width", "100%"), s.setAttribute("height", "100%"), s.setAttribute("x", "0"), s.setAttribute("y", "0"), s.setAttribute("externalResourcesRequired", "true"), o.appendChild(s), s.appendChild(e), zi(o);
1656
1656
  }
1657
- const _ = (e, t) => {
1657
+ const L = (e, t) => {
1658
1658
  if (e instanceof t)
1659
1659
  return !0;
1660
1660
  const i = Object.getPrototypeOf(e);
1661
- return i === null ? !1 : i.constructor.name === t.name || _(i, t);
1661
+ return i === null ? !1 : i.constructor.name === t.name || L(i, t);
1662
1662
  };
1663
1663
  function $i(e) {
1664
1664
  const t = e.getPropertyValue("content");
@@ -1674,11 +1674,11 @@ function Vi(e, t, i, n) {
1674
1674
  const o = `.${e}:${t}`, s = i.cssText ? $i(i) : Bi(i, n);
1675
1675
  return document.createTextNode(`${o}{${s}}`);
1676
1676
  }
1677
- function Lt(e, t, i, n) {
1677
+ function _t(e, t, i, n) {
1678
1678
  const o = window.getComputedStyle(e, i), s = o.getPropertyValue("content");
1679
1679
  if (s === "" || s === "none")
1680
1680
  return;
1681
- const r = Li();
1681
+ const r = _i();
1682
1682
  try {
1683
1683
  t.className = `${t.className} ${r}`;
1684
1684
  } catch {
@@ -1688,11 +1688,11 @@ function Lt(e, t, i, n) {
1688
1688
  h.appendChild(Vi(r, i, o, n)), t.appendChild(h);
1689
1689
  }
1690
1690
  function Wi(e, t, i) {
1691
- Lt(e, t, ":before", i), Lt(e, t, ":after", i);
1691
+ _t(e, t, ":before", i), _t(e, t, ":after", i);
1692
1692
  }
1693
- const _t = "application/font-woff", Pt = "image/jpeg", qi = {
1694
- woff: _t,
1695
- woff2: _t,
1693
+ const Lt = "application/font-woff", Pt = "image/jpeg", qi = {
1694
+ woff: Lt,
1695
+ woff2: Lt,
1696
1696
  ttf: "application/font-truetype",
1697
1697
  eot: "application/vnd.ms-fontobject",
1698
1698
  png: "image/png",
@@ -1759,17 +1759,17 @@ async function dt(e, t, i) {
1759
1759
  }
1760
1760
  async function Yi(e) {
1761
1761
  const t = e.toDataURL();
1762
- return t === "data:," ? e.cloneNode(!1) : Pe(t);
1762
+ return t === "data:," ? e.cloneNode(!1) : De(t);
1763
1763
  }
1764
1764
  async function Qi(e, t) {
1765
1765
  if (e.currentSrc) {
1766
1766
  const s = document.createElement("canvas"), r = s.getContext("2d");
1767
1767
  s.width = e.clientWidth, s.height = e.clientHeight, r?.drawImage(e, 0, 0, s.width, s.height);
1768
1768
  const h = s.toDataURL();
1769
- return Pe(h);
1769
+ return De(h);
1770
1770
  }
1771
1771
  const i = e.poster, n = ct(i), o = await dt(i, n, t);
1772
- return Pe(o);
1772
+ return De(o);
1773
1773
  }
1774
1774
  async function Ki(e, t) {
1775
1775
  var i;
@@ -1781,7 +1781,7 @@ async function Ki(e, t) {
1781
1781
  return e.cloneNode(!1);
1782
1782
  }
1783
1783
  async function Ji(e, t) {
1784
- return _(e, HTMLCanvasElement) ? Yi(e) : _(e, HTMLVideoElement) ? Qi(e, t) : _(e, HTMLIFrameElement) ? Ki(e, t) : e.cloneNode(Kt(e));
1784
+ return L(e, HTMLCanvasElement) ? Yi(e) : L(e, HTMLVideoElement) ? Qi(e, t) : L(e, HTMLIFrameElement) ? Ki(e, t) : e.cloneNode(Kt(e));
1785
1785
  }
1786
1786
  const Zi = (e) => e.tagName != null && e.tagName.toUpperCase() === "SLOT", Kt = (e) => e.tagName != null && e.tagName.toUpperCase() === "SVG";
1787
1787
  async function en(e, t, i) {
@@ -1789,7 +1789,7 @@ async function en(e, t, i) {
1789
1789
  if (Kt(t))
1790
1790
  return t;
1791
1791
  let s = [];
1792
- return Zi(e) && e.assignedNodes ? s = Y(e.assignedNodes()) : _(e, HTMLIFrameElement) && (!((n = e.contentDocument) === null || n === void 0) && n.body) ? s = Y(e.contentDocument.body.childNodes) : s = Y(((o = e.shadowRoot) !== null && o !== void 0 ? o : e).childNodes), s.length === 0 || _(e, HTMLVideoElement) || await s.reduce((r, h) => r.then(() => Ue(h, i)).then((f) => {
1792
+ return Zi(e) && e.assignedNodes ? s = Q(e.assignedNodes()) : L(e, HTMLIFrameElement) && (!((n = e.contentDocument) === null || n === void 0) && n.body) ? s = Q(e.contentDocument.body.childNodes) : s = Q(((o = e.shadowRoot) !== null && o !== void 0 ? o : e).childNodes), s.length === 0 || L(e, HTMLVideoElement) || await s.reduce((r, h) => r.then(() => Ue(h, i)).then((f) => {
1793
1793
  f && t.appendChild(f);
1794
1794
  }), Promise.resolve()), t;
1795
1795
  }
@@ -1800,20 +1800,20 @@ function tn(e, t, i) {
1800
1800
  const o = window.getComputedStyle(e);
1801
1801
  o.cssText ? (n.cssText = o.cssText, n.transformOrigin = o.transformOrigin) : Xt(i).forEach((s) => {
1802
1802
  let r = o.getPropertyValue(s);
1803
- s === "font-size" && r.endsWith("px") && (r = `${Math.floor(parseFloat(r.substring(0, r.length - 2))) - 0.1}px`), _(e, HTMLIFrameElement) && s === "display" && r === "inline" && (r = "block"), s === "d" && t.getAttribute("d") && (r = `path(${t.getAttribute("d")})`), n.setProperty(s, r, o.getPropertyPriority(s));
1803
+ s === "font-size" && r.endsWith("px") && (r = `${Math.floor(parseFloat(r.substring(0, r.length - 2))) - 0.1}px`), L(e, HTMLIFrameElement) && s === "display" && r === "inline" && (r = "block"), s === "d" && t.getAttribute("d") && (r = `path(${t.getAttribute("d")})`), n.setProperty(s, r, o.getPropertyPriority(s));
1804
1804
  });
1805
1805
  }
1806
1806
  function nn(e, t) {
1807
- _(e, HTMLTextAreaElement) && (t.innerHTML = e.value), _(e, HTMLInputElement) && t.setAttribute("value", e.value);
1807
+ L(e, HTMLTextAreaElement) && (t.innerHTML = e.value), L(e, HTMLInputElement) && t.setAttribute("value", e.value);
1808
1808
  }
1809
1809
  function rn(e, t) {
1810
- if (_(e, HTMLSelectElement)) {
1810
+ if (L(e, HTMLSelectElement)) {
1811
1811
  const n = Array.from(t.children).find((o) => e.value === o.getAttribute("value"));
1812
1812
  n && n.setAttribute("selected", "");
1813
1813
  }
1814
1814
  }
1815
1815
  function on(e, t, i) {
1816
- return _(t, Element) && (tn(e, t, i), Wi(e, t, i), nn(e, t), rn(e, t)), t;
1816
+ return L(t, Element) && (tn(e, t, i), Wi(e, t, i), nn(e, t), rn(e, t)), t;
1817
1817
  }
1818
1818
  async function sn(e, t) {
1819
1819
  const i = e.querySelectorAll ? e.querySelectorAll("use") : [];
@@ -1893,8 +1893,8 @@ async function fn(e, t) {
1893
1893
  await ue("background", e, t) || await ue("background-image", e, t), await ue("mask", e, t) || await ue("-webkit-mask", e, t) || await ue("mask-image", e, t) || await ue("-webkit-mask-image", e, t);
1894
1894
  }
1895
1895
  async function pn(e, t) {
1896
- const i = _(e, HTMLImageElement);
1897
- if (!(i && !ot(e.src)) && !(_(e, SVGImageElement) && !ot(e.href.baseVal)))
1896
+ const i = L(e, HTMLImageElement);
1897
+ if (!(i && !ot(e.src)) && !(L(e, SVGImageElement) && !ot(e.href.baseVal)))
1898
1898
  return;
1899
1899
  const n = i ? e.src : e.href.baseVal, o = await dt(n, ct(n), t);
1900
1900
  await new Promise((s, r) => {
@@ -1910,11 +1910,11 @@ async function pn(e, t) {
1910
1910
  });
1911
1911
  }
1912
1912
  async function bn(e, t) {
1913
- const n = Y(e.childNodes).map((o) => ti(o, t));
1913
+ const n = Q(e.childNodes).map((o) => ti(o, t));
1914
1914
  await Promise.all(n).then(() => e);
1915
1915
  }
1916
1916
  async function ti(e, t) {
1917
- _(e, Element) && (await fn(e, t), await pn(e, t), await bn(e, t));
1917
+ L(e, Element) && (await fn(e, t), await pn(e, t), await bn(e, t));
1918
1918
  }
1919
1919
  function gn(e, t) {
1920
1920
  const { style: i } = e;
@@ -1932,7 +1932,7 @@ async function Ht(e) {
1932
1932
  const n = await (await fetch(e)).text();
1933
1933
  return t = { url: e, cssText: n }, Dt[e] = t, t;
1934
1934
  }
1935
- async function Ut(e, t) {
1935
+ async function zt(e, t) {
1936
1936
  let i = e.cssText;
1937
1937
  const n = /url\(["']?([^"')]+)["']?\)/g, s = (i.match(/url\([^)]+\)/g) || []).map(async (r) => {
1938
1938
  let h = r.replace(n, "$1");
@@ -1940,7 +1940,7 @@ async function Ut(e, t) {
1940
1940
  });
1941
1941
  return Promise.all(s).then(() => i);
1942
1942
  }
1943
- function zt(e) {
1943
+ function Ut(e) {
1944
1944
  if (e == null)
1945
1945
  return [];
1946
1946
  const t = [], i = /(\/\*[\s\S]*?\*\/)/gi;
@@ -1971,10 +1971,10 @@ async function wn(e, t) {
1971
1971
  return e.forEach((o) => {
1972
1972
  if ("cssRules" in o)
1973
1973
  try {
1974
- Y(o.cssRules || []).forEach((s, r) => {
1974
+ Q(o.cssRules || []).forEach((s, r) => {
1975
1975
  if (s.type === CSSRule.IMPORT_RULE) {
1976
1976
  let h = r + 1;
1977
- const f = s.href, w = Ht(f).then((m) => Ut(m, t)).then((m) => zt(m).forEach((k) => {
1977
+ const f = s.href, w = Ht(f).then((m) => zt(m, t)).then((m) => Ut(m).forEach((k) => {
1978
1978
  try {
1979
1979
  o.insertRule(k, k.startsWith("@import") ? h += 1 : o.cssRules.length);
1980
1980
  } catch (T) {
@@ -1991,7 +1991,7 @@ async function wn(e, t) {
1991
1991
  });
1992
1992
  } catch (s) {
1993
1993
  const r = e.find((h) => h.href == null) || document.styleSheets[0];
1994
- o.href != null && n.push(Ht(o.href).then((h) => Ut(h, t)).then((h) => zt(h).forEach((f) => {
1994
+ o.href != null && n.push(Ht(o.href).then((h) => zt(h, t)).then((h) => Ut(h).forEach((f) => {
1995
1995
  r.insertRule(f, r.cssRules.length);
1996
1996
  })).catch((h) => {
1997
1997
  console.error("Error loading remote stylesheet", h);
@@ -2000,7 +2000,7 @@ async function wn(e, t) {
2000
2000
  }), Promise.all(n).then(() => (e.forEach((o) => {
2001
2001
  if ("cssRules" in o)
2002
2002
  try {
2003
- Y(o.cssRules || []).forEach((s) => {
2003
+ Q(o.cssRules || []).forEach((s) => {
2004
2004
  i.push(s);
2005
2005
  });
2006
2006
  } catch (s) {
@@ -2014,7 +2014,7 @@ function mn(e) {
2014
2014
  async function yn(e, t) {
2015
2015
  if (e.ownerDocument == null)
2016
2016
  throw new Error("Provided element is not within a Document");
2017
- const i = Y(e.ownerDocument.styleSheets), n = await wn(i, t);
2017
+ const i = Q(e.ownerDocument.styleSheets), n = await wn(i, t);
2018
2018
  return mn(n);
2019
2019
  }
2020
2020
  function ii(e) {
@@ -2048,10 +2048,10 @@ async function kn(e, t) {
2048
2048
  }
2049
2049
  async function Sn(e, t = {}) {
2050
2050
  const { width: i, height: n } = Yt(e, t), o = await Ue(e, t, !0);
2051
- return await kn(o, t), await ti(o, t), gn(o, t), await zi(o, i, n);
2051
+ return await kn(o, t), await ti(o, t), gn(o, t), await Ui(o, i, n);
2052
2052
  }
2053
2053
  async function Cn(e, t = {}) {
2054
- const { width: i, height: n } = Yt(e, t), o = await Sn(e, t), s = await Pe(o), r = document.createElement("canvas"), h = r.getContext("2d"), f = t.pixelRatio || Di(), w = t.canvasWidth || i, m = t.canvasHeight || n;
2054
+ const { width: i, height: n } = Yt(e, t), o = await Sn(e, t), s = await De(o), r = document.createElement("canvas"), h = r.getContext("2d"), f = t.pixelRatio || Di(), w = t.canvasWidth || i, m = t.canvasHeight || n;
2055
2055
  return r.width = w * f, r.height = m * f, t.skipAutoScale || Hi(r), r.style.width = `${w}`, r.style.height = `${m}`, t.backgroundColor && (h.fillStyle = t.backgroundColor, h.fillRect(0, 0, r.width, r.height)), h.drawImage(s, 0, 0, r.width, r.height), r;
2056
2056
  }
2057
2057
  async function En(e, t = {}) {
@@ -2147,13 +2147,13 @@ const ne = (e, t) => {
2147
2147
  const Fn = [
2148
2148
  ["path", { d: "M6 2v14a2 2 0 0 0 2 2h14", key: "ron5a4" }],
2149
2149
  ["path", { d: "M18 22V8a2 2 0 0 0-2-2H2", key: "7s9ehn" }]
2150
- ], Ln = ne("crop", Fn);
2151
- const _n = [
2150
+ ], _n = ne("crop", Fn);
2151
+ const Ln = [
2152
2152
  ["line", { x1: "4", x2: "20", y1: "9", y2: "9", key: "4lhtct" }],
2153
2153
  ["line", { x1: "4", x2: "20", y1: "15", y2: "15", key: "vyu0kd" }],
2154
2154
  ["line", { x1: "10", x2: "8", y1: "3", y2: "21", key: "1ggp8o" }],
2155
2155
  ["line", { x1: "16", x2: "14", y1: "3", y2: "21", key: "weycgp" }]
2156
- ], Bt = ne("hash", _n);
2156
+ ], Bt = ne("hash", Ln);
2157
2157
  const Pn = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], Dn = ne("loader-circle", Pn);
2158
2158
  const Hn = [
2159
2159
  [
@@ -2165,12 +2165,12 @@ const Hn = [
2165
2165
  ],
2166
2166
  ["path", { d: "M12 8v6", key: "1ib9pf" }],
2167
2167
  ["path", { d: "M9 11h6", key: "1fldmi" }]
2168
- ], Un = ne("message-square-plus", Hn);
2169
- const zn = [
2168
+ ], zn = ne("message-square-plus", Hn);
2169
+ const Un = [
2170
2170
  ["rect", { width: "20", height: "14", x: "2", y: "3", rx: "2", key: "48i651" }],
2171
2171
  ["line", { x1: "8", x2: "16", y1: "21", y2: "21", key: "1svkeh" }],
2172
2172
  ["line", { x1: "12", x2: "12", y1: "17", y2: "21", key: "vw1qmm" }]
2173
- ], $n = ne("monitor", zn);
2173
+ ], $n = ne("monitor", Un);
2174
2174
  const Bn = [
2175
2175
  ["path", { d: "M21 5H3", key: "1fi0y6" }],
2176
2176
  ["path", { d: "M15 12H3", key: "6jk70r" }],
@@ -2197,17 +2197,17 @@ const Wn = [
2197
2197
  const R = x.touches[0];
2198
2198
  h({ x: R.clientX, y: R.clientY });
2199
2199
  }
2200
- }, z = () => {
2200
+ }, U = () => {
2201
2201
  M(), document.body.style.overflow = "";
2202
2202
  }, M = () => {
2203
2203
  if (i) {
2204
2204
  n(!1);
2205
- const x = Math.min(o.x, r.x), R = Math.min(o.y, r.y), V = Math.abs(r.x - o.x), J = Math.abs(r.y - o.y);
2206
- V > 10 && J > 10 && e({
2205
+ const x = Math.min(o.x, r.x), R = Math.min(o.y, r.y), V = Math.abs(r.x - o.x), G = Math.abs(r.y - o.y);
2206
+ V > 10 && G > 10 && e({
2207
2207
  x,
2208
2208
  y: R,
2209
2209
  width: V,
2210
- height: J
2210
+ height: G
2211
2211
  });
2212
2212
  }
2213
2213
  };
@@ -2232,7 +2232,7 @@ const Wn = [
2232
2232
  onMouseUp: m,
2233
2233
  onTouchStart: k,
2234
2234
  onTouchMove: T,
2235
- onTouchEnd: z,
2235
+ onTouchEnd: U,
2236
2236
  children: [
2237
2237
  /* @__PURE__ */ b("div", { style: {
2238
2238
  position: "absolute",
@@ -2281,12 +2281,12 @@ const Wn = [
2281
2281
  onOpen: h,
2282
2282
  onClose: f
2283
2283
  }) => {
2284
- const [w, m] = E(!1), [k, T] = E(""), [z, M] = E(e), [x, R] = E(t || ""), [V, J] = E([]), [ze, $e] = E(null), [oi, ut] = E(!1), [Z, ht] = E(!1), [ft, Ee] = E(!1), [W, re] = E(null), [A, oe] = E({}), [pt, Be] = E("incorrect_content"), [si, Ve] = E(!1), We = r !== void 0 ? r : w, ai = We && !si;
2284
+ const [w, m] = E(!1), [k, T] = E(""), [U, M] = E(e), [x, R] = E(t || ""), [V, G] = E([]), [$e, Be] = E(null), [oi, ut] = E(!1), [Z, ht] = E(!1), [ft, Ee] = E(!1), [W, re] = E(null), [A, oe] = E({}), [pt, Ie] = E("incorrect_content"), [si, Ve] = E(!1), We = r !== void 0 ? r : w, ai = We && !si;
2285
2285
  pi.useEffect(() => {
2286
- We && (oe({}), M(e), R(t || ""));
2286
+ We && (oe({}), M(e), R(t || ""), G([]), T(""), Ie("incorrect_content"));
2287
2287
  }, [We, e, t]);
2288
2288
  const li = () => {
2289
- J([]), T(""), M(e), R(t || ""), Be("incorrect_content"), oe({}), r === void 0 && m(!0);
2289
+ G([]), T(""), M(e), R(t || ""), Ie("incorrect_content"), oe({}), r === void 0 && m(!0);
2290
2290
  }, bt = async (p) => {
2291
2291
  if (V.length >= 3) {
2292
2292
  alert("Bạn chỉ có thể chụp tối đa 3 ảnh.");
@@ -2303,7 +2303,7 @@ const Wn = [
2303
2303
  ut(!0);
2304
2304
  try {
2305
2305
  const I = await In(p);
2306
- I ? J((se) => [...se, I]) : alert("Không thể chụp ảnh màn hình. Vui lòng thử lại.");
2306
+ I ? G((se) => [...se, I]) : alert("Không thể chụp ảnh màn hình. Vui lòng thử lại.");
2307
2307
  } catch (I) {
2308
2308
  console.error(I);
2309
2309
  } finally {
@@ -2314,12 +2314,12 @@ const Wn = [
2314
2314
  }, di = () => {
2315
2315
  Ee(!1), Ve(!1);
2316
2316
  }, ui = (p) => {
2317
- J((I) => I.filter((se, wt) => wt !== p));
2317
+ G((I) => I.filter((se, wt) => wt !== p));
2318
2318
  }, qe = () => {
2319
- f && f(), m(!1), J([]), Ee(!1), $e(null), T(""), oe({}), Be("incorrect_content");
2319
+ f && f(), m(!1), G([]), Ee(!1), Be(null), T(""), oe({}), Ie("incorrect_content");
2320
2320
  }, hi = async () => {
2321
2321
  const p = {};
2322
- if (z ? isNaN(Number(z)) && (p.questionId = "ID câu hỏi phải là số") : p.questionId = "Vui lòng nhập ID câu hỏi", x && isNaN(Number(x)) && (p.questionIdChild = "ID câu hỏi con phải là số"), k.trim() || (p.description = "Vui lòng nhập mô tả lỗi"), Object.keys(p).length > 0) {
2322
+ if (U ? isNaN(Number(U)) && (p.questionId = "ID câu hỏi phải là số") : p.questionId = "Vui lòng nhập ID câu hỏi", x && isNaN(Number(x)) && (p.questionIdChild = "ID câu hỏi con phải là số"), k.trim() || (p.description = "Vui lòng nhập mô tả lỗi"), Object.keys(p).length > 0) {
2323
2323
  oe(p);
2324
2324
  return;
2325
2325
  }
@@ -2337,7 +2337,7 @@ const Wn = [
2337
2337
  })).json()).file_url)
2338
2338
  );
2339
2339
  await n({
2340
- idQuestion: z,
2340
+ idQuestion: U,
2341
2341
  idChildQuestion: x,
2342
2342
  errorType: pt,
2343
2343
  errorDescription: k,
@@ -2395,9 +2395,14 @@ const Wn = [
2395
2395
  height: 44px !important;
2396
2396
  }
2397
2397
  }
2398
+ @media (max-width: 767px) {
2399
+ .fb-btn-crop {
2400
+ display: none !important;
2401
+ }
2402
+ }
2398
2403
  ` }),
2399
2404
  ft && /* @__PURE__ */ b(qn, { onConfirm: ci, onCancel: di }),
2400
- ze && /* @__PURE__ */ b(
2405
+ $e && /* @__PURE__ */ b(
2401
2406
  "div",
2402
2407
  {
2403
2408
  style: {
@@ -2412,11 +2417,11 @@ const Wn = [
2412
2417
  animation: "fb-fade-in 0.2s ease-out",
2413
2418
  backdropFilter: "blur(4px)"
2414
2419
  },
2415
- onClick: () => $e(null),
2420
+ onClick: () => Be(null),
2416
2421
  children: /* @__PURE__ */ b(
2417
2422
  "img",
2418
2423
  {
2419
- src: ze,
2424
+ src: $e,
2420
2425
  alt: "Zoomed",
2421
2426
  draggable: !1,
2422
2427
  onContextMenu: (p) => p.preventDefault(),
@@ -2461,11 +2466,11 @@ const Wn = [
2461
2466
  title: "Báo lỗi",
2462
2467
  onMouseEnter: (p) => p.currentTarget.style.transform = "scale(1.1)",
2463
2468
  onMouseLeave: (p) => p.currentTarget.style.transform = "scale(1)",
2464
- children: /* @__PURE__ */ b(Un, { size: 24 })
2469
+ children: /* @__PURE__ */ b(zn, { size: 24 })
2465
2470
  }
2466
2471
  ) }),
2467
2472
  oi && /* @__PURE__ */ b("div", { style: { position: "fixed", top: 20, right: 20, background: "rgba(0,0,0,0.8)", color: "white", padding: "8px 12px", borderRadius: "8px", zIndex: 1e4, fontWeight: 500, backdropFilter: "blur(4px)", fontSize: "0.8rem" }, children: "Đang chụp..." }),
2468
- ai && !ft && !ze && /* @__PURE__ */ v("div", { className: "fb-widget-modal", children: [
2473
+ ai && !ft && !$e && /* @__PURE__ */ v("div", { className: "fb-widget-modal", children: [
2469
2474
  /* @__PURE__ */ v("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
2470
2475
  /* @__PURE__ */ b("h2", { style: { margin: 0, fontSize: "1rem", fontWeight: 700, color: "#111827" }, children: "Báo lỗi" }),
2471
2476
  /* @__PURE__ */ b(
@@ -2513,7 +2518,7 @@ const Wn = [
2513
2518
  "input",
2514
2519
  {
2515
2520
  type: "text",
2516
- value: z,
2521
+ value: U,
2517
2522
  onFocus: () => re("id"),
2518
2523
  onBlur: () => re(null),
2519
2524
  onChange: (p) => {
@@ -2591,7 +2596,7 @@ const Wn = [
2591
2596
  "select",
2592
2597
  {
2593
2598
  value: pt,
2594
- onChange: (p) => Be(p.target.value),
2599
+ onChange: (p) => Ie(p.target.value),
2595
2600
  style: {
2596
2601
  width: "100%",
2597
2602
  padding: "6px 10px",
@@ -2619,9 +2624,15 @@ const Wn = [
2619
2624
  )
2620
2625
  ] }),
2621
2626
  /* @__PURE__ */ v("div", { children: [
2622
- /* @__PURE__ */ v("label", { style: { display: "block", marginBottom: "2px", fontSize: "0.8rem", fontWeight: 600, color: "#374151" }, children: [
2623
- " tả lỗi ",
2624
- /* @__PURE__ */ b("span", { style: { color: "#ef4444" }, children: "*" })
2627
+ /* @__PURE__ */ v("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center", marginBottom: "2px" }, children: [
2628
+ /* @__PURE__ */ v("label", { style: { fontSize: "0.8rem", fontWeight: 600, color: "#374151" }, children: [
2629
+ " tả lỗi ",
2630
+ /* @__PURE__ */ b("span", { style: { color: "#ef4444" }, children: "*" })
2631
+ ] }),
2632
+ /* @__PURE__ */ v("span", { style: { fontSize: "0.7rem", color: "#9ca3af" }, children: [
2633
+ k.length,
2634
+ "/1000"
2635
+ ] })
2625
2636
  ] }),
2626
2637
  /* @__PURE__ */ v("div", { style: { position: "relative" }, children: [
2627
2638
  /* @__PURE__ */ b("div", { style: {
@@ -2697,7 +2708,7 @@ const Wn = [
2697
2708
  userSelect: "none",
2698
2709
  WebkitUserSelect: "none"
2699
2710
  },
2700
- onClick: () => $e(p)
2711
+ onClick: () => Be(p)
2701
2712
  }
2702
2713
  ),
2703
2714
  /* @__PURE__ */ b(
@@ -2762,6 +2773,7 @@ const Wn = [
2762
2773
  "button",
2763
2774
  {
2764
2775
  onClick: () => bt("crop"),
2776
+ className: "fb-btn-crop",
2765
2777
  style: {
2766
2778
  flex: 1,
2767
2779
  padding: "12px",
@@ -2784,7 +2796,7 @@ const Wn = [
2784
2796
  p.currentTarget.style.borderColor = "#d1d5db", p.currentTarget.style.color = "#4b5563", p.currentTarget.style.backgroundColor = "white";
2785
2797
  },
2786
2798
  children: [
2787
- /* @__PURE__ */ b(Ln, { size: 18 }),
2799
+ /* @__PURE__ */ b(_n, { size: 18 }),
2788
2800
  /* @__PURE__ */ b("span", { style: { fontSize: "0.8rem", fontWeight: 500 }, children: "Chọn vùng" })
2789
2801
  ]
2790
2802
  }
@@ -2852,8 +2864,8 @@ const Wn = [
2852
2864
  onSubmit: t,
2853
2865
  themeColor: i
2854
2866
  }) => {
2855
- const [n, o] = E(!1), [s, r] = E(null), [h, f] = E(""), [w, m] = E(void 0), k = (z, M, x) => {
2856
- r(z), f(M || ""), m(x), o(!0);
2867
+ const [n, o] = E(!1), [s, r] = E(null), [h, f] = E(""), [w, m] = E(void 0), k = (U, M, x) => {
2868
+ r(U), f(M || ""), m(x), o(!0);
2857
2869
  }, T = () => {
2858
2870
  o(!1);
2859
2871
  };