officialblock 1.6.8 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,6 @@ var Ou = (n, e, t) => e in n ? Lu(n, e, { enumerable: !0, configurable: !0, writ
3
3
  var xi = (n, e, t) => Ou(n, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { defineComponent as te, createElementBlock as S, openBlock as b, normalizeClass as Q, createElementVNode as o, toDisplayString as X, createCommentVNode as z, Fragment as K, renderList as pe, createBlock as Z, ref as $, watch as Ce, nextTick as ze, onMounted as xt, onUnmounted as Xs, resolveComponent as j, createVNode as m, withDirectives as Le, vShow as Me, inject as pl, withCtx as T, createTextVNode as E, shallowRef as Mu, computed as F, onBeforeUnmount as Hn, unref as se, mergeProps as Te, normalizeStyle as ge, h as $u, renderSlot as Vi, withModifiers as Be, TransitionGroup as ju, Transition as yt, vModelCheckbox as Nu } from "vue";
5
5
  import Pe from "vuedraggable";
6
- import "@wangeditor/editor";
7
6
  import { Swiper as Ja, SwiperSlide as Ka } from "swiper/vue";
8
7
  import { Navigation as Ba, Pagination as Qa, Autoplay as Xo, Parallax as Ru, EffectFade as Hu } from "swiper/modules";
9
8
  import Uu from "axios";
@@ -65,7 +64,7 @@ const Wu = { class: "button-text" }, Iu = { class: "link-text" }, Xu = /* @__PUR
65
64
  emits: ["handleClick"],
66
65
  setup(n, { emit: e }) {
67
66
  const t = n, l = e, a = () => {
68
- t.data.url && (t.data.url.startsWith("http") ? window.open(t.data.url, "_blank") : l("handleClick", t.data.url));
67
+ t.data.url && (t.data.url.startsWith("http") ? window == null || window.open(t.data.url, "_blank") : l("handleClick", t.data.url));
69
68
  };
70
69
  return (s, i) => n.type === "button" ? (b(), S("div", {
71
70
  key: 0,
@@ -88,7 +87,7 @@ const Wu = { class: "button-text" }, Iu = { class: "link-text" }, Xu = /* @__PUR
88
87
  for (const [l, a] of e)
89
88
  t[l] = a;
90
89
  return t;
91
- }, Ps = /* @__PURE__ */ le(Xu, [["__scopeId", "data-v-d959a3d5"]]), qu = { class: "article-item" }, Du = { class: "article-item-title" }, Yu = ["innerHTML"], Fu = {
90
+ }, Ps = /* @__PURE__ */ le(Xu, [["__scopeId", "data-v-c5422e10"]]), qu = { class: "article-item" }, Du = { class: "article-item-title" }, Yu = ["innerHTML"], Fu = {
92
91
  key: 0,
93
92
  class: "article-item-button"
94
93
  }, Zu = {
@@ -239,9 +238,9 @@ const Wu = { class: "button-text" }, Iu = { class: "link-text" }, Xu = /* @__PUR
239
238
  }, async () => {
240
239
  await ze(), u();
241
240
  }), xt(() => {
242
- window.addEventListener("resize", u), ze(u);
241
+ window == null || window.addEventListener("resize", u), ze(u);
243
242
  }), Xs(() => {
244
- window.removeEventListener("resize", u);
243
+ window == null || window.removeEventListener("resize", u);
245
244
  }), (y, g) => {
246
245
  const w = j("a-image"), _ = j("icon-caret-right");
247
246
  return b(), S(K, null, [
@@ -325,7 +324,7 @@ const Wu = { class: "button-text" }, Iu = { class: "link-text" }, Xu = /* @__PUR
325
324
  ], 64);
326
325
  };
327
326
  }
328
- }), fc = /* @__PURE__ */ le(pc, [["__scopeId", "data-v-a39a94f2"]]), vc = /* @__PURE__ */ te({
327
+ }), fc = /* @__PURE__ */ le(pc, [["__scopeId", "data-v-40be1452"]]), vc = /* @__PURE__ */ te({
329
328
  __name: "index",
330
329
  props: {
331
330
  modelValue: {
@@ -454,7 +453,7 @@ const Wu = { class: "button-text" }, Iu = { class: "link-text" }, Xu = /* @__PUR
454
453
  });
455
454
  };
456
455
  }
457
- }), ft = /* @__PURE__ */ le(hc, [["__scopeId", "data-v-2f501911"]]), gc = { class: "setting-content" }, yc = { class: "setting-header flex items-center" }, bc = { class: "setting-header flex items-center" }, wc = { class: "setting-body" }, _c = { class: "setting-item" }, xc = { class: "item-name" }, Vc = { class: "btn-group" }, kc = { class: "drag-handle" }, Cc = { class: "btn-group" }, Tc = {
456
+ }), ft = /* @__PURE__ */ le(hc, [["__scopeId", "data-v-c50bbd44"]]), gc = { class: "setting-content" }, yc = { class: "setting-header flex items-center" }, bc = { class: "setting-header flex items-center" }, wc = { class: "setting-body" }, _c = { class: "setting-item" }, xc = { class: "item-name" }, Vc = { class: "btn-group" }, kc = { class: "drag-handle" }, Cc = { class: "btn-group" }, Tc = {
458
457
  key: 0,
459
458
  class: "drag-handle"
460
459
  }, Pc = { class: "item-action flex items-center" }, Sc = ["onClick"], Lc = { class: "btn-group" }, Oc = {
@@ -6733,7 +6732,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
6733
6732
  emits: ["update:modelValue", "handleDelete", "handleCopy", "handlePaste"],
6734
6733
  setup(n, { emit: e }) {
6735
6734
  Fa.registerPlugin(Ne);
6736
- const t = n, l = e, a = F(() => window.innerWidth), s = () => {
6735
+ const t = n, l = e, a = F(() => window == null ? void 0 : window.innerWidth), s = () => {
6737
6736
  var N;
6738
6737
  if (t.modelValue && t.modelValue.data) return;
6739
6738
  const O = {
@@ -6786,7 +6785,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
6786
6785
  return a.value <= 767.98 && v.value < ((O = h.value) == null ? void 0 : O.length);
6787
6786
  }), g = () => {
6788
6787
  if (typeof window < "u")
6789
- return Math.round(window.pageYOffset);
6788
+ return Math.round(window == null ? void 0 : window.pageYOffset);
6790
6789
  }, w = F(() => g());
6791
6790
  Ce(() => w.value, () => {
6792
6791
  a.value >= 768 || M(x, 5e3);
@@ -6808,8 +6807,8 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
6808
6807
  {
6809
6808
  "--line-height": "100%",
6810
6809
  scrollTrigger: {
6811
- start: () => window.innerWidth < 768 ? "top center" : `top top+=${50 + Y * 35}px`,
6812
- end: () => window.innerWidth < 768 ? "center center" : `bottom center+=${Y * 25}px`,
6810
+ start: () => (window == null ? void 0 : window.innerWidth) < 768 ? "top center" : `top top+=${50 + Y * 35}px`,
6811
+ end: () => (window == null ? void 0 : window.innerWidth) < 768 ? "center center" : `bottom center+=${Y * 25}px`,
6813
6812
  scrub: 1,
6814
6813
  trigger: N[Y],
6815
6814
  scroller: R,
@@ -6960,7 +6959,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
6960
6959
  ], 64);
6961
6960
  };
6962
6961
  }
6963
- }), au = /* @__PURE__ */ le(A1, [["__scopeId", "data-v-c2437ee0"]]), m1 = { class: "setting-content" }, p1 = { class: "setting-header flex items-center" }, f1 = { class: "setting-body" }, v1 = { class: "setting-item" }, h1 = { class: "btn-group" }, g1 = {
6962
+ }), au = /* @__PURE__ */ le(A1, [["__scopeId", "data-v-38620343"]]), m1 = { class: "setting-content" }, p1 = { class: "setting-header flex items-center" }, f1 = { class: "setting-body" }, v1 = { class: "setting-item" }, h1 = { class: "btn-group" }, g1 = {
6964
6963
  key: 0,
6965
6964
  class: "drag-handle"
6966
6965
  }, y1 = { class: "item-schedule-list" }, b1 = { class: "btn-group" }, w1 = {
@@ -7262,7 +7261,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7262
7261
  emits: ["update:modelValue", "handleDelete", "handleCopy", "handlePaste"],
7263
7262
  setup(n, { emit: e }) {
7264
7263
  Fa.registerPlugin(Ne);
7265
- const t = n, l = e, a = F(() => window.innerWidth), s = () => {
7264
+ const t = n, l = e, a = F(() => window == null ? void 0 : window.innerWidth), s = () => {
7266
7265
  var N;
7267
7266
  if (t.modelValue && t.modelValue.data) return;
7268
7267
  const O = {
@@ -7349,7 +7348,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7349
7348
  return a.value <= 767.98 && v.value < ((O = h.value) == null ? void 0 : O.length);
7350
7349
  }), g = () => {
7351
7350
  if (typeof window < "u")
7352
- return Math.round(window.pageYOffset);
7351
+ return Math.round(window == null ? void 0 : window.pageYOffset);
7353
7352
  }, w = F(() => g());
7354
7353
  Ce(() => w.value, () => {
7355
7354
  a.value >= 768 || M(x, 5e3);
@@ -7371,8 +7370,8 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7371
7370
  {
7372
7371
  "--line-height": "100%",
7373
7372
  scrollTrigger: {
7374
- start: () => window.innerWidth < 768 ? "top center" : `top top+=${50 + Y * 35}px`,
7375
- end: () => window.innerWidth < 768 ? "center center" : `bottom center+=${Y * 25}px`,
7373
+ start: () => (window == null ? void 0 : window.innerWidth) < 768 ? "top center" : `top top+=${50 + Y * 35}px`,
7374
+ end: () => (window == null ? void 0 : window.innerWidth) < 768 ? "center center" : `bottom center+=${Y * 25}px`,
7376
7375
  scrub: 1,
7377
7376
  trigger: N[Y],
7378
7377
  scroller: R,
@@ -7536,7 +7535,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7536
7535
  ], 64);
7537
7536
  };
7538
7537
  }
7539
- }), su = /* @__PURE__ */ le(q1, [["__scopeId", "data-v-99e9210c"]]), D1 = ["href"], Y1 = ["onClick"], F1 = {
7538
+ }), su = /* @__PURE__ */ le(q1, [["__scopeId", "data-v-5547ab56"]]), D1 = ["href"], Y1 = ["onClick"], F1 = {
7540
7539
  key: 1,
7541
7540
  class: "text-link"
7542
7541
  }, Z1 = ["onClick"], G1 = { class: "text-link__text" }, J1 = /* @__PURE__ */ te({
@@ -7599,7 +7598,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7599
7598
  },
7600
7599
  emits: ["updateIdx"],
7601
7600
  setup(n, { emit: e }) {
7602
- const t = n, l = e, a = $(72), s = $(250), i = $(window.innerWidth), d = $([]), A = F(() => {
7601
+ const t = n, l = e, a = $(72), s = $(250), i = $(window == null ? void 0 : window.innerWidth), d = $([]), A = F(() => {
7603
7602
  var f, p;
7604
7603
  const v = (p = (f = t.data) == null ? void 0 : f.processes) == null ? void 0 : p.length;
7605
7604
  return !v || v <= 1 ? "0%" : `${c.value / (v - 1) * 100}%`;
@@ -7611,7 +7610,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7611
7610
  l("updateIdx", v);
7612
7611
  }
7613
7612
  }), u = () => {
7614
- i.value = window.innerWidth;
7613
+ i.value = window == null ? void 0 : window.innerWidth;
7615
7614
  }, r = () => {
7616
7615
  const v = d.value;
7617
7616
  if (!v || v.length === 0) return;
@@ -7623,11 +7622,11 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7623
7622
  return Ce(i, () => {
7624
7623
  r();
7625
7624
  }), xt(() => {
7626
- window.addEventListener("resize", u), u(), d.value = [], ze(() => {
7625
+ window == null || window.addEventListener("resize", u), u(), d.value = [], ze(() => {
7627
7626
  r();
7628
7627
  });
7629
7628
  }), Hn(() => {
7630
- window.removeEventListener("resize", u);
7629
+ window == null || window.removeEventListener("resize", u);
7631
7630
  }), (v, f) => {
7632
7631
  var p, h, V, y;
7633
7632
  return b(), S("div", K1, [
@@ -7714,7 +7713,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7714
7713
  ]);
7715
7714
  };
7716
7715
  }
7717
- }), mv = /* @__PURE__ */ le(Av, [["__scopeId", "data-v-485de4f0"]]), pv = { class: "process-accordion" }, fv = { class: "text-blue-dark" }, vv = { class: "process-list my-6" }, hv = ["onClick"], gv = { class: "item-date tx-body-p" }, yv = { class: "item-line" }, bv = { class: "item-collapse__header flex-between" }, wv = { class: "collapse__header__title" }, _v = ["innerHTML"], xv = { class: "item__link mt-1" }, Vv = { class: "link-list__container" }, kv = /* @__PURE__ */ te({
7716
+ }), mv = /* @__PURE__ */ le(Av, [["__scopeId", "data-v-71038fed"]]), pv = { class: "process-accordion" }, fv = { class: "text-blue-dark" }, vv = { class: "process-list my-6" }, hv = ["onClick"], gv = { class: "item-date tx-body-p" }, yv = { class: "item-line" }, bv = { class: "item-collapse__header flex-between" }, wv = { class: "collapse__header__title" }, _v = ["innerHTML"], xv = { class: "item__link mt-1" }, Vv = { class: "link-list__container" }, kv = /* @__PURE__ */ te({
7718
7717
  name: "ProcessAccordion",
7719
7718
  __name: "ProcessAccordion",
7720
7719
  props: {
@@ -7733,7 +7732,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7733
7732
  });
7734
7733
  });
7735
7734
  });
7736
- const a = $(window.innerWidth), s = $([]), i = $([]), d = F({
7735
+ const a = $(window == null ? void 0 : window.innerWidth), s = $([]), i = $([]), d = F({
7737
7736
  get() {
7738
7737
  return t.activeIdx ?? NaN;
7739
7738
  },
@@ -7741,7 +7740,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7741
7740
  l("updateIdx", r);
7742
7741
  }
7743
7742
  }), A = () => {
7744
- a.value = window.innerWidth;
7743
+ a.value = window == null ? void 0 : window.innerWidth;
7745
7744
  }, c = () => {
7746
7745
  i.value.forEach((v) => {
7747
7746
  v.style.setProperty("--max-height", `${v.scrollHeight}px`);
@@ -7752,11 +7751,11 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7752
7751
  return Ce(a, () => {
7753
7752
  c();
7754
7753
  }), xt(() => {
7755
- window.addEventListener("resize", A), A(), s.value = [], i.value = [], ze(() => {
7754
+ window == null || window.addEventListener("resize", A), A(), s.value = [], i.value = [], ze(() => {
7756
7755
  c();
7757
7756
  });
7758
7757
  }), Hn(() => {
7759
- window.removeEventListener("resize", A);
7758
+ window == null || window.removeEventListener("resize", A);
7760
7759
  }), (r, v) => {
7761
7760
  var f, p, h;
7762
7761
  return b(), S("div", pv, [
@@ -7817,7 +7816,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
7817
7816
  ]);
7818
7817
  };
7819
7818
  }
7820
- }), Cv = /* @__PURE__ */ le(kv, [["__scopeId", "data-v-262f42cb"]]), Tv = { class: "setting-content" }, Pv = { class: "setting-header flex items-center" }, Sv = { class: "setting-header flex items-center" }, Lv = { class: "setting-body" }, Ov = { class: "btn-group" }, Mv = {
7819
+ }), Cv = /* @__PURE__ */ le(kv, [["__scopeId", "data-v-ba67b32e"]]), Tv = { class: "setting-content" }, Pv = { class: "setting-header flex items-center" }, Sv = { class: "setting-header flex items-center" }, Lv = { class: "setting-body" }, Ov = { class: "btn-group" }, Mv = {
7821
7820
  key: 0,
7822
7821
  class: "drag-handle"
7823
7822
  }, $v = { class: "item-action flex items-center mt-2" }, jv = { class: "setting-body mt-2" }, Nv = { class: "btn-group" }, Rv = {
@@ -8307,13 +8306,13 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
8307
8306
  l("handlePaste", f);
8308
8307
  };
8309
8308
  a();
8310
- const u = $(0), r = $(window.innerWidth), v = () => {
8311
- r.value = window.innerWidth;
8309
+ const u = $(0), r = $(window == null ? void 0 : window.innerWidth), v = () => {
8310
+ r.value = window == null ? void 0 : window.innerWidth;
8312
8311
  };
8313
8312
  return xt(() => {
8314
- window.addEventListener("resize", v), v();
8313
+ window == null || window.addEventListener("resize", v), v();
8315
8314
  }), Hn(() => {
8316
- window.removeEventListener("resize", v);
8315
+ window == null || window.removeEventListener("resize", v);
8317
8316
  }), (f, p) => {
8318
8317
  var h, V, y, g;
8319
8318
  return b(), S(K, null, [
@@ -8358,7 +8357,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
8358
8357
  ], 64);
8359
8358
  };
8360
8359
  }
8361
- }), ou = /* @__PURE__ */ le(Zv, [["__scopeId", "data-v-24d97895"]]), Gv = { class: "setting-content" }, Jv = /* @__PURE__ */ te({
8360
+ }), ou = /* @__PURE__ */ le(Zv, [["__scopeId", "data-v-79a5e7d9"]]), Gv = { class: "setting-content" }, Jv = /* @__PURE__ */ te({
8362
8361
  __name: "setting",
8363
8362
  props: {
8364
8363
  show: {
@@ -9769,9 +9768,9 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
9769
9768
  return Ce(() => t.data, async () => {
9770
9769
  await ze(), A();
9771
9770
  }), xt(() => {
9772
- window.addEventListener("resize", A), ze(A);
9771
+ window == null || window.addEventListener("resize", A), ze(A);
9773
9772
  }), Xs(() => {
9774
- window.removeEventListener("resize", A);
9773
+ window == null || window.removeEventListener("resize", A);
9775
9774
  }), (v, f) => (b(), S("div", gh, [
9776
9775
  Le(o("div", {
9777
9776
  class: "quick-links__nav__prev",
@@ -9802,7 +9801,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
9802
9801
  ])
9803
9802
  ]));
9804
9803
  }
9805
- }), wh = /* @__PURE__ */ le(bh, [["__scopeId", "data-v-83b87f22"]]), _h = { class: "swiper-wrapper" }, xh = { class: "swiper-slide__media" }, Vh = ["src", "alt"], kh = {
9804
+ }), wh = /* @__PURE__ */ le(bh, [["__scopeId", "data-v-c6535384"]]), _h = { class: "swiper-wrapper" }, xh = { class: "swiper-slide__media" }, Vh = ["src", "alt"], kh = {
9806
9805
  key: 1,
9807
9806
  class: "video-player"
9808
9807
  }, Ch = ["poster"], Th = ["src"], Ph = ["href"], Sh = { class: "swiper-slide__body" }, Lh = { class: "swiper-slide__body__title text-center" }, Oh = { class: "video-box" }, Mh = ["src"], $h = /* @__PURE__ */ te({
@@ -11228,7 +11227,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
11228
11227
  setup(n, { emit: e }) {
11229
11228
  const t = n, l = e, a = F(() => {
11230
11229
  var W, I, q, Y;
11231
- const R = window.innerWidth;
11230
+ const R = window == null ? void 0 : window.innerWidth;
11232
11231
  return ((I = (W = t.modelValue) == null ? void 0 : W.data) == null ? void 0 : I.length) > 3 && R >= 1024 || ((Y = (q = t.modelValue) == null ? void 0 : q.data) == null ? void 0 : Y.length) > 2 && R >= 768 && R < 1024 || R < 768;
11233
11232
  }), s = $(!0), i = [Ba, Qa, Xo], d = {
11234
11233
  768: {
@@ -11460,7 +11459,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
11460
11459
  ], 64);
11461
11460
  };
11462
11461
  }
11463
- }), mu = /* @__PURE__ */ le(Kg, [["__scopeId", "data-v-69e5bb6d"]]), Bg = { class: "setting-content" }, Qg = { class: "setting-header flex items-center" }, e2 = { class: "setting-body" }, t2 = { class: "setting-item" }, l2 = { class: "btn-group" }, n2 = {
11462
+ }), mu = /* @__PURE__ */ le(Kg, [["__scopeId", "data-v-83e9de4a"]]), Bg = { class: "setting-content" }, Qg = { class: "setting-header flex items-center" }, e2 = { class: "setting-body" }, t2 = { class: "setting-item" }, l2 = { class: "btn-group" }, n2 = {
11464
11463
  key: 0,
11465
11464
  class: "drag-handle"
11466
11465
  }, a2 = /* @__PURE__ */ te({
@@ -11642,7 +11641,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
11642
11641
  var M;
11643
11642
  return ((M = t.modelValue) == null ? void 0 : M.row) ?? 2;
11644
11643
  }), v = F(() => {
11645
- const M = window.innerWidth;
11644
+ const M = window == null ? void 0 : window.innerWidth;
11646
11645
  return (M >= 768 && M >= 1024 ? 4 : 3) * r.value;
11647
11646
  }), f = () => {
11648
11647
  var O, N, R;
@@ -12260,7 +12259,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
12260
12259
  ], 64);
12261
12260
  };
12262
12261
  }
12263
- }), pu = /* @__PURE__ */ le(h2, [["__scopeId", "data-v-9a368a4a"]]), g2 = { class: "setting-content" }, y2 = ["src"], b2 = { class: "item-uplaod flex items-center" }, w2 = /* @__PURE__ */ te({
12262
+ }), pu = /* @__PURE__ */ le(h2, [["__scopeId", "data-v-55f814e1"]]), g2 = { class: "setting-content" }, y2 = ["src"], b2 = { class: "item-uplaod flex items-center" }, w2 = /* @__PURE__ */ te({
12264
12263
  __name: "setting",
12265
12264
  props: {
12266
12265
  show: {
@@ -13030,14 +13029,14 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
13030
13029
  },
13031
13030
  emits: ["updateCurrentIdx"],
13032
13031
  setup(n, { emit: e }) {
13033
- const t = n, l = e, a = $(0), s = $(0), i = $(0), d = $(0), A = $(!1), c = $(window.innerWidth), u = $(null), r = $(null), v = F(() => a.value > 40), f = F(() => s.value - 40 > c.value);
13032
+ const t = n, l = e, a = $(0), s = $(0), i = $(0), d = $(0), A = $(!1), c = $(window == null ? void 0 : window.innerWidth), u = $(null), r = $(null), v = F(() => a.value > 40), f = F(() => s.value - 40 > c.value);
13034
13033
  Ce(() => c.value, () => {
13035
13034
  h(), V();
13036
13035
  }), Ce(() => t.currentIdx, () => {
13037
13036
  ze(P);
13038
13037
  });
13039
13038
  const p = () => {
13040
- c.value = window.innerWidth;
13039
+ c.value = window == null ? void 0 : window.innerWidth;
13041
13040
  }, h = () => {
13042
13041
  A.value = !0, _(), g();
13043
13042
  }, V = () => {
@@ -13075,7 +13074,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
13075
13074
  });
13076
13075
  };
13077
13076
  return xt(() => {
13078
- window.addEventListener("resize", p), p(), ze(() => {
13077
+ window == null || window.addEventListener("resize", p), p(), ze(() => {
13079
13078
  setTimeout(h, 300), V();
13080
13079
  });
13081
13080
  }), (L, x) => (b(), S("div", {
@@ -13123,7 +13122,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
13123
13122
  }, null, 4)
13124
13123
  ], 512));
13125
13124
  }
13126
- }), uy = /* @__PURE__ */ le(dy, [["__scopeId", "data-v-b22d359b"]]), cy = { class: "timeline-story-caption" }, Ay = { class: "caption__content" }, my = { class: "caption__body" }, py = { class: "caption__text" }, fy = { class: "caption__img" }, vy = ["src"], hy = /* @__PURE__ */ te({
13125
+ }), uy = /* @__PURE__ */ le(dy, [["__scopeId", "data-v-f9a83bfc"]]), cy = { class: "timeline-story-caption" }, Ay = { class: "caption__content" }, my = { class: "caption__body" }, py = { class: "caption__text" }, fy = { class: "caption__img" }, vy = ["src"], hy = /* @__PURE__ */ te({
13127
13126
  name: "TimelineStoryCaption",
13128
13127
  __name: "TimelineStoryCaption",
13129
13128
  props: {
@@ -13463,28 +13462,28 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
13463
13462
  l("handlePaste", re);
13464
13463
  };
13465
13464
  a();
13466
- const u = $(0), r = $(0), v = $(0), f = $(0), p = $(""), h = $(""), V = $(!1), y = $(window.innerWidth), g = $(window.scrollY), w = $(!1), _ = $(null), P = $(null), L = $(null), x = $(null), C = $(null), M = $(null), O = $(null), N = $([]), R = $([]), W = F(() => y.value > 1023.98 ? 100 : 66), I = F(() => w.value);
13465
+ const u = $(0), r = $(0), v = $(0), f = $(0), p = $(""), h = $(""), V = $(!1), y = $(window == null ? void 0 : window.innerWidth), g = $(window == null ? void 0 : window.scrollY), w = $(!1), _ = $(null), P = $(null), L = $(null), x = $(null), C = $(null), M = $(null), O = $(null), N = $([]), R = $([]), W = F(() => y.value > 1023.98 ? 100 : 66), I = F(() => w.value);
13467
13466
  Ce(y, () => {
13468
13467
  Re();
13469
13468
  });
13470
- const q = (re) => re ? re.getBoundingClientRect().top + window.scrollY : 0, Y = (re) => {
13469
+ const q = (re) => re ? re.getBoundingClientRect().top + (window == null ? void 0 : window.scrollY) : 0, Y = (re) => {
13471
13470
  if (!re) return { x: 0, y: 0 };
13472
13471
  const ae = re.getBoundingClientRect();
13473
13472
  return {
13474
- x: ae.left + window.scrollX,
13475
- y: ae.top + window.scrollY
13473
+ x: ae.left + (window == null ? void 0 : window.scrollX),
13474
+ y: ae.top + (window == null ? void 0 : window.scrollY)
13476
13475
  };
13477
13476
  }, G = (re) => {
13478
13477
  re ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
13479
13478
  }, ee = () => {
13480
- window.addEventListener("scroll", J), window.addEventListener("resize", k), k();
13479
+ window == null || window.addEventListener("scroll", J), window == null || window.addEventListener("resize", k), k();
13481
13480
  }, D = () => {
13482
- window.removeEventListener("scroll", J), window.removeEventListener("resize", k);
13481
+ window == null || window.removeEventListener("scroll", J), window == null || window.removeEventListener("resize", k);
13483
13482
  }, k = () => {
13484
- y.value = window.innerWidth, g.value = window.scrollY;
13483
+ y.value = window == null ? void 0 : window.innerWidth, g.value = window == null ? void 0 : window.scrollY;
13485
13484
  }, J = () => {
13486
13485
  var be;
13487
- g.value = window.scrollY;
13486
+ g.value = window == null ? void 0 : window.scrollY;
13488
13487
  const re = g.value + W.value + 64, ae = q(x.value), me = ae + (((be = x.value) == null ? void 0 : be.clientHeight) || 0);
13489
13488
  re < ae ? u.value = 0 : re > me && (u.value = 999), oe(), de(), he(), Ye(), at(), ie();
13490
13489
  }, oe = () => {
@@ -13540,7 +13539,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
13540
13539
  }
13541
13540
  }, ne = (re) => {
13542
13541
  const ae = y.value < 768 ? 120 : 150, me = Y(N.value[re]).y - ae;
13543
- window.scroll({ top: me, left: 0, behavior: "smooth" });
13542
+ window == null || window.scroll({ top: me, left: 0, behavior: "smooth" });
13544
13543
  }, ie = () => {
13545
13544
  const re = _.value;
13546
13545
  if (!re) return;
@@ -13695,7 +13694,7 @@ const e1 = { class: "gallery-timeline" }, t1 = { class: "gallery-timeline__list"
13695
13694
  ], 64);
13696
13695
  };
13697
13696
  }
