@motiadev/plugin-endpoint 0.15.0-beta.165 → 0.15.1-beta.166

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/index.js CHANGED
@@ -16,21 +16,25 @@ import { atomDark, oneLight } from "react-syntax-highlighter/dist/esm/styles/pri
16
16
 
17
17
  //#region src/components/endpoints-search.tsx
18
18
  const EndpointsSearch = (t0) => {
19
- const $ = c(15);
19
+ const $ = c(16);
20
+ if ($[0] !== "b04fe9fcf2dc81964e7b2f3a7fac01e0ffd66006443485e8e32bf9d2d88776cf") {
21
+ for (let $i = 0; $i < 16; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
22
+ $[0] = "b04fe9fcf2dc81964e7b2f3a7fac01e0ffd66006443485e8e32bf9d2d88776cf";
23
+ }
20
24
  const { value, onChange, onClear } = t0;
21
25
  let t1;
22
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
26
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
23
27
  t1 = /* @__PURE__ */ jsx(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground/50" });
24
- $[0] = t1;
25
- } else t1 = $[0];
28
+ $[1] = t1;
29
+ } else t1 = $[1];
26
30
  let t2;
27
- if ($[1] !== onChange) {
31
+ if ($[2] !== onChange) {
28
32
  t2 = (e) => onChange(e.target.value);
29
- $[1] = onChange;
30
- $[2] = t2;
31
- } else t2 = $[2];
33
+ $[2] = onChange;
34
+ $[3] = t2;
35
+ } else t2 = $[3];
32
36
  let t3;
33
- if ($[3] !== t2 || $[4] !== value) {
37
+ if ($[4] !== t2 || $[5] !== value) {
34
38
  t3 = /* @__PURE__ */ jsx(Input, {
35
39
  variant: "shade",
36
40
  value,
@@ -38,34 +42,34 @@ const EndpointsSearch = (t0) => {
38
42
  className: "px-9! font-medium",
39
43
  placeholder: "Search by Method or Path"
40
44
  });
41
- $[3] = t2;
42
- $[4] = value;
43
- $[5] = t3;
44
- } else t3 = $[5];
45
+ $[4] = t2;
46
+ $[5] = value;
47
+ $[6] = t3;
48
+ } else t3 = $[6];
45
49
  const t4 = value !== "";
46
50
  const t5 = value === "";
47
51
  let t6;
48
- if ($[6] !== t4 || $[7] !== t5) {
52
+ if ($[7] !== t4 || $[8] !== t5) {
49
53
  t6 = cn("cursor-pointer absolute right-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground/50 hover:text-muted-foreground", {
50
54
  visible: t4,
51
55
  invisible: t5
52
56
  });
53
- $[6] = t4;
54
- $[7] = t5;
55
- $[8] = t6;
56
- } else t6 = $[8];
57
+ $[7] = t4;
58
+ $[8] = t5;
59
+ $[9] = t6;
60
+ } else t6 = $[9];
57
61
  let t7;
58
- if ($[9] !== onClear || $[10] !== t6) {
62
+ if ($[10] !== onClear || $[11] !== t6) {
59
63
  t7 = /* @__PURE__ */ jsx(X, {
60
64
  className: t6,
61
65
  onClick: onClear
62
66
  });
63
- $[9] = onClear;
64
- $[10] = t6;
65
- $[11] = t7;
66
- } else t7 = $[11];
67
+ $[10] = onClear;
68
+ $[11] = t6;
69
+ $[12] = t7;
70
+ } else t7 = $[12];
67
71
  let t8;
68
- if ($[12] !== t3 || $[13] !== t7) {
72
+ if ($[13] !== t3 || $[14] !== t7) {
69
73
  t8 = /* @__PURE__ */ jsx("div", {
70
74
  className: "p-2 border-b gap-4",
71
75
  "data-testid": "endpoints-search-container",
@@ -78,10 +82,10 @@ const EndpointsSearch = (t0) => {
78
82
  ]
79
83
  })
80
84
  });
81
- $[12] = t3;
82
- $[13] = t7;
83
- $[14] = t8;
84
- } else t8 = $[14];
85
+ $[13] = t3;
86
+ $[14] = t7;
87
+ $[15] = t8;
88
+ } else t8 = $[15];
85
89
  return t8;
86
90
  };
87
91
 
@@ -100,64 +104,76 @@ const getMethodStyles = (method) => {
100
104
  }
101
105
  };
102
106
  const EndpointBadge = memo((t0) => {
103
- const $ = c(10);
107
+ const $ = c(11);
108
+ if ($[0] !== "1017d069da7af8d79b772819cd6ea273bc02186be5bf8c70750727fd63506daa") {
109
+ for (let $i = 0; $i < 11; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
110
+ $[0] = "1017d069da7af8d79b772819cd6ea273bc02186be5bf8c70750727fd63506daa";
111
+ }
104
112
  let className;
105
113
  let props;
106
114
  let variant;
107
- if ($[0] !== t0) {
115
+ if ($[1] !== t0) {
108
116
  ({className, variant, ...props} = t0);
109
- $[0] = t0;
110
- $[1] = className;
111
- $[2] = props;
112
- $[3] = variant;
117
+ $[1] = t0;
118
+ $[2] = className;
119
+ $[3] = props;
120
+ $[4] = variant;
113
121
  } else {
114
- className = $[1];
115
- props = $[2];
116
- variant = $[3];
122
+ className = $[2];
123
+ props = $[3];
124
+ variant = $[4];
117
125
  }
118
126
  let t1;
119
- if ($[4] !== className || $[5] !== variant) {
127
+ if ($[5] !== className || $[6] !== variant) {
120
128
  t1 = cn("rounded-lg px-2 py-0.5 text-xs font-mono font-bold transition-colors", getMethodStyles(variant), className);
121
- $[4] = className;
122
- $[5] = variant;
123
- $[6] = t1;
124
- } else t1 = $[6];
129
+ $[5] = className;
130
+ $[6] = variant;
131
+ $[7] = t1;
132
+ } else t1 = $[7];
125
133
  let t2;
126
- if ($[7] !== props || $[8] !== t1) {
134
+ if ($[8] !== props || $[9] !== t1) {
127
135
  t2 = /* @__PURE__ */ jsx("div", {
128
136
  className: t1,
129
137
  ...props
130
138
  });
131
- $[7] = props;
132
- $[8] = t1;
133
- $[9] = t2;
134
- } else t2 = $[9];
139
+ $[8] = props;
140
+ $[9] = t1;
141
+ $[10] = t2;
142
+ } else t2 = $[10];
135
143
  return t2;
136
144
  });
137
145
 
138
146
  //#endregion
139
147
  //#region src/components/endpoint-path.tsx
140
148
  const PathSeparator = () => {
141
- const $ = c(1);
149
+ const $ = c(2);
150
+ if ($[0] !== "603f796b38bb9b15093370b94bc9b921b7621c9f6baa94432316d5a5ca450c9c") {
151
+ for (let $i = 0; $i < 2; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
152
+ $[0] = "603f796b38bb9b15093370b94bc9b921b7621c9f6baa94432316d5a5ca450c9c";
153
+ }
142
154
  let t0;
143
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
155
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
144
156
  t0 = /* @__PURE__ */ jsx("div", {
145
157
  className: "text-muted-foreground",
146
158
  children: "/"
147
159
  });
148
- $[0] = t0;
149
- } else t0 = $[0];
160
+ $[1] = t0;
161
+ } else t0 = $[1];
150
162
  return t0;
151
163
  };
152
164
  const EndpointPath = (t0) => {
153
- const $ = c(13);
165
+ const $ = c(14);
166
+ if ($[0] !== "603f796b38bb9b15093370b94bc9b921b7621c9f6baa94432316d5a5ca450c9c") {
167
+ for (let $i = 0; $i < 14; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
168
+ $[0] = "603f796b38bb9b15093370b94bc9b921b7621c9f6baa94432316d5a5ca450c9c";
169
+ }
154
170
  const { method, path } = t0;
155
171
  let t1;
156
- if ($[0] !== path) {
172
+ if ($[1] !== path) {
157
173
  const parts = path.split("/").filter(Boolean);
158
174
  const partsLength = parts.length - 1;
159
175
  let t2$1;
160
- if ($[2] !== partsLength) {
176
+ if ($[3] !== partsLength) {
161
177
  t2$1 = (part, index) => {
162
178
  const isLast = index === partsLength;
163
179
  const key = `part-${part}-${index}`;
@@ -168,74 +184,78 @@ const EndpointPath = (t0) => {
168
184
  }, key), separator];
169
185
  return [/* @__PURE__ */ jsx("div", { children: part }, key), separator];
170
186
  };
171
- $[2] = partsLength;
172
- $[3] = t2$1;
173
- } else t2$1 = $[3];
187
+ $[3] = partsLength;
188
+ $[4] = t2$1;
189
+ } else t2$1 = $[4];
174
190
  t1 = parts.flatMap(t2$1);
175
- $[0] = path;
176
- $[1] = t1;
177
- } else t1 = $[1];
191
+ $[1] = path;
192
+ $[2] = t1;
193
+ } else t1 = $[2];
178
194
  const pathView = t1;
179
195
  const t2 = method;
180
196
  let t3;
181
- if ($[4] !== method || $[5] !== t2) {
197
+ if ($[5] !== method || $[6] !== t2) {
182
198
  t3 = /* @__PURE__ */ jsx(EndpointBadge, {
183
199
  variant: t2,
184
200
  children: method
185
201
  });
186
- $[4] = method;
187
- $[5] = t2;
188
- $[6] = t3;
189
- } else t3 = $[6];
202
+ $[5] = method;
203
+ $[6] = t2;
204
+ $[7] = t3;
205
+ } else t3 = $[7];
190
206
  let t4;
191
- if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
207
+ if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
192
208
  t4 = /* @__PURE__ */ jsx(PathSeparator, {});
193
- $[7] = t4;
194
- } else t4 = $[7];
209
+ $[8] = t4;
210
+ } else t4 = $[8];
195
211
  let t5;
196
- if ($[8] !== pathView) {
212
+ if ($[9] !== pathView) {
197
213
  t5 = /* @__PURE__ */ jsxs("span", {
198
214
  className: "font-mono font-bold whitespace-nowrap flex flex-row gap-2 items-center truncate",
199
215
  children: [t4, pathView]
200
216
  });
201
- $[8] = pathView;
202
- $[9] = t5;
203
- } else t5 = $[9];
217
+ $[9] = pathView;
218
+ $[10] = t5;
219
+ } else t5 = $[10];
204
220
  let t6;
205
- if ($[10] !== t3 || $[11] !== t5) {
221
+ if ($[11] !== t3 || $[12] !== t5) {
206
222
  t6 = /* @__PURE__ */ jsxs("div", {
207
223
  className: "grid grid-cols-[auto_1fr] gap-2 items-center",
208
224
  children: [t3, t5]
209
225
  });
210
- $[10] = t3;
211
- $[11] = t5;
212
- $[12] = t6;
213
- } else t6 = $[12];
226
+ $[11] = t3;
227
+ $[12] = t5;
228
+ $[13] = t6;
229
+ } else t6 = $[13];
214
230
  return t6;
215
231
  };
216
232
 
217
233
  //#endregion
218
234
  //#region src/components/endpoint-item.tsx
219
235
  const EndpointItem = (t0) => {
220
- const $ = c(21);
236
+ const $ = c(22);
237
+ if ($[0] !== "29651f7b7dd25cd15fa149793a83da8eadabea6c1b2d872f1881f15627da1c3a") {
238
+ for (let $i = 0; $i < 22; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
239
+ $[0] = "29651f7b7dd25cd15fa149793a83da8eadabea6c1b2d872f1881f15627da1c3a";
240
+ }
221
241
  const { endpoint, isSelected, isLast, onSelect } = t0;
222
242
  const t1 = `endpoint-${endpoint.method}-${endpoint.path}`;
223
243
  let t2;
224
- if ($[0] !== endpoint.id || $[1] !== onSelect) {
244
+ if ($[1] !== endpoint.id || $[2] !== onSelect) {
225
245
  t2 = () => onSelect(endpoint.id);
226
- $[0] = endpoint.id;
227
- $[1] = onSelect;
228
- $[2] = t2;
229
- } else t2 = $[2];
246
+ $[1] = endpoint.id;
247
+ $[2] = onSelect;
248
+ $[3] = t2;
249
+ } else t2 = $[3];
230
250
  const t3 = isSelected && "bg-muted-foreground/10";
231
251
  let t4;
232
- if ($[3] !== t3) {
252
+ if ($[4] !== t3) {
233
253
  t4 = cn("grid grid-cols-[auto_1fr] items-center justify-center px-[17px] select-none hover:bg-muted-foreground/10 cursor-pointer", t3);
234
- $[3] = t3;
235
- $[4] = t4;
236
- } else t4 = $[4];
254
+ $[4] = t3;
255
+ $[5] = t4;
256
+ } else t4 = $[5];
237
257
  let t5;
238
- if ($[5] !== isLast) {
258
+ if ($[6] !== isLast) {
239
259
  t5 = isLast ? /* @__PURE__ */ jsx("svg", {
240
260
  width: "14",
241
261
  height: "34",
@@ -257,106 +277,110 @@ const EndpointItem = (t0) => {
257
277
  className: "fill-[#555]"
258
278
  })
259
279
  });
260
- $[5] = isLast;
261
- $[6] = t5;
262
- } else t5 = $[6];
280
+ $[6] = isLast;
281
+ $[7] = t5;
282
+ } else t5 = $[7];
263
283
  let t6;
264
- if ($[7] !== endpoint.method || $[8] !== endpoint.path) {
284
+ if ($[8] !== endpoint.method || $[9] !== endpoint.path) {
265
285
  t6 = /* @__PURE__ */ jsx(EndpointPath, {
266
286
  method: endpoint.method,
267
287
  path: endpoint.path
268
288
  });
269
- $[7] = endpoint.method;
270
- $[8] = endpoint.path;
271
- $[9] = t6;
272
- } else t6 = $[9];
289
+ $[8] = endpoint.method;
290
+ $[9] = endpoint.path;
291
+ $[10] = t6;
292
+ } else t6 = $[10];
273
293
  let t7;
274
- if ($[10] !== endpoint.description) {
294
+ if ($[11] !== endpoint.description) {
275
295
  t7 = /* @__PURE__ */ jsx("span", {
276
296
  className: "text-sm text-muted-foreground truncate",
277
297
  children: endpoint.description
278
298
  });
279
- $[10] = endpoint.description;
280
- $[11] = t7;
281
- } else t7 = $[11];
299
+ $[11] = endpoint.description;
300
+ $[12] = t7;
301
+ } else t7 = $[12];
282
302
  let t8;
283
- if ($[12] !== t6 || $[13] !== t7) {
303
+ if ($[13] !== t6 || $[14] !== t7) {
284
304
  t8 = /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs("div", {
285
305
  className: "grid grid-cols-[auto_1fr] items-center gap-3 px-2",
286
306
  children: [t6, t7]
287
307
  }) });
288
- $[12] = t6;
289
- $[13] = t7;
290
- $[14] = t8;
291
- } else t8 = $[14];
308
+ $[13] = t6;
309
+ $[14] = t7;
310
+ $[15] = t8;
311
+ } else t8 = $[15];
292
312
  let t9;
293
- if ($[15] !== t1 || $[16] !== t2 || $[17] !== t4 || $[18] !== t5 || $[19] !== t8) {
313
+ if ($[16] !== t1 || $[17] !== t2 || $[18] !== t4 || $[19] !== t5 || $[20] !== t8) {
294
314
  t9 = /* @__PURE__ */ jsxs("div", {
295
315
  "data-testid": t1,
296
316
  onClick: t2,
297
317
  className: t4,
298
318
  children: [t5, t8]
299
319
  });
300
- $[15] = t1;
301
- $[16] = t2;
302
- $[17] = t4;
303
- $[18] = t5;
304
- $[19] = t8;
305
- $[20] = t9;
306
- } else t9 = $[20];
320
+ $[16] = t1;
321
+ $[17] = t2;
322
+ $[18] = t4;
323
+ $[19] = t5;
324
+ $[20] = t8;
325
+ $[21] = t9;
326
+ } else t9 = $[21];
307
327
  return t9;
308
328
  };
309
329
 
310
330
  //#endregion
311
331
  //#region src/components/flow-group.tsx
