PageSourceSearch

https://app.stoqui.com.br/assets/VectorizedPrintLabel-CXd76K0r.js

js stoqui.com.br collected 2026-09-24 11:58:53 UTC 4,444 bytes, 11 lines download raw bytes

1import{j as o}from"./mui-CRsYZxVY.js";import{Font as I,Document as E,Page as T,Text as d,View as l,Image as f,StyleSheet as D}from"./react-pdf.browser-1EhQzxMi.js";import"./vendor-Dwao9eNC.js";import"./index-TALscxEc.js";import"./query-8ViTdhdk.js";import"./datePickers-BIJXYOKG.js";import"./icons-D8aatgQ4.js";import"./lab-DSem1Osk.js";import"./index-BNv7yOC_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"2ad85febf9735404429b0670d4acf56a0af5a0a2"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cf2091c1-61d4-41f8-89ff-e577b5c48a45",e._sentryDebugIdIdentifier="sentry-dbid-cf2091c1-61d4-41f8-89ff-e577b5c48a45")})()}catch{}I.registerEmojiSource({format:"png",url:"https://cdn.jsdelivr.net/gh/twitter/[email protected]/assets/72x72/"});const N=e=>e?[".png",".jpg",".jpeg"].some(i=>e.toLowerCase().includes(i)):!1,z=8,P=8,a=2.83465,B=e=>{const n=e==="a6",i=n?z*a:P*a;return D.create({page:{backgroundColor:"#ffffff",fontFamily:"Helvetica",padding:0},labelContainer:{width:n?"100%":105*a,height:n?"100%":148.5*a,padding:i,boxSizing:"border-box",flexDirection:"column",...n?{}:{border:"1px dashed #cccccc"}},headerRow:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:12},logo:{height:30,maxWidth:90,objectFit:"contain"},storeName:{fontSize:14,fontWeight:"bold",color:"#000000"},orderNumber:{fontSize:12,fontWeight:"bold",color:"#000000"},recipientBox:{border:"3px solid #000000",marginBottom:10},recipientHeader:{backgroundColor:"#ffffff",borderBottom:"2px solid #000000",padding:6},recipientHeaderText:{fontSize:12,fontWeight:"bold",color:"#000000"},recipientBody:{padding:8},addressText:{fontSize:10,lineHeight:1.4,color:"#000000"},barcodeContainer:{marginTop:8,alignItems:"center",justifyContent:"center"},barcodeImage:{width:180,height:50},senderSection:{marginTop:6},senderTitle:{fontSize:9,fontWeight:"bold",color:"#000000",marginBottom:3},senderText:{fontSize:8,lineHeight:1.3,color:"#000000"}})},H=({order:e,storeAddress:n,webCatalog:i,size:s,barcodeDataUrl:m})=>{var u,g,h,x,y,j,_,b;const t=B(s);if(!e||!i)return o.jsx(T,{size:s==="a6"?"A6":"A4",style:t.page,children:o.jsx(d,{children:"Pagina em branco"})});const c={nome_destinatario:((u=e.endereco_entrega)==null?void 0:u.nome_destinatario)||"",logradouro:((g=e.endereco_entrega)==null?void 0:g.logradouro)||"",numero:((h=e.endereco_entrega)==null?void 0:h.numero)||"",complemento:((x=e.endereco_entrega)==null?void 0:x.complemento)||"",bairro:((y=e.endereco_entrega)==null?void 0:y.bairro)||"",localidade:((j=e.endereco_entrega)==null?void 0:j.localidade)||"",uf:((_=e.endereco_entrega)==null?void 0:_.uf)||"",cep:((b=e.endereco_entrega)==null?void 0:b.cep)||""},p=(n==null?void 0:n.nome_remetente)||(i==null?void 0:i.nome_loja)||"",S=(n==null?void 0:n.ocultar_logo_etiqueta)===!0,r=n?{nome:p,logradouro:n.logradouro,numero:n.numero,complemento:n.complemento||"",bairro:n.bairro,localidade:n.localidade,uf:n.uf,cep:n.cep}:null;return o.jsx(T,{size:s==="a6"?"A6":"A4",style:t.page,children:o.jsxs(l,{style:t.labelContainer,children:[o.jsxs(l,{style:t.headerRow,children:[S?o.jsx(l,{}):i!=null&&i.processed_logo_url?o.jsx(f,{src:i.processed_logo_url,style:t.logo}):i!=null&&i.logo_url&&N(i.logo_url)?o.jsx(f,{src:i.logo_url,style:t.logo}):o.jsx(d,{style:t.storeName,children:p||"Loja"}),o.jsxs(d,{style:t.orderNumber,children:["Pedido #",e.numero_pedido]})]}),o.jsxs(l,{style:t.recipientBox,children:[o.jsx(l,{style:t.recipientHeader,children:o.jsx(d,{style:t.recipientHeaderText,children:"DESTINATARIO"})}),o.jsxs(l,{style:t.recipientBody,children:[o.jsxs(d,{style:t.addressText,children:[c.nome_destinatario,`
2`,c.logradouro,", ",c.numero,c.complemento?`
3${c.complemento}`:"",`
4`,c.bairro,`
5`,c.localidade," - ",c.uf,`
6`,c.cep]}),m&&o.jsx(l,{style:t.barcodeContainer,children:o.jsx(f,{src:m,style:t.barcodeImage})})]})]}),r&&o.jsxs(l,{style:t.senderSection,children:[o.jsx(d,{style:t.senderTitle,children:"REMETENTE"}),o.jsxs(d,{style:t.senderText,children:[r.nome,`
7`,r.logradouro,", ",r.numero,r.complemento?`
8${r.complemento}`:"",`
9`,r.bairro,`
10`,r.localidade," - ",r.uf,`
11`,r.cep]})]})]})})},$=e=>o.jsx(E,{children:o.jsx(H,{...e})});
11export{$ as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.