PageSourceSearch

https://lottemallwestlakehanoi.vn/_nuxt/index.1ea15f24.js

js lottemallwestlakehanoi.vn collected 2026-10-07 06:55:39 UTC 11,213 bytes, 1 lines download raw bytes

1import{_ as ue,u as M}from"./nuxt-img.663d7958.js";import{_ as me}from"./nuxt-link.534ba354.js";import{f as fe,g as xe,r as q,i as z,G as he,j as ge,k as _e,o as s,c as a,l as e,m,a as l,b as p,w as h,F as E,n as j,s as f,t as w,q as ke,x as we,v}from"./entry.ebd0c23c.js";import{u as b}from"./state.00040e13.js";import{u as ve}from"./composables.16fd1d47.js";import{_ as be}from"./index.vue.d335714a.js";import{S as $,A as F,a as N}from"./autoplay.470020db.js";import{P as R}from"./pagination.b4e47800.js";/* empty css               *//* empty css                   */function g(y){let n,c=y[0],r=1;for(;r<y.length;){const d=y[r],L=y[r+1];if(r+=2,(d==="optionalAccess"||d==="optionalCall")&&c==null)return;d==="access"||d==="optionalAccess"?(n=c,c=L(c)):(d==="call"||d==="optionalCall")&&(c=L((...D)=>c.call(n,...D)),n=void 0)}return c}const ye={key:0},De={id:"startSection",class:"desktop:block hidden w-full pt-[11.125rem]"},Se={class:"w-full lg:block hidden"},Ae={class:"w-full max-h-[708px] lg:hidden block"},Ce={class:"w-full lg:max-h-[860px] max-h-[708px]"},Ee={id:"startSection",class:"desktop:hidden block h-[36.1875rem] mt-[4rem]"},je=l("div",{class:"absolute w-full h-full z-10"},null,-1),Le={id:"beginSectionTwo",class:"flex flex-col lg:px-[8vw] px-[5.34vw]"},Be={class:"mediumDesktop:mx-auto largeDesktop:mx-auto w-full mt-[2rem] h-[60px] flex items-end pb-6"},Pe={id:"sectionTwo",class:"flex w-full mediumDesktop:mx-auto largeDesktop:mx-auto justify-between items-center"},Ve={key:0,class:"font-fahkwang antialiased text-[24px] font-semibold largeDesktop:text-[40px] mediumDesktop:text-[40px] desktop:text-[40px]"},Ie={key:1,class:"font-fahkwang antialiased text-[24px] font-semibold largeDesktop:text-[40px] mediumDesktop:text-[40px] desktop:text-[40px]"},Te=["onSubmit"],Oe={key:1,class:"relative middleDesktop:w-[385px] h-[48px]"},Me=["placeholder","value"],qe=l("div",{id:"list_title"},null,-1),ze=l("div",{class:"lg:h-10 h-8"},null,-1),$e={key:0},Fe={key:0,class:"w-full box-border desktop:gap-x-[16px] desktop:gap-y-[40px] mediumDesktop:gap-y-[80px] grid desktop:grid-cols-6 grid-cols-3 gap-x-[12px] gap-y-[24px]"},Ne={class:"flex relative mediumDesktop:mt-[12px] largeDesktop:mt-[16px] mt-[8px] max-xl:w-100 max-2xl:w-100"},Re={class:"mediumDesktop:gap-1 flex items-center"},Ye={key:0},Ge={class:"gap-1 flex absolute right-0"},We=l("div",{id:"loading-more",class:"desktop:h-[120px] h-[80px]"},null,-1),He={key:1},Ue={class:"relative flex"},at=fe({__name:"index",async setup(y){let n,c;const r=we();b(1);const[d,L]=b([{value:"all",contentfulValue:"all"}]),[D,ee]=b(""),[T,te]=b([]),[B,Y]=b(!1),[P,G]=b(!1),oe=ve(),{locale:se}=xe(),S=q(16),W=q(!0),V=q(!1);let _;const{data:O}=([n,c]=z(()=>M("fashionPage",()=>$fetch(r.public.urlApi+"api/pages/entertainment",{onResponse:t=>{}}),{watch:[]})),n=await n,c(),n),{data:le}=([n,c]=z(()=>M("dataCategoryEntertainment",()=>$fetch(r.public.urlApi+"api/categories",{query:{section_id:3},onResponse:t=>{}}),{watch:[]})),n=await n,c(),n);var k,A;const H=O._rawValue.entertainment,U=g([O,"access",t=>t._rawValue,"access",t=>t.entertainment,"optionalAccess",t=>t.images]),ae=g([O,"access",t=>t._rawValue,"access",t=>t.entertainment,"optionalAccess",t=>t.images_mobile]),J=se.value,ne=le._rawValue.data,{data:I,pending:K,error:ie}=([n,c]=z(()=>M("dataTenant",()=>$fetch(r.public.urlApi+"api/tenants",{query:{limit:S.value,section_id:3,search_name:D.value,category_id:d.value.filter(t=>t.value!=="all").map(t=>t.value),floor_id:T.value,ls_point:B.value?1:void 0,lotte_voucher:P.value?1:void 0},onResponse:t=>{k=t.response._data.data,A=t.response._data.total,V.value=!0}}),{watch:[d,S,D,T,B,P]})),n=await n,c(),n);k=I._rawValue.data,A=I._rawValue.total;function re(t){}const{open:ce,close:pe}=he({component:be,attrs:{isLsPoint:B,isVoucher:P,categories:ne,category:d,floors:T,onConfirm(){pe()},onSelect(t){L(t)},onSelectPoint(t){Y(t?!1:!B.value)},onSelectVoucher(t){G(t?!1:!P.value)},onSelectFloor(t){te(t)}}});function de(){W.value=!1}const Q=()=>{var t=document.getElementById("footer"),u=document.getElementById("footer-mobile");document.querySelector("#startSection"),document.querySelector("#sectionTwo"),document.querySelector("#beginSectionTwo"),document.onscrollend=i=>{window.pageYOffset||document.documentElement.scrollTop,/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?window.pageYOffset>g([u,"optionalAccess",C=>C.offsetTop])-1e3&&V&&k.length<A&&(S.value+=16):window.pageYOffset>g([t,"optionalAccess",C=>C.offsetTop])-1e3&&V&&k.length<A&&(S.value+=16)}};function X(){var t=document.getElementById("footer-mobile");window.pageYOffset>g([t,"optionalAccess",u=>u.offsetTop])-1e3&&V&&k.length<A&&(S.value+=16)}return ge(()=>{_=window.innerWidth,window.addEventListener("scroll",Q),document.addEventListener("touchmove",X,!1)}),_e(()=>{window.removeEventListener("scroll",Q),document.removeEventListener("touchmove",X)}),(t,u)=>{const i=ue,C=me;return s(),a("section",null,[e(K)?(s(),a("span",ye,"Loading...")):m("",!0),l("div",De,[p(e(N),{"slides-per-view":1,loop:!0,pagination:{clickable:!0},"centered-slides":!0,autoplay:{delay:2500,disableOnInteraction:!1},modules:[e(F),e(R)]},{default:h(()=>[(s(!0),a(E,null,j(e(U),(o,x)=>(s(),f(e($),{key:x},{default:h(()=>[l("div",Se,[p(i,{src:e(r).public.urlApi+"storage/"+o.image,format:"webp",class:"w-full largeDesktop:block hidden main-banner-et object-fill",fit:"fill",alt:"sample 1"},null,8,["src"]),p(i,{src:e(r).public.urlApi+"storage/"+o.image,format:"webp",class:"w-full main-banner-et largeDesktop:hidden desktop:block object-fill",fit:"fill",alt:"sample 1"},null,8,["src"])])]),_:2},1024))),128))]),_:1},8,["modules"]),l("div",Ae,[p(e(N),{"slides-per-view":1,loop:!0,pagination:{clickable:!0},"centered-slides":!0,autoplay:{delay:2500,disableOnInteraction:!1},modules:[e(F),e(R)]},{default:h(()=>[(s(!0),a(E,null,j(e(U),(o,x)=>(s(),f(e($),{key:x},{default:h(()=>[l("div",Ce,[p(i,{src:e(r).public.urlApi+"storage/"+o.image,format:"webp",class:"w-full h-full object-fill",fit:"fill",alt:"sample 1"},null,8,["src"])])]),_:2},1024))),128))]),_:1},8,["modules"])])]),l("div",Ee,[p(e(N),{class:"h-[36.1875rem]","slides-per-view":1,loop:!0,pagination:{clickable:!0},"centered-slides":!0,autoplay:{delay:2500,disableOnInteraction:!1},modules:[e(F),e(R)]},{default:h(()=>[(s(!0),a(E,null,j(e(ae),(o,x)=>(s(),f(e($),{class:"h-full",key:x},{default:h(()=>[je,p(i,{src:e(r).public.urlApi+"storage/"+o.image,format:"webp",class:"w-full h-full object-cover desktop:hidden block",alt:"sample 1"},null,8,["src"]),p(i,{src:e(r).public.urlApi+"storage/"+o.image,format:"webp",class:"w-full largeDesktop:block h-full object-cover hidden",alt:"sample 1"},null,8,["src"]),p(i,{src:e(r).public.urlApi+"storage/"+o.image,format:"webp",class:"w-full h-full object-cover desktop:block largeDesktop:hidden hidden",alt:"sample 1"},null,8,["src"])]),_:2},1024))),128))]),_:1},8,["modules"])]),l("div",Le,[l("div",Be,[p(i,{src:"/images/fashion/line_fashion.svg"},null,8,["src"])]),l("div",Pe,[e(J)==="vn"?(s(),a("span",Ve,w(g([e,"call",o=>o(H),"optionalAccess",o=>
1o.title_vn])),1)):(s(),a("span",Ie,w(g([e,"call",o=>o(H),"optionalAccess",o=>o.title_en])),1)),l("form",{class:"flex items-center",onSubmit:ke(re,["prevent"])},[e(W)?(s(),a("div",{key:0,onClick:u[0]||(u[0]=()=>de()),class:"cursor-pointer relative middleDesktop:w-[385px] h-[48px] py-[12px] pl-[12px] rounded-full border border-[#262626] w-[48px] p-3.5 hover:border-[#E30613]"},[p(i,{class:"max-w-none",src:"/images/search-icon.svg",alt:"search",densities:"1"})])):(s(),a("div",Oe,[p(i,{class:"absolute top-[14px] middleDesktop:right-[20px] right-3 flex items-center pointer-events-none middleDesktop:w-6 w-5",src:"/images/search.svg",alt:"search",densities:"1"}),l("input",{id:"search",ries:"",class:"placeholder-gray-500 h-[48px] rounded-full max-desktop:w-[100px] middleDesktop:w-[385px] w-80 middleDesktop:px-5 px-3 py-2 middleDesktop:text-base text-xs middleDesktop:rounded-lg border border-[#262626] font-plus hover:border-[#E30613] hover:placeholder-opacity-0 focus:placeholder-opacity-0",placeholder:t.$t("fashion.search"),type:"text",name:"search",value:e(D),onInput:u[1]||(u[1]=o=>e(ee)(o.target.value))},null,40,Me)])),l("button",{class:"flex border-green h-[48px] py-[12px] pl-[12px] rounded-full border border-[#262626] w-[48px] p-3.5 hover:border-[#E30613] ml-4",onClick:u[2]||(u[2]=()=>e(ce)())},[p(i,{src:"/images/filter-icon.svg",format:"webp",class:"object-fill max-w-none",alt:"close",densities:"1"},null,8,["src"])])],40,Te)]),qe,ze,e(I)?(s(),a("div",$e,[e(I)?(s(),a("div",Fe,[(s(!0),a(E,null,j(e(k),o=>(s(),f(C,{key:o.id,to:e(oe)(`/entertainment/${o.id}`),class:v(["flex flex-col desktop:h-[100%] mediumDesktop:h-[100%] largeDesktop:h-[100%]",(e(_)<500,"h-[51.56vw]")])},{default:h(()=>[l("div",{class:v(["flex flex-col items-center justify-center border sborder-[#727272] largeDesktop:h-[73.3%] mediumDesktop:h-[73.3%] desktop:h-[71%] relative rounded-lg overflow-hidden",e(_)<500?"h-[54%]":""])},[p(i,{class:"w-full h-full object-fill rounded-lg hover:scale-125 transition duration-500 cursor-pointer",src:e(r).public.urlApi+"storage/"+o.tenant_logo,format:"webp",loading:"lazy",alt:"sample"},null,8,["src"])],2),l("span",{class:v(["antialiased mt-[8px] font-semibold largeDesktop:text-[16px] mediumDesktop:text-[16px] desktop:text-[16px] font-plus line-clamp-1",(e(_)<500,"text-[14px]")])},w(o.name),3),e(J)==="vn"?(s(),a("span",{key:0,class:v(["antialiased font-normal mt-[4px] largeDesktop:text-[14px] mediumDesktop:text-[14px] desktop:text-[14px] font-plus line-clamp-1 mediumDesktop:h-[1rem] largeDesktop:h-[1rem] desktop:h-[22px]",(e(_)<500,"text-[12px]")])},w(o.tenant_category.name_vn),3)):(s(),a("span",{key:1,class:v(["antialiased font-normal mt-[4px] largeDesktop:text-[14px] mediumDesktop:text-[14px] desktop:text-[14px] font-plus line-clamp-1 mediumDesktop:h-[1rem] largeDesktop:h-[1rem] desktop:h-[22px]",(e(_)<500,"text-[12px]")])},w(o.tenant_category.name),3)),l("div",Ne,[l("div",Re,[o.tenant_floor.length>0?(s(),f(i,{key:0,class:"object-fill w-[1rem] h-[1rem]",src:"/images/Location-Bold 1.png",format:"webp",alt:"sample",loading:"lazy"},null,8,["src"])):m("",!0),(s(!0),a(E,null,j(o.tenant_floor,(x,Z)=>(s(),a("div",{key:Z,class:"antialiased font-normal largeDesktop:text-[14px] mediumDesktop:text-[14px] text-[10px] font-plus"},[l("span",null,w(x.name),1),Z<o.tenant_floor.length-1?(s(),a("span",Ye,",")):m("",!0)]))),128))]),l("div",{class:v(["gap-1 flex absolute",o.lotte_voucher===1?"right-[1.5rem]":"right-0"])},[o.ls_point==1?(s(),f(i,{key:0,class:"object-fill w-[1rem] h-[1rem]",src:"/images/Lspoint.png",format:"webp",alt:"sample",loading:"lazy"},null,8,["src"])):m("",!0)],2),l("div",Ge,[o.lotte_voucher===1?(s(),f(i,{key:0,class:"object-fill w-[1rem] h-[1rem]",src:"/images/lspoint-icon.svg",format:"webp",alt:"sample",loading:"lazy"},null,8,["src"])):m("",!0)])])]),_:2},1032,["to","class"]))),128))])):m("",!0),We])):m("",!0)]),e(ie)?(s(),a("div",He,"Error")):m("",!0),l("div",Ue,[l("div",null,[e(K)?(s(),f(i,{key:0,class:"w-24 h-20 inset-x-1/3 desktop:inset-x-2/4 absolute bottom-6",src:"/images/loading.gif",alt:"loading"})):m("",!0)])])])}}});
1export{at as default};

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.