@yoast/ai-insights-client 1.4.33 → 1.4.34
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.
|
@@ -4557,7 +4557,7 @@ function wS(e, t, n, r) {
|
|
|
4557
4557
|
function xS(e, t, n) {
|
|
4558
4558
|
is(e) || (n ? e.setAttribute(t, "") : e.removeAttribute(t));
|
|
4559
4559
|
}
|
|
4560
|
-
function
|
|
4560
|
+
function te(e, t) {
|
|
4561
4561
|
is(e) || (t == null ? e.removeAttribute("class") : e.className = t);
|
|
4562
4562
|
}
|
|
4563
4563
|
function Ev(e, t, n, r) {
|
|
@@ -4663,7 +4663,7 @@ function S0(e, t, n, r, i, s, o) {
|
|
|
4663
4663
|
if (d)
|
|
4664
4664
|
t = t.slice(5), l = !0;
|
|
4665
4665
|
else if (is(e)) return n;
|
|
4666
|
-
t === "class" || t === "className" ?
|
|
4666
|
+
t === "class" || t === "className" ? te(e, n) : a && !l && !c ? e[OS(t)] = n : e[u || t] = n;
|
|
4667
4667
|
} else {
|
|
4668
4668
|
const f = i && t.indexOf(":") > -1 && pS[t.split(":")[0]];
|
|
4669
4669
|
f ? wS(e, f, t, n) : J(e, fS[t] || t, n);
|
|
@@ -10300,7 +10300,7 @@ function g8() {
|
|
|
10300
10300
|
function le(z) {
|
|
10301
10301
|
return C(z) === r;
|
|
10302
10302
|
}
|
|
10303
|
-
function
|
|
10303
|
+
function ne(z) {
|
|
10304
10304
|
return C(z) === g;
|
|
10305
10305
|
}
|
|
10306
10306
|
function ye(z) {
|
|
@@ -10312,13 +10312,13 @@ function g8() {
|
|
|
10312
10312
|
function xe(z) {
|
|
10313
10313
|
return C(z) === s;
|
|
10314
10314
|
}
|
|
10315
|
-
function
|
|
10315
|
+
function ee(z) {
|
|
10316
10316
|
return C(z) === i;
|
|
10317
10317
|
}
|
|
10318
10318
|
function ue(z) {
|
|
10319
10319
|
return C(z) === d;
|
|
10320
10320
|
}
|
|
10321
|
-
We.AsyncMode = w, We.ConcurrentMode = k, We.ContextConsumer = x, We.ContextProvider = _, We.Element = O, We.ForwardRef = E, We.Fragment = M, We.Lazy = $, We.Memo = j, We.Portal = N, We.Profiler = A, We.StrictMode = P, We.Suspense = R, We.isAsyncMode = Y, We.isConcurrentMode = B, We.isContextConsumer = V, We.isContextProvider = re, We.isElement = se, We.isForwardRef = F, We.isFragment = le, We.isLazy =
|
|
10321
|
+
We.AsyncMode = w, We.ConcurrentMode = k, We.ContextConsumer = x, We.ContextProvider = _, We.Element = O, We.ForwardRef = E, We.Fragment = M, We.Lazy = $, We.Memo = j, We.Portal = N, We.Profiler = A, We.StrictMode = P, We.Suspense = R, We.isAsyncMode = Y, We.isConcurrentMode = B, We.isContextConsumer = V, We.isContextProvider = re, We.isElement = se, We.isForwardRef = F, We.isFragment = le, We.isLazy = ne, We.isMemo = ye, We.isPortal = Z, We.isProfiler = xe, We.isStrictMode = ee, We.isSuspense = ue, We.isValidElementType = S, We.typeOf = C;
|
|
10322
10322
|
}()), We;
|
|
10323
10323
|
}
|
|
10324
10324
|
var pg;
|
|
@@ -10491,8 +10491,8 @@ function p8() {
|
|
|
10491
10491
|
function m(B) {
|
|
10492
10492
|
if (process.env.NODE_ENV !== "production")
|
|
10493
10493
|
var V = {}, re = 0;
|
|
10494
|
-
function se(le,
|
|
10495
|
-
if (Z = Z || f,
|
|
10494
|
+
function se(le, ne, ye, Z, xe, ee, ue) {
|
|
10495
|
+
if (Z = Z || f, ee = ee || ye, ue !== n) {
|
|
10496
10496
|
if (l) {
|
|
10497
10497
|
var z = new Error(
|
|
10498
10498
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -10502,22 +10502,22 @@ function p8() {
|
|
|
10502
10502
|
var fe = Z + ":" + ye;
|
|
10503
10503
|
!V[fe] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
10504
10504
|
re < 3 && (s(
|
|
10505
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
10505
|
+
"You are manually calling a React.PropTypes validation function for the `" + ee + "` prop on `" + Z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
10506
10506
|
), V[fe] = !0, re++);
|
|
10507
10507
|
}
|
|
10508
10508
|
}
|
|
10509
|
-
return
|
|
10509
|
+
return ne[ye] == null ? le ? ne[ye] === null ? new y("The " + xe + " `" + ee + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new y("The " + xe + " `" + ee + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : B(ne, ye, Z, xe, ee);
|
|
10510
10510
|
}
|
|
10511
10511
|
var F = se.bind(null, !1);
|
|
10512
10512
|
return F.isRequired = se.bind(null, !0), F;
|
|
10513
10513
|
}
|
|
10514
10514
|
function p(B) {
|
|
10515
|
-
function V(re, se, F, le,
|
|
10515
|
+
function V(re, se, F, le, ne, ye) {
|
|
10516
10516
|
var Z = re[se], xe = P(Z);
|
|
10517
10517
|
if (xe !== B) {
|
|
10518
|
-
var
|
|
10518
|
+
var ee = R(Z);
|
|
10519
10519
|
return new y(
|
|
10520
|
-
"Invalid " + le + " `" +
|
|
10520
|
+
"Invalid " + le + " `" + ne + "` of type " + ("`" + ee + "` supplied to `" + F + "`, expected ") + ("`" + B + "`."),
|
|
10521
10521
|
{ expectedType: B }
|
|
10522
10522
|
);
|
|
10523
10523
|
}
|
|
@@ -10529,18 +10529,18 @@ function p8() {
|
|
|
10529
10529
|
return m(o);
|
|
10530
10530
|
}
|
|
10531
10531
|
function S(B) {
|
|
10532
|
-
function V(re, se, F, le,
|
|
10532
|
+
function V(re, se, F, le, ne) {
|
|
10533
10533
|
if (typeof B != "function")
|
|
10534
|
-
return new y("Property `" +
|
|
10534
|
+
return new y("Property `" + ne + "` of component `" + F + "` has invalid PropType notation inside arrayOf.");
|
|
10535
10535
|
var ye = re[se];
|
|
10536
10536
|
if (!Array.isArray(ye)) {
|
|
10537
10537
|
var Z = P(ye);
|
|
10538
|
-
return new y("Invalid " + le + " `" +
|
|
10538
|
+
return new y("Invalid " + le + " `" + ne + "` of type " + ("`" + Z + "` supplied to `" + F + "`, expected an array."));
|
|
10539
10539
|
}
|
|
10540
10540
|
for (var xe = 0; xe < ye.length; xe++) {
|
|
10541
|
-
var
|
|
10542
|
-
if (
|
|
10543
|
-
return
|
|
10541
|
+
var ee = B(ye, xe, F, le, ne + "[" + xe + "]", n);
|
|
10542
|
+
if (ee instanceof Error)
|
|
10543
|
+
return ee;
|
|
10544
10544
|
}
|
|
10545
10545
|
return null;
|
|
10546
10546
|
}
|
|
@@ -10548,9 +10548,9 @@ function p8() {
|
|
|
10548
10548
|
}
|
|
10549
10549
|
function C() {
|
|
10550
10550
|
function B(V, re, se, F, le) {
|
|
10551
|
-
var
|
|
10552
|
-
if (!a(
|
|
10553
|
-
var ye = P(
|
|
10551
|
+
var ne = V[re];
|
|
10552
|
+
if (!a(ne)) {
|
|
10553
|
+
var ye = P(ne);
|
|
10554
10554
|
return new y("Invalid " + F + " `" + le + "` of type " + ("`" + ye + "` supplied to `" + se + "`, expected a single ReactElement."));
|
|
10555
10555
|
}
|
|
10556
10556
|
return null;
|
|
@@ -10559,9 +10559,9 @@ function p8() {
|
|
|
10559
10559
|
}
|
|
10560
10560
|
function w() {
|
|
10561
10561
|
function B(V, re, se, F, le) {
|
|
10562
|
-
var
|
|
10563
|
-
if (!e.isValidElementType(
|
|
10564
|
-
var ye = P(
|
|
10562
|
+
var ne = V[re];
|
|
10563
|
+
if (!e.isValidElementType(ne)) {
|
|
10564
|
+
var ye = P(ne);
|
|
10565
10565
|
return new y("Invalid " + F + " `" + le + "` of type " + ("`" + ye + "` supplied to `" + se + "`, expected a single ReactElement type."));
|
|
10566
10566
|
}
|
|
10567
10567
|
return null;
|
|
@@ -10569,10 +10569,10 @@ function p8() {
|
|
|
10569
10569
|
return m(B);
|
|
10570
10570
|
}
|
|
10571
10571
|
function k(B) {
|
|
10572
|
-
function V(re, se, F, le,
|
|
10572
|
+
function V(re, se, F, le, ne) {
|
|
10573
10573
|
if (!(re[se] instanceof B)) {
|
|
10574
10574
|
var ye = B.name || f, Z = Y(re[se]);
|
|
10575
|
-
return new y("Invalid " + le + " `" +
|
|
10575
|
+
return new y("Invalid " + le + " `" + ne + "` of type " + ("`" + Z + "` supplied to `" + F + "`, expected ") + ("instance of `" + ye + "`."));
|
|
10576
10576
|
}
|
|
10577
10577
|
return null;
|
|
10578
10578
|
}
|
|
@@ -10583,7 +10583,7 @@ function p8() {
|
|
|
10583
10583
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
|
|
10584
10584
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
10585
10585
|
) : s("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
10586
|
-
function V(re, se, F, le,
|
|
10586
|
+
function V(re, se, F, le, ne) {
|
|
10587
10587
|
for (var ye = re[se], Z = 0; Z < B.length; Z++)
|
|
10588
10588
|
if (g(ye, B[Z]))
|
|
10589
10589
|
return null;
|
|
@@ -10591,22 +10591,22 @@ function p8() {
|
|
|
10591
10591
|
var fe = R(z);
|
|
10592
10592
|
return fe === "symbol" ? String(z) : z;
|
|
10593
10593
|
});
|
|
10594
|
-
return new y("Invalid " + le + " `" +
|
|
10594
|
+
return new y("Invalid " + le + " `" + ne + "` of value `" + String(ye) + "` " + ("supplied to `" + F + "`, expected one of " + xe + "."));
|
|
10595
10595
|
}
|
|
10596
10596
|
return m(V);
|
|
10597
10597
|
}
|
|
10598
10598
|
function _(B) {
|
|
10599
|
-
function V(re, se, F, le,
|
|
10599
|
+
function V(re, se, F, le, ne) {
|
|
10600
10600
|
if (typeof B != "function")
|
|
10601
|
-
return new y("Property `" +
|
|
10601
|
+
return new y("Property `" + ne + "` of component `" + F + "` has invalid PropType notation inside objectOf.");
|
|
10602
10602
|
var ye = re[se], Z = P(ye);
|
|
10603
10603
|
if (Z !== "object")
|
|
10604
|
-
return new y("Invalid " + le + " `" +
|
|
10604
|
+
return new y("Invalid " + le + " `" + ne + "` of type " + ("`" + Z + "` supplied to `" + F + "`, expected an object."));
|
|
10605
10605
|
for (var xe in ye)
|
|
10606
10606
|
if (r(ye, xe)) {
|
|
10607
|
-
var
|
|
10608
|
-
if (
|
|
10609
|
-
return
|
|
10607
|
+
var ee = B(ye, xe, F, le, ne + "." + xe, n);
|
|
10608
|
+
if (ee instanceof Error)
|
|
10609
|
+
return ee;
|
|
10610
10610
|
}
|
|
10611
10611
|
return null;
|
|
10612
10612
|
}
|
|
@@ -10622,15 +10622,15 @@ function p8() {
|
|
|
10622
10622
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + U(re) + " at index " + V + "."
|
|
10623
10623
|
), o;
|
|
10624
10624
|
}
|
|
10625
|
-
function se(F, le,
|
|
10626
|
-
for (var xe = [],
|
|
10627
|
-
var ue = B[
|
|
10625
|
+
function se(F, le, ne, ye, Z) {
|
|
10626
|
+
for (var xe = [], ee = 0; ee < B.length; ee++) {
|
|
10627
|
+
var ue = B[ee], z = ue(F, le, ne, ye, Z, n);
|
|
10628
10628
|
if (z == null)
|
|
10629
10629
|
return null;
|
|
10630
10630
|
z.data && r(z.data, "expectedType") && xe.push(z.data.expectedType);
|
|
10631
10631
|
}
|
|
10632
10632
|
var fe = xe.length > 0 ? ", expected one of type [" + xe.join(", ") + "]" : "";
|
|
10633
|
-
return new y("Invalid " + ye + " `" + Z + "` supplied to " + ("`" +
|
|
10633
|
+
return new y("Invalid " + ye + " `" + Z + "` supplied to " + ("`" + ne + "`" + fe + "."));
|
|
10634
10634
|
}
|
|
10635
10635
|
return m(se);
|
|
10636
10636
|
}
|
|
@@ -10646,15 +10646,15 @@ function p8() {
|
|
|
10646
10646
|
);
|
|
10647
10647
|
}
|
|
10648
10648
|
function $(B) {
|
|
10649
|
-
function V(re, se, F, le,
|
|
10649
|
+
function V(re, se, F, le, ne) {
|
|
10650
10650
|
var ye = re[se], Z = P(ye);
|
|
10651
10651
|
if (Z !== "object")
|
|
10652
|
-
return new y("Invalid " + le + " `" +
|
|
10652
|
+
return new y("Invalid " + le + " `" + ne + "` of type `" + Z + "` " + ("supplied to `" + F + "`, expected `object`."));
|
|
10653
10653
|
for (var xe in B) {
|
|
10654
|
-
var
|
|
10655
|
-
if (typeof
|
|
10656
|
-
return M(F, le,
|
|
10657
|
-
var ue =
|
|
10654
|
+
var ee = B[xe];
|
|
10655
|
+
if (typeof ee != "function")
|
|
10656
|
+
return M(F, le, ne, xe, R(ee));
|
|
10657
|
+
var ue = ee(ye, xe, F, le, ne + "." + xe, n);
|
|
10658
10658
|
if (ue)
|
|
10659
10659
|
return ue;
|
|
10660
10660
|
}
|
|
@@ -10663,21 +10663,21 @@ function p8() {
|
|
|
10663
10663
|
return m(V);
|
|
10664
10664
|
}
|
|
10665
10665
|
function j(B) {
|
|
10666
|
-
function V(re, se, F, le,
|
|
10666
|
+
function V(re, se, F, le, ne) {
|
|
10667
10667
|
var ye = re[se], Z = P(ye);
|
|
10668
10668
|
if (Z !== "object")
|
|
10669
|
-
return new y("Invalid " + le + " `" +
|
|
10669
|
+
return new y("Invalid " + le + " `" + ne + "` of type `" + Z + "` " + ("supplied to `" + F + "`, expected `object`."));
|
|
10670
10670
|
var xe = t({}, re[se], B);
|
|
10671
|
-
for (var
|
|
10672
|
-
var ue = B[
|
|
10673
|
-
if (r(B,
|
|
10674
|
-
return M(F, le,
|
|
10671
|
+
for (var ee in xe) {
|
|
10672
|
+
var ue = B[ee];
|
|
10673
|
+
if (r(B, ee) && typeof ue != "function")
|
|
10674
|
+
return M(F, le, ne, ee, R(ue));
|
|
10675
10675
|
if (!ue)
|
|
10676
10676
|
return new y(
|
|
10677
|
-
"Invalid " + le + " `" +
|
|
10677
|
+
"Invalid " + le + " `" + ne + "` key `" + ee + "` supplied to `" + F + "`.\nBad object: " + JSON.stringify(re[se], null, " ") + `
|
|
10678
10678
|
Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
10679
10679
|
);
|
|
10680
|
-
var z = ue(ye,
|
|
10680
|
+
var z = ue(ye, ee, F, le, ne + "." + ee, n);
|
|
10681
10681
|
if (z)
|
|
10682
10682
|
return z;
|
|
10683
10683
|
}
|
|
@@ -12809,9 +12809,9 @@ var Xu = al(Ig || (Ig = J7(["yst-flex-1 yst-space-y-2"]))), e9 = function(t) {
|
|
|
12809
12809
|
}, [R, N, P, l, y, x, E == null ? void 0 : E.length]);
|
|
12810
12810
|
var V = Ee(!1), re = Rg(V, 2), se = re[0], F = re[1], le = function() {
|
|
12811
12811
|
F(!1);
|
|
12812
|
-
},
|
|
12812
|
+
}, ne = x == null ? void 0 : x.find(function(Oe) {
|
|
12813
12813
|
return String(Oe.id) === String(l);
|
|
12814
|
-
}), ye = j == null || (n = j.analysis) === null || n === void 0 ? void 0 : n.id, Z = l != null && typeof ye == "number" && !isNaN(ye), xe = Ee(!1),
|
|
12814
|
+
}), ye = j == null || (n = j.analysis) === null || n === void 0 ? void 0 : n.id, Z = l != null && typeof ye == "number" && !isNaN(ye), xe = Ee(!1), ee = Rg(xe, 2), ue = ee[0], z = ee[1];
|
|
12815
12815
|
ac.useEffect(function() {
|
|
12816
12816
|
if (Z) {
|
|
12817
12817
|
var Oe = "yst_legal_alert_dismissed_".concat(l, "_").concat(ye);
|
|
@@ -13001,7 +13001,7 @@ var Xu = al(Ig || (Ig = J7(["yst-flex-1 yst-space-y-2"]))), e9 = function(t) {
|
|
|
13001
13001
|
he && /* @__PURE__ */ v(On, { variant: "info", className: "yst-mb-6", children: /* @__PURE__ */ v("div", { className: "yst-flex yst-items-start yst-gap-3", children: /* @__PURE__ */ D("div", { className: "yst-flex-1", children: [
|
|
13002
13002
|
/* @__PURE__ */ v("h3", { className: "yst-mb-2 yst-font-medium yst-text-blue-800", children: "No analyses scheduled" }),
|
|
13003
13003
|
/* @__PURE__ */ D("p", { className: "yst-text-bluer-700 yst-mb-0", children: [
|
|
13004
|
-
/* @__PURE__ */ v("span", { className: "yst-font-medium yst-text-blue-900", children:
|
|
13004
|
+
/* @__PURE__ */ v("span", { className: "yst-font-medium yst-text-blue-900", children: ne == null ? void 0 : ne.name }),
|
|
13005
13005
|
" ",
|
|
13006
13006
|
"has not been analyzed yet, and no analyses are scheduled because this brand is set to inactive in your",
|
|
13007
13007
|
" ",
|
|
@@ -13013,7 +13013,7 @@ var Xu = al(Ig || (Ig = J7(["yst-flex-1 yst-space-y-2"]))), e9 = function(t) {
|
|
|
13013
13013
|
"."
|
|
13014
13014
|
] })
|
|
13015
13015
|
] }) }) }),
|
|
13016
|
-
|
|
13016
|
+
ne && /* @__PURE__ */ v(f8, { brand: ne }, ne.id)
|
|
13017
13017
|
] });
|
|
13018
13018
|
}, t9 = function() {
|
|
13019
13019
|
var t, n, r, i = os(), s = i.data, o = i.isLoading, a = i.isRefetching, l = s == null ? void 0 : s.mentions;
|
|
@@ -17071,7 +17071,7 @@ class bo extends as {
|
|
|
17071
17071
|
}
|
|
17072
17072
|
const N = Be(i.ticks.maxTicksLimit, d), A = Math.max(1, Math.ceil(d / N));
|
|
17073
17073
|
for (S = 0; S < d; S += A) {
|
|
17074
|
-
const P = this.getContext(S), R = s.setContext(P), U = a.setContext(P), Y = R.lineWidth, B = R.color, V = U.dash || [], re = U.dashOffset, se = R.tickWidth, F = R.tickColor, le = R.tickBorderDash || [],
|
|
17074
|
+
const P = this.getContext(S), R = s.setContext(P), U = a.setContext(P), Y = R.lineWidth, B = R.color, V = U.dash || [], re = U.dashOffset, se = R.tickWidth, F = R.tickColor, le = R.tickBorderDash || [], ne = R.tickBorderDashOffset;
|
|
17075
17075
|
C = GO(this, S, l), C !== void 0 && (w = xi(r, C, Y), c ? k = _ = E = $ = w : x = O = M = j = w, h.push({
|
|
17076
17076
|
tx1: k,
|
|
17077
17077
|
ty1: x,
|
|
@@ -17088,7 +17088,7 @@ class bo extends as {
|
|
|
17088
17088
|
tickWidth: se,
|
|
17089
17089
|
tickColor: F,
|
|
17090
17090
|
tickBorderDash: le,
|
|
17091
|
-
tickBorderDashOffset:
|
|
17091
|
+
tickBorderDashOffset: ne
|
|
17092
17092
|
}));
|
|
17093
17093
|
}
|
|
17094
17094
|
return this._ticksLength = d, this._borderValue = b, h;
|
|
@@ -17135,7 +17135,7 @@ class bo extends as {
|
|
|
17135
17135
|
let V;
|
|
17136
17136
|
if (A.showLabelBackdrop) {
|
|
17137
17137
|
const re = Ft(A.backdropPadding), se = N.heights[p], F = N.widths[p];
|
|
17138
|
-
let le = $ - re.top,
|
|
17138
|
+
let le = $ - re.top, ne = 0 - re.left;
|
|
17139
17139
|
switch (j) {
|
|
17140
17140
|
case "middle":
|
|
17141
17141
|
le -= se / 2;
|
|
@@ -17146,17 +17146,17 @@ class bo extends as {
|
|
|
17146
17146
|
}
|
|
17147
17147
|
switch (x) {
|
|
17148
17148
|
case "center":
|
|
17149
|
-
|
|
17149
|
+
ne -= F / 2;
|
|
17150
17150
|
break;
|
|
17151
17151
|
case "right":
|
|
17152
|
-
|
|
17152
|
+
ne -= F;
|
|
17153
17153
|
break;
|
|
17154
17154
|
case "inner":
|
|
17155
|
-
p === b - 1 ?
|
|
17155
|
+
p === b - 1 ? ne -= F : p > 0 && (ne -= F / 2);
|
|
17156
17156
|
break;
|
|
17157
17157
|
}
|
|
17158
17158
|
V = {
|
|
17159
|
-
left:
|
|
17159
|
+
left: ne,
|
|
17160
17160
|
top: le,
|
|
17161
17161
|
width: F + re.width,
|
|
17162
17162
|
height: se + re.height,
|
|
@@ -21125,7 +21125,7 @@ function eP() {
|
|
|
21125
21125
|
return ((Xe = Re.brand) === null || Xe === void 0 ? void 0 : Xe.isSelf) === !0;
|
|
21126
21126
|
}), se = (d = re == null || (f = re.rank) === null || f === void 0 ? void 0 : f.value) !== null && d !== void 0 ? d : "—", F = re == null || (h = re.rank) === null || h === void 0 || (h = h.previous) === null || h === void 0 ? void 0 : h.difference;
|
|
21127
21127
|
F && (F = F * -1);
|
|
21128
|
-
var le = (g = P == null || (y = P.visibility) === null || y === void 0 ? void 0 : y.value) !== null && g !== void 0 ? g : 0,
|
|
21128
|
+
var le = (g = P == null || (y = P.visibility) === null || y === void 0 ? void 0 : y.value) !== null && g !== void 0 ? g : 0, ne = P == null || (m = P.visibility) === null || m === void 0 || (m = m.previous) === null || m === void 0 ? void 0 : m.value, ye = (p = P == null || (b = P.ranking) === null || b === void 0 ? void 0 : b.value) !== null && p !== void 0 ? p : 0, Z = (S = P == null || (C = P.sentiment) === null || C === void 0 ? void 0 : C.value) !== null && S !== void 0 ? S : 0, xe = (w = P == null || (k = P.mentions) === null || k === void 0 ? void 0 : k.value) !== null && w !== void 0 ? w : 0, ee = {
|
|
21129
21129
|
labels: ["Mentions", "Ranking", "Citations", "Sentiment"],
|
|
21130
21130
|
datasets: [{
|
|
21131
21131
|
data: [xe, ye, Y, Z],
|
|
@@ -21172,10 +21172,10 @@ function eP() {
|
|
|
21172
21172
|
}, []), /* @__PURE__ */ v(vt, { className: "yst-overflow-visible md:yst-col-span-2", children: /* @__PURE__ */ D(vt.Content, { children: [
|
|
21173
21173
|
/* @__PURE__ */ v(Et, { size: "3", className: "yst-mb-2", children: "AI visibility index (AIVI)" }),
|
|
21174
21174
|
/* @__PURE__ */ v(sl, { score: le, total: 100, isLoading: j }),
|
|
21175
|
-
/* @__PURE__ */ v(GA, { current: le, previous:
|
|
21175
|
+
/* @__PURE__ */ v(GA, { current: le, previous: ne, className: "yst-mb-4" }),
|
|
21176
21176
|
/* @__PURE__ */ D("div", { className: "yst-flex yst-flex-col yst-items-center yst-justify-around yst-justify-items-center yst-gap-8 md:yst-flex-row", children: [
|
|
21177
21177
|
/* @__PURE__ */ D("div", { className: "yst-radar-chart-container yst-relative yst-aspect-square yst-h-full yst-w-full md:yst-flex md:yst-w-1/2 md:yst-items-center md:yst-justify-center", children: [
|
|
21178
|
-
/* @__PURE__ */ v(RA, { data:
|
|
21178
|
+
/* @__PURE__ */ v(RA, { data: ee, options: ue }),
|
|
21179
21179
|
/* @__PURE__ */ v(nh, { id: "tooltip-radar-chart", className: "yst-absolute yst-right-2 yst-top-2", position: "left", children: "The AI Visibility Index (AIVI) shows how visible your brand is across major AI platforms like ChatGPT, based on mentions, citations, sentiment, and rankings." })
|
|
21180
21180
|
] }),
|
|
21181
21181
|
/* @__PURE__ */ v("div", { className: "yst-mt-6 yst-w-full md:yst-mt-0 md:yst-flex md:yst-w-1/2 md:yst-items-center", children: /* @__PURE__ */ D(HA, { children: [
|
|
@@ -26945,10 +26945,10 @@ function cw(e) {
|
|
|
26945
26945
|
}, B = () => {
|
|
26946
26946
|
s != null ? setTimeout(() => Y()) : Y();
|
|
26947
26947
|
}, V = (Z) => {
|
|
26948
|
-
O((
|
|
26948
|
+
O((ee) => [...ee, Z]);
|
|
26949
26949
|
const xe = r == null ? void 0 : r.registerNestedMenu(Z);
|
|
26950
26950
|
return () => {
|
|
26951
|
-
O((
|
|
26951
|
+
O((ee) => Cf(ee, Z)), xe == null || xe();
|
|
26952
26952
|
};
|
|
26953
26953
|
}, re = (Z) => d === (u == null ? void 0 : u.side) && B$(Z, u == null ? void 0 : u.area), se = (Z) => {
|
|
26954
26954
|
re(Z) && Z.preventDefault();
|
|
@@ -27652,8 +27652,8 @@ function $D() {
|
|
|
27652
27652
|
function Vm() {
|
|
27653
27653
|
const e = Dn();
|
|
27654
27654
|
return (() => {
|
|
27655
|
-
var t = fD(), n = t.firstChild, r = n.nextSibling, i = r.nextSibling, s = i.firstChild, o = i.nextSibling, a = o.firstChild, l = o.nextSibling, c = l.nextSibling, u = c.firstChild, d = c.nextSibling, f = d.firstChild, h = d.nextSibling, g = h.nextSibling, y = g.firstChild, m = g.nextSibling, p = m.firstChild, b = m.nextSibling, S = b.nextSibling, C = S.firstChild, w = S.nextSibling, k = w.firstChild, x = w.nextSibling, _ = x.nextSibling, O = _.firstChild, E = _.nextSibling, M = E.firstChild, $ = E.nextSibling, j = $.nextSibling, N = j.firstChild, A = j.nextSibling, P = A.firstChild, R = A.nextSibling, U = R.nextSibling, Y = U.firstChild, B = U.nextSibling, V = B.firstChild, re = B.nextSibling, se = re.firstChild, F = se.nextSibling, le = F.nextSibling,
|
|
27656
|
-
return J(n, "id", `a-${e}`), J(r, "fill", `url(#a-${e})`), J(s, "id", `am-${e}`), J(o, "id", `b-${e}`), J(a, "filter", `url(#am-${e})`), J(l, "mask", `url(#b-${e})`), J(u, "id", `ah-${e}`), J(d, "id", `k-${e}`), J(f, "filter", `url(#ah-${e})`), J(h, "mask", `url(#k-${e})`), J(y, "id", `ae-${e}`), J(m, "id", `j-${e}`), J(p, "filter", `url(#ae-${e})`), J(b, "mask", `url(#j-${e})`), J(C, "id", `ai-${e}`), J(w, "id", `i-${e}`), J(k, "filter", `url(#ai-${e})`), J(x, "mask", `url(#i-${e})`), J(O, "id", `aj-${e}`), J(E, "id", `h-${e}`), J(M, "filter", `url(#aj-${e})`), J($, "mask", `url(#h-${e})`), J(N, "id", `ag-${e}`), J(A, "id", `g-${e}`), J(P, "filter", `url(#ag-${e})`), J(R, "mask", `url(#g-${e})`), J(Y, "id", `af-${e}`), J(B, "id", `f-${e}`), J(V, "filter", `url(#af-${e})`), J(re, "mask", `url(#f-${e})`), J(
|
|
27655
|
+
var t = fD(), n = t.firstChild, r = n.nextSibling, i = r.nextSibling, s = i.firstChild, o = i.nextSibling, a = o.firstChild, l = o.nextSibling, c = l.nextSibling, u = c.firstChild, d = c.nextSibling, f = d.firstChild, h = d.nextSibling, g = h.nextSibling, y = g.firstChild, m = g.nextSibling, p = m.firstChild, b = m.nextSibling, S = b.nextSibling, C = S.firstChild, w = S.nextSibling, k = w.firstChild, x = w.nextSibling, _ = x.nextSibling, O = _.firstChild, E = _.nextSibling, M = E.firstChild, $ = E.nextSibling, j = $.nextSibling, N = j.firstChild, A = j.nextSibling, P = A.firstChild, R = A.nextSibling, U = R.nextSibling, Y = U.firstChild, B = U.nextSibling, V = B.firstChild, re = B.nextSibling, se = re.firstChild, F = se.nextSibling, le = F.nextSibling, ne = le.nextSibling, ye = ne.nextSibling, Z = re.nextSibling, xe = Z.firstChild, ee = Z.nextSibling, ue = ee.firstChild, z = ee.nextSibling, fe = z.firstChild, Le = fe.nextSibling, st = Le.nextSibling, Re = st.firstChild, Xe = Re.nextSibling, W = Xe.nextSibling, De = W.nextSibling, yt = De.nextSibling, je = yt.nextSibling, Ne = je.nextSibling, de = Ne.nextSibling, me = de.nextSibling, he = me.nextSibling, Fe = he.nextSibling, Rn = Fe.nextSibling, Oe = z.nextSibling, ot = Oe.firstChild, Ge = Oe.nextSibling, Nn = Ge.firstChild, en = Ge.nextSibling, bn = en.firstChild, Kn = bn.nextSibling, gr = en.nextSibling, cs = gr.firstChild, Fr = gr.nextSibling, ml = Fr.firstChild, _o = Fr.nextSibling, ko = _o.firstChild, Oo = ko.nextSibling, us = Oo.nextSibling, Uh = us.nextSibling, Gh = Uh.nextSibling, Kh = Gh.nextSibling, Vh = Kh.nextSibling, Wh = Vh.nextSibling, Qh = Wh.nextSibling, Yh = Qh.nextSibling, Xh = Yh.nextSibling, Zh = Xh.nextSibling, Jh = Zh.nextSibling, e0 = Jh.nextSibling, t0 = e0.nextSibling, n0 = t0.nextSibling, r0 = n0.nextSibling, Tw = r0.nextSibling;
|
|
27656
|
+
return J(n, "id", `a-${e}`), J(r, "fill", `url(#a-${e})`), J(s, "id", `am-${e}`), J(o, "id", `b-${e}`), J(a, "filter", `url(#am-${e})`), J(l, "mask", `url(#b-${e})`), J(u, "id", `ah-${e}`), J(d, "id", `k-${e}`), J(f, "filter", `url(#ah-${e})`), J(h, "mask", `url(#k-${e})`), J(y, "id", `ae-${e}`), J(m, "id", `j-${e}`), J(p, "filter", `url(#ae-${e})`), J(b, "mask", `url(#j-${e})`), J(C, "id", `ai-${e}`), J(w, "id", `i-${e}`), J(k, "filter", `url(#ai-${e})`), J(x, "mask", `url(#i-${e})`), J(O, "id", `aj-${e}`), J(E, "id", `h-${e}`), J(M, "filter", `url(#aj-${e})`), J($, "mask", `url(#h-${e})`), J(N, "id", `ag-${e}`), J(A, "id", `g-${e}`), J(P, "filter", `url(#ag-${e})`), J(R, "mask", `url(#g-${e})`), J(Y, "id", `af-${e}`), J(B, "id", `f-${e}`), J(V, "filter", `url(#af-${e})`), J(re, "mask", `url(#f-${e})`), J(ne, "id", `m-${e}`), J(ye, "fill", `url(#m-${e})`), J(xe, "id", `ak-${e}`), J(ee, "id", `e-${e}`), J(ue, "filter", `url(#ak-${e})`), J(z, "mask", `url(#e-${e})`), J(fe, "id", `n-${e}`), J(Le, "fill", `url(#n-${e})`), J(Re, "id", `r-${e}`), J(Xe, "fill", `url(#r-${e})`), J(W, "id", `s-${e}`), J(De, "fill", `url(#s-${e})`), J(yt, "id", `q-${e}`), J(je, "fill", `url(#q-${e})`), J(Ne, "id", `p-${e}`), J(de, "fill", `url(#p-${e})`), J(me, "id", `o-${e}`), J(he, "fill", `url(#o-${e})`), J(Fe, "id", `l-${e}`), J(Rn, "fill", `url(#l-${e})`), J(ot, "id", `al-${e}`), J(Ge, "id", `d-${e}`), J(Nn, "filter", `url(#al-${e})`), J(en, "mask", `url(#d-${e})`), J(bn, "id", `u-${e}`), J(Kn, "fill", `url(#u-${e})`), J(cs, "id", `ad-${e}`), J(Fr, "id", `c-${e}`), J(ml, "filter", `url(#ad-${e})`), J(_o, "mask", `url(#c-${e})`), J(ko, "id", `t-${e}`), J(Oo, "fill", `url(#t-${e})`), J(us, "id", `v-${e}`), J(Uh, "stroke", `url(#v-${e})`), J(Gh, "id", `aa-${e}`), J(Kh, "stroke", `url(#aa-${e})`), J(Vh, "id", `w-${e}`), J(Wh, "stroke", `url(#w-${e})`), J(Qh, "id", `ac-${e}`), J(Yh, "stroke", `url(#ac-${e})`), J(Xh, "id", `ab-${e}`), J(Zh, "stroke", `url(#ab-${e})`), J(Jh, "id", `y-${e}`), J(e0, "stroke", `url(#y-${e})`), J(t0, "id", `x-${e}`), J(n0, "stroke", `url(#x-${e})`), J(r0, "id", `z-${e}`), J(Tw, "stroke", `url(#z-${e})`), t;
|
|
27657
27657
|
})();
|
|
27658
27658
|
}
|
|
27659
27659
|
var DD = /* @__PURE__ */ ce('<span><svg width=16 height=16 viewBox="0 0 16 16"fill=none xmlns=http://www.w3.org/2000/svg><path d="M6 12L10 8L6 4"stroke-width=2 stroke-linecap=round stroke-linejoin=round>'), LD = /* @__PURE__ */ ce('<button title="Copy object to clipboard">'), ID = /* @__PURE__ */ ce('<button title="Remove all items"aria-label="Remove all items">'), RD = /* @__PURE__ */ ce('<button title="Delete item"aria-label="Delete item">'), ND = /* @__PURE__ */ ce('<button title="Toggle value"aria-label="Toggle value">'), FD = /* @__PURE__ */ ce('<button title="Bulk Edit Data"aria-label="Bulk Edit Data">'), zo = /* @__PURE__ */ ce("<div>"), BD = /* @__PURE__ */ ce("<div><button> <span></span> <span> "), jD = /* @__PURE__ */ ce("<input>"), Wm = /* @__PURE__ */ ce("<span>"), qD = /* @__PURE__ */ ce("<div><span>:"), zD = /* @__PURE__ */ ce("<div><div><button> [<!>...<!>]");
|
|
@@ -27670,7 +27670,7 @@ var Qm = (e) => {
|
|
|
27670
27670
|
}) : Ie, r = H(() => t() === "dark" ? Co(n) : So(n));
|
|
27671
27671
|
return (() => {
|
|
27672
27672
|
var i = DD();
|
|
27673
|
-
return be(() =>
|
|
27673
|
+
return be(() => te(i, ae(r().expander, n`
|
|
27674
27674
|
transform: rotate(${e.expanded ? 90 : 0}deg);
|
|
27675
27675
|
`, e.expanded && n`
|
|
27676
27676
|
& svg {
|
|
@@ -27725,7 +27725,7 @@ var Qm = (e) => {
|
|
|
27725
27725
|
}
|
|
27726
27726
|
})), be((a) => {
|
|
27727
27727
|
var l = r().actionButton, c = `${i() === "NoCopy" ? "Copy object to clipboard" : i() === "SuccessCopy" ? "Object copied to clipboard" : "Error copying object to clipboard"}`;
|
|
27728
|
-
return l !== a.e &&
|
|
27728
|
+
return l !== a.e && te(o, a.e = l), c !== a.t && J(o, "aria-label", a.t = c), a;
|
|
27729
27729
|
}, {
|
|
27730
27730
|
e: void 0,
|
|
27731
27731
|
t: void 0
|
|
@@ -27740,7 +27740,7 @@ var Qm = (e) => {
|
|
|
27740
27740
|
return s.$$click = () => {
|
|
27741
27741
|
const o = e.activeQuery.state.data, a = Ti(o, e.dataPath, []);
|
|
27742
27742
|
i.setQueryData(e.activeQuery.queryKey, a);
|
|
27743
|
-
}, K(s, L(ED, {})), be(() =>
|
|
27743
|
+
}, K(s, L(ED, {})), be(() => te(s, r().actionButton)), s;
|
|
27744
27744
|
})();
|
|
27745
27745
|
}, Ym = (e) => {
|
|
27746
27746
|
const t = Ot(), n = ge().shadowDOMTarget ? Ie.bind({
|
|
@@ -27751,7 +27751,7 @@ var Qm = (e) => {
|
|
|
27751
27751
|
return s.$$click = () => {
|
|
27752
27752
|
const o = e.activeQuery.state.data, a = Vo(o, e.dataPath);
|
|
27753
27753
|
i.setQueryData(e.activeQuery.queryKey, a);
|
|
27754
|
-
}, K(s, L(mw, {})), be(() =>
|
|
27754
|
+
}, K(s, L(mw, {})), be(() => te(s, ae(r().actionButton))), s;
|
|
27755
27755
|
})();
|
|
27756
27756
|
}, KD = (e) => {
|
|
27757
27757
|
const t = Ot(), n = ge().shadowDOMTarget ? Ie.bind({
|
|
@@ -27769,7 +27769,7 @@ var Qm = (e) => {
|
|
|
27769
27769
|
get checked() {
|
|
27770
27770
|
return e.value;
|
|
27771
27771
|
}
|
|
27772
|
-
})), be(() =>
|
|
27772
|
+
})), be(() => te(s, ae(r().actionButton, n`
|
|
27773
27773
|
width: ${G.size[3.5]};
|
|
27774
27774
|
height: ${G.size[3.5]};
|
|
27775
27775
|
`))), s;
|
|
@@ -27851,13 +27851,13 @@ function ri(e) {
|
|
|
27851
27851
|
return _.$$click = () => {
|
|
27852
27852
|
var O;
|
|
27853
27853
|
(O = e.onEdit) == null || O.call(e);
|
|
27854
|
-
}, K(_, L(_D, {})), be(() =>
|
|
27854
|
+
}, K(_, L(_D, {})), be(() => te(_, r().actionButton)), _;
|
|
27855
27855
|
}
|
|
27856
|
-
}), null), be(() =>
|
|
27856
|
+
}), null), be(() => te(x, r().actions)), x;
|
|
27857
27857
|
}
|
|
27858
27858
|
}), null), be((x) => {
|
|
27859
27859
|
var _ = r().expanderButtonContainer, O = r().expanderButton, E = r().info;
|
|
27860
|
-
return _ !== x.e &&
|
|
27860
|
+
return _ !== x.e && te(m, x.e = _), O !== x.t && te(p, x.t = O), E !== x.a && te(w, x.a = E), x;
|
|
27861
27861
|
}, {
|
|
27862
27862
|
e: void 0,
|
|
27863
27863
|
t: void 0,
|
|
@@ -27902,7 +27902,7 @@ function ri(e) {
|
|
|
27902
27902
|
return d() === "array" || d() === "Iterable" || d() === "object";
|
|
27903
27903
|
}
|
|
27904
27904
|
})
|
|
27905
|
-
})), be(() =>
|
|
27905
|
+
})), be(() => te(m, r().subEntry)), m;
|
|
27906
27906
|
}
|
|
27907
27907
|
}), L(ve, {
|
|
27908
27908
|
get when() {
|
|
@@ -27951,17 +27951,17 @@ function ri(e) {
|
|
|
27951
27951
|
return e.activeQuery;
|
|
27952
27952
|
}
|
|
27953
27953
|
})
|
|
27954
|
-
})), be(() =>
|
|
27954
|
+
})), be(() => te(E, r().subEntry)), E;
|
|
27955
27955
|
}
|
|
27956
27956
|
}), null), be((E) => {
|
|
27957
27957
|
var M = r().entry, $ = r().expanderButton;
|
|
27958
|
-
return M !== E.e &&
|
|
27958
|
+
return M !== E.e && te(C, E.e = M), $ !== E.t && te(w, E.t = $), E;
|
|
27959
27959
|
}, {
|
|
27960
27960
|
e: void 0,
|
|
27961
27961
|
t: void 0
|
|
27962
27962
|
}), S;
|
|
27963
27963
|
})()
|
|
27964
|
-
})), be(() =>
|
|
27964
|
+
})), be(() => te(m, r().subEntry)), m;
|
|
27965
27965
|
}
|
|
27966
27966
|
})];
|
|
27967
27967
|
}
|
|
@@ -27980,7 +27980,7 @@ function ri(e) {
|
|
|
27980
27980
|
get fallback() {
|
|
27981
27981
|
return (() => {
|
|
27982
27982
|
var S = Wm();
|
|
27983
|
-
return K(S, () => pc(e.value)), be(() =>
|
|
27983
|
+
return K(S, () => pc(e.value)), be(() => te(S, r().value)), S;
|
|
27984
27984
|
})();
|
|
27985
27985
|
},
|
|
27986
27986
|
get children() {
|
|
@@ -27995,7 +27995,7 @@ function ri(e) {
|
|
|
27995
27995
|
i.setQueryData(e.activeQuery.queryKey, k);
|
|
27996
27996
|
}), be((C) => {
|
|
27997
27997
|
var w = d() === "number" ? "number" : "text", k = ae(r().value, r().editableInput);
|
|
27998
|
-
return w !== C.e && J(S, "type", C.e = w), k !== C.t &&
|
|
27998
|
+
return w !== C.e && J(S, "type", C.e = w), k !== C.t && te(S, C.t = k), C;
|
|
27999
27999
|
}, {
|
|
28000
28000
|
e: void 0,
|
|
28001
28001
|
t: void 0
|
|
@@ -28015,7 +28015,7 @@ function ri(e) {
|
|
|
28015
28015
|
get value() {
|
|
28016
28016
|
return e.value;
|
|
28017
28017
|
}
|
|
28018
|
-
}), null), K(S, () => pc(e.value), null), be(() =>
|
|
28018
|
+
}), null), K(S, () => pc(e.value), null), be(() => te(S, ae(r().value, r().actions, r().editableInput))), S;
|
|
28019
28019
|
}
|
|
28020
28020
|
})];
|
|
28021
28021
|
}
|
|
@@ -28033,13 +28033,13 @@ function ri(e) {
|
|
|
28033
28033
|
}
|
|
28034
28034
|
}), null), be((S) => {
|
|
28035
28035
|
var C = r().row, w = r().label;
|
|
28036
|
-
return C !== S.e &&
|
|
28036
|
+
return C !== S.e && te(m, S.e = C), w !== S.t && te(p, S.t = w), S;
|
|
28037
28037
|
}, {
|
|
28038
28038
|
e: void 0,
|
|
28039
28039
|
t: void 0
|
|
28040
28040
|
}), m;
|
|
28041
28041
|
}
|
|
28042
|
-
}), null), be(() =>
|
|
28042
|
+
}), null), be(() => te(y, r().entry)), y;
|
|
28043
28043
|
})();
|
|
28044
28044
|
}
|
|
28045
28045
|
var pw = (e, t) => {
|
|
@@ -28256,11 +28256,11 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
28256
28256
|
},
|
|
28257
28257
|
get children() {
|
|
28258
28258
|
var h = VD(), g = h.firstChild, y = g.nextSibling;
|
|
28259
|
-
return K(g, L(Vm, {})), y.$$click = () => e.setLocalStore("open", "true"), K(y, L(Vm, {})), be(() =>
|
|
28259
|
+
return K(g, L(Vm, {})), y.$$click = () => e.setLocalStore("open", "true"), K(y, L(Vm, {})), be(() => te(h, ae(r().devtoolsBtn, r()[`devtoolsBtn-position-${o()}`], "tsqd-open-btn-container"))), h;
|
|
28260
28260
|
}
|
|
28261
28261
|
});
|
|
28262
28262
|
}
|
|
28263
|
-
}), null), be(() =>
|
|
28263
|
+
}), null), be(() => te(d, ae(n`
|
|
28264
28264
|
& .tsqd-panel-transition-exit-active,
|
|
28265
28265
|
& .tsqd-panel-transition-enter-active {
|
|
28266
28266
|
transition:
|
|
@@ -28312,7 +28312,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
28312
28312
|
});
|
|
28313
28313
|
}), (() => {
|
|
28314
28314
|
var o = yl();
|
|
28315
|
-
return o.style.setProperty("--tsqd-font-size", "16px"), o.style.setProperty("max-height", "100vh"), o.style.setProperty("height", "100vh"), o.style.setProperty("width", "100vw"), K(o, () => e.children), be(() =>
|
|
28315
|
+
return o.style.setProperty("--tsqd-font-size", "16px"), o.style.setProperty("max-height", "100vh"), o.style.setProperty("height", "100vh"), o.style.setProperty("width", "100vw"), K(o, () => e.children), be(() => te(o, ae(i().panel, s(), {
|
|
28316
28316
|
[r`
|
|
28317
28317
|
min-width: min-content;
|
|
28318
28318
|
`]: qn() < bh
|
|
@@ -28344,7 +28344,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
28344
28344
|
};
|
|
28345
28345
|
return (() => {
|
|
28346
28346
|
var o = yl(), a = i;
|
|
28347
|
-
return typeof a == "function" ? yo(a, o) : i = o, o.style.setProperty("--tsqd-font-size", "16px"), K(o, () => e.children), be(() =>
|
|
28347
|
+
return typeof a == "function" ? yo(a, o) : i = o, o.style.setProperty("--tsqd-font-size", "16px"), K(o, () => e.children), be(() => te(o, ae(r().parentPanel, s(), {
|
|
28348
28348
|
[n`
|
|
28349
28349
|
min-width: min-content;
|
|
28350
28350
|
`]: qn() < bh
|
|
@@ -28427,7 +28427,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
28427
28427
|
min-width: min-content;
|
|
28428
28428
|
`]: qn() < bh && (o() === "right" || o() === "left")
|
|
28429
28429
|
}, "tsqd-main-panel"), m = o() === "bottom" || o() === "top" ? `${e.localStore.height || Hb}px` : "auto", p = o() === "right" || o() === "left" ? `${e.localStore.width || Ub}px` : "auto", b = ae(r().dragHandle, r()[`dragHandle-position-${o()}`], "tsqd-drag-handle"), S = ae(r().closeBtn, r()[`closeBtn-position-${o()}`], "tsqd-minimize-btn");
|
|
28430
|
-
return y !== g.e &&
|
|
28430
|
+
return y !== g.e && te(u, g.e = y), m !== g.t && ((g.t = m) != null ? u.style.setProperty("height", m) : u.style.removeProperty("height")), p !== g.a && ((g.a = p) != null ? u.style.setProperty("width", p) : u.style.removeProperty("width")), b !== g.o && te(d, g.o = b), S !== g.i && te(f, g.i = S), g;
|
|
28431
28431
|
}, {
|
|
28432
28432
|
e: void 0,
|
|
28433
28433
|
t: void 0,
|
|
@@ -28528,8 +28528,8 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
28528
28528
|
return F.addEventListener("change", (le) => {
|
|
28529
28529
|
e.setLocalStore("sort", le.currentTarget.value);
|
|
28530
28530
|
}), K(F, () => Object.keys(zd).map((le) => (() => {
|
|
28531
|
-
var
|
|
28532
|
-
return
|
|
28531
|
+
var ne = Zm();
|
|
28532
|
+
return ne.firstChild, ne.value = le, K(ne, le, null), ne;
|
|
28533
28533
|
})())), be(() => F.value = l()), F;
|
|
28534
28534
|
}
|
|
28535
28535
|
}), null), K(U, L(ve, {
|
|
@@ -28541,8 +28541,8 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
28541
28541
|
return F.addEventListener("change", (le) => {
|
|
28542
28542
|
e.setLocalStore("mutationSort", le.currentTarget.value);
|
|
28543
28543
|
}), K(F, () => Object.keys(Hd).map((le) => (() => {
|
|
28544
|
-
var
|
|
28545
|
-
return
|
|
28544
|
+
var ne = Zm();
|
|
28545
|
+
return ne.firstChild, ne.value = le, K(ne, le, null), ne;
|
|
28546
28546
|
})())), be(() => F.value = u()), F;
|
|
28547
28547
|
}
|
|
28548
28548
|
}), null), K(U, L(ua, {}), null), Y.$$click = () => {
|
|
@@ -28581,7 +28581,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
28581
28581
|
return F.$$click = () => {
|
|
28582
28582
|
var le;
|
|
28583
28583
|
s().requestPipWindow(Number(window.innerWidth), Number((le = e.localStore.height) != null ? le : 500));
|
|
28584
|
-
}, K(F, L(SD, {})), be(() =>
|
|
28584
|
+
}, K(F, L(SD, {})), be(() => te(F, ae(i().actionsBtn, "tsqd-actions-btn", "tsqd-action-open-pip"))), F;
|
|
28585
28585
|
}
|
|
28586
28586
|
}), null), K(B, L(bt.Root, {
|
|
28587
28587
|
gutter: 4,
|
|
@@ -28606,7 +28606,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
28606
28606
|
get children() {
|
|
28607
28607
|
return [(() => {
|
|
28608
28608
|
var F = eL();
|
|
28609
|
-
return be(() =>
|
|
28609
|
+
return be(() => te(F, ae(i().settingsMenuHeader, "tsqd-settings-menu-header"))), F;
|
|
28610
28610
|
})(), L(ve, {
|
|
28611
28611
|
get when() {
|
|
28612
28612
|
return !e.showPanelViewOnly;
|
|
@@ -28762,16 +28762,16 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
28762
28762
|
get children() {
|
|
28763
28763
|
var F = uL(), le = F.firstChild;
|
|
28764
28764
|
return K(le, L($c, {
|
|
28765
|
-
by: (
|
|
28765
|
+
by: (ne) => ne.queryHash,
|
|
28766
28766
|
get each() {
|
|
28767
28767
|
return b();
|
|
28768
28768
|
},
|
|
28769
|
-
children: (
|
|
28769
|
+
children: (ne) => L(TL, {
|
|
28770
28770
|
get query() {
|
|
28771
|
-
return
|
|
28771
|
+
return ne();
|
|
28772
28772
|
}
|
|
28773
28773
|
})
|
|
28774
|
-
})), be(() =>
|
|
28774
|
+
})), be(() => te(F, ae(i().overflowQueryContainer, "tsqd-queries-overflow-container"))), F;
|
|
28775
28775
|
}
|
|
28776
28776
|
}), null), K(x, L(ve, {
|
|
28777
28777
|
get when() {
|
|
@@ -28780,16 +28780,16 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
28780
28780
|
get children() {
|
|
28781
28781
|
var F = dL(), le = F.firstChild;
|
|
28782
28782
|
return K(le, L($c, {
|
|
28783
|
-
by: (
|
|
28783
|
+
by: (ne) => ne.mutationId,
|
|
28784
28784
|
get each() {
|
|
28785
28785
|
return C();
|
|
28786
28786
|
},
|
|
28787
|
-
children: (
|
|
28787
|
+
children: (ne) => L(ML, {
|
|
28788
28788
|
get mutation() {
|
|
28789
|
-
return
|
|
28789
|
+
return ne();
|
|
28790
28790
|
}
|
|
28791
28791
|
})
|
|
28792
|
-
})), be(() =>
|
|
28792
|
+
})), be(() => te(F, ae(i().overflowQueryContainer, "tsqd-mutations-overflow-container"))), F;
|
|
28793
28793
|
}
|
|
28794
28794
|
}), null), be((F) => {
|
|
28795
28795
|
var le = ae(i().queriesContainer, qn() < Ji && (dn() || li()) && r`
|
|
@@ -28798,8 +28798,8 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
28798
28798
|
`, qn() < Ji && !(dn() || li()) && r`
|
|
28799
28799
|
height: 100%;
|
|
28800
28800
|
max-height: 100%;
|
|
28801
|
-
`, "tsqd-queries-container"),
|
|
28802
|
-
return le !== F.e &&
|
|
28801
|
+
`, "tsqd-queries-container"), ne = ae(i().row, "tsqd-header"), ye = i().logoAndToggleContainer, Z = ae(i().logo, "tsqd-text-logo-container"), xe = ae(i().tanstackLogo, "tsqd-text-logo-tanstack"), ee = ae(i().queryFlavorLogo, "tsqd-text-logo-query-flavor"), ue = ae(i().row, "tsqd-filters-actions-container"), z = ae(i().filtersContainer, "tsqd-filters-container"), fe = ae(i().filterInput, "tsqd-query-filter-textfield-container"), Le = ae("tsqd-query-filter-textfield"), st = ae(i().filterSelect, "tsqd-query-filter-sort-container"), Re = `Sort order ${(o() === "queries" ? c() : d()) === -1 ? "descending" : "ascending"}`, Xe = (o() === "queries" ? c() : d()) === -1, W = ae(i().actionsContainer, "tsqd-actions-container"), De = ae(i().actionsBtn, "tsqd-actions-btn", "tsqd-action-clear-cache"), yt = `Clear ${o()} cache`, je = ae(i().actionsBtn, Ho() && i().actionsBtnOffline, "tsqd-actions-btn", "tsqd-action-mock-offline-behavior"), Ne = `${Ho() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, de = Ho(), me = `${Ho() ? "Unset offline mocking behavior" : "Mock offline behavior"}`;
|
|
28802
|
+
return le !== F.e && te(x, F.e = le), ne !== F.t && te(_, F.t = ne), ye !== F.a && te(O, F.a = ye), Z !== F.o && te(E, F.o = Z), xe !== F.i && te(M, F.i = xe), ee !== F.n && te($, F.n = ee), ue !== F.s && te(N, F.s = ue), z !== F.h && te(A, F.h = z), fe !== F.r && te(P, F.r = fe), Le !== F.d && te(R, F.d = Le), st !== F.l && te(U, F.l = st), Re !== F.u && J(Y, "aria-label", F.u = Re), Xe !== F.c && J(Y, "aria-pressed", F.c = Xe), W !== F.w && te(B, F.w = W), De !== F.m && te(V, F.m = De), yt !== F.f && J(V, "title", F.f = yt), je !== F.y && te(re, F.y = je), Ne !== F.g && J(re, "aria-label", F.g = Ne), de !== F.p && J(re, "aria-pressed", F.p = de), me !== F.b && J(re, "title", F.b = me), F;
|
|
28803
28803
|
}, {
|
|
28804
28804
|
e: void 0,
|
|
28805
28805
|
t: void 0,
|
|
@@ -28901,7 +28901,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
28901
28901
|
}
|
|
28902
28902
|
}), null), be((p) => {
|
|
28903
28903
|
var b = ae(r().queryRow, dn() === e.query.queryHash && r().selectedQueryRow, "tsqd-query-row"), S = `Query key ${e.query.queryHash}`, C = ae(h(), "tsqd-query-observer-count");
|
|
28904
|
-
return b !== p.e &&
|
|
28904
|
+
return b !== p.e && te(g, p.e = b), S !== p.t && J(g, "aria-label", p.t = S), C !== p.a && te(y, p.a = C), p;
|
|
28905
28905
|
}, {
|
|
28906
28906
|
e: void 0,
|
|
28907
28907
|
t: void 0,
|
|
@@ -28979,7 +28979,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
28979
28979
|
}
|
|
28980
28980
|
}), null), K(g, () => new Date(e.mutation.state.submittedAt).toLocaleString(), null), be((y) => {
|
|
28981
28981
|
var m = ae(r().queryRow, li() === e.mutation.mutationId && r().selectedQueryRow, "tsqd-query-row"), p = `Mutation submitted at ${new Date(e.mutation.state.submittedAt).toLocaleString()}`, b = ae(d(), "tsqd-query-observer-count");
|
|
28982
|
-
return m !== y.e &&
|
|
28982
|
+
return m !== y.e && te(f, y.e = m), p !== y.t && J(f, "aria-label", y.t = p), b !== y.a && te(h, y.a = b), y;
|
|
28983
28983
|
}, {
|
|
28984
28984
|
e: void 0,
|
|
28985
28985
|
t: void 0,
|
|
@@ -29023,7 +29023,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
29023
29023
|
get count() {
|
|
29024
29024
|
return i();
|
|
29025
29025
|
}
|
|
29026
|
-
}), null), be(() =>
|
|
29026
|
+
}), null), be(() => te(l, ae(a().queryStatusContainer, "tsqd-query-status-container"))), l;
|
|
29027
29027
|
})();
|
|
29028
29028
|
}, DL = () => {
|
|
29029
29029
|
const e = jn((a) => a().getAll().filter((l) => xs({
|
|
@@ -29067,7 +29067,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
29067
29067
|
get count() {
|
|
29068
29068
|
return r();
|
|
29069
29069
|
}
|
|
29070
|
-
}), null), be(() =>
|
|
29070
|
+
}), null), be(() => te(a, ae(o().queryStatusContainer, "tsqd-query-status-container"))), a;
|
|
29071
29071
|
})();
|
|
29072
29072
|
}, _r = (e) => {
|
|
29073
29073
|
const t = Ot(), n = ge().shadowDOMTarget ? Ie.bind({
|
|
@@ -29102,7 +29102,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
29102
29102
|
},
|
|
29103
29103
|
get children() {
|
|
29104
29104
|
var p = yL();
|
|
29105
|
-
return K(p, () => e.label), be(() =>
|
|
29105
|
+
return K(p, () => e.label), be(() => te(p, ae(r().statusTooltip, "tsqd-query-status-tooltip"))), p;
|
|
29106
29106
|
}
|
|
29107
29107
|
}), g), K(h, L(ve, {
|
|
29108
29108
|
get when() {
|
|
@@ -29110,7 +29110,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
29110
29110
|
},
|
|
29111
29111
|
get children() {
|
|
29112
29112
|
var p = mL();
|
|
29113
|
-
return K(p, () => e.label), be(() =>
|
|
29113
|
+
return K(p, () => e.label), be(() => te(p, ae(r().queryStatusTagLabel, "tsqd-query-status-tag-label"))), p;
|
|
29114
29114
|
}
|
|
29115
29115
|
}), y), K(y, () => e.count), be((p) => {
|
|
29116
29116
|
var b = ae(n`
|
|
@@ -29122,7 +29122,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
29122
29122
|
background-color: ${o(i[e.color][100], i[e.color][900])};
|
|
29123
29123
|
color: ${o(i[e.color][700], i[e.color][300])};
|
|
29124
29124
|
`, "tsqd-query-status-tag-count");
|
|
29125
|
-
return b !== p.e &&
|
|
29125
|
+
return b !== p.e && te(g, p.e = b), S !== p.t && te(y, p.t = S), p;
|
|
29126
29126
|
}, {
|
|
29127
29127
|
e: void 0,
|
|
29128
29128
|
t: void 0
|
|
@@ -29210,10 +29210,10 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
29210
29210
|
return H(() => !!h())() && y();
|
|
29211
29211
|
},
|
|
29212
29212
|
get children() {
|
|
29213
|
-
var O = SL(), E = O.firstChild, M = E.nextSibling, $ = M.firstChild, j = $.firstChild, N = j.firstChild, A = j.nextSibling, P = $.nextSibling, R = P.firstChild, U = R.nextSibling, Y = P.nextSibling, B = Y.firstChild, V = B.nextSibling, re = M.nextSibling, se = re.nextSibling, F = se.firstChild, le = F.firstChild,
|
|
29213
|
+
var O = SL(), E = O.firstChild, M = E.nextSibling, $ = M.firstChild, j = $.firstChild, N = j.firstChild, A = j.nextSibling, P = $.nextSibling, R = P.firstChild, U = R.nextSibling, Y = P.nextSibling, B = Y.firstChild, V = B.nextSibling, re = M.nextSibling, se = re.nextSibling, F = se.firstChild, le = F.firstChild, ne = F.nextSibling, ye = ne.firstChild, Z = ne.nextSibling, xe = Z.firstChild, ee = Z.nextSibling, ue = ee.firstChild, z = ee.nextSibling, fe = z.firstChild, Le = fe.nextSibling, st = se.nextSibling;
|
|
29214
29214
|
st.firstChild;
|
|
29215
29215
|
var Re = st.nextSibling, Xe = Re.nextSibling;
|
|
29216
|
-
return K(N, () => pc(h().queryKey, !0)), K(A, p), K(U, S), K(V, () => new Date(y().dataUpdatedAt).toLocaleTimeString()), F.$$click = w,
|
|
29216
|
+
return K(N, () => pc(h().queryKey, !0)), K(A, p), K(U, S), K(V, () => new Date(y().dataUpdatedAt).toLocaleTimeString()), F.$$click = w, ne.$$click = () => {
|
|
29217
29217
|
var W;
|
|
29218
29218
|
er({
|
|
29219
29219
|
type: "INVALIDATE",
|
|
@@ -29225,7 +29225,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
29225
29225
|
type: "RESET",
|
|
29226
29226
|
queryHash: (W = h()) == null ? void 0 : W.queryHash
|
|
29227
29227
|
}), s.resetQueries(h());
|
|
29228
|
-
},
|
|
29228
|
+
}, ee.$$click = () => {
|
|
29229
29229
|
var W;
|
|
29230
29230
|
er({
|
|
29231
29231
|
type: "REMOVE",
|
|
@@ -29275,7 +29275,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
29275
29275
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), de = b() === "pending", me = t`
|
|
29276
29276
|
background-color: ${i(r.red[500], r.red[400])};
|
|
29277
29277
|
`;
|
|
29278
|
-
return Ne !== je.e &&
|
|
29278
|
+
return Ne !== je.e && te(W, je.e = Ne), de !== je.t && (W.disabled = je.t = de), me !== je.a && te(De, je.a = me), je;
|
|
29279
29279
|
}, {
|
|
29280
29280
|
e: void 0,
|
|
29281
29281
|
t: void 0,
|
|
@@ -29303,7 +29303,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
29303
29303
|
var de = ae(n().actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), me = t`
|
|
29304
29304
|
background-color: ${G.colors.red[400]};
|
|
29305
29305
|
`, he = b() === "pending";
|
|
29306
|
-
return de !== Ne.e &&
|
|
29306
|
+
return de !== Ne.e && te(W, Ne.e = de), me !== Ne.t && te(De, Ne.t = me), he !== Ne.a && (je.disabled = Ne.a = he), Ne;
|
|
29307
29307
|
}, {
|
|
29308
29308
|
e: void 0,
|
|
29309
29309
|
t: void 0,
|
|
@@ -29353,7 +29353,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
29353
29353
|
`), bn = ae(n().devtoolsEditFormAction, t`
|
|
29354
29354
|
color: ${i(r.blue[600], r.blue[400])};
|
|
29355
29355
|
`);
|
|
29356
|
-
return Fe !== he.e &&
|
|
29356
|
+
return Fe !== he.e && te(W, he.e = Fe), Rn !== he.t && te(De, he.t = Rn), Oe !== he.a && J(De, "data-error", he.a = Oe), ot !== he.o && te(yt, he.o = ot), Ge !== he.i && te(je, he.i = Ge), Nn !== he.n && te(Ne, he.n = Nn), en !== he.s && te(de, he.s = en), bn !== he.h && te(me, he.h = bn), he;
|
|
29357
29357
|
}, {
|
|
29358
29358
|
e: void 0,
|
|
29359
29359
|
t: void 0,
|
|
@@ -29393,7 +29393,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
29393
29393
|
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), ml = o(), _o = t`
|
|
29394
29394
|
background-color: ${i(r.cyan[500], r.cyan[400])};
|
|
29395
29395
|
`, ko = ae(n().detailsHeader, "tsqd-query-details-header"), Oo = ae(n().detailsHeader, "tsqd-query-details-header"), us = G.size[2];
|
|
29396
|
-
return De !== W.e &&
|
|
29396
|
+
return De !== W.e && te(O, W.e = De), yt !== W.t && te(E, W.t = yt), je !== W.a && te(M, W.a = je), Ne !== W.o && te(A, W.o = Ne), de !== W.i && te(re, W.i = de), me !== W.n && te(se, W.n = me), he !== W.s && te(F, W.s = he), Fe !== W.h && (F.disabled = W.h = Fe), Rn !== W.r && te(le, W.r = Rn), Oe !== W.d && te(ne, W.d = Oe), ot !== W.l && (ne.disabled = W.l = ot), Ge !== W.u && te(ye, W.u = Ge), Nn !== W.c && te(Z, W.c = Nn), en !== W.w && (Z.disabled = W.w = en), bn !== W.m && te(xe, W.m = bn), Kn !== W.f && te(ee, W.f = Kn), gr !== W.y && (ee.disabled = W.y = gr), cs !== W.g && te(ue, W.g = cs), Fr !== W.p && te(z, W.p = Fr), ml !== W.b && (z.disabled = W.b = ml), _o !== W.T && te(fe, W.T = _o), ko !== W.A && te(st, W.A = ko), Oo !== W.O && te(Re, W.O = Oo), us !== W.I && ((W.I = us) != null ? Xe.style.setProperty("padding", us) : Xe.style.removeProperty("padding")), W;
|
|
29397
29397
|
}, {
|
|
29398
29398
|
e: void 0,
|
|
29399
29399
|
t: void 0,
|
|
@@ -29497,7 +29497,7 @@ var VD = /* @__PURE__ */ ce('<div><div aria-hidden=true></div><button type=butto
|
|
|
29497
29497
|
}
|
|
29498
29498
|
})), be(($) => {
|
|
29499
29499
|
var j = ae(n().detailsContainer, "tsqd-query-details-container"), N = ae(n().detailsHeader, "tsqd-query-details-header"), A = ae(n().detailsBody, "tsqd-query-details-summary-container"), P = ae(n().queryDetailsStatus, c()), R = ae(n().detailsHeader, "tsqd-query-details-header"), U = G.size[2], Y = ae(n().detailsHeader, "tsqd-query-details-header"), B = G.size[2], V = ae(n().detailsHeader, "tsqd-query-details-header"), re = G.size[2], se = ae(n().detailsHeader, "tsqd-query-details-header"), F = G.size[2];
|
|
29500
|
-
return j !== $.e &&
|
|
29500
|
+
return j !== $.e && te(u, $.e = j), N !== $.t && te(d, $.t = N), A !== $.a && te(f, $.a = A), P !== $.o && te(m, $.o = P), R !== $.i && te(C, $.i = R), U !== $.n && (($.n = U) != null ? w.style.setProperty("padding", U) : w.style.removeProperty("padding")), Y !== $.s && te(k, $.s = Y), B !== $.h && (($.h = B) != null ? x.style.setProperty("padding", B) : x.style.removeProperty("padding")), V !== $.r && te(_, $.r = V), re !== $.d && (($.d = re) != null ? O.style.setProperty("padding", re) : O.style.removeProperty("padding")), se !== $.l && te(E, $.l = se), F !== $.u && (($.u = F) != null ? M.style.setProperty("padding", F) : M.style.removeProperty("padding")), $;
|
|
29501
29501
|
}, {
|
|
29502
29502
|
e: void 0,
|
|
29503
29503
|
t: void 0,
|
|
@@ -31087,13 +31087,13 @@ var uI = function() {
|
|
|
31087
31087
|
query: {
|
|
31088
31088
|
enabled: !!B
|
|
31089
31089
|
}
|
|
31090
|
-
}), se = re.data, F = re.isLoading, le = 10,
|
|
31090
|
+
}), se = re.data, F = re.isLoading, le = 10, ne = (se == null || (t = se.data) === null || t === void 0 ? void 0 : t.associatedBrands.filter(function(de) {
|
|
31091
31091
|
var me, he;
|
|
31092
31092
|
return h ? ((me = (he = de.name) === null || he === void 0 ? void 0 : he.toLowerCase()) !== null && me !== void 0 ? me : "").includes(h.toLowerCase()) : !0;
|
|
31093
|
-
})) || [], ye = Math.ceil(
|
|
31093
|
+
})) || [], ye = Math.ceil(ne.length / le), Z = (p - 1) * le, xe = rI(ne).sort(function(de, me) {
|
|
31094
31094
|
return de.type === "group" && me.type !== "group" ? -1 : de.type !== "group" && me.type === "group" ? 1 : 0;
|
|
31095
|
-
}),
|
|
31096
|
-
var he =
|
|
31095
|
+
}), ee = xe.slice(Z, Z + le), ue = function(me) {
|
|
31096
|
+
var he = ne.find(function(Fe) {
|
|
31097
31097
|
return V(Fe) === me;
|
|
31098
31098
|
});
|
|
31099
31099
|
he && he.type === "group" && (U(he), N(!0));
|
|
@@ -31245,7 +31245,7 @@ var uI = function() {
|
|
|
31245
31245
|
return /* @__PURE__ */ v(_e.Row, { children: Ne.map(function(he, Fe) {
|
|
31246
31246
|
return /* @__PURE__ */ v(_e.Cell, { children: /* @__PURE__ */ v(he.LoadingComponent, { id: "skeleton-".concat(me, "-").concat(Fe) }, he.accessor) }, "cell-".concat(Fe));
|
|
31247
31247
|
}) }, me);
|
|
31248
|
-
}) :
|
|
31248
|
+
}) : ee.length === 0 ? (
|
|
31249
31249
|
/* NO RESULTS FOUND */
|
|
31250
31250
|
/* @__PURE__ */ v(_e.Row, { children: /* @__PURE__ */ v(_e.Cell, { colSpan: Ne.length, children: /* @__PURE__ */ D("div", { className: "yst-py-12 yst-text-center", children: [
|
|
31251
31251
|
/* @__PURE__ */ v("h3", { className: "yst-mt-4 yst-text-lg yst-font-medium yst-text-slate-900", children: "No brands found" }),
|
|
@@ -31256,7 +31256,7 @@ var uI = function() {
|
|
|
31256
31256
|
] }) }) })
|
|
31257
31257
|
) : (
|
|
31258
31258
|
/* DATA ROWS */
|
|
31259
|
-
|
|
31259
|
+
ee.map(function(de) {
|
|
31260
31260
|
return /* @__PURE__ */ v(_e.Row, { children: Ne.map(function(me) {
|
|
31261
31261
|
return /* @__PURE__ */ v(_e.Cell, { children: me.Cell ? me.Cell({
|
|
31262
31262
|
// pass a safe value to the Cell (may be undefined)
|
|
@@ -31286,10 +31286,10 @@ var uI = function() {
|
|
|
31286
31286
|
// any action
|
|
31287
31287
|
/* @__PURE__ */ v(He, { as: yi, to: "/brands/".concat(B), variant: "tertiary", className: "yst-mb-0", children: "Return to analysis" })
|
|
31288
31288
|
) }) }),
|
|
31289
|
-
/* @__PURE__ */ v(eI, { isOpen: O, onClose: W, brandId: B, brandsToGroup:
|
|
31289
|
+
/* @__PURE__ */ v(eI, { isOpen: O, onClose: W, brandId: B, brandsToGroup: ne.filter(function(de) {
|
|
31290
31290
|
return z.includes(V(de));
|
|
31291
31291
|
}), onGroupCreated: De }),
|
|
31292
|
-
/* @__PURE__ */ v(QL, { isOpen: j, onClose: yt, groupToEdit: R, allBrands:
|
|
31292
|
+
/* @__PURE__ */ v(QL, { isOpen: j, onClose: yt, groupToEdit: R, allBrands: ne })
|
|
31293
31293
|
] });
|
|
31294
31294
|
};
|
|
31295
31295
|
const dI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -33664,7 +33664,7 @@ var bs = 5, na = "Generating...", yR = "Re-generating...", mR = ["**************
|
|
|
33664
33664
|
}), A = N.data, P = N.isRefetching, R = N.isError, U = N.refetch, Y = z5({
|
|
33665
33665
|
mutation: {
|
|
33666
33666
|
onSuccess: function() {
|
|
33667
|
-
var
|
|
33667
|
+
var ee = dR(/* @__PURE__ */ If().m(function z(fe) {
|
|
33668
33668
|
return If().w(function(Le) {
|
|
33669
33669
|
for (; ; ) switch (Le.n) {
|
|
33670
33670
|
case 0:
|
|
@@ -33685,7 +33685,7 @@ var bs = 5, na = "Generating...", yR = "Re-generating...", mR = ["**************
|
|
|
33685
33685
|
}, z);
|
|
33686
33686
|
}));
|
|
33687
33687
|
function ue(z) {
|
|
33688
|
-
return
|
|
33688
|
+
return ee.apply(this, arguments);
|
|
33689
33689
|
}
|
|
33690
33690
|
return ue;
|
|
33691
33691
|
}(),
|
|
@@ -33708,8 +33708,8 @@ var bs = 5, na = "Generating...", yR = "Re-generating...", mR = ["**************
|
|
|
33708
33708
|
replace: !0
|
|
33709
33709
|
});
|
|
33710
33710
|
}, [n, i]), tt(function() {
|
|
33711
|
-
var
|
|
33712
|
-
if (A != null && (
|
|
33711
|
+
var ee;
|
|
33712
|
+
if (A != null && (ee = A.data) !== null && ee !== void 0 && ee.queries && Array.isArray(A.data.queries)) {
|
|
33713
33713
|
var ue = A.data.queries.slice(0, bs);
|
|
33714
33714
|
c(ue.map(function(z, fe) {
|
|
33715
33715
|
return {
|
|
@@ -33728,8 +33728,8 @@ var bs = 5, na = "Generating...", yR = "Re-generating...", mR = ["**************
|
|
|
33728
33728
|
};
|
|
33729
33729
|
})), w([]));
|
|
33730
33730
|
}, [A, R]), tt(function() {
|
|
33731
|
-
var
|
|
33732
|
-
if (_ && A !== null && A !== void 0 && (
|
|
33731
|
+
var ee;
|
|
33732
|
+
if (_ && A !== null && A !== void 0 && (ee = A.data) !== null && ee !== void 0 && ee.queries && Array.isArray(A.data.queries) && !P) {
|
|
33733
33733
|
var ue = A.data.queries.slice(0, bs), z = m.map(Number);
|
|
33734
33734
|
c(function(fe) {
|
|
33735
33735
|
return fe.map(function(Le, st) {
|
|
@@ -33742,28 +33742,28 @@ var bs = 5, na = "Generating...", yR = "Re-generating...", mR = ["**************
|
|
|
33742
33742
|
}), O(!1), p([]);
|
|
33743
33743
|
}
|
|
33744
33744
|
}, [A, P, _, m]);
|
|
33745
|
-
var re = sr(function(
|
|
33745
|
+
var re = sr(function(ee, ue) {
|
|
33746
33746
|
var z = new Set(ue);
|
|
33747
33747
|
return C.filter(function(fe) {
|
|
33748
33748
|
return !z.has(fe);
|
|
33749
|
-
}).slice(0,
|
|
33749
|
+
}).slice(0, ee);
|
|
33750
33750
|
}, [C]), se = hn(function() {
|
|
33751
|
-
return P || l.length === 0 || l.some(function(
|
|
33752
|
-
return
|
|
33751
|
+
return P || l.length === 0 || l.some(function(ee) {
|
|
33752
|
+
return ee.isRegenerating || ee.text === na && !R || ee.text.trim() === "";
|
|
33753
33753
|
}) || f;
|
|
33754
|
-
}, [P, l, f, R]), F = P || l.some(function(
|
|
33755
|
-
return
|
|
33756
|
-
}) && !R, le = sr(function(
|
|
33757
|
-
var ue =
|
|
33754
|
+
}, [P, l, f, R]), F = P || l.some(function(ee) {
|
|
33755
|
+
return ee.text === na;
|
|
33756
|
+
}) && !R, le = sr(function(ee) {
|
|
33757
|
+
var ue = ee.toString();
|
|
33758
33758
|
p(function(z) {
|
|
33759
33759
|
return z.includes(ue) ? z.filter(function(fe) {
|
|
33760
33760
|
return fe !== ue;
|
|
33761
33761
|
}) : [].concat(iR(z), [ue]);
|
|
33762
33762
|
});
|
|
33763
|
-
}, []),
|
|
33763
|
+
}, []), ne = sr(function(ee, ue) {
|
|
33764
33764
|
c(function(z) {
|
|
33765
33765
|
return z.map(function(fe, Le) {
|
|
33766
|
-
return Le ===
|
|
33766
|
+
return Le === ee ? qr(qr({}, fe), {}, {
|
|
33767
33767
|
text: ue
|
|
33768
33768
|
}) : fe;
|
|
33769
33769
|
});
|
|
@@ -33779,9 +33779,9 @@ var bs = 5, na = "Generating...", yR = "Re-generating...", mR = ["**************
|
|
|
33779
33779
|
});
|
|
33780
33780
|
});
|
|
33781
33781
|
});
|
|
33782
|
-
var
|
|
33782
|
+
var ee = l.map(function(fe) {
|
|
33783
33783
|
return fe.text;
|
|
33784
|
-
}), ue = m.length, z = re(ue,
|
|
33784
|
+
}), ue = m.length, z = re(ue, ee);
|
|
33785
33785
|
z.length === ue ? (c(function(fe) {
|
|
33786
33786
|
return fe.map(function(Le, st) {
|
|
33787
33787
|
var Re = m.indexOf(st.toString());
|
|
@@ -33797,8 +33797,8 @@ var bs = 5, na = "Generating...", yR = "Re-generating...", mR = ["**************
|
|
|
33797
33797
|
});
|
|
33798
33798
|
}), p([])) : (O(!0), U());
|
|
33799
33799
|
}
|
|
33800
|
-
}, [P, m, U, l, re]), xe = sr(function(
|
|
33801
|
-
|
|
33800
|
+
}, [P, m, U, l, re]), xe = sr(function(ee) {
|
|
33801
|
+
ee.preventDefault(), n && B({
|
|
33802
33802
|
brandId: n,
|
|
33803
33803
|
data: {
|
|
33804
33804
|
queries: l.map(function(ue) {
|
|
@@ -33826,10 +33826,10 @@ var bs = 5, na = "Generating...", yR = "Re-generating...", mR = ["**************
|
|
|
33826
33826
|
] }) })
|
|
33827
33827
|
] })
|
|
33828
33828
|
] }),
|
|
33829
|
-
/* @__PURE__ */ v("div", { className: "yst-mb-8", children: l.length === 0 ? mR.map(function(
|
|
33830
|
-
return /* @__PURE__ */ v("div", { className: ke("yst-mb-4 yst-cursor-pointer yst-rounded yst-border yst-border-slate-300 yst-p-3 yst-transition-colors", "yst-bg-white"), children: /* @__PURE__ */ v(ft, { children:
|
|
33831
|
-
}) : l.slice(0, bs).map(function(
|
|
33832
|
-
var z =
|
|
33829
|
+
/* @__PURE__ */ v("div", { className: "yst-mb-8", children: l.length === 0 ? mR.map(function(ee, ue) {
|
|
33830
|
+
return /* @__PURE__ */ v("div", { className: ke("yst-mb-4 yst-cursor-pointer yst-rounded yst-border yst-border-slate-300 yst-p-3 yst-transition-colors", "yst-bg-white"), children: /* @__PURE__ */ v(ft, { children: ee || "Example placeholder query for demonstration purposes." }) }, "placeholder-query-".concat(ue));
|
|
33831
|
+
}) : l.slice(0, bs).map(function(ee, ue) {
|
|
33832
|
+
var z = ee.isRegenerating ? ee.text === na ? na : yR : ee.text;
|
|
33833
33833
|
return /* @__PURE__ */ v("div", { className: ke("yst-mb-4"), children: /* @__PURE__ */ D("div", { className: "yst-flex yst-gap-2", children: [
|
|
33834
33834
|
f && /* @__PURE__ */ v("div", { className: "yst-flex yst-items-center", children: /* @__PURE__ */ v(
|
|
33835
33835
|
pd,
|
|
@@ -33847,10 +33847,10 @@ var bs = 5, na = "Generating...", yR = "Re-generating...", mR = ["**************
|
|
|
33847
33847
|
/* @__PURE__ */ D("div", { className: "yst-flex-1", children: [
|
|
33848
33848
|
/* @__PURE__ */ v(Vl, { htmlFor: "query-text-".concat(ue), className: "yst-mb-2 yst-block yst-text-sm yst-font-medium yst-text-slate-700", children: "Query ".concat(ue + 1) }),
|
|
33849
33849
|
/* @__PURE__ */ v(Ja, { id: "query-text-".concat(ue), type: "text", value: z, onChange: function(fe) {
|
|
33850
|
-
|
|
33851
|
-
}, placeholder: "Enter your query...", className: "yst-w-full", disabled:
|
|
33850
|
+
ee.isRegenerating || ne(ue, fe.target.value);
|
|
33851
|
+
}, placeholder: "Enter your query...", className: "yst-w-full", disabled: ee.isRegenerating, required: !0, maxLength: 255 })
|
|
33852
33852
|
] })
|
|
33853
|
-
] }) },
|
|
33853
|
+
] }) }, ee.id);
|
|
33854
33854
|
}) }),
|
|
33855
33855
|
/* @__PURE__ */ v(kw, { buttonText: "Run analysis (~ 5 minutes)", isButtonDisabled: se, isLoading: V })
|
|
33856
33856
|
] })
|