PageSourceSearch

https://www.nordsverige.se/dist/6682.eefc9f6b734a9b442ff8.js

js nordsverige.se collected 2026-09-25 00:47:50 UTC 11,423 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_vkmedia_services_frontrobot=self.webpackChunk_vkmedia_services_frontrobot||[]).push([[3344,6682],{26682(e,t,r){r.r(t);var a=r(88682),n=r(42455),i=r(58283),o=r(73344);function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!=l(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p={mobile:[],desktop:[{type:a.p.PanoramaAd,auId:void 0,placement:void 0},{type:a.p.Block,blockLayout:[[{type:a.p.Article,teaserWidth:n.pF.Wide},{type:a.p.Article,teaserWidth:n.pF.Wide},{type:a.p.Article,teaserWidth:n.pF.Wide},{type:a.p.Article,teaserWidth:n.pF.Wide}],[{type:a.p.Article,teaserWidth:n.pF.Narrow},{type:a.p.Article,teaserWidth:n.pF.Narrow},{type:a.p.Article,teaserWidth:n.pF.Narrow},{type:a.p.Widget,widget:{widgetType:i.x.ArticlesListGeneric,widgetData:{title:"Senaste nytt",name:"Senaste nytt"}}}]]},{type:a.p.PanoramaAd,auId:void 0,placement:void 0},{type:a.p.Block,blockLayout:[[{type:a.p.Article,teaserWidth:n.pF.Wide},{type:a.p.Article,teaserWidth:n.pF.Wide},{type:a.p.Article,teaserWidth:n.pF.Wide},{type:a.p.Article,teaserWidth:n.pF.Wide}],[{type:a.p.Article,teaserWidth:n.pF.Narrow},{type:a.p.Article,teaserWidth:n.pF.Narrow},{type:a.p.Article,teaserWidth:n.pF.Narrow}]]}]};describe("features/section/client/prepareLayout",function(){test("all layout items are indexed",function(){var e=p.desktop,t=0;(0,o.prepareLayout)(e).forEach(function(e){if(e.type!==a.p.Block)return expect(e).toHaveProperty("layoutIndex",t),void t++;e.blockLayout.forEach(function(e){e.forEach(function(e){expect(e).toHaveProperty("layoutIndex",t),t++})})})}),test("articles in blocks are extended with an index",function(){var e=p.desktop,t=0;(0,o.prepareLayout)(e).forEach(function(r,n){r.type===a.p.Block?r.blockLayout.forEach(function(r,i){r.forEach(function(r,o){var l=e[n].blockLayout[i][o];r.type===a.p.Article?(expect(r).toEqual(c(c({},l),{},{index:t,layoutIndex:expect.any(Number),key:expect.any(String)})),t++):expect(r).toEqual(c(c({},l),{},{key:expect.any(String),layoutIndex:expect.any(Number)}))})}):expect(r).toEqual(c(c({},e[n]),{},{key:expect.any(String),layoutIndex:expect.any(Number)}))})})})},73344(e,t,r){r.r(t),r.d(t,{prepareLayout:()=>m});var a=r(88682),n=r(99612);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var a=r.call(e,t||"default");if("object"!=i(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a}var p=function(e,t){return{list:[].concat(c(e.list),[l(l({},t),{},{key:(0,n.guid)(),index:e.articleIndex,layoutIndex:e.layoutIndex})]),articleIndex:e.articleIndex+1,blockIndex:e.blockIndex,layoutIndex:e.layoutIndex+1}},s=function(e,t){return{list:[].concat(c(e.list),[l(l({},t),{},{key:(0,n.guid)(),layoutIndex:e.layoutIndex})]),articleIndex:e.articleIndex,blockIndex:e.blockIndex,layoutIndex:e.layoutIndex+1}},m=function(e){return e.reduce(function(e,t){if(t.type===a.p.Block){var r=e.articleIndex,n=e.layoutIndex;return{list:[].concat(c(e.list),[l(l({},t),{},{key:"block-".concat(e.blockIndex),blockLayout:t.blockLayout.map(function(e){var t=e.reduce(function(e,t){return t.type===a.p.Article?p(e,t):s(e,t)},{list:[],articleIndex:r,layoutIndex:n});return r=t.articleIndex,n=t.layoutIndex,t.list})})]),articleIndex:r,blockIndex:e.blockIndex+1,layoutIndex:n}}return t.type===a.p.Article?p(e,t):s(e,t)},{list:[],articleIndex:0,blockIndex:0,layoutIndex:0}).list}},88682(e,t,r){r.d(t,{p:()=>a});var a=function(e){return e.Article="article",e.PanoramaAd="panoramaAd",e.BlockAd="blockAd",e.Block="block",e.Widget="widget",e.Native="native",e}({})},42455(e,t,r){r.d(t,{A$:()=>l,V1:()=>a,ZF:()=>i,oz:()=>n,pF:()=>o});
1var a=function(e){return e.NoneH1Wide="teaser-template-none-h1-wide",e.NoneH2Wide="teaser-template-none-h2-wide",e.NoneH2WideOpinion="teaser-template-none-h2-wide-opinion",e.NoneH3Wide="teaser-template-none-h3-wide",e.NoneH3WideChild="teaser-template-none-h3-wide-child",e.NoneH3Narrow="teaser-template-none-h3-narrow",e.ThumbH2Wide="teaser-template-thumb-h2-wide",e.ThumbH3Wide="teaser-template-thumb-h3-wide",e.ThumbH3WideChild="teaser-template-thumb-h3-wide-child",e.NoneH3WideChildOpinion="teaser-template-none-h3-wide-opinion-child",e.NoneH3NarrowChildOpinion="teaser-template-none-h3-narrow-opinion-child",e.FullH1Wide="teaser-template-full-h1-wide",e.FullH2Wide="teaser-template-full-h2-wide",e.FullH2WideOpinion="teaser-template-full-h2-wide-opinion",e.FullH3Wide="teaser-template-full-h3-wide",e.NoneH1Narrow="teaser-template-none-h1-narrow",e.NoneH2Narrow="teaser-template-none-h2-narrow",e.NoneH2NarrowOpinion="teaser-template-none-h2-narrow-opinion",e.NoneH3NarrowChild="teaser-template-none-h3-narrow-child",e.ThumbH2Narrow="teaser-template-thumb-h2-narrow",e.ThumbH3Narrow="teaser-template-thumb-h3-narrow",e.ThumbH3NarrowChild="teaser-template-thumb-h3-narrow-child",e.ThumbH2NarrowAudio="teaser-template-thumb-h2-narrow-audio",e.ThumbH2NarrowChildAudio="teaser-template-thumb-h2-narrow-child-audio",e.ThumbH2WideAudio="teaser-template-thumb-h2-wide-audio",e.FullH1Narrow="teaser-template-full-h1-narrow",e.FullH2Narrow="teaser-template-full-h2-narrow",e.FullH2NarrowOpinion="teaser-template-full-h2-narrow-opinion",e.FullH3Narrow="teaser-template-full-h3-narrow",e.FullH2NarrowLetter="teaser-template-full-h2-narrow-letter",e.FullH2WideLetter="teaser-template-full-h2-wide-letter",e.NoneH2Letter="teaser-template-none-h2-letter",e.NarrowFeatured="teaser-template-narrow-featured",e.WideFeatured="teaser-template-wide-featured",e.NarrowFeaturedDetailed="teaser-template-narrow-featured-detailed",e.WideFeaturedDetailed="teaser-template-wide-featured-detailed",e.Category="teaser-template-category",e.Small="teaser-template-small",e.NoneSmall="teaser-template-none-small",e.FullWideNativeAd="teaser-template-full-wide-native",e.FullNarrowNativeAd="teaser-template-full-narrow-native",e.NoneWideNativeAd="teaser-template-none-wide-native",e.NoneNarrowNativeAd="teaser-template-none-narrow-native",e.Normal="this-makes-me-sad",e.FullH1WideVideo="teaser-template-full-h1-wide-video",e.FullH2WideVideo="teaser-template-full-h2-wide-video",e.FullH3WideVideo="teaser-template-full-h3-wide-video",e.FullH1NarrowVideo="teaser-template-full-h1-narrow-video",e.FullH2NarrowVideo="teaser-template-full-h2-narrow-video",e.FullH3NarrowVideo="teaser-template-full-h3-narrow-video",e.LinkTeaserImageOnlyWide="teaser-template-link-teaser-image-only-wide",e.LinkTeaserImageOnlyNarrow="teaser-template-link-teaser-image-only-narrow",e}({}),n=function(e){return e.H1="h1",e.H2="h2",e.H3="h3",e}({}),i=function(e){return e.None="none",e.Thumbnail="thumb",e.Full="full",e}({}),o=function(e){return e.Wide="wide",e.Narrow="narrow",e}({}),l=function(e){return e.Audio="-audio",e.Featured="-featured",e.FeaturedDetailed="-featured-detailed",e.Opinion="-opinion",e.Child="-child",e.Letter="-letter",e.Video="-video",e.None="",e}({})},58283(e,t,r){r.d(t,{x:()=>a});var a=function(e){return e.AdnuntiusAdPlacement="adnuntius-ad-placement",e.AIArticleSummary="ai-article-summary",e.ArchiveHeader="archive-header",e.ArchiveLink="archive-link",e.ArticleCarousel="article-carousel",e.ArticleFilterForm="article-filter-form",e.ArticlesListGeneric="articles-list-generic",e.AudioCarousel="audio-carousel",e.BBWPlaylist="bluebillywig-playlist",e.BBWShorts="bluebillywig-shorts",e.BBWShort="bluebillywig-short",e.BlogList="blog-list",e.Contacts="contacts",e.ElectionGraphics="election-graphics",e.EngagentlyCommentsList="engagently-comments-list",e.Follow="follow",e.Greeting="greeting",e.HighlightedContentWithList="highlighted-content-with-list",e.ImageContentOverlay="image-content-overlay",e.ImagesMultipleTeaser="images-multiple-teaser",e.ImageTeaser="image-teaser",e.Innocode="innocode",e.Laidback="laidback",e.Letter="letter",e.MiniTeasers="mini-teasers",e.MyNews="my-news",e.Navigation="navigation",e.Newsletter="newsletter",e.NewsTip="newstip",e.NewsTipEPaper="newstip-epaper",e.NoConsentAlert="no-consent-alert",e.PlusList="plus-list",e.RandomArticleTeaser="random-article-teaser",e.SavedArticles="saved-articles",e.ScoringLeaders="scoring-leaders",e.SegmentedArticleTeaserWidget="segmented-article-teaser",e.Standings="standings",e.StaticArticleTeaser="static-article-teaser",e.TriggerbeePlaceholder="triggerbee-placeholder",e.TVSport="tv-sport",e.UpcomingLiveBroadcasts="upcoming-live-broadcasts",e.UpcomingMatches="upcoming-matches",e.UserContent="usercontent-teaser",e.UserGallery="usergallery-teaser",e.VKLiteSwipeOutro="vk-lite-swipe-outro",e.VKLiteSwipePagination="vk-lite-swipe-pagination",e.WelcomeBack="welcome-back",e}({})}}]);

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.