PageSourceSearch

https://nuento.dk/_next/static/chunks/pages/account/details/phone-c7558109cc606f39.js

js nuento.dk collected 2026-09-25 07:50:54 UTC 4,297 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]="0aedac86-8f47-461e-99d6-2419faff9a3b",e._sentryDebugIdIdentifier="sentry-dbid-0aedac86-8f47-461e-99d6-2419faff9a3b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[763,5891],{15891:(e,n,l)=>{"use strict";l.r(n),l.d(n,{ListingGrid:()=>s});var i=l(37876);function s(e){let{title:n,children:l}=e;return(0,i.jsxs)("div",{className:"flex flex-col gap-6",children:[n&&(0,i.jsx)("div",{children:n}),(0,i.jsx)("div",{children:(0,i.jsx)("div",{className:"grid h-fit grid-cols-1 gap-x-8 gap-y-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 lg:gap-y-12",children:l})})]})}},40022:(e,n,l)=>{"use strict";l.d(n,{O:()=>u});var i=l(37876),s=l(62867),r=l(48230),t=l.n(r),a=l(67224),c=l(68041),d=l(99033),o=l(18574),f=l(7802);function u(e){let{title:n,backBtnTitle:l,backBtnLink:r,topComponents:u,children:h,customHeader:x=null,wideContent:m=!1,titleRightComponent:p=null,hideFooter:g=!1,spacingTop:j}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.bV,{noindex:!0,nofollow:!0}),(0,i.jsxs)("div",{className:"flex min-h-screen flex-col",children:[x||(0,i.jsx)(a.Y9,{mobile:{withSearch:!1},desktop:{withSearch:!1}}),(0,i.jsx)("main",{className:"flex-grow flex flex-col",children:(0,i.jsx)(c.Section,{spacingTop:j,className:"flex-grow flex flex-col min-h-full",children:(0,i.jsxs)(d.Container,{width:m?"fluid":"xl",className:"flex-grow flex flex-col",children:[u,r&&(0,i.jsxs)("div",{className:"mb-8 mr-[10px] flex items-center py-5",children:[(0,i.jsx)(t(),{href:r,legacyBehavior:!0,children:(0,i.jsx)(f.Regular16Arrow,{className:"mr-[5px] rotate-[270deg] cursor-pointer"})}),(0,i.jsx)(t(),{href:r,legacyBehavior:!0,children:(0,i.jsx)("span",{className:"block cursor-pointer text-lg font-bold",children:l})})]}),n&&(0,i.jsxs)("div",{className:"mb-4 flex flex-col sm:mb-8 md:flex-row md:items-center",children:[(0,i.jsx)(o.Heading,{scale:"h2",reset:!0,children:n}),p]}),h]})})}),!g&&(0,i.jsx)(a.wi,{})]})]})}},67224:(e,n,l)=>{"use strict";l.d(n,{Jz:()=>s.Jz,Y9:()=>s.Y9,pV:()=>r.ListingGrid,wi:()=>i.w,x:()=>i.x});var i=l(71640),s=l(94174),r=l(15891)},83147:(e,n,l)=>{"use strict";l.d(n,{A:()=>u});var i=l(37876),s=l(94707),r=l(48230),t=l.n(r),a=l(99334),c=l(17490),d=l(44264);let o=d.Ay.div.withConfig({componentId:"sc-c4a19bc8-0"})(["max-width:28rem;margin-top:3rem;margin-bottom:2rem;"]),f=d.Ay.div.withConfig({componentId:"sc-c4a19bc8-1"})(["display:flex;> *:not(:first-child){margin-left:0.5rem;}"]);function u(e){let{children:n}=e,{isSubmitting:l}=(0,s.j7)(),{t:r}=(0,a.Bd)(["account-details"]);return(0,i.jsxs)(s.lV,{children:[(0,i.jsx)(o,{children:n}),(0,i.jsxs)(f,{children:[(0,i.jsx)(c.$,{type:"submit",theme:"red",loading:l,children:r("account-details:actions.save-changes")}),(0,i.jsx)(t(),{href:"/account/details",legacyBehavior:!0,children:(0,i.jsx)(c.$,{variant:"ghost",disabled:l,children:r("account-details:actions.cancel")})})]})]})}},89308:(e,n,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/details/phone",function(){return l(95882)}])},95882:(e,n,l)=>{"use strict";l.r(n),l.d(n,{__N_SSP:()=>b,default:()=>j});var i={};l.r(i),l.d(i,{accept:()=>c,format:()=>d});var s=l(37876),r=l(94707),t=l(89099),a=l(68695);let c=/[\d\+]+/g,d=e=>new a.Q("DK").input(e);var o=l(4228),f=l(94320),u=l(49962),h=l(40022),x=l(83147),m=l(12978),p=l(73084),g=l(14232);function j(){let e=(0,t.useRouter)();(0,u.J)({required:!0});let{user:n}=(0,g.useContext)(p.c),[l]=(0,f.d)(),a={initialValues:{phone:(null==n?void 0:n.phone)||""},validationSchema:o.Ik({phone:o.Yj().required().label("Telefonnummer")}),onSubmit:i=>{let{phone:s}=i;l({variables:{input:{phone:s}},optimisticResponse:{__typename:"Mutation",userUpdate:{__typename:"User",id:n.id,phone:s}}}),e.push("/account/details")}};return n?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(h.O,{title:"Telefonnummer",backBtnTitle:"Personlige oplysninger",backBtnLink:"/account/details",children:(0,s.jsx)(r.l1,{...a,children:(0,s.jsx)(x.A,{children:(0,s.jsx)(m.pd,{name:"phone",type:"tel",autoComplete:"tel",label:"Telefonnummer",rifm:i})})})})}):null}var b=!0}},e=>{e.O(0,[8695,636,6593,8792],()=>e(e.s=89308)),_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.