@boltic/swirl 1.0.2-sit.77 → 1.0.2-sit.79

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/swirl.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as Te from "react";
2
2
  import re, { useState as ve, useEffect as ke, useCallback as ut, useRef as Pt, useMemo as Zt, createContext as ko, useContext as wo, forwardRef as Nr, useLayoutEffect as VN, useDeferredValue as VI, Suspense as Ia, lazy as HN, useReducer as $d, Component as zG, Fragment as Xa, memo as Ta, useImperativeHandle as Wu, createElement as Ey, PureComponent as Dae, isValidElement as Oy, cloneElement as yy, Children as Pae } from "react";
3
3
  import { Box as Be, useTheme as wt, Portal as Nae, Snackbar as Lae, Alert as Mae, Typography as He, IconButton as tr, Slide as WN, Stack as ce, Button as dr, Tooltip as mr, Divider as mn, TextField as Wo, ListSubheader as MA, OutlinedInput as Cl, MenuItem as rn, alpha as hs, Chip as Qi, InputAdornment as Kl, CircularProgress as Kn, Dialog as XG, Fade as Fae, DialogTitle as qG, DialogContent as YG, DialogActions as KG, List as WE, ListItem as qs, ListItemAvatar as GN, Avatar as Fu, ListItemText as nm, Card as kae, Accordion as kc, AccordionSummary as Bc, AccordionDetails as jc, FormControlLabel as ns, Switch as Nc, Grid as Ce, Stepper as Bae, Step as jae, StepLabel as $ae, styled as tS, StepConnector as Uae, Tabs as QN, Tab as fT, Skeleton as pa, FormLabel as ZG, debounce as GE, FormControl as sr, Select as Mo, Paper as km, FormHelperText as dn, Menu as QE, MenuList as d4, Checkbox as qa, FormGroup as JG, Autocomplete as zN, Link as Ud, InputBase as eQ, RadioGroup as rS, Radio as nS, Slider as tQ, Collapse as Vae, InputLabel as im, ButtonGroup as Hae, Input as Wae, Popover as Gae, ListItemButton as Qae, StyledEngineProvider as zae, ThemeProvider as XN, CssBaseline as Xae, Breadcrumbs as qae, TableContainer as Yae, Table as Kae, TableHead as Zae, TableRow as vC, TableCell as TC, TableBody as Jae } from "@mui/material";
4
- import { MarkerType as Bl, addEdge as pT, useReactFlow as no, useStore as ele, Panel as xC, MiniMap as tle, useNodes as el, useEdges as ic, getBezierPath as qN, Handle as If, useKeyPress as vy, useUpdateNodeInternals as xh, Position as Si, ReactFlow as rle, SelectionMode as nle, Background as ile, getNodesBounds as ole, getViewportForBounds as sle, useNodesState as ale, useEdgesState as lle, useNodesInitialized as cle, applyNodeChanges as ule, useOnViewportChange as dle, ReactFlowProvider as YN } from "@xyflow/react";
4
+ import { MarkerType as Bl, addEdge as pT, useReactFlow as io, useStore as ele, Panel as xC, MiniMap as tle, useNodes as el, useEdges as ic, getBezierPath as qN, Handle as If, useKeyPress as vy, useUpdateNodeInternals as xh, Position as Si, ReactFlow as rle, SelectionMode as nle, Background as ile, getNodesBounds as ole, getViewportForBounds as sle, useNodesState as ale, useEdgesState as lle, useNodesInitialized as cle, applyNodeChanges as ule, useOnViewportChange as dle, ReactFlowProvider as YN } from "@xyflow/react";
5
5
  import { useDispatch as Rr, useSelector as Yt, Provider as KN } from "react-redux";
6
6
  import { configureStore as fle, createSelector as $c } from "@reduxjs/toolkit";
7
7
  import { DOMEditor as ple, withDOM as hle, IS_ANDROID as Vl, EDITOR_TO_PENDING_SELECTION as Tp, EDITOR_TO_ON_CHANGE as f4, EDITOR_TO_FORCE_RENDER as rQ, IS_READ_ONLY as Ale, IS_NODE_MAP_DIRTY as gg, IS_WEBKIT as xp, getActiveElement as mle, getSelection as SC, IS_FOCUSED as e1, getDefaultView as gle, EDITOR_TO_WINDOW as Ele, EDITOR_TO_ELEMENT as bC, NODE_TO_ELEMENT as zp, ELEMENT_TO_NODE as hT, IS_FIREFOX as p4, containsShadowAware as h4, EDITOR_TO_USER_SELECTION as CC, IS_COMPOSING as TA, HAS_BEFORE_INPUT_SUPPORT as Jd, PLACEHOLDER_SYMBOL as AT, MARK_PLACEHOLDER_SYMBOL as nQ, EDITOR_TO_PENDING_INSERTION_MARKS as Lp, isPlainTextOnlyPaste as Ole, Hotkeys as So, IS_CHROME as yle, IS_FIREFOX_LEGACY as vle, IS_IOS as Tle, IS_WECHATBROWSER as xle, IS_UC_MOBILE as Sle, EDITOR_TO_USER_MARKS as Mp, isDOMNode as HI, TRIPLE_CLICK as ble, isDOMElement as Cle, CAN_USE_DOM as Ty, EDITOR_TO_SCHEDULE_FLUSH as _le, NODE_TO_INDEX as Y0, NODE_TO_PARENT as xy, isTrackedMutation as iQ, EDITOR_TO_PENDING_DIFFS as ef, applyStringDiff as wle, isDOMSelection as Rle, EDITOR_TO_PENDING_ACTION as jh, targetRange as Ile, verifyDiffState as Dle, splitDecorationsByChild as Ple, isElementDecorationsEqual as ZN, Key as Nle, EDITOR_TO_PLACEHOLDER_ELEMENT as WI, normalizeStringDiff as Lle, mergeStringDiffs as Mle, normalizeRange as A4, normalizePoint as Fle, EDITOR_TO_KEY_TO_ELEMENT as oQ, isTextDecorationsEqual as sQ } from "slate-dom";
