1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d0957619-ab0e-47af-a66f-08edebaa44e7",e._sentryDebugIdIdentifier="sentry-dbid-d0957619-ab0e-47af-a66f-08edebaa44e7")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5183],{7805:function(e,t,r){r.d(t,{default:function(){return s}});var n=r(51713),a=r(2265),i=r(68573);function s(e){var{status:t}=e,{showToast:r}=(0,i.p)(),s=(0,a.useRef)(!1),l=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{s.current||("success"===t?(s.current=!0,r("Payment complete. Your credits have been added.")):"cancel"===t&&(s.current=!0,r("Checkout canceled: no charge was made.")))},[t,r]),(0,a.useEffect)(()=>{if("success"===t&&!l.current){l.current=!0;var e,r=!1;return(0,n._)(function*(){for(var t=0;t<6&&!r;t++){e=new AbortController;var n=setTimeout(()=>null==e?void 0:e.abort(),5e3);try{var a=yield fetch("/api/billing/reconcile-entitlement",{method:"POST",signal:e.signal}),i=yield a.json().catch(()=>null);if(r||(null==i?void 0:i.full)===!0)return}catch(e){}finally{clearTimeout(n)}t<5&&(yield new Promise(e=>setTimeout(e,2500)))}})(),()=>{r=!0,null==e||e.abort()}}},[t]),null}},24526:function(e,t,r){r.d(t,{default:function(){return p}});var n=r(57437),a=r(2265),i=r(1192),s=r(50420),l=r(44250),o=r(84949),c=r(88318),d=r(77138),u=r(48153),f=r(60142),b=r(81013),v=r(44459);function p(e){var{active:t,wide:r=!1,billingEnabled:p=!1,hideSalesChrome:h=!1}=e,m=(0,f.Kx)({surface:"site-nav"}),x=(0,v.L)(p),[y,g]=(0,a.useState)(!1),j=(0,a.useRef)(null),k=(0,a.useCallback)(()=>g(!1),[]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("nav",{className:"border-b border-[var(--border)] bg-[var(--bg-card)]",children:(0,n.jsxs)("div",{className:"".concat(r?"max-w-[1600px]":"max-w-6xl"," mx-auto px-4 py-3 flex items-center justify-between"),children:[(0,n.jsx)("a",{href:"/",className:"flex items-center hover:opacity-80 transition-opacity","aria-label":"Ecommerce Benchmark home",children:(0,n.jsx)(o.Z,{className:"h-8 w-auto"})}),(0,n.jsxs)("div",{className:"flex items-center gap-2 sm:gap-2.5",children:[(0,b.Lp)(x).map(e=>(0,n.jsx)("a",{href:e.href,"aria-current":t===e.key?"page":void 0,className:"hidden lg:inline whitespace-nowrap px-2 text-sm rounded-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--accent-teal)] ".concat(t===e.key?"font-semibold text-[var(--accent-teal)]":"text-[var(--text-secondary)] hover:text-[var(--text-primary)]"),children:e.label},e.key)),!h&&(0,n.jsxs)("a",{href:m,target:"_blank",rel:"noopener noreferrer","aria-label":"See Nexus",className:"hidden lg:inline-flex whitespace-nowrap items-center justify-center gap-1.5 min-h-[44px] px-3.5 rounded-lg bg-[var(--accent-teal)] text-[var(--text-on-accent)] text-xs font-semibold hover:opacity-90 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--bg-base)] focus-visible:ring-[var(--accent-teal)] transition-opacity",children:[(0,n.jsx)(i.Z,{size:13,"aria-hidden":"true"}),"See Nexus"]}),x&&!h&&(0,n.jsx)("div",{className:"hidden lg:block",children:(0,n.jsx)(u.Z,{})}),(0,n.jsx)(l.Z,{}),(0,n.jsx)("div",{className:"hidden lg:block",children:(0,n.jsx)(c.Z,{})}),(0,n.jsx)("button",{ref:j,type:"button",onClick:()=>g(!0),"aria-label":"Open menu","aria-expanded":y,"aria-controls":"site-nav-mobile-menu",className:"lg:hidden p-2 rounded-lg border border-[var(--border)] text-[var(--text-primary)] hover:bg-[var(--bg-surface)] active:scale-95 transition-all min-h-[44px] min-w-[44px] flex items-center justify-center",children:(0,n.jsx)(s.Z,{size:18,"aria-hidden":"true"})})]})]})}),(0,n.jsxs)(d.Z,{id:"site-nav-mobile-menu",open:y,onClose:k,triggerRef:j,navLabel:"Mobile navigation",footer:(0,n.jsxs)("div",{className:"mt-auto border-t border-[var(--border)] p-4 space-y-2",children:[x&&!h&&(0,n.jsx)("div",{className:"pb-1",children:(0,n.jsx)(u.Z,{})}),(0,n.jsx)(c.Z,{variant:"block",onAction:k}),(0,n.jsxs)("div",{className:"grid grid-cols-3 gap-2 text-xs text-[var(--text-muted)]",children:[(0,n.jsx)("a",{href:"/privacy",onClick:k,className:"hover:text-[var(--text-primary)] transition-colors text-center py-2",children:"Privacy"}),(0,n.jsx)("a",{href:"/terms",onClick:k,className:"hover:text-[var(--text-primary)] transition-colors text-center py-2",children:"Terms"}),(0,n.jsx)("a",{href:"/cookie-policy",onClick:k,className:"hover:text-[var(--text-primary)] transition-colors text-center py-2",children:"Cookies"})]}),(0,n.jsx)("p",{className:"text-[10px] text-[var(--text-muted)] text-center leading-relaxed",children:"Built by Omniconvert. Not affiliated with Shopify Inc."})]}),children:[(0,b.Lp)(x).map(e=>(0,n.jsx)("a",{href:e.href,onClick:k,"aria-current":t===e.key?"page":void 0,className:"px-4 py-3 rounded-lg text-base font-medium hover:bg-[var(--bg-surface)] transition-colors min-h-[44px] flex items-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[var(--accent-teal)] ".concat(t===e.key?"text-[var(--accent-teal)] font-semibold":"text-[var(--text-primary)]"),children:e.label},e.key)),!h&&(0,n.jsxs)("a",{href:m,target:"_blank",rel:"noopener noreferrer",onClick:k,className:"mt-2 mx-2 inline-flex items-center justify-center gap-1.5 min-h-[44px] px-3 rounded-lg bg-[var(--accent-teal)] text-[var(--text-on-accent)] text-sm font-semibold hover:opacity-90 transition-opacity",children:[(0,n.jsx)(i.Z,{size:14,"aria-hidden":"true"}),"See Nexus"]})]})]})}},81013:function(e,t,r){r.d(t,{Lp:function(){return i},xT:function(){return a}});var n=[{key:"leaderboard",href:"/leaderboard",label:"Leaderboard",hero:!0},{key:"methodology",href:"/methodology",label:"Methodology",hero:!0},{key:"creative",href:"/leaderboard/creative-intelligence",label:"Creative Intelligence"},{key:"blog",href:"/blog",label:"Blog"},{key:"about",href:"/about",label:"About"},{key:"pricing",href:"/pricing",label:"Pricing",billingGated:!0}],a=n.filter(e=>e.hero&&!e.billingGated);function i(e){return n.filter(t=>!t.billingGated||e)}},89134:function(e,t,r){r.d(t,{mW:function(){return d}});let n=e=>!!e.dispatchFromDevtools&&"function"==typeof e.dispatch,a=new Map,i=e=>{let t=a.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([e,t])=>[e,t.getState()])):{}},s=(e,t,r)=>{if(void 0===e)return{type:"untracked",connection:t.connect(r)};let n=a.get(r.name);if(n)return{type:"tracked",store:e,...n};let i={connection:t.connect(r),stores:{}};return a.set(r.name,i),{type:"tracked",store:e,...i}},l=(e,t)=>
1{if(void 0===t)return;let r=a.get(e);r&&(delete r.stores[t],0===Object.keys(r.stores).length&&a.delete(e))},o=/.+ (.+) .+/,c=/^([^@]+)@/,d=(e,t={})=>(r,a,d)=>{let f;let{enabled:b,anonymousActionType:v,store:p,...h}=t;try{f=(null==b||b)&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(e){}if(!f)return e(r,a,d);let{connection:m,...x}=s(p,f,h),y=!0;d.setState=(e,t,n)=>{let s=r(e,t);if(!y)return s;let l=void 0===n?{type:v||function(e){var t,r,n;if(!e)return;let a=e.split("\n"),i=a.findIndex(e=>e.includes("api.setState"));if(i<0)return;let s=(null==(t=a[i+1])?void 0:t.trim())||"";return(null==(r=o.exec(s))?void 0:r[1])||(null==(n=c.exec(s))?void 0:n[1])}(Error().stack)||"anonymous"}:"string"==typeof n?{type:n}:n;return void 0===p?null==m||m.send(l,a()):null==m||m.send({...l,type:`${p}/${l.type}`},{...i(h.name),[p]:d.getState()}),s},d.devtools={cleanup:()=>{m&&"function"==typeof m.unsubscribe&&m.unsubscribe(),l(h.name,p)}};let g=(...e)=>{let t=y;y=!1,r(...e),y=t},j=e(d.setState,a,d);if("untracked"===x.type?null==m||m.init(j):(x.stores[x.store]=d,null==m||m.init(Object.fromEntries(Object.entries(x.stores).map(([e,t])=>[e,e===x.store?j:t.getState()])))),n(d)){let e=!1,t=d.dispatch;d.dispatch=(...r)=>{"__setState"!==r[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...r)}}return m.subscribe(e=>{var t;switch(e.type){case"ACTION":if("string"!=typeof e.payload){console.error("[zustand devtools middleware] Unsupported action format");return}return u(e.payload,e=>{if("__setState"===e.type){if(void 0===p){g(e.state);return}1!==Object.keys(e.state).length&&console.error(` 2 [zustand devtools middleware] Unsupported __setState action format. 3 When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(), 4 and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } } 5 `);let t=e.state[p];if(null==t)return;JSON.stringify(d.getState())!==JSON.stringify(t)&&g(t);return}n(d)&&d.dispatch(e)});case"DISPATCH":switch(e.payload.type){case"RESET":if(g(j),void 0===p)return null==m?void 0:m.init(d.getState());return null==m?void 0:m.init(i(h.name));case"COMMIT":if(void 0===p){null==m||m.init(d.getState());break}return null==m?void 0:m.init(i(h.name));case"ROLLBACK":return u(e.state,e=>{if(void 0===p){g(e),null==m||m.init(d.getState());return}g(e[p]),null==m||m.init(i(h.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return u(e.state,e=>{if(void 0===p){g(e);return}JSON.stringify(d.getState())!==JSON.stringify(e[p])&&g(e[p])});case"IMPORT_STATE":{let{nextLiftedState:r}=e.payload,n=null==(t=r.computedStates.slice(-1)[0])?void 0:t.state;if(!n)return;void 0===p?g(n):g(n[p]),null==m||m.send(null,r);break}case"PAUSE_RECORDING":return y=!y}return}}),j},u=(e,t)=>{let r;try{r=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==r&&t(r)}},3011:function(e,t,r){r.d(t,{U:function(){return o}});var n=r(2265);let a=e=>{let t;let r=new Set,n=(e,n)=>{let a="function"==typeof e?e(t):e;if(!Object.is(a,t)){let e=t;t=(null!=n?n:"object"!=typeof a||null===a)?a:Object.assign({},t,a),r.forEach(r=>r(t,e))}},a=()=>t,i={setState:n,getState:a,getInitialState:()=>s,subscribe:e=>(r.add(e),()=>r.delete(e))},s=t=e(n,a,i);return i},i=e=>e?a(e):a,s=e=>e,l=e=>{let t=i(e),r=e=>(function(e,t=s){let r=n.useSyncExternalStore(e.subscribe,n.useCallback(()=>t(e.getState()),[e,t]),n.useCallback(()=>t(e.getInitialState()),[e,t]));return n.useDebugValue(r),r})(t,e);return Object.assign(r,t),r},o=e=>e?l(e):l}}]);
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.