PageSourceSearch

https://www.avproglobal.com/cdn/shop/t/38/assets/custom.js?v=164066212055938751731791562835

js avproglobal.com collected 2026-10-09 22:53:37 UTC 39,780 bytes, 2 lines download raw bytes

1var html_tag=document.documentElement,img_lazy=document.querySelectorAll("img[data-src]:not(.dont), picture[data-srcset]:not(.dont)"),content_id=document.getElementById("content"),top_id=document.getElementsByClassName("shopify-section-header")[0],header_id=document.getElementById("header"),header_inner=document.getElementById("header-inner"),header_outer_id=document.getElementById("header-outer"),nav_id=document.getElementById("nav"),nav_bar_id=document.getElementById("nav-bar"),nav_outer=document.getElementById("nav-outer"),isMobile=!1,i;for(i=0;i<img_lazy.length;i=i+1)img_lazy[i].classList.add("lazy"),img_lazy[i].hasAttribute("src")||img_lazy[i].setAttribute("src",img_lazy[i].getAttribute("data-src"));(window.mobileCheck()||isTouchDevice())&&(isMobile=!0);var listCollectionSliderEvt=new CustomEvent("listCollectionSlider"),announcementSliderEvt=new CustomEvent("announcementSlider"),moduleFeaturedSliderEvt=new CustomEvent("moduleFeaturedSlider"),listProductSliderEvt=new CustomEvent("listProductSlider"),listUspSliderEvt=new CustomEvent("listUspSlider"),listTestimonialsSliderEvt=new CustomEvent("listTestimonialsSlider"),listStaticSliderEvt=new CustomEvent("listStaticSlider"),searchClassesEvt=new CustomEvent("searchClasses"),createColsEvt=new CustomEvent("createCols"),moduleTabsEvt=new CustomEvent("moduleTabs"),formZindexEvt=new CustomEvent("formZindex"),ratingsEvt=new CustomEvent("ratings"),inputPaddingEvt=new CustomEvent("inputPadding"),checkLogoHeightEvt=new CustomEvent("checkLogoHeight"),backgroundEvt=new CustomEvent("background");function toggle_dropdowns_simple(el){"use strict";el.classList.contains("toggle")?el.classList.remove("toggle"):el.classList.add("toggle")}function append_url(el,content,className,href,access){"use strict";var link=createElementWithClass("a",className);href?link.href=href:link.href="./",access===!0&&(link.setAttribute("tabindex",-1),link.setAttribute("aria-hidden",!0),link.setAttribute("focusable",!1)),link.innerHTML+=content,el!==void 0&&el.appendChild(link)}function wrap(el,wrapper,className){"use strict";el.parentNode.insertBefore(wrapper,el),className&&wrapper.classList.add(className),wrapper.appendChild(el)}function new_css(id,href,media){"use strict";if(!document.getElementById(id)){var a=document.createElement("link"),b=document.querySelectorAll("link[id]");media===void 0&&(media="screen"),a.setAttribute("id",id),a.setAttribute("rel","stylesheet"),a.setAttribute("href",href),a.setAttribute("media",media),a.setAttribute("id",id),b.length?Array.from(b).forEach(function(el){el.after(a)}):document.head.appendChild(a)}}var root_styles=document.querySelector(":root");function getScrollbarWidth(){root_styles.style.setProperty("--scrollbar_width",window.innerWidth-html_tag.clientWidth+"px")}getScrollbarWidth();function create_slider(el,settings,minSlides){"use strict";var sliderElement=el,divContent,items,paginationClass,dots,dots_cont,prev,next;return el.children.length>1&&(el.tagName.toLowerCase()==="ul"&&(Array.from(el.children).forEach(function(child){var addClass="li",divLi;child.hasAttribute("class")&&(addClass="li "+child.getAttribute("class")),divLi=document.createElement("div"),divLi.className=addClass,divLi.innerHTML=child.innerHTML,child.parentNode.replaceChild(divLi,child)}),divContent=document.createElement("div"),divContent.className=el.getAttribute("class"),divContent.innerHTML=el.innerHTML,el.hasAttribute("data-random")&&divContent.setAttribute("data-random",el.getAttribute("data-random")),el.parentNode.replaceChild(divContent,el),sliderElement=divContent),items=sliderElement.children,minSlides||(minSlides=1),items.length>parseFloat(minSlides))?(paginationClass=settings&&settings.pagination&&settings.pagination.el||".swiper-pagination",paginationClass=paginationClass.replace(/\./g," ").trim(),dots=createElementWithClass("span",paginationClass),prev=createElementWithClass("span","swiper-button-prev"),next=createElementWithClass("span","swiper-button-next"),sliderElement.classList.add("s4wi"),Array.from(items).forEach(function(el2){wrap(el2,document.createElement("div"),"swiper-slide")}),sliderElement.innerHTML='<div class="swiper-outer"><div class="swiper-wrapper">'+sliderElement.innerHTML+'</div></div> <div class="swiper-custom-pagination"></div>',dots_cont=sliderElement.getElementsByClassName("swiper-custom-pagination")[0],settings&&settings.pagination?(settings.pagination.el=settings.pagination.el||"."+paginationClass,dots_cont.appendChild(prev),dots_cont.appendChild(dots),dots_cont.appendChild(createElementWithClass("span","swiper-custom-fraction")),dots_cont.appendChild(next)):(sliderElement.appendChild(prev),sliderElement.appendChild(next)),new Swiper(sliderElement.children[0],settings)):null}function clone_with_class(el,cl1,cl2){"use strict";var cln=el.cloneNode(!0);cln.classList.add(cl1),el.after(cln),el.classList.add(cl2)}function randomize(el){"use strict";el.setAttribute("data-random",Math.floor(Math.random()*1e4)+1)}function new_js(el){"use strict";var tag=document.createElement("script");tag.src=el,document.body.appendChild(tag)}function isTouchDevice(){return!!window.matchMedia("(pointer: coarse)").matches}function checkIfImageExists(url,callback){"use strict";const img=new Image;img.src=url,img.complete?callback(!0):(img.onload=()=>{callback(!0)},img.onerror=()=>{callback(!1)})}document.addEventListener("DOMContentLoaded",function(){"use strict";yall({observeChanges:!0,threshold:500});var header_id2,footer_id=document.getElementById("shopify-section-footer"),content_id2=document.getElementById("content"),logo_
1id=document.getElementById("logo"),nav_main,nav_id2=document.getElementById("nav"),nav_bar_id2=document.getElementById("nav-bar"),search_id=document.getElementById("search"),top_bar,Default={utils:{start:function(){html_tag.classList.add("js")},links:function(){var breadcrumb_back=document.querySelectorAll(".breadcrumb-back");breadcrumb_back.length&&Array.from(breadcrumb_back).forEach(function(el){document.referrer.indexOf(window.location.host)!==-1?el.addEventListener("click",function(e){return history.go(-1),!1}):el.remove()})},mails:function(){var email_tag=document.getElementsByClassName("email");email_tag.length&&Array.from(email_tag).filter(function(el){return el.tagName.toLowerCase()!=="input"&&el.tagName.toLowerCase()!=="div"}).forEach(function(el){el.innerHTML=el.innerHTML.replace("//","@"),el.tagName.toLowerCase()==="a"&&el.setAttribute("href","mailto:"+el.innerText)})},forms:function(){var form_children,select_tag=document.getElementsByTagName("select");window.addEventListener("formZindex",function(evt){select_tag.length&&Array.from(select_tag).forEach(function(el){el.parentNode.classList.add("has-select"),el.closest("p")!==null&&el.closest("p").classList.add("has-select"),el.addEventListener("change",function(){el.classList.add("changed")})}),form_children=document.querySelectorAll("form > *, fieldset > *, .no-zindex, .no-zindex > *, .has-select, .f8pr > *"),form_children.length&&Array.from(form_children).forEach(function(el,index){el.style.zIndex=form_children.length-index})}),window.dispatchEvent(formZindexEvt),select_tag=document.getElementsByTagName("select"),select_tag.length&&Array.from(select_tag).forEach(function(el){el.addEventListener("change",function(){el.classList.add("changed")})}),window.addEventListener("inputPadding",function(evt){var input_prefix,input_suffix;input_prefix=document.querySelectorAll(".input-prefix > span:first-child"),input_prefix.length&&Array.from(input_prefix).forEach(function(el){var c=el.nextElementSibling;el.offsetWidth!=0&&(html_tag.getAttribute("dir")==="rtl"?c.style.paddingRight=el.offsetWidth+"px":c.style.paddingLeft=el.offsetWidth+"px")}),input_suffix=document.querySelectorAll(".input-suffix > span:first-child"),input_suffix.length&&Array.from(input_suffix).forEach(function(el){var c=el.nextElementSibling;html_tag.getAttribute("dir")==="rtl"?c.style.paddingLeft=el.offsetWidth+"px":c.style.paddingRight=el.offsetWidth+"px"})}),setTimeout(function(){window.dispatchEvent(inputPaddingEvt)},500)},top:function(){window.addEventListener("checkLogoHeight",function(evt){search_id=document.getElementById("search"),logo_id=document.getElementById("logo"),nav_id2=document.getElementById("nav"),nav_bar_id2=document.getElementById("nav-bar");function checkLogoHeight(el){if(search_id&&search_id.classList.contains("text-center-sticky")&&(!search_id.classList.contains("compact")||search_id.classList.contains("compact-mobile"))){var header_outer_id2=document.getElementById("header-outer"),linkBtnInHeader=header_outer_id2.querySelectorAll(".link-btn:not(.hidden)")[0];header_outer_id2&&(linkBtnInHeader!==void 0?(logo_id.style.maxWidth=.5*(header_outer_id2.clientWidth-search_id.offsetWidth)-linkBtnInHeader.clientWidth+"px",logo_id.classList.add("super-small")):logo_id.style.maxWidth=.5*(header_outer_id2.clientWidth-search_id.offsetWidth)+"px")}Array.from(el).forEach(function(el2){el2.clientHeight>el2.parentNode.clientHeight&&(header_id2=document.getElementById("shopify-section-header"),el2.classList.add("long-text"),el2.closest("#logo").classList.add("has-long-text"),header_id2.classList.add("has-long-text"))})}if(logo_id){var logo_text=logo_id.querySelectorAll("span");Array.from(logo_id.querySelectorAll("img[alt]")).forEach(function(el){var pt=el.parentNode,span;checkIfImageExists(el.getAttribute("src"),exists=>{exists||(span=document.createElement("span"),span.innerHTML=el.getAttribute("alt"),pt.appendChild(span),pt.classList.add("broken-img"))})}),setTimeout(function(){checkLogoHeight(logo_text),logo_id.classList.contains("logo-text")&&logo_id.classList.remove("logo-text")},100),window.addEventListener("resize",function(){checkLogoHeight(logo_text)})}nav_id2&&(nav_main=nav_id2),nav_bar_id2&&(nav_main=nav_bar_id2);function countNavDist(el,em){var el_off,el_tr=0,d,f;d=el.dataset.copy,f=nav_main.querySelectorAll('.show-all li[data-copy="'+d+'"]')[0],el.classList.contains("temp-hidden")&&(el.classList.remove("temp-hidden"),typeof f<"u"&&f.classList.remove("temp-hidden")),html_tag.getAttribute("dir")==="rtl"?el_off=nav_main.clientWidth-el.offsetLeft-el.clientWidth:el_off=el.offsetLeft,el.parentElement.querySelectorAll(".temp-hidden:not(.show-all)").length>0&&(el_tr=1.2),nav_main.clientWidth<el_off+el.clientWidth+em*el_tr?(el.classList.add("temp-hidden"),typeof f<"u"&&f.classList.add("temp-hidden")):(el.classList.remove("temp-hidden"),typeof f<"u"&&f.classList.remove("temp-hidden"))}function countNavDistF(el,em,en){el.clientWidth>nav_main.clientWidth?(nav_main.classList.contains("text-center")&&(nav_main.classList.remove("text-center"),nav_main.classList.add("have-text-center")),html_tag.classList.add("has-long-nav"),em.length&&(en=em[0].clientWidth),Array.from(el.children).forEac
1h(function(eo){countNavDist(eo,en),window.addEventListener("resize",function(){countNavDist(eo,en)})})):(html_tag.classList.remove("has-long-nav"),nav_main.classList.contains("have-text-center")&&nav_main.classList.add("text-center"))}if(nav_id2||nav_bar_id2){var nmu=nav_main.querySelectorAll("[data-type]")[0],nml=nmu.querySelectorAll("li.show-all"),nms=0,nmt,all_submenu;Array.from(nmu.children).forEach(function(el,index){el.setAttribute("data-copy",nmu.children.length-index)}),nml.length&&(all_submenu=createElementWithClass("ul","show-all-submenu"),nml[0].appendChild(all_submenu),nmt=nml[0].closest("ul").children,Array.from(nmt).forEach(function(el){"use strict";var clone_me=el.cloneNode(!0);nml[0].querySelectorAll(".show-all-submenu")[0].appendChild(clone_me)}),countNavDistF(nmu,nml,nms),setTimeout(function(){countNavDistF(nmu,nml,nms)},100),window.addEventListener("resize",function(){html_tag.classList.add("has-long-nav"),countNavDistF(nmu,nml,nms)}))}}),window.dispatchEvent(checkLogoHeightEvt),window.addEventListener("searchClasses",function(evt){search_id=document.getElementById("search"),search_id&&search_id.classList.contains("compact")&&(search_id.classList.contains("compact-desktop")?html_tag.classList.add("t1sr-desktop"):search_id.classList.contains("compact-mobile")?html_tag.classList.add("t1sr-mobile"):html_tag.classList.add("t1sr"),search_id.classList.contains("text-center-sticky")&&html_tag.classList.add("search-compact-is-centered"))}),window.dispatchEvent(searchClassesEvt)},footer:function(){footer_id&&Array.from(footer_id.querySelectorAll("h1, h2, h3, h4, h5, h6")).forEach(function(el){append_url(el,"Close","header-toggle"),el.querySelector("a.header-toggle").addEventListener("click",function(e){toggle_dropdowns_simple(el.parentElement),e.preventDefault()})}),window.addEventListener("background",function(evt){document.querySelector("#background.done")&&document.querySelector("#background.done").remove();var background_id=document.getElementById("background");background_id&&!background_id.classList.contains("static")&&(background_id.parentNode.id==="content"||background_id.parentNode.classList.contains("shopify-section"))&&(document.getElementById("root").appendChild(background_id),background_id.classList.add("done"))}),window.dispatchEvent(backgroundEvt)},mobile:function(){isMobile?html_tag.classList.add("mobile"):html_tag.classList.add("no-mobile")},done:function(){new_js("//www.avproglobal.com/cdn/shop/t/38/assets/scripts-async.js?v=84264778929895210171791305296")},ratings:function(){window.addEventListener("ratings",function(evt){var rating_element=document.querySelectorAll("[data-val][data-of]:not(.rating-initialized)");rating_element.length&&Array.from(rating_element).forEach(function(el){var reviewsElem=createElementWithClass("span","rating-label"),reviews=el.innerHTML,rating=el.dataset.val,total=el.dataset.of;el.classList.contains("s1br")?reviewsElem.innerHTML='<span class="bar" style="width: '+rating/total*100+'%;"></span>':(el.innerHTML="",el.append(createRatingsHtmlElement(rating,total)),reviewsElem.innerHTML=reviews),el.appendChild(reviewsElem),el.classList.add("rating-initialized")})}),window.dispatchEvent(ratingsEvt)},backgrounds:function(){var align_middle=document.getElementsByClassName("align-middle"),align_center=document.getElementsByClassName("align-center");align_middle.length&&Array.from(align_middle).forEach(function(el){var em=el.parentNode,en=em.parentNode;(el.previousElementSibling===null&&el.nextElementSibling===null&&em.id==="content"||el.previousElementSibling===null&&el.nextElementSibling===null&&em.previousElementSibling===null&&em.nextElementSibling===null&&en.id==="content")&&document.getElementById("content").classList.add("align-center")}),align_center.length&&Array.from(align_center).forEach(function(el){var em=el.parentNode,en=em.parentNode;(el.previousElementSibling===null&&el.nextElementSibling===null&&em.id==="content"||el.previousElementSibling===null&&el.nextElementSibling===null&&em.previousElementSibling===null&&em.nextElementSibling===null&&en.id==="content")&&document.getElementById("content").classList.add("align-center-static")})},tabs:function(){window.addEventListener("moduleTabs",function(evt){if(content_id2){var module_tabs=content_id2.getElementsByClassName("m6tb");
1module_tabs.length&&Array.from(module_tabs).forEach(function(el){typeof semanticTabs=="function"&&!el.classList.contains("tabs-initialized")&&semanticTabs(el),el.classList.add("tabs-initialized")})}}),window.dispatchEvent(moduleTabsEvt)},swipers:function(){var module_featured,list_panel_slider,list_testimonials,list_static,list_usp,popup_a,list_collection_slider,module_collection,list_product_slider,data_update_product_slider,autoplay_top_int;window.addEventListener("moduleFeaturedSlider",function(event){module_featured=document.querySelectorAll(".m6fr:not(.s4wi)"),module_featured.length&&Array.from(module_featured).forEach(function(el){var pagination_type="bullets",autoplay_int=!1,total_sl=el.children.length,featuredSlider;el.classList.contains("slider-fraction")&&(pagination_type="fraction"),el.getAttribute("data-autoplay")&&(autoplay_int={delay:parseFloat(el.getAttribute("data-autoplay")),pauseOnMouseEnter:!0}),randomize(el),featuredSlider=create_slider(el,{direction:"horizontal",loop:!0,autoHeight:!0,resizeObserver:!0,lazy:{loadPrevNext:!0,loadOnTransitionStart:!0},autoplay:autoplay_int,threshold:50,pagination:{el:".swiper-pagination-"+el.getAttribute("data-random"),clickable:!0,type:pagination_type},navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},on:{slideChangeTransitionStart:function(swiper){Array.from(el.querySelectorAll(".swiper-slide > article.aside")).forEach(function(em){em.parentNode.classList.add("has-aside")});var active_content=swiper.el.querySelectorAll('.swiper-slide[data-swiper-slide-index="'+swiper.realIndex+'"] > article')[0];typeof active_content<"u"&&el.setAttribute("data-active-content",active_content.getAttribute("class")),swiper.realIndex>0?el.classList.add("changed"):el.classList.remove("changed"),swiper.realIndex+1===total_sl?el.classList.add("last-slide-active"):el.classList.remove("last-slide-active")},resize:function(swiper){typeof Shopify<"u"&&Shopify.designMode&&Array.from(featuredSlider.slides).forEach(function(){featuredSlider.slideNext(0)}),setTimeout(function(){featuredSlider.updateAutoHeight()},500)}}}),featuredSlider!==null&&(el.getAttribute("data-autoplay")&&!el.classList.contains("no-controls")&&(append_url(el,"Play/Pause","play-pause"),el.getElementsByClassName("play-pause")[0].addEventListener("click",function(e){el.classList.contains("paused")?(el.classList.remove("paused"),featuredSlider.autoplay.start()):(el.classList.add("paused"),featuredSlider.autoplay.stop()),e.preventDefault()})),el.addEventListener("mouseleave",function(){el.getAttribute("data-autoplay")&&!el.classList.contains("paused")&&(el.classList.remove("paused"),featuredSlider.autoplay.start())}),window.addEventListener("resize",function(event2){html_tag.classList.add("resized")},!0),setTimeout(function(){featuredSlider.updateAutoHeight()},500)),el.classList.contains("s4wi")&&setTimeout(function(){typeof updateSlidersEvt<"u"&&window.dispatchEvent(updateSlidersEvt)},300)})}),window.dispatchEvent(moduleFeaturedSliderEvt),window.addEventListener("announcementSlider",function(event){top_bar=document.querySelector("#shopify-section-announcement-bar:not(.s4wi)"),top_bar&&top_bar.children.length>1&&(autoplay_top_int=!1,top_bar.getAttribute("data-autoplay")&&(autoplay_top_int={delay:parseFloat(top_bar.getAttribute("data-autoplay")),pauseOnMouseEnter:!0,disableOnInteraction:!1}),top_bar.getElementsByClassName("no-nav").length&&top_bar.classList.add("no-nav"),randomize(top_bar),create_slider(top_bar,{direction:"horizontal",loop:!0,autoHeight:!0,lazy:{loadPrevNext:!0},autoplay:autoplay_top_int,pagination:!1,navigation:{nextEl:'[data-random="'+top_bar.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+top_bar.getAttribute("data-random")+'"] .swiper-button-prev'}}))}),window.dispatchEvent(announcementSliderEvt),list_panel_slider=document.getElementsByClassName("l4ps"),list_panel_slider.length&&Array.from(list_panel_slider).forEach(function(el){var pagination_type="bullets",autoplay_int=!1,total_sl=el.children.length;el.classList.contains("slider-fraction")&&(pagination_type="fraction"),el.getAttribute("data-autoplay")&&(autoplay_int={delay:parseFloat(el.getAttribute("data-autoplay")),pauseOnMouseEnter:!0,disableOnInteraction:!1}),randomize(el),create_slider(el,{direction:"horizontal",loop:!1,autoHeight:!0,lazy:{loadPrevNext:!0},autoplay:autoplay_int,pagination:{el:".swiper-pagination-"+el.getAttribute("data-random"),clickable:!0,type:pagination_type},navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},on:{slideChangeTransitionStart:function(swiper){swiper.realIndex>0?swiper.$el[0].parentNode.classList.add("changed"):swiper.$el[0].parentNode.classList.remove("changed"),swiper.realIndex+1===total_sl?swiper.$el[0].parentNode.classList.add("last-slide-active"):swiper.$el[0].parentNode.classList.remove("last-slide-active")}}})}),window.addEventListener("listTestimonialsSlider",function(event){list_testimonials=document.querySelectorAll(".l4ts:not
1(.s4wi)"),list_testimonials.length&&Array.from(list_testimonials).forEach(function(el){var ln=[1,2,3],pagination_type="bullets",autoplay_int=!1,total_sl=el.children.length,options;(el.classList.contains("wide")||el.classList.contains("w100"))&&(ln=[1,1,1]),el.classList.contains("w50")&&(ln=[1,2,2]),el.classList.contains("slider-fraction")&&(pagination_type="fraction"),el.getAttribute("data-autoplay")&&(autoplay_int={delay:parseFloat(el.getAttribute("data-autoplay")),pauseOnMouseEnter:!0,disableOnInteraction:!1}),randomize(el),options={direction:"horizontal",loop:!0,autoHeight:!0,spaceBetween:16,slidesPerView:ln,slidesPerGroup:ln,autoplay:autoplay_int,pagination:{el:".swiper-pagination-"+el.getAttribute("data-random"),clickable:!0,type:pagination_type},navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},on:{slideChangeTransitionStart:function(swiper){swiper.realIndex>0?swiper.$el[0].parentNode.classList.add("changed"):swiper.$el[0].parentNode.classList.remove("changed"),swiper.realIndex+1===total_sl?swiper.$el[0].parentNode.classList.add("last-slide-active"):swiper.$el[0].parentNode.classList.remove("last-slide-active")}},breakpoints:{0:{slidesPerView:ln[0],slidesPerGroup:ln[0]},760:{slidesPerView:ln[1],slidesPerGroup:ln[1]},1e3:{slidesPerView:ln[2],slidesPerGroup:ln[2]}}},el.classList.contains("slider")&&el.children.length>ln[2]&&create_slider(el,options),el.classList.contains("slider-mobile")&&el.children.length>ln[0]&&(clone_with_class(el,"mobile-only","mobile-hide"),el.nextElementSibling.classList.contains("mobile-only")&&create_slider(el.nextElementSibling,options))})}),window.dispatchEvent(listTestimonialsSliderEvt),window.addEventListener("listStaticSlider",function(event){list_static=document.querySelectorAll(".l4st:not(.s4wi)"),list_static.length&&Array.from(list_static).forEach(function(el){var pagination_type="bullets",autoplay_int=!1,total_sl=el.children.length;el.classList.contains("slider-fraction")&&(pagination_type="fraction"),el.getAttribute("data-autoplay")&&(autoplay_int={delay:parseFloat(el.getAttribute("data-autoplay")),pauseOnMouseEnter:!0,disableOnInteraction:!1}),randomize(el),clone_with_class(el,"mobile-only","mobile-hide"),el.nextElementSibling.classList.contains("mobile-only")&&create_slider(el.nextElementSibling,{direction:"horizontal",loop:!0,autoHeight:!0,spaceBetween:16,autoplay:autoplay_int,pagination:{el:".swiper-pagination-"+el.getAttribute("data-random"),clickable:!0,type:pagination_type},navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},on:{slideChangeTransitionStart:function(swiper){swiper.realIndex>0?swiper.$el[0].parentNode.classList.add("changed"):swiper.$el[0].parentNode.classList.remove("changed"),swiper.realIndex+1===total_sl?swiper.$el[0].parentNode.classList.add("last-slide-active"):swiper.$el[0].parentNode.classList.remove("last-slide-active")}}})})}),window.dispatchEvent(listStaticSliderEvt),window.addEventListener("listUspSlider",function(event){list_usp=document.querySelectorAll(".l4us:not(.s4wi)"),list_usp.length&&Array.from(list_usp).forEach(function(el){if(!el.classList.contains("static")){var options,autoplay_int=!1,autowidth_int=1,space_between;el.classList.contains("no-arrows")?space_between=16:space_between=44,el.getAttribute("data-autoplay")&&(autoplay_int={delay:parseFloat(el.getAttribute("data-autoplay")),pauseOnMouseEnter:!0,disableOnInteraction:!1}),randomize(el),el.querySelectorAll("li").length===1&&el.classList.remove("slider","slider-single"),el.closest("#nav-top")!==null&&el.classList.contains("slider")&&(el.classList.add("slider-in-header"),el.classList.contains("slider-single")||(autowidth_int="auto")),options={direction:"horizontal",loop:!0,pagination:!1,autoplay:autoplay_int,slidesPerView:autowidth_int,spaceBetween:space_between,navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},breakpoints:{0:{slidesPerView:1},760:{slidesPerView:autowidth_int},1e3:{spaceBetween:space_between},1100:{spaceBetween:20}}},el.classList.contains("slider")||(clone_with_class(el,"l4us-mobile","mobile-hide"),el.nextElementSibling.classList.contains("l4us-mobile")&&(el.nextElementSibling.classList.remove("slider","slider-in-header"),create_slider(el.nextElementSibling,options))),el.classList.contains("slider")&&create_slider(el,options)}})}),window.dispatchEvent(listUspSliderEvt),popup_a=document.getElementsByClassName("popup-a"),popup_a.length&&Array.from(popup_a).forEac
1h(function(el){Array.from(el.getElementsByClassName("l4cl")).forEach(function(el2){el2.classList.add("in-popup")})}),module_collection=document.getElementsByClassName("m6cl"),module_collection.length&&Array.from(module_collection).forEach(function(el){Array.from(el.querySelectorAll(".l4cl.slider:not(.w12, .w14, .w16, .w20, .w25, .w33, .w50)")).forEach(function(el2){el2.classList.add("in-col")})}),window.addEventListener("listCollectionSlider",function(event){list_collection_slider=document.querySelectorAll(".l4cl.slider:not(.in-popup, .s4wi)"),list_collection_slider.length&&Array.from(list_collection_slider).forEach(function(el){var items,hasImg=!1,autoHeight=!0,loopMe=!1;typeof el.querySelectorAll("figure")[0]<"u"?(hasImg=!0,el.querySelectorAll("figure")[0].classList.add("first-image")):el.classList.add("no-img"),el.classList.contains("slider-loop")&&(loopMe=!0),el.classList.contains("text-justify")?(items=["auto","auto","auto"],autoHeight=!1):el.classList.contains("in-col")?items=[4,4,3]:el.classList.contains("w12")?items=[8,6,4]:el.classList.contains("w14")?items=[7,6,4]:el.classList.contains("w16")?items=[6,5,3]:el.classList.contains("w20")?items=[5,5,3]:el.classList.contains("w25")?items=[4,4,3]:el.classList.contains("w33")?items=[3,3,3]:el.classList.contains("w50")?items=[2,2,2]:items=[5,5,3],randomize(el),create_slider(el,{direction:"horizontal",loop:loopMe,autoHeight,slidesPerView:items[0],focusableElements:"input",spaceBetween:16,touchStartPreventDefault:!1,lazy:{loadPrevNext:!0},pagination:{el:".swiper-pagination-"+el.getAttribute("data-random"),clickable:!0},navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},breakpoints:{0:{simulateTouch:!1,allowTouchMove:!1},760:{slidesPerView:items[2],simulateTouch:!0,allowTouchMove:!0},1e3:{slidesPerView:items[1],simulateTouch:!0,allowTouchMove:!0},1100:{slidesPerView:items[0],simulateTouch:!0,allowTouchMove:!0}},on:{afterInit:function(swiper){if(hasImg===!0){var h=swiper.$el[0].getElementsByClassName("first-image")[0].clientHeight+"px";swiper.navigation.prevEl.style.height=h,swiper.navigation.nextEl.style.height=h}},resize:function(swiper){if(hasImg===!0){var h=swiper.$el[0].getElementsByClassName("first-image")[0].clientHeight+"px";swiper.navigation.prevEl.style.height=h,swiper.navigation.nextEl.style.height=h}}}})})}),window.dispatchEvent(listCollectionSliderEvt),window.addEventListener("listProductSlider",function(event){list_product_slider=document.querySelectorAll(".l4pr:not(.s4wi)"),list_product_slider.length&&Array.from(list_product_slider).forEach(function(el){var mainSliderElement=el,children=mainSliderElement.children,qttChildren=children.length,total_sl=el.children.length,mainSlider,slides,firstModel=el.querySelectorAll("a > .model-3d:first-child model-viewer[poster]"),position=el.dataset.featured_media_position-1;Array.from(firstModel).forEach(function(em){var staticPoster=document.createElement("img"),staticPosterWrapper=document.createElement("picture");staticPoster.setAttribute("src",em.getAttribute("poster")),staticPoster.setAttribute("data-src",em.getAttribute("poster")),staticPosterWrapper.prepend(staticPoster),staticPosterWrapper.classList.add("just-poster"),em.hasAttribute("alt")&&staticPoster.setAttribute("alt",em.getAttribute("alt")),em.closest("a").prepend(staticPosterWrapper)}),typeof children[5]<"u"&&(children[4].classList.add("more"),append_url(children[4],"+"+qttChildren-5,"more")),slides=mainSliderElement.cloneNode(!0).children,randomize(el),mainSlider=create_slider(mainSliderElement,{direction:"horizontal",loop:!1,autoHeight:!0,preloadImages:!1,lazy:{loadPrevNext:!0},pagination:{el:".swiper-pagination-"+el.getAttribute("data-random"),clickable:!0,renderBullet:function(index,className){var finalSpan=document.createElement("a"),img_type,add_class,img,divFlex,moreLink,icon,span,a_thumb,a_thumb_img,a_thumb_pic,a_thumb_pic_class;return finalSpan.classList.add(className),slides[index].hasAttribute("class")&&(add_class=slides[index].getAttribute("class"),add_class.includes("portrait")&&finalSpan.classList.add("portrait"),add_class.includes("landscape")&&finalSpan.classList.add("landscape"),add_class.includes("cover")&&finalSpan.classList.add("cover")),slides[index].querySelector("picture")?img_type="picture":img_type="img",img=slides[index].querySelector(img_type),a_thumb=img.closest("a[data-gallery-thumb]"),a_thumb_img=document.createElement("img"),a_thumb_pic=document.createElement("picture"),a_thumb!==null?(a_thumb_img.setAttribute("src",a_thumb.getAttribute("data-gallery-thumb")),a_thumb_pic_class=a_thumb.querySelectorAll("picture[class]")[0],a_thumb_pic_class&&a_thumb_pic.classList.add(a_thumb_pic_class.getAttribute("class")),a_thumb_img.setAttribute("alt","Thumbnail"),a_thumb_img.setAttribute("width","55"),a_thumb_img.setAttribute("height","55"),a_thumb_img.setAttribute("loading","lazy"),a_thumb_pic.appendChild(a_thumb_img),finalSpan.appendChild(a_thumb_pic)):img&&finalSpan.appendChild(img),divFlex=document.createElement("span"),moreLink=slides[index].querySelector("a.more"),moreLink&&(span=document.createElement("span"),span.innerText="+"+(qttChildren-1-index).toString(),divFlex.appendChild(span),finalSpan.classList.add("has-more"),slides[index].querySelectorAll("a[data-fancybox]")&&Array.from(slides[index].querySelectorAll("a[data-fancybox]")).forEac
1h(function(em){finalSpan.setAttribute("href",em.getAttribute("href"))})),icon=slides[index].querySelector("i[class^=icon-]"),icon&&divFlex.appendChild(icon),finalSpan.appendChild(divFlex),finalSpan.outerHTML}},navigation:{nextEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-next',prevEl:'[data-random="'+el.getAttribute("data-random")+'"] .swiper-button-prev'},on:{activeIndexChange:function(){var activeIndex=this.activeIndex;Array.from(this.el.parentNode.getElementsByClassName("custom-progressbar-inner")).forEach(function(el2){el2.style.width=100*(activeIndex+1)/qttChildren+"%"})},afterInit:function(swiper){var progress_bar=createElementWithClass("div","custom-progressbar"),custom_fraction;progress_bar.innerHTML='<div class="custom-progressbar-inner" style="width:'+100/qttChildren+'%;"></div>',swiper.el.appendChild(progress_bar),Array.from(swiper.el.getElementsByClassName("label")).forEach(function(em){swiper.el.parentNode.appendChild(em)}),(el.classList.contains("no-thumbs-mobile")||el.classList.contains("slider-fraction"))&&(custom_fraction=swiper.el.parentNode.getElementsByClassName("swiper-custom-fraction")[0],custom_fraction.innerHTML='<span class="swiper-pagination-current">1</span> / <span class="total-el">'+swiper.slides.length+"</span>"),setTimeout(function(){var h=swiper.height+"px";swiper.navigation.prevEl.style.height=h,swiper.navigation.nextEl.style.height=h},300),swiper.slideTo(position,500)},slideChangeTransitionEnd:function(swiper){var h=swiper.height+"px";swiper.navigation.prevEl.style.height=h,swiper.navigation.nextEl.style.height=h},slideChangeTransitionStart:function(swiper){if(el.classList.contains("no-thumbs-mobile")||el.classList.contains("slider-fraction")){var custom_fraction=swiper.el.parentNode.getElementsByClassName("swiper-pagination-current")[0];custom_fraction.innerHTML=swiper.realIndex+1,swiper.realIndex>0?swiper.el.classList.add("changed"):swiper.el.classList.remove("changed")}swiper.realIndex+1===total_sl?swiper.el.classList.add("last-slide-active"):swiper.el.classList.remove("last-slide-active")},resize:function(swiper){var h=swiper.height+"px";swiper.navigation.prevEl.style.height=h,swiper.navigation.nextEl.style.height=h}}}),data_update_product_slider=document.querySelectorAll("[data-l4pr-index]"),data_update_product_slider.length&&Array.from(data_update_product_slider).forEach(function(el2){if(el2.tagName.toLowerCase()==="option"){var em=el2.parentNode;em.addEventListener("change",function(){var dx=em[em.selectedIndex].getAttribute("data-l4pr-index");dx!==null&&mainSlider.slideTo(dx)})}else el2.addEventListener("click",function(e){mainSlider.slideTo(el2.getAttribute("data-l4pr-index")),el2.tagName.toLowerCase()==="a"&&e.preventDefault()})})})}),window.dispatchEvent(listProductSliderEvt)}}};setTimeout(function(){Default.utils.start(),Default.utils.top(),Default.utils.links(),Default.utils.mails(),Default.utils.forms(),Default.utils.footer(),Default.utils.tabs(),Default.utils.swipers(),Default.utils.ratings(),Default.utils.backgrounds(),Default.utils.mobile(),Default.utils.done()},0)});/*!*/window.addEventListener("createCols",function(event){var servicePageElement=document.querySelector('[id$="page-service-info-blocks"]');if(servicePageElement!=null){if(servicePageElement.parentElement.classList.contains("cols")){var parent=servicePageElement.parentElement,article=servicePageElement.parentElement.querySelector("article.w64.t55");article&&article.replaceWith(...article.childNodes),parent.replaceWith(...parent.childNodes)}var anySiblingFound=!1,wrapper=document.createElement("div");wrapper.classList.add("cols");var wrapperInner=document.createElement("article");wrapperInner.classList.add("w64","t55"),wrapper.appendChild(wrapperInner);var possibleSiblings=["shopify-section-page-service-menu","shopify-section-faq","shopify-section-contact-form","shopify-section-google-maps"],findSibling=function(){var prevSibling=servicePageElement.previousSibling;if(prevSibling){for(var correctSiblingFound=!1,i2=0;i2<possibleSiblings.length;i2++)prevSibling.classList.contains(possibleSiblings[i2])&&(correctSiblingFound=!0,anySiblingFound=!0,prevSibling.classList.add("w64","t55"),wrapperInner.appendChild(prevSibling));if(correctSiblingFound)findSibling();else{for(var i2=1;i2<wrapperInner.childNodes.length;i2++)wrapperInner.insertBefore(wrapperInner.childNodes[i2],wrapperInner.firstChild);anySiblingFound&&(servicePageElement.parentNode.insertBefore(wrapper,servicePageElement),wrapper.appendChild(servicePageElement))}}};findSibling()}}),window.dispatchEvent(createColsEvt),window.addEventListener("showAlert",function(event){var messageText=event.detail.message,messageType=event.detail.type,messageHeader=event.detail.header?event.detail.header:!1,messageOrigin=event.detail.origin?"message-"+event.detail.origin:!1,messageColor="";
1switch(messageType){case"success":messageColor="lime",messageHeader||(messageHeader="Success!");break;case"info":messageColor="pine",messageHeader||(messageHeader="Info");break;case"error":messageColor="rose",messageHeader||(messageHeader="Error...");break;default:messageColor="lime",messageHeader||(messageHeader="")}var message='<li class="overlay-'+messageColor+" "+messageOrigin+'"><i aria-hidden="true" class="icon-'+messageType+'"></i><p class="strong">'+messageHeader+"</p><p>"+messageText+'</p><a href="./" class="close">Close</a></li>',list_alerts=document.querySelector(".l4al:not(.inline)");list_alerts===null&&(list_alerts=document.createElement("ul"),list_alerts.classList.add("l4al"),document.getElementById("shopify-section-footer")?document.getElementById("shopify-section-footer").parentNode.insertBefore(list_alerts,document.getElementById("shopify-section-footer").nextSibling):document.getElementById("content").parentNode.insertBefore(list_alerts,document.getElementById("content").nextSibling)),(messageOrigin&&list_alerts.getElementsByClassName(messageOrigin).length==0||!messageOrigin)&&(list_alerts.innerHTML+=message),typeof alertsEvt<"u"&&window.dispatchEvent(alertsEvt)},!1);function scrollToTargetAdjusted(el){"scrollRestoration"in history&&(history.scrollRestoration="manual"),el.scrollIntoView({block:"center"})}let loadMoreItemClicked=localStorage.getItem("loadMoreItemClicked");if(loadMoreItemClicked!=null){let el=document.querySelector('#collection > li > figure > a[href="'+loadMoreItemClicked+'"], .m6cl .results > div a[href="'+loadMoreItemClicked+'"], .m6cl .results > .l4ne a[href="'+loadMoreItemClicked+'"]'),url=window.location.href;el&&!url.includes(loadMoreItemClicked)?(scrollToTargetAdjusted(el),localStorage.removeItem("loadMoreItemClicked")):url.includes(loadMoreItemClicked)||localStorage.removeItem("loadMoreItemClicked")}var links=document.links;for(let i2=0,linksLength=links.length;i2<linksLength;i2++)links[i2].hostname!==window.location.hostname&&(links[i2].target="_blank",links[i2].rel="noreferrer noopener");(function(){var FILTER="drop-shadow(rgba(9, 14, 21, 0.54) 0px 1px 6px) drop-shadow(rgba(9, 14, 21, 0.9) 0px 2px 32px)";function applyFilter(el){el.style.setProperty("filter",FILTER,"important")}function attachObserver(el){var locked=!1,elObserver=new MutationObserver(function(){locked||(locked=!0,applyFilter(el),locked=!1)});elObserver.observe(el,{attributes:!0,attributeFilter:["style"]})}var existing=document.querySelector(".intercom-lightweight-app-launcher");
1existing&&(applyFilter(existing),attachObserver(existing));var bodyObserver=new MutationObserver(function(mutations,obs){var el=document.querySelector(".intercom-lightweight-app-launcher");el&&(obs.disconnect(),applyFilter(el),attachObserver(el))});bodyObserver.observe(document.body,{childList:!0,subtree:!0})})(),(function(){var colorMap={rti:"#492366",audiocontrol:"#386ab3",murideo:"#7673B6",thenaudio:"#446084",procontrol:"#000",bullettrain:"#2e2318"};function getActiveColor(){var cls=Object.keys(colorMap).find(function(c){return document.querySelector("."+c)!==null});return cls?colorMap[cls]:null}function findAllLauncherDocs(){for(var docs=[],iframes=document.querySelectorAll("iframe"),i2=0;i2<iframes.length;i2++)try{var doc=iframes[i2].contentDocument;doc&&doc.querySelector(".intercom-launcher")&&docs.push(doc)}catch{}return docs}function injectStyle(doc,color){var tag=doc.getElementById("custom-launcher-color-style");tag||(tag=doc.createElement("style"),tag.id="custom-launcher-color-style",doc.head.appendChild(tag));var css=".intercom-launcher { background: "+color+" !important; }";tag.textContent!==css&&(tag.textContent=css)}function applyAll(){var color=getActiveColor();if(color){var docs=findAllLauncherDocs();docs.forEach(function(doc){injectStyle(doc,color);var launcher=doc.querySelector(".intercom-launcher");launcher&&launcher.style.setProperty("background",color,"important")})}}var watchedDocs=new WeakSet;function watchNewDocs(){var docs=findAllLauncherDocs();docs.forEach(function(doc){watchedDocs.has(doc)||(watchedDocs.add(doc),new MutationObserver(applyAll).observe(doc.body,{attributes:!0,attributeFilter:["class","style"],subtree:!0,childList:!0}))}),applyAll()}new MutationObserver(watchNewDocs).observe(document.body,{childList:!0,subtree:!0}),watchNewDocs()})();
2//# sourceMappingURL=/cdn/shop/t/38/assets/custom.js.map?v=164066212055938751731791562835

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.