1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9309],{1775:(e,t,r)=>{"use strict";r.d(t,{Lm:()=>v,Ay:()=>y});var i=r(90665),a=r(39171),n=r(79671);let s=["td300","cp","f","aic","jcc","disabled:cd","wsn"];function o(e){let{variant:t,size:r}=e;if(t===a.f1.TERTIARY||"manual"===r)return[];switch(r){case a.nj.EXTRALARGE:return["px16","py16"];case a.nj.AUTO:case a.nj.LARGE:case a.nj.LARGERESPONSIVE:case a.nj.SMALL:return["px16","py8"]}return[]}let l=(0,n.E)("size",{[a.nj.EXTRALARGE]:e=>{let{size:t,variant:r}=e;return[...o({size:t,variant:r})]},[a.nj.LARGE]:e=>{let{size:t,variant:r}=e;return[...o({size:t,variant:r})]},[a.nj.LARGERESPONSIVE]:e=>{let{size:t,variant:r}=e;return[...o({size:t,variant:r})]},[a.nj.SMALL]:e=>{let{size:t,variant:r}=e;return[...o({size:t,variant:r})]},[a.nj.AUTO]:e=>{let{size:t,variant:r}=e;return[...o({size:t,variant:r})]}}),c=(0,n.E)("size",{[a.nj.EXTRALARGE]:["buttonLg"],[a.nj.LARGE]:["buttonLg"],[a.nj.LARGERESPONSIVE]:["buttonSm","sm:buttonLg"],[a.nj.SMALL]:e=>{let{isLifestyle:t,isWeekand:r}=e;return["buttonSm",(!t||!r)&&"fs13"]},[a.nj.AUTO]:e=>{let{isLifestyle:t,isWeekand:r}=e;return["buttonSm",(!t||!r)&&"fs13",(!t||!r)&&"xs:fs16",t||r?"lg:buttonLg":"xs:buttonLg"]},[a.nj.AUTO_UNDERLINED]:e=>{let{size:t,variant:r}=e;return["underlinedButtonSm","xs:underlinedButtonLg",...o({size:t,variant:r})]}}),d=(0,n.E)("variant",{[a.f1.PRIMARY]:e=>{let{visual:t,active:r,brandTheme:i,usePrimaryColor:n,noHoverAction:s}=e;return[t===a.Ur.ALTERNATE?r&&["bg-gray700"]||["bg-black",!s&&"hover:bg-gray700"]:r&&["o80","bg-primaryAccessible"]||[n?"bg-primary":"bg-primaryAccessible"],"weekand"===i&&"b-white",!s&&"hover:o80","c-white","disabled:bg-gray300","disabled:c-gray600","border","weekand"!==i&&"bn","tac"]},[a.f1.SECONDARY]:e=>{let{visual:t,active:r,noHoverAction:i}=e,n=[!r&&"bgt","border","disabled:border-gray300","disabled:c-gray600"];switch(t){case a.Ur.ALTERNATE:case a.Ur.ALTERNATE_ACCESSIBLE:return r?["b-white",t===a.Ur.ALTERNATE?"c-black":"c-primaryAccessible","bg-white",...n]:["b-white","c-white","bg-black",!i&&"hover:bg-white",!i&&"hover:c-black",...n];case a.Ur.SECONDARY_COLOR:return["b-primary","c-primary",!i&&"hover:o80",...n];default:return r?["b-black","bg-black","c-white",...n]:["b-black","c-black",!i&&"hover:bg-black",!i&&"hover:c-white",...n]}},[a.f1.TERTIARY]:e=>{let{visual:t,active:r,noLinkUnderline:i,noHoverAction:n}=e;return[t===a.Ur.ALTERNATE?r&&["c-gray600"]||["c-white"]:r&&["c-gray600"]||["c-black","hover:c-gray600"],"bgt",!i&&"tdu","f","disabled:c-gray400",!n&&t!==a.Ur.ALTERNATE&&"hover:c-gray600",!n&&"hover:o70","bn"]}});var u=r(80947),h=r(63467),f=r(2646),p=r(38775),g=r(90013);let m={variant:a.f1.PRIMARY,visual:a.Ur.DEFAULT,size:a.nj.AUTO,isMobileAdhesive:!1};function b(e){let{children:t,suffix:r}=e;return i.j.jsx(g.A.div,{cx:["f","noshrink",r?"ml8":"mr8"],children:t})}function y(e){let t={...m,...e},{size:r,onClick:a,children:n,variant:o,visual:f,prefixIcon:p,suffixIcon:y,isMobileAdhesive:v,usePrimaryColor:x,fontOverride:w,noLinkUnderline:j,active:A,borderRadiusOverride:E,lifestyleBorderRadiusOverride:k,rel:S,brandTheme:_,cx:R,noHoverAction:C,testId:T,...N}=t,O=(0,u.kX)(),L=(0,u.eb)(),P="lifestyle"===O,z="weekand"===L,I=e.href?h.A:g.A.button;return i.j.jsxs(I,{cx:[...s,R,l({size:r,variant:o}),w||c({size:r,variant:o,isLifestyle:P,isWeekand:z}),d(t),v&&["x100vw","md:xa","md:br2","br0"],P||z?k||"br48px":E||"br2"],onClick:a,role:"button",rel:e.href?S:"","data-testid":T,...N,children:[p&&i.j.jsx(b,{children:p}),n,y&&i.j.jsx(b,{suffix:!0,children:y})]})}function v(e){let{active:t,onClick:r,children:n}=e;return i.j.jsx(y,{cx:["y32px"],active:t,onClick:r,prefixIcon:i.j.jsx(f.p,{size:16}),borderRadiusOverride:"br48px",variant:a.f1.SECONDARY,size:a.nj.SMALL,children:i.j.jsx(p.A,{"data-block-type":"text",html:n})})}},2646:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var i=r(90665),a=r(85214),n=r(4869);function s(e){let{size:t=a.l.m,...r}=e,s="number"!=typeof t?a.l[t]:t;return i.j.jsxs(n.A,{size:s,viewBox:"0 0 16 17",...r,children:[i.j.jsx("mask",{id:"mask0_31323_301213",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"17",children:i.j.jsx("path",{d:"M16 0.117676H0V16.1177H16V0.117676Z",fill:"white"})}),i.j.jsxs("g",{mask:"url(#mask0_31323_301213)",children:[i.j.jsx("mask",{id:"mask1_31323_301213",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"16",height:"17",children:i.j.jsx("path",{d:"M15.375 15.4926V0.742556H0.625V15.4926H15.375Z",fill:"white",stroke:"white",strokeWidth:"1.25"})}),i.j.jsxs("g",{mask:"url(#mask1_31323_301213)",children:[i.j.jsx("path",{d:"M14.1256 4.00278H1.87444C1.18441 4.00278 0.625 4.56216 0.625 5.25219V7H15.375V5.25219C15.375 4.56216 14.8156 4.00278 14.1256 4.00278Z",stroke:"currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),i.j.jsx("path",{d:"M14.25 6.99999H1.75V14.9926H14.25V6.99999Z",stroke:"currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),i.j.jsx("path",{d:"M8 4.0028V14.9926",stroke:"currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),i.j.jsx("path",{d:"M11.0968 4.00281H8L10.0955 1.68684C10.3514 1.40396 10.7152 1.24256 11.0968 1.24256C11.8424 1.24256 12.4467 1.84637 12.4467 2.59121V2.65418C12.4467 3.399 11.8424 4.00281 11.0968 4.00281Z",stroke:"currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),i.j.jsx("path",{d:"M4.90313 4.00281H7.99997L5.9045 1.68684C5.6486 1.40396 5.28478 1.24256 4.90313 1.24256C4.1576 1.24256 3.55322 1.84637 3.55322 2.59121V2.65418C3.55322 3.399 4.1576 4.00281 4.90313 4.00281Z",stroke:"currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]})]})]})}s.displayName="GiftIcon"},4869:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var i=r(90665),a=r(38768),n=r(79671);let s=(0,n.E)("variant",{social:["bn","bgt","on","m0","p0","td300","hover:c-primary"],weekandSocial:["bn","bgt","on","m0","p0","td300","hover:o70"],ghost:["c-black","td300","hover:o70"],podcast:["c-white","td300","hover:c-gray200"],chevron:["hover:c-gray600"],grayscale:["c-gray500","hover:c-gray400"],circleChevron:["c-white80","td300","hover:c-white"],arrow:["td300","hover:o80"],circleArrow:["c-black","td300","hover:c-gray600"],alternate:["c-white","td300","hover:o80"],hoverDisabled:[]}),o=(0,n.E)("rotation",{90:"rot90",180:"rot180",270:"rot270"}),l=a.A.svg("p0",s,o);function c(e){let{size:t,children:r,color:a,rotation:n,bx:s,focusable:o,style:c,variant:d,alt:u,viewBox:h,width:f,height:p,preserveAspectRatio:g,ariaLabel:m}=e;return i.j.jsx(l,{variant:d,width:null!=f?f:t,height:null!=p?p:t,color:a,fill:"none",style:c,bx:s,rotation:n,focusable:o,alt:u,"aria-label":m,preserveAspectRatio:g,viewBox:h,children:r})}l.displayName="SVG",c.displayName="Icon"},18386:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:i,blurHeight:a,blurDataURL:n,objectFit:s}=e,o=i?40*i:t,l=a?40*a:r,c=o&&l?"viewBox='0 0 "+o+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+c+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3Cfe
1ColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(c?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+n+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},18857:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return x}});let i=r(34007),a=r(26908),n=r(77269),s=a._(r(13385)),o=i._(r(29702)),l=i._(r(68410)),c=r(89505),d=r(54358),u=r(52218);r(66540);let h=r(98511),f=i._(r(77807)),p=r(40044),g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(e,t,r,i,a,n,s){let o=null==e?void 0:e.src;e&&e["data-loaded-src"]!==o&&(e["data-loaded-src"]=o,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&a(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let i=!1,a=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>i,isPropagationStopped:()=>a,persist:()=>{},preventDefault:()=>{i=!0,t.preventDefault()},stopPropagation:()=>{a=!0,t.stopPropagation()}})}(null==i?void 0:i.current)&&i.current(e)}}))}function b(e){return s.use?{fetchPriority:e}:{fetchpriority:e}}let y=(0,s.forwardRef)((e,t)=>{let{src:r,srcSet:i,sizes:a,height:o,width:l,decoding:c,className:d,style:u,fetchPriority:h,placeholder:f,loading:g,unoptimized:y,fill:v,onLoadRef:x,onLoadingCompleteRef:w,setBlurComplete:j,setShowAltText:A,sizesInput:E,onLoad:k,onError:S,..._}=e,R=(0,s.useCallback)(e=>{e&&(S&&(e.src=e.src),e.complete&&m(e,f,x,w,j,y,E))},[r,f,x,w,j,S,y,E]),C=(0,p.useMergedRef)(t,R);return(0,n.jsx)("img",{..._,...b(h),loading:g,width:l,height:o,decoding:c,"data-nimg":v?"fill":"1",className:d,style:u,sizes:a,srcSet:i,src:r,ref:C,onLoad:e=>{m(e.currentTarget,f,x,w,j,y,E)},onError:e=>{A(!0),"empty"!==f&&j(!0),S&&S(e)}})});function v(e){let{isAppRouter:t,imgAttributes:r}=e,i={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...b(r.fetchPriority)};return t&&o.default.preload?(o.default.preload(r.src,i),null):(0,n.jsx)(l.default,{children:(0,n.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...i},"__nimg-"+r.src+r.srcSet+r.sizes)})}let x=(0,s.forwardRef)((e,t)=>{let r=(0,s.useContext)(h.RouterContext),i=(0,s.useContext)(u.ImageConfigContext),a=(0,s.useMemo)(()=>{var e;let t=g||i||d.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),a=t.deviceSizes.sort((e,t)=>e-t),n=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:a,qualities:n}},[i]),{onLoad:o,onLoadingComplete:l}=e,p=(0,s.useRef)(o);(0,s.useEffect)(()=>{p.current=o},[o]);let m=(0,s.useRef)(l);(0,s.useEffect)(()=>{m.current=l},[l]);
1let[b,x]=(0,s.useState)(!1),[w,j]=(0,s.useState)(!1),{props:A,meta:E}=(0,c.getImgProps)(e,{defaultLoader:f.default,imgConf:a,blurComplete:b,showAltText:w});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(y,{...A,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:p,onLoadingCompleteRef:m,setBlurComplete:x,setShowAltText:j,sizesInput:e.sizes,ref:t}),E.priority?(0,n.jsx)(v,{isAppRouter:!r,imgAttributes:A}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38768:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var i=r(13385),a=r(49936);function n(e){return function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];return function(t){let{cx:i=[],...a}=t;return e({cx:[...r,...i],...a})}}}let s=new Proxy({},{get:(e,t)=>"inherit"===t?n:function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(e){let{children:n,className:s,cx:o=[],bx:l=[],...c}=e,d={},u={};Object.keys(c).forEach(e=>{Object.defineProperty(d,e,{get:()=>(u[e]=!0,c[e])})});let h=r.map(e=>"function"==typeof e?e(d):e),f={};return Object.keys(c).forEach(e=>{u[e]||(f[e]=c[e])}),i.createElement(t,{...f,className:(0,a.A)(...h,...o,...l)},n)}}})},39171:(e,t,r)=>{"use strict";r.d(t,{Ur:()=>i,f1:()=>a,nj:()=>n});var i=(e=>(e.DEFAULT="default",e.ALTERNATE="alternate",e.ALTERNATE_ACCESSIBLE="alternateaccessible",e.SECONDARY_COLOR="alternateprimary",e))(i||{}),a=(e=>(e.PRIMARY="primary",e.SECONDARY="secondary",e.TERTIARY="tertiary",e))(a||{}),n=(e=>(e.EXTRALARGE="extralarge",e.LARGE="large",e.LARGERESPONSIVE="largeresponsive",e.SMALL="small",e.AUTO="auto",e.AUTO_UNDERLINED="auto_underlined",e.MANUAL="manual",e))(n||{})},48995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return o}});let i=r(34007),a=r(89505),n=r(18857),s=i._(r(77807));function o(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=n.Image},53862:(e,t,r)=>{"use strict";r.d(t,{Mg:()=>u,Nx:()=>a.N,VK:()=>d,fw:()=>c,jp:()=>l});var i=r(644),a=r(15683);let n="".concat(i.A.misApiUrl,"/api/v1");class s extends Error{constructor(e,t){super(t),this.name="MembershipError",this.status=e}}async function o(e,t,r){var i;let a=await fetch("".concat(n).concat(e),{...r,headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(t),...null!=(i=null==r?void 0:r.headers)?i:{}}});if(!a.ok)throw new s(a.status,"MIS ".concat(e," ").concat(a.status));return await a.json()}let l=e=>o("/auth/me",e),c=(e,t)=>o("/stripe/create-checkout-session",e,{method:"POST",body:JSON.stringify(t)}),d=(e,t)=>o("/stripe/create-customer-portal-session",e,{method:"POST",body:JSON.stringify(t)}),u=(e,t)=>o("/stripe/subscription-status/".concat(encodeURIComponent(t)),e)},63943:e=>{e.exports={heroTitle:"account_heroTitle__r_W6f",heroSubtitle:"account_heroSubtitle__Qte4r",cardTitle:"account_cardTitle__PHOA6",body:"account_body__U48a_",card:"account_card__KmKgt",hero:"account_hero__40dHw",heroScrim:"account_heroScrim__OTBAP",cardsRow:"account_cardsRow__eHOYX",qrDesktopOnly:"account_qrDesktopOnly__bhp0F",downloadMobileOnly:"account_downloadMobileOnly__EyKda"}},77807:(e,t)=>{"use strict";function r(e){var t;let{config:r,src:i,width:a,quality:n}=e,s=n||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(i)+"&w="+a+"&q="+s+(i.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}}),r.__next_img_default=!0;let i=r},83660:(e,t,r)=>{e.exports=r(48995)},84062:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>F,default:()=>H});var i=r(77269),a=r(13385),n=r(49868),s=r(751),o=r(44112),l=r(53862);let c=new Set(["active","trialing"]),d=new Set,u=new Set;async function h(e,t){let r,i,a=Date.now();for(;Date.now()-a<1e4;){try{var n;let r=await (0,l.Mg)(e,t);if(i=r.subscriptionStatus,(n=r.subscriptionStatus)&&c.has(n))return function(e){var t,r,i,a,n;return{priceId:null!=(t=e.priceId)?t:"",currency:null!=(r=e.currency)?r:"",value:null!=(i=e.value)?i:null,paymentIntentID:null!=(a=e.paymentIntentID)?a:null,paymentType:null!=(n=e.paymentType)?n:null}}(r)}catch(e){r=e}let s=1e4-(Date.now()-a);if(s<=0)break;await function(e){return new Promise(t=>window.setTimeout(t,e))}(Math.min(2e3,s))}return o.A.error(null!=r?r:Error("Stripe subscription was not ready for session ".concat(t,"; last status: ").concat(null!=i?i:"unknown")),"StripePurchaseSubscriptionStatusTimeout"),null}async function f(e){try{let t=await (0,s.gf)();if(!t)throw Error("Auth token unavailable");return await h(t,e)}catch(e){return o.A.error(e,"StripePurchaseSubscriptionStatusError"),null}}async function p(e){var t;let r=null!=(t=new URLSearchParams(null!=e?e:window.location.search).get("session_id"))?t:"";if(!r)return;let i="".concat("sfgate:stripe-purchase:").concat(r);if(!(function(e){if(d.has(e))return!0;try{return"true"===window.sessionStorage.getItem(e)}catch(e){return!1}}(i)||u.has(i))){u.add(i);try{let e=await f(r);if(!e)return;let{priceId:t,currency:a,value:n,paymentIntentID:s,paymentType:l}=e;
1(function(e){try{let t=Array.isArray(window.dataLayer)?window.dataLayer:[];return window.dataLayer=t,t.push(e),!0}catch(e){return o.A.error(e,"StripePurchaseDataLayerPushError"),!1}})({event:"purchase",order_id:"",currency:a,value:n,item_id:"",price_id:t,item_category:"",session_id:r,payment_id:s,payment_type:l,source:"stripe"})&&function(e){d.add(e);try{window.sessionStorage.setItem(e,"true")}catch(e){}}(i)}finally{u.delete(i)}}}var g=r(85084),m=r(1881),b=r(83660),y=r.n(b),v=r(63943),x=r.n(v);function w(){return(0,i.jsxs)("div",{className:x().hero,children:[(0,i.jsx)(y(),{src:"/sfgate-assets/account-hero.png",alt:"",fill:!0,priority:!0,sizes:"100vw",className:"oxy-hidden",style:{objectFit:"cover"}}),(0,i.jsx)("div",{className:x().heroScrim,"aria-hidden":"true"}),(0,i.jsxs)("div",{className:"abs left right top bottom f fdc jcc ais g8 mxa mw1200px px24 xs:px20 z1",children:[(0,i.jsx)("h1",{className:x().heroTitle,children:"Hey there!"}),(0,i.jsx)("p",{className:x().heroSubtitle,children:"Welcome to your account page."})]})]})}var j=r(15683);function A(){return(0,i.jsxs)("div",{className:"f fdc ais g24 bg-white br8 highTileShadowElevation ".concat(x().card),children:[(0,i.jsxs)("div",{className:"f fdc ais x100 g14 xs:g24",children:[(0,i.jsxs)("div",{className:"f aic g16",children:[(0,i.jsx)(y(),{src:"/sfgate-assets/app-icon.png",alt:"",width:94,height:99}),(0,i.jsx)("h3",{className:x().cardTitle,children:"Mobile App"})]}),(0,i.jsxs)("div",{className:"f fdc sm:fdr aic g16",children:[(0,i.jsxs)("p",{className:x().body,children:["We took our award-winning journalism and built a whole app around it. Inside: ad-free reading, story bookmarks, live events, interactive maps and more."," ",(0,i.jsx)("strong",{className:"fw700",children:"Friends of SFGATE get access to all of it."})]}),(0,i.jsx)(y(),{className:x().qrDesktopOnly,src:"/sfgate-assets/mobile-app-qr.png",alt:"Scan to download the SFGATE mobile app",width:194,height:194})]})]}),(0,i.jsx)("button",{type:"button",onClick:()=>{var e,t;return window.location.assign((e=navigator.userAgent,(t=j.N.appStore).ios&&/iPhone|iPad|iPod/i.test(e)?t.ios:t.android&&/Android/i.test(e)?t.android:t.fallback))},className:"f aic jcc g8 x100 fs16 fw600 xs:none br8 border b-primary c-black bg-white px24 py12 ".concat(x().downloadMobileOnly),children:"Download the App"})]})}var E=r(49936),k=r(90665),S=r(44625);let _="h62gkti",R="t16kju7k";function C(e){let{eyebrow:t,title:r,body:i,primaryLabel:a,onPrimaryClick:n,primaryDisabled:s}=e;return k.j.jsxs("div",{className:"f fdc ais g24 bg-white br8 px20 sm:px40 py28 highTileShadowElevation ".concat("c14rtmc0"),children:[k.j.jsx("div",{className:"g-redPurple c-white px16 py4 ttu fs12 fw700 wsn ".concat(_),children:t}),k.j.jsx("h2",{className:"c-black fs32 fw600 ".concat(_),children:r}),k.j.jsx("p",{className:"c-gray700 fs16 ".concat(R),children:i}),k.j.jsxs("button",{type:"button",onClick:n,disabled:s,className:"f aic jcc g8 x100 sm:xa bg-white c-black br8 border b-primary px40 py12 fs16 fw600 cp ".concat(R),children:[a,k.j.jsx(S.c,{size:16})]})]})}let T={subscriber:{eyebrow:"ACCOUNT STATUS",title:"You're a Friend of SFGATE",body:"Thanks for supporting 60 journalists in 23 cities across the American West do what they do best: on-the-ground reporting that brings people closer to the places they care about. Make yourself at home in the SFGATE app with ad-free reading, plus a bunch of other cool stuff we figured SFGATE readers would actually want.",cta:"Manage Your Account"},free:{eyebrow:"UPGRADE YOUR ACCOUNT",title:"Get more from SFGATE",body:"Our award-winning journalism has always been free â and that's not changing. You can keep reading at SFGATE.com. But if you want to unlock our sparkly new app for ad-free reading and a few extra perks, become a Friend of SFGATE.",cta:"Become a Friend"},paymentIssue:{eyebrow:"ACCOUNT STATUS",title:"There's a problem with your payment",body:"We couldn't process your latest payment, so your Friend of SFGATE benefits are paused. Update your payment details to restore ad-free reading and the rest of the app.",cta:"Update payment"},unknown:{eyebrow:"ACCOUNT STATUS",title:"Account",body:"Manage your SFGATE account and preferences.",cta:"Manage Your Account"}},N={active:{label:"Manage subscription",kind:"portal"},trialing:{label:"Manage subscription",kind:"portal"},past_due:{label:"Update payment",kind:"portal"},unpaid:{label:"Update payment",kind:"portal"},canceled:{label:"Subscribe",kind:"checkout"},incomplete:{label:"Subscribe",kind:"checkout"},incomplete_expired:{label:"Subscribe",kind:"checkout"},none:{label:"Subscribe",kind:"checkout"}};function O(e){return N[null!=e?e:"none"]}let L=new Set(["active","trialing","past_due"]);async function P(){let e=await (0,s.gf)();if(!e)throw Error("Auth token unavailable");return e}function z(e){var t;let{status:r}=e,n=function(){let[e,t]=(0,a.useState)(null),[r,i]=(0,a.useState)(!0),[n,s]=(0,a.useState)(!1),[o,c]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=!0;return(async()=>{try{var r,a;let i=await P(),n=await (0,l.jp)(i);e&&t(null!=(a=null==(r=n.subscription)?void 0:r.subscriptionStatus)?a:null)}catch(t){e&&s(!0)}finally{e&&i(!1)}})(),()=>{e=!1}},[]);let d=O(e),u=(0,a.useCallback)(async()=>{c(!0),s(!1);try{let e,t=await P(),r=window.location.origin;if("portal"===d.kind)({url:e}=await (0,l.VK)(t,{return_url:"".concat(r,"/account")}
1));else{if(!l.Nx.priceId)throw Error("Checkout price not configured");({url:e}=await (0,l.fw)(t,{priceId:l.Nx.priceId,success_url:"".concat(r,"/account?checkout=success&session_id={CHECKOUT_SESSION_ID}"),cancel_url:"".concat(r,"/account"),trialPeriodDays:l.Nx.trialPeriodDays}))}window.location.assign(e)}catch(e){s(!0),c(!1)}},[d.kind]),h=r||n?null:e&&L.has(e)?"subscriber":"portal"===O(e).kind?"paymentIssue":"free";return{label:d.label,loading:r,error:n,busy:o,variant:h,onClick:u}}(),s=n.error||"unknown"===r&&!n.loading&&null===n.variant,o=T[null!=(t=n.variant)?t:r];return(0,i.jsxs)("div",{className:(0,E.A)("f","fdc","g16"),children:[s?(0,i.jsx)("div",{role:"status",className:(0,E.A)("bg-gray200","c-gray700","br4","px16","py12","fs16"),children:"Some account info couldn't be loaded â refresh to retry."}):null,(0,i.jsx)(C,{eyebrow:o.eyebrow,title:o.title,body:o.body,primaryLabel:o.cta,onPrimaryClick:n.onClick,primaryDisabled:n.loading||n.busy})]})}function I(e){let{user:t}=e,r=!0===t.isEntitled?"subscriber":!1===t.isEntitled?"free":"unknown";return(0,i.jsxs)("div",{className:"bg-gray200",children:[(0,i.jsx)(w,{}),(0,i.jsxs)("div",{className:"f fdc sm:fdr mxa mw1200px py40 px24 xs:px20 rel z1 g24 xs:g48 ".concat(x().cardsRow),children:[(0,i.jsx)("div",{className:"x100 sm:x50",children:(0,i.jsx)(A,{})}),(0,i.jsx)("div",{className:"x100 sm:x50",children:(0,i.jsx)(z,{status:r})})]})]})}var M=r(90013),U=r(13922);function D(e){let{email:t,siteCode:r,backHref:a}=e;return(0,i.jsxs)(M.A.main,{cx:["mnh100vh","bg-white"],children:[(0,i.jsx)(M.A.header,{cx:["f","aic","jcc","y72px","px24","bg-primary"],children:(0,i.jsx)(U.A,{siteCode:r,variant:"primary",color:"white","aria-label":"".concat(r," home"),bx:["x200px","y40px","sm:y40px"]})}),(0,i.jsxs)(M.A.div,{cx:["x100","mw700px","mxa","pt18","px24","pb56","sm:pt28"],children:[(0,i.jsxs)(M.A.a,{href:a,cx:["inline-flex","aic","g4","mb20","fw600","tdu","uiTextLarge","c-gray700"],children:[(0,i.jsx)(S.c,{width:12,height:12,rotation:180}),(0,i.jsx)("span",{children:"Back"})]}),(0,i.jsx)(M.A.h1,{cx:["m0","mb40","uiHeader3","c-gray700"],children:"Account Access"}),(0,i.jsxs)("section",{"aria-labelledby":"account-info-heading",children:[(0,i.jsx)(M.A.h2,{id:"account-info-heading",cx:["m0","mb8","ml10","uiTextLarge","c-gray600","ttu"],children:"Account Info"}),(0,i.jsxs)(M.A.div,{cx:["f","fdc","g12","br8","p16","bg-gray100"],children:[(0,i.jsx)(M.A.p,{cx:["m0","uiTextLarge","c-black"],children:"Email Address"}),(0,i.jsx)(M.A.p,{cx:["m0","owa","uiTextLarge","c-gray600"],children:t||"Email address unavailable"})]})]})]})]})}var G=r(40884),F=!0;function H(e){var t;let{siteConfig:r,header:o,footer:l}=e,{loggedInStatus:c,firstName:d,isEntitled:u,email:h}=(0,n.Ir)(),f=(0,G.useFeatureFlag)("isAccountAccessPageEnabled");return((0,a.useEffect)(()=>{if("loggedOut"===c){let e="".concat(window.location.pathname).concat(window.location.search);(0,s.Jv)({returnTo:e})}},[c]),(0,a.useEffect)(()=>{"loggedIn"===c&&p()},[c]),"loggedIn"!==c)?(0,i.jsx)("main",{className:"f jcc aic y400px",children:(0,i.jsx)("p",{className:"fs16 c-gray700",children:"Signing you inâ¦"})}):f?(0,i.jsx)(D,{email:h,siteCode:null!=(t=r.siteCode)?t:"",backHref:"/"}):(0,i.jsxs)(i.Fragment,{children:[o?(0,i.jsx)(g.A,{siteConfig:r,header:o}):null,(0,i.jsx)(I,{user:{firstName:null!=d?d:null,isEntitled:null!=u?u:null}}
1),l?(0,i.jsx)(m.A,{siteConfig:r,footer:l}):null]})}},85214:(e,t,r)=>{"use strict";r.d(t,{l:()=>i});var i=(e=>(e[e.xs=16]="xs",e[e.s=24]="s",e[e.m=32]="m",e[e.l=40]="l",e[e.xl=64]="xl",e[e.xxl=120]="xxl",e))(i||{})},89505:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return l}}),r(66540);let i=r(18386),a=r(54358),n=["-moz-initial","fill","none","scale-down",void 0];function s(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function l(e,t){var r,l;let c,d,u,{src:h,sizes:f,unoptimized:p=!1,priority:g=!1,loading:m,className:b,quality:y,width:v,height:x,fill:w=!1,style:j,overrideSrc:A,onLoad:E,onLoadingComplete:k,placeholder:S="empty",blurDataURL:_,fetchPriority:R,decoding:C="async",layout:T,objectFit:N,objectPosition:O,lazyBoundary:L,lazyRoot:P,...z}=e,{imgConf:I,showAltText:M,blurComplete:U,defaultLoader:D}=t,G=I||a.imageConfigDefault;if("allSizes"in G)c=G;else{let e=[...G.deviceSizes,...G.imageSizes].sort((e,t)=>e-t),t=G.deviceSizes.sort((e,t)=>e-t),i=null==(r=G.qualities)?void 0:r.sort((e,t)=>e-t);c={...G,allSizes:e,deviceSizes:t,qualities:i}}if(void 0===D)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let F=z.loader||D;delete z.loader,delete z.srcSet;let H="__next_img_default"in F;if(H){if("custom"===c.loader)throw Object.defineProperty(Error('Image with src "'+h+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=F;F=t=>{let{config:r,...i}=t;return e(i)}}if(T){"fill"===T&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];e&&(j={...j,...e});let t={responsive:"100vw",fill:"100vw"}[T];t&&!f&&(f=t)}let V="",B=o(v),W=o(x);if((l=h)&&"object"==typeof l&&(s(l)||void 0!==l.src)){let e=s(h)?h.default:h;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(d=e.blurWidth,u=e.blurHeight,_=_||e.blurDataURL,V=e.src,!w)if(B||W){if(B&&!W){let t=B/e.width;W=Math.round(e.height*t)}else if(!B&&W){let t=W/e.height;B=Math.round(e.width*t)}}else B=e.width,W=e.height}let Y=!g&&("lazy"===m||void 0===m);(!(h="string"==typeof h?h:V)||h.startsWith("data:")||h.startsWith("blob:"))&&(p=!0,Y=!1),c.unoptimized&&(p=!0),H&&!c.dangerouslyAllowSVG&&h.split("?",1)[0].endsWith(".svg")&&(p=!0);let X=o(y),q=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:N,objectPosition:O}:{},M?{}:{color:"transparent"},j),K=U||"empty"===S?null:"blur"===S?'url("data:image/svg+xml;charset=utf-8,'+(0,i.getImageBlurSvg)({widthInt:B,heightInt:W,blurWidth:d,blurHeight:u,blurDataURL:_||"",objectFit:q.objectFit})+'")':'url("'+S+'")',Z=n.includes(q.objectFit)?"fill"===q.objectFit?"100% 100%":"cover":q.objectFit,J=K?{backgroundSize:Z,backgroundPosition:q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:K}:{},Q=function(e){let{config:t,src:r,unoptimized:i,width:a,quality:n,sizes:s,loader:o}=e;if(i)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:c}=function(e,t,r){let{deviceSizes:i,allSizes:a}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let i;i=e.exec(r);)t.push(parseInt(i[2]));if(t.length){let e=.01*Math.min(...t);return{widths:a.filter(t=>t>=i[0]*e),kind:"w"}}return{widths:a,kind:"w"}}return"number"!=typeof t?{widths:i,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>a.find(t=>t>=e)||a[a.length-1]))],kind:"x"}}(t,a,s),d=l.length-1;return{sizes:s||"w"!==c?s:"100vw",srcSet:l.map((e,i)=>o({config:t,src:r,quality:n,width:e})+" "+("w"===c?e:i+1)+c).join(", "),src:o({config:t,src:r,quality:n,width:l[d]})}}({config:c,src:h,unoptimized:p,width:B,quality:X,sizes:f,loader:F});return{props:{...z,loading:Y?"lazy":m,fetchPriority:R,width:B,height:W,decoding:C,className:b,style:{...q,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:A||Q.src},meta:{unoptimized:p,priority:g,placeholder:S,fill:w}}}},91053:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account",function(){return r(84062)}])}},e=>{e.O(0,[1295,206,1690,3922,8775,6822,6541,4867,3316,636,6593,8792],()=>e(e.s=91053)),_N_E=e.O()}]);
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.