1app_shop.txt.redirectionDisabled="Choose your language and country",RedirectionOptions=function(e){this.params=e||{},this.vars={redirectionElement:document.querySelector(".redirection"),buttonElement:document.querySelector(".redirection__button"),formElement:document.querySelector(".redirection__submit"),destroyed:!1},this.modal=new Modal({element:this.vars.redirectionElement,classList:"--redirection --large",afterClose:e=>{this.destroy();const t=document.getElementById("ck_dsclr_v2");t&&(t.style.display="block")},notInit:!0}),this.checkClosed=()=>!!("redirected"===new URL(document.location).searchParams.get("redirection")||document.cookie.indexOf("redirection=closed")>=0),this.destroy=()=>{this.vars.redirectionElement.remove(),document.cookie="redirection=closed",this.vars.destroyed=!0},this.clearInputs=e=>{this.vars.redirectionElement.querySelectorAll(".redirection__language").forEach((e=>{e.classList.remove("--active")}))},this.events={languageClick:e=>{this.vars.redirectionElement.querySelectorAll(".redirection__language").forEach((e=>{e.classList.remove("--active")}));const t=e.target.closest(".redirection__language");t.classList.add("--active");if(this.vars.redirectionElement.querySelectorAll(".redirection__language:not(.--active) input").forEach((e=>{e.checked=!1})),1===t.querySelectorAll("input").length&&(t.querySelector("input").checked=!0),this.vars.redirectionElement.querySelectorAll(".redirection__language input:checked").length||t.querySelector(".redirection__selector.--any")){const e=t.querySelector(".redirection__selector.--any")?.dataset?.link||t.querySelector("input:checked")?.dataset?.link;this.vars.formElement.action=e,this.vars.buttonElement.classList.remove("--disabled")}else this.vars.buttonElement.classList.add("--disabled")},inputChange:e=>{this.vars.buttonElement.classList.remove("--disabled"),this.vars.formElement.action=e.target.dataset.link},buttonClick:e=>(e.preventDefault(),e.target.classList.contains("--disabled")?(Alertek.Info(app_shop.txt.redirectionDisabled),!1):(this.vars.formElement.submit(),!1))},this.initEvents=()=>{this.vars.redirectionElement.querySelectorAll(".redirection__language > strong").forEach((e=>{e.addEventListener("click",this.events.languageClick)}));this.vars.redirectionElement.querySelectorAll("input").forEach((e=>{e.addEventListener("change",this.events.inputChange)})),this.vars.buttonElement.addEventListener("click",this.events.buttonClick)},this.preInit=()=>{this.checkClosed()&&this.destroy()},this.init=()=>{this.modal.init(),this.initEvents()}},app_shop.fn.redirection=new RedirectionOptions,app_shop.run((function(){app_shop.fn.redirection.preInit(),app_shop.fn.redirection.vars.destroyed||app_shop.fn.redirection.init()}),"all",".redirection");
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.