import{L as d,U as g,V as u,Y as f,N as t,M as r,j as e,T as y}from"./main-fine-mails-rush.js";import{$ as T}from"./useSocialTemplates-CALaJ7Id.js";import{M as C,p as l}from"./platformsLimitations-BpHu19Pc.js";import{T as P}from"./TemplateDocLink-DZ7n7_Zf.js";import{P as M}from"./PreviewDummy-B4JEjQhp.js";import{C as s}from"./index-CYdJlGpp.js";import{F as n}from"./index-DvXnyFAQ.js";import{S as b}from"./Input-DqvQHhaj.js";import{S as p}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(o,i){return this.cache.has(o)?this.cache.get(o):(this.cache.set(o,i),i)}};const{Title:k}=y;function _(){const{token:o}=d.useToken(),i=g(T),m=u(f),a=()=>{m(!0)},h=[{label:t("Feature image"),value:"isFeaturedImage"},{label:t("Product Image"),value:"isProductImage"},{label:t("All images"),value:"isAllImages"}];return r(v,{gutter:20,children:[e(c,{span:14,children:r(s,{size:"small",style:{backgroundColor:o.colorFillAlter},children:[r(k,{level:4,children:[" ",t("Pinterest Template Settings")," "]}),e(P,{platform:"Pinterest"}),r(s,{children:[e(s.Meta,{description:t("Custom message settings."),title:t("Custom Message")}),e("div",{children:e(C,{onChange:a,rows:5,style:{minWidth:200},value:i.pinterest.content})})]}),e(s,{style:{marginTop:10},children:r(n,{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:h,style:{minWidth:200},value:i.pinterest.postingType})})]})}),e(s,{style:{marginTop:10},children:r(n,{gap:20,justify:"space-between",children:[e(s.Meta,{description:`Pinterest restricts the length of a post to ${l.pinterest.description.length} characters. If you enable this option, the first ${l.pinterest.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(p,{checked:i.pinterest.trimMessage,onChange:a})})]})}),e(s,{style:{marginTop:10},children:r(n,{gap:20,justify:"space-between",children:[e(s.Meta,{description:"Share the post link on Pinterest.",title:t("Post link")}),e("div",{children:e(p,{checked:i.pinterest.isLinkCard,onChange:a})})]})})]})}),e(c,{span:10,children:e(M,{})})]})}export{_ as default};
