@unotest/protocol 0.49.1 → 0.50.0
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/CHANGELOG.md +48 -0
- package/dist/index.d.ts +98 -14
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.50.0] - 2026-10-14
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 7f6d3d3: Breakpoints set in the viewer no longer dirty the work tree. The store moves from `unotest/.debugger.json` to `.unotest/debugger.json` (`.unotest/debugger-mobile.json` for mobile). `init` already lists `.unotest/` in `.gitignore`. The viewer, the CLI (`e2e --debug`) and the MCP `run_test` read and write the new file.
|
|
8
|
+
|
|
9
|
+
Migration: nothing to do by hand. The first viewer start or debug run moves an existing `unotest/.debugger.json` to the new place, keeping its breakpoints. If both files exist, the new one is used and the old one is left alone. Git then shows `unotest/.debugger.json` as deleted: commit the deletion.
|
|
10
|
+
|
|
11
|
+
`@unotest/protocol`: `debuggerFileFor(suffix)` returns the new path; `legacyDebuggerFileFor(suffix)` names the old one and `LOCAL_STATE_DIR` is `.unotest`. `@unotest/core`: `debuggerFile(projectRoot, suffix)` returns the store's absolute path and performs the move.
|
|
12
|
+
|
|
13
|
+
- ca28445: A scenario no longer reads the runner's own credentials, and a `shell()` step's process no longer inherits them. A bare identifier still resolves against the whole environment, so `BASE_URL` or a token a CI job exports reads as before. The names kept to the runner: `UNOTEST_JUDGE_TOKEN`, `UNOTEST_JUDGE_ACCESS_TOKEN`, `UNOTEST_CLOUD_TOKEN`, `UNOTEST_BOX_TOKEN`, `UNOTEST_BOX_READ_TOKEN`, the grounder's `UNOTEST_GROUNDER_REMOTE_TOKEN`, `_PROVIDER_KEY`, `_PICKER_KEY`, `_EMBED_KEY`, `_SHARED_TOKEN`, `_METRICS_TOKEN` and `_REVOCATIONS_TOKEN`, and the judge provider's API key (`ANTHROPIC_API_KEY`, `OPENAI_API_KEY` or `GEMINI_API_KEY`), the last only while `UNOTEST_JUDGE_MODE=local` and only for the active provider.
|
|
14
|
+
|
|
15
|
+
Reading one is refused with whose it is, for example `ANTHROPIC_API_KEY is the judge's credential (UNOTEST_JUDGE_MODE=local) on this runner, not a scenario variable`, rather than "not found". The check a run makes before the browser starts, `{{NAME}}` in `explore_step` and `sandbox.exportSecrets` give the same sentence.
|
|
16
|
+
|
|
17
|
+
`@unotest/protocol` exports `JUDGE_API_KEY_ENV` and `judgeSecretEnvNames(env)`. `@unotest/grounder-client` exports `GROUNDER_SECRET_ENV` and `GROUNDER_SECRET_ENV_NAMES`.
|
|
18
|
+
|
|
19
|
+
Migration:
|
|
20
|
+
|
|
21
|
+
- A scenario or a `shell()` command that read one of these names on purpose: give the value its own name in `unotest/.secrets` (`APP_ANTHROPIC_API_KEY=…`) and read that. With a remote judge, or a judge on another provider, a vendor API key is the application's and reads as before.
|
|
22
|
+
|
|
23
|
+
- ff7bdae: Viewer fixes:
|
|
24
|
+
|
|
25
|
+
- **Run again tab.** After Run again on an errored or `// @expect-fail` test, the new run's tab now shows the same mark as its history row (`‼` for errored, the expected colour for an expected failure). Before, it showed a plain red dot until the page was reloaded.
|
|
26
|
+
- **History after overlapping loads.** The run history no longer goes back to an older list when an earlier refresh answers after a later one.
|
|
27
|
+
- **One-line callbacks.** In the Steps and Trace tabs, a callback written on one line, such as `items.forEach((k) => { seen.add(k); });`, now opens into rows that show its own statement (`seen.add(k);`). Before, each row repeated the whole line. Runs recorded by earlier versions still show the whole line in the Trace tab.
|
|
28
|
+
- **Error card badge.** The badge on a failed step now says what kind of failure it is, in the words the CLI uses: `failed check` when a check did not hold, `script error` when the script could not do what it was asked. The error's class name, such as `NullMemberError`, now appears on hover. Before, the badge showed only the class name.
|
|
29
|
+
|
|
30
|
+
`@unotest/protocol`: `step:started` gains optional `endLine` and `endCol`, the end of the statement. `endCol` is the 1-based column just past its last character.
|
|
31
|
+
|
|
32
|
+
- fe8540b: Viewer: a statement that hands a function to a call, such as `xs.forEach((x) => { ... })`, now opens into the statements of that function, as an `if` does. Each of them shows its status and notes and takes a breakpoint. Page code passed to `evaluate` / `evaluateOnLocator` stays closed: the page runs it, not the scenario. The DSL vocabulary entries carry `pageCodeArg` for that, and `@unotest/dsl` exports `calleeName`.
|
|
33
|
+
- accf0d6: The viewer now shows an errored run as errored, the way the CLI counts it, instead of as failed. A failed check is `failed`; a script that could not do what it was asked — a wrong call, a browser that went away, a command that did not finish — is `errored`.
|
|
34
|
+
|
|
35
|
+
- Home has an `errored` card and legend entry. An errored tile carries the `‼` sign as well as its own colour. The headline uses the CLI's words: `1 failed · 1 errored.`
|
|
36
|
+
- Failing now, the run history, the run's tab and the Runs badge draw an errored test with `‼`. It still counts as broken now.
|
|
37
|
+
- On an errored run's tab, the step it broke on, its block, the progress bar and the error card take the errored sign and colour.
|
|
38
|
+
- A run that failed on purpose is purple in the run history too, as it is on Home: one run, one colour everywhere.
|
|
39
|
+
- The red of a failed check is darker in light theme and lighter in dark theme, so its text badge meets WCAG AA contrast.
|
|
40
|
+
- A file of several tests reads as errored only when none of its tests failed a check.
|
|
41
|
+
|
|
42
|
+
`@unotest/protocol`: `run:finished`, `file-run:test-finished` and `collection-run:scenario-finished` carry `errored: true`, and `RunMeta` carries `errored`. The outcome stays `failed`, so a reader that predates the field still sees a failed run. The run index schema is now version 5 (`lastErrored`, `recentErrored`). An older index is rebuilt on first read.
|
|
43
|
+
|
|
44
|
+
## [0.49.2] - 2026-10-12
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- 92242d3: A run on a browser profile (`launch.userDataDir` or `UNOTEST_USER_DATA_DIR`) no longer prints a line about it on every run. The run journal records it instead: the `run:started` event in `steps.jsonl` carries `browserProfile`, the profile directory the run played on. Its presence means every scenario shared one browser context, with no isolation between them. Runs with a fresh context per test have no such field.
|
|
49
|
+
- 65a81be: The viewer no longer paints a test marked `@expect-fail` as failed on purpose when it errored. The tile, the tree dot, the scenario header and the history strips now read the marker the runner recorded for each run, not the marker in the source today: a marked test that failed is purple, the same test erroring on a script error is red and counts as failing. The run index records that reading per run and is rebuilt once on the first start after the update. The scenario header of a one-test file now shows `expected` in the same purple as the tree, instead of `failed`.
|
|
50
|
+
|
|
3
51
|
## [0.49.1] - 2026-10-11
|
|
4
52
|
|
|
5
53
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -62,12 +62,19 @@ declare function isRunsDirName(name: string): boolean;
|
|
|
62
62
|
/** `UNOTEST_DEBUG` artifact root under `unotest/`: `.debug` /
|
|
63
63
|
* `.debug-mobile`. */
|
|
64
64
|
declare function debugDirFor(suffix: string): string;
|
|
65
|
+
/** Per-project local state of the tool, relative to project root —
|
|
66
|
+
* `init` gitignores it as a whole. */
|
|
67
|
+
declare const LOCAL_STATE_DIR = ".unotest";
|
|
65
68
|
/** Per-target shared breakpoint store, relative to project root:
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
69
|
+
* `.unotest/debugger.json` / `.unotest/debugger-mobile.json`. Local to
|
|
70
|
+
* the checkout: setting a breakpoint must not dirty the work tree.
|
|
71
|
+
* Breakpoint keys are scenario names RELATIVE to the target's testDir,
|
|
72
|
+
* so each target needs its own file (same key ≠ same scenario across
|
|
73
|
+
* targets). Schema: `BreakpointsFile` in `protocol/breakpoints-file.ts`. */
|
|
70
74
|
declare function debuggerFileFor(suffix: string): string;
|
|
75
|
+
/** Where the breakpoint store used to live, inside the tracked suite
|
|
76
|
+
* (`unotest/.debugger.json`): read once to move it to `debuggerFileFor`. */
|
|
77
|
+
declare function legacyDebuggerFileFor(suffix: string): string;
|
|
71
78
|
/** Lockfile path *relative to* `unotest/`. Project-local (multiple viewers
|
|
72
79
|
* for different projects coexist). */
|
|
73
80
|
declare const LOCK_FILE = ".viewer.lock";
|
|
@@ -439,6 +446,12 @@ interface RunStartedEvent extends RunArtifactBase {
|
|
|
439
446
|
* the run of a FILE that holds several tests (it groups them) and on
|
|
440
447
|
* runs written before 0.49.0. */
|
|
441
448
|
test?: string;
|
|
449
|
+
/** The browser profile directory the run plays on, as the suite or the
|
|
450
|
+
* machine set it (`launch.userDataDir` / `UNOTEST_USER_DATA_DIR`).
|
|
451
|
+
* Present means one shared context: cookies, storage and tabs carry
|
|
452
|
+
* over between scenarios, so a pass may lean on an earlier one. Absent
|
|
453
|
+
* on runs with a fresh context per test. Since 0.49.2. */
|
|
454
|
+
browserProfile?: string;
|
|
442
455
|
}
|
|
443
456
|
/** Every event of a step carries the browser context it was written in,
|
|
444
457
|
* once the test has opened a second one (`newContext()`): 0 is the run's
|
|
@@ -462,6 +475,13 @@ interface StepStartedEvent extends RunArtifactBase, ContextTagged {
|
|
|
462
475
|
* columns; earlier releases emitted 0-indexed columns for
|
|
463
476
|
* word-initial statements). */
|
|
464
477
|
col: number;
|
|
478
|
+
/** Where the statement ends: the line of its last character, and the
|
|
479
|
+
* 1-indexed column just past it. A statement that shares its line
|
|
480
|
+
* with others — a one-line callback's body — is told apart by them.
|
|
481
|
+
* Absent in journals written before 0.50.0: a reader then shows the
|
|
482
|
+
* whole line. */
|
|
483
|
+
endLine?: number;
|
|
484
|
+
endCol?: number;
|
|
465
485
|
}
|
|
466
486
|
interface StepOkEvent extends RunArtifactBase, ContextTagged {
|
|
467
487
|
kind: "step:ok";
|
|
@@ -730,6 +750,12 @@ interface RunFinishedEvent extends RunArtifactBase {
|
|
|
730
750
|
* is a failure (a marked test passed — what it guarded is no longer
|
|
731
751
|
* broken). A reader older than the field sees the plain outcome. */
|
|
732
752
|
expectFail?: true;
|
|
753
|
+
/** Set when the run ended on an error of the scenario or its stand — a
|
|
754
|
+
* wrong call, a browser that went away, a command that did not finish —
|
|
755
|
+
* rather than on a check that did not hold. The outcome stays `failed`;
|
|
756
|
+
* this says how to read it, so a reader older than the field still sees
|
|
757
|
+
* a failed run. Since 0.50.0. */
|
|
758
|
+
errored?: true;
|
|
733
759
|
}
|
|
734
760
|
/** Debugger pause. Reason discriminates:
|
|
735
761
|
* - `breakpoint` — executor halted before a statement whose `line:col` is
|
|
@@ -852,6 +878,8 @@ interface TestRunOutcome {
|
|
|
852
878
|
/** Set when the test was marked `@expect-fail`; read with the outcome
|
|
853
879
|
* as on `run:finished`. */
|
|
854
880
|
expectFail?: true;
|
|
881
|
+
/** Set when the test errored; read as on `run:finished`. */
|
|
882
|
+
errored?: true;
|
|
855
883
|
}
|
|
856
884
|
interface FileRunTestStartedEvent extends RunArtifactBase {
|
|
857
885
|
kind: "file-run:test-started";
|
|
@@ -883,6 +911,8 @@ interface CollectionScenarioFinishedEvent extends RunArtifactBase {
|
|
|
883
911
|
/** One entry per test when the scenario file held several: the outcome
|
|
884
912
|
* above is the worst of them. Absent for a one-test file. Since 0.49.0. */
|
|
885
913
|
tests?: TestRunOutcome[];
|
|
914
|
+
/** Set when the scenario errored; read as on `run:finished`. */
|
|
915
|
+
errored?: true;
|
|
886
916
|
}
|
|
887
917
|
interface CollectionRunFinishedEvent extends RunArtifactBase {
|
|
888
918
|
kind: "collection-run:finished";
|
|
@@ -902,7 +932,7 @@ interface ScenarioRunRequest {
|
|
|
902
932
|
* Adapter maps this to the runner's preferred env / arg. */
|
|
903
933
|
headed?: boolean;
|
|
904
934
|
/** Spawn with debugger enabled (breakpoints from
|
|
905
|
-
*
|
|
935
|
+
* `.unotest/debugger.json` + inline override). */
|
|
906
936
|
debug?: boolean;
|
|
907
937
|
/** Inline breakpoint override as `"line:col"` strings. Only honored
|
|
908
938
|
* when `debug=true`. */
|
|
@@ -994,6 +1024,10 @@ interface RunMeta {
|
|
|
994
1024
|
* was at run time; a later edit of the source does not rewrite history.
|
|
995
1025
|
* Absent on every other run. */
|
|
996
1026
|
expectFail?: true;
|
|
1027
|
+
/** From `run:finished`: the run errored — `status` is `failed`, and the
|
|
1028
|
+
* scenario or its stand broke rather than a check. Absent on every
|
|
1029
|
+
* other run. */
|
|
1030
|
+
errored?: true;
|
|
997
1031
|
/** Run-id of the group this run belongs to: a collection-run, or the
|
|
998
1032
|
* run of a file with several tests. Absent for top-level runs and for
|
|
999
1033
|
* collection-runs themselves. Populated from the child's
|
|
@@ -1012,8 +1046,12 @@ interface RunMeta {
|
|
|
1012
1046
|
|
|
1013
1047
|
/** Bumped when a line's shape changes incompatibly. A file whose header
|
|
1014
1048
|
* carries a different version is discarded and rebuilt rather than
|
|
1015
|
-
* half-parsed. 3: `skipped` status — a v2 line filed a skip as passed.
|
|
1016
|
-
|
|
1049
|
+
* half-parsed. 3: `skipped` status — a v2 line filed a skip as passed.
|
|
1050
|
+
* 4: the runner's `@expect-fail` reading (`lastExpectFail`,
|
|
1051
|
+
* `recentExpectFail`) — a v3 entry has none, and a reader would fall
|
|
1052
|
+
* back to nothing rather than to the truth. 5: errored runs
|
|
1053
|
+
* (`lastErrored`, `recentErrored`) — a v4 entry files them as failed. */
|
|
1054
|
+
declare const RUN_INDEX_SCHEMA_VERSION = 5;
|
|
1017
1055
|
/** How many past outcomes a scenario's rolling window keeps. Twelve is
|
|
1018
1056
|
* enough to see a flake and small enough that the whole field of them
|
|
1019
1057
|
* fits one JSON file. Exported so the fold and everything that renders
|
|
@@ -1040,12 +1078,27 @@ interface ScenarioLatestEntry {
|
|
|
1040
1078
|
/** Why the last run skipped itself. Present exactly when `lastStatus`
|
|
1041
1079
|
* is `skipped`, so a tile can say why it is grey without a run read. */
|
|
1042
1080
|
lastSkipReason?: string;
|
|
1081
|
+
/** The last run was marked `@expect-fail` when it ran — the runner's
|
|
1082
|
+
* reading from its `run:finished`, not the source's marker today. A
|
|
1083
|
+
* marked test that errored carries none: a script error is not the
|
|
1084
|
+
* failure it promised. Since 0.49.2. */
|
|
1085
|
+
lastExpectFail?: true;
|
|
1086
|
+
/** The last run errored (`lastStatus` is `failed`): the scenario or its
|
|
1087
|
+
* stand broke, not a check. Since 0.50.0. */
|
|
1088
|
+
lastErrored?: true;
|
|
1043
1089
|
/** Up to {@link SCENARIO_RECENT_WINDOW} past outcomes, OLDEST FIRST.
|
|
1044
1090
|
* Answers the one question a single last status cannot: does this
|
|
1045
1091
|
* test flake. Kept here rather than fetched per scenario because the
|
|
1046
1092
|
* overview needs it for every test at once, and a page request per
|
|
1047
1093
|
* test would be one round trip per mouse movement. */
|
|
1048
1094
|
recent: RunStatus[];
|
|
1095
|
+
/** Aligned with `recent`: whether each of those runs was marked
|
|
1096
|
+
* `@expect-fail` when it ran. Absent when none was. Read through
|
|
1097
|
+
* {@link recentRuns}. Since 0.49.2. */
|
|
1098
|
+
recentExpectFail?: boolean[];
|
|
1099
|
+
/** Aligned with `recent`: whether each of those runs errored. Absent
|
|
1100
|
+
* when none did. Read through {@link recentRuns}. Since 0.50.0. */
|
|
1101
|
+
recentErrored?: boolean[];
|
|
1049
1102
|
/** Consecutive failing runs ending at `lastRunId`. Zero when the last
|
|
1050
1103
|
* run passed. Distinguishes "just broke" from "broken for weeks", and
|
|
1051
1104
|
* a value of 1 after green runs is the signature of a flake. */
|
|
@@ -1071,13 +1124,23 @@ declare function isFailingStatus(status: RunStatus): boolean;
|
|
|
1071
1124
|
/** The status a finished run is listed under: a `completed` run that
|
|
1072
1125
|
* skipped itself proved nothing, so it is not `passed`. */
|
|
1073
1126
|
declare function runStatusOf(outcome: RunOutcome, skipReason: string | undefined): RunStatus;
|
|
1127
|
+
/** What a fold reads off one run. */
|
|
1128
|
+
type FoldableRun = Pick<RunMeta, "runId" | "status" | "startedAt" | "durationMs" | "skipReason" | "expectFail" | "errored">;
|
|
1129
|
+
/** One past outcome of the rolling window, with the marker it ran under. */
|
|
1130
|
+
interface RecentRun {
|
|
1131
|
+
status: RunStatus;
|
|
1132
|
+
expectFail: boolean;
|
|
1133
|
+
errored: boolean;
|
|
1134
|
+
}
|
|
1135
|
+
/** The window of an entry, oldest first, each outcome with its marker. */
|
|
1136
|
+
declare function recentRuns(entry: Pick<ScenarioLatestEntry, "recent" | "recentExpectFail" | "recentErrored">): RecentRun[];
|
|
1074
1137
|
/** Fold one newer run into a scenario's rolling state. Pure so the live
|
|
1075
1138
|
* path and the rebuild path cannot disagree about what a streak is. A
|
|
1076
1139
|
* file's per-test state rides along untouched: the file's own run says
|
|
1077
1140
|
* nothing about any one test. */
|
|
1078
|
-
declare function foldScenarioRun(prev: ScenarioLatestEntry | undefined, run:
|
|
1141
|
+
declare function foldScenarioRun(prev: ScenarioLatestEntry | undefined, run: FoldableRun): ScenarioLatestEntry;
|
|
1079
1142
|
/** Fold one newer run of `test` into its file's entry, under `tests`. */
|
|
1080
|
-
declare function foldTestRun(entry: ScenarioLatestEntry, test: string, run:
|
|
1143
|
+
declare function foldTestRun(entry: ScenarioLatestEntry, test: string, run: FoldableRun): ScenarioLatestEntry;
|
|
1081
1144
|
/** Filename for a scenario's index. `encodeURIComponent` because scenario
|
|
1082
1145
|
* refs carry `/` (`big-table/edit-dialog`) and must not become nested
|
|
1083
1146
|
* directories — and because it is reversible, so the ref can be read
|
|
@@ -3052,7 +3115,7 @@ interface IRunnerAdapter {
|
|
|
3052
3115
|
* keeps the bare names), `"-mobile"` for mobile, `"-unity"` for a
|
|
3053
3116
|
* future unity runner. Derived names (via `paths.ts` helpers):
|
|
3054
3117
|
* scenario tree `e2e<suffix>`, run artifacts `.runs<suffix>`, debug
|
|
3055
|
-
* logs `.debug<suffix>`, breakpoints `.debugger<suffix>.json`, env
|
|
3118
|
+
* logs `.debug<suffix>`, breakpoints `.unotest/debugger<suffix>.json`, env
|
|
3056
3119
|
* overlays `.env<suffix>`. The viewer scopes discovery/runs/
|
|
3057
3120
|
* breakpoints by the active target's suffix so no folder name is
|
|
3058
3121
|
* ever hardcoded in viewer source (OCP: a new target just declares
|
|
@@ -3586,6 +3649,12 @@ interface DslVocabEntry {
|
|
|
3586
3649
|
* other than `"none"` produces a locator (so it fits a `locator`
|
|
3587
3650
|
* argument slot). Absent for keywords / helpers that have no contract. */
|
|
3588
3651
|
locatorCapability?: "none" | "locator" | "chainableLocator";
|
|
3652
|
+
/** The argument that is code run in the PAGE (`evaluate(fn)` → 0,
|
|
3653
|
+
* `evaluateOnLocator(loc, fn)` → 1), counted as the free call takes
|
|
3654
|
+
* them. Absent for every other function. The viewer reads it to tell a
|
|
3655
|
+
* callback the scenario runs (its statements are steps) from page code
|
|
3656
|
+
* (no steps of the scenario). */
|
|
3657
|
+
pageCodeArg?: number;
|
|
3589
3658
|
/** Where the entry is defined in the USER's project — set for project
|
|
3590
3659
|
* helpers (`flow_*` in `_helpers/`), absent for platform functions,
|
|
3591
3660
|
* which have no source on disk there. Feeds go-to-definition.
|
|
@@ -3702,7 +3771,7 @@ interface FsHelpersChangedMessage {
|
|
|
3702
3771
|
interface FsCollectionsChangedMessage {
|
|
3703
3772
|
kind: "fs:collections-changed";
|
|
3704
3773
|
}
|
|
3705
|
-
/** Emitted when
|
|
3774
|
+
/** Emitted when `.unotest/debugger.json` is written by anyone (viewer
|
|
3706
3775
|
* via PUT /api/breakpoints, MCP, CLI). The client's BreakpointsStore
|
|
3707
3776
|
* refetches via GET /api/breakpoints so all open tabs converge on the
|
|
3708
3777
|
* same BP set. */
|
|
@@ -3910,10 +3979,10 @@ interface RuntimeStateFile {
|
|
|
3910
3979
|
* (which advertise `wsEndpoint` instead). */
|
|
3911
3980
|
deviceSlot?: string;
|
|
3912
3981
|
/** The run's ACTIVE breakpoints as `"line:col"` keys (0-based col) — the
|
|
3913
|
-
* union of `.debugger.json` for this scenario AND any ephemeral `--debug
|
|
3982
|
+
* union of `.unotest/debugger.json` for this scenario AND any ephemeral `--debug
|
|
3914
3983
|
* --breakpoints` override the runner was started with. Published so the
|
|
3915
3984
|
* viewer can paint glyph dots for breakpoints that aren't persisted in
|
|
3916
|
-
* `.debugger.json` (e.g. an agent's `run_test {breakpoints}` override).
|
|
3985
|
+
* `.unotest/debugger.json` (e.g. an agent's `run_test {breakpoints}` override).
|
|
3917
3986
|
* Absent ⇒ none / not a debug run. */
|
|
3918
3987
|
breakpoints?: string[];
|
|
3919
3988
|
/** How many times the run has paused, from 0 — every breakpoint, step
|
|
@@ -4098,6 +4167,21 @@ declare const JUDGE_ENV: {
|
|
|
4098
4167
|
* endpoint is not. */
|
|
4099
4168
|
readonly skipPreflight: "UNOTEST_JUDGE_SKIP_PREFLIGHT";
|
|
4100
4169
|
};
|
|
4170
|
+
/** Vendor-standard env var carrying the judge's API key, for each provider
|
|
4171
|
+
* that needs one. Declared here rather than in @unotest/judge so a runner
|
|
4172
|
+
* can name the judge's key without importing the judge. */
|
|
4173
|
+
declare const JUDGE_API_KEY_ENV: {
|
|
4174
|
+
readonly gemini: "GEMINI_API_KEY";
|
|
4175
|
+
readonly openai: "OPENAI_API_KEY";
|
|
4176
|
+
readonly anthropic: "ANTHROPIC_API_KEY";
|
|
4177
|
+
};
|
|
4178
|
+
/** Names that carry the judge's credentials on THIS runner — what a
|
|
4179
|
+
* runner keeps away from scenarios. The judge's own tokens always. The
|
|
4180
|
+
* provider's vendor key only when the judge runs in-process
|
|
4181
|
+
* (`UNOTEST_JUDGE_MODE=local`) and only the active provider's: with a
|
|
4182
|
+
* remote judge or none, an `OPENAI_API_KEY` in the environment belongs to
|
|
4183
|
+
* the application under test, not to us. */
|
|
4184
|
+
declare function judgeSecretEnvNames(env: Readonly<Record<string, string | undefined>>): string[];
|
|
4101
4185
|
|
|
4102
4186
|
/**
|
|
4103
4187
|
* What was asked for, with what a surface needs to name it.
|
|
@@ -4174,4 +4258,4 @@ interface CloudApiRouteMatch {
|
|
|
4174
4258
|
*/
|
|
4175
4259
|
declare function matchCloudApiRoute(method: string, path: string): CloudApiRouteMatch | undefined;
|
|
4176
4260
|
|
|
4177
|
-
export { ACTOR_TICKET_HEADER, ARTIFACTS_ROOT_ENV, type AddVariablePlan, type AddVariablePlanInput, type AppPathPickerSpec, type AppServerEvent, type ApprovalAction, type ApprovalPrice, type AuthoringRunRequest, BLOBS_DIR, BOX_DELETE_CONSEQUENCE, BOX_ENV_VALUES_SEGMENT, BOX_NOTIFY_CHANNEL_KINDS, BOX_NOTIFY_EVENTS, BOX_NOTIFY_PATH, BOX_NOTIFY_STATES, BOX_NOTIFY_TRIGGER_KINDS, BOX_PUSH_TOKEN_PREFIX, BOX_READ_ENVIRONMENTS_PATH, BOX_READ_ENVIRONMENT_HEADER, BOX_READ_TOKEN_ENV, BOX_READ_TOKEN_PREFIX, BOX_REVEAL_SEGMENT, BOX_REVOCATIONS_RETRY_AFTER_SECONDS, BOX_RUNS_SEGMENT, BOX_SECRET_NAMES_ENV, BOX_SIGNED_TOKEN, BOX_SIGNED_TOKEN_PREFIX, BOX_TOKEN_ENV, BOX_URL_ENV, BOX_VALUES_PATH, BOX_VARIABLE_NAMES_ENV, BROWSER_CHANNEL_ENV, BROWSER_ENV, BUNDLED_BROWSER_CHANNEL, BUNDLE_ID_ENV, BUNDLE_MANIFEST_FILE, BUNDLE_SCHEMA_VERSION, BUNDLE_UPLOAD_PATH, type BoxEnvValuesReplaceRequest, type BoxEnvValuesView, type BoxNotifyChanged, type BoxNotifyChannelKind, type BoxNotifyChannelView, type BoxNotifyChannelWrite, type BoxNotifyEnabledPatch, type BoxNotifyError, type BoxNotifyErrorCode, type BoxNotifyEvent, type BoxNotifyLastDelivery, type BoxNotifyMute, type BoxNotifyMuteScope, type BoxNotifyMuteWrite, type BoxNotifyPreview, type BoxNotifyProjectView, type BoxNotifyQuietHours, type BoxNotifyQuietHoursWrite, type BoxNotifyRule, type BoxNotifyRuleWrite, type BoxNotifySecret, type BoxNotifySeriesEntry, type BoxNotifySeriesView, type BoxNotifyState, type BoxNotifyTestResult, type BoxNotifyTriggerKind, type BoxNotifyView, type BoxReadEnvironment, type BoxReadErrorBody, type BoxReadErrorCode, type BoxReadInstall, type BoxRunAccepted, type BoxRunRequest, type BoxRunState, type BoxRunStatus, type BoxSecretRevealResponse, type BoxSecretsRevealResponse, type BoxValueChanged, type BoxValueKind, type BoxValueNames, type BoxValueSetRequest, type BoxValuesError, type BoxValuesErrorCode, type BoxValuesMergeRequest, type BoxValuesMerged, type BoxValuesRefusalCode, type BoxValuesReplaceRequest, type BoxValuesReplaced, type BoxValuesResponse, type BreakpointEntry, type BreakpointsFile, type BundleGitInfo, type BundleManifest, type BundleRemoveError, type BundleRemoveErrorCode, type BundleRemoveErrorDetail, type BundleRemoveOk, type BundleRemoveRequest, type BundleRemoveResponse, type BundleRemoved, type BundleScopeMismatch, type BundleSwitching, type BundleUnmappedRepo, type BundleUploadError, type BundleUploadErrorCode, type BundleUploadErrorDetail, type BundleUploadOk, type BundleUploadResponse, type BundleUploadStatus, type BundleUse, type BundleVariableGap, CI_RUNS_PATH, CI_RUN_LINES_AFTER, CI_RUN_LINES_MAX, CI_RUN_PATH, CLOUD_API_ROUTES, COLLECTIONS_SUBDIR, COLLECTION_NAME_FORBIDDEN_RE, COMMANDS_FILE, type CheckSeverity, type CiProviderId, type CiQueuedRun, type CiRunAccepted, type CiRunError, type CiRunErrorCode, type CiRunLine, type CiRunLines, type CiRunLinesResponse, type CiRunRequest, type CiRunResponse, type CiRunStatusError, type CiRunStatusErrorCode, type CiRunStatusResponse, type CloudApiRoute, type CloudApiRouteMatch, type CollectionMeta, type CollectionRunArtifact, type CollectionRunFinishedEvent, type CollectionRunRequest, type CollectionRunStartedEvent, type CollectionRunTab, type CollectionScenarioFinishedEvent, type CollectionScenarioStartedEvent, type CollectionScheduleEntry, type CollectionTab, type CollectionViewport, type ContextTagged, DAY_INDEX_FILE, DAY_SHORT, DEFAULT_COLLECTION_NAME, type DbgCommand, type DbgCommandAbort, type DbgCommandClearBp, type DbgCommandContinue, type DbgCommandKind, type DbgCommandPause, type DbgCommandPickerStart, type DbgCommandPickerStop, type DbgCommandProbe, type DbgCommandRecord, type DbgCommandSetBp, type DbgCommandSnapshot, type DbgCommandStep, type DbgCommandWheel, type DebugCapabilities, type DoctorCheck, type DoctorContext, type DownloadEvent, type DslDiagnostic, type DslValidateContext, type DslVocabArg, type DslVocabCategory, type DslVocabEntry, E2E_SUBDIR, EDITOR_TYPES_ENV, ENVIRONMENT_ENV, ENV_FILE, EXPECT_FAIL_ANNOTATION, type EnqueueRunInput, type EnvChangedMessage, type EnvFile, type EnvUpdate, type EnvVar, type ErrorMessage, FAILURES_DIR_SEGMENTS, FAILURES_ROOT_ENV, FREQ_FIELDS, type FailureBundleWrittenEvent, type FileRunTestFinishedEvent, type FileRunTestStartedEvent, type FirstRunCommandInput, type FsBreakpointsChangedMessage, type FsCollectionRunStepMessage, type FsCollectionsChangedMessage, type FsHelpersChangedMessage, type FsRunFinishedMessage, type FsRunStartedMessage, type FsRunStepMessage, type FsScenariosChangedMessage, GUARD_SECRET_HEADER, HEARTBEAT_FILE, HELPERS_SUBDIR, type HelperMeta, type HelperTab, type HostRequirement, type IDslLanguageService, type ILaunchedProcess, type IProcessLauncher, type IRunQueue, type IRunnerAdapter, InvalidBlobHashError, JUDGE_ENV, JUDGE_ROUTES, type JudgeErrorResponse, type JudgeHealthResponse, type JudgeRequest, type JudgeVerdict, type JudgeVerdictEvent, LOCK_FILE, LOG_FILE, type LaunchSpec, type LocatorPickedEvent, type LockFile, type LogEvent, type LogLineMessage, type LoopIterationEvent, type Matcher, type NoteEvent, type OverviewTab, PICKER_INCLUDED_TEXT, PICKER_SNAPSHOT_FILE, type ParsedTicketName, type PausedEvent, type PickerMode, type ProbeMatch, type ProbePinned, type ProbeResult, type ProbeResultEvent, QUEUE_DISABLED_ENV, QUEUE_GLOBAL_DIR_ENV, QUEUE_GLOBAL_SLOTS_ENV, QUEUE_LEASE_ENV, QUEUE_MUTEX_FILE, QUEUE_PRIORITIES, QUEUE_RUNNING_DIR, QUEUE_SCHEMA_VERSION, QUEUE_SLOTS_DIR, QUEUE_SUBDIR, QUEUE_TICKETS_DIR, type QueueChangedMessage, type QueueEntry, type QueuePoolState, type QueuePriority, type QueueProducer, type QueueProducerKind, type QueueSnapshot, type QueueTicket, type QueueTicketCi, type QueueTicketKind, type QueueTicketSource, RUNNER_CONFIG_KEYS, RUNNER_SETTING_PREFIX, RUNS_SUBDIR, RUNTIME_FILE, RUN_ACTOR_ENV, RUN_IDENTITY_ENV_NAMES, RUN_ID_ENV, RUN_INDEX_SCHEMA_VERSION, RUN_MANIFEST_FILE, RUN_SOURCES_FILE, RUN_TRIGGER_ENV, type RecordedActionKind, type RegexLiteral, type ReservedRefusalDetail, type ReservedSubject, type ResumedEvent, type RunArtifact, type RunFinishedEvent, type RunId, type RunIndexEntry, type RunIndexHeader, type RunKind, type RunManifest, type RunMeta, type RunOutcome, type RunQueueLease, type RunQueueTicketHandle, type RunRequest, type RunSources, type RunStartedEvent, type RunStatus, type RunTrigger, type RunTriggerKind, RunnerAdapterNotFoundError, RunnerNotConfiguredError, type RuntimeState, type RuntimeStateFile, SCENARIOS_INDEX_DIR, SCENARIOS_LATEST_FILE, SCENARIO_RECENT_WINDOW, SCHEDULES_FILE, SCHEDULES_FINGERPRINT_ENV, SECRETS_FILE, SEGMENT_NAME_FORBIDDEN_RE, SNAPSHOTS_SUBDIR, STDERR_FILE, STDOUT_FILE, STEPS_FILE, type ScenarioAnnotations, type ScenarioLatestEntry, type ScenarioMeta, type ScenarioRunRequest, type ScenarioRunTab, type ScenarioScheduleEntry, type ScenarioTab, type ScenarioTest, type ScenariosLatest, type ScenariosPayload, type ScheduleEntry, type ScheduleFreq, type ScheduleSpec, type ScreenshotEvent, type SecretValue, type SnapshotTab, type SoftFailureRecord, type StepBlockFinishedEvent, type StepBlockStartedEvent, type StepFailEvent, type StepOkEvent, type StepPosition, type StepStartedEvent, TARGET_ENV_VAR, TERMINAL_RUNTIME_STATES, TERMINAL_WS_EVENT, type TabKind, type TabKindName, type TeardownFailureRecord, type TeardownFinishedEvent, type TeardownSkippedEvent, type TeardownStartedEvent, type TeardownStateRecord, type TerminalClientMessage, type TerminalCloseMessage, type TerminalDataMessage, type TerminalErrorMessage, type TerminalExitMessage, type TerminalKind, type TerminalOutputMessage, type TerminalResizeMessage, type TerminalServerMessage, type TerminalSpawnMessage, type TestLatestEntry, type TestRunOutcome, type TestSelection, type ToolCallEvent, type ToolResultEvent, UNOTEST_DIR, type UnknownEnvironmentDetail, UnknownTestError, UnplaceableRunIdError, type UnrecognizedBoxValuesErrorCode, UnsupportedRunKindError, type VariableCategory, type VariableKind, type VariablePlanError, type Version, type VisualAssertEvent, type VisualFailureRecord, WEEK_CHIP_ORDER, WORKSPACE_FILE, WORKSPACE_SCHEMA_VERSION, type WheelChangedEvent, type WorkspaceBundle, type WorkspaceFile, type WorkspaceFollow, type WsMessage, type WsMessageKind, activeEnvName, approvalActionText, approvalConsequence, approvalPrice, approvalPriceLabel, artifactsRootFrom, blobPathFor, blobRelPathFor, blobRelSegmentsFor, blobsRootFor, boxEnvSecretRevealPath, boxEnvSecretsRevealPath, boxEnvValuePath, boxEnvValuesPath, boxNotifyChannelPath, boxNotifyMutePath, boxNotifyPreviewPath, boxNotifyPreviewTrigger, boxNotifyProjectPath, boxNotifyQuietHoursPath, boxNotifyRulePath, boxNotifySeriesPath, boxNotifySeriesResetPath, boxNotifyTestPath, boxRunPath, boxRunsPath, boxValueKindOfSegment, boxValuePath, boxValuesPath, canonicalScheduleSet, categorizeVariable, ciRunLinesPath, compareQueueTicketNames, compareVersions, cronFromSpec, debugDirFor, debuggerFileFor, declaredEnvKeys, decodeNameList, deleteShadowWarning, describeBundle, describeCron, describeSpec, describeTicketCi, encodeNameList, envFileFor, envKeys, envLayerFilesFor, envNamesFromDirListing, failuresRootFrom, failuresRootIn, failuresRootUnder, firstRunCommand, foldScenarioRun, foldTestRun, formatNextTick, insertEnvVar, isAnnotationLine, isBelowMinimum, isBoxNotifyState, isBoxValuesErrorCode, isEnvVarName, isExternalVarName, isFailingStatus, isQueueDirName, isRecord, isRegexLiteral, isReservedBoxValueName, isRunId, isRunIdentityEnvName, isRunnerConfigKey, isRunnerSetting, isRunsDirName, isTerminalRuntimeState, isTestName, lowestVersionOf, makeQueueTicketName, makeRunId, manifestTrigger, maskSecretValues, matchCloudApiRoute, mergeSchedules, nextTickFromSpec, orderSecretValues, parseAppServerEvent, parseBoxEnvValuesReplaceRequest, parseBoxNotifyChanged, parseBoxNotifyError, parseBoxNotifyMuteScope, parseBoxNotifyPreview, parseBoxNotifyProjectView, parseBoxNotifySeriesView, parseBoxNotifyTestResult, parseBoxNotifyView, parseBoxReadEnvironments, parseBoxReadError, parseBoxReadInstall, parseBoxRunAccepted, parseBoxRunRequest, parseBoxRunStatus, parseBoxSecretRevealResponse, parseBoxSecretsRevealResponse, parseBoxValueSetRequest, parseBoxValuesMergeRequest, parseBoxValuesReplaceRequest, parseBoxValuesResponse, parseBundleManifest, parseBundleRemoveRequest, parseBundleRemoveResponse, parseBundleUploadResponse, parseCiProvider, parseCiRunLinesResponse, parseCiRunRequest, parseCiRunResponse, parseCiRunStatusResponse, parseCollectionViewport, parseEnvContent, parseQueueTicket, parseQueueTicketName, parseScenarioAnnotations, parseScheduleEntry, parseSchedulesDoc, parseSchedulesJson, parseTestAnnotations, parseUnknownEnvironmentDetail, parseWorkspaceFile, planAddVariable, projectQueueRoot, projectRunDirFor, projectRunsRoot, queueDirFor, queuePriorityFromRank, queuePriorityRank, regexLiteral, removeEnvVar, replaceEnvVar, requireRunDirFor, reservedBoxValueNames, runDirFor, runIdStartedAt, runIdentityRefusal, runLabel, runStatusOf, runTriggerEnv, runTriggerFromEnv, runsDirFor, sanitizeRunIdSegment, scenarioIndexFileName, scenarioRefFromFileName, scheduleTarget, secretMark, secretsFileFor, secretsLayerFilesFor, selectTests, serializeEnvValue, shardDaysDescending, shardDirFor, shardPathForRunId, shardPathForTimestamp, specFromCron, testDirFor, testIndexFileName, testLabel, validateCollectionName, validateSegmentName, withoutRunIdentity };
|
|
4261
|
+
export { ACTOR_TICKET_HEADER, ARTIFACTS_ROOT_ENV, type AddVariablePlan, type AddVariablePlanInput, type AppPathPickerSpec, type AppServerEvent, type ApprovalAction, type ApprovalPrice, type AuthoringRunRequest, BLOBS_DIR, BOX_DELETE_CONSEQUENCE, BOX_ENV_VALUES_SEGMENT, BOX_NOTIFY_CHANNEL_KINDS, BOX_NOTIFY_EVENTS, BOX_NOTIFY_PATH, BOX_NOTIFY_STATES, BOX_NOTIFY_TRIGGER_KINDS, BOX_PUSH_TOKEN_PREFIX, BOX_READ_ENVIRONMENTS_PATH, BOX_READ_ENVIRONMENT_HEADER, BOX_READ_TOKEN_ENV, BOX_READ_TOKEN_PREFIX, BOX_REVEAL_SEGMENT, BOX_REVOCATIONS_RETRY_AFTER_SECONDS, BOX_RUNS_SEGMENT, BOX_SECRET_NAMES_ENV, BOX_SIGNED_TOKEN, BOX_SIGNED_TOKEN_PREFIX, BOX_TOKEN_ENV, BOX_URL_ENV, BOX_VALUES_PATH, BOX_VARIABLE_NAMES_ENV, BROWSER_CHANNEL_ENV, BROWSER_ENV, BUNDLED_BROWSER_CHANNEL, BUNDLE_ID_ENV, BUNDLE_MANIFEST_FILE, BUNDLE_SCHEMA_VERSION, BUNDLE_UPLOAD_PATH, type BoxEnvValuesReplaceRequest, type BoxEnvValuesView, type BoxNotifyChanged, type BoxNotifyChannelKind, type BoxNotifyChannelView, type BoxNotifyChannelWrite, type BoxNotifyEnabledPatch, type BoxNotifyError, type BoxNotifyErrorCode, type BoxNotifyEvent, type BoxNotifyLastDelivery, type BoxNotifyMute, type BoxNotifyMuteScope, type BoxNotifyMuteWrite, type BoxNotifyPreview, type BoxNotifyProjectView, type BoxNotifyQuietHours, type BoxNotifyQuietHoursWrite, type BoxNotifyRule, type BoxNotifyRuleWrite, type BoxNotifySecret, type BoxNotifySeriesEntry, type BoxNotifySeriesView, type BoxNotifyState, type BoxNotifyTestResult, type BoxNotifyTriggerKind, type BoxNotifyView, type BoxReadEnvironment, type BoxReadErrorBody, type BoxReadErrorCode, type BoxReadInstall, type BoxRunAccepted, type BoxRunRequest, type BoxRunState, type BoxRunStatus, type BoxSecretRevealResponse, type BoxSecretsRevealResponse, type BoxValueChanged, type BoxValueKind, type BoxValueNames, type BoxValueSetRequest, type BoxValuesError, type BoxValuesErrorCode, type BoxValuesMergeRequest, type BoxValuesMerged, type BoxValuesRefusalCode, type BoxValuesReplaceRequest, type BoxValuesReplaced, type BoxValuesResponse, type BreakpointEntry, type BreakpointsFile, type BundleGitInfo, type BundleManifest, type BundleRemoveError, type BundleRemoveErrorCode, type BundleRemoveErrorDetail, type BundleRemoveOk, type BundleRemoveRequest, type BundleRemoveResponse, type BundleRemoved, type BundleScopeMismatch, type BundleSwitching, type BundleUnmappedRepo, type BundleUploadError, type BundleUploadErrorCode, type BundleUploadErrorDetail, type BundleUploadOk, type BundleUploadResponse, type BundleUploadStatus, type BundleUse, type BundleVariableGap, CI_RUNS_PATH, CI_RUN_LINES_AFTER, CI_RUN_LINES_MAX, CI_RUN_PATH, CLOUD_API_ROUTES, COLLECTIONS_SUBDIR, COLLECTION_NAME_FORBIDDEN_RE, COMMANDS_FILE, type CheckSeverity, type CiProviderId, type CiQueuedRun, type CiRunAccepted, type CiRunError, type CiRunErrorCode, type CiRunLine, type CiRunLines, type CiRunLinesResponse, type CiRunRequest, type CiRunResponse, type CiRunStatusError, type CiRunStatusErrorCode, type CiRunStatusResponse, type CloudApiRoute, type CloudApiRouteMatch, type CollectionMeta, type CollectionRunArtifact, type CollectionRunFinishedEvent, type CollectionRunRequest, type CollectionRunStartedEvent, type CollectionRunTab, type CollectionScenarioFinishedEvent, type CollectionScenarioStartedEvent, type CollectionScheduleEntry, type CollectionTab, type CollectionViewport, type ContextTagged, DAY_INDEX_FILE, DAY_SHORT, DEFAULT_COLLECTION_NAME, type DbgCommand, type DbgCommandAbort, type DbgCommandClearBp, type DbgCommandContinue, type DbgCommandKind, type DbgCommandPause, type DbgCommandPickerStart, type DbgCommandPickerStop, type DbgCommandProbe, type DbgCommandRecord, type DbgCommandSetBp, type DbgCommandSnapshot, type DbgCommandStep, type DbgCommandWheel, type DebugCapabilities, type DoctorCheck, type DoctorContext, type DownloadEvent, type DslDiagnostic, type DslValidateContext, type DslVocabArg, type DslVocabCategory, type DslVocabEntry, E2E_SUBDIR, EDITOR_TYPES_ENV, ENVIRONMENT_ENV, ENV_FILE, EXPECT_FAIL_ANNOTATION, type EnqueueRunInput, type EnvChangedMessage, type EnvFile, type EnvUpdate, type EnvVar, type ErrorMessage, FAILURES_DIR_SEGMENTS, FAILURES_ROOT_ENV, FREQ_FIELDS, type FailureBundleWrittenEvent, type FileRunTestFinishedEvent, type FileRunTestStartedEvent, type FirstRunCommandInput, type FoldableRun, type FsBreakpointsChangedMessage, type FsCollectionRunStepMessage, type FsCollectionsChangedMessage, type FsHelpersChangedMessage, type FsRunFinishedMessage, type FsRunStartedMessage, type FsRunStepMessage, type FsScenariosChangedMessage, GUARD_SECRET_HEADER, HEARTBEAT_FILE, HELPERS_SUBDIR, type HelperMeta, type HelperTab, type HostRequirement, type IDslLanguageService, type ILaunchedProcess, type IProcessLauncher, type IRunQueue, type IRunnerAdapter, InvalidBlobHashError, JUDGE_API_KEY_ENV, JUDGE_ENV, JUDGE_ROUTES, type JudgeErrorResponse, type JudgeHealthResponse, type JudgeRequest, type JudgeVerdict, type JudgeVerdictEvent, LOCAL_STATE_DIR, LOCK_FILE, LOG_FILE, type LaunchSpec, type LocatorPickedEvent, type LockFile, type LogEvent, type LogLineMessage, type LoopIterationEvent, type Matcher, type NoteEvent, type OverviewTab, PICKER_INCLUDED_TEXT, PICKER_SNAPSHOT_FILE, type ParsedTicketName, type PausedEvent, type PickerMode, type ProbeMatch, type ProbePinned, type ProbeResult, type ProbeResultEvent, QUEUE_DISABLED_ENV, QUEUE_GLOBAL_DIR_ENV, QUEUE_GLOBAL_SLOTS_ENV, QUEUE_LEASE_ENV, QUEUE_MUTEX_FILE, QUEUE_PRIORITIES, QUEUE_RUNNING_DIR, QUEUE_SCHEMA_VERSION, QUEUE_SLOTS_DIR, QUEUE_SUBDIR, QUEUE_TICKETS_DIR, type QueueChangedMessage, type QueueEntry, type QueuePoolState, type QueuePriority, type QueueProducer, type QueueProducerKind, type QueueSnapshot, type QueueTicket, type QueueTicketCi, type QueueTicketKind, type QueueTicketSource, RUNNER_CONFIG_KEYS, RUNNER_SETTING_PREFIX, RUNS_SUBDIR, RUNTIME_FILE, RUN_ACTOR_ENV, RUN_IDENTITY_ENV_NAMES, RUN_ID_ENV, RUN_INDEX_SCHEMA_VERSION, RUN_MANIFEST_FILE, RUN_SOURCES_FILE, RUN_TRIGGER_ENV, type RecentRun, type RecordedActionKind, type RegexLiteral, type ReservedRefusalDetail, type ReservedSubject, type ResumedEvent, type RunArtifact, type RunFinishedEvent, type RunId, type RunIndexEntry, type RunIndexHeader, type RunKind, type RunManifest, type RunMeta, type RunOutcome, type RunQueueLease, type RunQueueTicketHandle, type RunRequest, type RunSources, type RunStartedEvent, type RunStatus, type RunTrigger, type RunTriggerKind, RunnerAdapterNotFoundError, RunnerNotConfiguredError, type RuntimeState, type RuntimeStateFile, SCENARIOS_INDEX_DIR, SCENARIOS_LATEST_FILE, SCENARIO_RECENT_WINDOW, SCHEDULES_FILE, SCHEDULES_FINGERPRINT_ENV, SECRETS_FILE, SEGMENT_NAME_FORBIDDEN_RE, SNAPSHOTS_SUBDIR, STDERR_FILE, STDOUT_FILE, STEPS_FILE, type ScenarioAnnotations, type ScenarioLatestEntry, type ScenarioMeta, type ScenarioRunRequest, type ScenarioRunTab, type ScenarioScheduleEntry, type ScenarioTab, type ScenarioTest, type ScenariosLatest, type ScenariosPayload, type ScheduleEntry, type ScheduleFreq, type ScheduleSpec, type ScreenshotEvent, type SecretValue, type SnapshotTab, type SoftFailureRecord, type StepBlockFinishedEvent, type StepBlockStartedEvent, type StepFailEvent, type StepOkEvent, type StepPosition, type StepStartedEvent, TARGET_ENV_VAR, TERMINAL_RUNTIME_STATES, TERMINAL_WS_EVENT, type TabKind, type TabKindName, type TeardownFailureRecord, type TeardownFinishedEvent, type TeardownSkippedEvent, type TeardownStartedEvent, type TeardownStateRecord, type TerminalClientMessage, type TerminalCloseMessage, type TerminalDataMessage, type TerminalErrorMessage, type TerminalExitMessage, type TerminalKind, type TerminalOutputMessage, type TerminalResizeMessage, type TerminalServerMessage, type TerminalSpawnMessage, type TestLatestEntry, type TestRunOutcome, type TestSelection, type ToolCallEvent, type ToolResultEvent, UNOTEST_DIR, type UnknownEnvironmentDetail, UnknownTestError, UnplaceableRunIdError, type UnrecognizedBoxValuesErrorCode, UnsupportedRunKindError, type VariableCategory, type VariableKind, type VariablePlanError, type Version, type VisualAssertEvent, type VisualFailureRecord, WEEK_CHIP_ORDER, WORKSPACE_FILE, WORKSPACE_SCHEMA_VERSION, type WheelChangedEvent, type WorkspaceBundle, type WorkspaceFile, type WorkspaceFollow, type WsMessage, type WsMessageKind, activeEnvName, approvalActionText, approvalConsequence, approvalPrice, approvalPriceLabel, artifactsRootFrom, blobPathFor, blobRelPathFor, blobRelSegmentsFor, blobsRootFor, boxEnvSecretRevealPath, boxEnvSecretsRevealPath, boxEnvValuePath, boxEnvValuesPath, boxNotifyChannelPath, boxNotifyMutePath, boxNotifyPreviewPath, boxNotifyPreviewTrigger, boxNotifyProjectPath, boxNotifyQuietHoursPath, boxNotifyRulePath, boxNotifySeriesPath, boxNotifySeriesResetPath, boxNotifyTestPath, boxRunPath, boxRunsPath, boxValueKindOfSegment, boxValuePath, boxValuesPath, canonicalScheduleSet, categorizeVariable, ciRunLinesPath, compareQueueTicketNames, compareVersions, cronFromSpec, debugDirFor, debuggerFileFor, declaredEnvKeys, decodeNameList, deleteShadowWarning, describeBundle, describeCron, describeSpec, describeTicketCi, encodeNameList, envFileFor, envKeys, envLayerFilesFor, envNamesFromDirListing, failuresRootFrom, failuresRootIn, failuresRootUnder, firstRunCommand, foldScenarioRun, foldTestRun, formatNextTick, insertEnvVar, isAnnotationLine, isBelowMinimum, isBoxNotifyState, isBoxValuesErrorCode, isEnvVarName, isExternalVarName, isFailingStatus, isQueueDirName, isRecord, isRegexLiteral, isReservedBoxValueName, isRunId, isRunIdentityEnvName, isRunnerConfigKey, isRunnerSetting, isRunsDirName, isTerminalRuntimeState, isTestName, judgeSecretEnvNames, legacyDebuggerFileFor, lowestVersionOf, makeQueueTicketName, makeRunId, manifestTrigger, maskSecretValues, matchCloudApiRoute, mergeSchedules, nextTickFromSpec, orderSecretValues, parseAppServerEvent, parseBoxEnvValuesReplaceRequest, parseBoxNotifyChanged, parseBoxNotifyError, parseBoxNotifyMuteScope, parseBoxNotifyPreview, parseBoxNotifyProjectView, parseBoxNotifySeriesView, parseBoxNotifyTestResult, parseBoxNotifyView, parseBoxReadEnvironments, parseBoxReadError, parseBoxReadInstall, parseBoxRunAccepted, parseBoxRunRequest, parseBoxRunStatus, parseBoxSecretRevealResponse, parseBoxSecretsRevealResponse, parseBoxValueSetRequest, parseBoxValuesMergeRequest, parseBoxValuesReplaceRequest, parseBoxValuesResponse, parseBundleManifest, parseBundleRemoveRequest, parseBundleRemoveResponse, parseBundleUploadResponse, parseCiProvider, parseCiRunLinesResponse, parseCiRunRequest, parseCiRunResponse, parseCiRunStatusResponse, parseCollectionViewport, parseEnvContent, parseQueueTicket, parseQueueTicketName, parseScenarioAnnotations, parseScheduleEntry, parseSchedulesDoc, parseSchedulesJson, parseTestAnnotations, parseUnknownEnvironmentDetail, parseWorkspaceFile, planAddVariable, projectQueueRoot, projectRunDirFor, projectRunsRoot, queueDirFor, queuePriorityFromRank, queuePriorityRank, recentRuns, regexLiteral, removeEnvVar, replaceEnvVar, requireRunDirFor, reservedBoxValueNames, runDirFor, runIdStartedAt, runIdentityRefusal, runLabel, runStatusOf, runTriggerEnv, runTriggerFromEnv, runsDirFor, sanitizeRunIdSegment, scenarioIndexFileName, scenarioRefFromFileName, scheduleTarget, secretMark, secretsFileFor, secretsLayerFilesFor, selectTests, serializeEnvValue, shardDaysDescending, shardDirFor, shardPathForRunId, shardPathForTimestamp, specFromCron, testDirFor, testIndexFileName, testLabel, validateCollectionName, validateSegmentName, withoutRunIdentity };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xe92bff=_0xe5ff;(function(_0x2d60a5,_0x328c5c){const _0x5f1d87={_0x210e3f:0x27d,_0x208222:0x1cd,_0x2bd793:0x2a0,_0x1a468c:0x291,_0x2820a5:0x283,_0x4d0a72:0x1e9,_0x1471ac:0x1c4},_0x344d53=_0xe5ff,_0x54b2e1=_0x2d60a5();while(!![]){try{const _0x273d9a=parseInt(_0x344d53(_0x5f1d87._0x210e3f))/0x1*(-parseInt(_0x344d53(0x28f))/0x2)+-parseInt(_0x344d53(0x3ae))/0x3*(parseInt(_0x344d53(_0x5f1d87._0x208222))/0x4)+parseInt(_0x344d53(_0x5f1d87._0x2bd793))/0x5*(parseInt(_0x344d53(_0x5f1d87._0x1a468c))/0x6)+parseInt(_0x344d53(0x363))/0x7*(-parseInt(_0x344d53(_0x5f1d87._0x2820a5))/0x8)+-parseInt(_0x344d53(0x1c3))/0x9*(-parseInt(_0x344d53(0x17f))/0xa)+-parseInt(_0x344d53(_0x5f1d87._0x4d0a72))/0xb+-parseInt(_0x344d53(_0x5f1d87._0x1471ac))/0xc*(-parseInt(_0x344d53(0x201))/0xd);if(_0x273d9a===_0x328c5c)break;else _0x54b2e1['push'](_0x54b2e1['shift']());}catch(_0x1fd2b8){_0x54b2e1['push'](_0x54b2e1['shift']());}}}(_0x14b6,0x687fa));var __defProp=Object[_0xe92bff(0x1fe)],__name=(_0x3bcd8d,_0x418148)=>__defProp(_0x3bcd8d,_0xe92bff(0x18f),{'value':_0x418148,'configurable':!![]});function parseAppServerEvent(_0x2dc4ee){const _0xe86712={_0x1ae3ff:0x20d,_0x492a9d:0x1e5,_0x2adc44:0x3af,_0x359407:0x24e},_0x29bef3=_0xe92bff,_0x3d8db4=_0x2dc4ee[_0x29bef3(_0xe86712._0x1ae3ff)]();if(!_0x3d8db4[_0x29bef3(0x27f)]('{'))return null;try{const _0x451daa=JSON[_0x29bef3(_0xe86712._0x492a9d)](_0x3d8db4);if(_0x451daa[_0x29bef3(0x1df)]===_0x29bef3(_0xe86712._0x2adc44)||_0x451daa[_0x29bef3(0x1df)]===_0x29bef3(0x2ae)||_0x451daa[_0x29bef3(0x1df)]===_0x29bef3(_0xe86712._0x359407))return _0x451daa;return null;}catch{return null;}}__name(parseAppServerEvent,_0xe92bff(0x1f9));function isRecord(_0x34b294){const _0x13f185={_0x1f99b7:0x262},_0x3004d3=_0xe92bff;return typeof _0x34b294==='object'&&_0x34b294!==null&&!Array[_0x3004d3(_0x13f185._0x1f99b7)](_0x34b294);}__name(isRecord,'isRecord');var UNOTEST_DIR=_0xe92bff(0x1f0),E2E_SUBDIR=_0xe92bff(0x1b8),HELPERS_SUBDIR=_0xe92bff(0x179),COLLECTIONS_SUBDIR='_collections',RUNS_SUBDIR=_0xe92bff(0x38e),SNAPSHOTS_SUBDIR=_0xe92bff(0x39a);function testDirFor(_0x5eedcf){return''+E2E_SUBDIR+_0x5eedcf;}__name(testDirFor,_0xe92bff(0x1f6));function runsDirFor(_0x1c7754,_0x47c0dc){return''+RUNS_SUBDIR+_0x1c7754+(_0x47c0dc?'.'+_0x47c0dc:'');}__name(runsDirFor,'runsDirFor');function isRunsDirName(_0x5de8a7){return _0x5de8a7===RUNS_SUBDIR||_0x5de8a7['startsWith'](RUNS_SUBDIR+'-')||_0x5de8a7['startsWith'](RUNS_SUBDIR+'.');}__name(isRunsDirName,_0xe92bff(0x3ab));function debugDirFor(_0x9ded36){const _0x35127d=_0xe92bff;return _0x35127d(0x1e7)+_0x9ded36;}__name(debugDirFor,_0xe92bff(0x38b));function debuggerFileFor(_0x3ae919){const _0x2b78e3={_0x29defd:0x1ff},_0x57c758=_0xe92bff;return UNOTEST_DIR+_0x57c758(_0x2b78e3._0x29defd)+_0x3ae919+_0x57c758(0x17e);}__name(debuggerFileFor,'debuggerFileFor');var LOCK_FILE=_0xe92bff(0x3a2),LOG_FILE=_0xe92bff(0x230),STEPS_FILE=_0xe92bff(0x1c8),HEARTBEAT_FILE=_0xe92bff(0x232),DAY_INDEX_FILE='_day.jsonl',SCENARIOS_INDEX_DIR=_0xe92bff(0x282),SCENARIOS_LATEST_FILE='_latest.json',STDOUT_FILE='stdout.log',STDERR_FILE=_0xe92bff(0x2ee),COMMANDS_FILE=_0xe92bff(0x1ea),RUNTIME_FILE=_0xe92bff(0x20e),PICKER_SNAPSHOT_FILE=_0xe92bff(0x3c1),ENV_FILE=_0xe92bff(0x24c),SECRETS_FILE=_0xe92bff(0x3a8),SCHEDULES_FILE='unotest/schedules.yaml';function envFileFor(_0x502916,_0x49af45){return''+ENV_FILE+_0x502916+(_0x49af45?'.'+_0x49af45:'');}__name(envFileFor,'envFileFor');function secretsFileFor(_0xfb7b5d,_0x14046c){return''+SECRETS_FILE+_0xfb7b5d+(_0x14046c?'.'+_0x14046c:'');}__name(secretsFileFor,'secretsFileFor');function envLayerFilesFor(_0x411826,_0x3872fa){return layersFor(ENV_FILE,_0x411826,_0x3872fa);}__name(envLayerFilesFor,'envLayerFilesFor');function secretsLayerFilesFor(_0x34f988,_0x46eeb9){return layersFor(SECRETS_FILE,_0x34f988,_0x46eeb9);}__name(secretsLayerFilesFor,'secretsLayerFilesFor');function layersFor(_0x315afd,_0x36163b,_0x5c0e42){const _0x32e063=_0xe92bff,_0xffd4c2=[_0x315afd];if(_0x36163b)_0xffd4c2[_0x32e063(0x290)](''+_0x315afd+_0x36163b);if(_0x5c0e42){_0xffd4c2['push'](_0x315afd+'.'+_0x5c0e42);if(_0x36163b)_0xffd4c2[_0x32e063(0x290)](''+_0x315afd+_0x36163b+'.'+_0x5c0e42);}return _0xffd4c2;}__name(layersFor,_0xe92bff(0x235));var ARTIFACTS_ROOT_ENV='UNOTEST_ARTIFACTS_ROOT';function artifactsRootFrom(_0x56eed7,_0x29bda2){const _0x2469bf={_0x10a0f1:0x20d},_0x20ca12=_0xe92bff,_0x384869=_0x56eed7[ARTIFACTS_ROOT_ENV]?.[_0x20ca12(_0x2469bf._0x10a0f1)]();return _0x384869?_0x384869:_0x29bda2;}__name(artifactsRootFrom,_0xe92bff(0x213));var FAILURES_DIR_SEGMENTS=[_0xe92bff(0x370),_0xe92bff(0x2a9)];function failuresRootUnder(_0x5709c5){const _0x1f35d9={_0x1e5580:0x35e},_0x226491=_0xe92bff;return[_0x5709c5[_0x226491(_0x1f35d9._0x1e5580)](/\/+$/,''),...FAILURES_DIR_SEGMENTS][_0x226491(0x375)]('/');}__name(failuresRootUnder,_0xe92bff(0x2d9));var FAILURES_ROOT_ENV=_0xe92bff(0x37d);function failuresRootFrom(_0x28d1b6,_0x57077c){const _0x43a700=_0x28d1b6[FAILURES_ROOT_ENV]?.['trim']();return _0x43a700?_0x43a700:_0x57077c;}__name(failuresRootFrom,_0xe92bff(0x387));function activeEnvName(_0x4b0fb5){const _0x5c0abd=_0xe92bff,_0x2f56b2=_0x4b0fb5['UNOTEST_ENV']?.[_0x5c0abd(0x20d)]();return _0x2f56b2?_0x2f56b2:void 0x0;}__name(activeEnvName,_0xe92bff(0x2a8));var RESERVED_ENV_NAMES=new Set([_0xe92bff(0x1e6),_0xe92bff(0x355),_0xe92bff(0x28e)]);function envNamesFromDirListing(_0x10e504,_0x30117f){const _0x3ad656={_0x1478a3:0x27f},_0x29cbff=_0xe92bff,_0x396af2=[_0x29cbff(0x1c9),'.secrets'][_0x29cbff(0x1a8)](_0x1b5cb3=>_0x30117f?[_0x1b5cb3,''+_0x1b5cb3+_0x30117f]:[_0x1b5cb3]),_0x389a26=new Set();for(const _0x54dcce of _0x10e504){for(const _0x34a260 of _0x396af2){const _0xf6ede4=_0x34a260+'.';if(!_0x54dcce[_0x29cbff(_0x3ad656._0x1478a3)](_0xf6ede4))continue;const _0x5458bc=_0x54dcce[_0x29cbff(0x255)](_0xf6ede4['length']);if(!_0x5458bc||_0x5458bc['includes']('/'))continue;if(RESERVED_ENV_NAMES[_0x29cbff(0x1ac)](_0x5458bc))continue;_0x389a26['add'](_0x5458bc);}}return[..._0x389a26]['sort']();}__name(envNamesFromDirListing,_0xe92bff(0x29a));function isRegexLiteral(_0x18f0d9){const _0x52fa44=_0xe92bff;return typeof _0x18f0d9==='object'&&_0x18f0d9!==null&&_0x18f0d9[_0x52fa44(0x1df)]==='regex'&&typeof _0x18f0d9['source']===_0x52fa44(0x2f1)&&typeof _0x18f0d9['flags']==='string';}__name(isRegexLiteral,'isRegexLiteral');function regexLiteral(_0x2fde73,_0x1b89a3=''){const _0x70818b=_0xe92bff;return{'kind':_0x70818b(0x393),'source':_0x2fde73,'flags':_0x1b89a3};}__name(regexLiteral,'regexLiteral');var RANDOM_SUFFIX_RE=/^[0-9a-f]{6,}$/,MIN_PLAUSIBLE_MS=Date[_0xe92bff(0x192)](0x7e4,0x0,0x1),MAX_PLAUSIBLE_MS=Date[_0xe92bff(0x192)](0x834,0x0,0x1);function runIdStartedAt(_0x5ba244){const _0x4d0207={_0x53cd65:0x258,_0x40b786:0x1d4},_0x37c220=_0xe92bff,_0x3becd1=_0x5ba244['split']('-');if(_0x3becd1[_0x37c220(0x258)]<0x3)return null;const _0x1674cf=_0x3becd1[_0x3becd1[_0x37c220(_0x4d0207._0x53cd65)]-0x1];if(!RANDOM_SUFFIX_RE[_0x37c220(_0x4d0207._0x40b786)](_0x1674cf))return null;const _0x41f7d5=_0x3becd1[_0x3becd1[_0x37c220(_0x4d0207._0x53cd65)]-0x2];if(!/^[0-9a-z]+$/[_0x37c220(0x1d4)](_0x41f7d5))return null;const _0x19b1f3=parseInt(_0x41f7d5,0x24);if(!Number[_0x37c220(0x2f3)](_0x19b1f3))return null;if(_0x19b1f3<MIN_PLAUSIBLE_MS||_0x19b1f3>=MAX_PLAUSIBLE_MS)return null;return _0x19b1f3;}__name(runIdStartedAt,_0xe92bff(0x3a9));function _0xe5ff(_0x89d26d,_0x483211){_0x89d26d=_0x89d26d-0x175;const _0x14b63d=_0x14b6();let _0xe5ff59=_0x14b63d[_0x89d26d];if(_0xe5ff['qKYssI']===undefined){var _0x5d7557=function(_0x4eac60){const _0x5b6987='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3bcd8d='',_0x418148='';for(let _0x2dc4ee=0x0,_0x3d8db4,_0x451daa,_0x34b294=0x0;_0x451daa=_0x4eac60['charAt'](_0x34b294++);~_0x451daa&&(_0x3d8db4=_0x2dc4ee%0x4?_0x3d8db4*0x40+_0x451daa:_0x451daa,_0x2dc4ee++%0x4)?_0x3bcd8d+=String['fromCharCode'](0xff&_0x3d8db4>>(-0x2*_0x2dc4ee&0x6)):0x0){_0x451daa=_0x5b6987['indexOf'](_0x451daa);}for(let _0x5eedcf=0x0,_0x1c7754=_0x3bcd8d['length'];_0x5eedcf<_0x1c7754;_0x5eedcf++){_0x418148+='%'+('00'+_0x3bcd8d['charCodeAt'](_0x5eedcf)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x418148);};_0xe5ff['eUXLtL']=_0x5d7557,_0xe5ff['CNpLuo']={},_0xe5ff['qKYssI']=!![];}const _0x54980d=_0x14b63d[0x0],_0x2b23ab=_0x89d26d+_0x54980d,_0x2fda22=_0xe5ff['CNpLuo'][_0x2b23ab];return!_0x2fda22?(_0xe5ff59=_0xe5ff['eUXLtL'](_0xe5ff59),_0xe5ff['CNpLuo'][_0x2b23ab]=_0xe5ff59):_0xe5ff59=_0x2fda22,_0xe5ff59;}function shardPathForTimestamp(_0x1d19ce){const _0x1153f4={_0x48b95b:0x319},_0x3ce97e=_0xe92bff,_0xa16a58=new Date(_0x1d19ce),_0x2057d0=String(_0xa16a58['getUTCFullYear']())[_0x3ce97e(_0x1153f4._0x48b95b)](0x4,'0'),_0x32b2a5=String(_0xa16a58['getUTCMonth']()+0x1)[_0x3ce97e(_0x1153f4._0x48b95b)](0x2,'0'),_0x4440a1=String(_0xa16a58['getUTCDate']())[_0x3ce97e(0x319)](0x2,'0');return _0x2057d0+'/'+_0x32b2a5+'/'+_0x4440a1;}__name(shardPathForTimestamp,_0xe92bff(0x34b));function shardPathForRunId(_0x320836){const _0x5b550f=runIdStartedAt(_0x320836);return _0x5b550f===null?null:shardPathForTimestamp(_0x5b550f);}__name(shardPathForRunId,_0xe92bff(0x186));function runDirFor(_0x554279,_0x5d9659){const _0x53c2e8=shardPathForRunId(_0x5d9659);return _0x53c2e8===null?null:_0x554279+'/'+_0x53c2e8+'/'+_0x5d9659;}__name(runDirFor,'runDirFor');var UnplaceableRunIdError=class extends Error{static{__name(this,_0xe92bff(0x32e));}constructor(_0x311639){const _0x37f9e5={_0x2e069b:0x198,_0x432c86:0x32e},_0x272fec=_0xe92bff;super(_0x272fec(_0x37f9e5._0x2e069b)+_0x311639),this[_0x272fec(0x18f)]=_0x272fec(_0x37f9e5._0x432c86);}};function requireRunDirFor(_0x3cf34d,_0x5da16){const _0x391dc2=runDirFor(_0x3cf34d,_0x5da16);if(_0x391dc2===null)throw new UnplaceableRunIdError(_0x5da16);return _0x391dc2;}__name(requireRunDirFor,_0xe92bff(0x244));function projectRunsRoot(_0x500611='',_0x4b5988){return UNOTEST_DIR+'/'+runsDirFor(_0x500611,_0x4b5988);}__name(projectRunsRoot,_0xe92bff(0x27a));function failuresRootIn(_0x4a4b39,_0x3224bb){const _0x32ab77=_0xe92bff;return failuresRootUnder(_0x4a4b39[_0x32ab77(0x35e)](/\/+$/,'')+'/'+projectRunsRoot('',_0x3224bb));}__name(failuresRootIn,'failuresRootIn');function projectRunDirFor(_0x51ba33,_0x5a1324='',_0x1d167c){return requireRunDirFor(projectRunsRoot(_0x5a1324,_0x1d167c),_0x51ba33);}__name(projectRunDirFor,_0xe92bff(0x2e2));function shardDirFor(_0x5c23f8,_0x549b22){return _0x5c23f8+'/'+shardPathForTimestamp(_0x549b22);}__name(shardDirFor,'shardDirFor');function*shardDaysDescending(_0x3fb880,_0x3d4ecc,_0x2fec1a){const _0x7c2299=_0xe92bff,_0x1aba11=0x5265c00;let _0x22ca45=Math[_0x7c2299(0x2b2)](_0x3d4ecc/_0x1aba11)*_0x1aba11;for(let _0x2c35a5=0x0;_0x2c35a5<_0x2fec1a;_0x2c35a5++){yield shardDirFor(_0x3fb880,_0x22ca45),_0x22ca45-=_0x1aba11;}}__name(shardDaysDescending,_0xe92bff(0x21d));var RAND_BYTES=0x6;function makeRunId(_0x25fdcd){const _0x270f4a={_0x1e55e2:0x258,_0x1e8306:0x2a7},_0x2a827d=_0xe92bff,_0xd8ee71=sanitizeRunIdSegment(_0x25fdcd),_0x20d91c=Date[_0x2a827d(0x2db)]()['toString'](0x24),_0xdcb6e7=new Uint8Array(RAND_BYTES);globalThis['crypto']['getRandomValues'](_0xdcb6e7);let _0x20517a='';for(let _0x5d2783=0x0;_0x5d2783<_0xdcb6e7[_0x2a827d(_0x270f4a._0x1e55e2)];_0x5d2783++){_0x20517a+=_0xdcb6e7[_0x5d2783][_0x2a827d(_0x270f4a._0x1e8306)](0x10)['padStart'](0x2,'0');}return _0xd8ee71+'-'+_0x20d91c+'-'+_0x20517a;}__name(makeRunId,'makeRunId');function sanitizeRunIdSegment(_0x46d336){const _0x28d5b1={_0x801e84:0x258,_0x52ab23:0x35c},_0x55eb11=_0xe92bff,_0x5884c7=_0x46d336[_0x55eb11(0x35e)](/[^a-zA-Z0-9_-]+/g,'-')['replace'](/-+/g,'-')['replace'](/^-|-$/g,'');return _0x5884c7[_0x55eb11(_0x28d5b1._0x801e84)]>0x0?_0x5884c7:_0x55eb11(_0x28d5b1._0x52ab23);}__name(sanitizeRunIdSegment,_0xe92bff(0x177));function isRunId(_0x54d71d){const _0xa0c6e9=_0xe92bff;return/^[A-Za-z0-9_-]+$/[_0xa0c6e9(0x1d4)](_0x54d71d)&&runIdStartedAt(_0x54d71d)!==null;}__name(isRunId,_0xe92bff(0x2e7));var RUN_INDEX_SCHEMA_VERSION=0x3,SCENARIO_RECENT_WINDOW=0xc;function isFailingStatus(_0x255e7e){const _0x79f2f2=_0xe92bff;return _0x255e7e===_0x79f2f2(0x1de)||_0x255e7e==='interrupted';}__name(isFailingStatus,_0xe92bff(0x25f));function runStatusOf(_0x5221d0,_0x264ba5){const _0x142404={_0x4593c5:0x1ce},_0x51f4f=_0xe92bff;switch(_0x5221d0){case _0x51f4f(0x2f7):return _0x264ba5!==void 0x0?_0x51f4f(_0x142404._0x4593c5):'passed';case _0x51f4f(0x1de):case _0x51f4f(0x3a1):case _0x51f4f(0x378):return _0x5221d0;}}__name(runStatusOf,_0xe92bff(0x256));function foldScenarioRun(_0x4d69d3,_0x4c4a5d){const _0x246588={_0xfc093a:0x247,_0x24088c:0x359,_0x4e197d:0x2ba,_0x233dcc:0x25a,_0xca0217:0x2dd,_0x21833a:0x1b9,_0xda9e83:0x359},_0x5b87cf=_0xe92bff,_0x5ed33a={'lastRunId':_0x4c4a5d[_0x5b87cf(_0x246588._0xfc093a)],'lastStatus':_0x4c4a5d['status'],'lastAt':_0x4c4a5d[_0x5b87cf(_0x246588._0x24088c)],'lastDurationMs':_0x4c4a5d[_0x5b87cf(_0x246588._0x4e197d)],..._0x4c4a5d[_0x5b87cf(0x25a)]!==void 0x0?{'lastSkipReason':_0x4c4a5d[_0x5b87cf(_0x246588._0x233dcc)]}:{},'recent':[..._0x4d69d3?.[_0x5b87cf(_0x246588._0xca0217)]??[],_0x4c4a5d[_0x5b87cf(0x259)]][_0x5b87cf(0x255)](-SCENARIO_RECENT_WINDOW),..._0x4d69d3?.[_0x5b87cf(_0x246588._0x21833a)]!==void 0x0?{'tests':_0x4d69d3['tests']}:{}};if(!isFailingStatus(_0x4c4a5d['status']))return{..._0x5ed33a,'failStreak':0x0,'failingSince':null};const _0x4b1dba=(_0x4d69d3?.[_0x5b87cf(0x311)]??0x0)+0x1;return{..._0x5ed33a,'failStreak':_0x4b1dba,'failingSince':_0x4b1dba===0x1?_0x4c4a5d[_0x5b87cf(0x359)]:_0x4d69d3?.[_0x5b87cf(0x2cb)]??_0x4c4a5d[_0x5b87cf(_0x246588._0xda9e83)]};}__name(foldScenarioRun,_0xe92bff(0x2bb));function foldTestRun(_0x21d0f2,_0x55768d,_0xb432f9){const _0x59a18f=_0xe92bff;return{..._0x21d0f2,'tests':{..._0x21d0f2[_0x59a18f(0x1b9)],[_0x55768d]:foldScenarioRun(_0x21d0f2['tests']?.[_0x55768d],_0xb432f9)}};}__name(foldTestRun,'foldTestRun');function scenarioIndexFileName(_0x3b4ac2){const _0x4522cb=_0xe92bff;return encodeURIComponent(_0x3b4ac2)+_0x4522cb(0x278);}__name(scenarioIndexFileName,_0xe92bff(0x1f3));function testIndexFileName(_0x59d358,_0x54a7da){const _0x14be9c={_0x254561:0x278},_0x3553d5=_0xe92bff;return encodeURIComponent(_0x59d358)+'@'+encodeURIComponent(_0x54a7da)+_0x3553d5(_0x14be9c._0x254561);}__name(testIndexFileName,_0xe92bff(0x237));function scenarioRefFromFileName(_0x37b0f9){const _0x351dc6={_0xcf6f52:0x255},_0x51df29=_0xe92bff;if(!_0x37b0f9[_0x51df29(0x265)](_0x51df29(0x278)))return null;try{return decodeURIComponent(_0x37b0f9[_0x51df29(_0x351dc6._0xcf6f52)](0x0,-_0x51df29(0x278)[_0x51df29(0x258)]));}catch{return null;}}__name(scenarioRefFromFileName,_0xe92bff(0x1cc));var BROWSER_ENV=_0xe92bff(0x1f5),BROWSER_CHANNEL_ENV=_0xe92bff(0x3b8),BUNDLED_BROWSER_CHANNEL=_0xe92bff(0x1e3),BOX_VARIABLE_NAMES_ENV='UNOTEST_BOX_VARIABLE_NAMES',BOX_SECRET_NAMES_ENV=_0xe92bff(0x384);function encodeNameList(_0xde3740){return _0xde3740['join'](',');}__name(encodeNameList,_0xe92bff(0x2d4));function decodeNameList(_0xea14d5){const _0x1708c7=_0xe92bff;if(_0xea14d5===void 0x0)return[];return _0xea14d5[_0x1708c7(0x312)](',')[_0x1708c7(0x27e)](_0xb51e87=>_0xb51e87['trim']())[_0x1708c7(0x389)](_0x2f3173=>_0x2f3173!=='');}__name(decodeNameList,'decodeNameList');var BUNDLE_SCHEMA_VERSION=0x1,BUNDLE_MANIFEST_FILE=_0xe92bff(0x2e6),BUNDLE_UPLOAD_PATH=_0xe92bff(0x34f),BOX_URL_ENV='UNOTEST_BOX_URL',BOX_TOKEN_ENV=_0xe92bff(0x176),BOX_PUSH_TOKEN_PREFIX=_0xe92bff(0x241),BOX_SIGNED_TOKEN_PREFIX='unos_',BOX_SIGNED_TOKEN=/^unos_[A-Za-z0-9_-]+$/,BUNDLE_ID_ENV='UNOTEST_BUNDLE_ID',SCHEDULES_FINGERPRINT_ENV='UNOTEST_SCHEDULES_FINGERPRINT';function parseGitInfo(_0x3339e0){const _0xb8ae6a={_0x33e681:0x2f1},_0x475693=_0xe92bff;if(!isRecord(_0x3339e0))return null;const {repo:_0x931826,branch:_0x1df748,sha:_0x568f02,dirty:_0x35de8e}=_0x3339e0;if(typeof _0x35de8e!==_0x475693(0x23d))return null;for(const _0x39c2e4 of[_0x931826,_0x1df748,_0x568f02]){if(_0x39c2e4!==void 0x0&&typeof _0x39c2e4!=='string')return null;}return{'dirty':_0x35de8e,...typeof _0x931826==='string'?{'repo':_0x931826}:{},...typeof _0x1df748===_0x475693(_0xb8ae6a._0x33e681)?{'branch':_0x1df748}:{},...typeof _0x568f02==='string'?{'sha':_0x568f02}:{}};}__name(parseGitInfo,_0xe92bff(0x3b5));function parseBundleManifest(_0x1e72df){const _0x252afe={_0x5345a4:0x1d4,_0xb254e9:0x2f1,_0x31bfcf:0x258,_0x26e95f:0x1d7,_0x4dd46b:0x2f3},_0x1b4e73=_0xe92bff;if(!isRecord(_0x1e72df))return null;const {schemaVersion:_0x265ad7,bundleId:_0x4b9da8,sha256:_0x4e8d43,createdAt:_0x4b007b,webVersion:_0x4ca8ea,author:_0x35c1ae,git:_0x3a4e77,fileCount:_0x133e44,byteSize:_0x1bb996,declaredVariables:_0xf51789,schedulesFingerprint:_0x225e37}=_0x1e72df;if(_0x265ad7!==BUNDLE_SCHEMA_VERSION)return null;if(typeof _0x4b9da8!==_0x1b4e73(0x2f1)||_0x4b9da8[_0x1b4e73(0x258)]===0x0)return null;if(_0x4e8d43!==void 0x0&&!/^[0-9a-f]{64}$/[_0x1b4e73(_0x252afe._0x5345a4)](String(_0x4e8d43)))return null;if(typeof _0x4ca8ea!==_0x1b4e73(_0x252afe._0xb254e9)||_0x4ca8ea[_0x1b4e73(_0x252afe._0x31bfcf)]===0x0)return null;if(typeof _0x4b007b!==_0x1b4e73(_0x252afe._0x26e95f)||!Number[_0x1b4e73(_0x252afe._0x4dd46b)](_0x4b007b))return null;if(typeof _0x133e44!=='number'||!Number[_0x1b4e73(0x226)](_0x133e44))return null;if(typeof _0x1bb996!==_0x1b4e73(0x1d7)||!Number['isInteger'](_0x1bb996))return null;if(_0x35c1ae!==void 0x0&&typeof _0x35c1ae!==_0x1b4e73(_0x252afe._0xb254e9))return null;let _0xbfc084=null;if(_0x3a4e77!==void 0x0){_0xbfc084=parseGitInfo(_0x3a4e77);if(_0xbfc084===null)return null;}const _0x5ea21e=Array[_0x1b4e73(0x262)](_0xf51789)?_0xf51789['filter'](_0x1ca889=>typeof _0x1ca889===_0x1b4e73(0x2f1)):[],_0x2755b8=parseBundleTests(_0x1e72df[_0x1b4e73(0x1b9)]),_0x11cd3d=typeof _0x225e37===_0x1b4e73(0x2f1)&&/^[0-9a-f]{64}$/[_0x1b4e73(0x1d4)](_0x225e37)?_0x225e37:void 0x0;return{'schemaVersion':BUNDLE_SCHEMA_VERSION,'bundleId':_0x4b9da8,...typeof _0x4e8d43==='string'?{'sha256':_0x4e8d43}:{},'createdAt':_0x4b007b,'webVersion':_0x4ca8ea,'fileCount':_0x133e44,'byteSize':_0x1bb996,...typeof _0x35c1ae==='string'?{'author':_0x35c1ae}:{},..._0xbfc084?{'git':_0xbfc084}:{},..._0x5ea21e[_0x1b4e73(_0x252afe._0x31bfcf)]>0x0?{'declaredVariables':_0x5ea21e}:{},..._0x2755b8!==null?{'tests':_0x2755b8}:{},..._0x11cd3d!==void 0x0?{'schedulesFingerprint':_0x11cd3d}:{}};}__name(parseBundleManifest,_0xe92bff(0x190));function parseBundleTests(_0x2cb187){const _0x46391f={_0x2e3ad9:0x344},_0x415e42=_0xe92bff;if(!isRecord(_0x2cb187))return null;const _0x25b889=Object['entries'](_0x2cb187);if(!_0x25b889[_0x415e42(_0x46391f._0x2e3ad9)](([,_0x15104f])=>isStringList(_0x15104f)))return null;return Object[_0x415e42(0x348)](_0x25b889['map'](([_0x2aac61,_0x37f1dc])=>[_0x2aac61,[..._0x37f1dc]]));}__name(parseBundleTests,_0xe92bff(0x1ee));function isStringList(_0x104f8b){const _0x51a454={_0xb2c539:0x262},_0x4820d2=_0xe92bff;return Array[_0x4820d2(_0x51a454._0xb2c539)](_0x104f8b)&&_0x104f8b['every'](_0x3f5e8e=>typeof _0x3f5e8e===_0x4820d2(0x2f1));}__name(isStringList,_0xe92bff(0x1ba));function describeBundle(_0x25e312){const _0x22189d={_0x3f9be2:0x26f,_0xe6d06d:0x310},_0x49012d=_0xe92bff,_0x4f1a85=_0x25e312['git'];if(!_0x4f1a85||_0x4f1a85[_0x49012d(_0x22189d._0x3f9be2)]===void 0x0&&_0x4f1a85[_0x49012d(0x310)]===void 0x0)return _0x25e312['bundleId'];const _0x3e9c5c=_0x4f1a85[_0x49012d(_0x22189d._0xe6d06d)]?_0x4f1a85[_0x49012d(_0x22189d._0xe6d06d)][_0x49012d(0x255)](0x0,0x7):'?',_0xfef650=_0x4f1a85[_0x49012d(0x26f)]??'?';return _0xfef650+'@'+_0x3e9c5c+(_0x4f1a85['dirty']?_0x49012d(0x2be):'');}__name(describeBundle,'describeBundle');var UPLOAD_ERROR_CODES=[_0xe92bff(0x1fc),_0xe92bff(0x305),_0xe92bff(0x1b6),_0xe92bff(0x32c),_0xe92bff(0x2f8),_0xe92bff(0x38c),'expired','revocation-list-unavailable',_0xe92bff(0x1a2),_0xe92bff(0x2a5)];function parseBundleUploadResponse(_0x29fbd6){const _0x7400a7={_0x22104b:0x2f1,_0x535b05:0x26d,_0x2e5bb7:0x1dc,_0x2fc3f3:0x1a1,_0x4e9c6e:0x27b,_0x588db7:0x294},_0x16038e=_0xe92bff;if(!isRecord(_0x29fbd6))return null;if(isRecord(_0x29fbd6['error'])){const {code:_0x3a575d,message:_0x528cc1}=_0x29fbd6['error'];if(!UPLOAD_ERROR_CODES['includes'](_0x3a575d))return null;if(typeof _0x528cc1!==_0x16038e(_0x7400a7._0x22104b))return null;return{'error':{'code':_0x3a575d,'message':_0x528cc1,...parseRefusalDetail(_0x29fbd6[_0x16038e(_0x7400a7._0x535b05)])}};}const {status:_0x374ac3,bundleId:_0x2e911f}=_0x29fbd6;if(_0x374ac3!==_0x16038e(_0x7400a7._0x2e5bb7)&&_0x374ac3!==_0x16038e(_0x7400a7._0x2fc3f3))return null;if(typeof _0x2e911f!==_0x16038e(0x2f1)||_0x2e911f['length']===0x0)return null;const _0x4f6f1c=parseVariableGaps(_0x29fbd6[_0x16038e(_0x7400a7._0x4e9c6e)]),_0x46056c=parseUnmappedRepo(_0x29fbd6['unmappedRepo']);return{'status':_0x374ac3,'bundleId':_0x2e911f,..._0x4f6f1c===null?{}:{'variableGaps':_0x4f6f1c},...nonEmptyString(_0x29fbd6[_0x16038e(_0x7400a7._0x588db7)])?{'project':_0x29fbd6['project']}:{},...nonEmptyString(_0x29fbd6[_0x16038e(0x1f8)])?{'tokenLabel':_0x29fbd6[_0x16038e(0x1f8)]}:{},..._0x46056c===null?{}:{'unmappedRepo':_0x46056c}};}__name(parseBundleUploadResponse,_0xe92bff(0x1a4));function parseBundleRemoveRequest(_0x90c7a4){if(_0x90c7a4===void 0x0)return{};if(!isRecord(_0x90c7a4))return null;const {switchTo:_0x5f2f4c}=_0x90c7a4;if(_0x5f2f4c===void 0x0)return{};return nonEmptyString(_0x5f2f4c)?{'switchTo':_0x5f2f4c}:null;}__name(parseBundleRemoveRequest,_0xe92bff(0x250));var REMOVE_ERROR_CODES=['unauthorized',_0xe92bff(0x38c),_0xe92bff(0x17d),'revocation-list-unavailable',_0xe92bff(0x1a2),'unknown-bundle',_0xe92bff(0x1fd),_0xe92bff(0x308),_0xe92bff(0x1b6),_0xe92bff(0x33f),_0xe92bff(0x2a5)],USE_REASONS=[_0xe92bff(0x254),_0xe92bff(0x374),_0xe92bff(0x185)];function parseBundleRemoveResponse(_0x2fd62a){const _0x68d24e={_0xcd15bd:0x262,_0x341693:0x2a6,_0x1333cb:0x344},_0x4abee9=_0xe92bff;if(!isRecord(_0x2fd62a))return null;if(isRecord(_0x2fd62a[_0x4abee9(0x26d)])){const {code:_0x4a2c6c,message:_0x3e755e,uses:_0x5e8df5,project:_0x1b54c2}=_0x2fd62a['error'];if(!REMOVE_ERROR_CODES[_0x4abee9(0x183)](_0x4a2c6c))return null;if(typeof _0x3e755e!==_0x4abee9(0x2f1))return null;const _0x358db6=parseBundleUses(_0x5e8df5);return{'error':{'code':_0x4a2c6c,'message':_0x3e755e,..._0x358db6[_0x4abee9(0x258)]>0x0?{'uses':_0x358db6}:{},...nonEmptyString(_0x1b54c2)?{'project':_0x1b54c2}:{}}};}const {status:_0x8c1832,bundleId:_0x5a25ed,project:_0x1d548e}=_0x2fd62a;if(!nonEmptyString(_0x5a25ed)||!nonEmptyString(_0x1d548e))return null;if(_0x8c1832===_0x4abee9(0x19f))return{'status':_0x8c1832,'bundleId':_0x5a25ed,'project':_0x1d548e};if(_0x8c1832!==_0x4abee9(0x25d)||!nonEmptyString(_0x2fd62a[_0x4abee9(0x338)]))return null;const _0x21ccf6=Array[_0x4abee9(_0x68d24e._0xcd15bd)](_0x2fd62a[_0x4abee9(_0x68d24e._0x341693)])?_0x2fd62a[_0x4abee9(_0x68d24e._0x341693)]:null;if(_0x21ccf6===null||!_0x21ccf6[_0x4abee9(_0x68d24e._0x1333cb)](nonEmptyString))return null;return{'status':_0x8c1832,'bundleId':_0x5a25ed,'project':_0x1d548e,'switchTo':_0x2fd62a['switchTo'],'environments':_0x21ccf6};}__name(parseBundleRemoveResponse,_0xe92bff(0x193));function parseBundleUses(_0x35be23){const _0x1a5563={_0x3c12b:0x183},_0x8fef44=_0xe92bff;if(!Array[_0x8fef44(0x262)](_0x35be23))return[];const _0x1f2ea4=[];for(const _0x3534f9 of _0x35be23){if(!isRecord(_0x3534f9))continue;const {environment:_0x926117,reason:_0x2e8fba,followsBranch:_0x2a9494}=_0x3534f9;if(!nonEmptyString(_0x926117))continue;if(!USE_REASONS[_0x8fef44(_0x1a5563._0x3c12b)](_0x2e8fba))continue;_0x1f2ea4[_0x8fef44(0x290)]({'environment':_0x926117,'reason':_0x2e8fba,...nonEmptyString(_0x2a9494)?{'followsBranch':_0x2a9494}:{}});}return _0x1f2ea4;}__name(parseBundleUses,'parseBundleUses');function parseUnmappedRepo(_0xb6c96c){const _0x4a3dc8=_0xe92bff;if(!isRecord(_0xb6c96c)||!nonEmptyString(_0xb6c96c[_0x4a3dc8(0x2fb)]))return null;return{'repo':_0xb6c96c[_0x4a3dc8(0x2fb)]};}__name(parseUnmappedRepo,_0xe92bff(0x3a7));function nonEmptyString(_0x968f88){const _0x529384={_0x42b6b6:0x258},_0x483d6c=_0xe92bff;return typeof _0x968f88==='string'&&_0x968f88[_0x483d6c(_0x529384._0x42b6b6)]>0x0;}__name(nonEmptyString,'nonEmptyString');var SCOPE_MISMATCHES=[_0xe92bff(0x207),'repo-project-mismatch'];function parseRefusalDetail(_0x3d7371){const _0x2198bd={_0x498d8a:0x262},_0x1041d5=_0xe92bff,{scope:_0x3d43af,project:_0x21809b,projects:_0xfbb4}=_0x3d7371,_0x1888d3=Array[_0x1041d5(_0x2198bd._0x498d8a)](_0xfbb4)?_0xfbb4['filter'](_0x57521e=>typeof _0x57521e===_0x1041d5(0x2f1)):[];return{...SCOPE_MISMATCHES['includes'](_0x3d43af)?{'scope':_0x3d43af}:{},...nonEmptyString(_0x21809b)?{'project':_0x21809b}:{},..._0x1888d3['length']>0x0?{'projects':_0x1888d3}:{}};}__name(parseRefusalDetail,_0xe92bff(0x1bf));function parseVariableGaps(_0x17fcd7){const _0x18c003={_0x5ae6ec:0x2f1,_0x16bde8:0x2f1,_0xde6926:0x389},_0xcda210=_0xe92bff;if(!Array[_0xcda210(0x262)](_0x17fcd7))return null;const _0x3943ae=[];for(const _0x27b5dd of _0x17fcd7){if(!isRecord(_0x27b5dd))continue;const {project:_0x48fc55,environment:_0x2edf87,missing:_0xfed940}=_0x27b5dd;if(typeof _0x48fc55!==_0xcda210(_0x18c003._0x5ae6ec)||typeof _0x2edf87!==_0xcda210(_0x18c003._0x16bde8))continue;if(!Array['isArray'](_0xfed940))continue;const _0x185b6a=_0xfed940[_0xcda210(_0x18c003._0xde6926)](_0x3161f3=>typeof _0x3161f3===_0xcda210(0x2f1));if(_0x185b6a[_0xcda210(0x258)]>0x0)_0x3943ae[_0xcda210(0x290)]({'project':_0x48fc55,'environment':_0x2edf87,'missing':_0x185b6a});}return _0x3943ae[_0xcda210(0x258)]>0x0?_0x3943ae:null;}__name(parseVariableGaps,_0xe92bff(0x323));var ENV_KEY_RE=/^[A-Za-z_][A-Za-z0-9_]*$/,UNHOLDABLE_NAME=_0xe92bff(0x1b7);function isEnvVarName(_0x2a77a0){return ENV_KEY_RE['test'](_0x2a77a0)&&_0x2a77a0!==UNHOLDABLE_NAME;}__name(isEnvVarName,_0xe92bff(0x225));function*assignmentEntries(_0x525158){const _0x95f96={_0x21a83c:0x20b},_0x1193c3=_0xe92bff;for(const _0x4be550 of _0x525158['split'](/\r?\n/)){const _0x549b69=_0x4be550['trim']();if(_0x549b69===''||_0x549b69['startsWith']('#'))continue;const _0x13b961=_0x549b69[_0x1193c3(_0x95f96._0x21a83c)]('=');if(_0x13b961<=0x0)continue;const _0xc0516=_0x549b69[_0x1193c3(0x255)](0x0,_0x13b961)['trim']();if(!isEnvVarName(_0xc0516))continue;yield[_0xc0516,_0x549b69['slice'](_0x13b961+0x1)[_0x1193c3(0x20d)]()];}}__name(assignmentEntries,_0xe92bff(0x37f));function parseEnvContent(_0x36f0c4){const _0x5c2333={_0x749efd:0x258},_0x47d9f4=_0xe92bff,_0x48fca5={};for(const [_0x14246a,_0x30206c]of assignmentEntries(_0x36f0c4)){let _0xa10cfb=_0x30206c;if(_0xa10cfb[_0x47d9f4(0x258)]>=0x2){const _0x47d727=_0xa10cfb[0x0],_0x5c58a1=_0xa10cfb[_0xa10cfb[_0x47d9f4(_0x5c2333._0x749efd)]-0x1];(_0x47d727==='\x22'||_0x47d727==='\x27')&&_0x47d727===_0x5c58a1&&(_0xa10cfb=_0xa10cfb['slice'](0x1,-0x1));}_0x48fca5[_0x14246a]=_0xa10cfb;}return _0x48fca5;}__name(parseEnvContent,_0xe92bff(0x330));function serializeEnvValue(_0x4cd664){const _0xb377eb={_0x16253d:0x35e},_0x5a5f04=_0xe92bff;if(_0x4cd664==='')return'';if(/[\s#"'=\\]|^[`]/[_0x5a5f04(0x1d4)](_0x4cd664)||/[\n\r]/['test'](_0x4cd664)){const _0x556cd4=_0x4cd664[_0x5a5f04(0x35e)](/\\/g,'\x5c\x5c')[_0x5a5f04(_0xb377eb._0x16253d)](/"/g,'\x5c\x22')['replace'](/\n/g,'\x5cn')[_0x5a5f04(0x35e)](/\r/g,'\x5cr');return'\x22'+_0x556cd4+'\x22';}return _0x4cd664;}__name(serializeEnvValue,_0xe92bff(0x2c8));function envKeys(_0x49e313){const _0x43610b=new Set();for(const [_0x36982a]of assignmentEntries(_0x49e313))_0x43610b['add'](_0x36982a);return _0x43610b;}__name(envKeys,_0xe92bff(0x380));function declaredEnvKeys(_0x323a14){const _0x10eaa0={_0x5c2cde:0x373},_0x2d6a17=_0xe92bff,_0x3f33b1=new Set();for(const _0x5f0c0e of _0x323a14[_0x2d6a17(0x312)](/\r?\n/)){const _0x3fe199=/^\s*(?:#\s*)?([A-Za-z_][A-Za-z0-9_]*)\s*=/[_0x2d6a17(_0x10eaa0._0x5c2cde)](_0x5f0c0e);if(_0x3fe199)_0x3f33b1['add'](_0x3fe199[0x1]);}return _0x3f33b1;}__name(declaredEnvKeys,_0xe92bff(0x37a));function isSectionDivider(_0x5ecd6b){const _0x24e172=_0xe92bff,_0x26fd83=_0x5ecd6b[_0x24e172(0x20d)]();return _0x26fd83[_0x24e172(0x27f)]('#')&&/---/[_0x24e172(0x1d4)](_0x26fd83);}__name(isSectionDivider,_0xe92bff(0x354));function isAssignmentLine(_0x580f2e){const _0x51da41={_0x1c8ef6:0x20b,_0x191ed3:0x255,_0x2ffc20:0x20d},_0x40cef1=_0xe92bff,_0x3c2a21=_0x580f2e[_0x40cef1(0x20d)]();if(_0x3c2a21===''||_0x3c2a21['startsWith']('#'))return![];const _0x43e04e=_0x3c2a21[_0x40cef1(_0x51da41._0x1c8ef6)]('=');return _0x43e04e>0x0&&ENV_KEY_RE['test'](_0x3c2a21[_0x40cef1(_0x51da41._0x191ed3)](0x0,_0x43e04e)[_0x40cef1(_0x51da41._0x2ffc20)]());}__name(isAssignmentLine,_0xe92bff(0x316));function isAssignmentOf(_0x25d9a8,_0x361753){const _0x5bb303={_0x3989e7:0x20d,_0x3e715a:0x255},_0x30ba6d=_0xe92bff,_0x34d2ec=_0x25d9a8[_0x30ba6d(_0x5bb303._0x3989e7)]();if(_0x34d2ec===''||_0x34d2ec[_0x30ba6d(0x27f)]('#'))return![];const _0x2cb2d3=_0x34d2ec['indexOf']('=');if(_0x2cb2d3<=0x0)return![];return _0x34d2ec[_0x30ba6d(_0x5bb303._0x3e715a)](0x0,_0x2cb2d3)[_0x30ba6d(_0x5bb303._0x3989e7)]()===_0x361753;}__name(isAssignmentOf,_0xe92bff(0x309));function splitLines(_0x2519da){const _0x758415={_0x1d05f6:0x265,_0x37443c:0x312},_0x62ae06=_0xe92bff,_0x20eb1a=_0x2519da[_0x62ae06(_0x758415._0x1d05f6)]('\x0a'),_0x11c27d=_0x20eb1a?_0x2519da[_0x62ae06(0x255)](0x0,-0x1):_0x2519da;return{'lines':_0x11c27d===''?[]:_0x11c27d[_0x62ae06(_0x758415._0x37443c)]('\x0a'),'trailingNewline':_0x20eb1a};}__name(splitLines,_0xe92bff(0x19e));function joinLines(_0x209e71,_0x50771e){const _0x356b90=_0xe92bff,_0x21982e=_0x209e71[_0x356b90(0x375)]('\x0a');return _0x50771e||_0x21982e===''?_0x21982e+'\x0a':_0x21982e;}__name(joinLines,'joinLines');function insertEnvVar(_0xa100ed,_0xdfaf2d,_0x76ee08,_0x55c45b){const _0x28fdea={_0xaaddc:0x20d,_0x43a656:0x38f,_0x3871ea:0x290},_0x16943d=_0xe92bff,_0x40f8d2=_0xdfaf2d+'='+serializeEnvValue(_0x76ee08),{lines:_0x162e58,trailingNewline:_0x24a844}=splitLines(_0xa100ed);if(_0x55c45b){const _0x4c6d93=new RegExp('\x5cb'+_0x55c45b[_0x16943d(0x1d0)]()+'\x5cb'),_0xa9e859=_0x162e58[_0x16943d(0x1ab)](_0x4cacd4=>isSectionDivider(_0x4cacd4)&&_0x4c6d93[_0x16943d(0x1d4)](_0x4cacd4[_0x16943d(0x1d0)]()));if(_0xa9e859!==-0x1){let _0x14f73e=_0x162e58['length'];for(let _0x187029=_0xa9e859+0x1;_0x187029<_0x162e58['length'];_0x187029++){if(isSectionDivider(_0x162e58[_0x187029])){_0x14f73e=_0x187029;break;}}let _0x119dda=-0x1,_0x519ae3=-0x1;for(let _0x2c1972=_0xa9e859+0x1;_0x2c1972<_0x14f73e;_0x2c1972++){if(_0x162e58[_0x2c1972][_0x16943d(_0x28fdea._0xaaddc)]()!=='')_0x519ae3=_0x2c1972;if(isAssignmentLine(_0x162e58[_0x2c1972]))_0x119dda=_0x2c1972;}const _0x16429f=_0x119dda>=0x0?_0x119dda:_0x519ae3,_0xc5d5be=_0x16429f>=0x0?_0x16429f+0x1:_0xa9e859+0x1;return _0x162e58[_0x16943d(_0x28fdea._0x43a656)](_0xc5d5be,0x0,_0x40f8d2),joinLines(_0x162e58,_0x24a844||_0x162e58[_0x16943d(0x258)]>0x0);}if(_0x162e58[_0x16943d(0x258)]>0x0)_0x162e58[_0x16943d(0x290)]('');return _0x162e58[_0x16943d(_0x28fdea._0x3871ea)](_0x16943d(0x21c)+_0x55c45b+'\x20---',_0x40f8d2),joinLines(_0x162e58,!![]);}return _0x162e58[_0x16943d(0x290)](_0x40f8d2),joinLines(_0x162e58,!![]);}__name(insertEnvVar,'insertEnvVar');function removeEnvVar(_0x37679d,_0x3455bd){const _0x40b88a={_0xdb737b:0x389,_0x2de433:0x258},_0x5d4d15=_0xe92bff,{lines:_0x3ec3b7,trailingNewline:_0x34a28}=splitLines(_0x37679d),_0x29e51c=_0x3ec3b7[_0x5d4d15(_0x40b88a._0xdb737b)](_0x2a6168=>!isAssignmentOf(_0x2a6168,_0x3455bd)),_0x1383de=_0x29e51c['length']!==_0x3ec3b7[_0x5d4d15(_0x40b88a._0x2de433)];return{'content':joinLines(_0x29e51c,_0x34a28),'removed':_0x1383de};}__name(removeEnvVar,_0xe92bff(0x2fa));function replaceEnvVar(_0x1fc90c,_0x11fb9c,_0x159d5a){const _0x382744=_0xe92bff,{lines:_0x1c7cd6,trailingNewline:_0x4972c4}=splitLines(_0x1fc90c),_0x4798a3=_0x1c7cd6[_0x382744(0x1ab)](_0x53c1c4=>isAssignmentOf(_0x53c1c4,_0x11fb9c));if(_0x4798a3===-0x1)return{'content':_0x1fc90c,'replaced':![]};return _0x1c7cd6[_0x4798a3]=_0x11fb9c+'='+serializeEnvValue(_0x159d5a),{'content':joinLines(_0x1c7cd6,_0x4972c4),'replaced':!![]};}__name(replaceEnvVar,_0xe92bff(0x1f4));var RUN_MANIFEST_FILE='manifest.json',RUN_TRIGGER_ENV=_0xe92bff(0x19a),RUN_ACTOR_ENV=_0xe92bff(0x20c),TRIGGER_KINDS=[_0xe92bff(0x240),'ci','manual','cli'];function runTriggerFromEnv(_0x1e5f39){const _0x3e5dad={_0x3315f6:0x20d,_0x182296:0x183},_0x3ed6c7=_0xe92bff,_0x1dad04=_0x1e5f39[RUN_TRIGGER_ENV]?.[_0x3ed6c7(_0x3e5dad._0x3315f6)]();if(!_0x1dad04||!TRIGGER_KINDS[_0x3ed6c7(_0x3e5dad._0x182296)](_0x1dad04))return void 0x0;const _0x11ae4d=_0x1e5f39[RUN_ACTOR_ENV]?.[_0x3ed6c7(0x20d)]();return{'kind':_0x1dad04,..._0x11ae4d?{'by':_0x11ae4d}:{}};}__name(runTriggerFromEnv,_0xe92bff(0x267));function runTriggerEnv(_0x4c9116){const _0x19fe2b={_0x340798:0x1df},_0x3b4762=_0xe92bff;return{[RUN_TRIGGER_ENV]:_0x4c9116[_0x3b4762(_0x19fe2b._0x340798)],..._0x4c9116['by']!==void 0x0?{[RUN_ACTOR_ENV]:_0x4c9116['by']}:{}};}__name(runTriggerEnv,_0xe92bff(0x29e));function manifestTrigger(_0x878da2){const _0x1495b0={_0x477270:0x1d8},_0x5bf12e=_0xe92bff;return _0x878da2['trigger']??{'kind':_0x5bf12e(_0x1495b0._0x477270)};}__name(manifestTrigger,'manifestTrigger');var TARGET_ENV_VAR=_0xe92bff(0x302),RUN_ID_ENV=_0xe92bff(0x341),ENVIRONMENT_ENV=_0xe92bff(0x28c),EDITOR_TYPES_ENV=_0xe92bff(0x2b0),QUEUE_LEASE_ENV=_0xe92bff(0x21b),RUN_IDENTITY_ENV_NAMES=[RUN_ID_ENV,ENVIRONMENT_ENV,BUNDLE_ID_ENV,EDITOR_TYPES_ENV,BOX_SECRET_NAMES_ENV,QUEUE_LEASE_ENV,RUN_TRIGGER_ENV,RUN_ACTOR_ENV];function isRunIdentityEnvName(_0x3826b8){const _0xe4e92b={_0x1d210a:0x183},_0xd6599b=_0xe92bff;return RUN_IDENTITY_ENV_NAMES[_0xd6599b(_0xe4e92b._0x1d210a)](_0x3826b8);}__name(isRunIdentityEnvName,'isRunIdentityEnvName');function runIdentityRefusal(_0x5a0f5c){const _0x27fdd0={_0x1f4614:0x258,_0x1a8018:0x231},_0x5b207b=_0xe92bff,_0x4b4e48=[...new Set(_0x5a0f5c)];return _0x4b4e48['join'](',\x20')+'\x20'+(_0x4b4e48[_0x5b207b(_0x27fdd0._0x1f4614)]===0x1?'is':_0x5b207b(0x18b))+_0x5b207b(_0x27fdd0._0x1a8018);}__name(runIdentityRefusal,_0xe92bff(0x286));function withoutRunIdentity(_0x54b167){const _0x17c3b9=_0xe92bff;return Object['fromEntries'](Object[_0x17c3b9(0x2ea)](_0x54b167)[_0x17c3b9(0x389)](([_0x575f48])=>!isRunIdentityEnvName(_0x575f48)));}__name(withoutRunIdentity,_0xe92bff(0x2c6));var RUNNER_SETTING_PREFIX=_0xe92bff(0x394);function isRunnerSetting(_0x4d47a9){const _0x3fc231={_0x45f235:0x27f},_0x3ed35=_0xe92bff;return _0x4d47a9[_0x3ed35(_0x3fc231._0x45f235)](RUNNER_SETTING_PREFIX);}__name(isRunnerSetting,_0xe92bff(0x301));var BOX_VALUES_PATH=_0xe92bff(0x2d2),BOX_ENV_VALUES_SEGMENT=_0xe92bff(0x223),BOX_REVEAL_SEGMENT=_0xe92bff(0x337),KIND_SEGMENTS={'variable':_0xe92bff(0x24d),'secret':_0xe92bff(0x280)};function boxValueKindOfSegment(_0x509c44){for(const [_0x55d798,_0x5d10be]of Object['entries'](KIND_SEGMENTS)){if(_0x5d10be===_0x509c44)return _0x55d798;}return null;}__name(boxValueKindOfSegment,'boxValueKindOfSegment');function boxValuesPath(_0x470790){return BOX_VALUES_PATH+'/'+encodeURIComponent(_0x470790);}__name(boxValuesPath,_0xe92bff(0x22b));function boxValuePath(_0x4a907d,_0x57653a,_0x32d1e0){return boxValuesPath(_0x4a907d)+'/'+valueSuffix(_0x57653a,_0x32d1e0);}__name(boxValuePath,_0xe92bff(0x1ae));function boxEnvValuesPath(_0x27b803,_0x57b155){const _0x710704=_0xe92bff;return _0x710704(0x1da)+encodeURIComponent(_0x27b803)+'/'+encodeURIComponent(_0x57b155)+'/'+BOX_ENV_VALUES_SEGMENT;}__name(boxEnvValuesPath,_0xe92bff(0x2e5));function boxEnvValuePath(_0x2802a4,_0x28c5d9,_0x47bda2,_0x4d3a0f){return boxEnvValuesPath(_0x2802a4,_0x28c5d9)+'/'+valueSuffix(_0x47bda2,_0x4d3a0f);}__name(boxEnvValuePath,_0xe92bff(0x335));function boxEnvSecretRevealPath(_0x5ccd97,_0x2e6d2c,_0x64ffdb){return boxEnvValuePath(_0x5ccd97,_0x2e6d2c,'secret',_0x64ffdb)+'/'+BOX_REVEAL_SEGMENT;}__name(boxEnvSecretRevealPath,_0xe92bff(0x326));function boxEnvSecretsRevealPath(_0x4a0e16,_0xd8857b){return boxEnvValuesPath(_0x4a0e16,_0xd8857b)+'/'+BOX_REVEAL_SEGMENT;}__name(boxEnvSecretsRevealPath,_0xe92bff(0x30e));function valueSuffix(_0x3640f7,_0x193392){const _0x77e4fb={_0x501a1e:0x399,_0xe252ec:0x27c},_0x38d370=_0xe92bff;if(_0x3640f7==='target')return _0x38d370(_0x77e4fb._0x501a1e);if(_0x193392===void 0x0)throw new Error('a\x20'+_0x3640f7+_0x38d370(_0x77e4fb._0xe252ec));return KIND_SEGMENTS[_0x3640f7]+'/'+encodeURIComponent(_0x193392);}__name(valueSuffix,_0xe92bff(0x3ba));function parseBoxValuesReplaceRequest(_0x4b388a){return parseReplaceRequest(_0x4b388a,parseStringRecord);}__name(parseBoxValuesReplaceRequest,_0xe92bff(0x264));function parseBoxEnvValuesReplaceRequest(_0x50cba6){return parseReplaceRequest(_0x50cba6,parseKeepRecord);}__name(parseBoxEnvValuesReplaceRequest,_0xe92bff(0x2e3));function parseBoxValuesMergeRequest(_0x40579f){const _0x4cc108=parseBoxValuesReplaceRequest(_0x40579f);if(_0x4cc108===null)return null;const {prune:_0x14ee5d}=_0x40579f;if(_0x14ee5d===void 0x0)return _0x4cc108;return typeof _0x14ee5d==='boolean'?{..._0x4cc108,'prune':_0x14ee5d}:null;}__name(parseBoxValuesMergeRequest,_0xe92bff(0x261));function parseBoxValueSetRequest(_0x2735d0){return parseValueEnvelope(_0x2735d0);}__name(parseBoxValueSetRequest,'parseBoxValueSetRequest');function reservedBoxValueNames(_0x20ab62){const _0x364f9e={_0x274047:0x178,_0x4c5312:0x178},_0x46d711=_0xe92bff;return[...Object[_0x46d711(_0x364f9e._0x274047)](_0x20ab62['variables']),...Object[_0x46d711(_0x364f9e._0x4c5312)](_0x20ab62[_0x46d711(0x280)])]['filter'](isReservedBoxValueName);}__name(reservedBoxValueNames,_0xe92bff(0x1b0));function isReservedBoxValueName(_0x53c280){return _0x53c280===TARGET_ENV_VAR||isRunIdentityEnvName(_0x53c280);}__name(isReservedBoxValueName,_0xe92bff(0x2e1));function parseReplaceRequest(_0x500e10,_0x38c7f3){const _0x463393=_0xe92bff;if(!isRecord(_0x500e10))return null;const {target:_0x5c2f5e,variables:_0x4d6938,secrets:_0x237505}=_0x500e10;if(_0x5c2f5e!==void 0x0&&typeof _0x5c2f5e!==_0x463393(0x2f1))return null;const _0x10cb5b=parseStringRecord(_0x4d6938),_0x1249f2=_0x38c7f3(_0x237505);if(_0x10cb5b===null||_0x1249f2===null)return null;return{...typeof _0x5c2f5e===_0x463393(0x2f1)?{'target':_0x5c2f5e}:{},'variables':_0x10cb5b,'secrets':_0x1249f2};}__name(parseReplaceRequest,_0xe92bff(0x21f));function parseValueEnvelope(_0x413b97){const _0x43719={_0x2f72c4:0x2f1,_0x70b159:0x31e},_0x5416e3=_0xe92bff;if(!isRecord(_0x413b97))return null;return typeof _0x413b97['value']===_0x5416e3(_0x43719._0x2f72c4)?{'value':_0x413b97[_0x5416e3(_0x43719._0x70b159)]}:null;}__name(parseValueEnvelope,'parseValueEnvelope');function parseStringRecord(_0x197097){return parseNamedRecord(_0x197097,isString);}__name(parseStringRecord,_0xe92bff(0x243));function parseKeepRecord(_0x38ae13){return parseNamedRecord(_0x38ae13,_0x826255=>_0x826255===null||isString(_0x826255));}__name(parseKeepRecord,_0xe92bff(0x2f5));function parseNamedRecord(_0x614f4e,_0x32529b){const _0x4f52ba={_0x58522a:0x2ea},_0x2f05c5=_0xe92bff;if(!isRecord(_0x614f4e))return null;const _0x4d070e={};for(const [_0x32ed52,_0x330f4d]of Object[_0x2f05c5(_0x4f52ba._0x58522a)](_0x614f4e)){if(!isEnvVarName(_0x32ed52)||!_0x32529b(_0x330f4d))return null;_0x4d070e[_0x32ed52]=_0x330f4d;}return _0x4d070e;}__name(parseNamedRecord,_0xe92bff(0x19b));function isString(_0x4d0eb4){return typeof _0x4d0eb4==='string';}__name(isString,'isString');function parseUnknownEnvironmentDetail(_0x53a9b9){const _0x107713={_0x16b314:0x262,_0x1c094f:0x344},_0xcbecbb=_0xe92bff,{project:_0x44458d,environments:_0x4903b8}=_0x53a9b9;if(typeof _0x44458d!=='string'||!Array[_0xcbecbb(_0x107713._0x16b314)](_0x4903b8))return{};if(!_0x4903b8[_0xcbecbb(_0x107713._0x1c094f)](_0x1d40f9=>typeof _0x1d40f9===_0xcbecbb(0x2f1)))return{};return{'project':_0x44458d,'environments':_0x4903b8};}__name(parseUnknownEnvironmentDetail,_0xe92bff(0x2ad));function parseReservedRefusalDetail(_0x468085){const _0x2a8797={_0x30ff34:0x29c},_0x5b8223=_0xe92bff,{subject:_0x35f5e3}=_0x468085;return _0x35f5e3===_0x5b8223(0x399)||_0x35f5e3===_0x5b8223(_0x2a8797._0x30ff34)?{'subject':_0x35f5e3}:{};}__name(parseReservedRefusalDetail,_0xe92bff(0x328));var VALUES_ERROR_CODES=[_0xe92bff(0x1fc),_0xe92bff(0x1ca),_0xe92bff(0x38c),_0xe92bff(0x182),_0xe92bff(0x322),'reserved',_0xe92bff(0x1b6),_0xe92bff(0x33f),_0xe92bff(0x17d),_0xe92bff(0x208),_0xe92bff(0x1a2),'storage'];function isBoxValuesErrorCode(_0x57e722){const _0x1290a2={_0x28fa0e:0x183},_0x5581c5=_0xe92bff;return VALUES_ERROR_CODES[_0x5581c5(_0x1290a2._0x28fa0e)](_0x57e722);}__name(isBoxValuesErrorCode,_0xe92bff(0x314));var VALUE_KINDS=[_0xe92bff(0x399),_0xe92bff(0x2b7),'secret'];function parseBoxValuesResponse(_0x32822e){const _0x5a2279={_0x56b0ca:0x26d,_0x23c4ce:0x2f1,_0x5f3840:0x2f1,_0x530189:0x2f1,_0x5cdb89:0x34e,_0x4ef7d4:0x19f,_0x5773b1:0x21a,_0x2a7630:0x24d,_0x4501ad:0x280,_0x13e0fb:0x263},_0x59bd21=_0xe92bff;if(!isRecord(_0x32822e))return null;if(isRecord(_0x32822e[_0x59bd21(_0x5a2279._0x56b0ca)])){const {code:_0x257427,message:_0x392a85}=_0x32822e['error'];if(typeof _0x257427!==_0x59bd21(_0x5a2279._0x23c4ce)||typeof _0x392a85!==_0x59bd21(_0x5a2279._0x5f3840))return null;return{'error':{'code':isBoxValuesErrorCode(_0x257427)?_0x257427:_0x257427,'message':_0x392a85,...parseUnknownEnvironmentDetail(_0x32822e['error']),...parseReservedRefusalDetail(_0x32822e[_0x59bd21(_0x5a2279._0x56b0ca)])}};}const {status:_0x2f5b8e,environment:_0x443fa5}=_0x32822e;if(typeof _0x443fa5!==_0x59bd21(_0x5a2279._0x530189))return null;if(_0x2f5b8e===_0x59bd21(_0x5a2279._0x5cdb89)||_0x2f5b8e==='merged'){const _0x59d2ad=parseValueNames(_0x32822e),_0x25a3c7=parseValueNames(_0x32822e[_0x59bd21(_0x5a2279._0x4ef7d4)]);if(_0x59d2ad===null||_0x25a3c7===null)return null;if(_0x2f5b8e==='replaced')return{'status':_0x2f5b8e,'environment':_0x443fa5,..._0x59d2ad,'removed':_0x25a3c7};const _0x4412b5=parseValueNames(_0x32822e[_0x59bd21(0x263)]),_0x30df19=parseValueNames(_0x32822e[_0x59bd21(0x288)]),_0x293da3=isRecord(_0x32822e[_0x59bd21(0x21a)])?_0x32822e[_0x59bd21(_0x5a2279._0x5773b1)]:null,_0x273696=parseNameList(_0x293da3?.[_0x59bd21(_0x5a2279._0x2a7630)]),_0x1e49b6=parseNameList(_0x293da3?.[_0x59bd21(_0x5a2279._0x4501ad)]);if(_0x4412b5===null||_0x30df19===null||_0x273696===null||_0x1e49b6===null)return null;return{'status':_0x2f5b8e,'environment':_0x443fa5,..._0x59d2ad,'set':_0x4412b5,'kept':_0x30df19,'removed':_0x25a3c7,'moved':{'variables':_0x273696,'secrets':_0x1e49b6}};}if(_0x2f5b8e===_0x59bd21(_0x5a2279._0x13e0fb)||_0x2f5b8e==='removed'){const {kind:_0x42577e,name:_0x5e2dff}=_0x32822e;if(!VALUE_KINDS['includes'](_0x42577e))return null;if(_0x5e2dff!==void 0x0&&typeof _0x5e2dff!=='string')return null;return{'status':_0x2f5b8e,'environment':_0x443fa5,'kind':_0x42577e,...typeof _0x5e2dff==='string'?{'name':_0x5e2dff}:{}};}return null;}__name(parseBoxValuesResponse,'parseBoxValuesResponse');function parseValueNames(_0x2923e8){const _0x3ae795={_0x3ed99b:0x280,_0x4b85a4:0x399},_0x5deedc=_0xe92bff;if(!isRecord(_0x2923e8))return null;const _0x1f2c64=parseNameList(_0x2923e8[_0x5deedc(0x24d)]),_0x146c52=parseNameList(_0x2923e8[_0x5deedc(_0x3ae795._0x3ed99b)]);if(typeof _0x2923e8['target']!==_0x5deedc(0x23d)||_0x1f2c64===null||_0x146c52===null)return null;return{'target':_0x2923e8[_0x5deedc(_0x3ae795._0x4b85a4)],'variables':_0x1f2c64,'secrets':_0x146c52};}__name(parseValueNames,_0xe92bff(0x29b));function parseNameList(_0x3bc160){const _0xb22757=_0xe92bff;if(!Array[_0xb22757(0x262)](_0x3bc160))return null;return _0x3bc160[_0xb22757(0x344)](_0x574abb=>typeof _0x574abb===_0xb22757(0x2f1))?_0x3bc160:null;}__name(parseNameList,'parseNameList');function parseBoxSecretRevealResponse(_0x4ae5c2){return parseValueEnvelope(_0x4ae5c2);}__name(parseBoxSecretRevealResponse,_0xe92bff(0x1fa));function parseBoxSecretsRevealResponse(_0x1d5ad5){return parseStringRecord(_0x1d5ad5);}__name(parseBoxSecretsRevealResponse,'parseBoxSecretsRevealResponse');var BOX_RUNS_SEGMENT=_0xe92bff(0x367),ACTOR_TICKET_HEADER=_0xe92bff(0x3b9),GUARD_SECRET_HEADER=_0xe92bff(0x365);function boxRunsPath(_0x70e451,_0x25633c){const _0x2f3e41={_0xd4bd09:0x1da},_0x23b1a9=_0xe92bff;return _0x23b1a9(_0x2f3e41._0xd4bd09)+encodeURIComponent(_0x70e451)+'/'+encodeURIComponent(_0x25633c)+'/'+BOX_RUNS_SEGMENT;}__name(boxRunsPath,'boxRunsPath');function boxRunPath(_0x50f9fc,_0x334485,_0x489ded){return boxRunsPath(_0x50f9fc,_0x334485)+'/'+encodeURIComponent(_0x489ded);}__name(boxRunPath,'boxRunPath');function parseBoxRunRequest(_0x533524){const _0x55133e={_0x390d4d:0x1c5,_0x1be214:0x258,_0x27ecf5:0x2f1},_0x684faf=_0xe92bff;if(!isRecord(_0x533524))return null;const {kind:_0x24063e,ref:_0x5e7159,test:_0xf76aaa}=_0x533524;if(_0x24063e!==_0x684faf(0x1f7)&&_0x24063e!==_0x684faf(_0x55133e._0x390d4d))return null;if(typeof _0x5e7159!==_0x684faf(0x2f1)||_0x5e7159[_0x684faf(_0x55133e._0x1be214)]===0x0)return null;if(_0xf76aaa===void 0x0)return{'kind':_0x24063e,'ref':_0x5e7159};if(_0x24063e!==_0x684faf(0x1c5)||typeof _0xf76aaa!==_0x684faf(_0x55133e._0x27ecf5)||!isTestName(_0xf76aaa))return null;return{'kind':_0x24063e,'ref':_0x5e7159,'test':_0xf76aaa};}__name(parseBoxRunRequest,_0xe92bff(0x228));function isTestName(_0x45725f){const _0x43a682={_0x5280c1:0x1d4},_0x75ab46=_0xe92bff;return TEST_NAME[_0x75ab46(_0x43a682._0x5280c1)](_0x45725f);}__name(isTestName,_0xe92bff(0x28b));var TEST_NAME=/^[a-zA-Zа-яА-ЯёЁ_$][a-zA-Zа-яА-ЯёЁ0-9_$]{0,127}$/;function parseBoxRunAccepted(_0x31c5f1){const _0x72aa62=_0xe92bff;if(!isRecord(_0x31c5f1))return null;const {runId:_0x532d45,acceptedAt:_0x4f87cb}=_0x31c5f1;if(typeof _0x532d45!==_0x72aa62(0x2f1)||_0x532d45['length']===0x0)return null;if(typeof _0x4f87cb!=='number')return null;return{'runId':_0x532d45,'acceptedAt':_0x4f87cb};}__name(parseBoxRunAccepted,_0xe92bff(0x2cc));function parseBoxRunStatus(_0x267fc7){const _0x4943c8={_0x50d9dd:0x185,_0x5683c1:0x1d7},_0x5d60a2=_0xe92bff;if(!isRecord(_0x267fc7))return null;const {runId:_0x50b7ba,state:_0x3360c1,exitCode:_0x50b1cb,startedAt:_0x58da32,finishedAt:_0x46bb92}=_0x267fc7;if(typeof _0x50b7ba!==_0x5d60a2(0x2f1)||_0x50b7ba[_0x5d60a2(0x258)]===0x0)return null;if(_0x3360c1!==_0x5d60a2(0x195)&&_0x3360c1!==_0x5d60a2(_0x4943c8._0x50d9dd)&&_0x3360c1!==_0x5d60a2(0x340))return null;if(_0x50b1cb!==void 0x0&&_0x50b1cb!==null&&typeof _0x50b1cb!==_0x5d60a2(_0x4943c8._0x5683c1))return null;if(_0x58da32!==void 0x0&&typeof _0x58da32!==_0x5d60a2(0x1d7))return null;if(_0x46bb92!==void 0x0&&typeof _0x46bb92!==_0x5d60a2(0x1d7))return null;return{'runId':_0x50b7ba,'state':_0x3360c1,..._0x50b1cb!==void 0x0?{'exitCode':_0x50b1cb}:{},..._0x58da32!==void 0x0?{'startedAt':_0x58da32}:{},..._0x46bb92!==void 0x0?{'finishedAt':_0x46bb92}:{}};}__name(parseBoxRunStatus,_0xe92bff(0x292));var CI_RUN_PATH=_0xe92bff(0x22e),CI_RUNS_PATH=_0xe92bff(0x362),PROVIDER_IDS=[_0xe92bff(0x28a),_0xe92bff(0x22a),_0xe92bff(0x36b)],RUN_ERROR_CODES=[_0xe92bff(0x1fc),_0xe92bff(0x38c),_0xe92bff(0x182),_0xe92bff(0x2a4),_0xe92bff(0x1bb),_0xe92bff(0x1b6),_0xe92bff(0x17d),'revocation-list-unavailable',_0xe92bff(0x1a2),_0xe92bff(0x33e),_0xe92bff(0x2a5)],RUN_STATUS_ERROR_CODES=[_0xe92bff(0x1fc),_0xe92bff(0x38c),_0xe92bff(0x17d),'revocation-list-unavailable','ambiguous-project',_0xe92bff(0x368)];function parseCiRunStatusResponse(_0x5bec77){const _0x51bd32={_0x544af8:0x26d},_0x57cbac=_0xe92bff;if(!isRecord(_0x5bec77))return null;if(isRecord(_0x5bec77[_0x57cbac(_0x51bd32._0x544af8)])){const {code:_0x1d1bcd,message:_0x484764}=_0x5bec77['error'];if(!RUN_STATUS_ERROR_CODES['includes'](_0x1d1bcd))return null;if(typeof _0x484764!==_0x57cbac(0x2f1))return null;return{'error':{'code':_0x1d1bcd,'message':_0x484764}};}return parseBoxRunStatus(_0x5bec77);}__name(parseCiRunStatusResponse,_0xe92bff(0x3c2));function parseCiRunRequest(_0xd97c0a){const _0x411f50={_0x228ef8:0x2f1,_0x665a88:0x258,_0x5d34a5:0x2f1,_0x3ab16a:0x258,_0x3645fd:0x327,_0x3716ff:0x1d7},_0x410107=_0xe92bff;if(!isRecord(_0xd97c0a))return null;const {bundleId:_0x301a06,environment:_0x56a6e9,collections:_0x5a37d6,pr:_0x1d107e,branch:_0x297a58,sha:_0x79c2cf}=_0xd97c0a;if(typeof _0x301a06!==_0x410107(_0x411f50._0x228ef8)||_0x301a06[_0x410107(_0x411f50._0x665a88)]===0x0)return null;if(typeof _0x56a6e9!==_0x410107(_0x411f50._0x5d34a5)||_0x56a6e9[_0x410107(_0x411f50._0x3ab16a)]===0x0)return null;let _0x286501=null;if(_0x5a37d6!==void 0x0){if(!Array['isArray'](_0x5a37d6))return null;if(_0x5a37d6[_0x410107(_0x411f50._0x3645fd)](_0x509d9a=>typeof _0x509d9a!=='string'||_0x509d9a['length']===0x0))return null;_0x286501=_0x5a37d6;}if(_0x1d107e!==void 0x0&&(typeof _0x1d107e!==_0x410107(_0x411f50._0x3716ff)||!Number['isInteger'](_0x1d107e)))return null;for(const _0x3af476 of[_0x297a58,_0x79c2cf]){if(_0x3af476!==void 0x0&&typeof _0x3af476!==_0x410107(_0x411f50._0x228ef8))return null;}return{'bundleId':_0x301a06,'environment':_0x56a6e9,..._0x286501?{'collections':_0x286501}:{},...typeof _0x1d107e===_0x410107(0x1d7)?{'pr':_0x1d107e}:{},...typeof _0x297a58===_0x410107(_0x411f50._0x228ef8)?{'branch':_0x297a58}:{},...typeof _0x79c2cf===_0x410107(_0x411f50._0x5d34a5)?{'sha':_0x79c2cf}:{}};}__name(parseCiRunRequest,_0xe92bff(0x31f));function parseCiRunResponse(_0x2e0b66){const _0x1708eb={_0x10e5ac:0x26d,_0x49b204:0x183,_0x17eebb:0x195,_0x191d1d:0x2f1,_0x42b87f:0x262,_0x190c23:0x290,_0x533a25:0x1d7,_0x3d58d3:0x26f},_0x732ea1=_0xe92bff;if(!isRecord(_0x2e0b66))return null;if(isRecord(_0x2e0b66['error'])){const {code:_0x5b4d76,message:_0x1ed4b6}=_0x2e0b66[_0x732ea1(_0x1708eb._0x10e5ac)];if(!RUN_ERROR_CODES[_0x732ea1(_0x1708eb._0x49b204)](_0x5b4d76))return null;if(typeof _0x1ed4b6!=='string')return null;return{'error':{'code':_0x5b4d76,'message':_0x1ed4b6,...parseUnknownEnvironmentDetail(_0x2e0b66[_0x732ea1(0x26d)])}};}const {status:_0x158bd4,bundleId:_0x34dbc7,environment:_0x347469,runs:_0x68e3cc,superseded:_0x143c50,environmentPinned:_0x44438b}=_0x2e0b66;if(_0x158bd4!==_0x732ea1(_0x1708eb._0x17eebb))return null;if(typeof _0x34dbc7!=='string'||typeof _0x347469!==_0x732ea1(_0x1708eb._0x191d1d))return null;if(!Array[_0x732ea1(_0x1708eb._0x42b87f)](_0x68e3cc))return null;const _0x3be0a7=[];for(const _0x271d52 of _0x68e3cc){if(!isRecord(_0x271d52))return null;const {runId:_0x380fd6,collection:_0x451143,url:_0x4ffaa4}=_0x271d52;if(typeof _0x380fd6!=='string'||typeof _0x451143!==_0x732ea1(0x2f1))return null;_0x3be0a7[_0x732ea1(_0x1708eb._0x190c23)]({'runId':_0x380fd6,'collection':_0x451143,...typeof _0x4ffaa4===_0x732ea1(0x2f1)?{'url':_0x4ffaa4}:{}});}if(_0x143c50!==void 0x0&&typeof _0x143c50!==_0x732ea1(_0x1708eb._0x533a25))return null;let _0x534291=null;return _0x44438b!==void 0x0&&(isRecord(_0x44438b)&&typeof _0x44438b[_0x732ea1(0x26f)]===_0x732ea1(0x2f1)&&(_0x534291={'branch':_0x44438b[_0x732ea1(_0x1708eb._0x3d58d3)]})),{'status':_0x732ea1(_0x1708eb._0x17eebb),'bundleId':_0x34dbc7,'environment':_0x347469,'runs':_0x3be0a7,...typeof _0x143c50===_0x732ea1(0x1d7)?{'superseded':_0x143c50}:{},..._0x534291?{'environmentPinned':_0x534291}:{}};}__name(parseCiRunResponse,_0xe92bff(0x249));function parseCiProvider(_0xd7f5cf){return PROVIDER_IDS['includes'](_0xd7f5cf)?_0xd7f5cf:null;}__name(parseCiProvider,'parseCiProvider');function ciRunLinesPath(_0x1a030a){const _0x58826f={_0x5971e2:0x236},_0x3b74ec=_0xe92bff;return CI_RUNS_PATH+'/'+encodeURIComponent(_0x1a030a)+_0x3b74ec(_0x58826f._0x5971e2);}__name(ciRunLinesPath,_0xe92bff(0x1b3));var CI_RUN_LINES_AFTER='after',CI_RUN_LINES_MAX=0x1f4,LINE_KINDS=['scenario-started',_0xe92bff(0x1e8),'log','note',_0xe92bff(0x253)],OUTCOMES=['completed',_0xe92bff(0x1de),'aborted',_0xe92bff(0x378)];function parseCiRunLinesResponse(_0x599353){const _0x340622={_0x211cfa:0x26d,_0x59d1f0:0x2f1,_0x322f7b:0x23d,_0x25e464:0x183,_0x327b7c:0x290,_0x5eeb2b:0x2f1},_0x3035f1=_0xe92bff;if(!isRecord(_0x599353))return null;if(isRecord(_0x599353[_0x3035f1(_0x340622._0x211cfa)]))return parseCiRunStatusResponse(_0x599353);const {runId:_0x1b87a9,lines:_0x5f3ec3,next:_0x382466,done:_0x63d9b6}=_0x599353;if(typeof _0x1b87a9!==_0x3035f1(_0x340622._0x59d1f0)||!Array[_0x3035f1(0x262)](_0x5f3ec3))return null;if(typeof _0x382466!==_0x3035f1(0x1d7)||!Number['isInteger'](_0x382466)||_0x382466<0x0||typeof _0x63d9b6!==_0x3035f1(_0x340622._0x322f7b))return null;const _0x41efae=[];for(const _0x5df2e8 of _0x5f3ec3){if(!isRecord(_0x5df2e8))return null;const {kind:_0x4716a0,scenario:_0x2bdd9a,text:_0x2e0808,outcome:_0x28da69,skipReason:_0x125538,expectFail:_0x112185}=_0x5df2e8;if(!LINE_KINDS['includes'](_0x4716a0))return null;if(typeof _0x2bdd9a!=='string'||typeof _0x2e0808!==_0x3035f1(0x2f1))return null;if(_0x28da69!==void 0x0&&!OUTCOMES[_0x3035f1(_0x340622._0x25e464)](_0x28da69))return null;_0x41efae[_0x3035f1(_0x340622._0x327b7c)]({'kind':_0x4716a0,'scenario':_0x2bdd9a,'text':_0x2e0808,..._0x28da69===void 0x0?{}:{'outcome':_0x28da69},...typeof _0x125538===_0x3035f1(_0x340622._0x5eeb2b)?{'skipReason':_0x125538}:{},..._0x112185===!![]?{'expectFail':_0x112185}:{}});}return{'runId':_0x1b87a9,'lines':_0x41efae,'next':_0x382466,'done':_0x63d9b6};}__name(parseCiRunLinesResponse,_0xe92bff(0x296));var QUEUE_SUBDIR=_0xe92bff(0x29f),QUEUE_TICKETS_DIR=_0xe92bff(0x352),QUEUE_RUNNING_DIR=_0xe92bff(0x185),QUEUE_SLOTS_DIR='slots',QUEUE_MUTEX_FILE=_0xe92bff(0x206),QUEUE_DISABLED_ENV=_0xe92bff(0x1cf),QUEUE_GLOBAL_DIR_ENV=_0xe92bff(0x39b),QUEUE_GLOBAL_SLOTS_ENV='UNOTEST_QUEUE_GLOBAL_SLOTS',QUEUE_SCHEMA_VERSION=0x1;function queueDirFor(_0x1bf0c3,_0x49461b){return''+QUEUE_SUBDIR+_0x1bf0c3+(_0x49461b?'.'+_0x49461b:'');}__name(queueDirFor,_0xe92bff(0x332));function isQueueDirName(_0x5cff76){const _0x3bd8e5={_0x3be1c7:0x27f,_0x55a869:0x27f},_0x2d665d=_0xe92bff;return _0x5cff76===QUEUE_SUBDIR||_0x5cff76[_0x2d665d(_0x3bd8e5._0x3be1c7)](QUEUE_SUBDIR+'-')||_0x5cff76[_0x2d665d(_0x3bd8e5._0x55a869)](QUEUE_SUBDIR+'.');}__name(isQueueDirName,_0xe92bff(0x31d));function projectQueueRoot(_0x454be7='',_0x4d1530){return UNOTEST_DIR+'/'+queueDirFor(_0x454be7,_0x4d1530);}__name(projectQueueRoot,'projectQueueRoot');var PRIORITY_RANKS=Object[_0xe92bff(0x2d5)]({'maintenance':0x0,'interactive':0x1,'ci':0x2,'schedule':0x3}),RANK_PRIORITIES=['maintenance',_0xe92bff(0x248),'ci',_0xe92bff(0x240)],QUEUE_PRIORITIES=RANK_PRIORITIES;function queuePriorityRank(_0x41eef9){return PRIORITY_RANKS[_0x41eef9];}__name(queuePriorityRank,_0xe92bff(0x3b2));function queuePriorityFromRank(_0x271e53){return RANK_PRIORITIES[_0x271e53]??null;}__name(queuePriorityFromRank,_0xe92bff(0x2f9));function describeTicketCi(_0x5941cd){const _0x45b5a2={_0x4b20f5:0x310,_0x1fe848:0x35a,_0x5aad5e:0x26f,_0x4a0e7b:0x258,_0x7b44ff:0x3bd},_0x39a700=_0xe92bff,_0x1202e6=_0x5941cd[_0x39a700(_0x45b5a2._0x4b20f5)]?'@'+_0x5941cd[_0x39a700(_0x45b5a2._0x4b20f5)]['slice'](0x0,0x7):'';if(_0x5941cd['pr']!==void 0x0)return _0x39a700(_0x45b5a2._0x1fe848)+_0x5941cd['pr']+_0x1202e6;if(_0x5941cd[_0x39a700(0x26f)]!==void 0x0)return''+_0x5941cd[_0x39a700(_0x45b5a2._0x5aad5e)]+_0x1202e6;return _0x1202e6[_0x39a700(_0x45b5a2._0x4a0e7b)]>0x0?_0x1202e6[_0x39a700(0x255)](0x1):_0x5941cd[_0x39a700(_0x45b5a2._0x7b44ff)];}__name(describeTicketCi,_0xe92bff(0x2a3));function makeQueueTicketName(_0x3b9444,_0x277731,_0x36a880){const _0x251031={_0x37fd80:0x2a7},_0x583690=_0xe92bff;return queuePriorityRank(_0x3b9444)+'-'+_0x277731[_0x583690(_0x251031._0x37fd80)](0x24)+'-'+_0x36a880+'.json';}__name(makeQueueTicketName,'makeQueueTicketName');var TICKET_NAME_RE=/^([0-3])-([0-9a-z]+)-([0-9a-f]+)\.json$/;function parseQueueTicketName(_0x56aace){const _0x3ee8c0={_0x1b090e:0x373,_0x25f7a9:0x2f3},_0x10d6f2=_0xe92bff,_0x228739=TICKET_NAME_RE[_0x10d6f2(_0x3ee8c0._0x1b090e)](_0x56aace);if(!_0x228739)return null;const _0x244cb0=Number(_0x228739[0x1]),_0x152e3d=queuePriorityFromRank(_0x244cb0);if(_0x152e3d===null)return null;const _0x35de23=parseInt(_0x228739[0x2],0x24);if(!Number[_0x10d6f2(_0x3ee8c0._0x25f7a9)](_0x35de23))return null;return{'rank':_0x244cb0,'priority':_0x152e3d,'createdAt':_0x35de23,'random':_0x228739[0x3]};}__name(parseQueueTicketName,_0xe92bff(0x19d));function compareQueueTicketNames(_0x1b05ed,_0x1b18dc){const _0x89de4={_0x565d80:0x3a4,_0x4ad1c4:0x1ec,_0x2a242b:0x317,_0x575fe3:0x317},_0x3708ed=_0xe92bff,_0x17846e=parseQueueTicketName(_0x1b05ed),_0x488eb8=parseQueueTicketName(_0x1b18dc);if(!_0x17846e||!_0x488eb8)return _0x1b05ed<_0x1b18dc?-0x1:_0x1b05ed>_0x1b18dc?0x1:0x0;if(_0x17846e[_0x3708ed(0x3a4)]!==_0x488eb8[_0x3708ed(_0x89de4._0x565d80)])return _0x17846e[_0x3708ed(_0x89de4._0x565d80)]-_0x488eb8[_0x3708ed(0x3a4)];if(_0x17846e[_0x3708ed(_0x89de4._0x4ad1c4)]!==_0x488eb8['createdAt'])return _0x17846e[_0x3708ed(0x1ec)]-_0x488eb8['createdAt'];return _0x17846e[_0x3708ed(_0x89de4._0x2a242b)]<_0x488eb8[_0x3708ed(_0x89de4._0x575fe3)]?-0x1:_0x17846e['random']>_0x488eb8[_0x3708ed(_0x89de4._0x2a242b)]?0x1:0x0;}__name(compareQueueTicketNames,_0xe92bff(0x218));var TICKET_KINDS=[_0xe92bff(0x1c5),'collection',_0xe92bff(0x30a),_0xe92bff(0x20a)],PRODUCER_KINDS=[_0xe92bff(0x1d8),'viewer',_0xe92bff(0x2fd),_0xe92bff(0x240),'ci'];function parseQueueTicket(_0x43c0bc){const _0x35ab57={_0x268878:0x2f1,_0x21fb9d:0x183,_0x3afbf9:0x1d7,_0x45423a:0x1df,_0x3c6e9e:0x2dc,_0x1e3f0f:0x1d7,_0x4aa647:0x377,_0x5d30d9:0x377,_0xeb772f:0x2dc},_0x5cfbd4=_0xe92bff;if(!isRecord(_0x43c0bc))return null;const {schemaVersion:_0x2be95b,runId:_0x55da51,kind:_0x4d197a,ref:_0x1fcc04,test:_0x372448,env:_0x49e688,priority:_0x3806ee,weight:_0x10b17f,producer:_0x5ee82a,source:_0x549d5f,ci:_0x228f50,createdAt:_0x456efd}=_0x43c0bc;if(_0x2be95b!==QUEUE_SCHEMA_VERSION)return null;if(typeof _0x55da51!==_0x5cfbd4(0x2f1)||_0x55da51[_0x5cfbd4(0x258)]===0x0)return null;if(typeof _0x1fcc04!==_0x5cfbd4(_0x35ab57._0x268878))return null;if(!TICKET_KINDS['includes'](_0x4d197a))return null;if(!QUEUE_PRIORITIES[_0x5cfbd4(_0x35ab57._0x21fb9d)](_0x3806ee))return null;if(typeof _0x10b17f!==_0x5cfbd4(_0x35ab57._0x3afbf9)||!Number['isFinite'](_0x10b17f)||_0x10b17f<0x1)return null;if(typeof _0x456efd!==_0x5cfbd4(_0x35ab57._0x3afbf9)||!Number[_0x5cfbd4(0x2f3)](_0x456efd))return null;if(!isRecord(_0x5ee82a))return null;if(!PRODUCER_KINDS[_0x5cfbd4(0x183)](_0x5ee82a[_0x5cfbd4(_0x35ab57._0x45423a)]))return null;if(typeof _0x5ee82a[_0x5cfbd4(_0x35ab57._0x3c6e9e)]!==_0x5cfbd4(_0x35ab57._0x1e3f0f)||typeof _0x5ee82a[_0x5cfbd4(0x1b4)]!==_0x5cfbd4(0x2f1))return null;if(_0x49e688!==void 0x0&&typeof _0x49e688!=='string')return null;let _0x433bd2=null;if(_0x549d5f!==void 0x0){if(!isRecord(_0x549d5f)||typeof _0x549d5f[_0x5cfbd4(0x377)]!==_0x5cfbd4(0x2f1)||_0x549d5f[_0x5cfbd4(_0x35ab57._0x4aa647)][_0x5cfbd4(0x258)]===0x0)return null;_0x433bd2={'bundleId':_0x549d5f[_0x5cfbd4(_0x35ab57._0x5d30d9)]};}let _0x3aef56=null;if(_0x228f50!==void 0x0){_0x3aef56=parseTicketCi(_0x228f50);if(_0x3aef56===null)return null;}return{'schemaVersion':QUEUE_SCHEMA_VERSION,'runId':_0x55da51,'kind':_0x4d197a,'ref':_0x1fcc04,'priority':_0x3806ee,'weight':_0x10b17f,'producer':{'kind':_0x5ee82a['kind'],'pid':_0x5ee82a[_0x5cfbd4(_0x35ab57._0xeb772f)],'host':_0x5ee82a[_0x5cfbd4(0x1b4)]},'createdAt':_0x456efd,...typeof _0x372448==='string'&&_0x372448[_0x5cfbd4(0x258)]>0x0?{'test':_0x372448}:{},...typeof _0x49e688===_0x5cfbd4(0x2f1)?{'env':_0x49e688}:{},..._0x433bd2?{'source':_0x433bd2}:{},..._0x3aef56?{'ci':_0x3aef56}:{}};}__name(parseQueueTicket,_0xe92bff(0x1a5));function parseTicketCi(_0x5cef38){const _0x170d06={_0x232708:0x3bd,_0x15e749:0x226,_0x1935cf:0x2f1},_0x41b125=_0xe92bff;if(!isRecord(_0x5cef38))return null;const _0x13ec83=parseCiProvider(_0x5cef38[_0x41b125(_0x170d06._0x232708)]);if(_0x13ec83===null)return null;const {repo:_0x24dbb2,branch:_0xd6f7d,sha:_0x289ea7,pr:_0x239b54,checkId:_0x52d3f4}=_0x5cef38;for(const _0x32dd8d of[_0x24dbb2,_0xd6f7d,_0x289ea7,_0x52d3f4]){if(_0x32dd8d!==void 0x0&&typeof _0x32dd8d!==_0x41b125(0x2f1))return null;}if(_0x239b54!==void 0x0&&(typeof _0x239b54!=='number'||!Number[_0x41b125(_0x170d06._0x15e749)](_0x239b54)))return null;return{'provider':_0x13ec83,...typeof _0x24dbb2===_0x41b125(_0x170d06._0x1935cf)?{'repo':_0x24dbb2}:{},...typeof _0xd6f7d===_0x41b125(0x2f1)?{'branch':_0xd6f7d}:{},...typeof _0x289ea7===_0x41b125(_0x170d06._0x1935cf)?{'sha':_0x289ea7}:{},...typeof _0x239b54===_0x41b125(0x1d7)?{'pr':_0x239b54}:{},...typeof _0x52d3f4===_0x41b125(0x2f1)?{'checkId':_0x52d3f4}:{}};}__name(parseTicketCi,_0xe92bff(0x392));var BOX_NOTIFY_PATH='/api/box/notify';function boxNotifyProjectPath(_0x81b5c6){return BOX_NOTIFY_PATH+'/'+encodeURIComponent(_0x81b5c6);}__name(boxNotifyProjectPath,_0xe92bff(0x23c));function boxNotifyChannelPath(_0x37f7e0,_0x4030a5){const _0x43db88={_0x1d2e7e:0x31b},_0x106eb9=_0xe92bff;return boxNotifyProjectPath(_0x37f7e0)+_0x106eb9(_0x43db88._0x1d2e7e)+encodeURIComponent(_0x4030a5);}__name(boxNotifyChannelPath,_0xe92bff(0x252));function boxNotifyTestPath(_0x333612,_0x1a17f8){const _0x1f4b85=_0xe92bff;return boxNotifyChannelPath(_0x333612,_0x1a17f8)+_0x1f4b85(0x175);}__name(boxNotifyTestPath,'boxNotifyTestPath');function boxNotifyRulePath(_0x5bc6a8,_0xb783ce){const _0x34df12=_0xe92bff;return boxNotifyProjectPath(_0x5bc6a8)+_0x34df12(0x297)+encodeURIComponent(_0xb783ce);}__name(boxNotifyRulePath,'boxNotifyRulePath');function boxNotifyQuietHoursPath(_0xa56116){const _0x1b266c=_0xe92bff;return boxNotifyProjectPath(_0xa56116)+_0x1b266c(0x24b);}__name(boxNotifyQuietHoursPath,_0xe92bff(0x25e));function boxNotifySeriesPath(_0x3e0d4d){const _0x463587={_0x2c0c31:0x2c9},_0x8fb271=_0xe92bff;return boxNotifyProjectPath(_0x3e0d4d)+_0x8fb271(_0x463587._0x2c0c31);}__name(boxNotifySeriesPath,_0xe92bff(0x1bc));function boxNotifySeriesResetPath(_0x23b4d7,_0x4fd574){const _0x3162ae=_0xe92bff;return boxNotifySeriesPath(_0x23b4d7)+'/'+encodeURIComponent(_0x4fd574)+_0x3162ae(0x22d);}__name(boxNotifySeriesResetPath,_0xe92bff(0x246));function boxNotifyMutePath(_0x4966d0,_0x380625){const _0x25c2a0={_0x1418cb:0x3b7},_0x25a226=_0xe92bff;return boxNotifyProjectPath(_0x4966d0)+_0x25a226(_0x25c2a0._0x1418cb)+encodeURIComponent(_0x380625);}__name(boxNotifyMutePath,_0xe92bff(0x2f4));function boxNotifyPreviewPath(_0x25c591,_0x52c90b,_0x221d4c){const _0x4fe2ed={_0x10400c:0x199},_0x44cd9c=_0xe92bff;return boxNotifyProjectPath(_0x25c591)+_0x44cd9c(_0x4fe2ed._0x10400c)+encodeURIComponent(_0x52c90b)+_0x44cd9c(0x2c5)+_0x221d4c;}function _0x14b6(){const _0x241258=['yxv0Ag9YAw5N','ChvZAcbHmwiYyZnKicHTywLUkq','zxzLCNKG','r0vuic9IB3HLCY86BMfTzq','yM94rw52u2vJCMv0C1jLDMvHBfbHDgG','zMLUza','C2HH','zMfPBfn0CMvHAW','C3bSAxq','C2vJCMv0C0nVBNrLBNq','AxncB3HwywX1zxnfCNjVCKnVzgu','vu5pvevtvf9mt0DFtevwruW','AxnbC3nPz25Tzw50tgLUzq','CMfUzg9T','AxnbBM5VDgf0Aw9UtgLUzq','CgfKu3rHCNq','yxbWCM92ywXqCMLJzq','l2nOyw5UzwXZlW','CgXHBKfKzfzHCMLHyMXL','AxnrDwv1zurPCK5HBwu','DMfSDwu','CgfYC2vdAvj1BLjLCxvLC3q','D2vIAg9VA1vYBa','Bxv0zxm','Dw5RBM93BI1ZzwnYzxq','CgfYC2vwyxjPywjSzuDHChm','yMXVyNnsB290rM9Y','revmrvrfic9IB3HLCY86BMfTzq','yM94rw52u2vJCMv0uMv2zwfSugf0Aa','C29Tzq','CgfYC2vszxnLCNzLzfjLzNvZywXezxrHAwW','yMXVyLjLBfbHDgHgB3i','y2fJAgu','y2f0zwDVCML6zvzHCMLHyMXL','AwqTBwLZBwf0y2G','C2nOzw1HvMvYC2LVBG','vw5WBgfJzwfIBgvsDw5jzevYCM9Y','vu5pvevtvf9kvurhrv9bq0nfu1nFve9lru4','CgfYC2vfBNzdB250zw50','B3v0y29Tzq','CxvLDwveAxjgB3i','vu5pvevtvf9orvrxt1jl','zxzLCNKGnsbTAw4','yM94rw52vMfSDwvqyxrO','x2jSB2jZ','CMv2zwfS','C3DPDgnOvg8','C3rHDgu','AxntDgf0zq','CNvUlwLUlxbYB2DYzxnZ','ChjLCgfYzq','BwvYz2vty2HLzhvSzxm','CgLUBMvKlwvUDMLYB25Tzw50lwvTChr5','Bwv0Ag9K','zMLUAxnOzwq','vu5pvevtvf9svu5Fsuq','y2HHBM5LBhm','yw1VDw50','zxzLCNK','C3rYAw5NAwz5','Aw5JBhvKzwq','C2vSzwn0vgvZDhm','zNjVBuvUDhjPzxm','ue9tvcaVyM94zxm','ywz0zxjgywLSDxjLCW','C2HHCMrqyxrOrM9YvgLTzxn0yw1W','C2vUDa','vu5pvevtvf9erujvr19quKvwsuvxx0jzvevt','CMvWBgfJzwq','l2fWAs9IB3GVyNvUzgXLCW','A2v5','AxzHBG','DgLJA2v0CW','zw5HyMXLza','Axntzwn0Aw9UrgL2AwrLCG','C2fTCgXL','sw52ywXPzejSB2jiyxnOrxjYB3i','yxrnAw51DgvZ','C29YDa','C3rHCNrLzef0','ufiGiW','CxvPzxriB3vYCW','CNvU','r0vuic9HChbYB3zHBhm','CMvWBgfJzq','y29UzMLN','BwLUDxrLCW','vu5pvevtvf9kvurhrv9ts0Lqx1bsruzmsuDiva','l2fWAs9IB3GVy2KVCNvUCW','n2PVrhDvua','DgHYzwfKswq','Ec11BM90zxn0lwD1yxjKlxnLy3jLDa','CgfYC2vnDxrL','CNvUCW','Dw5RBM93BI1YDw4','yM94tM90Awz5uhjLDMLLD1rYAwDNzxi','vu5pvevtvf9kvurhrv9ut0TftG','yxbP','ue9tvcaVyM94zxmVoM5HBwuVCgLJA2vY','revmrvrfic9IB3HLCY86BMfTzs9WAwnRzxi','DxbKyxrLza','Dw5RBM93BI1TDxrL','lNvUB3rLC3q','D29YA2vYCW','AxnuCMLNz2vYs2LUza','zxHLyW','D2fPDgLUzW','AM9PBG','DMfSAwrHDgvdB2XSzwn0Aw9UtMfTzq','yNvUzgXLswq','Aw50zxjYDxb0zwq','ic0Ty29SBgvJDgLVBIa','zgvJBgfYzwrfBNzlzxLZ','igLZig5VDcbHigTUB3DUihj1BM5LCIbZzxr0Aw5NiokaLcbJAg9VC2uGB25LigzYB20GDgHLihj1BM5LCI1JB25MAwCGBgLZDc4','Bte1','vu5pvevtvf9gquLmvvjfu19st09u','uMvUDcbHigjVEcaI','yxnZAwDUBwvUDevUDhjPzxm','zw52s2v5CW','CgfYC2vcDw5KBgu','CgfYC2vrDwLLDeHVDxjZ','vu5pvevtvf9kvurhrv9wt1rf','vu5pvevtvf9ct1HFu0vduKvux05btuvt','zgvZy3jPyMvtCgvJ','Dw5RBM93BI1YDw5UzxiTA2v5','zMfPBhvYzxnsB290rNjVBq','AxnczwXVD01PBMLTDw0','zMLSDgvY','l2P1zgDL','zgvIDwDeAxjgB3i','C2nVCguTBwLZBwf0y2G','igLZigfSC28GC2v0igLUihvUB3rLC3qVlNnLy3jLDhmG4OcuihrOzsbZzwnYzxqGDMfSDwuGC2HHzg93CYb0AgLZig9Uzs4','lNj1BNm','C3bSAwnL','vhvYBIb0AguGugLJA2vYig9UigzVCIb0AguGywnJB3vUDa','yM90vg9Rzw4','CgfYC2vuAwnRzxrdAq','CMvNzxG','vu5pvevtvf8','C2vYAwvZ','vw5ZDxbWB3j0zwrsDw5lAw5KrxjYB3i','ue9tvcaVywnJB3vUDc9WAwnRzxiVywnJzxnZ','zhvWBgLJyxrL','DgfYz2v0','lNnUyxbZAg90CW','vu5pvevtvf9rvuvvrv9hte9cquXFreLs','v2vK','yw5UB3rHDgLVBNnjBG','zgf5CW','zgvSzxrLu2HHzg93v2fYBMLUzW','iokaLcbWAwnRigeGzgLMzMvYzw50ig5HBwuGB3iGzwrPDcb0AguGzxHPC3rPBMCGDMfSDwuU','ywjVCNrLza','lNzPzxDLCI5SB2nR','BM8GDgvZDcaI','CMfUAW','CgfK','r0vuic9YyxrLCW','CgfYC2vvBM1HChbLzfjLCg8','Dw5VDgvZDc8UC2vJCMv0CW','CNvUswrtDgfYDgvKqxq','zgfPBhK','AxnsDw5ZrgLYtMfTzq','CgfYC2vuzxn0qw5UB3rHDgLVBNm','revmrvrfic9Hy2nVDw50l3bPy2TLCG','nJLlCKfusMW','yxbWlxnLCNzLCJPYzwfKEq','CgfYC2vgB2XSB3C','CNvUBMvYici','CxvLDwvqCMLVCML0EvjHBMS','CgfZC2vK','vu5pvevtvf9huK9vtKrfuL9sru1pvevFvvjm','CgfYC2vhAxrjBMzV','BwfQB3i','l211DgvZlW','vu5pvevtvf9cuK9xu0vsx0niqu5oruW','Ec11BM90zxn0lwfJDg9YlxrPy2TLDa','DMfSDwvtDwzMAxG','y29TCgfYzvzLCNnPB25Z','igf0ia','ChjVDMLKzxi','revmrvrfic9Hy2nVDw50l3bPy2TLCI9Hy2nLC3m','icOGkIaQicO','vu5pvevtvf9tvevqx1nduKvftLnit1rt','CgLJA2vYlxnUyxbZAg90lNr4Da','CgfYC2vdAvj1BLn0yxr1C1jLC3bVBNnL','CgfYC2vmyxn0rgvSAxzLCNK','lcb3AxrOihrOzsbqAwnRzxi','l3rLC3q','vu5pvevtvf9ct1HFve9lru4','C2fUAxrPEMvsDw5jzfnLz21LBNq','A2v5CW','x2HLBhbLCNm','CMvHC29U','y3jVBKzYB21tCgvJ','BgfZDe5VDgLMAwvKqxq','zxHWAxjLza','lMPZB24','mtbgq0rQy3e','kg5VBMuP','r0vuic9IywXHBMnL','Dw5RBM93BI1LBNzPCM9UBwvUDa','Aw5JBhvKzxm','kI8Xnq','CNvUBMLUzW','C2HHCMrqyxrOrM9YuNvUswq','vhvL','vu5pvevtvf9kvurhrv9quKvbtujmrq','Dw5RBM93BI1YDwXL','D2vIAg9VAW','yxjL','uNvUBMvYqwrHChrLCK5VDezVDw5KrxjYB3i','yMXVyLjLBfnLz21LBNrZrM9Y','vu5pvevtvf9kvurhrv9dtefvrevFqKLo','BMfTzq','CgfYC2vcDw5KBgvnyw5PzMvZDa','y2fUBM90igXVywqGCNvUBMvYigfKyxb0zxiGiG','vvrd','CgfYC2vcDw5KBgvszw1VDMvszxnWB25Zzq','igLZigfSC28GC2v0igLUihLVDxiGC2HLBgWGzw52AxjVBM1LBNqG4OcuigL0ihDPBgWGA2vLCcbYzxnVBhzPBMCGzNjVBsb0AgvYzsaODgHLigvUDMLYB25Tzw50ihDPBNmGB3zLCIb0AguGzMLSzsKU','CxvLDwvK','CNvUBMvY','C2vJCMv0twfYAW','CNvUswqGy2fYCMLLCYbUBYb0Aw1LC3rHBxaSignHBM5VDcbWBgfJzsbPDcbPBIbHihnOyxjKoIa','l3bYzxzPzxC/CNvSzt0','vu5pvevtvf9svu5Fvfjjr0DfuG','CgfYC2voyw1LzfjLy29Yza','vu5pvevtvf9kvurhrv9usu1ft1vux01t','CgfYC2vrDwv1zvrPy2TLDe5HBwu','C3bSAxrmAw5LCW','CMvTB3zLza','BM90lxj1BG','zxHPC3rZ','yw1IAwD1B3vZlxbYB2PLy3q','vgHLigzPCNn0igHVDxiGAxmGy2HHCMDLzcb3AgvUihLVDsbHChbYB3zLlcb0AgvUigv2zxj5ihn0yxj0zwqGAg91CIb1BNrPBcb0AguGyM94igLZigrLBgv0zwqU','CgfYC2vcDw5KBgvvCgXVywrszxnWB25Zzq','CgfYC2vrDwv1zvrPy2TLDa','DwjYxW','DgvSzwDYyw0','zMXHDe1HCa','AxnuzxjTAw5HBfj1BNrPBwvtDgf0zq','CgfYC2vcB3HoB3rPzNLqCMv2Awv3','zMLUzeLUzgv4','AgfZ','yxbWCM92ywXdB25Zzxf1zw5Jzq','yM94vMfSDwvqyxrO','uNvUBMvYtM90q29UzMLNDxjLzevYCM9Y','CMvZzxj2zwrcB3HwywX1zu5HBwvZ','zxzLBNrZ','icOV','y2LsDw5mAw5LC1bHDgG','Ag9ZDa','zgvJB2rLu2vNBwvUDa','BwfSzM9YBwvK','x19WCM90B19F','ztjL','DgvZDhm','AxntDhjPBMDmAxn0','BM8Ty29SBgvJDgLVBNm','yM94tM90Awz5u2vYAwvZugf0Aa','DgvZDeXHyMvS','z2v0rgf5','CgfYC2vszwz1C2fSrgv0ywLS','CgfYC2vcB3HoB3rPzNLwAwv3','BM90zq','j3zPzxDWB3j0oICGBxvZDcbIzsbUDwXSicH0AguGCMvHBcbICM93C2vYihDPBMrVDYKGB3iGE3DPzhrOlcbOzwLNAhr9igLUihDOB2XLihbPEgvSCYWGzs5NlIb7D2LKDgG6ideYodaSigHLAwDODdOGnZiWFtSGz290ia','mJa0nte1mwjvr2zIsW','mtyYnZa2oez5v0jkqW','C2nLBMfYAw8','Bwf0y2G','C2XHy2S','C3rLChmUANnVBMW','lMvUDG','zM9YyMLKzgvU','C2v0twLUDxrLCW','C2nLBMfYAw9szwzgCM9TrMLSzu5HBwu','otKZodbJqND2v1a','C2TPChbLza','vu5pvevtvf9ot19rvuvvrq','Dg9mB3DLCKnHC2u','AxnsDw5UzxjdB25MAwDlzxK','C2nOzwr1BgvuyxjNzxq','AxnfEhrLCM5HBfzHCK5HBwu','DgvZDa','BwvZC2fNzq','BgLUzxm','BNvTyMvY','y2XP','DxjS','l2fWAs9IB3GVzw52CY8','ue9tvcaVyM94zxmVoM5HBwuVDxbKyxrL','y3jLyxrLza','vu5pvevtvf9qt1bvuf9huKfdrv9nuW','zMfPBgvK','A2LUza','iI4G','CgLJA2vYsw5JBhvKzwq','xsbYzxbLyxrZia','yNvUzgXLza','CMvJB3zLCMvK','CgfYC2u','zxHHBxbSzq','lMrLyNvN','C3rLCc1MywLSzwq','oti3mJCWm3PIsvrfCW','y29TBwfUzhmUANnVBMW','vw5RBM93BLrLC3rfCNjVCG','y3jLyxrLzef0','ChjVAMvJDhm','CgfYC2vcDw5KBgvuzxn0CW','zMLSzunVBw1LBNrmAw5LCW','Dw5VDgvZDa','CgfYC2vcB3HoB3rPzNLdAgfUz2vK','vu5pvevtvf9kvurhrv9nt0rfta','C2nLBMfYAw9jBMrLEezPBgvoyw1L','CMvWBgfJzuvUDLzHCG','vu5pvevtvf9cuK9xu0vs','DgvZDerPCKzVCG','y29SBgvJDgLVBG','Dg9Rzw5mywjLBa','CgfYC2vbChbtzxj2zxjfDMvUDa','CgfYC2vcB3HtzwnYzxrszxzLywXszxnWB25Zzq','vgH1','Dw5HDxrOB3jPEMvK','Dw5RBM93BI10yxjNzxq','zgvMAw5LuhjVCgvYDhK','lY5Kzwj1z2DLCG','Dw5RBM93BG','mJiXwLHmChbW','refuqujbu0vFvvjm','Aw5ZDgfSBezPzwXK','Aw5JBhvKzwqGAw4GDgHLigjVEcbWCMLJzsbMB3iGBM93','BxvZDcbUB3qGyMuGiI4Iig9YiciUlIi','lM11Dgv4','Dw5RBM93BI1WCM9Qzwn0','CMv2B2nHDgLVBI1SAxn0lxvUyxzHAwXHyMXL','C291CMnL','BwfPBNrLBMfUy2u','Aw5KzxHpzG','vu5pvevtvf9svu5Fqunut1i','DhjPBq','CNvUDgLTzs5QC29U','CMvZzxj2zwrvBMrLCNnJB3jL','u3vU','DMfSAwrHDgvtzwDTzw50tMfTzq','Dw5JAgfUz2vK','yxj0AwzHy3rZuM9VDezYB20','yM94tMfTzq','y2HHBM5LBa','AgvHzgvYCW','ls10zxn0ig5LzwrZigeGDgvZDcbUyw1LlIbuzxn0CYbPBIa','y29TCgfYzvf1zxvLvgLJA2v0tMfTzxm','CgfYC2vcB3HszwfKsw5ZDgfSBa','Bw92zwq','vu5pvevtvf9rvuvvrv9mruftrq','iYaTls0G','C2HHCMreyxLZrgvZy2vUzgLUzW','yxbW','CgfYC2vszxbSywnLuMvXDwvZDa','vu5pvevtvf9iruferuq','vu5pvevtvf9kvurhrv9dquXmx1rjtuvpvvrFtvm','vu5pvevtvf9kvurhrv9mt0DFtevwruW','DMfSDwvZ','r0vuic9HChbYB3zHBhmVoMLK','AxnfBNzwyxjoyw1L','AxnjBNrLz2vY','DgL0Bgu','CgfYC2vcB3HsDw5szxf1zxn0','CgfYC2vcB3HoB3rPzNLfCNjVCG','z2L0BgfI','yM94vMfSDwvZugf0Aa','rNjP','l3jLC2v0','l2fWAs9IB3GVy2KVCNvU','zMLSzq','lNzPzxDLCI5SB2C','ihnLDcbIEsb0AguGyM94ig9Uigv2zxj5ihj1BIWGBM90igj5igfUigvUDMLYB25Tzw50j3mGDMfSDwvZ','AgvHCNrIzwf0','BM90lwzVDw5K','D2vLA2X5','Bgf5zxjZrM9Y','l2XPBMvZ','DgvZDeLUzgv4rMLSzu5HBwu','rgvSzxrLihrOzsbIB3GGiG','vu5pvevtvf9dqunirv9esvi','Ag91CMX5','y2fUB25Py2fSu2nOzwr1Bgvtzxq','yM94tM90Awz5uhjVAMvJDfbHDgG','yM9VBgvHBG','Dg9TB3jYB3CG','vu5pvevtvf9dt05tt0Xf','C2nOzwr1Bgu','Dw5VyL8','tw9U','CgfYC2vtDhjPBMDszwnVCMq','CMvXDwLYzvj1BKrPCKzVCG','vu5pvevtvf9ct1HFuKvbrf9ut0TftG','yM94tM90Awz5u2vYAwvZuMvZzxrqyxrO','CNvUswq','Aw50zxjHy3rPDMu','CgfYC2vdAvj1BLjLC3bVBNnL','icOGkIaQ','l3f1Awv0lwHVDxjZ','Dw5VDgvZDc8Uzw52','DMfYAwfIBgvZ','yxbWlxnLCNzLCJPLCNjVCG','ue9tvcaVzgv2AwnLl2nVzgu','CgfYC2vcDw5KBgvszw1VDMvszxf1zxn0','AxnfDMvUDa','yM94tM90Awz5q2HHBM5LBfbHDgG','C2nLBMfYAw8TzMLUAxnOzwq','y3vYCMvUDa','C2XPy2u','CNvUu3rHDhvZt2y','vu5pvevtvf9erujvr19nqvHFqLLurvm','BgvUz3rO','C3rHDhvZ','C2TPCfjLyxnVBG','CgfYC2vcB3HszwfKrxjYB3i','ywrK','C3DPDgnOAw5N','yM94tM90Awz5uxvPzxriB3vYC1bHDgG','AxngywLSAw5Nu3rHDhvZ','yM94tM90Awz5uhjLDMLLD1bHDgG','CgfYC2vcB3HwywX1zxnnzxjNzvjLCxvLC3q','AxnbCNjHEq','C2v0','CgfYC2vcB3HwywX1zxnszxbSywnLuMvXDwvZDa','zw5KC1DPDgG','zw52','CNvUvhjPz2DLCKzYB21fBNy','zxzLCNKGmtuGBwLU','u3vYy2HHCMDL','C3rHCNrpzKrHEq','CgfYC2vcB3HoB3rPzNLtzxjPzxnwAwv3','DhjPz2DLCNm','zxjYB3i','vu5pvevtvf9erujvr19lruvqx0nbteXt','yNjHBMnO','DgvYBwLUywW','Bg93zxn0vMvYC2LVBK9M','C2nOzwr1BgvZwW','Ec11BM90zxn0lwvUDMLYB25Tzw50','C291CMnLCY5QC29U','BwfZA1nLy3jLDfzHBhvLCW','iIbKB2vZig5VDcbZDxbWB3j0ihj1BIbRAw5Kici','vu5pvevtvf9mt0nbteu','lMPZB25S','vu5pvevtvf9erujvrW','ChjVAMvJDfj1BNnsB290','DMfYAwfIBgvhyxbZ','ig5LzwrZigeGBMfTzq','mLnQtxHnCa','BwfW','C3rHCNrZv2L0Aa','C2vJCMv0CW','zgfPBhKGyxqG','x3nJzw5HCMLVCW','nduZodC5mNvtwMDwwq','AdeY','u2f0','CNvUswrLBNrPDhLszwz1C2fS','vu5pvevtvf9usu1fwK9orq','A2vWDa','yMXVyIbOyxnOig11C3qGyMuGBg93zxjJyxnLigHLEcWGz290oIa','z2L0AhvI','Axnuzxn0tMfTzq','vu5pvevtvf9ftLy','iIdIGjqGB25LihnJAgvKDwXLihbLCIb0yxjNzxq','DgvTCgXHDgu','mZG4otiYDe9Xt2fS','ChvZAa','nLPTy1DbuG','CgfYC2vcB3HsDw5tDgf0Dxm','uNvUBMvY','ChjVAMvJDa','z2v0vgLTzq','CgfYC2vdAvj1BKXPBMvZuMvZCg9UC2u','l3j1BgvZlW','C3rPBgWTzMfPBgLUzW','Ag91CNm','zw52tMfTzxngCM9TrgLYtgLZDgLUzW','CgfYC2vwywX1zu5HBwvZ','CNvUlwLKzw50Axr5','C2nOzwr1BgvZ','CNvUvhjPz2DLCKvUDG','lNf1zxvL','mtmZmJi2nvLNsLvQBq','C2vJCMv0','C2LUy2u','zgvZy3jPyMvuAwnRzxrdAq','Dw5RBM93BI1IDw5KBgu','C3rVCMfNzq','zw52AxjVBM1LBNrZ','Dg9tDhjPBMC','ywn0AxzLrw52tMfTzq','zMfPBhvYzxm','C2nVCgu','BNb4ieb1BM90zxn0l3DLyIbIDw5KBguGChvZAcaTlxj1BIaTlwvUDIa','Dg90ywW','CgfYC2vvBMTUB3DUrw52AxjVBM1LBNrezxrHAwW','yxbWlxnLCNzLCJPYzxvZzwq','CgfYC2vbBgW','vu5pvevtvf9freLut1jFvfLqrvm','zNjLCq','zMXVB3i','vu5pvevtvf9tte9xx01p','vhvYBIb0AguGugLJA2vYig9UigzVCIb0AguGyM94ici','vu5pvevtvf9erujvr19ive1mx01bwf9cwvrfuW','CgfYC2vtzwnYzxq','DMfYAwfIBgu','lIbjDhmGDgvZDhm6ia','BxvZDcbUB3qGC3rHCNqGD2L0AcaNxYCGkhjLC2vYDMvKkq','zhvYyxrPB25nCW','zM9SzfnJzw5HCMLVuNvU','CgfYC2vxB3jRC3bHy2vgAwXL','kI81','icH3AxaP','CgfYC2vcB3HoB3rPzNLqCM9Qzwn0vMLLDW','Aw52ywXPzc1Uyw1L','yMXVyLbHDgHgB3i','BwLUB3i','icOGkIa','CgfYC2vcB3HoB3rPzNLuzxn0uMvZDwX0','jNn0yxrLpq','D2L0Ag91Dfj1BKLKzw50Axr5','y2fJAgvK','C2vYAwfSAxPLrw52vMfSDwu','l3nLCMLLCW','BwfUDwfS','zMfPBgLUz1nPBMnL','CgfYC2vcB3HsDw5by2nLChrLza','vu5pvevtvf9kvurhrv9nt0rf','xsbPCYbUB3qGysb2ywXPzcbLBNrYEsdIGjqGAxqGBMvLzhmGzxHHy3rSEsbVBMuGB2yGygnVBgXLy3rPB246ycaVigbZy2vUyxjPBZPGihbSDxmGysbGy3jVBJPGihn0CMLUzW','DgvZDf8','zxHHBxbSzxm','y2HHDeLK','l2fWAs9IB3GVDMfSDwvZ','vu5pvevtvf9kvurhrv9qt1ju','zw5JB2rLtMfTzuXPC3q','zNjLzxPL','Bxv0zq','CgfYC2vizwfKzxjgBgfNCW','CgfYC2vsDwXL','zMfPBhvYzxnsB290vw5Kzxi','C3bLy0zYB21dCM9U','BM93','CgLK','CMvJzw50','z2v0twLUDxrLCW','CMvWzwf0rxzLCNK','CgfYC2vty2HLzhvSzxnkC29U','AxnszxnLCNzLzejVEfzHBhvLtMfTzq','ChjVAMvJDfj1BKrPCKzVCG','CgfYC2vcB3HfBNzwywX1zxnszxbSywnLuMvXDwvZDa','yM94lwnYzwf0zq','yM94rw52vMfSDwvZugf0Aa','yNvUzgXLlMPZB24','AxnsDw5jza','vu5pvevtvf9kvurhrv9quK9wsurfuG','vgHLihn1CMnOyxjNzsbZDgfYDhmGD2L0Acb0AguGyM94j3mGBMv4DcbOB3vYigfUzcbYDw5ZihvUDgLSihrOzsbqAwnRzxiGAxmGDhvYBMvKig9MzI4Gsw50zw50igXVy2f0B3jZigfUzcbNCM91BMrFzwXLBwvUDcbZDgfYDcbYzxnVBhzPBMCGDgHYB3vNAcb0AguGugLJA2vYlG','zw50CMLLCW','y3jVBG','Dw50AwW','r0vuic9IB3HLCY86BMfTzs9SB2DZ','C3rKzxjYlMXVzW','CgLJA2vYlw9U','qxbW','C3rYAw5N','CgLJA2vY','AxngAw5PDgu','yM94tM90Awz5txv0zvbHDgG','CgfYC2vlzwvWuMvJB3jK','CgfYC2vty2HLzhvSzxneB2m','y29TCgXLDgvK','BwLUlxzLCNnPB24','CxvLDwvqCMLVCML0EuzYB21syw5R','CMvTB3zLrw52vMfY','CMvWBW','kI8XnsaQicOGkIaQ','BwnW','BwL4zwq','AxntDhjPBMDbCNjHEq','4Oc5C2vJCMv0oG','AxnsDw5Uzxjtzxr0Aw5N','qvbqx0jbu0vFvvjm','CgfYC2vdB2XSzwn0Aw9UvMLLD3bVCNq','CgfYC2vcB3HszwfKrw52AxjVBM1LBNrZ','Dg9VlwXHCMDL','C3bLyW','l19NDwfYzc9HCgKVzw52CW','Aw4TDxnL','AxnbC3nPz25Tzw50t2y'];_0x14b6=function(){return _0x241258;};return _0x14b6();}__name(boxNotifyPreviewPath,_0xe92bff(0x260));var BOX_NOTIFY_CHANNEL_KINDS=['slack',_0xe92bff(0x1a7),_0xe92bff(0x18a)],BOX_NOTIFY_TRIGGER_KINDS=[_0xe92bff(0x240),'ci',_0xe92bff(0x2ca),_0xe92bff(0x1d8)],BOX_NOTIFY_EVENTS=[_0xe92bff(0x1de),_0xe92bff(0x1e4),_0xe92bff(0x1a0),_0xe92bff(0x3b3)],BOX_NOTIFY_STATES=['failed','recovered',_0xe92bff(0x298),_0xe92bff(0x1a0),'passed'],ERROR_CODES=[_0xe92bff(0x1fc),_0xe92bff(0x207),'unknown-channel',_0xe92bff(0x189),_0xe92bff(0x36f),'unknown-series','malformed',_0xe92bff(0x2a5)];function parseBoxNotifyView(_0x1e5fcc){const _0x2e35c7={_0x35bd46:0x1ed,_0xad5a79:0x1ed,_0x3efaf3:0x27e},_0x559ce9=_0xe92bff;if(!isRecord(_0x1e5fcc)||!Array[_0x559ce9(0x262)](_0x1e5fcc[_0x559ce9(_0x2e35c7._0x35bd46)]))return null;const _0x410aac=_0x1e5fcc[_0x559ce9(_0x2e35c7._0xad5a79)][_0x559ce9(_0x2e35c7._0x3efaf3)](parseBoxNotifyProjectView);return _0x410aac[_0x559ce9(0x344)](_0x144e53=>_0x144e53!==null)?{'projects':_0x410aac}:null;}__name(parseBoxNotifyView,_0xe92bff(0x1c0));function parseBoxNotifyProjectView(_0x4c7387){const _0x43b3bc={_0x4baed4:0x342,_0x573cb6:0x35b},_0x5c4a59=_0xe92bff;if(!isRecord(_0x4c7387)||typeof _0x4c7387['project']!==_0x5c4a59(0x2f1))return null;const _0xbb172e=parseAll(_0x4c7387[_0x5c4a59(_0x43b3bc._0x4baed4)],parseChannel),_0x10f2fc=parseAll(_0x4c7387['rules'],parseRule),_0x44db76=parseAll(_0x4c7387[_0x5c4a59(0x321)],parseMute);if(_0xbb172e===null||_0x10f2fc===null||_0x44db76===null)return null;const _0x5b3187=_0x4c7387[_0x5c4a59(0x35b)]===void 0x0?void 0x0:parseQuietHours(_0x4c7387[_0x5c4a59(_0x43b3bc._0x573cb6)]);if(_0x5b3187===null)return null;return{'project':_0x4c7387['project'],'channels':_0xbb172e,'rules':_0x10f2fc,'mutes':_0x44db76,..._0x5b3187!==void 0x0?{'quietHours':_0x5b3187}:{}};}__name(parseBoxNotifyProjectView,_0xe92bff(0x2bf));function parseBoxNotifySeriesView(_0x1b9149){const _0x766eb4={_0x4637d8:0x294},_0x208fff=_0xe92bff;if(!isRecord(_0x1b9149)||typeof _0x1b9149['project']!=='string')return null;const _0x7eb9c9=parseAll(_0x1b9149[_0x208fff(0x395)],parseSeriesEntry);return _0x7eb9c9===null?null:{'project':_0x1b9149[_0x208fff(_0x766eb4._0x4637d8)],'series':_0x7eb9c9};}__name(parseBoxNotifySeriesView,_0xe92bff(0x26b));function parseBoxNotifyPreview(_0x202721){const _0x3f4fef={_0x398004:0x339,_0x14097f:0x2f1,_0x38fec5:0x1d9,_0x2afc25:0x227},_0x3cfbfc=_0xe92bff;if(!isRecord(_0x202721)||!isState(_0x202721[_0x3cfbfc(_0x3f4fef._0x398004)])||typeof _0x202721['title']!==_0x3cfbfc(_0x3f4fef._0x14097f))return null;if(!isStringArray(_0x202721[_0x3cfbfc(0x1d6)]))return null;if(_0x202721[_0x3cfbfc(0x1d9)]!==void 0x0&&typeof _0x202721[_0x3cfbfc(_0x3f4fef._0x38fec5)]!=='string')return null;return{'state':_0x202721[_0x3cfbfc(0x339)],'title':_0x202721[_0x3cfbfc(_0x3f4fef._0x2afc25)],'lines':_0x202721['lines'],..._0x202721[_0x3cfbfc(0x1d9)]!==void 0x0?{'url':_0x202721[_0x3cfbfc(0x1d9)]}:{}};}__name(parseBoxNotifyPreview,_0xe92bff(0x1aa));function parseBoxNotifyTestResult(_0x4ad711){const _0x34d1ea={_0x46a600:0x215,_0x5a9f1c:0x2f1,_0x3483fd:0x259,_0x1834b3:0x34c,_0x903476:0x1c1,_0x567497:0x1de},_0x45d46e=_0xe92bff;if(!isRecord(_0x4ad711)||typeof _0x4ad711[_0x45d46e(_0x34d1ea._0x46a600)]!==_0x45d46e(_0x34d1ea._0x5a9f1c))return null;if(_0x4ad711[_0x45d46e(_0x34d1ea._0x3483fd)]==='sent'){if(_0x4ad711[_0x45d46e(0x1c1)]!==void 0x0&&typeof _0x4ad711[_0x45d46e(0x1c1)]!==_0x45d46e(0x2f1))return null;return{'status':_0x45d46e(_0x34d1ea._0x1834b3),'channel':_0x4ad711[_0x45d46e(0x215)],..._0x4ad711[_0x45d46e(0x1c1)]!==void 0x0?{'note':_0x4ad711[_0x45d46e(_0x34d1ea._0x903476)]}:{}};}if(_0x4ad711['status']===_0x45d46e(_0x34d1ea._0x567497)&&typeof _0x4ad711['message']===_0x45d46e(0x2f1))return{'status':'failed','channel':_0x4ad711[_0x45d46e(0x215)],'message':_0x4ad711[_0x45d46e(0x1d5)]};return null;}__name(parseBoxNotifyTestResult,_0xe92bff(0x2c4));function parseBoxNotifyChanged(_0x4dec73){const _0x5991d0={_0x5da8e6:0x19f},_0x2ad542=_0xe92bff;if(!isRecord(_0x4dec73)||typeof _0x4dec73['id']!=='string')return null;const {status:_0x55ff30}=_0x4dec73;if(_0x55ff30!==_0x2ad542(0x1dc)&&_0x55ff30!==_0x2ad542(0x36e)&&_0x55ff30!==_0x2ad542(_0x5991d0._0x5da8e6))return null;return{'status':_0x55ff30,'id':_0x4dec73['id']};}__name(parseBoxNotifyChanged,_0xe92bff(0x1f1));function parseBoxNotifyError(_0x44457f){const _0x1f9f0f=_0xe92bff;if(!isRecord(_0x44457f)||!isRecord(_0x44457f[_0x1f9f0f(0x26d)]))return null;const {code:_0x5d1d73,message:_0x5587af}=_0x44457f[_0x1f9f0f(0x26d)];if(!ERROR_CODES[_0x1f9f0f(0x183)](_0x5d1d73)||typeof _0x5587af!=='string')return null;return{'error':{'code':_0x5d1d73,'message':_0x5587af}};}__name(parseBoxNotifyError,_0xe92bff(0x229));function isBoxNotifyState(_0x3a67c1){return isState(_0x3a67c1);}__name(isBoxNotifyState,'isBoxNotifyState');function boxNotifyPreviewTrigger(_0x1c913a){const _0x4dbb08=_0xe92bff;switch(_0x1c913a){case _0x4dbb08(0x240):return{'kind':_0x1c913a};case'ci':return{'kind':_0x1c913a,'by':_0x4dbb08(0x30b)};case _0x4dbb08(0x2ca):return{'kind':_0x1c913a,'by':_0x4dbb08(0x351)};case _0x4dbb08(0x1d8):return{'kind':_0x1c913a};}}__name(boxNotifyPreviewTrigger,_0xe92bff(0x369));function parseAll(_0x2dd7e9,_0x38476c){const _0x18cc59={_0x5b6b5c:0x262},_0x47b325=_0xe92bff;if(!Array[_0x47b325(_0x18cc59._0x5b6b5c)](_0x2dd7e9))return null;const _0x80985c=[];for(const _0x253e87 of _0x2dd7e9){const _0x47a6e1=_0x38476c(_0x253e87);if(_0x47a6e1===null)return null;_0x80985c[_0x47b325(0x290)](_0x47a6e1);}return _0x80985c;}__name(parseAll,_0xe92bff(0x2af));function parseSecret(_0x5915b4){const _0x5df1e3=_0xe92bff;return isRecord(_0x5915b4)&&typeof _0x5915b4['set']===_0x5df1e3(0x23d)?{'set':_0x5915b4[_0x5df1e3(0x263)]}:null;}__name(parseSecret,_0xe92bff(0x2b6));function parseLastDelivery(_0x347e61){const _0x2a86f8={_0x1226f7:0x331,_0x2f399a:0x1de,_0x5d1f02:0x26d},_0x564c7b=_0xe92bff;if(!isRecord(_0x347e61)||typeof _0x347e61['at']!=='number')return null;if(_0x347e61[_0x564c7b(_0x2a86f8._0x1226f7)]!==_0x564c7b(0x34c)&&_0x347e61[_0x564c7b(0x331)]!==_0x564c7b(_0x2a86f8._0x2f399a))return null;if(_0x347e61[_0x564c7b(0x26d)]!==void 0x0&&typeof _0x347e61['error']!=='string')return null;return{'at':_0x347e61['at'],'outcome':_0x347e61[_0x564c7b(0x331)],..._0x347e61[_0x564c7b(_0x2a86f8._0x5d1f02)]!==void 0x0?{'error':_0x347e61['error']}:{}};}__name(parseLastDelivery,_0xe92bff(0x3c3));function parseChannel(_0x40e460){const _0x28a15a={_0x2e771e:0x320,_0x7e6f63:0x1a7,_0x8c13c3:0x2a1,_0x2b5a01:0x2f1},_0x1edd41=_0xe92bff;if(!isRecord(_0x40e460))return null;const {id:_0x8d83ac,name:_0x1cc672,enabled:_0x2d1689,kind:_0x1f6cdc}=_0x40e460;if(typeof _0x8d83ac!==_0x1edd41(0x2f1)||typeof _0x1cc672!==_0x1edd41(0x2f1)||typeof _0x2d1689!=='boolean')return null;const _0x78e486=_0x40e460['lastDelivery']===void 0x0?void 0x0:parseLastDelivery(_0x40e460['lastDelivery']);if(_0x78e486===null)return null;const _0x351f36={'id':_0x8d83ac,'name':_0x1cc672,'enabled':_0x2d1689,..._0x78e486!==void 0x0?{'lastDelivery':_0x78e486}:{}};switch(_0x1f6cdc){case _0x1edd41(0x1c7):{const _0x33f157=parseSecret(_0x40e460[_0x1edd41(_0x28a15a._0x2e771e)]);return _0x33f157===null?null:{..._0x351f36,'kind':_0x1f6cdc,'webhookUrl':_0x33f157};}case _0x1edd41(_0x28a15a._0x7e6f63):{const _0x1f0e5b=parseSecret(_0x40e460[_0x1edd41(0x391)]);if(_0x1f0e5b===null||typeof _0x40e460[_0x1edd41(0x2d1)]!==_0x1edd41(0x2f1))return null;if(_0x40e460['threadId']!==void 0x0&&typeof _0x40e460[_0x1edd41(0x364)]!==_0x1edd41(0x2f1))return null;return{..._0x351f36,'kind':_0x1f6cdc,'botToken':_0x1f0e5b,'chatId':_0x40e460['chatId'],..._0x40e460[_0x1edd41(0x364)]!==void 0x0?{'threadId':_0x40e460['threadId']}:{}};}case _0x1edd41(0x18a):{const _0x15643e=parseSecret(_0x40e460[_0x1edd41(_0x28a15a._0x8c13c3)]);if(_0x15643e===null||typeof _0x40e460[_0x1edd41(0x1d9)]!==_0x1edd41(_0x28a15a._0x2b5a01))return null;const _0x1f5c8b=_0x40e460[_0x1edd41(0x216)]===void 0x0?void 0x0:parseHeaderFlags(_0x40e460['headers']);if(_0x1f5c8b===null)return null;return{..._0x351f36,'kind':_0x1f6cdc,'url':_0x40e460[_0x1edd41(0x1d9)],'secret':_0x15643e,..._0x1f5c8b!==void 0x0?{'headers':_0x1f5c8b}:{}};}default:return null;}}__name(parseChannel,'parseChannel');function parseHeaderFlags(_0x5a8968){const _0x182495={_0x46ed9f:0x2ea},_0x392d63=_0xe92bff;if(!isRecord(_0x5a8968))return null;const _0x24b18f={};for(const [_0x4c54de,_0x40d8a9]of Object[_0x392d63(_0x182495._0x46ed9f)](_0x5a8968)){const _0x3b2fc5=parseSecret(_0x40d8a9);if(_0x3b2fc5===null)return null;_0x24b18f[_0x4c54de]=_0x3b2fc5;}return _0x24b18f;}__name(parseHeaderFlags,_0xe92bff(0x2d7));function parseRule(_0x2f5909){const _0x115edd={_0x36498d:0x23d,_0x9dc3fe:0x18f,_0x1a0b89:0x342,_0x3a9b42:0x1d7,_0x40d42f:0x2df,_0x3ddbef:0x18f,_0x51201e:0x18f,_0x5c16b9:0x2a6,_0x3f28db:0x2a6,_0x2665d6:0x34a,_0x3e8139:0x2df},_0x568a9e=_0xe92bff;if(!isRecord(_0x2f5909)||typeof _0x2f5909['id']!=='string'||typeof _0x2f5909['enabled']!==_0x568a9e(_0x115edd._0x36498d))return null;if(_0x2f5909[_0x568a9e(_0x115edd._0x9dc3fe)]!==void 0x0&&typeof _0x2f5909[_0x568a9e(_0x115edd._0x9dc3fe)]!=='string')return null;if(_0x2f5909[_0x568a9e(0x2a6)]!==void 0x0&&!isStringArray(_0x2f5909[_0x568a9e(0x2a6)]))return null;if(!isStringArray(_0x2f5909[_0x568a9e(0x26c)])||!_0x2f5909[_0x568a9e(0x26c)][_0x568a9e(0x344)](isTriggerKind))return null;if(!isStringArray(_0x2f5909[_0x568a9e(0x1b1)])||!_0x2f5909[_0x568a9e(0x1b1)][_0x568a9e(0x344)](isEvent))return null;if(!isStringArray(_0x2f5909[_0x568a9e(_0x115edd._0x1a0b89)])||typeof _0x2f5909['afterFailures']!==_0x568a9e(_0x115edd._0x3a9b42))return null;if(_0x2f5909[_0x568a9e(_0x115edd._0x40d42f)]!==void 0x0&&typeof _0x2f5909['repeatEvery']!==_0x568a9e(0x1d7))return null;return{'id':_0x2f5909['id'],..._0x2f5909[_0x568a9e(_0x115edd._0x3ddbef)]!==void 0x0?{'name':_0x2f5909[_0x568a9e(_0x115edd._0x51201e)]}:{},'enabled':_0x2f5909[_0x568a9e(0x353)],..._0x2f5909[_0x568a9e(_0x115edd._0x5c16b9)]!==void 0x0?{'environments':_0x2f5909[_0x568a9e(_0x115edd._0x3f28db)]}:{},'triggers':_0x2f5909['triggers'],'events':_0x2f5909['events'],'channels':_0x2f5909[_0x568a9e(0x342)],'afterFailures':_0x2f5909[_0x568a9e(_0x115edd._0x2665d6)],..._0x2f5909[_0x568a9e(_0x115edd._0x3e8139)]!==void 0x0?{'repeatEvery':_0x2f5909[_0x568a9e(0x2df)]}:{}};}__name(parseRule,_0xe92bff(0x2d8));function parseBoxNotifyMuteScope(_0x2aefd0){const _0x22b781={_0x25ad5f:0x294,_0x4772a8:0x2f1,_0x4c97ad:0x395},_0x3ee7f3=_0xe92bff;if(!isRecord(_0x2aefd0))return null;if(_0x2aefd0[_0x3ee7f3(_0x22b781._0x25ad5f)]===!![])return{'project':!![]};if(typeof _0x2aefd0[_0x3ee7f3(0x395)]===_0x3ee7f3(_0x22b781._0x4772a8)&&_0x2aefd0[_0x3ee7f3(0x395)][_0x3ee7f3(0x258)]>0x0)return{'series':_0x2aefd0[_0x3ee7f3(_0x22b781._0x4c97ad)]};return null;}__name(parseBoxNotifyMuteScope,'parseBoxNotifyMuteScope');function parseMute(_0x58fc19){const _0x215a30={_0x2eb7c7:0x17a,_0x5a0d24:0x17a,_0x283f71:0x17a,_0x3d970e:0x17a},_0x149c6b=_0xe92bff;if(!isRecord(_0x58fc19)||typeof _0x58fc19['id']!==_0x149c6b(0x2f1)||typeof _0x58fc19['by']!==_0x149c6b(0x2f1))return null;const _0x145f80=parseBoxNotifyMuteScope(_0x58fc19[_0x149c6b(0x2aa)]);if(_0x145f80===null||typeof _0x58fc19['at']!==_0x149c6b(0x1d7))return null;if(_0x58fc19['until']!==void 0x0&&typeof _0x58fc19[_0x149c6b(0x2ec)]!==_0x149c6b(0x1d7))return null;if(_0x58fc19[_0x149c6b(_0x215a30._0x2eb7c7)]!==void 0x0&&typeof _0x58fc19[_0x149c6b(_0x215a30._0x5a0d24)]!=='string')return null;return{'id':_0x58fc19['id'],'scope':_0x145f80,..._0x58fc19['until']!==void 0x0?{'until':_0x58fc19[_0x149c6b(0x2ec)]}:{},'by':_0x58fc19['by'],..._0x58fc19[_0x149c6b(_0x215a30._0x283f71)]!==void 0x0?{'reason':_0x58fc19[_0x149c6b(_0x215a30._0x3d970e)]}:{},'at':_0x58fc19['at']};}__name(parseMute,_0xe92bff(0x366));function parseQuietHours(_0x2218ac){const _0x326c87={_0x38132e:0x2f1},_0x2813ed=_0xe92bff;if(!isRecord(_0x2218ac))return null;const {from:_0x9a8e03,to:_0x11f7ed,tz:_0x30c731}=_0x2218ac;if(typeof _0x9a8e03!==_0x2813ed(0x2f1)||typeof _0x11f7ed!==_0x2813ed(_0x326c87._0x38132e)||typeof _0x30c731!==_0x2813ed(0x2f1))return null;return{'from':_0x9a8e03,'to':_0x11f7ed,'tz':_0x30c731};}__name(parseQuietHours,_0xe92bff(0x382));function parseSeriesEntry(_0x28cd16){const _0xcc57a1={_0x5d3874:0x350,_0x35caa1:0x2f1,_0x3acac9:0x2f1,_0x4b6988:0x399,_0x314c85:0x18f,_0x2e122f:0x399,_0x158fef:0x1df,_0x4314e5:0x1d7,_0x2b539f:0x1d7,_0x9c7443:0x17c,_0x5b47da:0x17c,_0x5a18b6:0x2d6,_0x2bef88:0x2a2,_0x30d1d8:0x2a9,_0xe5ce42:0x17c},_0x3e97a5=_0xe92bff;if(!isRecord(_0x28cd16)||typeof _0x28cd16[_0x3e97a5(_0xcc57a1._0x5d3874)]!==_0x3e97a5(_0xcc57a1._0x35caa1)||typeof _0x28cd16['environment']!==_0x3e97a5(_0xcc57a1._0x3acac9))return null;if(!isRecord(_0x28cd16['target'])||typeof _0x28cd16[_0x3e97a5(_0xcc57a1._0x4b6988)][_0x3e97a5(_0xcc57a1._0x314c85)]!==_0x3e97a5(0x2f1))return null;if(_0x28cd16[_0x3e97a5(_0xcc57a1._0x2e122f)][_0x3e97a5(0x1df)]!==_0x3e97a5(0x1f7)&&_0x28cd16[_0x3e97a5(0x399)][_0x3e97a5(_0xcc57a1._0x158fef)]!=='scenario')return null;if(_0x28cd16['state']!=='ok'&&_0x28cd16[_0x3e97a5(0x339)]!=='failed')return null;if(typeof _0x28cd16[_0x3e97a5(0x17a)]!=='string'||typeof _0x28cd16[_0x3e97a5(0x2a2)]!==_0x3e97a5(_0xcc57a1._0x4314e5)||typeof _0x28cd16['failures']!==_0x3e97a5(_0xcc57a1._0x2b539f))return null;if(_0x28cd16[_0x3e97a5(_0xcc57a1._0x9c7443)]!==void 0x0&&typeof _0x28cd16[_0x3e97a5(_0xcc57a1._0x5b47da)]!==_0x3e97a5(_0xcc57a1._0x2b539f))return null;const _0x40f335=_0x28cd16[_0x3e97a5(_0xcc57a1._0x5a18b6)]===void 0x0?void 0x0:parseMute(_0x28cd16[_0x3e97a5(0x2d6)]);if(_0x40f335===null)return null;return{'key':_0x28cd16['key'],'environment':_0x28cd16['environment'],'target':{'kind':_0x28cd16[_0x3e97a5(0x399)]['kind'],'name':_0x28cd16[_0x3e97a5(0x399)][_0x3e97a5(0x18f)]},'state':_0x28cd16[_0x3e97a5(0x339)],'reason':_0x28cd16[_0x3e97a5(0x17a)],'since':_0x28cd16[_0x3e97a5(_0xcc57a1._0x2bef88)],'failures':_0x28cd16[_0x3e97a5(_0xcc57a1._0x30d1d8)],..._0x28cd16[_0x3e97a5(0x17c)]!==void 0x0?{'lastNotifiedAt':_0x28cd16[_0x3e97a5(_0xcc57a1._0xe5ce42)]}:{},..._0x40f335!==void 0x0?{'mute':_0x40f335}:{}};}__name(parseSeriesEntry,'parseSeriesEntry');function isStringArray(_0x97a931){const _0x4415be={_0x246c90:0x262},_0x176625=_0xe92bff;return Array[_0x176625(_0x4415be._0x246c90)](_0x97a931)&&_0x97a931['every'](_0x2ee62d=>typeof _0x2ee62d===_0x176625(0x2f1));}__name(isStringArray,_0xe92bff(0x2ff));function isTriggerKind(_0x3ffdcb){return BOX_NOTIFY_TRIGGER_KINDS['includes'](_0x3ffdcb);}__name(isTriggerKind,_0xe92bff(0x372));function isEvent(_0x4424e9){return BOX_NOTIFY_EVENTS['includes'](_0x4424e9);}__name(isEvent,_0xe92bff(0x251));function isState(_0x1fbb7b){const _0x1c305c={_0x3cd08b:0x183},_0x5737cd=_0xe92bff;return typeof _0x1fbb7b===_0x5737cd(0x2f1)&&BOX_NOTIFY_STATES[_0x5737cd(_0x1c305c._0x3cd08b)](_0x1fbb7b);}__name(isState,_0xe92bff(0x33a));var BOX_READ_TOKEN_ENV=_0xe92bff(0x245),BOX_READ_TOKEN_PREFIX=_0xe92bff(0x1a6),BOX_READ_ENVIRONMENT_HEADER=_0xe92bff(0x273),BOX_READ_ENVIRONMENTS_PATH=_0xe92bff(0x307);function installField(_0x4db158){const _0x4b1fb1=parseBoxReadInstall(_0x4db158);return _0x4b1fb1===null?{}:{'install':_0x4b1fb1};}__name(installField,_0xe92bff(0x203));function parseBoxReadInstall(_0x5e8da8){const _0x10372b={_0x2f65d0:0x32a,_0x2d6858:0x2fe,_0x42c809:0x200,_0x175e59:0x2c7,_0x14081e:0x2ac},_0x10c5a1=_0xe92bff;if(!isRecord(_0x5e8da8))return null;const {startedAt:_0x21e69f,durationMs:_0x521852,outcome:_0x551f1e,source:_0x110f46,packages:_0x6bdeba}=_0x5e8da8;if(typeof _0x21e69f!=='string'||typeof _0x521852!==_0x10c5a1(0x1d7))return null;if(_0x551f1e!=='installed'&&_0x551f1e!==_0x10c5a1(0x212)&&_0x551f1e!==_0x10c5a1(0x1de))return null;return{'startedAt':_0x21e69f,'durationMs':_0x521852,'outcome':_0x551f1e,..._0x110f46==='network'||_0x110f46===_0x10c5a1(_0x10372b._0x2f65d0)||_0x110f46===_0x10c5a1(_0x10372b._0x2d6858)||_0x110f46===_0x10c5a1(_0x10372b._0x42c809)?{'source':_0x110f46}:{},...isRecord(_0x6bdeba)&&typeof _0x6bdeba[_0x10c5a1(0x2ac)]===_0x10c5a1(0x1d7)&&typeof _0x6bdeba[_0x10c5a1(_0x10372b._0x175e59)]==='number'?{'packages':{'total':_0x6bdeba[_0x10c5a1(_0x10372b._0x14081e)],'cached':_0x6bdeba['cached']}}:{}};}__name(parseBoxReadInstall,_0xe92bff(0x219));var BOX_REVOCATIONS_RETRY_AFTER_SECONDS=0x3c,READ_ERROR_CODES=[_0xe92bff(0x1fc),'forbidden','unknown-environment',_0xe92bff(0x233),'rate-limited',_0xe92bff(0x33b),'unavailable',_0xe92bff(0x17d),_0xe92bff(0x208),_0xe92bff(0x1b6)];function parseBoxReadError(_0x4e9861){const _0x508b90={_0x33d12c:0x26d,_0x30df69:0x183},_0x2c7d08=_0xe92bff;if(!isRecord(_0x4e9861)||!isRecord(_0x4e9861['error']))return null;const {code:_0x188995,message:_0x16ad87,retryAfterSeconds:_0x4c944f}=_0x4e9861[_0x2c7d08(_0x508b90._0x33d12c)];if(!READ_ERROR_CODES[_0x2c7d08(_0x508b90._0x30df69)](_0x188995))return null;if(typeof _0x16ad87!==_0x2c7d08(0x2f1))return null;return{'error':{'code':_0x188995,'message':_0x16ad87,...typeof _0x4c944f===_0x2c7d08(0x1d7)?{'retryAfterSeconds':_0x4c944f}:{}}};}__name(parseBoxReadError,_0xe92bff(0x25b));function parseBoxReadEnvironments(_0x315ea2){const _0x3d7952={_0x8116f6:0x2f1},_0x262188=_0xe92bff;if(!Array['isArray'](_0x315ea2))return null;const _0x1998bb=[];for(const _0x51afe0 of _0x315ea2){if(!isRecord(_0x51afe0))return null;const {name:_0x5ac61e,project:_0x1c202c,environment:_0x1d6ee3,note:_0x37a40e,bundleId:_0x2daf2c,install:_0x21d616}=_0x51afe0;if(typeof _0x5ac61e!==_0x262188(_0x3d7952._0x8116f6)||typeof _0x1d6ee3!==_0x262188(0x2f1))return null;if(_0x1c202c!==void 0x0&&typeof _0x1c202c!==_0x262188(0x2f1))return null;if(_0x37a40e!==void 0x0&&typeof _0x37a40e!==_0x262188(_0x3d7952._0x8116f6))return null;if(_0x2daf2c!==void 0x0&&typeof _0x2daf2c!==_0x262188(0x2f1))return null;_0x1998bb[_0x262188(0x290)]({'name':_0x5ac61e,'environment':_0x1d6ee3,..._0x1c202c!==void 0x0?{'project':_0x1c202c}:{},..._0x37a40e!==void 0x0?{'note':_0x37a40e}:{},..._0x2daf2c!==void 0x0?{'bundleId':_0x2daf2c}:{},...installField(_0x21d616)});}return _0x1998bb;}__name(parseBoxReadEnvironments,_0xe92bff(0x304));function testLabel(_0x1f5a48,_0x3c173b){return _0x1f5a48+'\x20›\x20'+_0x3c173b;}__name(testLabel,_0xe92bff(0x1bd));function runLabel(_0x350d27,_0xa6eb40){return _0xa6eb40===void 0x0?_0x350d27:testLabel(_0x350d27,_0xa6eb40);}__name(runLabel,'runLabel');var WORKSPACE_SCHEMA_VERSION=0x1,WORKSPACE_FILE='.workspace.json';function stringList(_0x388293){if(!Array['isArray'](_0x388293))return null;if(_0x388293['some'](_0x34a43b=>typeof _0x34a43b!=='string'))return null;return _0x388293;}__name(stringList,'stringList');function parseBundle(_0x2b67e7){const _0x14f578={_0xc98da3:0x258,_0x153b02:0x1d7,_0x3eb469:0x2f1},_0x5333a7=_0xe92bff;if(!isRecord(_0x2b67e7))return null;const {bundleId:_0x19d483,label:_0x147469,branch:_0x5ba95e,sha:_0x9e5cf6,dirty:_0x42ed64,author:_0x38d71e,createdAt:_0x38cbed,webVersion:_0x1531b3}=_0x2b67e7;if(typeof _0x19d483!==_0x5333a7(0x2f1)||_0x19d483[_0x5333a7(_0x14f578._0xc98da3)]===0x0)return null;if(typeof _0x147469!==_0x5333a7(0x2f1)||typeof _0x1531b3!==_0x5333a7(0x2f1))return null;if(typeof _0x42ed64!==_0x5333a7(0x23d))return null;if(typeof _0x38cbed!==_0x5333a7(_0x14f578._0x153b02)||!Number[_0x5333a7(0x2f3)](_0x38cbed))return null;for(const _0x5c9bd6 of[_0x5ba95e,_0x9e5cf6,_0x38d71e]){if(_0x5c9bd6!==void 0x0&&typeof _0x5c9bd6!==_0x5333a7(0x2f1))return null;}return{'bundleId':_0x19d483,'label':_0x147469,'dirty':_0x42ed64,'createdAt':_0x38cbed,'webVersion':_0x1531b3,...typeof _0x5ba95e==='string'?{'branch':_0x5ba95e}:{},...typeof _0x9e5cf6===_0x5333a7(_0x14f578._0x3eb469)?{'sha':_0x9e5cf6}:{},...typeof _0x38d71e===_0x5333a7(0x2f1)?{'author':_0x38d71e}:{}};}__name(parseBundle,_0xe92bff(0x381));function parseWorkspaceFile(_0x5cedf1){const _0x49e08c={_0x3dc3d4:0x2f1,_0x1ceb17:0x2f1,_0x30c290:0x2f1,_0x5a9dbe:0x2f1,_0x5e6a36:0x2f1},_0x3de89e=_0xe92bff;if(!isRecord(_0x5cedf1))return null;if(_0x5cedf1[_0x3de89e(0x32d)]!==WORKSPACE_SCHEMA_VERSION)return null;const {workspace:_0x398d69,environment:_0x2d077e,allowSwitch:_0x40d95e,currentBundleId:_0x170a20,switchedBy:_0x22dc3e,switchedAt:_0xfe4be1,bundles:_0x2474e8,variables:_0xff416b,secrets:_0x276a98,switchPath:_0x3fab22,follow:_0x350753,boxVersion:_0x24a686,minWebVersion:_0x3bd753}=_0x5cedf1;if(typeof _0x398d69!==_0x3de89e(0x2f1)||typeof _0x2d077e!==_0x3de89e(_0x49e08c._0x3dc3d4))return null;if(typeof _0x40d95e!=='boolean')return null;if(!Array[_0x3de89e(0x262)](_0x2474e8))return null;const _0x459728=[];for(const _0x77b5bc of _0x2474e8){const _0x3b27a6=parseBundle(_0x77b5bc);if(!_0x3b27a6)return null;_0x459728[_0x3de89e(0x290)](_0x3b27a6);}const _0x10c787=stringList(_0xff416b),_0x4958a3=stringList(_0x276a98);if(!_0x10c787||!_0x4958a3)return null;for(const _0x4d7580 of[_0x170a20,_0x22dc3e,_0x3fab22,_0x24a686,_0x3bd753]){if(_0x4d7580!==void 0x0&&typeof _0x4d7580!==_0x3de89e(0x2f1))return null;}if(_0xfe4be1!==void 0x0&&typeof _0xfe4be1!==_0x3de89e(0x1d7))return null;const _0x22c079=_0x350753===void 0x0?void 0x0:parseFollow(_0x350753);if(_0x22c079===null)return null;return{'schemaVersion':WORKSPACE_SCHEMA_VERSION,'workspace':_0x398d69,'environment':_0x2d077e,'allowSwitch':_0x40d95e,'bundles':_0x459728,'variables':_0x10c787,'secrets':_0x4958a3,...typeof _0x170a20===_0x3de89e(_0x49e08c._0x1ceb17)?{'currentBundleId':_0x170a20}:{},...typeof _0x22dc3e===_0x3de89e(_0x49e08c._0x30c290)?{'switchedBy':_0x22dc3e}:{},...typeof _0xfe4be1==='number'?{'switchedAt':_0xfe4be1}:{},...typeof _0x3fab22===_0x3de89e(_0x49e08c._0x5a9dbe)?{'switchPath':_0x3fab22}:{},..._0x22c079!==void 0x0?{'follow':_0x22c079}:{},...typeof _0x24a686===_0x3de89e(_0x49e08c._0x5e6a36)?{'boxVersion':_0x24a686}:{},...typeof _0x3bd753===_0x3de89e(0x2f1)?{'minWebVersion':_0x3bd753}:{}};}__name(parseWorkspaceFile,_0xe92bff(0x2bc));function parseFollow(_0x5c24c6){const _0x240781={_0x4fd77a:0x2f1,_0x3c6f66:0x258},_0x487536=_0xe92bff;if(!isRecord(_0x5c24c6))return null;const {path:_0x9cb41,branch:_0x3c9334}=_0x5c24c6;if(typeof _0x9cb41!==_0x487536(0x2f1)||_0x9cb41[_0x487536(0x258)]===0x0)return null;if(typeof _0x3c9334!==_0x487536(_0x240781._0x4fd77a)||_0x3c9334[_0x487536(_0x240781._0x3c6f66)]===0x0)return null;return{'path':_0x9cb41,'branch':_0x3c9334};}__name(parseFollow,_0xe92bff(0x3b0));function scheduleTarget(_0x1df394){const _0x50cc57={_0x309be8:0x1f7},_0x34f9ab=_0xe92bff;return _0x1df394[_0x34f9ab(_0x50cc57._0x309be8)]!==void 0x0?{'kind':'collection','name':_0x1df394[_0x34f9ab(0x1f7)]}:{'kind':_0x34f9ab(0x1c5),'name':_0x1df394[_0x34f9ab(0x1c5)]};}__name(scheduleTarget,_0xe92bff(0x1d2));function parseScheduleEntry(_0x194f1b){const _0x81ecf6={_0x43be1e:0x2f1,_0x34319e:0x258,_0x241e85:0x2f1,_0x172b3e:0x258,_0x117b91:0x226,_0x23d4e7:0x35f},_0x484fde=_0xe92bff;if(!isRecord(_0x194f1b))return null;const {collection:_0x40761c,scenario:_0x2a5e45,cron:_0xd3fa9c,env:_0x2716fe,prepare:_0x33c1cf,workers:_0x345ccc,source:_0xfafc96}=_0x194f1b,_0x255a66=typeof _0x40761c==='string'&&_0x40761c[_0x484fde(0x258)]>0x0?_0x2a5e45===void 0x0?{'collection':_0x40761c}:null:typeof _0x2a5e45===_0x484fde(_0x81ecf6._0x43be1e)&&_0x2a5e45[_0x484fde(_0x81ecf6._0x34319e)]>0x0&&_0x40761c===void 0x0?{'scenario':_0x2a5e45}:null;if(_0x255a66===null)return null;if(typeof _0xd3fa9c!==_0x484fde(_0x81ecf6._0x241e85)||_0xd3fa9c[_0x484fde(0x20d)]()[_0x484fde(_0x81ecf6._0x172b3e)]===0x0)return null;if(_0x2716fe!==void 0x0&&typeof _0x2716fe!=='string')return null;if(_0x33c1cf!==void 0x0&&typeof _0x33c1cf!==_0x484fde(0x2f1))return null;const _0x5e6f0e='collection'in _0x255a66&&typeof _0x345ccc===_0x484fde(0x1d7)&&Number[_0x484fde(_0x81ecf6._0x117b91)](_0x345ccc)&&_0x345ccc>=0x1?_0x345ccc:void 0x0,_0x5996a8=_0xfafc96===_0x484fde(_0x81ecf6._0x23d4e7)||_0xfafc96===_0x484fde(0x22f)?_0xfafc96:void 0x0;return{..._0x255a66,'cron':_0xd3fa9c,..._0x2716fe!==void 0x0?{'env':_0x2716fe}:{},..._0x33c1cf!==void 0x0?{'prepare':_0x33c1cf}:{},..._0x5e6f0e!==void 0x0?{'workers':_0x5e6f0e}:{},..._0x5996a8!==void 0x0?{'source':_0x5996a8}:{}};}__name(parseScheduleEntry,'parseScheduleEntry');function parseSchedulesDoc(_0x7ddbb5){const _0x21ec53={_0x12ec21:0x272,_0x381cbe:0x1ac,_0x4c4385:0x18f,_0x4b18b9:0x28d},_0x46138d=_0xe92bff;if(_0x7ddbb5===null||_0x7ddbb5===void 0x0)return{'entries':[]};if(!isRecord(_0x7ddbb5))return{'error':'expected\x20a\x20mapping\x20with\x20a\x20`schedules:`\x20array'};const _0x3fc13e=_0x7ddbb5[_0x46138d(0x29d)]??[];if(!Array[_0x46138d(0x262)](_0x3fc13e))return{'error':'`schedules:`\x20must\x20be\x20an\x20array'};const _0x21134b=[],_0x55042c=new Set();for(const [_0x47799b,_0x627e6a]of _0x3fc13e['entries']()){const _0x23124b=parseScheduleEntry(_0x627e6a);if(!_0x23124b)return{'error':_0x46138d(_0x21ec53._0x12ec21)+_0x47799b+_0x46138d(0x2ce)};const _0x59695a=scheduleTarget(_0x23124b),_0x4566c7=_0x59695a[_0x46138d(0x1df)]+':'+_0x59695a[_0x46138d(0x18f)];if(_0x55042c[_0x46138d(_0x21ec53._0x381cbe)](_0x4566c7))return{'error':_0x46138d(_0x21ec53._0x12ec21)+_0x47799b+_0x46138d(0x1e2)+_0x59695a['kind']+'\x20\x22'+_0x59695a[_0x46138d(_0x21ec53._0x4c4385)]+_0x46138d(_0x21ec53._0x4b18b9)};_0x55042c[_0x46138d(0x25c)](_0x4566c7),_0x21134b['push'](_0x23124b);}return{'entries':_0x21134b};}__name(parseSchedulesDoc,_0xe92bff(0x2f6));function mergeSchedules(_0x3f52ed,_0x18fa39){const _0x4ba722={_0x984673:0x389,_0x13d813:0x27e},_0x29c3b2={_0x5a0261:0x1df,_0x4f866e:0x18f},_0x422e3e=_0xe92bff,_0x479237=new Set(_0x18fa39[_0x422e3e(0x27e)](_0x2d3e78=>{const _0x1c3f0d=_0x422e3e,_0x2ede05=scheduleTarget(_0x2d3e78);return _0x2ede05['kind']+':'+_0x2ede05[_0x1c3f0d(0x18f)];})),_0x55b4c1=_0x3f52ed[_0x422e3e(_0x4ba722._0x984673)](_0x56bcb4=>{const _0x322b07=_0x422e3e,_0x5f2352=scheduleTarget(_0x56bcb4);return!_0x479237[_0x322b07(0x1ac)](_0x5f2352[_0x322b07(_0x29c3b2._0x5a0261)]+':'+_0x5f2352[_0x322b07(_0x29c3b2._0x4f866e)]);});return[..._0x55b4c1[_0x422e3e(0x27e)](_0x5f3cac=>({..._0x5f3cac,'source':'config'})),..._0x18fa39[_0x422e3e(_0x4ba722._0x13d813)](_0x2178eb=>({..._0x2178eb,'source':'file'}))];}__name(mergeSchedules,_0xe92bff(0x33d));function canonicalScheduleSet(_0x4a3150){const _0x23d9fa={_0x538ec0:0x27e},_0x1f75b8={_0x117af0:0x18f,_0x418589:0x1df},_0x3e3e19={_0x5630cf:0x18f,_0x51f649:0x2eb,_0x1b8837:0x33c},_0x2b321a=_0xe92bff,_0x2f7973=_0x4a3150[_0x2b321a(_0x23d9fa._0x538ec0)](_0xaa5ffe=>{const _0x3c67b8=_0x2b321a,_0x2c61b9=scheduleTarget(_0xaa5ffe);return{'kind':_0x2c61b9['kind'],'name':_0x2c61b9[_0x3c67b8(_0x3e3e19._0x5630cf)],'cron':_0xaa5ffe[_0x3c67b8(_0x3e3e19._0x51f649)],..._0xaa5ffe['env']!==void 0x0?{'env':_0xaa5ffe['env']}:{},..._0xaa5ffe[_0x3c67b8(_0x3e3e19._0x1b8837)]!==void 0x0?{'prepare':_0xaa5ffe[_0x3c67b8(0x33c)]}:{},..._0xaa5ffe[_0x3c67b8(0x371)]!==void 0x0?{'workers':_0xaa5ffe['workers']}:{}};})['sort']((_0x1b27cf,_0x32b9bc)=>{const _0x25d2e8=_0x2b321a,_0x3596c5=_0x1b27cf[_0x25d2e8(0x1df)]+':'+_0x1b27cf[_0x25d2e8(_0x1f75b8._0x117af0)],_0x35ad88=_0x32b9bc[_0x25d2e8(_0x1f75b8._0x418589)]+':'+_0x32b9bc['name'];return _0x3596c5<_0x35ad88?-0x1:_0x3596c5>_0x35ad88?0x1:0x0;});return JSON[_0x2b321a(0x345)](_0x2f7973);}__name(canonicalScheduleSet,_0xe92bff(0x23b));function parseSchedulesJson(_0x52c819){const _0x42ba10={_0x16e76b:0x290},_0x589e0c=_0xe92bff;let _0x4bd342;try{_0x4bd342=JSON['parse'](_0x52c819);}catch{return null;}if(!Array['isArray'](_0x4bd342))return null;const _0x113c9a=[];for(const _0xa1ce87 of _0x4bd342){const _0x27dafb=parseScheduleEntry(_0xa1ce87);if(_0x27dafb)_0x113c9a[_0x589e0c(_0x42ba10._0x16e76b)](_0x27dafb);}return _0x113c9a;}__name(parseSchedulesJson,_0xe92bff(0x2e0));var FREQ_FIELDS={'m5':{'minutes':![],'hours':![],'days':![]},'m15':{'minutes':![],'hours':![],'days':![]},'h1':{'minutes':!![],'hours':![],'days':![]},'h2':{'minutes':!![],'hours':![],'days':![]},'h4':{'minutes':!![],'hours':![],'days':![]},'h6':{'minutes':!![],'hours':![],'days':![]},'h12':{'minutes':!![],'hours':![],'days':![]},'daily':{'minutes':!![],'hours':!![],'days':![]},'weekly':{'minutes':!![],'hours':!![],'days':!![]}},HOUR_STEP={'h2':0x2,'h4':0x4,'h6':0x6,'h12':0xc};function cronFromSpec(_0x4c50a4){const _0x5719d8={_0x4c7b93:0x2fc,_0x440d26:0x3bf,_0x5b0d51:0x284,_0x2200a7:0x24a,_0x58e5f1:0x299},_0x33667c=_0xe92bff,_0x372717=list(_0x4c50a4[_0x33667c(0x360)]);switch(_0x4c50a4[_0x33667c(0x2b1)]){case'm5':return'*/5\x20*\x20*\x20*\x20*';case _0x33667c(0x37c):return _0x33667c(_0x5719d8._0x4c7b93);case'h1':return _0x372717+_0x33667c(_0x5719d8._0x440d26);case'h2':case'h4':case'h6':case _0x33667c(_0x5719d8._0x5b0d51):return _0x372717+_0x33667c(0x1b2)+HOUR_STEP[_0x4c50a4[_0x33667c(0x2b1)]]+_0x33667c(_0x5719d8._0x2200a7);case'daily':return _0x372717+'\x20'+list(_0x4c50a4['hours'])+_0x33667c(0x24a);case _0x33667c(0x234):return _0x372717+'\x20'+list(_0x4c50a4[_0x33667c(_0x5719d8._0x58e5f1)])+_0x33667c(0x2c3)+list(_0x4c50a4[_0x33667c(0x39e)]);}}__name(cronFromSpec,_0xe92bff(0x17b));function specFromCron(_0x1985fb){const _0x8274f={_0x3122a2:0x20d,_0x4fefd5:0x258,_0x1a58a9:0x2bd,_0x50658d:0x37c,_0x3e9937:0x3aa},_0x3ecacb=_0xe92bff,_0x1b0ab4=_0x1985fb[_0x3ecacb(_0x8274f._0x3122a2)]()['split'](/\s+/);if(_0x1b0ab4[_0x3ecacb(_0x8274f._0x4fefd5)]!==0x5)return null;const [_0xf3b805,_0x157fa3,_0x76a735,_0xd627b6,_0x564d60]=_0x1b0ab4;if(_0x76a735!=='*'||_0xd627b6!=='*')return null;if(_0x157fa3==='*'&&_0x564d60==='*'){if(_0xf3b805===_0x3ecacb(_0x8274f._0x1a58a9))return spec('m5');if(_0xf3b805===_0x3ecacb(0x184))return spec(_0x3ecacb(_0x8274f._0x50658d));const _0x5e3968=numbers(_0xf3b805);return _0x5e3968&&spec('h1',_0x5e3968);}const _0x3e3e83=numbers(_0xf3b805);if(!_0x3e3e83)return null;const _0x349d6e=/^\*\/(\d+)$/[_0x3ecacb(0x373)](_0x157fa3);if(_0x349d6e&&_0x564d60==='*'){const _0xde6c99=Object[_0x3ecacb(0x178)](HOUR_STEP)[_0x3ecacb(0x30f)](_0x402d9b=>HOUR_STEP[_0x402d9b]===Number(_0x349d6e[0x1]));return _0xde6c99?spec(_0xde6c99,_0x3e3e83):null;}const _0x915914=numbers(_0x157fa3);if(!_0x915914)return null;if(_0x564d60==='*')return spec(_0x3ecacb(_0x8274f._0x3e9937),_0x3e3e83,_0x915914);const _0x203780=numbers(_0x564d60);return _0x203780&&spec(_0x3ecacb(0x234),_0x3e3e83,_0x915914,_0x203780);}__name(specFromCron,_0xe92bff(0x2da));function describeCron(_0x5ae2c0){const _0x4b7f5d=specFromCron(_0x5ae2c0);return _0x4b7f5d?describeSpec(_0x4b7f5d):_0x5ae2c0;}__name(describeCron,'describeCron');function describeSpec(_0x30c84b){const _0xcfb3e8={_0x5a4056:0x2b1,_0x277ff4:0x334,_0xce36dd:0x37c,_0x1262b1:0x2b1,_0x2f3ab5:0x360,_0x3a706f:0x3aa,_0x306a96:0x234,_0x355ed3:0x39e,_0x1ce39f:0x27e,_0x5f19e9:0x375},_0xee1f16=_0xe92bff;switch(_0x30c84b[_0xee1f16(_0xcfb3e8._0x5a4056)]){case'm5':return _0xee1f16(_0xcfb3e8._0x277ff4);case _0xee1f16(_0xcfb3e8._0xce36dd):return _0xee1f16(0x268);case'h1':return _0xee1f16(0x23a)+atMinutes(_0x30c84b[_0xee1f16(0x360)]);case'h2':case'h4':case'h6':case _0xee1f16(0x284):return _0xee1f16(0x30c)+HOUR_STEP[_0x30c84b[_0xee1f16(_0xcfb3e8._0x1262b1)]]+'h'+atMinutes(_0x30c84b[_0xee1f16(_0xcfb3e8._0x2f3ab5)]);case _0xee1f16(_0xcfb3e8._0x3a706f):return _0xee1f16(0x281)+times(_0x30c84b);case _0xee1f16(_0xcfb3e8._0x306a96):return _0x30c84b[_0xee1f16(_0xcfb3e8._0x355ed3)][_0xee1f16(_0xcfb3e8._0x1ce39f)](_0x4a6aad=>DAY_SHORT[_0x4a6aad]??String(_0x4a6aad))[_0xee1f16(_0xcfb3e8._0x5f19e9)](',\x20')+'\x20at\x20'+times(_0x30c84b);}}__name(describeSpec,_0xe92bff(0x385));function nextTickFromSpec(_0x37cf9f,_0x32c71b){const _0x127866={_0x2cb38f:0x2de,_0xce503b:0x295},_0x531621=_0xe92bff,_0x15ac1e=new Date(_0x32c71b);_0x15ac1e['setSeconds'](0x0,0x0);for(let _0x2d6b7a=0x0;_0x2d6b7a<0x8*0x18*0x3c;_0x2d6b7a++){_0x15ac1e[_0x531621(0x1cb)](_0x15ac1e[_0x531621(_0x127866._0x2cb38f)]()+0x1);if(specMatches(_0x37cf9f,_0x15ac1e))return _0x15ac1e[_0x531621(_0x127866._0xce503b)]();}return _0x15ac1e['getTime']();}__name(nextTickFromSpec,'nextTickFromSpec');function specMatches(_0x2fabd0,_0x33f8fb){const _0x3dbd7b={_0x12b64d:0x2de,_0x1ed631:0x2b1,_0x8807c9:0x183,_0x3eb435:0x284,_0x4419c2:0x360,_0x431a1d:0x183,_0x34ce37:0x3aa,_0x1b96f5:0x299,_0x9d7176:0x183,_0x4a6c7f:0x39e},_0x5a4c33=_0xe92bff,_0xb4e388=_0x33f8fb[_0x5a4c33(_0x3dbd7b._0x12b64d)](),_0x468d96=_0x33f8fb['getHours']();switch(_0x2fabd0[_0x5a4c33(_0x3dbd7b._0x1ed631)]){case'm5':return _0xb4e388%0x5===0x0;case _0x5a4c33(0x37c):return _0xb4e388%0xf===0x0;case'h1':return _0x2fabd0[_0x5a4c33(0x360)][_0x5a4c33(_0x3dbd7b._0x8807c9)](_0xb4e388);case'h2':case'h4':case'h6':case _0x5a4c33(_0x3dbd7b._0x3eb435):return _0x2fabd0[_0x5a4c33(_0x3dbd7b._0x4419c2)][_0x5a4c33(_0x3dbd7b._0x431a1d)](_0xb4e388)&&_0x468d96%(HOUR_STEP[_0x2fabd0[_0x5a4c33(0x2b1)]]??0x1)===0x0;case _0x5a4c33(_0x3dbd7b._0x34ce37):return _0x2fabd0['minutes'][_0x5a4c33(0x183)](_0xb4e388)&&_0x2fabd0[_0x5a4c33(_0x3dbd7b._0x1b96f5)][_0x5a4c33(_0x3dbd7b._0x9d7176)](_0x468d96);case _0x5a4c33(0x234):return _0x2fabd0['minutes'][_0x5a4c33(0x183)](_0xb4e388)&&_0x2fabd0[_0x5a4c33(0x299)][_0x5a4c33(0x183)](_0x468d96)&&_0x2fabd0[_0x5a4c33(_0x3dbd7b._0x4a6c7f)][_0x5a4c33(0x183)](_0x33f8fb[_0x5a4c33(0x1be)]());}}__name(specMatches,'specMatches');function formatNextTick(_0x576bdd,_0x18a524){const _0x344246={_0x6a430b:0x1be},_0x1f7936=_0xe92bff,_0x5c22bf=new Date(_0x576bdd),_0x22e719=new Date(_0x18a524),_0x3cc773=pad(_0x5c22bf['getHours']())+':'+pad(_0x5c22bf['getMinutes']()),_0x44db84=Math['round']((startOfDay(_0x5c22bf)-startOfDay(_0x22e719))/(0x18*0x3c*0x3c*0x3e8));if(_0x44db84===0x0)return'today\x20'+_0x3cc773;if(_0x44db84===0x1)return _0x1f7936(0x23e)+_0x3cc773;return DAY_SHORT[_0x5c22bf[_0x1f7936(_0x344246._0x6a430b)]()]+'\x20'+_0x3cc773;}__name(formatNextTick,'formatNextTick');function startOfDay(_0x49aa7f){const _0x227a14={_0x444a56:0x295},_0xe307e=_0xe92bff,_0x5526da=new Date(_0x49aa7f);return _0x5526da['setHours'](0x0,0x0,0x0,0x0),_0x5526da[_0xe307e(_0x227a14._0x444a56)]();}__name(startOfDay,_0xe92bff(0x26a));var DAY_SHORT=[_0xe92bff(0x210),_0xe92bff(0x242),_0xe92bff(0x187),_0xe92bff(0x39c),_0xe92bff(0x1fb),_0xe92bff(0x22c),_0xe92bff(0x285)],WEEK_CHIP_ORDER=[0x1,0x2,0x3,0x4,0x5,0x6,0x0];function spec(_0x5dedef,_0x298486=[0x0],_0x29ba6a=[0x3],_0x1523f8=[0x1]){return{'freq':_0x5dedef,'minutes':_0x298486,'hours':_0x29ba6a,'days':_0x1523f8};}__name(spec,_0xe92bff(0x306));function list(_0x272e8e){const _0x7109aa=_0xe92bff;return[..._0x272e8e][_0x7109aa(0x358)]((_0xbf08ee,_0x1105e8)=>_0xbf08ee-_0x1105e8)['join'](',');}__name(list,'list');function numbers(_0x5c0635){const _0x584ce7=_0xe92bff;if(!/^\d+(,\d+)*$/['test'](_0x5c0635))return null;return _0x5c0635[_0x584ce7(0x312)](',')['map'](Number);}__name(numbers,'numbers');var pad=__name(_0x114384=>String(_0x114384)[_0xe92bff(0x319)](0x2,'0'),_0xe92bff(0x3a5));function atMinutes(_0x110be4){const _0x198270={_0x6d010e:0x258},_0x4c1e1a=_0xe92bff;if(_0x110be4[_0x4c1e1a(_0x198270._0x6d010e)]===0x1&&_0x110be4[0x0]===0x0)return'';return _0x4c1e1a(0x3bc)+[..._0x110be4]['sort']((_0x39f730,_0x38b0ac)=>_0x39f730-_0x38b0ac)[_0x4c1e1a(0x27e)](_0x1dd0c4=>':'+pad(_0x1dd0c4))['join'](',\x20');}__name(atMinutes,_0xe92bff(0x357));function times(_0x215af0){const _0x389a0a={_0x3718b2:0x258},_0x4b973c=_0xe92bff,_0x39bd60=[..._0x215af0[_0x4b973c(0x299)]][_0x4b973c(0x358)]((_0x46a0dc,_0x318f7f)=>_0x46a0dc-_0x318f7f)['flatMap'](_0x4be44e=>[..._0x215af0[_0x4b973c(0x360)]][_0x4b973c(0x358)]((_0x371e47,_0x2ad437)=>_0x371e47-_0x2ad437)['map'](_0x5ef3e2=>pad(_0x4be44e)+':'+pad(_0x5ef3e2))),_0x11fd8f=_0x39bd60['slice'](0x0,0x4),_0xe2c81d=_0x39bd60['length']-_0x11fd8f[_0x4b973c(_0x389a0a._0x3718b2)];return _0x11fd8f[_0x4b973c(0x375)](',\x20')+(_0xe2c81d>0x0?'\x20+'+_0xe2c81d:'');}__name(times,'times');var BLOBS_DIR=_0xe92bff(0x336),GENERATION_SEP='~',HASH_RE=/^[0-9a-f]{8,}$/,InvalidBlobHashError=class extends Error{static{__name(this,_0xe92bff(0x356));}constructor(_0x3f5e92){const _0x40ca9b={_0x40bcee:0x289,_0x22785c:0x356},_0x2274d3=_0xe92bff;super(_0x2274d3(_0x40ca9b._0x40bcee)+_0x3f5e92),this['name']=_0x2274d3(_0x40ca9b._0x22785c);}};function blobPathFor(_0x39f1dd,_0x4f7f66,_0x537e64,_0x10e8b9=0x0){return _0x39f1dd+'/'+blobRelPathFor(_0x4f7f66,_0x537e64,_0x10e8b9);}__name(blobPathFor,_0xe92bff(0x2c1));function blobRelSegmentsFor(_0xbcc942,_0x1c02b2,_0x17470f=0x0){const _0x3fcedd={_0x22e4ee:0x255},_0x38e09f=_0xe92bff;if(!HASH_RE[_0x38e09f(0x1d4)](_0xbcc942))throw new InvalidBlobHashError(_0xbcc942);const _0x58c529=_0x17470f>0x0?''+GENERATION_SEP+_0x17470f:'';return[BLOBS_DIR,_0xbcc942[_0x38e09f(_0x3fcedd._0x22e4ee)](0x0,0x2),_0xbcc942['slice'](0x2,0x4),''+_0xbcc942+_0x58c529+'.'+_0x1c02b2];}__name(blobRelSegmentsFor,_0xe92bff(0x18d));function blobRelPathFor(_0x4f05d6,_0x158b4a,_0x380d6a=0x0){const _0x37d65b={_0x5316d4:0x375},_0x5016d9=_0xe92bff;return blobRelSegmentsFor(_0x4f05d6,_0x158b4a,_0x380d6a)[_0x5016d9(_0x37d65b._0x5316d4)]('/');}__name(blobRelPathFor,_0xe92bff(0x329));function blobsRootFor(_0x5ce9ef){return _0x5ce9ef+'/'+BLOBS_DIR;}__name(blobsRootFor,_0xe92bff(0x324));var FS_UNSAFE_NAME_RE=/[\\/:*?"<>|\x00-\x1f]/;function validateFsSafeName(_0x1e8a4f,_0x2003f9){const _0x298c37={_0x13108b:0x2f1,_0x456089:0x20d,_0x1e13dc:0x258,_0x4567d6:0x205,_0x303b11:0x20f,_0x57b190:0x1d4},_0x1f9c45=_0xe92bff;if(typeof _0x1e8a4f!==_0x1f9c45(_0x298c37._0x13108b))return'must\x20be\x20a\x20string';const _0x428101=_0x1e8a4f[_0x1f9c45(_0x298c37._0x456089)]();if(_0x428101[_0x1f9c45(_0x298c37._0x1e13dc)]===0x0)return'must\x20not\x20be\x20empty';if(_0x428101==='.'||_0x428101==='..')return _0x1f9c45(_0x298c37._0x4567d6);if(_0x428101['startsWith']('.'))return'must\x20not\x20start\x20with\x20\x27.\x27';if(_0x2003f9?.[_0x1f9c45(_0x298c37._0x303b11)]&&_0x428101['startsWith']('_'))return _0x1f9c45(0x2b9);if(FS_UNSAFE_NAME_RE[_0x1f9c45(_0x298c37._0x57b190)](_0x428101))return'must\x20not\x20contain\x20\x5c\x20/\x20:\x20*\x20?\x20\x22\x20<\x20>\x20|\x20or\x20control\x20characters';return null;}__name(validateFsSafeName,'validateFsSafeName');var COLLECTION_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateCollectionName(_0x5099f9){return validateFsSafeName(_0x5099f9);}__name(validateCollectionName,_0xe92bff(0x376));function parseCollectionViewport(_0x512e88){const _0x3c7bd8={_0x5f05bc:0x258},_0x85a320=_0xe92bff;if(_0x512e88===null)return{'ok':!![],'viewport':null};if(typeof _0x512e88==='object'&&!Array[_0x85a320(0x262)](_0x512e88)){const {width:_0x3e9574,height:_0x21906a,..._0x4f4007}=_0x512e88;if(isPositiveInt(_0x3e9574)&&isPositiveInt(_0x21906a)&&Object[_0x85a320(0x178)](_0x4f4007)[_0x85a320(_0x3c7bd8._0x5f05bc)]===0x0)return{'ok':!![],'viewport':{'width':_0x3e9574,'height':_0x21906a}};}return{'ok':![],'reason':_0x85a320(0x1c2)+JSON[_0x85a320(0x345)](_0x512e88)};}__name(parseCollectionViewport,_0xe92bff(0x303));function isPositiveInt(_0x5b5db8){const _0x58983d={_0x5772b0:0x226},_0x35766c=_0xe92bff;return typeof _0x5b5db8==='number'&&Number[_0x35766c(_0x58983d._0x5772b0)](_0x5b5db8)&&_0x5b5db8>0x0;}__name(isPositiveInt,'isPositiveInt');var DEFAULT_COLLECTION_NAME=_0xe92bff(0x2d0);function firstRunCommand({environment:_0x42e6c6,collection:_0x337912}){const _0x5887db=_0xe92bff;return _0x5887db(0x2ab)+_0x42e6c6+_0x5887db(0x379)+_0x337912;}__name(firstRunCommand,'firstRunCommand');var RUN_SOURCES_FILE=_0xe92bff(0x274),UnsupportedRunKindError=class extends Error{static{__name(this,_0xe92bff(0x396));}constructor(_0x1ed4b2,_0x5f11b8){const _0x204f87={_0x5e824e:0x3b1,_0x23af9b:0x276,_0x94b039:0x18f},_0x4c77c4=_0xe92bff;super(_0x4c77c4(_0x204f87._0x5e824e)+_0x5f11b8+_0x4c77c4(_0x204f87._0x23af9b)+_0x1ed4b2+'\x22'),this[_0x4c77c4(_0x204f87._0x94b039)]=_0x4c77c4(0x396);}},RunnerAdapterNotFoundError=class extends Error{static{__name(this,_0xe92bff(0x18c));}constructor(_0xff5342,_0x579c31){const _0xed03b3={_0x4f0d52:0x1e0,_0x12b645:0x18f,_0x1253ca:0x18c},_0x4be566=_0xe92bff;super(_0x4be566(0x191)+_0xff5342+_0x4be566(_0xed03b3._0x4f0d52)+_0x579c31),this[_0x4be566(_0xed03b3._0x12b645)]=_0x4be566(_0xed03b3._0x1253ca);}},RunnerNotConfiguredError=class extends Error{static{__name(this,_0xe92bff(0x1af));}constructor(_0x3045b8){const _0x1ef499=_0xe92bff;super(_0x3045b8),this[_0x1ef499(0x18f)]=_0x1ef499(0x1af);}},TEST_PREFIX=_0xe92bff(0x2cf);function selectTests(_0x2e4e8d,_0x3f57e9,_0x3c9f78){const _0x531392={_0x19bd86:0x389,_0x5d4a1c:0x183},_0xa7a67f=_0xe92bff;if(_0x3f57e9===void 0x0)return{'tests':_0x2e4e8d};const _0x343379=_0x2e4e8d[_0xa7a67f(_0x531392._0x19bd86)](_0x3abacd=>_0x3abacd['startsWith'](TEST_PREFIX)),_0x27b710=_0x343379[_0xa7a67f(0x258)]>0x0?_0x343379[_0xa7a67f(0x375)](',\x20'):_0xa7a67f(0x180);if(_0x3f57e9==='')return{'refusal':_0xa7a67f(0x217)+_0x3c9f78+':\x20'+_0x27b710};const _0x52385d=_0x3f57e9['startsWith'](TEST_PREFIX)?_0x3f57e9:''+TEST_PREFIX+_0x3f57e9;if(!_0x343379[_0xa7a67f(_0x531392._0x5d4a1c)](_0x52385d))return{'refusal':_0xa7a67f(0x3a3)+_0x3f57e9+'\x22\x20in\x20'+_0x3c9f78+_0xa7a67f(0x2b8)+_0x27b710};return{'tests':[_0x52385d]};}__name(selectTests,_0xe92bff(0x347));var UnknownTestError=class extends Error{static{__name(this,_0xe92bff(0x1eb));}constructor(_0x4540fd){const _0x4d3fba=_0xe92bff;super(_0x4540fd),this['name']=_0x4d3fba(0x1eb);}},EXPECT_FAIL_ANNOTATION='expect-fail',ANNOTATION_RE=/^\s*\/\/\s*@([a-z0-9-]+)\s*$/;function isAnnotationLine(_0x1ca144){const _0x59ee7c=_0xe92bff;return ANNOTATION_RE[_0x59ee7c(0x1d4)](_0x1ca144);}__name(isAnnotationLine,_0xe92bff(0x318));function parseScenarioAnnotations(_0x21d77b){const _0x6f8d75={_0xf62c7e:0x20d,_0x4029a9:0x1c6,_0x27b115:0x25c},_0x2a7817=_0xe92bff,_0xa644e1=new Set();for(const _0x2aaaff of _0x21d77b[_0x2a7817(0x312)](/\r?\n/)){const _0x80faca=_0x2aaaff[_0x2a7817(_0x6f8d75._0xf62c7e)]();if(_0x80faca==='')continue;if(!_0x80faca[_0x2a7817(0x27f)]('//'))break;const _0x400345=_0x80faca[_0x2a7817(_0x6f8d75._0x4029a9)](ANNOTATION_RE);if(_0x400345)_0xa644e1[_0x2a7817(_0x6f8d75._0x27b115)](_0x400345[0x1]);}return{'expectFail':_0xa644e1['has'](EXPECT_FAIL_ANNOTATION)};}__name(parseScenarioAnnotations,'parseScenarioAnnotations');function parseTestAnnotations(_0x7550ba,_0xdc2db7){const _0x397d90={_0x31a07b:0x312},_0x31d93b=_0xe92bff,_0x1dd53d=_0x7550ba[_0x31d93b(_0x397d90._0x31a07b)](/\r?\n/),_0x28e0d7=new Set([...annotationsIn(adjacentCommentLines(_0x1dd53d,_0xdc2db7)),...annotationsIn(fileCommentLines(_0x1dd53d))]);return{'expectFail':_0x28e0d7['has'](EXPECT_FAIL_ANNOTATION)};}__name(parseTestAnnotations,_0xe92bff(0x3ac));function adjacentCommentLines(_0x1041c1,_0x58676c){const _0x3b4c0a=_0xe92bff,_0x37bd13=[];for(let _0x1e84b0=_0x58676c-0x2;_0x1e84b0>=0x0&&isCommentLine(_0x1041c1[_0x1e84b0]);_0x1e84b0--)_0x37bd13[_0x3b4c0a(0x290)](_0x1041c1[_0x1e84b0]);return _0x37bd13;}__name(adjacentCommentLines,'adjacentCommentLines');function fileCommentLines(_0x327ce5){const _0x5f3b8d={_0x3d4366:0x258,_0x43f8cb:0x255,_0x4194f4:0x389},_0x42a050=_0xe92bff,_0x518dda=_0x327ce5[_0x42a050(0x1ab)](_0x7bca76=>_0x7bca76[_0x42a050(0x20d)]()!==''&&!isCommentLine(_0x7bca76)),_0x51651d=_0x518dda===-0x1?_0x327ce5[_0x42a050(_0x5f3b8d._0x3d4366)]:_0x518dda;let _0xb08201=_0x51651d;if(_0x518dda!==-0x1){while(_0xb08201>0x0&&isCommentLine(_0x327ce5[_0xb08201-0x1]))_0xb08201--;}return _0x327ce5[_0x42a050(_0x5f3b8d._0x43f8cb)](0x0,_0xb08201)[_0x42a050(_0x5f3b8d._0x4194f4)](isCommentLine);}__name(fileCommentLines,_0xe92bff(0x1ef));function isCommentLine(_0x42578b){const _0x4aa7d5=_0xe92bff;return _0x42578b[_0x4aa7d5(0x20d)]()['startsWith']('//');}__name(isCommentLine,'isCommentLine');function annotationsIn(_0x1039d3){const _0x1f5a26={_0x486b0c:0x1a8},_0x540167={_0xc037ed:0x1c6},_0x20adda=_0xe92bff;return _0x1039d3[_0x20adda(_0x1f5a26._0x486b0c)](_0x3ca91d=>{const _0x3d63dd=_0x20adda,_0x762c79=_0x3ca91d[_0x3d63dd(_0x540167._0xc037ed)](ANNOTATION_RE);return _0x762c79?[_0x762c79[0x1]]:[];});}__name(annotationsIn,_0xe92bff(0x39d));var SEGMENT_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateSegmentName(_0x567af5){return validateFsSafeName(_0x567af5,{'reservedUnderscore':!![]});}__name(validateSegmentName,_0xe92bff(0x211));var TERMINAL_WS_EVENT=_0xe92bff(0x270),RUNNER_CONFIG_KEYS=new Set([_0xe92bff(0x1f5),'UNOTEST_BROWSER_CHANNEL',_0xe92bff(0x220),_0xe92bff(0x2b3),'UNOTEST_DEFAULT_TIMEOUT_MS','UNOTEST_DEFAULT_NAVIGATION_TIMEOUT_MS',_0xe92bff(0x1dd),_0xe92bff(0x277),_0xe92bff(0x287),_0xe92bff(0x315),_0xe92bff(0x279),'UNOTEST_DEBUG_DIR',_0xe92bff(0x257),_0xe92bff(0x34d),_0xe92bff(0x2b5),_0xe92bff(0x26e),_0xe92bff(0x333),_0xe92bff(0x23f),_0xe92bff(0x3c0),_0xe92bff(0x239),'UNOTEST_BOX_URL','UNOTEST_GROUNDER_MODE',_0xe92bff(0x3b4),'NO_COLOR','FORCE_COLOR',_0xe92bff(0x202)]);function isRunnerConfigKey(_0x246a04){const _0x40678e=_0xe92bff;return RUNNER_CONFIG_KEYS[_0x40678e(0x1ac)](_0x246a04);}__name(isRunnerConfigKey,_0xe92bff(0x1d1));function categorizeVariable(_0x4f1239){const _0x78fe70={_0x12807d:0x280,_0x5a12a2:0x2a1,_0x2bad2f:0x18f,_0x4d4e54:0x21e},_0x39aad0=_0xe92bff;if(_0x4f1239[_0x39aad0(0x209)]===_0x39aad0(_0x78fe70._0x12807d))return _0x39aad0(_0x78fe70._0x5a12a2);return isRunnerConfigKey(_0x4f1239[_0x39aad0(_0x78fe70._0x2bad2f)])?_0x39aad0(0x196):_0x39aad0(_0x78fe70._0x4d4e54);}__name(categorizeVariable,_0xe92bff(0x32b));function isExternalVarName(_0x15bc62){return/^[A-Z][A-Z0-9_]*$/['test'](_0x15bc62);}__name(isExternalVarName,_0xe92bff(0x1d3));function secretMark(_0x41f69b){const _0x263e9d=_0xe92bff;return _0x263e9d(0x300)+_0x41f69b+'›';}__name(secretMark,_0xe92bff(0x197));function orderSecretValues(_0x185c60){const _0x15d1c1={_0x521ed5:0x389,_0x11a8c4:0x358},_0x26e2f9=_0xe92bff;return[..._0x185c60][_0x26e2f9(_0x15d1c1._0x521ed5)](_0x32c3db=>_0x32c3db['value'][_0x26e2f9(0x258)]>0x0)[_0x26e2f9(_0x15d1c1._0x11a8c4)]((_0x11c561,_0x9435da)=>_0x9435da['value'][_0x26e2f9(0x258)]-_0x11c561[_0x26e2f9(0x31e)][_0x26e2f9(0x258)]);}__name(orderSecretValues,'orderSecretValues');function maskSecretValues(_0x5bf961,_0x5c1ab8){const _0x5a6e45={_0x454958:0x183},_0x443dd2=_0xe92bff;let _0x355f02=_0x5bf961;for(const {name:_0x18b84b,value:_0x13c0fc}of _0x5c1ab8){if(_0x355f02[_0x443dd2(_0x5a6e45._0x454958)](_0x13c0fc))_0x355f02=_0x355f02[_0x443dd2(0x312)](_0x13c0fc)[_0x443dd2(0x375)](secretMark(_0x18b84b));}return _0x355f02;}__name(maskSecretValues,_0xe92bff(0x275));function lowestVersionOf(_0x136d97){const _0x542796={_0x568fb0:0x373,_0xd0f9da:0x20d},_0x2fd515=_0xe92bff,_0x3244df=/(\d+)\.(\d+)(?:\.(\d+))?/[_0x2fd515(_0x542796._0x568fb0)](_0x136d97[_0x2fd515(_0x542796._0xd0f9da)]());if(!_0x3244df)return null;return{'major':Number(_0x3244df[0x1]),'minor':Number(_0x3244df[0x2]),'patch':_0x3244df[0x3]===void 0x0?0x0:Number(_0x3244df[0x3])};}__name(lowestVersionOf,_0xe92bff(0x271));function compareVersions(_0x5c4529,_0x44ff39){const _0x1fbfdc={_0x1503d1:0x2c2},_0x13ba69=_0xe92bff;return _0x5c4529[_0x13ba69(0x3b6)]-_0x44ff39['major']||_0x5c4529[_0x13ba69(0x2c2)]-_0x44ff39[_0x13ba69(_0x1fbfdc._0x1503d1)]||_0x5c4529['patch']-_0x44ff39['patch'];}__name(compareVersions,_0xe92bff(0x3bb));function isBelowMinimum(_0x43a3c7,_0x9b32be){const _0xf7748a=lowestVersionOf(_0x43a3c7),_0x49c0db=lowestVersionOf(_0x9b32be);if(!_0xf7748a||!_0x49c0db)return![];return compareVersions(_0xf7748a,_0x49c0db)<0x0;}__name(isBelowMinimum,_0xe92bff(0x388));var SECTION_BY_KIND={'app':_0xe92bff(0x2f0),'runner':_0xe92bff(0x293),'secret':void 0x0};function planAddVariable(_0x398c67){const _0x3826a5={_0x3240a9:0x196,_0x3c4643:0x386,_0x486b57:0x37b,_0x57ec6e:0x2c0,_0x394d3b:0x1ac,_0x432fbd:0x2a1,_0x482a8c:0x280,_0x17cbd3:0x266,_0x5898f6:0x280,_0x905292:0x3a0,_0xf1b177:0x2a1,_0xa02911:0x290},_0x1824f8=_0xe92bff,{name:_0x529dbd,kind:_0x5d6c5a}=_0x398c67;if(_0x5d6c5a===_0x1824f8(_0x3826a5._0x3240a9)){if(!isRunnerConfigKey(_0x529dbd))return{'ok':![],'code':_0x1824f8(_0x3826a5._0x3c4643),'message':_0x529dbd+_0x1824f8(_0x3826a5._0x486b57)};}else{if(!isExternalVarName(_0x529dbd))return{'ok':![],'code':_0x1824f8(_0x3826a5._0x57ec6e),'message':_0x529dbd+'\x20must\x20be\x20UPPER_SNAKE\x20(e.g.\x20APP_BASE_URL)\x20so\x20a\x20scenario\x20can\x20reference\x20it\x20by\x20name.'};}const _0x4c868d=envKeys(_0x398c67['envContent'])[_0x1824f8(_0x3826a5._0x394d3b)](_0x529dbd),_0x2e5be6=envKeys(_0x398c67[_0x1824f8(0x313)])[_0x1824f8(_0x3826a5._0x394d3b)](_0x529dbd),_0x4a006f=_0x5d6c5a===_0x1824f8(_0x3826a5._0x432fbd)?_0x1824f8(_0x3826a5._0x482a8c):_0x1824f8(_0x3826a5._0x17cbd3),_0x44987d=_0x4a006f===_0x1824f8(0x280)?_0x2e5be6:_0x4c868d,_0xcd44c6=_0x4a006f===_0x1824f8(_0x3826a5._0x5898f6)?_0x1824f8(0x3a8):_0x1824f8(0x24c);if(_0x44987d)return{'ok':![],'code':_0x1824f8(0x398),'message':_0x529dbd+'\x20already\x20exists\x20in\x20'+_0xcd44c6+_0x1824f8(_0x3826a5._0x905292)};const _0x5d8e65=[];return _0x5d6c5a===_0x1824f8(_0x3826a5._0xf1b177)&&_0x4c868d&&_0x5d8e65[_0x1824f8(_0x3826a5._0xa02911)](_0x529dbd+'\x20is\x20also\x20set\x20in\x20unotest/.env\x20—\x20the\x20secret\x20value\x20now\x20shadows\x20it.'),_0x5d6c5a!==_0x1824f8(0x2a1)&&_0x2e5be6&&_0x5d8e65['push'](_0x529dbd+_0x1824f8(0x38d)),{'ok':!![],'target':_0x4a006f,'sectionLabel':SECTION_BY_KIND[_0x5d6c5a],'warnings':_0x5d8e65};}__name(planAddVariable,_0xe92bff(0x31c));function deleteShadowWarning(_0x23f2bc,_0x1071c8,_0x103beb){const _0xdfd075=_0xe92bff;if(_0x103beb!==void 0x0&&_0x103beb!==_0x1071c8)return[_0x23f2bc+_0xdfd075(0x194)];return[];}__name(deleteShadowWarning,_0xe92bff(0x39f));var TERMINAL_RUNTIME_STATES=[_0xe92bff(0x2f7),_0xe92bff(0x1de),_0xe92bff(0x3a1)];function isTerminalRuntimeState(_0x1795a5){return TERMINAL_RUNTIME_STATES['includes'](_0x1795a5);}__name(isTerminalRuntimeState,_0xe92bff(0x1a9));var JUDGE_ROUTES={'judge':_0xe92bff(0x38a),'health':'/health'},JUDGE_ENV={'mode':_0xe92bff(0x2cd),'url':'UNOTEST_JUDGE_URL','token':_0xe92bff(0x36a),'requestTimeoutMs':_0xe92bff(0x19c),'preamble':_0xe92bff(0x188),'provider':_0xe92bff(0x2e8),'model':_0xe92bff(0x1f2),'callTimeoutMs':_0xe92bff(0x221),'retries':'UNOTEST_JUDGE_RETRIES','vote':_0xe92bff(0x383),'accessToken':_0xe92bff(0x32f),'claudeBin':_0xe92bff(0x18e),'host':'UNOTEST_JUDGE_HOST','port':_0xe92bff(0x2d3),'logLevel':_0xe92bff(0x222),'skipPreflight':_0xe92bff(0x361)};function approvalActionText(_0xf54442){const _0x88678e={_0x4ee08b:0x1df,_0x42b381:0x37e,_0x36c182:0x1df,_0x50bece:0x2ef,_0x30dd17:0x2b4,_0x425b20:0x214,_0x33f6de:0x214},_0x592465=_0xe92bff;if(_0xf54442[_0x592465(_0x88678e._0x4ee08b)]==='box-create'){const _0x1f86cc=_0xf54442[_0x592465(0x2f2)]?_0x592465(0x3c4):'';return _0x592465(_0x88678e._0x42b381)+_0xf54442['boxName']+'\x22,\x20size\x20'+_0xf54442['size']+_0x1f86cc;}if(_0xf54442[_0x592465(_0x88678e._0x36c182)]===_0x592465(_0x88678e._0x50bece))return _0xf54442[_0x592465(0x214)]===null?_0x592465(0x390):_0x592465(_0x88678e._0x30dd17)+_0xf54442[_0x592465(_0x88678e._0x425b20)]+'\x22';return _0x592465(0x238)+_0xf54442[_0x592465(_0x88678e._0x33f6de)]+'\x22';}__name(approvalActionText,'approvalActionText');function approvalPriceLabel(_0x4535b7){const _0x4a8858={_0x4c8351:0x269},_0x36613d=_0xe92bff;return _0x4535b7['kind']==='picker-on'?_0x36613d(_0x4a8858._0x4c8351):'Price';}__name(approvalPriceLabel,'approvalPriceLabel');function approvalPrice(_0x4fc6db,_0x2a7db5){const _0x5e953f={_0x160015:0x1df,_0x275303:0x1e1,_0x472dc0:0x346,_0x281fdf:0x343},_0x48ef0b=_0xe92bff;if(_0x2a7db5===null)return null;if(_0x4fc6db[_0x48ef0b(_0x5e953f._0x160015)]==='picker-on')return _0x4fc6db[_0x48ef0b(_0x5e953f._0x275303)]?{'kind':_0x48ef0b(_0x5e953f._0x472dc0)}:{'kind':_0x48ef0b(0x343),'cents':_0x2a7db5,'surcharge':!![]};return{'kind':_0x48ef0b(_0x5e953f._0x281fdf),'cents':_0x2a7db5,'surcharge':![]};}__name(approvalPrice,_0xe92bff(0x31a));var PICKER_INCLUDED_TEXT=_0xe92bff(0x204),BOX_DELETE_CONSEQUENCE='The\x20machine\x20and\x20everything\x20on\x20it\x20—\x20runs,\x20screenshots,\x20bundles\x20—\x20are\x20deleted.\x20The\x20rest\x20of\x20the\x20paid\x20hour\x20is\x20not\x20refunded.\x20There\x20is\x20no\x20undo.';function approvalConsequence(_0x57930d){const _0x3761ca={_0x2028d2:0x1a3,_0x321861:0x1df,_0x4f420f:0x2ef},_0x47948d=_0xe92bff;if(_0x57930d['kind']===_0x47948d(0x2e4))return _0x47948d(_0x3761ca._0x2028d2);if(_0x57930d[_0x47948d(_0x3761ca._0x321861)]===_0x47948d(_0x3761ca._0x4f420f))return _0x57930d[_0x47948d(0x214)]===null?'There\x20is\x20no\x20hourly\x20charge:\x20the\x20account\x27s\x20monthly\x20ceiling\x20bounds\x20what\x20the\x20Picker\x20can\x20spend.\x20Each\x20project\x20still\x20connects\x20on\x20its\x20own,\x20with\x20npx\x20@unotest/web\x20picker\x20on.':_0x47948d(0x2e9);return BOX_DELETE_CONSEQUENCE;}__name(approvalConsequence,_0xe92bff(0x1ad));var CLOUD_API_ROUTES=[_0xe92bff(0x24f),'POST\x20/device/token','DELETE\x20/keys/current',_0xe92bff(0x181),_0xe92bff(0x3a6),'GET\x20/boxes',_0xe92bff(0x349),_0xe92bff(0x30d),_0xe92bff(0x325),_0xe92bff(0x2ed),'POST\x20/boxes/:name/access',_0xe92bff(0x1db),_0xe92bff(0x36c),_0xe92bff(0x36d),'POST\x20/account/picker',_0xe92bff(0x3ad),_0xe92bff(0x397),_0xe92bff(0x3be),_0xe92bff(0x35d),_0xe92bff(0x224)];function matchCloudApiRoute(_0x53646b,_0x58481d){const _0x42841a={_0x96926e:0x312,_0x23be97:0x258,_0x379d17:0x344},_0x4b20de=_0xe92bff,_0x404776=_0x58481d[_0x4b20de(_0x42841a._0x96926e)]('/');for(const _0x1cc7c5 of CLOUD_API_ROUTES){const [_0x15b394,_0x3056ef='']=_0x1cc7c5[_0x4b20de(_0x42841a._0x96926e)]('\x20');if(_0x15b394!==_0x53646b)continue;const _0x274de1=_0x3056ef[_0x4b20de(0x312)]('/');if(_0x274de1[_0x4b20de(_0x42841a._0x23be97)]!==_0x404776[_0x4b20de(_0x42841a._0x23be97)])continue;const _0x4ebec4={},_0x26495d=_0x274de1[_0x4b20de(_0x42841a._0x379d17)]((_0x28e3d4,_0x4fa564)=>{const _0x78efe8=_0x4b20de,_0xd84ed7=_0x404776[_0x4fa564]??'';if(!_0x28e3d4[_0x78efe8(0x27f)](':'))return _0x28e3d4===_0xd84ed7;if(_0xd84ed7==='')return![];const _0x37473e=decodeSegment(_0xd84ed7);if(_0x37473e===void 0x0)return![];return _0x4ebec4[_0x28e3d4['slice'](0x1)]=_0x37473e,!![];});if(_0x26495d)return{'route':_0x1cc7c5,'params':_0x4ebec4};}return void 0x0;}__name(matchCloudApiRoute,'matchCloudApiRoute');function decodeSegment(_0x47f331){try{return decodeURIComponent(_0x47f331);}catch{return void 0x0;}}__name(decodeSegment,_0xe92bff(0x1b5));export{ACTOR_TICKET_HEADER,ARTIFACTS_ROOT_ENV,BLOBS_DIR,BOX_DELETE_CONSEQUENCE,BOX_ENV_VALUES_SEGMENT,BOX_NOTIFY_CHANNEL_KINDS,BOX_NOTIFY_EVENTS,BOX_NOTIFY_PATH,BOX_NOTIFY_STATES,BOX_NOTIFY_TRIGGER_KINDS,BOX_PUSH_TOKEN_PREFIX,BOX_READ_ENVIRONMENTS_PATH,BOX_READ_ENVIRONMENT_HEADER,BOX_READ_TOKEN_ENV,BOX_READ_TOKEN_PREFIX,BOX_REVEAL_SEGMENT,BOX_REVOCATIONS_RETRY_AFTER_SECONDS,BOX_RUNS_SEGMENT,BOX_SECRET_NAMES_ENV,BOX_SIGNED_TOKEN,BOX_SIGNED_TOKEN_PREFIX,BOX_TOKEN_ENV,BOX_URL_ENV,BOX_VALUES_PATH,BOX_VARIABLE_NAMES_ENV,BROWSER_CHANNEL_ENV,BROWSER_ENV,BUNDLED_BROWSER_CHANNEL,BUNDLE_ID_ENV,BUNDLE_MANIFEST_FILE,BUNDLE_SCHEMA_VERSION,BUNDLE_UPLOAD_PATH,CI_RUNS_PATH,CI_RUN_LINES_AFTER,CI_RUN_LINES_MAX,CI_RUN_PATH,CLOUD_API_ROUTES,COLLECTIONS_SUBDIR,COLLECTION_NAME_FORBIDDEN_RE,COMMANDS_FILE,DAY_INDEX_FILE,DAY_SHORT,DEFAULT_COLLECTION_NAME,E2E_SUBDIR,EDITOR_TYPES_ENV,ENVIRONMENT_ENV,ENV_FILE,EXPECT_FAIL_ANNOTATION,FAILURES_DIR_SEGMENTS,FAILURES_ROOT_ENV,FREQ_FIELDS,GUARD_SECRET_HEADER,HEARTBEAT_FILE,HELPERS_SUBDIR,InvalidBlobHashError,JUDGE_ENV,JUDGE_ROUTES,LOCK_FILE,LOG_FILE,PICKER_INCLUDED_TEXT,PICKER_SNAPSHOT_FILE,QUEUE_DISABLED_ENV,QUEUE_GLOBAL_DIR_ENV,QUEUE_GLOBAL_SLOTS_ENV,QUEUE_LEASE_ENV,QUEUE_MUTEX_FILE,QUEUE_PRIORITIES,QUEUE_RUNNING_DIR,QUEUE_SCHEMA_VERSION,QUEUE_SLOTS_DIR,QUEUE_SUBDIR,QUEUE_TICKETS_DIR,RUNNER_CONFIG_KEYS,RUNNER_SETTING_PREFIX,RUNS_SUBDIR,RUNTIME_FILE,RUN_ACTOR_ENV,RUN_IDENTITY_ENV_NAMES,RUN_ID_ENV,RUN_INDEX_SCHEMA_VERSION,RUN_MANIFEST_FILE,RUN_SOURCES_FILE,RUN_TRIGGER_ENV,RunnerAdapterNotFoundError,RunnerNotConfiguredError,SCENARIOS_INDEX_DIR,SCENARIOS_LATEST_FILE,SCENARIO_RECENT_WINDOW,SCHEDULES_FILE,SCHEDULES_FINGERPRINT_ENV,SECRETS_FILE,SEGMENT_NAME_FORBIDDEN_RE,SNAPSHOTS_SUBDIR,STDERR_FILE,STDOUT_FILE,STEPS_FILE,TARGET_ENV_VAR,TERMINAL_RUNTIME_STATES,TERMINAL_WS_EVENT,UNOTEST_DIR,UnknownTestError,UnplaceableRunIdError,UnsupportedRunKindError,WEEK_CHIP_ORDER,WORKSPACE_FILE,WORKSPACE_SCHEMA_VERSION,activeEnvName,approvalActionText,approvalConsequence,approvalPrice,approvalPriceLabel,artifactsRootFrom,blobPathFor,blobRelPathFor,blobRelSegmentsFor,blobsRootFor,boxEnvSecretRevealPath,boxEnvSecretsRevealPath,boxEnvValuePath,boxEnvValuesPath,boxNotifyChannelPath,boxNotifyMutePath,boxNotifyPreviewPath,boxNotifyPreviewTrigger,boxNotifyProjectPath,boxNotifyQuietHoursPath,boxNotifyRulePath,boxNotifySeriesPath,boxNotifySeriesResetPath,boxNotifyTestPath,boxRunPath,boxRunsPath,boxValueKindOfSegment,boxValuePath,boxValuesPath,canonicalScheduleSet,categorizeVariable,ciRunLinesPath,compareQueueTicketNames,compareVersions,cronFromSpec,debugDirFor,debuggerFileFor,declaredEnvKeys,decodeNameList,deleteShadowWarning,describeBundle,describeCron,describeSpec,describeTicketCi,encodeNameList,envFileFor,envKeys,envLayerFilesFor,envNamesFromDirListing,failuresRootFrom,failuresRootIn,failuresRootUnder,firstRunCommand,foldScenarioRun,foldTestRun,formatNextTick,insertEnvVar,isAnnotationLine,isBelowMinimum,isBoxNotifyState,isBoxValuesErrorCode,isEnvVarName,isExternalVarName,isFailingStatus,isQueueDirName,isRecord,isRegexLiteral,isReservedBoxValueName,isRunId,isRunIdentityEnvName,isRunnerConfigKey,isRunnerSetting,isRunsDirName,isTerminalRuntimeState,isTestName,lowestVersionOf,makeQueueTicketName,makeRunId,manifestTrigger,maskSecretValues,matchCloudApiRoute,mergeSchedules,nextTickFromSpec,orderSecretValues,parseAppServerEvent,parseBoxEnvValuesReplaceRequest,parseBoxNotifyChanged,parseBoxNotifyError,parseBoxNotifyMuteScope,parseBoxNotifyPreview,parseBoxNotifyProjectView,parseBoxNotifySeriesView,parseBoxNotifyTestResult,parseBoxNotifyView,parseBoxReadEnvironments,parseBoxReadError,parseBoxReadInstall,parseBoxRunAccepted,parseBoxRunRequest,parseBoxRunStatus,parseBoxSecretRevealResponse,parseBoxSecretsRevealResponse,parseBoxValueSetRequest,parseBoxValuesMergeRequest,parseBoxValuesReplaceRequest,parseBoxValuesResponse,parseBundleManifest,parseBundleRemoveRequest,parseBundleRemoveResponse,parseBundleUploadResponse,parseCiProvider,parseCiRunLinesResponse,parseCiRunRequest,parseCiRunResponse,parseCiRunStatusResponse,parseCollectionViewport,parseEnvContent,parseQueueTicket,parseQueueTicketName,parseScenarioAnnotations,parseScheduleEntry,parseSchedulesDoc,parseSchedulesJson,parseTestAnnotations,parseUnknownEnvironmentDetail,parseWorkspaceFile,planAddVariable,projectQueueRoot,projectRunDirFor,projectRunsRoot,queueDirFor,queuePriorityFromRank,queuePriorityRank,regexLiteral,removeEnvVar,replaceEnvVar,requireRunDirFor,reservedBoxValueNames,runDirFor,runIdStartedAt,runIdentityRefusal,runLabel,runStatusOf,runTriggerEnv,runTriggerFromEnv,runsDirFor,sanitizeRunIdSegment,scenarioIndexFileName,scenarioRefFromFileName,scheduleTarget,secretMark,secretsFileFor,secretsLayerFilesFor,selectTests,serializeEnvValue,shardDaysDescending,shardDirFor,shardPathForRunId,shardPathForTimestamp,specFromCron,testDirFor,testIndexFileName,testLabel,validateCollectionName,validateSegmentName,withoutRunIdentity};
|
|
1
|
+
const _0x3d4468=_0x4e34;(function(_0x3b4875,_0x529293){const _0xa275e7={_0x4cd71b:0xcc,_0x90bd03:0x29b,_0x3cc4a6:0x216,_0xb8307d:0x193,_0x4677b9:0x110},_0x37944b=_0x4e34,_0x24fc73=_0x3b4875();while(!![]){try{const _0x2fe6e7=parseInt(_0x37944b(_0xa275e7._0x4cd71b))/0x1+parseInt(_0x37944b(0x173))/0x2+parseInt(_0x37944b(_0xa275e7._0x90bd03))/0x3+-parseInt(_0x37944b(_0xa275e7._0x3cc4a6))/0x4+parseInt(_0x37944b(_0xa275e7._0xb8307d))/0x5*(-parseInt(_0x37944b(0x249))/0x6)+parseInt(_0x37944b(0x1c2))/0x7+parseInt(_0x37944b(_0xa275e7._0x4677b9))/0x8*(-parseInt(_0x37944b(0x18f))/0x9);if(_0x2fe6e7===_0x529293)break;else _0x24fc73['push'](_0x24fc73['shift']());}catch(_0x4ca797){_0x24fc73['push'](_0x24fc73['shift']());}}}(_0xfec7,0x9c3f3));var __defProp=Object[_0x3d4468(0x1b2)],__name=(_0x54638e,_0x2c4dad)=>__defProp(_0x54638e,_0x3d4468(0x144),{'value':_0x2c4dad,'configurable':!![]});function parseAppServerEvent(_0x592cfc){const _0x4222d4={_0x213b8a:0x27a,_0xc4f7ec:0x13d},_0x34030a=_0x3d4468,_0x322d97=_0x592cfc[_0x34030a(0x2e7)]();if(!_0x322d97[_0x34030a(0xe9)]('{'))return null;try{const _0x241782=JSON[_0x34030a(0x215)](_0x322d97);if(_0x241782[_0x34030a(0x27a)]==='app-server:ready'||_0x241782['kind']===_0x34030a(0x2bd)||_0x241782[_0x34030a(_0x4222d4._0x213b8a)]===_0x34030a(_0x4222d4._0xc4f7ec))return _0x241782;return null;}catch{return null;}}__name(parseAppServerEvent,_0x3d4468(0x172));function isRecord(_0x4bb547){const _0x305046=_0x3d4468;return typeof _0x4bb547==='object'&&_0x4bb547!==null&&!Array[_0x305046(0x26c)](_0x4bb547);}__name(isRecord,_0x3d4468(0x2e3));var UNOTEST_DIR=_0x3d4468(0xe2),E2E_SUBDIR=_0x3d4468(0x223),HELPERS_SUBDIR='_helpers',COLLECTIONS_SUBDIR=_0x3d4468(0x146),RUNS_SUBDIR=_0x3d4468(0x20e),SNAPSHOTS_SUBDIR=_0x3d4468(0xf5);function testDirFor(_0x406e43){return''+E2E_SUBDIR+_0x406e43;}__name(testDirFor,_0x3d4468(0x238));function runsDirFor(_0x3601ac,_0x216c89){return''+RUNS_SUBDIR+_0x3601ac+(_0x216c89?'.'+_0x216c89:'');}__name(runsDirFor,_0x3d4468(0x1a9));function isRunsDirName(_0x1b8b5c){return _0x1b8b5c===RUNS_SUBDIR||_0x1b8b5c['startsWith'](RUNS_SUBDIR+'-')||_0x1b8b5c['startsWith'](RUNS_SUBDIR+'.');}__name(isRunsDirName,_0x3d4468(0x2c5));function debugDirFor(_0x598adf){const _0x28a3b6={_0xa5f3ee:0x16a},_0xb49de7=_0x3d4468;return _0xb49de7(_0x28a3b6._0xa5f3ee)+_0x598adf;}__name(debugDirFor,_0x3d4468(0xed));var LOCAL_STATE_DIR='.unotest';function debuggerFileFor(_0x1a4ada){const _0x1d475e=_0x3d4468;return LOCAL_STATE_DIR+_0x1d475e(0x102)+_0x1a4ada+'.json';}__name(debuggerFileFor,_0x3d4468(0xc0));function legacyDebuggerFileFor(_0x9d7931){const _0x2cc490={_0xef280b:0x247},_0x35d279=_0x3d4468;return UNOTEST_DIR+_0x35d279(_0x2cc490._0xef280b)+_0x9d7931+_0x35d279(0x2bc);}__name(legacyDebuggerFileFor,_0x3d4468(0x1f0));var LOCK_FILE=_0x3d4468(0x1e2),LOG_FILE='.viewer.log',STEPS_FILE='steps.jsonl',HEARTBEAT_FILE=_0x3d4468(0x11e),DAY_INDEX_FILE=_0x3d4468(0x194),SCENARIOS_INDEX_DIR=_0x3d4468(0x106),SCENARIOS_LATEST_FILE=_0x3d4468(0x116),STDOUT_FILE='stdout.log',STDERR_FILE='stderr.log',COMMANDS_FILE=_0x3d4468(0x1ab),RUNTIME_FILE=_0x3d4468(0xe8),PICKER_SNAPSHOT_FILE=_0x3d4468(0x2b2),ENV_FILE=_0x3d4468(0x224),SECRETS_FILE='unotest/.secrets',SCHEDULES_FILE=_0x3d4468(0x180);function envFileFor(_0x203f2d,_0x197e1d){return''+ENV_FILE+_0x203f2d+(_0x197e1d?'.'+_0x197e1d:'');}__name(envFileFor,_0x3d4468(0x196));function secretsFileFor(_0x38cde2,_0x1f4b52){return''+SECRETS_FILE+_0x38cde2+(_0x1f4b52?'.'+_0x1f4b52:'');}__name(secretsFileFor,_0x3d4468(0xbc));function envLayerFilesFor(_0x444295,_0x4cb6cf){return layersFor(ENV_FILE,_0x444295,_0x4cb6cf);}__name(envLayerFilesFor,_0x3d4468(0x21f));function secretsLayerFilesFor(_0x2aacaf,_0x88deb3){return layersFor(SECRETS_FILE,_0x2aacaf,_0x88deb3);}__name(secretsLayerFilesFor,_0x3d4468(0x2e4));function layersFor(_0x2173a9,_0x40e272,_0x12713f){const _0x4e6383={_0x2bb733:0x1d3},_0x29676e=_0x3d4468,_0x29ab3a=[_0x2173a9];if(_0x40e272)_0x29ab3a[_0x29676e(_0x4e6383._0x2bb733)](''+_0x2173a9+_0x40e272);if(_0x12713f){_0x29ab3a['push'](_0x2173a9+'.'+_0x12713f);if(_0x40e272)_0x29ab3a[_0x29676e(0x1d3)](''+_0x2173a9+_0x40e272+'.'+_0x12713f);}return _0x29ab3a;}__name(layersFor,_0x3d4468(0x270));var ARTIFACTS_ROOT_ENV=_0x3d4468(0xe0);function artifactsRootFrom(_0x202194,_0x103967){const _0x974003=_0x3d4468,_0x36c824=_0x202194[ARTIFACTS_ROOT_ENV]?.[_0x974003(0x2e7)]();return _0x36c824?_0x36c824:_0x103967;}__name(artifactsRootFrom,_0x3d4468(0x139));var FAILURES_DIR_SEGMENTS=[_0x3d4468(0x164),_0x3d4468(0x272)];function failuresRootUnder(_0x3114b2){const _0x59fff4=_0x3d4468;return[_0x3114b2[_0x59fff4(0xb7)](/\/+$/,''),...FAILURES_DIR_SEGMENTS]['join']('/');}__name(failuresRootUnder,_0x3d4468(0xaf));var FAILURES_ROOT_ENV=_0x3d4468(0x2d0);function failuresRootFrom(_0x592503,_0x39e6dd){const _0x54e149=_0x3d4468,_0xac57c=_0x592503[FAILURES_ROOT_ENV]?.[_0x54e149(0x2e7)]();return _0xac57c?_0xac57c:_0x39e6dd;}__name(failuresRootFrom,_0x3d4468(0xe4));function activeEnvName(_0x325692){const _0x3283ee=_0x3d4468,_0x42f83b=_0x325692[_0x3283ee(0x25a)]?.['trim']();return _0x42f83b?_0x42f83b:void 0x0;}__name(activeEnvName,_0x3d4468(0x169));var RESERVED_ENV_NAMES=new Set([_0x3d4468(0xc6),_0x3d4468(0x1b3),_0x3d4468(0x298)]);function envNamesFromDirListing(_0x739506,_0x191f0f){const _0x9c2e68={_0x3363f5:0x25d,_0x150def:0xe9,_0x5142aa:0x26a,_0x84004b:0x240,_0x52e37c:0x1c6,_0x3daf85:0x212},_0x3110b8=_0x3d4468,_0x530d8b=['.env',_0x3110b8(_0x9c2e68._0x3363f5)]['flatMap'](_0x5b9521=>_0x191f0f?[_0x5b9521,''+_0x5b9521+_0x191f0f]:[_0x5b9521]),_0xce4772=new Set();for(const _0x55c795 of _0x739506){for(const _0x4a7e5d of _0x530d8b){const _0x3c6c05=_0x4a7e5d+'.';if(!_0x55c795[_0x3110b8(_0x9c2e68._0x150def)](_0x3c6c05))continue;const _0x203a09=_0x55c795[_0x3110b8(_0x9c2e68._0x5142aa)](_0x3c6c05['length']);if(!_0x203a09||_0x203a09[_0x3110b8(_0x9c2e68._0x84004b)]('/'))continue;if(RESERVED_ENV_NAMES[_0x3110b8(_0x9c2e68._0x52e37c)](_0x203a09))continue;_0xce4772[_0x3110b8(0x17d)](_0x203a09);}}return[..._0xce4772][_0x3110b8(_0x9c2e68._0x3daf85)]();}__name(envNamesFromDirListing,_0x3d4468(0xb3));function isRegexLiteral(_0x31ca5d){const _0x4f3af9={_0x2de1e4:0x2e8,_0x10cee3:0x22f,_0x503126:0x108},_0x158090=_0x3d4468;return typeof _0x31ca5d===_0x158090(_0x4f3af9._0x2de1e4)&&_0x31ca5d!==null&&_0x31ca5d[_0x158090(0x27a)]===_0x158090(_0x4f3af9._0x10cee3)&&typeof _0x31ca5d[_0x158090(_0x4f3af9._0x503126)]===_0x158090(0x28f)&&typeof _0x31ca5d['flags']===_0x158090(0x28f);}__name(isRegexLiteral,_0x3d4468(0x1dd));function regexLiteral(_0x5a8008,_0x39e549=''){return{'kind':'regex','source':_0x5a8008,'flags':_0x39e549};}__name(regexLiteral,'regexLiteral');var RANDOM_SUFFIX_RE=/^[0-9a-f]{6,}$/,MIN_PLAUSIBLE_MS=Date[_0x3d4468(0x2b6)](0x7e4,0x0,0x1),MAX_PLAUSIBLE_MS=Date[_0x3d4468(0x2b6)](0x834,0x0,0x1);function runIdStartedAt(_0x42095f){const _0x3b3f89={_0x3053c3:0x214,_0xb01d2f:0x1ee},_0x4a2c4a=_0x3d4468,_0x25cbec=_0x42095f['split']('-');if(_0x25cbec[_0x4a2c4a(0x214)]<0x3)return null;const _0x54ffd3=_0x25cbec[_0x25cbec[_0x4a2c4a(_0x3b3f89._0x3053c3)]-0x1];if(!RANDOM_SUFFIX_RE[_0x4a2c4a(_0x3b3f89._0xb01d2f)](_0x54ffd3))return null;const _0x50fc4e=_0x25cbec[_0x25cbec[_0x4a2c4a(_0x3b3f89._0x3053c3)]-0x2];if(!/^[0-9a-z]+$/[_0x4a2c4a(_0x3b3f89._0xb01d2f)](_0x50fc4e))return null;const _0x1f1665=parseInt(_0x50fc4e,0x24);if(!Number['isFinite'](_0x1f1665))return null;if(_0x1f1665<MIN_PLAUSIBLE_MS||_0x1f1665>=MAX_PLAUSIBLE_MS)return null;return _0x1f1665;}__name(runIdStartedAt,_0x3d4468(0x126));function shardPathForTimestamp(_0x1faa30){const _0x5dcfa4={_0x5dfc27:0x2d2},_0x556698=_0x3d4468,_0x5c0e2b=new Date(_0x1faa30),_0xbf9137=String(_0x5c0e2b[_0x556698(0x28d)]())[_0x556698(_0x5dcfa4._0x5dfc27)](0x4,'0'),_0x3dcc81=String(_0x5c0e2b[_0x556698(0x189)]()+0x1)['padStart'](0x2,'0'),_0x3e73e6=String(_0x5c0e2b['getUTCDate']())[_0x556698(0x2d2)](0x2,'0');return _0xbf9137+'/'+_0x3dcc81+'/'+_0x3e73e6;}__name(shardPathForTimestamp,'shardPathForTimestamp');function shardPathForRunId(_0x1589d6){const _0x29a526=runIdStartedAt(_0x1589d6);return _0x29a526===null?null:shardPathForTimestamp(_0x29a526);}__name(shardPathForRunId,_0x3d4468(0x27f));function runDirFor(_0x5a5cab,_0x20724f){const _0x239427=shardPathForRunId(_0x20724f);return _0x239427===null?null:_0x5a5cab+'/'+_0x239427+'/'+_0x20724f;}__name(runDirFor,_0x3d4468(0x186));var UnplaceableRunIdError=class extends Error{static{__name(this,_0x3d4468(0x22d));}constructor(_0x516627){const _0x50e311={_0x56eeb9:0x1f2,_0x355598:0x22d},_0x39ac00=_0x3d4468;super(_0x39ac00(_0x50e311._0x56eeb9)+_0x516627),this[_0x39ac00(0x144)]=_0x39ac00(_0x50e311._0x355598);}};function requireRunDirFor(_0x353361,_0x350899){const _0x4ef650=runDirFor(_0x353361,_0x350899);if(_0x4ef650===null)throw new UnplaceableRunIdError(_0x350899);return _0x4ef650;}__name(requireRunDirFor,_0x3d4468(0x137));function projectRunsRoot(_0x19d723='',_0x29bb7f){return UNOTEST_DIR+'/'+runsDirFor(_0x19d723,_0x29bb7f);}__name(projectRunsRoot,_0x3d4468(0x219));function failuresRootIn(_0x5252ea,_0x3a6bd2){const _0x553fb6=_0x3d4468;return failuresRootUnder(_0x5252ea[_0x553fb6(0xb7)](/\/+$/,'')+'/'+projectRunsRoot('',_0x3a6bd2));}__name(failuresRootIn,_0x3d4468(0x202));function projectRunDirFor(_0x2682ac,_0x324505='',_0x2618c6){return requireRunDirFor(projectRunsRoot(_0x324505,_0x2618c6),_0x2682ac);}__name(projectRunDirFor,_0x3d4468(0x18c));function shardDirFor(_0x4cc64a,_0x24294a){return _0x4cc64a+'/'+shardPathForTimestamp(_0x24294a);}__name(shardDirFor,_0x3d4468(0x163));function*shardDaysDescending(_0x1bb2d7,_0xdaa2ad,_0xea7d68){const _0x530cb5=0x5265c00;let _0x159f04=Math['floor'](_0xdaa2ad/_0x530cb5)*_0x530cb5;for(let _0x4fd6d8=0x0;_0x4fd6d8<_0xea7d68;_0x4fd6d8++){yield shardDirFor(_0x1bb2d7,_0x159f04),_0x159f04-=_0x530cb5;}}__name(shardDaysDescending,_0x3d4468(0x227));var RAND_BYTES=0x6;function makeRunId(_0x403248){const _0x10a269={_0x2a3665:0xfc,_0x15e0a9:0x142},_0xb86441=_0x3d4468,_0x31db5d=sanitizeRunIdSegment(_0x403248),_0x4d4989=Date[_0xb86441(_0x10a269._0x2a3665)]()[_0xb86441(_0x10a269._0x15e0a9)](0x24),_0x49ded2=new Uint8Array(RAND_BYTES);globalThis['crypto']['getRandomValues'](_0x49ded2);let _0x290b40='';for(let _0x3aa13f=0x0;_0x3aa13f<_0x49ded2[_0xb86441(0x214)];_0x3aa13f++){_0x290b40+=_0x49ded2[_0x3aa13f]['toString'](0x10)[_0xb86441(0x2d2)](0x2,'0');}return _0x31db5d+'-'+_0x4d4989+'-'+_0x290b40;}__name(makeRunId,_0x3d4468(0x17a));function sanitizeRunIdSegment(_0x2e348a){const _0x5d7021={_0x1c9807:0xb7,_0x5ca415:0x263},_0x3af4d8=_0x3d4468,_0x4f4058=_0x2e348a[_0x3af4d8(0xb7)](/[^a-zA-Z0-9_-]+/g,'-')[_0x3af4d8(_0x5d7021._0x1c9807)](/-+/g,'-')['replace'](/^-|-$/g,'');return _0x4f4058['length']>0x0?_0x4f4058:_0x3af4d8(_0x5d7021._0x5ca415);}__name(sanitizeRunIdSegment,_0x3d4468(0x174));function isRunId(_0x46c792){const _0x56a83c={_0x238419:0x1ee},_0x3eebee=_0x3d4468;return/^[A-Za-z0-9_-]+$/[_0x3eebee(_0x56a83c._0x238419)](_0x46c792)&&runIdStartedAt(_0x46c792)!==null;}__name(isRunId,_0x3d4468(0x2b7));var RUN_INDEX_SCHEMA_VERSION=0x5,SCENARIO_RECENT_WINDOW=0xc;function isFailingStatus(_0x4edb8d){const _0x204913={_0x1427c5:0xa1,_0x2fd8b6:0x10b},_0x83683d=_0x3d4468;return _0x4edb8d===_0x83683d(_0x204913._0x1427c5)||_0x4edb8d===_0x83683d(_0x204913._0x2fd8b6);}__name(isFailingStatus,'isFailingStatus');function runStatusOf(_0x1b4470,_0x5a603f){const _0x119399={_0x5dfe6c:0xbb,_0x408b81:0x10b},_0x4744b7=_0x3d4468;switch(_0x1b4470){case _0x4744b7(0x18a):return _0x5a603f!==void 0x0?_0x4744b7(0x2da):'passed';case _0x4744b7(0xa1):case _0x4744b7(_0x119399._0x5dfe6c):case _0x4744b7(_0x119399._0x408b81):return _0x1b4470;}}__name(runStatusOf,_0x3d4468(0xa2));function recentRuns(_0x5a75c8){const _0x1280d3=_0x3d4468;return _0x5a75c8['recent'][_0x1280d3(0x2c6)]((_0x28fa70,_0x407acd)=>({'status':_0x28fa70,'expectFail':_0x5a75c8[_0x1280d3(0x199)]?.[_0x407acd]===!![],'errored':_0x5a75c8[_0x1280d3(0x1bb)]?.[_0x407acd]===!![]}));}__name(recentRuns,'recentRuns');function foldScenarioRun(_0x3e9c4a,_0x596672){const _0x5d0f6e={_0x1edbf0:0x28a,_0x5ade30:0x275,_0xd2fbc:0x2c6,_0x197139:0x2c6,_0x27088a:0x190,_0x5eda7b:0x2c6,_0x34398f:0x28a,_0x32e316:0x138},_0x3d0f07=_0x3d4468,_0x2271d7=[..._0x3e9c4a?recentRuns(_0x3e9c4a):[],{'status':_0x596672[_0x3d0f07(0x28a)],'expectFail':_0x596672['expectFail']===!![],'errored':_0x596672[_0x3d0f07(0xc2)]===!![]}]['slice'](-SCENARIO_RECENT_WINDOW),_0x251a0a={'lastRunId':_0x596672[_0x3d0f07(0x1bc)],'lastStatus':_0x596672[_0x3d0f07(_0x5d0f6e._0x1edbf0)],'lastAt':_0x596672['startedAt'],'lastDurationMs':_0x596672['durationMs'],..._0x596672[_0x3d0f07(0x1ec)]!==void 0x0?{'lastSkipReason':_0x596672[_0x3d0f07(0x1ec)]}:{},..._0x596672[_0x3d0f07(_0x5d0f6e._0x5ade30)]===!![]?{'lastExpectFail':!![]}:{},..._0x596672[_0x3d0f07(0xc2)]===!![]?{'lastErrored':!![]}:{},'recent':_0x2271d7[_0x3d0f07(_0x5d0f6e._0xd2fbc)](_0x1dfa06=>_0x1dfa06[_0x3d0f07(0x28a)]),..._0x2271d7['some'](_0x44b055=>_0x44b055['expectFail'])?{'recentExpectFail':_0x2271d7[_0x3d0f07(_0x5d0f6e._0x197139)](_0x177cbb=>_0x177cbb[_0x3d0f07(0x275)])}:{},..._0x2271d7[_0x3d0f07(_0x5d0f6e._0x27088a)](_0x1a56d2=>_0x1a56d2['errored'])?{'recentErrored':_0x2271d7[_0x3d0f07(_0x5d0f6e._0x5eda7b)](_0x5119b3=>_0x5119b3[_0x3d0f07(0xc2)])}:{},..._0x3e9c4a?.[_0x3d0f07(0x299)]!==void 0x0?{'tests':_0x3e9c4a[_0x3d0f07(0x299)]}:{}};if(!isFailingStatus(_0x596672[_0x3d0f07(_0x5d0f6e._0x34398f)]))return{..._0x251a0a,'failStreak':0x0,'failingSince':null};const _0x10c74c=(_0x3e9c4a?.[_0x3d0f07(_0x5d0f6e._0x32e316)]??0x0)+0x1;return{..._0x251a0a,'failStreak':_0x10c74c,'failingSince':_0x10c74c===0x1?_0x596672['startedAt']:_0x3e9c4a?.[_0x3d0f07(0x2e0)]??_0x596672['startedAt']};}__name(foldScenarioRun,'foldScenarioRun');function foldTestRun(_0x3d4447,_0x43480e,_0x2cdba4){const _0x39ad1d=_0x3d4468;return{..._0x3d4447,'tests':{..._0x3d4447['tests'],[_0x43480e]:foldScenarioRun(_0x3d4447[_0x39ad1d(0x299)]?.[_0x43480e],_0x2cdba4)}};}__name(foldTestRun,_0x3d4468(0x232));function scenarioIndexFileName(_0x106091){const _0x4596f4=_0x3d4468;return encodeURIComponent(_0x106091)+_0x4596f4(0x292);}__name(scenarioIndexFileName,_0x3d4468(0x143));function testIndexFileName(_0x4d165f,_0x5d1c23){const _0x396dfd={_0x4d977d:0x292},_0x374a8d=_0x3d4468;return encodeURIComponent(_0x4d165f)+'@'+encodeURIComponent(_0x5d1c23)+_0x374a8d(_0x396dfd._0x4d977d);}__name(testIndexFileName,'testIndexFileName');function scenarioRefFromFileName(_0x3e3fc1){const _0x2f7aef={_0x287fee:0x184,_0x74ac0e:0x214},_0x3790ba=_0x3d4468;if(!_0x3e3fc1[_0x3790ba(_0x2f7aef._0x287fee)](_0x3790ba(0x292)))return null;try{return decodeURIComponent(_0x3e3fc1['slice'](0x0,-'.jsonl'[_0x3790ba(_0x2f7aef._0x74ac0e)]));}catch{return null;}}__name(scenarioRefFromFileName,'scenarioRefFromFileName');var BROWSER_ENV=_0x3d4468(0xda),BROWSER_CHANNEL_ENV='UNOTEST_BROWSER_CHANNEL',BUNDLED_BROWSER_CHANNEL=_0x3d4468(0x27d),BOX_VARIABLE_NAMES_ENV=_0x3d4468(0xbd),BOX_SECRET_NAMES_ENV='UNOTEST_BOX_SECRET_NAMES';function encodeNameList(_0x24061d){const _0x14ebed=_0x3d4468;return _0x24061d[_0x14ebed(0xa6)](',');}__name(encodeNameList,_0x3d4468(0x1c9));function decodeNameList(_0x29708b){const _0x48a30f={_0x2feeb9:0x182,_0x4da34a:0x2c6},_0x3c0bbf=_0x3d4468;if(_0x29708b===void 0x0)return[];return _0x29708b[_0x3c0bbf(_0x48a30f._0x2feeb9)](',')[_0x3c0bbf(_0x48a30f._0x4da34a)](_0x4cbbfe=>_0x4cbbfe[_0x3c0bbf(0x2e7)]())[_0x3c0bbf(0x1a6)](_0x2117da=>_0x2117da!=='');}__name(decodeNameList,'decodeNameList');var BUNDLE_SCHEMA_VERSION=0x1,BUNDLE_MANIFEST_FILE=_0x3d4468(0x1c3),BUNDLE_UPLOAD_PATH=_0x3d4468(0x277),BOX_URL_ENV=_0x3d4468(0x230),BOX_TOKEN_ENV=_0x3d4468(0x107),BOX_PUSH_TOKEN_PREFIX=_0x3d4468(0x1cb),BOX_SIGNED_TOKEN_PREFIX='unos_',BOX_SIGNED_TOKEN=/^unos_[A-Za-z0-9_-]+$/,BUNDLE_ID_ENV=_0x3d4468(0x145),SCHEDULES_FINGERPRINT_ENV=_0x3d4468(0x279);function parseGitInfo(_0x31cea5){const _0xff32f4={_0x2dd715:0x28f},_0x42047f=_0x3d4468;if(!isRecord(_0x31cea5))return null;const {repo:_0x2d2ef1,branch:_0x4c295e,sha:_0x197699,dirty:_0x555a5d}=_0x31cea5;if(typeof _0x555a5d!==_0x42047f(0x1b7))return null;for(const _0x3f6bd6 of[_0x2d2ef1,_0x4c295e,_0x197699]){if(_0x3f6bd6!==void 0x0&&typeof _0x3f6bd6!==_0x42047f(0x28f))return null;}return{'dirty':_0x555a5d,...typeof _0x2d2ef1===_0x42047f(0x28f)?{'repo':_0x2d2ef1}:{},...typeof _0x4c295e==='string'?{'branch':_0x4c295e}:{},...typeof _0x197699===_0x42047f(_0xff32f4._0x2dd715)?{'sha':_0x197699}:{}};}__name(parseGitInfo,'parseGitInfo');function parseBundleManifest(_0x361d29){const _0x41aa9d={_0x3ad4b3:0x28f,_0x2fa368:0x214,_0x35d21e:0x28f,_0x4c4a13:0x9f,_0x1cca1b:0x252,_0x27ebd5:0x28f},_0x21a907=_0x3d4468;if(!isRecord(_0x361d29))return null;const {schemaVersion:_0x5b5a71,bundleId:_0x5eea50,sha256:_0x3268f5,createdAt:_0x50bf93,webVersion:_0x369f40,author:_0x5e4b7d,git:_0x4e2122,fileCount:_0x4872d7,byteSize:_0x4b2678,declaredVariables:_0x508170,schedulesFingerprint:_0x2edc15}=_0x361d29;if(_0x5b5a71!==BUNDLE_SCHEMA_VERSION)return null;if(typeof _0x5eea50!==_0x21a907(_0x41aa9d._0x3ad4b3)||_0x5eea50[_0x21a907(_0x41aa9d._0x2fa368)]===0x0)return null;if(_0x3268f5!==void 0x0&&!/^[0-9a-f]{64}$/[_0x21a907(0x1ee)](String(_0x3268f5)))return null;if(typeof _0x369f40!==_0x21a907(_0x41aa9d._0x35d21e)||_0x369f40[_0x21a907(0x214)]===0x0)return null;if(typeof _0x50bf93!==_0x21a907(0x9f)||!Number[_0x21a907(0x26b)](_0x50bf93))return null;if(typeof _0x4872d7!==_0x21a907(_0x41aa9d._0x4c4a13)||!Number[_0x21a907(_0x41aa9d._0x1cca1b)](_0x4872d7))return null;if(typeof _0x4b2678!=='number'||!Number[_0x21a907(_0x41aa9d._0x1cca1b)](_0x4b2678))return null;if(_0x5e4b7d!==void 0x0&&typeof _0x5e4b7d!==_0x21a907(0x28f))return null;let _0x510d02=null;if(_0x4e2122!==void 0x0){_0x510d02=parseGitInfo(_0x4e2122);if(_0x510d02===null)return null;}const _0x1c4801=Array[_0x21a907(0x26c)](_0x508170)?_0x508170[_0x21a907(0x1a6)](_0x5f4c21=>typeof _0x5f4c21==='string'):[],_0x371415=parseBundleTests(_0x361d29[_0x21a907(0x299)]),_0xb0b76b=typeof _0x2edc15===_0x21a907(_0x41aa9d._0x35d21e)&&/^[0-9a-f]{64}$/['test'](_0x2edc15)?_0x2edc15:void 0x0;return{'schemaVersion':BUNDLE_SCHEMA_VERSION,'bundleId':_0x5eea50,...typeof _0x3268f5===_0x21a907(0x28f)?{'sha256':_0x3268f5}:{},'createdAt':_0x50bf93,'webVersion':_0x369f40,'fileCount':_0x4872d7,'byteSize':_0x4b2678,...typeof _0x5e4b7d===_0x21a907(_0x41aa9d._0x27ebd5)?{'author':_0x5e4b7d}:{},..._0x510d02?{'git':_0x510d02}:{},..._0x1c4801['length']>0x0?{'declaredVariables':_0x1c4801}:{},..._0x371415!==null?{'tests':_0x371415}:{},..._0xb0b76b!==void 0x0?{'schedulesFingerprint':_0xb0b76b}:{}};}__name(parseBundleManifest,_0x3d4468(0x105));function parseBundleTests(_0xb9d6bb){const _0x3b0996={_0x66b0be:0x206},_0x3f923c=_0x3d4468;if(!isRecord(_0xb9d6bb))return null;const _0x599146=Object[_0x3f923c(0x119)](_0xb9d6bb);if(!_0x599146[_0x3f923c(_0x3b0996._0x66b0be)](([,_0x2379ac])=>isStringList(_0x2379ac)))return null;return Object['fromEntries'](_0x599146[_0x3f923c(0x2c6)](([_0x54a9c8,_0x141ad1])=>[_0x54a9c8,[..._0x141ad1]]));}__name(parseBundleTests,_0x3d4468(0xd2));function _0x4e34(_0x10452c,_0x1f2d1d){_0x10452c=_0x10452c-0x9b;const _0xfec759=_0xfec7();let _0x4e3419=_0xfec759[_0x10452c];if(_0x4e34['hjtnix']===undefined){var _0x2352dc=function(_0x1c5d79){const _0x465523='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x54638e='',_0x2c4dad='';for(let _0x592cfc=0x0,_0x322d97,_0x241782,_0x4bb547=0x0;_0x241782=_0x1c5d79['charAt'](_0x4bb547++);~_0x241782&&(_0x322d97=_0x592cfc%0x4?_0x322d97*0x40+_0x241782:_0x241782,_0x592cfc++%0x4)?_0x54638e+=String['fromCharCode'](0xff&_0x322d97>>(-0x2*_0x592cfc&0x6)):0x0){_0x241782=_0x465523['indexOf'](_0x241782);}for(let _0x406e43=0x0,_0x3601ac=_0x54638e['length'];_0x406e43<_0x3601ac;_0x406e43++){_0x2c4dad+='%'+('00'+_0x54638e['charCodeAt'](_0x406e43)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2c4dad);};_0x4e34['gKaCwI']=_0x2352dc,_0x4e34['ZPZWfw']={},_0x4e34['hjtnix']=!![];}const _0x1d5af3=_0xfec759[0x0],_0x2c9579=_0x10452c+_0x1d5af3,_0x184c8d=_0x4e34['ZPZWfw'][_0x2c9579];return!_0x184c8d?(_0x4e3419=_0x4e34['gKaCwI'](_0x4e3419),_0x4e34['ZPZWfw'][_0x2c9579]=_0x4e3419):_0x4e3419=_0x184c8d,_0x4e3419;}function isStringList(_0x2a2e56){const _0x1fb01c=_0x3d4468;return Array[_0x1fb01c(0x26c)](_0x2a2e56)&&_0x2a2e56['every'](_0x5f2127=>typeof _0x5f2127===_0x1fb01c(0x28f));}__name(isStringList,_0x3d4468(0x235));function describeBundle(_0x4ebc03){const _0x350258={_0xfcd07d:0xf2,_0x415937:0x26a,_0x4e87eb:0x150},_0x30d273=_0x3d4468,_0x5e6903=_0x4ebc03['git'];if(!_0x5e6903||_0x5e6903[_0x30d273(0x150)]===void 0x0&&_0x5e6903[_0x30d273(0xf2)]===void 0x0)return _0x4ebc03[_0x30d273(0x226)];const _0x300599=_0x5e6903[_0x30d273(_0x350258._0xfcd07d)]?_0x5e6903[_0x30d273(_0x350258._0xfcd07d)][_0x30d273(_0x350258._0x415937)](0x0,0x7):'?',_0xdf6f8c=_0x5e6903[_0x30d273(_0x350258._0x4e87eb)]??'?';return _0xdf6f8c+'@'+_0x300599+(_0x5e6903[_0x30d273(0x170)]?'\x20(wip)':'');}__name(describeBundle,_0x3d4468(0x285));var UPLOAD_ERROR_CODES=[_0x3d4468(0x131),'too-large',_0x3d4468(0x12d),_0x3d4468(0x16e),_0x3d4468(0x2a3),_0x3d4468(0x1cc),_0x3d4468(0x12f),_0x3d4468(0x1a0),_0x3d4468(0x135),_0x3d4468(0x29e)];function parseBundleUploadResponse(_0x1eb6ea){const _0x13e30c={_0x1c09a2:0x259,_0x4a20e1:0x259,_0x2386c6:0x240,_0x57400b:0x259,_0x2ddf02:0x214},_0x5f1142=_0x3d4468;if(!isRecord(_0x1eb6ea))return null;if(isRecord(_0x1eb6ea[_0x5f1142(_0x13e30c._0x1c09a2)])){const {code:_0x52fafd,message:_0x14fffd}=_0x1eb6ea[_0x5f1142(_0x13e30c._0x4a20e1)];if(!UPLOAD_ERROR_CODES[_0x5f1142(_0x13e30c._0x2386c6)](_0x52fafd))return null;if(typeof _0x14fffd!=='string')return null;return{'error':{'code':_0x52fafd,'message':_0x14fffd,...parseRefusalDetail(_0x1eb6ea[_0x5f1142(_0x13e30c._0x57400b)])}};}const {status:_0x521882,bundleId:_0x55b69b}=_0x1eb6ea;if(_0x521882!=='created'&&_0x521882!=='exists')return null;if(typeof _0x55b69b!==_0x5f1142(0x28f)||_0x55b69b[_0x5f1142(_0x13e30c._0x2ddf02)]===0x0)return null;const _0x3b8b4d=parseVariableGaps(_0x1eb6ea['variableGaps']),_0x458b07=parseUnmappedRepo(_0x1eb6ea['unmappedRepo']);return{'status':_0x521882,'bundleId':_0x55b69b,..._0x3b8b4d===null?{}:{'variableGaps':_0x3b8b4d},...nonEmptyString(_0x1eb6ea[_0x5f1142(0x2d3)])?{'project':_0x1eb6ea['project']}:{},...nonEmptyString(_0x1eb6ea[_0x5f1142(0x160)])?{'tokenLabel':_0x1eb6ea['tokenLabel']}:{},..._0x458b07===null?{}:{'unmappedRepo':_0x458b07}};}__name(parseBundleUploadResponse,_0x3d4468(0x141));function parseBundleRemoveRequest(_0x4f6468){if(_0x4f6468===void 0x0)return{};if(!isRecord(_0x4f6468))return null;const {switchTo:_0x292881}=_0x4f6468;if(_0x292881===void 0x0)return{};return nonEmptyString(_0x292881)?{'switchTo':_0x292881}:null;}__name(parseBundleRemoveRequest,'parseBundleRemoveRequest');var REMOVE_ERROR_CODES=[_0x3d4468(0x131),_0x3d4468(0x1cc),_0x3d4468(0x12f),_0x3d4468(0x1a0),_0x3d4468(0x135),'unknown-bundle',_0x3d4468(0x1a3),'in-use','malformed','method',_0x3d4468(0x29e)],USE_REASONS=[_0x3d4468(0x207),_0x3d4468(0x233),_0x3d4468(0xce)];function parseBundleRemoveResponse(_0x1e6526){const _0x2e859d={_0x4b51b3:0x259,_0x1017ac:0x11a,_0x1199e6:0x179,_0x19e773:0x1be},_0x1d3334=_0x3d4468;if(!isRecord(_0x1e6526))return null;if(isRecord(_0x1e6526[_0x1d3334(_0x2e859d._0x4b51b3)])){const {code:_0x5cf913,message:_0x3f276d,uses:_0x521bf7,project:_0x4a6266}=_0x1e6526['error'];if(!REMOVE_ERROR_CODES[_0x1d3334(0x240)](_0x5cf913))return null;if(typeof _0x3f276d!=='string')return null;const _0x479e6e=parseBundleUses(_0x521bf7);return{'error':{'code':_0x5cf913,'message':_0x3f276d,..._0x479e6e[_0x1d3334(0x214)]>0x0?{'uses':_0x479e6e}:{},...nonEmptyString(_0x4a6266)?{'project':_0x4a6266}:{}}};}const {status:_0x230d95,bundleId:_0x44b5b5,project:_0x2e9f1c}=_0x1e6526;if(!nonEmptyString(_0x44b5b5)||!nonEmptyString(_0x2e9f1c))return null;if(_0x230d95==='removed')return{'status':_0x230d95,'bundleId':_0x44b5b5,'project':_0x2e9f1c};if(_0x230d95!==_0x1d3334(_0x2e859d._0x1017ac)||!nonEmptyString(_0x1e6526[_0x1d3334(_0x2e859d._0x1199e6)]))return null;const _0xbd886=Array[_0x1d3334(0x26c)](_0x1e6526[_0x1d3334(_0x2e859d._0x19e773)])?_0x1e6526[_0x1d3334(0x1be)]:null;if(_0xbd886===null||!_0xbd886[_0x1d3334(0x206)](nonEmptyString))return null;return{'status':_0x230d95,'bundleId':_0x44b5b5,'project':_0x2e9f1c,'switchTo':_0x1e6526['switchTo'],'environments':_0xbd886};}__name(parseBundleRemoveResponse,_0x3d4468(0x1b1));function _0xfec7(){const _0x105392=['lNnLy3jLDhm','CxvLDwvK','Dw5RBM93BI1ZzxjPzxm','Aw50zxjHy3rPDMu','vu5pvevtvf9kvurhrv9nt0rfta','vu5pvevtvf9huK9vtKrfuL9sru1pvevFvvjm','CNvU','iokaLcbWAwnRigeGzgLMzMvYzw50ig5HBwuGB3iGzwrPDcb0AguGzxHPC3rPBMCGDMfSDwuU','C3rHCNrpzKrHEq','uMvUDcbHigjVEcaI','CMvTB3zLrw52vMfY','zgvSzxrLu2HHzg93v2fYBMLUzW','CgfYC2vdAvj1BLjLCxvLC3q','C2XPy2u','AxngAw5PDgu','AxnbCNjHEq','DgHYzwfKswq','vu5pvevtvf9eruzbvuXux1rjtuvpvvrFtvm','l2HLywX0Aa','Bgf5zxjZrM9Y','Dw5RBM93BI1YDwXL','zMfPBhvYzxm','Bw9Kzq','ANvKz2vtzwnYzxrfBNzoyw1LCW','zxHWzwn0rMfPBa','icOGkIa','l2fWAs9IB3GVyNvUzgXLCW','igLZig5VDcbHigTUB3DUihj1BM5LCIbZzxr0Aw5NiokaLcbJAg9VC2uGB25LigzYB20GDgHLihj1BM5LCI1JB25MAwCGBgLZDc4','vu5pvevtvf9tq0HfrfvmrvnFrKLor0vsufjjtLq','A2LUza','iIbPBIa','CgLUBMvKlwvUDMLYB25Tzw50lwvTChr5','yNvUzgXLza','A2v5CW','C2HHCMrqyxrOrM9YuNvUswq','z2v0sg91CNm','r0vuic9IB3HLCW','vu5pvevtvf9kvurhrv9it1nu','jNn0yxrLpq','zw52','zgvZy3jPyMvcDw5KBgu','BgfZDe5VDgLMAwvKqxq','CgfYC2vty2HLzhvSzxneB2m','DMfSAwrHDgvdB2XSzwn0Aw9UtMfTzq','CgfYC2vcB3HszwfKrw52AxjVBM1LBNrZ','C3rHDhvZ','AxnsDw5Uzxjtzxr0Aw5N','sw52ywXPzejSB2jiyxnOrxjYB3i','z2v0vvrdrNvSBfLLyxi','CgfYC2vvBM1HChbLzfjLCg8','C3rYAw5N','CgfYC2vcB3HwywX1zvnLDfjLCxvLC3q','CNvUCW','lMPZB25S','CgfYC2vcB3HszwfKsw5ZDgfSBa','vu5pvevtvf9kvurhrv9ts0Lqx1bsruzmsuDiva','BM90lwzVDw5K','lNDVCMTZCgfJzs5QC29U','DMfSAwrHDgvtzwDTzw50tMfTzq','DgvTCgXHDgu','DgvZDhm','CMvHC29U','mtuYmZq0nwfxuKDjBa','yM94tM90Awz5u2vYAwvZuMvZzxrqyxrO','CgfYC2vizwfKzxjgBgfNCW','C3rVCMfNzq','DxjS','vu5pvevtvf9rvuvvrv9hte9cquXFu0Xpvfm','AgfZt3DU','CgfYC2vcB3HtzwnYzxrszxzLywXszxnWB25Zzq','BwLUlxzLCNnPB24','CNvUvhjPz2DLCKzYB21fBNy','qvbqx0jbu0vFvvjm','CgfYC2vnDxrL','BNvTyMvYCW','vu5pvevtvf9svu5Fqunut1i','AxntDhjPBMDbCNjHEq','ywnJzxnZvg9Rzw4','CgfYC2vfBNzdB250zw50','BMv0D29YAW','vu5pvevtvf9freLut1jFvfLqrvm','zgfPBhK','CgfYC2vrDwLLDeHVDxjZ','revmrvrfic9Hy2nVDw50l3bPy2TLCG','l3nLCMLLCW','CgLJA2vYlxnUyxbZAg90lNr4Da','r0vuic9HChbYB3zHBhmVoMLK','kg5VBMuP','zMLUza','vvrd','AxnsDw5jza','DxbKyxrLza','t1bftKfjx0fqsv9lrvK','C3rLCc1MywLSzwq','Dw50AwW','lMPZB24','yxbWlxnLCNzLCJPYzxvZzwq','AM9PBKXPBMvZ','tw9U','CgfYC2vuzxn0qw5UB3rHDgLVBNm','y29SBgvJDgLVBG','AxnuCMLNz2vYs2LUza','yxbWCM92ywXqCMLJzq','BwfUDwfS','AxnsDw5ZrgLYtMfTzq','BwfW','yMXVyLbHDgHgB3i','CgfYC2vtDhjPBMDszwnVCMq','DgvSzwDYyw0','CgfYC2voyw1LtgLZDa','ChjVDMLKzxi','z2v0twLUDxrLCW','D2vIAg9VA1vYBa','vgHLig1Hy2HPBMuGyw5Kigv2zxj5DgHPBMCGB24GAxqG4Ocuihj1BNmSihnJCMvLBNnOB3rZlcbIDw5KBgvZiokaLcbHCMuGzgvSzxrLzc4GvgHLihjLC3qGB2yGDgHLihbHAwqGAg91CIbPCYbUB3qGCMvMDw5KzwqUifrOzxjLigLZig5VihvUzg8U','Dw5RBM93BI1TDxrL','vu5pvevtvf9gquLmvvjfu19st09u','C3bLy0zYB21dCM9U','CgfKu3rHCNq','ChjVAMvJDa','zxzLBNrZ','CMvZzxj2zwrcB3HwywX1zu5HBwvZ','l19NDwfYzc9HCgKVzw52CW','CMvTB3zLza','y3jLyxrLzef0','yMXVyNnsB290rM9Y','C2TPChbLza','vgH1','z2v0vgLTzq','vw5RBM93BLrLC3rfCNjVCG','yxbWCM92ywXqCMLJzuXHyMvS','l3f1Awv0lwHVDxjZ','zMfPBgLUz1nPBMnL','zNjLzxPL','zM9YyMLKzgvU','AxnszwnVCMq','C2vJCMv0C0XHEwvYrMLSzxngB3i','DMfSDwu','zMLYC3rsDw5dB21Tyw5K','DhjPBq','B2jQzwn0','zxHWzwn0zwqGysbTyxbWAw5NihDPDgGGysbGC2nOzwr1BgvZoMaGyxjYyxK','vu5pvevtvf9svu5Fvfjjr0DfuG','DgLTzxm','C2vJCMv0C0nVBNrLBNq','BNvTyMvY','r0vuic9IB3HLCY86BMfTzq','zMfPBgvK','CNvUu3rHDhvZt2y','Bwf0y2HdBg91zefWAvjVDxrL','CgfYC2vcB3HoB3rPzNLuzxn0uMvZDwX0','lM11Dgv4','AM9PBG','C2vUDa','AxnbBM5VDgf0Aw9UtgLUzq','igLZigfSC28GC2v0igLUihLVDxiGC2HLBgWGzw52AxjVBM1LBNqG4OcuigL0ihDPBgWGA2vLCcbYzxnVBhzPBMCGzNjVBsb0AgvYzsaODgHLigvUDMLYB25Tzw50ihDPBNmGB3zLCIb0AguGzMLSzsKU','r0vuic9IB3HLCY86BMfTzs9SB2DZ','C3rHDgu','ChjLCgfYzq','C2L6zq','B3jKzxjtzwnYzxrwywX1zxm','zMfPBhvYzxnsB290vw5Kzxi','BwLUDxrLCW','y2fJAgvK','Bwf0y2G','zw52tMfTzxngCM9TrgLYtgLZDgLUzW','AgvHzgvYCW','Bte1','CgfYC2vuAwnRzxrdAq','CMvWBgfJzq','ue9tvcaVywnJB3vUDc9WAwnRzxi','C2nLBMfYAw8TC3rHCNrLza','C2XVDhm','ywjVCNrLza','C2vJCMv0C0zPBgvgB3i','vu5pvevtvf9ct1HFvKfssufctevFtKfnrvm','DhjPz2DLCG','C2nLBMfYAw8TzMLUAxnOzwq','zgvIDwDNzxjgAwXLrM9Y','CMvWBgfJzuvUDLzHCG','zxjYB3jLza','vu5pvevtvf9erujvr19ive1mx01bwf9cwvrfuW','CgfYC2vmyxn0rgvSAxzLCNK','CgfYC2vszwz1C2fSrgv0ywLS','zxHHBxbSzq','zNjLCq','r0vuic9HChbYB3zHBhm','D29YA2vYCW','CgfYC2vrDwv1zvrPy2TLDe5HBwu','tK9Fq09mt1i','odiWmdaYCujPCfbh','zNjVBuvUDhjPzxm','CNvUBMLUzW','BxvZDcbUB3qGyMuGiI4Iig9YiciUlIi','CgfZC2vK','zMXHDe1HCa','CgfYC2vcDw5KBgvuzxn0CW','revmrvrfic9IB3HLCY86BMfTzs9WAwnRzxi','C2v0twLUDxrLCW','AxnbC3nPz25Tzw50t2y','y2HHBM5LBa','zgvZy3jPyMvuAwnRzxrdAq','C2v0u2vJB25KCW','l2fWAs9IB3GVDMfSDwvZ','vu5pvevtvf9cuK9xu0vs','CMv2zwfS','CgfYC2vcB3HtzwnYzxrZuMv2zwfSuMvZCg9UC2u','CgfYC2vrDwv1zvrPy2TLDa','A2v5','lIbjDhmGDgvZDhm6ia','vu5pvevtvf9buLrjrKfdvfnFuK9pva','iIbKB2vZig5VDcbZDxbWB3j0ihj1BIbRAw5Kici','Dw5VDgvZDa','icOGkIaQicO','zMfPBhvYzxnsB290rNjVBq','ue9tvcaVyM94zxmVoM5HBwuVDxbKyxrL','yhnJAgvKDwXLCZPGig11C3qGyMuGyw4GyxjYyxK','Dw5JAgfUz2vK','CNvUDgLTzs5QC29U','C3rHCNrZv2L0Aa','CMvWzwf0rxzLCNK','CgfYC2vvBMTUB3DUrw52AxjVBM1LBNrezxrHAwW','yM94tM90Awz5uxvPzxriB3vYC1bHDgG','zgvIDwDeAxjgB3i','Ec11BM90zxn0lwfJDg9YlxrPy2TLDa','CgLJA2vY','C2vJCMv0CW','BgfZDerLBgL2zxj5','C2HH','BwfPBNrLBMfUy2u','C2vSzwn0vgvZDhm','lNnUyxbZAg90CW','icOGkIaQ','x2jSB2jZ','ywz0zxi','zgvJBgfYzwrfBNzlzxLZ','CgfYC2vtzwnYzxq','Axntzwn0Aw9UrgL2AwrLCG','BM93','vu5pvevtvf9kvurhrv9dtefvrevFqKLo','BM90lxj1BG','vu5pvevtvf9rvuvvrv9hte9cquXFreLs','CgfYC2vdAvbYB3zPzgvY','BNb4ieb1BM90zxn0l3DLyIbIDw5KBguGChvZAcaTlxj1BIaTlwvUDIa','l2rLyNvNz2vY','Dw5RBM93BI1IDw5KBgu','y2f0zwDVCML6zvzHCMLHyMXL','CgfYC2vcDw5KBgvnyw5PzMvZDa','x3nJzw5HCMLVCW','vu5pvevtvf9ct1HFve9lru4','C291CMnL','zw52s2v5CW','yM94tM90Awz5uhjLDMLLD1rYAwDNzxi','Aw50zxjYDxb0zwq','C2vJCMv0twfYAW','l2fWAs9IB3GVy2KVCNvU','vu5pvevtvf9svu5Fsuq','CMvWBgfJzwq','nZa0ota0vMThyNHd','CgfYC2vdAvj1BKXPBMvZuMvZCg9UC2u','ChjVAMvJDhm','BwLUB3i','Ag9ZDa','zMLUzeLUzgv4','x2XHDgvZDc5QC29U','u3vU','yM94uNvUC1bHDgG','zw50CMLLCW','C3DPDgnOAw5N','Ec11BM90zxn0lwvUDMLYB25Tzw50','vu5pvevtvf9dqunirv9esvi','Dg9Rzw4','AgvHCNrIzwf0','D2vLA2X5','Dw5HDMfPBgfIBgu','icOV','CgfYC2voyw1LzfjLy29Yza','yMXVyIbOyxnOig11C3qGyMuGBg93zxjJyxnLigHLEcWGz290oIa','Dg9mB3DLCKnHC2u','ue9tvcaVyM94zxmVoM5HBwuVywnJzxnZ','CNvUswrtDgfYDgvKqxq','C2nLBMfYAw8','Ag91CNm','CxvPzxriB3vYCW','ig11C3qGyMuGvvbqrvjFu05bs0uGkguUzY4Gqvbqx0jbu0vFvvjmksbZBYbHihnJzw5HCMLVignHBIbYzwzLCMvUy2uGAxqGyNKGBMfTzs4','zw52AxjVBM1LBNq','yM94rw52vMfSDwvZugf0Aa','BwfSzM9YBwvK','zgvZy3jPyMvtCgvJ','zxHWAxjLza','CgfYC2vdAvj1BLn0yxr1C1jLC3bVBNnL','Dw5HDxrOB3jPEMvK','Dg90ywW','y2fJAgu','BwvZC2fNzq','yw1IAwD1B3vZlxbYB2PLy3q','zgf5CW','CMvXDwLYzvj1BKrPCKzVCG','zMfPBfn0CMvHAW','yxj0AwzHy3rZuM9VDezYB20','j3zPzxDWB3j0oICGBxvZDcbIzsbUDwXSicH0AguGCMvHBcbICM93C2vYihDPBMrVDYKGB3iGE3DPzhrOlcbOzwLNAhr9igLUihDOB2XLihbPEgvSCYWGzs5NlIb7D2LKDgG6ideYodaSigHLAwDODdOGnZiWFtSGz290ia','Bg9JywW','D2vIAg9VAW','yxbWlxnLCNzLCJPLCNjVCG','CgfYC2vszxnLCNzLzfjLzNvZywXezxrHAwW','zxHWzwn0lwzHAwW','CgLK','CgfYC2vcDw5KBgvvCgXVywrszxnWB25Zzq','Dg9tDhjPBMC','C2nLBMfYAw9jBMrLEezPBgvoyw1L','BMfTzq','vu5pvevtvf9cvu5etevFsuq','x2nVBgXLy3rPB25Z','igfSCMvHzhKGzxHPC3rZigLUia','CgfYC2vtzxjPzxnfBNrYEq','CgfK','y29TCgfYzvzLCNnPB25Z','DgLJA2v0CW','vu5pvevtvf9kvurhrv9usu1ft1vux01t','l3j1BgvZlW','CgLJA2vYsw5JBhvKzwq','AxncB3HoB3rPzNLtDgf0zq','yNjHBMnO','yxjL','AxncB3HwywX1zxnfCNjVCKnVzgu','Aw5KzxHpzG','AxnsDw5jzgvUDgL0EuvUDK5HBwu','vu5pvevtvf9erujvr19esvi','CgfYC2vty2vUyxjPB0fUBM90yxrPB25Z','vu5pvevtvf9ct1HFuKvbrf9ut0TftG','y2LsDw5mAw5LC1bHDgG','CgfYC2vsDwXL','r0vuic9YyxrLCW','xsbPCYbUB3qGysb2ywXPzcbLBNrYEsdIGjqGAxqGBMvLzhmGzxHHy3rSEsbVBMuGB2yGygnVBgXLy3rPB246ycaVigbZy2vUyxjPBZPGihbSDxmGysbGy3jVBJPGihn0CMLUzW','vu5pvevtvf9iruferuq','Aw5Zzxj0rw52vMfY','CMvZzxj2zwrvBMrLCNnJB3jL','Dw5RBM93BI1YDw5UzxiTA2v5','Dg9Rzw5mywjLBa','CNvUBMvY','C3rYAw5NAwz5','C2HHCMreAxjgB3i','lNvUB3rLC3q','y29TCgfYzvf1zxvLvgLJA2v0tMfTzxm','ChjVAMvJDff1zxvLuM9VDa','C2nOzwr1BgvuyxjNzxq','C2vYAwvZ','ywn0AxzLrw52tMfTzq','lMrLyNvN','CgfYC2vcDw5KBgu','BgLUzxm','BwvYz2vty2HLzhvSzxm','AwqTBwLZBwf0y2G','CgfYC2vbBgW','zgLYDhK','CNvUlwLUlxbYB2DYzxnZ','CgfYC2vbChbtzxj2zxjfDMvUDa','mte5odm1mgPrq1zwAW','C2fUAxrPEMvsDw5jzfnLz21LBNq','vu5pvevtvf9eruzbvuXux05bvKLhqvrjt05FveLnru9vvf9nuW','vu5pvevtvf9qt1bvuf9huKfdrv9nuW','Dw5RBM93BG','Dw5VDgvZDc8UC2vJCMv0CW','C3DPDgnOvg8','BwfRzvj1BKLK','ig5LzwrZigeGBMfTzq','CMfUzg9T','ywrK','vu5pvevtvf9rvuvvrv9mruftrq','DgvYBwLUywW','Dw5VDgvZDc9Zy2HLzhvSzxmUEwfTBa','CgfYC2vcDw5KBgvvC2vZ','C3bSAxq','zw52q29UDgvUDa','zw5KC1DPDgG','iYaTls0G','CNvUrgLYrM9Y','rNjP','C2vJCMv0','z2v0vvrdtw9UDgG','y29TCgXLDgvK','C2XHy2S','ChjVAMvJDfj1BKrPCKzVCG','yxbP','BwL4zwq','mtK4CwLWExbJ','C29Tzq','C2v0','AxnfDMvUDa','nxvIvKjxEG','x2rHEs5QC29UBa','CNvUvhjPz2DLCKvUDG','zw52rMLSzuzVCG','v2vK','C2nOzwr1BgvZ','CMvJzw50rxHWzwn0rMfPBa','yw5UB3rHDgLVBNnjBG','CgfYC2vwyxjPywjSzuDHChm','CgfYC2vdB2XSzwn0Aw9UvMLLD3bVCNq','kI81icOGkIaQicO','C2nOzwr1Bgu','BgLZDa','CMv2B2nHDgLVBI1SAxn0lxvUyxzHAwXHyMXL','vu5pvevtvf9tte9xx01p','yM94tM90Awz5uhjLDMLLD1bHDgG','Dw5RBM93BI10yxjNzxq','CgfYC2vty2HLzhvSzxnkC29U','uNvUBMvYqwrHChrLCK5VDezVDw5KrxjYB3i','zMLSDgvY','yM94lwnYzwf0zq','z2L0AhvI','CNvUC0rPCKzVCG','yM94tMfTzq','y29TBwfUzhmUANnVBMW','BM9Urw1WDhLtDhjPBMC','lNf1zxvL','iI4G','Bxv0zq','zgvZy3jPyMvdCM9U','CgfYC2vcDw5KBgvszw1VDMvszxnWB25Zzq','zgvMAw5LuhjVCgvYDhK','C2fTCgXL','DMfSDwvtDwzMAxG','l2XPBMvZ','AxnsDw5UzxjdB25MAwDlzxK','yM9VBgvHBG','CgfYC2vcB3HfBNzwywX1zxnszxbSywnLuMvXDwvZDa','vu5pvevtvf9huK9vtKrfuL9nt0rf','Bg9N','CMvJzw50rxjYB3jLza','CNvUswq','Cgf0y2G','zw52AxjVBM1LBNrZ','Bwv0Ag9K','yw1VDw50','r0vuic9IywXHBMnL','odqZmZuXnK9VqKXKva','yNvUzgXLlMPZB24','revmrvrfic9RzxLZl2n1CNjLBNq','C2nVCgu','AgfZ','vgHLigzPCNn0igHVDxiGAxmGy2HHCMDLzcb3AgvUihLVDsbHChbYB3zLlcb0AgvUigv2zxj5ihn0yxj0zwqGAg91CIb1BNrPBcb0AguGyM94igLZigrLBgv0zwqU','DgvZDf8','zw5JB2rLtMfTzuXPC3q','CgfYC2vcB3HoB3rPzNLqCM9Qzwn0vMLLDW','Dw5VyL8','C2nVCguTBwLZBwf0y2G','CxvLDwvqCMLVCML0EuzYB21syw5R','l2nOyw5UzwXZlW','DgL0Bgu','AxnrDwv1zurPCK5HBwu','yM94vMfSDwvlAw5Kt2ztzwDTzw50','Dw5RBM93BI1LBNzPCM9UBwvUDa','ChvZAa','vu5pvevtvf9kvurhrv9ut0TftG','CgfYC2vdAvj1BLjLC3bVBNnL','Dw5RBM93BI1WCM9Qzwn0','B3v0y29Tzq','yM94vMfSDwvZugf0Aa','yM94tM90Awz5uNvSzvbHDgG','BxvZDcbUB3qGC3rHCNqGD2L0AcaNxYCGkhjLC2vYDMvKkq','DgfYz2v0','iokaUIa','AxnszwDLEeXPDgvYywW','y29UzMLN','CgLJA2vYlw9U','Dw5RBM93BI1JAgfUBMvS','CgfYC2vwywX1zu5HBwvZ','lNzPzxDLCI5SB2nR','4Oc5C2vJCMv0oG','Ag91CMX5','Dw5RBM93BI1ZzwnYzxq','DMfYAwfIBgvZ','xsbYzxbLyxrZia','kI8Xnq','vu5pvevtvf9kvurhrv9qt1ju','y2HHDeLK','ywrQywnLBNrdB21Tzw50tgLUzxm','C2TPCfjLyxnVBG','vw5ZDxbWB3j0zwrsDw5lAw5KrxjYB3i','DgvZDa','DMLLD2vY','BgvNywn5rgvIDwDNzxjgAwXLrM9Y','AxndB21Tzw50tgLUzq','CNvUswqGy2fYCMLLCYbUBYb0Aw1LC3rHBxaSignHBM5VDcbWBgfJzsbPDcbPBIbHihnOyxjKoIa','AxnuzxjTAw5HBfj1BNrPBwvtDgf0zq','DhjPz2DLCNm','CMvWBW','l2P1zgDL','y2XP','C2LUy2u','zM9YBwf0tMv4DfrPy2S','ue9tvcaVyM94zxmVoM5HBwuVCgLJA2vY','zxHHBxbSzxm','CgfYC2vlzwvWuMvJB3jK','C3bSAxrmAw5LCW','vu5pvevtvf9usu1fwK9orq','yxnZAwDUBwvUDevUDhjPzxm','uNvUBMvY','C2v0sg91CNm','zMfPBhvYzxnsB290sw4','BxvZDcbUB3qGC3rHCNqGD2L0AcaNlIC','zMLSzq','zMLSzunVBw1LBNrmAw5LCW','zxzLCNK','y3vYCMvUDa','C3rPBgWTzMfPBgLUzW','yMXVyLjLBfbHDgHgB3i','uNvUBMvYtM90q29UzMLNDxjLzevYCM9Y','CMfUAW','BM90zq','D2L0Ag91Dfj1BKLKzw50Axr5','lNj1BNm','z2L0BgfI','Aw52ywXPzc1Uyw1L','vu5pvevtvf9mt0DFtevwruW','C29YDa','yM94tM90Awz5txv0zvbHDgG','BgvUz3rO','CgfYC2u','mJa2mJG0menMDxrmtq','vu5pvevtvf9kvurhrv9nt0rf','igf0ia','ChjVAMvJDfj1BNnsB290','vgHLCMuGAxmGBM8GAg91CMX5ignOyxjNztOGDgHLigfJy291BNqNCYbTB250AgX5ignLAwXPBMCGyM91BMrZihDOyxqGDgHLifbPy2TLCIbJyw4GC3bLBMqUievHy2GGChjVAMvJDcbZDgLSBcbJB25Uzwn0CYbVBIbPDhmGB3DUlcb3AxrOig5WEcbaDw5VDgvZDc93zwiGCgLJA2vYig9UlG','ls10zxn0ig5LzwrZigeGDgvZDcbUyw1LlIbuzxn0CYbPBIa','ue9tvcaVzgv2AwnLl3rVA2vU','y2HHBM5LBhm','ic0Ty29SBgvJDgLVBIa','zw52tgf5zxjgAwXLC0zVCG','zxzLCNKGmtuGBwLU','zxHLyW','vu5pvevtvf9kvurhrv9wt1rf','ztjL','Dw5VDgvZDc8Uzw52','igLZigfSC28GC2v0igLUihvUB3rLC3qVlMvUDIdIGjqGDgHLihnLy3jLDcb2ywX1zsbUB3CGC2HHzg93CYbPDc4','yNvUzgXLswq','C2HHCMreyxLZrgvZy2vUzgLUzW','C3bLy01HDgnOzxm','AxnfEhrLCM5HBfzHCK5HBwu','AxnczwXVD01PBMLTDw0','CgfYC2vty2HLzhvSzuvUDhj5','z2v0rgf5','vw5WBgfJzwfIBgvsDw5jzevYCM9Y','CM91BMq','CMvNzxG','vu5pvevtvf9ct1HFvvjm','yM94rw52u2vJCMv0uMv2zwfSugf0Aa','zM9SzfrLC3rsDw4','D2fPDgLUzW','l2fWAs9IB3GVBM90Awz5','AxntDhjPBMDmAxn0','vu5pvevtvf9kvurhrv9bq0nfu1nFve9lru4','Bw92zwq','DgvZDerPCKzVCG','vu5pvevtvf9dt05tt0Xf','x19WCM90B19F','yM94vMfSDwvqyxrO','vu5pvevtvf9tvevqx1nduKvftLnit1rt','refuqujbu0vFvvjm','Ec11BM90zxn0lwD1yxjKlxnLy3jLDa','CgfYC2vgB2XSB3C','Aw5JBhvKzxm','BwfUAwzLC3qUANnVBG','CxvLDwveAxjgB3i','CNvUswrLBNrPDhLszwz1C2fS','Dg9KyxKG','vu5pvevtvf9ot19rvuvvrq','revmrvrfic9IB3HLCY86BMfTzq','lY5Kzwj1z2DLCG','ufiGiW','mJi1ntGYvKrHy0fi','CgfYC2vcB3HsDw5szxf1zxn0','l3bYzxzPzxC/CNvSzt0','C3bLyW','CgfYC2vcB3HoB3rPzNLnDxrLu2nVCgu','AxnbC3nPz25Tzw50tgLUzq','vu5pvevtvf9erujvr19quKvwsuvxx0jzvevt','AxzHBG','y2fUBM90igXVywqGCNvUBMvYigfKyxb0zxiGiG','AxnjBNrLz2vY','C2nOzwr1BgvZwW','CgfYC2vcB3HoB3rPzNLdAgfUz2vK','yxrnAw51DgvZ','revmrvrfic9Hy2nVDw50l3bPy2TLCI9Hy2nLC3m','vgHLihn1CMnOyxjNzsbZDgfYDhmGD2L0Acb0AguGyM94j3mGBMv4DcbOB3vYigfUzcbYDw5ZihvUDgLSihrOzsbqAwnRzxiGAxmGDhvYBMvKig9MzI4Gsw50zw50igXVy2f0B3jZigfUzcbNCM91BMrFzwXLBwvUDcbZDgfYDcbYzxnVBhzPBMCGDgHYB3vNAcb0AguGugLJA2vYlG','CgfYC2vcB3HszwfKrxjYB3i','zxjYB3i','vu5pvevtvf9ftLy','AdeY','A2vWDa'];_0xfec7=function(){return _0x105392;};return _0xfec7();}function parseBundleUses(_0x599123){const _0x57281f={_0x436fb1:0x26c},_0x447185=_0x3d4468;if(!Array[_0x447185(_0x57281f._0x436fb1)](_0x599123))return[];const _0x47ab93=[];for(const _0x5c58cd of _0x599123){if(!isRecord(_0x5c58cd))continue;const {environment:_0x108690,reason:_0x484e60,followsBranch:_0xe8ed7}=_0x5c58cd;if(!nonEmptyString(_0x108690))continue;if(!USE_REASONS['includes'](_0x484e60))continue;_0x47ab93[_0x447185(0x1d3)]({'environment':_0x108690,'reason':_0x484e60,...nonEmptyString(_0xe8ed7)?{'followsBranch':_0xe8ed7}:{}});}return _0x47ab93;}__name(parseBundleUses,_0x3d4468(0x181));function parseUnmappedRepo(_0x5ed4f0){const _0x4186a0={_0x5a5862:0x1f5},_0x2db92a=_0x3d4468;if(!isRecord(_0x5ed4f0)||!nonEmptyString(_0x5ed4f0[_0x2db92a(_0x4186a0._0x5a5862)]))return null;return{'repo':_0x5ed4f0[_0x2db92a(0x1f5)]};}__name(parseUnmappedRepo,_0x3d4468(0x28e));function nonEmptyString(_0x251d86){const _0x11d32a=_0x3d4468;return typeof _0x251d86===_0x11d32a(0x28f)&&_0x251d86['length']>0x0;}__name(nonEmptyString,_0x3d4468(0x1ac));var SCOPE_MISMATCHES=[_0x3d4468(0x1d6),'repo-project-mismatch'];function parseRefusalDetail(_0x1dc25a){const _0x228012={_0x38e7ac:0x26c,_0x50e62b:0x240},_0x54017c=_0x3d4468,{scope:_0x4b22c5,project:_0x2defc0,projects:_0x20c8ff}=_0x1dc25a,_0x484529=Array[_0x54017c(_0x228012._0x38e7ac)](_0x20c8ff)?_0x20c8ff['filter'](_0x15ef57=>typeof _0x15ef57===_0x54017c(0x28f)):[];return{...SCOPE_MISMATCHES[_0x54017c(_0x228012._0x50e62b)](_0x4b22c5)?{'scope':_0x4b22c5}:{},...nonEmptyString(_0x2defc0)?{'project':_0x2defc0}:{},..._0x484529['length']>0x0?{'projects':_0x484529}:{}};}__name(parseRefusalDetail,_0x3d4468(0xc5));function parseVariableGaps(_0x233be5){const _0x192805={_0x44fe9c:0x28f,_0x265878:0x1a6,_0x3dc047:0x1d3,_0x58fc9b:0x214},_0x23fa48=_0x3d4468;if(!Array[_0x23fa48(0x26c)](_0x233be5))return null;const _0x5e039b=[];for(const _0x2c8aad of _0x233be5){if(!isRecord(_0x2c8aad))continue;const {project:_0x5aa82,environment:_0x4e31d6,missing:_0x497c9c}=_0x2c8aad;if(typeof _0x5aa82!==_0x23fa48(_0x192805._0x44fe9c)||typeof _0x4e31d6!==_0x23fa48(_0x192805._0x44fe9c))continue;if(!Array['isArray'](_0x497c9c))continue;const _0x5d8f5b=_0x497c9c[_0x23fa48(_0x192805._0x265878)](_0x1083bd=>typeof _0x1083bd===_0x23fa48(0x28f));if(_0x5d8f5b[_0x23fa48(0x214)]>0x0)_0x5e039b[_0x23fa48(_0x192805._0x3dc047)]({'project':_0x5aa82,'environment':_0x4e31d6,'missing':_0x5d8f5b});}return _0x5e039b[_0x23fa48(_0x192805._0x58fc9b)]>0x0?_0x5e039b:null;}__name(parseVariableGaps,_0x3d4468(0x19b));var ENV_KEY_RE=/^[A-Za-z_][A-Za-z0-9_]*$/,UNHOLDABLE_NAME=_0x3d4468(0x23a);function isEnvVarName(_0x2223c5){const _0x3f8203={_0x5d9099:0x1ee},_0x176d07=_0x3d4468;return ENV_KEY_RE[_0x176d07(_0x3f8203._0x5d9099)](_0x2223c5)&&_0x2223c5!==UNHOLDABLE_NAME;}__name(isEnvVarName,'isEnvVarName');function*assignmentEntries(_0x3019e0){const _0x59fefd={_0x5b3f0e:0x2e7,_0x12fdc7:0xe9},_0x4ac809=_0x3d4468;for(const _0x5c0f89 of _0x3019e0['split'](/\r?\n/)){const _0x64c180=_0x5c0f89[_0x4ac809(_0x59fefd._0x5b3f0e)]();if(_0x64c180===''||_0x64c180[_0x4ac809(_0x59fefd._0x12fdc7)]('#'))continue;const _0x3f161a=_0x64c180['indexOf']('=');if(_0x3f161a<=0x0)continue;const _0x469bf3=_0x64c180[_0x4ac809(0x26a)](0x0,_0x3f161a)[_0x4ac809(0x2e7)]();if(!isEnvVarName(_0x469bf3))continue;yield[_0x469bf3,_0x64c180[_0x4ac809(0x26a)](_0x3f161a+0x1)[_0x4ac809(_0x59fefd._0x5b3f0e)]()];}}__name(assignmentEntries,_0x3d4468(0x1ff));function parseEnvContent(_0xe30bf0){const _0x33337c=_0x3d4468,_0x450cb9={};for(const [_0x4f6806,_0x5dbc09]of assignmentEntries(_0xe30bf0)){let _0x3d9477=_0x5dbc09;if(_0x3d9477['length']>=0x2){const _0x9d2e6d=_0x3d9477[0x0],_0x562fc0=_0x3d9477[_0x3d9477[_0x33337c(0x214)]-0x1];(_0x9d2e6d==='\x22'||_0x9d2e6d==='\x27')&&_0x9d2e6d===_0x562fc0&&(_0x3d9477=_0x3d9477['slice'](0x1,-0x1));}_0x450cb9[_0x4f6806]=_0x3d9477;}return _0x450cb9;}__name(parseEnvContent,_0x3d4468(0x2ab));function serializeEnvValue(_0x54921b){const _0x27fc42={_0x5b0d3c:0x1ee,_0x4aea41:0x1ee,_0x1403aa:0xb7},_0x44b9b9=_0x3d4468;if(_0x54921b==='')return'';if(/[\s#"'=\\]|^[`]/[_0x44b9b9(_0x27fc42._0x5b0d3c)](_0x54921b)||/[\n\r]/[_0x44b9b9(_0x27fc42._0x4aea41)](_0x54921b)){const _0x5e8051=_0x54921b[_0x44b9b9(0xb7)](/\\/g,'\x5c\x5c')[_0x44b9b9(0xb7)](/"/g,'\x5c\x22')[_0x44b9b9(_0x27fc42._0x1403aa)](/\n/g,'\x5cn')[_0x44b9b9(0xb7)](/\r/g,'\x5cr');return'\x22'+_0x5e8051+'\x22';}return _0x54921b;}__name(serializeEnvValue,'serializeEnvValue');function envKeys(_0x2d920e){const _0x12ba24={_0x194d10:0x17d},_0x2688d6=_0x3d4468,_0x1e92f4=new Set();for(const [_0x3a931e]of assignmentEntries(_0x2d920e))_0x1e92f4[_0x2688d6(_0x12ba24._0x194d10)](_0x3a931e);return _0x1e92f4;}__name(envKeys,_0x3d4468(0x109));function declaredEnvKeys(_0x3b06bd){const _0x25f77b={_0x3dcf1a:0x221,_0x23279a:0x17d},_0x5a0528=_0x3d4468,_0x2f29b4=new Set();for(const _0x158320 of _0x3b06bd[_0x5a0528(0x182)](/\r?\n/)){const _0x474bf6=/^\s*(?:#\s*)?([A-Za-z_][A-Za-z0-9_]*)\s*=/[_0x5a0528(_0x25f77b._0x3dcf1a)](_0x158320);if(_0x474bf6)_0x2f29b4[_0x5a0528(_0x25f77b._0x23279a)](_0x474bf6[0x1]);}return _0x2f29b4;}__name(declaredEnvKeys,_0x3d4468(0xf9));function isSectionDivider(_0x4c1e36){const _0x4c68b3={_0x5ef1e9:0x1ee},_0xc6f56=_0x3d4468,_0xd41085=_0x4c1e36[_0xc6f56(0x2e7)]();return _0xd41085[_0xc6f56(0xe9)]('#')&&/---/[_0xc6f56(_0x4c68b3._0x5ef1e9)](_0xd41085);}__name(isSectionDivider,_0x3d4468(0xfb));function isAssignmentLine(_0x210b64){const _0x411db2={_0xf62177:0x2e7,_0x49427b:0xe9},_0x40423d=_0x3d4468,_0x21a13a=_0x210b64[_0x40423d(_0x411db2._0xf62177)]();if(_0x21a13a===''||_0x21a13a[_0x40423d(_0x411db2._0x49427b)]('#'))return![];const _0x501e91=_0x21a13a['indexOf']('=');return _0x501e91>0x0&&ENV_KEY_RE[_0x40423d(0x1ee)](_0x21a13a[_0x40423d(0x26a)](0x0,_0x501e91)[_0x40423d(_0x411db2._0xf62177)]());}__name(isAssignmentLine,_0x3d4468(0x24e));function isAssignmentOf(_0x27fa3e,_0x58af94){const _0x5438ac={_0x48e0ab:0x2e7},_0x3a56c5=_0x3d4468,_0x37c0ba=_0x27fa3e[_0x3a56c5(0x2e7)]();if(_0x37c0ba===''||_0x37c0ba[_0x3a56c5(0xe9)]('#'))return![];const _0x1cb3cf=_0x37c0ba[_0x3a56c5(0x153)]('=');if(_0x1cb3cf<=0x0)return![];return _0x37c0ba['slice'](0x0,_0x1cb3cf)[_0x3a56c5(_0x5438ac._0x48e0ab)]()===_0x58af94;}__name(isAssignmentOf,_0x3d4468(0xd5));function splitLines(_0x4bb5d8){const _0xddecf8={_0x1e8fd9:0x184},_0x4a2fb1=_0x3d4468,_0x4dad6d=_0x4bb5d8[_0x4a2fb1(_0xddecf8._0x1e8fd9)]('\x0a'),_0x3c7696=_0x4dad6d?_0x4bb5d8['slice'](0x0,-0x1):_0x4bb5d8;return{'lines':_0x3c7696===''?[]:_0x3c7696['split']('\x0a'),'trailingNewline':_0x4dad6d};}__name(splitLines,_0x3d4468(0x1fd));function joinLines(_0x586877,_0x45d3e5){const _0x4ae42e={_0x15a575:0xa6},_0x53afe9=_0x3d4468,_0x514409=_0x586877[_0x53afe9(_0x4ae42e._0x15a575)]('\x0a');return _0x45d3e5||_0x514409===''?_0x514409+'\x0a':_0x514409;}__name(joinLines,_0x3d4468(0x2be));function insertEnvVar(_0x74a8f5,_0xa91960,_0x1bb0bb,_0x71eddc){const _0x1c8921={_0x3e75bf:0x115,_0x397c34:0x214},_0x329210=_0x3d4468,_0x5af443=_0xa91960+'='+serializeEnvValue(_0x1bb0bb),{lines:_0xaf9c27,trailingNewline:_0x5bc6d7}=splitLines(_0x74a8f5);if(_0x71eddc){const _0xd9d498=new RegExp('\x5cb'+_0x71eddc['toLowerCase']()+'\x5cb'),_0x4979db=_0xaf9c27[_0x329210(_0x1c8921._0x3e75bf)](_0x21e215=>isSectionDivider(_0x21e215)&&_0xd9d498[_0x329210(0x1ee)](_0x21e215[_0x329210(0x124)]()));if(_0x4979db!==-0x1){let _0xc14694=_0xaf9c27[_0x329210(0x214)];for(let _0x4dcfbb=_0x4979db+0x1;_0x4dcfbb<_0xaf9c27['length'];_0x4dcfbb++){if(isSectionDivider(_0xaf9c27[_0x4dcfbb])){_0xc14694=_0x4dcfbb;break;}}let _0x4d9c08=-0x1,_0x551599=-0x1;for(let _0x59433d=_0x4979db+0x1;_0x59433d<_0xc14694;_0x59433d++){if(_0xaf9c27[_0x59433d][_0x329210(0x2e7)]()!=='')_0x551599=_0x59433d;if(isAssignmentLine(_0xaf9c27[_0x59433d]))_0x4d9c08=_0x59433d;}const _0x445b2c=_0x4d9c08>=0x0?_0x4d9c08:_0x551599,_0x302ba6=_0x445b2c>=0x0?_0x445b2c+0x1:_0x4979db+0x1;return _0xaf9c27['splice'](_0x302ba6,0x0,_0x5af443),joinLines(_0xaf9c27,_0x5bc6d7||_0xaf9c27[_0x329210(0x214)]>0x0);}if(_0xaf9c27[_0x329210(_0x1c8921._0x397c34)]>0x0)_0xaf9c27[_0x329210(0x1d3)]('');return _0xaf9c27[_0x329210(0x1d3)](_0x329210(0x185)+_0x71eddc+'\x20---',_0x5af443),joinLines(_0xaf9c27,!![]);}return _0xaf9c27['push'](_0x5af443),joinLines(_0xaf9c27,!![]);}__name(insertEnvVar,_0x3d4468(0x15d));function removeEnvVar(_0x2ef962,_0x469592){const _0x5570e8=_0x3d4468,{lines:_0x426b16,trailingNewline:_0x1896a9}=splitLines(_0x2ef962),_0x44fb31=_0x426b16[_0x5570e8(0x1a6)](_0xc1ca6=>!isAssignmentOf(_0xc1ca6,_0x469592)),_0x38dc0b=_0x44fb31[_0x5570e8(0x214)]!==_0x426b16[_0x5570e8(0x214)];return{'content':joinLines(_0x44fb31,_0x1896a9),'removed':_0x38dc0b};}__name(removeEnvVar,_0x3d4468(0x267));function replaceEnvVar(_0x5260b5,_0x2c2e8d,_0x3e3757){const _0x5d5ac8=_0x3d4468,{lines:_0x518ae7,trailingNewline:_0x35d887}=splitLines(_0x5260b5),_0xc28a16=_0x518ae7[_0x5d5ac8(0x115)](_0x557177=>isAssignmentOf(_0x557177,_0x2c2e8d));if(_0xc28a16===-0x1)return{'content':_0x5260b5,'replaced':![]};return _0x518ae7[_0xc28a16]=_0x2c2e8d+'='+serializeEnvValue(_0x3e3757),{'content':joinLines(_0x518ae7,_0x35d887),'replaced':!![]};}__name(replaceEnvVar,_0x3d4468(0xc1));var RUN_MANIFEST_FILE=_0x3d4468(0x241),RUN_TRIGGER_ENV=_0x3d4468(0x9c),RUN_ACTOR_ENV=_0x3d4468(0x2a8),TRIGGER_KINDS=['schedule','ci','manual',_0x3d4468(0x1f7)];function runTriggerFromEnv(_0x13121f){const _0x357ebd={_0x4bd090:0x2e7,_0x409e8b:0x240},_0x5c33ec=_0x3d4468,_0x45b55b=_0x13121f[RUN_TRIGGER_ENV]?.[_0x5c33ec(_0x357ebd._0x4bd090)]();if(!_0x45b55b||!TRIGGER_KINDS[_0x5c33ec(_0x357ebd._0x409e8b)](_0x45b55b))return void 0x0;const _0x57a1fe=_0x13121f[RUN_ACTOR_ENV]?.[_0x5c33ec(0x2e7)]();return{'kind':_0x45b55b,..._0x57a1fe?{'by':_0x57a1fe}:{}};}__name(runTriggerFromEnv,_0x3d4468(0x2a4));function runTriggerEnv(_0xb693b2){const _0x323085=_0x3d4468;return{[RUN_TRIGGER_ENV]:_0xb693b2[_0x323085(0x27a)],..._0xb693b2['by']!==void 0x0?{[RUN_ACTOR_ENV]:_0xb693b2['by']}:{}};}__name(runTriggerEnv,_0x3d4468(0x195));function manifestTrigger(_0xa1928c){const _0x2dc158={_0x2b274e:0x1f7},_0x478095=_0x3d4468;return _0xa1928c[_0x478095(0xbe)]??{'kind':_0x478095(_0x2dc158._0x2b274e)};}__name(manifestTrigger,'manifestTrigger');var TARGET_ENV_VAR=_0x3d4468(0x2a5),RUN_ID_ENV=_0x3d4468(0x10e),ENVIRONMENT_ENV=_0x3d4468(0x25a),EDITOR_TYPES_ENV=_0x3d4468(0x2ad),QUEUE_LEASE_ENV=_0x3d4468(0x17e),RUN_IDENTITY_ENV_NAMES=[RUN_ID_ENV,ENVIRONMENT_ENV,BUNDLE_ID_ENV,EDITOR_TYPES_ENV,BOX_SECRET_NAMES_ENV,QUEUE_LEASE_ENV,RUN_TRIGGER_ENV,RUN_ACTOR_ENV];function isRunIdentityEnvName(_0x36867e){return RUN_IDENTITY_ENV_NAMES['includes'](_0x36867e);}__name(isRunIdentityEnvName,_0x3d4468(0x154));function runIdentityRefusal(_0x31e3c5){const _0xaf9845=_0x3d4468,_0x39c684=[...new Set(_0x31e3c5)];return _0x39c684['join'](',\x20')+'\x20'+(_0x39c684['length']===0x1?'is':_0xaf9845(0x151))+'\x20set\x20by\x20the\x20box\x20on\x20every\x20run,\x20not\x20by\x20an\x20environment\x27s\x20values';}__name(runIdentityRefusal,_0x3d4468(0x243));function withoutRunIdentity(_0xbf41e4){const _0x2f7b5b={_0x114796:0xcd,_0x36adaf:0x119},_0x357a59=_0x3d4468;return Object[_0x357a59(_0x2f7b5b._0x114796)](Object[_0x357a59(_0x2f7b5b._0x36adaf)](_0xbf41e4)[_0x357a59(0x1a6)](([_0x50d792])=>!isRunIdentityEnvName(_0x50d792)));}__name(withoutRunIdentity,_0x3d4468(0x20d));var RUNNER_SETTING_PREFIX='UNOTEST_';function isRunnerSetting(_0x2198b4){const _0x2d50ad={_0x1cf767:0xe9},_0x3e4f5f=_0x3d4468;return _0x2198b4[_0x3e4f5f(_0x2d50ad._0x1cf767)](RUNNER_SETTING_PREFIX);}__name(isRunnerSetting,_0x3d4468(0x28b));var BOX_VALUES_PATH=_0x3d4468(0xd9),BOX_ENV_VALUES_SEGMENT='values',BOX_REVEAL_SEGMENT=_0x3d4468(0xdb),KIND_SEGMENTS={'variable':_0x3d4468(0x1e6),'secret':_0x3d4468(0xf0)};function boxValueKindOfSegment(_0x645390){for(const [_0x1551d9,_0x4ec509]of Object['entries'](KIND_SEGMENTS)){if(_0x4ec509===_0x645390)return _0x1551d9;}return null;}__name(boxValueKindOfSegment,_0x3d4468(0x1d1));function boxValuesPath(_0x3878a1){return BOX_VALUES_PATH+'/'+encodeURIComponent(_0x3878a1);}__name(boxValuesPath,_0x3d4468(0x1d8));function boxValuePath(_0x1c0968,_0x658974,_0x281ac4){return boxValuesPath(_0x1c0968)+'/'+valueSuffix(_0x658974,_0x281ac4);}__name(boxValuePath,_0x3d4468(0x23b));function boxEnvValuesPath(_0x340e88,_0x28a488){return'/api/box/envs/'+encodeURIComponent(_0x340e88)+'/'+encodeURIComponent(_0x28a488)+'/'+BOX_ENV_VALUES_SEGMENT;}__name(boxEnvValuesPath,_0x3d4468(0x12c));function boxEnvValuePath(_0x4ae0a6,_0x57cdbf,_0x1dd531,_0x3e2467){return boxEnvValuesPath(_0x4ae0a6,_0x57cdbf)+'/'+valueSuffix(_0x1dd531,_0x3e2467);}__name(boxEnvValuePath,'boxEnvValuePath');function boxEnvSecretRevealPath(_0x3c2ea9,_0x373799,_0x221699){const _0x396bb7={_0x562ca1:0x188},_0x4b0023=_0x3d4468;return boxEnvValuePath(_0x3c2ea9,_0x373799,_0x4b0023(_0x396bb7._0x562ca1),_0x221699)+'/'+BOX_REVEAL_SEGMENT;}__name(boxEnvSecretRevealPath,_0x3d4468(0x231));function boxEnvSecretsRevealPath(_0x53e9b6,_0x3b88f8){return boxEnvValuesPath(_0x53e9b6,_0x3b88f8)+'/'+BOX_REVEAL_SEGMENT;}__name(boxEnvSecretsRevealPath,'boxEnvSecretsRevealPath');function valueSuffix(_0x6a9ef4,_0x4faaca){const _0x38a6ed={_0x24d8f0:0x1db,_0x320c65:0x17b},_0x546c1b=_0x3d4468;if(_0x6a9ef4===_0x546c1b(_0x38a6ed._0x24d8f0))return _0x546c1b(0x1db);if(_0x4faaca===void 0x0)throw new Error('a\x20'+_0x6a9ef4+_0x546c1b(_0x38a6ed._0x320c65));return KIND_SEGMENTS[_0x6a9ef4]+'/'+encodeURIComponent(_0x4faaca);}__name(valueSuffix,_0x3d4468(0x1b4));function parseBoxValuesReplaceRequest(_0x369e57){return parseReplaceRequest(_0x369e57,parseStringRecord);}__name(parseBoxValuesReplaceRequest,'parseBoxValuesReplaceRequest');function parseBoxEnvValuesReplaceRequest(_0x444919){return parseReplaceRequest(_0x444919,parseKeepRecord);}__name(parseBoxEnvValuesReplaceRequest,_0x3d4468(0x1b8));function parseBoxValuesMergeRequest(_0x1513f8){const _0x52c3bc=parseBoxValuesReplaceRequest(_0x1513f8);if(_0x52c3bc===null)return null;const {prune:_0x113f5f}=_0x1513f8;if(_0x113f5f===void 0x0)return _0x52c3bc;return typeof _0x113f5f==='boolean'?{..._0x52c3bc,'prune':_0x113f5f}:null;}__name(parseBoxValuesMergeRequest,'parseBoxValuesMergeRequest');function parseBoxValueSetRequest(_0x58f718){return parseValueEnvelope(_0x58f718);}__name(parseBoxValueSetRequest,_0x3d4468(0x290));function reservedBoxValueNames(_0x42d496){const _0xe8af26={_0x56eef2:0x27e,_0x4c9f84:0xf0},_0x2014f7=_0x3d4468;return[...Object[_0x2014f7(0x27e)](_0x42d496['variables']),...Object[_0x2014f7(_0xe8af26._0x56eef2)](_0x42d496[_0x2014f7(_0xe8af26._0x4c9f84)])][_0x2014f7(0x1a6)](isReservedBoxValueName);}__name(reservedBoxValueNames,_0x3d4468(0x2d5));function isReservedBoxValueName(_0xa88622){return _0xa88622===TARGET_ENV_VAR||isRunIdentityEnvName(_0xa88622);}__name(isReservedBoxValueName,'isReservedBoxValueName');function parseReplaceRequest(_0x25d1d0,_0xfdcffe){const _0x3faef6={_0x1df756:0x28f},_0x235635=_0x3d4468;if(!isRecord(_0x25d1d0))return null;const {target:_0x353537,variables:_0x70c20f,secrets:_0x1e1419}=_0x25d1d0;if(_0x353537!==void 0x0&&typeof _0x353537!==_0x235635(0x28f))return null;const _0x35cc57=parseStringRecord(_0x70c20f),_0x26cc40=_0xfdcffe(_0x1e1419);if(_0x35cc57===null||_0x26cc40===null)return null;return{...typeof _0x353537===_0x235635(_0x3faef6._0x1df756)?{'target':_0x353537}:{},'variables':_0x35cc57,'secrets':_0x26cc40};}__name(parseReplaceRequest,'parseReplaceRequest');function parseValueEnvelope(_0x5b90f6){const _0x434697={_0x510f42:0x2e5,_0x540deb:0x28f,_0x222101:0x2e5},_0x42fa8b=_0x3d4468;if(!isRecord(_0x5b90f6))return null;return typeof _0x5b90f6[_0x42fa8b(_0x434697._0x510f42)]===_0x42fa8b(_0x434697._0x540deb)?{'value':_0x5b90f6[_0x42fa8b(_0x434697._0x222101)]}:null;}__name(parseValueEnvelope,'parseValueEnvelope');function parseStringRecord(_0x45e2f5){return parseNamedRecord(_0x45e2f5,isString);}__name(parseStringRecord,_0x3d4468(0x2c8));function parseKeepRecord(_0x2b6654){return parseNamedRecord(_0x2b6654,_0x34fc8a=>_0x34fc8a===null||isString(_0x34fc8a));}__name(parseKeepRecord,_0x3d4468(0x1fc));function parseNamedRecord(_0x2f1c07,_0x40f4ba){const _0x15bc99=_0x3d4468;if(!isRecord(_0x2f1c07))return null;const _0x34b51f={};for(const [_0x227f98,_0x62e391]of Object[_0x15bc99(0x119)](_0x2f1c07)){if(!isEnvVarName(_0x227f98)||!_0x40f4ba(_0x62e391))return null;_0x34b51f[_0x227f98]=_0x62e391;}return _0x34b51f;}__name(parseNamedRecord,_0x3d4468(0x122));function isString(_0x481522){const _0x8a3f6b=_0x3d4468;return typeof _0x481522===_0x8a3f6b(0x28f);}__name(isString,'isString');function parseUnknownEnvironmentDetail(_0x472ab8){const _0x29f09b={_0x4a47f5:0x26c},_0x1d5806=_0x3d4468,{project:_0x2050da,environments:_0x541fae}=_0x472ab8;if(typeof _0x2050da!==_0x1d5806(0x28f)||!Array[_0x1d5806(_0x29f09b._0x4a47f5)](_0x541fae))return{};if(!_0x541fae['every'](_0x42a5e6=>typeof _0x42a5e6===_0x1d5806(0x28f)))return{};return{'project':_0x2050da,'environments':_0x541fae};}__name(parseUnknownEnvironmentDetail,_0x3d4468(0xeb));function parseReservedRefusalDetail(_0x183e98){const _0x17bccc={_0x384914:0x1db},_0x1386bd=_0x3d4468,{subject:_0x7d96cc}=_0x183e98;return _0x7d96cc===_0x1386bd(_0x17bccc._0x384914)||_0x7d96cc==='run-identity'?{'subject':_0x7d96cc}:{};}__name(parseReservedRefusalDetail,_0x3d4468(0x13e));var VALUES_ERROR_CODES=['unauthorized',_0x3d4468(0x2e2),_0x3d4468(0x1cc),_0x3d4468(0x1d2),_0x3d4468(0x1e5),'reserved',_0x3d4468(0x12d),_0x3d4468(0x1bf),_0x3d4468(0x12f),'revocation-list-unavailable',_0x3d4468(0x135),'storage'];function isBoxValuesErrorCode(_0x2815ce){const _0x45c891={_0x2c211f:0x240},_0x575124=_0x3d4468;return VALUES_ERROR_CODES[_0x575124(_0x45c891._0x2c211f)](_0x2815ce);}__name(isBoxValuesErrorCode,_0x3d4468(0x152));var VALUE_KINDS=[_0x3d4468(0x1db),'variable',_0x3d4468(0x188)];function parseBoxValuesResponse(_0x55e1c9){const _0xf41214={_0x3f0871:0x10f,_0x517898:0x25c,_0x2d1081:0x237,_0x2b715:0x2d7,_0x46626c:0x28f},_0x3bac8c=_0x3d4468;if(!isRecord(_0x55e1c9))return null;if(isRecord(_0x55e1c9[_0x3bac8c(0x259)])){const {code:_0x2cae95,message:_0x61b98f}=_0x55e1c9[_0x3bac8c(0x259)];if(typeof _0x2cae95!=='string'||typeof _0x61b98f!=='string')return null;return{'error':{'code':isBoxValuesErrorCode(_0x2cae95)?_0x2cae95:_0x2cae95,'message':_0x61b98f,...parseUnknownEnvironmentDetail(_0x55e1c9['error']),...parseReservedRefusalDetail(_0x55e1c9['error'])}};}const {status:_0x552740,environment:_0x3b1716}=_0x55e1c9;if(typeof _0x3b1716!==_0x3bac8c(0x28f))return null;if(_0x552740===_0x3bac8c(_0xf41214._0x3f0871)||_0x552740==='merged'){const _0x173af7=parseValueNames(_0x55e1c9),_0x3a7225=parseValueNames(_0x55e1c9[_0x3bac8c(0x2d7)]);if(_0x173af7===null||_0x3a7225===null)return null;if(_0x552740===_0x3bac8c(0x10f))return{'status':_0x552740,'environment':_0x3b1716,..._0x173af7,'removed':_0x3a7225};const _0x4201a2=parseValueNames(_0x55e1c9[_0x3bac8c(0x191)]),_0x25d44a=parseValueNames(_0x55e1c9[_0x3bac8c(_0xf41214._0x517898)]),_0x1506e=isRecord(_0x55e1c9['moved'])?_0x55e1c9[_0x3bac8c(_0xf41214._0x2d1081)]:null,_0x1c09c9=parseNameList(_0x1506e?.[_0x3bac8c(0x1e6)]),_0x481eed=parseNameList(_0x1506e?.[_0x3bac8c(0xf0)]);if(_0x4201a2===null||_0x25d44a===null||_0x1c09c9===null||_0x481eed===null)return null;return{'status':_0x552740,'environment':_0x3b1716,..._0x173af7,'set':_0x4201a2,'kept':_0x25d44a,'removed':_0x3a7225,'moved':{'variables':_0x1c09c9,'secrets':_0x481eed}};}if(_0x552740==='set'||_0x552740===_0x3bac8c(_0xf41214._0x2b715)){const {kind:_0x12e9fc,name:_0x108d47}=_0x55e1c9;if(!VALUE_KINDS['includes'](_0x12e9fc))return null;if(_0x108d47!==void 0x0&&typeof _0x108d47!=='string')return null;return{'status':_0x552740,'environment':_0x3b1716,'kind':_0x12e9fc,...typeof _0x108d47===_0x3bac8c(_0xf41214._0x46626c)?{'name':_0x108d47}:{}};}return null;}__name(parseBoxValuesResponse,'parseBoxValuesResponse');function parseValueNames(_0x48f39e){const _0x53af13={_0x50c06f:0x1db,_0x1bdada:0x1b7},_0x12c4b3=_0x3d4468;if(!isRecord(_0x48f39e))return null;const _0x2b716b=parseNameList(_0x48f39e[_0x12c4b3(0x1e6)]),_0x398333=parseNameList(_0x48f39e[_0x12c4b3(0xf0)]);if(typeof _0x48f39e[_0x12c4b3(_0x53af13._0x50c06f)]!==_0x12c4b3(_0x53af13._0x1bdada)||_0x2b716b===null||_0x398333===null)return null;return{'target':_0x48f39e['target'],'variables':_0x2b716b,'secrets':_0x398333};}__name(parseValueNames,_0x3d4468(0x1e1));function parseNameList(_0x19c45d){const _0x2feaa1={_0x4844cf:0x26c,_0x28981d:0x206},_0x329088=_0x3d4468;if(!Array[_0x329088(_0x2feaa1._0x4844cf)](_0x19c45d))return null;return _0x19c45d[_0x329088(_0x2feaa1._0x28981d)](_0x92b2a9=>typeof _0x92b2a9==='string')?_0x19c45d:null;}__name(parseNameList,_0x3d4468(0x2ca));function parseBoxSecretRevealResponse(_0x1b1e5c){return parseValueEnvelope(_0x1b1e5c);}__name(parseBoxSecretRevealResponse,_0x3d4468(0x2a2));function parseBoxSecretsRevealResponse(_0x24ab2b){return parseStringRecord(_0x24ab2b);}__name(parseBoxSecretsRevealResponse,_0x3d4468(0xdc));var BOX_RUNS_SEGMENT=_0x3d4468(0x291),ACTOR_TICKET_HEADER=_0x3d4468(0xee),GUARD_SECRET_HEADER=_0x3d4468(0x23e);function boxRunsPath(_0x2ded71,_0x48e42e){return'/api/box/envs/'+encodeURIComponent(_0x2ded71)+'/'+encodeURIComponent(_0x48e42e)+'/'+BOX_RUNS_SEGMENT;}__name(boxRunsPath,_0x3d4468(0x118));function boxRunPath(_0x504724,_0x594ca0,_0x2c0f6d){return boxRunsPath(_0x504724,_0x594ca0)+'/'+encodeURIComponent(_0x2c0f6d);}__name(boxRunPath,'boxRunPath');function parseBoxRunRequest(_0xd2f3d4){const _0xf3053e={_0x1cbc95:0x2c1,_0x1c5b97:0x28f,_0x14acf4:0x214,_0x36c948:0x127},_0x88b8ce=_0x3d4468;if(!isRecord(_0xd2f3d4))return null;const {kind:_0x184ac7,ref:_0x29c6bf,test:_0x17d767}=_0xd2f3d4;if(_0x184ac7!==_0x88b8ce(_0xf3053e._0x1cbc95)&&_0x184ac7!=='scenario')return null;if(typeof _0x29c6bf!==_0x88b8ce(_0xf3053e._0x1c5b97)||_0x29c6bf[_0x88b8ce(_0xf3053e._0x14acf4)]===0x0)return null;if(_0x17d767===void 0x0)return{'kind':_0x184ac7,'ref':_0x29c6bf};if(_0x184ac7!==_0x88b8ce(_0xf3053e._0x36c948)||typeof _0x17d767!=='string'||!isTestName(_0x17d767))return null;return{'kind':_0x184ac7,'ref':_0x29c6bf,'test':_0x17d767};}__name(parseBoxRunRequest,_0x3d4468(0x24a));function isTestName(_0x5bc8e5){const _0x3ecdf1=_0x3d4468;return TEST_NAME[_0x3ecdf1(0x1ee)](_0x5bc8e5);}__name(isTestName,'isTestName');var TEST_NAME=/^[a-zA-Zа-яА-ЯёЁ_$][a-zA-Zа-яА-ЯёЁ0-9_$]{0,127}$/;function parseBoxRunAccepted(_0x59ed2d){const _0xf8ef69={_0x475b49:0x28f,_0x50206a:0x214},_0x15e125=_0x3d4468;if(!isRecord(_0x59ed2d))return null;const {runId:_0x4c0ef1,acceptedAt:_0x126046}=_0x59ed2d;if(typeof _0x4c0ef1!==_0x15e125(_0xf8ef69._0x475b49)||_0x4c0ef1[_0x15e125(_0xf8ef69._0x50206a)]===0x0)return null;if(typeof _0x126046!=='number')return null;return{'runId':_0x4c0ef1,'acceptedAt':_0x126046};}__name(parseBoxRunAccepted,'parseBoxRunAccepted');function parseBoxRunStatus(_0x46e206){const _0x2695c9={_0x56d5d5:0x9f},_0x37c8c9=_0x3d4468;if(!isRecord(_0x46e206))return null;const {runId:_0x50189e,state:_0x588dab,exitCode:_0x305e52,startedAt:_0x4767f2,finishedAt:_0x5e7ab2}=_0x46e206;if(typeof _0x50189e!==_0x37c8c9(0x28f)||_0x50189e[_0x37c8c9(0x214)]===0x0)return null;if(_0x588dab!=='queued'&&_0x588dab!=='running'&&_0x588dab!=='finished')return null;if(_0x305e52!==void 0x0&&_0x305e52!==null&&typeof _0x305e52!==_0x37c8c9(_0x2695c9._0x56d5d5))return null;if(_0x4767f2!==void 0x0&&typeof _0x4767f2!==_0x37c8c9(_0x2695c9._0x56d5d5))return null;if(_0x5e7ab2!==void 0x0&&typeof _0x5e7ab2!==_0x37c8c9(_0x2695c9._0x56d5d5))return null;return{'runId':_0x50189e,'state':_0x588dab,..._0x305e52!==void 0x0?{'exitCode':_0x305e52}:{},..._0x4767f2!==void 0x0?{'startedAt':_0x4767f2}:{},..._0x5e7ab2!==void 0x0?{'finishedAt':_0x5e7ab2}:{}};}__name(parseBoxRunStatus,'parseBoxRunStatus');var CI_RUN_PATH=_0x3d4468(0x10d),CI_RUNS_PATH='/api/box/ci/runs',PROVIDER_IDS=[_0x3d4468(0x1a8),_0x3d4468(0x20f),_0x3d4468(0x18d)],RUN_ERROR_CODES=['unauthorized',_0x3d4468(0x1cc),_0x3d4468(0x1d2),_0x3d4468(0x103),'no-collections',_0x3d4468(0x12d),_0x3d4468(0x12f),_0x3d4468(0x1a0),'ambiguous-project',_0x3d4468(0x27c),'storage'],RUN_STATUS_ERROR_CODES=['unauthorized',_0x3d4468(0x1cc),_0x3d4468(0x12f),_0x3d4468(0x1a0),'ambiguous-project','unknown-run'];function parseCiRunStatusResponse(_0x192244){const _0x2e847b={_0x3a9f9e:0x259,_0x30ff65:0x240},_0xb9fe85=_0x3d4468;if(!isRecord(_0x192244))return null;if(isRecord(_0x192244[_0xb9fe85(0x259)])){const {code:_0x6dc4c,message:_0x4b42c4}=_0x192244[_0xb9fe85(_0x2e847b._0x3a9f9e)];if(!RUN_STATUS_ERROR_CODES[_0xb9fe85(_0x2e847b._0x30ff65)](_0x6dc4c))return null;if(typeof _0x4b42c4!==_0xb9fe85(0x28f))return null;return{'error':{'code':_0x6dc4c,'message':_0x4b42c4}};}return parseBoxRunStatus(_0x192244);}__name(parseCiRunStatusResponse,_0x3d4468(0x130));function parseCiRunRequest(_0x5b42cc){const _0x24f6de={_0x5ddfe1:0x214},_0x57068e=_0x3d4468;if(!isRecord(_0x5b42cc))return null;const {bundleId:_0x149dc9,environment:_0x25ea51,collections:_0x5ef787,pr:_0x245b58,branch:_0x463620,sha:_0x226be8}=_0x5b42cc;if(typeof _0x149dc9!==_0x57068e(0x28f)||_0x149dc9[_0x57068e(_0x24f6de._0x5ddfe1)]===0x0)return null;if(typeof _0x25ea51!=='string'||_0x25ea51[_0x57068e(0x214)]===0x0)return null;let _0x572cea=null;if(_0x5ef787!==void 0x0){if(!Array['isArray'](_0x5ef787))return null;if(_0x5ef787[_0x57068e(0x190)](_0x581c05=>typeof _0x581c05!==_0x57068e(0x28f)||_0x581c05['length']===0x0))return null;_0x572cea=_0x5ef787;}if(_0x245b58!==void 0x0&&(typeof _0x245b58!=='number'||!Number[_0x57068e(0x252)](_0x245b58)))return null;for(const _0x476433 of[_0x463620,_0x226be8]){if(_0x476433!==void 0x0&&typeof _0x476433!==_0x57068e(0x28f))return null;}return{'bundleId':_0x149dc9,'environment':_0x25ea51,..._0x572cea?{'collections':_0x572cea}:{},...typeof _0x245b58===_0x57068e(0x9f)?{'pr':_0x245b58}:{},...typeof _0x463620==='string'?{'branch':_0x463620}:{},...typeof _0x226be8===_0x57068e(0x28f)?{'sha':_0x226be8}:{}};}__name(parseCiRunRequest,_0x3d4468(0x269));function parseCiRunResponse(_0xbf6401){const _0x3e34c4={_0x313e36:0x259,_0x35f076:0x28f,_0x1cda2a:0x25e,_0x451c0e:0x28f,_0x41a2a6:0x1d3,_0x393851:0x150},_0x12b91e=_0x3d4468;if(!isRecord(_0xbf6401))return null;if(isRecord(_0xbf6401[_0x12b91e(_0x3e34c4._0x313e36)])){const {code:_0x1b135a,message:_0x250cb5}=_0xbf6401['error'];if(!RUN_ERROR_CODES['includes'](_0x1b135a))return null;if(typeof _0x250cb5!==_0x12b91e(_0x3e34c4._0x35f076))return null;return{'error':{'code':_0x1b135a,'message':_0x250cb5,...parseUnknownEnvironmentDetail(_0xbf6401['error'])}};}const {status:_0x22c992,bundleId:_0x373254,environment:_0x3e0769,runs:_0x36c1be,superseded:_0x461552,environmentPinned:_0x4a079d}=_0xbf6401;if(_0x22c992!==_0x12b91e(_0x3e34c4._0x1cda2a))return null;if(typeof _0x373254!==_0x12b91e(0x28f)||typeof _0x3e0769!==_0x12b91e(0x28f))return null;if(!Array[_0x12b91e(0x26c)](_0x36c1be))return null;const _0x5006a8=[];for(const _0x553ef6 of _0x36c1be){if(!isRecord(_0x553ef6))return null;const {runId:_0x1d18d4,collection:_0x53960b,url:_0x189440}=_0x553ef6;if(typeof _0x1d18d4!==_0x12b91e(0x28f)||typeof _0x53960b!==_0x12b91e(_0x3e34c4._0x451c0e))return null;_0x5006a8[_0x12b91e(_0x3e34c4._0x41a2a6)]({'runId':_0x1d18d4,'collection':_0x53960b,...typeof _0x189440==='string'?{'url':_0x189440}:{}});}if(_0x461552!==void 0x0&&typeof _0x461552!==_0x12b91e(0x9f))return null;let _0x1349c9=null;return _0x4a079d!==void 0x0&&(isRecord(_0x4a079d)&&typeof _0x4a079d[_0x12b91e(_0x3e34c4._0x393851)]===_0x12b91e(0x28f)&&(_0x1349c9={'branch':_0x4a079d[_0x12b91e(_0x3e34c4._0x393851)]})),{'status':_0x12b91e(0x25e),'bundleId':_0x373254,'environment':_0x3e0769,'runs':_0x5006a8,...typeof _0x461552===_0x12b91e(0x9f)?{'superseded':_0x461552}:{},..._0x1349c9?{'environmentPinned':_0x1349c9}:{}};}__name(parseCiRunResponse,_0x3d4468(0x1d5));function parseCiProvider(_0x27fb4a){const _0x317b5e={_0x4371b8:0x240},_0x40acb7=_0x3d4468;return PROVIDER_IDS[_0x40acb7(_0x317b5e._0x4371b8)](_0x27fb4a)?_0x27fb4a:null;}__name(parseCiProvider,_0x3d4468(0x100));function ciRunLinesPath(_0x413755){const _0x49ec57=_0x3d4468;return CI_RUNS_PATH+'/'+encodeURIComponent(_0x413755)+_0x49ec57(0x1b5);}__name(ciRunLinesPath,_0x3d4468(0x158));var CI_RUN_LINES_AFTER=_0x3d4468(0xf8),CI_RUN_LINES_MAX=0x1f4,LINE_KINDS=[_0x3d4468(0xb9),_0x3d4468(0x2ba),_0x3d4468(0x1ba),_0x3d4468(0x20c),_0x3d4468(0xbf)],OUTCOMES=['completed','failed',_0x3d4468(0xbb),_0x3d4468(0x10b)];function parseCiRunLinesResponse(_0x44275e){const _0x504723={_0x36341c:0x252,_0x36a6a2:0x1b7,_0x534890:0x28f,_0x792f5e:0x240,_0xb7474:0x1d3,_0x4bdda4:0x28f},_0x2f297b=_0x3d4468;if(!isRecord(_0x44275e))return null;if(isRecord(_0x44275e[_0x2f297b(0x259)]))return parseCiRunStatusResponse(_0x44275e);const {runId:_0x37c383,lines:_0x24384b,next:_0xd29b92,done:_0x492db7}=_0x44275e;if(typeof _0x37c383!=='string'||!Array['isArray'](_0x24384b))return null;if(typeof _0xd29b92!=='number'||!Number[_0x2f297b(_0x504723._0x36341c)](_0xd29b92)||_0xd29b92<0x0||typeof _0x492db7!==_0x2f297b(_0x504723._0x36a6a2))return null;const _0x53c9ca=[];for(const _0xc9b60d of _0x24384b){if(!isRecord(_0xc9b60d))return null;const {kind:_0x234cb2,scenario:_0x2054a9,text:_0x520782,outcome:_0x2b6ea1,skipReason:_0x3f2d68,expectFail:_0x2d582d}=_0xc9b60d;if(!LINE_KINDS[_0x2f297b(0x240)](_0x234cb2))return null;if(typeof _0x2054a9!==_0x2f297b(_0x504723._0x534890)||typeof _0x520782!==_0x2f297b(0x28f))return null;if(_0x2b6ea1!==void 0x0&&!OUTCOMES[_0x2f297b(_0x504723._0x792f5e)](_0x2b6ea1))return null;_0x53c9ca[_0x2f297b(_0x504723._0xb7474)]({'kind':_0x234cb2,'scenario':_0x2054a9,'text':_0x520782,..._0x2b6ea1===void 0x0?{}:{'outcome':_0x2b6ea1},...typeof _0x3f2d68===_0x2f297b(_0x504723._0x4bdda4)?{'skipReason':_0x3f2d68}:{},..._0x2d582d===!![]?{'expectFail':_0x2d582d}:{}});}return{'runId':_0x37c383,'lines':_0x53c9ca,'next':_0xd29b92,'done':_0x492db7};}__name(parseCiRunLinesResponse,_0x3d4468(0x111));var QUEUE_SUBDIR=_0x3d4468(0x1ad),QUEUE_TICKETS_DIR=_0x3d4468(0x14b),QUEUE_RUNNING_DIR=_0x3d4468(0xce),QUEUE_SLOTS_DIR=_0x3d4468(0xba),QUEUE_MUTEX_FILE=_0x3d4468(0xa5),QUEUE_DISABLED_ENV=_0x3d4468(0x245),QUEUE_GLOBAL_DIR_ENV=_0x3d4468(0xff),QUEUE_GLOBAL_SLOTS_ENV=_0x3d4468(0x2a0),QUEUE_SCHEMA_VERSION=0x1;function queueDirFor(_0x5bee54,_0x49745b){return''+QUEUE_SUBDIR+_0x5bee54+(_0x49745b?'.'+_0x49745b:'');}__name(queueDirFor,_0x3d4468(0x242));function isQueueDirName(_0x30d590){const _0x1f9a96={_0xbed70c:0xe9},_0x2d8423=_0x3d4468;return _0x30d590===QUEUE_SUBDIR||_0x30d590[_0x2d8423(_0x1f9a96._0xbed70c)](QUEUE_SUBDIR+'-')||_0x30d590['startsWith'](QUEUE_SUBDIR+'.');}__name(isQueueDirName,_0x3d4468(0x1d0));function projectQueueRoot(_0x56cc71='',_0x55ce0d){return UNOTEST_DIR+'/'+queueDirFor(_0x56cc71,_0x55ce0d);}__name(projectQueueRoot,_0x3d4468(0x166));var PRIORITY_RANKS=Object[_0x3d4468(0x2e1)]({'maintenance':0x0,'interactive':0x1,'ci':0x2,'schedule':0x3}),RANK_PRIORITIES=[_0x3d4468(0xf3),_0x3d4468(0x260),'ci','schedule'],QUEUE_PRIORITIES=RANK_PRIORITIES;function queuePriorityRank(_0x40aac3){return PRIORITY_RANKS[_0x40aac3];}__name(queuePriorityRank,'queuePriorityRank');function queuePriorityFromRank(_0x14e5ba){return RANK_PRIORITIES[_0x14e5ba]??null;}__name(queuePriorityFromRank,_0x3d4468(0x1cd));function describeTicketCi(_0x19ec4e){const _0x2778ed={_0x517164:0xf2,_0x18faa3:0x150},_0x3bb201=_0x3d4468,_0x26e6e0=_0x19ec4e[_0x3bb201(_0x2778ed._0x517164)]?'@'+_0x19ec4e[_0x3bb201(_0x2778ed._0x517164)][_0x3bb201(0x26a)](0x0,0x7):'';if(_0x19ec4e['pr']!==void 0x0)return _0x3bb201(0x248)+_0x19ec4e['pr']+_0x26e6e0;if(_0x19ec4e[_0x3bb201(_0x2778ed._0x18faa3)]!==void 0x0)return''+_0x19ec4e['branch']+_0x26e6e0;return _0x26e6e0[_0x3bb201(0x214)]>0x0?_0x26e6e0[_0x3bb201(0x26a)](0x1):_0x19ec4e[_0x3bb201(0x2cb)];}__name(describeTicketCi,_0x3d4468(0xd7));function makeQueueTicketName(_0x2bc05f,_0x47f5e4,_0x34ca78){const _0x1cf66f=_0x3d4468;return queuePriorityRank(_0x2bc05f)+'-'+_0x47f5e4['toString'](0x24)+'-'+_0x34ca78+_0x1cf66f(0x2bc);}__name(makeQueueTicketName,'makeQueueTicketName');var TICKET_NAME_RE=/^([0-3])-([0-9a-z]+)-([0-9a-f]+)\.json$/;function parseQueueTicketName(_0x4feb9f){const _0x2517b7={_0x20d931:0x221},_0x2ebeb5=_0x3d4468,_0x397ccd=TICKET_NAME_RE[_0x2ebeb5(_0x2517b7._0x20d931)](_0x4feb9f);if(!_0x397ccd)return null;const _0x5df784=Number(_0x397ccd[0x1]),_0x154d8e=queuePriorityFromRank(_0x5df784);if(_0x154d8e===null)return null;const _0x28136e=parseInt(_0x397ccd[0x2],0x24);if(!Number['isFinite'](_0x28136e))return null;return{'rank':_0x5df784,'priority':_0x154d8e,'createdAt':_0x28136e,'random':_0x397ccd[0x3]};}__name(parseQueueTicketName,_0x3d4468(0xca));function compareQueueTicketNames(_0x998eac,_0x559c83){const _0x2d70b4={_0x3a846d:0x20b,_0xc67315:0x2d8,_0x496f61:0x17c,_0x732402:0x17c},_0x9f5f18=_0x3d4468,_0x16eeb9=parseQueueTicketName(_0x998eac),_0x2fb82b=parseQueueTicketName(_0x559c83);if(!_0x16eeb9||!_0x2fb82b)return _0x998eac<_0x559c83?-0x1:_0x998eac>_0x559c83?0x1:0x0;if(_0x16eeb9[_0x9f5f18(_0x2d70b4._0x3a846d)]!==_0x2fb82b['rank'])return _0x16eeb9['rank']-_0x2fb82b[_0x9f5f18(_0x2d70b4._0x3a846d)];if(_0x16eeb9[_0x9f5f18(_0x2d70b4._0xc67315)]!==_0x2fb82b[_0x9f5f18(_0x2d70b4._0xc67315)])return _0x16eeb9[_0x9f5f18(0x2d8)]-_0x2fb82b[_0x9f5f18(0x2d8)];return _0x16eeb9[_0x9f5f18(0x17c)]<_0x2fb82b[_0x9f5f18(0x17c)]?-0x1:_0x16eeb9[_0x9f5f18(_0x2d70b4._0x496f61)]>_0x2fb82b[_0x9f5f18(_0x2d70b4._0x732402)]?0x1:0x0;}__name(compareQueueTicketNames,_0x3d4468(0x165));var TICKET_KINDS=[_0x3d4468(0x127),'collection','authoring','maintenance'],PRODUCER_KINDS=[_0x3d4468(0x1f7),_0x3d4468(0x1ef),'mcp',_0x3d4468(0x19e),'ci'];function parseQueueTicket(_0x59b87){const _0x1e88d5={_0x1c4d19:0x28f,_0x2e8ddf:0x240,_0x573716:0x26b,_0x212c3a:0x27a,_0xc9775b:0x114,_0x1f2956:0x28f,_0x18f574:0x226,_0x526e8b:0x140,_0x3bd0eb:0x28f,_0x2f777a:0x214},_0x25dcfa=_0x3d4468;if(!isRecord(_0x59b87))return null;const {schemaVersion:_0x3b9397,runId:_0x4cb280,kind:_0x1545dc,ref:_0xc32589,test:_0x1da1fd,env:_0x550121,priority:_0x5918e4,weight:_0x4014ff,producer:_0x1e8144,source:_0x29fa62,ci:_0x5f4d09,createdAt:_0x349c2e}=_0x59b87;if(_0x3b9397!==QUEUE_SCHEMA_VERSION)return null;if(typeof _0x4cb280!==_0x25dcfa(_0x1e88d5._0x1c4d19)||_0x4cb280[_0x25dcfa(0x214)]===0x0)return null;if(typeof _0xc32589!=='string')return null;if(!TICKET_KINDS[_0x25dcfa(0x240)](_0x1545dc))return null;if(!QUEUE_PRIORITIES[_0x25dcfa(_0x1e88d5._0x2e8ddf)](_0x5918e4))return null;if(typeof _0x4014ff!==_0x25dcfa(0x9f)||!Number[_0x25dcfa(0x26b)](_0x4014ff)||_0x4014ff<0x1)return null;if(typeof _0x349c2e!==_0x25dcfa(0x9f)||!Number[_0x25dcfa(_0x1e88d5._0x573716)](_0x349c2e))return null;if(!isRecord(_0x1e8144))return null;if(!PRODUCER_KINDS[_0x25dcfa(_0x1e88d5._0x2e8ddf)](_0x1e8144[_0x25dcfa(_0x1e88d5._0x212c3a)]))return null;if(typeof _0x1e8144[_0x25dcfa(0x140)]!==_0x25dcfa(0x9f)||typeof _0x1e8144[_0x25dcfa(_0x1e88d5._0xc9775b)]!=='string')return null;if(_0x550121!==void 0x0&&typeof _0x550121!=='string')return null;let _0x5272c6=null;if(_0x29fa62!==void 0x0){if(!isRecord(_0x29fa62)||typeof _0x29fa62['bundleId']!==_0x25dcfa(_0x1e88d5._0x1f2956)||_0x29fa62['bundleId'][_0x25dcfa(0x214)]===0x0)return null;_0x5272c6={'bundleId':_0x29fa62[_0x25dcfa(_0x1e88d5._0x18f574)]};}let _0x5b3471=null;if(_0x5f4d09!==void 0x0){_0x5b3471=parseTicketCi(_0x5f4d09);if(_0x5b3471===null)return null;}return{'schemaVersion':QUEUE_SCHEMA_VERSION,'runId':_0x4cb280,'kind':_0x1545dc,'ref':_0xc32589,'priority':_0x5918e4,'weight':_0x4014ff,'producer':{'kind':_0x1e8144[_0x25dcfa(_0x1e88d5._0x212c3a)],'pid':_0x1e8144[_0x25dcfa(_0x1e88d5._0x526e8b)],'host':_0x1e8144['host']},'createdAt':_0x349c2e,...typeof _0x1da1fd===_0x25dcfa(_0x1e88d5._0x3bd0eb)&&_0x1da1fd[_0x25dcfa(_0x1e88d5._0x2f777a)]>0x0?{'test':_0x1da1fd}:{},...typeof _0x550121===_0x25dcfa(_0x1e88d5._0x3bd0eb)?{'env':_0x550121}:{},..._0x5272c6?{'source':_0x5272c6}:{},..._0x5b3471?{'ci':_0x5b3471}:{}};}__name(parseQueueTicket,_0x3d4468(0xdd));function parseTicketCi(_0x38d125){const _0x526c0b={_0x14b599:0x28f,_0x4fef0d:0x28f,_0x2d967e:0x28f},_0x458eb2=_0x3d4468;if(!isRecord(_0x38d125))return null;const _0x3e075d=parseCiProvider(_0x38d125['provider']);if(_0x3e075d===null)return null;const {repo:_0x4e479b,branch:_0x63aa3a,sha:_0x431478,pr:_0x3bf0ca,checkId:_0x2c158d}=_0x38d125;for(const _0x1225cb of[_0x4e479b,_0x63aa3a,_0x431478,_0x2c158d]){if(_0x1225cb!==void 0x0&&typeof _0x1225cb!=='string')return null;}if(_0x3bf0ca!==void 0x0&&(typeof _0x3bf0ca!=='number'||!Number[_0x458eb2(0x252)](_0x3bf0ca)))return null;return{'provider':_0x3e075d,...typeof _0x4e479b===_0x458eb2(_0x526c0b._0x14b599)?{'repo':_0x4e479b}:{},...typeof _0x63aa3a===_0x458eb2(_0x526c0b._0x4fef0d)?{'branch':_0x63aa3a}:{},...typeof _0x431478===_0x458eb2(_0x526c0b._0x2d967e)?{'sha':_0x431478}:{},...typeof _0x3bf0ca===_0x458eb2(0x9f)?{'pr':_0x3bf0ca}:{},...typeof _0x2c158d==='string'?{'checkId':_0x2c158d}:{}};}__name(parseTicketCi,_0x3d4468(0xb6));var BOX_NOTIFY_PATH=_0x3d4468(0x234);function boxNotifyProjectPath(_0x391072){return BOX_NOTIFY_PATH+'/'+encodeURIComponent(_0x391072);}__name(boxNotifyProjectPath,'boxNotifyProjectPath');function boxNotifyChannelPath(_0x229eba,_0xe647a){const _0x322e50=_0x3d4468;return boxNotifyProjectPath(_0x229eba)+_0x322e50(0x1ce)+encodeURIComponent(_0xe647a);}__name(boxNotifyChannelPath,'boxNotifyChannelPath');function boxNotifyTestPath(_0x42f61a,_0x3c5285){return boxNotifyChannelPath(_0x42f61a,_0x3c5285)+'/test';}__name(boxNotifyTestPath,'boxNotifyTestPath');function boxNotifyRulePath(_0x1a71d5,_0x439063){const _0x2f7f1d={_0x198ba4:0x14d},_0x535f70=_0x3d4468;return boxNotifyProjectPath(_0x1a71d5)+_0x535f70(_0x2f7f1d._0x198ba4)+encodeURIComponent(_0x439063);}__name(boxNotifyRulePath,_0x3d4468(0x1d9));function boxNotifyQuietHoursPath(_0x5e136c){const _0x249cb5=_0x3d4468;return boxNotifyProjectPath(_0x5e136c)+_0x249cb5(0x2df);}__name(boxNotifyQuietHoursPath,_0x3d4468(0xec));function boxNotifySeriesPath(_0x161fe0){const _0x109fee={_0x15d663:0x2b1},_0x1de3d6=_0x3d4468;return boxNotifyProjectPath(_0x161fe0)+_0x1de3d6(_0x109fee._0x15d663);}__name(boxNotifySeriesPath,'boxNotifySeriesPath');function boxNotifySeriesResetPath(_0x4ce5dd,_0x5207c3){return boxNotifySeriesPath(_0x4ce5dd)+'/'+encodeURIComponent(_0x5207c3)+'/reset';}__name(boxNotifySeriesResetPath,_0x3d4468(0x29c));function boxNotifyMutePath(_0x4281e2,_0x199995){return boxNotifyProjectPath(_0x4281e2)+'/mutes/'+encodeURIComponent(_0x199995);}__name(boxNotifyMutePath,_0x3d4468(0x213));function boxNotifyPreviewPath(_0x2c3aac,_0x389cd0,_0x2fbd25){const _0x4fe033={_0x1aed83:0x24b},_0x4002ae=_0x3d4468;return boxNotifyProjectPath(_0x2c3aac)+_0x4002ae(_0x4fe033._0x1aed83)+encodeURIComponent(_0x389cd0)+_0x4002ae(0x283)+_0x2fbd25;}__name(boxNotifyPreviewPath,_0x3d4468(0x1a2));var BOX_NOTIFY_CHANNEL_KINDS=[_0x3d4468(0x18b),_0x3d4468(0x2c9),_0x3d4468(0x13c)],BOX_NOTIFY_TRIGGER_KINDS=[_0x3d4468(0x19e),'ci',_0x3d4468(0x2c4),'cli'],BOX_NOTIFY_EVENTS=[_0x3d4468(0xa1),'recovered','not-run',_0x3d4468(0xd0)],BOX_NOTIFY_STATES=[_0x3d4468(0xa1),'recovered',_0x3d4468(0x208),_0x3d4468(0xfe),'passed'],ERROR_CODES=[_0x3d4468(0x131),'unknown-project',_0x3d4468(0x1e0),_0x3d4468(0x271),_0x3d4468(0x2cf),_0x3d4468(0x25f),_0x3d4468(0x12d),_0x3d4468(0x29e)];function parseBoxNotifyView(_0x2de4c0){const _0x45567e={_0x4add12:0x112,_0x33ce4a:0x2c6},_0x1c597b=_0x3d4468;if(!isRecord(_0x2de4c0)||!Array[_0x1c597b(0x26c)](_0x2de4c0[_0x1c597b(0x112)]))return null;const _0x354aae=_0x2de4c0[_0x1c597b(_0x45567e._0x4add12)][_0x1c597b(_0x45567e._0x33ce4a)](parseBoxNotifyProjectView);return _0x354aae[_0x1c597b(0x206)](_0x3f3c2c=>_0x3f3c2c!==null)?{'projects':_0x354aae}:null;}__name(parseBoxNotifyView,'parseBoxNotifyView');function parseBoxNotifyProjectView(_0xe1bad8){const _0x230016={_0x5256db:0x28f,_0xa0bf69:0x21d,_0x629501:0x2d3},_0x1bfafc=_0x3d4468;if(!isRecord(_0xe1bad8)||typeof _0xe1bad8['project']!==_0x1bfafc(_0x230016._0x5256db))return null;const _0x4b515d=parseAll(_0xe1bad8[_0x1bfafc(_0x230016._0xa0bf69)],parseChannel),_0x556daf=parseAll(_0xe1bad8['rules'],parseRule),_0x19c887=parseAll(_0xe1bad8['mutes'],parseMute);if(_0x4b515d===null||_0x556daf===null||_0x19c887===null)return null;const _0x2134b7=_0xe1bad8[_0x1bfafc(0x129)]===void 0x0?void 0x0:parseQuietHours(_0xe1bad8[_0x1bfafc(0x129)]);if(_0x2134b7===null)return null;return{'project':_0xe1bad8[_0x1bfafc(_0x230016._0x629501)],'channels':_0x4b515d,'rules':_0x556daf,'mutes':_0x19c887,..._0x2134b7!==void 0x0?{'quietHours':_0x2134b7}:{}};}__name(parseBoxNotifyProjectView,_0x3d4468(0x1ca));function parseBoxNotifySeriesView(_0x476a87){const _0x1e450={_0x58d334:0x28f},_0x6498f0=_0x3d4468;if(!isRecord(_0x476a87)||typeof _0x476a87['project']!==_0x6498f0(_0x1e450._0x58d334))return null;const _0x2f9b66=parseAll(_0x476a87['series'],parseSeriesEntry);return _0x2f9b66===null?null:{'project':_0x476a87['project'],'series':_0x2f9b66};}__name(parseBoxNotifySeriesView,'parseBoxNotifySeriesView');function parseBoxNotifyPreview(_0x158b4c){const _0x4a4cea={_0x2fa4d0:0x28f,_0xbaafb9:0x29f,_0x110cc9:0x1cf},_0x2530c5=_0x3d4468;if(!isRecord(_0x158b4c)||!isState(_0x158b4c['state'])||typeof _0x158b4c['title']!==_0x2530c5(_0x4a4cea._0x2fa4d0))return null;if(!isStringArray(_0x158b4c[_0x2530c5(0x16c)]))return null;if(_0x158b4c[_0x2530c5(_0x4a4cea._0xbaafb9)]!==void 0x0&&typeof _0x158b4c[_0x2530c5(0x29f)]!==_0x2530c5(0x28f))return null;return{'state':_0x158b4c[_0x2530c5(0xab)],'title':_0x158b4c[_0x2530c5(_0x4a4cea._0x110cc9)],'lines':_0x158b4c['lines'],..._0x158b4c[_0x2530c5(_0x4a4cea._0xbaafb9)]!==void 0x0?{'url':_0x158b4c[_0x2530c5(0x29f)]}:{}};}__name(parseBoxNotifyPreview,'parseBoxNotifyPreview');function parseBoxNotifyTestResult(_0x213f26){const _0x3bcc13={_0x3410a6:0x28f,_0x52813b:0xa7,_0x36ca43:0x20c,_0x1e6bc5:0x28f,_0x74c369:0x134},_0x420384=_0x3d4468;if(!isRecord(_0x213f26)||typeof _0x213f26['channel']!==_0x420384(_0x3bcc13._0x3410a6))return null;if(_0x213f26[_0x420384(0x28a)]===_0x420384(_0x3bcc13._0x52813b)){if(_0x213f26[_0x420384(0x20c)]!==void 0x0&&typeof _0x213f26[_0x420384(0x20c)]!=='string')return null;return{'status':_0x420384(0xa7),'channel':_0x213f26[_0x420384(0xd6)],..._0x213f26[_0x420384(_0x3bcc13._0x36ca43)]!==void 0x0?{'note':_0x213f26[_0x420384(0x20c)]}:{}};}if(_0x213f26['status']===_0x420384(0xa1)&&typeof _0x213f26['message']===_0x420384(_0x3bcc13._0x1e6bc5))return{'status':_0x420384(0xa1),'channel':_0x213f26['channel'],'message':_0x213f26[_0x420384(_0x3bcc13._0x74c369)]};return null;}__name(parseBoxNotifyTestResult,_0x3d4468(0xa4));function parseBoxNotifyChanged(_0x3b96d2){const _0x1753c8=_0x3d4468;if(!isRecord(_0x3b96d2)||typeof _0x3b96d2['id']!==_0x1753c8(0x28f))return null;const {status:_0x43770c}=_0x3b96d2;if(_0x43770c!=='created'&&_0x43770c!==_0x1753c8(0x2b8)&&_0x43770c!==_0x1753c8(0x2d7))return null;return{'status':_0x43770c,'id':_0x3b96d2['id']};}__name(parseBoxNotifyChanged,_0x3d4468(0x254));function parseBoxNotifyError(_0x23354f){const _0x2ca3d2={_0x389b50:0x259},_0xc2429b=_0x3d4468;if(!isRecord(_0x23354f)||!isRecord(_0x23354f[_0xc2429b(_0x2ca3d2._0x389b50)]))return null;const {code:_0x281c53,message:_0x6919ce}=_0x23354f[_0xc2429b(_0x2ca3d2._0x389b50)];if(!ERROR_CODES[_0xc2429b(0x240)](_0x281c53)||typeof _0x6919ce!==_0xc2429b(0x28f))return null;return{'error':{'code':_0x281c53,'message':_0x6919ce}};}__name(parseBoxNotifyError,'parseBoxNotifyError');function isBoxNotifyState(_0x57c44a){return isState(_0x57c44a);}__name(isBoxNotifyState,_0x3d4468(0x14f));function boxNotifyPreviewTrigger(_0x14a63c){const _0x405bd9={_0xea625a:0x19e,_0x16a765:0x2c4},_0x58b4cc=_0x3d4468;switch(_0x14a63c){case _0x58b4cc(_0x405bd9._0xea625a):return{'kind':_0x14a63c};case'ci':return{'kind':_0x14a63c,'by':'push\x20a1b2c3d\x20(main)'};case _0x58b4cc(_0x405bd9._0x16a765):return{'kind':_0x14a63c,'by':_0x58b4cc(0x250)};case'cli':return{'kind':_0x14a63c};}}__name(boxNotifyPreviewTrigger,_0x3d4468(0x10a));function parseAll(_0x22e3cd,_0x55d081){const _0x5d945a={_0x36eb70:0x26c},_0x231e11=_0x3d4468;if(!Array[_0x231e11(_0x5d945a._0x36eb70)](_0x22e3cd))return null;const _0x3178c5=[];for(const _0x2a5f1f of _0x22e3cd){const _0x143a59=_0x55d081(_0x2a5f1f);if(_0x143a59===null)return null;_0x3178c5[_0x231e11(0x1d3)](_0x143a59);}return _0x3178c5;}__name(parseAll,_0x3d4468(0x16f));function parseSecret(_0x525f85){const _0x1f9419={_0x1e2c5f:0x1b7},_0x5d675d=_0x3d4468;return isRecord(_0x525f85)&&typeof _0x525f85[_0x5d675d(0x191)]===_0x5d675d(_0x1f9419._0x1e2c5f)?{'set':_0x525f85[_0x5d675d(0x191)]}:null;}__name(parseSecret,_0x3d4468(0xfa));function parseLastDelivery(_0x429603){const _0x531c6f={_0x502ceb:0xa7,_0xebcfe2:0x259,_0x58e1d4:0x259},_0x24ddc9=_0x3d4468;if(!isRecord(_0x429603)||typeof _0x429603['at']!=='number')return null;if(_0x429603[_0x24ddc9(0x1d7)]!==_0x24ddc9(_0x531c6f._0x502ceb)&&_0x429603[_0x24ddc9(0x1d7)]!==_0x24ddc9(0xa1))return null;if(_0x429603[_0x24ddc9(0x259)]!==void 0x0&&typeof _0x429603[_0x24ddc9(0x259)]!=='string')return null;return{'at':_0x429603['at'],'outcome':_0x429603['outcome'],..._0x429603[_0x24ddc9(_0x531c6f._0xebcfe2)]!==void 0x0?{'error':_0x429603[_0x24ddc9(_0x531c6f._0x58e1d4)]}:{}};}__name(parseLastDelivery,_0x3d4468(0xc4));function parseChannel(_0x352c6d){const _0x17ac29={_0x319c51:0x28f,_0x56feb7:0x2cd,_0x44cc0c:0x26d,_0x2cf89c:0x29f,_0x216608:0xb4,_0x454fd8:0x29f},_0x245972=_0x3d4468;if(!isRecord(_0x352c6d))return null;const {id:_0x1b687a,name:_0x461232,enabled:_0x5c4ad8,kind:_0x42108f}=_0x352c6d;if(typeof _0x1b687a!=='string'||typeof _0x461232!==_0x245972(_0x17ac29._0x319c51)||typeof _0x5c4ad8!=='boolean')return null;const _0xe50930=_0x352c6d[_0x245972(0xf1)]===void 0x0?void 0x0:parseLastDelivery(_0x352c6d[_0x245972(0xf1)]);if(_0xe50930===null)return null;const _0x564887={'id':_0x1b687a,'name':_0x461232,'enabled':_0x5c4ad8,..._0xe50930!==void 0x0?{'lastDelivery':_0xe50930}:{}};switch(_0x42108f){case _0x245972(0x18b):{const _0x549bd5=parseSecret(_0x352c6d[_0x245972(_0x17ac29._0x56feb7)]);return _0x549bd5===null?null:{..._0x564887,'kind':_0x42108f,'webhookUrl':_0x549bd5};}case _0x245972(0x2c9):{const _0x4c345a=parseSecret(_0x352c6d['botToken']);if(_0x4c345a===null||typeof _0x352c6d[_0x245972(0x1ea)]!=='string')return null;if(_0x352c6d[_0x245972(_0x17ac29._0x44cc0c)]!==void 0x0&&typeof _0x352c6d[_0x245972(_0x17ac29._0x44cc0c)]!==_0x245972(0x28f))return null;return{..._0x564887,'kind':_0x42108f,'botToken':_0x4c345a,'chatId':_0x352c6d[_0x245972(0x1ea)],..._0x352c6d[_0x245972(_0x17ac29._0x44cc0c)]!==void 0x0?{'threadId':_0x352c6d['threadId']}:{}};}case'webhook':{const _0x3e27c1=parseSecret(_0x352c6d['secret']);if(_0x3e27c1===null||typeof _0x352c6d[_0x245972(_0x17ac29._0x2cf89c)]!==_0x245972(_0x17ac29._0x319c51))return null;const _0x3f7756=_0x352c6d[_0x245972(_0x17ac29._0x216608)]===void 0x0?void 0x0:parseHeaderFlags(_0x352c6d['headers']);if(_0x3f7756===null)return null;return{..._0x564887,'kind':_0x42108f,'url':_0x352c6d[_0x245972(_0x17ac29._0x454fd8)],'secret':_0x3e27c1,..._0x3f7756!==void 0x0?{'headers':_0x3f7756}:{}};}default:return null;}}__name(parseChannel,'parseChannel');function parseHeaderFlags(_0x5748a9){const _0x40ec1c={_0x564a51:0x119},_0x500089=_0x3d4468;if(!isRecord(_0x5748a9))return null;const _0x214bbe={};for(const [_0x5ef274,_0x4711bc]of Object[_0x500089(_0x40ec1c._0x564a51)](_0x5748a9)){const _0x237862=parseSecret(_0x4711bc);if(_0x237862===null)return null;_0x214bbe[_0x5ef274]=_0x237862;}return _0x214bbe;}__name(parseHeaderFlags,_0x3d4468(0x29d));function parseRule(_0xcd34b9){const _0x206871={_0x1f5f9e:0x1b7,_0x4caf2f:0x144,_0x3faab2:0x1be,_0xbd1a5:0x1f4,_0x12ee65:0x206,_0x56b99b:0x21d,_0x44fc79:0x9f,_0x4ad110:0x1be},_0x10314c=_0x3d4468;if(!isRecord(_0xcd34b9)||typeof _0xcd34b9['id']!=='string'||typeof _0xcd34b9['enabled']!==_0x10314c(_0x206871._0x1f5f9e))return null;if(_0xcd34b9[_0x10314c(0x144)]!==void 0x0&&typeof _0xcd34b9[_0x10314c(_0x206871._0x4caf2f)]!==_0x10314c(0x28f))return null;if(_0xcd34b9[_0x10314c(_0x206871._0x3faab2)]!==void 0x0&&!isStringArray(_0xcd34b9[_0x10314c(0x1be)]))return null;if(!isStringArray(_0xcd34b9[_0x10314c(_0x206871._0xbd1a5)])||!_0xcd34b9['triggers'][_0x10314c(_0x206871._0x12ee65)](isTriggerKind))return null;if(!isStringArray(_0xcd34b9['events'])||!_0xcd34b9[_0x10314c(0x2d4)][_0x10314c(0x206)](isEvent))return null;if(!isStringArray(_0xcd34b9[_0x10314c(_0x206871._0x56b99b)])||typeof _0xcd34b9['afterFailures']!==_0x10314c(0x9f))return null;if(_0xcd34b9[_0x10314c(0xea)]!==void 0x0&&typeof _0xcd34b9[_0x10314c(0xea)]!==_0x10314c(_0x206871._0x44fc79))return null;return{'id':_0xcd34b9['id'],..._0xcd34b9[_0x10314c(_0x206871._0x4caf2f)]!==void 0x0?{'name':_0xcd34b9['name']}:{},'enabled':_0xcd34b9['enabled'],..._0xcd34b9[_0x10314c(_0x206871._0x4ad110)]!==void 0x0?{'environments':_0xcd34b9['environments']}:{},'triggers':_0xcd34b9[_0x10314c(0x1f4)],'events':_0xcd34b9[_0x10314c(0x2d4)],'channels':_0xcd34b9[_0x10314c(0x21d)],'afterFailures':_0xcd34b9['afterFailures'],..._0xcd34b9[_0x10314c(0xea)]!==void 0x0?{'repeatEvery':_0xcd34b9[_0x10314c(0xea)]}:{}};}__name(parseRule,_0x3d4468(0x159));function parseBoxNotifyMuteScope(_0x496f00){const _0x121ab7={_0x4f5588:0x2d3,_0x124597:0x214},_0x4ab48e=_0x3d4468;if(!isRecord(_0x496f00))return null;if(_0x496f00[_0x4ab48e(_0x121ab7._0x4f5588)]===!![])return{'project':!![]};if(typeof _0x496f00[_0x4ab48e(0x168)]===_0x4ab48e(0x28f)&&_0x496f00[_0x4ab48e(0x168)][_0x4ab48e(_0x121ab7._0x124597)]>0x0)return{'series':_0x496f00['series']};return null;}__name(parseBoxNotifyMuteScope,_0x3d4468(0x24d));function parseMute(_0xad10f7){const _0x3ecc81={_0x3523dd:0x28f,_0x32b878:0x1c5,_0x450225:0x2bb,_0x4583cf:0x28f},_0x394da8=_0x3d4468;if(!isRecord(_0xad10f7)||typeof _0xad10f7['id']!==_0x394da8(_0x3ecc81._0x3523dd)||typeof _0xad10f7['by']!=='string')return null;const _0x59db9b=parseBoxNotifyMuteScope(_0xad10f7[_0x394da8(_0x3ecc81._0x32b878)]);if(_0x59db9b===null||typeof _0xad10f7['at']!==_0x394da8(0x9f))return null;if(_0xad10f7['until']!==void 0x0&&typeof _0xad10f7[_0x394da8(_0x3ecc81._0x450225)]!==_0x394da8(0x9f))return null;if(_0xad10f7[_0x394da8(0x29a)]!==void 0x0&&typeof _0xad10f7[_0x394da8(0x29a)]!==_0x394da8(_0x3ecc81._0x4583cf))return null;return{'id':_0xad10f7['id'],'scope':_0x59db9b,..._0xad10f7[_0x394da8(0x2bb)]!==void 0x0?{'until':_0xad10f7['until']}:{},'by':_0xad10f7['by'],..._0xad10f7[_0x394da8(0x29a)]!==void 0x0?{'reason':_0xad10f7['reason']}:{},'at':_0xad10f7['at']};}__name(parseMute,_0x3d4468(0x2a6));function parseQuietHours(_0x4dac6b){const _0x55a1af={_0x36e5c0:0x28f},_0xca73af=_0x3d4468;if(!isRecord(_0x4dac6b))return null;const {from:_0x2f64b4,to:_0x1b74f9,tz:_0x36aa08}=_0x4dac6b;if(typeof _0x2f64b4!==_0xca73af(_0x55a1af._0x36e5c0)||typeof _0x1b74f9!==_0xca73af(0x28f)||typeof _0x36aa08!==_0xca73af(0x28f))return null;return{'from':_0x2f64b4,'to':_0x1b74f9,'tz':_0x36aa08};}__name(parseQuietHours,_0x3d4468(0x2af));function parseSeriesEntry(_0x4a38f6){const _0x2c7910={_0x4728c6:0x12b,_0x1bb117:0x144,_0xb0d89a:0x27a,_0x15c575:0x27a,_0x5a503b:0x127,_0x10a15f:0x28f,_0x5f40af:0x1f8,_0x30f4c5:0x9f,_0x2599bf:0x9f,_0x50583a:0x286,_0xd53e85:0x12b,_0x31d495:0x27a,_0x25e4af:0xab,_0xdb1715:0x29a},_0x1ab328=_0x3d4468;if(!isRecord(_0x4a38f6)||typeof _0x4a38f6[_0x1ab328(0xde)]!=='string'||typeof _0x4a38f6[_0x1ab328(_0x2c7910._0x4728c6)]!=='string')return null;if(!isRecord(_0x4a38f6[_0x1ab328(0x1db)])||typeof _0x4a38f6[_0x1ab328(0x1db)][_0x1ab328(_0x2c7910._0x1bb117)]!==_0x1ab328(0x28f))return null;if(_0x4a38f6[_0x1ab328(0x1db)][_0x1ab328(_0x2c7910._0xb0d89a)]!=='collection'&&_0x4a38f6['target'][_0x1ab328(_0x2c7910._0x15c575)]!==_0x1ab328(_0x2c7910._0x5a503b))return null;if(_0x4a38f6[_0x1ab328(0xab)]!=='ok'&&_0x4a38f6[_0x1ab328(0xab)]!==_0x1ab328(0xa1))return null;if(typeof _0x4a38f6['reason']!==_0x1ab328(_0x2c7910._0x10a15f)||typeof _0x4a38f6[_0x1ab328(_0x2c7910._0x5f40af)]!==_0x1ab328(_0x2c7910._0x30f4c5)||typeof _0x4a38f6['failures']!==_0x1ab328(_0x2c7910._0x2599bf))return null;if(_0x4a38f6[_0x1ab328(_0x2c7910._0x50583a)]!==void 0x0&&typeof _0x4a38f6['lastNotifiedAt']!==_0x1ab328(0x9f))return null;const _0x22cea5=_0x4a38f6['mute']===void 0x0?void 0x0:parseMute(_0x4a38f6[_0x1ab328(0x1af)]);if(_0x22cea5===null)return null;return{'key':_0x4a38f6['key'],'environment':_0x4a38f6[_0x1ab328(_0x2c7910._0xd53e85)],'target':{'kind':_0x4a38f6['target'][_0x1ab328(_0x2c7910._0x31d495)],'name':_0x4a38f6['target'][_0x1ab328(_0x2c7910._0x1bb117)]},'state':_0x4a38f6[_0x1ab328(_0x2c7910._0x25e4af)],'reason':_0x4a38f6[_0x1ab328(_0x2c7910._0xdb1715)],'since':_0x4a38f6['since'],'failures':_0x4a38f6[_0x1ab328(0x272)],..._0x4a38f6[_0x1ab328(0x286)]!==void 0x0?{'lastNotifiedAt':_0x4a38f6[_0x1ab328(0x286)]}:{},..._0x22cea5!==void 0x0?{'mute':_0x22cea5}:{}};}__name(parseSeriesEntry,_0x3d4468(0x148));function isStringArray(_0x37dcfb){const _0x3d2aa2=_0x3d4468;return Array[_0x3d2aa2(0x26c)](_0x37dcfb)&&_0x37dcfb['every'](_0x989cff=>typeof _0x989cff==='string');}__name(isStringArray,_0x3d4468(0x2a9));function isTriggerKind(_0x46d7d7){const _0x142817={_0x29bf9a:0x240},_0x679d9b=_0x3d4468;return BOX_NOTIFY_TRIGGER_KINDS[_0x679d9b(_0x142817._0x29bf9a)](_0x46d7d7);}__name(isTriggerKind,_0x3d4468(0x2c2));function isEvent(_0x3d0f5f){return BOX_NOTIFY_EVENTS['includes'](_0x3d0f5f);}__name(isEvent,_0x3d4468(0x192));function isState(_0x570752){const _0x528f66={_0x53f73e:0x28f},_0x3db035=_0x3d4468;return typeof _0x570752===_0x3db035(_0x528f66._0x53f73e)&&BOX_NOTIFY_STATES[_0x3db035(0x240)](_0x570752);}__name(isState,'isState');var BOX_READ_TOKEN_ENV=_0x3d4468(0x157),BOX_READ_TOKEN_PREFIX='ubr_',BOX_READ_ENVIRONMENT_HEADER=_0x3d4468(0x11b),BOX_READ_ENVIRONMENTS_PATH=_0x3d4468(0x2d6);function installField(_0x45f875){const _0x4094ae=parseBoxReadInstall(_0x45f875);return _0x4094ae===null?{}:{'install':_0x4094ae};}__name(installField,'installField');function parseBoxReadInstall(_0xcd0543){const _0x1d132c={_0x3409d5:0x28f,_0x5e88a1:0xa1,_0x25f3f0:0x133,_0x3dcfe1:0x18e,_0x4459ad:0x177,_0x2503a6:0x132,_0x208c19:0x9f,_0x3a49a9:0xb1},_0x447664=_0x3d4468;if(!isRecord(_0xcd0543))return null;const {startedAt:_0x79e2e7,durationMs:_0x2ed8db,outcome:_0x1a2a99,source:_0x51d84d,packages:_0x5c3ed5}=_0xcd0543;if(typeof _0x79e2e7!==_0x447664(_0x1d132c._0x3409d5)||typeof _0x2ed8db!=='number')return null;if(_0x1a2a99!=='installed'&&_0x1a2a99!==_0x447664(0xe7)&&_0x1a2a99!==_0x447664(_0x1d132c._0x5e88a1))return null;return{'startedAt':_0x79e2e7,'durationMs':_0x2ed8db,'outcome':_0x1a2a99,..._0x51d84d===_0x447664(0x2ac)||_0x51d84d===_0x447664(_0x1d132c._0x25f3f0)||_0x51d84d===_0x447664(_0x1d132c._0x3dcfe1)||_0x51d84d===_0x447664(_0x1d132c._0x4459ad)?{'source':_0x51d84d}:{},...isRecord(_0x5c3ed5)&&typeof _0x5c3ed5[_0x447664(_0x1d132c._0x2503a6)]==='number'&&typeof _0x5c3ed5['cached']===_0x447664(_0x1d132c._0x208c19)?{'packages':{'total':_0x5c3ed5[_0x447664(0x132)],'cached':_0x5c3ed5[_0x447664(_0x1d132c._0x3a49a9)]}}:{}};}__name(parseBoxReadInstall,_0x3d4468(0x293));var BOX_REVOCATIONS_RETRY_AFTER_SECONDS=0x3c,READ_ERROR_CODES=[_0x3d4468(0x131),_0x3d4468(0x2e2),_0x3d4468(0x1d2),_0x3d4468(0x295),'rate-limited',_0x3d4468(0x171),_0x3d4468(0x120),'expired',_0x3d4468(0x1a0),_0x3d4468(0x12d)];function parseBoxReadError(_0x476317){const _0x4d1475={_0x22ebb1:0x259,_0x5630ff:0x28f},_0x183995=_0x3d4468;if(!isRecord(_0x476317)||!isRecord(_0x476317[_0x183995(_0x4d1475._0x22ebb1)]))return null;const {code:_0x2ce722,message:_0x3d22e5,retryAfterSeconds:_0x3085b5}=_0x476317['error'];if(!READ_ERROR_CODES['includes'](_0x2ce722))return null;if(typeof _0x3d22e5!==_0x183995(_0x4d1475._0x5630ff))return null;return{'error':{'code':_0x2ce722,'message':_0x3d22e5,...typeof _0x3085b5===_0x183995(0x9f)?{'retryAfterSeconds':_0x3085b5}:{}}};}__name(parseBoxReadError,_0x3d4468(0x258));function parseBoxReadEnvironments(_0x30ea95){const _0x32c3f0={_0x97358d:0x28f},_0x455834=_0x3d4468;if(!Array['isArray'](_0x30ea95))return null;const _0x3eae94=[];for(const _0x38588a of _0x30ea95){if(!isRecord(_0x38588a))return null;const {name:_0x4420b4,project:_0x5081c0,environment:_0x465248,note:_0x2da8af,bundleId:_0x12f96b,install:_0x3be0f6}=_0x38588a;if(typeof _0x4420b4!==_0x455834(_0x32c3f0._0x97358d)||typeof _0x465248!=='string')return null;if(_0x5081c0!==void 0x0&&typeof _0x5081c0!==_0x455834(0x28f))return null;if(_0x2da8af!==void 0x0&&typeof _0x2da8af!==_0x455834(_0x32c3f0._0x97358d))return null;if(_0x12f96b!==void 0x0&&typeof _0x12f96b!==_0x455834(_0x32c3f0._0x97358d))return null;_0x3eae94[_0x455834(0x1d3)]({'name':_0x4420b4,'environment':_0x465248,..._0x5081c0!==void 0x0?{'project':_0x5081c0}:{},..._0x2da8af!==void 0x0?{'note':_0x2da8af}:{},..._0x12f96b!==void 0x0?{'bundleId':_0x12f96b}:{},...installField(_0x3be0f6)});}return _0x3eae94;}__name(parseBoxReadEnvironments,_0x3d4468(0x289));function testLabel(_0x413ff2,_0x1aa897){const _0xf4a3a7={_0x1e8fa4:0x1dc},_0x26cb03=_0x3d4468;return _0x413ff2+_0x26cb03(_0xf4a3a7._0x1e8fa4)+_0x1aa897;}__name(testLabel,'testLabel');function runLabel(_0x3c52e1,_0x2fd4ea){return _0x2fd4ea===void 0x0?_0x3c52e1:testLabel(_0x3c52e1,_0x2fd4ea);}__name(runLabel,'runLabel');var WORKSPACE_SCHEMA_VERSION=0x1,WORKSPACE_FILE=_0x3d4468(0x296);function stringList(_0x8a5c32){const _0x4b44c1=_0x3d4468;if(!Array[_0x4b44c1(0x26c)](_0x8a5c32))return null;if(_0x8a5c32[_0x4b44c1(0x190)](_0x113219=>typeof _0x113219!=='string'))return null;return _0x8a5c32;}__name(stringList,'stringList');function parseBundle(_0x593986){const _0x1d395b={_0x27eab4:0x28f,_0xbeb5b8:0x26b},_0x5e3bfe=_0x3d4468;if(!isRecord(_0x593986))return null;const {bundleId:_0x411d3a,label:_0x2bcaf9,branch:_0x3b392b,sha:_0x139e6e,dirty:_0x58c760,author:_0x268f71,createdAt:_0x45c3e4,webVersion:_0x5a3a4e}=_0x593986;if(typeof _0x411d3a!==_0x5e3bfe(0x28f)||_0x411d3a['length']===0x0)return null;if(typeof _0x2bcaf9!==_0x5e3bfe(0x28f)||typeof _0x5a3a4e!==_0x5e3bfe(_0x1d395b._0x27eab4))return null;if(typeof _0x58c760!=='boolean')return null;if(typeof _0x45c3e4!=='number'||!Number[_0x5e3bfe(_0x1d395b._0xbeb5b8)](_0x45c3e4))return null;for(const _0x3ff658 of[_0x3b392b,_0x139e6e,_0x268f71]){if(_0x3ff658!==void 0x0&&typeof _0x3ff658!=='string')return null;}return{'bundleId':_0x411d3a,'label':_0x2bcaf9,'dirty':_0x58c760,'createdAt':_0x45c3e4,'webVersion':_0x5a3a4e,...typeof _0x3b392b==='string'?{'branch':_0x3b392b}:{},...typeof _0x139e6e===_0x5e3bfe(_0x1d395b._0x27eab4)?{'sha':_0x139e6e}:{},...typeof _0x268f71==='string'?{'author':_0x268f71}:{}};}__name(parseBundle,_0x3d4468(0x16b));function parseWorkspaceFile(_0x27ff55){const _0x46aa5b={_0x23cdc3:0x26c,_0x304214:0x28f,_0x561cd1:0x28f},_0x2f84a5=_0x3d4468;if(!isRecord(_0x27ff55))return null;if(_0x27ff55['schemaVersion']!==WORKSPACE_SCHEMA_VERSION)return null;const {workspace:_0x47abf4,environment:_0x40d4b6,allowSwitch:_0x36ad00,currentBundleId:_0xbafd0c,switchedBy:_0x4483ec,switchedAt:_0x3b78c1,bundles:_0x428f8f,variables:_0x448fca,secrets:_0x131619,switchPath:_0x505103,follow:_0x2388b1,boxVersion:_0x2a5cb6,minWebVersion:_0x19a921}=_0x27ff55;if(typeof _0x47abf4!==_0x2f84a5(0x28f)||typeof _0x40d4b6!=='string')return null;if(typeof _0x36ad00!==_0x2f84a5(0x1b7))return null;if(!Array[_0x2f84a5(_0x46aa5b._0x23cdc3)](_0x428f8f))return null;const _0xc6d396=[];for(const _0x189629 of _0x428f8f){const _0x5ef435=parseBundle(_0x189629);if(!_0x5ef435)return null;_0xc6d396['push'](_0x5ef435);}const _0x488e09=stringList(_0x448fca),_0x1a4000=stringList(_0x131619);if(!_0x488e09||!_0x1a4000)return null;for(const _0x575b08 of[_0xbafd0c,_0x4483ec,_0x505103,_0x2a5cb6,_0x19a921]){if(_0x575b08!==void 0x0&&typeof _0x575b08!==_0x2f84a5(_0x46aa5b._0x304214))return null;}if(_0x3b78c1!==void 0x0&&typeof _0x3b78c1!=='number')return null;const _0x4f3476=_0x2388b1===void 0x0?void 0x0:parseFollow(_0x2388b1);if(_0x4f3476===null)return null;return{'schemaVersion':WORKSPACE_SCHEMA_VERSION,'workspace':_0x47abf4,'environment':_0x40d4b6,'allowSwitch':_0x36ad00,'bundles':_0xc6d396,'variables':_0x488e09,'secrets':_0x1a4000,...typeof _0xbafd0c===_0x2f84a5(0x28f)?{'currentBundleId':_0xbafd0c}:{},...typeof _0x4483ec===_0x2f84a5(_0x46aa5b._0x561cd1)?{'switchedBy':_0x4483ec}:{},...typeof _0x3b78c1==='number'?{'switchedAt':_0x3b78c1}:{},...typeof _0x505103===_0x2f84a5(0x28f)?{'switchPath':_0x505103}:{},..._0x4f3476!==void 0x0?{'follow':_0x4f3476}:{},...typeof _0x2a5cb6===_0x2f84a5(0x28f)?{'boxVersion':_0x2a5cb6}:{},...typeof _0x19a921===_0x2f84a5(_0x46aa5b._0x304214)?{'minWebVersion':_0x19a921}:{}};}__name(parseWorkspaceFile,'parseWorkspaceFile');function parseFollow(_0x35ff9f){const _0x2949cd={_0x5d384c:0x28f},_0x2bd298=_0x3d4468;if(!isRecord(_0x35ff9f))return null;const {path:_0x3c5bc3,branch:_0x10a6cb}=_0x35ff9f;if(typeof _0x3c5bc3!==_0x2bd298(0x28f)||_0x3c5bc3['length']===0x0)return null;if(typeof _0x10a6cb!==_0x2bd298(_0x2949cd._0x5d384c)||_0x10a6cb[_0x2bd298(0x214)]===0x0)return null;return{'path':_0x3c5bc3,'branch':_0x10a6cb};}__name(parseFollow,_0x3d4468(0x23f));function scheduleTarget(_0x28b1b9){const _0x37450c={_0x120529:0x127},_0x433e9e=_0x3d4468;return _0x28b1b9[_0x433e9e(0x2c1)]!==void 0x0?{'kind':_0x433e9e(0x2c1),'name':_0x28b1b9[_0x433e9e(0x2c1)]}:{'kind':_0x433e9e(0x127),'name':_0x28b1b9[_0x433e9e(_0x37450c._0x120529)]};}__name(scheduleTarget,_0x3d4468(0x167));function parseScheduleEntry(_0x25d641){const _0x56099e={_0x439cd:0x28f,_0x41d987:0x214,_0x3de6e5:0x2e7,_0x47a2b6:0x28f,_0x3789e7:0x28f,_0x18b75d:0x2c1,_0x431ece:0x9f,_0x40f5f6:0x252,_0x1d700a:0x1de,_0x4980ec:0x204},_0x4826da=_0x3d4468;if(!isRecord(_0x25d641))return null;const {collection:_0x1bd3bc,scenario:_0x50237c,cron:_0x5cc975,env:_0x1a6aeb,prepare:_0x5644b2,workers:_0x2bbcfd,source:_0x469adf}=_0x25d641,_0x4fbb80=typeof _0x1bd3bc==='string'&&_0x1bd3bc[_0x4826da(0x214)]>0x0?_0x50237c===void 0x0?{'collection':_0x1bd3bc}:null:typeof _0x50237c===_0x4826da(_0x56099e._0x439cd)&&_0x50237c[_0x4826da(_0x56099e._0x41d987)]>0x0&&_0x1bd3bc===void 0x0?{'scenario':_0x50237c}:null;if(_0x4fbb80===null)return null;if(typeof _0x5cc975!=='string'||_0x5cc975[_0x4826da(_0x56099e._0x3de6e5)]()[_0x4826da(_0x56099e._0x41d987)]===0x0)return null;if(_0x1a6aeb!==void 0x0&&typeof _0x1a6aeb!==_0x4826da(_0x56099e._0x47a2b6))return null;if(_0x5644b2!==void 0x0&&typeof _0x5644b2!==_0x4826da(_0x56099e._0x3789e7))return null;const _0x578698=_0x4826da(_0x56099e._0x18b75d)in _0x4fbb80&&typeof _0x2bbcfd===_0x4826da(_0x56099e._0x431ece)&&Number[_0x4826da(_0x56099e._0x40f5f6)](_0x2bbcfd)&&_0x2bbcfd>=0x1?_0x2bbcfd:void 0x0,_0x4c60c5=_0x469adf===_0x4826da(_0x56099e._0x1d700a)||_0x469adf===_0x4826da(_0x56099e._0x4980ec)?_0x469adf:void 0x0;return{..._0x4fbb80,'cron':_0x5cc975,..._0x1a6aeb!==void 0x0?{'env':_0x1a6aeb}:{},..._0x5644b2!==void 0x0?{'prepare':_0x5644b2}:{},..._0x578698!==void 0x0?{'workers':_0x578698}:{},..._0x4c60c5!==void 0x0?{'source':_0x4c60c5}:{}};}__name(parseScheduleEntry,_0x3d4468(0x22b));function parseSchedulesDoc(_0x47128c){const _0x7fea12={_0x3958f3:0x9b,_0xe44aa8:0x15b,_0x24e3dd:0x1e7},_0x3735ee=_0x3d4468;if(_0x47128c===null||_0x47128c===void 0x0)return{'entries':[]};if(!isRecord(_0x47128c))return{'error':_0x3735ee(_0x7fea12._0x3958f3)};const _0x23d7c3=_0x47128c[_0x3735ee(0x198)]??[];if(!Array[_0x3735ee(0x26c)](_0x23d7c3))return{'error':_0x3735ee(0xe6)};const _0x471cc2=[],_0x3862e1=new Set();for(const [_0x463f0c,_0x445ae0]of _0x23d7c3['entries']()){const _0x36eabb=parseScheduleEntry(_0x445ae0);if(!_0x36eabb)return{'error':_0x3735ee(0x253)+_0x463f0c+_0x3735ee(_0x7fea12._0xe44aa8)};const _0x4bf368=scheduleTarget(_0x36eabb),_0x1e3444=_0x4bf368['kind']+':'+_0x4bf368[_0x3735ee(0x144)];if(_0x3862e1['has'](_0x1e3444))return{'error':_0x3735ee(0x253)+_0x463f0c+_0x3735ee(_0x7fea12._0x24e3dd)+_0x4bf368[_0x3735ee(0x27a)]+'\x20\x22'+_0x4bf368[_0x3735ee(0x144)]+'\x22\x20—\x20one\x20schedule\x20per\x20target'};_0x3862e1['add'](_0x1e3444),_0x471cc2['push'](_0x36eabb);}return{'entries':_0x471cc2};}__name(parseSchedulesDoc,_0x3d4468(0x287));function mergeSchedules(_0xaefb73,_0x3eb0cc){const _0x2b6a96={_0x2a2f54:0x1a6},_0x1415f7={_0x50bc09:0x1c6,_0x43e0f3:0x144},_0x3d90c7=_0x3d4468,_0xdc4a29=new Set(_0x3eb0cc[_0x3d90c7(0x2c6)](_0x2f0ee1=>{const _0x30e1db=_0x3d90c7,_0x149b54=scheduleTarget(_0x2f0ee1);return _0x149b54['kind']+':'+_0x149b54[_0x30e1db(0x144)];})),_0x448c44=_0xaefb73[_0x3d90c7(_0x2b6a96._0x2a2f54)](_0x3c1a37=>{const _0x2f02bd=_0x3d90c7,_0x2530d2=scheduleTarget(_0x3c1a37);return!_0xdc4a29[_0x2f02bd(_0x1415f7._0x50bc09)](_0x2530d2[_0x2f02bd(0x27a)]+':'+_0x2530d2[_0x2f02bd(_0x1415f7._0x43e0f3)]);});return[..._0x448c44[_0x3d90c7(0x2c6)](_0x362eab=>({..._0x362eab,'source':'config'})),..._0x3eb0cc[_0x3d90c7(0x2c6)](_0x270eba=>({..._0x270eba,'source':_0x3d90c7(0x204)}))];}__name(mergeSchedules,_0x3d4468(0x16d));function canonicalScheduleSet(_0x4236bc){const _0x5b0381={_0x4dd02e:0x27a,_0x3e5a44:0x144,_0x3bdcf3:0x144},_0x31814c={_0x5301ac:0x284,_0x350a9b:0x284,_0x35f060:0xac},_0x23eb67=_0x3d4468,_0x515610=_0x4236bc[_0x23eb67(0x2c6)](_0x189eb3=>{const _0x2dcbd6=_0x23eb67,_0x54b801=scheduleTarget(_0x189eb3);return{'kind':_0x54b801[_0x2dcbd6(0x27a)],'name':_0x54b801['name'],'cron':_0x189eb3['cron'],..._0x189eb3[_0x2dcbd6(_0x31814c._0x5301ac)]!==void 0x0?{'env':_0x189eb3[_0x2dcbd6(_0x31814c._0x350a9b)]}:{},..._0x189eb3[_0x2dcbd6(_0x31814c._0x35f060)]!==void 0x0?{'prepare':_0x189eb3[_0x2dcbd6(_0x31814c._0x35f060)]}:{},..._0x189eb3['workers']!==void 0x0?{'workers':_0x189eb3[_0x2dcbd6(0xc9)]}:{}};})[_0x23eb67(0x212)]((_0x567d97,_0x125f97)=>{const _0x27c802=_0x23eb67,_0x597045=_0x567d97[_0x27c802(_0x5b0381._0x4dd02e)]+':'+_0x567d97[_0x27c802(_0x5b0381._0x3e5a44)],_0x423b82=_0x125f97[_0x27c802(0x27a)]+':'+_0x125f97[_0x27c802(_0x5b0381._0x3bdcf3)];return _0x597045<_0x423b82?-0x1:_0x597045>_0x423b82?0x1:0x0;});return JSON['stringify'](_0x515610);}__name(canonicalScheduleSet,'canonicalScheduleSet');function parseSchedulesJson(_0x2d9330){const _0x27b033={_0x2913a1:0x215},_0x588d34=_0x3d4468;let _0x30620f;try{_0x30620f=JSON[_0x588d34(_0x27b033._0x2913a1)](_0x2d9330);}catch{return null;}if(!Array[_0x588d34(0x26c)](_0x30620f))return null;const _0x422b18=[];for(const _0x350744 of _0x30620f){const _0x30ea57=parseScheduleEntry(_0x350744);if(_0x30ea57)_0x422b18['push'](_0x30ea57);}return _0x422b18;}__name(parseSchedulesJson,_0x3d4468(0x1a4));var FREQ_FIELDS={'m5':{'minutes':![],'hours':![],'days':![]},'m15':{'minutes':![],'hours':![],'days':![]},'h1':{'minutes':!![],'hours':![],'days':![]},'h2':{'minutes':!![],'hours':![],'days':![]},'h4':{'minutes':!![],'hours':![],'days':![]},'h6':{'minutes':!![],'hours':![],'days':![]},'h12':{'minutes':!![],'hours':![],'days':![]},'daily':{'minutes':!![],'hours':!![],'days':![]},'weekly':{'minutes':!![],'hours':!![],'days':!![]}},HOUR_STEP={'h2':0x2,'h4':0x4,'h6':0x6,'h12':0xc};function cronFromSpec(_0x114672){const _0x2eb607={_0x6d618f:0xb0,_0x305858:0xb5,_0x3dc73c:0x121,_0x4c06f8:0xc7,_0x46e4dd:0xf6,_0x1c7e49:0x11f,_0x52d60d:0x276},_0x36699f=_0x3d4468,_0x54b519=list(_0x114672[_0x36699f(_0x2eb607._0x6d618f)]);switch(_0x114672[_0x36699f(0xc7)]){case'm5':return _0x36699f(0x19d);case _0x36699f(_0x2eb607._0x305858):return'*/15\x20*\x20*\x20*\x20*';case'h1':return _0x54b519+_0x36699f(0xe3);case'h2':case'h4':case'h6':case _0x36699f(0x25b):return _0x54b519+_0x36699f(_0x2eb607._0x3dc73c)+HOUR_STEP[_0x114672[_0x36699f(_0x2eb607._0x4c06f8)]]+'\x20*\x20*\x20*';case _0x36699f(0x2ae):return _0x54b519+'\x20'+list(_0x114672['hours'])+_0x36699f(_0x2eb607._0x46e4dd);case _0x36699f(_0x2eb607._0x1c7e49):return _0x54b519+'\x20'+list(_0x114672[_0x36699f(0x128)])+_0x36699f(_0x2eb607._0x52d60d)+list(_0x114672[_0x36699f(0x136)]);}}__name(cronFromSpec,'cronFromSpec');function specFromCron(_0x38c351){const _0x4c1cd6={_0x4ef7bf:0x2e7,_0x458937:0x182,_0x5b068d:0x1e8,_0x123b6d:0xb5},_0x4f016c=_0x3d4468,_0x5a136c=_0x38c351[_0x4f016c(_0x4c1cd6._0x4ef7bf)]()[_0x4f016c(_0x4c1cd6._0x458937)](/\s+/);if(_0x5a136c[_0x4f016c(0x214)]!==0x5)return null;const [_0x224a1d,_0x40f696,_0x6b2aad,_0x4bd58f,_0x38207b]=_0x5a136c;if(_0x6b2aad!=='*'||_0x4bd58f!=='*')return null;if(_0x40f696==='*'&&_0x38207b==='*'){if(_0x224a1d==='*/5')return spec('m5');if(_0x224a1d===_0x4f016c(_0x4c1cd6._0x5b068d))return spec(_0x4f016c(_0x4c1cd6._0x123b6d));const _0x5f4d9d=numbers(_0x224a1d);return _0x5f4d9d&&spec('h1',_0x5f4d9d);}const _0x3fbdbe=numbers(_0x224a1d);if(!_0x3fbdbe)return null;const _0x18fac4=/^\*\/(\d+)$/['exec'](_0x40f696);if(_0x18fac4&&_0x38207b==='*'){const _0x25ff9f=Object[_0x4f016c(0x27e)](HOUR_STEP)[_0x4f016c(0x2b5)](_0x54feec=>HOUR_STEP[_0x54feec]===Number(_0x18fac4[0x1]));return _0x25ff9f?spec(_0x25ff9f,_0x3fbdbe):null;}const _0x44f1aa=numbers(_0x40f696);if(!_0x44f1aa)return null;if(_0x38207b==='*')return spec(_0x4f016c(0x2ae),_0x3fbdbe,_0x44f1aa);const _0xbe9da7=numbers(_0x38207b);return _0xbe9da7&&spec(_0x4f016c(0x11f),_0x3fbdbe,_0x44f1aa,_0xbe9da7);}__name(specFromCron,_0x3d4468(0x2d1));function describeCron(_0x38f9cc){const _0x5ccb56=specFromCron(_0x38f9cc);return _0x5ccb56?describeSpec(_0x5ccb56):_0x38f9cc;}__name(describeCron,_0x3d4468(0x1b0));function describeSpec(_0x3a28c1){const _0x25b80e={_0x4764fe:0xb5,_0x4fb0bd:0x1e4,_0x39cb50:0xb0},_0x2a46c6=_0x3d4468;switch(_0x3a28c1['freq']){case'm5':return'every\x205\x20min';case _0x2a46c6(_0x25b80e._0x4764fe):return _0x2a46c6(0x220);case'h1':return _0x2a46c6(_0x25b80e._0x4fb0bd)+atMinutes(_0x3a28c1[_0x2a46c6(_0x25b80e._0x39cb50)]);case'h2':case'h4':case'h6':case _0x2a46c6(0x25b):return'every\x20'+HOUR_STEP[_0x3a28c1['freq']]+'h'+atMinutes(_0x3a28c1[_0x2a46c6(0xb0)]);case _0x2a46c6(0x2ae):return'daily\x20at\x20'+times(_0x3a28c1);case _0x2a46c6(0x11f):return _0x3a28c1[_0x2a46c6(0x136)][_0x2a46c6(0x2c6)](_0x26038d=>DAY_SHORT[_0x26038d]??String(_0x26038d))[_0x2a46c6(0xa6)](',\x20')+'\x20at\x20'+times(_0x3a28c1);}}__name(describeSpec,_0x3d4468(0x12e));function nextTickFromSpec(_0x402345,_0x5cb782){const _0x1be153={_0x25f05e:0x2cc},_0x48d1d8=_0x3d4468,_0x5b72b2=new Date(_0x5cb782);_0x5b72b2[_0x48d1d8(0xd8)](0x0,0x0);for(let _0x156da2=0x0;_0x156da2<0x8*0x18*0x3c;_0x156da2++){_0x5b72b2[_0x48d1d8(0xd4)](_0x5b72b2[_0x48d1d8(_0x1be153._0x25f05e)]()+0x1);if(specMatches(_0x402345,_0x5b72b2))return _0x5b72b2['getTime']();}return _0x5b72b2[_0x48d1d8(0x2dc)]();}__name(nextTickFromSpec,'nextTickFromSpec');function specMatches(_0x132069,_0x50284e){const _0x5816c2={_0x277f8a:0x2cc,_0x29cf27:0x240,_0x523b72:0x240,_0x5e3781:0x128,_0xac6185:0x136,_0x2e0481:0x240},_0x292e7a=_0x3d4468,_0x136a11=_0x50284e[_0x292e7a(_0x5816c2._0x277f8a)](),_0x3b86b2=_0x50284e[_0x292e7a(0x280)]();switch(_0x132069[_0x292e7a(0xc7)]){case'm5':return _0x136a11%0x5===0x0;case _0x292e7a(0xb5):return _0x136a11%0xf===0x0;case'h1':return _0x132069['minutes'][_0x292e7a(0x240)](_0x136a11);case'h2':case'h4':case'h6':case _0x292e7a(0x25b):return _0x132069[_0x292e7a(0xb0)][_0x292e7a(_0x5816c2._0x29cf27)](_0x136a11)&&_0x3b86b2%(HOUR_STEP[_0x132069[_0x292e7a(0xc7)]]??0x1)===0x0;case _0x292e7a(0x2ae):return _0x132069[_0x292e7a(0xb0)]['includes'](_0x136a11)&&_0x132069[_0x292e7a(0x128)][_0x292e7a(_0x5816c2._0x29cf27)](_0x3b86b2);case'weekly':return _0x132069[_0x292e7a(0xb0)][_0x292e7a(_0x5816c2._0x523b72)](_0x136a11)&&_0x132069[_0x292e7a(_0x5816c2._0x5e3781)][_0x292e7a(_0x5816c2._0x29cf27)](_0x3b86b2)&&_0x132069[_0x292e7a(_0x5816c2._0xac6185)][_0x292e7a(_0x5816c2._0x2e0481)](_0x50284e[_0x292e7a(0x22c)]());}}__name(specMatches,_0x3d4468(0x228));function formatNextTick(_0x5cb9ea,_0x4a6d84){const _0x165bbf={_0x122fcd:0x280,_0x3b5d2d:0x2cc,_0x13d775:0x22e},_0x317e8d=_0x3d4468,_0x58ef41=new Date(_0x5cb9ea),_0x3b4902=new Date(_0x4a6d84),_0x1257c1=pad(_0x58ef41[_0x317e8d(_0x165bbf._0x122fcd)]())+':'+pad(_0x58ef41[_0x317e8d(_0x165bbf._0x3b5d2d)]()),_0x4861dd=Math[_0x317e8d(_0x165bbf._0x13d775)]((startOfDay(_0x58ef41)-startOfDay(_0x3b4902))/(0x18*0x3c*0x3c*0x3e8));if(_0x4861dd===0x0)return _0x317e8d(0x244)+_0x1257c1;if(_0x4861dd===0x1)return'tomorrow\x20'+_0x1257c1;return DAY_SHORT[_0x58ef41['getDay']()]+'\x20'+_0x1257c1;}__name(formatNextTick,_0x3d4468(0x1f9));function startOfDay(_0x18a8c4){const _0x9594fb={_0x5bfc6d:0x201},_0x204c04=_0x3d4468,_0x3c95eb=new Date(_0x18a8c4);return _0x3c95eb[_0x204c04(_0x9594fb._0x5bfc6d)](0x0,0x0,0x0,0x0),_0x3c95eb[_0x204c04(0x2dc)]();}__name(startOfDay,_0x3d4468(0x265));var DAY_SHORT=[_0x3d4468(0x117),_0x3d4468(0x2bf),'Tue',_0x3d4468(0x197),_0x3d4468(0x2db),_0x3d4468(0x187),'Sat'],WEEK_CHIP_ORDER=[0x1,0x2,0x3,0x4,0x5,0x6,0x0];function spec(_0xc790eb,_0x298af4=[0x0],_0x59fabe=[0x3],_0x167408=[0x1]){return{'freq':_0xc790eb,'minutes':_0x298af4,'hours':_0x59fabe,'days':_0x167408};}__name(spec,_0x3d4468(0x24c));function list(_0x1af2ef){const _0x4be4fd=_0x3d4468;return[..._0x1af2ef][_0x4be4fd(0x212)]((_0x1787b4,_0x377df5)=>_0x1787b4-_0x377df5)[_0x4be4fd(0xa6)](',');}__name(list,_0x3d4468(0x19f));function numbers(_0x5b82a9){const _0x2164d8=_0x3d4468;if(!/^\d+(,\d+)*$/['test'](_0x5b82a9))return null;return _0x5b82a9[_0x2164d8(0x182)](',')[_0x2164d8(0x2c6)](Number);}__name(numbers,_0x3d4468(0x2a7));var pad=__name(_0x2e60c3=>String(_0x2e60c3)[_0x3d4468(0x2d2)](0x2,'0'),_0x3d4468(0x149));function atMinutes(_0x31bc47){const _0x485c89={_0x4a9ae9:0x214,_0x1455fe:0x218,_0x37a6fd:0xa6},_0xa8327d=_0x3d4468;if(_0x31bc47[_0xa8327d(_0x485c89._0x4a9ae9)]===0x1&&_0x31bc47[0x0]===0x0)return'';return _0xa8327d(_0x485c89._0x1455fe)+[..._0x31bc47]['sort']((_0x832a96,_0x44d1be)=>_0x832a96-_0x44d1be)['map'](_0x333840=>':'+pad(_0x333840))[_0xa8327d(_0x485c89._0x37a6fd)](',\x20');}__name(atMinutes,_0x3d4468(0x255));function times(_0x28480e){const _0x18a709={_0x6f9cf7:0x214},_0xdc1fd0=_0x3d4468,_0x49c907=[..._0x28480e[_0xdc1fd0(0x128)]][_0xdc1fd0(0x212)]((_0x29f167,_0x8a84d4)=>_0x29f167-_0x8a84d4)['flatMap'](_0x237234=>[..._0x28480e[_0xdc1fd0(0xb0)]][_0xdc1fd0(0x212)]((_0x150c2f,_0xe4e144)=>_0x150c2f-_0xe4e144)[_0xdc1fd0(0x2c6)](_0x29e844=>pad(_0x237234)+':'+pad(_0x29e844))),_0x457142=_0x49c907[_0xdc1fd0(0x26a)](0x0,0x4),_0x16651c=_0x49c907['length']-_0x457142[_0xdc1fd0(_0x18a709._0x6f9cf7)];return _0x457142['join'](',\x20')+(_0x16651c>0x0?'\x20+'+_0x16651c:'');}__name(times,_0x3d4468(0x9d));var BLOBS_DIR=_0x3d4468(0xf7),GENERATION_SEP='~',HASH_RE=/^[0-9a-f]{8,}$/,InvalidBlobHashError=class extends Error{static{__name(this,_0x3d4468(0x28c));}constructor(_0xf7801a){const _0x456144={_0x540928:0x144,_0x33e162:0x28c},_0x40b6b3=_0x3d4468;super(_0x40b6b3(0x123)+_0xf7801a),this[_0x40b6b3(_0x456144._0x540928)]=_0x40b6b3(_0x456144._0x33e162);}};function blobPathFor(_0x358d44,_0x461bb2,_0x592abf,_0xe5715d=0x0){return _0x358d44+'/'+blobRelPathFor(_0x461bb2,_0x592abf,_0xe5715d);}__name(blobPathFor,_0x3d4468(0x2c7));function blobRelSegmentsFor(_0x2ef885,_0x3c2853,_0x262fca=0x0){const _0x412399={_0x3f1352:0x26a},_0x3e3dc0=_0x3d4468;if(!HASH_RE['test'](_0x2ef885))throw new InvalidBlobHashError(_0x2ef885);const _0x5146f5=_0x262fca>0x0?''+GENERATION_SEP+_0x262fca:'';return[BLOBS_DIR,_0x2ef885['slice'](0x0,0x2),_0x2ef885[_0x3e3dc0(_0x412399._0x3f1352)](0x2,0x4),''+_0x2ef885+_0x5146f5+'.'+_0x3c2853];}__name(blobRelSegmentsFor,'blobRelSegmentsFor');function blobRelPathFor(_0x355dc3,_0x19e4ed,_0x93a81a=0x0){const _0xb646c1={_0x3eff16:0xa6},_0x30d951=_0x3d4468;return blobRelSegmentsFor(_0x355dc3,_0x19e4ed,_0x93a81a)[_0x30d951(_0xb646c1._0x3eff16)]('/');}__name(blobRelPathFor,_0x3d4468(0x209));function blobsRootFor(_0x39a1c2){return _0x39a1c2+'/'+BLOBS_DIR;}__name(blobsRootFor,_0x3d4468(0x2d9));var FS_UNSAFE_NAME_RE=/[\\/:*?"<>|\x00-\x1f]/;function validateFsSafeName(_0x166ec0,_0x368c9f){const _0xf3056c={_0x4e803f:0x28f,_0x144a20:0x2e7,_0x304ff5:0xcf,_0x3a8866:0x203,_0x277e85:0xe9,_0x25e4f6:0x1ee},_0xb65231=_0x3d4468;if(typeof _0x166ec0!==_0xb65231(_0xf3056c._0x4e803f))return'must\x20be\x20a\x20string';const _0x5c7c79=_0x166ec0[_0xb65231(_0xf3056c._0x144a20)]();if(_0x5c7c79[_0xb65231(0x214)]===0x0)return'must\x20not\x20be\x20empty';if(_0x5c7c79==='.'||_0x5c7c79==='..')return _0xb65231(_0xf3056c._0x304ff5);if(_0x5c7c79[_0xb65231(0xe9)]('.'))return _0xb65231(_0xf3056c._0x3a8866);if(_0x368c9f?.[_0xb65231(0x15e)]&&_0x5c7c79[_0xb65231(_0xf3056c._0x277e85)]('_'))return _0xb65231(0x1da);if(FS_UNSAFE_NAME_RE[_0xb65231(_0xf3056c._0x25e4f6)](_0x5c7c79))return'must\x20not\x20contain\x20\x5c\x20/\x20:\x20*\x20?\x20\x22\x20<\x20>\x20|\x20or\x20control\x20characters';return null;}__name(validateFsSafeName,'validateFsSafeName');var COLLECTION_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateCollectionName(_0x3fb573){return validateFsSafeName(_0x3fb573);}__name(validateCollectionName,_0x3d4468(0x288));function parseCollectionViewport(_0x572b09){const _0x129f35={_0x59ca3e:0x26c,_0x20fb9d:0x13a,_0xc1141c:0x162},_0x1dda9b=_0x3d4468;if(_0x572b09===null)return{'ok':!![],'viewport':null};if(typeof _0x572b09===_0x1dda9b(0x2e8)&&!Array[_0x1dda9b(_0x129f35._0x59ca3e)](_0x572b09)){const {width:_0x68fb73,height:_0x18e47d,..._0x4f4819}=_0x572b09;if(isPositiveInt(_0x68fb73)&&isPositiveInt(_0x18e47d)&&Object[_0x1dda9b(0x27e)](_0x4f4819)['length']===0x0)return{'ok':!![],'viewport':{'width':_0x68fb73,'height':_0x18e47d}};}return{'ok':![],'reason':_0x1dda9b(_0x129f35._0x20fb9d)+JSON[_0x1dda9b(_0x129f35._0xc1141c)](_0x572b09)};}__name(parseCollectionViewport,_0x3d4468(0x19c));function isPositiveInt(_0x199e27){const _0x5896cf={_0x1b420d:0x252},_0x35248c=_0x3d4468;return typeof _0x199e27==='number'&&Number[_0x35248c(_0x5896cf._0x1b420d)](_0x199e27)&&_0x199e27>0x0;}__name(isPositiveInt,'isPositiveInt');var DEFAULT_COLLECTION_NAME=_0x3d4468(0x1fb);function firstRunCommand({environment:_0x1150ca,collection:_0x4c8d3c}){const _0x53652f={_0xaebff9:0x101},_0x3c38fa=_0x3d4468;return _0x3c38fa(_0x53652f._0xaebff9)+_0x1150ca+_0x3c38fa(0x21e)+_0x4c8d3c;}__name(firstRunCommand,_0x3d4468(0x2e6));var RUN_SOURCES_FILE='sources.json',UnsupportedRunKindError=class extends Error{static{__name(this,_0x3d4468(0x1ed));}constructor(_0x2228b5,_0x528a00){const _0x2df952={_0x8323e4:0xe1,_0x791cc0:0x1ed},_0x4c9514=_0x3d4468;super('runner\x20\x22'+_0x528a00+_0x4c9514(_0x2df952._0x8323e4)+_0x2228b5+'\x22'),this[_0x4c9514(0x144)]=_0x4c9514(_0x2df952._0x791cc0);}},RunnerAdapterNotFoundError=class extends Error{static{__name(this,_0x3d4468(0x1a5));}constructor(_0x145533,_0x2eb1ea){const _0x1e5168={_0x5f3a63:0x144},_0x174b4e=_0x3d4468;super(_0x174b4e(0x251)+_0x145533+_0x174b4e(0x1ae)+_0x2eb1ea),this[_0x174b4e(_0x1e5168._0x5f3a63)]='RunnerAdapterNotFoundError';}},RunnerNotConfiguredError=class extends Error{static{__name(this,_0x3d4468(0x20a));}constructor(_0x12c12d){const _0xf671b1={_0x403bb2:0x20a},_0x287be6=_0x3d4468;super(_0x12c12d),this[_0x287be6(0x144)]=_0x287be6(_0xf671b1._0x403bb2);}},TEST_PREFIX=_0x3d4468(0x1c8);function selectTests(_0x19f744,_0x27e4c3,_0x39918a){const _0x54eaee={_0x1921a2:0x214,_0x19da97:0xe9,_0x189baf:0x240,_0x4b6bc3:0x27b,_0x1c7d16:0xdf},_0x1816da=_0x3d4468;if(_0x27e4c3===void 0x0)return{'tests':_0x19f744};const _0xdd9629=_0x19f744[_0x1816da(0x1a6)](_0x43ed8a=>_0x43ed8a[_0x1816da(0xe9)](TEST_PREFIX)),_0x121a18=_0xdd9629[_0x1816da(_0x54eaee._0x1921a2)]>0x0?_0xdd9629['join'](',\x20'):_0x1816da(0x2b4);if(_0x27e4c3==='')return{'refusal':_0x1816da(0x21b)+_0x39918a+':\x20'+_0x121a18};const _0x41be4e=_0x27e4c3[_0x1816da(_0x54eaee._0x19da97)](TEST_PREFIX)?_0x27e4c3:''+TEST_PREFIX+_0x27e4c3;if(!_0xdd9629[_0x1816da(_0x54eaee._0x189baf)](_0x41be4e))return{'refusal':'no\x20test\x20\x22'+_0x27e4c3+_0x1816da(_0x54eaee._0x4b6bc3)+_0x39918a+_0x1816da(_0x54eaee._0x1c7d16)+_0x121a18};return{'tests':[_0x41be4e]};}__name(selectTests,_0x3d4468(0xf4));var UnknownTestError=class extends Error{static{__name(this,_0x3d4468(0x2dd));}constructor(_0x27d233){const _0x454ec8={_0x1fa42b:0x2dd},_0xfe64c=_0x3d4468;super(_0x27d233),this[_0xfe64c(0x144)]=_0xfe64c(_0x454ec8._0x1fa42b);}},EXPECT_FAIL_ANNOTATION=_0x3d4468(0x13f),ANNOTATION_RE=/^\s*\/\/\s*@([a-z0-9-]+)\s*$/;function isAnnotationLine(_0x551ffb){const _0x5ae32e={_0x5aab52:0x1ee},_0x43ec4e=_0x3d4468;return ANNOTATION_RE[_0x43ec4e(_0x5ae32e._0x5aab52)](_0x551ffb);}__name(isAnnotationLine,_0x3d4468(0xa8));function parseScenarioAnnotations(_0x14d208){const _0x5bf33c={_0x57db5d:0x1c6},_0xee26e7=_0x3d4468,_0x124aa2=new Set();for(const _0xb8ed9c of _0x14d208[_0xee26e7(0x182)](/\r?\n/)){const _0x32dcef=_0xb8ed9c[_0xee26e7(0x2e7)]();if(_0x32dcef==='')continue;if(!_0x32dcef['startsWith']('//'))break;const _0xb44e44=_0x32dcef['match'](ANNOTATION_RE);if(_0xb44e44)_0x124aa2['add'](_0xb44e44[0x1]);}return{'expectFail':_0x124aa2[_0xee26e7(_0x5bf33c._0x57db5d)](EXPECT_FAIL_ANNOTATION)};}__name(parseScenarioAnnotations,_0x3d4468(0x156));function parseTestAnnotations(_0x5ab6d8,_0x219a71){const _0x183e08={_0x4ece19:0x1c6},_0x24ed28=_0x3d4468,_0x249fea=_0x5ab6d8[_0x24ed28(0x182)](/\r?\n/),_0x1b2b38=new Set([...annotationsIn(adjacentCommentLines(_0x249fea,_0x219a71)),...annotationsIn(fileCommentLines(_0x249fea))]);return{'expectFail':_0x1b2b38[_0x24ed28(_0x183e08._0x4ece19)](EXPECT_FAIL_ANNOTATION)};}__name(parseTestAnnotations,_0x3d4468(0x2c0));function adjacentCommentLines(_0xd9d857,_0x55a631){const _0x511d2c=_0x3d4468,_0x334ab0=[];for(let _0xab13=_0x55a631-0x2;_0xab13>=0x0&&isCommentLine(_0xd9d857[_0xab13]);_0xab13--)_0x334ab0[_0x511d2c(0x1d3)](_0xd9d857[_0xab13]);return _0x334ab0;}__name(adjacentCommentLines,_0x3d4468(0x1eb));function fileCommentLines(_0x1b3768){const _0x133608={_0x44036c:0x214,_0x108be0:0x26a,_0x4fcce6:0x1a6},_0x1a61e1=_0x3d4468,_0x594d6c=_0x1b3768[_0x1a61e1(0x115)](_0x4176e2=>_0x4176e2[_0x1a61e1(0x2e7)]()!==''&&!isCommentLine(_0x4176e2)),_0x50e230=_0x594d6c===-0x1?_0x1b3768[_0x1a61e1(_0x133608._0x44036c)]:_0x594d6c;let _0x411d89=_0x50e230;if(_0x594d6c!==-0x1){while(_0x411d89>0x0&&isCommentLine(_0x1b3768[_0x411d89-0x1]))_0x411d89--;}return _0x1b3768[_0x1a61e1(_0x133608._0x108be0)](0x0,_0x411d89)[_0x1a61e1(_0x133608._0x4fcce6)](isCommentLine);}__name(fileCommentLines,_0x3d4468(0x205));function isCommentLine(_0x5d0ed7){const _0x244ac9=_0x3d4468;return _0x5d0ed7['trim']()[_0x244ac9(0xe9)]('//');}__name(isCommentLine,_0x3d4468(0x1f1));function annotationsIn(_0x310087){const _0x862cdf=_0x3d4468;return _0x310087[_0x862cdf(0xd1)](_0x4c291f=>{const _0x2ea9f9=_0x862cdf,_0x4da73b=_0x4c291f[_0x2ea9f9(0xb2)](ANNOTATION_RE);return _0x4da73b?[_0x4da73b[0x1]]:[];});}__name(annotationsIn,_0x3d4468(0x19a));var SEGMENT_NAME_FORBIDDEN_RE=FS_UNSAFE_NAME_RE;function validateSegmentName(_0x469516){return validateFsSafeName(_0x469516,{'reservedUnderscore':!![]});}__name(validateSegmentName,_0x3d4468(0x297));var TERMINAL_WS_EVENT=_0x3d4468(0x17f),RUNNER_CONFIG_KEYS=new Set([_0x3d4468(0xda),'UNOTEST_BROWSER_CHANNEL',_0x3d4468(0x15c),_0x3d4468(0x1a1),_0x3d4468(0x26e),_0x3d4468(0x175),_0x3d4468(0x176),'UNOTEST_LOCALE',_0x3d4468(0x1fe),_0x3d4468(0x211),'UNOTEST_DEBUG',_0x3d4468(0x155),'UNOTEST_DEBUG_MAX_BYTES',_0x3d4468(0x24f),_0x3d4468(0xc3),'UNOTEST_DEBUG_KEEP_CALLS','UNOTEST_NETWORK',_0x3d4468(0x239),_0x3d4468(0x23c),_0x3d4468(0x11c),_0x3d4468(0x230),_0x3d4468(0x1b9),_0x3d4468(0x262),_0x3d4468(0xcb),'FORCE_COLOR',_0x3d4468(0x23d)]);function isRunnerConfigKey(_0xb5c34a){const _0x33bf3d=_0x3d4468;return RUNNER_CONFIG_KEYS[_0x33bf3d(0x1c6)](_0xb5c34a);}__name(isRunnerConfigKey,_0x3d4468(0x1b6));function categorizeVariable(_0x53d023){const _0x35831b={_0x2eb6c1:0x108,_0x4f328a:0xf0,_0x4f5183:0x188},_0x3021f6=_0x3d4468;if(_0x53d023[_0x3021f6(_0x35831b._0x2eb6c1)]===_0x3021f6(_0x35831b._0x4f328a))return _0x3021f6(_0x35831b._0x4f5183);return isRunnerConfigKey(_0x53d023['name'])?_0x3021f6(0x161):'app';}__name(categorizeVariable,_0x3d4468(0x104));function isExternalVarName(_0x393810){const _0x1b086e={_0x16c151:0x1ee},_0x57cfc2=_0x3d4468;return/^[A-Z][A-Z0-9_]*$/[_0x57cfc2(_0x1b086e._0x16c151)](_0x393810);}__name(isExternalVarName,_0x3d4468(0x229));function secretMark(_0x2fb739){const _0x1ac0e9={_0x55a505:0x1e3},_0x52bbec=_0x3d4468;return _0x52bbec(_0x1ac0e9._0x55a505)+_0x2fb739+'›';}__name(secretMark,_0x3d4468(0x10c));function orderSecretValues(_0x498ef9){const _0x2d6eb6={_0x33c04a:0x212},_0x3542b3=_0x3d4468;return[..._0x498ef9][_0x3542b3(0x1a6)](_0x5adb99=>_0x5adb99[_0x3542b3(0x2e5)]['length']>0x0)[_0x3542b3(_0x2d6eb6._0x33c04a)]((_0x334bee,_0x48cc50)=>_0x48cc50[_0x3542b3(0x2e5)][_0x3542b3(0x214)]-_0x334bee[_0x3542b3(0x2e5)][_0x3542b3(0x214)]);}__name(orderSecretValues,_0x3d4468(0xae));function maskSecretValues(_0x3976ba,_0x1f33fd){const _0x82ad53={_0x3d7e90:0x182},_0xa6e685=_0x3d4468;let _0x3df6d3=_0x3976ba;for(const {name:_0x28931a,value:_0x304b75}of _0x1f33fd){if(_0x3df6d3[_0xa6e685(0x240)](_0x304b75))_0x3df6d3=_0x3df6d3[_0xa6e685(_0x82ad53._0x3d7e90)](_0x304b75)[_0xa6e685(0xa6)](secretMark(_0x28931a));}return _0x3df6d3;}__name(maskSecretValues,'maskSecretValues');function lowestVersionOf(_0x18fda1){const _0x581450={_0xddbdc1:0x2e7},_0x2107fc=_0x3d4468,_0x20bf10=/(\d+)\.(\d+)(?:\.(\d+))?/['exec'](_0x18fda1[_0x2107fc(_0x581450._0xddbdc1)]());if(!_0x20bf10)return null;return{'major':Number(_0x20bf10[0x1]),'minor':Number(_0x20bf10[0x2]),'patch':_0x20bf10[0x3]===void 0x0?0x0:Number(_0x20bf10[0x3])};}__name(lowestVersionOf,'lowestVersionOf');function compareVersions(_0x425ee7,_0x122626){const _0x198847={_0x124d74:0x113,_0xe7c9a5:0x113},_0x5639d1=_0x3d4468;return _0x425ee7['major']-_0x122626['major']||_0x425ee7[_0x5639d1(_0x198847._0x124d74)]-_0x122626[_0x5639d1(_0x198847._0xe7c9a5)]||_0x425ee7[_0x5639d1(0x1bd)]-_0x122626[_0x5639d1(0x1bd)];}__name(compareVersions,_0x3d4468(0x14a));function isBelowMinimum(_0x4a25dd,_0x43c78f){const _0x53cdb9=lowestVersionOf(_0x4a25dd),_0x5c0763=lowestVersionOf(_0x43c78f);if(!_0x53cdb9||!_0x5c0763)return![];return compareVersions(_0x53cdb9,_0x5c0763)<0x0;}__name(isBelowMinimum,_0x3d4468(0x22a));var SECTION_BY_KIND={'app':'App','runner':_0x3d4468(0x200),'secret':void 0x0};function planAddVariable(_0x14af41){const _0x4ce243={_0x483ae4:0x161,_0x294963:0x12a,_0x17d75d:0x183,_0x10c4a0:0x284,_0x2e5f2a:0xf0,_0x47114f:0x178,_0x378731:0x264,_0x50f273:0x188,_0x31430c:0x1d3},_0x2b9569=_0x3d4468,{name:_0x51abb2,kind:_0x427cd8}=_0x14af41;if(_0x427cd8===_0x2b9569(_0x4ce243._0x483ae4)){if(!isRunnerConfigKey(_0x51abb2))return{'ok':![],'code':_0x2b9569(0x15f),'message':_0x51abb2+_0x2b9569(0x278)};}else{if(!isExternalVarName(_0x51abb2))return{'ok':![],'code':_0x2b9569(0x210),'message':_0x51abb2+_0x2b9569(_0x4ce243._0x294963)};}const _0x16d712=envKeys(_0x14af41[_0x2b9569(_0x4ce243._0x17d75d)])['has'](_0x51abb2),_0x6b768a=envKeys(_0x14af41[_0x2b9569(0x9e)])[_0x2b9569(0x1c6)](_0x51abb2),_0x424993=_0x427cd8===_0x2b9569(0x188)?_0x2b9569(0xf0):_0x2b9569(_0x4ce243._0x10c4a0),_0x634607=_0x424993===_0x2b9569(_0x4ce243._0x2e5f2a)?_0x6b768a:_0x16d712,_0x394dc6=_0x424993===_0x2b9569(0xf0)?_0x2b9569(_0x4ce243._0x47114f):'unotest/.env';if(_0x634607)return{'ok':![],'code':'duplicate','message':_0x51abb2+_0x2b9569(0x147)+_0x394dc6+_0x2b9569(_0x4ce243._0x378731)};const _0x486a2d=[];return _0x427cd8===_0x2b9569(_0x4ce243._0x50f273)&&_0x16d712&&_0x486a2d[_0x2b9569(_0x4ce243._0x31430c)](_0x51abb2+_0x2b9569(0x225)),_0x427cd8!==_0x2b9569(0x188)&&_0x6b768a&&_0x486a2d['push'](_0x51abb2+'\x20is\x20also\x20set\x20in\x20unotest/.secrets\x20—\x20the\x20secret\x20value\x20shadows\x20this\x20one.'),{'ok':!![],'target':_0x424993,'sectionLabel':SECTION_BY_KIND[_0x427cd8],'warnings':_0x486a2d};}__name(planAddVariable,'planAddVariable');function deleteShadowWarning(_0x397b02,_0x3a1878,_0x4f8017){const _0x339806={_0x323d02:0xa9},_0x4deb6e=_0x3d4468;if(_0x4f8017!==void 0x0&&_0x4f8017!==_0x3a1878)return[_0x397b02+_0x4deb6e(_0x339806._0x323d02)];return[];}__name(deleteShadowWarning,_0x3d4468(0x268));var TERMINAL_RUNTIME_STATES=[_0x3d4468(0x18a),_0x3d4468(0xa1),_0x3d4468(0xbb)];function isTerminalRuntimeState(_0x145a62){const _0x5a5171={_0x54f4f2:0x240},_0x438f66=_0x3d4468;return TERMINAL_RUNTIME_STATES[_0x438f66(_0x5a5171._0x54f4f2)](_0x145a62);}__name(isTerminalRuntimeState,_0x3d4468(0x1f3));var JUDGE_ROUTES={'judge':_0x3d4468(0x1f6),'health':_0x3d4468(0x26f)},JUDGE_ENV={'mode':_0x3d4468(0x217),'url':'UNOTEST_JUDGE_URL','token':_0x3d4468(0x1d4),'requestTimeoutMs':_0x3d4468(0x14c),'preamble':'UNOTEST_JUDGE_PREAMBLE','provider':'UNOTEST_JUDGE_PROVIDER','model':_0x3d4468(0x261),'callTimeoutMs':'UNOTEST_JUDGE_CALL_TIMEOUT_MS','retries':'UNOTEST_JUDGE_RETRIES','vote':_0x3d4468(0x222),'accessToken':_0x3d4468(0x236),'claudeBin':_0x3d4468(0xfd),'host':_0x3d4468(0x282),'port':_0x3d4468(0x1e9),'logLevel':'UNOTEST_JUDGE_LOG_LEVEL','skipPreflight':_0x3d4468(0x294)},JUDGE_API_KEY_ENV={'gemini':'GEMINI_API_KEY','openai':_0x3d4468(0x2b9),'anthropic':'ANTHROPIC_API_KEY'};function judgeSecretEnvNames(_0x447f6a){const _0x2b1282={_0x8dae3d:0x11d,_0x367117:0x2aa,_0x4053f5:0x13b},_0x2d0c74=_0x3d4468,_0x5b4678=[JUDGE_ENV[_0x2d0c74(_0x2b1282._0x8dae3d)],JUDGE_ENV[_0x2d0c74(_0x2b1282._0x367117)]];if(_0x447f6a[JUDGE_ENV[_0x2d0c74(0x273)]]!==_0x2d0c74(_0x2b1282._0x4053f5))return _0x5b4678;const _0x49d32d=_0x447f6a[JUDGE_ENV[_0x2d0c74(0x2cb)]];return _0x49d32d!==void 0x0&&Object[_0x2d0c74(0x2a1)](JUDGE_API_KEY_ENV,_0x49d32d)&&_0x5b4678[_0x2d0c74(0x1d3)](JUDGE_API_KEY_ENV[_0x49d32d]),_0x5b4678;}__name(judgeSecretEnvNames,_0x3d4468(0x274));function approvalActionText(_0x4f9c5e){const _0x1441f8={_0x102ac5:0xef,_0xb0bab8:0x266,_0x1689dc:0xad},_0x4e4c83=_0x3d4468;if(_0x4f9c5e['kind']==='box-create'){const _0x129a13=_0x4f9c5e[_0x4e4c83(_0x1441f8._0x102ac5)]?',\x20with\x20the\x20Picker':'';return _0x4e4c83(_0x1441f8._0xb0bab8)+_0x4f9c5e[_0x4e4c83(0x1aa)]+'\x22,\x20size\x20'+_0x4f9c5e[_0x4e4c83(_0x1441f8._0x1689dc)]+_0x129a13;}if(_0x4f9c5e[_0x4e4c83(0x27a)]===_0x4e4c83(0x1df))return _0x4f9c5e['boxName']===null?'Turn\x20the\x20Picker\x20on\x20for\x20the\x20account':'Turn\x20the\x20Picker\x20on\x20for\x20the\x20box\x20\x22'+_0x4f9c5e['boxName']+'\x22';return'Delete\x20the\x20box\x20\x22'+_0x4f9c5e['boxName']+'\x22';}__name(approvalActionText,'approvalActionText');function approvalPriceLabel(_0x17ff21){return _0x17ff21['kind']==='picker-on'?'Surcharge':'Price';}__name(approvalPriceLabel,_0x3d4468(0x2de));function approvalPrice(_0xce5c0b,_0x5cf6b6){const _0x247f5f=_0x3d4468;if(_0x5cf6b6===null)return null;if(_0xce5c0b['kind']===_0x247f5f(0x1df))return _0xce5c0b[_0x247f5f(0x14e)]?{'kind':'included'}:{'kind':_0x247f5f(0x1c0),'cents':_0x5cf6b6,'surcharge':!![]};return{'kind':_0x247f5f(0x1c0),'cents':_0x5cf6b6,'surcharge':![]};}__name(approvalPrice,_0x3d4468(0x2c3));var PICKER_INCLUDED_TEXT='included\x20in\x20the\x20box\x20price\x20for\x20now',BOX_DELETE_CONSEQUENCE=_0x3d4468(0x2ce);function approvalConsequence(_0x505815){const _0x560b93={_0x49a5c1:0x27a,_0x323eeb:0x1c7,_0x32e822:0x27a},_0x69cb05=_0x3d4468;if(_0x505815[_0x69cb05(_0x560b93._0x49a5c1)]===_0x69cb05(0x1a7))return _0x69cb05(_0x560b93._0x323eeb);if(_0x505815[_0x69cb05(_0x560b93._0x32e822)]===_0x69cb05(0x1df))return _0x505815[_0x69cb05(0x1aa)]===null?_0x69cb05(0x21a):_0x69cb05(0x257);return BOX_DELETE_CONSEQUENCE;}__name(approvalConsequence,'approvalConsequence');var CLOUD_API_ROUTES=['POST\x20/device/code',_0x3d4468(0x21c),_0x3d4468(0x1c4),_0x3d4468(0x1c1),_0x3d4468(0x15a),_0x3d4468(0x281),'POST\x20/boxes',_0x3d4468(0xa0),_0x3d4468(0x246),_0x3d4468(0xaa),_0x3d4468(0x125),_0x3d4468(0xe5),_0x3d4468(0x1fa),_0x3d4468(0xd3),_0x3d4468(0xb8),_0x3d4468(0x2b0),'POST\x20/account/picker/access',_0x3d4468(0x256),_0x3d4468(0xc8),_0x3d4468(0x2b3)];function matchCloudApiRoute(_0x4a703a,_0x244e3b){const _0x2eb78f={_0x18e743:0x182,_0xf59e3c:0x206},_0x181d30={_0x24ad2c:0x26a},_0x48d43b=_0x3d4468,_0x3ad4a2=_0x244e3b[_0x48d43b(_0x2eb78f._0x18e743)]('/');for(const _0xc28fa0 of CLOUD_API_ROUTES){const [_0x49f28c,_0xdd174e='']=_0xc28fa0[_0x48d43b(0x182)]('\x20');if(_0x49f28c!==_0x4a703a)continue;const _0x1f442e=_0xdd174e['split']('/');if(_0x1f442e['length']!==_0x3ad4a2[_0x48d43b(0x214)])continue;const _0x58628a={},_0x5544c9=_0x1f442e[_0x48d43b(_0x2eb78f._0xf59e3c)]((_0x5abfd1,_0x96e290)=>{const _0x3c749b=_0x48d43b,_0x4c5fca=_0x3ad4a2[_0x96e290]??'';if(!_0x5abfd1['startsWith'](':'))return _0x5abfd1===_0x4c5fca;if(_0x4c5fca==='')return![];const _0x128cdb=decodeSegment(_0x4c5fca);if(_0x128cdb===void 0x0)return![];return _0x58628a[_0x5abfd1[_0x3c749b(_0x181d30._0x24ad2c)](0x1)]=_0x128cdb,!![];});if(_0x5544c9)return{'route':_0xc28fa0,'params':_0x58628a};}return void 0x0;}__name(matchCloudApiRoute,_0x3d4468(0xa3));function decodeSegment(_0x2ab010){try{return decodeURIComponent(_0x2ab010);}catch{return void 0x0;}}__name(decodeSegment,'decodeSegment');export{ACTOR_TICKET_HEADER,ARTIFACTS_ROOT_ENV,BLOBS_DIR,BOX_DELETE_CONSEQUENCE,BOX_ENV_VALUES_SEGMENT,BOX_NOTIFY_CHANNEL_KINDS,BOX_NOTIFY_EVENTS,BOX_NOTIFY_PATH,BOX_NOTIFY_STATES,BOX_NOTIFY_TRIGGER_KINDS,BOX_PUSH_TOKEN_PREFIX,BOX_READ_ENVIRONMENTS_PATH,BOX_READ_ENVIRONMENT_HEADER,BOX_READ_TOKEN_ENV,BOX_READ_TOKEN_PREFIX,BOX_REVEAL_SEGMENT,BOX_REVOCATIONS_RETRY_AFTER_SECONDS,BOX_RUNS_SEGMENT,BOX_SECRET_NAMES_ENV,BOX_SIGNED_TOKEN,BOX_SIGNED_TOKEN_PREFIX,BOX_TOKEN_ENV,BOX_URL_ENV,BOX_VALUES_PATH,BOX_VARIABLE_NAMES_ENV,BROWSER_CHANNEL_ENV,BROWSER_ENV,BUNDLED_BROWSER_CHANNEL,BUNDLE_ID_ENV,BUNDLE_MANIFEST_FILE,BUNDLE_SCHEMA_VERSION,BUNDLE_UPLOAD_PATH,CI_RUNS_PATH,CI_RUN_LINES_AFTER,CI_RUN_LINES_MAX,CI_RUN_PATH,CLOUD_API_ROUTES,COLLECTIONS_SUBDIR,COLLECTION_NAME_FORBIDDEN_RE,COMMANDS_FILE,DAY_INDEX_FILE,DAY_SHORT,DEFAULT_COLLECTION_NAME,E2E_SUBDIR,EDITOR_TYPES_ENV,ENVIRONMENT_ENV,ENV_FILE,EXPECT_FAIL_ANNOTATION,FAILURES_DIR_SEGMENTS,FAILURES_ROOT_ENV,FREQ_FIELDS,GUARD_SECRET_HEADER,HEARTBEAT_FILE,HELPERS_SUBDIR,InvalidBlobHashError,JUDGE_API_KEY_ENV,JUDGE_ENV,JUDGE_ROUTES,LOCAL_STATE_DIR,LOCK_FILE,LOG_FILE,PICKER_INCLUDED_TEXT,PICKER_SNAPSHOT_FILE,QUEUE_DISABLED_ENV,QUEUE_GLOBAL_DIR_ENV,QUEUE_GLOBAL_SLOTS_ENV,QUEUE_LEASE_ENV,QUEUE_MUTEX_FILE,QUEUE_PRIORITIES,QUEUE_RUNNING_DIR,QUEUE_SCHEMA_VERSION,QUEUE_SLOTS_DIR,QUEUE_SUBDIR,QUEUE_TICKETS_DIR,RUNNER_CONFIG_KEYS,RUNNER_SETTING_PREFIX,RUNS_SUBDIR,RUNTIME_FILE,RUN_ACTOR_ENV,RUN_IDENTITY_ENV_NAMES,RUN_ID_ENV,RUN_INDEX_SCHEMA_VERSION,RUN_MANIFEST_FILE,RUN_SOURCES_FILE,RUN_TRIGGER_ENV,RunnerAdapterNotFoundError,RunnerNotConfiguredError,SCENARIOS_INDEX_DIR,SCENARIOS_LATEST_FILE,SCENARIO_RECENT_WINDOW,SCHEDULES_FILE,SCHEDULES_FINGERPRINT_ENV,SECRETS_FILE,SEGMENT_NAME_FORBIDDEN_RE,SNAPSHOTS_SUBDIR,STDERR_FILE,STDOUT_FILE,STEPS_FILE,TARGET_ENV_VAR,TERMINAL_RUNTIME_STATES,TERMINAL_WS_EVENT,UNOTEST_DIR,UnknownTestError,UnplaceableRunIdError,UnsupportedRunKindError,WEEK_CHIP_ORDER,WORKSPACE_FILE,WORKSPACE_SCHEMA_VERSION,activeEnvName,approvalActionText,approvalConsequence,approvalPrice,approvalPriceLabel,artifactsRootFrom,blobPathFor,blobRelPathFor,blobRelSegmentsFor,blobsRootFor,boxEnvSecretRevealPath,boxEnvSecretsRevealPath,boxEnvValuePath,boxEnvValuesPath,boxNotifyChannelPath,boxNotifyMutePath,boxNotifyPreviewPath,boxNotifyPreviewTrigger,boxNotifyProjectPath,boxNotifyQuietHoursPath,boxNotifyRulePath,boxNotifySeriesPath,boxNotifySeriesResetPath,boxNotifyTestPath,boxRunPath,boxRunsPath,boxValueKindOfSegment,boxValuePath,boxValuesPath,canonicalScheduleSet,categorizeVariable,ciRunLinesPath,compareQueueTicketNames,compareVersions,cronFromSpec,debugDirFor,debuggerFileFor,declaredEnvKeys,decodeNameList,deleteShadowWarning,describeBundle,describeCron,describeSpec,describeTicketCi,encodeNameList,envFileFor,envKeys,envLayerFilesFor,envNamesFromDirListing,failuresRootFrom,failuresRootIn,failuresRootUnder,firstRunCommand,foldScenarioRun,foldTestRun,formatNextTick,insertEnvVar,isAnnotationLine,isBelowMinimum,isBoxNotifyState,isBoxValuesErrorCode,isEnvVarName,isExternalVarName,isFailingStatus,isQueueDirName,isRecord,isRegexLiteral,isReservedBoxValueName,isRunId,isRunIdentityEnvName,isRunnerConfigKey,isRunnerSetting,isRunsDirName,isTerminalRuntimeState,isTestName,judgeSecretEnvNames,legacyDebuggerFileFor,lowestVersionOf,makeQueueTicketName,makeRunId,manifestTrigger,maskSecretValues,matchCloudApiRoute,mergeSchedules,nextTickFromSpec,orderSecretValues,parseAppServerEvent,parseBoxEnvValuesReplaceRequest,parseBoxNotifyChanged,parseBoxNotifyError,parseBoxNotifyMuteScope,parseBoxNotifyPreview,parseBoxNotifyProjectView,parseBoxNotifySeriesView,parseBoxNotifyTestResult,parseBoxNotifyView,parseBoxReadEnvironments,parseBoxReadError,parseBoxReadInstall,parseBoxRunAccepted,parseBoxRunRequest,parseBoxRunStatus,parseBoxSecretRevealResponse,parseBoxSecretsRevealResponse,parseBoxValueSetRequest,parseBoxValuesMergeRequest,parseBoxValuesReplaceRequest,parseBoxValuesResponse,parseBundleManifest,parseBundleRemoveRequest,parseBundleRemoveResponse,parseBundleUploadResponse,parseCiProvider,parseCiRunLinesResponse,parseCiRunRequest,parseCiRunResponse,parseCiRunStatusResponse,parseCollectionViewport,parseEnvContent,parseQueueTicket,parseQueueTicketName,parseScenarioAnnotations,parseScheduleEntry,parseSchedulesDoc,parseSchedulesJson,parseTestAnnotations,parseUnknownEnvironmentDetail,parseWorkspaceFile,planAddVariable,projectQueueRoot,projectRunDirFor,projectRunsRoot,queueDirFor,queuePriorityFromRank,queuePriorityRank,recentRuns,regexLiteral,removeEnvVar,replaceEnvVar,requireRunDirFor,reservedBoxValueNames,runDirFor,runIdStartedAt,runIdentityRefusal,runLabel,runStatusOf,runTriggerEnv,runTriggerFromEnv,runsDirFor,sanitizeRunIdSegment,scenarioIndexFileName,scenarioRefFromFileName,scheduleTarget,secretMark,secretsFileFor,secretsLayerFilesFor,selectTests,serializeEnvValue,shardDaysDescending,shardDirFor,shardPathForRunId,shardPathForTimestamp,specFromCron,testDirFor,testIndexFileName,testLabel,validateCollectionName,validateSegmentName,withoutRunIdentity};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unotest/protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.50.0",
|
|
4
4
|
"description": "Cross-runner protocol for the @unotest ecosystem: shared TypeScript types, path constants, the IRunnerAdapter contract that lets @unotest/viewer drive @unotest/web, @unotest/mobile (and future runners) through the same surface. Pure types + pure functions only — zero runtime deps, browser-safe.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|