PageSourceSearch

https://pplus.dk/_next/static/chunks/178-24a3e5bc9fd2565d.js

js pplus.dk collected 2026-10-02 20:38:56 UTC 14,265 bytes, 8 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[178],{26178:(e,n,t)=>{var o,i,r,E,a,c,_,s,u,O,T,C,S,m,I,f,l;t.r(n),t.d(n,{ClientConfiguration:()=>G,ContentTracking:()=>p,CookieManagement:()=>P,CrossDomainTracking:()=>v,CustomDimensions:()=>b,CustomEvent:()=>k,DataLayer:()=>D,DownloadAndOutlink:()=>w,ErrorTracking:()=>V,GoalConversions:()=>U,Heartbeat:()=>j,Miscellaneous:()=>B,PageViews:()=>L,SiteSearch:()=>h,UserManagement:()=>K,default:()=>W,eCommerce:()=>y}),t(87358);let N="dataLayer",R=N;function d(e){R=e}let D=Object.freeze(Object.defineProperty({__proto__:null,push:function(e){return"object"!=typeof window[R]&&(window[R]=[]),M&&console.log("DataLayer push",e),window[R].push(e)},setDataLayerName:d},Symbol.toStringTag,{value:"Module"}));function g({containerId:e,containerUrl:n,dataLayerName:t,nonceValue:o}){let i=o?`,tags.nonce="${o}"`:"",r=n.replace(/\/+$/,"");return`(function(window, document, dataLayerName, id) {
2  window[dataLayerName]=window[dataLayerName]||[],window[dataLayerName].push({start:(new Date).getTime(),event:"stg.start"});var scripts=document.getElementsByTagName('script')[0],tags=document.createElement('script');
3  function stgCreateCookie(a,b,c){var d="";if(c){var e=new Date;e.setTime(e.getTime()+24*c*60*60*1e3),d="; expires="+e.toUTCString();f="; SameSite=Strict"}document.cookie=a+"="+b+d+f+"; path=/"}
4  var isStgDebug=(window.location.href.match("stg_debug")||document.cookie.match("stg_debug"))&&!window.location.href.match("stg_disable_debug");stgCreateCookie("stg_debug",isStgDebug?1:"",isStgDebug?14:-1);
5  var qP=[];dataLayerName!=="dataLayer"&&qP.push("data_layer_name="+dataLayerName)${i},isStgDebug&&qP.push("stg_debug");var qPString=qP.length>0?("?"+qP.join("&")):"";
6  tags.async=!0,tags.src="${r}/"+id+".js"+qPString,scripts.parentNode.insertBefore(tags,scripts);
7  !function(a,n,i){a[n]=a[n]||{};for(var c=0;c<i.length;c++)!function(i){a[n][i]=a[n][i]||{},a[n][i].api=a[n][i].api||function(){var a=[].slice.call(arguments,0);"string"==typeof a[0]&&window[dataLayerName].push({event:n+"."+i+":"+a[0],parameters:[].slice.call(arguments,1)})}}(i[c])}(window,"ppms",["tm","cm"]);
8  })(window, document, '${t||N}', '${e}');`}let M="undefined"!=typeof window&&window.IS_DEBUG||!1;function A(e,n){return window._paq||(window._paq=[]),(null==n?void 0:n.skipSettingPageData)||(window._paq.push([S.SET_CUSTOM_URL,window.location.href]),window._paq.push([S.SET_DOCUMENT_TITLE,document.title])),M&&console.log("Push",e),window._paq.push(e)}!function(e){e.TRACK_ECOMMERCE_CART_UPDATE="trackEcommerceCartUpdate",e.TRACK_ECOMMERCE_ORDER="trackEcommerceOrder",e.REMOVE_ECOMMERCE_ITEM="removeEcommerceItem",e.SET_ECOMMERCE_VIEW="setEcommerceView",e.CLEAR_ECOMMERCE_CART="clearEcommerceCart",e.ADD_ECOMMERCE_ITEM="addEcommerceItem"}(o||(o={})),function(e){e.ECOMMERCE_ADD_TO_CART="ecommerceAddToCart",e.ECOMMERCE_REMOVE_FROM_CART="ecommerceRemoveFromCart",e.ECOMMERCE_PRODUCT_DETAIL_VIEW="ecommerceProductDetailView",e.ECOMMERCE_CART_UPDATE="ecommerceCartUpdate",e.ECOMMERCE_ORDER="ecommerceOrder"}(i||(i={})),function(e){e.DISABLE_COOKIES="disableCookies",e.ENABLE_COOKIES="enableCookies",e.DELETE_COOKIES="deleteCookies",e.SET_COOKIE_NAME_PREFIX="setCookieNamePrefix",e.SET_COOKIE_DOMAIN="setCookieDomain",e.SET_COOKIE_PATH="setCookiePath",e.SET_SECURE_COOKIE="setSecureCookie",e.SET_VISITOR_COOKIE_TIMEOUT="setVisitorCookieTimeout",e.SET_SESSION_COOKIE_TIMEOUT="setSessionCookieTimeout",e.SET_VISITOR_ID_COOKIE="setVisitorIdCookie",e.SET_REFERRAL_COOKIE_TIMEOUT="setReferralCookieTimeout"}(r||(r={})),function(e){e.ALL_CONTENT_IMPRESSIONS="trackAllContentImpressions",e.VISIBLE_CONTENT_IMPRESSIONS="trackVisibleContentImpressions",e.CONTENT_IMPRESSIONS_WITH_NODE="trackContentImpressionsWithinNode",e.CONTENT_IMPRESSION="trackContentImpression",e.LOG_ALL_CONTENT_BLOCKS_ON_PAGE="logAllContentBlocksOnPage",e.CONTENT_INTERACTION_NODE="trackContentInteractionNode",e.CONTENT_INTERACTION="trackContentInteraction"}(E||(E={})),function(e){e.SET_CUSTOM_DIMENSION_VALUE="setCustomDimensionValue",e.DELETE_CUSTOM_DIMENSION="deleteCustomDimension",e.SET_CUSTOM_DIMENSION="setCustomDimension"}(a||(a={})),(c||(c={})).CUSTOM_EVENT="trackEvent",function(e){e.LINK="trackLink",e.ENABLE_LINK_TRACKING="enableLinkTracking",e.SET_IGNORE_CLASSES="setIgnoreClasses",e.SET_LINK_CLASSES="setLinkClasses",e.SET_DOWNLOAD_CLASSES="setDownloadClasses",e.SET_DOWNLOAD_EXTENSIONS="setDownloadExtensions",e.ADD_DOWNLOAD_EXTENSIONS="addDownloadExtensions",e.REMOVE_DOWNLOAD_EXTENSIONS="removeDownloadExtensions",e.SET_LINK_TRACKING_TIMER="setLinkTrackingTimer"}(_||(_={})),(s||(s={})).GOAL="trackGoal",(u||(u={})).PAGE_VIEW="trackPageView",(O||(O={})).SEARCH="trackSiteSearch",function(e){e.ENABLE_CROSS_DOMAIN_LINKING="enableCrossDomainLinking",e.DISABLE_CROSS_DOMAIN_LINKING="disableCrossDomainLinking",e.SET_CROSS_DOMAIN_LINKING_TIMEOUT="setCrossDomainLinkingTimeout",e.IS_CROSS_DOMAIN_LINKING_ENABLED="isCrossDomainLinkingEnabled",e.GET_CROSS_DOMAIN_LINKING_URL_PARAMETER="getCrossDomainLinkingUrlParameter",e.CUSTOM_CROSS_DOMAIN_LINK_DECORATOR="customCrossDomainLinkDecorator",e.CUSTOM_CROSS_DOMAIN_LINK_VISITOR_ID_GETTER="customCrossDomainLinkVisitorIdGetter"}(T||(T={})),function(e){e.SET_USER_ID="setUserId",e.RESET_USER_ID="resetUserId",e.SET_USER_IS_ANONYMOUS="setUserIsAnonymous",e.DEANONYMIZE_USER="deanonymizeUser"}(C||(C={})),function(e){e.SET_CUSTOM_URL="setCustomUrl",e.SET_DOCUMENT_TITLE="setDocumentTitle"}(S||(S={})),function(e){e.ENABLE_JS_ERROR_TRACKING="enableJSErrorTracking",e.TRACK_ERROR="trackError"}(m||(m={})),function(e){e.SET_DOMAINS="setDomains",e.GET_DOMAINS="getDomains"}(I||(I={})),function(e){e.ENABLE_HEARTBEAT_TIMER="enableHeartBeatTimer",e.DISABLE_HEARTBEAT_TIMER="disableHeartBeatTimer"}(f||(f={})),(l||(l={})).SET_TRACKING_SOURCE_PROVIDER="setTrackingSourceProvider";let L=Object.freeze(Object.defineProperty({__proto__:null,trackPageView:function(e){A([u.PAGE_VIEW,...e?[e]:[]])}},Symbol.toStringTag,{value:"Module"})),k=Object.freeze(Object.defineProperty({__proto__:null,trackEvent:function(e,n,t,o,i){A([c.CUSTOM_EVENT,e,n,t,o,i])}},Symbol.toStringTag,{value:"Module"})),p=Object.freeze(Object.defineProperty({__proto__:null,logAllContentBlocksOnPage:function(){A([E.LOG_ALL_CONTENT_BLOCKS_ON_PAGE])},trackAllContentImpressions:function(){A([E.ALL_CONTENT_IMPRESSIONS])},trackContentImpression:function(e,n,t){A([E.CONTENT_IMPRESSION,e,n,t])},trackContentImpressionsWithinNode:function(e){A([E.CONTENT_IMPRESSIONS_WITH_NODE,e])}
8,trackContentInteraction:function(e,n,t,o){A([E.CONTENT_INTERACTION,e,n,t,o])},trackContentInteractionNode:function(e,n="Unknown"){A([E.CONTENT_INTERACTION_NODE,e,n])},trackVisibleContentImpressions:function(e=!0,n=750){A([E.VISIBLE_CONTENT_IMPRESSIONS,e,n])}},Symbol.toStringTag,{value:"Module"})),P=Object.freeze(Object.defineProperty({__proto__:null,deleteCookies:function(){A([r.DELETE_COOKIES])},disableCookies:function(){A([r.DISABLE_COOKIES])},enableCookies:function(){A([r.ENABLE_COOKIES])},getConfigVisitorCookieTimeout:function(){return new Promise((e,n)=>{try{A([function(){e(this.getConfigVisitorCookieTimeout())}])}catch(e){e instanceof ReferenceError&&n(e)}})},getCookieDomain:function(){return new Promise((e,n)=>{try{A([function(){e(this.getCookieDomain())}])}catch(e){e instanceof ReferenceError&&n(e)}})},getCookiePath:function(){return new Promise((e,n)=>{try{A([function(){e(this.getCookiePath())}])}catch(e){e instanceof ReferenceError&&n(e)}})},getSessionCookieTimeout:function(){return new Promise((e,n)=>{try{A([function(){e(this.getSessionCookieTimeout())}])}catch(e){e instanceof ReferenceError&&n(e)}})},hasCookies:function(){return new Promise((e,n)=>{try{A([function(){e(this.hasCookies())}])}catch(e){e instanceof ReferenceError&&n(e)}})},setCookieDomain:function(e){A([r.SET_COOKIE_DOMAIN,e])},setCookieNamePrefix:function(e){A([r.SET_COOKIE_NAME_PREFIX,e])},setCookiePath:function(e){A([r.SET_COOKIE_PATH,e])},setReferralCookieTimeout:function(e){A([r.SET_REFERRAL_COOKIE_TIMEOUT,e])},setSecureCookie:function(e){A([r.SET_SECURE_COOKIE,e])},setSessionCookieTimeout:function(e){A([r.SET_SESSION_COOKIE_TIMEOUT,e])},setVisitorCookieTimeout:function(e){A([r.SET_VISITOR_COOKIE_TIMEOUT,e])},setVisitorIdCookie:function(){A([r.SET_VISITOR_ID_COOKIE])}},Symbol.toStringTag,{value:"Module"})),b=Object.freeze(Object.defineProperty({__proto__:null,deleteCustomDimension:function(e){A([a.DELETE_CUSTOM_DIMENSION,e])},getCustomDimensionValue:function(e){return new Promise((n,t)=>{try{A([function(){n(this.getCustomDimensionValue(e))}])}catch(e){e instanceof ReferenceError&&t(e)}})},setCustomDimensionValue:function(e,n){A([a.SET_CUSTOM_DIMENSION_VALUE,e,n])}},Symbol.toStringTag,{value:"Module"})),w=Object.freeze(Object.defineProperty({__proto__:null,addDownloadExtensions:function(e){A([_.ADD_DOWNLOAD_EXTENSIONS,e])},enableLinkTracking:function(e=!0){A([_.ENABLE_LINK_TRACKING,e])},getLinkTrackingTimer:function(){return new Promise((e,n)=>{try{A([function(){e(this.getLinkTrackingTimer())}])}catch(e){e instanceof ReferenceError&&n(e)}})},removeDownloadExtensions:function(e){A([_.REMOVE_DOWNLOAD_EXTENSIONS,e])},setDownloadClasses:function(e){A([_.SET_DOWNLOAD_CLASSES,e])},setDownloadExtensions:function(e){A([_.SET_DOWNLOAD_EXTENSIONS,e])},setIgnoreClasses:function(e){A([_.SET_IGNORE_CLASSES,e])},setLinkClasses:function(e){A([_.SET_LINK_CLASSES,e])},setLinkTrackingTimer:function(e){A([_.SET_LINK_TRACKING_TIMER,e])},trackLink:function(e,n,t,o){A([_.LINK,e,n,t,o])}},Symbol.toStringTag,{value:"Module"})),y=Object.freeze(Object.defineProperty({__proto__:null,addEcommerceItem:function(e,n,t,i,r){A([o.ADD_ECOMMERCE_ITEM,e,n,t,i,r])},clearEcommerceCart:function(){A([o.CLEAR_ECOMMERCE_CART])},ecommerceAddToCart:function(e,n){A([i.ECOMMERCE_ADD_TO_CART,e,n])},ecommerceCartUpdate:function(e,n,t){A([i.ECOMMERCE_CART_UPDATE,e,n,t])},ecommerceOrder:function(e,n,t){A([i.ECOMMERCE_ORDER,e,n,t])},ecommerceProductDetailView:function(e,n){A([i.ECOMMERCE_PRODUCT_DETAIL_VIEW,e,n])},ecommerceRemoveFromCart:function(e,n){A([i.ECOMMERCE_REMOVE_FROM_CART,e,n])},getEcommerceItems:function(){return new Promise((e,n)=>{try{A([function(){e(this.getEcommerceItems())}])}catch(e){e instanceof ReferenceError&&n(e)}})},removeEcommerceItem:function(e){A([o.REMOVE_ECOMMERCE_ITEM,e])},setEcommerceView:function(e,n,t,i){A([o.SET_ECOMMERCE_VIEW,e,n,t,i])},trackEcommerceCartUpdate:function(e){A([o.TRACK_ECOMMERCE_CART_UPDATE,e])},trackEcommerceOrder:function(e,n,t,i,r,E){A([o.TRACK_ECOMMERCE_ORDER,e,n,t,i,r,E])}},Symbol.toStringTag,{value:"Module"})),U=Object.freeze(Object.defineProperty({__proto__:null,trackGoal:function(e,n,t,o){A([s.GOAL,e,n,t?{...t}:void 0,o])}},Symbol.toStringTag,{value:"Module"})),h=Object.freeze(Object.defineProperty({__proto__:null,trackSiteSearch:function(e,n,t,o){A([O.SEARCH,e,n,t,o])}},Symbol.toStringTag,{value:"Module"})),K=Object.freeze(Object.defineProperty({__proto__:null,deanonymizeUser:function(){A([C.DEANONYMIZE_USER])}
8,getUserId:function(){return new Promise((e,n)=>{try{A([function(){e(this.getUserId())}])}catch(e){e instanceof ReferenceError&&n(e)}})},getVisitorId:function(){return new Promise((e,n)=>{try{A([function(){e(this.getVisitorId())}])}catch(e){e instanceof ReferenceError&&n(e)}})},getVisitorInfo:function(){return new Promise((e,n)=>{try{A([function(){e(this.getVisitorInfo())}])}catch(e){e instanceof ReferenceError&&n(e)}})},resetUserId:function(){A([C.RESET_USER_ID])},setUserId:function(e){A([C.SET_USER_ID,e])},setUserIsAnonymous:function(e){A([C.SET_USER_IS_ANONYMOUS,e])}},Symbol.toStringTag,{value:"Module"})),V=Object.freeze(Object.defineProperty({__proto__:null,enableJSErrorTracking:function(e=!0){A([m.ENABLE_JS_ERROR_TRACKING,e])},trackError:function(e){A([m.TRACK_ERROR,e])}},Symbol.toStringTag,{value:"Module"})),v=Object.freeze(Object.defineProperty({__proto__:null,customCrossDomainLinkDecorator:function(e){A([T.CUSTOM_CROSS_DOMAIN_LINK_DECORATOR,function(...n){return e(...n)}])},customCrossDomainLinkVisitorIdGetter:function(e){A([T.CUSTOM_CROSS_DOMAIN_LINK_VISITOR_ID_GETTER,function(...n){return e(...n)}])},disableCrossDomainLinking:function(){A([T.DISABLE_CROSS_DOMAIN_LINKING])},enableCrossDomainLinking:function(){A([T.ENABLE_CROSS_DOMAIN_LINKING])},getCrossDomainLinkingUrlParameter:function(){return new Promise((e,n)=>{try{A([function(){e(this.getCrossDomainLinkingUrlParameter())}])}catch(e){e instanceof ReferenceError&&n(e)}})},isCrossDomainLinkingEnabled:function(){return new Promise((e,n)=>{try{A([function(){e(this.isCrossDomainLinkingEnabled())}])}catch(e){e instanceof ReferenceError&&n(e)}})},setCrossDomainLinkingTimeout:function(e){A([T.SET_CROSS_DOMAIN_LINKING_TIMEOUT,e])}},Symbol.toStringTag,{value:"Module"})),G=Object.freeze(Object.defineProperty({__proto__:null,getDomains:function(){return new Promise((e,n)=>{try{A([function(){e(this.getDomains())}])}catch(e){e instanceof ReferenceError&&n(e)}})},setDomains:function(e){A([I.SET_DOMAINS,e])}},Symbol.toStringTag,{value:"Module"})),j=Object.freeze(Object.defineProperty({__proto__:null,disableHeartBeatTimer:function(){A([f.DISABLE_HEARTBEAT_TIMER])},enableHeartBeatTimer:function(e){A([f.ENABLE_HEARTBEAT_TIMER,e])}},Symbol.toStringTag,{value:"Module"})),B=Object.freeze(Object.defineProperty({__proto__:null,setTrackingSourceProvider:function(e,n){A([l.SET_TRACKING_SOURCE_PROVIDER,e,n],{skipSettingPageData:!0})}},Symbol.toStringTag,{value:"Module"})),z={initialize:(e,n,t)=>{if(!e)return void console.error("Empty tracking code for Piwik Pro.");if(!n)return void console.error("Empty tracking URL for Piwik Pro.");if("undefined"==typeof window)return void console.error("Was not possible to access window. Make sure this module is running in a browser");let o=function(e){return"string"==typeof e?{dataLayerName:N,nonce:e}:e||{dataLayerName:N}}(t);o.dataLayerName&&d(o.dataLayerName);let i=document.createElement("script");i.id="PiwikPROInitializer",i.async=!0,o.nonce&&(i.nonce=o.nonce),i.text=g({containerId:e,containerUrl:n,dataLayerName:o.dataLayerName,nonceValue:o.nonce}),document.getElementsByTagName("body")[0].prepend(i)},getInitScript:g},W={...z,initialize:(...e)=>{"undefined"!=typeof window&&B.setTrackingSourceProvider("react","2.5.0"),z.initialize(...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.