@x18n/ui 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/index.mjs +7 -4
  2. package/dist/nitro.json +1 -1
  3. package/dist/public/200.html +1 -1
  4. package/dist/public/404.html +1 -1
  5. package/dist/public/_nuxt/{SGqoyjTw.js → 0cXQUs3T.js} +1 -1
  6. package/dist/public/_nuxt/{B-pOeIed.js → BJFGPxOj.js} +1 -1
  7. package/dist/public/_nuxt/{BQFxnUqO.js → BR2xHYez.js} +1 -1
  8. package/dist/public/_nuxt/{C67ZD0uD.js → BSomwWYk.js} +1 -1
  9. package/dist/public/_nuxt/{C-7DUGFU.js → BWdW6dXs.js} +1 -1
  10. package/dist/public/_nuxt/Bkjpr8TV.js +1 -0
  11. package/dist/public/_nuxt/{BEQcjiBv.js → BqPdh3b3.js} +1 -1
  12. package/dist/public/_nuxt/{02DyCwxD.js → BtGb9LkL.js} +1 -1
  13. package/dist/public/_nuxt/{Ze5G054N.js → C059D2ly.js} +1 -1
  14. package/dist/public/_nuxt/{CJr8eCPg.js → CGD9uLl4.js} +1 -1
  15. package/dist/public/_nuxt/{DBxHLmxb.js → CU-cHgDp.js} +1 -1
  16. package/dist/public/_nuxt/CcXhso-T.js +1 -0
  17. package/dist/public/_nuxt/{B95Xo308.js → Cnqs6S_B.js} +1 -1
  18. package/dist/public/_nuxt/Cr_IeTC5.js +1 -0
  19. package/dist/public/_nuxt/{Cbqdjx_Y.js → D3lsgOGg.js} +1 -1
  20. package/dist/public/_nuxt/{BQbZdzYt.js → D4W_YgBv.js} +1 -1
  21. package/dist/public/_nuxt/{CZm1hx3M.js → D5tpRc1q.js} +1 -1
  22. package/dist/public/_nuxt/{n6pi28wD.js → DJiNcGZq.js} +4 -4
  23. package/dist/public/_nuxt/Dc1J86T9.js +1 -0
  24. package/dist/public/_nuxt/{Bqlbbq4u.js → DsqCc3fC.js} +1 -1
  25. package/dist/public/_nuxt/{Vq2dNnuk.js → Eg7r6GmC.js} +1 -1
  26. package/dist/public/_nuxt/{BWmypMON.js → JMXpOiMg.js} +1 -1
  27. package/dist/public/_nuxt/builds/latest.json +1 -1
  28. package/dist/public/_nuxt/builds/meta/8a31ddf7-f214-42d6-b90e-fa6fcd47377d.json +1 -0
  29. package/dist/public/_nuxt/{BLH-zAnn.js → eVN_U-F6.js} +1 -1
  30. package/dist/public/_nuxt/entry.DCwNI6d7.css +1 -0
  31. package/dist/public/_nuxt/{CgfzuETb.js → z56wu47o.js} +1 -1
  32. package/dist/public/index.html +1 -1
  33. package/package.json +4 -4
  34. package/dist/public/_nuxt/BZwyJa72.js +0 -1
  35. package/dist/public/_nuxt/CEb7njzd.js +0 -1
  36. package/dist/public/_nuxt/D3K1nMHN.js +0 -1
  37. package/dist/public/_nuxt/D7-xsrqe.js +0 -1
  38. package/dist/public/_nuxt/builds/meta/33bfcf49-6c29-4ff2-8a7c-2676280e43b0.json +0 -1
  39. package/dist/public/_nuxt/entry.D2md-EYL.css +0 -1
