import{A as h,H as d,I as g,M as f,B as i,j as e,T as u,D as o,au as y}from"./main-crazy-owls-work.js";import{$ as T}from"./useSocialTemplates-Dcb3t5jQ.js";import{T as C,p as a}from"./TemplateDocLink-C5Om0X4f.js";import{M}from"./AiPromptConfigModal-BrZd34tw.js";import{p as v}from"./optionsHelper-B_8X5Dll.js";import{L as w}from"./LinePreview-BJX8PZgy.js";import{C as s}from"./index-9x8aFyWV.js";import{F as l}from"./index-DLeF0Q26.js";import{S as b}from"./index-CV7ZrOqa.js";import{S as L}from"./index-Uj_IJMNj.js";import{C as p,R as j}from"./row-DAt4Bs0l.js";import"./AntIconWrapper-CV4oO3YH.js";import"./index-DbMzUBXN.js";import"./index-D66C40IV.js";import"./Input-DrlF5Epd.js";import"./EyeOutlined-BpDfhdMV.js";import"./PreviewCard-DAT49Z9x.js";import"./emotion-react.browser.esm-Y_LRzwGN.js";import"./index-B1hhaeCD.js";import"./EllipsisOutlined-7nGPDvd9.js";import"./Dropdown-D0863Mnh.js";import"./move-ULSkkuK6.js";import"./mediaQueryUtil-BSyvLspT.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(r,t){return this.cache.has(r)?this.cache.get(r):(this.cache.set(r,t),t)}};const{Title:m}=u;function Q(){const{token:r}=h.useToken(),t=d(T),c=g(f),n=()=>{c(!0)};return i(j,{gutter:20,children:[e(p,{span:14,children:i(s,{size:"small",style:{backgroundColor:r.colorFillAlter},children:[i(m,{level:4,children:[" ",o("Line Template Settings")," "]}),e(C,{platform:"Line"}),i(s,{children:[e(s.Meta,{description:o("Custom message settings."),title:o("Custom Message")}),e("div",{children:e(M,{onChange:n,rows:5,style:{minWidth:200},value:t.line.content,wordCount:a.line.content.length})})]}),e(s,{style:{marginTop:10},children:i(l,{gap:20,justify:"space-between",children:[e(s.Meta,{description:o("Post styling and type setup."),title:o("Posting type")}),e("div",{children:e(b,{onChange:n,options:v,style:{minWidth:200},value:t.line.postingType})})]})}),e(s,{style:{marginTop:10},children:i(l,{gap:20,justify:"space-between",children:[e(s.Meta,{description:y(o("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"),a.line.content.length),title:o("Trim Message")}),e("div",{children:e(L,{checked:t.line.trimMessage,onChange:n})})]})})]})}),i(p,{span:10,children:[i(m,{level:5,children:[" ",o("Preview")," "]}),e(w,{message:t.line.content,type:t.line.postingType})]})]})}export{Q as default};
