@autocode-cli/autocode 0.24.0 → 0.24.2

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 (47) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/{Ct1wD_ak.js → 8PJti6tf.js} +1 -1
  3. package/.output/public/_nuxt/{M57FIHwY.js → BB7mNyvB.js} +1 -1
  4. package/.output/public/_nuxt/{teKmjdue.js → BMvB5hkX.js} +1 -1
  5. package/.output/public/_nuxt/{CIgI-kep.js → BarhsfnG.js} +1 -1
  6. package/.output/public/_nuxt/{CHc8-G9J.js → BbEo0CFB.js} +1 -1
  7. package/.output/public/_nuxt/{uyQmTYnD.js → BcQFK3DA.js} +1 -1
  8. package/.output/public/_nuxt/{DsCGEKfY.js → BfvaD8zq.js} +3 -3
  9. package/.output/public/_nuxt/{Bo-KGD7n.js → BhrZFGnk.js} +1 -1
  10. package/.output/public/_nuxt/{DKj_oZ78.js → Bu1-IDNY.js} +1 -1
  11. package/.output/public/_nuxt/{BE_AlRS6.js → Bz9WwRWr.js} +1 -1
  12. package/.output/public/_nuxt/{66ZmMMJ2.js → C2zPiS0N.js} +1 -1
  13. package/.output/public/_nuxt/{BL3gdTy3.js → C5qkUISE.js} +1 -1
  14. package/.output/public/_nuxt/{BELXF6aE.js → C9Z_Mjdv.js} +1 -1
  15. package/.output/public/_nuxt/{BDASIxln.js → CG6fFX4R.js} +1 -1
  16. package/.output/public/_nuxt/{B6eh1ZOq.js → CP8dHttY.js} +1 -1
  17. package/.output/public/_nuxt/{DlTeOLHG.js → CQWl6TIZ.js} +1 -1
  18. package/.output/public/_nuxt/{C2_wg8pQ.js → CeVGNobe.js} +1 -1
  19. package/.output/public/_nuxt/{C4EkQk2p.js → Cu-0JJ8B.js} +1 -1
  20. package/.output/public/_nuxt/{DEicEhPN.js → CxCUB-jw.js} +1 -1
  21. package/.output/public/_nuxt/{BA3hQEn3.js → D3gHSFO1.js} +1 -1
  22. package/.output/public/_nuxt/{E2h0K5Qn.js → D44BzzMg.js} +1 -1
  23. package/.output/public/_nuxt/{C7zce8Gq.js → DABo4_10.js} +1 -1
  24. package/.output/public/_nuxt/{DxaZgXvq.js → DPY45j3g.js} +1 -1
  25. package/.output/public/_nuxt/{p5o8ebxv.js → DZQLsTee.js} +1 -1
  26. package/.output/public/_nuxt/{DXYLT_D8.js → DerTgqhZ.js} +1 -1
  27. package/.output/public/_nuxt/{BICeJifN.js → DrnWNKxr.js} +1 -1
  28. package/.output/public/_nuxt/{DvVB97EX.js → aL-hwrDv.js} +1 -1
  29. package/.output/public/_nuxt/{Dtyr3Ptk.js → aMXqd-8n.js} +1 -1
  30. package/.output/public/_nuxt/builds/latest.json +1 -1
  31. package/.output/public/_nuxt/builds/meta/fda5642b-b71a-476c-9e0f-eb15a462e2fe.json +1 -0
  32. package/.output/public/_nuxt/{-dQPdr6B.js → jYOQFUDH.js} +1 -1
  33. package/.output/public/_nuxt/{8THboZmE.js → p0o0xQ7S.js} +1 -1
  34. package/.output/public/_nuxt/{CKeBHRuu.js → vfCqvZ7p.js} +1 -1
  35. package/.output/public/_payload.json +1 -1
  36. package/.output/public/index.html +1 -1
  37. package/.output/server/chunks/build/client.precomputed.mjs +1 -1
  38. package/.output/server/chunks/build/server.mjs +2 -2
  39. package/.output/server/chunks/build/styles.mjs +14 -14
  40. package/.output/server/chunks/nitro/nitro.mjs +245 -254
  41. package/.output/server/package.json +1 -1
  42. package/package.json +1 -1
  43. package/templates/prompts/splitter.en.md +17 -2
  44. package/templates/prompts/splitter.fr.md +17 -2
  45. package/.output/public/_nuxt/builds/meta/a848760b-b2f3-47a2-a548-c3c02733b51c.json +0 -1
  46. /package/.output/public/_i18n/{LLdrvu-h → fC3ee0mv}/en/messages.json +0 -0
  47. /package/.output/public/_i18n/{LLdrvu-h → fC3ee0mv}/fr/messages.json +0 -0