@@ -0,0 +1 @@
1
+ import{B as e,Ct as t,E as n,Et as r,H as i,M as a,P as o,Q as s,T as c,Tt as l,U as u,_ as d,c as f,d as p,h as m,it as h,l as g,m as _,r as v,s as y,u as b,wt as x,y as S}from"./B4prFwj0.js";import{c as C,o as w,s as T}from"./DoHg1T7s.js";import{u as E}from"./D4dwYDex.js";import{D,E as O,S as k,a as A,c as j,f as M,h as N,m as P,n as F,t as I}from"./DsqCc3fC.js";import{i as L,n as R}from"#entry";import{t as z}from"./0cXQUs3T.js";import{t as B}from"./DQNu8teu.js";import{n as V,r as H,t as U}from"./JMXpOiMg.js";import{t as W}from"./CcXhso-T.js";import{t as G}from"./BtGb9LkL.js";import{t as K}from"./BqPdh3b3.js";import{i as q,n as ee,r as te,t as ne}from"./Bkjpr8TV.js";function J(e){return[...e.matchAll(/[^.:]+/g)].map(t=>({id:e.slice(0,t.index+t[0].length),label:t[0]}))}function Y(e,t,n=!1){let r=new Map;for(let t of e){let e=r,n;for(let{id:r,label:i}of J(t))n=e.get(i)??{id:r,label:i,key:void 0,children:new Map},e.set(i,n),e=n.children;n&&(n.key=t)}let i=[],a=(e,r)=>{for(let o of[...e.values()].sort((e,t)=>e.label.localeCompare(t.label))){let e=o.children.size>0,s=n||t.has(o.id);i.push({id:o.id,label:o.label,depth:r,key:o.key,branch:e,open:e&&s}),e&&s&&a(o.children,r+1)}};return a(r,0),i}function X(e){return J(e).slice(0,-1).map(e=>e.id)}var Z={class:`min-h-0 flex flex-auto flex-col`},re={class:`flex items-center gap-2 border-b border-base px-3 py-2`},ie={class:`label`},ae={class:`font-mono text-xs color-faint tabular-nums`},oe=[`aria-label`],se=[`aria-pressed`,`title`,`aria-label`],ce=[`aria-pressed`,`title`,`aria-label`],le={class:`border-b border-base px-3 py-2`},ue=[`placeholder`,`aria-label`],de=[`aria-expanded`,`aria-label`,`onClick`],fe={key:1,class:`size-4 shrink-0`},pe=[`onClick`],Q=28,me=d({__name:`KeySidebar`,setup(d){let m=E(),C=y(()=>String(m.params.key)),T=P((e,t)=>e.keys(t)),A=O(`x18n:key-view`,`tree`),j=s(``),M=s(new Set);e(C,e=>{M.value=new Set([...M.value,...X(e)])},{immediate:!0});let N=y(()=>T.value?.rows.map(e=>e.key)??[]),F=y(()=>{let e=j.value.trim();return e?N.value.map(t=>({key:t,score:q(e,t)})).filter(e=>e.score>=0).sort((e,t)=>t.score-e.score).map(e=>e.key):N.value}),I=y(()=>A.value===`tree`?Y(F.value,M.value,j.value.trim()!==``):F.value.map(e=>({id:e,label:e,depth:0,key:e,branch:!1,open:!1}))),{list:R,containerProps:z,wrapperProps:B}=D(I,{itemHeight:Q,overscan:10});function V(e){let t=new Set(M.value);t.delete(e.id)||t.add(e.id),M.value=t}async function H(){await n();let e=z.ref.value,t=I.value.findIndex(e=>e.key===C.value);if(!e||t<0)return;let r=t*Q;(r<e.scrollTop||r+Q>e.scrollTop+e.clientHeight)&&(e.scrollTop=Math.max(0,r-e.clientHeight/2))}return e([C,A,()=>T.value?.rows.length],H,{flush:`post`}),(e,n)=>(a(),p(`div`,Z,[f(`div`,re,[f(`span`,ie,r(h(k)(`nav.keys`)),1),f(`span`,ae,r(N.value.length),1),n[5]||=f(`span`,{class:`flex-auto`},null,-1),f(`div`,{class:`flex`,role:`group`,"aria-label":h(k)(`sidebar.view`)},[f(`button`,{type:`button`,class:t([`btn-icon h-6 w-6 text-sm`,h(A)===`list`&&`bg-hover color-base`]),"aria-pressed":h(A)===`list`,title:h(k)(`sidebar.list`),"aria-label":h(k)(`sidebar.list`),onClick:n[0]||=e=>A.value=`list`},[...n[3]||=[f(`span`,{class:`i-ph-list-bullets-duotone`},null,-1)]],10,se),f(`button`,{type:`button`,class:t([`btn-icon h-6 w-6 text-sm`,h(A)===`tree`&&`bg-hover color-base`]),"aria-pressed":h(A)===`tree`,title:h(k)(`sidebar.tree`),"aria-label":h(k)(`sidebar.tree`),onClick:n[1]||=e=>A.value=`tree`},[...n[4]||=[f(`span`,{class:`i-ph-tree-structure-duotone`},null,-1)]],10,ce)],8,oe)]),f(`div`,le,[u(f(`input`,{"onUpdate:modelValue":n[2]||=e=>j.value=e,class:`input h-7 w-full font-mono text-xs`,type:`search`,placeholder:h(k)(`sidebar.filter`),"aria-label":h(k)(`sidebar.filter`)},null,8,ue),[[w,j.value]])]),f(`div`,c(h(z),{class:`min-h-0 flex-auto`}),[f(`div`,x(S(h(B))),[(a(!0),p(v,null,o(h(R),({data:e})=>(a(),p(`div`,{key:e.id,class:t([`h-7 flex items-center pr-2 font-mono text-xs transition-colors hover:bg-hover`,e.key===C.value?`bg-hover color-base shadow-[inset_2px_0_var(--x-fg)]`:`color-muted`]),style:l({paddingLeft:`${8+e.depth*12}px`})},[h(A)===`tree`?(a(),p(v,{key:0},[e.branch?(a(),p(`button`,{key:0,type:`button`,class:`focus-ring size-4 flex shrink-0 items-center justify-center`,"aria-expanded":e.open,"aria-label":e.label,onClick:t=>V(e)},[f(`span`,{class:t([`i-ph-caret-right-duotone transition-transform`,e.open&&`rotate-90`])},null,2)],8,de)):(a(),p(`span`,fe))],64)):b(``,!0),e.key?(a(),g(h(L),{key:1,to:`/keys/${encodeURIComponent(e.key)}`,class:`focus-ring ml-1 min-w-0 flex-auto truncate`,"aria-current":e.key===C.value?`page`:void 0,title:e.key},{default:i(()=>[_(r(e.label),1)]),_:2},1032,[`to`,`aria-current`,`title`])):(a(),p(`button`,{key:2,type:`button`,class:`focus-ring ml-1 min-w-0 flex-auto truncate text-left`,onClick:t=>V(e)},r(e.label),9,pe))],6))),128))],16)],16)]))}}),he={class:`mx-auto h-full w-full flex max-w-6xl border-x border-base xl:max-w-[90rem]`},ge={class:`hidden w-72 shrink-0 flex-col border-r border-base xl:flex`},_e={class:`min-w-0 flex-auto of-y-auto`},ve={class:`flex items-center gap-3 border-b border-base px-4 py-4`},ye={class:`grid gap-1`},be={class:`label`},xe={class:`break-all font-mono text-xl font-medium`},Se={key:0,class:`badge self-end`},Ce={key:0,class:`px-4 py-3 color-muted`},we={key:0,class:`px-4 py-3 color-muted`},Te=[`data-locale`],Ee={class:`flex items-center gap-2 pt-0.5 font-mono`},De={key:0,class:`badge`},Oe=[`title`],ke={key:0,class:`grid gap-2`},Ae=[`aria-label`],je={key:0,class:`flex items-center gap-2 color-warn`},Me=[`title`,`onDblclick`],Ne={key:0,class:`grid grid-cols-[auto_1fr] gap-x-3 gap-y-0.5 border-l-2 border-[var(--x-warn)] py-0.5 pl-3 text-xs`},Pe={class:`label`},$={class:`color-muted line-through decoration-[var(--x-faint)]`},Fe={class:`label`},Ie={class:`flex gap-1`},Le={class:`font-mono text-xs color-muted`},Re={class:`flex-auto`},ze=[`onClick`],Be={key:0,class:`px-4 py-3 color-muted`},Ve={class:`flex items-center gap-2`},He={key:0,class:`badge`},Ue=[`onClick`],We=d({__name:`[key]`,setup(e){let n=E(),c=y(()=>String(n.params.key)),l=P((e,t)=>e.key(t,c.value)),d=y(()=>N.value.map(e=>({locale:e.code,message:l.value?.messages.find(t=>t.locale===e.code)}))),x=y(()=>A.value.length-N.value.length),S=y(()=>l.value?.messages.find(e=>e.locale===F.value?.sourceLocale)?.value),D=s(),O=s();async function q(e=!1){let t=D.value;if(!t)return;let n=await te(c.value,t.locale,t.draft,e);n.applied?(D.value=void 0,O.value=void 0):O.value=n.problems.map(ee).join(`; `)}function J(e,t){D.value={locale:e,draft:t==null?``:String(t)},O.value=void 0}function Y(e){return e.type!==`extract`&&e.type!==`format`}function X(e){I.value?.openInEditor({project:j.value,path:e.path,line:e.line,column:e.column})}return(e,n)=>(a(),p(`div`,he,[f(`aside`,ge,[m(me)]),f(`div`,_e,[f(`header`,ve,[m(h(L),{to:`/keys`,class:`btn-icon`,"aria-label":h(k)(`detail.back`)},{default:i(()=>[...n[5]||=[f(`span`,{class:`i-ph-arrow-left-duotone`},null,-1)]]),_:1},8,[`aria-label`]),f(`div`,ye,[f(`span`,be,r(h(k)(`detail.label`)),1),f(`h1`,xe,r(c.value),1)]),h(l)?.namespace?(a(),p(`span`,Se,r(h(l).namespace),1)):b(``,!0)]),h(l)===null?(a(),p(`p`,Ce,r(h(k)(`detail.notFound`)),1)):h(l)?(a(),p(v,{key:1},[m(B,{index:`01`,title:h(k)(`detail.values`)},{default:i(()=>[d.value.length?b(``,!0):(a(),p(`p`,we,r(h(k)(`localeBar.noneShown`)),1)),(a(!0),p(v,null,o(d.value,e=>(a(),p(`div`,{key:e.locale,class:`grid grid-cols-[7rem_1fr_auto] items-start gap-4 border-b border-base px-4 py-3 last:border-b-0`,"data-locale":e.locale},[f(`span`,Ee,[m(R,{code:e.locale},null,8,[`code`]),_(` `+r(e.locale)+` `,1),e.locale===h(F)?.sourceLocale?(a(),p(`span`,De,r(h(k)(`overview.source`)),1)):b(``,!0),e.message?.outdated?(a(),p(`span`,{key:1,class:`badge border-current color-warn`,title:h(k)(`history.outdatedHint`)},r(h(k)(`history.outdated`)),9,Oe)):b(``,!0)]),D.value?.locale===e.locale?(a(),p(`div`,ke,[u(f(`textarea`,{"onUpdate:modelValue":n[0]||=e=>D.value.draft=e,class:`input h-auto py-1.5 font-mono`,rows:`2`,"aria-label":h(k)(`keys.editValue`,{key:c.value,locale:e.locale}),onKeydown:[n[1]||=T(C(e=>q(),[`exact`,`prevent`]),[`enter`]),n[2]||=T(e=>D.value=void 0,[`escape`])]},null,40,Ae),[[w,D.value.draft]]),O.value?(a(),p(`p`,je,[n[6]||=f(`span`,{class:`i-ph-warning-duotone`},null,-1),_(` `+r(O.value)+` `,1),f(`button`,{class:`btn-outline h-7`,onClick:n[3]||=e=>q(!0)},r(h(k)(`edit.saveAnyway`)),1)])):b(``,!0)])):(a(),p(`div`,{key:1,class:`grid min-w-0 gap-1`,title:h(I)?.capabilities.write?h(k)(`detail.edit`):void 0,onDblclick:t=>h(I)?.capabilities.write&&J(e.locale,e.message?.value)},[m(W,{value:e.message?.value,placeholders:e.message?.placeholders??[]},null,8,[`value`,`placeholders`]),e.message?.sourceThen===void 0?b(``,!0):(a(),p(`dl`,Ne,[f(`dt`,Pe,r(h(k)(`history.sourceThen`)),1),f(`dd`,$,[m(W,{value:e.message.sourceThen},null,8,[`value`])]),f(`dt`,Fe,r(h(k)(`history.sourceNow`)),1),f(`dd`,null,[m(W,{value:S.value},null,8,[`value`])])]))],40,Me)),f(`div`,Ie,[e.locale===h(F)?.sourceLocale?b(``,!0):(a(),g(V,{key:0,text:h(U)([{locale:e.locale,key:c.value}]),label:h(k)(`prompt.copy`),hint:h(k)(`prompt.hint`)},null,8,[`text`,`label`,`hint`])),e.message?(a(),g(H,{key:1,icon:`i-ph-file-text-duotone`,label:h(k)(`detail.file`)},{default:i(()=>[m(z,{path:e.message.path,line:e.message.line},null,8,[`path`,`line`])]),_:2},1032,[`label`])):b(``,!0),e.message?.changed?(a(),g(H,{key:2,icon:`i-ph-clock-counter-clockwise-duotone`,label:h(k)(`history.title`)},{default:i(()=>[m(G,{change:e.message.changed},null,8,[`change`])]),_:2},1032,[`label`])):b(``,!0)])],8,Te))),128)),x.value?(a(),p(`button`,{key:1,class:`btn-ghost h-9 w-full justify-start px-4`,onClick:n[4]||=(...e)=>h(M)&&h(M)(...e)},[n[7]||=f(`span`,{class:`i-ph-dots-three-duotone`},null,-1),_(` `+r(h(k)(`detail.showAllLocales`))+` (`+r(x.value)+`) `,1)])):b(``,!0)]),_:1},8,[`title`]),h(l).diagnostics.length?(a(),g(B,{key:0,index:`02`,title:h(k)(`detail.diagnostics`)},{default:i(()=>[(a(!0),p(v,null,o(h(l).diagnostics,(e,n)=>(a(),p(`div`,{key:n,class:`flex items-center gap-2 border-b border-base px-4 py-2 last:border-b-0`},[f(`span`,{class:t(e.severity===`error`?`i-ph-x-circle-duotone color-error`:`i-ph-warning-duotone color-warn`)},null,2),f(`span`,Le,r(e.code),1),f(`span`,Re,r(e.message),1),h(I)?.capabilities.write?(a(!0),p(v,{key:0},o(e.fixes.filter(e=>e.ops.every(Y)),e=>(a(),p(`button`,{key:e.title,class:`btn-outline h-7`,onClick:t=>h(ne)(e.ops.filter(Y))},r(e.title),9,ze))),128)):b(``,!0)]))),128))]),_:1},8,[`title`])):b(``,!0),m(B,{index:`03`,title:h(k)(`detail.usages`,{count:h(l).usages.length})},{default:i(()=>[h(l).usages.length?b(``,!0):(a(),p(`p`,Be,r(h(k)(`detail.noUsages`)),1)),(a(!0),p(v,null,o(h(l).usages,(e,t)=>(a(),p(`div`,{key:t,class:`grid gap-2 border-b border-base px-4 py-3 last:border-b-0`},[f(`div`,Ve,[m(z,{path:e.path,line:e.line,column:e.column},null,8,[`path`,`line`,`column`]),e.possible?(a(),p(`span`,He,r(h(k)(`detail.possible`)),1)):b(``,!0),n[9]||=f(`span`,{class:`flex-auto`},null,-1),h(I)?.capabilities.openInEditor?(a(),p(`button`,{key:1,class:`btn-ghost h-7`,onClick:t=>X(e)},[n[8]||=f(`span`,{class:`i-ph-arrow-square-out-duotone`},null,-1),_(` `+r(h(k)(`detail.openInEditor`)),1)],8,Ue)):b(``,!0)]),m(K,{usage:e},null,8,[`usage`])]))),128))]),_:1},8,[`title`])],64)):b(``,!0)])]))}});export{We as default};
@@ -1 +1 @@
1
- import{B as e,E as t,K as n,Q as r,V as i,W as a,Y as o,Z as s,et as c,it as l,j as u,nt as d,rt as f,s as p,tt as m,v as h}from"./B4prFwj0.js";var g=`modulepreload`,ee=function(e,t){return new URL(e,t).href},_={},v=function(e){return e.pathname.endsWith(`.css`)},y=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},b=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=ee(t,n);let r=s(t),i=v(r);return y(_,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:g,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{t.addEventListener(`load`,e),t.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${r}`)))})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};function x(e,t){return n()?(o(e,t),!0):!1}var S=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var C=Object.prototype.toString,te=e=>C.call(e)===`[object Object]`,w=()=>{},T=E();function E(){var e,t;return S&&!!((e=window)!=null&&(e=e.navigator)!=null&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function ne(...e){if(e.length!==1)return d(...e);let t=e[0];return typeof t==`function`?s(a(()=>({get:t,set:w}))):r(t)}function re(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return`cancel`in e&&Object.assign(n,{cancel:e.cancel,flush:e.flush,isPending:e.isPending}),n}var D=e=>e();function ie(e=D,t={}){let{initialState:n=`active`}=t,r=ne(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:c(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function O(e){return Array.isArray(e)?e:[e]}function ae(e){return e||h()}function oe(t,n,r={}){let{eventFilter:i=D,...a}=r;return e(t,re(i,n),a)}function se(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=ie(r,{initialState:i});return{stop:oe(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function k(e,n=!0,r){ae(r)?u(e,r):n?e():t(e)}function ce(t,n,r){return e(t,n,{...r,immediate:!0})}var A=S?window:void 0;S&&window.document,S&&window.navigator,S&&window.location;function j(e){let t=f(e);return t?.$el??t}function M(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=p(()=>{let t=O(f(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return ce(()=>[n.value?.map(e=>j(e))??[A].filter(e=>e!=null),O(f(n.value?e[1]:e[0])),O(l(n.value?e[2]:e[1])),f(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=te(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var N=!1;function le(e,t,n={}){let{window:r=A,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:w,cancel:w,trigger:w}:w;if(T&&!N){N=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,w,e)),r.document.documentElement.addEventListener(`click`,w,e)}let c=!0,l=e=>f(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=j(t);return n&&(e.target===n||e.composedPath().includes(n))}});function u(e){let t=f(e);return t&&t.$.subTree.shapeFlag===16}function d(e,t){let n=f(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let p=n=>{let r=j(e);n.target!=null&&(!(r instanceof Element)&&u(e)&&d(e,n)||r&&r!==n.target&&!n.composedPath().includes(r)&&(`detail`in n&&n.detail===0&&(c=!l(n)),c?t(n):c=!0))},m=!1,h=[M(r,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:a}),M(r,`pointerdown`,t=>{let n=j(e);c=!l(t)&&!(!n||t.composedPath().includes(n))},{passive:!0}),o&&M(r,`blur`,n=>{setTimeout(()=>{let i=j(e),a=r.document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;a?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return s?{stop:g,cancel:()=>{c=!1},trigger:e=>{c=!0,p(e),c=!1}}:g}function ue(){let e=m(!1),t=h();return t&&u(()=>{e.value=!0},t),e}function de(e){let t=ue();return p(()=>(t.value,!!e()))}var P=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{},F=`__vueuse_ssr_handlers__`,fe=pe();function pe(){return F in P||(P[F]=P[F]||{}),P[F]}function me(e,t){return fe[e]||t}function he(e){return e==null?`any`:e instanceof Set?`set`:e instanceof Map?`map`:e instanceof Date?`date`:typeof e==`boolean`?`boolean`:typeof e==`string`?`string`:typeof e==`object`?`object`:Number.isNaN(e)?`any`:`number`}var ge={boolean:{read:e=>e===`true`,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},I=`vueuse-storage`;function _e(n,i,a,o={}){let{flush:s=`pre`,deep:c=!0,listenToStorageChanges:l=!0,writeDefaults:u=!0,mergeDefaults:d=!1,shallow:h,window:g=A,eventFilter:ee,onError:_=e=>{console.error(e)},initOnMounted:v}=o,y=(h?m:r)(typeof i==`function`?i():i),b=p(()=>f(n));if(!a)try{a=me(`getDefaultStorage`,()=>A?.localStorage)()}catch(e){_(e)}if(!a)return y;let x=f(i),S=he(x),C=o.serializer??ge[S],{pause:te,resume:w}=se(y,e=>ne(e),{flush:s,deep:c,eventFilter:ee});e(b,()=>D(),{flush:s});let T=!1;g&&l&&(a instanceof Storage?M(g,`storage`,e=>{(!v||T)&&D(e)},{passive:!0}):M(g,I,e=>{(!v||T)&&ie(e)})),v?k(()=>{T=!0,D()}):D();function E(e,t){if(g){let n={key:b.value,oldValue:e,newValue:t,storageArea:a};g.dispatchEvent(a instanceof Storage?new StorageEvent(`storage`,n):new CustomEvent(I,{detail:n}))}}function ne(e){try{let t=a.getItem(b.value);if(e==null)E(t,null),a.removeItem(b.value);else{let n=C.write(e);t!==n&&(a.setItem(b.value,n),E(t,n))}}catch(e){_(e)}}function re(e){let t=e?e.newValue:a.getItem(b.value);if(t==null)return u&&x!=null&&a.setItem(b.value,C.write(x)),x;if(!e&&d){let e=C.read(t);return typeof d==`function`?d(e,x):S===`object`&&!Array.isArray(e)?{...x,...e}:e}return typeof t==`string`?C.read(t):t}function D(e){if(!(e&&e.storageArea!==a)){if(e&&e.key==null)y.value=x;else if(!(e&&e.key!==b.value)){te();try{let t=C.write(y.value);(e===void 0||e?.newValue!==t)&&(y.value=re(e))}catch(e){_(e)}finally{e?t(w):w()}}}}function ie(e){D(e.detail)}return y}function ve(t,n,r={}){let{window:i=A,...a}=r,o,s=de(()=>i&&`ResizeObserver`in i),c=()=>{o&&=(o.disconnect(),void 0)},l=p(()=>{let e=f(t);return Array.isArray(e)?e.map(e=>j(e)):[j(e)]}),u=e(l,e=>{if(c(),s.value&&i){o=new ResizeObserver(n);for(let t of e)t instanceof Element&&o.observe(t,a)}},{immediate:!0,flush:`post`}),d=()=>{c(),u()};return x(d),{isSupported:s,stop:d}}function ye(t,n={width:0,height:0},r={}){let{window:i=A,box:a=`content-box`}=r,o=p(()=>{var e;return(e=j(t))==null||(e=e.namespaceURI)==null?void 0:e.includes(`svg`)}),s=m(n.width),c=m(n.height),{stop:l}=ve(t,([e])=>{let n=a===`border-box`?e.borderBoxSize:a===`content-box`?e.contentBoxSize:e.devicePixelContentBoxSize;if(i&&o.value){let e=j(t);if(e){let t=e.getBoundingClientRect();s.value=t.width,c.value=t.height}}else if(n){let e=O(n);s.value=e.reduce((e,{inlineSize:t})=>e+t,0),c.value=e.reduce((e,{blockSize:t})=>e+t,0)}else s.value=e.contentRect.width,c.value=e.contentRect.height},r);k(()=>{let e=j(t);if(e&&`offsetWidth`in e){if(a===`content-box`&&i){let t=i.getComputedStyle(e),n=Number.parseFloat(t.paddingLeft)+Number.parseFloat(t.paddingRight),r=Number.parseFloat(t.paddingTop)+Number.parseFloat(t.paddingBottom),a=Number.parseFloat(t.borderLeftWidth)+Number.parseFloat(t.borderRightWidth),o=Number.parseFloat(t.borderTopWidth)+Number.parseFloat(t.borderBottomWidth);s.value=e.offsetWidth-n-a,c.value=e.offsetHeight-r-o}else s.value=e.offsetWidth,c.value=e.offsetHeight}else e&&(s.value=n.width,c.value=n.height)});let u=e(()=>j(t),e=>{s.value=e?n.width:0,c.value=e?n.height:0});function d(){l(),u()}return{width:s,height:c,stop:d}}function L(e,t,n={}){let{window:r=A}=n;return _e(e,t,r?.localStorage,n)}function be(e,t){let{containerStyle:n,wrapperProps:r,scrollTo:i,calculateRange:a,currentList:o,containerRef:s}=`itemHeight`in t?Te(t,e):we(t,e);return{list:o,scrollTo:i,containerProps:{ref:s,onScroll:()=>{a()},style:n},wrapperProps:r}}function R(e){let t=m(null),n=ye(t),i=r([]),a=m(e);return{state:r({start:0,end:10}),source:a,currentList:i,size:n,containerRef:t}}function z(e,t,n){return r=>{if(typeof n==`number`)return Math.ceil(r/n);let{start:i=0}=e.value,a=0,o=0;for(let e=i;e<t.value.length;e++){let t=n(e);if(a+=t,o=e,a>r)break}return o-i}}function B(e,t){return n=>{if(typeof t==`number`)return Math.floor(n/t)+1;let r=0,i=0;for(let a=0;a<e.value.length;a++){let e=t(a);if(r+=e,r>=n){i=a;break}}return i+1}}function V(e,t,n,r,{containerRef:i,state:a,currentList:o,source:s}){return()=>{let c=i.value;if(c){let i=n(e===`vertical`?c.scrollTop:c.scrollLeft),l=r(e===`vertical`?c.clientHeight:c.clientWidth),u=i-t,d=i+l+t;a.value={start:u<0?0:u,end:d>s.value.length?s.value.length:d},o.value=s.value.slice(a.value.start,a.value.end).map((e,t)=>({data:e,index:t+a.value.start}))}}}function H(e,t){return n=>typeof e==`number`?n*e:t.value.slice(0,n).reduce((t,n,r)=>t+e(r),0)}function U(t,n,r,i,a){e([t.width,t.height,n,r,i],()=>{a()})}function W(e,t){return p(()=>typeof e==`number`?t.value.length*e:t.value.reduce((t,n,r)=>t+e(r),0))}var xe={horizontal:`scrollLeft`,vertical:`scrollTop`},Se={horizontal:`left`,vertical:`top`},G={behavior:`auto`,block:`start`,inline:`nearest`};function Ce(e,t,n,r,i){return(a,o=G)=>{if(!r.value)return;o={...G,...o};let s=0,c=o[e===`horizontal`?`inline`:`block`];if(c){let t=e===`horizontal`?r.value.clientWidth:r.value.clientHeight,o=typeof i==`number`?i:i(a);if(c===`center`)s=t/2-o/2;else if(c===`end`)s=t-o;else if(c===`nearest`){let i=r.value[xe[e]];n(a)>i+t/2&&(s=t-o)}}r.value.scrollTo({[Se[e]]:n(a)-s,behavior:o.behavior}),t()}}function we(e,t){let n=R(t),{state:r,source:i,currentList:a,size:o,containerRef:s}=n,c={overflowX:`auto`},{itemWidth:l,overscan:u=5}=e,d=z(r,i,l),f=V(`horizontal`,u,B(i,l),d,n),m=H(l,i),h=p(()=>m(r.value.start)),g=W(l,i);return U(o,i,g,s,f),{scrollTo:Ce(`horizontal`,f,m,s,l),calculateRange:f,wrapperProps:p(()=>({style:{height:`100%`,width:`${g.value-h.value}px`,marginLeft:`${h.value}px`,display:`flex`}})),containerStyle:c,currentList:a,containerRef:s}}function Te(e,t){let n=R(t),{state:r,source:i,currentList:a,size:o,containerRef:s}=n,c={overflowY:`auto`},{itemHeight:l,overscan:u=5}=e,d=z(r,i,l),f=V(`vertical`,u,B(i,l),d,n),m=H(l,i),h=p(()=>m(r.value.start)),g=W(l,i);return U(o,i,g,s,f),{calculateRange:f,scrollTo:Ce(`vertical`,f,m,s,l),containerStyle:c,wrapperProps:p(()=>({style:{width:`100%`,height:`${g.value-h.value}px`,marginTop:`${h.value}px`}})),currentList:a,containerRef:s}}var Ee={app:{name:`x18n`,loading:`Loading the project…`,error:`Could not connect: {message}`,project:`Project`,static:`Read-only report`,staticHint:"A snapshot built with `x18n build`. Run `x18n ui` to edit.",language:`Language`},auth:{label:`Authentication`,title:`Connect to x18n`,hint:"Enter the 6-digit code that `x18n ui` printed in the terminal.",code:`Auth code`,submit:`Connect`,rejected:`That code did not work. Check the terminal for the current one.`},nav:{overview:`Overview`,keys:`Keys`,usages:`Usages`,extract:`Extract`,project:`Project`},localeBar:{title:`Locales`,bar:`Locales to show`,toggle:`Show or hide {locale}`,shown:`{shown} of {total} shown`,showAll:`Show all`,noneShown:`Every locale is hidden. Pick one in the bar above.`,resetOrder:`Reset order`,flags:`Show flags`,reorder:`Drag, or press Alt and an arrow key, to reorder.`},overview:{keys:`Keys`,resources:`Resources`,usages:`Usages`,locales:`Locales`,coverage:`Coverage`,source:`source`,missing:`{missing} missing, {empty} empty`,diagnostics:`Diagnostics`,errors:`Errors: {count}`,warnings:`Warnings: {count}`,clean:`No problems found.`,presets:`Presets`,noPresets:`No preset detected.`,recent:`Recent changes`,noRecent:`Nothing changed since the page opened.`,outdated:`{count} outdated`},keys:{search:`Search keys and values`,namespace:`Namespace`,allNamespaces:`All namespaces`,missingIn:`Missing in`,anyLocale:`Any locale`,missingInLocale:`Missing in {locale}`,unused:`Unused`,withDiagnostics:`With problems`,count:`{shown} of {total} keys`,grid:`Keys and values per locale`,key:`Key`,unusedHint:`No code uses this key`,diagnosticsHint:`Problems on this key`,editValue:`Value of {key} in {locale}`,empty:`No keys match.`,helpMove:`Arrows or j/k to move`,helpEdit:`Enter to edit, Esc to cancel`,helpOpen:`o to open the key`,helpSearch:`/ to search`,outdated:`Outdated`,sort:`Sort`,sortKey:`Key`,sortRecent:`Recently changed`},value:{missing:`missing`,empty:`empty`},edit:{rejected:`Not saved: {key} in {locale}: {message}.`,placeholdersMissing:`missing placeholders {names}`,placeholdersExtra:`unexpected placeholders {names}`,saveAnyway:`Save anyway`,dismiss:`Dismiss`},detail:{label:`Key`,back:`Back to keys`,notFound:`This key is not defined.`,values:`Values`,edit:`Edit`,diagnostics:`Problems`,usages:`Usages ({count})`,noUsages:`No code uses this key.`,possible:`possible`,openInEditor:`Open in editor`,showAllLocales:`Show all locales`,file:`File`},prompt:{copy:`Copy translate prompt`,copied:`Copied`,hint:`Copy a prompt for an LLM or agent that translates the missing messages`,copyStale:`Copy prompt with outdated`,staleHint:`Copy a prompt for an LLM or agent that translates the missing messages and updates the outdated ones`,copyAll:`Copy translate prompt for all locales`,allHint:`Copy a prompt for an LLM or agent that translates what is missing in every locale`},locale:{label:`Locale`,openInGrid:`Show in the grid`,progress:`{translated} of {total} translated ({percent})`,missing:`Missing ({count})`,empty:`Empty ({count})`,problems:`Placeholder and syntax problems ({count})`,notFound:`This project has no such locale.`,complete:`Every key is translated.`,outdated:`Outdated ({count})`},usages:{missing:`Not defined ({count})`,unused:`Unused ({count})`,dynamic:`Dynamic ({count})`,all:`All ({count})`,missingHint:`Keys used in code but not defined in the source locale.`,unusedHint:`Keys defined in the source locale that no code uses.`,dynamicHint:`Usages with a computed key. Keys under their prefix count as used.`,filter:`Filter by file or key`},extract:{hint:`Hard-coded strings with a proposed key. Edit keys, untick strings to skip, then apply.`,none:`No hard-coded strings found.`,key:`Key`,apply:`Extract ({count})`,done:`Extracted keys: {count}. Changed files: {files}.`,strings:`Strings: {count}`},project:{presets:`Presets`,finders:`Locale finders`,resources:`Resources: {count}`,formats:`Formats`,scanners:`Scanners`,files:`Files: {count}`,problems:`Problems`,conflict:`.{extension}: {winner} wins over {loser}`,config:`Config and where each value comes from`,showAllPresets:`Show all presets`},history:{title:`History`,local:`changed locally`,outdated:`outdated`,outdatedHint:`The source message changed after this translation`,sourceThen:`Source then`,sourceNow:`Source now`,more:`and {count} more`,locales:`{count} locales`}};function K(e,t=``,n=new Map){for(let[r,i]of Object.entries(e))typeof i==`string`?n.set(`${t}${r}`,i):K(i,`${t}${r}.`,n);return n}var De=[`en`,`zh-Hans`,`zh-Hant`,`ja`,`ko`,`de`,`fr`,`es`,`pt-BR`,`ru`],Oe=Object.assign({"./locales/de.json":()=>b(()=>import(`./DBxHLmxb.js`).then(e=>e.default),[],import.meta.url),"./locales/es.json":()=>b(()=>import(`./BQbZdzYt.js`).then(e=>e.default),[],import.meta.url),"./locales/fr.json":()=>b(()=>import(`./B95Xo308.js`).then(e=>e.default),[],import.meta.url),"./locales/ja.json":()=>b(()=>import(`./BLH-zAnn.js`).then(e=>e.default),[],import.meta.url),"./locales/ko.json":()=>b(()=>import(`./C-7DUGFU.js`).then(e=>e.default),[],import.meta.url),"./locales/pt-BR.json":()=>b(()=>import(`./Cbqdjx_Y.js`).then(e=>e.default),[],import.meta.url),"./locales/ru.json":()=>b(()=>import(`./CZm1hx3M.js`).then(e=>e.default),[],import.meta.url),"./locales/zh-Hans.json":()=>b(()=>import(`./CgfzuETb.js`).then(e=>e.default),[],import.meta.url),"./locales/zh-Hant.json":()=>b(()=>import(`./BQFxnUqO.js`).then(e=>e.default),[],import.meta.url)}),q=K(Ee),ke=`x18n:lang`,J=r(`en`),Ae=m(q);function je(e){let t;try{t=new Intl.Locale(e).maximize()}catch{return}return t.language===`zh`?t.script===`Hant`?`zh-Hant`:`zh-Hans`:t.language===`pt`?`pt-BR`:De.find(e=>e===t.language)}function Me(e){return new Intl.DisplayNames([e],{type:`language`}).of(e)??e}function Ne(){J.value=[new URLSearchParams(location.search).get(`lang`),localStorage.getItem(ke),...navigator.languages].map(e=>e?je(e):void 0).find(e=>e!==void 0)??`en`,i(async()=>{let e=J.value;document.documentElement.lang=e;let t=e===`en`?void 0:await Oe[`./locales/${e}.json`]?.();e===J.value&&(Ae.value=t?K(t):q)})}function Pe(e){J.value=e,localStorage.setItem(ke,e)}function Fe(e,t={}){return(Ae.value.get(e)??q.get(e)??e).replace(/\{(\w+)\}/g,(e,n)=>{let r=t[n];return r===void 0?e:typeof r==`number`?r.toLocaleString(J.value):r})}function Ie(e){return(e/100).toLocaleString(J.value,{style:`percent`,maximumFractionDigits:1})}function Le(e){try{return new Intl.DisplayNames([J.value],{type:`language`}).of(e)}catch{return}}var Re=[[`year`,31536e6],[`month`,2592e6],[`week`,6048e5],[`day`,864e5],[`hour`,36e5],[`minute`,6e4]];function ze(e){let t=e-Date.now(),[n,r]=Re.find(([,e])=>Math.abs(t)>=e)??[`second`,1e3];return new Intl.RelativeTimeFormat(J.value,{numeric:`auto`}).format(Math.round(t/r),n)}var Be=m(),Ve=m(),Y=r(),He=r(0),Ue=m([]),We=p(()=>Ve.value?.projects.find(e=>e.name===Y.value)),X=L(`x18n:locale-order`,{}),Z=p(()=>{let e=We.value;if(!e)return[];let t=[...e.locales.filter(t=>t.code===e.sourceLocale),...e.locales.filter(t=>t.code!==e.sourceLocale)],n=X.value[e.name]??[],r=e=>{let t=n.indexOf(e);return t===-1?n.length:t};return t.map((e,t)=>({locale:e,i:t})).sort((e,t)=>r(e.locale.code)-r(t.locale.code)||e.i-t.i).map(({locale:e})=>e)}),Ge=p(()=>!!X.value[Y.value??``]);function Ke(e,t){let n=Y.value;if(!n)return;let r=Z.value.map(e=>e.code).filter(t=>t!==e);r.splice(Math.max(0,Math.min(t,r.length)),0,e),X.value={...X.value,[n]:r}}function qe(){let{[Y.value??``]:e,...t}=X.value;X.value=t}var Q=L(`x18n:hidden-locales`,{}),$=p(()=>new Set(Q.value[Y.value??``]??[])),Je=p(()=>Z.value.filter(e=>!$.value.has(e.code)));function Ye(e){return!$.value.has(e)}function Xe(e){let t=Y.value;if(!t)return;let n=new Set($.value);n.delete(e)||n.add(e),Q.value={...Q.value,[t]:[...n]}}function Ze(){let{[Y.value??``]:e,...t}=Q.value;Q.value=t}function Qe(e){let t=m(),n=0;return i(()=>{let r=Be.value,i=Y.value;if(He.value,!r||!i)return;let a=++n;e(r,i).then(e=>{a===n&&(t.value=e)})}),t}export{J as C,be as D,L as E,b as O,Fe as S,le as T,ze as _,Z as a,Pe as b,Y as c,He as d,Ze as f,Me as g,Je as h,Ye as i,Ue as l,Qe as m,We as n,Ke as o,Xe as p,Ge as r,Ve as s,Be as t,qe as u,Ie as v,De as w,Ne as x,Le as y};
1
+ import{B as e,E as t,K as n,Q as r,V as i,W as a,Y as o,Z as s,et as c,it as l,j as u,nt as d,rt as f,s as p,tt as m,v as h}from"./B4prFwj0.js";var g=`modulepreload`,ee=function(e,t){return new URL(e,t).href},_={},v=function(e){return e.pathname.endsWith(`.css`)},y=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},b=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=ee(t,n);let r=s(t),i=v(r);return y(_,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:g,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{t.addEventListener(`load`,e),t.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${r}`)))})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};function x(e,t){return n()?(o(e,t),!0):!1}var S=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var C=Object.prototype.toString,te=e=>C.call(e)===`[object Object]`,w=()=>{},T=E();function E(){var e,t;return S&&!!((e=window)!=null&&(e=e.navigator)!=null&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function ne(...e){if(e.length!==1)return d(...e);let t=e[0];return typeof t==`function`?s(a(()=>({get:t,set:w}))):r(t)}function re(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return`cancel`in e&&Object.assign(n,{cancel:e.cancel,flush:e.flush,isPending:e.isPending}),n}var D=e=>e();function ie(e=D,t={}){let{initialState:n=`active`}=t,r=ne(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:c(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function O(e){return Array.isArray(e)?e:[e]}function ae(e){return e||h()}function oe(t,n,r={}){let{eventFilter:i=D,...a}=r;return e(t,re(i,n),a)}function se(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=ie(r,{initialState:i});return{stop:oe(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function k(e,n=!0,r){ae(r)?u(e,r):n?e():t(e)}function ce(t,n,r){return e(t,n,{...r,immediate:!0})}var A=S?window:void 0;S&&window.document,S&&window.navigator,S&&window.location;function j(e){let t=f(e);return t?.$el??t}function M(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),n=p(()=>{let t=O(f(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return ce(()=>[n.value?.map(e=>j(e))??[A].filter(e=>e!=null),O(f(n.value?e[1]:e[0])),O(l(n.value?e[2]:e[1])),f(n.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=te(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var N=!1;function le(e,t,n={}){let{window:r=A,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:w,cancel:w,trigger:w}:w;if(T&&!N){N=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,w,e)),r.document.documentElement.addEventListener(`click`,w,e)}let c=!0,l=e=>f(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=j(t);return n&&(e.target===n||e.composedPath().includes(n))}});function u(e){let t=f(e);return t&&t.$.subTree.shapeFlag===16}function d(e,t){let n=f(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let p=n=>{let r=j(e);n.target!=null&&(!(r instanceof Element)&&u(e)&&d(e,n)||r&&r!==n.target&&!n.composedPath().includes(r)&&(`detail`in n&&n.detail===0&&(c=!l(n)),c?t(n):c=!0))},m=!1,h=[M(r,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:a}),M(r,`pointerdown`,t=>{let n=j(e);c=!l(t)&&!(!n||t.composedPath().includes(n))},{passive:!0}),o&&M(r,`blur`,n=>{setTimeout(()=>{let i=j(e),a=r.document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;a?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return s?{stop:g,cancel:()=>{c=!1},trigger:e=>{c=!0,p(e),c=!1}}:g}function ue(){let e=m(!1),t=h();return t&&u(()=>{e.value=!0},t),e}function de(e){let t=ue();return p(()=>(t.value,!!e()))}var P=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{},F=`__vueuse_ssr_handlers__`,fe=pe();function pe(){return F in P||(P[F]=P[F]||{}),P[F]}function me(e,t){return fe[e]||t}function he(e){return e==null?`any`:e instanceof Set?`set`:e instanceof Map?`map`:e instanceof Date?`date`:typeof e==`boolean`?`boolean`:typeof e==`string`?`string`:typeof e==`object`?`object`:Number.isNaN(e)?`any`:`number`}var ge={boolean:{read:e=>e===`true`,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},I=`vueuse-storage`;function _e(n,i,a,o={}){let{flush:s=`pre`,deep:c=!0,listenToStorageChanges:l=!0,writeDefaults:u=!0,mergeDefaults:d=!1,shallow:h,window:g=A,eventFilter:ee,onError:_=e=>{console.error(e)},initOnMounted:v}=o,y=(h?m:r)(typeof i==`function`?i():i),b=p(()=>f(n));if(!a)try{a=me(`getDefaultStorage`,()=>A?.localStorage)()}catch(e){_(e)}if(!a)return y;let x=f(i),S=he(x),C=o.serializer??ge[S],{pause:te,resume:w}=se(y,e=>ne(e),{flush:s,deep:c,eventFilter:ee});e(b,()=>D(),{flush:s});let T=!1;g&&l&&(a instanceof Storage?M(g,`storage`,e=>{(!v||T)&&D(e)},{passive:!0}):M(g,I,e=>{(!v||T)&&ie(e)})),v?k(()=>{T=!0,D()}):D();function E(e,t){if(g){let n={key:b.value,oldValue:e,newValue:t,storageArea:a};g.dispatchEvent(a instanceof Storage?new StorageEvent(`storage`,n):new CustomEvent(I,{detail:n}))}}function ne(e){try{let t=a.getItem(b.value);if(e==null)E(t,null),a.removeItem(b.value);else{let n=C.write(e);t!==n&&(a.setItem(b.value,n),E(t,n))}}catch(e){_(e)}}function re(e){let t=e?e.newValue:a.getItem(b.value);if(t==null)return u&&x!=null&&a.setItem(b.value,C.write(x)),x;if(!e&&d){let e=C.read(t);return typeof d==`function`?d(e,x):S===`object`&&!Array.isArray(e)?{...x,...e}:e}return typeof t==`string`?C.read(t):t}function D(e){if(!(e&&e.storageArea!==a)){if(e&&e.key==null)y.value=x;else if(!(e&&e.key!==b.value)){te();try{let t=C.write(y.value);(e===void 0||e?.newValue!==t)&&(y.value=re(e))}catch(e){_(e)}finally{e?t(w):w()}}}}function ie(e){D(e.detail)}return y}function ve(t,n,r={}){let{window:i=A,...a}=r,o,s=de(()=>i&&`ResizeObserver`in i),c=()=>{o&&=(o.disconnect(),void 0)},l=p(()=>{let e=f(t);return Array.isArray(e)?e.map(e=>j(e)):[j(e)]}),u=e(l,e=>{if(c(),s.value&&i){o=new ResizeObserver(n);for(let t of e)t instanceof Element&&o.observe(t,a)}},{immediate:!0,flush:`post`}),d=()=>{c(),u()};return x(d),{isSupported:s,stop:d}}function ye(t,n={width:0,height:0},r={}){let{window:i=A,box:a=`content-box`}=r,o=p(()=>{var e;return(e=j(t))==null||(e=e.namespaceURI)==null?void 0:e.includes(`svg`)}),s=m(n.width),c=m(n.height),{stop:l}=ve(t,([e])=>{let n=a===`border-box`?e.borderBoxSize:a===`content-box`?e.contentBoxSize:e.devicePixelContentBoxSize;if(i&&o.value){let e=j(t);if(e){let t=e.getBoundingClientRect();s.value=t.width,c.value=t.height}}else if(n){let e=O(n);s.value=e.reduce((e,{inlineSize:t})=>e+t,0),c.value=e.reduce((e,{blockSize:t})=>e+t,0)}else s.value=e.contentRect.width,c.value=e.contentRect.height},r);k(()=>{let e=j(t);if(e&&`offsetWidth`in e){if(a===`content-box`&&i){let t=i.getComputedStyle(e),n=Number.parseFloat(t.paddingLeft)+Number.parseFloat(t.paddingRight),r=Number.parseFloat(t.paddingTop)+Number.parseFloat(t.paddingBottom),a=Number.parseFloat(t.borderLeftWidth)+Number.parseFloat(t.borderRightWidth),o=Number.parseFloat(t.borderTopWidth)+Number.parseFloat(t.borderBottomWidth);s.value=e.offsetWidth-n-a,c.value=e.offsetHeight-r-o}else s.value=e.offsetWidth,c.value=e.offsetHeight}else e&&(s.value=n.width,c.value=n.height)});let u=e(()=>j(t),e=>{s.value=e?n.width:0,c.value=e?n.height:0});function d(){l(),u()}return{width:s,height:c,stop:d}}function L(e,t,n={}){let{window:r=A}=n;return _e(e,t,r?.localStorage,n)}function be(e,t){let{containerStyle:n,wrapperProps:r,scrollTo:i,calculateRange:a,currentList:o,containerRef:s}=`itemHeight`in t?Te(t,e):we(t,e);return{list:o,scrollTo:i,containerProps:{ref:s,onScroll:()=>{a()},style:n},wrapperProps:r}}function R(e){let t=m(null),n=ye(t),i=r([]),a=m(e);return{state:r({start:0,end:10}),source:a,currentList:i,size:n,containerRef:t}}function z(e,t,n){return r=>{if(typeof n==`number`)return Math.ceil(r/n);let{start:i=0}=e.value,a=0,o=0;for(let e=i;e<t.value.length;e++){let t=n(e);if(a+=t,o=e,a>r)break}return o-i}}function B(e,t){return n=>{if(typeof t==`number`)return Math.floor(n/t)+1;let r=0,i=0;for(let a=0;a<e.value.length;a++){let e=t(a);if(r+=e,r>=n){i=a;break}}return i+1}}function V(e,t,n,r,{containerRef:i,state:a,currentList:o,source:s}){return()=>{let c=i.value;if(c){let i=n(e===`vertical`?c.scrollTop:c.scrollLeft),l=r(e===`vertical`?c.clientHeight:c.clientWidth),u=i-t,d=i+l+t;a.value={start:u<0?0:u,end:d>s.value.length?s.value.length:d},o.value=s.value.slice(a.value.start,a.value.end).map((e,t)=>({data:e,index:t+a.value.start}))}}}function H(e,t){return n=>typeof e==`number`?n*e:t.value.slice(0,n).reduce((t,n,r)=>t+e(r),0)}function U(t,n,r,i,a){e([t.width,t.height,n,r,i],()=>{a()})}function W(e,t){return p(()=>typeof e==`number`?t.value.length*e:t.value.reduce((t,n,r)=>t+e(r),0))}var xe={horizontal:`scrollLeft`,vertical:`scrollTop`},Se={horizontal:`left`,vertical:`top`},G={behavior:`auto`,block:`start`,inline:`nearest`};function Ce(e,t,n,r,i){return(a,o=G)=>{if(!r.value)return;o={...G,...o};let s=0,c=o[e===`horizontal`?`inline`:`block`];if(c){let t=e===`horizontal`?r.value.clientWidth:r.value.clientHeight,o=typeof i==`number`?i:i(a);if(c===`center`)s=t/2-o/2;else if(c===`end`)s=t-o;else if(c===`nearest`){let i=r.value[xe[e]];n(a)>i+t/2&&(s=t-o)}}r.value.scrollTo({[Se[e]]:n(a)-s,behavior:o.behavior}),t()}}function we(e,t){let n=R(t),{state:r,source:i,currentList:a,size:o,containerRef:s}=n,c={overflowX:`auto`},{itemWidth:l,overscan:u=5}=e,d=z(r,i,l),f=V(`horizontal`,u,B(i,l),d,n),m=H(l,i),h=p(()=>m(r.value.start)),g=W(l,i);return U(o,i,g,s,f),{scrollTo:Ce(`horizontal`,f,m,s,l),calculateRange:f,wrapperProps:p(()=>({style:{height:`100%`,width:`${g.value-h.value}px`,marginLeft:`${h.value}px`,display:`flex`}})),containerStyle:c,currentList:a,containerRef:s}}function Te(e,t){let n=R(t),{state:r,source:i,currentList:a,size:o,containerRef:s}=n,c={overflowY:`auto`},{itemHeight:l,overscan:u=5}=e,d=z(r,i,l),f=V(`vertical`,u,B(i,l),d,n),m=H(l,i),h=p(()=>m(r.value.start)),g=W(l,i);return U(o,i,g,s,f),{calculateRange:f,scrollTo:Ce(`vertical`,f,m,s,l),containerStyle:c,wrapperProps:p(()=>({style:{width:`100%`,height:`${g.value-h.value}px`,marginTop:`${h.value}px`}})),currentList:a,containerRef:s}}var Ee={app:{name:`x18n`,loading:`Loading the project…`,error:`Could not connect: {message}`,project:`Project`,static:`Read-only report`,staticHint:"A snapshot built with `x18n build`. Run `x18n ui` to edit.",language:`Language`},auth:{label:`Authentication`,title:`Connect to x18n`,hint:"Enter the 6-digit code that `x18n ui` printed in the terminal.",code:`Auth code`,submit:`Connect`,rejected:`That code did not work. Check the terminal for the current one.`},nav:{overview:`Overview`,keys:`Keys`,usages:`Usages`,extract:`Extract`,project:`Project`},localeBar:{title:`Locales`,bar:`Locales to show`,toggle:`Show or hide {locale}`,shown:`{shown} of {total} shown`,showAll:`Show all`,noneShown:`Every locale is hidden. Pick one in the bar above.`,resetOrder:`Reset order`,flags:`Show flags`,reorder:`Drag, or press Alt and an arrow key, to reorder.`},overview:{keys:`Keys`,resources:`Resources`,usages:`Usages`,locales:`Locales`,coverage:`Coverage`,source:`source`,missing:`{missing} missing, {empty} empty`,diagnostics:`Diagnostics`,errors:`Errors: {count}`,warnings:`Warnings: {count}`,clean:`No problems found.`,presets:`Presets`,noPresets:`No preset detected.`,recent:`Recent changes`,noRecent:`Nothing changed since the page opened.`,outdated:`{count} outdated`},keys:{search:`Search keys and values`,namespace:`Namespace`,allNamespaces:`All namespaces`,missingIn:`Missing in`,anyLocale:`Any locale`,missingInLocale:`Missing in {locale}`,unused:`Unused`,withDiagnostics:`With problems`,count:`{shown} of {total} keys`,grid:`Keys and values per locale`,key:`Key`,unusedHint:`No code uses this key`,diagnosticsHint:`Problems on this key`,editValue:`Value of {key} in {locale}`,empty:`No keys match.`,helpMove:`Arrows or j/k to move`,helpEdit:`Enter to edit, Esc to cancel`,helpOpen:`o to open the key`,helpSearch:`/ to search`,outdated:`Outdated`,sort:`Sort`,sortKey:`Key`,sortRecent:`Recently changed`},value:{missing:`missing`,empty:`empty`},edit:{rejected:`Not saved: {key} in {locale}: {message}.`,placeholdersMissing:`missing placeholders {names}`,placeholdersExtra:`unexpected placeholders {names}`,saveAnyway:`Save anyway`,dismiss:`Dismiss`},detail:{label:`Key`,back:`Back to keys`,notFound:`This key is not defined.`,values:`Values`,edit:`Edit`,diagnostics:`Problems`,usages:`Usages ({count})`,noUsages:`No code uses this key.`,possible:`possible`,openInEditor:`Open in editor`,showAllLocales:`Show all locales`,file:`File`},prompt:{copy:`Copy translate prompt`,copied:`Copied`,hint:`Copy a prompt for an LLM or agent that translates the missing messages`,copyStale:`Copy prompt with outdated`,staleHint:`Copy a prompt for an LLM or agent that translates the missing messages and updates the outdated ones`,copyAll:`Copy translate prompt for all locales`,allHint:`Copy a prompt for an LLM or agent that translates what is missing in every locale`},locale:{label:`Locale`,openInGrid:`Show in the grid`,progress:`{translated} of {total} translated ({percent})`,missing:`Missing ({count})`,empty:`Empty ({count})`,problems:`Placeholder and syntax problems ({count})`,notFound:`This project has no such locale.`,complete:`Every key is translated.`,outdated:`Outdated ({count})`},usages:{missing:`Not defined ({count})`,unused:`Unused ({count})`,dynamic:`Dynamic ({count})`,all:`All ({count})`,missingHint:`Keys used in code but not defined in the source locale.`,unusedHint:`Keys defined in the source locale that no code uses.`,dynamicHint:`Usages with a computed key. Keys under their prefix count as used.`,filter:`Filter by file or key`},extract:{hint:`Hard-coded strings with a proposed key. Edit keys, untick strings to skip, then apply.`,none:`No hard-coded strings found.`,key:`Key`,apply:`Extract ({count})`,done:`Extracted keys: {count}. Changed files: {files}.`,strings:`Strings: {count}`},project:{presets:`Presets`,finders:`Locale finders`,resources:`Resources: {count}`,formats:`Formats`,scanners:`Scanners`,files:`Files: {count}`,problems:`Problems`,conflict:`.{extension}: {winner} wins over {loser}`,config:`Config and where each value comes from`,showAllPresets:`Show all presets`},history:{title:`History`,local:`changed locally`,outdated:`outdated`,outdatedHint:`The source message changed after this translation`,sourceThen:`Source then`,sourceNow:`Source now`,more:`and {count} more`,locales:`{count} locales`},sidebar:{list:`List view`,tree:`Tree view`,filter:`Filter keys`,view:`Key list view`}};function K(e,t=``,n=new Map){for(let[r,i]of Object.entries(e))typeof i==`string`?n.set(`${t}${r}`,i):K(i,`${t}${r}.`,n);return n}var De=[`en`,`zh-Hans`,`zh-Hant`,`ja`,`ko`,`de`,`fr`,`es`,`pt-BR`,`ru`],Oe=Object.assign({"./locales/de.json":()=>b(()=>import(`./CU-cHgDp.js`).then(e=>e.default),[],import.meta.url),"./locales/es.json":()=>b(()=>import(`./D4W_YgBv.js`).then(e=>e.default),[],import.meta.url),"./locales/fr.json":()=>b(()=>import(`./Cnqs6S_B.js`).then(e=>e.default),[],import.meta.url),"./locales/ja.json":()=>b(()=>import(`./eVN_U-F6.js`).then(e=>e.default),[],import.meta.url),"./locales/ko.json":()=>b(()=>import(`./BWdW6dXs.js`).then(e=>e.default),[],import.meta.url),"./locales/pt-BR.json":()=>b(()=>import(`./D3lsgOGg.js`).then(e=>e.default),[],import.meta.url),"./locales/ru.json":()=>b(()=>import(`./D5tpRc1q.js`).then(e=>e.default),[],import.meta.url),"./locales/zh-Hans.json":()=>b(()=>import(`./z56wu47o.js`).then(e=>e.default),[],import.meta.url),"./locales/zh-Hant.json":()=>b(()=>import(`./BR2xHYez.js`).then(e=>e.default),[],import.meta.url)}),q=K(Ee),ke=`x18n:lang`,J=r(`en`),Ae=m(q);function je(e){let t;try{t=new Intl.Locale(e).maximize()}catch{return}return t.language===`zh`?t.script===`Hant`?`zh-Hant`:`zh-Hans`:t.language===`pt`?`pt-BR`:De.find(e=>e===t.language)}function Me(e){return new Intl.DisplayNames([e],{type:`language`}).of(e)??e}function Ne(){J.value=[new URLSearchParams(location.search).get(`lang`),localStorage.getItem(ke),...navigator.languages].map(e=>e?je(e):void 0).find(e=>e!==void 0)??`en`,i(async()=>{let e=J.value;document.documentElement.lang=e;let t=e===`en`?void 0:await Oe[`./locales/${e}.json`]?.();e===J.value&&(Ae.value=t?K(t):q)})}function Pe(e){J.value=e,localStorage.setItem(ke,e)}function Fe(e,t={}){return(Ae.value.get(e)??q.get(e)??e).replace(/\{(\w+)\}/g,(e,n)=>{let r=t[n];return r===void 0?e:typeof r==`number`?r.toLocaleString(J.value):r})}function Ie(e){return(e/100).toLocaleString(J.value,{style:`percent`,maximumFractionDigits:1})}function Le(e){try{return new Intl.DisplayNames([J.value],{type:`language`}).of(e)}catch{return}}var Re=[[`year`,31536e6],[`month`,2592e6],[`week`,6048e5],[`day`,864e5],[`hour`,36e5],[`minute`,6e4]];function ze(e){let t=e-Date.now(),[n,r]=Re.find(([,e])=>Math.abs(t)>=e)??[`second`,1e3];return new Intl.RelativeTimeFormat(J.value,{numeric:`auto`}).format(Math.round(t/r),n)}var Be=m(),Ve=m(),Y=r(),He=r(0),Ue=m([]),We=p(()=>Ve.value?.projects.find(e=>e.name===Y.value)),X=L(`x18n:locale-order`,{}),Z=p(()=>{let e=We.value;if(!e)return[];let t=[...e.locales.filter(t=>t.code===e.sourceLocale),...e.locales.filter(t=>t.code!==e.sourceLocale)],n=X.value[e.name]??[],r=e=>{let t=n.indexOf(e);return t===-1?n.length:t};return t.map((e,t)=>({locale:e,i:t})).sort((e,t)=>r(e.locale.code)-r(t.locale.code)||e.i-t.i).map(({locale:e})=>e)}),Ge=p(()=>!!X.value[Y.value??``]);function Ke(e,t){let n=Y.value;if(!n)return;let r=Z.value.map(e=>e.code).filter(t=>t!==e);r.splice(Math.max(0,Math.min(t,r.length)),0,e),X.value={...X.value,[n]:r}}function qe(){let{[Y.value??``]:e,...t}=X.value;X.value=t}var Q=L(`x18n:hidden-locales`,{}),$=p(()=>new Set(Q.value[Y.value??``]??[])),Je=p(()=>Z.value.filter(e=>!$.value.has(e.code)));function Ye(e){return!$.value.has(e)}function Xe(e){let t=Y.value;if(!t)return;let n=new Set($.value);n.delete(e)||n.add(e),Q.value={...Q.value,[t]:[...n]}}function Ze(){let{[Y.value??``]:e,...t}=Q.value;Q.value=t}function Qe(e){let t=m(),n=0;return i(()=>{let r=Be.value,i=Y.value;if(He.value,!r||!i)return;let a=++n;e(r,i).then(e=>{a===n&&(t.value=e)})}),t}export{J as C,be as D,L as E,b as O,Fe as S,le as T,ze as _,Z as a,Pe as b,Y as c,He as d,Ze as f,Me as g,Je as h,Ye as i,Ue as l,Qe as m,We as n,Ke as o,Xe as p,Ge as r,Ve as s,Be as t,qe as u,Ie as v,De as w,Ne as x,Le as y};
@@ -1 +1 @@
1
- import{Et as e,H as t,M as n,P as r,Q as i,U as a,_ as o,c as s,d as c,h as l,it as u,l as d,m as f,r as p,s as m,u as h}from"./B4prFwj0.js";import{o as g}from"./DoHg1T7s.js";import{S as _,m as v}from"./Bqlbbq4u.js";import{i as y}from"#entry";import{t as b}from"./SGqoyjTw.js";import{t as x}from"./ztSLDBsK.js";import{t as S}from"./BEQcjiBv.js";import{t as C}from"./C7ReGOzp.js";var w={class:`flex flex-wrap items-center gap-3 border-b border-base px-4 py-3`},T=[`placeholder`,`aria-label`],E={class:`border-b border-base px-4 py-2 text-xs color-muted`},D={class:`font-mono font-medium color-error`},O={class:`border-b border-base px-4 py-2 text-xs color-muted`},k={class:`border-b border-base px-4 py-2 text-xs color-muted`},A={class:`flex items-center gap-2`},j={class:`font-mono text-xs color-info`},M={key:1,class:`truncate font-mono text-xs color-muted`},N=o({__name:`usages`,setup(o){let N=v((e,t)=>e.analysis(t)),P=v((e,t)=>e.usages(t)),F=i(`missing`),I=i(``),L=m(()=>{let e=new Map;for(let t of N.value?.undefinedUsages??[]){let n=e.get(t.key??t.raw)??[];e.set(t.key??t.raw,n),n.push(t)}return[...e]}),R=m(()=>(P.value??[]).filter(e=>e.dynamic!==!1)),z=m(()=>(P.value??[]).filter(e=>!I.value||e.path.includes(I.value)||(e.key??e.raw).includes(I.value))),B=m(()=>[{value:`missing`,label:_(`usages.missing`,{count:L.value.length})},{value:`unused`,label:_(`usages.unused`,{count:N.value?.unused.length??0})},{value:`dynamic`,label:_(`usages.dynamic`,{count:R.value.length})},{value:`all`,label:_(`usages.all`,{count:P.value?.length??0})}]);return(i,o)=>(n(),d(x,null,{default:t(()=>[s(`div`,w,[l(C,{modelValue:F.value,"onUpdate:modelValue":o[0]||=e=>F.value=e,options:B.value,label:u(_)(`nav.usages`)},null,8,[`modelValue`,`options`,`label`]),F.value===`all`?a((n(),c(`input`,{key:0,"onUpdate:modelValue":o[1]||=e=>I.value=e,class:`input w-72`,placeholder:u(_)(`usages.filter`),"aria-label":u(_)(`usages.filter`)},null,8,T)),[[g,I.value]]):h(``,!0)]),F.value===`missing`?(n(),c(p,{key:0},[s(`p`,E,e(u(_)(`usages.missingHint`)),1),(n(!0),c(p,null,r(L.value,([t,i])=>(n(),c(`div`,{key:t,class:`grid gap-2 border-b border-base px-4 py-3`},[s(`span`,D,e(t),1),(n(!0),c(p,null,r(i,(e,t)=>(n(),c(`div`,{key:t,class:`grid gap-1`},[l(b,{path:e.path,line:e.line,column:e.column},null,8,[`path`,`line`,`column`]),l(S,{usage:e},null,8,[`usage`])]))),128))]))),128))],64)):F.value===`unused`?(n(),c(p,{key:1},[s(`p`,O,e(u(_)(`usages.unusedHint`)),1),(n(!0),c(p,null,r(u(N)?.unused,r=>(n(),d(u(y),{key:r,to:`/keys/${encodeURIComponent(r)}`,class:`focus-ring flex items-center gap-2 border-b border-base px-4 py-1.5 font-mono text-xs transition-colors hover:bg-hover`},{default:t(()=>[o[2]||=s(`span`,{class:`i-ph-ghost-duotone color-faint`},null,-1),f(` `+e(r),1)]),_:2},1032,[`to`]))),128))],64)):F.value===`dynamic`?(n(),c(p,{key:2},[s(`p`,k,e(u(_)(`usages.dynamicHint`)),1),(n(!0),c(p,null,r(R.value,(t,r)=>(n(),c(`div`,{key:r,class:`grid gap-1 border-b border-base px-4 py-3`},[s(`div`,A,[l(b,{path:t.path,line:t.line},null,8,[`path`,`line`]),s(`code`,j,e(t.raw),1)]),l(S,{usage:t},null,8,[`usage`])]))),128))],64)):(n(!0),c(p,{key:3},r(z.value,(r,i)=>(n(),c(`div`,{key:i,class:`grid grid-cols-[minmax(0,22rem)_1fr] items-center gap-4 border-b border-base px-4 py-1 transition-colors hover:bg-hover`},[l(b,{path:r.path,line:r.line},null,8,[`path`,`line`]),r.key?(n(),d(u(y),{key:0,to:`/keys/${encodeURIComponent(r.key)}`,class:`truncate font-mono text-xs hover:underline`},{default:t(()=>[f(e(r.key),1)]),_:2},1032,[`to`])):(n(),c(`span`,M,e(r.raw),1))]))),128))]),_:1}))}});export{N as default};
1
+ import{Et as e,H as t,M as n,P as r,Q as i,U as a,_ as o,c as s,d as c,h as l,it as u,l as d,m as f,r as p,s as m,u as h}from"./B4prFwj0.js";import{o as g}from"./DoHg1T7s.js";import{S as _,m as v}from"./DsqCc3fC.js";import{i as y}from"#entry";import{t as b}from"./0cXQUs3T.js";import{t as x}from"./ztSLDBsK.js";import{t as S}from"./BqPdh3b3.js";import{t as C}from"./C7ReGOzp.js";var w={class:`flex flex-wrap items-center gap-3 border-b border-base px-4 py-3`},T=[`placeholder`,`aria-label`],E={class:`border-b border-base px-4 py-2 text-xs color-muted`},D={class:`font-mono font-medium color-error`},O={class:`border-b border-base px-4 py-2 text-xs color-muted`},k={class:`border-b border-base px-4 py-2 text-xs color-muted`},A={class:`flex items-center gap-2`},j={class:`font-mono text-xs color-info`},M={key:1,class:`truncate font-mono text-xs color-muted`},N=o({__name:`usages`,setup(o){let N=v((e,t)=>e.analysis(t)),P=v((e,t)=>e.usages(t)),F=i(`missing`),I=i(``),L=m(()=>{let e=new Map;for(let t of N.value?.undefinedUsages??[]){let n=e.get(t.key??t.raw)??[];e.set(t.key??t.raw,n),n.push(t)}return[...e]}),R=m(()=>(P.value??[]).filter(e=>e.dynamic!==!1)),z=m(()=>(P.value??[]).filter(e=>!I.value||e.path.includes(I.value)||(e.key??e.raw).includes(I.value))),B=m(()=>[{value:`missing`,label:_(`usages.missing`,{count:L.value.length})},{value:`unused`,label:_(`usages.unused`,{count:N.value?.unused.length??0})},{value:`dynamic`,label:_(`usages.dynamic`,{count:R.value.length})},{value:`all`,label:_(`usages.all`,{count:P.value?.length??0})}]);return(i,o)=>(n(),d(x,null,{default:t(()=>[s(`div`,w,[l(C,{modelValue:F.value,"onUpdate:modelValue":o[0]||=e=>F.value=e,options:B.value,label:u(_)(`nav.usages`)},null,8,[`modelValue`,`options`,`label`]),F.value===`all`?a((n(),c(`input`,{key:0,"onUpdate:modelValue":o[1]||=e=>I.value=e,class:`input w-72`,placeholder:u(_)(`usages.filter`),"aria-label":u(_)(`usages.filter`)},null,8,T)),[[g,I.value]]):h(``,!0)]),F.value===`missing`?(n(),c(p,{key:0},[s(`p`,E,e(u(_)(`usages.missingHint`)),1),(n(!0),c(p,null,r(L.value,([t,i])=>(n(),c(`div`,{key:t,class:`grid gap-2 border-b border-base px-4 py-3`},[s(`span`,D,e(t),1),(n(!0),c(p,null,r(i,(e,t)=>(n(),c(`div`,{key:t,class:`grid gap-1`},[l(b,{path:e.path,line:e.line,column:e.column},null,8,[`path`,`line`,`column`]),l(S,{usage:e},null,8,[`usage`])]))),128))]))),128))],64)):F.value===`unused`?(n(),c(p,{key:1},[s(`p`,O,e(u(_)(`usages.unusedHint`)),1),(n(!0),c(p,null,r(u(N)?.unused,r=>(n(),d(u(y),{key:r,to:`/keys/${encodeURIComponent(r)}`,class:`focus-ring flex items-center gap-2 border-b border-base px-4 py-1.5 font-mono text-xs transition-colors hover:bg-hover`},{default:t(()=>[o[2]||=s(`span`,{class:`i-ph-ghost-duotone color-faint`},null,-1),f(` `+e(r),1)]),_:2},1032,[`to`]))),128))],64)):F.value===`dynamic`?(n(),c(p,{key:2},[s(`p`,k,e(u(_)(`usages.dynamicHint`)),1),(n(!0),c(p,null,r(R.value,(t,r)=>(n(),c(`div`,{key:r,class:`grid gap-1 border-b border-base px-4 py-3`},[s(`div`,A,[l(b,{path:t.path,line:t.line},null,8,[`path`,`line`]),s(`code`,j,e(t.raw),1)]),l(S,{usage:t},null,8,[`usage`])]))),128))],64)):(n(!0),c(p,{key:3},r(z.value,(r,i)=>(n(),c(`div`,{key:i,class:`grid grid-cols-[minmax(0,22rem)_1fr] items-center gap-4 border-b border-base px-4 py-1 transition-colors hover:bg-hover`},[l(b,{path:r.path,line:r.line},null,8,[`path`,`line`]),r.key?(n(),d(u(y),{key:0,to:`/keys/${encodeURIComponent(r.key)}`,class:`truncate font-mono text-xs hover:underline`},{default:t(()=>[f(e(r.key),1)]),_:2},1032,[`to`])):(n(),c(`span`,M,e(r.raw),1))]))),128))]),_:1}))}});export{N as default};
@@ -1,3 +1,3 @@
1
- import{B as e,Ct as t,Et as n,F as r,H as i,M as a,Q as o,_ as s,c,d as l,it as u,l as d,u as f,z as p}from"./B4prFwj0.js";import{s as m}from"./DoHg1T7s.js";import{S as h,T as g,c as _,s as v,t as y}from"./Bqlbbq4u.js";var b=[`aria-label`,`aria-expanded`],x={class:`border border-strong bg-base p-2 shadow-lg`},S=s({__name:`InfoPop`,props:{icon:{},label:{},align:{default:`right`},pinnable:{type:Boolean,default:!0}},emits:[`show`,`click`],setup(n,{emit:i}){let s=i,u=p(`root`),d=o(!1),h=o(!1);g(u,()=>h.value=!1),e(()=>d.value||h.value,e=>{e&&s(`show`)});function _(){n.pinnable?h.value=!h.value:s(`click`)}return(e,i)=>(a(),l(`span`,{ref_key:`root`,ref:u,class:`relative inline-flex`,onMouseenter:i[2]||=e=>d.value=!0,onMouseleave:i[3]||=e=>d.value=!1,onKeydown:i[4]||=m(e=>h.value=!1,[`escape`])},[r(e.$slots,`trigger`,{},()=>[c(`button`,{type:`button`,class:t([`btn-icon h-6 w-6 text-sm`,h.value&&`bg-hover color-base`]),"aria-label":n.label,"aria-expanded":d.value||h.value,onClick:_,onFocus:i[0]||=e=>d.value=!0,onBlur:i[1]||=e=>d.value=!1},[c(`span`,{class:t(n.icon)},null,2)],42,b)]),d.value||h.value?(a(),l(`div`,{key:0,class:t([`absolute top-full z-10 w-max max-w-96 pt-1`,n.align===`left`?`left-0`:`right-0`]),role:`tooltip`},[c(`div`,x,[r(e.$slots,`default`)])],2)):f(``,!0)],544))}}),C={class:`grid w-80 gap-2`},w={class:`text-xs font-medium`},T={class:`text-xs color-muted`},E={class:`max-h-64 of-auto whitespace-pre-wrap break-words border border-base p-2 font-mono text-[11px] leading-4`},D=s({__name:`CopyPrompt`,props:{text:{},label:{},hint:{}},setup(e){let t=e,r=o(!1);async function s(){await navigator.clipboard.writeText(t.text),r.value=!0,setTimeout(()=>r.value=!1,1500)}return(t,o)=>u(y)?.capabilities.prompts?(a(),d(S,{key:0,icon:r.value?`i-ph-check-duotone`:`i-ph-sparkle-duotone`,label:e.label,pinnable:!1,onClick:s},{default:i(()=>[c(`div`,C,[c(`span`,w,n(r.value?u(h)(`prompt.copied`):e.label),1),c(`p`,T,n(e.hint),1),c(`pre`,E,n(e.text),1)])]),_:1},8,[`icon`,`label`])):f(``,!0)}});function O(e){let t=(v.value?.projects.length??0)>1?_.value:void 0,n=t?` --project ${t}`:``,r=({locale:e,stale:t,key:r})=>`x18n prompt translate --to ${e}${r?` --keys ${r}`:``}${t?` --stale`:``}${n}`,[i]=e;return e.length===1&&i?[`Translate ${i.key?`the message \`${i.key}\``:`the missing${i.stale?` and outdated`:``} messages of this project`} into ${i.locale} with the x18n CLI.`,``,`Run \`${r(i)}\` and follow its instructions: it lists the messages with their context and says how to write the translations back.${i.key?``:` It works in pages, so repeat with the cursor it prints until \`x18n keys --missing ${i.locale}${n}\` lists nothing.`}`].join(`
1
+ import{B as e,Ct as t,Et as n,F as r,H as i,M as a,Q as o,_ as s,c,d as l,it as u,l as d,u as f,z as p}from"./B4prFwj0.js";import{s as m}from"./DoHg1T7s.js";import{S as h,T as g,c as _,s as v,t as y}from"./DsqCc3fC.js";var b=[`aria-label`,`aria-expanded`],x={class:`border border-strong bg-base p-2 shadow-lg`},S=s({__name:`InfoPop`,props:{icon:{},label:{},align:{default:`right`},pinnable:{type:Boolean,default:!0}},emits:[`show`,`click`],setup(n,{emit:i}){let s=i,u=p(`root`),d=o(!1),h=o(!1);g(u,()=>h.value=!1),e(()=>d.value||h.value,e=>{e&&s(`show`)});function _(){n.pinnable?h.value=!h.value:s(`click`)}return(e,i)=>(a(),l(`span`,{ref_key:`root`,ref:u,class:`relative inline-flex`,onMouseenter:i[2]||=e=>d.value=!0,onMouseleave:i[3]||=e=>d.value=!1,onKeydown:i[4]||=m(e=>h.value=!1,[`escape`])},[r(e.$slots,`trigger`,{},()=>[c(`button`,{type:`button`,class:t([`btn-icon h-6 w-6 text-sm`,h.value&&`bg-hover color-base`]),"aria-label":n.label,"aria-expanded":d.value||h.value,onClick:_,onFocus:i[0]||=e=>d.value=!0,onBlur:i[1]||=e=>d.value=!1},[c(`span`,{class:t(n.icon)},null,2)],42,b)]),d.value||h.value?(a(),l(`div`,{key:0,class:t([`absolute top-full z-10 w-max max-w-96 pt-1`,n.align===`left`?`left-0`:`right-0`]),role:`tooltip`},[c(`div`,x,[r(e.$slots,`default`)])],2)):f(``,!0)],544))}}),C={class:`grid w-80 gap-2`},w={class:`text-xs font-medium`},T={class:`text-xs color-muted`},E={class:`max-h-64 of-auto whitespace-pre-wrap break-words border border-base p-2 font-mono text-[11px] leading-4`},D=s({__name:`CopyPrompt`,props:{text:{},label:{},hint:{}},setup(e){let t=e,r=o(!1);async function s(){await navigator.clipboard.writeText(t.text),r.value=!0,setTimeout(()=>r.value=!1,1500)}return(t,o)=>u(y)?.capabilities.prompts?(a(),d(S,{key:0,icon:r.value?`i-ph-check-duotone`:`i-ph-sparkle-duotone`,label:e.label,pinnable:!1,onClick:s},{default:i(()=>[c(`div`,C,[c(`span`,w,n(r.value?u(h)(`prompt.copied`):e.label),1),c(`p`,T,n(e.hint),1),c(`pre`,E,n(e.text),1)])]),_:1},8,[`icon`,`label`])):f(``,!0)}});function O(e){let t=(v.value?.projects.length??0)>1?_.value:void 0,n=t?` --project ${t}`:``,r=({locale:e,stale:t,key:r})=>`x18n prompt translate --to ${e}${r?` --keys ${r}`:``}${t?` --stale`:``}${n}`,[i]=e;return e.length===1&&i?[`Translate ${i.key?`the message \`${i.key}\``:`the missing${i.stale?` and outdated`:``} messages of this project`} into ${i.locale} with the x18n CLI.`,``,`Run \`${r(i)}\` and follow its instructions: it lists the messages with their context and says how to write the translations back.${i.key?``:` It works in pages, so repeat with the cursor it prints until \`x18n keys --missing ${i.locale}${n}\` lists nothing.`}`].join(`
2
2
  `):[`Translate the missing messages of this project into each locale below with the x18n CLI.`,``,"For every locale, run its command and follow the instructions it prints: it lists the messages with their context and says how to write the translations back. It works in pages, so repeat with the cursor it prints until `x18n keys --missing <locale>` lists nothing.",``,...e.map(e=>`- ${e.locale}: \`${r(e)}\``)].join(`
3
3
  `)}export{D as n,S as r,O as t};
@@ -1 +1 @@
1
- {"id":"33bfcf49-6c29-4ff2-8a7c-2676280e43b0","timestamp":1792557716204}
1
+ {"id":"8a31ddf7-f214-42d6-b90e-fa6fcd47377d","timestamp":1792570318008}
@@ -0,0 +1 @@
1
+ {"id":"8a31ddf7-f214-42d6-b90e-fa6fcd47377d","timestamp":1792570318008,"prerendered":[]}
@@ -1 +1 @@
1
- var e={app:{error:`接続できませんでした: {message}`,language:`言語`,loading:`プロジェクトを読み込み中…`,name:`x18n`,project:`プロジェクト`,static:`読み取り専用レポート`,staticHint:"`x18n build` で作成したスナップショットです。編集するには `x18n ui` を実行してください。"},auth:{code:`認証コード`,hint:"`x18n ui` がターミナルに表示した 6 桁のコードを入力してください。",label:`認証`,rejected:`このコードは無効です。ターミナルで最新のコードを確認してください。`,submit:`接続`,title:`x18n に接続`},detail:{back:`キー一覧に戻る`,diagnostics:`問題`,edit:`編集`,label:`キー`,noUsages:`このキーを使用しているコードはありません。`,notFound:`このキーは定義されていません。`,openInEditor:`エディタで開く`,possible:`推定`,usages:`使用箇所 ({count})`,values:`値`,showAllLocales:`すべてのロケールを表示`,file:`ファイル`},edit:{dismiss:`閉じる`,placeholdersExtra:`想定外のプレースホルダー {names}`,placeholdersMissing:`不足しているプレースホルダー {names}`,rejected:`保存されませんでした: {locale} の {key}: {message}。`,saveAnyway:`このまま保存`},extract:{apply:`抽出 ({count})`,done:`抽出したキー: {count}。変更したファイル: {files}。`,hint:`ハードコードされた文字列と提案キーの一覧です。キーを編集し、スキップする文字列のチェックを外してから適用してください。`,key:`キー`,none:`ハードコードされた文字列は見つかりませんでした。`,strings:`文字列: {count}`},keys:{allNamespaces:`すべての名前空間`,anyLocale:`すべてのロケール`,count:`{shown} / {total} キー`,diagnosticsHint:`このキーの問題`,editValue:`{locale} の {key} の値`,empty:`一致するキーはありません。`,grid:`ロケールごとのキーと値`,helpEdit:`Enter で編集、Esc でキャンセル`,helpMove:`矢印キーまたは j/k で移動`,helpOpen:`o でキーを開く`,helpSearch:`/ で検索`,key:`キー`,missingIn:`未翻訳のロケール`,missingInLocale:`{locale} で未翻訳`,namespace:`名前空間`,search:`キーと値を検索`,unused:`未使用`,unusedHint:`このキーを使用しているコードはありません`,withDiagnostics:`問題あり`,outdated:`古い翻訳`,sort:`並び順`,sortKey:`キー`,sortRecent:`最近の変更`},locale:{complete:`すべてのキーが翻訳済みです。`,empty:`空 ({count})`,label:`ロケール`,missing:`未翻訳 ({count})`,notFound:`このプロジェクトにそのロケールはありません。`,openInGrid:`グリッドで表示`,problems:`プレースホルダーと構文の問題 ({count})`,progress:`{total} 件中 {translated} 件翻訳済み ({percent})`,outdated:`古い翻訳({count})`},localeBar:{bar:`表示するロケール`,noneShown:`すべてのロケールが非表示です。上のバーで選択してください。`,showAll:`すべて表示`,shown:`{shown} / {total} 表示中`,title:`ロケール`,toggle:`{locale} の表示を切り替え`,resetOrder:`順序をリセット`,flags:`国旗を表示`,reorder:`ドラッグ、または Alt と矢印キーで並べ替え。`},nav:{extract:`抽出`,keys:`キー`,overview:`概要`,project:`プロジェクト`,usages:`使用箇所`},overview:{clean:`問題は見つかりませんでした。`,coverage:`カバレッジ`,diagnostics:`診断`,errors:`エラー: {count}`,keys:`キー`,locales:`ロケール`,missing:`未翻訳 {missing}、空 {empty}`,noPresets:`プリセットは検出されませんでした。`,noRecent:`ページを開いてから変更はありません。`,presets:`プリセット`,recent:`最近の変更`,resources:`リソース`,source:`ソース`,usages:`使用箇所`,warnings:`警告: {count}`,outdated:`古い {count} 件`},project:{config:`設定と各値の由来`,conflict:`.{extension}: {winner} が {loser} より優先`,files:`ファイル: {count}`,finders:`ロケールファインダー`,formats:`フォーマット`,presets:`プリセット`,problems:`問題`,resources:`リソース: {count}`,scanners:`スキャナー`,showAllPresets:`すべてのプリセットを表示`},prompt:{copied:`コピーしました`,copy:`翻訳プロンプトをコピー`,hint:`未翻訳のメッセージを翻訳させる LLM またはエージェント向けのプロンプトをコピー`,copyStale:`古い翻訳も含めてプロンプトをコピー`,staleHint:`不足しているメッセージを翻訳し、古い翻訳を更新する LLM やエージェント向けのプロンプトをコピー`,copyAll:`すべてのロケールの翻訳プロンプトをコピー`,allHint:`すべてのロケールで不足しているメッセージを翻訳する LLM やエージェント向けのプロンプトをコピーします`},usages:{all:`すべて ({count})`,dynamic:`動的 ({count})`,dynamicHint:`キーが動的に計算される使用箇所です。そのプレフィックス配下のキーは使用中とみなされます。`,filter:`ファイルまたはキーで絞り込み`,missing:`未定義 ({count})`,missingHint:`コードで使用されているが、ソースロケールに定義されていないキーです。`,unused:`未使用 ({count})`,unusedHint:`ソースロケールに定義されているが、どのコードでも使用されていないキーです。`},value:{empty:`空`,missing:`未翻訳`},history:{title:`履歴`,local:`ローカルで変更`,outdated:`古い`,outdatedHint:`この翻訳の後にソースメッセージが変更されました`,sourceThen:`当時のソース`,sourceNow:`現在のソース`,more:`ほか {count} 件`,locales:`{count} ロケール`}};export{e as default};
1
+ var e={app:{error:`接続できませんでした: {message}`,language:`言語`,loading:`プロジェクトを読み込み中…`,name:`x18n`,project:`プロジェクト`,static:`読み取り専用レポート`,staticHint:"`x18n build` で作成したスナップショットです。編集するには `x18n ui` を実行してください。"},auth:{code:`認証コード`,hint:"`x18n ui` がターミナルに表示した 6 桁のコードを入力してください。",label:`認証`,rejected:`このコードは無効です。ターミナルで最新のコードを確認してください。`,submit:`接続`,title:`x18n に接続`},detail:{back:`キー一覧に戻る`,diagnostics:`問題`,edit:`編集`,label:`キー`,noUsages:`このキーを使用しているコードはありません。`,notFound:`このキーは定義されていません。`,openInEditor:`エディタで開く`,possible:`推定`,usages:`使用箇所 ({count})`,values:`値`,showAllLocales:`すべてのロケールを表示`,file:`ファイル`},edit:{dismiss:`閉じる`,placeholdersExtra:`想定外のプレースホルダー {names}`,placeholdersMissing:`不足しているプレースホルダー {names}`,rejected:`保存されませんでした: {locale} の {key}: {message}。`,saveAnyway:`このまま保存`},extract:{apply:`抽出 ({count})`,done:`抽出したキー: {count}。変更したファイル: {files}。`,hint:`ハードコードされた文字列と提案キーの一覧です。キーを編集し、スキップする文字列のチェックを外してから適用してください。`,key:`キー`,none:`ハードコードされた文字列は見つかりませんでした。`,strings:`文字列: {count}`},keys:{allNamespaces:`すべての名前空間`,anyLocale:`すべてのロケール`,count:`{shown} / {total} キー`,diagnosticsHint:`このキーの問題`,editValue:`{locale} の {key} の値`,empty:`一致するキーはありません。`,grid:`ロケールごとのキーと値`,helpEdit:`Enter で編集、Esc でキャンセル`,helpMove:`矢印キーまたは j/k で移動`,helpOpen:`o でキーを開く`,helpSearch:`/ で検索`,key:`キー`,missingIn:`未翻訳のロケール`,missingInLocale:`{locale} で未翻訳`,namespace:`名前空間`,search:`キーと値を検索`,unused:`未使用`,unusedHint:`このキーを使用しているコードはありません`,withDiagnostics:`問題あり`,outdated:`古い翻訳`,sort:`並び順`,sortKey:`キー`,sortRecent:`最近の変更`},locale:{complete:`すべてのキーが翻訳済みです。`,empty:`空 ({count})`,label:`ロケール`,missing:`未翻訳 ({count})`,notFound:`このプロジェクトにそのロケールはありません。`,openInGrid:`グリッドで表示`,problems:`プレースホルダーと構文の問題 ({count})`,progress:`{total} 件中 {translated} 件翻訳済み ({percent})`,outdated:`古い翻訳({count})`},localeBar:{bar:`表示するロケール`,noneShown:`すべてのロケールが非表示です。上のバーで選択してください。`,showAll:`すべて表示`,shown:`{shown} / {total} 表示中`,title:`ロケール`,toggle:`{locale} の表示を切り替え`,resetOrder:`順序をリセット`,flags:`国旗を表示`,reorder:`ドラッグ、または Alt と矢印キーで並べ替え。`},nav:{extract:`抽出`,keys:`キー`,overview:`概要`,project:`プロジェクト`,usages:`使用箇所`},overview:{clean:`問題は見つかりませんでした。`,coverage:`カバレッジ`,diagnostics:`診断`,errors:`エラー: {count}`,keys:`キー`,locales:`ロケール`,missing:`未翻訳 {missing}、空 {empty}`,noPresets:`プリセットは検出されませんでした。`,noRecent:`ページを開いてから変更はありません。`,presets:`プリセット`,recent:`最近の変更`,resources:`リソース`,source:`ソース`,usages:`使用箇所`,warnings:`警告: {count}`,outdated:`古い {count} 件`},project:{config:`設定と各値の由来`,conflict:`.{extension}: {winner} が {loser} より優先`,files:`ファイル: {count}`,finders:`ロケールファインダー`,formats:`フォーマット`,presets:`プリセット`,problems:`問題`,resources:`リソース: {count}`,scanners:`スキャナー`,showAllPresets:`すべてのプリセットを表示`},prompt:{copied:`コピーしました`,copy:`翻訳プロンプトをコピー`,hint:`未翻訳のメッセージを翻訳させる LLM またはエージェント向けのプロンプトをコピー`,copyStale:`古い翻訳も含めてプロンプトをコピー`,staleHint:`不足しているメッセージを翻訳し、古い翻訳を更新する LLM やエージェント向けのプロンプトをコピー`,copyAll:`すべてのロケールの翻訳プロンプトをコピー`,allHint:`すべてのロケールで不足しているメッセージを翻訳する LLM やエージェント向けのプロンプトをコピーします`},usages:{all:`すべて ({count})`,dynamic:`動的 ({count})`,dynamicHint:`キーが動的に計算される使用箇所です。そのプレフィックス配下のキーは使用中とみなされます。`,filter:`ファイルまたはキーで絞り込み`,missing:`未定義 ({count})`,missingHint:`コードで使用されているが、ソースロケールに定義されていないキーです。`,unused:`未使用 ({count})`,unusedHint:`ソースロケールに定義されているが、どのコードでも使用されていないキーです。`},value:{empty:`空`,missing:`未翻訳`},history:{title:`履歴`,local:`ローカルで変更`,outdated:`古い`,outdatedHint:`この翻訳の後にソースメッセージが変更されました`,sourceThen:`当時のソース`,sourceNow:`現在のソース`,more:`ほか {count} 件`,locales:`{count} ロケール`},sidebar:{list:`リスト表示`,tree:`ツリー表示`,filter:`キーを絞り込む`,view:`キー一覧の表示`}};export{e as default};
@@ -0,0 +1 @@
1
+ *,:after,:before{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--un-default-border-color,#e5e7eb)}:after,:before{--un-content:""}:host,html{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}code,kbd,pre,samp{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}dialog,fieldset,legend,menu,ol,ul{padding:0}menu,ol,ul{margin:0;list-style:none}input::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}[hidden]:where(:not([hidden=until-found])){display:none}@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--un-accent-opacity:100%;--un-bg-opacity:100%;--un-border-opacity:100%;--un-leading:initial;--un-line-opacity:100%;--un-outline-opacity:100%;--un-outline-style:solid;--un-text-opacity:100%}}@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-leading{syntax:"*";inherits:false}@property --un-outline-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --un-accent-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-border-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-bg-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-line-opacity{syntax:"<percentage>";inherits:false;initial-value:100%}@property --un-inset-ring-color{syntax:"*";inherits:false}@property --un-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-inset-shadow-color{syntax:"*";inherits:false}@property --un-ring-color{syntax:"*";inherits:false}@property --un-ring-inset{syntax:"*";inherits:false}@property --un-ring-offset-color{syntax:"*";inherits:false}@property --un-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --un-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --un-shadow-color{syntax:"*";inherits:false}@property --un-blur{syntax:"*";inherits:false}@property --un-brightness{syntax:"*";inherits:false}@property --un-contrast{syntax:"*";inherits:false}@property --un-drop-shadow{syntax:"*";inherits:false}@property --un-grayscale{syntax:"*";inherits:false}@property --un-hue-rotate{syntax:"*";inherits:false}@property --un-invert{syntax:"*";inherits:false}@property --un-saturate{syntax:"*";inherits:false}@property --un-sepia{syntax:"*";inherits:false}@property --un-numeric-figure{syntax:"*";inherits:false}@property --un-numeric-fraction{syntax:"*";inherits:false}@property --un-numeric-spacing{syntax:"*";inherits:false}@property --un-ordinal{syntax:"*";inherits:false}@property --un-slashed-zero{syntax:"*";inherits:false}:host,:root{--spacing:.25rem;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--fontWeight-medium:500;--default-transition-timingFunction:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--container-6xl:72rem;--font-sans:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--container-sm:24rem;--fontWeight-semibold:600;--tracking-tight:-.025em;--colors-gray-DEFAULT:oklch(70.7% .022 261.325);--radius-DEFAULT:.25rem;--colors-teal-DEFAULT:oklch(77.7% .152 181.912);--tracking-wide:.025em;--leading-none:1;--colors-gray-400:oklch(70.7% .022 261.325);--colors-teal-700:oklch(51.1% .096 186.391);--colors-white:#fff;--colors-neutral-950:oklch(14.5% 0 0);--colors-neutral-500:oklch(55.6% 0 0);--text-xs-fontSize:.75rem;--text-xs-lineHeight:1rem;--text-xl-fontSize:1.25rem;--text-xl-lineHeight:1.75rem;--text-2xl-fontSize:1.5rem;--text-2xl-lineHeight:2rem;--text-sm-fontSize:.875rem;--text-sm-lineHeight:1.25rem;--text-lg-fontSize:1.125rem;--text-lg-lineHeight:1.75rem;--text-base-fontSize:1rem;--text-base-lineHeight:1.5rem;--text-3xl-fontSize:1.875rem;--text-3xl-lineHeight:2.25rem;--colors-teal-200:oklch(91% .096 180.426);--radius-none:0;--default-font-family:var(--font-sans);--default-monoFont-family:var(--font-mono)}*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-featureSettings,normal);font-variation-settings:var(--default-font-variationSettings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-monoFont-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-monoFont-featureSettings,normal);font-variation-settings:var(--default-monoFont-variationSettings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden~=until-found])){display:none!important}:root{--x-bg:#fff;--x-fg:#0a0a0a;--x-muted:#0a0a0a9e;--x-faint:#0a0a0a59;--x-line:#0a0a0a1f;--x-line-strong:#0a0a0a66;--x-hover:#0a0a0a0a;--x-error:#dc2626;--x-warn:#b45309;--x-ok:#15803d;--x-info:#0369a1;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html.dark{--x-bg:#0a0a0a;--x-fg:#fafafa;--x-muted:#fafafa9e;--x-faint:#fafafa59;--x-line:#fafafa24;--x-line-strong:#fafafa66;--x-hover:#fafafa0f;--x-error:#f87171;--x-warn:#fbbf24;--x-ok:#4ade80;--x-info:#7dd3fc;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html.high-contrast{--x-bg:#000;--x-fg:#fff;--x-muted:#fffd;--x-faint:#fffa;--x-line:#fffa;--x-line-strong:#fff}#__nuxt,body,html{background:var(--x-bg);height:100%;color:var(--x-fg);margin:0}.antialiased,body{-webkit-font-smoothing:antialiased}::selection{background:var(--x-fg);color:var(--x-bg)}.i-catppuccin\:astro{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='%23cad3f5' d='M10.561 1.61L13.5 10.5c-.995-.517-2.395-1.298-3.5-1.493L8 3.5L6 9.007c-1.11.194-2.5.974-3.5 1.493l3.163-8.891c.121-.398.182-.597.302-.745A1 1 0 0 1 6.36.57c.176-.07.384-.07.8-.07h1.902c.416 0 .625 0 .801.071a1 1 0 0 1 .396.293c.12.148.18.347.301.746'/%3E%3Cpath stroke='%23c6a0f6' d='M10.411 11.266c-.43.365-1.292.613-2.283.613c-1.217 0-2.237-.374-2.508-.879a2.8 2.8 0 0 0-.119.831s-.063 1.038.666 1.76c0-.374.307-.679.686-.679c.648 0 .648.561.647 1.016v.04c0 .691.426 1.282 1.032 1.532a1.4 1.4 0 0 1-.141-.61c0-.658.39-.903.845-1.188c.36-.227.761-.479 1.038-.985a1.84 1.84 0 0 0 .137-1.451'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:astro,.i-catppuccin\:file,.i-catppuccin\:html,.i-catppuccin\:javascript,.i-catppuccin\:javascript-react,.i-catppuccin\:json,.i-catppuccin\:markdown,.i-catppuccin\:php,.i-catppuccin\:properties,.i-catppuccin\:ruby,.i-catppuccin\:svelte,.i-catppuccin\:text,.i-catppuccin\:toml,.i-catppuccin\:typescript{width:1.11em;height:1.11em}.i-catppuccin\:file{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%23cad3f5' stroke-linecap='round' stroke-linejoin='round' d='M13.5 6.5v6a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h4.01m-.01 0l5 5h-4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:html{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='%23f5a97f' d='M1.5 1.5h13L13 13l-5 2l-5-2z'/%3E%3Cpath stroke='%23cad3f5' d='M11 4.5H5l.25 3h5.5l-.25 3l-2.5 1l-2.5-1l-.08-1'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:javascript{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='%23eed49f' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 11a1.5 1.5 0 0 0 3 0V7.5m5 1.25c0-.69-.537-1.25-1.2-1.25h-.6c-.663 0-1.2.56-1.2 1.25S10.037 10 10.7 10h.6c.663 0 1.2.56 1.2 1.25s-.537 1.25-1.2 1.25h-.6c-.663 0-1.2-.56-1.2-1.25'/%3E%3Cpath d='M4 1.5h8c1.385 0 2.5 1.115 2.5 2.5v8c0 1.385-1.115 2.5-2.5 2.5H4A2.495 2.495 0 0 1 1.5 12V4c0-1.385 1.115-2.5 2.5-2.5'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:javascript-react{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='%2391d7e3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 10.8c4.14 0 7.5-1.25 7.5-2.8S12.14 5.2 8 5.2S.5 6.45.5 8s3.36 2.8 7.5 2.8'/%3E%3Cpath d='M5.52 9.4c2.07 3.5 4.86 5.72 6.23 4.95c1.37-.78.8-4.24-1.27-7.75C8.41 3.1 5.62.88 4.25 1.65c-1.37.78-.8 4.24 1.27 7.75'/%3E%3Cpath d='M5.52 6.6c-2.07 3.5-2.64 6.97-1.27 7.75c1.37.77 4.16-1.45 6.23-4.95s2.64-6.97 1.27-7.75C10.38.88 7.59 3.1 5.52 6.6'/%3E%3Cpath d='M8.5 8a.5.5 0 0 1-.5.5a.5.5 0 0 1-.5-.5a.5.5 0 0 1 .5-.5a.5.5 0 0 1 .5.5'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:json{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%23eed49f' stroke-linecap='round' stroke-linejoin='round' d='M4.5 2.5H4c-.75 0-1.5.75-1.5 1.5v2c0 1.1-1 2-1.83 2c.83 0 1.83.9 1.83 2v2c0 .75.75 1.5 1.5 1.5h.5m7-11h.5c.75 0 1.5.75 1.5 1.5v2c0 1.1 1 2 1.83 2c-.83 0-1.83.9-1.83 2v2c0 .74-.75 1.5-1.5 1.5h-.5m-6.5-3a.5.5 0 1 0 0-1a.5.5 0 0 0 0 1m3 0a.5.5 0 1 0 0-1a.5.5 0 0 0 0 1m3 0a.5.5 0 1 0 0-1a.5.5 0 0 0 0 1'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:markdown{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%237dc4e4' stroke-linecap='round' stroke-linejoin='round' d='m9.25 8.25l2.25 2.25l2.25-2.25M3.5 11V5.5l2.04 3l1.96-3V11m4-.5V5M1.65 2.5h12.7c.59 0 1.15.49 1.15 1v9c0 .51-.56 1-1.15 1H1.65c-.59 0-1.15-.49-1.15-1V3.58c0-.5.56-1.08 1.15-1.08'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:php{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%238aadf4' stroke-linecap='round' stroke-linejoin='round' d='M.5 12.5v.74c0 .76.774 1.26 1.5 1.26c.938 0 1.5-.5 1.5-1.255V6c0-1.715 1.494-3.478 3.65-3.501c2.344 0 3.85 1.558 3.85 3c.166 2.99-1.422 4.137-3.504 5v4h8.002V9c.041-.635-.56-1.844-1.367-2.5c-.937-.692-2.073-.997-3.131-1m.5 9v-3M6 6.5a.5.5 0 1 0 0-1a.5.5 0 0 0 0 1'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:properties{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%23cad3f5' stroke-linecap='round' stroke-linejoin='round' d='M8 1.5c-.87 0-1.17 1.32-2.03 1.63c-.86.3-2.17-.68-2.84 0c-.68.67.3 1.98 0 2.84S1.5 7.13 1.5 8s1.32 1.17 1.63 2.03c.3.86-.68 2.17 0 2.85c.67.67 1.98-.3 2.84 0c.85.3 1.16 1.62 2.03 1.62s1.17-1.32 2.03-1.63c.86-.3 2.17.68 2.85 0c.67-.67-.3-1.98 0-2.84c.3-.85 1.62-1.16 1.62-2.03s-1.32-1.17-1.63-2.03c-.3-.86.68-2.17 0-2.84c-.67-.68-1.98.3-2.84 0S8.87 1.5 8 1.5m0 9a2.5 2.5 0 1 0 0-5a2.5 2.5 0 0 0 0 5'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:ruby{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%23ed8796' stroke-linecap='round' stroke-linejoin='round' d='M1.5 9.06v2.5c.02.86.36 1.61.9 2.15c1.76 1.76 5.71.65 8.84-2.47c3.12-3.13 4.23-7.08 2.47-8.84a3.1 3.1 0 0 0-2.15-.9h-2.5M14.5 4l-.25 10.25L4 14.5m4.39-6.11c2.34-2.35 3.29-5.2 2.12-6.37S6.49 1.8 4.14 4.14C1.8 6.5.85 9.34 2.02 10.51s4.02.22 6.37-2.12M5.5 14.5l.25-3.75L11 11l-.25-5.25l3.75-.25'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:svelte{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='%23f5a97f' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.86 6.72s1.39-1.98.08-3.87C11.286.763 9.44 1.6 9.44 1.6S6.15 3.35 4.33 4.59c-1.4 1-2.24 2.26-1.03 4.37c1.22 2.1 4.58 1.21 4.58 1.21'/%3E%3Cpath d='M3.14 9.28s-1.39 1.98-.08 3.87c1.31 1.9 3.5 1.24 3.5 1.24s3.29-1.74 5.11-2.98c1.4-1 2.24-2.26 1.03-4.37c-1.22-2.1-4.58-1.21-4.58-1.21M6.3 6.96l4.14-2.56m-4.92 7.25L9.66 9.1'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:text{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='%23cad3f5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 6.5v6a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h4.01'/%3E%3Cpath d='m8.5 1.5l5 5h-4a1 1 0 0 1-1-1zm-3 10h5m-5-3h5m-5-3h1'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:toml{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%23ee99a0' stroke-linecap='round' stroke-linejoin='round' d='M3.5 1.5h-2v13h2m9-13h2v13h-2m-8-11h7v3h-2v6h-3v-6h-2z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:typescript{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='%238aadf4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 1.5h8A2.5 2.5 0 0 1 14.5 4v8a2.5 2.5 0 0 1-2.5 2.5H4A2.5 2.5 0 0 1 1.5 12V4A2.5 2.5 0 0 1 4 1.5'/%3E%3Cpath d='M12.5 8.75c0-.69-.54-1.25-1.2-1.25h-.6c-.66 0-1.2.56-1.2 1.25S10.04 10 10.7 10h.6c.66 0 1.2.56 1.2 1.25s-.54 1.25-1.2 1.25h-.6c-.66 0-1.2-.56-1.2-1.25m-3-3.75v5M5 7.5h3'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:typescript-def{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath stroke='%238aadf4' d='M12.5 4.5h1a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V10'/%3E%3Cpath stroke='%238aadf4' d='M13.5 9c-.33-.33-.83-.5-1.5-.5c-1 0-1.5.5-1.5 1s.5 1 1.5 1s1.5.5 1.5 1s-.5 1-1.5 1c-.67 0-1.17-.17-1.5-.5M8 8.5v4m-1.5-4h3'/%3E%3Cpath stroke='%237dc4e4' d='M2.04 7.88L.5 3.02c-.05-.15.06-.31.23-.37L7.54.52c.1-.04.21-.02.3.04l2.63 1.84c.1.07.13.19.1.3L9.44 5.72a.34.34 0 0 1-.22.2l-6.8 2.13a.31.31 0 0 1-.4-.17Zm5.13-3.23a1.21 1.21 0 1 0 .62-2.35a1.21 1.21 0 0 0-.62 2.35'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat;width:1.11em;height:1.11em}.i-catppuccin\:typescript-react{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='%238aadf4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 11.3c4.14 0 7.5-1.28 7.5-2.86S12.14 5.58 8 5.58S.5 6.86.5 8.44s3.36 2.87 7.5 2.87Z'/%3E%3Cpath d='M5.52 9.87c2.07 3.6 4.86 5.86 6.23 5.07c1.37-.8.8-4.34-1.27-7.93S5.62 1.16 4.25 1.95s-.8 4.34 1.27 7.92'/%3E%3Cpath d='M5.52 7.01c-2.07 3.59-2.64 7.14-1.27 7.93s4.16-1.48 6.23-5.07c2.07-3.58 2.64-7.13 1.27-7.92c-1.37-.8-4.16 1.47-6.23 5.06'/%3E%3Cpath d='M8.5 8.44a.5.5 0 0 1-.5.5a.5.5 0 0 1-.5-.5a.5.5 0 0 1 .5-.5a.5.5 0 0 1 .5.5'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat;width:1.11em;height:1.11em}.i-catppuccin\:typescript-test{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%238aadf4' stroke-linecap='round' stroke-linejoin='round' d='M15.5 12c-.33-.33-.83-.5-1.5-.5c-1 0-1.5.5-1.5 1s.5 1 1.5 1s1.5.5 1.5 1s-.5 1-1.5 1c-.67 0-1.17-.17-1.5-.5m-3-3.5v4m-1.5-4h3m-.28-9.75l-8.49 8.48a2.5 2.5 0 1 0 3.54 3.54l.77-.77m3.59-3.59l.59-.59l1.17-1.18l2.36-2.36M9.5.5l6 6m-3.5 1H4.98'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:typescript-test,.i-catppuccin\:vue,.i-catppuccin\:xml,.i-catppuccin\:yaml,.i-ph-arrow-left-duotone,.i-ph-arrow-square-out-duotone,.i-ph-caret-right-duotone,.i-ph-check-circle-duotone,.i-ph-check-duotone,.i-ph-circle-duotone,.i-ph-clock-counter-clockwise-duotone,.i-ph-dots-three-duotone,.i-ph-eye-duotone,.i-ph-eye-slash-duotone,.i-ph-file-text-duotone,.i-ph-flag-duotone,.i-ph-flag-fill,.i-ph-ghost-duotone,.i-ph-list-bullets-duotone,.i-ph-magnifying-glass-duotone,.i-ph-sparkle-duotone,.i-ph-table-duotone,.i-ph-translate-duotone,.i-ph-tree-structure-duotone,.i-ph-warning-duotone,.i-ph-x-circle-duotone{width:1.11em;height:1.11em}.i-catppuccin\:vue{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='%23a6da95' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5h5.44L8 4.56L9.56 1.5H15l-6.99 13z'/%3E%3Cpath d='M12.05 1.73L8 9.28L3.95 1.73'/%3E%3C/g%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:xml{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%23f5a97f' stroke-linecap='round' stroke-linejoin='round' d='M4.5 4.5L1 8l3.5 3.5m7-7L15 8l-3.5 3.5M9.5 2l-3 12'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-catppuccin\:yaml{background:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 16 16' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='%23ed8796' stroke-linecap='round' stroke-linejoin='round' d='M2.5 1.5h3l3 4l3-4h3l-9 13h-3L7 8z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}.i-ph-arrow-left-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M112 56v144l-72-72Z' opacity='.2'/%3E%3Cpath d='M216 120h-96V56a8 8 0 0 0-13.66-5.66l-72 72a8 8 0 0 0 0 11.32l72 72A8 8 0 0 0 120 200v-64h96a8 8 0 0 0 0-16m-112 60.69L51.31 128L104 75.31Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-arrow-left-duotone,.i-ph-arrow-square-out-duotone,.i-ph-caret-right-duotone,.i-ph-check-circle-duotone,.i-ph-check-duotone,.i-ph-circle-duotone,.i-ph-clock-counter-clockwise-duotone,.i-ph-dots-three-duotone,.i-ph-eye-duotone,.i-ph-eye-slash-duotone,.i-ph-file-text-duotone,.i-ph-flag-duotone,.i-ph-flag-fill,.i-ph-ghost-duotone,.i-ph-list-bullets-duotone,.i-ph-magnifying-glass-duotone,.i-ph-sparkle-duotone,.i-ph-table-duotone,.i-ph-translate-duotone,.i-ph-tree-structure-duotone,.i-ph-warning-duotone,.i-ph-x-circle-duotone{-webkit-mask:var(--un-icon) no-repeat;-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;color:inherit;background-color:currentColor;-webkit-mask-size:100% 100%;mask-size:100% 100%}.i-ph-arrow-square-out-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M184 80v128a8 8 0 0 1-8 8H48a8 8 0 0 1-8-8V80a8 8 0 0 1 8-8h128a8 8 0 0 1 8 8' opacity='.2'/%3E%3Cpath d='M224 104a8 8 0 0 1-16 0V59.32l-66.33 66.34a8 8 0 0 1-11.32-11.32L196.68 48H152a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8Zm-40 24a8 8 0 0 0-8 8v72H48V80h72a8 8 0 0 0 0-16H48a16 16 0 0 0-16 16v128a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-72a8 8 0 0 0-8-8'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-caret-right-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='m176 128l-80 80V48Z' opacity='.2'/%3E%3Cpath d='m181.66 122.34l-80-80A8 8 0 0 0 88 48v160a8 8 0 0 0 13.66 5.66l80-80a8 8 0 0 0 0-11.32M104 188.69V67.31L164.69 128Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-check-circle-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96' opacity='.2'/%3E%3Cpath d='M173.66 98.34a8 8 0 0 1 0 11.32l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L112 148.69l50.34-50.35a8 8 0 0 1 11.32 0M232 128A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-check-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M232 56v144a16 16 0 0 1-16 16H40a16 16 0 0 1-16-16V56a16 16 0 0 1 16-16h176a16 16 0 0 1 16 16' opacity='.2'/%3E%3Cpath d='m205.66 85.66l-96 96a8 8 0 0 1-11.32 0l-40-40a8 8 0 0 1 11.32-11.32L104 164.69l90.34-90.35a8 8 0 0 1 11.32 11.32'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-circle-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96' opacity='.2'/%3E%3Cpath d='M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88a88.1 88.1 0 0 1-88 88'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-clock-counter-clockwise-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M216 128a88 88 0 1 1-88-88a88 88 0 0 1 88 88' opacity='.2'/%3E%3Cpath d='M136 80v43.47l36.12 21.67a8 8 0 0 1-8.24 13.72l-40-24A8 8 0 0 1 120 128V80a8 8 0 0 1 16 0m-8-48a95.44 95.44 0 0 0-67.92 28.15C52.81 67.51 46.35 74.59 40 82V64a8 8 0 0 0-16 0v40a8 8 0 0 0 8 8h40a8 8 0 0 0 0-16H49c7.15-8.42 14.27-16.35 22.39-24.57a80 80 0 1 1 1.66 114.75a8 8 0 1 0-11 11.64A96 96 0 1 0 128 32'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-dots-three-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M240 96v64a16 16 0 0 1-16 16H32a16 16 0 0 1-16-16V96a16 16 0 0 1 16-16h192a16 16 0 0 1 16 16' opacity='.2'/%3E%3Cpath d='M140 128a12 12 0 1 1-12-12a12 12 0 0 1 12 12m56-12a12 12 0 1 0 12 12a12 12 0 0 0-12-12m-136 0a12 12 0 1 0 12 12a12 12 0 0 0-12-12'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-eye-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M128 56c-80 0-112 72-112 72s32 72 112 72s112-72 112-72s-32-72-112-72m0 112a40 40 0 1 1 40-40a40 40 0 0 1-40 40' opacity='.2'/%3E%3Cpath d='M247.31 124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57 61.26 162.88 48 128 48S61.43 61.26 36.34 86.35C17.51 105.18 9 124 8.69 124.76a8 8 0 0 0 0 6.5c.35.79 8.82 19.57 27.65 38.4C61.43 194.74 93.12 208 128 208s66.57-13.26 91.66-38.34c18.83-18.83 27.3-37.61 27.65-38.4a8 8 0 0 0 0-6.5M128 192c-30.78 0-57.67-11.19-79.93-33.25A133.5 133.5 0 0 1 25 128a133.3 133.3 0 0 1 23.07-30.75C70.33 75.19 97.22 64 128 64s57.67 11.19 79.93 33.25A133.5 133.5 0 0 1 231.05 128c-7.21 13.46-38.62 64-103.05 64m0-112a48 48 0 1 0 48 48a48.05 48.05 0 0 0-48-48m0 80a32 32 0 1 1 32-32a32 32 0 0 1-32 32'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-eye-slash-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M128 56c-80 0-112 72-112 72s32 72 112 72s112-72 112-72s-32-72-112-72m0 112a40 40 0 1 1 40-40a40 40 0 0 1-40 40' opacity='.2'/%3E%3Cpath d='M53.92 34.62a8 8 0 1 0-11.84 10.76l19.24 21.17C25 88.84 9.38 123.2 8.69 124.76a8 8 0 0 0 0 6.5c.35.79 8.82 19.57 27.65 38.4C61.43 194.74 93.12 208 128 208a127.1 127.1 0 0 0 52.07-10.83l22 24.21a8 8 0 1 0 11.84-10.76Zm47.33 75.84l41.67 45.85a32 32 0 0 1-41.67-45.85M128 192c-30.78 0-57.67-11.19-79.93-33.25A133.2 133.2 0 0 1 25 128c4.69-8.79 19.66-33.39 47.35-49.38l18 19.75a48 48 0 0 0 63.66 70l14.73 16.2A112 112 0 0 1 128 192m6-95.43a8 8 0 0 1 3-15.72a48.16 48.16 0 0 1 38.77 42.64a8 8 0 0 1-7.22 8.71a6 6 0 0 1-.75 0a8 8 0 0 1-8-7.26A32.09 32.09 0 0 0 134 96.57m113.28 34.69c-.42.94-10.55 23.37-33.36 43.8a8 8 0 1 1-10.67-11.92a132.8 132.8 0 0 0 27.8-35.14a133.2 133.2 0 0 0-23.12-30.77C185.67 75.19 158.78 64 128 64a118.4 118.4 0 0 0-19.36 1.57A8 8 0 1 1 106 49.79A134 134 0 0 1 128 48c34.88 0 66.57 13.26 91.66 38.35c18.83 18.83 27.3 37.62 27.65 38.41a8 8 0 0 1 0 6.5Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-file-text-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M208 88h-56V32Z' opacity='.2'/%3E%3Cpath d='m213.66 82.34l-56-56A8 8 0 0 0 152 24H56a16 16 0 0 0-16 16v176a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16V88a8 8 0 0 0-2.34-5.66M160 51.31L188.69 80H160ZM200 216H56V40h88v48a8 8 0 0 0 8 8h48zm-32-80a8 8 0 0 1-8 8H96a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8m0 32a8 8 0 0 1-8 8H96a8 8 0 0 1 0-16h64a8 8 0 0 1 8 8'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-flag-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 56v120c-64 55.43-112-55.43-176 0V56c64-55.43 112 55.43 176 0' opacity='.2'/%3E%3Cpath d='M42.76 50A8 8 0 0 0 40 56v168a8 8 0 0 0 16 0v-44.23c26.79-21.16 49.87-9.75 76.45 3.41c16.4 8.11 34.06 16.85 53 16.85c13.93 0 28.54-4.75 43.82-18a8 8 0 0 0 2.76-6V56a8 8 0 0 0-13.27-6c-28 24.23-51.72 12.49-79.21-1.12C111.07 34.76 78.78 18.79 42.76 50M216 172.25c-26.79 21.16-49.87 9.74-76.45-3.41c-25-12.35-52.81-26.13-83.55-8.4V59.79c26.79-21.16 49.87-9.75 76.45 3.4c25 12.35 52.82 26.13 83.55 8.4Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-flag-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M232 56v120a8 8 0 0 1-2.76 6c-15.28 13.23-29.89 18-43.82 18c-18.91 0-36.57-8.74-53-16.85C105.87 170 82.79 158.61 56 179.77V224a8 8 0 0 1-16 0V56a8 8 0 0 1 2.77-6c36-31.18 68.31-15.21 96.79-1.12C167 62.46 190.79 74.2 218.76 50A8 8 0 0 1 232 56'/%3E%3C/svg%3E")}.i-ph-ghost-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M216 120v96l-29.33-24l-29.34 24L128 192l-29.33 24l-29.34-24L40 216v-96a88 88 0 0 1 176 0' opacity='.2'/%3E%3Cpath d='M112 116a12 12 0 1 1-12-12a12 12 0 0 1 12 12m44-12a12 12 0 1 0 12 12a12 12 0 0 0-12-12m68 16v96a8 8 0 0 1-13.07 6.19l-24.26-19.85l-24.27 19.85a8 8 0 0 1-10.13 0L128 202.34l-24.27 19.85a8 8 0 0 1-10.13 0l-24.27-19.85l-24.26 19.85A8 8 0 0 1 32 216v-96a96 96 0 0 1 192 0m-16 0a80 80 0 0 0-160 0v79.12l16.27-13.31a8 8 0 0 1 10.13 0l24.27 19.85l24.26-19.85a8 8 0 0 1 10.14 0l24.26 19.85l24.27-19.85a8 8 0 0 1 10.13 0L208 199.12Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-list-bullets-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M216 64v128H88V64Z' opacity='.2'/%3E%3Cpath d='M80 64a8 8 0 0 1 8-8h128a8 8 0 0 1 0 16H88a8 8 0 0 1-8-8m136 56H88a8 8 0 1 0 0 16h128a8 8 0 0 0 0-16m0 64H88a8 8 0 1 0 0 16h128a8 8 0 0 0 0-16M44 52a12 12 0 1 0 12 12a12 12 0 0 0-12-12m0 64a12 12 0 1 0 12 12a12 12 0 0 0-12-12m0 64a12 12 0 1 0 12 12a12 12 0 0 0-12-12'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-magnifying-glass-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M192 112a80 80 0 1 1-80-80a80 80 0 0 1 80 80' opacity='.2'/%3E%3Cpath d='m229.66 218.34l-50.06-50.06a88.21 88.21 0 1 0-11.32 11.31l50.06 50.07a8 8 0 0 0 11.32-11.32M40 112a72 72 0 1 1 72 72a72.08 72.08 0 0 1-72-72'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-sparkle-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='m194.82 151.43l-55.09 20.3l-20.3 55.09a7.92 7.92 0 0 1-14.86 0l-20.3-55.09l-55.09-20.3a7.92 7.92 0 0 1 0-14.86l55.09-20.3l20.3-55.09a7.92 7.92 0 0 1 14.86 0l20.3 55.09l55.09 20.3a7.92 7.92 0 0 1 0 14.86' opacity='.2'/%3E%3Cpath d='M197.58 129.06L146 110l-19-51.62a15.92 15.92 0 0 0-29.88 0L78 110l-51.62 19a15.92 15.92 0 0 0 0 29.88L78 178l19 51.62a15.92 15.92 0 0 0 29.88 0L146 178l51.62-19a15.92 15.92 0 0 0 0-29.88ZM137 164.22a8 8 0 0 0-4.74 4.74L112 223.85L91.78 169a8 8 0 0 0-4.78-4.78L32.15 144L87 123.78a8 8 0 0 0 4.78-4.78L112 64.15L132.22 119a8 8 0 0 0 4.74 4.74L191.85 144ZM144 40a8 8 0 0 1 8-8h16V16a8 8 0 0 1 16 0v16h16a8 8 0 0 1 0 16h-16v16a8 8 0 0 1-16 0V48h-16a8 8 0 0 1-8-8m104 48a8 8 0 0 1-8 8h-8v8a8 8 0 0 1-16 0v-8h-8a8 8 0 0 1 0-16h8v-8a8 8 0 0 1 16 0v8h8a8 8 0 0 1 8 8'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-table-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M88 104v96H32v-96Z' opacity='.2'/%3E%3Cpath d='M224 48H32a8 8 0 0 0-8 8v136a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a8 8 0 0 0-8-8M40 112h40v32H40Zm56 0h120v32H96Zm120-48v32H40V64ZM40 160h40v32H40Zm176 32H96v-32h120z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-translate-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 184h-80l40-80ZM96 127.56A95.78 95.78 0 0 0 128 56H64a95.78 95.78 0 0 0 32 71.56' opacity='.2'/%3E%3Cpath d='m247.15 212.42l-56-112a8 8 0 0 0-14.31 0l-21.71 43.43A88 88 0 0 1 108 126.93A103.65 103.65 0 0 0 135.69 64H160a8 8 0 0 0 0-16h-56V32a8 8 0 0 0-16 0v16H32a8 8 0 0 0 0 16h87.63A87.7 87.7 0 0 1 96 116.35a87.7 87.7 0 0 1-19-31a8 8 0 1 0-15.08 5.34A103.6 103.6 0 0 0 84 127a87.55 87.55 0 0 1-52 17a8 8 0 0 0 0 16a103.46 103.46 0 0 0 64-22.08a104.2 104.2 0 0 0 51.44 21.31l-26.6 53.19a8 8 0 0 0 14.31 7.16L148.94 192h70.11l13.79 27.58A8 8 0 0 0 240 224a8 8 0 0 0 7.15-11.58M156.94 176L184 121.89L211.05 176Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-tree-structure-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M64 112v32a8 8 0 0 1-8 8H24a8 8 0 0 1-8-8v-32a8 8 0 0 1 8-8h32a8 8 0 0 1 8 8m144-72h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8V48a8 8 0 0 0-8-8m0 112h-48a8 8 0 0 0-8 8v48a8 8 0 0 0 8 8h48a8 8 0 0 0 8-8v-48a8 8 0 0 0-8-8' opacity='.2'/%3E%3Cpath d='M160 112h48a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v16h-16a24 24 0 0 0-24 24v32H72v-8a16 16 0 0 0-16-16H24a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-8h32v32a24 24 0 0 0 24 24h16v16a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v16h-16a8 8 0 0 1-8-8V88a8 8 0 0 1 8-8h16v16a16 16 0 0 0 16 16M56 144H24v-32h32zm104 16h48v48h-48Zm0-112h48v48h-48Z'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-warning-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M215.46 216H40.54c-12.62 0-20.54-13.21-14.41-23.91l87.46-151.87c6.3-11 22.52-11 28.82 0l87.46 151.87c6.13 10.7-1.79 23.91-14.41 23.91' opacity='.2'/%3E%3Cpath d='M236.8 188.09L149.35 36.22a24.76 24.76 0 0 0-42.7 0L19.2 188.09a23.51 23.51 0 0 0 0 23.72A24.35 24.35 0 0 0 40.55 224h174.9a24.35 24.35 0 0 0 21.33-12.19a23.51 23.51 0 0 0 .02-23.72m-13.87 15.71a8.5 8.5 0 0 1-7.48 4.2H40.55a8.5 8.5 0 0 1-7.48-4.2a7.59 7.59 0 0 1 0-7.72l87.45-151.87a8.75 8.75 0 0 1 15 0l87.45 151.87a7.59 7.59 0 0 1-.04 7.72M120 144v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0m20 36a12 12 0 1 1-12-12a12 12 0 0 1 12 12'/%3E%3C/g%3E%3C/svg%3E")}.i-ph-x-circle-duotone{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' width='1.11em' height='1.11em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='currentColor'%3E%3Cpath d='M224 128a96 96 0 1 1-96-96a96 96 0 0 1 96 96' opacity='.2'/%3E%3Cpath d='M165.66 101.66L139.31 128l26.35 26.34a8 8 0 0 1-11.32 11.32L128 139.31l-26.34 26.35a8 8 0 0 1-11.32-11.32L116.69 128l-26.35-26.34a8 8 0 0 1 11.32-11.32L128 116.69l26.34-26.35a8 8 0 0 1 11.32 11.32M232 128A104 104 0 1 1 128 24a104.11 104.11 0 0 1 104 104m-16 0a88 88 0 1 0-88 88a88.1 88.1 0 0 0 88-88'/%3E%3C/g%3E%3C/svg%3E")}.btn-ghost{padding-inline:calc(var(--spacing) * 3)}.btn-ghost,.btn-icon{font-size:var(--text-xs-fontSize);line-height:var(--un-leading,var(--text-xs-lineHeight));color:color-mix(in oklab,var(--x-muted) var(--un-text-opacity),transparent);--un-font-weight:var(--fontWeight-medium);font-weight:var(--fontWeight-medium);gap:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 8);-webkit-user-select:none;user-select:none;white-space:nowrap;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to;transition-timing-function:var(--un-ease,var(--default-transition-timingFunction));transition-duration:var(--un-duration,var(--default-transition-duration));--un-duration:.15s;border-width:1px;border-color:#0000;justify-content:center;align-items:center;transition-duration:.15s;display:inline-flex}.btn-icon{padding-inline:calc(var(--spacing) * 0);width:calc(var(--spacing) * 8)}.btn-outline{color:color-mix(in oklab,var(--x-fg) var(--un-text-opacity),transparent);border-color:color-mix(in oklab,var(--x-line-strong) var(--un-border-opacity),transparent)}.btn-outline,.btn-solid{font-size:var(--text-xs-fontSize);line-height:var(--un-leading,var(--text-xs-lineHeight));--un-font-weight:var(--fontWeight-medium);font-weight:var(--fontWeight-medium);padding-inline:calc(var(--spacing) * 3);gap:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 8);-webkit-user-select:none;user-select:none;white-space:nowrap;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to;transition-timing-function:var(--un-ease,var(--default-transition-timingFunction));transition-duration:var(--un-duration,var(--default-transition-duration));--un-duration:.15s;border-width:1px;justify-content:center;align-items:center;transition-duration:.15s;display:inline-flex}.btn-solid{color:color-mix(in oklab,var(--x-bg) var(--un-text-opacity),transparent);border-color:color-mix(in oklab,var(--x-fg) var(--un-border-opacity),transparent);background-color:color-mix(in oklab,var(--x-fg) var(--un-bg-opacity),transparent)}.input{font-size:var(--text-sm-fontSize);line-height:var(--un-leading,var(--text-sm-lineHeight));color:color-mix(in oklab,var(--x-fg) var(--un-text-opacity),transparent);padding-inline:calc(var(--spacing) * 2);--un-outline-style:none;border-radius:var(--radius-none);height:calc(var(--spacing) * 8);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to;transition-timing-function:var(--un-ease,var(--default-transition-timingFunction));transition-duration:var(--un-duration,var(--default-transition-duration));background-color:#0000;outline-style:none}.badge,.input{border-width:1px;border-color:color-mix(in oklab,var(--x-line) var(--un-border-opacity),transparent)}.badge{color:color-mix(in oklab,var(--x-muted) var(--un-text-opacity),transparent);--un-leading:calc(var(--spacing) * 4);font-size:10px;line-height:calc(var(--spacing) * 4);--un-tracking:.08em;letter-spacing:.08em;font-family:var(--font-mono);padding-inline:calc(var(--spacing));white-space:nowrap;text-transform:uppercase;align-items:center;display:inline-flex}.\!color-base{color:color-mix(in oklab,var(--x-fg) var(--un-text-opacity),transparent)!important}.color-base{color:color-mix(in oklab,var(--x-fg) var(--un-text-opacity),transparent)}.color-error{color:color-mix(in oklab,var(--x-error) var(--un-text-opacity),transparent)}.color-faint{color:color-mix(in oklab,var(--x-faint) var(--un-text-opacity),transparent)}.color-info{color:color-mix(in oklab,var(--x-info) var(--un-text-opacity),transparent)}.color-inverse{color:color-mix(in oklab,var(--x-bg) var(--un-text-opacity),transparent)}.color-muted{color:color-mix(in oklab,var(--x-muted) var(--un-text-opacity),transparent)}.color-ok{color:color-mix(in oklab,var(--x-ok) var(--un-text-opacity),transparent)}.color-warn{color:color-mix(in oklab,var(--x-warn) var(--un-text-opacity),transparent)}.label{color:color-mix(in oklab,var(--x-muted) var(--un-text-opacity),transparent);--un-leading:1.45;--un-tracking:.12em;letter-spacing:.12em;font-size:11px;line-height:1.45;font-family:var(--font-mono);text-transform:uppercase}.btn-ghost:hover,.btn-icon:hover{color:color-mix(in oklab,var(--x-fg) var(--un-text-opacity),transparent);background-color:color-mix(in oklab,var(--x-hover) var(--un-bg-opacity),transparent)}.btn-outline:hover{color:color-mix(in oklab,var(--x-bg) var(--un-text-opacity),transparent);border-color:color-mix(in oklab,var(--x-fg) var(--un-border-opacity),transparent);background-color:color-mix(in oklab,var(--x-fg) var(--un-bg-opacity),transparent)}.hover\:color-base:hover{color:color-mix(in oklab,var(--x-fg) var(--un-text-opacity),transparent)}.hover\:color-muted:hover{color:color-mix(in oklab,var(--x-muted) var(--un-text-opacity),transparent)}.input::placeholder{color:color-mix(in oklab,var(--x-faint) var(--un-text-opacity),transparent)}.btn-ghost:focus-visible,.btn-icon:focus-visible,.btn-outline:focus-visible,.btn-solid:focus-visible{outline-style:var(--un-outline-style);outline-width:2px;outline-color:color-mix(in oklab,var(--x-fg) var(--un-outline-opacity),transparent);outline-offset:2px}.border-base{border-color:color-mix(in oklab,var(--x-line) var(--un-border-opacity),transparent)}.border-inverse{border-color:color-mix(in oklab,var(--x-fg) var(--un-border-opacity),transparent)}.border-strong{border-color:color-mix(in oklab,var(--x-line-strong) var(--un-border-opacity),transparent)}.focus-within\:border-inverse:focus-within,.hover\:border-inverse:hover,.input:focus{border-color:color-mix(in oklab,var(--x-fg) var(--un-border-opacity),transparent)}.bg-base{background-color:color-mix(in oklab,var(--x-bg) var(--un-bg-opacity),transparent)}.bg-hover{background-color:color-mix(in oklab,var(--x-hover) var(--un-bg-opacity),transparent)}.bg-inverse{background-color:color-mix(in oklab,var(--x-fg) var(--un-bg-opacity),transparent)}.hover\:bg-hover:hover{background-color:color-mix(in oklab,var(--x-hover) var(--un-bg-opacity),transparent)}.btn-solid:hover{opacity:.85}.btn-ghost:disabled,.btn-icon:disabled,.btn-outline:disabled,.btn-solid:disabled{opacity:.4;cursor:not-allowed}.dark .icon-catppuccin{--un-brightness:brightness(100%);--un-hue-rotate:hue-rotate(0deg);--un-invert:invert(0%)}.dark .icon-catppuccin,.filter,.grayscale,.icon-catppuccin{filter:var(--un-blur,) var(--un-brightness,) var(--un-contrast,) var(--un-grayscale,) var(--un-hue-rotate,) var(--un-invert,) var(--un-saturate,) var(--un-sepia,) var(--un-drop-shadow,)}.icon-catppuccin{--un-brightness:brightness(80%);--un-hue-rotate:hue-rotate(180deg);--un-invert:invert(100%)}.text-2xl{font-size:var(--text-2xl-fontSize);line-height:var(--un-leading,var(--text-2xl-lineHeight))}.text-base{font-size:var(--text-base-fontSize);line-height:var(--un-leading,var(--text-base-lineHeight))}.text-lg{font-size:var(--text-lg-fontSize);line-height:var(--un-leading,var(--text-lg-lineHeight))}.text-sm{font-size:var(--text-sm-fontSize);line-height:var(--un-leading,var(--text-sm-lineHeight))}.text-xl{font-size:var(--text-xl-fontSize);line-height:var(--un-leading,var(--text-xl-lineHeight))}.text-xs{font-size:var(--text-xs-fontSize);line-height:var(--un-leading,var(--text-xs-lineHeight))}.dark .dark\:text-teal-200{color:color-mix(in srgb,var(--colors-teal-200) var(--un-text-opacity),transparent)}.dark .dark\:text-white{color:color-mix(in srgb,var(--colors-white) var(--un-text-opacity),transparent)}.text-\[11px\]{font-size:11px}.text-\[13px\]{font-size:13px}.text-\[56px\]{font-size:56px}.text-gray-400{color:color-mix(in srgb,var(--colors-gray-400) var(--un-text-opacity),transparent)}.text-neutral-500{color:color-mix(in srgb,var(--colors-neutral-500) var(--un-text-opacity),transparent)}.text-neutral-950{color:color-mix(in srgb,var(--colors-neutral-950) var(--un-text-opacity),transparent)}.text-teal-700{color:color-mix(in srgb,var(--colors-teal-700) var(--un-text-opacity),transparent)}.hover\:text-\[\#00DC82\]:hover{color:color-mix(in oklab,#00dc82 var(--un-text-opacity),transparent)}.text-inherit{color:inherit}.leading-4{--un-leading:calc(var(--spacing) * 4);line-height:calc(var(--spacing) * 4)}.leading-5{--un-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-none{--un-leading:var(--leading-none);line-height:var(--leading-none)}.tracking-\[0\.08em\]{--un-tracking:.08em;letter-spacing:.08em}.tracking-\[0\.12em\]{--un-tracking:.12em;letter-spacing:.12em}.tracking-\[0\.4em\]{--un-tracking:.4em;letter-spacing:.4em}.tracking-tight{--un-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--un-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.font-medium{--un-font-weight:var(--fontWeight-medium);font-weight:var(--fontWeight-medium)}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.font-semibold{--un-font-weight:var(--fontWeight-semibold);font-weight:var(--fontWeight-semibold)}.tab{tab-size:4}.mx-auto{margin-inline:auto}.mb-1\.5{margin-bottom:calc(var(--spacing) * 1.5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.ml-1{margin-left:calc(var(--spacing))}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.mt-1{margin-top:calc(var(--spacing))}.mt-20{margin-top:calc(var(--spacing) * 20)}.p-0{padding:calc(var(--spacing) * 0)}.p-2{padding:calc(var(--spacing) * 2)}.p-4{padding:calc(var(--spacing) * 4)}.px,.px-4{padding-inline:calc(var(--spacing) * 4)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px0\.5{padding-inline:calc(var(--spacing) * .5)}.px0\.8{padding-inline:calc(var(--spacing) * .8)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing))}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py0\.1{padding-block:calc(var(--spacing) * .1)}.pb-1{padding-bottom:calc(var(--spacing))}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pl-10{padding-left:calc(var(--spacing) * 10)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:calc(var(--spacing))}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.appearance-none{appearance:none}.outline-\[var\(--x-fg\)\],.peer:focus-visible~.peer-focus-visible\:outline-\[var\(--x-fg\)\]{outline-color:color-mix(in oklab,var(--x-fg) var(--un-outline-opacity),transparent)}.outline,.outline-1{outline-style:var(--un-outline-style);outline-width:1px}.peer:focus-visible~.peer-focus-visible\:outline-2{outline-style:var(--un-outline-style);outline-width:2px}.-outline-offset-1{outline-offset:-1px}.peer:focus-visible~.peer-focus-visible\:outline-offset-2{outline-offset:2px}.outline-none{--un-outline-style:none;outline-style:none}.list-none{list-style-type:none}.accent-\[var\(--x-fg\)\]{accent-color:color-mix(in oklab,var(--x-fg) var(--un-accent-opacity),transparent)}.b,.border{border-width:1px}.border-x{border-inline-width:1px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-\[var\(--x-warn\)\]{border-color:color-mix(in oklab,var(--x-warn) var(--un-border-opacity),transparent)}.border-0{border-width:0}.border-current{border-color:currentColor}.border-teal\:50{border-color:color-mix(in srgb,var(--colors-teal-DEFAULT) 50%,transparent)}.border-l-2{border-left-width:2px}.last\:border-b-0:last-child{border-bottom-width:0}.last\:border-r-0:last-child{border-right-width:0}.rounded{border-radius:var(--radius-DEFAULT)}.border-dashed{--un-border-style:dashed;border-style:dashed}.bg-\[var\(--x-warn\)\]{background-color:color-mix(in oklab,var(--x-warn) var(--un-bg-opacity),transparent)}.bg-gray\:10{background-color:color-mix(in srgb,var(--colors-gray-DEFAULT) 10%,transparent)}.bg-teal\:10{background-color:color-mix(in srgb,var(--colors-teal-DEFAULT) 10%,transparent)}.bg-transparent{background-color:#0000}.bg-white{background-color:color-mix(in srgb,var(--colors-white) var(--un-bg-opacity),transparent)}.dark .dark\:bg-neutral-950{background-color:color-mix(in srgb,var(--colors-neutral-950) var(--un-bg-opacity),transparent)}.op-0{opacity:0}.op-40{opacity:.4}.op-50{opacity:.5}.op-70{opacity:.7}.op-80{opacity:.8}.line-through{text-decoration-line:line-through}.hover\:underline:hover,.underline{text-decoration-line:underline}.decoration-\[var\(--x-faint\)\]{-webkit-text-decoration-color:color-mix(in oklab,var(--x-faint) var(--un-line-opacity),transparent);text-decoration-color:color-mix(in oklab,var(--x-faint) var(--un-line-opacity),transparent);-webkit-text-decoration-color:color-mix(in oklab,var(--x-faint) var(--un-line-opacity),transparent)}.underline-offset-3{text-underline-offset:3px}.flex{display:flex}.inline-flex{display:inline-flex}.flex-auto{flex:auto}.shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.gap-1{gap:calc(var(--spacing))}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-x-3{-moz-column-gap:calc(var(--spacing) * 3);column-gap:calc(var(--spacing) * 3)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:calc(var(--spacing))}.grid{display:grid}.grid-cols-\[7rem_1fr_4\.5rem_14rem\]{grid-template-columns:7rem 1fr 4.5rem 14rem}.grid-cols-\[7rem_1fr_auto\]{grid-template-columns:7rem 1fr auto}.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.grid-cols-\[auto_3rem_1fr_18rem\]{grid-template-columns:auto 3rem 1fr 18rem}.grid-cols-\[minmax\(0\,20rem\)_1fr_1fr\]{grid-template-columns:minmax(0,20rem) 1fr 1fr}.grid-cols-\[minmax\(0\,20rem\)_1fr\]{grid-template-columns:minmax(0,20rem) 1fr}.grid-cols-\[minmax\(0\,22rem\)_1fr\]{grid-template-columns:minmax(0,22rem) 1fr}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.size-\[1\.1em\]{width:1.1em;height:1.1em}.size-\[10px\]{width:10px;height:10px}.size-\[11px\]{width:11px;height:11px}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-2,.h2{height:calc(var(--spacing) * 2)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-auto{height:auto}.h-full{height:100%}.h1{height:calc(var(--spacing))}.max-h-64{max-height:calc(var(--spacing) * 64)}.max-w-520px{max-width:520px}.max-w-6xl{max-width:var(--container-6xl)}.max-w-96{max-width:calc(var(--spacing) * 96)}.max-w-full{max-width:100%}.max-w-sm{max-width:var(--container-sm)}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-36{min-width:calc(var(--spacing) * 36)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}.cursor-pointer{cursor:pointer}.cursor-grab{cursor:grab}.active\:cursor-grabbing:active{cursor:grabbing}.pointer-events-none{pointer-events:none}.select-none{-webkit-user-select:none;user-select:none}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.uppercase{text-transform:uppercase}.antialiased{-moz-osx-font-smoothing:grayscale}.focus-ring:focus{--un-ring-shadow:var(--un-ring-inset,) 0 0 0 calc(1px + var(--un-ring-offset-width)) var(--un-ring-color,currentColor)}.focus-ring:focus,.shadow-\[-3px_0_0_var\(--x-fg\)\],.shadow-\[3px_0_0_var\(--x-fg\)\],.shadow-\[inset_2px_0_var\(--x-fg\)\],.shadow-lg{box-shadow:var(--un-inset-shadow),var(--un-inset-ring-shadow),var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-\[-3px_0_0_var\(--x-fg\)\]{--un-shadow:-3px 0 0 var(--un-shadow-color,var(--x-fg))}.shadow-\[3px_0_0_var\(--x-fg\)\]{--un-shadow:3px 0 0 var(--un-shadow-color,var(--x-fg))}.shadow-\[inset_2px_0_var\(--x-fg\)\]{--un-shadow:inset 2px 0 var(--un-shadow-color,var(--x-fg))}.shadow-lg{--un-shadow:0 10px 15px -3px var(--un-shadow-color,#0000001a),0 4px 6px -4px var(--un-shadow-color,#0000001a)}.group:is([open],:popover-open,:open) .group-open\:rotate-90,.rotate-90{rotate:90deg}.transition-all{transition-property:all}.transition-all,.transition-colors,.transition-transform{transition-timing-function:var(--un-ease,var(--default-transition-timingFunction));transition-duration:var(--un-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to}.transition-transform{transition-property:transform,translate,scale,rotate}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.-bottom-\[6px\]{bottom:-6px}.-left-\[6px\]{left:-6px}.-right-\[6px\]{right:-6px}.left-\[14px\]{left:14px}.left-\[2px\]{left:2px}.left-0{left:calc(var(--spacing) * 0)}.right-0{right:calc(var(--spacing) * 0)}.top-\[2px\]{top:2px}.top-0{top:calc(var(--spacing) * 0)}.top-full{top:100%}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.place-content-center{place-content:center}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.static{position:static}.z-1{z-index:1}.z-10{z-index:10}.z-20{z-index:20}.of-auto{overflow:auto}.overflow-hidden{overflow:hidden}.of-x-auto{overflow-x:auto}.of-y-auto{overflow-y:auto}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.grayscale{--un-grayscale:grayscale(100%)}.table{display:table}.tabular-nums{--un-numeric-spacing:tabular-nums;font-variant-numeric:var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)}@supports (color:color-mix(in lab,red,red)){.dark .dark\:text-teal-200{color:color-mix(in oklab,var(--colors-teal-200) var(--un-text-opacity),transparent)}.dark .dark\:text-white{color:color-mix(in oklab,var(--colors-white) var(--un-text-opacity),transparent)}.text-gray-400{color:color-mix(in oklab,var(--colors-gray-400) var(--un-text-opacity),transparent)}.text-neutral-500{color:color-mix(in oklab,var(--colors-neutral-500) var(--un-text-opacity),transparent)}.text-neutral-950{color:color-mix(in oklab,var(--colors-neutral-950) var(--un-text-opacity),transparent)}.text-teal-700{color:color-mix(in oklab,var(--colors-teal-700) var(--un-text-opacity),transparent)}.border-teal\:50{border-color:color-mix(in oklab,var(--colors-teal-DEFAULT) 50%,transparent)}.bg-gray\:10{background-color:color-mix(in oklab,var(--colors-gray-DEFAULT) 10%,transparent)}.bg-teal\:10{background-color:color-mix(in oklab,var(--colors-teal-DEFAULT) 10%,transparent)}.bg-white{background-color:color-mix(in oklab,var(--colors-white) var(--un-bg-opacity),transparent)}.dark .dark\:bg-neutral-950{background-color:color-mix(in oklab,var(--colors-neutral-950) var(--un-bg-opacity),transparent)}}@media (width>=40rem){.sm\:text-3xl{font-size:var(--text-3xl-fontSize);line-height:var(--un-leading,var(--text-3xl-lineHeight))}.sm\:text-\[72px\]{font-size:72px}}@media (width>=48rem){.md\:border-r{border-right-width:1px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:flex{display:flex}.xl\:max-w-\[90rem\]{max-width:90rem}}
@@ -1 +1 @@
1
- var e={app:{error:`无法连接:{message}`,language:`语言`,loading:`正在加载项目…`,name:`x18n`,project:`项目`,static:`只读报告`,staticHint:"由 `x18n build` 生成的快照。运行 `x18n ui` 进行编辑。"},auth:{code:`验证码`,hint:"输入 `x18n ui` 在终端中打印的 6 位验证码。",label:`身份验证`,rejected:`验证码无效。请在终端中查看当前验证码。`,submit:`连接`,title:`连接到 x18n`},detail:{back:`返回键列表`,diagnostics:`问题`,edit:`编辑`,label:`键`,noUsages:`没有代码使用此键。`,notFound:`此键未定义。`,openInEditor:`在编辑器中打开`,possible:`可能`,usages:`引用({count})`,values:`值`,showAllLocales:`显示所有语言`,file:`文件`},edit:{dismiss:`关闭`,placeholdersExtra:`多余的占位符 {names}`,placeholdersMissing:`缺少占位符 {names}`,rejected:`未保存:{key}({locale}):{message}。`,saveAnyway:`仍然保存`},extract:{apply:`提取({count})`,done:`已提取键:{count}。已修改文件:{files}。`,hint:`带有建议键的硬编码字符串。可编辑键,取消勾选要跳过的字符串,然后应用。`,key:`键`,none:`未发现硬编码字符串。`,strings:`字符串:{count}`},keys:{allNamespaces:`所有命名空间`,anyLocale:`任意语言`,count:`{shown} / {total} 个键`,diagnosticsHint:`此键存在的问题`,editValue:`{key} 在 {locale} 中的值`,empty:`没有匹配的键。`,grid:`各语言的键和值`,helpEdit:`Enter 编辑,Esc 取消`,helpMove:`方向键或 j/k 移动`,helpOpen:`o 打开键`,helpSearch:`/ 搜索`,key:`键`,missingIn:`缺失于`,missingInLocale:`{locale} 中缺失`,namespace:`命名空间`,search:`搜索键和值`,unused:`未使用`,unusedHint:`没有代码使用此键`,withDiagnostics:`有问题`,outdated:`过时`,sort:`排序`,sortKey:`键`,sortRecent:`最近更改`},locale:{complete:`所有键均已翻译。`,empty:`空值({count})`,label:`语言`,missing:`缺失({count})`,notFound:`此项目中没有该语言。`,openInGrid:`在表格中显示`,problems:`占位符和语法问题({count})`,progress:`已翻译 {translated} / {total}({percent})`,outdated:`过时({count})`},localeBar:{bar:`要显示的语言`,noneShown:`所有语言均已隐藏。请在上方栏中选择一个。`,showAll:`全部显示`,shown:`已显示 {shown} / {total}`,title:`语言`,toggle:`显示或隐藏 {locale}`,resetOrder:`重置顺序`,flags:`显示旗帜`,reorder:`拖动或按 Alt 加方向键以调整顺序。`},nav:{extract:`提取`,keys:`键`,overview:`概览`,project:`项目`,usages:`引用`},overview:{clean:`未发现问题。`,coverage:`覆盖率`,diagnostics:`诊断`,errors:`错误:{count}`,keys:`键`,locales:`语言`,missing:`{missing} 个缺失,{empty} 个为空`,noPresets:`未检测到预设。`,noRecent:`自页面打开以来没有更改。`,presets:`预设`,recent:`最近更改`,resources:`资源`,source:`源`,usages:`引用`,warnings:`警告:{count}`,outdated:`{count} 条过时`},project:{config:`配置及各值来源`,conflict:`.{extension}:{winner} 优先于 {loser}`,files:`文件:{count}`,finders:`语言查找器`,formats:`格式`,presets:`预设`,problems:`问题`,resources:`资源:{count}`,scanners:`扫描器`,showAllPresets:`显示所有预设`},prompt:{copied:`已复制`,copy:`复制翻译提示词`,hint:`复制一段提示词,供 LLM 或智能体翻译缺失的消息`,copyStale:`复制包含过时翻译的提示词`,staleHint:`复制提示词,供 LLM 或智能体翻译缺失的消息并更新过时的翻译`,copyAll:`复制所有语言的翻译提示词`,allHint:`复制一段提示词,供 LLM 或智能体翻译每种语言中缺失的消息`},usages:{all:`全部({count})`,dynamic:`动态({count})`,dynamicHint:`使用计算键的引用。其前缀下的键均视为已使用。`,filter:`按文件或键筛选`,missing:`未定义({count})`,missingHint:`代码中使用但未在源语言中定义的键。`,unused:`未使用({count})`,unusedHint:`已在源语言中定义但没有代码使用的键。`},value:{empty:`空`,missing:`缺失`},history:{title:`历史`,local:`本地已更改`,outdated:`过时`,outdatedHint:`此翻译之后源消息发生了更改`,sourceThen:`当时的源文本`,sourceNow:`现在的源文本`,more:`以及另外 {count} 个`,locales:`{count} 种语言`}};export{e as default};
1
+ var e={app:{error:`无法连接:{message}`,language:`语言`,loading:`正在加载项目…`,name:`x18n`,project:`项目`,static:`只读报告`,staticHint:"由 `x18n build` 生成的快照。运行 `x18n ui` 进行编辑。"},auth:{code:`验证码`,hint:"输入 `x18n ui` 在终端中打印的 6 位验证码。",label:`身份验证`,rejected:`验证码无效。请在终端中查看当前验证码。`,submit:`连接`,title:`连接到 x18n`},detail:{back:`返回键列表`,diagnostics:`问题`,edit:`编辑`,label:`键`,noUsages:`没有代码使用此键。`,notFound:`此键未定义。`,openInEditor:`在编辑器中打开`,possible:`可能`,usages:`引用({count})`,values:`值`,showAllLocales:`显示所有语言`,file:`文件`},edit:{dismiss:`关闭`,placeholdersExtra:`多余的占位符 {names}`,placeholdersMissing:`缺少占位符 {names}`,rejected:`未保存:{key}({locale}):{message}。`,saveAnyway:`仍然保存`},extract:{apply:`提取({count})`,done:`已提取键:{count}。已修改文件:{files}。`,hint:`带有建议键的硬编码字符串。可编辑键,取消勾选要跳过的字符串,然后应用。`,key:`键`,none:`未发现硬编码字符串。`,strings:`字符串:{count}`},keys:{allNamespaces:`所有命名空间`,anyLocale:`任意语言`,count:`{shown} / {total} 个键`,diagnosticsHint:`此键存在的问题`,editValue:`{key} 在 {locale} 中的值`,empty:`没有匹配的键。`,grid:`各语言的键和值`,helpEdit:`Enter 编辑,Esc 取消`,helpMove:`方向键或 j/k 移动`,helpOpen:`o 打开键`,helpSearch:`/ 搜索`,key:`键`,missingIn:`缺失于`,missingInLocale:`{locale} 中缺失`,namespace:`命名空间`,search:`搜索键和值`,unused:`未使用`,unusedHint:`没有代码使用此键`,withDiagnostics:`有问题`,outdated:`过时`,sort:`排序`,sortKey:`键`,sortRecent:`最近更改`},locale:{complete:`所有键均已翻译。`,empty:`空值({count})`,label:`语言`,missing:`缺失({count})`,notFound:`此项目中没有该语言。`,openInGrid:`在表格中显示`,problems:`占位符和语法问题({count})`,progress:`已翻译 {translated} / {total}({percent})`,outdated:`过时({count})`},localeBar:{bar:`要显示的语言`,noneShown:`所有语言均已隐藏。请在上方栏中选择一个。`,showAll:`全部显示`,shown:`已显示 {shown} / {total}`,title:`语言`,toggle:`显示或隐藏 {locale}`,resetOrder:`重置顺序`,flags:`显示旗帜`,reorder:`拖动或按 Alt 加方向键以调整顺序。`},nav:{extract:`提取`,keys:`键`,overview:`概览`,project:`项目`,usages:`引用`},overview:{clean:`未发现问题。`,coverage:`覆盖率`,diagnostics:`诊断`,errors:`错误:{count}`,keys:`键`,locales:`语言`,missing:`{missing} 个缺失,{empty} 个为空`,noPresets:`未检测到预设。`,noRecent:`自页面打开以来没有更改。`,presets:`预设`,recent:`最近更改`,resources:`资源`,source:`源`,usages:`引用`,warnings:`警告:{count}`,outdated:`{count} 条过时`},project:{config:`配置及各值来源`,conflict:`.{extension}:{winner} 优先于 {loser}`,files:`文件:{count}`,finders:`语言查找器`,formats:`格式`,presets:`预设`,problems:`问题`,resources:`资源:{count}`,scanners:`扫描器`,showAllPresets:`显示所有预设`},prompt:{copied:`已复制`,copy:`复制翻译提示词`,hint:`复制一段提示词,供 LLM 或智能体翻译缺失的消息`,copyStale:`复制包含过时翻译的提示词`,staleHint:`复制提示词,供 LLM 或智能体翻译缺失的消息并更新过时的翻译`,copyAll:`复制所有语言的翻译提示词`,allHint:`复制一段提示词,供 LLM 或智能体翻译每种语言中缺失的消息`},usages:{all:`全部({count})`,dynamic:`动态({count})`,dynamicHint:`使用计算键的引用。其前缀下的键均视为已使用。`,filter:`按文件或键筛选`,missing:`未定义({count})`,missingHint:`代码中使用但未在源语言中定义的键。`,unused:`未使用({count})`,unusedHint:`已在源语言中定义但没有代码使用的键。`},value:{empty:`空`,missing:`缺失`},history:{title:`历史`,local:`本地已更改`,outdated:`过时`,outdatedHint:`此翻译之后源消息发生了更改`,sourceThen:`当时的源文本`,sourceNow:`现在的源文本`,more:`以及另外 {count} 个`,locales:`{count} 种语言`},sidebar:{list:`列表视图`,tree:`树状视图`,filter:`筛选键`,view:`键列表视图`}};export{e as default};
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>x18n</title><script type="importmap">{"imports":{"#entry":"/_nuxt/n6pi28wD.js"}}</script><script>{const p=new URLSearchParams(location.hash.slice(1)),c=p.get('devframe_otp');if(c){sessionStorage.setItem('x18n:otp',c);history.replaceState(null,'',location.pathname+location.search+'#'+(p.get('route')||'/'))}}</script><link rel="stylesheet" href="/_nuxt/entry.D2md-EYL.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/_nuxt/n6pi28wD.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/Bw3sjlsE.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/B4prFwj0.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/DoHg1T7s.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/D4dwYDex.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/Bqlbbq4u.js"><script type="module" src="/_nuxt/n6pi28wD.js" crossorigin></script><link rel="prefetch" as="script" crossorigin href="/_nuxt/B48W2q7f.js"><link rel="prefetch" as="script" crossorigin href="/_nuxt/ChbLIx1c.js"><link rel="prefetch" as="style" crossorigin href="/_nuxt/error-404.B3F8lAkA.css"><link rel="prefetch" as="script" crossorigin href="/_nuxt/DWpOVjuS.js"><link rel="prefetch" as="script" crossorigin href="/_nuxt/CQOvHI-h.js"><link rel="prefetch" as="style" crossorigin href="/_nuxt/error-500.BO-H0E44.css"><link rel="prefetch" as="script" crossorigin href="/_nuxt/ChIAts7W.js"><link rel="icon" href="./logo.svg" type="image/svg+xml"></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/",buildId:"33bfcf49-6c29-4ff2-8a7c-2676280e43b0",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1792557719684,false]</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>x18n</title><script type="importmap">{"imports":{"#entry":"/_nuxt/DJiNcGZq.js"}}</script><script>{const p=new URLSearchParams(location.hash.slice(1)),c=p.get('devframe_otp');if(c){sessionStorage.setItem('x18n:otp',c);history.replaceState(null,'',location.pathname+location.search+'#'+(p.get('route')||'/'))}}</script><link rel="stylesheet" href="/_nuxt/entry.DCwNI6d7.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/_nuxt/DJiNcGZq.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/Bw3sjlsE.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/B4prFwj0.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/DoHg1T7s.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/D4dwYDex.js"><link rel="modulepreload" as="script" crossorigin href="/_nuxt/DsqCc3fC.js"><script type="module" src="/_nuxt/DJiNcGZq.js" crossorigin></script><link rel="prefetch" as="script" crossorigin href="/_nuxt/B48W2q7f.js"><link rel="prefetch" as="script" crossorigin href="/_nuxt/ChbLIx1c.js"><link rel="prefetch" as="style" crossorigin href="/_nuxt/error-404.B3F8lAkA.css"><link rel="prefetch" as="script" crossorigin href="/_nuxt/DWpOVjuS.js"><link rel="prefetch" as="script" crossorigin href="/_nuxt/CQOvHI-h.js"><link rel="prefetch" as="style" crossorigin href="/_nuxt/error-500.BO-H0E44.css"><link rel="prefetch" as="script" crossorigin href="/_nuxt/ChIAts7W.js"><link rel="icon" href="./logo.svg" type="image/svg+xml"></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/",buildId:"8a31ddf7-f214-42d6-b90e-fa6fcd47377d",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1792570321689,false]</script></body></html>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@x18n/ui",
3
3
  "type": "module",
4
- "version": "0.0.7",
4
+ "version": "0.0.9",
5
5
  "description": "x18n UI as a devframe: dev server, static report, in-browser workspace and VS Code panel",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -27,8 +27,8 @@
27
27
  "dependencies": {
28
28
  "@devframes/agentic": "1.2.5",
29
29
  "@valibot/to-json-schema": "^1.8.0",
30
- "@x18n/builtins": "0.0.7",
31
- "@x18n/core": "0.0.7",
30
+ "@x18n/builtins": "0.0.9",
31
+ "@x18n/core": "0.0.9",
32
32
  "devframe": "^1.2.6",
33
33
  "valibot": "^1.5.0"
34
34
  },
@@ -41,7 +41,7 @@
41
41
  "@unocss/nuxt": "^66.11.0",
42
42
  "@unocss/reset": "^66.11.0",
43
43
  "@vueuse/core": "^15.0.0",
44
- "@x18n/node": "0.0.7",
44
+ "@x18n/node": "0.0.9",
45
45
  "jiti": "^2.7.0",
46
46
  "nuxt": "^4.6.2",
47
47
  "unocss": "^66.11.0",
@@ -1 +0,0 @@
1
- import{Ct as e,Et as t,M as n,P as r,_ as i,d as a,it as o,m as s,r as c,s as l}from"./B4prFwj0.js";import{S as u}from"./Bqlbbq4u.js";var d={key:0,class:`font-mono text-[11px] uppercase tracking-[0.08em] color-error op-80`},f={key:1,class:`font-mono text-[11px] uppercase tracking-[0.08em] color-warn op-80`},p={key:2,class:`font-mono color-info`},m={key:0,class:`border-b border-current font-mono color-info`,"data-placeholder":``},h=i({__name:`MessageText`,props:{value:{type:[String,Number,Boolean,null]},placeholders:{},inline:{type:Boolean}},setup(i){let h=i,g=l(()=>{if(typeof h.value!=`string`)return[];let e=[],t=0;for(let n of h.placeholders??[])n.start>t&&e.push({text:h.value.slice(t,n.start),placeholder:!1}),e.push({text:h.value.slice(n.start,n.end),placeholder:!0}),t=n.end;return t<h.value.length&&e.push({text:h.value.slice(t),placeholder:!1}),e});return(l,h)=>i.value===void 0?(n(),a(`span`,d,t(o(u)(`value.missing`)),1)):i.value===``?(n(),a(`span`,f,t(o(u)(`value.empty`)),1)):typeof i.value==`string`?(n(),a(`span`,{key:3,class:e(i.inline?`whitespace-nowrap`:`whitespace-pre-wrap break-words`)},[(n(!0),a(c,null,r(g.value,(e,r)=>(n(),a(c,{key:r},[e.placeholder?(n(),a(`span`,m,t(e.text),1)):(n(),a(c,{key:1},[s(t(e.text),1)],64))],64))),128))],2)):(n(),a(`span`,p,t(JSON.stringify(i.value)),1))}});export{h as t};
@@ -1 +0,0 @@
1
- import{S as e,c as t,t as n}from"./Bqlbbq4u.js";function r(e,r=!1){return n.value.apply({project:t.value,ops:e,force:r})}function i(e,t,n,i=!1){return r([{type:`set`,key:e,locale:t,value:n}],i)}function a(t){return[t.missing.length?e(`edit.placeholdersMissing`,{names:t.missing.join(`, `)}):``,t.extra.length?e(`edit.placeholdersExtra`,{names:t.extra.join(`, `)}):``].filter(Boolean).join(`; `)}export{a as n,i as r,r as t};
@@ -1 +0,0 @@
1
- import{B as e,Ct as t,E as n,Et as r,F as i,H as a,M as o,P as s,Q as c,R as l,T as ee,Tt as u,U as d,_ as f,c as p,d as m,h,it as g,m as _,r as v,s as y,u as b,wt as te,y as ne,z as x}from"./B4prFwj0.js";import{a as S,i as C,o as w,s as T}from"./DoHg1T7s.js";import{d as re,u as ie}from"./D4dwYDex.js";import{D as ae,S as E,h as oe,m as se,n as ce,t as D}from"./Bqlbbq4u.js";import{n as le}from"#entry";import{t as ue}from"./BZwyJa72.js";import{n as de,r as fe}from"./CEb7njzd.js";import{t as pe}from"./C7ReGOzp.js";var O={class:`inline-flex cursor-pointer items-center gap-2 text-xs select-none`},k=f({__name:`UiToggle`,props:{modelValue:{type:Boolean,required:!0},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let n=l(e,`modelValue`);return(e,r)=>(o(),m(`label`,O,[d(p(`input`,{"onUpdate:modelValue":r[0]||=e=>n.value=e,type:`checkbox`,class:`peer sr-only`},null,512),[[C,n.value]]),p(`span`,{class:t([`relative h-4 w-7 border transition-colors peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-[var(--x-fg)]`,n.value?`border-inverse bg-inverse`:`border-strong bg-base`])},[p(`span`,{class:t([`absolute top-[2px] size-[10px] transition-all`,n.value?`left-[14px] bg-base`:`left-[2px] bg-inverse`])},null,2)],2),i(e.$slots,`default`)]))}});function A(e,t){let n=e.toLowerCase(),r=t.toLowerCase(),i=r.indexOf(n);if(i!==-1)return 1e3-i;let a=0,o=-1;for(let e of n){let t=r.indexOf(e,o+1);if(t===-1)return-1;a+=t===o+1?2:1,o=t}return a}var me={class:`h-full flex flex-col`},he={class:`shrink-0 flex flex-wrap items-center gap-3 border-b border-base px-4 py-2`},ge={class:`input w-80 flex items-center gap-2 focus-within:border-inverse`},_e=[`placeholder`,`aria-label`],ve=[`aria-label`],ye={value:``},be=[`value`],xe=[`aria-label`],Se={value:``},Ce=[`value`],we={class:`font-mono text-xs color-muted tabular-nums`},Te={key:0,class:`shrink-0 flex items-center gap-2 border-b border-base px-4 py-1.5 color-warn`,role:`alert`},Ee={class:`color-base`},De=[`aria-label`,`aria-rowcount`],Oe={class:`label flex items-center px-4`,role:`columnheader`},ke={class:`label color-base`},Ae={key:0,class:`badge`},je=[`aria-rowindex`,`data-key`],Me=[`title`,`onClick`,`onDblclick`],Ne={class:`truncate`},Pe=[`title`],Fe=[`title`],Ie=[`data-locale`,`onClick`,`onDblclick`],Le=[`aria-label`],Re=[`title`],ze=[`title`],Be={key:0,class:`p-4 color-muted`},j={class:`shrink-0 flex gap-4 border-t border-base px-4 py-1.5 font-mono text-[11px] color-muted`},Ve={key:0},M=32,N=f({__name:`index`,setup(i){let l=ie(),f=re(),C=se((e,t)=>e.keys(t)),O=c(``),N=c(``),P=c(typeof l.query.missing==`string`?l.query.missing:``),F=c(!1),I=c(!1),L=c(l.query.outdated!==void 0),R=c(`key`),He=y(()=>[{value:`key`,label:E(`keys.sortKey`)},{value:`recent`,label:E(`keys.sortRecent`)}]),Ue=y(()=>(C.value?.rows??[]).some(e=>e.changedAt!==void 0)),z=y(()=>oe.value.map(e=>e.code)),B=y(()=>[...new Set((C.value?.rows??[]).flatMap(e=>e.namespace??[]))].sort()),V=y(()=>{let e=O.value.trim(),t=(C.value?.rows??[]).filter(e=>(!N.value||e.namespace===N.value)&&(!P.value||!z.value.includes(P.value)||e.missing.includes(P.value))&&(!F.value||e.unused)&&(!I.value||e.diagnostics>0)&&(!L.value||e.outdated.some(e=>z.value.includes(e))));return e?t.map(t=>{let n=Object.values(t.values).map(t=>A(e,String(t))/2);return{row:t,score:Math.max(A(e,t.key),...n)}}).filter(e=>e.score>=0).sort((e,t)=>t.score-e.score).map(e=>e.row):R.value===`recent`?[...t].sort((e,t)=>(t.changedAt??0)-(e.changedAt??0)):t}),{list:We,containerProps:H,wrapperProps:Ge,scrollTo:Ke}=ae(V,{itemHeight:M,overscan:12}),U=c({row:0,col:0}),W=c(),G=c(),K=x(`searchInput`),q=x(`editor`);e(V,()=>{U.value={row:Math.min(U.value.row,Math.max(V.value.length-1,0)),col:U.value.col}});let J=y(()=>z.value.length?`minmax(16rem, 1.2fr) repeat(${z.value.length}, minmax(12rem, 1fr))`:`1fr`);function Y(e,t){let n={row:Math.max(0,Math.min(V.value.length-1,e)),col:Math.max(0,Math.min(z.value.length,t))};U.value=n;let r=H.ref.value;if(r){let e=n.row*M;(e<r.scrollTop||e+64>r.scrollTop+r.clientHeight)&&Ke(n.row)}}async function X(e,t){if(!D.value?.capabilities.write)return;let r=e.values[t];W.value={key:e.key,locale:t,draft:r==null?``:String(r)},await n(),q.value?.[0]?.focus()}async function Z(e=!1){let t=W.value;if(!t)return;W.value=void 0;let n=await fe(t.key,t.locale,t.draft,e);G.value=n.applied?void 0:{key:t.key,locale:t.locale,value:t.draft,message:n.problems.map(de).join(`; `)},H.ref.value?.focus()}function qe(){W.value=void 0,H.ref.value?.focus()}async function Je(){let e=G.value;e&&(W.value={key:e.key,locale:e.locale,draft:e.value},await Z(!0))}function Q(e){f.push(`/keys/${encodeURIComponent(e.key)}`)}function $(){let e=V.value[U.value.row];if(!e)return;let t=z.value[U.value.col-1];t?X(e,t):Q(e)}let Ye={ArrowDown:()=>Y(U.value.row+1,U.value.col),ArrowUp:()=>Y(U.value.row-1,U.value.col),ArrowRight:()=>Y(U.value.row,U.value.col+1),ArrowLeft:()=>Y(U.value.row,U.value.col-1),PageDown:()=>Y(U.value.row+20,U.value.col),PageUp:()=>Y(U.value.row-20,U.value.col),Home:()=>Y(0,U.value.col),End:()=>Y(V.value.length-1,U.value.col),Enter:$,F2:$,o:()=>V.value[U.value.row]&&Q(V.value[U.value.row]),j:()=>Y(U.value.row+1,U.value.col),k:()=>Y(U.value.row-1,U.value.col),"/":()=>K.value?.focus()};function Xe(e){if(W.value||e.metaKey||e.ctrlKey||e.altKey)return;let t=Ye[e.key];t&&(e.preventDefault(),t())}function Ze(e){e.stopPropagation(),e.key===`Escape`?(e.preventDefault(),qe()):(e.key===`Enter`||e.key===`Tab`)&&(e.preventDefault(),Z().then(()=>{e.key===`Tab`&&Y(U.value.row,U.value.col+1)}))}return(e,n)=>(o(),m(`div`,me,[p(`div`,he,[p(`label`,ge,[n[12]||=p(`span`,{class:`i-ph-magnifying-glass-duotone color-faint`},null,-1),d(p(`input`,{ref_key:`searchInput`,ref:K,"onUpdate:modelValue":n[0]||=e=>O.value=e,class:`flex-auto bg-transparent outline-none`,placeholder:g(E)(`keys.search`),"aria-label":g(E)(`keys.search`),onKeydown:[n[1]||=T(e=>g(H).ref.value?.focus(),[`escape`]),n[2]||=T(e=>g(H).ref.value?.focus(),[`enter`])]},null,40,_e),[[w,O.value]]),n[13]||=p(`kbd`,{class:`badge`},`/`,-1)]),B.value.length?d((o(),m(`select`,{key:0,"onUpdate:modelValue":n[3]||=e=>N.value=e,class:`input text-xs`,"aria-label":g(E)(`keys.namespace`)},[p(`option`,ye,r(g(E)(`keys.allNamespaces`)),1),(o(!0),m(v,null,s(B.value,e=>(o(),m(`option`,{key:e,value:e},r(e),9,be))),128))],8,ve)),[[S,N.value]]):b(``,!0),d(p(`select`,{"onUpdate:modelValue":n[4]||=e=>P.value=e,class:`input text-xs`,"aria-label":g(E)(`keys.missingIn`)},[p(`option`,Se,r(g(E)(`keys.anyLocale`)),1),(o(!0),m(v,null,s(z.value,e=>(o(),m(`option`,{key:e,value:e},r(g(E)(`keys.missingInLocale`,{locale:e})),9,Ce))),128))],8,xe),[[S,P.value]]),h(k,{modelValue:F.value,"onUpdate:modelValue":n[5]||=e=>F.value=e},{default:a(()=>[_(r(g(E)(`keys.unused`)),1)]),_:1},8,[`modelValue`]),h(k,{modelValue:I.value,"onUpdate:modelValue":n[6]||=e=>I.value=e},{default:a(()=>[_(r(g(E)(`keys.withDiagnostics`)),1)]),_:1},8,[`modelValue`]),Ue.value?(o(),m(v,{key:1},[h(k,{modelValue:L.value,"onUpdate:modelValue":n[7]||=e=>L.value=e},{default:a(()=>[_(r(g(E)(`keys.outdated`)),1)]),_:1},8,[`modelValue`]),h(pe,{modelValue:R.value,"onUpdate:modelValue":n[8]||=e=>R.value=e,options:He.value,label:g(E)(`keys.sort`)},null,8,[`modelValue`,`options`,`label`])],64)):b(``,!0),n[14]||=p(`div`,{class:`flex-auto`},null,-1),p(`span`,we,r(g(E)(`keys.count`,{shown:V.value.length,total:g(C)?.rows.length??0})),1)]),G.value?(o(),m(`div`,Te,[n[15]||=p(`span`,{class:`i-ph-warning-duotone`},null,-1),p(`span`,Ee,r(g(E)(`edit.rejected`,{key:G.value.key,locale:G.value.locale,message:G.value.message})),1),p(`button`,{class:`btn-outline h-7`,onClick:Je},r(g(E)(`edit.saveAnyway`)),1),p(`button`,{class:`btn-ghost h-7`,onClick:n[9]||=e=>G.value=void 0},r(g(E)(`edit.dismiss`)),1)])):b(``,!0),p(`div`,ee(g(H),{class:`flex-auto min-h-0 of-auto outline-none`,tabindex:`0`,role:`grid`,"aria-label":g(E)(`keys.grid`),"aria-rowcount":V.value.length,onKeydown:Xe}),[p(`div`,{class:`sticky top-0 z-20 grid border-b border-strong bg-base`,style:u({gridTemplateColumns:J.value,height:`${M}px`}),role:`row`},[p(`div`,Oe,r(g(E)(`keys.key`)),1),(o(!0),m(v,null,s(z.value,e=>(o(),m(`div`,{key:e,class:`flex items-center gap-2 border-l border-base px-3`,role:`columnheader`},[h(le,{code:e},null,8,[`code`]),p(`span`,ke,r(e),1),e===g(ce)?.sourceLocale?(o(),m(`span`,Ae,r(g(E)(`overview.source`)),1)):b(``,!0)]))),128))],4),p(`div`,te(ne(g(Ge))),[(o(!0),m(v,null,s(g(We),({data:e,index:i})=>(o(),m(`div`,{key:e.key,class:t([`grid border-b border-base`,i===U.value.row?`bg-hover`:``]),style:u({gridTemplateColumns:J.value,height:`${M}px`}),role:`row`,"aria-rowindex":i+1,"data-key":e.key},[p(`div`,{class:t([`flex min-w-0 cursor-pointer items-center gap-1.5 px-4 font-mono text-xs`,i===U.value.row&&U.value.col===0?`outline outline-1 outline-[var(--x-fg)] -outline-offset-1`:``]),role:`gridcell`,title:e.key,onClick:e=>Y(i,0),onDblclick:t=>Q(e)},[p(`span`,Ne,r(e.key),1),e.unused?(o(),m(`span`,{key:0,class:`i-ph-ghost-duotone shrink-0 color-faint`,title:g(E)(`keys.unusedHint`)},null,8,Pe)):b(``,!0),e.diagnostics?(o(),m(`span`,{key:1,class:`badge shrink-0 border-current color-error`,title:g(E)(`keys.diagnosticsHint`)},r(e.diagnostics),9,Fe)):b(``,!0)],42,Me),(o(!0),m(v,null,s(z.value,(r,a)=>(o(),m(`div`,{key:r,class:t([`flex min-w-0 items-center border-l border-base px-3`,i===U.value.row&&U.value.col===a+1?`outline outline-1 outline-[var(--x-fg)] -outline-offset-1`:``]),role:`gridcell`,"data-locale":r,onClick:e=>Y(i,a+1),onDblclick:t=>X(e,r)},[W.value&&W.value.key===e.key&&W.value.locale===r?d((o(),m(`input`,{key:0,ref_for:!0,ref_key:`editor`,ref:q,"onUpdate:modelValue":n[10]||=e=>W.value.draft=e,class:`w-full bg-transparent outline-none`,"aria-label":g(E)(`keys.editValue`,{key:e.key,locale:r}),onKeydown:Ze,onBlur:n[11]||=e=>Z()},null,40,Le)),[[w,W.value.draft]]):(o(),m(v,{key:1},[p(`span`,{class:`truncate`,title:String(e.values[r]??``)},[h(ue,{value:e.values[r],inline:``},null,8,[`value`])],8,Re),e.outdated.includes(r)?(o(),m(`span`,{key:0,class:`ml-auto shrink-0 pl-2 color-warn`,title:g(E)(`history.outdatedHint`)},[...n[16]||=[p(`span`,{class:`i-ph-clock-counter-clockwise-duotone block`},null,-1)]],8,ze)):b(``,!0)],64))],42,Ie))),128))],14,je))),128))],16),g(C)&&!V.value.length?(o(),m(`p`,Be,r(g(E)(`keys.empty`)),1)):b(``,!0)],16,De),p(`div`,j,[p(`span`,null,r(g(E)(`keys.helpMove`)),1),g(D)?.capabilities.write?(o(),m(`span`,Ve,r(g(E)(`keys.helpEdit`)),1)):b(``,!0),p(`span`,null,r(g(E)(`keys.helpOpen`)),1),p(`span`,null,r(g(E)(`keys.helpSearch`)),1)])]))}});export{N as default};
@@ -1 +0,0 @@
1
- import{Ct as e,Et as t,H as n,M as r,P as i,Q as a,U as ee,_ as o,c as s,d as c,h as l,it as u,l as d,m as f,r as p,s as m,u as h}from"./B4prFwj0.js";import{c as te,o as ne,s as g}from"./DoHg1T7s.js";import{u as _}from"./D4dwYDex.js";import{S as v,a as re,c as ie,f as y,h as b,m as x,n as S,t as C}from"./Bqlbbq4u.js";import{i as ae,n as oe}from"#entry";import{t as w}from"./SGqoyjTw.js";import{t as se}from"./ztSLDBsK.js";import{t as T}from"./DQNu8teu.js";import{n as ce,r as E,t as le}from"./BWmypMON.js";import{t as D}from"./BZwyJa72.js";import{t as O}from"./02DyCwxD.js";import{t as k}from"./BEQcjiBv.js";import{n as A,r as j,t as M}from"./CEb7njzd.js";var N={class:`flex items-center gap-3 border-b border-base px-4 py-4`},P={class:`grid gap-1`},F={class:`label`},I={class:`break-all font-mono text-xl font-medium`},L={key:0,class:`badge self-end`},R={key:0,class:`px-4 py-3 color-muted`},z={key:0,class:`px-4 py-3 color-muted`},B=[`data-locale`],V={class:`flex items-center gap-2 pt-0.5 font-mono`},H={key:0,class:`badge`},U=[`title`],W={key:0,class:`grid gap-2`},ue=[`aria-label`],de={key:0,class:`flex items-center gap-2 color-warn`},fe=[`title`,`onDblclick`],pe={key:0,class:`grid grid-cols-[auto_1fr] gap-x-3 gap-y-0.5 border-l-2 border-[var(--x-warn)] py-0.5 pl-3 text-xs`},me={class:`label`},he={class:`color-muted line-through decoration-[var(--x-faint)]`},ge={class:`label`},_e={class:`flex gap-1`},ve={class:`font-mono text-xs color-muted`},ye={class:`flex-auto`},be=[`onClick`],xe={key:0,class:`px-4 py-3 color-muted`},Se={class:`flex items-center gap-2`},Ce={key:0,class:`badge`},we=[`onClick`],G=o({__name:`[key]`,setup(o){let G=_(),K=m(()=>String(G.params.key)),q=x((e,t)=>e.key(t,K.value)),J=m(()=>b.value.map(e=>({locale:e.code,message:q.value?.messages.find(t=>t.locale===e.code)}))),Y=m(()=>re.value.length-b.value.length),Te=m(()=>q.value?.messages.find(e=>e.locale===S.value?.sourceLocale)?.value),X=a(),Z=a();async function Q(e=!1){let t=X.value;if(!t)return;let n=await j(K.value,t.locale,t.draft,e);n.applied?(X.value=void 0,Z.value=void 0):Z.value=n.problems.map(A).join(`; `)}function Ee(e,t){X.value={locale:e,draft:t==null?``:String(t)},Z.value=void 0}function $(e){return e.type!==`extract`&&e.type!==`format`}function De(e){C.value?.openInEditor({project:ie.value,path:e.path,line:e.line,column:e.column})}return(a,o)=>(r(),d(se,null,{default:n(()=>[s(`header`,N,[l(u(ae),{to:`/keys`,class:`btn-icon`,"aria-label":u(v)(`detail.back`)},{default:n(()=>[...o[5]||=[s(`span`,{class:`i-ph-arrow-left-duotone`},null,-1)]]),_:1},8,[`aria-label`]),s(`div`,P,[s(`span`,F,t(u(v)(`detail.label`)),1),s(`h1`,I,t(K.value),1)]),u(q)?.namespace?(r(),c(`span`,L,t(u(q).namespace),1)):h(``,!0)]),u(q)===null?(r(),c(`p`,R,t(u(v)(`detail.notFound`)),1)):u(q)?(r(),c(p,{key:1},[l(T,{index:`01`,title:u(v)(`detail.values`)},{default:n(()=>[J.value.length?h(``,!0):(r(),c(`p`,z,t(u(v)(`localeBar.noneShown`)),1)),(r(!0),c(p,null,i(J.value,e=>(r(),c(`div`,{key:e.locale,class:`grid grid-cols-[7rem_1fr_auto] items-start gap-4 border-b border-base px-4 py-3 last:border-b-0`,"data-locale":e.locale},[s(`span`,V,[l(oe,{code:e.locale},null,8,[`code`]),f(` `+t(e.locale)+` `,1),e.locale===u(S)?.sourceLocale?(r(),c(`span`,H,t(u(v)(`overview.source`)),1)):h(``,!0),e.message?.outdated?(r(),c(`span`,{key:1,class:`badge border-current color-warn`,title:u(v)(`history.outdatedHint`)},t(u(v)(`history.outdated`)),9,U)):h(``,!0)]),X.value?.locale===e.locale?(r(),c(`div`,W,[ee(s(`textarea`,{"onUpdate:modelValue":o[0]||=e=>X.value.draft=e,class:`input h-auto py-1.5 font-mono`,rows:`2`,"aria-label":u(v)(`keys.editValue`,{key:K.value,locale:e.locale}),onKeydown:[o[1]||=g(te(e=>Q(),[`exact`,`prevent`]),[`enter`]),o[2]||=g(e=>X.value=void 0,[`escape`])]},null,40,ue),[[ne,X.value.draft]]),Z.value?(r(),c(`p`,de,[o[6]||=s(`span`,{class:`i-ph-warning-duotone`},null,-1),f(` `+t(Z.value)+` `,1),s(`button`,{class:`btn-outline h-7`,onClick:o[3]||=e=>Q(!0)},t(u(v)(`edit.saveAnyway`)),1)])):h(``,!0)])):(r(),c(`div`,{key:1,class:`grid min-w-0 gap-1`,title:u(C)?.capabilities.write?u(v)(`detail.edit`):void 0,onDblclick:t=>u(C)?.capabilities.write&&Ee(e.locale,e.message?.value)},[l(D,{value:e.message?.value,placeholders:e.message?.placeholders??[]},null,8,[`value`,`placeholders`]),e.message?.sourceThen===void 0?h(``,!0):(r(),c(`dl`,pe,[s(`dt`,me,t(u(v)(`history.sourceThen`)),1),s(`dd`,he,[l(D,{value:e.message.sourceThen},null,8,[`value`])]),s(`dt`,ge,t(u(v)(`history.sourceNow`)),1),s(`dd`,null,[l(D,{value:Te.value},null,8,[`value`])])]))],40,fe)),s(`div`,_e,[e.locale===u(S)?.sourceLocale?h(``,!0):(r(),d(ce,{key:0,text:u(le)([{locale:e.locale,key:K.value}]),label:u(v)(`prompt.copy`),hint:u(v)(`prompt.hint`)},null,8,[`text`,`label`,`hint`])),e.message?(r(),d(E,{key:1,icon:`i-ph-file-text-duotone`,label:u(v)(`detail.file`)},{default:n(()=>[l(w,{path:e.message.path,line:e.message.line},null,8,[`path`,`line`])]),_:2},1032,[`label`])):h(``,!0),e.message?.changed?(r(),d(E,{key:2,icon:`i-ph-clock-counter-clockwise-duotone`,label:u(v)(`history.title`)},{default:n(()=>[l(O,{change:e.message.changed},null,8,[`change`])]),_:2},1032,[`label`])):h(``,!0)])],8,B))),128)),Y.value?(r(),c(`button`,{key:1,class:`btn-ghost h-9 w-full justify-start px-4`,onClick:o[4]||=(...e)=>u(y)&&u(y)(...e)},[o[7]||=s(`span`,{class:`i-ph-dots-three-duotone`},null,-1),f(` `+t(u(v)(`detail.showAllLocales`))+` (`+t(Y.value)+`) `,1)])):h(``,!0)]),_:1},8,[`title`]),u(q).diagnostics.length?(r(),d(T,{key:0,index:`02`,title:u(v)(`detail.diagnostics`)},{default:n(()=>[(r(!0),c(p,null,i(u(q).diagnostics,(n,a)=>(r(),c(`div`,{key:a,class:`flex items-center gap-2 border-b border-base px-4 py-2 last:border-b-0`},[s(`span`,{class:e(n.severity===`error`?`i-ph-x-circle-duotone color-error`:`i-ph-warning-duotone color-warn`)},null,2),s(`span`,ve,t(n.code),1),s(`span`,ye,t(n.message),1),u(C)?.capabilities.write?(r(!0),c(p,{key:0},i(n.fixes.filter(e=>e.ops.every($)),e=>(r(),c(`button`,{key:e.title,class:`btn-outline h-7`,onClick:t=>u(M)(e.ops.filter($))},t(e.title),9,be))),128)):h(``,!0)]))),128))]),_:1},8,[`title`])):h(``,!0),l(T,{index:`03`,title:u(v)(`detail.usages`,{count:u(q).usages.length})},{default:n(()=>[u(q).usages.length?h(``,!0):(r(),c(`p`,xe,t(u(v)(`detail.noUsages`)),1)),(r(!0),c(p,null,i(u(q).usages,(e,n)=>(r(),c(`div`,{key:n,class:`grid gap-2 border-b border-base px-4 py-3 last:border-b-0`},[s(`div`,Se,[l(w,{path:e.path,line:e.line,column:e.column},null,8,[`path`,`line`,`column`]),e.possible?(r(),c(`span`,Ce,t(u(v)(`detail.possible`)),1)):h(``,!0),o[9]||=s(`span`,{class:`flex-auto`},null,-1),u(C)?.capabilities.openInEditor?(r(),c(`button`,{key:1,class:`btn-ghost h-7`,onClick:t=>De(e)},[o[8]||=s(`span`,{class:`i-ph-arrow-square-out-duotone`},null,-1),f(` `+t(u(v)(`detail.openInEditor`)),1)],8,we)):h(``,!0)]),l(k,{usage:e},null,8,[`usage`])]))),128))]),_:1},8,[`title`])],64)):h(``,!0)]),_:1}))}});export{G as default};
@@ -1 +0,0 @@
1
- {"id":"33bfcf49-6c29-4ff2-8a7c-2676280e43b0","timestamp":1792557716204,"prerendered":[]}