PageSourceSearch

https://www.wowple.com/_nuxt/CvVAoUhZ.js

js wowple.com collected 2026-10-02 00:36:36 UTC 5,662 bytes, 1 lines download raw bytes

1import{_ as S}from"./C7GBMLUb.js";import{_ as N}from"./D1Pm6yEE.js";import{u as j}from"./CppQZRHO.js";import{P as y}from"./DnAtPYPG.js";import{u as R}from"./BdHRgecS.js";import{f as T,h as F,j as V,v as M,k as D,J as W,l as r,o as n,c as s,d as z,w as a,a as e,S as E,A as d,F as H,m as I,p as O,D as g}from"./B7lTcWLE.js";import"./C0zBP92y.js";import"./BTac8wpf.js";import"./BfTd0heG.js";import"./CWSkLNqi.js";import"./D85vAAFp.js";import"./i8AIuk5g.js";import"./BtObEGmf.js";import"./BExbgeKM.js";import"./CH9LAPB_.js";import"./DbQl3CPb.js";import"./bStoDDKZ.js";import"./BP4CpMmV.js";const U={key:1,style:{width:"64px"}},q={class:"flex flex-col min-h-dvh",style:{background:"#F6F7F9","padding-bottom":"32px"}},J={key:0,class:"flex flex-1 flex-col items-center px-8 pt-16 pb-32 text-center"},K=["onClick"],L={class:"overflow-hidden rounded-xl bg-white border border-gray-100"},Q={class:"flex items-center justify-between px-4 py-3.5 border-b border-gray-100"},G={key:0,class:"px-4 py-6"},X=["onClick"],ge=T({__name:"recent",setup(Y){R({title:"최근 본 공간",noindex:!0});const h=F(),{goBack:b,markAsSubWebView:f,clearSubWebViewFlag:v}=O(),{isWowpleApp:w}=V(),{confirm:k}=M(),p=g(()=>h.query.subwebview==="1");D(()=>{p.value&&f()}),W(()=>{p.value&&v()});const{items:l,removeItem:_,clearAll:C}=j();function u(o,t){t.stopPropagation(),_(o.type,o.id,o.placeCd)}async function m(){if(l.value.length===0)return;await k("최근 본 공간을 모두 삭제하시겠습니까?",{type:"warning",title:"전체 삭제",confirmText:"삭제",cancelText:"취소"})&&C()}function B(o){const t=o.type==="branch";return{sourceType:t?"BRANCH":"STORE",placeId:o.id,placeCd:o.placeCd??null,spaceNm:o.name,thumbnailUrl:o.thumbnail||"",rootCategoryCd:null,categoryNm:t?"공간":"스터디카페",subCategoryNm:null,sido:null,district:o.address||"",paymentMethod:null,paymentMethods:null,minPrice:o.minPrice??0,maxCapacity:0,sameDayAvailable:!1,avgScore:0,reviewCnt:0,distanceKm:0,lat:null,lng:null,goodsPrice:t?o.minPrice??0:0,priceType:t?o.priceType??null:null,officeDiv:null,favoriteCnt:0,paymentMethodNm:null,tags:null,seatTotCnt:0,seatRemainCnt:0,studyRoomTotCnt:0,supportStudyRoom:0}}const x=g(()=>l.value.map(B));return(o,t)=>{const A=S,P=N;return r(w)?(n(),s(H,{key:0},[z(A,{title:"최근 본 공간","back-fn":r(b)},{right:a(()=>[r(l).length>0?(n(),s("button",{key:0,type:"button",class:"flex items-center justify-center text-[13px] text-gray-500 active:opacity-60",style:{width:"64px",height:"44px"},onClick:m},"전체 삭제")):(n(),s("div",U))]),_:1},8,["back-fn"]),e("div",q,[r(l).length===0?(n(),s("div",J,[...t[0]||(t[0]=[E('<div class="mb-5 grid h-20 w-20 place-items-center rounded-full bg-amber-50"><svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="text-amber-400" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg></div><p class="text-[15px] font-semibold text-gray-800">최근 본 공간이 없어요</p><p class="mt-2 text-[13px] leading-relaxed text-gray-400">가맹점이나 지점을 둘러보면<br>여기에 자동으로 저장됩니다.</p>',3)])])):(n(),d(y,{key:1,places:r(x),"hide-favorite":"",class:"max-w-[640px] mx-auto w-full"},{overlay:a(({index:i})=>[e("button",{class:"absolute top-2 right-2 z-[3] flex h-6 w-6 items-center justify-center rounded-full bg-white/90 text-gray-400 shadow-sm ring-1 ring-black/5 transition-colors hover:bg-gray-100 hover:text-gray-700","aria-label":"삭제",onClick:c=>u(r(l)[i],c)},[...t[1]||(t[1]=[e("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"},[e("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])],8,K)]),_:1},8,["places"]))])],64)):(n(),d(P,{key:1},{default:a(()=>[e("div",L,[e("div",Q,[t[2]||(t[2]=e("h1",{class:"text-[18px] font-bold text-gray-900"},"최근 본 공간",-1)),r(l).length>0?(n(),s("button",{key:0,type:"button",class:"text-[13px] text-gray-500 hover:text-gray-800 transition-colors",onClick:m},"전체 삭제")):I("",!0)]),r(l).length===0?(n(),s("div",G,[...t[3]||(t[3]=[e("div",{class:"rounded-xl border border-dashed border-gray-200 bg-gray-50 p-12 text-center"},[e("div",{class:"mx-auto mb-3 flex h-14 w-14 items-center justify-center rounded-2xl bg-amber-50"},[e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",class:"text-amber-400","aria-hidden":"true"},[e("circle",{cx:"12",cy:"12",r:"10"}),e("polyline",{points:"12 6 12 12 16 14"})])]),e("p",{class:"text-[14px] font-semibold text-gray-700"},"최근 본 공간이 없어요"),e("p",{class:"mt-1 text-[12px] text-gray-400"},"가맹점이나 지점을 둘러보면 여기에 자동으로 저장됩니다.")],-1)])])):(n(),d(y,{key:1,places:r(x
1),cols:3,"hide-favorite":""},{overlay:a(({index:i})=>[e("button",{class:"absolute top-2 right-2 z-[3] flex h-6 w-6 items-center justify-center rounded-full bg-white/90 text-gray-400 shadow-sm ring-1 ring-black/5 transition-colors hover:bg-gray-100 hover:text-gray-700","aria-label":"삭제",onClick:c=>u(r(l)[i],c)},[...t[4]||(t[4]=[e("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"},[e("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])],8,X)]),_:1},8,["places"]))])]),_:1}))}}});export{ge 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.