import{L as d,U as u,V as f,Y as y,N as t,M as a,j as e,T as p}from"./main-fine-mails-rush.js";import{$ as T}from"./useSocialTemplates-CALaJ7Id.js";import{M as l,p as n}from"./platformsLimitations-BpHu19Pc.js";import{T as C}from"./TemplateDocLink-DZ7n7_Zf.js";import{P as v}from"./PreviewDummy-B4JEjQhp.js";import{C as s}from"./index-CYdJlGpp.js";import{F as m}from"./index-DvXnyFAQ.js";import{S as M}from"./Input-DqvQHhaj.js";import{S as b}from"./index-_4I6v-bI.js";import{C as c,R as w}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(o,i){return this.cache.has(o)?this.cache.get(o):(this.cache.set(o,i),i)}};const{Title:I}=p;function V(){const{token:o}=d.useToken(),i=u(T),g=f(y),r=()=>{g(!0)},h=[{label:t("Feature image"),value:"isFeaturedImage"},{label:t("Product Image"),value:"isProductImage"},{label:t("All images"),value:"isAllImages"}];return a(w,{gutter:20,children:[e(c,{span:14,children:a(s,{size:"small",style:{backgroundColor:o.colorFillAlter},children:[a(I,{level:4,children:[" ",t("Instagram Template Settings")," "]}),e(C,{platform:"Instagram"}),a(s,{children:[e(s.Meta,{description:t("Custom message settings."),title:t("Custom Message")}),e("div",{children:e(l,{onChange:r,rows:5,style:{minWidth:200},value:i.instagram.content,wordCount:n.instagram.description.length})})]}),a(s,{style:{marginTop:10},children:[a(m,{gap:20,justify:"space-between",children:[e(s.Meta,{description:t("Post styling and type setup."),title:t("Posting type")}),e("div",{children:e(M,{onChange:r,options:h,style:{minWidth:200},value:i.instagram.postingType})})]}),e("div",{className:"pt-2",children:e(p.Text,{type:"secondary",children:t("Instagram media images must be 1.91:1 to 4:5 aspect ratio, 320-1440px resolution (recommended 1080px), and under 8MB.")})})]}),a(s,{style:{marginTop:10},children:[e(s.Meta,{description:t("Your comment"),title:t("First comment")}),e("div",{children:e(l,{onChange:r,rows:2,style:{minWidth:200},value:i.instagram.comment,wordCount:n.instagram.comment.length})})]}),e(s,{style:{marginTop:10},children:a(m,{gap:20,justify:"space-between",children:[e(s.Meta,{description:`Instagram restricts the length of a post to ${n.instagram.description.length} characters. If you enable this option, the first ${n.instagram.description.length} characters of your personalized message will be shared; if not, the limit prevents the post from being shared.`,title:t("Trim Message")}),e("div",{children:e(b,{checked:i.instagram.trimMessage,onChange:r})})]})})]})}),e(c,{span:10,children:e(v,{})})]})}export{V as default};
