@ansidev-oss/vitepress-theme-ansidev 1.0.11 → 1.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,6 +1,6 @@
1
1
  import { defineComponent as O, watch as I, onUnmounted as P, nextTick as B, openBlock as L, createElementBlock as z, Fragment as T, createElementVNode as g } from "vue";
2
2
  import { useRouter as U, inBrowser as D } from "vitepress";
3
- import { b as F, v as M, r as H } from "./index-C43AnX3f.js";
3
+ import { b as F, v as M, r as H } from "./index-CkmxezC0.js";
4
4
  const j = /* @__PURE__ */ O({
5
5
  __name: "VPAlgoliaSearchBox",
6
6
  props: {
@@ -1,5 +1,5 @@
1
- import { defineComponent as d, ref as l, watch as t, onMounted as p, openBlock as f, createElementBlock as u } from "vue";
2
- import { b as _, j as m, _ as b } from "./index-C43AnX3f.js";
1
+ import { defineComponent as d, ref as l, watch as c, onMounted as p, openBlock as f, createElementBlock as u } from "vue";
2
+ import { b as _, j as m, _ as b } from "./index-CkmxezC0.js";
3
3
  const v = /* @__PURE__ */ d({
4
4
  __name: "VPCarbonAds",
5
5
  props: {
@@ -8,24 +8,24 @@ const v = /* @__PURE__ */ d({
8
8
  setup(r) {
9
9
  const { page: i } = _(), n = r.carbonAds, { isAsideEnabled: s } = m(), o = l();
10
10
  let a = !1;
11
- function c() {
11
+ function t() {
12
12
  if (!a) {
13
13
  a = !0;
14
14
  const e = document.createElement("script");
15
15
  e.id = "_carbonads_js", e.src = `//cdn.carbonads.com/carbon.js?serve=${n.code}&placement=${n.placement}`, e.async = !0, o.value.appendChild(e);
16
16
  }
17
17
  }
18
- return t(() => i.value.relativePath, () => {
18
+ return c(() => i.value.relativePath, () => {
19
19
  a && s.value && window._carbonads?.refresh();
20
20
  }), n && p(() => {
21
- s.value ? c() : t(s, (e) => e && c());
21
+ s.value ? t() : c(s, (e) => e && t());
22
22
  }), (e, h) => (f(), u("div", {
23
23
  class: "VPCarbonAds",
24
24
  ref_key: "container",
25
25
  ref: o
26
26
  }, null, 512));
27
27
  }
28
- }), j = /* @__PURE__ */ b(v, [["__scopeId", "data-v-4ffcc908"]]);
28
+ }), j = /* @__PURE__ */ b(v, [["__scopeId", "data-v-c8fd677f"]]);
29
29
  export {
30
30
  j as default
31
31
  };
@@ -1,6 +1,6 @@
1
1
  import { shallowRef as Z, watch as Le, computed as Se, toValue as He, readonly as Et, defineComponent as Tt, ref as ue, watchEffect as It, onMounted as Ne, nextTick as de, onBeforeUnmount as kt, openBlock as B, createBlock as Nt, Teleport as Ft, createElementVNode as T, withModifiers as Rt, unref as C, withDirectives as At, isRef as Ot, vModelText as Ct, createElementBlock as H, normalizeClass as qe, createCommentVNode as me, Fragment as Ge, renderList as Qe, createTextVNode as fe, toDisplayString as he, markRaw as Ye, createApp as Mt } from "vue";
2
2
  import Lt from "@localSearchIndex";
3
- import { t as Dt, u as Pt, n as zt, a as Vt, i as jt, s as Ze, b as ct, c as Xe, d as $t, e as Bt, w as Wt, o as ge, f as Kt, g as Jt, h as Ut, _ as Ht } from "./index-C43AnX3f.js";
3
+ import { t as Dt, u as Pt, n as zt, a as Vt, i as jt, s as Ze, b as ct, c as Xe, d as $t, e as Bt, w as Wt, o as ge, f as Kt, g as Jt, h as Ut, _ as Ht } from "./index-CkmxezC0.js";
4
4
  import { useRouter as qt, dataSymbol as Gt, inBrowser as Qt } from "vitepress";
5
5
  import Yt from "@siteData";
6
6
  var ut = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert] *)", "textarea:not([inert]):not([inert] *)", "a[href]:not([inert]):not([inert] *)", "button:not([inert]):not([inert] *)", "[tabindex]:not(slot):not([inert]):not([inert] *)", "audio[controls]:not([inert]):not([inert] *)", "video[controls]:not([inert]):not([inert] *)", '[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)', "details>summary:first-of-type:not([inert]):not([inert] *)", "details:not([inert]):not([inert] *)"], _e = /* @__PURE__ */ ut.join(","), dt = typeof Element > "u", X = dt ? function() {
@@ -4080,7 +4080,7 @@ const Jn = ["aria-owns"], Un = { class: "shell" }, Hn = ["title"], qn = { class:
4080
4080
  ], 8, Jn)
4081
4081
  ]));
4082
4082
  }
4083
- }), Ei = /* @__PURE__ */ Ht(mi, [["__scopeId", "data-v-b3462fe7"]]);
4083
+ }), Ei = /* @__PURE__ */ Ht(mi, [["__scopeId", "data-v-6357b284"]]);
4084
4084
  export {
4085
4085
  Ei as default
4086
4086
  };