def over_secs
import cswap-bend-cli@0.1.0.0/profile.bend as Profileimport Base
import cswap-bend-cli@0.1.0.0/daemon/config.bend as Cfg
213def over_secs(+m: Maybe<&2, String>, +d: U32, +lo: U32, +hi: U32) -> U32:
214 match m:
215 case Some{t}:
216 (Cfg.field_centi2(Cfg.centi(t), (d * 100 : U32), (lo * 100 : U32), (hi * 100 : U32)) / 100 : U32)
217 case None{}:
218 d