PageSourceSearch

https://tokrepo.com/_nuxt/BWt12f7z.js

js tokrepo.com collected 2026-10-08 06:30:06 UTC 23,346 bytes, 1 lines download raw bytes

1import{n as e}from"./8BhlS34s.js";import{Bt as t,D as n,Ht as r,O as i,ct as a,dt as o,ut as s}from"./9qnYShF4.js";import{F as c,R as l,m as u}from"./DKV5qF7X.js";import{C as d,N as f,d as p,m,o as h,s as g,w as _,y as v}from"./79WQz65p.js";import{D as y,F as b,G as x,M as S,Q as C,R as w,S as T,T as ee,V as E,W as te,b as D,d as O,f as k,h as A,i as j,m as M,nt as ne,p as N,s as P,tt as F,y as I}from"./CIVFx6jX.js";import{a as L,c as re,l as ie,n as ae,s as oe,t as se}from"./nBJLxbAH.js";import{n as R,r as ce}from"./oYA807U_.js";import{a as z,s as le}from"./DbBKTc6l.js";import{A as B,F as V,I as ue,L as H,M as U,N as de,O as W,P as G,j as fe,k as pe}from"./ChiJYRu0.js";function K(e,t){let n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function q(e={}){let{duration:t=2e3,throttle:n=200,hideDelay:i=500,resetDelay:a=400}=e,o=e.estimatedProgress||K,s=r(),c=_(0),l=_(!1),u=_(!1),f=!1,p,m,h,g,v=(e={})=>{S(),u.value=!1,y(0,e)};function y(e=0,t={}){if(s.isHydrating)return;if(e>=100)return x({force:t.force});S(),C(),c.value=e<0?0:e;let r=t.force?0:n;r?m=setTimeout(()=>{l.value=!0,w()},r):(l.value=!0,w())}function b(){h=setTimeout(()=>{l.value=!1,g=setTimeout(()=>{c.value=0},a)},i)}function x(e={}){c.value=100,f=!0,C(),S(),e.error&&(u.value=!0),e.force?(c.value=0,l.value=!1):b()}function S(){clearTimeout(h),clearTimeout(g)}function C(){clearTimeout(m),cancelAnimationFrame(p)}function w(){f=!1;let e;function n(r){if(f)return;e??=r;let i=r-e;c.value=Math.max(0,Math.min(100,o(t,i))),p=requestAnimationFrame(n)}p=requestAnimationFrame(n)}let T=()=>{};{let e=s.hook(`page:loading:start`,()=>{v()}),t=s.hook(`page:loading:end`,()=>{x()}),n=s.hook(`vue:error`,()=>x({error:!0}));T=()=>{n(),e(),t(),C(),S()}}return{_cleanup:T,progress:d(c),isLoading:d(l),error:d(u),start:v,set:y,finish:x,clear:C}}function J(e={}){let t=r(),n=t._loadingIndicator||=q(e);return h()&&(t._loadingIndicatorDeps||=0,t._loadingIndicatorDeps++,m(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}function Y(){return(Y=e((()=>{t(),g()})))()}var me;function X(){return(X=e((()=>{Y(),y(),me=T({name:`NuxtLoadingIndicator`,props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},hideDelay:{type:Number,default:500},resetDelay:{type:Number,default:400},height:{type:Number,default:3},color:{type:[String,Boolean],default:`repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)`},errorColor:{type:String,default:`repeating-linear-gradient(to right,#f87171 0%,#ef4444 100%)`},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:n}){let{progress:r,isLoading:i,error:a,start:o,finish:s,clear:c}=J({duration:e.duration,throttle:e.throttle,hideDelay:e.hideDelay,resetDelay:e.resetDelay,estimatedProgress:e.estimatedProgress});return n({progress:r,isLoading:i,error:a,start:o,finish:s,clear:c}),()=>ee(`div`,{class:`nuxt-loading-indicator`,style:{position:`fixed`,top:0,right:0,left:0,pointerEvents:`none`,width:`auto`,height:`${e.height}px`,opacity:+!!i.value,background:a.value?e.errorColor:e.color||void 0,backgroundSize:`${r.value>0?100/r.value*100:0}% auto`,transform:`scaleX(${r.value}%)`,transformOrigin:`left`,transition:`transform 0.1s, height 0.4s, opacity 0.4s`,zIndex:999999}},t)}})})))()}var Z,Q,he,ge,_e;function ve(){return(ve=e((()=>{y(),g(),u(),L(),Z={class:`text-xl`},Q={id:`confirm-dialog-title`,class:`text-lg font-bold ink mb-2`},he={id:`confirm-dialog-message`,class:`text-sm ink-2 leading-7 mb-6`},ge={class:`flex items-center justify-end gap-3`},_e=T({__name:`ConfirmModal`,props:{visible:{type:Boolean},title:{},message:{},confirmText:{},cancelText:{},variant:{},icon:{}},emits:[`confirm`,`cancel`],setup(e,{emit:t}){let n=e,r=t,i=O(()=>{switch(n.variant){case`danger`:return`bg-red-500 hover:bg-red-600`;case`warning`:return`bg-amber-500 hover:bg-amber-600`;default:return`bg-[var(--coral)] hover:bg-[var(--coral)]`}}),a=O(()=>{switch(n.variant){case`danger`:return`bg-red-50`;case`warning`:return`bg-amber-50`;default:return`bg-2`}}),o=v(),s=v(),u=null;function d(e){if(e.key!==`Tab`||!s.value)return;let t=s.value.querySelectorAll(`button, [href], input, select, textarea, [tabindex]:not
1([tabindex="-1"])`);if(t.length===0)return;let n=t[0],r=t[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),r.focus()):!e.shiftKey&&document.activeElement===r&&(e.preventDefault(),n.focus())}C(()=>n.visible,e=>{e?(u=document.activeElement,S(()=>o.value?.focus())):u&&=(u.focus(),null)});function p(){r(`confirm`)}function m(){r(`cancel`)}return(t,n)=>(E(),N(P,{to:`body`},[D(se,{name:`modal`},{default:F(()=>[e.visible?(E(),A(`div`,{key:0,class:`fixed inset-0 z-[9999] flex items-center justify-center p-4`,onClick:ie(m,[`self`]),onKeydown:[re(m,[`escape`]),d]},[n[0]||=k(`div`,{class:`absolute inset-0 bg-black/40 backdrop-blur-sm`},null,-1),k(`div`,{ref_key:`dialogRef`,ref:s,role:`dialog`,"aria-modal":`true`,"aria-labelledby":`confirm-dialog-title`,"aria-describedby":`confirm-dialog-message`,class:`relative w-full max-w-[420px] rounded-xl bg-white p-6 sm:p-8 shadow-2xl`,style:{border:`1px solid var(--line)`}},[e.icon?(E(),A(`div`,{key:0,class:c([`mb-4 flex h-12 w-12 items-center justify-center rounded-full`,f(a)])},[k(`span`,Z,l(e.icon),1)],2)):M(``,!0),k(`h3`,Q,l(e.title),1),k(`p`,he,l(e.message),1),k(`div`,ge,[k(`button`,{type:`button`,class:`rounded-full border bg-white px-5 py-2.5 text-sm font-semibold ink transition hover:bg-gray-50`,style:{"border-color":`var(--line)`},onClick:m},l(e.cancelText),1),k(`button`,{ref_key:`confirmBtnRef`,ref:o,type:`button`,class:c([`rounded-full px-5 py-2.5 text-sm font-semibold text-white transition shadow-sm`,f(i)]),onClick:p},l(e.confirmText),3)])],512)],32)):M(``,!0)]),_:1})]))}})})))()}var ye;function be(){return(be=e((()=>{ve(),V(),ye=Object.assign(G(_e,[[`__scopeId`,`data-v-15007b30`]]),{__name:`ConfirmModal`})})))()}var xe,Se,Ce,we,Te,Ee,De,Oe,$,ke,Ae,je,Me,Ne,Pe,Fe,Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt;function rt(){return(rt=e((()=>{X(),i(),H(),be(),R(),z(),a(),U(),B(),W(),g(),y(),u(),L(),xe={class:`min-h-screen flex flex-col`,style:{"background-color":`var(--color-warm-bg)`}},Se={class:`site-header sticky top-0 z-50 bg-white/80 backdrop-blur-xl shadow-[0_12px_40px_rgba(26,28,27,0.06)]`,style:{"border-bottom":`1px solid var(--line)`}},Ce={class:`max-w-[1440px] mx-auto px-4 sm:px-8 h-[64px] flex items-center justify-between gap-3`},we={class:`flex items-center gap-10 min-w-0`},Te={class:`hidden md:flex items-center gap-8`},Ee={class:`hidden sm:flex flex-1 max-w-[320px] mx-4`},De={class:`relative w-full`},Oe=[`placeholder`],$={class:`relative flex items-center gap-3 sm:gap-4 shrink-0`},ke={class:`text-sm font-semibold ink hidden lg:block`},Ae=[`aria-expanded`,`aria-label`],je={class:`w-5 h-5`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`},Me={key:0,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M4 6h16M4 12h16M4 18h16`},Ne={key:1,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M6 18L18 6M6 6l12 12`},Pe={key:0,class:`site-mobile-menu relative z-[60] md:hidden max-h-[calc(100vh-60px)] overflow-y-auto px-4 py-3 space-y-1`,style:{"border-top":`1px solid var(--line)`}},Fe={class:`flex-1 pb-16 sm:pb-0`},Ie={class:`site-bottom-bar sm:hidden fixed bottom-0 left-0 right-0 z-50 flex items-center justify-around h-14 shadow-[0_-1px_8px_rgba(0,0,0,0.08)]`,style:{"border-top":`1px solid var(--line)`}},Le={class:`fixed right-4 top-20 z-[90] flex w-[min(92vw,360px)] flex-col gap-3`},Re=[`aria-label`],ze={class:`site-shortcuts-panel w-full max-w-md rounded-2xl p-6 shadow-2xl`,style:{border:`1px solid var(--line)`}},Be={class:`flex items-start justify-between gap-4 mb-5`},Ve={class:`text-xl font-bold ink`},He={class:`text-sm ink-3 mt-1`},Ue=[`aria-label`],We={class:`space-y-3 text-sm`},Ge={class:`flex items-center justify-between gap-4`},Ke={class:`flex items-center justify-between gap-4`},qe={class:`flex items-center justify-between gap-4`},Je={class:`flex items-center justify-between gap-4`},Ye={class:`flex items-center justify-between gap-4`},Xe={class:`flex items-center justify-between gap-4`},Ze={class:`w-full py-12 mt-16 bg-[#f4f4f2]`,style:{"border-top":`1px solid var(--line)`}},Qe={class:`flex flex-col md:flex-row justify-between items-center px-6 sm:px-12 max-w-[1440px] mx-auto 
1space-y-6 md:space-y-0`},$e={class:`flex items-center gap-8`},et={class:`text-sm font-semibold uppercase tracking-wide`,style:{color:`var(--ink-3)`}},tt={class:`flex flex-wrap gap-6 sm:gap-10`},nt=T({__name:`default`,setup(e){let{locale:t}=ce(),r=le(),i=s(),a=o(),{user:u,isAuthenticated:d,login:m,logout:h,fetchUser:g,consumeLoginRedirect:_}=de(),{toasts:y}=fe(),{state:S,handleConfirm:T,handleCancel:ee}=pe(),N=v(``),P=()=>{let e=N.value.trim();e&&(a.push(r(`/search`)+`?q=`+encodeURIComponent(e)),N.value=``)},L=v(!1),R=v(!1),z=v(null),B=v(-1),V=v(!1),H=O(()=>i.path===`/`||i.path===`/en`);async function U(){if(d.value||await g(),!d.value)return;let e=_();e&&e!==i.fullPath&&await a.replace(e)}let W=async()=>{V.value=!1,L.value=!1,await h()},G=async()=>{L.value=!1,await m()};w(()=>{U(),document.addEventListener(`keydown`,Z),document.addEventListener(`click`,K)}),b(()=>{document.removeEventListener(`keydown`,Z),document.removeEventListener(`click`,K)});function K(e){e.target?.closest(`[data-user-menu]`)||(V.value=!1)}function q(){return typeof document>`u`?[]:Array.from(document.querySelectorAll(`a[data-asset-link]`))}function J(e){let t=q();for(let e of t)e.dataset.kbdActive=`false`;if(!t.length){B.value=-1;return}let n=(e%t.length+t.length)%t.length,r=t[n];B.value=n,r.dataset.kbdActive=`true`,r.focus({preventScroll:!0}),r.scrollIntoView({behavior:`smooth`,block:`nearest`})}function Y(){if(typeof document>`u`)return!1;let e=document.querySelector(`[data-search-input], input[type="search"], input[placeholder*="Search"], input[placeholder*="搜索"]`);return e?(e.focus(),!0):!1}async function X(e){if(R.value=!1,e===`home`){await a.push(r(`/`));return}if(e===`leaderboard`){await a.push(r(`/featured`));return}if(e===`upload`){await a.push(r(`/workflows/submit`));return}}function Z(e){let t=e.target,n=!!t&&(t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable);if(e.key===`Escape`){R.value=!1,z.value=null;return}if(!n){if((e.metaKey||e.ctrlKey)&&e.key.toLowerCase()===`k`){e.preventDefault(),R.value=!R.value;return}if(e.key===`?`){e.preventDefault(),R.value=!0;return}if(e.key===`/`){Y()&&e.preventDefault();return}if(z.value===`g`){e.key===`h`?(e.preventDefault(),a.push(r(`/`))):e.key===`e`?(e.preventDefault(),a.push(r(`/featured`))):e.key===`u`&&(e.preventDefault(),a.push(r(`/workflows/submit`))),z.value=null;return}if(e.key===`g`){z.value=`g`,window.setTimeout(()=>{z.value=null},800);return}if(e.key.toLowerCase()===`s`&&i.path.includes(`/workflows/`)){e.preventDefault(),window.dispatchEvent(new CustomEvent(`tokrepo:toggle-star`));return}if(e.key===`j`){if(!q().length)return;e.preventDefault(),J(B.value<0?0:B.value+1);return}if(e.key===`k`){let t=q();if(!t.length)return;e.preventDefault(),J(B.value<0?t.length-1:B.value-1);return}if(e.key.toLowerCase()===`o`||e.key===`Enter`){let t=q();if(!t.length||B.value<0)return;e.preventDefault(),t[B.value]?.click()}}}C(()=>i.path,()=>{L.value=!1,V.value=!1,z.value=null,B.value=-1});function Q(e){return e===`success`?`bg-emerald-600 text-white`:e===`error`?`bg-rose-600 text-white`:`bg-slate-900 text-white`}return(e,t)=>{let a=me,o=n,s=ue,h=ye;return E(),A(`div`,xe,[D(a,{color:`#E8654A`,height:3}),k(`header`,Se,[k(`nav`,Ce,[k(`div`,we,[D(o,{to:f(r)(`/`),class:`text-2xl font-bold tracking-tighter hover:no-underline`,style:{color:`var(--ink)`}},{default:F(()=>[...t[16]||=[I(` TokRepo `,-1)]]),_:1},8,[`to`]),k(`div`,Te,[D(o,{to:f(r)(`/`),class:c([`text-[15px] tracking-tight transition-colors hover:no-underline`,f(H)?`coral font-semibold`:`ink-2 font-medium hover:coral`])},{default:F(()=>[I(l(e.$t(`nav.home`)),1)]),_:1},8,[`to`,`class`]),D(o,{to:f(r)(`/trending`),class:c([`text-[15px] tracking-tight transition-colors hover:no-underline`,f(i).path.includes(`/trending`)||f(i).path.includes(`/featured`)?`coral font-semibold`:`ink-2 font-medium hover:coral`])},{default:F(()=>[I(l(e.$t(`nav.trending`)),1)]),_:1},8,[`to`,`class`]),D(o,{to:f(r)(`/guide`),class:c([`text-[15px] tracking-tight transition-colors hover:no-underline`,f(i).path.includes(`/guide`)?`coral font-semibold`:`ink-2 font-medium hover:coral`])},{default:F(()=>[I(l(e.$t(`nav.guides`)),1)]),_:1},8,[`to`,`class`]),D(o,{to:f(r)(`/authors`),class:c([`text-[15px] tracking-tight transition-colors hover:no-underline`,f(i).path.includes(`/authors`)?`coral font-semibold`:`ink-2 font-medium hover:coral`])},{default:F(()=>[I(l(e.$t(`nav.authors`)),1)]),_:1},8,[`to`,`class`])])]),k(`div`,Ee,[k(`div`,De,[t[17]||=k(`svg`,{class:`absolute left-3.5 to
1p-1/2 -translate-y-1/2 w-4 h-4 ink-3 pointer-events-none`,fill:`none`,stroke:`currentColor`,viewBox:`0 0 24 24`},[k(`path`,{"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z`})],-1),ne(k(`input`,{"onUpdate:modelValue":t[0]||=e=>p(N)?N.value=e:null,type:`search`,"data-search-input":``,class:`w-full rounded-full border-none bg-[#e8e8e6] pl-10 pr-4 py-2 text-sm ink placeholder:ink-3 outline-none transition-all focus:bg-white focus:ring-1 focus:ring-[var(--ink)]`,placeholder:e.$t(`common.search`),onKeydown:re(P,[`enter`])},null,40,Oe),[[oe,f(N)]])])]),k(`div`,$,[f(d)&&f(u)?(E(),A(j,{key:0},[D(o,{to:f(r)(`/@`+(f(u)?.nickname||`me`)),class:`hidden md:inline-flex items-center gap-2 rounded-full px-2 py-1.5 transition-colors hover:bg-black/5 hover:no-underline`},{default:F(()=>[D(s,{username:f(u).nickname,"avatar-url":f(u).avatarUrl,size:32},null,8,[`username`,`avatar-url`]),k(`span`,ke,l(f(u).nickname),1)]),_:1},8,[`to`]),D(o,{to:f(r)(`/@`+(f(u)?.nickname||`me`)),class:`md:hidden inline-flex items-center justify-center hover:no-underline`},{default:F(()=>[D(s,{username:f(u).nickname,"avatar-url":f(u).avatarUrl,size:36},null,8,[`username`,`avatar-url`])]),_:1},8,[`to`])],64)):(E(),A(`button`,{key:1,class:`hidden md:block rounded-full bg-gradient-to-br from-coral-500 to-coral-600 text-white px-5 py-2 text-sm font-semibold hover:scale-[0.98] transition-transform`,onClick:t[1]||=(...e)=>f(m)&&f(m)(...e)}
1,l(e.$t(`nav.login`)),1)),k(`button`,{class:`md:hidden p-2 ink-2`,"aria-expanded":f(L),"aria-label":e.$t(`layout.toggleNav`),onClick:t[2]||=e=>L.value=!f(L)},[(E(),A(`svg`,je,[f(L)?(E(),A(`path`,Ne)):(E(),A(`path`,Me))]))],8,Ae)])]),f(L)?(E(),A(`div`,Pe,[D(o,{to:f(r)(`/`),class:c([`block px-3 py-2 text-sm font-medium rounded-lg touch-manipulation hover:no-underline`,f(H)?`coral bg-2`:`ink-2 hover:bg-warm-card`]),onClick:t[3]||=e=>L.value=!1},{default:F(()=>[I(l(e.$t(`nav.home`)),1)]),_:1},8,[`to`,`class`]),D(o,{to:f(r)(`/trending`),class:c([`block px-3 py-2 text-sm font-medium rounded-lg touch-manipulation hover:no-underline`,f(i).path.includes(`/trending`)||f(i).path.includes(`/featured`)?`coral bg-2`:`ink-2 hover:bg-warm-card`]),onClick:t[4]||=e=>L.value=!1},{default:F(()=>[I(l(e.$t(`nav.trending`)),1)]),_:1},8,[`to`,`class`]),D(o,{to:f(r)(`/guide`),class:c([`block px-3 py-2 text-sm font-medium rounded-lg touch-manipulation hover:no-underline`,f(i).path.includes(`/guide`)?`coral bg-2`:`ink-2 hover:bg-warm-card`]),onClick:t[5]||=e=>L.value=!1},{default:F(()=>[I(l(e.$t(`nav.guides`)),1)]),_:1},8,[`to`,`class`]),D(o,{to:f(r)(`/authors`),class:c([`block px-3 py-2 text-sm font-medium rounded-lg touch-manipulation hover:no-underline`,f(i).path.includes(`/authors`)?`coral bg-2`:`ink-2 hover:bg-warm-card`]),onClick:t[6]||=e=>L.value=!1},{default:F(()=>[I(l(e.$t(`nav.authors`)),1)]),_:1},8,[`to`,`class`]),D(o,{to:f(r)(`/@`+(f(u)?.nickname||`me`)),class:`block px-3 py-2 text-sm font-medium rounded-lg ink-2 touch-manipulation hover:bg-warm-card hover:no-underline`,onClick:t[7]||=e=>L.value=!1},{default:F(()=>[I(l(e.$t(`nav.myAssets`)),1)]),_:1},8,[`to`]),D(o,{to:f(r)(`/workflows/submit`),class:`block px-3 py-2 text-sm font-medium rounded-lg ink-2 touch-manipulation hover:bg-warm-card hover:no-underline`,onClick:t[8]||=e=>L.value=!1},{default:F(()=>[I(l(e.$t(`landing.heroSubmit`)),1)]),_:1},8,[`to`]),f(d)&&f(u)?(E(),A(j,{key:0},[D(o,{to:f(r)(`/my/settings`),class:`block px-3 py-2 text-sm font-medium rounded-lg ink-2 touch-manipulation hover:bg-warm-card hover:no-underline`,onClick:t[9]||=e=>L.value=!1},{default:F(()=>[I(l(e.$t(`nav.settings`)),1)]),_:1},8,[`to`]),k(`button`,{class:`block w-full px-3 py-2 text-left text-sm font-medium rounded-lg ink-2 touch-manipulation hover:bg-warm-card`,onClick:W},l(e.$t(`nav.logout`)),1)],64)):(E(),A(`button`,{key:1,class:`block w-full px-3 py-2 text-left text-sm font-medium rounded-lg ink-2 touch-manipulation hover:bg-warm-card`,onClick:G},l(e.$t(`nav.login`)),1))])):M(``,!0)]),k(`main`,Fe,[x(e.$slots,`default`,{},void 0,!0)]),k(`div`,Ie,[D(o,{to:f(r)(`/`),class:c([`flex flex-col items-center gap-0.5 text-[10px] font-medium hover:no-underline`,f(H)?`coral`:`ink-3`])},{default:F(()=>[t[18]||=k(`span`,{class:`text-base`},`◈`,-1),k(`span`,null,l(e.$t(`nav.home`)),1)]),_:1},8,[`to`,`class`]),D(o,{to:f(r)(`/search`),class:c([`flex flex-col items-center gap-0.5 text-[10px] font-medium hover:no-underline`,f(i).path.includes(`/search`)?`coral`:`ink-3`])},{default:F(()=>[t[19]||=k(`span`,{class:`text-base`},`🔍`,-1),k(`span`,null,l(e.$t(`nav.search`)),1)]),_:1},8,[`to`,`class`]),D(o,{to:f(r)(`/@`+(f(u)?.nickname||`me`)),class:c([`flex flex-col items-center gap-0.5 text-[10px] font-medium hover:no-underline`,f(i).path.includes(`/my/`)?`coral`:`ink-3`])},{default:F(()=>[t[20]||=k(`span`,{class:`text-base`},`👤`,-1),k(`span`,null,l(e.$t(`layout.me`)),1)]),_:1},8,[`to`,`class`])]),k(`div`,Le,[D(ae,{name:`nav-search`},{default:F(()=>[(E(!0),A(j,null,te(f(y),e=>(E(),A(`div`,{key:e.id,class:c([`rounded-2xl px-4 py-3 text-sm font-semibold shadow-lg`,Q(e.type)]),role:`status`,"aria-live":`polite`},l(e.message),3))),128))]),_:1})]),k(`button`,{class:`site-floating-button fixed bottom-20 right-4 z-40 inline-flex h-10 w-10 items-center justify-center rounded-full ink-2 shadow-md transition-colors hover:bg-2 hover:coral sm:bottom-4`,style:{border:`1px solid var(--line)`},"aria-label":e.$t(`layout.openShortcuts`),onClick:t[10]||=e=>R.value=!0},` ? `,8,Re),D(se,{name:`nav-search`},{default:F(()=>[f(R)?(E(),A(`div`,{key:0,class:`fixed inset-0 z-[70] flex items-center justify-center bg-black/40 px-4`,onClick:t[15]||=ie(e=>R.value=!1,[`self`])},[k(`div`,ze,[k(`div`,Be,[k(`div`,null,[k(`h3`,Ve,l(e.$t(`layout.shortcuts`)),1),k(`p`,He,l(e.$t(`layout.shortcutsDesc`)),1)]),k(`button`,{class:`ink-4 hover:ink`,"aria-label":e.$t(`layout.closeShortcuts`),onClick:t[11]||=e=>R.value=!1},`✕`,8,Ue)]),k(`div`,We,[k(`button`,{class:`flex w-full items-center justify-between gap-4 roun
1ded-xl px-2 py-1.5 text-left transition-colors hover:bg-warm-card`,onClick:t[12]||=e=>X(`home`)},[k(`span`,null,l(e.$t(`layout.goHome`)),1),t[21]||=k(`kbd`,{class:`rounded-md bg-warm-card px-2 py-1 font-mono text-xs`},`g h`,-1)]),k(`button`,{class:`flex w-full items-center justify-between gap-4 rounded-xl px-2 py-1.5 text-left transition-colors hover:bg-warm-card`,onClick:t[13]||=e=>X(`leaderboard`)},[k(`span`,null,l(e.$t(`layout.goLeaderboard`)),1),t[22]||=k(`kbd`,{class:`rounded-md bg-warm-card px-2 py-1 font-mono text-xs`},`g e`,-1)]),k(`button`,{class:`flex w-full items-center justify-between gap-4 rounded-xl px-2 py-1.5 text-left transition-colors hover:bg-warm-card`,onClick:t[14]||=e=>X(`upload`)},[k(`span`,null,l(e.$t(`layout.goUpload`)),1),t[23]||=k(`kbd`,{class:`rounded-md bg-warm-card px-2 py-1 font-mono text-xs`},`g u`,-1)]),k(`div`,Ge,[k(`span`,null,l(e.$t(`layout.nextAsset`)),1),t[24]||=k(`kbd`,{class:`rounded-md bg-warm-card px-2 py-1 font-mono text-xs`},`j`,-1)]),k(`div`,Ke,[k(`span`,null,l(e.$t(`layout.previousAsset`)),1),t[25]||=k(`kbd`,{class:`rounded-md bg-warm-card px-2 py-1 font-mono text-xs`},`k`,-1)]),k(`div`,qe,[k(`span`,null,l(e.$t(`layout.openAsset`)),1),t[26]||=k(`kbd`,{class:`rounded-md bg-warm-card px-2 py-1 font-mono text-xs`},`o / Enter`,-1)]),k(`div`,Je,[k(`span`,null,l(e.$t(`layout.toggleStar`)),1),t[27]||=k(`kbd`,{class:`rounded-md bg-warm-card px-2 py-1 font-mono text-xs`},`s`,-1)]),k(`div`,Ye,[k(`span`,null,l(e.$t(`layout.focusSearch`)),1),t[28]||=k(`kbd`,{class:`rounded-md bg-warm-card px-2 py-1 font-mono text-xs`},`/`,-1)]),k(`div`,Xe,[k(`span`,null,l(e.$t(`layout.showShortcuts`)),1),t[29]||=k(`kbd`,{class:`rounded-md bg-warm-card px-2 py-1 font-mono text-xs`},`?`,-1)])])])])):M(``,!0)]),_:1}),k(`footer`,Ze,[k(`div`,Qe,[k(`div`,$e,[D(o,{to:f(r)(`/`),class:`text-xl font-bold tracking-tighter hover:no-underline`,style:{color:`var(--ink)`}},{default:F(()=>[...t[30]||=[I(`TokRepo`,-1)]]),_:1},8,[`to`]),k(`p`,et,l(e.$t(`footer.copyright`)),1)]),k(`nav`,tt,[D(o,{to:f(r)(`/guide`),class:`text-sm font-semibold uppercase tracking-wide hover:coral hover:no-underline transition-colors`,style:{color:`var(--ink-2)`}},{default:F(()=>[I(l(e.$t(`nav.guides`)),1)]),_:1},8,[`to`]),D(o,{to:f(r)(`/agent-stats`),class:`text-sm font-semibold uppercase tracking-wide hover:coral hover:no-underline transition-colors`,style:{color:`var(--ink-2)`}},{default:F(()=>[I(l(e.$t(`footer.agentStats`)),1)]),_:1},8,[`to`]),D(o,{to:f(r)(`/about`),class:`text-sm font-semibold uppercase tracking-wide hover:coral hover:no-underline transition-colors`,style:{color:`var(--ink-2)`}},{default:F(()=>[I(l(e.$t(`footer.about`)),1)]),_:1},8,[`to`]),D(o,{to:f(r)(`/privacy`),class:`text-sm font-semibold uppercase tracking-wide hover:coral hover:no-underline transition-colors`,style:{color:`var(--ink-2)`}},{default:F(()=>[I(l(e.$t(`footer.privacy`)),1)]),_:1},8,[`to`]),D(o,{to:f(r)(`/help`),class:`text-sm font-semibold uppercase tracking-wide hover:coral hover:no-underline transition-colors`,style:{color:`var(--ink-2)`}},{default:F(()=>[I(l(e.$t(`footer.help`)),1)]),_:1},8,[`to`]),t[31]||=k(`a`,{href:`https://x.com/ethanfrostlove`,target:`_blank`,rel:`noopener`,class:`text-sm font-semibold uppercase tracking-wide hover:coral hover:no-underline transition-colors`,style:{color:`var(--ink-2)`},"aria-label":`Twitter/X`},`Twitter`,-1)])]),t[32]||=k(`div`,{class:`mt-6 pt-6 px-6 sm:px-12 max-w-[1440px] mx-auto text-xs leading-6`,style:{color:`var(--ink-3)`,"border-top":`1px solid rgba(223,191,185,0.15)`}},[k(`div`,{class:`flex flex-col sm:flex-row sm:flex-wrap sm:items-center sm:justify-between gap-y-1 gap-x-6`},[k(`p`,{class:`font-semibold tracking-wide`},`軒轅十四株式会社 · Tokyo, Japan`),k(`p`,null,`〒101-0032 Tokyo, Chiyoda-ku, Iwamotocho 2-chome`),k(`p`,null,[I(`Contact: `),k(`a`,{href:`mailto:[email protected]`,class:`hover:coral hover:no-underline`},`[email protected]`)])])],-1)]),D(h,{visible:f(S).visible,title:f(S).title,message:f(S).message,"confirm-text":f(S).confirmText,"cancel-text":f(S).cancelText,variant:f(S).variant,icon:f(S).icon,onConfirm:f(T),onCancel:f(ee)},null,8,[`visible`,`title`,`message`,`confirm-text`,`cancel-text`,`variant`,`icon`,`onConfirm`,`onCancel`])])}}})})))()}var it;function at(){return(at=e((()=>{rt(),V(),it=G(nt,[[`__scopeId`,`data-v-1b412fae`]])})))()}at();export{it 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.