PageSourceSearch

https://www.clipsnap.com/1790835175458-69/_next/static/chunks/e498dfa4e0f60a0b.js

js clipsnap.com collected 2026-10-04 22:20:13 UTC 36,888 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,579473,e=>{"use strict";let t={get url(){return`file://${e.P("node_modules/zustand/esm/middleware.mjs")}`}},a=new Map,s=e=>{let t=a.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([e,t])=>[e,t.getState()])):{}},r=(e,r={})=>(i,o,l)=>{let d,{enabled:c,anonymousActionType:u,store:m,...g}=r;try{d=(null!=c?c:(t.env?t.env.MODE:void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(e){}if(!d)return e(i,o,l);let{connection:h,...x}=((e,t,s)=>{if(void 0===e)return{type:"untracked",connection:t.connect(s)};let r=a.get(s.name);if(r)return{type:"tracked",store:e,...r};let n={connection:t.connect(s),stores:{}};return a.set(s.name,n),{type:"tracked",store:e,...n}})(m,d,g),p=!0;l.setState=(e,t,a)=>{let r=i(e,t);if(!p)return r;let n=void 0===a?{type:u||(e=>{var t,a;if(!e)return;let s=e.split("\n"),r=s.findIndex(e=>e.includes("api.setState"));if(r<0)return;let n=(null==(t=s[r+1])?void 0:t.trim())||"";return null==(a=/.+ (.+) .+/.exec(n))?void 0:a[1]})(Error().stack)||"anonymous"}:"string"==typeof a?{type:a}:a;return void 0===m?null==h||h.send(n,o()):null==h||h.send({...n,type:`${m}/${n.type}`},{...s(g.name),[m]:l.getState()}),r},l.devtools={cleanup:()=>{h&&"function"==typeof h.unsubscribe&&h.unsubscribe(),((e,t)=>{if(void 0===t)return;let s=a.get(e);s&&(delete s.stores[t],0===Object.keys(s.stores).length&&a.delete(e))})(g.name,m)}};let f=(...e)=>{let t=p;p=!1,i(...e),p=t},v=e(l.setState,o,l);if("untracked"===x.type?null==h||h.init(v):(x.stores[x.store]=l,null==h||h.init(Object.fromEntries(Object.entries(x.stores).map(([e,t])=>[e,e===x.store?v:t.getState()])))),l.dispatchFromDevtools&&"function"==typeof l.dispatch){let e=!1,a=l.dispatch;l.dispatch=(...s)=>{(t.env?t.env.MODE:void 0)==="production"||"__setState"!==s[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),a(...s)}}return h.subscribe(e=>{var t;switch(e.type){case"ACTION":if("string"!=typeof e.payload)return void console.error("[zustand devtools middleware] Unsupported action format");return n(e.payload,e=>{if("__setState"===e.type){if(void 0===m)return void f(e.state);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[m];return void(null==t||JSON.stringify(l.getState())!==JSON.stringify(t)&&f(t))}l.dispatchFromDevtools&&"function"==typeof l.dispatch&&l.dispatch(e)});case"DISPATCH":switch(e.payload.type){case"RESET":if(f(v),void 0===m)return null==h?void 0:h.init(l.getState());return null==h?void 0:h.init(s(g.name));case"COMMIT":if(void 0===m){null==h||h.init(l.getState());break}return null==h?void 0:h.init(s(g.name));case"ROLLBACK":return n(e.state,e=>{if(void 0===m){f(e),null==h||h.init(l.getState());return}f(e[m]),null==h||h.init(s(g.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return n(e.state,e=>{void 0===m?f(e):JSON.stringify(l.getState())!==JSON.stringify(e[m])&&f(e[m])});case"IMPORT_STATE":{let{nextLiftedState:a}=e.payload,s=null==(t=a.computedStates.slice(-1)[0])?void 0:t.state;if(!s)return;void 0===m?f(s):f(s[m]),null==h||h.send(null,a);break}case"PAUSE_RECORDING":return p=!p}return}}),v},n=(e,t)=>{let a;try{a=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==a&&t(a)},i=e=>(t,a,s)=>{let r=s.subscribe;return s.subscribe=(e,t,a)=>{let n=e;if(t){let r=(null==a?void 0:a.equalityFn)||Object.is,i=e(s.getState());n=a=>{let s=e(a);if(!r(i,s)){let e=i;t(i=s,e)}},(null==a?void 0:a.fireImmediately)&&t(i,i)}return r(n)},e(t,a,s)};function o(e,t){let a;try{a=e()}catch(e){return}return{getItem:e=>{var s;let r=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),n=null!=(s=a.getItem(e))?s:null;return n instanceof Promise?n.then(r):r(n)},setItem:(e,s)=>a.setItem(e,JSON.stringify(s,null==t?void 0:t.replacer)),removeItem:e=>a.removeItem(e)}}let l=e=>t=>{try{let a=e(t);if(a instanceof Promise)return a;return{then:e=>l(e)(a),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>l(t)(e)}}},d=(e,t)=>(a,s,r)=>{let n,i={storage:o(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>
5({...t,...e}),...t},d=!1,c=new Set,u=new Set,m=i.storage;if(!m)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),a(...e)},s,r);let g=()=>{let e=i.partialize({...s()});return m.setItem(i.name,{state:e,version:i.version})},h=r.setState;r.setState=(e,t)=>(h(e,t),g());let x=e((...e)=>(a(...e),g()),s,r);r.getInitialState=()=>x;let p=()=>{var e,t;if(!m)return;d=!1,c.forEach(e=>{var t;return e(null!=(t=s())?t:x)});let r=(null==(t=i.onRehydrateStorage)?void 0:t.call(i,null!=(e=s())?e:x))||void 0;return l(m.getItem.bind(m))(i.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===i.version)return[!1,e.state];else{if(i.migrate){let t=i.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;let[r,o]=e;if(a(n=i.merge(o,null!=(t=s())?t:x),!0),r)return g()}).then(()=>{null==r||r(n,void 0),n=s(),d=!0,u.forEach(e=>e(n))}).catch(e=>{null==r||r(void 0,e)})};return r.persist={setOptions:e=>{i={...i,...e},e.storage&&(m=e.storage)},clearStorage:()=>{null==m||m.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>p(),hasHydrated:()=>d,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(u.add(e),()=>{u.delete(e)})},i.skipHydration||p(),n||x};e.s(["createJSONStorage",()=>o,"devtools",()=>r,"persist",()=>d,"subscribeWithSelector",()=>i])},589662,888023,e=>{"use strict";var t=e.i(768834),a=e.i(579473);let s={themeToggleEnabled:!1},r=(0,t.create)()((0,a.persist)((e,t)=>({...s,setThemeToggleEnabled:t=>e({themeToggleEnabled:t}),toggleThemeToggle:()=>e({themeToggleEnabled:!t().themeToggleEnabled}),resetToDefaults:()=>e(s)}),{name:"developer-settings",storage:(0,a.createJSONStorage)(()=>localStorage),version:1}));e.s(["useDeveloperSettings",0,r],888023);var n=e.i(271645);function i(){let e=r(e=>e.themeToggleEnabled),[t,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=()=>{a(document.documentElement.classList.contains("dark"))};e();let t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),()=>t.disconnect()},[]),{isEnabled:e,isDark:t}}e.s(["useThemeToggle",()=>i],589662)},167203,e=>{"use strict";let t=(0,e.i(475254).default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);e.s(["default",()=>t])},991799,e=>{"use strict";var t=e.i(167203);e.s(["Moon",()=>t.default])},336208,e=>{"use strict";let t=(0,e.i(475254).default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);e.s(["default",()=>t])},170128,e=>{"use strict";var t=e.i(843476),a=e.i(991799),s=e.i(336208),s=s,r=e.i(363178),n=e.i(589662),i=e.i(955872),o=e.i(975157);function l({className:e}){let{theme:l,setTheme:d}=(0,r.useTheme)(),{isEnabled:c}=(0,n.useThemeToggle)();return c?(0,t.jsxs)(i.Button,{variant:"ghost",size:"icon",onClick:()=>{d("dark"===l?"light":"dark")},className:(0,o.cn)("",e),"aria-label":"Toggle theme","data-testid":"theme-toggle-button",children:[(0,t.jsx)(s.default,{className:"h-4 w-4 scale-100 rotate-0 text-yellow-600 transition-all dark:scale-0 dark:-rotate-90"}),(0,t.jsx)(a.Moon,{className:"absolute h-4 w-4 scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0"})]}):null}e.s(["ThemeToggle",()=>l],170128)},230795,e=>{"use strict";var t=e.i(162062),a=e.i(575430);class s{static trackEvent(e,t={}){window.gtag&&window.gtag("event",e,t)}static getFeatureNameFromCurrentPath(){let e=(0,a.toInternalPath)(window.location.pathname);return(Object.values((({home:e,about:t,termsOfService:a,privacy:s,...r})=>r)(t.routeNames)).filter(t=>e.includes(t)).sort((e,t)=>
5t.length-e.length)[0]||e).replace(/\/editor\/?$/,"").split("/").filter(Boolean).pop()}static trackClick(e){s.trackEvent("button_click",e)}static trackAiToolUse(e){if(!window.gtag)return;let t=s.getFeatureNameFromCurrentPath();s.trackEvent("ai_tool_use",{...e,tool_name:t,page_location:window.location.href,page_path:window.location.pathname})}static trackEditorPageView(e){if(!window.gtag)return;let t=s.getFeatureNameFromCurrentPath();s.trackEvent("editor_page_view",{...e,tool_name:t,page_location:window.location.href,page_path:window.location.pathname})}}e.s(["GoogleAnalytics",()=>s])},463059,e=>{"use strict";var t=e.i(246349);e.s(["ChevronRight",()=>t.default])},999014,342512,616079,e=>{"use strict";var t=e.i(162062),a=e.i(321544),s=e.i(843476);let r=e=>t=>(0,s.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...t,children:e});r((0,s.jsx)("path",{d:"M14.622 17.8967L3.942 14.9837M9 7.99973C7.196 10.7097 5.03 11.4597 2.417 11.9477C2.33031 11.9636 2.24925 12.0017 2.1818 12.0584C2.11435 12.1151 2.06285 12.1884 2.03236 12.2711C2.00188 12.3538 1.99346 12.443 2.00796 12.5299C2.02245 12.6168 2.05934 12.6984 2.115 12.7667L9.435 21.6497C9.58368 21.8076 9.77966 21.9129 9.99341 21.9497C10.2072 21.9865 10.4271 21.9528 10.62 21.8537C12.735 20.4047 16 16.7917 16 14.9997M18.376 2.62173C18.5731 2.42462 18.8071 2.26826 19.0647 2.16158C19.3222 2.05491 19.5982 2 19.877 2C20.1558 2 20.4318 2.05491 20.6893 2.16158C20.9469 2.26826 21.1809 2.42462 21.378 2.62173C21.5751 2.81885 21.7315 3.05286 21.8382 3.3104C21.9448 3.56794 21.9997 3.84397 21.9997 4.12273C21.9997 4.4015 21.9448 4.67753 21.8382 4.93507C21.7315 5.19261 21.5751 5.42662 21.378 5.62373L17.36 9.64273C17.2663 9.7365 17.2136 9.86365 17.2136 9.99623C17.2136 10.1288 17.2663 10.256 17.36 10.3497L18.304 11.2937C18.7559 11.7457 19.0097 12.3586 19.0097 12.9977C19.0097 13.6368 18.7559 14.2498 18.304 14.7017L17.36 15.6457C17.2662 15.7395 17.1391 15.7921 17.0065 15.7921C16.8739 15.7921 16.7468 15.7395 16.653 15.6457L8.354 7.34773C8.26026 7.25397 8.2076 7.12682 8.2076 6.99424C8.2076 6.86165 8.26026 6.7345 8.354 6.64073L9.298 5.69673C9.74995 5.24485 10.3629 4.99099 11.002 4.99099C11.6411 4.99099 12.254 5.24485 12.706 5.69673L13.65 6.64073C13.7438 6.73447 13.8709 6.78713 14.0035 6.78713C14.1361 6.78713 14.2632 6.73447 14.357 6.64073L18.376 2.62173Z"}));let n=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("circle",{cx:"6",cy:"6",r:"3"}),(0,s.jsx)("circle",{cx:"6",cy:"18",r:"3"}),(0,s.jsx)("path",{d:"M20 4 8.12 15.88M14.47 14.48 20 20M8.12 8.12 12 12"})]})),i=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"3"}),(0,s.jsx)("path",{d:"M9 9h6v6H9z"})]})),o=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"3"}),(0,s.jsx)("path",{d:"M3 9h18M9 3v18M9 9h6v6"})]})),l=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,s.jsx)("path",{d:"M12 3a9 9 0 0 1 0 18"})]})),d=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"m7 21-4-4 11-11 4 4z"}),(0,s.jsx)("path",{d:"m14 6 4 4"}),(0,s.jsx)("path",{d:"M5 19h13"})]})),c=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"}),(0,s.jsx)("circle",{cx:"9",cy:"7",r:"4"}),(0,s.jsx)("path",{d:"m17 8 5 5M22 8l-5 5"})]})),u=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"m12 3 1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9z"}),(0,s.jsx)("path",{d:"M19 15v4M21 17h-4"})]})),m=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("circle",{cx:"11",cy:"11",r:"7"}),(0,s.jsx)("path",{d:"m21 21-4.3-4.3M11 8v6M8 11h6"})]})),g=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M4 6h10M18 6h2M4 12h2M10 12h10M4 18h7M15 18h5"}),(0,s.jsx)("circle",{cx:"16",cy:"6",r:"2"}),(0,s.jsx)("circle",{cx:"8",cy:"12",r:"2"}),(0,s.jsx)("circle",{cx:"13",cy:"18",r:"2"})]})),h=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z"}),(0,s.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})),x=r((0,s.jsx)("path",{d:"M3 12c2 0 2-4 4-4s2 8 4 8 2-10 4-10 2 6 4 6 2-2 2-2"})),p=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M21 11V6a3 3 0 0 0-3-3H6a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h5"}),(0,s.jsx)("path",{d:"m6.5 15.5 3-3 2.5 2.5"}),(0,s.jsx)("path",{d:"m18 13.5 1.15 2.85L22 17.5l-2.85 1.15L18 21.5l-1.15-2.85L14 17.5l2.85-1.15z"})]})),f=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"3"}),(0,s.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.6"}),(0,s.jsx)("path",{d:"m21 15-4.5-4.5L7 20"})]})),v=r((0,s.jsx)("path",{d:"m12 3 2.5 6L21 9l-5 4 1.5 7L12 16l-5.5 4L8 13 3 9l6.5 0z"})),y=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M12 2a10 10 0 0 0 0 20c1.4 0 2-.8 2-1.8 0-.5-.2-.9-.5-1.2-.3-.4-.5-.8-.5-1.3 0-1 .8-1.7 1.8-1.7H17a5 5 0 0 0 5-5c0-4.4-4.5-9-10-9z"}),(0,s.jsx)("circle",{cx:"7.5",cy:"11.5",r:"1.1"}),(0,s.jsx)("circle",{cx:"11",cy:"7.5",r:"1.1"}),(0,s.jsx)("circle",{cx:"16",cy:"8.5",r:"1.1"})]})),b=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M3 8V5a2 2 0 0 1 2-2h3M16 3h3a2 2 0 0 1 2 2v3M21 16v3a2 2 0 0 1-2 2h-3M8 21H5a2 2 0 0 1-2-2v-3"}),(0,s.jsx)("path",{d:"M12 8v8M8 12h8"})]})),j=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M21 11.5a8.4 8.4 
50 0 1-1.2 4.4A8.5 8.5 0 0 1 12.5 20 8.5 8.5 0 0 1 8 18.9L3 20l1.1-5A8.5 8.5 0 0 1 12.5 3a8.5 8.5 0 0 1 6 2.5"}),(0,s.jsx)("path",{d:"m18.5 3.5 2 2-4.5 4.5-2.2.5.5-2.2z"})]})),k=r((0,s.jsx)("path",{d:"M16 3 12 5 8 3 3 6l2.5 3.5L8 8v13h8V8l2.5 1.5L21 6z"})),N=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M6 3h12l3 5-9 13L3 8z"}),(0,s.jsx)("path",{d:"M3 8h18M9 3 7.5 8 12 21 16.5 8 15 3"})]})),w=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M5 8h14l1 12H4z"}),(0,s.jsx)("path",{d:"M8 8V6a4 4 0 0 1 8 0v2"})]})),M=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("rect",{x:"9",y:"8",width:"6",height:"13",rx:"2"}),(0,s.jsx)("path",{d:"M10 8V5h4v3M10 3h4"})]})),C=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M2 16h11l6-1.5c1.2-.3 3 .2 3 1.5v2H2z"}),(0,s.jsx)("path",{d:"M2 16v-4l5 .8 2.5 2"})]})),K=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M4 11V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3"}),(0,s.jsx)("path",{d:"M3 11a2 2 0 0 1 2 2v3h14v-3a2 2 0 0 1 2-2"}),(0,s.jsx)("path",{d:"M6 19v1M18 19v1"})]})),E=r((0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"3"}),(0,s.jsx)("circle",{cx:"8.5",cy:"8.5",r:"1.6"}),(0,s.jsx)("path",{d:"m21 15-4.5-4.5L7 20"})]}));e.s(["NavAiArtGeneratorIcon",0,y,"NavAiBackgroundGeneratorIcon",0,v,"NavAiImageGeneratorIcon",0,f,"NavBackgroundRemoverIcon",0,n,"NavBagsAccessoriesIcon",0,w,"NavBlurBackgroundIcon",0,l,"NavClothingIcon",0,k,"NavCosmeticsBeautyIcon",0,M,"NavEditWithPromptIcon",0,j,"NavFootwearIcon",0,C,"NavGenerativeFillIcon",0,b,"NavHomeDecorIcon",0,K,"NavImageDenoiserIcon",0,x,"NavImageEnhancerIcon",0,u,"NavImageSharpenerIcon",0,g,"NavImageUpscalerIcon",0,m,"NavJewelryIcon",0,N,"NavMagicEraserIcon",0,d,"NavPhotoRestorationIcon",0,p,"NavRemovePersonIcon",0,c,"NavTransparentBackgroundIcon",0,o,"NavUnblurImageIcon",0,h,"NavWhiteBackgroundIcon",0,i,"NavWorkflowThumbIcon",0,E],342512);let _={industriesMenu:!1,editWithPrompt:!1},S=[[{titleKey:"nav-section-background",items:[{nameKey:"background-remover",descKey:"nav-desc-background-remover",href:t.routeNames.bgRemover,icon:n,tag:{type:"hot",expiresAt:"2026-12-31"},testid:"background-remover-link"},{nameKey:"white-background",descKey:"nav-desc-white-background",href:t.routeNames.whiteBackground,icon:i,tag:{type:"hot",expiresAt:"2026-08-25"},testid:"white-background-link"},{nameKey:"transparent-background",descKey:"nav-desc-transparent-background",href:t.routeNames.transparentBackground,icon:o,testid:"transparent-background-link"},{nameKey:"blur-background",descKey:"nav-desc-blur-background",href:t.routeNames.blurBackground,icon:l,testid:"blur-background-link"}]},{titleKey:"nav-section-clean-up",items:[{nameKey:"magic-eraser",descKey:"nav-desc-magic-eraser",href:t.routeNames.magicEraser,icon:d,testid:"magic-eraser-link"},{nameKey:"remove-person",descKey:"nav-desc-remove-person",href:t.routeNames.removePerson,icon:c,testid:"remove-person-from-photo-link"}]}],[{titleKey:"nav-section-enhance-sharpen",items:[{nameKey:"image-enhancer",descKey:"nav-desc-image-enhancer",href:t.routeNames.imageEnhancer,icon:u,testid:"image-enhancer-link"},{nameKey:"image-upscaler",descKey:"nav-desc-image-upscaler",href:t.routeNames.imageUpscaler,icon:m,testid:"image-upscaler-link"},{nameKey:"image-sharpner",descKey:"nav-desc-image-sharpener",href:t.routeNames.imageSharpener,icon:g,testid:"image-sharpner-link"},{nameKey:"unblur-image",descKey:"nav-desc-unblur-image",href:t.routeNames.unblurImage,icon:h,testid:"unblur-image-link"},{nameKey:"image-denoiser",descKey:"nav-desc-image-denoiser",href:t.routeNames.imageDenoiser,icon:x,testid:"image-denoiser-link"},{nameKey:"photo-restoration",descKey:"nav-desc-photo-restoration",href:t.routeNames.photoRestoration,icon:p,testid:"photo-restoration-link"}]}],[{titleKey:"nav-section-ai-generation",items:[{nameKey:"ai-image-generator",descKey:"nav-desc-ai-image-generator",href:t.routeNames.imageGenerator,icon:f,testid:"ai-image-generator-link"},{nameKey:"ai-background-generator",descKey:"nav-desc-ai-background-generator",href:t.routeNames.backgroundGenerator,icon:v,tag:{type:"hot",expiresAt:"2026-12-31"},testid:"ai-background-generator-link"},{nameKey:"ai-art-generator",descKey:"nav-desc-ai-art-generator",href:t.routeNames.aiArtGenerator,icon:y,testid:"ai-art-generator-link"},{nameKey:"generative-fill",descKey:"nav-desc-generative-fill",href:t.routeNames.generativeFill,
5icon:b,tag:{type:"new",expiresAt:"2026-12-31"},testid:"generative-fill-link"},{nameKey:"nav-edit-with-prompt",descKey:"nav-desc-edit-with-prompt",href:t.routeNames.aiEditEditor,icon:j,tag:{type:"new",expiresAt:"2026-12-31"},testid:"edit-with-prompt-link",hidden:!_.editWithPrompt}]}]],z=[{id:"clothing",nameKey:"nav-industry-clothing",descKey:"nav-industry-clothing-desc",icon:k,href:""},{id:"jewelry",nameKey:"nav-industry-jewelry",descKey:"nav-industry-jewelry-desc",icon:N,href:""},{id:"bags-accessories",nameKey:"nav-industry-bags-accessories",descKey:"nav-industry-bags-accessories-desc",icon:w,href:""},{id:"cosmetics-beauty",nameKey:"nav-industry-cosmetics-beauty",descKey:"nav-industry-cosmetics-beauty-desc",icon:M,href:""},{id:"footwear",nameKey:"nav-industry-footwear",descKey:"nav-industry-footwear-desc",icon:C,href:""},{id:"home-decor",nameKey:"nav-industry-home-decor",descKey:"nav-industry-home-decor-desc",icon:K,href:""}];e.s(["getWorkflowsForCategory",0,e=>a.workflowsConfig.workflows.filter(t=>t.category_id===e&&t.is_active).sort((e,t)=>e.order_index-t.order_index),"industriesMenu",0,z,"navFeatureFlags",0,_,"seeAllCategoriesHref",0,"","seeAllToolsHref",0,"/create/ai-tools","toolsMenuColumns",0,S],999014);var I=e.i(271645),F=e.i(520133);let T=["tools","industries"];function L(){let[e,t]=(0,I.useState)(null),a=(0,I.useRef)(null),s=(0,I.useRef)({}),r=(0,F.usePathname)(),n=(0,I.useMemo)(()=>T.reduce((e,t)=>(e[t]=e=>{s.current[t]=e},e),{}),[]),i=(0,I.useCallback)(()=>t(null),[]),o=(0,I.useCallback)(e=>t(e),[]),l=(0,I.useCallback)(t=>{e===t?i():o(t)},[e,i,o]),d=(0,I.useCallback)(()=>{let t=e?s.current[e]:null;i(),t?.focus()},[e,i]);return(0,I.useEffect)(()=>{i()},[r,i]),(0,I.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&d()},r=e=>{let t=e.target;a.current?.contains(t)||T.some(e=>s.current[e]?.contains(t))||i()};return document.addEventListener("keydown",t),document.addEventListener("pointerdown",r),()=>{document.removeEventListener("keydown",t),document.removeEventListener("pointerdown",r)}},[e,i,d]),{openMenu:e,open:o,toggle:l,close:i,panelRef:a,setTriggerRef:n}}e.s(["useMegaMenu",()=>L],616079)},563921,e=>{"use strict";let t=(0,e.i(475254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["default",()=>t])},108147,e=>{"use strict";var t=e.i(843476),a=e.i(271645),s=e.i(664659),r=e.i(492161),n=e.i(262812),i=e.i(520133),o=e.i(257498),l=e.i(549838),d=e.i(210259),c=e.i(170128);e.i(557833);var u=e.i(503727),m=e.i(230795),g=e.i(999014),h=e.i(616079),x=e.i(563921),x=x;function p({tag:e,className:s}){let[r,n]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{e&&n(Date.now()<Date.parse(e.expiresAt))},[e]),e&&r)?(0,t.jsx)("span",{className:(0,l.cn)("rounded-full px-1.75 py-0.5 text-[9.5px] leading-normal font-bold tracking-[0.05em] uppercase","hot"===e.type?"bg-pink-100 text-pink-500 dark:bg-pink-500/15 dark:text-pink-400":"bg-primary/10 text-primary dark:bg-primary/20 dark:text-blue-300",s),"data-testid":`nav-tag-${e.type}`,children:(0,t.jsx)(o.default,{keyName:"hot"===e.type?"nav-badge-hot":"nav-badge-new"})}):null}function f({item:e,onNavigate:a}){let s=(0,i.usePathname)().replace(/\/$/,"")===e.href,r=e.icon;return(0,t.jsxs)(n.default,{href:e.href,onClick:a,className:(0,l.cn)("group flex items-start gap-3 rounded-lg px-2.5 py-2.25 transition-colors",s?"bg-muted":"hover:bg-muted"),"aria-current":s?"page":void 0,"data-testid":e.testid,children:[(0,t.jsx)("span",{className:"bg-muted text-foreground group-hover:bg-grayscale-300 grid size-9 flex-none place-items-center rounded-[10px] transition-colors dark:bg-gray-700 dark:group-hover:bg-gray-600",children:(0,t.jsx)(r,{className:"size-4.5 stroke-[1.6]"})}),(0,t.jsxs)("span",{className:"min-w-0 pt-px",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-foreground text-sm leading-tight font-medium tracking-[-0.005em]",children:(0,t.jsx)(o.default,{keyName:e.nameKey})}),(0,t.jsx)(p,{tag:e.tag})]}),(0,t.jsx)("span",{className:"text-muted-foreground mt-0.5 block truncate text-xs leading-snug",children:(0,t.jsx)(o.default,{keyName:e.descKey})})]})]})}function v({onNavigate:e}){return(0,t.jsxs)("div",{className:"w-full px-6 pt-5.5 pb-4.5",children:[(0,t.jsxs)("div",{className:"border-border mb-3.5 flex items-center justify-between border-b px-1 pb-4",children:[(0,t.jsx)("span",{className:"text-muted-foreground text-base font-semibold",children:(0,t.jsx)(o.default,{keyName:"nav-all-tools"})}),(0,t.jsxs)(n.default,{href:g.seeAllToolsHref,onClick:e,className:"text-primary hover:bg-primary/10 group flex items-center gap-1.25 rounded-lg px-2.5 py-1.5 text-sm font-medium transition-colors","data-testid":"see-all-tools-link",children:[(0,t.jsx)(o.default,{keyName:"nav-see-all-tools"}),(0,t.jsx)(x.default,{className:"size-3.25 stroke-[2.2] transition-transform group-hover:translate-x-[3px]"})]})]}),(0,t.jsx)("div",{className:"grid grid-cols-3 gap-x-6.5 gap-y-1",children:g.toolsMenuColumns.map((a,s)=>(0,t.jsx)("div",{className:(0,l.cn)("relative flex flex-col",s>0&&"before:bg-border before:absolute before:top-0.5 before:bottom-1.5 before:-left-3.25 before:w-px before:content-['']"),children:a.map((a,s)=>(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("div",{className:(0,l.cn)("text-muted-foreground px-2 pt-1.5 pb-3 text-sm font-semibold",s>0&&"mt-2"),children:(0,t.jsx)(o.default,{keyName:a.titleKey})}),a.items.filter(e=>!e.hidden).map(a=>(0,t.jsx)(f,{item:a,onNavigate:e},a.nameKey))]},a.titleKey))},s))})]})}var x=x,y=e.i(463059),b=e.i(342512);function j({onNavigate:e}){let[s,r]=(0,a.useState)(g.industriesMenu[0].id),i=g.industriesMenu.find(e=>e.id===s)??g.industriesMenu[0],d=(0,g.getWorkflowsForCategory)(i.id),c="text-primary hover:bg-primary/10 group flex items-center gap-1.25 rounded-lg px-2.5 py-1.5 text-sm font-medium transition-colors";return(0,t.jsxs)("div",{className:"flex w-full flex-col",children:[(0,t.jsxs)("div",{className:"border-border flex items-center justify-between border-b px-6 py-4.5",children:[(0,t.jsx)("span",{className:"text-muted-foreground text-base font-semibold",children:(0,t.jsx)(o.default,{keyName:"nav-all-categories"})}),g.seeAllCategoriesHref?(0,t.jsxs)(n.default,{href:g.seeAllCategoriesHref,onClick:e,className:c,"data-testid":"see-all-categories-link",children:[(0,t.jsx)(o.default,{keyName:"nav-see-all-categories"}),(0,t.jsx)(x.default,{className:"size-3.25 stroke-[2.2] transition-transform group-hover:translate-x-[3px]"})]}):(0,t.jsxs)("span",{className:(0,l.cn)(c,"cursor-default"),"data-testid":"see-all-categories-link",children:[(0,t.jsx)(o.default,{keyName:"nav-see-all-categories"}),(0,t.jsx)(x.default,{className:"size-3.25 stroke-[2.2]"})]})]}),(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)("div",{className:"border-border flex w-65 flex-none flex-col border-r px-3 py-3.5",children:g.industriesMenu.map(e=>{let a=e.icon,n=e.id===s;return(0,t.jsxs)("button",{type:"button",onMouseEnter:()=>r(e.id),onClick:()=>r(e.id),className:(0,l.cn)("group flex w-full cursor-pointer items-center gap-2.75 rounded-lg px-2.5 py-2.25 text-left transition-colors",n?"bg-muted":"hover:bg-muted"),"data-testid":`industry-${e.id}-button`,children:[(0,t.jsx)("span",{className:(0,l.cn)("bg-muted text-foreground grid size-8.5 flex-none place-items-center rounded-[10px] transition-colors dark:bg-gray-700",n&&"bg-grayscale-300 dark:bg-gray-600"),children:(0,t.jsx)(a,{className:"size-4.5 stroke-[1.6]"})}),(0,t.jsxs)("span",{className:"flex min-w-0 flex-col",children:[(0,t.jsx)("span",{className:"text-foreground text-sm font-medium tracking-[-0.005em]",children:(0,t.jsx)(o.default,{keyName:e.n
5ameKey})}),(0,t.jsx)("span",{className:"text-muted-foreground mt-px text-xs leading-tight",children:(0,t.jsx)(o.default,{keyName:e.descKey})})]}),(0,t.jsx)(y.ChevronRight,{className:(0,l.cn)("text-muted-foreground ml-auto size-4 flex-none stroke-[2.2] opacity-0 transition-opacity group-hover:opacity-100",n&&"opacity-100")})]},e.id)})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1 px-4.5 pt-4 pb-4.5",children:[(0,t.jsxs)("div",{className:"border-border mb-1.5 flex items-baseline gap-2 border-b px-1.5 pt-0.5 pb-3",children:[(0,t.jsx)("span",{className:"text-foreground text-sm font-semibold tracking-[-0.01em]",children:(0,t.jsx)(o.default,{keyName:i.nameKey})}),(0,t.jsx)("span",{className:"text-muted-foreground text-xs",children:(0,t.jsx)(o.default,{keyName:"nav-templates-count",values:{count:d.length}})})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 gap-x-2 gap-y-0.5",children:d.map(a=>{let s=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"bg-muted text-foreground group-hover:bg-grayscale-300 grid size-8.5 flex-none place-items-center rounded-[9px] transition-colors dark:bg-gray-700 dark:group-hover:bg-gray-600",children:(0,t.jsx)(b.NavWorkflowThumbIcon,{className:"size-4.25 stroke-[1.6]"})}),(0,t.jsx)("span",{className:"text-foreground text-sm leading-tight tracking-[-0.005em]",children:(0,t.jsx)(o.default,{keyName:a.display_name_key})})]}),r="group flex items-center gap-2.75 rounded-lg px-2.5 py-2 transition-colors hover:bg-muted";return a.landing_page_url&&"#"!==a.landing_page_url?(0,t.jsx)(n.default,{href:a.landing_page_url,onClick:e,className:r,"data-testid":`workflow-${a.workflow_key}-link`,children:s},a.workflow_key):(0,t.jsx)("span",{className:(0,l.cn)(r,"cursor-default"),"data-testid":`workflow-${a.workflow_key}-link`,children:s},a.workflow_key)})})]})]})]})}var k=e.i(174080),N=e.i(37727);function w({open:e,onClose:r,onEditorClick:c}){let[m,h]=(0,a.useState)(null),[x,f]=(0,a.useState)(!1),v=(0,i.usePathname)(),y=e=>h(t=>t===e?null:e);(0,a.useEffect)(()=>{f(!0)},[]),(0,a.useEffect)(()=>{r()},[v]),(0,a.useEffect)(()=>(document.body.style.overflow=e?"hidden":"",()=>{document.body.style.overflow=""}),[e]),(0,a.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&r()};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[e,r]);let b="text-foreground hover:bg-muted flex w-full cursor-pointer items-center justify-between rounded-[10px] px-3.5 py-3.5 text-base font-medium transition-colors";return x?(0,k.createPortal)((0,t.jsxs)("div",{className:(0,l.cn)("nav:hidden fixed inset-0 z-200",e?"visible":"invisible"),"aria-hidden":!e,"data-testid":"mobile-nav-drawer",children:[(0,t.jsx)("div",{className:(0,l.cn)("absolute inset-0 bg-black/50 transition-opacity duration-200",e?"opacity-100":"opacity-0"),onClick:r}),(0,t.jsxs)("div",{role:"dialog","aria-modal":"true",className:(0,l.cn)("absolute top-0 right-0 flex h-full w-full flex-col bg-white shadow-xl transition-transform duration-300 ease-out dark:bg-gray-800",e?"translate-x-0":"translate-x-full"),children:[(0,t.jsxs)("div",{className:"border-border flex items-center justify-between border-b px-4.5 py-4",children:[(0,t.jsx)(n.default,{href:"/",onClick:r,"aria-label":"Go to homepage",children:(0,t.jsx)(d.LogoAdaptiveTheme,{"data-testid":"navbar-logo-mobile"})}),(0,t.jsx)("button",{type:"button","aria-label":"Close menu",onClick:r,className:"text-foreground hover:bg-muted grid size-10 cursor-pointer place-items-center rounded-[10px] transition-colors",children:(0,t.jsx)(N.X,{className:"size-5.5","data-testid":"nvavbar-x-icon"})})]}),(0,t.jsxs)("nav",{className:"flex-1 overflow-y-auto px-3 py-2.5",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>y("tools"),className:b,"aria-expanded":"tools"===m,"data-testid":"nav-tools-trigger-mobile",children:[(0,t.jsx)(o.default,{keyName:"tools"}),(0,t.jsx)(s.ChevronDown,{className:(0,l.cn)("size-3.25 stroke-[2.4] opacity-55 transition-transform","tools"===m&&"rotate-180 opacity-100")})]}),"tools"===m&&(0,t.jsx)("div",{className:"flex flex-col px-1.5 pt-0.5 pb-2.5",children:g.toolsMenuColumns.flat().map(e=>(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("div",{className:"text-muted-foreground px-3.5 pt-3 pb-1.5 text-xs font-bold tracking-[0.06em] uppercase",children:(0,t.jsx)(o.default,{keyName:e.titleKey})}),e.items.filter(e=>!e.hidden).map(e=>{let a=e.icon;return(0,t.jsxs)(n.default,{href:e.href,onClick:r,className:"hover:bg-muted flex items-start gap-3 rounded-[10px] px-3.5 py-2.25 transition-colors","data-testid":`${e.testid}-mobile`,children:[(0,t.jsx)("span",{className:"bg-muted text-foreground grid size-8.5 flex-none place-items-center rounded-[9px] dark:bg-gray-700",children:(0,t.jsx)(a,{className:"size-4.5 stroke-[1.8]"})}),(0,t.jsxs)("span",{className:"flex min-w-0 flex-col gap-0.5",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-foreground text-[15px] font-medium",children:(0,t.jsx)(o.default,{keyName:e.n
5ameKey})}),(0,t.jsx)(p,{tag:e.tag})]}),(0,t.jsx)("span",{className:"text-muted-foreground text-[12.5px] leading-[1.35]",children:(0,t.jsx)(o.default,{keyName:e.descKey})})]})]},e.nameKey)})]},e.titleKey))}),g.navFeatureFlags.industriesMenu&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{type:"button",onClick:()=>y("industries"),className:b,"aria-expanded":"industries"===m,"data-testid":"nav-industries-trigger-mobile",children:[(0,t.jsx)(o.default,{keyName:"industries"}),(0,t.jsx)(s.ChevronDown,{className:(0,l.cn)("size-3.25 stroke-[2.4] opacity-55 transition-transform","industries"===m&&"rotate-180 opacity-100")})]}),"industries"===m&&(0,t.jsx)("div",{className:"flex flex-col px-1.5 pt-0.5 pb-2.5",children:g.industriesMenu.map(e=>{let a=e.icon,s=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"bg-muted text-foreground grid size-8.5 flex-none place-items-center rounded-[9px] dark:bg-gray-700",children:(0,t.jsx)(a,{className:"size-4.5 stroke-[1.8]"})}),(0,t.jsxs)("span",{className:"flex min-w-0 flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"text-foreground text-[15px] font-medium",children:(0,t.jsx)(o.default,{keyName:e.nameKey})}),(0,t.jsx)("span",{className:"text-muted-foreground text-xs leading-snug",children:(0,t.jsx)(o.default,{keyName:e.descKey})})]})]}),i="hover:bg-muted flex items-start gap-3 rounded-[10px] px-3.5 py-2.25 transition-colors";return e.href?(0,t.jsx)(n.default,{href:e.href,onClick:r,className:i,"data-testid":`industry-${e.id}-link-mobile`,children:s},e.id):(0,t.jsx)("span",{className:(0,l.cn)(i,"cursor-default"),"data-testid":`industry-${e.id}-link-mobile`,children:s},e.id)})})]})]}),(0,t.jsx)("div",{className:"border-border border-t px-4.5 py-4",children:(0,t.jsx)(u.NavbarAuthButtons,{isMobile:!0})})]})]}),document.body):null}let M={tools:{width:940,anchor:150},industries:{width:680,anchor:210}};function C(){let e=(0,i.usePathname)(),{openMenu:x,open:p,toggle:f,close:y,panelRef:b,setTriggerRef:k}=(0,h.useMegaMenu)(),[N,C]=(0,a.useState)(!1),[K,E]=(0,a.useState)({width:0,left:14}),_=(0,a.useRef)(null),S=(0,a.useCallback)(e=>{let t=_.current?.clientWidth??924,{width:a,anchor:s}=M[e],r=Math.min(a,t-28),n=Math.max(14,Math.min(s,t-r-14));E({width:r,left:n})},[]),z=e=>{p(e),S(e)},I=e=>{x!==e&&S(e),f(e)};(0,a.useEffect)(()=>{if(!x)return;let e=()=>S(x);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[x,S]);let F=e=>(0,l.cn)("text-foreground flex cursor-pointer items-center gap-1.25 rounded-[9px] px-3.25 py-2 text-base transition-colors",x===e?"bg-muted":"hover:bg-muted");return(0,t.jsxs)("header",{className:"border-border fixed inset-x-0 top-0 z-50 border-b bg-white/80 pr-[var(--removed-body-scroll-bar-size,0px)] backdrop-blur-xl backdrop-saturate-150 dark:bg-gray-800/80",children:[(0,t.jsxs)("nav",{"aria-label":"Global",ref:_,className:"max-w-content relative mx-auto flex h-16 items-center gap-1.5 px-2.5",children:[(0,t.jsx)(n.default,{href:"/","aria-label":"Go to homepage",className:"mr-7",children:(0,t.jsx)(d.LogoAdaptiveTheme,{"data-testid":"navbar-logo"})}),(0,t.jsxs)("div",{className:"nav:flex hidden items-center gap-0.5",children:[(0,t.jsxs)("button",{type:"button",ref:k.tools,className:F("tools"),onMouseEnter:()=>z("tools"),onClick:()=>I("tools"),"aria-expanded":"tools"===x,"aria-controls":"tools-mega-menu","data-testid":"nav-tools-trigger",children:[(0,t.jsx)(o.default,{keyName:"tools"}),(0,t.jsx)(s.ChevronDown,{className:(0,l.cn)("size-3.25 stroke-[2.4] opacity-55 transition-transform","tools"===x&&"rotate-180 opacity-100")})]}),g.navFeatureFlags.industriesMenu&&(0,t.jsxs)("button",{type:"button",ref:k.industries,className:F("industries"),onMouseEnter:()=>z("industries"),onClick:()=>I("industries"),"aria-expanded":"industries"===x,"aria-controls":"industries-mega-menu","data-testid":"nav-industries-trigger",children:[(0,t.jsx)(o.default,{keyName:"industries"}),(0,t.jsx)(s.ChevronDown,{className:(0,l.cn)("size-3.25 stroke-[2.4] opacity-55 transition-transform","industries"===x&&"rotate-180 opacity-100")})]})]}),(0,t.jsxs)("div",{className:"nav:flex ml-auto hidden items-center gap-3",children:[(0,t.jsx)(c.ThemeToggle,{}),(0,t.jsx)(u.NavbarAuthButtons,{})]}),(0,t.jsxs)("div",{className:"nav:hidden ml-auto flex items-center gap-2",children:[(0,t.jsx)(c.ThemeToggle,{}),(0,t.jsx)("button",{type:"button","aria-label":"Menu",onClick:()=>C(!0),className:"text-foreground hover:bg-muted grid size-10 cursor-pointer place-items-center rounded-[9px] transition-colors",children:(0,t.jsx)(r.Menu,{className:"size-6","data-testid":"open-mobile-menu"})})]}),(0,t.jsxs)("div",{ref:b,className:(0,l.cn)("border-border bg-popover nav:block absolute top-[calc(100%+2px)] z-60 hidden overflow-hidden rounded-xl border shadow-xl","[transition:opacity_200ms_ease-out,transform_200ms_ease-out,width_340ms_ease-out,left_340ms_ease-out]",x?"pointer-events-auto translate-y-0 opacity-100":"pointer-events-none -translate-y-1.5 opacity-0"),style:{width:K.width||void 0,left:K.left},children:[(0,t.jsx)("div",{id:"tools-mega-menu",className:"tools"===x?"block":"hidden","data-testid":"tools-mega-menu",children:(0,t.jsx)(v,{onNavigate:y})}),g.navFeatureFlags.industriesMenu&&(0,t.jsx)("div",{id:"industries-mega-menu",className:"industries"===x?"block":"hidden","data-testid":"industries-mega-menu",children:(0,t.jsx)(j,{onNavigate:y})})]})]}),(0,t.jsx)(w,{open:N,onClose:()=>C(!1),onEditorClick:()=>{"/"===e?m.GoogleAnalytics.trackEvent("landing_page_create",{source:"navbar"}):m.GoogleAnalytics.trackEvent("toolpage_create",{tool_name:e})}})]})}e.s(["default",()=>C],108147)}]);

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.