1import{getLocaleCountry as __telegram_localeCountry,utmParams as utmParamsTgPopup}from"globals";import{__translate as __telegram_translate}from"translate";class TelegramRegistrationPopup{constructor(){this.LINKS={CA:"https://t.me/+zCPotOu2rdY3Yjli",AU:"https://t.me/+zH63rA1jH104ZGMy",DE:"https://t.me/+PoEMVJzfZ80xMDFi",NZ:"https://t.me/+z7LfqODt3SM0Mjg6",DEFAULT:"https://t.me/+zl4s9di40CMyZDli"}}translate(t,s=!1){return __telegram_translate(t,__telegram_localeCountry()||"en",s)||t}init(){this.showPopup()}getLinkByGEO(){const t=storage.getGeoFact()?storage.getGeoFact().toUpperCase():storage.getGeo().toUpperCase();return this.LINKS[t]||this.LINKS.DEFAULT}setAmplitudeParams=(t,s,e)=>{const a=["p_bonus_spin_n","p_bonus_amount","p_bonus_casino","p_bonus_category","p_bonus_country","p_bonus_percent","p_casino_category","p_casino_city","p_casino_country","p_casino_state_usa","p_casino_currency","p_casino_deposit_low","p_casino_payment","p_casino","p_casino_slot_soft","p_game_category","p_slot_category","p_slot","p_slot_payline","p_blog_category","p_blog_article","p_website_category","p_similar_casinos","p_software_bonuses","p_website_page","p_profile_rewards","p_profile_shop","p_home","p_promo_codes_category","p_other"],n=document.body.dataset.routeBonus,o=a.findIndex(t=>t===n),i=o>-1?a[o]:a[a.length-1],r=document.location.href,c={page_url:JSON.stringify(document.location.origin+document.location.pathname),page_url_full:JSON.stringify(r),page_route_id:JSON.stringify(document.body.dataset.routeId),page_current_path:JSON.stringify(document.location.pathname),page_group:JSON.stringify(i),website_domain:JSON.stringify(document.location.hostname),website_country:JSON.stringify(document.body.dataset.geo)};window.dataLayer=window.dataLayer||[],dataLayer.push(Object.assign({event:`addEvents_${t}`,event_id:"d-v1-e1",event_cat:s,event_name:e}
1,c,"function"==typeof utmParamsTgPopup?utmParamsTgPopup():{}))};showPopup(){const t=document.body.dataset.userId,s=storage.getTgRegPopup();t&&!s&&(this.renderPopup(),this.setAmplitudeParams("showBlock","w_website_telegramPopup","view"))}renderPopup(){const t=document.createElement("div");t.id="bonusVault",t.className="bonus-vault active",t.innerHTML=`<div class="bonus-vault__inner">\n <a class="bonus-vault__close-btn js-bonus-vault__close">\n <svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg">\n <rect x="0.5" y="0.5" width="43" height="43" rx="11.5" stroke="white" stroke-opacity="0.4"/>\n <g clip-path="url(#clip0_6206_44597)">\n <path d="M22 20.586L26.95 15.636L28.364 17.05L23.414 22L28.364 26.95L26.95 28.364L22 23.414L17.05 28.364L15.636 26.95L20.586 22L15.636 17.05L17.05 15.636L22 20.586Z" fill="white"/>\n </g>\n <defs>\n <clipPath id="clip0_6206_44597">\n <rect width="24" height="24" fill="white" transform="translate(10 10)"/>\n </clipPath>\n </defs>\n </svg>\n </a>\n <div class="bonus-vault__inner-bg">\n <img src="https://casinoanalyser.com/cdn/communityElements/tg-background.webp" alt="" aria-hidden="true">\n </div>\n <div class="bonus-vault__content">\n <div class="bonus-vault__header">\n <div class="bonus-vault__title">${this.translate("VIP Bonus Vault!")}</div>\n <div class="bonus-vault__subtitle">\n ${this.translate("Daily Exclusive Offers Right In Our Channel!")}\n </div>\n </div>\n <div class="bonus-vault__days">\n <div class="bonus-vault__day day--yesterday">\n <img class="day__icon" src="https://casinosanalyzer.com/cdn/communityElements/icon-yesterday.webp" alt="" aria-hidden="true">\n <p class="day__title">${this.translate("Yesterday")}</p>\n <p class="day__bonus">50 ${this.translate("Telegram Free Spins")}</p>\n </div>\n <div class="bonus-vault__day day--today">\n <img class="day__icon" src="https://casinosanalyzer.com/cdn/communityElements/icon-today.webp" alt="" aria-hidden="true">\n <p class="day__title">${this.translate("Today")}</p>\n <p class="day__bonus">$100 ${this.translate("Telegram Free Chip")}</p>\n </div>\n <div class="bonus-vault__day day--tomorrow">\n <img class="day__icon" src="https://casinosanalyzer.com/cdn/communityElements/icon-tomorrow.webp" alt="" aria-hidden="true">\n <p class="day__title">${this.translate("Tomorrow")}</p>\n <p class="day__bonus">$100K Jackpot</p>\n </div>\n </div>\n <div class="bonus-vault__progress-bar">\n <div class="progress-bar">\n <div class="progress-bar__track">\n <div class="progress-bar__fill"></div>\n </div>\n <div class="progress-bar__dot progress-bar__dot--start"></div>\n <div class="progress-bar__dot progress-bar__dot--active"></div>\n <div class="progress-bar__dot progress-bar__dot--end"></div>\n </div>\n </div>\n <a href="${this.getLinkByGEO()}" target="_blank" class="bonus-vault__cta">\n <img src="https://casinoanalyser.com/cdn/communityElements/tg-icon.webp" alt="" aria-hidden="true" class="bonus-vault__cta-icon">\n <span class="bonus-vault__cta-text">${this.translate("Join Telegram and Claim Bonus")}</span>\n </a>\n </div>\n </div>`,document.body.append(t),document.body.classList.add("popupShown"),this.popupActions()}popupActions(){const t=document.getElementById("bonusVault"),s=document.querySelector(".js-bonus-vault__close"),e=document.querySelector(".bonus-vault__cta");t&&s&&e&&(s.addEventListener("click",()=>{t.classList.remove("active"),document.body.classList.remove("popupS
1hown"),storage.setTgRegPopup(JSON.stringify(!0));const s=new CustomEvent("localStorageChange",{detail:{setTgRegPopup:!0}});window.dispatchEvent(s)}),e.addEventListener("click",()=>{setTimeout(()=>{this.setAmplitudeParams("click","w_website_telegram_Popup","join")},0),t.classList.remove("active"),document.body.classList.remove("popupShown"),storage.setTgRegPopup(JSON.stringify(!0));const s=new CustomEvent("localStorageChange",{detail:{setTgRegPopup:!0}});window.dispatchEvent(s)}))}}const tgRegPopup=new TelegramRegistrationPopup;export{tgRegPopup};
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.