1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6765],{2047:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/my/emails",function(){return r(69428)}])},14750:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var o=r(85893);r(67294);let n=r(15437).ZP.div.withConfig({componentId:"sc-5cbe65eb-0"})(["background-color:",";box-shadow:",";border-radius:4px;transition:border 0.2s ease;line-height:1;&:hover{","}"],e=>{let{theme:t,isDark:r}=e;return r?t.color.backgroundSecondary:t.color.paper},e=>{let{theme:t,isDark:r}=e;return r?t.shadow.medium:t.shadow.low},e=>e.hoverable&&"border: 1px solid ".concat(e.theme.color.brand,";"));var i=e=>{let{children:t,className:r="",isDark:i,style:s}=e;return(0,o.jsx)(n,{className:"p-4".concat(r?" ".concat(r):""," "),isDark:i,style:s,children:t})}},58493:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var o=r(85893);r(67294);var n=r(9008),i=r.n(n),s=r(11163),c=r(34155);let a="Real-time options flow, dark pool data, options profit calculator, gamma exposure, insider trades, congressional trades, and market news for active traders.",l="".concat("https://www.insiderfinance.io","/social-share.jpg"),d=e=>"".concat(e," | InsiderFinance"),p=(e,t)=>e?t?e:d(e):"",u=e=>{if(!e)return"";try{return new URL(e,"https://www.insiderfinance.io").pathname}catch(t){return e.split("?")[0].split("#")[0]}};var m=e=>{let{title:t,description:r,url:n,ogImage:d,ogType:m,useCurrentUrl:h,includeQuery:x=!1,preventBrandTitle:g,noIndex:f}=e,b=(0,s.useRouter)(),w=p(t,g),v=h&&!n,j=v?b.asPath:n||"",y=v?u(b.asPath):u(n||""),Z=x?j:y,k=Z?"".concat("https://www.insiderfinance.io").concat(Z):"";return(0,o.jsxs)(i(),{children:[(f||"true"===c.env.NOINDEX)&&(0,o.jsx)("meta",{name:"robots",content:"noindex"}),(0,o.jsx)("title",{children:w}),(0,o.jsx)("meta",{name:"description",content:r||a}),(0,o.jsx)("meta",{property:"og:url",content:k}),(0,o.jsx)("meta",{property:"og:title",content:w}),(0,o.jsx)("meta",{property:"og:description",content:r||a}),(0,o.jsx)("meta",{property:"og:image",content:d||l}),(0,o.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,o.jsx)("meta",{property:"og:image:height",content:"630"}),(0,o.jsx)("meta",{property:"og:site_name",content:"InsiderFinance"}),!!m&&(0,o.jsx)("meta",{property:"og:type",content:m}),(0,o.jsx)("meta",{name:"twitter:title",content:w}),(0,o.jsx)("meta",{name:"twitter:description",content:r||a}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,o.jsx)("meta",{name:"twitter:image",content:d||l}),!!k&&(0,o.jsx)("link",{rel:"canonical",href:k})]})}},52957:function(e,t,r){"use strict";var o=r(85893);let n=r(15437).ZP.div.withConfig({componentId:"sc-1095018a-0"})([".lds-ripple{display:inline-block;position:relative;width:","px;height:","px;}.lds-ripple div{position:absolute;border:4px solid ",";opacity:1;border-radius:50%;animation:lds-ripple ","ms cubic-bezier(0,0.2,0.8,1) infinite;}.lds-ripple div:nth-child(2){animation-delay:-","ms;}@keyframes lds-ripple{0%{top:36px;left:36px;width:0;height:0;opacity:1;}100%{top:0px;left:0px;width:","px;height:","px;opacity:0;}}"],72,72,e=>{let{theme:t}=e;return t.color.textLight},2e3,1e3,72,72);t.Z=()=>(0,o.jsx)(n,{children:(0,o.jsxs)("div",{className:"lds-ripple",children:[(0,o.jsx)("div",{}),(0,o.jsx)("div",{})]})})},61965:function(e,t,r){"use strict";var o=r(67294),n=r(32473);t.Z=e=>{let{src:t,onLoad:r=n.Z,onError:i=n.Z}=e;(0,o.useEffect)(()=>{let e=document.createElement("script");e.src=t,console.log(e),document.getElementsByTagName("head")[0].appendChild(e),console.log(document.getElementsByTagName("head")[0]),e.onload=e=>{console.log(e),r(e)},e.onerror=i},[])}},84317:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var o=r(85893);r(67294);var n=r(50869);let i=r(15437).ZP.div.withConfig({componentId:"sc-e10f0dab-0"})(["background-color:",";"],e=>{let{theme:t}=e;return t.color.paper});var s=e=>{let{children:t,title:r,titleClassName:s="max-w-sm"}=e;return(0,o.jsxs)("div",{children:[(0,o.jsxs)(i,{className:"safearea-pad-top",children:[(0,o.jsx)(n.Z,{isStatic:!0,isTransparent:!0,hideBanner:!0}),(0,o.jsx)("div",{className:"styled-font mx-auto pb-20 pt-16 text-center text-5xl font-bold ".concat(s),children:r})]}),(0,o.jsx)("div",{children:t})]})}},69428:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return k}});var o=r(85893),n=r(67294),i=r(63161),s=r(58493),c=r(29527),a=r(81190),l=r(8392),d=r(61965),p=r(12650),u=r(843
117),m=r(14750),h=r(52957),x=r(15437),g=r(42040),f=r(92916);(0,x.ZP)(g.__).withConfig({componentId:"sc-823502d7-0"})([""]),(0,x.ZP)(g.II).withConfig({componentId:"sc-823502d7-1"})(["&:disabled{color:",";background-color:",";border-color:",";opacity:0.9;}"],e=>{let{theme:t}=e;return t.color.textSecondary},e=>{let{theme:t}=e;return t.color.backgroundDistinct},e=>{let{theme:t}=e;return t.color.border}),x.ZP.div.withConfig({componentId:"sc-823502d7-2"})(["color:",";font-size:14px;"],e=>{let{theme:t}=e;return t.color.textSecondary}),x.ZP.div.withConfig({componentId:"sc-823502d7-3"})(["color:",";font-size:11px;font-weight:700;text-transform:uppercase;text-decoration:underline;"],e=>{let{theme:t}=e;return t.color.buttonPrimary});let b=x.ZP.div.withConfig({componentId:"sc-823502d7-4"})(["padding:8px 10px;border-radius:4px;font-size:13px;line-height:1;font-weight:700;text-align:center;display:flex;align-items:center;"]);(0,x.ZP)(b).withConfig({componentId:"sc-823502d7-5"})(["border:2px solid ",";background-color:rgba(48,168,79,0.15);color:",";"],e=>{let{theme:t}=e;return t.color.cta},e=>{let{theme:t}=e;return t.color.cta}),(0,x.ZP)(b).withConfig({componentId:"sc-823502d7-6"})(["border:2px solid ",";background-color:rgba(255,25,74,0.15);color:",";"],e=>{let{theme:t}=e;return t.color.error},e=>{let{theme:t}=e;return t.color.error}),(0,x.ZP)(g.zx).withConfig({componentId:"sc-823502d7-7"})(["background-color:",";border-color:",";width:auto;height:auto;font-size:12px;padding:2px 10px;&:hover{color:",";background-color:",";}"],e=>{let{theme:t}=e;return t.color.error},e=>{let{theme:t}=e;return t.color.error},e=>{let{theme:t}=e;return t.color.error},e=>{let{theme:t}=e;return t.color.textPrimary}),x.ZP.div.withConfig({componentId:"sc-823502d7-8"})(["border:2px solid ",";background-color:",";line-height:1;"],e=>{let{theme:t}=e;return t.color.buttonPrimary},e=>{let{theme:t}=e;return(0,f.m4)(t.color.buttonPrimary,.15)}),(0,x.ZP)(g.qP).withConfig({componentId:"sc-823502d7-9"})(["width:auto;"]),x.ZP.a.withConfig({componentId:"sc-823502d7-10"})(["cursor:",";opacity:",";"],e=>{let{isCreatingSession:t}=e;return t?"default":"pointer"},e=>{let{isCreatingSession:t}=e;return t?.6:1}),x.ZP.a.withConfig({componentId:"sc-823502d7-11"})(["background-color:#7289da;display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-radius:4px;font-weight:600;font-size:14px;width:","px;height:","px;opacity:",";transition:opacity 250ms ease;flex-shrink:0;"],150,38,e=>{let{isDisabled:t}=e;return t?.6:1});let w=x.ZP.div.withConfig({componentId:"sc-823502d7-12"})(["border-radius:4px;padding:","px;height:","px;width:","px;background-color:",";display:flex;align-items:center;position:relative;border:","px solid ",";"],6,42,152,e=>{let{theme:t}=e;return t.color.backgroundDistinct},2,e=>{let{theme:t}=e;return t.color.border}),v=x.ZP.div.withConfig({componentId:"sc-823502d7-13"})(["width:calc(",");background-color:",";height:","px;transform:translateX(calc(","% - ","px));transition:transform 200ms linear;position:absolute;top:","px;bottom:","px;left:","px;z-index:0;border-radius:2px;box-shadow:",";"],e=>{let{tabs:t}=e;return"(100% - ".concat(12,"px) / ").concat(t)},e=>{let{theme:t}=e;return t.color.buttonPrimary},26,e=>{let{activeTab:t}=e;return 100*t},6,6,6,12,e=>{let{theme:t}=e;return t.shadow.low}),j=(0,x.ZP)(g.wL).withConfig({componentId:"sc-823502d7-14"})(["width:","%;position:relative;z-index:1;font-size:10px;font-weight:700;text-transform:uppercase;display:flex;justify-content:center;align-items:center;height:100%;&:focus{outline:none;}"],e=>{let{tabs:t}=e;return 100/t});(0,x.ZP)(g.wL).withConfig({componentId:"sc-823502d7-15"})(["display:flex;border-left:1px solid ",";border-radius:0.15rem;border-top-left-radius:0;border-bottom-left-radius:0;transition:background-color 200ms ease;color:",";border:2px solid ",";background-color:",";font-weight:600;&:hover{background-color:",";border-color:",";color:",";}"],e=>{let{theme:t}=e;return t.color.border},e=>e.theme.color.textPrimary,e=>e.theme.color.cta,e=>e.theme.color.cta,e=>e.theme.color.textPrimary,e=>e.theme.color.textPrimary,e=>e.theme.color.cta),(0,x.ZP)(g.m3).withConfig({componentId:"sc-823502d7-16"})([""]),(0,x.ZP)(g.Lw).withConfig({componentId:"sc-823502d7-17"})(["background:transparent;border-color:white;"]);let y=e=>{let{children:t}=e;return(0,o.jsx)(u.Z,{title:"Settings",children:t})};var Z=e=>{let{viewer:t,settings:r}=e;(0,d.Z)({src:"https://cdn.prosperstack.com/flow/1.0.0/flow.min.js"});let[i]=(0,p.IHf)(),[s,c]=n.useState((null==r?void 0:r.emailInsights)||!1);return(n.useEffect(()=>{c((null==r?void 0:r.emailInsights)||!1)},[r]),r&&t.viewer)?(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(y,{children:(0,o.jsx)("div",{className:"mb-20 mt-16 px-4",children:(0,o.jsx)("div",{className:"mx-auto max-w-4xl",children:(0,o.jsxs)("div",{className:"mt-6",children:[(0,o.jsx)("div",{className:"styled-font mb-2 text-xl font-semibold",children:"Email Subscriptions"}),(0,o.jsx)(m.Z,{children:(0,o.jsxs)("div",{className:"flex items-center justify-between",children:[(0,o.jsx)("div",{className:"text-lg font-semibold",children:"Email Insights"}),(0,o.jsxs)(w,{children:[(0,o.jsx)(v,{tabs:2,activeTab:s?1:0}),(0,o.jsx)(j,{tabs:2,onClick:()=>{var e;c(!1),(null===(e=t.viewer)||void 0===e?void 0:e.uid)&&i({variables:{id:t.viewer.uid,emailInsights:!1}})},children:"OFF"}),(0,o.jsx)(j,{tabs:2,onClick:()=>{var e;c(!0),(null===(e=t.viewer)||void 0===e?void 0:e.uid)&&i({variables:{id:t.viewer.uid,emailInsights:!0}})},children:"ON"})]})]})})]})})})})}):(0,o.jsx)(y,{children:(0,o.jsx)("div",{className:"flex items-center justify-center pt-12",children:(0,o.jsx)(h.Z,{})})})},k=()=>{let e=(0,i.Z)(),[t,r]=n.useState(null);return n.useEffect(()=>{if(e.status===c.tD.User){var t;null===(t=a.I8.currentUser)||void 0===t||t.getIdToken(!0).then(e=>l.Z.post("my/settings",{payload:{token:e}})).then(e=>{r(e)})}},[e.status]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.Z,{title:"Email Settings",description:"User settings page",useCurrentUrl:!0}),(0,o.jsx)(Z,{viewer:e,settings:t})]})}},32473:function(e,t){"use strict";t.Z=()=>{}}},function(e){e.O(0,[1827,994,1664,6501,869,2888,9774,179],function(){return e(e.s=2047)}),_N_E=e.O()}]); 2//# sourceMappingURL=emails-850b307e5d9cca75.js.map
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.