PageSourceSearch

https://www.seedance2.art/_next/static/chunks/app/%5Blocale%5D/layout-0caa27435d32b6fd.js

js seedance2.art collected 2026-10-06 11:19:34 UTC 25,490 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8450],{15356:(e,t,s)=>{"use strict";s.d(t,{u:()=>r});var a=s(37631);function r(){let[e,t]=(0,a.useState)(null),[s,r]=(0,a.useState)({necessary:!0,analytics:!1,marketing:!1});(0,a.useEffect)(()=>{{let e=localStorage.getItem("cookie-consent");if(e)try{let s=JSON.parse(e);r(s),t(!0)}catch(e){console.error("Error parsing cookie consent:",e),t(!1)}else t(!1)}},[]);let n=(0,a.useCallback)(e=>{r(e),localStorage.setItem("cookie-consent",JSON.stringify(e)),localStorage.setItem("cookie-consent-timestamp",new Date().toISOString()),t(!0)},[]),i=(0,a.useCallback)(()=>{n({necessary:!0,analytics:!0,marketing:!0})},[n]),l=(0,a.useCallback)(()=>{n({necessary:!0,analytics:!1,marketing:!1})},[n]);return{hasConsent:e,preferences:s,acceptAll:i,declineAll:l,updatePreferences:n,resetConsent:(0,a.useCallback)(()=>{localStorage.removeItem("cookie-consent"),localStorage.removeItem("cookie-consent-timestamp"),t(!1),r({necessary:!0,analytics:!1,marketing:!1})},[]),isConsentValid:(0,a.useCallback)(()=>{let e=localStorage.getItem("cookie-consent-timestamp");if(!e)return!1;let t=new Date(e);return(new Date().getTime()-t.getTime())/864e5<365},[]),canUseAnalytics:s.analytics,canUseMarketing:s.marketing}}},24070:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,67998,23)),Promise.resolve().then(s.bind(s,28387)),Promise.resolve().then(s.bind(s,61409)),Promise.resolve().then(s.bind(s,67556)),Promise.resolve().then(s.bind(s,67527)),Promise.resolve().then(s.bind(s,40301)),Promise.resolve().then(s.t.bind(s,97149,23)),Promise.resolve().then(s.t.bind(s,93505,23)),Promise.resolve().then(s.bind(s,77194))},26711:(e,t,s)=>{"use strict";s.d(t,{al:()=>r});var a=s(37631);function r(){let[e,t]=a.useState(void 0);return a.useEffect(()=>{let e=window.matchMedia("(max-width: ".concat(767,"px)")),s=()=>{t(window.innerWidth<768)};return e.addEventListener("change",s),t(window.innerWidth<768),()=>e.removeEventListener("change",s)},[]),!!e}},28387:(e,t,s)=>{"use strict";s.d(t,{NextAuthSessionProvider:()=>n});var a=s(24535),r=s(65324);function n(e){let{children:t}=e;return(0,a.jsx)(r.CP,{children:t})}},61409:(e,t,s)=>{"use strict";s.d(t,{default:()=>v});var a=s(24535),r=s(37631),n=s(55960),i=s(58177),l=s(80114),o=s(84655);function c(e){let{onAcceptAnalytics:t,onDeclineAnalytics:s}=e,c=(0,o.c3)("cookie"),[d,m]=(0,r.useState)(!1),[g,u]=(0,r.useState)({necessary:!0,analytics:!1,marketing:!1});(0,r.useEffect)(()=>{let e=localStorage.getItem("cookie-consent");if(e){let s=JSON.parse(e);u(s),s.analytics&&t()}},[t]);let x=()=>{localStorage.setItem("cookie-consent",JSON.stringify(g)),localStorage.setItem("cookie-consent-timestamp",new Date().toISOString()),g.analytics?t():s(),m(!1)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"fixed inset-x-0 bottom-4 z-[9998] px-3 md:px-4",children:(0,a.jsx)("div",{className:"bg-white rounded-lg shadow-xl border border-gray-200 max-w-sm mx-auto md:ml-auto md:mr-0 p-3 md:p-4",children:(0,a.jsx)("div",{className:"flex items-start gap-3",children:(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("h3",{className:"text-gray-900 font-medium text-sm mb-1",children:c("banner.title")}),(0,a.jsxs)("p",{className:"text-gray-600 text-xs leading-relaxed mb-3",children:[c("banner.description").replace("{privacyLink}","")," ",(0,a.jsx)("a",{href:"/privacy-policy",className:"text-blue-600 hover:text-blue-500 underline",target:"_blank",rel:"noopener noreferrer",children:c("banner.privacy_link")})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>{let e={necessary:!0,analytics:!0,marketing:!0};localStorage.setItem("cookie-consent",JSON.stringify(e)),localStorage.setItem("cookie-consent-timestamp",new Date().toISOString()),u(e),t()},className:"flex-1 bg-green-600 hover:bg-green-700 text-white text-xs px-3 py-2 rounded-md font-medium transition-colors",children:c("banner.accept_all")}),(0,a.jsx)("button",{onClick:()=>{let e={necessary:!0,analytics:!1,marketing:!1};localStorage.setItem("cookie-consent",JSON.stringify(e)),localStorage.setItem("cookie-consent-timestamp",new Date().toISOString()),u(e),s()},className:"flex-1 bg-gray-100 hover:bg-gray-200 text-gray-700 text-xs px-3 py-2 rounded-md font-medium transition-colors",children:c("banner.reject_all")})]}),(0,a.jsxs)("button",{onClick:()=>m(!0),className:"flex items-center justify-center gap-1 text-gray-500 hover:text-gray-700 text-xs py-1 transition-colors",children:[(0,a.jsx)(l.A,{className:"h-3 w-3"}),c("banner.settings")]})]})]})})})}),d&&(0,a.jsx)(()=>(0,a.jsx)("div",{className:"fixed inset-0 bg-black/50 z-[9999] flex items-center justify-center p-4",children:(0,a.jsx)("div",{className:"bg-white rounded-lg max-w-2xl w-full max-h-[80vh] overflow-y-auto",children:(0,a.jsxs)("div",{className:"p-6",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center mb-4",children:[(0,a.jsx)("h2",{className:"text-xl font-semibold",children:c("settings.title")}),(0,a.jsx)(n.$,{variant:"ghost",size:"sm",onClick:()=>m(!1),children:(0,a.jsx)(i.A,{className:"h-4 w-4"})})]}),(0,a.jsx)("p",{className:"text-sm text-gray-600 mb-6",children:c("settings.description")}),(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-medium mb-2",children:c("settings.necessary.title")}),(0,a.jsx)("p",{className:"text-sm text-gray-600 mb-2",children:c("settings.necessary.description")}),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-sm",children:c("settings.necessary.purposes.0")}),(0,a.jsx)("span",{className:"text-sm text-green-600 font-medium",children:c("settings.necessary.al
1ways_enabled")})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-medium mb-2",children:c("settings.analytics.title")}),(0,a.jsx)("p",{className:"text-sm text-gray-600 mb-2",children:c("settings.analytics.description")}),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-sm",children:"Google Analytics, Microsoft Clarity, Plausible"}),(0,a.jsxs)("label",{className:"relative inline-flex items-center cursor-pointer",children:[(0,a.jsx)("input",{type:"checkbox",checked:g.analytics,onChange:e=>u({...g,analytics:e.target.checked}),className:"sr-only peer"}),(0,a.jsx)("div",{className:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"})]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-medium mb-2",children:c("settings.marketing.title")}),(0,a.jsx)("p",{className:"text-sm text-gray-600 mb-2",children:c("settings.marketing.description")}),(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-sm",children:c("settings.marketing.purposes.0")}),(0,a.jsxs)("label",{className:"relative inline-flex items-center cursor-pointer",children:[(0,a.jsx)("input",{type:"checkbox",checked:g.marketing,onChange:e=>u({...g,marketing:e.target.checked}),className:"sr-only peer"}),(0,a.jsx)("div",{className:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"})]})]})]})]}),(0,a.jsxs)("div",{className:"flex gap-3 mt-6",children:[(0,a.jsx)(n.$,{onClick:x,className:"flex-1",children:c("settings.save_settings")}),(0,a.jsx)(n.$,{variant:"outline",onClick:()=>m(!1),className:"flex-1",children:c("common.cancel")})]})]})})}),{})]})}var d=s(29600);let m=s(55036).env.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID||"G-DV14365PGP";function g(e){let{canUseAnalytics:t}=e,[s,n]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{t?t&&(window.gtag&&window.gtag("consent","update",{analytics_storage:"granted",ad_storage:"granted"}),window.clarity&&window.clarity("consent",!0)):(window.gtag&&window.gtag("consent","update",{analytics_storage:"denied",ad_storage:"denied"}),window.clarity&&window.clarity("consent",!1))},[t]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.default,{src:"https://www.googletagmanager.com/gtag/js?id=".concat(m),strategy:"afterInteractive",defer:!0}),(0,a.jsx)(d.default,{id:"ga-init",strategy:"afterInteractive",children:"\n          window.dataLayer = window.dataLayer || [];\n          function gtag(){dataLayer.push(arguments);} \n          gtag('js', new Date());\n          gtag('config', '".concat(m,"', {\n            page_title: document.title,\n            page_location: window.location.href,\n            anonymize_ip: true,\n            allow_google_signals: false,\n            allow_ad_personalization_signals: false\n          });\n          \n          // Set consent mode\n          gtag('consent', 'default', {\n            'analytics_storage': 'granted',\n            'ad_storage': 'denied',\n            'ad_user_data': 'denied',\n            'ad_personalization': 'denied'\n          });\n        ")}),(0,a.jsx)(d.default,{id:"clarity-init",strategy:"lazyOnload",children:'\n          (function(c,l,a,r,i,t,y){\n              c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};\n              t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;\n              y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);\n          })(window, document, "clarity", "script", "utiny0ev4w");\n          \n          // Enable consent mode for Clarity\n          window.clarity(\'consent\', true);\n        '}),(0,a.jsx)(d.default,{src:"https://plausible.io/js/script.file-downloads.hash.outbound-links.pageview-props.revenue.tagged-events.js","data-domain":"seedance2.art",strategy:"lazyOnload"}),(0,a.jsx)(d.default,{id:"plausible-init",strategy:"lazyOnload",children:"window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }"})]})}var u=s(72007),x=s(96017),h=s(1656);let f={zh:"zh","zh-CN":"zh","zh-TW":"zh","zh-HK":"zh",en:"en","en-US":"en","en-GB":"en",ja:"ja","ja-JP":"ja",ko:"ko","ko-KR":"ko",es:"es","es-ES":"es",fr:"fr","fr-FR":"fr",de:"de","de-DE":"de",pt:"pt","pt-BR":"pt",it:"it","it-IT":"it",ru:"ru","ru-RU":"ru",ar:"ar","ar-SA":"ar",hi:"hi","hi-IN":"hi"},p={zh:{title:"切换到中文?",description:"检测到您可能更习惯使用中文,是å
1¦åˆ‡æ¢åˆ°ä¸­æ–‡ç‰ˆæœ¬ï¼Ÿ",confirm:"是",cancel:"否"},en:{title:"Switch to English?",description:"We detected that you might prefer English. Would you like to switch to English?",confirm:"Yes",cancel:"No"},ja:{title:"日本語に切り替えますか?",description:"日本語を使用することをお勧めします。日本語版に切り替えますか?",confirm:"はい",cancel:"いいえ"},ko:{title:"한국어로 전환하시겠습니까?",description:"한국어 사용을 선호하실 것으로 감지되었습니다. 한국어 버전으로 전환하시겠습니까?",confirm:"예",cancel:"아니요"},es:{title:"\xbfCambiar a espa\xf1ol?",description:"Detectamos que podr\xedas preferir el espa\xf1ol. \xbfTe gustar\xeda cambiar al espa\xf1ol?",confirm:"S\xed",cancel:"No"},fr:{title:"Passer au fran\xe7ais ?",description:"Nous avons d\xe9tect\xe9 que vous pr\xe9f\xe9rez peut-\xeatre le fran\xe7ais. Souhaitez-vous passer au fran\xe7ais ?",confirm:"Oui",cancel:"Non"},de:{title:"Auf Deutsch wechseln?",description:"Wir haben erkannt, dass Sie m\xf6glicherweise Deutsch bevorzugen. M\xf6chten Sie zu Deutsch wechseln?",confirm:"Ja",cancel:"Nein"},pt:{title:"Mudar para portugu\xeas?",description:"Detectamos que voc\xea pode preferir portugu\xeas. Gostaria de mudar para portugu\xeas?",confirm:"Sim",cancel:"N\xe3o"},it:{title:"Passare all'italiano?",description:"Abbiamo rilevato che potresti preferire l'italiano. Vuoi passare all'italiano?",confirm:"S\xec",cancel:"No"},ru:{title:"Переключиться на русский?",description:"Мы обнаружили, что вы можете предпочитать русский язык. Хотите переключиться на русский?",confirm:"Да",cancel:"Нет"},ar:{title:"التبديل إلى العربية؟",description:"اكتشفنا أنك قد تفضل اللغة العربية. هل تريد التبديل إلى العربية؟",confirm:"نعم",cancel:"لا"},hi:{title:"हिंदी में स्विच करें?",description:"हमने पाया कि आप हिंदी पसंद कर सकते हैं। क्या आप हिंदी में स्विच करना चाहेंगे?",confirm:"हाँ",cancel:"नहीं"}},b="language-prompt-dismissed";function y(e){let{currentLocale:t}=e;if(x.IB.length<=1)return null;let[s,i]=(0,r.useState)(!1),[l,o]=(0,r.useState)(null),c=(0,u.rd)(),d=(0,u.a8)();if((0,r.useEffect)(()=>{if(document.cookie.split("; ").find(e=>e.startsWith("".concat(b,"="))))return;let e=navigator.language||navigator.userLanguage,s=f[e]||e.split("-")[0];s!==t&&x.IB.includes(s)&&p[s]&&(o(s),i(!0))},[t]),!l||!p[l])return null;let m=p[l];return(0,a.jsx)(h.lG,{open:s,onOpenChange:i,children:(0,a.jsxs)(h.Cf,{className:"sm:max-w-md fixed right-4 bottom-4 sm:right-6 sm:bottom-6 left-auto top-auto translate-x-0 translate-y-0 m-0 w-[calc(100%-2rem)] sm:w-full max-w-sm shadow-2xl border z-[12000]",children:[(0,a.jsxs)(h.c7,{children:[(0,a.jsx)(h.L3,{className:"text-xl font-bold",children:m.title}),(0,a.jsx)(h.rr,{className:"text-base pt-2",children:m.description})]}),(0,a.jsxs)(h.Es,{className:"flex gap-2 sm:gap-2",children:[(0,a.jsx)(n.$,{variant:"outline",onClick:()=>{i(!1);let e=new Date;e.setDate(e.getDate()+30),document.cookie="".concat(b,"=true; expires=").concat(e.toUTCString(),"; path=/")},className:"flex-1",children:m.cancel}),(0,a.jsx)(n.$,{onClick:()=>{if(l){i(!1);let e=new Date;e.setDate(e.getDate()+30),document.cookie="".concat(b,"=true; expires=").concat(e.toUTCString(),"; path=/"),c.push(d,{locale:l})}},className:"flex-1 bg-gradient-to-r from-green-500 to-green-500 hover:from-green-600 hover:to-green-600 text-black font-semibold",children:m.confirm})]})]})})}var j=s(15356),w=s(76331);function v(e){let{children:t,isEUUser:s}=e,{hasConsent:n,canUseAnalytics:i,acceptAll:l,declineAll:o}=(0,j.u)(),d=(0,w.Ym)();return(0,r.useEffect)(()=>{try{let e=new URL(window.location.href);if(document.cookie.includes("utm_params_first="))return;let t={};for(let s of["utm_source","utm_medium","utm_campaign","utm_term","utm_content"]){let a=e.searchParams.get(s);
1if(a){let e=a.trim(),r="utm_term"===s?500:255;e.length>r&&(e=e.slice(0,r)),e&&(t[s]=e)}}if(Object.keys(t).length>0){window.location.hostname;let e=new Date(Date.now()+7776e6).toUTCString(),s=JSON.stringify(t);document.cookie="utm_params_first=".concat(encodeURIComponent(s),"; Path=/; SameSite=Lax; Expires=").concat(e,";")}}catch(e){}},[]),(0,r.useEffect)(()=>{try{if(document.cookie.includes("device_info_first="))return;let e={};if("undefined"!=typeof navigator&&navigator.userAgent&&(e.user_agent=navigator.userAgent),window.screen&&(e.screen_width=window.screen.width,e.screen_height=window.screen.height),e.user_agent){let t=new Date(Date.now()+7776e6).toUTCString(),s=JSON.stringify(e);document.cookie="device_info_first=".concat(encodeURIComponent(s),"; Path=/; SameSite=Lax; Expires=").concat(t,";")}}catch(e){}},[]),(0,a.jsxs)(a.Fragment,{children:[t,(0,a.jsx)(y,{currentLocale:d}),(0,a.jsx)(g,{canUseAnalytics:i}),s&&!1===n&&(0,a.jsx)(c,{onAcceptAnalytics:()=>{l()},onDeclineAnalytics:()=>{o()}})]})}},67998:()=>{},72007:(e,t,s)=>{"use strict";s.d(t,{N_:()=>i,a8:()=>o,rd:()=>c});var a=s(96017),r=s(51254);let n=(0,s(72357).A)({locales:a.IB,defaultLocale:a.q,localePrefix:a.b,pathnames:a.u7,localeDetection:a.GB}),{Link:i,redirect:l,usePathname:o,useRouter:c}=(0,r.A)(n)},77194:(e,t,s)=>{"use strict";s.d(t,{ThemeProvider:()=>q});var a=s(24535),r=s(80641),n=s(55036);function i(){let e=n.env.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID||"G-DV14365PGP";return(0,a.jsx)(r.GoogleAnalytics,{gaId:e})}var l=s(32254),o=s(55036);function c(){let e=o.env.NEXT_PUBLIC_OPENPANEL_CLIENT_ID;return e?(0,a.jsx)(l.uS,{clientId:e,trackScreenViews:!0,trackAttributes:!0,trackOutgoingLinks:!0}):null}function d(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c,{}),(0,a.jsx)(i,{})]})}var m=s(32151),g=s(27093),u=s(37631),x=s(1656),h=s(64301),f=s(55960),p=s(34199),b=s(65324),y=s(67556),j=s(84655),w=s(4712),v=s(44927),N=s(11824),k=s(63960),_=s(11098),S=s(28031),C=s(1838),I=s(1239),D=s(94888),E=s(78528),A=s.n(E);function P(){let e=(0,j.c3)(),{showSignModal:t,setShowSignModal:s}=(0,y.U)(),r=(0,D.U)("(min-width: 768px)"),n=(0,a.jsxs)("div",{className:"flex flex-col items-center text-center gap-5 px-1",children:[(0,a.jsx)("div",{className:"h-12 w-12 rounded-full bg-primary/15 flex items-center justify-center ring-1 ring-primary/30",children:(0,a.jsx)(w.A,{className:"h-6 w-6 text-primary"})}),(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("h2",{className:"text-2xl md:text-3xl font-semibold",children:e("sign_modal.sign_in_title",{defaultMessage:"Welcome back"})}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:e("sign_modal.sign_in_description",{defaultMessage:"Sign in to unlock HD edits and pro tools."})})]}),(0,a.jsx)("div",{className:"w-full rounded-xl border border-primary/40 bg-gradient-to-r from-primary/15 via-purple-500/20 to-violet-500/15 px-4 py-3 text-sm text-primary-foreground shadow-sm",children:(0,a.jsxs)("div",{className:"flex items-center justify-center gap-2 text-primary font-medium",children:[(0,a.jsx)(w.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{children:e("sign_modal.bonus_banner",{defaultMessage:"Sign up now and get free credits"})})]})}),(0,a.jsx)(O,{}),(0,a.jsxs)("div",{className:"w-full rounded-2xl border border-border/60 bg-muted/30 p-4 text-left space-y-3",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold",children:e("sign_modal.features_title",{defaultMessage:"Why join Seedance 2.0?"})}),(0,a.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 text-sm",children:[(0,a.jsx)(z,{icon:(0,a.jsx)(v.A,{className:"h-4 w-4 text-primary"}),label:e("sign_modal.feature_ai_tools",{defaultMessage:"Pro AI editing tools"})}),(0,a.jsx)(z,{icon:(0,a.jsx)(N.A,{className:"h-4 w-4 text-primary"}),label:e("sign_modal.feature_quality",{defaultMessage:"4K/HD outputs"})}),(0,a.jsx)(z,{icon:(0,a.jsx)(k.A,{className:"h-4 w-4 text-primary"}),label:e("sign_modal.feature_speed",{defaultMessage:"2-5s fast renders"})}),(0,a.jsx)(z,{icon:(0,a.jsx)(_.A,{className:"h-4 w-4 text-primary"}),label:e("sign_modal.feature_secure",{defaultMessage:"Secure login, no card required"})}),(0,a.jsx)(z,{icon:(0,a.jsx)(S.A,{className:"h-4 w-4 text-primary"}),label:e("sign_modal.feature_download",{defaultMessage:"Instant downloads"})}),(0,a.jsx)(z,{icon:(0,a.jsx)(C.A,{className:"h-4 w-4 text-primary"}),label:e("sign_modal.feature_updates",{defaultMessage:"New models weekly"})})]})]}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:[e("sign_modal.disclaimer",{defaultMessage:"By continuing, you agree to our"})," ",(0,a.jsx)(A(),{href:"/terms-of-service",className:"text-primary underline",children:e("sign_modal.terms",{defaultMessage:"Terms"})})," ","&"," ",(0,a.jsx)(A(),{href:"/privacy-policy",className:"text-primary underline",children:e("sign_modal.privacy",{defaultMessage:"Privacy Policy"})})]})]});return r?(0,a.jsx)(x.lG,{open:t,onOpenChange:s,children:(0,a.jsxs)(x.Cf,{className:"w-[calc(100vw-32px)] max-w-[520px] rounded-3xl max-h-[90vh] overflow-y-auto border border-border/60 bg-gradient-to-b from-background to-background/90 p-6",children:[(0,a.jsxs)(x.c7,{className:"sr-only",children:[(0,a.jsx)(x.L3,{children:e("sign_modal.sign_in_title",{defaultMessage:"Sign in"})}),(0,a.jsx)(x.rr,{children:e("sign_modal.sign_in_description",{defaultMessage:"Sign in to continue"})})]}),n]})}):(0,a.jsx)(I._s,{open:t,onOpenChange:s,children:(0,a.jsxs)(I.zj,{
1className:"p-6 bg-gradient-to-b from-background to-background/90",children:[(0,a.jsx)("div",{className:"relative",children:(0,a.jsx)(I.cp,{className:"absolute right-0 top-0 rounded-full p-2 text-muted-foreground hover:bg-muted",children:"✕"})}),(0,a.jsx)("div",{className:"pt-4",children:n})]})})}function z(e){let{icon:t,label:s}=e;return(0,a.jsxs)("div",{className:"flex items-start gap-2",children:[(0,a.jsx)("div",{className:"h-8 w-8 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:t}),(0,a.jsx)("span",{className:"text-foreground/90",children:s})]})}function O(e){let{className:t}=e,s=(0,j.c3)();return(0,a.jsxs)("div",{className:(0,p.cn)("w-full space-y-3",t),children:[(0,a.jsxs)(f.$,{variant:"default",className:"w-full flex items-center justify-center gap-2 bg-primary hover:bg-primary/90 text-primary-foreground font-semibold py-3 rounded-xl",onClick:()=>{(0,b.Jv)("google")},children:[(0,a.jsx)(h.UKz,{className:"w-4 h-4"}),(0,a.jsx)("span",{children:s("sign_modal.google_sign_in",{defaultMessage:"Continue with Google"})})]}),!1]})}var L=s(56662),M=s(58177);function U(){let e=(0,j.c3)(),{showPricingModal:t,setShowPricingModal:s}=(0,y.U)();return(0,D.U)("(min-width: 768px)")?(0,a.jsx)(x.lG,{open:t,onOpenChange:s,modal:!0,children:(0,a.jsxs)(x.Cf,{className:"max-w-[95vw] lg:max-w-[90vw] xl:max-w-7xl max-h-[90vh] overflow-y-auto p-6 bg-background border-border !z-[9999]",children:[(0,a.jsx)(x.c7,{className:"mb-0 pb-0 relative z-[10000]",children:(0,a.jsx)(x.L3,{className:"text-center text-lg mb-2 text-foreground",children:e("upload.paywall_title")})}),(0,a.jsx)("div",{className:"pricing-modal-compact relative z-[10000]",children:(0,a.jsx)(L.default,{})})]})}):(0,a.jsx)(I._s,{open:t,onOpenChange:s,children:(0,a.jsxs)(I.zj,{className:"max-h-[95vh] bg-background border-border overflow-visible",children:[(0,a.jsx)("div",{className:"sticky top-0 z-[9999] w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/85 px-4 pt-3 pb-2 min-h-[56px]",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 min-w-0",children:[(0,a.jsx)("div",{className:"w-10 shrink-0","aria-hidden":!0}),(0,a.jsx)(I.gk,{className:"flex-1 min-w-0 text-base font-semibold text-foreground text-center leading-tight line-clamp-2 px-2",children:e("upload.paywall_title")}),(0,a.jsx)(I.cp,{asChild:!0,children:(0,a.jsx)("button",{className:"shrink-0 inline-flex h-10 w-10 items-center justify-center rounded-full bg-white dark:bg-gray-800 border-2 border-gray-300 dark:border-gray-600 text-gray-900 dark:text-gray-100 shadow-xl hover:bg-gray-100 dark:hover:bg-gray-700 transition-all hover:scale-105 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none","aria-label":e("sign_modal.close_title"),children:(0,a.jsx)(M.A,{className:"h-5 w-5"})})})]})}),(0,a.jsx)("div",{className:"px-4 overflow-y-auto max-h-[70vh] pb-4",children:(0,a.jsx)(L.default,{})}),(0,a.jsx)(I.tb,{className:"pt-4 border-t bg-background",children:(0,a.jsx)(I.cp,{asChild:!0,children:(0,a.jsx)(f.$,{variant:"outline",children:e("sign_modal.close_title")})})})]})})}var T=s(24587);let G=e=>{let{...t}=e,{theme:s="system"}=(0,g.D)();return(0,a.jsx)(T.l$,{theme:s,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...t})};var B=s(37776);function q(e){let{children:t,...s}=e,{theme:r,setTheme:n}=(0,y.U)();return(0,u.useEffect)(()=>{let e=(0,B.pr)(m.wD.Theme);if(e){if(["dark","light"].includes(e)){n(e);return}}else{let e="light";if(e&&["dark","light"].includes(e)){n(e);return}}let t=window.matchMedia("(prefers-color-scheme: dark)");n(t.matches?"dark":"light");let s=()=>{n(t.matches?"dark":"light")};return t.addListener(s),()=>{t.removeListener(s)}},[]),(0,a.jsxs)(g.N,{forcedTheme:r,...s,children:[t,(0,a.jsx)(G,{position:"top-center",richColors:!0}),(0,a.jsx)(P,{}),(0,a.jsx)(U,{}),(0,a.jsx)(d,{})]})}},96017:(e,t,s)=>{"use strict";s.d(t,{GB:()=>l,IB:()=>a,L$:()=>r,b:()=>i,q:()=>n,u7:()=>o});let a=["en","de","es","pt","zh","ar","fr","nl"],r={en:"English",de:"Deutsch",es:"Espa\xf1ol",pt:"Portugu\xeas",zh:"简体中文",ar:"العربية",fr:"Fran\xe7ais",nl:"Nederlands"},n="en",i="as-needed",l=!1,o={"/":"/","/blog":"/blog","/blog/[slug]":"/blog/[slug]","/pricing":"/pricing","/showcase":"/showcase","/my-images":"/my-images","/privacy-policy":"/privacy-policy","/terms-of-service":"/terms-of-service"}}},e=>{var t=t=>e(e.s=t);e.O(0,[6300,8951,4384,8185,8548,2371,6331,8528,2297,2453,5055,6724,2908,3937,2400,9865,4823,6662,3569,4180,7358],()=>t(24070)),_N_E=e.O()}]);

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.