PageSourceSearch

https://www.dipseastories.com/_next/static/chunks/pages/account/subscription-bcacf2ebbf14c71e.js

js dipseastories.com collected 2026-10-02 05:09:58 UTC 5,507 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5371],{52217:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>w});var r=i(37876),t=i(14232),s=i(35988),l=i(89099),a=i(481),c=i(53317),o=i(28484),d=i(82479),u=i(73343),h=i(66634),p=i.n(h),x=i(4644),j=i(36921),b=i(50803),m=i(86282),f=i(60843);async function g(){try{let e=await (0,m.lc)();if(!e.id)return null;let n=(0,b.KJ)().REVENUECAT_API_KEY;if(!n)return console.warn("RevenueCat API key not found in environment variables"),null;let i=e.id,r=f.P.configure(n,i);return(await r.getCustomerInfo()).managementURL}catch(e){return console.warn("Failed to get RevenueCat management URL:",e.message),null}}let w=(0,l.withRouter)(function(){let e=(0,s.wA)(),n=(0,s.d4)(e=>{var n;return!!(null==(n=e.user)?void 0:n.isSubscribed)}),i=(0,s.d4)(e=>{var n;return null==(n=e.user)?void 0:n.subscription_length}),l=(0,s.d4)(e=>{var n;return null==(n=e.user)?void 0:n.subscription_type}),o=(0,s.d4)(e=>{var n;return null==(n=e.user)?void 0:n.subscribed_at}),h=(0,s.d4)(e=>{var n;return null==(n=e.user)?void 0:n.subscription_renews_at}),b=(0,s.d4)(e=>{var n;return null==(n=e.user)?void 0:n.subscription_expires_at}),m=(0,s.d4)(e=>{var n;return null==(n=e.subscriptionPurchase)?void 0:n.last4}),f=(0,s.d4)(e=>e.refund),[w,E]=t.useState(null);return t.useEffect(()=>{e((0,j.C7)()),null===w&&g().then(e=>E(e))},[n]),(0,r.jsx)(a.A,{title:"Dipsea | Manage Account | Subscription",pageDescription:"Dipsea Account Management",breadCrumbTitle:"Subscription Details",children:(0,r.jsxs)(c.FlexCol,{children:[(0,r.jsx)(c.Header,{children:"Subscription Details"}),(0,r.jsxs)(y,{children:[n?null:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(A,{style:{marginBottom:"32px"},children:"You are not currently subscribed to Dipsea."}),(0,r.jsx)(u.gZ,{pathname:"/account",children:(0,r.jsx)(d.nx,{children:"BACK TO ACCOUNT"})})]}),i?(0,r.jsxs)(C,{children:[(0,r.jsx)(v,{children:"Subscription type"}),(0,r.jsx)(_,{children:(0,r.jsx)(A,{children:p()(i)})})]}):null,l?(0,r.jsxs)(C,{children:[(0,r.jsx)(v,{children:"Subscription via"}),(0,r.jsxs)(_,{children:["gift"===l&&(0,r.jsx)(A,{children:"Gift Card"}),"stripe"===l&&(0,r.jsx)(A,{children:"Web"}),"rc_billing"===l&&(0,r.jsx)(A,{children:"Web"}),"ios"===l&&(0,r.jsx)(A,{children:"Apple App Store"}),"android"===l&&(0,r.jsx)(A,{children:"Google Play Store"})]})]}):null,o?(0,r.jsxs)(C,{children:[(0,r.jsx)(v,{children:"Start date"}),(0,r.jsx)(_,{children:(0,r.jsx)(A,{children:(0,x.Gr)(o)})})]}):null,h&&!b?(0,r.jsxs)(C,{children:[(0,r.jsx)(v,{children:"Renewal date"}),(0,r.jsxs)(_,{children:[(0,r.jsx)(A,{children:(0,x.Gr)(h)}),"stripe"===l&&(0,r.jsx)(u.gZ,{pathname:"/account/cancel",children:(0,r.jsx)(N,{children:"CANCEL"})}),"rc_billing"===l&&w&&(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(N,{href:w,target:"_blank",children:"CANCEL"})})]})]}):null,b?(0,r.jsxs)(C,{children:[(0,r.jsx)(v,{children:"Expiration date"}),(0,r.jsx)(_,{children:(0,r.jsx)(A,{children:(0,x.Gr)(b)})})]}):null,l?(0,r.jsxs)(C,{children:[(0,r.jsx)(v,{children:"Payment method"}),(0,r.jsxs)(_,{children:[m&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(A,{children:["Card ",m]}),(0,r.jsx)(u.gZ,{pathname:"/account/update-card",children:(0,r.jsx)(N,{children:"UPDATE CARD"})})]}),"rc_billing"===l&&w&&(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(N,{href:w,target:"_blank",children:"UPDATE CARD"})}),"gift"===l&&(0,r.jsx)(A,{children:"Gift Card"}),"ios"===l&&(0,r.jsxs)(A,{children:["You purchased your subscription in the Apple App Store. More details on how to manage your subscription ",(0,r.jsx)(u.gZ,{pathname:"https://support.dipseastories.com/en/articles/5433433-how-do-i-manage-my-subscription",children:"here."})]}),"android"===l&&(0,r.jsxs)(A,{children:[" You purchased your subscription in the Google Play Store. More details on how to manage your subscription ",(0,r.jsx)(u.gZ,{pathname:"https://support.dipseastories.com/en/articles/5433433-how-do-i-manage-my-subscription",children:"here."})]})]})]}):null,f&&"eligible"===f.status?(0,r.jsxs)(C,{children:[(0,r.jsx)(v,{children:"30-Day Money Back Refund"}),(0,r.jsxs)(_,{children:[(0,r.jsx)(A,{children:"You are eligible for a 30-day money back refund."}),(0,r.jsx)(u.gZ,{pathname:"/account/refund",children:(0,r.jsx)(N,{children:"REFUND"})})]})]}):null]})]})})}),y=o.default.div.withConfig({displayName:"SectionsContainer",componentId:"sc-31f9b491-0"})(["display:flex;flex-direction:column;align-items:center;width:100%;"]),C=o.default.div.withConfig({displayName:"SectionContainer",componentId:"sc-31f9b491-1"})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;padding-bottom:16px;margin-bottom:16px;",""],e=>!1===e.border?"border-bottom: none;":"border-bottom: 1px solid ".concat(d.Tj.white70)),_=o.default.div.withConfig({displayName:"SubsectionContainer",componentId:"sc-31f9b491-2"})(["display:flex;flex-direction:row;justify-content:space-between;width:100%;"]),v=o.default.p.withConfig({displayName:"SubHeader",componentId:"sc-31f9b491-3"})(["",";margin-bottom:10px;"],d.EN),A=o.default.p.withConfig({displayName:"Body",componentId:"sc-31f9b491-4"})(["",";color:",";a{color:",";}"],d.Np,d.Tj.white70,d.Tj.tintOrange),N=o.default.a.withConfig({displayName:"Link",componentId:"sc-31f9b491-5"})(["",";"],d.bc)},83022:(e,n,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/subscription",function(){return i(52217)}])}},e=>{var n=n=>e(e.s=n);e.O(0,[3391,6634,1085,3317,636,6593,8792],()=>n(83022)),_N_E=e.O()}]);
2//# sourceMappingURL=subscription-bcacf2ebbf14c71e.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.