13698
- }), gu = /* @__PURE__ */ le(Wy, [["__scopeId", "data-v-c0e084af"]]), wi = Uu.create({
13697
+ }), gu = /* @__PURE__ */ le(Wy, [["__scopeId", "data-v-5742d263"]]), wi = Uu.create({
13699
13698
  baseURL: "https://cms-test.cedim.cn/api/",
13700
13699
  timeout: 3e4,
13701
13700
  headers: {
@@ -13910,10 +13909,10 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
13910
13909
  set(k) {
13911
13910
  l("updateIdx", k), ze(() => D());
13912
13911
  }
13913
- }), C = F(() => A.value - c.value), M = F(() => r.value - window.innerWidth > 20);
13912
+ }), C = F(() => A.value - c.value), M = F(() => r.value - (window == null ? void 0 : window.innerWidth) > 20);
13914
13913
  Ce(() => t.currentIdx, (k, J) => {
13915
13914
  f.value = (k ?? 0) > (J ?? 0), ze(() => W());
13916
- }), Ce(() => window.innerWidth, () => {
13915
+ }), Ce(() => window == null ? void 0 : window.innerWidth, () => {
13917
13916
  I(), W();
13918
13917
  });
13919
13918
  const O = () => {
@@ -13951,7 +13950,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
13951
13950
  }, D = () => {
13952
13951
  const k = d.value[x.value];
13953
13952
  if (!k) return;
13954
- const J = k.clientWidth / 2, oe = window.innerWidth / 2;
13953
+ const J = k.clientWidth / 2, oe = (window == null ? void 0 : window.innerWidth) / 2;
13955
13954
  h.value = k.getBoundingClientRect().right - J;
13956
13955
  const de = s.value;
13957
13956
  de && (de.scrollLeft -= oe - h.value);
@@ -14042,7 +14041,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
14042
14041
  ])
