import{C as e,S as t,b as n,v as r}from"./app-elements-CWGamLYk.js";function i(e){return{effectiveRevalidate:e.cacheControlMeta?.revalidate??e.revalidateSeconds,effectiveExpire:e.cacheControlMeta===void 0?void 0:e.cacheControlMeta.expire??e.expireSeconds}}function a(e,i,a,o){if(i===`app-route`){if(a===0)return r;if(a===1/0)return n}return t(e,a,o)}function o(e){if(e.cacheState===`MISS`)return{disposition:`MISS`,scheduleRegeneration:!1,cacheControl:``};let{effectiveRevalidate:t,effectiveExpire:n}=i(e);return e.cacheState===`HIT`?{disposition:`HIT`,scheduleRegeneration:!1,cacheControl:a(`HIT`,e.kind,t,n)}:{disposition:`STALE`,scheduleRegeneration:!0,cacheControl:a(`STALE`,e.kind,t,n)}}function s(t,i){return t===0?r:t===1/0?n:e(t,i)}var c=`vinext.navigationRuntime`;export{s as n,o as r,c as t};