PageSourceSearch

https://kanibakery.com/_nuxt/cetEGxEt.js

js kanibakery.com collected 2026-10-04 20:51:40 UTC 2,813 bytes, 1 lines download raw bytes

1import{_ as c}from"./Dg1GEVzN.js";import{h as C,W as x,l as w,L as y,c as f,o as b,a as u,b as o,z as B,s as v,e as V,w as l,d as n,u as e,n as r,a3 as _,r as T,j as L}from"./FhM2iRkc.js";import{u as N}from"./CBlaTeS-.js";import{B as S,T as $}from"./DTCOK6l1.js";import"./BTPGjU-x.js";import"./DlAUqK2U.js";const O={class:"layout-root"},j={class:"w-full",style:{"background-color":"var(--brand-red)",color:"var(--brand-beige)"}},z={class:"header-container justify-between"},W={key:0,class:"hidden sm:flex items-center gap-6 text-sm"},D={key:0,class:"sm:hidden flex flex-col text-sm border-t border-brand-beige/20"},E={class:"flex-1"},G=C({__name:"customer",setup(K){const s=x(),{authed:m,logout:k}=N(),i=w(!1);y(()=>s.path,()=>{i.value=!1});async function p(){await k(),await L("/b2b")}return(g,t)=>{const a=c;return b(),f("div",O,[u("header",j,[u("div",z,[o(a,{to:"/b2b",class:"font-medium"},{default:l(()=>[...t[5]||(t[5]=[n("Kani Wholesale",-1)])]),_:1}),e(m)?(b(),f("nav",W,[o(a,{to:"/b2b",class:r(["nav-link",{"font-medium":e(s).path==="/b2b"}])},{default:l(()=>[...t[6]||(t[6]=[n("Orders",-1)])]),_:1},8,["class"]),o(a,{to:"/b2b/standing-order",class:r(["nav-link",{"font-medium":e(s).path==="/b2b/standing-order"}])},{default:l(()=>[...t[7]||(t[7]=[n("Standing order",-1)])]),_:1},8,["class"]),o(a,{to:"/b2b/catalog",class:r(["nav-link",{"font-medium":e(s).path==="/b2b/catalog"}])},{default:l(()=>[...t[8]||(t[8]=[n("Catalog",-1)])]),_:1},8,["class"]),o(a,{to:"/b2b/totals",class:r(["nav-link",{"font-medium":e(s).path==="/b2b/totals"}])},{default:l(()=>[...t[9]||(t[9]=[n("Totals",-1)])]),_:1},8,["class"]),u("button",{class:"link-underline",onClick:p},"Logout")])):v("",!0),e(m)?(b(),V(S,{key:1,modelValue:i.value,"onUpdate:modelValue":t[0]||(t[0]=d=>i.value=d)},null,8,["modelValue"])):v("",!0)]),e(m)?B((b(),f("nav",D,[o(a,{to:"/b2b",class:r(["mobile-nav-link",{"font-medium":e(s).path==="/b2b"}]),onClick:t[1]||(t[1]=d=>i.value=!1)},{default:l(()=>[...t[10]||(t[10]=[n("Orders",-1)])]),_:1},8,["class"]),o(a,{to:"/b2b/standing-order",class:r(["mobile-nav-link",{"font-medium":e(s).path==="/b2b/standing-order"}]),onClick:t[2]||(t[2]=d=>i.value=!1)},{default:l(()=>[...t[11]||(t[11]=[n("Standing order",-1)])]),_:1},8,["class"]),o(a,{to:"/b2b/catalog",class:r(["mobile-nav-link",{"font-medium":e(s).path==="/b2b/catalog"}]),onClick:t[3]||(t[3]=d=>i.value=!1)},{default:l(()=>[...t[12]||(t[12]=[n("Catalog",-1)])]),_:1},8,["class"]),o(a,{to:"/b2b/totals",class:r(["mobile-nav-link",{"font-medium":e(s).path==="/b2b/totals"}]),onClick:t[4]||(t[4]=d=>i.value=!1)},{default:l(()=>[...t[13]||(t[13]=[n("Totals",-1)])]),_:1},8,["class"]),u("button",{class:"mobile-nav-link text-left",onClick:p},"Logout")],512)),[[_,i.value]]):v("",!0)]),u("main",E,[T(g.$slots,"default")]),o($)])}}});
1export{G 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.