14043
14042
  ]));
14044
14043
  }
14045
- }), sb = /* @__PURE__ */ le(ab, [["__scopeId", "data-v-c130a9b5"]]), ob = { class: "article__head" }, ib = ["href"], rb = ["src", "alt"], db = ["src", "alt"], ub = ["src", "alt"], cb = {
14044
+ }), sb = /* @__PURE__ */ le(ab, [["__scopeId", "data-v-b0e8aa23"]]), ob = { class: "article__head" }, ib = ["href"], rb = ["src", "alt"], db = ["src", "alt"], ub = ["src", "alt"], cb = {
14046
14045
  key: 0,
14047
14046
  class: "article__title line-clamp-2 mt-3"
14048
14047
  }, Ab = {
@@ -14068,8 +14067,8 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
14068
14067
  var w;
14069
14068
  if (p.value || !V) return;
14070
14069
  let y = (w = t.componentProps) == null ? void 0 : w.category;
14071
- window.scroll({ top: 0, left: 0, behavior: "smooth" });
14072
- const g = a.value ? a.value.getBoundingClientRect().top + window.scrollY - 160 : 0;
14070
+ window == null || window.scroll({ top: 0, left: 0, behavior: "smooth" });
14071
+ const g = a.value ? a.value.getBoundingClientRect().top + (window == null ? void 0 : window.scrollY) - 160 : 0;
14073
14072
  l("openPopup", { key: V, cat: y, positionY: g });
14074
14073
  }, d = (V) => {
14075
14074
  l("handleClick", V);
@@ -14174,7 +14173,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
14174
14173
  ], 2)
