PageSourceSearch

https://perlib.fr/_next/static/chunks/2479.782033854743c3fc.js

js perlib.fr collected 2026-10-09 18:23:12 UTC 5,915 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2479],{2479:(e,l,s)=>{s.r(l),s.d(l,{default:()=>u,renderCards:()=>m});var a=s(95155),t=s(12758),r=s(2821),i=s(15239),n=s(73943),d=s(32367),c=s(50829),o=s(45255);let m={"Circular Progress Bar":{component:d.m3},"Bar Chart":{component:d.kv,className:"lg:row-span-2"},"Area Chart":{component:d.wk,className:"lg:row-span-2"},"Up-to-4 key-values":{component:d.ki,className:"lg:row-span-2"},"Highlight Key-Value":{component:d.Qc}};function u(e){var l,s,t,u,x;let{componentId:h,className:b,content:f}=e,{styles:{bgColor:p,bgColorIsLight:j},title:y,subtitle:g,personName:N,personOccupation:v,personPicture:w,chartCards:k}=f,A={title:"text-brand-primary-perle",text:"text-brand-secondary-bleu-3"},C=null==(l=m[k[0].chartType])?void 0:l.component;return(0,a.jsxs)("div",{className:(0,r.A)(b,"grid grid-cols-1 md:grid-cols-2 lg:grid-rows-3 lg:grid-cols-3 lg:grid-flow-col gap-4"),children:[(0,a.jsxs)(d.Zp,{className:"min-h-48 md:min-h-0 flex flex-col justify-between order-3 lg:order-1",children:[y&&(0,a.jsx)(n.default,{className:(0,r.A)(c.Rk["Titre S"],A.title),children:y}),g&&(0,a.jsx)(n.default,{size:"s",className:A.text,children:g})]}),C&&(0,a.jsx)(C,{className:(0,r.A)(m[k[0].chartType].className||"","order-2 lg:order-2"),textColors:A,...k[0]}),(0,a.jsxs)("div",{className:(0,r.A)("min-h-52 lg:min-h-auto block relative md:col-span-2 lg:col-span-1 lg:row-span-3 h-full w-full order-1 lg:order-3",(null==w||null==(t=w.data)||null==(s=t.attributes)?void 0:s.url)?"":"bg-brand-primary-bleu rounded-lg"),children:[(null==w||null==(x=w.data)||null==(u=x.attributes)?void 0:u.url)&&(0,a.jsx)(i.default,{className:"object-cover object-center rounded-lg",style:(0,o.W)(w.data.attributes),src:(0,o.I)(w.data.attributes.url),alt:w.data.attributes.alternativeText||N,fill:!0}),(0,a.jsxs)("div",{className:"absolute top-3 left-4 text-brand-primary-perle",children:[N&&(0,a.jsx)("p",{className:"mb-2 font-heading font-light text-[24px]/[26.4px]",children:N}),v&&(0,a.jsx)(n.default,{size:"s",children:v})]})]}),k.slice(1).map((e,l)=>{let s=m[e.chartType].component;return(0,a.jsx)(s,{className:m[e.chartType].className||"",style:{order:l+4},textColors:A,...e},l)})]})}u.propTypes={content:t.shape({styles:t.object.isRequired})}},32367:(e,l,s)=>{s.d(l,{Qc:()=>f,Zp:()=>m,ki:()=>b,kv:()=>x,m3:()=>u,wk:()=>h});var a=s(95155),t=s(67909),r=s(2821),i=s(73943),n=s(50829);let d=(0,t.default)(()=>s.e(5047).then(s.bind(s,35047)),{loadableGenerated:{webpack:()=>[35047]}}),c=(0,t.default)(()=>Promise.all([s.e(2019),s.e(4579),s.e(8079)]).then(s.bind(s,78079)),{loadableGenerated:{webpack:()=>[78079]}}),o=(0,t.default)(()=>Promise.all([s.e(2019),s.e(5878)]).then(s.bind(s,65878)),{loadableGenerated:{webpack:()=>[65878]}}),m=e=>{let{className:l,style:s,children:t}=e;return(0,a.jsx)("div",{className:(0,r.A)(l,"bg-brand-secondary-bleu-1 rounded-lg p-s"),style:s,children:t})},u=e=>{let{className:l,chartClassName:s,style:t,textColors:c,title:o,chartData:u}=e;return(0,a.jsxs)(m,{className:(0,r.A)(l,"min-h-48 md:min-h-0 flex flex-col justify-between"),style:t,children:[o&&(0,a.jsx)(i.default,{size:"s",className:(0,r.A)("mb-s",(null==c?void 0:c.title)||""),children:o}),(0,a.jsxs)("div",{className:"flex flex-row items-center justify-between gap-4",children:[(0,a.jsxs)("div",{children:[u.title&&(0,a.jsx)(i.default,{className:(0,r.A)(n.Rk["Titre S"],"mb-xxs",(null==c?void 0:c.text)||""),children:u.title}),u.text&&(0,a.jsx)(i.default,{size:"s",className:(null==c?void 0:c.text)||"",children:u.text})]}),(0,a.jsx)(d,{className:s,percentage:u.value,label:u.label||u.key})]})]})},x=e=>{let{className:l,chartClassName:s,style:t,textColors:n,title:d,chartData:o}=e;return(0,a.jsxs)(m,{className:(0,r.A)(l,"min-h-48 md:min-h-0 flex flex-col justify-between"),style:t,children:[d&&(0,a.jsx)(i.default,{size:"s",className:(0,r.A)("mb-s",(null==n?void 0:n.title)||""),children:d}),(0,a.jsx)(c,{className:s,data:o,minChart:2e3,maxChart:2700,chartOptions:{cartesianGrid:{vertical:!1},labelList:{onlyOdd:!0}}})]})},h=e=>{let{className:l,chartClassName:s,style:t,textColors:n,title:d,chartData:c}=e;return(0,a.jsxs)(m,{className:(0,r.A)(l,"min-h-48 md:min-h-0 flex flex-col justify-between"),style:t,children:[d&&(0,a.jsx)(i.default,{size:"s",className:(0,r.A)("mb-s",(null==n?void 0:n.title)||""),children:d}),(0,a.jsx)(o,{className:s,data:c,options:["Montrer les valeurs"],chartOptions:{cartesianGrid:{vertical:!1},area:{stroke:"#FFA36F"},areaDot:{stroke:"#FFA36F",className:"fill-brand-primary-bleu"},labelList:{onlyOdd:!0}}})]})},b=e=>{let{className:l="",style:s,textColors:t,chartData:d}=e;return(0,a.jsx)(m,{className:(0,r.A)(l,"min-h-48 md:min-h-0 flex flex-col justify-between"),style:s,children:(0,a.jsx)("div",{className:(0,r.A)("w-full h-full grid grid-cols-2 gap-6",{"lg:grid-cols-4":l.includes("col-span")}),style:{},children:d.map((e,l)=>{let s=Math.min(e.width,2),d=Math.min(e.height,2);return(0,a.jsxs)("div",{className:"flex flex-col items-start justify-between bg-brand-secondary-bleu-2 p-2 rounded-lg",style:{gridColumn:"span ".concat(s," / span ").concat(s),gridRow:"span ".concat(d," / span ").concat(d)},children:[(0,a.jsx)(i.default,{size:"s",className:(0,r.A)("mb-1",(null==t?void 0:t.text)||""),children:e.key}
1),(0,a.jsx)(i.default,{className:(0,r.A)(n.Rk["Titre S"],(null==t?void 0:t.title)||""),children:e.value})]},l)})})})},f=e=>{let{className:l,style:s,chartData:t}=e;return(0,a.jsx)(m,{className:(0,r.A)(l,"flex flex-col justify-between !bg-brand-primary-terre"),style:s,children:(0,a.jsx)("div",{className:"flex items-center justify-start w-full h-full",children:(0,a.jsxs)("div",{className:"flex flex-col items-start justify-between",children:[(0,a.jsx)(i.default,{size:"s",className:"mb-1 text-brand-primary-bleu",children:t.key}),(0,a.jsx)(i.default,{className:(0,r.A)(n.Rk["Titre M"],"text-brand-primary-bleu"),children:t.value})]})})})}}}]);

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.