PageSourceSearch

https://unia.ch/_assets/f47debafe7c72acba299e817b5fb3558/JavaScript/Bundles/bundle.e70d3d35bea499f3deca.js

js unia.ch collected 2026-10-02 08:01:33 UTC 1,278 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkunia21=self.webpackChunkunia21||[]).push([[2991],{2991:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});class o{constructor(){this.persistUtmFromUrl(),void 0!==window.cc&&"function"==typeof window.cc.allowedCategory&&window.cc.allowedCategory("analytics")&&(window.dataLayer=window.dataLayer??[],this.trackPaidPageView(),this.trackPageID())}trackPageID(){const t=document.querySelector("body").dataset.page;t&&dataLayer.push({event:"page-view-id",pageID:t})}persistUtmFromUrl(){const t=this.get("utm_source"),e=this.get("utm_medium"),a=this.get("utm_campaign");t&&localStorage.setItem("utmSource",t),e&&localStorage.setItem("utmMedium",e),a&&localStorage.setItem("utmCampaign",a),(t||e||a)&&localStorage.setItem("paidUser",!0)}trackPaidPageView(){const t=this.getStoredOrUrlUtm("utmSource","utm_source"),e=this.getStoredOrUrlUtm("utmMedium","utm_medium"),a=this.getStoredOrUrlUtm("utmCampaign","utm_campaign");(t||e||a)&&dataLayer.push({event:"page-view-paid",utmSource:t,utmMedium:e,utmCampaign:a})}getStoredOrUrlUtm(t,e){const a=localStorage.getItem(t);return a?decodeURIComponent(a):this.get(e)}get(t){let e=null,a=[];return window.location.search.substr(1).split("&").forEach(function(o){a=o.split("="),a[0]===t&&(e=decodeURIComponent(a[1]))}),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.