@sisense/sdk-ui-preact 2.27.0 → 2.29.0
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.
- package/dist/ai.cjs +76 -76
- package/dist/ai.js +35 -31
- package/dist/{compat.module-6709d39c.cjs → compat.module-5e8c8334.cjs} +1 -1
- package/dist/{compat.module-21d68a36.js → compat.module-b30f4a00.js} +20 -20
- package/dist/{index-D7mHzfx0-e61bcbf5.js → index-C77YCBVd-4ca82a80.js} +4 -1
- package/dist/{index-D7mHzfx0-52769d88.cjs → index-C77YCBVd-fa3a31f2.cjs} +1 -1
- package/dist/index.cjs +408 -408
- package/dist/index.js +13708 -13375
- package/dist/preact/compat.cjs +1 -1
- package/dist/preact/compat.js +1 -1
- package/dist/translations/de-de.cjs +1 -1
- package/dist/translations/de-de.js +5 -2
- package/dist/translations/en-us.cjs +1 -1
- package/dist/translations/en-us.js +1 -1
- package/dist/translations/es-ar.cjs +1 -1
- package/dist/translations/es-ar.js +5 -2
- package/dist/translations/es-es.cjs +1 -1
- package/dist/translations/es-es.js +5 -2
- package/dist/translations/fr-fr.cjs +1 -1
- package/dist/translations/fr-fr.js +5 -2
- package/dist/translations/it-it.cjs +1 -1
- package/dist/translations/it-it.js +5 -2
- package/dist/translations/ja-jp.cjs +1 -1
- package/dist/translations/ja-jp.js +5 -2
- package/dist/translations/ko-kr.cjs +1 -1
- package/dist/translations/ko-kr.js +5 -2
- package/dist/translations/nl-nl.cjs +1 -1
- package/dist/translations/nl-nl.js +5 -2
- package/dist/translations/pt-br.cjs +1 -1
- package/dist/translations/pt-br.js +5 -2
- package/dist/translations/ru-ru.cjs +1 -1
- package/dist/translations/ru-ru.js +5 -2
- package/dist/translations/tr-tr.cjs +1 -1
- package/dist/translations/tr-tr.js +5 -2
- package/dist/translations/zh-cn.cjs +1 -1
- package/dist/translations/zh-cn.js +5 -2
- package/dist/{use-hover-CkmV6eu9-214a1e6d.js → use-hover-Dju4Dcv3-1254a384.js} +27959 -27255
- package/dist/use-hover-Dju4Dcv3-30c5b8db.cjs +898 -0
- package/package.json +3 -3
- package/dist/use-hover-CkmV6eu9-5f0519a8.cjs +0 -899
package/dist/ai.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { D as fa, M as ka, T as R, q as z, d as Z, y as we, A as be, x as yt, _ as Ue, a as li } from "./compat.module-
|
|
1
|
+
import { m as rt, e as ia, t as dr, q as pr, Q as ur, V as gr, a as hr, J as mr, N as fr, W as Te, w as Be, S as kr, d as br, x as xr, D as G, r as yr, K as Le, o as kt, M as Ye, B as wr, h as De, b as jt, _ as _r, c as oa, f as Cr, O as vr, i as sa, g as na, j as C, k as q, l as Sr, L as Je, n as Mr, p as Ir, s as ke, F as la, u as Dr, v as f, y as ca, T as da, z as pa, E as D, A as o, C as j, Y as B, G as ua, H as Ar, R as ye, I as bt, P as v, U as Lr, X as Tr, Z as Nr, $ as Ce, a0 as it, a1 as jr, a2 as zr, a3 as Or, a4 as Er, a5 as Ae, a6 as ga, a7 as xt, a8 as je, a9 as Rr, aa as zt, ab as Zr, ac as Wr, ad as $r, ae as qr, af as ha, ag as Pr, ah as Gr, ai as Hr, aj as Br, ak as Yr, al as Ur, am as Qr, an as Fr, ao as Vr, ap as Jr, aq as Xr, ar as Kr, as as ei, at as ti, au as ai, av as ma, aw as ri, ax as ii, ay as oi, az as si, aA as ni } from "./use-hover-Dju4Dcv3-1254a384.js";
|
|
2
|
+
import { D as fa, M as ka, T as R, q as z, d as Z, y as we, A as be, x as yt, _ as Ue, a as li } from "./compat.module-b30f4a00.js";
|
|
3
3
|
import { jsx as ve } from "./preact/jsx-runtime.js";
|
|
4
4
|
import { K as Xe, _ as ci } from "./preact.module-d1297d7b.js";
|
|
5
|
-
import "./index-
|
|
6
|
-
|
|
5
|
+
import "./index-C77YCBVd-4ca82a80.js";
|
|
6
|
+
class ba extends ia {
|
|
7
7
|
constructor(t, a) {
|
|
8
8
|
var r;
|
|
9
9
|
super((r = t.jaql.title) !== null && r !== void 0 ? r : "", a), this.__serializable = "JaqlElement", this.expression = t.jaql.dim || t.jaql.formula, this.metadataItem = t, t.jaql.agg ? this.aggregation = t.jaql.agg : delete this.aggregation, t.jaql.formula ? this.formula = t.jaql.formula : delete this.formula, t.jaql.sort ? this.sortType = dr(t.jaql.sort) : delete this.sortType, this.skipValidation = !0;
|
|
@@ -21,7 +21,7 @@ let ba = class extends ia {
|
|
|
21
21
|
const t = super.serialize();
|
|
22
22
|
return t.metadataItem = this.metadataItem, t.type = this.type, t;
|
|
23
23
|
}
|
|
24
|
-
}
|
|
24
|
+
}
|
|
25
25
|
const di = {
|
|
26
26
|
text: rt.TextAttribute,
|
|
27
27
|
numeric: rt.NumericAttribute,
|
|
@@ -1328,10 +1328,14 @@ const lo = (e) => {
|
|
|
1328
1328
|
gridLines: !1
|
|
1329
1329
|
}
|
|
1330
1330
|
}), Gt = Object.freeze({
|
|
1331
|
+
area: "area/stacked",
|
|
1332
|
+
arearange: "arearange/spline",
|
|
1333
|
+
bar: "bar/stacked",
|
|
1334
|
+
boxplot: "boxplot/full",
|
|
1335
|
+
column: "column/stackedcolumn",
|
|
1331
1336
|
line: "line/spline",
|
|
1332
1337
|
pie: "pie/donut",
|
|
1333
|
-
|
|
1334
|
-
column: "column/stackedcolumn"
|
|
1338
|
+
polar: "polar/column"
|
|
1335
1339
|
}), uo = (e, t, a) => {
|
|
1336
1340
|
const r = e.reduce((n, l) => (n[l.jaql.title] = l, n), {}), i = Object.entries(a).reduce((n, l) => {
|
|
1337
1341
|
const [u, d] = l;
|
|
@@ -1506,7 +1510,7 @@ const lo = (e) => {
|
|
|
1506
1510
|
console.error(a);
|
|
1507
1511
|
return;
|
|
1508
1512
|
}
|
|
1509
|
-
}, ze = (e, t) => bo(e, t), xo = (e) => ui(e) ? io(e) : so(e),
|
|
1513
|
+
}, ze = (e, t) => bo(e, t), xo = (e) => ui(e) ? io(e) : so(e), ac = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1510
1514
|
__proto__: null,
|
|
1511
1515
|
toWidgetCode: xo,
|
|
1512
1516
|
toWidgetProps: ze
|
|
@@ -1710,7 +1714,7 @@ const Io = new na({
|
|
|
1710
1714
|
})
|
|
1711
1715
|
});
|
|
1712
1716
|
};
|
|
1713
|
-
function
|
|
1717
|
+
function rc({
|
|
1714
1718
|
children: e,
|
|
1715
1719
|
volatile: t
|
|
1716
1720
|
}) {
|
|
@@ -1761,7 +1765,7 @@ const Ke = (e, t = !0) => {
|
|
|
1761
1765
|
enabled: a
|
|
1762
1766
|
} = t, r = Ia(t, ["enabled"]);
|
|
1763
1767
|
return Ke(r, a);
|
|
1764
|
-
},
|
|
1768
|
+
}, ic = bt("useGetNlgInsights")(Ao), Lo = ["indicator", "column", "line", "table", "pie", "bar"];
|
|
1765
1769
|
function La(e) {
|
|
1766
1770
|
const {
|
|
1767
1771
|
dataSource: t,
|
|
@@ -1818,7 +1822,7 @@ const No = (e) => {
|
|
|
1818
1822
|
k();
|
|
1819
1823
|
}, [k])
|
|
1820
1824
|
};
|
|
1821
|
-
},
|
|
1825
|
+
}, oc = bt("useGetNlqResult")(No), jo = 4, Ta = (e) => {
|
|
1822
1826
|
const {
|
|
1823
1827
|
contextTitle: t,
|
|
1824
1828
|
count: a,
|
|
@@ -1855,7 +1859,7 @@ const No = (e) => {
|
|
|
1855
1859
|
c();
|
|
1856
1860
|
}, [c])
|
|
1857
1861
|
};
|
|
1858
|
-
},
|
|
1862
|
+
}, sc = bt("useGetQueryRecommendations")(Ta), Na = Object.freeze({
|
|
1859
1863
|
enableFollowupQuestions: !1,
|
|
1860
1864
|
enableHeader: !0,
|
|
1861
1865
|
enableInsights: !0,
|
|
@@ -2079,7 +2083,7 @@ const No = (e) => {
|
|
|
2079
2083
|
isLoading: m,
|
|
2080
2084
|
lastError: l
|
|
2081
2085
|
};
|
|
2082
|
-
},
|
|
2086
|
+
}, nc = ({
|
|
2083
2087
|
contextTitle: e,
|
|
2084
2088
|
contextDetails: t
|
|
2085
2089
|
}) => {
|
|
@@ -2089,7 +2093,7 @@ const No = (e) => {
|
|
|
2089
2093
|
history: r
|
|
2090
2094
|
} = St(a);
|
|
2091
2095
|
return Oa(r);
|
|
2092
|
-
},
|
|
2096
|
+
}, lc = ({
|
|
2093
2097
|
contextTitle: e,
|
|
2094
2098
|
contextDetails: t
|
|
2095
2099
|
}) => {
|
|
@@ -5560,7 +5564,7 @@ function Hl() {
|
|
|
5560
5564
|
onDataTopicClick: (c) => t(c)
|
|
5561
5565
|
});
|
|
5562
5566
|
}
|
|
5563
|
-
const
|
|
5567
|
+
const cc = pa({
|
|
5564
5568
|
componentName: "Chatbot"
|
|
5565
5569
|
})((e) => {
|
|
5566
5570
|
const {
|
|
@@ -5581,7 +5585,7 @@ const dc = pa({
|
|
|
5581
5585
|
children: /* @__PURE__ */ o(Hl, {})
|
|
5582
5586
|
})
|
|
5583
5587
|
});
|
|
5584
|
-
}),
|
|
5588
|
+
}), dc = pa({
|
|
5585
5589
|
componentName: "GetNlgInsights"
|
|
5586
5590
|
})(function(e) {
|
|
5587
5591
|
const {
|
|
@@ -5667,7 +5671,7 @@ const Yl = C.div`
|
|
|
5667
5671
|
}), r]
|
|
5668
5672
|
})
|
|
5669
5673
|
});
|
|
5670
|
-
}, Fl = (e, t) => e.nlqResponse.timestamp === t.nlqResponse.timestamp,
|
|
5674
|
+
}, Fl = (e, t) => e.nlqResponse.timestamp === t.nlqResponse.timestamp, pc = ka(function({
|
|
5671
5675
|
nlqResponse: e,
|
|
5672
5676
|
onDataReady: t,
|
|
5673
5677
|
styleOptions: a,
|
|
@@ -5737,7 +5741,7 @@ const Yl = C.div`
|
|
|
5737
5741
|
}
|
|
5738
5742
|
}
|
|
5739
5743
|
});
|
|
5740
|
-
function
|
|
5744
|
+
function uc({
|
|
5741
5745
|
children: e,
|
|
5742
5746
|
context: t
|
|
5743
5747
|
}) {
|
|
@@ -5751,7 +5755,7 @@ function gc({
|
|
|
5751
5755
|
})
|
|
5752
5756
|
});
|
|
5753
5757
|
}
|
|
5754
|
-
function
|
|
5758
|
+
function gc(e, t, a) {
|
|
5755
5759
|
return se(this, null, function* () {
|
|
5756
5760
|
var r;
|
|
5757
5761
|
const {
|
|
@@ -5783,23 +5787,23 @@ function hc(e, t, a) {
|
|
|
5783
5787
|
}
|
|
5784
5788
|
})();
|
|
5785
5789
|
export {
|
|
5786
|
-
|
|
5790
|
+
rc as AiContextProvider,
|
|
5787
5791
|
Mo as ChatRestApi,
|
|
5788
|
-
|
|
5789
|
-
|
|
5792
|
+
cc as Chatbot,
|
|
5793
|
+
uc as CustomAiContextProvider,
|
|
5790
5794
|
jo as DEFAULT_RECOMMENDATIONS_COUNT,
|
|
5791
|
-
|
|
5795
|
+
dc as GetNlgInsights,
|
|
5792
5796
|
Lo as NLQ_RESULT_CHART_TYPES,
|
|
5793
|
-
|
|
5797
|
+
pc as NlqChartWidget,
|
|
5794
5798
|
To as executeGetNlqResult,
|
|
5795
|
-
|
|
5799
|
+
gc as getNlgInsightsFromWidget,
|
|
5796
5800
|
Ar as prepareGetNlgInsightsPayload,
|
|
5797
5801
|
La as prepareGetNlqResultPayload,
|
|
5798
5802
|
Po as useChatSession,
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5803
|
+
lc as useFinalNlqResponse,
|
|
5804
|
+
ic as useGetNlgInsights,
|
|
5805
|
+
oc as useGetNlqResult,
|
|
5806
|
+
sc as useGetQueryRecommendations,
|
|
5807
|
+
nc as useLastNlqResponse,
|
|
5808
|
+
ac as widgetComposer
|
|
5805
5809
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("./preact.module-8d1bbc3f.cjs");var d,a,T,X,y=0,he=[],l=o.l,ee=l.__b,te=l.__r,ne=l.diffed,_e=l.__c,re=l.unmount,oe=l.__;function h(e,t){l.__h&&l.__h(a,e,y||t),y=0;var n=a.__H||(a.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function b(e){return y=1,S(ve,e)}function S(e,t,n){var _=h(d++,2);if(_.t=e,!_.__c&&(_.__=[n?n(t):ve(void 0,t),function(f){var c=_.__N?_.__N[0]:_.__[0],s=_.t(c,f);c!==s&&(_.__N=[s,_.__[1]],_.__c.setState({}))}],_.__c=a,!a.__f)){var r=function(f,c,s){if(!_.__c.__H)return!0;var k=_.__c.__H.__.filter(function(p){return!!p.__c});if(k.every(function(p){return!p.__N}))return!i||i.call(this,f,c,s);var Q=_.__c.props!==f;return k.forEach(function(p){if(p.__N){var we=p.__[0];p.__=p.__N,p.__N=void 0,we!==p.__[0]&&(Q=!0)}}),i&&i.call(this,f,c,s)||Q};a.__f=!0;var i=a.shouldComponentUpdate,u=a.componentWillUpdate;a.componentWillUpdate=function(f,c,s){if(this.__e){var k=i;i=void 0,r(f,c,s),i=k}u&&u.call(this,f,c,s)},a.shouldComponentUpdate=r}return _.__N||_.__}function H(e,t){var n=h(d++,3);!l.__s&&I(n.__H,t)&&(n.__=e,n.u=t,a.__H.__h.push(n))}function v(e,t){var n=h(d++,4);!l.__s&&I(n.__H,t)&&(n.__=e,n.u=t,a.__h.push(n))}function R(e){return y=5,E(function(){return{current:e}},[])}function O(e,t,n){y=6,v(function(){if(typeof e=="function"){var _=e(t());return function(){e(null),_&&typeof _=="function"&&_()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function E(e,t){var n=h(d++,7);return I(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function P(e,t){return y=8,E(function(){return e},t)}function $(e){var t=a.context[e.__c],n=h(d++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(a)),t.props.value):e.__}function D(e,t){l.useDebugValue&&l.useDebugValue(t?t(e):e)}function Ae(e){var t=h(d++,10),n=b();return t.__=e,a.componentDidCatch||(a.componentDidCatch=function(_,r){t.__&&t.__(_,r),n[1](_)}),[n[0],function(){n[1](void 0)}]}function F(){var e=h(d++,11);if(!e.__){for(var t=a.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Fe(){for(var e;e=he.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(x),e.__H.__h.forEach(w),e.__H.__h=[]}catch(t){e.__H.__h=[],l.__e(t,e.__v)}}l.__b=function(e){a=null,ee&&ee(e)},l.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),oe&&oe(e,t)},l.__r=function(e){te&&te(e),d=0;var t=(a=e.__c).__H;t&&(T===a?(t.__h=[],a.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.forEach(x),t.__h.forEach(w),t.__h=[],d=0)),T=a},l.diffed=function(e){ne&&ne(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(he.push(t)!==1&&X===l.requestAnimationFrame||((X=l.requestAnimationFrame)||Ie)(Fe)),t.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),T=a=null},l.__c=function(e,t){t.some(function(n){try{n.__h.forEach(x),n.__h=n.__h.filter(function(_){return!_.__||w(_)})}catch(_){t.some(function(r){r.__h&&(r.__h=[])}),t=[],l.__e(_,n.__v)}}),_e&&_e(e,t)},l.unmount=function(e){re&&re(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(_){try{x(_)}catch(r){t=r}}),n.__H=void 0,t&&l.__e(t,n.__v))};var ue=typeof requestAnimationFrame=="function";function Ie(e){var t,n=function(){clearTimeout(_),ue&&cancelAnimationFrame(t),setTimeout(e)},_=setTimeout(n,35);ue&&(t=requestAnimationFrame(n))}function x(e){var t=a,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),a=t}function w(e){var t=a;e.__c=e.__(),a=t}function I(e,t){return!e||e.length!==t.length||t.some(function(n,_){return n!==e[_]})}function ve(e,t){return typeof t=="function"?t(e):t}function me(e,t){for(var n in t)e[n]=t[n];return e}function A(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var _ in t)if(_!=="__source"&&e[_]!==t[_])return!0;return!1}function M(e,t){var n=t(),_=b({t:{__:n,u:t}}),r=_[0].t,i=_[1];return v(function(){r.__=n,r.u=t,U(r)&&i({t:r})},[e,n,t]),H(function(){return U(r)&&i({t:r}),e(function(){U(r)&&i({t:r})})},[e]),n}function U(e){var t,n,_=e.u,r=e.__;try{var i=_();return!((t=r)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}function L(e){e()}function V(e){return e}function W(){return[!1,L]}var B=v;function g(e,t){this.props=e,this.context=t}function q(e,t){function n(r){var i=this.props.ref,u=i==r.ref;return!u&&i&&(i.call?i(null):i.current=null),t?!t(this.props,r)||!u:A(this.props,r)}function _(r){return this.shouldComponentUpdate=n,o._(e,r)}return _.displayName="Memo("+(e.displayName||e.name)+")",_.prototype.isReactComponent=!0,_.__f=!0,_}(g.prototype=new o.x).isPureReactComponent=!0,g.prototype.shouldComponentUpdate=function(e,t){return A(this.props,e)||A(this.state,t)};var ie=o.l.__b;o.l.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ie&&ie(e)};var Me=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function z(e){function t(n){var _=me({},n);return delete _.ref,e(_,n.ref||null)}return t.$$typeof=Me,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ae=function(e,t){return e==null?null:o.H(o.H(e).map(t))},j={map:ae,forEach:ae,count:function(e){return e?o.H(e).length:0},only:function(e){var t=o.H(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:o.H},Le=o.l.__e;o.l.__e=function(e,t,n,_){if(e.then){for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}Le(e,t,n,_)};var ce=o.l.unmount;function ye(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(_){typeof _.__c=="function"&&_.__c()}),e.__c.__H=null),(e=me({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(_){return ye(_,t,n)})),e}function be(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(_){return be(_,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function N(){this.__u=0,this.o=null,this.__b=null}function Ee(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ce(e){var t,n,_;function r(i){if(t||(t=e()).then(function(u){n=u.default||u},function(u){_=u}),_)throw _;if(!n)throw t;return o._(n,i)}return r.displayName="Lazy",r.__f=!0,r}function m(){this.i=null,this.l=null}o.l.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ce&&ce(e)},(N.prototype=new o.x).__c=function(e,t){var n=t.__c,_=this;_.o==null&&(_.o=[]),_.o.push(n);var r=Ee(_.__v),i=!1,u=function(){i||(i=!0,n.__R=null,r?r(f):f())};n.__R=u;var f=function(){if(!--_.__u){if(_.state.__a){var c=_.state.__a;_.__v.__k[0]=be(c,c.__c.__P,c.__c.__O)}var s;for(_.setState({__a:_.__b=null});s=_.o.pop();)s.forceUpdate()}};_.__u++||32&t.__u||_.setState({__a:_.__b=_.__v.__k[0]}),e.then(u,u)},N.prototype.componentWillUnmount=function(){this.o=[]},N.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),_=this.__v.__k[0].__c;this.__v.__k[0]=ye(this.__b,n,_.__O=_.__P)}this.__b=null}var r=t.__a&&o._(o.k,null,e.fallback);return r&&(r.__u&=-33),[o._(o.k,null,t.__a?null:e.children),r]};var le=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Ve(e){return this.getChildContext=function(){return e.context},e.children}function We(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){o.E(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var _=t.__v;_!==null&&!_.__m&&_.__!==null;)_=_.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:_.__m},contains:function(){return!0},insertBefore:function(r,i){this.childNodes.push(r),t.h.insertBefore(r,i)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.h.removeChild(r)}}}o.E(o._(Ve,{context:t.context},e.__v),t.v)}function K(e,t){var n=o._(We,{__v:e,h:t});return n.containerInfo=t,n}(m.prototype=new o.x).__a=function(e){var t=this,n=Ee(t.__v),_=t.l.get(e);return _[0]++,function(r){var i=function(){t.props.revealOrder?(_.push(r),le(t,e,_)):r()};n?n(i):i()}},m.prototype.render=function(e){this.i=null,this.l=new Map;var t=o.H(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},m.prototype.componentDidUpdate=m.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){le(e,n,t)})};var Ne=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Be=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,qe=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ze=/[A-Z0-9]/g,je=typeof document<"u",Ke=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ge(e,t,n){return t.__k==null&&(t.textContent=""),o.E(e,t),typeof n=="function"&&n(),e?e.__c:null}function Se(e,t,n){return o.G(e,t),typeof n=="function"&&n(),e?e.__c:null}o.x.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(o.x.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var fe=o.l.event;function Ye(){}function Ze(){return this.cancelBubble}function Ge(){return this.defaultPrevented}o.l.event=function(e){return fe&&(e=fe(e)),e.persist=Ye,e.isPropagationStopped=Ze,e.isDefaultPrevented=Ge,e.nativeEvent=e};var Y,Je={enumerable:!1,configurable:!0,get:function(){return this.class}},se=o.l.vnode;o.l.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,_=t.type,r={},i=_.indexOf("-")===-1;for(var u in n){var f=n[u];if(!(u==="value"&&"defaultValue"in n&&f==null||je&&u==="children"&&_==="noscript"||u==="class"||u==="className")){var c=u.toLowerCase();u==="defaultValue"&&"value"in n&&n.value==null?u="value":u==="download"&&f===!0?f="":c==="translate"&&f==="no"?f=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?u="ondblclick":c!=="onchange"||_!=="input"&&_!=="textarea"||Ke(n.type)?c==="onfocus"?u="onfocusin":c==="onblur"?u="onfocusout":qe.test(u)&&(u=c):c=u="oninput":i&&Be.test(u)?u=u.replace(ze,"-$&").toLowerCase():f===null&&(f=void 0),c==="oninput"&&r[u=c]&&(u="oninputCapture"),r[u]=f}}_=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=o.H(n.children).forEach(function(s){s.props.selected=r.value.indexOf(s.props.value)!=-1})),_=="select"&&r.defaultValue!=null&&(r.value=o.H(n.children).forEach(function(s){s.props.selected=r.multiple?r.defaultValue.indexOf(s.props.value)!=-1:r.defaultValue==s.props.value})),n.class&&!n.className?(r.class=n.class,Object.defineProperty(r,"className",Je)):(n.className&&!n.class||n.class&&n.className)&&(r.class=r.className=n.className),t.props=r}(e),e.$$typeof=Ne,se&&se(e)};var pe=o.l.__r;o.l.__r=function(e){pe&&pe(e),Y=e.__c};var de=o.l.diffed;o.l.diffed=function(e){de&&de(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Y=null};var He={ReactCurrentDispatcher:{current:{readContext:function(e){return Y.__n[e.__c].props.value},useCallback:P,useContext:$,useDebugValue:D,useDeferredValue:V,useEffect:H,useId:F,useImperativeHandle:O,useInsertionEffect:B,useLayoutEffect:v,useMemo:E,useReducer:S,useRef:R,useState:b,useSyncExternalStore:M,useTransition:W}}},ke="18.3.1";function xe(e){return o._.bind(null,e)}function C(e){return!!e&&e.$$typeof===Ne}function Re(e){return C(e)&&e.type===o.k}function Oe(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Z(e){return C(e)?o.J.apply(null,arguments):e}function Pe(e){return!!e.__k&&(o.E(null,e),!0)}function $e(e){return e&&(e.base||e.nodeType===1&&e)||null}var G=function(e,t){return e(t)},J=function(e,t){return e(t)},De=o.k,Te=C,Ue={useState:b,useId:F,useReducer:S,useEffect:H,useLayoutEffect:v,useInsertionEffect:B,useTransition:W,useDeferredValue:V,useSyncExternalStore:M,startTransition:L,useRef:R,useImperativeHandle:O,useMemo:E,useCallback:P,useContext:$,useDebugValue:D,version:"18.3.1",Children:j,render:ge,hydrate:Se,unmountComponentAtNode:Pe,createPortal:K,createElement:o._,createContext:o.K,createFactory:xe,cloneElement:Z,createRef:o.b,Fragment:o.k,isValidElement:C,isElement:Te,isFragment:Re,isMemo:Oe,findDOMNode:$e,Component:o.x,PureComponent:g,memo:q,forwardRef:z,flushSync:J,unstable_batchedUpdates:G,StrictMode:De,Suspense:N,SuspenseList:m,lazy:Ce,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:He};const Qe=Object.freeze(Object.defineProperty({__proto__:null,Children:j,Component:o.x,Fragment:o.k,PureComponent:g,StrictMode:De,Suspense:N,SuspenseList:m,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:He,cloneElement:Z,createContext:o.K,createElement:o._,createFactory:xe,createPortal:K,createRef:o.b,default:Ue,findDOMNode:$e,flushSync:J,forwardRef:z,hydrate:Se,isElement:Te,isFragment:Re,isMemo:Oe,isValidElement:C,lazy:Ce,memo:q,render:ge,startTransition:L,unmountComponentAtNode:Pe,unstable_batchedUpdates:G,useCallback:P,useContext:$,useDebugValue:D,useDeferredValue:V,useEffect:H,useErrorBoundary:Ae,useId:F,useImperativeHandle:O,useInsertionEffect:B,useLayoutEffect:v,useMemo:E,useReducer:S,useRef:R,useState:b,useSyncExternalStore:M,useTransition:W,version:ke},Symbol.toStringTag,{value:"Module"}));exports.$=K;exports.A=R;exports.D=z;exports.En=J;exports.F=O;exports.M=q;exports.N=g;exports.O=Qe;exports.O$1=j;exports.P=D;exports.Rn=Ue;exports.T=E;exports._=v;exports._n=Z;exports.d=b;exports.gn=G;exports.h=S;exports.mn=C;exports.q=P;exports.vn=ke;exports.x=$;exports.y=H;
|
|
1
|
+
"use strict";const o=require("./preact.module-8d1bbc3f.cjs");var d,a,T,X,y=0,he=[],l=o.l,ee=l.__b,te=l.__r,ne=l.diffed,_e=l.__c,re=l.unmount,oe=l.__;function h(e,t){l.__h&&l.__h(a,e,y||t),y=0;var n=a.__H||(a.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function b(e){return y=1,S(ve,e)}function S(e,t,n){var _=h(d++,2);if(_.t=e,!_.__c&&(_.__=[n?n(t):ve(void 0,t),function(f){var c=_.__N?_.__N[0]:_.__[0],s=_.t(c,f);c!==s&&(_.__N=[s,_.__[1]],_.__c.setState({}))}],_.__c=a,!a.__f)){var r=function(f,c,s){if(!_.__c.__H)return!0;var k=_.__c.__H.__.filter(function(p){return!!p.__c});if(k.every(function(p){return!p.__N}))return!i||i.call(this,f,c,s);var Q=_.__c.props!==f;return k.forEach(function(p){if(p.__N){var we=p.__[0];p.__=p.__N,p.__N=void 0,we!==p.__[0]&&(Q=!0)}}),i&&i.call(this,f,c,s)||Q};a.__f=!0;var i=a.shouldComponentUpdate,u=a.componentWillUpdate;a.componentWillUpdate=function(f,c,s){if(this.__e){var k=i;i=void 0,r(f,c,s),i=k}u&&u.call(this,f,c,s)},a.shouldComponentUpdate=r}return _.__N||_.__}function H(e,t){var n=h(d++,3);!l.__s&&I(n.__H,t)&&(n.__=e,n.u=t,a.__H.__h.push(n))}function v(e,t){var n=h(d++,4);!l.__s&&I(n.__H,t)&&(n.__=e,n.u=t,a.__h.push(n))}function R(e){return y=5,E(function(){return{current:e}},[])}function O(e,t,n){y=6,v(function(){if(typeof e=="function"){var _=e(t());return function(){e(null),_&&typeof _=="function"&&_()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function E(e,t){var n=h(d++,7);return I(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function P(e,t){return y=8,E(function(){return e},t)}function $(e){var t=a.context[e.__c],n=h(d++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(a)),t.props.value):e.__}function D(e,t){l.useDebugValue&&l.useDebugValue(t?t(e):e)}function Ae(e){var t=h(d++,10),n=b();return t.__=e,a.componentDidCatch||(a.componentDidCatch=function(_,r){t.__&&t.__(_,r),n[1](_)}),[n[0],function(){n[1](void 0)}]}function F(){var e=h(d++,11);if(!e.__){for(var t=a.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Fe(){for(var e;e=he.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(x),e.__H.__h.forEach(w),e.__H.__h=[]}catch(t){e.__H.__h=[],l.__e(t,e.__v)}}l.__b=function(e){a=null,ee&&ee(e)},l.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),oe&&oe(e,t)},l.__r=function(e){te&&te(e),d=0;var t=(a=e.__c).__H;t&&(T===a?(t.__h=[],a.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.forEach(x),t.__h.forEach(w),t.__h=[],d=0)),T=a},l.diffed=function(e){ne&&ne(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(he.push(t)!==1&&X===l.requestAnimationFrame||((X=l.requestAnimationFrame)||Ie)(Fe)),t.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),T=a=null},l.__c=function(e,t){t.some(function(n){try{n.__h.forEach(x),n.__h=n.__h.filter(function(_){return!_.__||w(_)})}catch(_){t.some(function(r){r.__h&&(r.__h=[])}),t=[],l.__e(_,n.__v)}}),_e&&_e(e,t)},l.unmount=function(e){re&&re(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(_){try{x(_)}catch(r){t=r}}),n.__H=void 0,t&&l.__e(t,n.__v))};var ue=typeof requestAnimationFrame=="function";function Ie(e){var t,n=function(){clearTimeout(_),ue&&cancelAnimationFrame(t),setTimeout(e)},_=setTimeout(n,35);ue&&(t=requestAnimationFrame(n))}function x(e){var t=a,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),a=t}function w(e){var t=a;e.__c=e.__(),a=t}function I(e,t){return!e||e.length!==t.length||t.some(function(n,_){return n!==e[_]})}function ve(e,t){return typeof t=="function"?t(e):t}function me(e,t){for(var n in t)e[n]=t[n];return e}function A(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var _ in t)if(_!=="__source"&&e[_]!==t[_])return!0;return!1}function M(e,t){var n=t(),_=b({t:{__:n,u:t}}),r=_[0].t,i=_[1];return v(function(){r.__=n,r.u=t,U(r)&&i({t:r})},[e,n,t]),H(function(){return U(r)&&i({t:r}),e(function(){U(r)&&i({t:r})})},[e]),n}function U(e){var t,n,_=e.u,r=e.__;try{var i=_();return!((t=r)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}function L(e){e()}function V(e){return e}function W(){return[!1,L]}var B=v;function g(e,t){this.props=e,this.context=t}function q(e,t){function n(r){var i=this.props.ref,u=i==r.ref;return!u&&i&&(i.call?i(null):i.current=null),t?!t(this.props,r)||!u:A(this.props,r)}function _(r){return this.shouldComponentUpdate=n,o._(e,r)}return _.displayName="Memo("+(e.displayName||e.name)+")",_.prototype.isReactComponent=!0,_.__f=!0,_}(g.prototype=new o.x).isPureReactComponent=!0,g.prototype.shouldComponentUpdate=function(e,t){return A(this.props,e)||A(this.state,t)};var ie=o.l.__b;o.l.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ie&&ie(e)};var Me=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function z(e){function t(n){var _=me({},n);return delete _.ref,e(_,n.ref||null)}return t.$$typeof=Me,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ae=function(e,t){return e==null?null:o.H(o.H(e).map(t))},j={map:ae,forEach:ae,count:function(e){return e?o.H(e).length:0},only:function(e){var t=o.H(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:o.H},Le=o.l.__e;o.l.__e=function(e,t,n,_){if(e.then){for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}Le(e,t,n,_)};var ce=o.l.unmount;function ye(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(_){typeof _.__c=="function"&&_.__c()}),e.__c.__H=null),(e=me({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(_){return ye(_,t,n)})),e}function be(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(_){return be(_,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function N(){this.__u=0,this.o=null,this.__b=null}function Ee(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ce(e){var t,n,_;function r(i){if(t||(t=e()).then(function(u){n=u.default||u},function(u){_=u}),_)throw _;if(!n)throw t;return o._(n,i)}return r.displayName="Lazy",r.__f=!0,r}function m(){this.i=null,this.l=null}o.l.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),ce&&ce(e)},(N.prototype=new o.x).__c=function(e,t){var n=t.__c,_=this;_.o==null&&(_.o=[]),_.o.push(n);var r=Ee(_.__v),i=!1,u=function(){i||(i=!0,n.__R=null,r?r(f):f())};n.__R=u;var f=function(){if(!--_.__u){if(_.state.__a){var c=_.state.__a;_.__v.__k[0]=be(c,c.__c.__P,c.__c.__O)}var s;for(_.setState({__a:_.__b=null});s=_.o.pop();)s.forceUpdate()}};_.__u++||32&t.__u||_.setState({__a:_.__b=_.__v.__k[0]}),e.then(u,u)},N.prototype.componentWillUnmount=function(){this.o=[]},N.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),_=this.__v.__k[0].__c;this.__v.__k[0]=ye(this.__b,n,_.__O=_.__P)}this.__b=null}var r=t.__a&&o._(o.k,null,e.fallback);return r&&(r.__u&=-33),[o._(o.k,null,t.__a?null:e.children),r]};var le=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};function Ve(e){return this.getChildContext=function(){return e.context},e.children}function We(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){o.E(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var _=t.__v;_!==null&&!_.__m&&_.__!==null;)_=_.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:_.__m},contains:function(){return!0},insertBefore:function(r,i){this.childNodes.push(r),t.h.insertBefore(r,i)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.h.removeChild(r)}}}o.E(o._(Ve,{context:t.context},e.__v),t.v)}function K(e,t){var n=o._(We,{__v:e,h:t});return n.containerInfo=t,n}(m.prototype=new o.x).__a=function(e){var t=this,n=Ee(t.__v),_=t.l.get(e);return _[0]++,function(r){var i=function(){t.props.revealOrder?(_.push(r),le(t,e,_)):r()};n?n(i):i()}},m.prototype.render=function(e){this.i=null,this.l=new Map;var t=o.H(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},m.prototype.componentDidUpdate=m.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){le(e,n,t)})};var Ne=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Be=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,qe=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,ze=/[A-Z0-9]/g,je=typeof document<"u",Ke=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ge(e,t,n){return t.__k==null&&(t.textContent=""),o.E(e,t),typeof n=="function"&&n(),e?e.__c:null}function Se(e,t,n){return o.G(e,t),typeof n=="function"&&n(),e?e.__c:null}o.x.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(o.x.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var fe=o.l.event;function Ye(){}function Ze(){return this.cancelBubble}function Ge(){return this.defaultPrevented}o.l.event=function(e){return fe&&(e=fe(e)),e.persist=Ye,e.isPropagationStopped=Ze,e.isDefaultPrevented=Ge,e.nativeEvent=e};var Y,Je={enumerable:!1,configurable:!0,get:function(){return this.class}},se=o.l.vnode;o.l.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,_=t.type,r={},i=_.indexOf("-")===-1;for(var u in n){var f=n[u];if(!(u==="value"&&"defaultValue"in n&&f==null||je&&u==="children"&&_==="noscript"||u==="class"||u==="className")){var c=u.toLowerCase();u==="defaultValue"&&"value"in n&&n.value==null?u="value":u==="download"&&f===!0?f="":c==="translate"&&f==="no"?f=!1:c[0]==="o"&&c[1]==="n"?c==="ondoubleclick"?u="ondblclick":c!=="onchange"||_!=="input"&&_!=="textarea"||Ke(n.type)?c==="onfocus"?u="onfocusin":c==="onblur"?u="onfocusout":qe.test(u)&&(u=c):c=u="oninput":i&&Be.test(u)?u=u.replace(ze,"-$&").toLowerCase():f===null&&(f=void 0),c==="oninput"&&r[u=c]&&(u="oninputCapture"),r[u]=f}}_=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=o.H(n.children).forEach(function(s){s.props.selected=r.value.indexOf(s.props.value)!=-1})),_=="select"&&r.defaultValue!=null&&(r.value=o.H(n.children).forEach(function(s){s.props.selected=r.multiple?r.defaultValue.indexOf(s.props.value)!=-1:r.defaultValue==s.props.value})),n.class&&!n.className?(r.class=n.class,Object.defineProperty(r,"className",Je)):(n.className&&!n.class||n.class&&n.className)&&(r.class=r.className=n.className),t.props=r}(e),e.$$typeof=Ne,se&&se(e)};var pe=o.l.__r;o.l.__r=function(e){pe&&pe(e),Y=e.__c};var de=o.l.diffed;o.l.diffed=function(e){de&&de(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Y=null};var He={ReactCurrentDispatcher:{current:{readContext:function(e){return Y.__n[e.__c].props.value},useCallback:P,useContext:$,useDebugValue:D,useDeferredValue:V,useEffect:H,useId:F,useImperativeHandle:O,useInsertionEffect:B,useLayoutEffect:v,useMemo:E,useReducer:S,useRef:R,useState:b,useSyncExternalStore:M,useTransition:W}}},ke="18.3.1";function xe(e){return o._.bind(null,e)}function C(e){return!!e&&e.$$typeof===Ne}function Re(e){return C(e)&&e.type===o.k}function Oe(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Z(e){return C(e)?o.J.apply(null,arguments):e}function Pe(e){return!!e.__k&&(o.E(null,e),!0)}function $e(e){return e&&(e.base||e.nodeType===1&&e)||null}var G=function(e,t){return e(t)},J=function(e,t){return e(t)},De=o.k,Te=C,Ue={useState:b,useId:F,useReducer:S,useEffect:H,useLayoutEffect:v,useInsertionEffect:B,useTransition:W,useDeferredValue:V,useSyncExternalStore:M,startTransition:L,useRef:R,useImperativeHandle:O,useMemo:E,useCallback:P,useContext:$,useDebugValue:D,version:"18.3.1",Children:j,render:ge,hydrate:Se,unmountComponentAtNode:Pe,createPortal:K,createElement:o._,createContext:o.K,createFactory:xe,cloneElement:Z,createRef:o.b,Fragment:o.k,isValidElement:C,isElement:Te,isFragment:Re,isMemo:Oe,findDOMNode:$e,Component:o.x,PureComponent:g,memo:q,forwardRef:z,flushSync:J,unstable_batchedUpdates:G,StrictMode:De,Suspense:N,SuspenseList:m,lazy:Ce,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:He};const Qe=Object.freeze(Object.defineProperty({__proto__:null,Children:j,Component:o.x,Fragment:o.k,PureComponent:g,StrictMode:De,Suspense:N,SuspenseList:m,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:He,cloneElement:Z,createContext:o.K,createElement:o._,createFactory:xe,createPortal:K,createRef:o.b,default:Ue,findDOMNode:$e,flushSync:J,forwardRef:z,hydrate:Se,isElement:Te,isFragment:Re,isMemo:Oe,isValidElement:C,lazy:Ce,memo:q,render:ge,startTransition:L,unmountComponentAtNode:Pe,unstable_batchedUpdates:G,useCallback:P,useContext:$,useDebugValue:D,useDeferredValue:V,useEffect:H,useErrorBoundary:Ae,useId:F,useImperativeHandle:O,useInsertionEffect:B,useLayoutEffect:v,useMemo:E,useReducer:S,useRef:R,useState:b,useSyncExternalStore:M,useTransition:W,version:ke},Symbol.toStringTag,{value:"Module"}));exports.$=K;exports.A=R;exports.D=z;exports.En=J;exports.F=O;exports.M=q;exports.N=g;exports.O=j;exports.P=D;exports.R=Qe;exports.Rn=Ue;exports.T=E;exports._=v;exports._n=Z;exports.d=b;exports.gn=G;exports.h=S;exports.mn=C;exports.q=P;exports.vn=ke;exports.x=$;exports.y=H;
|
|
@@ -53,7 +53,7 @@ function g(e, t) {
|
|
|
53
53
|
!c.__s && B(n.__H, t) && (n.__ = e, n.u = t, a.__h.push(n));
|
|
54
54
|
}
|
|
55
55
|
function F(e) {
|
|
56
|
-
return C = 5,
|
|
56
|
+
return C = 5, R(function() {
|
|
57
57
|
return { current: e };
|
|
58
58
|
}, []);
|
|
59
59
|
}
|
|
@@ -71,12 +71,12 @@ function I(e, t, n) {
|
|
|
71
71
|
};
|
|
72
72
|
}, n == null ? n : n.concat(e));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function R(e, t) {
|
|
75
75
|
var n = y(h++, 7);
|
|
76
76
|
return B(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
|
|
77
77
|
}
|
|
78
78
|
function L(e, t) {
|
|
79
|
-
return C = 8,
|
|
79
|
+
return C = 8, R(function() {
|
|
80
80
|
return e;
|
|
81
81
|
}, t);
|
|
82
82
|
}
|
|
@@ -370,7 +370,7 @@ function Ke(e) {
|
|
|
370
370
|
}
|
|
371
371
|
x(d(Je, { context: t.context }, e.__v), t.v);
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function Re(e, t) {
|
|
374
374
|
var n = d(Ke, { __v: e, h: t });
|
|
375
375
|
return n.containerInfo = t, n;
|
|
376
376
|
}
|
|
@@ -395,7 +395,7 @@ function ke(e, t) {
|
|
|
395
395
|
ie(e, n, t);
|
|
396
396
|
});
|
|
397
397
|
};
|
|
398
|
-
var
|
|
398
|
+
var ke = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Ye = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Ze = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Qe = /[A-Z0-9]/g, Xe = typeof document < "u", et = function(e) {
|
|
399
399
|
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
|
|
400
400
|
};
|
|
401
401
|
function $e(e, t, n) {
|
|
@@ -441,7 +441,7 @@ s.vnode = function(e) {
|
|
|
441
441
|
})), _ == "select" && r.defaultValue != null && (r.value = v(n.children).forEach(function(f) {
|
|
442
442
|
f.props.selected = r.multiple ? r.defaultValue.indexOf(f.props.value) != -1 : r.defaultValue == f.props.value;
|
|
443
443
|
})), n.class && !n.className ? (r.class = n.class, Object.defineProperty(r, "className", rt)) : (n.className && !n.class || n.class && n.className) && (r.class = r.className = n.className), t.props = r;
|
|
444
|
-
}(e), e.$$typeof =
|
|
444
|
+
}(e), e.$$typeof = ke, le && le(e);
|
|
445
445
|
};
|
|
446
446
|
var fe = s.__r;
|
|
447
447
|
s.__r = function(e) {
|
|
@@ -455,21 +455,21 @@ s.diffed = function(e) {
|
|
|
455
455
|
};
|
|
456
456
|
var xe = { ReactCurrentDispatcher: { current: { readContext: function(e) {
|
|
457
457
|
return K.__n[e.__c].props.value;
|
|
458
|
-
}, useCallback: L, useContext: M, useDebugValue: V, useDeferredValue: q, useEffect: D, useId: W, useImperativeHandle: I, useInsertionEffect: J, useLayoutEffect: g, useMemo:
|
|
458
|
+
}, useCallback: L, useContext: M, useDebugValue: V, useDeferredValue: q, useEffect: D, useId: W, useImperativeHandle: I, useInsertionEffect: J, useLayoutEffect: g, useMemo: R, useReducer: P, useRef: F, useState: S, useSyncExternalStore: z, useTransition: G } } }, ot = "18.3.1";
|
|
459
459
|
function Oe(e) {
|
|
460
460
|
return d.bind(null, e);
|
|
461
461
|
}
|
|
462
|
-
function
|
|
463
|
-
return !!e && e.$$typeof ===
|
|
462
|
+
function k(e) {
|
|
463
|
+
return !!e && e.$$typeof === ke;
|
|
464
464
|
}
|
|
465
465
|
function Pe(e) {
|
|
466
|
-
return
|
|
466
|
+
return k(e) && e.type === E;
|
|
467
467
|
}
|
|
468
468
|
function De(e) {
|
|
469
469
|
return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
|
|
470
470
|
}
|
|
471
471
|
function Te(e) {
|
|
472
|
-
return
|
|
472
|
+
return k(e) ? We.apply(null, arguments) : e;
|
|
473
473
|
}
|
|
474
474
|
function Ue(e) {
|
|
475
475
|
return !!e.__k && (x(null, e), !0);
|
|
@@ -481,7 +481,7 @@ var Ae = function(e, t) {
|
|
|
481
481
|
return e(t);
|
|
482
482
|
}, Fe = function(e, t) {
|
|
483
483
|
return e(t);
|
|
484
|
-
}, Ie = E, Le =
|
|
484
|
+
}, Ie = E, Le = k, ut = { useState: S, useId: W, useReducer: P, useEffect: D, useLayoutEffect: g, useInsertionEffect: J, useTransition: G, useDeferredValue: q, useSyncExternalStore: z, startTransition: j, useRef: F, useImperativeHandle: I, useMemo: R, useCallback: L, useContext: M, useDebugValue: V, version: "18.3.1", Children: Ee, render: $e, hydrate: He, unmountComponentAtNode: Ue, createPortal: Re, createElement: d, createContext: pe, createFactory: Oe, cloneElement: Te, createRef: de, Fragment: E, isValidElement: k, isElement: Le, isFragment: Pe, isMemo: De, findDOMNode: we, Component: m, PureComponent: O, memo: ye, forwardRef: be, flushSync: Fe, unstable_batchedUpdates: Ae, StrictMode: Ie, Suspense: N, SuspenseList: b, lazy: Se, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: xe };
|
|
485
485
|
const it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
486
486
|
__proto__: null,
|
|
487
487
|
Children: Ee,
|
|
@@ -496,7 +496,7 @@ const it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
496
496
|
createContext: pe,
|
|
497
497
|
createElement: d,
|
|
498
498
|
createFactory: Oe,
|
|
499
|
-
createPortal:
|
|
499
|
+
createPortal: Re,
|
|
500
500
|
createRef: de,
|
|
501
501
|
default: ut,
|
|
502
502
|
findDOMNode: we,
|
|
@@ -506,7 +506,7 @@ const it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
506
506
|
isElement: Le,
|
|
507
507
|
isFragment: Pe,
|
|
508
508
|
isMemo: De,
|
|
509
|
-
isValidElement:
|
|
509
|
+
isValidElement: k,
|
|
510
510
|
lazy: Se,
|
|
511
511
|
memo: ye,
|
|
512
512
|
render: $e,
|
|
@@ -523,7 +523,7 @@ const it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
523
523
|
useImperativeHandle: I,
|
|
524
524
|
useInsertionEffect: J,
|
|
525
525
|
useLayoutEffect: g,
|
|
526
|
-
useMemo:
|
|
526
|
+
useMemo: R,
|
|
527
527
|
useReducer: P,
|
|
528
528
|
useRef: F,
|
|
529
529
|
useState: S,
|
|
@@ -532,24 +532,24 @@ const it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
532
532
|
version: ot
|
|
533
533
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
534
534
|
export {
|
|
535
|
-
|
|
535
|
+
Re as $,
|
|
536
536
|
F as A,
|
|
537
537
|
be as D,
|
|
538
538
|
Fe as E,
|
|
539
539
|
I as F,
|
|
540
540
|
ye as M,
|
|
541
541
|
O as N,
|
|
542
|
-
|
|
542
|
+
Ee as O,
|
|
543
543
|
V as P,
|
|
544
544
|
ut as R,
|
|
545
|
-
|
|
545
|
+
R as T,
|
|
546
546
|
g as _,
|
|
547
547
|
Te as a,
|
|
548
|
-
|
|
548
|
+
it as b,
|
|
549
549
|
S as d,
|
|
550
550
|
Ae as g,
|
|
551
551
|
P as h,
|
|
552
|
-
|
|
552
|
+
k as m,
|
|
553
553
|
L as q,
|
|
554
554
|
ot as v,
|
|
555
555
|
M as x,
|
|
@@ -221,7 +221,10 @@ const e = {
|
|
|
221
221
|
renameWidget: "Rename Widget",
|
|
222
222
|
distributeEqualWidth: "Distribute equally in this row",
|
|
223
223
|
download: "Download",
|
|
224
|
-
csvFile: "CSV File"
|
|
224
|
+
csvFile: "CSV File",
|
|
225
|
+
excelFile: "Excel File",
|
|
226
|
+
repeatRowsRecommended: "Repeat rows (Recommended)",
|
|
227
|
+
mergeRows: "Merge rows"
|
|
225
228
|
}
|
|
226
229
|
},
|
|
227
230
|
customWidgets: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e={errors:{noSisenseContext:"Sisense context is not initialized",restApiNotReady:"Rest API is not initialized",componentRenderError:"Unable to render the component",sisenseContextNoAuthentication:"Authentication method is not specified",chartNoSisenseContext:"Sisense context for Chart not found. To fix, wrap the component with a Sisense context provider, or provide an existing dataSet via props.",widgetByIdNoSisenseContext:"Sisense context for Dashboard Widget not found. To fix, wrap the component with a Sisense context provider.",widgetByIdInvalidIdentifier:"Failed to retrieve widget {{widgetOid}} from dashboard {{dashboardOid}}. Please make sure the dashboard widget exists and is accessible.",dashboardWidgetsInvalidIdentifiers:"Failed to retrieve dashboard widgets from dashboard {{dashboardOid}}. Please make sure the dashboard exists and is accessible.",executeQueryNoSisenseContext:"Sisense context for query execution not found. To fix, wrap the component with a Sisense context provider.",executeQueryNoDataSource:"No dataSource provided to execute query",dataOptions:{noDimensionsAndMeasures:"Neither dimensions nor measures found. Data options should have at least one dimension or measure.",attributeNotFound:'Attribute "{{attributeName}}" not found in the data',measureNotFound:'Measure "{{measureName}}" not found in the data',filterAttributeNotFound:'Filter attribute "{{attributeName}}" not found in the data',highlightAttributeNotFound:'Highlight attribute "{{attributeName}}" not found in the data'},optionsTranslation:{invalidStyleOptions:"Invalid style options for '{{chartType}}' chart",invalidInternalDataOptions:"Data options are not correctly converted for '{{chartType}}' chart"},themeNotFound:"Theme with oid {{themeOid}} not found in the connected Sisense environment",paletteNotFound:"Palette '{{paletteName}}' not found in the connected Sisense environment",chartTypeNotSupported:"Chart type {{chartType}} is not supported",chartInvalidProps:"Invalid chart props for chart type: {{chartType}}",unsupportedWidgetType:"Cannot extract props for unsupported widget type - {{widgetType}}",dashboardInvalidIdentifier:"Failed to retrieve dashboard {{dashboardOid}}. Please ensure the dashboard exists, and is accessible to the current user.",sharedFormula:{identifierExpected:"Failed to retrieve shared formula. Please provide oid or both name and datasource. Provided values: name={{name}}, dataSource={{dataSource}}, oid={{oid}}",failedToFetchByOid:"Failed to fetch shared formula by oid {{oid}}",failedToFetchByName:"Failed to fetch shared formula by name {{name}} and dataSource {{dataSource}}"},widgetModel:{incompleteWidget:"WidgetModelTranslator: Widget can not be transformed to DTO because of incomplete property ({{prop}})",unsupportedWidgetTypeDto:"WidgetModelTranslator: Saving the widget of type {{chartType}} is not supported",pivotWidgetNotSupported:"WidgetModelTranslator: Pivot widget is not supported for method {{methodName}}",textWidgetNotSupported:"WidgetModelTranslator: Text widget is not supported for method {{methodName}}",onlyTableWidgetSupported:"WidgetModelTranslator: Only table widget is supported for method {{methodName}}",onlyPivotWidgetSupported:"WidgetModelTranslator: Only pivot widget is supported for method {{methodName}}",onlyTextWidgetSupported:"WidgetModelTranslator: Only text widget is supported for method {{methodName}}",onlyCustomWidgetSupported:"WidgetModelTranslator: Only custom widget is supported for method {{methodName}}",unsupportedWidgetType:"Unsupported widget type: {{widgetType}}",unsupportedFusionWidgetType:"Unsupported Fusion widget type: {{widgetType}}"},unknownFilterInFilterRelations:"Filter relationship contains a filter {{filterGuid}} which could not be found in the provided filters",invalidFilterType:"Invalid filter type. Expected: {{filterType}}",secondsDateTimeLevelIsNotSupported:"Datetime level 'seconds' is not supported for this datasource",missingMenuRoot:"Missing initialized menu root",missingModalRoot:"Missing initialized modal root",missingDataSource:"The 'dataSource' value is missing. It must be provided explicitly, or a 'defaultDataSource' should be specified in the Sisense context provider.",incorrectOnDataReadyHandler:"'onDataReady' handler must return a valid data object",emptyModel:"Empty model",missingMetadata:"Missing metadata",missingModelTitle:"Missing model title",httpClientNotFound:"HttpClient not found.",serverSettingsNotLoaded:"Failed to load server settings",requiredColumnMissing:"A required column is missing. {{hint}}",unexpectedChartType:"Unexpected chart type: {{chartType}}",noRowNumColumn:"Data has no row num column: {{columnName}}",tickIntervalCalculationFailed:"Unable to calculate tick interval. Try specifying datetime granularity.",polarChartDesignOptionsExpected:"Polar chart design options expected for polar chart",polarChartDesignOptionsNotExpected:"Polar chart design options not expected for non-polar chart",indicatorInvalidRelativeSize:"Invalid relative size options for indicator chart",unsupportedMapType:"Unsupported map type: {{mapType}}",mapLoadingFailed:"Failed loading map",cascadingFilterOriginalNotFound:"Error in cascading filters reassembling. Original cascading filter not found",dashboardLoadFailed:"Failed to load Dashboard. {{error}}",widgetLoadFailed:"Failed to load Widget. {{error}}",failedToAddWidget:"Failed to add widget to dashboard",widgetEmptyResponse:"Empty response for widget with oid {{widgetOid}}",dateFilterIncorrectOperator:"Incorrect operator: {{operator}}",synchronizedFilterInvalidProps:"`useSynchronizedFilter` hook must take at least one of [non-null `filterFromProps`] or [`createEmptyFilter` function]",unexpectedCacheValue:"Unexpected cache value",notAMembersFilter:"Filter is not a MembersFilter",drilldownNoInitialDimension:"Initial dimension has to be specified to use drilldown with custom components",otherWidgetTypesNotSupported:"Other widget types are not supported yet",dataBrowser:{dimensionNotFound:"Dimension with id {{dimensionId}} not found",attributeNotFound:"Attribute with id {{attributeId}} not found"},addFilterPopover:{noDataSources:"No data sources available. Try to define `dataSource` in widgets or `defaultDataSource` on the dashboard level."},tabberInvalidConfiguration:"Tabber widget configuration is invalid"},errorBoxText:"$t(common:error): {{errorMessage}}",chartNoData:"No Results",filters:"Filters",cancel:"Cancel",includeAll:"Include all",formatting:{number:{abbreviations:{thousand:"K",million:"M",billion:"B",trillion:"T"}}},criteriaFilter:{displayModePrefix:"All items",equals:"Equals {{val}}",notEquals:"Does not equal {{val}}",lessThan:"Less than {{val}}",lessThanOrEqual:"Less than or equal to {{val}}",greaterThan:"Greater than {{val}}",greaterThanOrEqual:"Greater than or equal to {{val}}",between:"Between {{valA}} and {{valB}}",notBetween:"Not between {{valA}} and {{valB}}",top:"Top {{valA}} by {{valB}}",bottom:"Last {{valA}} by {{valB}}",is:"Is {{val}}",isNot:"Is not {{val}}",contains:"Contains {{val}}",notContains:"Doesn't contain {{val}}",startsWith:"Starts with {{val}}",notStartsWith:"Doesn't start with {{val}}",endsWith:"Ends with {{val}}",notEndsWith:"Doesn't end with {{val}}",like:"Is like {{val}}",byMeasure:"By measure",by:"by"},dateFilter:{last:"Last",next:"Next",from:"From",to:"To",count:"Count",select:"Select",today:"Today",days:"Days",weeks:"Weeks",months:"Months",quarters:"Quarters",years:"Years",earliestDate:"Earliest Date",latestDate:"Latest Date",todayOutOfRange:"Today is outside of the available date range",dateRange:{fromTo:"{{from}} to {{to}}",from:"From {{val}}",to:"To {{val}}"}},boxplot:{tooltip:{whiskers:"Whiskers",box:"Box",min:"Min",median:"Median",max:"Max"}},treemap:{tooltip:{ofTotal:"of total",of:"of"}},advanced:{tooltip:{min:"Lower Bound",max:"Upper Bound",forecastValue:"Forecast Value",forecast:"Forecast",trend:"Trend",trendLocalValue:"Local Value",confidenceInterval:"Confidence Interval",trendType:"Type",trendDataKey:"Trend Data",trendData:{min:"Min",max:"Max",median:"Median",average:"Average"}}},arearange:{tooltip:{min:"Min",max:"Max"}},unsupportedFilterMessage:"Unsupported Filter (applied to the data query)",unsupportedFilter:"Unsupported filter {{filter}}",commonFilter:{clearSelectionButton:"Clear Selection",selectMenuItem:"Select",unselectMenuItem:"Un-Select"},customFilterTileMessage:"filtered with custom filter",filterRelations:{and:"AND",or:"OR",andOrFormulaApplied:"AND/OR Formula applied"},drilldown:{drillMenuItem:"Drill",breadcrumbsAllSuffix:"All",breadcrumbsPrev:"Prev",breadcrumbsNext:"Next",popover:{members:"Members",table:"Table",column:"Column"}},widgetHeader:{addTitle:"Add title",info:{details:"Widget Details",tooltip:"Click to view full details"},menu:{deleteWidget:"Delete Widget",renameWidget:"Rename Widget",distributeEqualWidth:"Distribute equally in this row",download:"Download",csvFile:"CSV File"}},customWidgets:{registerPrompt:"Unknown custom widget type: {{customWidgetType}}. Please register this custom widget."},ai:{analyticsChatbot:"Analytics Chatbot",dataTopics:"Data Topics",chatbotDescription:"Analytics Chatbot is designed to help you interact with your data using natural language.",topicSelectPrompt:"Pick a topic you would like to explore:",preview:"Preview",clearHistoryPrompt:"Do you want to clear this chat?",config:{inputPromptText:'Ask a question or type "/" for ideas',welcomeText:"Welcome to the Analytics Assistant! I can help you explore and gain insights from your data.",suggestionsWelcomeText:"Some questions you may have:"},buttons:{insights:"Insights",correctResponse:"Correct response",incorrectResponse:"Incorrect response",clearChat:"Clear chat",refresh:"Refresh",readMore:"Read more",collapse:"Collapse",yes:"Yes",no:"No",seeMore:"See more"},disclaimer:{poweredByAi:"Content is powered by AI, so surprises and mistakes are possible.",rateRequest:"Please rate responses so we can improve!"},errors:{chatUnavailable:"Chat unavailable. Please try again later.",fetchHistory:"Something went wrong and we were unable to retrieve the chat thread. Let's start over!",recommendationsNotAvailable:"Recommendations aren't available right now. Try again in a few minutes.",insightsNotAvailable:"No insights available.",VectorDBEmptyResponseError:"The AI configuration is not ready, please wait a few minutes and try again.",LlmBadConfigurationError:"The LLM configuration is wrong. Reach out to your Admin to update the LLM provider configuration.",ChartTypeUnsupportedError:"Requested chart type is not supported.",BlockedByLlmContentFiltering:"This question is blocked by our content management policy. Please try asking a different question.",LlmContextLengthExceedsLimitError:"Looks like you've reached the message length limit, please clear this conversation.",UserPromptExeedsLimitError:"The prompt exceeds the limit. Rephrase your question and use shorter prompt.",unexpectedChatResponse:"Oh snap, something went wrong. Please try again later or try asking a different question.",unexpected:"Oh snap, something went wrong. Please try again later.",unknownResponse:"Received unknown responseType, raw response=",invalidInput:"Invalid input",noAvailableDataTopics:"None of the provided data models or perspectives are available",failedToFetchCreditBalance:"Failed to fetch credit balance"},quota:{exceededErrorTitle:"AI responses are currently unavailable.",exceededErrorDescription:"You've reached your company monthly AI quota. The quota will automatically renew on your next monthly usage cycle.",warningDescription:"You've used {{usagePercentage}}% of your company monthly AI quota."}},attribute:{datetimeName:{years:"Years in {{columnName}}",quarters:"Quarters in {{columnName}}",months:"Months in {{columnName}}",weeks:"Weeks in {{columnName}}",days:"Days in {{columnName}}",hours:"Hours in {{columnName}}",minutes:"Minutes in {{columnName}}"}},filterEditor:{buttons:{apply:"Apply",cancel:"Cancel",selectAll:"Select All",clearAll:"Clear All"},labels:{includeAll:"Include all (no filter applied)",allowMultiSelection:"Allow multiselect for lists",from:"From",to:"To",includeCurrent:"Including current"},placeholders:{selectFromList:"Select from list",enterEntry:"Type your entry...",enterValue:"Enter value...",select:"Select"},conditions:{exclude:"Is not",contains:"Contains",notContain:"Does not contain",startsWith:"Starts with",notStartsWith:"Does not start with",endsWith:"Ends with",notEndsWith:"Does not end with",equals:"Equals",notEquals:"Does not equal",isEmpty:"Is empty",isNotEmpty:"Is not empty",lessThan:"Smaller than",lessThanOrEqual:"Equals or smaller than",greaterThan:"Greater than",greaterThanOrEqual:"Equals or greater than",isWithin:"Is within"},validationErrors:{invalidNumber:"Numbers only",invalidNumericRange:'"To" must be greater than "From"'},datetimeLevels:{year:"Year",quarter:"Quarter",month:"Month",week:"Week",day:"Day",aggrigatedHour:"Hour (aggregated)",aggrigatedMinutesRoundTo15:"15-min (aggregated)"},relativeTypes:{last:"Last",this:"This",next:"Next"},datetimePositions:{before:"Before",after:"After"}},dataBrowser:{addFilter:"Add Filter",selectField:"Select Field",configureFilter:"Configure Filter",noResults:"No results",searchPlaceholder:"Search",more:"More...",filter:"Filter",addMeasure:"Add Measure"},pivotTable:{grandTotal:"Grand Total",subTotal:"{{value}} Total",limits:{baseNote:"Totals may refer to the complete data if set by the dashboard owner. If available, you can use filters to display fewer rows and columns.",rowsLimit:"The Pivot table is limited to {{recordsCount}} records",columnsLimit:"The Pivot table is limited to {{columnsCount}} columns",columnsAndRowsLimit:"The Pivot table is limited to {{recordsCount}} records and {{columnsCount}} columns"}},dashboard:{toolbar:{undo:"Undo",redo:"Redo",cancel:"Cancel",apply:"Apply",editLayout:"Edit Layout",viewMode:"Switch to View mode",showFilters:"Show Filters",hideFilters:"Hide Filters",columns:"Columns",column:"Column"}},jumpToDashboard:{defaultCaption:"Jump to",jumpableTooltip:"This widget is jumpable"},calendarHeatmap:{navigation:{firstMonth:"First Month",lastMonth:"Last Month",previousMonth:"Previous Month",nextMonth:"Next Month",previousGroup:"Previous Group",nextGroup:"Next Group"}},filterTile:{menu:{lock:"Lock",unlock:"Unlock",lockGroup:"Lock Group",unlockGroup:"Unlock Group"},toggleSwitch:"Enable/disable filter"},chart:{indicator:{label:"Indicator chart"},visualization:{label:"Data visualization"},pivotTable:{label:"Pivot table"},table:{label:"Data table"}},loadingOverlay:{label:"Loading content"},queryDefinition:{showMorePills:"Show {{count}} more",showLess:"Show less",connectorBy:"by",connectorWhere:"where",tooltipType:"Type",tooltipColumn:"Column",tooltipFormula:"Formula"},measures:{countShort:"# of {{level}}",countDistinct:"Count Unique",count:"Count All",average:"Average",sum:"Sum",min:"Min",max:"Max",stdev:"Standard Deviation",median:"Median",variance:"Variance"}},t="sdkUi",o={en:e,"en-US":e};exports.e=e;exports.o=o;exports.t=t;
|
|
1
|
+
"use strict";const e={errors:{noSisenseContext:"Sisense context is not initialized",restApiNotReady:"Rest API is not initialized",componentRenderError:"Unable to render the component",sisenseContextNoAuthentication:"Authentication method is not specified",chartNoSisenseContext:"Sisense context for Chart not found. To fix, wrap the component with a Sisense context provider, or provide an existing dataSet via props.",widgetByIdNoSisenseContext:"Sisense context for Dashboard Widget not found. To fix, wrap the component with a Sisense context provider.",widgetByIdInvalidIdentifier:"Failed to retrieve widget {{widgetOid}} from dashboard {{dashboardOid}}. Please make sure the dashboard widget exists and is accessible.",dashboardWidgetsInvalidIdentifiers:"Failed to retrieve dashboard widgets from dashboard {{dashboardOid}}. Please make sure the dashboard exists and is accessible.",executeQueryNoSisenseContext:"Sisense context for query execution not found. To fix, wrap the component with a Sisense context provider.",executeQueryNoDataSource:"No dataSource provided to execute query",dataOptions:{noDimensionsAndMeasures:"Neither dimensions nor measures found. Data options should have at least one dimension or measure.",attributeNotFound:'Attribute "{{attributeName}}" not found in the data',measureNotFound:'Measure "{{measureName}}" not found in the data',filterAttributeNotFound:'Filter attribute "{{attributeName}}" not found in the data',highlightAttributeNotFound:'Highlight attribute "{{attributeName}}" not found in the data'},optionsTranslation:{invalidStyleOptions:"Invalid style options for '{{chartType}}' chart",invalidInternalDataOptions:"Data options are not correctly converted for '{{chartType}}' chart"},themeNotFound:"Theme with oid {{themeOid}} not found in the connected Sisense environment",paletteNotFound:"Palette '{{paletteName}}' not found in the connected Sisense environment",chartTypeNotSupported:"Chart type {{chartType}} is not supported",chartInvalidProps:"Invalid chart props for chart type: {{chartType}}",unsupportedWidgetType:"Cannot extract props for unsupported widget type - {{widgetType}}",dashboardInvalidIdentifier:"Failed to retrieve dashboard {{dashboardOid}}. Please ensure the dashboard exists, and is accessible to the current user.",sharedFormula:{identifierExpected:"Failed to retrieve shared formula. Please provide oid or both name and datasource. Provided values: name={{name}}, dataSource={{dataSource}}, oid={{oid}}",failedToFetchByOid:"Failed to fetch shared formula by oid {{oid}}",failedToFetchByName:"Failed to fetch shared formula by name {{name}} and dataSource {{dataSource}}"},widgetModel:{incompleteWidget:"WidgetModelTranslator: Widget can not be transformed to DTO because of incomplete property ({{prop}})",unsupportedWidgetTypeDto:"WidgetModelTranslator: Saving the widget of type {{chartType}} is not supported",pivotWidgetNotSupported:"WidgetModelTranslator: Pivot widget is not supported for method {{methodName}}",textWidgetNotSupported:"WidgetModelTranslator: Text widget is not supported for method {{methodName}}",onlyTableWidgetSupported:"WidgetModelTranslator: Only table widget is supported for method {{methodName}}",onlyPivotWidgetSupported:"WidgetModelTranslator: Only pivot widget is supported for method {{methodName}}",onlyTextWidgetSupported:"WidgetModelTranslator: Only text widget is supported for method {{methodName}}",onlyCustomWidgetSupported:"WidgetModelTranslator: Only custom widget is supported for method {{methodName}}",unsupportedWidgetType:"Unsupported widget type: {{widgetType}}",unsupportedFusionWidgetType:"Unsupported Fusion widget type: {{widgetType}}"},unknownFilterInFilterRelations:"Filter relationship contains a filter {{filterGuid}} which could not be found in the provided filters",invalidFilterType:"Invalid filter type. Expected: {{filterType}}",secondsDateTimeLevelIsNotSupported:"Datetime level 'seconds' is not supported for this datasource",missingMenuRoot:"Missing initialized menu root",missingModalRoot:"Missing initialized modal root",missingDataSource:"The 'dataSource' value is missing. It must be provided explicitly, or a 'defaultDataSource' should be specified in the Sisense context provider.",incorrectOnDataReadyHandler:"'onDataReady' handler must return a valid data object",emptyModel:"Empty model",missingMetadata:"Missing metadata",missingModelTitle:"Missing model title",httpClientNotFound:"HttpClient not found.",serverSettingsNotLoaded:"Failed to load server settings",requiredColumnMissing:"A required column is missing. {{hint}}",unexpectedChartType:"Unexpected chart type: {{chartType}}",noRowNumColumn:"Data has no row num column: {{columnName}}",tickIntervalCalculationFailed:"Unable to calculate tick interval. Try specifying datetime granularity.",polarChartDesignOptionsExpected:"Polar chart design options expected for polar chart",polarChartDesignOptionsNotExpected:"Polar chart design options not expected for non-polar chart",indicatorInvalidRelativeSize:"Invalid relative size options for indicator chart",unsupportedMapType:"Unsupported map type: {{mapType}}",mapLoadingFailed:"Failed loading map",cascadingFilterOriginalNotFound:"Error in cascading filters reassembling. Original cascading filter not found",dashboardLoadFailed:"Failed to load Dashboard. {{error}}",widgetLoadFailed:"Failed to load Widget. {{error}}",failedToAddWidget:"Failed to add widget to dashboard",widgetEmptyResponse:"Empty response for widget with oid {{widgetOid}}",dateFilterIncorrectOperator:"Incorrect operator: {{operator}}",synchronizedFilterInvalidProps:"`useSynchronizedFilter` hook must take at least one of [non-null `filterFromProps`] or [`createEmptyFilter` function]",unexpectedCacheValue:"Unexpected cache value",notAMembersFilter:"Filter is not a MembersFilter",drilldownNoInitialDimension:"Initial dimension has to be specified to use drilldown with custom components",otherWidgetTypesNotSupported:"Other widget types are not supported yet",dataBrowser:{dimensionNotFound:"Dimension with id {{dimensionId}} not found",attributeNotFound:"Attribute with id {{attributeId}} not found"},addFilterPopover:{noDataSources:"No data sources available. Try to define `dataSource` in widgets or `defaultDataSource` on the dashboard level."},tabberInvalidConfiguration:"Tabber widget configuration is invalid"},errorBoxText:"$t(common:error): {{errorMessage}}",chartNoData:"No Results",filters:"Filters",cancel:"Cancel",includeAll:"Include all",formatting:{number:{abbreviations:{thousand:"K",million:"M",billion:"B",trillion:"T"}}},criteriaFilter:{displayModePrefix:"All items",equals:"Equals {{val}}",notEquals:"Does not equal {{val}}",lessThan:"Less than {{val}}",lessThanOrEqual:"Less than or equal to {{val}}",greaterThan:"Greater than {{val}}",greaterThanOrEqual:"Greater than or equal to {{val}}",between:"Between {{valA}} and {{valB}}",notBetween:"Not between {{valA}} and {{valB}}",top:"Top {{valA}} by {{valB}}",bottom:"Last {{valA}} by {{valB}}",is:"Is {{val}}",isNot:"Is not {{val}}",contains:"Contains {{val}}",notContains:"Doesn't contain {{val}}",startsWith:"Starts with {{val}}",notStartsWith:"Doesn't start with {{val}}",endsWith:"Ends with {{val}}",notEndsWith:"Doesn't end with {{val}}",like:"Is like {{val}}",byMeasure:"By measure",by:"by"},dateFilter:{last:"Last",next:"Next",from:"From",to:"To",count:"Count",select:"Select",today:"Today",days:"Days",weeks:"Weeks",months:"Months",quarters:"Quarters",years:"Years",earliestDate:"Earliest Date",latestDate:"Latest Date",todayOutOfRange:"Today is outside of the available date range",dateRange:{fromTo:"{{from}} to {{to}}",from:"From {{val}}",to:"To {{val}}"}},boxplot:{tooltip:{whiskers:"Whiskers",box:"Box",min:"Min",median:"Median",max:"Max"}},treemap:{tooltip:{ofTotal:"of total",of:"of"}},advanced:{tooltip:{min:"Lower Bound",max:"Upper Bound",forecastValue:"Forecast Value",forecast:"Forecast",trend:"Trend",trendLocalValue:"Local Value",confidenceInterval:"Confidence Interval",trendType:"Type",trendDataKey:"Trend Data",trendData:{min:"Min",max:"Max",median:"Median",average:"Average"}}},arearange:{tooltip:{min:"Min",max:"Max"}},unsupportedFilterMessage:"Unsupported Filter (applied to the data query)",unsupportedFilter:"Unsupported filter {{filter}}",commonFilter:{clearSelectionButton:"Clear Selection",selectMenuItem:"Select",unselectMenuItem:"Un-Select"},customFilterTileMessage:"filtered with custom filter",filterRelations:{and:"AND",or:"OR",andOrFormulaApplied:"AND/OR Formula applied"},drilldown:{drillMenuItem:"Drill",breadcrumbsAllSuffix:"All",breadcrumbsPrev:"Prev",breadcrumbsNext:"Next",popover:{members:"Members",table:"Table",column:"Column"}},widgetHeader:{addTitle:"Add title",info:{details:"Widget Details",tooltip:"Click to view full details"},menu:{deleteWidget:"Delete Widget",renameWidget:"Rename Widget",distributeEqualWidth:"Distribute equally in this row",download:"Download",csvFile:"CSV File",excelFile:"Excel File",repeatRowsRecommended:"Repeat rows (Recommended)",mergeRows:"Merge rows"}},customWidgets:{registerPrompt:"Unknown custom widget type: {{customWidgetType}}. Please register this custom widget."},ai:{analyticsChatbot:"Analytics Chatbot",dataTopics:"Data Topics",chatbotDescription:"Analytics Chatbot is designed to help you interact with your data using natural language.",topicSelectPrompt:"Pick a topic you would like to explore:",preview:"Preview",clearHistoryPrompt:"Do you want to clear this chat?",config:{inputPromptText:'Ask a question or type "/" for ideas',welcomeText:"Welcome to the Analytics Assistant! I can help you explore and gain insights from your data.",suggestionsWelcomeText:"Some questions you may have:"},buttons:{insights:"Insights",correctResponse:"Correct response",incorrectResponse:"Incorrect response",clearChat:"Clear chat",refresh:"Refresh",readMore:"Read more",collapse:"Collapse",yes:"Yes",no:"No",seeMore:"See more"},disclaimer:{poweredByAi:"Content is powered by AI, so surprises and mistakes are possible.",rateRequest:"Please rate responses so we can improve!"},errors:{chatUnavailable:"Chat unavailable. Please try again later.",fetchHistory:"Something went wrong and we were unable to retrieve the chat thread. Let's start over!",recommendationsNotAvailable:"Recommendations aren't available right now. Try again in a few minutes.",insightsNotAvailable:"No insights available.",VectorDBEmptyResponseError:"The AI configuration is not ready, please wait a few minutes and try again.",LlmBadConfigurationError:"The LLM configuration is wrong. Reach out to your Admin to update the LLM provider configuration.",ChartTypeUnsupportedError:"Requested chart type is not supported.",BlockedByLlmContentFiltering:"This question is blocked by our content management policy. Please try asking a different question.",LlmContextLengthExceedsLimitError:"Looks like you've reached the message length limit, please clear this conversation.",UserPromptExeedsLimitError:"The prompt exceeds the limit. Rephrase your question and use shorter prompt.",unexpectedChatResponse:"Oh snap, something went wrong. Please try again later or try asking a different question.",unexpected:"Oh snap, something went wrong. Please try again later.",unknownResponse:"Received unknown responseType, raw response=",invalidInput:"Invalid input",noAvailableDataTopics:"None of the provided data models or perspectives are available",failedToFetchCreditBalance:"Failed to fetch credit balance"},quota:{exceededErrorTitle:"AI responses are currently unavailable.",exceededErrorDescription:"You've reached your company monthly AI quota. The quota will automatically renew on your next monthly usage cycle.",warningDescription:"You've used {{usagePercentage}}% of your company monthly AI quota."}},attribute:{datetimeName:{years:"Years in {{columnName}}",quarters:"Quarters in {{columnName}}",months:"Months in {{columnName}}",weeks:"Weeks in {{columnName}}",days:"Days in {{columnName}}",hours:"Hours in {{columnName}}",minutes:"Minutes in {{columnName}}"}},filterEditor:{buttons:{apply:"Apply",cancel:"Cancel",selectAll:"Select All",clearAll:"Clear All"},labels:{includeAll:"Include all (no filter applied)",allowMultiSelection:"Allow multiselect for lists",from:"From",to:"To",includeCurrent:"Including current"},placeholders:{selectFromList:"Select from list",enterEntry:"Type your entry...",enterValue:"Enter value...",select:"Select"},conditions:{exclude:"Is not",contains:"Contains",notContain:"Does not contain",startsWith:"Starts with",notStartsWith:"Does not start with",endsWith:"Ends with",notEndsWith:"Does not end with",equals:"Equals",notEquals:"Does not equal",isEmpty:"Is empty",isNotEmpty:"Is not empty",lessThan:"Smaller than",lessThanOrEqual:"Equals or smaller than",greaterThan:"Greater than",greaterThanOrEqual:"Equals or greater than",isWithin:"Is within"},validationErrors:{invalidNumber:"Numbers only",invalidNumericRange:'"To" must be greater than "From"'},datetimeLevels:{year:"Year",quarter:"Quarter",month:"Month",week:"Week",day:"Day",aggrigatedHour:"Hour (aggregated)",aggrigatedMinutesRoundTo15:"15-min (aggregated)"},relativeTypes:{last:"Last",this:"This",next:"Next"},datetimePositions:{before:"Before",after:"After"}},dataBrowser:{addFilter:"Add Filter",selectField:"Select Field",configureFilter:"Configure Filter",noResults:"No results",searchPlaceholder:"Search",more:"More...",filter:"Filter",addMeasure:"Add Measure"},pivotTable:{grandTotal:"Grand Total",subTotal:"{{value}} Total",limits:{baseNote:"Totals may refer to the complete data if set by the dashboard owner. If available, you can use filters to display fewer rows and columns.",rowsLimit:"The Pivot table is limited to {{recordsCount}} records",columnsLimit:"The Pivot table is limited to {{columnsCount}} columns",columnsAndRowsLimit:"The Pivot table is limited to {{recordsCount}} records and {{columnsCount}} columns"}},dashboard:{toolbar:{undo:"Undo",redo:"Redo",cancel:"Cancel",apply:"Apply",editLayout:"Edit Layout",viewMode:"Switch to View mode",showFilters:"Show Filters",hideFilters:"Hide Filters",columns:"Columns",column:"Column"}},jumpToDashboard:{defaultCaption:"Jump to",jumpableTooltip:"This widget is jumpable"},calendarHeatmap:{navigation:{firstMonth:"First Month",lastMonth:"Last Month",previousMonth:"Previous Month",nextMonth:"Next Month",previousGroup:"Previous Group",nextGroup:"Next Group"}},filterTile:{menu:{lock:"Lock",unlock:"Unlock",lockGroup:"Lock Group",unlockGroup:"Unlock Group"},toggleSwitch:"Enable/disable filter"},chart:{indicator:{label:"Indicator chart"},visualization:{label:"Data visualization"},pivotTable:{label:"Pivot table"},table:{label:"Data table"}},loadingOverlay:{label:"Loading content"},queryDefinition:{showMorePills:"Show {{count}} more",showLess:"Show less",connectorBy:"by",connectorWhere:"where",tooltipType:"Type",tooltipColumn:"Column",tooltipFormula:"Formula"},measures:{countShort:"# of {{level}}",countDistinct:"Count Unique",count:"Count All",average:"Average",sum:"Sum",min:"Min",max:"Max",stdev:"Standard Deviation",median:"Median",variance:"Variance"}},t="sdkUi",o={en:e,"en-US":e};exports.e=e;exports.o=o;exports.t=t;
|