import{S as Q,i as V,s as X,k as le,d as C,t as D,v as se,h as T,w as re,f as A,M as ne,G as ae,g as S,m as j,j as z,y as R,o as w,b as f,N as oe,p as b,O as ie,K as fe,z as P,e as _,A as W,F as U,C as Z}from"./index-df681c7c.js";import{g as $,a as x}from"./spread-8a54911c.js";import{w as ce,p as me,M as ue,T as de,S as _e}from"./collect-stories-a6a786e2.js";import{e as G}from"./each-e59479a4.js";import{B as pe}from"./Block-f95db830.js";import{g as O}from"./time-f9db70de.js";import{w as he}from"./withParams-47e2ab71.js";import"./_commonjsHelpers-de833af9.js";const ge=`The \`ReferralBlock\` component creates a set of referral links from recent dotcom stories using the [recent stories by section API](https://www.reuters.com/pf/api/v3/content/fetch/recent-stories-by-sections-v1?query=%7B%22section_ids%22%3A%22%2Fworld%2F%22%2C%22size%22%3A20%2C%22website%22%3A%22reuters%22%7D). > The \`section\` prop determines which section stories are from. > > You can get the section ID from the section page on dotcom. For example, the section ID for World - Europe stories at \`www.reuters.com/world/europe/\` would be \`/world/europe/\`. (The leading and trailing slashes are required!) \`\`\`svelte