import{s as u,c as m,d as n,v as r,u as t,b as o,t as i,F as d,o as b}from"./app-13978987.js";import{u as c}from"./publishStore-a6d0eb83.js";const f=o("label",{class:"label mb-3 text-lg"},"Title ",-1),x=o("label",{class:"label mb-3 text-lg"},"Original Input ",-1),_={class:"text-end text-xs"},g={class:"mt-4 flex justify-end gap-3"},T={__name:"InputTab",setup(y){const e=c(),{copyToClipboard:p,countWordsAndChars:a}=u();return(C,s)=>(b(),m(d,null,[f,n(o("input",{type:"text","onUpdate:modelValue":s[0]||(s[0]=l=>t(e).form.title=l),class:"input mb-2",placeholder:"Title"},null,512),[[r,t(e).form.title]]),x,n(o("textarea",{"onUpdate:modelValue":s[1]||(s[1]=l=>t(e).form.input=l),class:"textarea min-h-[20rem]",placeholder:"Original Input"},null,512),[[r,t(e).form.input]]),o("p",_," Characters: "+i(t(a)(t(e).form.input).characters)+" / Words: "+i(t(a)(t(e).form.input).words),1),o("div",g,[o("button",{class:"btn btn-outline-primary",onClick:s[2]||(s[2]=l=>t(p)(t(e).form.input))}," Copy Input "),o("button",{class:"btn btn-soft-primary",onClick:s[3]||(s[3]=l=>t(e).draftPost())},"Update")])],64))}};export{T as default};
