PageSourceSearch

https://wuer.com.tw/_nuxt/default.1f952d1e.js

js wuer.com.tw collected 2026-10-07 22:05:17 UTC 2,475 bytes, 1 lines download raw bytes

1import{_ as V}from"./TheHeader.vue.8e6b4ba7.js";import{_ as A,a as D}from"./TheFooter.be129985.js";import{a as b,h as G,u as O,i as W,k as z,b as B}from"./entry.f65309ab.js";import{x as S,j as h,u as e,V as o,F as a,N as i,M as r,a as _,y as M,p as j,w as y,X as m,H as x,W as F,O as H}from"./swiper-vue.09ba990b.js";import{u as U}from"./stores.0c61a088.js";import{u as X}from"./product.08cdf2da.js";import"./info.31fd11a6.js";import"./debounce.632d504e.js";const Y={key:0,class:"fixed top-0 left-0 w-full h-full z-[999] flex items-center justify-center bg-opacity-20 bg-black"},q=S({__name:"VLoading",setup($){const n=b(),s=h(()=>n.isLoading);return(g,c)=>e(s)?(o(),a("div",Y,[...c[0]||(c[0]=[i("div",{class:"loader"},[i("span",{class:"loader-text"},"loading"),i("span",{class:"load"})],-1)])])):r("",!0)}});const J=G(q,[["__scopeId","data-v-97122155"]]),K={key:0,class:"hidden left-background lg:block"},Q={key:1,class:"hidden middle-background lg:block"},Z={key:2,class:"hidden right-background lg:block"},ee={key:3,class:"relative"},le=S({__name:"default",setup($){const{$api:n}=O(),s=b(),g=W(),c=z(),L=U(),E=X(),t=B(),R=h(()=>s.isDisableScroll),l=h(()=>s.showLink),p=_(/\/cart/.test(t.path)),v=_(/^\/about-us\/news(\/\d+$)(?:\/|$)/.test(t.path)),d=_(0),T=async()=>{const[f,k,u]=await Promise.all([n.API_GET_REGION(),n.API_GET_STORE(),n.API_GET_PRODUCT_CATEGORY()]);s.region=f.data,L.stores=k.data.items,u&&(E.categories=u.data.categories)},w=_(!/^\/$|^\/about-us\/story/.test(t.path)),C=()=>{p.value=/\/cart/.test(t.path),v.value=/^\/about-us\/news(\/\d+$)(?:\/|$)/.test(t.path),w.value=!/^\/$|^\/about-us\/story/.test(t.path)};return M(async()=>{await T(),await c.checkCart(),g.checkLogin(),s.showLink=!0,d.value=window.innerWidth,window.addEventListener("resize",()=>{d.value=window.innerWidth})}),j(()=>{window.removeEventListener("resize",()=>{d.value=window.innerWidth})}),y(()=>t.path,C,{immediate:!0}),y(()=>t.fullPath,()=>{s.isDisableScroll=!1}),(f,k)=>{const u=V,I=A,N=D,P=J;return o(),a(H,null,[i("div",{class:x(["relative flex flex-col min-h-screen tracking-normal font-notosans",[e(R)?"overflow-hidden":""]])},[e(l)?r("",!0):(o(),a("div",K)),e(l)?r("",!0):(o(),a("div",Q)),e(l)?r("",!0):(o(),a("div",Z)),m(u),i("div",{class:x(["flex-1",[e(w)?"mt-12 md:mt-14 xl:mt-19":"",e(l)?"":"flex items-center justify-center"]])},[F(f.$slots,"default"),m(I)],2),(!e(p)||e(p)&&e(d)>=1024)&&!e(v)?(o(),a("div",ee,[m(N)])):r("",!0)],2),m(P)],64)}}});export{le 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.