[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 7066.js
/*! For license information please see 7066.js.LICENSE.txt */ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7066],{4460:(e,t,o)=>{o.d(t,{A:()=>_});var r=o(9726),n={class:"bg-white rounded-2xl shadow-card"},s={class:"p-4 border-b border-[#EFF0F6]"},l={class:"text-lg font-semibold capitalize"},a={class:"flex flex-col gap-3 p-4 border-b border-[#EFF0F6]"},i={class:"flex items-center justify-between"},c={class:"capitalize"},d={class:"font-medium"},u={class:"flex items-center justify-between"},p={class:"capitalize"},m={class:"font-medium"},f={class:"flex items-center justify-between"},h={class:"capitalize"},g={class:"font-medium"},y={class:"flex items-center justify-between"},b={class:"capitalize"},v={class:"font-medium"},E={class:"p-4"},x={class:"flex items-center justify-between"},k={class:"font-semibold capitalize"},C={class:"font-semibold"};var V=o(8655);const N={name:"SummeryComponent",computed:{setting:function(){return this.$store.getters["frontendSetting/lists"]},subtotal:function(){return this.$store.getters["frontendCart/subtotal"]},discount:function(){return this.$store.getters["frontendCart/discount"]},totalTax:function(){return this.$store.getters["frontendCart/totalTax"]},shippingCharge:function(){return this.$store.getters["frontendCart/shippingCharge"]},total:function(){return this.$store.getters["frontendCart/total"]}},methods:{currencyFormat:function(e,t,o,r){return V.A.currencyFormat(e,t,o,r)}}};const _=(0,o(6262).A)(N,[["render",function(e,t,o,V,N,_){return(0,r.openBlock)(),(0,r.createElementBlock)("div",n,[(0,r.createElementVNode)("div",s,[(0,r.createElementVNode)("h3",l,(0,r.toDisplayString)(e.$t("label.order_summery")),1)]),(0,r.createElementVNode)("ul",a,[(0,r.createElementVNode)("li",i,[(0,r.createElementVNode)("span",c,(0,r.toDisplayString)(e.$t("label.subtotal")),1),(0,r.createElementVNode)("span",d,(0,r.toDisplayString)(_.currencyFormat(_.subtotal,_.setting.site_digit_after_decimal_point,_.setting.site_default_currency_symbol,_.setting.site_currency_position)),1)]),(0,r.createElementVNode)("li",u,[(0,r.createElementVNode)("span",p,(0,r.toDisplayString)(e.$t("label.tax")),1),(0,r.createElementVNode)("span",m,(0,r.toDisplayString)(_.currencyFormat(_.totalTax,_.setting.site_digit_after_decimal_point,_.setting.site_default_currency_symbol,_.setting.site_currency_position)),1)]),(0,r.createElementVNode)("li",f,[(0,r.createElementVNode)("span",h,(0,r.toDisplayString)(e.$t("label.shipping_charge")),1),(0,r.createElementVNode)("span",g,(0,r.toDisplayString)(_.currencyFormat(_.shippingCharge,_.setting.site_digit_after_decimal_point,_.setting.site_default_currency_symbol,_.setting.site_currency_position)),1)]),(0,r.createElementVNode)("li",y,[(0,r.createElementVNode)("span",b,(0,r.toDisplayString)(e.$t("label.discount")),1),(0,r.createElementVNode)("span",v,(0,r.toDisplayString)(_.currencyFormat(_.discount,_.setting.site_digit_after_decimal_point,_.setting.site_default_currency_symbol,_.setting.site_currency_position)),1)])]),(0,r.createElementVNode)("div",E,[(0,r.createElementVNode)("dl",x,[(0,r.createElementVNode)("dt",k,(0,r.toDisplayString)(e.$t("label.total")),1),(0,r.createElementVNode)("dd",C,(0,r.toDisplayString)(_.currencyFormat(_.total,_.setting.site_digit_after_decimal_point,_.setting.site_default_currency_symbol,_.setting.site_currency_position)),1)])])])}]])},4746:(e,t,o)=>{o.d(t,{A:()=>N});var r=o(9726),n={key:0,class:"mb-6 rounded-2xl border border-success flex items-center gap-3 p-4 cursor-pointer"},s={class:"flex-auto overflow-hidden"},l={class:"font-semibold leading-5 mb-1 whitespace-nowrap overflow-hidden text-ellipsis capitalize text-success"},a={class:"text-xs font-normal whitespace-nowrap overflow-hidden text-ellipsis"},i={class:"flex-auto overflow-hidden"},c={class:"font-semibold leading-5 mb-1 whitespace-nowrap overflow-hidden text-ellipsis capitalize text-focus"},d={class:"text-xs font-normal whitespace-nowrap overflow-hidden text-ellipsis"},u={id:"coupon-modal",class:"fixed inset-0 z-50 p-3 w-screen h-dvh overflow-y-auto bg-black/50 transition-all duration-300 opacity-0 invisible"},p={class:"w-full rounded-xl mx-auto bg-white transition-all duration-300 max-w-[360px]"},m={class:"flex items-center justify-between gap-2 py-4 px-4 border-b border-slate-100"},f={class:"text-lg font-bold capitalize"},h={type:"submit",class:"h-11 px-4 leading-11 ltr:rounded-tr-lg rtl:rounded-tl-lg rtl:rounded-bl-lg ltr:rounded-br-lg rtl:rounded-br-0 rtl:rounded-tr-0 capitalize font-semibold text-white bg-[#007FE3]"},g={key:0,class:"w-full px-4 pt-0 db-field-alert"},y={key:1,class:"p-4 pt-4 flex flex-col gap-4"},b={class:"py-1 px-2 rounded font-medium text-xs w-fit mb-2 bg-[#FFDB1F]"},v={class:"text-sm font-medium mb-3"},E={class:"text-xs text-text"},x=["onClick"];var k=o(4233),C=o(9856);const V={name:"CouponComponent",components:{LoadingComponent:o(1811).A},data:function(){return{loading:{isActive:!1},code:null,error:""}},computed:{coupons:function(){return this.$store.getters["frontendCoupon/lists"]},subtotal:function(){return this.$store.getters["frontendCart/subtotal"]},cartCoupon:function(){return this.$store.getters["frontendCart/coupon"]}},mounted:function(){var e=this;this.loading.isActive=!0,this.$store.dispatch("frontendCoupon/lists",{}).then(function(t){e.loading.isActive=!1}).catch(function(t){e.loading.isActive=!1})},methods:{showTarget:function(e,t){k.A.showTarget(e,t)},hideTarget:function(e,t){this.code=null,this.error="",k.A.hideTarget(e,t)},appCouponButton:function(e){this.code=e.code},couponChecking:function(){var e=this;this.loading.isActive=!0,this.$store.dispatch("frontendCoupon/checking",{total:this.subtotal,code:this.code}).then(function(t){e.error="",e.$store.dispatch("frontendCart/coupon",t.data.data),e.loading.isActive=!1,e.hideTarget("coupon-modal","modal-active"),C.A.success(e.$t("message.coupon_add"))}).catch(function(t){e.loading.isActive=!1,e.error=t.response.data.message})},destroyCoupon:function(){var e=this;this.loading.isActive=!0,this.$store.dispatch("frontendCart/destroyCoupon").then(function(t){e.code=null,e.loading.isActive=!1,C.A.success(e.$t("message.coupon_delete"))}).catch(function(t){e.loading.isActive=!1,C.A.error(t)})}}};const N=(0,o(6262).A)(V,[["render",function(e,t,o,k,C,V){var N=(0,r.resolveComponent)("LoadingComponent");return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)(N,{props:C.loading},null,8,["props"]),0!==Object.keys(V.cartCoupon).length?((0,r.openBlock)(),(0,r.createElementBlock)("div",n,[t[5]||(t[5]=(0,r.createElementVNode)("div",{class:"relative flex-shrink-0"},[(0,r.createElementVNode)("i",{class:"lab-fill-shape lab-font-size-2xl opacity-[0.3] text-success"}),(0,r.createElementVNode)("i",{class:"lab-line-percent lab-font-size-8 absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-success"})],-1)),(0,r.createElementVNode)("div",s,[(0,r.createElementVNode)("h4",l,(0,r.toDisplayString)(e.$t("message.coupon_applied")),1),(0,r.createElementVNode)("h5",a,(0,r.toDisplayString)(e.$t("message.you_saved",{amount:V.cartCoupon.currency_discount})),1)]),(0,r.createElementVNode)("button",{onClick:t[0]||(t[0]=(0,r.withModifiers)(function(){return V.destroyCoupon&&V.destroyCoupon.apply(V,arguments)},["prevent"])),class:"lab-line-trash lab-font-size-xl text-danger"})])):((0,r.openBlock)(),(0,r.createElementBlock)("div",{key:1,onClick:t[1]||(t[1]=(0,r.withModifiers)(function(e){return V.showTarget("coupon-modal","modal-active")},["prevent"])),class:"mb-6 rounded-2xl border border-focus flex items-center gap-3 p-4 cursor-pointer"},[t[6]||(t[6]=(0,r.createElementVNode)("div",{class:"relative flex-shrink-0"},[(0,r.createElementVNode)("i",{class:"lab lab-fill-shape lab-font-size-2xl opacity-[0.3] text-focus"}),(0,r.createElementVNode)("i",{class:"lab lab-line-percent lab-font-size-8 absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-focus"})],-1)),(0,r.createElementVNode)("div",i,[(0,r.createElementVNode)("h4",c,(0,r.toDisplayString)(e.$t("message.apply_coupon")),1),(0,r.createElementVNode)("h5",d,(0,r.toDisplayString)(e.$t("message.get_discount_with_your_order")),1)]),t[7]||(t[7]=(0,r.createElementVNode)("i",{class:"lab lab-line-chevron-right rtl:rotate-180 lab-font-size-2xl text-focus"},null,-1))])),(0,r.createElementVNode)("div",u,[(0,r.createElementVNode)("div",p,[(0,r.createElementVNode)("div",m,[(0,r.createElementVNode)("h3",f,(0,r.toDisplayString)(e.$t("label.coupon_code")),1),(0,r.createElementVNode)("button",{onClick:t[2]||(t[2]=(0,r.withModifiers)(function(e){return V.hideTarget("coupon-modal","modal-active")},["prevent"])),type:"button",class:"lab-line-circle-cross text-lg text-[#E93C3C]"})]),(0,r.createElementVNode)("form",{onSubmit:t[4]||(t[4]=(0,r.withModifiers)(function(){return V.couponChecking&&V.couponChecking.apply(V,arguments)},["prevent"])),class:"w-full flex items-center px-4 mt-4"},[(0,r.withDirectives)((0,r.createElementVNode)("input",{class:(0,r.normalizeClass)([C.error?"invalid":"","h-11 w-full px-3 ltr:rounded-tl-lg rtl:rounded-tr-lg ltr:rounded-bl-lg rtl:rounded-br-lg border ltr:border-r-0 rtl:border-l-0 border-[#D9DBE9]"]),type:"text","onUpdate:modelValue":t[3]||(t[3]=function(e){return C.code=e})},null,2),[[r.vModelText,C.code]]),(0,r.createElementVNode)("button",h,(0,r.toDisplayString)(e.$t("button.apply")),1)],32),C.error?((0,r.openBlock)(),(0,r.createElementBlock)("small",g,(0,r.toDisplayString)(C.error),1)):(0,r.createCommentVNode)("",!0),V.coupons.length>0?((0,r.openBlock)(),(0,r.createElementBlock)("div",y,[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(V.coupons,function(t){return(0,r.openBlock)(),(0,r.createElementBlock)("div",{key:t,class:"bg-[#EEF7FF] p-4 relative rounded-xl"},[(0,r.createElementVNode)("h3",b,(0,r.toDisplayString)(e.$t("label.code"))+": "+(0,r.toDisplayString)(t.code),1),(0,r.createElementVNode)("h4",v,(0,r.toDisplayString)(t.description),1),(0,r.createElementVNode)("p",E,(0,r.toDisplayString)(t.convert_start_date)+" - "+(0,r.toDisplayString)(t.convert_end_date),1),(0,r.createElementVNode)("button",{onClick:(0,r.withModifiers)(function(e){return V.appCouponButton(t)},["prevent"]),type:"button",class:"absolute bottom-0 ltr:right-0 rtl:left-0 text-sm font-semibold capitalize py-1.5 px-3 rounded-br-xl rounded-tl-xl text-white bg-primary"},(0,r.toDisplayString)(e.$t("button.apply")),9,x)])}),128))])):(0,r.createCommentVNode)("",!0)])])],64)}]])},7066:(e,t,o)=>{o.r(t),o.d(t,{default:()=>Ue});var r=o(9726),n={class:"row"},s={class:"col-12 lg:col-8"},l={class:"flex items-center rounded-2xl w-fit mb-6 text-focus bg-[#EAF6FF]"},a={class:"relative cursor-pointer"},i=["checked","value"],c={class:"py-1.5 px-3.5 rounded-2xl text-sm font-semibold capitalize transition cursor-pointer",for:"checkout-delivery"},d={class:"relative cursor-pointer"},u=["checked","value"],p={class:"py-1.5 px-3.5 rounded-2xl text-sm font-semibold capitalize transition cursor-pointer",for:"checkout-delivery"},m={key:0,class:"mb-6 rounded-2xl shadow-card"},f={class:"font-bold capitalize p-4 border-b border-gray-100"},h={class:"px-4 pt-4"},g=["id","name","value"],y=["for"],b={class:"font-semibold"},v={key:2,class:"flex items-start mb-6"},E=["value"],x={for:"shipping-and-billing-is-same",class:"font-medium pl-3 leading-none cursor-pointer"},k={class:"max-lg:hidden flex items-center justify-between gap-5 mt-10"},C={class:"col-12 lg:col-4"},V={class:"max-lg:flex hidden flex-col-reverse sm:flex-row items-center justify-between gap-5 mt-10"};var N=o(1978),_={key:0,class:"mb-6 rounded-2xl shadow-card"},w={class:"flex flex-wrap items-center justify-between gap-3 p-4 border-b border-gray-100"},A={class:"font-bold capitalize"},S={class:"flex flex-wrap items-center gap-4"},B={class:"text-sm font-medium capitalize whitespace-nowrap"},D={class:"text-sm font-medium capitalize whitespace-nowrap"},$={class:"grid grid-cols-1 sm:grid-cols-2 gap-6 p-4"},F=["onClick"],z={class:"text-base font-medium capitalize mb-1"},T={key:0,class:"block text-sm leading-6"},O={key:1,class:"block text-sm leading-6"},j={key:2,class:"block text-sm leading-6"},M={key:3,class:"block text-sm leading-6"},L={key:4,class:"block text-sm leading-6"},I={key:5,class:"block text-sm leading-6"},P={key:0},U={key:6,class:"block text-sm leading-6"},R=["id"],Y={class:"w-full rounded-xl mx-auto bg-white transition-all duration-300 max-w-3xl"},q={class:"flex items-center justify-between gap-2 py-4 px-4 border-b border-slate-100"},G={class:"text-lg font-bold capitalize"},K={class:"form-row"},H={class:"form-col-12 sm:form-col-6"},J={for:"full_name",class:"text-sm font-medium capitalize mb-1 field-title required"},Q={key:0,class:"db-field-alert"},W={class:"form-col-12 sm:form-col-6"},X={for:"email",class:"text-sm font-medium capitalize mb-1 field-title"},Z={key:0,class:"db-field-alert"},ee={class:"form-col-12 sm:form-col-6"},te={for:"phone",class:"text-sm font-medium capitalize mb-1 field-title required"},oe={class:"w-fit flex-shrink-0 dropdown-group"},re={type:"button",class:"flex items-center gap-1 dropdown-btn"},ne={class:"whitespace-nowrap flex-shrink-0 text-xs"},se={class:"p-1.5 w-24 rounded-lg shadow-xl absolute top-8 -left-4 z-10 border border-gray-200 bg-white scale-y-0 origin-top dropdown-list !h-52 !overflow-x-hidden !overflow-y-auto thin-scrolling"},le=["onClick"],ae={class:"whitespace-nowrap text-xs"},ie={key:0,class:"db-field-alert"},ce={class:"form-col-12 sm:form-col-6"},de={class:"text-sm font-medium capitalize mb-1 field-title required",for:"country"},ue={key:0,class:"db-field-alert"},pe={class:"form-col-12 sm:form-col-6"},me={class:"text-sm font-medium capitalize mb-1 field-title required",for:"state"},fe={key:0,class:"db-field-alert"},he={class:"form-col-12 sm:form-col-6"},ge={class:"text-sm font-medium capitalize mb-1 field-title required"},ye={key:0,class:"db-field-alert"},be={class:"form-col-12 sm:form-col-6"},ve={class:"text-sm font-medium capitalize mb-1",for:"zip_code"},Ee={key:0,class:"db-field-alert"},xe={class:"form-col-12 sm:form-col-6"},ke={class:"text-sm font-medium capitalize mb-1 field-title required",for:"street_address"},Ce={key:0,class:"db-field-alert"},Ve={class:"form-col-12 sm:form-col-6"},Ne={class:"flex flex-wrap gap-6 mt-2"},_e={type:"submit",class:"font-bold text-center h-12 leading-12 px-8 rounded-full whitespace-nowrap bg-primary text-white capitalize"};var we=o(8655),Ae=o(4233),Se=o(9856),Be=o(1811);function De(){var e,t,o="function"==typeof Symbol?Symbol:{},r=o.iterator||"@@iterator",n=o.toStringTag||"@@toStringTag";function s(o,r,n,s){var i=r&&r.prototype instanceof a?r:a,c=Object.create(i.prototype);return $e(c,"_invoke",function(o,r,n){var s,a,i,c=0,d=n||[],u=!1,p={p:0,n:0,v:e,a:m,f:m.bind(e,4),d:function(t,o){return s=t,a=0,i=e,p.n=o,l}};function m(o,r){for(a=o,i=r,t=0;!u&&c&&!n&&t<d.length;t++){var n,s=d[t],m=p.p,f=s[2];o>3?(n=f===r)&&(i=s[(a=s[4])?5:(a=3,3)],s[4]=s[5]=e):s[0]<=m&&((n=o<2&&m<s[1])?(a=0,p.v=r,p.n=s[1]):m<f&&(n=o<3||s[0]>r||r>f)&&(s[4]=o,s[5]=r,p.n=f,a=0))}if(n||o>1)return l;throw u=!0,r}return function(n,d,f){if(c>1)throw TypeError("Generator is already running");for(u&&1===d&&m(d,f),a=d,i=f;(t=a<2?e:i)||!u;){s||(a?a<3?(a>1&&(p.n=-1),m(a,i)):p.n=i:p.v=i);try{if(c=2,s){if(a||(n="next"),t=s[n]){if(!(t=t.call(s,i)))throw TypeError("iterator result is not an object");if(!t.done)return t;i=t.value,a<2&&(a=0)}else 1===a&&(t=s.return)&&t.call(s),a<2&&(i=TypeError("The iterator does not provide a '"+n+"' method"),a=1);s=e}else if((t=(u=p.n<0)?i:o.call(r,p))!==l)break}catch(t){s=e,a=1,i=t}finally{c=1}}return{value:t,done:u}}}(o,n,s),!0),c}var l={};function a(){}function i(){}function c(){}t=Object.getPrototypeOf;var d=[][r]?t(t([][r]())):($e(t={},r,function(){return this}),t),u=c.prototype=a.prototype=Object.create(d);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,$e(e,n,"GeneratorFunction")),e.prototype=Object.create(u),e}return i.prototype=c,$e(u,"constructor",c),$e(c,"constructor",i),i.displayName="GeneratorFunction",$e(c,n,"GeneratorFunction"),$e(u),$e(u,n,"Generator"),$e(u,r,function(){return this}),$e(u,"toString",function(){return"[object Generator]"}),(De=function(){return{w:s,m:p}})()}function $e(e,t,o,r){var n=Object.defineProperty;try{n({},"",{})}catch(e){n=0}$e=function(e,t,o,r){if(t)n?n(e,t,{value:o,enumerable:!r,configurable:!r,writable:!r}):e[t]=o;else{var s=function(t,o){$e(e,t,function(e){return this._invoke(t,o,e)})};s("next",0),s("throw",1),s("return",2)}},$e(e,t,o,r)}function Fe(e,t,o,r,n,s,l){try{var a=e[s](l),i=a.value}catch(e){return void o(e)}a.done?t(i):Promise.resolve(i).then(r,n)}const ze={name:"AddressComponent",props:{show:{type:Boolean,Default:!1},slug:{type:String,Default:"shipping"},title:{type:String},selectedAddress:{type:Object},method:{type:Function}},data:function(){return{loading:{isActive:!1},orderTypeEnum:N.A,address:{form:{full_name:"",email:"",country_code:null,phone:"",country:null,state:null,city:null,zip_code:"",address:""},search:{paginate:0,order_column:"id",order_type:"asc"},flag:"",calling_code:"",states:[],cities:[]},worldMapData:[],activeAddressId:null,errors:{}}},components:{LoadingComponent:Be.A},computed:{addresses:function(){return this.$store.getters["frontendAddress/lists"]},countryCodes:function(){return this.$store.getters["frontendCountryCode/lists"]},countries:function(){return this.$store.getters["frontendCountryStateCity/countries"]}},mounted:function(){var e=this;this.loading.isActive=!0,setTimeout(function(){e.callCountry()},300),this.$store.dispatch("frontendAddress/lists",{search:{paginate:0,order_column:"id",order_type:"asc"}}).then(function(t){e.loading.isActive=!1}).catch(function(t){e.loading.isActive=!1}),this.loading.isActive=!0,this.$store.dispatch("frontendCountryCode/lists"),this.$store.dispatch("company/lists").then(function(t){e.$store.dispatch("frontendCountryCode/show",t.data.data.company_country_code).then(function(t){e.address.form.country_code=t.data.data.calling_code,e.address.calling_code=t.data.data.calling_code,e.address.flag=t.data.data.flag_emoji,e.loading.isActive=!1}).catch(function(t){e.loading.isActive=!1})}).catch(function(t){e.loading.isActive=!1})},methods:{phoneNumber:function(e){return we.A.phoneNumber(e)},activeAddress:function(e){this.activeAddressId=e.id,this.method(e)},showTarget:function(e,t){Ae.A.showTarget(e,t)},callCountry:function(){this.$store.dispatch("frontendCountryStateCity/countries")},changeCountry:function(e){this.address.flag=e.flag_emoji,this.address.form.country_code=e.calling_code},callStates:function(e){var t=this;this.address.form.state=null,this.address.cities=[],this.address.states=[],this.address.form.city=null,this.$store.dispatch("frontendCountryStateCity/statesByCountry",e).then(function(e){t.address.states=e.data.data})},callCities:function(e){var t=this;this.address.form.city=null,this.address.cities=[],this.$store.dispatch("frontendCountryStateCity/citiesByState",e).then(function(e){t.address.cities=e.data.data})},reset:function(){Ae.A.hideTarget(this.slug+"-address-modal","modal-active"),this.$store.dispatch("frontendAddress/reset").then().catch(),this.errors={},this.address.form={full_name:"",email:"",country_code:this.address.calling_code,phone:"",country:null,state:null,city:null,zip_code:"",address:""},this.address.states=[],this.address.cities=[]},save:function(){var e=this;try{var t=this.$store.getters["frontendAddress/temp"].temp_id;this.loading.isActive=!0,this.$store.dispatch("frontendAddress/save",this.address).then(function(o){Ae.A.hideTarget(e.slug+"-address-modal","modal-active"),e.loading.isActive=!1,Se.A.successFlip(null===t?0:1,e.$t("label.address")),e.address.form={full_name:"",email:"",country_code:e.address.calling_code,phone:"",country:null,state:null,city:null,zip_code:"",address:""},e.address.states=[],e.address.cities=[],e.errors={},e.activeAddress(o.data.data)}).catch(function(t){e.loading.isActive=!1,e.errors=t.response.data.errors})}catch(e){this.loading.isActive=!1,Se.A.error(e)}},edit:function(e){var t=this;Object.keys(this.selectedAddress).length>0&&(Ae.A.showTarget(this.slug+"-address-modal","modal-active"),this.loading.isActive=!0,this.$store.dispatch("frontendAddress/edit",e.id).then(function(){var o,r=(o=De().m(function o(r){return De().w(function(o){for(;;)switch(o.n){case 0:if(t.loading.isActive=!1,""===e.state){o.n=3;break}return o.n=1,t.$store.dispatch("frontendCountryStateCity/statesByCountry",e.country).then(function(e){t.address.states=e.data.data});case 1:return o.n=2,t.$store.dispatch("frontendCountryStateCity/citiesByState",e.state).then(function(e){t.address.cities=e.data.data});case 2:""===e.city&&(t.address.form.city=null),o.n=5;break;case 3:return o.n=4,t.$store.dispatch("frontendCountryStateCity/statesByCountry",e.country).then(function(e){t.address.states=e.data.data});case 4:t.address.form.state=null,t.address.form.city=null;case 5:t.address.form={full_name:e.full_name,email:e.email,country_code:e.country_code,phone:e.phone,country:e.country,state:e.state,city:e.city,zip_code:e.zip_code,address:e.address},""===e.state&&(t.address.form.state=null),""===e.city&&(t.address.form.city=null),t.$store.dispatch("frontendCountryCode/callingCode",e.country_code).then(function(e){t.address.flag=e.data.data.flag_emoji,t.loading.isActive=!1}).catch(function(e){t.loading.isActive=!1});case 6:return o.a(2)}},o)}),function(){var e=this,t=arguments;return new Promise(function(r,n){var s=o.apply(e,t);function l(e){Fe(s,r,n,l,a,"next",e)}function a(e){Fe(s,r,n,l,a,"throw",e)}l(void 0)})});return function(e){return r.apply(this,arguments)}}()).catch(function(e){Se.A.error(e.response.data.message)}))}}};var Te=o(6262);const Oe=(0,Te.A)(ze,[["render",function(e,t,o,n,s,l){var a=(0,r.resolveComponent)("LoadingComponent"),i=(0,r.resolveComponent)("vue-select");return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)(a,{props:s.loading},null,8,["props"]),o.show?((0,r.openBlock)(),(0,r.createElementBlock)("div",_,[(0,r.createElementVNode)("div",w,[(0,r.createElementVNode)("h4",A,(0,r.toDisplayString)(o.title),1),(0,r.createElementVNode)("div",S,[Object.keys(o.selectedAddress).length>0?((0,r.openBlock)(),(0,r.createElementBlock)("button",{key:0,type:"button",onClick:t[0]||(t[0]=(0,r.withModifiers)(function(e){return l.edit(o.selectedAddress)},["prevent"])),class:"px-3 h-8 leading-8 rounded-full flex items-center gap-2 bg-[#E6FFF0] text-success"},[t[16]||(t[16]=(0,r.createElementVNode)("i",{class:"lab-fill-edit"},null,-1)),(0,r.createElementVNode)("span",B,(0,r.toDisplayString)(e.$t("button.edit")),1)])):(0,r.createCommentVNode)("",!0),(0,r.createElementVNode)("button",{type:"button",onClick:t[1]||(t[1]=(0,r.withModifiers)(function(e){return l.showTarget(o.slug+"-address-modal","modal-active")},["prevent"])),class:"px-3 h-8 leading-8 rounded-full flex items-center gap-2 bg-[#FFF4F1] text-primary"},[t[17]||(t[17]=(0,r.createElementVNode)("i",{class:"lab-fill-circle-plus"},null,-1)),(0,r.createElementVNode)("span",D,(0,r.toDisplayString)(e.$t("button.add_new")),1)])])]),(0,r.createElementVNode)("div",$,[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(l.addresses,function(e){var t;return(0,r.openBlock)(),(0,r.createElementBlock)("div",{class:(0,r.normalizeClass)([Object.keys(o.selectedAddress).length>0&&e.id===o.selectedAddress.id?"border-primary/50 bg-[#FFF4F1]":"border-[#F7F7F7] bg-[#F7F7F7]","py-3 px-4 rounded-lg cursor-pointer border transition-all duration-300"]),onClick:(0,r.withModifiers)(function(t){return l.activeAddress(e)},["prevent"]),key:e},[(0,r.createElementVNode)("span",z,(0,r.toDisplayString)(e.full_name),1),e.phone?((0,r.openBlock)(),(0,r.createElementBlock)("span",T,(0,r.toDisplayString)(null!==(t=e.country_code)&&void 0!==t?t:"")+" "+(0,r.toDisplayString)(e.phone)+",",1)):(0,r.createCommentVNode)("",!0),e.email?((0,r.openBlock)(),(0,r.createElementBlock)("span",O,(0,r.toDisplayString)(e.email)+",",1)):(0,r.createCommentVNode)("",!0),e.state?((0,r.openBlock)(),(0,r.createElementBlock)("span",j,(0,r.toDisplayString)(e.state)+",",1)):(0,r.createCommentVNode)("",!0),e.city?((0,r.openBlock)(),(0,r.createElementBlock)("span",M,(0,r.toDisplayString)(e.city)+",",1)):(0,r.createCommentVNode)("",!0),e.country?((0,r.openBlock)(),(0,r.createElementBlock)("span",L,(0,r.toDisplayString)(e.country)+",",1)):(0,r.createCommentVNode)("",!0),e.address?((0,r.openBlock)(),(0,r.createElementBlock)("span",I,[(0,r.createTextVNode)((0,r.toDisplayString)(e.address),1),e.zip_code?((0,r.openBlock)(),(0,r.createElementBlock)("span",P,",")):(0,r.createCommentVNode)("",!0)])):(0,r.createCommentVNode)("",!0),e.zip_code?((0,r.openBlock)(),(0,r.createElementBlock)("span",U,(0,r.toDisplayString)(e.zip_code),1)):(0,r.createCommentVNode)("",!0)],10,F)}),128))])])):(0,r.createCommentVNode)("",!0),(0,r.createElementVNode)("div",{id:o.slug+"-address-modal",class:"fixed inset-0 z-50 p-3 w-screen h-dvh overflow-y-auto bg-black/50 transition-all duration-300 opacity-0 invisible"},[(0,r.createElementVNode)("div",Y,[(0,r.createElementVNode)("div",q,[(0,r.createElementVNode)("h3",G,(0,r.toDisplayString)(e.$t("label.address")),1),(0,r.createElementVNode)("button",{onClick:t[2]||(t[2]=(0,r.withModifiers)(function(){return l.reset&&l.reset.apply(l,arguments)},["prevent"])),type:"button",class:"lab-line-circle-cross text-lg text-[#E93C3C]"})]),(0,r.createElementVNode)("form",{class:"w-full p-5",onSubmit:t[15]||(t[15]=(0,r.withModifiers)(function(){return l.save&&l.save.apply(l,arguments)},["prevent"]))},[(0,r.createElementVNode)("div",K,[(0,r.createElementVNode)("div",H,[(0,r.createElementVNode)("label",J,(0,r.toDisplayString)(e.$t("label.full_name")),1),(0,r.withDirectives)((0,r.createElementVNode)("input",{type:"text","onUpdate:modelValue":t[3]||(t[3]=function(e){return s.address.form.full_name=e}),class:(0,r.normalizeClass)([s.errors.full_name?"invalid":"","w-full h-12 px-4 rounded-lg text-base border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500"])},null,2),[[r.vModelText,s.address.form.full_name]]),s.errors.full_name?((0,r.openBlock)(),(0,r.createElementBlock)("small",Q,(0,r.toDisplayString)(s.errors.full_name[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",W,[(0,r.createElementVNode)("label",X,(0,r.toDisplayString)(e.$t("label.email")),1),(0,r.withDirectives)((0,r.createElementVNode)("input",{type:"email","onUpdate:modelValue":t[4]||(t[4]=function(e){return s.address.form.email=e}),class:(0,r.normalizeClass)([s.errors.email?"invalid":"","w-full h-12 px-4 rounded-lg text-base border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500"])},null,2),[[r.vModelText,s.address.form.email]]),s.errors.email?((0,r.openBlock)(),(0,r.createElementBlock)("small",Z,(0,r.toDisplayString)(s.errors.email[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",ee,[(0,r.createElementVNode)("label",te,(0,r.toDisplayString)(e.$t("label.phone")),1),(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)([s.errors.phone?"invalid":"","field-control flex items-center"])},[(0,r.createElementVNode)("div",oe,[(0,r.createElementVNode)("button",re,[(0,r.createTextVNode)((0,r.toDisplayString)(s.address.flag)+" ",1),(0,r.createElementVNode)("span",ne,(0,r.toDisplayString)(s.address.form.country_code),1),t[18]||(t[18]=(0,r.createElementVNode)("i",{class:"fa-solid fa-caret-down text-xs"},null,-1))]),(0,r.createElementVNode)("ul",se,[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(l.countryCodes,function(e){return(0,r.openBlock)(),(0,r.createElementBlock)("li",{onClick:(0,r.withModifiers)(function(t){return l.changeCountry(e)},["prevent"]),class:"flex items-center gap-2 p-1.5 rounded-md cursor-pointer hover:bg-gray-100"},[(0,r.createTextVNode)((0,r.toDisplayString)(e.flag_emoji)+" ",1),(0,r.createElementVNode)("span",ae,(0,r.toDisplayString)(e.calling_code),1)],8,le)}),256))])]),(0,r.withDirectives)((0,r.createElementVNode)("input",{"onUpdate:modelValue":t[5]||(t[5]=function(e){return s.address.form.phone=e}),onKeypress:t[6]||(t[6]=function(e){return l.phoneNumber(e)}),class:(0,r.normalizeClass)([s.errors.phone?"invalid":"","pl-2 text-sm w-full h-full"]),type:"text",id:"phone"},null,34),[[r.vModelText,s.address.form.phone]])],2),s.errors.phone?((0,r.openBlock)(),(0,r.createElementBlock)("small",ie,(0,r.toDisplayString)(s.errors.phone[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",ce,[(0,r.createElementVNode)("label",de,(0,r.toDisplayString)(e.$t("label.country")),1),(0,r.createVNode)(i,{class:(0,r.normalizeClass)(["w-full h-12 px-4 rounded-lg text-base capitalize border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500 appearance-none",s.errors.country?"invalid":""]),id:"country",modelValue:s.address.form.country,"onUpdate:modelValue":[t[7]||(t[7]=function(e){return s.address.form.country=e}),t[8]||(t[8]=function(e){return l.callStates(e)})],options:l.countries,"label-by":"name","value-by":"name",closeOnSelect:!0,searchable:!0,clearOnClose:!0,placeholder:"--","search-placeholder":"--"},null,8,["class","modelValue","options"]),s.errors.country?((0,r.openBlock)(),(0,r.createElementBlock)("small",ue,(0,r.toDisplayString)(s.errors.country[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",pe,[(0,r.createElementVNode)("label",me,(0,r.toDisplayString)(e.$t("label.state")),1),(0,r.createVNode)(i,{class:(0,r.normalizeClass)(["w-full h-12 px-4 rounded-lg text-base capitalize border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500 appearance-none",s.errors.state?"invalid":""]),id:"state",modelValue:s.address.form.state,"onUpdate:modelValue":[t[9]||(t[9]=function(e){return s.address.form.state=e}),t[10]||(t[10]=function(e){return l.callCities(e)})],options:s.address.states,"label-by":"name","value-by":"name",closeOnSelect:!0,searchable:!0,clearOnClose:!0,placeholder:"--","search-placeholder":"--"},null,8,["class","modelValue","options"]),s.errors.state?((0,r.openBlock)(),(0,r.createElementBlock)("small",fe,(0,r.toDisplayString)(s.errors.state[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",he,[(0,r.createElementVNode)("label",ge,(0,r.toDisplayString)(e.$t("label.city")),1),(0,r.createVNode)(i,{class:(0,r.normalizeClass)(["w-full h-12 px-4 rounded-lg text-base capitalize border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500 appearance-none",s.errors.city?"invalid":""]),id:"city",modelValue:s.address.form.city,"onUpdate:modelValue":t[11]||(t[11]=function(e){return s.address.form.city=e}),options:s.address.cities,"label-by":"name","value-by":"name",closeOnSelect:!0,searchable:!0,clearOnClose:!0,placeholder:"--","search-placeholder":"--"},null,8,["class","modelValue","options"]),s.errors.city?((0,r.openBlock)(),(0,r.createElementBlock)("small",ye,(0,r.toDisplayString)(s.errors.city[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",be,[(0,r.createElementVNode)("label",ve,(0,r.toDisplayString)(e.$t("label.zip_code")),1),(0,r.withDirectives)((0,r.createElementVNode)("input",{type:"text","onUpdate:modelValue":t[12]||(t[12]=function(e){return s.address.form.zip_code=e}),class:(0,r.normalizeClass)([s.errors.zip_code?"invalid":"","w-full h-12 px-4 rounded-lg text-base border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500"])},null,2),[[r.vModelText,s.address.form.zip_code]]),s.errors.zip_code?((0,r.openBlock)(),(0,r.createElementBlock)("small",Ee,(0,r.toDisplayString)(s.errors.zip_code[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",xe,[(0,r.createElementVNode)("label",ke,(0,r.toDisplayString)(e.$t("label.street_address")),1),(0,r.withDirectives)((0,r.createElementVNode)("input",{type:"text",class:(0,r.normalizeClass)([s.errors.address?"invalid":"","w-full h-12 px-4 rounded-lg text-base border border-[#D9DBE9] hover:border-primary/30 focus-within:border-primary/30 transition-all duration-500"]),"onUpdate:modelValue":t[13]||(t[13]=function(e){return s.address.form.address=e})},null,2),[[r.vModelText,s.address.form.address]]),s.errors.address?((0,r.openBlock)(),(0,r.createElementBlock)("small",Ce,(0,r.toDisplayString)(s.errors.address[0]),1)):(0,r.createCommentVNode)("",!0)]),(0,r.createElementVNode)("div",Ve,[(0,r.createElementVNode)("div",Ne,[(0,r.createElementVNode)("button",_e,(0,r.toDisplayString)(e.$t("button.save_address")),1),(0,r.createElementVNode)("button",{onClick:t[14]||(t[14]=(0,r.withModifiers)(function(){return l.reset&&l.reset.apply(l,arguments)},["prevent"])),type:"button",class:"font-bold text-center h-12 leading-12 px-8 rounded-full whitespace-nowrap bg-[#F7F7FC] capitalize"},(0,r.toDisplayString)(e.$t("button.cancel")),1)])])])],32)])],8,R)],64)}]]);var je=o(4460),Me=o(4746),Le=o(934),Ie=o(6884);const Pe={name:"CheckoutComponent",components:{CouponComponent:Me.A,SummeryComponent:je.A,AddressComponent:Oe,LoadingComponent:Be.A},data:function(){return{loading:{isActive:!1},enums:{statusEnum:Ie.A},orderTypeEnum:N.A,shippingAndBillingCheck:!0,billingStatus:!1,modelOutlet:0}},computed:{setting:function(){return this.$store.getters["frontendSetting/lists"]},orderType:function(){return this.$store.getters["frontendCart/orderType"]},getShippingAddress:function(){return this.$store.getters["frontendCart/shippingAddress"]},getBillingAddress:function(){return this.$store.getters["frontendCart/billingAddress"]},outlets:function(){return this.$store.getters["frontendOutlet/lists"]}},mounted:function(){var e=this;this.loading.isActive=!0,this.$store.dispatch("frontendOrderArea/lists").then(function(t){e.loading.isActive=!1}).catch(function(t){e.loading.isActive=!1}),this.loading.isActive=!0,this.$store.dispatch("frontendOutlet/lists",{status:this.enums.statusEnum.ACTIVE}).then(function(t){e.loading.isActive=!1}).catch(function(t){e.loading.isActive=!1})},methods:{changeOrderType:function(e){this.$store.dispatch("frontendCart/updateOrderType",e)},shippingAddress:function(e){this.$store.dispatch("frontendCart/shippingAddress",e).then().catch(),this.shippingAndBillingCheck&&this.$store.dispatch("frontendCart/billingAddress",e).then().catch()},billingAddress:function(e){this.$store.dispatch("frontendCart/billingAddress",e).then().catch()},outletAddress:function(e){var t=this;setTimeout(function(){t.$store.dispatch("frontendCart/outletAddress",t.modelOutlet).then().catch()},100)},checkBillingCheckBox:function(e){e.target.checked?(this.billingStatus=!1,this.shippingAndBillingCheck=!0,this.$store.dispatch("frontendCart/billingAddress",this.getShippingAddress).then().catch()):(this.billingStatus=!0,this.shippingAndBillingCheck=!1)},selectAddress:function(){this.orderType===N.A.DELIVERY&&(0===Object.keys(this.getShippingAddress).length||0===Object.keys(this.getBillingAddress).length)?Se.A.error(this.$t("message.shipping_and_billing_address")):Le.A.push({name:"frontend.checkout.payment"})}}},Ue=(0,Te.A)(Pe,[["render",function(e,t,o,N,_,w){var A=(0,r.resolveComponent)("LoadingComponent"),S=(0,r.resolveComponent)("AddressComponent"),B=(0,r.resolveComponent)("router-link"),D=(0,r.resolveComponent)("CouponComponent"),$=(0,r.resolveComponent)("SummeryComponent");return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,null,[(0,r.createVNode)(A,{props:_.loading},null,8,["props"]),(0,r.createElementVNode)("div",n,[(0,r.createElementVNode)("div",s,[(0,r.createElementVNode)("div",l,[(0,r.createElementVNode)("div",a,[(0,r.createElementVNode)("input",{onChange:t[0]||(t[0]=function(e){return w.changeOrderType(_.orderTypeEnum.DELIVERY)}),id:"checkout-delivery",checked:w.orderType===_.orderTypeEnum.DELIVERY,value:_.orderTypeEnum.DELIVERY,class:"cart-switch w-full h-full absolute top-0 left-0 opacity-0 cursor-pointer",type:"radio"},null,40,i),(0,r.createElementVNode)("label",c,(0,r.toDisplayString)(e.$t("label.delivery")),1)]),(0,r.createElementVNode)("div",d,[(0,r.createElementVNode)("input",{onChange:t[1]||(t[1]=function(e){return w.changeOrderType(_.orderTypeEnum.PICK_UP)}),id:"checkout-delivery",checked:w.orderType===_.orderTypeEnum.PICK_UP,value:_.orderTypeEnum.PICK_UP,class:"cart-switch w-full h-full absolute top-0 left-0 opacity-0 cursor-pointer",type:"radio"},null,40,u),(0,r.createElementVNode)("label",p,(0,r.toDisplayString)(e.$t("label.pick_up")),1)])]),w.orderType===_.orderTypeEnum.PICK_UP?((0,r.openBlock)(),(0,r.createElementBlock)("div",m,[(0,r.createElementVNode)("h4",f,(0,r.toDisplayString)(e.$t("label.store_location")),1),w.outlets.length>0?((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,{key:0},(0,r.renderList)(w.outlets,function(e){return(0,r.openBlock)(),(0,r.createElementBlock)("div",h,[(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(["flex p-2 border transition-all rounded-lg",e.id===_.modelOutlet.id?"border-primary/50 bg-[#FFF4F1]":"border-[#F7F7F7] bg-[#F7F7F7]"])},[(0,r.withDirectives)(((0,r.openBlock)(),(0,r.createElementBlock)("input",{type:"radio",onChange:t[2]||(t[2]=function(e){return w.outletAddress(e)}),id:e.name,name:e.name,value:e,key:e,"onUpdate:modelValue":t[3]||(t[3]=function(e){return _.modelOutlet=e})},null,40,g)),[[r.vModelRadio,_.modelOutlet]]),(0,r.createElementVNode)("label",{for:e.name,class:"px-2 text-sm capitalize cursor-pointer"},[(0,r.createElementVNode)("span",b,(0,r.toDisplayString)(e.name),1),(0,r.createTextVNode)(" - "+(0,r.toDisplayString)(e.address)+", "+(0,r.toDisplayString)(e.city)+", "+(0,r.toDisplayString)(e.state)+", "+(0,r.toDisplayString)(e.zip_code),1)],8,y)],2)])}),256)):(0,r.createCommentVNode)("",!0)])):(0,r.createCommentVNode)("",!0),w.orderType===_.orderTypeEnum.DELIVERY?((0,r.openBlock)(),(0,r.createBlock)(S,{key:1,slug:"shipping",title:e.$t("label.shipping_address"),show:!0,selectedAddress:w.getShippingAddress,method:w.shippingAddress},null,8,["title","selectedAddress","method"])):(0,r.createCommentVNode)("",!0),w.orderType===_.orderTypeEnum.DELIVERY?((0,r.openBlock)(),(0,r.createElementBlock)("div",v,[(0,r.createElementVNode)("input",{checked:"checked",value:_.shippingAndBillingCheck,onClick:t[4]||(t[4]=function(e){return w.checkBillingCheckBox(e)}),type:"checkbox",id:"shipping-and-billing-is-same",class:"cs-custom-checkbox"},null,8,E),(0,r.createElementVNode)("label",x,(0,r.toDisplayString)(e.$t("message.save_shipping_address_as_a_billing_address")),1)])):(0,r.createCommentVNode)("",!0),w.orderType===_.orderTypeEnum.DELIVERY?((0,r.openBlock)(),(0,r.createBlock)(S,{key:3,slug:"billing",title:e.$t("label.billing_address"),show:_.billingStatus,selectedAddress:w.getBillingAddress,method:w.billingAddress},null,8,["title","show","selectedAddress","method"])):(0,r.createCommentVNode)("",!0),(0,r.createElementVNode)("div",k,[(0,r.createVNode)(B,{to:{name:"frontend.checkout.cartList"},class:"field-button w-fit font-semibold tracking-wide normal-case text-secondary bg-[#F7F7FC]"},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)((0,r.toDisplayString)(e.$t("button.back_to_cart")),1)]}),_:1}),(0,r.createElementVNode)("button",{onClick:t[5]||(t[5]=(0,r.withModifiers)(function(){return w.selectAddress&&w.selectAddress.apply(w,arguments)},["prevent"])),class:"field-button w-fit font-semibold tracking-wide normal-case"},(0,r.toDisplayString)(e.$t("button.save_and_pay")),1)])]),(0,r.createElementVNode)("div",C,[(0,r.createVNode)(D),(0,r.createVNode)($),(0,r.createElementVNode)("div",V,[(0,r.createVNode)(B,{to:{name:"frontend.checkout.cartList"},class:"field-button font-semibold tracking-wide normal-case text-secondary bg-[#F7F7FC]"},{default:(0,r.withCtx)(function(){return[(0,r.createTextVNode)((0,r.toDisplayString)(e.$t("button.back_to_cart")),1)]}),_:1}),(0,r.createElementVNode)("button",{onClick:t[6]||(t[6]=(0,r.withModifiers)(function(){return w.selectAddress&&w.selectAddress.apply(w,arguments)},["prevent"])),class:"field-button font-semibold tracking-wide normal-case"},(0,r.toDisplayString)(e.$t("button.save_and_pay")),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