1import{c as R,r as a,j as e,a as C,X as Pe,H as Yt,I as Te,J as Ht,K as Oe,M as Ae,N as Wt,O as Qt,P as te,Q as Zt,U as z,V as b,W as L,Y as Jt,Z as en,_ as tn,$ as nn,a0 as rn,a1 as Le,a2 as on,a3 as ke,a4 as sn,u as fe,q as Re,L as w,B as M,f as Fe,d as an,a5 as cn}from"./index-D8KHdeei.js";import{R as ln,P as dn,C as $e,g as un,T as Ke,h as mn,O as Ge,i as Ue}from"./dialog-CxglcnAw.js";import{u as W}from"./useQuery-DnhQqGiR.js";import{u as fn}from"./useMutation-03tW3rES.js";import{u as pn}from"./index-C9CQWVK7.js";import{h as hn,u as xn,R as gn,F as vn}from"./index-DDCYZsR-.js";import{c as ze,I as wn,R as bn}from"./index-fiMCdAYr.js";import{C as Be}from"./check-DN9CvjMG.js";import{C as jn}from"./circle-fJlZeyUF.js";import{C as yn}from"./chevron-down-BbkMgz8T.js";import{S as _e}from"./search-Be82weac.js";import{B as Nn,A as Mn}from"./bell-BJuxaOoB.js";import{t as j,c as Cn,g as Sn,e as kn,a as De,m as Ie,b as H,r as Rn}from"./ru-VxOWEsuc.js";import{I as _n}from"./input-C25dtIe4.js";import{D as Dn}from"./download-BVxECb_a.js";import{C as In}from"./circle-check-DRo1hKIk.js";import{S as En}from"./send-BgRkhxfZ.js";import{T as Pn}from"./trash-2-BfDg-OWY.js";import{f as Tn,a as On,b as An,c as Ln,d as ce,e as le,g as Fn}from"./command-BxofbMxH.js";import{A as $n}from"./arrow-right-DbIcOynr.js";import{L as qe}from"./layers-4rGWnSfG.js";import{S as Kn}from"./sparkles-Dlh-09r9.js";import{G as Gn,B as Un}from"./gift-CQeDvHVI.js";import{C as zn}from"./circle-help-CMT3Pv8v.js";const Bn=R("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);const qn=R("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const Xn=R("Columns2",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]]);const Vn=R("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);const Yn=R("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);const Hn=R("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);const Wn=R("Rss",[["path",{d:"M4 11a9 9 0 0 1 9 9",key:"pv89mb"}],["path",{d:"M4 4a16 16 0 0 1 16 16",key:"k0647b"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]]);const Qn=R("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);const Zn=R("ShieldAlert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);const Jn=R("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);const er=R("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]),tr=ln,nr=mn,rr=dn,Xe=a.forwardRef(({className:t,...r},n)=>e.jsx(Ge,{className:C("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...r,ref:n}));Xe.displayName=Ge.displayName;const or=Yt("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),Ve=a.forwardRef(({side:t="right",className:r,children:n,...o},s)=>e.jsxs(rr,{children:[e.jsx(Xe,{}),e.jsxs($e,{ref:s,className:C(or({side:t}),r),...o,children:[n,e.jsxs(un,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[e.jsx(Pe,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"ÐакÑÑÑÑ"})]})]})]}));Ve.displayName=$e.displayName;const sr=({className:t,...r})=>e.jsx("div",{className:C("flex flex-col space-y-2 text-center sm:text-left",t),...r});sr.displayName="SheetHeader";const ar=({className:t,...r})=>e.jsx("div",{className:C("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...r});ar.displayName="SheetFooter";const ir=a.forwardRef(({className:t,...r},n)=>e.jsx(Ke,{ref:n,className:C("text-lg font-semibold text-foreground",t),...r}));ir.displayName=Ke.displayName;const cr=a.forwardRef(({className:t,...r},n)=>e.jsx(Ue,{ref:n,className:C("text-sm text-muted-foreground",t),...r}));cr.displayName=Ue.displayName;var me=["Enter"," "],lr=["ArrowDown","PageUp","Home"],Ye=["ArrowUp","PageDown","End"],dr=[...lr,...Ye],ur={ltr:[...me,"ArrowRight"],rtl:[...me,"ArrowLeft"]},mr={ltr:["ArrowLeft"],rtl:["ArrowRight"]},B="Menu",[G,fr,pr]=Ht(B),[P,He]=Te(B,[pr,Oe,ze]),ne=Oe(),We=ze(),[hr,T]=P(B),[xr,q]=P(B),Qe=t=>{const{__scopeMenu:r,open:n=!1,children:o,dir:s,onOpenChange:i,modal:f=!0}=t,l=ne(r),[p,m]=a.useState(null),u=a.useRef(!1),d=Ae(i),c=pn(s);return a.useEffect(()=>{const v=()=>{u.current=!0,document.addEventListener("pointerdown",x,{capture:!0,once:!0}),document.addEventListener("pointermove",x,{capture:!0,once:!0})},x=()=>u.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",x,{capture:!0}),document.removeEventListener("pointermove",x,{capture:!0})}},[]),e.jsx(Wt,{...l,children:e.jsx(hr,{scope:r,open:n,onOpenChange:d,content:p,onContentChange:m,children:e.jsx(xr,{scope:r,onClose:a.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:u,dir:c,modal:f,children:o})})})};Qe.displayName=B;var gr="MenuAnchor",pe=a.forwardRef((t,r)=>{const{__scopeMenu:n,...o}=t,s=ne(n);return e.jsx(Qt,{...s,...o,ref:r})});pe.displayName=gr;var he="MenuPortal",[vr,Ze]=P(he,{forceMount:void 0}),Je=t=>{const{__scopeMenu:r,forceMount:n,children:o,container:s}=t,i=T(he,r);return e.jsx(vr,{scope:r,forceMount:n,children:e.jsx(te,{present:n||i.open,children:e.jsx(Zt,{asChild:!0,container:s,children:o})})})};Je.displayName=he;var k="MenuContent",[wr,xe]=P(k),et=a.forwardRef((t,r)=>{const n=Ze(k,t.__scopeMenu),{forceMount:o=n.forceMount,...s}=t,i=T(k,t.__scopeMenu),f=q(k,t.__scopeMenu);return e.jsx(G.Provider,{scope:t.__scopeMenu,children:e.jsx(te,{present:o||i.open,children:e.jsx(G.Slot,{scope:t.__scopeMenu,children:f.modal?e.jsx(br,{...s,ref:r}):e.jsx(jr,{...s,ref:r})})})})}),br=a.forwardRef((t,r)=>{const n=T(k,t.__scopeMenu),o=a.useRef(null),s=z(r,o);return a.useEffect(()=>{const i=o.current;if(i)return hn(i)},[]),e.jsx(ge,{...t,ref:s,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:b(t.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),jr=a.forwardRef((t,r)=>{const n=T(k,t.__scopeMenu);return e.jsx(ge,{...t,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),yr=en("MenuContent.ScrollLock"),ge=a.forwardRef((t,r)=>{const{__scopeMenu:n,loop:o=!1,trapFocus:s,onOpenAutoFocus:i,onCloseAutoFocus:f,disableOutsidePointerEvents:l,onEntryFocus:p,onEscapeKeyDown:m,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:c,onDismiss:v,disableOutsideScroll:x,...y}=t,D=T(k,n),_=q(k,n),h=ne(n),Gt=We(n),ye=fr(n),[Ut,Ne]=a.useState(null),X=a.useRef(null),zt=z(r,X,D.onContentChange),V=a.useRef(0),Y=a.useRef(""),Bt=a.useRef(0),oe=a.useRef(null),Me=a.useRef("right"),se=a.useRef(0),qt=x?gn:a.Fragment,Xt=x?{as:yr,allowPinchZoom:!0}:void 0,Vt=g=>{const A=Y.current+g,I=ye().filter(S=>!S.disabled),F=document.activeElement,ae=I.find(S=>S.ref.current===F)?.textValue,ie=I.map(S=>S.textValue),Ce=Tr(ie,A,ae),$=I.find(S=>S.textValue===Ce)?.ref.current;(function S(Se){Y.current=Se,window.clearTimeout(V.current),Se!==""&&(V.current=window.setTimeout(()=>S(""),1e3))})(A),$&&setTimeout(()=>$.focus())};a.useEffect(()=>()=>window.clearTimeout(V.current),[]),xn();const O=a.useCallback(g=>Me.current===oe.current?.side&&Ar(g,oe.current?.area),[]);return e.jsx(wr,{scope:n,searchRef:Y,onItemEnter:a.useCallback(g=>{O(g)&&g.preventDefault()},[O]),onItemLeave:a.useCallback(g=>{O(g)||(X.current?.focus(),Ne(null))},[O]),onTriggerLeave:a.useCallback(g=>{O(g)&&g.preventDefault()},[O]),pointerGraceTimerRef:Bt,onPointerGraceIntentChange:a.useCallback(g=>{oe.current=g},[]),children:e.jsx(qt,{...Xt,children:e.jsx(vn,{asChild:!0,trapped:s,onMountAutoFocus:b(i,g=>{g.preventDefault(),X.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:f,children:e.jsx(tn,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:m,onPointerDownOutside:u,onFocusOutside:d,onInteractOutside:c,onDismiss:v,children:e.jsx(bn,{asChild:!0,...Gt,dir:_.dir,orientation:"vertical",loop:o,currentTabStopId:Ut,onCurrentTabStopIdChange:Ne,onEntryFocus:b(p,g=>{_.isUsingKeyboardRef.current||g.preventDefault()}),preventScrollOnEntryFocus:!0,children:e.jsx(nn,{role:"menu","aria-orientation":"vertical","data-state":xt(D.open),"data-radix-menu-content":"",dir:_.dir,...h,...y,ref:zt,style:{outline:"none",...y.style},onKeyDown:b(y.onKeyDown,g=>{const I=g.target.closest("[data-radix-menu-content]")===g.currentTarget,F=g.ctrlKey||g.altKey||g.metaKey,ae=g.key.length===1;I&&(g.key==="Tab"&&g.preventDefault(),!F&&ae&&Vt(g.key));const ie=X.current;if(g.target!==ie||!dr.includes(g.key))return;g.preventDefault();const $=ye().filter(S=>!S.disabled).map(S=>S.ref.current);
vendor: 10,314 bytes, line 1
1Ye.includes(g.key)&&$.reverse(),Er($)}),onBlur:b(t.onBlur,g=>{g.currentTarget.contains(g.target)||(window.clearTimeout(V.current),Y.current="")}),onPointerMove:b(t.onPointerMove,U(g=>{const A=g.target,I=se.current!==g.clientX;if(g.currentTarget.contains(A)&&I){const F=g.clientX>se.current?"right":"left";Me.current=F,se.current=g.clientX}}))})})})})})})});et.displayName=k;var Nr="MenuGroup",ve=a.forwardRef((t,r)=>{const{__scopeMenu:n,...o}=t;return e.jsx(L.div,{role:"group",...o,ref:r})});ve.displayName=Nr;var Mr="MenuLabel",tt=a.forwardRef((t,r)=>{const{__scopeMenu:n,...o}=t;return e.jsx(L.div,{...o,ref:r})});tt.displayName=Mr;var J="MenuItem",Ee="menu.itemSelect",re=a.forwardRef((t,r)=>{const{disabled:n=!1,onSelect:o,...s}=t,i=a.useRef(null),f=q(J,t.__scopeMenu),l=xe(J,t.__scopeMenu),p=z(r,i),m=a.useRef(!1),u=()=>{const d=i.current;if(!n&&d){const c=new CustomEvent(Ee,{bubbles:!0,cancelable:!0});d.addEventListener(Ee,v=>o?.(v),{once:!0}),Jt(d,c),c.defaultPrevented?m.current=!1:f.onClose()}};return e.jsx(nt,{...s,ref:p,disabled:n,onClick:b(t.onClick,u),onPointerDown:d=>{t.onPointerDown?.(d),m.current=!0},onPointerUp:b(t.onPointerUp,d=>{m.current||d.currentTarget?.click()}),onKeyDown:b(t.onKeyDown,d=>{const c=l.searchRef.current!=="";n||c&&d.key===" "||me.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});re.displayName=J;var nt=a.forwardRef((t,r)=>{const{__scopeMenu:n,disabled:o=!1,textValue:s,...i}=t,f=xe(J,n),l=We(n),p=a.useRef(null),m=z(r,p),[u,d]=a.useState(!1),[c,v]=a.useState("");return a.useEffect(()=>{const x=p.current;x&&v((x.textContent??"").trim())},[i.children]),e.jsx(G.ItemSlot,{scope:n,disabled:o,textValue:s??c,children:e.jsx(wn,{asChild:!0,...l,focusable:!o,children:e.jsx(L.div,{role:"menuitem","data-highlighted":u?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...i,ref:m,onPointerMove:b(t.onPointerMove,U(x=>{o?f.onItemLeave(x):(f.onItemEnter(x),x.defaultPrevented||x.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:b(t.onPointerLeave,U(x=>f.onItemLeave(x))),onFocus:b(t.onFocus,()=>d(!0)),onBlur:b(t.onBlur,()=>d(!1))})})})}),Cr="MenuCheckboxItem",rt=a.forwardRef((t,r)=>{const{checked:n=!1,onCheckedChange:o,...s}=t;return e.jsx(ct,{scope:t.__scopeMenu,checked:n,children:e.jsx(re,{role:"menuitemcheckbox","aria-checked":ee(n)?"mixed":n,...s,ref:r,"data-state":be(n),onSelect:b(s.onSelect,()=>o?.(ee(n)?!0:!n),{checkForDefaultPrevented:!1})})})});rt.displayName=Cr;var ot="MenuRadioGroup",[Sr,kr]=P(ot,{value:void 0,onValueChange:()=>{}}),st=a.forwardRef((t,r)=>{const{value:n,onValueChange:o,...s}=t,i=Ae(o);return e.jsx(Sr,{scope:t.__scopeMenu,value:n,onValueChange:i,children:e.jsx(ve,{...s,ref:r})})});st.displayName=ot;var at="MenuRadioItem",it=a.forwardRef((t,r)=>{const{value:n,...o}=t,s=kr(at,t.__scopeMenu),i=n===s.value;return e.jsx(ct,{scope:t.__scopeMenu,checked:i,children:e.jsx(re,{role:"menuitemradio","aria-checked":i,...o,ref:r,"data-state":be(i),onSelect:b(o.onSelect,()=>s.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});it.displayName=at;var we="MenuItemIndicator",[ct,Rr]=P(we,{checked:!1}),lt=a.forwardRef((t,r)=>{const{__scopeMenu:n,forceMount:o,...s}=t,i=Rr(we,n);return e.jsx(te,{present:o||ee(i.checked)||i.checked===!0,children:e.jsx(L.span,{...s,ref:r,"data-state":be(i.checked)})})});lt.displayName=we;var _r="MenuSeparator",dt=a.forwardRef((t,r)=>{const{__scopeMenu:n,...o}=t;return e.jsx(L.div,{role:"separator","aria-orientation":"horizontal",...o,ref:r})});dt.displayName=_r;var Dr="MenuArrow",ut=a.forwardRef((t,r)=>{const{__scopeMenu:n,...o}=t,s=ne(n);return e.jsx(rn,{...s,...o,ref:r})});ut.displayName=Dr;var Ir="MenuSub",[ms,mt]=P(Ir),K="MenuSubTrigger",ft=a.forwardRef((t,r)=>{const n=T(K,t.__scopeMenu),o=q(K,t.__scopeMenu),s=mt(K,t.__scopeMenu),i=xe(K,t.__scopeMenu),f=a.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:p}=i,m={__scopeMenu:t.__scopeMenu},u=a.useCallback(()=>{f.current&&window.clearTimeout(f.current),f.current=null},[]);return a.useEffect(()=>u,[u]),a.useEffect(()=>{const d=l.current;return()=>{window.clearTimeout(d),p(null)}},[l,p]),e.jsx(pe,{asChild:!0,...m,children:e.jsx(nt,{id:s.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":s.contentId,"data-state":xt(n.open),...t,ref:Le(r,s.onTriggerChange),onClick:d=>{t.onClick?.(d),!(t.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:b(t.onPointerMove,U(d=>{i.onItemEnter(d),!d.defaultPrevented&&!t.disabled&&!n.open&&!f.current&&(i.onPointerGraceIntentChange(null),f.current=window.setTimeout(()=>{n.onOpenChange(!0),u()},100))})),onPointerLeave:b(t.onPointerLeave,U(d=>{u();const c=n.content?.getBoundingClientRect();if(c){const v=n.content?.dataset.side,x=v==="right",y=x?-5:5,D=c[x?"left":"right"],_=c[x?"right":"left"];i.onPointerGraceIntentChange({area:[{x:d.clientX+y,y:d.clientY},{x:D,y:c.top},{x:_,y:c.top},{x:_,y:c.bottom},{x:D,y:c.bottom}],side:v}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(d),d.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:b(t.onKeyDown,d=>{const c=i.searchRef.current!=="";t.disabled||c&&d.key===" "||ur[o.dir].includes(d.key)&&(n.onOpenChange(!0),n.content?.focus(),d.preventDefault())})})})});ft.displayName=K;var pt="MenuSubContent",ht=a.forwardRef((t,r)=>{const n=Ze(k,t.__scopeMenu),{forceMount:o=n.forceMount,...s}=t,i=T(k,t.__scopeMenu),f=q(k,t.__scopeMenu),l=mt(pt,t.__scopeMenu),p=a.useRef(null),m=z(r,p);return e.jsx(G.Provider,{scope:t.__scopeMenu,children:e.jsx(te,{present:o||i.open,children:e.jsx(G.Slot,{scope:t.__scopeMenu,children:e.jsx(ge,{id:l.contentId,"aria-labelledby":l.triggerId,...s,ref:m,align:"start",side:f.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:u=>{f.isUsingKeyboardRef.current&&p.current?.focus(),u.preventDefault()},onCloseAutoFocus:u=>u.preventDefault(),onFocusOutside:b(t.onFocusOutside,u=>{u.target!==l.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:b(t.onEscapeKeyDown,u=>{f.onClose(),u.preventDefault()}),onKeyDown:b(t.onKeyDown,u=>{const d=u.currentTarget.contains(u.target),c=mr[f.dir].includes(u.key);d&&c&&(i.onOpenChange(!1),l.trigger?.focus(),u.preventDefault())})})})})})});ht.displayName=pt;function xt(t){return t?"open":"closed"}function ee(t){return t==="indeterminate"}function be(t){return ee(t)?"indeterminate":t?"checked":"unchecked"}function Er(t){const r=document.activeElement;for(const n of t)if(n===r||(n.focus(),document.activeElement!==r))return}function Pr(t,r){return t.map((n,o)=>t[(r+o)%t.length])}function Tr(t,r,n){const s=r.length>1&&Array.from(r).every(m=>m===r[0])?r[0]:r,i=n?t.indexOf(n):-1;let f=Pr(t,Math.max(i,0));s.length===1&&(f=f.filter(m=>m!==n));const p=f.find(m=>m.toLowerCase().startsWith(s.toLowerCase()));return p!==n?p:void 0}function Or(t,r){const{x:n,y:o}=t;let s=!1;for(let i=0,f=r.length-1;i<r.length;f=i++){const l=r[i].x,p=r[i].y,m=r[f].x,u=r[f].y;p>o!=u>o&&n<(m-l)*(o-p)/(u-p)+l&&(s=!s)}return s}function Ar(t,r){if(!r)return!1;const n={x:t.clientX,y:t.clientY};return Or(n,r)}function U(t){return r=>r.pointerType==="mouse"?t(r):void 0}var Lr=Qe,Fr=pe,$r=Je,Kr=et,Gr=ve,Ur=tt,zr=re,Br=rt,qr=st,Xr=it,Vr=lt,Yr=dt,Hr=ut,Wr=ft,Qr=ht,je="DropdownMenu",[Zr]=Te(je,[He]),N=He(),[Jr,gt]=Zr(je),vt=t=>{const{__scopeDropdownMenu:r,children:n,dir:o,open:s,defaultOpen:i,onOpenChange:f,modal:l=!0}=t,p=N(r),m=a.useRef(null),[u=!1,d]=on({prop:s,defaultProp:i,onChange:f});return e.jsx(Jr,{scope:r,triggerId:ke(),triggerRef:m,contentId:ke(),open:u,onOpenChange:d,onOpenToggle:a.useCallback(()=>d(c=>!c),[d]),modal:l,children:e.jsx(Lr,{...p,open:u,onOpenChange:d,dir:o,modal:l,children:n})})};vt.displayName=je;var wt="DropdownMenuTrigger",bt=a.forwardRef((t,r)=>{const{__scopeDropdownMenu:n,disabled:o=!1,...s}=t,i=gt(wt,n),f=N(n);return e.jsx(Fr,{asChild:!0,...f,children:e.jsx(L.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...s,ref:Le(r,i.triggerRef),onPointerDown:b(t.onPointerDown,l=>{!o&&l.button===0&&l.ctrlKey===!1&&(i.onOpenToggle(),i.open||l.preventDefault())}),onKeyDown:b(t.onKeyDown,l=>{o||(["Enter"," "].includes(l.key)&&i.onOpenToggle(),l.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(l.key)&&l.preventDefault())})})})});bt.displayName=wt;var eo="DropdownMenuPortal",jt=t=>{const{__scopeDropdownMenu:r,...n}=t,o=N(r);return e.jsx($r,{...o,...n})};jt.displayName=eo;var yt="DropdownMenuContent",Nt=a.forwardRef((t,r)=>{const{__scopeDropdownMenu:n,...o}=t,s=gt(yt,n),i=N(n),f=a.useRef(!1);return e.jsx(Kr,{id:s.contentId,"aria-labelledby":s.triggerId,...i,...o,ref:r,onCloseAutoFocus:b(t.onCloseAutoFocus,l=>{f.current||s.triggerRef.current?.focus(),f.current=!1,l.preventDefault()}),onInteractOutside:b(t.onInteractOutside,l=>{const p=l.detail.originalEvent,m=p.button===0&&p.ctrlKey===!0,u=p.button===2||m;(!s.modal||u)&&(f.current=!0)}),style:{...t.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Nt.displayName=yt;var to="DropdownMenuGroup",no=a.forwardRef((t,r)=>{const{__scopeDropdownMenu:n,...o}=t,s=N(n);return e.jsx(Gr,{...s,...o,ref:r})});no.displayName=to;var ro="DropdownMenuLabel",Mt=a.forwardRef((t,r)=>{const{__scopeDropdownMenu:n,...o}=t,s=N(n);return e.jsx(Ur,{...s,...o,ref:r})});Mt.displayName=ro;var oo="DropdownMenuItem",Ct=a.forwardRef((t,r)=>{const{__scopeDropdownMenu:n,...o}=t,s=N(n);return e.jsx(zr,{...s,...o,ref:r})});Ct.displayName=oo;var so="DropdownMenuCheckboxItem",St=a.forwardRef((t,r)=>{const{__scopeDropdownMenu:n,...o}=t,s=N(n);return e.jsx(Br,{...s,...o,ref:r})});St.displayName=so;var ao="DropdownMenuRadioGroup",io=a.forwardRef((t,r)=>{const{__scopeDropdownMenu:n,...o}=t,s=N(n);return e.jsx(qr,{...s,...o,ref:r})});
1io.displayName=ao;var co="DropdownMenuRadioItem",kt=a.forwardRef((t,r)=>{const{__scopeDropdownMenu:n,...o}=t,s=N(n);return e.jsx(Xr,{...s,...o,ref:r})});kt.displayName=co;var lo="DropdownMenuItemIndicator",Rt=a.forwardRef((t,r)=>{const{__scopeDropdownMenu:n,...o}=t,s=N(n);return e.jsx(Vr,{...s,...o,ref:r})});Rt.displayName=lo;var uo="DropdownMenuSeparator",_t=a.forwardRef((t,r)=>{const{__scopeDropdownMenu:n,...o}=t,s=N(n);return e.jsx(Yr,{...s,...o,ref:r})});_t.displayName=uo;var mo="DropdownMenuArrow",fo=a.forwardRef((t,r)=>{const{__scopeDropdownMenu:n,...o}=t,s=N(n);return e.jsx(Hr,{...s,...o,ref:r})});fo.displayName=mo;var po="DropdownMenuSubTrigger",Dt=a.forwardRef((t,r)=>{const{__scopeDropdownMenu:n,...o}=t,s=N(n);return e.jsx(Wr,{...s,...o,ref:r})});Dt.displayName=po;var ho="DropdownMenuSubContent",It=a.forwardRef((t,r)=>{const{__scopeDropdownMenu:n,...o}=t,s=N(n);return e.jsx(Qr,{...s,...o,ref:r,style:{...t.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});It.displayName=ho;var xo=vt,go=bt,vo=jt,Et=Nt,Pt=Mt,Tt=Ct,Ot=St,At=kt,Lt=Rt,Ft=_t,$t=Dt,Kt=It;const de=xo,ue=go,wo=a.forwardRef(({className:t,inset:r,children:n,...o},s)=>e.jsxs($t,{ref:s,className:C("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",r&&"pl-8",t),...o,children:[n,e.jsx(qn,{
1className:"ml-auto"})]}));wo.displayName=$t.displayName;const bo=a.forwardRef(({className:t,...r},n)=>e.jsx(Kt,{ref:n,className:C("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",t),...r}));bo.displayName=Kt.displayName;const Q=a.forwardRef(({className:t,sideOffset:r=4,...n},o)=>e.jsx(vo,{children:e.jsx(Et,{ref:o,sideOffset:r,className:C("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",t),...n})}));Q.displayName=Et.displayName;const E=a.forwardRef(({className:t,inset:r,...n},o)=>e.jsx(Tt,{ref:o,className:C("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",r&&"pl-8",t),...n}));E.displayName=Tt.displayName;const jo=a.forwardRef(({className:t,children:r,checked:n,...o},s)=>e.jsxs(Ot,{ref:s,className:C("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:n,...o,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(Lt,{children:e.jsx(Be,{className:"h-4 w-4"})})}),r]}));jo.displayName=Ot.displayName;const yo=a.forwardRef(({className:t,children:r,...n},o)=>e.jsxs(At,{ref:o,className:C("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...n,children:[e.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:e.jsx(Lt,{children:e.jsx(jn,{className:"h-2 w-2 fill-current"})})}),r]}));yo.displayName=At.displayName;const No=a.forwardRef(({className:t,inset:r,...n},o)=>e.jsx(Pt,{ref:o,className:C("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",t),...n}));No.displayName=Pt.displayName;const Mo=a.forwardRef(({className:t,...r},n)=>e.jsx(Ft,{ref:n,className:C("-mx-1 my-1 h-px bg-muted",t),...r}));Mo.displayName=Ft.displayName;function Z(t,r){const n=j(t),o=j(r),s=n.getTime()-o.getTime();return s<0?-1:s>0?1:s}function Co(t){return Cn(t,Date.now())}function So(t,r){const n=j(t),o=j(r),s=n.getFullYear()-o.getFullYear(),i=n.getMonth()-o.getMonth();return s*12+i}function ko(t){return r=>{const o=(t?Math[t]:Math.trunc)(r);return o===0?0:o}}function Ro(t,r){return+j(t)-+j(r)}function _o(t){const r=j(t);return r.setHours(23,59,59,999),r}function Do(t){const r=j(t),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(23,59,59,999),r}function Io(t){const r=j(t);return+_o(r)==+Do(r)}function Eo(t,r){const n=j(t),o=j(r),s=Z(n,o),i=Math.abs(So(n,o));let f;if(i<1)f=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-s*i);let l=Z(n,o)===-s;Io(j(t))&&i===1&&Z(t,o)===1&&(l=!1),f=s*(i-Number(l))}return f===0?0:f}function Po(t,r,n){const o=Ro(t,r)/1e3;return ko(n?.roundingMethod)(o)}function To(t,r,n){const o=Sn(),s=n?.locale??o.locale??kn,i=2520,f=Z(t,r);if(isNaN(f))throw new RangeError("Invalid time value");const l=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:f});let p,m;f>0?(p=j(r),m=j(t)):(p=j(t),m=j(r));const u=Po(m,p),d=(De(m)-De(p))/1e3,c=Math.round((u-d)/60);let v;if(c<2)return n?.includeSeconds?u<5?s.formatDistance("lessThanXSeconds",5,l):u<10?s.formatDistance("lessThanXSeconds",10,l):u<20?s.formatDistance("lessThanXSeconds",20,l):u<40?s.formatDistance("halfAMinute",0,l):u<60?s.formatDistance("lessThanXMinutes",1,l):s.formatDistance("xMinutes",1,l):c===0?s.formatDistance("lessThanXMinutes",1,l):s.formatDistance("xMinutes",c,l);if(c<45)return s.formatDistance("xMinutes",c,l);if(c<90)return s.formatDistance("aboutXHours",1,l);if(c<Ie){const x=Math.round(c/60);return s.formatDistance("aboutXHours",x,l)}else{if(c<i)return s.formatDistance("xDays",1,l);if(c<H){const x=Math.round(c/Ie);return s.formatDistance("xDays",x,l)}else if(c<H*2)return v=Math.round(c/H),s.formatDistance("aboutXMonths",v,l)}if(v=Eo(m,p),v<12){const x=Math.round(c/H);return s.formatDistance("xMonths",x,l)}else{const x=v%12,y=Math.trunc(v/12);return x<3?s.formatDistance("aboutXYears",y,l):x<9?s.formatDistance("overXYears",y,l):s.formatDistance("almostXYears",y+1,l)}}function Oo(t,r){return To(t,Co(t),r)}function Ao(){const{theme:t,setTheme:r}=sn(),[n,o]=fe(),[s,i]=a.useState(!1),[f,l]=a.useState(!1),{data:p}=W({queryKey:["/api/auth/me"],retry:!1,queryFn:async()=>{const h=await fetch("/api/auth/me",{credentials:"include"});if(!h.ok)throw new Error("Failed to fetch user");return h.json()}}),{data:m}=W({queryKey:["/api/notifications/count"],enabled:!!p,refetchInterval:3e4,queryFn:async()=>{const h=await fetch("/api/notifications/count",{credentials:"include"});return h.ok?h.json():{count:0}}}),{data:u=[]}=W({queryKey:["/api/notifications"],enabled:!!p&&f,queryFn:async()=>{const h=await fetch("/api/notifications",{credentials:"include"});return h.ok?h.json():[]}}),d=fn({mutationFn:()=>fetch("/api/notifications/read-all",{method:"POST",credentials:"include"}).then(h=>h.json()),onSuccess:()=>{Re.invalidateQueries({queryKey:["/api/notifications/count"]}),Re.invalidateQueries({queryKey:["/api/notifications"]})}}),c=h=>{l(h),h&&m&&m.count>0&&d.mutate()},v=m?.count??0,x=[{href:"/catalog",label:"ÐаÑалог"},{href:"/categories",label:"ÐаÑегоÑии"},{href:"/collections",label:"ÐодбоÑки"},{href:"/top",label:"Топ-100"},{href:"/blog",label:"Ðлог"}],y=[{href:"/quiz",label:"ÐÐ¾Ð´Ð±Ð¾Ñ ÑоÑÑа за 60 Ñек"},{href:"/stacks",label:"СÑеки бизнеÑа 2026"},{href:"/alternatives",label:"ÐмпоÑÑозамеÑение 2026"},{href:"/calculator",label:"ÐалÑкÑлÑÑÐ¾Ñ Ñкономии"},{href:"/badges",label:"ð
Ðнаки довеÑÐ¸Ñ & ÐагÑадÑ"},{href:"/compare",label:"СÑавниÑÑ ÑеÑвиÑÑ"},{href:"/comparisons",label:"ÐоÑовÑе SaaS-биÑвÑ"}
1,{href:"/bonuses",label:"ÐонÑÑÑ Ð¸ Ñкидки"},{href:"/glossary",label:"ÐлоÑÑаÑий"},{href:"/faq",label:"FAQ"}],D={href:"/ad",label:"Реклама"},_=h=>n===h||n.startsWith(h+"/");return e.jsx("header",{className:"sticky top-0 z-50 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 no-print print:hidden",children:e.jsx("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"flex h-14 items-center justify-between gap-4",children:[e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsx(w,{href:"/","data-testid":"link-home",children:e.jsxs("div",{className:"flex items-center gap-2 cursor-pointer",children:[e.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 84 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-8 w-8 text-[#EFF6FF] dark:text-slate-800",children:[e.jsx("path",{d:"M62 0H22C9.84974 0 0 9.84974 0 22V62C0 74.1503 9.84974 84 22 84H62C74.1503 84 84 74.1503 84 62V22C84 9.84974 74.1503 0 62 0Z",fill:"currentColor"}),e.jsx("path",{d:"M41.9984 22L48.1984 34.6L62.0984 36.6L52.0984 46.3L54.4984 60.1L41.9984 53.7L29.4984 60.1L31.8984 46.3L21.8984 36.6L35.7984 34.6L41.9984 22Z",fill:"#0065F4"}),e.jsx("path",{opacity:"0.28",d:"M64 70C67.3137 70 70 67.3137 70 64C70 60.6863 67.3137 58 64 58C60.6863 58 58 60.6863 58 64C58 67.3137 60.6863 70 64 70Z",fill:"#0065F4"})]}),e.jsxs("span",{className:"text-xl font-bold tracking-tight",children:[e.jsx("span",{className:"text-primary",children:"Ru"}),"Tut",e.jsx("span",{className:"text-muted-foreground",children:".Ru"})]})]})}),e.jsxs("nav",{className:"hidden md:flex items-center gap-1",children:[x.map(h=>e.jsx(w,{href:h.href,children:e.jsx(M,{variant:_(h.href)?"secondary":"ghost",size:"sm","data-testid":`link-nav-${h.label.toLowerCase().replace(/\s/g,"-")}`,children:h.label})},h.href)),e.jsxs(de,{children:[e.jsx(ue,{asChild:!0,children:e.jsxs(M,{variant:"ghost",size:"sm",className:"gap-1",children:["ÐÑÑ ",e.jsx(yn,{className:"h-4 w-4"})]})}),e.jsxs(Q,{align:"start",children:[y.map(h=>e.jsx(w,{href:h.href,children:e.jsx(E,{className:"cursor-pointer",children:h.label})},h.href)),e.jsx(w,{href:D.href,children:e.jsx(E,{className:"cursor-pointer text-primary",children:D.label})})]})]})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(M,{variant:"outline",size:"sm",onClick:()=>window.dispatchEvent(new CustomEvent("open-global-search")),className:"hidden sm:flex items-center gap-2 text-muted-foreground hover:text-foreground h-8 px-2.5 text-xs rounded-lg border-muted-foreground/30",title:"ÐÑÑÑÑÑй поиÑк (âK)",children:[e.jsx(_e,{className:"h-3.5 w-3.5"}),e.jsx("span",{children:"ÐоиÑк..."}),e.jsxs("kbd",{className:"pointer-events-none inline-flex h-4 select-none items-center gap-0.5 rounded border bg-muted px-1 font-mono text-[10px] font-medium text-muted-foreground",children:[e.jsx("span",{children:"â"}),"K"]})]}),e.jsx(M,{size:"icon",variant:"ghost",onClick:()=>window.dispatchEvent(new CustomEvent("open-global-search")),className:"sm:hidden text-muted-foreground hover:text-foreground",title:"ÐоиÑк (âK)",children:e.jsx(_e,{className:"h-4 w-4"})}),e.jsx(M,{size:"icon",variant:"ghost",onClick:()=>r(t==="dark"?"light":"dark"),"data-testid":"button-theme-toggle",children:t==="dark"?e.jsx(Jn,{className:"h-4 w-4"}):e.jsx(Hn,{className:"h-4 w-4"})}),p&&e.jsxs(de,{open:f,onOpenChange:c,children:[e.jsx(ue,{asChild:!0,children:e.jsxs(M,{size:"icon",variant:"ghost",className:"relative","data-testid":"button-notifications",children:[e.jsx(Nn,{className:"h-4 w-4"}),v>0&&e.jsx("span",{className:"absolute -top-0.5 -right-0.5 h-4 w-4 rounded-full bg-red-500 text-[10px] text-white flex items-center justify-center font-bold",children:v>9?"9+":v})]})}),e.jsxs(Q,{align:"end",className:"w-80",children:[e.jsx("div",{className:"px-3 py-2 font-semibold text-sm border-b",children:"УведомлениÑ"}),u.length===0?e.jsx("div",{className:"px-3 py-4 text-sm text-muted-foreground text-center",children:"ÐÐµÑ Ñведомлений"}):u.slice(0,10).map(h=>e.jsxs(E,{className:`flex flex-col items-start gap-0.5 px-3 py-2.5 cursor-pointer ${h.read?"":"bg-primary/5"}`,onClick:()=>{h.link&&o(h.link)},children:[e.jsx("span",{className:"font-medium text-sm leading-snug",children:h.title}),h.body&&e.jsx("span",{className:"text-xs text-muted-foreground leading-snug",children:h.body}
1),e.jsx("span",{className:"text-[11px] text-muted-foreground/60 mt-0.5",children:Oo(new Date(h.createdAt),{addSuffix:!0,locale:Rn})})]},h.id))]})]}),p?e.jsxs(de,{children:[e.jsx(ue,{asChild:!0,children:e.jsxs(M,{variant:"outline",size:"sm","data-testid":"button-user-menu",className:"gap-2",children:[e.jsx(er,{className:"h-4 w-4"}),p.name]})}),e.jsxs(Q,{align:"end",children:[e.jsx(w,{href:p.role==="ADMIN"?"/admin":p.role==="VENDOR"?"/vendor/dashboard":"/profile",children:e.jsx(E,{className:"cursor-pointer",children:"ÐиÑнÑй кабинеÑ"})}),e.jsx(w,{href:`/user/${p.id}`,children:e.jsx(E,{className:"cursor-pointer",children:"Ðой пÑблиÑнÑй пÑоÑилÑ"})}),e.jsx(E,{className:"cursor-pointer text-red-500",onClick:async()=>{await fetch("/api/auth/logout",{method:"POST"}),window.location.href="/"},children:"ÐÑйÑи"})]})]}):e.jsx(w,{href:"/login",children:e.jsxs(M,{size:"sm","data-testid":"button-login",children:[e.jsx(Vn,{className:"h-4 w-4 mr-1"}),"ÐойÑи"]})}),e.jsxs(tr,{open:s,onOpenChange:i,children:[e.jsx(nr,{asChild:!0,className:"md:hidden",children:e.jsx(M,{size:"icon",variant:"ghost","data-testid":"button-mobile-menu",children:e.jsx(Yn,{className:"h-5 w-5"})})}),e.jsx(Ve,{side:"right",className:"w-72",children:e.jsx("nav",{className:"flex flex-col gap-2 mt-8",children:[...x,...y].map(h=>e.jsx(w,{href:h.href,onClick:()=>i(!1),children:e.jsx(M,{variant:_(h.href)?"secondary":"ghost",className:"w-full justify-start","data-testid":`link-mobile-${h.label.toLowerCase().replace(/\s/g,"-")}`,children:h.label})},h.href))})})]})]})]})})})}function Lo({className:t=""}){const{toast:r}=Fe(),[n,o]=a.useState(null),[s,i]=a.useState(!1);if(a.useEffect(()=>{if(window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone){i(!0);return}const l=m=>{m.preventDefault(),o(m)},p=()=>{i(!0),o(null),r({title:"ÐÑиложение ÑÑÑановлено",description:"RuTut добавлен на Ð²Ð°Ñ ÑабоÑий ÑÑол"})};return window.addEventListener("beforeinstallprompt",l),window.addEventListener("appinstalled",p),()=>{window.removeEventListener("beforeinstallprompt",l),window.removeEventListener("appinstalled",p)}},[r]),s)return e.jsxs("div",{className:"inline-flex items-center gap-1 text-xs text-muted-foreground",children:[e.jsx(Be,{className:"h-3.5 w-3.5 text-emerald-500"}),e.jsx("span",{children:"ÐÑиложение ÑÑÑановлено"})]});if(!n)return null;const f=async()=>{if(!n)return;n.prompt();const{outcome:l}=await n.userChoice;l==="accepted"&&o(null)};return e.jsxs(M,{variant:"outline",size:"sm",onClick:f,className:`h-8 text-xs gap-1.5 ${t}`,title:"УÑÑановиÑÑ Ð¿Ñиложение RuTut на ÑабоÑий ÑÑол или ÑмаÑÑÑон",children:[e.jsx(Dn,{className:"h-3.5 w-3.5 text-primary"}),e.jsx("span",{children:"УÑÑановиÑÑ RuTut"})]})}function Fo(){const{toast:t}=Fe(),[r,n]=a.useState(""),[o,s]=a.useState(!1),[i,f]=a.useState(!1),l=async p=>{if(p.preventDefault(),!(!r||i)){f(!0);try{await an("POST","/api/leads/consultation",{email:r,name:"ÐодпиÑÑик дайджеÑÑа",source:"ФÑÑÐµÑ - B2B дайджеÑÑ",message:"ÐапÑÐ¾Ñ Ð½Ð° еженеделÑнÑй дайджеÑÑ Ð¾ÑеÑеÑÑвенного ÐРи ÑкÑклÑзивнÑе Ñкидки"}),s(!0),t({title:"ÐодпиÑка оÑоÑмлена!",description:"ТепеÑÑ Ð²Ñ Ð±ÑдеÑе полÑÑаÑÑ Ð»ÑÑÑие обзоÑÑ ÑоÑÑа и пÑÐ¾Ð¼Ð¾ÐºÐ¾Ð´Ñ Ð¾Ñ Ð²ÐµÐ½Ð´Ð¾Ñов."})}catch{s(!0)}finally{f(!1)}}};return e.jsx("footer",{className:"border-t bg-card/50 mt-auto no-print print:hidden",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-8",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8",children:[e.jsxs("div",{children:[e.jsx(w,{href:"/",children:e.jsxs("span",{className:"text-lg font-bold tracking-tight",children:[e.jsx("span",{className:"text-primary",children:"Ru"}),"Tut",e.jsx("span",{className:"text-muted-foreground",children:".Ru"})]})}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:"ÐаÑалог лÑÑÑиÑ
SaaS-инÑÑÑÑменÑов и ÑеÑвиÑов Ð´Ð»Ñ Ð²Ð°Ñего бизнеÑа. ÐÑзÑвÑ, ÑейÑинги, ÑÑавнение."}),e.jsxs("div",{className:"mt-4 pt-3 border-t border-border/60",children:[e.jsx("span",{className:"text-xs font-semibold text-foreground block mb-1.5",children:"B2B-дайджеÑÑ Ð¸ Ñкидки"}),o?e.jsxs("div",{className:"flex items-center gap-1.5 text-xs text-green-600 dark:text-green-400 font-medium",children:[e.jsx(In,{className:"w-3.5 h-3.5"})," ÐодпиÑка ÑÑпеÑно оÑоÑмлена!"]}):e.jsxs("form",{onSubmit:l,className:"flex items-center gap-1.5",children:[e.jsx(_n,{type:"email",required:!0,placeholder:"[email protected]",value:r,onChange:p=>n(p.target.value),className:"h-8 text-xs bg-background/80"}
1),e.jsx(M,{type:"submit",size:"sm",disabled:i,className:"h-8 px-2.5 text-xs shrink-0",children:e.jsx(En,{className:"w-3 h-3"})})]})]})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-sm mb-3",children:"ÐлаÑÑоÑма"}),e.jsxs("ul",{className:"space-y-2",children:[e.jsx("li",{children:e.jsx(w,{href:"/catalog",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-catalog",children:"ÐÑе ÑеÑвиÑÑ"})}),e.jsx("li",{children:e.jsx(w,{href:"/categories",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-categories",children:"ÐаÑегоÑии"})}),e.jsx("li",{children:e.jsx(w,{href:"/calculator",className:"text-sm text-primary font-medium hover:underline transition-colors",children:"ÐалÑкÑлÑÑÐ¾Ñ Ñкономии"})}),e.jsx("li",{children:e.jsx(w,{href:"/quiz",className:"text-sm text-primary font-medium hover:underline transition-colors",children:"ÐкÑпÑеÑÑ-Ð¿Ð¾Ð´Ð±Ð¾Ñ ÐÐ"})}),e.jsx("li",{children:e.jsx(w,{href:"/stacks",className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:"СÑеки компаний"})}),e.jsx("li",{children:e.jsx(w,{href:"/for/smb",className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:"ÐÐ»Ñ Ð¼Ð°Ð»Ð¾Ð³Ð¾ бизнеÑа"})}),e.jsx("li",{children:e.jsx(w,{href:"/top",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-top",children:"Топ-100"})}),e.jsx("li",{children:e.jsx(w,{href:"/submit",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-submit",children:"ÐобавиÑÑ ÑеÑвиÑ"})})]})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-sm mb-3",children:"РеÑÑÑÑÑ"}),e.jsxs("ul",{className:"space-y-2",children:[e.jsx("li",{children:e.jsx(w,{href:"/comparisons",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-comparisons",children:"СÑавнениÑ"})}),e.jsx("li",{children:e.jsx(w,{href:"/alternatives",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-alternatives",children:"ÐлÑÑеÑнаÑивÑ"})}),e.jsx("li",{children:e.jsx(w,{href:"/collections",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-collections",children:"ÐодбоÑки"})}),e.jsx("li",{children:e.jsx(w,{href:"/glossary",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-glossary",children:"ÐлоÑÑаÑий"})}),e.jsx("li",{children:e.jsx(w,{href:"/faq",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-faq",children:"ЧаÑÑÑе вопÑоÑÑ"})}),e.jsx("li",{children:e.jsx(w,{href:"/bonuses",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-bonuses",children:"ÐкÑии"})})]})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-sm mb-3",children:"ÐомпаниÑ"}),e.jsxs("ul",{className:"space-y-2",children:[e.jsx("li",{children:e.jsx(w,{href:"/about",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-about",children:"РпÑоекÑе"})}),e.jsx("li",{children:e.jsx(w,{href:"/blog",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-blog",children:"Ðлог"})}),e.jsx("li",{children:e.jsxs("a",{href:"/feed.xml",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-muted-foreground hover:text-foreground transition-colors flex items-center gap-1.5",title:"RSS-ленÑа блога RuTut",children:[e.jsx(Wn,{className:"h-3 w-3 text-amber-500 shrink-0"})," RSS-ленÑа"]})}),e.jsx("li",{children:e.jsx(w,{href:"/contact",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-contact",children:"ÐонÑакÑÑ"})}),e.jsx("li",{children:e.jsx(w,{href:"/badges",className:"text-sm text-amber-600 dar
1k:text-amber-400 font-medium hover:underline transition-colors flex items-center gap-1",children:"ð
Ðнаки каÑеÑÑва & ÐагÑадÑ"})}),e.jsx("li",{children:e.jsx(w,{href:"/ad",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-advertise",children:"Реклама"})}),e.jsx("li",{children:e.jsx(w,{href:"/login",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-vendor-login",children:"ÐÑ
од Ð´Ð»Ñ Ð²ÐµÐ½Ð´Ð¾Ñов"})}),e.jsx("li",{children:e.jsx(w,{href:"/vendor-terms",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-vendor-terms",children:"УÑÐ»Ð¾Ð²Ð¸Ñ Ð´Ð»Ñ Ð²ÐµÐ½Ð´Ð¾Ñов"})})]})]})]}),e.jsxs("div",{className:"mt-8 pt-6 border-t flex flex-col sm:flex-row items-center justify-between gap-4",children:[e.jsxs("p",{className:"text-xs text-muted-foreground",children:["© ",new Date().getFullYear()," RuTut.ru. ÐÑе пÑава заÑиÑенÑ."]}),e.jsxs("div",{className:"flex items-center gap-4 flex-wrap",children:[e.jsx(Lo,{}),e.jsx(w,{href:"/privacy",className:"text-xs text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-privacy",children:"ÐонÑиденÑиалÑноÑÑÑ"}),e.jsx(w,{href:"/terms",className:"text-xs text-muted-foreground hover:text-foreground transition-colors","data-testid":"link-footer-terms",children:"УÑÐ»Ð¾Ð²Ð¸Ñ Ð¸ÑполÑзованиÑ"})]})]})]})})}function $o(){const[t,r]=a.useState([]),[n,o]=fe();a.useEffect(()=>{const m=()=>{try{const u=localStorage.getItem("compareIds"),d=u?JSON.parse(u):[];r(Array.isArray(d)?d:[])}catch{r([])}};return m(),window.addEventListener("compareUpdated",m),()=>window.removeEventListener("compareUpdated",m)},[]);const{data:s,isLoading:i}=W({queryKey:[`/api/compare/services?slugs=${t.join(",")}`],enabled:t.length>0,queryFn:async()=>{if(t.length===0)return[];const m=t.map(d=>fetch(`/api/services/by-slug/${d}`).then(c=>c.ok?c.json():null).catch(()=>null));return(await Promise.all(m)).filter(Boolean)}});if(a.useEffect(()=>{if(!i&&s&&t.length>0){const m=t.filter(u=>s.some(d=>d.slug===u));m.length!==t.length&&(localStorage.setItem("compareIds",JSON.stringify(m)),r(m),window.dispatchEvent(new Event("compareUpdated")))}},[i,s,t]),t.length===0||n.startsWith("/compare"))return null;const f=m=>{const u=t.filter(d=>d!==m);localStorage.setItem("compareIds",JSON.stringify(u)),window.dispatchEvent(new Event("compareUpdated"))},l=()=>{localStorage.setItem("compareIds","[]"),window.dispatchEvent(new Event("compareUpdated"))},p=e.jsx("div",{className:"fixed bottom-0 left-0 right-0 z-50 p-4 pointer-events-none fade-in slide-in-from-bottom flex justify-center no-print print:hidden",children:e.jsxs("div",{className:"pointer-events-auto bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/80 border shadow-lg rounded-xl p-4 w-full max-w-7xl flex flex-col sm:flex-row items-center gap-4 animate-in slide-in-from-bottom-8 duration-300",children:[e.jsxs("div",{className:"flex-1 flex items-center gap-4 overflow-x-auto pb-2 sm:pb-0 hide-scrollbar w-full",children:[t.map(m=>{const u=s?.find(d=>d.slug===m);return e.jsxs("div",{className:"relative flex items-center gap-3 bg-muted/50 rounded-lg p-2 pr-8 min-w-[200px] border",children:[u?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"h-8 w-8 rounded bg-background flex items-center justify-center overflow-hidden flex-shrink-0",children:u.logoUrl?e.jsx("img",{src:u.logoUrl,alt:u.name,className:"h-full w-full object-cover"}):e.jsx("span",{className:"font-bold text-xs",children:u.name.charAt(0)})}),e.jsxs("div",{className:"flex flex-col min-w-0",children:[e.jsx("span",{className:"text-sm font-medium truncate w-32",children:u.name}),e.jsx("span",{className:"text-[10px] text-muted-foreground truncate w-32",children:u.categories?.[0]?.name||"СеÑвиÑ"})]})]}):e.jsx("div",{className:"h-8 flex-1 flex items-center px-2",children:e.jsx("span",{className:"text-xs text-muted-foreground",children:i?"ÐагÑÑзка...":m})}),e.jsx("button",{onClick:()=>f(m),className:"absolute right-2 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground p-1 rounded-md hover:bg-muted",children:e.jsx(Pe,{className:"h-4 w-4"})})]},m)}),t.length<4&&e.jsx("div",{className:"flex items-center justify-center min-w-[200px] h-14 roun
1ded-lg border border-dashed border-muted-foreground/30 bg-muted/10",children:e.jsxs("span",{className:"text-xs text-muted-foreground",children:["ÐобавиÑÑ ÐµÑе (",4-t.length,")"]})})]}),e.jsxs("div",{className:"flex items-center gap-3 shrink-0",children:[e.jsx(M,{variant:"ghost",size:"icon",onClick:l,title:"ÐÑиÑÑиÑÑ Ð²ÑÑ",children:e.jsx(Pn,{className:"h-4 w-4 text-muted-foreground"})}),e.jsxs(M,{className:"whitespace-nowrap shadow-sm shadow-primary/20",onClick:()=>o(`/compare/${t.join("-vs-")}`),disabled:t.length<2,children:[e.jsx(Xn,{className:"h-4 w-4 mr-2"}),"СÑавниÑÑ (",t.length,")"]})]})]})});return typeof document<"u"?cn.createPortal(p,document.body):null}const Ko=[{label:"ÐаÑалог ÑеÑвиÑов",href:"/catalog",icon:qe,desc:"ÐолнÑй каÑалог Ñ ÑилÑÑÑами"},{label:"ÐÐ¾Ð´Ð±Ð¾Ñ ÑоÑÑа за 60 ÑекÑнд",href:"/quiz",icon:Kn,desc:"ÐнÑеÑакÑивнÑй B2B опÑоÑник"},{label:"СÑавнение ÑеÑвиÑов",href:"/compare",icon:Qn,desc:"ÐаÑÑиÑа ÑÑÐ°Ð²Ð½ÐµÐ½Ð¸Ñ Ð±Ð¾Ðº о бок"},{label:"Топ-100 ÑеÑвиÑов 2026",href:"/top",icon:Mn,desc:"РейÑинг пÑовеÑенного ÐÐ"},{label:"ÐмпоÑÑозамеÑение и аналоги",href:"/alternatives",icon:Zn,desc:"Ðамена заÑÑбежнÑм ÑеÑвиÑам"},{label:"ÐалÑкÑлÑÑÐ¾Ñ Ñкономии",href:"/calculator",icon:Bn,desc:"РаÑÑÐµÑ Ð¾ÐºÑпаемоÑÑи внедÑениÑ"},{label:"СпеÑпÑÐµÐ´Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Ð¸ акÑии",href:"/bonuses",icon:Gn,desc:"ÐÑиÑиалÑнÑе ÑÑÐ»Ð¾Ð²Ð¸Ñ Ð¸ акÑии вендоÑов"},{label:"Ðлог и ÑÑаÑÑи",href:"/blog",icon:Un,desc:"ÐналиÑика и обзоÑÑ ÑоÑÑа"},{label:"Ðаза знаний и FAQ",href:"/faq",icon:zn,desc:"ÐÑвеÑÑ Ð½Ð° ÑаÑÑÑе вопÑоÑÑ"}];function Go(){const[t,r]=a.useState(!1),[n,o]=a.useState(""),[s,i]=a.useState([]),[f,l]=a.useState(!1),[,p]=fe();a.useEffect(()=>{const c=x=>{(x.metaKey||x.ctrlKey)&&x.key.toLowerCase()==="k"&&(x.preventDefault(),r(y=>!y))},v=()=>r(!0);return window.addEventListener("keydown",c),window.addEventListener("open-global-search",v),()=>{window.removeEventListener("keydown",c),window.removeEventListener("open-global-search",v)}},[]),a.useEffect(()=>{if(!n.trim()||n.trim().length<2){i([]),l(!1);return}l(!0);const c=setTimeout(async()=>{try{const v=await fetch(`/api/search/suggestions?q=${encodeURIComponent(n.trim())}`);if(v.ok){const x=await v.json();i(x)}}catch{}finally{l(!1)}},200);return()=>clearTimeout(c)},[n]);const m=c=>{r(!1),p(c)},u=s.filter(c=>c.type==="service"),d=s.filter(c=>c.type==="category");return e.jsxs(Tn,{open:t,onOpenChange:r,children:[e.jsx(On,{placeholder:"ÐоиÑк ÑеÑвиÑов, каÑегоÑий, аналогов... (âK)",value:n,onValueChange:o}),e.jsxs(An,{className:"max-h-[380px] overflow-y-auto",children:[e.jsx(Ln,{children:f?e.jsx("span",{className:"text-muted-foreground",children:"ÐоиÑк ÑеÑений..."}):e.jsxs("div",{className:"py-4 text-center",children:[e.jsxs("p",{className:"text-sm text-muted-foreground",children:["ÐиÑего не найдено по запÑоÑÑ Â«",n,"»"]}),n.trim().length>0&&e.jsxs("button",{type:"button",onClick:()=>m(`/catalog?search=${encodeURIComponent(n.trim())}`),className:"mt-2 inline-flex items-center gap-1.5 text-xs text-primary font-medium hover:underline",children:["ÐÑкаÑÑ Â«",n,"» в полном каÑалоге",e.jsx($n,{className:"h-3 w-3"})]})]})}),u.length>0&&e.jsx(ce,{heading:"СеÑвиÑÑ Ð¸ ÐÐ",children:u.map(c=>e.jsxs(le,{value:`service-${c.name}-${c.slug}`,onSelect:()=>m(`/s/${c.slug}`),className:"flex items-center gap-3 py-2 cursor-pointer",children:[c.logoUrl?e.jsx("img",{src:c.logoUrl,alt:c.name,className:"h-6 w-6 rounded object-contain border bg-background shrink-0",onError:v=>{v.target.style.display="none"}}):e.jsx("div",{className:"h-6 w-6 rounded bg-primary/10 text-primary flex items-center justify-center font-bold text-xs shrink-0",children:c.name.charAt(0).toUpperCase()}),e.jsxs("div",{className:"flex flex-col min-w-0 flex-1",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"font-semibold text-sm truncate",children:c.name}),c.categoryName&&e.jsx("span",{className:"text-[11px] text-muted-foreground bg-muted px-1.5 py-0.5 rounded",children:c.categoryName})]}),c.tagline&&e.jsx("span",{className:"text-xs text-muted-foreground truncate",children:c.tagline})]})]},`service-${c.id}`))}),d.length>0&&e.jsx(ce,{heading:"ÐаÑегоÑии каÑалога",children:d.map(c=>e.jsxs(le,{value:`cat-${c.name}-${c.slug}`,onSelect:()=>m(`/c/${c.slug}`),className:"flex items-center gap-3 py-2 cursor-pointer",children:[e.jsx("div",{className:"h-6 w-6 rounded bg-accent text-accent-foreground flex items-center justify-center shrink-0",children:e.jsx(qe,{className:"h-3.5 w-3.5"})}),e.jsxs("div",{className:"flex flex-col min-w-0",children:[e.jsx("span",{className:"font-medium text-sm",children:c.name}),e.jsx("span",{className:"text-xs text-muted-foreground",children:"ÐаÑегоÑÐ¸Ñ ÐºÐ°Ñалога"})]})]},`cat-${c.id}`))}),(u.length>0||d.length>0)&&e.jsx(Fn,{}),e.jsx(ce,{heading:n.trim().length>0?"Ð Ð°Ð·Ð´ÐµÐ»Ñ Ð¿Ð»Ð°ÑÑоÑмÑ":"ÐÑÑÑÑÑе дейÑÑвиÑ",children:Ko.map(c=>{const v=c.icon;return e.jsxs(le,{value:`${c.label} ${c.desc}`,onSelect:()=>m(c.href),className:"flex items-center gap-3 py-2 cursor-pointer",children:[e.jsx("div",{className:"h-6 w-6 rounded bg-primary/10 text-primary flex items-center justify-center shrink-0",children:e.jsx(v,{className:"h-3.5 w-3.5"})}),e.jsxs("div",{className:"flex flex-col min-w-0 flex-1",children:[e.jsx("span",{className:"font-medium text-sm",children:c.label}),e.jsx("span",{className:"text-xs text-muted-foreground",children:c.desc})]})]},c.href)})})]}),e.jsxs("div",{className:"border-t px-3 py-2 text-[11px] text-muted-foreground flex items-center justify-between bg-muted/30",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("span",{children:[e.jsx("kbd",{className:"px-1 py-0.5 rounded border bg-background font-mono text-[10px]",children:"â"}),e.jsx("kbd",{className:"px-1 py-0.5 rounded border bg-background font-mono text-[10px] ml-0.5",children:"â"})," пеÑеÑ
од"]}),e.jsxs("span",{children:[e.jsx("kbd",{className:"px-1.5 py-0.5 rounded border bg-background font-mono text-[10px]",children:"âµ"})," вÑбÑаÑÑ"]}),e.jsxs("span",{children:[e.jsx("kbd",{className:"px-1.5 py-0.5 rounded border bg-background font-mono text-[10px]",children:"esc"})," закÑÑÑÑ"]})]}),e.jsx("span",{className:"text-primary font-medium",children:"ÐÑÑÑÑÑй поиÑк RuTut"})]})]})}function fs({children:t}){return e.jsxs("div",{className:"flex flex-col min-h-screen",children:[e.jsx(Ao,{}),e.jsx("main",{className:"flex-1",children:t}),e.jsx(Fo,{}),e.jsx($o,{}),e.jsx(Go,{})]})}
1export{Bn as C,de as D,Vn as L,fs as P,Wn as R,tr as S,er as U,Ve as a,sr as b,ir as c,ar as d,qn as e,ue as f,Q as g,E as h,Oo as i,Qn as j,Xn as k,Mo as l};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.