1import{l as e}from"./9DwLB6AC.js";import{b as t}from"./Dja08CDL.js";import{n}from"./BzHl-u-4.js";import{t as r}from"./DgDiwoJe.js";import{a as i,n as a,r as o}from"./J2CL-UdC.js";import{t as s}from"./Beb72EdX.js";import{t as c}from"./CPK6N9LA.js";function l(e){let n=t(),{locale:r}=i(),a=n.path.split(`/`).filter(e=>e&&e!==`en`&&e!==`fr`);if(a.length===0)return{breadcrumbs:[]};let o=n.path.replace(/^\/(en|fr)/,``),s=``,c=[{path:`/`,label:e(`page.home`),current:a.length===0}];return a.forEach((t,n)=>{let i=n===a.length-1;i?s=o:s+=`/${t}`,c.push({path:s,label:u(t,e,r.value),current:i})}),{breadcrumbs:c}}function u(e,t,n){let r=(s[n]??s.en)[e.toUpperCase()];if(r)return r;let i=`breadcrumbs.${e}`,a=t(i);if(a!==i)return a;let o=e.replace(/-/g,` `);return o.charAt(0).toUpperCase()+o.slice(1)}function d(e){let{t}=i(),{breadcrumbs:a}=l(t);n(),r(),a.length}function f(){let e=t(),n=Array.isArray(e.params.slug)?`/${e.params.slug.join(`/`)}`:`/`;Object.values(o.CONTACT).includes(n)}function p(){let{belronWebsite:t}=e().public;r()}function m(e){e.length}function h(e){let t=e.trim().match(/^(\d{1,2}):(\d{2})(AM|PM)$/i);if(!t)return e;let n=Number.parseInt(t[1],10),r=t[2];return t[3].toUpperCase()===`AM`?n===12&&(n=0):n!==12&&(n+=12),`${String(n).padStart(2,`0`)}:${r}`}function g(t){if(!t)return;let i=r(),o=n(),{belronWebsite:s}=e().public;t.hoursOfOperationSimplified.filter(e=>e.startHour&&e.endHour).map(e=>({"@type":`OpeningHoursSpecification`,dayOfWeek:c[e.dayKey]??e.dayKey,opens:h(e.startHour),closes:h(e.endHour)})),`${i.url}${o({name:a.FIND_SERVICE_CENTRE_DETAIL,params:{serviceCentre:t.storePath.split(`/`)}})}`,`${i.url}`}export{f as a,p as i,m as n,l as o,g as r,d 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.