import{L as c,U as d,V as g,Y as u,M as o,j as e,T as f,N as t,aW as y}from"./main-fine-mails-rush.js";import{$ as T}from"./useSocialTemplates-CALaJ7Id.js";import{P as C}from"./PlatformIcon-DTNikzgU.js";import{M as l,p as n}from"./platformsLimitations-BpHu19Pc.js";import{p as M}from"./optionsHelper-C5kZneVU.js";import{T as w}from"./TemplateDocLink-DZ7n7_Zf.js";import{P as v}from"./PreviewDummy-B4JEjQhp.js";import{C as s}from"./index-CYdJlGpp.js";import{F as h}from"./index-DvXnyFAQ.js";import{S as b}from"./Input-DqvQHhaj.js";import{S as P}from"./index-_4I6v-bI.js";import{C as p,R as j}from"./row-DS7Wtzse.js";import"./index-GqNcd-Jp.js";import"./index-CzEr1K2Q.js";import"./index-C4jBXdje.js";import"./EyeOutlined-BwUAwdeL.js";import"./EllipsisOutlined-Bu1rzp5h.js";import"./Dropdown-4_vtvAKA.js";import"./move-DlKUsITS.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(i,r){return this.cache.has(i)?this.cache.get(i):(this.cache.set(i,r),r)}};const{Title:S}=f;function E(){const{token:i}=c.useToken(),r=d(T),m=g(u),a=()=>{m(!0)};return o(j,{gutter:20,children:[e(p,{span:14,children:o(s,{size:"small",style:{backgroundColor:i.colorFillAlter},children:[o(h,{gap:10,children:[e(C,{name:"threads",size:32}),o(S,{level:4,children:[t("Threads Template Settings")," "]})]}),e(w,{platform:"Threads"}),o(s,{children:[e(s.Meta,{description:t("Custom message settings."),title:t("Custom Message")}),e("div",{children:e(l,{onChange:a,rows:5,style:{minWidth:200},value:r.threads.content,wordCount:n.threads.content.length})})]}),e(s,{style:{marginTop:10},children:o(h,{gap:20,justify:"space-between",children:[e(s.Meta,{description:t("Post styling and type setup."),title:t("Posting type")}),e("div",{children:e(b,{onChange:a,options:M,style:{minWidth:200},value:r.threads.postingType})})]})}),o(s,{style:{marginTop:10},children:[e(s.Meta,{description:t("Add a topic"),title:t("Topic")}),e("div",{children:e(l,{onChange:a,rows:1,style:{minWidth:200},value:r.threads.topic,wordCount:n.threads.topic.length})})]}),o(s,{style:{marginTop:10},children:[e(s.Meta,{description:t("Your reply"),title:t("First reply")}),e("div",{children:e(l,{onChange:a,rows:2,style:{minWidth:200},value:r.threads.comment,wordCount:n.threads.comment.length})})]}),e(s,{style:{marginTop:10},children:o(h,{gap:20,justify:"space-between",children:[e(s.Meta,{description:y(t("Threads restricts the length of a post to %1$d characters. If you enable this option, the first %1$d characters of your personalized message will be shared; if not, the limit prevents the post from being shared"),n.threads.content.length),title:t("Trim Message")}),e("div",{children:e(P,{checked:r.threads.trimMessage,onChange:a})})]})})]})}),e(p,{span:10,children:e(v,{})})]})}export{E as default};
