import{L as h,U as d,V as f,Y as y,N as t,M as i,j as e,T as b}from"./main-fine-mails-rush.js";import{$ as P}from"./useSocialTemplates-CALaJ7Id.js";import{M as v,p as r}from"./platformsLimitations-BpHu19Pc.js";import{T as M}from"./TemplateDocLink-DZ7n7_Zf.js";import{P as T}from"./PreviewDummy-B4JEjQhp.js";import{C as s}from"./index-CYdJlGpp.js";import{F as n}from"./index-DvXnyFAQ.js";import{S as p}from"./Input-DqvQHhaj.js";import{S as B}from"./index-_4I6v-bI.js";import{C as c,R as O}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(l,o){return this.cache.has(l)?this.cache.get(l):(this.cache.set(l,o),o)}};const{Title:C}=b;function U(){const{token:l}=h.useToken(),o=d(P),m=f(y),a=()=>{m(!0)},g=[{label:t("Only custom message"),value:"onlyMessage"},{label:t("Feature image"),value:"isFeaturedImage"},{label:t("Product Image"),value:"isProductImage"}],u=[{label:"No Button",value:"none"},{label:"SIGN UP",value:"SIGN_UP"},{label:"LEARN MORE",value:"LEARN_MORE"},{label:"SHOP",value:"SHOP"},{label:"ORDER",value:"ORDER"},{label:"BOOK",value:"BOOK"}];return i(O,{gutter:20,children:[e(c,{span:14,children:i(s,{size:"small",style:{backgroundColor:l.colorFillAlter},children:[i(C,{level:4,children:[" ",t("Google Business Profile Template Settings")," "]}),e(M,{platform:"Google Business Profile"}),i(s,{children:[e(s.Meta,{description:t("Custom message settings."),title:t("Custom Message")}),e("div",{children:e(v,{onChange:a,rows:5,style:{minWidth:200},value:o.googleBusinessProfile.content})})]}),e(s,{style:{marginTop:10},children:i(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(p,{onChange:a,options:g,style:{minWidth:200},value:o.googleBusinessProfile.postingType})})]})}),e(s,{style:{marginTop:10},children:i(n,{gap:20,justify:"space-between",children:[e(s.Meta,{description:t("Select a post link button."),title:t("Add a button")}),e("div",{children:e(p,{onChange:a,options:u,style:{minWidth:200},value:o.googleBusinessProfile.button})})]})}),e(s,{style:{marginTop:10},children:i(n,{gap:20,justify:"space-between",children:[e(s.Meta,{description:`Google Business Profile restricts the length of a post to ${r.googleBusinessProfile.description.length} characters. If you enable this option, the first ${r.googleBusinessProfile.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:o.googleBusinessProfile.trimMessage,onChange:a})})]})})]})}),e(c,{span:10,children:e(T,{})})]})}export{U as default};
