lass="token punctuation">{</span>
  <span class="token function">beforeModel</span><span class="token punctuation">(</span><span class="token parameter">transition</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>
    <span class="token keyword">if</span> <span class="token punctuation">(</span><span class="token keyword">new</span> <span class="token class-name">Date</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="tok