PageSourceSearch

https://www.timothysykes.com/_nuxt/B-L4ahNz.js

js timothysykes.com collected 2026-10-03 21:08:13 UTC 5,385 bytes, 148 lines download raw bytes

1import { p as publicAssetsURL, a4 as defineComponent, b as useRoute, u as useRuntimeConfig, z as ref, o as openBlock, i as createElementBlock, q as normalizeClass, j as createVNode, m as __nuxt_component_0, f as unref, w as withCtx, k as createBaseVNode, h as _export_sfc } from "./BCN7HQih.js";
2const _imports_0 = publicAssetsURL("/images/facebook-i.svg");
3const _imports_1 = publicAssetsURL("/images/twitter-i.svg");
4const _imports_2 = publicAssetsURL("/images/linkedin-i.svg");
5const _imports_3 = publicAssetsURL("/images/mail-i.svg");
6const _hoisted_1 = {
7  key: 1,
8  class: "share-post-links filled mb-[24px]"
9};
10const _sfc_main = /* @__PURE__ */ defineComponent({
11  __name: "SharePost",
12  props: {
13    type: { default: "primary" },
14    isAlternative: { type: Boolean }
15  },
16  setup(__props) {
17    const router = useRoute();
18    const {
19      public: { current_hostname }
20    } = useRuntimeConfig();
21    const postUrl = ref(current_hostname + router.path.slice(1));
22    return (_ctx, _cache) => {
23      const _component_NuxtLink = __nuxt_component_0;
24      return __props.type === "primary" ? (openBlock(), createElementBlock("div", {
25        key: 0,
26        class: normalizeClass(["share-post-links", { "mb-[24px]": !__props.isAlternative }])
27      }, [
28        createVNode(_component_NuxtLink, {
29          to: `http://www.facebook.com/sharer.php?u=${unref(postUrl)}`,
30          class: "share-btn",
31          "aria-label": "Share on Facebook"
32        }, {
33          default: withCtx(() => [..._cache[0] || (_cache[0] = [
34            createBaseVNode("img", {
35              width: "16",
36              height: "16",
37              class: "fb-i",
38              src: _imports_0,
39              alt: ""
40            }, null, -1)
41          ])]),
42          _: 1
43        }, 8, ["to"]),
44        createVNode(_component_NuxtLink, {
45          to: `http://twitter.com/share/?url=${unref(postUrl)}&text=&via=timothysykes`,
46          class: "share-btn",
47          "aria-label": "Share on Twitter"
48        }, {
49          default: withCtx(() => [..._cache[1] || (_cache[1] = [
50            createBaseVNode("img", {
51              width: "16",
52              height: "16",
53              src: _imports_1,
54              alt: ""
55            }, null, -1)
56          ])]),
57          _: 1
58        }, 8, ["to"]),
59        createVNode(_component_NuxtLink, {
60          "aria-label": "Share on LinkedIn",
61          to: `http://www.linkedin.com/shareArticle?mini=true&url=${unref(postUrl)}`,
62          class: "share-btn"
63        }, {
64          default: withCtx(() => [..._cache[2] || (_cache[2] = [
65            createBaseVNode("img", {
66              width: "16",
67              height: "16",
68              src: _imports_2,
69              alt: ""
70            }, null, -1)
71          ])]),
72          _: 1
73        }, 8, ["to"]),
74        createVNode(_component_NuxtLink, {
75          "aria-label": "Share through Email",
76          class: "share-btn",
77          to: `mailto:?subject=Check%20out%20this%20link&body=Hey%20there,%0A%0ACheck%20out%20this%20link:%20${unref(postUrl)}`
78        }, {
79          default: withCtx(() => [..._cache[3] || (_cache[3] = [
80            createBaseVNode("img", {
81              width: "16",
82              height: "16",
83              src: _imports_3,
84              alt: ""
85            }, null, -1)
86          ])]),
87          _: 1
88        }, 8, ["to"])
89      ], 2)) : (openBlock(), createElementBlock("div", _hoisted_1, [
90        _cache[8] || (_cache[8] = createBaseVNode("span", { class: "label" }, "Share", -1)),
91        createVNode(_component_NuxtLink, {
92          to: `http://www.facebook.com/sharer.php?u=${unref(postUrl)}`,
93          class: "share-btn"
94        }, {
95          default: withCtx(() => [..._cache[4] || (_cache[4] = [
96            createBaseVNode("img", {
97              class: "fb-i",
98              src: _imports_0,
99              alt: ""
100            }, null, -1)
101          ])]),
102          _: 1
103        }, 8, ["to"]),
104        createVNode(_component_NuxtLink, {
105          to: `http://twitter.com/share/?url=${unref(postUrl)}&text=&via=timothysykes`,
106          class: "share-btn"
107        }, {
108          default: withCtx(() => [..._cache[5] || (_cache[5] = [
109            createBaseVNode("img", {
110              src: _imports_1,
111              alt: ""
112            }, null, -1)
113          ])]),
114          _: 1
115        }, 8, ["to"]),
116        createVNode(_component_NuxtLink, {
117          to: `http://www.linkedin.com/shareArticle?mini=true&url=${unref(postUrl)}`,
118          class: "share-btn"
119        }, {
120          default: withCtx(() => [..._cache[6] || (_cache[6] = [
121            createBaseVNode("img", {
122              src: _imports_2,
123              alt: ""
124            }, null, -1)
125          ])]),
126          _: 1
127        }, 8, ["to"]),
128        createVNode(_component_NuxtLink, {
129          class: "share-btn",
130          to: `mailto:?subject=Check%20out%20this%20link&body=Hey%20there,%0A%0ACheck%20out%20this%20link:%20${unref(postUrl)}`
131        }, {
132          default: withCtx(() => [..._cache[7] || (_cache[7] = [
133            createBaseVNode("img", {
134              src: _imports_3,
135              alt: ""
136            }, null, -1)
137          ])]),
138          _: 1
139        }, 8, ["to"])
140      ]));
141    };
142  }
143});
144const __nuxt_component_4 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c5733806"]]);
145export {
146  __nuxt_component_4 as _
147};
148//# sourceMappingURL=B-L4ahNz.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.