1import{i as e,t,v as n}from"./chunk-C4vDvPU8.js";var r={newsletterHome:{path:`/posts`},article:({article:e,short:t})=>({path:!t&&e.slugified_title?`/posts/${e.id}/${e.slugified_title}`:`/posts/${e.id}`}),subscription:e=>({path:`/`,...e?{query:{email:e}}:{}}),success:e=>({path:`/succes`,...e?{query:{email:e}}:{}}),confirmation:{path:`/confirmation`},recommendations:e=>({path:`/recommandations`,query:e})};function i(e,t){let n=new URLSearchParams(t).toString();return n?`${e}${e.includes(`?`)?`&`:`?`}${n}`:e}function a(){if(typeof window>`u`)return{};let e=new URLSearchParams(window.location.search),t=e.get(`source_type`);if(!t)return{};let n=e.get(`source_referral`);return{source_type:t,...n?{source_referral:n}:{}}}function o(e={}){let t=a();return t.source_type?t:e}function s(a){let o=typeof a.subdomain==`string`?a.subdomain:a.subdomain?.name;function s({url:{path:r,query:a={}},absoluteUrl:s=!1,subdomain:c,sourceOptions:l={}}){let u=c??o;return s?r=n({baseDomain:e(),subdomain:u,path:r}):u&&(r=t(u,r)),i(r,{...a,...l})}return{authorPagesPaths:r,linkBuilder:s}}export{s as i,a as n,o as r,r as t};
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.