react-semaphor 0.1.381 → 0.1.382
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/DATA_APP_SDK.md +238 -0
- package/README.md +7 -0
- package/dist/analytics-protocol/index.cjs +1 -1
- package/dist/analytics-protocol/index.js +45 -41
- package/dist/brand-studio/index.cjs +1 -1
- package/dist/brand-studio/index.js +6 -6
- package/dist/chunks/analyze-result-contract-CtXfp3nv.js +1 -0
- package/dist/chunks/analyze-result-contract-DuhlklhI.js +102 -0
- package/dist/chunks/{braces-BT-ZyB-g.js → braces-CGi-YFZp.js} +1 -1
- package/dist/chunks/{braces-DOxxfERN.js → braces-CP8BEzl3.js} +1 -1
- package/dist/chunks/{calendar-preferences-dialog-Dsgs8WDv.js → calendar-preferences-dialog-CV4xF2Tp.js} +3 -3
- package/dist/chunks/{calendar-preferences-dialog-iZs8XqyH.js → calendar-preferences-dialog-rDDobeLo.js} +1 -1
- package/dist/chunks/catalog-field-grounding-Bnx-3tE0.js +1 -0
- package/dist/chunks/catalog-field-grounding-CJKAqtiC.js +100 -0
- package/dist/chunks/{dashboard-briefing-launcher-Coks66cV.js → dashboard-briefing-launcher-BT00MvGB.js} +5 -5
- package/dist/chunks/{dashboard-briefing-launcher-B5vPTl8P.js → dashboard-briefing-launcher-Dcbh-mjY.js} +1 -1
- package/dist/chunks/{dashboard-controls-BfkcnIdy.js → dashboard-controls-B6y7jkKO.js} +8 -8
- package/dist/chunks/{dashboard-controls-Dyqye6fh.js → dashboard-controls-CRqnPibB.js} +1 -1
- package/dist/chunks/{dashboard-json-DjXi4cI6.js → dashboard-json-CfIUG8k1.js} +3 -3
- package/dist/chunks/{dashboard-json-CV_LnO9x.js → dashboard-json-DEQqRR1x.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-DOW1Ap1N.js → edit-dashboard-visual-DMbf89xa.js} +5 -5
- package/dist/chunks/{edit-dashboard-visual-yinO0yU-.js → edit-dashboard-visual-wDOcHak3.js} +1 -1
- package/dist/chunks/{index-DlprYjr6.js → index-BAsWLkZ8.js} +169 -168
- package/dist/chunks/{index-CkoRCh3g.js → index-CrKxP9uF.js} +5 -5
- package/dist/chunks/{layout-grid-DTbOIOsE.js → layout-grid-BsKH3TgY.js} +1 -1
- package/dist/chunks/{layout-grid-DccceHv4.js → layout-grid-jJQUqDN9.js} +1 -1
- package/dist/chunks/operators-C8TxpM4C.js +48 -0
- package/dist/chunks/operators-DrTQsJXv.js +1 -0
- package/dist/chunks/{palette-SimHJELn.js → palette-9zLPGlj2.js} +1 -1
- package/dist/chunks/{palette-DCzLwqIw.js → palette-xU9Qt6bE.js} +1 -1
- package/dist/chunks/{save-D2O96E5A.js → save-8A_q6K4E.js} +1 -1
- package/dist/chunks/{save-zNVYH02T.js → save-DzciESDh.js} +1 -1
- package/dist/chunks/{source-identity-Dj3dryN9.js → source-identity-CN4xiyKJ.js} +5 -5
- package/dist/chunks/{switch-DMPsMpHW.js → switch-DArtNJZh.js} +292 -291
- package/dist/chunks/{switch-Jhyl63RF.js → switch-k7kj6NRg.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-r5JKyXU8.js → use-create-flow-overlay-state-BdG1DiSx.js} +4 -4
- package/dist/chunks/{use-create-flow-overlay-state-NsqFPwdB.js → use-create-flow-overlay-state-ipeaE65_.js} +1 -1
- package/dist/chunks/{validators-CtNmgsvG.js → validators-CHPH6ORs.js} +641 -498
- package/dist/chunks/validators-lWo8m0Q7.js +1 -0
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.cjs +3 -3
- package/dist/dashboard-authoring/index.js +105 -92
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +3 -3
- package/dist/data-app-sdk/index.cjs +1 -1
- package/dist/data-app-sdk/index.js +444 -380
- package/dist/data-app-sdk-adapters/index.cjs +1 -0
- package/dist/data-app-sdk-adapters/index.js +383 -0
- package/dist/data-app-sdk-validation/index.cjs +1 -1
- package/dist/data-app-sdk-validation/index.js +1073 -6
- package/dist/index.cjs +1 -1
- package/dist/index.js +7 -7
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/analytics-protocol.d.ts +58 -31
- package/dist/types/dashboard-assistant.d.ts +40 -15
- package/dist/types/dashboard-authoring.d.ts +36 -16
- package/dist/types/dashboard.d.ts +8 -8
- package/dist/types/data-app-builder.d.ts +35 -11
- package/dist/types/data-app-sdk-adapters.d.ts +733 -0
- package/dist/types/data-app-sdk-validation.d.ts +85 -25
- package/dist/types/data-app-sdk.d.ts +99 -155
- package/dist/types/main.d.ts +35 -11
- package/dist/types/shared.d.ts +8 -8
- package/dist/types/surfboard.d.ts +8 -8
- package/dist/types/types.d.ts +8 -8
- package/package.json +9 -2
- package/src/data-app-sdk/README.md +240 -0
- package/dist/chunks/catalog-field-grounding-8L9I0zdg.js +0 -1
- package/dist/chunks/catalog-field-grounding-BK4BX8sZ.js +0 -200
- package/dist/chunks/validation-BM3-ShHV.js +0 -1003
- package/dist/chunks/validation-BVpqRFar.js +0 -1
- package/dist/chunks/validators-jpoYhpHh.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),l=require("react"),t=require("./index-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),l=require("react"),t=require("./index-CrKxP9uF.js"),o=require("./switch-k7kj6NRg.js");require("./index-BxM99sFL.js");require("./analyze-result-contract-CtXfp3nv.js");function G(n={}){var y,P,z,A;const{authToken:d,tokenProps:a}=t.useSemaphorContext(),x=n.enabled??!0,m=(d==null?void 0:d.accessToken)??null,f=(a==null?void 0:a.apiServiceUrl)??null,[L,C]=l.useState(!1),[j,b]=l.useState(!1),[h,g]=l.useState(!1),[N,c]=l.useState(null),[v,S]=l.useState(null),k=v||{tz:((P=(y=a==null?void 0:a.params)==null?void 0:y.calendarContext)==null?void 0:P.tz)||null,weekStart:((A=(z=a==null?void 0:a.params)==null?void 0:z.calendarContext)==null?void 0:A.weekStart)??null},p=l.useCallback(async()=>{if(!(!x||!m||!f)){C(!0),c(null);try{const i=await fetch(`${f}/v1/user-preferences/calendar`,{method:"GET",headers:{Authorization:`Bearer ${m}`}});if(!i.ok){const u=await i.json().catch(()=>({}));throw new Error(u.error||"Failed to fetch preferences")}const r=await i.json();S({tz:r.tz,weekStart:r.weekStart,source:r.source,isInherited:r.isInherited,userHasPrefs:r.userHasPrefs,inherited:r.inherited})}catch(i){const r=i instanceof Error?i.message:"Unknown error";c(r)}finally{C(!1)}}},[m,f,x]);l.useEffect(()=>{x&&p()},[x,p]);const T=l.useCallback(async i=>{if(!m||!f)return c("Not authenticated"),!1;b(!0),c(null);try{const r=await fetch(`${f}/v1/user-preferences/calendar`,{method:"PATCH",headers:{"Content-Type":"application/json",Authorization:`Bearer ${m}`},body:JSON.stringify(i)});if(!r.ok){const u=await r.json().catch(()=>({}));throw new Error(u.error||"Failed to update preferences")}return await p(),!0}catch(r){const u=r instanceof Error?r.message:"Unknown error";return c(u),!1}finally{b(!1)}},[m,f,p]),w=l.useCallback(async()=>{if(!m||!f)return c("Not authenticated"),!1;g(!0),c(null);try{const i=await fetch(`${f}/v1/user-preferences/calendar`,{method:"DELETE",headers:{Authorization:`Bearer ${m}`}});if(!i.ok){const u=await i.json().catch(()=>({}));throw new Error(u.error||"Failed to clear preferences")}const r=await i.text();if(r)try{const u=JSON.parse(r);return S({tz:u.tz,weekStart:u.weekStart,source:u.source,isInherited:u.isInherited??!0,userHasPrefs:!1,inherited:u.inherited}),!0}catch{}return await p(),!0}catch(i){const r=i instanceof Error?i.message:"Unknown error";return c(r),!1}finally{g(!1)}},[m,f,p]);return{preferences:k,isLoading:L,isSaving:j,isClearing:h,error:N,updatePreferences:T,clearPreferences:w,refetch:p}}const E=[{value:"America/New_York",label:"Eastern Time (US & Canada)"},{value:"America/Chicago",label:"Central Time (US & Canada)"},{value:"America/Denver",label:"Mountain Time (US & Canada)"},{value:"America/Los_Angeles",label:"Pacific Time (US & Canada)"},{value:"America/Phoenix",label:"Arizona"},{value:"America/Anchorage",label:"Alaska"},{value:"Pacific/Honolulu",label:"Hawaii"},{value:"Europe/London",label:"London"},{value:"Europe/Paris",label:"Paris, Berlin, Rome"},{value:"Asia/Tokyo",label:"Tokyo"},{value:"Asia/Shanghai",label:"Beijing, Shanghai"},{value:"Asia/Kolkata",label:"Mumbai, New Delhi"},{value:"Australia/Sydney",label:"Sydney"},{value:"UTC",label:"UTC"}],M=[{value:0,label:"Sunday"},{value:1,label:"Monday"},{value:6,label:"Saturday"}],H="text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground";function W(){try{const n=Intl;if(n.supportedValuesOf)return n.supportedValuesOf("timeZone")}catch{}return E.map(n=>n.value)}function _(n){switch(n){case"tenant":return"tenant";case"organization":return"organization";case"system":return"system";default:return"default"}}function O(n){const d=E.find(a=>a.value===n);return d?d.label:n}function q(n){const d=M.find(a=>a.value===n);return d?d.label:String(n)}function V({open:n,onOpenChange:d}){var D,U,F;const{preferences:a,isLoading:x,isSaving:m,isClearing:f,updatePreferences:L,clearPreferences:C}=G({enabled:n}),j=a.tz||((D=a.inherited)==null?void 0:D.tz)||Intl.DateTimeFormat().resolvedOptions().timeZone,b=a.weekStart??((U=a.inherited)==null?void 0:U.weekStart)??1,[h,g]=l.useState(!a.userHasPrefs),[N,c]=l.useState(!1),[v,S]=l.useState(j),[k,p]=l.useState(b),[T,w]=l.useState(!1),y=l.useMemo(()=>W(),[]),P=l.useMemo(()=>y.filter(s=>!E.some(R=>R.value===s)),[y]),z=l.useMemo(()=>O(v),[v]),A=a.inherited?O(a.inherited.tz):"UTC",i=a.inherited?q(a.inherited.weekStart):"Monday",r=_((F=a.inherited)==null?void 0:F.source);l.useEffect(()=>{if(!n){c(!1);return}N||(a.userHasPrefs!==void 0&&g(!a.userHasPrefs),S(j),p(b))},[n,N,a.userHasPrefs,j,b]);const u=async()=>{if(x){t.ue.error("Preferences are still loading. Please try again.");return}h?await C()?(t.ue.success("Now using default settings. Please refresh the page to apply changes.",{duration:5e3}),d(!1)):t.ue.error("Failed to save preferences. Please try again."):await L({tz:v,weekStart:k})?(t.ue.success("Preferences saved. Please refresh the page to apply changes.",{duration:5e3}),d(!1)):t.ue.error("Failed to save preferences. Please try again.")},$=()=>{d(!1)},I=m||f,B=I||x;return e.jsx(t.Dialog,{open:n,onOpenChange:d,children:e.jsxs(t.DialogContent,{className:"rounded-control border-border/60 sm:max-w-[440px] sm:rounded-control",children:[e.jsxs(t.DialogHeader,{children:[e.jsx(t.DialogTitle,{className:"text-[15px]",children:"Calendar preferences"}),e.jsx(t.DialogDescription,{className:"text-[13px] leading-5",children:"Set your timezone and week-start for date calculations and displays."})]}),e.jsxs("div",{className:"space-y-4 py-1",children:[e.jsxs(t.RadioGroup,{value:h?"defaults":"custom",onValueChange:s=>{c(!0),g(s==="defaults")},className:"space-y-0.5",children:[e.jsxs("label",{htmlFor:"mode-defaults",className:o.cn("flex cursor-pointer items-start gap-2 rounded-control px-2 py-1.5 hover:bg-muted/50",h&&"bg-muted/50"),onClick:()=>{c(!0),g(!0)},children:[e.jsx(t.RadioGroupItem,{value:"defaults",id:"mode-defaults",className:"mt-0.5"}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("p",{className:"text-[13px] font-medium text-foreground",children:["Use ",r," defaults"]}),e.jsxs("p",{className:"text-[12px] text-muted-foreground",children:[A,", week starts ",i]})]})]}),e.jsxs("label",{htmlFor:"mode-custom",className:o.cn("flex cursor-pointer items-start gap-2 rounded-control px-2 py-1.5 hover:bg-muted/50",!h&&"bg-muted/50"),onClick:()=>{c(!0),g(!1)},children:[e.jsx(t.RadioGroupItem,{value:"custom",id:"mode-custom",className:"mt-0.5"}),e.jsx("p",{className:"flex-1 text-[13px] font-medium text-foreground",children:"Use custom settings"})]})]}),e.jsxs("div",{className:o.cn("space-y-4 border-t border-border/60 pt-4 transition-opacity",h&&"pointer-events-none opacity-50"),children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(o.Label,{className:H,children:"Timezone"}),e.jsxs(o.Popover,{open:T,onOpenChange:w,modal:!0,children:[e.jsx(o.PopoverTrigger,{asChild:!0,children:e.jsxs(o.Button,{variant:"outline",size:"xs",role:"combobox","aria-expanded":T,className:"w-full justify-between text-[12px] font-normal",disabled:h,children:[e.jsx("span",{className:"truncate",children:z}),e.jsx(t.ChevronsUpDown,{className:"ml-2 h-3.5 w-3.5 shrink-0 opacity-50"})]})}),e.jsx(o.PopoverContent,{className:"z-50 w-[--radix-popover-trigger-width] p-0",align:"start",children:e.jsxs(t.Command,{className:"overflow-visible",children:[e.jsx(t.CommandInput,{placeholder:"Search timezones…"}),e.jsxs(t.CommandList,{children:[e.jsx(t.CommandEmpty,{children:"No timezone found."}),e.jsx(t.CommandGroup,{heading:"Common",children:E.map(s=>e.jsxs(t.CommandItem,{value:`${s.value} ${s.label}`,onSelect:()=>{c(!0),S(s.value),w(!1)},children:[e.jsx(o.Check,{className:o.cn("h-3.5 w-3.5",v===s.value?"opacity-100":"opacity-0")}),e.jsx("span",{className:"flex-1",children:s.label}),e.jsx("span",{className:"text-[11px] text-muted-foreground",children:s.value})]},s.value))}),e.jsx(t.CommandSeparator,{}),e.jsx(t.CommandGroup,{heading:"All timezones",children:P.map(s=>e.jsxs(t.CommandItem,{value:s,onSelect:()=>{c(!0),S(s),w(!1)},children:[e.jsx(o.Check,{className:o.cn("h-3.5 w-3.5",v===s?"opacity-100":"opacity-0")}),s]},s))})]})]})})]})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(o.Label,{className:H,children:"Week starts on"}),e.jsx(t.RadioGroup,{value:String(k),onValueChange:s=>{c(!0),p(Number(s))},className:"flex gap-4",disabled:h,children:M.map(s=>e.jsxs("label",{htmlFor:`week-start-${s.value}`,className:o.cn("flex cursor-pointer items-center gap-2 text-[13px]",h&&"cursor-not-allowed"),children:[e.jsx(t.RadioGroupItem,{value:String(s.value),id:`week-start-${s.value}`,disabled:h}),s.label]},s.value))})]})]})]}),e.jsxs(t.DialogFooter,{children:[e.jsx(o.Button,{variant:"outline",size:"xs",onClick:$,disabled:I,children:"Cancel"}),e.jsx(o.Button,{size:"xs",onClick:u,disabled:B,children:I?e.jsxs(e.Fragment,{children:[e.jsx(o.LoaderCircle,{className:"h-3.5 w-3.5 animate-spin"}),"Saving…"]}):"Save"})]})]})})}exports.CalendarPreferencesDialog=V;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function l(t){return typeof t=="string"?t.trim().toLowerCase():""}function f(t){return String(t.column_name||t.name||t.qualifiedFieldName||"")}function g(t){return Array.from(new Set([t.column_name,t.name,t.qualifiedFieldName,t.alias].filter(e=>typeof e=="string"&&e.trim().length>0).map(e=>e.trim())))}function d(t){const e=p(t);return e?e.includes("int")||e.includes("uint")||e.includes("bigint")||e.includes("smallint")||e.includes("tinyint")||e.includes("numeric")||e.includes("decimal")||e.includes("double")||e.includes("float")||e.includes("number")||e.includes("real")||e.includes("money")||e.includes("currency")||e.includes("percent")?"number":e.includes("timestamp")||e.includes("datetime")||e.startsWith("time")?"datetime":e.includes("date")?"date":e.includes("bool")?"boolean":"string":"unknown"}function p(t){let e=l(t),i="";for(;e&&e!==i;)i=e,e=y(e,"nullable"),e=y(e,"lowcardinality");return e}function y(t,e){const i=`${e}(`;return!t.startsWith(i)||!t.endsWith(")")?t:t.slice(i.length,-1).trim()}function A(t){const e=d(t);return e==="date"||e==="datetime"}function o(t){return A(t.dataType||t.data_type)}function u(t){const e=C(t);return e==="id"||e==="row_id"}function c(t){const e=C(t);return u(t)||e.endsWith("_id")||e.endsWith("_key")||e.endsWith("_number")}function C(t){return l(f(t)||t.name||t.alias).replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")}function m(t,e={}){const i=l(t.role);return i==="metric"||i==="measure"?!e.excludeIdentifiers||!c(t):i==="groupby"||i==="dimension"||i==="date"||i==="id"?!1:d(t.dataType||t.data_type)==="number"&&(!e.excludeIdentifiers||!c(t))}function D(t){return!m(t)&&!o(t)}function F(t){const e=new Set,i=new Set,s=new Set;for(const a of t){if(u(a))continue;const r=g(a);if(r.length!==0){if(o(a)){r.forEach(n=>i.add(n));continue}if(m(a,{excludeIdentifiers:!0})){r.forEach(n=>e.add(n));continue}r.forEach(n=>s.add(n))}}return{validMeasureCandidates:Array.from(e).sort(),validDateCandidates:Array.from(i).sort(),validDimensionCandidates:Array.from(s).sort()}}exports.buildAnalyticsCatalogFieldSummary=F;exports.getAnalyticsCatalogFieldCandidates=g;exports.getAnalyticsCatalogFieldName=f;exports.isAnalyticsCatalogDateField=o;exports.isAnalyticsCatalogDimensionField=D;exports.isAnalyticsCatalogMetricField=m;exports.isAnalyticsDateLikeDataType=A;exports.isAnalyticsMetricIdentifierField=c;exports.isAnalyticsTechnicalIdentifierField=u;exports.normalizeAnalyticsCatalogDataType=d;exports.normalizeAnalyticsCatalogName=l;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
function c(n) {
|
|
2
|
+
return typeof n == "string" ? n.trim().toLowerCase() : "";
|
|
3
|
+
}
|
|
4
|
+
function g(n) {
|
|
5
|
+
return String(n.column_name || n.name || n.qualifiedFieldName || "");
|
|
6
|
+
}
|
|
7
|
+
function p(n) {
|
|
8
|
+
return Array.from(
|
|
9
|
+
new Set(
|
|
10
|
+
[
|
|
11
|
+
n.column_name,
|
|
12
|
+
n.name,
|
|
13
|
+
n.qualifiedFieldName,
|
|
14
|
+
n.alias
|
|
15
|
+
].filter(
|
|
16
|
+
(e) => typeof e == "string" && e.trim().length > 0
|
|
17
|
+
).map((e) => e.trim())
|
|
18
|
+
)
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
function o(n) {
|
|
22
|
+
const e = C(n);
|
|
23
|
+
return e ? e.includes("int") || e.includes("uint") || e.includes("bigint") || e.includes("smallint") || e.includes("tinyint") || e.includes("numeric") || e.includes("decimal") || e.includes("double") || e.includes("float") || e.includes("number") || e.includes("real") || e.includes("money") || e.includes("currency") || e.includes("percent") ? "number" : e.includes("timestamp") || e.includes("datetime") || e.startsWith("time") ? "datetime" : e.includes("date") ? "date" : e.includes("bool") ? "boolean" : "string" : "unknown";
|
|
24
|
+
}
|
|
25
|
+
function C(n) {
|
|
26
|
+
let e = c(n), t = "";
|
|
27
|
+
for (; e && e !== t; )
|
|
28
|
+
t = e, e = d(e, "nullable"), e = d(e, "lowcardinality");
|
|
29
|
+
return e;
|
|
30
|
+
}
|
|
31
|
+
function d(n, e) {
|
|
32
|
+
const t = `${e}(`;
|
|
33
|
+
return !n.startsWith(t) || !n.endsWith(")") ? n : n.slice(t.length, -1).trim();
|
|
34
|
+
}
|
|
35
|
+
function A(n) {
|
|
36
|
+
const e = o(n);
|
|
37
|
+
return e === "date" || e === "datetime";
|
|
38
|
+
}
|
|
39
|
+
function u(n) {
|
|
40
|
+
return A(n.dataType || n.data_type);
|
|
41
|
+
}
|
|
42
|
+
function m(n) {
|
|
43
|
+
const e = f(n);
|
|
44
|
+
return e === "id" || e === "row_id";
|
|
45
|
+
}
|
|
46
|
+
function l(n) {
|
|
47
|
+
const e = f(n);
|
|
48
|
+
return m(n) || e.endsWith("_id") || e.endsWith("_key") || e.endsWith("_number");
|
|
49
|
+
}
|
|
50
|
+
function f(n) {
|
|
51
|
+
return c(
|
|
52
|
+
g(n) || n.name || n.alias
|
|
53
|
+
).replace(/[^a-z0-9]+/g, "_").replace(/^_+|_+$/g, "");
|
|
54
|
+
}
|
|
55
|
+
function y(n, e = {}) {
|
|
56
|
+
const t = c(n.role);
|
|
57
|
+
return t === "metric" || t === "measure" ? !e.excludeIdentifiers || !l(n) : t === "groupby" || t === "dimension" || t === "date" || t === "id" ? !1 : o(
|
|
58
|
+
n.dataType || n.data_type
|
|
59
|
+
) === "number" && (!e.excludeIdentifiers || !l(n));
|
|
60
|
+
}
|
|
61
|
+
function h(n) {
|
|
62
|
+
return !y(n) && !u(n);
|
|
63
|
+
}
|
|
64
|
+
function D(n) {
|
|
65
|
+
const e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set();
|
|
66
|
+
for (const a of n) {
|
|
67
|
+
if (m(a))
|
|
68
|
+
continue;
|
|
69
|
+
const r = p(a);
|
|
70
|
+
if (r.length !== 0) {
|
|
71
|
+
if (u(a)) {
|
|
72
|
+
r.forEach((i) => t.add(i));
|
|
73
|
+
continue;
|
|
74
|
+
}
|
|
75
|
+
if (y(a, { excludeIdentifiers: !0 })) {
|
|
76
|
+
r.forEach((i) => e.add(i));
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
r.forEach((i) => s.add(i));
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
validMeasureCandidates: Array.from(e).sort(),
|
|
84
|
+
validDateCandidates: Array.from(t).sort(),
|
|
85
|
+
validDimensionCandidates: Array.from(s).sort()
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
export {
|
|
89
|
+
p as a,
|
|
90
|
+
o as b,
|
|
91
|
+
u as c,
|
|
92
|
+
m as d,
|
|
93
|
+
l as e,
|
|
94
|
+
y as f,
|
|
95
|
+
g,
|
|
96
|
+
h,
|
|
97
|
+
A as i,
|
|
98
|
+
D as j,
|
|
99
|
+
c as n
|
|
100
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as t, jsxs as s, Fragment as le } from "react/jsx-runtime";
|
|
2
2
|
import bo, { useState as S, useEffect as fe, useMemo as O, useContext as xo, useRef as Me, useCallback as ye } from "react";
|
|
3
|
-
import { b as rt, c as at, e as st, aH as ka, bu as yo, bQ as vo, bR as No, aA as wo, ar as Ft, bE as Sa, aY as gt, J as Co, A as ko, bS as So, ah as Jt, ak as Qt, al as Yt, am as Xt, an as Zt, ao as en, ap as tn, aq as Xn, aX as nn, p as be, bT as Do, bU as Eo, bV as In, bF as rn, bG as an, bW as Zn, bH as sn, bI as De, av as Ao, ba as jt, bX as Da, bt as $n, d as bt, f as xt, bY as Io, o as Ea, aG as To, aV as Aa, bZ as Lo, aW as _n, y as Ro, ae as Fo, ax as Po, u as Pt, a0 as mt, ab as er, a7 as Ia, a8 as tr, a1 as Ta, a6 as Bo, ad as Mo, bL as Vo, b_ as Oo, b6 as Uo, a9 as qr, x as zt, a3 as $o, b$ as _o, c0 as jo, c1 as zo, c2 as Ko, c3 as qo, c4 as Ho, c5 as Go, c6 as Wo, c7 as La, c8 as Jo, c9 as Qo, ca as Yo, cb as Xo, cc as Zo, az as yt, cd as ei, bJ as Ra, ce as ti, cf as ni, cg as ri, ch as ai, ci as si, cj as oi, ck as ii, cl as Fa, cm as li, cn as di, co as Pa, cp as Ba, cq as Ma, cr as ci, cs as ui, bg as Va, br as mi, bo as hi, ct as pi, aw as Oa, cu as fi, cv as gi, cw as bi, cx as xi, cy as jn, cz as yi, cA as vi, cB as Ua, cC as nr, cD as Ni, cE as wi, cF as Ci, cG as $a, cH as Bt, cI as ki, cJ as Si, ay as zn, cK as Di, cL as _a, as as Ei, cM as Ai, cN as Ii, cO as Ti, cP as Li, cQ as Ri, cR as Fi, cS as Pi } from "./index-
|
|
4
|
-
import { c as Pe, B as Z, X as Ae, L as Lt, a0 as Kn, f as se, Q as ja, e as je, a as v, O as za, G as vt, u as Q, E as Nt, aI as Hr, a9 as Ka, g as Ge, H as qa, S as rr, P as $e, b as ot, d as it, aJ as Bi, aK as Mi, aG as Ha, aL as Ga, a1 as Xe, a2 as Ze, a3 as et, a4 as tt, a5 as xe, aM as Wa, aN as Ja, _ as nt, T as Vi, I as Oi, J as Gr, aO as Ui } from "./switch-
|
|
5
|
-
import { L as ar } from "./layout-grid-
|
|
6
|
-
import { u as sr, V as $i, E as Wr, a as Jr, b as _i, c as ji, L as zi, d as Ki, e as Qa, C as Ya, f as qi, R as Hi, S as Gi } from "./use-create-flow-overlay-state-
|
|
3
|
+
import { b as rt, c as at, e as st, aH as ka, bu as yo, bQ as vo, bR as No, aA as wo, ar as Ft, bE as Sa, aY as gt, J as Co, A as ko, bS as So, ah as Jt, ak as Qt, al as Yt, am as Xt, an as Zt, ao as en, ap as tn, aq as Xn, aX as nn, p as be, bT as Do, bU as Eo, bV as In, bF as rn, bG as an, bW as Zn, bH as sn, bI as De, av as Ao, ba as jt, bX as Da, bt as $n, d as bt, f as xt, bY as Io, o as Ea, aG as To, aV as Aa, bZ as Lo, aW as _n, y as Ro, ae as Fo, ax as Po, u as Pt, a0 as mt, ab as er, a7 as Ia, a8 as tr, a1 as Ta, a6 as Bo, ad as Mo, bL as Vo, b_ as Oo, b6 as Uo, a9 as qr, x as zt, a3 as $o, b$ as _o, c0 as jo, c1 as zo, c2 as Ko, c3 as qo, c4 as Ho, c5 as Go, c6 as Wo, c7 as La, c8 as Jo, c9 as Qo, ca as Yo, cb as Xo, cc as Zo, az as yt, cd as ei, bJ as Ra, ce as ti, cf as ni, cg as ri, ch as ai, ci as si, cj as oi, ck as ii, cl as Fa, cm as li, cn as di, co as Pa, cp as Ba, cq as Ma, cr as ci, cs as ui, bg as Va, br as mi, bo as hi, ct as pi, aw as Oa, cu as fi, cv as gi, cw as bi, cx as xi, cy as jn, cz as yi, cA as vi, cB as Ua, cC as nr, cD as Ni, cE as wi, cF as Ci, cG as $a, cH as Bt, cI as ki, cJ as Si, ay as zn, cK as Di, cL as _a, as as Ei, cM as Ai, cN as Ii, cO as Ti, cP as Li, cQ as Ri, cR as Fi, cS as Pi } from "./index-BAsWLkZ8.js";
|
|
4
|
+
import { c as Pe, B as Z, X as Ae, L as Lt, a0 as Kn, f as se, Q as ja, e as je, a as v, O as za, G as vt, u as Q, E as Nt, aI as Hr, a9 as Ka, g as Ge, H as qa, S as rr, P as $e, b as ot, d as it, aJ as Bi, aK as Mi, aG as Ha, aL as Ga, a1 as Xe, a2 as Ze, a3 as et, a4 as tt, a5 as xe, aM as Wa, aN as Ja, _ as nt, T as Vi, I as Oi, J as Gr, aO as Ui } from "./switch-DArtNJZh.js";
|
|
5
|
+
import { L as ar } from "./layout-grid-BsKH3TgY.js";
|
|
6
|
+
import { u as sr, V as $i, E as Wr, a as Jr, b as _i, c as ji, L as zi, d as Ki, e as Qa, C as Ya, f as qi, R as Hi, S as Gi } from "./use-create-flow-overlay-state-BdG1DiSx.js";
|
|
7
7
|
import "./index-CuHybtft.js";
|
|
8
|
-
import "./
|
|
8
|
+
import "./analyze-result-contract-DuhlklhI.js";
|
|
9
9
|
import { l as Qr } from "./date-formatter-CzcPZx39.js";
|
|
10
10
|
import "./index-CJdxSyQq.js";
|
|
11
11
|
import "react-dom";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),h=require("react"),i=require("./index-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),h=require("react"),i=require("./index-CrKxP9uF.js"),a=require("./switch-k7kj6NRg.js"),es=require("./layout-grid-jJQUqDN9.js"),ue=require("./use-create-flow-overlay-state-ipeaE65_.js");require("./index-BxM99sFL.js");require("./analyze-result-contract-CtXfp3nv.js");const Hs=require("./date-formatter-B4EBSe9C.js");require("./index-DRlMUglg.js");require("react-dom");/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as e, jsxs as o, Fragment as R } from "react/jsx-runtime";
|
|
2
|
-
import { c as Q, u as D, B as O, ay as dt, E as Wt, L as Vr, a0 as Kr, a as he, az as Qr, aA as Wr, aB as rt, aC as fe, aD as ct, aE as Jt, f as Ge, X as Yt, aF as Xt, aG as Jr, G as _t, W as Yr, Y as Xr, Z as Zr, $ as en, g as tn, j as rn, aH as nn } from "./switch-
|
|
3
|
-
import { b7 as an, u as G, b as Zt, b8 as sn, ar as V, c as er, d as on, e as nt, f as at, o as dn, b9 as pe, ba as $e, bb as cn, bc as Rt, bd as tr, be as rr, bf as ln, bg as lt, bh as un, bi as mn, bj as pn, bk as hn, bl as fn, bm as gn, aE as ge, bn as be, p as E, bo as bn, bp as nr, aY as ut, aA as xn, bq as vn, br as yn, bs as ar, bt as sr, ay as wn, bu as Nn, bv as Sn, bw as Dn, z as Cn, y as Te, K as kn, A as Xe, bx as En, by as Ln, bz as An, $ as In, bA as Mn, I as Ut, bB as Pn, bC as On, bD as _n, bE as Rn, bF as Tt, bG as Ft, bH as $t, bI as T, bJ as Un, bK as Tn, bL as Fn, av as Gt, bM as $n, bN as Gn, bO as Bn, J as zn, bP as qn, ah as Hn, ak as jn, al as Vn, am as Kn, an as Qn, ao as Wn, ap as Jn, aq as Bt, w as st } from "./index-
|
|
2
|
+
import { c as Q, u as D, B as O, ay as dt, E as Wt, L as Vr, a0 as Kr, a as he, az as Qr, aA as Wr, aB as rt, aC as fe, aD as ct, aE as Jt, f as Ge, X as Yt, aF as Xt, aG as Jr, G as _t, W as Yr, Y as Xr, Z as Zr, $ as en, g as tn, j as rn, aH as nn } from "./switch-DArtNJZh.js";
|
|
3
|
+
import { b7 as an, u as G, b as Zt, b8 as sn, ar as V, c as er, d as on, e as nt, f as at, o as dn, b9 as pe, ba as $e, bb as cn, bc as Rt, bd as tr, be as rr, bf as ln, bg as lt, bh as un, bi as mn, bj as pn, bk as hn, bl as fn, bm as gn, aE as ge, bn as be, p as E, bo as bn, bp as nr, aY as ut, aA as xn, bq as vn, br as yn, bs as ar, bt as sr, ay as wn, bu as Nn, bv as Sn, bw as Dn, z as Cn, y as Te, K as kn, A as Xe, bx as En, by as Ln, bz as An, $ as In, bA as Mn, I as Ut, bB as Pn, bC as On, bD as _n, bE as Rn, bF as Tt, bG as Ft, bH as $t, bI as T, bJ as Un, bK as Tn, bL as Fn, av as Gt, bM as $n, bN as Gn, bO as Bn, J as zn, bP as qn, ah as Hn, ak as jn, al as Vn, am as Kn, an as Qn, ao as Wn, ap as Jn, aq as Bt, w as st } from "./index-BAsWLkZ8.js";
|
|
4
4
|
import "./index-CuHybtft.js";
|
|
5
|
-
import "./
|
|
5
|
+
import "./analyze-result-contract-DuhlklhI.js";
|
|
6
6
|
import * as I from "react";
|
|
7
7
|
import or, { useState as w, useMemo as K, useEffect as Be, useRef as zt, useLayoutEffect as Yn, useCallback as Xn } from "react";
|
|
8
8
|
import "./index-CJdxSyQq.js";
|
|
9
9
|
import { createPortal as Zn } from "react-dom";
|
|
10
|
-
import { O as ea, c as ta, u as ra, A as na, a as aa, M as sa, f as oa, V as ia, P as da, N as ca, U as la } from "./dashboard-briefing-launcher-
|
|
10
|
+
import { O as ea, c as ta, u as ra, A as na, a as aa, M as sa, f as oa, V as ia, P as da, N as ca, U as la } from "./dashboard-briefing-launcher-BT00MvGB.js";
|
|
11
11
|
import { d as ir } from "./index-DFOb_6HB.js";
|
|
12
|
-
import { C as ua } from "./calendar-preferences-dialog-
|
|
12
|
+
import { C as ua } from "./calendar-preferences-dialog-CV4xF2Tp.js";
|
|
13
13
|
import { u as ma } from "./use-debounced-dirty-check-BwAbnX_5.js";
|
|
14
14
|
import { s as Ze } from "./normalize-dashboard-for-dirty-check-5KpZN8xr.js";
|
|
15
|
-
import { S as qt } from "./save-
|
|
16
|
-
import { P as pa } from "./palette-
|
|
17
|
-
import { B as ha } from "./braces-
|
|
15
|
+
import { S as qt } from "./save-DzciESDh.js";
|
|
16
|
+
import { P as pa } from "./palette-xU9Qt6bE.js";
|
|
17
|
+
import { B as ha } from "./braces-CP8BEzl3.js";
|
|
18
18
|
/**
|
|
19
19
|
* @license lucide-react v0.453.0 - ISC
|
|
20
20
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("./switch-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("./switch-k7kj6NRg.js"),s=require("./index-CrKxP9uF.js");require("./index-BxM99sFL.js");require("./analyze-result-contract-CtXfp3nv.js");const v=require("react");require("./index-DRlMUglg.js");const es=require("react-dom"),P=require("./dashboard-briefing-launcher-Dcbh-mjY.js"),xt=require("./index-D7KJindZ.js"),ts=require("./calendar-preferences-dialog-rDDobeLo.js"),ss=require("./use-debounced-dirty-check-XHSwAefL.js"),_e=require("./normalize-dashboard-for-dirty-check-BXRUMVb2.js"),ct=require("./save-8A_q6K4E.js"),rs=require("./palette-9zLPGlj2.js"),ns=require("./braces-CGi-YFZp.js");function as(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(a,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return a.default=t,Object.freeze(a)}const L=as(v);/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as m, useState as b, useRef as f, useEffect as p } from "react";
|
|
3
3
|
import "./index-CuHybtft.js";
|
|
4
|
-
import { u as o, a as S, B as N, X as D, C as J } from "./switch-
|
|
5
|
-
import "./
|
|
6
|
-
import "./index-
|
|
4
|
+
import { u as o, a as S, B as N, X as D, C as J } from "./switch-DArtNJZh.js";
|
|
5
|
+
import "./analyze-result-contract-DuhlklhI.js";
|
|
6
|
+
import "./index-BAsWLkZ8.js";
|
|
7
7
|
import "./index-CJdxSyQq.js";
|
|
8
8
|
import "react-dom";
|
|
9
9
|
function j() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("react");require("./index-BxM99sFL.js");const s=require("./switch-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("react");require("./index-BxM99sFL.js");const s=require("./switch-k7kj6NRg.js");require("./analyze-result-contract-CtXfp3nv.js");require("./index-CrKxP9uF.js");require("./index-DRlMUglg.js");require("react-dom");function b(){const t=s.useDashboardStore(e=>e.dashboard),c=s.useDashboardStore(e=>e.actions.setDashboard),u=s.useDashboardStore(e=>e.showDashboardJSON),h=s.useDashboardStore(e=>e.actions.setShowDashboardJSON),r=o.useMemo(()=>t?JSON.stringify(t,null,2):"",[t]),[l,i]=o.useState(r),n=o.useRef(r);return o.useEffect(()=>{r!==n.current&&(i(r),n.current=r)},[r]),a.jsxs("div",{className:s.cn("relative p-2",{hidden:!u}),children:[a.jsxs(s.Button,{variant:"secondary",size:"sm",className:"absolute right-2 top-2 z-10 h-8",onClick:()=>h(!1),children:[a.jsx(s.X,{className:"mr-2 h-4 w-4"}),"Close"]}),a.jsx("div",{className:"h-[550px] overflow-hidden",children:a.jsx(s.CodeEditor,{value:l,onValueChange:e=>{i(e);try{const d=JSON.parse(e);n.current=JSON.stringify(d,null,2),c(d)}catch{}},language:"json"})})]})}exports.default=b;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as e, jsxs as a, Fragment as Ie } from "react/jsx-runtime";
|
|
2
2
|
import * as Sc from "react";
|
|
3
3
|
import ea, { useState as K, useEffect as Se, useRef as Me, useCallback as Ee, useMemo as de, useContext as wr, Suspense as Tc } from "react";
|
|
4
|
-
import { cT as Ei, b as Aa, c as Oa, d as Ma, e as Fa, f as Ja, o as hs, aS as kt, aX as wt, cU as Ai, cV as is, p as Ze, cW as Oi, cE as os, az as Dn, ar as vt, ay as $t, bJ as Sr, aw as nn, aY as qn, aT as Nt, cX as ps, cK as Tr, cY as kc, cZ as Mi, c_ as Ic, aE as Ns, c$ as Dc, d0 as Ec, d1 as mr, d2 as cs, u as xa, z as Fi, d3 as Ac, d4 as Oc, d5 as Ri, d6 as Li, d7 as Mc, d8 as Fc, d9 as Rc, aM as Va, aN as ba, aO as ya, aP as jn, aQ as ta, aR as Qa, da as hr, bB as Sn, db as Pi, af as na, ag as ft, dc as Lc, dd as Vi, c7 as ma, cL as Bi, de as kr, df as _i, dg as Pc, dh as Vc, di as Bc, C as zi, dj as _c, dk as zc, dl as $c, dm as qc, dn as jc, dp as Kc, dq as zs, dr as Uc, ds as zl, dt as Gc, du as $l, dv as Hc, dw as Wc, bF as sn, bG as rn, dx as pr, bH as ln, bI as ct, dy as En, aB as $i, dz as Qc, b0 as Qt, b2 as Yt, dA as Ir, bg as Dr, ae as Er, dB as Yc, dC as Jc, dD as Ar, dE as Xc, dF as qi, dG as ji, dH as Ki, dI as Ht, dJ as Zc, dK as ed, dL as td, dM as ad, dN as Ui, dO as Gi, X as Hi, dP as Wi, dQ as nd, dR as sd, dS as rd, dT as An, M as ld, dU as id, dV as od, dW as ql, dX as cd, E as Cs, t as Or, dY as dd, dZ as Mr, b8 as ud, d_ as jl, I as gt, d$ as md, e0 as hd, e1 as Qi, e2 as Yi, e3 as pd, e4 as Fr, e5 as Rr, aA as ws, e6 as Ji, e7 as Xi, e8 as Kl, e9 as Kn, ea as fd, eb as gd, ec as xd, ed as bd, ee as yd, ef as fs, eg as vd, eh as Nd, ei as Zi, ej as eo, ek as Cd, el as wd, bT as Sd, em as Td, en as to, eo as kd, ep as Id, bU as Ss, eq as Ts, b9 as On, ba as Wt, er as oa, es as Ra, et as La, eu as ha, ev as Xa, ew as Dd, ex as Ed, ey as Ad, ez as Od, eA as Md, eB as Fd, eC as Rd, eD as Ld, eE as Ul, b1 as aa, eF as Pd, eG as Vd, eH as Bd, eI as _d, eJ as ao, eK as zd, eL as $d, eM as qd, eN as jd, eO as Kd, eP as fr, eQ as Ud, eR as Gd, eS as gr, eT as Hd, eU as Wd, eV as Qd, eW as Yd, eX as Gl, ax as xr, at as pa, ah as Jd, ai as Xd, ak as Zd, al as eu, am as tu, an as au, ao as nu, ap as su, aq as ru, bu as lu, eY as iu, eZ as Za, e_ as en, e$ as tn, bK as Lr, bL as ou, av as cu, f0 as du, f1 as uu, f2 as mu, f3 as ks, f4 as st, f5 as rt, f6 as lt, cI as hu, cJ as pu, f7 as no, f8 as so, cG as fu, f9 as gu, fa as xu, fb as bu, fc as yu, fd as vu, fe as Nu, ff as Cu, fg as wu, fh as Su, fi as Tu, fj as ku, fk as Iu, fl as Ta, fm as vn, fn as Ya, fo as Du, fp as Hl, fq as Eu, fr as Au, fs as $s, ft as Wl, fu as Ou, fv as Mu, fw as Fu, fx as Ru, fy as Lu, R as Pr, g as Mn, fz as qs, fA as ro, aC as Pu, fB as gs, fC as Vu, fD as lo, fE as Bu, fF as io, cq as _u, fG as zu, a4 as $u, fH as ns, fI as qu, fJ as Ql, fK as ju, fL as Ku, fM as Yl, fN as Uu, fO as Gu, fP as Hu, fQ as Wu, fR as Qu, cF as Yu, cH as Ju, aj as oo, fS as Xu, fT as Zu, fU as em, fV as tm, fW as am, fX as nm, fY as sm, fZ as rm, f_ as lm, f$ as co, g0 as im, g1 as Is, c8 as Ds, g2 as uo, g3 as om, g4 as cm, g5 as mo, g6 as dm, g7 as um, g8 as Es, g9 as js, ga as mm, gb as hm, gc as pm, gd as fm, ge as gm, gf as Jl, gg as an, gh as ho, gi as xm, bW as bm, gj as po, gk as fo, gl as ds, gm as go, gn as xo, go as Xl, gp as ym, gq as vm, gr as us, gs as Nm, gt as Vr, gu as Cm, gv as xs, h as Fn, i as Rn, k as Ln, j as Pn, l as Vn, m as Bn, gw as wm, gx as _n, gy as ca, gz as br, gA as yr, gB as zn, gC as bo, gD as Sm, gE as Ks, gF as Us, gG as Tm, gH as Gs, gI as km, gJ as Zl, gK as ei, cN as Im, gL as Dm, cO as Em, cQ as Am, cR as Om, y as Mm, gM as Fm, gN as Rm, gO as Lm, bM as Pm, bN as Vm, bO as Bm, bt as As, cC as Os, gP as ti, gQ as yo, ce as Hs, gR as _m, gS as zm, gT as $m, F as qm, aV as jm, gU as Km, gV as Um, aW as Gm } from "./index-
|
|
4
|
+
import { cT as Ei, b as Aa, c as Oa, d as Ma, e as Fa, f as Ja, o as hs, aS as kt, aX as wt, cU as Ai, cV as is, p as Ze, cW as Oi, cE as os, az as Dn, ar as vt, ay as $t, bJ as Sr, aw as nn, aY as qn, aT as Nt, cX as ps, cK as Tr, cY as kc, cZ as Mi, c_ as Ic, aE as Ns, c$ as Dc, d0 as Ec, d1 as mr, d2 as cs, u as xa, z as Fi, d3 as Ac, d4 as Oc, d5 as Ri, d6 as Li, d7 as Mc, d8 as Fc, d9 as Rc, aM as Va, aN as ba, aO as ya, aP as jn, aQ as ta, aR as Qa, da as hr, bB as Sn, db as Pi, af as na, ag as ft, dc as Lc, dd as Vi, c7 as ma, cL as Bi, de as kr, df as _i, dg as Pc, dh as Vc, di as Bc, C as zi, dj as _c, dk as zc, dl as $c, dm as qc, dn as jc, dp as Kc, dq as zs, dr as Uc, ds as zl, dt as Gc, du as $l, dv as Hc, dw as Wc, bF as sn, bG as rn, dx as pr, bH as ln, bI as ct, dy as En, aB as $i, dz as Qc, b0 as Qt, b2 as Yt, dA as Ir, bg as Dr, ae as Er, dB as Yc, dC as Jc, dD as Ar, dE as Xc, dF as qi, dG as ji, dH as Ki, dI as Ht, dJ as Zc, dK as ed, dL as td, dM as ad, dN as Ui, dO as Gi, X as Hi, dP as Wi, dQ as nd, dR as sd, dS as rd, dT as An, M as ld, dU as id, dV as od, dW as ql, dX as cd, E as Cs, t as Or, dY as dd, dZ as Mr, b8 as ud, d_ as jl, I as gt, d$ as md, e0 as hd, e1 as Qi, e2 as Yi, e3 as pd, e4 as Fr, e5 as Rr, aA as ws, e6 as Ji, e7 as Xi, e8 as Kl, e9 as Kn, ea as fd, eb as gd, ec as xd, ed as bd, ee as yd, ef as fs, eg as vd, eh as Nd, ei as Zi, ej as eo, ek as Cd, el as wd, bT as Sd, em as Td, en as to, eo as kd, ep as Id, bU as Ss, eq as Ts, b9 as On, ba as Wt, er as oa, es as Ra, et as La, eu as ha, ev as Xa, ew as Dd, ex as Ed, ey as Ad, ez as Od, eA as Md, eB as Fd, eC as Rd, eD as Ld, eE as Ul, b1 as aa, eF as Pd, eG as Vd, eH as Bd, eI as _d, eJ as ao, eK as zd, eL as $d, eM as qd, eN as jd, eO as Kd, eP as fr, eQ as Ud, eR as Gd, eS as gr, eT as Hd, eU as Wd, eV as Qd, eW as Yd, eX as Gl, ax as xr, at as pa, ah as Jd, ai as Xd, ak as Zd, al as eu, am as tu, an as au, ao as nu, ap as su, aq as ru, bu as lu, eY as iu, eZ as Za, e_ as en, e$ as tn, bK as Lr, bL as ou, av as cu, f0 as du, f1 as uu, f2 as mu, f3 as ks, f4 as st, f5 as rt, f6 as lt, cI as hu, cJ as pu, f7 as no, f8 as so, cG as fu, f9 as gu, fa as xu, fb as bu, fc as yu, fd as vu, fe as Nu, ff as Cu, fg as wu, fh as Su, fi as Tu, fj as ku, fk as Iu, fl as Ta, fm as vn, fn as Ya, fo as Du, fp as Hl, fq as Eu, fr as Au, fs as $s, ft as Wl, fu as Ou, fv as Mu, fw as Fu, fx as Ru, fy as Lu, R as Pr, g as Mn, fz as qs, fA as ro, aC as Pu, fB as gs, fC as Vu, fD as lo, fE as Bu, fF as io, cq as _u, fG as zu, a4 as $u, fH as ns, fI as qu, fJ as Ql, fK as ju, fL as Ku, fM as Yl, fN as Uu, fO as Gu, fP as Hu, fQ as Wu, fR as Qu, cF as Yu, cH as Ju, aj as oo, fS as Xu, fT as Zu, fU as em, fV as tm, fW as am, fX as nm, fY as sm, fZ as rm, f_ as lm, f$ as co, g0 as im, g1 as Is, c8 as Ds, g2 as uo, g3 as om, g4 as cm, g5 as mo, g6 as dm, g7 as um, g8 as Es, g9 as js, ga as mm, gb as hm, gc as pm, gd as fm, ge as gm, gf as Jl, gg as an, gh as ho, gi as xm, bW as bm, gj as po, gk as fo, gl as ds, gm as go, gn as xo, go as Xl, gp as ym, gq as vm, gr as us, gs as Nm, gt as Vr, gu as Cm, gv as xs, h as Fn, i as Rn, k as Ln, j as Pn, l as Vn, m as Bn, gw as wm, gx as _n, gy as ca, gz as br, gA as yr, gB as zn, gC as bo, gD as Sm, gE as Ks, gF as Us, gG as Tm, gH as Gs, gI as km, gJ as Zl, gK as ei, cN as Im, gL as Dm, cO as Em, cQ as Am, cR as Om, y as Mm, gM as Fm, gN as Rm, gO as Lm, bM as Pm, bN as Vm, bO as Bm, bt as As, cC as Os, gP as ti, gQ as yo, ce as Hs, gR as _m, gS as zm, gT as $m, F as qm, aV as jm, gU as Km, gV as Um, aW as Gm } from "./index-BAsWLkZ8.js";
|
|
5
5
|
import "./index-CuHybtft.js";
|
|
6
|
-
import { c as $e, H as Ne, B as Z, V as bs, K as Un, a as Y, aP as Hm, L as $, a1 as ae, a2 as ne, a3 as se, a4 as re, a5 as j, g as At, X as et, G as O, $ as It, W as Vt, Y as Dt, Z as Et, P as Ot, b as Rt, d as Mt, C as fa, aQ as Wm, aH as Tn, aR as Br, aS as vo, aE as _r, aC as Qm, a0 as Fe, aT as Ym, f as ga, u as De, e as va, aU as zr, aV as Gn, _ as Xt, E as No, T as Hn, I as Wn, J as Jt, M as Da, Q as Ms, S as Pa, k as Jm, aI as Ea, aW as Xm, aX as Zm, aY as Co, ah as eh, aK as th, aZ as ah, a_ as nh, a$ as ai, b0 as sh, b1 as rh, b2 as lh, b3 as ih, aO as oh, b4 as ch, b5 as ni, b6 as dh, b7 as si, R as vr, b8 as on, b9 as uh, a6 as Ye, ba as mh, bb as $r, bc as $n, bd as ys, be as da, bf as ss, bg as ri, bh as hh, bi as Pt, bj as ph, O as wo, bk as nt, bl as So, v as li, bm as fh, bn as gh, bo as xh, bp as bh, bq as yh, br as vh, bs as Nh, bt as Ch, bu as wh, bv as Sh, bw as Th, bx as kh, by as ii, bz as Ih, bA as Dh, bB as Eh, N as Fs } from "./switch-
|
|
7
|
-
import "./
|
|
8
|
-
import { f as Ah, g as xt, r as To, h as Qn, S as Oh, i as ko, V as Io, e as Mh, C as Fh, R as Rs } from "./use-create-flow-overlay-state-
|
|
6
|
+
import { c as $e, H as Ne, B as Z, V as bs, K as Un, a as Y, aP as Hm, L as $, a1 as ae, a2 as ne, a3 as se, a4 as re, a5 as j, g as At, X as et, G as O, $ as It, W as Vt, Y as Dt, Z as Et, P as Ot, b as Rt, d as Mt, C as fa, aQ as Wm, aH as Tn, aR as Br, aS as vo, aE as _r, aC as Qm, a0 as Fe, aT as Ym, f as ga, u as De, e as va, aU as zr, aV as Gn, _ as Xt, E as No, T as Hn, I as Wn, J as Jt, M as Da, Q as Ms, S as Pa, k as Jm, aI as Ea, aW as Xm, aX as Zm, aY as Co, ah as eh, aK as th, aZ as ah, a_ as nh, a$ as ai, b0 as sh, b1 as rh, b2 as lh, b3 as ih, aO as oh, b4 as ch, b5 as ni, b6 as dh, b7 as si, R as vr, b8 as on, b9 as uh, a6 as Ye, ba as mh, bb as $r, bc as $n, bd as ys, be as da, bf as ss, bg as ri, bh as hh, bi as Pt, bj as ph, O as wo, bk as nt, bl as So, v as li, bm as fh, bn as gh, bo as xh, bp as bh, bq as yh, br as vh, bs as Nh, bt as Ch, bu as wh, bv as Sh, bw as Th, bx as kh, by as ii, bz as Ih, bA as Dh, bB as Eh, N as Fs } from "./switch-DArtNJZh.js";
|
|
7
|
+
import "./analyze-result-contract-DuhlklhI.js";
|
|
8
|
+
import { f as Ah, g as xt, r as To, h as Qn, S as Oh, i as ko, V as Io, e as Mh, C as Fh, R as Rs } from "./use-create-flow-overlay-state-BdG1DiSx.js";
|
|
9
9
|
import { createPortal as Rh } from "react-dom";
|
|
10
10
|
import "./index-CJdxSyQq.js";
|
|
11
|
-
import { P as Lh } from "./palette-
|
|
11
|
+
import { P as Lh } from "./palette-xU9Qt6bE.js";
|
|
12
12
|
import { a as Ph } from "./common-types-4bjoIgvm.js";
|
|
13
13
|
/**
|
|
14
14
|
* @license lucide-react v0.453.0 - ISC
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),v=require("react"),n=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),v=require("react"),n=require("./index-CrKxP9uF.js");require("./index-BxM99sFL.js");const t=require("./switch-k7kj6NRg.js");require("./analyze-result-contract-CtXfp3nv.js");const Ce=require("./use-create-flow-overlay-state-ipeaE65_.js"),$a=require("react-dom");require("./index-DRlMUglg.js");const Ka=require("./palette-9zLPGlj2.js"),Ua=require("./common-types-C73-Ud1-.js");function Ga(s){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const r in s)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(s,r);Object.defineProperty(a,r,o.get?o:{enumerable:!0,get:()=>s[r]})}}return a.default=s,Object.freeze(a)}const Ha=Ga(v);/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|