dsh-lowtide 0.2.2 → 0.2.3

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/lib/client.js CHANGED
@@ -7,7 +7,6 @@ window.__ModuleLoader__.load({
7
7
  let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
8
8
  let react = require("react");
9
9
  let react_jsx_runtime = require("react/jsx-runtime");
10
- let _deepseek_ai_dsh_client_runtime_client = require("@deepseek-ai/dsh-client-runtime/client");
11
10
  //#region client/i18n.ts
12
11
  /**
13
12
  * dsh-lowtide client dictionaries (zh / en).
@@ -121,6 +120,7 @@ window.__ModuleLoader__.load({
121
120
  "modal.editDesc": "原地修改,任务状态保持不变 · {id}",
122
121
  "modal.saveEdit": "保存修改",
123
122
  "modal.cancel": "取消",
123
+ "modal.close": "关闭",
124
124
  "modal.submit": "投递",
125
125
  "modal.promptPlaceholderSingle": "给 src/auth 模块补全所有边界情况的单元测试,描述内容越详细越好|||给 UserService 的 CRUD 接口写完整的集成测试套件,描述内容越详细越好|||给这个 REST API 端点写完整的 OpenAPI 3.0 文档,描述内容越详细越好|||把现有的 Jenkinsfile 迁移到 GitHub Actions workflow,描述内容越详细越好|||分析这段 N+1 查询日志,给出索引优化建议,描述内容越详细越好",
126
126
  "modal.promptPlaceholderIterative": "重构用户权限中间件,每轮审查安全性直到可上线,描述内容越详细越好|||补齐支付模块的边界测试,每轮跑通再加新 case,描述内容越详细越好|||写消息队列选型的技术方案 RFC,迭代到可评审状态,描述内容越详细越好|||写 Terraform 模块管理 EKS 集群,每轮 apply 验证,描述内容越详细越好|||优化首页接口的 TTFB,每轮 profile 后针对性改进,描述内容越详细越好",
@@ -448,6 +448,7 @@ window.__ModuleLoader__.load({
448
448
  "modal.editDesc": "Edits in place — task status is preserved · {id}",
449
449
  "modal.saveEdit": "Save changes",
450
450
  "modal.cancel": "Cancel",
451
+ "modal.close": "Close",
451
452
  "modal.submit": "Submit",
452
453
  "modal.promptPlaceholderSingle": "Write full unit tests for src/auth covering all edge cases — be as detailed as possible|||Write a complete integration test suite for the UserService CRUD API — be as detailed as possible|||Write full OpenAPI 3.0 docs for this REST endpoint — be as detailed as possible|||Migrate the existing Jenkinsfile to a GitHub Actions workflow — be as detailed as possible|||Analyze this N+1 query log and suggest index optimizations — be as detailed as possible",
453
454
  "modal.promptPlaceholderIterative": "Refactor the auth middleware error handling, review security each round until shippable — be as detailed as possible|||Fill in edge-case tests for the payment module, pass all tests each round before adding new ones — be as detailed as possible|||Draft an RFC for message queue selection, iterate until review-ready — be as detailed as possible|||Write a Terraform module for the EKS cluster, apply and verify each round — be as detailed as possible|||Optimize the homepage TTFB, profile and improve targeted areas each round — be as detailed as possible",
@@ -690,11 +691,11 @@ window.__ModuleLoader__.load({
690
691
  document.head.appendChild(tag);
691
692
  }
692
693
  var atoms_module_css_default = {
693
- "modelBadgeQ": "grgw_q_modelBadgeQ",
694
- "modelBadge": "grgw_q_modelBadge",
695
694
  "modelBadgeUnknown": "grgw_q_modelBadgeUnknown",
696
- "countdown": "grgw_q_countdown",
697
- "money": "grgw_q_money"
695
+ "modelBadge": "grgw_q_modelBadge",
696
+ "money": "grgw_q_money",
697
+ "modelBadgeQ": "grgw_q_modelBadgeQ",
698
+ "countdown": "grgw_q_countdown"
698
699
  };
699
700
  //#endregion
700
701
  //#region client/components/atoms.tsx
@@ -750,6 +751,677 @@ window.__ModuleLoader__.load({
750
751
  });
751
752
  }
752
753
  //#endregion
754
+ //#region ../../node_modules/.pnpm/zustand@4.4.7_@types+react@18.3.31_immer@10.1.1_react@18.2.0/node_modules/zustand/esm/vanilla.mjs
755
+ const createStoreImpl = (createState) => {
756
+ let state;
757
+ const listeners = /* @__PURE__ */ new Set();
758
+ const setState = (partial, replace) => {
759
+ const nextState = typeof partial === "function" ? partial(state) : partial;
760
+ if (!Object.is(nextState, state)) {
761
+ const previousState = state;
762
+ state = (replace != null ? replace : typeof nextState !== "object" || nextState === null) ? nextState : Object.assign({}, state, nextState);
763
+ listeners.forEach((listener) => listener(state, previousState));
764
+ }
765
+ };
766
+ const getState = () => state;
767
+ const subscribe = (listener) => {
768
+ listeners.add(listener);
769
+ return () => listeners.delete(listener);
770
+ };
771
+ const destroy = () => {
772
+ listeners.clear();
773
+ };
774
+ const api = {
775
+ setState,
776
+ getState,
777
+ subscribe,
778
+ destroy
779
+ };
780
+ state = createState(setState, getState, api);
781
+ return api;
782
+ };
783
+ const createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;
784
+ //#endregion
785
+ //#region ../../node_modules/.pnpm/zustand@4.4.7_@types+react@18.3.31_immer@10.1.1_react@18.2.0/node_modules/zustand/esm/middleware.mjs
786
+ const subscribeWithSelectorImpl = (fn) => (set, get, api) => {
787
+ const origSubscribe = api.subscribe;
788
+ api.subscribe = (selector, optListener, options) => {
789
+ let listener = selector;
790
+ if (optListener) {
791
+ const equalityFn = (options == null ? void 0 : options.equalityFn) || Object.is;
792
+ let currentSlice = selector(api.getState());
793
+ listener = (state) => {
794
+ const nextSlice = selector(state);
795
+ if (!equalityFn(currentSlice, nextSlice)) {
796
+ const previousSlice = currentSlice;
797
+ optListener(currentSlice = nextSlice, previousSlice);
798
+ }
799
+ };
800
+ if (options == null ? void 0 : options.fireImmediately) optListener(currentSlice, currentSlice);
801
+ }
802
+ return origSubscribe(listener);
803
+ };
804
+ return fn(set, get, api);
805
+ };
806
+ const subscribeWithSelector = subscribeWithSelectorImpl;
807
+ //#endregion
808
+ //#region ../../node_modules/.pnpm/immer@10.1.1/node_modules/immer/dist/immer.mjs
809
+ var NOTHING = Symbol.for("immer-nothing");
810
+ var DRAFTABLE = Symbol.for("immer-draftable");
811
+ var DRAFT_STATE = Symbol.for("immer-state");
812
+ function die(error, ...args) {
813
+ throw new Error(`[Immer] minified error nr: ${error}. Full error at: https://bit.ly/3cXEKWf`);
814
+ }
815
+ var getPrototypeOf = Object.getPrototypeOf;
816
+ function isDraft(value) {
817
+ return !!value && !!value[DRAFT_STATE];
818
+ }
819
+ function isDraftable(value) {
820
+ if (!value) return false;
821
+ return isPlainObject(value) || Array.isArray(value) || !!value[DRAFTABLE] || !!value.constructor?.[DRAFTABLE] || isMap(value) || isSet(value);
822
+ }
823
+ var objectCtorString = Object.prototype.constructor.toString();
824
+ function isPlainObject(value) {
825
+ if (!value || typeof value !== "object") return false;
826
+ const proto = getPrototypeOf(value);
827
+ if (proto === null) return true;
828
+ const Ctor = Object.hasOwnProperty.call(proto, "constructor") && proto.constructor;
829
+ if (Ctor === Object) return true;
830
+ return typeof Ctor == "function" && Function.toString.call(Ctor) === objectCtorString;
831
+ }
832
+ function each(obj, iter) {
833
+ if (getArchtype(obj) === 0) Reflect.ownKeys(obj).forEach((key) => {
834
+ iter(key, obj[key], obj);
835
+ });
836
+ else obj.forEach((entry, index) => iter(index, entry, obj));
837
+ }
838
+ function getArchtype(thing) {
839
+ const state = thing[DRAFT_STATE];
840
+ return state ? state.type_ : Array.isArray(thing) ? 1 : isMap(thing) ? 2 : isSet(thing) ? 3 : 0;
841
+ }
842
+ function has(thing, prop) {
843
+ return getArchtype(thing) === 2 ? thing.has(prop) : Object.prototype.hasOwnProperty.call(thing, prop);
844
+ }
845
+ function set(thing, propOrOldValue, value) {
846
+ const t = getArchtype(thing);
847
+ if (t === 2) thing.set(propOrOldValue, value);
848
+ else if (t === 3) thing.add(value);
849
+ else thing[propOrOldValue] = value;
850
+ }
851
+ function is(x, y) {
852
+ if (x === y) return x !== 0 || 1 / x === 1 / y;
853
+ else return x !== x && y !== y;
854
+ }
855
+ function isMap(target) {
856
+ return target instanceof Map;
857
+ }
858
+ function isSet(target) {
859
+ return target instanceof Set;
860
+ }
861
+ function latest(state) {
862
+ return state.copy_ || state.base_;
863
+ }
864
+ function shallowCopy(base, strict) {
865
+ if (isMap(base)) return new Map(base);
866
+ if (isSet(base)) return new Set(base);
867
+ if (Array.isArray(base)) return Array.prototype.slice.call(base);
868
+ const isPlain = isPlainObject(base);
869
+ if (strict === true || strict === "class_only" && !isPlain) {
870
+ const descriptors = Object.getOwnPropertyDescriptors(base);
871
+ delete descriptors[DRAFT_STATE];
872
+ let keys = Reflect.ownKeys(descriptors);
873
+ for (let i = 0; i < keys.length; i++) {
874
+ const key = keys[i];
875
+ const desc = descriptors[key];
876
+ if (desc.writable === false) {
877
+ desc.writable = true;
878
+ desc.configurable = true;
879
+ }
880
+ if (desc.get || desc.set) descriptors[key] = {
881
+ configurable: true,
882
+ writable: true,
883
+ enumerable: desc.enumerable,
884
+ value: base[key]
885
+ };
886
+ }
887
+ return Object.create(getPrototypeOf(base), descriptors);
888
+ } else {
889
+ const proto = getPrototypeOf(base);
890
+ if (proto !== null && isPlain) return { ...base };
891
+ const obj = Object.create(proto);
892
+ return Object.assign(obj, base);
893
+ }
894
+ }
895
+ function freeze(obj, deep = false) {
896
+ if (isFrozen(obj) || isDraft(obj) || !isDraftable(obj)) return obj;
897
+ if (getArchtype(obj) > 1) obj.set = obj.add = obj.clear = obj.delete = dontMutateFrozenCollections;
898
+ Object.freeze(obj);
899
+ if (deep) Object.entries(obj).forEach(([key, value]) => freeze(value, true));
900
+ return obj;
901
+ }
902
+ function dontMutateFrozenCollections() {
903
+ die(2);
904
+ }
905
+ function isFrozen(obj) {
906
+ return Object.isFrozen(obj);
907
+ }
908
+ var plugins = {};
909
+ function getPlugin(pluginKey) {
910
+ const plugin = plugins[pluginKey];
911
+ if (!plugin) die(0, pluginKey);
912
+ return plugin;
913
+ }
914
+ var currentScope;
915
+ function getCurrentScope() {
916
+ return currentScope;
917
+ }
918
+ function createScope(parent_, immer_) {
919
+ return {
920
+ drafts_: [],
921
+ parent_,
922
+ immer_,
923
+ canAutoFreeze_: true,
924
+ unfinalizedDrafts_: 0
925
+ };
926
+ }
927
+ function usePatchesInScope(scope, patchListener) {
928
+ if (patchListener) {
929
+ getPlugin("Patches");
930
+ scope.patches_ = [];
931
+ scope.inversePatches_ = [];
932
+ scope.patchListener_ = patchListener;
933
+ }
934
+ }
935
+ function revokeScope(scope) {
936
+ leaveScope(scope);
937
+ scope.drafts_.forEach(revokeDraft);
938
+ scope.drafts_ = null;
939
+ }
940
+ function leaveScope(scope) {
941
+ if (scope === currentScope) currentScope = scope.parent_;
942
+ }
943
+ function enterScope(immer2) {
944
+ return currentScope = createScope(currentScope, immer2);
945
+ }
946
+ function revokeDraft(draft) {
947
+ const state = draft[DRAFT_STATE];
948
+ if (state.type_ === 0 || state.type_ === 1) state.revoke_();
949
+ else state.revoked_ = true;
950
+ }
951
+ function processResult(result, scope) {
952
+ scope.unfinalizedDrafts_ = scope.drafts_.length;
953
+ const baseDraft = scope.drafts_[0];
954
+ if (result !== void 0 && result !== baseDraft) {
955
+ if (baseDraft[DRAFT_STATE].modified_) {
956
+ revokeScope(scope);
957
+ die(4);
958
+ }
959
+ if (isDraftable(result)) {
960
+ result = finalize(scope, result);
961
+ if (!scope.parent_) maybeFreeze(scope, result);
962
+ }
963
+ if (scope.patches_) getPlugin("Patches").generateReplacementPatches_(baseDraft[DRAFT_STATE].base_, result, scope.patches_, scope.inversePatches_);
964
+ } else result = finalize(scope, baseDraft, []);
965
+ revokeScope(scope);
966
+ if (scope.patches_) scope.patchListener_(scope.patches_, scope.inversePatches_);
967
+ return result !== NOTHING ? result : void 0;
968
+ }
969
+ function finalize(rootScope, value, path) {
970
+ if (isFrozen(value)) return value;
971
+ const state = value[DRAFT_STATE];
972
+ if (!state) {
973
+ each(value, (key, childValue) => finalizeProperty(rootScope, state, value, key, childValue, path));
974
+ return value;
975
+ }
976
+ if (state.scope_ !== rootScope) return value;
977
+ if (!state.modified_) {
978
+ maybeFreeze(rootScope, state.base_, true);
979
+ return state.base_;
980
+ }
981
+ if (!state.finalized_) {
982
+ state.finalized_ = true;
983
+ state.scope_.unfinalizedDrafts_--;
984
+ const result = state.copy_;
985
+ let resultEach = result;
986
+ let isSet2 = false;
987
+ if (state.type_ === 3) {
988
+ resultEach = new Set(result);
989
+ result.clear();
990
+ isSet2 = true;
991
+ }
992
+ each(resultEach, (key, childValue) => finalizeProperty(rootScope, state, result, key, childValue, path, isSet2));
993
+ maybeFreeze(rootScope, result, false);
994
+ if (path && rootScope.patches_) getPlugin("Patches").generatePatches_(state, path, rootScope.patches_, rootScope.inversePatches_);
995
+ }
996
+ return state.copy_;
997
+ }
998
+ function finalizeProperty(rootScope, parentState, targetObject, prop, childValue, rootPath, targetIsSet) {
999
+ if (isDraft(childValue)) {
1000
+ const res = finalize(rootScope, childValue, rootPath && parentState && parentState.type_ !== 3 && !has(parentState.assigned_, prop) ? rootPath.concat(prop) : void 0);
1001
+ set(targetObject, prop, res);
1002
+ if (isDraft(res)) rootScope.canAutoFreeze_ = false;
1003
+ else return;
1004
+ } else if (targetIsSet) targetObject.add(childValue);
1005
+ if (isDraftable(childValue) && !isFrozen(childValue)) {
1006
+ if (!rootScope.immer_.autoFreeze_ && rootScope.unfinalizedDrafts_ < 1) return;
1007
+ finalize(rootScope, childValue);
1008
+ if ((!parentState || !parentState.scope_.parent_) && typeof prop !== "symbol" && Object.prototype.propertyIsEnumerable.call(targetObject, prop)) maybeFreeze(rootScope, childValue);
1009
+ }
1010
+ }
1011
+ function maybeFreeze(scope, value, deep = false) {
1012
+ if (!scope.parent_ && scope.immer_.autoFreeze_ && scope.canAutoFreeze_) freeze(value, deep);
1013
+ }
1014
+ function createProxyProxy(base, parent) {
1015
+ const isArray = Array.isArray(base);
1016
+ const state = {
1017
+ type_: isArray ? 1 : 0,
1018
+ scope_: parent ? parent.scope_ : getCurrentScope(),
1019
+ modified_: false,
1020
+ finalized_: false,
1021
+ assigned_: {},
1022
+ parent_: parent,
1023
+ base_: base,
1024
+ draft_: null,
1025
+ copy_: null,
1026
+ revoke_: null,
1027
+ isManual_: false
1028
+ };
1029
+ let target = state;
1030
+ let traps = objectTraps;
1031
+ if (isArray) {
1032
+ target = [state];
1033
+ traps = arrayTraps;
1034
+ }
1035
+ const { revoke, proxy } = Proxy.revocable(target, traps);
1036
+ state.draft_ = proxy;
1037
+ state.revoke_ = revoke;
1038
+ return proxy;
1039
+ }
1040
+ var objectTraps = {
1041
+ get(state, prop) {
1042
+ if (prop === DRAFT_STATE) return state;
1043
+ const source = latest(state);
1044
+ if (!has(source, prop)) return readPropFromProto(state, source, prop);
1045
+ const value = source[prop];
1046
+ if (state.finalized_ || !isDraftable(value)) return value;
1047
+ if (value === peek(state.base_, prop)) {
1048
+ prepareCopy(state);
1049
+ return state.copy_[prop] = createProxy(value, state);
1050
+ }
1051
+ return value;
1052
+ },
1053
+ has(state, prop) {
1054
+ return prop in latest(state);
1055
+ },
1056
+ ownKeys(state) {
1057
+ return Reflect.ownKeys(latest(state));
1058
+ },
1059
+ set(state, prop, value) {
1060
+ const desc = getDescriptorFromProto(latest(state), prop);
1061
+ if (desc?.set) {
1062
+ desc.set.call(state.draft_, value);
1063
+ return true;
1064
+ }
1065
+ if (!state.modified_) {
1066
+ const current2 = peek(latest(state), prop);
1067
+ const currentState = current2?.[DRAFT_STATE];
1068
+ if (currentState && currentState.base_ === value) {
1069
+ state.copy_[prop] = value;
1070
+ state.assigned_[prop] = false;
1071
+ return true;
1072
+ }
1073
+ if (is(value, current2) && (value !== void 0 || has(state.base_, prop))) return true;
1074
+ prepareCopy(state);
1075
+ markChanged(state);
1076
+ }
1077
+ if (state.copy_[prop] === value && (value !== void 0 || prop in state.copy_) || Number.isNaN(value) && Number.isNaN(state.copy_[prop])) return true;
1078
+ state.copy_[prop] = value;
1079
+ state.assigned_[prop] = true;
1080
+ return true;
1081
+ },
1082
+ deleteProperty(state, prop) {
1083
+ if (peek(state.base_, prop) !== void 0 || prop in state.base_) {
1084
+ state.assigned_[prop] = false;
1085
+ prepareCopy(state);
1086
+ markChanged(state);
1087
+ } else delete state.assigned_[prop];
1088
+ if (state.copy_) delete state.copy_[prop];
1089
+ return true;
1090
+ },
1091
+ getOwnPropertyDescriptor(state, prop) {
1092
+ const owner = latest(state);
1093
+ const desc = Reflect.getOwnPropertyDescriptor(owner, prop);
1094
+ if (!desc) return desc;
1095
+ return {
1096
+ writable: true,
1097
+ configurable: state.type_ !== 1 || prop !== "length",
1098
+ enumerable: desc.enumerable,
1099
+ value: owner[prop]
1100
+ };
1101
+ },
1102
+ defineProperty() {
1103
+ die(11);
1104
+ },
1105
+ getPrototypeOf(state) {
1106
+ return getPrototypeOf(state.base_);
1107
+ },
1108
+ setPrototypeOf() {
1109
+ die(12);
1110
+ }
1111
+ };
1112
+ var arrayTraps = {};
1113
+ each(objectTraps, (key, fn) => {
1114
+ arrayTraps[key] = function() {
1115
+ arguments[0] = arguments[0][0];
1116
+ return fn.apply(this, arguments);
1117
+ };
1118
+ });
1119
+ arrayTraps.deleteProperty = function(state, prop) {
1120
+ return arrayTraps.set.call(this, state, prop, void 0);
1121
+ };
1122
+ arrayTraps.set = function(state, prop, value) {
1123
+ return objectTraps.set.call(this, state[0], prop, value, state[0]);
1124
+ };
1125
+ function peek(draft, prop) {
1126
+ const state = draft[DRAFT_STATE];
1127
+ return (state ? latest(state) : draft)[prop];
1128
+ }
1129
+ function readPropFromProto(state, source, prop) {
1130
+ const desc = getDescriptorFromProto(source, prop);
1131
+ return desc ? `value` in desc ? desc.value : desc.get?.call(state.draft_) : void 0;
1132
+ }
1133
+ function getDescriptorFromProto(source, prop) {
1134
+ if (!(prop in source)) return void 0;
1135
+ let proto = getPrototypeOf(source);
1136
+ while (proto) {
1137
+ const desc = Object.getOwnPropertyDescriptor(proto, prop);
1138
+ if (desc) return desc;
1139
+ proto = getPrototypeOf(proto);
1140
+ }
1141
+ }
1142
+ function markChanged(state) {
1143
+ if (!state.modified_) {
1144
+ state.modified_ = true;
1145
+ if (state.parent_) markChanged(state.parent_);
1146
+ }
1147
+ }
1148
+ function prepareCopy(state) {
1149
+ if (!state.copy_) state.copy_ = shallowCopy(state.base_, state.scope_.immer_.useStrictShallowCopy_);
1150
+ }
1151
+ var Immer2 = class {
1152
+ constructor(config) {
1153
+ this.autoFreeze_ = true;
1154
+ this.useStrictShallowCopy_ = false;
1155
+ /**
1156
+ * The `produce` function takes a value and a "recipe function" (whose
1157
+ * return value often depends on the base state). The recipe function is
1158
+ * free to mutate its first argument however it wants. All mutations are
1159
+ * only ever applied to a __copy__ of the base state.
1160
+ *
1161
+ * Pass only a function to create a "curried producer" which relieves you
1162
+ * from passing the recipe function every time.
1163
+ *
1164
+ * Only plain objects and arrays are made mutable. All other objects are
1165
+ * considered uncopyable.
1166
+ *
1167
+ * Note: This function is __bound__ to its `Immer` instance.
1168
+ *
1169
+ * @param {any} base - the initial state
1170
+ * @param {Function} recipe - function that receives a proxy of the base state as first argument and which can be freely modified
1171
+ * @param {Function} patchListener - optional function that will be called with all the patches produced here
1172
+ * @returns {any} a new state, or the initial state if nothing was modified
1173
+ */
1174
+ this.produce = (base, recipe, patchListener) => {
1175
+ if (typeof base === "function" && typeof recipe !== "function") {
1176
+ const defaultBase = recipe;
1177
+ recipe = base;
1178
+ const self = this;
1179
+ return function curriedProduce(base2 = defaultBase, ...args) {
1180
+ return self.produce(base2, (draft) => recipe.call(this, draft, ...args));
1181
+ };
1182
+ }
1183
+ if (typeof recipe !== "function") die(6);
1184
+ if (patchListener !== void 0 && typeof patchListener !== "function") die(7);
1185
+ let result;
1186
+ if (isDraftable(base)) {
1187
+ const scope = enterScope(this);
1188
+ const proxy = createProxy(base, void 0);
1189
+ let hasError = true;
1190
+ try {
1191
+ result = recipe(proxy);
1192
+ hasError = false;
1193
+ } finally {
1194
+ if (hasError) revokeScope(scope);
1195
+ else leaveScope(scope);
1196
+ }
1197
+ usePatchesInScope(scope, patchListener);
1198
+ return processResult(result, scope);
1199
+ } else if (!base || typeof base !== "object") {
1200
+ result = recipe(base);
1201
+ if (result === void 0) result = base;
1202
+ if (result === NOTHING) result = void 0;
1203
+ if (this.autoFreeze_) freeze(result, true);
1204
+ if (patchListener) {
1205
+ const p = [];
1206
+ const ip = [];
1207
+ getPlugin("Patches").generateReplacementPatches_(base, result, p, ip);
1208
+ patchListener(p, ip);
1209
+ }
1210
+ return result;
1211
+ } else die(1, base);
1212
+ };
1213
+ this.produceWithPatches = (base, recipe) => {
1214
+ if (typeof base === "function") return (state, ...args) => this.produceWithPatches(state, (draft) => base(draft, ...args));
1215
+ let patches, inversePatches;
1216
+ return [
1217
+ this.produce(base, recipe, (p, ip) => {
1218
+ patches = p;
1219
+ inversePatches = ip;
1220
+ }),
1221
+ patches,
1222
+ inversePatches
1223
+ ];
1224
+ };
1225
+ if (typeof config?.autoFreeze === "boolean") this.setAutoFreeze(config.autoFreeze);
1226
+ if (typeof config?.useStrictShallowCopy === "boolean") this.setUseStrictShallowCopy(config.useStrictShallowCopy);
1227
+ }
1228
+ createDraft(base) {
1229
+ if (!isDraftable(base)) die(8);
1230
+ if (isDraft(base)) base = current(base);
1231
+ const scope = enterScope(this);
1232
+ const proxy = createProxy(base, void 0);
1233
+ proxy[DRAFT_STATE].isManual_ = true;
1234
+ leaveScope(scope);
1235
+ return proxy;
1236
+ }
1237
+ finishDraft(draft, patchListener) {
1238
+ const state = draft && draft[DRAFT_STATE];
1239
+ if (!state || !state.isManual_) die(9);
1240
+ const { scope_: scope } = state;
1241
+ usePatchesInScope(scope, patchListener);
1242
+ return processResult(void 0, scope);
1243
+ }
1244
+ /**
1245
+ * Pass true to automatically freeze all copies created by Immer.
1246
+ *
1247
+ * By default, auto-freezing is enabled.
1248
+ */
1249
+ setAutoFreeze(value) {
1250
+ this.autoFreeze_ = value;
1251
+ }
1252
+ /**
1253
+ * Pass true to enable strict shallow copy.
1254
+ *
1255
+ * By default, immer does not copy the object descriptors such as getter, setter and non-enumrable properties.
1256
+ */
1257
+ setUseStrictShallowCopy(value) {
1258
+ this.useStrictShallowCopy_ = value;
1259
+ }
1260
+ applyPatches(base, patches) {
1261
+ let i;
1262
+ for (i = patches.length - 1; i >= 0; i--) {
1263
+ const patch = patches[i];
1264
+ if (patch.path.length === 0 && patch.op === "replace") {
1265
+ base = patch.value;
1266
+ break;
1267
+ }
1268
+ }
1269
+ if (i > -1) patches = patches.slice(i + 1);
1270
+ const applyPatchesImpl = getPlugin("Patches").applyPatches_;
1271
+ if (isDraft(base)) return applyPatchesImpl(base, patches);
1272
+ return this.produce(base, (draft) => applyPatchesImpl(draft, patches));
1273
+ }
1274
+ };
1275
+ function createProxy(value, parent) {
1276
+ const draft = isMap(value) ? getPlugin("MapSet").proxyMap_(value, parent) : isSet(value) ? getPlugin("MapSet").proxySet_(value, parent) : createProxyProxy(value, parent);
1277
+ (parent ? parent.scope_ : getCurrentScope()).drafts_.push(draft);
1278
+ return draft;
1279
+ }
1280
+ function current(value) {
1281
+ if (!isDraft(value)) die(10, value);
1282
+ return currentImpl(value);
1283
+ }
1284
+ function currentImpl(value) {
1285
+ if (!isDraftable(value) || isFrozen(value)) return value;
1286
+ const state = value[DRAFT_STATE];
1287
+ let copy;
1288
+ if (state) {
1289
+ if (!state.modified_) return state.base_;
1290
+ state.finalized_ = true;
1291
+ copy = shallowCopy(value, state.scope_.immer_.useStrictShallowCopy_);
1292
+ } else copy = shallowCopy(value, true);
1293
+ each(copy, (key, childValue) => {
1294
+ set(copy, key, currentImpl(childValue));
1295
+ });
1296
+ if (state) state.finalized_ = false;
1297
+ return copy;
1298
+ }
1299
+ var immer = new Immer2();
1300
+ var produce = immer.produce;
1301
+ immer.produceWithPatches.bind(immer);
1302
+ immer.setAutoFreeze.bind(immer);
1303
+ immer.setUseStrictShallowCopy.bind(immer);
1304
+ immer.applyPatches.bind(immer);
1305
+ immer.createDraft.bind(immer);
1306
+ immer.finishDraft.bind(immer);
1307
+ //#endregion
1308
+ //#region ../../node_modules/.pnpm/@deepseek-ai+dsh-client-sto_4dc585899bc1cce22770d5d315f9a979/node_modules/@deepseek-ai/dsh-client-store/lib/index.js
1309
+ /**
1310
+ * React-free snapshot store engine (zustand vanilla + immer + subscribeWithSelector +
1311
+ * rafFlush middleware + opt-in persist + dev freeze) plus the declarative
1312
+ * shell over it: {@link defineStore} bakes an init/persist/actions literal
1313
+ * into a {@link StoreHandle}, the registration-side store seat of slot
1314
+ * terminals. Engine products are bare observables — subscribe/getSnapshot/
1315
+ * update/set, NO selector hook. Hook synthesis is ui-renderer's (the one
1316
+ * uSES bridge, cached per source at the binding site).
1317
+ */
1318
+ /**
1319
+ * Notify an observer set without allowing one callback to starve the rest.
1320
+ * @param listeners - current observer callbacks; copied before dispatch.
1321
+ * @param label - diagnostic owner prefix.
1322
+ * @param args - callback arguments.
1323
+ */
1324
+ function notifySubscribers(listeners, label, ...args) {
1325
+ for (const listener of [...listeners]) try {
1326
+ listener(...args);
1327
+ } catch (error) {
1328
+ console.error(`${label} subscriber failed:`, error);
1329
+ }
1330
+ }
1331
+ /** Batches subscriber notification into one flush per animation frame. */
1332
+ function rafBatch(notify) {
1333
+ const schedule = typeof requestAnimationFrame === "function" ? (fn) => {
1334
+ requestAnimationFrame(() => {
1335
+ fn();
1336
+ });
1337
+ } : (fn) => {
1338
+ queueMicrotask(fn);
1339
+ };
1340
+ let scheduled = false;
1341
+ return () => {
1342
+ if (scheduled) return;
1343
+ scheduled = true;
1344
+ schedule(() => {
1345
+ scheduled = false;
1346
+ notify();
1347
+ });
1348
+ };
1349
+ }
1350
+ /**
1351
+ * Create a snapshot store.
1352
+ *
1353
+ * Flush default is 'sync' (controlled inputs need same-tick echo); frame-driven
1354
+ * stores opt into 'raf', where a frame's worth of updates coalesces into one
1355
+ * notification. Known raf-mode tradeoff: a component mounting mid-frame reads
1356
+ * fresh state while existing subscribers hear it next flush — transient
1357
+ * frame-level skew, same nature as the object layer's microtask batching.
1358
+ *
1359
+ * @param init - initial state.
1360
+ * @param opts - flush mode and opt-in persistence (localStorage, keyed by name).
1361
+ * @returns the store.
1362
+ */
1363
+ function createSnapshotStore(init, opts) {
1364
+ const withSelector = subscribeWithSelector(() => init);
1365
+ const api = createStore()(withSelector);
1366
+ if (opts?.persist) attachPersistence(api, opts.persist.name);
1367
+ let subscribe = (fn) => api.subscribe(() => {
1368
+ notifySubscribers([fn], "[client-store]");
1369
+ });
1370
+ if (opts?.flush === "raf") {
1371
+ const listeners = /* @__PURE__ */ new Set();
1372
+ const flush = rafBatch(() => {
1373
+ notifySubscribers(listeners, "[client-store]");
1374
+ });
1375
+ api.subscribe(flush);
1376
+ subscribe = (fn) => {
1377
+ listeners.add(fn);
1378
+ return () => {
1379
+ listeners.delete(fn);
1380
+ };
1381
+ };
1382
+ }
1383
+ return {
1384
+ getSnapshot: () => api.getState(),
1385
+ subscribe: (fn) => subscribe(fn),
1386
+ update: (mutator) => {
1387
+ api.setState(produce(api.getState(), (draft) => {
1388
+ mutator(draft);
1389
+ }), true);
1390
+ },
1391
+ set: (next) => {
1392
+ api.setState(devFreeze(next), true);
1393
+ }
1394
+ };
1395
+ }
1396
+ /**
1397
+ * Whole-value JSON persistence to localStorage. Hand-rolled instead of the
1398
+ * zustand persist middleware: its write path spreads state into an object
1399
+ * (`partialize({ ...get() })`), exploding primitive state (a persisted string
1400
+ * draft becomes {0:'h',1:'e',...}) — not fixable via merge/deserialize options
1401
+ * because the corruption happens before serialization. Storage failures
1402
+ * (quota, private mode) only disable persistence, never break the store.
1403
+ */
1404
+ function attachPersistence(api, name) {
1405
+ if (typeof localStorage === "undefined") return;
1406
+ try {
1407
+ const raw = localStorage.getItem(name);
1408
+ if (raw !== null) api.setState(devFreeze(JSON.parse(raw)), true);
1409
+ } catch (error) {
1410
+ console.error(`snapshot store '${name}' rehydration failed:`, error);
1411
+ }
1412
+ api.subscribe((state) => {
1413
+ try {
1414
+ localStorage.setItem(name, JSON.stringify(state));
1415
+ } catch (error) {
1416
+ console.error(`snapshot store '${name}' persistence failed:`, error);
1417
+ }
1418
+ });
1419
+ }
1420
+ /** Deep-freeze draftable wholesale-set state outside production: set() bypasses immer's freeze. */
1421
+ function devFreeze(value) {
1422
+ return freeze(value, true);
1423
+ }
1424
+ //#endregion
753
1425
  //#region ../core/src/windows.ts
754
1426
  const DEFAULT_MULTIPLIER = {
755
1427
  peak: 2,
@@ -1108,7 +1780,7 @@ window.__ModuleLoader__.load({
1108
1780
  * (lib/tierClock.ts), so it keeps following the wall clock even if every
1109
1781
  * network path is down.
1110
1782
  */
1111
- const lowtideStore = (0, _deepseek_ai_dsh_client_runtime_client.createSnapshotStore)({
1783
+ const lowtideStore = createSnapshotStore({
1112
1784
  host: null,
1113
1785
  connected: false,
1114
1786
  error: null,
@@ -1496,15 +2168,15 @@ window.__ModuleLoader__.load({
1496
2168
  document.head.appendChild(tag);
1497
2169
  }
1498
2170
  var PriceBand_module_css_default = {
1499
- "bandNow": "EUchIG_bandNow",
1500
2171
  "bandWrap": "EUchIG_bandWrap",
1501
- "bandAxis": "EUchIG_bandAxis",
1502
2172
  "band": "EUchIG_band",
2173
+ "bandCell": "EUchIG_bandCell",
1503
2174
  "bandOff": "EUchIG_bandOff",
1504
- "bandAxisLabel": "EUchIG_bandAxisLabel",
2175
+ "bandNow": "EUchIG_bandNow",
1505
2176
  "bandPeak": "EUchIG_bandPeak",
1506
- "bandCell": "EUchIG_bandCell",
1507
- "bandCustom": "EUchIG_bandCustom"
2177
+ "bandAxis": "EUchIG_bandAxis",
2178
+ "bandCustom": "EUchIG_bandCustom",
2179
+ "bandAxisLabel": "EUchIG_bandAxisLabel"
1508
2180
  };
1509
2181
  //#endregion
1510
2182
  //#region client/components/PriceBand.tsx
@@ -1570,16 +2242,16 @@ window.__ModuleLoader__.load({
1570
2242
  }
1571
2243
  var WindowEditorModal_module_css_default = {
1572
2244
  "footerSpacer": "qLyHCq_footerSpacer",
2245
+ "wide": "qLyHCq_wide",
1573
2246
  "row": "qLyHCq_row",
2247
+ "body": "qLyHCq_body",
2248
+ "error": "qLyHCq_error",
2249
+ "hint": "qLyHCq_hint",
1574
2250
  "dash": "qLyHCq_dash",
1575
2251
  "footer": "qLyHCq_footer",
1576
- "error": "qLyHCq_error",
1577
- "wide": "qLyHCq_wide",
1578
- "body": "qLyHCq_body",
2252
+ "daysBadge": "qLyHCq_daysBadge",
1579
2253
  "tzLine": "qLyHCq_tzLine",
1580
2254
  "input": "qLyHCq_input",
1581
- "daysBadge": "qLyHCq_daysBadge",
1582
- "hint": "qLyHCq_hint",
1583
2255
  "empty": "qLyHCq_empty"
1584
2256
  };
1585
2257
  //#endregion
@@ -1740,6 +2412,7 @@ window.__ModuleLoader__.load({
1740
2412
  open,
1741
2413
  onClose,
1742
2414
  title: t("editor.title"),
2415
+ closeLabel: t("modal.close"),
1743
2416
  className: WindowEditorModal_module_css_default.wide,
1744
2417
  footer: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
1745
2418
  className: WindowEditorModal_module_css_default.footer,
@@ -1865,14 +2538,14 @@ window.__ModuleLoader__.load({
1865
2538
  document.head.appendChild(tag);
1866
2539
  }
1867
2540
  var PricePill_module_css_default = {
1868
- "pillStale": "oHcJEa_pillStale",
1869
- "badge": "oHcJEa_badge",
2541
+ "label": "oHcJEa_label",
2542
+ "pill": "oHcJEa_pill",
1870
2543
  "queueIcon": "oHcJEa_queueIcon",
1871
- "saved": "oHcJEa_saved",
2544
+ "badge": "oHcJEa_badge",
2545
+ "pillStale": "oHcJEa_pillStale",
1872
2546
  "count": "oHcJEa_count",
1873
- "pill": "oHcJEa_pill",
1874
2547
  "dot": "oHcJEa_dot",
1875
- "label": "oHcJEa_label"
2548
+ "saved": "oHcJEa_saved"
1876
2549
  };
1877
2550
  //#endregion
1878
2551
  //#region client/components/PricePill.tsx
@@ -2052,29 +2725,29 @@ window.__ModuleLoader__.load({
2052
2725
  document.head.appendChild(tag);
2053
2726
  }
2054
2727
  var TaskForm_module_css_default = {
2055
- "fieldInput": "kjcGda_fieldInput",
2728
+ "modal": "kjcGda_modal",
2729
+ "compactInput": "kjcGda_compactInput",
2730
+ "strategyActive": "kjcGda_strategyActive",
2731
+ "warning": "kjcGda_warning",
2732
+ "strategyHint": "kjcGda_strategyHint",
2056
2733
  "advancedBtn": "kjcGda_advancedBtn",
2057
- "sessionPickRow": "kjcGda_sessionPickRow",
2058
2734
  "strategyPill": "kjcGda_strategyPill",
2059
- "fieldLabel": "kjcGda_fieldLabel",
2060
- "costTag": "kjcGda_costTag",
2061
- "compactInput": "kjcGda_compactInput",
2735
+ "warningIcon": "kjcGda_warningIcon",
2736
+ "autonomyBtn": "kjcGda_autonomyBtn",
2062
2737
  "field": "kjcGda_field",
2063
- "advancedBody": "kjcGda_advancedBody",
2064
- "compactRow": "kjcGda_compactRow",
2065
- "pillRow": "kjcGda_pillRow",
2066
- "modelFallbackRow": "kjcGda_modelFallbackRow",
2067
- "compactLabel": "kjcGda_compactLabel",
2068
- "modal": "kjcGda_modal",
2738
+ "compact": "kjcGda_compact",
2739
+ "sessionPickRow": "kjcGda_sessionPickRow",
2740
+ "costTag": "kjcGda_costTag",
2069
2741
  "advancedIcon": "kjcGda_advancedIcon",
2070
2742
  "guidanceInput": "kjcGda_guidanceInput",
2071
- "warning": "kjcGda_warning",
2072
- "compact": "kjcGda_compact",
2073
- "autonomyBtn": "kjcGda_autonomyBtn",
2074
- "strategyActive": "kjcGda_strategyActive",
2075
- "prompt": "kjcGda_prompt",
2076
- "strategyHint": "kjcGda_strategyHint",
2077
- "warningIcon": "kjcGda_warningIcon"
2743
+ "pillRow": "kjcGda_pillRow",
2744
+ "compactRow": "kjcGda_compactRow",
2745
+ "compactLabel": "kjcGda_compactLabel",
2746
+ "advancedBody": "kjcGda_advancedBody",
2747
+ "modelFallbackRow": "kjcGda_modelFallbackRow",
2748
+ "fieldInput": "kjcGda_fieldInput",
2749
+ "fieldLabel": "kjcGda_fieldLabel",
2750
+ "prompt": "kjcGda_prompt"
2078
2751
  };
2079
2752
  //#endregion
2080
2753
  //#region client/components/TaskForm.tsx
@@ -2366,6 +3039,7 @@ window.__ModuleLoader__.load({
2366
3039
  open: props.advancedOpen ?? false,
2367
3040
  onClose: () => props.onAdvancedOpenChange?.(false),
2368
3041
  title: t("modal.advancedTitle"),
3042
+ closeLabel: t("modal.close"),
2369
3043
  footer: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
2370
3044
  variant: "primary",
2371
3045
  size: "md",
@@ -2632,17 +3306,17 @@ window.__ModuleLoader__.load({
2632
3306
  document.head.appendChild(tag);
2633
3307
  }
2634
3308
  var InterceptCard_module_css_default = {
2635
- "header": "_9OZWeG_header",
2636
- "close": "_9OZWeG_close",
2637
- "queueStatus": "_9OZWeG_queueStatus",
2638
- "priceLabel": "_9OZWeG_priceLabel",
2639
3309
  "queueIcon": "_9OZWeG_queueIcon",
2640
- "card": "_9OZWeG_card",
3310
+ "close": "_9OZWeG_close",
3311
+ "header": "_9OZWeG_header",
2641
3312
  "title": "_9OZWeG_title",
2642
- "dismiss": "_9OZWeG_dismiss",
3313
+ "priceLabel": "_9OZWeG_priceLabel",
2643
3314
  "row": "_9OZWeG_row",
2644
- "dot": "_9OZWeG_dot",
2645
- "compare": "_9OZWeG_compare"
3315
+ "dismiss": "_9OZWeG_dismiss",
3316
+ "compare": "_9OZWeG_compare",
3317
+ "card": "_9OZWeG_card",
3318
+ "queueStatus": "_9OZWeG_queueStatus",
3319
+ "dot": "_9OZWeG_dot"
2646
3320
  };
2647
3321
  //#endregion
2648
3322
  //#region client/components/InterceptCard.tsx
@@ -2899,18 +3573,18 @@ window.__ModuleLoader__.load({
2899
3573
  document.head.appendChild(tag);
2900
3574
  }
2901
3575
  var TaskRow_module_css_default = {
2902
- "green": "ovX5jq_green",
2903
- "taskMain": "ovX5jq_taskMain",
3576
+ "red": "ovX5jq_red",
2904
3577
  "taskMeta": "ovX5jq_taskMeta",
2905
- "taskRow": "ovX5jq_taskRow",
2906
3578
  "amber": "ovX5jq_amber",
2907
3579
  "blue": "ovX5jq_blue",
2908
- "red": "ovX5jq_red",
2909
- "rowActions": "ovX5jq_rowActions",
2910
- "confirming": "ovX5jq_confirming",
3580
+ "green": "ovX5jq_green",
2911
3581
  "droppedRow": "ovX5jq_droppedRow",
3582
+ "taskRow": "ovX5jq_taskRow",
3583
+ "rowActions": "ovX5jq_rowActions",
2912
3584
  "taskPrompt": "ovX5jq_taskPrompt",
2913
- "iconBtn": "ovX5jq_iconBtn"
3585
+ "iconBtn": "ovX5jq_iconBtn",
3586
+ "confirming": "ovX5jq_confirming",
3587
+ "taskMain": "ovX5jq_taskMain"
2914
3588
  };
2915
3589
  //#endregion
2916
3590
  //#region client/components/TaskRow.tsx
@@ -3094,15 +3768,15 @@ window.__ModuleLoader__.load({
3094
3768
  document.head.appendChild(tag);
3095
3769
  }
3096
3770
  var CandidatesView_module_css_default = {
3097
- "picked": "j6P39W_picked",
3771
+ "title": "j6P39W_title",
3772
+ "excerpt": "j6P39W_excerpt",
3098
3773
  "pickedTag": "j6P39W_pickedTag",
3099
3774
  "meta": "j6P39W_meta",
3100
- "excerpt": "j6P39W_excerpt",
3101
3775
  "head": "j6P39W_head",
3102
- "title": "j6P39W_title",
3776
+ "picked": "j6P39W_picked",
3103
3777
  "wrap": "j6P39W_wrap",
3104
- "candidate": "j6P39W_candidate",
3105
- "toggle": "j6P39W_toggle"
3778
+ "toggle": "j6P39W_toggle",
3779
+ "candidate": "j6P39W_candidate"
3106
3780
  };
3107
3781
  //#endregion
3108
3782
  //#region client/components/CandidatesView.tsx
@@ -3175,21 +3849,21 @@ window.__ModuleLoader__.load({
3175
3849
  document.head.appendChild(tag);
3176
3850
  }
3177
3851
  var TaskDetail_module_css_default = {
3178
- "detailReview": "bhvrsW_detailReview",
3179
- "modalBody": "bhvrsW_modalBody",
3180
- "modalFooter": "bhvrsW_modalFooter",
3181
- "detailSection": "bhvrsW_detailSection",
3852
+ "detailReviewBody": "bhvrsW_detailReviewBody",
3182
3853
  "detailItem": "bhvrsW_detailItem",
3183
- "detailValue": "bhvrsW_detailValue",
3184
- "detailResumeWarn": "bhvrsW_detailResumeWarn",
3185
- "detailLabel": "bhvrsW_detailLabel",
3854
+ "modalBody": "bhvrsW_modalBody",
3186
3855
  "detailError": "bhvrsW_detailError",
3187
- "detailPrompt": "bhvrsW_detailPrompt",
3188
- "detailRun": "bhvrsW_detailRun",
3189
3856
  "detailGrid": "bhvrsW_detailGrid",
3857
+ "detailReview": "bhvrsW_detailReview",
3858
+ "detailFile": "bhvrsW_detailFile",
3859
+ "detailValue": "bhvrsW_detailValue",
3860
+ "detailRun": "bhvrsW_detailRun",
3190
3861
  "detailResumed": "bhvrsW_detailResumed",
3191
- "detailReviewBody": "bhvrsW_detailReviewBody",
3192
- "detailFile": "bhvrsW_detailFile"
3862
+ "detailPrompt": "bhvrsW_detailPrompt",
3863
+ "modalFooter": "bhvrsW_modalFooter",
3864
+ "detailSection": "bhvrsW_detailSection",
3865
+ "detailResumeWarn": "bhvrsW_detailResumeWarn",
3866
+ "detailLabel": "bhvrsW_detailLabel"
3193
3867
  };
3194
3868
  //#endregion
3195
3869
  //#region client/components/TaskDetail.tsx
@@ -3204,6 +3878,7 @@ window.__ModuleLoader__.load({
3204
3878
  open: true,
3205
3879
  onClose,
3206
3880
  title: t("detail.title"),
3881
+ closeLabel: t("detail.close"),
3207
3882
  description: `${statusLabel(t, task.status)} · ${task.id}`,
3208
3883
  footer: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
3209
3884
  className: TaskDetail_module_css_default.modalFooter,
@@ -3423,9 +4098,9 @@ window.__ModuleLoader__.load({
3423
4098
  document.head.appendChild(tag);
3424
4099
  }
3425
4100
  var NewTaskModal_module_css_default = {
3426
- "modalFooter": "QIpxNq_modalFooter",
3427
4101
  "wide": "QIpxNq_wide",
3428
- "modalBody": "QIpxNq_modalBody"
4102
+ "modalBody": "QIpxNq_modalBody",
4103
+ "modalFooter": "QIpxNq_modalFooter"
3429
4104
  };
3430
4105
  //#endregion
3431
4106
  //#region client/components/NewTaskModal.tsx
@@ -3542,6 +4217,7 @@ window.__ModuleLoader__.load({
3542
4217
  open,
3543
4218
  onClose: mainOnClose,
3544
4219
  title: t("modal.title"),
4220
+ closeLabel: t("modal.close"),
3545
4221
  description: t("modal.desc"),
3546
4222
  className: NewTaskModal_module_css_default.wide,
3547
4223
  footer: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
@@ -3679,6 +4355,7 @@ window.__ModuleLoader__.load({
3679
4355
  open: true,
3680
4356
  onClose: mainOnClose,
3681
4357
  title: t("modal.editTitle"),
4358
+ closeLabel: t("modal.close"),
3682
4359
  description: t("modal.editDesc", { id: task.id }),
3683
4360
  className: NewTaskModal_module_css_default.wide,
3684
4361
  footer: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
@@ -3725,27 +4402,27 @@ window.__ModuleLoader__.load({
3725
4402
  document.head.appendChild(tag);
3726
4403
  }
3727
4404
  var QueueDock_module_css_default = {
3728
- "sectionToggle": "_2DjDSq_sectionToggle",
3729
- "empty": "_2DjDSq_empty",
3730
- "footerActions": "_2DjDSq_footerActions",
3731
- "reportDot": "_2DjDSq_reportDot",
3732
- "onboardingDismiss": "_2DjDSq_onboardingDismiss",
3733
- "dock": "_2DjDSq_dock",
3734
- "dockTitle": "_2DjDSq_dockTitle",
3735
- "dockRow": "_2DjDSq_dockRow",
3736
4405
  "clearBtn": "_2DjDSq_clearBtn",
3737
- "drawer": "_2DjDSq_drawer",
4406
+ "approveArmed": "_2DjDSq_approveArmed",
4407
+ "footer": "_2DjDSq_footer",
4408
+ "dockRow": "_2DjDSq_dockRow",
4409
+ "group": "_2DjDSq_group",
4410
+ "clearArmed": "_2DjDSq_clearArmed",
3738
4411
  "groupHeader": "_2DjDSq_groupHeader",
3739
- "onboarding": "_2DjDSq_onboarding",
3740
- "sectionHead": "_2DjDSq_sectionHead",
4412
+ "reportBtn": "_2DjDSq_reportBtn",
4413
+ "drawer": "_2DjDSq_drawer",
4414
+ "footerActions": "_2DjDSq_footerActions",
3741
4415
  "pending": "_2DjDSq_pending",
4416
+ "dock": "_2DjDSq_dock",
3742
4417
  "dockActions": "_2DjDSq_dockActions",
4418
+ "onboardingDismiss": "_2DjDSq_onboardingDismiss",
3743
4419
  "groupPath": "_2DjDSq_groupPath",
3744
- "approveArmed": "_2DjDSq_approveArmed",
3745
- "group": "_2DjDSq_group",
3746
- "clearArmed": "_2DjDSq_clearArmed",
3747
- "footer": "_2DjDSq_footer",
3748
- "reportBtn": "_2DjDSq_reportBtn"
4420
+ "sectionHead": "_2DjDSq_sectionHead",
4421
+ "onboarding": "_2DjDSq_onboarding",
4422
+ "sectionToggle": "_2DjDSq_sectionToggle",
4423
+ "reportDot": "_2DjDSq_reportDot",
4424
+ "dockTitle": "_2DjDSq_dockTitle",
4425
+ "empty": "_2DjDSq_empty"
3749
4426
  };
3750
4427
  //#endregion
3751
4428
  //#region client/components/QueueDock.tsx
@@ -4076,34 +4753,34 @@ window.__ModuleLoader__.load({
4076
4753
  document.head.appendChild(tag);
4077
4754
  }
4078
4755
  var MorningReport_module_css_default = {
4079
- "footer": "x0rCEq_footer",
4080
- "divider": "x0rCEq_divider",
4081
- "taskRow": "x0rCEq_taskRow",
4082
- "doneRow": "x0rCEq_doneRow",
4756
+ "reviewExcerptBody": "x0rCEq_reviewExcerptBody",
4757
+ "headline": "x0rCEq_headline",
4758
+ "headlineValue": "x0rCEq_headlineValue",
4759
+ "taskMain": "x0rCEq_taskMain",
4760
+ "historyMeta": "x0rCEq_historyMeta",
4761
+ "historyDate": "x0rCEq_historyDate",
4083
4762
  "historyList": "x0rCEq_historyList",
4084
- "historyRowWrap": "x0rCEq_historyRowWrap",
4763
+ "taskRow": "x0rCEq_taskRow",
4764
+ "badRow": "x0rCEq_badRow",
4765
+ "more": "x0rCEq_more",
4766
+ "reviewExcerpt": "x0rCEq_reviewExcerpt",
4767
+ "historyFooter": "x0rCEq_historyFooter",
4085
4768
  "clearBtn": "x0rCEq_clearBtn",
4769
+ "headlineMeta": "x0rCEq_headlineMeta",
4086
4770
  "clearArmed": "x0rCEq_clearArmed",
4087
- "historyRow": "x0rCEq_historyRow",
4088
- "historyMeta": "x0rCEq_historyMeta",
4089
- "historyFooter": "x0rCEq_historyFooter",
4090
4771
  "body": "x0rCEq_body",
4091
- "headlineMeta": "x0rCEq_headlineMeta",
4092
- "badRow": "x0rCEq_badRow",
4093
- "taskMain": "x0rCEq_taskMain",
4094
- "taskPrompt": "x0rCEq_taskPrompt",
4772
+ "divider": "x0rCEq_divider",
4773
+ "historyRowWrap": "x0rCEq_historyRowWrap",
4774
+ "historyDelete": "x0rCEq_historyDelete",
4775
+ "taskMeta": "x0rCEq_taskMeta",
4776
+ "historyEmpty": "x0rCEq_historyEmpty",
4095
4777
  "headlineLabel": "x0rCEq_headlineLabel",
4778
+ "taskPrompt": "x0rCEq_taskPrompt",
4779
+ "footer": "x0rCEq_footer",
4096
4780
  "historyHeader": "x0rCEq_historyHeader",
4097
- "historyEmpty": "x0rCEq_historyEmpty",
4098
- "historyDate": "x0rCEq_historyDate",
4099
- "taskMeta": "x0rCEq_taskMeta",
4100
- "reviewExcerpt": "x0rCEq_reviewExcerpt",
4101
- "reviewExcerptBody": "x0rCEq_reviewExcerptBody",
4102
- "historyDelete": "x0rCEq_historyDelete",
4103
- "headlineValue": "x0rCEq_headlineValue",
4104
- "headline": "x0rCEq_headline",
4105
4781
  "modalFooter": "x0rCEq_modalFooter",
4106
- "more": "x0rCEq_more"
4782
+ "doneRow": "x0rCEq_doneRow",
4783
+ "historyRow": "x0rCEq_historyRow"
4107
4784
  };
4108
4785
  //#endregion
4109
4786
  //#region client/components/MorningReport.tsx
@@ -4308,6 +4985,7 @@ window.__ModuleLoader__.load({
4308
4985
  open: true,
4309
4986
  onClose: close,
4310
4987
  title: t("report.history"),
4988
+ closeLabel: t("report.close"),
4311
4989
  description: t("report.historyDesc", { count: history.length }),
4312
4990
  footer: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
4313
4991
  className: MorningReport_module_css_default.modalFooter,
@@ -4391,6 +5069,7 @@ window.__ModuleLoader__.load({
4391
5069
  open: true,
4392
5070
  onClose: close,
4393
5071
  title: t("report.title", { date: reportDateLabel(current.date) }),
5072
+ closeLabel: t("report.close"),
4394
5073
  description: current.summary,
4395
5074
  footer: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
4396
5075
  className: MorningReport_module_css_default.modalFooter,
@@ -4435,19 +5114,19 @@ window.__ModuleLoader__.load({
4435
5114
  document.head.appendChild(tag);
4436
5115
  }
4437
5116
  var ConfirmGate_module_css_default = {
4438
- "remove": "se0mvq_remove",
4439
- "list": "se0mvq_list",
4440
5117
  "prompt": "se0mvq_prompt",
4441
- "close": "se0mvq_close",
4442
- "row": "se0mvq_row",
4443
- "card": "se0mvq_card",
4444
- "meta": "se0mvq_meta",
5118
+ "list": "se0mvq_list",
4445
5119
  "more": "se0mvq_more",
5120
+ "remove": "se0mvq_remove",
4446
5121
  "footer": "se0mvq_footer",
4447
- "releaseLabel": "se0mvq_releaseLabel",
4448
- "title": "se0mvq_title",
5122
+ "card": "se0mvq_card",
4449
5123
  "defer": "se0mvq_defer",
4450
- "header": "se0mvq_header"
5124
+ "title": "se0mvq_title",
5125
+ "header": "se0mvq_header",
5126
+ "meta": "se0mvq_meta",
5127
+ "row": "se0mvq_row",
5128
+ "close": "se0mvq_close",
5129
+ "releaseLabel": "se0mvq_releaseLabel"
4451
5130
  };
4452
5131
  //#endregion
4453
5132
  //#region client/components/ConfirmGate.tsx
@@ -4598,52 +5277,52 @@ window.__ModuleLoader__.load({
4598
5277
  document.head.appendChild(tag);
4599
5278
  }
4600
5279
  var settings_module_css_default = {
4601
- "strategyHint": "_9UODyG_strategyHint",
4602
- "hint": "_9UODyG_hint",
4603
- "confirmBox": "_9UODyG_confirmBox",
4604
- "noWindows": "_9UODyG_noWindows",
4605
5280
  "officialActions": "_9UODyG_officialActions",
4606
- "legendDot": "_9UODyG_legendDot",
4607
- "legend": "_9UODyG_legend",
4608
- "sectionTitle": "_9UODyG_sectionTitle",
4609
- "loading": "_9UODyG_loading",
4610
- "footer": "_9UODyG_footer",
4611
- "officialTitle": "_9UODyG_officialTitle",
4612
- "onboardingSteps": "_9UODyG_onboardingSteps",
4613
- "langLabel": "_9UODyG_langLabel",
5281
+ "legendItem": "_9UODyG_legendItem",
5282
+ "priceTable": "_9UODyG_priceTable",
5283
+ "priceModel": "_9UODyG_priceModel",
5284
+ "page": "_9UODyG_page",
5285
+ "noWindows": "_9UODyG_noWindows",
4614
5286
  "autonomyActive": "_9UODyG_autonomyActive",
4615
- "bandPeak": "_9UODyG_bandPeak",
5287
+ "officialCard": "_9UODyG_officialCard",
5288
+ "onboardingTitle": "_9UODyG_onboardingTitle",
5289
+ "dayActive": "_9UODyG_dayActive",
5290
+ "footerLeft": "_9UODyG_footerLeft",
5291
+ "bandCustom": "_9UODyG_bandCustom",
5292
+ "fieldLabel": "_9UODyG_fieldLabel",
5293
+ "hint": "_9UODyG_hint",
5294
+ "dayRow": "_9UODyG_dayRow",
5295
+ "onboarding": "_9UODyG_onboarding",
5296
+ "sectionTitle": "_9UODyG_sectionTitle",
4616
5297
  "input": "_9UODyG_input",
4617
- "error": "_9UODyG_error",
4618
- "officialBody": "_9UODyG_officialBody",
4619
- "dayBtn": "_9UODyG_dayBtn",
5298
+ "confirmCancel": "_9UODyG_confirmCancel",
5299
+ "confirmBox": "_9UODyG_confirmBox",
5300
+ "officialTitle": "_9UODyG_officialTitle",
4620
5301
  "priceHead": "_9UODyG_priceHead",
4621
- "confirmBtn": "_9UODyG_confirmBtn",
4622
- "windowRow": "_9UODyG_windowRow",
4623
- "fieldLabel": "_9UODyG_fieldLabel",
4624
- "priceTable": "_9UODyG_priceTable",
4625
- "onboardingTitle": "_9UODyG_onboardingTitle",
4626
5302
  "priceRow": "_9UODyG_priceRow",
4627
- "confirmCancel": "_9UODyG_confirmCancel",
4628
- "section": "_9UODyG_section",
4629
- "sectionHead": "_9UODyG_sectionHead",
4630
- "field": "_9UODyG_field",
4631
- "onboarding": "_9UODyG_onboarding",
4632
5303
  "pillRow": "_9UODyG_pillRow",
4633
- "dayRow": "_9UODyG_dayRow",
4634
- "dayActive": "_9UODyG_dayActive",
4635
- "officialCard": "_9UODyG_officialCard",
4636
- "footerLeft": "_9UODyG_footerLeft",
4637
- "grid": "_9UODyG_grid",
5304
+ "legendDot": "_9UODyG_legendDot",
5305
+ "sectionHead": "_9UODyG_sectionHead",
4638
5306
  "checkbox": "_9UODyG_checkbox",
4639
- "bandCustom": "_9UODyG_bandCustom",
4640
- "legendItem": "_9UODyG_legendItem",
4641
5307
  "bandOff": "_9UODyG_bandOff",
5308
+ "officialBody": "_9UODyG_officialBody",
5309
+ "legend": "_9UODyG_legend",
4642
5310
  "langRow": "_9UODyG_langRow",
5311
+ "strategyHint": "_9UODyG_strategyHint",
5312
+ "langLabel": "_9UODyG_langLabel",
5313
+ "field": "_9UODyG_field",
5314
+ "loading": "_9UODyG_loading",
5315
+ "error": "_9UODyG_error",
4643
5316
  "priceTier": "_9UODyG_priceTier",
4644
- "page": "_9UODyG_page",
4645
- "priceModel": "_9UODyG_priceModel",
4646
- "autonomyPill": "_9UODyG_autonomyPill"
5317
+ "footer": "_9UODyG_footer",
5318
+ "grid": "_9UODyG_grid",
5319
+ "confirmBtn": "_9UODyG_confirmBtn",
5320
+ "bandPeak": "_9UODyG_bandPeak",
5321
+ "onboardingSteps": "_9UODyG_onboardingSteps",
5322
+ "windowRow": "_9UODyG_windowRow",
5323
+ "dayBtn": "_9UODyG_dayBtn",
5324
+ "autonomyPill": "_9UODyG_autonomyPill",
5325
+ "section": "_9UODyG_section"
4647
5326
  };
4648
5327
  //#endregion
4649
5328
  //#region client/settings.tsx