PageSourceSearch

https://shopclone.ai/_next/static/chunks/3aacdb5f92bb65fc.js

js shopclone.ai collected 2026-10-05 14:31:46 UTC 31,705 bytes, 9 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(71645);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=s(e,n)),t&&(a.current=s(t,n))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("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)},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return s},urlQueryToSearchParams:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});function s(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,i(e));else t.set(r,i(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return o},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let s=e.r(98578)._(e.r(98183)),i=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",o=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(s.urlQueryToSearchParams(l)));let d=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),o&&"#"!==o[0]&&(o="#"+o),d&&"?"!==d[0]&&(d="?"+d),a=a.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${n}${c}${a}${d}${o}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return o(e)}},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return g},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return y},NormalizeError:function(){return b},PageNotFoundError:function(){return v},SP:function(){return x},ST:function(){return m},WEB_VITALS:function(){return s},execOnce:function(){return i},getDisplayName:function(){return u},getLocationOrigin:function(){return c},getURL:function(){return d},isAbsoluteUrl:function(){return l},isResSent:function(){return h},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return f},stringifyError:function(){return j}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let s=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>o.test(e);function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function d(){let{href:e}=window.location,t=c();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function h(e){return e.finished||e.headersSent}function f(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&h(r))return n;if(!n)throw Object.defineProperty(Error(`"${u(e)}.getInitialProps()" should resolve to an object. But found "${n}
1" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let x="undefined"!=typeof performance,m=x&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class b extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class y extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function j(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return s}});let n=e.r(18967),a=e.r(52817);function s(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let 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}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return v}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let s=e.r(98578),i=e.r(43476),o=s._(e.r(71645)),l=e.r(95057),c=e.r(8372),d=e.r(18581),u=e.r(18967),h=e.r(5550);e.r(33525);let f=e.r(69688),p=e.r(73668),x=e.r(9396);function m(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}function g(t){var r;let n,a,s,[l,g]=(0,o.useOptimistic)(f.IDLE_LINK_STATUS),v=(0,o.useRef)(null),{href:y,as:w,children:j,prefetch:N=null,passHref:k,replace:_,shallow:E,scroll:C,onClick:M,onMouseEnter:P,onTouchStart:S,legacyBehavior:O=!1,onNavigate:L,ref:R,unstable_dynamicOnHover:$,...A}=t;n=j,O&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let z=o.default.useContext(c.AppRouterContext),T=!1!==N,F=!1!==N?null===(r=N)||"auto"===r?x.FetchStrategy.PPR:x.FetchStrategy.Full:x.FetchStrategy.PPR,{href:U,as:H}=o.default.useMemo(()=>{let e=m(y);return{href:e,as:w?m(w):e}},[y,w]);if(O){if(n?.$$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>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});a=o.default.Children.only(n)}let I=O?a&&"object"==typeof a&&a.ref:R,B=o.default.useCallback(e=>(null!==z&&(v.current=(0,f.mountLinkInstance)(e,U,z,F,T,g)),()=>{v.current&&((0,f.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,f.unmountPrefetchableInstance)(e)}),[T,U,z,F,g]),D={ref:(0,d.useMergedRef)(B,I),onClick(t){O||"function"!=typeof M||M(t),O&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(t),!z||t.defaultPrevented||function(t,r,n,a,s,i,l){if("undefined"!=typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(r)){s&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(99781);o.default.startTransition(()=>{u(n||r,s?"replace":"push",i??!0,a.current)})}}(t,U,H,v,_,C,L)},onMouseEnter(e){O||"function"!=typeof P||P(e),O&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),z&&T&&(0,f.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){O||"function"!=typeof S||S(e),O&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),z&&T&&(0,f.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,u.isAbsoluteUrl)(H)?D.href=H:O&&!k&&("a"!==a.type||"href"in a.props)||(D.href=(0,h.addBasePath)(H)),s=O?o.default.cloneElement(a,D):(0,i.jsx)("a",{...A,...D,children:n}),(0,i.jsx)(b.Provider,{value:l,children:s})}e.r(84508);let b=(0,o.createContext)(f.IDLE_LINK_STATUS),v=()=>(0,o.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},64659,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",()=>t],64659)},9912,e=>{"use strict";let t=(0,e.i(75254).default)("rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);e.s(["Rocket",()=>t],9912)},92270,e=>{"use strict";let t=(0,e.i(75254).default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);e.s(["LogOut",()=>t],92270)},51975,e=>{"use strict";let t=(0,e.i(75254).default)("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);e.s(["Tag",()=>t],51975)},75822,e=>{"use strict";let t=(0,e.i(75254).default)("coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]]);e.s(["Coins",()=>t],75822)},92161,e=>{"use strict";let t=(0,e.i(75254).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["Menu",()=>t],92161)},62319,60289,302,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(22016),a=e.i(18566),s=e.i(75822),i=e.i(92161),o=e.i(37727),l=e.i(64659),c=e.i(51975),d=e.i(75254);let u=(0,d.default)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);var h=e.i(9912),f=e.i(7761);let p=({className:e="w-5 h-3.5"})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 3 2",className:`rounded-sm object-cover ${e}`,children:[(0,t.jsx)("path",{fill:"#EC1920",d:"M2 0h1v2H2z"}),(0,t.jsx)("path",{fill:"#fff",d:"M1 0h1v2H1z"}),(0,t.jsx)("path",{fill:"#051440",d:"M0 0h1v2H0z"})]}),x=({className:e="w-5 h-3.5"})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 750 500",className:`rounded-sm object-cover ${e}`,children:[(0,t.jsx)("path",{fill:"#c60b1e",d:"M0 0h750v500H0z"}),(0,t.jsx)("path",{fill:"#ffc400",d:"M0 125h750v250H0z"})]}),m=({className:e="w-5 h-3.5"})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1235 650",className:`rounded-sm object-cover ${e}`,children:[(0,t.jsx)("path",{fill:"#b22234",d:"M0 0h1235v650H0z"}),(0,t.jsx)("path",{fill:"#fff",d:"M0 50h1235v50H0zm0 100h1235v50H0zm0 100h1235v50H0zm0 100h1235v50H0zm0 100h1235v50H0zm0 100h1235v50H0z"}),(0,t.jsx)("path",{fill:"#3c3b6e",d:"M0 0h494v350H0z"})]});var g=e.i(72136),b=e.i(74080),v=e.i(17255),y=e.i(92270);let w=(0,d.default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);e.s(["LayoutDashboard",()=>w],60289);let j=(0,d.default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);function N(){let{user:e}=(0,g.useUser)(),[a,s]=(0,r.useState)(!1),[i,o]=(0,r.useState)({top:0,right:0}),[c,d]=(0,r.useState)(!1),h=(0,r.useRef)(null),f=e?.firstName&&e?.lastName?`${e.firstName} ${e.lastName}`:e?.fullName??e?.primaryEmailAddress?.emailAddress??"Account",p=e?.primaryEmailAddress?.emailAddress??"",x=((e?.firstName?.[0]||"")+(e?.lastName?.[0]||"")).toUpperCase()||(p[0]?.toUpperCase()??"U");(0,r.useEffect)(()=>{d(!0)},[]);let m=()=>{let e=h.current;if(!e)return;let t=e.getBoundingClientRect();o({top:t.bottom+8,right:window.innerWidth-t.right})};(0,r.useLayoutEffect)(()=>{a&&m()},[a]),(0,r.useEffect)(()=>
1{if(!a)return;let e=()=>m();return window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0)}},[a]),(0,r.useEffect)(()=>{if(!a)return;let e=e=>{let t=e.target;if(h.current?.contains(t))return;let r=document.getElementById("auth-user-menu-popover");r?.contains(t)||s(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[a]);let N=()=>s(!1),k=a&&c&&(0,t.jsxs)("div",{id:"auth-user-menu-popover",role:"menu",className:"fixed z-[200] w-[min(calc(100vw-1.5rem),280px)] overflow-hidden rounded-xl border border-white/10 bg-[#0a0a0a] py-1 shadow-2xl shadow-black/50",style:{top:i.top,right:i.right},children:[(0,t.jsxs)("div",{className:"border-b border-white/10 px-3 py-3",children:[(0,t.jsx)("p",{className:"truncate text-sm font-semibold text-white",children:f}),p?(0,t.jsx)("p",{className:"truncate text-xs text-gray-500",children:p}):null]}),(0,t.jsxs)("div",{className:"py-0.5",children:[(0,t.jsxs)(n.default,{href:"/dashboard",role:"menuitem",onClick:N,className:"flex w-full items-center gap-2 px-3 py-2.5 text-left text-sm text-white transition hover:bg-white/10",children:[(0,t.jsx)(w,{className:"h-4 w-4 shrink-0 text-gray-400"}),"Dashboard"]}),(0,t.jsxs)(n.default,{href:"/history",role:"menuitem",onClick:N,className:"flex w-full items-center gap-2 px-3 py-2.5 text-left text-sm text-white transition hover:bg-white/10",children:[(0,t.jsx)(u,{className:"h-4 w-4 shrink-0 text-gray-400"}),"History"]}),(0,t.jsxs)(n.default,{href:"/account",role:"menuitem",onClick:N,className:"flex w-full items-center gap-2 px-3 py-2.5 text-left text-sm text-white transition hover:bg-white/10",children:[(0,t.jsx)(j,{className:"h-4 w-4 shrink-0 text-gray-400"}),"Account"]})]}),(0,t.jsx)("div",{className:"border-t border-white/10 py-0.5",children:(0,t.jsxs)("button",{type:"button",role:"menuitem",onClick:()=>{N(),(0,v.signOut)({callbackUrl:"/"})},className:"flex w-full items-center gap-2 px-3 py-2.5 text-left text-sm text-white transition hover:bg-white/10",children:[(0,t.jsx)(y.LogOut,{className:"h-4 w-4 shrink-0"}),"Sign out"]})})]});return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{ref:h,type:"button",onClick:()=>{s(e=>!e)},"aria-expanded":a,"aria-haspopup":"menu",className:"flex items-center gap-0.5 rounded-full p-0.5 pl-0.5 transition hover:bg-white/5 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500/50",children:[e?.imageUrl?(0,t.jsx)("img",{src:e.imageUrl,alt:"",className:"h-10 w-10 rounded-full border border-white/10 object-cover",referrerPolicy:"no-referrer"}):(0,t.jsx)("span",{className:"inline-flex h-10 w-10 items-center justify-center rounded-full border border-white/10 bg-primary-500 text-sm font-bold text-black",children:x}),(0,t.jsx)(l.ChevronDown,{className:`mr-1 h-4 w-4 text-gray-400 transition ${a?"rotate-180":""}`,"aria-hidden":!0})]}),c&&k&&(0,b.createPortal)(k,document.body)]})}var k=e.i(20072);function _({label:e,icon:a,iconPosition:s="left",iconOnly:i=!1,className:o="",ariaLabel:l,href:c,onClick:d}){let[u,h]=(0,r.useState)(!1),[f,p]=(0,r.useState)({x:0,y:0}),x=(0,r.useRef)(null),m=e=>{let t=x.current?.getBoundingClientRect();t&&p({x:e.clientX-t.left,y:e.clientY-t.top})},g=`relative z-10 flex items-center justify-center ${i?"w-11 h-11":"px-6 py-[10.5px]"} rounded-full
2    bg-gradient-to-b from-[#2ad674] via-[#1db954] to-[#129440]
3    text-[#032313] font-bold tracking-wide
4    border border-[#6ef1a5]/50 hover:border-white/60
5    shadow-[0_12px_28px_-6px_rgba(18,148,64,0.6),inset_0_1.5px_1px_rgba(255,255,255,0.7),inset_0_-2px_4px_rgba(0,40,18,0.35)]
6    hover:shadow-[0_16px_36px_-6px_rgba(29,185,84,0.75),inset_0_1.5px_1.5px_rgba(255,255,255,0.9),inset_0_-1px_2px_rgba(0,40,18,0.25)]
7    hover:brightness-105 active:scale-[0.98] active:brightness-95
8    transition-all duration-300 ease-out cursor-pointer outline-none focus-visible:ring-2 focus-visible:ring-emerald-400 focus-visible:ring-offset-2 focus-visible:ring-offset-[#050907]
9    overflow-hidden ${o}`,b=(0,t.jsxs)(t.Fragment,{children:[u&&(0,t.jsx)("div",{className:"absolute inset-0 pointer-events-none rounded-full overflow-hidden",children:(0,t.jsx)("div",{className:"absolute w-36 h-36 -translate-x-1/2 -translate-y-1/2 roun
9ded-full bg-[radial-gradient(circle,rgba(255,255,255,0.22),rgba(255,255,255,0.06)_60%,transparent_100%)] blur-sm pointer-events-none transition-opacity duration-150",style:{left:`${f.x}px`,top:`${f.y}px`}})}),(0,t.jsx)("div",{className:"absolute inset-0 -translate-x-full group-hover:translate-x-full transition-transform duration-1000 bg-gradient-to-r from-transparent via-white/12 to-transparent pointer-events-none"}),(0,t.jsx)("div",{className:`relative z-10 flex items-center ${i?"":"gap-2.5"}`,children:i?a:"right"===s?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"tracking-widest font-extrabold uppercase text-xs",children:e}),a]}):(0,t.jsxs)(t.Fragment,{children:[a,(0,t.jsx)("span",{className:"tracking-widest font-extrabold uppercase text-xs",children:e})]})})]});return c?(0,t.jsxs)("div",{className:"relative group inline-block select-none",children:[(0,t.jsx)("div",{className:"absolute -inset-1 rounded-full bg-gradient-to-r from-emerald-500 via-teal-400 to-emerald-400 blur-md opacity-0 group-hover:opacity-60 transition-opacity duration-500 pointer-events-none"}),(0,t.jsx)(n.default,{href:c,ref:x,onMouseMove:m,onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),"aria-label":l??e,className:g,children:b})]}):(0,t.jsxs)("div",{className:"relative group inline-block select-none",children:[(0,t.jsx)("div",{className:"absolute -inset-1 rounded-full bg-gradient-to-r from-emerald-500 via-teal-400 to-emerald-400 blur-md opacity-0 group-hover:opacity-60 transition-opacity duration-500 pointer-events-none"}),(0,t.jsx)("button",{type:"button",ref:x,onClick:d,onMouseMove:m,onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),"aria-label":l??e,className:g,children:b})]})}e.s(["default",()=>_],302),e.s(["Navbar",0,({currentView:e="home"})=>{let d=(0,a.usePathname)();(0,a.useRouter)();let{t:b,language:v,setLanguage:y}=(0,f.useTranslation)(),{isSignedIn:w,isLoaded:j}=(0,g.useUser)(),[E,C]=(0,r.useState)(null),[M,P]=(0,r.useState)(!1),[S,O]=(0,r.useState)(!1),L=(0,r.useRef)(null),R=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=e=>{let t=e.target,r=L.current&&L.current.contains(t),n=R.current&&R.current.contains(t);r||n||O(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let $=async()=>{if(w)try{let e=await (0,k.fetchUser)();e&&C(e.credits)}catch(e){console.error("Error fetching user credits:",e)}};(0,r.useEffect)(()=>{$()},[w]),(0,r.useEffect)(()=>{let e=()=>{console.log("[NAVBAR] Credits update event received, refreshing..."),$()};return window.addEventListener("shopcode-credits-updated",e),window.addEventListener("focus",e),()=>{window.removeEventListener("shopcode-credits-updated",e),window.removeEventListener("focus",e)}},[w]);let A=e=>{y(e),O(!1)},z=(e=>{switch(e){case"fr":return{flag:(0,t.jsx)(p,{className:"w-4 h-3"}),label:"FR"};case"es":return{flag:(0,t.jsx)(x,{className:"w-4 h-3"}),label:"ES"};default:return{flag:(0,t.jsx)(m,{className:"w-4 h-3"}),label:"EN"}}})(v),T="/"===d?"/sign-up":"/dashboard";return d?.startsWith("/dashboard")||d?.startsWith("/builder"),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"data-navbar-float":!0,className:"fixed top-4 left-0 right-0 z-50 w-full pointer-events-none px-[var(--viewport-padding)]",style:{background:"transparent",boxShadow:"none",border:"none"},children:(0,t.jsx)("nav",{className:"pointer-events-auto w-full",style:{background:"transparent",boxShadow:"none",border:"none"},children:(0,t.jsxs)("div",{className:"relative h-16 flex items-center justify-between rounded-2xl overflow-visible w-full px-[var(--viewport-gutter)]",style:{background:"rgba(13, 13, 13, 0.8)",backdropFilter:"blur(12px)",border:"1px solid rgba(255, 255, 255, 0.06)",boxShadow:"0 4px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05)"},children:[(0,t.jsxs)(n.default,{href:"/",className:"flex items-center gap-2.5 hover:opacity-90 transition-opacity group min-w-0 flex-shrink-0 md:flex-shrink pl-4 md:pl-0",onClick:()=>P(!1),children:[(0,t.jsx)("img",{src:"/shopclone-icon-only.svg",alt:"",width:40,height:40,className:"h-8 md:h-9 w-auto shrink-0","aria-hidden":!0}),(0,t.jsxs)("span",{className:"font-shopclone-stencil text-white text-[21px] leading-none tracking-[0.01em]",children:["Shop",(0,t.jsx)("span",{className:"text-primary-500",children:"Clone"}),".ai"]})]}),(0,t.jsxs)("div",{className:"hidden md:flex items-center gap-4",children:[w&&(0,t.jsxs)(n.default,{href:"/shopify-dashboard",className:"flex items-center gap-1.5 text-sm font-medium text-gray-400 hover:text-white transition-colors",children:[(0,t.jsx)("img",{src:"/S
9hopify-Logo.png",alt:"",width:14,height:14,className:"h-3.5 w-3.5 object-contain shrink-0","aria-hidden":!0}),b("navbar.shopifyStores")]}),w&&(0,t.jsx)(n.default,{href:"/history",className:"text-sm font-medium text-gray-400 hover:text-white transition-colors",children:b("footer.history")}),(0,t.jsx)(n.default,{href:"/pricing",className:`text-sm font-medium transition-colors ${"pricing"===e?"text-primary-500 font-semibold":"text-gray-400 hover:text-white"}`,children:b("navbar.pricing")}),j&&(0,t.jsxs)(t.Fragment,{children:[w&&(0,t.jsx)(t.Fragment,{children:null!==E&&(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 rounded-lg bg-yellow-500/10 border border-yellow-500/20 text-xs font-medium text-yellow-400",title:"Available Credits",children:[(0,t.jsx)(s.Coins,{className:"w-3.5 h-3.5"}),(0,t.jsx)("span",{children:E.toFixed(2)})]})}),(0,t.jsxs)("div",{className:"relative",ref:L,children:[(0,t.jsxs)("button",{onClick:()=>O(!S),className:"flex items-center gap-2 px-3 py-1.5 rounded-lg bg-white/5 hover:bg-white/10 border border-white/10 hover:border-white/20 transition-all text-xs font-medium uppercase tracking-wider min-w-[80px] justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-sm",children:z.flag}),(0,t.jsx)("span",{children:z.label})]}),(0,t.jsx)(l.ChevronDown,{className:`w-3 h-3 text-gray-400 transition-transform duration-200 ${S?"rotate-180":""}`})]}),S&&(0,t.jsx)("div",{className:"absolute top-full right-0 mt-2 w-36 bg-[#0a0a0a] border border-white/10 rounded-lg shadow-xl overflow-hidden z-[100] flex flex-col animate-in fade-in zoom-in-95 duration-100",children:[{code:"en",flag:(0,t.jsx)(m,{className:"w-5 h-3.5"}),label:"English"},{code:"fr",flag:(0,t.jsx)(p,{className:"w-5 h-3.5"}),label:"Français"},{code:"es",flag:(0,t.jsx)(x,{className:"w-5 h-3.5"}),label:"Español"}].map(e=>(0,t.jsxs)("button",{onClick:()=>A(e.code),className:`flex items-center gap-3 px-4 py-3 text-xs font-medium transition-colors hover:bg-white/5 text-left ${v===e.code?"text-white bg-white/5":"text-gray-400"}`,children:[(0,t.jsx)("span",{className:"text-base",children:e.flag}),(0,t.jsx)("span",{children:e.label})]},e.code))})]}),w?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(_,{href:"/dashboard",label:b("common.launchApp"),icon:(0,t.jsx)(h.Rocket,{className:"w-3 h-3 text-[#032313] transition-transform duration-300 group-hover:-translate-y-0.5 group-hover:translate-x-0.5"})}),(0,t.jsx)(N,{})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(_,{href:"/sign-in",label:b("navbar.signIn")}),(0,t.jsx)(_,{href:T,label:b("common.launchApp"),icon:(0,t.jsx)(h.Rocket,{className:"w-3 h-3 text-[#032313] transition-transform duration-300 group-hover:-translate-y-0.5 group-hover:translate-x-0.5"})})]})]})]}),(0,t.jsxs)("div",{className:"md:hidden flex items-center gap-2 flex-shrink-0",children:["dashboard"!==e&&(0,t.jsx)(_,{href:w?"/dashboard":T,label:b("common.launchApp"),icon:(0,t.jsx)(h.Rocket,{className:"w-5 h-5 text-[#032313] transition-transform duration-300 group-hover:-translate-y-0.5 group-hover:translate-x-0.5"}),iconOnly:!0,className:"min-w-[44px] min-h-[44px]"}),(0,t.jsx)("button",{onClick:()=>P(!0),"aria-label":"Open menu",className:`flex items-center justify-center min-w-[44px] min-h-[44px] w-11 h-11 rounded-lg transition-all active:scale-95 ${M?"bg-primary-500/20 text-primary-400 ring-2 ring-primary-500/50 shadow-[0_0_16px_rgba(35,209,134,0.3)]":"text-white bg-white/5 hover:bg-white/10 border border-white/10 hover:border-white/20"}`,children:(0,t.jsx)(i.Menu,{className:"w-6 h-6"})})]})]})})}),(0,t.jsx)("div",{className:`fixed inset-0 z-[60] bg-black/60 backdrop-blur-sm transition-opacity duration-300 md:hidden ${M?"opacity-100 pointer-events-auto":"opacity-0 pointer-events-none"}`,onClick:()=>P(!1)}),(0,t.jsxs)("div",{className:`fixed top-0 right-0 h-full w-[280px] z-[70] shadow-2xl transform transition-transform duration-300 ease-out md:hidden flex flex-col ${M?"translate-x-0":"translate-x-full"}`,style:{background:"rgba(18, 18, 20, 0.85)",backdropFilter:"blur(25px)",WebkitBackdropFilter:"blur(25px)",borderLeft:"1px solid rgba(35, 209, 134, 0.25)",boxShadow:"-4px 0 24px rgba(0,0,0,0.3), inset 0 0 60px rgba(35, 209, 134, 0.03)"},children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3 p-4 border-b border-white/5",children:[w&&null!==E?(0,t.jsxs)("div",{className:"flex items-center gap-2 px-4 py-2.5 rounded-full flex-1 min-w-0 bg-yellow-500/10 border border-yellow-500/20",children:[(0,t.jsx)(s.Coins,{className:"w-4 h-4 text-yellow-400 shrink-0"}),(0,t.jsxs)("span",{className:"text-sm font-medium text-yellow-400 truncate",children:[E.toFixed(2)," Credits"]})]}):(0,t.jsx)("span",{className:"text-xs font-medium uppercase tracking-widest text-gray-500",children:"Menu"}),(0,t.jsx)("button",{onClick:()=>P(!1),className:"min-w-[44px] min-h-[44px] flex items-center justify-center rounded-lg text-gray-400 hover:text-primary-400 transition-all hover:shadow-[0_0_20px_rgba(35,209,134,0.4)] active:scale-95","aria-label":"Close menu",children:(0,t.jsx)(o.X,{className:"w-6 h-6"})})]}),(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto py-6 px-4",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)(n.default,{href:"/pricing",onClick:()=>P(!1),className:`flex items-center gap-3 px-4 py-4 rounded-xl text-base font-medium transition-all ${"pricing"===e?"text-primary-400 bg-white/5 shadow-[0_0_20px_rgba(35,209,134,0.2)]":"text-gray-300 hover:text-white hover:bg-white/5 hover:shadow-[0_0_16px_rgba(35,209,134,0.15)] [text-shadow:0_0_0_transparent] hover:[text-shadow:0_0_12px_rgba(35,209,134,0.35)]"}`,style:"pricing"===e?{textShadow:"0 0 16px rgba(35, 209, 134, 0.5)"}:void 0,children:[(0,t.jsx)(c.Tag,{className:"w-4 h-4 shrink-0 opacity-80"}),b("navbar.pricing")]}),w&&(0,t.jsxs)(n.default,{href:"/shopify-dashboard",onClick:()=>P(!1),className:"flex items-center gap-3 px-4 py-4 rounded-xl text-base font-medium text-gray-300 hover:text-white hover:bg-white/5 transition-all hover:shadow-[0_0_16px_rgba(35,209,134,0.15)] [text-shadow:0_0_0_transparent] hover:[text-shadow:0_0_12px_rgba(35,209,134,0.35)]",style:{WebkitTapHighlightColor:"transparent"}
9,children:[(0,t.jsx)("img",{src:"/Shopify-Logo.png",alt:"",width:16,height:16,className:"h-4 w-4 object-contain shrink-0 opacity-80","aria-hidden":!0}),b("navbar.shopifyStores")]}),w&&(0,t.jsxs)(n.default,{href:"/history",onClick:()=>P(!1),className:"flex items-center gap-3 px-4 py-4 rounded-xl text-base font-medium text-gray-300 hover:text-white hover:bg-white/5 transition-all hover:shadow-[0_0_16px_rgba(35,209,134,0.15)] [text-shadow:0_0_0_transparent] hover:[text-shadow:0_0_12px_rgba(35,209,134,0.35)]",style:{WebkitTapHighlightColor:"transparent"},children:[(0,t.jsx)(u,{className:"w-4 h-4 shrink-0 opacity-80"}),b("footer.history")]})]}),(0,t.jsx)("div",{className:"h-px bg-white/5 my-6"}),(0,t.jsxs)("div",{className:"space-y-3",ref:R,children:[(0,t.jsx)("p",{className:"text-[10px] font-medium uppercase tracking-widest text-gray-500 px-3",children:"Language"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{onClick:()=>O(!S),className:"flex items-center gap-2 px-3 py-2.5 rounded-lg bg-white/5 hover:bg-white/10 border border-white/10 hover:border-white/20 transition-all text-sm font-medium uppercase tracking-wider min-w-[120px] justify-between w-full",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-sm",children:z.flag}),(0,t.jsx)("span",{children:z.label})]}),(0,t.jsx)(l.ChevronDown,{className:`w-4 h-4 text-gray-400 transition-transform duration-200 ${S?"rotate-180":""}`})]}),S&&(0,t.jsx)("div",{className:"absolute top-full left-0 right-0 mt-2 w-full min-w-[140px] bg-[#0a0a0a] border border-white/10 rounded-lg shadow-xl overflow-hidden z-[100] flex flex-col animate-in fade-in zoom-in-95 duration-100",children:[{code:"en",flag:(0,t.jsx)(m,{className:"w-5 h-3.5"}),label:"English"},{code:"fr",flag:(0,t.jsx)(p,{className:"w-5 h-3.5"}),label:"Français"},{code:"es",flag:(0,t.jsx)(x,{className:"w-5 h-3.5"}),label:"Español"}].map(e=>(0,t.jsxs)("button",{onClick:()=>{A(e.code),O(!1)},className:`flex items-center gap-3 px-4 py-3 text-xs font-medium transition-colors hover:bg-white/5 text-left w-full ${v===e.code?"text-white bg-white/5":"text-gray-400"}`,children:[(0,t.jsx)("span",{className:"text-base",children:e.flag}),(0,t.jsx)("span",{children:e.label})]},e.code))})]})]}),j&&w&&(0,t.jsxs)("div",{className:"pt-6 mt-4 border-t border-white/5",children:[(0,t.jsx)("p",{className:"text-[10px] font-medium uppercase tracking-widest text-gray-500 px-1 mb-2",children:"Account"}),(0,t.jsx)(N,{})]}),j&&!w&&(0,t.jsx)("div",{className:"pt-6 mt-4 border-t border-white/5",children:(0,t.jsx)(n.default,{href:"/sign-in",onClick:()=>P(!1),className:"flex items-center justify-center px-4 py-4 rounded-full bg-primary-500 hover:bg-primary-400 text-black text-base font-semibold transition-all active:scale-95",children:b("navbar.signIn")})})]})]})]})}],62319)}]);

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.