asai-vue-host 0.0.11 → 0.0.12

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.
@@ -1,4 +1,4 @@
1
- import { computed as X, inject as We, reactive as me, provide as ft, defineComponent as A, createBlock as Y, openBlock as f, resolveDynamicComponent as pe, unref as i, resolveComponent as E, createElementBlock as m, normalizeClass as J, createVNode as W, onBeforeUnmount as we, Fragment as I, createElementVNode as c, renderList as Q, toDisplayString as g, createCommentVNode as R, renderSlot as D, onUnmounted as _e, onMounted as he, withCtx as le, withModifiers as q, withDirectives as G, vModelText as ce, vModelSelect as be, createTextVNode as ae, ref as V, nextTick as ge, watch as Oe, withKeys as mt, resolveDirective as ve, createStaticVNode as He, useCssVars as je, normalizeStyle as Z, defineAsyncComponent as ke, vShow as Le, Teleport as Ce, shallowReactive as ht, onUpdated as gt, vModelDynamic as vt, KeepAlive as yt, createSlots as bt } from "vue";
1
+ import { computed as X, inject as We, reactive as me, provide as ft, defineComponent as A, createBlock as Y, openBlock as f, resolveDynamicComponent as pe, unref as i, resolveComponent as E, createElementBlock as m, normalizeClass as J, createVNode as W, onBeforeUnmount as we, Fragment as I, createElementVNode as u, renderList as Q, toDisplayString as g, createCommentVNode as R, renderSlot as D, onUnmounted as _e, onMounted as he, withCtx as le, withModifiers as q, withDirectives as G, vModelText as ce, vModelSelect as be, createTextVNode as ae, ref as V, nextTick as ge, watch as Oe, withKeys as mt, resolveDirective as ve, createStaticVNode as He, useCssVars as je, normalizeStyle as Z, defineAsyncComponent as ke, vShow as Le, Teleport as Ce, shallowReactive as ht, onUpdated as gt, vModelDynamic as vt, KeepAlive as yt, createSlots as bt } from "vue";
2
2
  const qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
3
  __proto__: null,
4
4
  get default() {
@@ -49,17 +49,17 @@ function Se(t, e) {
49
49
  b(), cancelAnimationFrame(e.timeout), e.timeout = null;
50
50
  }));
51
51
  }
