PageSourceSearch

https://www.aftonbladet.se/web-assets/components-LiveStudioHeader.18a3e87a.m.js

js aftonbladet.se collected 2026-09-24 08:32:06 UTC 3,542 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5827],{50050:(e,t,i)=>{i.r(t),i.d(t,{default:()=>u});var r,a=i(23095),o=i(44152),n=i(57528),d=i(17437),l=i(47985),s=(0,d.keyframes)(r||(r=(0,n.A)(["\n  0% {\n    opacity: 1;\n  }\n  50% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n"]))),c={name:"11rcwxl",styles:"margin-bottom:4px"};var m=i(2445);const g=(0,a.O)((e=>{var t,i,{textStyles:r,hasBackgroundImage:a}=e;return{root:c,indicator:(0,d.css)("height:12px;width:12px;border-radius:16px;display:inline-block;background-color:",a?"#e24c4f":r.color,";margin-right:5px;margin-bottom:1px;animation:",s," 1500ms cubic-bezier(0.165, 0.84, 0.44, 1) infinite;html[data-theme='dark'] &{background-color:",a?"#e24c4f":null===(t=r.mqDark)||void 0===t?void 0:t.color,";}",(0,l.J)("mobile"),"{height:9px;width:9px;}"),text:(0,d.css)("font-family:var(--ff-body);letter-spacing:var(--text-base-letter-spacing);font-weight:700;font-size:21px;text-transform:uppercase;color:",a?"#e24c4f":r.color,";html[data-theme='dark'] &{color:",a?"#e24c4f":null===(i=r.mqDark)||void 0===i?void 0:i.color,";}",(0,l.J)("mobile"),"{font-size:14px;}")}}))((e=>{var{styles:t}=e;return(0,m.FD)("div",{css:t.root,children:[(0,m.Y)("span",{css:t.indicator}),(0,m.Y)("span",{css:t.text,children:"Live"})]})}));function h(e){var t,{imageAsset:i,minWidth:r,minHeight:a,darkMode:o}=e,{urls:n}=i,d=n.sort(((e,t)=>e.width-t.width)),l=d.find((e=>e.width>r&&e.height>a))||d[d.length-1];return o&&null!==(t=l.mqDark)&&void 0!==t&&t.url?l.mqDark.url:l.url}const u=(0,a.O)((e=>{var t,{defaultBackgroundImage:i,titleText:r,backgroundImage:a}=e,o=a||i,{textStyles:n}=r,s=275,c=h({imageAsset:o,minWidth:996,minHeight:s,darkMode:!1}),m=h({imageAsset:o,minWidth:996,minHeight:s,darkMode:!0}),g=h({imageAsset:o,minWidth:750,minHeight:180,darkMode:!1}),u=h({imageAsset:o,minWidth:750,minHeight:180,darkMode:!0}),f=h({imageAsset:o,minWidth:1992,minHeight:s,darkMode:!1}),p=h({imageAsset:o,minWidth:1992,minHeight:s,darkMode:!0});return{root:(0,d.css)("box-sizing:border-box;background-image:url(",c,");background-size:cover;background-position:",a?"center top":"left center",";display:flex;flex-direction:column;height:",a?"".concat(s,"px"):"auto",";html[data-theme='dark'] &{background-image:url(",m,");}justify-content:end;",(0,l.J)("mobile"),"{margin-bottom:var(--gap-unit);height:",a?"".concat(180,"px"):"auto",";background-image:url(",g,");html[data-theme='dark'] &{background-image:url(",u,");}}","".concat((0,l.J)("mobile-up")," and (min-resolution: 2dppx)"),"{background-image:url(",f,");html[data-theme='dark'] &{background-image:url(",p,");}}"),title:(0,d.css)("color:",a?"#ffffff":n.color,";font-family:var(--ff-body);letter-spacing:var(--text-base-letter-spacing);font-weight:700;font-size:48px;margin:0;html[data-theme='dark'] &{color:",null===(t=n.mqDark)||void 0===t?void 0:t.color,";}",(0,l.J)("mobile"),"{font-size:30px;}"),titleOverlay:(0,d.css)("padding:",a?"8px 16px 0px":"20px",";background-color:",a?"rgba(0, 0, 0, 0.6)":"none",";")}}))((e=>{var{titleText:t,liveLogo:i,backgroundImage:r,styles:a,isPinnedEntry:n}=e,d=(0,o.nB)(),{text:l}=t,s=n?"h2":"h1";return(0,m.Y)("div",{css:a.root,children:(0,m.FD)("div",{css:a.titleOverlay,children:[i.show&&(0,m.Y)(g,{textStyles:i.textStyles,hasBackgroundImage:!!r}),(0,m.Y)(s,{css:a.title,children:d(l.value,l.markup)})]})})}))},57528:(e,t,i)=>{function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}i.d(t,{A:()=>r})}}]);

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.