1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,8341,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return a}});let a="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},3541,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{default:function(){return b},handleClientScriptLoad:function(){return p},initScriptLoader:function(){return h}});let a=e.r(55682),n=e.r(90809),i=e.r(43476),o=a._(e.r(74080)),s=n._(e.r(71645)),l=e.r(42732),c=e.r(22737),d=e.r(8341),u=new Map,f=new Set,m=e=>{let{src:t,id:r,onLoad:a=()=>{},onReady:n=null,dangerouslySetInnerHTML:i,children:s="",strategy:l="afterInteractive",onError:d,stylesheets:m}=e,p=r||t;if(p&&f.has(p))return;if(u.has(t)){f.add(p),u.get(t).then(a,d);return}let h=()=>{n&&n(),f.add(p)},x=document.createElement("script"),b=new Promise((e,t)=>{x.addEventListener("load",function(t){e(),a&&a.call(this,t),h()}),x.addEventListener("error",function(e){t(e)})}).catch(function(e){d&&d(e)});i?(x.innerHTML=i.__html||"",h()):s?(x.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",h()):t&&(x.src=t,u.set(t,b)),(0,c.setAttributesFromProps)(x,e),"worker"===l&&x.setAttribute("type","text/partytown"),x.setAttribute("data-nscript",l),m&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});if("undefined"!=typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(m),document.body.appendChild(x)};function p(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>m(e))}):m(e)}function h(e){e.forEach(p),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function x(e){let{id:t,src:r="",onLoad:a=()=>{},onReady:n=null,strategy:c="afterInteractive",onError:u,stylesheets:p,...h}=e,{updateScripts:x,scripts:b,getIsSsr:g,appDir:v,nonce:y}=(0,s.useContext)(l.HeadManagerContext);y=h.nonce||y;let w=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||r;w.current||(n&&e&&f.has(e)&&n(),w.current=!0)},[n,t,r]);let j=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{if(!j.current){if("afterInteractive"===c)m(e);else"lazyOnload"===c&&("complete"===document.readyState?(0,d.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>m(e))}));j.current=!0}},[e,c]),("beforeInteractive"===c||"worker"===c)&&(x?(b[c]=(b[c]||[]).concat([{id:t,src:r,onLoad:a,onReady:n,onError:u,...h,nonce:y}]),x(b)):g&&g()?f.add(t||r):g&&!g()&&m({...e,nonce:y})),v){if(p&&p.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===c)if(!r)return h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:y,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...h,id:t}])+")"}});else return o.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:y,crossOrigin:h.crossOrigin}:{as:"script",nonce:y,crossOrigin:h.crossOrigin}),(0,i.jsx)("script",{nonce:y,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+J
1SON.stringify([r,{...h,id:t}])+")"}});"afterInteractive"===c&&r&&o.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:y,crossOrigin:h.crossOrigin}:{as:"script",nonce:y,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(x,"__nextScript",{value:!0});let b=x;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},69418,e=>{"use strict";e.s(["default",()=>a]);var t=e.i(43476),r=e.i(71645);function a(){let e=(0,r.useRef)(null),a=(0,r.useRef)([]);return(0,r.useEffect)(()=>{let t=e.current,r=[];for(let e=0;e<18;e++){let e=document.createElement("div");e.className="cf-petal",e.style.display="none",document.body.appendChild(e),r.push(e)}a.current=r;let n=0,i=0,o=0,s=window.innerWidth/2,l=window.innerHeight/2,c=e=>{i=e.clientX+0,o=e.clientY+0,n||f()},d=e=>{var t;let r=null==(t=e.touches)?void 0:t[0];r&&(i=r.clientX,o=r.clientY,m(i,o))},u=e=>m(e.clientX,e.clientY),f=()=>{s+=(i-s)*.18,l+=(o-l)*.18,t.style.left="".concat(s,"px"),t.style.top="".concat(l,"px"),n=Math.hypot(i-s,o-l)>.2?requestAnimationFrame(f):0},m=(e,t)=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let r=a.current.filter(e=>"1"!==e.dataset.busy),n=Math.random()*Math.PI;r.slice(0,18).forEach((r,a)=>{r.dataset.busy="1",r.style.display="block",r.style.left="".concat(e,"px"),r.style.top="".concat(t,"px");let i=n+2*Math.PI/18*a,o=32+a%3*8,s=Math.cos(i)*o,l=Math.sin(i)*o,c=0+(10*Math.random()-5);r.style.setProperty("--cf-hue",c.toFixed(1)),r.style.setProperty("--cf-tx","".concat(s,"px")),r.style.setProperty("--cf-ty","".concat(l,"px")),r.style.animation="none",r.offsetHeight,r.style.animation="cf-bloom 650ms cubic-bezier(.2,.8,.2,1) forwards";let d=()=>{r.style.display="none",r.dataset.busy="0",r.removeEventListener("animationend",d)};r.addEventListener("animationend",d)})};return window.addEventListener("pointermove",c,{passive:!0}),window.addEventListener("click",u),window.addEventListener("touchstart",d,{passive:!0}),()=>{window.removeEventListener("pointermove",c),window.removeEventListener("click",u),window.removeEventListener("touchstart",d),cancelAnimationFrame(n),r.forEach(e=>e.remove())}},[]),(0,t.jsx)("div",{ref:e,className:"cf-follower","aria-hidden":!0})}},88941,e=>{"use strict";e.s(["default",()=>a]);var t=e.i(43476),r=e.i(17255);function a(e){let{children:a}=e;return(0,t.jsx)(r.SessionProvider,{children:a})}},5329,(e,t,r)=>{e.e,t.exports=function(){var e=[function(e,t,r){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},i=(a(r(1)),r(6)),o=a(i),s=a(r(7)),l=a(r(8)),c=a(r(9)),d=a(r(10)),u=a(r(11)),f=a(r(14)),m=[],p=!1,h={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},x=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e&&(p=!0),p)return m=(0,u.default)(m,h),(0,d.default)(m,h.once),m},b=function(){m=(0,f.default)(),x()},g=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){h=n(h,e),m=(0,f.default)();var t,r=document.all&&!window.atob;return!0===(t=h.disable)||"mobile"===t&&c.default.mobile()||"phone"===t&&c.default.phone()||"tablet"===t&&c.default.tablet()||"function"==typeof t&&!0===t()||r?g():(h.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 '),h.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",h.easing),document.querySelector("body").setAttribute("data-aos-duration",h.duration),document.querySelector("body").setAttribute("data-aos-delay",h.delay),"DOMContentLoaded"===h.startEvent&&["complete","
1interactive"].indexOf(document.readyState)>-1?x(!0):"load"===h.startEvent?window.addEventListener(h.startEvent,function(){x(!0)}):document.addEventListener(h.startEvent,function(){x(!0)}),window.addEventListener("resize",(0,s.default)(x,h.debounceDelay,!0)),window.addEventListener("orientationchange",(0,s.default)(x,h.debounceDelay,!0)),window.addEventListener("scroll",(0,o.default)(function(){(0,d.default)(m,h.once)},h.throttleDelay)),h.disableMutationObserver||l.default.ready("[data-aos]",b),m)},refresh:x,refreshHard:b}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function r(e){var t=void 0===e?"undefined":n(e);return!!e&&("object"==t||"function"==t)}function a(e){if("number"==typeof e)return e;if("symbol"==(void 0===(t=e)?"undefined":n(t))||t&&"object"==(void 0===t?"undefined":n(t))&&x.call(t)==s)return o;if(r(e)){var t,a="function"==typeof e.valueOf?e.valueOf():e;e=r(a)?a+"":a}if("string"!=typeof e)return 0===e?e:+e;var i=d.test(e=e.replace(l,""));return i||u.test(e)?f(e.slice(2),i?2:8):c.test(e)?o:+e}var n="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},i="Expected a function",o=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":n(t))&&t&&t.Object===Object&&t,p="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,h=m||p||Function("return this")(),x=Object.prototype.toString,b=Math.max,g=Math.min,v=function(){return h.Date.now()};e.exports=function(e,t,n){var o=!0,s=!0;if("function"!=typeof e)throw TypeError(i);return r(n)&&(o="leading"in n?!!n.leading:o,s="trailing"in n?!!n.trailing:s),function(e,t,n){function o(t){var r=u,a=f;return u=f=void 0,y=t,p=e.apply(a,r)}function s(e){var r=e-x,a=e-y;return void 0===x||r>=t||r<0||j&&a>=m}function l(){var e,r,a,n=v();return s(n)?c(n):void(h=setTimeout(l,(e=n-x,r=n-y,a=t-e,j?g(a,m-r):a)))}function c(e){return h=void 0,k&&u?o(e):(u=f=void 0,p)}function d(){var e,r=v(),a=s(r);if(u=arguments,f=this,x=r,a){if(void 0===h)return y=e=x,h=setTimeout(l,t),w?o(e):p;if(j)return h=setTimeout(l,t),o(x)}return void 0===h&&(h=setTimeout(l,t)),p}var u,f,m,p,h,x,y=0,w=!1,j=!1,k=!0;if("function"!=typeof e)throw TypeError(i);return t=a(t)||0,r(n)&&(w=!!n.leading,m=(j="maxWait"in n)?b(a(n.maxWait)||0,t):m,k="trailing"in n?!!n.trailing:k),d.cancel=function(){void 0!==h&&clearTimeout(h),y=0,u=x=f=h=void 0},d.flush=function(){return void 0===h?p:c(v())},d}(e,t,{leading:o,maxWait:t,trailing:s})}}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function r(e){var t=void 0===e?"undefined":n(e);return!!e&&("object"==t||"function"==t)}function a(e){if("number"==typeof e)return e;if("symbol"==(void 0===(t=e)?"undefined":n(t))||t&&"object"==(void 0===t?"undefined":n(t))&&h.call(t)==o)return i;if(r(e)){var t,a="function"==typeof e.valueOf?e.valueOf():e;e=r(a)?a+"":a}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)?i:+e}var n="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},i=NaN,o="[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":n(t))&&t&&t.Object===Object&&t,m="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,p=f||m||Function("return this")(),h=Object.prototype.toString,x=Math.max,b=Math.min,g=function(){return p.Date.now()};e.exports=function(e,t,n){function i(t){var r=d,a=u;return d=u=void 0,v=t,m=e.apply(a,r)}function o(e){var r=e-h,a=e-v;return void 0===h||r>=t||r<0||w&&a>=f}function s(){var e,r,a,n=g();return o(n)?l(n):void(p=setTimeout(s,(e=n-h,r=n-v,a=t-e,w?b(a,f-r):a)))}function l(e){return p=void 0,j&&d?i(e):(d=u=void 0,m)}function c(){var e,r=g(),a=o(r);if(d=arguments,u=this,h=r,a){if(void 0===p)return v=e=h,p=setTimeout(s,t),y?i(e):m;if(w)return p=setTimeout(s,t),i(h)}return void 0===p&&(p=setTimeout(s,t)),m}var d,u,f,m,p,h,v=0,y=!1,w=!1,j=!0;if("function"!=typeof e)throw TypeError("Expected a function");return t=a(t)||0,r(n)&&(y=!!n.leading,f=(w="maxWait"in n)?x(a(n.maxWait)||0,t):f,j="trailing"in n?!!n.trailing:j),c.cancel=function(){void 0!==p&&clearTimeout(p),v=0,d=h=u=p=void 0},c.flush=function(){return void 0===p?m:l(g())},c}}).call(t,function(){return this}())},function(e,t){"use strict";function r(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function a(e){e&&e.forEach(function(e){var t=Array.prototype.slice.call(e.addedNodes),r=Array.prototype.slice.call(e.removedNodes
1);if(function e(t){var r=void 0,a=void 0;for(r=0;r<t.length;r+=1)if((a=t[r]).dataset&&a.dataset.aos||a.children&&e(a.children))return!0;return!1}(t.concat(r)))return n()})}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){};t.default={isSupported:function(){return!!r()},ready:function(e,t){var i=window.document,o=new(r())(a);n=t,o.observe(i.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}}},function(e,t){"use strict";function r(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,r,a){return r&&e(t.prototype,r),a&&e(t,a),t}}(),n=/(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,i=/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,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|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 a(e,[{key:"phone",value:function(){var e=r();return!(!n.test(e)&&!i.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=r();return!(!o.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 r=function(e,t,r){var a=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):void 0===a||"false"!==a&&(r||"true"===a)||e.node.classList.remove("aos-animate")};t.default=function(e,t){var a=window.pageYOffset,n=window.innerHeight;e.forEach(function(e,i){r(e,n+a,t)})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,n=(a=r(12))&&a.__esModule?a:{default:a};t.default=function(e,t){return e.forEach(function(e,r){e.node.classList.add("aos-init"),e.position=(0,n.default)(e.node,t.offset)}),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,n=(a=r(13))&&a.__esModule?a:{default:a};t.default=function(e,t){var r=0,a=0,i=window.innerHeight,o={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(o.offset&&!isNaN(o.offset)&&(a=parseInt(o.offset)),o.anchor&&document.querySelectorAll(o.anchor)&&(e=document.querySelectorAll(o.anchor)[0]),r=(0,n.default)(e).top,o.anchorPlacement){case"top-bottom":break;case"center-bottom":r+=e.offsetHeight/2;break;case"bottom-bottom":r+=e.offsetHeight;break;case"top-center":r+=i/2;break;case"bottom-center":r+=i/2+e.offsetHeight;break;case"center-center":r+=i/2+e.offsetHeight/2;break;case"top-top":r+=i;break;case"bottom-top":r+=e.offsetHeight+i;break;case"center-top":r+=e.offsetHeight/2+i}return o.anchorPlacement||o.offset||isNaN(t)||(a=t),r+a}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=0,r=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),r+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:r,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(a){if(r[a])return r[a].exports;var n=r[a]={exports:{},id:a,loaded:!1};return e[a].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var r={};return t.m=e,t.c=r,t.p="dist/",t(0)}()},26808,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(43476),r=e.i(71645),a=e.i(5329);function n(e){let{children:n}=e;return(0,r.useEffect)(()=>{a.default.init({duration:800,once:!0,offset:100,easing:"ease-out-cubic"})},[]),(0,t.jsx)(t.Fragment,{children:n})}},60334,e=>{"use strict";e.s(["default",()=>k],60334);var t=e.i(43476),r=e.i(71645),a=e.i(17255),n=e.i(18566),i=e.i(92199),o=e.i(84848);e.i(60499);var s=e.i(88653),l=e.i(46932),c=e.i(22016),d=e.i(57688);let u=e=>{let{href:r,children:a,onClick:i,mobile:o=!1}=e,s=(0,n.usePathname)()===r;return o?(0,t.jsx)("li",{className:"mb-2",children:(0,t.jsx)(c.default,{href:r,className:"block rounded-lg px-4 py-3 text-lg font-medium text-gray-700 hover:bg-gray-50 hover:text-orange-500 transition-all duration-300",onClick:i,children:a})}):(0,t.jsx)("li",{children:(0,t.jsxs)(c.default,{href:r,onClick:i,className:"relative block px-3 py-2 text-base font-medium transition-all duration-300 transform hover:scale-105 ".concat(s?"text-orange-500":"text-gray-700 hover:text-orange-500"),children:[a,s&&(0,t.jsx)(l.motion.span,{layoutId:"underline",className:"absolute left-0 -bottom-1 block h-[2px] w-full bg-orange-500"})]})})},f=e=>{var r,n,f,m;let{isOpen:p,setIsMenuOpen:h,session:x,navItems:b}=e;return(0,t.jsx)(s.AnimatePresence,{children:p&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.motion.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-40 bg-black/50",onClick:()=>h(!1)}),(0,t.jsxs)(l.motion.div,{initial:{x:"-100%"},animate:{x:0},exit:{x:"-100%"},transition:{type:"spring",damping:25,stiffness:200},className:"fixed top-0 left-0 z-50 h-full w-64 bg-white shadow-xl",children:[(0,t.jsxs)("div",{className:"flex h-20 items-center justify-between px-4 border-b",children:[(0,t.jsx)(o.default,{}),(0,t.jsx)("button",{onClick:()=>h(!1),className:"p-2 text-gray-700 transition-all duration-300 hover:text-orange-500 cursor-pointer",children:(0,t.jsx)(i.FiX,{size:24})})]}),(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[(0,t.jsx)("ul",{className:"flex flex-col p-4 overflow-y-auto",children:b.map(e=>(0,t.jsx)(u,{href:e.href,mobile:!0,onClick:()=>h(!1),children:e.label},e.href))}),(0,t.jsx)("div",{className:"mt-auto border-t border-gray-100 p-4",children:x?(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)(d.default,{src:(null==(r=x.user)?void 0:r.image)||"https://avatar.vercel.sh/".concat(null==(n=x.user)?void 0:n.email),alt:(null==(f=x.user)?void 0:f.name)||"User",width:48,height:48,className:"rounded-full"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-semibold",children:null==(m=x.user)?void 0:m.name}),(0,t.jsx)("button",{onClick:()=>{h(!1),(0,a.signOut)()},className:"text-sm text-red-500 transition-all duration-300",children:"Sign Out"})]})]}):(0,t.jsx)("div",{className:"flex flex-col gap-3",children:(0,t.jsx)(c.default,{href:"/login",className:"rounded-lg bg-orange-500 py-2.5 text-center font-semibold text-white hover:bg-orange-600 transition-all duration-300",onClick:()=>h(!1),children:"Login"})})})]})]})]})})};var m=e.i(73665),p=e.i(40141);function h(e){return(0,p.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M16 9C16 11.2091 14.2091 13 12 13C9.79086 13 8 11.2091 8 9C8 6.79086 9.79086 5 12 5C14.2091 5 16 6.79086 16 9ZM14 9C14 10.1046 13.1046 11 12 11C10.8954 11 10 10.1046 10 9C10 7.89543 10.8954 7 12 7C13.1046 7 14 7.89543 14 9Z",fill:"currentColor"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM3 12C3 14.0902 3.71255 16.014 4.90798 17.5417C6.55245 15.3889 9.14627 14 12.0645 14C14.9448 14 17.5092 15.3531 19.1565 17.4583C20.313 15.9443 21 14.0524 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12ZM12 21C9.84977 21 7.87565 20.2459 6.32767 18.9878C7.59352 17.1812 9.69106 16 12.0645 16C14.4084 16 16.4833 17.1521 17.7538 18.9209C16.1939 20.2191 14.1881 21 12 21Z",fill:"currentColor"},child:[]}]})(e)}var x=e.i(26469);let b=e=>{var r,n,o,u;let{session:f,isOpen:p,setIsOpen:h,setIsOrderStatusModalOpen:x,dropdownRef:b}=e,g=null==f?void 0:f.user,v="";return"rider"===g.role?v="/rider-dashboard":"restaurantOwner"===g.role?v="/restaurant-dashboard":"moderator"===g.role?v="/moderator-dashboard":"admin"===g.role&&(v="/admin-dashboard"),(0,t.jsxs)("div",{className:"relative",ref:b,children:[(0,t.jsx)(d.default,{src:(null==(r=f.user)?void 0:r.image)||"/user.png",alt:(null==(n=f.user)?void 0:n.name)||"User",width:40,height:40,className:"cursor-pointer rounded-full transition-transform duration-300 hover:scale-110",onClick:()=>h(!p)}),(0,t.jsx)(s.AnimatePresence,{children:p&&(0,t.jsxs)(l.motion.div,{initial:{opacity:0,scale:.95,y:-10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:-10},transition:{duration:.2,ease:"easeOut"},className:"absolute right-0 mt-2 w-64 origin-top-right rounded-lg border bg-white shadow-lg z-50",children:[(0,t.jsxs)("div",{className:"border-b p-4 text-center",children:[(0,t.jsx)("p",{className:"font-semibold text-gray-800",children:null==(o=f.user)?void 0:o.name}),(0,t.jsx)("p",{className:"text-sm text-gray-500",children:null==(u=f.user)?void 0:u.email})]}),(0,t.jsxs)("ul",{className:"p-2",children:[(0,t.jsxs)("li",{className:"flex items-center gap-3 rounded-md px-3 py-2 text-gray-700 hover:bg-gray-100 transition-transform duration-300 hover:scale-105",children:[(0,t.jsx)(m.MdLocationSearching,{})," ",(0,t.jsx)("button",{onClick:()=>{h(!1),x(!0)},children:"Order Status"})]}),(0,t.jsxs)("li",{className:"flex items-center gap-3 rounded-md px-3 py-2 text-gray-700 hover:bg-gray-100 transition-transform duration-300 hover:scale-105",children:[(0,t.jsx)(i.FiUser,{})," ",(0,t.jsx)(c.default,{href:"/profile",onClick:()=>h(!1),children:"My Profile"})]}),"user"!==g.role&&(0,t.jsxs)("li",{className:"flex items-center gap-3 rounded-md px-3 py-2 text-gray-700 hover:bg-gray-100 transition-transform duration-300 hover:scale-105",children:[(0,t.jsx)(i.FiGrid,{})," ",(0,t.jsx)(c.default,{href:"".concat(v),onClick:()=>h(!1),children:"Dashboard"})]}),(0,t.jsxs)("li",{className:"flex w-full cursor-pointer items-center gap-3 rounded-md px-3 py-2 font-medium text-red-500 hover:bg-red-50 transition-transform duration-300 hover:scale-105",children:[(0,t.jsx)(i.FiLogOut,{}),(0,t.jsx)("button",{onClick:()=>{h(!1),(0,a.signOut)()},children:"Logout"})]})]})]})})]})};function g(e){return(0,p.GenIcon)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 464c22.779 0 41.411-18.719 41.411-41.6h-82.823c0 22.881 18.633 41.6 41.412 41.6zm134.589-124.8V224.8c0-63.44-44.516-117.518-103.53-131.041V79.2c0-17.682-13.457-31.2-31.059-31.2s-31.059 13.518-31.059 31.2v14.5
159c-59.015 13.523-103.53 67.601-103.53 131.041v114.4L80 380.8v20.8h352v-20.8l-41.411-41.6z"},child:[]}]})(e)}let v=e=>{let{isOpen:r,setIsOpen:a,notifications:n,unreadCount:i,markAsRead:o,markAllAsRead:c,dropdownRef:d}=e;return(0,t.jsxs)("div",{className:"relative",ref:d,children:[(0,t.jsxs)("button",{onClick:()=>a(!r),className:"relative flex flex-col items-center rounded-full font-semibold text-orange-500 transition-all duration-300 hover:text-orange-600 transform hover:scale-105",children:[i>0&&(0,t.jsx)("span",{className:"absolute -top-1 -right-1 bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center",children:i}),(0,t.jsx)(g,{size:25,className:"cursor-pointer"})]}),(0,t.jsx)(s.AnimatePresence,{children:r&&(0,t.jsxs)(l.motion.div,{initial:{opacity:0,scale:.95,y:-10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:-10},transition:{duration:.2,ease:"easeOut"},className:"absolute right-0 mt-2 w-80 origin-top-right rounded-lg border bg-white shadow-lg z-50",children:[(0,t.jsx)("div",{className:"border-b p-4",children:(0,t.jsxs)("div",{className:"flex justify-between items-center",children:[(0,t.jsx)("h3",{className:"font-medium",children:"Notifications"}),i>0&&(0,t.jsx)("button",{onClick:c,className:"text-sm text-blue-600 hover:text-blue-800",children:"Mark all as read"})]})}),(0,t.jsx)("div",{className:"max-h-96 overflow-y-auto",children:n.length>0?(0,t.jsx)("div",{className:"divide-y",children:n.map(e=>(0,t.jsx)("div",{className:"p-4 hover:bg-gray-50 cursor-pointer ".concat(e.isRead?"":"bg-blue-50"),onClick:()=>{e.isRead||o(e.id)},children:(0,t.jsxs)("div",{className:"flex items-start",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)("div",{className:"w-2 h-2 rounded-full mt-1.5 ".concat(e.isRead?"bg-gray-300":"bg-blue-500")})}),(0,t.jsxs)("div",{className:"ml-3 flex-1",children:[(0,t.jsx)("p",{className:"text-sm font-medium text-gray-900",children:e.title}),(0,t.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:e.message}),(0,t.jsx)("p",{className:"text-xs text-gray-400 mt-1",children:(e=>(e?new Date(e):new Date).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"}))(e.createdAt)})]})]})},e.id))}):(0,t.jsx)("div",{className:"p-4 text-center text-sm text-gray-500",children:"No notifications"})})]})})]})},y=e=>{let{isUserMenuOpen:r,setIsUserMenuOpen:n,isNotificationDropdownOpen:i,setIsNotificationDropdownOpen:o,setIsOrderStatusModalOpen:s,userMenuRef:l,notificationRef:d,notifications:u,unreadCount:f,markAsRead:p,markAllAsRead:g}=e,{data:y,status:w}=(0,a.useSession)(),{cartItems:j}=(0,x.useCart)(),k=(null==j?void 0:j.length)||0;return(0,t.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,t.jsxs)(c.default,{href:"/cart",className:"relative flex flex-col items-center rounded-full font-semibold text-orange-500 transition-all duration-300 hover:text-orange-600 transform hover:scale-105",children:[k>0&&(0,t.jsx)("span",{className:"absolute -top-1 -right-1 bg-orange-500 text-white text-xs font-bold w-5 h-5 flex items-center justify-center rounded-full",children:k}),(0,t.jsx)(m.MdShoppingCart,{size:25})]}),(0,t.jsx)("div",{className:"relative flex flex-col items-center rounded-full font-semibold text-orange-500 transition-all duration-300 hover:text-orange-600 transform hover:scale-105 cursor-pointer",children:(0,t.jsx)(v,{isOpen:i,setIsOpen:o,notifications:u,unreadCount:f,markAsRead:p,markAllAsRead:g,dropdownRef:d})}),(0,t.jsx)(c.default,{href:"/messages",onClick:e=>{y||(e.preventDefault(),window.location.href="/login?callbackUrl=".concat(encodeURIComponent("/messages")))},className:"relative flex flex-col items-center rounded-full font-semibold text-orange-500 transition-all duration-300 hover:text-orange-600 transform hover:scale-105",children:(0,t.jsx)(m.MdOutlineEmail,{size:25})}),y?(0,t.jsx)(b,{session:y,isOpen:r,setIsOpen:n,setIsOrderStatusModalOpen:s,dropdownRef:l}):(0,t.jsx)(c.default,{href:"/login",className:"flex items-center gap-2 rounded-full font-semibold text-orange-500 transition-all duration-300 hover:text-orange-600 transform hover:scale-105",children:(0,t.jsx)(h,{size:30})})]})},w=e=>{let t=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let r=r=>
1{t.current&&!t.current.contains(r.target)&&e()};return document.addEventListener("mousedown",r),()=>document.removeEventListener("mousedown",r)},[e]),t},j=(0,r.lazy)(()=>e.A(57214)),k=()=>{var e;let{data:s}=(0,a.useSession)(),l=(0,n.usePathname)(),[c,d]=(0,r.useState)(!1),[u,m]=(0,r.useState)(!1),[p,h]=(0,r.useState)(!1),[b,g]=(0,r.useState)(!1),v=(()=>{let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=()=>t(window.scrollY>50);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),e})(),{cartCount:k}=(0,x.useCart)(),N=w(()=>m(!1)),C=w(()=>h(!1)),{notifications:O,unreadCount:E,markAsRead:M,markAllAsRead:S}=(e=>{var t;let[a,n]=(0,r.useState)([]),[i,o]=(0,r.useState)(0);(0,r.useEffect)(()=>{var t;(null==e||null==(t=e.user)?void 0:t.email)&&s()},[null==e||null==(t=e.user)?void 0:t.email]);let s=async()=>{try{let t="/api/notifications?userEmail=".concat(encodeURIComponent(e.user.email)),r=await fetch(t),a=await r.json();n(a.notifications||[]),o(a.unreadCount||0)}catch(e){}},l=async e=>{try{await fetch("/api/notifications/".concat(e),{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isRead:!0})}),n(t=>t.map(t=>t.id===e?{...t,isRead:!0}:t)),o(e=>Math.max(0,e-1))}catch(e){}},c=async()=>{try{let e=a.filter(e=>!e.isRead);await Promise.all(e.map(e=>l(e.id))),o(0)}catch(e){}};return{notifications:a,unreadCount:i,markAsRead:l,markAllAsRead:c,refreshNotifications:s}})(s),L=(0,r.useMemo)(()=>[{href:"/",label:"Home"},{href:"/menus",label:"Menus"},{href:"/restaurants",label:"Restaurants"},{href:"/blogs",label:"Blogs"},{href:"/about",label:"About"},{href:"/contacts",label:"Contact Us"}],[]);return l.includes("dashboard")?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("nav",{className:"fixed top-0 z-50 w-full transition-all duration-300 bg-transparent",children:(0,t.jsxs)("div",{className:"container mx-auto flex h-20 items-center justify-between px-4",children:[(0,t.jsx)("button",{onClick:()=>d(!c),className:"p-2 cursor-pointer text-orange-500 transition-all duration-300 hover:text-orange-600 transform hover:scale-110","aria-label":"Toggle menu",children:(0,t.jsx)(i.FiMenu,{size:24})}),!v&&(0,t.jsx)("div",{className:"absolute left-1/2 transform -translate-x-1/2",children:(0,t.jsx)(o.default,{})}),(0,t.jsx)(y,{cartCount:k,isUserMenuOpen:u,setIsUserMenuOpen:m,isNotificationDropdownOpen:p,setIsNotificationDropdownOpen:h,setIsOrderStatusModalOpen:g,userMenuRef:N,notificationRef:C,notifications:O,unreadCount:E,markAsRead:M,markAllAsRead:S,session:s})]})}),(0,t.jsx)(f,{isOpen:c,setIsMenuOpen:d,session:s,navItems:L}),b&&(0,t.jsx)(r.Suspense,{fallback:null,children:(0,t.jsx)(j,{isOpen:b,onClose:()=>g(!1),userEmail:null==s||null==(e=s.user)?void 0:e.email})})]})}},84828,e=>{"use strict";e.s(["FaMoon",()=>a,"FaXTwitter",()=>r]);var t=e.i(40141);function r(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"},child:[]}]})(e)}function a(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"},child:[]}]})(e)}},71652,e=>{"use strict";e.s(["default",()=>x],71652);var t=e.i(43476),r=e.i(71645),a=e.i(84848),n=e.i(30955),i=e.i(84828),o=e.i(69620),s=e.i(18566),l=e.i(22016),c=e.i(38325);function d(){let[e,a]=(0,r.useState)(""),[i,o]=(0,r.useState)(!1),s=async t=>{if(t.preventDefault(),!e.trim())return c.default.fire({icon:"warning",title:"Empty",text:"Please enter your email."});if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(String(e).toLowerCase()))return c.default.fire({icon:"error",title:"Invalid email",text:"Enter a valid email address."});o(!0);try{let t=await fetch("/api/newsletters",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e})}),r=await t.json();t.ok&&r.success?(await c.default.fire({icon:"success",title:"Subscribed!",text:r.message||"You've been added to our newsletter.",timer:2500,showConfirmButton:!1}),a("")):await c.default.fire({icon:r.success?"info":"error",title:r.success?"Info":"Error",text:r.message||"Something went wrong."})}catch(e){c.default.fire({icon:"error",title:"Network Error",text:"Failed to subscribe. Try again later."})}finally{o(!1)}};return(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm leading-relaxed mb-4",children:"Get exclusive updates, offers, and content directly to your inbox."}),(0,t.jsxs)("form",{className:"flex",onSubmit:s,children:[(0,t.jsx)("input",{type:"email",placeholder:"your email address",value:e,onCh
1ange:e=>a(e.target.value),className:"w-full bg-gray-700 text-white px-4 py-3 rounded-l-md focus:outline-none focus:ring-2 focus:ring-purple-500",suppressHydrationWarning:!0}),(0,t.jsxs)("button",{type:"submit",disabled:i,className:"flex items-center justify-center gap-2 bg-orange-600 hover:bg-orange-700 text-white px-4 py-3 rounded-r-md transition-colors ","aria-label":"Subscribe",children:[(0,t.jsx)(n.FaRegPaperPlane,{}),i?"Saving...":"Subscribe"]})]})]})}var u=e.i(92199);let f=()=>{let[e,a]=(0,r.useState)(null),[n,i]=(0,r.useState)(!1);(0,r.useEffect)(()=>{(window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone)&&i(!0);let e=e=>{e.preventDefault(),a(e)},t=()=>{i(!0),a(null)};return window.addEventListener("beforeinstallprompt",e),window.addEventListener("appinstalled",t),()=>{window.removeEventListener("beforeinstallprompt",e),window.removeEventListener("appinstalled",t)}},[]);let o=async()=>{if(e)try{e.prompt();let{outcome:t}=await e.userChoice;"accepted"===t&&a(null)}catch(e){}};return n?(0,t.jsxs)("button",{disabled:!0,className:"flex items-center gap-2 bg-green-500 text-white px-4 py-2 rounded-lg opacity-75 cursor-not-allowed",children:[(0,t.jsx)(u.FiCheck,{className:"h-4 w-4"}),"Installed"]}):e?(0,t.jsxs)("button",{onClick:o,className:"flex items-center gap-2 bg-orange-500 hover:bg-orange-600 text-white px-4 py-2 rounded-lg transition-colors",children:[(0,t.jsx)(u.FiDownload,{className:"h-4 w-4"}),"Install App"]}):null};function m(){var e,a;let[n,i]=(0,r.useState)("en"),[s,l]=(0,r.useState)(!1),[c,d]=(0,r.useState)(!1);(0,r.useEffect)(()=>{d(!0)},[]);let u=[{code:"en",label:"English"},{code:"bn",label:"বাà¦à¦²à¦¾"},{code:"hi",label:"हिनà¥à¤¦à¥"},{code:"es",label:"Español"},{code:"ar",label:"Ø§ÙØ¹Ø±Ø¨ÙØ©"}];return((0,r.useEffect)(()=>{if(!c)return;let e=()=>{let e=document.querySelector("select.goog-te-combo");return!!e&&(e.value=n,e.dispatchEvent(new Event("change")),!0)};if(!e()){let t=setInterval(()=>{e()&&clearInterval(t)},300);return()=>clearInterval(t)}},[n,c]),(0,r.useEffect)(()=>{if(!c)return;let e=e=>{e.target.closest(".translate-container")||l(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[c]),c)?(0,t.jsxs)("div",{className:"relative select-none translate-container",children:[(0,t.jsxs)("button",{onClick:()=>l(e=>!e),className:"flex items-center justify-center gap-2 p-2 rounded-full text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 hover:text-primary-600 dark:hover:text-primary-400 transition-all duration-200 border border-transparent hover:border-gray-200 dark:hover:border-gray-700","aria-label":"Change language",children:[(0,t.jsx)(o.IoLanguageOutline,{className:"w-5 h-5"}),(0,t.jsx)("span",{className:"text-sm font-medium hidden sm:block",children:(null==(e=u.find(e=>e.code===n))?void 0:e.label)||"EN"})]}),s&&(0,t.jsxs)("div",{className:"absolute bottom-full right-0 mb-2 w-40 rounded-xl shadow-lg border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-900 backdrop-blur-sm bg-opacity-95 text-gray-900 dark:text-gray-100 z-50 animate-in fade-in-0 zoom-in-95 duration-200",children:[(0,t.jsx)("div",{className:"absolute -bottom-1 right-3 w-3 h-3 rotate-45 bg-white dark:bg-gray-900 border-r border-b border-gray-200 dark:border-gray-700"}),(0,t.jsx)("div",{className:"py-2",children:u.map(e=>(0,t.jsxs)("button",{onClick:()=>(e=>{i(e);{let t=document.querySelector("select.goog-te-combo");t&&(t.value=e,t.dispatchEvent(new Event("change")))}l(!1)})(e.code),className:"flex items-center w-full px-4 py-3 text-sm transition-all duration-200\n ".concat(n===e.code?"bg-primary-50 dark:bg-primary-900/20 text-primary-600 dark:text-primary-400 font-semibold border-r-2 border-primary-500":"hover:bg-gray-50 dark:hover:bg-gray-800 text-gray-700 dark:text-gray-300 hover:text-primary-600 dark:hover:text-primary-400"),children:[(0,t.jsx)("span",{className:"flex-1 text-left",children:e.label}),n===e.code&&(0,t.jsx)("div",{className:"w-2 h-2 rounded-full bg-primary-500 ml-2"})]},e.code))}),(0,t.jsx)("div",{className:"px-4 py-2 border-t border-gray-100 dark:border-gray-800 bg-gray-50 dark:bg-gray-800/50 rounded-b-xl",children:(0,t.jsxs)("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:["Current: ",(0,t.jsx)("span",{className:"font-medium text-primary-600 dark:text-primary-400",children:null==(a=u.find(e=>e.code===n))?void 0:a.label})]})})]})]}):(0,t.jsx)("div",{className:"relative select-none translate-container",children:(0,t.jsxs)("button",{className:"flex items-center justify-center gap-2 p-2 rounded-full text-gray-700 dark:text-gray-300 border border-transparent","aria-label":"Change language",children:[(0,t.jsx)(o.IoLanguageOutline,{className:"w-5 h-5"}),(0,t.jsx)("span",{className:"text-sm font-medium hidden sm:block",children:"EN"})]})})}let p=e=>{let{title:r,links:a}=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-4 text-sm font-semibold uppercase text-gray-100",children:r}),(0,t.jsx)("ul",{className:"space-y-3",children:a.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(l.default,{href:e.href,className:"text-gray-400 transition-colors hover:text-orange-400",children:e.name})},e.href))})]})},h=[{title:"About FastFeast",links:[{name:"About Us",href:"/about"},{name:"Blogs",href:"/blogs"},{name:"Careers",href:"/careers"},{name:"Contact",href:"/contacts"}]},{title:"Support & Polcy",links:[{name:"Privacy Policy",href:"/PrivacyPolicy"},{name:"Return Policy",href:"/ReturnPolicy"},{name:"Terms And Conditions",href:"/TermsAndConditions"},{name:"Developer Info",href:"/developerInfo"}]}],x=()=>(0,s.usePathname)().includes("dashboard")?null:(0,t.jsxs)("footer",{className:"bg-slate-900 text-gray-300",children:[(0,t.jsx)("div",{className:"container mx-auto py-12 px-4",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4",children:[(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)(a.default,{}),(0,t.jsxs)("div",{className:"space-y-2 text-sm",children:[(0,t.jsxs)("div",{className:"flex items-start gap-2",children:[(0,t.jsx)(o.IoLocationSharp,{size:20,className:"mt-1 flex-shrink-0 text-orange-400"}),(0,t.jsx)("p",{className:"text-gray-400",children:"123 Gulshan Avenue, Dhaka "})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(o.IoCall,{size:20,className:"flex-shrink-0 text-orange-400"}),(0,t.jsx)("a",{href:"tel:+8801712345678",className:"text-gray-400 transition-colors hover:text-orange-400",children:"+880 171 234 5678"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(o.IoMail,{size:20,className:"flex-shrink-0 text-orange-400"}),(0,t.jsx)("a",{href:"mailto:[email protected]",className:"text-gray-400 transition-colors hover:text-orange-400",children:"[email protected]"})]})]}),(0,t.jsxs)("div",{className:"flex space-x-4 pt-2",children:[(0,t.jsx)("a",{href:"#","aria-label":"Facebook",children:(0,t.jsx)(n.FaFacebook,{size:24,className:"text-gray-400 transition-colors hover:text-orange-400"})}),(0,t.jsx)("a",{href:"#","aria-label":"Twitter / X",children:(0,t.jsx)(i.FaXTwitter,{size:24,className:"text-gray-400 transition-colors hover:text-orange-400"})}),(0,t.jsx)("a",{href:"#","aria-label":"YouTube",children:(0,t.jsx)(n.FaYoutube,{size:24,className:"text-gray-400 transition-colors hover:text-orange-400"})}),(0,t.jsx)("a",{href:"#","aria-label":"GitHub",children:(0,t.jsx)(n.FaGithub,{size:24,className:"text-gray-400 transition-colors hover:text-orange-400"})})]}),(0,t.jsx)("div",{children:(0,t.jsx)(f,{})})]}),h.map(e=>(0,t.jsx)(p,{title:e.title,links:e.links},e.title)),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mb-4 text-sm font-semibold uppercase text-gray-100",children:"Newsletter"}),(0,t.jsx)(d,{})]})]})}),(0,t.jsx)("div",{className:"border-t border-slate-800 py-6",children:(0,t.jsxs)("div",{className:"container mx-auto flex flex-col items-center gap-4 px-4 text-sm text-gray-500 sm:flex-row sm:justify-center",children:[(0,t.jsxs)("p",{className:"text-center sm:text-left",children:["© ",new Date().getFullYear()," ",(0,t.jsx)("span",{className:"font-semibold text-orange-400",children:"FastFeast"}),". All rights reserved."]}),(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)(m,{})})]})})]})},24097,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(43476),r=e.i(71645),a=e.i(18566);function n(n){let{children:i}=n,o=(0,a.usePathname)();return(0,r.useEffect)(()=>{(async()=>{let t=new(await e.A(67968)).default({duration:1.4,easing:e=>Math.min(1,1.001-Math.pow(2,-12*e)),orientation:"vertical",gestureOrientation:"vertical",smoothWheel:!0,smoothTouch:!0,touchMultiplier:1.5,wheelMultiplier:1.2,infinite:!1});return t.on("scroll",e=>{}),requestAnimationFrame(function e(r){t.raf(r),requestAnimationFrame(e)}),()=>{t.destroy()}})()},[o]),(0,t.jsx)(t.Fragment,{children:i})}},51428,e=>{"use strict";e.s(["default",()=>o]);var t=e.i(43476),r=e.i(63178),a=e.i(84828),n=e.i(73665),i=e.i(71645);function o(){let{theme:e,setTheme:o,resolvedTheme:s}=(0,r.useTheme)(),[l,c]=(0,i.useState)(!1),d=(0,i.useRef)(null);if((0,i.useEffect)(()=>{c(!0)},[]),!l)return null;let u="system"===e?s:e;return(0,t.jsx)("div",{className:"p-0.5 rounded-full hover:bg-orange-100 duration-500 max-w-16 fixed top-40 rotate-90 z-20",children:(0,t.jsxs)("div",{className:"p-1 rounded-full bg-orange-100",children:[(0,t.jsxs)("label",{className:"relative flex items-center cursor-pointer w-12 h-6 border border-orange-300 rounded-full transition-colors duration-300 ".concat("dark"===u?"bg-gray-800":"bg-orange-50"),children:[(0,t.jsx)("input",{type:"checkbox",checked:"dark"===u,onChange:()=>{d.current&&d.current.play(),o("dark"===e?"light":"dark")},className:"sr-only"}),(0,t.jsx)("div",{className:"absolute w-5 h-5 rounded-full flex items-center justify-center transition-all duration-300 ".concat("dark"===u?"translate-x-6":"translate-x-0"),children:"dark"===u?(0,t.jsx)(a.FaMoon,{className:"text-orange-400 p-0.5 -rotate-90 text-sm bg-gray-900 rounded-full"}):(0,t.jsx)(n.MdSunny,{className:"text-orange-500 p-0.5 text-sm bg-orange-100 rounded-full"})})]}),(0,t.jsx)("audio",{ref:d,src:"/audio/toggle.mp3"})]})})}}]);
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.