import{L as m,U as d,V as h,Y as g,M as i,j as e,T as f,N as o}from"./main-fine-mails-rush.js";import{$ as u}from"./useSocialTemplates-CALaJ7Id.js";import{M as y,p as n}from"./platformsLimitations-BpHu19Pc.js";import{p as T}from"./optionsHelper-C5kZneVU.js";import{T as C}from"./TemplateDocLink-DZ7n7_Zf.js";import{P as M}from"./PreviewDummy-B4JEjQhp.js";import{C as t}from"./index-CYdJlGpp.js";import{F as l}from"./index-DvXnyFAQ.js";import{S as w}from"./Input-DqvQHhaj.js";import{S as b}from"./index-_4I6v-bI.js";import{C as c,R as v}from"./row-DS7Wtzse.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(r,s){return this.cache.has(r)?this.cache.get(r):(this.cache.set(r,s),s)}};const{Title:j}=f;function N(){const{token:r}=m.useToken(),s=d(u),p=h(g),a=()=>{p(!0)};return i(v,{gutter:20,children:[e(c,{span:14,children:i(t,{size:"small",style:{backgroundColor:r.colorFillAlter},children:[i(j,{level:4,children:[" ",o("Discord Template Settings")," "]}),e(C,{platform:"Discord"}),i(t,{children:[e(t.Meta,{description:o("Custom message settings."),title:o("Custom Message")}),e("div",{children:e(y,{onChange:a,rows:5,style:{minWidth:200},value:s.discord.content})})]}),e(t,{style:{marginTop:10},children:i(l,{gap:20,justify:"space-between",children:[e(t.Meta,{description:o("Post styling and type setup."),title:o("Posting type")}),e("div",{children:e(w,{onChange:a,options:T,style:{minWidth:200},value:s.discord.postingType})})]})}),e(t,{style:{marginTop:10},children:i(l,{gap:20,justify:"space-between",children:[e(t.Meta,{description:`Discord restricts the length of a tweet to ${n.discord.description.length} characters. If you enable this option, the first ${n.discord.description.length} characters of your personalized message will be shared; if not, the limit prevents the tweet from being shared.`,title:o("Trim Message")}),e("div",{children:e(b,{checked:s.discord.trimMessage,onChange:a})})]})})]})}),e(c,{span:10,children:e(M,{})})]})}export{N as default};
