import{k as c,Q as s,m as i}from"./F4mCmN5V.js";const f=6048e5,d=864e5,y=6e4,m=36e5,a=Symbol.for("constructDateFrom");function u(o,n){return typeof o=="function"?o(n):o&&typeof o=="object"&&a in o?o[a](n):o instanceof Date?new o.constructor(n):new Date(n)}function p(o,n){return u(n||o,o)}function R(){const o=c("ready:weather",()=>!1),n=c("ready:countdown",()=>!1),t=i(()=>o.value&&n.value);s(o,e=>console.log("[AppReady] weatherReady:",e)),s(n,e=>console.log("[AppReady] countdownReady:",e)),s(t,e=>{e&&console.log("[AppReady] isReady — loading screen dismissed")});function r(){o.value=!1,n.value=!1}return{weatherReady:o,countdownReady:n,isReady:t,reset:r}}export{d as a,f as b,u as c,y as d,m,p as t,R as u};