PageSourceSearch

https://www.infarmacia.com.br/assets/inertia/certificate-CU2zg7LQ.js

js infarmacia.com.br collected 2026-10-01 14:05:08 UTC 2,595 bytes, 1 lines download raw bytes

1import{r as x,j as e}from"./client-CHNkNmmv.js";import{M as C}from"./index-Db3rCL0U.js";import{S as $}from"./SEO-dh0oOJ7G.js";import{L as h,a as E,D as R}from"./LinkedIn-7WaZ43vJ.js";import{u as W,W as O,a as v,S as a,m as B,T as p,s as f,l as H}from"./index-BB5ttvTm.js";import{X as P,l as A,i as N}from"./app-D0qFt-Cz.js";import{B as U}from"./Breadcrumbs-C-UCvGGM.js";const u=f(H)({display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",borderRadius:"8px"}),m=f(p)({color:"inherit",fontSize:"14px",fontWeight:500,lineHeight:"24px"}),Y=({certificate_html:s,course:{title:t,course_full_url:g,slug:j,category:{slug:w}},certificate:n,organization_name:k})=>{const i=W().palette.mode==="dark"?"#bdbdbd":"#00000099",{fixedHeader:y}=O(),r=v(),_=x.useRef(null),I=x.useRef(null),{namespaces:{inertia:o}}=N,S=P(),l=A.get(S,"props.additional_data.linkedin_organization_id"),b=[{title:r("course.initial",o),href:"/"},{title:t,href:g}],d=n!=null&&n.created_at?new Date(n.created_at):new Date,M=d.getFullYear(),D=d.getMonth()+1,c={startTask:"CERTIFICATION_NAME",name:t,organizationName:k||"",issueYear:M.toString(),issueMonth:D.toString(),certId:(n==null?void 0:n.hash)||(n?`${n.id}-${n.customer_id}`:""),certUrl:`${window.location.origin}/cursos/validar-certificado?code=${n.hash}`};l&&(c.organizationId=l);const T=`https://www.linkedin.com/profile/add?${new URLSearchParams(c).toString().replace(/\+/g,"%20")}`;return e.jsxs(C,{children:[e.jsx($,{title:t}),e.jsx(h,{href:"/",download:"certificate",display:"none",ref:I}),e.jsxs(a,{sx:{display:"flex",justifyContent:"center",width:"100%",maxWidth:"780px",margin:"0 auto",gap:"24px",padding:"20px",...y&&{marginTop:B}},children:[e.jsxs(U,{children:[b.map(({href:z,title:L})=>e.jsx(h,{sx:{fontSize:"16px",fontWeight:400,color:i},href:z,children:L})),e.jsx(p,{sx:{fontSize:"16px",fontWeight:400,color:i},children:r("course.certificate",o)})]}),e.jsx(a,{sx:{width:"100%",display:"flex",justifyContent:"center",flexDirection:"row"},children:e.jsx("div",{style:{maxWidth:"640px",width:"100%"},ref:_,dangerouslySetInnerHTML:{__html:s}})}),e.jsxs(a,{sx:{flexDirection:"row",justifyContent:"center",gap:"16px"},children:[e.jsx("a",{href:T,target:"_blank",rel:"noreferrer",children:e.jsxs(u,{variant:"outlined",children:[e.jsx(m,{children:"LinkedIn"}),e.jsx(E,{fontSize:"small"})]})}),e.jsx("a",{href:`/cursos/${w}/${j}/baixar-certificado`,target:"_blank",rel:"noreferrer",children:e.jsxs(u,{variant:"outlined",children:[e.jsx(m,{children:r("course.download",o)}),e.jsx(R,{fontSize:"small"})]})})]})]})]})},ee=s=>e.jsx(Y,{...s});export{ee 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.