1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,98183,(e,t,r)=>{"use strict";var n=e.r(91470);Object.defineProperty(r,"__esModule",{value:!0});var a={assign:function(){return c},searchParamsToUrlQuery:function(){return s},urlQueryToSearchParams:function(){return l}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});function s(e){var t={},r=!0,a=!1,i=void 0;try{for(var s,o=e.entries()[Symbol.iterator]();!(r=(s=o.next()).done);r=!0){var l=n._(s.value,2),c=l[0],u=l[1],d=t[c];void 0===d?t[c]=u:Array.isArray(d)?d.push(u):t[c]=[d,u]}}catch(e){a=!0,i=e}finally{try{r||null==o.return||o.return()}finally{if(a)throw i}}return t}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function l(e){var t=new URLSearchParams,r=!0,a=!1,i=void 0;try{for(var s,l=Object.entries(e)[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var c=n._(s.value,2),u=c[0],d=c[1];if(Array.isArray(d)){var f=!0,h=!1,m=void 0;try{for(var p,x=d[Symbol.iterator]();!(f=(p=x.next()).done);f=!0){var v=p.value;t.append(u,o(v))}}catch(e){h=!0,m=e}finally{try{f||null==x.return||x.return()}finally{if(h)throw m}}}else t.set(u,o(d))}}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return t}function c(e){for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];var i=!0,s=!1,o=void 0;try{for(var l,c=r[Symbol.iterator]();!(i=(l=c.next()).done);i=!0){var u=l.value,d=!0,f=!1,h=void 0;try{for(var m,p=u.keys()[Symbol.iterator]();!(d=(m=p.next()).done);d=!0){var x=m.value;e.delete(x)}}catch(e){f=!0,h=e}finally{try{d||null==p.return||p.return()}finally{if(f)throw h}}var v=!0,g=!1,b=void 0;try{for(var y,j=u.entries()[Symbol.iterator]();!(v=(y=j.next()).done);v=!0){var _=n._(y.value,2),w=_[0],N=_[1];e.append(w,N)}}catch(e){g=!0,b=e}finally{try{v||null==j.return||j.return()}finally{if(g)throw b}}}}catch(e){s=!0,o=e}finally{try{i||null==c.return||c.return()}finally{if(s)throw o}}return e}},18967,(e,t,r)=>{"use strict";var n=e.r(86172),a=e.r(7655),i=e.r(95075),s=e.r(87502),o=e.r(21991),l=e.r(2623),c=e.r(21280);Object.defineProperty(r,"__esModule",{value:!0});var u={DecodeError:function(){return w},MiddlewareNotFoundError:function(){return S},MissingStaticPage:function(){return C},NormalizeError:function(){return N},PageNotFoundError:function(){return k},SP:function(){return j},ST:function(){return _},WEB_VITALS:function(){return f},execOnce:function(){return h},getDisplayName:function(){return g},getLocationOrigin:function(){return x},getURL:function(){return v},isAbsoluteUrl:function(){return p},isResSent:function(){return b},loadGetInitialProps:function(){return function e(t,r){return n._(function(){var n,a,i;return c._(this,function(s){switch(s.label){case 0:if(n=r.res||r.ctx&&r.ctx.res,t.getInitialProps)return[3,3];if(!(r.ctx&&r.Component))return[3,2];return a={},[4,e(r.Component,r.ctx)];case 1:return[2,(a.pageProps=s.sent(),a)];case 2:return[2,{}];case 3:return[4,t.getInitialProps(r)];case 4:if(i=s.sent(),n&&b(n))return[2,i];if(!i)throw Object.defineProperty(Error('"'.concat(g(t),'.getInitialProps()" should resolve to an object. But found "').concat(i,'" instead.')),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return[2,i]}})})()}},normalizeRepeatedSlashes:function(){return y},stringifyError:function(){return P}};for(var d in u)Object.defineProperty(r,d,{enumerable:!0,get:u[d]});var f=["CLS","FCP","FID","INP","LCP","TTFB"];function h(e){var t,r=!1;return function(){for(var n=arguments.length,a=Array(n),i=0;i<n;i++)a[i]=arguments[i];return r||(r=!0,t=e.apply(void 0,o._(a))),t}}var m=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,p=function(e){return m.test(e)};function x(){var e=window.location,t=e.protocol,r=e.hostname,n=e.port;return"".concat(t,"//").concat(r).concat(n?":"+n:"")}function v(){var e=window.location.href,t=x();return e.substring(t.length)}function g(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function b(e){return e.finished||e.headersSent}function y(e){var t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?".concat(t.slice(1).join("?")):"")}var j="u">typeof performance,_=j&&["mark","measure","getEntriesByName"].every(function(e){return"function"==typeof performance[e]}),w=function(e){function t(){return i._(this,t),a._(this,t,arguments)}return s._(t,e),t}(l._(Error)),N=function(e){function t(){return i._(this,t),a._(this,t,arguments)}return s._(t,e),t}(l._(Error)),k=function(e){function t(e){var r;return i._(this,t),(r=a._(this,t)).code="ENOENT",r.name="PageNotFoundError",r.message="Cannot find module for page: ".concat(e),r}return s._(t,e),t}(l._(Error)),C=function(e){function t(e,r){var n;return i._(this,t),(n=a._(this,t)).message="Failed to load static file for page: ".concat(e," ").concat(r),n}return s._(t,e),t}(l._(Error)),S=function(e){function t(){var e;return i._(this,t),(e=a._(this,t)).code="ENOENT",e.message="Cannot find the middleware module",e}return s._(t,e),t}(l._(Error));function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},33525,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});var n=function(e){}},20786,99749,e=>{"use strict";function t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}e.s(["_",0,t],99749),e.s(["_",0,function(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(r){t(e,r,n[r])})}return e}],20786)},92808,e=>{"use strict";e.s(["_",0,function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}])},51682,50907,57875,9663,27613,e=>{"use strict";function t(e){if(Array.isArray(e))return e}function r(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}e.s(["_",0,t],50907),e.s(["_",0,r],57875),e.s(["_",0,n],9663),e.s(["_",0,a],27613),e.s(["_",0,function(e,n){return t(e)||function(e,t){var r,n,a=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var i=[],s=!0,o=!1;try{for(a=a.call(e);!(s=(r=a.next()).done)&&(i.push(r.value),!t||i.length!==t);s=!0);}catch(e){o=!0,n=e}finally{try{s||null==a.return||a.return()}finally{if(o)throw n}}return i}}(e,n)||a(e,n)||r()}],51682)},35870,e=>{"use strict";var t=e.i(9663);e.s(["_",0,function(e){if(Array.isArray(e))return(0,t._)(e)}])},48106,e=>{"use strict";e.s(["_",0,function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}])},40316,e=>{"use strict";var t=e.i(35870),r=e.i(48106),n=e.i(27613);e.s(["_",0,function(e){return(0,t._)(e)||(0,r._)(e)||(0,n._)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}],40316)},33027,e=>{"use strict";e.s(["_",0,function(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}],33027)},12344,e=>{"use strict";var t=e.i(50907),r=e.i(48106),n=e.i(57875),a=e.i(27613);e.s(["_",0,function(e){return(0,t._)(e)||(0,r._)(e)||(0,a._)(e)||(0,n._)()}])},96661,e=>{"use strict";e.s(["mergeClasses",0,function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(function(e,t,r){return!!e&&""!==e.trim()&&r.indexOf(e)===t}).join(" ").trim()}])},71987,88973,e=>{"use strict";e.s(["default",0,{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}],71987),e.s(["hasA11yProp",0,function(e){for(var t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1}],88973)},5014,e=>{"use strict";var t=e.i(20786),r=e.i(92808),n=e.i(33027),a=e.i(51682),i=e.i(12344),s=e.i(40316),o=e.i(71645),l=e.i(71987),c=e.i(88973),u=e.i(96661),d=(0,o.createContext)({}),f=(0,o.forwardRef)(function(e,f){var h,m,p,x=(0,i._)([e,f]),v=x[0],g=x.slice(1),b=v.color,y=v.size,j=v.strokeWidth,_=v.absoluteStrokeWidth,w=v.className,N=v.children,k=v.iconNode,C=(0,n._)(v,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]),S=(0,a._)(g,1)[0],P=null!=(h=(0,o.useContext)(d))?h:{},O=P.size,E=void 0===O?24:O,z=P.strokeWidth,A=void 0===z?2:z,T=P.absoluteStrokeWidth,M=P.color,I=P.className,R=(null!=_?_:void 0!==T&&T)?24*Number(null!=j?j:A)/Number(null!=y?y:E):null!=j?j:A;return(0,o.createElement)("svg",(0,t._)((0,r._)((0,t._)({ref:S},l.default),{width:null!=(m=null!=y?y:E)?m:l.default.width,height:null!=(p=null!=y?y:E)?p:l.default.height,stroke:null!=b?b:void 0===M?"currentColor":M,strokeWidth:R,className:(0,u.mergeClasses)("lucide",void 0===I?"":I,void 0===w?"":w)}),!N&&!(0,c.hasA11yProp)(C)&&{"aria-hidden":"true"},C),(0,s._)(k.map(function(e){var t=(0,a._)(e,2),r=t[0],n=t[1];return(0,o.createElement)(r,n)})).concat((0,s._)(Array.isArray(N)?N:[N])))});e.s(["default",0,f],5014)},49152,(e,t,r)=>{"use strict";r._=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}},95692,(e,t,r)=>{"use strict";var n=e.r(49152);r._=function(e,t){if(null==e)return{};var r,a,i=n._(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)r=s[a],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}},95057,(e,t,r)=>{"use strict";var n=e.r(68996);
1Object.defineProperty(r,"__esModule",{value:!0});var a={formatUrl:function(){return l},formatWithValidation:function(){return u},urlObjectKeys:function(){return c}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});var s=e.r(90809)._(e.r(98183)),o=/https?|ftp|gopher|file/;function l(e){var t=e.auth,r=e.hostname,a=e.protocol||"",i=e.pathname||"",l=e.hash||"",c=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(u+=":"+e.port)),c&&(void 0===c?"undefined":n._(c))==="object"&&(c=String(s.urlQueryToSearchParams(c)));var d=e.search||c&&"?".concat(c)||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||o.test(a))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),l&&"#"!==l[0]&&(l="#"+l),d&&"?"!==d[0]&&(d="?"+d),i=i.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),"".concat(a).concat(u).concat(i).concat(d).concat(l)}var c=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return l(e)}},18581,(e,t,r)=>{"use strict";var n=e.r(68996);Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return i}});var a=e.r(71645);function i(e,t){var r=(0,a.useRef)(null),n=(0,a.useRef)(null);return(0,a.useCallback)(function(a){if(null===a){var i=r.current;i&&(r.current=null,i());var o=n.current;o&&(n.current=null,o())}else e&&(r.current=s(e,a)),t&&(n.current=s(t,a))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,function(){e.current=null};var r=e(t);return"function"==typeof r?r:function(){return e(null)}}("function"==typeof r.default||"object"===n._(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)},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});var n=e.r(18967),a=e.r(52817);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{var t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});var n=function(e){}},22016,(e,t,r)=>{"use strict";var n=e.r(44086),a=e.r(4571),i=e.r(95692),s=e.r(91470),o=e.r(68996);Object.defineProperty(r,"__esModule",{value:!0});var l={default:function(){return _},useLinkStatus:function(){return N}};for(var c in l)Object.defineProperty(r,c,{enumerable:!0,get:l[c]});var u=e.r(90809),d=e.r(43476),f=u._(e.r(71645)),h=e.r(95057),m=e.r(8372),p=e.r(18581),x=e.r(18967),v=e.r(5550);e.r(33525);var g=e.r(88540),b=e.r(91949),y=e.r(73668),j=e.r(9396);function _(t){var r,l,c,u,_,N=s._((0,f.useOptimistic)(b.IDLE_LINK_STATUS),2),k=N[0],C=N[1],S=(0,f.useRef)(null),P=t.href,O=t.as,E=t.children,z=t.prefetch,A=void 0===z?null:z,T=t.passHref,M=t.replace,I=(t.shallow,t.scroll),R=t.onClick,B=t.onMouseEnter,L=t.onTouchStart,W=t.legacyBehavior,U=void 0!==W&&W,F=t.onNavigate,D=t.transitionTypes,q=t.ref,H=t.unstable_dynamicOnHover,K=i._(t,["href","as","children","prefetch","passHref","replace","shallow","scroll","onClick","onMouseEnter","onTouchStart","legacyBehavior","onNavigate","transitionTypes","ref","unstable_dynamicOnHover"]);c=E,U&&("string"==typeof c||"number"==typeof c)&&(c=(0,d.jsx)("a",{children:c}));var V=f.default.useContext(m.AppRouterContext),J=!1!==A,Y=!1!==A?null===(r=A)||"auto"===r?j.FetchStrategy.PPR:j.FetchStrategy.Full:j.FetchStrategy.PPR,$="string"==typeof(l=O||P)?l:(0,h.formatUrl)(l);if(U){if((null==c?void 0:c.$$typeof)===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>
1` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});u=f.default.Children.only(c)}var G=U?u&&(void 0===u?"undefined":o._(u))==="object"&&u.ref:q,X=f.default.useCallback(function(e){return null!==V&&(S.current=(0,b.mountLinkInstance)(e,$,V,Y,J,C)),function(){S.current&&((0,b.unmountLinkForCurrentNavigation)(S.current),S.current=null),(0,b.unmountPrefetchableInstance)(e)}},[J,$,V,Y,C]),Z={ref:(0,p.useMergedRef)(X,G),onClick:function(t){U||"function"!=typeof R||R(t),U&&u.props&&"function"==typeof u.props.onClick&&u.props.onClick(t),!V||t.defaultPrevented||function(t,r,n,a,i,s,o){if("u">typeof window&&!("A"===t.currentTarget.nodeName.toUpperCase()&&((l=t.currentTarget.getAttribute("target"))&&"_self"!==l||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))){if(!(0,y.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),s){var l,c=!1;if(s({preventDefault:function(){c=!0}}),c)return}var u=e.r(99781).dispatchNavigateAction;f.default.startTransition(function(){u(r,a?"replace":"push",!1===i?g.ScrollBehavior.NoScroll:g.ScrollBehavior.Default,n.current,o)})}}(t,$,S,M,I,F,D)},onMouseEnter:function(e){U||"function"!=typeof B||B(e),U&&u.props&&"function"==typeof u.props.onMouseEnter&&u.props.onMouseEnter(e),!V||J&&(0,b.onNavigationIntent)(e.currentTarget,!0===H)},onTouchStart:function(e){U||"function"!=typeof L||L(e),U&&u.props&&"function"==typeof u.props.onTouchStart&&u.props.onTouchStart(e),!V||J&&(0,b.onNavigationIntent)(e.currentTarget,!0===H)}};return(0,x.isAbsoluteUrl)($)?Z.href=$:U&&!T&&("a"!==u.type||"href"in u.props)||(Z.href=(0,v.addBasePath)($)),_=U?f.default.cloneElement(u,Z):(0,d.jsx)("a",a._(n._({},K,Z),{children:c})),(0,d.jsx)(w.Provider,{value:k,children:_})}e.r(84508);var w=(0,f.createContext)(b.IDLE_LINK_STATUS),N=function(){return(0,f.useContext)(w)};("function"==typeof r.default||"object"===o._(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)},56420,e=>{"use strict";var t=e.i(20786),r=e.i(33027),n=e.i(51682),a=e.i(12344),i=e.i(71645),s=e.i(96661),o=function(e){var t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,function(e,t,r){return r?r.toUpperCase():t.toLowerCase()});return t.charAt(0).toUpperCase()+t.slice(1)},l=e.i(5014);e.s(["default",0,function(e,c){var u=(0,i.forwardRef)(function(u,d){var f=(0,a._)([u,d]),h=f[0],m=f.slice(1),p=h.className,x=(0,r._)(h,["className"]),v=(0,n._)(m,1)[0];return(0,i.createElement)(l.default,(0,t._)({ref:v,iconNode:c,className:(0,s.mergeClasses)("lucide-".concat(o(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),p)},x))});return u.displayName=o(e),u}],56420)},75387,e=>{"use strict";var t=(0,e.i(56420).default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["Phone",0,t],75387)},89664,e=>{"use strict";var t=(0,e.i(56420).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,t],89664)},79836,e=>{"use strict";var t=(0,e.i(56420).default)("recycle",[["path",{d:"M7 19H4.815a1.83 1.83 0 0 1-1.57-.881 1.785 1.785 0 0 1-.004-1.784L7.196 9.5",key:"x6z5xu"}],["path",{d:"M11 19h8.203a1.83 1.83 0 0 0 1.556-.89 1.784 1.784 0 0 0 0-1.775l-1.226-2.12",key:"1x4zh5"}],["path",{d:"m14 16-3 3 3 3",key:"f6jyew"}],["path",{d:"M8.293 13.596 7.196 9.5 3.1 10.598",key:"wf1obh"}],["path",{d:"m9.344 5.811 1.093-1.892A1.83 1.83 0 0 1 11.985 3a1.784 1.784 0 0 1 1.546.888l3.943 6.843",key:"9tzpgr"}],["path",{d:"m13.378 9.633 4.096 1.098 1.097-4.096",key:"1oe83g"}]]);e.s(["Recycle",0,t],79836)},8203,e=>{"use strict";var t=e.i(20786),r=e.i(92808),n=e.i(51682),a=e.i(40316),i=e.i(43476),s=e.i(71645),o="voltmart_cart",l="voltmart_wishlist",c=(0,s.createContext)(null);function u(e){try{var t=window.localStorage.getItem(e);return t?JSON.parse(t):[]}catch(e){return[]}}function d(e,t){try{window.localStorage.setItem(e,JSON.stringify(t))}catch(e){}}var f={cart:[],wishlist:[],hydrated:!1,cartCount:0,cartSubtotal:0,wishlistCount:0,addToCart:function(){},removeFromCart:function(){},updateQty:function(){},clearCart:function(){},toggleWishlist:function(){},removeFromWishlist:function(){},isInWishlist:function(){return!1}};e.s(["ShopProvider",0,function(e){var f=e.children,h=(0,n._)((0,s.use
1State)([]),2),m=h[0],p=h[1],x=(0,n._)((0,s.useState)([]),2),v=x[0],g=x[1],b=(0,n._)((0,s.useState)(!1),2),y=b[0],j=b[1];(0,s.useEffect)(function(){p(u(o)),g(u(l)),j(!0)},[]),(0,s.useEffect)(function(){y&&d(o,m)},[m,y]),(0,s.useEffect)(function(){y&&d(l,v)},[v,y]);var _=(0,s.useCallback)(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;p(function(i){var s=i.findIndex(function(t){return t.id===e.id});if(s>=0){var o=(0,a._)(i);return o[s]=(0,r._)((0,t._)({},o[s]),{quantity:o[s].quantity+n}),o}return(0,a._)(i).concat([(0,r._)((0,t._)({},e),{quantity:n})])})},[]),w=(0,s.useCallback)(function(e){p(function(t){return t.filter(function(t){return t.id!==e})})},[]),N=(0,s.useCallback)(function(e,n){p(function(a){return n<=0?a.filter(function(t){return t.id!==e}):a.map(function(a){return a.id===e?(0,r._)((0,t._)({},a),{quantity:n}):a})})},[]),k=(0,s.useCallback)(function(){return p([])},[]),C=(0,s.useCallback)(function(e){g(function(t){return t.some(function(t){return t.id===e.id})?t.filter(function(t){return t.id!==e.id}):(0,a._)(t).concat([e])})},[]),S=(0,s.useCallback)(function(e){g(function(t){return t.filter(function(t){return t.id!==e})})},[]),P=(0,s.useCallback)(function(e){return v.some(function(t){return t.id===e})},[v]),O=m.reduce(function(e,t){return e+t.quantity},0),E=m.reduce(function(e,t){return e+(t.price||0)*t.quantity},0),z=v.length,A=(0,s.useMemo)(function(){return{cart:m,wishlist:v,hydrated:y,cartCount:O,cartSubtotal:E,wishlistCount:z,addToCart:_,removeFromCart:w,updateQty:N,clearCart:k,toggleWishlist:C,removeFromWishlist:S,isInWishlist:P}},[m,v,y,O,E,z,_,w,N,k,C,S,P]);return(0,i.jsx)(c.Provider,{value:A,children:f})},"useShop",0,function(){return(0,s.useContext)(c)||f}])},99738,e=>{"use strict";var t=(0,e.i(56420).default)("shopping-cart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);e.s(["ShoppingCart",0,t],99738)},68109,e=>{"use strict";var t=(0,e.i(56420).default)("heart",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]]);e.s(["Heart",0,t],68109)},18566,(e,t,r)=>{t.exports=e.r(76562)},96315,e=>{"use strict";var t=(0,e.i(56420).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["Mail",0,t],96315)},23730,e=>{"use strict";var t=(0,e.i(56420).default)("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);e.s(["DollarSign",0,t],23730)},63676,e=>{"use strict";var t=(0,e.i(56420).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],63676)},35829,77071,e=>{"use strict";var t=e.i(56420),r=(0,t.default)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);e.s(["Minus",0,r],35829);var n=(0,t.default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",0,n],77071)},66595,e=>{"use strict";var t=(0,e.i(56420).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",0,t],66595)},91865,96137,e=>{"use strict";function t(e,t,r,n,a,i,s){try{var o=e[i](s),l=o.value}catch(e){r(e);return}o.done?t(l):Promise.resolve(l).then(n,a)}e.s(["_",0,function(e){return function(){var r=this,n=arguments;return new Promise(function(a,i){var s=e.apply(r,n);function o(e){t(s,a,i,o,l,"next",e)}function l(e){t(s,a,i,o,l,"throw",e)}o(void 0)})}}],91865);var r=e.i(90571);e.s(["_",()=>r.__generator],96137)},39608,e=>{"use strict";var t=e.i(91865),r=e.i(20786),n=e.i(92808),a=e.i(51682),i=e.i(96137),s=e.i(43476),o=e.i(71645),l="voltmart_token",c=(0,o.createContext)(null);function u(){try{return window.localStorage.getItem(l)}catch(e){return null}}function d(e){try{e?window.localStorage.setItem(l,e):window.localStorage.removeItem(l)}catch(e){}}function f(e){return(0,t._)(function(e){var t,a,s,o,l,c,d=arguments;return(0,i._)(this,function(i){switch(i.label){case 0:return t=d.length>1&&void 0!==d[1]?d[1]:{},a=u(),s=(0,r._)({"Content-Type":"application/json"},t.headers||{}),a&&(s.Authorization="Bearer ".concat(a)),[4,fetch(e,(0,n._)((0,r._)({},t),{headers:s}))];case 1:return[4,(o=i.sent()).json().catch(function(){return{}})];case 2:if(l=i.sent(),!o.ok)throw(c=Error(l.error||"Request failed: ".concat(o.status))).status=o.status,c;return[2,l]}})}).apply(this,arguments)}var h={user:null,isAuthenticated:!1,loading:!1,signIn:function(){return(0,t._)(function(){return(0,i._)(this,function(e){return[2,null]})})()},signUp:function(){return(0,t._)(function(){return(0,i._)(this,function(e){return[2,null]})})()},signInWithGoogle:function(){return(0,t._)(function(){return(0,i._)(this,function(e){return[2,null]})})()},signOut:function(){return(0,t._)(function(){return(0,i._)(this,function(e){return[2]})})()},apiFetch:f};e.s(["UserProvider",0,function(e){var r=e.children,n=(0,a._)((0,o.useState)(null),2),l=n[0],h=n[1],m=(0,a._)((0,o.useState)(!0),2),p=m[0],x=m[1];(0,o.useEffect)(function(){var e=!1;return u()?(f("/api/auth/me").then(function(t){e||h(t.user)}).catch(function(){e||(d(null),h(null))}).finally(function(){e||x(!1)}),function(){e=!0}):void x(!1)},[]);var v=(0,o.useCallback)(function(e){var r=e.email,n=e.password;return(0,t._)(function(){var e;return(0,i._)(this,function(t){switch(t.label){case 0:return[4,f("/api/auth/signin",{method:"POST",body:JSON.stringify({email:r,password:n})})];case 1:return d((e=t.sent()).token),h(e.user),[2,e.user]}})})()},[]),g=(0,o.useCallback)(function(e){var r=e.name,n=e.email,a=e.password;return(0,t._)(function(){var e;return(0,i._)(this,function(t){switch(t.label){case 0:return[4,f("/api/auth/signup",{method:"POST",body:JSON.stringify({name:r,email:n,password:a})})];case 1:return d((e=t.sent()).token),h(e.user),[2,e.user]}})})()},[]),b=(0,o.useCallback)(function(e){return(0,t._)(function(){var t;return(0,i._)(this,function(r){switch(r.label){case 0:return[4,f("/api/auth/google",{method:"POST",body:JSON.stringify({credential:e})})];case 1:return d((t=r.sent()).token),h(t.user),[2,t.user]}})})()},[]),y=(0,o.useCallback)(function(){return(0,t._)(function(){return(0,i._)(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,f("/api/auth/signout",{method:"POST"})];case 1:case 2:return e.sent(),[3,3];case 3:return d(null),h(null),[2]}})})()},[]),j=(0,o.useMemo)(function(){return{user:l,isAuthenticated:!!l,loading:p,sign
1In:v,signUp:g,signInWithGoogle:b,signOut:y,apiFetch:f}},[l,p,v,g,b,y]);return(0,s.jsx)(c.Provider,{value:j,children:r})},"useUser",0,function(){return(0,o.useContext)(c)||h}])},41345,e=>{"use strict";var t=e.i(20786),r=e.i(33027),n=e.i(43476);e.i(71645);var a=e.i(57851);e.s(["Input",0,function(e){var i=e.className,s=e.type,o=(0,r._)(e,["className","type"]);return(0,n.jsx)("input",(0,t._)({type:s,"data-slot":"input",className:(0,a.cn)("flex h-11 w-full min-w-0 rounded-xl border border-input bg-background px-4 py-2 text-sm shadow-xs outline-none transition-colors","placeholder:text-muted-foreground","focus-visible:border-primary focus-visible:ring-2 focus-visible:ring-ring/30","disabled:cursor-not-allowed disabled:opacity-50","file:border-0 file:bg-transparent file:text-sm file:font-medium",i)},o))}])},74544,e=>{"use strict";var t=(0,e.i(56420).default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);e.s(["Clock",0,t],74544)},23552,e=>{"use strict";var t=e.i(43476),r=(0,e.i(71645).createContext)(null);function n(e){var n=e.children,a=e.value;return(0,t.jsx)(r.Provider,{value:a,children:n})}var a=e.i(39608),i=e.i(8203);e.s(["default",0,function(e){var r=e.children,s=e.initialState;return(0,t.jsx)(n,{value:{appInitialState:s||{}},children:(0,t.jsx)(a.UserProvider,{children:(0,t.jsx)(i.ShopProvider,{children:r})})})}],23552)},64569,e=>{"use strict";var t=(0,e.i(56420).default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);e.s(["Zap",0,t],64569)},38812,e=>{"use strict";var t=e.i(91865),r=e.i(51682),n=e.i(96137),a=e.i(43476),i=e.i(71645),s=e.i(22016),o=e.i(18566),l=e.i(64569),c=e.i(66595),u=e.i(96315),d=e.i(68109),f=e.i(99738),h=(0,e.i(56420).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]),m=e.i(63676),p=e.i(89664),x=e.i(23730),v=e.i(79836),g=e.i(35829),b=e.i(77071),y=e.i(8203),j=e.i(83122),_=e.i(41345),w=e.i(57851),N=[{label:"Computers",href:"/#computers"},{label:"Cell Phones",href:"/#cell-phones"},{label:"Cable TV",href:"/#cable-tv"},{label:"Internet",href:"/#internet"},{label:"Deals",href:"/#deals",highlight:!0}],k={label:"Sell to us",href:"/#services"},C={label:"Recycle",href:"/#services"};function S(e){var o=e.onClose,l=(0,r._)((0,i.useState)(""),2),c=l[0],u=l[1],d=(0,r._)((0,i.useState)(""),2),f=d[0],h=d[1],x=(0,r._)((0,i.useState)(!1),2),v=x[0],g=x[1],b=(0,r._)((0,i.useState)(!1),2),y=b[0],w=b[1];return(0,i.useEffect)(function(){var e=function(e){"Escape"===e.key&&o()};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}},[o]),(0,a.jsx)("div",{className:"fixed inset-0 z-[120] flex items-center justify-center bg-black/45 p-4 backdrop-blur-sm",onClick:o,role:"presentation",children:(0,a.jsxs)("div",{className:"relative w-full max-w-md rounded-2xl bg-card p-7 shadow-2xl",role:"dialog","aria-modal":"true","aria-labelledby":"sub-title",onClick:function(e){return e.stopPropagation()},children:[(0,a.jsx)("button",{type:"button",className:"absolute right-4 top-4 grid size-9 place-items-center rounded-full text-muted-foreground transition-colors hover:bg-secondary",onClick:o,"aria-label":"Close",children:(0,a.jsx)(m.X,{className:"size-4.5"})}),v?(0,a.jsxs)("div",{className:"flex flex-col items-center py-4 text-center",children:[(0,a.jsx)("div",{className:"mb-4 grid size-16 place-items-center rounded-full bg-primary-soft text-primary",children:(0,a.jsx)(p.Check,{className:"size-8",strokeWidth:2.5})}),(0,a.jsx)("h3",{className:"text-xl font-bold",children:"You're in!"}),(0,a.jsxs)("p",{className:"mt-1 text-muted-foreground",children:["We'll send the best deals straight to ",(0,a.jsx)("strong",{children:c}),"."]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"text-xs font-bold uppercase tracking-widest text-primary",children:"Subscribe"}),(0,a.jsx)("h3",{id:"sub-title",className:"mt-2 text-2xl font-bold leading-tight",children:"Get deals, drops & restocks in your inbox."}),(0,a.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:"Join 10,000+ shoppers. Unsubscribe any time."}),(0,a.jsxs)("form",{className:"mt-5 flex gap-2",onSubmit:function(e){return(0,t._)(function(){var t,r;return(0,n._)(this,function(n){switch(n.label){case 0:if(e.preventDefault(),h(""),!c)return h("Please enter your email."),[2];w(!0),n.label=1;case 1:return n.trys.push([1,4,5,6]),[4,fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,source:"header"})})];case 2:return[4,(t=n.sent()).json()];case 3:if(r=n.sent(),!t.ok)throw Error(r.error||"Could not subscribe.");return g(!0),setTimeout(o,2200),[3,6];case 4:return h(n.sent().message||"Could not subscribe. Please try again."),[3,6];case 5:return w(!1),[7];case 6:return[2]}})})()},children:[(0,a.jsx)(_.Input,{type:"email",value:c,onChange:function(e){return u(e.target.value)},placeholder:"[email protected]","aria-label":"Email address",autoFocus:!0,required:!0,disabled:y}),(0,a.jsx)(j.Button,{type:"submit",disabled:y,children:y?"...":"Subscribe"})]}),f&&(0,a.jsx)("div",{className:"mt-3 text-sm text-destructive",children:f}),(0,a.jsxs)("p",{className:"mt-4 text-xs text-muted-foreground",children:["By subscribing, you agree to our"," ",(0,a.jsx)(s.default,{href:"/terms",className:"text-primary underline-offset-2 hover:underline",children:"Terms of Service"}),"."]})]})]})})}
1var P="text-sm font-semibold text-foreground/80 transition-colors hover:text-primary";e.s(["default",0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,o.useRouter)(),n=e.brand,p=void 0===n?"Advanced Computers":n,_=e.tagline,O=e.logoHref,E=e.announcement,z=e.categories,A=e.sellTo,T=void 0===A?k:A,M=e.recycleTo,I=void 0===M?C:M,R=(0,y.useShop)(),B=R.cart,L=R.cartCount,W=R.cartSubtotal,U=R.wishlistCount,F=R.updateQty,D=R.removeFromCart,q=(0,r._)((0,i.useState)(!1),2),H=q[0],K=q[1],V=(0,r._)((0,i.useState)(!1),2),J=V[0],Y=V[1],$=(0,r._)((0,i.useState)(!1),2),G=$[0],X=$[1],Z=(0,r._)((0,i.useState)(""),2),Q=Z[0],ee=Z[1],et=(0,i.useRef)(null);(0,i.useEffect)(function(){if(J){var e=function(e){et.current&&!et.current.contains(e.target)&&Y(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}},[J]);var er=function(e){e.preventDefault();var r=Q.trim();r&&t.push("/search?q=".concat(encodeURIComponent(r)))},en=function(){return K(!1)};return(0,a.jsxs)("header",{className:"sticky top-0 z-[100] bg-background/95 shadow-sm backdrop-blur",children:[(0,a.jsx)("div",{className:"bg-gradient-to-r from-primary-strong to-primary text-center text-[0.8rem] font-medium text-primary-foreground",children:(0,a.jsx)("span",{className:"block px-4 py-2",children:void 0===E?"Trusted in the South Bay since 2009 ⢠Call (310) 462-2604 for personal service":E})}),(0,a.jsx)("div",{className:"border-b border-border",children:(0,a.jsxs)("div",{className:"mx-auto flex max-w-7xl items-center gap-4 px-4 py-3 lg:gap-6 lg:px-6",children:[(0,a.jsxs)(s.default,{href:void 0===O?"/":O,className:"flex shrink-0 items-center gap-3","aria-label":p,children:[(0,a.jsx)("span",{className:"grid size-11 place-items-center rounded-xl bg-gradient-to-br from-primary to-primary-strong shadow-md shadow-primary/30",children:(0,a.jsx)(l.Zap,{className:"size-5.5 text-white",fill:"currentColor"})}),(0,a.jsxs)("span",{className:"hidden flex-col leading-none sm:flex",children:[(0,a.jsx)("span",{className:"text-lg font-extrabold tracking-tight",children:p}),(0,a.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:void 0===_?"and Printers":_})]})]}),(0,a.jsxs)("form",{className:"relative ml-auto hidden flex-1 items-center md:flex lg:ml-2",onSubmit:er,role:"search",children:[(0,a.jsx)(c.Search,{className:"pointer-events-none absolute left-4 size-4.5 text-muted-foreground"}),(0,a.jsx)("input",{type:"text",value:Q,onChange:function(e){return ee(e.target.value)},placeholder:"Search laptops, phones, cable TV...","aria-label":"Search products",className:"h-11 w-full rounded-full border border-input bg-secondary/60 pl-11 pr-4 text-sm outline-none transition-colors placeholder:text-muted-foreground focus:border-primary focus:bg-background focus:ring-2 focus:ring-ring/25"})]}),(0,a.jsxs)("div",{className:"ml-auto flex items-center gap-1 md:ml-0 sm:gap-2",children:[(0,a.jsxs)(j.Button,{type:"button",variant:"ghost",size:"sm",className:"hidden lg:inline-flex",onClick:function(){return X(!0)},children:[(0,a.jsx)(u.Mail,{className:"size-4"}),"Subscribe"]}),(0,a.jsxs)(s.default,{href:"/wishlist",className:"relative grid size-11 place-items-center rounded-full text-foreground transition-colors hover:bg-secondary","aria-label":"Wishlist",children:[(0,a.jsx)(d.Heart,{className:"size-5.5",strokeWidth:1.8}),U>0&&(0,a.jsx)("span",{className:"absolute right-1 top-1 grid min-w-4.5 place-items-center rounded-full bg-primary px-1 text-[0.65rem] font-bold leading-4 text-primary-foreground",children:U})]}),(0,a.jsxs)("div",{className:"relative",ref:et,children:[(0,a.jsxs)("button",{type:"button",className:"relative grid size-11 place-items-center rounded-full text-foreground transition-colors hover:bg-secondary","aria-label":"Cart","aria-expanded":J,onClick:function(){return Y(function(e){return!e})},children:[(0,a.jsx)(f.ShoppingCart,{className:"size-5.5",strokeWidth:1.8}),L>0&&(0,a.jsx)("span",{className:"absolute right-1 top-1 grid min-w-4.5 place-items-center rounded-full bg-primary px-1 text-[0.65rem] font-bold leading-4 text-primary-foreground",children:L})]}),J&&(0,a.jsxs)("div",{className:"absolute right-0 top-[calc(100%+0.6rem)] z-50 w-[22rem] max-w-[calc(100vw-2rem)] rounded-2xl border border-border bg-popover p-4 shadow-2xl",role:"dialog","aria-label":"Mini cart",children:[(0,a.jsxs)("div",{className:"mb-3 flex items-center justify-between",children:[(0,a.jsx)("strong",{className:"text-sm",children:"Your cart"}),(0,a.jsxs)("span",{className:"text-xs text-muted-foreground",children:[L," item",1===L?"":"s"]})]}),0===B.length?(0,a.jsxs)("div",{className:"flex flex-col items-center gap-3 py-6 text-center",children:[(0,a.jsx)(f.ShoppingCart,{className:"size-10 text-muted-foreground
1/50",strokeWidth:1.5}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:"Your cart is empty"}),(0,a.jsx)(j.Button,{asChild:!0,variant:"soft",size:"sm",onClick:function(){return Y(!1)},children:(0,a.jsx)(s.default,{href:"/",children:"Start shopping"})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("ul",{className:"flex flex-col gap-3",children:[B.slice(0,4).map(function(e){return(0,a.jsxs)("li",{className:"flex items-center gap-3",children:[(0,a.jsx)("span",{className:"size-12 shrink-0 rounded-lg",style:{background:"linear-gradient(135deg, ".concat(e.color||"#6366f1",", ").concat(e.color||"#4338ca","cc)")},"aria-hidden":"true"}),(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("span",{className:"block truncate text-sm font-medium",children:e.name}),(0,a.jsxs)("div",{className:"mt-1 inline-flex items-center gap-2 rounded-full border border-border",children:[(0,a.jsx)("button",{type:"button",className:"grid size-6 place-items-center text-muted-foreground hover:text-foreground",onClick:function(){return F(e.id,e.quantity-1)},"aria-label":"Decrease",children:(0,a.jsx)(g.Minus,{className:"size-3"})}),(0,a.jsx)("span",{className:"text-xs font-semibold",children:e.quantity}),(0,a.jsx)("button",{type:"button",className:"grid size-6 place-items-center text-muted-foreground hover:text-foreground",onClick:function(){return F(e.id,e.quantity+1)},"aria-label":"Increase",children:(0,a.jsx)(b.Plus,{className:"size-3"})})]})]}),(0,a.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,a.jsxs)("span",{className:"text-sm font-semibold",children:["$",(e.price*e.quantity).toFixed(2)]}),(0,a.jsx)("button",{type:"button",className:"text-muted-foreground hover:text-destructive",onClick:function(){return D(e.id)},"aria-label":"Remove",children:(0,a.jsx)(m.X,{className:"size-3.5"})})]})]},e.id)}),B.length>4&&(0,a.jsxs)("li",{className:"text-center text-xs text-muted-foreground",children:["+ ",B.length-4," more item",B.length-4==1?"":"s"]})]}),(0,a.jsxs)("div",{className:"mt-4 border-t border-border pt-4",children:[(0,a.jsxs)("div",{className:"mb-3 flex items-center justify-between text-sm",children:[(0,a.jsx)("span",{className:"text-muted-foreground",children:"Subtotal"}),(0,a.jsxs)("strong",{children:["$",W.toFixed(2)]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,a.jsx)(j.Button,{asChild:!0,variant:"outline",size:"sm",onClick:function(){return Y(!1)},children:(0,a.jsx)(s.default,{href:"/cart",children:"View cart"})}),(0,a.jsx)(j.Button,{asChild:!0,size:"sm",onClick:function(){return Y(!1)},children:(0,a.jsx)(s.default,{href:"/checkout",children:"Checkout"})})]})]})]})]})]}),(0,a.jsx)("button",{type:"button",className:"grid size-11 place-items-center rounded-full text-foreground transition-colors hover:bg-secondary lg:hidden",onClick:function(){return K(function(e){return!e})},"aria-label":"Toggle menu","aria-expanded":H,children:H?(0,a.jsx)(m.X,{className:"size-5.5"}):(0,a.jsx)(h,{className:"size-5.5"})})]})]})}),(0,a.jsx)("nav",{className:(0,w.cn)("border-b border-border bg-background",H?"block":"hidden lg:block"),"aria-label":"Categories",children:(0,a.jsxs)("div",{className:"mx-auto flex max-w-7xl flex-col gap-3 px-4 py-3 lg:flex-row lg:items-center lg:gap-6 lg:px-6",children:[(0,a.jsxs)("form",{className:"relative flex items-center lg:hidden",onSubmit:er,role:"search",children:[(0,a.jsx)(c.Search,{className:"pointer-events-none absolute left-4 size-4.5 text-muted-foreground"}),(0,a.jsx)("input",{type:"text",value:Q,onChange:function(e){return ee(e.target.value)},placeholder:"Search laptops, phones, cable TV...","aria-label":"Search products",className:"h-11 w-full rounded-full border border-input bg-secondary/60 pl-11 pr-4 text-sm outline-none focus:border-primary focus:bg-background"})]}),(0,a.jsxs)(s.default,{href:"/",className:"inline-flex items-center gap-2 rounded-full bg-primary px-5 py-2 text-sm font-semibold text-primary-foreground",onClick:en,children:[(0,a.jsx)(h,{className:"size-4"}),"All Categories"]}),(0,a.jsxs)("ul",{className:"flex flex-wrap items-center gap-x-6 gap-y-2 lg:gap-x-7",children:[(void 0===z?N:z).map(function(e){return(0,a.jsx)("li",{children:(0,a.jsxs)("a",{href:e.href,className:(0,w.cn)(P,e.highlight&&"inline-flex items-center gap-1 text-primary"),onClick:en,children:[e.label,e.highlight&&(0,a.jsx)("span",{"aria-hidden":"true",children:"ð¥"})]})},e.label)}),(0,a.jsx)("li",{children:(0,a.jsx)(s.default,{href:"/gallery",className:P,onClick:en,children:"Gallery"})}),(0,a.jsx)("li",{children:(0,a.jsxs)(s.default,{href:"/contact",className:(0,w.cn)(P,"inline-flex items-center gap-1 text-primary"),onClick:en,children:["Build a Website",(0,a.jsx)("span",{"aria-hidden":"true",children:"â¨"})]})})]}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2 lg:ml-auto",children:[T&&(0,a.jsx)(j.Button,{asChild:!0,size:"sm",onClick:en,children:(0,a.jsxs)("a",{href:T.href,children:[(0,a.jsx)(x.DollarSign,{className:"size-4"}),T.label]})}),I&&(0,a.jsx)(j.Button,{asChild:!0,variant:"outline",size:"sm",onClick:en,children:(0,a.jsxs)("a",{href:I.href,children:[(0,a.jsx)(v.Recycle,{className:"size-4"}),I.label]})})]})]})}),G&&(0,a.jsx)(S,{onClose:function(){return X(!1)}})]})}],38812)},33930,e=>{"use strict";
1var t=e.i(91865),r=e.i(20786),n=e.i(92808),a=e.i(51682),i=e.i(96137),s=e.i(43476),o=e.i(71645),l=e.i(22016),c=e.i(64569),u=(0,e.i(56420).default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),d=e.i(75387),f=e.i(96315),h=e.i(74544),m=e.i(83122);function p(){var e=(0,a._)((0,o.useState)(null),2),r=e[0],n=e[1];return((0,o.useEffect)(function(){var e=!0,r=function(t){e&&t&&"number"==typeof t.total&&n(t)};(0,t._)(function(){return(0,i._)(this,function(e){switch(e.label){case 0:if(e.trys.push([0,7,,8]),sessionStorage.getItem("visit_counted"))return[3,3];return[4,fetch("/api/visit",{method:"POST"})];case 1:case 4:return[4,e.sent().json()];case 2:return r.apply(void 0,[e.sent()]),sessionStorage.setItem("visit_counted","1"),[3,6];case 3:return[4,fetch("/api/visit")];case 5:r.apply(void 0,[e.sent()]),e.label=6;case 6:return[3,8];case 7:return e.sent(),[3,8];case 8:return[2]}})})();var a=setInterval(function(){return(0,t._)(function(){return(0,i._)(this,function(e){switch(e.label){case 0:return e.trys.push([0,3,,4]),[4,fetch("/api/visit")];case 1:return[4,e.sent().json()];case 2:return r.apply(void 0,[e.sent()]),[3,4];case 3:return e.sent(),[3,4];case 4:return[2]}})})()},2e4);return function(){e=!1,clearInterval(a)}},[]),r)?(0,s.jsxs)("span",{className:"inline-flex items-center gap-1.5 align-middle",title:"".concat(r.today.toLocaleString()," visitors today"),children:[(0,s.jsxs)("span",{className:"relative flex size-2",children:[(0,s.jsx)("span",{className:"absolute inline-flex size-2 animate-ping rounded-full bg-green-400 opacity-75"}),(0,s.jsx)("span",{className:"relative inline-flex size-2 rounded-full bg-green-500"})]}),(0,s.jsx)("strong",{className:"text-white/90",children:r.total.toLocaleString()})," visitors"]}):null}var x=[{title:"Shop",links:[{label:"Computers",href:"/computers"},{label:"Cell Phones",href:"/cell-phones"},{label:"Cable TV",href:"/cable-tv"},{label:"Internet Plans",href:"/internet"},{label:"Recycle Electronics",href:"/recycle"},{label:"Sell to us",href:"/sell-to-us"},{label:"Gallery",href:"/gallery"}]},{title:"Support",links:[{label:"Build a Website",href:"/contact"},{label:"Search",href:"/search"},{label:"Your Cart",href:"/cart"},{label:"Wishlist",href:"/wishlist"},{label:"Your Account",href:"/account"},{label:"Terms of Service",href:"/terms"}]},{title:"Company",links:[{label:"Computers",href:"/computers"},{label:"Cell Phones",href:"/cell-phones"},{label:"Cable TV Boxes",href:"/cable-tv"},{label:"Internet + Cable Bundle",href:"/internet"},{label:"Trade-In for Cash",href:"/sell-to-us"}]}],v=[{Icon:function(e){return(0,s.jsx)("svg",(0,n._)((0,r._)({viewBox:"0 0 24 24",fill:"currentColor"},e),{children:(0,s.jsx)("path",{d:"M22 5.8a8 8 0 01-2.4.7 4.2 4.2 0 001.8-2.3 8.4 8.4 0 01-2.6 1 4.1 4.1 0 00-7.1 3.7A11.7 11.7 0 013 4.7a4.1 4.1 0 001.3 5.5 4 4 0 01-1.9-.5v.1a4.1 4.1 0 003.3 4 4.1 4.1 0 01-1.9.1 4.1 4.1 0 003.8 2.9A8.3 8.3 0 012 18.4a11.7 11.7 0 006.3 1.8c7.6 0 11.7-6.3 11.7-11.7v-.5A8.3 8.3 0 0022 5.8z"})}))},href:"https://twitter.com",label:"Twitter"},{Icon:function(e){return(0,s.jsxs)("svg",(0,n._)((0,r._)({viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e),{children:[(0,s.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"5"}),(0,s.jsx)("circle",{cx:"12",cy:"12",r:"4"}),(0,s.jsx)("circle",{cx:"17.5",cy:"6.5",r:"1",fill:"currentColor"})]}))},href:"https://instagram.com",label:"Instagram"},{Icon:function(e){return(0,s.jsx)("svg",(0,n._)((0,r._)({viewBox:"0 0 24 24",fill:"currentColor"},e),{children:(0,s.jsx)("path",{d:"M13 22v-8h3l1-4h-4V7.5c0-1.2.3-2 2-2h2V2.1A29 29 0 0014.5 2C11.7 2 10 3.7 10 6.8V10H7v4h3v8h3z"})}))},href:"https://facebook.com",label:"Facebook"},{Icon:function(e){return(0,s.jsx)("svg",(0,n._)((0,r._)({viewBox:"0 0 24 24",fill:"currentColor"},e),{children:(0,s.jsx)("path",{d:"M22 8.1a3 3 0 00-2-2.1c-1.8-.5-9-.5-9-.5s-7.2 0-9 .5a3 3 0 00-2 2.1A31 31 0 001.5 12 31 31 0 002 15.9a3 3 0 002 2.1c1.8.5 9 .5 9 .5s7.2 0 9-.5a3 3 0 002-2.1c.3-1.3.5-2.6.5-3.9 0-1.3-.2-2.6-.5-3.9zM10 15.5v-7l6 3.5-6 3.5z"})}))},href:"https://youtube.com",label:"YouTube"}],g=["Visa","MC","AmEx","PayPal","Apple Pay","GPay"];e.s(["default",0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.brand,n=void 0===r?"Advanced Computers":r,b=e.tagline,y=e.address,j=e.phone,_=void 0===j?"(310) 462-2604":j,w=e.email,N=void 0===w?"[email protected]":w,k=e.hours,C=e.columns,S=(0,a._)((0,o.useState)(""),2),P=S[0],O=S[1],E=(0,a._)((0,o.useState)(!1),2),z=E[0],A=E[1];return(0,s.jsxs)("footer",{className:"bg-[#1c1411] text-white/70",children:[(0,s.jsx)("div",{className:"border-b border-white/10",children:(0,s.jsxs)("div",{className:"mx-auto flex max-w-7xl flex-col items-start justify-between gap-6 px-4 py-12 md:flex-row md:items-center lg:px-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-2xl font-extrabold text-white",children:"Stay charged. Save more."}),(0,s.jsx)("p",{className:"mt-1 text-white/70",children:"Join 10,000+ shoppers getting early access to deals, drops & restocks."})]}),(0,s.jsxs)("form",{className:"flex w-full max-w-md gap-2",onSubmit:function(e){return(0,t._)(function(){return(0,i._)(this,function(t){switch(t.label){case 0:if(e.preventDefault(),!P)return[2];A(!0),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:P,source:"footer"})})];case 2:case 3:return t.sent(),[3,4];case 4:return[2]}})})()},children:[(0,s.jsx)("input",{type:"email",required:!0,value:P,onChange:function(e){return O(e.target.value)},placeholder:"Enter your email","aria-label":"Email address",disabled:z,className:"h-11 flex-1 rounded-full border border-white/15 bg-white/5 px-4 text-sm text-white outline-none placeholder:text-white/40 focus:border-primary"}
1),(0,s.jsx)(m.Button,{type:"submit",disabled:z,children:z?"Subscribed â":"Subscribe"})]})]})}),(0,s.jsxs)("div",{className:"mx-auto grid max-w-7xl gap-10 px-4 py-12 md:grid-cols-2 lg:grid-cols-[1.4fr_1fr_1fr_1fr] lg:px-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)(l.default,{href:"/",className:"flex items-center gap-3",children:[(0,s.jsx)("span",{className:"grid size-10 place-items-center rounded-xl bg-gradient-to-br from-primary to-primary-strong",children:(0,s.jsx)(c.Zap,{className:"size-5 text-white",fill:"currentColor"})}),(0,s.jsx)("span",{className:"text-lg font-extrabold text-white",children:n})]}),(0,s.jsx)("p",{className:"mt-4 max-w-xs text-sm",children:void 0===b?"Powering homes & businesses with the latest tech since 2009.":b}),(0,s.jsxs)("ul",{className:"mt-5 flex flex-col gap-3 text-sm",children:[(0,s.jsxs)("li",{className:"flex items-start gap-2.5",children:[(0,s.jsx)(u,{className:"mt-0.5 size-4 shrink-0 text-primary"}),(0,s.jsx)("span",{children:void 0===y?"17129 Hawthorne Blvd, Lawndale, CA 90260":y})]}),(0,s.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,s.jsx)(d.Phone,{className:"size-4 shrink-0 text-primary"}),(0,s.jsx)("a",{href:"tel:".concat(_.replace(/[^0-9+]/g,"")),className:"hover:text-white",children:_})]}),(0,s.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,s.jsx)(f.Mail,{className:"size-4 shrink-0 text-primary"}),(0,s.jsx)("a",{href:"mailto:".concat(N),className:"hover:text-white",children:N})]}),(0,s.jsxs)("li",{className:"flex items-start gap-2.5",children:[(0,s.jsx)(h.Clock,{className:"mt-0.5 size-4 shrink-0 text-primary"}),(0,s.jsx)("span",{children:void 0===k?"MonâFri 8:00 AM â 6:00 PM ⢠Sat 10:00 AM â 4:00 PM":k})]})]})]}),(void 0===C?x:C).map(function(e){return(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"text-sm font-bold uppercase tracking-wide text-white",children:e.title}),(0,s.jsx)("ul",{className:"mt-4 flex flex-col gap-2.5 text-sm",children:e.links.map(function(e){return(0,s.jsx)("li",{children:(0,s.jsx)(l.default,{href:e.href,className:"transition-colors hover:text-primary",children:e.label})},e.label)})})]},e.title)})]}),(0,s.jsxs)("div",{className:"border-t border-white/10",children:[(0,s.jsxs)("div",{className:"mx-auto flex max-w-7xl flex-col items-center gap-4 px-4 py-6 text-sm md:flex-row md:justify-between lg:px-6",children:[(0,s.jsxs)("p",{className:"text-center md:text-left",children:["© ",new Date().getFullYear()," ",n,". All rights reserved."," ",(0,s.jsx)(p,{})]}),(0,s.jsx)("div",{className:"flex items-center gap-2 text-xs","aria-label":"Accepted payment methods",children:g.map(function(e){return(0,s.jsx)("span",{className:"rounded border border-white/15 px-2 py-1",children:e},e)})}),(0,s.jsx)("div",{className:"flex items-center gap-2",children:v.map(function(e){var t=e.Icon,r=e.href,n=e.label;return(0,s.jsx)("a",{href:r,"aria-label":n,target:"_blank",rel:"noreferrer",className:"grid size-9 place-items-center rounded-full bg-white/5 transition-colors hover:bg-primary hover:text-white",children:(0,s.jsx)(t,{className:"size-4.5"})},n)})})]}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2 border-t border-white/10 px-4 py-4 text-xs",children:[(0,s.jsx)(l.default,{href:"/terms",className:"hover:text-primary",children:"Terms of Service"}),(0,s.jsx)("span",{children:"â¢"}),(0,s.jsx)(l.default,{href:"/recycle",className:"hover:text-primary",children:"Recycle"}),(0,s.jsx)("span",{children:"â¢"}),(0,s.jsx)(l.default,{href:"/sell-to-us",className:"hover:text-primary",children:"Sell to us"}),(0,s.jsx)("span",{children:"â¢"}),(0,s.jsx)(l.default,{href:"/account",className:"hover:text-primary",children:"Account"})]})]})]})}],33930)},94436,e=>{"use strict";var t=e.i(71645);e.s(["default",0,function(){return(0,t.useEffect)(function(){"u">typeof navigator&&"serviceWorker"in navigator&&(navigator.serviceWorker.getRegistrations().then(function(e){return e.forEach(function(e){return e.unregister()})}).catch(function(){}),"u">typeof caches&&caches.keys&&caches.keys().then(function(e){return e.forEach(function(e){return caches.delete(e)})}).catch(function(){}))},[]),null}])},4068,e=>{"use strict";var t=e.i(71645);e.s(["default",0,function(){return(0,t.useEffect)(function(){var e=function(){var e=document.querySelector("header");return(e?e.offsetHeight:140)+10},t=function(t){var r=document.getElementById(t);if(!r)return!1;var n=r.getBoundingClientRect().top+window.scrollY-e();return window.scrollTo({top:Math.max(0,n),behavior:"smooth"}),!0},r=function(e){if(!e.defaultPrevented&&0===e.button&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey){var r=e.target.closest&&e.target.closest("a");if(r){var n=(r.getAttribute("href")||"").match(/^\/?#(.+)$/);!n||"/"===window.location.pathname&&t(n[1])&&(e.preventDefault(),window.history.replaceState(null,"","/#".concat(n[1])))}}};if(document.addEventListener("click",r),window.location.hash&&"/"===window.location.pathname){var n=window.location.hash.slice(1);setTimeout(function(){return t(n)},350)}return function(){return document.removeEventListener("click",r)}},[]),null}])}]);
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.