1import{D as L,a as b}from"../chunks/constants.D_BXGWL-.js";import{K as S,W as $,I as C,E as P,L as U}from"../chunks/ops.d2PL1QX9.js";import{d as A}from"../chunks/api.Crb8Z2Nq.js";import{d as M}from"../chunks/api.BwFft8nv.js";import{l as N,t as w}from"../chunks/index.DhEibdRK.js";import{Q as D,s as y,e as _,a as O,h as T,c as f,d,b as x,f as p,i as u,k as h,l as I,m as B,o as G,R}from"../chunks/entry.6r-bICvI.js";import{S as W,i as k,c as F,a as V,m as j,t as q,b as z,d as H}from"../chunks/index.BEUK0VS2.js";import{L as K}from"../chunks/Loader.DSgF85an.js";const Q=!1,J=!1;async function X({url:l}){var c;const t=l.searchParams.get("media_url");let a=`/${U}`;if(!t)return{redirectUrl:a};const o=S(t);let e=null;switch(o.module){case $.Document:e=await A(o.uuid);break;case $.CustomNews:e=await M(o.uuid);break}if(!e)return a=`${D}/${C}`,{redirectUrl:a};if(!e.disclaimer)return a=t.startsWith("/")?`${t}`:`/${t}`,{redirectUrl:a};let s=String(L.GENERAL);e.disclaimer in b&&(s=e.disclaimer);let i=t.startsWith("/")?`${t}`:`/${t}`;const n=((c=P)==null?void 0:c.toLowerCase())==="true"?"":N.get()+"/";return a=`${D}/${n}disclaimers/${s}${i}`,{redirectUrl:a}}const ce=Object.freeze(Object.defineProperty({__proto__:null,load:X,prerender:Q,ssr:J},Symbol.toStringTag,{value:"Module"}));function Y(l){let t,a,o,e,s,i,n,c;return document.title=t=l[0]("common.loading"),n=new K({props:{loader:!0,animation:!0}}),{c(){a=_("meta"),o=O(),e=_("div"),s=_("div"),i=_("div"),F(n.$$.fragment),this.h()},l(r){const m=T("svelte-38tdq3",document.head);a=f(m,"META",{name:!0,content:!0}),m.forEach(d),o=x(r),e=f(r,"DIV",{class:!0});var g=p(e);s=f(g,"DIV",{class:!0});var E=p(s);i=f(E,"DIV",{class:!0});var v=p(i);V(n.$$.fragment,v),v.forEach(d),E.forEach(d),g.forEach(d),this.h()},h(){u(a,"name","robots"),u(a,"content","index, follow"),u(i,"class","container"),u(s,"class","page__content"),u(e,"class","page")},m(r,m){h(document.head,a),I(r,o,m),I(r,e,m),h(e,s),h(s,i),j(n,i,null),c=!0},p(r,[m]){(!c||m&1)&&t!==(t=r[0]("common.loading"))&&(document.title=t)},i(r){c||(q(n.$$.fragment,r),c=!0)},o(r){z(n.$$.fragment,r),c=!1},d(r){r&&(d(o),d(e)),d(a),H(n)}}}function Z(l,t,a){let o;B(l,w,s=>a(0,o=s));let{data:e}=t;return G(async()=>{e.redirectUrl&&R(e.redirectUrl)}),l.$$set=s=>{"data"in s&&a(1,e=s.data)},[o,e]}class le extends W{constructor(t){super(),k(this,t,Z,Y,y,{data:1})}}export{le as component,ce as universal};
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.