14175
14174
  ], 512));
14176
14175
  }
14177
- }), hb = /* @__PURE__ */ le(vb, [["__scopeId", "data-v-5f1785b8"]]), gb = { class: "pagination" }, yb = { class: "d-flex align-items-center h-100 justify-content-center justify-content-md-start" }, bb = {
14176
+ }), hb = /* @__PURE__ */ le(vb, [["__scopeId", "data-v-39501277"]]), gb = { class: "pagination" }, yb = { class: "d-flex align-items-center h-100 justify-content-center justify-content-md-start" }, bb = {
14178
14177
  key: 0,
14179
14178
  class: "page-ellipsis flex-center"
14180
14179
  }, wb = ["onClick"], _b = /* @__PURE__ */ te({
@@ -14679,8 +14678,8 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
14679
14678
  l("handleClick", ne);
14680
14679
  };
14681
14680
  a();
14682
- const r = $(null), v = $(!1), f = $(void 0), p = $(0), h = $(null), V = $(null), y = $("所有年份"), g = $(10), w = $(1), _ = $(12), P = $([]), L = $({}), x = $(""), C = $(window.innerWidth), M = $("sc"), O = () => {
14683
- C.value = window.innerWidth;
14681
+ const r = $(null), v = $(!1), f = $(void 0), p = $(0), h = $(null), V = $(null), y = $("所有年份"), g = $(10), w = $(1), _ = $(12), P = $([]), L = $({}), x = $(""), C = $(window == null ? void 0 : window.innerWidth), M = $("sc"), O = () => {
14682
+ C.value = window == null ? void 0 : window.innerWidth;
14684
14683
  }, N = F(() => {
14685
14684
  var Ae, Re, He, re;
14686
14685
  if (!v.value)
@@ -14757,8 +14756,8 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
14757
14756
  );
14758
14757
  }), oe = (ne) => {
14759
14758
  if (!ne) return;
14760
- const Re = ne.getBoundingClientRect().top + window.scrollY - 100;
14761
- window.scrollTo({
14759
+ const Re = ne.getBoundingClientRect().top + (window == null ? void 0 : window.scrollY) - 100;
14760
+ window == null || window.scrollTo({
14762
14761
  top: Re,
14763
14762
  behavior: "smooth"
14764
14763
  });
@@ -14817,11 +14816,11 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
14817
14816
  return xt(() => {
14818
14817
  var ie;
14819
14818
  let ne = ((ie = t.modelValue) == null ? void 0 : ie.article_category_group_id) ?? null;
14820
- ne && (v.value = !0, f.value = ne), window.addEventListener("resize", O), O(), he(), Ye(), ze(() => {
14819
+ ne && (v.value = !0, f.value = ne), window == null || window.addEventListener("resize", O), O(), he(), Ye(), ze(() => {
14821
14820
  de();
14822
14821
  });
14823
14822
  }), Hn(() => {
14824
- window.removeEventListener("resize", O);
14823
+ window == null || window.removeEventListener("resize", O);
14825
14824
  }), (ne, ie) => (b(), S(K, null, [
14826
14825
  o("div", {
14827
14826
  class: "news-list tab-default",
@@ -14900,7 +14899,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
14900
14899
  }, null, 8, ["show", "data"]))
14901
14900
  ], 64));
14902
14901
  }
14903
- }), yu = /* @__PURE__ */ le(Eb, [["__scopeId", "data-v-7f671d7f"]]), Wb = { class: "setting-content" }, Ib = { class: "setting-header flex items-center" }, Xb = { class: "setting-header flex items-center" }, qb = {
14902
+ }), yu = /* @__PURE__ */ le(Eb, [["__scopeId", "data-v-1a0ceb28"]]), Wb = { class: "setting-content" }, Ib = { class: "setting-header flex items-center" }, Xb = { class: "setting-header flex items-center" }, qb = {
14904
14903
  key: 1,
14905
14904
  class: "btn-setting"
14906
14905
  }, Db = { class: "btn-group" }, Yb = { class: "item-action flex items-center" }, Fb = { class: "setting-body" }, Zb = { class: "btn-group" }, Gb = {
@@ -15388,7 +15387,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
15388
15387
  }, _ = $(null), P = F(() => {
15389
15388
  var O;
15390
15389
  if (!((O = t.modelValue) != null && O.data)) return [];
15391
- if (window.innerWidth < 576) {
15390
+ if ((window == null ? void 0 : window.innerWidth) < 576) {
15392
15391
  let N = [];
15393
15392
  return t.modelValue.data.forEach((R) => {
15394
15393
  R.timeSection.forEach((W) => {
@@ -15401,7 +15400,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
15401
15400
  } else
15402
15401
  return t.modelValue.data;
15403
15402
  }), L = F(() => {
15404
- if (window.innerWidth < 576) {
15403
+ if ((window == null ? void 0 : window.innerWidth) < 576) {
15405
15404
  const O = 2280 / P.value.length / 2;
15406
15405
  return f.value = `-${O}%`, f.value;
15407
15406
  } else
@@ -15581,7 +15580,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
15581
15580
  ], 64);
15582
15581
  };
15583
15582
  }
15584
- }), bu = /* @__PURE__ */ le(jw, [["__scopeId", "data-v-2fc8813f"]]), Nw = { class: "setting-content" }, Rw = { class: "setting-header flex items-center" }, Hw = { class: "setting-body" }, Uw = { class: "setting-item" }, zw = { class: "btn-group" }, Ew = {
15583
+ }), bu = /* @__PURE__ */ le(jw, [["__scopeId", "data-v-42b8b045"]]), Nw = { class: "setting-content" }, Rw = { class: "setting-header flex items-center" }, Hw = { class: "setting-body" }, Uw = { class: "setting-item" }, zw = { class: "btn-group" }, Ew = {
15585
15584
  key: 0,
15586
15585
  class: "drag-handle"
15587
15586
  }, Ww = ["src"], Iw = { class: "item-uplaod flex items-center" }, Xw = /* @__PURE__ */ te({
@@ -15825,7 +15824,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
15825
15824
  ]
15826
15825
  };
15827
15826
  l("update:modelValue", C);
15828
- }, s = $(!1), i = $(!1), d = $(null), A = $(null), c = $(null), u = $(window.innerWidth), r = $(0), v = [Ba, Qa, Hu], f = {
15827
+ }, s = $(!1), i = $(!1), d = $(null), A = $(null), c = $(null), u = $(window == null ? void 0 : window.innerWidth), r = $(0), v = [Ba, Qa, Hu], f = {
15829
15828
  type: "loop",
15830
15829
  perPage: 3,
15831
15830
  perMove: 1,
@@ -15844,9 +15843,9 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
15844
15843
  }, V = (C) => {
15845
15844
  l("handlePaste", C);
15846
15845
  }, y = () => {
15847
- u.value = window.innerWidth;
15846
+ u.value = window == null ? void 0 : window.innerWidth;
15848
15847
  };
15849
- window.addEventListener("resize", y);
15848
+ window == null || window.addEventListener("resize", y);
15850
15849
  const g = (C) => {
15851
15850
  console.log("Splide initialized:", {
15852
15851
  index: C.index,
@@ -15867,7 +15866,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
15867
15866
  c.value = C;
15868
15867
  };
15869
15868
  return Hn(() => {
15870
- window.removeEventListener("resize", y);
15869
+ window == null || window.removeEventListener("resize", y);
15871
15870
  }), a(), (C, M) => {
15872
15871
  var O, N;
15873
15872
  return b(), S(K, null, [
@@ -16020,7 +16019,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
16020
16019
  ], 64);
16021
16020
  };
16022
16021
  }
16023
- }), wu = /* @__PURE__ */ le(u_, [["__scopeId", "data-v-613326b1"]]), c_ = { class: "seting-box" }, A_ = ["src"], m_ = { class: "item-uplaod flex items-center" }, p_ = /* @__PURE__ */ te({
16022
+ }), wu = /* @__PURE__ */ le(u_, [["__scopeId", "data-v-db539b7e"]]), c_ = { class: "seting-box" }, A_ = ["src"], m_ = { class: "item-uplaod flex items-center" }, p_ = /* @__PURE__ */ te({
16024
16023
  __name: "setting",
16025
16024
  props: {
16026
16025
  show: {
@@ -17681,7 +17680,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
17681
17680
  }, p = (y) => {
17682
17681
  c("handlePaste", y);
17683
17682
  }, h = (y, g) => {
17684
- g.linkType !== "textOnly" && (y.includes("http") ? window.open(y, "_blank") : c("handleClick", y));
17683
+ g.linkType !== "textOnly" && (y.includes("http") ? window == null || window.open(y, "_blank") : c("handleClick", y));
17685
17684
  }, V = () => {
17686
17685
  var g;
17687
17686
  if (A.modelValue && A.modelValue.data) return;
@@ -17930,7 +17929,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
17930
17929
  ], 64);
17931
17930
  };
17932
17931
  }
