const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./widget-DZZgQDKu.css"])))=>i.map(i=>d[i]);
import{e as i,_ as a}from"./convert-case-to-camel-case.utils-DDUpNI96.js";function C(){return{getBorderStyles:r=>{var _,l,s,u,b,n,p,d,v,E,$,k,y;const e={},t=(_=r.document)==null?void 0:_.tabs;if(t!=null&&t.border){const o=t.border;if((s=(l=o.data)==null?void 0:l.showBorder)!=null&&s.value){const g=(b=(u=o.data)==null?void 0:u.borderType)==null?void 0:b.value,c=(p=(n=o.data)==null?void 0:n.borderSize)==null?void 0:p.value,m=(v=(d=o.data)==null?void 0:d.borderColor)==null?void 0:v.value,f=(($=(E=o==null?void 0:o.data)==null?void 0:E.borderStyle)==null?void 0:$.value)||"solid";switch(g){case"solid":e.border=`${c}px ${f} ${m}`;break;case"left":e.borderLeft=`${c}px ${f} ${m}`;break;case"right":e.borderRight=`${c}px ${f} ${m}`;break;case"bottom":e.borderBottom=`${c}px ${f} ${m}`;break;case"top":e.borderTop=`${c}px ${f} ${m}`;break}}}if(t!=null&&t.body){const o=t.body;e.padding=`${(y=(k=o.data)==null?void 0:k.sidePaddings)==null?void 0:y.value}px`}return e},getDocumentSidebarStyles:r=>{var _,l,s,u,b,n,p;const e={},t=(_=r.document)==null?void 0:_.tabs;if(t!=null&&t.sidebar){const d=t.sidebar;(u=(s=(l=d.data)==null?void 0:l.textColor)==null?void 0:s.data)!=null&&u.status&&(e.color=d.data.textColor.value),(p=(n=(b=d.data)==null?void 0:b.backgroundColor)==null?void 0:n.data)!=null&&p.status&&(e.backgroundColor=d.data.backgroundColor.value)}return e},getComponentName:r=>r==="brand_block"?i(()=>a(()=>import("./BrandBlock-CI4AT4R8.js"),[],import.meta.url)):r==="company_block"?i(()=>a(()=>import("./CompanyBlock-rtFWZwou.js"),[],import.meta.url)):r==="customer_block"?i(()=>a(()=>import("./CustomerBlock-DVhVilSV.js"),__vite__mapDeps([0]),import.meta.url)):r==="additional_text_block"?i(()=>a(()=>import("./AdditionalTextBlock-D15JND_P.js"),[],import.meta.url)):r==="top_text_block"?i(()=>a(()=>import("./TopTextBlock-BlIfERu-.js"),[],import.meta.url)):r==="order_block"?i(()=>a(()=>import("./OrderBlock-B467ovrU.js"),__vite__mapDeps([0]),import.meta.url)):r==="footer_text"?i(()=>a(()=>import("./FooterText-DsLL53y3.js"),[],import.meta.url)):r==="order_id_and_date"?i(()=>a(()=>import("./OrderIdAndDate-DNxF1tnx.js"),[],import.meta.url)):r==="image_block"?i(()=>a(()=>import("./ImageBlock-FXeBB2TJ.js"),[],import.meta.url)):""}}export{C as p};
//# sourceMappingURL=pdf-mixins-CWdlAKKL.js.map
