1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8096],{15450:(e,o,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/style/components/primarySearchBar",function(){return n(50797)}])},50797:(e,o,n)=>{"use strict";n.r(o),n.d(o,{default:()=>u});var i=n(37876);n(14232);var t=n(87856);let r=e=>{let{className:o}=e;return(0,i.jsxs)("svg",{className:"".concat(o),fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M15.8333 9.99998H4.16666",stroke:"#646B8A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M11.6667 14.1667L15.8333 10",stroke:"#646B8A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M11.6667 5.83331L15.8333 9.99998",stroke:"#646B8A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},s=e=>{let{className:o}=e;return(0,i.jsxs)("svg",{className:"".concat(o),fill:"none",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",width:"20",children:[(0,i.jsx)("circle",{cx:"9.2155",cy:"9.21552",r:"5.88495",stroke:"#555770",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M16.6694 16.6695L13.3764 13.3765",stroke:"#555770",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},a=t.Ay.div.withConfig({componentId:"sc-191ea046-0"})(["display:flex;margin-top:4px;height:36px;flex-direction:column;width:100%;border-radius:8px;border:1px solid var(--DARK-MODE-Noir-400,#2c2c41);background:",";pointer-events:none;& > *{pointer-events:auto;}&:hover{border:",";background:",";}&.is-error{border:1px solid var(--ALERTES-ROUGE-Rouge-700,#FF4E4E);&:hover{border:1px solid var(--ALERTES-ROUGE-Rouge-700,#FF4E4E);}}"],e=>e.disabled?"var(--DARK-MODE-Noir-400, #2C2C41)":"var(--DARK-MODE-Noir-600, #161625)",e=>!e.disabled&&"1px solid var(--PRIMAIRES-Bleu, #9093EB)",e=>!e.disabled&&"var(--DARK-MODE-Noir-600, #161625)"),l=t.Ay.label.withConfig({componentId:"sc-191ea046-1"})(["color:var(--DARK-MODE-Noir-100,#a0a6c2);
1font-family:Figtree;font-size:14px;font-style:normal;font-weight:400;line-height:160%;"]),d=t.Ay.div.withConfig({componentId:"sc-191ea046-2"})(["display:flex;height:36px;padding:4px 8px;align-items:center;gap:12px;align-self:stretch;"]),c=t.Ay.input.withConfig({componentId:"sc-191ea046-3"})(["background:none;border:none;color:#fff;flex-grow:1;outline:none;padding-left:0;font-family:Figtree;font-size:14px;font-style:normal;font-weight:400;line-height:160%;::placeholder{color:var(--DARK-MODE-Noir-300,#646b8a);}::focus{outline:none;}"]),p=t.Ay.div.withConfig({componentId:"sc-191ea046-4"})(["color:var(--ALERTES-ROUGE-Rouge-700,#ff4e4e);font-family:Figtree;font-size:12px;font-style:normal;font-weight:400;line-height:120%;margin-top:4px;"]),h=t.Ay.span.withConfig({componentId:"sc-191ea046-5"})(["color:var(--ALERTES-ROUGE-Rouge-700,#ff4e4e);margin-left:2px;"]);t.Ay.span.withConfig({componentId:"sc-191ea046-6"})(["height:16px;padding:0px 2px;justify-content:center;align-items:center;gap:4px;margin-left:4px;color:var(--DARK-MODE-Noir-100,#a0a6c2);
1font-family:Figtree;font-size:12px;font-style:normal;font-weight:400;line-height:120%;border-radius:2px;background:var(--DARK-MODE-Noir-400,#2c2c41);"]);let f=t.Ay.div.withConfig({componentId:"sc-191ea046-7"})(["color:var(--DARK-MODE-Noir-100,#a0a6c2);font-family:Figtree;font-size:12px;font-style:normal;font-weight:400;line-height:120%;margin-top:4px;"]),g=t.Ay.div.withConfig({componentId:"sc-191ea046-8"})(["align-items:center;display:flex;cursor:pointer;transition:transform 0.2s ease;&:hover{transform:scale(0.9);}"]),x=t.Ay.div.withConfig({componentId:"sc-191ea046-9"})(["display:flex;flex-direction:column;gap:8px;width:100%;"]),u=e=>{let{disabled:o,error:n,helperText:t,label:u,mandatory:m,onChange:w,onSearch:v,optional:E,placeholder:y}=e,k=()=>{v&&v()};return(0,i.jsxs)(x,{children:[(0,i.jsxs)(l,{children:[u,m&&(0,i.jsx)(h,{children:"*"}),E&&(0,i.jsx)(OptionalIndicator,{children:"facultatif"})]}),(0,i.jsx)(a,{className:n&&"is-error",disabled:o,children:(0,i.jsxs)(d,{children:[(0,i.jsx)(s,{style:{color:"#555770"}}),(0,i.jsx)(c,{type:"text",placeholder:y,disabled:o,onChange:w,onKeyDown:e=>{"Enter"===e.key&&k()}}),(0,i.jsx)(g,{onClick:k,children:(0,i.jsx)(r,{})})]})}),n?(0,i.jsx)(p,{children:n}):(0,i.jsx)(f,{children:t})]})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=15450)),_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.