PageSourceSearch

https://portal.godesignguru.com/build/assets/LinkDomainMiniTable-Csj0xeJX.js

js godesignguru.com collected 2026-10-04 05:47:53 UTC 4,813 bytes, 14 lines download raw bytes

1import { h as w, J as g, o, c, a as e, t as s, F as b, r as v, C as $, w as r, d, e as x, u as i, I as y, b as N, v as M, m as C } from "./app-yg_pP4S4.js";
2import { _ } from "./ShowMoreWithNumber-f2ub6oAQ.js";
3import { f as u, n as f } from "./functions-DLrKIvnr.js";
4import { t as V } from "./XMarkIcon-C7ztHuKP.js";
5const B = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-4" }, T = { class: "inline-block min-w-full py-2 align-middle sm:px-6 lg:px-4" }, A = { class: "min-w-full divide-y divide-gray-300" }, L = { scope: "col", class: "whitespace-nowrap py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-0" }, S = { scope: "col", class: "whitespace-nowrap px-2 py-3.5 text-left text-sm font-semibold text-gray-900" }, q = { scope: "col", class: "whitespace-nowrap px-2 py-3.5 text-left text-sm font-semibold text-gray-900" }, E = { scope: "col", class: "whitespace-nowrap px-2 py-3.5 text-left text-sm font-semibold text-gray-900" }, F = { scope: "col", class: "whitespace-nowrap px-2 py-3.5 text-left text-sm font-semibold text-gray-900" }, I = { scope: "col", class: "whitespace-nowrap px-2 py-3.5 text-left text-sm font-semibold text-gray-900" }, P = { scope: "col", class: "whitespace-nowrap px-2 py-3.5 text-left text-sm font-semibold text-gray-900" }, j = { scope: "col", class: "relative rounded-lg py-3.5 pl-3 pr-4 sm:pr-6" }, z = { class: "sr-only" }, J = { key: 0 }, O = { class: "whitespace-nowrap py-2 pl-4 pr-3 text-sm text-gray-500 sm:pl-0" }, R = { class: "block w-auto max-w-20 truncate" }, U = { class: "whitespace-nowrap px-2 py-2 text-sm font-medium text-gray-900" }, k = { class: "block w-6 truncate" }, G = { class: "whitespace-nowrap px-2 py-2 text-sm text-gray-900" }, H = { class: "block w-12 truncate" }, K = { class: "whitespace-nowrap px-2 py-2 text-sm text-gray-900" }, Q = { class: "whitespace-nowrap px-2 py-2 text-sm text-gray-900" }, W = { class: "whitespace-nowrap px-2 py-2 text-sm text-gray-900" }, X = { class: "block w-20 truncate" }, Y = { class: "whitespace-nowrap px-2 py-2 text-sm text-gray-900" }, Z = { class: "block w-20 truncate" }, D = { class: "relative whitespace-nowrap py-2 pl-3 pr-4 text-right text-sm font-medium sm:pr-2" }, ee = { key: 0, class: "absolute inset-y-0 right-0 w-0.5 bg-indigo-600" }, te = ["value"], se = { key: 1 }, ae = { colspan: "8" }, oe = { class: "p-6 text-center" }, ce = { class: "mb-3 text-xl font-semibold text-gray-900" }, de = { __name: "LinkDomainMiniTable", props: C({ linkDomains: { type: Array, required: false, default: () => [] }, expandable: { type: Boolean, default: false }, field: { type: Object, required: false } }, { selected: { type: Array, default: () => [] }, selectedModifiers: {} }), emits: ["update:selected"], setup(p) {
6  const h = w(p, "selected");
7  return (a, m) => {
8    const n = g("tooltip");
9    return o(), c("div", B, [e("div", T, [e("table", A, [e("thead", null, [e("tr", null, [e("th", L, s(a.$t("Name")), 1), e("th", S, s(a.$t("DR")), 1), e("th", q, s(a.$t("Traffic")), 1), e("th", E, s(a.$t("Niche")), 1), e("th", F, s(a.$t("Country")), 1), e("th", I, s(a.$t("ETA")), 1), e("th", P, s(a.$t("Price")), 1), e("th", j, [e("span", z, s(a.$t("Select")), 1)])])]), p.linkDomains.length ? (o(), c("tbody", J, [(o(true), c(b, null, v(p.linkDomains, (t) => (o(), c("tr", { key: t.id, class: $(h.value.includes(t.id) && "bg-gray-100") }, [e("td", O, [r((o(), c("span", R, [d(s(t.domain), 1)])), [[n, t.domain]])]), e("td", U, [r((o(), c("span", k, [d(s(t.domain_rating), 1)])), [[n, t.traffic]])]), e("td", G, [r((o(), c("span", H, [d(s(t.traffic), 1)])), [[n, t.traffic]])]), e("td", K, [r(x(_, { class: "w-20 !text-gray-500", lines: t.niches.map((l) => l.name), expandable: p.expandable }, null, 8, ["lines", "expandable"]), [[n, t.niches.map((l) => l.name)[0]]])]), e("td", Q, [r(x(_, { class: "w-20 !text-gray-500", lines: t.countries.map((l) => l.name), expandable: p.expandable }, null, 8, ["lines", "expandable"]), [[n, t.countries.map((l) => l.name)[0]]])]), e("td", W, [r((o(), c("span", X, [d(s(t.eta.name), 1)])), [[n, t.eta.name]])]), e("td", Y, [r((o(), c("span", Z, [d(s(i(u)(i(f)(t.price, t.currency), t.currency)), 1)])), [[n, i(u)(i(f)(t.price, t.currency), t.currency)]])]), e("td", D, [y(a.$slots, "actions", { linkDomain: t }, () => [h.value.includes(t.id) ? (o(), c("div", ee)) : N("", true), r(e("input", { "onUpdate:modelValue": m[0] || (m[0] = (l) => h.value = l), value: t.id, type: "checkbox", class: "h-4 w-4 roun
9ded border-gray-300 text-indigo-600 focus:ring-indigo-600" }, null, 8, te), [[M, h.value]])])])], 2))), 128))])) : (o(), c("tr", se, [e("td", ae, [e("div", oe, [x(i(V), { class: "mx-auto mb-5 h-12 w-12 stroke-1 text-gray-400" }), e("h3", ce, s(a.$t("No links yet")), 1)])])])), y(a.$slots, "footer")])])]);
10  };
11} };
12export {
13  de as _
14};

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.