PageSourceSearch

https://spa-cart.websupport.sk/assets/EmptyCart-D1H9zoZt.js

js websupport.sk collected 2026-10-02 02:25:02 UTC 4,460 bytes, 107 lines download raw bytes

1var __defProp = Object.defineProperty;
2var __getOwnPropSymbols = Object.getOwnPropertySymbols;
3var __hasOwnProp = Object.prototype.hasOwnProperty;
4var __propIsEnum = Object.prototype.propertyIsEnumerable;
5var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6var __spreadValues = (a, b) => {
7  for (var prop in b || (b = {}))
8    if (__hasOwnProp.call(b, prop))
9      __defNormalProp(a, prop, b[prop]);
10  if (__getOwnPropSymbols)
11    for (var prop of __getOwnPropSymbols(b)) {
12      if (__propIsEnum.call(b, prop))
13        __defNormalProp(a, prop, b[prop]);
14    }
15  return a;
16};
17var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
18import { V as Vue, c as computed, x as mapState } from "./vendor-vue-CIEl4Ose.js";
19import { ad as Component } from "./vendor-CZvMt8Uf.js";
20import { R as ROUTENAMES, n as normalizeComponent } from "./main-DJeuKYas.js";
21import { c as carySorry } from "./cary-sorry-CXMGK7tP.js";
22import { D as DomainSearchBar } from "./DomainSearchBar-DdDZ_QOu.js";
23import { T as Theme } from "./odin-DIiukhnD.js";
24import "./odin-utils-Dx2y7OLM.js";
25import { u as useTheming } from "./odin-vue2-utils-DSRbPlxj.js";
26import "./vendor-sentry-DRCyJRFj.js";
27import "./vendor-utils-j6SE9MGc.js";
28import "./vendor-quasar-Dptu3ldj.js";
29import "./odin-assets-D7LmUGe7.js";
30import "./index.es.es-CGxJBMfD.js";
31import "./vendor-axios-B5u-j0E8.js";
32import "./vendor-qrcode-DVLuOpww.js";
33import "./validation.service-Ych1Lo-0.js";
34var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
35var __decorateClass = (decorators, target, key, kind) => {
36  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
37  for (var i = decorators.length - 1, decorator; i >= 0; i--)
38    if (decorator = decorators[i])
39      result = decorator(result) || result;
40  return result;
41};
42const a24EmptyPageImg = "https://cdn.active24.eu/empty-cart/a24-empty-cart.png";
43const { theme } = useTheming();
44let EmptyCart$1 = class EmptyCart extends Vue {
45  constructor() {
46    super(...arguments);
47    __publicField(this, "Theme", Theme);
48  }
49  goToDomainChecker(search) {
50    if (search) {
51      this.$router.push({
52        name: ROUTENAMES.DOMAIN_CHECKER,
53        query: {
54          qd: search.domains.join(","),
55          freeOnly: search.freeOnly.toString()
56        }
57      });
58    }
59  }
60  data() {
61    const emptyCartImage = computed(() => {
62      switch (theme.value) {
63        case Theme.ACTIVE_24:
64          return a24EmptyPageImg;
65        case Theme.CARY:
66          return carySorry;
67        case Theme.LOOPIA:
68        default:
69          return "";
70      }
71    });
72    return {
73      emptyCartImage
74    };
75  }
76};
77EmptyCart$1 = __decorateClass([
78  Component({
79    components: {
80      DomainSearchBar
81    },
82    computed: __spreadValues({}, mapState(["cart"]))
83  })
84], EmptyCart$1);
85var _sfc_render = function render() {
86  var _vm = this, _c = _vm._self._c;
87  _vm._self._setupProxy;
88  return _c("div", { staticClass: "view-empty-cart row full-width justify-center ws-typography", class: _vm.mobile ? "q-pa-sm" : "q-pa-md" }, [_c("div", { staticClass: "empty-cart-wrapper col-12" }, [_c("div", { staticClass: "row full-width justify-between items-end" }, [_c("div", { staticClass: "text-wrapper col", class: {
89    "q-my-2xl": _vm.desktop,
90    "q-my-xl": _vm.tablet,
91    "q-my-lg": _vm.mobile
92  } }, [_c("h1", { staticClass: "q-mb-md" }, [_vm._v(" " + _vm._s(_vm.$t("empty_cart.title1")) + " "), _c("br"), _vm._v(" " + _vm._s(_vm.$t("empty_cart.title2")) + " ")]), _c("p", { staticClass: "q-mb-none" }, [_vm._v(" " + _vm._s(_vm.$t("empty_cart.text")) + " ")])]), _c("div", { staticClass: "image-wrapper col-12 col-md-6 q-px-xl" }, [_vm.emptyCartImage ? _c("img", { staticClass: "image", attrs: { "src": _vm.emptyCartImage, "alt": "empty cart" } }) : _vm._e()])]), _c("domain-search-bar", { staticClass: "full-width", attrs: { "no-validation": "", "responsive": "", "placeholder": _vm.$t("empty_cart.placeholder"), "context": "empty-cart" }, on: { "submit": _vm.goToDomainChecker } })], 1)]);
93};
94var _sfc_staticRenderFns = [];
95var __component__ = /* @__PURE__ */ normalizeComponent(
96  EmptyCart$1,
97  _sfc_render,
98  _sfc_staticRenderFns,
99  false,
100  null,
101  "0d70b787"
102);
103const EmptyCart2 = __component__.exports;
104export {
105  EmptyCart2 as default
106};
107//# sourceMappingURL=EmptyCart-D1H9zoZt.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.