@@ -1 +1 @@
1
- import{d as B,x as q,ah as O,r as T,aa as k,o as j,aq as N,ar as E,as as U,at as I,au as A,av as w,aw as D,ax as L,ay as F,l as b,az as _,aA as H,I as V,K as z,aB as M,aC as W,aD as $}from"./DsCGEKfY.js";const G=(...t)=>t.find(o=>o!==void 0);function K(t){const o=t.componentName||"NuxtLink";function v(e){return typeof e=="string"&&e.startsWith("#")}function S(e,u,f){const r=f??t.trailingSlash;if(!e||r!=="append"&&r!=="remove")return e;if(typeof e=="string")return C(e,r);const l="path"in e&&e.path!==void 0?e.path:u(e).path;return{...e,name:void 0,path:C(l,r)}}function R(e){const u=q(),f=V(),r=b(()=>!!e.target&&e.target!=="_self"),l=b(()=>{const i=e.to||e.href||"";return typeof i=="string"&&_(i,{acceptRelative:!0})}),y=w("RouterLink"),h=y&&typeof y!="string"?y.useLink:void 0,c=b(()=>{if(e.external)return!0;const i=e.to||e.href||"";return typeof i=="object"?!1:i===""||l.value}),n=b(()=>{const i=e.to||e.href||"";return c.value?i:S(i,u.resolve,e.trailingSlash)}),g=c.value?void 0:h?.({...e,to:n}),m=b(()=>{const i=e.trailingSlash??t.trailingSlash;if(!n.value||l.value||v(n.value))return n.value;if(c.value){const p=typeof n.value=="object"&&"path"in n.value?L(n.value):n.value,x=typeof p=="object"?u.resolve(p).href:p;return C(x,i)}return typeof n.value=="object"?u.resolve(n.value)?.href??null:C(H(f.app.baseURL,n.value),i)});return{to:n,hasTarget:r,isAbsoluteUrl:l,isExternal:c,href:m,isActive:g?.isActive??b(()=>n.value===u.currentRoute.value.path),isExactActive:g?.isExactActive??b(()=>n.value===u.currentRoute.value.path),route:g?.route??b(()=>u.resolve(n.value)),async navigate(i){await z(m.value,{replace:e.replace,external:c.value||r.value})}}}return B({name:o,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:R,setup(e,{slots:u}){const f=q(),{to:r,href:l,navigate:y,isExternal:h,hasTarget:c,isAbsoluteUrl:n}=R(e),g=O(!1),m=T(null),i=s=>{m.value=e.custom?s?.$el?.nextElementSibling:s?.$el};function p(s){return!g.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===s:e.prefetchOn?.[s]??t.prefetchOn?.[s])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!X()}async function x(s=k()){if(g.value)return;g.value=!0;const d=typeof r.value=="string"?r.value:h.value?L(r.value):f.resolve(r.value).fullPath,a=h.value?new URL(d,window.location.href).href:d;await Promise.all([s.hooks.callHook("link:prefetch",a).catch(()=>{}),!h.value&&!c.value&&F(r.value,f).catch(()=>{})])}if(p("visibility")){const s=k();let d,a=null;j(()=>{const P=Q();N(()=>{d=E(()=>{m?.value?.tagName&&(a=P.observe(m.value,async()=>{a?.(),a=null,await x(s)}))})})}),U(()=>{d&&I(d),a?.(),a=null})}return()=>{if(!h.value&&!c.value&&!v(r.value)){const a={ref:i,to:r.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(p("interaction")&&(a.onPointerenter=x.bind(null,void 0),a.onFocus=x.bind(null,void 0)),g.value&&(a.class=e.prefetchedClass||t.prefetchedClass),a.rel=e.rel||void 0),A(w("RouterLink"),a,u.default)}const s=e.target||null,d=G(e.noRel?"":e.rel,t.externalRelAttribute,n.value||c.value?"noopener noreferrer":"")||null;return e.custom?u.default?u.default({href:l.value,navigate:y,prefetch:x,get route(){if(!l.value)return;const a=new URL(l.value,window.location.href);return{path:a.pathname,fullPath:a.pathname,get query(){return D(a.search)},hash:a.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:d,target:s,isExternal:h.value||c.value,isActive:!1,isExactActive:!1}):null:A("a",{ref:m,href:l.value||null,rel:d,target:s,onClick:a=>{if(!(h.value||c.value))return a.preventDefault(),e.replace?f.replace(l.value):f.push(l.value)}},u.default?.())}}})}const Z=K($);function C(t,o){const v=o==="append"?M:W;return _(t)&&!t.startsWith("http")?t:v(t,!0)}function Q(){const t=k();if(t._observer)return t._observer;let o=null;const v=new Map,S=(e,u)=>(o||=new IntersectionObserver(f=>{for(const r of f){const l=v.get(r.target);(r.isIntersecting||r.intersectionRatio>0)&&l&&l()}}),v.set(e,u),o.observe(e),()=>{v.delete(e),o?.unobserve(e),v.size===0&&(o?.disconnect(),o=null)});return t._observer={observe:S}}const J=/2g/;function X(){const t=navigator.connection;return!!(t&&(t.saveData||J.test(t.effectiveType)))}export{Z as _};
1
+ import{d as B,x as q,ah as O,r as T,aa as k,o as j,aq as N,ar as E,as as U,at as I,au as A,av as w,aw as D,ax as L,ay as F,l as b,az as _,aA as H,I as V,K as z,aB as M,aC as W,aD as $}from"./BfvaD8zq.js";const G=(...t)=>t.find(o=>o!==void 0);function K(t){const o=t.componentName||"NuxtLink";function v(e){return typeof e=="string"&&e.startsWith("#")}function S(e,u,f){const r=f??t.trailingSlash;if(!e||r!=="append"&&r!=="remove")return e;if(typeof e=="string")return C(e,r);const l="path"in e&&e.path!==void 0?e.path:u(e).path;return{...e,name:void 0,path:C(l,r)}}function R(e){const u=q(),f=V(),r=b(()=>!!e.target&&e.target!=="_self"),l=b(()=>{const i=e.to||e.href||"";return typeof i=="string"&&_(i,{acceptRelative:!0})}),y=w("RouterLink"),h=y&&typeof y!="string"?y.useLink:void 0,c=b(()=>{if(e.external)return!0;const i=e.to||e.href||"";return typeof i=="object"?!1:i===""||l.value}),n=b(()=>{const i=e.to||e.href||"";return c.value?i:S(i,u.resolve,e.trailingSlash)}),g=c.value?void 0:h?.({...e,to:n}),m=b(()=>{const i=e.trailingSlash??t.trailingSlash;if(!n.value||l.value||v(n.value))return n.value;if(c.value){const p=typeof n.value=="object"&&"path"in n.value?L(n.value):n.value,x=typeof p=="object"?u.resolve(p).href:p;return C(x,i)}return typeof n.value=="object"?u.resolve(n.value)?.href??null:C(H(f.app.baseURL,n.value),i)});return{to:n,hasTarget:r,isAbsoluteUrl:l,isExternal:c,href:m,isActive:g?.isActive??b(()=>n.value===u.currentRoute.value.path),isExactActive:g?.isExactActive??b(()=>n.value===u.currentRoute.value.path),route:g?.route??b(()=>u.resolve(n.value)),async navigate(i){await z(m.value,{replace:e.replace,external:c.value||r.value})}}}return B({name:o,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:R,setup(e,{slots:u}){const f=q(),{to:r,href:l,navigate:y,isExternal:h,hasTarget:c,isAbsoluteUrl:n}=R(e),g=O(!1),m=T(null),i=s=>{m.value=e.custom?s?.$el?.nextElementSibling:s?.$el};function p(s){return!g.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===s:e.prefetchOn?.[s]??t.prefetchOn?.[s])&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!X()}async function x(s=k()){if(g.value)return;g.value=!0;const d=typeof r.value=="string"?r.value:h.value?L(r.value):f.resolve(r.value).fullPath,a=h.value?new URL(d,window.location.href).href:d;await Promise.all([s.hooks.callHook("link:prefetch",a).catch(()=>{}),!h.value&&!c.value&&F(r.value,f).catch(()=>{})])}if(p("visibility")){const s=k();let d,a=null;j(()=>{const P=Q();N(()=>{d=E(()=>{m?.value?.tagName&&(a=P.observe(m.value,async()=>{a?.(),a=null,await x(s)}))})})}),U(()=>{d&&I(d),a?.(),a=null})}return()=>{if(!h.value&&!c.value&&!v(r.value)){const a={ref:i,to:r.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(p("interaction")&&(a.onPointerenter=x.bind(null,void 0),a.onFocus=x.bind(null,void 0)),g.value&&(a.class=e.prefetchedClass||t.prefetchedClass),a.rel=e.rel||void 0),A(w("RouterLink"),a,u.default)}const s=e.target||null,d=G(e.noRel?"":e.rel,t.externalRelAttribute,n.value||c.value?"noopener noreferrer":"")||null;return e.custom?u.default?u.default({href:l.value,navigate:y,prefetch:x,get route(){if(!l.value)return;const a=new URL(l.value,window.location.href);return{path:a.pathname,fullPath:a.pathname,get query(){return D(a.search)},hash:a.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:d,target:s,isExternal:h.value||c.value,isActive:!1,isExactActive:!1}):null:A("a",{ref:m,href:l.value||null,rel:d,target:s,onClick:a=>{if(!(h.value||c.value))return a.preventDefault(),e.replace?f.replace(l.value):f.push(l.value)}},u.default?.())}}})}const Z=K($);function C(t,o){const v=o==="append"?M:W;return _(t)&&!t.startsWith("http")?t:v(t,!0)}function Q(){const t=k();if(t._observer)return t._observer;let o=null;const v=new Map,S=(e,u)=>(o||=new IntersectionObserver(f=>{for(const r of f){const l=v.get(r.target);(r.isIntersecting||r.intersectionRatio>0)&&l&&l()}}),v.set(e,u),o.observe(e),()=>{v.delete(e),o?.unobserve(e),v.size===0&&(o?.disconnect(),o=null)});return t._observer={observe:S}}const J=/2g/;function X(){const t=navigator.connection;return!!(t&&(t.saveData||J.test(t.effectiveType)))}export{Z as _};
@@ -1 +1 @@
1
- import{_ as D}from"./-dQPdr6B.js";import{d as F,G as E,r as h,v,l as I,m as L,s as N,c as i,f as R,e as t,h as a,t as c,z as B,C as V,D as x,H as z,F as O,p as U,b as m,_ as W}from"./DsCGEKfY.js";import{d as j}from"./C0Rlrcoy.js";import{u as G}from"./CIgI-kep.js";import{u as J}from"./BE_AlRS6.js";import{u as y}from"./8THboZmE.js";import{u as P}from"./CKeBHRuu.js";import"./Bo-KGD7n.js";const Y={class:"issue-comments-page"},q={class:"comments-content card"},K=["placeholder"],Q=["disabled"],X={key:0,class:"loading"},Z={key:1,class:"empty"},ee={key:2,class:"comments-list"},te={class:"comment-header"},se={class:"comment-author"},oe={class:"comment-date"},ae=["innerHTML"],ne=F({__name:"comments",async setup(re){let s,l;const b=E(),{success:g,error:w}=G(),{getErrorMessage:C}=J(),u=b.params.id,o=h(""),d=h(!1),{data:n}=([s,l]=v(()=>y(`/api/issues/${u}`,"$sHdW2Rruhz")),s=await s,l(),s),$=I(()=>{if(!n.value)return null;const e={id:n.value.key,title:n.value.title,column:n.value.column_slug};return n.value.priority&&(e.priority=n.value.priority),e}),{data:p,status:k,refresh:_}=([s,l]=v(()=>y(`/api/issues/${u}/comments`,"$2TYRtwuSoA")),s=await s,l(),s),{lastMessage:S}=P();L(S,e=>{e?.type==="comment"&&e.issueId===u&&_()});const H=e=>new Date(e).toLocaleString(),M=e=>j(e),T=async()=>{if(o.value.trim()){d.value=!0;try{await fetch(`/api/issues/${u}/comments`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({content:o.value})}),o.value="",g("Comment added"),_()}catch(e){w(C(e,"Failed to add comment"))}finally{d.value=!1}}};return N({title:`Comments - ${u} - AutoCode`}),(e,f)=>{const A=D;return m(),i("div",Y,[R(A,{issue:a($),"active-tab":"comments"},null,8,["issue"]),t("div",q,[t("h2",null,c(e.$t("issue.comments")),1),t("form",{class:"comment-form",onSubmit:B(T,["prevent"])},[V(t("textarea",{"onUpdate:modelValue":f[0]||(f[0]=r=>z(o)?o.value=r:null),class:"form-input comment-input",placeholder:e.$t("issue.addComment"),rows:"3"},null,8,K),[[x,a(o)]]),t("button",{type:"submit",class:"btn btn-primary",disabled:!a(o).trim()||a(d)},c(e.$t("form.save")),9,Q)],32),a(k)==="pending"?(m(),i("div",X,c(e.$t("app.loading")),1)):a(p)?.length?(m(),i("ul",ee,[(m(!0),i(O,null,U(a(p),r=>(m(),i("li",{key:r.id,class:"comment"},[t("div",te,[t("span",se,c(r.author||"User"),1),t("time",oe,c(H(r.createdAt)),1)]),t("div",{class:"comment-body",innerHTML:M(r.content)},null,8,ae)]))),128))])):(m(),i("div",Z,c(e.$t("issue.noComments")),1))])])}}}),fe=W(ne,[["__scopeId","data-v-b988772a"]]);export{fe as default};
1
+ import{_ as D}from"./jYOQFUDH.js";import{d as F,G as E,r as h,v,l as I,m as L,s as N,c as i,f as R,e as t,h as a,t as c,z as B,C as V,D as x,H as z,F as O,p as U,b as m,_ as W}from"./BfvaD8zq.js";import{d as j}from"./C0Rlrcoy.js";import{u as G}from"./BarhsfnG.js";import{u as J}from"./Bz9WwRWr.js";import{u as y}from"./p0o0xQ7S.js";import{u as P}from"./vfCqvZ7p.js";import"./BhrZFGnk.js";const Y={class:"issue-comments-page"},q={class:"comments-content card"},K=["placeholder"],Q=["disabled"],X={key:0,class:"loading"},Z={key:1,class:"empty"},ee={key:2,class:"comments-list"},te={class:"comment-header"},se={class:"comment-author"},oe={class:"comment-date"},ae=["innerHTML"],ne=F({__name:"comments",async setup(re){let s,l;const b=E(),{success:g,error:w}=G(),{getErrorMessage:C}=J(),u=b.params.id,o=h(""),d=h(!1),{data:n}=([s,l]=v(()=>y(`/api/issues/${u}`,"$sHdW2Rruhz")),s=await s,l(),s),$=I(()=>{if(!n.value)return null;const e={id:n.value.key,title:n.value.title,column:n.value.column_slug};return n.value.priority&&(e.priority=n.value.priority),e}),{data:p,status:k,refresh:_}=([s,l]=v(()=>y(`/api/issues/${u}/comments`,"$2TYRtwuSoA")),s=await s,l(),s),{lastMessage:S}=P();L(S,e=>{e?.type==="comment"&&e.issueId===u&&_()});const H=e=>new Date(e).toLocaleString(),M=e=>j(e),T=async()=>{if(o.value.trim()){d.value=!0;try{await fetch(`/api/issues/${u}/comments`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({content:o.value})}),o.value="",g("Comment added"),_()}catch(e){w(C(e,"Failed to add comment"))}finally{d.value=!1}}};return N({title:`Comments - ${u} - AutoCode`}),(e,f)=>{const A=D;return m(),i("div",Y,[R(A,{issue:a($),"active-tab":"comments"},null,8,["issue"]),t("div",q,[t("h2",null,c(e.$t("issue.comments")),1),t("form",{class:"comment-form",onSubmit:B(T,["prevent"])},[V(t("textarea",{"onUpdate:modelValue":f[0]||(f[0]=r=>z(o)?o.value=r:null),class:"form-input comment-input",placeholder:e.$t("issue.addComment"),rows:"3"},null,8,K),[[x,a(o)]]),t("button",{type:"submit",class:"btn btn-primary",disabled:!a(o).trim()||a(d)},c(e.$t("form.save")),9,Q)],32),a(k)==="pending"?(m(),i("div",X,c(e.$t("app.loading")),1)):a(p)?.length?(m(),i("ul",ee,[(m(!0),i(O,null,U(a(p),r=>(m(),i("li",{key:r.id,class:"comment"},[t("div",te,[t("span",se,c(r.author||"User"),1),t("time",oe,c(H(r.createdAt)),1)]),t("div",{class:"comment-body",innerHTML:M(r.content)},null,8,ae)]))),128))])):(m(),i("div",Z,c(e.$t("issue.noComments")),1))])])}}}),fe=W(ne,[["__scopeId","data-v-b988772a"]]);export{fe as default};
@@ -1 +1 @@
1
- import{u as o}from"./DsCGEKfY.js";const c=()=>{const{t:e}=o(),s=i=>{if(!i)return e("notify.error");const r=i.toLowerCase();if(r.includes("wip limit")){const n=i.match(/(\d+)\s+issue/),t=n?n[1]:"1";return e("apiError.wipLimit",{count:t})}return r.includes("cannot skip")||r.includes("cannot move from")?e("apiError.cannotSkip"):r.includes("acceptance criteria required")?e("apiError.acceptanceCriteriaRequired"):r.includes("not found")&&r.includes("issue")?e("apiError.issueNotFound"):r.includes("required")&&r.includes("column")?e("apiError.columnRequired"):r.includes("move")&&r.includes("failed")?e("apiError.moveFailed"):r.includes("save")&&r.includes("failed")?e("apiError.saveFailed"):r.includes("delete")&&r.includes("failed")?e("apiError.deleteFailed"):i};return{translateError:s,getErrorMessage:(i,r)=>{const n=i?.data?.message;if(n)return s(n);const t=i?.message;return t?s(t):r||e("notify.error")}}};export{c as u};
1
+ import{u as o}from"./BfvaD8zq.js";const c=()=>{const{t:e}=o(),s=i=>{if(!i)return e("notify.error");const r=i.toLowerCase();if(r.includes("wip limit")){const n=i.match(/(\d+)\s+issue/),t=n?n[1]:"1";return e("apiError.wipLimit",{count:t})}return r.includes("cannot skip")||r.includes("cannot move from")?e("apiError.cannotSkip"):r.includes("acceptance criteria required")?e("apiError.acceptanceCriteriaRequired"):r.includes("not found")&&r.includes("issue")?e("apiError.issueNotFound"):r.includes("required")&&r.includes("column")?e("apiError.columnRequired"):r.includes("move")&&r.includes("failed")?e("apiError.moveFailed"):r.includes("save")&&r.includes("failed")?e("apiError.saveFailed"):r.includes("delete")&&r.includes("failed")?e("apiError.deleteFailed"):i};return{translateError:s,getErrorMessage:(i,r)=>{const n=i?.data?.message;if(n)return s(n);const t=i?.message;return t?s(t):r||e("notify.error")}}};export{c as u};
@@ -1 +1 @@
1
- import{_ as N}from"./Bo-KGD7n.js";import{d as P,x as V,u as B,r as c,s as D,c as u,e as s,f as _,w as m,t as o,h as e,C as f,j as S,D as h,J as T,H as v,b,g,_ as $}from"./DsCGEKfY.js";import{u as E}from"./CIgI-kep.js";import{u as H}from"./BL3gdTy3.js";const I={class:"new-pipeline-page"},K={class:"page-header card"},R={class:"header-left"},U={class:"card form-card"},j={class:"form-group"},A={class:"form-label"},F=["placeholder"],J={key:0,class:"input-hint"},L={class:"form-group"},M={class:"form-label"},O=["placeholder"],q={class:"form-actions"},z=["disabled"],G=P({__name:"new",setup(Q){const y=V(),{t}=B(),{success:w,error:x}=E(),{generateSlug:k,loadPipeline:C}=H(),a=c(""),l=c(""),i=c(!1),p=async()=>{if(!(!a.value.trim()||i.value)){i.value=!0;try{await $fetch("/api/pipelines",{method:"POST",body:{name:a.value,description:l.value}}),w(t("pipeline.pipelineCreated")),await C(a.value),y.push("/settings/pipeline")}catch{x(t("error.createFailed"))}finally{i.value=!1}}};return D({title:`${t("pipeline.new")} - AutoCode`}),(W,n)=>{const d=N;return b(),u("div",I,[s("header",K,[s("div",R,[_(d,{to:"/settings/pipeline",class:"back-link"},{default:m(()=>[g("← "+o(e(t)("nav.back")),1)]),_:1}),n[2]||(n[2]=s("span",{class:"header-separator"},"/",-1)),s("h1",null,o(e(t)("pipeline.new")),1)])]),s("div",U,[s("div",j,[s("label",A,o(e(t)("pipeline.name")),1),f(s("input",{"onUpdate:modelValue":n[0]||(n[0]=r=>v(a)?a.value=r:null),type:"text",class:"form-input",placeholder:e(t)("pipeline.namePlaceholder"),onKeyup:T(p,["enter"])},null,40,F),[[h,e(a)]]),e(a)?(b(),u("span",J," key: "+o(e(k)(e(a))),1)):S("",!0)]),s("div",L,[s("label",M,o(e(t)("pipeline.description")),1),f(s("textarea",{"onUpdate:modelValue":n[1]||(n[1]=r=>v(l)?l.value=r:null),class:"form-input",rows:"4",placeholder:e(t)("pipeline.descriptionPlaceholder")},null,8,O),[[h,e(l)]])]),s("div",q,[_(d,{to:"/settings/pipeline",class:"btn btn-secondary"},{default:m(()=>[g(o(e(t)("modal.cancel")),1)]),_:1}),s("button",{class:"btn btn-primary",disabled:!e(a).trim()||e(i),onClick:p},o(e(i)?e(t)("form.saving"):e(t)("form.create")),9,z)])])])}}}),se=$(G,[["__scopeId","data-v-123b6ad2"]]);export{se as default};
1
+ import{_ as N}from"./BhrZFGnk.js";import{d as P,x as V,u as B,r as c,s as D,c as u,e as s,f as _,w as m,t as o,h as e,C as f,j as S,D as h,J as T,H as v,b,g,_ as $}from"./BfvaD8zq.js";import{u as E}from"./BarhsfnG.js";import{u as H}from"./C5qkUISE.js";const I={class:"new-pipeline-page"},K={class:"page-header card"},R={class:"header-left"},U={class:"card form-card"},j={class:"form-group"},A={class:"form-label"},F=["placeholder"],J={key:0,class:"input-hint"},L={class:"form-group"},M={class:"form-label"},O=["placeholder"],q={class:"form-actions"},z=["disabled"],G=P({__name:"new",setup(Q){const y=V(),{t}=B(),{success:w,error:x}=E(),{generateSlug:k,loadPipeline:C}=H(),a=c(""),l=c(""),i=c(!1),p=async()=>{if(!(!a.value.trim()||i.value)){i.value=!0;try{await $fetch("/api/pipelines",{method:"POST",body:{name:a.value,description:l.value}}),w(t("pipeline.pipelineCreated")),await C(a.value),y.push("/settings/pipeline")}catch{x(t("error.createFailed"))}finally{i.value=!1}}};return D({title:`${t("pipeline.new")} - AutoCode`}),(W,n)=>{const d=N;return b(),u("div",I,[s("header",K,[s("div",R,[_(d,{to:"/settings/pipeline",class:"back-link"},{default:m(()=>[g("← "+o(e(t)("nav.back")),1)]),_:1}),n[2]||(n[2]=s("span",{class:"header-separator"},"/",-1)),s("h1",null,o(e(t)("pipeline.new")),1)])]),s("div",U,[s("div",j,[s("label",A,o(e(t)("pipeline.name")),1),f(s("input",{"onUpdate:modelValue":n[0]||(n[0]=r=>v(a)?a.value=r:null),type:"text",class:"form-input",placeholder:e(t)("pipeline.namePlaceholder"),onKeyup:T(p,["enter"])},null,40,F),[[h,e(a)]]),e(a)?(b(),u("span",J," key: "+o(e(k)(e(a))),1)):S("",!0)]),s("div",L,[s("label",M,o(e(t)("pipeline.description")),1),f(s("textarea",{"onUpdate:modelValue":n[1]||(n[1]=r=>v(l)?l.value=r:null),class:"form-input",rows:"4",placeholder:e(t)("pipeline.descriptionPlaceholder")},null,8,O),[[h,e(l)]])]),s("div",q,[_(d,{to:"/settings/pipeline",class:"btn btn-secondary"},{default:m(()=>[g(o(e(t)("modal.cancel")),1)]),_:1}),s("button",{class:"btn btn-primary",disabled:!e(a).trim()||e(i),onClick:p},o(e(i)?e(t)("form.saving"):e(t)("form.create")),9,z)])])])}}}),se=$(G,[["__scopeId","data-v-123b6ad2"]]);export{se as default};
@@ -1 +1 @@
1
- import{l as h,r as o}from"./DsCGEKfY.js";const v={BACKLOG:"backlog",DONE:"done"};function S(u){const t=u.replace(/^\d+_/,"");return t===v.BACKLOG||t===v.DONE}function L(u){return u.replace(/^\d+_/,"")===v.BACKLOG}function $(u){return u.replace(/^\d+_/,"")===v.DONE}const c=o(""),e=o(null),f=o(!1),p=o(!1),d=o(!1),w=()=>{const u=async l=>{if(l){p.value=!0;try{const n=await $fetch(`/api/pipelines/${l}`);e.value=n,f.value=!1}finally{p.value=!1}}},t=async()=>{if(!(!e.value||!c.value)){d.value=!0;try{return await $fetch(`/api/pipelines/${c.value}`,{method:"PUT",body:{version:e.value.version,description:e.value.description,definition:e.value.definition,action:e.value.action,finish:e.value.finish}}),f.value=!1,!0}finally{d.value=!1}}},s=()=>{f.value=!0},g=l=>l.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,""),m=h(()=>e.value?[...e.value.definition,...e.value.action,...e.value.finish]:[]),y=h(()=>e.value?e.value.definition.length>0&&e.value.action.length>0&&e.value.finish.length>0:!1),P=(l,n)=>{if(!e.value||!n.trim())return!1;const i=g(n);return m.value.map(r=>r.slug.replace(/^\d+_/,"")).includes(i)?!1:(e.value[l].push({name:n,slug:i}),s(),!0)},_=(l,n)=>{if(!e.value||S(n.slug))return!1;const i=e.value[l].findIndex(a=>a.slug===n.slug);return i>-1?(e.value[l].splice(i,1),s(),!0):!1},C=l=>{if(!e.value)return{inPipeline:!1};const n=l.replace(/^\d+_/,"");for(const i of["definition","action","finish"]){const a=e.value[i].find(r=>r.slug.replace(/^\d+_/,"")===n);if(a)return{inPipeline:!0,segment:i,column:a}}return{inPipeline:!1}};return{selectedPipeline:c,pipelineConfig:e,isDirty:f,loading:p,saving:d,loadPipeline:u,savePipeline:t,markDirty:s,generateSlug:g,allColumns:m,isValid:y,addColumn:P,removeColumn:_,isColumnInPipeline:C,addColumnBySlug:(l,n,i)=>{if(!e.value)return!1;const a=l.replace(/^\d+_/,"");return C(a).inPipeline?!1:(e.value[i].push({name:n,slug:a}),s(),!0)},removeColumnBySlug:l=>{if(!e.value)return!1;const n=l.replace(/^\d+_/,"");if(S(n))return!1;for(const i of["definition","action","finish"]){const a=e.value[i].findIndex(r=>r.slug.replace(/^\d+_/,"")===n);if(a>-1)return e.value[i].splice(a,1),s(),!0}return!1},loadActivePipeline:async()=>{if(!e.value)try{const n=(await $fetch("/api/pipelines")).find(i=>i.active);n&&(c.value=n.name,await u(n.name))}catch{}}}};export{L as a,$ as b,S as i,w as u};
1
+ import{l as h,r as o}from"./BfvaD8zq.js";const v={BACKLOG:"backlog",DONE:"done"};function S(u){const t=u.replace(/^\d+_/,"");return t===v.BACKLOG||t===v.DONE}function L(u){return u.replace(/^\d+_/,"")===v.BACKLOG}function $(u){return u.replace(/^\d+_/,"")===v.DONE}const c=o(""),e=o(null),f=o(!1),p=o(!1),d=o(!1),w=()=>{const u=async l=>{if(l){p.value=!0;try{const n=await $fetch(`/api/pipelines/${l}`);e.value=n,f.value=!1}finally{p.value=!1}}},t=async()=>{if(!(!e.value||!c.value)){d.value=!0;try{return await $fetch(`/api/pipelines/${c.value}`,{method:"PUT",body:{version:e.value.version,description:e.value.description,definition:e.value.definition,action:e.value.action,finish:e.value.finish}}),f.value=!1,!0}finally{d.value=!1}}},s=()=>{f.value=!0},g=l=>l.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,""),m=h(()=>e.value?[...e.value.definition,...e.value.action,...e.value.finish]:[]),y=h(()=>e.value?e.value.definition.length>0&&e.value.action.length>0&&e.value.finish.length>0:!1),P=(l,n)=>{if(!e.value||!n.trim())return!1;const i=g(n);return m.value.map(r=>r.slug.replace(/^\d+_/,"")).includes(i)?!1:(e.value[l].push({name:n,slug:i}),s(),!0)},_=(l,n)=>{if(!e.value||S(n.slug))return!1;const i=e.value[l].findIndex(a=>a.slug===n.slug);return i>-1?(e.value[l].splice(i,1),s(),!0):!1},C=l=>{if(!e.value)return{inPipeline:!1};const n=l.replace(/^\d+_/,"");for(const i of["definition","action","finish"]){const a=e.value[i].find(r=>r.slug.replace(/^\d+_/,"")===n);if(a)return{inPipeline:!0,segment:i,column:a}}return{inPipeline:!1}};return{selectedPipeline:c,pipelineConfig:e,isDirty:f,loading:p,saving:d,loadPipeline:u,savePipeline:t,markDirty:s,generateSlug:g,allColumns:m,isValid:y,addColumn:P,removeColumn:_,isColumnInPipeline:C,addColumnBySlug:(l,n,i)=>{if(!e.value)return!1;const a=l.replace(/^\d+_/,"");return C(a).inPipeline?!1:(e.value[i].push({name:n,slug:a}),s(),!0)},removeColumnBySlug:l=>{if(!e.value)return!1;const n=l.replace(/^\d+_/,"");if(S(n))return!1;for(const i of["definition","action","finish"]){const a=e.value[i].findIndex(r=>r.slug.replace(/^\d+_/,"")===n);if(a>-1)return e.value[i].splice(a,1),s(),!0}return!1},loadActivePipeline:async()=>{if(!e.value)try{const n=(await $fetch("/api/pipelines")).find(i=>i.active);n&&(c.value=n.name,await u(n.name))}catch{}}}};export{L as a,$ as b,S as i,w as u};
@@ -1 +1 @@
1
- import{_ as h}from"./Bo-KGD7n.js";import{_ as C}from"./BICeJifN.js";import{d as g,r as x,G as y,m as w,o as N,a as I,c as _,b as l,e as n,f as a,w as u,q as f,h as i,F as $,p as k,g as A,t as d,_ as v,i as E,an as L,ao as O,ap as B}from"./DsCGEKfY.js";import{u as H}from"./CIgI-kep.js";const S={class:"app-header"},T={class:"header-content"},V={class:"header-actions"},j={class:"btn-text"},F=["aria-label"],G=g({__name:"AppHeader",setup(m){const t=x(!1),c=[{to:"/kanban",label:"nav.kanban"},{to:"/stats",label:"nav.stats"},{to:"/changelog",label:"nav.changelog"},{to:"/settings/pipeline",label:"nav.settings"}],r=y();return w(()=>r.path,()=>{t.value=!1}),N(()=>{const o=e=>{e.key==="Escape"&&(t.value=!1)};document.addEventListener("keydown",o),I(()=>{document.removeEventListener("keydown",o)})}),(o,e)=>{const s=h,b=C;return l(),_("header",S,[n("div",T,[a(s,{to:"/",class:"logo"},{default:u(()=>[...e[2]||(e[2]=[n("span",{class:"logo-icon"},"⚡",-1),n("span",{class:"logo-text"},"AutoCode",-1)])]),_:1}),n("nav",{class:f(["main-nav",{open:i(t)}])},[(l(),_($,null,k(c,p=>a(s,{key:p.to,to:p.to,class:"nav-link",onClick:e[0]||(e[0]=W=>t.value=!1)},{default:u(()=>[A(d(o.$t(p.label)),1)]),_:2},1032,["to"])),64))],2),n("div",V,[a(s,{to:"/issue/new",class:"btn btn-primary new-issue-btn"},{default:u(()=>[e[3]||(e[3]=n("span",{class:"btn-icon"},"+",-1)),n("span",j,d(o.$t("nav.newIssue")),1)]),_:1}),a(b),n("button",{class:"mobile-menu-btn","aria-label":i(t)?"Close menu":"Open menu",onClick:e[1]||(e[1]=p=>t.value=!i(t))},[n("span",{class:f(["hamburger",{open:i(t)}])},[...e[4]||(e[4]=[n("span",null,null,-1),n("span",null,null,-1),n("span",null,null,-1)])],2)],8,F)])])])}}}),M=Object.assign(v(G,[["__scopeId","data-v-055d7a5c"]]),{__name:"AppHeader"}),q={class:"notification-container"},z={class:"notification-icon"},D={class:"notification-message"},K=["onClick"],R=g({__name:"NotificationContainer",setup(m){const{notifications:t,remove:c}=H(),r=o=>({success:"OK",error:"X",warning:"!",info:"i"})[o]||"i";return(o,e)=>(l(),E(O,{to:"body"},[n("div",q,[a(L,{name:"notification"},{default:u(()=>[(l(!0),_($,null,k(i(t),s=>(l(),_("div",{key:s.id,class:f(["notification",`notification-${s.type}`])},[n("span",z,d(r(s.type)),1),n("span",D,d(s.message),1),n("button",{class:"notification-close",onClick:b=>i(c)(s.id)},"x",8,K)],2))),128))]),_:1})])]))}}),U=Object.assign(v(R,[["__scopeId","data-v-87475ab3"]]),{__name:"NotificationContainer"}),X={},J={class:"app-layout"},P={class:"app-main"};function Q(m,t){const c=M,r=U;return l(),_("div",J,[a(c),n("main",P,[B(m.$slots,"default",{},void 0,!0)]),t[0]||(t[0]=n("footer",{class:"app-footer"},[n("p",null,"AutoCode v0.3.0")],-1)),a(r)])}const tn=v(X,[["render",Q],["__scopeId","data-v-157bd0ef"]]);export{tn as default};
1
+ import{_ as h}from"./BhrZFGnk.js";import{_ as C}from"./DrnWNKxr.js";import{d as g,r as x,G as y,m as w,o as N,a as I,c as _,b as l,e as n,f as a,w as u,q as f,h as i,F as $,p as k,g as A,t as d,_ as v,i as E,an as L,ao as O,ap as B}from"./BfvaD8zq.js";import{u as H}from"./BarhsfnG.js";const S={class:"app-header"},T={class:"header-content"},V={class:"header-actions"},j={class:"btn-text"},F=["aria-label"],G=g({__name:"AppHeader",setup(m){const t=x(!1),c=[{to:"/kanban",label:"nav.kanban"},{to:"/stats",label:"nav.stats"},{to:"/changelog",label:"nav.changelog"},{to:"/settings/pipeline",label:"nav.settings"}],r=y();return w(()=>r.path,()=>{t.value=!1}),N(()=>{const o=e=>{e.key==="Escape"&&(t.value=!1)};document.addEventListener("keydown",o),I(()=>{document.removeEventListener("keydown",o)})}),(o,e)=>{const s=h,b=C;return l(),_("header",S,[n("div",T,[a(s,{to:"/",class:"logo"},{default:u(()=>[...e[2]||(e[2]=[n("span",{class:"logo-icon"},"⚡",-1),n("span",{class:"logo-text"},"AutoCode",-1)])]),_:1}),n("nav",{class:f(["main-nav",{open:i(t)}])},[(l(),_($,null,k(c,p=>a(s,{key:p.to,to:p.to,class:"nav-link",onClick:e[0]||(e[0]=W=>t.value=!1)},{default:u(()=>[A(d(o.$t(p.label)),1)]),_:2},1032,["to"])),64))],2),n("div",V,[a(s,{to:"/issue/new",class:"btn btn-primary new-issue-btn"},{default:u(()=>[e[3]||(e[3]=n("span",{class:"btn-icon"},"+",-1)),n("span",j,d(o.$t("nav.newIssue")),1)]),_:1}),a(b),n("button",{class:"mobile-menu-btn","aria-label":i(t)?"Close menu":"Open menu",onClick:e[1]||(e[1]=p=>t.value=!i(t))},[n("span",{class:f(["hamburger",{open:i(t)}])},[...e[4]||(e[4]=[n("span",null,null,-1),n("span",null,null,-1),n("span",null,null,-1)])],2)],8,F)])])])}}}),M=Object.assign(v(G,[["__scopeId","data-v-055d7a5c"]]),{__name:"AppHeader"}),q={class:"notification-container"},z={class:"notification-icon"},D={class:"notification-message"},K=["onClick"],R=g({__name:"NotificationContainer",setup(m){const{notifications:t,remove:c}=H(),r=o=>({success:"OK",error:"X",warning:"!",info:"i"})[o]||"i";return(o,e)=>(l(),E(O,{to:"body"},[n("div",q,[a(L,{name:"notification"},{default:u(()=>[(l(!0),_($,null,k(i(t),s=>(l(),_("div",{key:s.id,class:f(["notification",`notification-${s.type}`])},[n("span",z,d(r(s.type)),1),n("span",D,d(s.message),1),n("button",{class:"notification-close",onClick:b=>i(c)(s.id)},"x",8,K)],2))),128))]),_:1})])]))}}),U=Object.assign(v(R,[["__scopeId","data-v-87475ab3"]]),{__name:"NotificationContainer"}),X={},J={class:"app-layout"},P={class:"app-main"};function Q(m,t){const c=M,r=U;return l(),_("div",J,[a(c),n("main",P,[B(m.$slots,"default",{},void 0,!0)]),t[0]||(t[0]=n("footer",{class:"app-footer"},[n("p",null,"AutoCode v0.3.0")],-1)),a(r)])}const tn=v(X,[["render",Q],["__scopeId","data-v-157bd0ef"]]);export{tn as default};
@@ -1,4 +1,4 @@
1
- import{_ as Di}from"./Bo-KGD7n.js";import{d as Vr,l as Et,r as Xn,m as va,c as le,b as ae,q as $n,e as G,C as Zo,D as Ea,h as U,H as Ut,t as re,i as ya,j as qe,w as ot,_ as Ur,N as wn,L as Ot,M as Me,O as rr,P as Mi,Q as Sa,R as _o,S as jt,T as ba,U as qo,V as Ta,W as wt,X as es,Y as go,Z as Oa,$ as Ia,a0 as Na,a1 as Ca,a2 as Aa,a3 as jr,a4 as xa,a5 as Pa,a6 as Ra,f as je,v as ts,G as Da,x as Ma,o as La,a7 as $a,u as wa,s as Fa,E as Va,F as Ua,p as ja,g as vo}from"./DsCGEKfY.js";import{i as ir,a as Eo,b as yo,u as Ba}from"./BL3gdTy3.js";import{u as ns}from"./8THboZmE.js";import{u as Xa}from"./CIgI-kep.js";const Ha={key:0,class:"icon-lock"},Ga={key:1,class:"handle-icon"},Ka={class:"column-info"},Wa={key:1,class:"column-name"},Ya={class:"column-slug"},ka={class:"column-actions"},Ja=["title"],za=Vr({__name:"PipelineColumn",props:{column:{},pipelineName:{default:""},editable:{type:Boolean,default:!0},isDragging:{type:Boolean,default:!1},showPrompt:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0},locked:{type:Boolean,default:!1}},emits:["nameChange","nameBlur","remove"],setup(e){const t=e,n=Et(()=>{const i=`/column/${t.column.slug}/prompt`,s=new URLSearchParams;return t.pipelineName&&s.set("pipeline",t.pipelineName),s.set("name",t.column.name),`${i}?${s.toString()}`}),o=Xn(t.column.name);return va(()=>t.column.name,i=>{o.value=i}),(i,s)=>{const r=Di;return ae(),le("div",{class:$n(["pipeline-column",{dragging:e.isDragging,locked:e.locked}])},[G("div",{class:$n(["column-drag-handle",{disabled:e.locked}])},[e.locked?(ae(),le("span",Ha)):(ae(),le("span",Ga))],2),G("div",Ka,[e.editable?Zo((ae(),le("input",{key:0,"onUpdate:modelValue":s[0]||(s[0]=a=>Ut(o)?o.value=a:null),class:"column-name-input",onInput:s[1]||(s[1]=a=>i.$emit("nameChange",U(o))),onBlur:s[2]||(s[2]=a=>i.$emit("nameBlur"))},null,544)),[[Ea,U(o)]]):(ae(),le("span",Wa,re(e.column.name),1)),G("span",Ya,re(e.column.slug),1)]),G("div",ka,[e.showPrompt?(ae(),ya(r,{key:0,to:U(n),class:"btn-icon",title:i.$t("column.viewPrompt")},{default:ot(()=>[...s[4]||(s[4]=[G("span",{class:"icon-eye"},null,-1)])]),_:1},8,["to","title"])):qe("",!0),e.showRemove&&!e.locked?(ae(),le("button",{key:1,class:"btn-icon btn-danger",title:i.$t("form.delete"),onClick:s[3]||(s[3]=a=>i.$emit("remove",e.column))},[...s[5]||(s[5]=[G("span",{class:"icon-remove"},null,-1)])],8,Ja)):qe("",!0)])],2)}}}),Qa=Object.assign(Ur(za,[["__scopeId","data-v-b7d3d1e3"]]),{__name:"PipelineColumn"});function Za(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Br(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function o(){var i=!1;try{i=this instanceof o}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,i.get?i:{enumerable:!0,get:function(){return e[o]}})}),n}var hr={exports:{}},li={exports:{}},ci={};const un=Symbol(""),cn=Symbol(""),Xr=Symbol(""),Hn=Symbol(""),Li=Symbol(""),Xt=Symbol(""),$i=Symbol(""),wi=Symbol(""),Hr=Symbol(""),Gr=Symbol(""),En=Symbol(""),Kr=Symbol(""),Fi=Symbol(""),Wr=Symbol(""),Yr=Symbol(""),kr=Symbol(""),Jr=Symbol(""),zr=Symbol(""),Qr=Symbol(""),Vi=Symbol(""),Ui=Symbol(""),Jn=Symbol(""),Gn=Symbol(""),Zr=Symbol(""),_r=Symbol(""),dn=Symbol(""),yn=Symbol(""),qr=Symbol(""),Nr=Symbol(""),rs=Symbol(""),Cr=Symbol(""),Kn=Symbol(""),is=Symbol(""),os=Symbol(""),ei=Symbol(""),ss=Symbol(""),as=Symbol(""),ti=Symbol(""),ji=Symbol(""),Zt={[un]:"Fragment",[cn]:"Teleport",[Xr]:"Suspense",[Hn]:"KeepAlive",[Li]:"BaseTransition",[Xt]:"openBlock",[$i]:"createBlock",[wi]:"createElementBlock",[Hr]:"createVNode",[Gr]:"createElementVNode",[En]:"createCommentVNode",[Kr]:"createTextVNode",[Fi]:"createStaticVNode",[Wr]:"resolveComponent",[Yr]:"resolveDynamicComponent",[kr]:"resolveDirective",[Jr]:"resolveFilter",[zr]:"withDirectives",[Qr]:"renderList",[Vi]:"renderSlot",[Ui]:"createSlots",[Jn]:"toDisplayString",[Gn]:"mergeProps",[Zr]:"normalizeClass",[_r]:"normalizeStyle",[dn]:"normalizeProps",[yn]:"guardReactiveProps",[qr]:"toHandlers",[Nr]:"camelize",[rs]:"capitalize",[Cr]:"toHandlerKey",[Kn]:"setBlockTracking",[is]:"pushScopeId",[os]:"popScopeId",[ei]:"withCtx",[ss]:"unref",[as]:"isRef",[ti]:"withMemo",[ji]:"isMemoSame"};function ls(e){Object.getOwnPropertySymbols(e).forEach(t=>{Zt[t]=e[t]})}const _a={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},qa={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},el={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},tl={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},Le={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function cs(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Le}}function hn(e,t,n,o,i,s,r,a=!1,l=!1,c=!1,u=Le){return e&&(a?(e.helper(Xt),e.helper(en(e.inSSR,c))):e.helper(qt(e.inSSR,c)),r&&e.helper(zr)),{type:13,tag:t,props:n,children:o,patchFlag:i,dynamicProps:s,directives:r,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function Bt(e,t=Le){return{type:17,loc:t,elements:e}}function st(e,t=Le){return{type:15,loc:t,properties:e}}function Ae(e,t){return{type:16,loc:Le,key:Me(e)?Q(e,!0):e,value:t}}function Q(e,t=!1,n=Le,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function nl(e,t){return{type:5,loc:t,content:Me(e)?Q(e,!1,t):e}}function lt(e,t=Le){return{type:8,loc:t,children:e}}function Re(e,t=[],n=Le){return{type:14,loc:n,callee:e,arguments:t}}function _t(e,t=void 0,n=!1,o=!1,i=Le){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:i}}function Ar(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Le}}function fs(e,t,n=!1,o=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:o,needArraySpread:!1,loc:Le}}function us(e){return{type:21,body:e,loc:Le}}function rl(e){return{type:22,elements:e,loc:Le}}function il(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:Le}}function ol(e,t){return{type:24,left:e,right:t,loc:Le}}function sl(e){return{type:25,expressions:e,loc:Le}}function al(e){return{type:26,returns:e,loc:Le}}function qt(e,t){return e||t?Hr:Gr}function en(e,t){return e||t?$i:wi}function ni(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(qt(o,e.isComponent)),t(Xt),t(en(o,e.isComponent)))}const So=new Uint8Array([123,123]),bo=new Uint8Array([125,125]);function To(e){return e>=97&&e<=122||e>=65&&e<=90}function it(e){return e===32||e===10||e===9||e===12||e===13}function Dt(e){return e===47||e===62||it(e)}function xr(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const Be={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class ll{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=So,this.delimiterClose=bo,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=So,this.delimiterClose=bo}getPos(t){let n=1,o=t+1;const i=this.newlines.length;let s=-1;if(i>100){let r=-1,a=i;for(;r+1<a;){const l=r+a>>>1;this.newlines[l]<t?r=l:a=l}s=r}else for(let r=i-1;r>=0;r--)if(t>this.newlines[r]){s=r;break}return s>=0&&(n=s+2,o=t-this.newlines[s]),{column:o,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Dt(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||it(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const o=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=o}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Be.TitleEnd||this.currentSequence===Be.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===Be.Cdata[this.sequenceIndex]?++this.sequenceIndex===Be.Cdata.length&&(this.state=28,this.currentSequence=Be.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Be.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):To(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Dt(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Dt(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(xr("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){it(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=To(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||it(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):it(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):it(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||Dt(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||Dt(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Dt(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Dt(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||Dt(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):it(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):it(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){it(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=Be.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===Be.ScriptEnd[3]?this.startSpecial(Be.ScriptEnd,4):t===Be.StyleEnd[3]?this.startSpecial(Be.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===Be.TitleEnd[3]?this.startSpecial(Be.TitleEnd,4):t===Be.TextareaEnd[3]?this.startSpecial(Be.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===Be.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}const cl={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},fl={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function bi(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function zt(e,t){const n=bi("MODE",t),o=bi(e,t);return n===3?o===!0:o!==!1}function pn(e,t,n,...o){return zt(e,t)}function ul(e,t,n,...o){if(bi(e,t)==="suppress-warning")return;const{message:s,link:r}=fl[e],a=`(deprecation ${e}) ${typeof s=="function"?s(...o):s}${r?`
1
+ import{_ as Di}from"./BhrZFGnk.js";import{d as Vr,l as Et,r as Xn,m as va,c as le,b as ae,q as $n,e as G,C as Zo,D as Ea,h as U,H as Ut,t as re,i as ya,j as qe,w as ot,_ as Ur,N as wn,L as Ot,M as Me,O as rr,P as Mi,Q as Sa,R as _o,S as jt,T as ba,U as qo,V as Ta,W as wt,X as es,Y as go,Z as Oa,$ as Ia,a0 as Na,a1 as Ca,a2 as Aa,a3 as jr,a4 as xa,a5 as Pa,a6 as Ra,f as je,v as ts,G as Da,x as Ma,o as La,a7 as $a,u as wa,s as Fa,E as Va,F as Ua,p as ja,g as vo}from"./BfvaD8zq.js";import{i as ir,a as Eo,b as yo,u as Ba}from"./C5qkUISE.js";import{u as ns}from"./p0o0xQ7S.js";import{u as Xa}from"./BarhsfnG.js";const Ha={key:0,class:"icon-lock"},Ga={key:1,class:"handle-icon"},Ka={class:"column-info"},Wa={key:1,class:"column-name"},Ya={class:"column-slug"},ka={class:"column-actions"},Ja=["title"],za=Vr({__name:"PipelineColumn",props:{column:{},pipelineName:{default:""},editable:{type:Boolean,default:!0},isDragging:{type:Boolean,default:!1},showPrompt:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0},locked:{type:Boolean,default:!1}},emits:["nameChange","nameBlur","remove"],setup(e){const t=e,n=Et(()=>{const i=`/column/${t.column.slug}/prompt`,s=new URLSearchParams;return t.pipelineName&&s.set("pipeline",t.pipelineName),s.set("name",t.column.name),`${i}?${s.toString()}`}),o=Xn(t.column.name);return va(()=>t.column.name,i=>{o.value=i}),(i,s)=>{const r=Di;return ae(),le("div",{class:$n(["pipeline-column",{dragging:e.isDragging,locked:e.locked}])},[G("div",{class:$n(["column-drag-handle",{disabled:e.locked}])},[e.locked?(ae(),le("span",Ha)):(ae(),le("span",Ga))],2),G("div",Ka,[e.editable?Zo((ae(),le("input",{key:0,"onUpdate:modelValue":s[0]||(s[0]=a=>Ut(o)?o.value=a:null),class:"column-name-input",onInput:s[1]||(s[1]=a=>i.$emit("nameChange",U(o))),onBlur:s[2]||(s[2]=a=>i.$emit("nameBlur"))},null,544)),[[Ea,U(o)]]):(ae(),le("span",Wa,re(e.column.name),1)),G("span",Ya,re(e.column.slug),1)]),G("div",ka,[e.showPrompt?(ae(),ya(r,{key:0,to:U(n),class:"btn-icon",title:i.$t("column.viewPrompt")},{default:ot(()=>[...s[4]||(s[4]=[G("span",{class:"icon-eye"},null,-1)])]),_:1},8,["to","title"])):qe("",!0),e.showRemove&&!e.locked?(ae(),le("button",{key:1,class:"btn-icon btn-danger",title:i.$t("form.delete"),onClick:s[3]||(s[3]=a=>i.$emit("remove",e.column))},[...s[5]||(s[5]=[G("span",{class:"icon-remove"},null,-1)])],8,Ja)):qe("",!0)])],2)}}}),Qa=Object.assign(Ur(za,[["__scopeId","data-v-b7d3d1e3"]]),{__name:"PipelineColumn"});function Za(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Br(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function o(){var i=!1;try{i=this instanceof o}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,i.get?i:{enumerable:!0,get:function(){return e[o]}})}),n}var hr={exports:{}},li={exports:{}},ci={};const un=Symbol(""),cn=Symbol(""),Xr=Symbol(""),Hn=Symbol(""),Li=Symbol(""),Xt=Symbol(""),$i=Symbol(""),wi=Symbol(""),Hr=Symbol(""),Gr=Symbol(""),En=Symbol(""),Kr=Symbol(""),Fi=Symbol(""),Wr=Symbol(""),Yr=Symbol(""),kr=Symbol(""),Jr=Symbol(""),zr=Symbol(""),Qr=Symbol(""),Vi=Symbol(""),Ui=Symbol(""),Jn=Symbol(""),Gn=Symbol(""),Zr=Symbol(""),_r=Symbol(""),dn=Symbol(""),yn=Symbol(""),qr=Symbol(""),Nr=Symbol(""),rs=Symbol(""),Cr=Symbol(""),Kn=Symbol(""),is=Symbol(""),os=Symbol(""),ei=Symbol(""),ss=Symbol(""),as=Symbol(""),ti=Symbol(""),ji=Symbol(""),Zt={[un]:"Fragment",[cn]:"Teleport",[Xr]:"Suspense",[Hn]:"KeepAlive",[Li]:"BaseTransition",[Xt]:"openBlock",[$i]:"createBlock",[wi]:"createElementBlock",[Hr]:"createVNode",[Gr]:"createElementVNode",[En]:"createCommentVNode",[Kr]:"createTextVNode",[Fi]:"createStaticVNode",[Wr]:"resolveComponent",[Yr]:"resolveDynamicComponent",[kr]:"resolveDirective",[Jr]:"resolveFilter",[zr]:"withDirectives",[Qr]:"renderList",[Vi]:"renderSlot",[Ui]:"createSlots",[Jn]:"toDisplayString",[Gn]:"mergeProps",[Zr]:"normalizeClass",[_r]:"normalizeStyle",[dn]:"normalizeProps",[yn]:"guardReactiveProps",[qr]:"toHandlers",[Nr]:"camelize",[rs]:"capitalize",[Cr]:"toHandlerKey",[Kn]:"setBlockTracking",[is]:"pushScopeId",[os]:"popScopeId",[ei]:"withCtx",[ss]:"unref",[as]:"isRef",[ti]:"withMemo",[ji]:"isMemoSame"};function ls(e){Object.getOwnPropertySymbols(e).forEach(t=>{Zt[t]=e[t]})}const _a={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},qa={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},el={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},tl={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},Le={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function cs(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Le}}function hn(e,t,n,o,i,s,r,a=!1,l=!1,c=!1,u=Le){return e&&(a?(e.helper(Xt),e.helper(en(e.inSSR,c))):e.helper(qt(e.inSSR,c)),r&&e.helper(zr)),{type:13,tag:t,props:n,children:o,patchFlag:i,dynamicProps:s,directives:r,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function Bt(e,t=Le){return{type:17,loc:t,elements:e}}function st(e,t=Le){return{type:15,loc:t,properties:e}}function Ae(e,t){return{type:16,loc:Le,key:Me(e)?Q(e,!0):e,value:t}}function Q(e,t=!1,n=Le,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function nl(e,t){return{type:5,loc:t,content:Me(e)?Q(e,!1,t):e}}function lt(e,t=Le){return{type:8,loc:t,children:e}}function Re(e,t=[],n=Le){return{type:14,loc:n,callee:e,arguments:t}}function _t(e,t=void 0,n=!1,o=!1,i=Le){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:i}}function Ar(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Le}}function fs(e,t,n=!1,o=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:o,needArraySpread:!1,loc:Le}}function us(e){return{type:21,body:e,loc:Le}}function rl(e){return{type:22,elements:e,loc:Le}}function il(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:Le}}function ol(e,t){return{type:24,left:e,right:t,loc:Le}}function sl(e){return{type:25,expressions:e,loc:Le}}function al(e){return{type:26,returns:e,loc:Le}}function qt(e,t){return e||t?Hr:Gr}function en(e,t){return e||t?$i:wi}function ni(e,{helper:t,removeHelper:n,inSSR:o}){e.isBlock||(e.isBlock=!0,n(qt(o,e.isComponent)),t(Xt),t(en(o,e.isComponent)))}const So=new Uint8Array([123,123]),bo=new Uint8Array([125,125]);function To(e){return e>=97&&e<=122||e>=65&&e<=90}function it(e){return e===32||e===10||e===9||e===12||e===13}function Dt(e){return e===47||e===62||it(e)}function xr(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const Be={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class ll{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=So,this.delimiterClose=bo,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=So,this.delimiterClose=bo}getPos(t){let n=1,o=t+1;const i=this.newlines.length;let s=-1;if(i>100){let r=-1,a=i;for(;r+1<a;){const l=r+a>>>1;this.newlines[l]<t?r=l:a=l}s=r}else for(let r=i-1;r>=0;r--)if(t>this.newlines[r]){s=r;break}return s>=0&&(n=s+2,o=t-this.newlines[s]),{column:o,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Dt(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||it(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const o=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=o}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Be.TitleEnd||this.currentSequence===Be.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===Be.Cdata[this.sequenceIndex]?++this.sequenceIndex===Be.Cdata.length&&(this.state=28,this.currentSequence=Be.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Be.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):To(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Dt(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Dt(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(xr("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){it(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=To(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||it(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):it(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):it(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||Dt(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||Dt(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Dt(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Dt(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||Dt(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):it(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):it(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){it(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=Be.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===Be.ScriptEnd[3]?this.startSpecial(Be.ScriptEnd,4):t===Be.StyleEnd[3]?this.startSpecial(Be.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===Be.TitleEnd[3]?this.startSpecial(Be.TitleEnd,4):t===Be.TextareaEnd[3]?this.startSpecial(Be.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===Be.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}const cl={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},fl={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function bi(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function zt(e,t){const n=bi("MODE",t),o=bi(e,t);return n===3?o===!0:o!==!1}function pn(e,t,n,...o){return zt(e,t)}function ul(e,t,n,...o){if(bi(e,t)==="suppress-warning")return;const{message:s,link:r}=fl[e],a=`(deprecation ${e}) ${typeof s=="function"?s(...o):s}${r?`
2
2
  Details: ${r}`:""}`,l=new SyntaxError(a);l.code=e,n&&(l.loc=n),t.onWarn(l)}function Bi(e){throw e}function ds(e){}function de(e,t,n,o){const i=`https://vuejs.org/error-reference/#compiler-${e}`,s=new SyntaxError(String(i));return s.code=e,s.loc=t,s}const dl={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_V_MODEL_ON_CONST:45,45:"X_V_MODEL_ON_CONST",X_INVALID_EXPRESSION:46,46:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:47,47:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:48,48:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:49,49:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:50,50:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:51,51:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:52,52:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:54,54:"__EXTEND_POINT__"},hl={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",53:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
3
3
  Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""};function pl(e,t,n=!1,o=[],i=Object.create(null)){}function ml(e,t,n){return!1}function gl(e,t){if(e&&(e.type==="ObjectProperty"||e.type==="ArrayPattern")){let n=t.length;for(;n--;){const o=t[n];if(o.type==="AssignmentExpression")return!0;if(o.type!=="ObjectProperty"&&!o.type.endsWith("Pattern"))break}}return!1}function vl(e){let t=e.length;for(;t--;){const n=e[t];if(n.type==="NewExpression")return!0;if(n.type!=="MemberExpression")break}return!1}function El(e,t){for(const n of e.params)for(const o of vt(n))t(o)}function hs(e,t){const n=e.type==="SwitchCase"?e.consequent:e.body;for(const o of n)if(o.type==="VariableDeclaration"){if(o.declare)continue;for(const i of o.declarations)for(const s of vt(i.id))t(s)}else if(o.type==="FunctionDeclaration"||o.type==="ClassDeclaration"){if(o.declare||!o.id)continue;t(o.id)}else yl(o)?Sl(o,!0,t):o.type==="SwitchStatement"&&bl(o,!0,t)}function yl(e){return e.type==="ForOfStatement"||e.type==="ForInStatement"||e.type==="ForStatement"}function Sl(e,t,n){const o=e.type==="ForStatement"?e.init:e.left;if(o&&o.type==="VariableDeclaration"&&(o.kind==="var"?t:!t))for(const i of o.declarations)for(const s of vt(i.id))n(s)}function bl(e,t,n){for(const o of e.cases){for(const i of o.consequent)if(i.type==="VariableDeclaration"&&(i.kind==="var"?t:!t))for(const s of i.declarations)for(const r of vt(s.id))n(r);hs(o,n)}}function vt(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;n.type==="MemberExpression";)n=n.object;t.push(n);break;case"ObjectPattern":for(const o of e.properties)o.type==="RestElement"?vt(o.argument,t):vt(o.value,t);break;case"ArrayPattern":e.elements.forEach(o=>{o&&vt(o,t)});break;case"RestElement":vt(e.argument,t);break;case"AssignmentPattern":vt(e.left,t);break}return t}const Tl=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),ps=e=>e&&(e.type==="ObjectProperty"||e.type==="ObjectMethod")&&!e.computed,Ol=(e,t)=>ps(t)&&t.key===e,ms=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function gs(e){return ms.includes(e.type)?gs(e.expression):e}const Je=e=>e.type===4&&e.isStatic;function Xi(e){switch(e){case"Teleport":case"teleport":return cn;case"Suspense":case"suspense":return Xr;case"KeepAlive":case"keep-alive":return Hn;case"BaseTransition":case"base-transition":return Li}}const Il=/^$|^\d|[^\$\w\xA0-\uFFFF]/,zn=e=>!Il.test(e),Hi=/[A-Za-z_$\xA0-\uFFFF]/,Nl=/[\.\?\w$\xA0-\uFFFF]/,Cl=/\s+[.[]\s*|\s*[.[]\s+/g,vs=e=>e.type===4?e.content:e.loc.source,Es=e=>{const t=vs(e).trim().replace(Cl,a=>a.trim());let n=0,o=[],i=0,s=0,r=null;for(let a=0;a<t.length;a++){const l=t.charAt(a);switch(n){case 0:if(l==="[")o.push(n),n=1,i++;else if(l==="(")o.push(n),n=2,s++;else if(!(a===0?Hi:Nl).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(o.push(n),n=3,r=l):l==="["?i++:l==="]"&&(--i||(n=o.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")o.push(n),n=3,r=l;else if(l==="(")s++;else if(l===")"){if(a===t.length-1)return!1;--s||(n=o.pop())}break;case 3:l===r&&(n=o.pop(),r=null);break}}return!i&&!s},Al=wn,Gi=Es,xl=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,ys=e=>xl.test(vs(e)),Pl=wn,Ss=ys;function Rl(e,t,n=t.length){return bs({offset:e.offset,line:e.line,column:e.column},t,n)}function bs(e,t,n=t.length){let o=0,i=-1;for(let s=0;s<n;s++)t.charCodeAt(s)===10&&(o++,i=s);return e.offset+=n,e.line+=o,e.column=i===-1?e.column+n:n-i,e}function Dl(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function ke(e,t,n=!1){for(let o=0;o<e.props.length;o++){const i=e.props[o];if(i.type===7&&(n||i.exp)&&(Me(t)?i.name===t:t.test(i.name)))return i}}function Qn(e,t,n=!1,o=!1){for(let i=0;i<e.props.length;i++){const s=e.props[i];if(s.type===6){if(n)continue;if(s.name===t&&(s.value||o))return s}else if(s.name==="bind"&&(s.exp||o)&&Ft(s.arg,t))return s}}function Ft(e,t){return!!(e&&Je(e)&&e.content===t)}function Ts(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function pr(e){return e.type===5||e.type===2}function Ti(e){return e.type===7&&e.name==="pre"}function Ki(e){return e.type===7&&e.name==="slot"}function mn(e){return e.type===1&&e.tagType===3}function Wn(e){return e.type===1&&e.tagType===2}const Ml=new Set([dn,yn]);function Os(e,t=[]){if(e&&!Me(e)&&e.type===14){const n=e.callee;if(!Me(n)&&Ml.has(n))return Os(e.arguments[0],t.concat(e))}return[e,t]}function Yn(e,t,n){let o,i=e.type===13?e.props:e.arguments[2],s=[],r;if(i&&!Me(i)&&i.type===14){const a=Os(i);i=a[0],s=a[1],r=s[s.length-1]}if(i==null||Me(i))o=st([t]);else if(i.type===14){const a=i.arguments[0];!Me(a)&&a.type===15?Oo(t,a)||a.properties.unshift(t):i.callee===qr?o=Re(n.helper(Gn),[st([t]),i]):i.arguments.unshift(st([t])),!o&&(o=i)}else i.type===15?(Oo(t,i)||i.properties.unshift(t),o=i):(o=Re(n.helper(Gn),[st([t]),i]),r&&r.callee===yn&&(r=s[s.length-2]));e.type===13?r?r.arguments[0]=o:e.props=o:r?r.arguments[0]=o:e.arguments[2]=o}function Oo(e,t){let n=!1;if(e.key.type===4){const o=e.key.content;n=t.properties.some(i=>i.key.type===4&&i.key.content===o)}return n}function gn(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,o)=>n==="-"?"_":e.charCodeAt(o).toString())}`}function ht(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const o=e.props[n];if(o.type===7&&(ht(o.arg,t)||ht(o.exp,t)))return!0}return e.children.some(n=>ht(n,t));case 11:return ht(e.source,t)?!0:e.children.some(n=>ht(n,t));case 9:return e.branches.some(n=>ht(n,t));case 10:return ht(e.condition,t)?!0:e.children.some(n=>ht(n,t));case 4:return!e.isStatic&&zn(e.content)&&!!t[e.content];case 8:return e.children.some(n=>qo(n)&&ht(n,t));case 5:case 12:return ht(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function Is(e){return e.type===14&&e.callee===ti?e.arguments[1].returns:e}const Ns=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Wi(e){for(let t=0;t<e.length;t++)if(!it(e.charCodeAt(t)))return!1;return!0}function ri(e){return e.type===2&&Wi(e.content)||e.type===12&&ri(e.content)}function Yi(e){return e.type===3||ri(e)}const Cs={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:rr,isPreTag:rr,isIgnoreNewlineTag:rr,isCustomElement:rr,onError:Bi,onWarn:ds,comments:!1,prefixIdentifiers:!1};let se=Cs,kn=null,It="",He=null,ee=null,_e="",Tt=-1,Yt=-1,ki=0,Mt=!1,Oi=null;const me=[],Ie=new ll(me,{onerr:bt,ontext(e,t){or(Ue(e,t),e,t)},ontextentity(e,t,n){or(e,t,n)},oninterpolation(e,t){if(Mt)return or(Ue(e,t),e,t);let n=e+Ie.delimiterOpen.length,o=t-Ie.delimiterClose.length;for(;it(It.charCodeAt(n));)n++;for(;it(It.charCodeAt(o-1));)o--;let i=Ue(n,o);i.includes("&")&&(i=se.decodeEntities(i,!1)),Ii({type:5,content:gr(i,!1,Ce(n,o)),loc:Ce(e,t)})},onopentagname(e,t){const n=Ue(e,t);He={type:1,tag:n,ns:se.getNamespace(n,me[0],se.ns),tagType:0,props:[],children:[],loc:Ce(e-1,t),codegenNode:void 0}},onopentagend(e){No(e)},onclosetag(e,t){const n=Ue(e,t);if(!se.isVoidTag(n)){let o=!1;for(let i=0;i<me.length;i++)if(me[i].tag.toLowerCase()===n.toLowerCase()){o=!0,i>0&&bt(24,me[0].loc.start.offset);for(let r=0;r<=i;r++){const a=me.shift();mr(a,t,r<i)}break}o||bt(23,As(e,60))}},onselfclosingtag(e){const t=He.tag;He.isSelfClosing=!0,No(e),me[0]&&me[0].tag===t&&mr(me.shift(),e)},onattribname(e,t){ee={type:6,name:Ue(e,t),nameLoc:Ce(e,t),value:void 0,loc:Ce(e)}},ondirname(e,t){const n=Ue(e,t),o=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Mt&&o===""&&bt(26,e),Mt||o==="")ee={type:6,name:n,nameLoc:Ce(e,t),value:void 0,loc:Ce(e)};else if(ee={type:7,name:o,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[Q("prop")]:[],loc:Ce(e)},o==="pre"){Mt=Ie.inVPre=!0,Oi=He;const i=He.props;for(let s=0;s<i.length;s++)i[s].type===7&&(i[s]=Hl(i[s]))}},ondirarg(e,t){if(e===t)return;const n=Ue(e,t);if(Mt&&!Ti(ee))ee.name+=n,Jt(ee.nameLoc,t);else{const o=n[0]!=="[";ee.arg=gr(o?n:n.slice(1,-1),o,Ce(e,t),o?3:0)}},ondirmodifier(e,t){const n=Ue(e,t);if(Mt&&!Ti(ee))ee.name+="."+n,Jt(ee.nameLoc,t);else if(ee.name==="slot"){const o=ee.arg;o&&(o.content+="."+n,Jt(o.loc,t))}else{const o=Q(n,!0,Ce(e,t));ee.modifiers.push(o)}},onattribdata(e,t){_e+=Ue(e,t),Tt<0&&(Tt=e),Yt=t},onattribentity(e,t,n){_e+=e,Tt<0&&(Tt=t),Yt=n},onattribnameend(e){const t=ee.loc.start.offset,n=Ue(t,e);ee.type===7&&(ee.rawName=n),He.props.some(o=>(o.type===7?o.rawName:o.name)===n)&&bt(2,t)},onattribend(e,t){if(He&&ee){if(Jt(ee.loc,t),e!==0)if(_e.includes("&")&&(_e=se.decodeEntities(_e,!0)),ee.type===6)ee.name==="class"&&(_e=Ps(_e).trim()),e===1&&!_e&&bt(13,t),ee.value={type:2,content:_e,loc:e===1?Ce(Tt,Yt):Ce(Tt-1,Yt+1)},Ie.inSFCRoot&&He.tag==="template"&&ee.name==="lang"&&_e&&_e!=="html"&&Ie.enterRCDATA(xr("</template"),0);else{let n=0;ee.exp=gr(_e,!1,Ce(Tt,Yt),0,n),ee.name==="for"&&(ee.forParseResult=$l(ee.exp));let o=-1;ee.name==="bind"&&(o=ee.modifiers.findIndex(i=>i.content==="sync"))>-1&&pn("COMPILER_V_BIND_SYNC",se,ee.loc,ee.arg.loc.source)&&(ee.name="model",ee.modifiers.splice(o,1))}(ee.type!==7||ee.name!=="pre")&&He.props.push(ee)}_e="",Tt=Yt=-1},oncomment(e,t){se.comments&&Ii({type:3,content:Ue(e,t),loc:Ce(e-4,t+3)})},onend(){const e=It.length;for(let t=0;t<me.length;t++)mr(me[t],e-1),bt(24,me[t].loc.start.offset)},oncdata(e,t){me[0].ns!==0?or(Ue(e,t),e,t):bt(1,e-9)},onprocessinginstruction(e){(me[0]?me[0].ns:se.ns)===0&&bt(21,e-1)}}),Io=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ll=/^\(|\)$/g;function $l(e){const t=e.loc,n=e.content,o=n.match(Ns);if(!o)return;const[,i,s]=o,r=(f,d,h=!1)=>{const p=t.start.offset+d,m=p+f.length;return gr(f,!1,Ce(p,m),0,h?1:0)},a={source:r(s.trim(),n.indexOf(s,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=i.trim().replace(Ll,"").trim();const c=i.indexOf(l),u=l.match(Io);if(u){l=l.replace(Io,"").trim();const f=u[1].trim();let d;if(f&&(d=n.indexOf(f,c+l.length),a.key=r(f,d,!0)),u[2]){const h=u[2].trim();h&&(a.index=r(h,n.indexOf(h,a.key?d+f.length:c+l.length),!0))}}return l&&(a.value=r(l,c,!0)),a}function Ue(e,t){return It.slice(e,t)}function No(e){Ie.inSFCRoot&&(He.innerLoc=Ce(e+1,e+1)),Ii(He);const{tag:t,ns:n}=He;n===0&&se.isPreTag(t)&&ki++,se.isVoidTag(t)?mr(He,e):(me.unshift(He),(n===1||n===2)&&(Ie.inXML=!0)),He=null}function or(e,t,n){{const s=me[0]&&me[0].tag;s!=="script"&&s!=="style"&&e.includes("&")&&(e=se.decodeEntities(e,!1))}const o=me[0]||kn,i=o.children[o.children.length-1];i&&i.type===2?(i.content+=e,Jt(i.loc,n)):o.children.push({type:2,content:e,loc:Ce(t,n)})}function mr(e,t,n=!1){n?Jt(e.loc,As(t,60)):Jt(e.loc,wl(t,62)+1),Ie.inSFCRoot&&(e.children.length?e.innerLoc.end=Ot({},e.children[e.children.length-1].loc.end):e.innerLoc.end=Ot({},e.innerLoc.start),e.innerLoc.source=Ue(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:o,ns:i,children:s}=e;if(Mt||(o==="slot"?e.tagType=2:Co(e)?e.tagType=3:Vl(e)&&(e.tagType=1)),Ie.inRCDATA||(e.children=xs(s)),i===0&&se.isIgnoreNewlineTag(o)){const r=s[0];r&&r.type===2&&(r.content=r.content.replace(/^\r?\n/,""))}i===0&&se.isPreTag(o)&&ki--,Oi===e&&(Mt=Ie.inVPre=!1,Oi=null),Ie.inXML&&(me[0]?me[0].ns:se.ns)===0&&(Ie.inXML=!1);{const r=e.props;if(!Ie.inSFCRoot&&zt("COMPILER_NATIVE_TEMPLATE",se)&&e.tag==="template"&&!Co(e)){const l=me[0]||kn,c=l.children.indexOf(e);l.children.splice(c,1,...e.children)}const a=r.find(l=>l.type===6&&l.name==="inline-template");a&&pn("COMPILER_INLINE_TEMPLATE",se,a.loc)&&e.children.length&&(a.value={type:2,content:Ue(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:a.loc})}}function wl(e,t){let n=e;for(;It.charCodeAt(n)!==t&&n<It.length-1;)n++;return n}function As(e,t){let n=e;for(;It.charCodeAt(n)!==t&&n>=0;)n--;return n}const Fl=new Set(["if","else","else-if","for","slot"]);function Co({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&Fl.has(t[n].name))return!0}return!1}function Vl({tag:e,props:t}){if(se.isCustomElement(e))return!1;if(e==="component"||Ul(e.charCodeAt(0))||Xi(e)||se.isBuiltInComponent&&se.isBuiltInComponent(e)||se.isNativeTag&&!se.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const o=t[n];if(o.type===6){if(o.name==="is"&&o.value){if(o.value.content.startsWith("vue:"))return!0;if(pn("COMPILER_IS_ON_ELEMENT",se,o.loc))return!0}}else if(o.name==="bind"&&Ft(o.arg,"is")&&pn("COMPILER_IS_ON_ELEMENT",se,o.loc))return!0}return!1}function Ul(e){return e>64&&e<91}const jl=/\r\n/g;function xs(e){const t=se.whitespace!=="preserve";let n=!1;for(let o=0;o<e.length;o++){const i=e[o];if(i.type===2)if(ki)i.content=i.content.replace(jl,`
4
4
  `);else if(Wi(i.content)){const s=e[o-1]&&e[o-1].type,r=e[o+1]&&e[o+1].type;!s||!r||t&&(s===3&&(r===3||r===1)||s===1&&(r===3||r===1&&Bl(i.content)))?(n=!0,e[o]=null):i.content=" "}else t&&(i.content=Ps(i.content))}return n?e.filter(Boolean):e}function Bl(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function Ps(e){let t="",n=!1;for(let o=0;o<e.length;o++)it(e.charCodeAt(o))?n||(t+=" ",n=!0):(t+=e[o],n=!1);return t}function Ii(e){(me[0]||kn).children.push(e)}function Ce(e,t){return{start:Ie.getPos(e),end:t==null?t:Ie.getPos(t),source:t==null?t:Ue(e,t)}}function Xl(e){return Ce(e.start.offset,e.end.offset)}function Jt(e,t){e.end=Ie.getPos(t),e.source=Ue(e.start.offset,t)}function Hl(e){const t={type:6,name:e.rawName,nameLoc:Ce(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function gr(e,t=!1,n,o=0,i=0){return Q(e,t,n,o)}function bt(e,t,n){se.onError(de(e,Ce(t,t)))}function Gl(){Ie.reset(),He=null,ee=null,_e="",Tt=-1,Yt=-1,me.length=0}function Ji(e,t){if(Gl(),It=e,se=Ot({},Cs),t){let i;for(i in t)t[i]!=null&&(se[i]=t[i])}Ie.mode=se.parseMode==="html"?1:se.parseMode==="sfc"?2:0,Ie.inXML=se.ns===1||se.ns===2;const n=t&&t.delimiters;n&&(Ie.delimiterOpen=xr(n[0]),Ie.delimiterClose=xr(n[1]));const o=kn=cs([],e);return Ie.parse(It),o.loc=Ce(0,e.length),o.children=xs(o.children),kn=null,o}function Kl(e,t){vr(e,void 0,t,!!Rs(e))}function Rs(e){const t=e.children.filter(n=>n.type!==3);return t.length===1&&t[0].type===1&&!Wn(t[0])?t[0]:null}function vr(e,t,n,o=!1,i=!1){const{children:s}=e,r=[];for(let u=0;u<s.length;u++){const f=s[u];if(f.type===1&&f.tagType===0){const d=o?0:et(f,n);if(d>0){if(d>=2){f.codegenNode.patchFlag=-1,r.push(f);continue}}else{const h=f.codegenNode;if(h.type===13){const p=h.patchFlag;if((p===void 0||p===512||p===1)&&Ms(f,n)>=2){const m=Ls(f);m&&(h.props=n.hoist(m))}h.dynamicProps&&(h.dynamicProps=n.hoist(h.dynamicProps))}}}else if(f.type===12&&(o?0:et(f,n))>=2){f.codegenNode.type===14&&f.codegenNode.arguments.length>0&&f.codegenNode.arguments.push("-1"),r.push(f);continue}if(f.type===1){const d=f.tagType===1;d&&n.scopes.vSlot++,vr(f,e,n,!1,i),d&&n.scopes.vSlot--}else if(f.type===11)vr(f,e,n,f.children.length===1,!0);else if(f.type===9)for(let d=0;d<f.branches.length;d++)vr(f.branches[d],e,n,f.branches[d].children.length===1,i)}let a=!1;if(r.length===s.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&wt(e.codegenNode.children))e.codegenNode.children=l(Bt(e.codegenNode.children)),a=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!wt(e.codegenNode.children)&&e.codegenNode.children.type===15){const u=c(e.codegenNode,"default");u&&(u.returns=l(Bt(u.returns)),a=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!wt(t.codegenNode.children)&&t.codegenNode.children.type===15){const u=ke(e,"slot",!0),f=u&&u.arg&&c(t.codegenNode,u.arg);f&&(f.returns=l(Bt(f.returns)),a=!0)}}if(!a)for(const u of r)u.codegenNode=n.cache(u.codegenNode);function l(u){const f=n.cache(u);return f.needArraySpread=!0,f}function c(u,f){if(u.children&&!wt(u.children)&&u.children.type===15){const d=u.children.properties.find(h=>h.key===f||h.key.content===f);return d&&d.value}}r.length&&n.transformHoist&&n.transformHoist(s,n,e)}function et(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const o=n.get(e);if(o!==void 0)return o;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let r=3;const a=Ms(e,t);if(a===0)return n.set(e,0),0;a<r&&(r=a);for(let l=0;l<e.children.length;l++){const c=et(e.children[l],t);if(c===0)return n.set(e,0),0;c<r&&(r=c)}if(r>1)for(let l=0;l<e.props.length;l++){const c=e.props[l];if(c.type===7&&c.name==="bind"&&c.exp){const u=et(c.exp,t);if(u===0)return n.set(e,0),0;u<r&&(r=u)}}if(i.isBlock){for(let l=0;l<e.props.length;l++)if(e.props[l].type===7)return n.set(e,0),0;t.removeHelper(Xt),t.removeHelper(en(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(qt(t.inSSR,i.isComponent))}return n.set(e,r),r}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return et(e.content,t);case 4:return e.constType;case 8:let s=3;for(let r=0;r<e.children.length;r++){const a=e.children[r];if(Me(a)||Mi(a))continue;const l=et(a,t);if(l===0)return 0;l<s&&(s=l)}return s;case 20:return 2;default:return 0}}const Wl=new Set([Zr,_r,dn,yn]);function Ds(e,t){if(e.type===14&&!Me(e.callee)&&Wl.has(e.callee)){const n=e.arguments[0];if(n.type===4)return et(n,t);if(n.type===14)return Ds(n,t)}return 0}function Ms(e,t){let n=3;const o=Ls(e);if(o&&o.type===15){const{properties:i}=o;for(let s=0;s<i.length;s++){const{key:r,value:a}=i[s],l=et(r,t);if(l===0)return l;l<n&&(n=l);let c;if(a.type===4?c=et(a,t):a.type===14?c=Ds(a,t):c=0,c===0)return c;c<n&&(n=c)}}return n}function Ls(e){const t=e.codegenNode;if(t.type===13)return t.props}function $s(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,hmr:i=!1,cacheHandlers:s=!1,nodeTransforms:r=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:c=wn,isCustomElement:u=wn,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:p=!1,inSSR:m=!1,ssrCssVars:g="",bindingMetadata:v=ba,inline:E=!1,isTS:O=!1,onError:y=Bi,onWarn:N=ds,compatConfig:I}){const $=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),P={filename:t,selfName:$&&_o(jt($[1])),prefixIdentifiers:n,hoistStatic:o,hmr:i,cacheHandlers:s,nodeTransforms:r,directiveTransforms:a,transformHoist:l,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:p,inSSR:m,ssrCssVars:g,bindingMetadata:v,inline:E,isTS:O,onError:y,onWarn:N,compatConfig:I,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(S){const R=P.helpers.get(S)||0;return P.helpers.set(S,R+1),S},removeHelper(S){const R=P.helpers.get(S);if(R){const M=R-1;M?P.helpers.set(S,M):P.helpers.delete(S)}},helperString(S){return`_${Zt[P.helper(S)]}`},replaceNode(S){P.parent.children[P.childIndex]=P.currentNode=S},removeNode(S){const R=P.parent.children,M=S?R.indexOf(S):P.currentNode?P.childIndex:-1;!S||S===P.currentNode?(P.currentNode=null,P.onNodeRemoved()):P.childIndex>M&&(P.childIndex--,P.onNodeRemoved()),P.parent.children.splice(M,1)},onNodeRemoved:wn,addIdentifiers(S){},removeIdentifiers(S){},hoist(S){Me(S)&&(S=Q(S)),P.hoists.push(S);const R=Q(`_hoisted_${P.hoists.length}`,!1,S.loc,2);return R.hoisted=S,R},cache(S,R=!1,M=!1){const D=fs(P.cached.length,S,R,M);return P.cached.push(D),D}};return P.filters=new Set,P}function ws(e,t){const n=$s(e,t);Zn(e,n),t.hoistStatic&&Kl(e,n),t.ssr||Yl(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function Yl(e,t){const{helper:n}=t,{children:o}=e;if(o.length===1){const i=Rs(e);if(i&&i.codegenNode){const s=i.codegenNode;s.type===13&&ni(s,t),e.codegenNode=s}else e.codegenNode=o[0]}else if(o.length>1){let i=64;e.codegenNode=hn(t,n(un),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function kl(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];Me(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Zn(i,t))}}function Zn(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const r=n[s](e,t);if(r&&(wt(r)?o.push(...r):o.push(r)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(En);break;case 5:t.ssr||t.helper(Jn);break;case 9:for(let s=0;s<e.branches.length;s++)Zn(e.branches[s],t);break;case 10:case 11:case 1:case 0:kl(e,t);break}t.currentNode=e;let i=o.length;for(;i--;)o[i]()}function zi(e,t){const n=Me(e)?o=>o===e:o=>e.test(o);return(o,i)=>{if(o.type===1){const{props:s}=o;if(o.tagType===3&&s.some(Ki))return;const r=[];for(let a=0;a<s.length;a++){const l=s[a];if(l.type===7&&n(l.name)){s.splice(a,1),a--;const c=t(o,l,i);c&&r.push(c)}}return r}}}const ii="/*@__PURE__*/",Fs=e=>`${Zt[e]}: _${Zt[e]}`;function Jl(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:o=!1,filename:i="template.vue.html",scopeId:s=null,optimizeImports:r=!1,runtimeGlobalName:a="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:f=!1,inSSR:d=!1}){const h={mode:t,prefixIdentifiers:n,sourceMap:o,filename:i,scopeId:s,optimizeImports:r,runtimeGlobalName:a,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:f,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(m){return`_${Zt[m]}`},push(m,g=-2,v){h.code+=m},indent(){p(++h.indentLevel)},deindent(m=!1){m?--h.indentLevel:p(--h.indentLevel)},newline(){p(h.indentLevel)}};function p(m){h.push(`
@@ -1 +1 @@
1
- import{_ as L}from"./-dQPdr6B.js";import{_ as D}from"./Bo-KGD7n.js";import{d as E,G as R,v as $,l as k,s as S,c as e,f as T,e as i,h as r,t as a,F as m,p as v,b as t,j as c,q as G,i as b,w,g as A,_ as P}from"./DsCGEKfY.js";import{u as H}from"./8THboZmE.js";const j={class:"issue-history-page"},q={class:"card"},z={class:"section-header"},J={class:"count"},K={key:0,class:"loading"},M={key:1,class:"error-message"},O={key:2,class:"empty"},Q={key:3,class:"history-list"},U={class:"history-main"},W={key:0,class:"history-from"},X={key:1,class:"history-arrow"},Y={class:"history-to"},Z={key:1,class:"history-changes"},ss={class:"change-field"},ts={class:"change-from"},os={class:"change-to"},es={key:0,class:"history-actions"},as={key:1,class:"session-badge"},is={class:"history-date"},rs=E({__name:"index",async setup(ns){let n,u;const d=R().params.id,{data:l}=([n,u]=$(()=>H(`/api/issues/${d}`,"$Rocr4faAHy")),n=await n,u(),n),I=k(()=>{if(!l.value)return null;const o={id:l.value.key,title:l.value.title,column:l.value.column_slug};return l.value.priority&&(o.priority=l.value.priority),o}),{data:_,status:C,error:p}=([n,u]=$(()=>H(`/api/issues/${d}/history`,"$bELPvGg345")),n=await n,u(),n),F=k(()=>_.value?[..._.value].reverse():[]),N=o=>new Date(o).toLocaleDateString("fr-FR",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}),f=o=>o||"";return S({title:`History - ${d} - AutoCode`}),(o,h)=>{const V=L,g=D;return t(),e("div",j,[T(V,{issue:r(I),"active-tab":"history"},null,8,["issue"]),i("div",q,[i("div",z,[i("h2",null,a(o.$t("issue.history")),1),i("span",J,"("+a(r(_)?.length||0)+")",1)]),r(C)==="pending"?(t(),e("div",K,a(o.$t("app.loading")),1)):r(p)?(t(),e("div",M,a(r(p).message),1)):r(_)?.length?(t(),e("ul",Q,[(t(!0),e(m,null,v(r(F),(s,x)=>(t(),e("li",{key:x,class:"history-item"},[i("div",U,[i("span",{class:G(["history-action",`history-action-${s.action}`])},a(o.$t(`history.action.${s.action}`)),3),s.action!=="edited"?(t(),e(m,{key:0},[s.from?(t(),e("span",W,a(s.from),1)):c("",!0),s.from?(t(),e("span",X,"→")):c("",!0),i("span",Y,a(s.to),1)],64)):s.changes?.length?(t(),e("div",Z,[(t(!0),e(m,null,v(s.changes,(y,B)=>(t(),e("div",{key:B,class:"history-change-item"},[i("span",ss,a(o.$t(`history.field.${y.field}`)),1),i("span",ts,a(f(y.from)||"∅"),1),h[0]||(h[0]=i("span",{class:"history-arrow"},"→",-1)),i("span",os,a(f(y.to)||"∅"),1)]))),128))])):c("",!0)]),s.artifactsAvailable?.prompt||s.artifactsAvailable?.terminal?(t(),e("div",es,[s.artifactsAvailable?.prompt?(t(),b(g,{key:0,to:`/issue/${r(d)}/history/${s.sessionId}/prompt`,class:"btn-action"},{default:w(()=>[A(a(o.$t("history.viewPrompt")),1)]),_:1},8,["to"])):c("",!0),s.artifactsAvailable?.terminal?(t(),b(g,{key:1,to:`/issue/${r(d)}/history/${s.sessionId}/terminal`,class:"btn-action"},{default:w(()=>[A(a(o.$t("history.viewTerminal")),1)]),_:1},8,["to"])):c("",!0)])):c("",!0),s.sessionId?(t(),e("span",as,a(s.sessionId),1)):c("",!0),i("time",is,a(N(s.at)),1)]))),128))])):(t(),e("div",O,a(o.$t("issue.noHistory")),1))])])}}}),hs=P(rs,[["__scopeId","data-v-e79c602e"]]);export{hs as default};
1
+ import{_ as L}from"./jYOQFUDH.js";import{_ as D}from"./BhrZFGnk.js";import{d as E,G as R,v as $,l as k,s as S,c as e,f as T,e as i,h as r,t as a,F as m,p as v,b as t,j as c,q as G,i as b,w,g as A,_ as P}from"./BfvaD8zq.js";import{u as H}from"./p0o0xQ7S.js";const j={class:"issue-history-page"},q={class:"card"},z={class:"section-header"},J={class:"count"},K={key:0,class:"loading"},M={key:1,class:"error-message"},O={key:2,class:"empty"},Q={key:3,class:"history-list"},U={class:"history-main"},W={key:0,class:"history-from"},X={key:1,class:"history-arrow"},Y={class:"history-to"},Z={key:1,class:"history-changes"},ss={class:"change-field"},ts={class:"change-from"},os={class:"change-to"},es={key:0,class:"history-actions"},as={key:1,class:"session-badge"},is={class:"history-date"},rs=E({__name:"index",async setup(ns){let n,u;const d=R().params.id,{data:l}=([n,u]=$(()=>H(`/api/issues/${d}`,"$Rocr4faAHy")),n=await n,u(),n),I=k(()=>{if(!l.value)return null;const o={id:l.value.key,title:l.value.title,column:l.value.column_slug};return l.value.priority&&(o.priority=l.value.priority),o}),{data:_,status:C,error:p}=([n,u]=$(()=>H(`/api/issues/${d}/history`,"$bELPvGg345")),n=await n,u(),n),F=k(()=>_.value?[..._.value].reverse():[]),N=o=>new Date(o).toLocaleDateString("fr-FR",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}),f=o=>o||"";return S({title:`History - ${d} - AutoCode`}),(o,h)=>{const V=L,g=D;return t(),e("div",j,[T(V,{issue:r(I),"active-tab":"history"},null,8,["issue"]),i("div",q,[i("div",z,[i("h2",null,a(o.$t("issue.history")),1),i("span",J,"("+a(r(_)?.length||0)+")",1)]),r(C)==="pending"?(t(),e("div",K,a(o.$t("app.loading")),1)):r(p)?(t(),e("div",M,a(r(p).message),1)):r(_)?.length?(t(),e("ul",Q,[(t(!0),e(m,null,v(r(F),(s,x)=>(t(),e("li",{key:x,class:"history-item"},[i("div",U,[i("span",{class:G(["history-action",`history-action-${s.action}`])},a(o.$t(`history.action.${s.action}`)),3),s.action!=="edited"?(t(),e(m,{key:0},[s.from?(t(),e("span",W,a(s.from),1)):c("",!0),s.from?(t(),e("span",X,"→")):c("",!0),i("span",Y,a(s.to),1)],64)):s.changes?.length?(t(),e("div",Z,[(t(!0),e(m,null,v(s.changes,(y,B)=>(t(),e("div",{key:B,class:"history-change-item"},[i("span",ss,a(o.$t(`history.field.${y.field}`)),1),i("span",ts,a(f(y.from)||"∅"),1),h[0]||(h[0]=i("span",{class:"history-arrow"},"→",-1)),i("span",os,a(f(y.to)||"∅"),1)]))),128))])):c("",!0)]),s.artifactsAvailable?.prompt||s.artifactsAvailable?.terminal?(t(),e("div",es,[s.artifactsAvailable?.prompt?(t(),b(g,{key:0,to:`/issue/${r(d)}/history/${s.sessionId}/prompt`,class:"btn-action"},{default:w(()=>[A(a(o.$t("history.viewPrompt")),1)]),_:1},8,["to"])):c("",!0),s.artifactsAvailable?.terminal?(t(),b(g,{key:1,to:`/issue/${r(d)}/history/${s.sessionId}/terminal`,class:"btn-action"},{default:w(()=>[A(a(o.$t("history.viewTerminal")),1)]),_:1},8,["to"])):c("",!0)])):c("",!0),s.sessionId?(t(),e("span",as,a(s.sessionId),1)):c("",!0),i("time",is,a(N(s.at)),1)]))),128))])):(t(),e("div",O,a(o.$t("issue.noHistory")),1))])])}}}),hs=P(rs,[["__scopeId","data-v-e79c602e"]]);export{hs as default};
@@ -1 +1 @@
1
- import{_ as T}from"./Bo-KGD7n.js";import{u as U}from"./8THboZmE.js";import{u as V,s as B}from"./CKeBHRuu.js";import{d as D,u as K,r as L,v as M,m as E,o as R,a as j,l as b,s as q,c as l,e as s,f as z,w as g,t,j as r,h as o,q as H,F as h,p as I,b as n,g as k,i as W,_ as G}from"./DsCGEKfY.js";const J={class:"stats-page"},P={class:"page-header"},Q={class:"header-badges"},X={key:0,class:"badge badge-profile"},Y={key:1,class:"badge badge-model"},Z={key:0,class:"loading"},x={key:0,class:"processing-alert card"},ss={class:"processing-issues"},ts={class:"stats-grid"},es={class:"stat-card card"},as={class:"stat-value"},os={class:"stat-breakdown"},ns={class:"breakdown-item"},ls={class:"label"},is={class:"value"},ds={class:"breakdown-item"},cs={class:"label"},rs={class:"value"},us={class:"stat-footer"},_s={class:"calls-count"},ps={class:"cost-value"},hs={key:0,class:"started-at"},ks={class:"stat-card card"},vs={class:"stat-value"},fs={class:"stat-breakdown"},ms={class:"breakdown-item"},ys={class:"label"},$s={class:"value"},bs={class:"breakdown-item"},gs={class:"label"},Is={class:"value"},ws={class:"stat-footer"},Cs={class:"calls-count"},As={class:"cost-value"},Fs={class:"stat-card card info-card"},Os={class:"cost-explanation"},Ns={class:"card history-card"},Ss={key:0,class:"empty"},Ts={key:1,class:"table-container"},Us={class:"history-table"},Vs={key:1,class:"text-muted"},Bs={class:"cost-cell"},Ds=D({__name:"stats",async setup(Ks){let c,v;const{locale:w}=K(),u=L(!1),{data:a,status:C,refresh:f}=([c,v]=M(()=>U("/api/stats","$ygpy_aVKAm")),c=await c,v(),c),{lastMessage:A}=V();E(A,e=>{(e?.type==="claude_end"||e?.type==="stats-update"||e?.type==="refresh")&&(u.value=!0,f().finally(()=>{u.value=!1}))});let _;R(()=>{_=B(()=>{f()},5e3)}),j(()=>{_&&clearInterval(_)});const F=b(()=>(a.value?.session?.tokensInput||0)+(a.value?.session?.tokensOutput||0)),O=b(()=>(a.value?.totals?.tokensInput||0)+(a.value?.totals?.tokensOutput||0)),d=e=>e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toString(),p=e=>e.toFixed(4),N=e=>e?e<1e3?e+"ms":(e/1e3).toFixed(1)+"s":"-",m=e=>e?new Date(e).toLocaleString(w.value==="fr"?"fr-FR":"en-US"):"-";return q({title:"Statistics - AutoCode"}),(e,y)=>{const $=T;return n(),l("div",J,[s("header",P,[z($,{to:"/kanban",class:"back-link"},{default:g(()=>[k(" ← "+t(e.$t("stats.backToKanban")),1)]),_:1}),s("h1",null,t(e.$t("stats.title")),1),s("div",Q,[o(a)?.profile?(n(),l("span",X,t(o(a).profile),1)):r("",!0),o(a)?.model?(n(),l("span",Y,t(o(a).model),1)):r("",!0),s("span",{class:H(["refresh-indicator",{active:o(u)}])},null,2)])]),o(C)==="pending"?(n(),l("div",Z,t(e.$t("kanban.loading")),1)):(n(),l(h,{key:1},[o(a)?.processingIssues?.length?(n(),l("div",x,[s("h3",null,t(e.$t("stats.processing")),1),s("div",ss,[(n(!0),l(h,null,I(o(a).processingIssues,i=>(n(),l("span",{key:i,class:"processing-badge"},[y[0]||(y[0]=s("span",{class:"dot-pulse"},null,-1)),k(" "+t(i),1)]))),128))])])):r("",!0),s("div",ts,[s("div",es,[s("h2",null,t(e.$t("stats.session")),1),s("div",as,t(d(o(F))),1),s("div",os,[s("div",ns,[s("span",ls,t(e.$t("stats.tokensInput")),1),s("span",is,t(d(o(a)?.session?.tokensInput||0)),1)]),s("div",ds,[s("span",cs,t(e.$t("stats.tokensOutput")),1),s("span",rs,t(d(o(a)?.session?.tokensOutput||0)),1)])]),s("div",us,[s("span",_s,t(o(a)?.session?.callCount||0)+" "+t(e.$t("stats.calls")),1),s("span",ps,"$"+t(p(o(a)?.session?.costUsd||0)),1)]),o(a)?.session?.startedAt?(n(),l("div",hs,t(e.$t("stats.startedAt"))+": "+t(m(o(a).session.startedAt)),1)):r("",!0)]),s("div",ks,[s("h2",null,t(e.$t("stats.totals")),1),s("div",vs,t(d(o(O))),1),s("div",fs,[s("div",ms,[s("span",ys,t(e.$t("stats.tokensInput")),1),s("span",$s,t(d(o(a)?.totals?.tokensInput||0)),1)]),s("div",bs,[s("span",gs,t(e.$t("stats.tokensOutput")),1),s("span",Is,t(d(o(a)?.totals?.tokensOutput||0)),1)])]),s("div",ws,[s("span",Cs,t(o(a)?.totals?.callCount||0)+" "+t(e.$t("stats.calls")),1),s("span",As,"$"+t(p(o(a)?.totals?.costUsd||0)),1)])]),s("div",Fs,[s("h2",null,t(e.$t("stats.cost")),1),s("p",Os,t(e.$t("stats.costExplanation")),1)])]),s("div",Ns,[s("h2",null,t(e.$t("stats.recentActivity")),1),o(a)?.history?.length?(n(),l("div",Ts,[s("table",Us,[s("thead",null,[s("tr",null,[s("th",null,t(e.$t("stats.issue")),1),s("th",null,t(e.$t("stats.column")),1),s("th",null,t(e.$t("stats.tokensInput")),1),s("th",null,t(e.$t("stats.tokensOutput")),1),s("th",null,t(e.$t("stats.cost")),1),s("th",null,t(e.$t("stats.duration")),1),s("th",null,t(e.$t("stats.date")),1)])]),s("tbody",null,[(n(!0),l(h,null,I(o(a).history,(i,S)=>(n(),l("tr",{key:S},[s("td",null,[i.issue?(n(),W($,{key:0,to:`/issue/${i.issue}`,class:"issue-link"},{default:g(()=>[k(t(i.issue),1)]),_:2},1032,["to"])):(n(),l("span",Vs,"-"))]),s("td",null,t(i.column||"-"),1),s("td",null,t(d(i.tokensInput)),1),s("td",null,t(d(i.tokensOutput)),1),s("td",Bs,"$"+t(p(i.costUsd||0)),1),s("td",null,t(N(i.duration)),1),s("td",null,t(m(i.timestamp)),1)]))),128))])])])):(n(),l("div",Ss,t(e.$t("stats.noActivity")),1))])],64))])}}}),js=G(Ds,[["__scopeId","data-v-3e093864"]]);export{js as default};
1
+ import{_ as T}from"./BhrZFGnk.js";import{u as U}from"./p0o0xQ7S.js";import{u as V,s as B}from"./vfCqvZ7p.js";import{d as D,u as K,r as L,v as M,m as E,o as R,a as j,l as b,s as q,c as l,e as s,f as z,w as g,t,j as r,h as o,q as H,F as h,p as I,b as n,g as k,i as W,_ as G}from"./BfvaD8zq.js";const J={class:"stats-page"},P={class:"page-header"},Q={class:"header-badges"},X={key:0,class:"badge badge-profile"},Y={key:1,class:"badge badge-model"},Z={key:0,class:"loading"},x={key:0,class:"processing-alert card"},ss={class:"processing-issues"},ts={class:"stats-grid"},es={class:"stat-card card"},as={class:"stat-value"},os={class:"stat-breakdown"},ns={class:"breakdown-item"},ls={class:"label"},is={class:"value"},ds={class:"breakdown-item"},cs={class:"label"},rs={class:"value"},us={class:"stat-footer"},_s={class:"calls-count"},ps={class:"cost-value"},hs={key:0,class:"started-at"},ks={class:"stat-card card"},vs={class:"stat-value"},fs={class:"stat-breakdown"},ms={class:"breakdown-item"},ys={class:"label"},$s={class:"value"},bs={class:"breakdown-item"},gs={class:"label"},Is={class:"value"},ws={class:"stat-footer"},Cs={class:"calls-count"},As={class:"cost-value"},Fs={class:"stat-card card info-card"},Os={class:"cost-explanation"},Ns={class:"card history-card"},Ss={key:0,class:"empty"},Ts={key:1,class:"table-container"},Us={class:"history-table"},Vs={key:1,class:"text-muted"},Bs={class:"cost-cell"},Ds=D({__name:"stats",async setup(Ks){let c,v;const{locale:w}=K(),u=L(!1),{data:a,status:C,refresh:f}=([c,v]=M(()=>U("/api/stats","$ygpy_aVKAm")),c=await c,v(),c),{lastMessage:A}=V();E(A,e=>{(e?.type==="claude_end"||e?.type==="stats-update"||e?.type==="refresh")&&(u.value=!0,f().finally(()=>{u.value=!1}))});let _;R(()=>{_=B(()=>{f()},5e3)}),j(()=>{_&&clearInterval(_)});const F=b(()=>(a.value?.session?.tokensInput||0)+(a.value?.session?.tokensOutput||0)),O=b(()=>(a.value?.totals?.tokensInput||0)+(a.value?.totals?.tokensOutput||0)),d=e=>e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toString(),p=e=>e.toFixed(4),N=e=>e?e<1e3?e+"ms":(e/1e3).toFixed(1)+"s":"-",m=e=>e?new Date(e).toLocaleString(w.value==="fr"?"fr-FR":"en-US"):"-";return q({title:"Statistics - AutoCode"}),(e,y)=>{const $=T;return n(),l("div",J,[s("header",P,[z($,{to:"/kanban",class:"back-link"},{default:g(()=>[k(" ← "+t(e.$t("stats.backToKanban")),1)]),_:1}),s("h1",null,t(e.$t("stats.title")),1),s("div",Q,[o(a)?.profile?(n(),l("span",X,t(o(a).profile),1)):r("",!0),o(a)?.model?(n(),l("span",Y,t(o(a).model),1)):r("",!0),s("span",{class:H(["refresh-indicator",{active:o(u)}])},null,2)])]),o(C)==="pending"?(n(),l("div",Z,t(e.$t("kanban.loading")),1)):(n(),l(h,{key:1},[o(a)?.processingIssues?.length?(n(),l("div",x,[s("h3",null,t(e.$t("stats.processing")),1),s("div",ss,[(n(!0),l(h,null,I(o(a).processingIssues,i=>(n(),l("span",{key:i,class:"processing-badge"},[y[0]||(y[0]=s("span",{class:"dot-pulse"},null,-1)),k(" "+t(i),1)]))),128))])])):r("",!0),s("div",ts,[s("div",es,[s("h2",null,t(e.$t("stats.session")),1),s("div",as,t(d(o(F))),1),s("div",os,[s("div",ns,[s("span",ls,t(e.$t("stats.tokensInput")),1),s("span",is,t(d(o(a)?.session?.tokensInput||0)),1)]),s("div",ds,[s("span",cs,t(e.$t("stats.tokensOutput")),1),s("span",rs,t(d(o(a)?.session?.tokensOutput||0)),1)])]),s("div",us,[s("span",_s,t(o(a)?.session?.callCount||0)+" "+t(e.$t("stats.calls")),1),s("span",ps,"$"+t(p(o(a)?.session?.costUsd||0)),1)]),o(a)?.session?.startedAt?(n(),l("div",hs,t(e.$t("stats.startedAt"))+": "+t(m(o(a).session.startedAt)),1)):r("",!0)]),s("div",ks,[s("h2",null,t(e.$t("stats.totals")),1),s("div",vs,t(d(o(O))),1),s("div",fs,[s("div",ms,[s("span",ys,t(e.$t("stats.tokensInput")),1),s("span",$s,t(d(o(a)?.totals?.tokensInput||0)),1)]),s("div",bs,[s("span",gs,t(e.$t("stats.tokensOutput")),1),s("span",Is,t(d(o(a)?.totals?.tokensOutput||0)),1)])]),s("div",ws,[s("span",Cs,t(o(a)?.totals?.callCount||0)+" "+t(e.$t("stats.calls")),1),s("span",As,"$"+t(p(o(a)?.totals?.costUsd||0)),1)])]),s("div",Fs,[s("h2",null,t(e.$t("stats.cost")),1),s("p",Os,t(e.$t("stats.costExplanation")),1)])]),s("div",Ns,[s("h2",null,t(e.$t("stats.recentActivity")),1),o(a)?.history?.length?(n(),l("div",Ts,[s("table",Us,[s("thead",null,[s("tr",null,[s("th",null,t(e.$t("stats.issue")),1),s("th",null,t(e.$t("stats.column")),1),s("th",null,t(e.$t("stats.tokensInput")),1),s("th",null,t(e.$t("stats.tokensOutput")),1),s("th",null,t(e.$t("stats.cost")),1),s("th",null,t(e.$t("stats.duration")),1),s("th",null,t(e.$t("stats.date")),1)])]),s("tbody",null,[(n(!0),l(h,null,I(o(a).history,(i,S)=>(n(),l("tr",{key:S},[s("td",null,[i.issue?(n(),W($,{key:0,to:`/issue/${i.issue}`,class:"issue-link"},{default:g(()=>[k(t(i.issue),1)]),_:2},1032,["to"])):(n(),l("span",Vs,"-"))]),s("td",null,t(i.column||"-"),1),s("td",null,t(d(i.tokensInput)),1),s("td",null,t(d(i.tokensOutput)),1),s("td",Bs,"$"+t(p(i.costUsd||0)),1),s("td",null,t(N(i.duration)),1),s("td",null,t(m(i.timestamp)),1)]))),128))])])])):(n(),l("div",Ss,t(e.$t("stats.noActivity")),1))])],64))])}}}),js=G(Ds,[["__scopeId","data-v-3e093864"]]);export{js as default};
@@ -1 +1 @@
1
- import{d as m,r as $,o as O,a as G,c as r,b as d,_ as A,u as f,e as n,f as g,w as S,g as T,t as e,h as o,i as E,j as F,k as I,l as P,m as U,n as X,F as w,p as x,q as R,s as Y}from"./DsCGEKfY.js";import{_ as D}from"./Bo-KGD7n.js";import{_ as J}from"./BICeJifN.js";const K=m({__name:"LandingMatrixBg",setup(h){const t=$(null),l=['autocode new "Fix login bug" -p P1',"autocode serve --expose","autocode next AC-000042","autocode move AC-000001 review","autocode pipeline show default","autocode stats --session","autocode health --verbose","autocode list --tree","autocode history AC-000015 --full",'autocode comment AC-000003 "Done"',"autocode catalog add security-audit","autocode init && autocode serve","GET /api/issues?column=in-progress","POST /api/issues { title, priority }","PATCH /api/issues/AC-000001","POST /api/issues/:id/next","GET /api/pipelines/default","GET /api/workflow/health","POST /api/issues/:id/comments","GET /api/stats",'claude -p "Review this code"','claude -p "Fix the failing tests"','claude -p "Add security validation"','claude -p "Refactor for clarity"',"await claude.execute(prompt)",'claude --model opus "Analyze"',"pipeline.advance(issue)","if (review.passed) next()","while (!tests.green) retry()","bestPractices.validate(code)","security.audit(changes)","duplication.detect(diff)","consistency.check(style)","prisma.issue.findMany()","prisma.issue.update({ data })","await prisma.$transaction()","SELECT * FROM issues WHERE done"],i=["rgba(99, 102, 241, ","rgba(139, 92, 246, ","rgba(168, 85, 247, ","rgba(192, 132, 252, ","rgba(236, 72, 153, "];let a=[],s=null;function v(){const _=t.value;if(!_)return;const L=()=>{_.width=window.innerWidth,_.height=window.innerHeight};L(),window.addEventListener("resize",L);const u=_.getContext("2d");if(!u)return;const z=Math.floor(window.innerWidth/60);a=[];for(let C=0;C<z;C++)b(_.width,_.height);function B(){if(!u||!_)return;u.clearRect(0,0,_.width,_.height);const C=Date.now();for(let M=a.length-1;M>=0;M--){const c=a[M];if(c.phase==="writing")c.charIndex+=c.speed*.5,c.charIndex>=c.text.length&&(c.phase="visible",c.visibleTime=C);else if(c.phase==="visible")C-c.visibleTime>300+Math.random()*500&&(c.phase="fading");else if(c.phase==="fading"&&(c.opacity-=.03*c.speed,c.opacity<=0)){a.splice(M,1),b(_.width,_.height);continue}u.font=`${c.fontSize}px 'JetBrains Mono', 'Fira Code', monospace`;const H=c.text.substring(0,Math.floor(c.charIndex));if(u.shadowColor=c.color+"0.5)",u.shadowBlur=8,u.fillStyle=c.color+(c.opacity*.8).toFixed(2)+")",u.fillText(H,c.x,c.y),u.shadowBlur=0,u.fillStyle=c.color+c.opacity.toFixed(2)+")",u.fillText(H,c.x,c.y),c.phase==="writing"&&Math.floor(C/100)%2===0){const j=c.x+u.measureText(H).width;u.fillStyle=c.color+"0.9)",u.fillRect(j+2,c.y-c.fontSize+4,2,c.fontSize)}}s=requestAnimationFrame(B)}B()}function b(_,L){const u=10+Math.random()*6,z=l[Math.floor(Math.random()*l.length)];a.push({x:Math.random()*(_-300),y:50+Math.random()*(L-100),text:z,charIndex:0,opacity:.2+Math.random()*.4,speed:.5+Math.random()*3.5,color:i[Math.floor(Math.random()*i.length)],phase:"writing",visibleTime:0,fontSize:u})}return O(()=>{v()}),G(()=>{s&&cancelAnimationFrame(s)}),(_,L)=>(d(),r("canvas",{ref_key:"canvasRef",ref:t,class:"landing-matrix-bg","aria-hidden":"true"},null,512))}}),Q=Object.assign(A(K,[["__scopeId","data-v-b5216f08"]]),{__name:"LandingMatrixBg"}),Z={class:"landing-nav"},nn={class:"landing-nav-container"},tn={class:"landing-nav-links"},en={href:"#features"},on={href:"#workflow"},an={href:"#installation"},sn={href:"#faq"},ln={href:"#api"},dn={class:"landing-nav-right"},cn=m({__name:"LandingNav",setup(h){const{t}=f(),l=$(!1);return O(()=>{l.value=window.location.host.endsWith(".gitlab.io")}),(i,a)=>{const s=D,v=J;return d(),r("nav",Z,[n("div",nn,[g(s,{to:"/",class:"landing-logo"},{default:S(()=>[...a[0]||(a[0]=[n("span",null,"⚡",-1),T(" AutoCode ",-1),n("span",{class:"landing-beta-badge"},"BETA",-1)])]),_:1}),n("ul",tn,[n("li",null,[n("a",en,e(o(t)("landing.nav.features")),1)]),n("li",null,[n("a",on,e(o(t)("landing.nav.workflow")),1)]),n("li",null,[n("a",an,e(o(t)("landing.nav.installation")),1)]),n("li",null,[n("a",sn,e(o(t)("landing.nav.faq")),1)]),n("li",null,[n("a",ln,e(o(t)("landing.nav.api")),1)])]),n("div",dn,[g(v),o(l)?F("",!0):(d(),E(s,{key:0,to:"/kanban",class:"landing-nav-cta"},{default:S(()=>[T(e(o(t)("landing.nav.dashboard")),1)]),_:1}))])])])}}}),rn=Object.assign(cn,{__name:"LandingNav"}),pn={class:"landing-hero"},un={class:"landing-hero-content"},_n={class:"landing-hero-badge"},gn={class:"gradient"},mn={class:"landing-hero-buttons"},hn={href:"#installation",class:"landing-btn landing-btn-primary"},vn=m({__name:"LandingHero",setup(h){const{t}=f();return(l,i)=>(d(),r("section",pn,[n("div",un,[n("div",_n,[i[0]||(i[0]=n("span",null,"Wrapper",-1)),n("span",null,e(o(t)("landing.hero.badge")),1)]),n("h1",null,[T(e(o(t)("landing.hero.title1")),1),i[1]||(i[1]=n("br",null,null,-1)),n("span",gn,e(o(t)("landing.hero.title2")),1)]),n("p",null,e(o(t)("landing.hero.description")),1),n("div",mn,[n("a",hn,[T(e(o(t)("landing.hero.cta"))+" ",1),i[2]||(i[2]=n("svg",{width:"20",height:"20",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7l5 5m0 0l-5 5m5-5H6"})],-1))]),i[3]||(i[3]=I('<a href="https://gitlab.com/evkoh/autocode" class="landing-btn landing-btn-secondary" target="_blank"><svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24"><path d="M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z"></path></svg> GitLab </a><a href="https://www.npmjs.com/package/@autocode-cli/autocode" class="landing-btn landing-btn-secondary" target="_blank"><svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24"><path d="M0 7.334v8h6.666v1.332H12v-1.332h12v-8H0zm6.666 6.664H5.334v-4H3.999v4H1.335V8.667h5.331v5.331zm4 0v1.336H8.001V8.667h5.334v5.332h-2.669v-.001zm12.001 0h-1.33v-4h-1.336v4h-1.335v-4h-1.33v4h-2.671V8.667h8.002v5.331zM10.665 10H12v2.667h-1.335V10z"></path></svg> npm </a>',2))]),i[4]||(i[4]=I('<div class="landing-terminal"><div class="landing-terminal-header"><span class="landing-terminal-dot red"></span><span class="landing-terminal-dot yellow"></span><span class="landing-terminal-dot green"></span></div><div class="landing-terminal-body"><div class="landing-terminal-line"><span class="landing-terminal-prompt">$</span><span class="landing-terminal-command">npm install -g @autocode-cli/autocode</span></div><div class="landing-terminal-output"><span style="color:#22c55e;">+ @autocode-cli/autocode installed</span></div><div class="landing-terminal-line"><span class="landing-terminal-prompt">$</span><span class="landing-terminal-command">autocode serve</span></div><div class="landing-terminal-output"> Dashboard available at <span class="landing-terminal-accent">http://localhost:3000</span></div></div></div>',1))])]))}}),fn=Object.assign(vn,{__name:"LandingHero"}),yn={id:"demo",class:"landing-section landing-demo"},kn={class:"landing-demo-content"},wn={key:1,href:"https://gitlab.com/evkoh/autocode",target:"_blank",class:"landing-btn landing-btn-primary landing-btn-large"},bn=m({__name:"LandingDemo",setup(h){const{t}=f(),l=$(!1);return O(()=>{const i=window.location.hostname;l.value=i==="localhost"||i==="127.0.0.1"}),(i,a)=>{const s=D;return d(),r("section",yn,[n("div",kn,[n("h2",null,e(o(t)("landing.demo.title")),1),n("p",null,e(o(t)("landing.demo.description")),1),o(l)?(d(),E(s,{key:0,to:"/kanban",class:"landing-btn landing-btn-primary landing-btn-large"},{default:S(()=>[T(e(o(t)("landing.demo.cta"))+" ",1),a[0]||(a[0]=n("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})],-1))]),_:1})):(d(),r("a",wn,[T(e(o(t)("landing.demo.ctaGitlab"))+" ",1),a[1]||(a[1]=n("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})],-1))]))])])}}}),$n=Object.assign(A(bn,[["__scopeId","data-v-5e25f58c"]]),{__name:"LandingDemo"}),xn={id:"podcast",class:"landing-section"},Ln={class:"landing-section-header"},Cn={class:"landing-podcast-player"},Mn=["src"],An={class:"podcast-info"},Tn={class:"podcast-meta"},zn={class:"podcast-lang-badge"},Hn={class:"podcast-controls"},Bn=["disabled"],jn={key:0,width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},Pn={key:1,width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},Sn={class:"podcast-progress-bar"},Fn={class:"podcast-time"},In={class:"podcast-speed"},On=["onClick"],Rn={class:"podcast-volume"},qn=["value"],Vn=m({__name:"LandingPodcast",setup(h){const{t,locale:l}=f(),i=$(null),a=$(!1),s=$(0),v=$(0),b=$(1),_=$(1),L=$(!1),u=P(()=>`./media/podcast/${l.value}.m4a`),z=P(()=>M(s.value)),B=P(()=>M(v.value)),C=P(()=>v.value>0?s.value/v.value*100:0);function M(y){const p=Math.floor(y/60),k=Math.floor(y%60);return`${p}:${k.toString().padStart(2,"0")}`}function c(){i.value&&(a.value?i.value.pause():i.value.play())}function H(){i.value&&(s.value=i.value.currentTime)}function j(){i.value&&(v.value=i.value.duration,L.value=!0)}function q(y){if(!i.value||!v.value)return;const k=y.currentTarget.getBoundingClientRect(),N=(y.clientX-k.left)/k.width;i.value.currentTime=N*v.value}function V(y){_.value=y,i.value&&(i.value.playbackRate=y)}function W(y){const p=y.target;b.value=parseFloat(p.value),i.value&&(i.value.volume=b.value)}return U(l,()=>{if(i.value){const y=a.value,p=s.value;i.value.load(),i.value.currentTime=p,y&&i.value.play()}}),(y,p)=>(d(),r("section",xn,[n("div",Ln,[n("h2",null,e(o(t)("landing.podcast.title")),1),n("p",null,e(o(t)("landing.podcast.description")),1)]),n("div",Cn,[n("audio",{ref_key:"audioRef",ref:i,src:o(u),preload:"metadata",onTimeupdate:H,onLoadedmetadata:j,onPlay:p[0]||(p[0]=k=>a.value=!0),onPause:p[1]||(p[1]=k=>a.value=!1),onEnded:p[2]||(p[2]=k=>a.value=!1)},null,40,Mn),n("div",An,[p[3]||(p[3]=n("div",{class:"podcast-artwork"},[n("svg",{width:"48",height:"48",viewBox:"0 0 24 24",fill:"currentColor"},[n("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})])],-1)),n("div",Tn,[n("h3",null,e(o(t)("landing.podcast.episode")),1),n("span",zn,e(o(l).toUpperCase()),1)])]),n("div",Hn,[n("button",{class:"podcast-play-btn",disabled:!o(L),onClick:c},[o(a)?(d(),r("svg",Pn,[...p[5]||(p[5]=[n("path",{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"},null,-1)])])):(d(),r("svg",jn,[...p[4]||(p[4]=[n("path",{d:"M8 5v14l11-7z"},null,-1)])]))],8,Bn),n("div",{class:"podcast-progress-container",onClick:q},[n("div",Sn,[n("div",{class:"podcast-progress-fill",style:X({width:`${o(C)}%`})},null,4)]),n("div",Fn,[n("span",null,e(o(z)),1),n("span",null,e(o(B)),1)])]),n("div",In,[(d(),r(w,null,x([.5,1,1.5,2],k=>n("button",{key:k,class:R({active:o(_)===k}),onClick:N=>V(k)},e(k)+"x ",11,On)),64))]),n("div",Rn,[p[6]||(p[6]=n("svg",{width:"20",height:"20",fill:"currentColor",viewBox:"0 0 24 24"},[n("path",{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02z"})],-1)),n("input",{type:"range",min:"0",max:"1",step:"0.1",value:o(b),onInput:W},null,40,qn)])])])]))}}),En=Object.assign(A(Vn,[["__scopeId","data-v-5dee128b"]]),{__name:"LandingPodcast"}),Dn={id:"features",class:"landing-section"},Nn={class:"landing-section-header"},Wn={class:"landing-features-grid"},Gn={class:"landing-feature-icon"},Un=m({__name:"LandingFeatures",setup(h){const{t}=f(),l=[{icon:"🎯",key:"wrapper"},{icon:"🛡️",key:"pipeline"},{icon:"⏱️",key:"time"},{icon:"🗄️",key:"filesystem"},{icon:"📊",key:"kanban"},{icon:"🔧",key:"custom"},{icon:"💰",key:"cost"},{icon:"🪄",key:"autocreate",highlight:!0},{icon:"🌐",key:"expose"}];return(i,a)=>(d(),r("section",Dn,[n("div",Nn,[n("h2",null,e(o(t)("landing.features.title")),1),n("p",null,e(o(t)("landing.features.subtitle")),1)]),n("div",Wn,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:R(["landing-feature-card",{highlight:s.highlight}])},[n("div",Gn,e(s.icon),1),n("h3",null,e(o(t)(`landing.features.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.features.${s.key}.desc`)),1)],2)),64))])]))}}),Xn=Object.assign(Un,{__name:"LandingFeatures"}),Yn={id:"pipeline",class:"landing-section"},Jn={class:"landing-section-header"},Kn={class:"landing-pipeline-flow"},Qn={class:"phase-icon"},Zn={key:0,class:"phase-items"},nt={key:0,class:"pipeline-arrow"},tt={class:"landing-pipeline-note"},et=m({__name:"LandingPipeline",setup(h){const{t}=f(),l=[{key:"create",icon:"📝",color:"blue"},{key:"reviews",icon:"🔍",color:"purple",items:["bestPractices","duplication","consistency","security"]},{key:"tests",icon:"🧪",color:"orange"},{key:"deploy",icon:"🚀",color:"green"}];return(i,a)=>(d(),r("section",Yn,[n("div",Jn,[n("h2",null,e(o(t)("landing.pipeline.title")),1),n("p",null,e(o(t)("landing.pipeline.subtitle")),1)]),n("div",Kn,[(d(),r(w,null,x(l,(s,v)=>(d(),r(w,{key:s.key},[n("div",{class:R(["pipeline-phase",`pipeline-phase-${s.color}`])},[n("div",Qn,e(s.icon),1),n("h3",null,e(o(t)(`landing.pipeline.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.pipeline.${s.key}.desc`)),1),s.items?(d(),r("div",Zn,[(d(!0),r(w,null,x(s.items,b=>(d(),r("span",{key:b,class:"phase-item"},e(o(t)(`landing.pipeline.reviews.${b}`)),1))),128))])):F("",!0)],2),v<l.length-1?(d(),r("div",nt,[...a[0]||(a[0]=[n("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7l5 5m0 0l-5 5m5-5H6"})],-1)])])):F("",!0)],64))),64))]),n("div",tt,[a[1]||(a[1]=n("span",{class:"note-icon"},"💡",-1)),n("p",null,e(o(t)("landing.pipeline.note")),1)])]))}}),ot=Object.assign(A(et,[["__scopeId","data-v-b084b36d"]]),{__name:"LandingPipeline"}),at={id:"workflow",class:"landing-section landing-workflow"},st={class:"landing-section-header"},it={class:"landing-workflow-container"},lt={class:"landing-workflow-steps"},dt={class:"landing-step-number"},ct={class:"landing-step-content"},rt=m({__name:"LandingWorkflow",setup(h){const{t}=f(),l=[{number:"1",key:"install"},{number:"2",key:"init"},{number:"3",key:"create"},{number:"4",key:"serve"}];return(i,a)=>(d(),r("section",at,[n("div",st,[n("h2",null,e(o(t)("landing.workflow.title")),1),n("p",null,e(o(t)("landing.workflow.subtitle")),1)]),n("div",it,[n("div",lt,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"landing-workflow-step"},[n("div",dt,e(s.number),1),n("div",ct,[n("h4",null,e(o(t)(`landing.workflow.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.workflow.${s.key}.desc`)),1)])])),64))])])]))}}),pt=Object.assign(rt,{__name:"LandingWorkflow"}),ut={id:"autonomy",class:"landing-section"},_t={class:"landing-section-header"},gt={class:"landing-autonomy-grid"},mt={class:"autonomy-icon"},ht={class:"landing-autonomy-workflow"},vt={class:"workflow-header"},ft={class:"workflow-content"},yt={class:"workflow-source"},kt={class:"workflow-node source-node"},wt={class:"node-text"},bt={class:"workflow-paths"},$t={class:"workflow-path path-1"},xt={class:"workflow-node action-node"},Lt={class:"node-text"},Ct={class:"workflow-path path-2"},Mt={class:"workflow-node action-node"},At={class:"node-text"},Tt={class:"workflow-path path-3"},zt={class:"workflow-node action-node"},Ht={class:"node-text"},Bt=m({__name:"LandingAutonomy",setup(h){const{t}=f(),l=[{key:"skip",icon:"⏭️"},{key:"correct",icon:"🔄"},{key:"spawn",icon:"🐣"}];return(i,a)=>(d(),r("section",ut,[n("div",_t,[n("h2",null,e(o(t)("landing.autonomy.title")),1),n("p",null,e(o(t)("landing.autonomy.subtitle")),1)]),n("div",gt,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"landing-autonomy-card"},[n("div",mt,e(s.icon),1),n("h3",null,e(o(t)(`landing.autonomy.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.autonomy.${s.key}.desc`)),1)])),64))]),n("div",ht,[n("div",vt,[n("span",null,e(o(t)("landing.autonomy.codeTitle")),1)]),n("div",ft,[n("div",yt,[n("div",kt,[a[0]||(a[0]=n("span",{class:"node-icon"},"🔍",-1)),n("span",wt,e(o(t)("landing.autonomy.code.comment1")),1)])]),a[7]||(a[7]=n("div",{class:"workflow-arrow-down"},[n("svg",{width:"24",height:"40",viewBox:"0 0 24 40",fill:"none",stroke:"currentColor"},[n("path",{"stroke-width":"2",d:"M12 0v32m0 0l-6-6m6 6l6-6"})])],-1)),n("div",bt,[n("div",$t,[a[2]||(a[2]=n("div",{class:"path-condition"},"Hors scope ?",-1)),n("div",xt,[a[1]||(a[1]=n("span",{class:"node-icon"},"🐣",-1)),n("span",Lt,e(o(t)("landing.autonomy.code.comment2")),1)])]),n("div",Ct,[a[4]||(a[4]=n("div",{class:"path-condition"},"Dans le scope ?",-1)),n("div",Mt,[a[3]||(a[3]=n("span",{class:"node-icon"},"⚡",-1)),n("span",At,e(o(t)("landing.autonomy.code.comment3")),1)])]),n("div",Tt,[a[6]||(a[6]=n("div",{class:"path-condition"},"Amélioration ?",-1)),n("div",zt,[a[5]||(a[5]=n("span",{class:"node-icon"},"📝",-1)),n("span",Ht,e(o(t)("landing.autonomy.code.comment4")),1)])])])])])]))}}),jt=Object.assign(A(Bt,[["__scopeId","data-v-89440757"]]),{__name:"LandingAutonomy"}),Pt={id:"installation",class:"landing-section"},St={class:"landing-section-header"},Ft={class:"landing-install-container"},It={class:"landing-code-block"},Ot={class:"landing-code-header"},Rt={class:"landing-code-content"},qt={class:"landing-code-comment"},Vt={class:"landing-code-block"},Et={class:"landing-code-header"},Dt={class:"landing-code-content"},Nt={class:"landing-code-comment"},Wt={class:"landing-code-block"},Gt={class:"landing-code-header"},Ut={class:"landing-code-content"},Xt={class:"landing-code-comment"},Yt=m({__name:"LandingInstall",setup(h){const{t}=f(),l=async i=>{try{await navigator.clipboard.writeText(i)}catch{}};return(i,a)=>(d(),r("section",Pt,[n("div",St,[n("h2",null,e(o(t)("landing.install.title")),1),n("p",null,e(o(t)("landing.install.subtitle")),1)]),n("div",Ft,[n("div",It,[n("div",Ot,[n("span",null,e(o(t)("landing.install.step1")),1),n("button",{class:"landing-copy-btn",onClick:a[0]||(a[0]=s=>l("npm install -g @autocode-cli/autocode"))},e(o(t)("landing.install.copy")),1)]),n("div",Rt,[n("code",null,[n("span",qt,"# "+e(o(t)("landing.install.globalInstall")),1),a[3]||(a[3]=n("br",null,null,-1)),a[4]||(a[4]=n("span",{class:"landing-code-command"},"npm install -g @autocode-cli/autocode",-1))])])]),n("div",Vt,[n("div",Et,[n("span",null,e(o(t)("landing.install.step2")),1),n("button",{class:"landing-copy-btn",onClick:a[1]||(a[1]=s=>l("autocode init"))},e(o(t)("landing.install.copy")),1)]),n("div",Dt,[n("code",null,[n("span",Nt,"# "+e(o(t)("landing.install.initProject")),1),a[5]||(a[5]=n("br",null,null,-1)),a[6]||(a[6]=n("span",{class:"landing-code-command"},"autocode init",-1))])])]),n("div",Wt,[n("div",Gt,[n("span",null,e(o(t)("landing.install.step3")),1),n("button",{class:"landing-copy-btn",onClick:a[2]||(a[2]=s=>l("autocode serve"))},e(o(t)("landing.install.copy")),1)]),n("div",Ut,[n("code",null,[n("span",Xt,"# "+e(o(t)("landing.install.startDashboard")),1),a[7]||(a[7]=n("br",null,null,-1)),a[8]||(a[8]=n("span",{class:"landing-code-command"},"autocode serve",-1))])])])])]))}}),Jt=Object.assign(Yt,{__name:"LandingInstall"}),Kt={id:"commands",class:"landing-section"},Qt={class:"landing-section-header"},Zt={class:"landing-commands-table-wrapper"},ne={class:"landing-commands-table"},te=m({__name:"LandingCommands",setup(h){const{t}=f(),l=[{cmd:"autocode init",key:"init"},{cmd:"autocode serve",key:"serve"},{cmd:"autocode serve --expose",key:"expose"},{cmd:"autocode new <title> [desc]",key:"new"},{cmd:"autocode list",key:"list"},{cmd:"autocode show <key>",key:"show"},{cmd:"autocode next <key>",key:"next"},{cmd:"autocode move <key> <column>",key:"move"},{cmd:"autocode start <key>",key:"start"},{cmd:"autocode comment <key> <text>",key:"comment"},{cmd:"autocode history <key>",key:"history"},{cmd:"autocode parent <key> [parent]",key:"parent"},{cmd:"autocode stats",key:"stats"},{cmd:"autocode health",key:"health"},{cmd:"autocode pipeline <action>",key:"pipeline"},{cmd:"autocode catalog",key:"catalog"},{cmd:"autocode help",key:"help"}];return(i,a)=>(d(),r("section",Kt,[n("div",Qt,[n("h2",null,e(o(t)("landing.commands.title")),1),n("p",null,e(o(t)("landing.commands.subtitle")),1)]),n("div",Zt,[n("table",ne,[n("thead",null,[n("tr",null,[n("th",null,e(o(t)("landing.commands.command")),1),n("th",null,e(o(t)("landing.commands.description")),1)])]),n("tbody",null,[(d(),r(w,null,x(l,s=>n("tr",{key:s.key},[n("td",null,[n("code",null,e(s.cmd),1)]),n("td",null,e(o(t)(`landing.commands.${s.key}`)),1)])),64))])])])]))}}),ee=Object.assign(A(te,[["__scopeId","data-v-dc1385aa"]]),{__name:"LandingCommands"}),oe={id:"architecture",class:"landing-section"},ae={class:"landing-section-header"},se={class:"landing-architecture-flow"},ie={class:"flow-step"},le={class:"flow-step success"},de={class:"landing-architecture-details"},ce={class:"detail-icon"},re=m({__name:"LandingArchitecture",setup(h){const{t}=f(),l=[{key:"storage",icon:"🗄️"},{key:"interfaces",icon:"🔌"},{key:"tech",icon:"⚙️"}];return(i,a)=>(d(),r("section",oe,[n("div",ae,[n("h2",null,e(o(t)("landing.architecture.title")),1),n("p",null,e(o(t)("landing.architecture.subtitle")),1)]),n("div",se,[n("div",ie,[a[0]||(a[0]=n("div",{class:"flow-icon"},"👤",-1)),n("span",null,e(o(t)("landing.architecture.flow.you")),1)]),a[2]||(a[2]=I('<div class="flow-arrow" data-v-ab99f707>→</div><div class="flow-step highlight" data-v-ab99f707><div class="flow-icon" data-v-ab99f707>⚡</div><span data-v-ab99f707>AutoCode</span></div><div class="flow-arrow" data-v-ab99f707>→</div><div class="flow-step" data-v-ab99f707><div class="flow-icon" data-v-ab99f707>🤖</div><span data-v-ab99f707>Claude Code</span></div><div class="flow-arrow" data-v-ab99f707>→</div>',5)),n("div",le,[a[1]||(a[1]=n("div",{class:"flow-icon"},"✅",-1)),n("span",null,e(o(t)("landing.architecture.flow.validated")),1)])]),n("div",de,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"architecture-detail-card"},[n("div",ce,e(s.icon),1),n("h3",null,e(o(t)(`landing.architecture.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.architecture.${s.key}.desc`)),1)])),64))])]))}}),pe=Object.assign(A(re,[["__scopeId","data-v-ab99f707"]]),{__name:"LandingArchitecture"}),ue={id:"api",class:"landing-section"},_e={class:"landing-section-header"},ge={class:"landing-api-grid"},me={class:"landing-api-endpoint"},he=m({__name:"LandingApi",setup(h){const{t}=f(),l=[{method:"get",endpoint:"/api/issues"},{method:"get",endpoint:"/api/issues/:id"},{method:"post",endpoint:"/api/issues"},{method:"patch",endpoint:"/api/issues/:id"},{method:"post",endpoint:"/api/issues/:id/move"},{method:"post",endpoint:"/api/issues/:id/next"},{method:"get",endpoint:"/api/issues/:id/comments"},{method:"post",endpoint:"/api/issues/:id/comments"},{method:"delete",endpoint:"/api/issues/:id/archive"},{method:"get",endpoint:"/api/columns"},{method:"get",endpoint:"/api/pipelines"},{method:"get",endpoint:"/api/stats"}];return(i,a)=>(d(),r("section",ue,[n("div",_e,[n("h2",null,e(o(t)("landing.api.title")),1),n("p",null,e(o(t)("landing.api.subtitle")),1)]),n("div",ge,[(d(),r(w,null,x(l,s=>n("div",{key:s.endpoint,class:"landing-api-card"},[n("span",{class:R(["landing-api-method",s.method])},e(s.method.toUpperCase()),3),n("span",me,e(s.endpoint),1)])),64))])]))}}),ve=Object.assign(he,{__name:"LandingApi"}),fe={id:"roadmap",class:"landing-section"},ye={class:"landing-section-header"},ke={class:"landing-roadmap-grid"},we={class:"roadmap-icon"},be={class:"roadmap-status"},$e={class:"landing-roadmap-cta"},xe={href:"https://gitlab.com/evkoh/autocode/-/issues",target:"_blank",class:"landing-btn landing-btn-secondary"},Le=m({__name:"LandingRoadmap",setup(h){const{t}=f(),l=[{key:"mcp",icon:"🔗"},{key:"catalog",icon:"📚"}];return(i,a)=>(d(),r("section",fe,[n("div",ye,[n("h2",null,e(o(t)("landing.roadmap.title")),1),n("p",null,e(o(t)("landing.roadmap.subtitle")),1)]),n("div",ke,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"landing-roadmap-card"},[n("div",we,e(s.icon),1),n("h3",null,e(o(t)(`landing.roadmap.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.roadmap.${s.key}.desc`)),1),n("span",be,e(o(t)("landing.roadmap.coming")),1)])),64))]),n("div",$e,[n("a",xe,[T(e(o(t)("landing.roadmap.cta"))+" ",1),a[0]||(a[0]=n("svg",{width:"20",height:"20",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})],-1))])])]))}}),Ce=Object.assign(A(Le,[["__scopeId","data-v-c498be6d"]]),{__name:"LandingRoadmap"}),Me={id:"faq",class:"landing-section"},Ae={class:"landing-section-header"},Te={class:"landing-faq-container"},ze=m({__name:"LandingFaq",setup(h){const{t}=f(),l=["what","install","free","pipeline","claude","customize","database","testing"];return(i,a)=>(d(),r("section",Me,[n("div",Ae,[n("h2",null,e(o(t)("landing.faq.title")),1),n("p",null,e(o(t)("landing.faq.subtitle")),1)]),n("div",Te,[(d(),r(w,null,x(l,s=>n("div",{key:s,class:"landing-faq-item"},[n("h3",null,e(o(t)(`landing.faq.${s}.q`)),1),n("p",null,e(o(t)(`landing.faq.${s}.a`)),1)])),64))])]))}}),He=Object.assign(ze,{__name:"LandingFaq"}),Be={class:"landing-footer"},je={class:"landing-footer-content"},Pe={class:"landing-footer-brand"},Se={class:"landing-footer-tagline"},Fe={class:"landing-footer-nav"},Ie={class:"landing-footer-bottom"},Oe={class:"landing-footer-copy"},Re=m({__name:"LandingFooter",setup(h){const{t}=f(),l=new Date().getFullYear(),i=$(!1);return O(()=>{i.value=window.location.host.endsWith(".gitlab.io")}),(a,s)=>{const v=D;return d(),r("footer",Be,[n("div",je,[n("div",Pe,[s[0]||(s[0]=n("span",{class:"landing-footer-logo"},"AutoCode",-1)),n("span",Se,e(o(t)("landing.footer.madeWith")),1)]),n("nav",Fe,[s[1]||(s[1]=I('<a href="https://gitlab.com/evkoh/autocode" target="_blank" rel="noopener" data-v-63ea1028><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-v-63ea1028><path d="M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z" data-v-63ea1028></path></svg> GitLab </a><a href="https://www.npmjs.com/package/@autocode-cli/autocode" target="_blank" rel="noopener" data-v-63ea1028><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-v-63ea1028><path d="M0 7.334v8h6.666v1.332H12v-1.332h12v-8H0zm6.666 6.664H5.334v-4H3.999v4H1.335V8.667h5.331v5.331zm4 0v1.336H8.001V8.667h5.334v5.332h-2.669v-.001zm12.001 0h-1.33v-4h-1.336v4h-1.335v-4h-1.33v4h-2.671V8.667h8.002v5.331z" data-v-63ea1028></path></svg> npm </a><a href="#api" data-v-63ea1028>API</a>',3)),o(i)?F("",!0):(d(),E(v,{key:0,to:"/kanban",class:"landing-footer-dashboard"},{default:S(()=>[T(e(o(t)("landing.footer.dashboard")),1)]),_:1}))]),n("div",Ie,[n("p",Oe," © "+e(o(l))+" AutoCode · "+e(o(t)("landing.footer.license")),1)])])])}}}),qe=Object.assign(A(Re,[["__scopeId","data-v-63ea1028"]]),{__name:"LandingFooter"}),Ve={class:"landing-page"},We=m({__name:"index",setup(h){const{t}=f();return Y({title:()=>t("landing.meta.title"),link:[{rel:"icon",type:"image/svg+xml",href:"/favicon.svg"},{rel:"canonical",href:"https://autocode.dev/"}],meta:[{name:"description",content:()=>t("landing.meta.description")},{name:"keywords",content:()=>t("landing.meta.keywords")},{property:"og:type",content:"website"},{property:"og:url",content:"https://autocode.dev/"},{property:"og:title",content:()=>t("landing.meta.title")},{property:"og:description",content:()=>t("landing.meta.description")},{property:"og:site_name",content:"AutoCode"},{property:"og:image",content:"https://autocode.dev/og-image.svg"},{property:"og:image:width",content:"1200"},{property:"og:image:height",content:"630"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:()=>t("landing.meta.title")},{name:"twitter:description",content:()=>t("landing.meta.description")},{name:"twitter:image",content:"https://autocode.dev/og-image.svg"}]}),(l,i)=>{const a=Q,s=rn,v=fn,b=$n,_=En,L=Xn,u=ot,z=pt,B=jt,C=Jt,M=ee,c=pe,H=ve,j=Ce,q=He,V=qe;return d(),r("div",Ve,[g(a),g(s),g(v),g(b),g(_),g(L),g(u),g(z),g(B),g(C),g(M),g(c),g(H),g(j),g(q),g(V)])}}});export{We as default};
1
+ import{d as m,r as $,o as O,a as G,c as r,b as d,_ as A,u as f,e as n,f as g,w as S,g as T,t as e,h as o,i as E,j as F,k as I,l as P,m as U,n as X,F as w,p as x,q as R,s as Y}from"./BfvaD8zq.js";import{_ as D}from"./BhrZFGnk.js";import{_ as J}from"./DrnWNKxr.js";const K=m({__name:"LandingMatrixBg",setup(h){const t=$(null),l=['autocode new "Fix login bug" -p P1',"autocode serve --expose","autocode next AC-000042","autocode move AC-000001 review","autocode pipeline show default","autocode stats --session","autocode health --verbose","autocode list --tree","autocode history AC-000015 --full",'autocode comment AC-000003 "Done"',"autocode catalog add security-audit","autocode init && autocode serve","GET /api/issues?column=in-progress","POST /api/issues { title, priority }","PATCH /api/issues/AC-000001","POST /api/issues/:id/next","GET /api/pipelines/default","GET /api/workflow/health","POST /api/issues/:id/comments","GET /api/stats",'claude -p "Review this code"','claude -p "Fix the failing tests"','claude -p "Add security validation"','claude -p "Refactor for clarity"',"await claude.execute(prompt)",'claude --model opus "Analyze"',"pipeline.advance(issue)","if (review.passed) next()","while (!tests.green) retry()","bestPractices.validate(code)","security.audit(changes)","duplication.detect(diff)","consistency.check(style)","prisma.issue.findMany()","prisma.issue.update({ data })","await prisma.$transaction()","SELECT * FROM issues WHERE done"],i=["rgba(99, 102, 241, ","rgba(139, 92, 246, ","rgba(168, 85, 247, ","rgba(192, 132, 252, ","rgba(236, 72, 153, "];let a=[],s=null;function v(){const _=t.value;if(!_)return;const L=()=>{_.width=window.innerWidth,_.height=window.innerHeight};L(),window.addEventListener("resize",L);const u=_.getContext("2d");if(!u)return;const z=Math.floor(window.innerWidth/60);a=[];for(let C=0;C<z;C++)b(_.width,_.height);function B(){if(!u||!_)return;u.clearRect(0,0,_.width,_.height);const C=Date.now();for(let M=a.length-1;M>=0;M--){const c=a[M];if(c.phase==="writing")c.charIndex+=c.speed*.5,c.charIndex>=c.text.length&&(c.phase="visible",c.visibleTime=C);else if(c.phase==="visible")C-c.visibleTime>300+Math.random()*500&&(c.phase="fading");else if(c.phase==="fading"&&(c.opacity-=.03*c.speed,c.opacity<=0)){a.splice(M,1),b(_.width,_.height);continue}u.font=`${c.fontSize}px 'JetBrains Mono', 'Fira Code', monospace`;const H=c.text.substring(0,Math.floor(c.charIndex));if(u.shadowColor=c.color+"0.5)",u.shadowBlur=8,u.fillStyle=c.color+(c.opacity*.8).toFixed(2)+")",u.fillText(H,c.x,c.y),u.shadowBlur=0,u.fillStyle=c.color+c.opacity.toFixed(2)+")",u.fillText(H,c.x,c.y),c.phase==="writing"&&Math.floor(C/100)%2===0){const j=c.x+u.measureText(H).width;u.fillStyle=c.color+"0.9)",u.fillRect(j+2,c.y-c.fontSize+4,2,c.fontSize)}}s=requestAnimationFrame(B)}B()}function b(_,L){const u=10+Math.random()*6,z=l[Math.floor(Math.random()*l.length)];a.push({x:Math.random()*(_-300),y:50+Math.random()*(L-100),text:z,charIndex:0,opacity:.2+Math.random()*.4,speed:.5+Math.random()*3.5,color:i[Math.floor(Math.random()*i.length)],phase:"writing",visibleTime:0,fontSize:u})}return O(()=>{v()}),G(()=>{s&&cancelAnimationFrame(s)}),(_,L)=>(d(),r("canvas",{ref_key:"canvasRef",ref:t,class:"landing-matrix-bg","aria-hidden":"true"},null,512))}}),Q=Object.assign(A(K,[["__scopeId","data-v-b5216f08"]]),{__name:"LandingMatrixBg"}),Z={class:"landing-nav"},nn={class:"landing-nav-container"},tn={class:"landing-nav-links"},en={href:"#features"},on={href:"#workflow"},an={href:"#installation"},sn={href:"#faq"},ln={href:"#api"},dn={class:"landing-nav-right"},cn=m({__name:"LandingNav",setup(h){const{t}=f(),l=$(!1);return O(()=>{l.value=window.location.host.endsWith(".gitlab.io")}),(i,a)=>{const s=D,v=J;return d(),r("nav",Z,[n("div",nn,[g(s,{to:"/",class:"landing-logo"},{default:S(()=>[...a[0]||(a[0]=[n("span",null,"⚡",-1),T(" AutoCode ",-1),n("span",{class:"landing-beta-badge"},"BETA",-1)])]),_:1}),n("ul",tn,[n("li",null,[n("a",en,e(o(t)("landing.nav.features")),1)]),n("li",null,[n("a",on,e(o(t)("landing.nav.workflow")),1)]),n("li",null,[n("a",an,e(o(t)("landing.nav.installation")),1)]),n("li",null,[n("a",sn,e(o(t)("landing.nav.faq")),1)]),n("li",null,[n("a",ln,e(o(t)("landing.nav.api")),1)])]),n("div",dn,[g(v),o(l)?F("",!0):(d(),E(s,{key:0,to:"/kanban",class:"landing-nav-cta"},{default:S(()=>[T(e(o(t)("landing.nav.dashboard")),1)]),_:1}))])])])}}}),rn=Object.assign(cn,{__name:"LandingNav"}),pn={class:"landing-hero"},un={class:"landing-hero-content"},_n={class:"landing-hero-badge"},gn={class:"gradient"},mn={class:"landing-hero-buttons"},hn={href:"#installation",class:"landing-btn landing-btn-primary"},vn=m({__name:"LandingHero",setup(h){const{t}=f();return(l,i)=>(d(),r("section",pn,[n("div",un,[n("div",_n,[i[0]||(i[0]=n("span",null,"Wrapper",-1)),n("span",null,e(o(t)("landing.hero.badge")),1)]),n("h1",null,[T(e(o(t)("landing.hero.title1")),1),i[1]||(i[1]=n("br",null,null,-1)),n("span",gn,e(o(t)("landing.hero.title2")),1)]),n("p",null,e(o(t)("landing.hero.description")),1),n("div",mn,[n("a",hn,[T(e(o(t)("landing.hero.cta"))+" ",1),i[2]||(i[2]=n("svg",{width:"20",height:"20",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7l5 5m0 0l-5 5m5-5H6"})],-1))]),i[3]||(i[3]=I('<a href="https://gitlab.com/evkoh/autocode" class="landing-btn landing-btn-secondary" target="_blank"><svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24"><path d="M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z"></path></svg> GitLab </a><a href="https://www.npmjs.com/package/@autocode-cli/autocode" class="landing-btn landing-btn-secondary" target="_blank"><svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24"><path d="M0 7.334v8h6.666v1.332H12v-1.332h12v-8H0zm6.666 6.664H5.334v-4H3.999v4H1.335V8.667h5.331v5.331zm4 0v1.336H8.001V8.667h5.334v5.332h-2.669v-.001zm12.001 0h-1.33v-4h-1.336v4h-1.335v-4h-1.33v4h-2.671V8.667h8.002v5.331zM10.665 10H12v2.667h-1.335V10z"></path></svg> npm </a>',2))]),i[4]||(i[4]=I('<div class="landing-terminal"><div class="landing-terminal-header"><span class="landing-terminal-dot red"></span><span class="landing-terminal-dot yellow"></span><span class="landing-terminal-dot green"></span></div><div class="landing-terminal-body"><div class="landing-terminal-line"><span class="landing-terminal-prompt">$</span><span class="landing-terminal-command">npm install -g @autocode-cli/autocode</span></div><div class="landing-terminal-output"><span style="color:#22c55e;">+ @autocode-cli/autocode installed</span></div><div class="landing-terminal-line"><span class="landing-terminal-prompt">$</span><span class="landing-terminal-command">autocode serve</span></div><div class="landing-terminal-output"> Dashboard available at <span class="landing-terminal-accent">http://localhost:3000</span></div></div></div>',1))])]))}}),fn=Object.assign(vn,{__name:"LandingHero"}),yn={id:"demo",class:"landing-section landing-demo"},kn={class:"landing-demo-content"},wn={key:1,href:"https://gitlab.com/evkoh/autocode",target:"_blank",class:"landing-btn landing-btn-primary landing-btn-large"},bn=m({__name:"LandingDemo",setup(h){const{t}=f(),l=$(!1);return O(()=>{const i=window.location.hostname;l.value=i==="localhost"||i==="127.0.0.1"}),(i,a)=>{const s=D;return d(),r("section",yn,[n("div",kn,[n("h2",null,e(o(t)("landing.demo.title")),1),n("p",null,e(o(t)("landing.demo.description")),1),o(l)?(d(),E(s,{key:0,to:"/kanban",class:"landing-btn landing-btn-primary landing-btn-large"},{default:S(()=>[T(e(o(t)("landing.demo.cta"))+" ",1),a[0]||(a[0]=n("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})],-1))]),_:1})):(d(),r("a",wn,[T(e(o(t)("landing.demo.ctaGitlab"))+" ",1),a[1]||(a[1]=n("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M14 5l7 7m0 0l-7 7m7-7H3"})],-1))]))])])}}}),$n=Object.assign(A(bn,[["__scopeId","data-v-5e25f58c"]]),{__name:"LandingDemo"}),xn={id:"podcast",class:"landing-section"},Ln={class:"landing-section-header"},Cn={class:"landing-podcast-player"},Mn=["src"],An={class:"podcast-info"},Tn={class:"podcast-meta"},zn={class:"podcast-lang-badge"},Hn={class:"podcast-controls"},Bn=["disabled"],jn={key:0,width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},Pn={key:1,width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},Sn={class:"podcast-progress-bar"},Fn={class:"podcast-time"},In={class:"podcast-speed"},On=["onClick"],Rn={class:"podcast-volume"},qn=["value"],Vn=m({__name:"LandingPodcast",setup(h){const{t,locale:l}=f(),i=$(null),a=$(!1),s=$(0),v=$(0),b=$(1),_=$(1),L=$(!1),u=P(()=>`./media/podcast/${l.value}.m4a`),z=P(()=>M(s.value)),B=P(()=>M(v.value)),C=P(()=>v.value>0?s.value/v.value*100:0);function M(y){const p=Math.floor(y/60),k=Math.floor(y%60);return`${p}:${k.toString().padStart(2,"0")}`}function c(){i.value&&(a.value?i.value.pause():i.value.play())}function H(){i.value&&(s.value=i.value.currentTime)}function j(){i.value&&(v.value=i.value.duration,L.value=!0)}function q(y){if(!i.value||!v.value)return;const k=y.currentTarget.getBoundingClientRect(),N=(y.clientX-k.left)/k.width;i.value.currentTime=N*v.value}function V(y){_.value=y,i.value&&(i.value.playbackRate=y)}function W(y){const p=y.target;b.value=parseFloat(p.value),i.value&&(i.value.volume=b.value)}return U(l,()=>{if(i.value){const y=a.value,p=s.value;i.value.load(),i.value.currentTime=p,y&&i.value.play()}}),(y,p)=>(d(),r("section",xn,[n("div",Ln,[n("h2",null,e(o(t)("landing.podcast.title")),1),n("p",null,e(o(t)("landing.podcast.description")),1)]),n("div",Cn,[n("audio",{ref_key:"audioRef",ref:i,src:o(u),preload:"metadata",onTimeupdate:H,onLoadedmetadata:j,onPlay:p[0]||(p[0]=k=>a.value=!0),onPause:p[1]||(p[1]=k=>a.value=!1),onEnded:p[2]||(p[2]=k=>a.value=!1)},null,40,Mn),n("div",An,[p[3]||(p[3]=n("div",{class:"podcast-artwork"},[n("svg",{width:"48",height:"48",viewBox:"0 0 24 24",fill:"currentColor"},[n("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})])],-1)),n("div",Tn,[n("h3",null,e(o(t)("landing.podcast.episode")),1),n("span",zn,e(o(l).toUpperCase()),1)])]),n("div",Hn,[n("button",{class:"podcast-play-btn",disabled:!o(L),onClick:c},[o(a)?(d(),r("svg",Pn,[...p[5]||(p[5]=[n("path",{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"},null,-1)])])):(d(),r("svg",jn,[...p[4]||(p[4]=[n("path",{d:"M8 5v14l11-7z"},null,-1)])]))],8,Bn),n("div",{class:"podcast-progress-container",onClick:q},[n("div",Sn,[n("div",{class:"podcast-progress-fill",style:X({width:`${o(C)}%`})},null,4)]),n("div",Fn,[n("span",null,e(o(z)),1),n("span",null,e(o(B)),1)])]),n("div",In,[(d(),r(w,null,x([.5,1,1.5,2],k=>n("button",{key:k,class:R({active:o(_)===k}),onClick:N=>V(k)},e(k)+"x ",11,On)),64))]),n("div",Rn,[p[6]||(p[6]=n("svg",{width:"20",height:"20",fill:"currentColor",viewBox:"0 0 24 24"},[n("path",{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02z"})],-1)),n("input",{type:"range",min:"0",max:"1",step:"0.1",value:o(b),onInput:W},null,40,qn)])])])]))}}),En=Object.assign(A(Vn,[["__scopeId","data-v-5dee128b"]]),{__name:"LandingPodcast"}),Dn={id:"features",class:"landing-section"},Nn={class:"landing-section-header"},Wn={class:"landing-features-grid"},Gn={class:"landing-feature-icon"},Un=m({__name:"LandingFeatures",setup(h){const{t}=f(),l=[{icon:"🎯",key:"wrapper"},{icon:"🛡️",key:"pipeline"},{icon:"⏱️",key:"time"},{icon:"🗄️",key:"filesystem"},{icon:"📊",key:"kanban"},{icon:"🔧",key:"custom"},{icon:"💰",key:"cost"},{icon:"🪄",key:"autocreate",highlight:!0},{icon:"🌐",key:"expose"}];return(i,a)=>(d(),r("section",Dn,[n("div",Nn,[n("h2",null,e(o(t)("landing.features.title")),1),n("p",null,e(o(t)("landing.features.subtitle")),1)]),n("div",Wn,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:R(["landing-feature-card",{highlight:s.highlight}])},[n("div",Gn,e(s.icon),1),n("h3",null,e(o(t)(`landing.features.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.features.${s.key}.desc`)),1)],2)),64))])]))}}),Xn=Object.assign(Un,{__name:"LandingFeatures"}),Yn={id:"pipeline",class:"landing-section"},Jn={class:"landing-section-header"},Kn={class:"landing-pipeline-flow"},Qn={class:"phase-icon"},Zn={key:0,class:"phase-items"},nt={key:0,class:"pipeline-arrow"},tt={class:"landing-pipeline-note"},et=m({__name:"LandingPipeline",setup(h){const{t}=f(),l=[{key:"create",icon:"📝",color:"blue"},{key:"reviews",icon:"🔍",color:"purple",items:["bestPractices","duplication","consistency","security"]},{key:"tests",icon:"🧪",color:"orange"},{key:"deploy",icon:"🚀",color:"green"}];return(i,a)=>(d(),r("section",Yn,[n("div",Jn,[n("h2",null,e(o(t)("landing.pipeline.title")),1),n("p",null,e(o(t)("landing.pipeline.subtitle")),1)]),n("div",Kn,[(d(),r(w,null,x(l,(s,v)=>(d(),r(w,{key:s.key},[n("div",{class:R(["pipeline-phase",`pipeline-phase-${s.color}`])},[n("div",Qn,e(s.icon),1),n("h3",null,e(o(t)(`landing.pipeline.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.pipeline.${s.key}.desc`)),1),s.items?(d(),r("div",Zn,[(d(!0),r(w,null,x(s.items,b=>(d(),r("span",{key:b,class:"phase-item"},e(o(t)(`landing.pipeline.reviews.${b}`)),1))),128))])):F("",!0)],2),v<l.length-1?(d(),r("div",nt,[...a[0]||(a[0]=[n("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 7l5 5m0 0l-5 5m5-5H6"})],-1)])])):F("",!0)],64))),64))]),n("div",tt,[a[1]||(a[1]=n("span",{class:"note-icon"},"💡",-1)),n("p",null,e(o(t)("landing.pipeline.note")),1)])]))}}),ot=Object.assign(A(et,[["__scopeId","data-v-b084b36d"]]),{__name:"LandingPipeline"}),at={id:"workflow",class:"landing-section landing-workflow"},st={class:"landing-section-header"},it={class:"landing-workflow-container"},lt={class:"landing-workflow-steps"},dt={class:"landing-step-number"},ct={class:"landing-step-content"},rt=m({__name:"LandingWorkflow",setup(h){const{t}=f(),l=[{number:"1",key:"install"},{number:"2",key:"init"},{number:"3",key:"create"},{number:"4",key:"serve"}];return(i,a)=>(d(),r("section",at,[n("div",st,[n("h2",null,e(o(t)("landing.workflow.title")),1),n("p",null,e(o(t)("landing.workflow.subtitle")),1)]),n("div",it,[n("div",lt,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"landing-workflow-step"},[n("div",dt,e(s.number),1),n("div",ct,[n("h4",null,e(o(t)(`landing.workflow.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.workflow.${s.key}.desc`)),1)])])),64))])])]))}}),pt=Object.assign(rt,{__name:"LandingWorkflow"}),ut={id:"autonomy",class:"landing-section"},_t={class:"landing-section-header"},gt={class:"landing-autonomy-grid"},mt={class:"autonomy-icon"},ht={class:"landing-autonomy-workflow"},vt={class:"workflow-header"},ft={class:"workflow-content"},yt={class:"workflow-source"},kt={class:"workflow-node source-node"},wt={class:"node-text"},bt={class:"workflow-paths"},$t={class:"workflow-path path-1"},xt={class:"workflow-node action-node"},Lt={class:"node-text"},Ct={class:"workflow-path path-2"},Mt={class:"workflow-node action-node"},At={class:"node-text"},Tt={class:"workflow-path path-3"},zt={class:"workflow-node action-node"},Ht={class:"node-text"},Bt=m({__name:"LandingAutonomy",setup(h){const{t}=f(),l=[{key:"skip",icon:"⏭️"},{key:"correct",icon:"🔄"},{key:"spawn",icon:"🐣"}];return(i,a)=>(d(),r("section",ut,[n("div",_t,[n("h2",null,e(o(t)("landing.autonomy.title")),1),n("p",null,e(o(t)("landing.autonomy.subtitle")),1)]),n("div",gt,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"landing-autonomy-card"},[n("div",mt,e(s.icon),1),n("h3",null,e(o(t)(`landing.autonomy.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.autonomy.${s.key}.desc`)),1)])),64))]),n("div",ht,[n("div",vt,[n("span",null,e(o(t)("landing.autonomy.codeTitle")),1)]),n("div",ft,[n("div",yt,[n("div",kt,[a[0]||(a[0]=n("span",{class:"node-icon"},"🔍",-1)),n("span",wt,e(o(t)("landing.autonomy.code.comment1")),1)])]),a[7]||(a[7]=n("div",{class:"workflow-arrow-down"},[n("svg",{width:"24",height:"40",viewBox:"0 0 24 40",fill:"none",stroke:"currentColor"},[n("path",{"stroke-width":"2",d:"M12 0v32m0 0l-6-6m6 6l6-6"})])],-1)),n("div",bt,[n("div",$t,[a[2]||(a[2]=n("div",{class:"path-condition"},"Hors scope ?",-1)),n("div",xt,[a[1]||(a[1]=n("span",{class:"node-icon"},"🐣",-1)),n("span",Lt,e(o(t)("landing.autonomy.code.comment2")),1)])]),n("div",Ct,[a[4]||(a[4]=n("div",{class:"path-condition"},"Dans le scope ?",-1)),n("div",Mt,[a[3]||(a[3]=n("span",{class:"node-icon"},"⚡",-1)),n("span",At,e(o(t)("landing.autonomy.code.comment3")),1)])]),n("div",Tt,[a[6]||(a[6]=n("div",{class:"path-condition"},"Amélioration ?",-1)),n("div",zt,[a[5]||(a[5]=n("span",{class:"node-icon"},"📝",-1)),n("span",Ht,e(o(t)("landing.autonomy.code.comment4")),1)])])])])])]))}}),jt=Object.assign(A(Bt,[["__scopeId","data-v-89440757"]]),{__name:"LandingAutonomy"}),Pt={id:"installation",class:"landing-section"},St={class:"landing-section-header"},Ft={class:"landing-install-container"},It={class:"landing-code-block"},Ot={class:"landing-code-header"},Rt={class:"landing-code-content"},qt={class:"landing-code-comment"},Vt={class:"landing-code-block"},Et={class:"landing-code-header"},Dt={class:"landing-code-content"},Nt={class:"landing-code-comment"},Wt={class:"landing-code-block"},Gt={class:"landing-code-header"},Ut={class:"landing-code-content"},Xt={class:"landing-code-comment"},Yt=m({__name:"LandingInstall",setup(h){const{t}=f(),l=async i=>{try{await navigator.clipboard.writeText(i)}catch{}};return(i,a)=>(d(),r("section",Pt,[n("div",St,[n("h2",null,e(o(t)("landing.install.title")),1),n("p",null,e(o(t)("landing.install.subtitle")),1)]),n("div",Ft,[n("div",It,[n("div",Ot,[n("span",null,e(o(t)("landing.install.step1")),1),n("button",{class:"landing-copy-btn",onClick:a[0]||(a[0]=s=>l("npm install -g @autocode-cli/autocode"))},e(o(t)("landing.install.copy")),1)]),n("div",Rt,[n("code",null,[n("span",qt,"# "+e(o(t)("landing.install.globalInstall")),1),a[3]||(a[3]=n("br",null,null,-1)),a[4]||(a[4]=n("span",{class:"landing-code-command"},"npm install -g @autocode-cli/autocode",-1))])])]),n("div",Vt,[n("div",Et,[n("span",null,e(o(t)("landing.install.step2")),1),n("button",{class:"landing-copy-btn",onClick:a[1]||(a[1]=s=>l("autocode init"))},e(o(t)("landing.install.copy")),1)]),n("div",Dt,[n("code",null,[n("span",Nt,"# "+e(o(t)("landing.install.initProject")),1),a[5]||(a[5]=n("br",null,null,-1)),a[6]||(a[6]=n("span",{class:"landing-code-command"},"autocode init",-1))])])]),n("div",Wt,[n("div",Gt,[n("span",null,e(o(t)("landing.install.step3")),1),n("button",{class:"landing-copy-btn",onClick:a[2]||(a[2]=s=>l("autocode serve"))},e(o(t)("landing.install.copy")),1)]),n("div",Ut,[n("code",null,[n("span",Xt,"# "+e(o(t)("landing.install.startDashboard")),1),a[7]||(a[7]=n("br",null,null,-1)),a[8]||(a[8]=n("span",{class:"landing-code-command"},"autocode serve",-1))])])])])]))}}),Jt=Object.assign(Yt,{__name:"LandingInstall"}),Kt={id:"commands",class:"landing-section"},Qt={class:"landing-section-header"},Zt={class:"landing-commands-table-wrapper"},ne={class:"landing-commands-table"},te=m({__name:"LandingCommands",setup(h){const{t}=f(),l=[{cmd:"autocode init",key:"init"},{cmd:"autocode serve",key:"serve"},{cmd:"autocode serve --expose",key:"expose"},{cmd:"autocode new <title> [desc]",key:"new"},{cmd:"autocode list",key:"list"},{cmd:"autocode show <key>",key:"show"},{cmd:"autocode next <key>",key:"next"},{cmd:"autocode move <key> <column>",key:"move"},{cmd:"autocode start <key>",key:"start"},{cmd:"autocode comment <key> <text>",key:"comment"},{cmd:"autocode history <key>",key:"history"},{cmd:"autocode parent <key> [parent]",key:"parent"},{cmd:"autocode stats",key:"stats"},{cmd:"autocode health",key:"health"},{cmd:"autocode pipeline <action>",key:"pipeline"},{cmd:"autocode catalog",key:"catalog"},{cmd:"autocode help",key:"help"}];return(i,a)=>(d(),r("section",Kt,[n("div",Qt,[n("h2",null,e(o(t)("landing.commands.title")),1),n("p",null,e(o(t)("landing.commands.subtitle")),1)]),n("div",Zt,[n("table",ne,[n("thead",null,[n("tr",null,[n("th",null,e(o(t)("landing.commands.command")),1),n("th",null,e(o(t)("landing.commands.description")),1)])]),n("tbody",null,[(d(),r(w,null,x(l,s=>n("tr",{key:s.key},[n("td",null,[n("code",null,e(s.cmd),1)]),n("td",null,e(o(t)(`landing.commands.${s.key}`)),1)])),64))])])])]))}}),ee=Object.assign(A(te,[["__scopeId","data-v-dc1385aa"]]),{__name:"LandingCommands"}),oe={id:"architecture",class:"landing-section"},ae={class:"landing-section-header"},se={class:"landing-architecture-flow"},ie={class:"flow-step"},le={class:"flow-step success"},de={class:"landing-architecture-details"},ce={class:"detail-icon"},re=m({__name:"LandingArchitecture",setup(h){const{t}=f(),l=[{key:"storage",icon:"🗄️"},{key:"interfaces",icon:"🔌"},{key:"tech",icon:"⚙️"}];return(i,a)=>(d(),r("section",oe,[n("div",ae,[n("h2",null,e(o(t)("landing.architecture.title")),1),n("p",null,e(o(t)("landing.architecture.subtitle")),1)]),n("div",se,[n("div",ie,[a[0]||(a[0]=n("div",{class:"flow-icon"},"👤",-1)),n("span",null,e(o(t)("landing.architecture.flow.you")),1)]),a[2]||(a[2]=I('<div class="flow-arrow" data-v-ab99f707>→</div><div class="flow-step highlight" data-v-ab99f707><div class="flow-icon" data-v-ab99f707>⚡</div><span data-v-ab99f707>AutoCode</span></div><div class="flow-arrow" data-v-ab99f707>→</div><div class="flow-step" data-v-ab99f707><div class="flow-icon" data-v-ab99f707>🤖</div><span data-v-ab99f707>Claude Code</span></div><div class="flow-arrow" data-v-ab99f707>→</div>',5)),n("div",le,[a[1]||(a[1]=n("div",{class:"flow-icon"},"✅",-1)),n("span",null,e(o(t)("landing.architecture.flow.validated")),1)])]),n("div",de,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"architecture-detail-card"},[n("div",ce,e(s.icon),1),n("h3",null,e(o(t)(`landing.architecture.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.architecture.${s.key}.desc`)),1)])),64))])]))}}),pe=Object.assign(A(re,[["__scopeId","data-v-ab99f707"]]),{__name:"LandingArchitecture"}),ue={id:"api",class:"landing-section"},_e={class:"landing-section-header"},ge={class:"landing-api-grid"},me={class:"landing-api-endpoint"},he=m({__name:"LandingApi",setup(h){const{t}=f(),l=[{method:"get",endpoint:"/api/issues"},{method:"get",endpoint:"/api/issues/:id"},{method:"post",endpoint:"/api/issues"},{method:"patch",endpoint:"/api/issues/:id"},{method:"post",endpoint:"/api/issues/:id/move"},{method:"post",endpoint:"/api/issues/:id/next"},{method:"get",endpoint:"/api/issues/:id/comments"},{method:"post",endpoint:"/api/issues/:id/comments"},{method:"delete",endpoint:"/api/issues/:id/archive"},{method:"get",endpoint:"/api/columns"},{method:"get",endpoint:"/api/pipelines"},{method:"get",endpoint:"/api/stats"}];return(i,a)=>(d(),r("section",ue,[n("div",_e,[n("h2",null,e(o(t)("landing.api.title")),1),n("p",null,e(o(t)("landing.api.subtitle")),1)]),n("div",ge,[(d(),r(w,null,x(l,s=>n("div",{key:s.endpoint,class:"landing-api-card"},[n("span",{class:R(["landing-api-method",s.method])},e(s.method.toUpperCase()),3),n("span",me,e(s.endpoint),1)])),64))])]))}}),ve=Object.assign(he,{__name:"LandingApi"}),fe={id:"roadmap",class:"landing-section"},ye={class:"landing-section-header"},ke={class:"landing-roadmap-grid"},we={class:"roadmap-icon"},be={class:"roadmap-status"},$e={class:"landing-roadmap-cta"},xe={href:"https://gitlab.com/evkoh/autocode/-/issues",target:"_blank",class:"landing-btn landing-btn-secondary"},Le=m({__name:"LandingRoadmap",setup(h){const{t}=f(),l=[{key:"mcp",icon:"🔗"},{key:"catalog",icon:"📚"}];return(i,a)=>(d(),r("section",fe,[n("div",ye,[n("h2",null,e(o(t)("landing.roadmap.title")),1),n("p",null,e(o(t)("landing.roadmap.subtitle")),1)]),n("div",ke,[(d(),r(w,null,x(l,s=>n("div",{key:s.key,class:"landing-roadmap-card"},[n("div",we,e(s.icon),1),n("h3",null,e(o(t)(`landing.roadmap.${s.key}.title`)),1),n("p",null,e(o(t)(`landing.roadmap.${s.key}.desc`)),1),n("span",be,e(o(t)("landing.roadmap.coming")),1)])),64))]),n("div",$e,[n("a",xe,[T(e(o(t)("landing.roadmap.cta"))+" ",1),a[0]||(a[0]=n("svg",{width:"20",height:"20",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[n("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})],-1))])])]))}}),Ce=Object.assign(A(Le,[["__scopeId","data-v-c498be6d"]]),{__name:"LandingRoadmap"}),Me={id:"faq",class:"landing-section"},Ae={class:"landing-section-header"},Te={class:"landing-faq-container"},ze=m({__name:"LandingFaq",setup(h){const{t}=f(),l=["what","install","free","pipeline","claude","customize","database","testing"];return(i,a)=>(d(),r("section",Me,[n("div",Ae,[n("h2",null,e(o(t)("landing.faq.title")),1),n("p",null,e(o(t)("landing.faq.subtitle")),1)]),n("div",Te,[(d(),r(w,null,x(l,s=>n("div",{key:s,class:"landing-faq-item"},[n("h3",null,e(o(t)(`landing.faq.${s}.q`)),1),n("p",null,e(o(t)(`landing.faq.${s}.a`)),1)])),64))])]))}}),He=Object.assign(ze,{__name:"LandingFaq"}),Be={class:"landing-footer"},je={class:"landing-footer-content"},Pe={class:"landing-footer-brand"},Se={class:"landing-footer-tagline"},Fe={class:"landing-footer-nav"},Ie={class:"landing-footer-bottom"},Oe={class:"landing-footer-copy"},Re=m({__name:"LandingFooter",setup(h){const{t}=f(),l=new Date().getFullYear(),i=$(!1);return O(()=>{i.value=window.location.host.endsWith(".gitlab.io")}),(a,s)=>{const v=D;return d(),r("footer",Be,[n("div",je,[n("div",Pe,[s[0]||(s[0]=n("span",{class:"landing-footer-logo"},"AutoCode",-1)),n("span",Se,e(o(t)("landing.footer.madeWith")),1)]),n("nav",Fe,[s[1]||(s[1]=I('<a href="https://gitlab.com/evkoh/autocode" target="_blank" rel="noopener" data-v-63ea1028><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-v-63ea1028><path d="M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z" data-v-63ea1028></path></svg> GitLab </a><a href="https://www.npmjs.com/package/@autocode-cli/autocode" target="_blank" rel="noopener" data-v-63ea1028><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-v-63ea1028><path d="M0 7.334v8h6.666v1.332H12v-1.332h12v-8H0zm6.666 6.664H5.334v-4H3.999v4H1.335V8.667h5.331v5.331zm4 0v1.336H8.001V8.667h5.334v5.332h-2.669v-.001zm12.001 0h-1.33v-4h-1.336v4h-1.335v-4h-1.33v4h-2.671V8.667h8.002v5.331z" data-v-63ea1028></path></svg> npm </a><a href="#api" data-v-63ea1028>API</a>',3)),o(i)?F("",!0):(d(),E(v,{key:0,to:"/kanban",class:"landing-footer-dashboard"},{default:S(()=>[T(e(o(t)("landing.footer.dashboard")),1)]),_:1}))]),n("div",Ie,[n("p",Oe," © "+e(o(l))+" AutoCode · "+e(o(t)("landing.footer.license")),1)])])])}}}),qe=Object.assign(A(Re,[["__scopeId","data-v-63ea1028"]]),{__name:"LandingFooter"}),Ve={class:"landing-page"},We=m({__name:"index",setup(h){const{t}=f();return Y({title:()=>t("landing.meta.title"),link:[{rel:"icon",type:"image/svg+xml",href:"/favicon.svg"},{rel:"canonical",href:"https://autocode.dev/"}],meta:[{name:"description",content:()=>t("landing.meta.description")},{name:"keywords",content:()=>t("landing.meta.keywords")},{property:"og:type",content:"website"},{property:"og:url",content:"https://autocode.dev/"},{property:"og:title",content:()=>t("landing.meta.title")},{property:"og:description",content:()=>t("landing.meta.description")},{property:"og:site_name",content:"AutoCode"},{property:"og:image",content:"https://autocode.dev/og-image.svg"},{property:"og:image:width",content:"1200"},{property:"og:image:height",content:"630"},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:title",content:()=>t("landing.meta.title")},{name:"twitter:description",content:()=>t("landing.meta.description")},{name:"twitter:image",content:"https://autocode.dev/og-image.svg"}]}),(l,i)=>{const a=Q,s=rn,v=fn,b=$n,_=En,L=Xn,u=ot,z=pt,B=jt,C=Jt,M=ee,c=pe,H=ve,j=Ce,q=He,V=qe;return d(),r("div",Ve,[g(a),g(s),g(v),g(b),g(_),g(L),g(u),g(z),g(B),g(C),g(M),g(c),g(H),g(j),g(q),g(V)])}}});export{We as default};
@@ -1,2 +1,2 @@
1
- import{d as ne,G as ae,x as oe,l,r as v,v as R,u as le,o as re,s as ie,c as r,e as a,j as C,t as n,h as e,q as ce,F as ue,C as de,D as pe,H as me,g as q,b as i,_ as ve}from"./DsCGEKfY.js";import{u as fe}from"./CIgI-kep.js";import{u as ge}from"./BL3gdTy3.js";import{u as D}from"./8THboZmE.js";const ye={class:"column-prompt-page"},_e={class:"page-header card"},he={class:"header-left"},be={key:0,class:"pipeline-badge"},ke={class:"header-right"},Ce=["disabled"],we=["disabled"],Pe={key:0,class:"loading card"},Se={key:1,class:"error-message card"},$e={key:2,class:"prompt-container card"},xe={key:0,class:"prompt-content"},Ne={class:"prompt-meta"},Be={class:"meta-item"},Te={class:"meta-item"},Ve={key:0,class:"meta-item meta-dirty"},Fe=ne({__name:"prompt",async setup(Ie){let u,g;const w=ae(),N=oe(),{success:P,error:B}=fe(),{pipelineConfig:E,isColumnInPipeline:M,addColumnBySlug:j,removeColumnBySlug:z,savePipeline:T,loadActivePipeline:H}=ge(),d=l(()=>w.params.slug),y=l(()=>w.query.pipeline||""),G=l(()=>w.query.name||""),U=l(()=>G.value||d.value),J=()=>{window.history.length>1?N.back():N.push("/kanban")},S=v(!1),c=v(!1),m=v(""),p=v(!1),_=v(!1),h=v(!1),{data:b,status:L,error:V,refresh:W}=([u,g]=R(()=>D(()=>{const s=new URLSearchParams;y.value&&s.set("pipeline",y.value);const o=s.toString();return`/api/columns/${d.value}/prompt${o?`?${o}`:""}`},"$jZPB4J8e0r")),u=await u,g(),u),f=l(()=>b.value?typeof b.value=="string"?b.value:b.value.content||"":""),F=l(()=>c.value?m.value:f.value),Z=l(()=>{const s=F.value;return!s||typeof s!="string"?0:s.split(`
1
+ import{d as ne,G as ae,x as oe,l,r as v,v as R,u as le,o as re,s as ie,c as r,e as a,j as C,t as n,h as e,q as ce,F as ue,C as de,D as pe,H as me,g as q,b as i,_ as ve}from"./BfvaD8zq.js";import{u as fe}from"./BarhsfnG.js";import{u as ge}from"./C5qkUISE.js";import{u as D}from"./p0o0xQ7S.js";const ye={class:"column-prompt-page"},_e={class:"page-header card"},he={class:"header-left"},be={key:0,class:"pipeline-badge"},ke={class:"header-right"},Ce=["disabled"],we=["disabled"],Pe={key:0,class:"loading card"},Se={key:1,class:"error-message card"},$e={key:2,class:"prompt-container card"},xe={key:0,class:"prompt-content"},Ne={class:"prompt-meta"},Be={class:"meta-item"},Te={class:"meta-item"},Ve={key:0,class:"meta-item meta-dirty"},Fe=ne({__name:"prompt",async setup(Ie){let u,g;const w=ae(),N=oe(),{success:P,error:B}=fe(),{pipelineConfig:E,isColumnInPipeline:M,addColumnBySlug:j,removeColumnBySlug:z,savePipeline:T,loadActivePipeline:H}=ge(),d=l(()=>w.params.slug),y=l(()=>w.query.pipeline||""),G=l(()=>w.query.name||""),U=l(()=>G.value||d.value),J=()=>{window.history.length>1?N.back():N.push("/kanban")},S=v(!1),c=v(!1),m=v(""),p=v(!1),_=v(!1),h=v(!1),{data:b,status:L,error:V,refresh:W}=([u,g]=R(()=>D(()=>{const s=new URLSearchParams;y.value&&s.set("pipeline",y.value);const o=s.toString();return`/api/columns/${d.value}/prompt${o?`?${o}`:""}`},"$jZPB4J8e0r")),u=await u,g(),u),f=l(()=>b.value?typeof b.value=="string"?b.value:b.value.content||"":""),F=l(()=>c.value?m.value:f.value),Z=l(()=>{const s=F.value;return!s||typeof s!="string"?0:s.split(`
2
2
  `).length}),K=l(()=>{const s=F.value;return!s||typeof s!="string"?0:s.length}),O=async()=>{if(f.value)try{await navigator.clipboard.writeText(f.value),S.value=!0,setTimeout(()=>{S.value=!1},2e3)}catch(s){console.error("Failed to copy:",s)}},Q=()=>{m.value=f.value,p.value=!1,c.value=!0},X=()=>{p.value&&!confirm("Vous avez des modifications non enregistrées. Voulez-vous vraiment annuler ?")||(c.value=!1,p.value=!1)},Y=async()=>{_.value=!0;try{await $fetch(`/api/columns/${d.value}/actions`,{method:"PATCH",body:{content:m.value}}),P(t("pipeline.promptSaved")),p.value=!1,await W(),c.value=!1}catch{B(t("error.saveFailed"))}finally{_.value=!1}},{t}=le(),{data:I}=([u,g]=R(()=>D("/api/catalog","$8GjW2wVST-")),u=await u,g(),u),k=l(()=>{if(!I.value)return null;const s=d.value.replace(/^\d+_/,"");for(const o of["definition","action","finish"]){const A=I.value.segments[o].columns.find(se=>se.slug.replace(/^\d+_/,"")===s);if(A)return{...A,segment:o}}return null}),ee=l(()=>M(d.value)),$=l(()=>ee.value.inPipeline),te=async()=>{if(k.value){h.value=!0;try{if($.value)z(d.value),await T(),P(t("pipeline.columnRemoved"));else{const s=k.value.segment;j(d.value,k.value.name,s),await T(),P(t("pipeline.columnAdded"))}}catch{B(t("error.saveFailed"))}finally{h.value=!1}}};return re(()=>{H()}),ie({title:l(()=>`${d.value} - AutoCode`)}),(s,o)=>(i(),r("div",ye,[a("header",_e,[a("div",he,[a("button",{class:"back-link",onClick:J},"← "+n(e(t)("nav.back")),1),o[2]||(o[2]=a("span",{class:"header-separator"},"/",-1)),a("h1",null,n(e(U)),1),e(y)?(i(),r("span",be,n(e(y)),1)):C("",!0)]),a("div",ke,[!e(c)&&e(k)&&e(E)?(i(),r("button",{key:0,class:ce(["btn btn-sm",e($)?"btn-danger":"btn-success"]),disabled:e(h),onClick:te},n(e(h)?"...":e($)?e(t)("column.deactivate"):e(t)("column.activate")),11,Ce)):C("",!0),e(c)?C("",!0):(i(),r("button",{key:1,class:"btn btn-secondary btn-sm",onClick:O},n(e(S)?e(t)("form.copied"):e(t)("form.copy")),1)),e(c)?(i(),r(ue,{key:3},[a("button",{class:"btn btn-secondary btn-sm",onClick:X},n(e(t)("modal.cancel")),1),a("button",{class:"btn btn-primary btn-sm",disabled:e(_)||!e(p),onClick:Y},n(e(_)?e(t)("form.saving"):e(t)("form.save")),9,we)],64)):(i(),r("button",{key:2,class:"btn btn-primary btn-sm",onClick:Q},n(e(t)("column.edit")),1))])]),e(L)==="pending"?(i(),r("div",Pe,n(e(t)("app.loading")),1)):e(V)?(i(),r("div",Se,n(e(V).message),1)):(i(),r("div",$e,[e(c)?de((i(),r("textarea",{key:1,"onUpdate:modelValue":o[0]||(o[0]=x=>me(m)?m.value=x:null),class:"code-editor",spellcheck:"false",onInput:o[1]||(o[1]=x=>p.value=!0)},null,544)),[[pe,e(m)]]):(i(),r("pre",xe,[a("code",null,n(e(f)),1)])),a("div",Ne,[a("span",Be,[a("strong",null,n(e(t)("column.lines"))+":",1),q(" "+n(e(Z)),1)]),a("span",Te,[a("strong",null,n(e(t)("column.chars"))+":",1),q(" "+n(e(K)),1)]),e(c)&&e(p)?(i(),r("span",Ve,n(e(t)("form.unsavedChanges")),1)):C("",!0)])]))]))}}),Ee=ve(Fe,[["__scopeId","data-v-bf4ee782"]]);export{Ee as default};