17933
- }), Tu = /* @__PURE__ */ le(AV, [["__scopeId", "data-v-2c1365c4"]]), mV = { class: "pagination_wrap" }, pV = { class: "pagination" }, fV = { class: "pagination-list" }, vV = ["onClick"], hV = /* @__PURE__ */ te({
17932
+ }), Tu = /* @__PURE__ */ le(AV, [["__scopeId", "data-v-f306df06"]]), mV = { class: "pagination_wrap" }, pV = { class: "pagination" }, fV = { class: "pagination-list" }, vV = ["onClick"], hV = /* @__PURE__ */ te({
17934
17933
  __name: "Pagination",
17935
17934
  props: {
17936
17935
  total: {
@@ -19380,7 +19379,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
19380
19379
  var H;
19381
19380
  return ((H = t.modelValue) == null ? void 0 : H.zoom_mobile) ?? u.value.zoom_mobile;
19382
19381
  }
19383
- ), oe = F(() => window.innerWidth > 768 ? k.value : J.value), de = F(() => window.innerWidth < 1024), he = (H, B) => ({
19382
+ ), oe = F(() => (window == null ? void 0 : window.innerWidth) > 768 ? k.value : J.value), de = F(() => (window == null ? void 0 : window.innerWidth) < 1024), he = (H, B) => ({
19384
19383
  left: `${H}%`,
19385
19384
  top: `${B}%`,
19386
19385
  transform: "translate(-50%, -75%)"
@@ -19416,7 +19415,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
19416
19415
  let ve = H, fe = B;
19417
19416
  const Se = W.value, kt = R.value;
19418
19417
  if (!Se || !kt) return;
19419
- const Cl = Se.getBoundingClientRect().width, Ul = Se.getBoundingClientRect().height, it = kt.getBoundingClientRect().height, yl = window.innerWidth, qe = {
19418
+ const Cl = Se.getBoundingClientRect().width, Ul = Se.getBoundingClientRect().height, it = kt.getBoundingClientRect().height, yl = window == null ? void 0 : window.innerWidth, qe = {
19420
19419
  right: -Cl + yl / 2,
19421
19420
  left: -1 * yl / 2,
19422
19421
  top: -Ul + it / 2,
@@ -19442,7 +19441,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
19442
19441
  H === v.value && (v.value = NaN);
19443
19442
  }, be = () => {
19444
19443
  re(), ze(() => {
19445
- window.innerWidth <= 768 && setTimeout(() => P.value = !0, 1300);
19444
+ (window == null ? void 0 : window.innerWidth) <= 768 && setTimeout(() => P.value = !0, 1300);
19446
19445
  });
19447
19446
  }, Ve = (H) => {
19448
19447
  H.preventDefault();
@@ -19460,7 +19459,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
19460
19459
  return Ce(u, () => {
19461
19460
  r.value = NaN;
19462
19461
  }), Ce(
19463
- () => window.innerWidth,
19462
+ () => window == null ? void 0 : window.innerWidth,
19464
19463
  () => {
19465
19464
  re();
19466
19465
  }
@@ -19469,7 +19468,7 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
19469
19468
  }), Ce(w, () => {
19470
19469
  const H = W.value;
19471
19470
  if (!H) return;
19472
- const B = H.getBoundingClientRect().width, ve = window.innerWidth, fe = {
19471
+ const B = H.getBoundingClientRect().width, ve = window == null ? void 0 : window.innerWidth, fe = {
19473
19472
  right: -B + ve / 2,
19474
19473
  left: -1 * ve / 2
19475
19474
  };
@@ -19612,119 +19611,119 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
19612
19611
  ], 64);
19613
19612
  };
19614
19613
  }
19615
- }), Su = /* @__PURE__ */ le(Zk, [["__scopeId", "data-v-191925d6"]]), j3 = {
19614
+ }), Su = /* @__PURE__ */ le(Zk, [["__scopeId", "data-v-f81be2fc"]]), $3 = {
19616
19615
  install: (n) => {
19617
19616
  n.component("RibbonBlock", hu);
19618
19617
  }
19619
- }, N3 = {
19618
+ }, j3 = {
19620
19619
  install: (n) => {
19621
19620
  n.component("TimelineStory", gu);
19622
19621
  }
19623
- }, R3 = {
19622
+ }, N3 = {
19624
19623
  install: (n) => {
19625
19624
  n.component("NewsList", yu);
19626
19625
  }
19627
- }, H3 = {
19626
+ }, R3 = {
19628
19627
  install: (n) => {
19629
19628
  n.component("TheHistoryCarousel", bu);
19630
19629
  }
19631
- }, U3 = {
19630
+ }, H3 = {
19632
19631
  install: (n) => {
19633
19632
  n.component("CardShowcaseProfile", wu);
19634
19633
  }
19635
- }, z3 = {
19634
+ }, U3 = {
19636
19635
  install: (n) => {
19637
19636
  n.component("ArticleList", _r);
19638
19637
  }
19639
- }, E3 = {
19638
+ }, z3 = {
19640
19639
  install: (n) => {
19641
19640
  n.component("BannerImage", xr);
19642
19641
  }
19643
- }, W3 = {
19642
+ }, E3 = {
19644
19643
  install: (n) => {
19645
19644
  n.component("BannerPage", Vr);
19646
19645
  }
19647
- }, I3 = {
19646
+ }, W3 = {
19648
19647
  install: (n) => {
19649
19648
  n.component("BtnList", Do);
19650
19649
  }
19651
- }, X3 = {
19650
+ }, I3 = {
19652
19651
  install: (n) => {
19653
19652
  n.component("GalleryDefault", kr);
19654
19653
  }
19655
- }, q3 = {
19654
+ }, X3 = {
19656
19655
  install: (n) => {
19657
19656
  n.component("GalleryCaptionRound", Cr);
19658
19657
  }
19659
- }, D3 = {
19658
+ }, q3 = {
19660
19659
  install: (n) => {
19661
19660
  n.component("GalleryTimeline", au);
19662
19661
  }
19663
- }, Y3 = {
19662
+ }, D3 = {
19664
19663
  install: (n) => {
19665
19664
  n.component("GalleryTimelineCol", su);
19666
19665
  }
19667
- }, F3 = {
19666
+ }, Y3 = {
19668
19667
  install: (n) => {
19669
19668
  n.component("Process", ou);
19670
19669
  }
19671
- }, Z3 = {
19670
+ }, F3 = {
19672
19671
  install: (n) => {
19673
19672
  n.component("CustomSpace", iu);
19674
19673
  }
19675
- }, G3 = {
19674
+ }, Z3 = {
19676
19675
  install: (n) => {
19677
19676
  n.component("GalleryList", ru);
19678
19677
  }
19679
- }, J3 = {
19678
+ }, G3 = {
19680
19679
  install: (n) => {
19681
19680
  n.component("HeroSlide", du);
19682
19681
  }
19683
- }, K3 = {
19682
+ }, J3 = {
19684
19683
  install: (n) => {
19685
19684
  n.component("LinkList", uu);
19686
19685
  }
19687
- }, B3 = {
19686
+ }, K3 = {
19688
19687
  install: (n) => {
19689
19688
  n.component("QuoteText", cu);
19690
19689
  }
19691
- }, Q3 = {
19690
+ }, B3 = {
19692
19691
  install: (n) => {
19693
19692
  n.component("DonorLinks", Au);
19694
19693
  }
19695
- }, e5 = {
19694
+ }, Q3 = {
19696
19695
  install: (n) => {
19697
19696
  n.component("CardCarousel", mu);
19698
19697
  }
19699
- }, t5 = {
19698
+ }, e5 = {
19700
19699
  install: (n) => {
19701
19700
  n.component("CardCarouselMultiRow", pu);
19702
19701
  }
19703
- }, l5 = {
19702
+ }, t5 = {
19704
19703
  install: (n) => {
19705
19704
  n.component("BannerQuote", fu);
19706
19705
  }
19707
- }, n5 = {
19706
+ }, l5 = {
19708
19707
  install: (n) => {
19709
19708
  n.component("ArticleItem", vu);
19710
19709
  }
19711
- }, a5 = {
19710
+ }, n5 = {
19712
19711
  install: (n) => {
19713
19712
  n.component("CountDown", _u);
19714
19713
  }
19715
- }, s5 = {
19714
+ }, a5 = {
19716
19715
  install: (n) => {
19717
19716
  n.component("CustomIframe", xu);
19718
19717
  }
19719
- }, o5 = {
19718
+ }, s5 = {
19720
19719
  install: (n) => {
19721
19720
  n.component("BannerImageWithLink", Cu);
19722
19721
  }
19723
- }, i5 = {
19722
+ }, o5 = {
19724
19723
  install: (n) => {
19725
19724
  n.component("ContactUsList", Vu);
19726
19725
  }
19727
- }, r5 = {
19726
+ }, i5 = {
19728
19727
  install: (n) => {
19729
19728
  n.component("TableTwo", ku);
19730
19729
  }
@@ -20366,19 +20365,19 @@ const Iy = wi, Xy = { class: "list-sort" }, qy = ["onClick"], Dy = /* @__PURE__
20366
20365
  ], 64);
20367
20366
  };
20368
20367
  }
20369
- }), D8 = /* @__PURE__ */ le(q8, [["__scopeId", "data-v-25e84daf"]]), d5 = {
20368
+ }), D8 = /* @__PURE__ */ le(q8, [["__scopeId", "data-v-25e84daf"]]), r5 = {
20370
20369
  install: (n) => {
20371
20370
  n.component("ScrollKeyInfo", D8);
20372
20371
  }
20373
- }, u5 = {
20372
+ }, d5 = {
20374
20373
  install: (n) => {
20375
20374
  n.component("ContactUsInfo", Tu);
20376
20375
  }
20377
- }, c5 = {
20376
+ }, u5 = {
20378
20377
  install: (n) => {
20379
20378
  n.component("Publications", Pu);
20380
20379
  }
20381
- }, A5 = {
20380
+ }, c5 = {
20382
20381
  install: (n) => {
20383
20382
  n.component("MapStatic", Su);
20384
20383
  }
@@ -20708,7 +20707,7 @@ const br = "data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEd
20708
20707
  }, u = (g) => {
20709
20708
  if (y.value) return;
20710
20709
  let w = l.componentProps.category;
20711
- window.scroll({ top: 0, left: 0, behavior: "smooth" }), i(A.value).y - 160, a.push({
20710
+ window == null || window.scroll({ top: 0, left: 0, behavior: "smooth" }), i(A.value).y - 160, a.push({
20712
20711
  path: s(`/article/${w}/${g}`)
20713
20712
  });
20714
20713
  }, r = F(() => {
@@ -20792,7 +20791,7 @@ const br = "data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEd
20792
20791
  ], 2)
20793
20792
  ], 512));
20794
20793
  }
