PageSourceSearch

https://ramonki.kz/_nuxt/Du6II_Bw.js

js ramonki.kz collected 2026-10-10 02:35:42 UTC 1,051 bytes, 1 lines download raw bytes

1import{L as N}from"./j7Q86fPE.js";import{m as k,c as C,v as o,p as B,$ as E,y as s,M as m,F as d,G as f,H as a,I as h,N as I}from"./ClnuHS-n.js";const O={key:0,class:"timer__days"},$={key:1,class:"timer__hours"},g={class:"timer__minutes"},w={class:"timer__seconds"},v=24*60*60,y=60*60,V=k({__name:"Timer",props:{interval:{},time:{}},emits:["finish"],setup(D,{emit:M}){const n=D,S=M;let r=0;if(n.time){const e=Date.now(),_=Date.parse(n.time),p=Math.floor((_-e)/1e3);p>0&&(r=p)}else r=n.interval??0;const t=C(r),l=o(()=>{const e=t.value%60;return e<10?"0"+e:e}),u=o(()=>{const e=Math.floor(t.value%y/60);return e<10?"0"+e:e}),i=o(()=>Math.floor(t.value%v/y)),c=o(()=>Math.floor(t.value/v));return B(()=>{const e=N(()=>{t.value--,t.value<=0&&(clearInterval(e),S("finish"))},1e3)}),(e,_)=>E(e.$slots,"default",{days:s(c),hours:s(i),minutes:s(u),seconds:s(l)},()=>[m("div",I({class:"timer"},e.$attrs),[s(c)?(d(),f("span",O,a(s(c)),1)):h("",!0),s(i)?(d(),f("span",$,a(s(i)),1)):h("",!0),m("span",g,a(s(u)),1),m("span",w,a(s(l)),1)],16)])}});export{V as _};

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.