312
332
  const FlowGroup = (t0) => {
313
- const $ = c(40);
333
+ const $ = c(41);
334
+ if ($[0] !== "a80b3cb43bb62d012f095b7847fb01d92f2a4fcd29fc05244f6ae839f1f0b9de") {
335
+ for (let $i = 0; $i < 41; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
336
+ $[0] = "a80b3cb43bb62d012f095b7847fb01d92f2a4fcd29fc05244f6ae839f1f0b9de";
337
+ }
314
338
  const { flow, endpoints, isOpen, isSelected, onToggle, onClearSelection, selectedEndpointId, onSelectEndpoint } = t0;
315
339
  const t1 = `flow-group-${flow}`;
316
340
  let t2;
317
- if ($[0] !== flow || $[1] !== isSelected || $[2] !== onClearSelection || $[3] !== onToggle) {
341
+ if ($[1] !== flow || $[2] !== isSelected || $[3] !== onClearSelection || $[4] !== onToggle) {
318
342
  t2 = () => {
319
343
  if (isSelected) onClearSelection();
320
344
  onToggle(flow);
321
345
  };
322
- $[0] = flow;
323
- $[1] = isSelected;
324
- $[2] = onClearSelection;
325
- $[3] = onToggle;
326
- $[4] = t2;
327
- } else t2 = $[4];
346
+ $[1] = flow;
347
+ $[2] = isSelected;
348
+ $[3] = onClearSelection;
349
+ $[4] = onToggle;
350
+ $[5] = t2;
351
+ } else t2 = $[5];
328
352
  let t3;
329
- if ($[5] !== isOpen) {
353
+ if ($[6] !== isOpen) {
330
354
  t3 = cn("w-4 h-4 transition-transform duration-300 text-[#555]", { "rotate-180 mt-2.5": isOpen });
331
- $[5] = isOpen;
332
- $[6] = t3;
333
- } else t3 = $[6];
355
+ $[6] = isOpen;
356
+ $[7] = t3;
357
+ } else t3 = $[7];
334
358
  let t4;
335
- if ($[7] !== t3) {
359
+ if ($[8] !== t3) {
336
360
  t4 = /* @__PURE__ */ jsx(ChevronDown, {
337
361
  className: t3,
338
362
  strokeWidth: 1.5
339
363
  });
340
- $[7] = t3;
341
- $[8] = t4;
342
- } else t4 = $[8];
364
+ $[8] = t3;
365
+ $[9] = t4;
366
+ } else t4 = $[9];
343
367
  const t5 = !isOpen;
344
368
  let t6;
345
- if ($[9] !== t5) {
369
+ if ($[10] !== t5) {
346
370
  t6 = cn("ml-[7px]", { hidden: t5 });
347
- $[9] = t5;
348
- $[10] = t6;
349
- } else t6 = $[10];
371
+ $[10] = t5;
372
+ $[11] = t6;
373
+ } else t6 = $[11];
350
374
  let t7;
351
- if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
375
+ if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
352
376
  t7 = /* @__PURE__ */ jsx("path", {
353
377
  d: "M1.5 1C1.5 0.723858 1.27614 0.5 1 0.5C0.723858 0.5 0.5 0.723858 0.5 1H1H1.5ZM1 1H0.5V10H1H1.5V1H1Z",
354
378
  className: "fill-[#555]"
355
379
  });
356
- $[11] = t7;
357
- } else t7 = $[11];
380
+ $[12] = t7;
381
+ } else t7 = $[12];
358
382
  let t8;
359
- if ($[12] !== t6) {
383
+ if ($[13] !== t6) {
360
384
  t8 = /* @__PURE__ */ jsx("svg", {
361
385
  xmlns: "http://www.w3.org/2000/svg",
362
386
  width: "2",
@@ -366,90 +390,90 @@ const FlowGroup = (t0) => {
366
390
  className: t6,
367
391
  children: t7
368
392
  });
369
- $[12] = t6;
370
- $[13] = t8;
371
- } else t8 = $[13];
393
+ $[13] = t6;
394
+ $[14] = t8;
395
+ } else t8 = $[14];
372
396
  let t9;
373
- if ($[14] !== t4 || $[15] !== t8) {
397
+ if ($[15] !== t4 || $[16] !== t8) {
374
398
  t9 = /* @__PURE__ */ jsxs("div", {
375
399
  className: "grid grid-cols-1",
376
400
  children: [t4, t8]
377
401
  });
378
- $[14] = t4;
379
- $[15] = t8;
380
- $[16] = t9;
381
- } else t9 = $[16];
402
+ $[15] = t4;
403
+ $[16] = t8;
404
+ $[17] = t9;
405
+ } else t9 = $[17];
382
406
  let t10;
383
- if ($[17] !== flow) {
407
+ if ($[18] !== flow) {
384
408
  t10 = /* @__PURE__ */ jsx("h3", {
385
409
  className: "text-sm font-medium text-left",
386
410
  children: flow
387
411
  });
388
- $[17] = flow;
389
- $[18] = t10;
390
- } else t10 = $[18];
412
+ $[18] = flow;
413
+ $[19] = t10;
414
+ } else t10 = $[19];
391
415
  let t11;
392
- if ($[19] !== t1 || $[20] !== t10 || $[21] !== t2 || $[22] !== t9) {
416
+ if ($[20] !== t1 || $[21] !== t10 || $[22] !== t2 || $[23] !== t9) {
393
417
  t11 = /* @__PURE__ */ jsxs("button", {
394
418
  "data-testid": t1,
395
419
  className: "w-full grid grid-cols-[auto_1fr] items-center gap-3 hover:bg-muted/40 cursor-pointer min-h-8.5 select-none hover:bg-muted-foreground/10 px-4",
396
420
  onClick: t2,
397
421
  children: [t9, t10]
398
422
  });
399
- $[19] = t1;
400
- $[20] = t10;
401
- $[21] = t2;
402
- $[22] = t9;
403
- $[23] = t11;
404
- } else t11 = $[23];
423
+ $[20] = t1;
424
+ $[21] = t10;
425
+ $[22] = t2;
426
+ $[23] = t9;
427
+ $[24] = t11;
428
+ } else t11 = $[24];
405
429
  const t12 = !isOpen;
406
430
  let t13;
407
- if ($[24] !== t12) {
431
+ if ($[25] !== t12) {
408
432
  t13 = cn("grid grid-cols-1 items-center justify-center", { hidden: t12 });
409
- $[24] = t12;
410
- $[25] = t13;
411
- } else t13 = $[25];
433
+ $[25] = t12;
434
+ $[26] = t13;
435
+ } else t13 = $[26];
412
436
  let t14;
413
- if ($[26] !== endpoints || $[27] !== onSelectEndpoint || $[28] !== selectedEndpointId) {
437
+ if ($[27] !== endpoints || $[28] !== onSelectEndpoint || $[29] !== selectedEndpointId) {
414
438
  let t15$1;
415
- if ($[30] !== endpoints.length || $[31] !== onSelectEndpoint || $[32] !== selectedEndpointId) {
439
+ if ($[31] !== endpoints.length || $[32] !== onSelectEndpoint || $[33] !== selectedEndpointId) {
416
440
  t15$1 = (endpoint, index) => /* @__PURE__ */ jsx(EndpointItem, {
417
441
  endpoint,
418
442
  isSelected: selectedEndpointId === endpoint.id,
419
443
  isLast: index === endpoints.length - 1,
420
444
  onSelect: onSelectEndpoint
421
445
  }, endpoint.id);
422
- $[30] = endpoints.length;
423
- $[31] = onSelectEndpoint;
424
- $[32] = selectedEndpointId;
425
- $[33] = t15$1;
426
- } else t15$1 = $[33];
446
+ $[31] = endpoints.length;
447
+ $[32] = onSelectEndpoint;
448
+ $[33] = selectedEndpointId;
449
+ $[34] = t15$1;
450
+ } else t15$1 = $[34];
427
451
  t14 = endpoints.map(t15$1);
428
- $[26] = endpoints;
429
- $[27] = onSelectEndpoint;
430
- $[28] = selectedEndpointId;
431
- $[29] = t14;
432
- } else t14 = $[29];
452
+ $[27] = endpoints;
453
+ $[28] = onSelectEndpoint;
454
+ $[29] = selectedEndpointId;
455
+ $[30] = t14;
456
+ } else t14 = $[30];
433
457
  let t15;
434
- if ($[34] !== t13 || $[35] !== t14) {
458
+ if ($[35] !== t13 || $[36] !== t14) {
435
459
  t15 = /* @__PURE__ */ jsx("div", {
436
460
  className: t13,
437
461
  children: t14
438
462
  });
439
- $[34] = t13;
440
- $[35] = t14;
441
- $[36] = t15;
442
- } else t15 = $[36];
463
+ $[35] = t13;
464
+ $[36] = t14;
465
+ $[37] = t15;
466
+ } else t15 = $[37];
443
467
  let t16;
444
- if ($[37] !== t11 || $[38] !== t15) {
468
+ if ($[38] !== t11 || $[39] !== t15) {
445
469
  t16 = /* @__PURE__ */ jsxs("div", {
446
470
  className: "pt-2",
447
471
  children: [t11, t15]
448
472
  });
449
- $[37] = t11;
450
- $[38] = t15;
451
- $[39] = t16;
452
- } else t16 = $[39];
473
+ $[38] = t11;
474
+ $[39] = t15;
475
+ $[40] = t16;
476
+ } else t16 = $[40];
453
477
  return t16;
454
478
  };
455
479
 
