PageSourceSearch

https://www.poradio.se/build/assets/CountdownTimer-CPL0PtOK.js

js poradio.se collected 2026-10-06 13:59:45 UTC 1,707 bytes, 1 lines download raw bytes

1import{n as e}from"./app-D_BpY8ps.js";import"./vendor-Dz49Qg0x.js";const i={props:{startTime:{type:String,required:!0},endTime:{type:String,required:!0}},data(){return{start:"",end:"",interval:"",days:"",hours:"",minutes:"",seconds:""}},mounted(){this.start=new Date(this.startTime.replace(/-/g,"/")).getTime(),this.end=new Date(this.endTime.replace(/-/g,"/")).getTime(),this.checkTime(),this.interval=setInterval(this.checkTime,1e3)},methods:{checkTime(){const a=new Date().getTime(),t=this.start-a,s=this.end-a;t<0&&s>0&&this.updateCountDown(s)},updateCountDown(a){this.days=Math.floor(a/(1e3*60*60*24)),this.hours=Math.floor(a%(1e3*60*60*24)/(1e3*60*60)),this.minutes=Math.floor(a%(1e3*60*60)/(1e3*60)),this.seconds=Math.floor(a%(1e3*60)/1e3)}}};var n=function(){var t=this,s=t._self._c;return s("div",{staticClass:"countdown-timer"},[s("div",{staticClass:"countdown-item"},[s("span",{staticClass:"number"},[t._v(t._s(t.days))]),s("div",{staticClass:"format"},[t._v("Dagar")])]),s("div",{staticClass:"countdown-separator"},[t._v(" : ")]),s("div",{staticClass:"countdown-item"},[s("span",{staticClass:"number"},[t._v(t._s(t.hours))]),s("div",{staticClass:"format"},[t._v("Timmar")])]),s("div",{staticClass:"countdown-separator"},[t._v(" : ")]),s("div",{staticClass:"countdown-item"},[s("span",{staticClass:"number"},[t._v(t._s(t.minutes))]),s("div",{staticClass:"format"},[t._v("Minuter")])]),s("div",{staticClass:"countdown-separator"},[t._v(" : ")]),s("div",{staticClass:"countdown-item"},[s("span",{staticClass:"number"},[t._v(t._s(t.seconds))]),s("div",{staticClass:"format"},[t._v("Sekunder")])]),s("div",{staticClass:"arrow"})])},r=[],o=e(i,n,r,!1,null,null);const m=o.exports;export{m as default};

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.