PageSourceSearch

https://foodhubforbusiness.com/_next/static/chunks/742097791a9fc9f0.js

js foodhubforbusiness.com collected 2026-10-02 16:16:39 UTC 34,427 bytes, 64 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,3303,(e,t,a)=>{t.exports=e.r(479520)},205329,(e,t,a)=>{e.e,t.exports=function(){var e=[function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},r=(n(a(1)),a(6)),i=n(r),s=n(a(7)),l=n(a(8)),c=n(a(9)),d=n(a(10)),u=n(a(11)),f=n(a(14)),m=[],p=!1,x={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},g=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e&&(p=!0),p)return m=(0,u.default)(m,x),(0,d.default)(m,x.once),m},b=function(){m=(0,f.default)(),g()},h=function(){m.forEach(function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")})};e.exports={init:function(e){x=o(x,e),m=(0,f.default)();var t,a=document.all&&!window.atob;return!0===(t=x.disable)||"mobile"===t&&c.default.mobile()||"phone"===t&&c.default.phone()||"tablet"===t&&c.default.tablet()||"function"==typeof t&&!0===t()||a?h():(x.disableMutationObserver||l.default.isSupported()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),x.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",x.easing),document.querySelector("body").setAttribute("data-aos-duration",x.duration),document.querySelector("body").setAttribute("data-aos-delay",x.delay),"DOMContentLoaded"===x.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?g(!0):"load"===x.startEvent?window.addEventListener(x.startEvent,function(){g(!0)}):document.addEventListener(x.startEvent,function(){g(!0)}),window.addEventListener("resize",(0,s.default)(g,x.debounceDelay,!0)),window.addEventListener("orientationchange",(0,s.default)(g,x.debounceDelay,!0)),window.addEventListener("scroll",(0,i.default)(function(){(0,d.default)(m,x.once)},x.throttleDelay)),x.disableMutationObserver||l.default.ready("[data-aos]",b),m)},refresh:g,refreshHard:b}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function a(e){var t=void 0===e?"undefined":o(e);return!!e&&("object"==t||"function"==t)}function n(e){if("number"==typeof e)return e;if("symbol"==(void 0===(t=e)?"undefined":o(t))||t&&"object"==(void 0===t?"undefined":o(t))&&g.call(t)==s)return i;if(a(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=a(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;var r=d.test(e=e.replace(l,""));return r||u.test(e)?f(e.slice(2),r?2:8):c.test(e)?i:+e}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r="Expected a function",i=NaN,s="[object Symbol]",l=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,u=/^0o[0-7]+$/i,f=parseInt,m="object"==(void 0===t?"undefined":o(t))&&t&&t.Object===Object&&t,p="object"==("undefined"==typeof self?"undefined":o(self))&&self&&self.Object===Object&&self,x=m||p||Function("return this")(),g=Object.prototype.toString,b=Math.max,h=Math.min,y=function(){return x.Date.now()};e.exports=function(e,t,o){var i=!0,s=!0;if("function"!=typeof e)throw TypeError(r);return a(o)&&(i="leading"in o?!!o.leading:i,s="trailing"in o?!!o.trailing:s),function(e,t,o){function i(t){var a=u,n=f;return u=f=void 0,v=t,p=e.apply(n,a)}function s(e){var a=e-g,n=e-v;return void 0===g||a>=t||a<0||j&&n>=m}function l(){var e,a,n,o=y();return s(o)?c(o):void(x=setTimeout(l,(e=o-g,a=o-v,n=t-e,j?h(n,m-a):n)))}function c(e){return x=void 0,k&&u?i(e):(u=f=void 0,p)}function d(){var e,a=y(),n=s(a);if(u=arguments,f=this,g=a,n){if(void 0===x)return v=e=g,x=setTimeout(l,t),w?i(e):p;if(j)return x=setTimeout(l,t),i(g)}return void 0===x&&(x=setTimeout(l,t)),p}var u,f,m,p,x,g,v=0,w=!1,j=!1,k=!0;if("function"!=typeof e)throw TypeError(r);return t=n(t)||0,a(o)&&(w=!!o.leading,m=(j="maxWait"in o)?b(n(o.maxWait)||0,t):m,k="trailing"in o?!!o.trailing:k),d.cancel=function(){void 0!==x&&clearTimeout(x),v=0,u=g=f=x=void 0},d.flush=function(){return void 0===x?p:c(y())},d}(e,t,{leading:i,maxWait:t,trailing:s})}}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function a(e){var t=void 0===e?"undefined":o(e);return!!e&&("object"==t||"function"==t)}function n(e){if("number"==typeof e)return e;if("symbol"==(void 0===(t=e)?"undefined":o(t))||t&&"object"==(void 0===t?"undefined":o(t))&&x.call(t)==i)return r;if(a(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=a(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;var f=c.test(e=e.replace(s,""));return f||d.test(e)?u(e.slice(2),f?2:8):l.test(e)?r:+e}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=NaN,i="[object Symbol]",s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,d=/^0o[0-7]+$/i,u=parseInt,f="object"==(void 0===t?"undefined":o(t))&&t&&t.Object===Object&&t,m="object"==("undefined"==typeof self?"undefined":o(self))&&self&&self.Object===Object&&self,p=f||m||Function("return this")(),x=Object.prototype.toString,g=Math.max,b=Math.min,h=function(){return p.Date.now()};e.exports=function(e,t,o){function r(t){var a=d,n=u;return d=u=void 0,y=t,m=e.apply(n,a)}function i(e){var a=e-x,n=e-y;return void 0===x||a>=t||a<0||w&&n>=f}function s(){var e,a,n,o=h();return i(o)?l(o):void(p=setTimeout(s,(e=o-x,a=o-y,n=t-e,w?b(n,f-a):n)))}function l(e){return p=void 0,j&&d?r(e):(d=u=void 0,m)}function c(){var e,a=h(),n=i(a);if(d=arguments,u=this,x=a,n){if(void 0===p)return y=e=x,p=setTimeout(s,t),v?r(e):m;if(w)return p=setTimeout(s,t),r(x)}return void 0===p&&(p=setTimeout(s,t)),m}var d,u,f,m,p,x,y=0,v=!1,w=!1,j=!0;if("function"!=typeof e)throw TypeError("Expected a function");return t=n(t)||0,a(o)&&(v=!!o.leading,f=(w="maxWait"in o)?g(n(o.maxWait)||0,t):f,j="trailing"in o?!!o.trailing:j),c.cancel=function(){void 0!==p&&clearTimeout(p),y=0,d=x=u=p=void 0},c.flush=function(){return void 0===p?m:l(h())},c}}).call(t,function(){return this}())},function(e,t){"use strict";function a(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function n(e){e&&e.forEach(function(e){var t=Array.prototype.slice.call(e.addedNodes),a=Array.prototype.slice.call(e.removedNodes
1);if(function e(t){var a=void 0,n=void 0;for(a=0;a<t.length;a+=1)if((n=t[a]).dataset&&n.dataset.aos||n.children&&e(n.children))return!0;return!1}(t.concat(a)))return o()})}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){};t.default={isSupported:function(){return!!a()},ready:function(e,t){var r=window.document,i=new(a())(n);o=t,i.observe(r.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}}},function(e,t){"use strict";function a(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),o=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,r=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,s=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;t.default=new(function(){function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function")}return n(e,[{key:"phone",value:function(){var e=a();return!(!o.test(e)&&!r.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=a();return!(!i.test(e)&&!s.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}())},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(e,t,a){var n=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):void 0===n||"false"!==n&&(a||"true"===n)||e.node.classList.remove("aos-animate")};t.default=function(e,t){var n=window.pageYOffset,o=window.innerHeight;e.forEach(function(e,r){a(e,o+n,t)})}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=(n=a(12))&&n.__esModule?n:{default:n};t.default=function(e,t){return e.forEach(function(e,a){e.node.classList.add("aos-init"),e.position=(0,o.default)(e.node,t.offset)}),e}},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=(n=a(13))&&n.__esModule?n:{default:n};t.default=function(e,t){var a=0,n=0,r=window.innerHeight,i={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(i.offset&&!isNaN(i.offset)&&(n=parseInt(i.offset)),i.anchor&&document.querySelectorAll(i.anchor)&&(e=document.querySelectorAll(i.anchor)[0]),a=(0,o.default)(e).top,i.anchorPlacement){case"top-bottom":break;case"center-bottom":a+=e.offsetHeight/2;break;case"bottom-bottom":a+=e.offsetHeight;break;case"top-center":a+=r/2;break;case"bottom-center":a+=r/2+e.offsetHeight;break;case"center-center":a+=r/2+e.offsetHeight/2;break;case"top-top":a+=r;break;case"bottom-top":a+=e.offsetHeight+r;break;case"center-top":a+=e.offsetHeight/2+r}return i.anchorPlacement||i.offset||isNaN(t)||(n=t),a+n}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=0,a=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),a+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:a,left:t}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,function(e){return{node:e}})}}];function t(n){if(a[n])return a[n].exports;var o=a[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var a={};return t.m=e,t.c=a,t.p="dist/",t(0)}()},701613,e=>{"use strict";var t=e.i(843476),a=e.i(271645),n=e.i(317751),o=e.i(912598),r=e.i(618566),i=e.i(3303),s=e.i(705766),l=e.i(496593);let c=()=>{let[e,n]=(0,a.useState)(0);return(0,a.useEffect)(()=>{let e=()=>{let e=document.documentElement.scrollHeight-window.innerHeight;n(window.scrollY/e*100)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,t.jsx)("div",{style:{position:"fixed",top:0,left:0,width:`${e}%`,height:"2px",backgroundColor:"var(--primary)",zIndex:1e3}})};var d=e.i(310204),u=e.i(446290),f=e.i(464945),m=e.i(872637),p=e.i(369620),x=e.i(473665),g=e.i(114674),b=e.i(915941),h=e.i(207670);let y=()=>{let{isModalOpen:e,closeModal:a,onModalOpened:n,onModalClosed:o}=(0,l.useAppContext)(),r=(0,b.default)();return(0,t.jsx)(u.default,{isOpen:e,onRequestClose:()=>a("leadForm"),onAfterOpen:()=>n("leadForm"),onAfterClose:()=>o("leadForm"),ariaHideApp:!1,className:(0,h.default)("w-full mx-4 max-h-[90vh] bg-white rounded-3xl shadow-2xl relative outline-none",["us","uk"].includes(r)?"max-w-lg":"max-w-5xl"),overlayClassName:"fixed inset-0 bg-black/50 backdrop-blur-sm z-50 flex justify-center items-center",children:["us","uk"].includes(r)?(0,t.jsx)("div",{className:"border border-gray-200/80 rounded-2xl p-5 md:p-6 bg-white shadow-sm",children:(0,t.jsx)(d.default,{isModal:!0,size:"lg"})}):(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-12 gap-2 lg:gap-8 items-start p-6 md:p-10",children:[(0,t.jsxs)("div",{className:"lg:col-span-7 flex flex-col justify-between h-full order-2 lg:order-1",children:[(0,t.jsxs)("h2",{className:"text-2xl md:text-3xl hidden lg:block font-extrabold text-gray-900 leading-tight",children:["Run a More Efficient Restaurant with"," ",(0,t.jsx)("span",{className:"text-primary",children:"Foodhub Ecosystem"})]}),(0,t.jsxs)("div",{className:"bg-gray-50 p-4 rounded-xl mt-5 border border-gray-100",children:[(0,t.jsx)("h3",{className:"lg:text-xl font-bold text-center lg:text-left mb-4",children:"Talk to us and find out how you can"}),(0,t.jsxs)("div",{className:"grid grid-cols-2 lg:gap-4",children:[(0,t.jsxs)("div",{className:"bg-white p-4 lg:rounded-xl border border-gray-100",children:[(0,t.jsx)(g.HiOutlineCursorArrowRipple,{className:"text-primary text-xl lg:text-3xl mb-2"}),(0,t.jsxs)("h4",{className:"font-bold text-gray-900 text-sm lg:text-base",children:["Work better"," "]}),(0,t.jsxs)("p",{className:"text-xs text-gray-500 mt-1",children:["Streamline workflows and reduce manual tasks to optimise restaurant operations"," "]})]}),(0,t.jsxs)("div",{className:"bg-white p-4 lg:rounded-xl border border-gray-100",children:[(0,t.jsx)(x.MdOutlineTv,{className:"text-primary text-xl lg:text-3xl mb-2"}),(0,t.jsx)("h4",{className:"font-bold text-gray-900 text-sm lg:text-base",children:"Get smarter"}),(0,t.jsx)("p",{className:"text-xs text-gray-500 mt-1",children:"Use daily s
1ale reports, analyse customer behaviour and take calculated actions."})]}),(0,t.jsxs)("div",{className:"bg-white p-4 lg:rounded-xl border border-gray-100",children:[(0,t.jsx)(m.PiDevices,{className:"text-primary text-xl lg:text-3xl mb-2"}),(0,t.jsx)("h4",{className:"font-bold text-gray-900 text-sm lg:text-base",children:"Stay Online"}),(0,t.jsx)("p",{className:"text-xs text-gray-500 mt-1",children:"Let your customers order with ease on your own website or mobile app."})]}),(0,t.jsxs)("div",{className:"bg-white p-4 lg:rounded-xl border border-gray-100",children:[(0,t.jsx)(p.IoExtensionPuzzleOutline,{className:"text-primary text-xl lg:text-3xl mb-2"}),(0,t.jsx)("h4",{className:"font-bold text-gray-900 text-sm lg:text-base",children:"Integrate easily"}),(0,t.jsx)("p",{className:"text-xs text-gray-500 mt-1",children:"Connect your favourite tools and devices to work as one all-in-one system."})]})]})]}),(0,t.jsx)("div",{children:(0,t.jsx)(f.default,{title:(0,t.jsxs)("h3",{className:"text-center font-bold text-gray-900 text-sm lg:text-basetext-base mb-3",children:[(0,t.jsx)("span",{className:"text-primary",children:"30,000+"})," Restaurants are using Foodhub for their operations."]})})})]}),(0,t.jsxs)("div",{className:"lg:col-span-5 flex flex-col justify-between h-full bg-white lg:border-l lg:border-gray-100 2xl:pl-8 lg:pl-4  lg:pt-8 order-1 lg:order-2",children:[(0,t.jsxs)("h2",{className:"text-xl mb-4 text-center lg:hidden font-extrabold text-gray-900 leading-tight",children:["Run a More Efficient Restaurant with"," ",(0,t.jsx)("span",{className:"text-primary",children:"Foodhub Ecosystem"})]}),(0,t.jsx)("div",{className:"border border-gray-200/80 rounded-2xl p-5 md:p-6 bg-white shadow-sm",children:(0,t.jsx)(d.default,{isModal:!0,buttonText:"GET A CALLBACK"})})]})]})})};var v=e.i(940141);function w(e){return(0,v.GenIcon)({tag:"svg",attr:{version:"1.1",viewBox:"0 0 17 17"},child:[{tag:"g",attr:{},child:[]},{tag:"path",attr:{d:"M9 2.025v-1.025h1.5v-1h-4v1h1.5v1.025c-3.902 0.26-7 3.508-7 7.475 0 4.136 3.364 7.5 7.5 7.5s7.5-3.364 7.5-7.5c0-3.967-3.098-7.215-7-7.475zM8.5 16c-3.584 0-6.5-2.916-6.5-6.5s2.916-6.5 6.5-6.5 6.5 2.916 6.5 6.5-2.916 6.5-6.5 6.5zM9 9h4v1h-5v-4h1v3z"},child:[]}]})(e)}var j=e.i(879713),k=e.i(341511),N=e.i(874208),_=e.i(216394);function O({inputs:e,submitText:a}){let n=(0,j.default)(),o=(0,k.useLeadForm)({layerSuccess:"offer_banner_signup_success"});return(0,t.jsxs)("form",{onSubmit:o.onSubmit,children:[(0,t.jsx)("input",{type:"hidden",value:`Organic_Popup_${n.country.toUpperCase()}`,...o.register("leadSource",{required:!0})}),(0,t.jsx)(N.default,{inputs:e,form:o,authCountry:n,unstyled:!0,className:"form-control",emptySelectClassName:"text-[gray]",errorClassName:"border-red-500",adornmentClassName:"text-black border-gray-400 pr-2 border-r",showErrorMessage:!1}),(0,t.jsx)(_.default,{isLoading:o.isLoading,className:"btn btn-primary w-full btn-pill text-sm",children:a})]})}var S=e.i(657688),z=e.i(473360);let E=()=>{let e=(0,b.default)(),n=(0,r.usePathname)(),{modalState:o,openModal:i,closeModal:s,onModalOpened:c,onModalClosed:d,releaseModal:f}=(0,l.useAppContext)(),m=(0,z.isModalVisible)(o,"autoOffer");return(0,a.useEffect)(()=>{if(!localStorage.getItem("promoModalSeen")&&!n.includes("/reseller")){let e=setTimeout(()=>i("autoOffer",{queue:!0}),1e4);return()=>clearTimeout(e)}},[]),(0,a.useEffect)(()=>()=>f("autoOffer"),[f]),(0,t.jsx)(u.default,{isOpen:m,onRequestClose:()=>s("autoOffer"),onAfterOpen:()=>{localStorage.setItem("promoModalSeen","true"),c("autoOffer")},onAfterClose:()=>d("autoOffer"),ariaHideApp:!1,event:"offer_banner_close",className:"lg:w-6xl max-lg:w-full mx-5 bg-white rounded-lg shadow-xl relative p-0 outline-0",overlayClassName:m?"fixed inset-0 bg-[#25252577] bg-opacity-50 z-50 flex justify-center items-center":"",children:(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row items-center",children:[(0,t.jsx)("div",{className:(0,h.default)("lg:w-1/2 w-full relative lg:mr-5"),children:(0,t.jsx)(S.default,{src:(e=>{switch(e){case"uk":return"https://assets.foodhubforbusiness.com/fh-b2b/popup-offer.webp";case"aus":case"nz":return"https://assets.foodhubforbusiness.com/fh-b2b/popup-offer-anz.png";default:return"https://assets.foodhubforbusiness.com/fh-b2b/popup-offer-us.webp"}})(e),alt:"Get your offer",layout:"responsive",width:250,height:250,className:"w-full md:w-[180px] mx-auto lg:w-full rounded-xl"})}),(0,t.jsxs)("div",{className:"lg:w-1/2 w-full py-3 px-4 md:pl-0 md:p-6 flex flex-col justify-center bg-white h-full rounded-xl",children:[["aus","nz"].includes(e)?(0,t.jsx)("h2",{className:"text-lg font-bold mb-3 text-center",children:"We've got the right solution for you!"}):(0,t.jsxs)("h2",{className:"text-xl max-md:justify-center mb-2 lg:text-2xl font-bold text-primary lg:mb-4 flex items-center gap-2",children:[(0,t.jsx)(w,{})," ",(0,t.jsx)("span",{className:"text-primary",children:"Offer Ends S
1oon"})]}),(0,t.jsx)(O,{title:"Tell us how we can help",inputs:[{label:"Name",name:"name",type:"text"},{label:"Email",name:"email",type:"email"},{label:"Phone",name:"phone",type:"tel"},{label:"Business Name",name:"businessName",type:"text"}],submitText:["aus","nz"].includes(e)?"Receive a call today":"Get your offer"})]})]})})};var C=e.i(846932),M=e.i(88653),T=e.i(550719);let A="site_consent_v2";function L(){let[e,n]=(0,a.useState)(!1),[o,i]=(0,a.useState)(!1),s=(0,r.usePathname)();(0,a.useEffect)(()=>{var e;if(!("undefined"!=typeof document?(e=A,"undefined"==typeof document?"":document.cookie.split("; ").reduce((t,a)=>{let[n,o]=a.split("=");return n===e?decodeURIComponent(o):t},"")):"")){let e=setTimeout(()=>n(!0),1e3);return()=>clearTimeout(e)}},[]);let l=(e,t={})=>{"function"==typeof window.gtag&&window.gtag("event",e,{page_name:s,...t})},c=(e,t)=>{(function(e,t,a=365){let n=new Date(Date.now()+864e5*a).toUTCString();document.cookie=`${e}=${encodeURIComponent(t)}; expires=${n}; path=/; SameSite=Lax`})(A,JSON.str
1ingify(e)),"function"==typeof window.gtag&&window.gtag("consent","update",{analytics_storage:e.analytics?"granted":"denied",ad_storage:e.marketing?"granted":"denied",ad_user_data:e.marketing?"granted":"denied",ad_personalization:e.marketing?"granted":"denied"}),l(`cookie_${t}`,{analytics_consent:e.analytics?"granted":"denied",marketing_consent:e.marketing?"granted":"denied"}),n(!1),i(!1)};return(0,t.jsx)(M.AnimatePresence,{children:e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(M.AnimatePresence,{children:o&&(0,t.jsxs)("div",{className:"fixed inset-0 z-[70] flex items-center justify-center p-4",children:[(0,t.jsx)(C.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},onClick:()=>{l("cookie_customize_cancel"),i(!1)},className:"absolute inset-0 bg-slate-900/30 backdrop-blur-sm"}),(0,t.jsxs)(C.motion.div,{initial:{scale:.95,opacity:0,y:20},animate:{scale:1,opacity:1,y:0},exit:{scale:.95,opacity:0,y:20},className:"relative bg-white rounded-2xl lg:rounded-[2rem] shadow-2xl max-w-lg w-full overflow-hidden border border-slate-100",children:[(0,t.jsxs)("div",{className:"p-6 border-b border-slate-50 flex justify-between items-center bg-slate-50/50",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"p-2 bg-primary/10 rounded-xl",children:(0,t.jsx)(T.HiOutlineAdjustments,{className:"text-primary text-xl"})}),(0,t.jsx)("h4",{className:"text-xl font-bold text-slate-900",children:"Cookie Settings"})]}),(0,t.jsx)("button",{onClick:()=>{l("cookie_customize_cancel"),i(!1)},className:"p-2 hover:bg-slate-200 rounded-full transition-colors",children:(0,t.jsx)(T.HiX,{className:"text-slate-800 text-xl"})})]}),(0,t.jsx)("div",{className:"p-6",children:(0,t.jsx)(q,{onSave:e=>c(e,"save_preferences"),onCancel:()=>{l("cookie_customize_cancel"),i(!1)}})})]})]})}),(0,t.jsx)(C.motion.div,{initial:{y:100,opacity:0,x:"-50%"},animate:{y:0,opacity:1,x:"-50%"},exit:{y:100,opacity:0,x:"-50%"},className:"fixed bottom-8 left-1/2 z-[60] w-[92%] max-w-5xl",children:(0,t.jsxs)("div",{className:"bg-white shadow-lg border border-slate-200 rounded-2xl p-4 flex flex-col lg:flex-row items-center gap-3 lg:gap-6",children:[(0,t.jsx)("div",{className:"hidden lg:flex items-center justify-center w-14 h-14 bg-primary/10 rounded-2xl shrink-0",children:(0,t.jsx)(T.HiOutlineShieldCheck,{className:"text-primary text-3xl"})}),(0,t.jsxs)("div",{className:"flex-1 text-center lg:text-left",children:[(0,t.jsx)("div",{className:"flex items-center justify-center lg:justify-start gap-2 mb-1",children:(0,t.jsx)("h3",{className:"text-sm font-bold tracking-widest text-slate-800 uppercase",children:"Privacy Center"})}),(0,t.jsxs)("p",{className:"text-sm text-slate-600 font-medium leading-relaxed",children:["We use cookies to improve your experience and analyze our traffic."," ",(0,t.jsx)("a",{href:"/cookies",className:"text-primary hover:underline text-sm",children:"Learn More"})]})]}),(0,t.jsxs)("div",{className:"flex  justify-center gap-3 shrink-0",children:[(0,t.jsx)("button",{onClick:()=>{i(!0),l("cookie_customize_open")}
1,className:"px-2.5 py-1.5 lg:px-4 rounded-md border border-slate-200 text-sm  text-slate-600 hover:bg-slate-50 transition-all active:scale-95",children:"Manage"}),(0,t.jsx)("button",{onClick:()=>c({analytics:!1,marketing:!1,functional:!0},"reject_all"),className:"px-2.5 py-1.5 lg:px-4 border border-slate-200 rounded-md text-sm  text-slate-800 hover:text-slate-600 transition-all active:scale-95",children:"Reject"}),(0,t.jsx)("button",{onClick:()=>c({analytics:!0,marketing:!0,functional:!0},"accept_all"),className:"px-2.5 py-1.5 lg:px-4 rounded-md bg-primary text-white text-sm font-bold hover:shadow-lg hover:shadow-primary/30 transition-all active:scale-95 flex items-center gap-2",children:"Accept"})]})]})})]})})}function q({onSave:e,onCancel:n}){let[o,r]=(0,a.useState)(!1),[i,s]=(0,a.useState)(!1);return(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)(P,{label:"Strictly Necessary",desc:"Essential for the website to function properly.",checked:!0,disabled:!0}),(0,t.jsx)(P,{label:"Performance & Analytics",desc:"Helping us understand how you use our site.",checked:o,onChange:r}),(0,t.jsx)(P,{label:"Marketing & Retargeting",desc:"Used to show you relevant ads on other sites.",checked:i,onChange:s})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between pt-6",children:[(0,t.jsx)("button",{onClick:n,className:"text-sm font-bold text-slate-800 hover:text-slate-600 transition-colors",children:"Back"}),(0,t.jsxs)("button",{onClick:()=>e({analytics:o,marketing:i,functional:!0}),className:"bg-primary text-white px-8 py-3.5 rounded-xl text-sm font-bold shadow-lg shadow-primary/20 hover:opacity-90 transition-all flex items-center gap-2 group",children:["Confirm My Choices",(0,t.jsx)(T.HiChevronRight,{className:"text-lg group-hover:translate-x-1 transition-transform"})]})]})]})}function P({label:e,desc:a,checked:n,onChange:o,disabled:r=!1}){return(0,t.jsx)("div",{onClick:()=>!r&&o?.(!n),className:`group p-4 rounded-2xl border-2 transition-all duration-200 ${n?"border-primary/20 bg-primary/[0.02]":"border-slate-100 hover:border-slate-200"} ${r?"opacity-50":"cursor-pointer"}`,children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"pr-4 text-left",children:[(0,t.jsx)("p",{className:`font-bold text-sm ${n?"text-primary":"text-slate-700"}`,children:e}),(0,t.jsx)("p",{className:"text-[11px] text-slate-800 font-medium mt-0.5",children:a})]}),(0,t.jsx)("div",{className:`w-11 h-6 rounded-full p-1 transition-colors duration-300 ${n?"bg-primary":"bg-slate-200"}`,children:(0,t.jsx)(C.motion.div,{animate:{x:20*!!n},transition:{type:"spring",stiffness:500,damping:30},className:"w-4 h-4 bg-white rounded-full shadow-sm"})})]})})}function H(){return(0,a.useEffect)(()=>{let e=setTimeout(()=>{if(!window.fbq){let e=function(...t){e.callMethod?e.callMethod(...t):e.queue?.push(t)};e.queue=[],e.loaded=!0,e.version="2.0",window.fbq=e}let e=document.createElement("script");e.async=!0,e.src="https://connect.facebook.net/en_US/fbevents.js",document.head.appendChild(e),e.onload=()=>{window.fbq?.("init","175808536222582"),"https://foodhubforbusiness.com/thank-you/"===window.location.href?window.fbq?.("track","Lead"):window.fbq?.("track","PageView")}},2e3);return()=>clearTimeout(e)},[]),null}function I(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(H,{}),(0,t.jsx)(i.default,{id:"google-consent-management",strategy:"beforeInteractive",dangerouslySetInnerHTML:{__html:`
2            window.dataLayer = window.dataLayer || [];
3            function gtag(){dataLayer.push(arguments);}
4
5            // Step 1: Set Default (Deny everything for privacy compliance)
6            gtag('consent', 'default', {
7              'analytics_storage': 'denied',
8              'ad_storage': 'denied',
9              'ad_user_data': 'denied',
10              'ad_personalization': 'denied',
11              'wait_for_update': 500
12            });
13
14            // Step 2: Immediate Cookie Lookup
15            // Because this is SSG, we check the browser cookie the millisecond the script loads.
16            (function() {
17              var cookieName = "site_consent_v2=";
18              var cookies = document.cookie.split(';');
19              for (var i = 0; i < cookies.length; i++) {
20                var c = cookies[i].trim();
21                if (c.indexOf(cookieName) == 0) {
22                  try {
23                    var saved = JSON.parse(decodeURIComponent(c.substring(cookieName.length)));
24                    // Update consent immediately if cookie exists
25                    gtag('consent', 'update', {
26                      'analytics_storage': saved.analytics ? 'granted' : 'denied',
27                      'ad_storage': saved.marketing ? 'granted' : 'denied',
28                      'ad_user_data': saved.marketing ? 'granted' : 'denied',
29                      'ad_personalization': saved.marketing ? 'granted' : 'denied'
30                    });
31                  } catch (e) { console.error("Consent Sync Error", e); }
32                }
33              }
34            })();
35          `}}),(0,t.jsx)(i.default,{id:"gtm-script",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:`
vendor: 388 bytes, lines 35-40
35
36            (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
37            new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
38            j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
39            'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
40            })(window,document,'script','dataLayer','
40GTM-PXNPTFV
vendor: 14 bytes, lines 40-41
40');
41          
41`}}),(0,t.jsx)(i.default,{id:"ms-uet",strategy:"lazyOnload",dangerouslySetInnerHTML:{__html:`
42            (function(w,d,t,r,u){
43              var f,n,i;w[u]=w[u]||[],f=function(){
44                var o={ti:"26144775",enableAutoSpaTracking:true};
45                o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")
46              },
47              n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){
48                var s=this.readyState;
49                s && s !== "loaded" && s !== "complete" || (f(), n.onload = n.onreadystatechange = null)
50              },
51              i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)
52            })(window,document,"script","//bat.bing.com/bat.js","uetq");
53          `}}),(0,t.jsx)(i.default,{id:"uet-function",strategy:"lazyOnload",dangerouslySetInnerHTML:{__html:`
54            function uet_report_conversion() {
55              window.uetq = window.uetq || [];
56              window.uetq.push("event", "submit_lead_form", {});
57            }
58          `}}),(0,t.jsx)(i.default,{id:"clarity-function",strategy:"lazyOnload",dangerouslySetInnerHTML:{__html:`
59            (function(c,l,a,r,i,t,y){
60            c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
61            t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
62            y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
63            })(window, document, "clarity", "script", "kcv5eg1ju5");
64          `}})]})}var $=e.i(205329);function D(){let e=(0,r.usePathname)();return(0,a.useEffect)(()=>{$.default.init({once:!0,duration:700,easing:"ease-out-cubic",offset:50,delay:0})},[e]),(0,a.useEffect)(()=>{$.default.refresh()},[e]),null}e.i(386745);let R=new n.QueryClient;e.s(["default",0,({children:e,font:n})=>{let d=(0,r.usePathname)(),u=(0,b.default)();(0,a.useEffect)(()=>{window.scroll(0,0)},[d]);let f=d.includes("/stories"),m=!d.includes("/lp")&&!d.includes("/partner/toast")&&!d.includes("/thank-you")&&!d.includes("/drive2success-privacy-policy");if(f)return(0,t.jsx)(t.Fragment,{children:e});let p=function(e){switch(e.toLowerCase()){case"us":return"en-us";case"aus":return"en-au";case"nz":return"en-nz";case"ire":return"en-ie";case"ca":return"en-ca";default:return"en-gb"}}(u);return(0,t.jsx)("html",{lang:p,className:n.variable,children:(0,t.jsxs)("body",{className:"antialiased",suppressHydrationWarning:!0,children:[(0,t.jsxs)(o.QueryClientProvider,{client:R,children:[(0,t.jsxs)(l.AppProvider,{children:[(0,t.jsx)(D,{}),(0,t.jsx)(c,{}),e,m&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(E,{})}),(0,t.jsx)(y,{})]}),(0,t.jsx)(L,{}),(0,t.jsx)(s.Toaster,{position:"top-center"})]}),(0,t.jsx)(i.default,{src:"/js/custom.js",strategy:"lazyOnload"}),(0,t.jsx)(I,{})]})})}],701613)}]);

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.