@@ -2738,7 +2738,7 @@ const Sue = () => {
2738
2738
  display: "flex",
2739
2739
  flexDirection: "row",
2740
2740
  alignItems: "center"
2741
- }, eo = (e) => ({
2741
+ }, to = (e) => ({
2742
2742
  "&:hover": {
2743
2743
  backgroundColor: "transparent",
2744
2744
  "& svg": {
@@ -2994,7 +2994,7 @@ const DQ = () => {
2994
2994
  {
2995
2995
  "aria-label": "close",
2996
2996
  onClick: p || A,
2997
- sx: eo(t),
2997
+ sx: to(t),
2998
2998
  children: /* @__PURE__ */ d.jsx(
2999
2999
  Qe,
3000
3000
  {
@@ -3250,8 +3250,8 @@ function wue() {
3250
3250
  return Dn;
3251
3251
  if (!jo(me))
3252
3252
  return me;
3253
- var zi = ii(me);
3254
- if (zi) {
3253
+ var Xi = ii(me);
3254
+ if (Xi) {
3255
3255
  if (Dn = fn(me), !Ve)
3256
3256
  return gn(me, Dn);
3257
3257
  } else {
@@ -3273,7 +3273,7 @@ function wue() {
3273
3273
  var xo = En.get(me);
3274
3274
  if (xo)
3275
3275
  return xo;
3276
- if (En.set(me, Dn), !zi)
3276
+ if (En.set(me, Dn), !Xi)
3277
3277
  var fi = dt ? we(me) : ss(me);
3278
3278
  return H(fi || me, function(co, go) {
3279
3279
  fi && (go = co, co = me[go]), In(Dn, go, Hn(co, Ve, dt, $t, go, me, En));
@@ -9777,9 +9777,15 @@ const MC = {
9777
9777
  bolticStorageActivity: {
9778
9778
  event: "Select an event",
9779
9779
  file_content: "URL, content, or Base64-encoded data for the file.",
9780
+ file_path: "Path of the file in Boltic Storage.",
9781
+ file_paths: "Enter one or more file paths. Use comma or newline to pass multiple files.",
9780
9782
  folder_name: "The folder will be created exclusively at the root level.",
9781
9783
  folder_path: "If left blank, the file will be saved to the root location by default",
9782
- expire_in: "Enter minutes, If left blank, default is 60 minutes. Expiry should be between 1 minute to 43800 minutes"
9784
+ is_public_permanent: "Makes the uploaded file publicly accessible through its public URL.",
9785
+ expire_in: "Enter minutes, If left blank, default is 60 minutes. Expiry should be between 1 minute to 10080 minutes",
9786
+ ttl_seconds: "Optional cache TTL, in seconds, when making a file public.",
9787
+ page_size: "Maximum number of files/folders to return.",
9788
+ next_page_token: "Leave blank for the first page. To fetch the next page, pass next_page_token from the previous List Files/Folders result."
9783
9789
  },
9784
9790
  monitor: {
9785
9791
  events: "Choose monitoring event(s) to trigger your workflow.",
@@ -11891,12 +11897,32 @@ const Tfe = (e = w6, t) => {
11891
11897
  { value: 10, title: "10" }
11892
11898
  ], k6 = [
11893
11899
  {
11894
- title: "Make a folder",
11900
+ title: "Upload file",
11901
+ value: "upload_file"
11902
+ },
11903
+ {
11904
+ title: "Download file",
11905
+ value: "download_file"
11906
+ },
11907
+ {
11908
+ title: "Create folder",
11895
11909
  value: "create_folder"
11896
11910
  },
11897
11911
  {
11898
- title: "Upload file",
11899
- value: "upload_file"
11912
+ title: "List files and folders",
11913
+ value: "list_files"
11914
+ },
11915
+ {
11916
+ title: "Make files public",
11917
+ value: "make_file_public"
11918
+ },
11919
+ {
11920
+ title: "Make files private",
11921
+ value: "make_file_private"
11922
+ },
11923
+ {
11924
+ title: "Delete files or folders",
11925
+ value: "delete_file"
11900
11926
  }
11901
11927
  ], spe = [
11902
11928
  {
@@ -12056,7 +12082,11 @@ const Tfe = (e = w6, t) => {
12056
12082
  trigger: {
12057
12083
  events: {
12058
12084
  "storage.file.uploaded": "File Uploaded",
12059
- "storage.folder.created": "Folder Created"
12085
+ "storage.file.deleted": "File Deleted",
12086
+ "storage.file.public": "File Made Public",
12087
+ "storage.file.private": "File Made Private",
12088
+ "storage.folder.created": "Folder Created",
12089
+ "storage.folder.deleted": "Folder Deleted"
12060
12090
  },
12061
12091
  default: "Select an event"
12062
12092
  }
@@ -12354,8 +12384,13 @@ const Tfe = (e = w6, t) => {
12354
12384
  bolticStorageActivity: {
12355
12385
  integration: {
12356
12386
  event: {
12357
- create_folder: "Make a folder",
12358
- upload_file: "Upload file"
12387
+ upload_file: "Upload file",
12388
+ download_file: "Download file",
12389
+ create_folder: "Create folder",
12390
+ list_files: "List files and folders",
12391
+ make_file_public: "Make files public",
12392
+ make_file_private: "Make files private",
12393
+ delete_file: "Delete files or folders"
12359
12394
  },
12360
12395
  default: "Select an event"
12361
12396
  }
@@ -17374,7 +17409,7 @@ const dD = async (e, t, r, n = "TB") => {
17374
17409
  onAutoLayout: o,
17375
17410
  bottomOffsetPx: s = 0
17376
17411
  }) => {
17377
- const a = wt(), l = Rr(), c = no(), { setNodes: u, getNodes: f, zoomIn: p, zoomOut: h, fitView: A } = c, { setViewport: g, getViewport: m, zoomTo: E } = c, [O, v] = ve(!1), [y, b] = ve(!1), x = f(), { activities: S, triggers: C } = Yt((j) => j.activities), { canvasWorkflow: R, autoSaving: _, viewOnly: I } = Yt((j) => j.canvas), [N, D] = ve(!1), P = !!(S?.data?.data && C?.data?.data && (S.data.data.length > 0 || C.data.data.length > 0));
17412
+ const a = wt(), l = Rr(), c = io(), { setNodes: u, getNodes: f, zoomIn: p, zoomOut: h, fitView: A } = c, { setViewport: g, getViewport: m, zoomTo: E } = c, [O, v] = ve(!1), [y, b] = ve(!1), x = f(), { activities: S, triggers: C } = Yt((j) => j.activities), { canvasWorkflow: R, autoSaving: _, viewOnly: I } = Yt((j) => j.canvas), [N, D] = ve(!1), P = !!(S?.data?.data && C?.data?.data && (S.data.data.length > 0 || C.data.data.length > 0));
17378
17413
  ke(() => {
17379
17414
  D(!!_);
17380
17415
  }, [_]);
@@ -19085,7 +19120,7 @@ const Bhe = ({ theme: e, choice: t, renderSteps: r }) => /* @__PURE__ */ d.jsxs(
19085
19120
  onClick: r,
19086
19121
  sx: {
19087
19122
  p: 0,
19088
- ...eo(A)
19123
+ ...to(A)
19089
19124
  },
19090
19125
  "data-testid": "button-close-dialog",
19091
19126
  children: /* @__PURE__ */ d.jsx(
@@ -19517,7 +19552,7 @@ tl.prototype.property = "";
19517
19552
  tl.prototype.spaceSeparated = !1;
19518
19553
  tl.prototype.space = void 0;
19519
19554
  let iAe = 0;
19520
- const kn = Ch(), Ko = Ch(), hD = Ch(), fr = Ch(), Yi = Ch(), BA = Ch(), cl = Ch();
19555
+ const kn = Ch(), Ko = Ch(), hD = Ch(), fr = Ch(), Ki = Ch(), BA = Ch(), cl = Ch();
19521
19556
  function Ch() {
19522
19557
  return 2 ** ++iAe;
19523
19558
  }
@@ -19529,7 +19564,7 @@ const AD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19529
19564
  commaSeparated: BA,
19530
19565
  number: fr,
19531
19566
  overloadedBoolean: hD,
19532
- spaceSeparated: Yi
19567
+ spaceSeparated: Ki
19533
19568
  }, Symbol.toStringTag, { value: "Module" })), k_ = (
19534
19569
  /** @type {ReadonlyArray<keyof typeof types>} */
19535
19570
  Object.keys(AD)
@@ -19584,36 +19619,36 @@ const Sz = Um({
19584
19619
  ariaColCount: fr,
19585
19620
  ariaColIndex: fr,
19586
19621
  ariaColSpan: fr,
19587
- ariaControls: Yi,
19622
+ ariaControls: Ki,
19588
19623
  ariaCurrent: null,
19589
- ariaDescribedBy: Yi,
19624
+ ariaDescribedBy: Ki,
19590
19625
  ariaDetails: null,
19591
19626
  ariaDisabled: Ko,
19592
- ariaDropEffect: Yi,
19627
+ ariaDropEffect: Ki,
19593
19628
  ariaErrorMessage: null,
19594
19629
  ariaExpanded: Ko,
19595
- ariaFlowTo: Yi,
19630
+ ariaFlowTo: Ki,
19596
19631
  ariaGrabbed: Ko,
19597
19632
  ariaHasPopup: null,
19598
19633
  ariaHidden: Ko,
19599
19634
  ariaInvalid: null,
19600
19635
  ariaKeyShortcuts: null,
19601
19636
  ariaLabel: null,
19602
- ariaLabelledBy: Yi,
19637
+ ariaLabelledBy: Ki,
19603
19638
  ariaLevel: fr,
19604
19639
  ariaLive: null,
19605
19640
  ariaModal: Ko,
19606
19641
  ariaMultiLine: Ko,
19607
19642
  ariaMultiSelectable: Ko,
19608
19643
  ariaOrientation: null,
19609
- ariaOwns: Yi,
19644
+ ariaOwns: Ki,
19610
19645
  ariaPlaceholder: null,
19611
19646
  ariaPosInSet: fr,
19612
19647
  ariaPressed: Ko,
19613
19648
  ariaReadOnly: Ko,
19614
19649
  ariaRelevant: null,
19615
19650
  ariaRequired: Ko,
19616
- ariaRoleDescription: Yi,
19651
+ ariaRoleDescription: Ki,
19617
19652
  ariaRowCount: fr,
19618
19653
  ariaRowIndex: fr,
19619
19654
  ariaRowSpan: fr,
@@ -19648,8 +19683,8 @@ const oAe = Um({
19648
19683
  // Standard Properties.
19649
19684
  abbr: null,
19650
19685
  accept: BA,
19651
- acceptCharset: Yi,
19652
- accessKey: Yi,
19686
+ acceptCharset: Ki,
19687
+ accessKey: Ki,
19653
19688
  action: null,
19654
19689
  allow: null,
19655
19690
  allowFullScreen: kn,
@@ -19659,21 +19694,21 @@ const oAe = Um({
19659
19694
  as: null,
19660
19695
  async: kn,
19661
19696
  autoCapitalize: null,
19662
- autoComplete: Yi,
19697
+ autoComplete: Ki,
19663
19698
  autoFocus: kn,
19664
19699
  autoPlay: kn,
19665
- blocking: Yi,
19700
+ blocking: Ki,
19666
19701
  capture: null,
19667
19702
  charSet: null,
19668
19703
  checked: kn,
19669
19704
  cite: null,
19670
- className: Yi,
19705
+ className: Ki,
19671
19706
  cols: fr,
19672
19707
  colSpan: null,
19673
19708
  content: null,
19674
19709
  contentEditable: Ko,
19675
19710
  controls: kn,
19676
- controlsList: Yi,
19711
+ controlsList: Ki,
19677
19712
  coords: fr | BA,
19678
19713
  crossOrigin: null,
19679
19714
  data: null,
@@ -19695,14 +19730,14 @@ const oAe = Um({
19695
19730
  formMethod: null,
19696
19731
  formNoValidate: kn,
19697
19732
  formTarget: null,
19698
- headers: Yi,
19733
+ headers: Ki,
19699
19734
  height: fr,
19700
19735
  hidden: hD,
19701
19736
  high: fr,
19702
19737
  href: null,
19703
19738
  hrefLang: null,
19704
- htmlFor: Yi,
19705
- httpEquiv: Yi,
19739
+ htmlFor: Ki,
19740
+ httpEquiv: Ki,
19706
19741
  id: null,
19707
19742
  imageSizes: null,
19708
19743
  imageSrcSet: null,
@@ -19712,10 +19747,10 @@ const oAe = Um({
19712
19747
  is: null,
19713
19748
  isMap: kn,
19714
19749
  itemId: null,
19715
- itemProp: Yi,
19716
- itemRef: Yi,
19750
+ itemProp: Ki,
19751
+ itemRef: Ki,
19717
19752
  itemScope: kn,
19718
- itemType: Yi,
19753
+ itemType: Ki,
19719
19754
  kind: null,
19720
19755
  label: null,
19721
19756
  lang: null,
@@ -19828,7 +19863,7 @@ const oAe = Um({
19828
19863
  open: kn,
19829
19864
  optimum: fr,
19830
19865
  pattern: null,
19831
- ping: Yi,
19866
+ ping: Ki,
19832
19867
  placeholder: null,
19833
19868
  playsInline: kn,
19834
19869
  popover: null,
@@ -19838,12 +19873,12 @@ const oAe = Um({
19838
19873
  preload: null,
19839
19874
  readOnly: kn,
19840
19875
  referrerPolicy: null,
19841
- rel: Yi,
19876
+ rel: Ki,
19842
19877
  required: kn,
19843
19878
  reversed: kn,
19844
19879
  rows: fr,
19845
19880
  rowSpan: fr,
19846
- sandbox: Yi,
19881
+ sandbox: Ki,
19847
19882
  scope: null,
19848
19883
  scoped: kn,
19849
19884
  seamless: kn,
@@ -19881,7 +19916,7 @@ const oAe = Um({
19881
19916
  // Several. Use CSS `text-align` instead,
19882
19917
  aLink: null,
19883
19918
  // `<body>`. Use CSS `a:active {color}` instead
19884
- archive: Yi,
19919
+ archive: Ki,
19885
19920
  // `<object>`. List of URIs to archives
19886
19921
  axis: null,
19887
19922
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -20196,7 +20231,7 @@ const oAe = Um({
20196
20231
  by: null,
20197
20232
  calcMode: null,
20198
20233
  capHeight: fr,
20199
- className: Yi,
20234
+ className: Ki,
20200
20235
  clip: null,
20201
20236
  clipPath: null,
20202
20237
  clipPathUnits: null,
@@ -20431,7 +20466,7 @@ const oAe = Um({
20431
20466
  patternTransform: null,
20432
20467
  patternUnits: null,
20433
20468
  phase: null,
20434
- ping: Yi,
20469
+ ping: Ki,
20435
20470
  pitch: null,
20436
20471
  playbackOrder: null,
20437
20472
  pointerEvents: null,
@@ -21338,7 +21373,7 @@ function Vm(e) {
21338
21373
  }
21339
21374
  return t.join("") + e.slice(n);
21340
21375
  }
21341
- function to(e, t, r, n) {
21376
+ function ro(e, t, r, n) {
21342
21377
  const i = n ? n - 1 : Number.POSITIVE_INFINITY;
21343
21378
  let o = 0;
21344
21379
  return s;
@@ -21361,7 +21396,7 @@ function eme(e) {
21361
21396
  e.consume(a);
21362
21397
  return;
21363
21398
  }
21364
- return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), to(e, t, "linePrefix");
21399
+ return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), ro(e, t, "linePrefix");
21365
21400
  }
21366
21401
  function i(a) {
21367
21402
  return e.enter("paragraph"), o(a);
@@ -21499,7 +21534,7 @@ function rme(e) {
21499
21534
  }
21500
21535
  }
21501
21536
  function nme(e, t, r) {
21502
- return to(e, e.attempt(this.parser.constructs.document, t, r), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
21537
+ return ro(e, e.attempt(this.parser.constructs.document, t, r), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
21503
21538
  }
21504
21539
  function uF(e) {
21505
21540
  if (e === null || Va(e) || ZAe(e))
@@ -21639,7 +21674,7 @@ const OS = {
21639
21674
  function lme(e, t, r) {
21640
21675
  return n;
21641
21676
  function n(o) {
21642
- return Ei(o) ? to(e, i, "linePrefix")(o) : i(o);
21677
+ return Ei(o) ? ro(e, i, "linePrefix")(o) : i(o);
21643
21678
  }
21644
21679
  function i(o) {
21645
21680
  return o === null || Tn(o) ? t(o) : r(o);
@@ -21673,7 +21708,7 @@ function ume(e, t, r) {
21673
21708
  const n = this;
21674
21709
  return i;
21675
21710
  function i(s) {
21676
- return Ei(s) ? to(e, o, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(s) : o(s);
21711
+ return Ei(s) ? ro(e, o, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(s) : o(s);
21677
21712
  }
21678
21713
  function o(s) {
21679
21714
  return e.attempt(Bz, t, r)(s);
@@ -21743,7 +21778,7 @@ function hme(e, t, r) {
21743
21778
  return o = S && S[1].type === "linePrefix" ? S[2].sliceSerialize(S[1], !0).length : 0, a = x, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), u(x);
21744
21779
  }
21745
21780
  function u(x) {
21746
- return x === a ? (s++, e.consume(x), u) : s < 3 ? r(x) : (e.exit("codeFencedFenceSequence"), Ei(x) ? to(e, f, "whitespace")(x) : f(x));
21781
+ return x === a ? (s++, e.consume(x), u) : s < 3 ? r(x) : (e.exit("codeFencedFenceSequence"), Ei(x) ? ro(e, f, "whitespace")(x) : f(x));
21747
21782
  }
21748
21783
  function f(x) {
21749
21784
  return x === null || Tn(x) ? (e.exit("codeFencedFence"), n.interrupt ? t(x) : e.check(fF, g, y)(x)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
@@ -21751,7 +21786,7 @@ function hme(e, t, r) {
21751
21786
  }), p(x));
21752
21787
  }
21753
21788
  function p(x) {
21754
- return x === null || Tn(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(x)) : Ei(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), to(e, h, "whitespace")(x)) : x === 96 && x === a ? r(x) : (e.consume(x), p);
21789
+ return x === null || Tn(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), f(x)) : Ei(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), ro(e, h, "whitespace")(x)) : x === 96 && x === a ? r(x) : (e.consume(x), p);
21755
21790
  }
21756
21791
  function h(x) {
21757
21792
  return x === null || Tn(x) ? f(x) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
@@ -21768,7 +21803,7 @@ function hme(e, t, r) {
21768
21803
  return e.enter("lineEnding"), e.consume(x), e.exit("lineEnding"), E;
21769
21804
  }
21770
21805
  function E(x) {
21771
- return o > 0 && Ei(x) ? to(e, O, "linePrefix", o + 1)(x) : O(x);
21806
+ return o > 0 && Ei(x) ? ro(e, O, "linePrefix", o + 1)(x) : O(x);
21772
21807
  }
21773
21808
  function O(x) {
21774
21809
  return x === null || Tn(x) ? e.check(fF, g, y)(x) : (e.enter("codeFlowValue"), v(x));
@@ -21786,13 +21821,13 @@ function hme(e, t, r) {
21786
21821
  return x.enter("lineEnding"), x.consume(L), x.exit("lineEnding"), I;
21787
21822
  }
21788
21823
  function I(L) {
21789
- return x.enter("codeFencedFence"), Ei(L) ? to(x, N, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(L) : N(L);
21824
+ return x.enter("codeFencedFence"), Ei(L) ? ro(x, N, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(L) : N(L);
21790
21825
  }
21791
21826
  function N(L) {
21792
21827
  return L === a ? (x.enter("codeFencedFenceSequence"), D(L)) : C(L);
21793
21828
  }
21794
21829
  function D(L) {
21795
- return L === a ? (R++, x.consume(L), D) : R >= s ? (x.exit("codeFencedFenceSequence"), Ei(L) ? to(x, P, "whitespace")(L) : P(L)) : C(L);
21830
+ return L === a ? (R++, x.consume(L), D) : R >= s ? (x.exit("codeFencedFenceSequence"), Ei(L) ? ro(x, P, "whitespace")(L) : P(L)) : C(L);
21796
21831
  }
21797
21832
  function P(L) {
21798
21833
  return L === null || Tn(L) ? (x.exit("codeFencedFence"), S(L)) : C(L);
@@ -21820,7 +21855,7 @@ function gme(e, t, r) {
21820
21855
  const n = this;
21821
21856
  return i;
21822
21857
  function i(c) {
21823
- return e.enter("codeIndented"), to(e, o, "linePrefix", 5)(c);
21858
+ return e.enter("codeIndented"), ro(e, o, "linePrefix", 5)(c);
21824
21859
  }
21825
21860
  function o(c) {
21826
21861
  const u = n.events[n.events.length - 1];
@@ -21840,7 +21875,7 @@ function Eme(e, t, r) {
21840
21875
  const n = this;
21841
21876
  return i;
21842
21877
  function i(s) {
21843
- return n.parser.lazy[n.now().line] ? r(s) : Tn(s) ? (e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), i) : to(e, o, "linePrefix", 5)(s);
21878
+ return n.parser.lazy[n.now().line] ? r(s) : Tn(s) ? (e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), i) : ro(e, o, "linePrefix", 5)(s);
21844
21879
  }
21845
21880
  function o(s) {
21846
21881
  const a = n.events[n.events.length - 1];
@@ -22144,7 +22179,7 @@ function Rme(e, t, r) {
22144
22179
  const n = this;
22145
22180
  return i;
22146
22181
  function i(s) {
22147
- return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), to(e, o, "linePrefix");
22182
+ return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), ro(e, o, "linePrefix");
22148
22183
  }
22149
22184
  function o(s) {
22150
22185
  if (s === null || Tn(s))
@@ -22214,7 +22249,7 @@ function Wz(e, t, r, n, i, o) {
22214
22249
  return p === s ? (e.enter(i), e.consume(p), e.exit(i), e.exit(n), t) : (e.enter(o), c(p));
22215
22250
  }
22216
22251
  function c(p) {
22217
- return p === s ? (e.exit(o), l(s)) : p === null ? r(p) : Tn(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), to(e, c, "linePrefix")) : (e.enter("chunkString", {
22252
+ return p === s ? (e.exit(o), l(s)) : p === null ? r(p) : Tn(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), ro(e, c, "linePrefix")) : (e.enter("chunkString", {
22218
22253
  contentType: "string"
22219
22254
  }), u(p));
22220
22255
  }
@@ -22229,7 +22264,7 @@ function vg(e, t) {
22229
22264
  let r;
22230
22265
  return n;
22231
22266
  function n(i) {
22232
- return Tn(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), r = !0, n) : Ei(i) ? to(e, n, r ? "linePrefix" : "lineSuffix")(i) : t(i);
22267
+ return Tn(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), r = !0, n) : Ei(i) ? ro(e, n, r ? "linePrefix" : "lineSuffix")(i) : t(i);
22233
22268
  }
22234
22269
  }
22235
22270
  const Ime = {
@@ -22281,7 +22316,7 @@ function Pme(e, t, r) {
22281
22316
  return e.attempt(Dme, f, f)(h);
22282
22317
  }
22283
22318
  function f(h) {
22284
- return Ei(h) ? to(e, p, "whitespace")(h) : p(h);
22319
+ return Ei(h) ? ro(e, p, "whitespace")(h) : p(h);
22285
22320
  }
22286
22321
  function p(h) {
22287
22322
  return h === null || Tn(h) ? (e.exit("definition"), n.parser.defined.push(i), t(h)) : r(h);
@@ -22296,7 +22331,7 @@ function Nme(e, t, r) {
22296
22331
  return Wz(e, o, r, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(a);
22297
22332
  }
22298
22333
  function o(a) {
22299
- return Ei(a) ? to(e, s, "whitespace")(a) : s(a);
22334
+ return Ei(a) ? ro(e, s, "whitespace")(a) : s(a);
22300
22335
  }
22301
22336
  function s(a) {
22302
22337
  return a === null || Tn(a) ? t(a) : r(a);
@@ -22346,7 +22381,7 @@ function Bme(e, t, r) {
22346
22381
  return u === 35 && n++ < 6 ? (e.consume(u), s) : u === null || Va(u) ? (e.exit("atxHeadingSequence"), a(u)) : r(u);
22347
22382
  }
22348
22383
  function a(u) {
22349
- return u === 35 ? (e.enter("atxHeadingSequence"), l(u)) : u === null || Tn(u) ? (e.exit("atxHeading"), t(u)) : Ei(u) ? to(e, a, "whitespace")(u) : (e.enter("atxHeadingText"), c(u));
22384
+ return u === 35 ? (e.enter("atxHeadingSequence"), l(u)) : u === null || Tn(u) ? (e.exit("atxHeading"), t(u)) : Ei(u) ? ro(e, a, "whitespace")(u) : (e.enter("atxHeadingText"), c(u));
22350
22385
  }
22351
22386
  function l(u) {
22352
22387
  return u === 35 ? (e.consume(u), l) : (e.exit("atxHeadingSequence"), a(u));
@@ -22647,7 +22682,7 @@ function Xme(e, t, r) {
22647
22682
  return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(M), e.exit("lineEnding"), k;
22648
22683
  }
22649
22684
  function k(M) {
22650
- return Ei(M) ? to(e, X, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(M) : X(M);
22685
+ return Ei(M) ? ro(e, X, "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(M) : X(M);
22651
22686
  }
22652
22687
  function X(M) {
22653
22688
  return e.enter("htmlTextData"), s(M);
@@ -22834,7 +22869,7 @@ const U_ = {
22834
22869
  function l0e(e, t) {
22835
22870
  return r;
22836
22871
  function r(n) {
22837
- return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), to(e, t, "linePrefix");
22872
+ return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), ro(e, t, "linePrefix");
22838
22873
  }
22839
22874
  }
22840
22875
  const gv = {
@@ -22854,7 +22889,7 @@ function c0e(e, t, r) {
22854
22889
  return c === i ? (e.enter("thematicBreakSequence"), l(c)) : n >= 3 && (c === null || Tn(c)) ? (e.exit("thematicBreak"), t(c)) : r(c);
22855
22890
  }
22856
22891
  function l(c) {
22857
- return c === i ? (e.consume(c), n++, l) : (e.exit("thematicBreakSequence"), Ei(c) ? to(e, a, "whitespace")(c) : a(c));
22892
+ return c === i ? (e.consume(c), n++, l) : (e.exit("thematicBreakSequence"), Ei(c) ? ro(e, a, "whitespace")(c) : a(c));
22858
22893
  }
22859
22894
  }
22860
22895
  const Ca = {
@@ -22912,18 +22947,18 @@ function p0e(e, t, r) {
22912
22947
  const n = this;
22913
22948
  return n.containerState._closeFlow = void 0, e.check(OS, i, o);
22914
22949
  function i(a) {
22915
- return n.containerState.furtherBlankLines = n.containerState.furtherBlankLines || n.containerState.initialBlankLine, to(e, t, "listItemIndent", n.containerState.size + 1)(a);
22950
+ return n.containerState.furtherBlankLines = n.containerState.furtherBlankLines || n.containerState.initialBlankLine, ro(e, t, "listItemIndent", n.containerState.size + 1)(a);
22916
22951
  }
22917
22952
  function o(a) {
22918
22953
  return n.containerState.furtherBlankLines || !Ei(a) ? (n.containerState.furtherBlankLines = void 0, n.containerState.initialBlankLine = void 0, s(a)) : (n.containerState.furtherBlankLines = void 0, n.containerState.initialBlankLine = void 0, e.attempt(d0e, t, s)(a));
22919
22954
  }
22920
22955
  function s(a) {
22921
- return n.containerState._closeFlow = !0, n.interrupt = void 0, to(e, e.attempt(Ca, t, r), "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
22956
+ return n.containerState._closeFlow = !0, n.interrupt = void 0, ro(e, e.attempt(Ca, t, r), "linePrefix", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(a);
22922
22957
  }
22923
22958
  }
22924
22959
  function h0e(e, t, r) {
22925
22960
  const n = this;
22926
- return to(e, i, "listItemIndent", n.containerState.size + 1);
22961
+ return ro(e, i, "listItemIndent", n.containerState.size + 1);
22927
22962
  function i(o) {
22928
22963
  const s = n.events[n.events.length - 1];
22929
22964
  return s && s[1].type === "listItemIndent" && s[2].sliceSerialize(s[1], !0).length === n.containerState.size ? t(o) : r(o);
@@ -22934,7 +22969,7 @@ function A0e(e) {
22934
22969
  }
22935
22970
  function m0e(e, t, r) {
22936
22971
  const n = this;
22937
- return to(e, i, "listItemPrefixWhitespace", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
22972
+ return ro(e, i, "listItemPrefixWhitespace", n.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
22938
22973
  function i(o) {
22939
22974
  const s = n.events[n.events.length - 1];
22940
22975
  return !Ei(o) && s && s[1].type === "listItemPrefixWhitespace" ? t(o) : r(o);
@@ -22986,7 +23021,7 @@ function E0e(e, t, r) {
22986
23021
  return e.enter("setextHeadingLineSequence"), a(c);
22987
23022
  }
22988
23023
  function a(c) {
22989
- return c === i ? (e.consume(c), a) : (e.exit("setextHeadingLineSequence"), Ei(c) ? to(e, l, "lineSuffix")(c) : l(c));
23024
+ return c === i ? (e.consume(c), a) : (e.exit("setextHeadingLineSequence"), Ei(c) ? ro(e, l, "lineSuffix")(c) : l(c));
22990
23025
  }
22991
23026
  function l(c) {
22992
23027
  return c === null || Tn(c) ? (e.exit("setextHeadingLine"), t(c)) : r(c);
@@ -23001,7 +23036,7 @@ function y0e(e) {
23001
23036
  OS,
23002
23037
  n,
23003
23038
  // Try to parse initial flow (essentially, only code).
23004
- e.attempt(this.parser.constructs.flowInitial, i, to(e, e.attempt(this.parser.constructs.flow, i, e.attempt(bme, i)), "linePrefix"))
23039
+ e.attempt(this.parser.constructs.flowInitial, i, ro(e, e.attempt(this.parser.constructs.flow, i, e.attempt(bme, i)), "linePrefix"))
23005
23040
  );
23006
23041
  return r;
23007
23042
  function n(o) {
@@ -26189,7 +26224,7 @@ function gEe(e) {
26189
26224
  dEe.test(e.slice(0, t)) ? e : ""
26190
26225
  );
26191
26226
  }
26192
- const iX = ko(void 0), io = () => {
26227
+ const iX = ko(void 0), zi = () => {
26193
26228
  const e = wo(iX);
26194
26229
  if (e === void 0)
26195
26230
  throw new Error("useWorkflow must be used within a WorkflowUrlsProvider");
@@ -26200,17 +26235,27 @@ const iX = ko(void 0), io = () => {
26200
26235
  children: r,
26201
26236
  analytics: n,
26202
26237
  userData: i,
26203
- openAddonModal: o,
26204
- currentSubscription: s,
26205
- allowedAccount: a
26238
+ openUpgradeModal: o,
26239
+ openAddonModal: s,
26240
+ currentSubscription: a,
26241
+ allowedAccount: l
26206
26242
  }) => /* @__PURE__ */ d.jsx(
26207
26243
  iX.Provider,
26208
26244
  {
26209
- value: { WORKFLOW_URLS: e, ENTITY_ID: t, analytics: n, userData: i, openAddonModal: o, currentSubscription: s, allowedAccount: a },
26245
+ value: {
26246
+ WORKFLOW_URLS: e,
26247
+ ENTITY_ID: t,
26248
+ analytics: n,
26249
+ userData: i,
26250
+ openUpgradeModal: o,
26251
+ openAddonModal: s,
26252
+ currentSubscription: a,
26253
+ allowedAccount: l
26254
+ },
26210
26255
  children: r
26211
26256
  }
26212
26257
  ), EEe = ({ selectedNode: e, setOpenDocs: t, openDocs: r }) => {
26213
- const n = wt(), { WORKFLOW_URLS: i } = io(), { GYRATE_MAIN_URL: o } = i, { activities: s, triggers: a } = Yt((A) => A.activities), l = _i(
26258
+ const n = wt(), { WORKFLOW_URLS: i } = zi(), { GYRATE_MAIN_URL: o } = i, { activities: s, triggers: a } = Yt((A) => A.activities), l = _i(
26214
26259
  s?.data?.data,
26215
26260
  a?.data?.data,
26216
26261
  e?.data,
@@ -26284,7 +26329,7 @@ const iX = ko(void 0), io = () => {
26284
26329
  children: "Open full doc"
26285
26330
  }
26286
26331
  ),
26287
- /* @__PURE__ */ d.jsx(tr, { onClick: () => t(!r), sx: eo(n), children: /* @__PURE__ */ d.jsx(Qe, { width: 24, height: 24, src: "ic_close" }) })
26332
+ /* @__PURE__ */ d.jsx(tr, { onClick: () => t(!r), sx: to(n), children: /* @__PURE__ */ d.jsx(Qe, { width: 24, height: 24, src: "ic_close" }) })
26288
26333
  ] })
26289
26334
  ]
26290
26335
  }
@@ -26312,7 +26357,7 @@ var rs = (e) => !Da(e) && !Array.isArray(e) && oX(e) && !Bp(e), sX = (e) => rs(e
26312
26357
  const t = e.constructor && e.constructor.prototype;
26313
26358
  return rs(t) && t.hasOwnProperty("isPrototypeOf");
26314
26359
  }, LL = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
26315
- function qi(e) {
26360
+ function Yi(e) {
26316
26361
  if (e instanceof Date)
26317
26362
  return new Date(e);
26318
26363
  const t = typeof FileList < "u" && e instanceof FileList;
@@ -26323,7 +26368,7 @@ function qi(e) {
26323
26368
  return e;
26324
26369
  const n = r ? [] : Object.create(Object.getPrototypeOf(e));
26325
26370
  for (const i in e)
26326
- Object.prototype.hasOwnProperty.call(e, i) && (n[i] = qi(e[i]));
26371
+ Object.prototype.hasOwnProperty.call(e, i) && (n[i] = Yi(e[i]));
26327
26372
  return n;
26328
26373
  }
26329
26374
  var TS = (e) => /^\w*$/.test(e), ji = (e) => e === void 0, xS = (e) => Array.isArray(e) ? e.filter(Boolean) : [], ML = (e) => xS(e.replace(/["|']|\]/g, "").split(/\.|\[/)), Tr = (e, t, r) => {
@@ -26543,7 +26588,7 @@ function TEe(e) {
26543
26588
  R && R._f && (R._f.mount = C);
26544
26589
  };
26545
26590
  if (x(r, !0), y) {
26546
- const S = qi(Tr(i._options.defaultValues, r, p.current.defaultValue));
26591
+ const S = Yi(Tr(i._options.defaultValues, r, p.current.defaultValue));
26547
26592
  ki(i._defaultValues, r, S), ji(Tr(i._formValues, r)) && ki(i._formValues, r, S);
26548
26593
  }
26549
26594
  return !l && i.register(r), h.current = r, () => {
@@ -26913,7 +26958,7 @@ function FEe(e = {}) {
26913
26958
  validatingFields: {},
26914
26959
  errors: t.errors || {},
26915
26960
  disabled: t.disabled || !1
26916
- }, n = {}, i = rs(t.defaultValues) || rs(t.values) ? qi(t.defaultValues || t.values) || {} : {}, o = t.shouldUnregister ? {} : qi(i), s = {
26961
+ }, n = {}, i = rs(t.defaultValues) || rs(t.values) ? Yi(t.defaultValues || t.values) || {} : {}, o = t.shouldUnregister ? {} : Yi(i), s = {
26917
26962
  action: !1,
26918
26963
  mount: !1,
26919
26964
  watch: !1,
@@ -27074,7 +27119,7 @@ function FEe(e = {}) {
27074
27119
  (!Se.defaultChecked || !Se.disabled) && (Array.isArray(Ae) ? Se.checked = !!Ae.find((ge) => ge === Se.value) : Se.checked = Ae === Se.value || !!Ae);
27075
27120
  }) : fe.refs.forEach((Se) => Se.checked = Se.value === Ae) : BL(fe.ref) ? fe.ref.value = "" : (fe.ref.value = Ae, fe.ref.type || h.state.next({
27076
27121
  name: q,
27077
- values: qi(o)
27122
+ values: Yi(o)
27078
27123
  })));
27079
27124
  }
27080
27125
  (ae.shouldDirty || ae.shouldTouch) && x(q, Ae, ae.shouldTouch, ae.shouldDirty, !0), ae.shouldValidate && M(q);
@@ -27086,10 +27131,10 @@ function FEe(e = {}) {
27086
27131
  (a.array.has(q) || rs(Ae) || Se && !Se._f) && !Bp(Ae) ? F(fe, Ae, ae) : L(fe, Ae, ae);
27087
27132
  }
27088
27133
  }, U = (q, ee, ae = {}) => {
27089
- const he = Tr(n, q), Ae = a.array.has(q), fe = qi(ee);
27134
+ const he = Tr(n, q), Ae = a.array.has(q), fe = Yi(ee);
27090
27135
  ki(o, q, fe), Ae ? (h.array.next({
27091
27136
  name: q,
27092
- values: qi(o)
27137
+ values: Yi(o)
27093
27138
  }), (f.isDirty || f.dirtyFields || p.isDirty || p.dirtyFields) && ae.shouldDirty && h.state.next({
27094
27139
  name: q,
27095
27140
  dirtyFields: hA(i, o),
@@ -27097,10 +27142,10 @@ function FEe(e = {}) {
27097
27142
  })) : he && !he._f && !Da(fe) ? F(q, fe, ae) : L(q, fe, ae), CD(q, a) ? h.state.next({
27098
27143
  ...r,
27099
27144
  name: q,
27100
- values: qi(o)
27145
+ values: Yi(o)
27101
27146
  }) : h.state.next({
27102
27147
  name: s.mount ? q : void 0,
27103
- values: qi(o)
27148
+ values: Yi(o)
27104
27149
  });
27105
27150
  }, k = async (q) => {
27106
27151
  s.mount = !0;
@@ -27117,7 +27162,7 @@ function FEe(e = {}) {
27117
27162
  if (!Ge && h.state.next({
27118
27163
  name: ae,
27119
27164
  type: q.type,
27120
- values: qi(o)
27165
+ values: Yi(o)
27121
27166
  }), it)
27122
27167
  return (f.isValid || p.isValid) && (t.mode === "onBlur" ? Ge && m() : Ge || m()), De && h.state.next({ name: ae, ...at ? {} : st });
27123
27168
  if (!Ge && at && h.state.next({ ...r }), t.resolver) {
@@ -27204,7 +27249,7 @@ function FEe(e = {}) {
27204
27249
  for (const ae of q ? Fa(q) : a.mount)
27205
27250
  a.mount.delete(ae), a.array.delete(ae), ee.keepValue || (Uo(n, ae), Uo(o, ae)), !ee.keepError && Uo(r.errors, ae), !ee.keepDirty && Uo(r.dirtyFields, ae), !ee.keepTouched && Uo(r.touchedFields, ae), !ee.keepIsValidating && Uo(r.validatingFields, ae), !t.shouldUnregister && !ee.keepDefaultValue && Uo(i, ae);
27206
27251
  h.state.next({
27207
- values: qi(o)
27252
+ values: Yi(o)
27208
27253
  }), h.state.next({
27209
27254
  ...r,
27210
27255
  ...ee.keepDirty ? { isDirty: N() } : {}
@@ -27274,12 +27319,12 @@ function FEe(e = {}) {
27274
27319
  }, se = (q, ee) => async (ae) => {
27275
27320
  let he;
27276
27321
  ae && (ae.preventDefault && ae.preventDefault(), ae.persist && ae.persist());
27277
- let Ae = qi(o);
27322
+ let Ae = Yi(o);
27278
27323
  if (h.state.next({
27279
27324
  isSubmitting: !0
27280
27325
  }), t.resolver) {
27281
27326
  const { errors: fe, values: Se } = await C();
27282
- E(), r.errors = fe, Ae = qi(Se);
27327
+ E(), r.errors = fe, Ae = Yi(Se);
27283
27328
  } else
27284
27329
  await _(n);
27285
27330
  if (a.disabled.size)
@@ -27305,9 +27350,9 @@ function FEe(e = {}) {
27305
27350
  }), he)
27306
27351
  throw he;
27307
27352
  }, te = (q, ee = {}) => {
27308
- Tr(n, q) && (ji(ee.defaultValue) ? U(q, qi(Tr(i, q))) : (U(q, ee.defaultValue), ki(i, q, qi(ee.defaultValue))), ee.keepTouched || Uo(r.touchedFields, q), ee.keepDirty || (Uo(r.dirtyFields, q), r.isDirty = ee.defaultValue ? N(q, qi(Tr(i, q))) : N()), ee.keepError || (Uo(r.errors, q), f.isValid && m()), h.state.next({ ...r }));
27353
+ Tr(n, q) && (ji(ee.defaultValue) ? U(q, Yi(Tr(i, q))) : (U(q, ee.defaultValue), ki(i, q, Yi(ee.defaultValue))), ee.keepTouched || Uo(r.touchedFields, q), ee.keepDirty || (Uo(r.dirtyFields, q), r.isDirty = ee.defaultValue ? N(q, Yi(Tr(i, q))) : N()), ee.keepError || (Uo(r.errors, q), f.isValid && m()), h.state.next({ ...r }));
27309
27354
  }, le = (q, ee = {}) => {
27310
- const ae = q ? qi(q) : i, he = qi(ae), Ae = zs(q), fe = Ae ? i : he;
27355
+ const ae = q ? Yi(q) : i, he = Yi(ae), Ae = zs(q), fe = Ae ? i : he;
27311
27356
  if (ee.keepDefaultValues || (i = ae), !ee.keepValues) {
27312
27357
  if (ee.keepDirtyValues) {
27313
27358
  const Se = /* @__PURE__ */ new Set([
@@ -27339,7 +27384,7 @@ function FEe(e = {}) {
27339
27384
  else
27340
27385
  n = {};
27341
27386
  }
27342
- o = t.shouldUnregister ? ee.keepDefaultValues ? qi(i) : {} : qi(fe), h.array.next({
27387
+ o = t.shouldUnregister ? ee.keepDefaultValues ? Yi(i) : {} : Yi(fe), h.array.next({
27343
27388
  values: { ...fe }
27344
27389
  }), h.state.next({
27345
27390
  values: { ...fe }
@@ -27506,12 +27551,12 @@ function BEe(e) {
27506
27551
  const f = re.useCallback((y) => {
27507
27552
  u.current = !0, r._setFieldArray(n, y);
27508
27553
  }, [r, n]), p = (y, b) => {
27509
- const x = Fa(qi(y)), S = Z_(r._getFieldArray(n), x);
27554
+ const x = Fa(Yi(y)), S = Z_(r._getFieldArray(n), x);
27510
27555
  r._names.focus = K_(n, S.length - 1, b), c.current = Z_(c.current, x.map(rf)), f(S), l(S), r._setFieldArray(n, S, Z_, {
27511
27556
  argA: J_(y)
27512
27557
  });
27513
27558
  }, h = (y, b) => {
27514
- const x = Fa(qi(y)), S = rw(r._getFieldArray(n), x);
27559
+ const x = Fa(Yi(y)), S = rw(r._getFieldArray(n), x);
27515
27560
  r._names.focus = K_(n, 0, b), c.current = rw(c.current, x.map(rf)), f(S), l(S), r._setFieldArray(n, S, rw, {
27516
27561
  argA: J_(y)
27517
27562
  });
@@ -27521,7 +27566,7 @@ function BEe(e) {
27521
27566
  argA: y
27522
27567
  });
27523
27568
  }, g = (y, b, x) => {
27524
- const S = Fa(qi(b)), C = ew(r._getFieldArray(n), y, S);
27569
+ const S = Fa(Yi(b)), C = ew(r._getFieldArray(n), y, S);
27525
27570
  r._names.focus = K_(n, y, x), c.current = ew(c.current, y, S.map(rf)), f(C), l(C), r._setFieldArray(n, C, ew, {
27526
27571
  argA: y,
27527
27572
  argB: J_(b)
@@ -27539,13 +27584,13 @@ function BEe(e) {
27539
27584
  argB: b
27540
27585
  }, !1);
27541
27586
  }, O = (y, b) => {
27542
- const x = qi(b), S = VF(r._getFieldArray(n), y, x);
27587
+ const x = Yi(b), S = VF(r._getFieldArray(n), y, x);
27543
27588
  c.current = [...S].map((C, R) => !C || R === y ? rf() : c.current[R]), f(S), l([...S]), r._setFieldArray(n, S, VF, {
27544
27589
  argA: y,
27545
27590
  argB: x
27546
27591
  }, !0, !1);
27547
27592
  }, v = (y) => {
27548
- const b = Fa(qi(y));
27593
+ const b = Fa(Yi(y));
27549
27594
  c.current = b.map(rf), f([...b]), l([...b]), r._setFieldArray(n, [...b], (x) => x, {}, !0, !1);
27550
27595
  };
27551
27596
  return re.useEffect(() => {
@@ -27568,7 +27613,7 @@ function BEe(e) {
27568
27613
  }
27569
27614
  r._subjects.state.next({
27570
27615
  name: n,
27571
- values: qi(r._formValues)
27616
+ values: Yi(r._formValues)
27572
27617
  }), r._names.focus && $A(r._fields, (y, b) => {
27573
27618
  if (r._names.focus && b.startsWith(r._names.focus) && y.focus)
27574
27619
  return y.focus(), 1;
@@ -27676,7 +27721,7 @@ const jEe = Nr(
27676
27721
  },
27677
27722
  activityExecutionList: u = null
27678
27723
  }, f) => {
27679
- const p = Yt((S) => S.canvas.showDebugLogs), { getNodes: h } = no(), A = h(), { data: g } = A.find((S) => S.id === s?.id) || {}, { blt_node_states: { test: m = "", node: E } = {} } = g || {}, O = () => a === 0 ? {
27724
+ const p = Yt((S) => S.canvas.showDebugLogs), { getNodes: h } = io(), A = h(), { data: g } = A.find((S) => S.id === s?.id) || {}, { blt_node_states: { test: m = "", node: E } = {} } = g || {}, O = () => a === 0 ? {
27680
27725
  secondaryButtonText: "Cancel",
27681
27726
  primaryButtonText: ah.includes(t) ? "Save" : "Next"
27682
27727
  } : a === 1 && (m === "default" || m === "") ? {
@@ -30023,7 +30068,7 @@ var UOe = {
30023
30068
  affinity: n
30024
30069
  } = e;
30025
30070
  if (r != null) {
30026
- var i = Ki.transform(r, t, {
30071
+ var i = Zi.transform(r, t, {
30027
30072
  affinity: n
30028
30073
  });
30029
30074
  e.current = i, i == null && e.unref();
@@ -30302,7 +30347,7 @@ var or = {
30302
30347
  return t;
30303
30348
  },
30304
30349
  equals(e, t) {
30305
- return Ki.equals(e.anchor, t.anchor) && Ki.equals(e.focus, t.focus);
30350
+ return Zi.equals(e.anchor, t.anchor) && Zi.equals(e.focus, t.focus);
30306
30351
  },
30307
30352
  surrounds(e, t) {
30308
30353
  var r = or.intersection(e, t);
@@ -30313,14 +30358,14 @@ var or = {
30313
30358
  if (or.includes(e, t.anchor) || or.includes(e, t.focus))
30314
30359
  return !0;
30315
30360
  var [r, n] = or.edges(e), [i, o] = or.edges(t);
30316
- return Ki.isBefore(r, i) && Ki.isAfter(n, o);
30361
+ return Zi.isBefore(r, i) && Zi.isAfter(n, o);
30317
30362
  }
30318
30363
  var [s, a] = or.edges(e), l = !1, c = !1;
30319
- return Pn.isPoint(t) ? (l = Ki.compare(t, s) >= 0, c = Ki.compare(t, a) <= 0) : (l = gt.compare(t, s.path) >= 0, c = gt.compare(t, a.path) <= 0), l && c;
30364
+ return Pn.isPoint(t) ? (l = Zi.compare(t, s) >= 0, c = Zi.compare(t, a) <= 0) : (l = gt.compare(t, s.path) >= 0, c = gt.compare(t, a.path) <= 0), l && c;
30320
30365
  },
30321
30366
  intersection(e, t) {
30322
- var r = Cd(e, zOe), [n, i] = or.edges(e), [o, s] = or.edges(t), a = Ki.isBefore(n, o) ? o : n, l = Ki.isBefore(i, s) ? i : s;
30323
- return Ki.isBefore(l, a) ? null : XOe({
30367
+ var r = Cd(e, zOe), [n, i] = or.edges(e), [o, s] = or.edges(t), a = Zi.isBefore(n, o) ? o : n, l = Zi.isBefore(i, s) ? i : s;
30368
+ return Zi.isBefore(l, a) ? null : XOe({
30324
30369
  anchor: a,
30325
30370
  focus: l
30326
30371
  }, r);
@@ -30330,14 +30375,14 @@ var or = {
30330
30375
  anchor: t,
30331
30376
  focus: r
30332
30377
  } = e;
30333
- return Ki.isAfter(t, r);
30378
+ return Zi.isAfter(t, r);
30334
30379
  },
30335
30380
  isCollapsed(e) {
30336
30381
  var {
30337
30382
  anchor: t,
30338
30383
  focus: r
30339
30384
  } = e;
30340
- return Ki.equals(t, r);
30385
+ return Zi.equals(t, r);
30341
30386
  },
30342
30387
  isExpanded(e) {
30343
30388
  return !or.isCollapsed(e);
@@ -30346,7 +30391,7 @@ var or = {
30346
30391
  return !or.isBackward(e);
30347
30392
  },
30348
30393
  isRange(e) {
30349
- return Ds(e) && Ki.isPoint(e.anchor) && Ki.isPoint(e.focus);
30394
+ return Ds(e) && Zi.isPoint(e.anchor) && Zi.isPoint(e.focus);
30350
30395
  },
30351
30396
  *points(e) {
30352
30397
  yield [e.anchor, "anchor"], yield [e.focus, "focus"];
@@ -30366,9 +30411,9 @@ var or = {
30366
30411
  var s = or.isCollapsed(e);
30367
30412
  or.isForward(e) ? (i = "forward", o = s ? i : "backward") : (i = "backward", o = s ? i : "forward");
30368
30413
  } else n === "outward" ? or.isForward(e) ? (i = "backward", o = "forward") : (i = "forward", o = "backward") : (i = n, o = n);
30369
- var a = Ki.transform(e.anchor, t, {
30414
+ var a = Zi.transform(e.anchor, t, {
30370
30415
  affinity: i
30371
- }), l = Ki.transform(e.focus, t, {
30416
+ }), l = Zi.transform(e.focus, t, {
30372
30417
  affinity: o
30373
30418
  });
30374
30419
  return !a || !l ? null : {
@@ -31109,7 +31154,7 @@ var g1e = /(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u
31109
31154
  shouldMergeNodesRemovePrevNode: (e, t, r) => e.shouldMergeNodesRemovePrevNode(t, r)
31110
31155
  }, Pn = {
31111
31156
  isLocation(e) {
31112
- return gt.isPath(e) || Ki.isPoint(e) || or.isRange(e);
31157
+ return gt.isPath(e) || Zi.isPoint(e) || or.isRange(e);
31113
31158
  },
31114
31159
  isPath(e) {
31115
31160
  return Array.isArray(e);
@@ -31145,16 +31190,16 @@ function yk(e) {
31145
31190
  }
31146
31191
  return e;
31147
31192
  }
31148
- var Ki = {
31193
+ var Zi = {
31149
31194
  compare(e, t) {
31150
31195
  var r = gt.compare(e.path, t.path);
31151
31196
  return r === 0 ? e.offset < t.offset ? -1 : e.offset > t.offset ? 1 : 0 : r;
31152
31197
  },
31153
31198
  isAfter(e, t) {
31154
- return Ki.compare(e, t) === 1;
31199
+ return Zi.compare(e, t) === 1;
31155
31200
  },
31156
31201
  isBefore(e, t) {
31157
- return Ki.compare(e, t) === -1;
31202
+ return Zi.compare(e, t) === -1;
31158
31203
  },
31159
31204
  equals(e, t) {
31160
31205
  return e.offset === t.offset && gt.equals(e.path, t.path);
@@ -31484,7 +31529,7 @@ var x1e = {
31484
31529
  if (Sp(e, gt.parent(O), (Q) => PD(Q, v, 1)), e.selection) {
31485
31530
  var y = $o({}, e.selection);
31486
31531
  for (var [b, x] of or.points(y)) {
31487
- var S = Ki.transform(b, t);
31532
+ var S = Zi.transform(b, t);
31488
31533
  if (y != null && S != null)
31489
31534
  y[x] = S;
31490
31535
  else {
@@ -31607,7 +31652,7 @@ var x1e = {
31607
31652
  if (r && e.selection) {
31608
31653
  var G = $o({}, e.selection);
31609
31654
  for (var [W, H] of or.points(G))
31610
- G[H] = Ki.transform(W, t);
31655
+ G[H] = Zi.transform(W, t);
31611
31656
  or.equals(G, e.selection) || (e.selection = G);
31612
31657
  }
31613
31658
  }
@@ -32223,7 +32268,7 @@ var tye = function(t, r) {
32223
32268
  return r.length === 0 || r.length === 1 && Ot.isText(n) && n.text === "" && !e.isVoid(t);
32224
32269
  }, oye = (e, t, r) => {
32225
32270
  var n = je.end(e, r);
32226
- return Ki.equals(t, n);
32271
+ return Zi.equals(t, n);
32227
32272
  }, sye = (e) => {
32228
32273
  var t = PX.get(e);
32229
32274
  return t === void 0 ? !0 : t;
@@ -32231,7 +32276,7 @@ var tye = function(t, r) {
32231
32276
  if (t.offset !== 0)
32232
32277
  return !1;
32233
32278
  var n = je.start(e, r);
32234
- return Ki.equals(t, n);
32279
+ return Zi.equals(t, n);
32235
32280
  }, lye = (e, t) => {
32236
32281
  var r = je.path(e, t, {
32237
32282
  edge: "end"
@@ -32811,7 +32856,7 @@ var Dye = (e, t) => {
32811
32856
  if (!or.isCollapsed(c)) {
32812
32857
  if (!u) {
32813
32858
  var [, m] = or.edges(c), E = je.end(t, []);
32814
- Ki.equals(m, E) || (c = je.unhangRange(t, c, {
32859
+ Zi.equals(m, E) || (c = je.unhangRange(t, c, {
32815
32860
  voids: l
32816
32861
  }));
32817
32862
  }
@@ -33122,7 +33167,7 @@ var Wye = function(t, r) {
33122
33167
  } = e, n = {}, i = {};
33123
33168
  if (r) {
33124
33169
  for (var o in t)
33125
- (o === "anchor" && t.anchor != null && !Ki.equals(t.anchor, r.anchor) || o === "focus" && t.focus != null && !Ki.equals(t.focus, r.focus) || o !== "anchor" && o !== "focus" && t[o] !== r[o]) && (n[o] = r[o], i[o] = t[o]);
33170
+ (o === "anchor" && t.anchor != null && !Zi.equals(t.anchor, r.anchor) || o === "focus" && t.focus != null && !Zi.equals(t.focus, r.focus) || o !== "anchor" && o !== "focus" && t[o] !== r[o]) && (n[o] = r[o], i[o] = t[o]);
33126
33171
  Object.keys(n).length > 0 && e.apply({
33127
33172
  type: "set_selection",
33128
33173
  properties: n,
@@ -37598,7 +37643,7 @@ const aq = Nr(
37598
37643
  sx: {
37599
37644
  cursor: "grab",
37600
37645
  "&:active": { cursor: "grabbing" },
37601
- ...eo(y)
37646
+ ...to(y)
37602
37647
  },
37603
37648
  onMouseDown: S,
37604
37649
  "data-testid": "suggestions-popup-drag-btn",
@@ -37615,7 +37660,7 @@ const aq = Nr(
37615
37660
  P.preventDefault(), P.stopPropagation(), O(!0);
37616
37661
  },
37617
37662
  sx: {
37618
- ...eo(y)
37663
+ ...to(y)
37619
37664
  },
37620
37665
  size: "small",
37621
37666
  "data-testid": "suggestions-popup-close-btn",
@@ -39446,9 +39491,9 @@ const aq = Nr(
39446
39491
  showSuggestion: v = !1,
39447
39492
  ...y
39448
39493
  }, b) => {
39449
- const x = wt(), { getNodes: S, setNodes: C, getEdges: R } = no(), _ = S(), { loopSuggestionsData: I = {} } = Yt((Ae) => Ae.loopActivity), [N, D] = ve(!1), { canvasWorkflow: P, activityExecutionData: L, selectedActivityId: F, aiGeneratedFieldMap: U } = Yt(
39494
+ const x = wt(), { getNodes: S, setNodes: C, getEdges: R } = io(), _ = S(), { loopSuggestionsData: I = {} } = Yt((Ae) => Ae.loopActivity), [N, D] = ve(!1), { canvasWorkflow: P, activityExecutionData: L, selectedActivityId: F, aiGeneratedFieldMap: U } = Yt(
39450
39495
  (Ae) => Ae.canvas
39451
- ), k = Pt(null), { WORKFLOW_URLS: X, ENTITY_ID: M = "", analytics: $, openAddonModal: V, currentSubscription: w } = io(), { VORTEX_MAIN_URL: B } = X, j = is(), z = Un(j), G = Un(Hr.VERSION);
39496
+ ), k = Pt(null), { WORKFLOW_URLS: X, ENTITY_ID: M = "", analytics: $, openAddonModal: V, currentSubscription: w } = zi(), { VORTEX_MAIN_URL: B } = X, j = is(), z = Un(j), G = Un(Hr.VERSION);
39452
39497
  ke(() => () => {
39453
39498
  k.current && clearTimeout(k.current);
39454
39499
  }, []);
@@ -46057,9 +46102,9 @@ class xc {
46057
46102
  return new xc(this.from, this.length + t.length, this.top, this.height + t.height, r);
46058
46103
  }
46059
46104
  }
46060
- var Zi = /* @__PURE__ */ (function(e) {
46105
+ var Ji = /* @__PURE__ */ (function(e) {
46061
46106
  return e[e.ByPos = 0] = "ByPos", e[e.ByHeight = 1] = "ByHeight", e[e.ByPosNoHeight = 2] = "ByPosNoHeight", e;
46062
- })(Zi || (Zi = {}));
46107
+ })(Ji || (Ji = {}));
46063
46108
  const bv = 1e-3;
46064
46109
  class ga {
46065
46110
  constructor(t, r, n = 2) {
@@ -46090,9 +46135,9 @@ class ga {
46090
46135
  applyChanges(t, r, n, i) {
46091
46136
  let o = this, s = n.doc;
46092
46137
  for (let a = i.length - 1; a >= 0; a--) {
46093
- let { fromA: l, toA: c, fromB: u, toB: f } = i[a], p = o.lineAt(l, Zi.ByPosNoHeight, n.setDoc(r), 0, 0), h = p.to >= c ? p : o.lineAt(c, Zi.ByPosNoHeight, n, 0, 0);
46138
+ let { fromA: l, toA: c, fromB: u, toB: f } = i[a], p = o.lineAt(l, Ji.ByPosNoHeight, n.setDoc(r), 0, 0), h = p.to >= c ? p : o.lineAt(c, Ji.ByPosNoHeight, n, 0, 0);
46094
46139
  for (f += h.to - c, c = h.to; a > 0 && p.from <= i[a - 1].toA; )
46095
- l = i[a - 1].fromA, u = i[a - 1].fromB, a--, l < p.from && (p = o.lineAt(l, Zi.ByPosNoHeight, n, 0, 0));
46140
+ l = i[a - 1].fromA, u = i[a - 1].fromB, a--, l < p.from && (p = o.lineAt(l, Ji.ByPosNoHeight, n, 0, 0));
46096
46141
  u += p.from - l, l = p.from;
46097
46142
  let A = f8.build(n.setDoc(s), t, u, f);
46098
46143
  o = HT(o, o.replace(l, c, A));
@@ -46151,7 +46196,7 @@ class mY extends ga {
46151
46196
  return this.spaceAbove ? this.blockAt(0, n, i, o).join(s) : s;
46152
46197
  }
46153
46198
  forEachLine(t, r, n, i, o, s) {
46154
- t <= o + this.length && r >= o && s(this.lineAt(0, Zi.ByPos, n, i, o));
46199
+ t <= o + this.length && r >= o && s(this.lineAt(0, Ji.ByPos, n, i, o));
46155
46200
  }
46156
46201
  setMeasuredHeight(t) {
46157
46202
  let r = t.heights[t.index++];
@@ -46206,9 +46251,9 @@ class Is extends ga {
46206
46251
  }
46207
46252
  }
46208
46253
  lineAt(t, r, n, i, o) {
46209
- if (r == Zi.ByHeight)
46254
+ if (r == Ji.ByHeight)
46210
46255
  return this.blockAt(t, n, i, o);
46211
- if (r == Zi.ByPosNoHeight) {
46256
+ if (r == Ji.ByPosNoHeight) {
46212
46257
  let { from: h, to: A } = n.doc.lineAt(t);
46213
46258
  return new xc(h, A - h, 0, 0, 0);
46214
46259
  }
@@ -46280,10 +46325,10 @@ class rbe extends ga {
46280
46325
  return t < o ? this.left.blockAt(t, r, n, i) : this.right.blockAt(t, r, o, i + this.left.length + this.break);
46281
46326
  }
46282
46327
  lineAt(t, r, n, i, o) {
46283
- let s = i + this.left.height, a = o + this.left.length + this.break, l = r == Zi.ByHeight ? t < s : t < a, c = l ? this.left.lineAt(t, r, n, i, o) : this.right.lineAt(t, r, n, s, a);
46328
+ let s = i + this.left.height, a = o + this.left.length + this.break, l = r == Ji.ByHeight ? t < s : t < a, c = l ? this.left.lineAt(t, r, n, i, o) : this.right.lineAt(t, r, n, s, a);
46284
46329
  if (this.break || (l ? c.to < a : c.from > a))
46285
46330
  return c;
46286
- let u = r == Zi.ByPosNoHeight ? Zi.ByPosNoHeight : Zi.ByPos;
46331
+ let u = r == Ji.ByPosNoHeight ? Ji.ByPosNoHeight : Ji.ByPos;
46287
46332
  return l ? c.join(this.right.lineAt(a, u, n, s, a)) : this.left.lineAt(a, u, n, i, o).join(c);
46288
46333
  }
46289
46334
  forEachLine(t, r, n, i, o, s) {
@@ -46291,7 +46336,7 @@ class rbe extends ga {
46291
46336
  if (this.break)
46292
46337
  t < l && this.left.forEachLine(t, r, n, i, o, s), r >= l && this.right.forEachLine(t, r, n, a, l, s);
46293
46338
  else {
46294
- let c = this.lineAt(l, Zi.ByPos, n, i, o);
46339
+ let c = this.lineAt(l, Ji.ByPos, n, i, o);
46295
46340
  t < c.from && this.left.forEachLine(t, c.from - 1, n, i, o, s), c.to >= t && c.from <= r && s(c), r > c.to && this.right.forEachLine(c.to + 1, r, n, a, l, s);
46296
46341
  }
46297
46342
  }
@@ -46576,26 +46621,26 @@ class u7 {
46576
46621
  return this.scaler.fromDOM(this.pixelViewport.bottom);
46577
46622
  }
46578
46623
  getViewport(t, r) {
46579
- let n = 0.5 - Math.max(-0.5, Math.min(0.5, t / 1e3 / 2)), i = this.heightMap, o = this.heightOracle, { visibleTop: s, visibleBottom: a } = this, l = new b1(i.lineAt(s - n * 1e3, Zi.ByHeight, o, 0, 0).from, i.lineAt(a + (1 - n) * 1e3, Zi.ByHeight, o, 0, 0).to);
46624
+ let n = 0.5 - Math.max(-0.5, Math.min(0.5, t / 1e3 / 2)), i = this.heightMap, o = this.heightOracle, { visibleTop: s, visibleBottom: a } = this, l = new b1(i.lineAt(s - n * 1e3, Ji.ByHeight, o, 0, 0).from, i.lineAt(a + (1 - n) * 1e3, Ji.ByHeight, o, 0, 0).to);
46580
46625
  if (r) {
46581
46626
  let { head: c } = r.range;
46582
46627
  if (c < l.from || c > l.to) {
46583
- let u = Math.min(this.editorHeight, this.pixelViewport.bottom - this.pixelViewport.top), f = i.lineAt(c, Zi.ByPos, o, 0, 0), p;
46584
- r.y == "center" ? p = (f.top + f.bottom) / 2 - u / 2 : r.y == "start" || r.y == "nearest" && c < l.from ? p = f.top : p = f.bottom - u, l = new b1(i.lineAt(p - 1e3 / 2, Zi.ByHeight, o, 0, 0).from, i.lineAt(p + u + 1e3 / 2, Zi.ByHeight, o, 0, 0).to);
46628
+ let u = Math.min(this.editorHeight, this.pixelViewport.bottom - this.pixelViewport.top), f = i.lineAt(c, Ji.ByPos, o, 0, 0), p;
46629
+ r.y == "center" ? p = (f.top + f.bottom) / 2 - u / 2 : r.y == "start" || r.y == "nearest" && c < l.from ? p = f.top : p = f.bottom - u, l = new b1(i.lineAt(p - 1e3 / 2, Ji.ByHeight, o, 0, 0).from, i.lineAt(p + u + 1e3 / 2, Ji.ByHeight, o, 0, 0).to);
46585
46630
  }
46586
46631
  }
46587
46632
  return l;
46588
46633
  }
46589
46634
  mapViewport(t, r) {
46590
46635
  let n = r.mapPos(t.from, -1), i = r.mapPos(t.to, 1);
46591
- return new b1(this.heightMap.lineAt(n, Zi.ByPos, this.heightOracle, 0, 0).from, this.heightMap.lineAt(i, Zi.ByPos, this.heightOracle, 0, 0).to);
46636
+ return new b1(this.heightMap.lineAt(n, Ji.ByPos, this.heightOracle, 0, 0).from, this.heightMap.lineAt(i, Ji.ByPos, this.heightOracle, 0, 0).to);
46592
46637
  }
46593
46638
  // Checks if a given viewport covers the visible part of the
46594
46639
  // document and not too much beyond that.
46595
46640
  viewportIsAppropriate({ from: t, to: r }, n = 0) {
46596
46641
  if (!this.inView)
46597
46642
  return !0;
46598
- let { top: i } = this.heightMap.lineAt(t, Zi.ByPos, this.heightOracle, 0, 0), { bottom: o } = this.heightMap.lineAt(r, Zi.ByPos, this.heightOracle, 0, 0), { visibleTop: s, visibleBottom: a } = this;
46643
+ let { top: i } = this.heightMap.lineAt(t, Ji.ByPos, this.heightOracle, 0, 0), { bottom: o } = this.heightMap.lineAt(r, Ji.ByPos, this.heightOracle, 0, 0), { visibleTop: s, visibleBottom: a } = this;
46599
46644
  return (t == 0 || i <= s - Math.max(10, Math.min(
46600
46645
  -n,
46601
46646
  250
@@ -46708,10 +46753,10 @@ class u7 {
46708
46753
  return this.visibleRanges = n, i;
46709
46754
  }
46710
46755
  lineBlockAt(t) {
46711
- return t >= this.viewport.from && t <= this.viewport.to && this.viewportLines.find((r) => r.from <= t && r.to >= t) || ng(this.heightMap.lineAt(t, Zi.ByPos, this.heightOracle, 0, 0), this.scaler);
46756
+ return t >= this.viewport.from && t <= this.viewport.to && this.viewportLines.find((r) => r.from <= t && r.to >= t) || ng(this.heightMap.lineAt(t, Ji.ByPos, this.heightOracle, 0, 0), this.scaler);
46712
46757
  }
46713
46758
  lineBlockAtHeight(t) {
46714
- return t >= this.viewportLines[0].top && t <= this.viewportLines[this.viewportLines.length - 1].bottom && this.viewportLines.find((r) => r.top <= t && r.bottom >= t) || ng(this.heightMap.lineAt(this.scaler.fromDOM(t), Zi.ByHeight, this.heightOracle, 0, 0), this.scaler);
46759
+ return t >= this.viewportLines[0].top && t <= this.viewportLines[this.viewportLines.length - 1].bottom && this.viewportLines.find((r) => r.top <= t && r.bottom >= t) || ng(this.heightMap.lineAt(this.scaler.fromDOM(t), Ji.ByHeight, this.heightOracle, 0, 0), this.scaler);
46715
46760
  }
46716
46761
  getScrollOffset() {
46717
46762
  return (this.scrollParent == this.view.scrollDOM ? this.scrollParent.scrollTop : (this.scrollParent ? this.scrollParent.getBoundingClientRect().top : 0) - this.view.contentDOM.getBoundingClientRect().top) * this.scaleY;
@@ -46794,7 +46839,7 @@ class p8 {
46794
46839
  constructor(t, r, n) {
46795
46840
  let i = 0, o = 0, s = 0;
46796
46841
  this.viewports = n.map(({ from: a, to: l }) => {
46797
- let c = r.lineAt(a, Zi.ByPos, t, 0, 0).top, u = r.lineAt(l, Zi.ByPos, t, 0, 0).bottom;
46842
+ let c = r.lineAt(a, Ji.ByPos, t, 0, 0).top, u = r.lineAt(l, Ji.ByPos, t, 0, 0).bottom;
46798
46843
  return i += u - c, { from: a, to: l, top: c, bottom: u, domTop: 0, domBottom: 0 };
46799
46844
  }), this.scale = (7e6 - i) / (r.height - i);
46800
46845
  for (let a of this.viewports)
@@ -93087,7 +93132,7 @@ const Eh = /* @__PURE__ */ ai(v9e), T9e = (e) => !e || typeof e != "string" ? ""
93087
93132
  suggestionLabel: x,
93088
93133
  allowArrayAtRoot: S = !1,
93089
93134
  ...C
93090
- } = e, R = Zt(() => u && typeof u == "object" && Object.keys(u).length > 0 ? u : {}, [JSON.stringify(u)]), [_, I] = ve(null), N = Pt(null), D = Pt(null), P = Rr(), L = Pt(null), F = Pt(null), [U, k] = ve(!1), X = el(), { canvasWorkflow: M, activityExecutionData: $ } = Yt((Ae) => Ae.canvas), { WORKFLOW_URLS: V, ENTITY_ID: w = "", analytics: B, openAddonModal: j, currentSubscription: z } = io(), { VORTEX_MAIN_URL: G } = V, W = is(), H = Un(W), Y = Un(Hr.VERSION) || H, { setNodes: J, getEdges: se } = no(), { MCP_INTEGRATION_FORM: te } = rl(), le = (Ae) => {
93135
+ } = e, R = Zt(() => u && typeof u == "object" && Object.keys(u).length > 0 ? u : {}, [JSON.stringify(u)]), [_, I] = ve(null), N = Pt(null), D = Pt(null), P = Rr(), L = Pt(null), F = Pt(null), [U, k] = ve(!1), X = el(), { canvasWorkflow: M, activityExecutionData: $ } = Yt((Ae) => Ae.canvas), { WORKFLOW_URLS: V, ENTITY_ID: w = "", analytics: B, openAddonModal: j, currentSubscription: z } = zi(), { VORTEX_MAIN_URL: G } = V, W = is(), H = Un(W), Y = Un(Hr.VERSION) || H, { setNodes: J, getEdges: se } = io(), { MCP_INTEGRATION_FORM: te } = rl(), le = (Ae) => {
93091
93136
  try {
93092
93137
  if (l !== "json")
93093
93138
  return !0;
@@ -94284,9 +94329,9 @@ function j9e(e, t) {
94284
94329
  const r = e.value === t.value && e.language === t.language && e.viewOnly === t.viewOnly && e.height === t.height && e.size === t.size && e.showCopyToClipboard === t.showCopyToClipboard && e.showSuggestions === t.showSuggestions && e.error === t.error && e.errorMsg === t.errorMsg && e.id === t.id, n = e.suggestionsData, i = t.suggestionsData, o = n == null && i == null || (typeof n == "object" && typeof i == "object" ? Object.keys(n).length === Object.keys(i).length && Object.keys(n).every((s) => JSON.stringify(n[s]) === JSON.stringify(i[s])) : n === i);
94285
94330
  return r && o;
94286
94331
  }
94287
- const ro = re.memo(Hd(B9e), j9e), ate = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
94332
+ const no = re.memo(Hd(B9e), j9e), ate = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
94288
94333
  __proto__: null,
94289
- default: ro
94334
+ default: no
94290
94335
  }, Symbol.toStringTag, { value: "Module" })), aU = (e) => /* @__PURE__ */ d.jsx(
94291
94336
  Qe,
94292
94337
  {
@@ -94448,7 +94493,7 @@ const ro = re.memo(Hd(B9e), j9e), ate = /* @__PURE__ */ Object.freeze(/* @__PURE
94448
94493
  viewOnly: r = !1,
94449
94494
  excludeUrlLanguage: n = !1
94450
94495
  }) => {
94451
- const i = Rr(), o = wt(), { getNodes: s } = no(), a = s(), { trigger_help: l, workflow: c } = Yt((b) => b.workflows), [u, f] = ve(""), [p, h] = ve("get"), [A, g] = ve({}), m = Un(), E = Un("version");
94496
+ const i = Rr(), o = wt(), { getNodes: s } = io(), a = s(), { trigger_help: l, workflow: c } = Yt((b) => b.workflows), [u, f] = ve(""), [p, h] = ve("get"), [A, g] = ve({}), m = Un(), E = Un("version");
94452
94497
  ke(() => {
94453
94498
  if (!Tt(l)) {
94454
94499
  const b = {}, x = [];
@@ -94524,7 +94569,7 @@ const ro = re.memo(Hd(B9e), j9e), ate = /* @__PURE__ */ Object.freeze(/* @__PURE
94524
94569
  }
94525
94570
  },
94526
94571
  children: /* @__PURE__ */ d.jsx(
94527
- ro,
94572
+ no,
94528
94573
  {
94529
94574
  viewOnly: !0,
94530
94575
  readOnly: r && y,
@@ -95150,7 +95195,7 @@ const ro = re.memo(Hd(B9e), j9e), ate = /* @__PURE__ */ Object.freeze(/* @__PURE
95150
95195
  height: 32,
95151
95196
  border: `1px solid ${s.palette.grey.outlined.border}`,
95152
95197
  borderRadius: 1.5,
95153
- ...eo(s),
95198
+ ...to(s),
95154
95199
  ...i
95155
95200
  },
95156
95201
  "data-testid": "button-refresh",
@@ -96040,7 +96085,7 @@ const AU = 40, uje = 400, dje = re.forwardRef(
96040
96085
  ] });
96041
96086
  }
96042
96087
  ), fje = Nr((e, t) => {
96043
- const r = wt(), { getNodes: n } = no(), { selectedActivityId: i, nodes: o, aiGeneratedFieldMap: s } = Yt((ge) => ge.canvas), a = ut(
96088
+ const r = wt(), { getNodes: n } = io(), { selectedActivityId: i, nodes: o, aiGeneratedFieldMap: s } = Yt((ge) => ge.canvas), a = ut(
96044
96089
  (ge, ye, We, Ke, Ge, it = !1) => {
96045
96090
  const { multiple: at, renderOption: st, name: De, handleChange: Xe } = e, ze = Array.isArray(ye) ? ye.map(
96046
96091
  (de) => de && typeof de == "object" && "value" in de ? de.value : de
@@ -97210,7 +97255,7 @@ const AU = 40, uje = 400, dje = re.forwardRef(
97210
97255
  }
97211
97256
  },
97212
97257
  render: ({ field: f }) => /* @__PURE__ */ d.jsx(
97213
- ro,
97258
+ no,
97214
97259
  {
97215
97260
  size: "md",
97216
97261
  language: u === "xml" ? "xml" : "json",
@@ -97666,8 +97711,16 @@ const AU = 40, uje = 400, dje = re.forwardRef(
97666
97711
  ] })
97667
97712
  ] });
97668
97713
  }), mU = {
97669
- Folder: [{ name: "Created", value: "storage.folder.created" }],
97670
- File: [{ name: "Uploaded", value: "storage.file.uploaded" }]
97714
+ Folder: [
97715
+ { name: "Created", value: "storage.folder.created" },
97716
+ { name: "Deleted", value: "storage.folder.deleted" }
97717
+ ],
97718
+ File: [
97719
+ { name: "Uploaded", value: "storage.file.uploaded" },
97720
+ { name: "Deleted", value: "storage.file.deleted" },
97721
+ { name: "Made Public", value: "storage.file.public" },
97722
+ { name: "Made Private", value: "storage.file.private" }
97723
+ ]
97671
97724
  }, yje = Nr((e, t) => {
97672
97725
  const { viewOnly: r = !1 } = e, { setValue: n } = Wr(), { control: i } = Wr(), o = {
97673
97726
  "storage.file.uploaded": "Workflow will be triggered when a new file is uploaded to the boltic storage.",
@@ -97722,25 +97775,41 @@ const AU = 40, uje = 400, dje = re.forwardRef(
97722
97775
  file_name: "",
97723
97776
  folder_path: "",
97724
97777
  overwrite: !1,
97725
- is_public: !1
97726
- }, { id: c, isLoop: u = !1, viewOnly: f = !1, type: p } = e, h = (g) => (m) => {
97778
+ is_public: !1,
97779
+ is_public_permanent: !1
97780
+ }, c = {
97781
+ file_paths: "",
97782
+ ttl_seconds: ""
97783
+ }, u = {
97784
+ file_path: ""
97785
+ }, f = {
97786
+ folder_path: "",
97787
+ page_size: "",
97788
+ next_page_token: ""
97789
+ }, { id: p, isLoop: h = !1, viewOnly: A = !1, type: g } = e, m = (O) => (v) => {
97727
97790
  if (s?.event === "upload_file") {
97728
- if (g === "file_name") {
97729
- if (m?.trim() === "")
97791
+ if (O === "file_name") {
97792
+ if (v?.trim() === "")
97730
97793
  return "File name is required";
97731
- if (m?.trim()?.includes("/"))
97794
+ if (v?.trim()?.includes("/"))
97732
97795
  return "'/' is not allowed in file name.";
97733
97796
  }
97734
- return g === "file_content" && m?.trim() === "" ? "File content is required" : g === "expire_in" && (m < 1 || m > 10080) ? "Expiry values between 1 to 10080 are accepted." : !0;
97735
- } else if (s?.event === "create_folder") {
97736
- if (m?.trim() === "")
97737
- return "Folder name can not be empty";
97738
- const E = /^[A-Za-z0-9 _-]*$/, O = /{{[^{}]+}}/g, v = m.replace(O, "");
97739
- if (!vpe(m) && !E.test(v))
97740
- return "Folder name should not contain special characters [!@#$%^&*()+{}[]:;<>,.?~/].";
97797
+ return O === "file_content" && v?.trim() === "" ? "File content is required" : O === "expire_in" && (v < 1 || v > 10080) ? "Expiry values between 1 to 10080 are accepted." : !0;
97798
+ } else {
97799
+ if (["delete_file", "make_file_public", "make_file_private"].includes(s?.event))
97800
+ return O === "file_paths" && v?.trim() === "" ? "File path is required" : !0;
97801
+ if (s?.event === "download_file")
97802
+ return O === "file_path" && v?.trim() === "" ? "File path is required" : !0;
97803
+ if (s?.event === "create_folder") {
97804
+ if (v?.trim() === "")
97805
+ return "Folder name can not be empty";
97806
+ const y = /^[A-Za-z0-9 _-]*$/, b = /{{[^{}]+}}/g, x = v.replace(b, "");
97807
+ if (!vpe(v) && !y.test(x))
97808
+ return "Folder name should not contain special characters [!@#$%^&*()+{}[]:;<>,.?~/].";
97809
+ }
97741
97810
  }
97742
97811
  return !0;
97743
- }, A = () => ({
97812
+ }, E = () => ({
97744
97813
  create_folder: [
97745
97814
  {
97746
97815
  required: !0,
@@ -97786,6 +97855,13 @@ const AU = 40, uje = 400, dje = re.forwardRef(
97786
97855
  fieldName: "is_public",
97787
97856
  placeholder: ""
97788
97857
  },
97858
+ {
97859
+ required: !1,
97860
+ type: "checkbox",
97861
+ label: "Make file public",
97862
+ fieldName: "is_public_permanent",
97863
+ placeholder: ""
97864
+ },
97789
97865
  {
97790
97866
  required: !1,
97791
97867
  type: "number",
@@ -97794,67 +97870,136 @@ const AU = 40, uje = 400, dje = re.forwardRef(
97794
97870
  placeholder: "Enter minute(s)",
97795
97871
  helperText: "Default is 60min"
97796
97872
  }
97873
+ ],
97874
+ download_file: [
97875
+ {
97876
+ required: !0,
97877
+ type: "text",
97878
+ label: "File Path",
97879
+ fieldName: "file_path",
97880
+ placeholder: "folder/file.csv",
97881
+ description: "Path of the file to download. The workflow output returns Base64 file content."
97882
+ }
97883
+ ],
97884
+ delete_file: [
97885
+ {
97886
+ required: !0,
97887
+ type: "text",
97888
+ label: "File Path(s)",
97889
+ fieldName: "file_paths",
97890
+ placeholder: "file.csv or folder/file.csv"
97891
+ }
97892
+ ],
97893
+ make_file_public: [
97894
+ {
97895
+ required: !0,
97896
+ type: "text",
97897
+ label: "File Path(s)",
97898
+ fieldName: "file_paths",
97899
+ placeholder: "file.csv or folder/file.csv"
97900
+ },
97901
+ {
97902
+ required: !1,
97903
+ type: "number",
97904
+ label: "Cache TTL seconds",
97905
+ fieldName: "ttl_seconds",
97906
+ placeholder: "300"
97907
+ }
97908
+ ],
97909
+ make_file_private: [
97910
+ {
97911
+ required: !0,
97912
+ type: "text",
97913
+ label: "File Path(s)",
97914
+ fieldName: "file_paths",
97915
+ placeholder: "file.csv or folder/file.csv"
97916
+ }
97917
+ ],
97918
+ list_files: [
97919
+ {
97920
+ required: !1,
97921
+ type: "text",
97922
+ label: "Folder Path or File Prefix",
97923
+ fieldName: "folder_path",
97924
+ placeholder: "reports/ or report.csv",
97925
+ description: "Use a trailing slash to list a folder (for example, reports/). Enter a file name or prefix to search files. Leave blank for root."
97926
+ },
97927
+ {
97928
+ required: !1,
97929
+ type: "number",
97930
+ label: "Page Size",
97931
+ fieldName: "page_size",
97932
+ placeholder: "100"
97933
+ },
97934
+ {
97935
+ required: !1,
97936
+ type: "text",
97937
+ label: "Next Page Token",
97938
+ fieldName: "next_page_token",
97939
+ placeholder: "{{listFiles1.files.next_page_token}}",
97940
+ description: "Leave blank for the first page. To fetch the next page, pass next_page_token from the previous List Files/Folders result."
97941
+ }
97797
97942
  ]
97798
- }[s.event] || []).map(({ label: E, fieldName: O, type: v, required: y, placeholder: b }) => {
97799
- if (v === "text")
97943
+ }[s.event] || []).map(({ label: y, fieldName: b, type: x, required: S, placeholder: C, description: R }) => {
97944
+ if (x === "text")
97800
97945
  return /* @__PURE__ */ d.jsx(
97801
97946
  qr,
97802
97947
  {
97803
- name: `properties.${s.event}.${O}`,
97948
+ name: `properties.${s.event}.${b}`,
97804
97949
  control: i,
97805
97950
  meta: {
97806
- displayName: E,
97807
- description: Wn(p, O),
97808
- placeholder: b
97951
+ displayName: y,
97952
+ description: R || Wn(g, b),
97953
+ placeholder: C
97809
97954
  },
97810
97955
  validationRules: {
97811
- validate: h(O)
97956
+ validate: m(b)
97812
97957
  },
97813
- editorId: `${v}-bs-activity-${O}`,
97814
- id: c,
97815
- required: y,
97816
- isLoop: u,
97817
- viewOnly: f,
97958
+ editorId: `${x}-bs-activity-${b}`,
97959
+ id: p,
97960
+ required: S,
97961
+ isLoop: h,
97962
+ viewOnly: A,
97818
97963
  showSuggestions: !0
97819
97964
  },
97820
- O
97965
+ b
97821
97966
  );
97822
- if (v == "number" && s?.upload_file?.is_public)
97967
+ if (x == "number" && (s?.event !== "upload_file" || s?.upload_file?.is_public))
97823
97968
  return /* @__PURE__ */ d.jsx(
97824
97969
  qr,
97825
97970
  {
97826
- name: `properties.${s.event}.${O}`,
97971
+ name: `properties.${s.event}.${b}`,
97827
97972
  control: i,
97828
97973
  meta: {
97829
- displayName: E,
97830
- description: Wn(p, O),
97831
- placeholder: b
97974
+ displayName: y,
97975
+ description: Wn(g, b),
97976
+ placeholder: C
97832
97977
  },
97833
97978
  validationRules: {
97834
- validate: h(O)
97979
+ validate: m(b)
97835
97980
  },
97836
- editorId: `${v}-bs-activity-${O}`,
97837
- id: c,
97981
+ editorId: `${x}-bs-activity-${b}`,
97982
+ id: p,
97838
97983
  fieldType: "number",
97839
- required: y,
97840
- isLoop: u,
97841
- viewOnly: f,
97984
+ required: S,
97985
+ isLoop: h,
97986
+ viewOnly: A,
97842
97987
  showSuggestions: !0
97843
97988
  },
97844
- O
97989
+ b
97845
97990
  );
97846
- if (v === "checkbox")
97991
+ if (x === "checkbox")
97847
97992
  return /* @__PURE__ */ d.jsx(Be, { sx: { width: "100%" }, children: /* @__PURE__ */ d.jsx(
97848
97993
  br,
97849
97994
  {
97850
- name: `properties.upload_file.${O}`,
97995
+ name: `properties.upload_file.${b}`,
97851
97996
  control: i,
97852
97997
  rules: {
97853
- validate: h(O)
97998
+ validate: m(b)
97854
97999
  },
97855
98000
  render: ({
97856
- field: { value: x, ...S },
97857
- fieldState: { error: C }
98001
+ field: { value: _, ...I },
98002
+ fieldState: { error: N }
97858
98003
  }) => /* @__PURE__ */ d.jsxs(JG, { children: [
97859
98004
  /* @__PURE__ */ d.jsx(
97860
98005
  ns,
@@ -97862,7 +98007,7 @@ const AU = 40, uje = 400, dje = re.forwardRef(
97862
98007
  control: /* @__PURE__ */ d.jsx(
97863
98008
  qa,
97864
98009
  {
97865
- ...S,
98010
+ ...I,
97866
98011
  icon: /* @__PURE__ */ d.jsx(
97867
98012
  Qe,
97868
98013
  {
@@ -97880,20 +98025,20 @@ const AU = 40, uje = 400, dje = re.forwardRef(
97880
98025
  sx: {
97881
98026
  p: 0,
97882
98027
  "& .MuiSvgIcon-root": {
97883
- fontSize: (R) => R.typography.xlMedium.fontSize
98028
+ fontSize: (D) => D.typography.xlMedium.fontSize
97884
98029
  }
97885
98030
  },
97886
- readOnly: f,
97887
- checked: x
98031
+ readOnly: A,
98032
+ checked: _
97888
98033
  }
97889
98034
  ),
97890
- label: E
98035
+ label: y
97891
98036
  }
97892
98037
  ),
97893
- C?.message && /* @__PURE__ */ d.jsx(dn, { children: C.message })
98038
+ N?.message && /* @__PURE__ */ d.jsx(dn, { children: N.message })
97894
98039
  ] })
97895
98040
  }
97896
- ) }, O);
98041
+ ) }, b);
97897
98042
  });
97898
98043
  return /* @__PURE__ */ d.jsx(Mn, { children: /* @__PURE__ */ d.jsxs(Ce, { container: !0, gap: 1.5, children: [
97899
98044
  /* @__PURE__ */ d.jsx(Ce, { item: !0, xs: 12, children: /* @__PURE__ */ d.jsx(
@@ -97912,28 +98057,40 @@ const AU = 40, uje = 400, dje = re.forwardRef(
97912
98057
  validationRules: {
97913
98058
  required: "Event is required"
97914
98059
  },
97915
- viewOnly: f,
98060
+ viewOnly: A,
97916
98061
  id: "event",
97917
- handleChange: (g) => {
97918
- const { value: m } = g;
97919
- m == "create_folder" ? n("properties", {
98062
+ handleChange: (O) => {
98063
+ const { value: v } = O;
98064
+ v == "create_folder" ? n("properties", {
97920
98065
  ...s,
97921
98066
  create_folder: a,
97922
- event: m
97923
- }) : n("properties", {
98067
+ event: v
98068
+ }) : v === "upload_file" ? n("properties", {
97924
98069
  ...s,
97925
98070
  upload_file: l,
97926
- event: m
98071
+ event: v
98072
+ }) : v === "download_file" ? n("properties", {
98073
+ ...s,
98074
+ download_file: u,
98075
+ event: v
98076
+ }) : v === "list_files" ? n("properties", {
98077
+ ...s,
98078
+ list_files: f,
98079
+ event: v
98080
+ }) : n("properties", {
98081
+ ...s,
98082
+ [v]: c,
98083
+ event: v
97927
98084
  });
97928
98085
  },
97929
- renderValueUi: (g) => {
97930
- const m = k6.find((E) => E.value === g);
97931
- return m ? m.title : "";
98086
+ renderValueUi: (O) => {
98087
+ const v = k6.find((y) => y.value === O);
98088
+ return v ? v.title : "";
97932
98089
  }
97933
98090
  }
97934
98091
  ) }),
97935
- A(),
97936
- !u && /* @__PURE__ */ d.jsx(Ce, { item: !0, xs: 12, children: /* @__PURE__ */ d.jsx(so, { viewOnly: f, type: p }) })
98092
+ E(),
98093
+ !h && /* @__PURE__ */ d.jsx(Ce, { item: !0, xs: 12, children: /* @__PURE__ */ d.jsx(so, { viewOnly: A, type: g }) })
97937
98094
  ] }) });
97938
98095
  }), F3 = ({
97939
98096
  type: e = "",
@@ -101404,7 +101561,7 @@ const R2 = (e) => !e.field || typeof e.field == "object" && Object.keys(e.field)
101404
101561
  insert: M
101405
101562
  }
101406
101563
  }), j(""), G("");
101407
- }, tt = Pt(null), [Je, pt] = ve(!1), { canvasWorkflow: St, activityExecutionData: bt } = Yt((Ut) => Ut.canvas), { getNodes: Wt, setNodes: Ne, getEdges: ct } = no(), ot = Wt(), { ENTITY_ID: Le = "", analytics: ft, openAddonModal: vt, currentSubscription: ar } = io(), { VORTEX_MAIN_URL: vr = "", GYRATE_MAIN_URL: Yr = "" } = h || {}, Rn = is(), Sn = Un(Rn), gr = Un(Hr.VERSION) || Sn, $r = async (Ut) => {
101564
+ }, tt = Pt(null), [Je, pt] = ve(!1), { canvasWorkflow: St, activityExecutionData: bt } = Yt((Ut) => Ut.canvas), { getNodes: Wt, setNodes: Ne, getEdges: ct } = io(), ot = Wt(), { ENTITY_ID: Le = "", analytics: ft, openAddonModal: vt, currentSubscription: ar } = zi(), { VORTEX_MAIN_URL: vr = "", GYRATE_MAIN_URL: Yr = "" } = h || {}, Rn = is(), Sn = Un(Rn), gr = Un(Hr.VERSION) || Sn, $r = async (Ut) => {
101408
101565
  const lr = [...Array.isArray(ot) ? ot : []], Jr = {
101409
101566
  workflow_json: [bd({ ...Ut })],
101410
101567
  result: sO(St, ot, bt, Ut?.id, ct())
@@ -101531,7 +101688,7 @@ const R2 = (e) => !e.field || typeof e.field == "object" && Object.keys(e.field)
101531
101688
  title: "Generate using AI",
101532
101689
  content: fe ? /* @__PURE__ */ d.jsxs(Be, { sx: { width: "100%" }, children: [
101533
101690
  /* @__PURE__ */ d.jsx(
101534
- ro,
101691
+ no,
101535
101692
  {
101536
101693
  height: "27vh",
101537
101694
  value: ee,
@@ -102357,7 +102514,7 @@ await page.close()`
102357
102514
  required: "Script is required"
102358
102515
  },
102359
102516
  render: ({ field: I }) => /* @__PURE__ */ d.jsx(sr, { fullWidth: !0, children: /* @__PURE__ */ d.jsx(
102360
- ro,
102517
+ no,
102361
102518
  {
102362
102519
  ...I,
102363
102520
  required: !0,
@@ -109612,7 +109769,7 @@ const m$e = /* @__PURE__ */ ai(A$e), g$e = (e) => {
109612
109769
  required: "Data is required"
109613
109770
  },
109614
109771
  render: ({ field: m }) => /* @__PURE__ */ d.jsx(
109615
- ro,
109772
+ no,
109616
109773
  {
109617
109774
  ...m,
109618
109775
  label: "Data",
@@ -109663,7 +109820,7 @@ const m$e = /* @__PURE__ */ ai(A$e), g$e = (e) => {
109663
109820
  validate: (m) => m && g$e(m) !== !0 ? "Error in JSONata expression. Please check the expression's syntax." : !0
109664
109821
  },
109665
109822
  render: ({ field: m }) => /* @__PURE__ */ d.jsx(
109666
- ro,
109823
+ no,
109667
109824
  {
109668
109825
  ...m,
109669
109826
  language: "javascript",
@@ -109695,7 +109852,7 @@ const m$e = /* @__PURE__ */ ai(A$e), g$e = (e) => {
109695
109852
  validate: (m) => m && E$e(m) !== !0 ? "Error in JSONPath expression. Please check the expression's syntax." : !0
109696
109853
  },
109697
109854
  render: ({ field: m }) => /* @__PURE__ */ d.jsx(
109698
- ro,
109855
+ no,
109699
109856
  {
109700
109857
  ...m,
109701
109858
  language: "javascript",
@@ -111432,7 +111589,7 @@ const RU = HN(() => Promise.resolve().then(() => ate)), IU = () => /* @__PURE__
111432
111589
  viewOnly: p = !1,
111433
111590
  hideLabel: h = !1
111434
111591
  }, A) => {
111435
- const g = wt(), { MCP_INTEGRATION_FORM: m } = rl(), { getNodes: E } = no(), { selectedActivityId: O, aiGeneratedFieldMap: v } = Yt((V) => V.canvas), y = Po(l), [b, x] = ve(""), S = Pt(null), C = Pt(null), [R, _] = ve(""), I = (V) => {
111592
+ const g = wt(), { MCP_INTEGRATION_FORM: m } = rl(), { getNodes: E } = io(), { selectedActivityId: O, aiGeneratedFieldMap: v } = Yt((V) => V.canvas), y = Po(l), [b, x] = ve(""), S = Pt(null), C = Pt(null), [R, _] = ve(""), I = (V) => {
111436
111593
  x(V.target.value);
111437
111594
  }, N = () => {
111438
111595
  if (b.trim() !== "") {
@@ -111967,7 +112124,7 @@ const RU = HN(() => Promise.resolve().then(() => ate)), IU = () => /* @__PURE__
111967
112124
  required: "Email body is required"
111968
112125
  },
111969
112126
  render: ({ field: X }) => /* @__PURE__ */ d.jsx(
111970
- ro,
112127
+ no,
111971
112128
  {
111972
112129
  ...X,
111973
112130
  label: "Email body",
@@ -112533,9 +112690,9 @@ function P$e() {
112533
112690
  if (On && !cn)
112534
112691
  return Jt || (Jt = new gr()), pr || go(be) ? Os(be, Ye, mt, Ct, er, Jt) : Ri(be, Ye, Cr, mt, Ct, er, Jt);
112535
112692
  if (!(er & s)) {
112536
- var hn = cn && it.call(be, "__wrapped__"), Xi = Zr && it.call(Ye, "__wrapped__");
112537
- if (hn || Xi) {
112538
- var as = hn ? be.value() : be, Hs = Xi ? Ye.value() : Ye;
112693
+ var hn = cn && it.call(be, "__wrapped__"), qi = Zr && it.call(Ye, "__wrapped__");
112694
+ if (hn || qi) {
112695
+ var as = hn ? be.value() : be, Hs = qi ? Ye.value() : Ye;
112539
112696
  return Jt || (Jt = new gr()), mt(as, Hs, Ct, er, Jt);
112540
112697
  }
112541
112698
  }
@@ -112648,9 +112805,9 @@ function P$e() {
112648
112805
  return Vr == Ye;
112649
112806
  var cn = -1, Zr = !0, On = er & o ? new Rn() : void 0;
112650
112807
  for (Jt.set(be, Ye), Jt.set(Ye, be); ++cn < wr; ) {
112651
- var hn = be[cn], Xi = Ye[cn];
112808
+ var hn = be[cn], qi = Ye[cn];
112652
112809
  if (Ct)
112653
- var as = pr ? Ct(Xi, hn, cn, Ye, be, Jt) : Ct(hn, Xi, cn, be, Ye, Jt);
112810
+ var as = pr ? Ct(qi, hn, cn, Ye, be, Jt) : Ct(hn, qi, cn, be, Ye, Jt);
112654
112811
  if (as !== void 0) {
112655
112812
  if (as)
112656
112813
  continue;
@@ -112665,7 +112822,7 @@ function P$e() {
112665
112822
  Zr = !1;
112666
112823
  break;
112667
112824
  }
112668
- } else if (!(hn === Xi || mt(hn, Xi, Ct, er, Jt))) {
112825
+ } else if (!(hn === qi || mt(hn, qi, Ct, er, Jt))) {
112669
112826
  Zr = !1;
112670
112827
  break;
112671
112828
  }
@@ -112719,7 +112876,7 @@ function P$e() {
112719
112876
  var hn = Jt.get(be);
112720
112877
  if (hn && Jt.get(Ye))
112721
112878
  return hn == Ye;
112722
- var Xi = !0;
112879
+ var qi = !0;
112723
112880
  Jt.set(be, Ye), Jt.set(Ye, be);
112724
112881
  for (var as = pr; ++Zr < Cr; ) {
112725
112882
  On = wr[Zr];
@@ -112727,16 +112884,16 @@ function P$e() {
112727
112884
  if (Ct)
112728
112885
  var Zd = pr ? Ct(uo, Hs, On, Ye, be, Jt) : Ct(Hs, uo, On, be, Ye, Jt);
112729
112886
  if (!(Zd === void 0 ? Hs === uo || mt(Hs, uo, Ct, er, Jt) : Zd)) {
112730
- Xi = !1;
112887
+ qi = !1;
112731
112888
  break;
112732
112889
  }
112733
112890
  as || (as = On == "constructor");
112734
112891
  }
112735
- if (Xi && !as) {
112892
+ if (qi && !as) {
112736
112893
  var ZO = be.constructor, JO = Ye.constructor;
112737
- ZO != JO && "constructor" in be && "constructor" in Ye && !(typeof ZO == "function" && ZO instanceof ZO && typeof JO == "function" && JO instanceof JO) && (Xi = !1);
112894
+ ZO != JO && "constructor" in be && "constructor" in Ye && !(typeof ZO == "function" && ZO instanceof ZO && typeof JO == "function" && JO instanceof JO) && (qi = !1);
112738
112895
  }
112739
- return Jt.delete(be), Jt.delete(Ye), Xi;
112896
+ return Jt.delete(be), Jt.delete(Ye), qi;
112740
112897
  }
112741
112898
  function vn(be, Ye) {
112742
112899
  var mt = be.__data__;
@@ -112858,13 +113015,13 @@ function P$e() {
112858
113015
  return be === Ye || be !== be && Ye !== Ye;
112859
113016
  }
112860
113017
  function Ur(be) {
112861
- return zi(be) && it.call(be, "callee") && (!ze.call(be, "callee") || at.call(be) == l);
113018
+ return Xi(be) && it.call(be, "callee") && (!ze.call(be, "callee") || at.call(be) == l);
112862
113019
  }
112863
113020
  var En = Array.isArray;
112864
113021
  function Dn(be) {
112865
113022
  return be != null && lo(be.length) && !qn(be);
112866
113023
  }
112867
- function zi(be) {
113024
+ function Xi(be) {
112868
113025
  return fi(be) && Dn(be);
112869
113026
  }
112870
113027
  function qn(be) {
@@ -113138,7 +113295,7 @@ function L$e() {
113138
113295
  Ye || (Ct = Ri(pe), Ct = Ct == l ? E : Ct), mt || (er = Ri(Fe), er = er == l ? E : er);
113139
113296
  var Jt = Ct == E && !ee(pe), pr = er == E && !ee(Fe), wr = Ct == er;
113140
113297
  if (wr && !Jt)
113141
- return be || (be = new In()), Ye || zi(pe) ? pn(pe, Fe, rt, Et, Gt, be) : di(pe, Fe, Ct, rt, Et, Gt, be);
113298
+ return be || (be = new In()), Ye || Xi(pe) ? pn(pe, Fe, rt, Et, Gt, be) : di(pe, Fe, Ct, rt, Et, Gt, be);
113142
113299
  if (!(Gt & s)) {
113143
113300
  var Cr = Jt && Ge.call(pe, "__wrapped__"), Vr = pr && Ge.call(Fe, "__wrapped__");
113144
113301
  if (Cr || Vr) {
@@ -113323,8 +113480,8 @@ function L$e() {
113323
113480
  cn || (cn = wr == "constructor");
113324
113481
  }
113325
113482
  if (Vr && !cn) {
113326
- var Xi = pe.constructor, as = Fe.constructor;
113327
- Xi != as && "constructor" in pe && "constructor" in Fe && !(typeof Xi == "function" && Xi instanceof Xi && typeof as == "function" && as instanceof as) && (Vr = !1);
113483
+ var qi = pe.constructor, as = Fe.constructor;
113484
+ qi != as && "constructor" in pe && "constructor" in Fe && !(typeof qi == "function" && qi instanceof qi && typeof as == "function" && as instanceof as) && (Vr = !1);
113328
113485
  }
113329
113486
  return be.delete(pe), be.delete(Fe), Vr;
113330
113487
  }
@@ -113471,7 +113628,7 @@ function L$e() {
113471
113628
  function Dn(pe) {
113472
113629
  return typeof pe == "symbol" || En(pe) && it.call(pe) == x;
113473
113630
  }
113474
- var zi = Oe ? K(Oe) : gn;
113631
+ var Xi = Oe ? K(Oe) : gn;
113475
113632
  function qn(pe) {
113476
113633
  return pe == null ? "" : kt(pe);
113477
113634
  }
@@ -114257,7 +114414,7 @@ const j$e = /* @__PURE__ */ ai(B$e), $$e = Nr((e, t) => {
114257
114414
  required: "Error: Function is required. Please review your function syntax."
114258
114415
  },
114259
114416
  render: ({ field: m }) => /* @__PURE__ */ d.jsx(sr, { fullWidth: !0, children: /* @__PURE__ */ d.jsx(
114260
- ro,
114417
+ no,
114261
114418
  {
114262
114419
  ...m,
114263
114420
  required: !0,
@@ -114556,7 +114713,7 @@ const TO = (e) => {
114556
114713
  control: n,
114557
114714
  rules: w.required ? { required: `${V} is required` } : {},
114558
114715
  render: ({ field: B }) => /* @__PURE__ */ d.jsx(
114559
- ro,
114716
+ no,
114560
114717
  {
114561
114718
  ...B,
114562
114719
  ...F,
@@ -114785,7 +114942,7 @@ const TO = (e) => {
114785
114942
  control: n,
114786
114943
  rules: w.required ? { required: `${V} is required` } : {},
114787
114944
  render: ({ field: B }) => /* @__PURE__ */ d.jsx(
114788
- ro,
114945
+ no,
114789
114946
  {
114790
114947
  ...B,
114791
114948
  ...F,
@@ -115176,7 +115333,7 @@ const TO = (e) => {
115176
115333
  control: n,
115177
115334
  rules: w.required ? { required: `${V} is required` } : {},
115178
115335
  render: ({ field: B }) => /* @__PURE__ */ d.jsx(
115179
- ro,
115336
+ no,
115180
115337
  {
115181
115338
  ...B,
115182
115339
  ...F,
@@ -115516,7 +115673,7 @@ const TO = (e) => {
115516
115673
  control: n,
115517
115674
  rules: V.required ? { required: `${$} is required` } : {},
115518
115675
  render: ({ field: w }) => /* @__PURE__ */ d.jsx(
115519
- ro,
115676
+ no,
115520
115677
  {
115521
115678
  ...w,
115522
115679
  ...F,
@@ -115760,7 +115917,7 @@ const TO = (e) => {
115760
115917
  control: n,
115761
115918
  rules: j.required ? { required: `${B} is required` } : {},
115762
115919
  render: ({ field: z }) => /* @__PURE__ */ d.jsx(
115763
- ro,
115920
+ no,
115764
115921
  {
115765
115922
  ...z,
115766
115923
  ...F,
@@ -115783,7 +115940,7 @@ const TO = (e) => {
115783
115940
  control: n,
115784
115941
  rules: j.required ? { required: `${B} is required` } : {},
115785
115942
  render: ({ field: z }) => /* @__PURE__ */ d.jsx(
115786
- ro,
115943
+ no,
115787
115944
  {
115788
115945
  ...z,
115789
115946
  ...F,
@@ -116921,7 +117078,7 @@ const TO = (e) => {
116921
117078
  required: "Email body is required"
116922
117079
  },
116923
117080
  render: ({ field: M }) => /* @__PURE__ */ d.jsx(
116924
- ro,
117081
+ no,
116925
117082
  {
116926
117083
  ...M,
116927
117084
  label: "Email body",
@@ -149459,7 +149616,7 @@ const mrt = ({ slotProps: e = {}, ...t }) => {
149459
149616
  currentQuery: i,
149460
149617
  form: o = null
149461
149618
  }) => {
149462
- const s = wt(), [a, l] = ve(!1), [c, u] = ve(""), [f, p] = ve(null), [h, A] = ve([]), [g, m] = ve([]), [E, O] = ve(/* @__PURE__ */ new Map()), [v, y] = ve(/* @__PURE__ */ new Set()), [b, x] = ve(""), [S, C] = ve(""), [R, _] = ve("query"), { WORKFLOW_URLS: I, ENTITY_ID: N = "" } = io(), { VORTEX_MAIN_URL: D } = I, P = Zt(
149619
+ const s = wt(), [a, l] = ve(!1), [c, u] = ve(""), [f, p] = ve(null), [h, A] = ve([]), [g, m] = ve([]), [E, O] = ve(/* @__PURE__ */ new Map()), [v, y] = ve(/* @__PURE__ */ new Set()), [b, x] = ve(""), [S, C] = ve(""), [R, _] = ve("query"), { WORKFLOW_URLS: I, ENTITY_ID: N = "" } = zi(), { VORTEX_MAIN_URL: D } = I, P = Zt(
149463
149620
  () => vl((te) => {
149464
149621
  C(te);
149465
149622
  }, 300),
@@ -150186,7 +150343,7 @@ ${K}
150186
150343
  required: "Query is required"
150187
150344
  },
150188
150345
  render: ({ field: v }) => /* @__PURE__ */ d.jsx(sr, { fullWidth: !0, children: /* @__PURE__ */ d.jsx(
150189
- ro,
150346
+ no,
150190
150347
  {
150191
150348
  ...v,
150192
150349
  ...O,
@@ -151372,7 +151529,7 @@ const xrt = Ao(sie, ""), Srt = Nr((e, t) => {
151372
151529
  viewOnly: f = !1,
151373
151530
  SET_INTEGRATION_DATA: p,
151374
151531
  source: h
151375
- } = e, A = wt(), g = Pt({}), m = Pt({}), { getNodes: E } = no(), O = E(), { activities: v } = Yt((M) => M.activities), [y, b] = ve([]), [x, S] = ve({}), C = Rr(), { watch: R, control: _, setValue: I } = Wr(), N = R("properties"), D = $L({
151532
+ } = e, A = wt(), g = Pt({}), m = Pt({}), { getNodes: E } = io(), O = E(), { activities: v } = Yt((M) => M.activities), [y, b] = ve([]), [x, S] = ve({}), C = Rr(), { watch: R, control: _, setValue: I } = Wr(), N = R("properties"), D = $L({
151376
151533
  defaultValues: Tt(N) ? {} : OT(x, h),
151377
151534
  mode: "onChange"
151378
151535
  });
@@ -152018,13 +152175,13 @@ function $rt() {
152018
152175
  }
152019
152176
  $r.prototype.clear = Hn, $r.prototype.delete = Ut, $r.prototype.get = lr, $r.prototype.has = Jr, $r.prototype.set = Br;
152020
152177
  function Pr(me, Ve) {
152021
- var dt = ci(me), $t = !dt && vn(me), ln = !dt && !$t && Ni(me), Ur = !dt && !$t && !ln && Vs(me), En = dt || $t || ln || Ur, Dn = En ? oe(me.length, String) : [], zi = Dn.length;
152178
+ var dt = ci(me), $t = !dt && vn(me), ln = !dt && !$t && Ni(me), Ur = !dt && !$t && !ln && Vs(me), En = dt || $t || ln || Ur, Dn = En ? oe(me.length, String) : [], Xi = Dn.length;
152022
152179
  for (var qn in me)
152023
152180
  We.call(me, qn) && !(En && // Safari 9 has enumerable `arguments.length` in strict mode.
152024
152181
  (qn == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
152025
152182
  ln && (qn == "offset" || qn == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
152026
152183
  Ur && (qn == "buffer" || qn == "byteLength" || qn == "byteOffset") || // Skip index properties.
152027
- di(qn, zi))) && Dn.push(qn);
152184
+ di(qn, Xi))) && Dn.push(qn);
152028
152185
  return Dn;
152029
152186
  }
152030
152187
  function zr(me, Ve) {
@@ -152047,16 +152204,16 @@ function $rt() {
152047
152204
  return me === Ve ? !0 : me == null || Ve == null || !jo(me) && !jo(Ve) ? me !== me && Ve !== Ve : Xn(me, Ve, dt, $t, Fn, ln);
152048
152205
  }
152049
152206
  function Xn(me, Ve, dt, $t, ln, Ur) {
152050
- var En = ci(me), Dn = ci(Ve), zi = En ? l : pn(me), qn = Dn ? l : pn(Ve);
152051
- zi = zi == a ? O : zi, qn = qn == a ? O : qn;
152052
- var lo = zi == O, xo = qn == O, fi = zi == qn;
152207
+ var En = ci(me), Dn = ci(Ve), Xi = En ? l : pn(me), qn = Dn ? l : pn(Ve);
152208
+ Xi = Xi == a ? O : Xi, qn = qn == a ? O : qn;
152209
+ var lo = Xi == O, xo = qn == O, fi = Xi == qn;
152053
152210
  if (fi && Ni(me)) {
152054
152211
  if (!Ni(Ve))
152055
152212
  return !1;
152056
152213
  En = !0, lo = !1;
152057
152214
  }
152058
152215
  if (fi && !lo)
152059
- return Ur || (Ur = new $r()), En || Vs(me) ? Bo(me, Ve, dt, $t, ln, Ur) : ie(me, Ve, zi, dt, $t, ln, Ur);
152216
+ return Ur || (Ur = new $r()), En || Vs(me) ? Bo(me, Ve, dt, $t, ln, Ur) : ie(me, Ve, Xi, dt, $t, ln, Ur);
152060
152217
  if (!(dt & i)) {
152061
152218
  var co = lo && We.call(me, "__wrapped__"), go = xo && We.call(Ve, "__wrapped__");
152062
152219
  if (co || go) {
@@ -152084,8 +152241,8 @@ function $rt() {
152084
152241
  return Ve;
152085
152242
  }
152086
152243
  function Bo(me, Ve, dt, $t, ln, Ur) {
152087
- var En = dt & i, Dn = me.length, zi = Ve.length;
152088
- if (Dn != zi && !(En && zi > Dn))
152244
+ var En = dt & i, Dn = me.length, Xi = Ve.length;
152245
+ if (Dn != Xi && !(En && Xi > Dn))
152089
152246
  return !1;
152090
152247
  var qn = Ur.get(me);
152091
152248
  if (qn && Ur.get(Ve))
@@ -152136,8 +152293,8 @@ function $rt() {
152136
152293
  case g:
152137
152294
  var Dn = ee;
152138
152295
  case x:
152139
- var zi = $t & i;
152140
- if (Dn || (Dn = he), me.size != Ve.size && !zi)
152296
+ var Xi = $t & i;
152297
+ if (Dn || (Dn = he), me.size != Ve.size && !Xi)
152141
152298
  return !1;
152142
152299
  var qn = En.get(me);
152143
152300
  if (qn)
@@ -152152,10 +152309,10 @@ function $rt() {
152152
152309
  return !1;
152153
152310
  }
152154
152311
  function we(me, Ve, dt, $t, ln, Ur) {
152155
- var En = dt & i, Dn = Ze(me), zi = Dn.length, qn = Ze(Ve), lo = qn.length;
152156
- if (zi != lo && !En)
152312
+ var En = dt & i, Dn = Ze(me), Xi = Dn.length, qn = Ze(Ve), lo = qn.length;
152313
+ if (Xi != lo && !En)
152157
152314
  return !1;
152158
- for (var xo = zi; xo--; ) {
152315
+ for (var xo = Xi; xo--; ) {
152159
152316
  var fi = Dn[xo];
152160
152317
  if (!(En ? fi in Ve : We.call(Ve, fi)))
152161
152318
  return !1;
@@ -152165,7 +152322,7 @@ function $rt() {
152165
152322
  return co == Ve;
152166
152323
  var go = !0;
152167
152324
  Ur.set(me, Ve), Ur.set(Ve, me);
152168
- for (var sa = En; ++xo < zi; ) {
152325
+ for (var sa = En; ++xo < Xi; ) {
152169
152326
  fi = Dn[xo];
152170
152327
  var pe = me[fi], Fe = Ve[fi];
152171
152328
  if ($t)
@@ -152967,7 +153124,7 @@ const jH = /* @__PURE__ */ ai(Urt), Vrt = {
152967
153124
  required: "Response body is required"
152968
153125
  },
152969
153126
  render: ({ field: m }) => /* @__PURE__ */ d.jsx(sr, { fullWidth: !0, children: /* @__PURE__ */ d.jsx(
152970
- ro,
153127
+ no,
152971
153128
  {
152972
153129
  ...m,
152973
153130
  label: "Response Body",
@@ -154614,11 +154771,11 @@ function us(e) {
154614
154771
  return e;
154615
154772
  return t;
154616
154773
  }
154617
- var VO = (e) => Array.isArray(e) ? e.filter(Boolean) : [], Ji = (e) => e === void 0, yr = (e, t, r) => {
154774
+ var VO = (e) => Array.isArray(e) ? e.filter(Boolean) : [], eo = (e) => e === void 0, yr = (e, t, r) => {
154618
154775
  if (!t || !gs(e))
154619
154776
  return r;
154620
154777
  const n = VO(t.split(/[,[\].]+?/)).reduce((i, o) => ua(i) ? i : i[o], e);
154621
- return Ji(n) || n === e ? Ji(e[t]) ? r : e[t] : n;
154778
+ return eo(n) || n === e ? eo(e[t]) ? r : e[t] : n;
154622
154779
  }, Eu = (e) => typeof e == "boolean", M5 = (e) => /^\w*$/.test(e), fie = (e) => VO(e.replace(/["|']|\]/g, "").split(/\.|\[/)), Fi = (e, t, r) => {
154623
154780
  let n = -1;
154624
154781
  const i = M5(t) ? [t] : fie(t), o = i.length, s = o - 1;
@@ -154741,7 +154898,7 @@ function cnt(e) {
154741
154898
  };
154742
154899
  if (f(r, !0), u) {
154743
154900
  const p = us(yr(i._options.defaultValues, r));
154744
- Fi(i._defaultValues, r, p), Ji(yr(i._formValues, r)) && Fi(i._formValues, r, p);
154901
+ Fi(i._defaultValues, r, p), eo(yr(i._formValues, r)) && Fi(i._formValues, r, p);
154745
154902
  }
154746
154903
  return () => {
154747
154904
  (s ? u && !i._state.action : u) ? i.unregister(r) : f(r, !1);
@@ -154820,7 +154977,7 @@ var unt = (e, t, r, n, i) => t ? {
154820
154977
  const r = (Math.random() * 16 + e) % 16 | 0;
154821
154978
  return (t == "x" ? r : r & 3 | 8).toString(16);
154822
154979
  });
154823
- }, uI = (e, t, r = {}) => r.shouldFocus || Ji(r.shouldFocus) ? r.focusName || `${e}.${Ji(r.focusIndex) ? t : r.focusIndex}.` : "", Wg = (e) => ({
154980
+ }, uI = (e, t, r = {}) => r.shouldFocus || eo(r.shouldFocus) ? r.focusName || `${e}.${eo(r.focusIndex) ? t : r.focusIndex}.` : "", Wg = (e) => ({
154824
154981
  isOnSubmit: !e || e === Gl.onSubmit,
154825
154982
  isOnBlur: e === Gl.onBlur,
154826
154983
  isOnChange: e === Gl.onChange,
@@ -154863,7 +155020,7 @@ var yie = (e) => {
154863
155020
  }
154864
155021
  return e[0].checked && !e[0].disabled ? (
154865
155022
  // @ts-expect-error expected to work in the browser
154866
- e[0].attributes && !Ji(e[0].attributes.value) ? Ji(e[0].value) || e[0].value === "" ? GH : { value: e[0].value, isValid: !0 } : GH
155023
+ e[0].attributes && !eo(e[0].attributes.value) ? eo(e[0].value) || e[0].value === "" ? GH : { value: e[0].value, isValid: !0 } : GH
154867
155024
  ) : WH;
154868
155025
  }
154869
155026
  return WH;
@@ -154893,7 +155050,7 @@ var sA = (e) => gs(e) && !Mx(e) ? e : {
154893
155050
  return {};
154894
155051
  const v = s ? s[0] : o, y = (N) => {
154895
155052
  n && v.reportValidity && (v.setCustomValidity(Eu(N) ? "" : N || ""), v.reportValidity());
154896
- }, b = {}, x = k5(o), S = UO(o), C = x || S, R = (g || F5(o)) && Ji(o.value) && Ji(O) || Lx(o) && o.value === "" || O === "" || Array.isArray(O) && !O.length, _ = unt.bind(null, A, r, b), I = (N, D, P, L = td.maxLength, F = td.minLength) => {
155053
+ }, b = {}, x = k5(o), S = UO(o), C = x || S, R = (g || F5(o)) && eo(o.value) && eo(O) || Lx(o) && o.value === "" || O === "" || Array.isArray(O) && !O.length, _ = unt.bind(null, A, r, b), I = (N, D, P, L = td.maxLength, F = td.minLength) => {
154897
155054
  const U = N ? D : P;
154898
155055
  b[A] = {
154899
155056
  type: N ? L : F,
@@ -154979,7 +155136,7 @@ function pI(e, t, r) {
154979
155136
  ...e.slice(t)
154980
155137
  ];
154981
155138
  }
154982
- var hI = (e, t, r) => Array.isArray(e) ? (Ji(e[r]) && (e[r] = void 0), e.splice(r, 0, e.splice(t, 1)[0]), e) : [], AI = (e, t) => [
155139
+ var hI = (e, t, r) => Array.isArray(e) ? (eo(e[r]) && (e[r] = void 0), e.splice(r, 0, e.splice(t, 1)[0]), e) : [], AI = (e, t) => [
154983
155140
  ...ja(t),
154984
155141
  ...ja(e)
154985
155142
  ];
@@ -154990,19 +155147,19 @@ function dnt(e, t) {
154990
155147
  n.splice(i - r, 1), r++;
154991
155148
  return VO(n).length ? n : [];
154992
155149
  }
154993
- var mI = (e, t) => Ji(t) ? [] : dnt(e, ja(t).sort((r, n) => r - n)), gI = (e, t, r) => {
155150
+ var mI = (e, t) => eo(t) ? [] : dnt(e, ja(t).sort((r, n) => r - n)), gI = (e, t, r) => {
154994
155151
  [e[t], e[r]] = [e[r], e[t]];
154995
155152
  };
154996
155153
  function fnt(e, t) {
154997
155154
  const r = t.slice(0, -1).length;
154998
155155
  let n = 0;
154999
155156
  for (; n < r; )
155000
- e = Ji(e) ? n++ : e[t[n++]];
155157
+ e = eo(e) ? n++ : e[t[n++]];
155001
155158
  return e;
155002
155159
  }
155003
155160
  function pnt(e) {
155004
155161
  for (const t in e)
155005
- if (e.hasOwnProperty(t) && !Ji(e[t]))
155162
+ if (e.hasOwnProperty(t) && !eo(e[t]))
155006
155163
  return !1;
155007
155164
  return !0;
155008
155165
  }
@@ -155165,14 +155322,14 @@ function bie(e, t, r) {
155165
155322
  const n = Array.isArray(e);
155166
155323
  if (gs(e) || n)
155167
155324
  for (const i in e)
155168
- Array.isArray(e[i]) || gs(e[i]) && !Sie(e[i]) ? Ji(t) || Fx(r[i]) ? r[i] = Array.isArray(e[i]) ? kx(e[i], []) : { ...kx(e[i]) } : bie(e[i], ua(t) ? {} : t[i], r[i]) : r[i] = !Gp(e[i], t[i]);
155325
+ Array.isArray(e[i]) || gs(e[i]) && !Sie(e[i]) ? eo(t) || Fx(r[i]) ? r[i] = Array.isArray(e[i]) ? kx(e[i], []) : { ...kx(e[i]) } : bie(e[i], ua(t) ? {} : t[i], r[i]) : r[i] = !Gp(e[i], t[i]);
155169
155326
  return r;
155170
155327
  }
155171
- var Ay = (e, t) => bie(e, t, kx(t)), Cie = (e, { valueAsNumber: t, valueAsDate: r, setValueAs: n }) => Ji(e) ? e : t ? e === "" ? NaN : e && +e : r && wu(e) ? new Date(e) : n ? n(e) : e;
155328
+ var Ay = (e, t) => bie(e, t, kx(t)), Cie = (e, { valueAsNumber: t, valueAsDate: r, setValueAs: n }) => eo(e) ? e : t ? e === "" ? NaN : e && +e : r && wu(e) ? new Date(e) : n ? n(e) : e;
155172
155329
  function yI(e) {
155173
155330
  const t = e.ref;
155174
155331
  if (!(e.refs ? e.refs.every((r) => r.disabled) : t.disabled))
155175
- return F5(t) ? t.files : k5(t) ? vie(e.refs).value : xie(t) ? [...t.selectedOptions].map(({ value: r }) => r) : UO(t) ? yie(e.refs).value : Cie(Ji(t.value) ? e.ref.value : t.value, e);
155332
+ return F5(t) ? t.files : k5(t) ? vie(e.refs).value : xie(t) ? [...t.selectedOptions].map(({ value: r }) => r) : UO(t) ? yie(e.refs).value : Cie(eo(t.value) ? e.ref.value : t.value, e);
155176
155333
  }
155177
155334
  var Ant = (e, t, r, n) => {
155178
155335
  const i = {};
@@ -155186,7 +155343,7 @@ var Ant = (e, t, r, n) => {
155186
155343
  fields: i,
155187
155344
  shouldUseNativeValidation: n
155188
155345
  };
155189
- }, G0 = (e) => Ji(e) ? e : Mx(e) ? e.source : gs(e) ? Mx(e.value) ? e.value.source : e.value : e, mnt = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate);
155346
+ }, G0 = (e) => eo(e) ? e : Mx(e) ? e.source : gs(e) ? Mx(e.value) ? e.value.source : e.value : e, mnt = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate);
155190
155347
  function qH(e, t, r) {
155191
155348
  const n = yr(e, r);
155192
155349
  if (n || M5(r))
@@ -155307,8 +155464,8 @@ function ynt(e = {}) {
155307
155464
  }, b = (oe, ne, K, q) => {
155308
155465
  const ee = yr(n, oe);
155309
155466
  if (ee) {
155310
- const ae = yr(o, oe, Ji(K) ? yr(i, oe) : K);
155311
- Ji(ae) || q && q.defaultChecked || ne ? Fi(o, oe, ne ? ae : yI(ee._f)) : L(oe, ae), s.mount && m();
155467
+ const ae = yr(o, oe, eo(K) ? yr(i, oe) : K);
155468
+ eo(ae) || q && q.defaultChecked || ne ? Fi(o, oe, ne ? ae : yI(ee._f)) : L(oe, ae), s.mount && m();
155312
155469
  }
155313
155470
  }, x = (oe, ne, K, q, ee) => {
155314
155471
  let ae = !1, he = !1;
@@ -155379,7 +155536,7 @@ function ynt(e = {}) {
155379
155536
  }
155380
155537
  a.unMount = /* @__PURE__ */ new Set();
155381
155538
  }, N = (oe, ne) => (oe && ne && Fi(o, oe, ne), !Gp($(), i)), D = (oe, ne, K) => gie(oe, a, {
155382
- ...s.mount ? o : Ji(ne) ? i : wu(oe) ? { [oe]: ne } : ne
155539
+ ...s.mount ? o : eo(ne) ? i : wu(oe) ? { [oe]: ne } : ne
155383
155540
  }, K, ne), P = (oe) => VO(yr(s.mount ? o : i, oe, e.shouldUnregister ? yr(i, oe, []) : [])), L = (oe, ne, K = {}) => {
155384
155541
  const q = yr(n, oe);
155385
155542
  let ee = ne;
@@ -155444,7 +155601,7 @@ function ynt(e = {}) {
155444
155601
  let K, q;
155445
155602
  const ee = ja(oe);
155446
155603
  if (t.resolver) {
155447
- const ae = await R(Ji(oe) ? oe : ee);
155604
+ const ae = await R(eo(oe) ? oe : ee);
155448
155605
  K = Ra(ae), q = oe ? !ee.some((he) => yr(ae, he)) : K;
155449
155606
  } else oe ? (q = (await Promise.all(ee.map(async (ae) => {
155450
155607
  const he = yr(n, ae);
@@ -155459,7 +155616,7 @@ function ynt(e = {}) {
155459
155616
  const ne = {
155460
155617
  ...s.mount ? o : i
155461
155618
  };
155462
- return Ji(oe) ? ne : wu(oe) ? yr(ne, oe) : oe.map((K) => yr(ne, K));
155619
+ return eo(oe) ? ne : wu(oe) ? yr(ne, oe) : oe.map((K) => yr(ne, K));
155463
155620
  }, V = (oe, ne) => ({
155464
155621
  invalid: !!yr((ne || r).errors, oe),
155465
155622
  isDirty: !!yr((ne || r).dirtyFields, oe),
@@ -155494,7 +155651,7 @@ function ynt(e = {}) {
155494
155651
  }), !ne.keepIsValid && m();
155495
155652
  }, G = ({ disabled: oe, name: ne, field: K, fields: q, value: ee }) => {
155496
155653
  if (Eu(oe) && s.mount || oe) {
155497
- const ae = oe ? void 0 : Ji(ee) ? yI(K ? K._f : yr(q, ne)._f) : ee;
155654
+ const ae = oe ? void 0 : eo(ee) ? yI(K ? K._f : yr(q, ne)._f) : ee;
155498
155655
  Fi(o, ne, ae), x(ne, ae, !1, !1, !0);
155499
155656
  }
155500
155657
  }, W = (oe, ne = {}) => {
@@ -155529,7 +155686,7 @@ function ynt(e = {}) {
155529
155686
  ref: (ee) => {
155530
155687
  if (ee) {
155531
155688
  W(oe, ne), K = yr(n, oe);
155532
- const ae = Ji(ee.value) && ee.querySelectorAll && ee.querySelectorAll("input,select,textarea")[0] || ee, he = hnt(ae), Ae = K._f.refs || [];
155689
+ const ae = eo(ee.value) && ee.querySelectorAll && ee.querySelectorAll("input,select,textarea")[0] || ee, he = hnt(ae), Ae = K._f.refs || [];
155533
155690
  if (he ? Ae.find((fe) => fe === ae) : ae === K._f.ref)
155534
155691
  return;
155535
155692
  Fi(n, oe, {
@@ -155587,7 +155744,7 @@ function ynt(e = {}) {
155587
155744
  }), q)
155588
155745
  throw q;
155589
155746
  }, J = (oe, ne = {}) => {
155590
- yr(n, oe) && (Ji(ne.defaultValue) ? U(oe, us(yr(i, oe))) : (U(oe, ne.defaultValue), Fi(i, oe, us(ne.defaultValue))), ne.keepTouched || qo(r.touchedFields, oe), ne.keepDirty || (qo(r.dirtyFields, oe), r.isDirty = ne.defaultValue ? N(oe, us(yr(i, oe))) : N()), ne.keepError || (qo(r.errors, oe), u.isValid && m()), f.state.next({ ...r }));
155747
+ yr(n, oe) && (eo(ne.defaultValue) ? U(oe, us(yr(i, oe))) : (U(oe, ne.defaultValue), Fi(i, oe, us(ne.defaultValue))), ne.keepTouched || qo(r.touchedFields, oe), ne.keepDirty || (qo(r.dirtyFields, oe), r.isDirty = ne.defaultValue ? N(oe, us(yr(i, oe))) : N()), ne.keepError || (qo(r.errors, oe), u.isValid && m()), f.state.next({ ...r }));
155591
155748
  }, se = (oe, ne = {}) => {
155592
155749
  const K = oe ? us(oe) : i, q = us(K), ee = Ra(oe), ae = ee ? i : q;
155593
155750
  if (ne.keepDefaultValues || (i = K), !ne.keepValues) {
@@ -155595,7 +155752,7 @@ function ynt(e = {}) {
155595
155752
  for (const he of a.mount)
155596
155753
  yr(r.dirtyFields, he) ? Fi(ae, he, yr(o, he)) : U(he, yr(ae, he));
155597
155754
  else {
155598
- if (L5 && Ji(oe))
155755
+ if (L5 && eo(oe))
155599
155756
  for (const he of a.mount) {
155600
155757
  const Ae = yr(n, he);
155601
155758
  if (Ae && Ae._f) {
@@ -166535,7 +166692,7 @@ const Gx = (e) => {
166535
166692
  headers: {},
166536
166693
  query: "",
166537
166694
  variables: {}
166538
- }), b = Pt(!1), x = Pt(null), S = Rr(), [C, R] = ve(!1), { WORKFLOW_URLS: _, ENTITY_ID: I = "" } = io(), { VORTEX_MAIN_URL: N, TESSERACT_MAIN_URL: D, FRONTEND_URL: P } = _, L = r?.data?.type, F = r?.data?.properties?.activity_name, U = r?.data?.properties?.activity_id, k = r?.data?.properties?.integration_slug, X = (te) => {
166695
+ }), b = Pt(!1), x = Pt(null), S = Rr(), [C, R] = ve(!1), { WORKFLOW_URLS: _, ENTITY_ID: I = "" } = zi(), { VORTEX_MAIN_URL: N, TESSERACT_MAIN_URL: D, FRONTEND_URL: P } = _, L = r?.data?.type, F = r?.data?.properties?.activity_name, U = r?.data?.properties?.activity_id, k = r?.data?.properties?.integration_slug, X = (te) => {
166539
166696
  if (!te)
166540
166697
  return {};
166541
166698
  if (typeof te == "string")
@@ -167843,7 +168000,7 @@ const Gx = (e) => {
167843
168000
  }
167844
168001
  ),
167845
168002
  /* @__PURE__ */ d.jsx(
167846
- ro,
168003
+ no,
167847
168004
  {
167848
168005
  size: "md",
167849
168006
  language: "json",
@@ -168860,7 +169017,7 @@ const Gx = (e) => {
168860
169017
  required: "Template is required"
168861
169018
  },
168862
169019
  render: ({ field: f }) => /* @__PURE__ */ d.jsx(
168863
- ro,
169020
+ no,
168864
169021
  {
168865
169022
  ...f,
168866
169023
  label: "Template",
@@ -170182,7 +170339,7 @@ const Gx = (e) => {
170182
170339
  actionRef: p,
170183
170340
  MCP_INTEGRATION_FORM: h = !1
170184
170341
  }) => {
170185
- const A = wt(), g = Rr(), m = el(), { setNodes: E, getNode: O, getEdges: v } = no(), y = p || Pt(null), b = Pt(null), x = Zt(() => is(), []), { activities: S, triggers: C, reserved_keywords: R, activity_names: _ } = Yt(
170342
+ const A = wt(), g = Rr(), m = el(), { setNodes: E, getNode: O, getEdges: v } = io(), y = p || Pt(null), b = Pt(null), x = Zt(() => is(), []), { activities: S, triggers: C, reserved_keywords: R, activity_names: _ } = Yt(
170186
170343
  (Je) => Je.activities
170187
170344
  ), { canvasWorkflow: I, activityExecutionData: N, viewOnly: D = !1, triggerNodeTest: P } = Yt(
170188
170345
  (Je) => Je.canvas
@@ -170191,10 +170348,10 @@ const Gx = (e) => {
170191
170348
  C?.data?.data,
170192
170349
  t.data,
170193
170350
  "slug"
170194
- ), { ENTITY_ID: F, WORKFLOW_URLS: U, openAddonModal: k, currentSubscription: X } = io(), { workflow: M } = Yt((Je) => Je.workflows), $ = f || M?.source || "", V = OT(t, $), w = $L({
170351
+ ), { ENTITY_ID: F, WORKFLOW_URLS: U, openAddonModal: k, currentSubscription: X } = zi(), { workflow: M } = Yt((Je) => Je.workflows), $ = f || M?.source || "", V = OT(t, $), w = $L({
170195
170352
  defaultValues: V,
170196
170353
  mode: "onChange"
170197
- }), B = Pt(null), { analytics: j = {} } = io(), [z, G] = ve(!1), [W, H] = ve([]), [Q, Y] = ve(!1), J = Pt(null), { data: se } = m.find((Je) => Je.id === t?.id) || {}, { blt_node_states: te } = se || {}, {
170354
+ }), B = Pt(null), { analytics: j = {} } = zi(), [z, G] = ve(!1), [W, H] = ve([]), [Q, Y] = ve(!1), J = Pt(null), { data: se } = m.find((Je) => Je.id === t?.id) || {}, { blt_node_states: te } = se || {}, {
170198
170355
  test: le = "",
170199
170356
  setup_and_configure: Oe = "",
170200
170357
  node: xe = ""
@@ -170866,7 +171023,7 @@ const Gx = (e) => {
170866
171023
  ]
170867
171024
  }
170868
171025
  ),
170869
- /* @__PURE__ */ d.jsx(tr, { onClick: Ie, sx: eo(A), children: /* @__PURE__ */ d.jsx(Qe, { width: 24, height: 24, src: "ic_close" }) })
171026
+ /* @__PURE__ */ d.jsx(tr, { onClick: Ie, sx: to(A), children: /* @__PURE__ */ d.jsx(Qe, { width: 24, height: 24, src: "ic_close" }) })
170870
171027
  ] })
170871
171028
  ]
170872
171029
  }
@@ -170943,7 +171100,7 @@ const Gx = (e) => {
170943
171100
  }
170944
171101
  );
170945
171102
  }, wct = Ta((e) => {
170946
- const t = wt(), r = el(), n = ic(), { setNodes: i, setEdges: o } = no(), { canvasWorkflow: s } = Yt((E) => E.canvas), a = s?.meta?.isHorizontal ?? !0, { fromX: l, fromY: c, toX: u, toY: f, fromNode: p, sourcePosition: h, targetPosition: A } = e;
171103
+ const t = wt(), r = el(), n = ic(), { setNodes: i, setEdges: o } = io(), { canvasWorkflow: s } = Yt((E) => E.canvas), a = s?.meta?.isHorizontal ?? !0, { fromX: l, fromY: c, toX: u, toY: f, fromNode: p, sourcePosition: h, targetPosition: A } = e;
170947
171104
  if ([l, c, u, f].some((E) => typeof E != "number" || Number.isNaN(E)))
170948
171105
  return null;
170949
171106
  ke(() => {
@@ -171053,7 +171210,7 @@ const Gx = (e) => {
171053
171210
  ] }) })
171054
171211
  ] });
171055
171212
  }, Ict = (e) => {
171056
- const t = wt(), { canvasWorkflow: r } = Yt((G) => G.canvas), { ENTITY_ID: n, allowedAccount: i } = io(), o = HO(n, i), s = r?.meta?.isHorizontal ?? !0, {
171213
+ const t = wt(), { canvasWorkflow: r } = Yt((G) => G.canvas), { ENTITY_ID: n, allowedAccount: i } = zi(), o = HO(n, i), s = r?.meta?.isHorizontal ?? !0, {
171057
171214
  id: a,
171058
171215
  sourceX: l,
171059
171216
  sourceY: c,
@@ -171070,7 +171227,7 @@ const Gx = (e) => {
171070
171227
  } = e;
171071
171228
  if ([l, c, u, f].some((G) => typeof G != "number" || Number.isNaN(G)) || !p || !h)
171072
171229
  return null;
171073
- const y = ic(), b = el(), { deleteElements: x } = no(), S = Rr(), { viewOnly: C } = Yt((G) => G.canvas), R = y.find((G) => G.id === a), _ = R?.data?.isStraight === !0, I = () => qN({
171230
+ const y = ic(), b = el(), { deleteElements: x } = io(), S = Rr(), { viewOnly: C } = Yt((G) => G.canvas), R = y.find((G) => G.id === a), _ = R?.data?.isStraight === !0, I = () => qN({
171074
171231
  sourceX: l,
171075
171232
  sourceY: c,
171076
171233
  sourcePosition: p,
@@ -171192,7 +171349,7 @@ const Gx = (e) => {
171192
171349
  target: p,
171193
171350
  sourceHandle: h,
171194
171351
  targetHandle: A
171195
- } = e, { deleteElements: g } = no(), m = Rr(), { ENTITY_ID: E, allowedAccount: O } = io(), v = HO(E, O), y = el(), b = ic(), { viewOnly: x, canvasWorkflow: S, activitiesPopover: C } = Yt((z) => z.canvas), R = S?.meta?.isHorizontal ?? !0, _ = C?.edgeId === r && C?.active;
171352
+ } = e, { deleteElements: g } = io(), m = Rr(), { ENTITY_ID: E, allowedAccount: O } = zi(), v = HO(E, O), y = el(), b = ic(), { viewOnly: x, canvasWorkflow: S, activitiesPopover: C } = Yt((z) => z.canvas), R = S?.meta?.isHorizontal ?? !0, _ = C?.edgeId === r && C?.active;
171196
171353
  if ([n, i, o, s].some((z) => typeof z != "number" || Number.isNaN(z)) || !a || !l)
171197
171354
  return null;
171198
171355
  const [I, N, D] = qN({
@@ -171404,7 +171561,7 @@ const Mct = $c(
171404
171561
  );
171405
171562
  };
171406
171563
  function jct(e = !1) {
171407
- const t = Rr(), { getNodes: r, getEdges: n } = no(), i = r(), o = n(), s = Pt({ x: 0, y: 0 }), { activity_names: a } = Yt((m) => m.activities), { setNodes: l, screenToFlowPosition: c } = no(), [u, f] = ve([]), p = ut(
171564
+ const t = Rr(), { getNodes: r, getEdges: n } = io(), i = r(), o = n(), s = Pt({ x: 0, y: 0 }), { activity_names: a } = Yt((m) => m.activities), { setNodes: l, screenToFlowPosition: c } = io(), [u, f] = ve([]), p = ut(
171408
171565
  (m = c({ x: s.current.x, y: s.current.y })) => {
171409
171566
  const E = i.filter((y) => y.id === m);
171410
171567
  let O = [...i];
@@ -171545,7 +171702,7 @@ const QO = ({
171545
171702
  p: 0.5,
171546
171703
  width: 28,
171547
171704
  height: 28,
171548
- ...eo(a)
171705
+ ...to(a)
171549
171706
  },
171550
171707
  "data-testid": "node-action-switch-trigger",
171551
171708
  children: /* @__PURE__ */ d.jsx(
@@ -171642,7 +171799,7 @@ const QO = ({
171642
171799
  p: 0.5,
171643
171800
  width: 28,
171644
171801
  height: 28,
171645
- ...eo(a),
171802
+ ...to(a),
171646
171803
  ...F
171647
171804
  },
171648
171805
  "data-testid": "node-action-duplicate",
@@ -171709,7 +171866,7 @@ const QO = ({
171709
171866
  u(), l(!0);
171710
171867
  };
171711
171868
  ke(() => () => u(), []);
171712
- const { setNodes: h } = no(), { nodesToFocus: A } = Yt((S) => S.canvas), g = Rr(), m = A.nodes.includes(t), [E, O] = ve(r?.activity_comment?.body || ""), v = A.type;
171869
+ const { setNodes: h } = io(), { nodesToFocus: A } = Yt((S) => S.canvas), g = Rr(), m = A.nodes.includes(t), [E, O] = ve(r?.activity_comment?.body || ""), v = A.type;
171713
171870
  ke(() => {
171714
171871
  O(r?.activity_comment?.body || "");
171715
171872
  }, [r?.activity_comment?.body]);
@@ -171981,7 +172138,7 @@ const QO = ({
171981
172138
  proIntegration: a = !1,
171982
172139
  pro: l = !1
171983
172140
  }) => {
171984
- const c = Rr(), u = wt(), { setNodes: f, getNodes: p } = no(), { activitiesPopover: h } = Yt((m) => m.canvas), A = Zt(
172141
+ const c = Rr(), u = wt(), { setNodes: f, getNodes: p } = io(), { activitiesPopover: h } = Yt((m) => m.canvas), A = Zt(
171985
172142
  () => r ? $m(r, "t.resize(h:24,w:24)") : "",
171986
172143
  [r]
171987
172144
  ), g = (m) => {
@@ -172120,7 +172277,7 @@ const QO = ({
172120
172277
  },
172121
172278
  sx: {
172122
172279
  p: 0,
172123
- ...eo(u)
172280
+ ...to(u)
172124
172281
  },
172125
172282
  children: /* @__PURE__ */ d.jsx(Qe, { src: "ic_comment", width: 16, height: 16 })
172126
172283
  }
@@ -172153,7 +172310,7 @@ const QO = ({
172153
172310
  }, Gct = re.memo((e) => {
172154
172311
  const t = el(), r = ic(), n = wt(), { canvasWorkflow: i, activityExecutionData: o, viewOnly: s, selectedActivityId: a } = Yt(
172155
172312
  (U) => U.canvas
172156
- ), l = i?.meta?.isHorizontal ?? !0, c = xh(), { setNodes: u } = no(), { id: f, data: p, onHandleClick: h, handleDeleteNode: A, selected: g, pro_integration: m, onRunWithPrevious: E } = e, O = t.find((U) => U.id === a), { activities: v, triggers: y } = Yt(GO), b = Array.isArray(v) ? v : [], x = Array.isArray(y) ? y : [], S = _i(b, x, p, "pro"), C = !!S && S !== "", R = C && m === !1, _ = o?.[p.name]?.loading ?? !1;
172313
+ ), l = i?.meta?.isHorizontal ?? !0, c = xh(), { setNodes: u } = io(), { id: f, data: p, onHandleClick: h, handleDeleteNode: A, selected: g, pro_integration: m, onRunWithPrevious: E } = e, O = t.find((U) => U.id === a), { activities: v, triggers: y } = Yt(GO), b = Array.isArray(v) ? v : [], x = Array.isArray(y) ? y : [], S = _i(b, x, p, "pro"), C = !!S && S !== "", R = C && m === !1, _ = o?.[p.name]?.loading ?? !1;
172157
172314
  let I = Array.isArray(p.properties?.branches) ? p.properties.branches : [];
172158
172315
  (p.type === nt.API || p.type === nt.GRAPHQL) && p.properties?.continue_on_failure === !1 && (I = I.filter((U) => U.ref === "success")), ke(() => {
172159
172316
  c(f);
@@ -172724,7 +172881,7 @@ const QO = ({
172724
172881
  }
172725
172882
  ) });
172726
172883
  }, Yct = ({ id: e, data: t, onHandleClick: r }) => {
172727
- const { isTriggerPlaceholder: n } = t, i = wt(), o = el(), s = ic(), { ENTITY_ID: a, allowedAccount: l } = io(), c = Rr(), { activitiesPopover: u, viewOnly: f, canvasWorkflow: p, selectedActivityId: h } = Yt(
172884
+ const { isTriggerPlaceholder: n } = t, i = wt(), o = el(), s = ic(), { ENTITY_ID: a, allowedAccount: l } = zi(), c = Rr(), { activitiesPopover: u, viewOnly: f, canvasWorkflow: p, selectedActivityId: h } = Yt(
172728
172885
  (E) => E.canvas
172729
172886
  ), A = HO(a, l), g = p?.meta?.isHorizontal ?? !0, m = (E) => {
172730
172887
  if (f)
@@ -173016,7 +173173,7 @@ const QO = ({
173016
173173
  handleDeleteNode: a,
173017
173174
  currentSubscription: l,
173018
173175
  pro_integration: c
173019
- } = e, u = Un(Hr.VERSION), f = is(), p = Un(f), h = Rr(), A = wt(), { analytics: g } = io(), m = el(), E = ic(), { workflow: O } = Yt((j) => j.workflows), { canvasWorkflow: v, activityExecutionData: y, viewOnly: b, showDebugLogs: x, selectedActivityId: S } = Yt(
173176
+ } = e, u = Un(Hr.VERSION), f = is(), p = Un(f), h = Rr(), A = wt(), { analytics: g } = zi(), m = el(), E = ic(), { workflow: O } = Yt((j) => j.workflows), { canvasWorkflow: v, activityExecutionData: y, viewOnly: b, showDebugLogs: x, selectedActivityId: S } = Yt(
173020
173177
  (j) => j.canvas
173021
173178
  ), C = m.find((j) => j.id === S), R = v?.meta?.isHorizontal ?? !0, _ = m?.find((j) => j?.type === Rt.TRIGGER), { activities: I, triggers: N } = Yt(GO), D = Array.isArray(I) ? I : [], P = Array.isArray(N) ? N : [], L = _i(D, P, r, "pro"), F = !!L && L !== "", U = F && c === !1, [k, X] = ve(!1), M = y?.[r.name]?.loading ?? !1, $ = _?.data?.type, w = (Array.isArray(r?.properties?.branches) ? r.properties.branches : []).length + 1, B = Math.max(w * 16, 84);
173022
173179
  return /* @__PURE__ */ d.jsxs(
@@ -173188,7 +173345,7 @@ const QO = ({
173188
173345
  }
173189
173346
  );
173190
173347
  }), Jct = (e, t, r, n, i) => {
173191
- const o = wt(), s = el(), a = ic(), l = Rr(), c = Un(), { analytics: u, ENTITY_ID: f, WORKFLOW_URLS: p } = io(), { activity_names: h } = Yt((_) => _.activities), { selectedPlaceholderId: A } = Yt((_) => _.canvas), g = (_, I) => [..._, I], { captureEvent: m, WORKFLOW_EVENTS: E } = u || {}, O = ut(
173348
+ const o = wt(), s = el(), a = ic(), l = Rr(), c = Un(), { analytics: u, ENTITY_ID: f, WORKFLOW_URLS: p } = zi(), { activity_names: h } = Yt((_) => _.activities), { selectedPlaceholderId: A } = Yt((_) => _.canvas), g = (_, I) => [..._, I], { captureEvent: m, WORKFLOW_EVENTS: E } = u || {}, O = ut(
173192
173349
  (_) => {
173193
173350
  _.preventDefault(), A && l({
173194
173351
  type: lm,
@@ -173565,7 +173722,7 @@ const QO = ({
173565
173722
  maxHistorySize: e = II.maxHistorySize,
173566
173723
  enableShortcuts: t = II.enableShortcuts
173567
173724
  } = II) => {
173568
- const { getNodes: r, getEdges: n, setNodes: i, setEdges: o } = no(), { selectedActivityId: s } = Yt((O) => O.canvas), a = r(), l = n(), [c, u] = ve([]), [f, p] = ve([]), h = ut(() => {
173725
+ const { getNodes: r, getEdges: n, setNodes: i, setEdges: o } = io(), { selectedActivityId: s } = Yt((O) => O.canvas), a = r(), l = n(), [c, u] = ve([]), [f, p] = ve([]), h = ut(() => {
173569
173726
  u((O) => {
173570
173727
  const v = O[O.length - 1];
173571
173728
  return v && v.nodes === a && v.edges === l ? O : [...O.slice(-e + 1), { nodes: a, edges: l }];
@@ -174269,7 +174426,7 @@ const moe = (e) => {
174269
174426
  showCanvasOverlay: O,
174270
174427
  setShowCanvasOverlay: v,
174271
174428
  pro_integration: y
174272
- } = e, b = Pt(null), x = Pt(!1), S = Rr(), C = Pt(0), { fitView: R, deleteElements: _, getNodes: I, getEdges: N, getNode: D, screenToFlowPosition: P } = no(), L = wt(), { analytics: F, allowedAccount: U, openAddonModal: k } = io(), X = Zt(() => HO(i, U), [i, U]), M = vy("Delete"), $ = vy("Backspace"), V = vy(["Meta+a", "Ctrl+a"], { actInsideInputWithModifier: !1 }), { VORTEX_MAIN_URL: w, VORTEX_SYNC_DOMAIN: B, BOLTICAI_MAIN_URL: j } = t, z = L.drawer.rightMenu, {
174429
+ } = e, b = Pt(null), x = Pt(!1), S = Rr(), C = Pt(0), { fitView: R, deleteElements: _, getNodes: I, getEdges: N, getNode: D, screenToFlowPosition: P } = io(), L = wt(), { analytics: F, allowedAccount: U, openAddonModal: k } = zi(), X = Zt(() => HO(i, U), [i, U]), M = vy("Delete"), $ = vy("Backspace"), V = vy(["Meta+a", "Ctrl+a"], { actInsideInputWithModifier: !1 }), { VORTEX_MAIN_URL: w, VORTEX_SYNC_DOMAIN: B, BOLTICAI_MAIN_URL: j } = t, z = L.drawer.rightMenu, {
174273
174430
  canvasWorkflow: G,
174274
174431
  activityExecutionData: W,
174275
174432
  viewOnly: H,
@@ -174369,8 +174526,8 @@ const moe = (e) => {
174369
174526
  Gt = le;
174370
174527
  const On = String(le.id), hn = f.find((uo) => uo?.id === On) || null;
174371
174528
  Et = hn?.position ?? { x: 0, y: 0 }, er = f.filter((uo) => uo?.id !== On), Jt = p.filter((uo) => uo?.data?.isTempAiEdge !== !0).filter((uo) => uo?.source !== On && uo?.target !== On);
174372
- const Xi = le.originalEdge;
174373
- Xi?.id && !Jt.some((uo) => uo?.id === Xi.id) && (Jt = [...Jt, Xi]);
174529
+ const qi = le.originalEdge;
174530
+ qi?.id && !Jt.some((uo) => uo?.id === qi.id) && (Jt = [...Jt, qi]);
174374
174531
  const as = er.find((uo) => uo.id === le.sourceNodeId), Hs = er.find((uo) => uo.id === le.targetNodeId);
174375
174532
  as && Hs && !hn?.position && (Et = {
174376
174533
  x: (as.position.x + Hs.position.x) / 2,
@@ -174695,7 +174852,7 @@ const moe = (e) => {
174695
174852
  payload: !!Q?.nodeId
174696
174853
  });
174697
174854
  }, [Q?.nodeId]);
174698
- const [In, gr] = ve(!1), [$r, Hn] = ve(!1), [Ut, lr] = ve(!1), [Jr, Br] = ve(null), [Pr, zr] = ve(!1), { selectedActivityId: en, openDrawer: Kr } = Yt((pe) => pe.canvas), [$n, Fn] = ve(null), Xn = no(), { undo: Pi, redo: mo, canUndo: gn, canRedo: Bo, takeSnapshot: ie } = eut(), Ze = (() => {
174855
+ const [In, gr] = ve(!1), [$r, Hn] = ve(!1), [Ut, lr] = ve(!1), [Jr, Br] = ve(null), [Pr, zr] = ve(!1), { selectedActivityId: en, openDrawer: Kr } = Yt((pe) => pe.canvas), [$n, Fn] = ve(null), Xn = io(), { undo: Pi, redo: mo, canUndo: gn, canRedo: Bo, takeSnapshot: ie } = eut(), Ze = (() => {
174699
174856
  const pe = localStorage.getItem(`viewport-${ge}`);
174700
174857
  if (pe)
174701
174858
  return JSON.parse(pe);
@@ -175084,8 +175241,8 @@ const moe = (e) => {
175084
175241
  return !1;
175085
175242
  } else if (hn.ref && hn.ref !== pe)
175086
175243
  return !1;
175087
- const Xi = rt.find((Hs) => Hs.id === hn.id);
175088
- return Xi ? !(Xi.type === Rt.PLACEHOLDER && Xi.data?.isActivityPlaceholder) : !1;
175244
+ const qi = rt.find((Hs) => Hs.id === hn.id);
175245
+ return qi ? !(qi.type === Rt.PLACEHOLDER && qi.data?.isActivityPlaceholder) : !1;
175089
175246
  }), Ct = Et.some((hn) => {
175090
175247
  if (hn.source !== Fe || (hn.sourceHandle || "outHandle") !== (pe || "outHandle") || hn.type === on.PLACEHOLDER || hn.target?.startsWith("placeholder_") || rt.some(
175091
175248
  (Zd) => Zd.id === hn.target && Zd.type === Rt.PLACEHOLDER && Zd.data?.isActivityPlaceholder
@@ -175368,7 +175525,7 @@ const moe = (e) => {
175368
175525
  );
175369
175526
  }, Dn = () => {
175370
175527
  zr(!0), En(K?.data?.data?.[0]?.id, K?.data?.data?.[0]?.status);
175371
- }, zi = Lpe(L), qn = 55, lo = 95, xo = te ?? 340, fi = `-${qn}px`, co = `calc(100% + ${lo}px)`, go = fi, sa = se ? `calc(${co} - ${xo}px)` : co;
175528
+ }, Xi = Lpe(L), qn = 55, lo = 95, xo = te ?? 340, fi = `-${qn}px`, co = `calc(100% + ${lo}px)`, go = fi, sa = se ? `calc(${co} - ${xo}px)` : co;
175372
175529
  return ke(() => {
175373
175530
  if ((oe || ye) && !K?.data?.data?.length) {
175374
175531
  const pe = [Hr.PUBLISHED, Hr.SCHEDULED].includes(Se) && oe?.id || oe?.parent_id;
@@ -175661,7 +175818,7 @@ const moe = (e) => {
175661
175818
  right: 68,
175662
175819
  bottom: se ? Oe + 16 : 56,
175663
175820
  backgroundColor: L.palette.common.white,
175664
- boxShadow: zi.primary.outlined,
175821
+ boxShadow: Xi.primary.outlined,
175665
175822
  "&:hover": {
175666
175823
  backgroundColor: L.palette.common.white
175667
175824
  }
@@ -179018,7 +179175,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
179018
179175
  VORTEX_MAIN_URL: s,
179019
179176
  ENTITY_ID: a,
179020
179177
  navigate: l
179021
- } = e, c = Rr(), u = wt(), { analytics: f } = io(), [p, h] = ve({
179178
+ } = e, c = Rr(), u = wt(), { analytics: f } = zi(), [p, h] = ve({
179022
179179
  per_page: 10,
179023
179180
  type: "all"
179024
179181
  }), { executions: A, executionLogs: g, workflow: m } = Yt((Z) => Z.workflows), { activities: E, triggers: O } = Yt((Z) => Z.activities), { testExecutionId: v, showDebugLogs: y, runWithPreviousExecutionId: b, runLogsPanelHeight: x } = Yt((Z) => Z.canvas), [S, C] = ve("Logs"), [R] = ve(!0), [_, I] = ve(0), [N, D] = ve(""), [P, L] = ve("all"), [F, U] = ve(v), [k, X] = ve({
@@ -179347,7 +179504,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
179347
179504
  p: 0.5,
179348
179505
  border: `1px solid ${u.palette.neutral.outlined.border || u.palette.grey[300]}`,
179349
179506
  borderRadius: 1.5,
179350
- ...eo(u)
179507
+ ...to(u)
179351
179508
  },
179352
179509
  onClick: ze,
179353
179510
  disabled: A.loading,
@@ -179377,7 +179534,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
179377
179534
  p: 0.5,
179378
179535
  border: `1px solid ${u.palette.neutral.outlined.border || u.palette.grey[300]}`,
179379
179536
  borderRadius: 1.5,
179380
- ...eo(u)
179537
+ ...to(u)
179381
179538
  },
179382
179539
  children: /* @__PURE__ */ d.jsx(
179383
179540
  Qe,
@@ -179398,7 +179555,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
179398
179555
  tr,
179399
179556
  {
179400
179557
  onClick: o,
179401
- sx: { p: 0, ...eo(u) },
179558
+ sx: { p: 0, ...to(u) },
179402
179559
  size: "small",
179403
179560
  children: /* @__PURE__ */ d.jsx(
179404
179561
  Qe,
@@ -179589,7 +179746,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
179589
179746
  p: 0.5,
179590
179747
  border: `1px solid ${u.palette.neutral.outlined.border || u.palette.grey[300]}`,
179591
179748
  borderRadius: 1.5,
179592
- ...eo(u)
179749
+ ...to(u)
179593
179750
  },
179594
179751
  onClick: De,
179595
179752
  disabled: A.loading,
@@ -179837,7 +179994,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
179837
179994
  p: 0.5,
179838
179995
  border: `1px solid ${u.palette.neutral.outlined.border || u.palette.grey[300]}`,
179839
179996
  borderRadius: 1.5,
179840
- ...eo(u)
179997
+ ...to(u)
179841
179998
  },
179842
179999
  onClick: De,
179843
180000
  disabled: A.loading,
@@ -180200,7 +180357,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
180200
180357
  disabled: n = !1,
180201
180358
  ...i
180202
180359
  }) => /* @__PURE__ */ d.jsx(zN, { renderInput: e, options: t, disabled: n || r, ...i }), Ddt = Hd(Idt), Pdt = ({ onClose: e, open: t }) => {
180203
- const { WORKFLOW_URLS: r, ENTITY_ID: n } = io(), { VORTEX_MAIN_URL: i } = r, o = Rr(), { canvasWorkflow: s, viewOnly: a } = Yt((b) => b.canvas), { workflow: l } = Yt((b) => b.workflows), c = s?.meta?.fallback_workflow_id || "", [u, f] = ve(c), [p, h] = ve([]), [A, g] = ve(!1), E = is() === ei.DRAFT ? l?.id : l?.meta?.draft_id, O = Zt(() => Rdt(p, u), [p, u]), v = ut(
180360
+ const { WORKFLOW_URLS: r, ENTITY_ID: n } = zi(), { VORTEX_MAIN_URL: i } = r, o = Rr(), { canvasWorkflow: s, viewOnly: a } = Yt((b) => b.canvas), { workflow: l } = Yt((b) => b.workflows), c = s?.meta?.fallback_workflow_id || "", [u, f] = ve(c), [p, h] = ve([]), [A, g] = ve(!1), E = is() === ei.DRAFT ? l?.id : l?.meta?.draft_id, O = Zt(() => Rdt(p, u), [p, u]), v = ut(
180204
180361
  async (b) => {
180205
180362
  g(!0);
180206
180363
  try {
@@ -180371,7 +180528,7 @@ const JW = ({ data: e, maxHeight: t = 400 }) => {
180371
180528
  }
180372
180529
  );
180373
180530
  }, Ndt = ({ setActiveMenu: e, open: t, onClose: r }) => {
180374
- const n = wt(), i = Rr(), [o, s] = ve(""), [a, l] = ve(!1), [c, u] = ve(!1), [f, p] = ve(null), [h, A] = ve(!0), { canvasWorkflow: g } = Yt((k) => k.canvas), { WORKFLOW_URLS: m, ENTITY_ID: E } = io(), { setNodes: O, setEdges: v, getNodes: y } = no(), b = is(), x = Un(b), S = async (k) => {
180531
+ const n = wt(), i = Rr(), [o, s] = ve(""), [a, l] = ve(!1), [c, u] = ve(!1), [f, p] = ve(null), [h, A] = ve(!0), { canvasWorkflow: g } = Yt((k) => k.canvas), { WORKFLOW_URLS: m, ENTITY_ID: E } = zi(), { setNodes: O, setEdges: v, getNodes: y } = io(), b = is(), x = Un(b), S = async (k) => {
180375
180532
  if (!k) return;
180376
180533
  u(!0), i({
180377
180534
  type: nD,
@@ -181139,7 +181296,7 @@ async function Cft(e, t = {}) {
181139
181296
  return (await bft(e, t)).toDataURL();
181140
181297
  }
181141
181298
  const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose: n }) => {
181142
- const i = Rr(), o = wt(), { ENTITY_ID: s, WORKFLOW_URLS: a, analytics: l } = io(), { captureEvent: c, WORKFLOW_EVENTS: u } = l || {}, { VORTEX_MAIN_URL: f } = a, { canvasWorkflow: p } = Yt((C) => C.canvas), { share: h } = Yt((C) => C.workflows), A = Pt(), g = Zt(() => {
181299
+ const i = Rr(), o = wt(), { ENTITY_ID: s, WORKFLOW_URLS: a, analytics: l } = zi(), { captureEvent: c, WORKFLOW_EVENTS: u } = l || {}, { VORTEX_MAIN_URL: f } = a, { canvasWorkflow: p } = Yt((C) => C.canvas), { share: h } = Yt((C) => C.workflows), A = Pt(), g = Zt(() => {
181143
181300
  const C = Oc("nodes_update", e) || [], R = Oc("edges_update", null, t) || [];
181144
181301
  return { ...p, nodes: C, edges: R };
181145
181302
  }, [p, e, t]), m = ut(() => {
@@ -181475,7 +181632,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
181475
181632
  ] })
181476
181633
  ] }) }),
181477
181634
  /* @__PURE__ */ d.jsx(
181478
- ro,
181635
+ no,
181479
181636
  {
181480
181637
  viewOnly: !0,
181481
181638
  height: "300px",
@@ -181795,7 +181952,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
181795
181952
  left: 16
181796
181953
  },
181797
181954
  menuItemStyles: {
181798
- ...eo(o)
181955
+ ...to(o)
181799
181956
  },
181800
181957
  menuItems: p
181801
181958
  }
@@ -181812,23 +181969,45 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
181812
181969
  isActiveWorkflow: l,
181813
181970
  currentSubscription: c
181814
181971
  }) => {
181815
- const u = Rr(), f = wt(), { canvasWorkflow: p, selectedActivityId: h, publishLock: A } = Yt((P) => P.canvas), g = c?.[0], m = c?.metricData?.creation?.remaining, E = c?.metricData?.execution?.remaining, O = g?.status === "EXPIRED", v = g?.status === "CANCELLED", y = m == null || m <= 0, b = E == null || E <= 0, x = O || v || y || b, S = Zt(() => s?.find((P) => P.type === Rt.TRIGGER), [s]), C = Zt(() => S ? Kg(S, s) : !1, [S, s]), R = ut(() => {
181816
- const P = ET($6(i)), L = ET(
181972
+ const u = Rr(), f = wt(), { openAddonModal: p, openUpgradeModal: h } = zi(), { canvasWorkflow: A, selectedActivityId: g, publishLock: m } = Yt((F) => F.canvas), E = Array.isArray(c) ? c[0] : c, O = E?.metricData?.creation?.remaining, v = E?.metricData?.execution?.remaining, y = E?.status === "EXPIRED", b = E?.status === "CANCELLED", x = O == null || O <= 0, S = v == null || v <= 0, C = y || b || x || S, R = Zt(() => s?.find((F) => F.type === Rt.TRIGGER), [s]), _ = Zt(() => R ? Kg(R, s) : !1, [R, s]), I = ut(() => {
181973
+ const F = ET($6(i)), U = ET(
181817
181974
  $6({
181818
- ...p,
181975
+ ...A,
181819
181976
  nodes: Oc("nodes_update", s),
181820
181977
  edges: Oc("edges_update", null, a)
181821
181978
  })
181822
181979
  );
181823
- return P === L;
181824
- }, [i, p, s, a]), _ = ut(() => {
181825
- setTimeout(() => {
181826
- const L = ['[data-testid="plans-add-on-button"]', '[data-test-id="plan-upgrade-button"]'].map((F) => document.querySelector(F)).find((F) => F);
181827
- L && L.click();
181828
- }, 100);
181829
- }, []), I = ut(() => {
181830
- if (y || O || v) {
181831
- _();
181980
+ return F === U;
181981
+ }, [i, A, s, a]), N = ut(
181982
+ ({ preferAddon: F = !1 } = {}) => {
181983
+ if (F && typeof p == "function") {
181984
+ p();
181985
+ return;
181986
+ }
181987
+ if (!F && typeof h == "function") {
181988
+ h();
181989
+ return;
181990
+ }
181991
+ setTimeout(() => {
181992
+ const k = (F ? ['[data-testid="plans-add-on-button"]', '[data-test-id="plan-upgrade-button"]'] : ['[data-test-id="plan-upgrade-button"]', '[data-testid="plans-add-on-button"]']).map((X) => document.querySelector(X)).find((X) => X);
181993
+ if (k) {
181994
+ k.click();
181995
+ return;
181996
+ }
181997
+ u({
181998
+ type: an,
181999
+ payload: {
182000
+ open: !0,
182001
+ title: F ? "You have reached your workflow usage limit. Please add usage to continue." : "Your subscription is not active. Please update your plan to continue.",
182002
+ type: "error"
182003
+ }
182004
+ });
182005
+ }, 100);
182006
+ },
182007
+ [u, p, h]
182008
+ ), D = ut(() => {
182009
+ if (x || y || b) {
182010
+ N();
181832
182011
  return;
181833
182012
  }
181834
182013
  if (!l && e !== ei.DRAFT) {
@@ -181842,7 +182021,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
181842
182021
  });
181843
182022
  return;
181844
182023
  }
181845
- if (!S) {
182024
+ if (!R) {
181846
182025
  u({
181847
182026
  type: an,
181848
182027
  payload: {
@@ -181853,7 +182032,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
181853
182032
  });
181854
182033
  return;
181855
182034
  }
181856
- if (!C) {
182035
+ if (!_) {
181857
182036
  u({
181858
182037
  type: an,
181859
182038
  payload: {
@@ -181866,19 +182045,20 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
181866
182045
  }
181867
182046
  r(!t);
181868
182047
  }, [
182048
+ x,
182049
+ S,
181869
182050
  y,
181870
- O,
181871
- v,
182051
+ b,
181872
182052
  l,
181873
182053
  e,
181874
- S,
181875
- C,
182054
+ R,
182055
+ _,
181876
182056
  t,
181877
182057
  r,
181878
182058
  u,
181879
- _
181880
- ]), N = o || A || R() || h || !S || !C, D = !C && !(x || y) ? "Workflow not completed" : "";
181881
- return /* @__PURE__ */ d.jsx(ce, { direction: "row", gap: 1, children: Tt(n) && e === ei.DRAFT && /* @__PURE__ */ d.jsx(mr, { disableHoverListener: C, arrow: !0, title: D, children: /* @__PURE__ */ d.jsx("span", { children: /* @__PURE__ */ d.jsx(
182059
+ N
182060
+ ]), P = o || m || I() || g || !R || !_, L = !_ && !(C || x) ? "Workflow not completed" : "";
182061
+ return /* @__PURE__ */ d.jsx(ce, { direction: "row", gap: 1, children: Tt(n) && e === ei.DRAFT && /* @__PURE__ */ d.jsx(mr, { disableHoverListener: _, arrow: !0, title: L, children: /* @__PURE__ */ d.jsx("span", { children: /* @__PURE__ */ d.jsx(
181882
182062
  dr,
181883
182063
  {
181884
182064
  sx: {
@@ -181897,8 +182077,8 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
181897
182077
  }
181898
182078
  },
181899
182079
  variant: "contained",
181900
- onClick: I,
181901
- disabled: N,
182080
+ onClick: D,
182081
+ disabled: P,
181902
182082
  size: "medium",
181903
182083
  children: /* @__PURE__ */ d.jsx(He, { variant: "smSemiBold", children: "Publish" })
181904
182084
  }
@@ -182095,7 +182275,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
182095
182275
  };
182096
182276
  return /* @__PURE__ */ d.jsx(dr, { sx: { height: 32, ml: 1 }, variant: "contained", color: "primary", onClick: n, children: /* @__PURE__ */ d.jsx(He, { variant: "smSemiBold", children: "Edit Workflow" }) });
182097
182277
  }, kft = ({ open: e, onClose: t, navigate: r }) => {
182098
- const n = wt(), i = Rr(), { workflow: o } = Yt((O) => O.workflows), [s, a] = ve(!1), { ENTITY_ID: l, WORKFLOW_URLS: c, analytics: u } = io(), { VORTEX_MAIN_URL: f } = c, { captureEvent: p, WORKFLOW_EVENTS: h } = u || {}, A = () => {
182278
+ const n = wt(), i = Rr(), { workflow: o } = Yt((O) => O.workflows), [s, a] = ve(!1), { ENTITY_ID: l, WORKFLOW_URLS: c, analytics: u } = zi(), { VORTEX_MAIN_URL: f } = c, { captureEvent: p, WORKFLOW_EVENTS: h } = u || {}, A = () => {
182099
182279
  const O = o?.meta?.draft_id;
182100
182280
  if (!O) return;
182101
182281
  i({ type: gT });
@@ -182193,7 +182373,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
182193
182373
  edges: c,
182194
182374
  currentSubscription: u
182195
182375
  }) => {
182196
- const { VORTEX_MAIN_URL: f, GYRATE_MAIN_URL: p } = n, h = Rr(), A = wt(), { analytics: g } = io(), [m, E] = ve(!1), [O, v] = ve(!1), [y, b] = ve(!1), [x, S] = ve(!1), [C, R] = ve(""), [_, I] = ve(!1), [N, D] = ve(null), [P, L] = ve(!1), [F, U] = ve(!1), [k, X] = ve(!1), [M, $] = ve({
182376
+ const { VORTEX_MAIN_URL: f, GYRATE_MAIN_URL: p } = n, h = Rr(), A = wt(), { analytics: g } = zi(), [m, E] = ve(!1), [O, v] = ve(!1), [y, b] = ve(!1), [x, S] = ve(!1), [C, R] = ve(""), [_, I] = ve(!1), [N, D] = ve(null), [P, L] = ve(!1), [F, U] = ve(!1), [k, X] = ve(!1), [M, $] = ve({
182197
182377
  title: "",
182198
182378
  content: "",
182199
182379
  status: ""
@@ -182419,7 +182599,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
182419
182599
  p: 0,
182420
182600
  opacity: V ? 0.6 : 1
182421
182601
  },
182422
- ...eo(A)
182602
+ ...to(A)
182423
182603
  },
182424
182604
  onClick: fe,
182425
182605
  disabled: V,
@@ -182750,7 +182930,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
182750
182930
  },
182751
182931
  arrow: !0,
182752
182932
  title: "A global variable is a key-value pair that can be accessed and used throughout an entire workflow, ensuring consistency and reusability of data across different activities",
182753
- children: /* @__PURE__ */ d.jsx(Be, { component: "span", children: /* @__PURE__ */ d.jsx(Qe, { src: "ic_info", sx: { ...eo(i) } }) })
182933
+ children: /* @__PURE__ */ d.jsx(Be, { component: "span", children: /* @__PURE__ */ d.jsx(Qe, { src: "ic_info", sx: { ...to(i) } }) })
182754
182934
  }
182755
182935
  )
182756
182936
  ]
@@ -182762,7 +182942,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
182762
182942
  src: "ic_close",
182763
182943
  sx: {
182764
182944
  cursor: "pointer",
182765
- ...eo(i)
182945
+ ...to(i)
182766
182946
  },
182767
182947
  onClick: () => {
182768
182948
  r("");
@@ -182895,7 +183075,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
182895
183075
  src: "ic_close",
182896
183076
  sx: {
182897
183077
  cursor: "pointer",
182898
- ...eo(i)
183078
+ ...to(i)
182899
183079
  },
182900
183080
  onClick: () => {
182901
183081
  n("");
@@ -183218,7 +183398,7 @@ const aG = 1024 * 2, lG = 768 * 2, _ft = ({ nodes: e, edges: t, open: r, onClose
183218
183398
  src: "ic_close",
183219
183399
  sx: {
183220
183400
  cursor: "pointer",
183221
- ...eo(E)
183401
+ ...to(E)
183222
183402
  },
183223
183403
  onClick: () => {
183224
183404
  i("");
@@ -183713,13 +183893,13 @@ const Wft = ({ onUpgradeToPro: e }) => {
183713
183893
  setSelectedMenu: u,
183714
183894
  pro_integration: f,
183715
183895
  openUpgradeModal: p
183716
- } = e, h = wt(), A = Rr(), g = no(), [m, E] = ve({}), { setNodes: O } = no(), [v, y] = ve(""), [b, x] = ve(!0), S = Un() || "", C = [
183896
+ } = e, h = wt(), A = Rr(), g = io(), [m, E] = ve({}), { setNodes: O } = io(), [v, y] = ve(""), [b, x] = ve(!0), S = Un() || "", C = [
183717
183897
  { icon: "ic_all", label: "All" },
183718
183898
  { icon: "ic_apps", label: "Integrations" },
183719
183899
  { icon: "ic_tools", label: "Built in tools" }
183720
183900
  ], [R, _] = ve(0), I = (K) => {
183721
183901
  _(K);
183722
- }, N = Pt(), D = Pt(null), { analytics: P, ENTITY_ID: L = "", WORKFLOW_URLS: F = {} } = io(), { captureEvent: U, WORKFLOW_EVENTS: k } = P || {}, { getNodes: X, getEdges: M } = no(), $ = xh(), V = X(), w = M(), { activities: B, triggers: j, activity_names: z } = Yt((K) => K.activities), { selectedPlaceholderId: G, canvasWorkflow: W } = Yt((K) => K.canvas), [H, Q] = ve([]), Y = (K) => {
183902
+ }, N = Pt(), D = Pt(null), { analytics: P, ENTITY_ID: L = "", WORKFLOW_URLS: F = {} } = zi(), { captureEvent: U, WORKFLOW_EVENTS: k } = P || {}, { getNodes: X, getEdges: M } = io(), $ = xh(), V = X(), w = M(), { activities: B, triggers: j, activity_names: z } = Yt((K) => K.activities), { selectedPlaceholderId: G, canvasWorkflow: W } = Yt((K) => K.canvas), [H, Q] = ve([]), Y = (K) => {
183723
183903
  const q = K.filter((ae) => ae.active ? R === 0 ? !0 : R === 1 ? Nf.includes(ae.type) : !Nf.includes(ae.type) : !1);
183724
183904
  if (n === "triggers") {
183725
183905
  const ae = { Triggers: { activities: q } };
@@ -184086,7 +184266,7 @@ const Wft = ({ onUpgradeToPro: e }) => {
184086
184266
  pro_integration: i,
184087
184267
  openUpgradeModal: o
184088
184268
  }) => {
184089
- const s = wt(), a = Rr(), { getNodes: l, getEdges: c, setNodes: u, setEdges: f } = no(), p = c(), h = l(), [A, g] = re.useState(""), { canvasWorkflow: m, showSideBar: E, selectedPlaceholderId: O } = Yt((X) => X.canvas), { retry_config: v } = m, { VORTEX_MAIN_URL: y, VORTEX_SYNC_DOMAIN: b } = r, x = is(), S = Un(x), C = Un(Hr.VERSION), { activitiesPopover: R } = Yt((X) => X.canvas), I = new URLSearchParams(window.location.search).get("source")?.toLowerCase(), N = () => Tt(m) ? !1 : x !== Hr.DRAFT, D = Zt(
184269
+ const s = wt(), a = Rr(), { getNodes: l, getEdges: c, setNodes: u, setEdges: f } = io(), p = c(), h = l(), [A, g] = re.useState(""), { canvasWorkflow: m, showSideBar: E, selectedPlaceholderId: O } = Yt((X) => X.canvas), { retry_config: v } = m, { VORTEX_MAIN_URL: y, VORTEX_SYNC_DOMAIN: b } = r, x = is(), S = Un(x), C = Un(Hr.VERSION), { activitiesPopover: R } = Yt((X) => X.canvas), I = new URLSearchParams(window.location.search).get("source")?.toLowerCase(), N = () => Tt(m) ? !1 : x !== Hr.DRAFT, D = Zt(
184090
184270
  () => [
184091
184271
  {
184092
184272
  label: "Add activity",
@@ -184785,6 +184965,7 @@ const Wft = ({ onUpgradeToPro: e }) => {
184785
184965
  ENTITY_ID: r,
184786
184966
  analytics: a,
184787
184967
  userData: l,
184968
+ openUpgradeModal: h,
184788
184969
  openAddonModal: A,
184789
184970
  currentSubscription: u,
184790
184971
  allowedAccount: p,
@@ -189220,7 +189401,7 @@ const FG = () => {
189220
189401
  JETBRIDGE_DASHBOARD_ACCOUNT_ID: t.JETBRIDGE_DASHBOARD_ACCOUNT_ID ?? "",
189221
189402
  JETBRIDGE_DASHBOARD_USER_ID: t.JETBRIDGE_DASHBOARD_USER_ID ?? ""
189222
189403
  }), AAt = ({ dashboardId: e, workflowId: t, startDate: r, endDate: n }) => {
189223
- const i = wt(), { ENTITY_ID: o, userData: s, WORKFLOW_URLS: a } = io(), { FYND_CLOUD_DOMAIN: l } = a, c = u4(), u = t ?? c ?? "", [f, p] = ve(!1), h = Zt(() => {
189404
+ const i = wt(), { ENTITY_ID: o, userData: s, WORKFLOW_URLS: a } = zi(), { FYND_CLOUD_DOMAIN: l } = a, c = u4(), u = t ?? c ?? "", [f, p] = ve(!1), h = Zt(() => {
189224
189405
  const g = l || "", m = {
189225
189406
  ANALYTICS_AUTH_TOKEN: a?.ANALYTICS_AUTH_TOKEN,
189226
189407
  JETBRIDGE_DASHBOARD_ACCOUNT_ID: a?.JETBRIDGE_DASHBOARD_ACCOUNT_ID,
@@ -189627,7 +189808,7 @@ const FG = () => {
189627
189808
  e.cooldownIds
189628
189809
  ]
189629
189810
  ), kG = (e) => {
189630
- const t = Rr(), { WORKFLOW_URLS: r, ENTITY_ID: n, analytics: i } = io(), { height: o, workflowId: s, state: a, fetchCounts: l, loadingStats: c } = e, { VORTEX_MAIN_URL: u } = r, f = () => {
189811
+ const t = Rr(), { WORKFLOW_URLS: r, ENTITY_ID: n, analytics: i } = zi(), { height: o, workflowId: s, state: a, fetchCounts: l, loadingStats: c } = e, { VORTEX_MAIN_URL: u } = r, f = () => {
189631
189812
  e.onRefresh ? e.onRefresh() : (t(
189632
189813
  jm(
189633
189814
  s,
@@ -190993,7 +191174,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
190993
191174
  {
190994
191175
  fallback: /* @__PURE__ */ d.jsx(ce, { sx: { ...fo, p: 2 }, children: /* @__PURE__ */ d.jsx($i, { size: 30 }) }),
190995
191176
  children: /* @__PURE__ */ d.jsx(
190996
- ro,
191177
+ no,
190997
191178
  {
190998
191179
  height: "calc(100vh - 440px)",
190999
191180
  size: "lg",
@@ -191032,7 +191213,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191032
191213
  {
191033
191214
  fallback: /* @__PURE__ */ d.jsx(ce, { sx: { ...fo, p: 2 }, children: /* @__PURE__ */ d.jsx($i, { size: 30 }) }),
191034
191215
  children: /* @__PURE__ */ d.jsx(
191035
- ro,
191216
+ no,
191036
191217
  {
191037
191218
  height: "calc(100vh - 440px)",
191038
191219
  size: "lg",
@@ -191069,7 +191250,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191069
191250
  {
191070
191251
  fallback: /* @__PURE__ */ d.jsx(ce, { sx: { ...fo, p: 2 }, children: /* @__PURE__ */ d.jsx($i, { size: 30 }) }),
191071
191252
  children: /* @__PURE__ */ d.jsx(
191072
- ro,
191253
+ no,
191073
191254
  {
191074
191255
  height: "calc(100vh - 440px)",
191075
191256
  size: "lg",
@@ -191094,7 +191275,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191094
191275
  {
191095
191276
  fallback: /* @__PURE__ */ d.jsx(ce, { sx: { ...fo, p: 2 }, children: /* @__PURE__ */ d.jsx(Qe, { src: "ic_loading", width: 30, height: 30 }) }),
191096
191277
  children: /* @__PURE__ */ d.jsx(
191097
- ro,
191278
+ no,
191098
191279
  {
191099
191280
  height: "calc(100vh - 440px)",
191100
191281
  size: "lg",
@@ -191148,7 +191329,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191148
191329
  parentExecutionStatus: n,
191149
191330
  currentStatus: i
191150
191331
  }) => {
191151
- const o = wt(), { WORKFLOW_URLS: s, ENTITY_ID: a } = io(), { VORTEX_MAIN_URL: l } = s, [c, u] = ve(null), f = !!c, [p, h] = ve(!1), [A, g] = ve([]), [m, E] = ve(null), O = async () => {
191332
+ const o = wt(), { WORKFLOW_URLS: s, ENTITY_ID: a } = zi(), { VORTEX_MAIN_URL: l } = s, [c, u] = ve(null), f = !!c, [p, h] = ve(!1), [A, g] = ve([]), [m, E] = ve(null), O = async () => {
191152
191333
  if (E(null), !!r) {
191153
191334
  h(!0);
191154
191335
  try {
@@ -191318,7 +191499,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191318
191499
  )
191319
191500
  ] }) });
191320
191501
  }, BAt = (e) => {
191321
- const t = wt(), r = Rr(), { WORKFLOW_URLS: n, ENTITY_ID: i, analytics: o } = io(), { VORTEX_MAIN_URL: s } = n, { executionId: a, parentExecutionId: l, parentExecutionStatus: c } = e, u = u4(), { executionLogs: f } = Yt((ee) => ee.workflows), { activities: p, triggers: h } = Yt((ee) => ee.activities), [A, g] = ve("Data in"), [m, E] = ve("GUI"), [O, v] = ve(null), [y, b] = ve(""), [x, S] = ve([]), [C, R] = ve(!1), [_, I] = ve(!1), [N, D] = ve(!1), [P, L] = ve(!1), { retryExecutions: F } = _ae({
191502
+ const t = wt(), r = Rr(), { WORKFLOW_URLS: n, ENTITY_ID: i, analytics: o } = zi(), { VORTEX_MAIN_URL: s } = n, { executionId: a, parentExecutionId: l, parentExecutionStatus: c } = e, u = u4(), { executionLogs: f } = Yt((ee) => ee.workflows), { activities: p, triggers: h } = Yt((ee) => ee.activities), [A, g] = ve("Data in"), [m, E] = ve("GUI"), [O, v] = ve(null), [y, b] = ve(""), [x, S] = ve([]), [C, R] = ve(!1), [_, I] = ve(!1), [N, D] = ve(!1), [P, L] = ve(!1), { retryExecutions: F } = _ae({
191322
191503
  workflowId: u ?? void 0,
191323
191504
  VORTEX_MAIN_URL: s,
191324
191505
  ENTITY_ID: i
@@ -191696,7 +191877,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191696
191877
  border: `1px solid ${t.palette.grey[300]}`,
191697
191878
  p: 0.5,
191698
191879
  ":hover": { backgroundColor: "transparent" },
191699
- ...eo(t)
191880
+ ...to(t)
191700
191881
  },
191701
191882
  children: /* @__PURE__ */ d.jsx(Qe, { src: "ic_refresh", width: 16, height: 16 })
191702
191883
  }
@@ -191716,7 +191897,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191716
191897
  p: 0.5,
191717
191898
  opacity: M && !k ? 1 : 0.4,
191718
191899
  ":hover": { backgroundColor: "transparent" },
191719
- ...eo(t)
191900
+ ...to(t)
191720
191901
  },
191721
191902
  children: /* @__PURE__ */ d.jsx(
191722
191903
  Qe,
@@ -191743,7 +191924,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191743
191924
  p: 0.5,
191744
191925
  opacity: $ && !k ? 1 : 0.4,
191745
191926
  ":hover": { backgroundColor: "transparent" },
191746
- ...eo(t)
191927
+ ...to(t)
191747
191928
  },
191748
191929
  children: /* @__PURE__ */ d.jsx(
191749
191930
  Qe,
@@ -191895,7 +192076,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
191895
192076
  tr,
191896
192077
  {
191897
192078
  onClick: t,
191898
- sx: { cursor: "pointer", p: 0, width: 24, height: 24, ...eo(n) },
192079
+ sx: { cursor: "pointer", p: 0, width: 24, height: 24, ...to(n) },
191899
192080
  "data-testid": "executions-back-button",
191900
192081
  children: /* @__PURE__ */ d.jsx(Qe, { src: "ic_back", width: 24, height: 24, fill: n.palette.neutral.solid.bg })
191901
192082
  }
@@ -192806,7 +192987,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
192806
192987
  sx: {
192807
192988
  border: "1px solid",
192808
192989
  borderColor: t.palette.neutral.outlined.border,
192809
- ...eo(t)
192990
+ ...to(t)
192810
192991
  },
192811
192992
  onClick: R,
192812
192993
  "data-testid": "refresh-button",
@@ -194189,7 +194370,7 @@ const jG = /* @__PURE__ */ ai(OAt), yAt = (e) => {
194189
194370
  }
194190
194371
  }, []);
194191
194372
  }, mmt = (e) => {
194192
- const t = wt(), r = Rr(), { WORKFLOW_URLS: n, ENTITY_ID: i, analytics: o } = io(), { VORTEX_MAIN_URL: s } = n, {
194373
+ const t = wt(), r = Rr(), { WORKFLOW_URLS: n, ENTITY_ID: i, analytics: o } = zi(), { VORTEX_MAIN_URL: s } = n, {
194193
194374
  executionId: a = "",
194194
194375
  token: l,
194195
194376
  api: c,