const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Filter-6hGzrL6X.js","./chunk-jRWAZmH_.js","./jsx-runtime-CEixWuwE.js","./FilterOutline-0NxB8lny.js","./Home-C0KXjxek.js","./HomeOutline-DA8r8OiJ.js","./Hospital-CLc27vPC.js","./Information-Dvaqgobw.js","./NotificationsOutline-COWH5lJd.js","./PeopleOutline-B7nsOh6I.js","./PersonCircleOutline-DFO77GzI.js","./SynthesisOutline-DU1b2CPh.js"])))=>i.map(i=>d[i]);
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{In as r,Ln as i,jt as a,n as o}from"./axios-v6FV69Ne.js";import{t as s}from"./preload-helper-D0MDUw1L.js";import{F as c}from"./index-BqyXv5bE.js";var l=e(t());i();var u={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z`}},{tag:`path`,attrs:{d:`M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z`}}]},name:`plus-circle`,theme:`outlined`},d=l.forwardRef(function(e,t){return l.createElement(a,r(r({},e),{},{ref:t,icon:u}))}),f=e(o()),p=n(),m=Object.assign({"../../components/shared/svg/icons/Filter.jsx":()=>s(()=>import(`./Filter-6hGzrL6X.js`).then(e=>e.t),__vite__mapDeps([0,1,2]),import.meta.url),"../../components/shared/svg/icons/FilterOutline.jsx":()=>s(()=>import(`./FilterOutline-0NxB8lny.js`).then(e=>e.t),__vite__mapDeps([3,1,2]),import.meta.url),"../../components/shared/svg/icons/Home.jsx":()=>s(()=>import(`./Home-C0KXjxek.js`).then(e=>e.t),__vite__mapDeps([4,1,2]),import.meta.url),"../../components/shared/svg/icons/HomeOutline.jsx":()=>s(()=>import(`./HomeOutline-DA8r8OiJ.js`).then(e=>e.t),__vite__mapDeps([5,1,2]),import.meta.url),"../../components/shared/svg/icons/Hospital.jsx":()=>s(()=>import(`./Hospital-CLc27vPC.js`),__vite__mapDeps([6,1,2]),import.meta.url),"../../components/shared/svg/icons/Information.jsx":()=>s(()=>import(`./Information-Dvaqgobw.js`).then(e=>e.t),__vite__mapDeps([7,1,2]),import.meta.url),"../../components/shared/svg/icons/NotificationsOutline.jsx":()=>s(()=>import(`./NotificationsOutline-COWH5lJd.js`).then(e=>e.t),__vite__mapDeps([8,1,2]),import.meta.url),"../../components/shared/svg/icons/PeopleOutline.jsx":()=>s(()=>import(`./PeopleOutline-B7nsOh6I.js`),__vite__mapDeps([9,1,2]),import.meta.url),"../../components/shared/svg/icons/PersonCircleOutline.jsx":()=>s(()=>import(`./PersonCircleOutline-DFO77GzI.js`).then(e=>e.t),__vite__mapDeps([10,1,2]),import.meta.url),"../../components/shared/svg/icons/SynthesisOutline.jsx":()=>s(()=>import(`./SynthesisOutline-DU1b2CPh.js`).then(e=>e.n),__vite__mapDeps([11,1,2]),import.meta.url)}),h=(e,t)=>{let[n,r]=(0,l.useState)(null);return(0,l.useEffect)(()=>{let n=!0;return(async()=>{try{let i=[``,`.jsx`,`.tsx`,`.js`,`.ts`],a=null;for(let t of i){let n=`../../components/${e}${t}`;if(m[n]){a=m[n];break}}if(!a){console.error(`Composant non trouvé: ${e}`);return}let o=(await a()).default;n&&r((0,p.jsx)(o,{...t}))}catch(t){console.error(`Erreur lors de l'import de ${e}:`,t)}})(),()=>{n=!1}},[e,t]),n},g=({label:e,isCti:t,icon:n,toolTipLabel:r})=>{let i=h(`shared/svg/icons/${n}`);return(0,p.jsxs)(p.Fragment,{children:[(t===`0`||t===`false`||!t)&&(0,p.jsx)(c,{title:r,children:i}),e]})};g.propTypes={label:f.default.string,isCti:f.default.oneOfType([f.default.string,f.default.bool]),icon:f.default.string};export{d as n,g as t};