20795
- }, wr = /* @__PURE__ */ le(h3, [["__scopeId", "data-v-77ac57c4"]]), g3 = { key: 0 }, y3 = { class: "slide-content" }, b3 = { class: "mt-10 mt-md-12" }, w3 = { key: 1 }, _3 = { class: "row row-cols-1 row-cols-md-3 row-cols-lg-4 justify-content-center" }, x3 = /* @__PURE__ */ te({
20794
+ }, wr = /* @__PURE__ */ le(h3, [["__scopeId", "data-v-24f2911c"]]), g3 = { key: 0 }, y3 = { class: "slide-content" }, b3 = { class: "mt-10 mt-md-12" }, w3 = { key: 1 }, _3 = { class: "row row-cols-1 row-cols-md-3 row-cols-lg-4 justify-content-center" }, x3 = /* @__PURE__ */ te({
20796
20795
  name: "CardCarouselArticles",
20797
20796
  __name: "index",
20798
20797
  props: {
@@ -20882,12 +20881,12 @@ const br = "data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEd
20882
20881
  }
20883
20882
  }
20884
20883
  }), P = () => {
20885
- g.value = window.innerWidth;
20884
+ g.value = window == null ? void 0 : window.innerWidth;
20886
20885
  };
20887
20886
  xt(() => {
20888
- P(), window.addEventListener("resize", P);
20887
+ P(), window == null || window.addEventListener("resize", P);
20889
20888
  }), Xs(() => {
20890
- window.removeEventListener("resize", P);
20889
+ window == null || window.removeEventListener("resize", P);
20891
20890
  }), F(() => {
20892
20891
  var k;
20893
20892
  return ((k = t.modelValue) == null ? void 0 : k.classes) ?? null;
@@ -21080,7 +21079,7 @@ const br = "data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEd
21080
21079
  ], 64);
