PageSourceSearch

https://jarradhewett.com/wp-content/themes/CORRECTED_jarrad-hewett…ild_templates_app-page_13cynq6.js?ver=2.0.0

js jarradhewett.com collected 2026-10-08 08:46:33 UTC 44,935 bytes, 1,229 lines download raw bytes

1module.exports = [
2  36127,
3  (a) => {
4    'use strict';
5    var b = a.i(35870),
6      c = a.i(84853),
7      d = a.i(97393),
8      e = a.i(71881),
9      f = a.i(60174),
10      g = a.i(51050),
11      h = a.i(75516),
12      i = a.i(89723),
13      j = a.i(72727),
14      k = a.i(68653),
15      l = a.i(65361),
16      m = a.i(29140),
17      n = a.i(15885),
18      o = a.i(20611),
19      p = a.i(91568),
20      q = a.i(61941),
21      r = a.i(53474),
22      s = a.i(6434);
23    a.i(15680);
24    var t = a.i(98213),
25      u = a.i(7265),
26      v = a.i(2340),
27      w = a.i(63875),
28      x = a.i(56147),
29      y = a.i(5207),
30      z = a.i(15387),
31      A = a.i(93695),
32      B = a.i(1061),
33      C = a.i(26e3),
34      D = a.i(53052);
35    a.i(65347);
36    var E = a.i(71197),
37      F = a.i(57050),
38      G = a.i(60518),
39      H = a.i(32039),
40      I = a.i(63771),
41      J = a.i(51360);
42    let K = [
43        '',
44        {
45          children: [
46            'programs',
47            {
48              children: [
49                '__PAGE__',
50                {},
51                {
52                  metadata: {},
53                  page: [
54                    () => a.r(33840),
55                    '[project]/tmp/3e506481-ec97-4c77-9a17-41c121d8ec8b/app/programs/page.tsx',
56                  ],
57                },
58                [],
59              ],
60            },
61            { metadata: {} },
62            [],
63          ],
64        },
65        {
66          layout: [
67            () => a.r(85940),
68            '[project]/tmp/3e506481-ec97-4c77-9a17-41c121d8ec8b/app/layout.tsx',
69          ],
70          'not-found': [
71            () => a.r(69544),
72            '[project]/tmp/3e506481-ec97-4c77-9a17-41c121d8ec8b/node_modules/next/dist/client/components/builtin/not-found.js',
73          ],
74          forbidden: [
75            () => a.r(24300),
76            '[project]/tmp/3e506481-ec97-4c77-9a17-41c121d8ec8b/node_modules/next/dist/client/components/builtin/forbidden.js',
77          ],
78          unauthorized: [
79            () => a.r(17985),
80            '[project]/tmp/3e506481-ec97-4c77-9a17-41c121d8ec8b/node_modules/next/dist/client/components/builtin/unauthorized.js',
81          ],
82          'global-error': [
83            () => a.r(8603),
84            '[project]/tmp/3e506481-ec97-4c77-9a17-41c121d8ec8b/node_modules/next/dist/client/components/builtin/global-error.js',
85          ],
86        },
87        [],
88      ],
89      L = { require: a.r.bind(a), loadChunk: a.l.bind(a) },
90      M = new b.AppPageRouteModule({
91        definition: {
92          kind: c.RouteKind.APP_PAGE,
93          page: '/programs/page',
94          pathname: '/programs',
95          bundlePath: '',
96          filename: '',
97          appPaths: [],
98        },
99        userland: { loaderTree: K },
100        distDir: '.next',
101        relativeProjectDir: '',
102      });
103    async function N(b, O, P) {
104      var Q, R, S, T, U;
105      (P.requestMeta && (0, f.setRequestMeta)(b, P.requestMeta),
106        M.isDev &&
107          (0, f.addRequestMeta)(
108            b,
109            'devRequestTimingInternalsEnd',
110            process.hrtime.bigint()
111          ));
112      let V = !!(0, f.getRequestMeta)(b, 'minimalMode'),
113        W = '/programs/page';
114      W = W.replace(/\/index$/, '') || '/';
115      let X = await M.prepare(b, O, { srcPage: W, multiZoneDraftMode: !1 });
116      if (!X)
117        return (
118          (O.statusCode = 400),
119          O.end('Bad Request'),
120          null == P.waitUntil || P.waitUntil.call(P, Promise.resolve()),
121          null
122        );
123      let {
124          buildId: Y,
125          query: Z,
126          params: $,
127          pageIsDynamic: _,
128          buildManifest: aa,
129          nextFontManifest: ab,
130          reactLoadableManifest: ac,
131          serverActionsManifest: ad,
132          clientReferenceManifest: ae,
133          subresourceIntegrityManifest: af,
134          prerenderManifest: ag,
135          isDraftMode: ah,
136          resolvedPathname: ai,
137          revalidateOnlyGenerated: aj,
138          routerServerContext: ak,
139          nextConfig: al,
140          parsedUrl: am,
141          interceptionRoutePatterns: an,
142          deploymentId: ao,
143          clientAssetToken: ap,
144        } = X,
145        aq = (0, p.normalizeAppPath)(W),
146        { isOnDemandRevalidate: ar } = X,
147        as =
148          al.experimental.ppr &&
149          !al.cacheComponents &&
150          (0, I.isInterceptionRouteAppPath)(ai)
151            ? null
152            : M.match(ai, ag),
153        at = (null == as ? void 0 : as.route) ?? null,
154        au = !!ag.routes[ai],
155        av = b.headers['user-agent'] || '',
156        aw = (0, s.getBotType)(av),
157        ax = (0, o.isHtmlBotRequest)(b),
158        ay =
159          (0, f.getRequestMeta)(b, 'isPrefetchRSCRequest') ??
160          '1' === b.headers[r.NEXT_ROUTER_PREFETCH_HEADER],
161        az =
162          (0, f.getRequestMeta)(b, 'isRSCRequest') ??
163          (0, l.isRSCRequestHeader)(b.headers[r.RSC_HEADER]),
164        aA = (0, q.getIsPossibleServerAction)(b),
165        aB = (0, k.checkIsAppPPREnabled)(al.experimental.ppr),
166        aC = b.headers[w.NEXT_RESUME_STATE_LENGTH_HEADER];
167      if (
168        !(0, f.getRequestMeta)(b, 'postponed') &&
169        V &&
170        aB &&
171        aA &&
172        aC &&
173        'string' == typeof aC
174      ) {
175        let c = parseInt(aC, 10),
176          { maxPostponedStateSize: d, maxPostponedStateSizeBytes: e } = (0,
177          C.getMaxPostponedStateSize)(al.experimental.maxPostponedStateSize);
178        if (!isNaN(c) && c > 0) {
179          if (c > e)
180            return (
181              (O.statusCode = 413),
182              O.end((0, C.getPostponedStateExceededErrorMessage)(d)),
183              null == P.waitUntil || P.waitUntil.call(P, Promise.resolve()),
184              null
185            );
186          let g = '1 MB',
187            h =
188              (null == (U = al.experimental.serverActions)
189                ? void 0
190                : U.bodySizeLimit) ?? g,
191            i = c + (h !== g ? a.r(2463).parse(h) : 1048576),
192            j = await (0, C.readBodyWithSizeLimit)(b, i);
193          if (null === j)
194            return (
195              (O.statusCode = 413),
196              O.end(
197                'Request body exceeded limit. To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit'
198              ),
199              null == P.waitUntil || P.waitUntil.call(P, Promise.resolve()),
200              null
201            );
202          if (j.length >= c) {
203            let a = j.subarray(0, c).toString('utf8');
204            (0, f.addRequestMeta)(b, 'postponed', a);
205            let d = j.subarray(c);
206            (0, f.addRequestMeta)(b, 'actionBody', d);
207          } else
208            throw Object.defineProperty(
209              Error(
210                `invariant: expected ${c} bytes of postponed state but only received ${j.length} bytes`
211              ),
212              '__NEXT_ERROR_CODE',
213              { value: 'E979', enumerable: !1, configurable: !0 }
214            );
215        }
216      }
217      if (
218        !(0, f.getRequestMeta)(b, 'postponed') &&
219        aB &&
220        '1' === b.headers[w.NEXT_RESUME_HEADER] &&
221        'POST' === b.method
222      ) {
223        let { maxPostponedStateSize: a, maxPostponedStateSizeBytes: c } = (0,
224          C.getMaxPostponedStateSize)(al.experimental.maxPostponedStateSize),
225          d = await (0, C.readBodyWithSizeLimit)(b, c);
226        if (null === d)
227          return (
228            (O.statusCode = 413),
229            O.end((0, C.getPostponedStateExceededErrorMessage)(a)),
230            null == P.waitUntil || P.waitUntil.call(P, Promise.resolve()),
231            null
232          );
233        let e = d.toString('utf8');
234        (0, f.addRequestMeta)(b, 'postponed', e);
235      }
236      let aD =
237          !0 === M.isDev ||
238          !0 === al.experimental.exposeTestingApiInProductionBuild,
239        aE =
240          aD &&
241          ('1' === b.headers[r.NEXT_INSTANT_PREFETCH_HEADER] ||
242            (!(0, l.isRSCRequestHeader)(b.headers[r.RSC_HEADER]) &&
243              'string' == typeof b.headers.cookie &&
244              b.headers.cookie.includes(r.NEXT_INSTANT_TEST_COOKIE + '='))),
245        aF =
246          (aB || aE) &&
247          ((null == (Q = ag.routes[aq] ?? ag.dynamicRoutes[aq])
248            ? void 0
249            : Q.renderingMode) === 'PARTIALLY_STATIC' ||
250            (aE &&
251              (aD || (null == ak ? void 0 : ak.experimentalTestProxy) === !0))),
252        aG = aE && aF,
253        aH = aG && !0 === M.isDev,
254        aI = !1,
255        aJ = aF ? (0, f.getRequestMeta)(b, 'postponed') : void 0,
256        aK = null == (R = ag.routes[ai]) ? void 0 : R.prefetchDataRoute,
257        aL = aF && az && !ay && !aK;
258      V && (aL = aL && !!aJ);
259      let aM = (0, f.getRequestMeta)(b, 'segmentPrefetchRSCRequest'),
260        aN =
261          (!aw || !aF) &&
262          (!av || (0, o.shouldServeStreamingMetadata)(av, al.htmlLimitedBots)),
263        aO = !!((at || au || ag.routes[aq]) && !(aw && aF)),
264        aP = aF && !0 === al.cacheComponents,
265        aQ =
266          !0 === M.isDev ||
267          !aO ||
268          'string' == typeof aJ ||
269          (aP && (0, f.getRequestMeta)(b, 'onCacheEntryV2') ? aL && !V : aL),
270        aR = !!aw && aF,
271        aS = (null == at ? void 0 : at.remainingPrerenderableParams) ?? [],
272        aT =
273          (null == at ? void 0 : at.fallback) === null &&
274          ((null == (S = at.fallbackRootParams) ? void 0 : S.length) ?? 0) > 0,
275        aU = null;
276      if (!ah && aO && !aQ && !aA && !aJ && !aL) {
277        let a = as
278          ? 'string' == typeof (null == at ? void 0 : at.fallback)
279            ? at.fallback
280            : as.source
281          : null;
282        if (
283          !0 === al.experimental.partialFallbacks &&
284          a &&
285          (null == at ? void 0 : at.fallbackRouteParams) &&
286          !aT
287        ) {
288          if (aS.length > 0) {
289            let b,
290              c =
291                ((b = new Map(aS.map((a) => [a.paramName, a]))),
292                a
293                  .split('/')
294                  .map((a) => {
295                    let c = (0, J.getSegmentParam)(a);
296                    if (!c) return a;
297                    let d = b.get(c.paramName);
298                    if (!d) return a;
299                    let e = null == $ ? void 0 : $[d.paramName];
300                    if (!e) return a;
301                    let f = Array.isArray(e)
302                      ? e.map((a) => encodeURIComponent(a)).join('/')
303                      : encodeURIComponent(e);
304                    return a.replace(
305                      (0, m.buildDynamicSegmentPlaceholder)(d),
306                      f
307                    );
308                  })
309                  .join('/') || '/');
310            aU = c !== a ? c : null;
311          }
312        } else aU = ai;
313      }
314      let aV = aU;
315      (!aV &&
316        (M.isDev ||
317          (aO && _ && (null == at ? void 0 : at.fallbackRouteParams) && !aA)) &&
318        (aV = ai),
319        M.isDev ||
320          ah ||
321          !aO ||
322          !az ||
323          aL ||
324          (0, i.stripFlightHeaders)(b.headers));
325      let aW = { ...E, tree: K, handler: N, routeModule: M, __next_app__: L };
326      ad &&
327        ae &&
328        (0, n.setManifestsSingleton)({
329          page: W,
330          clientReferenceManifest: ae,
331          serverActionsManifest: ad,
332        });
333      let aX = b.method || 'GET',
334        aY = (0, e.getTracer)(),
335        aZ = aY.getActiveScopeSpan(),
336        a$ = !!(null == ak ? void 0 : ak.isWrappedByNextServer),
337        a_ =
338          !0 === al.experimental.partialFallbacks && aS.length > 0
339            ? ((null == at || null == (T = at.fallbackRouteParams)
340                ? void 0
341                : T.filter(
342                    (a) => !aS.some((b) => b.paramName === a.paramName)
343                  )) ?? [])
344            : [],
345        a0 = async () => (
346          (null == ak ? void 0 : ak.render404)
347            ? await ak.render404(b, O, am, !1)
348            : O.end('This page could not be found'),
349          null
350        );
351      try {
352        let a,
353          i = M.getVaryHeader(ai, an);
354        O.setHeader('Vary', i);
355        let k = async (c, d) => {
356            let e = new j.NodeNextRequest(b),
357              f = new j.NodeNextResponse(O);
358            return M.render(e, f, d).finally(() => {
359              if (!c) return;
360              c.setAttributes({
361                'http.status_code': O.statusCode,
362                'next.rsc': !1,
363              });
364              let b = aY.getRootSpanAttributes();
365              if (!b) return;
366              if (b.get('next.span_type') !== g.BaseServerSpan.handleRequest)
367                return void console.warn(
368                  `Unexpected root span type '${b.get('next.span_type')}'. Please report this Next.js issue https://github.com/vercel/next.js`
369                );
370              let d = b.get('next.route');
371              if (d) {
372                let b = `${aX} ${d}`;
373                (c.setAttributes({
374                  'next.route': d,
375                  'http.route': d,
376                  'next.span_name': b,
377                }),
378                  c.updateName(b),
379                  a &&
380                    a !== c &&
381                    (a.setAttribute('http.route', d), a.updateName(b)));
382              } else c.updateName(`${aX} ${W}`);
383            });
384          },
385          l =
386            (0, f.getRequestMeta)(b, 'incrementalCache') ||
387            (await M.getIncrementalCache(b, al, ag, V));
388        (null == l || l.resetRequestCache(),
389          (globalThis.__incrementalCache = l));
390        let n = async ({
391            span: a,
392            postponed: c,
393            fallbackRouteParams: d,
394            forceStaticRender: e,
395          }) => {
396            let g = {
397              query: Z,
398              params: $,
399              page: aq,
400              sharedContext: {
401                buildId: Y,
402                deploymentId: ao,
403                clientAssetToken: ap,
404              },
405              serverComponentsHmrCache: (0, f.getRequestMeta)(
406                b,
407                'serverComponentsHmrCache'
408              ),
409              fallbackRouteParams: d,
410              renderOpts: {
411                App: () => null,
412                Document: () => null,
413                pageConfig: {},
414                ComponentMod: aW,
415                Component: (0, h.interopDefault)(aW),
416                params: $,
417                routeModule: M,
418                page: W,
419                postponed: c,
420                shouldWaitOnAllReady: aR,
421                serveStreamingMetadata: aN,
422                supportsDynamicResponse: 'string' == typeof c || aQ,
423                buildManifest: aa,
424                nextFontManifest: ab,
425                reactLoadableManifest: ac,
426                subresourceIntegrityManifest: af,
427                setCacheStatus: null == ak ? void 0 : ak.setCacheStatus,
428                setIsrStatus: null == ak ? void 0 : ak.setIsrStatus,
429                setReactDebugChannel:
430                  null == ak ? void 0 : ak.setReactDebugChannel,
431                sendErrorsToBrowser:
432                  null == ak ? void 0 : ak.sendErrorsToBrowser,
433                dir: require('path').join(process.cwd(), M.relativeProjectDir),
434                isDraftMode: ah,
435                botType: aw,
436                isOnDemandRevalidate: ar,
437                isPossibleServerAction: aA,
438                assetPrefix: al.assetPrefix,
439                nextConfigOutput: al.output,
440                crossOrigin: al.crossOrigin,
441                trailingSlash: al.trailingSlash,
442                images: al.images,
443                previewProps: ag.preview,
444                enableTainting: al.experimental.taint,
445                htmlLimitedBots: al.htmlLimitedBots,
446                reactMaxHeadersLength: al.reactMaxHeadersLength,
447                multiZoneDraftMode: !1,
448                incrementalCache: l,
449                cacheLifeProfiles: al.cacheLife,
450                basePath: al.basePath,
451                serverActions: al.experimental.serverActions,
452                logServerFunctions:
453                  'object' == typeof al.logging && !!al.logging.serverFunctions,
454                ...(aG || aH || aI
455                  ? {
456                      isBuildTimePrerendering: !0,
457                      supportsDynamicResponse: !1,
458                      isStaticGeneration: !0,
459                      isDebugDynamicAccesses: aH,
460                    }
461                  : {}),
462                cacheComponents: !!al.cacheComponents,
463                experimental: {
464                  isRoutePPREnabled: aF,
465                  expireTime: al.expireTime,
466                  staleTimes: al.experimental.staleTimes,
467                  dynamicOnHover: !!al.experimental.dynamicOnHover,
468                  optimisticRouting: !!al.experimental.optimisticRouting,
469                  inlineCss: !!al.experimental.inlineCss,
470                  prefetchInlining: al.experimental.prefetchInlining ?? !1,
471                  authInterrupts: !!al.experimental.authInterrupts,
472                  cachedNavigations: !!al.experimental.cachedNavigations,
473                  clientTraceMetadata:
474                    al.experimental.clientTraceMetadata || [],
475                  clientParamParsingOrigins:
476                    al.experimental.clientParamParsingOrigins,
477                  maxPostponedStateSizeBytes: (0, B.parseMaxPostponedStateSize)(
478                    al.experimental.maxPostponedStateSize
479                  ),
480                },
481                waitUntil: P.waitUntil,
482                onClose: (a) => {
483                  O.on('close', a);
484                },
485                onAfterTaskError: () => {},
486                onInstrumentationRequestError: (a, c, d, e) =>
487                  M.onRequestError(b, a, d, e, ak),
488                err: (0, f.getRequestMeta)(b, 'invokeError'),
489              },
490            };
491            e && (g.renderOpts.supportsDynamicResponse = !1);
492            let i = await k(a, g),
493              { metadata: j } = i,
494              {
495                cacheControl: m,
496                headers: n = {},
497                fetchTags: o,
498                fetchMetrics: p,
499              } = j;
500            if (
501              (o && (n[w.NEXT_CACHE_TAGS_HEADER] = o),
502              (b.fetchMetrics = p),
503              aO &&
504                (null == m ? void 0 : m.revalidate) === 0 &&
505                !M.isDev &&
506                !aF)
507            ) {
508              let a = j.staticBailoutInfo,
509                b = Object.defineProperty(
510                  Error(`Page changed from static to dynamic at runtime ${ai}${(null == a ? void 0 : a.description) ? `, reason: ${a.description}` : ''}
511see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),
512                  '__NEXT_ERROR_CODE',
513                  { value: 'E132', enumerable: !1, configurable: !0 }
514                );
515              if (null == a ? void 0 : a.stack) {
516                let c = a.stack;
517                b.stack = b.message + c.substring(c.indexOf('\n'));
518              }
519              throw b;
520            }
521            return {
522              value: {
523                kind: t.CachedRouteKind.APP_PAGE,
524                html: i,
525                headers: n,
526                rscData: j.flightData,
527                postponed: j.postponed,
528                status: j.statusCode,
529                segmentData: j.segmentData,
530              },
531              cacheControl: m,
532            };
533          },
534          o = async ({
535            hasResolved: a,
536            previousCacheEntry: e,
537            isRevalidating: g,
538            span: h,
539            forceStaticRender: i = !1,
540          }) => {
541            let j = !1 === M.isDev,
542              k = a || O.writableEnded;
543            try {
544              var p;
545              let d;
546              if (ar && aj && !e && !V)
547                return (
548                  (null == ak ? void 0 : ak.render404)
549                    ? await ak.render404(b, O)
550                    : ((O.statusCode = 404),
551                      O.end('This page could not be found')),
552                  null
553                );
554              if (
555                (at && (d = (0, u.parseFallbackField)(at.fallback)),
556                !0 === al.experimental.partialFallbacks &&
557                  (null == at ? void 0 : at.fallback) === null &&
558                  !aT &&
559                  aS.length > 0 &&
560                  (d = u.FallbackMode.PRERENDER),
561                d === u.FallbackMode.PRERENDER &&
562                  (0, s.isBot)(av) &&
563                  (!aF || ax) &&
564                  (d = u.FallbackMode.BLOCKING_STATIC_RENDER),
565                (null == e ? void 0 : e.isStale) === -1 && (ar = !0),
566                ar &&
567                  (d !== u.FallbackMode.NOT_FOUND || e) &&
568                  (d = u.FallbackMode.BLOCKING_STATIC_RENDER),
569                !V &&
570                  d !== u.FallbackMode.BLOCKING_STATIC_RENDER &&
571                  aV &&
572                  !k &&
573                  !ah &&
574                  _ &&
575                  (j || !au))
576              ) {
577                if ((j || at) && d === u.FallbackMode.NOT_FOUND) {
578                  if (al.adapterPath) return await a0();
579                  throw new A.NoFallbackError();
580                }
581                if (aF && (al.cacheComponents ? !aL : !az)) {
582                  let d =
583                      j &&
584                      'string' == typeof (null == at ? void 0 : at.fallback)
585                        ? at.fallback
586                        : aq,
587                    e =
588                      (j || aG) &&
589                      (null == at ? void 0 : at.fallbackRouteParams)
590                        ? (0, m.createOpaqueFallbackRouteParams)(
591                            at.fallbackRouteParams
592                          )
593                        : aI
594                          ? (0, m.getFallbackRouteParams)(aq, M)
595                          : null;
596                  aG && e && (0, f.addRequestMeta)(b, 'fallbackParams', e);
597                  let g = await M.handleResponse({
598                    cacheKey: d,
599                    req: b,
600                    nextConfig: al,
601                    routeKind: c.RouteKind.APP_PAGE,
602                    isFallback: !0,
603                    prerenderManifest: ag,
604                    isRoutePPREnabled: aF,
605                    responseGenerator: async () =>
606                      n({
607                        span: h,
608                        postponed: void 0,
609                        fallbackRouteParams: e,
610                        forceStaticRender: !0,
611                      }),
612                    waitUntil: P.waitUntil,
613                    isMinimalMode: V,
614                  });
615                  if (null === g) return null;
616                  if (g)
617                    return (
618                      V ||
619                        !aF ||
620                        !(aS.length > 0) ||
621                        !0 !== al.experimental.partialFallbacks ||
622                        !aU ||
623                        !l ||
624                        ar ||
625                        aI ||
626                        aD ||
627                        aE ||
628                        ay ||
629                        (0, H.scheduleOnNextTick)(async () => {
630                          let c = M.getResponseCache(b);
631                          try {
632                            await c.revalidate(
633                              aU,
634                              l,
635                              aF,
636                              !1,
637                              (a) =>
638                                n({
639                                  span: a.span,
640                                  postponed: void 0,
641                                  fallbackRouteParams:
642                                    a_.length > 0
643                                      ? (0, m.createOpaqueFallbackRouteParams)(
644                                          a_
645                                        )
646                                      : null,
647                                  forceStaticRender: !0,
648                                }),
649                              null,
650                              a,
651                              P.waitUntil
652                            );
653                          } catch (a) {
654                            console.error(
655                              'Error revalidating the page in the background',
656                              a
657                            );
658                          }
659                        }),
660                      delete g.cacheControl,
661                      g
662                    );
663                }
664              }
665              let q = ar || g || !aJ ? void 0 : aJ;
666              if (aP && !V && l && (aL || aA) && !i) {
667                let c = await l.get(ai, {
668                  kind: t.IncrementalCacheKind.APP_PAGE,
669                  isRoutePPREnabled: !0,
670                  isFallback: !1,
671                });
672                c &&
673                  c.value &&
674                  c.value.kind === t.CachedRouteKind.APP_PAGE &&
675                  ((q = c.value.postponed),
676                  c &&
677                    (-1 === c.isStale || !0 === c.isStale) &&
678                    (0, H.scheduleOnNextTick)(async () => {
679                      let c = M.getResponseCache(b);
680                      try {
681                        await c.revalidate(
682                          ai,
683                          l,
684                          aF,
685                          !1,
686                          (a) => o({ ...a, forceStaticRender: !0 }),
687                          null,
688                          a,
689                          P.waitUntil
690                        );
691                      } catch (a) {
692                        console.error(
693                          'Error revalidating the page in the background',
694                          a
695                        );
696                      }
697                    }));
698              }
699              if ((aG || aH) && void 0 !== q)
700                return {
701                  cacheControl: { revalidate: 1, expire: void 0 },
702                  value: {
703                    kind: t.CachedRouteKind.PAGES,
704                    html: v.default.EMPTY,
705                    pageData: {},
706                    headers: void 0,
707                    status: void 0,
708                  },
709                };
710              let r =
711                  !M.isDev &&
712                  _ &&
713                  (null == at ? void 0 : at.fallbackRouteParams)
714                    ? (0, m.getPlaceholderFallbackRouteParams)(
715                        $,
716                        at.fallbackRouteParams
717                      )
718                    : null,
719                w =
720                  r && r.length > 0
721                    ? r
722                    : null == at
723                      ? void 0
724                      : at.fallbackRouteParams,
725                x = null != r && r.length > 0,
726                y = null;
727              if (
728                al.cacheComponents &&
729                (null == at ? void 0 : at.fallbackRouteParams)
730              ) {
731                let a = (0, f.getRequestMeta)(b, 'resolvedRouteParamKeys');
732                a &&
733                  a.size > 0 &&
734                  (y = at.fallbackRouteParams.filter(
735                    (b) => !a.has(b.paramName)
736                  ));
737              }
738              let z =
739                ((j && (0, f.getRequestMeta)(b, 'renderFallbackShell')) ||
740                  x ||
741                  (aG && !au)) &&
742                w
743                  ? (0, m.createOpaqueFallbackRouteParams)(w)
744                  : y &&
745                      y.length > 0 &&
746                      y.length <
747                        ((null == at || null == (p = at.fallbackRouteParams)
748                          ? void 0
749                          : p.length) ?? 0)
750                    ? (0, m.createOpaqueFallbackRouteParams)(y)
751                    : aI
752                      ? (0, m.getFallbackRouteParams)(aq, M)
753                      : null;
754              if (
755                (j || aG) &&
756                al.cacheComponents &&
757                !au &&
758                (null == at ? void 0 : at.fallbackRouteParams)
759              ) {
760                let a = (0, m.createOpaqueFallbackRouteParams)(
761                  w ?? at.fallbackRouteParams
762                );
763                a && (0, f.addRequestMeta)(b, 'fallbackParams', a);
764              }
765              return n({
766                span: h,
767                postponed: q,
768                fallbackRouteParams: z,
769                forceStaticRender: i,
770              });
771            } catch (a) {
772              throw (
773                (null == e ? void 0 : e.isStale) &&
774                  (await M.onRequestError(
775                    b,
776                    a,
777                    {
778                      routerKind: 'App Router',
779                      routePath: W,
780                      routeType: 'render',
781                      revalidateReason: (0, d.getRevalidateReason)({
782                        isStaticGeneration: aO,
783                        isOnDemandRevalidate: ar,
784                      }),
785                    },
786                    !1,
787                    ak
788                  )),
789                a
790              );
791            }
792          },
793          p = async (a) => {
794            var d, e, g, h, i, j;
795            let k,
796              l = await M.handleResponse({
797                cacheKey: aU,
798                responseGenerator: (b) => o({ span: a, ...b }),
799                routeKind: c.RouteKind.APP_PAGE,
800                isOnDemandRevalidate: ar,
801                isRoutePPREnabled: aF,
802                req: b,
803                nextConfig: al,
804                prerenderManifest: ag,
805                waitUntil: P.waitUntil,
806                isMinimalMode: V,
807              });
808            if (
809              (ah &&
810                O.setHeader(
811                  'Cache-Control',
812                  'private, no-cache, no-store, max-age=0, must-revalidate'
813                ),
814              M.isDev &&
815                O.setHeader('Cache-Control', 'no-cache, must-revalidate'),
816              !l)
817            ) {
818              if (aU)
819                throw Object.defineProperty(
820                  Error('invariant: cache entry required but not generated'),
821                  '__NEXT_ERROR_CODE',
822                  { value: 'E62', enumerable: !1, configurable: !0 }
823                );
824              return null;
825            }
826            if (
827              (null == (d = l.value) ? void 0 : d.kind) !==
828              t.CachedRouteKind.APP_PAGE
829            )
830              throw Object.defineProperty(
831                Error(
832                  `Invariant app-page handler received invalid cache entry ${null == (g = l.value) ? void 0 : g.kind}`
833                ),
834                '__NEXT_ERROR_CODE',
835                { value: 'E707', enumerable: !1, configurable: !0 }
836              );
837            let m = 'string' == typeof l.value.postponed;
838            (az &&
839              !aA &&
840              ao &&
841              O.setHeader(w.NEXT_NAV_DEPLOYMENT_ID_HEADER, ao),
842              aO &&
843                !aL &&
844                (!m || ay) &&
845                (V ||
846                  O.setHeader(
847                    'x-nextjs-cache',
848                    ar
849                      ? 'REVALIDATED'
850                      : l.isMiss
851                        ? 'MISS'
852                        : l.isStale
853                          ? 'STALE'
854                          : 'HIT'
855                  ),
856                O.setHeader(r.NEXT_IS_PRERENDER_HEADER, '1')));
857            let { value: p } = l;
858            if (aJ) k = { revalidate: 0, expire: void 0 };
859            else if (aL) k = { revalidate: 0, expire: void 0 };
860            else if (!M.isDev)
861              if (ah) k = { revalidate: 0, expire: void 0 };
862              else if (aO) {
863                if (l.cacheControl)
864                  if ('number' == typeof l.cacheControl.revalidate) {
865                    if (l.cacheControl.revalidate < 1)
866                      throw Object.defineProperty(
867                        Error(
868                          `Invalid revalidate configuration provided: ${l.cacheControl.revalidate} < 1`
869                        ),
870                        '__NEXT_ERROR_CODE',
871                        { value: 'E22', enumerable: !1, configurable: !0 }
872                      );
873                    k = {
874                      revalidate: l.cacheControl.revalidate,
875                      expire:
876                        (null == (h = l.cacheControl) ? void 0 : h.expire) ??
877                        al.expireTime,
878                    };
879                  } else
880                    k = {
881                      revalidate: w.CACHE_ONE_YEAR_SECONDS,
882                      expire: void 0,
883                    };
884              } else
885                O.getHeader('Cache-Control') ||
886                  (k = { revalidate: 0, expire: void 0 });
887            if (
888              ((l.cacheControl = k),
889              'string' == typeof aM &&
890                (null == p ? void 0 : p.kind) === t.CachedRouteKind.APP_PAGE &&
891                p.segmentData)
892            ) {
893              O.setHeader(r.NEXT_DID_POSTPONE_HEADER, '2');
894              let a =
895                null == (i = p.headers) ? void 0 : i[w.NEXT_CACHE_TAGS_HEADER];
896              V &&
897                aO &&
898                a &&
899                'string' == typeof a &&
900                O.setHeader(w.NEXT_CACHE_TAGS_HEADER, a);
901              let c = p.segmentData.get(aM);
902              return void 0 !== c
903                ? (0, z.sendRenderResult)({
904                    req: b,
905                    res: O,
906                    generateEtags: al.generateEtags,
907                    poweredByHeader: al.poweredByHeader,
908                    result: v.default.fromStatic(c, r.RSC_CONTENT_TYPE_HEADER),
909                    cacheControl: l.cacheControl,
910                  })
911                : ((O.statusCode = 204),
912                  (0, z.sendRenderResult)({
913                    req: b,
914                    res: O,
915                    generateEtags: al.generateEtags,
916                    poweredByHeader: al.poweredByHeader,
917                    result: v.default.EMPTY,
918                    cacheControl: l.cacheControl,
919                  }));
920            }
921            let q = aP
922              ? ((0, f.getRequestMeta)(b, 'onCacheEntryV2') ??
923                (0, f.getRequestMeta)(b, 'onCacheEntry'))
924              : (0, f.getRequestMeta)(b, 'onCacheEntry');
925            if (q) {
926              let a = (0, f.getRequestMeta)(b, 'initURL') ?? b.url,
927                c = a
928                  ? ((null == (j = (0, D.parseUrl)(a)) ? void 0 : j.pathname) ??
929                    a)
930                  : void 0;
931              if (await q(l, { url: c })) return null;
932            }
933            if (p.headers) {
934              let a = { ...p.headers };
935              for (let [b, c] of ((V && aO) ||
936                delete a[w.NEXT_CACHE_TAGS_HEADER],
937              Object.entries(a)))
938                if (void 0 !== c)
939                  if (Array.isArray(c)) for (let a of c) O.appendHeader(b, a);
940                  else
941                    ('number' == typeof c && (c = c.toString()),
942                      O.appendHeader(b, c));
943            }
944            let s =
945              null == (e = p.headers) ? void 0 : e[w.NEXT_CACHE_TAGS_HEADER];
946            if (
947              (V &&
948                aO &&
949                s &&
950                'string' == typeof s &&
951                O.setHeader(w.NEXT_CACHE_TAGS_HEADER, s),
952              !p.status || (az && aF) || (O.statusCode = p.status),
953              !V &&
954                p.status &&
955                F.RedirectStatusCode[p.status] &&
956                az &&
957                (O.statusCode = 200),
958              m && !aL && O.setHeader(r.NEXT_DID_POSTPONE_HEADER, '1'),
959              az && !ah)
960            ) {
961              if (void 0 === p.rscData) {
962                if (p.html.contentType !== r.RSC_CONTENT_TYPE_HEADER)
963                  if (al.cacheComponents)
964                    return (
965                      (O.statusCode = 404),
966                      (0, z.sendRenderResult)({
967                        req: b,
968                        res: O,
969                        generateEtags: al.generateEtags,
970                        poweredByHeader: al.poweredByHeader,
971                        result: v.default.EMPTY,
972                        cacheControl: l.cacheControl,
973                      })
974                    );
975                  else
976                    throw Object.defineProperty(
977                      new G.InvariantError(
978                        `Expected RSC response, got ${p.html.contentType}`
979                      ),
980                      '__NEXT_ERROR_CODE',
981                      { value: 'E789', enumerable: !1, configurable: !0 }
982                    );
983                return (0, z.sendRenderResult)({
984                  req: b,
985                  res: O,
986                  generateEtags: al.generateEtags,
987                  poweredByHeader: al.poweredByHeader,
988                  result: p.html,
989                  cacheControl: l.cacheControl,
990                });
991              }
992              return (0, z.sendRenderResult)({
993                req: b,
994                res: O,
995                generateEtags: al.generateEtags,
996                poweredByHeader: al.poweredByHeader,
997                result: v.default.fromStatic(
998                  p.rscData,
999                  r.RSC_CONTENT_TYPE_HEADER
1000                ),
1001                cacheControl: l.cacheControl,
1002              });
1003            }
1004            let u = p.html;
1005            if (aE && aG) {
1006              let a = !0 === M.isDev ? crypto.randomUUID() : null;
1007              return (
1008                u.pipeThrough(
1009                  await (0, y.createInstantTestScriptInsertionTransformStream)(
1010                    a
1011                  )
1012                ),
1013                (0, z.sendRenderResult)({
1014                  req: b,
1015                  res: O,
1016                  generateEtags: al.generateEtags,
1017                  poweredByHeader: al.poweredByHeader,
1018                  result: u,
1019                  cacheControl: { revalidate: 0, expire: void 0 },
1020                })
1021              );
1022            }
1023            if (!m || V || az)
1024              return (0, z.sendRenderResult)({
1025                req: b,
1026                res: O,
1027                generateEtags: al.generateEtags,
1028                poweredByHeader: al.poweredByHeader,
1029                result: u,
1030                cacheControl: l.cacheControl,
1031              });
1032            if (aG || aH)
1033              return (
1034                u.push(
1035                  new ReadableStream({
1036                    start(a) {
1037                      (a.enqueue(x.ENCODED_TAGS.CLOSED.BODY_AND_HTML),
1038                        a.close());
1039                    },
1040                  })
1041                ),
1042                (0, z.sendRenderResult)({
1043                  req: b,
1044                  res: O,
1045                  generateEtags: al.generateEtags,
1046                  poweredByHeader: al.poweredByHeader,
1047                  result: u,
1048                  cacheControl: { revalidate: 0, expire: void 0 },
1049                })
1050              );
1051            let A = new TransformStream();
1052            return (
1053              u.push(A.readable),
1054              n({
1055                span: a,
1056                postponed: p.postponed,
1057                fallbackRouteParams: null,
1058                forceStaticRender: !1,
1059              })
1060                .then(async (a) => {
1061                  var b, c;
1062                  if (!a)
1063                    throw Object.defineProperty(
1064                      Error('Invariant: expected a result to be returned'),
1065                      '__NEXT_ERROR_CODE',
1066                      { value: 'E463', enumerable: !1, configurable: !0 }
1067                    );
1068                  if (
1069                    (null == (b = a.value) ? void 0 : b.kind) !==
1070                    t.CachedRouteKind.APP_PAGE
1071                  )
1072                    throw Object.defineProperty(
1073                      Error(
1074                        `Invariant: expected a page response, got ${null == (c = a.value) ? void 0 : c.kind}`
1075                      ),
1076                      '__NEXT_ERROR_CODE',
1077                      { value: 'E305', enumerable: !1, configurable: !0 }
1078                    );
1079                  await a.value.html.pipeTo(A.writable);
1080                })
1081                .catch((a) => {
1082                  A.writable.abort(a).catch((a) => {
1083                    console.error("couldn't abort transformer", a);
1084                  });
1085                }),
1086              (0, z.sendRenderResult)({
1087                req: b,
1088                res: O,
1089                generateEtags: al.generateEtags,
1090                poweredByHeader: al.poweredByHeader,
1091                result: u,
1092                cacheControl: { revalidate: 0, expire: void 0 },
1093              })
1094            );
1095          };
1096        if (!a$ || !aZ)
1097          return (
1098            (a = aY.getActiveScopeSpan()),
1099            await aY.withPropagatedContext(
1100              b.headers,
1101              () =>
1102                aY.trace(
1103                  g.BaseServerSpan.handleRequest,
1104                  {
1105                    spanName: `${aX} ${W}`,
1106                    kind: e.SpanKind.SERVER,
1107                    attributes: { 'http.method': aX, 'http.target': b.url },
1108                  },
1109                  p
1110                ),
1111              void 0,
1112              !a$
1113            )
1114          );
1115        await p(aZ);
1116      } catch (a) {
1117        throw (
1118          a instanceof A.NoFallbackError ||
1119            (await M.onRequestError(
1120              b,
1121              a,
1122              {
1123                routerKind: 'App Router',
1124                routePath: W,
1125                routeType: 'render',
1126                revalidateReason: (0, d.getRevalidateReason)({
1127                  isStaticGeneration: aO,
1128                  isOnDemandRevalidate: ar,
1129                }),
1130              },
1131              !1,
1132              ak
1133            )),
1134          a
1135        );
1136      }
1137    }
1138    (a.s(['__next_app__', 0, L, 'handler', 0, N, 'routeModule', 0, M], 78996),
1139      a.i(78996),
1140      a.s(
1141        [
1142          'ClientPageRoot',
1143          () => E.ClientPageRoot,
1144          'ClientSegmentRoot',
1145          () => E.ClientSegmentRoot,
1146          'Fragment',
1147          () => E.Fragment,
1148          'HTTPAccessFallbackBoundary',
1149          () => E.HTTPAccessFallbackBoundary,
1150          'InstantValidation',
1151          () => E.InstantValidation,
1152          'LayoutRouter',
1153          () => E.LayoutRouter,
1154          'LoadingBoundaryProvider',
1155          () => E.LoadingBoundaryProvider,
1156          'Postpone',
1157          () => E.Postpone,
1158          'RenderFromTemplateContext',
1159          () => E.RenderFromTemplateContext,
1160          'RootLayoutBoundary',
1161          () => E.RootLayoutBoundary,
1162          'SegmentViewNode',
1163          () => E.SegmentViewNode,
1164          'SegmentViewStateNode',
1165          () => E.SegmentViewStateNode,
1166          '__next_app__',
1167          0,
1168          L,
1169          'actionAsyncStorage',
1170          () => E.actionAsyncStorage,
1171          'captureOwnerStack',
1172          () => E.captureOwnerStack,
1173          'collectPrefetchHints',
1174          () => E.collectPrefetchHints,
1175          'collectSegmentData',
1176          () => E.collectSegmentData,
1177          'createElement',
1178          () => E.createElement,
1179          'createMetadataComponents',
1180          () => E.createMetadataComponents,
1181          'createPrerenderParamsForClientSegment',
1182          () => E.createPrerenderParamsForClientSegment,
1183          'createPrerenderSearchParamsForClientPage',
1184          () => E.createPrerenderSearchParamsForClientPage,
1185          'createServerParamsForServerSegment',
1186          () => E.createServerParamsForServerSegment,
1187          'createServerSearchParamsForServerPage',
1188          () => E.createServerSearchParamsForServerPage,
1189          'createTemporaryReferenceSet',
1190          () => E.createTemporaryReferenceSet,
1191          'decodeAction',
1192          () => E.decodeAction,
1193          'decodeFormState',
1194          () => E.decodeFormState,
1195          'decodeReply',
1196          () => E.decodeReply,
1197          'handler',
1198          0,
1199          N,
1200          'patchFetch',
1201          () => E.patchFetch,
1202          'preconnect',
1203          () => E.preconnect,
1204          'preloadFont',
1205          () => E.preloadFont,
1206          'preloadStyle',
1207          () => E.preloadStyle,
1208          'prerender',
1209          () => E.prerender,
1210          'renderToReadableStream',
1211          () => E.renderToReadableStream,
1212          'routeModule',
1213          0,
1214          M,
1215          'serverHooks',
1216          () => E.serverHooks,
1217          'taintObjectReference',
1218          () => E.taintObjectReference,
1219          'workAsyncStorage',
1220          () => E.workAsyncStorage,
1221          'workUnitAsyncStorage',
1222          () => E.workUnitAsyncStorage,
1223        ],
1224        36127
1225      ));
1226  },
1227];
1228
1229//# sourceMappingURL=0i1n_next_dist_esm_build_templates_app-page_13cynq6.js.map

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.