import{t as e}from"./format-date-BrsjWtQR.mjs";import{n as t}from"./punycode-C53XddJy.mjs";const n=t=>!t.periodStart||!t.periodEnd?`-`:`${e(t.periodStart,{month:`short`,year:new Date(t.periodStart).getUTCFullYear()===new Date(t.periodEnd).getUTCFullYear()?void 0:`numeric`,timeZone:`utc`})}-${e(t.periodEnd,{month:`short`,timeZone:`utc`})}`;function r({domain:e,key:n,pretty:r,searchParams:i}){if(!e)return``;let a=`https://${t(e)}${n&&n!==`_root`?`/${t(n)}`:``}`;if(i){let e=new URLSearchParams;for(let[t,n]of Object.entries(i))e.set(t,n);a+=`?${e.toString()}`}return r?a.replace(/^https?:\/\//,``):a}function i({domain:e,key:t}){return`https://${e}${t===`_root`?``:`/${t}`}`}export{i as n,n as r,r as t};
//# sourceMappingURL=src-XRl8K33L.mjs.map