import{L as c,U as h,V as d,Y as g,M as o,j as e,T as f,N as t,aW as u}from"./main-fine-mails-rush.js";import{$ as y}from"./useSocialTemplates-CALaJ7Id.js";import{M as T,p as n}from"./platformsLimitations-BpHu19Pc.js";import{p as C}from"./optionsHelper-C5kZneVU.js";import{T as M}from"./TemplateDocLink-DZ7n7_Zf.js";import{P as w}from"./PreviewDummy-B4JEjQhp.js";import{C as s}from"./index-CYdJlGpp.js";import{F as l}from"./index-DvXnyFAQ.js";import{S as b}from"./Input-DqvQHhaj.js";import{S as v}from"./index-_4I6v-bI.js";import{C as p,R as j}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,i){return this.cache.has(r)?this.cache.get(r):(this.cache.set(r,i),i)}};const{Title:L}=f;function U(){const{token:r}=c.useToken(),i=h(y),m=d(g),a=()=>{m(!0)};return o(j,{gutter:20,children:[e(p,{span:14,children:o(s,{size:"small",style:{backgroundColor:r.colorFillAlter},children:[o(L,{level:4,children:[" ",t("Line Template Settings")," "]}),e(M,{platform:"Line"}),o(s,{children:[e(s.Meta,{description:t("Custom message settings."),title:t("Custom Message")}),e("div",{children:e(T,{onChange:a,rows:5,style:{minWidth:200},value:i.line.content,wordCount:n.line.content.length})})]}),e(s,{style:{marginTop:10},children:o(l,{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:C,style:{minWidth:200},value:i.line.postingType})})]})}),e(s,{style:{marginTop:10},children:o(l,{gap:20,justify:"space-between",children:[e(s.Meta,{description:u(t("Line 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.line.content.length),title:t("Trim Message")}),e("div",{children:e(v,{checked:i.line.trimMessage,onChange:a})})]})})]})}),e(p,{span:10,children:e(w,{})})]})}export{U as default};
