@lystech/core 3.0.73 → 3.0.74

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.
@@ -42492,7 +42492,7 @@ function fY({ enableInstallAppButton: e, enablePushNotificationButton: t }) {
42492
42492
  )
42493
42493
  ] });
42494
42494
  }
42495
- const ub = 56, hY = 2147483e3, Nc = "#0f766e", db = "#115e59", mY = "rgba(15, 118, 110, 0.18)", fb = "lystech-support-button-style", vY = `
42495
+ const ub = 56, hY = 999, Nc = "#0f766e", db = "#115e59", mY = "rgba(15, 118, 110, 0.18)", fb = "lystech-support-button-style", vY = `
42496
42496
  @keyframes lystech-support-fade-in {
42497
42497
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
42498
42498
  to { opacity: 1; transform: translateY(0) scale(1); }
@@ -42580,6 +42580,9 @@ function pY() {
42580
42580
  bottom: 20,
42581
42581
  right: 20,
42582
42582
  zIndex: hY,
42583
+ // Conteneur « pass-through » : il ne capte PAS les clics ; seuls le panneau et
42584
+ // le bouton (pointer-events:auto) le font => ne bloque aucun contrôle de la page.
42585
+ pointerEvents: "none",
42583
42586
  display: "flex",
42584
42587
  flexDirection: "column",
42585
42588
  alignItems: "flex-end",
@@ -42594,6 +42597,7 @@ function pY() {
42594
42597
  role: "dialog",
42595
42598
  "aria-label": "Formulaire de contact du support",
42596
42599
  style: {
42600
+ pointerEvents: "auto",
42597
42601
  width: "min(360px, calc(100vw - 32px))",
42598
42602
  maxHeight: "calc(100vh - 110px)",
42599
42603
  overflowY: "auto",
@@ -42841,6 +42845,7 @@ function pY() {
42841
42845
  "aria-expanded": o,
42842
42846
  className: "lystech-support-fab",
42843
42847
  style: {
42848
+ pointerEvents: "auto",
42844
42849
  width: ub,
42845
42850
  height: ub,
42846
42851
  borderRadius: "50%",
@@ -42879,7 +42884,7 @@ const Of = {
42879
42884
  borderRadius: 10,
42880
42885
  boxSizing: "border-box",
42881
42886
  fontFamily: "inherit"
42882
- }, bY = "@lystech/core", yY = "lystechcorenpmpackage:last-version", CY = "3.0.73";
42887
+ }, bY = "@lystech/core", yY = "lystechcorenpmpackage:last-version", CY = "3.0.74";
42883
42888
  function wY(e = {}) {
42884
42889
  const {
42885
42890
  packageName: t = bY,
@@ -1687,7 +1687,7 @@ html body {
1687
1687
  `,HB=["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"],Av={},wr;function BB(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&&Av[n])return Av[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=HB.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),c={sizingStyle:s,paddingSize:i,borderSize:o,boxSizing:a};return t&&n&&(Av[n]=c),c}function VB(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;wr||(wr=document.createElement("textarea"),wr.setAttribute("tab-index","-1"),wr.setAttribute("aria-hidden","true"),wr.setAttribute("name","hiddenTextarea"),document.body.appendChild(wr)),e.getAttribute("wrap")?wr.setAttribute("wrap",e.getAttribute("wrap")):wr.removeAttribute("wrap");var a=BB(e,t),i=a.paddingSize,o=a.borderSize,s=a.boxSizing,c=a.sizingStyle;wr.setAttribute("style","".concat(c,";").concat(kB)),wr.value=e.value||e.placeholder||"";var u=void 0,d=void 0,f,h=wr.scrollHeight;if(s==="border-box"?h+=o:s==="content-box"&&(h-=i),n!==null||r!==null){wr.value=" ";var v=wr.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 YB=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Ov=0,Mv=1,Pv=2,WB=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=St(n,YB),g=un(a,{value:i,postState:function(Y){return Y??""}}),p=Q(g,2),m=p[0],b=p[1],C=function(Y){b(Y.target.value),f==null||f(Y)},S=l.useRef();l.useImperativeHandle(t,function(){return{textArea:S.current}});var x=l.useMemo(function(){return o&&st(o)==="object"?[o.minRows,o.maxRows]:[]},[o]),E=Q(x,2),w=E[0],A=E[1],N=!!o,M=function(){try{if(document.activeElement===S.current){var Y=S.current,X=Y.selectionStart,q=Y.selectionEnd,ee=Y.scrollTop;S.current.setSelectionRange(X,q),S.current.scrollTop=ee}}catch{}},P=l.useState(Pv),I=Q(P,2),L=I[0],D=I[1],R=l.useState(),T=Q(R,2),j=T[0],z=T[1],F=function(){D(Ov),process.env.NODE_ENV==="test"&&(h==null||h())};Kt(function(){N&&F()},[i,w,A,N]),Kt(function(){if(L===Ov)D(Mv);else if(L===Mv){var W=VB(S.current,!1,w,A);D(Pv),z(W)}else M()},[L]);var V=l.useRef(),U=function(){zt.cancel(V.current)},k=function(Y){L===Pv&&(s==null||s(Y),o&&(U(),V.current=zt(function(){F()})))};l.useEffect(function(){return U},[]);var H=N?j:null,B=G(G({},u),H);return(L===Ov||L===Mv)&&(B.overflowY="hidden",B.overflowX="hidden"),l.createElement(rr,{onResize:k,disabled:!(o||s)},l.createElement("textarea",Ie({},v,{ref:S,style:B,className:ce(r,c,K({},"".concat(r,"-disabled"),d)),disabled:d,value:m,onChange:C})))}),UB=["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"],GB=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,C=e.style,S=e.disabled,x=e.hidden,E=e.classNames,w=e.styles,A=e.onResize,N=e.onClear,M=e.onPressEnter,P=e.readOnly,I=e.autoSize,L=e.onKeyDown,D=St(e,UB),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!S&&ue})},[S]);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=ux(m,p),pe=(n=se.max)!==null&&n!==void 0?n:u,ye=Number(pe)>0,we=se.strategy(F),ae=!!pe&&we>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)},Se=function(fe){B.current=!1,ne(fe,fe.currentTarget.value),f==null||f(fe)},ge=function(fe){ne(fe,fe.target.value)},Ee=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:we,maxLength:pe}):qe="".concat(we).concat(ye?" / ".concat(pe):""),Te=O.createElement(O.Fragment,null,Te,O.createElement("span",{className:ce("".concat(g,"-data-count"),E==null?void 0:E.count),style:w==null?void 0:w.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(cx,{ref:ee,value:F,allowClear:c,handleReset:ze,suffix:Te,prefixCls:g,classNames:G(G({},E),{},{affixWrapper:ce(E==null?void 0:E.affixWrapper,K(K({},"".concat(g,"-show-count"),p),"".concat(g,"-textarea-allow-clear"),c))}),disabled:S,focused:k,className:ce(b,ae&&"".concat(g,"-out-of-range")),style:G(G({},C),X&&!re?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof qe=="string"?qe:void 0}},hidden:x,readOnly:P,onClear:N},O.createElement(WB,Ie({},D,{autoSize:I,maxLength:u,onKeyDown:Ee,onChange:ge,onFocus:Ne,onBlur:ke,onCompositionStart:be,onCompositionEnd:Se,className:ce(E==null?void 0:E.textarea),style:G(G({},w==null?void 0:w.textarea),{},{resize:C==null?void 0:C.resize}),disabled:S,prefixCls:g,onResize:J,ref:ie,readOnly:P})))});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}}}}}},ZB=jn(["Input","TextArea"],e=>{const t=Xt(e,ll(e));return[KB(t)]},cl,{resetFont:!1});var QB=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 XB=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,C=QB(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:S,direction:x,allowClear:E,autoComplete:w,className:A,style:N,classNames:M,styles:P}=br("textArea"),I=l.useContext(Wr),L=o??I,{status:D,hasFeedback:R,feedbackIcon:T}=l.useContext(Sr),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,we;lx((we=(ye=z.current)===null||ye===void 0?void 0:ye.resizableTextArea)===null||we===void 0?void 0:we.textArea,pe)},blur:()=>{var pe;return(pe=z.current)===null||pe===void 0?void 0:pe.blur()}}});const F=S("input",r),V=Nr(F),[U,k,H]=Hw(F,d),[B]=ZB(F,V),{compactSize:W,compactItemClassnames:Y}=Mi(F,x),X=Ir(se=>{var pe;return(pe=i??W)!==null&&pe!==void 0?pe:se}),[q,ee]=No("textArea",g,a),ie=dx(c??E),[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 we=(ye=(pe=z.current)===null||pe===void 0?void 0:pe.nativeElement)===null||ye===void 0?void 0:ye.querySelector("textarea");we&&getComputedStyle(we).resize==="both"&&le(!0)}};return U(B(l.createElement(GB,Object.assign({autoComplete:w},C,{style:Object.assign(Object.assign({},N),h),styles:Object.assign(Object.assign({},P),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`]:x==="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=EB,Bn.Search=Lx,Bn.TextArea=XB,Bn.Password=Tx,Bn.OTP=RB;let Tr=null,zi=e=>e(),dl=[],fl={};function zx(){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 qB=O.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:a}=O.useContext(Dt),i=fl.prefixCls||a("message"),o=O.useContext(ET),[s,c]=eC(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}),JB=O.forwardRef((e,t)=>{const[n,r]=O.useState(zx),a=()=>{r(zx)};O.useEffect(a,[]);const i=Iy(),o=i.getRootPrefixCls(),s=i.getIconPrefixCls(),c=i.getTheme(),u=O.createElement(qB,{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(()=>{oC()(O.createElement(JB,{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 _B(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 $B(e){const t=zh(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 eV(e,t){const n=Iy();process.env.NODE_ENV!=="production"&&!n.holderRender&&JR("message");const r=zh(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 tV=e=>{dl.push({type:"destroy",key:e}),Bu()},nV=["success","info","warning","error","loading"],Fx={open:$B,destroy:tV,config:_B,useMessage:oj,_InternalPanelDoNotUseOrYouWillBeFired:_D};nV.forEach(e=>{Fx[e]=(...t)=>eV(e,t)}),process.env.NODE_ENV,process.env.NODE_ENV;var rV={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"},aV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:rV}))},iV=l.forwardRef(aV);process.env.NODE_ENV!=="production"&&(iV.displayName="HeartFilled");var oV={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"},sV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:oV}))},lV=l.forwardRef(sV);process.env.NODE_ENV!=="production"&&(lV.displayName="HeartOutlined");var cV={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"},uV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:cV}))},dV=l.forwardRef(uV);process.env.NODE_ENV!=="production"&&(dV.displayName="HeartTwoTone");var fV={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"},hV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:fV}))},Nv=l.forwardRef(hV);process.env.NODE_ENV!=="production"&&(Nv.displayName="MailOutlined");var mV={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"},vV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:mV}))},kx=l.forwardRef(vV);process.env.NODE_ENV!=="production"&&(kx.displayName="StarFilled");const gV=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}}},Iv=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})},Rv=e=>({defaultBg:new qt(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),Hx=jn("Tag",e=>{const t=Iv(e);return gV(t)},Rv);var pV=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 bV=l.forwardRef((e,t)=>{const{prefixCls:n,style:r,className:a,checked:i,onChange:o,onClick:s}=e,c=pV(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]=Hx(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})))}),yV=e=>cy(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"}}})),CV=Sh(["Tag","preset"],e=>{const t=Iv(e);return yV(t)},Rv);function SV(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const Vu=(e,t,n)=>{const r=SV(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"}}}},wV=Sh(["Tag","status"],e=>{const t=Iv(e);return[Vu(t,"success","Success"),Vu(t,"processing","Info"),Vu(t,"error","Error"),Vu(t,"warning","Warning")]},Rv);var xV=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 Dv=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=xV(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),C=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 S=lS(c),x=qL(c),E=S||x,w=Object.assign(Object.assign({backgroundColor:c&&!E?c:void 0},p==null?void 0:p.style),i),A=v("tag",n),[N,M,P]=Hx(A),I=ce(A,p==null?void 0:p.className,{[`${A}-${c}`]:E,[`${A}-has-color`]:c&&!E,[`${A}-hidden`]:!m,[`${A}-rtl`]:g==="rtl",[`${A}-borderless`]:!d},r,a,M,P),L=F=>{F.stopPropagation(),u==null||u(F),!F.defaultPrevented&&b(!1)},[,D]=JC(iu(e),iu(p),{closable:!1,closeIconRender:F=>{const V=l.createElement("span",{className:`${A}-close-icon`,onClick:L},F);return Th(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({},C,{ref:t,className:I,style:w}),j,D,S&&l.createElement(CV,{key:"preset",prefixCls:A}),x&&l.createElement(wV,{key:"status",prefixCls:A}));return N(R?l.createElement(Kc,{component:"Tag"},z):z)});process.env.NODE_ENV!=="production"&&(Dv.displayName="Tag"),Dv.CheckableTag=bV;const Bx=O.createContext({popupElement:null,confirmPopupElement:null,showPopup:()=>{},showConfirmPopup:()=>{},hidePopup:()=>{},hideConfirmPopup:()=>{},isPopupShowing:!1,isConfirmPopupShowing:!1,showMessage:()=>{},hideMessage:()=>{}}),Vx=4400,Qr=()=>O.useContext(Bx);function EV({children:e}){const[t,n]=O.useState(null),[r,a]=O.useState(null),[i,o]=O.useState(null),[s,c]=Fx.useMessage(),u=O.useCallback(b=>{const{type:C,message:S,key:x,duration:E}=b;if(s.open({type:C,content:S,key:x,duration:E||Vx}),b.type==="loading"){const{duration:w}=b;setTimeout(()=>{s.destroy()},w)}else setTimeout(()=>{s.destroy()},E||Vx)},[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 y.jsxs(Bx.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?y.jsx("div",{className:"popup",children:t}):null,r?y.jsx("div",{className:"popup",children:r}):null,i||null]})}const Yx=O.createContext({children:null}),AV=()=>O.useContext(Yx);function OV({children:e}){const{debugMode:t}=Fi(),{showMessage:n}=Qr();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(C=>C.endpoint===m.endpoint)||p.push(m),localStorage.setItem("missing-endpoints",JSON.stringify(p)),t&&(console.log("--------- Missing endpoints ---------"),p.forEach(C=>{console.log(`Page: ${C.page} - Endpoint: ${C.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,C,S,x,E;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=((S=(C=u==null?void 0:u.response)==null?void 0:C.data)==null?void 0:S.message)||"Une erreur est survenue",g=((E=(x=u==null?void 0:u.response)==null?void 0:x.data)==null?void 0:E.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)}},[]),y.jsx(Yx.Provider,{value:{children:e},children:e})}function Wx({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?y.jsx("div",{ref:s,className:"context-menu-confirm",style:c(),children:y.jsxs("div",{className:"confirm-content",children:[y.jsx("div",{className:"confirm-title",children:t}),y.jsxs("div",{className:"confirm-buttons",children:[y.jsx(Vt,{size:"small",onClick:r,children:i}),y.jsx(Vt,{size:"small",type:"primary",danger:!0,onClick:n,children:a})]})]})}):null}function Ux(){var u,d,f;const{contextMenuState:e,hideContextMenu:t}=jv(),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?y.jsxs("div",{ref:n,className:"context-menu",style:c(),children:[e.title&&y.jsx("div",{className:"context-menu-title",children:e.title}),y.jsx("div",{className:"context-menu-options",children:e.options.map((h,v)=>y.jsxs(O.Fragment,{children:[h.separator&&y.jsx("div",{className:"context-menu-separator"})," ",h.requestConfirmation?y.jsxs(Vt,{disabled:h.disabled,className:`context-menu-option ${h.disabled?"disabled":""}`,onClick:g=>{h.disabled||i(h,g)},children:[y.jsx("span",{className:"context-menu-label",children:h.label}),h.icon&&y.jsx("span",{className:"context-menu-icon",children:h.icon})]}):y.jsxs(Vt,{disabled:h.disabled,className:`context-menu-option ${h.disabled?"disabled":""}`,onClick:()=>{h.disabled||(h.onClick(),t())},children:[y.jsx("span",{className:"context-menu-label",children:h.label}),h.icon&&y.jsx("span",{className:"context-menu-icon",children:h.icon})]})]},v))}),y.jsx(Wx,{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 Gx=O.createContext(null),jv=()=>{const e=O.useContext(Gx);if(!e)throw new Error("useContextMenu must be used within ContextMenuProvider");return e},hl=()=>{const{showContextMenu:e}=jv();return{handleContextMenu:(n,r,a)=>{n.preventDefault(),n.stopPropagation(),e(n.clientX,n.clientY,r,a)}}};function Kx({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 y.jsxs(Gx.Provider,{value:{showContextMenu:r,hideContextMenu:a,contextMenuState:t},children:[y.jsx(Ux,{}),e]})}function MV(){const{isPushSupported:e,isSubscribed:t,pushMessage:n,vapidPublicKey:r,subscribePush:a,unsubscribePush:i,sendTestPushNotification:o}=Yu();return y.jsxs("div",{className:"p-10",children:[y.jsx("h3",{children:"Statut des Notifications Push"}),y.jsxs("p",{children:["Supporté:"," ",y.jsx("span",{style:{color:e?"green":"red",fontWeight:"bold"},children:e?"Oui":"Non"})]}),y.jsxs("p",{children:["Clé VAPID:"," ",y.jsx("span",{style:{color:r?"green":"red",fontWeight:"bold"},children:r?"Oui":"Non"})]}),y.jsxs("p",{children:["Abonné:"," ",y.jsx("span",{style:{color:t?"green":"red",fontWeight:"bold"},children:t?"Oui":"Non"})]}),y.jsxs("p",{children:["Message:"," ",y.jsx("span",{style:{color:n?"green":"red",fontWeight:"bold"},children:n||"Aucun"})]}),!t&&e&&y.jsx("button",{onClick:a,children:"S'abonner aux notifications"}),t&&e&&y.jsx("button",{onClick:i,children:"Se désabonner"}),t&&o&&y.jsx("button",{onClick:()=>o("Titre du test","Corps du message de test"),children:"Envoyer une notification de test"})]})}const Zx=O.createContext({isPushSupported:!1,isSubscribed:!1,isPushSubscriptionLoading:!1,pushMessage:"",vapidPublicKey:null,currentSubscriptionEndpoint:null,subscribePush:async()=>{},unsubscribePush:async()=>{}}),Yu=()=>O.useContext(Zx),PV=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 NV({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(C=>{d(C.data.publicVapidKey),n&&console.log("Clé publique VAPID récupérée:",C.data.publicVapidKey)}).catch(C=>{n&&console.error("Erreur lors de la récupération de la clé VAPID:",C),h("Erreur: Impossible de récupérer la clé VAPID du serveur.")}),navigator.serviceWorker.register("/service-worker.js").then(C=>(n&&console.log("Service Worker enregistré avec succès:",C),C.pushManager.getSubscription())).then(C=>{C?(n&&console.log("Utilisateur déjà abonné:",C),c(C),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(C=>{n&&console.error("Erreur lors de l'enregistrement du Service Worker ou de la récupération de l'abonnement:",C),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 S=await(await navigator.serviceWorker.ready).pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:PV(u)});n&&console.log("Abonnement push réussi:",S),c(S),o(!0),h("Abonnement réussi !"),await Rt.post("/push-notification/subscribe",S),n&&console.log("Abonnement envoyé au serveur.")}catch(C){n&&console.error("Échec de l'abonnement push:",C),h(`Échec de l'abonnement: ${C instanceof Error?C.message:String(C)}`)}},[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(C){n&&console.error("Échec du désabonnement push:",C),h(`Échec du désabonnement: ${C instanceof Error?C.message:String(C)}`)}},[r,s,n]),b=O.useCallback(async(C,S)=>{var x;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 E=await Rt.post("/push-notification/send",{title:C,body:S});E.status===200?h("Notification de test envoyée (vérifiez votre écran)."):h(`Erreur lors de l'envoi de la notification: ${((x=E.data)==null?void 0:x.message)||E.statusText}`)}catch(E){n&&console.error("Erreur lors de l'envoi de la notification de test:",E),h(`Erreur réseau lors de l'envoi: ${E instanceof Error?E.message:String(E)}`)}},[i,n]);return y.jsxs(Zx.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&&y.jsx(MV,{}),e]})}const Qx=O.createContext({isProgressiveWebAppInstalled:!1,canInstallProgressiveWebApp:!1,progressiveWebAppMessage:"",isMobile:!1,installProgressiveWebApp:async()=>{}}),Tv=()=>O.useContext(Qx);function IV({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 y.jsxs(Qx.Provider,{value:{useProgressiveWebAppFeatures:n,isProgressiveWebAppInstalled:r,canInstallProgressiveWebApp:!!i&&!r,progressiveWebAppMessage:s,isMobile:u,installProgressiveWebApp:h},children:[t&&f,e]})}const Xx=O.createContext(void 0),RV=()=>{const e=O.useContext(Xx);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e},DV=({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 y.jsx(Xx.Provider,{value:c,children:e})},jV=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"}))]]),TV=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"}))]]),LV=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"}))]]),zV=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"}))]]),FV=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"}))]]),kV=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"}))]]),HV=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"}))]]),BV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M120,128a16,16,0,1,1-16-16A16,16,0,0,1,120,128Zm32-16a16,16,0,1,0,16,16A16,16,0,0,0,152,112Zm84,16A108,108,0,0,1,78.77,224.15L46.34,235A20,20,0,0,1,21,209.66l10.81-32.43A108,108,0,1,1,236,128Zm-24,0A84,84,0,1,0,55.27,170.06a12,12,0,0,1,1,9.81l-9.93,29.79,29.79-9.93a12.1,12.1,0,0,1,3.8-.62,12,12,0,0,1,6,1.62A84,84,0,0,0,212,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128A96,96,0,0,1,79.93,211.11h0L42.54,223.58a8,8,0,0,1-10.12-10.12l12.47-37.39h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),l.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-4-1.08,7.85,7.85,0,0,0-2.53.42L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Zm12-88a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm-44,0a12,12,0,1,1-12-12A12,12,0,0,1,96,128Zm88,0a12,12,0,1,1-12-12A12,12,0,0,1,184,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24ZM84,140a12,12,0,1,1,12-12A12,12,0,0,1,84,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,172,140Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M138,128a10,10,0,1,1-10-10A10,10,0,0,1,138,128ZM84,118a10,10,0,1,0,10,10A10,10,0,0,0,84,118Zm88,0a10,10,0,1,0,10,10A10,10,0,0,0,172,118Zm58,10A102,102,0,0,1,79.31,217.65L44.44,229.27a14,14,0,0,1-17.71-17.71l11.62-34.87A102,102,0,1,1,230,128Zm-12,0A90,90,0,1,0,50.08,173.06a6,6,0,0,1,.5,4.91L38.12,215.35a2,2,0,0,0,2.53,2.53L78,205.42a6.2,6.2,0,0,1,1.9-.31,6.09,6.09,0,0,1,3,.81A90,90,0,0,0,218,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM84,116a12,12,0,1,0,12,12A12,12,0,0,0,84,116Zm88,0a12,12,0,1,0,12,12A12,12,0,0,0,172,116Zm60,12A104,104,0,0,1,79.12,219.82L45.07,231.17a16,16,0,0,1-20.24-20.24l11.35-34.05A104,104,0,1,1,232,128Zm-16,0A88,88,0,1,0,51.81,172.06a8,8,0,0,1,.66,6.54L40,216,77.4,203.53a7.85,7.85,0,0,1,2.53-.42,8,8,0,0,1,4,1.08A88,88,0,0,0,216,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M136,128a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-52-8a8,8,0,1,0,8,8A8,8,0,0,0,84,120Zm88,0a8,8,0,1,0,8,8A8,8,0,0,0,172,120Zm56,8A100,100,0,0,1,79.5,215.47l-35.69,11.9a12,12,0,0,1-15.18-15.18l11.9-35.69A100,100,0,1,1,228,128Zm-8,0A92,92,0,1,0,48.35,174.07a4,4,0,0,1,.33,3.27L36.22,214.72a4,4,0,0,0,5.06,5.06l37.38-12.46a3.93,3.93,0,0,1,1.27-.21,4.05,4.05,0,0,1,2,.54A92,92,0,0,0,220,128Z"}))]]),VV=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"}))]]),YV=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"}))]]),WV=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"}))]]),UV=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"}))]]),GV=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"}))]]),KV=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"}))]]),ZV=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"}))]]),QV=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"}))]]),XV=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"}))]]),qV=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"}))]]),JV=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"}))]]),_V=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"}))]]),$V=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"}))]]),eY=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"}))]]),tY=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"}))]]),nY=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"}))]]),rY=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"}))]]),aY=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"}))]]),iY=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"}))]]),oY=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"}))]]),sY=O.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),an=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(sY);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))});an.displayName="IconBase";const qx=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:jV}));qx.displayName="ArrowCircleLeftIcon";const Jx=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:TV}));Jx.displayName="ArrowCircleRightIcon";const _x=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:LV}));_x.displayName="BellIcon";const $x=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:zV}));$x.displayName="CalendarBlankIcon";const eE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:FV}));eE.displayName="CaretDownIcon";const tE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:kV}));tE.displayName="CaretLeftIcon";const nE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:HV}));nE.displayName="CaretRightIcon";const Lv=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:BV}));Lv.displayName="ChatCircleDotsIcon";const rE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:VV}));rE.displayName="CheckIcon";const zv=rE,aE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:YV}));aE.displayName="DownloadSimpleIcon";const Wu=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:WV}));Wu.displayName="EnvelopeIcon";const iE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:UV}));iE.displayName="EyeIcon";const oE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:GV}));oE.displayName="EyeSlashIcon";const sE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:KV}));sE.displayName="FacebookLogoIcon";const lE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:ZV}));lE.displayName="FloppyDiskIcon";const lY=lE,cE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:QV}));cE.displayName="GoogleLogoIcon";const Uu=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:XV}));Uu.displayName="LockIcon";const uE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:qV}));uE.displayName="MinusIcon";const dE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:JV}));dE.displayName="PaperPlaneTiltIcon";const fE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:_V}));fE.displayName="PencilSimpleIcon";const hE=fE,Fv=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:$V}));Fv.displayName="PlusIcon";const cY=Fv,mE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:eY}));mE.displayName="ShoppingCartIcon";const vE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:tY}));vE.displayName="SlidersHorizontalIcon";const gE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:nY}));gE.displayName="TagIcon";const kv=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:rY}));kv.displayName="TrashIcon";const pE=kv,Hv=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:aY}));Hv.displayName="UserIcon";const bE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:iY}));bE.displayName="UsersIcon";const Gu=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:oY}));Gu.displayName="XIcon";const Ku=Gu;function Bv({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,C]=O.useState(!0),S=a&&b;if(O.useEffect(()=>{if(S)m(!0);else{const w=setTimeout(()=>m(!1),250);return()=>clearTimeout(w)}},[S]),!p)return null;const x=S?{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"},E=()=>{C(!1),typeof r=="function"&&r(),typeof h=="function"&&h()};return y.jsx("div",{className:`PopButton-container PopButton-${s}-theme ${d}`,style:{bottom:c,pointerEvents:S?"auto":"none",...x},children:y.jsxs("div",{className:"flex col gap-10",children:[y.jsx("div",{className:"PopButton-btn-row",children:y.jsxs(Vt,{size:"large",disabled:i,className:`PopButton-btn${i?" disabled":""}`,style:{minWidth:o+32},onClick:()=>{n&&n(),f&&f()},children:[y.jsx("span",{className:"PopButton-col PopButton-col-icon",children:e}),y.jsx("span",{className:"PopButton-col PopButton-text PopButton-col-text",children:t}),u?y.jsx("span",{className:"PopButton-col PopButton-close-wrapper PopButton-col-close",onClick:w=>{w.stopPropagation(),E()},children:y.jsx(Gu,{size:20,className:"PopButton-close"})}):y.jsx("span",{className:"PopButton-col PopButton-col-close"}),y.jsx("span",{className:"PopButton-glossy"})]})}),v&&g&&(()=>{let w=!1;try{const A=document.createElement("a");A.href=v;const N=A.pathname+A.search+A.hash,M=window.location.pathname+window.location.search+window.location.hash;w=N===M||A.href===window.location.href}catch(A){console.warn("Invalid URL:",v,A)}return w?null:y.jsx("div",{className:"PopButton-link-container",style:{marginTop:8,textAlign:"center"},children:y.jsx("a",{href:v,className:"PopButton-link",style:{color:"#007bff",textDecoration:"underline",cursor:"pointer",fontSize:14},children:g})})})()]})})}function yE({size:e=56,visible:t=!0,forceVisible:n=!1,text:r,knowMoreUrl:a,knowMoreText:i,onAction:o,onPopupClose:s}){const{organizationDetails:c,areOrganizationDetailsLoading:u}=Lr(),d=r||"Installez l'application pour une expérience optimale",{showMessage:f}=Qr(),{isProgressiveWebAppInstalled:h,canInstallProgressiveWebApp:v,installProgressiveWebApp:g}=Tv(),[p,m]=O.useState(!1),b=t&&!h&&v||n,C=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)}},S=c!=null&&c.image?y.jsx("img",{src:c.image,alt:"Organization Logo",style:{width:e,height:e}}):y.jsx(aE,{size:e,color:"#1890ff"});return u?null:y.jsx(Bv,{icon:S,text:d,onClick:C,onClose:s,visible:b,disabled:p,size:e,theme:"pwa",showClose:!0,bottom:50,onAction:o,onPopupClose:s,url:a,urlText:i})}function CE({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 y.jsx(Bv,{icon:y.jsx(_x,{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 SE({enableInstallAppButton:e,enablePushNotificationButton:t}){const{isProgressiveWebAppInstalled:n,canInstallProgressiveWebApp:r}=Tv(),{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 y.jsxs(y.Fragment,{children:[y.jsx(yE,{visible:f,onPopupClose:()=>{c(!0)},knowMoreUrl:"/install-app",knowMoreText:"En savoir plus"}),y.jsx(CE,{visible:h,onPopupClose:()=>{d(!0)},knowMoreUrl:"/install-app",knowMoreText:"En savoir plus"})]})}const wE=56,uY=2147483e3,Zu="#0f766e",xE="#115e59",dY="rgba(15, 118, 110, 0.18)",EE="lystech-support-button-style",fY=`
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}}}}}},ZB=jn(["Input","TextArea"],e=>{const t=Xt(e,ll(e));return[KB(t)]},cl,{resetFont:!1});var QB=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 XB=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,C=QB(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:S,direction:x,allowClear:E,autoComplete:w,className:A,style:N,classNames:M,styles:P}=br("textArea"),I=l.useContext(Wr),L=o??I,{status:D,hasFeedback:R,feedbackIcon:T}=l.useContext(Sr),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,we;lx((we=(ye=z.current)===null||ye===void 0?void 0:ye.resizableTextArea)===null||we===void 0?void 0:we.textArea,pe)},blur:()=>{var pe;return(pe=z.current)===null||pe===void 0?void 0:pe.blur()}}});const F=S("input",r),V=Nr(F),[U,k,H]=Hw(F,d),[B]=ZB(F,V),{compactSize:W,compactItemClassnames:Y}=Mi(F,x),X=Ir(se=>{var pe;return(pe=i??W)!==null&&pe!==void 0?pe:se}),[q,ee]=No("textArea",g,a),ie=dx(c??E),[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 we=(ye=(pe=z.current)===null||pe===void 0?void 0:pe.nativeElement)===null||ye===void 0?void 0:ye.querySelector("textarea");we&&getComputedStyle(we).resize==="both"&&le(!0)}};return U(B(l.createElement(GB,Object.assign({autoComplete:w},C,{style:Object.assign(Object.assign({},N),h),styles:Object.assign(Object.assign({},P),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`]:x==="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=EB,Bn.Search=Lx,Bn.TextArea=XB,Bn.Password=Tx,Bn.OTP=RB;let Tr=null,zi=e=>e(),dl=[],fl={};function zx(){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 qB=O.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:a}=O.useContext(Dt),i=fl.prefixCls||a("message"),o=O.useContext(ET),[s,c]=eC(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}),JB=O.forwardRef((e,t)=>{const[n,r]=O.useState(zx),a=()=>{r(zx)};O.useEffect(a,[]);const i=Iy(),o=i.getRootPrefixCls(),s=i.getIconPrefixCls(),c=i.getTheme(),u=O.createElement(qB,{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(()=>{oC()(O.createElement(JB,{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 _B(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 $B(e){const t=zh(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 eV(e,t){const n=Iy();process.env.NODE_ENV!=="production"&&!n.holderRender&&JR("message");const r=zh(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 tV=e=>{dl.push({type:"destroy",key:e}),Bu()},nV=["success","info","warning","error","loading"],Fx={open:$B,destroy:tV,config:_B,useMessage:oj,_InternalPanelDoNotUseOrYouWillBeFired:_D};nV.forEach(e=>{Fx[e]=(...t)=>eV(e,t)}),process.env.NODE_ENV,process.env.NODE_ENV;var rV={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"},aV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:rV}))},iV=l.forwardRef(aV);process.env.NODE_ENV!=="production"&&(iV.displayName="HeartFilled");var oV={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"},sV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:oV}))},lV=l.forwardRef(sV);process.env.NODE_ENV!=="production"&&(lV.displayName="HeartOutlined");var cV={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"},uV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:cV}))},dV=l.forwardRef(uV);process.env.NODE_ENV!=="production"&&(dV.displayName="HeartTwoTone");var fV={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"},hV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:fV}))},Nv=l.forwardRef(hV);process.env.NODE_ENV!=="production"&&(Nv.displayName="MailOutlined");var mV={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"},vV=function(t,n){return l.createElement(hn,Ie({},t,{ref:n,icon:mV}))},kx=l.forwardRef(vV);process.env.NODE_ENV!=="production"&&(kx.displayName="StarFilled");const gV=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}}},Iv=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})},Rv=e=>({defaultBg:new qt(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),Hx=jn("Tag",e=>{const t=Iv(e);return gV(t)},Rv);var pV=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 bV=l.forwardRef((e,t)=>{const{prefixCls:n,style:r,className:a,checked:i,onChange:o,onClick:s}=e,c=pV(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]=Hx(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})))}),yV=e=>cy(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"}}})),CV=Sh(["Tag","preset"],e=>{const t=Iv(e);return yV(t)},Rv);function SV(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const Vu=(e,t,n)=>{const r=SV(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"}}}},wV=Sh(["Tag","status"],e=>{const t=Iv(e);return[Vu(t,"success","Success"),Vu(t,"processing","Info"),Vu(t,"error","Error"),Vu(t,"warning","Warning")]},Rv);var xV=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 Dv=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=xV(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),C=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 S=lS(c),x=qL(c),E=S||x,w=Object.assign(Object.assign({backgroundColor:c&&!E?c:void 0},p==null?void 0:p.style),i),A=v("tag",n),[N,M,P]=Hx(A),I=ce(A,p==null?void 0:p.className,{[`${A}-${c}`]:E,[`${A}-has-color`]:c&&!E,[`${A}-hidden`]:!m,[`${A}-rtl`]:g==="rtl",[`${A}-borderless`]:!d},r,a,M,P),L=F=>{F.stopPropagation(),u==null||u(F),!F.defaultPrevented&&b(!1)},[,D]=JC(iu(e),iu(p),{closable:!1,closeIconRender:F=>{const V=l.createElement("span",{className:`${A}-close-icon`,onClick:L},F);return Th(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({},C,{ref:t,className:I,style:w}),j,D,S&&l.createElement(CV,{key:"preset",prefixCls:A}),x&&l.createElement(wV,{key:"status",prefixCls:A}));return N(R?l.createElement(Kc,{component:"Tag"},z):z)});process.env.NODE_ENV!=="production"&&(Dv.displayName="Tag"),Dv.CheckableTag=bV;const Bx=O.createContext({popupElement:null,confirmPopupElement:null,showPopup:()=>{},showConfirmPopup:()=>{},hidePopup:()=>{},hideConfirmPopup:()=>{},isPopupShowing:!1,isConfirmPopupShowing:!1,showMessage:()=>{},hideMessage:()=>{}}),Vx=4400,Qr=()=>O.useContext(Bx);function EV({children:e}){const[t,n]=O.useState(null),[r,a]=O.useState(null),[i,o]=O.useState(null),[s,c]=Fx.useMessage(),u=O.useCallback(b=>{const{type:C,message:S,key:x,duration:E}=b;if(s.open({type:C,content:S,key:x,duration:E||Vx}),b.type==="loading"){const{duration:w}=b;setTimeout(()=>{s.destroy()},w)}else setTimeout(()=>{s.destroy()},E||Vx)},[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 y.jsxs(Bx.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?y.jsx("div",{className:"popup",children:t}):null,r?y.jsx("div",{className:"popup",children:r}):null,i||null]})}const Yx=O.createContext({children:null}),AV=()=>O.useContext(Yx);function OV({children:e}){const{debugMode:t}=Fi(),{showMessage:n}=Qr();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(C=>C.endpoint===m.endpoint)||p.push(m),localStorage.setItem("missing-endpoints",JSON.stringify(p)),t&&(console.log("--------- Missing endpoints ---------"),p.forEach(C=>{console.log(`Page: ${C.page} - Endpoint: ${C.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,C,S,x,E;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=((S=(C=u==null?void 0:u.response)==null?void 0:C.data)==null?void 0:S.message)||"Une erreur est survenue",g=((E=(x=u==null?void 0:u.response)==null?void 0:x.data)==null?void 0:E.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)}},[]),y.jsx(Yx.Provider,{value:{children:e},children:e})}function Wx({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?y.jsx("div",{ref:s,className:"context-menu-confirm",style:c(),children:y.jsxs("div",{className:"confirm-content",children:[y.jsx("div",{className:"confirm-title",children:t}),y.jsxs("div",{className:"confirm-buttons",children:[y.jsx(Vt,{size:"small",onClick:r,children:i}),y.jsx(Vt,{size:"small",type:"primary",danger:!0,onClick:n,children:a})]})]})}):null}function Ux(){var u,d,f;const{contextMenuState:e,hideContextMenu:t}=jv(),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?y.jsxs("div",{ref:n,className:"context-menu",style:c(),children:[e.title&&y.jsx("div",{className:"context-menu-title",children:e.title}),y.jsx("div",{className:"context-menu-options",children:e.options.map((h,v)=>y.jsxs(O.Fragment,{children:[h.separator&&y.jsx("div",{className:"context-menu-separator"})," ",h.requestConfirmation?y.jsxs(Vt,{disabled:h.disabled,className:`context-menu-option ${h.disabled?"disabled":""}`,onClick:g=>{h.disabled||i(h,g)},children:[y.jsx("span",{className:"context-menu-label",children:h.label}),h.icon&&y.jsx("span",{className:"context-menu-icon",children:h.icon})]}):y.jsxs(Vt,{disabled:h.disabled,className:`context-menu-option ${h.disabled?"disabled":""}`,onClick:()=>{h.disabled||(h.onClick(),t())},children:[y.jsx("span",{className:"context-menu-label",children:h.label}),h.icon&&y.jsx("span",{className:"context-menu-icon",children:h.icon})]})]},v))}),y.jsx(Wx,{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 Gx=O.createContext(null),jv=()=>{const e=O.useContext(Gx);if(!e)throw new Error("useContextMenu must be used within ContextMenuProvider");return e},hl=()=>{const{showContextMenu:e}=jv();return{handleContextMenu:(n,r,a)=>{n.preventDefault(),n.stopPropagation(),e(n.clientX,n.clientY,r,a)}}};function Kx({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 y.jsxs(Gx.Provider,{value:{showContextMenu:r,hideContextMenu:a,contextMenuState:t},children:[y.jsx(Ux,{}),e]})}function MV(){const{isPushSupported:e,isSubscribed:t,pushMessage:n,vapidPublicKey:r,subscribePush:a,unsubscribePush:i,sendTestPushNotification:o}=Yu();return y.jsxs("div",{className:"p-10",children:[y.jsx("h3",{children:"Statut des Notifications Push"}),y.jsxs("p",{children:["Supporté:"," ",y.jsx("span",{style:{color:e?"green":"red",fontWeight:"bold"},children:e?"Oui":"Non"})]}),y.jsxs("p",{children:["Clé VAPID:"," ",y.jsx("span",{style:{color:r?"green":"red",fontWeight:"bold"},children:r?"Oui":"Non"})]}),y.jsxs("p",{children:["Abonné:"," ",y.jsx("span",{style:{color:t?"green":"red",fontWeight:"bold"},children:t?"Oui":"Non"})]}),y.jsxs("p",{children:["Message:"," ",y.jsx("span",{style:{color:n?"green":"red",fontWeight:"bold"},children:n||"Aucun"})]}),!t&&e&&y.jsx("button",{onClick:a,children:"S'abonner aux notifications"}),t&&e&&y.jsx("button",{onClick:i,children:"Se désabonner"}),t&&o&&y.jsx("button",{onClick:()=>o("Titre du test","Corps du message de test"),children:"Envoyer une notification de test"})]})}const Zx=O.createContext({isPushSupported:!1,isSubscribed:!1,isPushSubscriptionLoading:!1,pushMessage:"",vapidPublicKey:null,currentSubscriptionEndpoint:null,subscribePush:async()=>{},unsubscribePush:async()=>{}}),Yu=()=>O.useContext(Zx),PV=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 NV({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(C=>{d(C.data.publicVapidKey),n&&console.log("Clé publique VAPID récupérée:",C.data.publicVapidKey)}).catch(C=>{n&&console.error("Erreur lors de la récupération de la clé VAPID:",C),h("Erreur: Impossible de récupérer la clé VAPID du serveur.")}),navigator.serviceWorker.register("/service-worker.js").then(C=>(n&&console.log("Service Worker enregistré avec succès:",C),C.pushManager.getSubscription())).then(C=>{C?(n&&console.log("Utilisateur déjà abonné:",C),c(C),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(C=>{n&&console.error("Erreur lors de l'enregistrement du Service Worker ou de la récupération de l'abonnement:",C),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 S=await(await navigator.serviceWorker.ready).pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:PV(u)});n&&console.log("Abonnement push réussi:",S),c(S),o(!0),h("Abonnement réussi !"),await Rt.post("/push-notification/subscribe",S),n&&console.log("Abonnement envoyé au serveur.")}catch(C){n&&console.error("Échec de l'abonnement push:",C),h(`Échec de l'abonnement: ${C instanceof Error?C.message:String(C)}`)}},[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(C){n&&console.error("Échec du désabonnement push:",C),h(`Échec du désabonnement: ${C instanceof Error?C.message:String(C)}`)}},[r,s,n]),b=O.useCallback(async(C,S)=>{var x;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 E=await Rt.post("/push-notification/send",{title:C,body:S});E.status===200?h("Notification de test envoyée (vérifiez votre écran)."):h(`Erreur lors de l'envoi de la notification: ${((x=E.data)==null?void 0:x.message)||E.statusText}`)}catch(E){n&&console.error("Erreur lors de l'envoi de la notification de test:",E),h(`Erreur réseau lors de l'envoi: ${E instanceof Error?E.message:String(E)}`)}},[i,n]);return y.jsxs(Zx.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&&y.jsx(MV,{}),e]})}const Qx=O.createContext({isProgressiveWebAppInstalled:!1,canInstallProgressiveWebApp:!1,progressiveWebAppMessage:"",isMobile:!1,installProgressiveWebApp:async()=>{}}),Tv=()=>O.useContext(Qx);function IV({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 y.jsxs(Qx.Provider,{value:{useProgressiveWebAppFeatures:n,isProgressiveWebAppInstalled:r,canInstallProgressiveWebApp:!!i&&!r,progressiveWebAppMessage:s,isMobile:u,installProgressiveWebApp:h},children:[t&&f,e]})}const Xx=O.createContext(void 0),RV=()=>{const e=O.useContext(Xx);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e},DV=({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 y.jsx(Xx.Provider,{value:c,children:e})},jV=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"}))]]),TV=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"}))]]),LV=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"}))]]),zV=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"}))]]),FV=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"}))]]),kV=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"}))]]),HV=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"}))]]),BV=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M120,128a16,16,0,1,1-16-16A16,16,0,0,1,120,128Zm32-16a16,16,0,1,0,16,16A16,16,0,0,0,152,112Zm84,16A108,108,0,0,1,78.77,224.15L46.34,235A20,20,0,0,1,21,209.66l10.81-32.43A108,108,0,1,1,236,128Zm-24,0A84,84,0,1,0,55.27,170.06a12,12,0,0,1,1,9.81l-9.93,29.79,29.79-9.93a12.1,12.1,0,0,1,3.8-.62,12,12,0,0,1,6,1.62A84,84,0,0,0,212,128Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128A96,96,0,0,1,79.93,211.11h0L42.54,223.58a8,8,0,0,1-10.12-10.12l12.47-37.39h0A96,96,0,1,1,224,128Z",opacity:"0.2"}),l.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-4-1.08,7.85,7.85,0,0,0-2.53.42L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Zm12-88a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm-44,0a12,12,0,1,1-12-12A12,12,0,0,1,96,128Zm88,0a12,12,0,1,1-12-12A12,12,0,0,1,184,128Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24ZM84,140a12,12,0,1,1,12-12A12,12,0,0,1,84,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,172,140Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M138,128a10,10,0,1,1-10-10A10,10,0,0,1,138,128ZM84,118a10,10,0,1,0,10,10A10,10,0,0,0,84,118Zm88,0a10,10,0,1,0,10,10A10,10,0,0,0,172,118Zm58,10A102,102,0,0,1,79.31,217.65L44.44,229.27a14,14,0,0,1-17.71-17.71l11.62-34.87A102,102,0,1,1,230,128Zm-12,0A90,90,0,1,0,50.08,173.06a6,6,0,0,1,.5,4.91L38.12,215.35a2,2,0,0,0,2.53,2.53L78,205.42a6.2,6.2,0,0,1,1.9-.31,6.09,6.09,0,0,1,3,.81A90,90,0,0,0,218,128Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM84,116a12,12,0,1,0,12,12A12,12,0,0,0,84,116Zm88,0a12,12,0,1,0,12,12A12,12,0,0,0,172,116Zm60,12A104,104,0,0,1,79.12,219.82L45.07,231.17a16,16,0,0,1-20.24-20.24l11.35-34.05A104,104,0,1,1,232,128Zm-16,0A88,88,0,1,0,51.81,172.06a8,8,0,0,1,.66,6.54L40,216,77.4,203.53a7.85,7.85,0,0,1,2.53-.42,8,8,0,0,1,4,1.08A88,88,0,0,0,216,128Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M136,128a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-52-8a8,8,0,1,0,8,8A8,8,0,0,0,84,120Zm88,0a8,8,0,1,0,8,8A8,8,0,0,0,172,120Zm56,8A100,100,0,0,1,79.5,215.47l-35.69,11.9a12,12,0,0,1-15.18-15.18l11.9-35.69A100,100,0,1,1,228,128Zm-8,0A92,92,0,1,0,48.35,174.07a4,4,0,0,1,.33,3.27L36.22,214.72a4,4,0,0,0,5.06,5.06l37.38-12.46a3.93,3.93,0,0,1,1.27-.21,4.05,4.05,0,0,1,2,.54A92,92,0,0,0,220,128Z"}))]]),VV=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"}))]]),YV=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"}))]]),WV=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"}))]]),UV=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"}))]]),GV=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"}))]]),KV=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"}))]]),ZV=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"}))]]),QV=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"}))]]),XV=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"}))]]),qV=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"}))]]),JV=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"}))]]),_V=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"}))]]),$V=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"}))]]),eY=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"}))]]),tY=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"}))]]),nY=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"}))]]),rY=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"}))]]),aY=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"}))]]),iY=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"}))]]),oY=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"}))]]),sY=O.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1}),an=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(sY);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))});an.displayName="IconBase";const qx=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:jV}));qx.displayName="ArrowCircleLeftIcon";const Jx=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:TV}));Jx.displayName="ArrowCircleRightIcon";const _x=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:LV}));_x.displayName="BellIcon";const $x=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:zV}));$x.displayName="CalendarBlankIcon";const eE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:FV}));eE.displayName="CaretDownIcon";const tE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:kV}));tE.displayName="CaretLeftIcon";const nE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:HV}));nE.displayName="CaretRightIcon";const Lv=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:BV}));Lv.displayName="ChatCircleDotsIcon";const rE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:VV}));rE.displayName="CheckIcon";const zv=rE,aE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:YV}));aE.displayName="DownloadSimpleIcon";const Wu=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:WV}));Wu.displayName="EnvelopeIcon";const iE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:UV}));iE.displayName="EyeIcon";const oE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:GV}));oE.displayName="EyeSlashIcon";const sE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:KV}));sE.displayName="FacebookLogoIcon";const lE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:ZV}));lE.displayName="FloppyDiskIcon";const lY=lE,cE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:QV}));cE.displayName="GoogleLogoIcon";const Uu=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:XV}));Uu.displayName="LockIcon";const uE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:qV}));uE.displayName="MinusIcon";const dE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:JV}));dE.displayName="PaperPlaneTiltIcon";const fE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:_V}));fE.displayName="PencilSimpleIcon";const hE=fE,Fv=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:$V}));Fv.displayName="PlusIcon";const cY=Fv,mE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:eY}));mE.displayName="ShoppingCartIcon";const vE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:tY}));vE.displayName="SlidersHorizontalIcon";const gE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:nY}));gE.displayName="TagIcon";const kv=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:rY}));kv.displayName="TrashIcon";const pE=kv,Hv=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:aY}));Hv.displayName="UserIcon";const bE=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:iY}));bE.displayName="UsersIcon";const Gu=l.forwardRef((e,t)=>l.createElement(an,{ref:t,...e,weights:oY}));Gu.displayName="XIcon";const Ku=Gu;function Bv({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,C]=O.useState(!0),S=a&&b;if(O.useEffect(()=>{if(S)m(!0);else{const w=setTimeout(()=>m(!1),250);return()=>clearTimeout(w)}},[S]),!p)return null;const x=S?{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"},E=()=>{C(!1),typeof r=="function"&&r(),typeof h=="function"&&h()};return y.jsx("div",{className:`PopButton-container PopButton-${s}-theme ${d}`,style:{bottom:c,pointerEvents:S?"auto":"none",...x},children:y.jsxs("div",{className:"flex col gap-10",children:[y.jsx("div",{className:"PopButton-btn-row",children:y.jsxs(Vt,{size:"large",disabled:i,className:`PopButton-btn${i?" disabled":""}`,style:{minWidth:o+32},onClick:()=>{n&&n(),f&&f()},children:[y.jsx("span",{className:"PopButton-col PopButton-col-icon",children:e}),y.jsx("span",{className:"PopButton-col PopButton-text PopButton-col-text",children:t}),u?y.jsx("span",{className:"PopButton-col PopButton-close-wrapper PopButton-col-close",onClick:w=>{w.stopPropagation(),E()},children:y.jsx(Gu,{size:20,className:"PopButton-close"})}):y.jsx("span",{className:"PopButton-col PopButton-col-close"}),y.jsx("span",{className:"PopButton-glossy"})]})}),v&&g&&(()=>{let w=!1;try{const A=document.createElement("a");A.href=v;const N=A.pathname+A.search+A.hash,M=window.location.pathname+window.location.search+window.location.hash;w=N===M||A.href===window.location.href}catch(A){console.warn("Invalid URL:",v,A)}return w?null:y.jsx("div",{className:"PopButton-link-container",style:{marginTop:8,textAlign:"center"},children:y.jsx("a",{href:v,className:"PopButton-link",style:{color:"#007bff",textDecoration:"underline",cursor:"pointer",fontSize:14},children:g})})})()]})})}function yE({size:e=56,visible:t=!0,forceVisible:n=!1,text:r,knowMoreUrl:a,knowMoreText:i,onAction:o,onPopupClose:s}){const{organizationDetails:c,areOrganizationDetailsLoading:u}=Lr(),d=r||"Installez l'application pour une expérience optimale",{showMessage:f}=Qr(),{isProgressiveWebAppInstalled:h,canInstallProgressiveWebApp:v,installProgressiveWebApp:g}=Tv(),[p,m]=O.useState(!1),b=t&&!h&&v||n,C=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)}},S=c!=null&&c.image?y.jsx("img",{src:c.image,alt:"Organization Logo",style:{width:e,height:e}}):y.jsx(aE,{size:e,color:"#1890ff"});return u?null:y.jsx(Bv,{icon:S,text:d,onClick:C,onClose:s,visible:b,disabled:p,size:e,theme:"pwa",showClose:!0,bottom:50,onAction:o,onPopupClose:s,url:a,urlText:i})}function CE({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 y.jsx(Bv,{icon:y.jsx(_x,{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 SE({enableInstallAppButton:e,enablePushNotificationButton:t}){const{isProgressiveWebAppInstalled:n,canInstallProgressiveWebApp:r}=Tv(),{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 y.jsxs(y.Fragment,{children:[y.jsx(yE,{visible:f,onPopupClose:()=>{c(!0)},knowMoreUrl:"/install-app",knowMoreText:"En savoir plus"}),y.jsx(CE,{visible:h,onPopupClose:()=>{d(!0)},knowMoreUrl:"/install-app",knowMoreText:"En savoir plus"})]})}const wE=56,uY=999,Zu="#0f766e",xE="#115e59",dY="rgba(15, 118, 110, 0.18)",EE="lystech-support-button-style",fY=`
1691
1691
  @keyframes lystech-support-fade-in {
1692
1692
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
1693
1693
  to { opacity: 1; transform: translateY(0) scale(1); }
@@ -1715,7 +1715,7 @@ html body {
1715
1715
  .lystech-support-close:hover {
1716
1716
  background-color: #f3f4f6 !important;
1717
1717
  color: #374151 !important;
1718
- }`;function hY(){O.useEffect(()=>{if(typeof document>"u"||document.getElementById(EE))return;const e=document.createElement("style");e.id=EE,e.appendChild(document.createTextNode(fY)),document.head.appendChild(e)},[])}function AE(){const{organizationDetails:e}=Lr(),{isLoggedIn:t,currentUser:n}=ar();hY();const r=!!(t&&(n!=null&&n.email)),a=(n==null?void 0:n.email)??"",i=`${(n==null?void 0:n.firstName)??""} ${(n==null?void 0:n.lastName)??""}`.trim()||a,[o,s]=O.useState(!1),[c,u]=O.useState(""),[d,f]=O.useState(""),[h,v]=O.useState(""),[g,p]=O.useState(""),[m,b]=O.useState("idle"),[C,S]=O.useState(""),x=O.useRef(null),E=O.useRef(null);O.useEffect(()=>{if(!o)return;const I=L=>{L.key==="Escape"&&s(!1)};return window.addEventListener("keydown",I),()=>window.removeEventListener("keydown",I)},[o]),O.useEffect(()=>()=>{E.current&&clearTimeout(E.current)},[]);function w(){u(""),f(""),v(""),p(""),b("idle"),S("")}function A(){s(!1),E.current&&(clearTimeout(E.current),E.current=null),setTimeout(w,250)}function N(){o?A():(w(),s(!0))}async function M(I){var L;if(I.preventDefault(),m!=="sending"){b("sending"),S("");try{await Rt.post("/support/submit",{name:r?i:c,email:r?a:d,message:h,website:g}),b("success"),E.current&&clearTimeout(E.current),E.current=setTimeout(()=>{A()},2500)}catch(D){const R=(L=D==null?void 0:D.response)==null?void 0:L.status;R===429?(b("error"),S("Trop de messages, réessaie plus tard.")):R===409?A():(b("error"),S("Échec de l'envoi, réessaie."))}}}if(!(e!=null&&e.supportEnabled))return null;const P=m==="sending";return y.jsxs("div",{style:{position:"fixed",bottom:20,right:20,zIndex:uY,display:"flex",flexDirection:"column",alignItems:"flex-end",gap:12,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif"},children:[o&&y.jsxs("div",{ref:x,role:"dialog","aria-label":"Formulaire de contact du support",style:{width:"min(360px, calc(100vw - 32px))",maxHeight:"calc(100vh - 110px)",overflowY:"auto",backgroundColor:"#ffffff",color:"#1f2937",borderRadius:18,border:"1px solid rgba(15, 118, 110, 0.08)",boxShadow:"0 20px 48px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.08)",padding:22,boxSizing:"border-box",animation:"lystech-support-fade-in 0.2s cubic-bezier(0.16, 1, 0.3, 1)"},children:[y.jsxs("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:12,marginBottom:18},children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:11},children:[y.jsx("span",{"aria-hidden":"true",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:38,height:38,borderRadius:11,backgroundColor:"rgba(15, 118, 110, 0.1)",color:Zu,flexShrink:0},children:y.jsx(Lv,{size:22,weight:"fill"})}),y.jsxs("div",{children:[y.jsx("strong",{style:{display:"block",fontSize:16,lineHeight:1.25,color:"#111827"},children:"Contacter le support"}),y.jsx("span",{style:{display:"block",fontSize:12.5,lineHeight:1.4,color:"#6b7280",marginTop:2},children:"On te répond rapidement."})]})]}),y.jsx("button",{type:"button",onClick:A,"aria-label":"Fermer",className:"lystech-support-close",style:{background:"transparent",border:"none",cursor:"pointer",padding:6,display:"inline-flex",color:"#9ca3af",borderRadius:8,lineHeight:0,flexShrink:0,transition:"background-color 0.15s ease, color 0.15s ease"},children:y.jsx(Gu,{size:20})})]}),m==="success"?y.jsx("div",{style:{padding:"24px 8px",textAlign:"center",fontSize:15,color:"#047857",fontWeight:600},children:"✓ Message envoyé, merci !"}):y.jsxs("form",{onSubmit:M,noValidate:!0,children:[y.jsx("input",{type:"text",name:"website",value:g,onChange:I=>p(I.target.value),tabIndex:-1,"aria-hidden":"true",autoComplete:"off",style:{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0 0 0 0)",whiteSpace:"nowrap",border:0}}),r?y.jsxs("div",{style:{fontSize:12.5,color:"#6b7280",marginBottom:14,lineHeight:1.4},children:["Connecté·e en tant que"," ",y.jsx("span",{style:{color:"#374151",fontWeight:600},children:a})]}):y.jsxs(y.Fragment,{children:[y.jsxs("label",{style:Vv,children:["Nom",y.jsx("input",{type:"text",value:c,onChange:I=>u(I.target.value),required:!0,disabled:P,placeholder:"Ton nom",className:"lystech-support-field",style:Yv})]}),y.jsxs("label",{style:Vv,children:["Courriel",y.jsx("input",{type:"email",value:d,onChange:I=>f(I.target.value),required:!0,disabled:P,placeholder:"toi@exemple.com",className:"lystech-support-field",style:Yv})]})]}),y.jsxs("label",{style:Vv,children:["Message",y.jsx("textarea",{value:h,onChange:I=>v(I.target.value),required:!0,disabled:P,rows:4,placeholder:"Comment peut-on t'aider ?",className:"lystech-support-field",style:{...Yv,resize:"vertical",minHeight:96}})]}),m==="error"&&C&&y.jsx("div",{role:"alert",style:{color:"#b91c1c",fontSize:13,marginBottom:12},children:C}),y.jsx("button",{type:"submit",disabled:P,className:"lystech-support-send-btn",style:{width:"100%",padding:"12px 16px",marginTop:2,backgroundColor:Zu,color:"#ffffff",border:"none",borderRadius:11,fontSize:15,fontWeight:600,letterSpacing:.2,cursor:P?"default":"pointer",opacity:P?.7:1,boxShadow:"0 4px 12px rgba(15, 118, 110, 0.24)",transition:"background-color 0.15s ease, box-shadow 0.15s ease"},children:P?"Envoi…":"Envoyer"})]})]}),y.jsx("button",{type:"button",onClick:N,"aria-label":"Contacter le support","aria-expanded":o,className:"lystech-support-fab",style:{width:wE,height:wE,borderRadius:"50%",backgroundColor:Zu,color:"#ffffff",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 6px 16px rgba(0, 0, 0, 0.24)",transition:"background-color 0.15s ease, transform 0.15s ease"},children:y.jsx(Lv,{size:28,weight:"fill"})})]})}const Vv={display:"block",fontSize:13,fontWeight:600,color:"#374151",marginBottom:14},Yv={display:"block",width:"100%",marginTop:6,padding:"11px 13px",fontSize:14,color:"#1f2937",backgroundColor:"#f9fafb",border:"1px solid #e5e7eb",borderRadius:10,boxSizing:"border-box",fontFamily:"inherit"},mY="@lystech/core",vY="lystechcorenpmpackage:last-version",OE="3.0.73";function ME(e={}){const{packageName:t=mY,storageKey:n=vY,triggerOnFirstInstall:r=!1,onPackageUpdated:a}=e,[i,o]=O.useState(null),[s]=O.useState(OE),[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 gY=new Z3({defaultOptions:{queries:{staleTime:1e3*60*5,retry:3,refetchOnWindowFocus:!1}}}),PE=O.createContext({}),Fi=()=>O.useContext(PE);function pY({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,hideSupportButton:g,onPackageUpdated:p,triggerOnFirstInstallPackageCallback:m,packageVersionStorageKey:b}){const C=a||gY;ME({onPackageUpdated:p,triggerOnFirstInstall:!!m,storageKey:b});const S=y.jsxs(PE.Provider,{value:{debugMode:h,usePushNotifications:i,useProgressiveWebAppFeatures:o},children:[h&&y.jsxs("div",{className:"p-10",children:[y.jsx("h2",{children:"DEBUG MODE"}),y.jsxs("p",{children:["Organization: ",t]})]}),y.jsx(IV,{children:y.jsx(EV,{children:y.jsx(tP,{client:C,children:y.jsx(NV,{usePushNotifications:i,children:y.jsx(OV,{children:y.jsx(bY,{organization:t,children:y.jsx(xY,{shouldRedirectAfterLogin:n,loginRedirectRoute:r,quickGoogleLoginButtonStyle:c,enableGoogleQuickLoginButton:u,showGoogleQuickLoginButton:d,useGoogleAutoSelect:f,children:y.jsxs(Kx,{children:[e,v&&y.jsx(SE,{enableInstallAppButton:v==null?void 0:v.installApp,enablePushNotificationButton:v==null?void 0:v.pushNotifications}),!g&&y.jsx(AE,{})]})})})})})})})})]});return s?y.jsx(DV,{children:S}):S}const NE=O.createContext({});function Lr(){return O.useContext(NE)}function bY({children:e,organization:t}){const n=Of(),{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 x=new URLSearchParams(n.search),E=x.get("org");if(E){r&&console.log("OrganizationProvider: paramètre ?org= trouvé dans l'URL",E),x.delete("org");const w=`${n.pathname}${x.toString()?"?"+x.toString():""}`;window.history.replaceState({},"",w),i(E)}else{const w=localStorage.getItem("Organization");w?(r&&console.log("OrganizationProvider: organisation trouvée dans le localStorage",w),i(w)):r&&console.log("OrganizationProvider: aucune organisation trouvée")}},[t,n.search,n.pathname,r]);function o(x){r&&console.log("User logged in:",x),!a&&!t&&x!=null&&x.defaultOrganization&&i(x.defaultOrganization)}const{data:s,isLoading:c,refetch:u}=u1(a),d=yf();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(x){const E=await N3(x);return E!=null&&E.success&&u(),E==null?void 0:E.success}async function b(x){const E=await I3(x);return E!=null&&E.success&&(u(),p(w=>({...w,enabled:x}))),E==null?void 0:E.success}async function C(){await D3(),u()}async function S(x,E,w){const A=await R3(x,E,w);return f(),A}return y.jsx(NE.Provider,{value:{organization:a,organizationImage:h,organizationDetails:s??void 0,areOrganizationDetailsLoading:c,paypalInfo:g,onLoggedIn:o,updateOrganizationDetails:m,updatePaypalConfiguration:S,toggleOrganizationMode:C,updateOrganizationPaypalEnabled:b,refetchOrganizationDetails:f},children:e})}async function yY(){return await Rt.get("/users/roles")}const IE=(e,t)=>cr(["user-role-details",e,t],yY,{enabled:!!e,select:n=>n==null?void 0:n.data,onError:n=>{console.error("Error fetching user role details:",n)}}),CY={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 Wv(e){const t=await Rt.get(`users/impersonate/${e}`);return t==null?void 0:t.data}const RE=e=>cr(["impersonating-user",e],()=>Wv(e),{enabled:!!e});async function DE(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 jE(e,t){const n=await Rt.put("users/image/url",{authKey:e,imageUrl:t});return n==null?void 0:n.data}async function SY(e){const t=await Rt.post("auth/request-reset-password",{email:e});return t==null?void 0:t.data}async function wY(e){const t=await Rt.post(`auth/activate/${e}`);return t==null?void 0:t.data}async function TE(e){return await Rt.post("auth/register",{...e})}const LE=O.createContext({});function ar(){return O.useContext(LE)}function xY({children:e,shouldRedirectAfterLogin:t,loginRedirectRoute:n,quickGoogleLoginButtonStyle:r,enableGoogleQuickLoginButton:a,showGoogleQuickLoginButton:i,useGoogleAutoSelect:o=!0}){var le,$,de,se,pe,ye,we;const[s,c]=O.useState(n||null),{debugMode:u}=Fi();$g(CY);const{organization:d,onLoggedIn:f}=Lr(),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,C]=O.useState(localStorage.getItem("impersonateAuthKey")||void 0),S=O.useCallback(async ae=>{const{success:ne,url:be}=await DE(ae);return ne&&(p.photoURL=be,p.profileImage=be,m({...p}),sessionStorage.setItem("profileImage",be||"")),ne},[p,m]),x=O.useCallback(async ae=>{const{success:ne,url:be}=await jE(p==null?void 0:p.UID,ae);return ne&&(p.photoURL=be,p.profileImage=be,m({...p}),sessionStorage.setItem("profileImage",be||"")),ne},[p,m]),E=O.useCallback(ae=>{p.firstName=ae,m({...p}),sessionStorage.setItem("firstName",ae)},[p,m]),w=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=x1(),N=ZO(),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)&&C(void 0)},[M,b]);const{data:P}=RE(b||""),{data:I,isLoading:L}=IE(P?P==null?void 0:P.UID:M==null?void 0:M.UID,d),D=O.useMemo(()=>P?{...P,roleDetails:I}:{...M,roleDetails:I},[M,P,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)),P?localStorage.setItem("impersonatedUserAuthKey",P.UID):localStorage.removeItem("impersonatedUserAuthKey")},[I,P]);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,Se=()=>{},ge=()=>{},Ee=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}),Ee>0?setTimeout(()=>{oe(ke==null?void 0:ke.data),t&&s&&A(s),f&&f(ke==null?void 0:ke.data)},Ee):(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?Se(Ne):ge(Ne)}}async function k(ae,ne,be){const Se=await Rt.post("/auth/login/third-party",{providerData:ae,token:ne,tokenType:be}),ge=Se==null?void 0:Se.data;if(!ge){console.error("No user data returned from third-party login");return}return oe(ge),f&&f(ge),Se}async function H(){var ae,ne,be,Se;try{const ge=new ya;ge.setCustomParameters({prompt:"select_account"});const Ee=await Q0(N,ge);if(((ne=(ae=Ee==null?void 0:Ee.user)==null?void 0:ae.providerData)==null?void 0:ne.length)===0||!((be=Ee==null?void 0:Ee.user)!=null&&be.providerData))return;const Ne=(Se=Ee==null?void 0:Ee.user)==null?void 0:Se.providerData[0],ke=await Ee.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 Q0(N,ne),Se=(ae=be==null?void 0:be.user)==null?void 0:ae.providerData[0],ge=await be.user.getIdToken();return await k(Se,ge,"firebase")}catch(ne){console.error("Facebook login failed",ne)}}async function W(){C(void 0);try{await Rt.post("/auth/logout")}catch(ae){console.warn("Déconnexion serveur échouée",ae)}sessionStorage.clear(),localStorage.clear(),oe(null),z6(N),A("/")}async function Y(ae){const ne=aM(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 Se={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(Se,ae.credential,"google")}}const X=()=>{console.error("Google login failed")};function q(ae){I!=null&&I.isSuperAdminOrMore&&C(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]),y.jsx(JO,{clientId:"237347321732-65nra8lcs59qn6dms77ruad01vjdr7ph.apps.googleusercontent.com",children:y.jsxs(LE.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:P,currentUser:D,auth:N,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:(we=D==null?void 0:D.roleDetails)==null?void 0:we.isAdminInAnyOrganization,areRoleDetailsLoading:L,homeRoute:V,impersonateAuthKey:b,setLoginRedirectRouteState:c,registerNewUser:TE,signInWithEmailAndPassword:U,signInWithGoogle:H,signInWithFacebook:B,logout:W,requestResetPassword:SY,activateUser:wY,impersonate:q,getImpersonatingUser:Wv,updateUserImage:S,updateUserImageUrl:x,updateUserFirstName:E,updateUserLastName:w,updateNotificationState:g},children:[u&&y.jsx("div",{className:"p-10",children:y.jsxs("p",{children:["Login Redirect Route State: ",y.jsx("b",{children:s||"null"})]})}),e,_&&y.jsx("div",{className:`fixed top-10 right-10 ${te?"":"hidden"}`,style:r,children:y.jsx(tM,{onSuccess:Y,onError:X,auto_select:o,useOneTap:!0,type:"icon"})})]})})}async function EY(){return(await Rt.get("/politique-and-conditions/9716a5de-02be-4fb2-b9b5-85ad82bfae4f")).data}async function AY(){return(await Rt.get("/politique-and-conditions")).data}const zE=()=>cr({queryKey:["lystech-politique-and-conditions"],queryFn:EY}),FE=e=>cr({queryKey:["politique-and-conditions",e],queryFn:AY,enabled:!!e});async function OY(){const e=await Rt.get("collections/invitation");return(e==null?void 0:e.data)||[]}const Qu=(e,t)=>cr(["invitedToOrders",e,t],OY,{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 kE(){const e=await Rt.get("promo-codes/user");return e==null?void 0:e.data}const PY=e=>cr(["personal-promo-codes",e],kE,{enabled:!!e,refetchInterval:45*1e3,refetchOnWindowFocus:!0});async function HE(){const e=await Rt.get("images/featured");return e==null?void 0:e.data}const NY=()=>cr(["featured-images"],HE,{onError:e=>{console.error("Error fetching featured images:",e)}});async function BE(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 IY=(e,t)=>cr(["single-post",e,t],()=>BE(e));async function RY(e){const t=await Rt.get(`/shop/collection/${e}`);return t==null?void 0:t.data}async function DY(e,t){const n=await Rt.post("/shop/breakdown",{products:e,promoCodes:t});return n==null?void 0:n.data}async function jY(e){const t=await Rt.post("/shop/save",e);return t==null?void 0:t.data}const VE=(e,t,n)=>cr(["order-details-breakdown",e,t.map(r=>r.UID),t.map(r=>r.quantity),n.map(r=>r.toLowerCase())],async()=>await DY(t,n),{enabled:!!e&&t.length>0}),TY=()=>yf();async function LY(){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 YE(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 WE=({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 C=ar(),S=Qr(),[x,E]=O.useState({email:"",password:""}),[w,A]=O.useState(!1),[N,M]=O.useState(!1),P=(L,D)=>{E(R=>({...R,[L]:D}))},I=async L=>{var D,R,T;L.preventDefault(),A(!0);try{await C.signInWithEmailAndPassword(x.email,x.password,j=>{e?e(j):S.showMessage({type:"success",message:v})},j=>{t?t(j):S.showMessage({type:"warning",message:j==null?void 0:j.message})},j=>{n?n(j):S.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;S.showMessage({type:"error",message:F||g})}}finally{A(!1)}};return y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:`auth-form ${a}`,children:[i&&y.jsx("h2",{children:o}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"email",children:d}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Wu,{size:18})}),y.jsx("input",{type:"email",id:"email",value:x.email,onChange:L=>P("email",L.target.value),required:!0,placeholder:f})]})]})}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"password",children:u}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Uu,{size:18})}),y.jsx("input",{type:N?"text":"password",id:"password",value:x.password,onChange:L=>P("password",L.target.value),required:!0,placeholder:h}),y.jsx("button",{type:"button",className:"auth-field__icon auth-field__eye",onClick:()=>M(L=>!L),"aria-label":N?"Masquer le mot de passe":"Afficher le mot de passe",children:N?y.jsx(oE,{size:18}):y.jsx(iE,{size:18})})]})]})}),p&&b&&y.jsx("div",{className:"auth-form__forgot",children:y.jsx("button",{type:"button",className:"link-button",onClick:b,children:m})}),y.jsx("button",{type:"button",disabled:w||!x.email.trim()||!x.password.trim(),className:"btn btn-primary",onClick:I,children:w?c:s})]}),y.jsx("div",{className:"auth-divider",children:"ou continuer avec"}),y.jsxs("div",{className:"third-party-row",children:[y.jsxs("button",{type:"button",className:"third-party-login-button login-with-google",onClick:()=>C.signInWithGoogle(),children:[y.jsx(cE,{size:20,weight:"bold"})," Google"]}),y.jsxs("button",{type:"button",className:"third-party-login-button login-with-facebook",onClick:()=>C.signInWithFacebook(),children:[y.jsx(sE,{size:20,weight:"fill"})," Facebook"]})]})]})},UE=({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:C="••••••••••••",createAccountButtonText:S="Créer le compte",creatingAccountButtonText:x="Création en cours...",accountCreatedMessage:E="Compte créé avec succès !",accountAlreadyExistsMessage:w="Un compte avec cet email existe déjà.",errorMessage:A="Une erreur est survenue lors de la création du compte.",passwordNotMatchMessage:N="Les mots de passe ne correspondent pas.",politiqueAndConditionsConsentTexte:M="En créant un compte, j'accepte les termes et conditions.",seePolitiqueAndConditions:P="Voir les termes et conditions",politiqueAndConditionsRoute:I="/conditions"})=>{const L=ar(),D=Qr(),[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:N}),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:E})):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 y.jsxs("form",{onSubmit:V,className:`auth-form ${r}`,children:[a&&y.jsx("h2",{children:i}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"firstName",children:s}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Hv,{size:18})}),y.jsx("input",{type:"text",id:"firstName",value:R.firstName,onChange:U=>F("firstName",U.target.value),placeholder:c,required:!0})]})]})}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"lastName",children:u}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Hv,{size:18})}),y.jsx("input",{type:"text",id:"lastName",value:R.lastName,onChange:U=>F("lastName",U.target.value),required:!0,placeholder:d})]})]})}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"email",children:f}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Wu,{size:18})}),y.jsx("input",{type:"email",id:"email",value:R.email,onChange:U=>F("email",U.target.value),required:!0,placeholder:h})]})]})}),o&&y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"birthday",children:v}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx($x,{size:18})}),y.jsx("input",{type:"date",id:"birthday",value:R.birthday,onChange:U=>F("birthday",U.target.value)})]})]})}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"password",children:p}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Uu,{size:18})}),y.jsx("input",{type:"password",id:"password",value:R.password,onChange:U=>F("password",U.target.value),required:!0,placeholder:m})]})]})}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"confirmPassword",children:b}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Uu,{size:18})}),y.jsx("input",{type:"password",id:"confirmPassword",value:R.confirmPassword,onChange:U=>F("confirmPassword",U.target.value),required:!0,placeholder:C})]})]})}),y.jsx("div",{className:"form-row",children:y.jsx("div",{className:"form-group",style:{fontSize:"0.95em",color:"#555"},children:y.jsxs("span",{children:[M," ",y.jsx("a",{href:I,target:"_blank",rel:"noopener noreferrer",style:{color:"var(--auth-accent)",textDecoration:"underline"},children:P})]})})}),y.jsx("button",{type:"submit",disabled:j,className:"btn btn-primary",children:j?x:S})]})},GE=({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=ar(),g=Qr(),[p,m]=O.useState(""),[b,C]=O.useState(""),[S,x]=O.useState(!1),E=async A=>{A.preventDefault(),x(!0);try{const N=await v.requestResetPassword(p);C(p),e?e(p):g.showMessage({type:"success",message:f})}catch(N){const M=N instanceof Error?N:new Error("Erreur inconnue");t?t(M):g.showMessage({type:"error",message:`${h}`})}finally{x(!1)}},w=S||p===b||!p.trim();return y.jsxs("form",{onSubmit:E,className:`auth-form ${n}`,children:[r&&y.jsx("h2",{children:a}),i&&y.jsx("p",{className:"form-description",children:o}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"email",children:s}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Wu,{size:18})}),y.jsx("input",{type:"email",id:"email",value:p,onChange:A=>m(A.target.value),required:!0,placeholder:d})]})]})}),y.jsx("button",{type:"submit",disabled:w,className:"btn btn-primary",children:S?u:c})]})},KE=({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 C,S,x;const p=ar(),m=Qr(),b=async()=>{try{await p.logout(),e?e():m.showMessage({type:"success",message:s})}catch(E){console.error("Erreur lors de la déconnexion:",E),m.showMessage({type:"error",message:c})}};return p.isLoggedIn?y.jsxs("div",{className:`user-profile ${n}`,children:[y.jsx("div",{className:"profile-icon",children:"👤"}),r&&y.jsx("h2",{children:a}),y.jsxs("div",{className:"user-info",children:[y.jsxs("div",{className:"info-item",children:[y.jsxs("span",{className:"label",children:[h,":"]}),y.jsx("span",{className:"value",children:((C=p.currentUser)==null?void 0:C.email)||"N/A"})]}),y.jsxs("div",{className:"info-item",children:[y.jsxs("span",{className:"label",children:[v,":"]}),y.jsx("span",{className:"value",children:((S=p.currentUser)==null?void 0:S.displayName)||"N/A"})]}),y.jsxs("div",{className:"info-item",children:[y.jsxs("span",{className:"label",children:[g,":"]}),y.jsx("span",{className:"value",children:((x=p.currentUser)==null?void 0:x.id)||"N/A"})]})]}),y.jsxs("div",{className:"profile-actions",children:[y.jsx("button",{onClick:b,className:"btn btn-logout",children:f}),i&&t&&y.jsx("button",{onClick:t,className:"btn btn-secondary",children:o})]})]}):y.jsxs("div",{className:`user-profile ${n}`,children:[y.jsx("div",{className:"profile-icon",children:"🔒"}),y.jsx("h2",{children:u}),y.jsx("p",{children:d})]})};function ZE(){const{organization:e}=Lr(),{data:t,isLoading:n}=zE(),{data:r,isLoading:a}=FE(e),i=O.useMemo(()=>n||a?[]:e!=="lystech"?[...r||[],...t||[]]:r||[],[t,r,n,a,e]);return y.jsx("div",{className:"flex col gap-10",style:{padding:"20px",textAlign:"left"},children:i&&i.map(o=>y.jsxs("div",{className:"p-4 border rounded bg-white",children:[y.jsx("div",{dangerouslySetInnerHTML:{__html:o.content}}),y.jsx("div",{className:"text-xs text-gray-500 mt-2",children:o.updatedOn?`Updated: ${new Date(o.updatedOn).toLocaleString()}`:""})]},o.id))})}function zY(){const{showMessage:e}=Qr(),{activateUser:t}=ar(),{token:n}=NP(),[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]),y.jsx("div",{className:"account-activation auth-theme-container",children:y.jsx("div",{className:"auth-theme-content",children:y.jsx("div",{className:`auth-message ${(c==null?void 0:c.type)||""}`.trim(),children:c==null?void 0:c.content})})})}const FY=({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:C="Réinitialiser le mot de passe",loginFormProps:S={},registerFormProps:x={},forgotPasswordFormProps:E={},politiqueAndConditionsConsentTexte:w="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:N="/conditions"})=>{const M=ar(),P=Of(),[I,L]=O.useState(c),D=!!N&&(P==null?void 0:P.pathname)===N,R=()=>{e==null||e()},T=()=>{L("login")},j=()=>{L("login")},z=()=>{};return D?y.jsx(ZE,{}):M.isLoggedIn?y.jsx("div",{className:`auth-template connected ${r}`,style:{...n,...a?{maxWidth:"400px",margin:"0 auto",padding:"20px"}:{}},children:y.jsxs("div",{className:"auth-container",children:[i&&y.jsxs("div",{className:"auth-header",children:[o&&y.jsx("img",{src:o,alt:s,className:"auth-logo"}),y.jsx("h1",{children:s})]}),y.jsx(KE,{onLogout:z,onClose:t,showCloseButton:!!t})]})}):y.jsx("div",{className:`auth-template ${r}`,style:{...n,...a?{maxWidth:"400px",margin:"0 auto",padding:"20px"}:{}},children:y.jsxs("div",{className:"auth-container",children:[i&&y.jsxs("div",{className:"auth-header",children:[o&&y.jsx("img",{src:o,alt:s,className:"auth-logo"}),y.jsx("h1",{children:s})]}),f&&y.jsx("div",{className:"auth-title",children:y.jsx("h2",{children:h})}),y.jsxs("div",{className:"auth-tabs",children:[v&&y.jsx("button",{className:`tab ${I==="login"?"active":""}`,onClick:()=>L("login"),children:m}),g&&y.jsx("button",{className:`tab ${I==="register"?"active":""}`,onClick:()=>L("register"),children:b})]}),y.jsxs("div",{className:"auth-content",children:[I==="login"&&v&&y.jsx("div",{children:y.jsx(WE,{onSuccess:R,loginButtonText:"Se connecter",className:"auth-login-form",showTitle:!1,showForgotPassword:p,forgotPasswordText:C,onForgotPassword:()=>L("forgot-password"),...S})}),I==="register"&&g&&y.jsx(UE,{onSuccess:T,politiqueAndConditionsConsentTexte:w,seePolitiqueAndConditions:A,politiqueAndConditionsRoute:N,...x}),I==="forgot-password"&&p&&y.jsxs("div",{children:[y.jsx(GE,{onSuccess:j,...E}),y.jsx("div",{className:"auth-links",children:y.jsxs("button",{type:"button",onClick:()=>L("login"),className:"link-button",children:["← ",d]})})]}),I==="activation"&&y.jsx(zY,{})]}),t&&y.jsx("div",{className:"auth-footer",children:y.jsx("button",{onClick:t,className:"btn btn-secondary",children:u})})]})})};function Xu(){const{organizationDetails:e}=Lr();return y.jsxs("div",{style:{width:"100%",minHeight:"400px",display:"flex",justifyContent:"center",alignItems:"center",fontSize:18,color:"#888"},children:[y.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"}}),y.jsx("style",{children:`
1718
+ }`;function hY(){O.useEffect(()=>{if(typeof document>"u"||document.getElementById(EE))return;const e=document.createElement("style");e.id=EE,e.appendChild(document.createTextNode(fY)),document.head.appendChild(e)},[])}function AE(){const{organizationDetails:e}=Lr(),{isLoggedIn:t,currentUser:n}=ar();hY();const r=!!(t&&(n!=null&&n.email)),a=(n==null?void 0:n.email)??"",i=`${(n==null?void 0:n.firstName)??""} ${(n==null?void 0:n.lastName)??""}`.trim()||a,[o,s]=O.useState(!1),[c,u]=O.useState(""),[d,f]=O.useState(""),[h,v]=O.useState(""),[g,p]=O.useState(""),[m,b]=O.useState("idle"),[C,S]=O.useState(""),x=O.useRef(null),E=O.useRef(null);O.useEffect(()=>{if(!o)return;const I=L=>{L.key==="Escape"&&s(!1)};return window.addEventListener("keydown",I),()=>window.removeEventListener("keydown",I)},[o]),O.useEffect(()=>()=>{E.current&&clearTimeout(E.current)},[]);function w(){u(""),f(""),v(""),p(""),b("idle"),S("")}function A(){s(!1),E.current&&(clearTimeout(E.current),E.current=null),setTimeout(w,250)}function N(){o?A():(w(),s(!0))}async function M(I){var L;if(I.preventDefault(),m!=="sending"){b("sending"),S("");try{await Rt.post("/support/submit",{name:r?i:c,email:r?a:d,message:h,website:g}),b("success"),E.current&&clearTimeout(E.current),E.current=setTimeout(()=>{A()},2500)}catch(D){const R=(L=D==null?void 0:D.response)==null?void 0:L.status;R===429?(b("error"),S("Trop de messages, réessaie plus tard.")):R===409?A():(b("error"),S("Échec de l'envoi, réessaie."))}}}if(!(e!=null&&e.supportEnabled))return null;const P=m==="sending";return y.jsxs("div",{style:{position:"fixed",bottom:20,right:20,zIndex:uY,pointerEvents:"none",display:"flex",flexDirection:"column",alignItems:"flex-end",gap:12,fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif"},children:[o&&y.jsxs("div",{ref:x,role:"dialog","aria-label":"Formulaire de contact du support",style:{pointerEvents:"auto",width:"min(360px, calc(100vw - 32px))",maxHeight:"calc(100vh - 110px)",overflowY:"auto",backgroundColor:"#ffffff",color:"#1f2937",borderRadius:18,border:"1px solid rgba(15, 118, 110, 0.08)",boxShadow:"0 20px 48px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(15, 23, 42, 0.08)",padding:22,boxSizing:"border-box",animation:"lystech-support-fade-in 0.2s cubic-bezier(0.16, 1, 0.3, 1)"},children:[y.jsxs("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:12,marginBottom:18},children:[y.jsxs("div",{style:{display:"flex",alignItems:"center",gap:11},children:[y.jsx("span",{"aria-hidden":"true",style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:38,height:38,borderRadius:11,backgroundColor:"rgba(15, 118, 110, 0.1)",color:Zu,flexShrink:0},children:y.jsx(Lv,{size:22,weight:"fill"})}),y.jsxs("div",{children:[y.jsx("strong",{style:{display:"block",fontSize:16,lineHeight:1.25,color:"#111827"},children:"Contacter le support"}),y.jsx("span",{style:{display:"block",fontSize:12.5,lineHeight:1.4,color:"#6b7280",marginTop:2},children:"On te répond rapidement."})]})]}),y.jsx("button",{type:"button",onClick:A,"aria-label":"Fermer",className:"lystech-support-close",style:{background:"transparent",border:"none",cursor:"pointer",padding:6,display:"inline-flex",color:"#9ca3af",borderRadius:8,lineHeight:0,flexShrink:0,transition:"background-color 0.15s ease, color 0.15s ease"},children:y.jsx(Gu,{size:20})})]}),m==="success"?y.jsx("div",{style:{padding:"24px 8px",textAlign:"center",fontSize:15,color:"#047857",fontWeight:600},children:"✓ Message envoyé, merci !"}):y.jsxs("form",{onSubmit:M,noValidate:!0,children:[y.jsx("input",{type:"text",name:"website",value:g,onChange:I=>p(I.target.value),tabIndex:-1,"aria-hidden":"true",autoComplete:"off",style:{position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0 0 0 0)",whiteSpace:"nowrap",border:0}}),r?y.jsxs("div",{style:{fontSize:12.5,color:"#6b7280",marginBottom:14,lineHeight:1.4},children:["Connecté·e en tant que"," ",y.jsx("span",{style:{color:"#374151",fontWeight:600},children:a})]}):y.jsxs(y.Fragment,{children:[y.jsxs("label",{style:Vv,children:["Nom",y.jsx("input",{type:"text",value:c,onChange:I=>u(I.target.value),required:!0,disabled:P,placeholder:"Ton nom",className:"lystech-support-field",style:Yv})]}),y.jsxs("label",{style:Vv,children:["Courriel",y.jsx("input",{type:"email",value:d,onChange:I=>f(I.target.value),required:!0,disabled:P,placeholder:"toi@exemple.com",className:"lystech-support-field",style:Yv})]})]}),y.jsxs("label",{style:Vv,children:["Message",y.jsx("textarea",{value:h,onChange:I=>v(I.target.value),required:!0,disabled:P,rows:4,placeholder:"Comment peut-on t'aider ?",className:"lystech-support-field",style:{...Yv,resize:"vertical",minHeight:96}})]}),m==="error"&&C&&y.jsx("div",{role:"alert",style:{color:"#b91c1c",fontSize:13,marginBottom:12},children:C}),y.jsx("button",{type:"submit",disabled:P,className:"lystech-support-send-btn",style:{width:"100%",padding:"12px 16px",marginTop:2,backgroundColor:Zu,color:"#ffffff",border:"none",borderRadius:11,fontSize:15,fontWeight:600,letterSpacing:.2,cursor:P?"default":"pointer",opacity:P?.7:1,boxShadow:"0 4px 12px rgba(15, 118, 110, 0.24)",transition:"background-color 0.15s ease, box-shadow 0.15s ease"},children:P?"Envoi…":"Envoyer"})]})]}),y.jsx("button",{type:"button",onClick:N,"aria-label":"Contacter le support","aria-expanded":o,className:"lystech-support-fab",style:{pointerEvents:"auto",width:wE,height:wE,borderRadius:"50%",backgroundColor:Zu,color:"#ffffff",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 6px 16px rgba(0, 0, 0, 0.24)",transition:"background-color 0.15s ease, transform 0.15s ease"},children:y.jsx(Lv,{size:28,weight:"fill"})})]})}const Vv={display:"block",fontSize:13,fontWeight:600,color:"#374151",marginBottom:14},Yv={display:"block",width:"100%",marginTop:6,padding:"11px 13px",fontSize:14,color:"#1f2937",backgroundColor:"#f9fafb",border:"1px solid #e5e7eb",borderRadius:10,boxSizing:"border-box",fontFamily:"inherit"},mY="@lystech/core",vY="lystechcorenpmpackage:last-version",OE="3.0.74";function ME(e={}){const{packageName:t=mY,storageKey:n=vY,triggerOnFirstInstall:r=!1,onPackageUpdated:a}=e,[i,o]=O.useState(null),[s]=O.useState(OE),[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 gY=new Z3({defaultOptions:{queries:{staleTime:1e3*60*5,retry:3,refetchOnWindowFocus:!1}}}),PE=O.createContext({}),Fi=()=>O.useContext(PE);function pY({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,hideSupportButton:g,onPackageUpdated:p,triggerOnFirstInstallPackageCallback:m,packageVersionStorageKey:b}){const C=a||gY;ME({onPackageUpdated:p,triggerOnFirstInstall:!!m,storageKey:b});const S=y.jsxs(PE.Provider,{value:{debugMode:h,usePushNotifications:i,useProgressiveWebAppFeatures:o},children:[h&&y.jsxs("div",{className:"p-10",children:[y.jsx("h2",{children:"DEBUG MODE"}),y.jsxs("p",{children:["Organization: ",t]})]}),y.jsx(IV,{children:y.jsx(EV,{children:y.jsx(tP,{client:C,children:y.jsx(NV,{usePushNotifications:i,children:y.jsx(OV,{children:y.jsx(bY,{organization:t,children:y.jsx(xY,{shouldRedirectAfterLogin:n,loginRedirectRoute:r,quickGoogleLoginButtonStyle:c,enableGoogleQuickLoginButton:u,showGoogleQuickLoginButton:d,useGoogleAutoSelect:f,children:y.jsxs(Kx,{children:[e,v&&y.jsx(SE,{enableInstallAppButton:v==null?void 0:v.installApp,enablePushNotificationButton:v==null?void 0:v.pushNotifications}),!g&&y.jsx(AE,{})]})})})})})})})})]});return s?y.jsx(DV,{children:S}):S}const NE=O.createContext({});function Lr(){return O.useContext(NE)}function bY({children:e,organization:t}){const n=Of(),{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 x=new URLSearchParams(n.search),E=x.get("org");if(E){r&&console.log("OrganizationProvider: paramètre ?org= trouvé dans l'URL",E),x.delete("org");const w=`${n.pathname}${x.toString()?"?"+x.toString():""}`;window.history.replaceState({},"",w),i(E)}else{const w=localStorage.getItem("Organization");w?(r&&console.log("OrganizationProvider: organisation trouvée dans le localStorage",w),i(w)):r&&console.log("OrganizationProvider: aucune organisation trouvée")}},[t,n.search,n.pathname,r]);function o(x){r&&console.log("User logged in:",x),!a&&!t&&x!=null&&x.defaultOrganization&&i(x.defaultOrganization)}const{data:s,isLoading:c,refetch:u}=u1(a),d=yf();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(x){const E=await N3(x);return E!=null&&E.success&&u(),E==null?void 0:E.success}async function b(x){const E=await I3(x);return E!=null&&E.success&&(u(),p(w=>({...w,enabled:x}))),E==null?void 0:E.success}async function C(){await D3(),u()}async function S(x,E,w){const A=await R3(x,E,w);return f(),A}return y.jsx(NE.Provider,{value:{organization:a,organizationImage:h,organizationDetails:s??void 0,areOrganizationDetailsLoading:c,paypalInfo:g,onLoggedIn:o,updateOrganizationDetails:m,updatePaypalConfiguration:S,toggleOrganizationMode:C,updateOrganizationPaypalEnabled:b,refetchOrganizationDetails:f},children:e})}async function yY(){return await Rt.get("/users/roles")}const IE=(e,t)=>cr(["user-role-details",e,t],yY,{enabled:!!e,select:n=>n==null?void 0:n.data,onError:n=>{console.error("Error fetching user role details:",n)}}),CY={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 Wv(e){const t=await Rt.get(`users/impersonate/${e}`);return t==null?void 0:t.data}const RE=e=>cr(["impersonating-user",e],()=>Wv(e),{enabled:!!e});async function DE(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 jE(e,t){const n=await Rt.put("users/image/url",{authKey:e,imageUrl:t});return n==null?void 0:n.data}async function SY(e){const t=await Rt.post("auth/request-reset-password",{email:e});return t==null?void 0:t.data}async function wY(e){const t=await Rt.post(`auth/activate/${e}`);return t==null?void 0:t.data}async function TE(e){return await Rt.post("auth/register",{...e})}const LE=O.createContext({});function ar(){return O.useContext(LE)}function xY({children:e,shouldRedirectAfterLogin:t,loginRedirectRoute:n,quickGoogleLoginButtonStyle:r,enableGoogleQuickLoginButton:a,showGoogleQuickLoginButton:i,useGoogleAutoSelect:o=!0}){var le,$,de,se,pe,ye,we;const[s,c]=O.useState(n||null),{debugMode:u}=Fi();$g(CY);const{organization:d,onLoggedIn:f}=Lr(),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,C]=O.useState(localStorage.getItem("impersonateAuthKey")||void 0),S=O.useCallback(async ae=>{const{success:ne,url:be}=await DE(ae);return ne&&(p.photoURL=be,p.profileImage=be,m({...p}),sessionStorage.setItem("profileImage",be||"")),ne},[p,m]),x=O.useCallback(async ae=>{const{success:ne,url:be}=await jE(p==null?void 0:p.UID,ae);return ne&&(p.photoURL=be,p.profileImage=be,m({...p}),sessionStorage.setItem("profileImage",be||"")),ne},[p,m]),E=O.useCallback(ae=>{p.firstName=ae,m({...p}),sessionStorage.setItem("firstName",ae)},[p,m]),w=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=x1(),N=ZO(),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)&&C(void 0)},[M,b]);const{data:P}=RE(b||""),{data:I,isLoading:L}=IE(P?P==null?void 0:P.UID:M==null?void 0:M.UID,d),D=O.useMemo(()=>P?{...P,roleDetails:I}:{...M,roleDetails:I},[M,P,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)),P?localStorage.setItem("impersonatedUserAuthKey",P.UID):localStorage.removeItem("impersonatedUserAuthKey")},[I,P]);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,Se=()=>{},ge=()=>{},Ee=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}),Ee>0?setTimeout(()=>{oe(ke==null?void 0:ke.data),t&&s&&A(s),f&&f(ke==null?void 0:ke.data)},Ee):(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?Se(Ne):ge(Ne)}}async function k(ae,ne,be){const Se=await Rt.post("/auth/login/third-party",{providerData:ae,token:ne,tokenType:be}),ge=Se==null?void 0:Se.data;if(!ge){console.error("No user data returned from third-party login");return}return oe(ge),f&&f(ge),Se}async function H(){var ae,ne,be,Se;try{const ge=new ya;ge.setCustomParameters({prompt:"select_account"});const Ee=await Q0(N,ge);if(((ne=(ae=Ee==null?void 0:Ee.user)==null?void 0:ae.providerData)==null?void 0:ne.length)===0||!((be=Ee==null?void 0:Ee.user)!=null&&be.providerData))return;const Ne=(Se=Ee==null?void 0:Ee.user)==null?void 0:Se.providerData[0],ke=await Ee.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 Q0(N,ne),Se=(ae=be==null?void 0:be.user)==null?void 0:ae.providerData[0],ge=await be.user.getIdToken();return await k(Se,ge,"firebase")}catch(ne){console.error("Facebook login failed",ne)}}async function W(){C(void 0);try{await Rt.post("/auth/logout")}catch(ae){console.warn("Déconnexion serveur échouée",ae)}sessionStorage.clear(),localStorage.clear(),oe(null),z6(N),A("/")}async function Y(ae){const ne=aM(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 Se={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(Se,ae.credential,"google")}}const X=()=>{console.error("Google login failed")};function q(ae){I!=null&&I.isSuperAdminOrMore&&C(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]),y.jsx(JO,{clientId:"237347321732-65nra8lcs59qn6dms77ruad01vjdr7ph.apps.googleusercontent.com",children:y.jsxs(LE.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:P,currentUser:D,auth:N,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:(we=D==null?void 0:D.roleDetails)==null?void 0:we.isAdminInAnyOrganization,areRoleDetailsLoading:L,homeRoute:V,impersonateAuthKey:b,setLoginRedirectRouteState:c,registerNewUser:TE,signInWithEmailAndPassword:U,signInWithGoogle:H,signInWithFacebook:B,logout:W,requestResetPassword:SY,activateUser:wY,impersonate:q,getImpersonatingUser:Wv,updateUserImage:S,updateUserImageUrl:x,updateUserFirstName:E,updateUserLastName:w,updateNotificationState:g},children:[u&&y.jsx("div",{className:"p-10",children:y.jsxs("p",{children:["Login Redirect Route State: ",y.jsx("b",{children:s||"null"})]})}),e,_&&y.jsx("div",{className:`fixed top-10 right-10 ${te?"":"hidden"}`,style:r,children:y.jsx(tM,{onSuccess:Y,onError:X,auto_select:o,useOneTap:!0,type:"icon"})})]})})}async function EY(){return(await Rt.get("/politique-and-conditions/9716a5de-02be-4fb2-b9b5-85ad82bfae4f")).data}async function AY(){return(await Rt.get("/politique-and-conditions")).data}const zE=()=>cr({queryKey:["lystech-politique-and-conditions"],queryFn:EY}),FE=e=>cr({queryKey:["politique-and-conditions",e],queryFn:AY,enabled:!!e});async function OY(){const e=await Rt.get("collections/invitation");return(e==null?void 0:e.data)||[]}const Qu=(e,t)=>cr(["invitedToOrders",e,t],OY,{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 kE(){const e=await Rt.get("promo-codes/user");return e==null?void 0:e.data}const PY=e=>cr(["personal-promo-codes",e],kE,{enabled:!!e,refetchInterval:45*1e3,refetchOnWindowFocus:!0});async function HE(){const e=await Rt.get("images/featured");return e==null?void 0:e.data}const NY=()=>cr(["featured-images"],HE,{onError:e=>{console.error("Error fetching featured images:",e)}});async function BE(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 IY=(e,t)=>cr(["single-post",e,t],()=>BE(e));async function RY(e){const t=await Rt.get(`/shop/collection/${e}`);return t==null?void 0:t.data}async function DY(e,t){const n=await Rt.post("/shop/breakdown",{products:e,promoCodes:t});return n==null?void 0:n.data}async function jY(e){const t=await Rt.post("/shop/save",e);return t==null?void 0:t.data}const VE=(e,t,n)=>cr(["order-details-breakdown",e,t.map(r=>r.UID),t.map(r=>r.quantity),n.map(r=>r.toLowerCase())],async()=>await DY(t,n),{enabled:!!e&&t.length>0}),TY=()=>yf();async function LY(){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 YE(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 WE=({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 C=ar(),S=Qr(),[x,E]=O.useState({email:"",password:""}),[w,A]=O.useState(!1),[N,M]=O.useState(!1),P=(L,D)=>{E(R=>({...R,[L]:D}))},I=async L=>{var D,R,T;L.preventDefault(),A(!0);try{await C.signInWithEmailAndPassword(x.email,x.password,j=>{e?e(j):S.showMessage({type:"success",message:v})},j=>{t?t(j):S.showMessage({type:"warning",message:j==null?void 0:j.message})},j=>{n?n(j):S.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;S.showMessage({type:"error",message:F||g})}}finally{A(!1)}};return y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:`auth-form ${a}`,children:[i&&y.jsx("h2",{children:o}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"email",children:d}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Wu,{size:18})}),y.jsx("input",{type:"email",id:"email",value:x.email,onChange:L=>P("email",L.target.value),required:!0,placeholder:f})]})]})}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"password",children:u}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Uu,{size:18})}),y.jsx("input",{type:N?"text":"password",id:"password",value:x.password,onChange:L=>P("password",L.target.value),required:!0,placeholder:h}),y.jsx("button",{type:"button",className:"auth-field__icon auth-field__eye",onClick:()=>M(L=>!L),"aria-label":N?"Masquer le mot de passe":"Afficher le mot de passe",children:N?y.jsx(oE,{size:18}):y.jsx(iE,{size:18})})]})]})}),p&&b&&y.jsx("div",{className:"auth-form__forgot",children:y.jsx("button",{type:"button",className:"link-button",onClick:b,children:m})}),y.jsx("button",{type:"button",disabled:w||!x.email.trim()||!x.password.trim(),className:"btn btn-primary",onClick:I,children:w?c:s})]}),y.jsx("div",{className:"auth-divider",children:"ou continuer avec"}),y.jsxs("div",{className:"third-party-row",children:[y.jsxs("button",{type:"button",className:"third-party-login-button login-with-google",onClick:()=>C.signInWithGoogle(),children:[y.jsx(cE,{size:20,weight:"bold"})," Google"]}),y.jsxs("button",{type:"button",className:"third-party-login-button login-with-facebook",onClick:()=>C.signInWithFacebook(),children:[y.jsx(sE,{size:20,weight:"fill"})," Facebook"]})]})]})},UE=({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:C="••••••••••••",createAccountButtonText:S="Créer le compte",creatingAccountButtonText:x="Création en cours...",accountCreatedMessage:E="Compte créé avec succès !",accountAlreadyExistsMessage:w="Un compte avec cet email existe déjà.",errorMessage:A="Une erreur est survenue lors de la création du compte.",passwordNotMatchMessage:N="Les mots de passe ne correspondent pas.",politiqueAndConditionsConsentTexte:M="En créant un compte, j'accepte les termes et conditions.",seePolitiqueAndConditions:P="Voir les termes et conditions",politiqueAndConditionsRoute:I="/conditions"})=>{const L=ar(),D=Qr(),[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:N}),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:E})):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 y.jsxs("form",{onSubmit:V,className:`auth-form ${r}`,children:[a&&y.jsx("h2",{children:i}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"firstName",children:s}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Hv,{size:18})}),y.jsx("input",{type:"text",id:"firstName",value:R.firstName,onChange:U=>F("firstName",U.target.value),placeholder:c,required:!0})]})]})}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"lastName",children:u}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Hv,{size:18})}),y.jsx("input",{type:"text",id:"lastName",value:R.lastName,onChange:U=>F("lastName",U.target.value),required:!0,placeholder:d})]})]})}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"email",children:f}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Wu,{size:18})}),y.jsx("input",{type:"email",id:"email",value:R.email,onChange:U=>F("email",U.target.value),required:!0,placeholder:h})]})]})}),o&&y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"birthday",children:v}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx($x,{size:18})}),y.jsx("input",{type:"date",id:"birthday",value:R.birthday,onChange:U=>F("birthday",U.target.value)})]})]})}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"password",children:p}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Uu,{size:18})}),y.jsx("input",{type:"password",id:"password",value:R.password,onChange:U=>F("password",U.target.value),required:!0,placeholder:m})]})]})}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"confirmPassword",children:b}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Uu,{size:18})}),y.jsx("input",{type:"password",id:"confirmPassword",value:R.confirmPassword,onChange:U=>F("confirmPassword",U.target.value),required:!0,placeholder:C})]})]})}),y.jsx("div",{className:"form-row",children:y.jsx("div",{className:"form-group",style:{fontSize:"0.95em",color:"#555"},children:y.jsxs("span",{children:[M," ",y.jsx("a",{href:I,target:"_blank",rel:"noopener noreferrer",style:{color:"var(--auth-accent)",textDecoration:"underline"},children:P})]})})}),y.jsx("button",{type:"submit",disabled:j,className:"btn btn-primary",children:j?x:S})]})},GE=({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=ar(),g=Qr(),[p,m]=O.useState(""),[b,C]=O.useState(""),[S,x]=O.useState(!1),E=async A=>{A.preventDefault(),x(!0);try{const N=await v.requestResetPassword(p);C(p),e?e(p):g.showMessage({type:"success",message:f})}catch(N){const M=N instanceof Error?N:new Error("Erreur inconnue");t?t(M):g.showMessage({type:"error",message:`${h}`})}finally{x(!1)}},w=S||p===b||!p.trim();return y.jsxs("form",{onSubmit:E,className:`auth-form ${n}`,children:[r&&y.jsx("h2",{children:a}),i&&y.jsx("p",{className:"form-description",children:o}),y.jsx("div",{className:"form-row",children:y.jsxs("div",{className:"form-group",children:[y.jsx("label",{htmlFor:"email",children:s}),y.jsxs("div",{className:"auth-field",children:[y.jsx("span",{className:"auth-field__icon",children:y.jsx(Wu,{size:18})}),y.jsx("input",{type:"email",id:"email",value:p,onChange:A=>m(A.target.value),required:!0,placeholder:d})]})]})}),y.jsx("button",{type:"submit",disabled:w,className:"btn btn-primary",children:S?u:c})]})},KE=({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 C,S,x;const p=ar(),m=Qr(),b=async()=>{try{await p.logout(),e?e():m.showMessage({type:"success",message:s})}catch(E){console.error("Erreur lors de la déconnexion:",E),m.showMessage({type:"error",message:c})}};return p.isLoggedIn?y.jsxs("div",{className:`user-profile ${n}`,children:[y.jsx("div",{className:"profile-icon",children:"👤"}),r&&y.jsx("h2",{children:a}),y.jsxs("div",{className:"user-info",children:[y.jsxs("div",{className:"info-item",children:[y.jsxs("span",{className:"label",children:[h,":"]}),y.jsx("span",{className:"value",children:((C=p.currentUser)==null?void 0:C.email)||"N/A"})]}),y.jsxs("div",{className:"info-item",children:[y.jsxs("span",{className:"label",children:[v,":"]}),y.jsx("span",{className:"value",children:((S=p.currentUser)==null?void 0:S.displayName)||"N/A"})]}),y.jsxs("div",{className:"info-item",children:[y.jsxs("span",{className:"label",children:[g,":"]}),y.jsx("span",{className:"value",children:((x=p.currentUser)==null?void 0:x.id)||"N/A"})]})]}),y.jsxs("div",{className:"profile-actions",children:[y.jsx("button",{onClick:b,className:"btn btn-logout",children:f}),i&&t&&y.jsx("button",{onClick:t,className:"btn btn-secondary",children:o})]})]}):y.jsxs("div",{className:`user-profile ${n}`,children:[y.jsx("div",{className:"profile-icon",children:"🔒"}),y.jsx("h2",{children:u}),y.jsx("p",{children:d})]})};function ZE(){const{organization:e}=Lr(),{data:t,isLoading:n}=zE(),{data:r,isLoading:a}=FE(e),i=O.useMemo(()=>n||a?[]:e!=="lystech"?[...r||[],...t||[]]:r||[],[t,r,n,a,e]);return y.jsx("div",{className:"flex col gap-10",style:{padding:"20px",textAlign:"left"},children:i&&i.map(o=>y.jsxs("div",{className:"p-4 border rounded bg-white",children:[y.jsx("div",{dangerouslySetInnerHTML:{__html:o.content}}),y.jsx("div",{className:"text-xs text-gray-500 mt-2",children:o.updatedOn?`Updated: ${new Date(o.updatedOn).toLocaleString()}`:""})]},o.id))})}function zY(){const{showMessage:e}=Qr(),{activateUser:t}=ar(),{token:n}=NP(),[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]),y.jsx("div",{className:"account-activation auth-theme-container",children:y.jsx("div",{className:"auth-theme-content",children:y.jsx("div",{className:`auth-message ${(c==null?void 0:c.type)||""}`.trim(),children:c==null?void 0:c.content})})})}const FY=({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:C="Réinitialiser le mot de passe",loginFormProps:S={},registerFormProps:x={},forgotPasswordFormProps:E={},politiqueAndConditionsConsentTexte:w="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:N="/conditions"})=>{const M=ar(),P=Of(),[I,L]=O.useState(c),D=!!N&&(P==null?void 0:P.pathname)===N,R=()=>{e==null||e()},T=()=>{L("login")},j=()=>{L("login")},z=()=>{};return D?y.jsx(ZE,{}):M.isLoggedIn?y.jsx("div",{className:`auth-template connected ${r}`,style:{...n,...a?{maxWidth:"400px",margin:"0 auto",padding:"20px"}:{}},children:y.jsxs("div",{className:"auth-container",children:[i&&y.jsxs("div",{className:"auth-header",children:[o&&y.jsx("img",{src:o,alt:s,className:"auth-logo"}),y.jsx("h1",{children:s})]}),y.jsx(KE,{onLogout:z,onClose:t,showCloseButton:!!t})]})}):y.jsx("div",{className:`auth-template ${r}`,style:{...n,...a?{maxWidth:"400px",margin:"0 auto",padding:"20px"}:{}},children:y.jsxs("div",{className:"auth-container",children:[i&&y.jsxs("div",{className:"auth-header",children:[o&&y.jsx("img",{src:o,alt:s,className:"auth-logo"}),y.jsx("h1",{children:s})]}),f&&y.jsx("div",{className:"auth-title",children:y.jsx("h2",{children:h})}),y.jsxs("div",{className:"auth-tabs",children:[v&&y.jsx("button",{className:`tab ${I==="login"?"active":""}`,onClick:()=>L("login"),children:m}),g&&y.jsx("button",{className:`tab ${I==="register"?"active":""}`,onClick:()=>L("register"),children:b})]}),y.jsxs("div",{className:"auth-content",children:[I==="login"&&v&&y.jsx("div",{children:y.jsx(WE,{onSuccess:R,loginButtonText:"Se connecter",className:"auth-login-form",showTitle:!1,showForgotPassword:p,forgotPasswordText:C,onForgotPassword:()=>L("forgot-password"),...S})}),I==="register"&&g&&y.jsx(UE,{onSuccess:T,politiqueAndConditionsConsentTexte:w,seePolitiqueAndConditions:A,politiqueAndConditionsRoute:N,...x}),I==="forgot-password"&&p&&y.jsxs("div",{children:[y.jsx(GE,{onSuccess:j,...E}),y.jsx("div",{className:"auth-links",children:y.jsxs("button",{type:"button",onClick:()=>L("login"),className:"link-button",children:["← ",d]})})]}),I==="activation"&&y.jsx(zY,{})]}),t&&y.jsx("div",{className:"auth-footer",children:y.jsx("button",{onClick:t,className:"btn btn-secondary",children:u})})]})})};function Xu(){const{organizationDetails:e}=Lr();return y.jsxs("div",{style:{width:"100%",minHeight:"400px",display:"flex",justifyContent:"center",alignItems:"center",fontSize:18,color:"#888"},children:[y.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"}}),y.jsx("style",{children:`
1719
1719
  @keyframes spin {
1720
1720
  0% { transform: rotate(0deg);}
1721
1721
  100% { transform: rotate(360deg);}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lystech/core",
3
- "version": "3.0.73",
3
+ "version": "3.0.74",
4
4
  "description": "Lystech Core contains essentials for lystech apps",
5
5
  "license": "ISC",
6
6
  "author": "",