my-header-yichong 3.4.4 → 3.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/my-header.js CHANGED
@@ -6303,7 +6303,7 @@ function nn() {
6303
6303
  }
6304
6304
  function xv() {
6305
6305
  const e = Zi(), t = nn();
6306
- return e.product ? e.product : t ? t.slice(1) : location.href.indexOf("convert") != -1 ? "convert" : location.href.indexOf("translate") != -1 ? "translate" : "recorder";
6306
+ return e.product ? e.product : t ? t.slice(1) : location.href.indexOf("convert") != -1 ? "convert" : location.href.indexOf("translate") != -1 ? "translate" : "video_translator";
6307
6307
  }
6308
6308
  function Yi(e, t) {
6309
6309
  window.__bl && __bl.error(new Error(JSON.stringify(e)), {
@@ -6343,13 +6343,10 @@ function It({ url: e, data: t = null, method: n = "GET", headers: o = null, cach
6343
6343
  d(new Response("timeout", { status: 504, statusText: "timeout" })), a && a.abort();
6344
6344
  }, 6e4);
6345
6345
  });
6346
- return Promise.race([u(), fetch(e, l).then((d) => d.json())]).then((d) => (console.log(d), d.success == !0 || d.ok === 0 || d.code == 0 ? (r && (s ? Fn.put(r, d.data, s) : Fn.put(r, d.data)), (d.message || d.message == 0) && (window.g_message = d.message), Promise.resolve(d.data)) : d && d.image || d && d.GOOGLE_ACCESS_TOKEN ? (r && (s ? Fn.put(r, d, s) : Fn.put(r, d)), Promise.resolve(d)) : d.statusText == "timeout" ? Promise.reject("The system is busy, please try again later") : e.indexOf("/site/get") != -1 ? Promise.resolve({
6346
+ return Promise.race([u(), fetch(e, l).then((d) => d.json())]).then((d) => d.success == !0 || d.ok === 0 || d.code == 0 ? (r && (s ? Fn.put(r, d.data, s) : Fn.put(r, d.data)), (d.message || d.message == 0) && (window.g_message = d.message), Promise.resolve(d.data)) : d && d.image || d && d.GOOGLE_ACCESS_TOKEN ? (r && (s ? Fn.put(r, d, s) : Fn.put(r, d)), Promise.resolve(d)) : d.statusText == "timeout" ? Promise.reject("The system is busy, please try again later") : e.indexOf("/site/get") != -1 ? Promise.resolve({
6347
6347
  key: "",
6348
- value: JSON.stringify({
6349
- month: 0,
6350
- usedCharCount: 0
6351
- })
6352
- }) : Promise.reject(d.message || d.msg && d || "failed, please check your network and try again"))).catch((d) => Promise.reject(d));
6348
+ value: JSON.stringify({})
6349
+ }) : Promise.reject(d.message || d.msg && d || "failed, please check your network and try again")).catch((d) => Promise.reject(d));
6353
6350
  }
6354
6351
  let on = nn();
