PageSourceSearch

https://asakabank.uz/_nuxt/DbNd8IzD.js

js asakabank.uz collected 2026-10-02 06:58:33 UTC 2,683 bytes, 1 lines download raw bytes

1import{l as $,y as J,o as K,Z as Q,a3 as W,a0 as X,j as h,n as a,P as ee,S as te,U as ae,V as oe}from"./DGn-ehg2.js";const S=1e3,F="abort",H="end",P="progress",k="start",x="visibilitychange",se=$({__name:"Countdown",props:{autoStart:{type:Boolean,default:!0},emitEvents:{type:Boolean,default:!0},interval:{type:Number,default:1e3,validator:o=>o>=0},now:{type:Function,default:()=>Date.now()},tag:{type:String,default:"div"},time:{type:Number,default:0,validator:o=>o>=0},date:{type:Date,default:null,validator:o=>o.getTime()>=0},transform:{type:Function,default:o=>o},withYears:{type:Boolean,default:!1}},emits:[F,H,P,k],setup(o,{expose:U,emit:q}){const i=60*S,v=60*i,c=24*v,N=365*c,t=o,d=q,l=h(!1),f=h(0),e=h(0),y=h(0),s=a(()=>t.date?.getTime()-t.now()||t.time),M=a(()=>t.withYears?Math.floor(e.value/N):0),m=a(()=>t.withYears?Math.floor(e.value%N/c):Math.floor(e.value/c)),D=a(()=>Math.floor(e.value%c/v)),L=a(()=>Math.floor(e.value%v/i)),T=a(()=>Math.floor(e.value%i/S)),b=a(()=>Math.floor(e.value%S)),g=a(()=>t.withYears?m.value+M.value*365:m.value),C=a(()=>Math.floor(e.value/v)),w=a(()=>Math.floor(e.value/i)),O=a(()=>Math.floor(e.value/S));J(()=>{e.value=s.value,f.value=t.now()+s.value,t.autoStart&&_(),document.addEventListener(x,V)}),K(()=>{document.removeEventListener(x,V),n()});const _=()=>{l.value||(l.value=!0,t.autoStart||(e.value=s.value,f.value=t.now()+s.value),t.emitEvents&&d(k),document.visibilityState==="visible"&&I())},I=()=>{if(!l.value)return;const u=Math.min(e.value,t.interval);if(u>0){let p,E;const R=r=>{p||(p=r),E||(E=r);const Y=r-p;Y>=u||Y+(r-E)/2>=u?G():y.value=requestAnimationFrame(R),E=r};y.value=requestAnimationFrame(R)}else A()},n=()=>{cancelAnimationFrame(y.value)},G=()=>{l.value&&(B(),t.emitEvents&&e.value>0&&d(P,{years:M.value,days:m.value,hours:D.value,minutes:L.value,seconds:T.value,milliseconds:b.value,totalDays:g.value,totalHours:C.value,totalMinutes:w.value,totalSeconds:O.value,totalMilliseconds:e.value}),I())},j=()=>{l.value&&(n(),l.value=!1,t.emitEvents&&d(F))},A=()=>{l.value&&(n(),e.value=0,l.value=!1,t.emitEvents&&d(H))},B=()=>{l.value&&(e.value=Math.max(0,f.value-t.now()))},z=()=>{n(),e.value=s.value,f.value=t.now()+s.value,l.value=!1,_()},V=()=>{switch(document.visibilityState){case"visible":B(),I();break;case"hidden":n();break}},Z=a(()=>t.transform({years:M.value,days:m.value,hours:D.value,minutes:L.value,seconds:T.value,milliseconds:b.value,totalDays:g.value,totalHours:C.value,totalMinutes:w.value,totalSeconds:O.value,totalMilliseconds:e.value}));return U({start:_,pause:n,abort:j,end:A,restart:z}),(u,p)=>(ee(),Q(X(o.tag),null,{default:W(()=>[te(u.$slots,"default",ae(oe(Z.value)))]),_:3}))}});export{se 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.