1import{e as g,r as i,o as h,f as e,j as a,t as u,F as m,l as _,G as f,g as t}from"./index-CMDJIBf3.js";const p={class:"min-h-screen bg-white"},v={key:0,class:"flex items-center justify-center py-20 mt-20"},y={class:"text-center"},x={class:"text-gray-400 text-sm"},F={key:1,class:"container mx-auto px-3 py-4 mt-8"},k={class:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6 md:gap8"},S=["href"],w=["src","alt"],B="/Staticimage/Flashsales/FSBanner.png",j=g({__name:"FlashSalesPage",setup(b){const l=i(!0),o=i([]),d=async()=>{l.value=!0;try{const s=await f();s.success&&s.data&&(o.value=s.data)}catch(s){console.error("Failed to load flash sales:",s)}finally{l.value=!1}};return h(()=>{d()}),(s,n)=>(t(),e("div",p,[a("div",{class:"container mx-auto"},[a("img",{src:B,alt:"Flash Sales Banner",class:"w-full mt-3"})]),l.value?(t(),e("div",v,[a("div",y,[n[0]||(n[0]=a("i",{class:"fas fa-spinner fa-spin text-3xl text-orange-500 mb-3"},null,-1)),a("p",x,u(s.$t("common.loading")),1)])])):(t(),e("div",F,[a("div",k,[(t(!0),e(m,null,_(o.value,(r,c)=>(t(),e("a",{key:c,href:r.LinkUrl,target:"_blank",class:"block overflow-hidden rounded-lg hover:shadow-lg transition-shadow cursor-pointer"},[a("img",{src:r.ImageUrl,alt:"Flash Sale "+(c+1),class:"w-full h-auto"},null,8,w)],8,S))),128))])]))]))}});export{j 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.