PageSourceSearch

https://flagos.io/static/js/FlagGems-DrvS-N4r.js

js flagos.io collected 2026-10-06 14:07:38 UTC 1,340 bytes, 36 lines download raw bytes

1import { d as defineComponent, D as useStore, r as ref, x as watch, e as createElementBlock, f as openBlock, h as createCommentVNode, u as unref, bi as LocaleTypeEnum } from "./index-Ce8AJZqk.js";
2const _hoisted_1 = { class: "w-full h-100vh pt-80" };
3const _hoisted_2 = ["src"];
4const _sfc_main = /* @__PURE__ */ defineComponent({
5  __name: "FlagGems",
6  setup(__props) {
7    const { currentLocale } = useStore("locale");
8    let url = ref("");
9    watch(
10      () => currentLocale.value,
11      (curLocale) => {
12        if (curLocale === LocaleTypeEnum.English) {
13          url.value = "https://flagos-wiki.flagos.io/flagos-ai/FlagGems?type=github&language=en&plate=smart";
14        } else {
15          url.value = "https://flagos-wiki.flagos.io/flagos-ai/FlagGems?type=github&language=zh&plate=smart";
16        }
17      },
18      { immediate: true }
19    );
20    return (_ctx, _cache) => {
21      return openBlock(), createElementBlock("div", _hoisted_1, [
22        unref(url) ? (openBlock(), createElementBlock("iframe", {
23          key: 0,
24          class: "size-full",
25          src: unref(url),
26          frameborder: "0",
27          allow: "clipboard-read; clipboard-write"
28        }, null, 8, _hoisted_2)) : createCommentVNode("", true)
29      ]);
30    };
31  }
32});
33export {
34  _sfc_main as default
35};
36//# sourceMappingURL=FlagGems-DrvS-N4r.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.