3269-419ec049c2b8e704.js.загрузка 7.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3269],{71007:function(e,t,n){n.d(t,{Z:function(){return r}});/**
  2. * @license lucide-react v0.436.0 - ISC
  3. *
  4. * This source code is licensed under the ISC license.
  5. * See the LICENSE file in the root directory of this source tree.
  6. */let r=(0,n(46145).Z)("CirclePause",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]])},46594:function(e,t,n){n.d(t,{Z:function(){return r}});/**
  7. * @license lucide-react v0.436.0 - ISC
  8. *
  9. * This source code is licensed under the ISC license.
  10. * See the LICENSE file in the root directory of this source tree.
  11. */let r=(0,n(46145).Z)("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]])},82137:function(e,t,n){n.d(t,{Z:function(){return r}});/**
  12. * @license lucide-react v0.436.0 - ISC
  13. *
  14. * This source code is licensed under the ISC license.
  15. * See the LICENSE file in the root directory of this source tree.
  16. */let r=(0,n(46145).Z)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},6838:function(e,t,n){n.d(t,{Z:function(){return r}});/**
  17. * @license lucide-react v0.436.0 - ISC
  18. *
  19. * This source code is licensed under the ISC license.
  20. * See the LICENSE file in the root directory of this source tree.
  21. */let r=(0,n(46145).Z)("Loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]])},1073:function(e,t,n){n.d(t,{Z:function(){return r}});/**
  22. * @license lucide-react v0.436.0 - ISC
  23. *
  24. * This source code is licensed under the ISC license.
  25. * See the LICENSE file in the root directory of this source tree.
  26. */let r=(0,n(46145).Z)("RefreshCcw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]])},67815:function(e,t,n){n.d(t,{Z:function(){return r}});/**
  27. * @license lucide-react v0.436.0 - ISC
  28. *
  29. * This source code is licensed under the ISC license.
  30. * See the LICENSE file in the root directory of this source tree.
  31. */let r=(0,n(46145).Z)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},4504:function(e,t,n){n.d(t,{f:function(){return d}});var r=n(7896),o=n(2784),a=n(72714);let i="horizontal",c=["horizontal","vertical"],u=(0,o.forwardRef)((e,t)=>{let{decorative:n,orientation:c=i,...u}=e,d=l(c)?c:i;return(0,o.createElement)(a.WV.div,(0,r.Z)({"data-orientation":d},n?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"},u,{ref:t}))});function l(e){return c.includes(e)}u.propTypes={orientation(e,t,n){let r=e[t],o=String(r);return r&&!l(r)?Error(`Invalid prop \`orientation\` of value \`${o}\` supplied to \`${n}\`, expected one of:
  32. - horizontal
  33. - vertical
  34. Defaulting to \`${i}\`.`):null}};let d=u},83997:function(e,t,n){let r;n.d(t,{VY:function(){return S},fC:function(){return R},xz:function(){return D}});var o=n(7896),a=n(2784),i=n(17998),c=n(92211),u=n(87695),l=n(62656),d=n(94465),s=(n(78773),n(79616)),p=n(72714),f=n(35999);let h="HoverCard",[v,y]=(0,c.b)(h,[d.D7]),k=(0,d.D7)(),[m,C]=v(h),w=(0,a.forwardRef)((e,t)=>{let{__scopeHoverCard:n,...r}=e,c=C("HoverCardTrigger",n),u=k(n);return(0,a.createElement)(d.ee,(0,o.Z)({asChild:!0},u),(0,a.createElement)(p.WV.a,(0,o.Z)({"data-state":c.open?"open":"closed"},r,{ref:t,onPointerEnter:(0,i.M)(e.onPointerEnter,P(c.onOpen)),onPointerLeave:(0,i.M)(e.onPointerLeave,P(c.onClose)),onFocus:(0,i.M)(e.onFocus,c.onOpen),onBlur:(0,i.M)(e.onBlur,c.onClose),onTouchStart:(0,i.M)(e.onTouchStart,e=>e.preventDefault())})))}),[E,x]=v("HoverCardPortal",{forceMount:void 0}),M="HoverCardContent",g=(0,a.forwardRef)((e,t)=>{let n=x(M,e.__scopeHoverCard),{forceMount:r=n.forceMount,...c}=e,u=C(M,e.__scopeHoverCard);return(0,a.createElement)(s.z,{present:r||u.open},(0,a.createElement)(b,(0,o.Z)({"data-state":u.open?"open":"closed"},c,{onPointerEnter:(0,i.M)(e.onPointerEnter,P(u.onOpen)),onPointerLeave:(0,i.M)(e.onPointerLeave,P(u.onClose)),ref:t})))}),b=(0,a.forwardRef)((e,t)=>{let{__scopeHoverCard:n,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:s,onInteractOutside:p,...h}=e,v=C(M,n),y=k(n),m=(0,a.useRef)(null),w=(0,l.e)(t,m),[E,x]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(E){let e=document.body;return r=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=r,e.style.webkitUserSelect=r}}},[E]),(0,a.useEffect)(()=>{if(m.current){let e=()=>{x(!1),v.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var e;(null===(e=document.getSelection())||void 0===e?void 0:e.toString())!==""&&(v.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),v.hasSelectionRef.current=!1,v.isPointerDownOnContentRef.current=!1}}},[v.isPointerDownOnContentRef,v.hasSelectionRef]),(0,a.useEffect)(()=>{m.current&&(function(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;n.nextNode();)t.push(n.currentNode);return t})(m.current).forEach(e=>e.setAttribute("tabindex","-1"))}),(0,a.createElement)(f.XB,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:p,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:(0,i.M)(s,e=>{e.preventDefault()}),onDismiss:v.onDismiss},(0,a.createElement)(d.VY,(0,o.Z)({},y,h,{onPointerDown:(0,i.M)(h.onPointerDown,e=>{e.currentTarget.contains(e.target)&&x(!0),v.hasSelectionRef.current=!1,v.isPointerDownOnContentRef.current=!0}),ref:w,style:{...h.style,userSelect:E?"text":void 0,WebkitUserSelect:E?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})))});function P(e){return t=>"touch"===t.pointerType?void 0:e()}let R=e=>{let{__scopeHoverCard:t,children:n,open:r,defaultOpen:o,onOpenChange:i,openDelay:c=700,closeDelay:l=300}=e,s=k(t),p=(0,a.useRef)(0),f=(0,a.useRef)(0),h=(0,a.useRef)(!1),v=(0,a.useRef)(!1),[y=!1,C]=(0,u.T)({prop:r,defaultProp:o,onChange:i}),w=(0,a.useCallback)(()=>{clearTimeout(f.current),p.current=window.setTimeout(()=>C(!0),c)},[c,C]),E=(0,a.useCallback)(()=>{clearTimeout(p.current),h.current||v.current||(f.current=window.setTimeout(()=>C(!1),l))},[l,C]),x=(0,a.useCallback)(()=>C(!1),[C]);return(0,a.useEffect)(()=>()=>{clearTimeout(p.current),clearTimeout(f.current)},[]),(0,a.createElement)(m,{scope:t,open:y,onOpenChange:C,onOpen:w,onClose:E,onDismiss:x,hasSelectionRef:h,isPointerDownOnContentRef:v},(0,a.createElement)(d.fC,s,n))},D=w,S=g}}]);