1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4784],{8020:e=>{e.exports={title:"StockPortfolioOverviewPage_title__9Khbh",onboardingText:"StockPortfolioOverviewPage_onboardingText__AcjSg",createButton:"StockPortfolioOverviewPage_createButton__ezWGo"}},9746:e=>{e.exports={content:"CreatePanel_content__Er87A",buttons:"CreatePanel_buttons__EN3Aw",primaryCheckboxContainer:"CreatePanel_primaryCheckboxContainer__dnrG6"}},18088:(e,t,r)=>{"use strict";r.d(t,{J:()=>c});var i=r(4930),o=r(64627),n=r(80028),a=r(82408),l=r(41797),s=r.n(l);let c=e=>(0,i.jsx)(o.$,{type:"submit",variant:"primary",ariaLabel:e.ariaLabel,disabled:e.disabled,ariaDisabled:e.ariaDisabled,trackingClass:e.trackingClass,width:e.width,children:(0,i.jsx)("div",{className:s().container,children:e.isLoading&&e.withLoadingSpinner?(0,i.jsx)(n.t,{size:a.l.Medium}):e.text})})},24923:e=>{e.exports={root:"FormCheckbox_root__oaFf8",group:"FormCheckbox_group__IJsBX",checkbox:"FormCheckbox_checkbox__DrKJq",icon:"FormCheckbox_icon__28m9H",input:"FormCheckbox_input__NDCvb",label:"FormCheckbox_label__3S6c3"}},25826:(e,t,r)=>{"use strict";r.d(t,{C:()=>f});var i=r(4930),o=r(77674),n=r(94991),a=r(36387),l=r.n(a),s=r(64218),c=r(47034),d=r(86006);let u={name:"StockHeader",elements:{title:{font:{family:s.v.SanomatAlt,weight:"700",size:(0,c.px)(28),lineHeight:(0,c.px)(32)},color:d.r.Grey5},description:{font:{family:s.v.SanomatSansWeb,weight:"400",size:(0,c.px)(13),lineHeight:(0,c.px)(19),letterSpacing:(0,c.px)(.25)},color:d.r.Grey4}}};var p=r(15197);let g={name:"StockHeader",elements:{title:{font:{family:s.v.BTGrotesk,weight:"900",size:(0,c.px)(26),lineHeight:(0,c.px)(33)},color:p.r.Grey2},description:{font:{family:s.v.BTGrotesk,weight:"500",size:(0,c.px)(13),lineHeight:(0,c.px)(19)},color:p.r.Grey10}}};var m=r(44937);let h={berlingske:u,bt:g,euroinvestor:{name:"StockHeader",elements:{title:{font:{family:s.v.LedgerGrotesk,weight:"750",size:(0,c.px)(24),lineHeight:(0,c.px)(30)},color:m.u.Grey1},description:{font:{family:s.v.LedgerGrotesk,weight:"400",size:(0,c.px)(13),lineHeight:(0,c.px)(19)},color:m.u.Grey6}}}},f=e=>{let{title:t,description:r}=e;return(0,i.jsx)(n.J,{themes:h,children:(0,i.jsxs)(o.D,{className:l().header,children:[(0,i.jsx)("div",{className:l().title,children:t}),r&&(0,i.jsx)("div",{className:l().description,children:r})]})})}},27228:(e,t,r)=>{"use strict";r.d(t,{l:()=>l});var i=r(4930),o=r(15932),n=r(69021);let a={berlingske:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path fill="currentcolor" d="M11.103 4.782a.785.785 0 0 1 1.12-.088c.302.264.362.71.156 1.043l-.07.096-4.536 5.385a.785.785 0 0 1-1.09.113l-.086-.079-2.875-3.041a.817.817 0 0 1 .022-1.142.784.784 0 0 1 1.035-.058l.088.08 2.268 2.4 3.968-4.709Z"/></svg>\n',bt:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path fill="currentcolor" fill-rule="evenodd" d="M5.823 9.613 13.311 2 15.5 4.218 5.823 14 .5 8.605l2.164-2.193 3.16 3.201Z" clip-rule="evenodd"/></svg>\n',euroinvestor:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path fill="currentcolor" d="m6.227 12.36-3.47-3.78c-.19-.2-.17-.52.03-.71l.74-.68c.2-.19.52-.17.71.03l2.32 2.53 5.17-6.09c.18-.21.49-.24.7-.06l.77.65c.21.18.24.49.06.7l-6.27 7.39c-.2.23-.55.24-.75.01l-.01.01Z"/></svg>\n',weekendavisen:'<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path fill="currentcolor" fill-rule="evenodd" d="M5.615 12.314 13.722 2.1l.778.618-8.875 11.181L1.5 8.837l.77-.627 3.345 4.105Z" clip-rule="evenodd"/></svg>\n'},l=e=>{let t=a[(0,o.r)().features.appearance.iconSet]||"<svg />";return(0,i.jsx)(n.I,{svg:t,...e})}},29123:(e,t,r)=>{"use strict";var i;r.d(t,{t:()=>o});let o=((i={}).AdvertorialArticle="AdvertorialArticle",i.FeatureArticle="FeatureArticle",i.InfoPageArticle="InfoPageArticle",i.LiveBlogArticle="LiveBlogArticle",i.NewsArticle="NewsArticle",i.SectionPageArticle="SectionPageArticle",i.SponsoredArticle="SponsoredArticle",i.StandaloneVideoArticle="StandaloneVideoArticle",i.ThemePageArticle="ThemePageArticle",i.AffiliateArticle="AffiliateArticle",i)},35859:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/markeder/portfolio",function(){return r(42753)}])},36156:(e,t,r)=>{"use strict";r.d(t,{J:()=>l});
1var i=r(65048),o=r(15932),n=r(65162),a=r(68498);function l(e){let{url:t}=e,r=(0,o.r)(),l=(0,a.A)(),[s,c]=(0,n.useState)(null);return(0,n.useEffect)(()=>{l.getAccessToken().then(c)},[l]),(0,i.s)({url:s?t:void 0,headers:s?{Authorization:`Bearer ${s}`,"bm-active-product":r.site.productCode}:void 0})}},36387:e=>{e.exports={header:"StockHeader_header__DL5W5",title:"StockHeader_title__a4xxp",description:"StockHeader_description__nPnVQ"}},40355:(e,t,r)=>{"use strict";r.d(t,{K:()=>a});var i=r(4930),o=r(34902),n=r(15932);function a(e){let{metadata:t}=e,r=(0,n.r)(),a=(0,o.o)(),l=t.title?t.title:r.site.name,{description:s,openGraph:c}=t,d=c?.image||`/brands/${r.site.name.toLowerCase().replace(/\./g,"")}/share.jpg`,u=[];u.push((0,i.jsx)("meta",{name:"format-detection",content:"telephone=no"},"format-detection")),u.push((0,i.jsx)("title",{children:l},"title")),s&&s.length>0&&u.push((0,i.jsx)("meta",{name:"description",content:s},"description"));let p=t.robots?`${t.robots}, max-image-preview:large`:"max-image-preview:large";u.push((0,i.jsx)("meta",{name:"robots",content:p},"robots")),u.push((0,i.jsx)("meta",{property:"og:site_name",content:r.site.name},"og:site_name")),u.push((0,i.jsx)("meta",{property:"og:type",content:c?.type||"website"},"og:type")),u.push((0,i.jsx)("meta",{property:"og:title",content:c?.title||l},"og:title"));let g=c?.description||s;return g&&g.length>0&&u.push((0,i.jsx)("meta",{property:"og:description",content:g},"og:description")),u.push((0,i.jsx)("meta",{property:"og:image",content:d},"og:image")),u.push((0,i.jsx)("meta",{property:"og:image:secure_url",content:d},"og:image:secure_url")),u.push((0,i.jsx)("meta",{property:"twitter:card",content:"summary_large_image"},"twitter:card")),(0,i.jsx)(a,{children:u})}},41797:e=>{e.exports={container:"FormSubmitButton_container__COGjp"}},42753:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>q,default:()=>Z});var i=r(4930),o=r(61107),n=r(40355),a=r(74331),l=r(82068),s=r(66370),c=r(72752),d=r(64627),u=r(74851),p=r(15932),g=r(36189),m=r(35027),h=r(95465),f=r(25826),v=r(47034),x=r(94991),_=r(65162),y=r(47832),k=r(30448),b=r(60158),w=r(18088),S=r(9746),C=r.n(S);function j(e){let{onClose:t,onSubmit:r,first:o}=e;return(0,i.jsx)(y.E,{isModal:!0,title:"Opret ny portef\xf8lje",onClose:t,children:(0,i.jsx)("form",{onSubmit:e=>{e.preventDefault();let t=new FormData(e.target),i=t.get("name")?.toString(),n=!!o||t.get("primary")?.toString()==="on";i&&r({name:i,isPrimary:n||!1})},children:(0,i.jsxs)("div",{className:C().content,children:[(0,i.jsx)("div",{children:(0,i.jsx)(k.G,{label:"Navn",name:"name",required:!0})}),!o&&(0,i.jsx)("div",{className:C().primaryCheckboxContainer,children:(0,i.jsx)(b.c,{name:"primary",children:"Prim\xe6r"})}),(0,i.jsxs)("div",{className:C().buttons,children:[(0,i.jsx)(d.$,{variant:"secondary",width:"100%",onClick:t,children:"Annuller"}),(0,i.jsx)(w.J,{text:"Opret",width:"100%"})]})]})})})}var P=r(42975),A=r(91383),N=r(46550),T=r(93430),L=r.n(T),B=r(64218),I=r(86006);let G={name:"StockPortfolioListItem",elements:{name:{color:I.r.Grey5,font:{family:B.v.SanomatSansWeb,weight:"500",size:(0,v.px)(16),lineHeight:(0,v.px)(22),letterSpacing:(0,v.px)(.16)}},change:{font:{family:B.v.SanomatSansWeb,weight:"400",size:(0,v.px)(16),lineHeight:(0,v.px)(22),letterSpacing:(0,v.px)(.16)}},volume:{color:I.r.Grey4,font:{family:B.v.SanomatSansWeb,weight:"400",size:(0,v.px)(13),lineHeight:(0,v.px)(19),letterSpacing:(0,v.px)(.25),transform:"uppercase"}},value:{color:I.r.Grey4,font:{family:B.v.SanomatSansWeb,weight:"400",size:(0,v.px)(13),lineHeight:(0,v.px)(19),letterSpacing:(0,v.px)(.25)}}}};var H=r(15197);let E={name:"StockPortfolioListItem",elements:{name:{color:H.r.Grey2,font:{family:B.v.BTGrotesk,weight:"600",size:(0,v.px)(16),lineHeight:(0,v.px)(22)}},change:{font:{family:B.v.BTGrotesk,weight:"500",size:(0,v.px)(16),lineHeight:(0,v.px)(22)}},volume:{color:H.r.Grey10,font:{family:B.v.BTGrotesk,weight:"500",size:(0,v.px)(13),lineHeight:(0,v.px)(19),letterSpacing:"0.025em",transform:"uppercase"}},value:{color:H.r.Grey10,font:{family:B.v.BTGrotesk,weight:"500",size:(0,v.px)(13),lineHeight:(0,v.px)(19),letterSpacing:"0.025em",transform:"uppercase"}}}};var O=r(44937);let W={berlingske:G,bt:E,euroinvestor:{name:"StockPortfolioListItem",elements:{name:{color:O.u.Grey1,font:{family:B.v.LedgerGrotesk,weight:"700",size:(0,v.px)(16),lineHeight:(0,v.px)(22)}},change:{font:{family:B.v.LedgerGrotesk,weight:"400",size:(0,v.px)(16),lineHeight:(0,v.px)(22)}},volume:{color:O.u.Grey6,font:{family:B.v.LedgerGrotesk,weight:"400",size:(0,v.px)(13),lineHeight:(0,v.px)(19),transform:"uppercase"}},value:{color:O.u.Grey6,font:{family:B.v.LedgerGrotesk,weight:"400",size:(0,v.px)(13),lineHeight:(0,v.px)(19)}}}}};function D(e){let{portfolio:t}=e;return(0,i.jsx)(x.J,{themes:W,children:(0,i.jsxs)("a",{className:L().link,href:`/markeder/portfolio/${t.id}`,children:[(0,i.jsxs)("div",{className:L().row,children:[(0,i.jsx)("div",{className:L().name,children:t.name}),t.isPrimary&&(0,i.jsx)(P.T,{}),(0,i.jsx)("div",{className:L().change,children:null!==t.totalYieldInPercent?(0,i.jsx)(A.g,{value:t.totalYieldInPercent,formatValue:e=>`${(0,N.Z)(e)}%`}):(0,i.jsx)("span",{children:"-"})})]}),(0,i.jsxs)("div",{className:L().row,children:[(0,i.jsx)("div",{className:L().volume,children:`${(0,N.Z)(t.numberOfPositions,{fractionalDigits:0})} positioner`}),(0,i.jsx)("div",{className:L().value,children:`${(0,N.Z)(t.totalMarketValue)} ${t.baseCurrency}`})]})]})})}var z=r(75748),R=r.n(z);function F(e){let{portfolios:t}=e;return(0,i.jsx)("ul",{className:R().list,children:t.map(e=>(0,i.jsx)("li",{className:R().listItem,children:(0,i.jsx)(D,{portfolio:e})},e.id))})}var $=r(8020),M=r.n($);let J={berlingske:{name:"StockPortfolioOverviewPage",elements:{onboardingText:{color:I.r.Grey4,font:{family:B.v.SanomatSansWeb,weight:"400",size:(0,v.px)(16),lineHeight:(0,v.px)(22),letterSpacing:(0,v.px)(.16)}}}}
1,bt:{name:"StockPortfolioOverviewPage",elements:{onboardingText:{color:H.r.Grey10,font:{family:B.v.BTGrotesk,weight:"500",size:(0,v.px)(16),lineHeight:(0,v.px)(22)}}}},euroinvestor:{name:"StockPortfolioOverviewPage",elements:{onboardingText:{color:O.u.Grey6,font:{family:B.v.LedgerGrotesk,weight:"400",size:(0,v.px)(16),lineHeight:(0,v.px)(22)}}}}},U="stock_portfolio_overview_page";function V(){let e=(0,l.A)(),t=(0,p.r)(),r=(0,g.v)(),{showModal:o}=(0,m.h)(),n=(0,u.G)(t.features.language.formal);if(!t.features.stocks.enabled)return null;let{data:y,refetch:k}=(0,l.J)({url:r.BM_STOCK_API_URL+"/users/portfolios"}),[b,w]=(0,_.useState)(!1),S=async i=>{if(!t.features.stocks.enabled)return;let{name:o,isPrimary:n}=i,a=await e.getAccessToken();if(!(await fetch(`${r.BM_STOCK_API_URL}/users/portfolios`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${a}`},body:JSON.stringify({name:o,markAsPrimary:n||!1})})).ok)throw Error("Failed to create portfolio");k(),w(!1)},C=async()=>{e.authIsHandled&&e.userData?w(!0):o({title:`F\xf8lg ${n("dine")} investeringers udvikling`,description:`Med portef\xf8lje har ${n("du")} altid dine investeringer lige ved h\xe5nden. 2 3Her kan ${n("du")} nemt f\xe5 overblik og f\xf8lge ${n("dine")} beholdninger af aktier og andre v\xe6rdipapirer. Alt sammen kvit og frit. 4 5Log ind eller opret ${n("dig")} som bruger - s\xe5 er ${n("du")} godt i gang.`,actions:[{text:"Opret profil",onClick:()=>e.requestCreateProfile(),trackingClass:"sp_create_portfolio_signup"},{text:"Log ind",onClick:()=>e.requestLogin(),trackingClass:"sp_create_portfolio_login"}]})};return(0,i.jsx)(x.J,{themes:J,children:(0,i.jsx)(h.Y,{showTopBanner:!0,showTopScrollBanner:!0,showStickyBanners:!0,bannerIdPrefix:U,showStockTicker:!0,children:(0,i.jsxs)(s.m,{fluidOnTablet:!0,children:[(0,i.jsx)("div",{className:M().title,children:(0,i.jsx)(f.C,{title:`${n("Dine")} portef\xf8ljer`})}),y||e.authIsHandled&&!e.userData?(0,i.jsxs)(c.F,{children:[y&&y.length>0?(0,i.jsx)(F,{portfolios:y}):(0,i.jsxs)("p",{className:M().onboardingText,children:["Med portef\xf8ljer har ",n("du")," altid ",n("dine")," investeringer lige ved h\xe5nden.",(0,i.jsx)("br",{}),"Her kan ",n("du")," nemt f\xe5 overblik og f\xf8lge ",n("dine")," beholdninger af aktier og andre v\xe6rdipapirer.",(0,i.jsx)("br",{}),"Alt sammen kvit og frit."]}),(0,i.jsx)("div",{className:M().createButton,children:(0,i.jsx)(d.$,{type:"button",onClick:C,width:"100%",trackingClass:"sp_create_portfolio_button",children:"Opret ny portef\xf8lje"})}),b&&(0,i.jsx)(j,{onClose:()=>w(!1),onSubmit:S,first:y?.length===0})]}):null,(0,i.jsx)(a.w,{id:`${U}_after_content_pl_1`,marginTop:(0,v.px)(24)})]})})})}var K=r(61439);function Z(){return(0,K.L)({pageType:"StockPortfolioOverviewPage"}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.K,{metadata:{title:"Mine portef\xf8ljer"}}),(0,i.jsx)(o.C,{pageType:"StockPortfolioOverviewPage"}),(0,i.jsx)(V,{})]})}var q=!0},44267:e=>{e.exports={container:"StockPriceChange_container__5cJzq",outgoing:"StockPriceChange_outgoing__y5DV5",incoming:"StockPriceChange_incoming__G4YK_",outgoingUp:"StockPriceChange_outgoingUp__DGSWw",outgoingDown:"StockPriceChange_outgoingDown__wF25K",incomingUp:"StockPriceChange_incomingUp__8K7MU",incomingDown:"StockPriceChange_incomingDown__nBXzD"}},52117:(e,t,r)=>{"use strict";r.d(t,{PF:()=>g.t,X0:()=>m,oS:()=>h,Xr:()=>W,NK:()=>D,uG:()=>z,cR:()=>R,qB:()=>$,ZC:()=>M,Wn:()=>O,xJ:()=>H,gM:()=>f,Hu:()=>v,dx:()=>x,u4:()=>_,JW:()=>y,i0:()=>F,Z_:()=>k,tV:()=>b,nd:()=>w,A8:()=>S,eT:()=>C,g6:()=>j,x_:()=>P,Em:()=>A,lm:()=>N,K5:()=>T,vq:()=>L,q:()=>B,hj:()=>I,ir:()=>G,yG:()=>E});var i,o,n,a,l,s,c,d,u,p,g=r(29123);let m=((i={}).Human="Human",i.TextToSpeech="TextToSpeech",i),h=((o={}).Facebook="Facebook",o.Twitter="Twitter",o.LinkedIn="LinkedIn",o);function f(e){return e?.type==="ContentSpotNode"}function v(e){return e?.type==="CustomCodeNode"}function x(e){return e?.type==="EmbeddedArticleNode"}function _(e){return e?.type==="FactBoxNode"}function y(e){return e?.type==="FigureNode"}function k(e){return e?.type==="HeadingNode"}function b(e){return e?.type==="HorizontalRuleNode"}function w(e){return e?.type==="HyperlinkNode"}function S(e){return e?.type==="ImageNode"}function C(e){return e?.type==="LineBreakNode"}function j(e){return e?.type==="ListItemNode"}function P(e){return e?.type==="ListNode"}function A(e){return e?.type==="NorkonLiveBlogNode"}function N(e){return e?.type==="ParagraphNode"}function T(e){return e?.type==="ParallaxNode"}function L(e){return e?.type==="QuoteNode"}function B(e){return e?.type==="ReviewRatingNode"}function I(e){return e?.type==="TableNode"}function G(e){return e?.type==="TextNode"}let H=((n={}
5).Bold="Bold",n.Strong="Strong",n.Italic="Italic",n.Emphasis="Emphasis",n.Underline="Underline",n.Strike="Strike",n.Subscript="Subscript",n.Superscript="Superscript",n);function E(e){return e?.type==="VideoNode"}let O=((a={}).HardWallInline="HardWallInline",a.HardWallOverlay="HardWallOverlay",a.SoftWallInline="SoftWallInline",a.SoftWallOverlay="SoftWallOverlay",a),W=((l={}).Auto="Auto",l.AllA="AllA",l.AllB="AllB",l.AllB_FirstBoosted="AllB_FirstBoosted",l.AllB_AllBoosted="AllB_AllBoosted",l),D=((s={}).Small="Small",s.Large="Large",s.Fluid="Fluid",s),z=((c={}).APlus="APlus",c.A="A",c.B="B",c),R=((d={}).Left="Left",d.Center="Center",d);function F(e){return"FrontPageTeaserItem"===e.type}let $=((u={}).Standard="Standard",u.ImageLeft="ImageLeft",u.ImageRight="ImageRight",u.OverlayTextLeft="OverlayTextLeft",u.OverlayTextRight="OverlayTextRight",u.Boosted="Boosted",u.Compact="Compact",u),M=((p={}).Tall="Tall",p.Wide="Wide",p)},60158:(e,t,r)=>{"use strict";r.d(t,{c:()=>k});var i=r(4930),o=r(17391),n=r(27228),a=r(82408),l=r(94991),s=r(65162),c=r(24923),d=r.n(c),u=r(64218),p=r(47034),g=r(86006);let m={name:"FormCheckbox",elements:{input:{borderColor:g.r.Grey5,errorColor:g.r.Red2,selectedBackgroundColor:g.r.Black,selectedBorderColor:g.r.Black},label:{color:g.r.Grey5,font:{family:u.v.SanomatSansWeb,size:(0,p.px)(13),lineHeight:(0,p.px)(19)}}}};var h=r(15197);let f={name:"FormCheckbox",elements:{input:{borderColor:h.r.Grey2,selectedBackgroundColor:h.r.Grey2,selectedBorderColor:h.r.Grey2,errorColor:h.r.Red1},label:{color:h.r.Grey2,font:{family:u.v.BTGrotesk,size:(0,p.px)(13),lineHeight:(0,p.px)(19),weight:"500"}}}};var v=r(44937);let x={name:"FormCheckbox",elements:{input:{borderColor:v.u.Grey1,errorColor:v.u.Red1,selectedBackgroundColor:v.u.Blue1,selectedBorderColor:v.u.Blue1},label:{color:v.u.Grey1,font:{family:u.v.LedgerGrotesk,size:(0,p.px)(13),lineHeight:(0,p.px)(19),weight:"400"}}}};var _=r(3351);let y={berlingske:m,bt:f,euroinvestor:x,weekendavisen:{name:"FormCheckbox",elements:{input:{borderColor:_.G.Black,errorColor:_.G.Red1,selectedBackgroundColor:_.G.Black,selectedBorderColor:_.G.Black},label:{color:_.G.Black,font:{family:u.v.WEASans,size:(0,p.px)(13),lineHeight:(0,p.px)(19)}}}}},k=e=>{let{children:t,name:r,center:c,labelAction:u,...p}=e,[g,m]=(0,s.useState)(!1),h=(0,s.useId)(),f=`${h}-label`,v=`${h}-label-action`,x=(0,o._)(e=>{e.preventDefault(),m(!e.target.validity.valid)}),_=(0,o._)(e=>{e.preventDefault();let t=e.target;m(!!p.required&&!t.checked)});return(0,i.jsx)(l.J,{themes:y,children:(0,i.jsx)("div",{className:d().root,children:(0,i.jsxs)("div",{className:d().group,"data-center":c,children:[(0,i.jsxs)("div",{className:d().checkbox,children:[(0,i.jsx)("div",{className:d().icon,children:(0,i.jsx)(n.l,{size:a.l.Small})}),(0,i.jsx)("input",{type:"checkbox",name:r,id:h,className:d().input,onInvalid:x,onInput:_,"data-has-error":g,"aria-labelledby":u?`${f} ${v}`:void 0,...p})]}),(0,i.jsxs)("span",{children:[(0,i.jsx)("label",{id:f,htmlFor:h,className:d().label,children:t}),u&&(0,i.jsxs)("span",{id:v,children:[" ",u]})]})]})})})}},61107:(e,t,r)=>{"use strict";r.d(t,{C:()=>n});var i=r(4930),o=r(41196);function n(e){let{pageType:t="",articleType:r="",category:n="diverse",tags:a=[],nlp:l={documentSentiment:{magnitude:0,score:0},categories:[]}}=e;return(0,i.jsx)(o.H,{children:` 6 window.dfpContentDetails = ${JSON.stringify({pageType:t,articleType:r,category:n,tags:a,nlp:l})}; 7 window.adsSetup = { 8 dfpContentDetails: window.dfpContentDetails, 9 extra: { 10 isUserLoggedIn: window.__BM_INITIAL_LOGGED_IN || false, 11 isUserSubscriber: window.__BM_INITIAL_SUBSCRIBER || false, 12 }, 13 }; 14 `})}},61439:(e,t,r)=>{"use strict";r.d(t,{L:()=>d});var i=r(6722),o=r(65162),n=r(66411),a=r(52117),l=r(10972),s=r(12687);let c={[a.Wn.HardWallOverlay]:"hard-overlay",[a.Wn.HardWallInline]:"hard-inline",[a.Wn.SoftWallOverlay]:"soft-overlay",[a.Wn.SoftWallInline]:"soft-inline"};function d(e){var t,r;let d,u=(0,i.A)(),p=(e=>{let[t,r]=(0,o.useState)(e?null:void 0);return(0,o.useEffect)(()=>{e||r(void 0)},[e]),(0,o.useEffect)(()=>{let i;if(e&&!t)return window.pianoSdk?void o():(window.addEventListener("piano:sdk:ready",o),()=>{i?.(),window.removeEventListener("piano:sdk:ready",o)});function o(){window.pianoSdk&&(i=window.pianoSdk.subscribe(e=>{if("paywallInitialized"===e.type)return void r(e.payload);if("subscribed"===e.type){let t=e.pastEvents.find(e=>"paywallInitialized"===e.type);t&&r(t.payload)}}))}},[e,t]),t})(!!e?.payWall&&!e?.eafsWall),g=null,m=null;if(e&&u.authIsHandled&&null!==p){let t,r,i;g=function(e,t,r){let i,o,{id:n,drpId:d,pageType:u,mainCategory:p,subCategory:g,payWall:m,loginWall:h,eafsWall:f,hasAudio:v=!1,hasVideo:x=!1,numberOfLinks:_=0,numberOfEmbeds:y=0,numberOfCharacters:k=0}=e,b=!!r.userData;if(t)i=(o=+!!t.user.hasAccess)?null:t.paywall.type;else{let e=(0,l.p)(r.userData),t=h===a.Wn.HardWallOverlay||h===a.Wn.HardWallInline||f;i=1==(o=+!!(m?e:!t||b))?null:f?"eafs":m?"hard":null}return{page:{type:u,category:p,subcategory:g},content:{id:n,title:e.title,drpId:d,paymentModel:m?"subscription":"free",reqrole:(function(e){if(!e)return[];let t=new Set(["BPC_USER"]);return(0,s.uz)(e,{userRoles:[".webapp.read"]})&&t.add("ROLE_USER_PLUS_MEMBER"),(0,s.uz)(e,{userRoles:[".epaper.read"]})&&t.add("ROLE_USER_E_PAPER"),(0,s.uz)(e,{userRoles:[".fri.read"]})?t.add("ROLE_USER_FRI"):!e.roles.some(e=>e.includes(".read"))&&e.roles.includes("pluss")&&t.add("ROLE_USER_FRI_EXTERNAL"),Array.from(t)})(r.userData).join(",")||"Anonymous",has_audio:+!!v,video:x,number_of_links:_,number_of_embeds:y,characters_count:k,paywall:i,loginwall:b?null:h?c[h]:null},user:{id:r.userData?.UID||null,auth:+!!r.userData,uid:r.userData?.UID||null,access:o,subscriptionType:r.userData?.subscriptionTypes.join("|")||""},...t?.trackingData&&{piano:t.trackingData}}}(e,p,u),t=!!u.userData,i={type:"website",login:+!!t,subscriber:+!!(r=(0,l.p)(u.userData)),contentTag:[],cntTag:[],url:location.origin+location.pathname,title:document.title.split(" | ")[0]},(Object.values(a.PF).includes(e.pageType)||"InfoPage"===e.pageType)&&e.id&&(i.type="article",i.url=location.origin+"/content/article/"+e.id),e.title&&(i.title=e.title),e.mainCategory&&(i.section=e.mainCategory),e.subCategory&&(i.subsection=e.subCategory),"CategoryPage"===e.pageType&&(i.type="sectionpage"),"FrontPage"===e.pageType&&(i.type="frontpage"),e.payWall?(i.paid=1,i.paywall=r?"open":"hard",r||i.cntTag.push("paywall")):e.loginWall?(i.paid=1,i.paywall=t?"open":"hard",t||i.cntTag.push("loginwall")):(i.paid=0,i.paywall="open"),void 0!==e.hasVideo&&(i.video=e.hasVideo),void 0!==e.numberOfWords&&(i.wordcount=e.numberOfWords),void 0!==e.numberOfCharacters&&i.contentTag.push(`characters_count_${e.numberOfCharacters}`),void 0!==e.numberOfLinks&&i.contentTag.push(`number_of_links_${e.numberOfLinks}`),void 0!==e.numberOfEmbeds&&i.contentTag.push(`number_of_embeds_${e.numberOfEmbeds}`),void 0!==e.hasAudio&&i.contentTag.push(`has_audio_${e.hasAudio?"1":"0"}`),i.contentTag.push(e.pageType.toLowerCase()),window.isNativeApp&&(i.channel="mobile_app"),m=i}d=null!==(t=m),(0,o.useEffect)(()=>{d&&function(e){if(window.kilkaya)try{window.kilkaya.pageview(e)}catch(e){console.warn("Error in kilkayaPageview:",e)}else window.k5aMeta=e}(t)},[d]),r=g,(0,o.useEffect)(()=>{r&&((0,n.X)({...r,event:"dataLayerPush"}),window.dispatchEvent(new CustomEvent("DataLayerReady")))},[JSON.stringify(r)])}},68215:e=>
14{e.exports={throbber:"Throbber_throbber__4Lafg",circle:"Throbber_circle__i_hkJ",spin:"Throbber_spin__kKET7"}},75748:e=>{e.exports={list:"StockPortfolioList_list__tDMIZ",listItem:"StockPortfolioList_listItem__27Ijk"}},80028:(e,t,r)=>{"use strict";r.d(t,{t:()=>d});var i=r(4930),o=r(82408),n=r(47034),a=r(68215),l=r.n(a);let s={[o.l.Small]:(0,n.px)(16),[o.l.Medium]:(0,n.px)(24),[o.l.Large]:(0,n.px)(32),[o.l.ExtraLarge]:(0,n.px)(64)},c={[o.l.Small]:(0,n.px)(2),[o.l.Medium]:(0,n.px)(3),[o.l.Large]:(0,n.px)(5),[o.l.ExtraLarge]:(0,n.px)(7)},d=e=>{let t=s[e.size]||s[o.l.Medium],r=c[e.size]||c[o.l.Medium];return(0,i.jsxs)("span",{className:l().throbber,style:{width:t,height:t},children:[(0,i.jsx)("span",{className:l().circle,style:{borderWidth:r},"data-is-background":!0}),(0,i.jsx)("span",{className:l().circle,style:{borderWidth:r},"data-is-partial":!0})]})}},82068:(e,t,r)=>{"use strict";r.d(t,{A:()=>i.A,J:()=>o.J});var i=r(67743),o=r(36156)},91383:(e,t,r)=>{"use strict";r.d(t,{g:()=>m});var i=r(4930),o=r(94991),n=r(65162),a=r(44267),l=r.n(a),s=r(86006);let c={name:"StockPriceChange",elements:{value:{negativeColor:s.r.Red3,positiveColor:s.r.Green}}};var d=r(15197);let u={name:"StockPriceChange",elements:{value:{negativeColor:d.r.Red1,positiveColor:d.r.Green}}};var p=r(44937);let g={berlingske:c,bt:u,euroinvestor:{name:"StockPriceChange",elements:{value:{negativeColor:p.u.Red1,positiveColor:p.u.Green}}}};function m(e){let t,{value:r,formatValue:a}=e,s=a(r),[c,d]=(0,n.useState)({value:r,formattedValue:s});return c.value>r?t="up":c.value<r&&(t="down"),(0,i.jsx)(o.J,{themes:g,children:(0,i.jsxs)("div",{className:l().container,onAnimationEnd:()=>d({value:r,formattedValue:s}),children:[(0,i.jsx)("div",{className:l().outgoing,"data-negative":0>c.value,"data-animation":t,children:c.formattedValue}),(0,i.jsx)("div",{className:l().incoming,"data-negative":0>r,"data-animation":t,children:s})]})})}},93430:e=>{e.exports={link:"StockPortfolioListItem_link__NPBss",row:"StockPortfolioListItem_row__nQ4Vg",name:"StockPortfolioListItem_name__6kTc_",change:"StockPortfolioListItem_change__ZgVJa",volume:"StockPortfolioListItem_volume__MtVS5",value:"StockPortfolioListItem_value__D3Wso"}}},e=>{e.O(0,[5262,6046,5758,636,6593,8792],()=>e(e.s=35859)),_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.