@@ -597,33 +621,37 @@ const useEndpointConfiguration = create()(persist(devtools((set) => ({
597
621
  //#endregion
598
622
  //#region src/hooks/use-get-endpoints.ts
599
623
  const useGetEndpoints = () => {
600
- const $ = c(6);
624
+ const $ = c(7);
625
+ if ($[0] !== "cadd8d3432dfc6d2432c646eaf1f90c044b70a708974ecf5f816ef36004b4da0") {
626
+ for (let $i = 0; $i < 7; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
627
+ $[0] = "cadd8d3432dfc6d2432c646eaf1f90c044b70a708974ecf5f816ef36004b4da0";
628
+ }
601
629
  let t0;
602
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
630
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
603
631
  t0 = {
604
632
  streamName: "__motia.api-endpoints",
605
633
  groupId: "default"
606
634
  };
607
- $[0] = t0;
608
- } else t0 = $[0];
635
+ $[1] = t0;
636
+ } else t0 = $[1];
609
637
  const { data: endpoints } = useStreamGroup(t0);
610
638
  let t1;
611
- if ($[1] !== endpoints) {
639
+ if ($[2] !== endpoints) {
612
640
  t1 = endpoints.reduce(_temp$8, {});
613
- $[1] = endpoints;
614
- $[2] = t1;
615
- } else t1 = $[2];
641
+ $[2] = endpoints;
642
+ $[3] = t1;
643
+ } else t1 = $[3];
616
644
  const groupedEndpoints = t1;
617
645
  let t2;
618
- if ($[3] !== endpoints || $[4] !== groupedEndpoints) {
646
+ if ($[4] !== endpoints || $[5] !== groupedEndpoints) {
619
647
  t2 = {
620
648
  endpoints,
621
649
  groupedEndpoints
622
650
  };
623
- $[3] = endpoints;
624
- $[4] = groupedEndpoints;
625
- $[5] = t2;
626
- } else t2 = $[5];
651
+ $[4] = endpoints;
652
+ $[5] = groupedEndpoints;
653
+ $[6] = t2;
654
+ } else t2 = $[6];
627
655
  return t2;
628
656
  };
629
657
  function _temp$8(acc, endpoint) {
@@ -691,39 +719,47 @@ const convertSchemaToJson = (schema, rootSchema) => {
691
719
  //#endregion
692
720
  //#region src/hooks/use-json-schema-to-json.tsx
693
721
  const useJsonSchemaToJson = (schema) => {
694
- const $ = c(5);
722
+ const $ = c(6);
723
+ if ($[0] !== "ba29f15b5046bda288d763530dc1c4ad1bc3136b6950394508cecd61132b94a3") {
724
+ for (let $i = 0; $i < 6; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
725
+ $[0] = "ba29f15b5046bda288d763530dc1c4ad1bc3136b6950394508cecd61132b94a3";
726
+ }
695
727
  const [body, setBody] = useState("");
696
728
  let t0;
697
729
  let t1;
698
- if ($[0] !== schema) {
730
+ if ($[1] !== schema) {
699
731
  t0 = () => {
700
732
  if (schema) setBody(JSON.stringify(convertSchemaToJson(schema), null, 2));
701
733
  };
702
734
  t1 = [schema];
703
- $[0] = schema;
704
- $[1] = t0;
705
- $[2] = t1;
735
+ $[1] = schema;
736
+ $[2] = t0;
737
+ $[3] = t1;
706
738
  } else {
707
- t0 = $[1];
708
- t1 = $[2];
739
+ t0 = $[2];
740
+ t1 = $[3];
709
741
  }
710
742
  useEffect(t0, t1);
711
743
  let t2;
712
- if ($[3] !== body) {
744
+ if ($[4] !== body) {
713
745
  t2 = {
714
746
  body,
715
747
  setBody
716
748
  };
717
- $[3] = body;
718
- $[4] = t2;
719
- } else t2 = $[4];
749
+ $[4] = body;
750
+ $[5] = t2;
751
+ } else t2 = $[5];
720
752
  return t2;
721
753
  };
722
754
 
723
755
  //#endregion
724
756
  //#region src/spec/spec-body-panel.tsx
725
757
  const EndpointBodyPanel = (t0) => {
726
- const $ = c(8);
758
+ const $ = c(9);
759
+ if ($[0] !== "b8eff7f7ce8e9189baa5c639bfd152e5d0c4e2073eede72b1020744bec7ba947") {
760
+ for (let $i = 0; $i < 9; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
761
+ $[0] = "b8eff7f7ce8e9189baa5c639bfd152e5d0c4e2073eede72b1020744bec7ba947";
762
+ }
727
763
  const { endpoint, panelName, value } = t0;
728
764
  if (![
729
765
  "post",
@@ -732,29 +768,29 @@ const EndpointBodyPanel = (t0) => {
732
768
  ].includes(endpoint.method.toLowerCase())) return null;
733
769
  const t1 = `endpoint-body-panel__${panelName}`;
734
770
  let t2;
735
- if ($[0] !== value) {
771
+ if ($[1] !== value) {
736
772
  t2 = value ? JSON.parse(value) : {};
737
- $[0] = value;
738
- $[1] = t2;
739
- } else t2 = $[1];
773
+ $[1] = value;
774
+ $[2] = t2;
775
+ } else t2 = $[2];
740
776
  let t3;
741
- if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
777
+ if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
742
778
  t3 = { backgroundColor: "transparent" };
743
- $[2] = t3;
744
- } else t3 = $[2];
779
+ $[3] = t3;
780
+ } else t3 = $[3];
745
781
  let t4;
746
- if ($[3] !== t2) {
782
+ if ($[4] !== t2) {
747
783
  t4 = /* @__PURE__ */ jsx(ReactJson, {
748
784
  src: t2,
749
785
  theme: "default",
750
786
  enableClipboard: false,
751
787
  style: t3
752
788
  });
753
- $[3] = t2;
754
- $[4] = t4;
755
- } else t4 = $[4];
789
+ $[4] = t2;
790
+ $[5] = t4;
791
+ } else t4 = $[5];
756
792
  let t5;
757
- if ($[5] !== t1 || $[6] !== t4) {
793
+ if ($[6] !== t1 || $[7] !== t4) {
758
794
  t5 = /* @__PURE__ */ jsx(Panel, {
759
795
  title: "Body",
760
796
  size: "sm",
@@ -762,33 +798,37 @@ const EndpointBodyPanel = (t0) => {
762
798
  "data-testid": t1,
763
799
  children: t4
764
800
  });
765
- $[5] = t1;
766
- $[6] = t4;
767
- $[7] = t5;
768
- } else t5 = $[7];
801
+ $[6] = t1;
802
+ $[7] = t4;
803
+ $[8] = t5;
804
+ } else t5 = $[8];
769
805
  return t5;
770
806
  };
771
807
 
772
808
  //#endregion
773
809
  //#region src/spec/spec-path-params-panel.tsx
774
810
  const EndpointPathParamsPanel = (t0) => {
775
- const $ = c(5);
811
+ const $ = c(6);
812
+ if ($[0] !== "4b99c635b467b8c34956e7f3473f52521462aab54a3d1e16ce1af5ee24ede587") {
813
+ for (let $i = 0; $i < 6; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
814
+ $[0] = "4b99c635b467b8c34956e7f3473f52521462aab54a3d1e16ce1af5ee24ede587";
815
+ }
776
816
  const { endpoint } = t0;
777
817
  const pathParams = usePathParams(endpoint.path);
778
818
  if (!pathParams.length) return null;
779
819
  let t1;
780
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
820
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
781
821
  t1 = { gridTemplateColumns: "1fr 2fr" };
782
- $[0] = t1;
783
- } else t1 = $[0];
822
+ $[1] = t1;
823
+ } else t1 = $[1];
784
824
  let t2;
785
- if ($[1] !== pathParams) {
825
+ if ($[2] !== pathParams) {
786
826
  t2 = pathParams.map(_temp$7);
787
- $[1] = pathParams;
788
- $[2] = t2;
789
- } else t2 = $[2];
827
+ $[2] = pathParams;
828
+ $[3] = t2;
829
+ } else t2 = $[3];
790
830
  let t3;
791
- if ($[3] !== t2) {
831
+ if ($[4] !== t2) {
792
832
  t3 = /* @__PURE__ */ jsx(Panel, {
793
833
  title: "Path params",
794
834
  size: "sm",
@@ -799,9 +839,9 @@ const EndpointPathParamsPanel = (t0) => {
799
839
  children: t2
800
840
  })
801
841
  });
802
- $[3] = t2;
803
- $[4] = t3;
804
- } else t3 = $[4];
842
+ $[4] = t2;
843
+ $[5] = t3;
844
+ } else t3 = $[5];
805
845
  return t3;
806
846
  };
807
847
  function _temp$7(param) {
@@ -814,25 +854,29 @@ function _temp$7(param) {
814
854
  //#endregion
815
855
  //#region src/spec/spec-query-params-panel.tsx
816
856
  const EndpointQueryParamsPanel = (t0) => {
817
- const $ = c(5);
857
+ const $ = c(6);
858
+ if ($[0] !== "4e1364928f69469968044d4855a06c351178a75725f12806c407b9bdbee699b0") {
859
+ for (let $i = 0; $i < 6; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
860
+ $[0] = "4e1364928f69469968044d4855a06c351178a75725f12806c407b9bdbee699b0";
861
+ }
818
862
  const { endpoint } = t0;
819
863
  if (!endpoint.queryParams?.length) return null;
820
864
  let t1;
821
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
865
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
822
866
  t1 = {
823
867
  gridTemplateColumns: "1fr 2fr",
824
868
  gridTemplateRows: "1fr 1fr"
825
869
  };
826
- $[0] = t1;
827
- } else t1 = $[0];
870
+ $[1] = t1;
871
+ } else t1 = $[1];
828
872
  let t2;
829
- if ($[1] !== endpoint.queryParams) {
873
+ if ($[2] !== endpoint.queryParams) {
830
874
  t2 = endpoint.queryParams.map(_temp$6);
831
- $[1] = endpoint.queryParams;
832
- $[2] = t2;
833
- } else t2 = $[2];
875
+ $[2] = endpoint.queryParams;
876
+ $[3] = t2;
877
+ } else t2 = $[3];
834
878
  let t3;
835
- if ($[3] !== t2) {
879
+ if ($[4] !== t2) {
836
880
  t3 = /* @__PURE__ */ jsx(Panel, {
837
881
  title: "Query params",
838
882
  size: "sm",
@@ -843,9 +887,9 @@ const EndpointQueryParamsPanel = (t0) => {
843
887
  children: t2
844
888
  })
845
889
  });
846
- $[3] = t2;
847
- $[4] = t3;
848
- } else t3 = $[4];
890
+ $[4] = t2;
891
+ $[5] = t3;
892
+ } else t3 = $[5];
849
893
  return t3;
850
894
  };
851
895
  function _temp$6(param) {
@@ -861,19 +905,23 @@ function _temp$6(param) {
861
905
  //#endregion
862
906
  //#region src/spec/spec-response-schema.tsx
863
907
  const EndpointResponseSchemaItem = (t0) => {
864
- const $ = c(9);
908
+ const $ = c(10);
909
+ if ($[0] !== "e4de7b36c48b33b1d8a3aa52a415bcc5b35556fbd21c0f6bc47983adc48a77ce") {
910
+ for (let $i = 0; $i < 10; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
911
+ $[0] = "e4de7b36c48b33b1d8a3aa52a415bcc5b35556fbd21c0f6bc47983adc48a77ce";
912
+ }
865
913
  const { responseCode, bodySchema } = t0;
866
914
  const theme = useThemeStore(_temp$5);
867
915
  let t1;
868
- if ($[0] !== bodySchema) {
916
+ if ($[1] !== bodySchema) {
869
917
  t1 = convertSchemaToJson(bodySchema);
870
- $[0] = bodySchema;
871
- $[1] = t1;
872
- } else t1 = $[1];
918
+ $[1] = bodySchema;
919
+ $[2] = t1;
920
+ } else t1 = $[2];
873
921
  const schema = t1;
874
922
  const description = typeof bodySchema.description === "string" ? bodySchema.description : "";
875
923
  let t2;
876
- if ($[2] !== description || $[3] !== schema || $[4] !== theme) {
924
+ if ($[3] !== description || $[4] !== schema || $[5] !== theme) {
877
925
  t2 = /* @__PURE__ */ jsx("div", {
878
926
  className: "text-xs font-mono rounded-lg whitespace-pre-wrap",
879
927
  children: schema ? /* @__PURE__ */ jsx(ReactJson, {
@@ -886,37 +934,41 @@ const EndpointResponseSchemaItem = (t0) => {
886
934
  children: description
887
935
  })
888
936
  });
889
- $[2] = description;
890
- $[3] = schema;
891
- $[4] = theme;
892
- $[5] = t2;
893
- } else t2 = $[5];
937
+ $[3] = description;
938
+ $[4] = schema;
939
+ $[5] = theme;
940
+ $[6] = t2;
941
+ } else t2 = $[6];
894
942
  let t3;
895
- if ($[6] !== responseCode || $[7] !== t2) {
943
+ if ($[7] !== responseCode || $[8] !== t2) {
896
944
  t3 = /* @__PURE__ */ jsx(TabsContent, {
897
945
  value: responseCode,
898
946
  className: "border-t",
899
947
  children: t2
900
948
  }, responseCode);
901
- $[6] = responseCode;
902
- $[7] = t2;
903
- $[8] = t3;
904
- } else t3 = $[8];
949
+ $[7] = responseCode;
950
+ $[8] = t2;
951
+ $[9] = t3;
952
+ } else t3 = $[9];
905
953
  return t3;
906
954
  };
907
955
  const EndpointResponseSchema = (t0) => {
908
- const $ = c(10);
956
+ const $ = c(11);
957
+ if ($[0] !== "e4de7b36c48b33b1d8a3aa52a415bcc5b35556fbd21c0f6bc47983adc48a77ce") {
958
+ for (let $i = 0; $i < 11; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
959
+ $[0] = "e4de7b36c48b33b1d8a3aa52a415bcc5b35556fbd21c0f6bc47983adc48a77ce";
960
+ }
909
961
  const { items } = t0;
910
962
  if (items.length === 0) return null;
911
963
  const t1 = items[0].responseCode;
912
964
  let t2;
913
- if ($[0] !== items) {
965
+ if ($[1] !== items) {
914
966
  t2 = items.map(_temp2);
915
- $[0] = items;
916
- $[1] = t2;
917
- } else t2 = $[1];
967
+ $[1] = items;
968
+ $[2] = t2;
969
+ } else t2 = $[2];
918
970
  let t3;
919
- if ($[2] !== t2) {
971
+ if ($[3] !== t2) {
920
972
  t3 = /* @__PURE__ */ jsx("div", {
921
973
  className: "flex items-center justify-between bg-card",
922
974
  children: /* @__PURE__ */ jsx(TabsList, {
@@ -924,17 +976,17 @@ const EndpointResponseSchema = (t0) => {
924
976
  children: t2
925
977
  })
926
978
  });
927
- $[2] = t2;
928
- $[3] = t3;
929
- } else t3 = $[3];
979
+ $[3] = t2;
980
+ $[4] = t3;
981
+ } else t3 = $[4];
930
982
  let t4;
931
- if ($[4] !== items) {
983
+ if ($[5] !== items) {
932
984
  t4 = items.map(_temp3);
933
- $[4] = items;
934
- $[5] = t4;
935
- } else t4 = $[5];
985
+ $[5] = items;
986
+ $[6] = t4;
987
+ } else t4 = $[6];
936
988
  let t5;
937
- if ($[6] !== items[0].responseCode || $[7] !== t3 || $[8] !== t4) {
989
+ if ($[7] !== items[0].responseCode || $[8] !== t3 || $[9] !== t4) {
938
990
  t5 = /* @__PURE__ */ jsx("div", {
939
991
  className: "flex flex-col rounded-lg border",
940
992
  children: /* @__PURE__ */ jsxs(Tabs, {
@@ -942,11 +994,11 @@ const EndpointResponseSchema = (t0) => {
942
994
  children: [t3, t4]
943
995
  })
944
996
  });
945
- $[6] = items[0].responseCode;
946
- $[7] = t3;
947
- $[8] = t4;
948
- $[9] = t5;
949
- } else t5 = $[9];
997
+ $[7] = items[0].responseCode;
998
+ $[8] = t3;
999
+ $[9] = t4;
1000
+ $[10] = t5;
1001
+ } else t5 = $[10];
950
1002
  return t5;
951
1003
  };
952
1004
  function _temp$5(store) {
@@ -966,69 +1018,73 @@ function _temp3(props) {
966
1018
  //#endregion
967
1019
  //#region src/spec/spec-side-panel.tsx
968
1020
  const SpecSidePanel = (t0) => {
969
- const $ = c(25);
1021
+ const $ = c(26);
1022
+ if ($[0] !== "1460e2628753bf80967063f35b14988afbd9dd8b96c8778ac3b5ebba7a833fc1") {
1023
+ for (let $i = 0; $i < 26; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
1024
+ $[0] = "1460e2628753bf80967063f35b14988afbd9dd8b96c8778ac3b5ebba7a833fc1";
1025
+ }
970
1026
  const { endpoint, onClose } = t0;
971
1027
  const { body } = useJsonSchemaToJson(endpoint.bodySchema);
972
1028
  let t1;
973
- if ($[0] !== endpoint.method || $[1] !== endpoint.path) {
1029
+ if ($[1] !== endpoint.method || $[2] !== endpoint.path) {
974
1030
  t1 = /* @__PURE__ */ jsx(EndpointPath, {
975
1031
  method: endpoint.method,
976
1032
  path: endpoint.path
977
1033
  });
978
- $[0] = endpoint.method;
979
- $[1] = endpoint.path;
980
- $[2] = t1;
981
- } else t1 = $[2];
1034
+ $[1] = endpoint.method;
1035
+ $[2] = endpoint.path;
1036
+ $[3] = t1;
1037
+ } else t1 = $[3];
982
1038
  let t2;
983
- if ($[3] !== onClose) {
1039
+ if ($[4] !== onClose) {
984
1040
  t2 = /* @__PURE__ */ jsx(X, {
985
1041
  className: "cursor-pointer w-4 h-4",
986
1042
  onClick: onClose
987
1043
  });
988
- $[3] = onClose;
989
- $[4] = t2;
990
- } else t2 = $[4];
1044
+ $[4] = onClose;
1045
+ $[5] = t2;
1046
+ } else t2 = $[5];
991
1047
  let t3;
992
- if ($[5] !== onClose || $[6] !== t2) {
1048
+ if ($[6] !== onClose || $[7] !== t2) {
993
1049
  t3 = [{
994
1050
  icon: t2,
995
1051
  onClick: onClose
996
1052
  }];
997
- $[5] = onClose;
998
- $[6] = t2;
999
- $[7] = t3;
1000
- } else t3 = $[7];
1053
+ $[6] = onClose;
1054
+ $[7] = t2;
1055
+ $[8] = t3;
1056
+ } else t3 = $[8];
1001
1057
  let t4;
1002
1058
  let t5;
1003
- if ($[8] !== endpoint) {
1059
+ if ($[9] !== endpoint) {
1004
1060
  t4 = /* @__PURE__ */ jsx(EndpointPathParamsPanel, { endpoint });
1005
1061
  t5 = /* @__PURE__ */ jsx(EndpointQueryParamsPanel, { endpoint });
1006
- $[8] = endpoint;
1007
- $[9] = t4;
1008
- $[10] = t5;
1062
+ $[9] = endpoint;
1063
+ $[10] = t4;
1064
+ $[11] = t5;
1009
1065
  } else {
1010
- t4 = $[9];
1011
- t5 = $[10];
1066
+ t4 = $[10];
1067
+ t5 = $[11];
1012
1068
  }
1013
1069
  let t6;
1014
- if ($[11] !== body || $[12] !== endpoint) {
1070
+ if ($[12] !== body || $[13] !== endpoint) {
1015
1071
  t6 = /* @__PURE__ */ jsx(EndpointBodyPanel, {
1016
1072
  endpoint,
1017
1073
  panelName: "details",
1018
1074
  value: body
1019
1075
  });
1020
- $[11] = body;
1021
- $[12] = endpoint;
1022
- $[13] = t6;
1023
- } else t6 = $[13];
1076
+ $[12] = body;
1077
+ $[13] = endpoint;
1078
+ $[14] = t6;
1079
+ } else t6 = $[14];
1024
1080
  let t7;
1025
- if ($[14] !== endpoint.responseSchema) {
1081
+ if ($[15] !== endpoint.responseSchema) {
1026
1082
  t7 = /* @__PURE__ */ jsx(EndpointResponseSchema, { items: Object.entries(endpoint?.responseSchema ?? {}).map(_temp$4) });
1027
- $[14] = endpoint.responseSchema;
1028
- $[15] = t7;
1029
- } else t7 = $[15];
1083
+ $[15] = endpoint.responseSchema;
1084
+ $[16] = t7;
1085
+ } else t7 = $[16];
1030
1086
  let t8;
1031
- if ($[16] !== endpoint.description || $[17] !== onClose || $[18] !== t1 || $[19] !== t3 || $[20] !== t4 || $[21] !== t5 || $[22] !== t6 || $[23] !== t7) {
1087
+ if ($[17] !== endpoint.description || $[18] !== onClose || $[19] !== t1 || $[20] !== t3 || $[21] !== t4 || $[22] !== t5 || $[23] !== t6 || $[24] !== t7) {
1032
1088
  t8 = /* @__PURE__ */ jsxs(Sidebar, {
1033
1089
  initialWidth: 600,
1034
1090
  subtitle: endpoint.description,
@@ -1042,16 +1098,16 @@ const SpecSidePanel = (t0) => {
1042
1098
  t7
1043
1099
  ]
1044
1100
  });
1045
- $[16] = endpoint.description;
1046
- $[17] = onClose;
1047
- $[18] = t1;
1048
- $[19] = t3;
1049
- $[20] = t4;
1050
- $[21] = t5;
1051
- $[22] = t6;
1052
- $[23] = t7;
1053
- $[24] = t8;
1054
- } else t8 = $[24];
1101
+ $[17] = endpoint.description;
1102
+ $[18] = onClose;
1103
+ $[19] = t1;
1104
+ $[20] = t3;
1105
+ $[21] = t4;
1106
+ $[22] = t5;
1107
+ $[23] = t6;
1108
+ $[24] = t7;
1109
+ $[25] = t8;
1110
+ } else t8 = $[25];
1055
1111
  return t8;
1056
1112
  };
1057
1113
  function _temp$4(t0) {
@@ -1065,7 +1121,11 @@ function _temp$4(t0) {
1065
1121
  //#endregion
1066
1122
  //#region src/components/json-editor.tsx
1067
1123
  const JsonEditor = (t0) => {
1068
- const $ = c(40);
1124
+ const $ = c(41);
1125
+ if ($[0] !== "0b3355d4554a672310b1abdad893ca8974afca90f2334dd0d80cf3d8e960c55e") {
1126
+ for (let $i = 0; $i < 41; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
1127
+ $[0] = "0b3355d4554a672310b1abdad893ca8974afca90f2334dd0d80cf3d8e960c55e";
1128
+ }
1069
1129
  const { value, schema, onChange, onValidate, language: t1, readOnly: t2 } = t0;
1070
1130
  const language = t1 === void 0 ? "json" : t1;
1071
1131
  const readOnly = t2 === void 0 ? false : t2;
@@ -1076,7 +1136,7 @@ const JsonEditor = (t0) => {
1076
1136
  const isValidatingRef = useRef(false);
1077
1137
  let t3;
1078
1138
  let t4;
1079
- if ($[0] !== monaco) {
1139
+ if ($[1] !== monaco) {
1080
1140
  t3 = () => {
1081
1141
  if (!monaco) return;
1082
1142
  monaco.editor.defineTheme("transparent-light", {
@@ -1111,17 +1171,17 @@ const JsonEditor = (t0) => {
1111
1171
  });
1112
1172
  };
1113
1173
  t4 = [monaco];
1114
- $[0] = monaco;
1115
- $[1] = t3;
1116
- $[2] = t4;
1174
+ $[1] = monaco;
1175
+ $[2] = t3;
1176
+ $[3] = t4;
1117
1177
  } else {
1118
- t3 = $[1];
1119
- t4 = $[2];
1178
+ t3 = $[2];
1179
+ t4 = $[3];
1120
1180
  }
1121
1181
  useLayoutEffect(t3, t4);
1122
1182
  let t5;
1123
1183
  let t6;
1124
- if ($[3] !== monaco || $[4] !== schema) {
1184
+ if ($[4] !== monaco || $[5] !== schema) {
1125
1185
  t5 = () => {
1126
1186
  if (!monaco) return;
1127
1187
  monaco.languages.typescript.javascriptDefaults.setCompilerOptions({ isolatedModules: true });
@@ -1132,35 +1192,35 @@ const JsonEditor = (t0) => {
1132
1192
  }] : [] });
1133
1193
  };
1134
1194
  t6 = [monaco, schema];
1135
- $[3] = monaco;
1136
- $[4] = schema;
1137
- $[5] = t5;
1138
- $[6] = t6;
1195
+ $[4] = monaco;
1196
+ $[5] = schema;
1197
+ $[6] = t5;
1198
+ $[7] = t6;
1139
1199
  } else {
1140
- t5 = $[5];
1141
- t6 = $[6];
1200
+ t5 = $[6];
1201
+ t6 = $[7];
1142
1202
  }
1143
1203
  useEffect(t5, t6);
1144
1204
  let t7;
1145
1205
  let t8;
1146
- if ($[7] !== editorTheme || $[8] !== monaco) {
1206
+ if ($[8] !== editorTheme || $[9] !== monaco) {
1147
1207
  t7 = () => {
1148
1208
  if (!monaco) return;
1149
1209
  monaco.editor.setTheme(editorTheme);
1150
1210
  };
1151
1211
  t8 = [monaco, editorTheme];
1152
- $[7] = editorTheme;
1153
- $[8] = monaco;
1154
- $[9] = t7;
1155
- $[10] = t8;
1212
+ $[8] = editorTheme;
1213
+ $[9] = monaco;
1214
+ $[10] = t7;
1215
+ $[11] = t8;
1156
1216
  } else {
1157
- t7 = $[9];
1158
- t8 = $[10];
1217
+ t7 = $[10];
1218
+ t8 = $[11];
1159
1219
  }
1160
1220
  useLayoutEffect(t7, t8);
1161
1221
  let t10;
1162
1222
  let t9;
1163
- if ($[11] !== editor) {
1223
+ if ($[12] !== editor) {
1164
1224
  t9 = () => {
1165
1225
  if (!editor) return;
1166
1226
  const container = editor.getContainerDomNode().parentElement?.parentElement;
@@ -1185,17 +1245,17 @@ const JsonEditor = (t0) => {
1185
1245
  };
1186
1246
  };
1187
1247
  t10 = [editor];
1188
- $[11] = editor;
1189
- $[12] = t10;
1190
- $[13] = t9;
1248
+ $[12] = editor;
1249
+ $[13] = t10;
1250
+ $[14] = t9;
1191
1251
  } else {
1192
- t10 = $[12];
1193
- t9 = $[13];
1252
+ t10 = $[13];
1253
+ t9 = $[14];
1194
1254
  }
1195
1255
  useEffect(t9, t10);
1196
1256
  let t11;
1197
1257
  let t12;
1198
- if ($[14] !== editor || $[15] !== monaco || $[16] !== onValidate || $[17] !== schema || $[18] !== value) {
1258
+ if ($[15] !== editor || $[16] !== monaco || $[17] !== onValidate || $[18] !== schema || $[19] !== value) {
1199
1259
  t11 = () => {
1200
1260
  if (!editor || !monaco || !onValidate || isValidatingRef.current) return;
1201
1261
  const model = editor.getModel();
@@ -1223,35 +1283,35 @@ const JsonEditor = (t0) => {
1223
1283
  value,
1224
1284
  schema
1225
1285
  ];
1226
- $[14] = editor;
1227
- $[15] = monaco;
1228
- $[16] = onValidate;
1229
- $[17] = schema;
1230
- $[18] = value;
1231
- $[19] = t11;
1232
- $[20] = t12;
1286
+ $[15] = editor;
1287
+ $[16] = monaco;
1288
+ $[17] = onValidate;
1289
+ $[18] = schema;
1290
+ $[19] = value;
1291
+ $[20] = t11;
1292
+ $[21] = t12;
1233
1293
  } else {
1234
- t11 = $[19];
1235
- t12 = $[20];
1294
+ t11 = $[20];
1295
+ t12 = $[21];
1236
1296
  }
1237
1297
  useEffect(t11, t12);
1238
1298
  let t13;
1239
- if ($[21] !== schema) {
1299
+ if ($[22] !== schema) {
1240
1300
  t13 = schema ? JSON.stringify(schema) : "no-schema";
1241
- $[21] = schema;
1242
- $[22] = t13;
1243
- } else t13 = $[22];
1301
+ $[22] = schema;
1302
+ $[23] = t13;
1303
+ } else t13 = $[23];
1244
1304
  const editorKey = t13;
1245
1305
  let t14;
1246
- if ($[23] !== onChange) {
1306
+ if ($[24] !== onChange) {
1247
1307
  t14 = (value_0) => {
1248
1308
  onChange?.(value_0 ?? "");
1249
1309
  };
1250
- $[23] = onChange;
1251
- $[24] = t14;
1252
- } else t14 = $[24];
1310
+ $[24] = onChange;
1311
+ $[25] = t14;
1312
+ } else t14 = $[25];
1253
1313
  let t15;
1254
- if ($[25] !== onValidate || $[26] !== schema || $[27] !== value) {
1314
+ if ($[26] !== onValidate || $[27] !== schema || $[28] !== value) {
1255
1315
  t15 = (markers_0) => {
1256
1316
  if (!onValidate || isValidatingRef.current) return;
1257
1317
  isValidatingRef.current = true;
@@ -1259,18 +1319,18 @@ const JsonEditor = (t0) => {
1259
1319
  else onValidate(markers_0.length === 0);
1260
1320
  isValidatingRef.current = false;
1261
1321
  };
1262
- $[25] = onValidate;
1263
- $[26] = schema;
1264
- $[27] = value;
1265
- $[28] = t15;
1266
- } else t15 = $[28];
1322
+ $[26] = onValidate;
1323
+ $[27] = schema;
1324
+ $[28] = value;
1325
+ $[29] = t15;
1326
+ } else t15 = $[29];
1267
1327
  let t16;
1268
- if ($[29] === Symbol.for("react.memo_cache_sentinel")) {
1328
+ if ($[30] === Symbol.for("react.memo_cache_sentinel")) {
1269
1329
  t16 = { enabled: false };
1270
- $[29] = t16;
1271
- } else t16 = $[29];
1330
+ $[30] = t16;
1331
+ } else t16 = $[30];
1272
1332
  let t17;
1273
- if ($[30] !== readOnly) {
1333
+ if ($[31] !== readOnly) {
1274
1334
  t17 = {
1275
1335
  automaticLayout: false,
1276
1336
  readOnly,
@@ -1278,11 +1338,11 @@ const JsonEditor = (t0) => {
1278
1338
  minimap: t16,
1279
1339
  overviewRulerLanes: 0
1280
1340
  };
1281
- $[30] = readOnly;
1282
- $[31] = t17;
1283
- } else t17 = $[31];
1341
+ $[31] = readOnly;
1342
+ $[32] = t17;
1343
+ } else t17 = $[32];
1284
1344
  let t18;
1285
- if ($[32] !== editorKey || $[33] !== editorTheme || $[34] !== language || $[35] !== t14 || $[36] !== t15 || $[37] !== t17 || $[38] !== value) {
1345
+ if ($[33] !== editorKey || $[34] !== editorTheme || $[35] !== language || $[36] !== t14 || $[37] !== t15 || $[38] !== t17 || $[39] !== value) {
1286
1346
  t18 = /* @__PURE__ */ jsx(Editor, {
1287
1347
  "data-testid": "json-editor",
1288
1348
  language,
@@ -1294,15 +1354,15 @@ const JsonEditor = (t0) => {
1294
1354
  onValidate: t15,
1295
1355
  options: t17
1296
1356
  }, editorKey);
1297
- $[32] = editorKey;
1298
- $[33] = editorTheme;
1299
- $[34] = language;
1300
- $[35] = t14;
1301
- $[36] = t15;
1302
- $[37] = t17;
1303
- $[38] = value;
1304
- $[39] = t18;
1305
- } else t18 = $[39];
1357
+ $[33] = editorKey;
1358
+ $[34] = editorTheme;
1359
+ $[35] = language;
1360
+ $[36] = t14;
1361
+ $[37] = t15;
1362
+ $[38] = t17;
1363
+ $[39] = value;
1364
+ $[40] = t18;
1365
+ } else t18 = $[40];
1306
1366
  return t18;
1307
1367
  };
1308
1368
  function _temp$3(state) {
@@ -1312,7 +1372,11 @@ function _temp$3(state) {
1312
1372
  //#endregion
1313
1373
  //#region src/play/side-panel-body-tab.tsx
1314
1374
  const SidePanelBodyTab = memo((t0) => {
1315
- const $ = c(20);
1375
+ const $ = c(21);
1376
+ if ($[0] !== "15cdaf91612bb3c1ef34320b0f01a80a135e66606fb87beb7a4a2f7f95e53a69") {
1377
+ for (let $i = 0; $i < 21; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
1378
+ $[0] = "15cdaf91612bb3c1ef34320b0f01a80a135e66606fb87beb7a4a2f7f95e53a69";
1379
+ }
1316
1380
  const { schema } = t0;
1317
1381
  const { setBody, setBodyIsValid } = useEndpointConfiguration();
1318
1382
  const bodyIsValid = useEndpointConfiguration(useShallow(getBodyIsValidSelector));
@@ -1321,7 +1385,7 @@ const SidePanelBodyTab = memo((t0) => {
1321
1385
  const userClearedRef = useRef(false);
1322
1386
  let t1;
1323
1387
  let t2;
1324
- if ($[0] !== body || $[1] !== schema || $[2] !== setBody || $[3] !== setBodyIsValid) {
1388
+ if ($[1] !== body || $[2] !== schema || $[3] !== setBody || $[4] !== setBodyIsValid) {
1325
1389
  t1 = () => {
1326
1390
  const schemaChanged = previousSchemaRef.current !== schema;
1327
1391
  previousSchemaRef.current = schema;
@@ -1341,19 +1405,19 @@ const SidePanelBodyTab = memo((t0) => {
1341
1405
  setBody,
1342
1406
  setBodyIsValid
1343
1407
  ];
1344
- $[0] = body;
1345
- $[1] = schema;
1346
- $[2] = setBody;
1347
- $[3] = setBodyIsValid;
1348
- $[4] = t1;
1349
- $[5] = t2;
1408
+ $[1] = body;
1409
+ $[2] = schema;
1410
+ $[3] = setBody;
1411
+ $[4] = setBodyIsValid;
1412
+ $[5] = t1;
1413
+ $[6] = t2;
1350
1414
  } else {
1351
- t1 = $[4];
1352
- t2 = $[5];
1415
+ t1 = $[5];
1416
+ t2 = $[6];
1353
1417
  }
1354
1418
  useEffect(t1, t2);
1355
1419
  let t3;
1356
- if ($[6] !== schema || $[7] !== setBody || $[8] !== setBodyIsValid) {
1420
+ if ($[7] !== schema || $[8] !== setBody || $[9] !== setBodyIsValid) {
1357
1421
  t3 = (value) => {
1358
1422
  setBody(value);
1359
1423
  if (schema && !value) {
@@ -1361,53 +1425,57 @@ const SidePanelBodyTab = memo((t0) => {
1361
1425
  userClearedRef.current = true;
1362
1426
  } else userClearedRef.current = false;
1363
1427
  };
1364
- $[6] = schema;
1365
- $[7] = setBody;
1366
- $[8] = setBodyIsValid;
1367
- $[9] = t3;
1368
- } else t3 = $[9];
1428
+ $[7] = schema;
1429
+ $[8] = setBody;
1430
+ $[9] = setBodyIsValid;
1431
+ $[10] = t3;
1432
+ } else t3 = $[10];
1369
1433
  const handleBodyChange = t3;
1370
1434
  let t4;
1371
- if ($[10] !== body || $[11] !== handleBodyChange || $[12] !== schema || $[13] !== setBodyIsValid) {
1435
+ if ($[11] !== body || $[12] !== handleBodyChange || $[13] !== schema || $[14] !== setBodyIsValid) {
1372
1436
  t4 = /* @__PURE__ */ jsx(JsonEditor, {
1373
1437
  value: body,
1374
1438
  schema,
1375
1439
  onChange: handleBodyChange,
1376
1440
  onValidate: setBodyIsValid
1377
1441
  });
1378
- $[10] = body;
1379
- $[11] = handleBodyChange;
1380
- $[12] = schema;
1381
- $[13] = setBodyIsValid;
1382
- $[14] = t4;
1383
- } else t4 = $[14];
1442
+ $[11] = body;
1443
+ $[12] = handleBodyChange;
1444
+ $[13] = schema;
1445
+ $[14] = setBodyIsValid;
1446
+ $[15] = t4;
1447
+ } else t4 = $[15];
1384
1448
  let t5;
1385
- if ($[15] !== bodyIsValid) {
1449
+ if ($[16] !== bodyIsValid) {
1386
1450
  t5 = bodyIsValid === false && /* @__PURE__ */ jsxs("div", {
1387
1451
  className: "absolute bottom-0 left-0 right-0 border-t border-border p-3 text-sm dark:text-yellow-500 text-yellow-700 flex items-center gap-1 font-medium",
1388
1452
  "data-testid": "endpoint-body-tab-invalid",
1389
1453
  children: [/* @__PURE__ */ jsx(CircleX, { className: "w-4 h-4" }), "The body payload is invalid"]
1390
1454
  });
1391
- $[15] = bodyIsValid;
1392
- $[16] = t5;
1393
- } else t5 = $[16];
1455
+ $[16] = bodyIsValid;
1456
+ $[17] = t5;
1457
+ } else t5 = $[17];
1394
1458
  let t6;
1395
- if ($[17] !== t4 || $[18] !== t5) {
1459
+ if ($[18] !== t4 || $[19] !== t5) {
1396
1460
  t6 = /* @__PURE__ */ jsxs("div", {
1397
1461
  className: "max-h-full h-full relative",
1398
1462
  children: [t4, t5]
1399
1463
  });
1400
- $[17] = t4;
1401
- $[18] = t5;
1402
- $[19] = t6;
1403
- } else t6 = $[19];
1464
+ $[18] = t4;
1465
+ $[19] = t5;
1466
+ $[20] = t6;
1467
+ } else t6 = $[20];
1404
1468
  return t6;
1405
1469
  });
1406
1470
 
1407
1471
  //#endregion
1408
1472
  //#region src/components/configuration-list-item.tsx
1409
1473
  const ConfigurationListItem = memo((t0) => {
1410
- const $ = c(58);
1474
+ const $ = c(59);
1475
+ if ($[0] !== "49b457e4243ed5368ffc15725d84d290ce5fe7173cb1a11ee0a1be10ae181259") {
1476
+ for (let $i = 0; $i < 59; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
1477
+ $[0] = "49b457e4243ed5368ffc15725d84d290ce5fe7173cb1a11ee0a1be10ae181259";
1478
+ }
1411
1479
  const { value, id, onUpdate, onRemove, required: t1 } = t0;
1412
1480
  const required = t1 === void 0 ? false : t1;
1413
1481
  const [activeConfiguration, setActiveConfiguration] = useState(null);
@@ -1415,7 +1483,7 @@ const ConfigurationListItem = memo((t0) => {
1415
1483
  const deleteTimeout = useRef(void 0);
1416
1484
  const isActive = activeConfiguration === id;
1417
1485
  let t2;
1418
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
1486
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
1419
1487
  t2 = (key) => {
1420
1488
  clearTimeout(deleteTimeout.current);
1421
1489
  setValueToDelete(key);
@@ -1423,74 +1491,74 @@ const ConfigurationListItem = memo((t0) => {
1423
1491
  setValueToDelete(null);
1424
1492
  }, 5e3);
1425
1493
  };
1426
- $[0] = t2;
1427
- } else t2 = $[0];
1494
+ $[1] = t2;
1495
+ } else t2 = $[1];
1428
1496
  const onDelete = t2;
1429
1497
  let t3;
1430
- if ($[1] !== id || $[2] !== required) {
1498
+ if ($[2] !== id || $[3] !== required) {
1431
1499
  t3 = () => {
1432
1500
  if (required) return;
1433
1501
  setActiveConfiguration(id);
1434
1502
  };
1435
- $[1] = id;
1436
- $[2] = required;
1437
- $[3] = t3;
1438
- } else t3 = $[3];
1503
+ $[2] = id;
1504
+ $[3] = required;
1505
+ $[4] = t3;
1506
+ } else t3 = $[4];
1439
1507
  const onMouseOver = t3;
1440
1508
  let t4;
1441
- if ($[4] !== required) {
1509
+ if ($[5] !== required) {
1442
1510
  t4 = () => {
1443
1511
  if (required) return;
1444
1512
  setActiveConfiguration(null);
1445
1513
  };
1446
- $[4] = required;
1447
- $[5] = t4;
1448
- } else t4 = $[5];
1514
+ $[5] = required;
1515
+ $[6] = t4;
1516
+ } else t4 = $[6];
1449
1517
  const onMouseLeave = t4;
1450
1518
  const t5 = isActive && "bg-card";
1451
1519
  let t6;
1452
- if ($[6] !== t5) {
1520
+ if ($[7] !== t5) {
1453
1521
  t6 = cn("grid grid-cols-[auto_1fr_auto] items-center py-2 px-4 bg-muted/30 rounded-lg gap-2", t5);
1454
- $[6] = t5;
1455
- $[7] = t6;
1456
- } else t6 = $[7];
1522
+ $[7] = t5;
1523
+ $[8] = t6;
1524
+ } else t6 = $[8];
1457
1525
  let t7;
1458
- if ($[8] !== id || $[9] !== onUpdate) {
1526
+ if ($[9] !== id || $[10] !== onUpdate) {
1459
1527
  t7 = (checked) => onUpdate(id, "active", checked);
1460
- $[8] = id;
1461
- $[9] = onUpdate;
1462
- $[10] = t7;
1463
- } else t7 = $[10];
1528
+ $[9] = id;
1529
+ $[10] = onUpdate;
1530
+ $[11] = t7;
1531
+ } else t7 = $[11];
1464
1532
  let t8;
1465
- if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
1533
+ if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
1466
1534
  t8 = /* @__PURE__ */ jsx(Check, { className: "h-3 w-3" });
1467
- $[11] = t8;
1468
- } else t8 = $[11];
1535
+ $[12] = t8;
1536
+ } else t8 = $[12];
1469
1537
  let t9;
1470
- if ($[12] !== required || $[13] !== t7 || $[14] !== value.active) {
1538
+ if ($[13] !== required || $[14] !== t7 || $[15] !== value.active) {
1471
1539
  t9 = /* @__PURE__ */ jsx(Checkbox, {
1472
1540
  checked: value.active,
1473
1541
  onCheckedChange: t7,
1474
1542
  disabled: required,
1475
1543
  children: t8
1476
1544
  });
1477
- $[12] = required;
1478
- $[13] = t7;
1479
- $[14] = value.active;
1480
- $[15] = t9;
1481
- } else t9 = $[15];
1545
+ $[13] = required;
1546
+ $[14] = t7;
1547
+ $[15] = value.active;
1548
+ $[16] = t9;
1549
+ } else t9 = $[16];
1482
1550
  const t10 = !value.active;
1483
1551
  const t11 = required ? "outlineReadonly" : "outline";
1484
1552
  const t12 = `name-${id}`;
1485
1553
  let t13;
1486
- if ($[16] !== id || $[17] !== onUpdate) {
1554
+ if ($[17] !== id || $[18] !== onUpdate) {
1487
1555
  t13 = (e) => onUpdate(id, "name", e.target.value);
1488
- $[16] = id;
1489
- $[17] = onUpdate;
1490
- $[18] = t13;
1491
- } else t13 = $[18];
1556
+ $[17] = id;
1557
+ $[18] = onUpdate;
1558
+ $[19] = t13;
1559
+ } else t13 = $[19];
1492
1560
  let t14;
1493
- if ($[19] !== required || $[20] !== t10 || $[21] !== t11 || $[22] !== t12 || $[23] !== t13 || $[24] !== value.name) {
1561
+ if ($[20] !== required || $[21] !== t10 || $[22] !== t11 || $[23] !== t12 || $[24] !== t13 || $[25] !== value.name) {
1494
1562
  t14 = /* @__PURE__ */ jsx(Input, {
1495
1563
  readOnly: required,
1496
1564
  disabled: t10,
@@ -1501,25 +1569,25 @@ const ConfigurationListItem = memo((t0) => {
1501
1569
  placeholder: "Name",
1502
1570
  className: "h-8"
1503
1571
  });
1504
- $[19] = required;
1505
- $[20] = t10;
1506
- $[21] = t11;
1507
- $[22] = t12;
1508
- $[23] = t13;
1509
- $[24] = value.name;
1510
- $[25] = t14;
1511
- } else t14 = $[25];
1572
+ $[20] = required;
1573
+ $[21] = t10;
1574
+ $[22] = t11;
1575
+ $[23] = t12;
1576
+ $[24] = t13;
1577
+ $[25] = value.name;
1578
+ $[26] = t14;
1579
+ } else t14 = $[26];
1512
1580
  const t15 = !value.active;
1513
1581
  const t16 = `value-${id}`;
1514
1582
  let t17;
1515
- if ($[26] !== id || $[27] !== onUpdate) {
1583
+ if ($[27] !== id || $[28] !== onUpdate) {
1516
1584
  t17 = (e_0) => onUpdate(id, "value", e_0.target.value);
1517
- $[26] = id;
1518
- $[27] = onUpdate;
1519
- $[28] = t17;
1520
- } else t17 = $[28];
1585
+ $[27] = id;
1586
+ $[28] = onUpdate;
1587
+ $[29] = t17;
1588
+ } else t17 = $[29];
1521
1589
  let t18;
1522
- if ($[29] !== t15 || $[30] !== t16 || $[31] !== t17 || $[32] !== value.value) {
1590
+ if ($[30] !== t15 || $[31] !== t16 || $[32] !== t17 || $[33] !== value.value) {
1523
1591
  t18 = /* @__PURE__ */ jsx(Input, {
1524
1592
  disabled: t15,
1525
1593
  variant: "outline",
@@ -1529,50 +1597,50 @@ const ConfigurationListItem = memo((t0) => {
1529
1597
  placeholder: "Value",
1530
1598
  className: "h-8"
1531
1599
  });
1532
- $[29] = t15;
1533
- $[30] = t16;
1534
- $[31] = t17;
1535
- $[32] = value.value;
1536
- $[33] = t18;
1537
- } else t18 = $[33];
1600
+ $[30] = t15;
1601
+ $[31] = t16;
1602
+ $[32] = t17;
1603
+ $[33] = value.value;
1604
+ $[34] = t18;
1605
+ } else t18 = $[34];
1538
1606
  let t19;
1539
- if ($[34] !== t14 || $[35] !== t18) {
1607
+ if ($[35] !== t14 || $[36] !== t18) {
1540
1608
  t19 = /* @__PURE__ */ jsxs("div", {
1541
1609
  className: "grid grid-cols-2 gap-2",
1542
1610
  children: [t14, t18]
1543
1611
  });
1544
- $[34] = t14;
1545
- $[35] = t18;
1546
- $[36] = t19;
1547
- } else t19 = $[36];
1612
+ $[35] = t14;
1613
+ $[36] = t18;
1614
+ $[37] = t19;
1615
+ } else t19 = $[37];
1548
1616
  let t20;
1549
- if ($[37] !== id || $[38] !== onRemove || $[39] !== valueToDelete) {
1617
+ if ($[38] !== id || $[39] !== onRemove || $[40] !== valueToDelete) {
1550
1618
  t20 = () => {
1551
1619
  if (valueToDelete === id) onRemove?.(id);
1552
1620
  else onDelete(id);
1553
1621
  };
1554
- $[37] = id;
1555
- $[38] = onRemove;
1556
- $[39] = valueToDelete;
1557
- $[40] = t20;
1558
- } else t20 = $[40];
1622
+ $[38] = id;
1623
+ $[39] = onRemove;
1624
+ $[40] = valueToDelete;
1625
+ $[41] = t20;
1626
+ } else t20 = $[41];
1559
1627
  const t21 = isActive && "opacity-100";
1560
1628
  let t22;
1561
- if ($[41] !== t21) {
1629
+ if ($[42] !== t21) {
1562
1630
  t22 = cn("h-6 w-6 opacity-0 transition-opacity duration-200", t21);
1563
- $[41] = t21;
1564
- $[42] = t22;
1565
- } else t22 = $[42];
1631
+ $[42] = t21;
1632
+ $[43] = t22;
1633
+ } else t22 = $[43];
1566
1634
  const t23 = valueToDelete === id && isActive ? "Click again to remove" : "Remove";
1567
1635
  let t24;
1568
- if ($[43] !== id || $[44] !== valueToDelete) {
1636
+ if ($[44] !== id || $[45] !== valueToDelete) {
1569
1637
  t24 = valueToDelete === id ? /* @__PURE__ */ jsx(AlertCircle, { className: "h-3 w-3 text-destructive" }) : /* @__PURE__ */ jsx(Trash2, { className: "h-3 w-3" });
1570
- $[43] = id;
1571
- $[44] = valueToDelete;
1572
- $[45] = t24;
1573
- } else t24 = $[45];
1638
+ $[44] = id;
1639
+ $[45] = valueToDelete;
1640
+ $[46] = t24;
1641
+ } else t24 = $[46];
1574
1642
  let t25;
1575
- if ($[46] !== t20 || $[47] !== t22 || $[48] !== t23 || $[49] !== t24) {
1643
+ if ($[47] !== t20 || $[48] !== t22 || $[49] !== t23 || $[50] !== t24) {
1576
1644
  t25 = /* @__PURE__ */ jsx(Button, {
1577
1645
  variant: "ghost",
1578
1646
  size: "icon",
@@ -1581,14 +1649,14 @@ const ConfigurationListItem = memo((t0) => {
1581
1649
  title: t23,
1582
1650
  children: t24
1583
1651
  });
1584
- $[46] = t20;
1585
- $[47] = t22;
1586
- $[48] = t23;
1587
- $[49] = t24;
1588
- $[50] = t25;
1589
- } else t25 = $[50];
1652
+ $[47] = t20;
1653
+ $[48] = t22;
1654
+ $[49] = t23;
1655
+ $[50] = t24;
1656
+ $[51] = t25;
1657
+ } else t25 = $[51];
1590
1658
  let t26;
1591
- if ($[51] !== onMouseLeave || $[52] !== onMouseOver || $[53] !== t19 || $[54] !== t25 || $[55] !== t6 || $[56] !== t9) {
1659
+ if ($[52] !== onMouseLeave || $[53] !== onMouseOver || $[54] !== t19 || $[55] !== t25 || $[56] !== t6 || $[57] !== t9) {
1592
1660
  t26 = /* @__PURE__ */ jsxs("div", {
1593
1661
  className: t6,
1594
1662
  onMouseOver,
@@ -1599,14 +1667,14 @@ const ConfigurationListItem = memo((t0) => {
1599
1667
  t25
1600
1668
  ]
1601
1669
  });
1602
- $[51] = onMouseLeave;
1603
- $[52] = onMouseOver;
1604
- $[53] = t19;
1605
- $[54] = t25;
1606
- $[55] = t6;
1607
- $[56] = t9;
1608
- $[57] = t26;
1609
- } else t26 = $[57];
1670
+ $[52] = onMouseLeave;
1671
+ $[53] = onMouseOver;
1672
+ $[54] = t19;
1673
+ $[55] = t25;
1674
+ $[56] = t6;
1675
+ $[57] = t9;
1676
+ $[58] = t26;
1677
+ } else t26 = $[58];
1610
1678
  return t26;
1611
1679
  });
1612
1680
 
@@ -1667,27 +1735,31 @@ const SidePanelHeadersTab = () => {
1667
1735
  //#region src/hooks/use-path-url.ts
1668
1736
  const queryParamsSelector = (state) => Object.values(getQueryParamsSelector(state)).filter((param) => param.active && param.value !== "" && param.name !== "");
1669
1737
  const usePathUrl = (path) => {
1670
- const $ = c(5);
1738
+ const $ = c(6);
1739
+ if ($[0] !== "7e3e8f17b13eb81e00060ed9f39b6042cd1d077a2d43f0c27437d6309314f3aa") {
1740
+ for (let $i = 0; $i < 6; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
1741
+ $[0] = "7e3e8f17b13eb81e00060ed9f39b6042cd1d077a2d43f0c27437d6309314f3aa";
1742
+ }
1671
1743
  const pathParams = useEndpointConfiguration(useShallow(getPathParamsSelector));
1672
1744
  const queryParams = useEndpointConfiguration(useShallow(queryParamsSelector));
1673
1745
  let t0;
1674
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
1746
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
1675
1747
  t0 = /:(\w+)/g;
1676
- $[0] = t0;
1677
- } else t0 = $[0];
1748
+ $[1] = t0;
1749
+ } else t0 = $[1];
1678
1750
  let t1;
1679
- if ($[1] !== pathParams) {
1751
+ if ($[2] !== pathParams) {
1680
1752
  t1 = (match, p1) => pathParams[p1]?.value || match;
1681
- $[1] = pathParams;
1682
- $[2] = t1;
1683
- } else t1 = $[2];
1753
+ $[2] = pathParams;
1754
+ $[3] = t1;
1755
+ } else t1 = $[3];
1684
1756
  const url = path.replace(t0, t1);
1685
1757
  let t2;
1686
- if ($[3] !== queryParams) {
1758
+ if ($[4] !== queryParams) {
1687
1759
  t2 = queryParams.length > 0 ? `?${queryParams.map(_temp$2).join("&")}` : "";
1688
- $[3] = queryParams;
1689
- $[4] = t2;
1690
- } else t2 = $[4];
1760
+ $[4] = queryParams;
1761
+ $[5] = t2;
1762
+ } else t2 = $[5];
1691
1763
  return url + t2;
1692
1764
  };
1693
1765
  function _temp$2(param) {
@@ -1697,12 +1769,16 @@ function _temp$2(param) {
1697
1769
  //#endregion
1698
1770
  //#region src/components/endpoint-path-preview.tsx
1699
1771
  const EndpointPathPreview = (t0) => {
1700
- const $ = c(16);
1772
+ const $ = c(17);
1773
+ if ($[0] !== "d28e3e9329232a2b4ad7f30814822a8f9a40f9e19a3e5c4e80f13d7dbd0fed07") {
1774
+ for (let $i = 0; $i < 17; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
1775
+ $[0] = "d28e3e9329232a2b4ad7f30814822a8f9a40f9e19a3e5c4e80f13d7dbd0fed07";
1776
+ }
1701
1777
  const { path, baseUrl: t1 } = t0;
1702
1778
  const fullUrl = `${t1 === void 0 ? window.location.origin : t1}${usePathUrl(path)}`;
1703
1779
  const [copied, setCopied] = useState(false);
1704
1780
  let t2;
1705
- if ($[0] !== fullUrl) {
1781
+ if ($[1] !== fullUrl) {
1706
1782
  t2 = async () => {
1707
1783
  try {
1708
1784
  await navigator.clipboard.writeText(fullUrl);
@@ -1713,20 +1789,20 @@ const EndpointPathPreview = (t0) => {
1713
1789
  console.error("Failed to copy URL:", err);
1714
1790
  }
1715
1791
  };
1716
- $[0] = fullUrl;
1717
- $[1] = t2;
1718
- } else t2 = $[1];
1792
+ $[1] = fullUrl;
1793
+ $[2] = t2;
1794
+ } else t2 = $[2];
1719
1795
  const handleCopy = t2;
1720
1796
  let t3;
1721
- if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
1797
+ if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
1722
1798
  t3 = /* @__PURE__ */ jsx("div", {
1723
1799
  className: "text-sm font-medium py-2",
1724
1800
  children: "URL Preview"
1725
1801
  });
1726
- $[2] = t3;
1727
- } else t3 = $[2];
1802
+ $[3] = t3;
1803
+ } else t3 = $[3];
1728
1804
  let t4;
1729
- if ($[3] !== fullUrl) {
1805
+ if ($[4] !== fullUrl) {
1730
1806
  t4 = /* @__PURE__ */ jsx("div", {
1731
1807
  className: "min-w-0",
1732
1808
  children: /* @__PURE__ */ jsx("div", {
@@ -1735,24 +1811,24 @@ const EndpointPathPreview = (t0) => {
1735
1811
  children: fullUrl
1736
1812
  })
1737
1813
  });
1738
- $[3] = fullUrl;
1739
- $[4] = t4;
1740
- } else t4 = $[4];
1814
+ $[4] = fullUrl;
1815
+ $[5] = t4;
1816
+ } else t4 = $[5];
1741
1817
  const t5 = copied ? "text-green-400" : "text-muted-foreground";
1742
1818
  let t6;
1743
- if ($[5] !== t5) {
1819
+ if ($[6] !== t5) {
1744
1820
  t6 = cn("w-3 h-3 grid place-items-center transition-colors cursor-pointer", t5);
1745
- $[5] = t5;
1746
- $[6] = t6;
1747
- } else t6 = $[6];
1821
+ $[6] = t5;
1822
+ $[7] = t6;
1823
+ } else t6 = $[7];
1748
1824
  let t7;
1749
- if ($[7] !== copied) {
1825
+ if ($[8] !== copied) {
1750
1826
  t7 = copied ? /* @__PURE__ */ jsx(Check, { className: "w-2.5 h-2.5" }) : /* @__PURE__ */ jsx(Copy, { className: "w-2.5 h-2.5" });
1751
- $[7] = copied;
1752
- $[8] = t7;
1753
- } else t7 = $[8];
1827
+ $[8] = copied;
1828
+ $[9] = t7;
1829
+ } else t7 = $[9];
1754
1830
  let t8;
1755
- if ($[9] !== handleCopy || $[10] !== t6 || $[11] !== t7) {
1831
+ if ($[10] !== handleCopy || $[11] !== t6 || $[12] !== t7) {
1756
1832
  t8 = /* @__PURE__ */ jsx(Button, {
1757
1833
  onClick: handleCopy,
1758
1834
  className: t6,
@@ -1761,13 +1837,13 @@ const EndpointPathPreview = (t0) => {
1761
1837
  "aria-label": "Copy URL",
1762
1838
  children: t7
1763
1839
  });
1764
- $[9] = handleCopy;
1765
- $[10] = t6;
1766
- $[11] = t7;
1767
- $[12] = t8;
1768
- } else t8 = $[12];
1840
+ $[10] = handleCopy;
1841
+ $[11] = t6;
1842
+ $[12] = t7;
1843
+ $[13] = t8;
1844
+ } else t8 = $[13];
1769
1845
  let t9;
1770
- if ($[13] !== t4 || $[14] !== t8) {
1846
+ if ($[14] !== t4 || $[15] !== t8) {
1771
1847
  t9 = /* @__PURE__ */ jsxs("div", {
1772
1848
  className: "grid grid-cols-[auto_1fr] items-center gap-5 px-5 relative border-b border-border",
1773
1849
  children: [t3, /* @__PURE__ */ jsxs("div", {
@@ -1775,10 +1851,10 @@ const EndpointPathPreview = (t0) => {
1775
1851
  children: [t4, t8]
1776
1852
  })]
1777
1853
  });
1778
- $[13] = t4;
1779
- $[14] = t8;
1780
- $[15] = t9;
1781
- } else t9 = $[15];
1854
+ $[14] = t4;
1855
+ $[15] = t8;
1856
+ $[16] = t9;
1857
+ } else t9 = $[16];
1782
1858
  return t9;
1783
1859
  };
1784
1860
 
@@ -1887,59 +1963,63 @@ const SidePanelParamsTab = ({ path }) => {
1887
1963
  //#endregion
1888
1964
  //#region src/hooks/use-state-stream.ts
1889
1965
  const useStateStream = (object) => {
1890
- const $ = c(14);
1966
+ const $ = c(15);
1967
+ if ($[0] !== "285f0ed50e2dd4fc3015728ea5aa13d2c7f564b6cdec2adc1e1f9b84c6cc298a") {
1968
+ for (let $i = 0; $i < 15; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
1969
+ $[0] = "285f0ed50e2dd4fc3015728ea5aa13d2c7f564b6cdec2adc1e1f9b84c6cc298a";
1970
+ }
1891
1971
  let t0;
1892
- if ($[0] !== object) {
1972
+ if ($[1] !== object) {
1893
1973
  t0 = typeof object === "string" ? {} : object || {};
1894
- $[0] = object;
1895
- $[1] = t0;
1896
- } else t0 = $[1];
1974
+ $[1] = object;
1975
+ $[2] = t0;
1976
+ } else t0 = $[2];
1897
1977
  let __motia;
1898
1978
  let rest;
1899
- if ($[2] !== t0) {
1979
+ if ($[3] !== t0) {
1900
1980
  ({__motia, ...rest} = t0);
1901
- $[2] = t0;
1902
- $[3] = __motia;
1903
- $[4] = rest;
1981
+ $[3] = t0;
1982
+ $[4] = __motia;
1983
+ $[5] = rest;
1904
1984
  } else {
1905
- __motia = $[3];
1906
- rest = $[4];
1985
+ __motia = $[4];
1986
+ rest = $[5];
1907
1987
  }
1908
1988
  const { data } = useStreamItem(__motia);
1909
1989
  const originalData = Array.isArray(object) ? object : rest || object;
1910
1990
  if (typeof object === "string") {
1911
1991
  let t1$1;
1912
- if ($[5] !== object) {
1992
+ if ($[6] !== object) {
1913
1993
  t1$1 = {
1914
1994
  data: object,
1915
1995
  originalData: object,
1916
1996
  isStreamed: false
1917
1997
  };
1918
- $[5] = object;
1919
- $[6] = t1$1;
1920
- } else t1$1 = $[6];
1998
+ $[6] = object;
1999
+ $[7] = t1$1;
2000
+ } else t1$1 = $[7];
1921
2001
  return t1$1;
1922
2002
  }
1923
2003
  let t1;
1924
- if ($[7] !== data || $[8] !== originalData) {
2004
+ if ($[8] !== data || $[9] !== originalData) {
1925
2005
  t1 = JSON.stringify(data || originalData, null, 2);
1926
- $[7] = data;
1927
- $[8] = originalData;
1928
- $[9] = t1;
1929
- } else t1 = $[9];
2006
+ $[8] = data;
2007
+ $[9] = originalData;
2008
+ $[10] = t1;
2009
+ } else t1 = $[10];
1930
2010
  const t2 = !!__motia;
1931
2011
  let t3;
1932
- if ($[10] !== originalData || $[11] !== t1 || $[12] !== t2) {
2012
+ if ($[11] !== originalData || $[12] !== t1 || $[13] !== t2) {
1933
2013
  t3 = {
1934
2014
  data: t1,
1935
2015
  originalData,
1936
2016
  isStreamed: t2
1937
2017
  };
1938
- $[10] = originalData;
1939
- $[11] = t1;
1940
- $[12] = t2;
1941
- $[13] = t3;
1942
- } else t3 = $[13];
2018
+ $[11] = originalData;
2019
+ $[12] = t1;
2020
+ $[13] = t2;
2021
+ $[14] = t3;
2022
+ } else t3 = $[14];
1943
2023
  return t3;
1944
2024
  };
1945
2025
 
@@ -2016,14 +2096,18 @@ const getStatusMessage = (statusCode) => {
2016
2096
  //#endregion
2017
2097
  //#region src/play/response-code.tsx
2018
2098
  const ResponseCode = (t0) => {
2019
- const $ = c(12);
2099
+ const $ = c(13);
2100
+ if ($[0] !== "0a8e4c92b858ecb81d25d971cc42d057e6dc5a30e6757fd87f3755a59a3871b2") {
2101
+ for (let $i = 0; $i < 13; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
2102
+ $[0] = "0a8e4c92b858ecb81d25d971cc42d057e6dc5a30e6757fd87f3755a59a3871b2";
2103
+ }
2020
2104
  const { statusCode } = t0;
2021
2105
  let t1;
2022
- if ($[0] !== statusCode) {
2106
+ if ($[1] !== statusCode) {
2023
2107
  t1 = getStatusMessage(statusCode);
2024
- $[0] = statusCode;
2025
- $[1] = t1;
2026
- } else t1 = $[1];
2108
+ $[1] = statusCode;
2109
+ $[2] = t1;
2110
+ } else t1 = $[2];
2027
2111
  const statusMessage = t1;
2028
2112
  const isSuccess = statusCode > 0 && statusCode < 400;
2029
2113
  const isWarning = statusCode >= 400 && statusCode < 500;
@@ -2032,24 +2116,24 @@ const ResponseCode = (t0) => {
2032
2116
  const t3 = isError && "dark:bg-[#F8367D]/20 dark:text-[#F8367D] bg-[#F8367D] text-white";
2033
2117
  const t4 = isSuccess && "dark:bg-accent-200 dark:text-primary bg-accent text-white";
2034
2118
  let t5;
2035
- if ($[2] !== t2 || $[3] !== t3 || $[4] !== t4) {
2119
+ if ($[3] !== t2 || $[4] !== t3 || $[5] !== t4) {
2036
2120
  t5 = cn("px-2 py-1 rounded-sm flex items-center gap-1", t2, t3, t4);
2037
- $[2] = t2;
2038
- $[3] = t3;
2039
- $[4] = t4;
2040
- $[5] = t5;
2041
- } else t5 = $[5];
2121
+ $[3] = t2;
2122
+ $[4] = t3;
2123
+ $[5] = t4;
2124
+ $[6] = t5;
2125
+ } else t5 = $[6];
2042
2126
  let t6;
2043
- if ($[6] !== statusCode) {
2127
+ if ($[7] !== statusCode) {
2044
2128
  t6 = /* @__PURE__ */ jsx("span", {
2045
2129
  className: "font-bold font-mono",
2046
2130
  children: statusCode
2047
2131
  });
2048
- $[6] = statusCode;
2049
- $[7] = t6;
2050
- } else t6 = $[7];
2132
+ $[7] = statusCode;
2133
+ $[8] = t6;
2134
+ } else t6 = $[8];
2051
2135
  let t7;
2052
- if ($[8] !== statusMessage || $[9] !== t5 || $[10] !== t6) {
2136
+ if ($[9] !== statusMessage || $[10] !== t5 || $[11] !== t6) {
2053
2137
  t7 = /* @__PURE__ */ jsxs("div", {
2054
2138
  className: t5,
2055
2139
  children: [
@@ -2058,11 +2142,11 @@ const ResponseCode = (t0) => {
2058
2142
  statusMessage
2059
2143
  ]
2060
2144
  });
2061
- $[8] = statusMessage;
2062
- $[9] = t5;
2063
- $[10] = t6;
2064
- $[11] = t7;
2065
- } else t7 = $[11];
2145
+ $[9] = statusMessage;
2146
+ $[10] = t5;
2147
+ $[11] = t6;
2148
+ $[12] = t7;
2149
+ } else t7 = $[12];
2066
2150
  return t7;
2067
2151
  };
2068
2152
 
@@ -2083,24 +2167,28 @@ const useLanguage = (contentType) => {
2083
2167
  return "text";
2084
2168
  };
2085
2169
  const ResponseContent = (t0) => {
2086
- const $ = c(13);
2170
+ const $ = c(14);
2171
+ if ($[0] !== "51b73d23c1291874f81ba55f0a6e81eecd3ad0cede326e91ed482cd0ab995a8f") {
2172
+ for (let $i = 0; $i < 14; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
2173
+ $[0] = "51b73d23c1291874f81ba55f0a6e81eecd3ad0cede326e91ed482cd0ab995a8f";
2174
+ }
2087
2175
  const { code, blob, contentType } = t0;
2088
2176
  const themeStyle = useThemeStore(_temp$1) === "dark" ? atomDark : oneLight;
2089
2177
  const language = useLanguage(contentType);
2090
2178
  let t1;
2091
- if ($[0] !== blob) {
2179
+ if ($[1] !== blob) {
2092
2180
  t1 = () => {
2093
2181
  if (blob) {
2094
2182
  const url = URL.createObjectURL(blob);
2095
2183
  window.open(url, "_blank");
2096
2184
  }
2097
2185
  };
2098
- $[0] = blob;
2099
- $[1] = t1;
2100
- } else t1 = $[1];
2186
+ $[1] = blob;
2187
+ $[2] = t1;
2188
+ } else t1 = $[2];
2101
2189
  const onDownload = t1;
2102
2190
  let t2;
2103
- if ($[2] !== blob || $[3] !== onDownload) {
2191
+ if ($[3] !== blob || $[4] !== onDownload) {
2104
2192
  t2 = blob && /* @__PURE__ */ jsx("div", {
2105
2193
  className: "flex p-8 justify-center",
2106
2194
  children: /* @__PURE__ */ jsxs(Button, {
@@ -2109,12 +2197,12 @@ const ResponseContent = (t0) => {
2109
2197
  children: [/* @__PURE__ */ jsx(Download, { className: "h-4 w-4" }), " Download"]
2110
2198
  })
2111
2199
  });
2112
- $[2] = blob;
2113
- $[3] = onDownload;
2114
- $[4] = t2;
2115
- } else t2 = $[4];
2200
+ $[3] = blob;
2201
+ $[4] = onDownload;
2202
+ $[5] = t2;
2203
+ } else t2 = $[5];
2116
2204
  let t3;
2117
- if ($[5] !== blob || $[6] !== code || $[7] !== language || $[8] !== themeStyle) {
2205
+ if ($[6] !== blob || $[7] !== code || $[8] !== language || $[9] !== themeStyle) {
2118
2206
  t3 = !blob && code && /* @__PURE__ */ jsx(Prism, {
2119
2207
  showLineNumbers: true,
2120
2208
  language,
@@ -2124,22 +2212,22 @@ const ResponseContent = (t0) => {
2124
2212
  wrapLines: true,
2125
2213
  children: code
2126
2214
  });
2127
- $[5] = blob;
2128
- $[6] = code;
2129
- $[7] = language;
2130
- $[8] = themeStyle;
2131
- $[9] = t3;
2132
- } else t3 = $[9];
2215
+ $[6] = blob;
2216
+ $[7] = code;
2217
+ $[8] = language;
2218
+ $[9] = themeStyle;
2219
+ $[10] = t3;
2220
+ } else t3 = $[10];
2133
2221
  let t4;
2134
- if ($[10] !== t2 || $[11] !== t3) {
2222
+ if ($[11] !== t2 || $[12] !== t3) {
2135
2223
  t4 = /* @__PURE__ */ jsxs("div", {
2136
2224
  className: "flex flex-col h-full overflow-y-auto",
2137
2225
  children: [t2, t3]
2138
2226
  });
2139
- $[10] = t2;
2140
- $[11] = t3;
2141
- $[12] = t4;
2142
- } else t4 = $[12];
2227
+ $[11] = t2;
2228
+ $[12] = t3;
2229
+ $[13] = t4;
2230
+ } else t4 = $[13];
2143
2231
  return t4;
2144
2232
  };
2145
2233
  function _temp$1(state) {
@@ -2149,26 +2237,30 @@ function _temp$1(state) {
2149
2237
  //#endregion
2150
2238
  //#region src/play/side-panel-response.tsx
2151
2239
  const SidePanelResponse = memo(() => {
2152
- const $ = c(28);
2240
+ const $ = c(29);
2241
+ if ($[0] !== "c41d9d0c255bfb25883f458c9673498cbc698b0e44623ab8537e78707a43852c") {
2242
+ for (let $i = 0; $i < 29; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
2243
+ $[0] = "c41d9d0c255bfb25883f458c9673498cbc698b0e44623ab8537e78707a43852c";
2244
+ }
2153
2245
  const { setResponse } = useEndpointConfiguration();
2154
2246
  const response = useEndpointConfiguration(getResponseSelector);
2155
2247
  const { data } = useStateStream(response?.body instanceof Blob ? void 0 : response?.body);
2156
2248
  const [activeTab, setActiveTab] = useState("preview");
2157
2249
  let t0;
2158
- if ($[0] !== setResponse) {
2250
+ if ($[1] !== setResponse) {
2159
2251
  t0 = () => setResponse(void 0);
2160
- $[0] = setResponse;
2161
- $[1] = t0;
2162
- } else t0 = $[1];
2252
+ $[1] = setResponse;
2253
+ $[2] = t0;
2254
+ } else t0 = $[2];
2163
2255
  const onClose = t0;
2164
2256
  if (!response) return null;
2165
2257
  let t1;
2166
- if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
2258
+ if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
2167
2259
  t1 = (value) => setActiveTab(value);
2168
- $[2] = t1;
2169
- } else t1 = $[2];
2260
+ $[3] = t1;
2261
+ } else t1 = $[3];
2170
2262
  let t2;
2171
- if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
2263
+ if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
2172
2264
  t2 = /* @__PURE__ */ jsxs(TabsList, { children: [/* @__PURE__ */ jsx(TabsTrigger, {
2173
2265
  value: "preview",
2174
2266
  className: "cursor-pointer",
@@ -2178,15 +2270,15 @@ const SidePanelResponse = memo(() => {
2178
2270
  className: "grid grid-cols-[auto_auto] gap-2 items-center cursor-pointer",
2179
2271
  children: "Headers"
2180
2272
  })] });
2181
- $[3] = t2;
2182
- } else t2 = $[3];
2273
+ $[4] = t2;
2274
+ } else t2 = $[4];
2183
2275
  let t3;
2184
- if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
2276
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
2185
2277
  t3 = /* @__PURE__ */ jsx(X, { className: "h-4 w-4" });
2186
- $[4] = t3;
2187
- } else t3 = $[4];
2278
+ $[5] = t3;
2279
+ } else t3 = $[5];
2188
2280
  let t4;
2189
- if ($[5] !== onClose) {
2281
+ if ($[6] !== onClose) {
2190
2282
  t4 = /* @__PURE__ */ jsxs("div", {
2191
2283
  className: "grid grid-cols-[1fr_auto] items-center h-10 border-b px-5 bg-card",
2192
2284
  children: [t2, /* @__PURE__ */ jsx(Button, {
@@ -2196,26 +2288,26 @@ const SidePanelResponse = memo(() => {
2196
2288
  children: t3
2197
2289
  })]
2198
2290
  });
2199
- $[5] = onClose;
2200
- $[6] = t4;
2201
- } else t4 = $[6];
2291
+ $[6] = onClose;
2292
+ $[7] = t4;
2293
+ } else t4 = $[7];
2202
2294
  let t5;
2203
- if ($[7] !== response.statusCode) {
2295
+ if ($[8] !== response.statusCode) {
2204
2296
  t5 = /* @__PURE__ */ jsx(ResponseCode, { statusCode: response.statusCode });
2205
- $[7] = response.statusCode;
2206
- $[8] = t5;
2207
- } else t5 = $[8];
2297
+ $[8] = response.statusCode;
2298
+ $[9] = t5;
2299
+ } else t5 = $[9];
2208
2300
  let t6;
2209
- if ($[9] !== response.executionTime) {
2301
+ if ($[10] !== response.executionTime) {
2210
2302
  t6 = !!response.executionTime && /* @__PURE__ */ jsxs("div", {
2211
2303
  className: "text-muted-foreground bg-muted-foreground/10 px-2 py-1 rounded-sm",
2212
2304
  children: [response.executionTime, "ms"]
2213
2305
  });
2214
- $[9] = response.executionTime;
2215
- $[10] = t6;
2216
- } else t6 = $[10];
2306
+ $[10] = response.executionTime;
2307
+ $[11] = t6;
2308
+ } else t6 = $[11];
2217
2309
  let t7;
2218
- if ($[11] !== t5 || $[12] !== t6) {
2310
+ if ($[12] !== t5 || $[13] !== t6) {
2219
2311
  t7 = /* @__PURE__ */ jsx("div", {
2220
2312
  className: "sticky bottom-0 border-b border-border p-3 text-sm flex items-center gap-1 font-medium",
2221
2313
  children: /* @__PURE__ */ jsxs("div", {
@@ -2223,14 +2315,14 @@ const SidePanelResponse = memo(() => {
2223
2315
  children: [t5, t6]
2224
2316
  })
2225
2317
  });
2226
- $[11] = t5;
2227
- $[12] = t6;
2228
- $[13] = t7;
2229
- } else t7 = $[13];
2318
+ $[12] = t5;
2319
+ $[13] = t6;
2320
+ $[14] = t7;
2321
+ } else t7 = $[14];
2230
2322
  const t8 = response?.body instanceof Blob ? response.body : void 0;
2231
2323
  const t9 = response.headers["content-type"];
2232
2324
  let t10;
2233
- if ($[14] !== data || $[15] !== t8 || $[16] !== t9) {
2325
+ if ($[15] !== data || $[16] !== t8 || $[17] !== t9) {
2234
2326
  t10 = /* @__PURE__ */ jsx(TabsContent, {
2235
2327
  value: "preview",
2236
2328
  children: /* @__PURE__ */ jsx(ResponseContent, {
@@ -2239,19 +2331,19 @@ const SidePanelResponse = memo(() => {
2239
2331
  contentType: t9
2240
2332
  })
2241
2333
  });
2242
- $[14] = data;
2243
- $[15] = t8;
2244
- $[16] = t9;
2245
- $[17] = t10;
2246
- } else t10 = $[17];
2334
+ $[15] = data;
2335
+ $[16] = t8;
2336
+ $[17] = t9;
2337
+ $[18] = t10;
2338
+ } else t10 = $[18];
2247
2339
  let t11;
2248
- if ($[18] !== response.headers) {
2340
+ if ($[19] !== response.headers) {
2249
2341
  t11 = response.headers && Object.entries(response.headers).map(_temp);
2250
- $[18] = response.headers;
2251
- $[19] = t11;
2252
- } else t11 = $[19];
2342
+ $[19] = response.headers;
2343
+ $[20] = t11;
2344
+ } else t11 = $[20];
2253
2345
  let t12;
2254
- if ($[20] !== t11) {
2346
+ if ($[21] !== t11) {
2255
2347
  t12 = /* @__PURE__ */ jsx(TabsContent, {
2256
2348
  value: "headers",
2257
2349
  children: /* @__PURE__ */ jsx("div", {
@@ -2259,11 +2351,11 @@ const SidePanelResponse = memo(() => {
2259
2351
  children: t11
2260
2352
  })
2261
2353
  });
2262
- $[20] = t11;
2263
- $[21] = t12;
2264
- } else t12 = $[21];
2354
+ $[21] = t11;
2355
+ $[22] = t12;
2356
+ } else t12 = $[22];
2265
2357
  let t13;
2266
- if ($[22] !== activeTab || $[23] !== t10 || $[24] !== t12 || $[25] !== t4 || $[26] !== t7) {
2358
+ if ($[23] !== activeTab || $[24] !== t10 || $[25] !== t12 || $[26] !== t4 || $[27] !== t7) {
2267
2359
  t13 = /* @__PURE__ */ jsxs(Tabs, {
2268
2360
  value: activeTab,
2269
2361
  onValueChange: t1,
@@ -2276,13 +2368,13 @@ const SidePanelResponse = memo(() => {
2276
2368
  t12
2277
2369
  ]
2278
2370
  });
2279
- $[22] = activeTab;
2280
- $[23] = t10;
2281
- $[24] = t12;
2282
- $[25] = t4;
2283
- $[26] = t7;
2284
- $[27] = t13;
2285
- } else t13 = $[27];
2371
+ $[23] = activeTab;
2372
+ $[24] = t10;
2373
+ $[25] = t12;
2374
+ $[26] = t4;
2375
+ $[27] = t7;
2376
+ $[28] = t13;
2377
+ } else t13 = $[28];
2286
2378
  return t13;
2287
2379
  });
2288
2380
  function _temp(t0) {
@@ -2344,7 +2436,11 @@ const headersCountSelector = (state) => Object.keys(getHeadersSelector(state)).l
2344
2436
  const hasResponseSelector = (state) => getResponseSelector(state) !== void 0;
2345
2437
  const paramsCountSelector = (state) => Object.keys(getQueryParamsSelector(state)).length;
2346
2438
  const SidePanel = memo((t0) => {
2347
- const $ = c(61);
2439
+ const $ = c(62);
2440
+ if ($[0] !== "0020adea1162c54cf5aae85d8c5ed34a7262d6cfdf90ef6b8d89094328918944") {
2441
+ for (let $i = 0; $i < 62; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
2442
+ $[0] = "0020adea1162c54cf5aae85d8c5ed34a7262d6cfdf90ef6b8d89094328918944";
2443
+ }
2348
2444
  const { endpoint, onClose } = t0;
2349
2445
  const [activeTab, setActiveTab] = useState(endpoint.method === "GET" || endpoint.method === "DELETE" ? "params" : "body");
2350
2446
  const [isSpecOpen, setIsSpecOpen] = useState(false);
@@ -2353,52 +2449,52 @@ const SidePanel = memo((t0) => {
2353
2449
  const pathParamsCount = usePathParams(endpoint.path).length;
2354
2450
  const paramsCount = useEndpointConfiguration(useShallow(paramsCountSelector)) + pathParamsCount;
2355
2451
  let t1;
2356
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
2452
+ if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
2357
2453
  t1 = /* @__PURE__ */ jsx(BackgroundEffect, {});
2358
- $[0] = t1;
2359
- } else t1 = $[0];
2454
+ $[1] = t1;
2455
+ } else t1 = $[1];
2360
2456
  let t2;
2361
- if ($[1] !== endpoint.method || $[2] !== endpoint.path) {
2457
+ if ($[2] !== endpoint.method || $[3] !== endpoint.path) {
2362
2458
  t2 = /* @__PURE__ */ jsx(EndpointPath, {
2363
2459
  method: endpoint.method,
2364
2460
  path: endpoint.path
2365
2461
  });
2366
- $[1] = endpoint.method;
2367
- $[2] = endpoint.path;
2368
- $[3] = t2;
2369
- } else t2 = $[3];
2462
+ $[2] = endpoint.method;
2463
+ $[3] = endpoint.path;
2464
+ $[4] = t2;
2465
+ } else t2 = $[4];
2370
2466
  let t3;
2371
- if ($[4] !== endpoint.description) {
2467
+ if ($[5] !== endpoint.description) {
2372
2468
  t3 = endpoint.description && /* @__PURE__ */ jsx("p", {
2373
2469
  className: "text-sm text-muted-foreground",
2374
2470
  children: endpoint.description
2375
2471
  });
2376
- $[4] = endpoint.description;
2377
- $[5] = t3;
2378
- } else t3 = $[5];
2472
+ $[5] = endpoint.description;
2473
+ $[6] = t3;
2474
+ } else t3 = $[6];
2379
2475
  let t4;
2380
- if ($[6] !== t2 || $[7] !== t3) {
2476
+ if ($[7] !== t2 || $[8] !== t3) {
2381
2477
  t4 = /* @__PURE__ */ jsxs("div", {
2382
2478
  className: "grid grid-rows-2 gap-2",
2383
2479
  children: [t2, t3]
2384
2480
  });
2385
- $[6] = t2;
2386
- $[7] = t3;
2387
- $[8] = t4;
2388
- } else t4 = $[8];
2481
+ $[7] = t2;
2482
+ $[8] = t3;
2483
+ $[9] = t4;
2484
+ } else t4 = $[9];
2389
2485
  let t5;
2390
- if ($[9] !== isSpecOpen) {
2486
+ if ($[10] !== isSpecOpen) {
2391
2487
  t5 = () => setIsSpecOpen(!isSpecOpen);
2392
- $[9] = isSpecOpen;
2393
- $[10] = t5;
2394
- } else t5 = $[10];
2488
+ $[10] = isSpecOpen;
2489
+ $[11] = t5;
2490
+ } else t5 = $[11];
2395
2491
  let t6;
2396
- if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
2492
+ if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
2397
2493
  t6 = /* @__PURE__ */ jsx(Book, {});
2398
- $[11] = t6;
2399
- } else t6 = $[11];
2494
+ $[12] = t6;
2495
+ } else t6 = $[12];
2400
2496
  let t7;
2401
- if ($[12] !== t5) {
2497
+ if ($[13] !== t5) {
2402
2498
  t7 = /* @__PURE__ */ jsx("div", {
2403
2499
  className: "flex items-end justify-end",
2404
2500
  children: /* @__PURE__ */ jsx(Button, {
@@ -2409,27 +2505,27 @@ const SidePanel = memo((t0) => {
2409
2505
  children: t6
2410
2506
  })
2411
2507
  });
2412
- $[12] = t5;
2413
- $[13] = t7;
2414
- } else t7 = $[13];
2508
+ $[13] = t5;
2509
+ $[14] = t7;
2510
+ } else t7 = $[14];
2415
2511
  let t8;
2416
- if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
2512
+ if ($[15] === Symbol.for("react.memo_cache_sentinel")) {
2417
2513
  t8 = /* @__PURE__ */ jsx(X, {});
2418
- $[14] = t8;
2419
- } else t8 = $[14];
2514
+ $[15] = t8;
2515
+ } else t8 = $[15];
2420
2516
  let t9;
2421
- if ($[15] !== onClose) {
2517
+ if ($[16] !== onClose) {
2422
2518
  t9 = /* @__PURE__ */ jsx(Button, {
2423
2519
  variant: "icon",
2424
2520
  size: "icon",
2425
2521
  onClick: onClose,
2426
2522
  children: t8
2427
2523
  });
2428
- $[15] = onClose;
2429
- $[16] = t9;
2430
- } else t9 = $[16];
2524
+ $[16] = onClose;
2525
+ $[17] = t9;
2526
+ } else t9 = $[17];
2431
2527
  let t10;
2432
- if ($[17] !== t4 || $[18] !== t7 || $[19] !== t9) {
2528
+ if ($[18] !== t4 || $[19] !== t7 || $[20] !== t9) {
2433
2529
  t10 = /* @__PURE__ */ jsxs("div", {
2434
2530
  className: "grid grid-cols-[1fr_1fr_auto] items-start gap-4 px-5 py-4 border-b bg-card w-full",
2435
2531
  children: [
@@ -2438,25 +2534,25 @@ const SidePanel = memo((t0) => {
2438
2534
  t9
2439
2535
  ]
2440
2536
  });
2441
- $[17] = t4;
2442
- $[18] = t7;
2443
- $[19] = t9;
2444
- $[20] = t10;
2445
- } else t10 = $[20];
2537
+ $[18] = t4;
2538
+ $[19] = t7;
2539
+ $[20] = t9;
2540
+ $[21] = t10;
2541
+ } else t10 = $[21];
2446
2542
  const t11 = !hasResponse && "grid-cols-1";
2447
2543
  let t12;
2448
- if ($[21] !== t11) {
2544
+ if ($[22] !== t11) {
2449
2545
  t12 = cn("grid grid-cols-[minmax(380px,1fr)_minmax(auto,1fr)]", t11);
2450
- $[21] = t11;
2451
- $[22] = t12;
2452
- } else t12 = $[22];
2546
+ $[22] = t11;
2547
+ $[23] = t12;
2548
+ } else t12 = $[23];
2453
2549
  let t13;
2454
- if ($[23] === Symbol.for("react.memo_cache_sentinel")) {
2550
+ if ($[24] === Symbol.for("react.memo_cache_sentinel")) {
2455
2551
  t13 = (value) => setActiveTab(value);
2456
- $[23] = t13;
2457
- } else t13 = $[23];
2552
+ $[24] = t13;
2553
+ } else t13 = $[24];
2458
2554
  let t14;
2459
- if ($[24] !== paramsCount) {
2555
+ if ($[25] !== paramsCount) {
2460
2556
  t14 = /* @__PURE__ */ jsxs(TabsTrigger, {
2461
2557
  value: "params",
2462
2558
  className: "grid grid-cols-[auto_auto] gap-2 items-center cursor-pointer",
@@ -2467,21 +2563,21 @@ const SidePanel = memo((t0) => {
2467
2563
  children: paramsCount
2468
2564
  })]
2469
2565
  });
2470
- $[24] = paramsCount;
2471
- $[25] = t14;
2472
- } else t14 = $[25];
2566
+ $[25] = paramsCount;
2567
+ $[26] = t14;
2568
+ } else t14 = $[26];
2473
2569
  let t15;
2474
- if ($[26] === Symbol.for("react.memo_cache_sentinel")) {
2570
+ if ($[27] === Symbol.for("react.memo_cache_sentinel")) {
2475
2571
  t15 = /* @__PURE__ */ jsx(TabsTrigger, {
2476
2572
  value: "body",
2477
2573
  className: "cursor-pointer",
2478
2574
  "data-testid": "endpoint-body-tab",
2479
2575
  children: "Body"
2480
2576
  });
2481
- $[26] = t15;
2482
- } else t15 = $[26];
2577
+ $[27] = t15;
2578
+ } else t15 = $[27];
2483
2579
  let t16;
2484
- if ($[27] !== headersCount) {
2580
+ if ($[28] !== headersCount) {
2485
2581
  t16 = /* @__PURE__ */ jsxs(TabsTrigger, {
2486
2582
  value: "headers",
2487
2583
  className: "grid grid-cols-[auto_auto] gap-2 items-center cursor-pointer",
@@ -2492,75 +2588,75 @@ const SidePanel = memo((t0) => {
2492
2588
  children: headersCount
2493
2589
  })]
2494
2590
  });
2495
- $[27] = headersCount;
2496
- $[28] = t16;
2497
- } else t16 = $[28];
2591
+ $[28] = headersCount;
2592
+ $[29] = t16;
2593
+ } else t16 = $[29];
2498
2594
  let t17;
2499
- if ($[29] !== t14 || $[30] !== t16) {
2595
+ if ($[30] !== t14 || $[31] !== t16) {
2500
2596
  t17 = /* @__PURE__ */ jsxs(TabsList, { children: [
2501
2597
  t14,
2502
2598
  t15,
2503
2599
  t16
2504
2600
  ] });
2505
- $[29] = t14;
2506
- $[30] = t16;
2507
- $[31] = t17;
2508
- } else t17 = $[31];
2601
+ $[30] = t14;
2602
+ $[31] = t16;
2603
+ $[32] = t17;
2604
+ } else t17 = $[32];
2509
2605
  const t18 = endpoint.method;
2510
2606
  let t19;
2511
- if ($[32] !== endpoint.path) {
2607
+ if ($[33] !== endpoint.path) {
2512
2608
  t19 = endpoint.path.toString();
2513
- $[32] = endpoint.path;
2514
- $[33] = t19;
2515
- } else t19 = $[33];
2609
+ $[33] = endpoint.path;
2610
+ $[34] = t19;
2611
+ } else t19 = $[34];
2516
2612
  let t20;
2517
- if ($[34] !== endpoint.method || $[35] !== t19) {
2613
+ if ($[35] !== endpoint.method || $[36] !== t19) {
2518
2614
  t20 = /* @__PURE__ */ jsx(TriggerButton, {
2519
2615
  method: t18,
2520
2616
  path: t19
2521
2617
  });
2522
- $[34] = endpoint.method;
2523
- $[35] = t19;
2524
- $[36] = t20;
2525
- } else t20 = $[36];
2618
+ $[35] = endpoint.method;
2619
+ $[36] = t19;
2620
+ $[37] = t20;
2621
+ } else t20 = $[37];
2526
2622
  let t21;
2527
- if ($[37] !== t17 || $[38] !== t20) {
2623
+ if ($[38] !== t17 || $[39] !== t20) {
2528
2624
  t21 = /* @__PURE__ */ jsxs("div", {
2529
2625
  className: "grid grid-cols-[1fr_auto] items-center h-10 border-b px-5 bg-card",
2530
2626
  children: [t17, t20]
2531
2627
  });
2532
- $[37] = t17;
2533
- $[38] = t20;
2534
- $[39] = t21;
2535
- } else t21 = $[39];
2628
+ $[38] = t17;
2629
+ $[39] = t20;
2630
+ $[40] = t21;
2631
+ } else t21 = $[40];
2536
2632
  let t22;
2537
- if ($[40] !== endpoint.path) {
2633
+ if ($[41] !== endpoint.path) {
2538
2634
  t22 = /* @__PURE__ */ jsx(TabsContent, {
2539
2635
  value: "params",
2540
2636
  children: /* @__PURE__ */ jsx(SidePanelParamsTab, { path: endpoint.path })
2541
2637
  });
2542
- $[40] = endpoint.path;
2543
- $[41] = t22;
2544
- } else t22 = $[41];
2638
+ $[41] = endpoint.path;
2639
+ $[42] = t22;
2640
+ } else t22 = $[42];
2545
2641
  let t23;
2546
- if ($[42] !== endpoint.bodySchema) {
2642
+ if ($[43] !== endpoint.bodySchema) {
2547
2643
  t23 = /* @__PURE__ */ jsx(TabsContent, {
2548
2644
  value: "body",
2549
2645
  children: /* @__PURE__ */ jsx(SidePanelBodyTab, { schema: endpoint.bodySchema })
2550
2646
  });
2551
- $[42] = endpoint.bodySchema;
2552
- $[43] = t23;
2553
- } else t23 = $[43];
2647
+ $[43] = endpoint.bodySchema;
2648
+ $[44] = t23;
2649
+ } else t23 = $[44];
2554
2650
  let t24;
2555
- if ($[44] === Symbol.for("react.memo_cache_sentinel")) {
2651
+ if ($[45] === Symbol.for("react.memo_cache_sentinel")) {
2556
2652
  t24 = /* @__PURE__ */ jsx(TabsContent, {
2557
2653
  value: "headers",
2558
2654
  children: /* @__PURE__ */ jsx(SidePanelHeadersTab, {})
2559
2655
  });
2560
- $[44] = t24;
2561
- } else t24 = $[44];
2656
+ $[45] = t24;
2657
+ } else t24 = $[45];
2562
2658
  let t25;
2563
- if ($[45] !== activeTab || $[46] !== t21 || $[47] !== t22 || $[48] !== t23) {
2659
+ if ($[46] !== activeTab || $[47] !== t21 || $[48] !== t22 || $[49] !== t23) {
2564
2660
  t25 = /* @__PURE__ */ jsxs(Tabs, {
2565
2661
  value: activeTab,
2566
2662
  onValueChange: t13,
@@ -2571,39 +2667,39 @@ const SidePanel = memo((t0) => {
2571
2667
  t24
2572
2668
  ]
2573
2669
  });
2574
- $[45] = activeTab;
2575
- $[46] = t21;
2576
- $[47] = t22;
2577
- $[48] = t23;
2578
- $[49] = t25;
2579
- } else t25 = $[49];
2670
+ $[46] = activeTab;
2671
+ $[47] = t21;
2672
+ $[48] = t22;
2673
+ $[49] = t23;
2674
+ $[50] = t25;
2675
+ } else t25 = $[50];
2580
2676
  let t26;
2581
- if ($[50] === Symbol.for("react.memo_cache_sentinel")) {
2677
+ if ($[51] === Symbol.for("react.memo_cache_sentinel")) {
2582
2678
  t26 = /* @__PURE__ */ jsx(SidePanelResponse, {});
2583
- $[50] = t26;
2584
- } else t26 = $[50];
2679
+ $[51] = t26;
2680
+ } else t26 = $[51];
2585
2681
  let t27;
2586
- if ($[51] !== t12 || $[52] !== t25) {
2682
+ if ($[52] !== t12 || $[53] !== t25) {
2587
2683
  t27 = /* @__PURE__ */ jsxs("div", {
2588
2684
  className: t12,
2589
2685
  children: [t25, t26]
2590
2686
  });
2591
- $[51] = t12;
2592
- $[52] = t25;
2593
- $[53] = t27;
2594
- } else t27 = $[53];
2687
+ $[52] = t12;
2688
+ $[53] = t25;
2689
+ $[54] = t27;
2690
+ } else t27 = $[54];
2595
2691
  let t28;
2596
- if ($[54] !== endpoint || $[55] !== isSpecOpen) {
2692
+ if ($[55] !== endpoint || $[56] !== isSpecOpen) {
2597
2693
  t28 = isSpecOpen && /* @__PURE__ */ jsx(SpecSidePanel, {
2598
2694
  endpoint,
2599
2695
  onClose: () => setIsSpecOpen(false)
2600
2696
  });
2601
- $[54] = endpoint;
2602
- $[55] = isSpecOpen;
2603
- $[56] = t28;
2604
- } else t28 = $[56];
2697
+ $[55] = endpoint;
2698
+ $[56] = isSpecOpen;
2699
+ $[57] = t28;
2700
+ } else t28 = $[57];
2605
2701
  let t29;
2606
- if ($[57] !== t10 || $[58] !== t27 || $[59] !== t28) {
2702
+ if ($[58] !== t10 || $[59] !== t27 || $[60] !== t28) {
2607
2703
  t29 = /* @__PURE__ */ jsxs("div", {
2608
2704
  className: "isolate grid grid-cols-1 overflow-y-auto min-w-0 grid-rows-[auto_1fr] border-l border-border",
2609
2705
  "data-testid": "endpoint-details-panel",
@@ -2614,79 +2710,83 @@ const SidePanel = memo((t0) => {
2614
2710
  t28
2615
2711
  ]
2616
2712
  });
2617
- $[57] = t10;
2618
- $[58] = t27;
2619
- $[59] = t28;
2620
- $[60] = t29;
2621
- } else t29 = $[60];
2713
+ $[58] = t10;
2714
+ $[59] = t27;
2715
+ $[60] = t28;
2716
+ $[61] = t29;
2717
+ } else t29 = $[61];
2622
2718
  return t29;
2623
2719
  });
2624
2720
 
2625
2721
  //#endregion
2626
2722
  //#region src/endpoints-page.tsx
2627
2723
  const EndpointsPage = () => {
2628
- const $ = c(32);
2724
+ const $ = c(33);
2725
+ if ($[0] !== "198b8272767e037dafaba995069a2aa9f7c2ab3fe909e2acb55498bc6d00f981") {
2726
+ for (let $i = 0; $i < 33; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
2727
+ $[0] = "198b8272767e037dafaba995069a2aa9f7c2ab3fe909e2acb55498bc6d00f981";
2728
+ }
2629
2729
  const { endpoints, groupedEndpoints } = useGetEndpoints();
2630
2730
  const { selectedEndpointId, setSelectedEndpointId, toggleFlowGroupStatus, flowGroupStatus } = useEndpointConfiguration();
2631
2731
  let t0;
2632
- if ($[0] !== endpoints || $[1] !== selectedEndpointId) {
2732
+ if ($[1] !== endpoints || $[2] !== selectedEndpointId) {
2633
2733
  let t1$1;
2634
- if ($[3] !== selectedEndpointId) {
2734
+ if ($[4] !== selectedEndpointId) {
2635
2735
  t1$1 = (endpoint) => endpoint.id === selectedEndpointId;
2636
- $[3] = selectedEndpointId;
2637
- $[4] = t1$1;
2638
- } else t1$1 = $[4];
2736
+ $[4] = selectedEndpointId;
2737
+ $[5] = t1$1;
2738
+ } else t1$1 = $[5];
2639
2739
  t0 = endpoints.find(t1$1);
2640
- $[0] = endpoints;
2641
- $[1] = selectedEndpointId;
2642
- $[2] = t0;
2643
- } else t0 = $[2];
2740
+ $[1] = endpoints;
2741
+ $[2] = selectedEndpointId;
2742
+ $[3] = t0;
2743
+ } else t0 = $[3];
2644
2744
  const selectedEndpoint = t0;
2645
2745
  let t1;
2646
- if ($[5] !== setSelectedEndpointId) {
2746
+ if ($[6] !== setSelectedEndpointId) {
2647
2747
  t1 = () => {
2648
2748
  setSelectedEndpointId("");
2649
2749
  };
2650
- $[5] = setSelectedEndpointId;
2651
- $[6] = t1;
2652
- } else t1 = $[6];
2750
+ $[6] = setSelectedEndpointId;
2751
+ $[7] = t1;
2752
+ } else t1 = $[7];
2653
2753
  const onClose = t1;
2654
2754
  const [search, setSearch] = useState("");
2655
2755
  let t2;
2656
- if ($[7] !== groupedEndpoints || $[8] !== search) {
2756
+ if ($[8] !== groupedEndpoints || $[9] !== search) {
2657
2757
  t2 = Object.entries(groupedEndpoints).filter((t3$1) => {
2658
2758
  const [, endpoints_0] = t3$1;
2659
2759
  return endpoints_0.some((endpoint_0) => endpoint_0.method?.toLowerCase().includes(search.toLowerCase()) || endpoint_0.path?.toLowerCase().includes(search.toLowerCase()));
2660
2760
  });
2661
- $[7] = groupedEndpoints;
2662
- $[8] = search;
2663
- $[9] = t2;
2664
- } else t2 = $[9];
2761
+ $[8] = groupedEndpoints;
2762
+ $[9] = search;
2763
+ $[10] = t2;
2764
+ } else t2 = $[10];
2665
2765
  const filteredEndpoints = t2;
2666
2766
  const t3 = selectedEndpoint ? "grid-cols-[300px_1fr] " : "grid-cols-1";
2667
2767
  let t4;
2668
- if ($[10] !== t3) {
2768
+ if ($[11] !== t3) {
2669
2769
  t4 = cn("grid h-full max-h-full", t3);
2670
- $[10] = t3;
2671
- $[11] = t4;
2672
- } else t4 = $[11];
2770
+ $[11] = t3;
2771
+ $[12] = t4;
2772
+ } else t4 = $[12];
2673
2773
  let t5;
2674
- if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
2774
+ if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
2675
2775
  t5 = () => setSearch("");
2676
- $[12] = t5;
2677
- } else t5 = $[12];
2776
+ $[13] = t5;
2777
+ } else t5 = $[13];
2678
2778
  let t6;
2679
- if ($[13] !== search) {
2779
+ if ($[14] !== search) {
2680
2780
  t6 = /* @__PURE__ */ jsx(EndpointsSearch, {
2681
2781
  value: search,
2682
2782
  onChange: setSearch,
2683
2783
  onClear: t5
2684
2784
  });
2685
- $[13] = search;
2686
- $[14] = t6;
2687
- } else t6 = $[14];
2785
+ $[14] = search;
2786
+ $[15] = t6;
2787
+ } else t6 = $[15];
2688
2788
  let t7;
2689
- if ($[15] !== filteredEndpoints || $[16] !== flowGroupStatus || $[17] !== search || $[18] !== selectedEndpointId || $[19] !== setSelectedEndpointId || $[20] !== toggleFlowGroupStatus) {
2789
+ if ($[16] !== filteredEndpoints || $[17] !== flowGroupStatus || $[18] !== search || $[19] !== selectedEndpointId || $[20] !== setSelectedEndpointId || $[21] !== toggleFlowGroupStatus) {
2690
2790
  t7 = /* @__PURE__ */ jsx("div", {
2691
2791
  className: "grid grid-cols-1 auto-rows-max overflow-auto min-w-0",
2692
2792
  children: filteredEndpoints.map((t8$1) => {
@@ -2704,46 +2804,46 @@ const EndpointsPage = () => {
2704
2804
  }, flow);
2705
2805
  })
2706
2806
  });
2707
- $[15] = filteredEndpoints;
2708
- $[16] = flowGroupStatus;
2709
- $[17] = search;
2710
- $[18] = selectedEndpointId;
2711
- $[19] = setSelectedEndpointId;
2712
- $[20] = toggleFlowGroupStatus;
2713
- $[21] = t7;
2714
- } else t7 = $[21];
2807
+ $[16] = filteredEndpoints;
2808
+ $[17] = flowGroupStatus;
2809
+ $[18] = search;
2810
+ $[19] = selectedEndpointId;
2811
+ $[20] = setSelectedEndpointId;
2812
+ $[21] = toggleFlowGroupStatus;
2813
+ $[22] = t7;
2814
+ } else t7 = $[22];
2715
2815
  let t8;
2716
- if ($[22] !== t6 || $[23] !== t7) {
2816
+ if ($[23] !== t6 || $[24] !== t7) {
2717
2817
  t8 = /* @__PURE__ */ jsxs("div", {
2718
2818
  className: "grid grid-rows-[auto_1fr] h-full overflow-auto min-w-0",
2719
2819
  children: [t6, t7]
2720
2820
  });
2721
- $[22] = t6;
2722
- $[23] = t7;
2723
- $[24] = t8;
2724
- } else t8 = $[24];
2821
+ $[23] = t6;
2822
+ $[24] = t7;
2823
+ $[25] = t8;
2824
+ } else t8 = $[25];
2725
2825
  let t9;
2726
- if ($[25] !== onClose || $[26] !== selectedEndpoint) {
2826
+ if ($[26] !== onClose || $[27] !== selectedEndpoint) {
2727
2827
  t9 = selectedEndpoint && /* @__PURE__ */ jsx(SidePanel, {
2728
2828
  endpoint: selectedEndpoint,
2729
2829
  onClose
2730
2830
  });
2731
- $[25] = onClose;
2732
- $[26] = selectedEndpoint;
2733
- $[27] = t9;
2734
- } else t9 = $[27];
2831
+ $[26] = onClose;
2832
+ $[27] = selectedEndpoint;
2833
+ $[28] = t9;
2834
+ } else t9 = $[28];
2735
2835
  let t10;
2736
- if ($[28] !== t4 || $[29] !== t8 || $[30] !== t9) {
2836
+ if ($[29] !== t4 || $[30] !== t8 || $[31] !== t9) {
2737
2837
  t10 = /* @__PURE__ */ jsxs("div", {
2738
2838
  className: t4,
2739
2839
  "data-testid": "endpoints-list",
2740
2840
  children: [t8, t9]
2741
2841
  });
2742
- $[28] = t4;
2743
- $[29] = t8;
2744
- $[30] = t9;
2745
- $[31] = t10;
2746
- } else t10 = $[31];
2842
+ $[29] = t4;
2843
+ $[30] = t8;
2844
+ $[31] = t9;
2845
+ $[32] = t10;
2846
+ } else t10 = $[32];
2747
2847
  return t10;
2748
2848
  };
2749
2849