PageSourceSearch

https://nuento.com/_next/static/chunks/pages/account/member/[id]-37fd58ec4160ca86.js

js nuento.com collected 2026-10-09 22:01:12 UTC 10,274 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1f3c5145-9757-49e3-9214-d13b382e3735",e._sentryDebugIdIdentifier="sentry-dbid-1f3c5145-9757-49e3-9214-d13b382e3735")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6116],{20992:(e,n,i)=>{"use strict";i.d(n,{ux:()=>c});var r=i(96427),d=i(3219),s=i(27250);function t(){let e=(0,r._)(["\n    query Member($id: ID!) {\n  member(id: $id) {\n    id\n    message\n    user {\n      name\n      phone\n      email\n      stripeID\n    }\n    endDateAt\n    autoRenewal\n    membershipType {\n      name\n    }\n    paymentMethod {\n      id\n      brand\n      expiryMonth\n      expiryYear\n      last4\n    }\n    userMembership {\n      id\n      title\n      desc\n      collection {\n        title\n      }\n      fee\n      memberDesc\n      types {\n        id\n        name\n        price\n        order\n      }\n    }\n    transactions {\n      amount\n    }\n  }\n}\n    "]);return t=function(){return e},e}let l={},a=(0,d.J1)(t());function c(e){let n={...l,...e};return s.IT(a,n)}},22749:(e,n,i)=>{"use strict";i.r(n),i.d(n,{__N_SSP:()=>B,default:()=>S});var r=i(37876),d=i(14232),s=i(89099),t=i(49962),l=i(40283),a=i(81871),c=i(48230),o=i.n(c),m=i(20992),h=i(5809),x=i(81180),u=i(94174),f=i(40795),g=i(71085),p=i(17490),j=i(99033),y=i(18574),b=i(68041),w=i(7802),v=i(44264),A=i(12978),I=i(17083);(0,v.Ay)(A.mc).withConfig({componentId:"sc-104760e4-0"})(["padding:1.5rem;height:90vh;"]),v.Ay.div.withConfig({componentId:"sc-104760e4-1"})([""]),(0,v.Ay)(A.DZ).withConfig({componentId:"sc-104760e4-2"})([""]);let _=v.Ay.div.withConfig({componentId:"sc-104760e4-3"})(["width:2.5rem;height:2.5rem;"]),C=v.Ay.div.withConfig({componentId:"sc-104760e4-4"})(["border:0.0625rem solid rgba(24,39,75,0.07);box-shadow:0rem 0.125rem 0.375rem rgba(22,39,82,0.07);border-radius:0.5rem;@media only screen and (max-width:479px){display:flex;flex-direction:column;margin-left:-1.5rem;margin-right:-1.5rem;}@media only screen and (min-width:480px){display:grid;grid-template-columns:minmax(9.375rem,1.33fr) minmax(9.375rem,2.33fr);}"]),k=v.Ay.div.withConfig({componentId:"sc-104760e4-5"})(["@media only screen and (max-width:479px){flex:1;padding-left:1.5rem;}@media only screen and (max-width:959px){font-size:0.875rem;}@media only screen and (min-width:480px){padding:1.5rem;border-bottom:0.0625rem solid ",";}"],I.MF.neutral[300].string());(0,v.Ay)(k).withConfig({componentId:"sc-104760e4-6"})(["text-transform:uppercase;font-weight:500;line-height:1.25;font-size:0.875rem;color:",";"],I.MF.neutral[700].string());let D=v.Ay.div.withConfig({componentId:"sc-104760e4-7"})(["display:contents;@media only screen and (max-width:479px){margin-bottom:0.75rem;padding-bottom:0.75rem;display:flex;flex-direction:column;border-bottom:0.0625rem solid ",";}"],I.MF.neutral[300].string());v.Ay.div.withConfig({componentId:"sc-104760e4-8"})(["height:0.0625rem;width:100%;border-bottom:0.0625rem solid ",";"],I.MF.neutral[300].string());let M=v.Ay.div.withConfig({componentId:"sc-104760e4-9"})([""]),N=v.Ay.a.withConfig({componentId:"sc-104760e4-10"})(["cursor:pointer;float:left;"]),P=(0,v.Ay)(A.DZ).withConfig({componentId:"sc-104760e4-11"})(["padding:0;margin:0;@media only screen and (max-width:479px){padding-top:1.5rem;}"]);v.Ay.div.withConfig({componentId:"sc-104760e4-12"})([""]);let F=v.Ay.div.withConfig({componentId:"sc-104760e4-13"})(["font-size:0.875rem;color:",";flex:1;"],I.MF.neutral[700]),R=v.Ay.div.withConfig({componentId:"sc-104760e4-14"})(["color:",";"],I.MF.neutral[600]);v.Ay.div.withConfig({componentId:"sc-104760e4-15"})(["text-decoration-line:underline;cursor:pointer;"]);let T=v.Ay.div.withConfig({componentId:"sc-104760e4-16"})(["@media only screen and (min-width:480px){float:right;}"]);function S(){var e,n;let i=(0,s.useRouter)(),c=i.query,{user:v}=(0,t.J)({required:!0}),{data:A}=(0,m.ux)({variables:{id:c.id},skip:!i.isReady||!c.id}),I=null==A?void 0:A.member,S=null==I||null==(e=I.userMembership)?void 0:e.collection,B=new Date;return i.isReady&&v&&I&&S?(0,r.jsxs)(d.Fragment,{children:[(0,r.jsx)(u.Y9,{}),(0,r.jsx)("main",{children:(0,r.jsx)(b.Section,{children:(0,r.jsxs)(j.Container,{children:[(0,r.jsxs)(o(),{href:"/account/",className:"mb-8 flex w-fit items-center gap-3 text-neutral-1000",children:[(0,r.jsx)(w.Regular16Arrow,{className:"-rotate-90"}),(0,r.jsx)("span",{className:"text-lg",children:"Konto"})]}),(0,r.jsx)(y.Heading,{as:"h1",scale:"h1",children:"Medlemskab"}),(0,r.jsxs)(C,{children:[(0,r.jsxs)(D,{children:[(0,r.jsx)(k,{children:(0,r.jsxs)(M,{children:[(0,r.jsx)(P,{scale:5,children:I.userMembership.title}),(0,r.jsx)(F,{children:(null==I?void 0:I.membershipType.name)!="default"&&"Type: "+(null==I?void 0:I.membershipType.name)}
1)]})}),(0,r.jsx)(k,{children:(0,r.jsx)(h.$U,{greaterThan:"sm",children:(0,r.jsx)(T,{children:(0,r.jsx)(_,{children:(0,r.jsx)(w.Regular24AwardRibbonStar,{className:"h-full w-full"})})})})})]}),(0,r.jsxs)(D,{children:[(0,r.jsx)(k,{children:(0,r.jsx)(F,{children:"Personlige Oplysninger"})}),(0,r.jsxs)(k,{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(h.$U,{greaterThan:"sm",children:(0,r.jsx)(T,{children:(0,r.jsx)(o(),{href:"/account/details",legacyBehavior:!0,children:(0,r.jsx)(N,{children:"Rediger"})})})}),I.user.name]}),(0,r.jsx)("div",{children:I.user.email}),I.user.phone,(0,r.jsx)(h.$U,{at:"sm",children:(0,r.jsx)(T,{children:(0,r.jsx)(o(),{href:"/account/details",legacyBehavior:!0,children:(0,r.jsx)(N,{children:"Rediger"})})})})]})]}),(0,r.jsxs)(D,{children:[(0,r.jsx)(k,{children:(0,r.jsx)(F,{children:"Medlems-ID"})}),(0,r.jsx)(k,{children:I.id.slice(0,6)})]}),(0,r.jsxs)(D,{children:[(0,r.jsxs)(k,{children:[(0,r.jsx)(F,{children:"\xc5rlig fornyelse af medlemskab "})," "]}),(0,r.jsx)(k,{children:(0,l.GP)(I.endDateAt,"PP",{locale:a.da})})]}),(0,r.jsxs)(D,{children:[(0,r.jsx)(k,{children:(0,r.jsx)(F,{children:"Status"})}),(0,r.jsxs)(k,{children:[(0,r.jsx)("div",{className:"flex flex-row items-center gap-2",children:I.endDateAt>=B?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"rounded-full bg-green-100 p-[0.25rem_0.375rem] font-bold",children:"Aktiv"}),I.autoRenewal?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:"Fornyes \xe5rligt"}),(0,r.jsx)("div",{children:"\xb7"}),(0,r.jsxs)("div",{children:["N\xe6ste betaling d."," ",(0,l.GP)(I.endDateAt,"PP",{locale:a.da})]}),(null==I?void 0:I.transactions[0])&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:"\xb7"}),(0,r.jsx)("div",{children:(0,x.v)(null==(n=I.transactions[0])?void 0:n.amount)})]})]}):(0,r.jsxs)("div",{children:["Udl\xf8ber d. ",(0,l.GP)(I.endDateAt,"PP",{locale:a.da})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"rounded-full bg-neutral-200 p-[0.25rem_0.375rem] font-bold",children:["Udl\xf8bet"," "]}),(0,r.jsxs)("div",{children:["Dit medlemskab udl\xf8b d."," ",(0,l.GP)(I.endDateAt,"PP",{locale:a.da})]})]})}),I.autoRenewal?(0,r.jsx)("a",{href:"/account/member/"+(null==I?void 0:I.id)+"/cancel-renewal",children:(0,r.jsx)("div",{className:"cursor-pointer font-normal text-neutral-900 underline",children:"Afmeld \xe5rlig fornyelse"})}):(0,r.jsx)(r.Fragment,{children:I.endDateAt>=B?(0,r.jsx)(p.$,{onClick:()=>i.push("/account/member/".concat(I.id,"/set-renewal")),theme:"black",size:"sm",className:"mt-2",children:"Tilmeld \xe5rlig fornyelse"}):(0,r.jsx)(p.$,{onClick:()=>i.push("/account/member/".concat(I.id,"/renew")),theme:"black",size:"sm",className:"mt-2",children:"Forny medlemskab"})})]})]}),(null==I?void 0:I.paymentMethod)?(0,r.jsxs)(D,{children:[(0,r.jsx)(k,{children:(0,r.jsx)(F,{children:"Betalingsmetode"})}),(0,r.jsxs)(k,{children:[I.paymentMethod.brand.toUpperCase()+" \xb7\xb7\xb7 "+I.paymentMethod.last4,(0,r.jsx)(T,{children:(0,r.jsx)(o(),{href:"/account/paymentmethod",legacyBehavior:!0,children:(0,r.jsx)(N,{children:"Rediger"})})})]})]}):(0,r.jsxs)(D,{children:[(0,r.jsx)(k,{children:(0,r.jsx)(F,{children:"Betalingsmetode"})}),(0,r.jsx)(k,{children:(0,r.jsx)(o(),{href:"/account/member/"+(null==I?void 0:I.id)+"/paymentmethod",legacyBehavior:!0,children:(0,r.jsx)(N,{children:"Tilknyt en betalingsmetode"})})})]}),(0,r.jsxs)(D,{children:[(0,r.jsx)(k,{children:(0,r.jsx)(F,{children:"Beskrivelse"})}),(0,r.jsx)(k,{children:I.userMembership.desc})]}),(0,r.jsxs)(D,{children:[(0,r.jsx)(k,{children:(0,r.jsx)(F,{children:"Besked fra stedet"})}),(0,r.jsx)(k,{children:(0,r.jsx)(g.D,{children:I.message||" "})})]}),(0,r.jsxs)(D,{children:[(0,r.jsx)(k,{children:(0,r.jsx)(F,{children:"Specialtilbud"})}),(0,r.jsx)(k,{children:(0,r.jsxs)(M,{children:["Som medlem f\xe5r du ogs\xe5 adgang til specialtilbud.",(0,r.jsxs)("div",{children:[(0,r.jsx)(N,{href:"https://deep-samba-a5f.notion.site/Specialtilbud-c17f4bf4c04d4dfb944806fbdac1bfe0",target:"_blank",children:"Se tilbud"}),(0,r.jsxs)(R,{children:[" ","​​​​  \xb7   \xc5bner i ny fane"]})]})]})})]}),(0,r.jsx)(D,{})]})]})})}),(0,r.jsx)(f.w,{})]}):null}v.Ay.span.withConfig({componentId:"sc-104760e4-17"})(["display:block;font-family:Lato;font-style:normal;font-weight:500;font-size:1.125rem;line-height:90%;cursor:pointer;@media only screen and (min-width:480px){margin-bottom:1rem;}"]),v.Ay.div.withConfig({componentId:"sc-104760e4-18"})(["display:flex;margin-right:0.625rem;margin-bottom:2rem;"]),(0,v.Ay)(w.Regular16Arrow).withConfig({componentId:"sc-104760e4-19"})(["margin:1 1rem;transform:rotate(270deg);margin-right:0.3125rem;cursor:pointer;"]);var B=!0},43145:(e,n,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/member/[id]",function(){return i(22749)}])},71085:(e,n,i)=>{"use strict";i.d(n,{D:()=>t});var r=i(37876);i(14232);var d=i(75938),s=i(41234);function t(e){let{children:n,className:i,...t}=e,l=(0,s.f1)();return(0,r.jsx)("div",{...t,dangerouslySetInnerHTML:{__html:l((0,d.xI)(n,{breaks:!0}))},className:"[&_a]:underline [&_p:first-of-type]:mt-0 [&_p:last-of-type]:mb-0 ".concat(i||"")})}},81180:(e,n,i)=>{"use strict";i.d(n,{v:()=>d});var r=i(60913);let d=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.OS;return(0,r.B2)(e,n)}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=43145)),_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.