1function f(){new p}class p{constructor(){this.init()}init(){this.generateFakeTouristicSheetButton()}get FakeTouriticSheetView(){let t=document.createElement("div");t.classList.add("woody-dev-tools"),t.classList.add("fake-touristic-sheet");let e=document.createElement("div");return e.classList.add("fake-touristic-sheet-button"),e.innerText="Ajouter des dates fictives",e.addEventListener("click",this.generateFakeTouristicSheet),t.appendChild(e),t}generateFakeTouristicSheetButton(){let t=this;document.querySelectorAll(".woody-component-focus").forEach(e=>{e.querySelector(".card-info")!==null&&(e.classList.add("has-fake-touristic-sheet"),e.appendChild(t.FakeTouriticSheetView))})}generateFakeTouristicSheet(t){let e=t.target,i=e.closest(".has-fake-touristic-sheet"),n=e.closest(".woody-dev-tools.fake-touristic-sheet");n.classList.toggle("open"),i.querySelectorAll(".card-info").forEach(r=>{if(!n.classList.contains("open"))e.innerText="Ajouter des dates fictives",r.innerHTML="";else{e.innerText="Retirer les dates fictives";let a=new Date,c={weekday:"short",month:"short",day:"2-digit"},l=a.toLocaleDateString("fr-FR",c),s=new Date(a.setDate(a.getDate()+7));s=s.toLocaleDateString("fr-FR",c);let o=l.split(" "),d=s.split(" "),u=`<div class="card-date grid-y align-center align-middle"><span class="date-part card-startDate"><span class="card-startDate-day">${o[1]}</span><span class="card-startDate-month">${o[2]}</span></span><span class="card-dateDivider wicon wicon-025-suivant"></span><span class="date-part card-endDate"><span class="card-endDate-day">${d[1]}</span><span class="card-endDate-month">${d[2]}</span></span></div>`;r.innerHTML=u}})}}export{f as init};
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.