6355
6352
  function ua(e) {
@@ -7981,7 +7978,7 @@ function Vg(e, t, n, o, r, s) {
7981
7978
  </div> `)
7982
7979
  ]);
7983
7980
  }
7984
- const xl = /* @__PURE__ */ Mt(gg, [["render", Vg], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/yinheng/Desktop/code/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
7981
+ const xl = /* @__PURE__ */ Mt(gg, [["render", Vg], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/yinheng/Desktop/code/workspace/z_liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
7985
7982
  const Wg = {
7986
7983
  data() {
7987
7984
  return {};
@@ -8037,7 +8034,7 @@ function Zg(e, t, n, o, r, s) {
8037
8034
  ])
8038
8035
  ]);
8039
8036
  }
8040
- const Qg = /* @__PURE__ */ Mt(Wg, [["render", Zg], ["__scopeId", "data-v-47199182"], ["__file", "/Users/yinheng/Desktop/code/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login.vue"]]);
8037
+ const Qg = /* @__PURE__ */ Mt(Wg, [["render", Zg], ["__scopeId", "data-v-47199182"], ["__file", "/Users/yinheng/Desktop/code/workspace/z_liusenlin_project/Translation_Video/src/components/Login.vue"]]);
8041
8038
  /*!
8042
8039
  * pinia v2.1.4
8043
8040
  * (c) 2023 Eduardo San Martin Morote
@@ -8632,7 +8629,7 @@ function C0(e, t, n, o, r, s) {
8632
8629
  }, P0, 8, O0)
8633
8630
  ]);
8634
8631
  }
8635
- const _a = /* @__PURE__ */ Mt(a0, [["render", C0], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/yinheng/Desktop/code/xiaochengxu/liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
8632
+ const _a = /* @__PURE__ */ Mt(a0, [["render", C0], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/yinheng/Desktop/code/workspace/z_liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
8636
8633
  const A0 = {
8637
8634
  props: ["content", "top"]
8638
8635
  }, I0 = (e) => (Qt("data-v-7b6def48"), e = e(), Xt(), e), M0 = /* @__PURE__ */ I0(() => /* @__PURE__ */ h(
@@ -8677,7 +8674,7 @@ function $0(e, t, n, o, r, s) {
8677
8674
  /* STYLE */
8678
8675
  );
8679
8676
  }
8680
- const N0 = /* @__PURE__ */ Mt(A0, [["render", $0], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/yinheng/Desktop/code/xiaochengxu/liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
8677
+ const N0 = /* @__PURE__ */ Mt(A0, [["render", $0], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/yinheng/Desktop/code/workspace/z_liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
8681
8678
  const R0 = { class: "background-cover" }, L0 = /* @__PURE__ */ h(
8682
8679
  "div",
8683
8680
  { class: "invite-success" },
@@ -8762,7 +8759,7 @@ const R0 = { class: "background-cover" }, L0 = /* @__PURE__ */ h(
8762
8759
  ])
8763
8760
  ]));
8764
8761
  }
8765
- }, V0 = /* @__PURE__ */ Mt(U0, [["__file", "/Users/yinheng/Desktop/code/xiaochengxu/liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
8762
+ }, V0 = /* @__PURE__ */ Mt(U0, [["__file", "/Users/yinheng/Desktop/code/workspace/z_liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
8766
8763
  function W0(e, t) {
8767
8764
  return T(), R("svg", {
8768
8765
  xmlns: "http://www.w3.org/2000/svg",
@@ -9253,7 +9250,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
9253
9250
  });
9254
9251
  };
9255
9252
  }
9256
- }, b1 = /* @__PURE__ */ Mt(g1, [["__scopeId", "data-v-b9e2cd3f"], ["__file", "/Users/yinheng/Desktop/code/xiaochengxu/liusenlin_project/Translation_Video/src/components/MobileMoreApps.vue"]]);
9253
+ }, b1 = /* @__PURE__ */ Mt(g1, [["__scopeId", "data-v-b9e2cd3f"], ["__file", "/Users/yinheng/Desktop/code/workspace/z_liusenlin_project/Translation_Video/src/components/MobileMoreApps.vue"]]);
9257
9254
  const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
9258
9255
  class: "flex items-center justify-between py-6 lg:px-0 px-6",
9259
9256
  "aria-label": "Global"
@@ -10343,7 +10340,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
10343
10340
  /* STABLE_FRAGMENT */
10344
10341
  ));
10345
10342
  }
10346
- }, Cb = /* @__PURE__ */ Mt(Pb, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/yinheng/Desktop/code/xiaochengxu/liusenlin_project/Translation_Video/src/components/Header.vue"]]), Nb = {
10343
+ }, Cb = /* @__PURE__ */ Mt(Pb, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/yinheng/Desktop/code/workspace/z_liusenlin_project/Translation_Video/src/components/Header.vue"]]), Nb = {
10347
10344
  install(e) {
10348
10345
  e.component("my-header", Cb);
10349
10346
  }