BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hacksw/handcal//NONSGML v1.0//EN
BEGIN:VEVENT
SUMMARY:Stage de perfectionnement | Octobre 2026
UID:e2541c8b-18f2-4a7c-8b0f-d7c6090d4bad
DTSTART:20261018T220000Z
DTEND:20261026T230000Z
LOCATION:Localisation   
CATEGORIES:Stage
STATUS:
DESCRIPTION:<div style="background-color:white;">
 <p
 data-path-to-node="1,0">🎯 <b data-index-in-node="3"
 data-path-to-node="1,0">Vous etes competiteur, licencie a la
 F.F.T.A., a la recherche permanente de l'amelioration de vos
 performances ?</b></p>
 
 <p data-path-to-node="1,1">💪 Venez
 profiter de stages de perfectionnement dedies a votre <b
 data-index-in-node="63" data-path-to-node="1,1">technique de tir</b>
 🏹 ou aux <b data-index-in-node="90"
 data-path-to-node="1,1">reglages de votre arc</b> 🔧.</p>
 
 <p
 data-path-to-node="1,1" style="text-align: center;">Ces stages seront
 encadres par <b data-index-in-node="147"
 data-path-to-node="1,1">Andre Juin</b>, Entraineur Brevet d’Etat
 🎓.</p>
 
 <p data-path-to-node="1,1"><a
 href="https://www.lesarchersdelaille.com/saison-2025-2026/actualites-du-club/soiree-de-presentation-du-projet-snap-1256967"
 target="_blank"><img alt=""
 src="https://admin.sportsregions.fr/media/uploaded/sites/5462/kcupload/images/2025-2026/SNAP-LOGO.png"
 style="margin-left: 2px; margin-right: 2px; float: left; width: 60px;
 height: 70px;" /></a>🎯 <strong>SNAP & enregistrement de vos
 tirs</strong><br />
 Durant le stage, vous beneficierez d'une analyse
 video de votre tir via le <em><a
 href="https://www.lesarchersdelaille.com/saison-2025-2026/actualites-du-club/soiree-de-presentation-du-projet-snap-1256967"
 target="_blank"><span style="color:#2980b9;">systeme
 SNAP</span></a></em>.<br />
 📁 <em>Prevoyez une cle USB pour
 recuperer vos enregistrements a la fin de la seance.</em></p>
 
 <table
 style="margin: 20px auto; border-collapse: collapse; width: 80%;
 font-family: 'Segoe UI', sans-serif; text-align: center; box-shadow:
 0 4px 8px rgba(0,0,0,0.1);">
 	<thead style="background-color:
 #f8f9fa;">
 		<tr>
 			<th style="padding: 15px; border-bottom: 2px
 solid #ddd;">🗓️ Details</th>
 			<th style="padding: 15px;
 border-bottom: 2px solid #ddd;"><a
 href="https://www.lesarchersdelaille.com/evenements/2026/10/19/stage-de-perfectionnement-octobre-2026-2509796#formulaire_page"
 target="_self"><span
 style="color:#3498db;"><u>✍️ Inscription✍️</u></span></a></th>
 		</tr>
 		<tr>
 			<td
 style="padding: 12px; border: 1px solid rgb(238, 238, 238);
 background-color: rgb(102, 204, 204);">Lundi 19 octobre (2 seances
 👥 de 3 heures 🕒)</td>
 			<td style="padding: 12px; border: 1px
 solid rgb(238, 238, 238); background-color: rgb(102, 204,
 204);"><em><span style="font-size:16px"><span
 style="color:#c0392b">Avant le vendredi 16
 octobre inclus</span></span></em></td>
 		</tr>
 		<tr>
 			<td
 style="padding: 12px; border: 1px solid rgb(238, 238, 238);
 background-color: rgb(102, 153, 204);">Vendredi 23
 octobre (2 seances 👥 de 3 heures 🕒)</td>
 			<td
 style="padding: 12px; border: 1px solid rgb(238, 238, 238);
 background-color: rgb(102, 153, 204);"><em><span
 style="font-size:16px"><span style="color:#c0392b">Avant le vendredi
 16 octobre inclus</span></span></em></td>
 		</tr>
 		<tr>
 			<td
 style="padding: 12px; border: 1px solid rgb(238, 238, 238);
 background-color: rgb(102, 204, 204);">Lundi 26 octobre (2 seances
 👥 de 3 heures 🕒)</td>
 			<td style="padding: 12px; border: 1px
 solid rgb(238, 238, 238); background-color: rgb(102, 204,
 204);"><em><span style="font-size:16px"><span
 style="color:#c0392b">Avant le vendredi 23
 octobre inclus</span></span></em></td>
 		</tr>
 		<tr>
 			<td
 colspan="2" style="padding: 12px; border: 1px solid rgb(238, 238,
 238); background-color: rgb(255, 255, 204);"> <span
 style="color:#f39c12;">ℹ️ <em>Les seances du matin du lundi 19
 et du lundi 26 pourront etre dediees aux reglages du materiel pour
 la saison salle.</em></span></td>
 		</tr>
 	</thead>
 </table>
 
 <hr
 style="height:4px;border-width:0px;color:grey;background-color:#494949"
 /><script>
 // 1. Configuration
 const CONFIG = {
     dateDebut:
 "2026-10-19",
     dateFin: "2026-10-26",
     conteneurId:
 "conteneur_champ_cocher_la_les__seance_s__de_votre_choix"
 };
 
 // 2.
 Fonction de parsing
 function extraireDateDepuisTexte(texte) {
    
 const moisFr = {
         "janvier": 0, "fevrier": 1, "mars": 2,
 "avril": 3, "mai": 4, "juin": 5,
         "juillet": 6, "aout": 7,
 "septembre": 8, "octobre": 9, "novembre": 10, "decembre": 11
     };
  
   const regex = /(\d{1,2})\s+([a-zaaceeeeiiouuyñ]+)/i;
     const
 match = texte.toLowerCase().match(regex);
 
     if (match) {
        
 const jour = parseInt(match[1], 10);
         const nomMois =
 match[2];
         if (moisFr.hasOwnProperty(nomMois)) {
            
 // Creation de la date et remise a zero des heures pour comparaison
 fiable
             const date = new Date(new Date().getFullYear(),
 moisFr[nomMois], jour);
             date.setHours(0, 0, 0, 0);
       
      return date;
         }
     }
     return null;
 }
 
 // 3. Logique
 de filtrage (plage bornes incluses)
 function
 appliquerFiltre(observer) {
     const conteneur =
 document.getElementById(CONFIG.conteneurId);
     if (!conteneur)
 return;
 
     observer.disconnect();
 
     // Initialisation des bornes
 avec remise a zero des heures
     const start = CONFIG.dateDebut ?
 new Date(CONFIG.dateDebut + "T00:00:00") : null;
     const end =
 CONFIG.dateFin ? new Date(CONFIG.dateFin + "T00:00:00") : null;
     
 
    const options = conteneur.querySelectorAll(".form-check,
 .checkbox, label");
 
     options.forEach(option => {
         const
 texte = option.innerText || option.textContent;
         const
 dateOption = extraireDateDepuisTexte(texte);
         
         if
 (dateOption) {
             // Verification inclusive (>= et <=)
      
       const estDansLaPlage = (start && dateOption >= start) && (end
 && dateOption <= end);
             
             // Si dans la plage
 (inclus), on AFFICHE (visible = true)
             // Si hors plage,
 on MASQUE (visible = false)
             const visible =
 estDansLaPlage;
 
             const elementAMasquer =
 option.closest(".form-group-option") || option.closest(".form-check")
 || option;
             
             if (elementAMasquer.style.display
 !== (visible ? "" : "none")) {
                
 elementAMasquer.style.display = visible ? "" : "none";
             }
 
        }
     });
 
     if (typeof window.mettreAJourTotal ===
 'function') {
         window.mettreAJourTotal();
     }
 
    
 observer.observe(document.body, { childList: true, subtree: true
 });
 }
 
 // 4. Initialisation
 const observer = new MutationObserver(()
 => {
     appliquerFiltre(observer);
 });
 
 if
 (document.getElementById(CONFIG.conteneurId)) {
    
 appliquerFiltre(observer);
 } else {
    
 observer.observe(document.body, { childList: true, subtree: true
 });
 }
 </script></div>
URL;VALUE=URI:https://www.lesarchersdelaille.com/evenements/2026/10/19/stage-de-perfectionnement-octobre-2026-2509796
END:VEVENT
END:VCALENDAR
