1import{s as L}from"./D-Rt02ji.js";import{s as M}from"./DUpiVuPC.js";import b from"./D9o19SyG.js";import{_ as B,J as D,x as N,e as _,G as T,r as V,B as z,K as C,f as I,c as r,h as t,a as n,b as m,t as u,F as $,D as A,i as E,k as F,M as H,o as a,j as S,w as j,d as G,E as J,A as K}from"./DAqtiSCo.js";import"./Bz-QRu89.js";/* empty css */const R={key:0,style:{margin:"1rem"}},q={class:"tenant-card"},O={style:{"flex-grow":"1"}},P={style:{}},Q={class:"level-icon"},U={style:{margin:"1rem 0","font-size":"0.9rem","line-height":"1.2rem",color:"var(--van-text-color)"}},W={key:0},X=["innerHTML"],Y={key:1,style:{"text-align":"center",margin:"1rem"}},Z={__name:"[shop]",setup(ee){const p=D(),o=F(),{member:te,getLike:g,setLike:v}=N(),e=_(()=>T(o.tenants,{id:p.params.shop})),l=V(p.params.shop),c=_(()=>g("tenants",l.value));function f(){c.value?v(!1,"tenants",l.value):v(!0,"tenants",l.value)}const h=_(()=>{var s;return z((s=o==null?void 0:o.mall)==null?void 0:s.categories,i=>J(K([...e.value.categories,e.value.category||{}],d=>d.externalID),i.externalID))});return C(()=>{o.showMap=!0}),I(()=>{var s;o.pageTitle=(s=e.value)==null?void 0:s.name}),(s,i)=>{const d=L,k=M,x=b,y=H;return a(),r("div",null,[t(e)?(a(),r("div",R,[n("div",q,[m(d,{width:"20vw",height:"20vw",fit:"contain",src:t(e).logo,class:"tenant-logo"},null,8,["src"]),n("div",O,[n("p",null,u(t(e).name),1),(a(!0),r($,null,A(t(h),w=>(a(),S(k,{size:"medium",plain:"",round:"",style:{"margin-right":"5px"}},{default:j(()=>[G(u(w.name),1)]),_:2},1024))),256)),i[0]||(i[0]=n("br",null,null,-1))]),m(x,{name:(t(c),"solar:heart-angle-line-duotone"),size:"30",color:t(c)?"var(--van-danger-color)":"#80808080",onClick:f},null,8,["name","color"]),n("div",P,[n("p",Q,u(t(e).level??"0"),1)])]),n("div",U,[t(e).description?(a(),r("div",W,[n("div",{innerHTML:s.$md.render(t(e).description)},null,8,X)])):E("",!0)])])):(a(),r("div",Y,[m(y,{type:"spinner"})]))])}}},le=B(Z,[["__scopeId","data-v-69d880e3"]]);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.