1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1843,24224],{24224:(e,t,n)=>{n.d(t,{d:()=>f,notify:()=>c,t:()=>u});var r=n(95155),i=n(12115),l=n(47650),s=n(25683),a=n(2178);let o=new Set;function c(e){o.forEach(t=>t(e))}function d(e){let{variant:t}=e,n="w-4 h-4";return"success"===t?(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:n,children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12Zm13.36-1.814a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",clipRule:"evenodd"})}):"error"===t?(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:n,children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M12 2.25a9.75 9.75 0 1 0 9.75 9.75A9.76 9.76 0 0 0 12 2.25Zm.75 5.25a.75.75 0 0 0-1.5 0v6a.75.75 0 0 0 1.5 0Zm-.75 9a1.125 1.125 0 1 0 1.125 1.125A1.125 1.125 0 0 0 12 16.5Z",clipRule:"evenodd"})}):"warning"===t?(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:n,children:[(0,r.jsx)("path",{d:"M10.29 3.86a1.5 1.5 0 0 1 2.42 0l8.4 12.6A1.5 1.5 0 0 1 19.9 18H4.1a1.5 1.5 0 0 1-1.21-2.54l8.4-12.6Z"}),(0,r.jsx)("path",{d:"M12 8v5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,r.jsx)("circle",{cx:"12",cy:"16",r:"1",fill:"#000"})]}):(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:n,children:(0,r.jsx)("path",{d:"M12 2.25a9.75 9.75 0 1 0 9.75 9.75A9.76 9.76 0 0 0 12 2.25Zm.75 5.25a.75.75 0 0 0-1.5 0v6a.75.75 0 0 0 1.5 0Zm-.75 9a1.125 1.125 0 1 0 1.125 1.125A1.125 1.125 0 0 0 12 16.5Z"})})}function u(e){let{children:t}=e,[n,c]=(0,i.useState)([]),u=(0,i.useRef)(new Map);(0,i.useEffect)(()=>{var e;let t=(e=e=>{var t,n,r;let i=null!==(t=e.id)&&void 0!==t?t:"".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2)),l=null!==(n=e.variant)&&void 0!==n?n:"info",s=null!==(r=e.duration)&&void 0!==r?r:3500;c(t=>[...t,{...e,id:i,variant:l,duration:s}]);let a=setTimeout(()=>f(i),s);u.current.set(i,a)},o.add(e),()=>o.delete(e));return()=>{t()}},[]);let f=e=>{let t=u.current.get(e);t&&(clearTimeout(t),u.current.delete(e)),c(t=>t.filter(t=>t.id!==e))},h=document.getElementById("portal-root"),p=(0,r.jsx)("div",{className:"pointer-events-none fixed top-[calc(env(safe-area-inset-top)+16px)] right-[calc(env(safe-area-inset-right)+16px)] z-[100] flex flex-col gap-2",children:(0,r.jsx)(s.N,{children:n.map(e=>{var t,n;return(0,r.jsx)(a.P.div,{initial:{opacity:0,y:-10,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.98},transition:{duration:.18},className:["pointer-events-auto min-w-[280px] max-w-[380px] p-3 sm:p-3.5 rounded-xl shadow-lg ring-1","glass-chip-strong",function(e){switch(e){case"success":return"tint-emerald";case"error":return"tint-red";case"warning":return"tint-amber";default:return"tint-steel"}}(null!==(t=e.variant)&&void 0!==t?t:"info")].join(" "),children:(0,r.jsxs)("div",{className:"flex items-start gap-3",children:[(0,r.jsx)("div",{className:"mt-0.5 opacity-90",children:(0,r.jsx)(d,{variant:null!==(n=e.variant)&&void 0!==n?n:"info"})}),(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[e.title&&(0,r.jsx)("div",{className:"text-sm font-medium leading-none mb-1",children:e.title}),(0,r.jsx)("div",{className:"text-sm leading-snug opacity-90 whitespace-pre-line break-words",children:e.description})]}),(0,r.jsx)("button",{"aria-label":"Close notification",className:"ml-1 rounded-md px-2 py-1 text-xs bg-white/10 hover:bg-white/15",onClick:()=>f(e.id),children:"Close"})]})},e.id)})})});return(0,r.jsxs)(r.Fragment,{children:[t,h?(0,l.createPortal)(p,h):p]})}function f(){return(0,i.useMemo)(()=>({notify:c}),[])}},25683:(e,t,n)=>{n.d(t,{N:()=>v});var r=n(95155),i=n(12115),l=n(64710),s=n(99234),a=n(35403),o=n(39656),c=n(27249);class d extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=e instanceof HTMLElement&&e.offsetWidth||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function u(e){let{children:t,isPresent:n,anchorX:l}=e,s=(0,i.useId)(),a=(0,i.useRef)(null),o=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:u}=(0,i.useContext)(c.Q);return(0,i.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:i,right:c}=o.current;if(n||!a.current||!e||!t)return;a.current.dataset.motionPopId=s;let d=document.createElement("style");return u&&(d.nonce=u),document.head.appendChild(d),d.sheet&&d.sheet.insertRule('\n [data-motion-pop-id="'.concat(s,'"] {\n position: absolute !important;\n width: ').concat(e,"px !important;\n height: ").concat(t,"px !important;\n ").concat("left"===l?"left: ".concat(i):"right: ".concat(c),"px !important;\n top: ").concat(r,"px !important;\n }\n ")),()=>{document.head.removeChild(d)}},[n]),(0,r.jsx)(d,{isPresent:n,childRef:a,sizeRef:o,children:i.cloneElement(t,{ref:a})})}let f=e=>{let{children:t,initial:n,isPresent:l,onExitComplete:a,custom:c,presenceAffectsLayout:d,mode:f,anchorX:p}=e,m=(0,s.M)(h),x=(0,i.useId)(),v=!0,g=(0,i.useMemo)(()=>
1(v=!1,{id:x,initial:n,isPresent:l,custom:c,onExitComplete:e=>{for(let t of(m.set(e,!0),m.values()))if(!t)return;a&&a()},register:e=>(m.set(e,!1),()=>m.delete(e))}),[l,m,a]);return d&&v&&(g={...g}),(0,i.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[l]),i.useEffect(()=>{l||m.size||!a||a()},[l]),"popLayout"===f&&(t=(0,r.jsx)(u,{isPresent:l,anchorX:p,children:t})),(0,r.jsx)(o.t.Provider,{value:g,children:t})};function h(){return new Map}var p=n(85087);let m=e=>e.key||"";function x(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let v=e=>{let{children:t,custom:n,initial:o=!0,onExitComplete:c,presenceAffectsLayout:d=!0,mode:u="sync",propagate:h=!1,anchorX:v="left"}=e,[g,j]=(0,p.xQ)(h),w=(0,i.useMemo)(()=>x(t),[t]),C=h&&!g?[]:w.map(m),y=(0,i.useRef)(!0),E=(0,i.useRef)(w),M=(0,s.M)(()=>new Map),[N,R]=(0,i.useState)(w),[b,k]=(0,i.useState)(w);(0,a.E)(()=>{y.current=!1,E.current=w;for(let e=0;e<b.length;e++){let t=m(b[e]);C.includes(t)?M.delete(t):!0!==M.get(t)&&M.set(t,!1)}},[b,C.length,C.join("-")]);let P=[];if(w!==N){let e=[...w];for(let t=0;t<b.length;t++){let n=b[t],r=m(n);C.includes(r)||(e.splice(t,0,n),P.push(n))}return"wait"===u&&P.length&&(e=P),k(x(e)),R(w),null}let{forceRender:Z}=(0,i.useContext)(l.L);return(0,r.jsx)(r.Fragment,{children:b.map(e=>{let t=m(e),i=(!h||!!g)&&(w===b||C.includes(t));return(0,r.jsx)(f,{isPresent:i,initial:(!y.current||!!o)&&void 0,custom:n,presenceAffectsLayout:d,mode:u,onExitComplete:i?void 0:()=>{if(!M.has(t))return;M.set(t,!0);let e=!0;M.forEach(t=>{t||(e=!1)}),e&&(null==Z||Z(),k(E.current),h&&(null==j||j()),c&&c())},anchorX:v,children:e},t)})})}}}]);
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.