"use strict";$.urlParam=function(a){var b=new RegExp("[\\?&]"+a+"=([^]*)").exec(window.location.href);return b&&b[1]||0};$("img").bind("contextmenu",function(){return false});function addLink(){var a=document.getElementsByTagName("body")[0];var b;b=window.getSelection();var c="
Read more at: "+document.location.href+"
Copyright © GOFRUGAL Technologies Pvt. Ltd";var e=b+c;var d=document.createElement("div");d.style.position="absolute";d.style.left="-99999px";a.appendChild(d);d.innerHTML=e;b.selectAllChildren(d);window.setTimeout(function(){a.removeChild(d)},0)}document.oncopy=addLink;var Cookies={init:function(){var a=document.cookie.split("; ");for(var b=0;b100){$("#back-top").fadeIn()}else{$("#back-top").fadeOut()}});$("#back-top").click(function(){$("body,html").animate({scrollTop:0},800);return false});var viewed="false";function isScrolledIntoView(c){var e=$(window).scrollTop();var d=e+$(window).height();var a=$(c).offset().top;var b=a+$(c).height();return((b-100<=d)&&(a>=e))}function ScrollAnimate(b){var a=150;$("."+b).each(function(){var c=$(this);a+=250;setTimeout(function(){c.animate({opacity:"1"},a)},a)})}if($(window).height()>850){ScrollAnimate("supermarket_set")}$(document).ready(function(){if($(window).width()<992){$(".mod_desk").text("Request for a callback")}else{$(".business_link").removeAttr("href")}if($(window).width()<992&&$(window).width()>680){$(".ser-in").attr("href","/restaurant/features/order-taking-app.html");$(".insig-in").attr("href","mobile-app-solutions.html#insight_section")}$(".whatsnow_ret").click(function(){if($(window).width()>992){$(".booster_sellquick, .booster_sellsmart, .booster_insight0, .booster_mypulse_ret").fadeOut(300);$(".booster_1").css("left","122px");$(".booster_res1").css("left","122px");$(".booster_whatsnow0").delay(400).fadeIn(600);return false}});$(".sellquick_ret").click(function(){if($(window).width()>992){$(".booster_whatsnow0, .booster_sellsmart, .booster_insight0, .booster_mypulse_ret").fadeOut(300);$(".booster_1").css("left","312px");$(".booster_res1").css("left","286px");$(".booster_sellquick").delay(400).fadeIn(600);return false}});$(".sellsmart_ret").click(function(){if($(window).width()>992){$(".booster_whatsnow0, .booster_sellquick, .booster_insight0, .booster_mypulse_ret").fadeOut(300);$(".booster_1").css("left","500px");$(".booster_res1").css("left","438px");$(".booster_sellsmart").delay(400).fadeIn(600);return false}});$(".mypulse_ret").click(function(){if($(window).width()>992){$(".booster_whatsnow0, .booster_sellquick, .booster_sellsmart, .booster_insight0").fadeOut(300);$(".booster_1").css("left","690px");$(".booster_res1").css("left","593px");$(".booster_mypulse_ret").delay(400).fadeIn(600);return false}});$(".insight_ret").click(function(){if($(window).width()>992){$(".booster_whatsnow0, .booster_sellquick, .booster_sellsmart, .booster_mypulse_ret").fadeOut(300);$(".booster_1").css("left","882px");$(".booster_res1").css("left","753px");$(".booster_insight0").delay(400).fadeIn(600);return false}});$(".servquick_rest").click(function(){if($(window).width()>992){$(".booster_servjoy, .booster_mypulse, .booster_whatsnow1, .booster_insight1").fadeOut(300);$(".booster_2").css("left","327px");$(".booster_res2").css("left","298px");$(".booster_servquick").delay(400).fadeIn(600);return false}});$(".servjoy_rest").click(function(){if($(window).width()>992){$(".booster_servquick, .booster_mypulse, .booster_whatsnow1, .booster_insight1").fadeOut(300);$(".booster_2").css("left","512px");$(".booster_res2").css("left","452px");$(".booster_servjoy").delay(400).fadeIn(600);return false}});$(".mypulse_rest").click(function(){if($(window).width()>992){$(".booster_servquick, .booster_servjoy, .booster_whatsnow1, .booster_insight1").fadeOut(300);$(".booster_2").css("left","707px");$(".booster_res2").css("left","612px");$(".booster_mypulse").delay(400).fadeIn(600);return false}});$(".whatsnow_rest").click(function(){if($(window).width()>992){$(".booster_servquick, .booster_servjoy, .booster_mypulse, .booster_insight1").fadeOut(300);$(".booster_2").css("left","894px");$(".booster_res2").css("left","766px");$(".booster_whatsnow1").delay(400).fadeIn(600);return false}});$(".insight_rest").click(function(){if($(window).width()>992){$(".booster_servquick, .booster_servjoy, .booster_mypulse, .booster_whatsnow1").fadeOut(300);$(".booster_2").css("left","132px");$(".booster_res2").css("left","120px");$(".booster_insight1").delay(400).fadeIn(600);return false}});$(".earnsmart_business_app").click(function(){if($(window).width()>992){$(".booster_whatsnow2, .booster_insight2").fadeOut(300);$(".booster_3").css("left","311px");$(".booster_res3").css("left","284px");$(".booster_earnsmart").delay(400).fadeIn(600);return false}});$(".whatsnow_dis").click(function(){if($(window).width()>992){$(".booster_earnsmart, .booster_insight2").fadeOut(300);$(".booster_3").css("left","500px");$(".booster_res3").css("left","440px");$(".booster_whatsnow2").delay(400).fadeIn(600);return false}});$(".insight_dis").click(function(){if($(window).width()>992){$(".booster_whatsnow2, .booster_earnsmart").fadeOut(300);$(".booster_3").css("left","687px");$(".booster_res3").css("left","597px");$(".booster_insight2").delay(400).fadeIn(600);return false}})});$(document).ready(function(){$(".swiper-container").slick({slidesToShow:1,slidesToScroll:1,autoplay:true,arrows:false,autoplaySpeed:5000,infinite:true,dots:true});$(".news_media_slick").slick({slidesToShow:4,slidesToScroll:1,autoplay:true,autoplaySpeed:5000,infinite:true,dots:false,arrows:true,responsive:[{breakpoint:992,settings:{slidesToShow:2,slidesToScroll:1,dots:false}},{breakpoint:786,settings:{slidesToShow:1,slidesToScroll:1,dots:false}}]});setTimeout(function(){$(".gft_home_retaillink").addClass("animate_start")},700);setTimeout(function(){$(".gft_home_restlink").addClass("animate_start")},1400);setTimeout(function(){$(".gft_home_delink").addClass("animate_start")},2100)});$(document).ready(function(){$(".faqcarousel").slick({slidesToShow:1,slidesToScroll:1,autoplay:true,autoplaySpeed:5000,infinite:true,adaptiveHeight:true,dots:true,arrows:false})});if(window.matchMedia("(max-width: 1199px)").matches){$(".g-menu-list h5").children("a").attr("href","#");$(".dropdown > a .plus-minus-toggle").click(function(){event.preventDefault();if($(".dropdown").children().children(".plus-minus-toggle").not(this).parent().parent().children(".dropdown-menu").hasClass("active")){$(".dropdown").children().children(".plus-minus-toggle").not(this).parent().parent().children(".dropdown-menu").slideUp();$(".dropdown").children().children(".plus-minus-toggle").not(this).parent().parent().children(".dropdown-menu").removeClass("active");$(".dropdown").children().children(".plus-minus-toggle").not(this).addClass("collapsed")}$(this).parent().siblings(".dropdown-menu").toggleClass("active");$(this).parent().siblings(".dropdown-menu").slideToggle()});$(".g-menu-group h5 a").click(function(){if($(this).attr("href")==="#"){event.preventDefault()}if($(".g-menu-list h5").children("a").not(this).parent().hasClass("active")){$(".g-menu-list h5").children("a").not(this).parent().siblings("li").slideUp();$(".g-menu-list h5").children("a").not(this).parent().removeClass("active")}$(this).parent().toggleClass("active");$(this).parent().siblings("li").slideToggle();$(".g-menu-list h5").children("a").not(this).children(".plus-minus-toggle").addClass("collapsed")});$(".show_menu").removeClass("hide");$(function(){$(".plus-minus-toggle").on("click",function(){$(this).toggleClass("collapsed")})})}var isMobile=false;if(/Android|iPhone/i.test(navigator.userAgent)){isMobile=true;$("#primary_cta_btn1").text("Request for a callback")}$(".g-search-wrap input").focus(function(){$(".g-search-wrap").addClass("active")});$(".g-search-wrap input").focusout(function(){$(".g-search-wrap").removeClass("active")});function setVerticalFunc(a,b){Cookies.create("g_vertical_name",a);Cookies.create("g_vertical_id",b)}$("a").click(function(){var c=$(this).attr("href").split("/").pop().split("?")[0];if(c==="register.html"||c==="contact.html"||c==="partner-signup.html"){var a=$.trim($(this).text());var b=new Date();b.setTime(b.getTime()+(20*1000));Cookies.create("ctaName",a,b)}});var deviceDetector=function(){var c=navigator.userAgent.toLowerCase(),d=function(b){void 0!==b&&(c=b.toLowerCase());return/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(c)?"tablet":/(mobi|ipod|phone|blackberry|opera mini|fennec|minimo|symbian|psp|nintendo ds|archos|skyfire|puffin|blazer|bolt|gobrowser|iris|maemo|semc|teashark|uzard)/.test(c)?"phone":"desktop"};return{device:d(),detect:d,isMobile:"desktop"!==d()?!0:!1,userAgent:c}}();var isMobile={Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return(isMobile.Android()||isMobile.BlackBerry()||isMobile.iOS()||isMobile.Opera()||isMobile.Windows())}};if(deviceDetector.device==="phone"){if(isMobile.Android()){$("#secondary_cta_link1").attr("href","https://play.google.com/store/apps/details?id=com.gofrugal.ordereasy620113&referrer=utm_source%3Dwebsite%26utm_medium%3Dmoblanpage").text("Download now");$("#secondary_cta_link2").attr("href","https://play.google.com/store/apps/details?id=com.gofrugal.gftdelivery&referrer=utm_source%3Dwebsite%26utm_medium%3Dmoblanpage").text("Download now");$("#secondary_cta_link11").attr("href","https://play.google.com/store/apps/details?id=com.gofrugal.stockmanagement&referrer=utm_source%3Dwebsite%26utm_medium%3Dhomelanpage").text("Download now")}else{if(isMobile.iOS()){$("#secondary_cta_link1").attr("href","https://apps.apple.com/us/app/order-easy-gofrugal/id1460509872?ls=1").text("Download now")}else{}}}else{}var Cookies={init:function(){for(var b=document.cookie.split("; "),a=0;a=17)&&(a<=703)){handle.style.left=a+"px";divisor.style.width=a+"px"}}function mouseDivisor1(b){var a=b.offsetX;if((a>=17)&&(a<=703)){handle1.style.left=a+"px";divisor1.style.width=a+"px"}}function mouseDivisor2(b){var a=b.offsetX;if((a>=17)&&(a<=703)){handle2.style.left=a+"px";divisor2.style.width=a+"px"}}function moveDivisor(){handle.style.left=slider_resp.value+"%";divisor.style.width=slider_resp.value+"%"}function moveDivisor1(){handle1.style.left=slider_resp1.value+"%";divisor1.style.width=slider_resp1.value+"%"}function moveDivisor2(){handle2.style.left=slider_resp2.value+"%";divisor2.style.width=slider_resp2.value+"%"}var windowWidth=$(window).width();window.onload=function(){moveDivisor();moveDivisor1();moveDivisor2()};$(".retail_then_now_wrapper").slick({slidesToShow:1,slidesToScroll:1,autoplay:false,dots:false,infinite:false,arrows:true,fade:true,swipe:false,swipeToSlide:false,touchMove:false,draggable:false,accessibility:false});const sliders=document.querySelectorAll(".gft_retail_timeline");const appearOptions={threshold:0,rootMargin:"0px 0px -350px 0px"};var appearOnScroll=new IntersectionObserver(function(a,b){a.forEach(function(c){if(!c.isIntersecting){return}else{c.target.classList.add("splbg-active");b.unobserve(c.target)}})},appearOptions);sliders.forEach(function(a){appearOnScroll.observe(a)});var windowWidth=$(window).width();if(windowWidth>768){$(".gft_mygft_hp_transform .start_box_resp").click(function(){if(!($(this).hasClass("Descp_show"))){var a=$(this).attr("data-src");$(".gft_mygft_hp_transform .slider_descrip").slideUp("500");$(".gft_mygft_hp_transform .start_box_resp").removeClass("Descp_show");$(this).addClass("Descp_show");$(this).children(".slider_descrip").slideDown();$(".gft_mygft_hp_transform .feature_img_wrapper img").removeClass("feat_img_active");$(".gft_mygft_hp_transform .feature_img_wrapper img.feature_img"+a).addClass("feat_img_active")}else{}})}$(".testi_slick_wrapper").slick({slidesToShow:1,slidesToScroll:1,autoplay:false,dots:false,infinite:false,arrows:true,fade:true,swipe:true,responsive:[{breakpoint:1200,settings:"slick"},{breakpoint:9999,settings:"unslick"}]});$(".testi_subcontent .gft_mygft_hp-needs-headers").hover(function(){var a=$(this).attr("id").replace(/^\D+/g,"");$(".gft_mygft_hp-needs-headers").removeClass("header_active");$(this).addClass("header_active");$(".gft_mygft_hp_needs_subcontent").removeClass("content_active");$("#needs_content"+a).addClass("content_active")});var counter=0;function iconAutoplay(){var a=counter%$(".testi_subcontent .gft_mygft_hp-needs-headers").length;$(".gft_mygft_hp-needs-headers").removeClass("header_active");$("#header"+a).addClass("header_active");$(".gft_mygft_hp_needs_subcontent").removeClass("content_active");$("#needs_content"+a).addClass("content_active");counter++}var intervalAutoplay=setInterval(iconAutoplay,4000);$(".testi_subcontent .gft_mygft_hp-needs-headers").hover(function(a){clearInterval(intervalAutoplay)});$(".testi_subcontent .gft_mygft_hp-needs-headers").mouseleave(function(){intervalAutoplay=setInterval(iconAutoplay,4000)});$(document).ready(function(){var a=document.querySelector(".awards-section");var b={rootMargin:"0px",threshold:0.5};var c=new IntersectionObserver(function(d,e){d.forEach(function(f){if(f.isIntersecting){$(".awards-section").slick({slidesToShow:7,slidesToScroll:1,autoplay:true,autoplaySpeed:1000,swipeToSlide:true,dots:false,infinite:true,arrows:false,responsive:[{breakpoint:540,settings:{slidesToShow:2,slidesToScroll:1,variableWidth:false}},{breakpoint:992,settings:{slidesToShow:4,slidesToScroll:1,variableWidth:false,dots:false}}]})}else{$(".awards-section").slick("unslick")}})},b);c.observe(a)});$(".news_media_slick").slick({slidesToShow:4,slidesToScroll:1,autoplay:true,autoplaySpeed:5000,infinite:true,dots:true,arrows:true,responsive:[{breakpoint:992,settings:{slidesToShow:3,slidesToScroll:1,variableWidth:true,dots:true,arrows:true}}]});$(document).ready(function(){$(".gft_home_faq").slick({slidesToShow:1,slidesToScroll:1,autoplay:true,autoplaySpeed:5000,infinite:true,adaptiveHeight:false,dots:true,arrows:false,responsive:[{breakpoint:992,settings:{adaptiveHeight:true}}]});$(document).ready(function(){$(".show_hide").on("click",function(c){c.preventDefault();const b=$(".long_content").hasClass("visible")?"More":"Less";$(".show_hide").text(b);$(".long_content").toggleClass("visible")});$(".review_wrapper").slick({slidesToShow:3,infinite:true,arrows:false,dots:true,centerMode:true,variableWidth:true,adaptiveHeight:true,speed:1500,responsive:[{breakpoint:540,settings:{slidesToShow:1}}]})});function a(d,h){var j=h.toLowerCase().split(" ").join("");var b="images/gft-home-page/general-logos.png";var e=[{bgPos:"1px 3px",width:"93px"},{bgPos:"-134px 6px",width:"123px"},{bgPos:"-300px 1px",width:"130px"},{bgPos:"-468px 0px",width:"95px"},{bgPos:"-598px 0px",width:"133px"},{bgPos:"-768px 3px",width:"100px"},{bgPos:"-907px 4px",width:"95px"},{bgPos:"-88px -103px",width:"80px"},{bgPos:"-209px -97px",width:"130px"},{bgPos:"-373px -103px",width:"140px"},{bgPos:"-542px -100px",width:"80px"},{bgPos:"-648px -102px",width:"105px"},{bgPos:"-776px -98px",width:"140px"}];function f(o,l){var q=[];for(var n=0;n").addClass("logo_item").css({"background-image":"url('"+o+"')","background-position":r,"background-repeat":"no-repeat","max-width":p});q.push(m)}return q}var g={IN:{"Tamil Nadu":"images/gft-home-page/tamil-logos.png"}};if(d==="IN"){if(h==="Tamil Nadu"){var i=g.IN["Tamil Nadu"];var k=[{bgPos:"11px 4px",width:"80px"},{bgPos:"-78px 4px",width:"110px"},{bgPos:"-210px 1px",width:"130px"},{bgPos:"-368px -2px",width:"100px"},{bgPos:"-485px -2px",width:"100px"},{bgPos:"-603px 0px",width:"135px"},{bgPos:"-765px 5px",width:"115px"},{bgPos:"-901px 11px",width:"105px"},{bgPos:"-79px -100px",width:"105px"},{bgPos:"-215px -107px",width:"135px"},{bgPos:"-379px -113px",width:"135px"},{bgPos:"-540px -111px",width:"80px"},{bgPos:"-647px -110px",width:"105px"},{bgPos:"-782px -107px",width:"140px"}];var c=f(i,k);$(".customer-logos-wrapper .logos").addClass(j).append(c)}else{var c=f(b,e);$(".customer-logos-wrapper .logos").addClass("defaultLogo").append(c)}}}$.ajax({url:"https://iplocator.gofrugal.com/iplocator.php",method:"GET",dataType:"json",success:function(b){var d=b.countryCode;var c=b.regionName;UpdateAnnouncementBar(c);a(d,c)},error:function(e,b,c){console.log("IP Locator API Error");var d="images/gft-home-page/general-logos.png";$(".customer-logos-wrapper .logos").addClass("default_logo").append("")}})});function UpdateAnnouncementBar(a){$(".anouncement-bar").css({background:"#fff0d5","border-bottom":"1px solid #FFD999"});$(".anouncement-bar .covid-bar .events_cont").html('As of August 1st, 2023, e-invoicing is mandatory for businesses with a turnover of ₹5 crore and above.');$(".anouncement-bar .covid-bar .new-covid a").text("Start e-invoicing today.");$(".anouncement-bar .covid-bar .new-covid a").attr("href","https://www.gofrugal.com/accounting/e-invoicing-system.html")};