https://www.m2rc.it/_next/static/chunks/832-bace2135d2233e62.js?dpl=dpl_8y8hyjGMwBnZAjZu8WCX49VGnYR5
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[832],{4454:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(9946).A)("Cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]])},5688:e=>{e.exports={style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"},className:"__className_188709",variable:"__variable_188709"}},5695:(e,t,r)=>{"use strict";var n=r(8999);r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}})},6621:(e,t,r)=>{"use strict";r.d(t,{Kq:()=>B,LM:()=>J,VY:()=>ee,bL:()=>Q,bm:()=>er,hE:()=>$,rc:()=>et});var n=r(2115),o=r(7650),a=r(5185),s=r(6101),i=r(2284),l=r(6081),u=r(9178),c=r(4378),d=r(8905),p=r(3655),v=r(9033),f=r(5845),m=r(2712),w=r(2564),y=r(5155),E="ToastProvider",[x,h,T]=(0,i.N)("Toast"),[b,g]=(0,l.A)("Toast",[T]),[C,P]=b(E),R=e=>{let{__scopeToast:t,label:r="Notification",duration:o=5e3,swipeDirection:a="right",swipeThreshold:s=50,children:i}=e,[l,u]=n.useState(null),[c,d]=n.useState(0),p=n.useRef(!1),v=n.useRef(!1);return r.trim()||console.error("Invalid prop `label` supplied to `".concat(E,"`. Expected non-empty `string`.")),(0,y.jsx)(x.Provider,{scope:t,children:(0,y.jsx)(C,{scope:t,label:r,duration:o,swipeDirection:a,swipeThreshold:s,toastCount:c,viewport:l,onViewportChange:u,onToastAdd:n.useCallback(()=>d(e=>e+1),[]),onToastRemove:n.useCallback(()=>d(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:v,children:i})})};R.displayName=E;var N="ToastViewport",k=["F8"],L="toast.viewportPause",j="toast.viewportResume",F=n.forwardRef((e,t)=>{let{__scopeToast:r,hotkey:o=k,label:a="Notifications ({hotkey})",...i}=e,l=P(N,r),c=h(r),d=n.useRef(null),v=n.useRef(null),f=n.useRef(null),m=n.useRef(null),w=(0,s.s)(t,m,l.onViewportChange),E=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),T=l.toastCount>0;n.useEffect(()=>{let e=e=>{var t;0!==o.length&&o.every(t=>e[t]||e.code===t)&&(null===(t=m.current)||void 0===t||t.focus())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[o]),n.useEffect(()=>{let e=d.current,t=m.current;if(T&&e&&t){let r=()=>{if(!l.isClosePausedRef.current){let e=new CustomEvent(L);t.dispatchEvent(e),l.isClosePausedRef.current=!0}},n=()=>
1{if(l.isClosePausedRef.current){let e=new CustomEvent(j);t.dispatchEvent(e),l.isClosePausedRef.current=!1}},o=t=>{e.contains(t.relatedTarget)||n()},a=()=>{e.contains(document.activeElement)||n()};return e.addEventListener("focusin",r),e.addEventListener("focusout",o),e.addEventListener("pointermove",r),e.addEventListener("pointerleave",a),window.addEventListener("blur",r),window.addEventListener("focus",n),()=>{e.removeEventListener("focusin",r),e.removeEventListener("focusout",o),e.removeEventListener("pointermove",r),e.removeEventListener("pointerleave",a),window.removeEventListener("blur",r),window.removeEventListener("focus",n)}}},[T,l.isClosePausedRef]);let b=n.useCallback(e=>{let{tabbingDirection:t}=e,r=c().map(e=>{let r=e.ref.current,n=[r,...function(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}(r)];return"forwards"===t?n:n.reverse()});return("forwards"===t?r.reverse():r).flat()},[c]);return n.useEffect(()=>{let e=m.current;if(e){let t=t=>{let r=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!r){var n,o,a;let r=document.activeElement,s=t.shiftKey;if(t.target===e&&s){null===(n=v.current)||void 0===n||n.focus();return}let i=b({tabbingDirection:s?"backwards":"forwards"}),l=i.findIndex(e=>e===r);z(i.slice(l+1))?t.preventDefault():s?null===(o=v.current)||void 0===o||o.focus():null===(a=f.current)||void 0===a||a.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[c,b]),(0,y.jsxs)(u.lg,{ref:d,role:"region","aria-label":a.replace("{hotkey}",E),tabIndex:-1,style:{pointerEvents:T?void 0:"none"},children:[T&&(0,y.jsx)(S,{ref:v,onFocusFromOutsideViewport:()=>{z(b({tabbingDirection:"forwards"}))}}),(0,y.jsx)(x.Slot,{scope:r,children:(0,y.jsx)(p.sG.ol,{tabIndex:-1,...i,ref:w})}),T&&(0,y.jsx)(S,{ref:f,onFocusFromOutsideViewport:()=>{z(b({tabbingDirection:"backwards"}))}})]})});F.displayName=N;var D="ToastFocusProxy",S=n.forwardRef((e,t)=>{let{__scopeToast:r,onFocusFromOutsideViewport:n,...o}=e,a=P(D,r);return(0,y.jsx)(w.s,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:e=>{var t;let r=e.relatedTarget;(null===(t=a.viewport)||void 0===t?void 0:t.contains(r))||n()}})});S.displayName=D;var M="Toast",_=n.forwardRef((e,t)=>{let{forceMount:r,open:n,defaultOpen:o,onOpenChange:s,...i}=e,[l=!0,u]=(0,f.i)({prop:n,defaultProp:o,onChange:s});return(0,y.jsx)(d.C,{present:r||l,children:(0,y.jsx)(K,{open:l,...i,ref:t,onClose:()=>u(!1),onPause:(0,v.c)(e.onPause),onResume:(0,v.c)(e.onResume),onSwipeStart:(0,a.m)(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:(0,a.m)(e.onSwipeMove,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","move"),e.currentTarget.style.setProperty("--radix-toast-swipe-move-x","".concat(t,"px")),e.currentTarget.style.setProperty("--radix-toast-swipe-move-y","".concat(r,"px"))}),onSwipeCancel:(0,a.m)(e.onSwipeCancel,e=>{e.currentTarget.setAttribute("data-swipe","cancel"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:(0,a.m)(e.onSwipeEnd,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","end"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.setProperty("--radix-toast-swipe-end-x","".concat(t,"px")),e.currentTarget.style.setProperty("--radix-toast-swipe-end-y","".concat(r,"px")),u(!1)})})})});_.displayName=M;var[A,I]=b(M,{onClose(){}}),K=n.forwardRef((e,t)=>{let{__scopeToast:r,type:i="foreground",duration:l,open:c,onClose:d,onEscapeKeyDown:f,onPause:m,onResume:w,onSwipeStart:E,onSwipeMove:h,onSwipeCancel:T,onSwipeEnd:b,...g}=e,C=P(M,r),[R,N]=n.useState(null),k=(0,s.s)(t,e=>N(e)),F=n.useRef(null),D=n.useRef(null),S=l||C.duration,_=n.useRef(0),I=n.useRef(S),K=n.useRef(0),{onToastAdd:O,onToastRemove:V}=C,q=(0,v.c)(()=>{var e;(null==R?void 0:R.contains(document.activeElement))&&(null===(e=C.viewport)||void 0===e||e.focus()),d()}),U=n.useCallback(e=>
1{e&&e!==1/0&&(window.clearTimeout(K.current),_.current=new Date().getTime(),K.current=window.setTimeout(q,e))},[q]);n.useEffect(()=>{let e=C.viewport;if(e){let t=()=>{U(I.current),null==w||w()},r=()=>{let e=new Date().getTime()-_.current;I.current=I.current-e,window.clearTimeout(K.current),null==m||m()};return e.addEventListener(L,r),e.addEventListener(j,t),()=>{e.removeEventListener(L,r),e.removeEventListener(j,t)}}},[C.viewport,S,m,w,U]),n.useEffect(()=>{c&&!C.isClosePausedRef.current&&U(S)},[c,S,C.isClosePausedRef,U]),n.useEffect(()=>(O(),()=>V()),[O,V]);let X=n.useMemo(()=>R?function e(t){let r=[];return Array.from(t.childNodes).forEach(t=>{var n;if(t.nodeType===t.TEXT_NODE&&t.textContent&&r.push(t.textContent),(n=t).nodeType===n.ELEMENT_NODE){let n=t.ariaHidden||t.hidden||"none"===t.style.display,o=""===t.dataset.radixToastAnnounceExclude;if(!n)if(o){let e=t.dataset.radixToastAnnounceAlt;e&&r.push(e)}else r.push(...e(t))}}),r}(R):null,[R]);return C.viewport?(0,y.jsxs)(y.Fragment,{children:[X&&(0,y.jsx)(G,{__scopeToast:r,role:"status","aria-live":"foreground"===i?"assertive":"polite","aria-atomic":!0,children:X}),(0,y.jsx)(A,{scope:r,onClose:q,children:o.createPortal((0,y.jsx)(x.ItemSlot,{scope:r,children:(0,y.jsx)(u.bL,{asChild:!0,onEscapeKeyDown:(0,a.m)(f,()=>{C.isFocusedToastEscapeKeyDownRef.current||q(),C.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,y.jsx)(p.sG.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":c?"open":"closed","data-swipe-direction":C.swipeDirection,...g,ref:k,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:(0,a.m)(e.onKeyDown,e=>{"Escape"!==e.key||(null==f||f(e.nativeEvent),e.nativeEvent.defaultPrevented||(C.isFocusedToastEscapeKeyDownRef.current=!0,q()))}),onPointerDown:(0,a.m)(e.onPointerDown,e=>{0===e.button&&(F.current={x:e.clientX,y:e.clientY})}),onPointerMove:(0,a.m)(e.onPointerMove,e=>{if(!F.current)return;let t=e.clientX-F.current.x,r=e.clientY-F.current.y,n=!!D.current,o=["left","right"].includes(C.swipeDirection),a=["left","up"].includes(C.swipeDirection)?Math.min:Math.max,s=o?a(0,t):0,i=o?0:a(0,r),l="touch"===e.pointerType?10:2,u={x:s,y:i},c={originalEvent:e,delta:u};n?(D.current=u,W("toast.swipeMove",h,c,{discrete:!1})):Z(u,C.swipeDirection,l)?(D.current=u,W("toast.swipeStart",E,c,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>l||Math.abs(r)>l)&&(F.current=null)}),onPointerUp:(0,a.m)(e.onPointerUp,e=>{let t=D.current,r=e.target;if(r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),D.current=null,F.current=null,t){let r=e.currentTarget,n={originalEvent:e,delta:t};Z(t,C.swipeDirection,C.swipeThreshold)?W("toast.swipeEnd",b,n,{discrete:!0}):W("toast.swipeCancel",T,n,{discrete:!0}),r.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})})}),C.viewport)})]}):null}),G=e=>{let{__scopeToast:t,children:r,...o}=e,a=P(M,t),[s,i]=n.useState(!1),[l,u]=n.useState(!1);return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{},t=(0,v.c)(e);(0,m.N)(()=>{let e=0,r=0;return e=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(r)}},[t])}(()=>i(!0)),n.useEffect(()=>{let e=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(e)},[]),l?null:(0,y.jsx)(c.Z,{asChild:!0,children:(0,y.jsx)(w.s,{...o,children:s&&(0,y.jsxs)(y.Fragment,{children:[a.label," ",r]})})})},O=n.forwardRef((e,t)=>{let{__scopeToast:r,...n}=e;return(0,y.jsx)(p.sG.div,{...n,ref:t})});O.displayName="ToastTitle";var V=n.forwardRef((e,t)=>{let{__scopeToast:r,...n}=e;return(0,y.jsx)(p.sG.div,{...n,ref:t})});V.displayName="ToastDescription";var q="ToastAction",U=n.forwardRef((e,t)=>{let{altText:r,...n}=e;return r.trim()?(0,y.jsx)(H,{altText:r,asChild:!0,children:(0,y.jsx)(Y,{...n,ref:t})}):(console.error("Invalid prop `altText` supplied to `".concat(q,"`. Expected non-empty `string`.")),null)});U.displayName=q;var X="ToastClose",Y=n.forwardRef((e,t)=>{let{__scopeToast:r,...n}=e,o=I(X,r);return(0,y.jsx)(H,{asChild:!0,children:(0,y.jsx)(p.sG.button,{type:"button",...n,ref:t,onClick:(0,a.m)(e.onClick,o.onClose)})})});Y.displayName=X;var H=n.forwardRef((e,t)=>
1{let{__scopeToast:r,altText:n,...o}=e;return(0,y.jsx)(p.sG.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0,...o,ref:t})});function W(e,t,r,n){let{discrete:o}=n,a=r.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),o?(0,p.hO)(a,s):a.dispatchEvent(s)}var Z=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=Math.abs(e.x),o=Math.abs(e.y),a=n>o;return"left"===t||"right"===t?a&&n>r:!a&&o>r};function z(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}var B=R,J=F,Q=_,$=O,ee=V,et=U,er=Y},9432:e=>{e.exports={style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"},className:"__className_9a8899",variable:"__variable_9a8899"}}}]);
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.