PageSourceSearch

https://propro-clean.tw/assets/NavigationLayout.e14ea643.js

js propro-clean.tw collected 2026-10-07 08:14:01 UTC 6,253 bytes, 1 lines download raw bytes

1var e=Object.defineProperty,t=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,n=(t,a,s)=>a in t?e(t,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[a]=s,i=(e,i)=>{for(var o in i||(i={}))a.call(i,o)&&n(e,o,i[o]);if(t)for(var o of t(i))s.call(i,o)&&n(e,o,i[o]);return e};"undefined"!=typeof require&&require;import{_ as o}from"./LoginDialog.22cad41d.js";import{_ as l}from"./CheckoutButton.44f2faf0.js";import{u as r,o as d,e as c,s as p,I as u,x as f,W as g,p as m,b as h,r as v,n as b,f as y,F as k,i as w,g as _,G as L,h as x,j,v as I,w as C,c as B,X as P,ap as S,ar as F,as as T,ak as A}from"./vendor.ddbd020e.js";import{e as D,D as O,u as N,V as $}from"./index.441c06ad.js";import{u as E}from"./whatsapp.f5e6cd35.js";import W from"./DefaultNavigation.3a9d3c91.js";import z from"./DefaultNavigationFooter.8ad3f0be.js";import"./vee-validate.esm.ac6fd158.js";import"./Spinner.1ec0cc94.js";import"./headlessui.esm.12a303ec.js";import"./CheckIcon.cd602837.js";import"./SideNavigationDisclosure.1fbba026.js";import"./ChevronUpIcon.8bf05be2.js";import"./TopNavigation.a59b125c.js";const q={setup(e){const t=r(),a=()=>{t.push("/member")};return(e,t)=>(d(),c("button",{class:"service-btn",style:{"line-height":"18px"},onClick:a}," 歷史訂單 "))},__scopeId:"data-v-42ef2ed3"};const R={components:{OrderListButton:q,CheckoutButton:l},props:{pageId:{type:String,default:""},lineId:{type:String,default:""},phone:{type:String,default:""},loginFirst:{type:Boolean,default:!1},showFloatingAddToCartBtn:{type:Boolean,default:!1}},setup(e){const t=p({hidden:!0}),a=u(),s=(e,t)=>{const a=e.toFixed(),s=()=>{window.pageYOffset.toFixed()===a&&(window.removeEventListener("scroll",s),t())};window.addEventListener("scroll",s),s(),window.scrollTo({top:e,behavior:"smooth"})},{isWhatsAppLink:n}=E(e.lineId);return{state:t,startBuy:()=>{const e=document.getElementById("header_nav").offsetHeight,t=document.getElementById("add-to-cart");s(t.offsetTop-e,(()=>{t.classList.add("animate-shake"),setTimeout((()=>t.classList.remove("animate-shake")),800)}))},isWhatsAppLink:n,isProductPage:f((()=>{const{showAddToCartButton:e=!1}=a.meta;return e}))}},computed:i({getLineLink(){var e;return(null==(e=this.lineId)?void 0:e.startsWith("http"))?this.lineId:`https://line.me/R/ti/p/${this.lineId}`}}
1,g(D,["isLoggedIn"]))};m("data-v-5c36cf47");const V={class:"fixed-cs"},G=["href"],H=[w("img",{src:"/assets/fb.7e6c9897.svg",width:"100",alt:""},null,-1)],U=["href"],X=[w("img",{class:"pt-[1px]",src:"/assets/whatsapp.8d5a1b6c.svg",width:"100",alt:""},null,-1)],Y=["href"],J=[w("img",{src:"/assets/line.fb18cedc.svg",width:"100",alt:""},null,-1)],K=["href"],M=[w("img",{src:"/assets/phone.c44af24c.svg",width:"100",alt:""},null,-1)],Q=[w("img",{src:"/assets/customercare.11bfc51f.svg",width:"100",alt:"客服"},null,-1)],Z=[w("img",{src:"/assets/add-to-cart.3f598154.svg",width:"100",alt:"選購"},null,-1)];h(),R.render=function(e,t,a,s,n,i){const o=v("CheckoutButton");return d(),c("div",V,[a.pageId?(d(),c("a",{key:0,target:"_blank",href:`https://m.me/${a.pageId}`,class:b(["inline-block service-btn fb p-0",{hidden:s.state.hidden}])},H,10,G)):y("",!0),a.lineId?(d(),c(k,{key:1},[s.isWhatsAppLink?(d(),c("a",{key:0,target:"_blank",href:i.getLineLink,class:b(["inline-block service-btn line p-0 line-service-button",{hidden:s.state.hidden}])},X,10,U)):(d(),c("a",{key:1,target:"_blank",href:i.getLineLink,class:b(["inline-block service-btn line p-0 line-service-button",{hidden:s.state.hidden}])},J,10,Y))],64)):y("",!0),a.phone?(d(),c("a",{key:2,target:"_self",href:`tel:${a.phone}`,class:b(["inline-block service-btn phone p-0",{hidden:s.state.hidden}])},M,10,K)):y("",!0),w("button",{class:"service-btn p-0",onClick:t[0]||(t[0]=e=>s.state.hidden=!s.state.hidden)},Q),s.isProductPage?(d(),c("a",{key:3,target:"_self",class:b(["inline-block service-btn phone p-0",{"hidden xl:inline-block":a.showFloatingAddToCartBtn}]),style:{"font-size":"10px"},onClick:t[1]||(t[1]=(...e)=>s.startBuy&&s.startBuy(...e))},Z,2)):y("",!0),_(o,{class:b({"hidden xl:inline-block":s.isProductPage&&a.showFloatingAddToCartBtn}),"fb-id":a.pageId,telephone:a.phone,"login-first":a.loginFirst},null,8,["class","fb-id","telephone","login-first"])])},R.__scopeId="data-v-5c36cf47";const ee={};m("data-v-14262926");const te={class:"flex flex-col h-screen items-center justify-center animate-pulse"},ae=[w("div",{class:"text"},[w("div",{class:"progress_bar animate-running-progress"}),L(" Loading... ")],-1)];h(),ee.render=function(e,t){return d(),c("div",te,ae)},ee.__scopeId="data-v-14262926";const se={components:{SimpleProductLoading:O}},ne={class:"grid grid-cols-1 xl:grid-cols-3 gap-4"};se.render=function(e,t,a,s,n,i){const o=v("SimpleProductLoading");return d(),c("div",ne,[(d(),c(k,null,x(6,(e=>_(o,{key:`mask-${e}`}))),64))])};const ie={name:"NavigationLayout",components:{Footer:z,Navigation:W,LoginDialog:o,ServiceButton:R,DefaultLoading:ee,CategoryLoading:se},inheritAttrs:!1,computed:i(i({},g(N,{companyConfig:e=>e.config})),g($,{isLoading:e=>e.getStatus,loadType:e=>e.getLoadType}))};m("data-v-ece083b8");const oe={class:"flex flex-col min-h-screen justify-between"},le={class:"mx-auto max-w-8xl xl:px-8"},re={class:"mx-auto max-w-8xl xl:px-8"};h(),ie.render=function(e,t,a,s,n,i){const o=v("Navigation"),l=v("RouterView"),r=v("Footer"),p=v("LoginDialog"),u=v("ServiceButton");return d(),c(k,null,[w("div",oe,[_(o,{class:"w-full relative z-10"}),w("main",null,[j(w("div",le,[_(l,{key:e.$route.fullPath},{default:C((({Component:t})=>[(d(),B(A,null,{default:C((()=>[_(S,{mode:"in-out"},{default:C((()=>[(d(),B(P(t),F(T(e.$attrs)),null,16))])),_:2},1024)])),_:2},1024))])),_:1})],512),[[I,!e.isLoading]]),w("div",re,[e.isLoading?(d(),B(P(`${e.loadType}-loading`),{key:0,class:"w-full"})):y("",!0)])]),_(r)]),_(p,{class:"relative z-20"}),_(u,{"page-id":e.companyConfig.facebook_fan_page_id,"line-id":e.companyConfig.line_id,phone:e.companyConfig.company_phone,"login-first":"true"===String(e.companyConfig.member_system),"show-floating-add-to-cart-btn":e.companyConfig.floating_add_to_cart},null,8,["page-id","line-id","phone","login-first","show-floating-add-to-cart-btn"])],64)},ie.__scopeId="data-v-ece083b8";export{ie 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.