PageSourceSearch

https://www.alsacreations.fr/_nuxt/CmY_Hfmd.js

js alsacreations.fr collected 2026-09-24 17:51:52 UTC 2,386 bytes, 1 lines download raw bytes

1import{j as M,X as S,N as L,Y as x,o as r,c as i,F as w,m as I,a as d,t as c,e as $,L as g,O as k}from"./B_VJXJcG.js";const N={class:"log-time"},O={class:"log-path"},H=50,f=300,y=1e3,A={__name:"FxHttpLog",props:{pause:{type:Boolean,default:!1}},setup(E){const m=E,u=[{path:"/",methods:["GET"],statuses:[200,200,200,301]},{path:"/index.html",methods:["GET"],statuses:[200]},{path:"/product/kiwi",methods:["GET"],statuses:[200]},{path:"/product/teapot",methods:["GET"],statuses:[418]},{path:"/contact.php",methods:["GET","POST","POST"],statuses:[200,200,302]},{path:"/api/users",methods:["GET","POST"],statuses:[200,201]},{path:"/assets/css/app.css",methods:["GET"],statuses:[200,304]},{path:"/assets/js/main.js",methods:["GET"],statuses:[200,304]},{path:"/favicon.ico",methods:["GET"],statuses:[200,304]},{path:"/a-propos",methods:["GET"],statuses:[200]},{path:"/services",methods:["GET"],statuses:[200]},{path:"/categorie/fruits",methods:["GET"],statuses:[200]},{path:"/login",methods:["GET","POST"],statuses:[200,401]},{path:"/robots.txt",methods:["GET"],statuses:[200]},{path:"/.env",methods:["GET"],statuses:[404]}],n=g([]),p=g(null);let e=null,T=0;const a=s=>s.toString().padStart(2,"0"),l=()=>{const s=new Date,o=`${a(s.getHours())}:${a(s.getMinutes())}:${a(s.getSeconds())}`,t=u[Math.floor(Math.random()*u.length)],h=t.statuses[Math.floor(Math.random()*t.statuses.length)],_=t.methods[Math.floor(Math.random()*t.methods.length)],v=t.path;n.value.push({id:T++,time:o,status:h,method:_,path:v}),n.value.length>H&&n.value.shift(),k(()=>{p.value&&(p.value.scrollTop=p.value.scrollHeight)});const G=Math.random()*(y-f)+f;e=setTimeout(l,G)};return S(()=>{for(let s=0;s<15;s++){const o=new Date(Date.now()-(15-s)*800),t=`${a(o.getHours())}:${a(o.getMinutes())}:${a(o.getSeconds())}`,h=u[Math.floor(Math.random()*u.length)];n.value.push({id:T++,time:t,status:h.statuses[0],method:h.methods[0],path:h.path})}m.pause||(e=setTimeout(l,500))}),L(()=>m.pause,s=>{s?(clearTimeout(e),e=null):e||l()}),x(()=>{clearTimeout(e)}),(s,o)=>(r(),i("div",{ref_key:"logContainer",ref:p,class:"interactive-http-log"},[(r(!0),i(w,null,I(n.value,t=>(r(),i("div",{key:t.id,class:"log-line"},[d("span",N,c(t.time),1),d("span",{class:$(["log-status",`status-${t.status}`])},c(t.status),3),d("span",O,c(t.method)+" "+c(t.path),1)]))),128))],512))}},C=M(A,[["__scopeId","data-v-18400e2b"]]);export{C 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.