PageSourceSearch

https://www.marunouchi.com/_nuxt/categories.7073e944.js

js marunouchi.com collected 2026-10-01 09:10:15 UTC 2,067 bytes, 1 lines download raw bytes

1import{q as h,o as u,g as f,b as o,E as b,e as y}from"./entry.34a2e29a.js";import{c,g,$ as i}from"./apiBaseSettings.713eb0f0.js";const x={},w=o("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"12",height:"12",viewBox:"0 0 12 12"},[o("g",null,[o("circle",{cx:"6",cy:"6",r:"6",fill:"#252525"}),o("rect",{width:"1",height:"7",transform:"translate(8.121 3.172) rotate(45)",fill:"#fff"}),o("rect",{width:"1",height:"7",transform:"translate(8.828 8.121) rotate(135)",fill:"#fff"})])],-1),v=[w];function D(s,n){return u(),f("div",null,v)}const k=h(x,[["render",D]]),S={},$={class:"relative inline-flex min-w-[97px] rounded-[6px] border border-solid border-dark pb-6 pt-5",type:"button"},C={class:"pl-10 pr-20 text-xs/[1.5833333333] font-medium"};function B(s,n){const a=k;return u(),f("button",$,[o("span",C,[b(s.$slots,"default")]),y(a,{class:"absolute inset-y-0 right-5 m-auto h-12 w-12"})])}const j=h(S,[["render",B]]),A=async()=>{const s=c("/rcms-api/1/tenants/restaurants/categories"),n=c("/rcms-api/1/tenants/restaurants/categories/sub"),a={headers:{"Content-Type":"application/json","x-rcms-api-access-token":g()}},[l,d]=await Promise.all([i(s,a),i(n,a)]),r=l.list.map(t=>({id:t.category_id,label:t.category_name}));return d.list.map(t=>({id:t.category_id,label:t.category_name})).forEach(t=>{const p=t.id.split("_")[0],e=r.filter(_=>_.id===p)[0];e.child&&e.child.length>0?e.child.push(t):e.child=[t]}),{data:r}},N=async()=>{const s=c("/rcms-api/1/tenants/shopservices/categories"),n=c("/rcms-api/1/tenants/shopservices/categories/sub"),a={headers:{"Content-Type":"application/json","x-rcms-api-access-token":g()}},[l,d]=await Promise.all([i(s,a),i(n,a)]),r=l.list.map(t=>({id:t.category_id,label:t.category_name,type:t.type}));return d.list.map(t=>({id:t.category_id,label:t.category_name})).forEach(t=>{const p=t.id.split("_")[0],e=r.filter(_=>_.id===p)[0];e.child&&e.child.length>0?e.child.push(t):e.child=[t]}),{shop:r.filter(t=>t.type==="shop"),service:r.filter(t=>t.type==="service")}};export{j as _,N as a,A as g};

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.