21081
21080
  };
21082
21081
  }
21083
- }), V3 = /* @__PURE__ */ le(x3, [["__scopeId", "data-v-08a15830"]]), m5 = {
21082
+ }), V3 = /* @__PURE__ */ le(x3, [["__scopeId", "data-v-3f6fa50c"]]), A5 = {
21084
21083
  install: (n) => {
21085
21084
  n.component("CardCarouselArticles", V3);
21086
21085
  }
@@ -21118,7 +21117,7 @@ const br = "data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEd
21118
21117
  spacing: "20px"
21119
21118
  }
21120
21119
  }, Yt = $(Io.default), Ll = $(!1);
21121
- function p5() {
21120
+ function m5() {
21122
21121
  const n = (p) => {
21123
21122
  typeof p == "string" ? Yt.value = { ...Io[p] } : Yt.value = { ...p }, l();
21124
21123
  }, e = (p) => {
@@ -21147,7 +21146,7 @@ function p5() {
21147
21146
  console.error("Failed to restore theme:", g);
21148
21147
  }
21149
21148
  h && (Ll.value = h === "true", document.documentElement.classList.toggle("dark", Ll.value));
21150
- const V = window.matchMedia("(prefers-color-scheme: dark)"), y = (g) => {
21149
+ const V = window == null ? void 0 : window.matchMedia("(prefers-color-scheme: dark)"), y = (g) => {
21151
21150
  localStorage.getItem("officialblock-dark-mode") || (Ll.value = g.matches, document.documentElement.classList.toggle("dark", Ll.value));
21152
21151
  };
21153
21152
  V.addEventListener("change", y), l();
@@ -21176,7 +21175,7 @@ function p5() {
21176
21175
  getSpacing: A
21177
21176
  };
21178
21177
  }
21179
- class f5 {
21178
+ class p5 {
21180
21179
  /**
21181
21180
  * 将十六进制颜色转换为RGB
21182
21181
  */
@@ -21262,32 +21261,32 @@ class f5 {
21262
21261
  );
21263
21262
  }
21264
21263
  }
21265
- class v5 {
21264
+ class f5 {
21266
21265
  /**
21267
21266
  * 获取当前屏幕断点
21268
21267
  */
21269
21268
  static getCurrentBreakpoint() {
21270
- const e = window.innerWidth;
21269
+ const e = window == null ? void 0 : window.innerWidth;
21271
21270
  return e < 475 ? "xs" : e < 640 ? "sm" : e < 768 ? "md" : e < 1024 ? "lg" : e < 1280 ? "xl" : "2xl";
21272
21271
  }
21273
21272
  /**
21274
21273
  * 检查是否为移动设备
21275
21274
  */
21276
21275
  static isMobile() {
21277
- return window.innerWidth < 768;
21276
+ return (window == null ? void 0 : window.innerWidth) < 768;
21278
21277
  }
21279
21278
  /**
21280
21279
  * 检查是否为平板设备
21281
21280
  */
21282
21281
  static isTablet() {
21283
- const e = window.innerWidth;
21282
+ const e = window == null ? void 0 : window.innerWidth;
21284
21283
  return e >= 768 && e < 1024;
21285
21284
  }
21286
21285
  /**
21287
21286
  * 检查是否为桌面设备
21288
21287
  */
21289
21288
  static isDesktop() {
21290
- return window.innerWidth >= 1024;
21289
+ return (window == null ? void 0 : window.innerWidth) >= 1024;
21291
21290
  }
21292
21291
  /**
21293
21292
  * 监听屏幕尺寸变化
@@ -21298,8 +21297,8 @@ class v5 {
21298
21297
  const a = this.getCurrentBreakpoint();
21299
21298
  a !== t && (t = a, e(a));
21300
21299
  };
21301
- return window.addEventListener("resize", l), () => {
21302
- window.removeEventListener("resize", l);
21300
+ return window == null || window.addEventListener("resize", l), () => {
21301
+ window == null || window.removeEventListener("resize", l);
21303
21302
  };
21304
21303
  }
21305
21304
  }
@@ -21323,9 +21322,9 @@ class k3 {
21323
21322
  */
21324
21323
  static scrollTo(e, t, l = 300, a = this.easing.easeOutQuad) {
21325
21324
  return new Promise((s) => {
21326
- const i = e === window, d = i ? window.pageYOffset : e.scrollTop;
21325
+ const i = e === window, d = i ? window == null ? void 0 : window.pageYOffset : e.scrollTop;
21327
21326
  this.animate(d, t, l, (A) => {
21328
- i ? window.scrollTo(0, A) : e.scrollTop = A;
21327
+ i ? window == null || window.scrollTo(0, A) : e.scrollTop = A;
21329
21328
  }, a), setTimeout(s, l);
21330
21329
  });
21331
21330
  }
@@ -21342,7 +21341,7 @@ xi(k3, "easing", {
21342
21341
  easeOutCubic: (e) => --e * e * e + 1,
21343
21342
  easeInOutCubic: (e) => e < 0.5 ? 4 * e * e * e : (e - 1) * (2 * e - 2) * (2 * e - 2) + 1
21344
21343
  });
21345
- class h5 {
21344
+ class v5 {
21346
21345
  /**
21347
21346
  * 安全的 localStorage 操作
21348
21347
  */
@@ -21385,20 +21384,20 @@ class h5 {
21385
21384
  t.forEach((l) => localStorage.removeItem(l));
21386
21385
  }
21387
21386
  }
21388
- const g5 = {
21387
+ const h5 = {
21389
21388
  install: (n) => {
21390
21389
  n.config.globalProperties.$device = {
21391
21390
  get isMobile() {
21392
- return window.innerWidth < 768;
21391
+ return (window == null ? void 0 : window.innerWidth) < 768;
21393
21392
  },
21394
21393
  get isTablet() {
21395
- return window.innerWidth >= 768 && window.innerWidth < 1024;
21394
+ return (window == null ? void 0 : window.innerWidth) >= 768 && (window == null ? void 0 : window.innerWidth) < 1024;
21396
21395
  },
21397
21396
  get isMobileOrTablet() {
21398
- return window.innerWidth < 1024;
21397
+ return (window == null ? void 0 : window.innerWidth) < 1024;
21399
21398
  },
21400
21399
  get isDesktop() {
21401
- return window.innerWidth >= 1024;
21400
+ return (window == null ? void 0 : window.innerWidth) >= 1024;
21402
21401
  }
21403
21402
  }, n.component("ArticleList", _r), n.component("BannerImage", xr), n.component("BannerPage", Vr), n.component("BtnList", Do), n.component("GalleryDefault", kr), n.component("GalleryCaptionRound", Cr), n.component("GalleryTimeline", au), n.component("GalleryTimelineCol", su), n.component("Process", ou), n.component("CustomSpace", iu), n.component("GalleryList", ru), n.component("HeroSlide", du), n.component("LinkList", uu), n.component("QuoteText", cu), n.component("DonorLinks", Au), n.component("CardCarousel", mu), n.component("CardCarouselMultiRow", pu), n.component("BannerQuote", fu), n.component("ArticleItem", vu), n.component("RibbonBlock", hu), n.component("TimelineStory", gu), n.component("NewsList", yu), n.component("TheHistoryCarousel", bu), n.component("CardShowcaseProfile", wu), n.component("CountDown", _u), n.component("ContactUsList", Vu), n.component("CustomIframe", xu), n.component("TableTwo", ku), n.component("BannerImageWithLink", Cu), n.component("ContactUsInfo", Tu), n.component("Publications", Pu), n.component("MapStatic", Su);
21404
21403
  }
@@ -21406,74 +21405,74 @@ const g5 = {
21406
21405
  export {
21407
21406
  k3 as AnimationUtils,
21408
21407
  vu as ArticleItem,
21409
- n5 as ArticleItemPlugin,
21408
+ l5 as ArticleItemPlugin,
21410
21409
  _r as ArticleList,
21411
- z3 as ArticleListPlugin,
21410
+ U3 as ArticleListPlugin,
21412
21411
  xr as BannerImage,
21413
- E3 as BannerImagePlugin,
21412
+ z3 as BannerImagePlugin,
21414
21413
  Cu as BannerImageWithLink,
21415
- o5 as BannerImageWithLinkPlugin,
21414
+ s5 as BannerImageWithLinkPlugin,
21416
21415
  Vr as BannerPage,
21417
- W3 as BannerPagePlugin,
21416
+ E3 as BannerPagePlugin,
21418
21417
  fu as BannerQuote,
21419
- l5 as BannerQuotePlugin,
21418
+ t5 as BannerQuotePlugin,
21420
21419
  Do as BtnList,
21421
- I3 as BtnListPlugin,
21420
+ W3 as BtnListPlugin,
21422
21421
  mu as CardCarousel,
21423
- m5 as CardCarouselArticlesPlugin,
21422
+ A5 as CardCarouselArticlesPlugin,
21424
21423
  pu as CardCarouselMultiRow,
21425
- t5 as CardCarouselMultiRowPlugin,
21426
- e5 as CardCarouselPlugin,
21424
+ e5 as CardCarouselMultiRowPlugin,
21425
+ Q3 as CardCarouselPlugin,
21427
21426
  wu as CardShowcaseProfile,
21428
- U3 as CardShowcaseProfilePlugin,
21427
+ H3 as CardShowcaseProfilePlugin,
21429
21428
  Tu as ContactUsInfo,
21430
- u5 as ContactUsInfoPlugin,
21429
+ d5 as ContactUsInfoPlugin,
21431
21430
  Vu as ContactUsList,
21432
- i5 as ContactUsListPlugin,
21431
+ o5 as ContactUsListPlugin,
21433
21432
  _u as CountDown,
21434
- a5 as CountDownPlugin,
21433
+ n5 as CountDownPlugin,
21435
21434
  xu as CustomIframe,
21436
- s5 as CustomIframePlugin,
21435
+ a5 as CustomIframePlugin,
21437
21436
  iu as CustomSpace,
21438
- Z3 as CustomSpacePlugin,
21437
+ F3 as CustomSpacePlugin,
21439
21438
  Au as DonorLinks,
21440
- Q3 as DonorLinksPlugin,
21439
+ B3 as DonorLinksPlugin,
21441
21440
  Cr as GalleryCaptionRound,
21442
- q3 as GalleryCaptionRoundPlugin,
21441
+ X3 as GalleryCaptionRoundPlugin,
21443
21442
  kr as GalleryDefault,
21444
- X3 as GalleryDefaultPlugin,
21443
+ I3 as GalleryDefaultPlugin,
21445
21444
  ru as GalleryList,
21446
- G3 as GalleryListPlugin,
21445
+ Z3 as GalleryListPlugin,
21447
21446
  au as GalleryTimeline,
21448
21447
  su as GalleryTimelineCol,
21449
- Y3 as GalleryTimelineColPlugin,
21450
- D3 as GalleryTimelinePlugin,
21448
+ D3 as GalleryTimelineColPlugin,
21449
+ q3 as GalleryTimelinePlugin,
21451
21450
  du as HeroSlide,
21452
- J3 as HeroSlidePlugin,
21451
+ G3 as HeroSlidePlugin,
21453
21452
  uu as LinkList,
21454
- K3 as LinkListPlugin,
21453
+ J3 as LinkListPlugin,
21455
21454
  Su as MapStatic,
21456
- A5 as MapStaticPlugin,
21455
+ c5 as MapStaticPlugin,
21457
21456
  yu as NewsList,
21458
- R3 as NewsListPlugin,
21457
+ N3 as NewsListPlugin,
21459
21458
  ou as Process,
21460
- F3 as ProcessPlugin,
21459
+ Y3 as ProcessPlugin,
21461
21460
  Pu as Publications,
21462
- c5 as PublicationsPlugin,
21461
+ u5 as PublicationsPlugin,
21463
21462
  cu as QuoteText,
21464
- B3 as QuoteTextPlugin,
21465
- v5 as ResponsiveUtils,
21463
+ K3 as QuoteTextPlugin,
21464
+ f5 as ResponsiveUtils,
21466
21465
  hu as RibbonBlock,
21467
- j3 as RibbonBlockPlugin,
21468
- d5 as ScrollKeyInfoPlugin,
21469
- h5 as StorageUtils,
21466
+ $3 as RibbonBlockPlugin,
21467
+ r5 as ScrollKeyInfoPlugin,
21468
+ v5 as StorageUtils,
21470
21469
  ku as TableTwo,
21471
- r5 as TableTwoPlugin,
21470
+ i5 as TableTwoPlugin,
21472
21471
  bu as TheHistoryCarousel,
21473
- H3 as TheHistoryCarouselPlugin,
21474
- f5 as ThemeUtils,
21472
+ R3 as TheHistoryCarouselPlugin,
21473
+ p5 as ThemeUtils,
21475
21474
  gu as TimelineStory,
21476
- N3 as TimelineStoryPlugin,
21477
- g5 as default,
21478
- p5 as useTheme
21475
+ j3 as TimelineStoryPlugin,
21476
+ h5 as default,
21477
+ m5 as useTheme
21479
21478
  };