kdpa-components 1.40.5 → 1.40.6
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.
package/dist/index.js
CHANGED
|
@@ -1470,4 +1470,4 @@ Message: ${e}`),e}}const gu=e=>typeof e=="string",gNe=e=>typeof e=="function",IH
|
|
|
1470
1470
|
`)},P9e=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,i=M.useMemo(function(){return E9e(o)},[o]);return M.useEffect(function(){return document.body.setAttribute(Lw,""),function(){document.body.removeAttribute(Lw)}},[]),M.createElement(O9e,{styles:M9e(i,!t,o,n?"":"!important")})},XP=!1;if(typeof window<"u")try{var $w=Object.defineProperty({},"passive",{get:function(){return XP=!0,!0}});window.addEventListener("test",$w,$w),window.removeEventListener("test",$w,$w)}catch{XP=!1}var Np=XP?{passive:!1}:!1,A9e=function(e){return e.tagName==="TEXTAREA"},E8=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!A9e(e)&&n[t]==="visible")},D9e=function(e){return E8(e,"overflowY")},_9e=function(e){return E8(e,"overflowX")},O8=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=M8(e,n);if(r){var o=P8(e,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},N9e=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},R9e=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},M8=function(e,t){return e==="v"?D9e(t):_9e(t)},P8=function(e,t){return e==="v"?N9e(t):R9e(t)},I9e=function(e,t){return e==="h"&&t==="rtl"?-1:1},L9e=function(e,t,n,r,o){var i=I9e(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,c=t.contains(s),f=!1,p=a>0,m=0,v=0;do{var y=P8(e,s),w=y[0],C=y[1],k=y[2],E=C-k-i*w;(w||E)&&M8(e,s)&&(m+=E,v+=w),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(p&&(o&&m===0||!o&&a>m)||!p&&(o&&v===0||!o&&-a>v))&&(f=!0),f},Fw=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},A8=function(e){return[e.deltaX,e.deltaY]},D8=function(e){return e&&"current"in e?e.current:e},$9e=function(e,t){return e[0]===t[0]&&e[1]===t[1]},F9e=function(e){return`
|
|
1471
1471
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
1472
1472
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
1473
|
-
`)},z9e=0,Rp=[];function B9e(e){var t=M.useRef([]),n=M.useRef([0,0]),r=M.useRef(),o=M.useState(z9e++)[0],i=M.useState(function(){return T8()})[0],a=M.useRef(e);M.useEffect(function(){a.current=e},[e]),M.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var C=mE([e.lockRef.current],(e.shards||[]).map(D8),!0).filter(Boolean);return C.forEach(function(k){return k.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),C.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=M.useCallback(function(C,k){if("touches"in C&&C.touches.length===2)return!a.current.allowPinchZoom;var E=Fw(C),T=n.current,_="deltaX"in C?C.deltaX:T[0]-E[0],R="deltaY"in C?C.deltaY:T[1]-E[1],N,$=C.target,V=Math.abs(_)>Math.abs(R)?"h":"v";if("touches"in C&&V==="h"&&$.type==="range")return!1;var K=O8(V,$);if(!K)return!0;if(K?N=V:(N=V==="v"?"h":"v",K=O8(V,$)),!K)return!1;if(!r.current&&"changedTouches"in C&&(_||R)&&(r.current=N),!N)return!0;var Y=r.current||N;return L9e(Y,k,C,Y==="h"?_:R,!0)},[]),c=M.useCallback(function(C){var k=C;if(!(!Rp.length||Rp[Rp.length-1]!==i)){var E="deltaY"in k?A8(k):Fw(k),T=t.current.filter(function(N){return N.name===k.type&&N.target===k.target&&$9e(N.delta,E)})[0];if(T&&T.should){k.cancelable&&k.preventDefault();return}if(!T){var _=(a.current.shards||[]).map(D8).filter(Boolean).filter(function(N){return N.contains(k.target)}),R=_.length>0?s(k,_[0]):!a.current.noIsolation;R&&k.cancelable&&k.preventDefault()}}},[]),f=M.useCallback(function(C,k,E,T){var _={name:C,delta:k,target:E,should:T};t.current.push(_),setTimeout(function(){t.current=t.current.filter(function(R){return R!==_})},1)},[]),p=M.useCallback(function(C){n.current=Fw(C),r.current=void 0},[]),m=M.useCallback(function(C){f(C.type,A8(C),C.target,s(C,e.lockRef.current))},[]),v=M.useCallback(function(C){f(C.type,Fw(C),C.target,s(C,e.lockRef.current))},[]);M.useEffect(function(){return Rp.push(i),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:v}),document.addEventListener("wheel",c,Np),document.addEventListener("touchmove",c,Np),document.addEventListener("touchstart",p,Np),function(){Rp=Rp.filter(function(C){return C!==i}),document.removeEventListener("wheel",c,Np),document.removeEventListener("touchmove",c,Np),document.removeEventListener("touchstart",p,Np)}},[]);var y=e.removeScrollBar,w=e.inert;return M.createElement(M.Fragment,null,w?M.createElement(i,{styles:F9e(o)}):null,y?M.createElement(P9e,{gapMode:"margin"}):null)}var V9e=v9e(k8,B9e),_8=M.forwardRef(function(e,t){return M.createElement(Iw,fl({},e,{ref:t,sideCar:V9e}))});_8.classNames=Iw.classNames;var j9e=_8;const N8=["Enter"," "],H9e=["ArrowDown","PageUp","Home"],R8=["ArrowUp","PageDown","End"],W9e=[...H9e,...R8],Y9e={ltr:[...N8,"ArrowRight"],rtl:[...N8,"ArrowLeft"]},U9e={ltr:["ArrowLeft"],rtl:["ArrowRight"]},zw="Menu",[hb,K9e,X9e]=kP(zw),[nf,G9e]=Pp(zw,[X9e,g8,Dp]),Bw=g8(),I8=Dp(),[L8,Pu]=nf(zw),[q9e,Vw]=nf(zw),Z9e=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:a=!0}=e,s=Bw(t),[c,f]=Mn(null),p=Yt(!1),m=Is(i),v=Dw(o);return vn(()=>{const y=()=>{p.current=!0,document.addEventListener("pointerdown",w,{capture:!0,once:!0}),document.addEventListener("pointermove",w,{capture:!0,once:!0})},w=()=>p.current=!1;return document.addEventListener("keydown",y,{capture:!0}),()=>{document.removeEventListener("keydown",y,{capture:!0}),document.removeEventListener("pointerdown",w,{capture:!0}),document.removeEventListener("pointermove",w,{capture:!0})}},[]),cn(w8,s,cn(L8,{scope:t,open:n,onOpenChange:m,content:c,onContentChange:f},cn(q9e,{scope:t,onClose:Zn(()=>m(!1),[m]),isUsingKeyboardRef:p,dir:v,modal:a},r)))},$8=or((e,t)=>{const{__scopeMenu:n,...r}=e,o=Bw(n);return cn(s9e,B({},o,r,{ref:t}))}),F8="MenuPortal",[J9e,z8]=nf(F8,{forceMount:void 0}),Q9e=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=Pu(F8,t);return cn(J9e,{scope:t,forceMount:n},cn(db,{present:n||i.open},cn(c9e,{asChild:!0,container:o},r)))},Ls="MenuContent",[eYe,B8]=nf(Ls),tYe=or((e,t)=>{const n=z8(Ls,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=Pu(Ls,e.__scopeMenu),a=Vw(Ls,e.__scopeMenu);return cn(hb.Provider,{scope:e.__scopeMenu},cn(db,{present:r||i.open},cn(hb.Slot,{scope:e.__scopeMenu},a.modal?cn(nYe,B({},o,{ref:t})):cn(rYe,B({},o,{ref:t})))))}),nYe=or((e,t)=>{const n=Pu(Ls,e.__scopeMenu),r=Yt(null),o=Oa(t,r);return vn(()=>{const i=r.current;if(i)return _Fe(i)},[]),cn(GP,B({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:fr(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),rYe=or((e,t)=>{const n=Pu(Ls,e.__scopeMenu);return cn(GP,B({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),GP=or((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEntryFocus:c,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:v,onDismiss:y,disableOutsideScroll:w,...C}=e,k=Pu(Ls,n),E=Vw(Ls,n),T=Bw(n),_=I8(n),R=K9e(n),[N,$]=Mn(null),V=Yt(null),K=Oa(t,V,k.onContentChange),Y=Yt(0),J=Yt(""),X=Yt(0),ne=Yt(null),re=Yt("right"),te=Yt(0),oe=w?j9e:GC,ue=w?{as:ub,allowPinchZoom:!0}:void 0,se=ge=>{var fe,Oe;const Re=J.current+ge,Ve=R().filter(Be=>!Be.disabled),ke=document.activeElement,he=(fe=Ve.find(Be=>Be.ref.current===ke))===null||fe===void 0?void 0:fe.textValue,Pe=Ve.map(Be=>Be.textValue),Me=mYe(Pe,Re,he),De=(Oe=Ve.find(Be=>Be.textValue===Me))===null||Oe===void 0?void 0:Oe.ref.current;(function Be(Le){J.current=Le,window.clearTimeout(Y.current),Le!==""&&(Y.current=window.setTimeout(()=>Be(""),1e3))})(Re),De&&setTimeout(()=>De.focus())};vn(()=>()=>window.clearTimeout(Y.current),[]),z8e();const ce=Zn(ge=>{var fe,Oe;return re.current===((fe=ne.current)===null||fe===void 0?void 0:fe.side)&&vYe(ge,(Oe=ne.current)===null||Oe===void 0?void 0:Oe.area)},[]);return cn(eYe,{scope:n,searchRef:J,onItemEnter:Zn(ge=>{ce(ge)&&ge.preventDefault()},[ce]),onItemLeave:Zn(ge=>{var fe;ce(ge)||((fe=V.current)===null||fe===void 0||fe.focus(),$(null))},[ce]),onTriggerLeave:Zn(ge=>{ce(ge)&&ge.preventDefault()},[ce]),pointerGraceTimerRef:X,onPointerGraceIntentChange:Zn(ge=>{ne.current=ge},[])},cn(oe,ue,cn(B8e,{asChild:!0,trapped:o,onMountAutoFocus:fr(i,ge=>{var fe;ge.preventDefault(),(fe=V.current)===null||fe===void 0||fe.focus()}),onUnmountAutoFocus:a},cn(L8e,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:v,onDismiss:y},cn(MP,B({asChild:!0},_,{dir:E.dir,orientation:"vertical",loop:r,currentTabStopId:N,onCurrentTabStopIdChange:$,onEntryFocus:fr(c,ge=>{E.isUsingKeyboardRef.current||ge.preventDefault()})}),cn(l9e,B({role:"menu","aria-orientation":"vertical","data-state":H8(k.open),"data-radix-menu-content":"",dir:E.dir},T,C,{ref:K,style:{outline:"none",...C.style},onKeyDown:fr(C.onKeyDown,ge=>{const Oe=ge.target.closest("[data-radix-menu-content]")===ge.currentTarget,Re=ge.ctrlKey||ge.altKey||ge.metaKey,Ve=ge.key.length===1;Oe&&(ge.key==="Tab"&&ge.preventDefault(),!Re&&Ve&&se(ge.key));const ke=V.current;if(ge.target!==ke||!W9e.includes(ge.key))return;ge.preventDefault();const Pe=R().filter(Me=>!Me.disabled).map(Me=>Me.ref.current);R8.includes(ge.key)&&Pe.reverse(),hYe(Pe)}),onBlur:fr(e.onBlur,ge=>{ge.currentTarget.contains(ge.target)||(window.clearTimeout(Y.current),J.current="")}),onPointerMove:fr(e.onPointerMove,pb(ge=>{const fe=ge.target,Oe=te.current!==ge.clientX;if(ge.currentTarget.contains(fe)&&Oe){const Re=ge.clientX>te.current?"right":"left";re.current=Re,te.current=ge.clientX}}))})))))))}),oYe="MenuItem",iYe=or((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=B8(oYe,n),s=I8(n),c=Yt(null),f=Oa(t,c),[p,m]=Mn(!1),[v,y]=Mn("");return vn(()=>{const w=c.current;if(w){var C;y(((C=w.textContent)!==null&&C!==void 0?C:"").trim())}},[i.children]),cn(hb.ItemSlot,{scope:n,disabled:r,textValue:o??v},cn(PP,B({asChild:!0},s,{focusable:!r}),cn(Yi.div,B({role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},i,{ref:f,onPointerMove:fr(e.onPointerMove,pb(w=>{r?a.onItemLeave(w):(a.onItemEnter(w),w.defaultPrevented||w.currentTarget.focus())})),onPointerLeave:fr(e.onPointerLeave,pb(w=>a.onItemLeave(w))),onFocus:fr(e.onFocus,()=>m(!0)),onBlur:fr(e.onBlur,()=>m(!1))}))))}),aYe="MenuRadioGroup";nf(aYe,{value:void 0,onValueChange:()=>{}});const sYe="MenuItemIndicator";nf(sYe,{checked:!1});const V8="MenuSub",[lYe,j8]=nf(V8),cYe=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:o}=e,i=Pu(V8,t),a=Bw(t),[s,c]=Mn(null),[f,p]=Mn(null),m=Is(o);return vn(()=>(i.open===!1&&m(!1),()=>m(!1)),[i.open,m]),cn(w8,a,cn(L8,{scope:t,open:r,onOpenChange:m,content:f,onContentChange:p},cn(lYe,{scope:t,contentId:tf(),triggerId:tf(),trigger:s,onTriggerChange:c},n)))},jw="MenuSubTrigger",uYe=or((e,t)=>{const n=Pu(jw,e.__scopeMenu),r=Vw(jw,e.__scopeMenu),o=j8(jw,e.__scopeMenu),i=B8(jw,e.__scopeMenu),a=Yt(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=i,f={__scopeMenu:e.__scopeMenu},p=Zn(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return vn(()=>p,[p]),vn(()=>{const m=s.current;return()=>{window.clearTimeout(m),c(null)}},[s,c]),cn($8,B({asChild:!0},f),cn(iYe,B({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":H8(n.open)},e,{ref:CP(t,o.onTriggerChange),onClick:m=>{var v;(v=e.onClick)===null||v===void 0||v.call(e,m),!(e.disabled||m.defaultPrevented)&&(m.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:fr(e.onPointerMove,pb(m=>{i.onItemEnter(m),!m.defaultPrevented&&!e.disabled&&!n.open&&!a.current&&(i.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:fr(e.onPointerLeave,pb(m=>{var v;p();const y=(v=n.content)===null||v===void 0?void 0:v.getBoundingClientRect();if(y){var w;const C=(w=n.content)===null||w===void 0?void 0:w.dataset.side,k=C==="right",E=k?-5:5,T=y[k?"left":"right"],_=y[k?"right":"left"];i.onPointerGraceIntentChange({area:[{x:m.clientX+E,y:m.clientY},{x:T,y:y.top},{x:_,y:y.top},{x:_,y:y.bottom},{x:T,y:y.bottom}],side:C}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(m),m.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:fr(e.onKeyDown,m=>{const v=i.searchRef.current!=="";if(!(e.disabled||v&&m.key===" ")&&Y9e[r.dir].includes(m.key)){var y;n.onOpenChange(!0),(y=n.content)===null||y===void 0||y.focus(),m.preventDefault()}})})))}),dYe="MenuSubContent",fYe=or((e,t)=>{const n=z8(Ls,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=Pu(Ls,e.__scopeMenu),a=Vw(Ls,e.__scopeMenu),s=j8(dYe,e.__scopeMenu),c=Yt(null),f=Oa(t,c);return cn(hb.Provider,{scope:e.__scopeMenu},cn(db,{present:r||i.open},cn(hb.Slot,{scope:e.__scopeMenu},cn(GP,B({id:s.contentId,"aria-labelledby":s.triggerId},o,{ref:f,align:"start",side:a.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{var m;a.isUsingKeyboardRef.current&&((m=c.current)===null||m===void 0||m.focus()),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:fr(e.onFocusOutside,p=>{p.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:fr(e.onEscapeKeyDown,p=>{a.onClose(),p.preventDefault()}),onKeyDown:fr(e.onKeyDown,p=>{const m=p.currentTarget.contains(p.target),v=U9e[a.dir].includes(p.key);if(m&&v){var y;i.onOpenChange(!1),(y=s.trigger)===null||y===void 0||y.focus(),p.preventDefault()}})})))))});function H8(e){return e?"open":"closed"}function hYe(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function pYe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function mYe(e,t,n){const o=t.length>1&&Array.from(t).every(f=>f===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let a=pYe(e,Math.max(i,0));o.length===1&&(a=a.filter(f=>f!==n));const c=a.find(f=>f.toLowerCase().startsWith(o.toLowerCase()));return c!==n?c:void 0}function gYe(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i].x,c=t[i].y,f=t[a].x,p=t[a].y;c>r!=p>r&&n<(f-s)*(r-c)/(p-c)+s&&(o=!o)}return o}function vYe(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return gYe(n,t)}function pb(e){return t=>t.pointerType==="mouse"?e(t):void 0}const bYe=Z9e,yYe=$8,xYe=Q9e,wYe=tYe,CYe=cYe,SYe=uYe,kYe=fYe,qP="Menubar",[ZP,TYe,EYe]=kP(qP),[W8,dUe]=Pp(qP,[EYe,Dp]),rf=G9e(),Y8=Dp(),[OYe,JP]=W8(qP),MYe=or((e,t)=>{const{__scopeMenubar:n,value:r,onValueChange:o,defaultValue:i,loop:a=!0,dir:s,...c}=e,f=Dw(s),p=Y8(n),[m="",v]=Aw({prop:r,onChange:o,defaultProp:i}),[y,w]=Mn(null);return cn(OYe,{scope:n,value:m,onMenuOpen:Zn(C=>{v(C),w(C)},[v]),onMenuClose:Zn(()=>v(""),[v]),onMenuToggle:Zn(C=>{v(k=>k?"":C),w(C)},[v]),dir:f,loop:a},cn(ZP.Provider,{scope:n},cn(ZP.Slot,{scope:n},cn(MP,B({asChild:!0},p,{orientation:"horizontal",loop:a,dir:f,currentTabStopId:y,onCurrentTabStopIdChange:w}),cn(Yi.div,B({role:"menubar"},c,{ref:t}))))))}),U8="MenubarMenu",[PYe,K8]=W8(U8),AYe=e=>{const{__scopeMenubar:t,value:n,...r}=e,o=tf(),i=n||o||"LEGACY_REACT_AUTO_VALUE",a=JP(U8,t),s=rf(t),c=Yt(null),f=Yt(!1),p=a.value===i;return vn(()=>{p||(f.current=!1)},[p]),cn(PYe,{scope:t,value:i,triggerId:tf(),triggerRef:c,contentId:tf(),wasKeyboardTriggerOpenRef:f},cn(bYe,B({},s,{open:p,onOpenChange:m=>{m||a.onMenuClose()},modal:!1,dir:a.dir},r)))},X8="MenubarTrigger",DYe=or((e,t)=>{const{__scopeMenubar:n,disabled:r=!1,...o}=e,i=Y8(n),a=rf(n),s=JP(X8,n),c=K8(X8,n),f=Yt(null),p=Oa(t,f,c.triggerRef),[m,v]=Mn(!1),y=s.value===c.value;return cn(ZP.ItemSlot,{scope:n,value:c.value,disabled:r},cn(PP,B({asChild:!0},i,{focusable:!r,tabStopId:c.value}),cn(yYe,B({asChild:!0},a),cn(Yi.button,B({type:"button",role:"menuitem",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":y,"aria-controls":y?c.contentId:void 0,"data-highlighted":m?"":void 0,"data-state":y?"open":"closed","data-disabled":r?"":void 0,disabled:r},o,{ref:p,onPointerDown:fr(e.onPointerDown,w=>{!r&&w.button===0&&w.ctrlKey===!1&&(s.onMenuOpen(c.value),y||w.preventDefault())}),onPointerEnter:fr(e.onPointerEnter,()=>{if(!!s.value&&!y){var C;s.onMenuOpen(c.value),(C=f.current)===null||C===void 0||C.focus()}}),onKeyDown:fr(e.onKeyDown,w=>{r||(["Enter"," "].includes(w.key)&&s.onMenuToggle(c.value),w.key==="ArrowDown"&&s.onMenuOpen(c.value),["Enter"," ","ArrowDown"].includes(w.key)&&(c.wasKeyboardTriggerOpenRef.current=!0,w.preventDefault()))}),onFocus:fr(e.onFocus,()=>v(!0)),onBlur:fr(e.onBlur,()=>v(!1))})))))}),_Ye=e=>{const{__scopeMenubar:t,...n}=e,r=rf(t);return cn(xYe,B({},r,n))},G8="MenubarContent",NYe=or((e,t)=>{const{__scopeMenubar:n,align:r="start",...o}=e,i=rf(n),a=JP(G8,n),s=K8(G8,n),c=TYe(n),f=Yt(!1);return cn(wYe,B({id:s.contentId,"aria-labelledby":s.triggerId,"data-radix-menubar-content":""},i,o,{ref:t,align:r,onCloseAutoFocus:fr(e.onCloseAutoFocus,p=>{if(!!!a.value&&!f.current){var v;(v=s.triggerRef.current)===null||v===void 0||v.focus()}f.current=!1,p.preventDefault()}),onFocusOutside:fr(e.onFocusOutside,p=>{const m=p.target;c().some(y=>{var w;return(w=y.ref.current)===null||w===void 0?void 0:w.contains(m)})&&p.preventDefault()}),onInteractOutside:fr(e.onInteractOutside,()=>{f.current=!0}),onEntryFocus:p=>{s.wasKeyboardTriggerOpenRef.current||p.preventDefault()},onKeyDown:fr(e.onKeyDown,p=>{if(["ArrowRight","ArrowLeft"].includes(p.key)){const m=p.target,v=m.hasAttribute("data-radix-menubar-subtrigger"),y=m.closest("[data-radix-menubar-content]")!==p.currentTarget,C=(a.dir==="rtl"?"ArrowRight":"ArrowLeft")===p.key;if(!C&&v||y&&C)return;let T=c().filter(N=>!N.disabled).map(N=>N.value);C&&T.reverse();const _=T.indexOf(s.value);T=a.loop?$Ye(T,_+1):T.slice(_+1);const[R]=T;R&&a.onMenuOpen(R)}},{checkForDefaultPrevented:!1}),style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}}))}),RYe=e=>{const{__scopeMenubar:t,children:n,open:r,onOpenChange:o,defaultOpen:i}=e,a=rf(t),[s=!1,c]=Aw({prop:r,defaultProp:i,onChange:o});return cn(CYe,B({},a,{open:s,onOpenChange:c}),n)},IYe=or((e,t)=>{const{__scopeMenubar:n,...r}=e,o=rf(n);return cn(SYe,B({"data-radix-menubar-subtrigger":""},o,r,{ref:t}))}),LYe=or((e,t)=>{const{__scopeMenubar:n,...r}=e,o=rf(n);return cn(kYe,B({},o,{"data-radix-menubar-content":""},r,{ref:t,style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}}))});function $Ye(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const q8=MYe,Z8=AYe,J8=DYe,QP=_Ye,Q8=NYe,FYe=RYe,zYe=IYe,BYe=LYe,VYe=()=>{const e=({data:n,getOptionLabel:r=c=>c.label,getOptionValue:o=c=>c.value,getOptionParent:i=c=>c.parent,getOptionNavlink:a=c=>c.navlink,getOptionExternalLink:s=c=>c.externalLink})=>{const c=[];return n?.forEach(f=>{o(f)&&c.push({value:o(f),label:r(f),parent:i(f),externalLink:s(f),navlink:a(f)})}),c},t=(n=[],r)=>{const o=[];return n.forEach(i=>{const a=i;if(!r&&!a?.parent||a?.parent===r){const s=t(n,a.value);s.length>0&&(a.children=s),o.push(a)}}),o};return{renderMenubarToSpecificFieldName:e,buildMenubar:t}},jYe=({data:e,onClick:t,orientation:n="horizontal",getOptionValue:r,getOptionLabel:o,getOptionParent:i,getOptionNavlink:a,getOptionExternalLink:s,noDataText:c="no data",LinkComponent:f,...p})=>{const{buildMenubar:m,renderMenubarToSpecificFieldName:v}=VYe(),y=m(v({data:e,getOptionLabel:o,getOptionValue:r,getOptionParent:i,getOptionNavlink:a,getOptionExternalLink:s})),w=({data:E})=>yt(Z8,{children:[yt(J8,{className:"MenubarTrigger",children:[E.label,W("div",{className:"LeftMainSlot",children:W(nze,{size:10})})]}),W(QP,{children:W(Q8,{className:"MenubarContent",align:"start",side:n==="horizontal"?"bottom":"right",sideOffset:5,children:(E.children??[]).map(T=>T.children&&T.children.length>0?W(k,{data:T}):W(C,{data:T}))})})]}),C=({data:E})=>{const T=t||!E.navlink?"span":E.externalLink?"a":f||"a",_=t?{onClick:()=>{t(E)}}:E.externalLink||!f?{href:E.navlink}:{to:E.navlink};return W(T,{className:"MenubarItem MenubarTriggerText",..._,children:E.label})},k=({data:E})=>yt(FYe,{children:[yt(zYe,{className:"MenubarSubTrigger",children:[W("span",{className:"MenubarTriggerText",children:E.label}),W("div",{className:"LeftSlot",children:W(rze,{size:10})})]}),W(QP,{children:W(BYe,{className:"MenubarSubContent",alignOffset:-5,sideOffset:10,children:(E.children??[]).map(T=>T.children&&T.children.length>0?W(k,{data:T}):W(C,{data:T}))})})]});return W(Xr,{children:y.length>0?W(q8,{...p,className:"MenubarRoot",dir:"rtl",style:{flexDirection:n==="horizontal"?"unset":"column",...p.style},children:y.map(E=>W(w,{data:E,...p}))}):W("div",{style:{width:"100%",textAlign:"center"},children:c})})};function HYe({label:e,...t}){return W(tI,{...t,label:e,sx:{margin:"0px","& .MuiFormControlLabel-label":{width:"100%",border:n=>t.isActive?`2px solid ${n.palette.primary.main}`:"unset"}},control:W(r3,{sx:{display:"none"}})})}function WYe(e){return W(ja,{...e})}var e9,t9;function eA(){return eA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eA.apply(this,arguments)}var n9=function(t){return M.createElement("svg",eA({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 480"},t),e9||(e9=M.createElement("defs",null,M.createElement("clipPath",{id:"ir_svg__a"},M.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.7v512H-85.3z"})))),t9||(t9=M.createElement("g",{fillRule:"evenodd",clipPath:"url(#ir_svg__a)",transform:"translate(80)scale(.9375)"},M.createElement("path",{fill:"#fff",d:"M-192 0h896v512h-896z"}),M.createElement("path",{fill:"#da0000",d:"M-192 343.8h896V512h-896z"}),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M-21.6 351h49v3.3h-49zm7.3 16.8h3.4v3.3h-3.4zm41.9 0v3.3h-9.8v-3.4zm5.2-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M52.4 367.7v3.4H33.8v-3.4zm-34.6-7.9H21v11.3h-3.3z"}),M.createElement("path",{d:"M49.6 351H53v20h-3.4zm-8.4 0h3.3v20h-3.3zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M17.8 359.9H21V371h-3.3z"}),M.createElement("path",{d:"M17.8 359.9H21V371h-3.3z"}),M.createElement("path",{d:"M17.8 359.9H21V371h-3.3zm-39.3 0h3.3V371h-3.3zm28.8 0h3.4V371H7.3zm-14.3 0h3.4V371H-7z"}),M.createElement("path",{d:"M9.6 367.7v3.4H-5.5v-3.4zm1-8.7v3.4H1V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M-102.2 351h49v3.3h-49zm7.3 16.8h3.4v3.3H-95zm41.9 0v3.3h-9.8v-3.4zm5.2-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M-28.2 367.7v3.4h-18.6v-3.4zm-34.6-7.9h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M-31 351h3.4v20H-31zm-8.4 0h3.3v20h-3.3zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M-62.8 359.9h3.3V371h-3.3z"}),M.createElement("path",{d:"M-62.8 359.9h3.3V371h-3.3z"}),M.createElement("path",{d:"M-62.8 359.9h3.3V371h-3.3zm-39.3 0h3.3V371h-3.3zm28.8 0h3.3V371h-3.3zm-14.3 0h3.4V371h-3.4z"}),M.createElement("path",{d:"M-71 367.7v3.4h-15v-3.4zm1-8.7v3.4h-9.6V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M58.3 351h49v3.3h-49zm7.3 16.8H69v3.3h-3.4zm41.9 0v3.3h-9.8v-3.4zm5.3-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M132.3 367.7v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M129.5 351h3.4v20h-3.4zm-8.4 0h3.4v20H121zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M97.7 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M97.7 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M97.7 359.9h3.4V371h-3.4zm-39.3 0h3.4V371h-3.4zm28.8 0h3.4V371h-3.4zm-14.3 0h3.4V371h-3.4z"}),M.createElement("path",{d:"M89.6 367.7v3.4H74.4v-3.4zm1-8.7v3.4H81V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M622.7 351h49v3.3h-49zm7.3 16.8h3.4v3.3H630zm41.9 0v3.3H662v-3.4zm5.3-16.8h3.3v20h-3.4z"}),M.createElement("path",{d:"M696.7 367.7v3.4H678v-3.4zm-34.6-7.9h3.4v11.3H662z"}),M.createElement("path",{d:"M694 351h3.3v20h-3.4zm-8.5 0h3.4v20h-3.4zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M662 359.9h3.5V371H662z"}),M.createElement("path",{d:"M662 359.9h3.5V371H662z"}),M.createElement("path",{d:"M662 359.9h3.5V371H662zm-39.2 0h3.4V371h-3.4zm28.8 0h3.4V371h-3.4zm-14.3 0h3.4V371h-3.4z"}),M.createElement("path",{d:"M654 367.7v3.4h-15.2v-3.4zm1-8.7v3.4h-9.6V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M138.7 351h49.1v3.3h-49zm7.4 16.8h3.3v3.3h-3.3zm41.8 0v3.3h-9.8v-3.4zm5.3-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M212.8 367.7v3.4h-18.6v-3.4zm-34.7-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M210 351h3.4v20H210zm-8.5 0h3.4v20h-3.4zm-44.8 8v3.4h-17.9V359zm39.3 0v3.4h-17.9V359z"}),M.createElement("path",{d:"M178.1 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M178.1 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M178.1 359.9h3.4V371h-3.4zm-39.3 0h3.4V371h-3.4zm28.8 0h3.4V371h-3.4zm-14.2 0h3.3V371h-3.3z"}),M.createElement("path",{d:"M170 367.7v3.4h-15.1v-3.4zm1-8.7v3.4h-9.6V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M219.5 351h49v3.3h-49zm7.3 16.8h3.4v3.3h-3.4zm41.9 0v3.3h-9.8v-3.4zM274 351h3.3v20H274z"}),M.createElement("path",{d:"M293.5 367.7v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M290.7 351h3.4v20h-3.4zm-8.4 0h3.4v20h-3.4zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M258.9 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M258.9 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M258.9 359.9h3.4V371h-3.4zm-39.3 0h3.3V371h-3.3zm28.8 0h3.4V371h-3.4zm-14.3 0h3.4V371H234z"}),M.createElement("path",{d:"M250.8 367.7v3.4h-15.2v-3.4zm1-8.7v3.4H242V359z"})),M.createElement("path",{fill:"#239f40",d:"M-192 0h896v168.2h-896z"}),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M300.7 351h49v3.3h-49zm7.3 16.8h3.4v3.3H308zm41.9 0v3.3H340v-3.4zm5.3-16.8h3.3v20h-3.3z"}),M.createElement("path",{d:"M374.7 367.7v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3H340z"}),M.createElement("path",{d:"M372 351h3.3v20H372zm-8.5 0h3.4v20h-3.4zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M340 359.9h3.5V371H340z"}),M.createElement("path",{d:"M340 359.9h3.5V371H340z"}),M.createElement("path",{d:"M340 359.9h3.5V371H340zm-39.2 0h3.4V371h-3.4zm28.8 0h3.4V371h-3.4zm-14.3 0h3.4V371h-3.4z"}),M.createElement("path",{d:"M332 367.7v3.4h-15.2v-3.4zm1-8.7v3.4h-9.6V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M381.4 351h49v3.3h-49zm7.3 16.8h3.4v3.3h-3.4zm42 0v3.3h-9.9v-3.4zm5.2-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M455.4 367.7v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M452.7 351h3.3v20h-3.3zm-8.5 0h3.4v20h-3.4zm-44.8 8v3.4h-17.9V359zm39.3 0v3.4h-17.9V359z"}),M.createElement("path",{d:"M420.8 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M420.8 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M420.8 359.9h3.4V371h-3.4zm-39.3 0h3.4V371h-3.4zm28.8 0h3.4V371h-3.4zm-14.3 0h3.4V371h-3.3z"}),M.createElement("path",{d:"M412.7 367.7v3.4h-15.1v-3.4zm1-8.7v3.4H404V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M462.2 351h49v3.3h-49zm7.3 16.8h3.4v3.3h-3.4zm41.9 0v3.3h-9.8v-3.4zm5.2-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M536.2 367.7v3.4h-18.6v-3.4zm-34.7-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M533.4 351h3.4v20h-3.4zm-8.4 0h3.3v20H525zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M501.6 359.9h3.3V371h-3.3z"}),M.createElement("path",{d:"M501.6 359.9h3.3V371h-3.3z"}),M.createElement("path",{d:"M501.6 359.9h3.3V371h-3.3zm-39.4 0h3.4V371h-3.4zm28.9 0h3.3V371h-3.3zm-14.3 0h3.4V371h-3.4z"}),M.createElement("path",{d:"M493.4 367.7v3.4h-15.1v-3.4zm1-8.7v3.4h-9.6V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M543.4 351h49v3.3h-49zm7.3 16.8h3.4v3.3h-3.4zm41.9 0v3.3h-9.8v-3.4zm5.2-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M617.4 367.7v3.4h-18.6v-3.4zm-34.6-7.9h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M614.6 351h3.4v20h-3.4zm-8.4 0h3.3v20h-3.3zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M582.8 359.9h3.3V371h-3.3z"}),M.createElement("path",{d:"M582.8 359.9h3.3V371h-3.3z"}),M.createElement("path",{d:"M582.8 359.9h3.3V371h-3.3zm-39.3 0h3.3V371h-3.3zm28.8 0h3.4V371h-3.4zm-14.3 0h3.4V371H558z"}),M.createElement("path",{d:"M574.6 367.7v3.4h-15.1v-3.4zm1-8.7v3.4H566V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M-183.8 351h49v3.3h-49zm7.3 16.8h3.4v3.3h-3.4zm42 0v3.3h-9.9v-3.4zm5.2-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M-109.8 367.7v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M-112.5 351h3.3v20h-3.3zm-8.5 0h3.4v20h-3.4zm-44.8 8v3.4h-17.9V359zm39.3 0v3.4h-17.9V359z"}),M.createElement("path",{d:"M-144.4 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M-144.4 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M-144.4 359.9h3.4V371h-3.4zm-39.3 0h3.4V371h-3.4zm28.8 0h3.4V371h-3.4zm-14.3 0h3.4V371h-3.4z"}),M.createElement("path",{d:"M-152.5 367.7v3.4h-15.2v-3.4zm1-8.7v3.4h-9.6V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M-21.6 143.4h49v3.4h-49zm7.3 17h3.4v3.2h-3.4zm41.9-.2v3.4h-9.8v-3.4zm5.2-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M52.4 160.2v3.4H33.8v-3.4zm-34.6-7.9H21v11.3h-3.3z"}),M.createElement("path",{d:"M49.6 143.4H53v20.2h-3.4zm-8.4 0h3.3v20.2h-3.3zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M17.8 152.3H21v11.3h-3.3z"}),M.createElement("path",{d:"M17.8 152.3H21v11.3h-3.3z"}),M.createElement("path",{d:"M17.8 152.3H21v11.3h-3.3zm-39.3 0h3.3v11.3h-3.3zm28.8 0h3.4v11.3H7.3zm-14.3 0h3.4v11.3H-7z"}),M.createElement("path",{d:"M9.6 160.2v3.4H-5.5v-3.4zm1-8.7v3.3H1v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M-102.2 143.4h49v3.4h-49zm7.3 17h3.4v3.2H-95zm41.9-.2v3.4h-9.8v-3.4zm5.2-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M-28.2 160.2v3.4h-18.6v-3.4zm-34.6-7.9h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M-31 143.4h3.4v20.2H-31zm-8.4 0h3.3v20.2h-3.3zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M-62.8 152.3h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M-62.8 152.3h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M-62.8 152.3h3.3v11.3h-3.3zm-39.3 0h3.3v11.3h-3.3zm28.8 0h3.3v11.3h-3.3zm-14.3 0h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M-71 160.2v3.4h-15v-3.4zm1-8.7v3.3h-9.6v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M58.3 143.4h49v3.4h-49zm7.3 17H69v3.2h-3.4zm41.9-.2v3.4h-9.8v-3.4zm5.3-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M132.3 160.2v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M129.5 143.4h3.4v20.2h-3.4zm-8.4 0h3.4v20.2H121zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M97.7 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M97.7 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M97.7 152.3h3.4v11.3h-3.4zm-39.3 0h3.4v11.3h-3.4zm28.8 0h3.4v11.3h-3.4zm-14.3 0h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M89.6 160.2v3.4H74.4v-3.4zm1-8.7v3.3H81v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M622.7 143.4h49v3.4h-49zm7.3 17h3.4v3.2H630zm41.9-.2v3.4H662v-3.4zm5.3-16.8h3.3v20.2h-3.4z"}),M.createElement("path",{d:"M696.7 160.2v3.4H678v-3.4zm-34.6-7.9h3.4v11.3H662z"}),M.createElement("path",{d:"M694 143.4h3.3v20.2h-3.4zm-8.5 0h3.4v20.2h-3.4zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M662 152.3h3.5v11.3H662z"}),M.createElement("path",{d:"M662 152.3h3.5v11.3H662z"}),M.createElement("path",{d:"M662 152.3h3.5v11.3H662zm-39.2 0h3.4v11.3h-3.4zm28.8 0h3.4v11.3h-3.4zm-14.3 0h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M654 160.2v3.4h-15.2v-3.4zm1-8.7v3.3h-9.6v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M138.7 143.4h49.1v3.4h-49zm7.4 17h3.3v3.2h-3.3zm41.8-.2v3.4h-9.8v-3.4zm5.3-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M212.8 160.2v3.4h-18.6v-3.4zm-34.7-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M210 143.4h3.4v20.2H210zm-8.5 0h3.4v20.2h-3.4zm-44.8 8v3.4h-17.9v-3.3zm39.3 0v3.4h-17.9v-3.3z"}),M.createElement("path",{d:"M178.1 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M178.1 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M178.1 152.3h3.4v11.3h-3.4zm-39.3 0h3.4v11.3h-3.4zm28.8 0h3.4v11.3h-3.4zm-14.2 0h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M170 160.2v3.4h-15.1v-3.4zm1-8.7v3.3h-9.6v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M219.5 143.4h49v3.4h-49zm7.3 17h3.4v3.2h-3.4zm41.9-.2v3.4h-9.8v-3.4zm5.3-16.8h3.3v20.2H274z"}),M.createElement("path",{d:"M293.5 160.2v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M290.7 143.4h3.4v20.2h-3.4zm-8.4 0h3.4v20.2h-3.4zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M258.9 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M258.9 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M258.9 152.3h3.4v11.3h-3.4zm-39.3 0h3.3v11.3h-3.3zm28.8 0h3.4v11.3h-3.4zm-14.3 0h3.4v11.3H234z"}),M.createElement("path",{d:"M250.8 160.2v3.4h-15.2v-3.4zm1-8.7v3.3H242v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M300.7 143.4h49v3.4h-49zm7.3 17h3.4v3.2H308zm41.9-.2v3.4H340v-3.4zm5.3-16.8h3.3v20.2h-3.3z"}),M.createElement("path",{d:"M374.7 160.2v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3H340z"}),M.createElement("path",{d:"M372 143.4h3.3v20.2H372zm-8.5 0h3.4v20.2h-3.4zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M340 152.3h3.5v11.3H340z"}),M.createElement("path",{d:"M340 152.3h3.5v11.3H340z"}),M.createElement("path",{d:"M340 152.3h3.5v11.3H340zm-39.2 0h3.4v11.3h-3.4zm28.8 0h3.4v11.3h-3.4zm-14.3 0h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M332 160.2v3.4h-15.2v-3.4zm1-8.7v3.3h-9.6v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M381.4 143.4h49v3.4h-49zm7.3 17h3.4v3.2h-3.4zm42-.2v3.4h-9.9v-3.4zm5.2-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M455.4 160.2v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M452.7 143.4h3.3v20.2h-3.3zm-8.5 0h3.4v20.2h-3.4zm-44.8 8v3.4h-17.9v-3.3zm39.3 0v3.4h-17.9v-3.3z"}),M.createElement("path",{d:"M420.8 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M420.8 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M420.8 152.3h3.4v11.3h-3.4zm-39.3 0h3.4v11.3h-3.4zm28.8 0h3.4v11.3h-3.4zm-14.3 0h3.4v11.3h-3.3z"}),M.createElement("path",{d:"M412.7 160.2v3.4h-15.1v-3.4zm1-8.7v3.3H404v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M462.2 143.4h49v3.4h-49zm7.3 17h3.4v3.2h-3.4zm41.9-.2v3.4h-9.8v-3.4zm5.2-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M536.2 160.2v3.4h-18.6v-3.4zm-34.7-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M533.4 143.4h3.4v20.2h-3.4zm-8.4 0h3.3v20.2H525zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M501.6 152.3h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M501.6 152.3h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M501.6 152.3h3.3v11.3h-3.3zm-39.4 0h3.4v11.3h-3.4zm28.9 0h3.3v11.3h-3.3zm-14.3 0h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M493.4 160.2v3.4h-15.1v-3.4zm1-8.7v3.3h-9.6v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M543.4 143.4h49v3.4h-49zm7.3 17h3.4v3.2h-3.4zm41.9-.2v3.4h-9.8v-3.4zm5.2-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M617.4 160.2v3.4h-18.6v-3.4zm-34.6-7.9h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M614.6 143.4h3.4v20.2h-3.4zm-8.4 0h3.3v20.2h-3.3zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M582.8 152.3h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M582.8 152.3h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M582.8 152.3h3.3v11.3h-3.3zm-39.3 0h3.3v11.3h-3.3zm28.8 0h3.4v11.3h-3.4zm-14.3 0h3.4v11.3H558z"}),M.createElement("path",{d:"M574.6 160.2v3.4h-15.1v-3.4zm1-8.7v3.3H566v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M-183.8 143.4h49v3.4h-49zm7.3 17h3.4v3.2h-3.4zm42-.2v3.4h-9.9v-3.4zm5.2-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M-109.8 160.2v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M-112.5 143.4h3.3v20.2h-3.3zm-8.5 0h3.4v20.2h-3.4zm-44.8 8v3.4h-17.9v-3.3zm39.3 0v3.4h-17.9v-3.3z"}),M.createElement("path",{d:"M-144.4 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M-144.4 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M-144.4 152.3h3.4v11.3h-3.4zm-39.3 0h3.4v11.3h-3.4zm28.8 0h3.4v11.3h-3.4zm-14.3 0h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M-152.5 160.2v3.4h-15.2v-3.4zm1-8.7v3.3h-9.6v-3.3z"})),M.createElement("path",{fill:"#d90000",d:"M-68.8 339.5h6V350h-6zm160.5 0h6V350h-6zm-283.7 0h6V350h-6zm81.5 0h6V350h-6zm80.9 0h6V350h-6zm40 0h6V350h-6zm40.9 0h6V350h-6zm80.4 0h6V350h-6zm203 0h6.1V350h-6zm-162.1 0h6V350h-6zm40 0h6V350h-6zm40.5 0h6V350h-6zm40.4 0h6V350h-6zm323.2 0h6V350h-6zm-242.7 0h6V350h-6zm40.8 0h6V350h-6zm41.3 0h6V350h-6zm38.8 0h6V350h-6zm41.3 0h6V350h-6zm40.4 0h6V350h-6zm119.7 0h6V350h-6zm-38.8 0h6V350h-6zm-808.9 0h6V350h-6z"}),M.createElement("path",{fill:"#239e3f",d:"M-68.8 162.6h6v10.5h-6zm160.5 0h6v10.5h-6zm-283.7 0h6v10.5h-6zm81.5 0h6v10.5h-6zm80.9 0h6v10.5h-6zm40 0h6v10.5h-6zm40.9 0h6v10.5h-6zm80.4 0h6v10.5h-6zm203 0h6.1v10.5h-6zm-162.1 0h6v10.5h-6zm40 0h6v10.5h-6zm40.5 0h6v10.5h-6zm40.4 0h6v10.5h-6zm323.2 0h6v10.5h-6zm-242.7 0h6v10.5h-6zm40.8 0h6v10.5h-6zm41.3 0h6v10.5h-6zm38.8 0h6v10.5h-6zm41.3 0h6v10.5h-6zm40.4 0h6v10.5h-6zm119.7 0h6v10.5h-6zm-38.8 0h6v10.5h-6zm-808.9 0h6v10.5h-6z"}),M.createElement("g",{fill:"#da0000"},M.createElement("path",{d:"M279.8 197.5c8.4 10.4 34.5 67.6-15.7 105.2-23.7 17.8-9 18.6-8.3 21.6 38-20.1 50.3-47.5 50-72-.2-24.4-13.2-46-26-54.8"}),M.createElement("path",{d:"M284.8 194.8a73.3 73.3 0 0 1 15.7 112.4c27.2-6 62-86.4-15.7-112.4m-57.6 0a73.3 73.3 0 0 0-15.6 112.4c-27.3-6-62-86.4 15.6-112.4"}),M.createElement("path",{d:"M232.2 197.5c-8.4 10.4-34.5 67.6 15.7 105.2 23.6 17.8 9 18.6 8.3 21.6-38-20.1-50.3-47.5-50-72 .2-24.4 13.2-46 26-54.8"}),M.createElement("path",{d:"M304.2 319.1c-14.9.2-33.6-2-47.5-9.3 2.3 4.5 4.2 7.3 6.5 11.7 13.2 1.3 31.5 2.8 41-2.4m-95 0c14.9.2 33.6-2 47.5-9.3-2.3 4.5-4.2 7.3-6.5 11.7-13.2 1.3-31.5 2.8-41-2.4m27.3-138.7c3 8 10.9 9.2 19.3 4.5 6.2 3.6 15.7 3.9 19-4.1 2.5 19.8-18.3 15-19 11.2-7.8 7.5-22.2 3.2-19.3-11.6"}),M.createElement("path",{d:"m256.4 331.6 7.8-9 1.1-120.1-9.3-8.2-9.3 7.8 1.9 121z"})))))},r9,o9,i9,a9,s9;function tA(){return tA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tA.apply(this,arguments)}var YYe=function(t){return M.createElement("svg",tA({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 480"},t),r9||(r9=M.createElement("path",{fill:"#bd3d44",d:"M0 0h640v480H0"})),o9||(o9=M.createElement("path",{stroke:"#fff",strokeWidth:37,d:"M0 55.3h640M0 129h640M0 203h640M0 277h640M0 351h640M0 425h640"})),i9||(i9=M.createElement("path",{fill:"#192f5d",d:"M0 0h364.8v258.5H0"})),a9||(a9=M.createElement("marker",{id:"us_svg__a",markerHeight:30,markerWidth:30},M.createElement("path",{fill:"#fff",d:"m14 0 9 27L0 10h28L5 27z"}))),s9||(s9=M.createElement("path",{fill:"none",markerMid:"url(#us_svg__a)",d:"m0 0 16 11h61 61 61 61 60L47 37h61 61 60 61L16 63h61 61 61 61 60L47 89h61 61 60 61L16 115h61 61 61 61 60L47 141h61 61 60 61L16 166h61 61 61 61 60L47 192h61 61 60 61L16 218h61 61 61 61 60z"})))},l9,c9;function nA(){return nA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nA.apply(this,arguments)}var UYe=function(t){return M.createElement("svg",nA({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 480"},t),l9||(l9=M.createElement("defs",null,M.createElement("clipPath",{id:"sa_svg__a"},M.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"})))),c9||(c9=M.createElement("g",{fillRule:"evenodd",clipPath:"url(#sa_svg__a)",transform:"translate(80)scale(.9375)"},M.createElement("path",{fill:"#165d31",d:"M-128 0h768v512h-768z"}),M.createElement("path",{fill:"#fff",d:"M65.5 145.1c-.8 12-2 33 8.3 35.2 12.3 1.2 5.5-20.8 10-24.8.8-2 2.3-2 2.4.5v18.7c0 6 4 7.8 7 9 3.2-.2 5.4 0 6.6 3l1.6 32.3s7.4 2.2 7.8-18.1c.3-12-2.4-21.9-.8-24.2 0-2.3 3-2.4 5-1.3 3.2 2.2 4.6 5 9.6 4 7.6-2.2 12.2-5.9 12.3-11.7a47 47 0 0 0-3.5-16.6c.4-1-1.4-3.7-1-4.7 1.3 2.2 3.4 2 3.8 0-1.3-4.2-3.3-8.3-6.5-10-2.7-2.4-6.7-2-8 3-.8 5.7 2 12.4 6.1 18 .9 2.1 2.1 5.7 1.6 8.9-2.2 1.3-4.4.7-6.3-1.2 0 0-6-4.5-6-5.6 1.6-10.2.3-11.4-.6-14.3-.6-3.9-2.5-5.2-4-7.8-1.5-1.6-3.5-1.6-4.5 0-2.7 4.6-1.4 14.5.5 19 1.4 4.1 3.5 6.7 2.5 6.7-.8 2.3-2.5 1.7-3.8-1a66.6 66.6 0 0 1-2.1-17.4c-.5-4.6-1.1-14.4-4.2-17-1.8-2.4-4.5-1.2-5.5 1a82.4 82.4 0 0 0 .3 13.4c2 7.4 2.7 14 3.7 21.5.3 10.1-5.8 4.4-5.5-.7a45 45 0 0 0-.3-19.4c-1-2.6-2.1-3.2-4.6-2.8-1.9 0-6.8 5.3-8.2 14.3 0 0-1.2 4.6-1.7 8.7-.7 4.6-3.7 8-5.9-.6-1.8-6.3-3-21.6-6-18z"}),M.createElement("path",{fill:"#fff",d:"m99 194.2-32 15.4c.3-7.3 15.1-20.4 25.3-20.5 6.5.1 4.9 2.5 6.6 5.1z"}),M.createElement("path",{fill:"#fff",d:"M93.3 204.2c-16.8 43.5 39.5 49.6 45.8 1.8.6-2 3-3.9 3.4-.7-1.3 43.3-43.6 46.2-50.8 32.6a41.9 41.9 0 0 1-2.5-14.6c-1-8.5-5.5-5.2-6.2 3.2-.7 4.7-.5 6-.5 10.5 2.2 34.2 56.7 19.5 65.6-8.7 4.7-15.6-.8-27.1 1.7-27.1 5.4 5.8 13 .8 14.7-1.2.7-1 2.5-1.7 3.7-.4 4.2 3 11.6 1.6 13.2-3.7.9-5.3 1.6-10.7 1.8-16.2-3.5 1-6 1.7-6.3 3.2l-.7 4.6c-.3 1.5-3.2 1.5-3.4-.4-1.3-6-6.7-6.7-10 2.5-2.1 1.8-6.1 2.2-6.5-.5.5-6.2-2-7-7-4.1l-4.8-36.2c2 0 4 1.5 5.9-.9-2-6.5-6.5-19.7-9-20.7-1.1-1.4-2.1-.5-3.7-.1-2.6.8-5 3-4.2 7.4 3 18.8 5 33.1 8.1 52 .5 2.1-1.3 5-3.7 4.7-4-2.7-5-8.2-12-8-5 0-10.6 5.5-11.3 10.7-.9 4.2-1.2 8.7 0 12.3 3.5 4.2 7.7 3.8 11.4 2.9 3-1.3 5.5-4.3 6.6-3.6.7.9.1 10.9-14.3 18.5-8.7 4-15.7 4.8-19.4-2.3-2.3-4.5.2-21.4-5.6-17.5"}),M.createElement("path",{fill:"#fff",d:"M165 160c3.3-1.2 19.3-19.6 19.3-19.6l-2.4-2c-.9-.7-.8-1.5 0-2.2 4-2.4 2.7-7.4.7-9.8a9.7 9.7 0 0 0-8.7.1c-2.8 2.7-3.4 7-1.2 9.6 2.1 1 4.2 3.2 2.8 4.4-6.6 7-24.5 19.1-22.4 19.5.4.6 11.5.6 11.8 0zm-97 65c-6 9.6-6.5 23.9-3.2 28.2 1.8 2 4.7 2.9 6.8 2.2 3.8-1.6 5.5-9.3 4.6-12-1.3-2-2.3-2.3-3.6-.7-2.6 5.4-3.7 1.7-4-1.3a70 70 0 0 1 .8-15.2c.7-4.2 0-3-1.4-1.2m257.1-15.3c-5.8-12.6-13.9-25-16.4-29.7a558 558 0 0 0-24.8-36c-6.2-7.4 10.2 3.1-2-11.7l-8.9-7.5c-2-1.4-6.8-4-7.6.2-.4 3.8-.2 5.8.4 8.9.5 2 3.5 5.5 5 7.5a565 565 0 0 1 53.8 86.5c2.6-1.3 2-16.1.5-18.2"}),M.createElement("path",{fill:"#fff",d:"M299.6 251.5c-1.2 1.3 2.8 6.8 8 6.8 8.6-1 16.2-5.8 23.2-18.6a33 33 0 0 0 5.3-14.2 317 317 0 0 0-5.8-72.4c-.3-2 0-4.4.2-5 .6-.7 2.5 0 3.5-1.7 1.5-1.5-4-14-7-18.7-1-2.2-1.5-3.6-3.3.2a27 27 0 0 0-3 13.6c4.1 28.5 5.4 53.4 8 81.9.3 2.8-.1 6.8-2 8.4a80.2 80.2 0 0 1-27.1 19.7m116.5-.1c-6.2 3.6-6.2 7.7-1.2 7.8 8.6-1 18.8-1.7 25.8-12.3a41 41 0 0 0 4.2-16 303 303 0 0 0-4.7-71.4c-.2-2-1.1-6.7-.8-7.3.6-1.4 3.4.1 4.4-1.5 1.4-1.5-7.3-12.7-10.4-17.5-1-2.2-1.4-3.6-3.3.2a22.3 22.3 0 0 0-1.8 13.6c4.6 31 8 54.2 8.7 81.6-.4 2.6-.5 4-1.7 7.3-2.7 3.4-5.7 7.8-8.5 9.9-2.8 2-8.8 4-10.7 5.6"}),M.createElement("path",{fill:"#fff",d:"M420.7 223.7c0-7.3.1-13.5-.1-19a34 34 0 0 0-3-13.5c-1.8-4.1-.7-7.4-1.6-11.8-.8-4.4-.6-11-1.8-16.1-.4-2-1.4-8.5-1.1-9.2.5-1.4 2.4 0 3.4-1.6 1.4-1.5-5-18-8.2-22.7-1.1-2.1-3.3-1.4-5.8 2-2.5 2.3-1.6 7.4-.6 12.3 6.1 32.3 10.8 61.6 9.8 92.3-.4 2.6 9-7.8 9-12.7m-45.7-40c-3.9-.2-12-7.7-14.4-12a8 8 0 0 1 .4-6.5c1.5-1 3.7-2 5.4-1 0 0 1.7 2.4 1.4 2.7 2 1 3 .5 3.2-.4.1-1.5-.6-2.4-.6-4 .9-4.6 6-5.3 8-2.4 1.4 1.8 2 5.5 2.1 8 0 1.3-2-.2-3.3 0-1.1.4-1.4 1.8-1.5 3-.2 3.3-.6 8.6-.7 12.5zm-71.8 48c1-9.8-.4-27.3-.5-33.1A477 477 0 0 0 299 154c-1.2-8.4 3.4.9 2.8-4-1.5-8.3-6.1-14-11.6-21.5-1.7-2.5-1.7-3-4.4.6-3 6.7-.4 11.4.4 16.7 3.9 17.2 6.2 33 7.3 48.7a393 393 0 0 1 .4 49c3 .1 7.6-4.7 9.3-11.8"}),M.createElement("path",{fill:"#fff",d:"M434 216c-6.9-11.6-17.2-24-20-28.7a658 658 0 0 0-29.2-37.8c-8.5-9 4-1.5-1.6-8.5-4.7-5.1-6-6.8-10.1-9.9-2-1.3-3.2-3.8-4 .5a83 83 0 0 0-.2 11.2c0 1.7 1.8 5 3.4 7 20.7 25.5 43.4 51.5 61.6 84.2 2.6-1.3 1.7-16 0-18z"}),M.createElement("path",{fill:"#165d31",d:"M122.6 194.7c-.5.9-1.6 2-1.2 3.1.7 1 1.4 1.3 2.6 1.3 1.1 0 2.7.3 3-.3.6-.7 1-2 .6-3.3-1.2-3-4.4-1.8-5-.8"}),M.createElement("path",{fill:"#fff",d:"M354.2 362.5c9.2.4 15.2.5 23.3 1.4l9.6-1c10.6-1 11 15.1 11 15.1 0 9.5-3.7 10-8.4 11-2.7.4-4-1.6-5.5-3.6a14 14 0 0 1-7 .4c-3.9-.2-7.7-.2-11.5-.5-4-.3-6.2.5-10.3.1-.8 1.3-2 3.1-4.4 2.6-2-.3-4.5-6-3.8-10.5 1.5-3.2 1-2.1 1-3.5-37.6-1-75.5-2.7-112.3-2.2-28.8.1-57.2 1.3-85.7 2.5-15.2-.2-26.8-2.6-34.8-14.3.8 0 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.6-7.4-9.9-7.4-9.9-3-2.7-5-2-7.1 0-6 5.8-8.6 16.4-12.7 23.8-1 1.7-4 3-7.2-.1-8.2-11.3-3.4-27.3-4.4-23.2M309 126.7c3.8 1.5 6.4 9.2 5.6 13-.8 4.5-2.8 9.5-4.2 8.9-1.6-.6 1-4.6-.5-8.8-.8-2.8-6-7.8-5.4-9.2-1-3.1 2.2-4.5 4.5-4z"}),M.createElement("path",{fill:"#fff",d:"M356.6 225c.7-9.2-.6-14.8-.8-20.2s-6.1-46.6-7.3-50.6c-1.5-7.8 5.7-1 4.9-5.6-2.5-5.6-8.6-13.9-10.5-18.8-1.2-2-.7-4-3.3-.5a42.3 42.3 0 0 0-2.3 19.2c6.2 32.3 12.5 59.1 11.5 89.8 3 0 6.3-6.7 7.8-13.3m64.4-85.3c3.5 1.7 5.5 11.3 5.1 14-.7 5-2.5 10.4-3.8 9.7-1.5-.6.3-7.4-.4-9.5-.8-3-5.5-8.4-5-10-1-3.4 2-4.8 4.1-4.2m-255.7 67.9c3.3 1.3 5.3 8.3 5 10.3-.8 3.7-2.5 7.7-3.8 7.1-1.3-.4.3-5.4-.3-7-.3-3.7-4.9-5.7-4.8-7.3-.8-3 2-3.5 4-3.1z"}),M.createElement("path",{fill:"#165d31",d:"M244.9 218.2c4.2.2 6.3 3.6 2.4 5-4 1.3-7.7 2.4-7.8 8 1.5 8-2 5.2-4 4.2-2.4-1.8-9.2-6-10.2-15-.1-2.1 1.6-4 4.3-4 4 1.1 10 1.2 15.3 1.8"}),M.createElement("path",{fill:"#fff",d:"M77.4 124.4c4.8 1.4 5.1 8.6 4.8 10.7-.7 3.8-2.4 7.9-3.6 7.4-1.4-.5 0-5.7-.7-7.3-.7-2.2-4.8-6.4-4.4-7.6-.9-2.5 2-3.7 3.9-3.2m95.9 33.6c-3.8 2-5.2 8-2.9 11.6 2.2 3 5.6 1.9 6 1.9 3.7.4 5.9-6.9 5.9-6.9s.1-2-4.2 1.9c-1.9.3-2-.4-2.5-1.4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-53.6c-1 .3-2.4-.6-3-2s-.3-2.6.7-2.9 2.3.7 3 2 .3 2.7-.8 3zM355.2 375c9.4.4 18.2 0 27.5.5 1.7 1.5.5 5-.6 4.8l-7.8-.3c-.1-3-7.7-2.5-7.5.1-4.1.5-7.8-.1-12-.3-1.2-1.5-1-4.2.4-4.8"}))))};const KYe=({defaultValue:e,...t})=>{const[n,r]=Mn(e??"fa"),o={fa:"\u0641\u0627\u0631\u0633\u06CC",en:"English",ar:"\u0627\u0644\u0639\u0631\u0628\u06CC\u0629"},i=s=>{switch(s){case"fa":return W(n9,{className:"KdLanguageChange-country-flag"});case"ar":return W(UYe,{className:"KdLanguageChange-country-flag"});case"en":return W(YYe,{className:"KdLanguageChange-country-flag"});default:return W(n9,{className:"KdLanguageChange-country-flag"})}},a=s=>{r(s),t?.onChange(s)};return W(q8,{className:"KdLanguageChange-MenubarRoot",dir:"rtl",...t,children:yt(Z8,{children:[yt(J8,{className:"KdLanguageChange-MenubarTrigger",children:[i(n),o[n]]}),W(QP,{children:W(Q8,{align:"start",side:"bottom",sideOffset:10,className:"KdLanguageChange-MenubarContent",children:Object.keys(o).map((s,c)=>yt("div",{className:"KdLanguageChange-MenubarItem",onClick:()=>a(s),children:[i(s),o[s]]},c))})})]})})},XYe=_i("img")(),GYe=({pathProp:e,randomNumber:t,...n})=>W(XYe,{...n,alt:"CAPTCHA",src:`${e.APIURL}${vEe}${t}`});function qYe({Component:e,...t}){const n=_i(e)();return W(n,{...t})}function ZYe({isOpen:e,onClose:t,...n}){return W(mre,{...n,open:e,onClose:t})}const JYe=_i("span")(),QYe=({title:e="",arrow:t,children:n,placement:r,...o})=>W(CL,{title:e,TransitionComponent:qk,enterDelay:700,leaveDelay:200,arrow:t,placement:r,children:W(JYe,{...o,children:n})}),eUe=(e,t,n,r,o)=>{const i={IMG:"create/image",TEXT:"create/text",VIDEO:"create/video",COMPRESS:"create/compress",FONT:"create/font"};return e?{url:i.IMG,type:"IMG"}:t?{url:i.TEXT,type:"TEXT"}:n?{url:i.VIDEO,type:"VIDEO"}:r?{url:i.COMPRESS,type:"COMPRESS"}:o?{url:i.FONT,type:"FONT"}:{url:"create",type:void 0}};function rA({APIURL:e=window?.env?.REACT_APP_APIURL??void 0,sessionId:t=localStorage.getItem("sessionId")??"",fileSizeLimit:n=2,fileCountLimit:r=20,validUploadType:o=["IMG","TEXT","VIDEO","COMPRESS","FONT"],multiple:i=!0,onError:a}){const[s,c]=Mn([]),f=Yt(0),[p,m]=Mn([]),v={},y=k=>{c(E=>{const T=E.filter(_=>_.session!==k);return f.current=T.length,T})},w=(k,E)=>{console.log(k,"err"),a&&a("\u0639\u0645\u0644\u06CC\u0627\u062A \u0628\u0627 \u062E\u0637\u0627 \u0645\u0648\u0627\u062C\u0647 \u0634\u062F"),m(T=>T.filter(_=>_.file!==E))};function C(k,E){if(!e)a&&a("Not exist APIURL"),console.error("Not exist APIURL");else try{const T=k.target.files||[];if(!i&&T.length>1){a&&a("\u062D\u062F\u0627\u06A9\u062B\u0631 1 \u0641\u0627\u06CC\u0644 \u0645\u06CC\u200C\u062A\u0648\u0627\u0646\u06CC\u062F \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0646\u06CC\u062F.");return}if(i&&T.length+f.current>r){a&&a(`\u062D\u062F\u0627\u06A9\u062B\u0631 ${r} \u0641\u0627\u06CC\u0644 \u0645\u06CC\u200C\u062A\u0648\u0627\u0646\u06CC\u062F \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0646\u06CC\u062F.`);return}for(let _=0;_<T.length;_++){const R=T[_];if(R.size===0){a&&a("\u0634\u0645\u0627 \u0646\u0645\u06CC\u200C\u062A\u0648\u0627\u0646\u06CC\u062F \u0641\u0627\u06CC\u0644 \u062E\u0627\u0644\u06CC \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0646\u06CC\u062F");return}const N=R.size/1024/1024,$=R.name,V=$.lastIndexOf(".")+1,K=$.substr(V,$.length).toLowerCase(),Y=E?!!E?.image&&!!(E?.image==="ALL"?qa.image:E?.image)?.find(se=>se===K):!!o?.find(se=>se==="IMG")&&!!qa?.image?.find(se=>se===K),J=E?!!E?.text&&!!(E?.text==="ALL"?qa.text:E?.text)?.find(se=>se===K):!!o?.find(se=>se==="TEXT")&&!!qa?.text?.find(se=>se===K),X=E?!!E?.video&&!!(E?.video==="ALL"?qa.video:E?.video)?.find(se=>se===K):!!o?.find(se=>se==="VIDEO")&&!!qa?.video?.find(se=>se===K),ne=E?!!E?.compress&&!!(E?.compress==="ALL"?qa.compress:E?.compress)?.find(se=>se===K):!!o?.find(se=>se==="COMPRESS")&&!!qa?.compress?.find(se=>se===K),re=E?!!E?.font&&!!(E?.font==="ALL"?qa.font:E?.font)?.find(se=>se===K):!!o?.find(se=>se==="FONT")&&!!qa?.font?.find(se=>se===K),{url:te,type:oe}=eUe(Y,J,X,ne,re),ue=`${e}${ml.upload}${a1.pathFileUpload}${te}`;if(N>n)a&&a(`\u062D\u062F\u0627\u06A9\u062B\u0631 \u062D\u062C\u0645 \u0622\u067E\u0644\u0648\u062F ${n} \u0645\u06AF\u0627\u0628\u0627\u06CC\u062A \u0645\u06CC\u200C\u0628\u0627\u0634\u062F.`);else if(oe){const se={file:R,progress:0,type:oe};m(Ve=>i?[...Ve,se]:[se]);const ce=512*1024,ge=new FormData;ge.append("chunkSize",String(ce)),ge.append("totalSize",String(R.size)),ge.append("fileName",R.name);const fe=Math.ceil(R.size/ce),Oe=[];for(let Ve=1;Ve<=fe;Ve++)Oe.push(Ve);fetch(ue,{method:"POST",headers:v,body:ge,credentials:"include"}).then(Ve=>Ve.json()).then(async Ve=>{let ke=0;if(Ve?.data?.sessionId?.length>0){let he=1,Pe=!1;for(let Me=0;Me<R.size;Me+=ce,he++)if(!Pe){const De=R.slice(Me,Me+ce),Be=new FormData;Be.append("data",De);const Le={method:"PUT",headers:{...v,sessionId:t},body:Be,credentials:"include"};await fetch(`${e}${ml.upload}${a1.pathForUploadCunk}${Ve?.data?.sessionId}?chunkNumber=${he}`,Le).then(Ne=>{if(Ne.status!==200)Pe=!0,w(Pe,R);else{ke=ke+De.size;const Te=Math.round(ke/R.size*100);m(je=>je.map(Ie=>Ie.file===R?{...Ie,progress:Te,session:Ve?.data?.sessionId}:Ie))}})}if(!Pe){const Me={method:"GET",headers:{...v,sessionId:t},credentials:"include"};await fetch(`${e}${ml.upload}${a1.pathForGetFile}${Ve?.data?.sessionId}`,Me).then(De=>De.json()).then(De=>{m(Le=>Le.filter(Ne=>Ne.session!==Ve?.data?.sessionId));const Be={session:Ve?.data?.sessionId,concluded:De.concluded,progress:100,fileURL:`${e}${ml.upload}${De.fileLink}`,fileName:$??"",type:oe};c(Le=>(i?f.current=Le.length+1:f.current=1,i?[...Le,Be]:[Be]))}).catch(De=>{w(De,R)})}}else w(`err in ${te} service`,R)}).catch(Ve=>{w(Ve,R)})}else a&&a("\u0644\u0637\u0641\u0627 \u0641\u0631\u0645\u062A \u0645\u0646\u0627\u0633\u0628 \u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F.")}}catch(T){console.log("Error",T)}}return{APIURL:e,uploadingFiles:p,files:s,removeFile:y,handleFileChange:C,fileExtension:qa}}export{xEe as KdAdvanceFileUploader,V7e as KdAlert,GYe as KdCaptcha,IEe as KdChart2D,NEe as KdChart3D,ZYe as KdDrawer,k6 as KdDropDownField,bEe as KdFileUploader,S6 as KdFormContainer,QTe as KdFormField,W7e as KdGridHeader,H7e as KdGridPanel,_We as KdHtmlEditor,VWe as KdImageBox,KYe as KdLanguageChange,eEe as KdLazyDropDownField,WYe as KdLoading,jYe as KdMenubar,X7 as KdModal,G7 as KdPanelWrapper,HYe as KdRadioListCustom,o8 as KdSearchableInput,tEe as KdSearchableInputField,z7e as KdStepContent,$7e as KdStepList,L7e as KdStepRoot,B7e as KdStepTrigger,qYe as KdStyledComponent,_7e as KdTabsContent,A7e as KdTabsList,M7e as KdTabsRoot,R7e as KdTabsTrigger,oEe as KdTagBoxInput,QYe as KdTooltip,A8e as KdTree,rEe as KdTreeField,mEe as KdTypography,gTe as KdpaAccordion,bTe as KdpaAccordionDetails,vTe as KdpaAccordionSummary,Rle as KdpaAlert,Ile as KdpaAlertTitle,kg as KdpaAutoComplete,o3 as KdpaAvatar,Lle as KdpaBadge,B0e as KdpaButton,V0e as KdpaCheckBox,Vle as KdpaChip,K0e as KdpaCircularProgress,Y4 as KdpaCollapse,pE as KdpaCollapseTransitions,K1e as KdpaCopyToClipboard,y0e as KdpaDatePicker,F0e as KdpaDateTimePicker,qTe as KdpaDialog,U4 as KdpaDivider,v1e as KdpaDropDownLazy,e1e as KdpaDropZone,Z0e as KdpaFade,UTe as KdpaFileUploader,XTe as KdpaFormContainer,B4 as KdpaFormControl,z0e as KdpaFormControlLabel,GTe as KdpaFormField,VTe as KdpaFullScreenDialog,nT as KdpaGrid,$le as KdpaGridBadge,J0e as KdpaGrow,j4 as KdpaIconButton,G1e as KdpaInlineSpinner,Km as KdpaInput,hce as KdpaInputLabel,pce as KdpaInputMultiline,q1e as KdpaLoading,fE as KdpaMenuItem,$we as KdpaModal,Lwe as KdpaModalImage,jL as KdpaMuiBadge,zwe as KdpaPaginationGrid,px as KdpaPrimaryButton,r3 as KdpaRadio,mce as KdpaRadioGroup,zTe as KdpaRtlProvider,Tg as KdpaSecondaryButton,WTe as KdpaSegment,V4 as KdpaSelect,Z1e as KdpaSkeleton,Q0e as KdpaSlide,Fwe as KdpaSlider,W0e as KdpaSweetAlertConfirm,Y0e as KdpaSweetAlertDelete,U0e as KdpaSweetAlertOK,gce as KdpaSwitch,G0e as KdpaTab,q0e as KdpaTabs,yTe as KdpaThemeProvider,bye as KdpaTimePicker,Wl as KdpaTooltip,Vwe as KdpaTree,mTe as KdpaTreeSelect,Ua as KdpaTypography,H2 as KdpaUploadedFile,j2 as KdpaUploadingFile,rA as KdpaUseFileUploadHook,exe as KdpaZoom,qa as fileExtension,Td as pathFile,a1 as pathServicesUpload,ml as serviceName};
|
|
1473
|
+
`)},z9e=0,Rp=[];function B9e(e){var t=M.useRef([]),n=M.useRef([0,0]),r=M.useRef(),o=M.useState(z9e++)[0],i=M.useState(function(){return T8()})[0],a=M.useRef(e);M.useEffect(function(){a.current=e},[e]),M.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var C=mE([e.lockRef.current],(e.shards||[]).map(D8),!0).filter(Boolean);return C.forEach(function(k){return k.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),C.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=M.useCallback(function(C,k){if("touches"in C&&C.touches.length===2)return!a.current.allowPinchZoom;var E=Fw(C),T=n.current,_="deltaX"in C?C.deltaX:T[0]-E[0],R="deltaY"in C?C.deltaY:T[1]-E[1],N,$=C.target,V=Math.abs(_)>Math.abs(R)?"h":"v";if("touches"in C&&V==="h"&&$.type==="range")return!1;var K=O8(V,$);if(!K)return!0;if(K?N=V:(N=V==="v"?"h":"v",K=O8(V,$)),!K)return!1;if(!r.current&&"changedTouches"in C&&(_||R)&&(r.current=N),!N)return!0;var Y=r.current||N;return L9e(Y,k,C,Y==="h"?_:R,!0)},[]),c=M.useCallback(function(C){var k=C;if(!(!Rp.length||Rp[Rp.length-1]!==i)){var E="deltaY"in k?A8(k):Fw(k),T=t.current.filter(function(N){return N.name===k.type&&N.target===k.target&&$9e(N.delta,E)})[0];if(T&&T.should){k.cancelable&&k.preventDefault();return}if(!T){var _=(a.current.shards||[]).map(D8).filter(Boolean).filter(function(N){return N.contains(k.target)}),R=_.length>0?s(k,_[0]):!a.current.noIsolation;R&&k.cancelable&&k.preventDefault()}}},[]),f=M.useCallback(function(C,k,E,T){var _={name:C,delta:k,target:E,should:T};t.current.push(_),setTimeout(function(){t.current=t.current.filter(function(R){return R!==_})},1)},[]),p=M.useCallback(function(C){n.current=Fw(C),r.current=void 0},[]),m=M.useCallback(function(C){f(C.type,A8(C),C.target,s(C,e.lockRef.current))},[]),v=M.useCallback(function(C){f(C.type,Fw(C),C.target,s(C,e.lockRef.current))},[]);M.useEffect(function(){return Rp.push(i),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:v}),document.addEventListener("wheel",c,Np),document.addEventListener("touchmove",c,Np),document.addEventListener("touchstart",p,Np),function(){Rp=Rp.filter(function(C){return C!==i}),document.removeEventListener("wheel",c,Np),document.removeEventListener("touchmove",c,Np),document.removeEventListener("touchstart",p,Np)}},[]);var y=e.removeScrollBar,w=e.inert;return M.createElement(M.Fragment,null,w?M.createElement(i,{styles:F9e(o)}):null,y?M.createElement(P9e,{gapMode:"margin"}):null)}var V9e=v9e(k8,B9e),_8=M.forwardRef(function(e,t){return M.createElement(Iw,fl({},e,{ref:t,sideCar:V9e}))});_8.classNames=Iw.classNames;var j9e=_8;const N8=["Enter"," "],H9e=["ArrowDown","PageUp","Home"],R8=["ArrowUp","PageDown","End"],W9e=[...H9e,...R8],Y9e={ltr:[...N8,"ArrowRight"],rtl:[...N8,"ArrowLeft"]},U9e={ltr:["ArrowLeft"],rtl:["ArrowRight"]},zw="Menu",[hb,K9e,X9e]=kP(zw),[nf,G9e]=Pp(zw,[X9e,g8,Dp]),Bw=g8(),I8=Dp(),[L8,Pu]=nf(zw),[q9e,Vw]=nf(zw),Z9e=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:a=!0}=e,s=Bw(t),[c,f]=Mn(null),p=Yt(!1),m=Is(i),v=Dw(o);return vn(()=>{const y=()=>{p.current=!0,document.addEventListener("pointerdown",w,{capture:!0,once:!0}),document.addEventListener("pointermove",w,{capture:!0,once:!0})},w=()=>p.current=!1;return document.addEventListener("keydown",y,{capture:!0}),()=>{document.removeEventListener("keydown",y,{capture:!0}),document.removeEventListener("pointerdown",w,{capture:!0}),document.removeEventListener("pointermove",w,{capture:!0})}},[]),cn(w8,s,cn(L8,{scope:t,open:n,onOpenChange:m,content:c,onContentChange:f},cn(q9e,{scope:t,onClose:Zn(()=>m(!1),[m]),isUsingKeyboardRef:p,dir:v,modal:a},r)))},$8=or((e,t)=>{const{__scopeMenu:n,...r}=e,o=Bw(n);return cn(s9e,B({},o,r,{ref:t}))}),F8="MenuPortal",[J9e,z8]=nf(F8,{forceMount:void 0}),Q9e=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=Pu(F8,t);return cn(J9e,{scope:t,forceMount:n},cn(db,{present:n||i.open},cn(c9e,{asChild:!0,container:o},r)))},Ls="MenuContent",[eYe,B8]=nf(Ls),tYe=or((e,t)=>{const n=z8(Ls,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=Pu(Ls,e.__scopeMenu),a=Vw(Ls,e.__scopeMenu);return cn(hb.Provider,{scope:e.__scopeMenu},cn(db,{present:r||i.open},cn(hb.Slot,{scope:e.__scopeMenu},a.modal?cn(nYe,B({},o,{ref:t})):cn(rYe,B({},o,{ref:t})))))}),nYe=or((e,t)=>{const n=Pu(Ls,e.__scopeMenu),r=Yt(null),o=Oa(t,r);return vn(()=>{const i=r.current;if(i)return _Fe(i)},[]),cn(GP,B({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:fr(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),rYe=or((e,t)=>{const n=Pu(Ls,e.__scopeMenu);return cn(GP,B({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),GP=or((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEntryFocus:c,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:v,onDismiss:y,disableOutsideScroll:w,...C}=e,k=Pu(Ls,n),E=Vw(Ls,n),T=Bw(n),_=I8(n),R=K9e(n),[N,$]=Mn(null),V=Yt(null),K=Oa(t,V,k.onContentChange),Y=Yt(0),J=Yt(""),X=Yt(0),ne=Yt(null),re=Yt("right"),te=Yt(0),oe=w?j9e:GC,ue=w?{as:ub,allowPinchZoom:!0}:void 0,se=ge=>{var fe,Oe;const Re=J.current+ge,Ve=R().filter(Be=>!Be.disabled),ke=document.activeElement,he=(fe=Ve.find(Be=>Be.ref.current===ke))===null||fe===void 0?void 0:fe.textValue,Pe=Ve.map(Be=>Be.textValue),Me=mYe(Pe,Re,he),De=(Oe=Ve.find(Be=>Be.textValue===Me))===null||Oe===void 0?void 0:Oe.ref.current;(function Be(Le){J.current=Le,window.clearTimeout(Y.current),Le!==""&&(Y.current=window.setTimeout(()=>Be(""),1e3))})(Re),De&&setTimeout(()=>De.focus())};vn(()=>()=>window.clearTimeout(Y.current),[]),z8e();const ce=Zn(ge=>{var fe,Oe;return re.current===((fe=ne.current)===null||fe===void 0?void 0:fe.side)&&vYe(ge,(Oe=ne.current)===null||Oe===void 0?void 0:Oe.area)},[]);return cn(eYe,{scope:n,searchRef:J,onItemEnter:Zn(ge=>{ce(ge)&&ge.preventDefault()},[ce]),onItemLeave:Zn(ge=>{var fe;ce(ge)||((fe=V.current)===null||fe===void 0||fe.focus(),$(null))},[ce]),onTriggerLeave:Zn(ge=>{ce(ge)&&ge.preventDefault()},[ce]),pointerGraceTimerRef:X,onPointerGraceIntentChange:Zn(ge=>{ne.current=ge},[])},cn(oe,ue,cn(B8e,{asChild:!0,trapped:o,onMountAutoFocus:fr(i,ge=>{var fe;ge.preventDefault(),(fe=V.current)===null||fe===void 0||fe.focus()}),onUnmountAutoFocus:a},cn(L8e,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:v,onDismiss:y},cn(MP,B({asChild:!0},_,{dir:E.dir,orientation:"vertical",loop:r,currentTabStopId:N,onCurrentTabStopIdChange:$,onEntryFocus:fr(c,ge=>{E.isUsingKeyboardRef.current||ge.preventDefault()})}),cn(l9e,B({role:"menu","aria-orientation":"vertical","data-state":H8(k.open),"data-radix-menu-content":"",dir:E.dir},T,C,{ref:K,style:{outline:"none",...C.style},onKeyDown:fr(C.onKeyDown,ge=>{const Oe=ge.target.closest("[data-radix-menu-content]")===ge.currentTarget,Re=ge.ctrlKey||ge.altKey||ge.metaKey,Ve=ge.key.length===1;Oe&&(ge.key==="Tab"&&ge.preventDefault(),!Re&&Ve&&se(ge.key));const ke=V.current;if(ge.target!==ke||!W9e.includes(ge.key))return;ge.preventDefault();const Pe=R().filter(Me=>!Me.disabled).map(Me=>Me.ref.current);R8.includes(ge.key)&&Pe.reverse(),hYe(Pe)}),onBlur:fr(e.onBlur,ge=>{ge.currentTarget.contains(ge.target)||(window.clearTimeout(Y.current),J.current="")}),onPointerMove:fr(e.onPointerMove,pb(ge=>{const fe=ge.target,Oe=te.current!==ge.clientX;if(ge.currentTarget.contains(fe)&&Oe){const Re=ge.clientX>te.current?"right":"left";re.current=Re,te.current=ge.clientX}}))})))))))}),oYe="MenuItem",iYe=or((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=B8(oYe,n),s=I8(n),c=Yt(null),f=Oa(t,c),[p,m]=Mn(!1),[v,y]=Mn("");return vn(()=>{const w=c.current;if(w){var C;y(((C=w.textContent)!==null&&C!==void 0?C:"").trim())}},[i.children]),cn(hb.ItemSlot,{scope:n,disabled:r,textValue:o??v},cn(PP,B({asChild:!0},s,{focusable:!r}),cn(Yi.div,B({role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},i,{ref:f,onPointerMove:fr(e.onPointerMove,pb(w=>{r?a.onItemLeave(w):(a.onItemEnter(w),w.defaultPrevented||w.currentTarget.focus())})),onPointerLeave:fr(e.onPointerLeave,pb(w=>a.onItemLeave(w))),onFocus:fr(e.onFocus,()=>m(!0)),onBlur:fr(e.onBlur,()=>m(!1))}))))}),aYe="MenuRadioGroup";nf(aYe,{value:void 0,onValueChange:()=>{}});const sYe="MenuItemIndicator";nf(sYe,{checked:!1});const V8="MenuSub",[lYe,j8]=nf(V8),cYe=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:o}=e,i=Pu(V8,t),a=Bw(t),[s,c]=Mn(null),[f,p]=Mn(null),m=Is(o);return vn(()=>(i.open===!1&&m(!1),()=>m(!1)),[i.open,m]),cn(w8,a,cn(L8,{scope:t,open:r,onOpenChange:m,content:f,onContentChange:p},cn(lYe,{scope:t,contentId:tf(),triggerId:tf(),trigger:s,onTriggerChange:c},n)))},jw="MenuSubTrigger",uYe=or((e,t)=>{const n=Pu(jw,e.__scopeMenu),r=Vw(jw,e.__scopeMenu),o=j8(jw,e.__scopeMenu),i=B8(jw,e.__scopeMenu),a=Yt(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=i,f={__scopeMenu:e.__scopeMenu},p=Zn(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return vn(()=>p,[p]),vn(()=>{const m=s.current;return()=>{window.clearTimeout(m),c(null)}},[s,c]),cn($8,B({asChild:!0},f),cn(iYe,B({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":H8(n.open)},e,{ref:CP(t,o.onTriggerChange),onClick:m=>{var v;(v=e.onClick)===null||v===void 0||v.call(e,m),!(e.disabled||m.defaultPrevented)&&(m.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:fr(e.onPointerMove,pb(m=>{i.onItemEnter(m),!m.defaultPrevented&&!e.disabled&&!n.open&&!a.current&&(i.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{n.onOpenChange(!0),p()},100))})),onPointerLeave:fr(e.onPointerLeave,pb(m=>{var v;p();const y=(v=n.content)===null||v===void 0?void 0:v.getBoundingClientRect();if(y){var w;const C=(w=n.content)===null||w===void 0?void 0:w.dataset.side,k=C==="right",E=k?-5:5,T=y[k?"left":"right"],_=y[k?"right":"left"];i.onPointerGraceIntentChange({area:[{x:m.clientX+E,y:m.clientY},{x:T,y:y.top},{x:_,y:y.top},{x:_,y:y.bottom},{x:T,y:y.bottom}],side:C}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(m),m.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:fr(e.onKeyDown,m=>{const v=i.searchRef.current!=="";if(!(e.disabled||v&&m.key===" ")&&Y9e[r.dir].includes(m.key)){var y;n.onOpenChange(!0),(y=n.content)===null||y===void 0||y.focus(),m.preventDefault()}})})))}),dYe="MenuSubContent",fYe=or((e,t)=>{const n=z8(Ls,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=Pu(Ls,e.__scopeMenu),a=Vw(Ls,e.__scopeMenu),s=j8(dYe,e.__scopeMenu),c=Yt(null),f=Oa(t,c);return cn(hb.Provider,{scope:e.__scopeMenu},cn(db,{present:r||i.open},cn(hb.Slot,{scope:e.__scopeMenu},cn(GP,B({id:s.contentId,"aria-labelledby":s.triggerId},o,{ref:f,align:"start",side:a.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:p=>{var m;a.isUsingKeyboardRef.current&&((m=c.current)===null||m===void 0||m.focus()),p.preventDefault()},onCloseAutoFocus:p=>p.preventDefault(),onFocusOutside:fr(e.onFocusOutside,p=>{p.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:fr(e.onEscapeKeyDown,p=>{a.onClose(),p.preventDefault()}),onKeyDown:fr(e.onKeyDown,p=>{const m=p.currentTarget.contains(p.target),v=U9e[a.dir].includes(p.key);if(m&&v){var y;i.onOpenChange(!1),(y=s.trigger)===null||y===void 0||y.focus(),p.preventDefault()}})})))))});function H8(e){return e?"open":"closed"}function hYe(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function pYe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function mYe(e,t,n){const o=t.length>1&&Array.from(t).every(f=>f===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let a=pYe(e,Math.max(i,0));o.length===1&&(a=a.filter(f=>f!==n));const c=a.find(f=>f.toLowerCase().startsWith(o.toLowerCase()));return c!==n?c:void 0}function gYe(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i].x,c=t[i].y,f=t[a].x,p=t[a].y;c>r!=p>r&&n<(f-s)*(r-c)/(p-c)+s&&(o=!o)}return o}function vYe(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return gYe(n,t)}function pb(e){return t=>t.pointerType==="mouse"?e(t):void 0}const bYe=Z9e,yYe=$8,xYe=Q9e,wYe=tYe,CYe=cYe,SYe=uYe,kYe=fYe,qP="Menubar",[ZP,TYe,EYe]=kP(qP),[W8,dUe]=Pp(qP,[EYe,Dp]),rf=G9e(),Y8=Dp(),[OYe,JP]=W8(qP),MYe=or((e,t)=>{const{__scopeMenubar:n,value:r,onValueChange:o,defaultValue:i,loop:a=!0,dir:s,...c}=e,f=Dw(s),p=Y8(n),[m="",v]=Aw({prop:r,onChange:o,defaultProp:i}),[y,w]=Mn(null);return cn(OYe,{scope:n,value:m,onMenuOpen:Zn(C=>{v(C),w(C)},[v]),onMenuClose:Zn(()=>v(""),[v]),onMenuToggle:Zn(C=>{v(k=>k?"":C),w(C)},[v]),dir:f,loop:a},cn(ZP.Provider,{scope:n},cn(ZP.Slot,{scope:n},cn(MP,B({asChild:!0},p,{orientation:"horizontal",loop:a,dir:f,currentTabStopId:y,onCurrentTabStopIdChange:w}),cn(Yi.div,B({role:"menubar"},c,{ref:t}))))))}),U8="MenubarMenu",[PYe,K8]=W8(U8),AYe=e=>{const{__scopeMenubar:t,value:n,...r}=e,o=tf(),i=n||o||"LEGACY_REACT_AUTO_VALUE",a=JP(U8,t),s=rf(t),c=Yt(null),f=Yt(!1),p=a.value===i;return vn(()=>{p||(f.current=!1)},[p]),cn(PYe,{scope:t,value:i,triggerId:tf(),triggerRef:c,contentId:tf(),wasKeyboardTriggerOpenRef:f},cn(bYe,B({},s,{open:p,onOpenChange:m=>{m||a.onMenuClose()},modal:!1,dir:a.dir},r)))},X8="MenubarTrigger",DYe=or((e,t)=>{const{__scopeMenubar:n,disabled:r=!1,...o}=e,i=Y8(n),a=rf(n),s=JP(X8,n),c=K8(X8,n),f=Yt(null),p=Oa(t,f,c.triggerRef),[m,v]=Mn(!1),y=s.value===c.value;return cn(ZP.ItemSlot,{scope:n,value:c.value,disabled:r},cn(PP,B({asChild:!0},i,{focusable:!r,tabStopId:c.value}),cn(yYe,B({asChild:!0},a),cn(Yi.button,B({type:"button",role:"menuitem",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":y,"aria-controls":y?c.contentId:void 0,"data-highlighted":m?"":void 0,"data-state":y?"open":"closed","data-disabled":r?"":void 0,disabled:r},o,{ref:p,onPointerDown:fr(e.onPointerDown,w=>{!r&&w.button===0&&w.ctrlKey===!1&&(s.onMenuOpen(c.value),y||w.preventDefault())}),onPointerEnter:fr(e.onPointerEnter,()=>{if(!!s.value&&!y){var C;s.onMenuOpen(c.value),(C=f.current)===null||C===void 0||C.focus()}}),onKeyDown:fr(e.onKeyDown,w=>{r||(["Enter"," "].includes(w.key)&&s.onMenuToggle(c.value),w.key==="ArrowDown"&&s.onMenuOpen(c.value),["Enter"," ","ArrowDown"].includes(w.key)&&(c.wasKeyboardTriggerOpenRef.current=!0,w.preventDefault()))}),onFocus:fr(e.onFocus,()=>v(!0)),onBlur:fr(e.onBlur,()=>v(!1))})))))}),_Ye=e=>{const{__scopeMenubar:t,...n}=e,r=rf(t);return cn(xYe,B({},r,n))},G8="MenubarContent",NYe=or((e,t)=>{const{__scopeMenubar:n,align:r="start",...o}=e,i=rf(n),a=JP(G8,n),s=K8(G8,n),c=TYe(n),f=Yt(!1);return cn(wYe,B({id:s.contentId,"aria-labelledby":s.triggerId,"data-radix-menubar-content":""},i,o,{ref:t,align:r,onCloseAutoFocus:fr(e.onCloseAutoFocus,p=>{if(!!!a.value&&!f.current){var v;(v=s.triggerRef.current)===null||v===void 0||v.focus()}f.current=!1,p.preventDefault()}),onFocusOutside:fr(e.onFocusOutside,p=>{const m=p.target;c().some(y=>{var w;return(w=y.ref.current)===null||w===void 0?void 0:w.contains(m)})&&p.preventDefault()}),onInteractOutside:fr(e.onInteractOutside,()=>{f.current=!0}),onEntryFocus:p=>{s.wasKeyboardTriggerOpenRef.current||p.preventDefault()},onKeyDown:fr(e.onKeyDown,p=>{if(["ArrowRight","ArrowLeft"].includes(p.key)){const m=p.target,v=m.hasAttribute("data-radix-menubar-subtrigger"),y=m.closest("[data-radix-menubar-content]")!==p.currentTarget,C=(a.dir==="rtl"?"ArrowRight":"ArrowLeft")===p.key;if(!C&&v||y&&C)return;let T=c().filter(N=>!N.disabled).map(N=>N.value);C&&T.reverse();const _=T.indexOf(s.value);T=a.loop?$Ye(T,_+1):T.slice(_+1);const[R]=T;R&&a.onMenuOpen(R)}},{checkForDefaultPrevented:!1}),style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}}))}),RYe=e=>{const{__scopeMenubar:t,children:n,open:r,onOpenChange:o,defaultOpen:i}=e,a=rf(t),[s=!1,c]=Aw({prop:r,defaultProp:i,onChange:o});return cn(CYe,B({},a,{open:s,onOpenChange:c}),n)},IYe=or((e,t)=>{const{__scopeMenubar:n,...r}=e,o=rf(n);return cn(SYe,B({"data-radix-menubar-subtrigger":""},o,r,{ref:t}))}),LYe=or((e,t)=>{const{__scopeMenubar:n,...r}=e,o=rf(n);return cn(kYe,B({},o,{"data-radix-menubar-content":""},r,{ref:t,style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}}))});function $Ye(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const q8=MYe,Z8=AYe,J8=DYe,QP=_Ye,Q8=NYe,FYe=RYe,zYe=IYe,BYe=LYe,VYe=()=>{const e=({data:n,getOptionLabel:r=c=>c.label,getOptionValue:o=c=>c.value,getOptionParent:i=c=>c.parent,getOptionNavlink:a=c=>c.navlink,getOptionExternalLink:s=c=>c.externalLink})=>{const c=[];return n?.forEach(f=>{o(f)&&c.push({value:o(f),label:r(f),parent:i(f),externalLink:s(f),navlink:a(f)})}),c},t=(n=[],r)=>{const o=[];return n.forEach(i=>{const a=i;if(!r&&!a?.parent||a?.parent===r){const s=t(n,a.value);s.length>0&&(a.children=s),o.push(a)}}),o};return{renderMenubarToSpecificFieldName:e,buildMenubar:t}},jYe=({data:e,onClick:t,orientation:n="horizontal",getOptionValue:r,getOptionLabel:o,getOptionParent:i,getOptionNavlink:a,getOptionExternalLink:s,noDataText:c="no data",LinkComponent:f,...p})=>{const{buildMenubar:m,renderMenubarToSpecificFieldName:v}=VYe(),y=m(v({data:e,getOptionLabel:o,getOptionValue:r,getOptionParent:i,getOptionNavlink:a,getOptionExternalLink:s})),w=({data:E})=>yt(Z8,{children:[yt(J8,{className:"MenubarTrigger",children:[E.label,W("div",{className:"LeftMainSlot",children:W(nze,{size:10})})]}),W(QP,{children:W(Q8,{className:"MenubarContent",align:"start",side:n==="horizontal"?"bottom":"right",sideOffset:5,children:(E.children??[]).map(T=>T.children&&T.children.length>0?W(k,{data:T}):W(C,{data:T}))})})]}),C=({data:E})=>{const T=t||!E.navlink?"span":E.externalLink?"a":f||"a",_=t?{onClick:()=>{t(E)}}:E.externalLink||!f?{href:E.navlink}:{to:E.navlink};return W(T,{className:"MenubarItem MenubarTriggerText",..._,children:E.label})},k=({data:E})=>yt(FYe,{children:[yt(zYe,{className:"MenubarSubTrigger",children:[W("span",{className:"MenubarTriggerText",children:E.label}),W("div",{className:"LeftSlot",children:W(rze,{size:10})})]}),W(QP,{children:W(BYe,{className:"MenubarSubContent",alignOffset:-5,sideOffset:10,children:(E.children??[]).map(T=>T.children&&T.children.length>0?W(k,{data:T}):W(C,{data:T}))})})]});return W(Xr,{children:y.length>0?W(q8,{...p,className:"MenubarRoot",dir:"rtl",style:{flexDirection:n==="horizontal"?"unset":"column",...p.style},children:y.map(E=>W(w,{data:E,...p}))}):W("div",{style:{width:"100%",textAlign:"center"},children:c})})};function HYe({label:e,...t}){return W(tI,{...t,label:e,sx:{margin:"0px","& .MuiFormControlLabel-label":{width:"100%",border:n=>t.isActive?`2px solid ${n.palette.primary.main}`:"unset"}},control:W(r3,{sx:{display:"none"}})})}function WYe(e){return W(ja,{...e})}var e9,t9;function eA(){return eA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eA.apply(this,arguments)}var n9=function(t){return M.createElement("svg",eA({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 480"},t),e9||(e9=M.createElement("defs",null,M.createElement("clipPath",{id:"ir_svg__a"},M.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.7v512H-85.3z"})))),t9||(t9=M.createElement("g",{fillRule:"evenodd",clipPath:"url(#ir_svg__a)",transform:"translate(80)scale(.9375)"},M.createElement("path",{fill:"#fff",d:"M-192 0h896v512h-896z"}),M.createElement("path",{fill:"#da0000",d:"M-192 343.8h896V512h-896z"}),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M-21.6 351h49v3.3h-49zm7.3 16.8h3.4v3.3h-3.4zm41.9 0v3.3h-9.8v-3.4zm5.2-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M52.4 367.7v3.4H33.8v-3.4zm-34.6-7.9H21v11.3h-3.3z"}),M.createElement("path",{d:"M49.6 351H53v20h-3.4zm-8.4 0h3.3v20h-3.3zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M17.8 359.9H21V371h-3.3z"}),M.createElement("path",{d:"M17.8 359.9H21V371h-3.3z"}),M.createElement("path",{d:"M17.8 359.9H21V371h-3.3zm-39.3 0h3.3V371h-3.3zm28.8 0h3.4V371H7.3zm-14.3 0h3.4V371H-7z"}),M.createElement("path",{d:"M9.6 367.7v3.4H-5.5v-3.4zm1-8.7v3.4H1V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M-102.2 351h49v3.3h-49zm7.3 16.8h3.4v3.3H-95zm41.9 0v3.3h-9.8v-3.4zm5.2-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M-28.2 367.7v3.4h-18.6v-3.4zm-34.6-7.9h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M-31 351h3.4v20H-31zm-8.4 0h3.3v20h-3.3zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M-62.8 359.9h3.3V371h-3.3z"}),M.createElement("path",{d:"M-62.8 359.9h3.3V371h-3.3z"}),M.createElement("path",{d:"M-62.8 359.9h3.3V371h-3.3zm-39.3 0h3.3V371h-3.3zm28.8 0h3.3V371h-3.3zm-14.3 0h3.4V371h-3.4z"}),M.createElement("path",{d:"M-71 367.7v3.4h-15v-3.4zm1-8.7v3.4h-9.6V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M58.3 351h49v3.3h-49zm7.3 16.8H69v3.3h-3.4zm41.9 0v3.3h-9.8v-3.4zm5.3-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M132.3 367.7v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M129.5 351h3.4v20h-3.4zm-8.4 0h3.4v20H121zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M97.7 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M97.7 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M97.7 359.9h3.4V371h-3.4zm-39.3 0h3.4V371h-3.4zm28.8 0h3.4V371h-3.4zm-14.3 0h3.4V371h-3.4z"}),M.createElement("path",{d:"M89.6 367.7v3.4H74.4v-3.4zm1-8.7v3.4H81V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M622.7 351h49v3.3h-49zm7.3 16.8h3.4v3.3H630zm41.9 0v3.3H662v-3.4zm5.3-16.8h3.3v20h-3.4z"}),M.createElement("path",{d:"M696.7 367.7v3.4H678v-3.4zm-34.6-7.9h3.4v11.3H662z"}),M.createElement("path",{d:"M694 351h3.3v20h-3.4zm-8.5 0h3.4v20h-3.4zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M662 359.9h3.5V371H662z"}),M.createElement("path",{d:"M662 359.9h3.5V371H662z"}),M.createElement("path",{d:"M662 359.9h3.5V371H662zm-39.2 0h3.4V371h-3.4zm28.8 0h3.4V371h-3.4zm-14.3 0h3.4V371h-3.4z"}),M.createElement("path",{d:"M654 367.7v3.4h-15.2v-3.4zm1-8.7v3.4h-9.6V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M138.7 351h49.1v3.3h-49zm7.4 16.8h3.3v3.3h-3.3zm41.8 0v3.3h-9.8v-3.4zm5.3-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M212.8 367.7v3.4h-18.6v-3.4zm-34.7-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M210 351h3.4v20H210zm-8.5 0h3.4v20h-3.4zm-44.8 8v3.4h-17.9V359zm39.3 0v3.4h-17.9V359z"}),M.createElement("path",{d:"M178.1 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M178.1 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M178.1 359.9h3.4V371h-3.4zm-39.3 0h3.4V371h-3.4zm28.8 0h3.4V371h-3.4zm-14.2 0h3.3V371h-3.3z"}),M.createElement("path",{d:"M170 367.7v3.4h-15.1v-3.4zm1-8.7v3.4h-9.6V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M219.5 351h49v3.3h-49zm7.3 16.8h3.4v3.3h-3.4zm41.9 0v3.3h-9.8v-3.4zM274 351h3.3v20H274z"}),M.createElement("path",{d:"M293.5 367.7v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M290.7 351h3.4v20h-3.4zm-8.4 0h3.4v20h-3.4zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M258.9 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M258.9 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M258.9 359.9h3.4V371h-3.4zm-39.3 0h3.3V371h-3.3zm28.8 0h3.4V371h-3.4zm-14.3 0h3.4V371H234z"}),M.createElement("path",{d:"M250.8 367.7v3.4h-15.2v-3.4zm1-8.7v3.4H242V359z"})),M.createElement("path",{fill:"#239f40",d:"M-192 0h896v168.2h-896z"}),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M300.7 351h49v3.3h-49zm7.3 16.8h3.4v3.3H308zm41.9 0v3.3H340v-3.4zm5.3-16.8h3.3v20h-3.3z"}),M.createElement("path",{d:"M374.7 367.7v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3H340z"}),M.createElement("path",{d:"M372 351h3.3v20H372zm-8.5 0h3.4v20h-3.4zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M340 359.9h3.5V371H340z"}),M.createElement("path",{d:"M340 359.9h3.5V371H340z"}),M.createElement("path",{d:"M340 359.9h3.5V371H340zm-39.2 0h3.4V371h-3.4zm28.8 0h3.4V371h-3.4zm-14.3 0h3.4V371h-3.4z"}),M.createElement("path",{d:"M332 367.7v3.4h-15.2v-3.4zm1-8.7v3.4h-9.6V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M381.4 351h49v3.3h-49zm7.3 16.8h3.4v3.3h-3.4zm42 0v3.3h-9.9v-3.4zm5.2-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M455.4 367.7v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M452.7 351h3.3v20h-3.3zm-8.5 0h3.4v20h-3.4zm-44.8 8v3.4h-17.9V359zm39.3 0v3.4h-17.9V359z"}),M.createElement("path",{d:"M420.8 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M420.8 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M420.8 359.9h3.4V371h-3.4zm-39.3 0h3.4V371h-3.4zm28.8 0h3.4V371h-3.4zm-14.3 0h3.4V371h-3.3z"}),M.createElement("path",{d:"M412.7 367.7v3.4h-15.1v-3.4zm1-8.7v3.4H404V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M462.2 351h49v3.3h-49zm7.3 16.8h3.4v3.3h-3.4zm41.9 0v3.3h-9.8v-3.4zm5.2-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M536.2 367.7v3.4h-18.6v-3.4zm-34.7-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M533.4 351h3.4v20h-3.4zm-8.4 0h3.3v20H525zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M501.6 359.9h3.3V371h-3.3z"}),M.createElement("path",{d:"M501.6 359.9h3.3V371h-3.3z"}),M.createElement("path",{d:"M501.6 359.9h3.3V371h-3.3zm-39.4 0h3.4V371h-3.4zm28.9 0h3.3V371h-3.3zm-14.3 0h3.4V371h-3.4z"}),M.createElement("path",{d:"M493.4 367.7v3.4h-15.1v-3.4zm1-8.7v3.4h-9.6V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M543.4 351h49v3.3h-49zm7.3 16.8h3.4v3.3h-3.4zm41.9 0v3.3h-9.8v-3.4zm5.2-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M617.4 367.7v3.4h-18.6v-3.4zm-34.6-7.9h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M614.6 351h3.4v20h-3.4zm-8.4 0h3.3v20h-3.3zm-44.8 8v3.4h-18V359zm39.3 0v3.4h-18V359z"}),M.createElement("path",{d:"M582.8 359.9h3.3V371h-3.3z"}),M.createElement("path",{d:"M582.8 359.9h3.3V371h-3.3z"}),M.createElement("path",{d:"M582.8 359.9h3.3V371h-3.3zm-39.3 0h3.3V371h-3.3zm28.8 0h3.4V371h-3.4zm-14.3 0h3.4V371H558z"}),M.createElement("path",{d:"M574.6 367.7v3.4h-15.1v-3.4zm1-8.7v3.4H566V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M-183.8 351h49v3.3h-49zm7.3 16.8h3.4v3.3h-3.4zm42 0v3.3h-9.9v-3.4zm5.2-16.8h3.4v20h-3.4z"}),M.createElement("path",{d:"M-109.8 367.7v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M-112.5 351h3.3v20h-3.3zm-8.5 0h3.4v20h-3.4zm-44.8 8v3.4h-17.9V359zm39.3 0v3.4h-17.9V359z"}),M.createElement("path",{d:"M-144.4 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M-144.4 359.9h3.4V371h-3.4z"}),M.createElement("path",{d:"M-144.4 359.9h3.4V371h-3.4zm-39.3 0h3.4V371h-3.4zm28.8 0h3.4V371h-3.4zm-14.3 0h3.4V371h-3.4z"}),M.createElement("path",{d:"M-152.5 367.7v3.4h-15.2v-3.4zm1-8.7v3.4h-9.6V359z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M-21.6 143.4h49v3.4h-49zm7.3 17h3.4v3.2h-3.4zm41.9-.2v3.4h-9.8v-3.4zm5.2-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M52.4 160.2v3.4H33.8v-3.4zm-34.6-7.9H21v11.3h-3.3z"}),M.createElement("path",{d:"M49.6 143.4H53v20.2h-3.4zm-8.4 0h3.3v20.2h-3.3zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M17.8 152.3H21v11.3h-3.3z"}),M.createElement("path",{d:"M17.8 152.3H21v11.3h-3.3z"}),M.createElement("path",{d:"M17.8 152.3H21v11.3h-3.3zm-39.3 0h3.3v11.3h-3.3zm28.8 0h3.4v11.3H7.3zm-14.3 0h3.4v11.3H-7z"}),M.createElement("path",{d:"M9.6 160.2v3.4H-5.5v-3.4zm1-8.7v3.3H1v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M-102.2 143.4h49v3.4h-49zm7.3 17h3.4v3.2H-95zm41.9-.2v3.4h-9.8v-3.4zm5.2-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M-28.2 160.2v3.4h-18.6v-3.4zm-34.6-7.9h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M-31 143.4h3.4v20.2H-31zm-8.4 0h3.3v20.2h-3.3zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M-62.8 152.3h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M-62.8 152.3h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M-62.8 152.3h3.3v11.3h-3.3zm-39.3 0h3.3v11.3h-3.3zm28.8 0h3.3v11.3h-3.3zm-14.3 0h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M-71 160.2v3.4h-15v-3.4zm1-8.7v3.3h-9.6v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M58.3 143.4h49v3.4h-49zm7.3 17H69v3.2h-3.4zm41.9-.2v3.4h-9.8v-3.4zm5.3-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M132.3 160.2v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M129.5 143.4h3.4v20.2h-3.4zm-8.4 0h3.4v20.2H121zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M97.7 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M97.7 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M97.7 152.3h3.4v11.3h-3.4zm-39.3 0h3.4v11.3h-3.4zm28.8 0h3.4v11.3h-3.4zm-14.3 0h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M89.6 160.2v3.4H74.4v-3.4zm1-8.7v3.3H81v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M622.7 143.4h49v3.4h-49zm7.3 17h3.4v3.2H630zm41.9-.2v3.4H662v-3.4zm5.3-16.8h3.3v20.2h-3.4z"}),M.createElement("path",{d:"M696.7 160.2v3.4H678v-3.4zm-34.6-7.9h3.4v11.3H662z"}),M.createElement("path",{d:"M694 143.4h3.3v20.2h-3.4zm-8.5 0h3.4v20.2h-3.4zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M662 152.3h3.5v11.3H662z"}),M.createElement("path",{d:"M662 152.3h3.5v11.3H662z"}),M.createElement("path",{d:"M662 152.3h3.5v11.3H662zm-39.2 0h3.4v11.3h-3.4zm28.8 0h3.4v11.3h-3.4zm-14.3 0h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M654 160.2v3.4h-15.2v-3.4zm1-8.7v3.3h-9.6v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M138.7 143.4h49.1v3.4h-49zm7.4 17h3.3v3.2h-3.3zm41.8-.2v3.4h-9.8v-3.4zm5.3-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M212.8 160.2v3.4h-18.6v-3.4zm-34.7-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M210 143.4h3.4v20.2H210zm-8.5 0h3.4v20.2h-3.4zm-44.8 8v3.4h-17.9v-3.3zm39.3 0v3.4h-17.9v-3.3z"}),M.createElement("path",{d:"M178.1 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M178.1 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M178.1 152.3h3.4v11.3h-3.4zm-39.3 0h3.4v11.3h-3.4zm28.8 0h3.4v11.3h-3.4zm-14.2 0h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M170 160.2v3.4h-15.1v-3.4zm1-8.7v3.3h-9.6v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M219.5 143.4h49v3.4h-49zm7.3 17h3.4v3.2h-3.4zm41.9-.2v3.4h-9.8v-3.4zm5.3-16.8h3.3v20.2H274z"}),M.createElement("path",{d:"M293.5 160.2v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M290.7 143.4h3.4v20.2h-3.4zm-8.4 0h3.4v20.2h-3.4zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M258.9 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M258.9 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M258.9 152.3h3.4v11.3h-3.4zm-39.3 0h3.3v11.3h-3.3zm28.8 0h3.4v11.3h-3.4zm-14.3 0h3.4v11.3H234z"}),M.createElement("path",{d:"M250.8 160.2v3.4h-15.2v-3.4zm1-8.7v3.3H242v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M300.7 143.4h49v3.4h-49zm7.3 17h3.4v3.2H308zm41.9-.2v3.4H340v-3.4zm5.3-16.8h3.3v20.2h-3.3z"}),M.createElement("path",{d:"M374.7 160.2v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3H340z"}),M.createElement("path",{d:"M372 143.4h3.3v20.2H372zm-8.5 0h3.4v20.2h-3.4zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M340 152.3h3.5v11.3H340z"}),M.createElement("path",{d:"M340 152.3h3.5v11.3H340z"}),M.createElement("path",{d:"M340 152.3h3.5v11.3H340zm-39.2 0h3.4v11.3h-3.4zm28.8 0h3.4v11.3h-3.4zm-14.3 0h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M332 160.2v3.4h-15.2v-3.4zm1-8.7v3.3h-9.6v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M381.4 143.4h49v3.4h-49zm7.3 17h3.4v3.2h-3.4zm42-.2v3.4h-9.9v-3.4zm5.2-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M455.4 160.2v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M452.7 143.4h3.3v20.2h-3.3zm-8.5 0h3.4v20.2h-3.4zm-44.8 8v3.4h-17.9v-3.3zm39.3 0v3.4h-17.9v-3.3z"}),M.createElement("path",{d:"M420.8 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M420.8 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M420.8 152.3h3.4v11.3h-3.4zm-39.3 0h3.4v11.3h-3.4zm28.8 0h3.4v11.3h-3.4zm-14.3 0h3.4v11.3h-3.3z"}),M.createElement("path",{d:"M412.7 160.2v3.4h-15.1v-3.4zm1-8.7v3.3H404v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M462.2 143.4h49v3.4h-49zm7.3 17h3.4v3.2h-3.4zm41.9-.2v3.4h-9.8v-3.4zm5.2-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M536.2 160.2v3.4h-18.6v-3.4zm-34.7-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M533.4 143.4h3.4v20.2h-3.4zm-8.4 0h3.3v20.2H525zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M501.6 152.3h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M501.6 152.3h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M501.6 152.3h3.3v11.3h-3.3zm-39.4 0h3.4v11.3h-3.4zm28.9 0h3.3v11.3h-3.3zm-14.3 0h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M493.4 160.2v3.4h-15.1v-3.4zm1-8.7v3.3h-9.6v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M543.4 143.4h49v3.4h-49zm7.3 17h3.4v3.2h-3.4zm41.9-.2v3.4h-9.8v-3.4zm5.2-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M617.4 160.2v3.4h-18.6v-3.4zm-34.6-7.9h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M614.6 143.4h3.4v20.2h-3.4zm-8.4 0h3.3v20.2h-3.3zm-44.8 8v3.4h-18v-3.3zm39.3 0v3.4h-18v-3.3z"}),M.createElement("path",{d:"M582.8 152.3h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M582.8 152.3h3.3v11.3h-3.3z"}),M.createElement("path",{d:"M582.8 152.3h3.3v11.3h-3.3zm-39.3 0h3.3v11.3h-3.3zm28.8 0h3.4v11.3h-3.4zm-14.3 0h3.4v11.3H558z"}),M.createElement("path",{d:"M574.6 160.2v3.4h-15.1v-3.4zm1-8.7v3.3H566v-3.3z"})),M.createElement("g",{fill:"#fff",strokeWidth:"1pt"},M.createElement("path",{d:"M-183.8 143.4h49v3.4h-49zm7.3 17h3.4v3.2h-3.4zm42-.2v3.4h-9.9v-3.4zm5.2-16.8h3.4v20.2h-3.4z"}),M.createElement("path",{d:"M-109.8 160.2v3.4h-18.6v-3.4zm-34.6-7.9h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M-112.5 143.4h3.3v20.2h-3.3zm-8.5 0h3.4v20.2h-3.4zm-44.8 8v3.4h-17.9v-3.3zm39.3 0v3.4h-17.9v-3.3z"}),M.createElement("path",{d:"M-144.4 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M-144.4 152.3h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M-144.4 152.3h3.4v11.3h-3.4zm-39.3 0h3.4v11.3h-3.4zm28.8 0h3.4v11.3h-3.4zm-14.3 0h3.4v11.3h-3.4z"}),M.createElement("path",{d:"M-152.5 160.2v3.4h-15.2v-3.4zm1-8.7v3.3h-9.6v-3.3z"})),M.createElement("path",{fill:"#d90000",d:"M-68.8 339.5h6V350h-6zm160.5 0h6V350h-6zm-283.7 0h6V350h-6zm81.5 0h6V350h-6zm80.9 0h6V350h-6zm40 0h6V350h-6zm40.9 0h6V350h-6zm80.4 0h6V350h-6zm203 0h6.1V350h-6zm-162.1 0h6V350h-6zm40 0h6V350h-6zm40.5 0h6V350h-6zm40.4 0h6V350h-6zm323.2 0h6V350h-6zm-242.7 0h6V350h-6zm40.8 0h6V350h-6zm41.3 0h6V350h-6zm38.8 0h6V350h-6zm41.3 0h6V350h-6zm40.4 0h6V350h-6zm119.7 0h6V350h-6zm-38.8 0h6V350h-6zm-808.9 0h6V350h-6z"}),M.createElement("path",{fill:"#239e3f",d:"M-68.8 162.6h6v10.5h-6zm160.5 0h6v10.5h-6zm-283.7 0h6v10.5h-6zm81.5 0h6v10.5h-6zm80.9 0h6v10.5h-6zm40 0h6v10.5h-6zm40.9 0h6v10.5h-6zm80.4 0h6v10.5h-6zm203 0h6.1v10.5h-6zm-162.1 0h6v10.5h-6zm40 0h6v10.5h-6zm40.5 0h6v10.5h-6zm40.4 0h6v10.5h-6zm323.2 0h6v10.5h-6zm-242.7 0h6v10.5h-6zm40.8 0h6v10.5h-6zm41.3 0h6v10.5h-6zm38.8 0h6v10.5h-6zm41.3 0h6v10.5h-6zm40.4 0h6v10.5h-6zm119.7 0h6v10.5h-6zm-38.8 0h6v10.5h-6zm-808.9 0h6v10.5h-6z"}),M.createElement("g",{fill:"#da0000"},M.createElement("path",{d:"M279.8 197.5c8.4 10.4 34.5 67.6-15.7 105.2-23.7 17.8-9 18.6-8.3 21.6 38-20.1 50.3-47.5 50-72-.2-24.4-13.2-46-26-54.8"}),M.createElement("path",{d:"M284.8 194.8a73.3 73.3 0 0 1 15.7 112.4c27.2-6 62-86.4-15.7-112.4m-57.6 0a73.3 73.3 0 0 0-15.6 112.4c-27.3-6-62-86.4 15.6-112.4"}),M.createElement("path",{d:"M232.2 197.5c-8.4 10.4-34.5 67.6 15.7 105.2 23.6 17.8 9 18.6 8.3 21.6-38-20.1-50.3-47.5-50-72 .2-24.4 13.2-46 26-54.8"}),M.createElement("path",{d:"M304.2 319.1c-14.9.2-33.6-2-47.5-9.3 2.3 4.5 4.2 7.3 6.5 11.7 13.2 1.3 31.5 2.8 41-2.4m-95 0c14.9.2 33.6-2 47.5-9.3-2.3 4.5-4.2 7.3-6.5 11.7-13.2 1.3-31.5 2.8-41-2.4m27.3-138.7c3 8 10.9 9.2 19.3 4.5 6.2 3.6 15.7 3.9 19-4.1 2.5 19.8-18.3 15-19 11.2-7.8 7.5-22.2 3.2-19.3-11.6"}),M.createElement("path",{d:"m256.4 331.6 7.8-9 1.1-120.1-9.3-8.2-9.3 7.8 1.9 121z"})))))},r9,o9,i9,a9,s9;function tA(){return tA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tA.apply(this,arguments)}var YYe=function(t){return M.createElement("svg",tA({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 480"},t),r9||(r9=M.createElement("path",{fill:"#bd3d44",d:"M0 0h640v480H0"})),o9||(o9=M.createElement("path",{stroke:"#fff",strokeWidth:37,d:"M0 55.3h640M0 129h640M0 203h640M0 277h640M0 351h640M0 425h640"})),i9||(i9=M.createElement("path",{fill:"#192f5d",d:"M0 0h364.8v258.5H0"})),a9||(a9=M.createElement("marker",{id:"us_svg__a",markerHeight:30,markerWidth:30},M.createElement("path",{fill:"#fff",d:"m14 0 9 27L0 10h28L5 27z"}))),s9||(s9=M.createElement("path",{fill:"none",markerMid:"url(#us_svg__a)",d:"m0 0 16 11h61 61 61 61 60L47 37h61 61 60 61L16 63h61 61 61 61 60L47 89h61 61 60 61L16 115h61 61 61 61 60L47 141h61 61 60 61L16 166h61 61 61 61 60L47 192h61 61 60 61L16 218h61 61 61 61 60z"})))},l9,c9;function nA(){return nA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nA.apply(this,arguments)}var UYe=function(t){return M.createElement("svg",nA({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 480"},t),l9||(l9=M.createElement("defs",null,M.createElement("clipPath",{id:"sa_svg__a"},M.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"})))),c9||(c9=M.createElement("g",{fillRule:"evenodd",clipPath:"url(#sa_svg__a)",transform:"translate(80)scale(.9375)"},M.createElement("path",{fill:"#165d31",d:"M-128 0h768v512h-768z"}),M.createElement("path",{fill:"#fff",d:"M65.5 145.1c-.8 12-2 33 8.3 35.2 12.3 1.2 5.5-20.8 10-24.8.8-2 2.3-2 2.4.5v18.7c0 6 4 7.8 7 9 3.2-.2 5.4 0 6.6 3l1.6 32.3s7.4 2.2 7.8-18.1c.3-12-2.4-21.9-.8-24.2 0-2.3 3-2.4 5-1.3 3.2 2.2 4.6 5 9.6 4 7.6-2.2 12.2-5.9 12.3-11.7a47 47 0 0 0-3.5-16.6c.4-1-1.4-3.7-1-4.7 1.3 2.2 3.4 2 3.8 0-1.3-4.2-3.3-8.3-6.5-10-2.7-2.4-6.7-2-8 3-.8 5.7 2 12.4 6.1 18 .9 2.1 2.1 5.7 1.6 8.9-2.2 1.3-4.4.7-6.3-1.2 0 0-6-4.5-6-5.6 1.6-10.2.3-11.4-.6-14.3-.6-3.9-2.5-5.2-4-7.8-1.5-1.6-3.5-1.6-4.5 0-2.7 4.6-1.4 14.5.5 19 1.4 4.1 3.5 6.7 2.5 6.7-.8 2.3-2.5 1.7-3.8-1a66.6 66.6 0 0 1-2.1-17.4c-.5-4.6-1.1-14.4-4.2-17-1.8-2.4-4.5-1.2-5.5 1a82.4 82.4 0 0 0 .3 13.4c2 7.4 2.7 14 3.7 21.5.3 10.1-5.8 4.4-5.5-.7a45 45 0 0 0-.3-19.4c-1-2.6-2.1-3.2-4.6-2.8-1.9 0-6.8 5.3-8.2 14.3 0 0-1.2 4.6-1.7 8.7-.7 4.6-3.7 8-5.9-.6-1.8-6.3-3-21.6-6-18z"}),M.createElement("path",{fill:"#fff",d:"m99 194.2-32 15.4c.3-7.3 15.1-20.4 25.3-20.5 6.5.1 4.9 2.5 6.6 5.1z"}),M.createElement("path",{fill:"#fff",d:"M93.3 204.2c-16.8 43.5 39.5 49.6 45.8 1.8.6-2 3-3.9 3.4-.7-1.3 43.3-43.6 46.2-50.8 32.6a41.9 41.9 0 0 1-2.5-14.6c-1-8.5-5.5-5.2-6.2 3.2-.7 4.7-.5 6-.5 10.5 2.2 34.2 56.7 19.5 65.6-8.7 4.7-15.6-.8-27.1 1.7-27.1 5.4 5.8 13 .8 14.7-1.2.7-1 2.5-1.7 3.7-.4 4.2 3 11.6 1.6 13.2-3.7.9-5.3 1.6-10.7 1.8-16.2-3.5 1-6 1.7-6.3 3.2l-.7 4.6c-.3 1.5-3.2 1.5-3.4-.4-1.3-6-6.7-6.7-10 2.5-2.1 1.8-6.1 2.2-6.5-.5.5-6.2-2-7-7-4.1l-4.8-36.2c2 0 4 1.5 5.9-.9-2-6.5-6.5-19.7-9-20.7-1.1-1.4-2.1-.5-3.7-.1-2.6.8-5 3-4.2 7.4 3 18.8 5 33.1 8.1 52 .5 2.1-1.3 5-3.7 4.7-4-2.7-5-8.2-12-8-5 0-10.6 5.5-11.3 10.7-.9 4.2-1.2 8.7 0 12.3 3.5 4.2 7.7 3.8 11.4 2.9 3-1.3 5.5-4.3 6.6-3.6.7.9.1 10.9-14.3 18.5-8.7 4-15.7 4.8-19.4-2.3-2.3-4.5.2-21.4-5.6-17.5"}),M.createElement("path",{fill:"#fff",d:"M165 160c3.3-1.2 19.3-19.6 19.3-19.6l-2.4-2c-.9-.7-.8-1.5 0-2.2 4-2.4 2.7-7.4.7-9.8a9.7 9.7 0 0 0-8.7.1c-2.8 2.7-3.4 7-1.2 9.6 2.1 1 4.2 3.2 2.8 4.4-6.6 7-24.5 19.1-22.4 19.5.4.6 11.5.6 11.8 0zm-97 65c-6 9.6-6.5 23.9-3.2 28.2 1.8 2 4.7 2.9 6.8 2.2 3.8-1.6 5.5-9.3 4.6-12-1.3-2-2.3-2.3-3.6-.7-2.6 5.4-3.7 1.7-4-1.3a70 70 0 0 1 .8-15.2c.7-4.2 0-3-1.4-1.2m257.1-15.3c-5.8-12.6-13.9-25-16.4-29.7a558 558 0 0 0-24.8-36c-6.2-7.4 10.2 3.1-2-11.7l-8.9-7.5c-2-1.4-6.8-4-7.6.2-.4 3.8-.2 5.8.4 8.9.5 2 3.5 5.5 5 7.5a565 565 0 0 1 53.8 86.5c2.6-1.3 2-16.1.5-18.2"}),M.createElement("path",{fill:"#fff",d:"M299.6 251.5c-1.2 1.3 2.8 6.8 8 6.8 8.6-1 16.2-5.8 23.2-18.6a33 33 0 0 0 5.3-14.2 317 317 0 0 0-5.8-72.4c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7 3.9 17.2 6.2 33 7.3 48.7a393 393 0 0 1 .4 49c3 .1 7.6-4.7 9.3-11.8"}),M.createElement("path",{fill:"#fff",d:"M434 216c-6.9-11.6-17.2-24-20-28.7a658 658 0 0 0-29.2-37.8c-8.5-9 4-1.5-1.6-8.5-4.7-5.1-6-6.8-10.1-9.9-2-1.3-3.2-3.8-4 .5a83 83 0 0 0-.2 11.2c0 1.7 1.8 5 3.4 7 20.7 25.5 43.4 51.5 61.6 84.2 2.6-1.3 1.7-16 0-18z"}),M.createElement("path",{fill:"#165d31",d:"M122.6 194.7c-.5.9-1.6 2-1.2 3.1.7 1 1.4 1.3 2.6 1.3 1.1 0 2.7.3 3-.3.6-.7 1-2 .6-3.3-1.2-3-4.4-1.8-5-.8"}),M.createElement("path",{fill:"#fff",d:"M354.2 362.5c9.2.4 15.2.5 23.3 1.4l9.6-1c10.6-1 11 15.1 11 15.1 0 9.5-3.7 10-8.4 11-2.7.4-4-1.6-5.5-3.6a14 14 0 0 1-7 .4c-3.9-.2-7.7-.2-11.5-.5-4-.3-6.2.5-10.3.1-.8 1.3-2 3.1-4.4 2.6-2-.3-4.5-6-3.8-10.5 1.5-3.2 1-2.1 1-3.5-37.6-1-75.5-2.7-112.3-2.2-28.8.1-57.2 1.3-85.7 2.5-15.2-.2-26.8-2.6-34.8-14.3.8 0 38.8 2.1 49.9 1.4 20.5-.2 39.3-1.9 60.2-2.5 41.2.7 82.1.7 123.3 3.6-4-2.7-4-9 2-10.6.5-.4.8 3.1 1.7 3 4.9-.3 2.7 6.3 1.7 7.6M188.6 135.3c-6.2 17.8 3.6 37.4 10.4 35.5 5 2 8-7.4 10-17.6 1.5-2.9 2.5-3.2 3.2-1.7-.2 13.6 1 16.7 4.5 20.8 7.8 6 14.3.8 14.8.3l6-6.1c1.4-1.5 3.2-1.5 5.1-.3 1.9 1.7 1.6 4.6 5.6 6.6 3.4 1.4 10.5.4 12.2-2.5 2.2-3.9 2.8-5.2 3.8-6.6 1.6-2.1 4.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20.7 14.3c-1 .7-1.9-5.3 0-7zm17.7-.2c3.5 1.7 4.9 11.8 4.5 14.5 0 5.4-3.3 9.6-4.7 9-1.4-.7.2-6.7-.5-8.8-.8-3-3.7-8.5-3.2-10.1-1-3.4 1.8-5.2 4-4.6zm-116 43.4a26 26 0 0 1 5.6-4.9c2-1 3.8.8 3.7.7.3 2-1.2 3.7-.7 6.3.4 1 .7 2.2 2.6 1.8 3.1-2.5 6-2.7 9-2.8 2.5.1 2.6 4.2 1 4.2-5.7 1.2-8.2 2.8-12.3 4.3-2 1.2-3.6-.3-3.6-.4s-1.1-1.1-.4-3.7c.2-2-.6-3.2-2.4-3-1.2.8-2.4 1.2-3-.3-.3-1-.4-1.6.5-2.2m136.6 5.4c.8 1 1.4 2-.1 3.8l-3.7 3.2c-.6 1-1 2.8 1 3.3 3.6 1 12-4.5 12-4.6 1.4-1 1-3 .8-3-.8-.9-2.6-.3-3.8-.5-.6 0-2.5-.2-1.6-2a11.4 11.4 0 0 0 1.6-2.9c.5-1.2 0-2-2-2.7-2.1-.4-3-.2-5.3 0-1.2.2-1.6.8-1.9 2.3.1 2.3 1.5 2.2 3 3z"}),M.createElement("path",{fill:"#165d31",d:"M268.1 189.7c-.5 1-2.3 1-4 0s-2.7-2.6-2.1-3.5 2.3-.9 4 0 2.6 2.6 2.1 3.5m-89-53.6c-1 .3-2.4-.6-3-2s-.3-2.6.7-2.9 2.3.7 3 2 .3 2.7-.8 3zM355.2 375c9.4.4 18.2 0 27.5.5 1.7 1.5.5 5-.6 4.8l-7.8-.3c-.1-3-7.7-2.5-7.5.1-4.1.5-7.8-.1-12-.3-1.2-1.5-1-4.2.4-4.8"}))))};const KYe=({defaultValue:e,...t})=>{const[n,r]=Mn(e??"fa"),o={fa:"\u0641\u0627\u0631\u0633\u06CC",en:"English",ar:"\u0627\u0644\u0639\u0631\u0628\u06CC\u0629"},i=s=>{switch(s){case"fa":return W(n9,{className:"KdLanguageChange-country-flag"});case"ar":return W(UYe,{className:"KdLanguageChange-country-flag"});case"en":return W(YYe,{className:"KdLanguageChange-country-flag"});default:return W(n9,{className:"KdLanguageChange-country-flag"})}},a=s=>{r(s),t?.onChange(s)};return W(q8,{className:"KdLanguageChange-MenubarRoot",dir:"rtl",...t,children:yt(Z8,{children:[yt(J8,{className:"KdLanguageChange-MenubarTrigger",children:[i(n),o[n]]}),W(QP,{children:W(Q8,{align:"start",side:"bottom",sideOffset:10,className:"KdLanguageChange-MenubarContent",children:Object.keys(o).map((s,c)=>yt("div",{className:"KdLanguageChange-MenubarItem",onClick:()=>a(s),children:[i(s),o[s]]},c))})})]})})},XYe=_i("img")(),GYe=({pathProp:e,randomNumber:t,...n})=>W(XYe,{...n,alt:"CAPTCHA",src:`${e.APIURL}${vEe}${t}`});function qYe({Component:e,...t}){const n=_i(e)();return W(n,{...t})}function ZYe({isOpen:e,onClose:t,...n}){return W(mre,{...n,open:e,onClose:t})}const JYe=_i("span")(),QYe=({title:e="",arrow:t,children:n,placement:r,enterDelay:o,leaveDelay:i,...a})=>W(CL,{title:e,TransitionComponent:qk,enterDelay:o,leaveDelay:i,arrow:t,placement:r,children:W(JYe,{...a,children:n})}),eUe=(e,t,n,r,o)=>{const i={IMG:"create/image",TEXT:"create/text",VIDEO:"create/video",COMPRESS:"create/compress",FONT:"create/font"};return e?{url:i.IMG,type:"IMG"}:t?{url:i.TEXT,type:"TEXT"}:n?{url:i.VIDEO,type:"VIDEO"}:r?{url:i.COMPRESS,type:"COMPRESS"}:o?{url:i.FONT,type:"FONT"}:{url:"create",type:void 0}};function rA({APIURL:e=window?.env?.REACT_APP_APIURL??void 0,sessionId:t=localStorage.getItem("sessionId")??"",fileSizeLimit:n=2,fileCountLimit:r=20,validUploadType:o=["IMG","TEXT","VIDEO","COMPRESS","FONT"],multiple:i=!0,onError:a}){const[s,c]=Mn([]),f=Yt(0),[p,m]=Mn([]),v={},y=k=>{c(E=>{const T=E.filter(_=>_.session!==k);return f.current=T.length,T})},w=(k,E)=>{console.log(k,"err"),a&&a("\u0639\u0645\u0644\u06CC\u0627\u062A \u0628\u0627 \u062E\u0637\u0627 \u0645\u0648\u0627\u062C\u0647 \u0634\u062F"),m(T=>T.filter(_=>_.file!==E))};function C(k,E){if(!e)a&&a("Not exist APIURL"),console.error("Not exist APIURL");else try{const T=k.target.files||[];if(!i&&T.length>1){a&&a("\u062D\u062F\u0627\u06A9\u062B\u0631 1 \u0641\u0627\u06CC\u0644 \u0645\u06CC\u200C\u062A\u0648\u0627\u0646\u06CC\u062F \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0646\u06CC\u062F.");return}if(i&&T.length+f.current>r){a&&a(`\u062D\u062F\u0627\u06A9\u062B\u0631 ${r} \u0641\u0627\u06CC\u0644 \u0645\u06CC\u200C\u062A\u0648\u0627\u0646\u06CC\u062F \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0646\u06CC\u062F.`);return}for(let _=0;_<T.length;_++){const R=T[_];if(R.size===0){a&&a("\u0634\u0645\u0627 \u0646\u0645\u06CC\u200C\u062A\u0648\u0627\u0646\u06CC\u062F \u0641\u0627\u06CC\u0644 \u062E\u0627\u0644\u06CC \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0646\u06CC\u062F");return}const N=R.size/1024/1024,$=R.name,V=$.lastIndexOf(".")+1,K=$.substr(V,$.length).toLowerCase(),Y=E?!!E?.image&&!!(E?.image==="ALL"?qa.image:E?.image)?.find(se=>se===K):!!o?.find(se=>se==="IMG")&&!!qa?.image?.find(se=>se===K),J=E?!!E?.text&&!!(E?.text==="ALL"?qa.text:E?.text)?.find(se=>se===K):!!o?.find(se=>se==="TEXT")&&!!qa?.text?.find(se=>se===K),X=E?!!E?.video&&!!(E?.video==="ALL"?qa.video:E?.video)?.find(se=>se===K):!!o?.find(se=>se==="VIDEO")&&!!qa?.video?.find(se=>se===K),ne=E?!!E?.compress&&!!(E?.compress==="ALL"?qa.compress:E?.compress)?.find(se=>se===K):!!o?.find(se=>se==="COMPRESS")&&!!qa?.compress?.find(se=>se===K),re=E?!!E?.font&&!!(E?.font==="ALL"?qa.font:E?.font)?.find(se=>se===K):!!o?.find(se=>se==="FONT")&&!!qa?.font?.find(se=>se===K),{url:te,type:oe}=eUe(Y,J,X,ne,re),ue=`${e}${ml.upload}${a1.pathFileUpload}${te}`;if(N>n)a&&a(`\u062D\u062F\u0627\u06A9\u062B\u0631 \u062D\u062C\u0645 \u0622\u067E\u0644\u0648\u062F ${n} \u0645\u06AF\u0627\u0628\u0627\u06CC\u062A \u0645\u06CC\u200C\u0628\u0627\u0634\u062F.`);else if(oe){const se={file:R,progress:0,type:oe};m(Ve=>i?[...Ve,se]:[se]);const ce=512*1024,ge=new FormData;ge.append("chunkSize",String(ce)),ge.append("totalSize",String(R.size)),ge.append("fileName",R.name);const fe=Math.ceil(R.size/ce),Oe=[];for(let Ve=1;Ve<=fe;Ve++)Oe.push(Ve);fetch(ue,{method:"POST",headers:v,body:ge,credentials:"include"}).then(Ve=>Ve.json()).then(async Ve=>{let ke=0;if(Ve?.data?.sessionId?.length>0){let he=1,Pe=!1;for(let Me=0;Me<R.size;Me+=ce,he++)if(!Pe){const De=R.slice(Me,Me+ce),Be=new FormData;Be.append("data",De);const Le={method:"PUT",headers:{...v,sessionId:t},body:Be,credentials:"include"};await fetch(`${e}${ml.upload}${a1.pathForUploadCunk}${Ve?.data?.sessionId}?chunkNumber=${he}`,Le).then(Ne=>{if(Ne.status!==200)Pe=!0,w(Pe,R);else{ke=ke+De.size;const Te=Math.round(ke/R.size*100);m(je=>je.map(Ie=>Ie.file===R?{...Ie,progress:Te,session:Ve?.data?.sessionId}:Ie))}})}if(!Pe){const Me={method:"GET",headers:{...v,sessionId:t},credentials:"include"};await fetch(`${e}${ml.upload}${a1.pathForGetFile}${Ve?.data?.sessionId}`,Me).then(De=>De.json()).then(De=>{m(Le=>Le.filter(Ne=>Ne.session!==Ve?.data?.sessionId));const Be={session:Ve?.data?.sessionId,concluded:De.concluded,progress:100,fileURL:`${e}${ml.upload}${De.fileLink}`,fileName:$??"",type:oe};c(Le=>(i?f.current=Le.length+1:f.current=1,i?[...Le,Be]:[Be]))}).catch(De=>{w(De,R)})}}else w(`err in ${te} service`,R)}).catch(Ve=>{w(Ve,R)})}else a&&a("\u0644\u0637\u0641\u0627 \u0641\u0631\u0645\u062A \u0645\u0646\u0627\u0633\u0628 \u0627\u0646\u062A\u062E\u0627\u0628 \u06A9\u0646\u06CC\u062F.")}}catch(T){console.log("Error",T)}}return{APIURL:e,uploadingFiles:p,files:s,removeFile:y,handleFileChange:C,fileExtension:qa}}export{xEe as KdAdvanceFileUploader,V7e as KdAlert,GYe as KdCaptcha,IEe as KdChart2D,NEe as KdChart3D,ZYe as KdDrawer,k6 as KdDropDownField,bEe as KdFileUploader,S6 as KdFormContainer,QTe as KdFormField,W7e as KdGridHeader,H7e as KdGridPanel,_We as KdHtmlEditor,VWe as KdImageBox,KYe as KdLanguageChange,eEe as KdLazyDropDownField,WYe as KdLoading,jYe as KdMenubar,X7 as KdModal,G7 as KdPanelWrapper,HYe as KdRadioListCustom,o8 as KdSearchableInput,tEe as KdSearchableInputField,z7e as KdStepContent,$7e as KdStepList,L7e as KdStepRoot,B7e as KdStepTrigger,qYe as KdStyledComponent,_7e as KdTabsContent,A7e as KdTabsList,M7e as KdTabsRoot,R7e as KdTabsTrigger,oEe as KdTagBoxInput,QYe as KdTooltip,A8e as KdTree,rEe as KdTreeField,mEe as KdTypography,gTe as KdpaAccordion,bTe as KdpaAccordionDetails,vTe as KdpaAccordionSummary,Rle as KdpaAlert,Ile as KdpaAlertTitle,kg as KdpaAutoComplete,o3 as KdpaAvatar,Lle as KdpaBadge,B0e as KdpaButton,V0e as KdpaCheckBox,Vle as KdpaChip,K0e as KdpaCircularProgress,Y4 as KdpaCollapse,pE as KdpaCollapseTransitions,K1e as KdpaCopyToClipboard,y0e as KdpaDatePicker,F0e as KdpaDateTimePicker,qTe as KdpaDialog,U4 as KdpaDivider,v1e as KdpaDropDownLazy,e1e as KdpaDropZone,Z0e as KdpaFade,UTe as KdpaFileUploader,XTe as KdpaFormContainer,B4 as KdpaFormControl,z0e as KdpaFormControlLabel,GTe as KdpaFormField,VTe as KdpaFullScreenDialog,nT as KdpaGrid,$le as KdpaGridBadge,J0e as KdpaGrow,j4 as KdpaIconButton,G1e as KdpaInlineSpinner,Km as KdpaInput,hce as KdpaInputLabel,pce as KdpaInputMultiline,q1e as KdpaLoading,fE as KdpaMenuItem,$we as KdpaModal,Lwe as KdpaModalImage,jL as KdpaMuiBadge,zwe as KdpaPaginationGrid,px as KdpaPrimaryButton,r3 as KdpaRadio,mce as KdpaRadioGroup,zTe as KdpaRtlProvider,Tg as KdpaSecondaryButton,WTe as KdpaSegment,V4 as KdpaSelect,Z1e as KdpaSkeleton,Q0e as KdpaSlide,Fwe as KdpaSlider,W0e as KdpaSweetAlertConfirm,Y0e as KdpaSweetAlertDelete,U0e as KdpaSweetAlertOK,gce as KdpaSwitch,G0e as KdpaTab,q0e as KdpaTabs,yTe as KdpaThemeProvider,bye as KdpaTimePicker,Wl as KdpaTooltip,Vwe as KdpaTree,mTe as KdpaTreeSelect,Ua as KdpaTypography,H2 as KdpaUploadedFile,j2 as KdpaUploadingFile,rA as KdpaUseFileUploadHook,exe as KdpaZoom,qa as fileExtension,Td as pathFile,a1 as pathServicesUpload,ml as serviceName};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TooltipProps } from "@mui/material/Tooltip";
|
|
2
|
-
export type KdTooltipProps = Pick<TooltipProps, "placement" | "title" | "arrow"> & {
|
|
2
|
+
export type KdTooltipProps = Pick<TooltipProps, "placement" | "title" | "arrow" | "enterDelay" | "leaveDelay"> & {
|
|
3
3
|
[key: string]: any;
|
|
4
4
|
};
|
|
5
|
-
declare const KdTooltip: ({ title, arrow, children, placement, ...props }: KdTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare const KdTooltip: ({ title, arrow, children, placement, enterDelay, leaveDelay, ...props }: KdTooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default KdTooltip;
|
|
7
7
|
//# sourceMappingURL=KdTooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Tooltips/KdTooltip.tsx"],"names":[],"mappings":"AACA,OAAgB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAK9D,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,YAAY,EACZ,WAAW,GAAG,OAAO,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"KdTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Tooltips/KdTooltip.tsx"],"names":[],"mappings":"AACA,OAAgB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAK9D,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,YAAY,EACZ,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,YAAY,GAAG,YAAY,CAC9D,GAAG;IACF,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,SAAS,4EAQZ,cAAc,4CAahB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|