1"use strict";(self.webpackChunk_vkmedia_services_frontrobot=self.webpackChunk_vkmedia_services_frontrobot||[]).push([[2256,7708],{32256(e,t,d){d.r(t);var _=d(67708);describe("adHelper",function(){describe("getStrossleMgIdFromWidgetId",function(){test("Should return correct MGID for valid widget IDs",function(){expect((0,_.getStrossleMgIdFromWidgetId)("widget-5a8555c22b191")).toEqual("1754046"),expect((0,_.getStrossleMgIdFromWidgetId)("3991d1b9-6a23-4000-880b-835b3cfb0ddf")).toEqual("1750708")}),test("Should return undefined for invalid widget IDs",function(){expect((0,_.getStrossleMgIdFromWidgetId)("invalid-widget-id")).toBeUndefined()}),test("Should return undefined for empty widget IDs",function(){expect((0,_.getStrossleMgIdFromWidgetId)("")).toBeUndefined()}),test("Should return undefined for null widget IDs",function(){expect((0,_.getStrossleMgIdFromWidgetId)(null)).toBeUndefined()}),test("Should return undefined for undefined widget IDs",function(){expect((0,_.getStrossleMgIdFromWidgetId)(void 0)).toBeUndefined()})})})},67708(e,t,d){d.r(t),d.d(t,{fetchAndIgnoreResponse:()=>_,getStrossleMgIdFromWidgetId:()=>A,isURLSupported:()=>n,strossleApiKey:()=>r,strossleFetchAndIgnoreResponse:()=>I,trackStrossleEvent:()=>i});var _=function(e){fetch(e).then(function(){}).catch(function(){})},n=function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}},r="0f9ac9f836b98e2e3545104356520553b87276e6",I=function(e){return _(function(e){if(!n())return e;var t=new URL(e);return t.searchParams.append("apikey",r),t.toString()}(e))},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];I(e),t.forEach(function(e){_(e)})},o=function(e){return e.VK_SE_DESKTOP_API_STARTPAGE="1754046",e.VK_SE_DESKTOP_API_ARTICLE="1753729",e.VK_SE_MOBILE_TRAILING_ADS_API="1750708",e.VK_SE_MOBILE_API_STARTPAGE="1753273",e.FOLKBLADET_NU_DESKTOP_API_STARTPAGE="1754047",e.FOLKBLADET_NU_MOBILE_API_STARTPAGE="1753740",e.FOLKBLADET_NU_DESKTOP_API_ARTICLE="1753300",e.FOLKBLADET_NU_MOBILE_TRAILING_ADS_API="1752461",e.NORDSVERIGE_SE_MOBILE_TRAILING_ADS_API="1752604",e.NORDSVERIGE_SE_DESKTOP_API_ARTICLE="1752607",e}(o||{}),E={"widget-5a8555c22b191":o.VK_SE_DESKTOP_API_STARTPAGE,"widget-587e192f5950f":o.VK_SE_DESKTOP_API_ARTICLE,"3991d1b9-6a23-4000-880b-835b3cfb0ddf":o.VK_SE_MOBILE_TRAILING_ADS_API,"widget-54b8e5d0ecb0a":o.VK_SE_MOBILE_API_STARTPAGE,"widget-5a855600269ed":o.FOLKBLADET_NU_DESKTOP_API_STARTPAGE,"widget-589301fb4ba27":o.FOLKBLADET_NU_MOBILE_API_STARTPAGE,"widget-552bcee56b140":o.FOLKBLADET_NU_DESKTOP_API_ARTICLE,"83c7d985-f3c3-4d80-98ac-f9acfd0a817b":o.FOLKBLADET_NU_MOBILE_TRAILING_ADS_API,"9adfe02b-dd68-4075-943f-a13a0f4e5eb4":o.NORDSVERIGE_SE_MOBILE_TRAILING_ADS_API,"9b617a90-9ba7-4a01-8154-572551ea8019":o.NORDSVERIGE_SE_DESKTOP_API_ARTICLE},A=function(e){if(e)return E[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.