import{U as e,V as t,Wt as n,_ as r,bt as i,d as a,f as o,i as s,nt as c,p as l,qt as u,u as d,v as f,z as p}from"./runtime-core.esm-bundler.v79eHMSw.js";import{t as m}from"./i18n.DdD8a55v.js";import{t as h}from"./_plugin-vue_export-helper.BDNMzG2s.js";import{t as g}from"./ShortcodeChip.DtRn1IJf.js";var _={class:`smb2b-shortcodes-ref`},v={class:`smb2b-shortcodes-ref__head`},y={class:`smb2b-shortcodes-ref__title`},b={class:`smb2b-muted smb2b-small smb2b-shortcodes-ref__hint`},x=h({__name:`ShortcodesReference`,setup(h){let x=!!window.smb2bAdmin?.tier?.is_pro,S=[{code:`[smb2b_registration]`,title:`B2B registration form`,pro:!1,hint:`Where prospects apply for a trade account. Approved applications appear under Registrations.`},{code:`[smb2b_bulk_order]`,title:`Bulk / quick order form`,pro:!1,hint:`Buyers set quantities across many products on one screen. Also available as the “B2B bulk order form” editor block.`},{code:`[smb2b_messages]`,title:`Buyer message centre`,pro:!1,hint:`Buyers read and reply to their threads. Also added automatically as a “Messages” tab under My Account.`},{code:`[smb2b_quotes]`,title:`Buyer quote centre`,pro:!0,hint:`The add-to-quote basket and the buyer’s quotes. Requires Quotes enabled in Settings.`}];return(h,C)=>{let w=e(`el-tag`);return p(),l(`div`,_,[(p(),l(s,null,t(S,e=>d(`div`,{key:e.code,class:n([`smb2b-shortcodes-ref__item`,{"is-locked":e.pro&&!x}])},[d(`div`,v,[d(`span`,y,u(i(m)(e.title)),1),e.pro?(p(),a(w,{key:0,size:`small`,type:`warning`,round:``},{default:c(()=>[r(u(i(m)(`Pro`)),1)]),_:1})):o(``,!0)]),d(`p`,b,u(i(m)(e.hint)),1),f(g,{code:e.code},null,8,[`code`])],2)),64))])}}},[[`__scopeId`,`data-v-c3c09434`]]),S={class:`smb2b-settings-page`},C={class:`smb2b-settings-page__head`},w={class:`smb2b-muted`},T=h({__name:`Pages`,setup(t){return(t,n)=>{let r=e(`el-card`);return p(),l(`div`,S,[d(`div`,C,[d(`div`,null,[d(`h1`,null,u(i(m)(`Pages`)),1),d(`p`,w,u(i(m)(`Add these shortcodes to any page to place a B2B storefront surface for your buyers.`)),1)])]),f(r,{shadow:`never`,class:`smb2b-gap`},{header:c(()=>[d(`strong`,null,u(i(m)(`Storefront shortcodes`)),1)]),default:c(()=>[f(x)]),_:1})])}}},[[`__scopeId`,`data-v-811e0956`]]);export{T as default};