import{a as h,g as m,i as f,aH as u,j as e,h as o,_ as p,f as x,bG as j}from"./main-634.js";import{F as g}from"./bf-767-388.js";import{A as y}from"./bf-710-385.js";import{C as S}from"./bf-25-81.js";function A(){const{css:t}=h(),{fieldKey:s}=m(),[i,l]=f(u);if(!s)return null;const c=i[s],d=a=>{const n=x(i,r=>{r[s].content=a});l(n),j({event:`Shortcode Change to: ${a}`,type:"shortcode_content_change",state:{fields:n,fldKey:s}})};return e.jsxs("div",{className:t(g.fieldSection),children:[e.jsx("div",{className:t(o.flxcb),children:e.jsxs("div",{className:t(o.flxc),children:[e.jsx("b",{children:"Shortcode: "}),e.jsx(S,{width:250,icnSize:17,className:t(o.ml2),children:e.jsx("div",{className:t(o.tipBody),children:p("Enter the shortcode in this Input. ")})})]})}),e.jsx(y,{id:"admn-lbl-stng",ariaLabel:"Admin label for this Field",placeholder:"Ex: [type_shortcode]",value:c.content,changeAction:a=>d(a.target.value)})]})}export{A as default};
