@lystech/core 3.0.70 → 3.0.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1687,7 +1687,7 @@ html body {
1687
1687
  `,RB=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Ev={},Sr;function DB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&Ev[n])return Ev[n];var r=window.getComputedStyle(e),a=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),o=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=RB.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),c={sizingStyle:s,paddingSize:i,borderSize:o,boxSizing:a};return t&&n&&(Ev[n]=c),c}function jB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Sr||(Sr=document.createElement("textarea"),Sr.setAttribute("tab-index","-1"),Sr.setAttribute("aria-hidden","true"),Sr.setAttribute("name","hiddenTextarea"),document.body.appendChild(Sr)),e.getAttribute("wrap")?Sr.setAttribute("wrap",e.getAttribute("wrap")):Sr.removeAttribute("wrap");var a=DB(e,t),i=a.paddingSize,o=a.borderSize,s=a.boxSizing,c=a.sizingStyle;Sr.setAttribute("style","".concat(c,";").concat(IB)),Sr.value=e.value||e.placeholder||"";var u=void 0,d=void 0,f,h=Sr.scrollHeight;if(s==="border-box"?h+=o:s==="content-box"&&(h-=i),n!==null||r!==null){Sr.value=" ";var v=Sr.scrollHeight-i;n!==null&&(u=v*n,s==="border-box"&&(u=u+i+o),h=Math.max(u,h)),r!==null&&(d=v*r,s==="border-box"&&(d=d+i+o),f=h>d?"":"hidden",h=Math.min(d,h))}var g={height:h,overflowY:f,resize:"none"};return u&&(g.minHeight=u),d&&(g.maxHeight=d),g}var TB=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],xv=0,Av=1,Ov=2,LB=l.forwardRef(function(e,t){var n=e,r=n.prefixCls,a=n.defaultValue,i=n.value,o=n.autoSize,s=n.onResize,c=n.className,u=n.style,d=n.disabled,f=n.onChange,h=n.onInternalAutoSize,v=wt(n,TB),g=un(a,{value:i,postState:function(Y){return Y??""}}),p=Q(g,2),m=p[0],b=p[1],y=function(Y){b(Y.target.value),f==null||f(Y)},w=l.useRef();l.useImperativeHandle(t,function(){return{textArea:w.current}});var E=l.useMemo(function(){return o&&st(o)==="object"?[o.minRows,o.maxRows]:[]},[o]),x=Q(E,2),S=x[0],A=x[1],P=!!o,M=function(){try{if(document.activeElement===w.current){var Y=w.current,X=Y.selectionStart,q=Y.selectionEnd,ee=Y.scrollTop;w.current.setSelectionRange(X,q),w.current.scrollTop=ee}}catch{}},N=l.useState(Ov),I=Q(N,2),L=I[0],D=I[1],R=l.useState(),T=Q(R,2),j=T[0],z=T[1],F=function(){D(xv),process.env.NODE_ENV==="test"&&(h==null||h())};Kt(function(){P&&F()},[i,S,A,P]),Kt(function(){if(L===xv)D(Av);else if(L===Av){var W=jB(w.current,!1,S,A);D(Ov),z(W)}else M()},[L]);var V=l.useRef(),U=function(){zt.cancel(V.current)},k=function(Y){L===Ov&&(s==null||s(Y),o&&(U(),V.current=zt(function(){F()})))};l.useEffect(function(){return U},[]);var H=P?j:null,B=G(G({},u),H);return(L===xv||L===Av)&&(B.overflowY="hidden",B.overflowX="hidden"),l.createElement(rr,{onResize:k,disabled:!(o||s)},l.createElement("textarea",Ie({},v,{ref:w,style:B,className:ce(r,c,K({},"".concat(r,"-disabled"),d)),disabled:d,value:m,onChange:y})))}),zB=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],FB=O.forwardRef(function(e,t){var n,r=e.defaultValue,a=e.value,i=e.onFocus,o=e.onBlur,s=e.onChange,c=e.allowClear,u=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,h=e.suffix,v=e.prefixCls,g=v===void 0?"rc-textarea":v,p=e.showCount,m=e.count,b=e.className,y=e.style,w=e.disabled,E=e.hidden,x=e.classNames,S=e.styles,A=e.onResize,P=e.onClear,M=e.onPressEnter,N=e.readOnly,I=e.autoSize,L=e.onKeyDown,D=wt(e,zB),R=un(r,{value:a,defaultValue:r}),T=Q(R,2),j=T[0],z=T[1],F=j==null?"":String(j),V=O.useState(!1),U=Q(V,2),k=U[0],H=U[1],B=O.useRef(!1),W=O.useState(null),Y=Q(W,2),X=Y[0],q=Y[1],ee=O.useRef(null),ie=O.useRef(null),oe=function(){var fe;return(fe=ie.current)===null||fe===void 0?void 0:fe.textArea},_=function(){oe().focus()};O.useImperativeHandle(t,function(){var ue;return{resizableTextArea:ie.current,focus:_,blur:function(){oe().blur()},nativeElement:((ue=ee.current)===null||ue===void 0?void 0:ue.nativeElement)||oe()}}),O.useEffect(function(){H(function(ue){return!w&&ue})},[w]);var te=O.useState(null),le=Q(te,2),$=le[0],de=le[1];O.useEffect(function(){if($){var ue;(ue=oe()).setSelectionRange.apply(ue,He($))}},[$]);var se=oE(m,p),pe=(n=se.max)!==null&&n!==void 0?n:u,ye=Number(pe)>0,Se=se.strategy(F),ae=!!pe&&Se>pe,ne=function(fe,he){var Oe=he;!B.current&&se.exceedFormatter&&se.max&&se.strategy(he)>se.max&&(Oe=se.exceedFormatter(he,{max:se.max}),he!==Oe&&de([oe().selectionStart||0,oe().selectionEnd||0])),z(Oe),ku(fe.currentTarget,fe,s,Oe)},be=function(fe){B.current=!0,d==null||d(fe)},we=function(fe){B.current=!1,ne(fe,fe.currentTarget.value),f==null||f(fe)},ge=function(fe){ne(fe,fe.target.value)},xe=function(fe){fe.key==="Enter"&&M&&M(fe),L==null||L(fe)},Ne=function(fe){H(!0),i==null||i(fe)},ke=function(fe){H(!1),o==null||o(fe)},ze=function(fe){z(""),_(),ku(oe(),fe,s)},Te=h,qe;se.show&&(se.showFormatter?qe=se.showFormatter({value:F,count:Se,maxLength:pe}):qe="".concat(Se).concat(ye?" / ".concat(pe):""),Te=O.createElement(O.Fragment,null,Te,O.createElement("span",{className:ce("".concat(g,"-data-count"),x==null?void 0:x.count),style:S==null?void 0:S.count},qe)));var J=function(fe){var he;A==null||A(fe),(he=oe())!==null&&he!==void 0&&he.style.height&&q(!0)},re=!I&&!p&&!c;return O.createElement(iE,{ref:ee,value:F,allowClear:c,handleReset:ze,suffix:Te,prefixCls:g,classNames:G(G({},x),{},{affixWrapper:ce(x==null?void 0:x.affixWrapper,K(K({},"".concat(g,"-show-count"),p),"".concat(g,"-textarea-allow-clear"),c))}),disabled:w,focused:k,className:ce(b,ae&&"".concat(g,"-out-of-range")),style:G(G({},y),X&&!re?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof qe=="string"?qe:void 0}},hidden:E,readOnly:N,onClear:P},O.createElement(LB,Ie({},D,{autoSize:I,maxLength:u,onKeyDown:xe,onChange:ge,onFocus:Ne,onBlur:ke,onCompositionStart:be,onCompositionEnd:we,className:ce(x==null?void 0:x.textarea),style:G(G({},S==null?void 0:S.textarea),{},{resize:y==null?void 0:y.resize}),disabled:w,prefixCls:g,onResize:J,ref:ie,readOnly:N})))});const kB=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}`,resize:"vertical",[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[r]:{position:"relative","&-show-count":{[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
1688
1688
  &-allow-clear > ${t},
1689
1689
  &-affix-wrapper${r}-has-feedback ${t}
1690
- `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:"ltr",insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},HB=jn(["Input","TextArea"],e=>{const t=Xt(e,ll(e));return[kB(t)]},cl,{resetFont:!1});var BB=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const VB=O.forwardRef((e,t)=>{var n;const{prefixCls:r,bordered:a=!0,size:i,disabled:o,status:s,allowClear:c,classNames:u,rootClassName:d,className:f,style:h,styles:v,variant:g,showCount:p,onMouseDown:m,onResize:b}=e,y=BB(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]);if(process.env.NODE_ENV!=="production"){const{deprecated:se}=rn("TextArea");se(!("bordered"in e),"bordered","variant")}const{getPrefixCls:w,direction:E,allowClear:x,autoComplete:S,className:A,style:P,classNames:M,styles:N}=br("textArea"),I=l.useContext(Yr),L=o??I,{status:D,hasFeedback:R,feedbackIcon:T}=l.useContext(wr),j=Po(D,s),z=l.useRef(null);l.useImperativeHandle(t,()=>{var se;return{resizableTextArea:(se=z.current)===null||se===void 0?void 0:se.resizableTextArea,focus:pe=>{var ye,Se;aE((Se=(ye=z.current)===null||ye===void 0?void 0:ye.resizableTextArea)===null||Se===void 0?void 0:Se.textArea,pe)},blur:()=>{var pe;return(pe=z.current)===null||pe===void 0?void 0:pe.blur()}}});const F=w("input",r),V=Nr(F),[U,k,H]=LS(F,d),[B]=HB(F,V),{compactSize:W,compactItemClassnames:Y}=Mi(F,E),X=Ir(se=>{var pe;return(pe=i??W)!==null&&pe!==void 0?pe:se}),[q,ee]=No("textArea",g,a),ie=sE(c??x),[oe,_]=l.useState(!1),[te,le]=l.useState(!1),$=se=>{_(!0),m==null||m(se);const pe=()=>{_(!1),document.removeEventListener("mouseup",pe)};document.addEventListener("mouseup",pe)},de=se=>{var pe,ye;if(b==null||b(se),oe&&typeof getComputedStyle=="function"){const Se=(ye=(pe=z.current)===null||pe===void 0?void 0:pe.nativeElement)===null||ye===void 0?void 0:ye.querySelector("textarea");Se&&getComputedStyle(Se).resize==="both"&&le(!0)}};return U(B(l.createElement(FB,Object.assign({autoComplete:S},y,{style:Object.assign(Object.assign({},P),h),styles:Object.assign(Object.assign({},N),v),disabled:L,allowClear:ie,className:ce(H,V,f,d,Y,A,te&&`${F}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},u),M),{textarea:ce({[`${F}-sm`]:X==="small",[`${F}-lg`]:X==="large"},k,u==null?void 0:u.textarea,M.textarea,oe&&`${F}-mouse-active`),variant:ce({[`${F}-${q}`]:ee},Mo(F,j)),affixWrapper:ce(`${F}-textarea-affix-wrapper`,{[`${F}-affix-wrapper-rtl`]:E==="rtl",[`${F}-affix-wrapper-sm`]:X==="small",[`${F}-affix-wrapper-lg`]:X==="large",[`${F}-textarea-show-count`]:p||((n=e.count)===null||n===void 0?void 0:n.show)},k)}),prefixCls:F,suffix:R&&l.createElement("span",{className:`${F}-textarea-suffix`},T),showCount:p,ref:z,onResize:de,onMouseDown:$}))))}),Bn=ul;Bn.Group=gB,Bn.Search=RE,Bn.TextArea=VB,Bn.Password=IE,Bn.OTP=EB;let Tr=null,zi=e=>e(),dl=[],fl={};function DE(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:a}=fl,i=(e==null?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:r,top:a}}const YB=O.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:a}=O.useContext(Dt),i=fl.prefixCls||a("message"),o=O.useContext(gT),[s,c]=qy(Object.assign(Object.assign(Object.assign({},n),{prefixCls:i}),o.message));return O.useImperativeHandle(t,()=>{const u=Object.assign({},s);return Object.keys(u).forEach(d=>{u[d]=(...f)=>(r(),s[d].apply(s,f))}),{instance:u,sync:r}}),c}),WB=O.forwardRef((e,t)=>{const[n,r]=O.useState(DE),a=()=>{r(DE)};O.useEffect(a,[]);const i=Oy(),o=i.getRootPrefixCls(),s=i.getIconPrefixCls(),c=i.getTheme(),u=O.createElement(YB,{ref:t,sync:a,messageConfig:n});return O.createElement(_a,{prefixCls:o,iconPrefixCls:s,theme:c},i.holderRender?i.holderRender(u):u)});function Bu(){if(!Tr){const e=document.createDocumentFragment(),t={fragment:e};Tr=t,zi(()=>{nC()(O.createElement(WB,{ref:r=>{const{instance:a,sync:i}=r||{};Promise.resolve().then(()=>{!t.instance&&a&&(t.instance=a,t.sync=i,Bu())})}}),e)});return}Tr.instance&&(dl.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{zi(()=>{const r=Tr.instance.open(Object.assign(Object.assign({},fl),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":zi(()=>{Tr==null||Tr.instance.destroy(e.key)});break;default:zi(()=>{var r;const a=(r=Tr.instance)[t].apply(r,He(e.args));a==null||a.then(e.resolve),e.setCloseFn(a)})}}),dl=[])}function UB(e){fl=Object.assign(Object.assign({},fl),e),zi(()=>{var t;(t=Tr==null?void 0:Tr.sync)===null||t===void 0||t.call(Tr)})}function GB(e){const t=Th(n=>{let r;const a={type:"open",config:e,resolve:n,setCloseFn:i=>{r=i}};return dl.push(a),()=>{r?zi(()=>{r()}):a.skipped=!0}});return Bu(),t}function KB(e,t){const n=Oy();process.env.NODE_ENV!=="production"&&!n.holderRender&&WR("message");const r=Th(a=>{let i;const o={type:e,args:t,resolve:a,setCloseFn:s=>{i=s}};return dl.push(o),()=>{i?zi(()=>{i()}):o.skipped=!0}});return Bu(),r}const ZB=e=>{dl.push({type:"destroy",key:e}),Bu()},QB=["success","info","warning","error","loading"],jE={open:GB,destroy:ZB,config:UB,useMessage:_D,_InternalPanelDoNotUseOrYouWillBeFired:UD};QB.forEach(e=>{jE[e]=(...t)=>KB(e,t)}),process.env.NODE_ENV,process.env.NODE_ENV;var XB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"}}]},name:"heart",theme:"filled"},qB=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:XB}))},JB=l.forwardRef(qB);process.env.NODE_ENV!=="production"&&(JB.displayName="HeartFilled");var _B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"}}]},name:"heart",theme:"outlined"},$B=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:_B}))},eV=l.forwardRef($B);process.env.NODE_ENV!=="production"&&(eV.displayName="HeartOutlined");var tV={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z",fill:t}},{tag:"path",attrs:{d:"M679.7 201c-73.1 0-136.5 40.8-167.7 100.4C480.8 241.8 417.4 201 344.3 201c-104 0-188.3 82.6-188.3 184.5 0 201.2 356 429.3 356 429.3s356-228.1 356-429.3C868 283.6 783.7 201 679.7 201z",fill:n}}]}},name:"heart",theme:"twotone"},nV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:tV}))},rV=l.forwardRef(nV);process.env.NODE_ENV!=="production"&&(rV.displayName="HeartTwoTone");var aV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z"}}]},name:"mail",theme:"outlined"},iV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:aV}))},Mv=l.forwardRef(iV);process.env.NODE_ENV!=="production"&&(Mv.displayName="MailOutlined");var oV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},sV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:oV}))},TE=l.forwardRef(sV);process.env.NODE_ENV!=="production"&&(TE.displayName="StarFilled");const lV=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},Dn(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${me(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorIcon,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},Pv=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM;return Xt(e,{tagFontSize:a,tagLineHeight:me(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},Nv=e=>({defaultBg:new qt(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),LE=jn("Tag",e=>{const t=Pv(e);return lV(t)},Nv);var cV=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const uV=l.forwardRef((e,t)=>{const{prefixCls:n,style:r,className:a,checked:i,onChange:o,onClick:s}=e,c=cV(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:d}=l.useContext(Dt),f=b=>{o==null||o(!i),s==null||s(b)},h=u("tag",n),[v,g,p]=LE(h),m=ce(h,`${h}-checkable`,{[`${h}-checkable-checked`]:i},d==null?void 0:d.className,a,g,p);return v(l.createElement("span",Object.assign({},c,{ref:t,style:Object.assign(Object.assign({},r),d==null?void 0:d.style),className:m,onClick:f})))}),dV=e=>iy(e,(t,{textColor:n,lightBorderColor:r,lightColor:a,darkColor:i})=>({[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:a,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}})),fV=yh(["Tag","preset"],e=>{const t=Pv(e);return dV(t)},Nv);function hV(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const Vu=(e,t,n)=>{const r=hV(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},mV=yh(["Tag","status"],e=>{const t=Pv(e);return[Vu(t,"success","Success"),Vu(t,"processing","Info"),Vu(t,"error","Error"),Vu(t,"warning","Warning")]},Nv);var vV=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const Iv=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:a,style:i,children:o,icon:s,color:c,onClose:u,bordered:d=!0,visible:f}=e,h=vV(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:v,direction:g,tag:p}=l.useContext(Dt),[m,b]=l.useState(!0),y=Qn(h,["closeIcon","closable"]);process.env.NODE_ENV!=="production"&&rn("Tag").deprecated(!("visible"in e),"visible","visible && <Tag />"),l.useEffect(()=>{f!==void 0&&b(f)},[f]);const w=aw(c),E=YL(c),x=w||E,S=Object.assign(Object.assign({backgroundColor:c&&!x?c:void 0},p==null?void 0:p.style),i),A=v("tag",n),[P,M,N]=LE(A),I=ce(A,p==null?void 0:p.className,{[`${A}-${c}`]:x,[`${A}-has-color`]:c&&!x,[`${A}-hidden`]:!m,[`${A}-rtl`]:g==="rtl",[`${A}-borderless`]:!d},r,a,M,N),L=F=>{F.stopPropagation(),u==null||u(F),!F.defaultPrevented&&b(!1)},[,D]=ZC(iu(e),iu(p),{closable:!1,closeIconRender:F=>{const V=l.createElement("span",{className:`${A}-close-icon`,onClick:L},F);return Dh(F,V,U=>({onClick:k=>{var H;(H=U==null?void 0:U.onClick)===null||H===void 0||H.call(U,k),L(k)},className:ce(U==null?void 0:U.className,`${A}-close-icon`)}))}}),R=typeof h.onClick=="function"||o&&o.type==="a",T=s||null,j=T?l.createElement(l.Fragment,null,T,o&&l.createElement("span",null,o)):o,z=l.createElement("span",Object.assign({},y,{ref:t,className:I,style:S}),j,D,w&&l.createElement(fV,{key:"preset",prefixCls:A}),E&&l.createElement(mV,{key:"status",prefixCls:A}));return P(R?l.createElement(Kc,{component:"Tag"},z):z)});process.env.NODE_ENV!=="production"&&(Iv.displayName="Tag"),Iv.CheckableTag=uV;const zE=O.createContext({popupElement:null,confirmPopupElement:null,showPopup:()=>{},showConfirmPopup:()=>{},hidePopup:()=>{},hideConfirmPopup:()=>{},isPopupShowing:!1,isConfirmPopupShowing:!1,showMessage:()=>{},hideMessage:()=>{}}),FE=4400,Zr=()=>O.useContext(zE);function gV({children:e}){const[t,n]=O.useState(null),[r,a]=O.useState(null),[i,o]=O.useState(null),[s,c]=jE.useMessage(),u=O.useCallback(b=>{const{type:y,message:w,key:E,duration:x}=b;if(s.open({type:y,content:w,key:E,duration:x||FE}),b.type==="loading"){const{duration:S}=b;setTimeout(()=>{s.destroy()},S)}else setTimeout(()=>{s.destroy()},x||FE)},[s]);function d(b){s.destroy(b)}const f=O.useMemo(()=>!!t,[t]),h=O.useMemo(()=>!!i,[i]);function v(){n(null)}function g(b){n(b)}function p(b){o(b)}function m(){o(null)}return C.jsxs(zE.Provider,{value:{popupElement:t,confirmPopupElement:i,isPopupShowing:f,isConfirmPopupShowing:h,showPopup:g,showConfirmPopup:p,hidePopup:v,hideConfirmPopup:m,showMessage:u,hideMessage:d},children:[c,e,t?C.jsx("div",{className:"popup",children:t}):null,r?C.jsx("div",{className:"popup",children:r}):null,i||null]})}const kE=O.createContext({children:null}),pV=()=>O.useContext(kE);function bV({children:e}){const{debugMode:t}=Fi(),{showMessage:n}=Zr();function r(i){const o=localStorage.getItem("missing-endpoints")||"[]",s=JSON.parse(o);i.config.url;const c=s.findIndex(u=>u.endpoint===u.endpoint);c!==-1&&s.splice(c,1),localStorage.setItem("missing-endpoints",JSON.stringify(s))}function a(i){var u,d,f,h;const o=((u=i==null?void 0:i.response)==null?void 0:u.status)||0,s=i,c=`[${((d=s==null?void 0:s.config)==null?void 0:d.method)||""}] -> ${((f=s==null?void 0:s.config)==null?void 0:f.url)||""}`;if(t&&console.log("Axios Error:",{status:o,req:c,error:s,message:s==null?void 0:s.message}),o===404){const v=window.location.pathname,g=localStorage.getItem("missing-endpoints")||"[]",p=JSON.parse(g),m={page:v,endpoint:((h=i.config)==null?void 0:h.url)||""};p.find(y=>y.endpoint===m.endpoint)||p.push(m),localStorage.setItem("missing-endpoints",JSON.stringify(p)),t&&(console.log("--------- Missing endpoints ---------"),p.forEach(y=>{console.log(`Page: ${y.page} - Endpoint: ${y.endpoint}`)}),console.log("--------- Missing endpoints ---------"))}}return O.useLayoutEffect(()=>{const i=Rt.interceptors.request.use(s=>{const c=localStorage.getItem("authKey"),u=localStorage.getItem("impersonatedUserAuthKey"),d=localStorage.getItem("Organization"),h=d||""||d||"",v=localStorage.getItem("token"),g=localStorage.getItem("currentSubscriptionEndpoint")||"";return s!=null&&s.headers||(s.headers={"Content-Type":"application/json"}),t&&(console.log("••••••••••••* Début - AxiosMiddlewareProvider"),console.log("Endpoint:",s.url,"Method:",s.method)),c?(s.headers.Authorization=c,t&&console.log("✔️ AuthKey trouvé: ",c)):t&&console.log("❌ AuthKey"),h?(s.headers.Organization=h,t&&console.log("✔️ Organization trouvé: ",h)):t&&console.log("❌ Organization"),u&&(s.headers.ImpersonateAuthorization=u,t&&console.log("✔️ ImpersonateAuthorization trouvé: ",u)),v&&(s.headers.Token=v,t&&console.log("✔️ Token trouvé: ",v)),g&&(s.headers.pnendpoint=g,t&&console.log("✔️ currentSubscriptionEndpoint trouvé: ",g)),t&&(console.log("Axios Request - Endpoint:",s.url),console.log("Axios Request - Authorization:",s.headers.Authorization),console.log("Axios Request - ImpersonateAuthorization:",s.headers.ImpersonateAuthorization),console.log("Axios Request - Organization:",s.headers.Organization),console.log("Axios Request - Token:",s.headers.Token),console.log("••••••••••••* FIN - AxiosMiddlewareProvider")),s},async s=>(n({type:"error",message:"une erreur est survenue"}),Promise.reject(s))),o=Rt.interceptors.response.use(s=>(r(s),s),async s=>{var p,m,b,y,w,E,x;a(s);const c=((p=s==null?void 0:s.response)==null?void 0:p.status)||0,u=s,d=((m=u==null?void 0:u.config)==null?void 0:m.method)||"",f=((b=u==null?void 0:u.config)==null?void 0:b.url)||"",h=`[${d}] -> ${f}`,v=((w=(y=u==null?void 0:u.response)==null?void 0:y.data)==null?void 0:w.message)||"Une erreur est survenue",g=((x=(E=u==null?void 0:u.response)==null?void 0:E.data)==null?void 0:x.code)||"UNKNOWN_ERROR";return Promise.reject({status:c,req:h,error:u,message:v,code:g,success:!1})});return()=>{Rt.interceptors.request.eject(i),Rt.interceptors.response.eject(o)}},[]),C.jsx(kE.Provider,{value:{children:e},children:e})}function HE({visible:e,title:t,onConfirm:n,onCancel:r,okText:a="Oui",cancelText:i="Non",position:o}){const s=O.useRef(null);O.useEffect(()=>{const u=f=>{s.current&&!s.current.contains(f.target)&&r()},d=f=>{f.key==="Escape"&&r()};return e&&(document.addEventListener("mousedown",u),document.addEventListener("keydown",d)),()=>{document.removeEventListener("mousedown",u),document.removeEventListener("keydown",d)}},[e,r]);const c=()=>{if(!e)return{display:"none"};const u=250,d=120;let f=o.x,h=o.y;return o.x+u>window.innerWidth&&(f=o.x-u),o.y+d>window.innerHeight&&(h=o.y-d),f=Math.max(10,f),h=Math.max(10,h),{position:"fixed",left:`${f}px`,top:`${h}px`,zIndex:1e4}};return e?C.jsx("div",{ref:s,className:"context-menu-confirm",style:c(),children:C.jsxs("div",{className:"confirm-content",children:[C.jsx("div",{className:"confirm-title",children:t}),C.jsxs("div",{className:"confirm-buttons",children:[C.jsx(Vt,{size:"small",onClick:r,children:i}),C.jsx(Vt,{size:"small",type:"primary",danger:!0,onClick:n,children:a})]})]})}):null}function BE(){var u,d,f;const{contextMenuState:e,hideContextMenu:t}=Rv(),n=O.useRef(null),[r,a]=O.useState({visible:!1,option:null,position:{x:0,y:0}});O.useEffect(()=>{const h=g=>{n.current&&!n.current.contains(g.target)&&(t(),a({visible:!1,option:null,position:{x:0,y:0}}))},v=g=>{g.key==="Escape"&&(r.visible?a({visible:!1,option:null,position:{x:0,y:0}}):t())};return e.isVisible&&(document.addEventListener("mousedown",h),document.addEventListener("keydown",v)),()=>{document.removeEventListener("mousedown",h),document.removeEventListener("keydown",v)}},[e.isVisible,r.visible,t]);const i=(h,v)=>{const g=v.target.getBoundingClientRect();a({visible:!0,option:h,position:{x:g.right+10,y:g.top}})},o=()=>{r.option&&(r.option.onClick(),t(),a({visible:!1,option:null,position:{x:0,y:0}}))},s=()=>{a({visible:!1,option:null,position:{x:0,y:0}})},c=()=>{if(!e.isVisible)return{display:"none"};const{x:h,y:v}=e,g=200,p=300;let m=h,b=v;return h+g>window.innerWidth&&(m=h-g),v+p>window.innerHeight&&(b=v-p),{position:"fixed",left:`${m}px`,top:`${b}px`,zIndex:9999}};return e.isVisible?C.jsxs("div",{ref:n,className:"context-menu",style:c(),children:[e.title&&C.jsx("div",{className:"context-menu-title",children:e.title}),C.jsx("div",{className:"context-menu-options",children:e.options.map((h,v)=>C.jsxs(O.Fragment,{children:[h.separator&&C.jsx("div",{className:"context-menu-separator"})," ",h.requestConfirmation?C.jsxs(Vt,{disabled:h.disabled,className:`context-menu-option ${h.disabled?"disabled":""}`,onClick:g=>{h.disabled||i(h,g)},children:[C.jsx("span",{className:"context-menu-label",children:h.label}),h.icon&&C.jsx("span",{className:"context-menu-icon",children:h.icon})]}):C.jsxs(Vt,{disabled:h.disabled,className:`context-menu-option ${h.disabled?"disabled":""}`,onClick:()=>{h.disabled||(h.onClick(),t())},children:[C.jsx("span",{className:"context-menu-label",children:h.label}),h.icon&&C.jsx("span",{className:"context-menu-icon",children:h.icon})]})]},v))}),C.jsx(HE,{visible:r.visible,title:((u=r.option)==null?void 0:u.confirmationMessage)||"Êtes-vous sûr de vouloir faire ça?",onConfirm:o,onCancel:s,okText:((d=r.option)==null?void 0:d.yesText)||"Oui",cancelText:((f=r.option)==null?void 0:f.noText)||"Non",position:r.position})]}):null}const VE=O.createContext(null),Rv=()=>{const e=O.useContext(VE);if(!e)throw new Error("useContextMenu must be used within ContextMenuProvider");return e},hl=()=>{const{showContextMenu:e}=Rv();return{handleContextMenu:(n,r,a)=>{n.preventDefault(),n.stopPropagation(),e(n.clientX,n.clientY,r,a)}}};function YE({children:e}){const[t,n]=O.useState({isVisible:!1,x:0,y:0,options:[],title:void 0}),r=(i,o,s,c)=>{n({isVisible:!0,x:i,y:o,options:s,title:c})},a=()=>{n(i=>({...i,isVisible:!1}))};return C.jsxs(VE.Provider,{value:{showContextMenu:r,hideContextMenu:a,contextMenuState:t},children:[C.jsx(BE,{}),e]})}function yV(){const{isPushSupported:e,isSubscribed:t,pushMessage:n,vapidPublicKey:r,subscribePush:a,unsubscribePush:i,sendTestPushNotification:o}=Yu();return C.jsxs("div",{className:"p-10",children:[C.jsx("h3",{children:"Statut des Notifications Push"}),C.jsxs("p",{children:["Supporté:"," ",C.jsx("span",{style:{color:e?"green":"red",fontWeight:"bold"},children:e?"Oui":"Non"})]}),C.jsxs("p",{children:["Clé VAPID:"," ",C.jsx("span",{style:{color:r?"green":"red",fontWeight:"bold"},children:r?"Oui":"Non"})]}),C.jsxs("p",{children:["Abonné:"," ",C.jsx("span",{style:{color:t?"green":"red",fontWeight:"bold"},children:t?"Oui":"Non"})]}),C.jsxs("p",{children:["Message:"," ",C.jsx("span",{style:{color:n?"green":"red",fontWeight:"bold"},children:n||"Aucun"})]}),!t&&e&&C.jsx("button",{onClick:a,children:"S'abonner aux notifications"}),t&&e&&C.jsx("button",{onClick:i,children:"Se désabonner"}),t&&o&&C.jsx("button",{onClick:()=>o("Titre du test","Corps du message de test"),children:"Envoyer une notification de test"})]})}const WE=O.createContext({isPushSupported:!1,isSubscribed:!1,isPushSubscriptionLoading:!1,pushMessage:"",vapidPublicKey:null,currentSubscriptionEndpoint:null,subscribePush:async()=>{},unsubscribePush:async()=>{}}),Yu=()=>O.useContext(WE),CV=e=>{const t="=".repeat((4-e.length%4)%4),n=(e+t).replace(/\-/g,"+").replace(/_/g,"/"),r=window.atob(n),a=new Uint8Array(r.length);for(let i=0;i<r.length;++i)a[i]=r.charCodeAt(i);return a};function wV({children:e,usePushNotifications:t}){const{debugMode:n}=Fi(),[r,a]=O.useState(!1),[i,o]=O.useState(!1),[s,c]=O.useState(null),[u,d]=O.useState(null),[f,h]=O.useState(""),[v,g]=O.useState(!0);O.useEffect(()=>{if(!t){n&&console.log("Notifications push désactivées par la prop usePushNotifications."),h("Notifications push désactivées.");return}"serviceWorker"in navigator&&"PushManager"in window?(a(!0),n&&console.log("Les notifications push sont supportées."),g(!0),Rt.get("/push-notification/key").then(y=>{d(y.data.publicVapidKey),n&&console.log("Clé publique VAPID récupérée:",y.data.publicVapidKey)}).catch(y=>{n&&console.error("Erreur lors de la récupération de la clé VAPID:",y),h("Erreur: Impossible de récupérer la clé VAPID du serveur.")}),navigator.serviceWorker.register("/service-worker.js").then(y=>(n&&console.log("Service Worker enregistré avec succès:",y),y.pushManager.getSubscription())).then(y=>{y?(n&&console.log("Utilisateur déjà abonné:",y),c(y),o(!0),h("Vous êtes abonné aux notifications.")):(n&&console.log("Utilisateur non abonné."),o(!1),h("Vous n'êtes pas abonné aux notifications.")),g(!1)}).catch(y=>{n&&console.error("Erreur lors de l'enregistrement du Service Worker ou de la récupération de l'abonnement:",y),h("Erreur: Impossible d'enregistrer le Service Worker.")})):(n&&console.warn("Les notifications push ne sont pas supportées par ce navigateur."),h("Votre navigateur ne supporte pas les notifications push."))},[t,n]),O.useEffect(()=>{localStorage.setItem("currentSubscriptionEndpoint",(s==null?void 0:s.endpoint)||"")},[s==null?void 0:s.endpoint]);const p=O.useCallback(async()=>{if(!r||!u){h("Les notifications push ne sont pas supportées ou la clé VAPID est manquante.");return}try{const w=await(await navigator.serviceWorker.ready).pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:CV(u)});n&&console.log("Abonnement push réussi:",w),c(w),o(!0),h("Abonnement réussi !"),await Rt.post("/push-notification/subscribe",w),n&&console.log("Abonnement envoyé au serveur.")}catch(y){n&&console.error("Échec de l'abonnement push:",y),h(`Échec de l'abonnement: ${y instanceof Error?y.message:String(y)}`)}},[r,u,n]),m=O.useCallback(async()=>{if(!r||!s){h("Pas d'abonnement à désinscrire.");return}try{await s.unsubscribe(),n&&console.log("Désabonnement push réussi."),c(null),o(!1),h("Désabonnement réussi !")}catch(y){n&&console.error("Échec du désabonnement push:",y),h(`Échec du désabonnement: ${y instanceof Error?y.message:String(y)}`)}},[r,s,n]),b=O.useCallback(async(y,w)=>{var E;if(!i){h("Veuillez vous abonner d'abord pour envoyer une notification de test.");return}if(!n){h("Le mode débogage n'est pas activé pour envoyer des notifications de test.");return}try{const x=await Rt.post("/push-notification/send",{title:y,body:w});x.status===200?h("Notification de test envoyée (vérifiez votre écran)."):h(`Erreur lors de l'envoi de la notification: ${((E=x.data)==null?void 0:E.message)||x.statusText}`)}catch(x){n&&console.error("Erreur lors de l'envoi de la notification de test:",x),h(`Erreur réseau lors de l'envoi: ${x instanceof Error?x.message:String(x)}`)}},[i,n]);return C.jsxs(WE.Provider,{value:{usePushNotifications:t,isPushSupported:r,isSubscribed:i,isPushSubscriptionLoading:v,pushMessage:f,vapidPublicKey:u,currentSubscriptionEndpoint:(s==null?void 0:s.endpoint)||null,subscribePush:p,unsubscribePush:m,sendTestPushNotification:n?b:void 0},children:[n&&t&&C.jsx(yV,{}),e]})}const UE=O.createContext({isProgressiveWebAppInstalled:!1,canInstallProgressiveWebApp:!1,progressiveWebAppMessage:"",isMobile:!1,installProgressiveWebApp:async()=>{}}),Dv=()=>O.useContext(UE);function SV({children:e}){const{debugMode:t,useProgressiveWebAppFeatures:n}=Fi(),[r,a]=O.useState(!1),[i,o]=O.useState(null),[s,c]=O.useState(""),[u,d]=O.useState(!1),f=!1;O.useEffect(()=>{const v=()=>{const g=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|rim)|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,p=/android|ipad|playbook|silk/i,m=g.test(navigator.userAgent)||p.test(navigator.userAgent);d(m),t&&console.log("Détection mobile:",m)};return v(),window.addEventListener("resize",v),()=>{window.removeEventListener("resize",v)}},[t]),O.useEffect(()=>{let v=!1;if(n===!0?v=!0:n==="mobile"&&(v=u),!v){t&&console.log("Fonctionnalités progressiveWebApp désactivées."),c("Fonctionnalités progressiveWebApp désactivées.");return}const g=()=>{const b=window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone;a(b),t&&console.log("Statut progressiveWebApp initial:",b?"Installée":"Non installée"),c(b?"Vous êtes en mode progressiveWebApp.":"Vous n'êtes pas en mode progressiveWebApp.")};g();const p=b=>{b.preventDefault(),o(b),t&&console.log("Événement beforeinstallprompt capturé."),c("L'installation de la progressiveWebApp est disponible.")},m=()=>{a(!0),o(null),t&&console.log("progressiveWebApp installée avec succès par l'utilisateur."),c("progressiveWebApp installée avec succès !")};return window.addEventListener("beforeinstallprompt",p),window.addEventListener("appinstalled",m),window.matchMedia("(display-mode: standalone)").addEventListener("change",g),()=>{window.removeEventListener("beforeinstallprompt",p),window.removeEventListener("appinstalled",m),window.matchMedia("(display-mode: standalone)").removeEventListener("change",g)}},[n,t,u]);const h=O.useCallback(async()=>{if(i){t&&console.log("Déclenchement du prompt d'installation progressiveWebApp..."),i.prompt();const{outcome:v}=await i.userChoice;t&&console.log(`Réponse de l'utilisateur au prompt d'installation: ${v}`),c(v==="accepted"?"L'utilisateur a accepté d'installer la progressiveWebApp.":"L'utilisateur a refusé d'installer la progressiveWebApp."),o(null)}else t&&console.warn("Le prompt d'installation n'est pas disponible ou la progressiveWebApp est déjà installée."),c("L'installation n'est pas disponible.")},[i,t]);return C.jsxs(UE.Provider,{value:{useProgressiveWebAppFeatures:n,isProgressiveWebAppInstalled:r,canInstallProgressiveWebApp:!!i&&!r,progressiveWebAppMessage:s,isMobile:u,installProgressiveWebApp:h},children:[t&&f,e]})}const GE=O.createContext(void 0),EV=()=>{const e=O.useContext(GE);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e},xV=({children:e})=>{const[t,n]=O.useState(()=>{const u=localStorage.getItem("theme");return u==="light"||u==="dark"?u:"light"}),[r,a]=O.useState(()=>window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),[i,o]=O.useState("hsl(212, 51%, 31%)");O.useEffect(()=>{const u=window.matchMedia("(prefers-color-scheme: dark)"),d=f=>{a(f.matches?"dark":"light")};return u.addEventListener("change",d),()=>u.removeEventListener("change",d)},[]),O.useEffect(()=>{const u=document.body.classList,d={light:"light-theme",dark:"dark-theme"};Object.values(d).forEach(f=>u.remove(f)),t==="light"||t==="dark"?(u.add(d[t]),localStorage.setItem("theme",t)):localStorage.removeItem("theme")},[t]),O.useEffect(()=>{document.body.style.setProperty("--dynamic-primary",i)},[i]);const c={theme:t,toggleTheme:()=>{n(u=>u==="dark"?"light":u==="light"?"dark":r==="dark"?"light":"dark")},currentSystemTheme:r,primaryColor:i,setPrimaryColor:o};return C.jsx(GE.Provider,{value:c,children:e})},AV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm52-84a12,12,0,0,1-12,12H117l11.52,11.51a12,12,0,0,1-17,17l-32-32a12,12,0,0,1,0-17l32-32a12,12,0,0,1,17,17L117,116h51A12,12,0,0,1,180,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm48-88a8,8,0,0,1-8,8H107.31l18.35,18.34a8,8,0,0,1-11.32,11.32l-32-32a8,8,0,0,1,0-11.32l32-32a8,8,0,0,1,11.32,11.32L107.31,120H168A8,8,0,0,1,176,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm40,112H107.31l18.35,18.34a8,8,0,0,1-11.32,11.32l-32-32a8,8,0,0,1,0-11.32l32-32a8,8,0,0,1,11.32,11.32L107.31,120H168a8,8,0,0,1,0,16Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm46-90a6,6,0,0,1-6,6H102.49l21.75,21.76a6,6,0,1,1-8.48,8.48l-32-32a6,6,0,0,1,0-8.48l32-32a6,6,0,0,1,8.48,8.48L102.49,122H168A6,6,0,0,1,174,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm48-88a8,8,0,0,1-8,8H107.31l18.35,18.34a8,8,0,0,1-11.32,11.32l-32-32a8,8,0,0,1,0-11.32l32-32a8,8,0,0,1,11.32,11.32L107.31,120H168A8,8,0,0,1,176,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm44-92a4,4,0,0,1-4,4H97.66l25.17,25.17a4,4,0,0,1-5.66,5.66l-32-32a4,4,0,0,1,0-5.66l32-32a4,4,0,0,1,5.66,5.66L97.66,124H168A4,4,0,0,1,172,128Z"}))]]),OV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm48.49-92.49a12,12,0,0,1,0,17l-32,32a12,12,0,1,1-17-17L139,140H88a12,12,0,0,1,0-24h51l-11.52-11.51a12,12,0,1,1,17-17Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm45.66-93.66a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32-11.32L148.69,136H88a8,8,0,0,1,0-16h60.69l-18.35-18.34a8,8,0,0,1,11.32-11.32Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,109.66-32,32a8,8,0,0,1-11.32-11.32L148.69,136H88a8,8,0,0,1,0-16h60.69l-18.35-18.34a8,8,0,0,1,11.32-11.32l32,32A8,8,0,0,1,173.66,133.66Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm44.24-94.24a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48-8.48L153.51,134H88a6,6,0,0,1,0-12h65.51l-21.75-21.76a6,6,0,0,1,8.48-8.48Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm45.66-93.66a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32-11.32L148.69,136H88a8,8,0,0,1,0-16h60.69l-18.35-18.34a8,8,0,0,1,11.32-11.32Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm42.83-94.83a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66-5.66L158.34,132H88a4,4,0,0,1,0-8h70.34L133.17,98.83a4,4,0,0,1,5.66-5.66Z"}))]]),MV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M225.29,165.93C216.61,151,212,129.57,212,104a84,84,0,0,0-168,0c0,25.58-4.59,47-13.27,61.93A20.08,20.08,0,0,0,30.66,186,19.77,19.77,0,0,0,48,196H84.18a44,44,0,0,0,87.64,0H208a19.77,19.77,0,0,0,17.31-10A20.08,20.08,0,0,0,225.29,165.93ZM128,212a20,20,0,0,1-19.6-16h39.2A20,20,0,0,1,128,212ZM54.66,172C63.51,154,68,131.14,68,104a60,60,0,0,1,120,0c0,27.13,4.48,50,13.33,68Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,192H48a8,8,0,0,1-6.88-12C47.71,168.6,56,139.81,56,104a72,72,0,0,1,144,0c0,35.82,8.3,64.6,14.9,76A8,8,0,0,1,208,192Z",opacity:"0.2"}),l.createElement("path",{d:"M221.8,175.94C216.25,166.38,208,139.33,208,104a80,80,0,1,0-160,0c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.81a40,40,0,0,0,78.38,0H208a16,16,0,0,0,13.8-24.06ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216ZM48,184c7.7-13.24,16-43.92,16-80a64,64,0,1,1,128,0c0,36.05,8.28,66.73,16,80Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M221.8,175.94C216.25,166.38,208,139.33,208,104a80,80,0,1,0-160,0c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.81a40,40,0,0,0,78.38,0H208a16,16,0,0,0,13.8-24.06ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M220.07,176.94C214.41,167.2,206,139.73,206,104a78,78,0,1,0-156,0c0,35.74-8.42,63.2-14.08,72.94A14,14,0,0,0,48,198H90.48a38,38,0,0,0,75,0H208a14,14,0,0,0,12.06-21.06ZM128,218a26,26,0,0,1-25.29-20h50.58A26,26,0,0,1,128,218Zm81.71-33a1.9,1.9,0,0,1-1.7,1H48a1.9,1.9,0,0,1-1.7-1,2,2,0,0,1,0-2C53.87,170,62,139.69,62,104a66,66,0,1,1,132,0c0,35.68,8.14,65.95,15.71,79A2,2,0,0,1,209.71,185Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M221.8,175.94C216.25,166.38,208,139.33,208,104a80,80,0,1,0-160,0c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.81a40,40,0,0,0,78.38,0H208a16,16,0,0,0,13.8-24.06ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216ZM48,184c7.7-13.24,16-43.92,16-80a64,64,0,1,1,128,0c0,36.05,8.28,66.73,16,80Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M218.35,178C212.58,168,204,140.13,204,104a76,76,0,1,0-152,0c0,36.13-8.59,64-14.36,73.95A12,12,0,0,0,48,196H92.23a36,36,0,0,0,71.54,0H208A12,12,0,0,0,218.35,178ZM128,220a28,28,0,0,1-27.71-24h55.42A28,28,0,0,1,128,220Zm83.45-34a3.91,3.91,0,0,1-3.44,2H48a3.91,3.91,0,0,1-3.44-2,4,4,0,0,1,0-4C52,169.17,60,139.32,60,104a68,68,0,1,1,136,0c0,35.31,8,65.17,15.44,78A4,4,0,0,1,211.45,186Z"}))]]),PV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),l.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,48H48V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212Z"}))]]),NV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),l.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),IV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),l.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),RV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),l.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),DV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),l.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),jV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228,144v64a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V144a12,12,0,0,1,24,0v52H204V144a12,12,0,0,1,24,0Zm-108.49,8.49a12,12,0,0,0,17,0l40-40a12,12,0,0,0-17-17L140,115V32a12,12,0,0,0-24,0v83L96.49,95.51a12,12,0,0,0-17,17Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z",opacity:"0.2"}),l.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M222,144v64a6,6,0,0,1-6,6H40a6,6,0,0,1-6-6V144a6,6,0,0,1,12,0v58H210V144a6,6,0,0,1,12,0Zm-98.24,4.24a6,6,0,0,0,8.48,0l40-40a6,6,0,0,0-8.48-8.48L134,129.51V32a6,6,0,0,0-12,0v97.51L92.24,99.76a6,6,0,0,0-8.48,8.48Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M220,144v64a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V144a4,4,0,0,1,8,0v60H212V144a4,4,0,0,1,8,0Zm-94.83,2.83a4,4,0,0,0,5.66,0l40-40a4,4,0,1,0-5.66-5.66L132,134.34V32a4,4,0,0,0-8,0V134.34L90.83,101.17a4,4,0,0,0-5.66,5.66Z"}))]]),TV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44Zm-96,83.72L62.85,68h130.3ZM92.79,128,44,172.72V83.28Zm17.76,16.28,9.34,8.57a12,12,0,0,0,16.22,0l9.34-8.57L193.15,188H62.85ZM163.21,128,212,83.28v89.44Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,56l-96,88L32,56Z",opacity:"0.2"}),l.createElement("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-96,85.15L52.57,64H203.43ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50Zm-96,85.86L47.42,62H208.58ZM101.67,128,38,186.36V69.64Zm8.88,8.14L124,148.42a6,6,0,0,0,8.1,0l13.4-12.28L208.58,194H47.43ZM154.33,128,218,69.64V186.36Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-96,85.15L52.57,64H203.43ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52Zm-96,86.57L42.28,60H213.72ZM104.63,128,36,190.91V65.09Zm5.92,5.43L125.3,147a4,4,0,0,0,5.4,0l14.75-13.52L213.72,196H42.28ZM151.37,128,220,65.09V190.91Z"}))]]),LV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),l.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"}))]]),zV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),l.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"}))]]),FV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm12,191.13V156h20a12,12,0,0,0,0-24H140V112a12,12,0,0,1,12-12h16a12,12,0,0,0,0-24H152a36,36,0,0,0-36,36v20H96a12,12,0,0,0,0,24h20v55.13a84,84,0,1,1,24,0Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm8,191.63V152h24a8,8,0,0,0,0-16H136V112a16,16,0,0,1,16-16h16a8,8,0,0,0,0-16H152a32,32,0,0,0-32,32v24H96a8,8,0,0,0,0,16h24v63.63a88,88,0,1,1,16,0Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M232,128a104.16,104.16,0,0,1-91.55,103.26,4,4,0,0,1-4.45-4V152h24a8,8,0,0,0,8-8.53,8.17,8.17,0,0,0-8.25-7.47H136V112a16,16,0,0,1,16-16h16a8,8,0,0,0,8-8.53A8.17,8.17,0,0,0,167.73,80H152a32,32,0,0,0-32,32v24H96a8,8,0,0,0-8,8.53A8.17,8.17,0,0,0,96.27,152H120v75.28a4,4,0,0,1-4.44,4A104.15,104.15,0,0,1,24.07,124.09c2-54,45.74-97.9,99.78-100A104.12,104.12,0,0,1,232,128Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm6,191.8V150h26a6,6,0,0,0,0-12H134V112a18,18,0,0,1,18-18h16a6,6,0,0,0,0-12H152a30,30,0,0,0-30,30v26H96a6,6,0,0,0,0,12h26v67.8a90,90,0,1,1,12,0Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm8,191.63V152h24a8,8,0,0,0,0-16H136V112a16,16,0,0,1,16-16h16a8,8,0,0,0,0-16H152a32,32,0,0,0-32,32v24H96a8,8,0,0,0,0,16h24v63.63a88,88,0,1,1,16,0Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm4,191.91V148h28a4,4,0,0,0,0-8H132V112a20,20,0,0,1,20-20h16a4,4,0,0,0,0-8H152a28,28,0,0,0-28,28v28H96a4,4,0,0,0,0,8h28v71.91a92,92,0,1,1,8,0Z"}))]]),kV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M222.14,69.17,186.83,33.86A19.86,19.86,0,0,0,172.69,28H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V83.31A19.86,19.86,0,0,0,222.14,69.17ZM164,204H92V160h72Zm40,0H188V156a20,20,0,0,0-20-20H88a20,20,0,0,0-20,20v48H52V52H171l33,33ZM164,84a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h56A12,12,0,0,1,164,84Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,83.31V208a8,8,0,0,1-8,8H176V152a8,8,0,0,0-8-8H88a8,8,0,0,0-8,8v64H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H172.69a8,8,0,0,1,5.65,2.34l35.32,35.32A8,8,0,0,1,216,83.31Z",opacity:"0.2"}),l.createElement("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM208,208H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M217.9,73.42,182.58,38.1a13.9,13.9,0,0,0-9.89-4.1H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V83.31A13.9,13.9,0,0,0,217.9,73.42ZM170,210H86V152a2,2,0,0,1,2-2h80a2,2,0,0,1,2,2Zm40-2a2,2,0,0,1-2,2H182V152a14,14,0,0,0-14-14H88a14,14,0,0,0-14,14v58H48a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H172.69a2,2,0,0,1,1.41.58L209.42,81.9a2,2,0,0,1,.58,1.41ZM158,72a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h56A6,6,0,0,1,158,72Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216.49,74.83,181.17,39.51A11.93,11.93,0,0,0,172.69,36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V83.31A11.93,11.93,0,0,0,216.49,74.83ZM172,212H84V152a4,4,0,0,1,4-4h80a4,4,0,0,1,4,4Zm40-4a4,4,0,0,1-4,4H180V152a12,12,0,0,0-12-12H88a12,12,0,0,0-12,12v60H48a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H172.69a4,4,0,0,1,2.82,1.17l35.32,35.32A4,4,0,0,1,212,83.31ZM156,72a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h56A4,4,0,0,1,156,72Z"}))]]),HV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228,128a100,100,0,1,1-22.86-63.64,12,12,0,0,1-18.51,15.28A76,76,0,1,0,203.05,140H128a12,12,0,0,1,0-24h88A12,12,0,0,1,228,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),l.createElement("path",{d:"M224,128a96,96,0,1,1-21.95-61.09,8,8,0,1,1-12.33,10.18A80,80,0,1,0,207.6,136H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104,104,0,0,0,128,24Zm0,184A80,80,0,1,1,181.34,68.37a8,8,0,0,1-10.67,11.92A64,64,0,1,0,191.5,136H128a8,8,0,0,1,0-16h72a8,8,0,0,1,8,8A80.09,80.09,0,0,1,128,208Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M222,128a94,94,0,1,1-21.49-59.82,6,6,0,1,1-9.25,7.64A82,82,0,1,0,209.78,134H128a6,6,0,0,1,0-12h88A6,6,0,0,1,222,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a96,96,0,1,1-21.95-61.09,8,8,0,1,1-12.33,10.18A80,80,0,1,0,207.6,136H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M220,128a92,92,0,1,1-21-58.55,4,4,0,0,1-6.17,5.1A84,84,0,1,0,211.91,132H128a4,4,0,0,1,0-8h88A4,4,0,0,1,220,128Z"}))]]),BV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,76H180V56A52,52,0,0,0,76,56V76H48A20,20,0,0,0,28,96V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V96A20,20,0,0,0,208,76ZM100,56a28,28,0,0,1,56,0V76H100ZM204,204H52V100H204Zm-60-52a16,16,0,1,1-16-16A16,16,0,0,1,144,152Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,96V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H208A8,8,0,0,1,216,96Z",opacity:"0.2"}),l.createElement("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Zm-68-56a12,12,0,1,1-12-12A12,12,0,0,1,140,152Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80Zm-80,84a12,12,0,1,1,12-12A12,12,0,0,1,128,164Zm32-84H96V56a32,32,0,0,1,64,0Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,82H174V56a46,46,0,0,0-92,0V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82ZM94,56a34,34,0,0,1,68,0V82H94ZM210,208a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Zm-72-56a10,10,0,1,1-10-10A10,10,0,0,1,138,152Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Zm-68-56a12,12,0,1,1-12-12A12,12,0,0,1,140,152Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,84H172V56a44,44,0,0,0-88,0V84H48A12,12,0,0,0,36,96V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V96A12,12,0,0,0,208,84ZM92,56a36,36,0,0,1,72,0V84H92ZM212,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Zm-76-56a8,8,0,1,1-8-8A8,8,0,0,1,136,152Z"}))]]),VV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),l.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H72a8,8,0,0,1,0-16H184a8,8,0,0,1,0,16Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128Z"}))]]),YV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M230.14,25.86a20,20,0,0,0-19.57-5.11l-.22.07L18.44,79a20,20,0,0,0-3.06,37.25L99,157l40.71,83.65a19.81,19.81,0,0,0,18,11.38c.57,0,1.15,0,1.73-.07A19.82,19.82,0,0,0,177,237.56L235.18,45.65a1.42,1.42,0,0,0,.07-.22A20,20,0,0,0,230.14,25.86ZM156.91,221.07l-34.37-70.64,46-45.95a12,12,0,0,0-17-17l-46,46L34.93,99.09,210,46Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M223.69,42.18l-58.22,192a8,8,0,0,1-14.92,1.25L108,148,20.58,105.45a8,8,0,0,1,1.25-14.92l192-58.22A8,8,0,0,1,223.69,42.18Z",opacity:"0.2"}),l.createElement("path",{d:"M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M231.4,44.34s0,.1,0,.15l-58.2,191.94a15.88,15.88,0,0,1-14,11.51q-.69.06-1.38.06a15.86,15.86,0,0,1-14.42-9.15L107,164.15a4,4,0,0,1,.77-4.58l57.92-57.92a8,8,0,0,0-11.31-11.31L96.43,148.26a4,4,0,0,1-4.58.77L17.08,112.64a16,16,0,0,1,2.49-29.8l191.94-58.2.15,0A16,16,0,0,1,231.4,44.34Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M225.88,30.12a13.83,13.83,0,0,0-13.7-3.58l-.11,0L20.14,84.77A14,14,0,0,0,18,110.85l85.56,41.64L145.12,238a13.87,13.87,0,0,0,12.61,8c.4,0,.81,0,1.21-.05a13.9,13.9,0,0,0,12.29-10.09l58.2-191.93,0-.11A13.83,13.83,0,0,0,225.88,30.12Zm-8,10.4L159.73,232.43l0,.11a2,2,0,0,1-3.76.26l-40.68-83.58,49-49a6,6,0,1,0-8.49-8.49l-49,49L23.15,100a2,2,0,0,1,.31-3.74l.11,0L215.48,38.08a1.94,1.94,0,0,1,1.92.52A2,2,0,0,1,217.92,40.52Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224.47,31.52a11.87,11.87,0,0,0-11.82-3L20.74,86.67a12,12,0,0,0-1.91,22.38L105,151l41.92,86.15A11.88,11.88,0,0,0,157.74,244c.34,0,.69,0,1,0a11.89,11.89,0,0,0,10.52-8.63l58.21-192,0-.08A11.85,11.85,0,0,0,224.47,31.52Zm-4.62,9.54-58.23,192a4,4,0,0,1-7.48.59l-41.3-84.86,50-50a4,4,0,1,0-5.66-5.66l-50,50-84.9-41.31a3.88,3.88,0,0,1-2.27-4,3.93,3.93,0,0,1,3-3.54L214.9,36.16A3.93,3.93,0,0,1,216,36a4,4,0,0,1,2.79,1.19A3.93,3.93,0,0,1,219.85,41.06Z"}))]]),WV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"}),l.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM94.1,209.41a2,2,0,0,1-1.41.59H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L133.17,61.17h0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17Zm-129,134.63A4,4,0,0,1,92.69,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.83L136,69.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z"}))]]),UV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),l.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"}))]]),GV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M233.21,56.31A12,12,0,0,0,224,52H66L60.53,21.85A12,12,0,0,0,48.73,12H24a12,12,0,0,0,0,24H38.71L63.62,173a28,28,0,0,0,4.07,10.21A32,32,0,1,0,123,196h34a32,32,0,1,0,31-24H91.17a4,4,0,0,1-3.93-3.28L84.92,156H196.1a28,28,0,0,0,27.55-23l12.16-66.86A12,12,0,0,0,233.21,56.31ZM100,204a8,8,0,1,1-8-8A8,8,0,0,1,100,204Zm88,8a8,8,0,1,1,8-8A8,8,0,0,1,188,212Zm12-83.28A4,4,0,0,1,196.1,132H80.56L70.38,76H209.62Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,64l-12.16,66.86A16,16,0,0,1,196.1,144H70.55L56,64Z",opacity:"0.2"}),l.createElement("path",{d:"M230.14,58.87A8,8,0,0,0,224,56H62.68L56.6,22.57A8,8,0,0,0,48.73,16H24a8,8,0,0,0,0,16h18L67.56,172.29a24,24,0,0,0,5.33,11.27,28,28,0,1,0,44.4,8.44h45.42A27.75,27.75,0,0,0,160,204a28,28,0,1,0,28-28H91.17a8,8,0,0,1-7.87-6.57L80.13,152h116a24,24,0,0,0,23.61-19.71l12.16-66.86A8,8,0,0,0,230.14,58.87ZM104,204a12,12,0,1,1-12-12A12,12,0,0,1,104,204Zm96,0a12,12,0,1,1-12-12A12,12,0,0,1,200,204Zm4-74.57A8,8,0,0,1,196.1,136H77.22L65.59,72H214.41Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M230.14,58.87A8,8,0,0,0,224,56H62.68L56.6,22.57A8,8,0,0,0,48.73,16H24a8,8,0,0,0,0,16h18L67.56,172.29a24,24,0,0,0,5.33,11.27,28,28,0,1,0,44.4,8.44h45.42A27.75,27.75,0,0,0,160,204a28,28,0,1,0,28-28H91.17a8,8,0,0,1-7.87-6.57L80.13,152h116a24,24,0,0,0,23.61-19.71l12.16-66.86A8,8,0,0,0,230.14,58.87ZM104,204a12,12,0,1,1-12-12A12,12,0,0,1,104,204Zm96,0a12,12,0,1,1-12-12A12,12,0,0,1,200,204Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228.61,60.16A6,6,0,0,0,224,58H61L54.63,22.93A6,6,0,0,0,48.73,18H24a6,6,0,0,0,0,12H43.72L69.53,171.94a21.93,21.93,0,0,0,6.24,11.77A26,26,0,1,0,113.89,190h52.22A26,26,0,1,0,188,178H91.17a10,10,0,0,1-9.84-8.21L77.73,150H196.1a22,22,0,0,0,21.65-18.06L229.9,65.07A6,6,0,0,0,228.61,60.16ZM106,204a14,14,0,1,1-14-14A14,14,0,0,1,106,204Zm96,0a14,14,0,1,1-14-14A14,14,0,0,1,202,204Zm3.94-74.21A10,10,0,0,1,196.1,138H75.55L63.19,70H216.81Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M230.14,58.87A8,8,0,0,0,224,56H62.68L56.6,22.57A8,8,0,0,0,48.73,16H24a8,8,0,0,0,0,16h18L67.56,172.29a24,24,0,0,0,5.33,11.27,28,28,0,1,0,44.4,8.44h45.42A27.75,27.75,0,0,0,160,204a28,28,0,1,0,28-28H91.17a8,8,0,0,1-7.87-6.57L80.13,152h116a24,24,0,0,0,23.61-19.71l12.16-66.86A8,8,0,0,0,230.14,58.87ZM104,204a12,12,0,1,1-12-12A12,12,0,0,1,104,204Zm96,0a12,12,0,1,1-12-12A12,12,0,0,1,200,204Zm4-74.57A8,8,0,0,1,196.1,136H77.22L65.59,72H214.41Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M227.07,61.44A4,4,0,0,0,224,60H59.34L52.66,23.28A4,4,0,0,0,48.73,20H24a4,4,0,0,0,0,8H45.39l6.69,36.8h0L71.49,171.58A20,20,0,0,0,79,183.85,24,24,0,1,0,109.87,188h60.26A24,24,0,1,0,188,180H91.17a12,12,0,0,1-11.8-9.85l-4-22.15H196.1a20,20,0,0,0,19.68-16.42l12.16-66.86A4,4,0,0,0,227.07,61.44ZM108,204a16,16,0,1,1-16-16A16,16,0,0,1,108,204Zm96,0a16,16,0,1,1-16-16A16,16,0,0,1,204,204Zm3.91-73.85A12,12,0,0,1,196.1,140H73.88L60.79,68H219.21Z"}))]]),KV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M40,92H70.06a36,36,0,0,0,67.88,0H216a12,12,0,0,0,0-24H137.94a36,36,0,0,0-67.88,0H40a12,12,0,0,0,0,24Zm64-24A12,12,0,1,1,92,80,12,12,0,0,1,104,68Zm112,96H201.94a36,36,0,0,0-67.88,0H40a12,12,0,0,0,0,24h94.06a36,36,0,0,0,67.88,0H216a12,12,0,0,0,0-24Zm-48,24a12,12,0,1,1,12-12A12,12,0,0,1,168,188Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,80a24,24,0,1,1-24-24A24,24,0,0,1,128,80Zm40,72a24,24,0,1,0,24,24A24,24,0,0,0,168,152Z",opacity:"0.2"}),l.createElement("path",{d:"M40,88H73a32,32,0,0,0,62,0h81a8,8,0,0,0,0-16H135a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16Zm64-24A16,16,0,1,1,88,80,16,16,0,0,1,104,64ZM216,168H199a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16h97a32,32,0,0,0,62,0h17a8,8,0,0,0,0-16Zm-48,24a16,16,0,1,1,16-16A16,16,0,0,1,168,192Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M32,80a8,8,0,0,1,8-8H77.17a28,28,0,0,1,53.66,0H216a8,8,0,0,1,0,16H130.83a28,28,0,0,1-53.66,0H40A8,8,0,0,1,32,80Zm184,88H194.83a28,28,0,0,0-53.66,0H40a8,8,0,0,0,0,16H141.17a28,28,0,0,0,53.66,0H216a8,8,0,0,0,0-16Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M40,86H74.6a30,30,0,0,0,58.8,0H216a6,6,0,0,0,0-12H133.4a30,30,0,0,0-58.8,0H40a6,6,0,0,0,0,12Zm64-24A18,18,0,1,1,86,80,18,18,0,0,1,104,62ZM216,170H197.4a30,30,0,0,0-58.8,0H40a6,6,0,0,0,0,12h98.6a30,30,0,0,0,58.8,0H216a6,6,0,0,0,0-12Zm-48,24a18,18,0,1,1,18-18A18,18,0,0,1,168,194Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M40,88H73a32,32,0,0,0,62,0h81a8,8,0,0,0,0-16H135a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16Zm64-24A16,16,0,1,1,88,80,16,16,0,0,1,104,64ZM216,168H199a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16h97a32,32,0,0,0,62,0h17a8,8,0,0,0,0-16Zm-48,24a16,16,0,1,1,16-16A16,16,0,0,1,168,192Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M40,84H76.29a28,28,0,0,0,55.42,0H216a4,4,0,0,0,0-8H131.71a28,28,0,0,0-55.42,0H40a4,4,0,0,0,0,8Zm64-24A20,20,0,1,1,84,80,20,20,0,0,1,104,60ZM216,172H195.71a28,28,0,0,0-55.42,0H40a4,4,0,0,0,0,8H140.29a28,28,0,0,0,55.42,0H216a4,4,0,0,0,0-8Zm-48,24a20,20,0,1,1,20-20A20,20,0,0,1,168,196Z"}))]]),ZV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M246.15,133.18,146.83,33.86A19.85,19.85,0,0,0,132.69,28H40A12,12,0,0,0,28,40v92.69a19.85,19.85,0,0,0,5.86,14.14l99.32,99.32a20,20,0,0,0,28.28,0l84.69-84.69A20,20,0,0,0,246.15,133.18Zm-98.83,93.17L52,131V52h79l95.32,95.32ZM104,88A16,16,0,1,1,88,72,16,16,0,0,1,104,88Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M237.66,153,153,237.66a8,8,0,0,1-11.31,0L42.34,138.34A8,8,0,0,1,40,132.69V40h92.69a8,8,0,0,1,5.65,2.34l99.32,99.32A8,8,0,0,1,237.66,153Z",opacity:"0.2"}),l.createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M241.91,137.42,142.59,38.1a13.94,13.94,0,0,0-9.9-4.1H40a6,6,0,0,0-6,6v92.69a13.94,13.94,0,0,0,4.1,9.9l99.32,99.32a14,14,0,0,0,19.8,0l84.69-84.69A14,14,0,0,0,241.91,137.42Zm-8.49,11.31-84.69,84.69a2,2,0,0,1-2.83,0L46.59,134.1a2,2,0,0,1-.59-1.41V46h86.69a2,2,0,0,1,1.41.59l99.32,99.31A2,2,0,0,1,233.42,148.73ZM94,84A10,10,0,1,1,84,74,10,10,0,0,1,94,84Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M240.49,138.83,141.17,39.51A11.93,11.93,0,0,0,132.69,36H40a4,4,0,0,0-4,4v92.69a11.93,11.93,0,0,0,3.51,8.48l99.32,99.32a12,12,0,0,0,17,0l84.69-84.69a12,12,0,0,0,0-17Zm-5.66,11.31-84.69,84.69a4,4,0,0,1-5.65,0L45.17,135.51A4,4,0,0,1,44,132.69V44h88.69a4,4,0,0,1,2.82,1.17l99.32,99.32A4,4,0,0,1,234.83,150.14ZM92,84a8,8,0,1,1-8-8A8,8,0,0,1,92,84Z"}))]]),QV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"}),l.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"}))]]),XV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M234.38,210a123.36,123.36,0,0,0-60.78-53.23,76,76,0,1,0-91.2,0A123.36,123.36,0,0,0,21.62,210a12,12,0,1,0,20.77,12c18.12-31.32,50.12-50,85.61-50s67.49,18.69,85.61,50a12,12,0,0,0,20.77-12ZM76,96a52,52,0,1,1,52,52A52.06,52.06,0,0,1,76,96Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M192,96a64,64,0,1,1-64-64A64,64,0,0,1,192,96Z",opacity:"0.2"}),l.createElement("path",{d:"M230.92,212c-15.23-26.33-38.7-45.21-66.09-54.16a72,72,0,1,0-73.66,0C63.78,166.78,40.31,185.66,25.08,212a8,8,0,1,0,13.85,8c18.84-32.56,52.14-52,89.07-52s70.23,19.44,89.07,52a8,8,0,1,0,13.85-8ZM72,96a56,56,0,1,1,56,56A56.06,56.06,0,0,1,72,96Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M230.93,220a8,8,0,0,1-6.93,4H32a8,8,0,0,1-6.92-12c15.23-26.33,38.7-45.21,66.09-54.16a72,72,0,1,1,73.66,0c27.39,8.95,50.86,27.83,66.09,54.16A8,8,0,0,1,230.93,220Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M229.19,213c-15.81-27.32-40.63-46.49-69.47-54.62a70,70,0,1,0-63.44,0C67.44,166.5,42.62,185.67,26.81,213a6,6,0,1,0,10.38,6C56.4,185.81,90.34,166,128,166s71.6,19.81,90.81,53a6,6,0,1,0,10.38-6ZM70,96a58,58,0,1,1,58,58A58.07,58.07,0,0,1,70,96Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M230.92,212c-15.23-26.33-38.7-45.21-66.09-54.16a72,72,0,1,0-73.66,0C63.78,166.78,40.31,185.66,25.08,212a8,8,0,1,0,13.85,8c18.84-32.56,52.14-52,89.07-52s70.23,19.44,89.07,52a8,8,0,1,0,13.85-8ZM72,96a56,56,0,1,1,56,56A56.06,56.06,0,0,1,72,96Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M227.46,214c-16.52-28.56-43-48.06-73.68-55.09a68,68,0,1,0-51.56,0c-30.64,7-57.16,26.53-73.68,55.09a4,4,0,0,0,6.92,4C55,184.19,89.62,164,128,164s73,20.19,92.54,54a4,4,0,0,0,3.46,2,3.93,3.93,0,0,0,2-.54A4,4,0,0,0,227.46,214ZM68,96a60,60,0,1,1,60,60A60.07,60.07,0,0,1,68,96Z"}))]]),qV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M125.18,156.94a64,64,0,1,0-82.36,0,100.23,100.23,0,0,0-39.49,32,12,12,0,0,0,19.35,14.2,76,76,0,0,1,122.64,0,12,12,0,0,0,19.36-14.2A100.33,100.33,0,0,0,125.18,156.94ZM44,108a40,40,0,1,1,40,40A40,40,0,0,1,44,108Zm206.1,97.67a12,12,0,0,1-16.78-2.57A76.31,76.31,0,0,0,172,172a12,12,0,0,1,0-24,40,40,0,1,0-10.3-78.67,12,12,0,1,1-6.16-23.19,64,64,0,0,1,57.64,110.8,100.23,100.23,0,0,1,39.49,32A12,12,0,0,1,250.1,205.67Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M136,108A52,52,0,1,1,84,56,52,52,0,0,1,136,108Z",opacity:"0.2"}),l.createElement("path",{d:"M117.25,157.92a60,60,0,1,0-66.5,0A95.83,95.83,0,0,0,3.53,195.63a8,8,0,1,0,13.4,8.74,80,80,0,0,1,134.14,0,8,8,0,0,0,13.4-8.74A95.83,95.83,0,0,0,117.25,157.92ZM40,108a44,44,0,1,1,44,44A44.05,44.05,0,0,1,40,108Zm210.14,98.7a8,8,0,0,1-11.07-2.33A79.83,79.83,0,0,0,172,168a8,8,0,0,1,0-16,44,44,0,1,0-16.34-84.87,8,8,0,1,1-5.94-14.85,60,60,0,0,1,55.53,105.64,95.83,95.83,0,0,1,47.22,37.71A8,8,0,0,1,250.14,206.7Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M164.47,195.63a8,8,0,0,1-6.7,12.37H10.23a8,8,0,0,1-6.7-12.37,95.83,95.83,0,0,1,47.22-37.71,60,60,0,1,1,66.5,0A95.83,95.83,0,0,1,164.47,195.63Zm87.91-.15a95.87,95.87,0,0,0-47.13-37.56A60,60,0,0,0,144.7,54.59a4,4,0,0,0-1.33,6A75.83,75.83,0,0,1,147,150.53a4,4,0,0,0,1.07,5.53,112.32,112.32,0,0,1,29.85,30.83,23.92,23.92,0,0,1,3.65,16.47,4,4,0,0,0,3.95,4.64h60.3a8,8,0,0,0,7.73-5.93A8.22,8.22,0,0,0,252.38,195.48Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M112.6,158.43a58,58,0,1,0-57.2,0A93.83,93.83,0,0,0,5.21,196.72a6,6,0,0,0,10.05,6.56,82,82,0,0,1,137.48,0,6,6,0,0,0,10-6.56A93.83,93.83,0,0,0,112.6,158.43ZM38,108a46,46,0,1,1,46,46A46.06,46.06,0,0,1,38,108Zm211,97a6,6,0,0,1-8.3-1.74A81.8,81.8,0,0,0,172,166a6,6,0,0,1,0-12,46,46,0,1,0-17.08-88.73,6,6,0,1,1-4.46-11.14,58,58,0,0,1,50.14,104.3,93.83,93.83,0,0,1,50.19,38.29A6,6,0,0,1,249,205Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M117.25,157.92a60,60,0,1,0-66.5,0A95.83,95.83,0,0,0,3.53,195.63a8,8,0,1,0,13.4,8.74,80,80,0,0,1,134.14,0,8,8,0,0,0,13.4-8.74A95.83,95.83,0,0,0,117.25,157.92ZM40,108a44,44,0,1,1,44,44A44.05,44.05,0,0,1,40,108Zm210.14,98.7a8,8,0,0,1-11.07-2.33A79.83,79.83,0,0,0,172,168a8,8,0,0,1,0-16,44,44,0,1,0-16.34-84.87,8,8,0,1,1-5.94-14.85,60,60,0,0,1,55.53,105.64,95.83,95.83,0,0,1,47.22,37.71A8,8,0,0,1,250.14,206.7Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M107.19,159a56,56,0,1,0-46.38,0A91.83,91.83,0,0,0,6.88,197.81a4,4,0,1,0,6.7,4.37,84,84,0,0,1,140.84,0,4,4,0,1,0,6.7-4.37A91.83,91.83,0,0,0,107.19,159ZM36,108a48,48,0,1,1,48,48A48.05,48.05,0,0,1,36,108Zm212,95.35a4,4,0,0,1-5.53-1.17A83.81,83.81,0,0,0,172,164a4,4,0,0,1,0-8,48,48,0,1,0-17.82-92.58,4,4,0,1,1-3-7.43,56,56,0,0,1,44,103,91.83,91.83,0,0,1,53.93,38.86A4,4,0,0,1,248,203.35Z"}))]]),JV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),l.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]),_V=O.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),sn=l.forwardRef((e,t)=>{const{alt:n,color:r,size:a,weight:i,mirrored:o,children:s,weights:c,...u}=e,{color:d="currentColor",size:f,weight:h="regular",mirrored:v=!1,...g}=l.useContext(_V);return l.createElement("svg",{ref:t,xmlns:"http://www.w3.org/2000/svg",width:a??f,height:a??f,fill:r??d,viewBox:"0 0 256 256",transform:o||v?"scale(-1, 1)":void 0,...g,...u},!!n&&l.createElement("title",null,n),s,c.get(i??h))});sn.displayName="IconBase";const KE=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:AV}));KE.displayName="ArrowCircleLeftIcon";const ZE=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:OV}));ZE.displayName="ArrowCircleRightIcon";const QE=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:MV}));QE.displayName="BellIcon";const XE=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:PV}));XE.displayName="CalendarBlankIcon";const qE=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:NV}));qE.displayName="CaretDownIcon";const JE=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:IV}));JE.displayName="CaretLeftIcon";const _E=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:RV}));_E.displayName="CaretRightIcon";const $E=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:DV}));$E.displayName="CheckIcon";const jv=$E,ex=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:jV}));ex.displayName="DownloadSimpleIcon";const Wu=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:TV}));Wu.displayName="EnvelopeIcon";const tx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:LV}));tx.displayName="EyeIcon";const nx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:zV}));nx.displayName="EyeSlashIcon";const rx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:FV}));rx.displayName="FacebookLogoIcon";const ax=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:kV}));ax.displayName="FloppyDiskIcon";const $V=ax,ix=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:HV}));ix.displayName="GoogleLogoIcon";const Uu=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:BV}));Uu.displayName="LockIcon";const ox=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:VV}));ox.displayName="MinusIcon";const sx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:YV}));sx.displayName="PaperPlaneTiltIcon";const lx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:WV}));lx.displayName="PencilSimpleIcon";const cx=lx,Tv=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:UV}));Tv.displayName="PlusIcon";const eY=Tv,ux=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:GV}));ux.displayName="ShoppingCartIcon";const dx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:KV}));dx.displayName="SlidersHorizontalIcon";const fx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:ZV}));fx.displayName="TagIcon";const Lv=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:QV}));Lv.displayName="TrashIcon";const hx=Lv,zv=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:XV}));zv.displayName="UserIcon";const mx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:qV}));mx.displayName="UsersIcon";const Fv=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:JV}));Fv.displayName="XIcon";const Gu=Fv;function kv({icon:e,text:t,onClick:n,onClose:r,visible:a=!0,disabled:i=!1,size:o=56,theme:s="pwa",bottom:c=24,showClose:u=!0,className:d="",onAction:f,onPopupClose:h,url:v,urlText:g}){const[p,m]=O.useState(!0),[b,y]=O.useState(!0),w=a&&b;if(O.useEffect(()=>{if(w)m(!0);else{const S=setTimeout(()=>m(!1),250);return()=>clearTimeout(S)}},[w]),!p)return null;const E=w?{opacity:1,transform:"translateY(0) scale(1)",transition:"opacity 0.35s, transform 0.35s",animation:"popbutton-fade-in 0.35s"}:{opacity:0,transform:"translateY(10px) scale(0.95)",transition:"opacity 0.35s, transform 0.35s"},x=()=>{y(!1),typeof r=="function"&&r(),typeof h=="function"&&h()};return C.jsx("div",{className:`PopButton-container PopButton-${s}-theme ${d}`,style:{bottom:c,pointerEvents:w?"auto":"none",...E},children:C.jsxs("div",{className:"flex col gap-10",children:[C.jsx("div",{className:"PopButton-btn-row",children:C.jsxs(Vt,{size:"large",disabled:i,className:`PopButton-btn${i?" disabled":""}`,style:{minWidth:o+32},onClick:()=>{n&&n(),f&&f()},children:[C.jsx("span",{className:"PopButton-col PopButton-col-icon",children:e}),C.jsx("span",{className:"PopButton-col PopButton-text PopButton-col-text",children:t}),u?C.jsx("span",{className:"PopButton-col PopButton-close-wrapper PopButton-col-close",onClick:S=>{S.stopPropagation(),x()},children:C.jsx(Fv,{size:20,className:"PopButton-close"})}):C.jsx("span",{className:"PopButton-col PopButton-col-close"}),C.jsx("span",{className:"PopButton-glossy"})]})}),v&&g&&(()=>{let S=!1;try{const A=document.createElement("a");A.href=v;const P=A.pathname+A.search+A.hash,M=window.location.pathname+window.location.search+window.location.hash;S=P===M||A.href===window.location.href}catch(A){console.warn("Invalid URL:",v,A)}return S?null:C.jsx("div",{className:"PopButton-link-container",style:{marginTop:8,textAlign:"center"},children:C.jsx("a",{href:v,className:"PopButton-link",style:{color:"#007bff",textDecoration:"underline",cursor:"pointer",fontSize:14},children:g})})})()]})})}function vx({size:e=56,visible:t=!0,forceVisible:n=!1,text:r,knowMoreUrl:a,knowMoreText:i,onAction:o,onPopupClose:s}){const{organizationDetails:c,areOrganizationDetailsLoading:u}=Qr(),d=r||"Installez l'application pour une expérience optimale",{showMessage:f}=Zr(),{isProgressiveWebAppInstalled:h,canInstallProgressiveWebApp:v,installProgressiveWebApp:g}=Dv(),[p,m]=O.useState(!1),b=t&&!h&&v||n,y=async()=>{if(!p){m(!0);try{await g(),o&&o()}catch{f({type:"error",message:"L'installation a échoué ou a été annulée."})}setTimeout(()=>m(!1),2e3)}},w=c!=null&&c.image?C.jsx("img",{src:c.image,alt:"Organization Logo",style:{width:e,height:e}}):C.jsx(ex,{size:e,color:"#1890ff"});return u?null:C.jsx(kv,{icon:w,text:d,onClick:y,onClose:s,visible:b,disabled:p,size:e,theme:"pwa",showClose:!0,bottom:50,onAction:o,onPopupClose:s,url:a,urlText:i})}function gx({size:e=56,visible:t=!0,forceVisible:n=!1,text:r,knowMoreUrl:a,knowMoreText:i,onAction:o,onPopupClose:s}){const c=r||"Activez les notifications pour ne rater aucune commande. Cliquez ici pour vous abonner.",{isSubscribed:u,subscribePush:d}=Yu(),[f,h]=O.useState(!1),v=async()=>{f||(h(!0),u||(await d(),o&&o()),setTimeout(()=>h(!1),2e3))},g=t&&!u||n;return C.jsx(kv,{icon:C.jsx(QE,{weight:u?"fill":"regular",size:32,color:u?"#3e8e5a":"#faad14"}),text:c,onClick:v,onClose:s,visible:g,disabled:f,size:e,theme:u?"subscribed":"unsubscribed",showClose:!0,bottom:50,onAction:o,onPopupClose:s,url:a,urlText:i})}function px({enableInstallAppButton:e,enablePushNotificationButton:t}){const{isProgressiveWebAppInstalled:n,canInstallProgressiveWebApp:r}=Dv(),{isPushSupported:a,isSubscribed:i,isPushSubscriptionLoading:o}=Yu(),[s,c]=O.useState(!1),[u,d]=O.useState(!1),f=!n&&r&&!s&&e,h=!f&&a&&!o&&!i&&!u&&t;return C.jsxs(C.Fragment,{children:[C.jsx(vx,{visible:f,onPopupClose:()=>{c(!0)},knowMoreUrl:"/install-app",knowMoreText:"En savoir plus"}),C.jsx(gx,{visible:h,onPopupClose:()=>{d(!0)},knowMoreUrl:"/install-app",knowMoreText:"En savoir plus"})]})}const tY="@lystech/core",nY="lystechcorenpmpackage:last-version",bx="3.0.70";function yx(e={}){const{packageName:t=tY,storageKey:n=nY,triggerOnFirstInstall:r=!1,onPackageUpdated:a}=e,[i,o]=O.useState(null),[s]=O.useState(bx),[c,u]=O.useState(!1),[d,f]=O.useState(!1),h=O.useCallback(()=>{if(typeof window>"u")return;const v=localStorage.getItem(n),g=!v,p=!!v&&v!==s;if(o(v),u(g),f(p),g||p){const m={packageName:t,previousVersion:v,currentVersion:s,isFirstInstall:g,hasUpdated:p};(p||g&&r)&&(a==null||a(m)),window.dispatchEvent(new CustomEvent("lystechcorenpmpackage:update",{detail:m}))}localStorage.setItem(n,s)},[n,s,t,r,a]);return O.useEffect(()=>{h()},[h]),O.useMemo(()=>({packageName:t,previousVersion:i,currentVersion:s,isFirstInstall:c,hasUpdated:d,checkForUpdate:h}),[t,i,s,c,d,h])}const rY=new HP({defaultOptions:{queries:{staleTime:1e3*60*5,retry:3,refetchOnWindowFocus:!1}}}),Cx=O.createContext({}),Fi=()=>O.useContext(Cx);function aY({children:e,organization:t,shouldRedirectAfterLogin:n,loginRedirectRoute:r,queryClient:a,usePushNotifications:i,useProgressiveWebAppFeatures:o,useThemeProvider:s,quickGoogleLoginButtonStyle:c,enableGoogleQuickLoginButton:u,showGoogleQuickLoginButton:d,useGoogleAutoSelect:f,debugMode:h,showAskPermissionsButtons:v,onPackageUpdated:g,triggerOnFirstInstallPackageCallback:p,packageVersionStorageKey:m}){const b=a||rY;yx({onPackageUpdated:g,triggerOnFirstInstall:!!p,storageKey:m});const y=C.jsxs(Cx.Provider,{value:{debugMode:h,usePushNotifications:i,useProgressiveWebAppFeatures:o},children:[h&&C.jsxs("div",{className:"p-10",children:[C.jsx("h2",{children:"DEBUG MODE"}),C.jsxs("p",{children:["Organization: ",t]})]}),C.jsx(SV,{children:C.jsx(gV,{children:C.jsx(ZP,{client:b,children:C.jsx(wV,{usePushNotifications:i,children:C.jsx(bV,{children:C.jsx(iY,{organization:t,children:C.jsx(uY,{shouldRedirectAfterLogin:n,loginRedirectRoute:r,quickGoogleLoginButtonStyle:c,enableGoogleQuickLoginButton:u,showGoogleQuickLoginButton:d,useGoogleAutoSelect:f,children:C.jsxs(YE,{children:[e,v&&C.jsx(px,{enableInstallAppButton:v==null?void 0:v.installApp,enablePushNotificationButton:v==null?void 0:v.pushNotifications})]})})})})})})})})]});return s?C.jsx(xV,{children:y}):y}const wx=O.createContext({});function Qr(){return O.useContext(wx)}function iY({children:e,organization:t}){const n=xf(),{debugMode:r}=Fi(),[a,i]=O.useState(t||"");O.useEffect(()=>{if(t){r&&console.log("OrganizationProvider: organization prop utilisée",t),i(t);return}const E=new URLSearchParams(n.search),x=E.get("org");if(x){r&&console.log("OrganizationProvider: paramètre ?org= trouvé dans l'URL",x),E.delete("org");const S=`${n.pathname}${E.toString()?"?"+E.toString():""}`;window.history.replaceState({},"",S),i(x)}else{const S=localStorage.getItem("Organization");S?(r&&console.log("OrganizationProvider: organisation trouvée dans le localStorage",S),i(S)):r&&console.log("OrganizationProvider: aucune organisation trouvée")}},[t,n.search,n.pathname,r]);function o(E){r&&console.log("User logged in:",E),!a&&!t&&E!=null&&E.defaultOrganization&&i(E.defaultOrganization)}const{data:s,isLoading:c,refetch:u}=o1(a),d=pf();function f(){u(),d.invalidateQueries()}O.useEffect(()=>{f()},[a]),O.useEffect(()=>{localStorage.removeItem("invalid-organizations")},[]);const[h,v]=O.useState(""),[g,p]=O.useState({clientId:"",appSecret:"",clientIdSandbox:"",appSecretSandbox:"",enabled:!1});O.useEffect(()=>{localStorage.setItem("Organization",a),r&&(a?console.log("OrganizationProvider: organisation mise à jour dans le localStorage",a):console.warn("OrganizationProvider: organisationState est vide, pas de mise à jour dans le localStorage"))},[a]),O.useEffect(()=>{v((s==null?void 0:s.image)??""),s&&p({clientId:(s==null?void 0:s.paypalClientId)??"",appSecret:(s==null?void 0:s.paypalAppSecret)??"",clientIdSandbox:(s==null?void 0:s.paypalClientIdSandbox)??"",appSecretSandbox:(s==null?void 0:s.paypalAppSecretSandbox)??"",enabled:!!s.paypalEnabled||!1})},[s]);async function m(E){const x=await wP(E);return x!=null&&x.success&&u(),x==null?void 0:x.success}async function b(E){const x=await SP(E);return x!=null&&x.success&&(u(),p(S=>({...S,enabled:E}))),x==null?void 0:x.success}async function y(){await xP(),u()}async function w(E,x,S){const A=await EP(E,x,S);return f(),A}return C.jsx(wx.Provider,{value:{organization:a,organizationImage:h,organizationDetails:s??void 0,areOrganizationDetailsLoading:c,paypalInfo:g,onLoggedIn:o,updateOrganizationDetails:m,updatePaypalConfiguration:w,toggleOrganizationMode:y,updateOrganizationPaypalEnabled:b,refetchOrganizationDetails:f},children:e})}async function oY(){return await Rt.get("/users/roles")}const Sx=(e,t)=>lr(["user-role-details",e,t],oY,{enabled:!!e,select:n=>n==null?void 0:n.data,onError:n=>{console.error("Error fetching user role details:",n)}}),sY={apiKey:"AIzaSyCpAeHlt1wZvM5KtYg7X7MDVnWVJT86gvc",authDomain:"lystech.firebaseapp.com",databaseURL:"https://lystech.firebaseio.com",projectId:"lystech",storageBucket:"lystech.appspot.com",messagingSenderId:"237347321732",appId:"1:237347321732:web:7f9586d48e488d73ddcfd1"};async function Hv(e){const t=await Rt.get(`users/impersonate/${e}`);return t==null?void 0:t.data}const Ex=e=>lr(["impersonating-user",e],()=>Hv(e),{enabled:!!e});async function xx(e){const t=new FormData;t.append("image",e);const n=await Rt.put("users/image",t,{headers:{"Content-Type":"multipart/form-data"},data:t});return n==null?void 0:n.data}async function Ax(e,t){const n=await Rt.put("users/image/url",{authKey:e,imageUrl:t});return n==null?void 0:n.data}async function lY(e){const t=await Rt.post("auth/request-reset-password",{email:e});return t==null?void 0:t.data}async function cY(e){const t=await Rt.post(`auth/activate/${e}`);return t==null?void 0:t.data}async function Ox(e){return await Rt.post("auth/register",{...e})}const Mx=O.createContext({});function dr(){return O.useContext(Mx)}function uY({children:e,shouldRedirectAfterLogin:t,loginRedirectRoute:n,quickGoogleLoginButtonStyle:r,enableGoogleQuickLoginButton:a,showGoogleQuickLoginButton:i,useGoogleAutoSelect:o=!0}){var le,$,de,se,pe,ye,Se;const[s,c]=O.useState(n||null),{debugMode:u}=Fi();Xg(sY);const{organization:d,onLoggedIn:f}=Qr(),h=O.useCallback(()=>{const ne=sessionStorage.getItem("username");if(ne)return{id:parseInt(sessionStorage.getItem("id")||"-1"),displayName:ne,firstName:sessionStorage.getItem("firstName")||"",lastName:sessionStorage.getItem("lastName")||"",birthday:sessionStorage.getItem("birthday")?new Date(sessionStorage.getItem("birthday")):null,email:sessionStorage.getItem("email")||"",UID:sessionStorage.getItem("authKey")||"",profileImage:sessionStorage.getItem("profileImage")||"",notifyCoffee:sessionStorage.getItem("notifyCoffee")?parseInt(sessionStorage.getItem("notifyCoffee")):0,defaultOrganization:sessionStorage.getItem("defaultOrganization")||"",thirdPartyAuthUID:sessionStorage.getItem("thirdPartyAuthUID")||"",roleDetails:{role:"",isOwner:!1,isSuperAdmin:!1,isAdmin:!1,isUser:!1,isSuperAdminOrMore:!1,isAdminOrMore:!1,isUserOrMore:!1,isAdminInAnyOrganization:!1},type:"emailPassword",activatedOn:"",approvedBy:""}},[]),v=O.useCallback(()=>{const ae=h();return ae||{}},[h]);function g(ae){p&&(p.notifyCoffee=ae,m({...p}),sessionStorage.setItem("notifyCoffee",ae.toString()))}const[p,m]=O.useState(v()),[b,y]=O.useState(localStorage.getItem("impersonateAuthKey")||void 0),w=O.useCallback(async ae=>{const{success:ne,url:be}=await xx(ae);return ne&&(p.photoURL=be,p.profileImage=be,m({...p}),sessionStorage.setItem("profileImage",be||"")),ne},[p,m]),E=O.useCallback(async ae=>{const{success:ne,url:be}=await Ax(p==null?void 0:p.UID,ae);return ne&&(p.photoURL=be,p.profileImage=be,m({...p}),sessionStorage.setItem("profileImage",be||"")),ne},[p,m]),x=O.useCallback(ae=>{p.firstName=ae,m({...p}),sessionStorage.setItem("firstName",ae)},[p,m]),S=O.useCallback(ae=>{p.lastName=ae,m({...p}),sessionStorage.setItem("lastName",ae)},[p,m]);O.useEffect(()=>{b?localStorage.setItem("impersonateAuthKey",b):localStorage.removeItem("impersonateAuthKey")},[b]);const A=y1(),P=H6(),M=O.useMemo(()=>{if(p&&p.id!==-1&&p!=null&&p.UID)return{id:p.id,UID:p.UID,thirdPartyAuthUID:p.thirdPartyAuthUID,displayName:p.displayName,firstName:p.firstName,lastName:p.lastName,birthday:p.birthday,profileImage:p.profileImage,defaultOrganization:p.defaultOrganization,email:p.email,roleDetails:p.roleDetails,type:"emailPassword",activatedOn:p.activatedOn,notifyCoffee:p.notifyCoffee,approvedBy:p.approvedBy}},[p]);O.useEffect(()=>{M&&b===(M==null?void 0:M.UID)&&y(void 0)},[M,b]);const{data:N}=Ex(b||""),{data:I,isLoading:L}=Sx(N?N==null?void 0:N.UID:M==null?void 0:M.UID,d),D=O.useMemo(()=>N?{...N,roleDetails:I}:{...M,roleDetails:I},[M,N,I]),R=O.useMemo(()=>!!(M!=null&&M.UID)&&(M==null?void 0:M.id)!==-1,[M]);O.useEffect(()=>{localStorage.setItem("authKey",(M==null?void 0:M.UID)??"")},[M]);const[T,j]=O.useState(!0),z=O.useRef(!1);O.useEffect(()=>{z.current||(z.current=!0,F().finally(()=>j(!1)))},[]);async function F(){try{const ae=await Rt.get("/auth/me");return console.log("Validate Me Response",ae),ae.data&&oe(ae==null?void 0:ae.data),ae==null?void 0:ae.data}catch(ae){return console.log("Validate Me Error",ae),null}finally{j(!1)}}O.useEffect(()=>{I&&localStorage.setItem("userRoleDetails",JSON.stringify(I)),N?localStorage.setItem("impersonatedUserAuthKey",N.UID):localStorage.removeItem("impersonatedUserAuthKey")},[I,N]);const V=O.useMemo(()=>{if(!R)return"/login";let ae="";return I&&(ae="/past-orders"),ae===""&&(ae="/"),("/"+ae+"/").replace(/\/+/g,"/")},[I,R]);async function U(ae,ne,be,we=()=>{},ge=()=>{},xe=0){try{const Ne={email:ae,password:ne},ke=await Rt.get("/auth/login",{headers:Ne}),ze=!!ke.data;be({result:ze,data:ke==null?void 0:ke.data}),xe>0?setTimeout(()=>{oe(ke==null?void 0:ke.data),t&&s&&A(s),f&&f(ke==null?void 0:ke.data)},xe):(oe(ke==null?void 0:ke.data),f&&f(ke==null?void 0:ke.data),t&&s&&A(s))}catch(Ne){console.log("Login Error",Ne),(Ne==null?void 0:Ne.status)===403?we(Ne):ge(Ne)}}async function k(ae,ne,be){const we=await Rt.post("/auth/login/third-party",{providerData:ae,token:ne,tokenType:be}),ge=we==null?void 0:we.data;if(!ge){console.error("No user data returned from third-party login");return}return oe(ge),f&&f(ge),we}async function H(){var ae,ne,be,we;try{const ge=new ya;ge.setCustomParameters({prompt:"select_account"});const xe=await U0(P,ge);if(((ne=(ae=xe==null?void 0:xe.user)==null?void 0:ae.providerData)==null?void 0:ne.length)===0||!((be=xe==null?void 0:xe.user)!=null&&be.providerData))return;const Ne=(we=xe==null?void 0:xe.user)==null?void 0:we.providerData[0],ke=await xe.user.getIdToken();return await k(Ne,ke,"firebase")}catch(ge){console.error("Google login failed",ge)}}async function B(){var ae;try{const ne=new ba,be=await U0(P,ne),we=(ae=be==null?void 0:be.user)==null?void 0:ae.providerData[0],ge=await be.user.getIdToken();return await k(we,ge,"firebase")}catch(ne){console.error("Facebook login failed",ne)}}async function W(){y(void 0);try{await Rt.post("/auth/logout")}catch(ae){console.warn("Déconnexion serveur échouée",ae)}sessionStorage.clear(),localStorage.clear(),oe(null),PO(P),A("/login")}async function Y(ae){const ne=q6(ae.credential);if(ne!=null&&ne.email){let be="unknown.com";ne!=null&&ne.iss.includes("google")?be="google.com":ne!=null&&ne.iss.includes("facebook")&&(be="facebook.com");const we={displayName:ne==null?void 0:ne.given_name,email:ne==null?void 0:ne.email,phoneNumber:null,photoURL:ne==null?void 0:ne.picture,providerId:be,uid:ne==null?void 0:ne.sub};return await k(we,ae.credential,"google")}}const X=()=>{console.error("Google login failed")};function q(ae){I!=null&&I.isSuperAdminOrMore&&y(ae)}function ee(ae){t&&s&&A(s)}function ie(ae){var ne;if(!ae){sessionStorage.clear();return}sessionStorage.setItem("username",ae.displayName),sessionStorage.setItem("email",ae.email),sessionStorage.setItem("firstName",ae.firstName??""),sessionStorage.setItem("lastName",ae.lastName??""),sessionStorage.setItem("birthday",((ne=ae.birthday)==null?void 0:ne.toString())??""),sessionStorage.setItem("defaultOrganization",ae.defaultOrganization),sessionStorage.setItem("id",ae.id.toString()),sessionStorage.setItem("authKey",ae.UID),sessionStorage.setItem("thirdPartyAuthUID",ae.thirdPartyAuthUID),sessionStorage.setItem("profileImage",ae.profileImage),sessionStorage.setItem("notifyCoffee",ae.notifyCoffee.toString())}function oe(ae){m(ae),ie(ae),(ae==null?void 0:ae.id)==-1&&(ae==null?void 0:ae.id)!=-1&&ee()}const _=O.useMemo(()=>{var ae,ne,be;return R?!1:a!==void 0?a:!((ae=window==null?void 0:window.location)!=null&&ae.pathname.includes("/activate"))&&!((ne=window==null?void 0:window.location)!=null&&ne.pathname.includes("/account/reset-password"))&&!((be=window==null?void 0:window.location)!=null&&be.pathname.includes("/account/activation"))},[R,a,(le=window==null?void 0:window.location)==null?void 0:le.pathname]),te=O.useMemo(()=>{var ae;return i!==void 0?i:_&&!((ae=window==null?void 0:window.location)!=null&&ae.pathname.includes("/login"))},[_,i,($=window==null?void 0:window.location)==null?void 0:$.pathname]);return O.useEffect(()=>{u&&(console.log("AuthProvider - user.UID:",M==null?void 0:M.UID),console.log("AuthProvider - isLoggedIn:",R))},[M==null?void 0:M.UID,R]),C.jsx(W6,{clientId:"237347321732-65nra8lcs59qn6dms77ruad01vjdr7ph.apps.googleusercontent.com",children:C.jsxs(Mx.Provider,{value:{user:M?{...M,roleDetails:I||{role:"",isOwner:!1,isSuperAdmin:!1,isAdmin:!1,isUser:!1,isSuperAdminOrMore:!1,isAdminOrMore:!1,isUserOrMore:!1,isAdminInAnyOrganization:!1}}:void 0,impersonatedUser:N,currentUser:D,auth:P,isLoggedIn:R,isCheckingSession:T,isSuperAdmin:(de=D==null?void 0:D.roleDetails)==null?void 0:de.isSuperAdminOrMore,isAdmin:(se=D==null?void 0:D.roleDetails)==null?void 0:se.isAdminOrMore,isUser:(pe=D==null?void 0:D.roleDetails)==null?void 0:pe.isUserOrMore,isSuperAdminInAnyOrganization:(ye=D==null?void 0:D.roleDetails)==null?void 0:ye.isSuperAdminOrMore,isAdminInAnyOrganization:(Se=D==null?void 0:D.roleDetails)==null?void 0:Se.isAdminInAnyOrganization,areRoleDetailsLoading:L,homeRoute:V,impersonateAuthKey:b,setLoginRedirectRouteState:c,registerNewUser:Ox,signInWithEmailAndPassword:U,signInWithGoogle:H,signInWithFacebook:B,logout:W,requestResetPassword:lY,activateUser:cY,impersonate:q,getImpersonatingUser:Hv,updateUserImage:w,updateUserImageUrl:E,updateUserFirstName:x,updateUserLastName:S,updateNotificationState:g},children:[u&&C.jsx("div",{className:"p-10",children:C.jsxs("p",{children:["Login Redirect Route State: ",C.jsx("b",{children:s||"null"})]})}),e,_&&C.jsx("div",{className:`fixed top-10 right-10 ${te?"":"hidden"}`,style:r,children:C.jsx(Z6,{onSuccess:Y,onError:X,auto_select:o,useOneTap:!0,type:"icon"})})]})})}async function dY(){return(await Rt.get("/politique-and-conditions/9716a5de-02be-4fb2-b9b5-85ad82bfae4f")).data}async function fY(){return(await Rt.get("/politique-and-conditions")).data}const Px=()=>lr({queryKey:["lystech-politique-and-conditions"],queryFn:dY}),Nx=e=>lr({queryKey:["politique-and-conditions",e],queryFn:fY,enabled:!!e});async function hY(){const e=await Rt.get("collections/invitation");return(e==null?void 0:e.data)||[]}const Ku=(e,t)=>lr(["invitedToOrders",e,t],hY,{staleTime:1e3*60*2,select:n=>t?n.filter(r=>r.organization.subdomain===t):n,enabled:!!e});async function mY(e,t){const n={code:e,products:t},r=await Rt.post("promo-codes/validate",n);return r==null?void 0:r.data}async function Ix(){const e=await Rt.get("promo-codes/user");return e==null?void 0:e.data}const vY=e=>lr(["personal-promo-codes",e],Ix,{enabled:!!e,refetchInterval:45*1e3,refetchOnWindowFocus:!0});async function Rx(){const e=await Rt.get("images/featured");return e==null?void 0:e.data}const gY=()=>lr(["featured-images"],Rx,{onError:e=>{console.error("Error fetching featured images:",e)}});async function Dx(e){const t=await Rt.get(`/posts/slug/${e}`);if(t.status!==200)throw new Error(`Error fetching post with ID ${e}: ${t.statusText}`);return t.data}const pY=(e,t)=>lr(["single-post",e,t],()=>Dx(e));async function bY(e){const t=await Rt.get(`/shop/collection/${e}`);return t==null?void 0:t.data}async function yY(e,t){const n=await Rt.post("/shop/breakdown",{products:e,promoCodes:t});return n==null?void 0:n.data}async function CY(e){const t=await Rt.post("/shop/save",e);return t==null?void 0:t.data}const jx=(e,t,n)=>lr(["order-details-breakdown",e,t.map(r=>r.UID),t.map(r=>r.quantity),n.map(r=>r.toLowerCase())],async()=>await yY(t,n),{enabled:!!e&&t.length>0}),wY=()=>pf();async function SY(){try{const e=await Rt.get("/shop/collections");return localStorage.setItem("collections",JSON.stringify(e==null?void 0:e.data)),(e==null?void 0:e.data)||[]}catch(e){return console.log(e),[]}}async function Tx(e){var n;const t=await Rt.post("stripe/checkout",e);if(t.status===200&&((n=t.data)!=null&&n.url))return t.data;throw new Error("Failed to create Stripe checkout session")}const Lx=({onSuccess:e,onAccountNotActivated:t,onAccountNotFound:n,onError:r,className:a="",showTitle:i=!0,title:o="Se connecter",loginButtonText:s="Se connecter",pendingConnexionButtonText:c="Connexion...",passwordFieldLabel:u="Mot de passe",emailFieldLabel:d="Email",emailFieldPlaceholder:f="Votre email",passwordFieldPlaceholder:h="••••••••••••",loginSuccessMessage:v="Connexion réussie",unknownErrorMessage:g="Une erreur inconnue est survenue.",showForgotPassword:p=!1,forgotPasswordText:m="Mot de passe oublié ?",onForgotPassword:b})=>{const y=dr(),w=Zr(),[E,x]=O.useState({email:"",password:""}),[S,A]=O.useState(!1),[P,M]=O.useState(!1),N=(L,D)=>{x(R=>({...R,[L]:D}))},I=async L=>{var D,R,T;L.preventDefault(),A(!0);try{await y.signInWithEmailAndPassword(E.email,E.password,j=>{e?e(j):w.showMessage({type:"success",message:v})},j=>{t?t(j):w.showMessage({type:"warning",message:j==null?void 0:j.message})},j=>{n?n(j):w.showMessage({type:"error",message:j==null?void 0:j.message})})}catch(j){const z=j instanceof Error?j:new Error("Erreur inconnue");if(r)r(z);else{const F=(T=(R=(D=j.error)==null?void 0:D.response)==null?void 0:R.data)==null?void 0:T.message;w.showMessage({type:"error",message:F||g})}}finally{A(!1)}};return C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:`auth-form ${a}`,children:[i&&C.jsx("h2",{children:o}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"email",children:d}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(Wu,{size:18})}),C.jsx("input",{type:"email",id:"email",value:E.email,onChange:L=>N("email",L.target.value),required:!0,placeholder:f})]})]})}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"password",children:u}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(Uu,{size:18})}),C.jsx("input",{type:P?"text":"password",id:"password",value:E.password,onChange:L=>N("password",L.target.value),required:!0,placeholder:h}),C.jsx("button",{type:"button",className:"auth-field__icon auth-field__eye",onClick:()=>M(L=>!L),"aria-label":P?"Masquer le mot de passe":"Afficher le mot de passe",children:P?C.jsx(nx,{size:18}):C.jsx(tx,{size:18})})]})]})}),p&&b&&C.jsx("div",{className:"auth-form__forgot",children:C.jsx("button",{type:"button",className:"link-button",onClick:b,children:m})}),C.jsx("button",{type:"button",disabled:S||!E.email.trim()||!E.password.trim(),className:"btn btn-primary",onClick:I,children:S?c:s})]}),C.jsx("div",{className:"auth-divider",children:"ou continuer avec"}),C.jsxs("div",{className:"third-party-row",children:[C.jsxs("button",{type:"button",className:"third-party-login-button login-with-google",onClick:()=>y.signInWithGoogle(),children:[C.jsx(ix,{size:20,weight:"bold"})," Google"]}),C.jsxs("button",{type:"button",className:"third-party-login-button login-with-facebook",onClick:()=>y.signInWithFacebook(),children:[C.jsx(rx,{size:20,weight:"fill"})," Facebook"]})]})]})},zx=({onSuccess:e,onEmailAlreadyExists:t,onError:n,className:r="",showTitle:a=!0,title:i="Créer un compte",showBirthdayField:o=!0,firstNameFieldLabel:s="Prénom",firstNameFieldPlaceholder:c="Votre prénom",lastNameFieldLabel:u="Nom",lastNameFieldPlaceholder:d="Votre nom",emailFieldLabel:f="Email",emailFieldPlaceholder:h="Votre email",birthdayFieldLabel:v="Date de naissance",birthdayFieldPlaceholder:g="Votre date de naissance",passwordFieldLabel:p="Mot de passe",passwordFieldPlaceholder:m="••••••••••••",confirmPasswordFieldLabel:b="Confirmation du mot de passe",confirmPasswordFieldPlaceholder:y="••••••••••••",createAccountButtonText:w="Créer le compte",creatingAccountButtonText:E="Création en cours...",accountCreatedMessage:x="Compte créé avec succès !",accountAlreadyExistsMessage:S="Un compte avec cet email existe déjà.",errorMessage:A="Une erreur est survenue lors de la création du compte.",passwordNotMatchMessage:P="Les mots de passe ne correspondent pas.",politiqueAndConditionsConsentTexte:M="En créant un compte, j'accepte les termes et conditions.",seePolitiqueAndConditions:N="Voir les termes et conditions",politiqueAndConditionsRoute:I="/conditions"})=>{const L=dr(),D=Zr(),[R,T]=O.useState({firstName:"",lastName:"",email:"",birthday:"",password:"",confirmPassword:""}),[j,z]=O.useState(!1),F=(U,k)=>{T(H=>({...H,[U]:k}))},V=async U=>{var k,H,B;if(U.preventDefault(),z(!0),R.password!==R.confirmPassword){D.showMessage({type:"error",message:P}),z(!1);return}try{L.registerNewUser?(await L.registerNewUser({username:R.email,email:R.email,password:R.password,firstName:R.firstName,lastName:R.lastName,birthday:R.birthday||void 0}),e?e():D.showMessage({type:"success",message:x})):D.showMessage({type:"error",message:"La méthode d'enregistrement n'est pas disponible."})}catch(W){const Y=W instanceof Error?W:new Error("Erreur inconnue");if(n)console.log("Error in AuthRegisterForm:",Y),n(Y);else{const X=(B=(H=(k=W.error)==null?void 0:k.response)==null?void 0:H.data)==null?void 0:B.message;D.showMessage({type:"error",message:X})}}finally{z(!1)}};return C.jsxs("form",{onSubmit:V,className:`auth-form ${r}`,children:[a&&C.jsx("h2",{children:i}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"firstName",children:s}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(zv,{size:18})}),C.jsx("input",{type:"text",id:"firstName",value:R.firstName,onChange:U=>F("firstName",U.target.value),placeholder:c,required:!0})]})]})}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"lastName",children:u}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(zv,{size:18})}),C.jsx("input",{type:"text",id:"lastName",value:R.lastName,onChange:U=>F("lastName",U.target.value),required:!0,placeholder:d})]})]})}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"email",children:f}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(Wu,{size:18})}),C.jsx("input",{type:"email",id:"email",value:R.email,onChange:U=>F("email",U.target.value),required:!0,placeholder:h})]})]})}),o&&C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"birthday",children:v}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(XE,{size:18})}),C.jsx("input",{type:"date",id:"birthday",value:R.birthday,onChange:U=>F("birthday",U.target.value)})]})]})}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"password",children:p}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(Uu,{size:18})}),C.jsx("input",{type:"password",id:"password",value:R.password,onChange:U=>F("password",U.target.value),required:!0,placeholder:m})]})]})}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"confirmPassword",children:b}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(Uu,{size:18})}),C.jsx("input",{type:"password",id:"confirmPassword",value:R.confirmPassword,onChange:U=>F("confirmPassword",U.target.value),required:!0,placeholder:y})]})]})}),C.jsx("div",{className:"form-row",children:C.jsx("div",{className:"form-group",style:{fontSize:"0.95em",color:"#555"},children:C.jsxs("span",{children:[M," ",C.jsx("a",{href:I,target:"_blank",rel:"noopener noreferrer",style:{color:"var(--auth-accent)",textDecoration:"underline"},children:N})]})})}),C.jsx("button",{type:"submit",disabled:j,className:"btn btn-primary",children:j?E:w})]})},Fx=({onSuccess:e,onError:t,className:n="",showTitle:r=!0,title:a="Réinitialiser le mot de passe",showDescription:i=!0,description:o="Entrez votre email pour recevoir un lien de réinitialisation.",emailFieldLabel:s="Email",confirmButtonText:c="Envoyer le lien",confirmingButtonText:u="Envoi en cours...",emailFieldPlaceholder:d="votre@email.com",activationMailSentMessage:f="Un email de réinitialisation a été envoyé à votre adresse.",errorMessage:h="Impossible d'envoyer l'email de réinitialisation."})=>{const v=dr(),g=Zr(),[p,m]=O.useState(""),[b,y]=O.useState(""),[w,E]=O.useState(!1),x=async A=>{A.preventDefault(),E(!0);try{const P=await v.requestResetPassword(p);y(p),e?e(p):g.showMessage({type:"success",message:f})}catch(P){const M=P instanceof Error?P:new Error("Erreur inconnue");t?t(M):g.showMessage({type:"error",message:`${h}`})}finally{E(!1)}},S=w||p===b||!p.trim();return C.jsxs("form",{onSubmit:x,className:`auth-form ${n}`,children:[r&&C.jsx("h2",{children:a}),i&&C.jsx("p",{className:"form-description",children:o}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"email",children:s}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(Wu,{size:18})}),C.jsx("input",{type:"email",id:"email",value:p,onChange:A=>m(A.target.value),required:!0,placeholder:d})]})]})}),C.jsx("button",{type:"submit",disabled:S,className:"btn btn-primary",children:w?u:c})]})},kx=({onLogout:e,onClose:t,className:n="",showTitle:r=!0,title:a="Profil utilisateur",showCloseButton:i=!1,closeButtonText:o="Fermer",logoutSuccessMessage:s="Déconnexion réussie",logoutErrorMessage:c="Erreur lors de la déconnexion",disconnectedLabel:u="Non connecté",mustBeLoggedInMessage:d="Vous devez être connecté pour voir votre profil.",logoutButtonText:f="Se déconnecter",emailLabel:h="Email",nameLabel:v="Nom",idLabel:g="ID"})=>{var y,w,E;const p=dr(),m=Zr(),b=async()=>{try{await p.logout(),e?e():m.showMessage({type:"success",message:s})}catch(x){console.error("Erreur lors de la déconnexion:",x),m.showMessage({type:"error",message:c})}};return p.isLoggedIn?C.jsxs("div",{className:`user-profile ${n}`,children:[C.jsx("div",{className:"profile-icon",children:"👤"}),r&&C.jsx("h2",{children:a}),C.jsxs("div",{className:"user-info",children:[C.jsxs("div",{className:"info-item",children:[C.jsxs("span",{className:"label",children:[h,":"]}),C.jsx("span",{className:"value",children:((y=p.currentUser)==null?void 0:y.email)||"N/A"})]}),C.jsxs("div",{className:"info-item",children:[C.jsxs("span",{className:"label",children:[v,":"]}),C.jsx("span",{className:"value",children:((w=p.currentUser)==null?void 0:w.displayName)||"N/A"})]}),C.jsxs("div",{className:"info-item",children:[C.jsxs("span",{className:"label",children:[g,":"]}),C.jsx("span",{className:"value",children:((E=p.currentUser)==null?void 0:E.id)||"N/A"})]})]}),C.jsxs("div",{className:"profile-actions",children:[C.jsx("button",{onClick:b,className:"btn btn-logout",children:f}),i&&t&&C.jsx("button",{onClick:t,className:"btn btn-secondary",children:o})]})]}):C.jsxs("div",{className:`user-profile ${n}`,children:[C.jsx("div",{className:"profile-icon",children:"🔒"}),C.jsx("h2",{children:u}),C.jsx("p",{children:d})]})};function Hx(){const{organization:e}=Qr(),{data:t,isLoading:n}=Px(),{data:r,isLoading:a}=Nx(e),i=O.useMemo(()=>n||a?[]:e!=="lystech"?[...r||[],...t||[]]:r||[],[t,r,n,a,e]);return C.jsx("div",{className:"flex col gap-10",style:{padding:"20px",textAlign:"left"},children:i&&i.map(o=>C.jsxs("div",{className:"p-4 border rounded bg-white",children:[C.jsx("div",{dangerouslySetInnerHTML:{__html:o.content}}),C.jsx("div",{className:"text-xs text-gray-500 mt-2",children:o.updatedOn?`Updated: ${new Date(o.updatedOn).toLocaleString()}`:""})]},o.id))})}function EY(){const{showMessage:e}=Zr(),{activateUser:t}=dr(),{token:n}=w3(),[r,a]=O.useState(!1),[i,o]=O.useState(!1),s=O.useRef(!1),[c,u]=O.useState(null);async function d(f){if(!s.current){s.current=!0,u({type:"info",content:"Activation en cours..."}),a(!0);try{const h=await t(f);return h!=null&&h.success?(e({message:"Votre compte a été activé avec succès.",type:"success",duration:1e4}),o(!0),u({type:"success",content:"Votre compte a été activé avec succès. Redirection..."}),setTimeout(()=>{if(h!=null&&h.redirectionUrl){window.location.href=h.redirectionUrl;return}else window.location.href="/login"},3e3)):(e({message:"L'activation de votre compte a échoué ou ce lien est expiré.",type:"error",duration:1e4}),u({type:"error",content:"L'activation de votre compte a échoué ou ce lien est expiré."})),h}catch{return e({message:"Une erreur s'est produite lors de l'activation de votre compte.",type:"error",duration:1e4}),u({type:"error",content:"Une erreur s'est produite lors de l'activation de votre compte."}),null}finally{a(!1)}}}return O.useEffect(()=>{n&&!i&&!r&&!s.current&&d(n)},[n,i,r]),C.jsx("div",{className:"account-activation auth-theme-container",children:C.jsx("div",{className:"auth-theme-content",children:C.jsx("div",{className:`auth-message ${(c==null?void 0:c.type)||""}`.trim(),children:c==null?void 0:c.content})})})}const xY=({onSuccess:e,onCancel:t,style:n,className:r="",centered:a=!1,showLogo:i=!0,logoSrc:o,appName:s="",defaultMode:c="login",cancelButtonText:u="Annuler",returnToLoginButtonText:d="Retour à la connexion",showTitle:f=!0,title:h="",showLoginForm:v=!0,showRegisterForm:g=!0,showForgotPasswordForm:p=!0,loginButtonText:m="Se connecter",registerButtonText:b="S'inscrire",forgotPasswordButtonText:y="Réinitialiser le mot de passe",loginFormProps:w={},registerFormProps:E={},forgotPasswordFormProps:x={},politiqueAndConditionsConsentTexte:S="En créant un compte, j'ai lu, compris et j'accepte les règles d'utilisation.",seePolitiqueAndConditions:A="Voir les termes et conditions",politiqueAndConditionsRoute:P="/conditions"})=>{const M=dr(),N=xf(),[I,L]=O.useState(c),D=!!P&&(N==null?void 0:N.pathname)===P,R=()=>{e==null||e()},T=()=>{L("login")},j=()=>{L("login")},z=()=>{};return D?C.jsx(Hx,{}):M.isLoggedIn?C.jsx("div",{className:`auth-template connected ${r}`,style:{...n,...a?{maxWidth:"400px",margin:"0 auto",padding:"20px"}:{}},children:C.jsxs("div",{className:"auth-container",children:[i&&C.jsxs("div",{className:"auth-header",children:[o&&C.jsx("img",{src:o,alt:s,className:"auth-logo"}),C.jsx("h1",{children:s})]}),C.jsx(kx,{onLogout:z,onClose:t,showCloseButton:!!t})]})}):C.jsx("div",{className:`auth-template ${r}`,style:{...n,...a?{maxWidth:"400px",margin:"0 auto",padding:"20px"}:{}},children:C.jsxs("div",{className:"auth-container",children:[i&&C.jsxs("div",{className:"auth-header",children:[o&&C.jsx("img",{src:o,alt:s,className:"auth-logo"}),C.jsx("h1",{children:s})]}),f&&C.jsx("div",{className:"auth-title",children:C.jsx("h2",{children:h})}),C.jsxs("div",{className:"auth-tabs",children:[v&&C.jsx("button",{className:`tab ${I==="login"?"active":""}`,onClick:()=>L("login"),children:m}),g&&C.jsx("button",{className:`tab ${I==="register"?"active":""}`,onClick:()=>L("register"),children:b})]}),C.jsxs("div",{className:"auth-content",children:[I==="login"&&v&&C.jsx("div",{children:C.jsx(Lx,{onSuccess:R,loginButtonText:"Se connecter",className:"auth-login-form",showTitle:!1,showForgotPassword:p,forgotPasswordText:y,onForgotPassword:()=>L("forgot-password"),...w})}),I==="register"&&g&&C.jsx(zx,{onSuccess:T,politiqueAndConditionsConsentTexte:S,seePolitiqueAndConditions:A,politiqueAndConditionsRoute:P,...E}),I==="forgot-password"&&p&&C.jsxs("div",{children:[C.jsx(Fx,{onSuccess:j,...x}),C.jsx("div",{className:"auth-links",children:C.jsxs("button",{type:"button",onClick:()=>L("login"),className:"link-button",children:["← ",d]})})]}),I==="activation"&&C.jsx(EY,{})]}),t&&C.jsx("div",{className:"auth-footer",children:C.jsx("button",{onClick:t,className:"btn btn-secondary",children:u})})]})})};function Zu(){const{organizationDetails:e}=Qr();return C.jsxs("div",{style:{width:"100%",minHeight:"400px",display:"flex",justifyContent:"center",alignItems:"center",fontSize:18,color:"#888"},children:[C.jsx("div",{className:"loading-spinner",style:{width:48,height:48,border:"6px solid #eee",borderTop:`6px solid ${(e==null?void 0:e.primaryColor)||"#1677ff"}`,borderRadius:"50%",animation:"spin 1s linear infinite"}}),C.jsx("style",{children:`
1690
+ `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:"ltr",insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},HB=jn(["Input","TextArea"],e=>{const t=Xt(e,ll(e));return[kB(t)]},cl,{resetFont:!1});var BB=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const VB=O.forwardRef((e,t)=>{var n;const{prefixCls:r,bordered:a=!0,size:i,disabled:o,status:s,allowClear:c,classNames:u,rootClassName:d,className:f,style:h,styles:v,variant:g,showCount:p,onMouseDown:m,onResize:b}=e,y=BB(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]);if(process.env.NODE_ENV!=="production"){const{deprecated:se}=rn("TextArea");se(!("bordered"in e),"bordered","variant")}const{getPrefixCls:w,direction:E,allowClear:x,autoComplete:S,className:A,style:P,classNames:M,styles:N}=br("textArea"),I=l.useContext(Yr),L=o??I,{status:D,hasFeedback:R,feedbackIcon:T}=l.useContext(wr),j=Po(D,s),z=l.useRef(null);l.useImperativeHandle(t,()=>{var se;return{resizableTextArea:(se=z.current)===null||se===void 0?void 0:se.resizableTextArea,focus:pe=>{var ye,Se;aE((Se=(ye=z.current)===null||ye===void 0?void 0:ye.resizableTextArea)===null||Se===void 0?void 0:Se.textArea,pe)},blur:()=>{var pe;return(pe=z.current)===null||pe===void 0?void 0:pe.blur()}}});const F=w("input",r),V=Nr(F),[U,k,H]=LS(F,d),[B]=HB(F,V),{compactSize:W,compactItemClassnames:Y}=Mi(F,E),X=Ir(se=>{var pe;return(pe=i??W)!==null&&pe!==void 0?pe:se}),[q,ee]=No("textArea",g,a),ie=sE(c??x),[oe,_]=l.useState(!1),[te,le]=l.useState(!1),$=se=>{_(!0),m==null||m(se);const pe=()=>{_(!1),document.removeEventListener("mouseup",pe)};document.addEventListener("mouseup",pe)},de=se=>{var pe,ye;if(b==null||b(se),oe&&typeof getComputedStyle=="function"){const Se=(ye=(pe=z.current)===null||pe===void 0?void 0:pe.nativeElement)===null||ye===void 0?void 0:ye.querySelector("textarea");Se&&getComputedStyle(Se).resize==="both"&&le(!0)}};return U(B(l.createElement(FB,Object.assign({autoComplete:S},y,{style:Object.assign(Object.assign({},P),h),styles:Object.assign(Object.assign({},N),v),disabled:L,allowClear:ie,className:ce(H,V,f,d,Y,A,te&&`${F}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},u),M),{textarea:ce({[`${F}-sm`]:X==="small",[`${F}-lg`]:X==="large"},k,u==null?void 0:u.textarea,M.textarea,oe&&`${F}-mouse-active`),variant:ce({[`${F}-${q}`]:ee},Mo(F,j)),affixWrapper:ce(`${F}-textarea-affix-wrapper`,{[`${F}-affix-wrapper-rtl`]:E==="rtl",[`${F}-affix-wrapper-sm`]:X==="small",[`${F}-affix-wrapper-lg`]:X==="large",[`${F}-textarea-show-count`]:p||((n=e.count)===null||n===void 0?void 0:n.show)},k)}),prefixCls:F,suffix:R&&l.createElement("span",{className:`${F}-textarea-suffix`},T),showCount:p,ref:z,onResize:de,onMouseDown:$}))))}),Bn=ul;Bn.Group=gB,Bn.Search=RE,Bn.TextArea=VB,Bn.Password=IE,Bn.OTP=EB;let Tr=null,zi=e=>e(),dl=[],fl={};function DE(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:a}=fl,i=(e==null?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:r,top:a}}const YB=O.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:a}=O.useContext(Dt),i=fl.prefixCls||a("message"),o=O.useContext(gT),[s,c]=qy(Object.assign(Object.assign(Object.assign({},n),{prefixCls:i}),o.message));return O.useImperativeHandle(t,()=>{const u=Object.assign({},s);return Object.keys(u).forEach(d=>{u[d]=(...f)=>(r(),s[d].apply(s,f))}),{instance:u,sync:r}}),c}),WB=O.forwardRef((e,t)=>{const[n,r]=O.useState(DE),a=()=>{r(DE)};O.useEffect(a,[]);const i=Oy(),o=i.getRootPrefixCls(),s=i.getIconPrefixCls(),c=i.getTheme(),u=O.createElement(YB,{ref:t,sync:a,messageConfig:n});return O.createElement(_a,{prefixCls:o,iconPrefixCls:s,theme:c},i.holderRender?i.holderRender(u):u)});function Bu(){if(!Tr){const e=document.createDocumentFragment(),t={fragment:e};Tr=t,zi(()=>{nC()(O.createElement(WB,{ref:r=>{const{instance:a,sync:i}=r||{};Promise.resolve().then(()=>{!t.instance&&a&&(t.instance=a,t.sync=i,Bu())})}}),e)});return}Tr.instance&&(dl.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{zi(()=>{const r=Tr.instance.open(Object.assign(Object.assign({},fl),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":zi(()=>{Tr==null||Tr.instance.destroy(e.key)});break;default:zi(()=>{var r;const a=(r=Tr.instance)[t].apply(r,He(e.args));a==null||a.then(e.resolve),e.setCloseFn(a)})}}),dl=[])}function UB(e){fl=Object.assign(Object.assign({},fl),e),zi(()=>{var t;(t=Tr==null?void 0:Tr.sync)===null||t===void 0||t.call(Tr)})}function GB(e){const t=Th(n=>{let r;const a={type:"open",config:e,resolve:n,setCloseFn:i=>{r=i}};return dl.push(a),()=>{r?zi(()=>{r()}):a.skipped=!0}});return Bu(),t}function KB(e,t){const n=Oy();process.env.NODE_ENV!=="production"&&!n.holderRender&&WR("message");const r=Th(a=>{let i;const o={type:e,args:t,resolve:a,setCloseFn:s=>{i=s}};return dl.push(o),()=>{i?zi(()=>{i()}):o.skipped=!0}});return Bu(),r}const ZB=e=>{dl.push({type:"destroy",key:e}),Bu()},QB=["success","info","warning","error","loading"],jE={open:GB,destroy:ZB,config:UB,useMessage:_D,_InternalPanelDoNotUseOrYouWillBeFired:UD};QB.forEach(e=>{jE[e]=(...t)=>KB(e,t)}),process.env.NODE_ENV,process.env.NODE_ENV;var XB={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z"}}]},name:"heart",theme:"filled"},qB=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:XB}))},JB=l.forwardRef(qB);process.env.NODE_ENV!=="production"&&(JB.displayName="HeartFilled");var _B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"}}]},name:"heart",theme:"outlined"},$B=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:_B}))},eV=l.forwardRef($B);process.env.NODE_ENV!=="production"&&(eV.displayName="HeartOutlined");var tV={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M923 283.6a260.04 260.04 0 00-56.9-82.8 264.4 264.4 0 00-84-55.5A265.34 265.34 0 00679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 00-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z",fill:t}},{tag:"path",attrs:{d:"M679.7 201c-73.1 0-136.5 40.8-167.7 100.4C480.8 241.8 417.4 201 344.3 201c-104 0-188.3 82.6-188.3 184.5 0 201.2 356 429.3 356 429.3s356-228.1 356-429.3C868 283.6 783.7 201 679.7 201z",fill:n}}]}},name:"heart",theme:"twotone"},nV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:tV}))},rV=l.forwardRef(nV);process.env.NODE_ENV!=="production"&&(rV.displayName="HeartTwoTone");var aV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z"}}]},name:"mail",theme:"outlined"},iV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:aV}))},Mv=l.forwardRef(iV);process.env.NODE_ENV!=="production"&&(Mv.displayName="MailOutlined");var oV={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},sV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:oV}))},TE=l.forwardRef(sV);process.env.NODE_ENV!=="production"&&(TE.displayName="StarFilled");const lV=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},Dn(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${me(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorIcon,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},Pv=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM;return Xt(e,{tagFontSize:a,tagLineHeight:me(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},Nv=e=>({defaultBg:new qt(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),LE=jn("Tag",e=>{const t=Pv(e);return lV(t)},Nv);var cV=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const uV=l.forwardRef((e,t)=>{const{prefixCls:n,style:r,className:a,checked:i,onChange:o,onClick:s}=e,c=cV(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:d}=l.useContext(Dt),f=b=>{o==null||o(!i),s==null||s(b)},h=u("tag",n),[v,g,p]=LE(h),m=ce(h,`${h}-checkable`,{[`${h}-checkable-checked`]:i},d==null?void 0:d.className,a,g,p);return v(l.createElement("span",Object.assign({},c,{ref:t,style:Object.assign(Object.assign({},r),d==null?void 0:d.style),className:m,onClick:f})))}),dV=e=>iy(e,(t,{textColor:n,lightBorderColor:r,lightColor:a,darkColor:i})=>({[`${e.componentCls}${e.componentCls}-${t}`]:{color:n,background:a,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}})),fV=yh(["Tag","preset"],e=>{const t=Pv(e);return dV(t)},Nv);function hV(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const Vu=(e,t,n)=>{const r=hV(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},mV=yh(["Tag","status"],e=>{const t=Pv(e);return[Vu(t,"success","Success"),Vu(t,"processing","Info"),Vu(t,"error","Error"),Vu(t,"warning","Warning")]},Nv);var vV=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};const Iv=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:a,style:i,children:o,icon:s,color:c,onClose:u,bordered:d=!0,visible:f}=e,h=vV(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:v,direction:g,tag:p}=l.useContext(Dt),[m,b]=l.useState(!0),y=Qn(h,["closeIcon","closable"]);process.env.NODE_ENV!=="production"&&rn("Tag").deprecated(!("visible"in e),"visible","visible && <Tag />"),l.useEffect(()=>{f!==void 0&&b(f)},[f]);const w=aw(c),E=YL(c),x=w||E,S=Object.assign(Object.assign({backgroundColor:c&&!x?c:void 0},p==null?void 0:p.style),i),A=v("tag",n),[P,M,N]=LE(A),I=ce(A,p==null?void 0:p.className,{[`${A}-${c}`]:x,[`${A}-has-color`]:c&&!x,[`${A}-hidden`]:!m,[`${A}-rtl`]:g==="rtl",[`${A}-borderless`]:!d},r,a,M,N),L=F=>{F.stopPropagation(),u==null||u(F),!F.defaultPrevented&&b(!1)},[,D]=ZC(iu(e),iu(p),{closable:!1,closeIconRender:F=>{const V=l.createElement("span",{className:`${A}-close-icon`,onClick:L},F);return Dh(F,V,U=>({onClick:k=>{var H;(H=U==null?void 0:U.onClick)===null||H===void 0||H.call(U,k),L(k)},className:ce(U==null?void 0:U.className,`${A}-close-icon`)}))}}),R=typeof h.onClick=="function"||o&&o.type==="a",T=s||null,j=T?l.createElement(l.Fragment,null,T,o&&l.createElement("span",null,o)):o,z=l.createElement("span",Object.assign({},y,{ref:t,className:I,style:S}),j,D,w&&l.createElement(fV,{key:"preset",prefixCls:A}),E&&l.createElement(mV,{key:"status",prefixCls:A}));return P(R?l.createElement(Kc,{component:"Tag"},z):z)});process.env.NODE_ENV!=="production"&&(Iv.displayName="Tag"),Iv.CheckableTag=uV;const zE=O.createContext({popupElement:null,confirmPopupElement:null,showPopup:()=>{},showConfirmPopup:()=>{},hidePopup:()=>{},hideConfirmPopup:()=>{},isPopupShowing:!1,isConfirmPopupShowing:!1,showMessage:()=>{},hideMessage:()=>{}}),FE=4400,Zr=()=>O.useContext(zE);function gV({children:e}){const[t,n]=O.useState(null),[r,a]=O.useState(null),[i,o]=O.useState(null),[s,c]=jE.useMessage(),u=O.useCallback(b=>{const{type:y,message:w,key:E,duration:x}=b;if(s.open({type:y,content:w,key:E,duration:x||FE}),b.type==="loading"){const{duration:S}=b;setTimeout(()=>{s.destroy()},S)}else setTimeout(()=>{s.destroy()},x||FE)},[s]);function d(b){s.destroy(b)}const f=O.useMemo(()=>!!t,[t]),h=O.useMemo(()=>!!i,[i]);function v(){n(null)}function g(b){n(b)}function p(b){o(b)}function m(){o(null)}return C.jsxs(zE.Provider,{value:{popupElement:t,confirmPopupElement:i,isPopupShowing:f,isConfirmPopupShowing:h,showPopup:g,showConfirmPopup:p,hidePopup:v,hideConfirmPopup:m,showMessage:u,hideMessage:d},children:[c,e,t?C.jsx("div",{className:"popup",children:t}):null,r?C.jsx("div",{className:"popup",children:r}):null,i||null]})}const kE=O.createContext({children:null}),pV=()=>O.useContext(kE);function bV({children:e}){const{debugMode:t}=Fi(),{showMessage:n}=Zr();function r(i){const o=localStorage.getItem("missing-endpoints")||"[]",s=JSON.parse(o);i.config.url;const c=s.findIndex(u=>u.endpoint===u.endpoint);c!==-1&&s.splice(c,1),localStorage.setItem("missing-endpoints",JSON.stringify(s))}function a(i){var u,d,f,h;const o=((u=i==null?void 0:i.response)==null?void 0:u.status)||0,s=i,c=`[${((d=s==null?void 0:s.config)==null?void 0:d.method)||""}] -> ${((f=s==null?void 0:s.config)==null?void 0:f.url)||""}`;if(t&&console.log("Axios Error:",{status:o,req:c,error:s,message:s==null?void 0:s.message}),o===404){const v=window.location.pathname,g=localStorage.getItem("missing-endpoints")||"[]",p=JSON.parse(g),m={page:v,endpoint:((h=i.config)==null?void 0:h.url)||""};p.find(y=>y.endpoint===m.endpoint)||p.push(m),localStorage.setItem("missing-endpoints",JSON.stringify(p)),t&&(console.log("--------- Missing endpoints ---------"),p.forEach(y=>{console.log(`Page: ${y.page} - Endpoint: ${y.endpoint}`)}),console.log("--------- Missing endpoints ---------"))}}return O.useLayoutEffect(()=>{const i=Rt.interceptors.request.use(s=>{const c=localStorage.getItem("authKey"),u=localStorage.getItem("impersonatedUserAuthKey"),d=localStorage.getItem("Organization"),h=d||""||d||"",v=localStorage.getItem("token"),g=localStorage.getItem("currentSubscriptionEndpoint")||"";return s!=null&&s.headers||(s.headers={"Content-Type":"application/json"}),t&&(console.log("••••••••••••* Début - AxiosMiddlewareProvider"),console.log("Endpoint:",s.url,"Method:",s.method)),c?(s.headers.Authorization=c,t&&console.log("✔️ AuthKey trouvé: ",c)):t&&console.log("❌ AuthKey"),h?(s.headers.Organization=h,t&&console.log("✔️ Organization trouvé: ",h)):t&&console.log("❌ Organization"),u&&(s.headers.ImpersonateAuthorization=u,t&&console.log("✔️ ImpersonateAuthorization trouvé: ",u)),v&&(s.headers.Token=v,t&&console.log("✔️ Token trouvé: ",v)),g&&(s.headers.pnendpoint=g,t&&console.log("✔️ currentSubscriptionEndpoint trouvé: ",g)),t&&(console.log("Axios Request - Endpoint:",s.url),console.log("Axios Request - Authorization:",s.headers.Authorization),console.log("Axios Request - ImpersonateAuthorization:",s.headers.ImpersonateAuthorization),console.log("Axios Request - Organization:",s.headers.Organization),console.log("Axios Request - Token:",s.headers.Token),console.log("••••••••••••* FIN - AxiosMiddlewareProvider")),s},async s=>(n({type:"error",message:"une erreur est survenue"}),Promise.reject(s))),o=Rt.interceptors.response.use(s=>(r(s),s),async s=>{var p,m,b,y,w,E,x;a(s);const c=((p=s==null?void 0:s.response)==null?void 0:p.status)||0,u=s,d=((m=u==null?void 0:u.config)==null?void 0:m.method)||"",f=((b=u==null?void 0:u.config)==null?void 0:b.url)||"",h=`[${d}] -> ${f}`,v=((w=(y=u==null?void 0:u.response)==null?void 0:y.data)==null?void 0:w.message)||"Une erreur est survenue",g=((x=(E=u==null?void 0:u.response)==null?void 0:E.data)==null?void 0:x.code)||"UNKNOWN_ERROR";return Promise.reject({status:c,req:h,error:u,message:v,code:g,success:!1})});return()=>{Rt.interceptors.request.eject(i),Rt.interceptors.response.eject(o)}},[]),C.jsx(kE.Provider,{value:{children:e},children:e})}function HE({visible:e,title:t,onConfirm:n,onCancel:r,okText:a="Oui",cancelText:i="Non",position:o}){const s=O.useRef(null);O.useEffect(()=>{const u=f=>{s.current&&!s.current.contains(f.target)&&r()},d=f=>{f.key==="Escape"&&r()};return e&&(document.addEventListener("mousedown",u),document.addEventListener("keydown",d)),()=>{document.removeEventListener("mousedown",u),document.removeEventListener("keydown",d)}},[e,r]);const c=()=>{if(!e)return{display:"none"};const u=250,d=120;let f=o.x,h=o.y;return o.x+u>window.innerWidth&&(f=o.x-u),o.y+d>window.innerHeight&&(h=o.y-d),f=Math.max(10,f),h=Math.max(10,h),{position:"fixed",left:`${f}px`,top:`${h}px`,zIndex:1e4}};return e?C.jsx("div",{ref:s,className:"context-menu-confirm",style:c(),children:C.jsxs("div",{className:"confirm-content",children:[C.jsx("div",{className:"confirm-title",children:t}),C.jsxs("div",{className:"confirm-buttons",children:[C.jsx(Vt,{size:"small",onClick:r,children:i}),C.jsx(Vt,{size:"small",type:"primary",danger:!0,onClick:n,children:a})]})]})}):null}function BE(){var u,d,f;const{contextMenuState:e,hideContextMenu:t}=Rv(),n=O.useRef(null),[r,a]=O.useState({visible:!1,option:null,position:{x:0,y:0}});O.useEffect(()=>{const h=g=>{n.current&&!n.current.contains(g.target)&&(t(),a({visible:!1,option:null,position:{x:0,y:0}}))},v=g=>{g.key==="Escape"&&(r.visible?a({visible:!1,option:null,position:{x:0,y:0}}):t())};return e.isVisible&&(document.addEventListener("mousedown",h),document.addEventListener("keydown",v)),()=>{document.removeEventListener("mousedown",h),document.removeEventListener("keydown",v)}},[e.isVisible,r.visible,t]);const i=(h,v)=>{const g=v.target.getBoundingClientRect();a({visible:!0,option:h,position:{x:g.right+10,y:g.top}})},o=()=>{r.option&&(r.option.onClick(),t(),a({visible:!1,option:null,position:{x:0,y:0}}))},s=()=>{a({visible:!1,option:null,position:{x:0,y:0}})},c=()=>{if(!e.isVisible)return{display:"none"};const{x:h,y:v}=e,g=200,p=300;let m=h,b=v;return h+g>window.innerWidth&&(m=h-g),v+p>window.innerHeight&&(b=v-p),{position:"fixed",left:`${m}px`,top:`${b}px`,zIndex:9999}};return e.isVisible?C.jsxs("div",{ref:n,className:"context-menu",style:c(),children:[e.title&&C.jsx("div",{className:"context-menu-title",children:e.title}),C.jsx("div",{className:"context-menu-options",children:e.options.map((h,v)=>C.jsxs(O.Fragment,{children:[h.separator&&C.jsx("div",{className:"context-menu-separator"})," ",h.requestConfirmation?C.jsxs(Vt,{disabled:h.disabled,className:`context-menu-option ${h.disabled?"disabled":""}`,onClick:g=>{h.disabled||i(h,g)},children:[C.jsx("span",{className:"context-menu-label",children:h.label}),h.icon&&C.jsx("span",{className:"context-menu-icon",children:h.icon})]}):C.jsxs(Vt,{disabled:h.disabled,className:`context-menu-option ${h.disabled?"disabled":""}`,onClick:()=>{h.disabled||(h.onClick(),t())},children:[C.jsx("span",{className:"context-menu-label",children:h.label}),h.icon&&C.jsx("span",{className:"context-menu-icon",children:h.icon})]})]},v))}),C.jsx(HE,{visible:r.visible,title:((u=r.option)==null?void 0:u.confirmationMessage)||"Êtes-vous sûr de vouloir faire ça?",onConfirm:o,onCancel:s,okText:((d=r.option)==null?void 0:d.yesText)||"Oui",cancelText:((f=r.option)==null?void 0:f.noText)||"Non",position:r.position})]}):null}const VE=O.createContext(null),Rv=()=>{const e=O.useContext(VE);if(!e)throw new Error("useContextMenu must be used within ContextMenuProvider");return e},hl=()=>{const{showContextMenu:e}=Rv();return{handleContextMenu:(n,r,a)=>{n.preventDefault(),n.stopPropagation(),e(n.clientX,n.clientY,r,a)}}};function YE({children:e}){const[t,n]=O.useState({isVisible:!1,x:0,y:0,options:[],title:void 0}),r=(i,o,s,c)=>{n({isVisible:!0,x:i,y:o,options:s,title:c})},a=()=>{n(i=>({...i,isVisible:!1}))};return C.jsxs(VE.Provider,{value:{showContextMenu:r,hideContextMenu:a,contextMenuState:t},children:[C.jsx(BE,{}),e]})}function yV(){const{isPushSupported:e,isSubscribed:t,pushMessage:n,vapidPublicKey:r,subscribePush:a,unsubscribePush:i,sendTestPushNotification:o}=Yu();return C.jsxs("div",{className:"p-10",children:[C.jsx("h3",{children:"Statut des Notifications Push"}),C.jsxs("p",{children:["Supporté:"," ",C.jsx("span",{style:{color:e?"green":"red",fontWeight:"bold"},children:e?"Oui":"Non"})]}),C.jsxs("p",{children:["Clé VAPID:"," ",C.jsx("span",{style:{color:r?"green":"red",fontWeight:"bold"},children:r?"Oui":"Non"})]}),C.jsxs("p",{children:["Abonné:"," ",C.jsx("span",{style:{color:t?"green":"red",fontWeight:"bold"},children:t?"Oui":"Non"})]}),C.jsxs("p",{children:["Message:"," ",C.jsx("span",{style:{color:n?"green":"red",fontWeight:"bold"},children:n||"Aucun"})]}),!t&&e&&C.jsx("button",{onClick:a,children:"S'abonner aux notifications"}),t&&e&&C.jsx("button",{onClick:i,children:"Se désabonner"}),t&&o&&C.jsx("button",{onClick:()=>o("Titre du test","Corps du message de test"),children:"Envoyer une notification de test"})]})}const WE=O.createContext({isPushSupported:!1,isSubscribed:!1,isPushSubscriptionLoading:!1,pushMessage:"",vapidPublicKey:null,currentSubscriptionEndpoint:null,subscribePush:async()=>{},unsubscribePush:async()=>{}}),Yu=()=>O.useContext(WE),CV=e=>{const t="=".repeat((4-e.length%4)%4),n=(e+t).replace(/\-/g,"+").replace(/_/g,"/"),r=window.atob(n),a=new Uint8Array(r.length);for(let i=0;i<r.length;++i)a[i]=r.charCodeAt(i);return a};function wV({children:e,usePushNotifications:t}){const{debugMode:n}=Fi(),[r,a]=O.useState(!1),[i,o]=O.useState(!1),[s,c]=O.useState(null),[u,d]=O.useState(null),[f,h]=O.useState(""),[v,g]=O.useState(!0);O.useEffect(()=>{if(!t){n&&console.log("Notifications push désactivées par la prop usePushNotifications."),h("Notifications push désactivées.");return}"serviceWorker"in navigator&&"PushManager"in window?(a(!0),n&&console.log("Les notifications push sont supportées."),g(!0),Rt.get("/push-notification/key").then(y=>{d(y.data.publicVapidKey),n&&console.log("Clé publique VAPID récupérée:",y.data.publicVapidKey)}).catch(y=>{n&&console.error("Erreur lors de la récupération de la clé VAPID:",y),h("Erreur: Impossible de récupérer la clé VAPID du serveur.")}),navigator.serviceWorker.register("/service-worker.js").then(y=>(n&&console.log("Service Worker enregistré avec succès:",y),y.pushManager.getSubscription())).then(y=>{y?(n&&console.log("Utilisateur déjà abonné:",y),c(y),o(!0),h("Vous êtes abonné aux notifications.")):(n&&console.log("Utilisateur non abonné."),o(!1),h("Vous n'êtes pas abonné aux notifications.")),g(!1)}).catch(y=>{n&&console.error("Erreur lors de l'enregistrement du Service Worker ou de la récupération de l'abonnement:",y),h("Erreur: Impossible d'enregistrer le Service Worker.")})):(n&&console.warn("Les notifications push ne sont pas supportées par ce navigateur."),h("Votre navigateur ne supporte pas les notifications push."))},[t,n]),O.useEffect(()=>{localStorage.setItem("currentSubscriptionEndpoint",(s==null?void 0:s.endpoint)||"")},[s==null?void 0:s.endpoint]);const p=O.useCallback(async()=>{if(!r||!u){h("Les notifications push ne sont pas supportées ou la clé VAPID est manquante.");return}try{const w=await(await navigator.serviceWorker.ready).pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:CV(u)});n&&console.log("Abonnement push réussi:",w),c(w),o(!0),h("Abonnement réussi !"),await Rt.post("/push-notification/subscribe",w),n&&console.log("Abonnement envoyé au serveur.")}catch(y){n&&console.error("Échec de l'abonnement push:",y),h(`Échec de l'abonnement: ${y instanceof Error?y.message:String(y)}`)}},[r,u,n]),m=O.useCallback(async()=>{if(!r||!s){h("Pas d'abonnement à désinscrire.");return}try{await s.unsubscribe(),n&&console.log("Désabonnement push réussi."),c(null),o(!1),h("Désabonnement réussi !")}catch(y){n&&console.error("Échec du désabonnement push:",y),h(`Échec du désabonnement: ${y instanceof Error?y.message:String(y)}`)}},[r,s,n]),b=O.useCallback(async(y,w)=>{var E;if(!i){h("Veuillez vous abonner d'abord pour envoyer une notification de test.");return}if(!n){h("Le mode débogage n'est pas activé pour envoyer des notifications de test.");return}try{const x=await Rt.post("/push-notification/send",{title:y,body:w});x.status===200?h("Notification de test envoyée (vérifiez votre écran)."):h(`Erreur lors de l'envoi de la notification: ${((E=x.data)==null?void 0:E.message)||x.statusText}`)}catch(x){n&&console.error("Erreur lors de l'envoi de la notification de test:",x),h(`Erreur réseau lors de l'envoi: ${x instanceof Error?x.message:String(x)}`)}},[i,n]);return C.jsxs(WE.Provider,{value:{usePushNotifications:t,isPushSupported:r,isSubscribed:i,isPushSubscriptionLoading:v,pushMessage:f,vapidPublicKey:u,currentSubscriptionEndpoint:(s==null?void 0:s.endpoint)||null,subscribePush:p,unsubscribePush:m,sendTestPushNotification:n?b:void 0},children:[n&&t&&C.jsx(yV,{}),e]})}const UE=O.createContext({isProgressiveWebAppInstalled:!1,canInstallProgressiveWebApp:!1,progressiveWebAppMessage:"",isMobile:!1,installProgressiveWebApp:async()=>{}}),Dv=()=>O.useContext(UE);function SV({children:e}){const{debugMode:t,useProgressiveWebAppFeatures:n}=Fi(),[r,a]=O.useState(!1),[i,o]=O.useState(null),[s,c]=O.useState(""),[u,d]=O.useState(!1),f=!1;O.useEffect(()=>{const v=()=>{const g=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|rim)|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,p=/android|ipad|playbook|silk/i,m=g.test(navigator.userAgent)||p.test(navigator.userAgent);d(m),t&&console.log("Détection mobile:",m)};return v(),window.addEventListener("resize",v),()=>{window.removeEventListener("resize",v)}},[t]),O.useEffect(()=>{let v=!1;if(n===!0?v=!0:n==="mobile"&&(v=u),!v){t&&console.log("Fonctionnalités progressiveWebApp désactivées."),c("Fonctionnalités progressiveWebApp désactivées.");return}const g=()=>{const b=window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone;a(b),t&&console.log("Statut progressiveWebApp initial:",b?"Installée":"Non installée"),c(b?"Vous êtes en mode progressiveWebApp.":"Vous n'êtes pas en mode progressiveWebApp.")};g();const p=b=>{b.preventDefault(),o(b),t&&console.log("Événement beforeinstallprompt capturé."),c("L'installation de la progressiveWebApp est disponible.")},m=()=>{a(!0),o(null),t&&console.log("progressiveWebApp installée avec succès par l'utilisateur."),c("progressiveWebApp installée avec succès !")};return window.addEventListener("beforeinstallprompt",p),window.addEventListener("appinstalled",m),window.matchMedia("(display-mode: standalone)").addEventListener("change",g),()=>{window.removeEventListener("beforeinstallprompt",p),window.removeEventListener("appinstalled",m),window.matchMedia("(display-mode: standalone)").removeEventListener("change",g)}},[n,t,u]);const h=O.useCallback(async()=>{if(i){t&&console.log("Déclenchement du prompt d'installation progressiveWebApp..."),i.prompt();const{outcome:v}=await i.userChoice;t&&console.log(`Réponse de l'utilisateur au prompt d'installation: ${v}`),c(v==="accepted"?"L'utilisateur a accepté d'installer la progressiveWebApp.":"L'utilisateur a refusé d'installer la progressiveWebApp."),o(null)}else t&&console.warn("Le prompt d'installation n'est pas disponible ou la progressiveWebApp est déjà installée."),c("L'installation n'est pas disponible.")},[i,t]);return C.jsxs(UE.Provider,{value:{useProgressiveWebAppFeatures:n,isProgressiveWebAppInstalled:r,canInstallProgressiveWebApp:!!i&&!r,progressiveWebAppMessage:s,isMobile:u,installProgressiveWebApp:h},children:[t&&f,e]})}const GE=O.createContext(void 0),EV=()=>{const e=O.useContext(GE);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e},xV=({children:e})=>{const[t,n]=O.useState(()=>{const u=localStorage.getItem("theme");return u==="light"||u==="dark"?u:"light"}),[r,a]=O.useState(()=>window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),[i,o]=O.useState("hsl(212, 51%, 31%)");O.useEffect(()=>{const u=window.matchMedia("(prefers-color-scheme: dark)"),d=f=>{a(f.matches?"dark":"light")};return u.addEventListener("change",d),()=>u.removeEventListener("change",d)},[]),O.useEffect(()=>{const u=document.body.classList,d={light:"light-theme",dark:"dark-theme"};Object.values(d).forEach(f=>u.remove(f)),t==="light"||t==="dark"?(u.add(d[t]),localStorage.setItem("theme",t)):localStorage.removeItem("theme")},[t]),O.useEffect(()=>{document.body.style.setProperty("--dynamic-primary",i)},[i]);const c={theme:t,toggleTheme:()=>{n(u=>u==="dark"?"light":u==="light"?"dark":r==="dark"?"light":"dark")},currentSystemTheme:r,primaryColor:i,setPrimaryColor:o};return C.jsx(GE.Provider,{value:c,children:e})},AV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm52-84a12,12,0,0,1-12,12H117l11.52,11.51a12,12,0,0,1-17,17l-32-32a12,12,0,0,1,0-17l32-32a12,12,0,0,1,17,17L117,116h51A12,12,0,0,1,180,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm48-88a8,8,0,0,1-8,8H107.31l18.35,18.34a8,8,0,0,1-11.32,11.32l-32-32a8,8,0,0,1,0-11.32l32-32a8,8,0,0,1,11.32,11.32L107.31,120H168A8,8,0,0,1,176,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm40,112H107.31l18.35,18.34a8,8,0,0,1-11.32,11.32l-32-32a8,8,0,0,1,0-11.32l32-32a8,8,0,0,1,11.32,11.32L107.31,120H168a8,8,0,0,1,0,16Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm46-90a6,6,0,0,1-6,6H102.49l21.75,21.76a6,6,0,1,1-8.48,8.48l-32-32a6,6,0,0,1,0-8.48l32-32a6,6,0,0,1,8.48,8.48L102.49,122H168A6,6,0,0,1,174,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm48-88a8,8,0,0,1-8,8H107.31l18.35,18.34a8,8,0,0,1-11.32,11.32l-32-32a8,8,0,0,1,0-11.32l32-32a8,8,0,0,1,11.32,11.32L107.31,120H168A8,8,0,0,1,176,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm44-92a4,4,0,0,1-4,4H97.66l25.17,25.17a4,4,0,0,1-5.66,5.66l-32-32a4,4,0,0,1,0-5.66l32-32a4,4,0,0,1,5.66,5.66L97.66,124H168A4,4,0,0,1,172,128Z"}))]]),OV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm48.49-92.49a12,12,0,0,1,0,17l-32,32a12,12,0,1,1-17-17L139,140H88a12,12,0,0,1,0-24h51l-11.52-11.51a12,12,0,1,1,17-17Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm45.66-93.66a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32-11.32L148.69,136H88a8,8,0,0,1,0-16h60.69l-18.35-18.34a8,8,0,0,1,11.32-11.32Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,109.66-32,32a8,8,0,0,1-11.32-11.32L148.69,136H88a8,8,0,0,1,0-16h60.69l-18.35-18.34a8,8,0,0,1,11.32-11.32l32,32A8,8,0,0,1,173.66,133.66Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm44.24-94.24a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48-8.48L153.51,134H88a6,6,0,0,1,0-12h65.51l-21.75-21.76a6,6,0,0,1,8.48-8.48Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm45.66-93.66a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32-11.32L148.69,136H88a8,8,0,0,1,0-16h60.69l-18.35-18.34a8,8,0,0,1,11.32-11.32Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm42.83-94.83a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66-5.66L158.34,132H88a4,4,0,0,1,0-8h70.34L133.17,98.83a4,4,0,0,1,5.66-5.66Z"}))]]),MV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M225.29,165.93C216.61,151,212,129.57,212,104a84,84,0,0,0-168,0c0,25.58-4.59,47-13.27,61.93A20.08,20.08,0,0,0,30.66,186,19.77,19.77,0,0,0,48,196H84.18a44,44,0,0,0,87.64,0H208a19.77,19.77,0,0,0,17.31-10A20.08,20.08,0,0,0,225.29,165.93ZM128,212a20,20,0,0,1-19.6-16h39.2A20,20,0,0,1,128,212ZM54.66,172C63.51,154,68,131.14,68,104a60,60,0,0,1,120,0c0,27.13,4.48,50,13.33,68Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,192H48a8,8,0,0,1-6.88-12C47.71,168.6,56,139.81,56,104a72,72,0,0,1,144,0c0,35.82,8.3,64.6,14.9,76A8,8,0,0,1,208,192Z",opacity:"0.2"}),l.createElement("path",{d:"M221.8,175.94C216.25,166.38,208,139.33,208,104a80,80,0,1,0-160,0c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.81a40,40,0,0,0,78.38,0H208a16,16,0,0,0,13.8-24.06ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216ZM48,184c7.7-13.24,16-43.92,16-80a64,64,0,1,1,128,0c0,36.05,8.28,66.73,16,80Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M221.8,175.94C216.25,166.38,208,139.33,208,104a80,80,0,1,0-160,0c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.81a40,40,0,0,0,78.38,0H208a16,16,0,0,0,13.8-24.06ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M220.07,176.94C214.41,167.2,206,139.73,206,104a78,78,0,1,0-156,0c0,35.74-8.42,63.2-14.08,72.94A14,14,0,0,0,48,198H90.48a38,38,0,0,0,75,0H208a14,14,0,0,0,12.06-21.06ZM128,218a26,26,0,0,1-25.29-20h50.58A26,26,0,0,1,128,218Zm81.71-33a1.9,1.9,0,0,1-1.7,1H48a1.9,1.9,0,0,1-1.7-1,2,2,0,0,1,0-2C53.87,170,62,139.69,62,104a66,66,0,1,1,132,0c0,35.68,8.14,65.95,15.71,79A2,2,0,0,1,209.71,185Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M221.8,175.94C216.25,166.38,208,139.33,208,104a80,80,0,1,0-160,0c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.81a40,40,0,0,0,78.38,0H208a16,16,0,0,0,13.8-24.06ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216ZM48,184c7.7-13.24,16-43.92,16-80a64,64,0,1,1,128,0c0,36.05,8.28,66.73,16,80Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M218.35,178C212.58,168,204,140.13,204,104a76,76,0,1,0-152,0c0,36.13-8.59,64-14.36,73.95A12,12,0,0,0,48,196H92.23a36,36,0,0,0,71.54,0H208A12,12,0,0,0,218.35,178ZM128,220a28,28,0,0,1-27.71-24h55.42A28,28,0,0,1,128,220Zm83.45-34a3.91,3.91,0,0,1-3.44,2H48a3.91,3.91,0,0,1-3.44-2,4,4,0,0,1,0-4C52,169.17,60,139.32,60,104a68,68,0,1,1,136,0c0,35.31,8,65.17,15.44,78A4,4,0,0,1,211.45,186Z"}))]]),PV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),l.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,48H48V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212Z"}))]]),NV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),l.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),IV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),l.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),RV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),l.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),DV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),l.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),jV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228,144v64a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V144a12,12,0,0,1,24,0v52H204V144a12,12,0,0,1,24,0Zm-108.49,8.49a12,12,0,0,0,17,0l40-40a12,12,0,0,0-17-17L140,115V32a12,12,0,0,0-24,0v83L96.49,95.51a12,12,0,0,0-17,17Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z",opacity:"0.2"}),l.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M222,144v64a6,6,0,0,1-6,6H40a6,6,0,0,1-6-6V144a6,6,0,0,1,12,0v58H210V144a6,6,0,0,1,12,0Zm-98.24,4.24a6,6,0,0,0,8.48,0l40-40a6,6,0,0,0-8.48-8.48L134,129.51V32a6,6,0,0,0-12,0v97.51L92.24,99.76a6,6,0,0,0-8.48,8.48Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M220,144v64a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V144a4,4,0,0,1,8,0v60H212V144a4,4,0,0,1,8,0Zm-94.83,2.83a4,4,0,0,0,5.66,0l40-40a4,4,0,1,0-5.66-5.66L132,134.34V32a4,4,0,0,0-8,0V134.34L90.83,101.17a4,4,0,0,0-5.66,5.66Z"}))]]),TV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44Zm-96,83.72L62.85,68h130.3ZM92.79,128,44,172.72V83.28Zm17.76,16.28,9.34,8.57a12,12,0,0,0,16.22,0l9.34-8.57L193.15,188H62.85ZM163.21,128,212,83.28v89.44Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,56l-96,88L32,56Z",opacity:"0.2"}),l.createElement("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-96,85.15L52.57,64H203.43ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50Zm-96,85.86L47.42,62H208.58ZM101.67,128,38,186.36V69.64Zm8.88,8.14L124,148.42a6,6,0,0,0,8.1,0l13.4-12.28L208.58,194H47.43ZM154.33,128,218,69.64V186.36Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-96,85.15L52.57,64H203.43ZM98.71,128,40,181.81V74.19Zm11.84,10.85,12,11.05a8,8,0,0,0,10.82,0l12-11.05,58,53.15H52.57ZM157.29,128,216,74.18V181.82Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52Zm-96,86.57L42.28,60H213.72ZM104.63,128,36,190.91V65.09Zm5.92,5.43L125.3,147a4,4,0,0,0,5.4,0l14.75-13.52L213.72,196H42.28ZM151.37,128,220,65.09V190.91Z"}))]]),LV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),l.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"}))]]),zV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),l.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"}))]]),FV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm12,191.13V156h20a12,12,0,0,0,0-24H140V112a12,12,0,0,1,12-12h16a12,12,0,0,0,0-24H152a36,36,0,0,0-36,36v20H96a12,12,0,0,0,0,24h20v55.13a84,84,0,1,1,24,0Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm8,191.63V152h24a8,8,0,0,0,0-16H136V112a16,16,0,0,1,16-16h16a8,8,0,0,0,0-16H152a32,32,0,0,0-32,32v24H96a8,8,0,0,0,0,16h24v63.63a88,88,0,1,1,16,0Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M232,128a104.16,104.16,0,0,1-91.55,103.26,4,4,0,0,1-4.45-4V152h24a8,8,0,0,0,8-8.53,8.17,8.17,0,0,0-8.25-7.47H136V112a16,16,0,0,1,16-16h16a8,8,0,0,0,8-8.53A8.17,8.17,0,0,0,167.73,80H152a32,32,0,0,0-32,32v24H96a8,8,0,0,0-8,8.53A8.17,8.17,0,0,0,96.27,152H120v75.28a4,4,0,0,1-4.44,4A104.15,104.15,0,0,1,24.07,124.09c2-54,45.74-97.9,99.78-100A104.12,104.12,0,0,1,232,128Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm6,191.8V150h26a6,6,0,0,0,0-12H134V112a18,18,0,0,1,18-18h16a6,6,0,0,0,0-12H152a30,30,0,0,0-30,30v26H96a6,6,0,0,0,0,12h26v67.8a90,90,0,1,1,12,0Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm8,191.63V152h24a8,8,0,0,0,0-16H136V112a16,16,0,0,1,16-16h16a8,8,0,0,0,0-16H152a32,32,0,0,0-32,32v24H96a8,8,0,0,0,0,16h24v63.63a88,88,0,1,1,16,0Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm4,191.91V148h28a4,4,0,0,0,0-8H132V112a20,20,0,0,1,20-20h16a4,4,0,0,0,0-8H152a28,28,0,0,0-28,28v28H96a4,4,0,0,0,0,8h28v71.91a92,92,0,1,1,8,0Z"}))]]),kV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M222.14,69.17,186.83,33.86A19.86,19.86,0,0,0,172.69,28H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V83.31A19.86,19.86,0,0,0,222.14,69.17ZM164,204H92V160h72Zm40,0H188V156a20,20,0,0,0-20-20H88a20,20,0,0,0-20,20v48H52V52H171l33,33ZM164,84a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h56A12,12,0,0,1,164,84Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,83.31V208a8,8,0,0,1-8,8H176V152a8,8,0,0,0-8-8H88a8,8,0,0,0-8,8v64H48a8,8,0,0,1-8-8V48a8,8,0,0,1,8-8H172.69a8,8,0,0,1,5.65,2.34l35.32,35.32A8,8,0,0,1,216,83.31Z",opacity:"0.2"}),l.createElement("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM208,208H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M217.9,73.42,182.58,38.1a13.9,13.9,0,0,0-9.89-4.1H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V83.31A13.9,13.9,0,0,0,217.9,73.42ZM170,210H86V152a2,2,0,0,1,2-2h80a2,2,0,0,1,2,2Zm40-2a2,2,0,0,1-2,2H182V152a14,14,0,0,0-14-14H88a14,14,0,0,0-14,14v58H48a2,2,0,0,1-2-2V48a2,2,0,0,1,2-2H172.69a2,2,0,0,1,1.41.58L209.42,81.9a2,2,0,0,1,.58,1.41ZM158,72a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h56A6,6,0,0,1,158,72Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M219.31,72,184,36.69A15.86,15.86,0,0,0,172.69,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V83.31A15.86,15.86,0,0,0,219.31,72ZM168,208H88V152h80Zm40,0H184V152a16,16,0,0,0-16-16H88a16,16,0,0,0-16,16v56H48V48H172.69L208,83.31ZM160,72a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h56A8,8,0,0,1,160,72Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216.49,74.83,181.17,39.51A11.93,11.93,0,0,0,172.69,36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V83.31A11.93,11.93,0,0,0,216.49,74.83ZM172,212H84V152a4,4,0,0,1,4-4h80a4,4,0,0,1,4,4Zm40-4a4,4,0,0,1-4,4H180V152a12,12,0,0,0-12-12H88a12,12,0,0,0-12,12v60H48a4,4,0,0,1-4-4V48a4,4,0,0,1,4-4H172.69a4,4,0,0,1,2.82,1.17l35.32,35.32A4,4,0,0,1,212,83.31ZM156,72a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h56A4,4,0,0,1,156,72Z"}))]]),HV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228,128a100,100,0,1,1-22.86-63.64,12,12,0,0,1-18.51,15.28A76,76,0,1,0,203.05,140H128a12,12,0,0,1,0-24h88A12,12,0,0,1,228,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z",opacity:"0.2"}),l.createElement("path",{d:"M224,128a96,96,0,1,1-21.95-61.09,8,8,0,1,1-12.33,10.18A80,80,0,1,0,207.6,136H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104,104,0,0,0,128,24Zm0,184A80,80,0,1,1,181.34,68.37a8,8,0,0,1-10.67,11.92A64,64,0,1,0,191.5,136H128a8,8,0,0,1,0-16h72a8,8,0,0,1,8,8A80.09,80.09,0,0,1,128,208Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M222,128a94,94,0,1,1-21.49-59.82,6,6,0,1,1-9.25,7.64A82,82,0,1,0,209.78,134H128a6,6,0,0,1,0-12h88A6,6,0,0,1,222,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a96,96,0,1,1-21.95-61.09,8,8,0,1,1-12.33,10.18A80,80,0,1,0,207.6,136H128a8,8,0,0,1,0-16h88A8,8,0,0,1,224,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M220,128a92,92,0,1,1-21-58.55,4,4,0,0,1-6.17,5.1A84,84,0,1,0,211.91,132H128a4,4,0,0,1,0-8h88A4,4,0,0,1,220,128Z"}))]]),BV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,76H180V56A52,52,0,0,0,76,56V76H48A20,20,0,0,0,28,96V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V96A20,20,0,0,0,208,76ZM100,56a28,28,0,0,1,56,0V76H100ZM204,204H52V100H204Zm-60-52a16,16,0,1,1-16-16A16,16,0,0,1,144,152Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,96V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H208A8,8,0,0,1,216,96Z",opacity:"0.2"}),l.createElement("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Zm-68-56a12,12,0,1,1-12-12A12,12,0,0,1,140,152Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80Zm-80,84a12,12,0,1,1,12-12A12,12,0,0,1,128,164Zm32-84H96V56a32,32,0,0,1,64,0Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,82H174V56a46,46,0,0,0-92,0V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82ZM94,56a34,34,0,0,1,68,0V82H94ZM210,208a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Zm-72-56a10,10,0,1,1-10-10A10,10,0,0,1,138,152Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Zm-68-56a12,12,0,1,1-12-12A12,12,0,0,1,140,152Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,84H172V56a44,44,0,0,0-88,0V84H48A12,12,0,0,0,36,96V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V96A12,12,0,0,0,208,84ZM92,56a36,36,0,0,1,72,0V84H92ZM212,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Zm-76-56a8,8,0,1,1-8-8A8,8,0,0,1,136,152Z"}))]]),VV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),l.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H72a8,8,0,0,1,0-16H184a8,8,0,0,1,0,16Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128Z"}))]]),YV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M230.14,25.86a20,20,0,0,0-19.57-5.11l-.22.07L18.44,79a20,20,0,0,0-3.06,37.25L99,157l40.71,83.65a19.81,19.81,0,0,0,18,11.38c.57,0,1.15,0,1.73-.07A19.82,19.82,0,0,0,177,237.56L235.18,45.65a1.42,1.42,0,0,0,.07-.22A20,20,0,0,0,230.14,25.86ZM156.91,221.07l-34.37-70.64,46-45.95a12,12,0,0,0-17-17l-46,46L34.93,99.09,210,46Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M223.69,42.18l-58.22,192a8,8,0,0,1-14.92,1.25L108,148,20.58,105.45a8,8,0,0,1,1.25-14.92l192-58.22A8,8,0,0,1,223.69,42.18Z",opacity:"0.2"}),l.createElement("path",{d:"M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M231.4,44.34s0,.1,0,.15l-58.2,191.94a15.88,15.88,0,0,1-14,11.51q-.69.06-1.38.06a15.86,15.86,0,0,1-14.42-9.15L107,164.15a4,4,0,0,1,.77-4.58l57.92-57.92a8,8,0,0,0-11.31-11.31L96.43,148.26a4,4,0,0,1-4.58.77L17.08,112.64a16,16,0,0,1,2.49-29.8l191.94-58.2.15,0A16,16,0,0,1,231.4,44.34Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M225.88,30.12a13.83,13.83,0,0,0-13.7-3.58l-.11,0L20.14,84.77A14,14,0,0,0,18,110.85l85.56,41.64L145.12,238a13.87,13.87,0,0,0,12.61,8c.4,0,.81,0,1.21-.05a13.9,13.9,0,0,0,12.29-10.09l58.2-191.93,0-.11A13.83,13.83,0,0,0,225.88,30.12Zm-8,10.4L159.73,232.43l0,.11a2,2,0,0,1-3.76.26l-40.68-83.58,49-49a6,6,0,1,0-8.49-8.49l-49,49L23.15,100a2,2,0,0,1,.31-3.74l.11,0L215.48,38.08a1.94,1.94,0,0,1,1.92.52A2,2,0,0,1,217.92,40.52Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M227.32,28.68a16,16,0,0,0-15.66-4.08l-.15,0L19.57,82.84a16,16,0,0,0-2.49,29.8L102,154l41.3,84.87A15.86,15.86,0,0,0,157.74,248q.69,0,1.38-.06a15.88,15.88,0,0,0,14-11.51l58.2-191.94c0-.05,0-.1,0-.15A16,16,0,0,0,227.32,28.68ZM157.83,231.85l-.05.14,0-.07-40.06-82.3,48-48a8,8,0,0,0-11.31-11.31l-48,48L24.08,98.25l-.07,0,.14,0L216,40Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224.47,31.52a11.87,11.87,0,0,0-11.82-3L20.74,86.67a12,12,0,0,0-1.91,22.38L105,151l41.92,86.15A11.88,11.88,0,0,0,157.74,244c.34,0,.69,0,1,0a11.89,11.89,0,0,0,10.52-8.63l58.21-192,0-.08A11.85,11.85,0,0,0,224.47,31.52Zm-4.62,9.54-58.23,192a4,4,0,0,1-7.48.59l-41.3-84.86,50-50a4,4,0,1,0-5.66-5.66l-50,50-84.9-41.31a3.88,3.88,0,0,1-2.27-4,3.93,3.93,0,0,1,3-3.54L214.9,36.16A3.93,3.93,0,0,1,216,36a4,4,0,0,1,2.79,1.19A3.93,3.93,0,0,1,219.85,41.06Z"}))]]),WV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"}),l.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM94.1,209.41a2,2,0,0,1-1.41.59H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L133.17,61.17h0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17Zm-129,134.63A4,4,0,0,1,92.69,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.83L136,69.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z"}))]]),UV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),l.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"}))]]),GV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M233.21,56.31A12,12,0,0,0,224,52H66L60.53,21.85A12,12,0,0,0,48.73,12H24a12,12,0,0,0,0,24H38.71L63.62,173a28,28,0,0,0,4.07,10.21A32,32,0,1,0,123,196h34a32,32,0,1,0,31-24H91.17a4,4,0,0,1-3.93-3.28L84.92,156H196.1a28,28,0,0,0,27.55-23l12.16-66.86A12,12,0,0,0,233.21,56.31ZM100,204a8,8,0,1,1-8-8A8,8,0,0,1,100,204Zm88,8a8,8,0,1,1,8-8A8,8,0,0,1,188,212Zm12-83.28A4,4,0,0,1,196.1,132H80.56L70.38,76H209.62Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,64l-12.16,66.86A16,16,0,0,1,196.1,144H70.55L56,64Z",opacity:"0.2"}),l.createElement("path",{d:"M230.14,58.87A8,8,0,0,0,224,56H62.68L56.6,22.57A8,8,0,0,0,48.73,16H24a8,8,0,0,0,0,16h18L67.56,172.29a24,24,0,0,0,5.33,11.27,28,28,0,1,0,44.4,8.44h45.42A27.75,27.75,0,0,0,160,204a28,28,0,1,0,28-28H91.17a8,8,0,0,1-7.87-6.57L80.13,152h116a24,24,0,0,0,23.61-19.71l12.16-66.86A8,8,0,0,0,230.14,58.87ZM104,204a12,12,0,1,1-12-12A12,12,0,0,1,104,204Zm96,0a12,12,0,1,1-12-12A12,12,0,0,1,200,204Zm4-74.57A8,8,0,0,1,196.1,136H77.22L65.59,72H214.41Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M230.14,58.87A8,8,0,0,0,224,56H62.68L56.6,22.57A8,8,0,0,0,48.73,16H24a8,8,0,0,0,0,16h18L67.56,172.29a24,24,0,0,0,5.33,11.27,28,28,0,1,0,44.4,8.44h45.42A27.75,27.75,0,0,0,160,204a28,28,0,1,0,28-28H91.17a8,8,0,0,1-7.87-6.57L80.13,152h116a24,24,0,0,0,23.61-19.71l12.16-66.86A8,8,0,0,0,230.14,58.87ZM104,204a12,12,0,1,1-12-12A12,12,0,0,1,104,204Zm96,0a12,12,0,1,1-12-12A12,12,0,0,1,200,204Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228.61,60.16A6,6,0,0,0,224,58H61L54.63,22.93A6,6,0,0,0,48.73,18H24a6,6,0,0,0,0,12H43.72L69.53,171.94a21.93,21.93,0,0,0,6.24,11.77A26,26,0,1,0,113.89,190h52.22A26,26,0,1,0,188,178H91.17a10,10,0,0,1-9.84-8.21L77.73,150H196.1a22,22,0,0,0,21.65-18.06L229.9,65.07A6,6,0,0,0,228.61,60.16ZM106,204a14,14,0,1,1-14-14A14,14,0,0,1,106,204Zm96,0a14,14,0,1,1-14-14A14,14,0,0,1,202,204Zm3.94-74.21A10,10,0,0,1,196.1,138H75.55L63.19,70H216.81Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M230.14,58.87A8,8,0,0,0,224,56H62.68L56.6,22.57A8,8,0,0,0,48.73,16H24a8,8,0,0,0,0,16h18L67.56,172.29a24,24,0,0,0,5.33,11.27,28,28,0,1,0,44.4,8.44h45.42A27.75,27.75,0,0,0,160,204a28,28,0,1,0,28-28H91.17a8,8,0,0,1-7.87-6.57L80.13,152h116a24,24,0,0,0,23.61-19.71l12.16-66.86A8,8,0,0,0,230.14,58.87ZM104,204a12,12,0,1,1-12-12A12,12,0,0,1,104,204Zm96,0a12,12,0,1,1-12-12A12,12,0,0,1,200,204Zm4-74.57A8,8,0,0,1,196.1,136H77.22L65.59,72H214.41Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M227.07,61.44A4,4,0,0,0,224,60H59.34L52.66,23.28A4,4,0,0,0,48.73,20H24a4,4,0,0,0,0,8H45.39l6.69,36.8h0L71.49,171.58A20,20,0,0,0,79,183.85,24,24,0,1,0,109.87,188h60.26A24,24,0,1,0,188,180H91.17a12,12,0,0,1-11.8-9.85l-4-22.15H196.1a20,20,0,0,0,19.68-16.42l12.16-66.86A4,4,0,0,0,227.07,61.44ZM108,204a16,16,0,1,1-16-16A16,16,0,0,1,108,204Zm96,0a16,16,0,1,1-16-16A16,16,0,0,1,204,204Zm3.91-73.85A12,12,0,0,1,196.1,140H73.88L60.79,68H219.21Z"}))]]),KV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M40,92H70.06a36,36,0,0,0,67.88,0H216a12,12,0,0,0,0-24H137.94a36,36,0,0,0-67.88,0H40a12,12,0,0,0,0,24Zm64-24A12,12,0,1,1,92,80,12,12,0,0,1,104,68Zm112,96H201.94a36,36,0,0,0-67.88,0H40a12,12,0,0,0,0,24h94.06a36,36,0,0,0,67.88,0H216a12,12,0,0,0,0-24Zm-48,24a12,12,0,1,1,12-12A12,12,0,0,1,168,188Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,80a24,24,0,1,1-24-24A24,24,0,0,1,128,80Zm40,72a24,24,0,1,0,24,24A24,24,0,0,0,168,152Z",opacity:"0.2"}),l.createElement("path",{d:"M40,88H73a32,32,0,0,0,62,0h81a8,8,0,0,0,0-16H135a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16Zm64-24A16,16,0,1,1,88,80,16,16,0,0,1,104,64ZM216,168H199a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16h97a32,32,0,0,0,62,0h17a8,8,0,0,0,0-16Zm-48,24a16,16,0,1,1,16-16A16,16,0,0,1,168,192Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M32,80a8,8,0,0,1,8-8H77.17a28,28,0,0,1,53.66,0H216a8,8,0,0,1,0,16H130.83a28,28,0,0,1-53.66,0H40A8,8,0,0,1,32,80Zm184,88H194.83a28,28,0,0,0-53.66,0H40a8,8,0,0,0,0,16H141.17a28,28,0,0,0,53.66,0H216a8,8,0,0,0,0-16Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M40,86H74.6a30,30,0,0,0,58.8,0H216a6,6,0,0,0,0-12H133.4a30,30,0,0,0-58.8,0H40a6,6,0,0,0,0,12Zm64-24A18,18,0,1,1,86,80,18,18,0,0,1,104,62ZM216,170H197.4a30,30,0,0,0-58.8,0H40a6,6,0,0,0,0,12h98.6a30,30,0,0,0,58.8,0H216a6,6,0,0,0,0-12Zm-48,24a18,18,0,1,1,18-18A18,18,0,0,1,168,194Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M40,88H73a32,32,0,0,0,62,0h81a8,8,0,0,0,0-16H135a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16Zm64-24A16,16,0,1,1,88,80,16,16,0,0,1,104,64ZM216,168H199a32,32,0,0,0-62,0H40a8,8,0,0,0,0,16h97a32,32,0,0,0,62,0h17a8,8,0,0,0,0-16Zm-48,24a16,16,0,1,1,16-16A16,16,0,0,1,168,192Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M40,84H76.29a28,28,0,0,0,55.42,0H216a4,4,0,0,0,0-8H131.71a28,28,0,0,0-55.42,0H40a4,4,0,0,0,0,8Zm64-24A20,20,0,1,1,84,80,20,20,0,0,1,104,60ZM216,172H195.71a28,28,0,0,0-55.42,0H40a4,4,0,0,0,0,8H140.29a28,28,0,0,0,55.42,0H216a4,4,0,0,0,0-8Zm-48,24a20,20,0,1,1,20-20A20,20,0,0,1,168,196Z"}))]]),ZV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M246.15,133.18,146.83,33.86A19.85,19.85,0,0,0,132.69,28H40A12,12,0,0,0,28,40v92.69a19.85,19.85,0,0,0,5.86,14.14l99.32,99.32a20,20,0,0,0,28.28,0l84.69-84.69A20,20,0,0,0,246.15,133.18Zm-98.83,93.17L52,131V52h79l95.32,95.32ZM104,88A16,16,0,1,1,88,72,16,16,0,0,1,104,88Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M237.66,153,153,237.66a8,8,0,0,1-11.31,0L42.34,138.34A8,8,0,0,1,40,132.69V40h92.69a8,8,0,0,1,5.65,2.34l99.32,99.32A8,8,0,0,1,237.66,153Z",opacity:"0.2"}),l.createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M241.91,137.42,142.59,38.1a13.94,13.94,0,0,0-9.9-4.1H40a6,6,0,0,0-6,6v92.69a13.94,13.94,0,0,0,4.1,9.9l99.32,99.32a14,14,0,0,0,19.8,0l84.69-84.69A14,14,0,0,0,241.91,137.42Zm-8.49,11.31-84.69,84.69a2,2,0,0,1-2.83,0L46.59,134.1a2,2,0,0,1-.59-1.41V46h86.69a2,2,0,0,1,1.41.59l99.32,99.31A2,2,0,0,1,233.42,148.73ZM94,84A10,10,0,1,1,84,74,10,10,0,0,1,94,84Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M240.49,138.83,141.17,39.51A11.93,11.93,0,0,0,132.69,36H40a4,4,0,0,0-4,4v92.69a11.93,11.93,0,0,0,3.51,8.48l99.32,99.32a12,12,0,0,0,17,0l84.69-84.69a12,12,0,0,0,0-17Zm-5.66,11.31-84.69,84.69a4,4,0,0,1-5.65,0L45.17,135.51A4,4,0,0,1,44,132.69V44h88.69a4,4,0,0,1,2.82,1.17l99.32,99.32A4,4,0,0,1,234.83,150.14ZM92,84a8,8,0,1,1-8-8A8,8,0,0,1,92,84Z"}))]]),QV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"}),l.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"}))]]),XV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M234.38,210a123.36,123.36,0,0,0-60.78-53.23,76,76,0,1,0-91.2,0A123.36,123.36,0,0,0,21.62,210a12,12,0,1,0,20.77,12c18.12-31.32,50.12-50,85.61-50s67.49,18.69,85.61,50a12,12,0,0,0,20.77-12ZM76,96a52,52,0,1,1,52,52A52.06,52.06,0,0,1,76,96Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M192,96a64,64,0,1,1-64-64A64,64,0,0,1,192,96Z",opacity:"0.2"}),l.createElement("path",{d:"M230.92,212c-15.23-26.33-38.7-45.21-66.09-54.16a72,72,0,1,0-73.66,0C63.78,166.78,40.31,185.66,25.08,212a8,8,0,1,0,13.85,8c18.84-32.56,52.14-52,89.07-52s70.23,19.44,89.07,52a8,8,0,1,0,13.85-8ZM72,96a56,56,0,1,1,56,56A56.06,56.06,0,0,1,72,96Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M230.93,220a8,8,0,0,1-6.93,4H32a8,8,0,0,1-6.92-12c15.23-26.33,38.7-45.21,66.09-54.16a72,72,0,1,1,73.66,0c27.39,8.95,50.86,27.83,66.09,54.16A8,8,0,0,1,230.93,220Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M229.19,213c-15.81-27.32-40.63-46.49-69.47-54.62a70,70,0,1,0-63.44,0C67.44,166.5,42.62,185.67,26.81,213a6,6,0,1,0,10.38,6C56.4,185.81,90.34,166,128,166s71.6,19.81,90.81,53a6,6,0,1,0,10.38-6ZM70,96a58,58,0,1,1,58,58A58.07,58.07,0,0,1,70,96Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M230.92,212c-15.23-26.33-38.7-45.21-66.09-54.16a72,72,0,1,0-73.66,0C63.78,166.78,40.31,185.66,25.08,212a8,8,0,1,0,13.85,8c18.84-32.56,52.14-52,89.07-52s70.23,19.44,89.07,52a8,8,0,1,0,13.85-8ZM72,96a56,56,0,1,1,56,56A56.06,56.06,0,0,1,72,96Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M227.46,214c-16.52-28.56-43-48.06-73.68-55.09a68,68,0,1,0-51.56,0c-30.64,7-57.16,26.53-73.68,55.09a4,4,0,0,0,6.92,4C55,184.19,89.62,164,128,164s73,20.19,92.54,54a4,4,0,0,0,3.46,2,3.93,3.93,0,0,0,2-.54A4,4,0,0,0,227.46,214ZM68,96a60,60,0,1,1,60,60A60.07,60.07,0,0,1,68,96Z"}))]]),qV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M125.18,156.94a64,64,0,1,0-82.36,0,100.23,100.23,0,0,0-39.49,32,12,12,0,0,0,19.35,14.2,76,76,0,0,1,122.64,0,12,12,0,0,0,19.36-14.2A100.33,100.33,0,0,0,125.18,156.94ZM44,108a40,40,0,1,1,40,40A40,40,0,0,1,44,108Zm206.1,97.67a12,12,0,0,1-16.78-2.57A76.31,76.31,0,0,0,172,172a12,12,0,0,1,0-24,40,40,0,1,0-10.3-78.67,12,12,0,1,1-6.16-23.19,64,64,0,0,1,57.64,110.8,100.23,100.23,0,0,1,39.49,32A12,12,0,0,1,250.1,205.67Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M136,108A52,52,0,1,1,84,56,52,52,0,0,1,136,108Z",opacity:"0.2"}),l.createElement("path",{d:"M117.25,157.92a60,60,0,1,0-66.5,0A95.83,95.83,0,0,0,3.53,195.63a8,8,0,1,0,13.4,8.74,80,80,0,0,1,134.14,0,8,8,0,0,0,13.4-8.74A95.83,95.83,0,0,0,117.25,157.92ZM40,108a44,44,0,1,1,44,44A44.05,44.05,0,0,1,40,108Zm210.14,98.7a8,8,0,0,1-11.07-2.33A79.83,79.83,0,0,0,172,168a8,8,0,0,1,0-16,44,44,0,1,0-16.34-84.87,8,8,0,1,1-5.94-14.85,60,60,0,0,1,55.53,105.64,95.83,95.83,0,0,1,47.22,37.71A8,8,0,0,1,250.14,206.7Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M164.47,195.63a8,8,0,0,1-6.7,12.37H10.23a8,8,0,0,1-6.7-12.37,95.83,95.83,0,0,1,47.22-37.71,60,60,0,1,1,66.5,0A95.83,95.83,0,0,1,164.47,195.63Zm87.91-.15a95.87,95.87,0,0,0-47.13-37.56A60,60,0,0,0,144.7,54.59a4,4,0,0,0-1.33,6A75.83,75.83,0,0,1,147,150.53a4,4,0,0,0,1.07,5.53,112.32,112.32,0,0,1,29.85,30.83,23.92,23.92,0,0,1,3.65,16.47,4,4,0,0,0,3.95,4.64h60.3a8,8,0,0,0,7.73-5.93A8.22,8.22,0,0,0,252.38,195.48Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M112.6,158.43a58,58,0,1,0-57.2,0A93.83,93.83,0,0,0,5.21,196.72a6,6,0,0,0,10.05,6.56,82,82,0,0,1,137.48,0,6,6,0,0,0,10-6.56A93.83,93.83,0,0,0,112.6,158.43ZM38,108a46,46,0,1,1,46,46A46.06,46.06,0,0,1,38,108Zm211,97a6,6,0,0,1-8.3-1.74A81.8,81.8,0,0,0,172,166a6,6,0,0,1,0-12,46,46,0,1,0-17.08-88.73,6,6,0,1,1-4.46-11.14,58,58,0,0,1,50.14,104.3,93.83,93.83,0,0,1,50.19,38.29A6,6,0,0,1,249,205Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M117.25,157.92a60,60,0,1,0-66.5,0A95.83,95.83,0,0,0,3.53,195.63a8,8,0,1,0,13.4,8.74,80,80,0,0,1,134.14,0,8,8,0,0,0,13.4-8.74A95.83,95.83,0,0,0,117.25,157.92ZM40,108a44,44,0,1,1,44,44A44.05,44.05,0,0,1,40,108Zm210.14,98.7a8,8,0,0,1-11.07-2.33A79.83,79.83,0,0,0,172,168a8,8,0,0,1,0-16,44,44,0,1,0-16.34-84.87,8,8,0,1,1-5.94-14.85,60,60,0,0,1,55.53,105.64,95.83,95.83,0,0,1,47.22,37.71A8,8,0,0,1,250.14,206.7Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M107.19,159a56,56,0,1,0-46.38,0A91.83,91.83,0,0,0,6.88,197.81a4,4,0,1,0,6.7,4.37,84,84,0,0,1,140.84,0,4,4,0,1,0,6.7-4.37A91.83,91.83,0,0,0,107.19,159ZM36,108a48,48,0,1,1,48,48A48.05,48.05,0,0,1,36,108Zm212,95.35a4,4,0,0,1-5.53-1.17A83.81,83.81,0,0,0,172,164a4,4,0,0,1,0-8,48,48,0,1,0-17.82-92.58,4,4,0,1,1-3-7.43,56,56,0,0,1,44,103,91.83,91.83,0,0,1,53.93,38.86A4,4,0,0,1,248,203.35Z"}))]]),JV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),l.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]),_V=O.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),sn=l.forwardRef((e,t)=>{const{alt:n,color:r,size:a,weight:i,mirrored:o,children:s,weights:c,...u}=e,{color:d="currentColor",size:f,weight:h="regular",mirrored:v=!1,...g}=l.useContext(_V);return l.createElement("svg",{ref:t,xmlns:"http://www.w3.org/2000/svg",width:a??f,height:a??f,fill:r??d,viewBox:"0 0 256 256",transform:o||v?"scale(-1, 1)":void 0,...g,...u},!!n&&l.createElement("title",null,n),s,c.get(i??h))});sn.displayName="IconBase";const KE=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:AV}));KE.displayName="ArrowCircleLeftIcon";const ZE=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:OV}));ZE.displayName="ArrowCircleRightIcon";const QE=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:MV}));QE.displayName="BellIcon";const XE=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:PV}));XE.displayName="CalendarBlankIcon";const qE=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:NV}));qE.displayName="CaretDownIcon";const JE=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:IV}));JE.displayName="CaretLeftIcon";const _E=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:RV}));_E.displayName="CaretRightIcon";const $E=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:DV}));$E.displayName="CheckIcon";const jv=$E,ex=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:jV}));ex.displayName="DownloadSimpleIcon";const Wu=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:TV}));Wu.displayName="EnvelopeIcon";const tx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:LV}));tx.displayName="EyeIcon";const nx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:zV}));nx.displayName="EyeSlashIcon";const rx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:FV}));rx.displayName="FacebookLogoIcon";const ax=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:kV}));ax.displayName="FloppyDiskIcon";const $V=ax,ix=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:HV}));ix.displayName="GoogleLogoIcon";const Uu=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:BV}));Uu.displayName="LockIcon";const ox=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:VV}));ox.displayName="MinusIcon";const sx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:YV}));sx.displayName="PaperPlaneTiltIcon";const lx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:WV}));lx.displayName="PencilSimpleIcon";const cx=lx,Tv=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:UV}));Tv.displayName="PlusIcon";const eY=Tv,ux=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:GV}));ux.displayName="ShoppingCartIcon";const dx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:KV}));dx.displayName="SlidersHorizontalIcon";const fx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:ZV}));fx.displayName="TagIcon";const Lv=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:QV}));Lv.displayName="TrashIcon";const hx=Lv,zv=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:XV}));zv.displayName="UserIcon";const mx=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:qV}));mx.displayName="UsersIcon";const Fv=l.forwardRef((e,t)=>l.createElement(sn,{ref:t,...e,weights:JV}));Fv.displayName="XIcon";const Gu=Fv;function kv({icon:e,text:t,onClick:n,onClose:r,visible:a=!0,disabled:i=!1,size:o=56,theme:s="pwa",bottom:c=24,showClose:u=!0,className:d="",onAction:f,onPopupClose:h,url:v,urlText:g}){const[p,m]=O.useState(!0),[b,y]=O.useState(!0),w=a&&b;if(O.useEffect(()=>{if(w)m(!0);else{const S=setTimeout(()=>m(!1),250);return()=>clearTimeout(S)}},[w]),!p)return null;const E=w?{opacity:1,transform:"translateY(0) scale(1)",transition:"opacity 0.35s, transform 0.35s",animation:"popbutton-fade-in 0.35s"}:{opacity:0,transform:"translateY(10px) scale(0.95)",transition:"opacity 0.35s, transform 0.35s"},x=()=>{y(!1),typeof r=="function"&&r(),typeof h=="function"&&h()};return C.jsx("div",{className:`PopButton-container PopButton-${s}-theme ${d}`,style:{bottom:c,pointerEvents:w?"auto":"none",...E},children:C.jsxs("div",{className:"flex col gap-10",children:[C.jsx("div",{className:"PopButton-btn-row",children:C.jsxs(Vt,{size:"large",disabled:i,className:`PopButton-btn${i?" disabled":""}`,style:{minWidth:o+32},onClick:()=>{n&&n(),f&&f()},children:[C.jsx("span",{className:"PopButton-col PopButton-col-icon",children:e}),C.jsx("span",{className:"PopButton-col PopButton-text PopButton-col-text",children:t}),u?C.jsx("span",{className:"PopButton-col PopButton-close-wrapper PopButton-col-close",onClick:S=>{S.stopPropagation(),x()},children:C.jsx(Fv,{size:20,className:"PopButton-close"})}):C.jsx("span",{className:"PopButton-col PopButton-col-close"}),C.jsx("span",{className:"PopButton-glossy"})]})}),v&&g&&(()=>{let S=!1;try{const A=document.createElement("a");A.href=v;const P=A.pathname+A.search+A.hash,M=window.location.pathname+window.location.search+window.location.hash;S=P===M||A.href===window.location.href}catch(A){console.warn("Invalid URL:",v,A)}return S?null:C.jsx("div",{className:"PopButton-link-container",style:{marginTop:8,textAlign:"center"},children:C.jsx("a",{href:v,className:"PopButton-link",style:{color:"#007bff",textDecoration:"underline",cursor:"pointer",fontSize:14},children:g})})})()]})})}function vx({size:e=56,visible:t=!0,forceVisible:n=!1,text:r,knowMoreUrl:a,knowMoreText:i,onAction:o,onPopupClose:s}){const{organizationDetails:c,areOrganizationDetailsLoading:u}=Qr(),d=r||"Installez l'application pour une expérience optimale",{showMessage:f}=Zr(),{isProgressiveWebAppInstalled:h,canInstallProgressiveWebApp:v,installProgressiveWebApp:g}=Dv(),[p,m]=O.useState(!1),b=t&&!h&&v||n,y=async()=>{if(!p){m(!0);try{await g(),o&&o()}catch{f({type:"error",message:"L'installation a échoué ou a été annulée."})}setTimeout(()=>m(!1),2e3)}},w=c!=null&&c.image?C.jsx("img",{src:c.image,alt:"Organization Logo",style:{width:e,height:e}}):C.jsx(ex,{size:e,color:"#1890ff"});return u?null:C.jsx(kv,{icon:w,text:d,onClick:y,onClose:s,visible:b,disabled:p,size:e,theme:"pwa",showClose:!0,bottom:50,onAction:o,onPopupClose:s,url:a,urlText:i})}function gx({size:e=56,visible:t=!0,forceVisible:n=!1,text:r,knowMoreUrl:a,knowMoreText:i,onAction:o,onPopupClose:s}){const c=r||"Activez les notifications pour ne rater aucune commande. Cliquez ici pour vous abonner.",{isSubscribed:u,subscribePush:d}=Yu(),[f,h]=O.useState(!1),v=async()=>{f||(h(!0),u||(await d(),o&&o()),setTimeout(()=>h(!1),2e3))},g=t&&!u||n;return C.jsx(kv,{icon:C.jsx(QE,{weight:u?"fill":"regular",size:32,color:u?"#3e8e5a":"#faad14"}),text:c,onClick:v,onClose:s,visible:g,disabled:f,size:e,theme:u?"subscribed":"unsubscribed",showClose:!0,bottom:50,onAction:o,onPopupClose:s,url:a,urlText:i})}function px({enableInstallAppButton:e,enablePushNotificationButton:t}){const{isProgressiveWebAppInstalled:n,canInstallProgressiveWebApp:r}=Dv(),{isPushSupported:a,isSubscribed:i,isPushSubscriptionLoading:o}=Yu(),[s,c]=O.useState(!1),[u,d]=O.useState(!1),f=!n&&r&&!s&&e,h=!f&&a&&!o&&!i&&!u&&t;return C.jsxs(C.Fragment,{children:[C.jsx(vx,{visible:f,onPopupClose:()=>{c(!0)},knowMoreUrl:"/install-app",knowMoreText:"En savoir plus"}),C.jsx(gx,{visible:h,onPopupClose:()=>{d(!0)},knowMoreUrl:"/install-app",knowMoreText:"En savoir plus"})]})}const tY="@lystech/core",nY="lystechcorenpmpackage:last-version",bx="3.0.71";function yx(e={}){const{packageName:t=tY,storageKey:n=nY,triggerOnFirstInstall:r=!1,onPackageUpdated:a}=e,[i,o]=O.useState(null),[s]=O.useState(bx),[c,u]=O.useState(!1),[d,f]=O.useState(!1),h=O.useCallback(()=>{if(typeof window>"u")return;const v=localStorage.getItem(n),g=!v,p=!!v&&v!==s;if(o(v),u(g),f(p),g||p){const m={packageName:t,previousVersion:v,currentVersion:s,isFirstInstall:g,hasUpdated:p};(p||g&&r)&&(a==null||a(m)),window.dispatchEvent(new CustomEvent("lystechcorenpmpackage:update",{detail:m}))}localStorage.setItem(n,s)},[n,s,t,r,a]);return O.useEffect(()=>{h()},[h]),O.useMemo(()=>({packageName:t,previousVersion:i,currentVersion:s,isFirstInstall:c,hasUpdated:d,checkForUpdate:h}),[t,i,s,c,d,h])}const rY=new HP({defaultOptions:{queries:{staleTime:1e3*60*5,retry:3,refetchOnWindowFocus:!1}}}),Cx=O.createContext({}),Fi=()=>O.useContext(Cx);function aY({children:e,organization:t,shouldRedirectAfterLogin:n,loginRedirectRoute:r,queryClient:a,usePushNotifications:i,useProgressiveWebAppFeatures:o,useThemeProvider:s,quickGoogleLoginButtonStyle:c,enableGoogleQuickLoginButton:u,showGoogleQuickLoginButton:d,useGoogleAutoSelect:f,debugMode:h,showAskPermissionsButtons:v,onPackageUpdated:g,triggerOnFirstInstallPackageCallback:p,packageVersionStorageKey:m}){const b=a||rY;yx({onPackageUpdated:g,triggerOnFirstInstall:!!p,storageKey:m});const y=C.jsxs(Cx.Provider,{value:{debugMode:h,usePushNotifications:i,useProgressiveWebAppFeatures:o},children:[h&&C.jsxs("div",{className:"p-10",children:[C.jsx("h2",{children:"DEBUG MODE"}),C.jsxs("p",{children:["Organization: ",t]})]}),C.jsx(SV,{children:C.jsx(gV,{children:C.jsx(ZP,{client:b,children:C.jsx(wV,{usePushNotifications:i,children:C.jsx(bV,{children:C.jsx(iY,{organization:t,children:C.jsx(uY,{shouldRedirectAfterLogin:n,loginRedirectRoute:r,quickGoogleLoginButtonStyle:c,enableGoogleQuickLoginButton:u,showGoogleQuickLoginButton:d,useGoogleAutoSelect:f,children:C.jsxs(YE,{children:[e,v&&C.jsx(px,{enableInstallAppButton:v==null?void 0:v.installApp,enablePushNotificationButton:v==null?void 0:v.pushNotifications})]})})})})})})})})]});return s?C.jsx(xV,{children:y}):y}const wx=O.createContext({});function Qr(){return O.useContext(wx)}function iY({children:e,organization:t}){const n=xf(),{debugMode:r}=Fi(),[a,i]=O.useState(t||"");O.useEffect(()=>{if(t){r&&console.log("OrganizationProvider: organization prop utilisée",t),i(t);return}const E=new URLSearchParams(n.search),x=E.get("org");if(x){r&&console.log("OrganizationProvider: paramètre ?org= trouvé dans l'URL",x),E.delete("org");const S=`${n.pathname}${E.toString()?"?"+E.toString():""}`;window.history.replaceState({},"",S),i(x)}else{const S=localStorage.getItem("Organization");S?(r&&console.log("OrganizationProvider: organisation trouvée dans le localStorage",S),i(S)):r&&console.log("OrganizationProvider: aucune organisation trouvée")}},[t,n.search,n.pathname,r]);function o(E){r&&console.log("User logged in:",E),!a&&!t&&E!=null&&E.defaultOrganization&&i(E.defaultOrganization)}const{data:s,isLoading:c,refetch:u}=o1(a),d=pf();function f(){u(),d.invalidateQueries()}O.useEffect(()=>{f()},[a]),O.useEffect(()=>{localStorage.removeItem("invalid-organizations")},[]);const[h,v]=O.useState(""),[g,p]=O.useState({clientId:"",appSecret:"",clientIdSandbox:"",appSecretSandbox:"",enabled:!1});O.useEffect(()=>{localStorage.setItem("Organization",a),r&&(a?console.log("OrganizationProvider: organisation mise à jour dans le localStorage",a):console.warn("OrganizationProvider: organisationState est vide, pas de mise à jour dans le localStorage"))},[a]),O.useEffect(()=>{v((s==null?void 0:s.image)??""),s&&p({clientId:(s==null?void 0:s.paypalClientId)??"",appSecret:(s==null?void 0:s.paypalAppSecret)??"",clientIdSandbox:(s==null?void 0:s.paypalClientIdSandbox)??"",appSecretSandbox:(s==null?void 0:s.paypalAppSecretSandbox)??"",enabled:!!s.paypalEnabled||!1})},[s]);async function m(E){const x=await wP(E);return x!=null&&x.success&&u(),x==null?void 0:x.success}async function b(E){const x=await SP(E);return x!=null&&x.success&&(u(),p(S=>({...S,enabled:E}))),x==null?void 0:x.success}async function y(){await xP(),u()}async function w(E,x,S){const A=await EP(E,x,S);return f(),A}return C.jsx(wx.Provider,{value:{organization:a,organizationImage:h,organizationDetails:s??void 0,areOrganizationDetailsLoading:c,paypalInfo:g,onLoggedIn:o,updateOrganizationDetails:m,updatePaypalConfiguration:w,toggleOrganizationMode:y,updateOrganizationPaypalEnabled:b,refetchOrganizationDetails:f},children:e})}async function oY(){return await Rt.get("/users/roles")}const Sx=(e,t)=>lr(["user-role-details",e,t],oY,{enabled:!!e,select:n=>n==null?void 0:n.data,onError:n=>{console.error("Error fetching user role details:",n)}}),sY={apiKey:"AIzaSyCpAeHlt1wZvM5KtYg7X7MDVnWVJT86gvc",authDomain:"lystech.firebaseapp.com",databaseURL:"https://lystech.firebaseio.com",projectId:"lystech",storageBucket:"lystech.appspot.com",messagingSenderId:"237347321732",appId:"1:237347321732:web:7f9586d48e488d73ddcfd1"};async function Hv(e){const t=await Rt.get(`users/impersonate/${e}`);return t==null?void 0:t.data}const Ex=e=>lr(["impersonating-user",e],()=>Hv(e),{enabled:!!e});async function xx(e){const t=new FormData;t.append("image",e);const n=await Rt.put("users/image",t,{headers:{"Content-Type":"multipart/form-data"},data:t});return n==null?void 0:n.data}async function Ax(e,t){const n=await Rt.put("users/image/url",{authKey:e,imageUrl:t});return n==null?void 0:n.data}async function lY(e){const t=await Rt.post("auth/request-reset-password",{email:e});return t==null?void 0:t.data}async function cY(e){const t=await Rt.post(`auth/activate/${e}`);return t==null?void 0:t.data}async function Ox(e){return await Rt.post("auth/register",{...e})}const Mx=O.createContext({});function dr(){return O.useContext(Mx)}function uY({children:e,shouldRedirectAfterLogin:t,loginRedirectRoute:n,quickGoogleLoginButtonStyle:r,enableGoogleQuickLoginButton:a,showGoogleQuickLoginButton:i,useGoogleAutoSelect:o=!0}){var le,$,de,se,pe,ye,Se;const[s,c]=O.useState(n||null),{debugMode:u}=Fi();Xg(sY);const{organization:d,onLoggedIn:f}=Qr(),h=O.useCallback(()=>{const ne=sessionStorage.getItem("username");if(ne)return{id:parseInt(sessionStorage.getItem("id")||"-1"),displayName:ne,firstName:sessionStorage.getItem("firstName")||"",lastName:sessionStorage.getItem("lastName")||"",birthday:sessionStorage.getItem("birthday")?new Date(sessionStorage.getItem("birthday")):null,email:sessionStorage.getItem("email")||"",UID:sessionStorage.getItem("authKey")||"",profileImage:sessionStorage.getItem("profileImage")||"",notifyCoffee:sessionStorage.getItem("notifyCoffee")?parseInt(sessionStorage.getItem("notifyCoffee")):0,defaultOrganization:sessionStorage.getItem("defaultOrganization")||"",thirdPartyAuthUID:sessionStorage.getItem("thirdPartyAuthUID")||"",roleDetails:{role:"",isOwner:!1,isSuperAdmin:!1,isAdmin:!1,isUser:!1,isSuperAdminOrMore:!1,isAdminOrMore:!1,isUserOrMore:!1,isAdminInAnyOrganization:!1},type:"emailPassword",activatedOn:"",approvedBy:""}},[]),v=O.useCallback(()=>{const ae=h();return ae||{}},[h]);function g(ae){p&&(p.notifyCoffee=ae,m({...p}),sessionStorage.setItem("notifyCoffee",ae.toString()))}const[p,m]=O.useState(v()),[b,y]=O.useState(localStorage.getItem("impersonateAuthKey")||void 0),w=O.useCallback(async ae=>{const{success:ne,url:be}=await xx(ae);return ne&&(p.photoURL=be,p.profileImage=be,m({...p}),sessionStorage.setItem("profileImage",be||"")),ne},[p,m]),E=O.useCallback(async ae=>{const{success:ne,url:be}=await Ax(p==null?void 0:p.UID,ae);return ne&&(p.photoURL=be,p.profileImage=be,m({...p}),sessionStorage.setItem("profileImage",be||"")),ne},[p,m]),x=O.useCallback(ae=>{p.firstName=ae,m({...p}),sessionStorage.setItem("firstName",ae)},[p,m]),S=O.useCallback(ae=>{p.lastName=ae,m({...p}),sessionStorage.setItem("lastName",ae)},[p,m]);O.useEffect(()=>{b?localStorage.setItem("impersonateAuthKey",b):localStorage.removeItem("impersonateAuthKey")},[b]);const A=y1(),P=H6(),M=O.useMemo(()=>{if(p&&p.id!==-1&&p!=null&&p.UID)return{id:p.id,UID:p.UID,thirdPartyAuthUID:p.thirdPartyAuthUID,displayName:p.displayName,firstName:p.firstName,lastName:p.lastName,birthday:p.birthday,profileImage:p.profileImage,defaultOrganization:p.defaultOrganization,email:p.email,roleDetails:p.roleDetails,type:"emailPassword",activatedOn:p.activatedOn,notifyCoffee:p.notifyCoffee,approvedBy:p.approvedBy}},[p]);O.useEffect(()=>{M&&b===(M==null?void 0:M.UID)&&y(void 0)},[M,b]);const{data:N}=Ex(b||""),{data:I,isLoading:L}=Sx(N?N==null?void 0:N.UID:M==null?void 0:M.UID,d),D=O.useMemo(()=>N?{...N,roleDetails:I}:{...M,roleDetails:I},[M,N,I]),R=O.useMemo(()=>!!(M!=null&&M.UID)&&(M==null?void 0:M.id)!==-1,[M]);O.useEffect(()=>{localStorage.setItem("authKey",(M==null?void 0:M.UID)??"")},[M]);const[T,j]=O.useState(!0),z=O.useRef(!1);O.useEffect(()=>{z.current||(z.current=!0,F().finally(()=>j(!1)))},[]);async function F(){try{const ae=await Rt.get("/auth/me");return console.log("Validate Me Response",ae),ae.data&&oe(ae==null?void 0:ae.data),ae==null?void 0:ae.data}catch(ae){return console.log("Validate Me Error",ae),null}finally{j(!1)}}O.useEffect(()=>{I&&localStorage.setItem("userRoleDetails",JSON.stringify(I)),N?localStorage.setItem("impersonatedUserAuthKey",N.UID):localStorage.removeItem("impersonatedUserAuthKey")},[I,N]);const V=O.useMemo(()=>{if(!R)return"/login";let ae="";return I&&(ae="/past-orders"),ae===""&&(ae="/"),("/"+ae+"/").replace(/\/+/g,"/")},[I,R]);async function U(ae,ne,be,we=()=>{},ge=()=>{},xe=0){try{const Ne={email:ae,password:ne},ke=await Rt.get("/auth/login",{headers:Ne}),ze=!!ke.data;be({result:ze,data:ke==null?void 0:ke.data}),xe>0?setTimeout(()=>{oe(ke==null?void 0:ke.data),t&&s&&A(s),f&&f(ke==null?void 0:ke.data)},xe):(oe(ke==null?void 0:ke.data),f&&f(ke==null?void 0:ke.data),t&&s&&A(s))}catch(Ne){console.log("Login Error",Ne),(Ne==null?void 0:Ne.status)===403?we(Ne):ge(Ne)}}async function k(ae,ne,be){const we=await Rt.post("/auth/login/third-party",{providerData:ae,token:ne,tokenType:be}),ge=we==null?void 0:we.data;if(!ge){console.error("No user data returned from third-party login");return}return oe(ge),f&&f(ge),we}async function H(){var ae,ne,be,we;try{const ge=new ya;ge.setCustomParameters({prompt:"select_account"});const xe=await U0(P,ge);if(((ne=(ae=xe==null?void 0:xe.user)==null?void 0:ae.providerData)==null?void 0:ne.length)===0||!((be=xe==null?void 0:xe.user)!=null&&be.providerData))return;const Ne=(we=xe==null?void 0:xe.user)==null?void 0:we.providerData[0],ke=await xe.user.getIdToken();return await k(Ne,ke,"firebase")}catch(ge){console.error("Google login failed",ge)}}async function B(){var ae;try{const ne=new ba,be=await U0(P,ne),we=(ae=be==null?void 0:be.user)==null?void 0:ae.providerData[0],ge=await be.user.getIdToken();return await k(we,ge,"firebase")}catch(ne){console.error("Facebook login failed",ne)}}async function W(){y(void 0);try{await Rt.post("/auth/logout")}catch(ae){console.warn("Déconnexion serveur échouée",ae)}sessionStorage.clear(),localStorage.clear(),oe(null),PO(P),A("/login")}async function Y(ae){const ne=q6(ae.credential);if(ne!=null&&ne.email){let be="unknown.com";ne!=null&&ne.iss.includes("google")?be="google.com":ne!=null&&ne.iss.includes("facebook")&&(be="facebook.com");const we={displayName:ne==null?void 0:ne.given_name,email:ne==null?void 0:ne.email,phoneNumber:null,photoURL:ne==null?void 0:ne.picture,providerId:be,uid:ne==null?void 0:ne.sub};return await k(we,ae.credential,"google")}}const X=()=>{console.error("Google login failed")};function q(ae){I!=null&&I.isSuperAdminOrMore&&y(ae)}function ee(ae){t&&s&&A(s)}function ie(ae){var ne;if(!ae){sessionStorage.clear();return}sessionStorage.setItem("username",ae.displayName),sessionStorage.setItem("email",ae.email),sessionStorage.setItem("firstName",ae.firstName??""),sessionStorage.setItem("lastName",ae.lastName??""),sessionStorage.setItem("birthday",((ne=ae.birthday)==null?void 0:ne.toString())??""),sessionStorage.setItem("defaultOrganization",ae.defaultOrganization),sessionStorage.setItem("id",ae.id.toString()),sessionStorage.setItem("authKey",ae.UID),sessionStorage.setItem("thirdPartyAuthUID",ae.thirdPartyAuthUID),sessionStorage.setItem("profileImage",ae.profileImage),sessionStorage.setItem("notifyCoffee",ae.notifyCoffee.toString())}function oe(ae){m(ae),ie(ae),(ae==null?void 0:ae.id)==-1&&(ae==null?void 0:ae.id)!=-1&&ee()}const _=O.useMemo(()=>{var ae,ne,be;return R?!1:a!==void 0?a:!((ae=window==null?void 0:window.location)!=null&&ae.pathname.includes("/activate"))&&!((ne=window==null?void 0:window.location)!=null&&ne.pathname.includes("/account/reset-password"))&&!((be=window==null?void 0:window.location)!=null&&be.pathname.includes("/account/activation"))},[R,a,(le=window==null?void 0:window.location)==null?void 0:le.pathname]),te=O.useMemo(()=>{var ae;return i!==void 0?i:_&&!((ae=window==null?void 0:window.location)!=null&&ae.pathname.includes("/login"))},[_,i,($=window==null?void 0:window.location)==null?void 0:$.pathname]);return O.useEffect(()=>{u&&(console.log("AuthProvider - user.UID:",M==null?void 0:M.UID),console.log("AuthProvider - isLoggedIn:",R))},[M==null?void 0:M.UID,R]),C.jsx(W6,{clientId:"237347321732-65nra8lcs59qn6dms77ruad01vjdr7ph.apps.googleusercontent.com",children:C.jsxs(Mx.Provider,{value:{user:M?{...M,roleDetails:I||{role:"",isOwner:!1,isSuperAdmin:!1,isAdmin:!1,isUser:!1,isSuperAdminOrMore:!1,isAdminOrMore:!1,isUserOrMore:!1,isAdminInAnyOrganization:!1}}:void 0,impersonatedUser:N,currentUser:D,auth:P,isLoggedIn:R,isCheckingSession:T,isSuperAdmin:(de=D==null?void 0:D.roleDetails)==null?void 0:de.isSuperAdminOrMore,isAdmin:(se=D==null?void 0:D.roleDetails)==null?void 0:se.isAdminOrMore,isUser:(pe=D==null?void 0:D.roleDetails)==null?void 0:pe.isUserOrMore,isSuperAdminInAnyOrganization:(ye=D==null?void 0:D.roleDetails)==null?void 0:ye.isSuperAdminOrMore,isAdminInAnyOrganization:(Se=D==null?void 0:D.roleDetails)==null?void 0:Se.isAdminInAnyOrganization,areRoleDetailsLoading:L,homeRoute:V,impersonateAuthKey:b,setLoginRedirectRouteState:c,registerNewUser:Ox,signInWithEmailAndPassword:U,signInWithGoogle:H,signInWithFacebook:B,logout:W,requestResetPassword:lY,activateUser:cY,impersonate:q,getImpersonatingUser:Hv,updateUserImage:w,updateUserImageUrl:E,updateUserFirstName:x,updateUserLastName:S,updateNotificationState:g},children:[u&&C.jsx("div",{className:"p-10",children:C.jsxs("p",{children:["Login Redirect Route State: ",C.jsx("b",{children:s||"null"})]})}),e,_&&C.jsx("div",{className:`fixed top-10 right-10 ${te?"":"hidden"}`,style:r,children:C.jsx(Z6,{onSuccess:Y,onError:X,auto_select:o,useOneTap:!0,type:"icon"})})]})})}async function dY(){return(await Rt.get("/politique-and-conditions/9716a5de-02be-4fb2-b9b5-85ad82bfae4f")).data}async function fY(){return(await Rt.get("/politique-and-conditions")).data}const Px=()=>lr({queryKey:["lystech-politique-and-conditions"],queryFn:dY}),Nx=e=>lr({queryKey:["politique-and-conditions",e],queryFn:fY,enabled:!!e});async function hY(){const e=await Rt.get("collections/invitation");return(e==null?void 0:e.data)||[]}const Ku=(e,t)=>lr(["invitedToOrders",e,t],hY,{staleTime:1e3*60*2,select:n=>t?n.filter(r=>r.organization.subdomain===t):n,enabled:!!e});async function mY(e,t){const n={code:e,products:t},r=await Rt.post("promo-codes/validate",n);return r==null?void 0:r.data}async function Ix(){const e=await Rt.get("promo-codes/user");return e==null?void 0:e.data}const vY=e=>lr(["personal-promo-codes",e],Ix,{enabled:!!e,refetchInterval:45*1e3,refetchOnWindowFocus:!0});async function Rx(){const e=await Rt.get("images/featured");return e==null?void 0:e.data}const gY=()=>lr(["featured-images"],Rx,{onError:e=>{console.error("Error fetching featured images:",e)}});async function Dx(e){const t=await Rt.get(`/posts/slug/${e}`);if(t.status!==200)throw new Error(`Error fetching post with ID ${e}: ${t.statusText}`);return t.data}const pY=(e,t)=>lr(["single-post",e,t],()=>Dx(e));async function bY(e){const t=await Rt.get(`/shop/collection/${e}`);return t==null?void 0:t.data}async function yY(e,t){const n=await Rt.post("/shop/breakdown",{products:e,promoCodes:t});return n==null?void 0:n.data}async function CY(e){const t=await Rt.post("/shop/save",e);return t==null?void 0:t.data}const jx=(e,t,n)=>lr(["order-details-breakdown",e,t.map(r=>r.UID),t.map(r=>r.quantity),n.map(r=>r.toLowerCase())],async()=>await yY(t,n),{enabled:!!e&&t.length>0}),wY=()=>pf();async function SY(){try{const e=await Rt.get("/shop/collections");return localStorage.setItem("collections",JSON.stringify(e==null?void 0:e.data)),(e==null?void 0:e.data)||[]}catch(e){return console.log(e),[]}}async function Tx(e){var n;const t=await Rt.post("stripe/checkout",e);if(t.status===200&&((n=t.data)!=null&&n.url))return t.data;throw new Error("Failed to create Stripe checkout session")}const Lx=({onSuccess:e,onAccountNotActivated:t,onAccountNotFound:n,onError:r,className:a="",showTitle:i=!0,title:o="Se connecter",loginButtonText:s="Se connecter",pendingConnexionButtonText:c="Connexion...",passwordFieldLabel:u="Mot de passe",emailFieldLabel:d="Email",emailFieldPlaceholder:f="Votre email",passwordFieldPlaceholder:h="••••••••••••",loginSuccessMessage:v="Connexion réussie",unknownErrorMessage:g="Une erreur inconnue est survenue.",showForgotPassword:p=!1,forgotPasswordText:m="Mot de passe oublié ?",onForgotPassword:b})=>{const y=dr(),w=Zr(),[E,x]=O.useState({email:"",password:""}),[S,A]=O.useState(!1),[P,M]=O.useState(!1),N=(L,D)=>{x(R=>({...R,[L]:D}))},I=async L=>{var D,R,T;L.preventDefault(),A(!0);try{await y.signInWithEmailAndPassword(E.email,E.password,j=>{e?e(j):w.showMessage({type:"success",message:v})},j=>{t?t(j):w.showMessage({type:"warning",message:j==null?void 0:j.message})},j=>{n?n(j):w.showMessage({type:"error",message:j==null?void 0:j.message})})}catch(j){const z=j instanceof Error?j:new Error("Erreur inconnue");if(r)r(z);else{const F=(T=(R=(D=j.error)==null?void 0:D.response)==null?void 0:R.data)==null?void 0:T.message;w.showMessage({type:"error",message:F||g})}}finally{A(!1)}};return C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:`auth-form ${a}`,children:[i&&C.jsx("h2",{children:o}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"email",children:d}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(Wu,{size:18})}),C.jsx("input",{type:"email",id:"email",value:E.email,onChange:L=>N("email",L.target.value),required:!0,placeholder:f})]})]})}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"password",children:u}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(Uu,{size:18})}),C.jsx("input",{type:P?"text":"password",id:"password",value:E.password,onChange:L=>N("password",L.target.value),required:!0,placeholder:h}),C.jsx("button",{type:"button",className:"auth-field__icon auth-field__eye",onClick:()=>M(L=>!L),"aria-label":P?"Masquer le mot de passe":"Afficher le mot de passe",children:P?C.jsx(nx,{size:18}):C.jsx(tx,{size:18})})]})]})}),p&&b&&C.jsx("div",{className:"auth-form__forgot",children:C.jsx("button",{type:"button",className:"link-button",onClick:b,children:m})}),C.jsx("button",{type:"button",disabled:S||!E.email.trim()||!E.password.trim(),className:"btn btn-primary",onClick:I,children:S?c:s})]}),C.jsx("div",{className:"auth-divider",children:"ou continuer avec"}),C.jsxs("div",{className:"third-party-row",children:[C.jsxs("button",{type:"button",className:"third-party-login-button login-with-google",onClick:()=>y.signInWithGoogle(),children:[C.jsx(ix,{size:20,weight:"bold"})," Google"]}),C.jsxs("button",{type:"button",className:"third-party-login-button login-with-facebook",onClick:()=>y.signInWithFacebook(),children:[C.jsx(rx,{size:20,weight:"fill"})," Facebook"]})]})]})},zx=({onSuccess:e,onEmailAlreadyExists:t,onError:n,className:r="",showTitle:a=!0,title:i="Créer un compte",showBirthdayField:o=!0,firstNameFieldLabel:s="Prénom",firstNameFieldPlaceholder:c="Votre prénom",lastNameFieldLabel:u="Nom",lastNameFieldPlaceholder:d="Votre nom",emailFieldLabel:f="Email",emailFieldPlaceholder:h="Votre email",birthdayFieldLabel:v="Date de naissance",birthdayFieldPlaceholder:g="Votre date de naissance",passwordFieldLabel:p="Mot de passe",passwordFieldPlaceholder:m="••••••••••••",confirmPasswordFieldLabel:b="Confirmation du mot de passe",confirmPasswordFieldPlaceholder:y="••••••••••••",createAccountButtonText:w="Créer le compte",creatingAccountButtonText:E="Création en cours...",accountCreatedMessage:x="Compte créé avec succès !",accountAlreadyExistsMessage:S="Un compte avec cet email existe déjà.",errorMessage:A="Une erreur est survenue lors de la création du compte.",passwordNotMatchMessage:P="Les mots de passe ne correspondent pas.",politiqueAndConditionsConsentTexte:M="En créant un compte, j'accepte les termes et conditions.",seePolitiqueAndConditions:N="Voir les termes et conditions",politiqueAndConditionsRoute:I="/conditions"})=>{const L=dr(),D=Zr(),[R,T]=O.useState({firstName:"",lastName:"",email:"",birthday:"",password:"",confirmPassword:""}),[j,z]=O.useState(!1),F=(U,k)=>{T(H=>({...H,[U]:k}))},V=async U=>{var k,H,B;if(U.preventDefault(),z(!0),R.password!==R.confirmPassword){D.showMessage({type:"error",message:P}),z(!1);return}try{L.registerNewUser?(await L.registerNewUser({username:R.email,email:R.email,password:R.password,firstName:R.firstName,lastName:R.lastName,birthday:R.birthday||void 0}),e?e():D.showMessage({type:"success",message:x})):D.showMessage({type:"error",message:"La méthode d'enregistrement n'est pas disponible."})}catch(W){const Y=W instanceof Error?W:new Error("Erreur inconnue");if(n)console.log("Error in AuthRegisterForm:",Y),n(Y);else{const X=(B=(H=(k=W.error)==null?void 0:k.response)==null?void 0:H.data)==null?void 0:B.message;D.showMessage({type:"error",message:X})}}finally{z(!1)}};return C.jsxs("form",{onSubmit:V,className:`auth-form ${r}`,children:[a&&C.jsx("h2",{children:i}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"firstName",children:s}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(zv,{size:18})}),C.jsx("input",{type:"text",id:"firstName",value:R.firstName,onChange:U=>F("firstName",U.target.value),placeholder:c,required:!0})]})]})}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"lastName",children:u}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(zv,{size:18})}),C.jsx("input",{type:"text",id:"lastName",value:R.lastName,onChange:U=>F("lastName",U.target.value),required:!0,placeholder:d})]})]})}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"email",children:f}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(Wu,{size:18})}),C.jsx("input",{type:"email",id:"email",value:R.email,onChange:U=>F("email",U.target.value),required:!0,placeholder:h})]})]})}),o&&C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"birthday",children:v}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(XE,{size:18})}),C.jsx("input",{type:"date",id:"birthday",value:R.birthday,onChange:U=>F("birthday",U.target.value)})]})]})}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"password",children:p}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(Uu,{size:18})}),C.jsx("input",{type:"password",id:"password",value:R.password,onChange:U=>F("password",U.target.value),required:!0,placeholder:m})]})]})}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"confirmPassword",children:b}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(Uu,{size:18})}),C.jsx("input",{type:"password",id:"confirmPassword",value:R.confirmPassword,onChange:U=>F("confirmPassword",U.target.value),required:!0,placeholder:y})]})]})}),C.jsx("div",{className:"form-row",children:C.jsx("div",{className:"form-group",style:{fontSize:"0.95em",color:"#555"},children:C.jsxs("span",{children:[M," ",C.jsx("a",{href:I,target:"_blank",rel:"noopener noreferrer",style:{color:"var(--auth-accent)",textDecoration:"underline"},children:N})]})})}),C.jsx("button",{type:"submit",disabled:j,className:"btn btn-primary",children:j?E:w})]})},Fx=({onSuccess:e,onError:t,className:n="",showTitle:r=!0,title:a="Réinitialiser le mot de passe",showDescription:i=!0,description:o="Entrez votre email pour recevoir un lien de réinitialisation.",emailFieldLabel:s="Email",confirmButtonText:c="Envoyer le lien",confirmingButtonText:u="Envoi en cours...",emailFieldPlaceholder:d="votre@email.com",activationMailSentMessage:f="Un email de réinitialisation a été envoyé à votre adresse.",errorMessage:h="Impossible d'envoyer l'email de réinitialisation."})=>{const v=dr(),g=Zr(),[p,m]=O.useState(""),[b,y]=O.useState(""),[w,E]=O.useState(!1),x=async A=>{A.preventDefault(),E(!0);try{const P=await v.requestResetPassword(p);y(p),e?e(p):g.showMessage({type:"success",message:f})}catch(P){const M=P instanceof Error?P:new Error("Erreur inconnue");t?t(M):g.showMessage({type:"error",message:`${h}`})}finally{E(!1)}},S=w||p===b||!p.trim();return C.jsxs("form",{onSubmit:x,className:`auth-form ${n}`,children:[r&&C.jsx("h2",{children:a}),i&&C.jsx("p",{className:"form-description",children:o}),C.jsx("div",{className:"form-row",children:C.jsxs("div",{className:"form-group",children:[C.jsx("label",{htmlFor:"email",children:s}),C.jsxs("div",{className:"auth-field",children:[C.jsx("span",{className:"auth-field__icon",children:C.jsx(Wu,{size:18})}),C.jsx("input",{type:"email",id:"email",value:p,onChange:A=>m(A.target.value),required:!0,placeholder:d})]})]})}),C.jsx("button",{type:"submit",disabled:S,className:"btn btn-primary",children:w?u:c})]})},kx=({onLogout:e,onClose:t,className:n="",showTitle:r=!0,title:a="Profil utilisateur",showCloseButton:i=!1,closeButtonText:o="Fermer",logoutSuccessMessage:s="Déconnexion réussie",logoutErrorMessage:c="Erreur lors de la déconnexion",disconnectedLabel:u="Non connecté",mustBeLoggedInMessage:d="Vous devez être connecté pour voir votre profil.",logoutButtonText:f="Se déconnecter",emailLabel:h="Email",nameLabel:v="Nom",idLabel:g="ID"})=>{var y,w,E;const p=dr(),m=Zr(),b=async()=>{try{await p.logout(),e?e():m.showMessage({type:"success",message:s})}catch(x){console.error("Erreur lors de la déconnexion:",x),m.showMessage({type:"error",message:c})}};return p.isLoggedIn?C.jsxs("div",{className:`user-profile ${n}`,children:[C.jsx("div",{className:"profile-icon",children:"👤"}),r&&C.jsx("h2",{children:a}),C.jsxs("div",{className:"user-info",children:[C.jsxs("div",{className:"info-item",children:[C.jsxs("span",{className:"label",children:[h,":"]}),C.jsx("span",{className:"value",children:((y=p.currentUser)==null?void 0:y.email)||"N/A"})]}),C.jsxs("div",{className:"info-item",children:[C.jsxs("span",{className:"label",children:[v,":"]}),C.jsx("span",{className:"value",children:((w=p.currentUser)==null?void 0:w.displayName)||"N/A"})]}),C.jsxs("div",{className:"info-item",children:[C.jsxs("span",{className:"label",children:[g,":"]}),C.jsx("span",{className:"value",children:((E=p.currentUser)==null?void 0:E.id)||"N/A"})]})]}),C.jsxs("div",{className:"profile-actions",children:[C.jsx("button",{onClick:b,className:"btn btn-logout",children:f}),i&&t&&C.jsx("button",{onClick:t,className:"btn btn-secondary",children:o})]})]}):C.jsxs("div",{className:`user-profile ${n}`,children:[C.jsx("div",{className:"profile-icon",children:"🔒"}),C.jsx("h2",{children:u}),C.jsx("p",{children:d})]})};function Hx(){const{organization:e}=Qr(),{data:t,isLoading:n}=Px(),{data:r,isLoading:a}=Nx(e),i=O.useMemo(()=>n||a?[]:e!=="lystech"?[...r||[],...t||[]]:r||[],[t,r,n,a,e]);return C.jsx("div",{className:"flex col gap-10",style:{padding:"20px",textAlign:"left"},children:i&&i.map(o=>C.jsxs("div",{className:"p-4 border rounded bg-white",children:[C.jsx("div",{dangerouslySetInnerHTML:{__html:o.content}}),C.jsx("div",{className:"text-xs text-gray-500 mt-2",children:o.updatedOn?`Updated: ${new Date(o.updatedOn).toLocaleString()}`:""})]},o.id))})}function EY(){const{showMessage:e}=Zr(),{activateUser:t}=dr(),{token:n}=w3(),[r,a]=O.useState(!1),[i,o]=O.useState(!1),s=O.useRef(!1),[c,u]=O.useState(null);async function d(f){if(!s.current){s.current=!0,u({type:"info",content:"Activation en cours..."}),a(!0);try{const h=await t(f);return h!=null&&h.success?(e({message:"Votre compte a été activé avec succès.",type:"success",duration:1e4}),o(!0),u({type:"success",content:"Votre compte a été activé avec succès. Redirection..."}),setTimeout(()=>{if(h!=null&&h.redirectionUrl){window.location.href=h.redirectionUrl;return}else window.location.href="/login"},3e3)):(e({message:"L'activation de votre compte a échoué ou ce lien est expiré.",type:"error",duration:1e4}),u({type:"error",content:"L'activation de votre compte a échoué ou ce lien est expiré."})),h}catch{return e({message:"Une erreur s'est produite lors de l'activation de votre compte.",type:"error",duration:1e4}),u({type:"error",content:"Une erreur s'est produite lors de l'activation de votre compte."}),null}finally{a(!1)}}}return O.useEffect(()=>{n&&!i&&!r&&!s.current&&d(n)},[n,i,r]),C.jsx("div",{className:"account-activation auth-theme-container",children:C.jsx("div",{className:"auth-theme-content",children:C.jsx("div",{className:`auth-message ${(c==null?void 0:c.type)||""}`.trim(),children:c==null?void 0:c.content})})})}const xY=({onSuccess:e,onCancel:t,style:n,className:r="",centered:a=!1,showLogo:i=!0,logoSrc:o,appName:s="",defaultMode:c="login",cancelButtonText:u="Annuler",returnToLoginButtonText:d="Retour à la connexion",showTitle:f=!0,title:h="",showLoginForm:v=!0,showRegisterForm:g=!0,showForgotPasswordForm:p=!0,loginButtonText:m="Se connecter",registerButtonText:b="S'inscrire",forgotPasswordButtonText:y="Réinitialiser le mot de passe",loginFormProps:w={},registerFormProps:E={},forgotPasswordFormProps:x={},politiqueAndConditionsConsentTexte:S="En créant un compte, j'ai lu, compris et j'accepte les règles d'utilisation.",seePolitiqueAndConditions:A="Voir les termes et conditions",politiqueAndConditionsRoute:P="/conditions"})=>{const M=dr(),N=xf(),[I,L]=O.useState(c),D=!!P&&(N==null?void 0:N.pathname)===P,R=()=>{e==null||e()},T=()=>{L("login")},j=()=>{L("login")},z=()=>{};return D?C.jsx(Hx,{}):M.isLoggedIn?C.jsx("div",{className:`auth-template connected ${r}`,style:{...n,...a?{maxWidth:"400px",margin:"0 auto",padding:"20px"}:{}},children:C.jsxs("div",{className:"auth-container",children:[i&&C.jsxs("div",{className:"auth-header",children:[o&&C.jsx("img",{src:o,alt:s,className:"auth-logo"}),C.jsx("h1",{children:s})]}),C.jsx(kx,{onLogout:z,onClose:t,showCloseButton:!!t})]})}):C.jsx("div",{className:`auth-template ${r}`,style:{...n,...a?{maxWidth:"400px",margin:"0 auto",padding:"20px"}:{}},children:C.jsxs("div",{className:"auth-container",children:[i&&C.jsxs("div",{className:"auth-header",children:[o&&C.jsx("img",{src:o,alt:s,className:"auth-logo"}),C.jsx("h1",{children:s})]}),f&&C.jsx("div",{className:"auth-title",children:C.jsx("h2",{children:h})}),C.jsxs("div",{className:"auth-tabs",children:[v&&C.jsx("button",{className:`tab ${I==="login"?"active":""}`,onClick:()=>L("login"),children:m}),g&&C.jsx("button",{className:`tab ${I==="register"?"active":""}`,onClick:()=>L("register"),children:b})]}),C.jsxs("div",{className:"auth-content",children:[I==="login"&&v&&C.jsx("div",{children:C.jsx(Lx,{onSuccess:R,loginButtonText:"Se connecter",className:"auth-login-form",showTitle:!1,showForgotPassword:p,forgotPasswordText:y,onForgotPassword:()=>L("forgot-password"),...w})}),I==="register"&&g&&C.jsx(zx,{onSuccess:T,politiqueAndConditionsConsentTexte:S,seePolitiqueAndConditions:A,politiqueAndConditionsRoute:P,...E}),I==="forgot-password"&&p&&C.jsxs("div",{children:[C.jsx(Fx,{onSuccess:j,...x}),C.jsx("div",{className:"auth-links",children:C.jsxs("button",{type:"button",onClick:()=>L("login"),className:"link-button",children:["← ",d]})})]}),I==="activation"&&C.jsx(EY,{})]}),t&&C.jsx("div",{className:"auth-footer",children:C.jsx("button",{onClick:t,className:"btn btn-secondary",children:u})})]})})};function Zu(){const{organizationDetails:e}=Qr();return C.jsxs("div",{style:{width:"100%",minHeight:"400px",display:"flex",justifyContent:"center",alignItems:"center",fontSize:18,color:"#888"},children:[C.jsx("div",{className:"loading-spinner",style:{width:48,height:48,border:"6px solid #eee",borderTop:`6px solid ${(e==null?void 0:e.primaryColor)||"#1677ff"}`,borderRadius:"50%",animation:"spin 1s linear infinite"}}),C.jsx("style",{children:`
1691
1691
  @keyframes spin {
1692
1692
  0% { transform: rotate(0deg);}
1693
1693
  100% { transform: rotate(360deg);}