var userCountryCode="IN";const templateIdused=document.getElementById("TEMPLATEID").innerText;function loadIntlTelInputCSS(e){var t=document.createElement("link");t.rel="stylesheet",t.href=e,document.head.appendChild(t)}function loadIntlTelInputJS(e,t){var n=document.createElement("script");n.src=e,n.onload=t,document.body.appendChild(n)}loadIntlTelInputCSS("https://cdn.jsdelivr.net/npm/intl-tel-input@22.0.2/build/css/intlTelInput.css"),loadIntlTelInputJS("https://cdn.jsdelivr.net/npm/intl-tel-input@22.0.2/build/js/intlTelInput.min.js",function(){console.log("intlTelInput loaded")}),function(s){let n=0,r;function t(){n=0,s(".modal-content").animate({top:"40%",opacity:0},300,function(){setTimeout(()=>s(".modal-overlay").hide(),200)}),s("body").css({"overflow-y":"scroll"})}s(".whatsapp-link").click(function(){var e=s(".whatsapp-modal .modal-content"),t=(e.find("form").css({display:"block"}),e.find("h2").css({display:"block"}),e.find(".message").text(""),e.find(".modal-close").hide(),s(".modal-overlay.whatsapp-modal").show(),s(".modal-content.whatsapp-modal").animate({top:"50%",opacity:"1"},300),s("body").css({"overflow-y":"hidden"}),n=1,document.getElementById("contactNumberWhatsApp"));t.value="",e.find("textarea[name=contact-message]").val(""),window.intlTelInput&&(r=window.intlTelInput(t,{initialCountry:userCountryCode.toLowerCase(),separateDialCode:!0,utilsScript:"https://cdn.jsdelivr.net/npm/intl-tel-input@22.0.2/build/js/utils.js"}))}),s(".modal-content .modal-submit").click(function(){const t=s(".modal-content");let n=t.find("textarea[name=contact-message]").val();var e=r?r.getNumber():"";const o=s("#contactNumberWhatsApp"),a=t.find(".message");a.text("").removeClass("hide").css("color","");var i=e=>{o.addClass("error"),a.text(e).css({color:"red"}).removeClass("hide")};o.val().trim()?r.isValidNumber()?KitsuneBusinessEnquiry({eMsg:n,eCnt:e,eType:"WHATSAPPQUERY",eid:""},function(e){a.text(e).css({color:"#32be60"}),t.find("textarea[name=contact-message]").val(""),o.val(""),r.setNumber(""),"whatsapp"===t.find("input[name=whatsapp-query]").val()&&(e=s("#whatsapp-number").text().trim(),s("#fptag").text().trim(),t.find("form").hide(),e=`https://api.whatsapp.com/send?phone=${e}&text=`+encodeURIComponent(n),window.open(e,"_blank"))},function(e){a.text(e).css({color:"red"})}):i("Invalid number for "+r.getSelectedCountryData().name):i("Required")}),s(".modal-overlay, .modal-close").on("click",function(e){e.target!==this&&"modal-close"!==e.target.className||t()}),s(document).keyup(function(e){"Escape"===e.key&&n&&t()})}(jQuery),XMLHttpRequest.prototype.open=function(o){return function(e,t,n){o.apply(this,arguments),(t.includes(".withfloats.com")||t.includes(".nowfloats.com"))&&this.setRequestHeader("Authorization","Basic a2l0c3VuZWlkZS1ub3dmbG9hdHMtY29tOlhLRHNjRGdNZ1B4OTd3WllTUFRUOEM3RVNIbE52bXVxaE9JRWtqUmVOcUUvYnFoc1lJWjFENTRGY2FDZXphWlBJWFZ5bGZsbkJyVW1MRE9oc2J0QVFZZFI4NU1BYk40THRVT01aR0VXTTdwVHdEKzg0SWdaL0ZSMGtzNEJmNVlMN3A3UnJ5cUd6eHFQbTRMcWYzZmlQWkxiMFBGOUloZ1czQjV2N1ZHVWNyWGQ3ZG1nSUZRTmNFUWRLcTJKYTVGalJuMVFoMEg3b29IZzlrMGVTS2Zhd2hPREx4M0JxTGxsMUtTcVE2TWRKRERqL1ZUNnVLMThwdnFNd0tZWHRFa280aGdzdFRsVmJXOFRzZCtKQk1GZDVEMGttWlJ4Zy9sUVNUVFVWNElRL2cyY1QvREhXY2J1Rms5STNhajhvTDBXcFpMUHdRQnBEb1JNQ3hhSzdqSFpodklEZnN3VDJRSHpVeTJuaFVPamdDN2FjTGhLUEdnd0JwaHgxZTRFdWg0cUJHM2hnbFB4TllIV0hFU25iclRrWTVIakROMnp3YUQ5YVJ4YjhQcnhMNUE9")}}(XMLHttpRequest.prototype.open);var showPoweredBy=function(e){var t=document.getElementById("hyperlink");t&&(t.style.display=e?"block":"none")};function googletagmanagerAPI(e){var t=new XMLHttpRequest;t.open("GET","https://api2.withfloats.com/discover/v1/floatingPoint/widget/html/"+e,!0),t.setRequestHeader("Accept","*/*"),t.onload=function(){200==t.status&&dynamicGTM(t.responseText,e)},t.onerror=function(){console.error("An error occurred during the custom GTM id api call")},t.send()}function dynamicGTM(e,t){var n=document.createElement("script"),n=(n.innerHTML=`(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','${e}');`,document.head.appendChild(n),document.createElement("noscript")),o=document.createElement("iframe");o.src="https://www.googletagmanager.com/ns.html?id="+e,o.height="0",o.width="0",o.style.display="none",o.style.visibility="hidden",n.appendChild(o),document.body.insertBefore(n,document.body.firstChild)}showPoweredBy(!1),document.addEventListener("DOMContentLoaded",function(){let e=document.querySelector(".location-container-mobile"),t=document.querySelector(".location-container");var n;e.style.visibility="hidden",e.style.opacity="0",e.style.transition="visibility 0s, opacity 1s",t.style.visibility="hidden",t.style.opacity="0",t.style.transition="visibility 0s, opacity 1s",setTimeout(function(){e.style.visibility="visible",e.style.opacity="1",t.style.visibility="visible",t.style.opacity="1"},1e3),document.getElementById("GET-VALUE(FLOATING-ID-UI)")&&(n=document.getElementById("GET-VALUE(FLOATING-ID-UI)").innerText,createLocationsDropdown(n),fetch("https://api2.withfloats.com/discover/v1/floatingPoint/PartnerValidation?fpId="+n).then(e=>(200!=e.status&&showPoweredBy(!1),e.json())).then(e=>{e&&e.IsPoweredByEnable?showPoweredBy(!0):showPoweredBy(!1)}).catch(e=>{console.error("Error:",e)}),googletagmanagerAPI(n))});var cityList=[];let customerSource="";function setGstSlabForItem(e){return"bizhq"==customerSource?""==e||null==e||.001==e?parseFloat(document.getElementById("gstslab").innerText):parseFloat(e):""==e||null==e||.001==e||0==e?parseFloat(document.getElementById("gstslab").innerText):parseFloat(e)}const createLocationsDropdown=m=>{const u=document.getElementById("hyperlink");fetch("https://api2.withfloats.com/discover/v1/GetStoreListingsForWebsiteRender?fpId="+m).then(e=>e.json()).then(t=>{var n=(new Date).getFullYear();if(customerSource=t[0].Source.toLowerCase(),t[0].Source.toLowerCase().includes("ardhim"))fpWidgets&&fpWidgets.length&&((s=fpWidgets.filter(e=>"DOMAINPURCHASE"==e))&&s.length?u.innerHTML=`©${n} | Made in India with Ardhim biz for Manufacturing`:u.innerHTML=`©${n} | Make a free website with Ardhim biz for Manufacturing`);else if("bizhq"!==t[0].Source.toLowerCase()&&"boost 360 - mlc"!==t[0].Source.toLowerCase())s=parseInt(document.getElementById("staffCount-hidden").innerText),r=document.getElementById("isFpServiceEnable").innerText.toLowerCase(),u.innerHTML=1 | Made in India with Boost 360`:1==s&&"true"==r?`©${n} | Made in India with Boost 360`:`©${n} | Made in India with Boost 360`;else{"bizhq"==t[0].Source.toLowerCase()&&(u.innerHTML=`©${n} | Made in India with bizHQ`),"boost 360 - mlc"==t[0].Source.toLowerCase()&&(u.innerHTML=`©${n} | Made in India with Boost 360 for MLC`);const c=t.find(e=>e.FloatingpointId===m);cityList.push(c),t.map(e=>{e.FloatingpointId==m||(!e.isoptedforstorelocator||e.IsBaseLocation)&&e.isoptedforstorelocator||cityList.push(e),e.isoptedforstorelocator&&e.IsBaseLocation&&"68836b13f73eff402c7d4bc2"==templateIdused&&document.getElementById("view-store-locator-btn")&&(document.getElementById("view-store-locator-btn").style.display="flex",document.querySelector("#view-store-locator-btn a").href=e.RootAliasUri)}),"68836b13f73eff402c7d4bc2"==templateIdused?u.innerHTML=`Powered by `:u.innerHTML=`©${n} | Made in India with bizHQ`;let e;(e=window.innerWidth<600?$(".location-container-mobile"):$(".top-menu .location-container")).empty(),e.addClass("locationsDropdown");var o,a,i=document.createElement("div"),s=document.createElement("div"),r=(s.classList.add("locationTabContainer"),document.createElement("a")),t=(r.classList.add("selectedLocation"),r.textContent=c.Locality&&c.Locality.toLowerCase()!==c.City.toLowerCase()?c.Locality+", "+c.City:c.City,document.createElement("span")),l=(t.classList.add("sr-only"),t.textContent="selected location name",r.appendChild(t),window.innerWidth,s.innerHTML='',s.appendChild(r),s.innerHTML+='',i.id="yourNewOuterDivId",i.classList.add("yourNewOuterDivClass"),i.innerHTML="",i.appendChild(s),document.createElement("div")),n=(l.id="listDivOuterContainer",l.classList.add("listDivOuterContainer"),document.createElement("div")),d=(n.classList.add("listDivTopContainer"),n.innerHTML=`

Select location from below

`,l.appendChild(n),document.createElement("div"));d.id="yourListDivId",d.classList.add("yourListDivClass");for(let e=0;e{window.innerWidth<600&&startLoader(),l.style.display="none"},d.appendChild(a),(o=document.createElement("hr")).className="separator",d.appendChild(o);l.appendChild(d),i.appendChild(l),i.addEventListener("click",function(e){l.contains(e.target)||(l.style.display="none"===l.style.display||""===l.style.display?"flex":"none")}),document.body.addEventListener("click",function(e){i.contains(e.target)||l.contains(e.target)||(l.style.display="none")}),e.prepend(i);t=document.getElementById("closeLocationBtn");t?t.addEventListener("click",function(e){l.style.display="none"}):console.error("Element with id 'closeLocationBtn' not found."),document.getElementById("location_input").addEventListener("input",function(e){handleSearchLocationChange(e.target.value,c.FloatingpointId)})}})};function handleSearchLocationChange(t,n){console.log(t);var e,o=cityList.filter(e=>e?.Locality?.toLowerCase().includes(t.toLowerCase())||e.City.toLowerCase().includes(t.toLowerCase()));console.log(o);const a=document.querySelector(".yourListDivClass");a.innerHTML="",0===o.length?((e=document.createElement("p")).textContent="No match found",e.style.color="#53545a",e.style.textAlign="center",a.appendChild(e)):o.forEach(e=>{var t=document.createElement("a"),e=(t.classList.add("listItemLocation"),t.textContent=e.Locality&&e?.Locality.toLowerCase()!=e?.City?.toLowerCase()?e?.Locality+", "+e.City:e?.City,t.href=e.RootAliasUri,n===e.FloatingpointId&&((e=document.createElement("div")).classList.add("tickIcon"),t.appendChild(e),t.classList.add("selectedItem")),a.appendChild(t),document.createElement("hr"));e.className="separator",a.appendChild(e)})}function initContactRendering(){const o=Intl.DateTimeFormat().resolvedOptions().timeZone;if("Asia/Calcutta"!==o&&!async function(){var e=localStorage.getItem("userAlpha2Country");e?(userCountryCode=e,console.log("Cached user country:",userCountryCode)):navigator.geolocation?navigator.geolocation.getCurrentPosition(async e=>{var{latitude:e,longitude:t}=e.coords;try{var n=await(await fetch(`https://api.bigdatacloud.net/data/reverse-geocode-client?latitude=${e}&longitude=${t}&localityLanguage=en`)).json();userCountryCode=n.countryCode||"IN",localStorage.setItem("userAlpha2Country",userCountryCode),console.log("Detected via geo:",userCountryCode)}catch(e){console.error("Failed to get country from coordinates:",e)}},e=>{console.warn("Geolocation permission denied or error:",e)}):console.warn("Geolocation is not supported")}(),countryCodeFromUI&&0!==countryCodeFromUI.length||businessContactsFromUI&&0!==businessContactsFromUI.length){const m=countryCodeFromUI;var n=JSON.parse(JSON.stringify(businessContactsFromUI));var e,a=document.querySelectorAll(".headerContactNumber"),i=document.getElementById("footerContactNumbers"),s=document.getElementById("RetailfooterContactNumbers"),r=document.getElementById("contactMobileNumbers"),l=document.getElementById("globalContactOtherNumbers");let t=0{e.innerHTML=` ${t} `}),i&&(i.innerHTML=` ${t} `),s&&(s.innerHTML=` ${t} `),r&&(r.innerHTML=` ${t} `),l&&1${d}

`}function c(e){let t=e?.contactnumber||"";var e=e?.contacttype?.toLowerCase()||"",n=(n=e,"Asia/Calcutta"!==o||"vmn"!==n.toLowerCase());return n&&t.startsWith("0")&&"vmn"===e&&(t=t.substring(1)),(n?"+"+m:"")+t}}}function ChangeDateFormat(e,t){var n,o=$(e).text(),o=new Date(o.trim()),o=(o.setHours(o.getHours()+5),o.setMinutes(o.getMinutes()+30),o=o.toString(),new Date(o.split()[0]).toString().split(" ")),a=o[2],i=o[1],s=o[3],o=o[4].substring(0,5),r=o.split(":"),l=parseInt($.trim(r[0])),d=12  "+i+" "+a+", "+s)}}initContactRendering(),$(".theme-upload-Date")&&$(".theme-upload-Date").each(function(){ChangeDateFormat(this,"dayMonthYear")});let itiPhoneSendEnquiryInput=null;const sendEnquiryText=e=>{var t=document.getElementById("enquiryTextArea"),e=(e&&(t.value=`Hello, I am interested in "${e}" and need more information on the same. Please contact me.`),t.placeholder="Enter your requirement here...",document.getElementById("phoneNumber"));window.intlTelInput&&(itiPhoneSendEnquiryInput=window.intlTelInput(e,{initialCountry:userCountryCode.toLowerCase(),separateDialCode:!0,utilsScript:"https://cdn.jsdelivr.net/npm/intl-tel-input@22.0.2/build/js/utils.js"}))},bookAppointment=e=>{console.log(e)};function closeModelHandle(){const e=document.getElementById("enquiryTextArea"),t=document.getElementById("phoneNumber"),n=document.getElementById("emailAddress"),o=document.getElementById("enquiryModelLabel"),a=document.getElementById("successSection"),i=document.getElementById("formSection"),s=document.getElementById("errorMessage"),r=document.getElementById("errorText");setTimeout(()=>{o.innerText="Send a message",i.classList.remove("d-none"),a.classList.add("d-none"),t.classList.remove("errorField"),n.classList.remove("errorField"),t.value="",n.value="",e.value="",s.classList.add("d-none"),r.innerText="",itiPhoneSendEnquiryInput&&itiPhoneSendEnquiryInput.setNumber("")},1200)}document.getElementById("enquirySubmitBtn").addEventListener("click",function(t){t.preventDefault();const n=document.getElementById("enquiryTextArea"),o=document.getElementById("phoneNumber"),a=document.getElementById("emailAddress"),i=document.getElementById("enquiryModelLabel"),s=document.getElementById("successSection"),r=document.getElementById("formSection"),l=document.getElementById("errorMessage"),d=document.getElementById("errorText");[n,o,a].forEach(e=>e.classList.remove("errorField")),l.classList.add("d-none");var t=n.value.trim(),c=o.value.trim(),m=a.value.trim();let e=!1;""===t&&(n.classList.add("errorField"),e=!0),c||m||(o.classList.add("errorField"),a.classList.add("errorField"),e=!0);var u=""===m||/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(m);u||(a.classList.add("errorField"),e=!0);let p="";if(itiPhoneSendEnquiryInput&&c&&(0!==itiPhoneSendEnquiryInput.getValidationError()?(o.classList.add("errorField"),e=!0):p=itiPhoneSendEnquiryInput.getNumber()),e)d.innerText=u?c||m?""===t?"The message field cannot be empty.":"Please check your contact details.":"Phone or email (or both) — share a contact so we can reply.":"Email address is incorrect.",l.classList.remove("d-none");else{let e=t;c&&m&&(e+=` Email: `+m);u=c?p:"";KitsuneBusinessEnquiry({eMsg:e,eCnt:u||(!c&&m?m:""),eType:"PRODUCTQUERY",eid:""},function(e){var t=document.getElementById("enquiryModel");bootstrap.Modal.getOrCreateInstance(t).show(),i.innerText="Submitted Successfully!",r.classList.add("d-none"),s.classList.remove("d-none"),n.value="",o.value="",a.value="",itiPhoneSendEnquiryInput&&itiPhoneSendEnquiryInput.setNumber("")},function(e){d.innerText=e||"Something went wrong. Please try again.",l.classList.remove("d-none")})}});const enquiryModalEl=document.getElementById("enquiryModel");enquiryModalEl.addEventListener("hidden.bs.modal",function(){closeModelHandle()}),document.addEventListener("DOMContentLoaded",function(){if(window.innerWidth<=480&&document.getElementById("breadcrumb_mob_placeholder")){var e=document.querySelector(".page-banner-wrap .breadcrumb");if(e){const n=document.createElement("section");n.id="breadcrumb_mob",n.className="py-2 bg-light",n.style.display="none";var t=document.createElement("div");t.className="container text-center";const a=document.createElement("div"),o=(a.className="header-breadcrumb-nav",e.querySelectorAll("li").forEach((e,t)=>{var n,o=document.createElement("span");o.className="path-pages",e.classList.contains("active")?((n=document.createElement("span")).className="selected-page text-capitalize",n.textContent=e.textContent.trim(),o.appendChild(n)):(n=e.querySelector("a"))&&((e=document.createElement("a")).href=n.href,e.className="breadcrumb-mob-link",e.textContent=n.textContent.trim(),o.appendChild(e),(n=document.createElement("span")).className="breadcrumb-separator",n.innerHTML=">",o.appendChild(n)),a.appendChild(o)}),t.appendChild(a),n.appendChild(t),document.getElementById("breadcrumb_mob_placeholder").appendChild(n),document.querySelector(".page-banner-wrap"));window.addEventListener("scroll",function(){var e=o.offsetTop+o.offsetHeight,t=window.scrollY||document.documentElement.scrollTop;n.style.display=e<=t?"block":"none"})}}}),window.addEventListener("DOMContentLoaded",()=>{const n=["p","span","a","li","label","input","textarea","button","strong","em","b","h1","h2","h3","h4","h5","h6","td","th","caption"];document.querySelectorAll("body *").forEach(t=>{try{var e;n.includes(t.tagName.toLowerCase())&&t.textContent?.trim()&&(e=parseFloat(getComputedStyle(t).fontSize),isNaN(e)||(t.style.fontFamily=e<=16?"var(--secondary-font) !important":"var(--primary-font) !important"))}catch(e){console.warn("Skipping element due to error:",t,e)}})}),document.querySelectorAll(".svc-testimon-rd-more").forEach(e=>{e.addEventListener("click",function(){var e=this.dataset.body||"",t=this.dataset.title||"",n=this.dataset.profile||"",o=this.dataset.logo||"",a=this.dataset.name||"",n=n||o;document.getElementById("testimonialBody").innerText=e,document.getElementById("testimonialTitle").innerText=t,document.getElementById("testimonialImage").src=n,document.getElementById("testimonialAuthor").innerText=a})}),document.querySelectorAll(".testimon-mod-btn-size").forEach(t=>{t.addEventListener("click",function(){console.log(t,"close-clicked");var e=document.getElementById("SvctestimonialModal");e&&bootstrap.Modal.getOrCreateInstance(e).hide()})});