1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="aa372e1d-5102-22b0-a592-7f6fca05babc")}catch(e){}}(); 2(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([typeof document === "object" ? document.currentScript : undefined, 3330079, ((__turbopack_context__) => { 4"use strict"; 5 6// MERGED MODULE: [project]/src/generated/location/reactQueries.tsx [app-client] (ecmascript) 7; 8var __TURBOPACK__imported__module__954616__ = __turbopack_context__.i(954616); 9var __TURBOPACK__imported__module__266027__ = __turbopack_context__.i(266027); 10var __TURBOPACK__imported__module__912598__ = __turbopack_context__.i(912598); 11var __TURBOPACK__imported__module__197643__ = __turbopack_context__.i(197643); 12// MERGED MODULE: [project]/src/generated/location/apiClient.ts [app-client] (ecmascript) 13; 14async function apiLocationList(axiosInstance, requestConfig) { 15 const response = await axiosInstance.request({ 16 url: "location/", 17 method: "GET", 18 ...requestConfig 19 }); 20 return response.data; 21} 22async function apiLocationReorder(axiosInstance, body, requestConfig) { 23 const response = await axiosInstance.request({ 24 url: "location/reorder", 25 method: "POST", 26 data: body, 27 ...requestConfig 28 }); 29 return response.data; 30} 31async function apiLocationSingle(axiosInstance, params, requestConfig) { 32 const response = await axiosInstance.request({ 33 url: "location/".concat(params.id), 34 method: "GET", 35 ...requestConfig 36 }); 37 return response.data; 38} 39; 40; 41; 42function useLocationList() { 43 let opts = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}; 44 var _ref; 45 const axiosInstance = (0, __TURBOPACK__imported__module__197643__["useApi"])(); 46 const options = (_ref = opts === null || opts === void 0 ? void 0 : opts.queryOptions) !== null && _ref !== void 0 ? _ref : {}; 47 return (0, __TURBOPACK__imported__module__266027__["useQuery"])({ 48 queryKey: useLocationList.queryKey(), 49 queryFn: (param)=>{ 50 let { signal } = param; 51 var _opts, _requestConfig; 52 (_requestConfig = (_opts = opts).requestConfig) !== null && _requestConfig !== void 0 ? _requestConfig : _opts.requestConfig = {}; 53 opts.requestConfig.signal = signal; 54 return apiLocationList(axiosInstance, opts === null || opts === void 0 ? void 0 : opts.requestConfig); 55 }, 56 ...options 57 }); 58} 59/** 60 * Base key used by useLocationList.queryKey() 61 */ useLocationList.baseKey = ()=>[ 62 "location", 63 "list" 64 ]; 65/** 66 * Query key used by useLocationList 67 */ useLocationList.queryKey = ()=>[ 68 ...useLocationList.baseKey() 69 ]; 70/** 71 * Fetch useLocationList via the queryClient and return the result 72 */ useLocationList.fetch = (queryClient, axiosInstance, opts)=>{ 73 return queryClient.fetchQuery({ 74 queryKey: useLocationList.queryKey(), 75 queryFn: ()=>{ 76 return apiLocationList(axiosInstance, opts === null || opts === void 0 ? void 0 : opts.requestConfig); 77 } 78 }); 79}; 80/** 81 * Prefetch useLocationList via the queryClient 82 */ useLocationList.prefetch = (queryClient, axiosInstance, opts)=>{ 83 return queryClient.prefetchQuery({ 84 queryKey: useLocationList.queryKey(), 85 queryFn: ()=>{ 86 return apiLocationList(axiosInstance, opts === null || opts === void 0 ? void 0 : opts.requestConfig); 87 } 88 }); 89}; 90/**
91 * Invalidate useLocationList via the queryClient 92 */ useLocationList.invalidate = (queryClient)=>queryClient.invalidateQueries({ 93 queryKey: useLocationList.queryKey() 94 }); 95/** 96 * Set query data for useLocationList via the queryClient 97 */ useLocationList.setQueryData = (queryClient, data)=>{ 98 return queryClient.setQueryData(useLocationList.queryKey(), data); 99}; 100function useLocationReorder() { 101 let options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, hookOptions = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; 102 const axiosInstance = (0, __TURBOPACK__imported__module__197643__["useApi"])(); 103 const queryClient = (0, __TURBOPACK__imported__module__912598__["useQueryClient"])(); 104 if (hookOptions.invalidateQueries) { 105 const originalOnSuccess = options.onSuccess; 106 options.onSuccess = async function(data, variables) { 107 for(var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++){ 108 args[_key - 2] = arguments[_key]; 109 } 110 queryClient.invalidateQueries({ 111 queryKey: [ 112 "location" 113 ] 114 }); 115 if (typeof originalOnSuccess === "function") { 116 return await originalOnSuccess(data, variables, ...args); 117 } 118 }; 119 } 120 return (0, __TURBOPACK__imported__module__954616__["useMutation"])({ 121 mutationFn: (variables)=>apiLocationReorder(axiosInstance, { 122 locationIds: variables["locationIds"] 123 }, variables === null || variables === void 0 ? void 0 : variables.requestConfig), 124 ...options 125 }); 126} 127function useLocationSingle(opts) { 128 var _ref; 129 const axiosInstance = (0, __TURBOPACK__imported__module__197643__["useApi"])(); 130 const options = (_ref = opts === null || opts === void 0 ? void 0 : opts.queryOptions) !== null && _ref !== void 0 ? _ref : {}; 131 options.enabled = options.enabled === true || options.enabled !== false && opts["id"] !== undefined && opts["id"] !== null; 132 return (0, __TURBOPACK__imported__module__266027__["useQuery"])({ 133 queryKey: useLocationSingle.queryKey(opts), 134 queryFn: (param)=>{ 135 let { signal } = param; 136 var _opts, _requestConfig; 137 if (opts["id"] === undefined || opts["id"] === null) { 138 throw new Error("Not all required variables where provided to 'useLocationSingle'. This happens when you manually set 'queryOptions.enabled' or when you use 'refetch'. Both skip the generated 'queryOptions.enabled'. Make sure that all necessary arguments are set."); 139 } 140 (_requestConfig = (_opts = opts).requestConfig) !== null && _requestConfig !== void 0 ? _requestConfig : _opts.requestConfig = {}; 141 opts.requestConfig.signal = signal; 142 return apiLocationSingle(axiosInstance, { 143 id: opts["id"] 144 }, opts === null || opts === void 0 ? void 0 : opts.requestConfig); 145 }, 146 ...options 147 }); 148} 149/** 150 * Base key used by useLocationSingle.queryKey() 151 */ useLocationSingle.baseKey = ()=>[ 152 "location", 153 "single" 154 ]; 155/** 156 * Query key used by useLocationSingle 157 */ useLocationSingle.queryKey = (opts)=>[ 158 ...useLocationSingle.baseKey(), 159 { 160 id: opts["id"] 161 } 162 ]; 163/** 164 * Fetch useLocationSingle via the queryClient and return the result 165 */ useLocationSingle.fetch = (queryClient, axiosInstance, opts)=>{ 166 return queryClient.fetchQuery({ 167 queryKey: useLocationSingle.queryKey(opts), 168 queryFn: ()=>{ 169 if (opts["id"] === undefined || opts["id"] === null) { 170 throw new Error("Not all required variables where provided to 'useLocationSingle.fetchQuery'. This happens when you manually set 'queryOptions.enabled' or when you use 'refetch'. Both skip the generated 'queryOptions.enabled'. Make sure that all necessary arguments are set."); 171 } 172 return apiLocationSingle(axiosInstance, { 173 id: opts["id"] 174 }, opts === null || opts === void 0 ? void 0 : opts.requestConfig); 175 } 176 }); 177}; 178/** 179 * Prefetch useLocationSingle via the queryClient 180 */ useLocationSingle.prefetch = (queryClient, axiosInstance, opts)=>{ 181 return queryClient.prefetchQuery({ 182 queryKey: useLocationSingle.queryKey(opts), 183 queryFn: ()=>{ 184 if (opts["id"] === undefined || opts["id"] === null) { 185 throw new Error("Not all required variables where provided to 'useLocationSingle.prefetchQuery'. This happens when you manually set 'queryOptions.enabled' or when you use 'refetch'. Both skip the generated 'queryOptions.enabled'. Make sure that all necessary arguments are set."); 186 } 187 return apiLocationSingle(axiosInstance, { 188 id: opts["id"] 189 }, opts === null || opts === void 0 ? void 0 : opts.requestConfig); 190 } 191 }); 192}; 193/**
194 * Invalidate useLocationSingle via the queryClient 195 */ useLocationSingle.invalidate = (queryClient, opts)=>queryClient.invalidateQueries({ 196 queryKey: useLocationSingle.queryKey(opts) 197 }); 198/** 199 * Set query data for useLocationSingle via the queryClient 200 */ useLocationSingle.setQueryData = (queryClient, opts, data)=>{ 201 if (opts["id"] === undefined || opts["id"] === null) { 202 throw new Error("Not all required variables where provided to 'useLocationSingle.setQueryData'. This happens when you manually set 'queryOptions.enabled' or when you use 'refetch'. Both skip the generated 'queryOptions.enabled'. Make sure that all necessary arguments are set."); 203 } 204 return queryClient.setQueryData(useLocationSingle.queryKey(opts), data); 205}; 206__turbopack_context__.s([ 207 "useLocationList", 208 0, 209 useLocationList, 210 "useLocationReorder", 211 0, 212 useLocationReorder, 213 "useLocationSingle", 214 0, 215 useLocationSingle 216], 330079); 217}), 21865367, ((__turbopack_context__) => { 219"use strict"; 220 221function localeToApiLocale(locale) { 222 switch(locale){ 223 case "nl": 224 return "nl_NL"; 225 case "en": 226 return "en_US"; 227 default: 228 return "nl_NL"; 229 } 230} 231__turbopack_context__.s([ 232 "default", 233 0, 234 localeToApiLocale 235]); 236}), 237501804, ((__turbopack_context__) => { 238"use strict"; 239 240var __TURBOPACK__imported__module__618566__ = __turbopack_context__.i(618566); 241var __TURBOPACK__imported__module__65367__ = __turbopack_context__.i(65367); 242"use client"; 243; 244; 245function useApiLocale() { 246 const params = (0, __TURBOPACK__imported__module__618566__["useParams"])(); 247 return (0, __TURBOPACK__imported__module__65367__["default"])(params === null || params === void 0 ? void 0 : params.locale); 248} 249__turbopack_context__.s([ 250 "default", 251 0, 252 useApiLocale 253]); 254}), 255974875, ((__turbopack_context__) => { 256"use strict"; 257 258var __TURBOPACK__imported__module__281092__ = __turbopack_context__.i(281092); 259; 260function isBefore(date, dateToCompare) { 261 return +(0, __TURBOPACK__imported__module__281092__["toDate"])(date) < +(0, __TURBOPACK__imported__module__281092__["toDate"])(dateToCompare); 262} 263const __TURBOPACK__default__export__ = isBefore; 264__turbopack_context__.s([ 265 "isBefore", 266 0, 267 isBefore 268]); 269}), 270550516, ((__turbopack_context__) => { 271"use strict"; 272 273var __TURBOPACK__imported__module__845110__ = __turbopack_context__.i(845110); 274var __TURBOPACK__imported__module__585890__ = __turbopack_context__.i(585890); 275; 276; 277function isSameDay(laterDate, earlierDate, options) { 278 const [dateLeft_, dateRight_] = (0, __TURBOPACK__imported__module__845110__["normalizeDates"])(options === null || options === void 0 ? void 0 : options.in, laterDate, earlierDate); 279 return +(0, __TURBOPACK__imported__module__585890__["startOfDay"])(dateLeft_) === +(0, __TURBOPACK__imported__module__585890__["startOfDay"])(dateRight_); 280} 281const __TURBOPACK__default__export__ = isSameDay; 282__turbopack_context__.s([ 283 "isSameDay", 284 0, 285 isSameDay 286]); 287}), 288112008, ((__turbopack_context__) => { 289"use strict"; 290 291var __TURBOPACK__imported__module__281092__ = __turbopack_context__.i(281092); 292; 293function getDay(date, options) { 294 return (0, __TURBOPACK__imported__module__281092__["toDate"])(date, options === null || options === void 0 ? void 0 : options.in).getDay(); 295} 296const __TURBOPACK__default__export__ = getDay; 297__turbopack_context__.s([ 298 "getDay", 299 0, 300 getDay 301]); 302}), 303690740, 250630, 304((__turbopack_context__) => { 305"use strict"; 306 307// MERGED MODULE: [project]/src/components/form/DateTimeInput/timeUtils.ts [app-client] (ecmascript) 308; 309var __TURBOPACK__imported__module__929387__ = __turbopack_context__.i(929387); 310var __TURBOPACK__imported__module__109881__ = __turbopack_context__.i(109881); 311// MERGED MODULE: [project]/node_modules/date-fns/addMinutes.js [app-client] (ecmascript) 312; 313var __TURBOPACK__imported__module__234662__ = __turbopack_context__.i(234662); 314var __TURBOPACK__imported__module__281092__ = __turbopack_context__.i(281092); 315; 316; 317function addMinutes(date, amount, options) { 318 const _date = (0, __TURBOPACK__imported__module__281092__["toDate"])(date, options === null || options === void 0 ? void 0 : options.in); 319 _date.setTime(_date.getTime() + amount * __TURBOPACK__imported__module__234662__["millisecondsInMinute"]); 320 return _date; 321} 322const __TURBOPACK__default__export__ = addMinutes; 323__turbopack_context__.s([ 324 "addMinutes", 325 0, 326 addMinutes 327], 250630); 328var __TURBOPACK__imported__module__401851__ = __turbopack_context__.i(401851);
329var __TURBOPACK__imported__module__368977__ = __turbopack_context__.i(368977); 330var __TURBOPACK__imported__module__385479__ = __turbopack_context__.i(385479); 331var __TURBOPACK__imported__module__685149__ = __turbopack_context__.i(685149); 332; 333; 334; 335function applyTimeOffset(ranges, offsetMinutes) { 336 return ranges.map((range, index)=>({ 337 ...range, 338 // We only want to shorten the last block of time 339 to: index === ranges.length - 1 ? addMinutes(range.to, -offsetMinutes) : range.to 340 })).filter((range)=>range.to.getTime() > range.from.getTime()); 341} 342function parseTimeString(timeString, referenceDate) { 343 // Parse local time string against the reference date in the configured timezone. 344 const parsed = (0, __TURBOPACK__imported__module__385479__["parse"])(timeString, "HH:mm", referenceDate, { 345 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 346 }); 347 if (!(0, __TURBOPACK__imported__module__368977__["isValid"])(parsed)) { 348 throw new Error('Invalid time format: "'.concat(timeString, '". Expected format is "HH:mm".')); 349 } 350 return parsed; 351} 352function asTimeString(date) { 353 return (0, __TURBOPACK__imported__module__401851__["format"])(date, "HH:mm", { 354 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 355 }); 356} 357__turbopack_context__.s([ 358 "applyTimeOffset", 359 0, 360 applyTimeOffset, 361 "asTimeString", 362 0, 363 asTimeString, 364 "parseTimeString", 365 0, 366 parseTimeString 367], 690740); 368}), 369354805, ((__turbopack_context__) => { 370"use strict"; 371 372var __TURBOPACK__imported__module__929387__ = __turbopack_context__.i(929387); 373var __TURBOPACK__imported__module__109881__ = __turbopack_context__.i(109881); 374var __TURBOPACK__imported__module__974875__ = __turbopack_context__.i(974875); 375var __TURBOPACK__imported__module__826514__ = __turbopack_context__.i(826514); 376var __TURBOPACK__imported__module__685149__ = __turbopack_context__.i(685149); 377; 378; 379; 380const AMERSFOORT_LOCATION_ID = 12; 381function isLocationRequestUrl(url) { 382 return /^\/?location\/\d*$/.test((url !== null && url !== void 0 ? url : "").split("?")[0]); 383} 384const OPENING_HOURS_CHANGE_DATE = (0, __TURBOPACK__imported__module__826514__["parseISO"])("2026-08-01", { 385 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 386}); 387const WEEKEND_HOURS_BEFORE_CHANGE = { 388 Saturday: [ 389 { 390 from: "08:00", 391 to: "10:00" 392 }, 393 { 394 from: "16:00", 395 to: "18:00" 396 } 397 ], 398 Sunday: [ 399 { 400 from: "09:00", 401 to: "10:00" 402 } 403 ] 404}; 405const WEEKEND_HOURS_FROM_CHANGE = { 406 Saturday: [ 407 { 408 from: "08:00", 409 to: "12:00" 410 } 411 ], 412 Sunday: [ 413 { 414 from: "09:00", 415 to: "12:00" 416 } 417 ] 418}; 419function getAmersfoortWeekendOpeningHours(date) { 420 return (0, __TURBOPACK__imported__module__974875__["isBefore"])(date, OPENING_HOURS_CHANGE_DATE) ? WEEKEND_HOURS_BEFORE_CHANGE : WEEKEND_HOURS_FROM_CHANGE; 421} 422function tagAmersfoortLocation(location) { 423 if (location.id !== AMERSFOORT_LOCATION_ID) { 424 return location; 425 } 426 return { 427 ...location, 428 __amersfoortOpeningTimeOverride: true 429 }; 430} 431function applyAmersfoortOpeningHoursToLocationResponse(data, param) { 432 let { enabled } = param; 433 if (!enabled) { 434 return; 435 } 436 if (typeof data !== "object" || data === null) { 437 return; 438 } 439 const response = data; 440 if (Array.isArray(response.locations)) { 441 response.locations = response.locations.map((location)=>tagAmersfoortLocation(location)); 442 } else if (response.location) { 443 response.location = tagAmersfoortLocation(response.location); 444 } 445} 446__turbopack_context__.s([ 447 "AMERSFOORT_LOCATION_ID", 448 0, 449 AMERSFOORT_LOCATION_ID, 450 "applyAmersfoortOpeningHoursToLocationResponse", 451 0, 452 applyAmersfoortOpeningHoursToLocationResponse, 453 "getAmersfoortWeekendOpeningHours", 454 0, 455 getAmersfoortWeekendOpeningHours, 456 "isLocationRequestUrl", 457 0, 458 isLocationRequestUrl 459]); 460}), 461838122, ((__turbopack_context__) => { 462"use strict"; 463 464var __TURBOPACK__imported__module__595727__ = __turbopack_context__.i(595727); 465var __TURBOPACK__imported__module__112008__ = __turbopack_context__.i(112008); 466; 467; 468function nextDay(date, day, options) { 469 let delta = day - (0, __TURBOPACK__imported__module__112008__["getDay"])(date, options); 470 if (delta <= 0) delta += 7; 471 return (0, __TURBOPACK__imported__module__595727__["addDays"])(date, delta, options); 472} 473const __TURBOPACK__default__export__ = nextDay; 474__turbopack_context__.s([ 475 "nextDay", 476 0, 477 nextDay 478]); 479}), 480341184, ((__turbopack_context__) => { 481"use strict"; 482 483var __TURBOPACK__imported__module__929387__ = __turbopack_context__.i(929387); 484var __TURBOPACK__imported__module__109881__ = __turbopack_context__.i(109881); 485var __TURBOPACK__imported__module__988052__ = __turbopack_context__.i(988052); 486var __TURBOPACK__imported__module__595727__ = __turbopack_context__.i(595727); 487var __TURBOPACK__imported__module__381515__ = __turbopack_context__.i(381515); 488var __TURBOPACK__imported__module__401851__ = __turbopack_context__.i(401851); 489var __TURBOPACK__imported__module__550516__ = __turbopack_context__.i(550516); 490var __TURBOPACK__imported__module__826514__ = __turbopack_context__.i(826514); 491var __TURBOPACK__imported__module__585890__ = __turbopack_context__.i(585890); 492var __TURBOPACK__imported__module__690740__ = __turbopack_context__.i(690740); 493var __TURBOPACK__imported__module__354805__ = __turbopack_context__.i(354805); 494var __TURBOPACK__imported__module__685149__ = __turbopack_context__.i(685149); 495; 496; 497; 498; 499; 500function getDivergentOpeningHoursForDate(param) { 501 let { date, location } = param; 502 return location === null || location === void 0 ? void 0 : location.divergentOpeningHours.find((openingHours)=>(0, __TURBOPACK__imported__module__550516__["isSameDay"])((0, __TURBOPACK__imported__module__826514__["parseISO"])(openingHours.date, { 503 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 504 }), date, { 505 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 506 })); 507} 508function getRegularOpeningHoursForDate(param) { 509 let { date, location } = param; 510 const day = (0, __TURBOPACK__imported__module__401851__["format"])(date, "EEEE", { 511 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 512 }); 513 if ((location === null || location === void 0 ? void 0 : location.__amersfoortOpeningTimeOverride) && location.id === __TURBOPACK__imported__module__354805__["AMERSFOORT_LOCATION_ID"]) { 514 const overrideBlock = (0, __TURBOPACK__imported__module__354805__["getAmersfoortWeekendOpeningHours"])(date)[day]; 515 if (overrideBlock) { 516 return overrideBlock; 517 } 518 } 519 const block = location === null || location === void 0 ? void 0 : location.openingHours[day]; 520 return block !== null && block !== void 0 ? block : []; 521} 522function getOpeningHoursForDate(param) { 523 let { date, location } = param; 524 const divergentOpeningHours = getDivergentOpeningHoursForDate({ 525 date, 526 location 527 }); 528 if (divergentOpeningHours) { 529 if (divergentOpeningHours.isClosedForTheWholeDay) { 530 return []; 531 } 532 return [ 533 { 534 from: divergentOpeningHours.from, 535 to: divergentOpeningHours.to 536 } 537 ]; 538 } 539 return getRegularOpeningHoursForDate({ 540 date, 541 location 542 }); 543} 544function getOpeningStatus(location) { 545 let now = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : __TURBOPACK__imported__module__988052__["TZDate"].tz(__TURBOPACK__imported__module__685149__["TIMEZONE"]); 546 const todayTimezone = new __TURBOPACK__imported__module__988052__["TZDate"](now, __TURBOPACK__imported__module__685149__["TIMEZONE"]); 547 const today = (0, __TURBOPACK__imported__module__585890__["startOfDay"])(todayTimezone, { 548 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 549 }); 550 // Search past the last upcoming divergent date, while always covering at least 551 // the next week so regular opening hours can still produce the next open slot 552 const searchDays = location.divergentOpeningHours.reduce((maxSearchDays, openingHours)=>{ 553 const date = (0, __TURBOPACK__imported__module__826514__["parseISO"])(openingHours.date, { 554 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 555 }); 556 const daysUntilDate = (0, __TURBOPACK__imported__module__381515__["differenceInCalendarDays"])(date, today, { 557 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 558 }); 559 if (daysUntilDate < 0) { 560 return maxSearchDays; 561 } 562 return Math.max(maxSearchDays, daysUntilDate + 7); 563 }, 7); 564 const toMinutes = (time)=>{ 565 const parsedTime = (0, __TURBOPACK__imported__module__690740__["parseTimeString"])(time, todayTimezone); 566 return parsedTime.getHours() * 60 + parsedTime.getMinutes(); 567 }; 568 const toDateTime = (date, time)=>(0, __TURBOPACK__imported__module__690740__["parseTimeString"])(time, date); 569 const openingHoursToday = getOpeningHoursForDate({ 570 date: todayTimezone, 571 location 572 }); 573 const currentTime = todayTimezone.getHours() * 60 + todayTimezone.getMinutes(); 574 for (const openingHours of openingHoursToday){ 575 if (currentTime >= toMinutes(openingHours.from) && currentTime < toMinutes(openingHours.to)) { 576 return { 577 isOpen: true, 578 closesAt: toDateTime(todayTimezone, openingHours.to) 579 }; 580 } 581 } 582 const nextOpeningHoursToday = openingHoursToday.find((openingHours)=>currentTime < toMinutes(openingHours.from)); 583 if (nextOpeningHoursToday) { 584 return { 585 isOpen: false, 586 opensAt: toDateTime(todayTimezone, nextOpeningHoursToday.from) 587 }; 588 } 589 for(let dayOffset = 1; dayOffset <= searchDays; dayOffset++){ 590 const date = new __TURBOPACK__imported__module__988052__["TZDate"]((0, __TURBOPACK__imported__module__595727__["addDays"])(today, dayOffset, { 591 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 592 }), __TURBOPACK__imported__module__685149__["TIMEZONE"]); 593 const openingHours = getOpeningHoursForDate({ 594 date, 595 location 596 }); 597 const nextOpeningHours = openingHours[0]; 598 if (nextOpeningHours) { 599 return { 600 isOpen: false, 601 opensAt: toDateTime(date, nextOpeningHours.from) 602 }; 603 } 604 } 605 return { 606 isOpen: false 607 }; 608} 609__turbopack_context__.s([ 610 "getOpeningHoursForDate", 611 0, 612 getOpeningHoursForDate, 613 "getOpeningStatus", 614 0, 615 getOpeningStatus, 616 "getRegularOpeningHoursForDate", 617 0, 618 getRegularOpeningHoursForDate 619]); 620}), 621970554, ((__turbopack_context__) => { 622"use strict"; 623 624// MERGED MODULE: [project]/node_modules/@headlessui/react/dist/components/tabs/tabs.js [app-client] (ecmascript) 625; 626var __TURBOPACK__imported__module__429427__ = __turbopack_context__.i(429427); 627var __TURBOPACK__imported__module__371330__ = __turbopack_context__.i(371330); 628var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645); 629var __TURBOPACK__imported__module__394487__ = __turbopack_context__.i(394487); 630var __TURBOPACK__imported__module__914189__ = __turbopack_context__.i(914189); 631var __TURBOPACK__imported__module__835696__ = __turbopack_context__.i(835696); 632var __TURBOPACK__imported__module__941444__ = __turbopack_context__.i(941444); 633var __TURBOPACK__imported__module__144279__ = __turbopack_context__.i(144279); 634var __TURBOPACK__imported__module__255743__ = __turbopack_context__.i(255743); 635var __TURBOPACK__imported__module__294316__ = __turbopack_context__.i(294316); 636// MERGED MODULE: [project]/node_modules/@headlessui/react/dist/internal/focus-sentinel.js [app-client] (ecmascript) 637; 638var __TURBOPACK__imported__module__271645__1 = __TURBOPACK__imported__module__271645__; 639var __TURBOPACK__imported__module__553521__ = __turbopack_context__.i(553521); 640var __TURBOPACK__imported__module__2788__ = __turbopack_context__.i(2788); 641; 642; 643; 644function b(param) { 645 let { onFocus: n } = param; 646 let [r, o] = (0, __TURBOPACK__imported__module__271645__1["useState"])(!0), u = (0, __TURBOPACK__imported__module__553521__["useIsMounted"])(); 647 return r ? /*#__PURE__*/ __TURBOPACK__imported__module__271645__1["default"].createElement(__TURBOPACK__imported__module__2788__["Hidden"], { 648 as: "button", 649 type: "button", 650 features: __TURBOPACK__imported__module__2788__["HiddenFeatures"].Focusable, 651 onFocus: (a)=>{ 652 a.preventDefault(); 653 let e, i = 50; 654 function t() { 655 if (i-- <= 0) { 656 e && cancelAnimationFrame(e); 657 return; 658 } 659 if (n()) { 660 if (cancelAnimationFrame(e), !u.current) return; 661 o(!1); 662 return; 663 } 664 e = requestAnimationFrame(t); 665 } 666 e = requestAnimationFrame(t); 667 } 668 }) : null; 669} 670; 671var __TURBOPACK__imported__module__2788__1 = __TURBOPACK__imported__module__2788__; 672var __TURBOPACK__imported__module__652265__ = __turbopack_context__.i(652265); 673var __TURBOPACK__imported__module__397701__ = __turbopack_context__.i(397701); 674var __TURBOPACK__imported__module__368578__ = __turbopack_context__.i(368578); 675var __TURBOPACK__imported__module__402155__ = __turbopack_context__.i(402155); 676var __TURBOPACK__imported__module__700020__ = __turbopack_context__.i(700020); 677// MERGED MODULE: [project]/node_modules/@headlessui/react/dist/utils/stable-collection.js [app-client] (ecmascript) 678; 679var __TURBOPACK__imported__module__271645__2 = __TURBOPACK__imported__module__271645__; 680; 681const s = /*#__PURE__*/ __TURBOPACK__imported__module__271645__2["createContext"](null); 682function a() { 683 return { 684 groups: new Map, 685 get (o, e) { 686 var i; 687 let t = this.groups.get(o); 688 t || (t = new Map, this.groups.set(o, t)); 689 let n = (i = t.get(e)) != null ? i : 0; 690 t.set(e, n + 1); 691 let r = Array.from(t.keys()).indexOf(e); 692 function u() { 693 let c = t.get(e); 694 c > 1 ? t.set(e, c - 1) : t.delete(e); 695 } 696 return [ 697 r, 698 u 699 ]; 700 } 701 }; 702} 703function f(param) { 704 let { children: o } = param; 705 let e = __TURBOPACK__imported__module__271645__2["useRef"](a()); 706 return /*#__PURE__*/ __TURBOPACK__imported__module__271645__2["createElement"](s.Provider, { 707 value: e 708 }, o); 709} 710function C(o) { 711 let e = __TURBOPACK__imported__module__271645__2["useContext"](s); 712 if (!e) throw new Error("You must wrap your component in a <StableCollection>"); 713 let t = __TURBOPACK__imported__module__271645__2["useId"](), [n, r] = e.current.get(o, t); 714 return __TURBOPACK__imported__module__271645__2["useEffect"](()=>r, []), n; 715} 716; 717var __TURBOPACK__imported__module__998348__ = __turbopack_context__.i(998348); 718"use client"; 719; 720; 721; 722; 723; 724; 725; 726; 727; 728; 729; 730; 731; 732; 733; 734; 735; 736; 737; 738; 739var Le = ((t)=>(t[t.Forwards = 0] = "Forwards", t[t.Backwards = 1] = "Backwards", t))(Le || {}), _e = ((l)=>(l[l.Less = -1] = "Less", l[l.Equal = 0] = "Equal", l[l.Greater = 1] = "Greater", l))(_e || {}), Se = ((n)=>(n[n.SetSelectedIndex = 0] = "SetSelectedIndex", n[n.RegisterTab = 1] = "RegisterTab", n[n.UnregisterTab = 2] = "UnregisterTab", n[n.RegisterPanel = 3] = "RegisterPanel", n[n.UnregisterPanel = 4] = "UnregisterPanel", n))(Se || {}); 740let De = { 741 [0] (e, r) { 742 var d; 743 let t = (0, __TURBOPACK__imported_
743_module__652265__["sortByDomNode"])(e.tabs, (u)=>u.current), l = (0, __TURBOPACK__imported__module__652265__["sortByDomNode"])(e.panels, (u)=>u.current), a = t.filter((u)=>{ 744 var T; 745 return !((T = u.current) != null && T.hasAttribute("disabled")); 746 }), n = { 747 ...e, 748 tabs: t, 749 panels: l 750 }; 751 if (r.index < 0 || r.index > t.length - 1) { 752 let u = (0, __TURBOPACK__imported__module__397701__["match"])(Math.sign(r.index - e.selectedIndex), { 753 [-1]: ()=>1, 754 [0]: ()=>(0, __TURBOPACK__imported__module__397701__["match"])(Math.sign(r.index), { 755 [-1]: ()=>0, 756 [0]: ()=>0, 757 [1]: ()=>1 758 }), 759 [1]: ()=>0 760 }); 761 if (a.length === 0) return n; 762 let T = (0, __TURBOPACK__imported__module__397701__["match"])(u, { 763 [0]: ()=>t.indexOf(a[0]), 764 [1]: ()=>t.indexOf(a[a.length - 1]) 765 }); 766 return { 767 ...n, 768 selectedIndex: T === -1 ? e.selectedIndex : T 769 }; 770 } 771 let s = t.slice(0, r.index), f = [ 772 ...t.slice(r.index), 773 ...s 774 ].find((u)=>a.includes(u)); 775 if (!f) return n; 776 let b = (d = t.indexOf(f)) != null ? d : e.selectedIndex; 777 return b === -1 && (b = e.selectedIndex), { 778 ...n, 779 selectedIndex: b 780 }; 781 }, 782 [1] (e, r) { 783 if (e.tabs.includes(r.tab)) return e; 784 let t = e.tabs[e.selectedIndex], l = (0, __TURBOPACK__imported__module__652265__["sortByDomNode"])([ 785 ...e.tabs, 786 r.tab 787 ], (n)=>n.current), a = e.selectedIndex; 788 return e.info.current.isControlled || (a = l.indexOf(t), a === -1 && (a = e.selectedIndex)), { 789 ...e, 790 tabs: l, 791 selectedIndex: a 792 }; 793 }, 794 [2] (e, r) { 795 return { 796 ...e, 797 tabs: e.tabs.filter((t)=>t !== r.tab) 798 }; 799 }, 800 [3] (e, r) { 801 return e.panels.includes(r.panel) ? e : { 802 ...e, 803 panels: (0, __TURBOPACK__imported__module__652265__["sortByDomNode"])([ 804 ...e.panels, 805 r.panel 806 ], (t)=>t.current) 807 }; 808 }, 809 [4] (e, r) { 810 return { 811 ...e, 812 panels: e.panels.filter((t)=>t !== r.panel) 813 }; 814 } 815}, z = /*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["createContext"])(null); 816z.displayName = "TabsDataContext"; 817function h(e) { 818 let r = (0, __TURBOPACK__imported__module__271645__["useContext"])(z); 819 if (r === null) { 820 let t = new Error("<".concat(e, " /> is missing a parent <Tab.Group /> component.")); 821 throw Error.captureStackTrace && Error.captureStackTrace(t, h), t; 822 } 823 return r; 824} 825let V = /*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["createContext"])(null); 826V.displayName = "TabsActionsContext"; 827function Q(e) { 828 let r = (0, __TURBOPACK__imported__module__271645__["useContext"])(V); 829 if (r === null) { 830 let t = new Error("<".concat(e, " /> is missing a parent <Tab.Group /> component.")); 831 throw Error.captureStackTrace && Error.captureStackTrace(t, Q), t; 832 } 833 return r; 834} 835function Fe(e, r) { 836 return (0, __TURBOPACK__imported__module__397701__["match"])(r.type, De, e, r); 837} 838let Ie = "div"; 839function he(e, r) { 840 let { defaultIndex: t = 0, vertical: l = !1, manual: a = !1, onChange: n, selectedIndex: s = null, ...g } = e; 841 const f1 = l ? "vertical" : "horizontal", b1 = a ? "manual" : "auto"; 842 let d = s !== null, u = (0, __TURBOPACK__imported__module__941444__["useLatestValue"])({ 843 isControlled: d 844 }), T = (0, __TURBOPACK__imported__module__294316__["useSyncRefs"])(r), [p, c] = (0, __TURBOPACK__imported__module__271645__["useReducer"])(Fe, { 845 info: u, 846 selectedIndex: s != null ? s : t, 847 tabs: [], 848 panels: [] 849 }), v = (0, __TURBOPACK__imported__module__255743__["useSlot"])({ 850 selectedIndex: p.selectedIndex 851 }), m = (0, __TURBOPACK__imported__module__941444__["useLatestValue"])(n || (()=>{})), C = (0, __TURBOPACK__imported__module__941444__["useLatestValue"])(p.tabs), D = (0, __TURBOPACK__imported__module__271645__["useMemo"])(()=>({ 852 orientation: f1, 853 activation: b1, 854 ...p 855 }), [ 856 f1, 857 b1, 858 p 859 ]), P = (0, __TURBOPACK__imported__module__914189__["useEvent"])((i)=>(c({ 860 type: 1, 861 tab: i 862 }), ()=>c({ 863 type: 2, 864 tab: i 865 }))), R = (0, __TURBOPACK__imported__module__914189__["useEvent"])((i)=>(c({ 866 type: 3, 867 panel: i 868 }), ()=>c({ 869 type: 4, 870 panel: i 871 }))), A = (0, __TURBOPACK__imported__module__914189__["useEvent"])((i)=>{ 872 L.current !== i && m.current(i), d || c({ 873 type: 0, 874 index: i 875 }); 876 }), L = (0, __TURBOPACK__imported__module__941444__["useLatestValue"])(d ? e.selectedIndex : p.selectedIndex), _ = (0, __TURBOPACK__imported__module__271645__["useMemo"])(()=>({ 877 registerTab: P, 878 registerPanel: R, 879 change: A 880 }), []); 881 (0, __TURBOPACK__imported__module__835696__["useIsoMorphicEffect"])(()=>{ 882 c({ 883 type: 0, 884 index: s != null ? s : t 885 }); 886 }, [ 887 s 888 ]), (0, __TURBOPACK__imported__module__835696__["useIsoMorphicEffect"])(()=>{ 889 if (L.current === void 0 || p.tabs.length <= 0) return; 890 let i = (0, __TURBOPACK__imported__module__652265__["sortByDomNode"])(p.tabs, (S)=>S.current); 891 i.some((S, $)=>p.tabs[$] !== S) && A(i.indexOf(p.tabs[L.current])); 892 }); 893 let J = { 894 ref: T 895 }, X = (0, __TURBOPACK__imported__module__700020__["useRender"])(); 896 return /*#__PURE__*/ __TURBOPACK__imported__module__271645__["default"].createElement(f, null, /*#__PURE__*/ __TURBOPACK__imported__module__271645__["default"].createElement(V.Provider, { 897 value: _ 898 }, /*#__PURE__*/ __TURBOPACK__imported__module__271645__["default"].createElement(z.Provider, { 899 value: D 900 }, D.tabs.length <= 0 && /*#__PURE__*/ __TURBOPACK__imported__module__271645__["default"].createElement(b, { 901 onFocus: ()=>{ 902 var i, M; 903 for (let S of C.current)if (((i = S.current) == null ? void 0 : i.tabIndex) === 0) return (M = S.current) == null || M.focus(), !0; 904 return !1; 905 } 906 }), X({ 907 ourProps: J, 908 theirProps: g, 909 slot: v, 910 defaultTag: Ie, 911 name: "Tabs" 912 }
912)))); 913} 914let ve = "div"; 915function Ce(e, r) { 916 let { orientation: t, selectedIndex: l } = h("Tab.List"), a = (0, __TURBOPACK__imported__module__294316__["useSyncRefs"])(r), n = (0, __TURBOPACK__imported__module__255743__["useSlot"])({ 917 selectedIndex: l 918 }), s = e, g = { 919 ref: a, 920 role: "tablist", 921 "aria-orientation": t 922 }; 923 return (0, __TURBOPACK__imported__module__700020__["useRender"])()({ 924 ourProps: g, 925 theirProps: s, 926 slot: n, 927 defaultTag: ve, 928 name: "Tabs.List" 929 }); 930} 931let Me = "button"; 932function Ge(e, r) { 933 var Y, Z; 934 let t = (0, __TURBOPACK__imported__module__271645__["useId"])(), { id: l = "headlessui-tabs-tab-".concat(t), disabled: a = !1, autoFocus: n = !1, ...s } = e, { orientation: g, activation: f, selectedIndex: b, tabs: d, panels: u } = h("Tab"), T = Q("Tab"), p = h("Tab"), [c, v] = (0, __TURBOPACK__imported__module__271645__["useState"])(null), m = (0, __TURBOPACK__imported__module__271645__["useRef"])(null), C1 = (0, __TURBOPACK__imported__module__294316__["useSyncRefs"])(m, r, v); 935 (0, __TURBOPACK__imported__module__835696__["useIsoMorphicEffect"])(()=>T.registerTab(m), [ 936 T, 937 m 938 ]); 939 let D = C("tabs"), P = d.indexOf(m); 940 P === -1 && (P = D); 941 let R = P === b, A = (0, __TURBOPACK__imported__module__914189__["useEvent"])((o)=>{ 942 let E = o(); 943 if (E === __TURBOPACK__imported__module__652265__["FocusResult"].Success && f === "auto") { 944 let ee = (0, __TURBOPACK__imported__module__402155__["getActiveElement"])(m.current), B = p.tabs.findIndex((ce)=>ce.current === ee); 945 B !== -1 && T.change(B); 946 } 947 return E; 948 }), L = (0, __TURBOPACK__imported__module__914189__["useEvent"])((o)=>{ 949 let E = d.map((B)=>B.current).filter(Boolean); 950 if (o.key === __TURBOPACK__imported__module__998348__["Keys"].Space || o.key === __TURBOPACK__imported__module__998348__["Keys"].Enter) { 951 o.preventDefault(), o.stopPropagation(), T.change(P); 952 return; 953 } 954 switch(o.key){ 955 case __TURBOPACK__imported__module__998348__["Keys"].Home: 956 case __TURBOPACK__imported__module__998348__["Keys"].PageUp: 957 return o.preventDefault(), o.stopPropagation(), A(()=>(0, __TURBOPACK__imported__module__652265__["focusIn"])(E, __TURBOPACK__imported__module__652265__["Focus"].First)); 958 case __TURBOPACK__imported__module__998348__["Keys"].End: 959 case __TURBOPACK__imported__module__998348__["Keys"].PageDown: 960 return o.preventDefault(), o.stopPropagation(), A(()=>(0, __TURBOPACK__imported__module__652265__["focusIn"])(E, __TURBOPACK__imported__module__652265__["Focus"].Last)); 961 } 962 if (A(()=>(0, __TURBOPACK__imported__module__397701__["match"])(g, { 963 vertical () { 964 return o.key === __TURBOPACK__imported__module__998348__["Keys"].ArrowUp ? (0, __TURBOPACK__imported__module__652265__["focusIn"])(E, __TURBOPACK__imported__module__652265__["Focus"].Previous | __TURBOPACK__imported__module__652265__["Focus"].WrapAround) : o.key === __TURBOPACK__imported__module__998348__["Keys"].ArrowDown ? (0, __TURBOPACK__imported__module__652265__["focusIn"])(E, __TURBOPACK__imported__module__652265__["Focus"].Next | __TURBOPACK__imported__module__652265__["Focus"].WrapAround) : __TURBOPACK__imported__module__652265__["FocusResult"].Error; 965 }, 966 horizontal () { 967 return o.key === __TURBOPACK__imported__module__998348__["Keys"].ArrowLeft ? (0, __TURBOPACK__imported__module__652265__["focusIn"])(E, __TURBOPACK__imported__module__652265__["Focus"].Previous | __TURBOPACK__imported__module__652265__["Focus"].WrapAround) : o.key === __TURBOPACK__imported__module__998348__["Keys"].ArrowRight ? (0, __TURBOPACK__imported__module__652265__["focusIn"])(E, __TURBOPACK__imported__module__652265__["Focus"].Next | __TURBOPACK__imported__module__652265__["Focus"].WrapAround) : __TURBOPACK__imported__module__652265__["FocusResult"].Error; 968 } 969 })) === __TURBOPACK__imported__module__652265__["FocusResult"].Success) return o.preventDefault(); 970 }), _ = (0, __TURBOPACK__imported__module__271645__["useRef"])(!1), J = (0, __TURBOPACK__imported__module__914189__["useEvent"])(()=>{ 971 var o; 972 _.current || (_.current = !0, (o = m.current) == null || o.focus({ 973 preventScroll: !0 974 }), T.change(P), (0, __TURBOPACK__imported__module__368578__["microTask"])(()=>{ 975 _.current = !1; 976 })); 977 }), X = (0, __TURBOPACK__imported__module__914189__["useEvent"])((o)=>{ 978 o.preventDefault(); 979 }), { isFocusVisible: i, focusProps: M } = (0, __TURBOPACK__imported__module__429427__["useFocusRing"])({ 980 autoFocus: n 981 }), { isHovered: S, hoverProps: $ } = (0, __TURBOPACK__imported__module__371330__["useHover"])({ 982 isDisabled: a 983 }), { pressed: pe, pressProps: ue } = (0, __TURBOPACK__imported__module__394487__["useActivePress"])({ 984 disabled: a 985 }), Te = (0, __TURBOPACK__imported__module__255743__["useSlot"])({ 986 selected: R, 987 hover: S, 988 active: pe, 989 focus: i, 990 autofocus: n, 991 disabled: a 992 }), de = (0, __TURBOPACK__imported__module__700020__["mergeProps"])({ 993 ref: C1, 994 onKeyDown: L, 995 onMouseDown: X, 996 onClick: J, 997 id: l, 998 role: "tab", 999 type: (0, __TURBOPACK__imported__module__144279__["useResolveButtonType"])(e, c), 1000 "aria-controls": (Z = (Y = u[P]) == null ? void 0 : Y.current) == null ? void 0 : Z.id, 1001 "aria-selected": R, 1002 tabIndex: R ? 0 : -1, 1003 disabled: a || void 0, 1004 autoFocus: n 1005 }, M, $, ue); 1006 return (0, __TURBOPACK__imported__module__700020__["useRender"])()({ 1007 ourProps: de, 1008 theirProps: s, 1009 slot: Te, 1010 defaultTag: Me, 1011 name: "Tabs.Tab" 1012 }); 1013} 1014let Ue = "div"; 1015function He(e, r) { 1016 let { selectedIndex: t } = h("Tab.Panels"), l = (0, __TURBOPACK__imported__module__294316__["useSyncRefs"])(r), a = (0, __TURBOPACK__imported__module__255743__["useSlot"])({ 1017 selectedIndex: t 1018 }), n = e, s = { 1019 ref: l 1020 }; 1021 return (0, __TURBOPACK__imported__module__700020__["useRender"])()({ 1022 ourProps: s, 1023 theirProps: n, 1024 slot: a, 1025 defaultTag: Ue, 1026 name: "Tabs.Panels" 1027 }); 1028} 1029let we = "div", Oe = __TURBOPACK__imported__module__700020__["RenderFeatures"].RenderStrategy | __TURBOPACK__imported__module__700020__["RenderFeatures"].Static; 1030function Ne(e, r) { 1031 var R, A, L, _; 1032 let t = (0, __TURBOPACK__imported__module__271645__["useId"])(), { id: l = "headlessui-tabs-panel-".concat(t), tabIndex: a = 0, ...n } = e, { selectedIndex: s, tabs: g, panels: f } = h("Tab.Panel"), b = Q("Tab.Panel"), d = (0, __TURBOPACK__imported__module__271645__["useRef"])(null), u = (0, __TURBOPACK__imported__module__294316__["useSyncRefs"])(d, r); 1033 (0, __TURBOPACK__imported__module__835696__["useIsoMorphicEffect"])(()=>b.registerPanel(d), [ 1034 b, 1035 d 1036 ]); 1037 let T = C("panels"), p = f.indexOf(d); 1038 p === -1 && (p = T);
1039 let c = p === s, { isFocusVisible: v, focusProps: m } = (0, __TURBOPACK__imported__module__429427__["useFocusRing"])(), C1 = (0, __TURBOPACK__imported__module__255743__["useSlot"])({ 1040 selected: c, 1041 focus: v 1042 }), D = (0, __TURBOPACK__imported__module__700020__["mergeProps"])({ 1043 ref: u, 1044 id: l, 1045 role: "tabpanel", 1046 "aria-labelledby": (A = (R = g[p]) == null ? void 0 : R.current) == null ? void 0 : A.id, 1047 tabIndex: c ? a : -1 1048 }, m), P = (0, __TURBOPACK__imported__module__700020__["useRender"])(); 1049 return !c && ((L = n.unmount) == null || L) && !((_ = n.static) != null && _) ? /*#__PURE__*/ __TURBOPACK__imported__module__271645__["default"].createElement(__TURBOPACK__imported__module__2788__1["Hidden"], { 1050 "aria-hidden": "true", 1051 ...D 1052 }) : P({ 1053 ourProps: D, 1054 theirProps: n, 1055 slot: C1, 1056 defaultTag: we, 1057 features: Oe, 1058 visible: c, 1059 name: "Tabs.Panel" 1060 }); 1061} 1062let ke = (0, __TURBOPACK__imported__module__700020__["forwardRefWithAs"])(Ge), Be = (0, __TURBOPACK__imported__module__700020__["forwardRefWithAs"])(he), We = (0, __TURBOPACK__imported__module__700020__["forwardRefWithAs"])(Ce), je = (0, __TURBOPACK__imported__module__700020__["forwardRefWithAs"])(He), Ke = (0, __TURBOPACK__imported__module__700020__["forwardRefWithAs"])(Ne), dt = Object.assign(ke, { 1063 Group: Be, 1064 List: We, 1065 Panels: je, 1066 Panel: Ke 1067}); 1068; 1069__turbopack_context__.s([ 1070 "Tab", 1071 0, 1072 dt, 1073 "TabGroup", 1074 0, 1075 Be, 1076 "TabList", 1077 0, 1078 We, 1079 "TabPanel", 1080 0, 1081 Ke, 1082 "TabPanels", 1083 0, 1084 je 1085], 970554); 1086}), 1087583706, ((__turbopack_context__) => { 1088"use strict"; 1089 1090var __TURBOPACK__imported__module__843476__ = __turbopack_context__.i(843476); 1091var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645); 1092var __TURBOPACK__imported__module__970554__ = __turbopack_context__.i(970554); 1093var __TURBOPACK__imported__module__945060__ = __turbopack_context__.i(945060); 1094"use client"; 1095; 1096; 1097; 1098; 1099const DEFAULT_TAB_VARIANT = "bordered"; 1100const tabBase = "bg-gray-50 px-2 text-base leading-none py-1.5 text-dark-500 focus:outline-none data-selected:bg-transparent data-selected:font-medium"; 1101const headerStyleVariants = { 1102 bordered: "border border-r-0 last-of-type:border-r first-of-type:rounded-tl last-of-type:rounded-tr border-dark-100 data-selected:border-b-0", 1103 borderless: "rounded border-b rounded-b-none border-dark-100 data-selected:border data-selected:border-b-0" 1104}; 1105const HeaderStyleContext = /*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["createContext"])(DEFAULT_TAB_VARIANT); 1106function useHeaderStyle() { 1107 return (0, __TURBOPACK__imported__module__271645__["useContext"])(HeaderStyleContext); 1108} 1109function TabGroup(param) { 1110 let { children, headerStyle = DEFAULT_TAB_VARIANT, ...props } = param; 1111 return /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(HeaderStyleContext.Provider, { 1112 value: headerStyle, 1113 children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(__TURBOPACK__imported__module__970554__["TabGroup"], { 1114 ...props, 1115 children: children 1116 }) 1117 }); 1118} 1119function Tab(param) { 1120 let { children } = param; 1121 const headerStyle = useHeaderStyle(); 1122 return /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(__TURBOPACK__imported__module__970554__["Tab"], { 1123 className: (0, __TURBOPACK__imported__module__945060__["cn"])(tabBase, headerStyleVariants[headerStyle]), 1124 children: children 1125 }); 1126} 1127function TabList(param) { 1128 let { children, className, ...props } = param; 1129 return /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(__TURBOPACK__imported__module__970554__["TabList"], { 1130 className: (0, __TURBOPACK__imported__module__945060__["cn"])("flex *:flex-1", className), 1131 ...props, 1132 children: children 1133 }); 1134} 1135function TabPanels(param) { 1136 let { children, className } = param; 1137 return /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(__TURBOPACK__imported__module__970554__["TabPanels"], { 1138 className: (0, __TURBOPACK__imported__module__945060__["cn"])("border-t-radius-0 rounded rounded-t-none border border-t-0 border-dark-100 p-2", className), 1139 children: children 1140 }); 1141} 1142; 1143__turbopack_context__.s([ 1144 "Tab", 1145 0, 1146 Tab, 1147 "TabGroup", 1148 0, 1149 TabGroup, 1150 "TabList", 1151 0, 1152 TabList, 1153 "TabPanels", 1154 0, 1155 TabPanels 1156]); 1157}), 1158712807, ((__turbopack_context__) => { 1159"use strict"; 1160 1161var __TURBOPACK__imported__module__843476__ = __turbopack_context__.i(843476); 1162var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645); 1163var __TURBOPACK__imported__module__618566__ = __turbopack_context__.i(618566); 1164var __TURBOPACK__imported__module__929387__ = __turbopack_context__.i(929387); 1165var __TURBOPACK__imported__module__109881__ = __turbopack_context__.i(109881); 1166var __TURBOPACK__imported__module__381515__ = __turbopack_context__.i(381515); 1167var __TURBOPACK__imported__module__401851__ = __turbopack_context__.i(401851); 1168var __TURBOPACK__imported__module__550516__ = __turbopack_context__.i(550516); 1169var __TURBOPACK__imported__module__838122__ = __turbopack_context__.i(838122); 1170var __TURBOPACK__imported__module__826514__ = __turbopack_context__.i(826514); 1171var __TURBOPACK__imported__module__585890__ = __turbopack_context__.i(585890); 1172var __TURBOPACK__imported__module__898892__ = __turbopack_context__.i(898892); 1173var __TURBOPACK__imported__module__685149__ = __turbopack_context__.i(685149);
1174var __TURBOPACK__imported__module__773447__ = __turbopack_context__.i(773447); 1175var __TURBOPACK__imported__module__948148__ = __turbopack_context__.i(948148); 1176var __TURBOPACK__imported__module__945060__ = __turbopack_context__.i(945060); 1177var __TURBOPACK__imported__module__341184__ = __turbopack_context__.i(341184); 1178var __TURBOPACK__imported__module__583706__ = __turbopack_context__.i(583706); 1179var __TURBOPACK__imported__module__970554__ = __turbopack_context__.i(970554); 1180"use client"; 1181; 1182; 1183; 1184; 1185; 1186; 1187; 1188; 1189; 1190; 1191; 1192const weekDays = [ 1193 "Monday", 1194 "Tuesday", 1195 "Wednesday", 1196 "Thursday", 1197 "Friday", 1198 "Saturday", 1199 "Sunday" 1200]; 1201function formatReceptionHours(openingHours, t) { 1202 const formatTimeslot = (slots)=>slots.map((slot)=>"".concat(slot.from, " - ").concat(slot.to)).join(t("reception_hours.and")); 1203 const { Monday: mon, Saturday: sat, Sunday: sun } = openingHours; 1204 if (!(mon === null || mon === void 0 ? void 0 : mon.length)) return ""; 1205 const weekdaysMatch = weekDays.slice(0, 5).every((day)=>(0, __TURBOPACK__imported__module__898892__["default"])(openingHours[day], mon)); 1206 const weekendsMatchWeekdays = (0, __TURBOPACK__imported__module__898892__["default"])(sat, mon) && (0, __TURBOPACK__imported__module__898892__["default"])(sun, mon); 1207 const weekendsMatch = (0, __TURBOPACK__imported__module__898892__["default"])(sat, sun); 1208 const weekdayText = formatTimeslot(mon); 1209 if (weekdaysMatch && weekendsMatchWeekdays) { 1210 return "".concat(t("reception_hours.staffed_reception_all_week"), " ").concat(weekdayText, " ").concat(t("reception_hours.hours")); 1211 } 1212 let text = "".concat(t("reception_hours.staffed_reception_weekdays"), " ").concat(weekdayText, " ").concat(t("reception_hours.hours")); 1213 if (weekendsMatch && (sat === null || sat === void 0 ? void 0 : sat.length)) { 1214 return "".concat(text, " ").concat(t("reception_hours.weekend_between"), " ").concat(formatTimeslot(sat), " ").concat(t("reception_hours.hours")); 1215 } 1216 if (sat === null || sat === void 0 ? void 0 : sat.length) { 1217 text += "".concat(t("reception_hours.saturday_between"), " ").concat(formatTimeslot(sat), " ").concat(t("reception_hours.hours")); 1218 } 1219 if (sun === null || sun === void 0 ? void 0 : sun.length) { 1220 text += "".concat(t("reception_hours.sunday_between"), " ").concat(formatTimeslot(sun), " ").concat(t("reception_hours.hours")); 1221 } 1222 return text; 1223} 1224function OpeninghoursTabs(param) { 1225 let { location } = param; 1226 var _ref; 1227 const t = (0, __TURBOPACK__imported__module__948148__["useTranslations"])("locations"); 1228 const now = (0, __TURBOPACK__imported__module__773447__["useNow"])(); 1229 const params = (0, __TURBOPACK__imported__module__618566__["useParams"])(); 1230 const formatter = (0, __TURBOPACK__imported__module__948148__["useFormatter"])(); 1231 const isStorage = params.rootSlug === "storage-unit-rental" || params.rootSlug === "opslagruimte-huren"; 1232 const isDay = (0, __TURBOPACK__imported__module__271645__["useCallback"])((day)=>{ 1233 return (0, __TURBOPACK__imported__module__401851__["format"])(now, "EEEE", { 1234 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 1235 }) === day; 1236 }, [ 1237 now 1238 ]); 1239 // The regular schedule tab should always reflect the weekly schedule. 1240 // Divergent opening hours are listed separately in the holidays tab. 1241 const weekSchedule = (0, __TURBOPACK__imported__module__271645__["useMemo"])(()=>{ 1242 if (!location) { 1243 return undefined; 1244 } 1245 const today = (0, __TURBOPACK__imported__module__585890__["startOfDay"])(now, { 1246 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 1247 });
1248 return Object.fromEntries(weekDays.map((day)=>{ 1249 const index = __TURBOPACK__imported__module__685149__["DAY_OF_THE_WEEK_TO_INDEX"][day]; 1250 const date = today.getDay() === index ? today : (0, __TURBOPACK__imported__module__838122__["nextDay"])(today, index); 1251 return [ 1252 day, 1253 (0, __TURBOPACK__imported__module__341184__["getRegularOpeningHoursForDate"])({ 1254 date, 1255 location 1256 }) 1257 ]; 1258 })); 1259 }, [ 1260 location, 1261 now 1262 ]); 1263 const OpeningHours = (param)=>{ 1264 let { day } = param; 1265 var _ref; 1266 const openingsHours = (_ref = weekSchedule === null || weekSchedule === void 0 ? void 0 : weekSchedule[day]) !== null && _ref !== void 0 ? _ref : []; 1267 if (openingsHours.length === 0) { 1268 return /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("span", { 1269 className: "block", 1270 children: t("closed") 1271 }); 1272 } 1273 return openingsHours.map((time, index)=>/*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])("span", { 1274 className: "block", 1275 children: [ 1276 time.from, 1277 " - ", 1278 time.to, 1279 " uur" 1280 ] 1281 }, index)); 1282 }; 1283 return /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])(__TURBOPACK__imported__module__583706__["TabGroup"], { 1284 headerStyle: "borderless", 1285 children: [ 1286 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])(__TURBOPACK__imported__module__583706__["TabList"], { 1287 className: "grid grid-cols-2", 1288 children: [ 1289 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(__TURBOPACK__imported__module__583706__["Tab"], { 1290 children: t("opening_hours") 1291 }), 1292 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(__TURBOPACK__imported__module__583706__["Tab"], { 1293 children: t("holidays") 1294 }) 1295 ] 1296 }), 1297 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])(__TURBOPACK__imported__module__583706__["TabPanels"], { 1298 children: [ 1299 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(__TURBOPACK__imported__module__970554__["TabPanel"], { 1300 children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])("div", { 1301 className: "text-dark-500 space-y-1.5 text-base", 1302 children: [ 1303 isStorage && /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1304 className: "flex justify-center", 1305 children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("span", { 1306 className: "max-w-[382px] text-dark-400 text-center p-1.5", 1307 children: weekSchedule && formatReceptionHours(weekSchedule, t) 1308 }) 1309 }), 1310 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])("div", { 1311 className: (0, __TURBOPACK__imported__module__945060__["cn"])("grid grid-cols-5", { 1312 "font-bold": isDay("Monday") 1313 }), 1314 children: [ 1315 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1316 className: "col-span-2 col-start-1", 1317 children: t("days.monday") 1318 }), 1319 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1320 className: "col-span-3 text-right", 1321 children: isStorage ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("span", { 1322 className: "block", 1323 children: t("access_hours") 1324 }) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(OpeningHours, { 1325 day: "Monday" 1326 }) 1327 }) 1328 ] 1329 }), 1330 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])("div", { 1331 className: (0, __TURBOPACK__imported__module__945060__["cn"])("grid grid-cols-5", { 1332 "font-bold": isDay("Tuesday") 1333 }), 1334 children: [ 1335 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1336 className: "col-span-2 col-start-1", 1337 children: t("days.tuesday") 1338 }), 1339 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1340 className: "col-span-3 text-right", 1341 children: isStorage ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("span", { 1342 className: "block", 1343 children: t("access_hours") 1344 }) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(OpeningHours, { 1345 day: "Tuesday" 1346 }) 1347 }) 1348 ] 1349 }), 1350 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])("div", { 1351 className: (0, __TURBOPACK__imported__module__945060__["cn"])("grid grid-cols-5", { 1352 "font-bold": isDay("Wednesday") 1353 }), 1354 children: [ 1355 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1356 className: "col-span-2 col-start-1", 1357 children: t("days.wednesday") 1358 }), 1359 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1360 className: "col-span-3 text-right", 1361 children: isStorage ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("span", { 1362 className: "block", 1363 children: t("access_hours") 1364 }) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(OpeningHours, { 1365 day: "Wednesday" 1366 }) 1367 }) 1368 ] 1369 }), 1370 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])("div", { 1371 className: (0, __TURBOPACK__imported__module__945060__["cn"])("grid grid-cols-5", { 1372 "font-bold": isDay("Thursday") 1373 }), 1374 children: [ 1375 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1376 className: "col-span-2 col-start-1", 1377 children: t("days.thursday") 1378 }), 1379 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1380 className: "col-span-3 text-right", 1381 children: isStorage ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("span", { 1382 className: "block", 1383 children: t("access_hours") 1384 }) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(OpeningHours, { 1385 day: "Thursday" 1386 }) 1387 }) 1388 ] 1389 }), 1390 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])("div", { 1391 className: (0, __TURBOPACK__imported__module__945060__["cn"])("grid grid-cols-5", { 1392 "font-bold": isDay("Friday") 1393 }), 1394 children: [ 1395 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1396 className: "col-span-2 col-start-1", 1397 children: t("days.friday") 1398 }), 1399 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1400 className: "col-span-3 text-right", 1401 children: isStorage ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("span", { 1402 className: "block", 1403 children: t("access_hours") 1404 }) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(OpeningHours, {
1405 day: "Friday" 1406 }) 1407 }) 1408 ] 1409 }), 1410 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])("div", { 1411 className: (0, __TURBOPACK__imported__module__945060__["cn"])("grid grid-cols-5", { 1412 "font-bold": isDay("Saturday") 1413 }), 1414 children: [ 1415 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1416 className: "col-span-2 col-start-1", 1417 children: t("days.saturday") 1418 }), 1419 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1420 className: "col-span-3 text-right", 1421 children: isStorage ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("span", { 1422 className: "block", 1423 children: t("access_hours") 1424 }) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(OpeningHours, { 1425 day: "Saturday" 1426 }) 1427 }) 1428 ] 1429 }), 1430 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])("div", { 1431 className: (0, __TURBOPACK__imported__module__945060__["cn"])("grid grid-cols-5", { 1432 "font-bold": isDay("Sunday") 1433 }), 1434 children: [ 1435 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1436 className: "col-span-2 col-start-1", 1437 children: t("days.sunday") 1438 }), 1439 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1440 className: "col-span-3 text-right", 1441 children: isStorage ? /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("span", { 1442 className: "block", 1443 children: t("access_hours") 1444 }) : /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(OpeningHours, { 1445 day: "Sunday" 1446 }) 1447 }) 1448 ] 1449 }) 1450 ] 1451 }) 1452 }), 1453 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])(__TURBOPACK__imported__module__970554__["TabPanel"], { 1454 children: /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("div", { 1455 className: "space-y-1.5 text-base", 1456 children: ((_ref = location === null || location === void 0 ? void 0 : location.divergentOpeningHours) !== null && _ref !== void 0 ? _ref : []).map((openingHour)=>({ 1457 openingHour, 1458 parsedDate: (0, __TURBOPACK__imported__module__826514__["parseISO"])(openingHour.date, { 1459 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 1460 }) 1461 })).filter((param)=>{ 1462 let { parsedDate } = param; 1463 return (0, __TURBOPACK__imported__module__381515__["differenceInCalendarDays"])(parsedDate, now, { 1464 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 1465 }) >= 0; 1466 }).map((param, index)=>{ 1467 let { openingHour, parsedDate } = param; 1468 return /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])("div", { 1469 className: (0, __TURBOPACK__imported__module__945060__["cn"])("grid grid-cols-5", { 1470 "font-bold": (0, __TURBOPACK__imported__module__550516__["isSameDay"])(now, parsedDate, { 1471 in: (0, __TURBOPACK__imported__module__109881__["tz"])(__TURBOPACK__imported__module__685149__["TIMEZONE"]) 1472 }) 1473 }), 1474 children: [ 1475 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])("div", { 1476 className: "col-span-3 col-start-1", 1477 children: [ 1478 openingHour.description, 1479 " ", 1480 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])("span", { 1481 className: "text-dark-400", 1482 children: [ 1483 "(", 1484 formatter.dateTime(parsedDate, { 1485 day: "numeric", 1486 month: "long" 1487 }), 1488 ")" 1489 ] 1490 }) 1491 ] 1492 }), 1493 /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])("div", { 1494 className: "col-span-2 text-right", 1495 children: [ 1496 !openingHour.isClosedForTheWholeDay && /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsxs"])("span", { 1497 className: "block", 1498 children: [ 1499 openingHour.from, 1500 " - ", 1501 openingHour.to, 1502 " uur" 1503 ] 1504 }), 1505 openingHour.isClosedForTheWholeDay && /*#__PURE__*/ (0, __TURBOPACK__imported__module__843476__["jsx"])("span", { 1506 className: "block", 1507 children: t("closed") 1508 }) 1509 ] 1510 }) 1511 ] 1512 }, index); 1513 }) 1514 }) 1515 }) 1516 ] 1517 }) 1518 ] 1519 }); 1520} 1521__turbopack_context__.s([ 1522 "default", 1523 0, 1524 OpeninghoursTabs 1525]); 1526}), 1527]); 1528 1529//# debugId=aa372e1d-5102-22b0-a592-7f6fca05babc
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.