PageSourceSearch

https://newsletterytics.com/_next/static/chunks/965-69568cf5a2937dcb.js

js newsletterytics.com collected 2026-10-02 00:53:46 UTC 16,625 bytes, 9 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[965],{6353:function(e,t,n){n.d(t,{J:function(){return u}});var r=n(5151),o=n(8713),l=n(9636),i=n(9372),a=n(7437),s={path:(0,a.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,a.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,a.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,a.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},u=(0,r.G)((e,t)=>{let{as:n,viewBox:r,color:u="currentColor",focusable:c=!1,children:d,className:f,__css:m,...p}=e,h=(0,i.cx)("chakra-icon",f),x=(0,o.mq)("Icon",e),v={ref:t,focusable:c,className:h,__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:u,...m,...x}},g=null!=r?r:s.viewBox;if(n&&"string"!=typeof n)return(0,a.jsx)(l.m.svg,{as:n,...v,...p});let j=null!=d?d:s.path;return(0,a.jsx)(l.m.svg,{verticalAlign:"middle",viewBox:g,...v,...p,children:j})});u.displayName="Icon"},9240:function(e,t,n){n.d(t,{k:function(){return i}});var r=n(5151),o=n(9636),l=n(7437),i=(0,r.G)(function(e,t){let{direction:n,align:r,justify:i,wrap:a,basis:s,grow:u,shrink:c,...d}=e;return(0,l.jsx)(o.m.div,{ref:t,__css:{display:"flex",flexDirection:n,alignItems:r,justifyContent:i,flexWrap:a,flexBasis:s,flexGrow:u,flexShrink:c},...d})});i.displayName="Flex"},7976:function(e,t,n){n.d(t,{L:function(){return i},h:function(){return a}});var r=n(2730),o=n(7437),[l,i]=(0,r.k)({strict:!1,name:"PortalManagerContext"});function a(e){let{children:t,zIndex:n}=e;return(0,o.jsx)(l,{value:{zIndex:n},children:t})}a.displayName="PortalManager"},4346:function(e,t,n){n.d(t,{G:function(){return o}});var r=n(2265),o=(null==globalThis?void 0:globalThis.document)?r.useLayoutEffect:r.useEffect},1621:function(e,t,n){n.d(t,{Qi:function(){return N},VW:function(){return S},OX:function(){return E}});var r=n(782),o=n(2265);function l(e,t){let n=(0,o.useRef)(!1),r=(0,o.useRef)(!1);(0,o.useEffect)(()=>{if(n.current&&r.current)return e();r.current=!0},t),(0,o.useEffect)(()=>(n.current=!0,()=>{n.current=!1}),[])}var i=n(9372),a=n(3241),s=n(3831),u=n(9636),c=n(7437),d={initial:e=>{let{position:t}=e,n=["top","bottom"].includes(t)?"y":"x",r=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(r=1),{opacity:0,[n]:24*r}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},f=(0,o.memo)(e=>{let{id:t,message:n,onCloseComplete:f,onRequestRemove:m,requestClose:p=!1,position:h="bottom",duration:x=5e3,containerStyle:v,motionVariants:g=d,toastSpacing:j="0.5rem"}=e,[y,b]=(0,o.useState)(x),C=(0,a.hO)();l(()=>{C||null==f||f()},[C]),l(()=>{b(x)},[x]);let k=()=>{C&&m()};(0,o.useEffect)(()=>{C&&p&&m()},[C,p,m]),function(e,t){let n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,o.useRef)(e);return(0,o.useEffect)(()=>{n.current=e}),(0,o.useCallback)(function(){for(var e,t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];return null==(e=n.current)?void 0:e.call(n,...r)},t)}(e);(0,o.useEffect)(()=>{if(null==t)return;let e=null;return e=window.setTimeout(()=>{n()},t),()=>{e&&window.clearTimeout(e)}},[t,n])}(k,y);let w=(0,o.useMemo)(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:j,...v}),[v,j]),A=(0,o.useMemo)(()=>(0,r.sv)(h),[h]);return(0,c.jsx)(s.E.div,{layout:!0,className:"chakra-toast",variants:g,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>b(null),onHoverEnd:()=>b(x),custom:{position:h},style:A,children:(0,c.jsx)(u.m.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:w,children:(0,i.Pu)(n,{id:t,onClose:k})})})});f.displayName="ToastComponent";var m=n(8676),p=n(4446),h=n(7976),x=n(4346),v=n(2730),g=n(4887),[j,y]=(0,v.k)({strict:!1,name:"PortalContext"}),b="chakra-portal",C=e=>(0,c.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),k=e=>{let{appendToParentPortal:t,children:n}=e,[r,l]=(0,o.useState)(null),i=(0,o.useRef)(null),[,a]=(0,o.useState)({});(0,o.useEffect)(()=>a({}),[]);let s=y(),u=(0,h.L)();(0,x.G)(()=>
1{if(!r)return;let e=r.ownerDocument,n=t&&null!=s?s:e.body;if(!n)return;i.current=e.createElement("div"),i.current.className=b,n.appendChild(i.current),a({});let o=i.current;return()=>{n.contains(o)&&n.removeChild(o)}},[r]);let d=(null==u?void 0:u.zIndex)?(0,c.jsx)(C,{zIndex:null==u?void 0:u.zIndex,children:n}):n;return i.current?(0,g.createPortal)((0,c.jsx)(j,{value:i.current,children:d}),i.current):(0,c.jsx)("span",{ref:e=>{e&&l(e)}})},w=e=>{let{children:t,containerRef:n,appendToParentPortal:r}=e,l=n.current,i=null!=l?l:"undefined"!=typeof window?document.body:void 0,a=(0,o.useMemo)(()=>{let e=null==l?void 0:l.ownerDocument.createElement("div");return e&&(e.className=b),e},[l]),[,s]=(0,o.useState)({});return((0,x.G)(()=>s({}),[]),(0,x.G)(()=>{if(a&&i)return i.appendChild(a),()=>{i.removeChild(a)}},[a,i]),i&&a)?(0,g.createPortal)((0,c.jsx)(j,{value:r?a:null,children:t}),a):null};function A(e){let{containerRef:t,...n}={appendToParentPortal:!0,...e};return t?(0,c.jsx)(w,{containerRef:t,...n}):(0,c.jsx)(k,{...n})}A.className=b,A.selector=".chakra-portal",A.displayName="Portal";var[N,E]=(0,v.k)({name:"ToastOptionsContext",strict:!1}),S=e=>{let t=(0,o.useSyncExternalStore)(m.fp.subscribe,m.fp.getState,m.fp.getState),{motionVariants:n,component:l=f,portalProps:i}=e,a=Object.keys(t).map(e=>{let o=t[e];return(0,c.jsx)("div",{role:"region","aria-live":"polite","aria-label":"Notifications-".concat(e),id:"chakra-toast-manager-".concat(e),style:(0,r.IW)(e),children:(0,c.jsx)(p.M,{initial:!1,children:o.map(e=>(0,c.jsx)(l,{motionVariants:n,...e},e.id))})},e)});return(0,c.jsx)(A,{...i,children:a})}},8676:function(e,t,n){n.d(t,{Cj:function(){return _},fp:function(){return A}});var r=n(782),o=n(6353),l=n(7437);
1function i(e){return(0,l.jsx)(o.J,{viewBox:"0 0 24 24",...e,children:(0,l.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var a=n(2730),s=n(6829),[u,c]=(0,a.k)({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[d,f]=(0,a.k)({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),m={info:{icon:function(e){return(0,l.jsx)(o.J,{viewBox:"0 0 24 24",...e,children:(0,l.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})},colorScheme:"blue"},warning:{icon:i,colorScheme:"orange"}
1,success:{icon:function(e){return(0,l.jsx)(o.J,{viewBox:"0 0 24 24",...e,children:(0,l.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})},colorScheme:"green"},error:{icon:i,colorScheme:"red"},loading:{icon:s.$,colorScheme:"blue"}},p=n(9372),h=n(5151),x=n(9506),v=n(8713),g=n(9636),j=(0,h.G)(function(e,t){var n;let{status:r="info",addRole:o=!0,...i}=(0,x.Lr)(e),a=null!=(n=e.colorScheme)?n:m[r].colorScheme,s=(0,v.jC)("Alert",{...e,colorScheme:a}),c={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return(0,l.jsx)(u,{value:{status:r},children:(0,l.jsx)(d,{value:s,children:(0,l.jsx)(g.m.div,{"data-status":r,role:o?"alert":void 0,ref:t,...i,className:(0,p.cx)("chakra-alert",e.className),__css:c})})})});function y(e){let{status:t}=c(),n=m[t].icon,r=f(),o="loading"===t?r.spinner:r.icon;return(0,l.jsx)(g.m.span,{display:"inherit","data-status":t,...e,className:(0,p.cx)("chakra-alert__icon",e.className),__css:o,children:e.children||(0,l.jsx)(n,{h:"100%",w:"100%"})})}j.displayName="Alert",y.displayName="AlertIcon";var b=(0,h.G)(function(e,t){let n=f(),{status:r}=c();return(0,l.jsx)(g.m.div,{ref:t,"data-status":r,...e,className:(0,p.cx)("chakra-alert__title",e.className),__css:n.title})});b.displayName="AlertTitle";var C=(0,h.G)(function(e,t){let n=f(),{status:r}=c(),o={display:"inline",...n.description};return(0,l.jsx)(g.m.div,{ref:t,"data-status":r,...e,className:(0,p.cx)("chakra-alert__desc",e.className),__css:o})});function k(e){return(0,l.jsx)(o.J,{focusable:"false","aria-hidden":!0,...e,children:(0,l.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,
111.823a.25.25,0,0,1,0,.354Z"})})}C.displayName="AlertDescription";var w=(0,h.G)(function(e,t){let n=(0,v.mq)("CloseButton",e),{children:r,isDisabled:o,__css:i,...a}=(0,x.Lr)(e);return(0,l.jsx)(g.m.button,{type:"button","aria-label":"Close",ref:t,disabled:o,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...n,...i},...a,children:r||(0,l.jsx)(k,{width:"1em",height:"1em"})})});w.displayName="CloseButton";var A=function(e){let t=e,n=new Set,o=e=>{t=e(t),n.forEach(e=>e())};return{getState:()=>t,subscribe:t=>(n.add(t),()=>{o(()=>e),n.delete(t)}),removeToast:(e,t)=>{o(n=>({...n,[t]:n[t].filter(t=>t.id!=e)}))},notify:(e,t)=>{let n=function(e){var t,n;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};N+=1;let o=null!=(t=r.id)?t:N,l=null!=(n=r.position)?n:"bottom";return{id:o,message:e,position:l,duration:r.duration,onCloseComplete:r.onCloseComplete,onRequestRemove:()=>A.removeToast(String(o),l),status:r.status,requestClose:!1,containerStyle:r.containerStyle}}(e,t),{position:r,id:l}=n;return o(e=>{var t,o;let l=r.includes("top")?[n,...null!=(t=e[r])?t:[]]:[...null!=(o=e[r])?o:[],n];return{...e,[r]:l}}),l},update:(e,t)=>{e&&o(n=>{let o={...n},{position:l,index:i}=(0,r.Dn)(o,e);return l&&-1!==i&&(o[l][i]={...o[l][i],...t,message:S(t)}),o})},closeAll:function(){let{positions:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(t=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((e,n)=>(e[n]=t[n].map(e=>({...e,requestClose:!0})),e),{...t}))},close:e=>{o(t=>{let n=(0,r.ym)(t,e);return n?{...t,[n]:t[n].map(t=>t.id==e?{...t,requestClose:!0}:t)}:t})},isActive:e=>!!(0,r.Dn)(A.getState(),e).position}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]}),N=0,E=e=>{let{status:t,variant:n="solid",id:r,title:o,isClosable:i,onClose:a,description:s,colorScheme:u,icon:c}=e,d=r?{root:"toast-".concat(r),title:"toast-".concat(r,"-title"),description:"toast-".concat(r,"-description")}:void 0;return(0,l.jsxs)(j,{addRole:!1,status:t,variant:n,id:null==d?void 0:d.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:u,children:[(0,l.jsx)(y,{children:c}),(0,l.jsxs)(g.m.div,{flex:"1",maxWidth:"100%",children:[o&&(0,l.jsx)(b,{id:null==d?void 0:d.title,children:o}),s&&(0,l.jsx)(C,{id:null==d?void 0:d.description,display:"block",children:s})]}),i&&(0,l.jsx)(w,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function S(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{render:t,toastComponent:n=E}=e;return r=>"function"==typeof t?t({...r,...e}):(0,l.jsx)(n,{...r,...e})}function _(e,t){let n=n=>{var r;return{...t,...n,position:function(e,t){var n;let r=null!=e?e:"bottom",o={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[r];return null!=(n=null==o?void 0:o[t])?n:r}(null!=(r=null==n?void 0:n.position)?r:null==t?void 0:t.position,e)}},r=e=>{let t=n(e),r=S(t);return A.notify(r,t)};return r.update=(e,t)=>{A.update(e,n(t))},r.promise=(e,t)=>{let n=r({...t.loading,status:"loading",duration:null});e.then(e=>r.update(n,{status:"success",duration:5e3,...(0,p.Pu)(t.success,e)})).catch(e=>r.update(n,{status:"error",duration:5e3,...(0,p.Pu)(t.error,e)}))},r.closeAll=A.closeAll,r.close=A.close,r.isActive=A.isActive,r}},782:function(e,t,n){n.d(t,{Dn:function(){return o},IW:function(){return a},sv:function(){return i},ym:function(){return l}});var r=(e,t)=>e.find(e=>e.id===t);function o(e,t){let n=l(e,t),r=n?e[n].findIndex(e=>e.id===t):-1;return{position:n,index:r}}function l(e,t){for(let[n,o]of Object.entries(e))if(r(o,t))return n}function i(e){let t=e.includes("right"),n=e.includes("left"),r="center";return t&&(r="flex-end"),n&&(r="flex-start"),{display:"flex",flexDirection:"column",alignItems:r}}function a(e){let t=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,n=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,r=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",o=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:t,bottom:n,right:r,left:o}}},4446:function(e,t,n){n.d(t,{M:function(){return v}});var r=n(7437),o=n(2265),l=n(7797),i=n(458),a=n(9791);class s extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:t}){let n=(0,o.useId)(),l=(0,o.useRef)(null),i=(0,o.useRef)({width:0,height:0,top:0,left:0}),{nonce:u}=(0,o.useContext)(a._);return(0,o.useInsertionEffect)(()=>{let{width:e,height:r,top:o,left:a}
1=i.current;if(t||!l.current||!e||!r)return;l.current.dataset.motionPopId=n;let s=document.createElement("style");return u&&(s.nonce=u),document.head.appendChild(s),s.sheet&&s.sheet.insertRule(`
2          [data-motion-pop-id="${n}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${r}px !important;
6            top: ${o}px !important;
7            left: ${a}px !important;
8          }
9        `),()=>{document.head.removeChild(s)}},[t]),(0,r.jsx)(s,{isPresent:t,childRef:l,sizeRef:i,children:o.cloneElement(e,{ref:l})})}let c=({children:e,initial:t,isPresent:n,onExitComplete:a,custom:s,presenceAffectsLayout:c,mode:f})=>{let m=(0,i.h)(d),p=(0,o.useId)(),h=(0,o.useMemo)(()=>({id:p,initial:t,isPresent:n,custom:s,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))}),c?[Math.random()]:[n]);return(0,o.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[n]),o.useEffect(()=>{n||m.size||!a||a()},[n]),"popLayout"===f&&(e=(0,r.jsx)(u,{isPresent:n,children:e})),(0,r.jsx)(l.O.Provider,{value:h,children:e})};function d(){return new Map}var f=n(5050),m=n(9047);let p=e=>e.key||"";function h(e){let t=[];return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&t.push(e)}),t}var x=n(9033);let v=({children:e,exitBeforeEnter:t,custom:n,initial:l=!0,onExitComplete:a,presenceAffectsLayout:s=!0,mode:u="sync"})=>{(0,m.k)(!t,"Replace exitBeforeEnter with mode='wait'");let d=(0,o.useMemo)(()=>h(e),[e]),v=d.map(p),g=(0,o.useRef)(!0),j=(0,o.useRef)(d),y=(0,i.h)(()=>new Map),[b,C]=(0,o.useState)(d),[k,w]=(0,o.useState)(d);(0,x.L)(()=>{g.current=!1,j.current=d;for(let e=0;e<k.length;e++){let t=p(k[e]);v.includes(t)?y.delete(t):!0!==y.get(t)&&y.set(t,!1)}},[k,v.length,v.join("-")]);let A=[];if(d!==b){let e=[...d];for(let t=0;t<k.length;t++){let n=k[t],r=p(n);v.includes(r)||(e.splice(t,0,n),A.push(n))}"wait"===u&&A.length&&(e=A),w(h(e)),C(d);return}let{forceRender:N}=(0,o.useContext)(f.p);return(0,r.jsx)(r.Fragment,{children:k.map(e=>{let t=p(e),o=d===k||v.includes(t);return(0,r.jsx)(c,{isPresent:o,initial:(!g.current||!!l)&&void 0,custom:o?void 0:n,presenceAffectsLayout:s,mode:u,onExitComplete:o?void 0:()=>{if(!y.has(t))return;y.set(t,!0);let e=!0;y.forEach(t=>{t||(e=!1)}),e&&(null==N||N(),w(j.current),a&&a())},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.