@bitcobblers/wod-wiki-ui 0.59.2246 → 0.60.2250
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/{chunk-YCI5DMLM.mjs → chunk-GP26UA75.mjs} +150 -189
- package/dist/chunk-GP26UA75.mjs.map +1 -0
- package/dist/chunk-U2OQIGSB.mjs +66 -0
- package/dist/chunk-U2OQIGSB.mjs.map +1 -0
- package/dist/extensions/index.cjs +175 -153
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.mjs +2 -1
- package/dist/index.cjs +293 -231
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -55
- package/dist/index.d.ts +14 -55
- package/dist/index.mjs +107 -62
- package/dist/index.mjs.map +1 -1
- package/dist/primitives/index.cjs +858 -0
- package/dist/primitives/index.cjs.map +1 -0
- package/dist/primitives/index.d.cts +103 -0
- package/dist/primitives/index.d.ts +103 -0
- package/dist/primitives/index.mjs +240 -0
- package/dist/primitives/index.mjs.map +1 -0
- package/dist/styles.css +105 -0
- package/package.json +17 -4
- package/dist/chunk-YCI5DMLM.mjs.map +0 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { clsx } from 'clsx';
|
|
2
|
+
import { twMerge } from 'tailwind-merge';
|
|
3
|
+
import { Button as Button$1 } from '@ui-sdk/react/button';
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
|
+
|
|
6
|
+
// src/utils/cn.ts
|
|
7
|
+
function cn(...inputs) {
|
|
8
|
+
return twMerge(clsx(inputs));
|
|
9
|
+
}
|
|
10
|
+
function hashCode(str) {
|
|
11
|
+
let hash = 0;
|
|
12
|
+
for (let i = 0; i < str.length; i++) {
|
|
13
|
+
const char = str.charCodeAt(i);
|
|
14
|
+
hash = (hash << 5) - hash + char;
|
|
15
|
+
hash = hash & hash;
|
|
16
|
+
}
|
|
17
|
+
return Math.abs(hash);
|
|
18
|
+
}
|
|
19
|
+
function buttonVariants({
|
|
20
|
+
variant = "default",
|
|
21
|
+
size = "default",
|
|
22
|
+
className
|
|
23
|
+
} = {}) {
|
|
24
|
+
return cn(
|
|
25
|
+
"inline-flex items-center justify-center gap-1.5 whitespace-nowrap rounded-md text-sm font-medium transition-colors cursor-pointer select-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
26
|
+
(variant === "default" || variant === "solid") && "bg-primary text-primary-foreground border border-primary hover:bg-primary/90",
|
|
27
|
+
variant === "destructive" && "bg-destructive text-destructive-foreground border border-destructive hover:bg-destructive/90",
|
|
28
|
+
variant === "outline" && "border border-field-border bg-card text-foreground hover:bg-muted",
|
|
29
|
+
variant === "secondary" && "border border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
30
|
+
variant === "ghost" && "border border-transparent bg-transparent text-foreground hover:bg-muted",
|
|
31
|
+
variant === "link" && "border border-transparent bg-transparent text-primary underline-offset-4 hover:underline",
|
|
32
|
+
size === "default" && "h-10 px-4 py-2",
|
|
33
|
+
size === "sm" && "h-9 px-3 text-xs",
|
|
34
|
+
size === "lg" && "h-11 px-8",
|
|
35
|
+
size === "icon" && "h-11 w-11 min-h-11 min-w-11 p-0",
|
|
36
|
+
className
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
function mapDataVariant(variant) {
|
|
40
|
+
if (variant === "default" || variant === "solid") return "solid";
|
|
41
|
+
if (variant === "outline") return void 0;
|
|
42
|
+
return variant;
|
|
43
|
+
}
|
|
44
|
+
function Button({
|
|
45
|
+
variant = "default",
|
|
46
|
+
size = "default",
|
|
47
|
+
className,
|
|
48
|
+
...props
|
|
49
|
+
}) {
|
|
50
|
+
const dataVariant = mapDataVariant(variant);
|
|
51
|
+
const dataSize = size === "default" ? void 0 : size;
|
|
52
|
+
const resolvedClassName = typeof className === "function" ? (state) => buttonVariants({ variant, size, className: className(state) }) : buttonVariants({ variant, size, className });
|
|
53
|
+
return /* @__PURE__ */ jsx(
|
|
54
|
+
Button$1,
|
|
55
|
+
{
|
|
56
|
+
"data-variant": dataVariant,
|
|
57
|
+
"data-size": dataSize,
|
|
58
|
+
className: resolvedClassName,
|
|
59
|
+
...props
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export { Button, buttonVariants, cn, hashCode };
|
|
65
|
+
//# sourceMappingURL=chunk-U2OQIGSB.mjs.map
|
|
66
|
+
//# sourceMappingURL=chunk-U2OQIGSB.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/utils/cn.ts","../src/primitives/button.tsx"],"names":["UiButton"],"mappings":";;;;;;AAGO,SAAS,MAAM,MAAA,EAAsB;AAC1C,EAAA,OAAO,OAAA,CAAQ,IAAA,CAAK,MAAM,CAAC,CAAA;AAC7B;AAEO,SAAS,SAAS,GAAA,EAAqB;AAC5C,EAAA,IAAI,IAAA,GAAO,CAAA;AACX,EAAA,KAAA,IAAS,CAAA,GAAI,CAAA,EAAG,CAAA,GAAI,GAAA,CAAI,QAAQ,CAAA,EAAA,EAAK;AACnC,IAAA,MAAM,IAAA,GAAO,GAAA,CAAI,UAAA,CAAW,CAAC,CAAA;AAC7B,IAAA,IAAA,GAAA,CAAS,IAAA,IAAQ,KAAK,IAAA,GAAQ,IAAA;AAC9B,IAAA,IAAA,GAAO,IAAA,GAAO,IAAA;AAAA,EAChB;AACA,EAAA,OAAO,IAAA,CAAK,IAAI,IAAI,CAAA;AACtB;ACcO,SAAS,cAAA,CAAe;AAAA,EAC7B,OAAA,GAAU,SAAA;AAAA,EACV,IAAA,GAAO,SAAA;AAAA,EACP;AACF,CAAA,GAAwB,EAAC,EAAW;AAClC,EAAA,OAAO,EAAA;AAAA,IACL,6UAAA;AAAA,IAAA,CACC,OAAA,KAAY,SAAA,IAAa,OAAA,KAAY,OAAA,KACpC,8EAAA;AAAA,IACF,YAAY,a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sx\";\nimport { twMerge } from \"tailwind-merge\";\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n\nexport function hashCode(str: string): number {\n let hash = 0;\n for (let i = 0; i < str.length; i++) {\n const char = str.charCodeAt(i);\n hash = ((hash << 5) - hash) + char;\n hash = hash & hash;\n }\n return Math.abs(hash);\n}\n","\"use client\";\n\nimport {\n Button as UiButton,\n type ButtonActionDetails,\n type ButtonOptions,\n type ButtonState,\n} from '@ui-sdk/react/button';\nimport type { PartProps } from '@ui-sdk/react/primitive';\nimport type * as React from 'react';\nimport { cn } from '../utils/cn';\n\nexport type ButtonVariant =\n | 'default'\n | 'solid'\n | 'destructive'\n | 'outline'\n | 'secondary'\n | 'ghost'\n | 'link';\n\nexport type ButtonSize = 'default' | 'sm' | 'lg' | 'icon';\n\nexport interface ButtonStyleOptions {\n variant?: ButtonVariant;\n size?: ButtonSize;\n className?: string;\n}\n\nexport function buttonVariants({\n variant = 'default',\n size = 'default',\n className,\n}: ButtonStyleOptions = {}): string {\n return cn(\n 'inline-flex items-center justify-center gap-1.5 whitespace-nowrap rounded-md text-sm font-medium transition-colors cursor-pointer select-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50',\n (variant === 'default' || variant === 'solid') &&\n 'bg-primary text-primary-foreground border border-primary hover:bg-primary/90',\n variant === 'destructive' &&\n 'bg-destructive text-destructive-foreground border border-destructive hover:bg-destructive/90',\n variant === 'outline' &&\n 'border border-field-border bg-card text-foreground hover:bg-muted',\n variant === 'secondary' &&\n 'border border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80',\n variant === 'ghost' &&\n 'border border-transparent bg-transparent text-foreground hover:bg-muted',\n variant === 'link' &&\n 'border border-transparent bg-transparent text-primary underline-offset-4 hover:underline',\n size === 'default' && 'h-10 px-4 py-2',\n size === 'sm' && 'h-9 px-3 text-xs',\n size === 'lg' && 'h-11 px-8',\n size === 'icon' && 'h-11 w-11 min-h-11 min-w-11 p-0',\n className,\n );\n}\n\nexport type ButtonProps = Omit<PartProps<'button', ButtonState>, 'type' | 'onClick'> &\n ButtonOptions & {\n variant?: ButtonVariant;\n size?: ButtonSize;\n onClick?: (event: React.MouseEvent<HTMLElement>, details: ButtonActionDetails) => unknown;\n };\n\nfunction mapDataVariant(variant: ButtonVariant): string | undefined {\n if (variant === 'default' || variant === 'solid') return 'solid';\n if (variant === 'outline') return undefined;\n return variant;\n}\n\nexport function Button({\n variant = 'default',\n size = 'default',\n className,\n ...props\n}: ButtonProps): React.JSX.Element | null {\n const dataVariant = mapDataVariant(variant);\n const dataSize = size === 'default' ? undefined : size;\n const resolvedClassName =\n typeof className === 'function'\n ? (state: ButtonState) => buttonVariants({ variant, size, className: className(state) })\n : buttonVariants({ variant, size, className });\n\n return (\n <UiButton\n data-variant={dataVariant}\n data-size={dataSize}\n className={resolvedClassName}\n {...props}\n />\n );\n}\n\nexport type { ButtonActionDetails, ButtonOptions, ButtonState };\n"]}
|
|
@@ -17,8 +17,11 @@ var clsx = require('clsx');
|
|
|
17
17
|
var tailwindMerge = require('tailwind-merge');
|
|
18
18
|
var jsxRuntime = require('react/jsx-runtime');
|
|
19
19
|
var recharts = require('recharts');
|
|
20
|
-
var
|
|
20
|
+
var dialog = require('@ui-sdk/react/dialog');
|
|
21
|
+
var button = require('@ui-sdk/react/button');
|
|
21
22
|
var server = require('react-dom/server');
|
|
23
|
+
require('@ui-sdk/react/field');
|
|
24
|
+
require('@ui-sdk/react/input');
|
|
22
25
|
var solid = require('@heroicons/react/20/solid');
|
|
23
26
|
var common = require('@lezer/common');
|
|
24
27
|
var lr = require('@lezer/lr');
|
|
@@ -2585,16 +2588,25 @@ function createCloseIcon(size = "md") {
|
|
|
2585
2588
|
function isAliasProperty(key) {
|
|
2586
2589
|
return ["alias", "aliases"].includes(key.trim().toLowerCase());
|
|
2587
2590
|
}
|
|
2588
|
-
function createSummaryPill(value, hash2) {
|
|
2591
|
+
function createSummaryPill(value, hash2, href) {
|
|
2589
2592
|
const pill = document.createElement("span");
|
|
2590
2593
|
pill.className = "inline-flex max-w-full items-center rounded-md border border-border/60 bg-muted/40 px-2 py-0.5 text-xs text-foreground";
|
|
2591
2594
|
const label = document.createElement("span");
|
|
2592
2595
|
label.className = "truncate";
|
|
2593
|
-
|
|
2596
|
+
const text = hash2 ? `#${value}` : value;
|
|
2597
|
+
if (href) {
|
|
2598
|
+
const link = document.createElement("a");
|
|
2599
|
+
link.href = href;
|
|
2600
|
+
link.textContent = text;
|
|
2601
|
+
link.className = "hover:underline cursor-pointer";
|
|
2602
|
+
label.appendChild(link);
|
|
2603
|
+
} else {
|
|
2604
|
+
label.textContent = text;
|
|
2605
|
+
}
|
|
2594
2606
|
pill.appendChild(label);
|
|
2595
2607
|
return pill;
|
|
2596
2608
|
}
|
|
2597
|
-
function createFrontmatterSummary(entries, onShowDetails) {
|
|
2609
|
+
function createFrontmatterSummary(entries, onShowDetails, docKind, referenceProvider) {
|
|
2598
2610
|
const summary = document.createElement("div");
|
|
2599
2611
|
summary.dataset.frontmatterSummary = "true";
|
|
2600
2612
|
summary.className = "divide-y divide-border/60";
|
|
@@ -2617,7 +2629,16 @@ function createFrontmatterSummary(entries, onShowDetails) {
|
|
|
2617
2629
|
label.className = "mr-1 w-14 shrink-0 text-[11px] font-medium text-muted-foreground";
|
|
2618
2630
|
label.textContent = group.label;
|
|
2619
2631
|
row.appendChild(label);
|
|
2620
|
-
for (const value of values2)
|
|
2632
|
+
for (const value of values2) {
|
|
2633
|
+
let href;
|
|
2634
|
+
if (group.label === "Aliases" && referenceProvider && (docKind === "effort" || docKind === "equipment")) {
|
|
2635
|
+
const match = docKind === "effort" ? referenceProvider.resolveEffort(value) : referenceProvider.resolveEquipment(value);
|
|
2636
|
+
if (match) {
|
|
2637
|
+
href = referenceProvider.openHref(docKind, match.slug);
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2640
|
+
row.appendChild(createSummaryPill(value, group.hash, href));
|
|
2641
|
+
}
|
|
2621
2642
|
summary.appendChild(row);
|
|
2622
2643
|
}
|
|
2623
2644
|
const hidden = entries.filter(([key]) => !TAG_CATEGORY_SUMMARY_KEYS[key.trim().toLowerCase()] && !isAliasProperty(key));
|
|
@@ -2713,7 +2734,7 @@ var DefaultFrontmatterWidget = class extends view.WidgetType {
|
|
|
2713
2734
|
box.appendChild(createFrontmatterSummary(entries, () => {
|
|
2714
2735
|
persistedDetailed.set(view.dom, true);
|
|
2715
2736
|
view.dispatch({ effects: setFrontmatterDetailed.of(true) });
|
|
2716
|
-
}));
|
|
2737
|
+
}, docKind, referenceProvider));
|
|
2717
2738
|
} else {
|
|
2718
2739
|
box.appendChild(createColumnHeader());
|
|
2719
2740
|
if (entries.length === 0) {
|
|
@@ -2867,7 +2888,15 @@ var DefaultFrontmatterWidget = class extends view.WidgetType {
|
|
|
2867
2888
|
const pill = document.createElement("span");
|
|
2868
2889
|
pill.className = match ? "group/pill inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs font-medium bg-muted/50 text-foreground border border-border/60" : chipIsReference ? "group/pill inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs font-medium bg-destructive/10 text-destructive border border-destructive/30" : "group/pill inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs font-medium bg-muted/40 text-foreground/90 border border-border/60";
|
|
2869
2890
|
const pillText = document.createElement("span");
|
|
2870
|
-
|
|
2891
|
+
if (isAliasRow && match && referenceProvider) {
|
|
2892
|
+
const aliasLink = document.createElement("a");
|
|
2893
|
+
aliasLink.href = referenceProvider.openHref(valueKind, match.slug);
|
|
2894
|
+
aliasLink.textContent = chip;
|
|
2895
|
+
aliasLink.className = "hover:underline cursor-pointer";
|
|
2896
|
+
pillText.appendChild(aliasLink);
|
|
2897
|
+
} else {
|
|
2898
|
+
pillText.textContent = isAliasRow ? chip : match ? match.label : chip;
|
|
2899
|
+
}
|
|
2871
2900
|
pill.appendChild(pillText);
|
|
2872
2901
|
if (match && referenceProvider && (!isAliasRow || idx === 0)) {
|
|
2873
2902
|
const openLink = document.createElement("a");
|
|
@@ -5549,6 +5578,27 @@ var OUTPUT_TYPE_DOT = {
|
|
|
5549
5578
|
compiler: "bg-muted-foreground/40",
|
|
5550
5579
|
analytics: "bg-type-analytics shadow-type-analytics/50"
|
|
5551
5580
|
};
|
|
5581
|
+
var OUTPUT_TYPE_LABEL = {
|
|
5582
|
+
segment: "Segment",
|
|
5583
|
+
milestone: "Milestone",
|
|
5584
|
+
completion: "Complete",
|
|
5585
|
+
metric: "Metric",
|
|
5586
|
+
system: "System",
|
|
5587
|
+
event: "Event",
|
|
5588
|
+
group: "Group",
|
|
5589
|
+
load: "Load",
|
|
5590
|
+
compiler: "Compiler",
|
|
5591
|
+
analytics: "Analytics"
|
|
5592
|
+
};
|
|
5593
|
+
function formatOutputTypeLabel(outputType) {
|
|
5594
|
+
const raw = String(outputType ?? "system").trim().toLowerCase();
|
|
5595
|
+
if (!raw) return "System";
|
|
5596
|
+
return OUTPUT_TYPE_LABEL[raw] ?? raw.charAt(0).toUpperCase() + raw.slice(1);
|
|
5597
|
+
}
|
|
5598
|
+
function formatOutputRowTitle(outputType, elapsedStr) {
|
|
5599
|
+
const label = formatOutputTypeLabel(outputType);
|
|
5600
|
+
return elapsedStr ? `${label} (${elapsedStr})` : label;
|
|
5601
|
+
}
|
|
5552
5602
|
var EFFORT_TYPES = /* @__PURE__ */ new Set(["effort", "text", "action", "label"]);
|
|
5553
5603
|
var LOAD_TYPES = /* @__PURE__ */ new Set([
|
|
5554
5604
|
"resistance",
|
|
@@ -5876,17 +5926,18 @@ function StatementCards({
|
|
|
5876
5926
|
const elapsedStr = ended !== void 0 && started !== void 0 ? formatMMSS(ended - started) : "running";
|
|
5877
5927
|
const offsetStr = started !== void 0 && t0 !== void 0 ? `+${formatMMSS(started - t0)}` : "+00:00";
|
|
5878
5928
|
const typeKey = String(out.outputType);
|
|
5879
|
-
const
|
|
5929
|
+
const typeLabel = formatOutputTypeLabel(out.outputType);
|
|
5930
|
+
const rowTitle = formatOutputRowTitle(out.outputType, elapsedStr);
|
|
5880
5931
|
const pr = lookupPrHighlight(out, prHighlights);
|
|
5881
5932
|
const bodyMetrics = [...cats.reps, ...cats.loads, ...cats.rounds, ...cats.durations, ...cats.distances];
|
|
5882
5933
|
const hasBody = bodyMetrics.length > 0;
|
|
5883
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "relative pb-3 pl-6 last:pb-0", title:
|
|
5934
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "relative pb-3 pl-6 last:pb-0", title: rowTitle, children: [
|
|
5884
5935
|
idx < rows.length - 1 && /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": true, className: "absolute bottom-0 left-[5px] top-5 w-px bg-border/60" }),
|
|
5885
5936
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5886
5937
|
"span",
|
|
5887
5938
|
{
|
|
5888
5939
|
"aria-hidden": true,
|
|
5889
|
-
title:
|
|
5940
|
+
title: rowTitle,
|
|
5890
5941
|
className: `absolute left-0 top-1.5 size-2.5 rounded-full shadow-md ring-2 ring-background ${OUTPUT_TYPE_DOT[typeKey] ?? OUTPUT_TYPE_DOT.system}`
|
|
5891
5942
|
}
|
|
5892
5943
|
),
|
|
@@ -5897,7 +5948,7 @@ function StatementCards({
|
|
|
5897
5948
|
"span",
|
|
5898
5949
|
{
|
|
5899
5950
|
className: `inline-block shrink-0 rounded px-1.5 py-0.2 text-[9px] font-bold uppercase tracking-wider ${OUTPUT_TYPE_CLASS[typeKey] ?? OUTPUT_TYPE_CLASS.system}`,
|
|
5900
|
-
children:
|
|
5951
|
+
children: typeLabel
|
|
5901
5952
|
}
|
|
5902
5953
|
),
|
|
5903
5954
|
presentBadges(cats.efforts),
|
|
@@ -6077,14 +6128,15 @@ function OutputStatementsTable({
|
|
|
6077
6128
|
const elapsedStr = ended !== void 0 && started !== void 0 ? formatMMSS(ended - started) : "running";
|
|
6078
6129
|
const wallTimeStr = formatClockTime(new Date(ended ?? started ?? 0));
|
|
6079
6130
|
const offsetStr = started !== void 0 && t0 !== void 0 ? `+${formatMMSS(started - t0)}` : "+00:00";
|
|
6080
|
-
const
|
|
6131
|
+
const typeLabel = formatOutputTypeLabel(out.outputType);
|
|
6132
|
+
const rowTitle = formatOutputRowTitle(out.outputType, elapsedStr);
|
|
6081
6133
|
const rowKey = String(out.id ?? `${out.sourceBlockKey ?? "row"}-${idx}`);
|
|
6082
6134
|
const pr = lookupPrHighlight(out, prHighlights);
|
|
6083
6135
|
const canInlineEditRow = Boolean(onEditMetric) && String(out.outputType ?? "").toLowerCase() === "segment" && Boolean(out.sourceBlockKey);
|
|
6084
6136
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6085
6137
|
"tr",
|
|
6086
6138
|
{
|
|
6087
|
-
title:
|
|
6139
|
+
title: rowTitle,
|
|
6088
6140
|
className: "hover:bg-muted/30 transition-colors group cursor-default",
|
|
6089
6141
|
children: activeColumns.map((col) => {
|
|
6090
6142
|
if (col.kind === "type") {
|
|
@@ -6092,8 +6144,8 @@ function OutputStatementsTable({
|
|
|
6092
6144
|
"span",
|
|
6093
6145
|
{
|
|
6094
6146
|
className: `inline-block rounded px-1.5 py-0.2 text-[9px] font-bold uppercase tracking-wider ${OUTPUT_TYPE_CLASS[String(out.outputType)] ?? OUTPUT_TYPE_CLASS.system}`,
|
|
6095
|
-
title:
|
|
6096
|
-
children:
|
|
6147
|
+
title: rowTitle,
|
|
6148
|
+
children: typeLabel
|
|
6097
6149
|
}
|
|
6098
6150
|
) }, col.id);
|
|
6099
6151
|
}
|
|
@@ -6710,7 +6762,7 @@ function tooltipTimestamp(ts) {
|
|
|
6710
6762
|
function useChartShape(result) {
|
|
6711
6763
|
return React2.useMemo(() => {
|
|
6712
6764
|
if (!result) return { kind: "empty" };
|
|
6713
|
-
if (result.parsed
|
|
6765
|
+
if (result.parsed?.error) return { kind: "error", message: result.parsed.error };
|
|
6714
6766
|
if (result.series.length === 0) return { kind: "empty" };
|
|
6715
6767
|
if (result.series.length === 1 && result.series[0].points.length === 1) {
|
|
6716
6768
|
return { kind: "scalar", value: result.series[0].points[0].value };
|
|
@@ -6778,10 +6830,31 @@ function formatTimeseriesTooltipValue(value, unit) {
|
|
|
6778
6830
|
const formatted = new Intl.NumberFormat(void 0, { maximumFractionDigits: 1 }).format(numeric);
|
|
6779
6831
|
return formatWithUnit(formatted, unit);
|
|
6780
6832
|
}
|
|
6833
|
+
var INTRINSIC_METRIC_UNITS = {
|
|
6834
|
+
"calc.hrv": "ms",
|
|
6835
|
+
hrv: "ms"
|
|
6836
|
+
};
|
|
6837
|
+
function resolveTimeseriesUnit(result, unitProp) {
|
|
6838
|
+
const seriesUnit = result.series[0]?.unit;
|
|
6839
|
+
if (seriesUnit) return seriesUnit;
|
|
6840
|
+
const seriesKey = result.series[0]?.key?.toLowerCase();
|
|
6841
|
+
if (seriesKey && INTRINSIC_METRIC_UNITS[seriesKey]) {
|
|
6842
|
+
return INTRINSIC_METRIC_UNITS[seriesKey];
|
|
6843
|
+
}
|
|
6844
|
+
const parsedMetric = result.parsed?.metric?.toLowerCase();
|
|
6845
|
+
if (parsedMetric && INTRINSIC_METRIC_UNITS[parsedMetric]) {
|
|
6846
|
+
return INTRINSIC_METRIC_UNITS[parsedMetric];
|
|
6847
|
+
}
|
|
6848
|
+
const rawQuery = result.query;
|
|
6849
|
+
if (typeof rawQuery === "string" && /\b(?:calc\.hrv|hrv)\b/i.test(rawQuery)) {
|
|
6850
|
+
return "ms";
|
|
6851
|
+
}
|
|
6852
|
+
return unitProp;
|
|
6853
|
+
}
|
|
6781
6854
|
function WqlTimeseries({ result, unit: unitProp }) {
|
|
6782
6855
|
const shape = useChartShape(result);
|
|
6783
6856
|
const data2 = React2.useMemo(() => mergeSeries(result.series), [result]);
|
|
6784
|
-
const unit = result
|
|
6857
|
+
const unit = resolveTimeseriesUnit(result, unitProp);
|
|
6785
6858
|
if (shape.kind !== "timeseries" && shape.kind !== "scalar") {
|
|
6786
6859
|
return /* @__PURE__ */ jsxRuntime.jsx(WqlEmptyState, { result });
|
|
6787
6860
|
}
|
|
@@ -6868,11 +6941,10 @@ function WqlBars({ result, unit: unitProp }) {
|
|
|
6868
6941
|
{
|
|
6869
6942
|
tickLine: false,
|
|
6870
6943
|
axisLine: false,
|
|
6871
|
-
width:
|
|
6872
|
-
tickFormatter:
|
|
6944
|
+
width: 64,
|
|
6945
|
+
tickFormatter: (v) => formatTimeseriesTick(v, unit),
|
|
6873
6946
|
stroke: "hsl(var(--muted-foreground))",
|
|
6874
|
-
tick: { fill: "hsl(var(--muted-foreground))", fontSize: 10 }
|
|
6875
|
-
unit: unit ? ` ${unit}` : ""
|
|
6947
|
+
tick: { fill: "hsl(var(--muted-foreground))", fontSize: 10 }
|
|
6876
6948
|
}
|
|
6877
6949
|
),
|
|
6878
6950
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -7718,33 +7790,6 @@ function patchBlockQuery(blockContent, newQuery, queryIndex = 0) {
|
|
|
7718
7790
|
}
|
|
7719
7791
|
return lines.join("\n");
|
|
7720
7792
|
}
|
|
7721
|
-
function readVisualViewport() {
|
|
7722
|
-
if (typeof window === "undefined" || !window.visualViewport) {
|
|
7723
|
-
return { height: null, offsetTop: 0, offsetBottom: 0 };
|
|
7724
|
-
}
|
|
7725
|
-
const vv = window.visualViewport;
|
|
7726
|
-
return {
|
|
7727
|
-
height: vv.height,
|
|
7728
|
-
offsetTop: vv.offsetTop,
|
|
7729
|
-
offsetBottom: Math.max(0, window.innerHeight - vv.height - vv.offsetTop)
|
|
7730
|
-
};
|
|
7731
|
-
}
|
|
7732
|
-
function useVisualViewportRect() {
|
|
7733
|
-
const [rect, setRect] = React2.useState(readVisualViewport);
|
|
7734
|
-
React2.useEffect(() => {
|
|
7735
|
-
const vv = window.visualViewport;
|
|
7736
|
-
if (!vv) return;
|
|
7737
|
-
const update = () => setRect(readVisualViewport());
|
|
7738
|
-
vv.addEventListener("resize", update);
|
|
7739
|
-
vv.addEventListener("scroll", update);
|
|
7740
|
-
return () => {
|
|
7741
|
-
vv.removeEventListener("resize", update);
|
|
7742
|
-
vv.removeEventListener("scroll", update);
|
|
7743
|
-
};
|
|
7744
|
-
}, []);
|
|
7745
|
-
return rect;
|
|
7746
|
-
}
|
|
7747
|
-
var FOCUSABLE_SELECTOR = 'a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])';
|
|
7748
7793
|
function EditorDialog({
|
|
7749
7794
|
open,
|
|
7750
7795
|
onClose,
|
|
@@ -7754,105 +7799,43 @@ function EditorDialog({
|
|
|
7754
7799
|
footer,
|
|
7755
7800
|
presentation = "default"
|
|
7756
7801
|
}) {
|
|
7757
|
-
const titleId = React2.useId();
|
|
7758
|
-
const descriptionId = React2.useId();
|
|
7759
7802
|
const panelRef = React2.useRef(null);
|
|
7760
|
-
const restoreFocusRef = React2.useRef(null);
|
|
7761
|
-
const viewport = useVisualViewportRect();
|
|
7762
7803
|
const sheet = presentation === "sheet";
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
|
|
7768
|
-
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
cancelAnimationFrame(frame);
|
|
7776
|
-
document.body.style.overflow = previousOverflow;
|
|
7777
|
-
const restore = restoreFocusRef.current;
|
|
7778
|
-
if (restore instanceof HTMLElement && document.contains(restore)) restore.focus();
|
|
7779
|
-
};
|
|
7780
|
-
}, [open, sheet]);
|
|
7781
|
-
if (!open || typeof document === "undefined") return null;
|
|
7782
|
-
const handleKeyDown = (event) => {
|
|
7783
|
-
if (event.key === "Escape") {
|
|
7784
|
-
event.stopPropagation();
|
|
7785
|
-
if (!event.defaultPrevented) onClose();
|
|
7786
|
-
return;
|
|
7787
|
-
}
|
|
7788
|
-
if (event.key !== "Tab") return;
|
|
7789
|
-
const panel = panelRef.current;
|
|
7790
|
-
if (!panel) return;
|
|
7791
|
-
const focusable = Array.from(panel.querySelectorAll(FOCUSABLE_SELECTOR));
|
|
7792
|
-
if (focusable.length === 0) {
|
|
7793
|
-
event.preventDefault();
|
|
7794
|
-
panel.focus();
|
|
7795
|
-
return;
|
|
7796
|
-
}
|
|
7797
|
-
const first = focusable[0];
|
|
7798
|
-
const last = focusable[focusable.length - 1];
|
|
7799
|
-
const active = document.activeElement;
|
|
7800
|
-
if (event.shiftKey && (active === first || !panel.contains(active))) {
|
|
7801
|
-
event.preventDefault();
|
|
7802
|
-
last.focus();
|
|
7803
|
-
} else if (!event.shiftKey && active === last) {
|
|
7804
|
-
event.preventDefault();
|
|
7805
|
-
first.focus();
|
|
7806
|
-
}
|
|
7807
|
-
};
|
|
7808
|
-
const viewportStyle = {
|
|
7809
|
-
top: viewport.offsetTop,
|
|
7810
|
-
height: viewport.height ?? "100dvh"
|
|
7811
|
-
};
|
|
7812
|
-
return reactDom.createPortal(
|
|
7813
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7814
|
-
"div",
|
|
7815
|
-
{
|
|
7816
|
-
className: cn(
|
|
7817
|
-
"fixed left-0 right-0 z-50 flex flex-col bg-black/40 dark:bg-black/60 sm:items-center sm:justify-center sm:bg-background/80 sm:p-4 sm:backdrop-blur-sm",
|
|
7818
|
-
sheet && "max-sm:justify-end"
|
|
7819
|
-
),
|
|
7820
|
-
style: viewportStyle,
|
|
7821
|
-
onMouseDown: (event) => {
|
|
7822
|
-
if (event.target === event.currentTarget) onClose();
|
|
7823
|
-
},
|
|
7824
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7825
|
-
"div",
|
|
7804
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
7805
|
+
dialog.Dialog,
|
|
7806
|
+
{
|
|
7807
|
+
open,
|
|
7808
|
+
onOpenChange: (nextOpen) => {
|
|
7809
|
+
if (!nextOpen) onClose();
|
|
7810
|
+
},
|
|
7811
|
+
presentation: sheet ? "auto" : void 0,
|
|
7812
|
+
children: [
|
|
7813
|
+
/* @__PURE__ */ jsxRuntime.jsx(dialog.DialogBackdrop, { className: "bg-black/40 dark:bg-black/60 sm:backdrop-blur-sm" }),
|
|
7814
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
7815
|
+
dialog.DialogContent,
|
|
7826
7816
|
{
|
|
7827
7817
|
ref: panelRef,
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
tabIndex: -1,
|
|
7833
|
-
onKeyDown: handleKeyDown,
|
|
7818
|
+
initialFocus: () => {
|
|
7819
|
+
if (sheet) return panelRef.current;
|
|
7820
|
+
return panelRef.current?.querySelector("[data-autofocus]") ?? panelRef.current;
|
|
7821
|
+
},
|
|
7834
7822
|
className: cn(
|
|
7835
|
-
"flex min-h-0 w-full flex-col overflow-hidden bg-card
|
|
7836
|
-
|
|
7837
|
-
// visible viewport (expands toward full height as content needs),
|
|
7838
|
-
// with a rounded top edge; desktop keeps the centered panel.
|
|
7839
|
-
sheet ? "max-sm:flex-none max-sm:min-h-[66%] max-sm:max-h-full max-sm:rounded-t-2xl" : "flex-1 sm:max-h-full"
|
|
7823
|
+
"gap-0 p-0 flex min-h-0 w-full flex-col overflow-hidden bg-card text-foreground border border-border shadow-2xl sm:max-h-[calc(100dvh-2rem)] sm:max-w-2xl sm:rounded-xl",
|
|
7824
|
+
sheet ? "max-sm:min-h-[66dvh] max-sm:max-h-[92dvh] max-sm:w-screen max-sm:rounded-t-2xl max-sm:rounded-b-none" : "max-sm:h-dvh max-sm:max-h-dvh max-sm:w-screen max-sm:rounded-none max-sm:border-0"
|
|
7840
7825
|
),
|
|
7841
7826
|
children: [
|
|
7842
|
-
sheet && /* @__PURE__ */ jsxRuntime.jsx("div", { "aria-hidden": true, className: "flex justify-center pt-2 sm:hidden", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-1 w-10 rounded-full bg-border" }) }),
|
|
7827
|
+
sheet && /* @__PURE__ */ jsxRuntime.jsx("div", { "aria-hidden": "true", className: "flex justify-center pt-2 sm:hidden", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-1 w-10 rounded-full bg-border" }) }),
|
|
7843
7828
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-3 border-b border-border/80 px-4 py-3 sm:px-6 sm:py-4", children: [
|
|
7844
7829
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
|
|
7845
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7846
|
-
description && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7830
|
+
/* @__PURE__ */ jsxRuntime.jsx(dialog.DialogTitle, { className: "text-base font-semibold text-foreground", children: title }),
|
|
7831
|
+
description && /* @__PURE__ */ jsxRuntime.jsx(dialog.DialogDescription, { className: "mt-0.5 text-xs text-muted-foreground", children: description })
|
|
7847
7832
|
] }),
|
|
7848
7833
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7849
|
-
|
|
7834
|
+
dialog.DialogClose,
|
|
7850
7835
|
{
|
|
7851
|
-
type: "button",
|
|
7852
|
-
onClick: onClose,
|
|
7853
7836
|
"aria-label": "Close",
|
|
7854
|
-
className: "flex size-11 shrink-0 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:bg-muted hover:text-foreground sm:size-9",
|
|
7855
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-5 sm:size-4" })
|
|
7837
|
+
className: "flex size-11 shrink-0 items-center justify-center rounded-lg border-0 bg-transparent p-0 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground sm:size-9",
|
|
7838
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "size-5 sm:size-4", "aria-hidden": "true" })
|
|
7856
7839
|
}
|
|
7857
7840
|
)
|
|
7858
7841
|
] }),
|
|
@@ -7861,13 +7844,8 @@ function EditorDialog({
|
|
|
7861
7844
|
"div",
|
|
7862
7845
|
{
|
|
7863
7846
|
className: cn(
|
|
7864
|
-
"border-t border-border/80 bg-muted/10 px-4 py-3 sm:px-6",
|
|
7865
|
-
|
|
7866
|
-
// 48px touch target.
|
|
7867
|
-
sheet ? "max-sm:[&_button]:min-h-12 max-sm:[&_button]:min-w-11" : "max-sm:[&_button]:min-h-11 max-sm:[&_button]:min-w-11",
|
|
7868
|
-
// Sheet rides the visual viewport bottom; clear the home
|
|
7869
|
-
// indicator / gesture area.
|
|
7870
|
-
sheet && "max-sm:pb-[max(0.75rem,env(safe-area-inset-bottom))]"
|
|
7847
|
+
"flex flex-wrap items-center gap-2 border-t border-border/80 bg-muted/10 px-4 py-3 sm:px-6",
|
|
7848
|
+
sheet ? "max-sm:[&_button]:min-h-12 max-sm:[&_button]:min-w-11 max-sm:pb-[max(0.75rem,env(safe-area-inset-bottom))]" : "max-sm:[&_button]:min-h-11 max-sm:[&_button]:min-w-11"
|
|
7871
7849
|
),
|
|
7872
7850
|
children: footer
|
|
7873
7851
|
}
|
|
@@ -7875,9 +7853,52 @@ function EditorDialog({
|
|
|
7875
7853
|
]
|
|
7876
7854
|
}
|
|
7877
7855
|
)
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7856
|
+
]
|
|
7857
|
+
}
|
|
7858
|
+
);
|
|
7859
|
+
}
|
|
7860
|
+
function buttonVariants({
|
|
7861
|
+
variant = "default",
|
|
7862
|
+
size = "default",
|
|
7863
|
+
className
|
|
7864
|
+
} = {}) {
|
|
7865
|
+
return cn(
|
|
7866
|
+
"inline-flex items-center justify-center gap-1.5 whitespace-nowrap rounded-md text-sm font-medium transition-colors cursor-pointer select-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
7867
|
+
(variant === "default" || variant === "solid") && "bg-primary text-primary-foreground border border-primary hover:bg-primary/90",
|
|
7868
|
+
variant === "destructive" && "bg-destructive text-destructive-foreground border border-destructive hover:bg-destructive/90",
|
|
7869
|
+
variant === "outline" && "border border-field-border bg-card text-foreground hover:bg-muted",
|
|
7870
|
+
variant === "secondary" && "border border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
7871
|
+
variant === "ghost" && "border border-transparent bg-transparent text-foreground hover:bg-muted",
|
|
7872
|
+
variant === "link" && "border border-transparent bg-transparent text-primary underline-offset-4 hover:underline",
|
|
7873
|
+
size === "default" && "h-10 px-4 py-2",
|
|
7874
|
+
size === "sm" && "h-9 px-3 text-xs",
|
|
7875
|
+
size === "lg" && "h-11 px-8",
|
|
7876
|
+
size === "icon" && "h-11 w-11 min-h-11 min-w-11 p-0",
|
|
7877
|
+
className
|
|
7878
|
+
);
|
|
7879
|
+
}
|
|
7880
|
+
function mapDataVariant(variant) {
|
|
7881
|
+
if (variant === "default" || variant === "solid") return "solid";
|
|
7882
|
+
if (variant === "outline") return void 0;
|
|
7883
|
+
return variant;
|
|
7884
|
+
}
|
|
7885
|
+
function Button({
|
|
7886
|
+
variant = "default",
|
|
7887
|
+
size = "default",
|
|
7888
|
+
className,
|
|
7889
|
+
...props
|
|
7890
|
+
}) {
|
|
7891
|
+
const dataVariant = mapDataVariant(variant);
|
|
7892
|
+
const dataSize = size === "default" ? void 0 : size;
|
|
7893
|
+
const resolvedClassName = typeof className === "function" ? (state) => buttonVariants({ variant, size, className: className(state) }) : buttonVariants({ variant, size, className });
|
|
7894
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7895
|
+
button.Button,
|
|
7896
|
+
{
|
|
7897
|
+
"data-variant": dataVariant,
|
|
7898
|
+
"data-size": dataSize,
|
|
7899
|
+
className: resolvedClassName,
|
|
7900
|
+
...props
|
|
7901
|
+
}
|
|
7881
7902
|
);
|
|
7882
7903
|
}
|
|
7883
7904
|
var ComposerRegistry = class {
|
|
@@ -9962,7 +9983,7 @@ function WqlComposer({
|
|
|
9962
9983
|
closeEditor();
|
|
9963
9984
|
}, children: "Change query" })
|
|
9964
9985
|
] }),
|
|
9965
|
-
!showDiagnostics && (error ?? (resolved.wql.trim() ? resolved.error : void 0)) && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", children: error ?? resolved.error }),
|
|
9986
|
+
!showDiagnostics && (error ?? (resolved.wql.trim() && /[:{}|@]/.test(resolved.wql) ? resolved.error : void 0)) && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "text-sm text-destructive", children: error ?? resolved.error }),
|
|
9966
9987
|
!guided && !resolved.error && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Use Edit WQL to preserve every clause." }),
|
|
9967
9988
|
pending && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", "data-testid": "wql-composer-pending", children: resolved.valid ? "Current draft includes this text" : resolved.error }),
|
|
9968
9989
|
showDiagnostics && diagnosticsPosition === "bottom" ? /* @__PURE__ */ jsxRuntime.jsx(WqlDiagnosticsStrip, { diagnostics, stages, activeStage: cursorStage, actions: action }) : diagnosticsPosition !== "top" || !showDiagnostics ? Boolean(actionLabel || diagnosticsActions) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center justify-end gap-2", children: action }) : null
|
|
@@ -11047,22 +11068,23 @@ function WqlQueryInspectorModal({
|
|
|
11047
11068
|
}
|
|
11048
11069
|
),
|
|
11049
11070
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11050
|
-
|
|
11071
|
+
Button,
|
|
11051
11072
|
{
|
|
11052
|
-
|
|
11073
|
+
variant: "outline",
|
|
11074
|
+
size: "sm",
|
|
11053
11075
|
onClick: onClose,
|
|
11054
|
-
className: "min-h-12
|
|
11076
|
+
className: "min-h-12 text-muted-foreground hover:text-foreground",
|
|
11055
11077
|
children: "Cancel"
|
|
11056
11078
|
}
|
|
11057
11079
|
),
|
|
11058
11080
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11059
|
-
|
|
11081
|
+
Button,
|
|
11060
11082
|
{
|
|
11061
|
-
|
|
11083
|
+
size: "sm",
|
|
11062
11084
|
"data-testid": "wql-inspector-apply",
|
|
11063
11085
|
onClick: () => void handleApply(),
|
|
11064
11086
|
disabled: !validation.valid || applying,
|
|
11065
|
-
className: "min-h-12
|
|
11087
|
+
className: "min-h-12",
|
|
11066
11088
|
children: applying ? "Applying\u2026" : applyLabel
|
|
11067
11089
|
}
|
|
11068
11090
|
)
|
|
@@ -15873,7 +15895,7 @@ var operatorToken = new lr.ExternalTokenizer((input, stack) => {
|
|
|
15873
15895
|
function identifierChar(ch, start) {
|
|
15874
15896
|
return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122 || ch == 95 || ch >= 192 || !start && ch >= 48 && ch <= 57;
|
|
15875
15897
|
}
|
|
15876
|
-
var
|
|
15898
|
+
var jsx28 = new lr.ExternalTokenizer((input, stack) => {
|
|
15877
15899
|
if (input.next != lt || !stack.dialectEnabled(Dialect_jsx)) return;
|
|
15878
15900
|
input.advance();
|
|
15879
15901
|
if (input.next == slash2) return;
|
|
@@ -15985,7 +16007,7 @@ var parser4 = lr.LRParser.deserialize({
|
|
|
15985
16007
|
skippedNodes: [0, 5, 6, 278],
|
|
15986
16008
|
repeatNodeCount: 37,
|
|
15987
16009
|
tokenData: "$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYE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%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$i&j(Wp(Z!b'}0/l$]#t(T,2j(e$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",
|
|
15988
|
-
tokenizers: [noSemicolon, noSemicolonType, operatorToken,
|
|
16010
|
+
tokenizers: [noSemicolon, noSemicolonType, operatorToken, jsx28, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, insertSemicolon, new lr.LocalTokenGroup("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(c~~", 141, 340), new lr.LocalTokenGroup("j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~", 25, 323)],
|
|
15989
16011
|
topRules: { "Script": [0, 7], "SingleExpression": [1, 276], "SingleClassItem": [2, 277] },
|
|
15990
16012
|
dialects: { jsx: 0, ts: 15175 },
|
|
15991
16013
|
dynamicPrecedences: { "80": 1, "82": 1, "94": 1, "169": 1, "199": 1 },
|