PageSourceSearch

https://www.autoscout24.es/assets/as24-header-footer/headers/html/autohebdo_net/fr-CA/header.b51bbd49.js

js autoscout24.es collected 2026-10-02 03:11:04 UTC 1,603 bytes, 13 lines download raw bytes

1var e=globalThis,r={},t={},o=e.parcelRequire94c2;null==o&&((o=function(e){if(e in r)return r[e].exports;if(e in t){var o=t[e];delete t[e];var a={id:e,exports:{}};return r[e]=a,o.call(a.exports,a,a.exports),a.exports}var i=Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}).register=function(e,r){t[e]=r},e.parcelRequire94c2=o),o.register;var a=o("e1xI5"),i=o("bccv6");const n="mergedWith",s=(e,r)=>{let t=document.querySelector("#header")?.dataset.marketplaceSlug||"";return fetch("/listing-search-api/graphql",{headers:{"Content-Type":"application/json",Authorization:"Basic YXMyNC1oZWFkZXItZm9vdGVyLXB1YmxpYzpoejFvNE1XSk52NDJlMDhaMjQ3Z0RHbGtxUDczR2s=",...t&&{"X-Marketplace":t}},method:"POST",body:JSON.stringify({query:`
2        mutation PerformFavoritesMerge($ownerId: ID!, $mergeFromId: ID!) {
3          favoritesMerge(
4            owner: { type: USER, id: $ownerId }
5            mergeFrom: { type: ANONYMOUS, id: $mergeFromId }
6          ) {
7            entries {
8              added
9              listingId
10            }
11          }
12        }
13      `,variables:{ownerId:e,mergeFromId:r},operationName:"PerformFavoritesMerge"})})};function d(){let e=localStorage.getItem(n)||"",{isLoggedIn:r}=(0,i.getLoginStatus)(),t=(0,a.default)(),o=t?.ctid;if(!r&&e){localStorage.removeItem(n);return}let d=document.cookie.split(";").map(e=>e.trim()).find(e=>e.startsWith("as24Visitor="))?.split("=")[1]||"";r&&d&&o&&(!e||e!==d)&&s(o,d).then(e=>{e&&200===e.status&&localStorage.setItem(n,d)}).catch(e=>{console.error("Favorites merge error:",e)})}window.addEventListener("popstate",d),d();

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.