PageSourceSearch

https://sallinggroup.com/_nuxt/magnolia.CBIkwBqs.js

js sallinggroup.com collected 2026-10-01 12:04:48 UTC 1,425 bytes, 1 lines download raw bytes

1import{C as s}from"./entry.Ckf0ULWG.js";import{u as c}from"./useMagnoliaPreviewState.CES_DBBC.js";import{a as u,b as _}from"./ComponentTypes.DdxTSgLo.js";async function A(t){let n="";try{const e=s();return!e.public.NUXT_ENV_SALLING_API_CMS_URL||!e.public.NUXT_ENV_SALLING_API_CMS_BEARER_TOKEN?void 0:(n=`${e.public.NUXT_ENV_SALLING_API_CMS_URL}/pages/${t}`,await $fetch(n,{method:"GET",headers:{Authorization:`Bearer ${e.public.NUXT_ENV_SALLING_API_CMS_BEARER_TOKEN}`}}))}catch(e){e instanceof Error&&console.log({file:"utils/magnolia.ts",function:"getPageAsJson",url:n,title:"Error getting magnolia page",tags:["magnolia"]})}}function E(t){return l(t)}function l(t){const n=u[t["mgnl:template"]||""]||_;return new n(t)}async function f(t,n){const e=s();if(!e.public.NUXT_ENV_SALLING_API_CMS_BEARER_TOKEN)return;const o=`${e.public.NUXT_ENV_SALLING_API_CMS_URL}/preview/pages${t}`,a={method:"GET",headers:{Authorization:`Bearer ${n}`}},i=await fetch(o,a);return i.ok?await i.json():void 0}async function p(t,n){const o=`${s().public.NUXT_ENV_SALLING_API_CMS_URL}/template-definitions/${t}`,a={method:"GET",headers:{Authorization:`Bearer ${n}`}},i=await fetch(o,a);return i.ok?await i.json():void 0}async function L(t,n){const e=await f(t,n),o=e==null?void 0:e["mgnl:template"];if(!o)return{};const a=await p(o,n),{listOfPreviews:i}=c();i().value[e["@path"]]={page:e,templateDefinition:a}}export{f as a,L as f,A as g,E as p};

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.