@malloy-publisher/sdk 0.17.0 → 0.17.1
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/README.md +32 -50
- package/dist/{RenderedResult-BcEDcw0V.es.js → RenderedResult-CYJ2Y9Fm.es.js} +24 -24
- package/dist/{RenderedResult-uT2oc6ke.cjs.js → RenderedResult-hRvgFMAF.cjs.js} +1 -1
- package/dist/ServerProvider-DeVejmVr.cjs.js +1 -0
- package/dist/{ServerProvider-vmEUjlEu.es.js → ServerProvider-DzzfVDg_.es.js} +1314 -1712
- package/dist/builder/index.cjs.js +12 -12
- package/dist/builder/index.es.js +4 -9
- package/dist/client/api.d.ts +54 -505
- package/dist/client/configuration.d.ts +1 -1
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.es.js +132 -144
- package/dist/components/Dashboard/DashboardGrid.d.ts +1 -1
- package/dist/components/Model/ExplorerPage.d.ts +1 -3
- package/dist/components/Model/Model.d.ts +1 -4
- package/dist/components/Model/ModelExplorer.d.ts +1 -2
- package/dist/components/Package/reportQueries.d.ts +2 -4
- package/dist/components/Report/Report.d.ts +20 -9
- package/dist/components/{legacy → Report}/malloynb/CellRunnerView.d.ts +13 -16
- package/dist/components/Report/malloynb/MalloynbReport.d.ts +11 -0
- package/dist/components/{legacy → Report}/malloynb/cellKind.d.ts +1 -1
- package/dist/components/ServerProvider.d.ts +1 -3
- package/dist/components/drill/drillClauses.d.ts +8 -9
- package/dist/components/drill/rowsTarget.d.ts +7 -9
- package/dist/components/legacy/index.d.ts +3 -7
- package/dist/components/modelPage.d.ts +2 -5
- package/dist/hooks/useModelGivens.d.ts +2 -2
- package/dist/hooks/useQueryResult.d.ts +7 -0
- package/dist/index.cjs.js +33 -33
- package/dist/index.es.js +8799 -8903
- package/dist/{useCompiledDocument-h5-Kc1Zh.cjs.js → useCompiledDocument-BCr-xB_i.cjs.js} +4 -4
- package/dist/{useCompiledDocument-rOwDSK_s.es.js → useCompiledDocument-E0tU5KzP.es.js} +266 -277
- package/package.json +1 -1
- package/src/components/Dashboard/DashboardGrid.tsx +1 -1
- package/src/components/Dashboard/DashboardTile.spec.tsx +1 -1
- package/src/components/Model/ExplorerPage.tsx +1 -3
- package/src/components/Model/Model.tsx +1 -4
- package/src/components/Model/ModelExplorer.tsx +1 -2
- package/src/components/Package/Package.tsx +1 -5
- package/src/components/Package/reportQueries.ts +3 -15
- package/src/components/Report/Report.malloynb.spec.tsx +230 -0
- package/src/components/Report/Report.spec.tsx +429 -38
- package/src/components/Report/Report.telemetry.spec.tsx +51 -10
- package/src/components/Report/Report.tsx +63 -44
- package/src/components/{legacy → Report}/malloynb/CellRunnerView.spec.tsx +11 -44
- package/src/components/{legacy → Report}/malloynb/CellRunnerView.tsx +63 -107
- package/src/components/Report/malloynb/MalloynbReport.tsx +110 -0
- package/src/components/{legacy → Report}/malloynb/cellKind.ts +5 -4
- package/src/components/ReportBuilder/EditorSurface.tsx +3 -3
- package/src/components/ReportBuilder/ReportBuilder.spec.tsx +2 -2
- package/src/components/ReportBuilder/ReportEditor.notebook.spec.tsx +0 -4
- package/src/components/ReportBuilder/ReportEditor.queryVersion.spec.tsx +0 -1
- package/src/components/ReportBuilder/ReportEditor.resourceUri.spec.tsx +3 -3
- package/src/components/ReportBuilder/ReportEditor.tsx +1 -1
- package/src/components/ReportBuilder/loadMalloy.ts +1 -4
- package/src/components/ReportBuilder/useSaveChannel.ts +1 -6
- package/src/components/ServerProvider.tsx +0 -4
- package/src/components/drill/drillClauses.ts +8 -9
- package/src/components/drill/rowsTarget.ts +7 -9
- package/src/components/index.ts +2 -3
- package/src/components/legacy/index.ts +3 -7
- package/src/components/modelPage.ts +2 -5
- package/src/hooks/useGivensState.ts +8 -8
- package/src/hooks/useModelGivens.ts +2 -2
- package/src/hooks/useQueryResult.ts +30 -18
- package/test/README.md +4 -4
- package/dist/ServerProvider-DDRwHiPz.cjs.js +0 -1
- package/dist/components/legacy/Dashboard.d.ts +0 -68
- package/dist/components/legacy/malloynb/MalloynbCells.d.ts +0 -13
- package/dist/components/legacy/malloynb/Notebook.d.ts +0 -15
- package/dist/components/legacy/queryKeys.d.ts +0 -8
- package/src/components/legacy/Dashboard.spec.tsx +0 -242
- package/src/components/legacy/Dashboard.tsx +0 -181
- package/src/components/legacy/malloynb/MalloynbCells.tsx +0 -88
- package/src/components/legacy/malloynb/Notebook.layout.spec.tsx +0 -103
- package/src/components/legacy/malloynb/Notebook.served.spec.tsx +0 -84
- package/src/components/legacy/malloynb/Notebook.spec.tsx +0 -223
- package/src/components/legacy/malloynb/Notebook.tsx +0 -46
- package/src/components/legacy/queryKeys.ts +0 -26
- /package/dist/components/{legacy → Report}/malloynb/NotebookCell.d.ts +0 -0
- /package/dist/components/{legacy → Report}/malloynb/runPlan.d.ts +0 -0
- /package/dist/components/{legacy → Report}/malloynb/types.d.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/NotebookCell.tsx +0 -0
- /package/src/components/{legacy → Report}/malloynb/cellKind.spec.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/runPlan.spec.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/runPlan.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/types.ts +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as S, jsxs as re, Fragment as Bt } from "react/jsx-runtime";
|
|
2
2
|
import { Box as be, Dialog as Ed, DialogTitle as Od, IconButton as Qn, DialogContent as Ad, Typography as Ge, Stack as wt, DialogActions as Fd, Button as st, Tooltip as wn, TextField as Vn, InputAdornment as Wl, Alert as Ld, Autocomplete as Nd, CircularProgress as Hl, FormControl as Ki, Slider as Bd, FormHelperText as Xi, FormControlLabel as Vd, Checkbox as zd, Paper as ni, MenuItem as An, ButtonBase as Ul, Popover as _d, LinearProgress as Wd } from "@mui/material";
|
|
3
|
-
import {
|
|
3
|
+
import { bq as Ke, bv as Zn, bw as Hd, br as Jn, bp as Yl, bF as Ud } from "./ServerProvider-DzzfVDg_.es.js";
|
|
4
4
|
import * as x from "react";
|
|
5
|
-
import xt, { useState as Oe, useEffect as He, useRef as Ye, useId as jl, useMemo as Ve, useCallback as et,
|
|
5
|
+
import xt, { useState as Oe, useEffect as He, useRef as Ye, useId as jl, useMemo as Ve, useCallback as et, useContext as er, createContext as Fo, isValidElement as co, cloneElement as uo, Children as Yd, Suspense as jd, lazy as Gd } from "react";
|
|
6
6
|
import { useQueries as Gl, QueryClientContext as qd, useQuery as Kd, useMutation as Xd, keepPreviousData as Qd } from "@tanstack/react-query";
|
|
7
7
|
import { ThemeContext as Zd } from "@emotion/react";
|
|
8
8
|
import { createSpacing as Jd, unstable_createGetCssVar as ep, useTheme as tp, GlobalStyles as np, unstable_memoTheme as rp, keyframes as Br, css as ql, shouldForwardProp as op, alpha as zn } from "@mui/system";
|
|
@@ -84,7 +84,7 @@ function Zi(...e) {
|
|
|
84
84
|
function rn(e) {
|
|
85
85
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function _M(e) {
|
|
88
88
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
89
89
|
var t = e.default;
|
|
90
90
|
if (typeof t == "function") {
|
|
@@ -3114,19 +3114,19 @@ function Hh(e, t) {
|
|
|
3114
3114
|
}
|
|
3115
3115
|
const pc = Ae(/* @__PURE__ */ S("path", {
|
|
3116
3116
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
3117
|
-
})), Uh = 2, Yh = 24,
|
|
3117
|
+
})), Uh = 2, Yh = 24, WM = (e, t, n) => Math.min(Math.max(e + t, 1), Math.min(n, Yh)), Vt = 16, HM = Vt / 2;
|
|
3118
3118
|
function jh(e, t) {
|
|
3119
3119
|
const n = Math.min(e.colspan ?? 1, t);
|
|
3120
3120
|
return e.break ? `1 / span ${n}` : `span ${n}`;
|
|
3121
3121
|
}
|
|
3122
|
-
const di = 80, Gh = 3,
|
|
3122
|
+
const di = 80, Gh = 3, UM = 2, YM = 1, qh = 16, Kh = (e) => e * di + (e - 1) * Vt, jM = (e, t = Gh) => Math.min(
|
|
3123
3123
|
Math.max(
|
|
3124
3124
|
Math.round((e + Vt) / (di + Vt)),
|
|
3125
3125
|
t
|
|
3126
3126
|
),
|
|
3127
3127
|
qh
|
|
3128
3128
|
), Xh = 240;
|
|
3129
|
-
function
|
|
3129
|
+
function GM(e, t, n = Xh) {
|
|
3130
3130
|
const [r, o] = Oe(0);
|
|
3131
3131
|
return He(() => {
|
|
3132
3132
|
const s = e.current;
|
|
@@ -3155,7 +3155,7 @@ function Jh(e, t, n) {
|
|
|
3155
3155
|
};
|
|
3156
3156
|
}
|
|
3157
3157
|
const em = (e) => e.row === void 0 ? 1e6 : e.row * 1e3 + (e.col ?? 0);
|
|
3158
|
-
function
|
|
3158
|
+
function qM({
|
|
3159
3159
|
tiles: e,
|
|
3160
3160
|
columns: t,
|
|
3161
3161
|
keyOf: n,
|
|
@@ -3306,7 +3306,7 @@ function mc(e) {
|
|
|
3306
3306
|
(r) => Ns.has(r)
|
|
3307
3307
|
);
|
|
3308
3308
|
}
|
|
3309
|
-
function
|
|
3309
|
+
function KM() {
|
|
3310
3310
|
return [
|
|
3311
3311
|
"#",
|
|
3312
3312
|
...pi.filter((e) => e !== "big_value").map(
|
|
@@ -3314,7 +3314,7 @@ function XM() {
|
|
|
3314
3314
|
)
|
|
3315
3315
|
].join(" ");
|
|
3316
3316
|
}
|
|
3317
|
-
function
|
|
3317
|
+
function XM(e, t) {
|
|
3318
3318
|
return ["#", ...pi.filter(
|
|
3319
3319
|
(r) => r !== e && (t === void 0 || t.includes(r) || e === "none" && r === "big_value")
|
|
3320
3320
|
).map((r) => `-${r}`), "-viz", ...e === "none" ? [] : [e]].join(
|
|
@@ -3330,22 +3330,22 @@ function rm(e) {
|
|
|
3330
3330
|
const t = Xo(e[0]);
|
|
3331
3331
|
return t ? nm(t) : "custom";
|
|
3332
3332
|
}
|
|
3333
|
-
function
|
|
3333
|
+
function QM(e) {
|
|
3334
3334
|
const t = e.filter((n) => Xo(n));
|
|
3335
3335
|
return e.some(mc) ? "custom" : t.length === 0 ? void 0 : rm(t);
|
|
3336
3336
|
}
|
|
3337
3337
|
const om = /^#[ \t]*theme\.palette\.series[ \t]*=[ \t]*\[[ \t]*"(#[0-9A-Fa-f]{6})"[ \t]*\][ \t]*$/;
|
|
3338
|
-
function
|
|
3338
|
+
function ZM(e) {
|
|
3339
3339
|
return om.exec(e.trim())?.[1]?.toLowerCase();
|
|
3340
3340
|
}
|
|
3341
|
-
const
|
|
3342
|
-
function
|
|
3341
|
+
const JM = (e) => `# theme.palette.series=["${e.toLowerCase()}"]`, eD = "# -theme.palette.series", sm = (e) => /^#[0-9A-Fa-f]{6}$/.test(e);
|
|
3342
|
+
function tD(e) {
|
|
3343
3343
|
const t = e.trim().toLowerCase();
|
|
3344
3344
|
if (sm(t)) return t;
|
|
3345
3345
|
const n = /^#([0-9a-f])([0-9a-f])([0-9a-f])$/.exec(t);
|
|
3346
3346
|
return n ? `#${n[1]}${n[1]}${n[2]}${n[2]}${n[3]}${n[3]}` : void 0;
|
|
3347
3347
|
}
|
|
3348
|
-
const
|
|
3348
|
+
const nD = (e) => e.filter((t) => Xo(t) || mc(t)), fi = Ae(/* @__PURE__ */ S("path", {
|
|
3349
3349
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
3350
3350
|
}));
|
|
3351
3351
|
function im({
|
|
@@ -3429,7 +3429,7 @@ function im({
|
|
|
3429
3429
|
}
|
|
3430
3430
|
);
|
|
3431
3431
|
}
|
|
3432
|
-
function
|
|
3432
|
+
function rD({
|
|
3433
3433
|
open: e,
|
|
3434
3434
|
canSave: t,
|
|
3435
3435
|
onKeepEditing: n,
|
|
@@ -3455,7 +3455,7 @@ function oD({
|
|
|
3455
3455
|
const am = Ae(/* @__PURE__ */ S("path", {
|
|
3456
3456
|
d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
|
|
3457
3457
|
}));
|
|
3458
|
-
function
|
|
3458
|
+
function oD({
|
|
3459
3459
|
label: e,
|
|
3460
3460
|
onClick: t,
|
|
3461
3461
|
disabled: n
|
|
@@ -3474,7 +3474,7 @@ function sD({
|
|
|
3474
3474
|
}
|
|
3475
3475
|
);
|
|
3476
3476
|
}
|
|
3477
|
-
function
|
|
3477
|
+
function sD({
|
|
3478
3478
|
label: e,
|
|
3479
3479
|
icon: t,
|
|
3480
3480
|
onClick: n,
|
|
@@ -3509,9 +3509,9 @@ const lm = Ae(/* @__PURE__ */ S("path", {
|
|
|
3509
3509
|
transition: "none",
|
|
3510
3510
|
animation: "none"
|
|
3511
3511
|
}
|
|
3512
|
-
},
|
|
3512
|
+
}, iD = () => typeof window < "u" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth", cm = {
|
|
3513
3513
|
"@media (hover: none)": { opacity: 1 }
|
|
3514
|
-
},
|
|
3514
|
+
}, aD = (e) => e.palette.mode === "dark" ? e.palette.error.main : e.palette.error.dark;
|
|
3515
3515
|
Zn.size.control;
|
|
3516
3516
|
Zn.size.chip;
|
|
3517
3517
|
Zn.radius.control;
|
|
@@ -3551,7 +3551,7 @@ function yc(e) {
|
|
|
3551
3551
|
}
|
|
3552
3552
|
return n ?? t.at(-1);
|
|
3553
3553
|
}
|
|
3554
|
-
function
|
|
3554
|
+
function lD(e) {
|
|
3555
3555
|
const t = yc(e);
|
|
3556
3556
|
return t !== void 0 && Jo[t] !== void 0;
|
|
3557
3557
|
}
|
|
@@ -3640,7 +3640,7 @@ const bm = Ae(/* @__PURE__ */ S("path", {
|
|
|
3640
3640
|
})), Pm = Ae(/* @__PURE__ */ S("path", {
|
|
3641
3641
|
d: "M10 10.02h5V21h-5zM17 21h3c1.1 0 2-.9 2-2v-9h-5zm3-18H5c-1.1 0-2 .9-2 2v3h19V5c0-1.1-.9-2-2-2M3 19c0 1.1.9 2 2 2h3V10H3z"
|
|
3642
3642
|
}));
|
|
3643
|
-
function
|
|
3643
|
+
function cD(e) {
|
|
3644
3644
|
const t = e.replace(/_+/g, " ").trim();
|
|
3645
3645
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
3646
3646
|
}
|
|
@@ -3664,7 +3664,7 @@ function km({ chart: e }) {
|
|
|
3664
3664
|
return /* @__PURE__ */ S(Pm, { sx: t });
|
|
3665
3665
|
}
|
|
3666
3666
|
}
|
|
3667
|
-
function
|
|
3667
|
+
function uD({
|
|
3668
3668
|
groups: e,
|
|
3669
3669
|
query: t,
|
|
3670
3670
|
onQuery: n,
|
|
@@ -3912,13 +3912,13 @@ const Mm = /* @__PURE__ */ new Set([
|
|
|
3912
3912
|
"link",
|
|
3913
3913
|
"image"
|
|
3914
3914
|
]);
|
|
3915
|
-
function
|
|
3915
|
+
function dD(e, t) {
|
|
3916
3916
|
return t === "fill" ? "container" : t === "fixed" || !e ? "content" : Mm.has(e) ? "container" : "content";
|
|
3917
3917
|
}
|
|
3918
|
-
function
|
|
3918
|
+
function pD(e, t) {
|
|
3919
3919
|
return t === "fixed" ? !0 : t === "fill" ? !1 : e !== void 0 && Dm.has(e);
|
|
3920
3920
|
}
|
|
3921
|
-
function
|
|
3921
|
+
function fD(e) {
|
|
3922
3922
|
return e === "dashboard" ? 3 : 2;
|
|
3923
3923
|
}
|
|
3924
3924
|
function Tm(e, t) {
|
|
@@ -3927,11 +3927,11 @@ function Tm(e, t) {
|
|
|
3927
3927
|
n = n.firstElementChild;
|
|
3928
3928
|
return n;
|
|
3929
3929
|
}
|
|
3930
|
-
function
|
|
3930
|
+
function hD(e, t) {
|
|
3931
3931
|
const n = Tm(e, t);
|
|
3932
3932
|
return n && (n.scrollHeight || n.offsetHeight) || 0;
|
|
3933
3933
|
}
|
|
3934
|
-
const bc = 400,
|
|
3934
|
+
const bc = 400, mD = 700, Rm = 700;
|
|
3935
3935
|
function Im({
|
|
3936
3936
|
renderAs: e,
|
|
3937
3937
|
maxHeight: t,
|
|
@@ -3939,7 +3939,7 @@ function Im({
|
|
|
3939
3939
|
}) {
|
|
3940
3940
|
return e !== "table" || n === void 0 ? t : t === void 0 ? n : Math.min(t, n);
|
|
3941
3941
|
}
|
|
3942
|
-
const
|
|
3942
|
+
const gD = 600, yD = 800, $m = 400, Em = 2e3;
|
|
3943
3943
|
function Om(e, t) {
|
|
3944
3944
|
const n = t ?? Em;
|
|
3945
3945
|
return e === void 0 ? n : Math.min(e, n);
|
|
@@ -3964,11 +3964,11 @@ const Am = "data-publisher-tight", Fm = "publisher-result-scroller";
|
|
|
3964
3964
|
function Lm(e, t, n = 1) {
|
|
3965
3965
|
return e === 1 && t <= 2 && n === 1 ? void 0 : e;
|
|
3966
3966
|
}
|
|
3967
|
-
function
|
|
3967
|
+
function bD(e, t, n, r = 1) {
|
|
3968
3968
|
const o = { ...e }, s = Lm(t, n, r);
|
|
3969
3969
|
return s === void 0 ? delete o.colspan : o.colspan = s, o;
|
|
3970
3970
|
}
|
|
3971
|
-
function
|
|
3971
|
+
function vD(e, t) {
|
|
3972
3972
|
if (e === "linear")
|
|
3973
3973
|
return {
|
|
3974
3974
|
layout: "linear",
|
|
@@ -4005,7 +4005,7 @@ function Nm(e, t, n, r = vc, o = [n]) {
|
|
|
4005
4005
|
(s) => s.kind === "names" ? s.names.includes(t) : o.includes(xc(s.from, r))
|
|
4006
4006
|
);
|
|
4007
4007
|
}
|
|
4008
|
-
function
|
|
4008
|
+
function SD(e, t, n, r = vc, o = [n]) {
|
|
4009
4009
|
const { imports: s } = e;
|
|
4010
4010
|
if (Nm(e, t, n, r, o))
|
|
4011
4011
|
return s;
|
|
@@ -4023,7 +4023,7 @@ function xD(e, t, n, r = vc, o = [n]) {
|
|
|
4023
4023
|
(a, l) => l === i && a.kind === "names" ? { ...a, names: [...a.names, t] } : a
|
|
4024
4024
|
);
|
|
4025
4025
|
}
|
|
4026
|
-
const
|
|
4026
|
+
const xD = Ae(/* @__PURE__ */ S("path", {
|
|
4027
4027
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"
|
|
4028
4028
|
})), Bm = Ae(/* @__PURE__ */ S("path", {
|
|
4029
4029
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m-5.5-2.5 7.51-3.49L17.5 6.5 9.99 9.99zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1"
|
|
@@ -4100,7 +4100,7 @@ function Hm({ error: e, context: t }) {
|
|
|
4100
4100
|
const n = e.data?.message || "Unknown error";
|
|
4101
4101
|
return /* @__PURE__ */ S(Wm, { summary: t, detail: n });
|
|
4102
4102
|
}
|
|
4103
|
-
function
|
|
4103
|
+
function wD(e) {
|
|
4104
4104
|
const t = Um(e);
|
|
4105
4105
|
return {
|
|
4106
4106
|
name: e.name,
|
|
@@ -4137,7 +4137,7 @@ const Ym = {
|
|
|
4137
4137
|
"\b": "\\b",
|
|
4138
4138
|
"\f": "\\f"
|
|
4139
4139
|
}, jm = (e) => `\\u${e.charCodeAt(0).toString(16).padStart(4, "0")}`;
|
|
4140
|
-
function
|
|
4140
|
+
function CD(e, t) {
|
|
4141
4141
|
if (e == null || e === "") return;
|
|
4142
4142
|
const n = (o) => `'${Cc(o)}'`;
|
|
4143
4143
|
switch (t === void 0 ? Gm(e) : t.startsWith("filter<") ? "filter" : t) {
|
|
@@ -4184,17 +4184,17 @@ function Ma(e) {
|
|
|
4184
4184
|
return e instanceof Date ? Number.isNaN(e.getTime()) ? void 0 : e.toISOString().slice(0, 10) : /^(\d{4}-\d{2}-\d{2})/.exec(String(e))?.[1];
|
|
4185
4185
|
}
|
|
4186
4186
|
const Km = /^\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?$/;
|
|
4187
|
-
function
|
|
4187
|
+
function PD(e, t = !1) {
|
|
4188
4188
|
return e == null ? "null" : e instanceof Date ? `@${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}` : t && typeof e == "string" && Km.test(e) ? `@${e}` : typeof e == "string" ? `'${Cc(e)}'` : typeof e == "number" ? String(e) : e ? "true" : "false";
|
|
4189
4189
|
}
|
|
4190
4190
|
const Wn = "malloy-publisher.report-draft:", Hn = {
|
|
4191
4191
|
storage: () => window.localStorage
|
|
4192
4192
|
};
|
|
4193
|
-
function
|
|
4193
|
+
function kD(e) {
|
|
4194
4194
|
const { server: t, environmentName: n, packageName: r, versionId: o, path: s } = e;
|
|
4195
4195
|
return `${t}|${n}/${r}@${o ?? ""}/${s}`;
|
|
4196
4196
|
}
|
|
4197
|
-
function
|
|
4197
|
+
function MD(e) {
|
|
4198
4198
|
if (typeof e == "string") {
|
|
4199
4199
|
ho(e);
|
|
4200
4200
|
return;
|
|
@@ -4216,7 +4216,7 @@ function DD(e) {
|
|
|
4216
4216
|
} catch {
|
|
4217
4217
|
}
|
|
4218
4218
|
}
|
|
4219
|
-
function
|
|
4219
|
+
function DD() {
|
|
4220
4220
|
try {
|
|
4221
4221
|
const e = `${Wn}probe`;
|
|
4222
4222
|
return Hn.storage().setItem(e, "1"), Hn.storage().removeItem(e), !0;
|
|
@@ -4258,7 +4258,7 @@ function ws(e, t) {
|
|
|
4258
4258
|
for (const r of Object.keys(n)) delete n[r];
|
|
4259
4259
|
Object.assign(n, structuredClone(t));
|
|
4260
4260
|
}
|
|
4261
|
-
function
|
|
4261
|
+
function TD(e, t, n) {
|
|
4262
4262
|
const [r, o] = Oe(), [s, i] = Oe(), [a, l] = Oe(!1), c = Ye(void 0), u = Ye(void 0), d = Ye(!1), h = Xm(n), g = Ye(t);
|
|
4263
4263
|
g.current = t;
|
|
4264
4264
|
const p = Ye(!1);
|
|
@@ -4329,7 +4329,7 @@ function zs(e, t) {
|
|
|
4329
4329
|
}
|
|
4330
4330
|
} : Pc;
|
|
4331
4331
|
}
|
|
4332
|
-
function
|
|
4332
|
+
function RD(e, t) {
|
|
4333
4333
|
const n = Ye(t);
|
|
4334
4334
|
n.current = t;
|
|
4335
4335
|
const r = t !== void 0, { path: o, layout: s } = e;
|
|
@@ -4837,7 +4837,7 @@ function Oc(e) {
|
|
|
4837
4837
|
function Ra(e) {
|
|
4838
4838
|
return e.moment === "literal" && pg.test(e.literal) ? e.literal : void 0;
|
|
4839
4839
|
}
|
|
4840
|
-
const
|
|
4840
|
+
const ID = "self";
|
|
4841
4841
|
function hg(e) {
|
|
4842
4842
|
if (!e) return [];
|
|
4843
4843
|
if (e.wasDimension && !e.wasDimension()) return [];
|
|
@@ -4867,7 +4867,7 @@ function mi(e) {
|
|
|
4867
4867
|
function yg(e) {
|
|
4868
4868
|
return e instanceof Date ? mi(e) ?? "" : String(e);
|
|
4869
4869
|
}
|
|
4870
|
-
function
|
|
4870
|
+
function $D(e) {
|
|
4871
4871
|
if (!e || e.isHeader) return;
|
|
4872
4872
|
const t = e.field;
|
|
4873
4873
|
if (!t) return;
|
|
@@ -5222,7 +5222,7 @@ function Dg({
|
|
|
5222
5222
|
return { draft: I, applied: R, setGiven: $, reset: b, apply: E, pending: T, atStart: D };
|
|
5223
5223
|
}
|
|
5224
5224
|
const Tg = "You don't have access to this data";
|
|
5225
|
-
function
|
|
5225
|
+
function ED(e) {
|
|
5226
5226
|
return (e ?? []).filter((t) => t.kind === "definition" && !t.restricted).map((t) => t.text ?? "").join(`
|
|
5227
5227
|
|
|
5228
5228
|
`);
|
|
@@ -5238,13 +5238,13 @@ function Rg(e) {
|
|
|
5238
5238
|
function Un(e) {
|
|
5239
5239
|
return `\`${e.replace(/\\/g, "\\\\").replace(/`/g, "\\`")}\``;
|
|
5240
5240
|
}
|
|
5241
|
-
function
|
|
5241
|
+
function OD(e, t) {
|
|
5242
5242
|
return `run: ${Un(e)} -> ${Un(t)}`;
|
|
5243
5243
|
}
|
|
5244
|
-
function
|
|
5244
|
+
function AD(e) {
|
|
5245
5245
|
return `run: ${Un(e)}`;
|
|
5246
5246
|
}
|
|
5247
|
-
function
|
|
5247
|
+
function FD(e, t, n) {
|
|
5248
5248
|
const r = Un(t);
|
|
5249
5249
|
return [
|
|
5250
5250
|
`run: ${Un(e)} -> {`,
|
|
@@ -5461,7 +5461,7 @@ function Vg(e, t) {
|
|
|
5461
5461
|
}
|
|
5462
5462
|
return n;
|
|
5463
5463
|
}
|
|
5464
|
-
function
|
|
5464
|
+
function LD({
|
|
5465
5465
|
specs: e,
|
|
5466
5466
|
loaded: t,
|
|
5467
5467
|
startingValues: n,
|
|
@@ -6919,7 +6919,7 @@ function ot(e = []) {
|
|
|
6919
6919
|
function Ky(e) {
|
|
6920
6920
|
return me("MuiTypography", e);
|
|
6921
6921
|
}
|
|
6922
|
-
const
|
|
6922
|
+
const ND = fe("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]), Xy = {
|
|
6923
6923
|
primary: !0,
|
|
6924
6924
|
secondary: !0,
|
|
6925
6925
|
error: !0,
|
|
@@ -22692,12 +22692,12 @@ function qP({
|
|
|
22692
22692
|
return s ? /* @__PURE__ */ S(wn, { title: n, children: i }) : i;
|
|
22693
22693
|
}
|
|
22694
22694
|
const Ui = (e) => e.required === !0, KP = (e, t) => e == null || e === "" && !Lc(t);
|
|
22695
|
-
function
|
|
22695
|
+
function BD(e, t, n) {
|
|
22696
22696
|
return e.filter(
|
|
22697
22697
|
(r) => r.name !== void 0 && Ui(r) && KP(t.get(r.name), r.type) && (n?.[r.name] === void 0 || n[r.name] === null)
|
|
22698
22698
|
);
|
|
22699
22699
|
}
|
|
22700
|
-
function
|
|
22700
|
+
function VD(e, t) {
|
|
22701
22701
|
if (!t || e.length === 0) return [];
|
|
22702
22702
|
const n = new Set(t);
|
|
22703
22703
|
return e.filter((r) => r.name && n.has(r.name));
|
|
@@ -22706,11 +22706,11 @@ const hd = (e) => e.label ?? e.name ?? "";
|
|
|
22706
22706
|
function md(e) {
|
|
22707
22707
|
return e.length < 2 ? e.join("") : `${e.slice(0, -1).join(", ")} and ${e[e.length - 1]}`;
|
|
22708
22708
|
}
|
|
22709
|
-
function
|
|
22709
|
+
function zD(e) {
|
|
22710
22710
|
const t = e.map(hd);
|
|
22711
22711
|
return `Pick a value for ${md(t)} to see this report.`;
|
|
22712
22712
|
}
|
|
22713
|
-
function
|
|
22713
|
+
function _D(e) {
|
|
22714
22714
|
return `Waiting for ${md(e.map(hd))}.`;
|
|
22715
22715
|
}
|
|
22716
22716
|
const Js = 28, XP = /^\d{4}-\d{2}-\d{2}$/, gd = new Intl.DateTimeFormat("en-US", {
|
|
@@ -22767,7 +22767,7 @@ function bd(e, t, n) {
|
|
|
22767
22767
|
function JP(e, t) {
|
|
22768
22768
|
return bd(e, t, !1);
|
|
22769
22769
|
}
|
|
22770
|
-
function
|
|
22770
|
+
function WD(e, t) {
|
|
22771
22771
|
return bd(e, t, !0);
|
|
22772
22772
|
}
|
|
22773
22773
|
function ek(e) {
|
|
@@ -23120,7 +23120,7 @@ function sk() {
|
|
|
23120
23120
|
) }) })
|
|
23121
23121
|
);
|
|
23122
23122
|
}
|
|
23123
|
-
function
|
|
23123
|
+
function HD({
|
|
23124
23124
|
givens: e,
|
|
23125
23125
|
values: t,
|
|
23126
23126
|
onChange: n,
|
|
@@ -23353,7 +23353,7 @@ const ck = (e) => ({
|
|
|
23353
23353
|
function uk({ alt: e }) {
|
|
23354
23354
|
return /* @__PURE__ */ S(Bt, { children: e });
|
|
23355
23355
|
}
|
|
23356
|
-
function
|
|
23356
|
+
function UD({
|
|
23357
23357
|
children: e,
|
|
23358
23358
|
variant: t = "caption",
|
|
23359
23359
|
links: n,
|
|
@@ -23487,7 +23487,7 @@ function mk(e) {
|
|
|
23487
23487
|
`)
|
|
23488
23488
|
};
|
|
23489
23489
|
}
|
|
23490
|
-
const gk = Gd(() => import("./RenderedResult-
|
|
23490
|
+
const gk = Gd(() => import("./RenderedResult-CYJ2Y9Fm.es.js").then((e) => e.c));
|
|
23491
23491
|
function yk({
|
|
23492
23492
|
result: e,
|
|
23493
23493
|
maxHeight: t,
|
|
@@ -23737,7 +23737,7 @@ function bk({
|
|
|
23737
23737
|
const Ll = () => typeof performance < "u" ? performance.now() : Date.now(), vk = Ae(/* @__PURE__ */ S("path", {
|
|
23738
23738
|
d: "m16.95 6-3.57 4.55 1.43 1.43c1.03-1.31 4.98-6.37 4.98-6.37C20.3 4.95 19.83 4 19 4H6.83l2 2zM2.81 2.81 1.39 4.22 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-2.17l5.78 5.78 1.41-1.41z"
|
|
23739
23739
|
})), Sk = 3;
|
|
23740
|
-
function
|
|
23740
|
+
function YD(e, t) {
|
|
23741
23741
|
if (e === void 0) return [];
|
|
23742
23742
|
const n = new Set(e);
|
|
23743
23743
|
return t.flatMap(
|
|
@@ -23791,7 +23791,7 @@ function wk({ ignored: e }) {
|
|
|
23791
23791
|
}
|
|
23792
23792
|
);
|
|
23793
23793
|
}
|
|
23794
|
-
const Ck = /\.malloy(nb)?$/,
|
|
23794
|
+
const Ck = /\.malloy(nb)?$/, jD = (e) => e && e.slice(e.lastIndexOf("/") + 1).replace(Ck, "") || void 0, Pk = (e) => e.replace(/\.malloy$/, "").split("/").map(encodeURIComponent).join("/"), kk = (e, t, n) => `/${encodeURIComponent(e)}/${encodeURIComponent(t)}/${Pk(n)}`, Mk = "edit", GD = (e, t, n) => `${kk(e, t, n)}?${Mk}`, Dk = (e) => e.layout === "linear" ? "linear" : "grid", Tk = (e) => ({
|
|
23795
23795
|
layout: Dk(e),
|
|
23796
23796
|
path: e.path,
|
|
23797
23797
|
editable: e.editable !== !1
|
|
@@ -23805,7 +23805,7 @@ function Rk(e) {
|
|
|
23805
23805
|
(t) => t !== "" && t !== "." && t !== ".."
|
|
23806
23806
|
);
|
|
23807
23807
|
}
|
|
23808
|
-
function
|
|
23808
|
+
function qD(e, t) {
|
|
23809
23809
|
if (!Rk(e)) return { kind: "unresolved" };
|
|
23810
23810
|
for (const n of [`${e}.malloy`, e]) {
|
|
23811
23811
|
const r = wd(n, t);
|
|
@@ -23850,7 +23850,7 @@ function Ek(e, t, n, r = !0) {
|
|
|
23850
23850
|
refetch: s.refetch
|
|
23851
23851
|
};
|
|
23852
23852
|
}
|
|
23853
|
-
function
|
|
23853
|
+
function KD(e, t, n, r) {
|
|
23854
23854
|
const { reports: o, settled: s } = Ek(
|
|
23855
23855
|
e,
|
|
23856
23856
|
t,
|
|
@@ -23866,7 +23866,7 @@ const Cd = 20, Ok = {
|
|
|
23866
23866
|
radius: "8px",
|
|
23867
23867
|
padding: `${Cd}px`
|
|
23868
23868
|
};
|
|
23869
|
-
function
|
|
23869
|
+
function XD(e, t = Ok) {
|
|
23870
23870
|
return {
|
|
23871
23871
|
"--malloy-render--font-family": e.font.family,
|
|
23872
23872
|
"--malloy-render--table-font-size": `${e.font.size}px`,
|
|
@@ -24045,7 +24045,7 @@ function zk() {
|
|
|
24045
24045
|
}, []), stuck: e };
|
|
24046
24046
|
}
|
|
24047
24047
|
const _k = 4, Wk = "--publisher-sticky-top", Hk = 2;
|
|
24048
|
-
function
|
|
24048
|
+
function QD({
|
|
24049
24049
|
layout: e,
|
|
24050
24050
|
notice: t,
|
|
24051
24051
|
header: n,
|
|
@@ -24068,7 +24068,7 @@ function ZD({
|
|
|
24068
24068
|
}
|
|
24069
24069
|
);
|
|
24070
24070
|
}
|
|
24071
|
-
function
|
|
24071
|
+
function ZD({
|
|
24072
24072
|
title: e,
|
|
24073
24073
|
description: t,
|
|
24074
24074
|
actions: n
|
|
@@ -24090,13 +24090,13 @@ function JD({
|
|
|
24090
24090
|
t
|
|
24091
24091
|
] });
|
|
24092
24092
|
}
|
|
24093
|
-
function
|
|
24093
|
+
function JD({
|
|
24094
24094
|
sx: e,
|
|
24095
24095
|
children: t
|
|
24096
24096
|
}) {
|
|
24097
24097
|
return /* @__PURE__ */ S(Pd, { chrome: "none", kind: "text", ...e ? { sx: e } : {}, children: t });
|
|
24098
24098
|
}
|
|
24099
|
-
function
|
|
24099
|
+
function eT({ children: e }) {
|
|
24100
24100
|
const { theme: t } = Ke(), { stickyRef: n, stuck: r } = zk();
|
|
24101
24101
|
return /* @__PURE__ */ S(
|
|
24102
24102
|
be,
|
|
@@ -24148,7 +24148,7 @@ const Uk = (e) => {
|
|
|
24148
24148
|
if (n.versionId = t.searchParams.get("versionId") || void 0, !n.environmentName)
|
|
24149
24149
|
throw new Error(`Failed to parse resource URI: ${e}`);
|
|
24150
24150
|
return n;
|
|
24151
|
-
},
|
|
24151
|
+
}, tT = (e) => {
|
|
24152
24152
|
if (!e.environmentName)
|
|
24153
24153
|
throw new Error(
|
|
24154
24154
|
`Failed to encode resource URI, missing environment name: ${e}`
|
|
@@ -24161,20 +24161,17 @@ function Yi(e, t) {
|
|
|
24161
24161
|
const n = e.default;
|
|
24162
24162
|
return n?.[t] ? n : e;
|
|
24163
24163
|
}
|
|
24164
|
-
const
|
|
24164
|
+
const Yk = (e) => Yi(e, "MalloyTranslator"), jk = (e) => Yi(e, "parseAnnotation"), Gk = (e) => Yi(e, "ASTQuery");
|
|
24165
24165
|
async function nT() {
|
|
24166
|
-
return
|
|
24166
|
+
return Yk(await import("@malloydata/malloy"));
|
|
24167
24167
|
}
|
|
24168
24168
|
async function rT() {
|
|
24169
|
-
return
|
|
24169
|
+
return jk(await import("@malloydata/malloy-tag"));
|
|
24170
24170
|
}
|
|
24171
24171
|
async function oT() {
|
|
24172
|
-
return
|
|
24173
|
-
// eslint-disable-next-line no-restricted-syntax -- the query builder's one loader, for the Explorer; every other rule still holds in this file
|
|
24174
|
-
await import("@malloydata/malloy-query-builder")
|
|
24175
|
-
);
|
|
24172
|
+
return Gk(await import("@malloydata/malloy-query-builder"));
|
|
24176
24173
|
}
|
|
24177
|
-
async function
|
|
24174
|
+
async function qk(e) {
|
|
24178
24175
|
const t = await crypto.subtle.digest(
|
|
24179
24176
|
"SHA-256",
|
|
24180
24177
|
new TextEncoder().encode(e)
|
|
@@ -24187,7 +24184,7 @@ async function Kk(e) {
|
|
|
24187
24184
|
function sT(e) {
|
|
24188
24185
|
return e.find((t) => t.authoritative) ?? e.find((t) => t.writeable);
|
|
24189
24186
|
}
|
|
24190
|
-
function
|
|
24187
|
+
function Kk({
|
|
24191
24188
|
authoritative: e,
|
|
24192
24189
|
mutable: t,
|
|
24193
24190
|
versionId: n,
|
|
@@ -24202,7 +24199,7 @@ function Xk({
|
|
|
24202
24199
|
};
|
|
24203
24200
|
}
|
|
24204
24201
|
async function iT(e, t) {
|
|
24205
|
-
return e ?? (t === void 0 ? void 0 : await
|
|
24202
|
+
return e ?? (t === void 0 ? void 0 : await qk(t));
|
|
24206
24203
|
}
|
|
24207
24204
|
function aT({
|
|
24208
24205
|
authoritative: e,
|
|
@@ -24217,7 +24214,7 @@ function aT({
|
|
|
24217
24214
|
function lT(e) {
|
|
24218
24215
|
return e instanceof Error ? e.message : String(e);
|
|
24219
24216
|
}
|
|
24220
|
-
function
|
|
24217
|
+
function Xk(e) {
|
|
24221
24218
|
const t = e.response?.data;
|
|
24222
24219
|
return t?.message ? t.message : e instanceof Error ? e.message : String(e);
|
|
24223
24220
|
}
|
|
@@ -24244,7 +24241,7 @@ async function cT({
|
|
|
24244
24241
|
} catch (h) {
|
|
24245
24242
|
for (const g of a)
|
|
24246
24243
|
t.invalidateQueries({ queryKey: g });
|
|
24247
|
-
throw new Error(
|
|
24244
|
+
throw new Error(Xk(h));
|
|
24248
24245
|
}
|
|
24249
24246
|
const d = u.data.contentHash;
|
|
24250
24247
|
await c?.(d);
|
|
@@ -24281,16 +24278,16 @@ function dT(e) {
|
|
|
24281
24278
|
namesBoth: !!t?.environmentName && !!t?.packageName
|
|
24282
24279
|
};
|
|
24283
24280
|
}
|
|
24284
|
-
class
|
|
24281
|
+
class Qk extends Error {
|
|
24285
24282
|
constructor(t) {
|
|
24286
24283
|
super(t), this.name = "DocumentNotFoundError";
|
|
24287
24284
|
}
|
|
24288
24285
|
}
|
|
24289
|
-
const
|
|
24286
|
+
const Zk = (e) => e instanceof Qk || e instanceof Error && e.name === "DocumentNotFoundError", Jk = String.raw`##?\|?[ \t]*(?:[([{<][ \t]*)?(?:(?:(?:row|source)[-_]?)?authorize|access[-_]?filter)(?=[)\]}>]|[ \t]|$)`;
|
|
24290
24287
|
function kd(e, t) {
|
|
24291
24288
|
if (/[\r\n]/.test(t))
|
|
24292
24289
|
return `A ${e} is one line; it cannot hold a line break.`;
|
|
24293
|
-
if (new RegExp(
|
|
24290
|
+
if (new RegExp(Jk, "iu").test(t))
|
|
24294
24291
|
return `A ${e} cannot contain what reads as an access-control tag (authorize, row_authorize, source_authorize or access_filter).`;
|
|
24295
24292
|
}
|
|
24296
24293
|
const yr = (e) => Kl(e) ? e : `\`${e}\``;
|
|
@@ -24310,11 +24307,11 @@ function Md(e) {
|
|
|
24310
24307
|
if (a.trim() === "" || /[`\r\n\\]/.test(a))
|
|
24311
24308
|
return `The ${i} name ${JSON.stringify(a)} cannot be written as a Malloy name.`;
|
|
24312
24309
|
}
|
|
24313
|
-
const
|
|
24310
|
+
const eM = (e) => {
|
|
24314
24311
|
const t = e.replace(/[-_]+/g, " ").trim();
|
|
24315
24312
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
24316
|
-
}, Nl = (e) => `"${e.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`,
|
|
24317
|
-
function ji(e, t, n =
|
|
24313
|
+
}, Nl = (e) => `"${e.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`, tM = "report.malloy";
|
|
24314
|
+
function ji(e, t, n = tM) {
|
|
24318
24315
|
const r = Md(e);
|
|
24319
24316
|
if (r) throw new Error(r);
|
|
24320
24317
|
const { modelPath: o, source: s, view: i } = e, a = e.title.trim(), l = Nl(a), c = yr(`${s}_tiles`), u = yr(`${i}_tile`), d = `"${c} -> ${u}"`;
|
|
@@ -24330,7 +24327,7 @@ function ji(e, t, n = nM) {
|
|
|
24330
24327
|
"",
|
|
24331
24328
|
`source: ${c} is ${yr(s)} extend {`,
|
|
24332
24329
|
// The view's title, not the extension's `<view>_tile` name humanized.
|
|
24333
|
-
` # label=${Nl(
|
|
24330
|
+
` # label=${Nl(eM(i))}`,
|
|
24334
24331
|
` view: ${u} is ${yr(i)}`,
|
|
24335
24332
|
"}",
|
|
24336
24333
|
""
|
|
@@ -24340,10 +24337,10 @@ function ji(e, t, n = nM) {
|
|
|
24340
24337
|
function pT(e, t) {
|
|
24341
24338
|
return ji(e, "linear", t);
|
|
24342
24339
|
}
|
|
24343
|
-
function
|
|
24340
|
+
function nM(e) {
|
|
24344
24341
|
return e.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "").slice(0, 80);
|
|
24345
24342
|
}
|
|
24346
|
-
function
|
|
24343
|
+
function rM({
|
|
24347
24344
|
title: e,
|
|
24348
24345
|
modelPath: t,
|
|
24349
24346
|
source: n,
|
|
@@ -24358,7 +24355,7 @@ function oM({
|
|
|
24358
24355
|
return /["\\\r\n]/.test(t) ? `The model path ${JSON.stringify(t)} cannot be written into an import.` : kd("title", e);
|
|
24359
24356
|
}
|
|
24360
24357
|
function fT(e, t) {
|
|
24361
|
-
const n =
|
|
24358
|
+
const n = rM(e);
|
|
24362
24359
|
if (n) throw new Error(n);
|
|
24363
24360
|
return ji(e, "grid", t);
|
|
24364
24361
|
}
|
|
@@ -24366,28 +24363,28 @@ const Dd = (e) => (
|
|
|
24366
24363
|
// Split rather than trim with `^\/+|\/+$`, which backtracks polynomially on a run of slashes.
|
|
24367
24364
|
(e ?? "").trim().replace(/\\/g, "/").split("/").filter((t) => t !== "").join("/")
|
|
24368
24365
|
);
|
|
24369
|
-
function
|
|
24366
|
+
function oM(e, t) {
|
|
24370
24367
|
const n = Dd(t);
|
|
24371
24368
|
return `${n === "" ? "" : `${n}/`}${e}.malloy`;
|
|
24372
24369
|
}
|
|
24373
|
-
function
|
|
24374
|
-
return
|
|
24370
|
+
function sM(e) {
|
|
24371
|
+
return nM(e) || "untitled";
|
|
24375
24372
|
}
|
|
24376
|
-
function
|
|
24377
|
-
const r =
|
|
24378
|
-
return
|
|
24373
|
+
function iM(e, t = 1, n) {
|
|
24374
|
+
const r = sM(e);
|
|
24375
|
+
return oM(t > 1 ? `${r}-${t}` : r, n);
|
|
24379
24376
|
}
|
|
24380
|
-
const
|
|
24377
|
+
const aM = (e, t, n) => `${e}/${t}/${n}`, lM = (e, t, n, r, o) => ({
|
|
24381
24378
|
workspace: t,
|
|
24382
24379
|
type: e,
|
|
24383
|
-
path:
|
|
24380
|
+
path: aM(n, r, o)
|
|
24384
24381
|
}), Td = 20;
|
|
24385
24382
|
function hT(e) {
|
|
24386
|
-
const { savesTo: t, writer: n } =
|
|
24383
|
+
const { savesTo: t, writer: n } = Kk({ ...e, readFailed: !1 });
|
|
24387
24384
|
return t === "browser" ? void 0 : n;
|
|
24388
24385
|
}
|
|
24389
24386
|
const Bl = (e) => e.slice(e.lastIndexOf("/") + 1).replace(/\.malloy$/, "");
|
|
24390
|
-
function
|
|
24387
|
+
function cM(e) {
|
|
24391
24388
|
if (!e.endsWith(".malloy"))
|
|
24392
24389
|
return "A report's file name ends in .malloy.";
|
|
24393
24390
|
const t = e.split("/");
|
|
@@ -24403,7 +24400,7 @@ async function mT(e) {
|
|
|
24403
24400
|
const t = e.layout ?? "linear", n = Ll();
|
|
24404
24401
|
let r;
|
|
24405
24402
|
try {
|
|
24406
|
-
r = await
|
|
24403
|
+
r = await uM(e, t);
|
|
24407
24404
|
} catch (o) {
|
|
24408
24405
|
throw zs({ path: e.path ?? "", layout: t }, e.onEvent).emit(
|
|
24409
24406
|
{
|
|
@@ -24418,15 +24415,15 @@ async function mT(e) {
|
|
|
24418
24415
|
durationMs: Ll() - n
|
|
24419
24416
|
}), e.onCreated?.(r), r;
|
|
24420
24417
|
}
|
|
24421
|
-
async function
|
|
24418
|
+
async function uM(e, t) {
|
|
24422
24419
|
const { document: n, target: r } = e, o = Md(n);
|
|
24423
24420
|
if (o) throw new Error(o);
|
|
24424
24421
|
const s = Dd(e.directory), i = e.path !== void 0 ? [e.path] : Array.from(
|
|
24425
24422
|
{ length: Td },
|
|
24426
|
-
(f, m) =>
|
|
24423
|
+
(f, m) => iM(n.title, m + 1, s)
|
|
24427
24424
|
);
|
|
24428
24425
|
for (const f of i) {
|
|
24429
|
-
const m =
|
|
24426
|
+
const m = cM(f);
|
|
24430
24427
|
if (m) throw new Error(m);
|
|
24431
24428
|
}
|
|
24432
24429
|
const a = (f) => ji(n, t, f);
|
|
@@ -24439,7 +24436,7 @@ async function dM(e, t) {
|
|
|
24439
24436
|
await r.write(w, a(w)), m = w;
|
|
24440
24437
|
break;
|
|
24441
24438
|
} catch (k) {
|
|
24442
|
-
if (!
|
|
24439
|
+
if (!pM(k)) throw k;
|
|
24443
24440
|
}
|
|
24444
24441
|
if (m === void 0) throw Vl(n.title, e.path);
|
|
24445
24442
|
return { layout: t, path: m, slug: Bl(m) };
|
|
@@ -24449,7 +24446,7 @@ async function dM(e, t) {
|
|
|
24449
24446
|
);
|
|
24450
24447
|
let p;
|
|
24451
24448
|
for (const f of i) {
|
|
24452
|
-
const m =
|
|
24449
|
+
const m = lM(
|
|
24453
24450
|
t,
|
|
24454
24451
|
c.name,
|
|
24455
24452
|
u,
|
|
@@ -24462,7 +24459,7 @@ async function dM(e, t) {
|
|
|
24462
24459
|
try {
|
|
24463
24460
|
await l.getDocument(m);
|
|
24464
24461
|
} catch (v) {
|
|
24465
|
-
if (!
|
|
24462
|
+
if (!Zk(v)) throw v;
|
|
24466
24463
|
k = !1;
|
|
24467
24464
|
}
|
|
24468
24465
|
if (!k) {
|
|
@@ -24473,20 +24470,20 @@ async function dM(e, t) {
|
|
|
24473
24470
|
if (p === void 0) throw Vl(n.title, e.path);
|
|
24474
24471
|
return await l.saveDocument(p.locator, a(p.path)), p;
|
|
24475
24472
|
}
|
|
24476
|
-
const
|
|
24477
|
-
function
|
|
24473
|
+
const dM = /^`[^`]+` already exists in the package\b/;
|
|
24474
|
+
function pM(e) {
|
|
24478
24475
|
const t = e?.response;
|
|
24479
24476
|
if (t?.status !== 409) return !1;
|
|
24480
24477
|
const n = t.data?.reason;
|
|
24481
24478
|
if (n === "FILE_EXISTS") return !0;
|
|
24482
24479
|
if (n != null) return !1;
|
|
24483
24480
|
const r = t.data?.message;
|
|
24484
|
-
return typeof r == "string" &&
|
|
24481
|
+
return typeof r == "string" && dM.test(r);
|
|
24485
24482
|
}
|
|
24486
24483
|
const Vl = (e, t) => new Error(
|
|
24487
24484
|
t !== void 0 ? `${t} already exists. Fix: choose a different location.` : `No free file name for "${e}" after ${Td} tries. Fix: choose a different title.`
|
|
24488
24485
|
);
|
|
24489
|
-
function
|
|
24486
|
+
function fM(e) {
|
|
24490
24487
|
try {
|
|
24491
24488
|
const t = JSON.parse(e ?? "");
|
|
24492
24489
|
return new Set(
|
|
@@ -24504,7 +24501,7 @@ function zl(e) {
|
|
|
24504
24501
|
if (n) return n[1].trim();
|
|
24505
24502
|
}
|
|
24506
24503
|
}
|
|
24507
|
-
function
|
|
24504
|
+
function hM(e) {
|
|
24508
24505
|
for (const t of e ?? []) {
|
|
24509
24506
|
const n = /^#\s*(?:-[A-Za-z_]+\s+)*([a-z_]+)/.exec(t.trim())?.[1];
|
|
24510
24507
|
if (n && hc.includes(n)) return n;
|
|
@@ -24542,14 +24539,14 @@ function gT({
|
|
|
24542
24539
|
}), l = a.map((p) => p.dataUpdatedAt).join(), c = Ve(() => {
|
|
24543
24540
|
const p = /* @__PURE__ */ new Map();
|
|
24544
24541
|
return a.forEach((f, m) => {
|
|
24545
|
-
const w = [], k =
|
|
24542
|
+
const w = [], k = fM(f.data?.modelInfo);
|
|
24546
24543
|
for (const v of f.data?.sources ?? []) {
|
|
24547
24544
|
if (typeof v.name != "string" || !k.has(v.name))
|
|
24548
24545
|
continue;
|
|
24549
24546
|
const y = zl(v.annotations);
|
|
24550
24547
|
for (const P of v.views ?? [])
|
|
24551
24548
|
if (typeof P.name == "string") {
|
|
24552
|
-
const C = zl(P.annotations), I =
|
|
24549
|
+
const C = zl(P.annotations), I = hM(P.annotations);
|
|
24553
24550
|
w.push({
|
|
24554
24551
|
source: v.name,
|
|
24555
24552
|
view: P.name,
|
|
@@ -24616,21 +24613,9 @@ function ST(e, {
|
|
|
24616
24613
|
};
|
|
24617
24614
|
}
|
|
24618
24615
|
const xT = 1e4, wT = (e) => e === "notebook" ? "linear" : "grid", CT = (e, t) => `${e}s/${t}.malloy`;
|
|
24619
|
-
function
|
|
24620
|
-
|
|
24621
|
-
|
|
24622
|
-
["notebooks"],
|
|
24623
|
-
["dashboard"],
|
|
24624
|
-
...n === void 0 ? [] : [[Yk({ environmentName: e, packageName: t, modelPath: n })]]
|
|
24625
|
-
];
|
|
24626
|
-
}
|
|
24627
|
-
function PT(e, t, n, r) {
|
|
24628
|
-
for (const o of [
|
|
24629
|
-
["report"],
|
|
24630
|
-
["reports"],
|
|
24631
|
-
...gM(t, n, r)
|
|
24632
|
-
])
|
|
24633
|
-
e.invalidateQueries({ queryKey: o });
|
|
24616
|
+
function PT(e) {
|
|
24617
|
+
for (const t of [["report"], ["reports"]])
|
|
24618
|
+
e.invalidateQueries({ queryKey: t });
|
|
24634
24619
|
}
|
|
24635
24620
|
function qi(e) {
|
|
24636
24621
|
const { server: t } = Jn(), n = {
|
|
@@ -24682,7 +24667,7 @@ function kT(e) {
|
|
|
24682
24667
|
};
|
|
24683
24668
|
return Xd(t, Yl);
|
|
24684
24669
|
}
|
|
24685
|
-
function
|
|
24670
|
+
function mM(e) {
|
|
24686
24671
|
return [
|
|
24687
24672
|
"queryResult",
|
|
24688
24673
|
e.environmentName,
|
|
@@ -24706,46 +24691,49 @@ function MT(e) {
|
|
|
24706
24691
|
e.modelPath
|
|
24707
24692
|
];
|
|
24708
24693
|
}
|
|
24709
|
-
function
|
|
24710
|
-
|
|
24694
|
+
function gM(e, t, n) {
|
|
24695
|
+
return e.models.executeQueryModel(
|
|
24696
|
+
t.environmentName,
|
|
24697
|
+
t.packageName,
|
|
24698
|
+
t.modelPath,
|
|
24699
|
+
{
|
|
24700
|
+
queryName: t.queryName,
|
|
24701
|
+
query: t.query,
|
|
24702
|
+
sourceName: t.sourceName,
|
|
24703
|
+
givens: t.givens,
|
|
24704
|
+
versionId: t.versionId
|
|
24705
|
+
},
|
|
24706
|
+
void 0,
|
|
24707
|
+
// versionId: carried in the body.
|
|
24708
|
+
void 0,
|
|
24709
|
+
{ signal: n }
|
|
24710
|
+
);
|
|
24711
|
+
}
|
|
24712
|
+
function yM(e, { enabled: t = !0 } = {}) {
|
|
24713
|
+
const { apiClients: n } = Jn(), r = mM(e);
|
|
24711
24714
|
return qi({
|
|
24712
24715
|
queryKey: r,
|
|
24713
24716
|
// The signal cancels a run the page no longer wants: a tile whose givens
|
|
24714
24717
|
// changed under it, or one that unmounted. react-query reverts a
|
|
24715
24718
|
// cancelled query to its previous state rather than to an error, so an
|
|
24716
24719
|
// abort never reaches `ResultPanel`'s failed state.
|
|
24717
|
-
queryFn: ({ signal: o }) => n
|
|
24718
|
-
e.environmentName,
|
|
24719
|
-
e.packageName,
|
|
24720
|
-
e.modelPath,
|
|
24721
|
-
{
|
|
24722
|
-
queryName: e.queryName,
|
|
24723
|
-
query: e.query,
|
|
24724
|
-
sourceName: e.sourceName,
|
|
24725
|
-
givens: e.givens,
|
|
24726
|
-
versionId: e.versionId
|
|
24727
|
-
},
|
|
24728
|
-
void 0,
|
|
24729
|
-
// versionId: carried in the body.
|
|
24730
|
-
void 0,
|
|
24731
|
-
{ signal: o }
|
|
24732
|
-
),
|
|
24720
|
+
queryFn: ({ signal: o }) => gM(n, e, o),
|
|
24733
24721
|
enabled: t,
|
|
24734
24722
|
// A change of givens is a new key, and without this the surface drops to
|
|
24735
24723
|
// "Running…" and back: every tile on a page blanked and redrew on each
|
|
24736
24724
|
// filter pick. The last result stays up until the new one lands, and
|
|
24737
24725
|
// `isPlaceholderData` says it is the previous answer.
|
|
24738
|
-
placeholderData: (o, s) => s &&
|
|
24726
|
+
placeholderData: (o, s) => s && vM(s.queryKey, r) ? Qd(o) : void 0,
|
|
24739
24727
|
...Ud
|
|
24740
24728
|
});
|
|
24741
24729
|
}
|
|
24742
|
-
const
|
|
24743
|
-
function
|
|
24730
|
+
const bM = 8;
|
|
24731
|
+
function vM(e, t) {
|
|
24744
24732
|
return e.every(
|
|
24745
|
-
(n, r) => r ===
|
|
24733
|
+
(n, r) => r === bM || r >= t.length || n === t[r]
|
|
24746
24734
|
);
|
|
24747
24735
|
}
|
|
24748
|
-
const
|
|
24736
|
+
const SM = /<\/?[A-Za-z][^>]*>|<!--|<![A-Za-z]/;
|
|
24749
24737
|
function Rd(e) {
|
|
24750
24738
|
let t = !1;
|
|
24751
24739
|
for (const [n, r] of Array.from(e.entries())) {
|
|
@@ -24761,7 +24749,7 @@ function Rd(e) {
|
|
|
24761
24749
|
} catch {
|
|
24762
24750
|
s = void 0;
|
|
24763
24751
|
}
|
|
24764
|
-
if (s !== void 0 &&
|
|
24752
|
+
if (s !== void 0 && SM.test(s)) {
|
|
24765
24753
|
e.delete("label"), t = !0;
|
|
24766
24754
|
continue;
|
|
24767
24755
|
}
|
|
@@ -24772,7 +24760,7 @@ function Rd(e) {
|
|
|
24772
24760
|
}
|
|
24773
24761
|
return t;
|
|
24774
24762
|
}
|
|
24775
|
-
function
|
|
24763
|
+
function xM(e) {
|
|
24776
24764
|
const t = e.trim();
|
|
24777
24765
|
if (!/^#(?:\||[ \t\r\n]|$)/.test(t)) return e;
|
|
24778
24766
|
if (t.includes("@env.")) return "";
|
|
@@ -24796,7 +24784,7 @@ function ti(e) {
|
|
|
24796
24784
|
if (n === "annotations" && Array.isArray(r))
|
|
24797
24785
|
for (const o of r) {
|
|
24798
24786
|
const s = o;
|
|
24799
|
-
typeof s?.value == "string" && (s.value =
|
|
24787
|
+
typeof s?.value == "string" && (s.value = xM(s.value));
|
|
24800
24788
|
}
|
|
24801
24789
|
else
|
|
24802
24790
|
ti(r);
|
|
@@ -24813,7 +24801,7 @@ function Id(e) {
|
|
|
24813
24801
|
const r = JSON.stringify(t);
|
|
24814
24802
|
return r === n ? e : r;
|
|
24815
24803
|
}
|
|
24816
|
-
const
|
|
24804
|
+
const wM = /* @__PURE__ */ new Set([
|
|
24817
24805
|
"bar_chart",
|
|
24818
24806
|
"line_chart",
|
|
24819
24807
|
"scatter_chart",
|
|
@@ -24832,22 +24820,22 @@ const CM = /* @__PURE__ */ new Set([
|
|
|
24832
24820
|
"image",
|
|
24833
24821
|
"link",
|
|
24834
24822
|
"text"
|
|
24835
|
-
]),
|
|
24823
|
+
]), CM = { value: `# big_value
|
|
24836
24824
|
` };
|
|
24837
|
-
function
|
|
24825
|
+
function PM(e) {
|
|
24838
24826
|
const t = e.schema?.fields;
|
|
24839
24827
|
if (!Array.isArray(t) || t.length === 0 || !t.every((r) => Vs(r))) return !1;
|
|
24840
24828
|
const n = e.data;
|
|
24841
24829
|
return n ? n.kind === "record_cell" ? !0 : n.kind === "array_cell" && Array.isArray(n.array_value) && n.array_value.length === 1 : !1;
|
|
24842
24830
|
}
|
|
24843
|
-
function
|
|
24831
|
+
function kM(e) {
|
|
24844
24832
|
for (const t of e) {
|
|
24845
24833
|
const n = t.trim();
|
|
24846
24834
|
if (!n.startsWith("#") || n.startsWith("#(") || n.startsWith('#"'))
|
|
24847
24835
|
continue;
|
|
24848
24836
|
const r = Ko(n.slice(1));
|
|
24849
24837
|
for (const o of r.split(/[\s{}=.,[\]]+/))
|
|
24850
|
-
if (
|
|
24838
|
+
if (wM.has(o)) return !0;
|
|
24851
24839
|
}
|
|
24852
24840
|
return !1;
|
|
24853
24841
|
}
|
|
@@ -24858,15 +24846,15 @@ function $d(e) {
|
|
|
24858
24846
|
} catch {
|
|
24859
24847
|
return e;
|
|
24860
24848
|
}
|
|
24861
|
-
if (!t || typeof t != "object" || !
|
|
24849
|
+
if (!t || typeof t != "object" || !PM(t))
|
|
24862
24850
|
return e;
|
|
24863
24851
|
const n = Array.isArray(t.annotations) ? t.annotations : [], r = n.map((o) => o?.value).filter((o) => typeof o == "string");
|
|
24864
|
-
return
|
|
24852
|
+
return kM(r) ? e : JSON.stringify({
|
|
24865
24853
|
...t,
|
|
24866
|
-
annotations: [
|
|
24854
|
+
annotations: [CM, ...n]
|
|
24867
24855
|
});
|
|
24868
24856
|
}
|
|
24869
|
-
const
|
|
24857
|
+
const MM = (e) => Id($d(e));
|
|
24870
24858
|
function _l(e) {
|
|
24871
24859
|
const t = e.split("->").at(-1)?.trim() ?? e;
|
|
24872
24860
|
return /^[A-Za-z_][\w-]*$/.test(t) ? mg(t) : e;
|
|
@@ -24900,7 +24888,7 @@ function DT({
|
|
|
24900
24888
|
waitingFor: A,
|
|
24901
24889
|
index: O
|
|
24902
24890
|
}) {
|
|
24903
|
-
const { theme: $ } = Ke(), [b, E] = _m(), T =
|
|
24891
|
+
const { theme: $ } = Ke(), [b, E] = _m(), T = yM(
|
|
24904
24892
|
{
|
|
24905
24893
|
environmentName: e,
|
|
24906
24894
|
packageName: t,
|
|
@@ -24988,7 +24976,7 @@ function DT({
|
|
|
24988
24976
|
drill: v,
|
|
24989
24977
|
transform: (
|
|
24990
24978
|
// A document held as text draws no value-to-URL or markup tags.
|
|
24991
|
-
I !== void 0 ? s !== void 0 ?
|
|
24979
|
+
I !== void 0 ? s !== void 0 ? MM : Id : s !== void 0 ? $d : void 0
|
|
24992
24980
|
)
|
|
24993
24981
|
}
|
|
24994
24982
|
)
|
|
@@ -25024,109 +25012,109 @@ function TT(e, { enabled: t = !0 } = {}) {
|
|
|
25024
25012
|
});
|
|
25025
25013
|
}
|
|
25026
25014
|
export {
|
|
25027
|
-
|
|
25015
|
+
UD as $,
|
|
25028
25016
|
pc as A,
|
|
25029
|
-
|
|
25017
|
+
xD as B,
|
|
25030
25018
|
am as C,
|
|
25031
25019
|
Cd as D,
|
|
25032
25020
|
lm as E,
|
|
25033
|
-
|
|
25021
|
+
tD as F,
|
|
25034
25022
|
Vt as G,
|
|
25035
25023
|
sm as H,
|
|
25036
25024
|
_l as I,
|
|
25037
25025
|
Zh as J,
|
|
25038
25026
|
Zo as K,
|
|
25039
25027
|
nT as L,
|
|
25040
|
-
|
|
25041
|
-
|
|
25042
|
-
|
|
25028
|
+
YM as M,
|
|
25029
|
+
ZM as N,
|
|
25030
|
+
QM as O,
|
|
25043
25031
|
Qh as P,
|
|
25044
|
-
|
|
25032
|
+
nD as Q,
|
|
25045
25033
|
Fm as R,
|
|
25046
|
-
|
|
25034
|
+
sD as S,
|
|
25047
25035
|
Am as T,
|
|
25048
|
-
|
|
25049
|
-
|
|
25036
|
+
rD as U,
|
|
25037
|
+
uD as V,
|
|
25050
25038
|
kd as W,
|
|
25051
25039
|
mc as X,
|
|
25052
25040
|
Xo as Y,
|
|
25053
|
-
|
|
25054
|
-
|
|
25055
|
-
|
|
25041
|
+
XM as Z,
|
|
25042
|
+
JM as _,
|
|
25043
|
+
lD as a,
|
|
25056
25044
|
wT as a$,
|
|
25057
25045
|
um as a0,
|
|
25058
|
-
|
|
25059
|
-
|
|
25046
|
+
JD as a1,
|
|
25047
|
+
jM as a2,
|
|
25060
25048
|
qh as a3,
|
|
25061
25049
|
Kh as a4,
|
|
25062
25050
|
GP as a5,
|
|
25063
25051
|
qP as a6,
|
|
25064
|
-
|
|
25052
|
+
HM as a7,
|
|
25065
25053
|
xr as a8,
|
|
25066
25054
|
Fk as a9,
|
|
25067
25055
|
Nm as aA,
|
|
25068
25056
|
qi as aB,
|
|
25069
25057
|
ST as aC,
|
|
25070
25058
|
TT as aD,
|
|
25071
|
-
|
|
25059
|
+
ED as aE,
|
|
25072
25060
|
Ek as aF,
|
|
25073
|
-
|
|
25074
|
-
|
|
25061
|
+
LD as aG,
|
|
25062
|
+
BD as aH,
|
|
25075
25063
|
Sd as aI,
|
|
25076
25064
|
DT as aJ,
|
|
25077
|
-
|
|
25078
|
-
|
|
25079
|
-
|
|
25080
|
-
|
|
25081
|
-
|
|
25065
|
+
YD as aK,
|
|
25066
|
+
VD as aL,
|
|
25067
|
+
_D as aM,
|
|
25068
|
+
zD as aN,
|
|
25069
|
+
HD as aO,
|
|
25082
25070
|
xT as aP,
|
|
25083
25071
|
sT as aQ,
|
|
25084
|
-
|
|
25085
|
-
|
|
25072
|
+
lM as aR,
|
|
25073
|
+
Zk as aS,
|
|
25086
25074
|
lT as aT,
|
|
25087
25075
|
Jm as aU,
|
|
25088
25076
|
tg as aV,
|
|
25089
25077
|
iT as aW,
|
|
25090
25078
|
cT as aX,
|
|
25091
25079
|
PT as aY,
|
|
25092
|
-
|
|
25080
|
+
Kk as aZ,
|
|
25093
25081
|
MT as a_,
|
|
25094
25082
|
Pd as aa,
|
|
25095
25083
|
Lk as ab,
|
|
25096
|
-
|
|
25097
|
-
|
|
25098
|
-
|
|
25084
|
+
qM as ac,
|
|
25085
|
+
bD as ad,
|
|
25086
|
+
ZD as ae,
|
|
25099
25087
|
zs as af,
|
|
25100
|
-
|
|
25088
|
+
eT as ag,
|
|
25101
25089
|
jP as ah,
|
|
25102
25090
|
ok as ai,
|
|
25103
25091
|
sk as aj,
|
|
25104
|
-
|
|
25092
|
+
iD as ak,
|
|
25105
25093
|
Ll as al,
|
|
25106
|
-
|
|
25094
|
+
fM as am,
|
|
25107
25095
|
zl as an,
|
|
25108
25096
|
gm as ao,
|
|
25109
|
-
|
|
25110
|
-
|
|
25111
|
-
|
|
25112
|
-
|
|
25113
|
-
|
|
25114
|
-
|
|
25115
|
-
|
|
25116
|
-
|
|
25117
|
-
|
|
25118
|
-
|
|
25097
|
+
hM as ap,
|
|
25098
|
+
TD as aq,
|
|
25099
|
+
vD as ar,
|
|
25100
|
+
GM as as,
|
|
25101
|
+
WM as at,
|
|
25102
|
+
QD as au,
|
|
25103
|
+
wD as av,
|
|
25104
|
+
CD as aw,
|
|
25105
|
+
KM as ax,
|
|
25106
|
+
eD as ay,
|
|
25119
25107
|
xc as az,
|
|
25120
|
-
|
|
25108
|
+
dD as b,
|
|
25121
25109
|
Pn as b$,
|
|
25122
25110
|
dT as b0,
|
|
25123
|
-
|
|
25111
|
+
jD as b1,
|
|
25124
25112
|
vT as b2,
|
|
25125
25113
|
uT as b3,
|
|
25126
|
-
|
|
25114
|
+
kD as b4,
|
|
25127
25115
|
aT as b5,
|
|
25128
25116
|
Hm as b6,
|
|
25129
|
-
|
|
25117
|
+
MD as b7,
|
|
25130
25118
|
CT as b8,
|
|
25131
25119
|
Td as b9,
|
|
25132
25120
|
Xh as bA,
|
|
@@ -25151,7 +25139,7 @@ export {
|
|
|
25151
25139
|
Io as bT,
|
|
25152
25140
|
ae as bU,
|
|
25153
25141
|
kT as bV,
|
|
25154
|
-
|
|
25142
|
+
oD as bW,
|
|
25155
25143
|
hp as bX,
|
|
25156
25144
|
Wr as bY,
|
|
25157
25145
|
Mh as bZ,
|
|
@@ -25161,66 +25149,66 @@ export {
|
|
|
25161
25149
|
fT as bc,
|
|
25162
25150
|
Md as bd,
|
|
25163
25151
|
pT as be,
|
|
25164
|
-
|
|
25165
|
-
|
|
25166
|
-
|
|
25167
|
-
|
|
25152
|
+
oM as bf,
|
|
25153
|
+
iM as bg,
|
|
25154
|
+
nM as bh,
|
|
25155
|
+
sM as bi,
|
|
25168
25156
|
gT as bj,
|
|
25169
25157
|
Cc as bk,
|
|
25170
|
-
|
|
25158
|
+
ID as bl,
|
|
25171
25159
|
mi as bm,
|
|
25172
25160
|
yg as bn,
|
|
25173
|
-
|
|
25161
|
+
$D as bo,
|
|
25174
25162
|
mg as bp,
|
|
25175
25163
|
hg as bq,
|
|
25176
25164
|
gg as br,
|
|
25177
25165
|
zc as bs,
|
|
25178
25166
|
fi as bt,
|
|
25179
|
-
|
|
25167
|
+
yM as bu,
|
|
25180
25168
|
bk as bv,
|
|
25181
25169
|
kc as bw,
|
|
25182
25170
|
Vc as bx,
|
|
25183
25171
|
Bc as by,
|
|
25184
|
-
|
|
25172
|
+
qD as bz,
|
|
25185
25173
|
dk as c,
|
|
25186
|
-
|
|
25187
|
-
|
|
25174
|
+
Tk as c$,
|
|
25175
|
+
ND as c0,
|
|
25188
25176
|
qe as c1,
|
|
25189
25177
|
Or as c2,
|
|
25190
25178
|
Pt as c3,
|
|
25191
25179
|
Mw as c4,
|
|
25192
25180
|
os as c5,
|
|
25193
25181
|
eo as c6,
|
|
25194
|
-
|
|
25182
|
+
tT as c7,
|
|
25195
25183
|
Ft as c8,
|
|
25196
25184
|
Ht as c9,
|
|
25197
25185
|
Lg as cA,
|
|
25198
|
-
|
|
25186
|
+
FD as cB,
|
|
25199
25187
|
xd as cC,
|
|
25200
25188
|
yk as cD,
|
|
25201
|
-
|
|
25202
|
-
|
|
25189
|
+
OD as cE,
|
|
25190
|
+
AD as cF,
|
|
25203
25191
|
Dg as cG,
|
|
25204
|
-
|
|
25192
|
+
yD as cH,
|
|
25205
25193
|
fk as cI,
|
|
25206
25194
|
wm as cJ,
|
|
25207
|
-
|
|
25195
|
+
gD as cK,
|
|
25208
25196
|
oT as cL,
|
|
25209
|
-
|
|
25210
|
-
|
|
25211
|
-
|
|
25212
|
-
|
|
25213
|
-
|
|
25214
|
-
|
|
25215
|
-
|
|
25216
|
-
|
|
25217
|
-
|
|
25218
|
-
|
|
25219
|
-
|
|
25220
|
-
|
|
25221
|
-
|
|
25222
|
-
|
|
25223
|
-
|
|
25197
|
+
Wm as cM,
|
|
25198
|
+
mD as cN,
|
|
25199
|
+
Cs as cO,
|
|
25200
|
+
EP as cP,
|
|
25201
|
+
mM as cQ,
|
|
25202
|
+
gM as cR,
|
|
25203
|
+
RD as cS,
|
|
25204
|
+
eg as cT,
|
|
25205
|
+
cM as cU,
|
|
25206
|
+
Ls as cV,
|
|
25207
|
+
GD as cW,
|
|
25208
|
+
kk as cX,
|
|
25209
|
+
aM as cY,
|
|
25210
|
+
Dk as cZ,
|
|
25211
|
+
Qk as c_,
|
|
25224
25212
|
wa as ca,
|
|
25225
25213
|
yw as cb,
|
|
25226
25214
|
S0 as cc,
|
|
@@ -25238,47 +25226,48 @@ export {
|
|
|
25238
25226
|
uy as co,
|
|
25239
25227
|
$P as cp,
|
|
25240
25228
|
Mc as cq,
|
|
25241
|
-
|
|
25229
|
+
PD as cr,
|
|
25242
25230
|
qm as cs,
|
|
25243
|
-
|
|
25231
|
+
_M as ct,
|
|
25244
25232
|
rn as cu,
|
|
25245
25233
|
ei as cv,
|
|
25246
25234
|
pk as cw,
|
|
25247
25235
|
ud as cx,
|
|
25248
|
-
|
|
25236
|
+
WD as cy,
|
|
25249
25237
|
OP as cz,
|
|
25250
|
-
|
|
25251
|
-
|
|
25252
|
-
|
|
25253
|
-
|
|
25254
|
-
|
|
25255
|
-
|
|
25256
|
-
|
|
25257
|
-
|
|
25258
|
-
|
|
25259
|
-
|
|
25260
|
-
|
|
25261
|
-
|
|
25262
|
-
|
|
25263
|
-
|
|
25264
|
-
|
|
25265
|
-
|
|
25266
|
-
|
|
25267
|
-
|
|
25268
|
-
|
|
25269
|
-
|
|
25270
|
-
|
|
25271
|
-
|
|
25272
|
-
|
|
25273
|
-
|
|
25238
|
+
XD as d,
|
|
25239
|
+
yT as d0,
|
|
25240
|
+
dd as d1,
|
|
25241
|
+
Em as d2,
|
|
25242
|
+
Mk as d3,
|
|
25243
|
+
Tg as d4,
|
|
25244
|
+
_k as d5,
|
|
25245
|
+
Wk as d6,
|
|
25246
|
+
bc as d7,
|
|
25247
|
+
Ak as d8,
|
|
25248
|
+
wk as d9,
|
|
25249
|
+
$m as da,
|
|
25250
|
+
DD as db,
|
|
25251
|
+
bg as dc,
|
|
25252
|
+
Om as dd,
|
|
25253
|
+
Rk as de,
|
|
25254
|
+
wd as df,
|
|
25255
|
+
Un as dg,
|
|
25256
|
+
Pk as dh,
|
|
25257
|
+
Pa as di,
|
|
25258
|
+
KD as dj,
|
|
25259
|
+
bT as dk,
|
|
25260
|
+
vg as dl,
|
|
25261
|
+
cm as dm,
|
|
25262
|
+
pD as e,
|
|
25274
25263
|
Tm as f,
|
|
25275
|
-
|
|
25276
|
-
|
|
25264
|
+
fD as g,
|
|
25265
|
+
UM as h,
|
|
25277
25266
|
Gh as i,
|
|
25278
25267
|
tm as j,
|
|
25279
25268
|
di as k,
|
|
25280
25269
|
rT as l,
|
|
25281
|
-
|
|
25270
|
+
hD as m,
|
|
25282
25271
|
Ae as n,
|
|
25283
25272
|
Qo as o,
|
|
25284
25273
|
Hr as p,
|
|
@@ -25287,9 +25276,9 @@ export {
|
|
|
25287
25276
|
fm as s,
|
|
25288
25277
|
im as t,
|
|
25289
25278
|
km as u,
|
|
25290
|
-
|
|
25279
|
+
cD as v,
|
|
25291
25280
|
Lm as w,
|
|
25292
25281
|
Uh as x,
|
|
25293
|
-
|
|
25294
|
-
|
|
25282
|
+
SD as y,
|
|
25283
|
+
aD as z
|
|
25295
25284
|
};
|