1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78557,e=>{"use strict";let t,n;var l=e.i(52928);e.i(89171),e.i(59990);var r=/[a-z]/i,o={parens:({areaCode:e,exchange:t,line:n})=>`(${e}) ${t}-${n}`,dashes:({areaCode:e,exchange:t,line:n})=>`${e}-${t}-${n}`,dots:({areaCode:e,exchange:t,line:n})=>`${e}.${t}.${n}`};function s(e,t="parens"){let n=e.trim();if(!n)return e;let l=function(e){let t=e.trim();if(!t||r.test(t))return null;let n=t.replace(/\D/g,"");return(11===n.length&&n.startsWith("1")&&(n=n.slice(1)),10!==n.length||/^[01]/.test(n)||/^[01]/.test(n.slice(3)))?null:{areaCode:n.slice(0,3),exchange:n.slice(3,6),line:n.slice(6)}}(n);return l?(o[t]??o.parens)(l):e}var a={mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat",sun:"Sun"},i=["mon","tue","wed","thu","fri","sat","sun"],u={mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday",sun:"Sunday"};function c(e){return 8===e.length?e.slice(0,5):e}function d(e){return e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}var f=["sales","main","general"];function h(e){let t={real:e.phone};return e.isTracking&&e.trackingPhone&&(t.tracking=e.trackingPhone),null!=e.companyLocationId&&(t.locationId=e.companyLocationId),t}let p=l.default,m={default:{real:"+1-781-335-2746",tracking:"781-650-2321"}},g=function(e,t={}){let{keyMap:n,overrides:l}=t,r=e.phones??[];if(0===r.length&&!l)return;let o={};for(let e of r){let t=e.name?d(e.name):null,n=function(e){if(!e)return!0;let t=e.split("-");return f.some(e=>t.includes(e))}(t),l=e.companyLocationName?d(e.companyLocationName):null;if(null===l||"all-locations"===l){let l=n?"default":t;o[l]??(o[l]=h(e))}else{let r=n?l:`${l}.${t}`;o[r]??(o[r]=h(e))}}for(let[e,t]of Object.entries(n??{})){let n=o[t];if(!n)throw Error(`phonesFromWebsiteInfo: keyMap '${e}' points at '${t}', which the payload does not supply. Available keys: ${Object.keys(o).sort().join(", ")||"(none)"}.`);o[e]={...n}}for(let[e,t]of Object.entries(l??{}))o[e]={...o[e],...t};if(0===Object.keys(o).length)return;let s=Object.keys(o).filter(e=>!o[e].real?.trim());if(s.length>0)throw Error(`phonesFromWebsiteInfo: no \`real\` number for ${s.map(e=>`'${e}'`).join(", ")}. An override for a key the API does not supply must include \`real\`.`);if(!o.default){let e=Object.keys(o).find(e=>!e.includes("."))??Object.keys(o)[0];o.default=o[e]}return o}(p,{overrides:{default:{tracking:m.default.tracking}}})??m,y=g.default,$=e=>{let t=e.replace(/\D/g,"");return 11===t.length&&t.startsWith("1")?t.slice(1):t};$(y.real);let b=`+1-${s(y.real,"dashes")}`,O=s(y.tracking??y.real,"dashes"),A=$(y.tracking??y.real),k=[{days:["tue","wed","thu","fri"],isClosed:!1,opensAt:"08:30:00",closesAt:"17:00:00"},{days:["sat"],isClosed:!1,opensAt:"08:30:00",closesAt:"14:00:00"},{days:["sun","mon"],isClosed:!0,opensAt:null,closesAt:null}],j=p.departments.find(e=>e.hours.length>0)?.hours;function L(e){if(!e)return"";let[t,n="00"]=e.split(":"),l=Number(t);if(Number.isNaN(l))return"";let r=l>=12?"p":"a",o=l%12==0?12:l%12;return"00"===n?`${o}${r}`:`${o}:${n}${r}`}let C=(j&&j.length>0?j:k).map(e=>{let t=(function(e){let t=[...e].filter(e=>e in a).sort((e,t)=>i.indexOf(e)-i.indexOf(t));if(0===t.length)return"";let n=[],l=t[0],r=t[0],o=e=>{n.push(l===e?a[l]:`${a[l]}\u2013${a[e]}`)};for(let e=1;e<t.length;e++){let n=t[e];if(i.indexOf(n)===i.indexOf(r)+1){r=n;continue}o(r),l=n,r=n}return o(r),n.join(", ")})(e.days).replace(/â/g," â "),n=t.split(", ");n.length>1&&n.includes("Sun")&&n.unshift(...n.splice(n.indexOf("Sun"),1));let l=e.isClosed&&n.length>1?n.join(" & "):t;return e.isClosed?{days:l,hours:"Closed",closed:!0}:{days:l,hours:`${L(e.opensAt)} â ${L(e.closesAt)}`,closed:!1}
1}),W=C.filter(e=>!e.closed).map(e=>`${e.days.replace(/ â /g,"â")} ${e.hours.replace(/ â /g,"â")}`).join(" · ");(function(e){let t=[];for(let n of e)for(let e of n.hours)!e.isClosed&&e.opensAt&&e.closesAt&&0!==e.days.length&&t.push({"@type":"OpeningHoursSpecification",dayOfWeek:e.days.map(e=>u[e]).filter(Boolean),opens:c(e.opensAt),closes:c(e.closesAt),...n.name&&{name:n.name}});return t})((n=(t=function(e){let t={byLocation:{},companyWide:[]};if(!e)return t;let n=new Map(e.phones.map(e=>[e.id,e.companyLocationId])),l=e=>{var r;if(e.hours.length>0){let l={name:e.name,hours:e.hours},o=e.phone?n.get(e.phone.id)??null:null;null===o?t.companyWide.push(l):((r=t.byLocation)[o]??(r[o]=[])).push(l)}for(let t of e.children)l(t)};for(let t of e.departments)l(t);return t}(p)).companyWide.length>0?t.companyWide:Object.values(t.byLocation)[0]??[]).length>0?[n[0]]:[{id:0,name:null,hours:k}]).map(e=>{let{name:t,...n}=e;return n});let v=p.departments.filter(e=>e.staff.length>0);e.s(["PHONE_DISPLAY",0,O,"PHONE_REAL_E164",0,b,"PHONE_TEL",0,A,"dealerPhones",0,g,"hoursInline",0,W,"hoursRows",0,C,"staffedDepartments",0,v],78557)}]);
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.