PageSourceSearch

https://hoto.moe/vite/2025.4.1-hotomoe.2-b39024ae82.DNgic2A7.js

js hoto.moe collected 2026-09-25 22:09:55 UTC 4,453 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["2025.4.1-hotomoe.2-b39024ae82.Cghye5-G.js","2025.4.1-hotomoe.2-b39024ae82.Ddo17IAu.js","2025.4.1-hotomoe.2-b39024ae82.Be_cDUBB.js","2025.4.1-hotomoe.2-b39024ae82.CjOODHuR.js","2025.4.1-hotomoe.2-b39024ae82.DOg8h1BU.css","2025.4.1-hotomoe.2-b39024ae82.CG7LkrB_.css"])))=>i.map(i=>d[i]);
2import{c as v,a9 as B,ak as N,n as p,i as l,M as y,Y as h,h as x,C as D,bC as R,_ as $}from"./2025.4.1-hotomoe.2-b39024ae82.Ddo17IAu.js";import{_ as H}from"./2025.4.1-hotomoe.2-b39024ae82.CG2rUFoQ.js";import{F as E}from"./2025.4.1-hotomoe.2-b39024ae82.6GKKt8_-.js";import{M as F}from"./2025.4.1-hotomoe.2-b39024ae82.q_blitvJ.js";import{M as T}from"./2025.4.1-hotomoe.2-b39024ae82.I90SiINi.js";import{b as z,a as L,c as P,z as k,g as C,h as A,j as n,s as o,C as i,q as a,l as U,i as c,A as r,B as X,N as u,Y as j,d as O}from"./2025.4.1-hotomoe.2-b39024ae82.Be_cDUBB.js";import"./2025.4.1-hotomoe.2-b39024ae82.CjOODHuR.js";import"./2025.4.1-hotomoe.2-b39024ae82.Cxs-ZWKn.js";const Q={class:"_gaps_m"},W=["onClick"],Y={class:"_buttons"},q={value:"sideFull"},G={value:"sideIcon"},K=z({__name:"navbar",setup(le){const S=O(()=>x(()=>import("./2025.4.1-hotomoe.2-b39024ae82.Cghye5-G.js").then(t=>t.v),__vite__mapDeps([0,1,2,3,4,5])).then(t=>t.default)),m=L(v.s.menu.map(t=>({id:Math.random().toString(),type:t}))),_=P(B.makeGetterSetter("menuDisplay")),f=v.model("showNavbarSubButtons");async function M(){const t=Object.keys(p).filter(d=>!v.s.menu.includes(d)),{canceled:e,result:b}=await D({title:l.ts.addItem,items:[...t.map(d=>({value:d,text:p[d].title})),{value:"-",text:l.ts.divider}]});e||(m.value=[...m.value,{id:Math.random().toString(),type:b}])}function V(t){m.value.splice(t,1)}async function w(){v.commit("menu",m.value.map(t=>t.type))}function I(){m.value=R.menu.default.map(t=>({id:Math.random().toString(),type:t}))}return N(()=>({title:l.ts.navbar,icon:"ti ti-list"})),(t,e)=>{const b=k("SearchLabel"),d=k("SearchMarker");return C(),A(d,{path:"/settings/navbar",label:a(l).ts.navbar,icon:"ti ti-list",keywords:["navbar","menu","sidebar"],markerId:"9bNikHWzQ","data-in-app-search-marker-id":"9bNikHWzQ",children:["t6XtfnRm9"]},{default:n(()=>[o("div",Q,[i(E,null,{label:n(()=>[u(r(a(l).ts.navbar),1)]),default:n(()=>[i(F,{showHeader:!1},{default:n(()=>[i(a(S),{modelValue:m.value,"onUpdate:modelValue":e[0]||(e[0]=s=>m.value=s),itemKey:"id",animation:150,handle:"."+t.$style.itemHandle,onStart:e[1]||(e[1]=s=>s.item.classList.add("active")),onEnd:e[2]||(e[2]=s=>s.item.classList.remove("active"))},{item:n(({element:s,index:g})=>[s.type==="-"||a(p)[s.type]?(C(),U("div",{key:0,class:c(t.$style.item)},[o("button",{class:c(["_button",t.$style.itemHandle])},[...e[5]||(e[5]=[o("i",{class:"ti ti-menu"},null,-1)])],2),o("i",{class:c(["ti-fw",[t.$style.itemIcon,a(p)[s.type]?.icon]])},null,2),o("span",{class:c(t.$style.itemText)},r(a(p)[s.type]?.title??a(l).ts.divider),3),o("button",{class:c(["_button",t.$style.itemRemove]),onClick:oe=>V(g)},[...e[6]||(e[6]=[o("i",{class:"ti ti-x"},null,-1)])],10,W)],2)):X("",!0)]),_:1},8,["modelValue","handle"])]),_:1})]),_:1}),o("div",Y,[i(y,{onClick:M},{default:n(()=>[e[7]||(e[7]=o("i",{class:"ti ti-plus"},null,-1)),u(" "+r(a(l).ts.addItem),1)]),_:1}),i(y,{danger:"",onClick:I},{default:n(()=>[e[8]||(e[8]=o("i",{class:"ti ti-reload"},null,-1)),u(" "+r(a(l).ts.default),1)]),_:1}),i(y,{primary:"",class:"save",onClick:w},{default:n(()=>[e[9]||(e[9]=o("i",{class:"ti ti-device-floppy"},null,-1)),u(" "+r(a(l).ts.save),1)]),_:1})]),i(H,{modelValue:_.value,"onUpdate:modelValue":e[3]||(e[3]=s=>_.value=s)},{label:n(()=>[u(r(a(l).ts.display),1)]),default:n(()=>[o("option",q,r(a(l).ts._menuDisplay.sideFull),1),o("option",G,r(a(l).ts._menuDisplay.sideIcon),1)]),_:1},8,["modelValue"]),i(d,{keywords:["navbar","sidebar","toggle","button","sub"],markerId:"t6XtfnRm9","data-in-app-search-marker-id":"t6XtfnRm9"},{default:n(()=>[i(T,{k:"showNavbarSubButtons"},{default:n(()=>[i(h,{modelValue:a(f),"onUpdate:modelValue":e[4]||(e[4]=s=>j(f)?f.value=s:null)},{label:n(()=>[i(b,null,{default:n(()=>[u(r(a(l).ts._settings.showNavbarSubButtons),1)]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})])]),_:1},8,["label"])}}}),J="xDDzw",Z="xBCm5",ee="xrRwM",te="xBa1A",ae="xmTVo",se={item:J,itemIcon:Z,itemText:ee,itemRemove:te,itemHandle:ae},ne={$style:se},fe=$(K,[["__cssModules",ne]]);export{fe as default};
3//# sourceMappingURL=2025.4.1-hotomoe.2-b39024ae82.DNgic2A7.js.map

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.