PageSourceSearch

https://www.combak.co/_next/static/chunks/pages/backoffice/marketing/linkedin-dashboard-c7794dfb35d6d97a.js

js combak.co collected 2026-10-05 01:34:14 UTC 19,601 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4938],{6686:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/backoffice/marketing/linkedin-dashboard",function(){return i(21554)}])},21554:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>Y});var s=i(94458),n=i(68658),r=i(65238),l=i.n(r),o=i(11457),a=i(49435),c=i(4146),d=i(42293),h=i(76472),p=i(13540),u=i(1942),g=i(29566),x=i(50114),j=i(16281),y=i(83440),m=i(29661),f=i(32203),A=i(86094),v=i(32631),b=i(76897),w=i(72105),k=i(79687),S=i(15471),C=i(51331),z=i(85649),T=i(45934),B=i(62939),_=i(87884),I=i(16114),P=i(82850),E=i(14116),W=i(99734),R=i(65982),O=i(5793);let N={milestone:"Milestone",feature_launch:"Lancement",partner_news:"Partenaire",team:"\xc9quipe",news_analysis:"D\xe9cryptage",action_highlight:"Action"},D={milestone:"gold",feature_launch:"blue",partner_news:"green",team:"purple",news_analysis:"orange",action_highlight:"cyan"},L={combak:"Combak",tom:"Tom"},U={idea:"Id\xe9e",draft:"Brouillon",review:"En review",published:"Publi\xe9",archived:"Archiv\xe9"},M={idea:"default",draft:"processing",review:"warning",published:"success",archived:"default"},{TextArea:V}=d.A,F={totalAll:0,totalFiltered:0,publishedThisMonth:0},G={A:{label:"✨ Version A",color:"#8b5cf6"},B:{label:"\uD83D\uDCA1 Version B",color:"#0ea5e9"}};async function K(e){let t=await fetch("/api/backoffice/marketing/linkedin/generate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw Error((await t.json()).error||"Generation failed");return t.json()}async function H(){return(await fetch("/api/backoffice/marketing/linkedin/ideas")).json()}async function q(e){let t=new URLSearchParams({page:String(e.page),limit:String(20)});e.status&&t.set("status",e.status),e.postType&&t.set("postType",e.postType),e.voice&&t.set("voice",e.voice),e.search&&t.set("search",e.search);let i=await fetch("/api/backoffice/marketing/linkedin/posts?".concat(t.toString()));if(!i.ok)throw Error((await i.json().catch(()=>({}))).error||"Chargement de l'historique impossible");return i.json()}async function J(e,t){let i=await fetch("/api/backoffice/marketing/linkedin/posts",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({_id:e,...t})});if(!i.ok)throw Error((await i.json().catch(()=>({}))).error||"Mise \xe0 jour impossible")}function X(e){let t=new Date(e);return Number.isNaN(t.getTime())?"—":t.toLocaleString("fr-FR",{day:"2-digit",month:"2-digit",year:"2-digit",hour:"2-digit",minute:"2-digit"})}function Q(e,t){let i=e.replace(/\s+/g," ").trim();return i.length>t?"".concat(i.slice(0,t),"..."):i}function Y(){var e;
1let[t,i]=(0,n.useState)("ideas"),[r,Y]=(0,n.useState)([]),[Z,$]=(0,n.useState)(!1),[ee,et]=(0,n.useState)({postType:"milestone",voice:"tom",topic:"",modelId:"claude-opus-4.6",webSearch:!1}),[ei,es]=(0,n.useState)([null,null]),[en,er]=(0,n.useState)(!1),[el,eo]=(0,n.useState)(""),[ea,ec]=(0,n.useState)(""),[ed,eh]=(0,n.useState)([]),[ep,eu]=(0,n.useState)(F),[eg,ex]=(0,n.useState)(0),[ej,ey]=(0,n.useState)(1),[em,ef]=(0,n.useState)({}),[eA,ev]=(0,n.useState)(""),[eb,ew]=(0,n.useState)(!1),[ek,eS]=(0,n.useState)(""),[eC,ez]=(0,n.useState)(!0),[eT,eB]=(0,n.useState)(null),[e_,eI]=(0,n.useState)(!1),eP=(0,c.l)(),eE=(0,O.df)(),eW=async()=>{$(!0);try{let e=await H();Y(e),0===e.length&&h.Ay.warning("Aucune id\xe9e g\xe9n\xe9r\xe9e")}catch{h.Ay.error("Erreur lors de la g\xe9n\xe9ration des id\xe9es")}finally{$(!1)}},eR=async()=>{if(!ee.topic.trim())return void h.Ay.warning("Saisis un sujet pour le post");er(!0),eo(""),es([null,null]);try{let[e,t]=await Promise.all([K({...ee,variant:"A",feedback:ea||void 0}),K({...ee,variant:"B",feedback:ea||void 0})]);es([e,t]),ec(""),ez(!0)}catch(e){eo(e instanceof Error?e.message:"Erreur de g\xe9n\xe9ration")}finally{er(!1)}},eO=e=>{navigator.clipboard.writeText(e),h.Ay.success("Copi\xe9 dans le presse-papiers")},eN=(0,n.useCallback)(async(e,t)=>{ew(!0),eS("");try{let i=await q({...t,page:e});eh(i.posts),eu(i.stats),ex(i.total)}catch(e){eS(e instanceof Error?e.message:"Erreur de chargement")}finally{ez(!1),ew(!1)}},[]);(0,n.useEffect)(()=>{"history"===t&&eC&&eN(ej,em)},[t,eC,ej,em,eN]);let eD=e=>{ef(e),ey(1),ez(!0)},eL=e=>{ey(e),ez(!0)},eU=async(e,t)=>{eI(!0);try{await J(e._id,t);let i={...e,...t};eh(t=>t.map(t=>t._id===e._id?i:t)),eB(t=>t&&t._id===e._id?i:t),h.Ay.success("Post mis \xe0 jour"),ez(!0)}catch(e){h.Ay.error(e instanceof Error?e.message:"Mise \xe0 jour impossible")}finally{eI(!1)}},eM=(e,t)=>(0,s.jsxs)(x.A,{title:(0,s.jsxs)(m.A,{wrap:!0,children:[(0,s.jsx)("span",{style:{color:G[t].color},children:G[t].label}),(0,s.jsxs)("span",{style:{color:"#999",fontSize:12,fontWeight:400},children:[e.content.length," caract\xe8res | ",e.modelUsed," | ",e.cost.toFixed(4)," €"]}),e._id?(0,s.jsx)(y.A,{color:"success",style:{fontWeight:400},children:"Brouillon enregistr\xe9"}):(0,s.jsx)(y.A,{color:"warning",style:{fontWeight:400},children:"Non enregistr\xe9"})]}),extra:(0,s.jsx)(g.Ay,{type:"primary",icon:(0,s.jsx)(B.A,{size:14}),onClick:()=>eO(e.content),children:"Copier"}),style:{marginBottom:16},children:[e.thinking&&(0,s.jsxs)("details",{style:{marginBottom:12},children:[(0,s.jsx)("summary",{style:{cursor:"pointer",fontSize:13,color:"#8b5cf6",fontWeight:500},children:"\uD83D\uDCAD R\xe9flexion"}),(0,s.jsx)("div",{style:{whiteSpace:"pre-wrap",fontSize:12,color:"#666",lineHeight:1.5,padding:"8px 0",borderTop:"1px solid #f0f0f0",marginTop:8},children:e.thinking})]}),(0,s.jsx)("div",{style:{whiteSpace:"pre-wrap",padding:16,background:"#fafafa",borderRadius:8,fontSize:14,lineHeight:1.6},children:e.content})]}),eV=e=>(0,s.jsx)("div",{onClick:e=>e.stopPropagation(),style:{display:"inline-block"},children:(0,s.jsx)(f.A,{value:e.status,size:eP?"large":"small",style:{minWidth:130,height:eP?44:void 0},onChange:t=>eU(e,{status:t}),options:Object.entries(U).map(e=>{let[t,i]=e;return{value:t,label:i}})})}),eF=[{title:"Date",dataIndex:"createdAt",width:150,render:e=>X(e)},{title:"Sujet",dataIndex:"topic",render:(e,t)=>(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{style:{fontWeight:500},children:e||t.title||"(sans sujet)"}),(0,s.jsx)("div",{style:{color:"#999",fontSize:12},children:Q(t.content,90)})]})},{title:"Type",dataIndex:"postType",width:120,render:e=>(0,s.jsx)(y.A,{color:D[e],children:N[e]})},{title:"Angle",dataIndex:"variant",width:90,render:e=>e?(0,s.jsx)("span",{style:{color:G[e].color},children:G[e].label}):"—"},{title:"Voix",dataIndex:"voice",width:90,render:e=>L[e]},{title:"Statut",dataIndex:"status",width:150,render:(e,t)=>eV(t)},{title:"Co\xfbt",dataIndex:"generationCost",width:90,align:"right",render:e=>"number"==typeof e?"".concat(e.toFixed(4)," €"):"—"},{title:"",key:"actions",width:110,render:(e,t)=>(0,s.jsxs)(m.A,{size:4,children:[(0,s.jsx)(g.Ay,{size:"small",onClick:e=>{e.stopPropagation(),eB(t)},children:"Voir"}),(0,s.jsx)(g.Ay,{size:"small",icon:(0,s.jsx)(B.A,{size:13}),onClick:e=>{e.stopPropagation(),eO(t.editedContent||t.content)}})]})}];return(0,s.jsxs)(o.U,{children:[(0,s.jsx)(l(),{children:(0,s.jsx)("title",{children:"LinkedIn Posts | Combak Backoffice"})}),(0,s.jsxs)("div",{style:{padding:"0 0 24px"},children:[(0,s.jsxs)("h1",{style:{margin:"0 0 24px",display:"flex",alignItems:"center",gap:8},children:[(0,s.jsx)(W.A,{size:24}),"LinkedIn Post Generator"]}),(0,s.jsx)(C.A,{activeKey:t,onChange:i,items:[{key:"ideas",label:"Id\xe9es & Suggestions",children:(0,s.jsxs)("div",{children:[(0,s.jsx)(p.A,{gutter:[16,16],style:{marginBottom:24},children:(0,s.jsx)(u.A,{children:(0,s.jsx)(g.Ay,{type:"primary",icon:(0,s.jsx)(z.A,{size:16}),onClick:eW,loading:Z,size:"large",children:"G\xe9n\xe9rer des id\xe9es"})})}),Z&&(0,s.jsx)(p.A,{gutter:[16,16],children:[1,2,3,4].map(e=>(0,s.jsx)(u.A,{xs:24,sm:12,lg:6,children:(0,s.jsx)(x.A,{loading:!0,style:{height:200}})},e))}),!Z&&0===r.length&&(0,s.jsx)(j.A,{description:"Clique sur ‘G\xe9n\xe9rer des id\xe9es’ pour obtenir des suggestions bas\xe9es sur les donn\xe9es de Combak"}),!Z&&r.length>0&&(0,s.jsx)(p.A,{gutter:[16,16],children:r.map((e,t)=>(0,s.jsx)(u.A,{xs:24,sm:12,lg:8,children:(0,s.jsxs)(x.A,{hoverable:!0,style:{height:"100%"},actions:[(0,s.jsx)(g.Ay,{type:"link",icon:(0,s.jsx)(T.A,{size:14}),onClick:()=>{et({...ee,postType:e.postType,topic:e.suggestedTopic||e.title,ideaSource:"auto",ideaReason:e.reason}),es([null,null]),i("create")},children:"Cr\xe9er un post"},"create")],children:[(0,s.jsx)(y.A,{color:D[e.postType],style:{marginBottom:8},children:N[e.postType]}),(0,s.jsx)("h4",{style:{margin:"8px 0"},children:e.title}),(0,s.jsx)("p",{style:{color:"#666",fontSize:13},children:e.reason}),e.suggestedTopic&&(0,s.jsx)("p",{style:{color:"#999",fontSize:12,fontStyle:"italic"},children:e.suggestedTopic})]})},"idea-".concat(e.postType,"-").concat(t)))})]})},{key:"create",label:"Cr\xe9er un Post",children:(0,s.jsx)("div",{children:(0,s.jsxs)(p.A,{gutter:24,children:[(0,s.jsx)(u.A,{xs:24,lg:8,children:(0,s.jsx)(x.A,{title:"Param\xe8tres",style:{marginBottom:16,position:"sticky",top:16},children:(0,s.jsxs)(m.A,{direction:"vertical",style:{width:"100%"},size:"middle",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{style:{marginBottom:4,fontWeight:500},children:"Type de post"}
1),(0,s.jsx)(f.A,{value:ee.postType,onChange:e=>et({...ee,postType:e}),style:{width:"100%"},options:Object.entries(N).map(e=>{let[t,i]=e;return{value:t,label:i}})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{style:{marginBottom:4,fontWeight:500},children:"Voix"}),(0,s.jsx)(f.A,{value:ee.voice,onChange:e=>et({...ee,voice:e}),style:{width:"100%"},options:Object.entries(L).map(e=>{let[t,i]=e;return{value:t,label:i}})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{style:{marginBottom:4,fontWeight:500},children:"Sujet / Angle"}),(0,s.jsx)(V,{value:ee.topic,onChange:e=>et({...ee,topic:e.target.value,ideaSource:"manual",ideaReason:void 0}),placeholder:"Ex: On vient de franchir le million d'euros \xe9conomis\xe9s par nos utilisateurs...",rows:3})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{style:{marginBottom:4,fontWeight:500},children:"Instructions (optionnel)"}),(0,s.jsx)(V,{value:null!=(e=ee.customInstructions)?e:"",onChange:e=>et({...ee,customInstructions:e.target.value}),placeholder:"Ex: Insiste sur l'impact environnemental...",rows:2})]}),(0,s.jsxs)(p.A,{gutter:16,children:[(0,s.jsxs)(u.A,{xs:24,lg:16,children:[(0,s.jsx)("div",{style:{marginBottom:4,fontWeight:500},children:"Mod\xe8le LLM"}),(0,s.jsx)(f.A,{value:ee.modelId,onChange:e=>et({...ee,modelId:e}),style:{width:"100%"},children:eE.map(e=>(0,s.jsx)(f.A.OptGroup,{label:e.label,children:e.models.map(e=>(0,s.jsxs)(f.A.Option,{value:e.id,children:[e.label,e.webSearchNote?" (".concat(e.webSearchNote,")"):""]},e.id))},e.id))})]}),(0,s.jsxs)(u.A,{xs:24,lg:8,children:[(0,s.jsx)("div",{style:{marginBottom:4,fontWeight:500},children:"Web Search"}),(0,s.jsx)(A.A,{checked:ee.webSearch,onChange:e=>et({...ee,webSearch:e}),checkedChildren:"On",unCheckedChildren:"Off"})]})]}),(0,s.jsx)(g.Ay,{type:"primary",icon:(0,s.jsx)(_.A,{size:16}),onClick:eR,loading:en,disabled:!ee.topic.trim(),block:!0,size:"large",children:"G\xe9n\xe9rer 2 angles"})]})})}),(0,s.jsxs)(u.A,{xs:24,lg:16,children:[en&&(0,s.jsxs)("div",{style:{textAlign:"center",padding:80},children:[(0,s.jsx)(v.A,{size:"large"}),(0,s.jsx)("p",{style:{marginTop:16,color:"#666"},children:"G\xe9n\xe9ration de 2 angles en cours..."})]}),el&&(0,s.jsx)(b.A,{type:"error",message:"Erreur de g\xe9n\xe9ration",description:el,showIcon:!0,action:(0,s.jsx)(g.Ay,{size:"small",onClick:eR,children:"R\xe9essayer"}),style:{marginBottom:16}}),!en&&!ei[0]&&!el&&(0,s.jsx)(j.A,{description:"Les 2 versions du post appara\xeetront ici",style:{padding:80}}),!en&&ei[0]&&(0,s.jsxs)("div",{children:[ei[0]&&eM(ei[0],"A"),ei[1]&&eM(ei[1],"B"),(0,s.jsx)(x.A,{size:"small",children:(0,s.jsxs)(m.A,{direction:"vertical",style:{width:"100%"},children:[(0,s.jsx)(d.A,{placeholder:"Feedback pour r\xe9g\xe9n\xe9rer (ex: plus court, moins corporate, plus de chiffres...)",value:ea,onChange:e=>ec(e.target.value),onPressEnter:eR}),(0,s.jsx)(g.Ay,{icon:(0,s.jsx)(I.A,{size:14}),onClick:eR,loading:en,children:"R\xe9g\xe9n\xe9rer les 2 angles"})]})})]})]})]})})},{key:"history",label:(0,s.jsxs)(m.A,{size:6,children:[(0,s.jsx)(R.A,{size:14}),"Historique"]}),children:(0,s.jsxs)("div",{children:[(0,s.jsxs)(p.A,{gutter:[16,16],style:{marginBottom:16},children:[(0,s.jsx)(u.A,{xs:12,lg:6,children:(0,s.jsx)(x.A,{size:"small",children:(0,s.jsx)(k.A,{title:"Posts g\xe9n\xe9r\xe9s",value:ep.totalAll})})}),(0,s.jsx)(u.A,{xs:12,lg:6,children:(0,s.jsx)(x.A,{size:"small",children:(0,s.jsx)(k.A,{title:"Publi\xe9s ce mois-ci",value:ep.publishedThisMonth})})}),(0,s.jsx)(u.A,{xs:12,lg:6,children:(0,s.jsx)(x.A,{size:"small",children:(0,s.jsx)(k.A,{title:"R\xe9sultats filtr\xe9s",value:ep.totalFiltered})})}),(0,s.jsx)(u.A,{xs:12,lg:6,children:(0,s.jsx)(x.A,{size:"small",children:(0,s.jsx)(k.A,{title:"Co\xfbt affich\xe9",value:ed.reduce((e,t)=>{var i;return e+(null!=(i=t.generationCost)?i:0)},0),precision:4,suffix:"€"})})})]}),(0,s.jsx)(x.A,{size:"small",style:{marginBottom:16},children:(0,s.jsxs)(w.A,{wrap:!0,gap:8,align:"center",children:[(0,s.jsx)(d.A,{placeholder:"Rechercher (sujet, titre, contenu)",value:eA,onChange:e=>ev(e.target.value),onPressEnter:()=>{eD({...em,search:eA.trim()||void 0})},prefix:(0,s.jsx)(P.A,{size:14}),style:{width:eP?"100%":280,fontSize:16},allowClear:!0,onClear:()=>eD({...em,search:void 0})}),(0,s.jsx)(f.A,{placeholder:"Statut",allowClear:!0,value:em.status,onChange:e=>eD({...em,status:e}),style:{minWidth:140},options:Object.entries(U).map(e=>{let[t,i]=e;return{value:t,label:i}})}),(0,s.jsx)(f.A,{placeholder:"Type",allowClear:!0,value:em.postType,onCh
1ange:e=>eD({...em,postType:e}),style:{minWidth:150},options:Object.entries(N).map(e=>{let[t,i]=e;return{value:t,label:i}})}),(0,s.jsx)(f.A,{placeholder:"Voix",allowClear:!0,value:em.voice,onChange:e=>eD({...em,voice:e}),style:{minWidth:120},options:Object.entries(L).map(e=>{let[t,i]=e;return{value:t,label:i}})}),(0,s.jsx)(g.Ay,{icon:(0,s.jsx)(I.A,{size:14}),onClick:()=>ez(!0),loading:eb,children:"Rafra\xeechir"})]})}),ek&&(0,s.jsx)(b.A,{type:"error",message:"Erreur de chargement",description:ek,showIcon:!0,action:(0,s.jsx)(g.Ay,{size:"small",onClick:()=>ez(!0),children:"R\xe9essayer"}),style:{marginBottom:16}}),(0,s.jsx)(a.J,{rowKey:"_id",columns:eF,dataSource:ed,loading:eb,mobileCardRender:e=>(0,s.jsxs)("div",{onClick:()=>eB(e),style:{cursor:"pointer"},children:[(0,s.jsxs)(w.A,{justify:"space-between",align:"center",gap:8,style:{marginBottom:8},children:[(0,s.jsx)(y.A,{color:D[e.postType],style:{margin:0},children:N[e.postType]}),(0,s.jsx)("span",{style:{color:"#999",fontSize:12},children:X(e.createdAt)})]}),(0,s.jsx)("div",{style:{fontWeight:500,marginBottom:4},children:e.topic||e.title||"(sans sujet)"}),(0,s.jsx)("div",{style:{color:"#666",fontSize:13,marginBottom:12},children:Q(e.content,140)}),(0,s.jsxs)(w.A,{wrap:!0,gap:8,align:"center",justify:"space-between",children:[(0,s.jsxs)(m.A,{size:8,children:[eV(e),e.variant&&(0,s.jsx)("span",{style:{color:G[e.variant].color,fontSize:12},children:G[e.variant].label})]}),(0,s.jsx)(g.Ay,{icon:(0,s.jsx)(B.A,{size:14}),style:{height:44},onClick:t=>{t.stopPropagation(),eO(e.editedContent||e.content)},children:"Copier"})]})]}),onRow:e=>({onClick:()=>eB(e)}),locale:{emptyText:(0,s.jsx)(j.A,{description:"Aucun post g\xe9n\xe9r\xe9 pour ces filtres"})},pagination:{current:ej,pageSize:20,total:eg,showSizeChanger:!1,onChange:eL}}),eP&&eg>20&&(0,s.jsxs)(w.A,{justify:"center",gap:12,align:"center",style:{marginTop:16},children:[(0,s.jsx)(g.Ay,{disabled:ej<=1,style:{height:44},onClick:()=>eL(ej-1),children:"Pr\xe9c\xe9dent"}),(0,s.jsxs)("span",{style:{fontSize:13,color:"#666"},children:[ej," / ",Math.ceil(eg/20)]}),(0,s.jsx)(g.Ay,{disabled:ej>=Math.ceil(eg/20),style:{height:44},onClick:()=>eL(ej+1),children:"Suivant"})]})]})}]})]}),(()=>{if(!eT)return null;let e=eT.editedContent||eT.content;return(0,s.jsx)(S.A,{open:!0,onClose:()=>eB(null),width:eP?"100%":640,title:eT.topic||eT.title||"Post LinkedIn",extra:(0,s.jsx)(g.Ay,{type:"primary",icon:(0,s.jsx)(B.A,{size:14}),onClick:()=>eO(e),children:"Copier"}),children:(0,s.jsxs)(m.A,{direction:"vertical",size:"middle",style:{width:"100%"},children:[(0,s.jsxs)(w.A,{wrap:!0,gap:8,children:[(0,s.jsx)(y.A,{color:D[eT.postType],children:N[eT.postType]}),(0,s.jsx)(y.A,{color:M[eT.status],children:U[eT.status]}),(0,s.jsx)(y.A,{children:L[eT.voice]}),eT.variant&&(0,s.jsx)(y.A,{color:"purple",children:G[eT.variant].label}),eT.webSearchUsed&&(0,s.jsx)(y.A,{color:"geekblue",children:"Web search"})]}),(0,s.jsxs)("div",{style:{color:"#999",fontSize:12},children:[X(eT.createdAt),eT.modelUsed?" | ".concat(eT.modelUsed):"","number"==typeof eT.generationCost?" | ".concat(eT.generationCost.toFixed(4)," €"):"",eT.characterCount?" | ".concat(eT.characterCount," caract\xe8res"):"",eT.systemPromptVersion?" | prompt ".concat(eT.systemPromptVersion):""]}),eT.customInstructions&&(0,s.jsx)(b.A,{type:"info",message:"Instructions",description:eT.customInstructions}),eT.feedback&&(0,s.jsx)(b.A,{type:"warning",message:"Feedback de r\xe9g\xe9n\xe9ration",description:eT.feedback}),eT.thinking&&(0,s.jsxs)("details",{children:[(0,s.jsx)("summary",{style:{cursor:"pointer",fontSize:13,color:"#8b5cf6",fontWeight:500},children:"\uD83D\uDCAD R\xe9flexion"}),(0,s.jsx)("div",{style:{whiteSpace:"pre-wrap",fontSize:12,color:"#666",lineHeight:1.5,paddingTop:8},children:eT.thinking})]}),(0,s.jsx)("div",{style:{whiteSpace:"pre-wrap",padding:16,background:"#fafafa",borderRadius:8,fontSize:14,lineHeight:1.6},children:e}),(0,s.jsx)(x.A,{size:"small",title:"Suivi de publication",children:(0,s.jsxs)(m.A,{direction:"vertical",size:"middle",style:{width:"100%"},children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{style:{marginBottom:4,fontWeight:500},children:"Statut"}),(0,s.jsx)(f.A,{value:eT.status,size:eP?"large":"middle",style:{width:"100%",height:eP?44:void 0},disabled:e_,onChange:e=>eU(eT,{status:e}),options:Object.entries(U).map(e=>{let[t,i]=e;return{value:t,label:i}})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{style:{marginBottom:4,fontWeight:500},children:"URL LinkedIn"}),(0,s.jsx)(d.A,{defaultValue:eT.publishedUrl,placeholder:"https://www.linkedin.com/posts/...",style:{fontSize:16},disabled:e_,onBlur:e=>{var t;let i=e.target.value.trim();i!==(null!=(t=eT.publishedUrl)?t:"")&&eU(eT,{publishedUrl:i})},suffix:eT.publishedUrl?(0,s.jsx)("a",{href:eT.publishedUrl,target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(E.A,{size:14})}):void 0})]}),eT.publishedAt&&(0,s.jsxs)("div",{style:{color:"#999",fontSize:12},children:["Publi\xe9 le ",X(eT.publishedAt)]})]})})]})})})()]})}Y.getLayout=e=>e},49435:(e,t,i)=>{"use strict";i.d(t,{J:()=>l});var s=i(94458);i(68658);var n=i(81672),r=i(4146);function l(e){let{mobileCardRender:t,scroll:i,pagination:l,size:o,...a}=e,c=(0,r.l)();if(c&&t){var d;let e=null!=(d=a.dataSource)?d:[];return(0,s.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:12},children:e.map((e,i)=>{var n,r;let l=a.rowKey&&"function"==typeof a.rowKey?String(a.rowKey(e,i)):String(null!=(r=e[String(null!=(n=a.rowKey)?n:"key")])?r:i);return(0,s.jsx)("div",{style:{background:"#ffffff",border:"1px solid #e5e7eb",borderRadius:12,padding:16},children:t(e,i)},l)})})}return(0,s.jsx)(n.A,{...a,size:c?"small":o,scroll:c?{x:"max-content",...i}:i,pagination:!1!==l&&{simple:c||void 0,...null!=l?l:{}}})}}},e=>{e.O(0,[7112,4584,2631,560,5471,1602,8925,4742,515,1672,6094,9589,1457,5793,636,6593,8792],()=>
1e(e.s=6686)),_N_E=e.O()}]);

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.