52
- function u() {
52
+ function c() {
53
53
  return "ontouchstart" in window || navigator.maxTouchPoints;
54
54
  }
55
55
  function p(b) {
56
- u() && e.touchstat !== 1 && (b.addEventListener("touchstart", _, !0), e.touchstat = 1);
56
+ c() && e.touchstat !== 1 && (b.addEventListener("touchstart", _, !0), e.touchstat = 1);
57
57
  }
58
58
  function h(b) {
59
- u() && e.touchstat !== 2 && (b.addEventListener("touchmove", l), a(b), e.touchstat = 2);
59
+ c() && e.touchstat !== 2 && (b.addEventListener("touchmove", l), a(b), e.touchstat = 2);
60
60
  }
61
61
  function v(b) {
62
- u() && e.touchstat !== 3 && (b.removeEventListener("touchmove", l), s(b), e.touchstat = 3);
62
+ c() && e.touchstat !== 3 && (b.removeEventListener("touchmove", l), s(b), e.touchstat = 3);
63
63
  }
64
64
  function _(b) {
65
65
  document.body.addEventListener("touchmove", $), document.body.addEventListener("touchend", y), e.dragttm = Date.now();
@@ -72,7 +72,7 @@ function Se(t, e) {
72
72
  }
73
73
  return {
74
74
  eStop: l,
75
- canTouch: u,
75
+ canTouch: c,
76
76
  eStopTouch: r,
77
77
  setTouchNone: a,
78
78
  setTouchAuto: s,
@@ -89,7 +89,7 @@ const fe = {}, kt = {
89
89
  e.value
90
90
  );
91
91
  o(t);
92
- let l = !1, r = 0, d = 0, u = 0, p = 0;
92
+ let l = !1, r = 0, d = 0, c = 0, p = 0;
93
93
  typeof e.value.domarea == "string" ? fe.dragAreaDom = document.getElementById(e.value.domarea) : fe.dragAreaDom = t;
94
94
  const h = ($) => {
95
95
  console.log("handleDown", fe, $), a(t), l = !0;
@@ -98,9 +98,9 @@ const fe = {}, kt = {
98
98
  }, v = ($) => {
99
99
  n(() => {
100
100
  if (l) {
101
- u = $.clientX - r, p = $.clientY - d;
101
+ c = $.clientX - r, p = $.clientY - d;
102
102
  const y = window.innerWidth - fe.dragAreaDom.offsetWidth, b = window.innerHeight - fe.dragAreaDom.offsetHeight;
103
- u = Math.max(0, Math.min(u, y)), p = Math.max(0, Math.min(p, b)), fe.dragAreaDom.style.transform = `translate(${u}px, ${p}px)`;
103
+ c = Math.max(0, Math.min(c, y)), p = Math.max(0, Math.min(p, b)), fe.dragAreaDom.style.transform = `translate(${c}px, ${p}px)`;
104
104
  }
105
105
  });
106
106
  }, _ = () => {
@@ -124,7 +124,7 @@ const fe = {}, kt = {
124
124
  e.value
125
125
  );
126
126
  o(t);
127
- let l = !1, r = { x: 0, y: 0 }, d = { x: 0, y: 0 }, u = null, p = 1;
127
+ let l = !1, r = { x: 0, y: 0 }, d = { x: 0, y: 0 }, c = null, p = 1;
128
128
  const h = (e.value?.dom ? document.getElementById(e.value.dom) : "") || t, v = (e.value?.domarea ? document.getElementById(e.value.domarea) : "") || h, _ = (e.value?.dommask ? document.getElementById(e.value.dommask) : "") || (e.value?.ujt?.$global?.sys?.zoomid ? document.getElementById(e.value.ujt.$global.sys.zoomid) : "") || document.getElementById("asaizoomarea") || document.body, $ = () => _ && (e.value?.scale || e.value?.ujt?.$global?.scale) || 1, y = (S) => {
129
129
  if (!_) return;
130
130
  if (a(t), S.preventDefault(), p = $(), e.value?.pos)
@@ -143,17 +143,17 @@ const fe = {}, kt = {
143
143
  y: 0
144
144
  };
145
145
  }
146
- l = !0, u = _.getBoundingClientRect();
146
+ l = !0, c = _.getBoundingClientRect();
147
147
  let L, w;
148
148
  L = S.clientX, w = S.clientY, r = {
149
- x: (L - u.left) / p - d.x,
150
- y: (w - u.top) / p - d.y
149
+ x: (L - c.left) / p - d.x,
150
+ y: (w - c.top) / p - d.y
151
151
  }, h.setPointerCapture(S.pointerId), document.addEventListener("pointermove", b), document.addEventListener("pointerup", k), document.addEventListener("pointercancel", k);
152
152
  }, b = (S) => {
153
- if (!l || !u) return;
153
+ if (!l || !c) return;
154
154
  let L, w;
155
155
  L = S.clientX, w = S.clientY, p = $();
156
- const j = (L - u.left) / p - r.x, x = (w - u.top) / p - r.y, C = _.offsetWidth - v.offsetWidth, M = _.offsetHeight - v.offsetHeight;
156
+ const j = (L - c.left) / p - r.x, x = (w - c.top) / p - r.y, C = _.offsetWidth - v.offsetWidth, M = _.offsetHeight - v.offsetHeight;
157
157
  n(() => {
158
158
  e.value.pos ? (e.value.pos.x = +Math.max(
159
159
  0,
@@ -173,7 +173,7 @@ const fe = {}, kt = {
173
173
  s(t), S instanceof PointerEvent && h.hasPointerCapture(S.pointerId) && (l = !1, h.releasePointerCapture(S.pointerId)), document.removeEventListener("pointermove", b), document.removeEventListener("pointerup", k), document.removeEventListener("pointercancel", k);
174
174
  };
175
175
  h.addEventListener("pointerdown", y);
176
- const O = () => u = null;
176
+ const O = () => c = null;
177
177
  window.addEventListener("resize", O), Me.unmounted = () => {
178
178
  h.removeEventListener("pointerdown", y), window.removeEventListener("resize", O);
179
179
  };
@@ -222,7 +222,7 @@ const Pt = {
222
222
  }, r = function(p, h) {
223
223
  return h?.find((v) => p.target?.closest(v));
224
224
  }, d = function(p) {
225
- if (n.keyboard.params?.ot?.fnnumcb?.(), n.keyboard.params?.ot?.fndscb?.(), a(), e.value?.auto && (n.keyboard.areastyle.x = p.clientX, n.keyboard.areastyle.y = p.clientY), n.keyboard.params.ot = {}, !l(
225
+ if (n.keyboard.params?.ot?.fnnumcb?.(), n.keyboard.params?.ot?.fndscb?.(), a(), e.value?.auto && (n.keyboard.areastyle.x = p.clientX + (e.value?.auto?.x || 0), n.keyboard.areastyle.y = p.clientY + (e.value?.auto?.y || 0)), n.keyboard.params.ot = {}, !l(
226
226
  p,
227
227
  o.data.sys.keyboard.showkeyboard?.nokeytypes
228
228
  )) if (p.target?.closest(".portaskeyboard"))
@@ -249,7 +249,7 @@ const Pt = {
249
249
  re.keyboardDom.type = "number";
250
250
  };
251
251
  } else {
252
- const h = r(p, u);
252
+ const h = r(p, c);
253
253
  h ? n.keyboard.showkeyboard = h : n.keyboard.showkeyboard = ".askey-default";
254
254
  }
255
255
  e.value?.style && (n.keyboard.params.ot.style = e.value.style), Object.assign(n.keyboard.params, {
@@ -259,7 +259,7 @@ const Pt = {
259
259
  } else
260
260
  n.keyboard.params = {}, n.keyboard.showkeyboard = "";
261
261
  };
262
- const u = Object.keys(
262
+ const c = Object.keys(
263
263
  o.data.sys.keyboard.showkeyboard?.askeytypes || {}
264
264
  );
265
265
  a(), t.addEventListener("pointerdown", d), re.unmounted = () => {
@@ -288,9 +288,9 @@ const Pt = {
288
288
  );
289
289
  n(t);
290
290
  const s = e.value.long ? 1e3 : 500;
291
- let l = null, r = !1, d = 0, u = 0;
291
+ let l = null, r = !1, d = 0, c = 0;
292
292
  const p = 10, h = (y) => {
293
- o(t), e.value.prevent && y.preventDefault(), r = !0, y?.touches?.[0] ? (d = y.touches[0].clientX, u = y.touches[0].clientY) : (d = y.clientX, u = y.clientY), e.value.press && e.value.press(y), l = window.setTimeout(() => {
293
+ o(t), e.value.prevent && y.preventDefault(), r = !0, y?.touches?.[0] ? (d = y.touches[0].clientX, c = y.touches[0].clientY) : (d = y.clientX, c = y.clientY), e.value.press && e.value.press(y), l = window.setTimeout(() => {
294
294
  r && e.value.hold && e.value.hold(y);
295
295
  }, s);
296
296
  }, v = (y) => {
@@ -302,7 +302,7 @@ const Pt = {
302
302
  if (!r) return;
303
303
  let b = 0, k = 0;
304
304
  y?.touches?.[0] ? (b = y.touches[0].clientX, k = y.touches[0].clientY) : (b = y.clientX, k = y.clientY);
305
- const O = Math.abs(b - d), S = Math.abs(k - u);
305
+ const O = Math.abs(b - d), S = Math.abs(k - c);
306
306
  (O > p || S > p) && (l !== null && (clearTimeout(l), l = null), r = !1);
307
307
  }
308
308
  };
@@ -323,7 +323,7 @@ const Pt = {
323
323
  );
324
324
  o(t);
325
325
  const { ujt: l, size: r, scale: d } = e.value;
326
- let u = { x: 0, y: 0 }, p;
326
+ let c = { x: 0, y: 0 }, p;
327
327
  const h = {
328
328
  width: l?.$global?.sys?.zoomwidth || 1920,
329
329
  height: l?.$global?.sys?.zoomheight || 1200
@@ -336,13 +336,13 @@ const Pt = {
336
336
  const U = window.getComputedStyle(t).transform?.split(", ");
337
337
  if (U && U.length > 2) {
338
338
  const H = U.pop().slice(0, -1), B = U.pop();
339
- u = {
339
+ c = {
340
340
  x: parseFloat(B),
341
341
  y: parseFloat(H)
342
342
  };
343
343
  } else
344
- u = { x: 0, y: 0 };
345
- t.style.transform = `translate(${u.x}px,${u.y}px)`, C instanceof PointerEvent && t.setPointerCapture(C.pointerId), document.addEventListener(
344
+ c = { x: 0, y: 0 };
345
+ t.style.transform = `translate(${c.x}px,${c.y}px)`, C instanceof PointerEvent && t.setPointerCapture(C.pointerId), document.addEventListener(
346
346
  "pointermove",
347
347
  w
348
348
  ), document.addEventListener("pointerup", j), document.addEventListener(
@@ -354,10 +354,10 @@ const Pt = {
354
354
  const { clientX: M, clientY: z } = S(C), P = (M - window.scrollX - $) / p, U = (z - window.scrollY - y) / p;
355
355
  O.w = Math.min(
356
356
  Math.max(88, b + P),
357
- h.width - u.x
357
+ h.width - c.x
358
358
  ), O.h = Math.min(
359
359
  Math.max(58, k + U),
360
- h.height - u.y
360
+ h.height - c.y
361
361
  ), t.style.width = O.w + "px", t.style.height = O.h + "px";
362
362
  });
363
363
  }, j = (C) => {
@@ -396,12 +396,12 @@ const Pt = {
396
396
  e.value
397
397
  );
398
398
  o(t);
399
- const { ujt: l, scale: r, id: d, type: u, cut: p, min: h } = e.value, v = () => r || l?.$global?.scale || 1, _ = {
399
+ const { ujt: l, scale: r, id: d, type: c, cut: p, min: h } = e.value, v = () => r || l?.$global?.scale || 1, _ = {
400
400
  width: l?.$global?.sys?.zoomwidth || 1920,
401
401
  height: l?.$global?.sys?.zoomheight || 1200
402
402
  };
403
403
  let $ = p || 0;
404
- u ? _.height = _.height - $ : _.width = _.width - $;
404
+ c ? _.height = _.height - $ : _.width = _.width - $;
405
405
  function y() {
406
406
  return typeof h == "function" ? h() : typeof h?.value == "number" ? h?.value : typeof h == "number" ? h : 100;
407
407
  }
@@ -411,10 +411,10 @@ const Pt = {
411
411
  console.error(`未找到 ID 为 ${d} 的元素`);
412
412
  return;
413
413
  }
414
- a(t), P.preventDefault(), k = v(), O = !0, u ? (w = P.clientY, j = b.offsetHeight) : (S = P.clientX, L = b.offsetWidth), document.addEventListener("pointermove", C), document.addEventListener("pointerup", M);
414
+ a(t), P.preventDefault(), k = v(), O = !0, c ? (w = P.clientY, j = b.offsetHeight) : (S = P.clientX, L = b.offsetWidth), document.addEventListener("pointermove", C), document.addEventListener("pointerup", M);
415
415
  }, C = (P) => {
416
416
  O && n(() => {
417
- if (u) {
417
+ if (c) {
418
418
  const U = (w - P.clientY) / k, H = Math.max(y(), j + U);
419
419
  b.style.height = Math.min(H, _.height) + "px", b.style.minHeight = Math.min(H, _.height) + "px";
420
420
  } else {
@@ -801,11 +801,11 @@ const Pt = {
801
801
  let a = "";
802
802
  for (let s = 0; s < n; s++) {
803
803
  const l = Math.round(Math.random() * 1e3) % o, r = Number(l.toString().slice(-1)) + 1, d = o - r;
804
- let u = t.codePointAt(s);
805
- const p = u % d;
806
- u = (u - p) / d;
807
- const h = u % d;
808
- u = (u - h) / d, a += e[u % d + r] + e[h + r] + e[p + r] + e.charAt(l);
804
+ let c = t.codePointAt(s);
805
+ const p = c % d;
806
+ c = (c - p) / d;
807
+ const h = c % d;
808
+ c = (c - h) / d, a += e[c % d + r] + e[h + r] + e[p + r] + e.charAt(l);
809
809
  }
810
810
  return a;
811
811
  },
@@ -977,7 +977,7 @@ const Pt = {
977
977
  function d() {
978
978
  return Object.keys(n[t.opt.channel].rfdata.rule);
979
979
  }
980
- function u() {
980
+ function c() {
981
981
  return n[t.opt.channel].cfg.map.sn || "sn";
982
982
  }
983
983
  function p() {
@@ -1095,7 +1095,7 @@ const Pt = {
1095
1095
  {
1096
1096
  ...w(),
1097
1097
  svty: F,
1098
- fd: t?.opt?.fd || u() + "-" + _(),
1098
+ fd: t?.opt?.fd || c() + "-" + _(),
1099
1099
  ps: n[t.opt.channel].cmPageSize,
1100
1100
  ...o.location?.query
1101
1101
  },
@@ -1108,7 +1108,7 @@ const Pt = {
1108
1108
  T || b(
1109
1109
  {
1110
1110
  ...w(),
1111
- fd: u(),
1111
+ fd: c(),
1112
1112
  ...o.location?.query,
1113
1113
  sx: "",
1114
1114
  sxty: "",
@@ -1146,11 +1146,11 @@ const Pt = {
1146
1146
  function ue(T, F = 0) {
1147
1147
  t.opt.tyhash && te("show", F), e.setquery(
1148
1148
  {
1149
- show: T[u()],
1149
+ show: T[c()],
1150
1150
  showty: ""
1151
1151
  },
1152
1152
  1
1153
- ), C(T[u()]);
1153
+ ), C(T[c()]);
1154
1154
  }
1155
1155
  function Ae() {
1156
1156
  !o.location.query.ssty && o.location.query.ss && (o.location.query.ssty = n[t.opt.channel]?.cfg.sss?.[1]), e.setquery({ pg: 1 }, 1), n[t.opt.channel].fetch(0);
@@ -1159,7 +1159,7 @@ const Pt = {
1159
1159
  if (Ue()) {
1160
1160
  const K = F || n[t.opt.channel].rfdata.data;
1161
1161
  $(
1162
- "/insert/" + K[u()] + j(),
1162
+ "/insert/" + K[c()] + j(),
1163
1163
  K,
1164
1164
  n[t.opt.channel].cfg?.api?.opt || {}
1165
1165
  ).then((se) => {
@@ -1199,7 +1199,7 @@ const Pt = {
1199
1199
  if (Ue()) {
1200
1200
  const K = F || n[t.opt.channel].rfdata.data;
1201
1201
  $(
1202
- "/update/" + K[u()] + "/" + j(),
1202
+ "/update/" + K[c()] + "/" + j(),
1203
1203
  K,
1204
1204
  n[t.opt.channel].cfg?.api?.opt || {}
1205
1205
  ).then((se) => {
@@ -1264,15 +1264,15 @@ const Pt = {
1264
1264
  const Ie = ye[xe];
1265
1265
  xe === 0 ? (K = Ie.split(a.data.asai.rulebook.bksn)[1].split(a.data.asai.rulebook.bkty)[0], await b({
1266
1266
  ...w(),
1267
- field: u(),
1268
- fd: u(),
1267
+ field: c(),
1268
+ fd: c(),
1269
1269
  ps: 9999999,
1270
1270
  fl: K
1271
1271
  }).then((De) => {
1272
1272
  const Re = De?.data?.data || De?.data;
1273
1273
  if (Array.isArray(Re)) {
1274
1274
  const dt = Re.map(
1275
- (pt) => pt[u()]
1275
+ (pt) => pt[c()]
1276
1276
  );
1277
1277
  se.push(...dt || []);
1278
1278
  }
@@ -1286,7 +1286,7 @@ const Pt = {
1286
1286
  a.data.asai.rulebook.bkds
1287
1287
  ), F(ee, 4, oe[0]), oe = oe[1].split(
1288
1288
  a.data.asai.rulebook.bkco
1289
- ), F(ee, 5, oe[0]), F(ee, 6, oe[1]), se.includes(ee[u()]) ? n[t.opt.channel].cfg?.imex?.type == 1 && await $(
1289
+ ), F(ee, 5, oe[0]), F(ee, 6, oe[1]), se.includes(ee[c()]) ? n[t.opt.channel].cfg?.imex?.type == 1 && await $(
1290
1290
  "/update/" + ee[n[t.opt.channel].cfg.imex.keys[1]] + j(),
1291
1291
  ee
1292
1292
  ) : await $(
@@ -1302,16 +1302,16 @@ const Pt = {
1302
1302
  return new Promise((K, se) => {
1303
1303
  const ee = T || n[t.opt.channel].rfdata.data;
1304
1304
  y(
1305
- "/select/" + ee[u()] + "/",
1305
+ "/select/" + ee[c()] + "/",
1306
1306
  w(),
1307
1307
  n[t.opt.channel].cfg?.api?.opt || {}
1308
1308
  ).then((oe) => {
1309
- oe.data?.[0]?.[u()] === ee[u()] && oe.data?.[0]?.[p()] === ee[p()] ? (F?.go && n[t.opt.channel].cfg?.url?.login && e.AsRouter.setHref(
1309
+ oe.data?.[0]?.[c()] === ee[c()] && oe.data?.[0]?.[p()] === ee[p()] ? (F?.go && n[t.opt.channel].cfg?.url?.login && e.AsRouter.setHref(
1310
1310
  n[t.opt.channel].cfg?.url?.login
1311
1311
  ), K(oe)) : (!F?.nomsg && o.msg.fn({
1312
1312
  type: "err",
1313
- con: e.lg("asai.faillogin", ee[u()])
1314
- }), se(e.lg("asai.faillogin", ee[u()])));
1313
+ con: e.lg("asai.faillogin", ee[c()])
1314
+ }), se(e.lg("asai.faillogin", ee[c()])));
1315
1315
  });
1316
1316
  });
1317
1317
  }
@@ -1319,15 +1319,15 @@ const Pt = {
1319
1319
  return new Promise((K, se) => {
1320
1320
  const ee = T || n[t.opt.channel].rfdata.data;
1321
1321
  y(
1322
- "/select/" + ee[u()] + "/",
1323
- { ...w(), field: u() },
1322
+ "/select/" + ee[c()] + "/",
1323
+ { ...w(), field: c() },
1324
1324
  n[t.opt.channel].cfg?.api?.opt || {}
1325
1325
  ).then((oe) => {
1326
- oe.data?.[0]?.[u()] ? (!F?.nomsg && o.msg.fn({
1326
+ oe.data?.[0]?.[c()] ? (!F?.nomsg && o.msg.fn({
1327
1327
  type: "err",
1328
- con: e.lg("asai.checkhas", ee[u()])
1329
- }), se(e.lg("asai.checkhas", ee[u()]))) : $(
1330
- "/insert/" + ee[u()] + j(),
1328
+ con: e.lg("asai.checkhas", ee[c()])
1329
+ }), se(e.lg("asai.checkhas", ee[c()]))) : $(
1330
+ "/insert/" + ee[c()] + j(),
1331
1331
  ee,
1332
1332
  n[t.opt.channel].cfg?.api?.opt || {}
1333
1333
  ).then((de) => {
@@ -1359,7 +1359,7 @@ const Pt = {
1359
1359
  channelDownload: it,
1360
1360
  channelUpload: rt,
1361
1361
  getChannelKeys: d,
1362
- getSnKey: u,
1362
+ getSnKey: c,
1363
1363
  getPwKey: p,
1364
1364
  getClassKey: h,
1365
1365
  getTitleKey: _,
@@ -1376,8 +1376,8 @@ const Pt = {
1376
1376
  function o(d) {
1377
1377
  return e.ws[d] == null ? (e.useWs(t.ujt, d), e.ws[d].init()) : Promise.resolve();
1378
1378
  }
1379
- function a(d, u, p = null) {
1380
- return n.rooms[d] == null ? (n.rooms[d] = [], e.ws[u].wsWatch(
1379
+ function a(d, c, p = null) {
1380
+ return n.rooms[d] == null ? (n.rooms[d] = [], e.ws[c].wsWatch(
1381
1381
  {
1382
1382
  ty: "chat/web" + d + "broadcast"
1383
1383
  },
@@ -1386,24 +1386,24 @@ const Pt = {
1386
1386
  }
1387
1387
  ), !0) : !1;
1388
1388
  }
1389
- function s(d, u, p = null) {
1390
- o(u).then(() => {
1389
+ function s(d, c, p = null) {
1390
+ o(c).then(() => {
1391
1391
  Array.isArray(d) ? d.forEach((h) => {
1392
- a(h, u, p);
1393
- }) : typeof d == "string" && a(d, u, p);
1392
+ a(h, c, p);
1393
+ }) : typeof d == "string" && a(d, c, p);
1394
1394
  });
1395
1395
  }
1396
- function l(d, u) {
1396
+ function l(d, c) {
1397
1397
  Array.isArray(d) ? d.forEach((p) => {
1398
- e.ws[u].wsWatchOff({
1398
+ e.ws[c].wsWatchOff({
1399
1399
  ty: "chat/web" + p + "broadcast"
1400
1400
  });
1401
- }) : typeof d == "string" && e.ws[u].wsWatchOff({
1401
+ }) : typeof d == "string" && e.ws[c].wsWatchOff({
1402
1402
  ty: "chat/web" + d + "broadcast"
1403
1403
  });
1404
1404
  }
1405
- function r(d, u, p, h = "") {
1406
- return p.msg ? e.ws[u].wsApi({
1405
+ function r(d, c, p, h = "") {
1406
+ return p.msg ? e.ws[c].wsApi({
1407
1407
  ty: "chat/web" + d + "send",
1408
1408
  db: p
1409
1409
  }).then(() => {
@@ -1424,13 +1424,13 @@ const Pt = {
1424
1424
  mediaFn: null,
1425
1425
  mediaView: null
1426
1426
  }, n = 0) => {
1427
- function o(u) {
1427
+ function o(c) {
1428
1428
  return new Promise((p, h) => {
1429
1429
  const v = new FileReader();
1430
1430
  v.onload = () => {
1431
1431
  p(v.result);
1432
1432
  }, v.onerror = h, v.readAsDataURL(
1433
- new Blob(u, {
1433
+ new Blob(c, {
1434
1434
  type: "audio/webm"
1435
1435
  })
1436
1436
  );
@@ -1439,21 +1439,21 @@ const Pt = {
1439
1439
  async function a() {
1440
1440
  try {
1441
1441
  e.mediaWorking = !0;
1442
- const u = {
1442
+ const c = {
1443
1443
  audio: {
1444
1444
  echoCancellation: !0,
1445
1445
  noiseSuppression: !0,
1446
1446
  sampleRate: 44100
1447
1447
  }
1448
1448
  };
1449
- n && (u.video = {
1449
+ n && (c.video = {
1450
1450
  width: { ideal: 1280 },
1451
1451
  height: { ideal: 720 },
1452
1452
  frameRate: { ideal: 30 },
1453
1453
  facingMode: "user"
1454
1454
  // 使用前置摄像头
1455
1455
  });
1456
- const p = await navigator.mediaDevices.getUserMedia(u);
1456
+ const p = await navigator.mediaDevices.getUserMedia(c);
1457
1457
  e.mediaNew = new MediaRecorder(p, {
1458
1458
  mimeType: n ? "video/webm;codecs=vp9,opus" : "audio/webm;codecs=opus"
1459
1459
  }), e.mediaNew.stream && e.mediaFnView && e.mediaFnView(e.mediaNew.stream), e.mediaChunks = [], e.mediaNew.ondataavailable = (h) => {
@@ -1463,19 +1463,19 @@ const Pt = {
1463
1463
  e.mediaChunks
1464
1464
  ), e.mediaFn && e.mediaFn(e.mediaBase64));
1465
1465
  }, e.mediaNew.start(100);
1466
- } catch (u) {
1467
- console.error("无法访问麦克风或摄像头:", u), alert("无法访问麦克风或摄像头,请检查权限设置");
1466
+ } catch (c) {
1467
+ console.error("无法访问麦克风或摄像头:", c), alert("无法访问麦克风或摄像头,请检查权限设置");
1468
1468
  }
1469
1469
  }
1470
1470
  function s() {
1471
- e.mediaNew && e.mediaWorking && (e.mediaNew.stop(), e.mediaNew.stream.getTracks().forEach((u) => u.stop()), e.mediaWorking = !1);
1471
+ e.mediaNew && e.mediaWorking && (e.mediaNew.stop(), e.mediaNew.stream.getTracks().forEach((c) => c.stop()), e.mediaWorking = !1);
1472
1472
  }
1473
- function l(u) {
1473
+ function l(c) {
1474
1474
  e.mediaPress != null && (clearInterval(e.mediaPress), e.mediaPress = null), a();
1475
1475
  }
1476
- function r(u) {
1476
+ function r(c) {
1477
1477
  }
1478
- function d(u) {
1478
+ function d(c) {
1479
1479
  s(), e.mediaPress != null && (clearInterval(e.mediaPress), e.mediaPress = null);
1480
1480
  }
1481
1481
  return {
@@ -1492,21 +1492,21 @@ const Pt = {
1492
1492
  }, Symbol.toStringTag, { value: "Module" })), rn = (t) => {
1493
1493
  const { $fn: e, $db: n, $global: o, $model: a } = t.ujt;
1494
1494
  function s(r, d) {
1495
- const u = {};
1495
+ const c = {};
1496
1496
  let p = r.split(a.novel.rule.bksn);
1497
- u[d] = p[0], p = p[1].split(a.novel.rule.bkty), u.sn = p[0], p = p[1].split(a.novel.rule.bktm), u.ty = p[0], p = p[1].split(a.novel.rule.bktmg);
1497
+ c[d] = p[0], p = p[1].split(a.novel.rule.bkty), c.sn = p[0], p = p[1].split(a.novel.rule.bktm), c.ty = p[0], p = p[1].split(a.novel.rule.bktmg);
1498
1498
  try {
1499
- u.tm = p[0]?.length > 3 ? e.As.getTime(6, new Date(p[0])) : "", p = p[1].split(a.novel.rule.bkdesc), u.tg = p[0]?.length > 3 ? e.As.getTime(6, new Date(p[0])) : "";
1499
+ c.tm = p[0]?.length > 3 ? e.As.getTime(6, new Date(p[0])) : "", p = p[1].split(a.novel.rule.bkdesc), c.tg = p[0]?.length > 3 ? e.As.getTime(6, new Date(p[0])) : "";
1500
1500
  } catch {
1501
1501
  }
1502
- return d === "li" ? (p = p[1].split(a.novel.rule.bkcontent), u.ds = p[0], u.co = p[1]) : u.ds = p[1], u;
1502
+ return d === "li" ? (p = p[1].split(a.novel.rule.bkcontent), c.ds = p[0], c.co = p[1]) : c.ds = p[1], c;
1503
1503
  }
1504
1504
  return { cmNovelData: X(() => {
1505
1505
  const r = [];
1506
- let u = a.novel.muzu.replaceAll(`\r
1506
+ let c = a.novel.muzu.replaceAll(`\r
1507
1507
  `, `
1508
1508
  `).split(a.novel.rule.bkchannel), p, h, v;
1509
- return u.forEach((_) => {
1509
+ return c.forEach((_) => {
1510
1510
  _ && _.split(a.novel.rule.bkclass).forEach((y, b) => {
1511
1511
  b == 0 ? (p = s(y, "ch"), p.cc = [], r.push(p)) : y.split(a.novel.rule.bklist).forEach((O, S) => {
1512
1512
  S == 0 ? (h = s(O, "cl"), h.cc = [], p.cc.push(h)) : (v = s(O, "li"), h.cc.push(v));
@@ -1528,7 +1528,7 @@ const Pt = {
1528
1528
  ), r = Math.max(l - Math.floor(o / 2), 1), d = r + o - 1;
1529
1529
  return d > s && (d = s, r = Math.max(d - o + 1, 1)), Array.from(
1530
1530
  { length: d - r + 1 },
1531
- (u, p) => r + p
1531
+ (c, p) => r + p
1532
1532
  );
1533
1533
  }
1534
1534
  return { getPageList: n };
@@ -1540,7 +1540,7 @@ const Pt = {
1540
1540
  e,
1541
1541
  "webserver"
1542
1542
  ), d = X(() => Object.entries(n.lg("channeluser.lv")).filter((U) => a.user.info?.lv > U[0]));
1543
- function u() {
1543
+ function c() {
1544
1544
  return new Promise((P, U) => {
1545
1545
  try {
1546
1546
  o.channeluser?.stat ? P() : (o.channeluser = {
@@ -1823,7 +1823,7 @@ const Pt = {
1823
1823
  });
1824
1824
  }
1825
1825
  return {
1826
- initUserChannel: u,
1826
+ initUserChannel: c,
1827
1827
  userReg: h,
1828
1828
  userLogin: $,
1829
1829
  userExit: y,
@@ -1859,12 +1859,12 @@ const Pt = {
1859
1859
  }), e.changethemepro = (p = "") => s?.sys?.local?.theme ? e.changetheme(p) : e.setconfig("settingtheme", {
1860
1860
  theme: p
1861
1861
  });
1862
- const u = [e.initlang(s.config.langcur || "")];
1863
- return u.push(
1862
+ const c = [e.initlang(s.config.langcur || "")];
1863
+ return c.push(
1864
1864
  e.initmodel(r + "/dirmodel.json").then((p) => {
1865
1865
  p && Object.assign(n[r], p);
1866
1866
  })
1867
- ), Promise.all(u);
1867
+ ), Promise.all(c);
1868
1868
  }
1869
1869
  return { initAppModel: l };
1870
1870
  }, hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -1931,7 +1931,7 @@ const Pt = {
1931
1931
  function d() {
1932
1932
  a.user.info?.us && (a.code.token = n.AsCode.asencode(a.user.info?.us, a.code.pri) + "##" + n.AsCode.asencode(a.user.info?.lv, a.code.pri) + "##" + a.code.pub);
1933
1933
  }
1934
- function u() {
1934
+ function c() {
1935
1935
  return new Promise((h, v) => {
1936
1936
  try {
1937
1937
  r().then(() => {
@@ -1950,7 +1950,7 @@ const Pt = {
1950
1950
  return new Promise((h, v) => {
1951
1951
  a.user.online = 0;
1952
1952
  try {
1953
- u().then(() => {
1953
+ c().then(() => {
1954
1954
  a.code.token && s().then((_) => {
1955
1955
  a.user.online = 1, h();
1956
1956
  });
@@ -1964,7 +1964,7 @@ const Pt = {
1964
1964
  }
1965
1965
  return {
1966
1966
  initServer: r,
1967
- initUserToken: u,
1967
+ initUserToken: c,
1968
1968
  initToken: d,
1969
1969
  initUserOnline: p,
1970
1970
  userLoginWs: s,
@@ -1985,6 +1985,7 @@ const Pt = {
1985
1985
  provideglobal: {
1986
1986
  data: {
1987
1987
  sys: null,
1988
+ wd: { w: 0, h: 0 },
1988
1989
  config: {
1989
1990
  theme: "theme-light",
1990
1991
  lang: "",
@@ -2127,7 +2128,7 @@ const Pt = {
2127
2128
  });
2128
2129
  }
2129
2130
  });
2130
- const d = /* @__PURE__ */ new Map(), u = /\$(\d+)/g;
2131
+ const d = /* @__PURE__ */ new Map(), c = /\$(\d+)/g;
2131
2132
  return o.$fn.lg = (p, h) => {
2132
2133
  if (typeof p != "string" || !p)
2133
2134
  return;
@@ -2140,7 +2141,7 @@ const Pt = {
2140
2141
  if (!h || h.length === 0) return _;
2141
2142
  const $ = Array.isArray(h) ? h : [h];
2142
2143
  return _?.replace(
2143
- u,
2144
+ c,
2144
2145
  (b, k) => {
2145
2146
  const O = parseInt(k, 10) - 1;
2146
2147
  return $[O] ?? b;
@@ -2466,7 +2467,7 @@ const Pt = {
2466
2467
  ty: "publish/web"
2467
2468
  });
2468
2469
  }), (r, d) => {
2469
- const u = E("AsaiWebServerUserOnline"), p = E("PopMsg"), h = E("PopBoxConfirm");
2470
+ const c = E("AsaiWebServerUserOnline"), p = E("PopMsg"), h = E("PopBoxConfirm");
2470
2471
  return f(), m(I, null, [
2471
2472
  i(o).stat.webclient ? (f(), m(I, { key: 0 }, [
2472
2473
  l.value === 0 ? (f(), Y(Be, {
@@ -2478,7 +2479,7 @@ const Pt = {
2478
2479
  }, null, 8, ["ujt"])) : l.value === 2 ? (f(), Y(Ne, {
2479
2480
  key: 2,
2480
2481
  ujt: t.ujt
2481
- }, null, 8, ["ujt"])) : (f(), Y(u, {
2482
+ }, null, 8, ["ujt"])) : (f(), Y(c, {
2482
2483
  key: 3,
2483
2484
  ujt: t.ujt
2484
2485
  }, null, 8, ["ujt"]))
@@ -2486,7 +2487,7 @@ const Pt = {
2486
2487
  key: 1,
2487
2488
  ujt: t.ujt
2488
2489
  }, null, 8, ["ujt"])),
2489
- d[0] || (d[0] = c("div", { id: "popteleport" }, null, -1)),
2490
+ d[0] || (d[0] = u("div", { id: "popteleport" }, null, -1)),
2490
2491
  W(p, { ujt: t.ujt }, null, 8, ["ujt"]),
2491
2492
  W(h, {
2492
2493
  ujt: t.ujt,
@@ -2510,22 +2511,22 @@ const Pt = {
2510
2511
  return (s, l) => {
2511
2512
  const r = E("UserCard");
2512
2513
  return f(), m("div", Dn, [
2513
- l[0] || (l[0] = c("div", { class: "app-logo" }, [
2514
- c("img", {
2514
+ l[0] || (l[0] = u("div", { class: "app-logo" }, [
2515
+ u("img", {
2515
2516
  src: "./webmodel/files/img/logo.png",
2516
2517
  width: "200"
2517
2518
  })
2518
2519
  ], -1)),
2519
- c("div", Rn, [
2520
+ u("div", Rn, [
2520
2521
  (f(!0), m(I, null, Q(a.value, (d) => (f(), m("div", {
2521
2522
  class: J(`app-menu${d.type === "module" ? " module" : ""}`),
2522
2523
  key: d.value,
2523
- onPointerup: (u) => i(o).sethash(d.value === "views" ? "" : d.value)
2524
+ onPointerup: (c) => i(o).sethash(d.value === "views" ? "" : d.value)
2524
2525
  }, [
2525
- c("span", Wn, g(d.label), 1)
2526
+ u("span", Wn, g(d.label), 1)
2526
2527
  ], 42, Fn))), 128))
2527
2528
  ]),
2528
- c("div", Hn, [
2529
+ u("div", Hn, [
2529
2530
  W(r, { ujt: t.ujt }, null, 8, ["ujt"])
2530
2531
  ])
2531
2532
  ]);
@@ -2593,23 +2594,23 @@ const Pt = {
2593
2594
  ujt: t.ujt,
2594
2595
  menus: i(n).url[i(n).module.value]
2595
2596
  }, null, 8, ["ujt", "menus"]),
2596
- c("div", Kn, [
2597
- s[0] || (s[0] = c("div", { class: "app-logo" }, [
2598
- c("img", {
2597
+ u("div", Kn, [
2598
+ s[0] || (s[0] = u("div", { class: "app-logo" }, [
2599
+ u("img", {
2599
2600
  src: "./webmodel/files/img/logo.png",
2600
2601
  width: "200"
2601
2602
  })
2602
2603
  ], -1)),
2603
- c("div", Jn, [
2604
+ u("div", Jn, [
2604
2605
  (f(!0), m(I, null, Q(i(n).url[i(n).module.value], (d) => (f(), m("div", {
2605
2606
  class: J(`app-menu${d.type === "module" ? " module" : ""}`),
2606
2607
  key: d.value,
2607
- onPointerup: (u) => i(o).sethash(d.value === "views" ? "" : d.value)
2608
+ onPointerup: (c) => i(o).sethash(d.value === "views" ? "" : d.value)
2608
2609
  }, [
2609
- c("span", Qn, g(d.label), 1)
2610
+ u("span", Qn, g(d.label), 1)
2610
2611
  ], 42, Gn))), 128))
2611
2612
  ]),
2612
- c("div", Zn, [
2613
+ u("div", Zn, [
2613
2614
  W(r, { ujt: t.ujt }, null, 8, ["ujt"])
2614
2615
  ])
2615
2616
  ])
@@ -2681,19 +2682,19 @@ const Pt = {
2681
2682
  setup(t) {
2682
2683
  const e = t, { $fn: n, $db: o } = e.ujt, { addContent: a, initAddChannel: s, channelLang: l } = n.useChannel(e);
2683
2684
  return s(), (r, d) => {
2684
- const u = E("AsaiForm");
2685
+ const c = E("AsaiForm");
2685
2686
  return D(r.$slots, "default", {
2686
2687
  item: i(o)[e.opt.channel],
2687
2688
  option: { addContent: i(a) }
2688
2689
  }, () => [
2689
- c("div", ro, [
2690
- W(u, {
2690
+ u("div", ro, [
2691
+ W(c, {
2691
2692
  ujt: t.ujt,
2692
2693
  asaidata: i(o)[e.opt.channel].rfdata
2693
2694
  }, null, 8, ["ujt", "asaidata"])
2694
2695
  ]),
2695
- c("div", co, [
2696
- c("div", {
2696
+ u("div", co, [
2697
+ u("div", {
2697
2698
  class: "li cur",
2698
2699
  onPointerdown: d[0] || (d[0] = (p) => i(a)())
2699
2700
  }, g(i(l)("ui.add") || "Add"), 33)
@@ -2714,18 +2715,18 @@ const Pt = {
2714
2715
  const e = t, { $fn: n, $global: o, $db: a } = e.ujt, { setChannelClass: s, getClassKey: l } = n.useChannel(e);
2715
2716
  return (r, d) => (f(!0), m(I, null, Q(Object.entries(
2716
2717
  i(a)[e.opt.channel].rfdata.rule?.[i(l)()]?.[i(l)() + "data"] || { asai: "All" }
2717
- ), (u) => D(r.$slots, "default", {
2718
- key: u[0],
2719
- item: u,
2718
+ ), (c) => D(r.$slots, "default", {
2719
+ key: c[0],
2720
+ item: c,
2720
2721
  option: { setChannelClass: i(s) }
2721
2722
  }, () => [
2722
- c("div", {
2723
- title: u[1] || "",
2723
+ u("div", {
2724
+ title: c[1] || "",
2724
2725
  class: J({
2725
- cur: u[0] === i(o).location.query?.fl || u[0] === "asai" && !i(o).location.query?.fl
2726
+ cur: c[0] === i(o).location.query?.fl || c[0] === "asai" && !i(o).location.query?.fl
2726
2727
  }),
2727
- onPointerdown: (p) => i(s)(u[0] === "asai" ? "" : u[0])
2728
- }, g(u[1]), 43, fo)
2728
+ onPointerdown: (p) => i(s)(c[0] === "asai" ? "" : c[0])
2729
+ }, g(c[1]), 43, fo)
2729
2730
  ])), 128));
2730
2731
  }
2731
2732
  }), ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -2745,16 +2746,16 @@ const Pt = {
2745
2746
  item: i(o)[e.opt.channel],
2746
2747
  option: { editContent: i(a) }
2747
2748
  }, () => [
2748
- c("div", go, [
2749
+ u("div", go, [
2749
2750
  W(d, {
2750
2751
  ujt: t.ujt,
2751
2752
  asaidata: i(o)[e.opt.channel].rfdata
2752
2753
  }, null, 8, ["ujt", "asaidata"])
2753
2754
  ]),
2754
- c("div", vo, [
2755
- c("div", {
2755
+ u("div", vo, [
2756
+ u("div", {
2756
2757
  class: "li cur",
2757
- onPointerdown: r[0] || (r[0] = (u) => i(a)())
2758
+ onPointerdown: r[0] || (r[0] = (c) => i(a)())
2758
2759
  }, g(i(s)("ui.edit") || "Edit"), 33)
2759
2760
  ])
2760
2761
  ]);
@@ -2779,17 +2780,17 @@ const Pt = {
2779
2780
  const e = t, { $fn: n, $global: o, $db: a, $model: s } = e.ujt, { initChannel: l, channelLang: r } = n.useChannel(e);
2780
2781
  return l(), _e(() => {
2781
2782
  a[e.opt.channel] = null;
2782
- }), (d, u) => {
2783
+ }), (d, c) => {
2783
2784
  const p = E("ChannelClass"), h = E("ChannelUpDown"), v = E("ChannelListSearch"), _ = E("PopBoxConfirm"), $ = E("ChannelList"), y = E("ChannelListPage"), b = E("ChannelOpt"), k = E("ChannelEdit"), O = E("ChannelShow"), S = E("ChannelAdd");
2784
2785
  return i(a)[e.opt.channel].stat ? (f(), m("div", {
2785
2786
  key: 0,
2786
2787
  class: J(e.opt.tyindex == 1 ? "as-channel-column" : "as-channel-row")
2787
2788
  }, [
2788
- c("div", _o, [
2789
- c("div", $o, [
2790
- c("h1", null, g(i(s).data.asai.rulebook.listclass) + " " + g(i(r)("ui.class") || "Class"), 1)
2789
+ u("div", _o, [
2790
+ u("div", $o, [
2791
+ u("h1", null, g(i(s).data.asai.rulebook.listclass) + " " + g(i(r)("ui.class") || "Class"), 1)
2791
2792
  ]),
2792
- c("div", ko, [
2793
+ u("div", ko, [
2793
2794
  W(p, {
2794
2795
  ujt: t.ujt,
2795
2796
  opt: t.opt
@@ -2802,15 +2803,15 @@ const Pt = {
2802
2803
  }, null, 8, ["ujt", "opt"])
2803
2804
  ])) : R("", !0)
2804
2805
  ]),
2805
- c("div", jo, [
2806
- c("div", So, [
2807
- c("h1", null, g(i(s).data.asai.rulebook.listcontent) + " " + g(i(r)("ui.list") || "List"), 1)
2806
+ u("div", jo, [
2807
+ u("div", So, [
2808
+ u("h1", null, g(i(s).data.asai.rulebook.listcontent) + " " + g(i(r)("ui.list") || "List"), 1)
2808
2809
  ]),
2809
2810
  W(v, {
2810
2811
  ujt: t.ujt,
2811
2812
  opt: t.opt
2812
2813
  }, null, 8, ["ujt", "opt"]),
2813
- c("div", {
2814
+ u("div", {
2814
2815
  class: "as-channel-list-area as-list-nth",
2815
2816
  id: "popconfirm" + e.opt.channel + "area"
2816
2817
  }, [
@@ -2830,12 +2831,12 @@ const Pt = {
2830
2831
  }, null, 8, ["ujt", "opt"])
2831
2832
  ])) : R("", !0)
2832
2833
  ]),
2833
- c("div", Co, [
2834
+ u("div", Co, [
2834
2835
  i(o).location.query?.show ? (f(), m(I, { key: 0 }, [
2835
2836
  i(o).location.query?.showty ? (f(), m(I, { key: 0 }, [
2836
- c("div", Oo, [
2837
- c("h1", null, g(i(s).data.asai.rulebook.contentedit) + " " + g(i(r)("ui.edit") || "Edit"), 1),
2838
- c("div", Ao, [
2837
+ u("div", Oo, [
2838
+ u("h1", null, g(i(s).data.asai.rulebook.contentedit) + " " + g(i(r)("ui.edit") || "Edit"), 1),
2839
+ u("div", Ao, [
2839
2840
  W(b, {
2840
2841
  ujt: t.ujt,
2841
2842
  opt: t.opt
@@ -2847,9 +2848,9 @@ const Pt = {
2847
2848
  opt: t.opt
2848
2849
  }, null, 8, ["ujt", "opt"])
2849
2850
  ], 64)) : (f(), m(I, { key: 1 }, [
2850
- c("div", Mo, [
2851
- c("h1", null, g(i(s).data.asai.rulebook.contentshow) + " " + g(i(r)("ui.show") || "Show"), 1),
2852
- c("div", To, [
2851
+ u("div", Mo, [
2852
+ u("h1", null, g(i(s).data.asai.rulebook.contentshow) + " " + g(i(r)("ui.show") || "Show"), 1),
2853
+ u("div", To, [
2853
2854
  W(b, {
2854
2855
  ujt: t.ujt,
2855
2856
  opt: t.opt
@@ -2862,9 +2863,9 @@ const Pt = {
2862
2863
  }, null, 8, ["ujt", "opt"])
2863
2864
  ], 64))
2864
2865
  ], 64)) : (f(), m(I, { key: 1 }, [
2865
- c("div", zo, [
2866
- c("h1", null, g(i(s).data.asai.rulebook.new) + " " + g(i(r)("ui.add") || "Add"), 1),
2867
- c("div", Lo, [
2866
+ u("div", zo, [
2867
+ u("h1", null, g(i(s).data.asai.rulebook.new) + " " + g(i(r)("ui.add") || "Add"), 1),
2868
+ u("div", Lo, [
2868
2869
  W(b, {
2869
2870
  ujt: t.ujt,
2870
2871
  opt: t.opt
@@ -2899,13 +2900,13 @@ const Pt = {
2899
2900
  editItem: l,
2900
2901
  readItem: r,
2901
2902
  setShow: d,
2902
- fetchContent: u,
2903
+ fetchContent: c,
2903
2904
  optConfirm: p,
2904
2905
  getSnKey: h,
2905
2906
  channelLang: v
2906
2907
  } = n.useChannel(e);
2907
2908
  he(() => {
2908
- u(0), r(a.location.query?.show);
2909
+ c(0), r(a.location.query?.show);
2909
2910
  }), o[e.opt.channel].cmPageSize = X(() => Number(a.location.query?.ps) || o[e.opt.channel].cfg.config?.ps || 5);
2910
2911
  const { getPageList: _ } = n.usePage(e);
2911
2912
  return o[e.opt.channel].cmPageList = X(() => _(o[e.opt?.channel]?.cmPageSize)), ($, y) => {
@@ -2924,7 +2925,7 @@ const Pt = {
2924
2925
  }, {
2925
2926
  btns: le(() => [
2926
2927
  3 < i(a).user?.info?.lv ? (f(), m("div", Io, [
2927
- c("div", {
2928
+ u("div", {
2928
2929
  onPointerdown: y[0] || (y[0] = q(() => {
2929
2930
  }, ["stop"])),
2930
2931
  onPointerup: q((S) => {
@@ -2936,7 +2937,7 @@ const Pt = {
2936
2937
  });
2937
2938
  }, ["stop"])
2938
2939
  }, g(i(v)("ui.del") || "Del"), 41, Do),
2939
- c("div", {
2940
+ u("div", {
2940
2941
  onPointerdown: y[1] || (y[1] = q(() => {
2941
2942
  }, ["stop"])),
2942
2943
  onPointerup: q((S) => i(l)(k?.[i(h)()]), ["stop"])
@@ -2964,7 +2965,7 @@ const Pt = {
2964
2965
  item: l,
2965
2966
  option: {}
2966
2967
  }, () => [
2967
- c("div", {
2968
+ u("div", {
2968
2969
  onPointerdown: s[0] || (s[0] = q(() => {
2969
2970
  }, ["stop"])),
2970
2971
  onPointerup: q((r) => i(n)[e.opt.channel]?.setpage(l), ["stop"]),
@@ -2993,45 +2994,45 @@ const Pt = {
2993
2994
  option: { searchSubmit: i(s) }
2994
2995
  }, () => [
2995
2996
  e.opt?.channel && i(n)[e.opt.channel].cfg.sxs?.length ? (f(), m("div", Vo, [
2996
- c("div", No, [
2997
- G(c("input", {
2998
- "onUpdate:modelValue": d[0] || (d[0] = (u) => i(o).location.query.ss = u),
2997
+ u("div", No, [
2998
+ G(u("input", {
2999
+ "onUpdate:modelValue": d[0] || (d[0] = (c) => i(o).location.query.ss = c),
2999
3000
  placeholder: i(a).lg("asai.searchtips")
3000
3001
  }, null, 8, Yo), [
3001
3002
  [ce, i(o).location.query.ss]
3002
3003
  ]),
3003
- c("button", {
3004
- onPointerdown: d[1] || (d[1] = (u) => i(s)())
3004
+ u("button", {
3005
+ onPointerdown: d[1] || (d[1] = (c) => i(s)())
3005
3006
  }, g(i(a).lg("asai.search")), 33)
3006
3007
  ]),
3007
- c("div", Xo, [
3008
- G(c("select", {
3009
- "onUpdate:modelValue": d[2] || (d[2] = (u) => i(o).location.query.ssty = u)
3008
+ u("div", Xo, [
3009
+ G(u("select", {
3010
+ "onUpdate:modelValue": d[2] || (d[2] = (c) => i(o).location.query.ssty = c)
3010
3011
  }, [
3011
- (f(!0), m(I, null, Q(i(n)[e.opt.channel].cfg.sss, (u) => (f(), m("option", {
3012
- key: u,
3013
- value: u === "asai" ? void 0 : u
3014
- }, g(u === "asai" ? i(l)("ui.sss") || "Table" : i(n)[e.opt.channel].rfdata?.lang?.[u]), 9, Ko))), 128))
3012
+ (f(!0), m(I, null, Q(i(n)[e.opt.channel].cfg.sss, (c) => (f(), m("option", {
3013
+ key: c,
3014
+ value: c === "asai" ? void 0 : c
3015
+ }, g(c === "asai" ? i(l)("ui.sss") || "Table" : i(n)[e.opt.channel].rfdata?.lang?.[c]), 9, Ko))), 128))
3015
3016
  ], 512), [
3016
3017
  [be, i(o).location.query.ssty]
3017
3018
  ]),
3018
- G(c("select", {
3019
- "onUpdate:modelValue": d[3] || (d[3] = (u) => i(o).location.query.sx = u)
3019
+ G(u("select", {
3020
+ "onUpdate:modelValue": d[3] || (d[3] = (c) => i(o).location.query.sx = c)
3020
3021
  }, [
3021
- (f(!0), m(I, null, Q(i(n)[e.opt.channel].cfg.sxs, (u) => (f(), m("option", {
3022
- key: u,
3023
- value: u === "asai" ? void 0 : u
3024
- }, g(u === "asai" ? i(l)("ui.sxs") || "Sort" : i(n)[e.opt.channel].rfdata?.lang?.[u]), 9, Jo))), 128))
3022
+ (f(!0), m(I, null, Q(i(n)[e.opt.channel].cfg.sxs, (c) => (f(), m("option", {
3023
+ key: c,
3024
+ value: c === "asai" ? void 0 : c
3025
+ }, g(c === "asai" ? i(l)("ui.sxs") || "Sort" : i(n)[e.opt.channel].rfdata?.lang?.[c]), 9, Jo))), 128))
3025
3026
  ], 512), [
3026
3027
  [be, i(o).location.query.sx]
3027
3028
  ]),
3028
- G(c("select", {
3029
- "onUpdate:modelValue": d[4] || (d[4] = (u) => i(o).location.query.sxty = u)
3029
+ G(u("select", {
3030
+ "onUpdate:modelValue": d[4] || (d[4] = (c) => i(o).location.query.sxty = c)
3030
3031
  }, [
3031
- (f(!0), m(I, null, Q(i(l)("ui.sxtys") || [], (u, p) => (f(), m("option", {
3032
+ (f(!0), m(I, null, Q(i(l)("ui.sxtys") || [], (c, p) => (f(), m("option", {
3032
3033
  key: "sxty" + p,
3033
3034
  value: p == 0 ? void 0 : p.toString()
3034
- }, g(u), 9, Go))), 128))
3035
+ }, g(c), 9, Go))), 128))
3035
3036
  ], 512), [
3036
3037
  [be, i(o).location.query.sxty]
3037
3038
  ])
@@ -3056,13 +3057,13 @@ const Pt = {
3056
3057
  return s(e.pm).then((r) => {
3057
3058
  a.list = r.data;
3058
3059
  }), (r, d) => {
3059
- const u = E("ChannelListType");
3060
+ const c = E("ChannelListType");
3060
3061
  return f(!0), m(I, null, Q(a.list, (p, h) => D(r.$slots, "default", {
3061
3062
  key: "list" + (p?.[r.getSnKey()] || h),
3062
3063
  item: p,
3063
3064
  option: { setShow: i(l) }
3064
3065
  }, () => [
3065
- W(u, {
3066
+ W(c, {
3066
3067
  ujt: t.ujt,
3067
3068
  opt: t.opt,
3068
3069
  pm: t.pm,
@@ -3089,7 +3090,7 @@ const Pt = {
3089
3090
  return (l, r) => (f(), m("div", {
3090
3091
  class: J(`list${t.item?.[i(s)()] && i(n).location.query?.show === t.item?.[i(s)()] ? " cur" : ""}`)
3091
3092
  }, [
3092
- c("div", {
3093
+ u("div", {
3093
3094
  class: "li",
3094
3095
  title: t.item?.[i(a)()] || "",
3095
3096
  onPointerdown: r[0] || (r[0] = q(() => {
@@ -3116,7 +3117,7 @@ const Pt = {
3116
3117
  return (l, r) => (f(), m("div", {
3117
3118
  class: J(`pic${t.item?.[i(s)()] && i(n).location.query?.show === t.item?.[i(s)()] ? " cur" : ""}`)
3118
3119
  }, [
3119
- c("div", {
3120
+ u("div", {
3120
3121
  class: "li",
3121
3122
  title: t.item?.[i(a)()] || "",
3122
3123
  onPointerup: r[0] || (r[0] = q((d) => t.option?.setShow(t.item), ["stop"]))
@@ -3187,16 +3188,16 @@ const Pt = {
3187
3188
  item: i(o)[e.opt.channel],
3188
3189
  option: { channelLogin: i(a), channelLang: i(s) }
3189
3190
  }, () => [
3190
- c("div", da, [
3191
+ u("div", da, [
3191
3192
  W(d, {
3192
3193
  ujt: t.ujt,
3193
3194
  asaidata: i(o)[e.opt.channel].rfdata
3194
3195
  }, null, 8, ["ujt", "asaidata"])
3195
3196
  ]),
3196
- c("div", pa, [
3197
- c("div", {
3197
+ u("div", pa, [
3198
+ u("div", {
3198
3199
  class: "li cur",
3199
- onPointerdown: r[0] || (r[0] = (u) => i(a)())
3200
+ onPointerdown: r[0] || (r[0] = (c) => i(a)())
3200
3201
  }, g(i(n).lg("channeluser.ui.login")), 33)
3201
3202
  ])
3202
3203
  ]);
@@ -3222,11 +3223,11 @@ const Pt = {
3222
3223
  item: {},
3223
3224
  option: { toggleShow: a }
3224
3225
  }, () => [
3225
- c("div", {
3226
+ u("div", {
3226
3227
  class: "as-channel-opt-class",
3227
3228
  onPointerdown: l[0] || (l[0] = (r) => a(".as-channel-class"))
3228
3229
  }, " ☰ " + g(i(o)("ui.class") || "Class"), 33),
3229
- c("div", {
3230
+ u("div", {
3230
3231
  class: "as-channel-opt-list",
3231
3232
  onPointerdown: l[1] || (l[1] = (r) => a(".as-channel-list"))
3232
3233
  }, " ☰ " + g(i(o)("ui.list") || "List"), 33)
@@ -3247,27 +3248,27 @@ const Pt = {
3247
3248
  item: i(n).location.query,
3248
3249
  option: { setChannelHash: i(s) }
3249
3250
  }, () => [
3250
- c("div", va, [
3251
- c("div", {
3251
+ u("div", va, [
3252
+ u("div", {
3252
3253
  class: "as-channel-pos",
3253
- onPointerup: d[0] || (d[0] = q((u) => i(s)("class"), ["stop"]))
3254
+ onPointerup: d[0] || (d[0] = q((c) => i(s)("class"), ["stop"]))
3254
3255
  }, g(i(l)("ui.class") || "Class"), 33),
3255
- c("div", {
3256
+ u("div", {
3256
3257
  class: "as-channel-pos",
3257
- onPointerup: d[1] || (d[1] = q((u) => i(s)("list"), ["stop"]))
3258
+ onPointerup: d[1] || (d[1] = q((c) => i(s)("list"), ["stop"]))
3258
3259
  }, g(i(l)("ui.list") || "List"), 33),
3259
- c("div", {
3260
+ u("div", {
3260
3261
  class: "as-channel-pos",
3261
- onPointerup: d[2] || (d[2] = q((u) => i(s)("add"), ["stop"]))
3262
+ onPointerup: d[2] || (d[2] = q((c) => i(s)("add"), ["stop"]))
3262
3263
  }, g(i(l)("ui.add") || "Add"), 33),
3263
3264
  i(a)[e.opt.channel]?.cfg?.url?.reg ? (f(), m(I, { key: 0 }, [
3264
- c("div", {
3265
+ u("div", {
3265
3266
  class: "as-channel-pos",
3266
- onPointerup: d[3] || (d[3] = q((u) => i(s)("reg"), ["stop"]))
3267
+ onPointerup: d[3] || (d[3] = q((c) => i(s)("reg"), ["stop"]))
3267
3268
  }, g(i(o).lg("channeluser.ui.reg")), 33),
3268
- c("div", {
3269
+ u("div", {
3269
3270
  class: "as-channel-pos",
3270
- onPointerup: d[4] || (d[4] = q((u) => i(s)("login"), ["stop"]))
3271
+ onPointerup: d[4] || (d[4] = q((c) => i(s)("login"), ["stop"]))
3271
3272
  }, g(i(o).lg("channeluser.ui.login")), 33)
3272
3273
  ], 64)) : R("", !0)
3273
3274
  ])
@@ -3285,19 +3286,19 @@ const Pt = {
3285
3286
  setup(t) {
3286
3287
  const e = t, { $fn: n, $db: o } = e.ujt, { channelReg: a, initAddChannel: s, channelLang: l } = n.useChannel(e);
3287
3288
  return s(), (r, d) => {
3288
- const u = E("AsaiForm");
3289
+ const c = E("AsaiForm");
3289
3290
  return D(r.$slots, "default", {
3290
3291
  item: i(o)[e.opt.channel],
3291
3292
  option: { channelReg: i(a), channelLang: i(l) }
3292
3293
  }, () => [
3293
- c("div", $a, [
3294
- W(u, {
3294
+ u("div", $a, [
3295
+ W(c, {
3295
3296
  ujt: t.ujt,
3296
3297
  asaidata: i(o)[e.opt.channel].rfdata
3297
3298
  }, null, 8, ["ujt", "asaidata"])
3298
3299
  ]),
3299
- c("div", ka, [
3300
- c("div", {
3300
+ u("div", ka, [
3301
+ u("div", {
3301
3302
  class: "li cur",
3302
3303
  onPointerdown: d[0] || (d[0] = (p) => i(a)())
3303
3304
  }, g(i(n).lg("channeluser.ui.reg")), 33)
@@ -3322,7 +3323,7 @@ const Pt = {
3322
3323
  item: i(n)[e.opt.channel],
3323
3324
  option: {}
3324
3325
  }, () => [
3325
- c("div", Sa, [
3326
+ u("div", Sa, [
3326
3327
  W(s, {
3327
3328
  ujt: t.ujt,
3328
3329
  asaidata: i(n)[e.opt.channel].rfdata
@@ -3346,13 +3347,13 @@ const Pt = {
3346
3347
  a(r);
3347
3348
  }
3348
3349
  return (r, d) => {
3349
- const u = E("AsUploadTxt");
3350
+ const c = E("AsUploadTxt");
3350
3351
  return D(r.$slots, "default", {
3351
3352
  item: {},
3352
3353
  option: { onUpload: l, channelUpload: i(a), channelDownload: i(s) }
3353
3354
  }, () => [
3354
- c("button", Ca, [
3355
- W(u, {
3355
+ u("button", Ca, [
3356
+ W(c, {
3356
3357
  ujt: t.ujt,
3357
3358
  opt: { accept: ".txt" },
3358
3359
  onOnUpload: l
@@ -3363,7 +3364,7 @@ const Pt = {
3363
3364
  _: 1
3364
3365
  }, 8, ["ujt"])
3365
3366
  ]),
3366
- c("button", {
3367
+ u("button", {
3367
3368
  class: "as-channel-io",
3368
3369
  onPointerdown: d[0] || (d[0] = (p) => i(s)())
3369
3370
  }, g(i(o).lang.asai.download), 33)
@@ -3386,7 +3387,7 @@ const Pt = {
3386
3387
  room: {}
3387
3388
  },
3388
3389
  setup(t) {
3389
- const e = t, { $fn: n, $ws: o, $global: a } = e.ujt, { sendChatRoom: s } = n.useChatRoom(e), l = e?.room?.wsname || "web", r = e?.room?.roomname || "asai", d = V(null), u = V(null), p = me({
3390
+ const e = t, { $fn: n, $ws: o, $global: a } = e.ujt, { sendChatRoom: s } = n.useChatRoom(e), l = e?.room?.wsname || "web", r = e?.room?.roomname || "asai", d = V(null), c = V(null), p = me({
3390
3391
  mediaPress: null,
3391
3392
  mediaNew: null,
3392
3393
  mediaChunks: [],
@@ -3406,18 +3407,18 @@ const Pt = {
3406
3407
  }, p.optFn = () => {
3407
3408
  p.optty = p.optty > 0 ? 0 : 1, p.send.ty = p.optty ? p.optty : 0, p.send.ty || (p.send.msg = "");
3408
3409
  }, p.insertFn = ($) => {
3409
- u.value && (u.value.focus(), ge(() => {
3410
+ c.value && (c.value.focus(), ge(() => {
3410
3411
  try {
3411
- const y = u.value;
3412
+ const y = c.value;
3412
3413
  if (!y) return;
3413
3414
  const b = y.selectionStart !== null ? y.selectionStart : y.value.length, k = y.selectionEnd !== null ? y.selectionEnd : y.value.length, O = y.value, S = O.substring(0, b) + $ + O.substring(k);
3414
3415
  y.value = S;
3415
3416
  const L = b + $.length;
3416
3417
  y.setSelectionRange(L, L), y.dispatchEvent(new Event("input", { bubbles: !0 })), p.send.msg = S;
3417
3418
  } catch {
3418
- const k = u.value.value + $;
3419
- u.value.value = k, u.value.dispatchEvent(new Event("input", { bubbles: !0 })), p.send.msg = k, setTimeout(() => {
3420
- u.value && u.value.setSelectionRange(
3419
+ const k = c.value.value + $;
3420
+ c.value.value = k, c.value.dispatchEvent(new Event("input", { bubbles: !0 })), p.send.msg = k, setTimeout(() => {
3421
+ c.value && c.value.setSelectionRange(
3421
3422
  k.length,
3422
3423
  k.length
3423
3424
  );
@@ -3444,7 +3445,7 @@ const Pt = {
3444
3445
  }), ($, y) => {
3445
3446
  const b = E("ChatRoomOpt");
3446
3447
  return f(), m("div", Ma, [
3447
- c("div", Ta, [
3448
+ u("div", Ta, [
3448
3449
  D($.$slots, "chatheader", {
3449
3450
  opt: {
3450
3451
  chatlist: i(o).rooms[i(r)],
@@ -3452,10 +3453,10 @@ const Pt = {
3452
3453
  room: t.room
3453
3454
  }
3454
3455
  }, () => [
3455
- c("div", za, g(t.room?.lang?.chat || i(a).lang.sys.chat.chat), 1)
3456
+ u("div", za, g(t.room?.lang?.chat || i(a).lang.sys.chat.chat), 1)
3456
3457
  ], !0)
3457
3458
  ]),
3458
- c("div", {
3459
+ u("div", {
3459
3460
  class: "as-chat-body",
3460
3461
  ref_key: "chatContainer",
3461
3462
  ref: d
@@ -3467,14 +3468,14 @@ const Pt = {
3467
3468
  room: t.room
3468
3469
  }
3469
3470
  }, () => [
3470
- c("div", La, [
3471
+ u("div", La, [
3471
3472
  (f(!0), m(I, null, Q(i(o).rooms[i(r)], (k, O) => (f(), m("div", {
3472
3473
  key: O,
3473
3474
  class: J(["chat-message", { self: p.send.us === k.us }])
3474
3475
  }, [
3475
- c("div", Ua, [
3476
- c("div", Ea, g(k.us), 1),
3477
- c("div", Ia, [
3476
+ u("div", Ua, [
3477
+ u("div", Ea, g(k.us), 1),
3478
+ u("div", Ia, [
3478
3479
  k.ty == 4 ? (f(), m("video", {
3479
3480
  key: 0,
3480
3481
  style: { "max-width": "100%" },
@@ -3494,8 +3495,8 @@ const Pt = {
3494
3495
  ])
3495
3496
  ], !0)
3496
3497
  ], 512),
3497
- c("div", Fa, [
3498
- c("div", Wa, [
3498
+ u("div", Fa, [
3499
+ u("div", Wa, [
3499
3500
  p.optty ? (f(), m("div", Ha, [
3500
3501
  W(b, {
3501
3502
  ujt: t.ujt,
@@ -3511,18 +3512,18 @@ const Pt = {
3511
3512
  room: t.room
3512
3513
  }
3513
3514
  }, () => [
3514
- c("div", qa, [
3515
- c("div", Ba, [
3516
- c("button", {
3515
+ u("div", qa, [
3516
+ u("div", Ba, [
3517
+ u("button", {
3517
3518
  onClick: y[0] || (y[0] = //@ts-ignore
3518
3519
  (...k) => p.optFn && p.optFn(...k))
3519
3520
  }, g(t.room?.lang?.opt || i(a).lang.sys.chat.opt), 1)
3520
3521
  ]),
3521
- c("div", Va, [
3522
+ u("div", Va, [
3522
3523
  p.send.ty < 3 ? G((f(), m("input", {
3523
3524
  key: 0,
3524
3525
  ref_key: "inputDom",
3525
- ref: u,
3526
+ ref: c,
3526
3527
  type: "text",
3527
3528
  "onUpdate:modelValue": y[1] || (y[1] = (k) => p.send.msg = k),
3528
3529
  placeholder: t.room?.lang?.placeholder || i(a).lang.sys.chat.placeholder,
@@ -3531,8 +3532,8 @@ const Pt = {
3531
3532
  [ce, p.send.msg]
3532
3533
  ]) : (f(), m("div", Ya, g(p.mediaWorking ? p.send.ty == 4 ? "正在录像..." : "正在录音..." : "等待操作..."), 1))
3533
3534
  ]),
3534
- c("div", Xa, [
3535
- c("button", { onClick: h }, g(t.room?.lang?.send || i(a).lang.sys.chat.send), 1)
3535
+ u("div", Xa, [
3536
+ u("button", { onClick: h }, g(t.room?.lang?.send || i(a).lang.sys.chat.send), 1)
3536
3537
  ])
3537
3538
  ])
3538
3539
  ], !0)
@@ -3559,9 +3560,9 @@ const Pt = {
3559
3560
  e.mediadata
3560
3561
  ), l = V(null);
3561
3562
  return e.mediadata.mediaView = l, (r, d) => {
3562
- const u = ve("longpress");
3563
+ const c = ve("longpress");
3563
3564
  return f(), m("div", Qa, [
3564
- c("div", Za, [
3565
+ u("div", Za, [
3565
3566
  t.mediadata.mediaWorking ? (f(), m("audio", {
3566
3567
  key: 0,
3567
3568
  class: "as-media-working",
@@ -3583,12 +3584,12 @@ const Pt = {
3583
3584
  G((f(), m("div", {
3584
3585
  class: J(["record-button", { recording: t.mediadata.mediaWorking }])
3585
3586
  }, [
3586
- c("span", ts, g(t.mediadata.mediaWorking ? "松开结束" : "长按录音"), 1),
3587
+ u("span", ts, g(t.mediadata.mediaWorking ? "松开结束" : "长按录音"), 1),
3587
3588
  t.mediadata.mediaWorking ? (f(), m("div", ns, [...d[0] || (d[0] = [
3588
3589
  He('<div class="recording-indicator" data-v-18c80c90><div class="pulse" data-v-18c80c90></div><div class="pulse pulse-2" data-v-18c80c90></div><div class="pulse pulse-3" data-v-18c80c90></div></div><div class="audio-bars" data-v-18c80c90><div class="bar" data-v-18c80c90></div><div class="bar" data-v-18c80c90></div><div class="bar" data-v-18c80c90></div><div class="bar" data-v-18c80c90></div><div class="bar" data-v-18c80c90></div></div>', 2)
3589
3590
  ])])) : R("", !0)
3590
3591
  ], 2)), [
3591
- [u, {
3592
+ [c, {
3592
3593
  press: i(o),
3593
3594
  hold: i(a),
3594
3595
  release: i(s)
@@ -3645,9 +3646,9 @@ const Pt = {
3645
3646
  return e.mediadata.mediaFnView = async (r) => {
3646
3647
  l.value.srcObject = r, await l.value.play();
3647
3648
  }, (r, d) => {
3648
- const u = ve("longpress");
3649
+ const c = ve("longpress");
3649
3650
  return f(), m("div", cs, [
3650
- c("div", us, [
3651
+ u("div", us, [
3651
3652
  t.mediadata.mediaWorking ? (f(), m("video", {
3652
3653
  key: 0,
3653
3654
  class: "as-media-working",
@@ -3668,12 +3669,12 @@ const Pt = {
3668
3669
  G((f(), m("div", {
3669
3670
  class: J(["record-button", { recording: t.mediadata.mediaWorking }])
3670
3671
  }, [
3671
- c("span", ps, g(t.mediadata.mediaWorking ? "松开结束" : "长按录音"), 1),
3672
+ u("span", ps, g(t.mediadata.mediaWorking ? "松开结束" : "长按录音"), 1),
3672
3673
  t.mediadata.mediaWorking ? (f(), m("div", fs, [...d[0] || (d[0] = [
3673
3674
  He('<div class="recording-indicator" data-v-99ad2b76><div class="pulse" data-v-99ad2b76></div><div class="pulse pulse-2" data-v-99ad2b76></div><div class="pulse pulse-3" data-v-99ad2b76></div></div><div class="audio-bars" data-v-99ad2b76><div class="bar" data-v-99ad2b76></div><div class="bar" data-v-99ad2b76></div><div class="bar" data-v-99ad2b76></div><div class="bar" data-v-99ad2b76></div><div class="bar" data-v-99ad2b76></div></div>', 2)
3674
3675
  ])])) : R("", !0)
3675
3676
  ], 2)), [
3676
- [u, {
3677
+ [c, {
3677
3678
  press: i(o),
3678
3679
  hold: i(a),
3679
3680
  release: i(s)
@@ -3705,8 +3706,8 @@ const Pt = {
3705
3706
  "./_comps/VedioRecorder.vue": gs
3706
3707
  });
3707
3708
  function s(d) {
3708
- const u = d.match(/([^\\/]+)(?=\.vue$)/);
3709
- return u ? u[1] : null;
3709
+ const c = d.match(/([^\\/]+)(?=\.vue$)/);
3710
+ return c ? c[1] : null;
3710
3711
  }
3711
3712
  for (let d in a)
3712
3713
  a[s(d) || d] = a[d], delete a[d];
@@ -3716,23 +3717,23 @@ const Pt = {
3716
3717
  function r(d = null) {
3717
3718
  console.log(666.006, "setOptty", d), d ? (e.chatdata.optty = d[0], e.chatdata.optcomp = d[1]) : (e.chatdata.optty = 1, e.chatdata.optcomp = "");
3718
3719
  }
3719
- return (d, u) => (f(), m("div", vs, [
3720
+ return (d, c) => (f(), m("div", vs, [
3720
3721
  t.chatdata.optty == 1 ? (f(!0), m(I, { key: 0 }, Q(o.types, (p) => (f(), m("div", {
3721
3722
  class: "as-chatopt-li",
3722
3723
  onPointerdown: (h) => r(p),
3723
3724
  key: "li" + p[0]
3724
3725
  }, [
3725
- c("div", bs, g(p[2]), 1),
3726
- c("div", _s, g(i(n).lang.sys.chat[p[1]]), 1)
3726
+ u("div", bs, g(p[2]), 1),
3727
+ u("div", _s, g(i(n).lang.sys.chat[p[1]]), 1)
3727
3728
  ], 40, ys))), 128)) : (f(), m(I, { key: 1 }, [
3728
- c("div", $s, [
3729
- c("div", {
3729
+ u("div", $s, [
3730
+ u("div", {
3730
3731
  class: "as-chatopt-btn",
3731
- onPointerdown: u[0] || (u[0] = (p) => r())
3732
+ onPointerdown: c[0] || (c[0] = (p) => r())
3732
3733
  }, g(i(n).lang.sys.chat.optBack), 33),
3733
- c("div", {
3734
+ u("div", {
3734
3735
  class: "as-chatopt-btn",
3735
- onPointerdown: u[1] || (u[1] = (p) => t.chatdata.optFn())
3736
+ onPointerdown: c[1] || (c[1] = (p) => t.chatdata.optFn())
3736
3737
  }, g(i(n).lang.sys.chat.optClose), 33)
3737
3738
  ]),
3738
3739
  t.chatdata.optcomp ? (f(), Y(pe(l(t.chatdata.optcomp)), {
@@ -3765,7 +3766,7 @@ const Pt = {
3765
3766
  }
3766
3767
  return { initKeyboard: n };
3767
3768
  }, xs = (t, e) => {
3768
- const { $global: n, $fn: o, $model: a } = t, s = {}, l = (u, p, h, v = null, _ = null) => {
3769
+ const { $global: n, $fn: o, $model: a } = t, s = {}, l = (c, p, h, v = null, _ = null) => {
3769
3770
  if (e.keyMap.bd.Type == "Chinese" && v === "left") {
3770
3771
  e.keyMap.bd.zhindex < 1 ? e.keyMap.bd.zhindex = 0 : e.keyMap.bd.zhindex--;
3771
3772
  return;
@@ -3796,84 +3797,83 @@ const Pt = {
3796
3797
  return;
3797
3798
  }
3798
3799
  }
3799
- u.value = p, e.keyMap.bd.pos = h, u.dispatchEvent(new Event("input", { bubbles: !0 }));
3800
+ c.value = p, e.keyMap.bd.pos = h, c.dispatchEvent(new Event("input", { bubbles: !0 }));
3800
3801
  try {
3801
- u.focus(), u.setSelectionRange(h, h);
3802
+ c.focus(), c.setSelectionRange(h, h);
3802
3803
  } catch {
3803
3804
  n.keyboard.params?.ot?.fnnumcb?.();
3804
3805
  }
3805
- }, r = (u = {}) => {
3806
- u.char = u.char || (e.keyMap.bd.Shift ? u.key.toUpperCase() : u.key);
3807
- const p = u.elVal.slice(0, u.startPos) + u.char + u.elVal.slice(u.endPos);
3806
+ }, r = (c = {}) => {
3807
+ c.char = c.char || (e.keyMap.bd.Shift ? c.key.toUpperCase() : c.key);
3808
+ const p = c.elVal.slice(0, c.startPos) + c.char + c.elVal.slice(c.endPos);
3808
3809
  return l(
3809
- u.elDom,
3810
+ c.elDom,
3810
3811
  p,
3811
- u.startPos + u.char.length,
3812
- u.char,
3813
- u.onsuggest
3814
- ), u.elDom.focus(), p;
3812
+ c.startPos + c.char.length,
3813
+ c.char,
3814
+ c.onsuggest
3815
+ ), c.elDom.focus(), p;
3815
3816
  };
3816
- s.default = (u = {}) => {
3817
- n.keyboard.params.ot.isnumber && !/[0-9.-]/.test(u.key) || r(u);
3818
- }, s.Backspace = (u = {}) => {
3819
- const p = u.startPos === u.endPos ? u.startPos - 1 : u.startPos, h = u.elVal.slice(0, p) + u.elVal.slice(u.endPos);
3820
- l(u.elDom, h, p, 0);
3821
- }, s.Left = (u = {}) => {
3817
+ s.default = (c = {}) => {
3818
+ n.keyboard.params.ot.isnumber && !/[0-9.-]/.test(c.key) || r(c);
3819
+ }, s.Backspace = (c = {}) => {
3820
+ const p = c.startPos === c.endPos ? c.startPos - 1 : c.startPos, h = c.elVal.slice(0, p) + c.elVal.slice(c.endPos);
3821
+ l(c.elDom, h, p, 0);
3822
+ }, s.Left = (c = {}) => {
3822
3823
  l(
3823
- u.elDom,
3824
- u.elVal,
3825
- u.startPos - 1 > 0 ? u.startPos - 1 : 0,
3824
+ c.elDom,
3825
+ c.elVal,
3826
+ c.startPos - 1 > 0 ? c.startPos - 1 : 0,
3826
3827
  "left"
3827
3828
  );
3828
- }, s.Right = (u = {}) => {
3829
+ }, s.Right = (c = {}) => {
3829
3830
  l(
3830
- u.elDom,
3831
- u.elVal,
3832
- u.endPos + 1 > u.elVal.length ? u.elVal.length : u.endPos + 1,
3831
+ c.elDom,
3832
+ c.elVal,
3833
+ c.endPos + 1 > c.elVal.length ? c.elVal.length : c.endPos + 1,
3833
3834
  "right"
3834
3835
  );
3835
- }, s.Enter = (u = {}) => {
3836
- r({ ...u, char: `
3836
+ }, s.Enter = (c = {}) => {
3837
+ r({ ...c, char: `
3837
3838
  ` });
3838
- }, s.Shift = (u = {}) => {
3839
+ }, s.Shift = (c = {}) => {
3839
3840
  e.keyMap.bd.Shift = !e.keyMap.bd.Shift;
3840
- }, s.Ctrl = (u = {}) => {
3841
+ }, s.Ctrl = (c = {}) => {
3841
3842
  e.keyMap.bd.Ctrl = !e.keyMap.bd.Ctrl;
3842
- }, s.Hide = (u = {}) => {
3843
+ }, s.Hide = (c = {}) => {
3843
3844
  n.keyboard.params?.ot?.fndscb(), n.keyboard.showkeyboard = "", n.keyboard.params = null;
3844
- }, s.Drag = (u = {}) => {
3845
- }, s.Space = (u = {}) => {
3846
- e.keyMap.bd.Ctrl ? (n.keyboard.areastyle = {}, e.keyMap.bd.Shift = !1, e.keyMap.bd.Ctrl = !1) : r({ ...u, char: " " });
3847
- }, s.x = async (u = {}) => {
3848
- if (e.keyMap.bd.Ctrl)
3849
- try {
3850
- if (n.keyboard.params.type === "monaco" && n.keyboard.opt?.copyText && n.keyboard.opt?.backText) {
3851
- n.keyboard.opt?.copyText(), n.keyboard.opt?.backText();
3852
- return;
3853
- }
3854
- await o.As.copyToClipboard(
3855
- u.elVal.slice(u.startPos, u.endPos)
3856
- );
3857
- } catch (p) {
3858
- console.error("copy fail: ", p);
3845
+ }, s.Drag = (c = {}) => {
3846
+ }, s.Space = (c = {}) => {
3847
+ e.keyMap.bd.Ctrl ? (n.keyboard.areastyle = {}, e.keyMap.bd.Shift = !1, e.keyMap.bd.Ctrl = !1) : r({ ...c, char: " " });
3848
+ }, s.Cut = async (c = {}) => {
3849
+ try {
3850
+ if (n.keyboard.params.type === "monaco" && n.keyboard.opt?.copyText && n.keyboard.opt?.backText) {
3851
+ n.keyboard.opt?.copyText(), n.keyboard.opt?.backText();
3852
+ return;
3859
3853
  }
3860
- else
3861
- r(u);
3862
- }, s.Copy = async (u = {}) => {
3854
+ await o.As.copyToClipboard(
3855
+ c.elVal.slice(c.startPos, c.endPos)
3856
+ ), await s.Backspace(c);
3857
+ } catch (p) {
3858
+ console.error("copy fail: ", p);
3859
+ }
3860
+ }, s.x = async (c = {}) => {
3861
+ e.keyMap.bd.Ctrl ? await s.Cut(c) : r(c);
3862
+ }, s.Copy = async (c = {}) => {
3863
3863
  try {
3864
3864
  if (n.keyboard.params.type === "monaco" && n.keyboard.opt?.copyText) {
3865
3865
  n.keyboard.opt?.copyText();
3866
3866
  return;
3867
3867
  }
3868
3868
  await o.As.copyToClipboard(
3869
- u.elVal.slice(u.startPos, u.endPos)
3869
+ c.elVal.slice(c.startPos, c.endPos)
3870
3870
  );
3871
3871
  } catch (p) {
3872
3872
  console.error("copy fail: ", p);
3873
3873
  }
3874
- }, s.c = async (u = {}) => {
3875
- e.keyMap.bd.Ctrl ? await s.Copy(u) : r(u);
3876
- }, s.Paste = async (u = {}) => {
3874
+ }, s.c = async (c = {}) => {
3875
+ e.keyMap.bd.Ctrl ? await s.Copy(c) : r(c);
3876
+ }, s.Paste = async (c = {}) => {
3877
3877
  try {
3878
3878
  if (n.keyboard.params.type === "monaco" && n.keyboard.opt?.pasteText) {
3879
3879
  n.keyboard.opt?.pasteText();
@@ -3881,31 +3881,31 @@ const Pt = {
3881
3881
  }
3882
3882
  const p = await o.As.readFromClipboard();
3883
3883
  r({
3884
- ...u,
3884
+ ...c,
3885
3885
  char: p
3886
3886
  });
3887
3887
  } catch (p) {
3888
3888
  console.error("paste fail: ", p);
3889
3889
  }
3890
- }, s.v = async (u = {}) => {
3891
- e.keyMap.bd.Ctrl ? await s.Paste(u) : r(u);
3892
- }, s["▲"] = async (u = {}) => {
3893
- const h = u.elVal.split(".")[1]?.length || 0;
3894
- h ? u.elVal = (+u.elVal + 1 / Math.pow(10, h)).toFixed(h) : u.elVal++, l(u.elDom, u.elVal, u.startPos, 0);
3895
- }, s["▼"] = async (u = {}) => {
3896
- const h = u.elVal.split(".")[1]?.length || 0;
3897
- h ? u.elVal = (+u.elVal - 1 / Math.pow(10, h)).toFixed(h) : u.elVal--, l(u.elDom, u.elVal, u.startPos, 0);
3890
+ }, s.v = async (c = {}) => {
3891
+ e.keyMap.bd.Ctrl ? await s.Paste(c) : r(c);
3892
+ }, s["▲"] = async (c = {}) => {
3893
+ const h = c.elVal.split(".")[1]?.length || 0;
3894
+ h ? c.elVal = (+c.elVal + 1 / Math.pow(10, h)).toFixed(h) : c.elVal++, l(c.elDom, c.elVal, c.startPos, 0);
3895
+ }, s["▼"] = async (c = {}) => {
3896
+ const h = c.elVal.split(".")[1]?.length || 0;
3897
+ h ? c.elVal = (+c.elVal - 1 / Math.pow(10, h)).toFixed(h) : c.elVal--, l(c.elDom, c.elVal, c.startPos, 0);
3898
3898
  };
3899
- function d(u = {}) {
3900
- n.pop["popkeyboard" + u.key].stat = 1;
3899
+ function d(c = {}) {
3900
+ n.pop["popkeyboard" + c.key].stat = 1;
3901
3901
  }
3902
- return e.keyMap.popkeys.forEach((u) => {
3903
- u.startsWith("pop") ? s[u] = (p = {}) => {
3904
- d(p), n.pop["popkeyboard" + u].fn = (h) => {
3905
- s.default({ ...p, key: h }), n.pop["popkeyboard" + u].stat = 0;
3902
+ return e.keyMap.popkeys.forEach((c) => {
3903
+ c.startsWith("pop") ? s[c] = (p = {}) => {
3904
+ d(p), n.pop["popkeyboard" + c].fn = (h) => {
3905
+ s.default({ ...p, key: h }), n.pop["popkeyboard" + c].stat = 0;
3906
3906
  };
3907
- } : s[u] = (p = {}) => {
3908
- n.pop["popkeyboard" + u] = {
3907
+ } : s[c] = (p = {}) => {
3908
+ n.pop["popkeyboard" + c] = {
3909
3909
  fn: (h) => {
3910
3910
  s.default({ ...p, key: h });
3911
3911
  }
@@ -3925,25 +3925,25 @@ const Pt = {
3925
3925
  key: 1,
3926
3926
  class: "keyboard-zh"
3927
3927
  }, Fs = { class: "zh-desc" }, Ws = ["data-key"], Hs = {
3928
- key: 1,
3928
+ key: 2,
3929
3929
  class: "keyboard-key key-bg"
3930
3930
  }, qs = ["data-key"], Bs = { key: 1 }, Vs = ["data-key"], Ns = /* @__PURE__ */ A({
3931
3931
  __name: "AsKeyBoard",
3932
3932
  props: {
3933
3933
  ujt: {},
3934
- scale: {}
3934
+ opt: {}
3935
3935
  },
3936
3936
  setup(t) {
3937
3937
  je((y) => ({
3938
- v1afdc76e: s.cfg.theme.bg1,
3939
- v1afdd819: s.cfg.theme.fsd,
3940
- v7cbddd23: s.cfg.theme.bg,
3941
- v7cbdddca: s.cfg.theme.gs,
3942
- v7cbdddbc: s.cfg.theme.ge,
3943
- v1afdc76f: s.cfg.theme.bg2,
3944
- v1afdc7b1: s.cfg.theme.bgt,
3945
- v1afdc770: s.cfg.theme.bg3,
3946
- v7cbdddab: s.cfg.theme.fs
3938
+ v2f8056c3: s.cfg.theme.bg1,
3939
+ v2f80676e: s.cfg.theme.fsd,
3940
+ b29ce1a4: s.cfg.theme.bg,
3941
+ b29ce056: s.cfg.theme.gs,
3942
+ b29ce072: s.cfg.theme.ge,
3943
+ v2f8056c4: s.cfg.theme.bg2,
3944
+ v2f805706: s.cfg.theme.bgt,
3945
+ v2f8056c5: s.cfg.theme.bg3,
3946
+ b29ce094: s.cfg.theme.fs
3947
3947
  }));
3948
3948
  const e = t, { $model: n, $global: o } = e.ujt, { initKeyboard: a } = Ss(e.ujt), s = me({ ...a() }), { keysFun: l } = xs(e.ujt, { keyMap: s });
3949
3949
  Oe(
@@ -3956,12 +3956,12 @@ const Pt = {
3956
3956
  function d(y) {
3957
3957
  return y?.default ? y.default : ke(y);
3958
3958
  }
3959
- const u = () => {
3959
+ const c = () => {
3960
3960
  o.keyboard.params?.el && (s.bd.pos = o.keyboard.params.el.selectionStart || 0);
3961
3961
  }, p = () => {
3962
3962
  ge(() => {
3963
3963
  setTimeout(() => {
3964
- u(), s.bd.Type = r?.value?.[0];
3964
+ c(), s.bd.Type = r?.value?.[0];
3965
3965
  }, 10);
3966
3966
  });
3967
3967
  }, h = async (y) => {
@@ -4014,18 +4014,18 @@ const Pt = {
4014
4014
  onPointerup: $,
4015
4015
  onPointercancel: $
4016
4016
  }, [
4017
- c("div", Ps, [
4017
+ u("div", Ps, [
4018
4018
  G((f(), m("div", Cs, [
4019
- c("div", Os, [
4019
+ u("div", Os, [
4020
4020
  (f(!0), m(I, null, Q(r.value, (S) => (f(), m("div", {
4021
4021
  class: J(s.bd.Type == S ? "active" : ""),
4022
4022
  key: S,
4023
4023
  onPointerdown: q((L) => s.bd.Type = S, ["stop"])
4024
4024
  }, g(i(o).lang.sys?.keyboard?.menu?.[S] || S), 43, As))), 128))
4025
4025
  ]),
4026
- c("div", Ms, [
4027
- c("div", null, g(i(o).lang.sys?.keyboard?.Drag || "Drag"), 1),
4028
- c("div", {
4026
+ u("div", Ms, [
4027
+ u("div", null, g(i(o).lang.sys?.keyboard?.Drag || "Drag"), 1),
4028
+ u("div", {
4029
4029
  onPointerdown: b[0] || (b[0] = q(
4030
4030
  //@ts-ignore
4031
4031
  (...S) => i(l).Hide && i(l).Hide(...S),
@@ -4039,7 +4039,7 @@ const Pt = {
4039
4039
  pos: i(o).keyboard.areastyle,
4040
4040
  domarea: "askeyboardarea",
4041
4041
  dommask: "askeyboardmask",
4042
- scale: t.scale
4042
+ scale: t.opt?.scale
4043
4043
  }]
4044
4044
  ]),
4045
4045
  i(o).keyboard.comps?.[s.bd.Type] ? (f(), m("div", {
@@ -4058,9 +4058,9 @@ const Pt = {
4058
4058
  }, [
4059
4059
  s.bd.Type === "Chinese" && L === 0 ? (f(), m(I, { key: 0 }, [
4060
4060
  s.bd.zhs ? (f(), m("div", zs, [
4061
- c("div", Ls, g(s.bd.zhs), 1),
4061
+ u("div", Ls, g(s.bd.zhs), 1),
4062
4062
  s.bd?.zharr?.length ? (f(), m("div", Us, [
4063
- c("div", Es, [
4063
+ u("div", Es, [
4064
4064
  (f(!0), m(I, null, Q(s.bd.zharr, (w, j) => (f(), m("div", {
4065
4065
  key: "zh" + j,
4066
4066
  class: J(`askey zh-li${s.bd.zhindex == j ? " zh-cur" : ""}`),
@@ -4072,18 +4072,18 @@ const Pt = {
4072
4072
  class: "zh-list-area",
4073
4073
  onPointerdown: b[2] || (b[2] = q((w) => s.bd.zhs = "", ["stop"]))
4074
4074
  }, [
4075
- c("div", Ds, g(i(o).lang.sys?.keyboard?.pynomatch), 1)
4075
+ u("div", Ds, g(i(o).lang.sys?.keyboard?.pynomatch), 1)
4076
4076
  ], 32))
4077
4077
  ])) : (f(), m("div", Rs, [
4078
- c("div", Fs, g(i(o).lang.sys?.keyboard?.pyclick), 1)
4078
+ u("div", Fs, g(i(o).lang.sys?.keyboard?.pyclick), 1)
4079
4079
  ]))
4080
- ], 64)) : (f(!0), m(I, { key: 1 }, Q(S, (w) => (f(), m("div", {
4080
+ ], 64)) : (f(!0), m(I, { key: 1 }, Q(S, (w, j) => (f(), m("div", {
4081
4081
  class: "keyboard-item",
4082
- key: w[0],
4082
+ key: "k" + j,
4083
4083
  style: Z({ width: `${w[1]}%` })
4084
4084
  }, [
4085
- w[3] ? (f(), m("button", {
4086
- key: 0,
4085
+ w[2] == 2 ? (f(), m(I, { key: 0 }, [], 64)) : w[3] ? (f(), m("button", {
4086
+ key: 1,
4087
4087
  class: J(`askey keyboard-key${w[2] ? " key-bg" : ""}${s.bd[w[3]] ? " active" : ""}`),
4088
4088
  "data-key": w[0]
4089
4089
  }, g(i(o).lang.sys?.keyboard?.[w[0]] || w[0]), 11, Ws)) : w[0] === "Drag" ? G((f(), m("button", Hs, [
@@ -4094,15 +4094,15 @@ const Pt = {
4094
4094
  pos: i(o).keyboard.areastyle,
4095
4095
  domarea: "askeyboardarea",
4096
4096
  dommask: "askeyboardmask",
4097
- scale: t.scale
4097
+ scale: t.opt?.scale
4098
4098
  }]
4099
4099
  ]) : s.popkeys.includes(w[0]) ? (f(), Y(k, {
4100
- key: 2,
4100
+ key: 3,
4101
4101
  ujt: t.ujt,
4102
4102
  id: "popkeyboard" + w[0]
4103
4103
  }, {
4104
4104
  desarea: le(() => [
4105
- c("button", {
4105
+ u("button", {
4106
4106
  class: J(`askey keyboard-key${w[2] ? " key-bg" : ""}`),
4107
4107
  "data-key": w[0]
4108
4108
  }, g(i(o).lang.sys?.keyboard?.[w[0]] || (s.bd.Shift ? w[0].toUpperCase() : w[0])), 11, qs)
@@ -4128,7 +4128,7 @@ const Pt = {
4128
4128
  ]),
4129
4129
  _: 2
4130
4130
  }, 1032, ["ujt", "id"])) : (f(), m("button", {
4131
- key: 3,
4131
+ key: 4,
4132
4132
  class: J(`askey keyboard-key${w[2] ? " key-bg" : ""}`),
4133
4133
  "data-key": w[0]
4134
4134
  }, g(i(o).lang.sys?.keyboard?.[w[0]] || (s.bd.Shift ? w[0].toUpperCase() : w[0])), 11, Vs))
@@ -4139,62 +4139,63 @@ const Pt = {
4139
4139
  ], 32);
4140
4140
  };
4141
4141
  }
4142
- }), Ys = /* @__PURE__ */ N(Ns, [["__scopeId", "data-v-e591ce79"]]), Xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4142
+ }), Ys = /* @__PURE__ */ N(Ns, [["__scopeId", "data-v-3cd86883"]]), Xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4143
4143
  __proto__: null,
4144
4144
  default: Ys
4145
4145
  }, Symbol.toStringTag, { value: "Module" })), Ks = /* @__PURE__ */ A({
4146
4146
  __name: "AsKeyBoardVue",
4147
4147
  props: {
4148
4148
  ujt: {},
4149
- scale: {}
4149
+ opt: {}
4150
4150
  },
4151
4151
  setup(t) {
4152
- const e = t, { $global: n, $model: o } = e.ujt, a = X(() => {
4153
- if (n.keyboard.params?.ot?.style?.area)
4154
- return n.keyboard.params.ot.style.area;
4155
- {
4156
- const l = {
4157
- width: n.sys.zoomwidth || 1920,
4158
- height: n.sys.zoomheight || 1080
4159
- };
4160
- return l.width += "px", l.height += "px", l;
4161
- }
4162
- }), s = X(() => {
4152
+ const e = t, { $global: n, $model: o } = e.ujt, a = X(() => e.opt?.pos?.auto ? {
4153
+ width: n.wd?.w,
4154
+ height: n.wd?.h
4155
+ } : {
4156
+ width: o.data.sys.keyboard.cfg?.size?.mw,
4157
+ height: o.data.sys.keyboard.cfg?.size?.mh
4158
+ }), s = X(() => n.keyboard.params?.ot?.style?.area ? n.keyboard.params.ot.style.area : {
4159
+ width: a.value.width + "px",
4160
+ height: a.value.height + "px"
4161
+ }), l = X(() => {
4163
4162
  if (n.keyboard.params?.ot?.style?.main)
4164
4163
  return n.keyboard.params.ot.style.main;
4165
4164
  {
4166
- const l = {
4167
- maxWidth: n.sys.zoomwidth || 1920,
4168
- maxHeight: n.sys.zoomheight || 1080
4165
+ const r = {
4166
+ maxWidth: a.value.width,
4167
+ maxHeight: a.value.height
4169
4168
  };
4170
- return n.keyboard.areastyle?.w == null && (n.keyboard.areastyle.w = o.data.sys.keyboard.cfg.w || 1600), n.keyboard.areastyle?.h == null && (n.keyboard.areastyle.h = o.data.sys.keyboard.cfg.h || 528), n.keyboard.areastyle?.x == null && (n.keyboard.areastyle.x = (l.maxWidth - n.keyboard.areastyle.w) / 2), n.keyboard.areastyle?.y == null && (n.keyboard.areastyle.y = l.maxHeight - n.keyboard.areastyle.h - 112), l.maxWidth += "px", l.maxHeight += "px", l.transform = `translate(${n.keyboard.areastyle.x}px, ${n.keyboard.areastyle.y}px)`, l.width = n.keyboard.areastyle.w + "px", l.height = n.keyboard.areastyle.h + "px", l;
4169
+ return n.keyboard.areastyle?.w == null && (n.keyboard.areastyle.w = o.data.sys.keyboard.cfg?.size?.w), n.keyboard.areastyle?.h == null && (n.keyboard.areastyle.h = o.data.sys.keyboard.cfg?.size?.h), n.keyboard.areastyle?.x == null && (!e.opt?.pos?.auto || a.value.width) && (n.keyboard.areastyle.x = (r.maxWidth - n.keyboard.areastyle.w) / 2 + e.opt?.pos?.x), n.keyboard.areastyle?.y == null && (!e.opt?.pos?.auto || a.value.height) && (n.keyboard.areastyle.y = r.maxHeight - n.keyboard.areastyle.h + e.opt?.pos?.y), r.maxWidth += "px", r.maxHeight += "px", r.transform = `translate(${n.keyboard.areastyle.x}px, ${n.keyboard.areastyle.y}px)`, r.width = n.keyboard.areastyle.w + "px", r.height = n.keyboard.areastyle.h + "px", r;
4171
4170
  }
4172
4171
  });
4173
- return (l, r) => {
4174
- const d = E("AsKeyBoard"), u = ve("popresizezoom");
4172
+ return he(() => {
4173
+ e.opt?.pos?.auto && (n.wd.w = document?.documentElement?.clientWidth || document?.body?.clientWidth, n.wd.h = document?.documentElement?.clientHeight || document?.body?.clientHeight);
4174
+ }), (r, d) => {
4175
+ const c = E("AsKeyBoard"), p = ve("popresizezoom");
4175
4176
  return f(), m("div", {
4176
- style: Z(a.value),
4177
+ style: Z(s.value),
4177
4178
  id: "askeyboardmask"
4178
4179
  }, [
4179
4180
  G((f(), m("div", {
4180
4181
  id: "askeyboardarea",
4181
- style: Z(s.value)
4182
+ style: Z(l.value)
4182
4183
  }, [
4183
- W(d, {
4184
+ W(c, {
4184
4185
  ujt: t.ujt,
4185
- scale: t.scale
4186
- }, null, 8, ["ujt", "scale"])
4186
+ opt: t.opt
4187
+ }, null, 8, ["ujt", "opt"])
4187
4188
  ], 4)), [
4188
- [u, {
4189
+ [p, {
4189
4190
  ujt: t.ujt,
4190
4191
  size: i(n).keyboard.areastyle,
4191
- scale: t.scale
4192
+ scale: t.opt?.scale
4192
4193
  }]
4193
4194
  ])
4194
4195
  ], 4);
4195
4196
  };
4196
4197
  }
4197
- }), Js = /* @__PURE__ */ N(Ks, [["__scopeId", "data-v-6a81373d"]]), Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4198
+ }), Js = /* @__PURE__ */ N(Ks, [["__scopeId", "data-v-edc5ecd7"]]), Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4198
4199
  __proto__: null,
4199
4200
  default: Js
4200
4201
  }, Symbol.toStringTag, { value: "Module" })), Qs = {
@@ -4222,26 +4223,26 @@ const Pt = {
4222
4223
  o.saveLink(s.link);
4223
4224
  }
4224
4225
  function d() {
4225
- o.startLink().then((u) => {
4226
+ o.startLink().then((c) => {
4226
4227
  l();
4227
4228
  });
4228
4229
  }
4229
4230
  return he(() => {
4230
4231
  l();
4231
- }), (u, p) => s.link ? (f(), m("div", Qs, [
4232
- c("div", Zs, [
4232
+ }), (c, p) => s.link ? (f(), m("div", Qs, [
4233
+ u("div", Zs, [
4233
4234
  (f(!0), m(I, null, Q(s.link, (h, v) => (f(), m("div", {
4234
4235
  class: "as-link-type",
4235
4236
  key: "type" + v
4236
4237
  }, [
4237
- c("div", el, g(i(n).lang.sys.link.class[v]), 1),
4238
+ u("div", el, g(i(n).lang.sys.link.class[v]), 1),
4238
4239
  (f(!0), m(I, null, Q(h, (_, $) => (f(), m(I, {
4239
4240
  key: "key" + $
4240
4241
  }, [
4241
4242
  _?.close ? R("", !0) : (f(), m("div", tl, [
4242
- c("div", nl, g(i(n).lang.sys.link[$]) + ": ", 1),
4243
- c("div", ol, [
4244
- G(c("input", {
4243
+ u("div", nl, g(i(n).lang.sys.link[$]) + ": ", 1),
4244
+ u("div", ol, [
4245
+ G(u("input", {
4245
4246
  type: "text",
4246
4247
  "onUpdate:modelValue": (y) => _.url = y
4247
4248
  }, null, 8, al), [
@@ -4253,16 +4254,16 @@ const Pt = {
4253
4254
  ], 64))), 128))
4254
4255
  ]))), 128))
4255
4256
  ]),
4256
- c("div", ll, [
4257
- c("div", {
4257
+ u("div", ll, [
4258
+ u("div", {
4258
4259
  class: "btn",
4259
4260
  onPointerdown: p[0] || (p[0] = (h) => r())
4260
4261
  }, "确认修改", 32),
4261
- c("div", {
4262
+ u("div", {
4262
4263
  class: "btn",
4263
4264
  onPointerdown: p[1] || (p[1] = (h) => d())
4264
4265
  }, "恢复默认", 32),
4265
- c("div", {
4266
+ u("div", {
4266
4267
  class: "btn",
4267
4268
  onPointerdown: p[2] || (p[2] = (h) => l())
4268
4269
  }, "取消修改", 32)
@@ -4296,7 +4297,7 @@ const Pt = {
4296
4297
  wait: 300,
4297
4298
  immediate: !1
4298
4299
  }
4299
- }), l = V(!1), r = V(!1), d = V(!1), u = V(""), p = V(16), h = V([]), v = X(() => {
4300
+ }), l = V(!1), r = V(!1), d = V(!1), c = V(""), p = V(16), h = V([]), v = X(() => {
4300
4301
  let B = {};
4301
4302
  return B = $.value?.find(
4302
4303
  (ne) => ne.sn === n.location.query?.id
@@ -4306,9 +4307,9 @@ const Pt = {
4306
4307
  )), b = X(() => y.value > 0), k = X(() => y.value < $.value.length - 1), O = () => {
4307
4308
  l.value = !l.value;
4308
4309
  }, S = () => {
4309
- r.value = !r.value, r.value || (u.value = "", _.value = []);
4310
+ r.value = !r.value, r.value || (c.value = "", _.value = []);
4310
4311
  }, L = () => {
4311
- r.value = !1, u.value = "", _.value = [];
4312
+ r.value = !1, c.value = "", _.value = [];
4312
4313
  }, w = (B) => {
4313
4314
  const ne = h.value.indexOf(B);
4314
4315
  ne > -1 ? h.value.splice(ne, 1) : h.value.push(B);
@@ -4328,7 +4329,7 @@ const Pt = {
4328
4329
  p.value > 12 && (p.value -= 1);
4329
4330
  }, P = () => {
4330
4331
  o.As.debounce(() => {
4331
- const B = u.value.trim();
4332
+ const B = c.value.trim();
4332
4333
  if (!B) {
4333
4334
  _.value = [];
4334
4335
  return;
@@ -4347,7 +4348,7 @@ const Pt = {
4347
4348
  }, U = (B) => {
4348
4349
  B?.sn && (o.setquery({
4349
4350
  id: B.sn
4350
- }), r.value = !1, u.value = "", _.value = []);
4351
+ }), r.value = !1, c.value = "", _.value = []);
4351
4352
  }, H = () => {
4352
4353
  d.value = window.innerWidth <= 768;
4353
4354
  };
@@ -4356,20 +4357,20 @@ const Pt = {
4356
4357
  }), we(() => {
4357
4358
  window.removeEventListener("resize", H);
4358
4359
  }), (B, ne) => (f(), m("div", ul, [
4359
- c("header", dl, [
4360
- c("div", pl, [
4361
- c("button", {
4360
+ u("header", dl, [
4361
+ u("div", pl, [
4362
+ u("button", {
4362
4363
  class: "menu-toggle",
4363
4364
  onClick: O
4364
4365
  }, [...ne[1] || (ne[1] = [
4365
- c("span", { class: "hamburger-icon" }, null, -1)
4366
+ u("span", { class: "hamburger-icon" }, null, -1)
4366
4367
  ])]),
4367
- c("h1", fl, g(i(a)[0].ch), 1),
4368
- c("button", {
4368
+ u("h1", fl, g(i(a)[0].ch), 1),
4369
+ u("button", {
4369
4370
  class: "search-toggle",
4370
4371
  onClick: S
4371
4372
  }, [...ne[2] || (ne[2] = [
4372
- c("svg", {
4373
+ u("svg", {
4373
4374
  xmlns: "http://www.w3.org/2000/svg",
4374
4375
  width: "24",
4375
4376
  height: "24",
@@ -4380,12 +4381,12 @@ const Pt = {
4380
4381
  "stroke-linecap": "round",
4381
4382
  "stroke-linejoin": "round"
4382
4383
  }, [
4383
- c("circle", {
4384
+ u("circle", {
4384
4385
  cx: "11",
4385
4386
  cy: "11",
4386
4387
  r: "8"
4387
4388
  }),
4388
- c("line", {
4389
+ u("line", {
4389
4390
  x1: "21",
4390
4391
  y1: "21",
4391
4392
  x2: "16.65",
@@ -4395,21 +4396,21 @@ const Pt = {
4395
4396
  ])])
4396
4397
  ])
4397
4398
  ]),
4398
- c("div", {
4399
+ u("div", {
4399
4400
  class: J(["search-panel", { active: r.value }])
4400
4401
  }, [
4401
- c("div", ml, [
4402
- c("div", hl, [
4403
- G(c("input", {
4402
+ u("div", ml, [
4403
+ u("div", hl, [
4404
+ G(u("input", {
4404
4405
  type: "text",
4405
- "onUpdate:modelValue": ne[0] || (ne[0] = (te) => u.value = te),
4406
+ "onUpdate:modelValue": ne[0] || (ne[0] = (te) => c.value = te),
4406
4407
  placeholder: "搜索小说内容...",
4407
4408
  class: "search-input",
4408
4409
  onInput: P
4409
4410
  }, null, 544), [
4410
- [ce, u.value]
4411
+ [ce, c.value]
4411
4412
  ]),
4412
- c("button", {
4413
+ u("button", {
4413
4414
  class: "close-search",
4414
4415
  onClick: L
4415
4416
  }, "×")
@@ -4420,31 +4421,31 @@ const Pt = {
4420
4421
  class: "search-result-item",
4421
4422
  onClick: (Ae) => U(te)
4422
4423
  }, [
4423
- c("div", yl, g(te.li), 1),
4424
- c("div", {
4424
+ u("div", yl, g(te.li), 1),
4425
+ u("div", {
4425
4426
  class: "result-preview",
4426
4427
  innerHTML: te.preview
4427
4428
  }, null, 8, bl)
4428
4429
  ], 8, vl))), 128))
4429
- ])) : u.value && _.value.length === 0 ? (f(), m("div", _l, " 未找到相关内容 ")) : R("", !0)
4430
+ ])) : c.value && _.value.length === 0 ? (f(), m("div", _l, " 未找到相关内容 ")) : R("", !0)
4430
4431
  ])
4431
4432
  ], 2),
4432
- c("div", $l, [
4433
- c("aside", {
4433
+ u("div", $l, [
4434
+ u("aside", {
4434
4435
  class: J(["sidebar", { active: l.value }])
4435
4436
  }, [
4436
- c("div", kl, [
4437
- c("h2", wl, g(i(a)[0].ch), 1),
4437
+ u("div", kl, [
4438
+ u("h2", wl, g(i(a)[0].ch), 1),
4438
4439
  (f(!0), m(I, null, Q(i(a)[0].cc, (te) => (f(), m("div", {
4439
4440
  key: te.sn,
4440
4441
  class: "volume-item"
4441
4442
  }, [
4442
- c("div", {
4443
+ u("div", {
4443
4444
  class: "volume-header",
4444
4445
  onClick: (ue) => w(te.sn)
4445
4446
  }, [
4446
- c("h3", Sl, g(te.cl), 1),
4447
- c("span", {
4447
+ u("h3", Sl, g(te.cl), 1),
4448
+ u("span", {
4448
4449
  class: J(["toggle-icon", {
4449
4450
  expanded: h.value.includes(
4450
4451
  te.sn
@@ -4452,7 +4453,7 @@ const Pt = {
4452
4453
  }])
4453
4454
  }, " ▼ ", 2)
4454
4455
  ], 8, jl),
4455
- G(c("ul", xl, [
4456
+ G(u("ul", xl, [
4456
4457
  (f(!0), m(I, null, Q(te.cc, (ue) => (f(), m("li", {
4457
4458
  key: ue.sn,
4458
4459
  class: J(["chapter-item", {
@@ -4466,41 +4467,41 @@ const Pt = {
4466
4467
  ]))), 128))
4467
4468
  ])
4468
4469
  ], 2),
4469
- c("main", Cl, [
4470
- c("div", Ol, [
4471
- c("div", Al, [
4472
- c("h2", Ml, g(v.value.li), 1),
4473
- c("div", Tl, [
4474
- c("span", null, " 第" + g(y.value + 1) + "章 ", 1),
4470
+ u("main", Cl, [
4471
+ u("div", Ol, [
4472
+ u("div", Al, [
4473
+ u("h2", Ml, g(v.value.li), 1),
4474
+ u("div", Tl, [
4475
+ u("span", null, " 第" + g(y.value + 1) + "章 ", 1),
4475
4476
  (f(!0), m(I, null, Q(Object.keys(v.value), (te) => (f(), m(I, null, [
4476
4477
  v.value[te] && !["co", "li", "sn", "ty"].includes(te) ? (f(), m("span", zl, g(v.value[te]), 1)) : R("", !0)
4477
4478
  ], 64))), 256))
4478
4479
  ])
4479
4480
  ]),
4480
- c("div", {
4481
+ u("div", {
4481
4482
  class: "chapter-content",
4482
4483
  style: Z({ fontSize: p.value + "px" })
4483
4484
  }, g(v.value.co), 5),
4484
- c("div", Ll, [
4485
- c("button", {
4485
+ u("div", Ll, [
4486
+ u("button", {
4486
4487
  class: "control-btn prev-next-btn",
4487
4488
  onClick: x,
4488
4489
  disabled: !b.value
4489
4490
  }, " 上一章 ", 8, Ul),
4490
- c("div", El, [
4491
- c("button", {
4491
+ u("div", El, [
4492
+ u("button", {
4492
4493
  class: "font-btn",
4493
4494
  onClick: z,
4494
4495
  disabled: p.value <= 12
4495
4496
  }, " A- ", 8, Il),
4496
- c("span", Dl, g(p.value) + "px", 1),
4497
- c("button", {
4497
+ u("span", Dl, g(p.value) + "px", 1),
4498
+ u("button", {
4498
4499
  class: "font-btn",
4499
4500
  onClick: M,
4500
4501
  disabled: p.value >= 24
4501
4502
  }, " A+ ", 8, Rl)
4502
4503
  ]),
4503
- c("button", {
4504
+ u("button", {
4504
4505
  class: "control-btn prev-next-btn",
4505
4506
  onClick: C,
4506
4507
  disabled: !k.value
@@ -4510,11 +4511,11 @@ const Pt = {
4510
4511
  ])
4511
4512
  ]),
4512
4513
  d.value ? (f(), m("div", Wl, [
4513
- c("button", {
4514
+ u("button", {
4514
4515
  class: "fab-btn",
4515
4516
  onClick: O
4516
4517
  }, [...ne[3] || (ne[3] = [
4517
- c("svg", {
4518
+ u("svg", {
4518
4519
  xmlns: "http://www.w3.org/2000/svg",
4519
4520
  width: "24",
4520
4521
  height: "24",
@@ -4525,19 +4526,19 @@ const Pt = {
4525
4526
  "stroke-linecap": "round",
4526
4527
  "stroke-linejoin": "round"
4527
4528
  }, [
4528
- c("line", {
4529
+ u("line", {
4529
4530
  x1: "3",
4530
4531
  y1: "12",
4531
4532
  x2: "21",
4532
4533
  y2: "12"
4533
4534
  }),
4534
- c("line", {
4535
+ u("line", {
4535
4536
  x1: "3",
4536
4537
  y1: "6",
4537
4538
  x2: "21",
4538
4539
  y2: "6"
4539
4540
  }),
4540
- c("line", {
4541
+ u("line", {
4541
4542
  x1: "3",
4542
4543
  y1: "18",
4543
4544
  x2: "21",
@@ -4567,7 +4568,7 @@ const Pt = {
4567
4568
  return (a, s) => {
4568
4569
  const l = ve("dbpointerdown");
4569
4570
  return i(n).pagebusy ? G((f(), m("div", Vl, [
4570
- c("div", {
4571
+ u("div", {
4571
4572
  class: "as-pagebusy-spin",
4572
4573
  style: Z({
4573
4574
  width: "68px",
@@ -4575,7 +4576,7 @@ const Pt = {
4575
4576
  ...i(n).pagebusy?.style || {}
4576
4577
  })
4577
4578
  }, null, 4),
4578
- c("div", Nl, g(i(n).pagebusy?.v), 1)
4579
+ u("div", Nl, g(i(n).pagebusy?.v), 1)
4579
4580
  ])), [
4580
4581
  [
4581
4582
  l,
@@ -4649,10 +4650,10 @@ const Pt = {
4649
4650
  }
4650
4651
  return (r, d) => (f(), m("i", Jl, [
4651
4652
  t.showtype === "filter" ? (f(), m("i", Gl, [
4652
- c("img", {
4653
+ u("img", {
4653
4654
  style: Z(l()),
4654
4655
  src: o.value,
4655
- onError: d[0] || (d[0] = (u) => a())
4656
+ onError: d[0] || (d[0] = (c) => a())
4656
4657
  }, null, 44, Ql)
4657
4658
  ])) : (f(), m("i", {
4658
4659
  key: 1,
@@ -4674,24 +4675,24 @@ const Pt = {
4674
4675
  setup(t, { emit: e }) {
4675
4676
  const n = t, { $fn: o } = n.ujt, a = e, s = V(null);
4676
4677
  function l(d) {
4677
- const u = d.target.files[0];
4678
- !n.opt?.size || u.size <= n.opt?.size ? o.As.readFile(u).then((p) => {
4678
+ const c = d.target.files[0];
4679
+ !n.opt?.size || c.size <= n.opt?.size ? o.As.readFile(c).then((p) => {
4679
4680
  o.api.webserver.apiPost(
4680
4681
  `/api/asaifile/manage/upbase64/?path=${n.opt.path}`,
4681
4682
  p
4682
4683
  ).then((h) => {
4683
- a("onUpload", h?.data, u), s.value.value = "";
4684
+ a("onUpload", h?.data, c), s.value.value = "";
4684
4685
  });
4685
- }) : (a("onUpload", "", u), s.value.value = "");
4686
+ }) : (a("onUpload", "", c), s.value.value = "");
4686
4687
  }
4687
4688
  function r() {
4688
4689
  s.value.click();
4689
4690
  }
4690
- return (d, u) => (f(), m("div", {
4691
+ return (d, c) => (f(), m("div", {
4691
4692
  class: "as-upload-file",
4692
- onPointerdown: u[0] || (u[0] = (p) => r())
4693
+ onPointerdown: c[0] || (c[0] = (p) => r())
4693
4694
  }, [
4694
- c("input", {
4695
+ u("input", {
4695
4696
  hidden: "",
4696
4697
  ref_key: "rfUploadDom",
4697
4698
  ref: s,
@@ -4717,25 +4718,25 @@ const Pt = {
4717
4718
  setup(t, { emit: e }) {
4718
4719
  const n = t, { $fn: o } = n.ujt, a = e, s = V(null);
4719
4720
  function l(d) {
4720
- const u = d.target.files[0];
4721
- if (u)
4722
- if (!n.opt?.size || u.size <= n.opt?.size) {
4721
+ const c = d.target.files[0];
4722
+ if (c)
4723
+ if (!n.opt?.size || c.size <= n.opt?.size) {
4723
4724
  const p = new FileReader();
4724
4725
  p.onload = (h) => {
4725
4726
  const v = h.target?.result;
4726
- a("onUpload", v, u), s.value.value = "";
4727
- }, p.readAsText(u);
4727
+ a("onUpload", v, c), s.value.value = "";
4728
+ }, p.readAsText(c);
4728
4729
  } else
4729
- a("onUpload", "", u), s.value.value = "";
4730
+ a("onUpload", "", c), s.value.value = "";
4730
4731
  }
4731
4732
  function r() {
4732
4733
  s.value.click();
4733
4734
  }
4734
- return (d, u) => (f(), m("div", {
4735
+ return (d, c) => (f(), m("div", {
4735
4736
  class: "as-upload-txt",
4736
- onPointerdown: u[0] || (u[0] = (p) => r())
4737
+ onPointerdown: c[0] || (c[0] = (p) => r())
4737
4738
  }, [
4738
- c("input", {
4739
+ u("input", {
4739
4740
  hidden: "",
4740
4741
  ref_key: "rfUploadDom",
4741
4742
  ref: s,
@@ -4764,12 +4765,12 @@ const Pt = {
4764
4765
  return (o, a) => {
4765
4766
  const s = E("UserCard");
4766
4767
  return f(), m("div", ui, [
4767
- c("div", di, [
4768
- a[0] || (a[0] = c("div", { class: "error-code" }, "404", -1)),
4768
+ u("div", di, [
4769
+ a[0] || (a[0] = u("div", { class: "error-code" }, "404", -1)),
4769
4770
  i(n).lang?.asai?.page?.page404 ? (f(), m("h1", pi, g(i(n).lang?.asai?.page?.page404 || "页面未找到"), 1)) : R("", !0),
4770
- c("p", fi, g(i(n).lang?.asai?.page?.reason404 || "Sorry, Page not found!"), 1)
4771
+ u("p", fi, g(i(n).lang?.asai?.page?.reason404 || "Sorry, Page not found!"), 1)
4771
4772
  ]),
4772
- c("div", mi, [
4773
+ u("div", mi, [
4773
4774
  W(s, { ujt: t.ujt }, null, 8, ["ujt"])
4774
4775
  ])
4775
4776
  ]);
@@ -4840,7 +4841,7 @@ const Pt = {
4840
4841
  set(C) {
4841
4842
  s("update:modelValue", C);
4842
4843
  }
4843
- }), r = V(""), d = V(""), u = V(null), p = V(null), h = V({
4844
+ }), r = V(""), d = V(""), c = V(null), p = V(null), h = V({
4844
4845
  x: 0,
4845
4846
  y: 0,
4846
4847
  width: 0,
@@ -4870,7 +4871,7 @@ const Pt = {
4870
4871
  r.value = P.target.result, d.value = "";
4871
4872
  }, z.readAsDataURL(M);
4872
4873
  }, b = () => {
4873
- const C = u.value, M = p.value;
4874
+ const C = c.value, M = p.value;
4874
4875
  if (!C || !M)
4875
4876
  return;
4876
4877
  const z = Math.min(M.clientWidth, C.naturalWidth), P = Math.min(M.clientHeight, C.naturalHeight), U = Math.min(z * 0.8, C.naturalWidth), H = Math.min(P * 0.8, C.naturalHeight);
@@ -4951,7 +4952,7 @@ const Pt = {
4951
4952
  }, L = () => {
4952
4953
  v.value.type = null, window.removeEventListener("mousemove", O), window.removeEventListener("touchmove", O), window.removeEventListener("mousemove", S), window.removeEventListener("touchmove", S), window.removeEventListener("mouseup", L), window.removeEventListener("touchend", L);
4953
4954
  }, w = () => {
4954
- const C = u.value, M = C.naturalWidth / C.width, z = C.naturalHeight / C.height, P = Math.min(
4955
+ const C = c.value, M = C.naturalWidth / C.width, z = C.naturalHeight / C.height, P = Math.min(
4955
4956
  h.value.width * M,
4956
4957
  C.naturalWidth
4957
4958
  ), U = Math.min(
@@ -4982,49 +4983,49 @@ const Pt = {
4982
4983
  });
4983
4984
  };
4984
4985
  return (C, M) => (f(), m("div", wi, [
4985
- c("input", {
4986
+ u("input", {
4986
4987
  type: "file",
4987
4988
  accept: "image/*",
4988
4989
  onChange: y
4989
4990
  }, null, 32),
4990
4991
  r.value ? (f(), m("div", ji, [
4991
- c("div", {
4992
+ u("div", {
4992
4993
  class: "preview-container",
4993
4994
  ref_key: "previewContainer",
4994
4995
  ref: p
4995
4996
  }, [
4996
- c("img", {
4997
+ u("img", {
4997
4998
  ref_key: "previewImage",
4998
- ref: u,
4999
+ ref: c,
4999
5000
  src: r.value,
5000
5001
  onLoad: b
5001
5002
  }, null, 40, Si),
5002
- G(c("div", {
5003
+ G(u("div", {
5003
5004
  class: "crop-box",
5004
5005
  style: Z(_.value),
5005
5006
  onPointerdown: M[8] || (M[8] = q((z) => k("move"), ["prevent"])),
5006
5007
  onTouchstart: M[9] || (M[9] = q(() => {
5007
5008
  }, ["prevent"]))
5008
5009
  }, [
5009
- c("div", {
5010
+ u("div", {
5010
5011
  class: "crop-handle top-left",
5011
5012
  onPointerdown: M[0] || (M[0] = q((z) => k("resize", "tl"), ["stop"])),
5012
5013
  onTouchstart: M[1] || (M[1] = q(() => {
5013
5014
  }, ["stop"]))
5014
5015
  }, null, 32),
5015
- c("div", {
5016
+ u("div", {
5016
5017
  class: "crop-handle top-right",
5017
5018
  onPointerdown: M[2] || (M[2] = q((z) => k("resize", "tr"), ["stop"])),
5018
5019
  onTouchstart: M[3] || (M[3] = q(() => {
5019
5020
  }, ["stop"]))
5020
5021
  }, null, 32),
5021
- c("div", {
5022
+ u("div", {
5022
5023
  class: "crop-handle bottom-left",
5023
5024
  onPointerdown: M[4] || (M[4] = q((z) => k("resize", "bl"), ["stop"])),
5024
5025
  onTouchstart: M[5] || (M[5] = q(() => {
5025
5026
  }, ["stop"]))
5026
5027
  }, null, 32),
5027
- c("div", {
5028
+ u("div", {
5028
5029
  class: "crop-handle bottom-right",
5029
5030
  onPointerdown: M[6] || (M[6] = q((z) => k("resize", "br"), ["stop"])),
5030
5031
  onTouchstart: M[7] || (M[7] = q(() => {
@@ -5034,8 +5035,8 @@ const Pt = {
5034
5035
  [Le, $.value]
5035
5036
  ])
5036
5037
  ], 512),
5037
- c("div", xi, [
5038
- c("button", {
5038
+ u("div", xi, [
5039
+ u("button", {
5039
5040
  onPointerdown: w,
5040
5041
  onTouchstart: M[10] || (M[10] = q(() => {
5041
5042
  }, ["stop"]))
@@ -5054,7 +5055,7 @@ const Pt = {
5054
5055
  }, g(i(o).lg("asai.upload")), 33)) : R("", !0)
5055
5056
  ]),
5056
5057
  d.value ? (f(), m("div", Pi, [
5057
- c("img", { src: d.value }, null, 8, Ci)
5058
+ u("img", { src: d.value }, null, 8, Ci)
5058
5059
  ])) : R("", !0)
5059
5060
  ])) : R("", !0)
5060
5061
  ]));
@@ -5100,31 +5101,31 @@ const Pt = {
5100
5101
  const d = E("AsaiForm");
5101
5102
  return f(), m("div", Ti, [
5102
5103
  t.asaidata.btn ? (f(), m("div", zi, [
5103
- c("button", {
5104
- onPointerdown: r[0] || (r[0] = (u) => o())
5104
+ u("button", {
5105
+ onPointerdown: r[0] || (r[0] = (c) => o())
5105
5106
  }, g(i(n).lg("asai.read")), 33),
5106
- G(c("input", {
5107
+ G(u("input", {
5107
5108
  type: "text",
5108
- "onUpdate:modelValue": r[1] || (r[1] = (u) => t.asaidata.path = u)
5109
+ "onUpdate:modelValue": r[1] || (r[1] = (c) => t.asaidata.path = c)
5109
5110
  }, null, 512), [
5110
5111
  [ce, t.asaidata.path]
5111
5112
  ]),
5112
5113
  t.asaidata.list?.length ? G((f(), m("select", {
5113
5114
  key: 0,
5114
- "onUpdate:modelValue": r[2] || (r[2] = (u) => t.asaidata.path = u)
5115
+ "onUpdate:modelValue": r[2] || (r[2] = (c) => t.asaidata.path = c)
5115
5116
  }, [
5116
- (f(!0), m(I, null, Q(t.asaidata.list, (u) => (f(), m("option", {
5117
- value: u.value
5118
- }, g(u.label), 9, Li))), 256))
5117
+ (f(!0), m(I, null, Q(t.asaidata.list, (c) => (f(), m("option", {
5118
+ value: c.value
5119
+ }, g(c.label), 9, Li))), 256))
5119
5120
  ], 512)), [
5120
5121
  [be, t.asaidata.path]
5121
5122
  ]) : R("", !0)
5122
5123
  ])) : R("", !0),
5123
- c("div", Ui, [
5124
+ u("div", Ui, [
5124
5125
  t.asaidata.ty == "txt" ? G((f(), m("textarea", {
5125
5126
  key: 0,
5126
5127
  class: "as-json-txt",
5127
- "onUpdate:modelValue": r[3] || (r[3] = (u) => t.asaidata.data = u)
5128
+ "onUpdate:modelValue": r[3] || (r[3] = (c) => t.asaidata.data = c)
5128
5129
  }, null, 512)), [
5129
5130
  [ce, t.asaidata.data]
5130
5131
  ]) : (f(), m(I, { key: 1 }, [
@@ -5137,11 +5138,11 @@ const Pt = {
5137
5138
  ], 64))
5138
5139
  ]),
5139
5140
  t.asaidata.btn ? (f(), m("div", Ei, [
5140
- c("button", {
5141
- onPointerdown: r[4] || (r[4] = (u) => s())
5141
+ u("button", {
5142
+ onPointerdown: r[4] || (r[4] = (c) => s())
5142
5143
  }, g(i(n).lg("asai.submit")), 33),
5143
- c("button", {
5144
- onPointerdown: r[5] || (r[5] = (u) => a())
5144
+ u("button", {
5145
+ onPointerdown: r[5] || (r[5] = (c) => a())
5145
5146
  }, g(i(n).lg("asai.del")), 33)
5146
5147
  ])) : R("", !0)
5147
5148
  ]);
@@ -5214,7 +5215,7 @@ const Pt = {
5214
5215
  class: "as-ed-for-item",
5215
5216
  key: d
5216
5217
  }, [
5217
- c("div", Hi, [
5218
+ u("div", Hi, [
5218
5219
  W(Pe, {
5219
5220
  cval: t.cval,
5220
5221
  ckey: d,
@@ -5234,19 +5235,19 @@ const Pt = {
5234
5235
  }, null, 8, ["cval", "ckey", "cdata"])
5235
5236
  ]))), 128))
5236
5237
  ])) : o.value === "array" ? (f(), m("div", qi, [
5237
- c("div", {
5238
+ u("div", {
5238
5239
  class: "as-ed-mg",
5239
5240
  onPointerdown: a
5240
5241
  }, "+ " + g(t.ckey), 33),
5241
- c("div", Bi, [
5242
- (f(!0), m(I, null, Q(t.cdata[t.ckey], (d, u) => (f(), m("div", {
5242
+ u("div", Bi, [
5243
+ (f(!0), m(I, null, Q(t.cdata[t.ckey], (d, c) => (f(), m("div", {
5243
5244
  class: "as-ed-for-item",
5244
- key: u
5245
+ key: c
5245
5246
  }, [
5246
- c("div", Vi, [
5247
+ u("div", Vi, [
5247
5248
  W(Pe, {
5248
5249
  cval: t.cval,
5249
- ckey: u,
5250
+ ckey: c,
5250
5251
  cdata: t.cdata[t.ckey]
5251
5252
  }, null, 8, ["cval", "ckey", "cdata"])
5252
5253
  ])
@@ -5292,21 +5293,21 @@ const Pt = {
5292
5293
  key: 0,
5293
5294
  to: "#popteleport"
5294
5295
  }, [
5295
- c("div", Ki, [
5296
- c("button", {
5296
+ u("div", Ki, [
5297
+ u("button", {
5297
5298
  class: "as-floating-button",
5298
5299
  onPointerdown: s
5299
5300
  }, [
5300
5301
  a.value ? (f(), m("span", Ji, "×")) : (f(), m("span", Gi, "☰"))
5301
5302
  ], 32),
5302
- c("ul", {
5303
+ u("ul", {
5303
5304
  class: J(["as-floating-menus", { open: a.value }])
5304
5305
  }, [
5305
- (f(!0), m(I, null, Q(l.value, (u, p) => (f(), m("li", {
5306
+ (f(!0), m(I, null, Q(l.value, (c, p) => (f(), m("li", {
5306
5307
  key: "menu" + p,
5307
- class: J(`${u.type === "module" ? "module " : ""}${u.value && i(o).location.hash.includes(u.value) ? "active" : ""}`),
5308
- onPointerup: (h) => u.value ? i(n).sethash(u.value) : u?.fn?.()
5309
- }, g(p + 1) + ". " + g(u.label || u.value), 43, Qi))), 128))
5308
+ class: J(`${c.type === "module" ? "module " : ""}${c.value && i(o).location.hash.includes(c.value) ? "active" : ""}`),
5309
+ onPointerup: (h) => c.value ? i(n).sethash(c.value) : c?.fn?.()
5310
+ }, g(p + 1) + ". " + g(c.label || c.value), 43, Qi))), 128))
5310
5311
  ], 2)
5311
5312
  ])
5312
5313
  ])) : R("", !0);
@@ -5387,8 +5388,8 @@ const Pt = {
5387
5388
  const e = t, n = V(null), o = V(0), a = V(0), s = V(0), l = V(
5388
5389
  new Array(e.items.length).fill(Math.round(e.itemHeight))
5389
5390
  ), r = /* @__PURE__ */ new Map(), d = X(() => Math.round(
5390
- e.items.reduce(($, y, b) => $ + u(b), 0)
5391
- )), u = ($) => $ < 0 || $ >= e.items.length ? 0 : Math.round(l.value[$] ?? e.itemHeight), p = () => {
5391
+ e.items.reduce(($, y, b) => $ + c(b), 0)
5392
+ )), c = ($) => $ < 0 || $ >= e.items.length ? 0 : Math.round(l.value[$] ?? e.itemHeight), p = () => {
5392
5393
  if (!n.value)
5393
5394
  return {
5394
5395
  start: 0,
@@ -5421,7 +5422,7 @@ const Pt = {
5421
5422
  y--;
5422
5423
  let b = y > 0 ? r.get(y) : 0;
5423
5424
  for (let O = y; O < $; O++)
5424
- b += u(O);
5425
+ b += c(O);
5425
5426
  const k = Math.round(b);
5426
5427
  return r.set($, k), k;
5427
5428
  }, _ = () => {
@@ -5454,7 +5455,7 @@ const Pt = {
5454
5455
  ref: n,
5455
5456
  style: { height: "100%" }
5456
5457
  }, [
5457
- c("div", {
5458
+ u("div", {
5458
5459
  class: "virtual-list-wrapper",
5459
5460
  style: Z({ height: d.value + "px" })
5460
5461
  }, [
@@ -5488,16 +5489,16 @@ const Pt = {
5488
5489
  }
5489
5490
  },
5490
5491
  setup(t, { expose: e }) {
5491
- const n = t, o = V(null), a = V(0), s = V([]), l = V(10), r = X(() => n.items.reduce((b, k, O) => b + d(O), 0)), d = (b) => s.value[b] || n.itemHeight, u = X(
5492
+ const n = t, o = V(null), a = V(0), s = V([]), l = V(10), r = X(() => n.items.reduce((b, k, O) => b + d(O), 0)), d = (b) => s.value[b] || n.itemHeight, c = X(
5492
5493
  () => Math.max(0, _(a.value) - n.buffer)
5493
5494
  ), p = X(
5494
5495
  () => Math.min(
5495
5496
  n.items.length,
5496
- u.value + l.value + n.buffer * 2
5497
+ c.value + l.value + n.buffer * 2
5497
5498
  )
5498
5499
  ), h = X(
5499
- () => n.items.slice(u.value, p.value).map((b, k) => {
5500
- const O = u.value + k, S = v(O);
5500
+ () => n.items.slice(c.value, p.value).map((b, k) => {
5501
+ const O = c.value + k, S = v(O);
5501
5502
  return {
5502
5503
  index: O,
5503
5504
  id: b.id || O,
@@ -5518,7 +5519,7 @@ const Pt = {
5518
5519
  });
5519
5520
  }, y = () => {
5520
5521
  o.value.querySelectorAll(".virtual-list-item").forEach((k, O) => {
5521
- const S = u.value + O;
5522
+ const S = c.value + O;
5522
5523
  s.value[S] = k.offsetHeight;
5523
5524
  });
5524
5525
  };
@@ -5540,7 +5541,7 @@ const Pt = {
5540
5541
  ref_key: "container",
5541
5542
  ref: o
5542
5543
  }, [
5543
- c("div", {
5544
+ u("div", {
5544
5545
  class: "virtual-list-wrapper",
5545
5546
  style: Z({ height: r.value + "px" })
5546
5547
  }, [
@@ -5586,7 +5587,7 @@ const Pt = {
5586
5587
  ge(s), window.addEventListener("resize", l);
5587
5588
  }), _e(() => {
5588
5589
  window.removeEventListener("resize", l), clearTimeout(a);
5589
- }), (d, u) => (f(), m("div", {
5590
+ }), (d, c) => (f(), m("div", {
5590
5591
  ref_key: "containerRef",
5591
5592
  ref: o,
5592
5593
  class: "zoom-container",
@@ -5685,7 +5686,7 @@ const Pt = {
5685
5686
  key: 0,
5686
5687
  class: J(`${t.asaidata.ic ? "as-form-obj" : ""}`)
5687
5688
  }, [
5688
- c("span", {
5689
+ u("span", {
5689
5690
  class: J(`${t.asaidata.ic > 1 ? n.value ? "as-form-ico-close" : "as-form-ico-open" : ""}`),
5690
5691
  onPointerdown: a[0] || (a[0] = (l) => n.value = !n.value)
5691
5692
  }, g(t.asaidata.eq > 2 ? '"' : "") + g(e.asaidata?.lang && e.asaidata?.lang[t.formkey] || t.formkey) + g(t.asaidata.eq > 2 ? '"' : "") + g(t.asaidata.eq ? ":" : ""), 35),
@@ -5725,7 +5726,7 @@ const Pt = {
5725
5726
  }, {
5726
5727
  default: le(() => [
5727
5728
  ae(g(typeof e.formdata[t.formkey] == "string" && t.asaidata.eq > 2 ? '"' : "") + " ", 1),
5728
- G(c("input", {
5729
+ G(u("input", {
5729
5730
  type: e.asaidata.rule?.[t.formkey]?.type || (typeof e.formdata[t.formkey] == "boolean" ? "checkbox" : typeof e.formdata[t.formkey] == "number" ? "number" : "string"),
5730
5731
  max: e.asaidata.rule?.[t.formkey]?.max,
5731
5732
  min: e.asaidata.rule?.[t.formkey]?.min,
@@ -5762,7 +5763,7 @@ const Pt = {
5762
5763
  function d() {
5763
5764
  s.value && (s.value.innerHTML = e.formdata[e.formkey]);
5764
5765
  }
5765
- function u(w, j = 0) {
5766
+ function c(w, j = 0) {
5766
5767
  const x = /* @__PURE__ */ new Set([
5767
5768
  "a",
5768
5769
  "figure",
@@ -5903,11 +5904,11 @@ const Pt = {
5903
5904
  }
5904
5905
  function k(w) {
5905
5906
  w.preventDefault();
5906
- const j = w.clipboardData?.getData("text/html") || "", x = u(j, 1) || w.clipboardData?.getData("text/plain") || "";
5907
+ const j = w.clipboardData?.getData("text/html") || "", x = c(j, 1) || w.clipboardData?.getData("text/plain") || "";
5907
5908
  S("insertHTML", x);
5908
5909
  }
5909
5910
  function O(w) {
5910
- s.value && (e.formdata[e.formkey] = u(
5911
+ s.value && (e.formdata[e.formkey] = c(
5911
5912
  s.value.innerHTML
5912
5913
  ));
5913
5914
  }
@@ -5921,109 +5922,109 @@ const Pt = {
5921
5922
  class: "as-richtext-area",
5922
5923
  style: Z(e.asaidata.rule?.[e.formkey]?.style || {})
5923
5924
  }, [
5924
- c("div", kr, [
5925
- c("select", {
5925
+ u("div", kr, [
5926
+ u("select", {
5926
5927
  onChange: j[0] || (j[0] = (x) => S("fontSize", x.target.value))
5927
5928
  }, [
5928
- c("option", wr, g(i(n).lang.richtexteditor.fontsize), 1),
5929
- (f(), m(I, null, Q(8, (x) => c("option", {
5929
+ u("option", wr, g(i(n).lang.richtexteditor.fontsize), 1),
5930
+ (f(), m(I, null, Q(8, (x) => u("option", {
5930
5931
  key: "size" + x,
5931
5932
  value: x * (x - 1) + 8
5932
5933
  }, g(x * (x - 1) + 8) + "px ", 9, jr)), 64))
5933
5934
  ], 32),
5934
- c("select", {
5935
+ u("select", {
5935
5936
  onChange: j[1] || (j[1] = (x) => S("formatBlock", x.target.value))
5936
5937
  }, [
5937
- c("option", Sr, g(i(n).lang.richtexteditor.paragraph), 1),
5938
- (f(), m(I, null, Q(6, (x) => c("option", {
5938
+ u("option", Sr, g(i(n).lang.richtexteditor.paragraph), 1),
5939
+ (f(), m(I, null, Q(6, (x) => u("option", {
5939
5940
  key: "h" + x,
5940
5941
  value: "h" + x
5941
5942
  }, g(i(n).lang.richtexteditor.title) + g(x), 9, xr)), 64))
5942
5943
  ], 32),
5943
- c("button", {
5944
+ u("button", {
5944
5945
  onPointerdown: j[2] || (j[2] = (x) => S("bold")),
5945
5946
  title: i(n).lang.richtexteditor.bold
5946
5947
  }, " B ", 40, Pr),
5947
- c("button", {
5948
+ u("button", {
5948
5949
  onPointerdown: j[3] || (j[3] = (x) => S("underline")),
5949
5950
  title: i(n).lang.richtexteditor.underline
5950
5951
  }, " U ", 40, Cr),
5951
- c("button", {
5952
+ u("button", {
5952
5953
  onPointerdown: j[4] || (j[4] = (x) => S("italic")),
5953
5954
  title: i(n).lang.richtexteditor.italic
5954
5955
  }, " I ", 40, Or),
5955
- c("button", {
5956
+ u("button", {
5956
5957
  onPointerdown: j[5] || (j[5] = (x) => S("strikethrough")),
5957
5958
  title: i(n).lang.richtexteditor.strikethrough
5958
5959
  }, " S ", 40, Ar),
5959
- c("input", {
5960
+ u("input", {
5960
5961
  type: "color",
5961
5962
  onInput: j[6] || (j[6] = (x) => S("foreColor", x.target.value)),
5962
5963
  title: i(n).lang.richtexteditor.foreColor
5963
5964
  }, null, 40, Mr),
5964
- c("input", {
5965
+ u("input", {
5965
5966
  type: "color",
5966
5967
  onInput: j[7] || (j[7] = (x) => S("backColor", x.target.value)),
5967
5968
  title: i(n).lang.richtexteditor.backColor
5968
5969
  }, null, 40, Tr),
5969
- c("button", {
5970
+ u("button", {
5970
5971
  onPointerdown: j[8] || (j[8] = (x) => S("insertOrderedList")),
5971
5972
  title: i(n).lang.richtexteditor.insertOrderedList
5972
5973
  }, " 有 ", 40, zr),
5973
- c("button", {
5974
+ u("button", {
5974
5975
  onPointerdown: j[9] || (j[9] = (x) => S("insertUnorderedList")),
5975
5976
  title: i(n).lang.richtexteditor.insertUnorderedList
5976
5977
  }, " 无 ", 40, Lr),
5977
- c("button", {
5978
+ u("button", {
5978
5979
  onPointerdown: j[10] || (j[10] = (x) => S("justifyCenter")),
5979
5980
  title: "居中"
5980
5981
  }, " 中 ", 32),
5981
- c("button", {
5982
+ u("button", {
5982
5983
  onPointerdown: j[11] || (j[11] = (x) => S("justifyFull")),
5983
5984
  title: "两端对齐"
5984
5985
  }, " 两 ", 32),
5985
- c("button", {
5986
+ u("button", {
5986
5987
  onPointerdown: j[12] || (j[12] = (x) => S("justifyRight")),
5987
5988
  title: "右对齐"
5988
5989
  }, " 右 ", 32),
5989
- c("button", {
5990
+ u("button", {
5990
5991
  onPointerdown: j[13] || (j[13] = (x) => S("justifyLeft")),
5991
5992
  title: "左对齐"
5992
5993
  }, " 左 ", 32),
5993
- c("button", {
5994
+ u("button", {
5994
5995
  onPointerdown: j[14] || (j[14] = (x) => S("delete")),
5995
5996
  title: "删除"
5996
5997
  }, " 删 ", 32),
5997
- c("button", {
5998
+ u("button", {
5998
5999
  onPointerdown: j[15] || (j[15] = (x) => h()),
5999
6000
  title: "链接"
6000
6001
  }, "链", 32),
6001
- c("button", {
6002
+ u("button", {
6002
6003
  onPointerdown: j[16] || (j[16] = (x) => S("unlink")),
6003
6004
  title: "删除链接"
6004
6005
  }, " 除 ", 32),
6005
- c("button", {
6006
+ u("button", {
6006
6007
  onPointerdown: j[17] || (j[17] = (x) => v("image")),
6007
6008
  title: "图片"
6008
6009
  }, "🖼️", 32),
6009
- c("button", {
6010
+ u("button", {
6010
6011
  onPointerdown: j[18] || (j[18] = (x) => v("video")),
6011
6012
  title: "视频"
6012
6013
  }, "🎬", 32),
6013
- c("button", {
6014
+ u("button", {
6014
6015
  onPointerdown: j[19] || (j[19] = (x) => v("file")),
6015
6016
  title: "文件"
6016
6017
  }, "📎", 32),
6017
- c("button", {
6018
+ u("button", {
6018
6019
  onPointerdown: b,
6019
6020
  title: "上传"
6020
6021
  }, "上", 32),
6021
- c("button", {
6022
+ u("button", {
6022
6023
  onPointerdown: j[20] || (j[20] = (x) => L()),
6023
6024
  title: "切换"
6024
6025
  }, "HTML", 32)
6025
6026
  ]),
6026
- c("div", Ur, [
6027
+ u("div", Ur, [
6027
6028
  r.value != 1 ? (f(), m("div", {
6028
6029
  key: 0,
6029
6030
  style: Z({ width: r.value > 1 ? "50%" : "100%" }),
@@ -6044,7 +6045,7 @@ const Pt = {
6044
6045
  [ce, e.formdata[e.formkey]]
6045
6046
  ]) : R("", !0)
6046
6047
  ]),
6047
- c("input", {
6048
+ u("input", {
6048
6049
  ref_key: "fileInput",
6049
6050
  ref: a,
6050
6051
  type: "file",
@@ -6077,7 +6078,7 @@ const Pt = {
6077
6078
  formkey: t.formkey
6078
6079
  }, {
6079
6080
  default: le(() => [
6080
- G(c("select", {
6081
+ G(u("select", {
6081
6082
  "onUpdate:modelValue": s[0] || (s[0] = (r) => e.formdata[t.formkey] = r)
6082
6083
  }, [
6083
6084
  (f(!0), m(I, null, Q(o.value, (r) => (f(), m("option", {
@@ -6122,7 +6123,7 @@ const Pt = {
6122
6123
  }
6123
6124
  }
6124
6125
  };
6125
- function u() {
6126
+ function c() {
6126
6127
  s.value.click();
6127
6128
  }
6128
6129
  return (p, h) => {
@@ -6150,9 +6151,9 @@ const Pt = {
6150
6151
  hidden: "",
6151
6152
  onChange: d
6152
6153
  }, null, 544)),
6153
- c("div", {
6154
+ u("div", {
6154
6155
  class: "as-upload-image",
6155
- onClickOnce: q(u, ["stop", "prevent"])
6156
+ onClickOnce: q(c, ["stop", "prevent"])
6156
6157
  }, [
6157
6158
  e.formdata[t.formkey] ? (f(), m("div", Hr, [
6158
6159
  t.asaidata?.rule?.[t.formkey]?.accept?.startsWith("image/") ? (f(), m("img", {
@@ -6215,7 +6216,7 @@ const Pt = {
6215
6216
  }, h.readAsDataURL(l.value);
6216
6217
  }
6217
6218
  };
6218
- function u() {
6219
+ function c() {
6219
6220
  s.value.click();
6220
6221
  }
6221
6222
  return (p, h) => {
@@ -6227,9 +6228,9 @@ const Pt = {
6227
6228
  formkey: t.formkey
6228
6229
  }, {
6229
6230
  default: le(() => [
6230
- c("div", {
6231
+ u("div", {
6231
6232
  class: "as-upload-image",
6232
- onPointerdown: q(u, ["prevent"])
6233
+ onPointerdown: q(c, ["prevent"])
6233
6234
  }, [
6234
6235
  e.formdata[t.formkey] ? (f(), m("div", Xr, [
6235
6236
  t.asaidata?.rule?.[t.formkey]?.accept?.startsWith("image/") ? (f(), m("img", {
@@ -6290,7 +6291,7 @@ const Pt = {
6290
6291
  const h = new FileReader();
6291
6292
  h.onload = async () => {
6292
6293
  try {
6293
- u({
6294
+ c({
6294
6295
  base64Data: h.result,
6295
6296
  asaidata: e.asaidata,
6296
6297
  formdata: e.formdata,
@@ -6308,7 +6309,7 @@ const Pt = {
6308
6309
  function d() {
6309
6310
  a.value.click();
6310
6311
  }
6311
- function u(p) {
6312
+ function c(p) {
6312
6313
  o.pop.popupload.stat = 1, o.pop.popupload.tit = n.lg("asai.upload"), o.pop.popupload.params = p;
6313
6314
  }
6314
6315
  return (p, h) => {
@@ -6322,12 +6323,12 @@ const Pt = {
6322
6323
  formkey: t.formkey
6323
6324
  }, {
6324
6325
  default: le(() => [
6325
- c("div", {
6326
+ u("div", {
6326
6327
  class: "as-upload-image",
6327
6328
  onPointerdown: q(d, ["prevent"])
6328
6329
  }, [
6329
6330
  e.formdata[t.formkey] ? (f(), m("div", tc, [
6330
- c("img", {
6331
+ u("img", {
6331
6332
  src: e.formdata[t.formkey]
6332
6333
  }, null, 8, nc)
6333
6334
  ])) : (f(), m("div", {
@@ -6336,7 +6337,7 @@ const Pt = {
6336
6337
  title: l.value
6337
6338
  }, g(l.value), 11, oc))
6338
6339
  ], 32),
6339
- c("input", {
6340
+ u("input", {
6340
6341
  accept: "image/*",
6341
6342
  ref_key: "rfInputFile",
6342
6343
  ref: a,
@@ -6379,7 +6380,7 @@ const Pt = {
6379
6380
  originalWidth: 0,
6380
6381
  originalHeight: 0,
6381
6382
  direction: null
6382
- }), u = X(() => ({
6383
+ }), c = X(() => ({
6383
6384
  transform: `translate(${r.value.x}px, ${r.value.y}px)`,
6384
6385
  width: `${r.value.width}px`,
6385
6386
  height: `${r.value.height}px`
@@ -6503,7 +6504,7 @@ const Pt = {
6503
6504
  };
6504
6505
  return (S, L) => (f(), m("div", lc, [
6505
6506
  o.value ? (f(), m("div", ic, [
6506
- c("img", {
6507
+ u("img", {
6507
6508
  ref_key: "cutImage",
6508
6509
  ref: s,
6509
6510
  src: o.value
@@ -6514,34 +6515,34 @@ const Pt = {
6514
6515
  ref_key: "previewContainer",
6515
6516
  ref: l
6516
6517
  }, [
6517
- c("img", {
6518
+ u("img", {
6518
6519
  ref_key: "previewImage",
6519
6520
  ref: a,
6520
6521
  src: e.params.base64Data,
6521
6522
  onLoad: h
6522
6523
  }, null, 40, cc),
6523
- G(c("div", {
6524
+ G(u("div", {
6524
6525
  class: "as-img-crop-box",
6525
- style: Z(u.value),
6526
+ style: Z(c.value),
6526
6527
  onMousedown: L[8] || (L[8] = q((w) => v("move"), ["prevent"])),
6527
6528
  onTouchstart: L[9] || (L[9] = q((w) => v("move"), ["prevent"]))
6528
6529
  }, [
6529
- c("div", {
6530
+ u("div", {
6530
6531
  class: "as-img-crop-handle top-left",
6531
6532
  onMousedown: L[0] || (L[0] = q((w) => v("resize", "tl"), ["stop"])),
6532
6533
  onTouchstart: L[1] || (L[1] = q((w) => v("resize", "tl"), ["stop"]))
6533
6534
  }, null, 32),
6534
- c("div", {
6535
+ u("div", {
6535
6536
  class: "as-img-crop-handle top-right",
6536
6537
  onMousedown: L[2] || (L[2] = q((w) => v("resize", "tr"), ["stop"])),
6537
6538
  onTouchstart: L[3] || (L[3] = q((w) => v("resize", "tr"), ["stop"]))
6538
6539
  }, null, 32),
6539
- c("div", {
6540
+ u("div", {
6540
6541
  class: "as-img-crop-handle bottom-left",
6541
6542
  onMousedown: L[4] || (L[4] = q((w) => v("resize", "bl"), ["stop"])),
6542
6543
  onTouchstart: L[5] || (L[5] = q((w) => v("resize", "bl"), ["stop"]))
6543
6544
  }, null, 32),
6544
- c("div", {
6545
+ u("div", {
6545
6546
  class: "as-img-crop-handle bottom-right",
6546
6547
  onMousedown: L[6] || (L[6] = q((w) => v("resize", "br"), ["stop"])),
6547
6548
  onTouchstart: L[7] || (L[7] = q((w) => v("resize", "br"), ["stop"]))
@@ -6550,10 +6551,10 @@ const Pt = {
6550
6551
  [Le, p.value]
6551
6552
  ])
6552
6553
  ], 512)),
6553
- c("div", uc, [
6554
+ u("div", uc, [
6554
6555
  o.value ? (f(), m(I, { key: 0 }, [
6555
- c("button", { onPointerdown: k }, "下载图片", 32),
6556
- c("button", { onPointerdown: O }, "确认上传", 32)
6556
+ u("button", { onPointerdown: k }, "下载图片", 32),
6557
+ u("button", { onPointerdown: O }, "确认上传", 32)
6557
6558
  ], 64)) : (f(), m("button", {
6558
6559
  key: 1,
6559
6560
  onPointerdown: b
@@ -6655,22 +6656,22 @@ const Pt = {
6655
6656
  return (n, o) => {
6656
6657
  const a = E("AsSvg");
6657
6658
  return f(), m("div", gc, [
6658
- c("div", null, [
6659
- o[0] || (o[0] = c("div", null, [
6660
- c("img", {
6659
+ u("div", null, [
6660
+ o[0] || (o[0] = u("div", null, [
6661
+ u("img", {
6661
6662
  src: "./webmodel/files/img/logo.png",
6662
6663
  width: "200"
6663
6664
  })
6664
6665
  ], -1)),
6665
- c("div", vc, [
6666
- c("div", yc, [
6666
+ u("div", vc, [
6667
+ u("div", yc, [
6667
6668
  W(a, {
6668
6669
  color: "var(--cz8)",
6669
6670
  height: "88px",
6670
6671
  src: "asai/page"
6671
6672
  })
6672
6673
  ]),
6673
- c("div", bc, g(i(e).$GYS.$webmodel.lang[i(e).$GYS.$webmodel.lang.langty].pageerr), 1)
6674
+ u("div", bc, g(i(e).$GYS.$webmodel.lang[i(e).$GYS.$webmodel.lang.langty].pageerr), 1)
6674
6675
  ])
6675
6676
  ])
6676
6677
  ]);
@@ -6688,15 +6689,15 @@ const Pt = {
6688
6689
  return (e, n) => {
6689
6690
  const o = E("AsSvg"), a = E("UserCard");
6690
6691
  return f(), m("div", kc, [
6691
- c("div", null, [
6692
- n[0] || (n[0] = c("div", null, [
6693
- c("img", {
6692
+ u("div", null, [
6693
+ n[0] || (n[0] = u("div", null, [
6694
+ u("img", {
6694
6695
  src: "./webmodel/files/img/logo.png",
6695
6696
  width: "200"
6696
6697
  })
6697
6698
  ], -1)),
6698
- c("div", wc, [
6699
- c("div", jc, [
6699
+ u("div", wc, [
6700
+ u("div", jc, [
6700
6701
  W(o, {
6701
6702
  color: "var(--ch4)",
6702
6703
  height: "88px",
@@ -6729,24 +6730,24 @@ const Pt = {
6729
6730
  return (o, a) => {
6730
6731
  const s = E("AsSvg"), l = E("UserCard");
6731
6732
  return f(), m("div", Cc, [
6732
- c("div", null, [
6733
- a[0] || (a[0] = c("div", null, [
6734
- c("img", {
6733
+ u("div", null, [
6734
+ a[0] || (a[0] = u("div", null, [
6735
+ u("img", {
6735
6736
  src: "./webmodel/files/img/logo.png",
6736
6737
  width: "200"
6737
6738
  })
6738
6739
  ], -1)),
6739
- c("div", Oc, [
6740
- c("div", Ac, [
6740
+ u("div", Oc, [
6741
+ u("div", Ac, [
6741
6742
  W(s, {
6742
6743
  color: "var(--cz8)",
6743
6744
  height: "88px",
6744
6745
  src: "asai/server"
6745
6746
  })
6746
6747
  ]),
6747
- c("div", Mc, g(i(n).lang?.asai?.page?.loadws), 1)
6748
+ u("div", Mc, g(i(n).lang?.asai?.page?.loadws), 1)
6748
6749
  ]),
6749
- c("h3", null, g(e.type), 1),
6750
+ u("h3", null, g(e.type), 1),
6750
6751
  W(l, { ujt: t.ujt }, null, 8, ["ujt"])
6751
6752
  ])
6752
6753
  ]);
@@ -6771,22 +6772,22 @@ const Pt = {
6771
6772
  return (o, a) => {
6772
6773
  const s = E("AsSvg"), l = E("UserCard");
6773
6774
  return f(), m("div", Lc, [
6774
- c("div", null, [
6775
- a[0] || (a[0] = c("div", null, [
6776
- c("img", {
6775
+ u("div", null, [
6776
+ a[0] || (a[0] = u("div", null, [
6777
+ u("img", {
6777
6778
  src: "./webmodel/files/img/logo.png",
6778
6779
  width: "200"
6779
6780
  })
6780
6781
  ], -1)),
6781
- c("div", Uc, [
6782
- c("div", Ec, [
6782
+ u("div", Uc, [
6783
+ u("div", Ec, [
6783
6784
  W(s, {
6784
6785
  color: "var(--cy8)",
6785
6786
  height: "88px",
6786
6787
  src: "asai/web"
6787
6788
  })
6788
6789
  ]),
6789
- c("div", Ic, g(i(n).lang.asai.page.loadserver), 1)
6790
+ u("div", Ic, g(i(n).lang.asai.page.loadserver), 1)
6790
6791
  ]),
6791
6792
  W(l, { ujt: t.ujt }, null, 8, ["ujt"])
6792
6793
  ])
@@ -6812,22 +6813,22 @@ const Pt = {
6812
6813
  return (o, a) => {
6813
6814
  const s = E("AsSvg"), l = E("UserCard");
6814
6815
  return f(), m("div", Fc, [
6815
- c("div", null, [
6816
- a[0] || (a[0] = c("div", null, [
6817
- c("img", {
6816
+ u("div", null, [
6817
+ a[0] || (a[0] = u("div", null, [
6818
+ u("img", {
6818
6819
  src: "./webmodel/files/img/logo.png",
6819
6820
  width: "200"
6820
6821
  })
6821
6822
  ], -1)),
6822
- c("div", Wc, [
6823
- c("div", Hc, [
6823
+ u("div", Wc, [
6824
+ u("div", Hc, [
6824
6825
  W(s, {
6825
6826
  color: "var(--cz8)",
6826
6827
  height: "88px",
6827
6828
  src: "asai/user"
6828
6829
  })
6829
6830
  ]),
6830
- c("div", qc, g(i(n).lang.asai.page.loadusertoken), 1)
6831
+ u("div", qc, g(i(n).lang.asai.page.loadusertoken), 1)
6831
6832
  ]),
6832
6833
  W(l, { ujt: t.ujt }, null, 8, ["ujt"])
6833
6834
  ])
@@ -6853,22 +6854,22 @@ const Pt = {
6853
6854
  return (o, a) => {
6854
6855
  const s = E("AsSvg"), l = E("UserCard");
6855
6856
  return f(), m("div", Nc, [
6856
- c("div", null, [
6857
- a[0] || (a[0] = c("div", null, [
6858
- c("img", {
6857
+ u("div", null, [
6858
+ a[0] || (a[0] = u("div", null, [
6859
+ u("img", {
6859
6860
  src: "./webmodel/files/img/logo.png",
6860
6861
  width: "200"
6861
6862
  })
6862
6863
  ], -1)),
6863
- c("div", Yc, [
6864
- c("div", Xc, [
6864
+ u("div", Yc, [
6865
+ u("div", Xc, [
6865
6866
  W(s, {
6866
6867
  color: "var(--cy8)",
6867
6868
  height: "88px",
6868
6869
  src: "asai/user"
6869
6870
  })
6870
6871
  ]),
6871
- c("div", Kc, g(i(n).lang.asai.page.loaduseronline), 1)
6872
+ u("div", Kc, g(i(n).lang.asai.page.loaduseronline), 1)
6872
6873
  ]),
6873
6874
  W(l, { ujt: t.ujt }, null, 8, ["ujt"])
6874
6875
  ])
@@ -6895,24 +6896,24 @@ const Pt = {
6895
6896
  return (o, a) => {
6896
6897
  const s = E("AsSvg"), l = E("UserCard");
6897
6898
  return f(), m("div", Qc, [
6898
- c("div", null, [
6899
- a[0] || (a[0] = c("div", null, [
6900
- c("img", {
6899
+ u("div", null, [
6900
+ a[0] || (a[0] = u("div", null, [
6901
+ u("img", {
6901
6902
  src: "./webmodel/files/img/logo.png",
6902
6903
  width: "200"
6903
6904
  })
6904
6905
  ], -1)),
6905
- c("div", Zc, [
6906
- c("div", eu, [
6906
+ u("div", Zc, [
6907
+ u("div", eu, [
6907
6908
  W(s, {
6908
6909
  color: "var(--cz8)",
6909
6910
  height: "88px",
6910
6911
  src: "asai/server"
6911
6912
  })
6912
6913
  ]),
6913
- c("div", tu, g(i(n).lang?.asai?.page?.loadws), 1)
6914
+ u("div", tu, g(i(n).lang?.asai?.page?.loadws), 1)
6914
6915
  ]),
6915
- c("h3", null, g(e.type), 1),
6916
+ u("h3", null, g(e.type), 1),
6916
6917
  W(l, { ujt: t.ujt }, null, 8, ["ujt"])
6917
6918
  ])
6918
6919
  ]);
@@ -6956,7 +6957,7 @@ const Pt = {
6956
6957
  key: 0,
6957
6958
  to: "#popteleport"
6958
6959
  }, [
6959
- c("div", {
6960
+ u("div", {
6960
6961
  class: "as-pop-box-mask-2",
6961
6962
  style: Z(s.value),
6962
6963
  id: "popmask" + t.id
@@ -6969,11 +6970,11 @@ const Pt = {
6969
6970
  key: 0,
6970
6971
  to: "#popteleport"
6971
6972
  }, [
6972
- c("div", {
6973
+ u("div", {
6973
6974
  class: "as-pop-box-mask-1",
6974
6975
  id: "popmask" + t.id
6975
6976
  }, [
6976
- c("div", {
6977
+ u("div", {
6977
6978
  class: "as-pop-box-mask-zoom",
6978
6979
  style: Z(s.value)
6979
6980
  }, [
@@ -7007,12 +7008,12 @@ const Pt = {
7007
7008
  return n.pop[e.id]?.nooverflow || (s.overflow = n.pop[e.id]?.conoverflow || "auto"), s;
7008
7009
  });
7009
7010
  return (s, l) => (f(), m(I, null, [
7010
- c("div", {
7011
+ u("div", {
7011
7012
  class: "as-pop-content",
7012
7013
  style: Z(a.value)
7013
7014
  }, [
7014
7015
  D(s.$slots, "default", {}, () => [
7015
- c("div", cu, g(i(n).pop[e.id]?.con || ""), 1)
7016
+ u("div", cu, g(i(n).pop[e.id]?.con || ""), 1)
7016
7017
  ], !0)
7017
7018
  ], 4),
7018
7019
  i(n).pop[e.id]?.btns?.length ? (f(), m("div", uu, [
@@ -7021,15 +7022,15 @@ const Pt = {
7021
7022
  key: 0,
7022
7023
  onTouchstart: l[0] || (l[0] = q(
7023
7024
  //@ts-ignore
7024
- (...u) => i(o).As.eStop && i(o).As.eStop(...u),
7025
+ (...c) => i(o).As.eStop && i(o).As.eStop(...c),
7025
7026
  ["stop"]
7026
7027
  )),
7027
7028
  onPointerdown: l[1] || (l[1] = q(
7028
7029
  //@ts-ignore
7029
- (...u) => i(o).As.eStop && i(o).As.eStop(...u),
7030
+ (...c) => i(o).As.eStop && i(o).As.eStop(...c),
7030
7031
  ["stop"]
7031
7032
  )),
7032
- onPointerup: q((u) => r.fn(), ["stop"]),
7033
+ onPointerup: q((c) => r.fn(), ["stop"]),
7033
7034
  class: J(d ? "" : "cur"),
7034
7035
  style: Z(`${r.bg ? `background-color: ${r.bg};` : ""}`)
7035
7036
  }, g(r.nm), 47, du)) : (f(), m("div", {
@@ -7058,7 +7059,7 @@ const Pt = {
7058
7059
  return (a, s) => {
7059
7060
  const l = E("AsSvg");
7060
7061
  return f(), m(I, null, [
7061
- c("div", mu, [
7062
+ u("div", mu, [
7062
7063
  i(n).pop[e.id].ico ? (f(), Y(l, {
7063
7064
  key: 0,
7064
7065
  color: "var(--ch8)",
@@ -7068,7 +7069,7 @@ const Pt = {
7068
7069
  ae(" " + g(i(n).pop[e.id].tit || ""), 1)
7069
7070
  ]),
7070
7071
  i(n).pop[e.id]?.noclose ? R("", !0) : (f(), m("div", hu, [
7071
- c("div", {
7072
+ u("div", {
7072
7073
  onPointerdown: s[0] || (s[0] = q((r) => o(), ["stop", "prevent"]))
7073
7074
  }, "×", 32)
7074
7075
  ]))
@@ -7338,10 +7339,10 @@ const Pt = {
7338
7339
  }, {
7339
7340
  default: le(() => [
7340
7341
  D(a.$slots, "default", {}, () => [
7341
- c("div", zu, [
7342
- c("p", null, g(i(o).lg("asai.confirmpassword")), 1),
7343
- c("p", null, [
7344
- G(c("input", {
7342
+ u("div", zu, [
7343
+ u("p", null, g(i(o).lg("asai.confirmpassword")), 1),
7344
+ u("p", null, [
7345
+ G(u("input", {
7345
7346
  type: "password",
7346
7347
  "show-password": "",
7347
7348
  "onUpdate:modelValue": s[0] || (s[0] = (r) => i(n).pop[e.id].pass = r)
@@ -7384,8 +7385,8 @@ const Pt = {
7384
7385
  class: J(i(n).pop[e.id]?.css + " as-pop-drop")
7385
7386
  }, [
7386
7387
  i(n).pop[e.id].stat && i(n).pop[e.id].popstyle?.top != 0 ? D(o.$slots, "poparea", { key: 0 }, () => [
7387
- c("div", Iu, [
7388
- c("div", {
7388
+ u("div", Iu, [
7389
+ u("div", {
7389
7390
  class: "as-pop-drop-pop",
7390
7391
  style: Z(i(n).pop[e.id].popstyle)
7391
7392
  }, [
@@ -7396,7 +7397,7 @@ const Pt = {
7396
7397
  ])
7397
7398
  ], !0) : R("", !0),
7398
7399
  D(o.$slots, "desarea", {}, () => [
7399
- c("div", {
7400
+ u("div", {
7400
7401
  class: "as-pop-drop-des",
7401
7402
  onPointerdown: a[0] || (a[0] = q((s) => i(n).pop[e.id].stat = i(n).pop[e.id].stat ? 0 : 1, ["stop"]))
7402
7403
  }, [
@@ -7406,11 +7407,11 @@ const Pt = {
7406
7407
  ], 32)
7407
7408
  ], !0),
7408
7409
  i(n).pop[e.id].stat && i(n).pop[e.id].popstyle?.top == 0 ? D(o.$slots, "poparea", { key: 1 }, () => [
7409
- c("div", {
7410
+ u("div", {
7410
7411
  class: "as-pop-drop-area",
7411
7412
  id: "pop" + t.id
7412
7413
  }, [
7413
- c("div", {
7414
+ u("div", {
7414
7415
  class: "as-pop-drop-pop",
7415
7416
  style: Z(i(n).pop[e.id].popstyle)
7416
7417
  }, [
@@ -7456,12 +7457,12 @@ const Pt = {
7456
7457
  }), _e(() => {
7457
7458
  n.pop[e.id] = {};
7458
7459
  }), (o, a) => i(n).pop[e.id].stat ? (f(), m(I, { key: 0 }, [
7459
- c("div", {
7460
+ u("div", {
7460
7461
  class: "as-pop-mod-mask",
7461
7462
  style: Z(i(n).pop[e.id].maskstyle),
7462
7463
  onPointerdown: a[0] || (a[0] = (s) => i(n).pop[e.id].stat = 0)
7463
7464
  }, null, 36),
7464
- c("div", {
7465
+ u("div", {
7465
7466
  class: "as-pop-mod-pop",
7466
7467
  style: Z(i(n).pop[e.id].popstyle)
7467
7468
  }, [
@@ -7520,9 +7521,9 @@ const Pt = {
7520
7521
  onTouchstart: r[2] || (r[2] = //@ts-ignore
7521
7522
  (...d) => i(o).As.eStop && i(o).As.eStop(...d))
7522
7523
  }, [
7523
- c("div", Vu, [
7524
+ u("div", Vu, [
7524
7525
  (f(!0), m(I, null, Q(i(n).msg.data, (d) => (f(), m("div", Nu, [
7525
- c("div", {
7526
+ u("div", {
7526
7527
  class: J("as-pop-msg" + (d?.type || ""))
7527
7528
  }, [
7528
7529
  d?.tit ? (f(), m("div", Yu, g(d.tit), 1)) : R("", !0),
@@ -7531,7 +7532,7 @@ const Pt = {
7531
7532
  ], 2)
7532
7533
  ]))), 256))
7533
7534
  ]),
7534
- c("div", {
7535
+ u("div", {
7535
7536
  class: "as-pop-msg-btn",
7536
7537
  title: i(n)?.lang?.asai?.clear
7537
7538
  }, "×", 8, Ju)
@@ -7560,7 +7561,7 @@ const Pt = {
7560
7561
  let l = function(r) {
7561
7562
  let d = null;
7562
7563
  if (r === 1 ? n?.msg?.data?.length && (d = n.msg.data.shift()) : (!n?.msg?.data?.length || !n?.msg?.data?.find(
7563
- (u) => u.con === r.con && u.tit === r.tit
7564
+ (c) => c.con === r.con && c.tit === r.tit
7564
7565
  )) && (r.tm = o.As.getTime(), n.msg.data.push(r)), o.As.localSet(n.msg.key, n.msg.data), d)
7565
7566
  return d;
7566
7567
  };
@@ -7592,7 +7593,7 @@ const Pt = {
7592
7593
  (...d) => i(o).As.eStop && i(o).As.eStop(...d)),
7593
7594
  style: Z(s.value?.maskstyle || {})
7594
7595
  }, [
7595
- c("div", {
7596
+ u("div", {
7596
7597
  class: J("as-pop-msg" + (s.value?.type || ""))
7597
7598
  }, [
7598
7599
  s.value?.tit ? (f(), m("div", ed, g(s.value.tit), 1)) : R("", !0),
@@ -7633,7 +7634,7 @@ const Pt = {
7633
7634
  }), (l, r) => (f(), m("div", {
7634
7635
  class: J(i(n).pop[e.id]?.css + " as-pop-tip")
7635
7636
  }, [
7636
- c("div", {
7637
+ u("div", {
7637
7638
  class: "as-pop-tip-des",
7638
7639
  onPointerdown: q(a, ["stop"])
7639
7640
  }, [
@@ -7645,14 +7646,14 @@ const Pt = {
7645
7646
  key: 0,
7646
7647
  to: "#popteleport"
7647
7648
  }, [
7648
- c("div", {
7649
+ u("div", {
7649
7650
  class: "as-pop-tip-mask",
7650
7651
  style: Z(i(n).pop[e.id].maskstyle),
7651
7652
  onPointerdown: r[1] || (r[1] = q((d) => s(), ["stop"])),
7652
7653
  onTouchstart: r[2] || (r[2] = //@ts-ignore
7653
7654
  (...d) => i(o).As.eStop && i(o).As.eStop(...d))
7654
7655
  }, [
7655
- c("div", {
7656
+ u("div", {
7656
7657
  class: "as-pop-tip-pop",
7657
7658
  id: "pop" + t.id,
7658
7659
  style: Z(i(n).pop[e.id].popstyle),
@@ -7695,15 +7696,15 @@ const Pt = {
7695
7696
  ]),
7696
7697
  pop: le(() => [
7697
7698
  i(n).pop[t.id].stat ? (f(), m("div", ud, [
7698
- c("div", dd, [
7699
+ u("div", dd, [
7699
7700
  D(o.$slots, "pop", {}, void 0, !0)
7700
7701
  ]),
7701
- c("div", pd, [
7702
+ u("div", pd, [
7702
7703
  e.fn ? (f(), m("div", {
7703
7704
  key: 0,
7704
7705
  onPointerdown: a[0] || (a[0] = (l) => e.fn())
7705
7706
  }, g(i(n)?.lang?.asai?.confirm), 33)) : R("", !0),
7706
- c("div", {
7707
+ u("div", {
7707
7708
  onPointerdown: a[1] || (a[1] = (l) => i(n).pop[t.id].stat = 0),
7708
7709
  class: "cur"
7709
7710
  }, g(i(n)?.lang?.asai?.cancel), 33)
@@ -7731,7 +7732,7 @@ const Pt = {
7731
7732
  return a(), (s, l) => {
7732
7733
  const r = E("AsSvg");
7733
7734
  return i(o).lang?.asai?.usercard ? (f(), m("div", gd, [
7734
- c("div", {
7735
+ u("div", {
7735
7736
  onPointerdown: l[0] || (l[0] = (d) => i(n).sethash(i(o).sys?.router?.config?.login || "user/login"))
7736
7737
  }, [
7737
7738
  W(r, {
@@ -7741,7 +7742,7 @@ const Pt = {
7741
7742
  }),
7742
7743
  ae(" " + g(i(o).lang.asai.usercard?.login), 1)
7743
7744
  ], 32),
7744
- c("div", {
7745
+ u("div", {
7745
7746
  class: "cur",
7746
7747
  onPointerdown: l[1] || (l[1] = (d) => i(n).As.localInit()),
7747
7748
  title: "ctrl+shift+r"
@@ -7767,10 +7768,10 @@ const Pt = {
7767
7768
  setup(t) {
7768
7769
  const e = t, { $db: n, $fn: o } = e.ujt, { delUser: a } = o.useUser(e);
7769
7770
  return a(), (s, l) => (f(), m("div", _d, [
7770
- c("div", $d, [
7771
+ u("div", $d, [
7771
7772
  i(n).channeluser.cur.msg ? (f(), m("h1", kd, g(i(n).channeluser.cur.msg), 1)) : (f(), m("h1", wd, g(i(o).lg("channeluser.ui.delok")), 1)),
7772
- c("div", jd, [
7773
- c("div", {
7773
+ u("div", jd, [
7774
+ u("div", {
7774
7775
  class: "cur",
7775
7776
  onPointerdown: l[0] || (l[0] = (r) => i(o).sethash("user/manage/list/"))
7776
7777
  }, g(i(o).lg("channeluser.ui.list")), 33)
@@ -7789,37 +7790,37 @@ const Pt = {
7789
7790
  setup(t) {
7790
7791
  const e = t, { $db: n, $fn: o } = e.ujt, { userEdit: a } = o.useUser(e);
7791
7792
  return (s, l) => (f(), m("div", Pd, [
7792
- c("div", Cd, [
7793
+ u("div", Cd, [
7793
7794
  D(s.$slots, "tit"),
7794
- c("label", null, [
7795
- c("div", null, g(i(o).lg("channeluser.ui.pw")) + ":", 1),
7796
- G(c("input", {
7795
+ u("label", null, [
7796
+ u("div", null, g(i(o).lg("channeluser.ui.pw")) + ":", 1),
7797
+ G(u("input", {
7797
7798
  type: "password",
7798
7799
  "onUpdate:modelValue": l[0] || (l[0] = (r) => i(n).channeluser.cur.pw = r)
7799
7800
  }, null, 512), [
7800
7801
  [ce, i(n).channeluser.cur.pw]
7801
7802
  ])
7802
7803
  ]),
7803
- c("label", null, [
7804
- c("div", null, g(i(o).lg("channeluser.ui.pwn")) + ":", 1),
7805
- G(c("input", {
7804
+ u("label", null, [
7805
+ u("div", null, g(i(o).lg("channeluser.ui.pwn")) + ":", 1),
7806
+ G(u("input", {
7806
7807
  type: "password",
7807
7808
  "onUpdate:modelValue": l[1] || (l[1] = (r) => i(n).channeluser.cur.pwn = r)
7808
7809
  }, null, 512), [
7809
7810
  [ce, i(n).channeluser.cur.pwn]
7810
7811
  ])
7811
7812
  ]),
7812
- c("label", null, [
7813
- c("div", null, g(i(o).lg("channeluser.ui.pwnn")) + ":", 1),
7814
- G(c("input", {
7813
+ u("label", null, [
7814
+ u("div", null, g(i(o).lg("channeluser.ui.pwnn")) + ":", 1),
7815
+ G(u("input", {
7815
7816
  type: "password",
7816
7817
  "onUpdate:modelValue": l[2] || (l[2] = (r) => i(n).channeluser.cur.pwnn = r)
7817
7818
  }, null, 512), [
7818
7819
  [ce, i(n).channeluser.cur.pwnn]
7819
7820
  ])
7820
7821
  ]),
7821
- c("div", Od, [
7822
- c("div", {
7822
+ u("div", Od, [
7823
+ u("div", {
7823
7824
  class: "cur",
7824
7825
  onPointerdown: l[3] || (l[3] = (r) => i(a)())
7825
7826
  }, g(i(o).lg("channeluser.ui.edit")), 33),
@@ -7838,27 +7839,27 @@ const Pt = {
7838
7839
  },
7839
7840
  setup(t) {
7840
7841
  const e = t, { $db: n, $global: o, $fn: a } = e.ujt, { editUser: s, initUser: l, cmLvList: r } = a.useUser(e);
7841
- return l(), (d, u) => (f(), m("div", Td, [
7842
- c("div", zd, [
7842
+ return l(), (d, c) => (f(), m("div", Td, [
7843
+ u("div", zd, [
7843
7844
  D(d.$slots, "tit"),
7844
- c("label", null, [
7845
- c("div", null, g(i(a).lg("channeluser.data.us")) + ":", 1),
7845
+ u("label", null, [
7846
+ u("div", null, g(i(a).lg("channeluser.data.us")) + ":", 1),
7846
7847
  ae(" " + g(i(n).channeluser.cur.us), 1)
7847
7848
  ]),
7848
7849
  i(n).channeluser.cur.lv < i(o).user?.info?.lv || i(n).channeluser.cur.us === i(o).user?.info?.us ? (f(), m(I, { key: 0 }, [
7849
- c("label", null, [
7850
- c("div", null, g(i(a).lg("channeluser.data.pw")) + ":", 1),
7851
- G(c("input", {
7850
+ u("label", null, [
7851
+ u("div", null, g(i(a).lg("channeluser.data.pw")) + ":", 1),
7852
+ G(u("input", {
7852
7853
  type: "password",
7853
- "onUpdate:modelValue": u[0] || (u[0] = (p) => i(n).channeluser.cur.pw = p)
7854
+ "onUpdate:modelValue": c[0] || (c[0] = (p) => i(n).channeluser.cur.pw = p)
7854
7855
  }, null, 512), [
7855
7856
  [ce, i(n).channeluser.cur.pw]
7856
7857
  ])
7857
7858
  ]),
7858
7859
  i(n).channeluser.cur.us !== i(o).user?.info?.us ? (f(), m("label", Ld, [
7859
- c("div", null, g(i(a).lg("channeluser.data.lv")) + ":", 1),
7860
- G(c("select", {
7861
- "onUpdate:modelValue": u[1] || (u[1] = (p) => i(n).channeluser.cur.lv = p)
7860
+ u("div", null, g(i(a).lg("channeluser.data.lv")) + ":", 1),
7861
+ G(u("select", {
7862
+ "onUpdate:modelValue": c[1] || (c[1] = (p) => i(n).channeluser.cur.lv = p)
7862
7863
  }, [
7863
7864
  (f(!0), m(I, null, Q(i(r), (p) => (f(), m("option", {
7864
7865
  key: "lv" + p[0],
@@ -7868,16 +7869,16 @@ const Pt = {
7868
7869
  [be, i(n).channeluser.cur.lv]
7869
7870
  ])
7870
7871
  ])) : R("", !0),
7871
- c("div", Ed, [
7872
- c("div", {
7872
+ u("div", Ed, [
7873
+ u("div", {
7873
7874
  class: "cur",
7874
- onPointerdown: u[2] || (u[2] = (p) => i(s)())
7875
+ onPointerdown: c[2] || (c[2] = (p) => i(s)())
7875
7876
  }, g(i(a).lg("channeluser.ui.edit")), 33),
7876
7877
  D(d.$slots, "btn")
7877
7878
  ])
7878
7879
  ], 64)) : (f(), m(I, { key: 1 }, [
7879
- c("div", Id, g(i(a).lg("channeluser.ui.nopower")), 1),
7880
- c("div", Dd, [
7880
+ u("div", Id, g(i(a).lg("channeluser.ui.nopower")), 1),
7881
+ u("div", Dd, [
7881
7882
  D(d.$slots, "btn")
7882
7883
  ])
7883
7884
  ], 64))
@@ -7895,10 +7896,10 @@ const Pt = {
7895
7896
  setup(t) {
7896
7897
  const e = t, { $fn: n, $global: o } = e.ujt, { userExit: a } = n.useUser(e);
7897
7898
  return a(), (s, l) => (f(), m("div", Wd, [
7898
- c("div", Hd, [
7899
+ u("div", Hd, [
7899
7900
  D(s.$slots, "tit"),
7900
- c("div", qd, [
7901
- c("div", {
7901
+ u("div", qd, [
7902
+ u("div", {
7902
7903
  class: "cur",
7903
7904
  onPointerdown: l[0] || (l[0] = (r) => i(n).sethash(
7904
7905
  i(o).sys?.router?.config?.login || "user/login"
@@ -7935,7 +7936,7 @@ const Pt = {
7935
7936
  function d(h) {
7936
7937
  o.channeluser.cur.us = "", o.channeluser.cur.pw = "", o.channeluser.cur.lv = 0, a.pop.popdefaultconfirm.stat = 1, a.pop.popdefaultconfirm.full = 1, a.pop.popdefaultconfirm.con = a.lang.channeluser.ui.del + " " + h.us, a.pop.popdefaultconfirm.fn = () => r(h.us);
7937
7938
  }
7938
- function u(h) {
7939
+ function c(h) {
7939
7940
  n.setquery({ us: h.us }, 1), o.channeluser.cur.us = h.us, o.channeluser.cur.pw = h.pw, o.channeluser.cur.lv = h.lv, a.pop.popedituser.stat = 1, a.pop.popedituser.tit = a.lang.channeluser.ui.edit + " " + h.us;
7940
7941
  }
7941
7942
  const p = X(() => (o?.channeluser?.list || []).filter((h) => +h?.lv <= +a.user?.info?.lv));
@@ -7953,7 +7954,7 @@ const Pt = {
7953
7954
  ujt: t.ujt
7954
7955
  }, {
7955
7956
  btn: le(() => [
7956
- c("div", {
7957
+ u("div", {
7957
7958
  onPointerdown: v[0] || (v[0] = (k) => i(a).pop.popedituser.stat = 0)
7958
7959
  }, g(i(n).lg("asai.close")), 33)
7959
7960
  ]),
@@ -7962,8 +7963,8 @@ const Pt = {
7962
7963
  ]),
7963
7964
  _: 1
7964
7965
  }, 8, ["ujt"]),
7965
- c("div", Nd, [
7966
- c("div", Yd, [
7966
+ u("div", Nd, [
7967
+ u("div", Yd, [
7967
7968
  D(h.$slots, "tit"),
7968
7969
  D(h.$slots, "btn"),
7969
7970
  t.showtype ? R("", !0) : (f(), Y(y, {
@@ -7971,20 +7972,20 @@ const Pt = {
7971
7972
  ujt: t.ujt,
7972
7973
  opt: { channel: "channeluser", model: "asai", ty: 1 }
7973
7974
  }, null, 8, ["ujt"])),
7974
- c("div", Xd, [
7975
- c("div", Kd, [
7976
- c("div", Jd, g(i(a).lang.channeluser.data.us), 1),
7977
- c("div", Gd, g(i(a).lang.channeluser.data.lv), 1),
7978
- c("div", Qd, g(i(a).lang.asai.opt), 1)
7975
+ u("div", Xd, [
7976
+ u("div", Kd, [
7977
+ u("div", Jd, g(i(a).lang.channeluser.data.us), 1),
7978
+ u("div", Gd, g(i(a).lang.channeluser.data.lv), 1),
7979
+ u("div", Qd, g(i(a).lang.asai.opt), 1)
7979
7980
  ]),
7980
7981
  (f(!0), m(I, null, Q(p.value, (k) => (f(), m("div", null, [
7981
- c("div", Zd, g(k.us), 1),
7982
- c("div", ep, g(i(a).lang.channeluser.lv[k.lv]), 1),
7982
+ u("div", Zd, g(k.us), 1),
7983
+ u("div", ep, g(i(a).lang.channeluser.lv[k.lv]), 1),
7983
7984
  +k.lv < i(a).user?.info?.lv ? (f(), m("div", tp, [
7984
- c("div", {
7985
- onPointerdown: (O) => u(k)
7985
+ u("div", {
7986
+ onPointerdown: (O) => c(k)
7986
7987
  }, g(i(n).lg("channeluser.ui.edit")), 41, np),
7987
- c("div", {
7988
+ u("div", {
7988
7989
  onPointerdown: (O) => d(k)
7989
7990
  }, g(i(n).lg("channeluser.ui.del")), 41, op)
7990
7991
  ])) : (f(), m("div", ap, "-"))
@@ -8012,30 +8013,30 @@ const Pt = {
8012
8013
  setup(t) {
8013
8014
  const e = t, { $db: n, $fn: o, $global: a } = e.ujt, { userLogin: s } = o.useUser(e);
8014
8015
  return (l, r) => (f(), m("div", rp, [
8015
- c("div", cp, [
8016
+ u("div", cp, [
8016
8017
  D(l.$slots, "tit"),
8017
8018
  D(l.$slots, "form", {
8018
8019
  opt: { userLogin: i(s) }
8019
8020
  }, () => [
8020
- c("label", null, [
8021
- c("div", null, g(i(a).lang.channeluser.data.us) + ":", 1),
8022
- G(c("input", {
8021
+ u("label", null, [
8022
+ u("div", null, g(i(a).lang.channeluser.data.us) + ":", 1),
8023
+ G(u("input", {
8023
8024
  "onUpdate:modelValue": r[0] || (r[0] = (d) => i(n).channeluser.cur.us = d)
8024
8025
  }, null, 512), [
8025
8026
  [ce, i(n).channeluser.cur.us]
8026
8027
  ])
8027
8028
  ]),
8028
- c("label", null, [
8029
- c("div", null, g(i(a).lang.channeluser.data.pw) + ":", 1),
8030
- G(c("input", {
8029
+ u("label", null, [
8030
+ u("div", null, g(i(a).lang.channeluser.data.pw) + ":", 1),
8031
+ G(u("input", {
8031
8032
  type: "password",
8032
8033
  "onUpdate:modelValue": r[1] || (r[1] = (d) => i(n).channeluser.cur.pw = d)
8033
8034
  }, null, 512), [
8034
8035
  [ce, i(n).channeluser.cur.pw]
8035
8036
  ])
8036
8037
  ]),
8037
- c("div", up, [
8038
- c("div", {
8038
+ u("div", up, [
8039
+ u("div", {
8039
8040
  class: "cur",
8040
8041
  onPointerdown: r[2] || (r[2] = (d) => i(s)())
8041
8042
  }, g(i(a).lang.channeluser.ui.login), 33),
@@ -8061,7 +8062,7 @@ const Pt = {
8061
8062
  o.channeluser.cur.us = "", o.channeluser.cur.pw = "", o.channeluser.cur.lv = 0, a.pop.popadduser.stat = 1, a.pop.popadduser.tit = a.lang.channeluser.ui.add;
8062
8063
  }
8063
8064
  return (r, d) => {
8064
- const u = E("UserRegManage"), p = E("PopBox"), h = E("UserListManage");
8065
+ const c = E("UserRegManage"), p = E("PopBox"), h = E("UserListManage");
8065
8066
  return f(), m(I, null, [
8066
8067
  W(p, {
8067
8068
  ujt: t.ujt,
@@ -8069,12 +8070,12 @@ const Pt = {
8069
8070
  full: 1
8070
8071
  }, {
8071
8072
  default: le(() => [
8072
- i(a).pop.popadduser?.stat ? (f(), Y(u, {
8073
+ i(a).pop.popadduser?.stat ? (f(), Y(c, {
8073
8074
  key: 0,
8074
8075
  ujt: t.ujt
8075
8076
  }, {
8076
8077
  btn: le(() => [
8077
- c("div", {
8078
+ u("div", {
8078
8079
  onPointerdown: d[0] || (d[0] = (v) => i(a).pop.popadduser.stat = 0)
8079
8080
  }, g(i(n).lg("asai.close")), 33)
8080
8081
  ]),
@@ -8089,8 +8090,8 @@ const Pt = {
8089
8090
  showtype: t.showtype
8090
8091
  }, bt({
8091
8092
  btn: le(() => [
8092
- c("div", fp, [
8093
- c("div", {
8093
+ u("div", fp, [
8094
+ u("div", {
8094
8095
  class: "cur",
8095
8096
  onPointerdown: d[1] || (d[1] = (v) => l())
8096
8097
  }, g(i(n).lg("channeluser.ui.add")), 33),
@@ -8109,7 +8110,7 @@ const Pt = {
8109
8110
  t.showtype ? void 0 : {
8110
8111
  name: "tit",
8111
8112
  fn: le(() => [
8112
- c("h1", null, g(i(n).lg("channeluser.ui.list")), 1)
8113
+ u("h1", null, g(i(n).lg("channeluser.ui.list")), 1)
8113
8114
  ]),
8114
8115
  key: "0"
8115
8116
  }
@@ -8128,27 +8129,27 @@ const Pt = {
8128
8129
  setup(t) {
8129
8130
  const e = t, { $db: n, $fn: o } = e.ujt, { userReg: a } = o.useUser(e);
8130
8131
  return (s, l) => (f(), m("div", gp, [
8131
- c("div", vp, [
8132
+ u("div", vp, [
8132
8133
  D(s.$slots, "tit"),
8133
- c("label", null, [
8134
- c("div", null, g(i(o).lg("channeluser.data.us")) + ":", 1),
8135
- G(c("input", {
8134
+ u("label", null, [
8135
+ u("div", null, g(i(o).lg("channeluser.data.us")) + ":", 1),
8136
+ G(u("input", {
8136
8137
  "onUpdate:modelValue": l[0] || (l[0] = (r) => i(n).channeluser.cur.us = r)
8137
8138
  }, null, 512), [
8138
8139
  [ce, i(n).channeluser.cur.us]
8139
8140
  ])
8140
8141
  ]),
8141
- c("label", null, [
8142
- c("div", null, g(i(o).lg("channeluser.data.pw")) + ":", 1),
8143
- G(c("input", {
8142
+ u("label", null, [
8143
+ u("div", null, g(i(o).lg("channeluser.data.pw")) + ":", 1),
8144
+ G(u("input", {
8144
8145
  type: "password",
8145
8146
  "onUpdate:modelValue": l[1] || (l[1] = (r) => i(n).channeluser.cur.pw = r)
8146
8147
  }, null, 512), [
8147
8148
  [ce, i(n).channeluser.cur.pw]
8148
8149
  ])
8149
8150
  ]),
8150
- c("div", yp, [
8151
- c("div", {
8151
+ u("div", yp, [
8152
+ u("div", {
8152
8153
  class: "cur",
8153
8154
  onPointerdown: l[2] || (l[2] = (r) => i(a)())
8154
8155
  }, g(i(o).lg("channeluser.ui.reg")), 33),
@@ -8168,20 +8169,20 @@ const Pt = {
8168
8169
  setup(t) {
8169
8170
  const e = t, { $db: n, $fn: o } = e.ujt, { addUser: a, cmLvList: s } = o.useUser(e);
8170
8171
  return n.channeluser.cur.us = "", n.channeluser.cur.pw = "", n.channeluser.cur.lv = 3, (l, r) => (f(), m("div", $p, [
8171
- c("div", kp, [
8172
+ u("div", kp, [
8172
8173
  D(l.$slots, "tit"),
8173
- c("label", null, [
8174
- c("div", null, g(i(o).lg("channeluser.data.us")) + ":", 1),
8175
- G(c("input", {
8174
+ u("label", null, [
8175
+ u("div", null, g(i(o).lg("channeluser.data.us")) + ":", 1),
8176
+ G(u("input", {
8176
8177
  autocomplete: "off",
8177
8178
  "onUpdate:modelValue": r[0] || (r[0] = (d) => i(n).channeluser.cur.us = d)
8178
8179
  }, null, 512), [
8179
8180
  [ce, i(n).channeluser.cur.us]
8180
8181
  ])
8181
8182
  ]),
8182
- c("label", null, [
8183
- c("div", null, g(i(o).lg("channeluser.data.pw")) + ":", 1),
8184
- G(c("input", {
8183
+ u("label", null, [
8184
+ u("div", null, g(i(o).lg("channeluser.data.pw")) + ":", 1),
8185
+ G(u("input", {
8185
8186
  autocomplete: "off",
8186
8187
  type: "password",
8187
8188
  "onUpdate:modelValue": r[1] || (r[1] = (d) => i(n).channeluser.cur.pw = d)
@@ -8189,9 +8190,9 @@ const Pt = {
8189
8190
  [ce, i(n).channeluser.cur.pw]
8190
8191
  ])
8191
8192
  ]),
8192
- c("label", null, [
8193
- c("div", null, g(i(o).lg("channeluser.data.lv")) + ":", 1),
8194
- G(c("select", {
8193
+ u("label", null, [
8194
+ u("div", null, g(i(o).lg("channeluser.data.lv")) + ":", 1),
8195
+ G(u("select", {
8195
8196
  "onUpdate:modelValue": r[2] || (r[2] = (d) => i(n).channeluser.cur.lv = d)
8196
8197
  }, [
8197
8198
  (f(!0), m(I, null, Q(i(s), (d) => (f(), m("option", {
@@ -8202,8 +8203,8 @@ const Pt = {
8202
8203
  [be, i(n).channeluser.cur.lv]
8203
8204
  ])
8204
8205
  ]),
8205
- c("div", jp, [
8206
- c("div", {
8206
+ u("div", jp, [
8207
+ u("div", {
8207
8208
  class: "cur",
8208
8209
  onPointerdown: r[3] || (r[3] = (d) => i(a)())
8209
8210
  }, g(i(o).lg("channeluser.ui.add")), 33),