PageSourceSearch

https://elk-zone.netlify.app/_nuxt/4_1hyuWm.js

js elk-zone.netlify.app collected 2026-10-03 10:42:19 UTC 2,745 bytes, 1 lines download raw bytes

1import{d as k,a as I,s as O,v as V,x as $,y as m,g as B,z as F,A as j,B as H,C as g,c as r,e as v,D as e,i as o,h as x,w as s,p as C,t as l,F as K,E as L,G as P,n as p,H as S,m as b,I as U,J as W,K as D,L as M,j as R,k as z,_ as G,q as J,M as Q}from"./DREHXjTd.js";import{_ as X}from"./CWI2W-Za.js";import"./FTxbCxnw.js";import"./Bq_sSO39.js";import"./BxIuzSuc.js";import"./DT0ENWEa.js";import"./DhvdbkJf.js";import"./BNMhYjt1.js";import"./Dhl8RJdc.js";import"./BkxkImH3.js";import"./Dy3eQG4e.js";import"./4jAdUL_M.js";import"./Bw0n4hiA.js";import"./YGirYfaB.js";import"./CB5mdFk9.js";import"./GctFFk09.js";import"./8R9WQNKl.js";import"./Crde6C7V.js";const Y={flex:"~ col","pb-6":""},Z={"inline-flex":"","justify-end":"","h-8":""},tt={"btn-text":"",flex:"inline center"},et={flex:"~ col"},ot={flex:"~ gap-1","items-center":""},nt={key:0,"text-secondary":"","text-sm":""},st={"text-secondary":""},at=k({__name:"PublishWidgetFull.client",setup(T){const c=I(),{formatNumber:u}=O(),y=V(),n=W("home"),_=D(()=>Object.keys(m.value)),a=D(()=>_.value.filter(t=>t!==n.value&&!M(m.value[t])).map(t=>[t,m.value[t]]));$(()=>{const t=c.query.quote?.toString();if(t)n.value="quote",m.value[n.value]=[B({quotedStatusId:t})];else{const i=c.query.draft?.toString()||"home";F(i)&&(n.value=i)}}),j(()=>{H()});function d(t){return Array.isArray(t)?t[0]:t}return(t,i)=>{const w=g("i18n-t"),q=P,N=g("VDropdown"),A=X;return r(),v("div",Y,[e("div",Z,[o(a).length?(r(),x(N,{key:0,placement:"bottom-end"},{popper:s(({hide:E})=>[e("div",et,[(r(!0),v(K,null,L(o(a),([f,h])=>(r(),x(q,{key:f,border:"b base","text-left":"",py2:"",px4:"","hover:bg-active":"",replace:!0,to:`/compose?draft=${encodeURIComponent(f)}`,onClick:lt=>E()},{default:s(()=>[e("div",null,[e("div",ot,[p(w,{keypath:"compose.draft_title"},{default:s(()=>[e("code",null,l(f),1)]),_:2},1024),d(h).lastUpdated?(r(),v("span",nt," · "+l(o(S)(new Date(d(h).lastUpdated),o(y))),1)):b("",!0)]),e("div",st,l(("htmlToText"in t?t.htmlToText:o(U))(d(h).params.status).slice(0,50)),1)])]),_:2},1032,["to","onClick"]))),128))])]),default:s(()=>[e("button",tt,[C(l(t.$t("compose.drafts",o(a).length,{named:{v:o(u)(o(a).length)}}))+"  ",1),i[0]||(i[0]=e("div",{"aria-hidden":"true","i-ri:arrow-down-s-line":""},null,-1))])]),_:1})):b("",!0)]),e("div",null,[p(A,{expanded:"",class:"min-h-100!","draft
1-key":o(n)},null,8,["draft-key"])])])}}}),rt=Object.assign(at,{__name:"PublishWidgetFull"}),it=Q(rt),qt=k({__name:"compose",setup(T){const{t:c}=R();return z({title:()=>c("nav.compose")}),(u,y)=>{const n=G,_=it,a=J;return r(),x(a,null,{title:s(()=>[p(n,{as:"router-link",to:"/compose",icon:"i-ri:quill-pen-line"},{default:s(()=>[C(l(u.$t("nav.compose")),1)]),_:1})]),default:s(()=>[p(_)]),_:1})}}});export{qt 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.