1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,161925,e=>{"use strict";var t,a=e.i(820967);function l(){return(l=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),t||(t=a.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m3.5 8 3 3 6-6"})))}])},645624,e=>{"use strict";var t=e.i(21590),a=e.i(152440),l=e.i(715074),r=e.i(7284),n=e.i(604426),s=e.i(411129);e.s(["CustomLink",0,function({href:e,className:i,activeClassName:o="",disableI18n:c=!1,...d}){let{lang:u}=(0,l.useI18n)(),p=(0,s.usePathname)(),f=u===a.i18n.defaultLocale,x="";return x=e.startsWith("mailto:")||e.startsWith("http")||c||f?e:`/${u}${e}`,(0,t.jsx)(n.default,{href:x,className:(0,r.default)(i,(()=>{if(c)return p===e;let t=f?e:`/${u}${e}`;return"/"===e?f?"/"===p:p===`/${u}`:p.startsWith(t)})()&&o),...d})}])},492662,e=>{"use strict";var t,a,l,r=e.i(21590);e.i(132249);var n=e.i(14687),s=e.i(587939),i=e.i(820967);function o(){return(o=Object.assign.bind()).apply(null,arguments)}let c=function(e){return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),t||(t=i.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M13.976 8.512a4.667 4.667 0 0 1-6.49-6.49 6 6 0 1 0 6.49 6.49"})))};function d(){return(d=Object.assign.bind()).apply(null,arguments)}let u=function(e){return i.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),a||(a=i.createElement("g",{clipPath:"url(#icon-theme-light_svg__a)"},i.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M8 2v-.667m0 13.333V14m4.24-10.24.474-.474m-9.427 9.427.474-.473M14 8h.666M1.334 8h.667m10.24 4.24.473.473M3.287 3.286l.474.474m6.597 1.883a3.333 3.333 0 1 1-4.714 4.714 3.333 3.333 0 0 1 4.714-4.714"}))),l||(l=i.createElement("defs",null,i.createElement("clipPath",{id:"icon-theme-light_svg__a"},i.createElement("path",{fill:"#fff",d:"M0 0h16v16H0z"})))))};e.s(["default",0,function({className:e="",onChange:t}){let{theme:a,setTheme:l}=(0,n.useTheme)(),i=e=>{e!==a&&(l(e),t?.(e))};return(0,r.jsxs)("div",{className:(0,s.cn)("border-border-neutral-l3 hidden shrink-0 items-center gap-[2px] overflow-hidden rounded-full border p-[2px] md:flex",e),children:[(0,r.jsx)("button",{type:"button","data-track-id":"footer_theme_auto",onClick:()=>i("auto"),className:(0,s.cn)("flex h-[24px] w-fit items-center justify-center rounded-full px-1.5 transition-colors","auto"===a?"bg-bg-overlay-l2":"hover:bg-bg-overlay-l1 cursor-pointer"),"aria-label":"Auto theme",children:(0,r.jsx)("span",{className:(0,s.cn)("font-sans text-[12px] leading-none font-normal","auto"===a?"text-text-default":"text-text-tertiary"),children:"Auto"})}),(0,r.jsx)("button",{type:"button","data-track-id":"footer_theme_night",onClick:()=>i("dark"),className:(0,s.cn)("flex h-[24px] w-[24px] items-center justify-center rounded-full transition-colors","dark"===a?"bg-bg-overlay-l2":"hover:bg-bg-overlay-l1 cursor-pointer"),"aria-label":"Dark mode",children:(0,r.jsx)(c,{className:"dark"===a?"text-text-default":"text-text-tertiary"})}),(0,r.jsx)("button",{type:"button","data-track-id":"footer_theme_day",onClick:()=>i("light"),className:(0,s.cn)("flex h-[24px] w-[24px] items-center justify-center rounded-full transition-colors","light"===a?"bg-bg-overlay-l2":"hover:bg-bg-overlay-l1 cursor-pointer"),"aria-label":"Light mode",children:(0,r.jsx)(u,{className:"light"===a?"text-text-default":"text-text-tertiary"})})]})}],492662)},364335,e=>{"use strict";var t,a=e.i(21590),l=e.i(82033),r=e.i(715074),n=e.i(820967),s=e.i(181722),i=e.i(645624),o=e.i(492662),c=e.i(152440),d=e.i(161925);function u(){return(u=Object.assign.bind()).apply(null,arguments)}let p=function(e){return n.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),t||(t=n.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.2,d:"M2.666 4h5.333M5.333 4V2.667M8 9.334c-2.591-.648-3.924-2.24-4.303-5.082m-1.03 5.082c2.589-.648 3.921-2.239 4.301-5.078m2.698 7.078h3.333m-4.333 1.333 2.052-4.874a.667.667 0 0 1 1.23 0l2.051 4.874"})))};var f=e.i(784019);let x=(0,e.i(568256).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);var m=e.i(811674);let h=f.Root,g=f.Trigger;f.Group,f.Portal,f.Sub,f.RadioGroup,n.forwardRef(({className:e,inset:t,children:l,...r},n)=>(0,a.jsx)(f.SubTrigger,{ref:n,className:(0,m.cn)("focus:bg-bg-overlay-l2 data-[state=open]:bg-bg-overlay-l2 flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none",t&&"pl-8",e),...r,children:l})).displayName=f.SubTrigger.displayName,n.forwardRef(({className:e,...t},l)=>(0,a.jsx)(f.SubContent,{ref:l,className:(0,m.cn)("border-border-neutral-l1 bg-bg-base-secondary text-text-default data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 overflow-hidden rounded-md border p-1 shadow-lg",e),...t})).displayName=f.SubContent.displayName;let y=n.forwardRef(({className:e,sideOffset:t=4,...l},r)=>(0,a.jsx)(f.Portal,{children:(0,a.jsx)(f.Content,{ref:r,sideOffset:t,className:(0,m.cn)("border-border-neutral-l1 bg-bg-base-secondary text-text-default data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 overflow-hidden rounded-xl border p-1.5 shadow-[0px_4px_16px_0px_rgba(0,0,0,0.05)]",e),...l})}));y.displayName=f.Content.displayName;let b=n.forwardRef(({className:e,inset:t,...l},r)=>(0,a.jsx)(f.Item,{ref:r,className:(0,m.cn)("focus:bg-bg-overlay-l1 data-disabled:pointer-events-none data-disabled:opacity-50 relative flex cursor-pointer select-none items-center rounded-lg px-2 py-1.5 text-sm outline-none transition-colors duration-0",t&&"pl-8",e),...l}));b.displayName=f.Item.displayName,n.forwardRef(({className:e,children:t,checked:l,...r},n)=>(0,a.jsxs)(f.CheckboxItem,{ref:n,className:(0,m.cn)("focus:bg-bg-overlay-l2 data-disabled:pointer-events-none data-disabled:opacity-50 relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors",e),checked:l,...r,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(f.ItemIndicator,{children:(0,a.jsx)(x,{className:"h-4 w-4"})})}),t]})).displayName=f.CheckboxItem.displayName,n.forwardRef(({className:e,children:t,...l},r)=>(0,a.jsxs)(f.RadioItem,{ref:r,className:(0,m.cn)("focus:bg-bg-overlay-l2 data-disabled:pointer-events-none data-disabled:opacity-50 relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors",e),...l,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(f.ItemIndicator,{children:(0,a.jsx)(x,{className:"h-4 w-4"})})}),t]})).displayName=f.RadioItem.displayName,n.forwardRef(({className:e,inset:t,...l},r)=>(0,a.jsx)(f.Label,{ref:r,className:(0,m.cn)("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...l})).displayName=f.Label.displayName,n.forwardRef(({className:e,...t},l)=>(0,a.jsx)(f.Separator,{ref:l,className:(0,m.cn)("bg-border-neutral-l1 -mx-1 my-1 h-px",e),...t})).displayName=f.Separator.displayName;var v=e.i(957953),w=e.i(720530);function j({className:e,allLocales:t=!1}){let{lang:r,setLang:s}=(0,v.useLangStore)(e=>({lang:e.lang,setLang:e.setLang})),i=t?c.langArray:c.uiLangArray,o=(0,n.useMemo)(()=>i.find(e=>e.value===r),[r,i]);return l.isCN?null:(0,a.jsxs)(h,{children:[(0,a.jsx)(g,{asChild:!0,children:(0,a.jsxs)("button",{type:"button",className:(0,m.cn)("border-border-neutral-l3 text-text-default hover:bg-bg-overlay-l1 active:bg-bg-overlay-l2 data-[state=open]:bg-bg-overlay-l2 flex h-[30px] items-center gap-[4px] rounded-full border bg-transparent px-[12px] transition-colors",e),children:[(0,a.jsx)(p,{}),(0,a.jsx)("p",{className:"text-text-default px-[2px] font-sans text-[12px] leading-none whitespace-nowrap lg:text-[14px]",children:o?.label??"English"})]})}),(0,a.jsx)(y,{align:"end",sideOffset:8,className:"min-w-[160px]",children:i.map(e=>{let t=e.value===r;return(0,a.jsx)(b,{onClick:()=>{var t;(0,w.reportEvent)("lovart.lp.cta.click",{button_id:`footer_lang_${e.value}`,area:"footer"}),(t=e.value)!==r&&s(t)},className:(0,m.cn)("min-w-[160px]",t&&"bg-bg-overlay-l2 focus:bg-bg-overlay-l2!"),children:(0,a.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,a.jsx)("span",{children:e.label}),t&&(0,a.jsx)(d.default,{className:"ml-2 shrink-0"})]})},e.value)})})]})}function N(){let{t:e}=(0,r.useI18n)();return{company:[{label:e("refresh_footer_pricing"),href:"/pricing"},...l.isCN?[]:[{label:e("refresh_footer_changelog"),href:"/changelog"},{label:e("refresh_footer_docs"),href:"/docs"}
1],{label:e("refresh_footer_news"),href:"/news"},{label:e("refresh_footer_termsOfUse"),href:"/statement/terms-of-use"},{label:e("refresh_footer_privacyPolicy"),href:"/statement/privacy-policy"}],resources:[{label:e("refresh_header_explore"),href:"/explore"},{label:e("refresh_footer_blog"),href:"/blog"},{label:e("refresh_footer_tools"),href:"/tools"},{label:e("refresh_footer_features"),href:"/features"},{label:e("refresh_footer_solutions"),href:"/solutions"},{label:e("refresh_footer_topics"),href:"/topics"}],social:l.isCN?[{label:"å°çº¢ä¹¦",href:"https://xhslink.cn/m/948VUE8j6wq"},{label:"æé³",href:"https://v.douyin.com/-GAbPKkyusA/"},{label:"åå©åå©",href:"https://space.bilibili.com/3707046729878129"},{label:"ç¥ä¹",href:"https://www.zhihu.com/people/nzpcwda"},{label:"å¾®å",href:"https://weibo.com/u/8433520989"}]:[{label:"X",href:"https://twitter.com/lovart_ai"},{label:"YouTube",href:"https://www.youtube.com/@lovart_ai"},{label:"LinkedIn",href:"https://www.linkedin.com/company/lovart-ai"},{label:"Instagram",href:"https://www.instagram.com/lovart.ai"},{label:"TikTok",href:"https://www.tiktok.com/@lovart_ai"}]}}let k=({showSocialIcons:e=!0,allLocales:t=!1})=>{let{t:l}=(0,r.useI18n)();return(0,a.jsxs)("div",{className:"mt-auto flex flex-col gap-6 pb-6 lg:col-span-12 lg:grid lg:grid-cols-12 lg:items-center lg:gap-4",children:[(0,a.jsx)("div",{className:"flex flex-col gap-[12px] lg:col-span-5 lg:flex-row-reverse lg:items-center lg:justify-end lg:gap-[24px]",children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("p",{className:"text-text-tertiary shrink-0 font-sans text-[12px] leading-[16px] whitespace-nowrap lg:text-[14px]",children:l("refresh_footer_copyright")}),(0,a.jsxs)("div",{className:"ml-auto flex gap-2 lg:hidden",children:[(0,a.jsx)(o.default,{}),(0,a.jsx)(j,{allLocales:t})]})]})}),(0,a.jsxs)("div",{className:"hidden items-center gap-2 lg:col-start-7 lg:flex",children:[(0,a.jsx)(o.default,{}),(0,a.jsx)(j,{allLocales:t})]})]})};e.s(["BottomSection",0,k,"default",0,function({allLocales:e=!1}){let{t}=(0,r.useI18n)(),n=N();return(0,a.jsx)("footer",{className:"bg-bg-base-default relative mx-auto w-full max-w-[1400px] overflow-hidden",children:(0,a.jsxs)("div",{className:"mx-auto grid gap-x-4 gap-y-10 px-5 pt-[40px] md:px-[32px] lg:h-[480px] lg:grid-cols-12 lg:justify-between lg:px-[40px] lg:pt-[60px] xl:px-[60px]",children:[(0,a.jsx)("div",{className:"lg:col-start-1",children:(0,a.jsx)(s.default,{className:"text-special-invert h-6 w-fit"})}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-x-6 gap-y-10 md:grid-cols-3 md:gap-x-4 md:gap-y-0 lg:col-start-7 lg:col-end-13",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-[16px] lg:gap-[20px]",children:[(0,a.jsx)("p",{className:"text-text-tertiary font-mono text-[13px] leading-none tracking-[0.01em] uppercase opacity-80 lg:text-[15px]",children:t("refresh_footer_company")}),(0,a.jsx)("div",{className:"text-text-default flex flex-col gap-[10px] font-sans text-[15px] leading-none font-medium lg:gap-[12px] lg:text-[17px]",children:n.company.map(e=>(0,a.jsx)(i.CustomLink,{href:e.href,className:"cursor-pointer leading-normal transition-opacity hover:opacity-70",children:e.label},e.label))})]}),!l.isCN&&(0,a.jsxs)("div",{className:"flex flex-col gap-[16px] lg:gap-[20px]",children:[(0,a.jsx)("p",{className:"text-text-tertiary font-mono text-[13px] leading-none tracking-[0.01em] uppercase opacity-80 lg:text-[15px]",children:t("refresh_footer_resources")}),(0,a.jsx)("div",{className:"text-text-default flex flex-col gap-[10px] font-sans text-[15px] leading-none font-medium lg:gap-[12px] lg:text-[17px]",children:n.resources.map(e=>(0,a.jsx)(i.CustomLink,{href:e.href,className:"cursor-pointer leading-normal transition-opacity hover:opacity-70",children:e.label},e.label))})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-[16px] lg:gap-[20px]",children:[(0,a.jsx)("p",{className:"text-text-tertiary font-mono text-[13px] leading-none tracking-[0.01em] uppercase opacity-80 lg:text-[15px]",children:t("refresh_footer_social")}),(0,a.jsx)("div",{className:"text-text-default flex flex-col gap-[10px] font-sans text-[15px] leading-none font-medium lg:gap-[12px] lg:text-[17px]",children:n.social.map(e=>(0,a.jsx)(i.CustomLink,{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"cursor-pointer leading-normal transition-opacity hover:opacity-70",children:e.label},e.label))})]})]}),(0,a.jsx)(k,{allLocales:e})]})})},"useFooterLinks",0,N],364335)},129633,e=>{"use strict";var t=e.i(764187),a=e.i(694335),l=e.i(11426);
1let r=[{id:"designers",titleKey:"refresh_header_solutions_designers",descriptionKey:"refresh_header_solutions_designers_desc",href:"/designers",icon:t.default},{id:"marketers",titleKey:"refresh_header_solutions_marketers",descriptionKey:"refresh_header_solutions_marketers_desc",href:"/marketers",icon:l.default},{id:"business-owners",titleKey:"refresh_header_solutions_business_owners",descriptionKey:"refresh_header_solutions_business_owners_desc",href:"/business-owners",icon:a.default}];e.s(["ANIMATION_DURATION",0,{menuOpen:.4,menuClose:.3,submenu:.4},"NAV_HEIGHT",0,56,"SOLUTIONS_ITEMS",0,r,"getBgClass",0,e=>"transparent"===e?"bg-transparent":"secondary"===e?"bg-bg-base-secondary":"bg-bg-base-default"])},764187,694335,e=>{"use strict";var t,a,l=e.i(820967);function r(){return(r=Object.assign.bind()).apply(null,arguments)}function n(){return(n=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return l.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),t||(t=l.createElement("path",{fill:"currentColor",fillOpacity:.9,d:"M15.45 3c.828 0 1.494-.001 2.031.043.547.045 1.027.14 1.471.366a3.75 3.75 0 0 1 1.639 1.639c.226.444.321.924.366 1.47.044.538.043 1.204.043 2.032v6.9c0 .828.001 1.494-.043 2.031-.045.547-.14 1.027-.366 1.471a3.75 3.75 0 0 1-1.639 1.639c-.444.226-.924.321-1.47.366-.538.044-1.204.043-2.032.043h-6.9c-.828 0-1.494.001-2.031-.043-.547-.045-1.027-.14-1.471-.366a3.75 3.75 0 0 1-1.639-1.639c-.226-.444-.321-.924-.366-1.47C2.999 16.943 3 16.277 3 15.45v-6.9c0-.828-.001-1.494.043-2.031.045-.547.14-1.027.366-1.471a3.75 3.75 0 0 1 1.639-1.639c.444-.226.924-.321 1.47-.366C7.057 2.999 7.723 3 8.55 3zm-2.7 16.5h2.7c.852 0 1.447 0 1.91-.038.453-.037.714-.107.912-.207.423-.216.767-.56.983-.983.1-.198.17-.459.207-.913.038-.462.038-1.057.038-1.909V15h-6.75zm-8.25-9v4.95c0 .852 0 1.447.038 1.91.037.453.106.714.207.912.216.423.56.767.984.983.197.1.458.17.912.207.462.038 1.056.038 1.909.038h2.7v-9zm8.25 3h6.75V8.55c0-.853 0-1.447-.038-1.91-.037-.453-.107-.714-.207-.911a2.25 2.25 0 0 0-.983-.984c-.198-.1-.459-.17-.913-.207-.462-.038-1.057-.038-1.909-.038h-2.7zm-4.2-9c-.853 0-1.447 0-1.91.038-.453.037-.714.106-.911.207a2.25 2.25 0 0 0-.984.984c-.1.197-.17.458-.207.912C4.5 7.103 4.5 7.697 4.5 8.55V9h6.75V4.5z"})))}],764187),e.s(["default",0,function(e){return l.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),a||(a=l.createElement("path",{fill:"currentColor",fillOpacity:.9,d:"M18.202 3a3.75 3.75 0 0 1 3.62 2.77l.555 2.051a3.36 3.36 0 0 1-1.128 3.505v5.924a3.75 3.75 0 0 1-3.75 3.75h-10.5a3.75 3.75 0 0 1-3.75-3.75v-5.923A3.36 3.36 0 0 1 2.12 7.821l.555-2.05A3.75 3.75 0 0 1 6.296 3zm-1.321 7.904A3 3 0 0 1 14.564 12c-.936 0-1.758-.43-2.315-1.095A3 3 0 0 1 9.933 12c-.936 0-1.76-.43-2.317-1.096A3.19 3.19 0 0 1 4.75 11.97v5.281a2.25 2.25 0 0 0 2.25 2.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-5.281q-.213.03-.436.031a3.2 3.2 0 0 1-2.432-1.096M6.296 4.5a2.25 2.25 0 0 0-2.173 1.662l-.555 2.054v.003c-.325 1.18.535 2.281 1.616 2.281.95 0 1.684-.697 1.684-1.661v-.015a.75.75 0 0 1 1.5.009v.01c.002.944.73 1.657 1.565 1.657.837 0 1.566-.715 1.566-1.661v-.01a.75.75 0 0 1 1.5 0v.01c0 .946.729 1.66 1.565 1.661.837 0 1.566-.715 1.566-1.661v-.01a.75.75 0 0 1 1.5 0v.01c0 .964.733 1.66 1.683 1.661 1.082 0 1.941-1.1 1.617-2.281v-.003l-.555-2.054A2.25 2.25 0 0 0 18.202 4.5z"})))}],694335)},11426,e=>{"use strict";var t,a=e.i(820967);function l(){return(l=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),t||(t=a.createElement("path",{fill:"currentColor",fillOpacity:.9,d:"M20.5 11.75a2.25 2.25 0 0 0-2.25-2.25h-6.5a2.25 2.25 0 0 0-2.25 2.25v6.5a2.25 2.25 0 0 0 2.25 2.25h6.5a2.25 2.25 0 0 0 2.25-2.25zm-7.11.792a.75.75 0 0 1 .765.027l2.801 1.8a.75.75 0 0 1 0 1.262l-2.8 1.8A.75.75 0 0 1 13 16.8v-3.6a.75.75 0 0 1 .39-.658m-6.157-.818a2.25 2.25 0 0 0-2.48-.01l-1.235.809A2.25 2.25 0 0 0 5.75 14.5H8v-2.269q-.019-.01-.037-.021zM6.25 5a1.25 1.25 0 1 1 0 2.5 1.25 1.25 0 0 1 0-2.5m8.25.75a2.25 2.25 0 0 0-2.25-2.25h-6.5A2.25 2.25 0 0 0 3.5 5.75v4.991l.43-.282a3.75 3.75 0 0 1 4.135.017l.128.084A3.75 3.75 0 0 1 11.75 8h2.75zM16 8h2.25A3.75 3.75 0 0 1 22 11.75v6.5A3.75 3.75 0 0 1 18.25 22h-6.5A3.75 3.75 0 0 1 8 18.25V16H5.75A3.75 3.75 0 0 1 2 12.25v-6.5A3.75 3.75 0 0 1 5.75 2h6.5A3.75 3.75 0 0 1 16 5.75z"})))}])},70606,e=>{"use strict";var t,a=e.i(820967);function l(){return(l=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return a.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",viewBox:"0 0 24 24"},e),t||(t=a.createElement("path",{fill:"currentColor",d:"M19.325 3.646a.4.4 0 0 1 .566 0l.708.708a.4.4 0 0 1 0 .566l-7.203 7.202 7.203 7.202a.4.4 0 0 1 0 .567l-.708.707a.4.4 0 0 1-.566 0l-7.203-7.202-7.202 7.202a.4.4 0 0 1-.566 0l-.708-.707a.4.4 0 0 1 0-.567l7.203-7.202L3.646 4.92a.4.4 0 0 1 0-.566l.708-.708a.4.4 0 0 1 .566 0l7.202 7.203z"})))}])},184006,e=>{"use strict";var t=e.i(820967),a=e.i(308916),l=e.i(82033),r=e.i(153848),n=e.i(328247),s=e.i(607177),i=e.i(402093);r.default.extend(n.default);let o=[0,1,0,1,0,0,1],c=480*!!l.isCN,d=[s.PromotionKind.NewUser24h,s.PromotionKind.XlMigratedDiscount],u={days:0,hours:0,minutes:0,seconds:0};e.s(["usePaywallBanner",0,function(){let e,l=(0,a.useBanner)({bannerType:a.BannerTypeId.Paywall}),n=l.config?.extraInfo,[s,p]=(0,t.useState)(()=>Date.now()),f=(0,t.useMemo)(()=>
1{if(!n?.endTime)return 0;let e=r.default.utc(n.endTime).valueOf();if(s<e)return e;if(!n.cycleAfterEnd)return 0;let t=r.default.utc(s).utcOffset(c),a=o[t.day()];return t.startOf("day").add(a+1,"day").subtract(1,"millisecond").valueOf()},[n?.endTime,n?.cycleAfterEnd,s]),x=(0,i.useSkuState)("purchaseList"),m=(0,t.useMemo)(()=>{let e=x?.find(e=>d.includes(e.promotionAttrRes?.promotionKind))?.promotionAttrRes?.promotionEndAt;return e?Number(e)||new Date(e).getTime():null},[x]),h=m&&m>s?m:null,g=h??f;(0,t.useEffect)(()=>{if(!n?.endTime&&!h)return;let e=setInterval(()=>p(Date.now()),1e3);return()=>clearInterval(e)},[n?.endTime,h]);let y=!!g,b=y?(e=g-s)<=0?u:{days:Math.floor(e/864e5),hours:Math.floor(e%864e5/36e5),minutes:Math.floor(e%36e5/6e4),seconds:Math.floor(e%6e4/1e3)}:u;return{visible:l.visible&&y,bgImage:n?.bgImage,bgVideo:n?.bgVideo,bgPosition:n?.bgPosition,title:l.i18nText.text,subtitle:l.i18nText.subText??"",timeLeft:b,hasCountdown:y}}])},391872,e=>{"use strict";var t,a=((t={}).Url="1",t.PurchasePopup="2",t.ModelTimesCard="3",t.UpdateToV2="4",t.Login="5",t);e.s(["LinkType",()=>a])},420959,e=>{"use strict";var t,a,l,r,n=((t={}).Account="account",t.Plan="plan",t.Pricing="pricing",t),s=((a={})[a.Monthly=0]="Monthly",a[a.Yearly=1]="Yearly",a),i=((l={})[l.Generator=1]="Generator",l[l.Tab=2]="Tab",l[l.Agent=3]="Agent",l[l.AccountDropdown=4]="AccountDropdown",l[l.Account=5]="Account",l[l.AllInOne=6]="AllInOne",l[l.FreeUpgradeHitNano=7]="FreeUpgradeHitNano",l[l.DirectShow=8]="DirectShow",l[l.PromotionSkus=9]="PromotionSkus",l[l.Promotion=10]="Promotion",l[l.ClearRunningTaskModalReferer=11]="ClearRunningTaskModalReferer",l[l.ExportSuccess=12]="ExportSuccess",l[l.AgentChatBanner=13]="AgentChatBanner",l[l.MainModelDailyLimitModalReferer=14]="MainModelDailyLimitModalReferer",l[l.PromotionCompact=15]="PromotionCompact",l[l.H5GenerateComplete=16]="H5GenerateComplete",l[l.H5WatermarkSave=17]="H5WatermarkSave",l[l.H5ModeSwitch=18]="H5ModeSwitch",l),o=((r={}).InsufficientBalance="insufficient_balance",r.VipModel="vip_model",r.ParallelTask="parallel_task",r.BrandKitLimit="brand_kit_limit",r.MainModelDailyLimit="core_model_daily_limit",r);e.s(["PaywallCycleTab",()=>s,"PaywallReason",()=>o,"PaywallSource",()=>n,"TrainBillingReferer",()=>i])},584470,e=>{"use strict";var t=e.i(21590),a=e.i(820967),l=e.i(184006),r=e.i(814610),n=e.i(70606),s=e.i(587939),i=e.i(308916);function o({digit:e}){return(0,t.jsx)("div",{className:"bg-lo-special-white border-lo-special-black/10 flex h-[22px] w-[20px] shrink-0 items-center justify-center rounded-[6px] border px-[4px] py-[2px] md:h-[26px] md:w-[24px] md:rounded-[8px] md:px-[6px]",children:(0,t.jsx)("span",{className:"text-lo-special-black text-center text-[12px] leading-[20px] font-medium whitespace-nowrap tabular-nums md:text-[13px]",style:{fontFeatureSettings:"'lnum' 1, 'pnum' 1"},children:e})})}function c({value:e}){let a=String(e).padStart(2,"0");return(0,t.jsxs)("div",{className:"flex h-full shrink-0 items-center gap-[2px]",children:[(0,t.jsx)(o,{digit:a[0]}),(0,t.jsx)(o,{digit:a[1]})]})}function d(){return(0,t.jsx)("span",{className:"text-lo-special-black relative top-[-1px] w-3 text-center text-[13px] leading-none font-medium md:text-[15px]",children:":"})}function u(){let{timeLeft:e,hasCountdown:a}=(0,l.usePaywallBanner)();return a?(0,t.jsxs)("div",{className:"flex h-[22px] shrink-0 items-center gap-[2px] md:h-[26px]",children:[(0,t.jsx)(c,{value:e.days}),(0,t.jsx)(d,{}),(0,t.jsx)(c,{value:e.hours}),(0,t.jsx)(d,{}),(0,t.jsx)(c,{value:e.minutes}),(0,t.jsx)(d,{}),(0,t.jsx)(c,{value:e.seconds})]}):null}function p(e){let{config:l,i18nText:i,visible:o,onClose:c,onClick:d}=e,p=(0,r.useIsMobile)(),f=(0,a.useCallback)(e=>{e.stopPropagation(),c()},[c]);if(!o||!l)return null;let x=l.closable??!0,m=!!l.extraInfo?.showCountdown;return p?m?(0,t.jsxs)("div",{className:(0,s.cn)("pointer-events-auto relative flex h-fit w-full shrink-0 cursor-pointer items-center justify-between gap-1 px-5 py-2 pr-3.5"),style:l.bannerStyle,onClick:d,children:[(0,t.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center gap-1.5",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2.5",children:[i.tag&&(0,t.jsxs)("div",{className:"flex items-center gap-1 rounded-full px-2 py-0.5 text-[12px] font-medium",style:l.tagStyle,children:[l.tagIcon&&(0,t.jsx)("img",{src:l.tagIcon,alt:"",className:"h-3 w-3"}),i.tag]}),(0,t.jsx)("div",{className:"text-lo-special-black text-center font-sans text-[14px] font-medium tracking-[0.01em]",style:l.textStyle,children:i.text})]}),(0,t.jsx)(u,{})]}),x&&(0,t.jsx)("button",{className:"group relative flex h-8 w-8 shrink-0 cursor-pointer items-center justify-center self-start rounded-full bg-transparent px-0 opacity-60 transition-opacity duration-150 ease-out hover:opacity-100",onClick:f,tabIndex:-1,style:{color:"var(--color-special-black)",...l.closeButtonStyle},children:(0,t.jsx)(n.default,{className:"h-[14px] w-[14px]"})})]}):(0,t.jsxs)("div",{className:"pointer-events-auto relative flex h-16 w-full shrink-0 cursor-pointer items-center justify-between gap-1 px-5 pr-3.5 min-[480px]:justify-end",style:l.bannerStyle,onClick:d,children:[(0,t.jsxs)("div",{className:"flex flex-1 items-center justify-center gap-2.5 min-[480px]:absolute min-[480px]:right-0 min-[480px]:left-0 min-[480px]:w-full min-[480px]:justify-center",children:[i.tag&&(0,t.jsxs)("div",{className:"flex items-center gap-1 rounded-full px-2 py-0.5 text-[12px] font-medium",style:l.tagStyle,children:[l.tagIcon&&(0,t.jsx)("img",{src:l.tagIcon,alt:"",className:"h-3 w-3"}),i.tag]}),(0,t.jsx)("div",{className:"flex items-center justify-center gap-2.5 min-[480px]:absolute",children:(0,t.jsx)("div",{className:"text-lo-special-black font-sans text-[14px] font-medium tracking-[0.01em] lg:text-[16
1px]",style:l.textStyle,children:i.text})}),i.button&&(0,t.jsx)("div",{className:"flex h-[26px] cursor-pointer items-center justify-center gap-2.5 rounded-full px-2 text-nowrap",style:l.buttonStyle,children:(0,t.jsx)("div",{className:"justify-start text-[12px] leading-8 font-medium max-[480px]:text-[11px] max-[370px]:text-[10px] max-[350px]:text-[8px]",children:i.button})})]}),x&&(0,t.jsx)("button",{className:"group relative flex h-8 w-8 cursor-pointer items-center justify-center rounded-full bg-transparent px-0 opacity-60 transition-opacity duration-150 ease-out hover:opacity-100",onClick:f,tabIndex:-1,style:{color:"var(--color-special-black)",...l.closeButtonStyle},children:(0,t.jsx)(n.default,{className:"h-[14px] w-[14px]"})})]}):(0,t.jsxs)("div",{className:"pointer-events-auto relative h-12 w-full shrink-0 cursor-pointer gap-3 py-1",style:l.bannerStyle,onClick:d,children:[(0,t.jsx)("div",{className:"relative mx-auto h-full max-w-[1600px]",children:(0,t.jsxs)("div",{className:"absolute top-0 left-0 flex h-full w-full items-center justify-center gap-2.5",children:[m&&(0,t.jsx)(u,{}),i.tag&&(0,t.jsxs)("div",{className:"flex items-center gap-1 rounded-full px-2 py-0.5 text-[14px] font-medium",style:l.tagStyle,children:[l.tagIcon&&(0,t.jsx)("img",{src:l.tagIcon,alt:"",className:"h-3.5 w-3.5"}),i.tag]}),(0,t.jsx)("div",{className:"flex items-center justify-center gap-2.5",children:(0,t.jsx)("div",{className:"justify-start text-[16px] font-medium",style:l.textStyle,children:i.text})}),i.button&&(0,t.jsx)("div",{className:"flex h-[26px] cursor-pointer items-center justify-center gap-2.5 rounded-full px-2 text-[16px] leading-8 font-medium",style:l.buttonStyle,children:i.button})]})}),x&&(0,t.jsx)("button",{className:"group absolute top-1/2 right-3 flex h-8 w-8 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full bg-transparent px-0 opacity-60 transition-opacity duration-150 ease-out hover:opacity-100",style:{color:"var(--color-special-black)",...l.closeButtonStyle},onClick:f,tabIndex:-1,children:(0,t.jsx)(n.default,{className:"h-[16px] w-[16px]"})})]})}e.s(["Banner",0,function(e){let a=(0,i.useBanner)(e);return(0,t.jsx)(p,{...a})},"BannerView",0,p])},308916,e=>{"use strict";var t=e.i(820967),a=e.i(960109),l=e.i(624127),r=e.i(391872),n=e.i(767678),s=e.i(420959),i=e.i(82033),o=e.i(715074),c=e.i(291413),d=e.i(153848);let u={NavSidebar:"1",Changelog:"18",Brand:"101",Home:"102",Paywall:"103",Canvas:"104",BrandCNTimezone:"111",HomeCNTimezone:"112",PaywallCNTimezone:"113",CanvasCNTimezone:"114"},p=async e=>await (0,c.request)((0,a.getUrl)(l.urls.getBanner),e),f="forever";function x(e,t){return`lovart_banner_dismiss:${e}:${t}`}let m={[u.Brand]:u.BrandCNTimezone,[u.Home]:u.HomeCNTimezone,[u.Paywall]:u.PaywallCNTimezone,[u.Canvas]:u.CanvasCNTimezone};function h(e){let t=(0,d.default)();return e.filter(e=>(!e.startTime||!t.isBefore((0,d.default)(e.startTime)))&&(!e.endTime||!t.isAfter((0,d.default)(e.endTime))))}let g=new Map,y=e=>{if(g.has(e))return g.get(e);let t=p({bannerType:e}).then(e=>0===e.code&&e.data?.banners?e.data.banners:[]).catch(()=>[]);return g.set(e,t),t};function b(e){if(!i.isCN&&function(){try{return"Asia/Shanghai"===Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return!1}}())return m[e]}let v=async e=>{let t=b(e);if(t){let e=h(await y(t));if(e.length>0)return e}return h(await y(e))};function w(e){let t,a=function(e){if(!e)return{};try{return"string"==typeof e?JSON.parse(e):e}catch{return{}}}(e.extendInfo);return{id:a.id??e.title,bannerStyle:a.bannerStyle,textStyle:a.textStyle,tagStyle:a.tagStyle,buttonStyle:a.buttonStyle,closeButtonStyle:a.closeButtonStyle,tagIcon:a.tagIcon,image:e.pic||void 0,linkUrl:a.linkUrl??e.url,linkType:a.linkType,closable:a.closable??!0,dismissDuration:a.dismissDuration,dismissKey:(t=String(a.id??e.title??""),`${t}@${function(e){let t="";e&&"object"==typeof e&&(t=Object.keys(e).sort().map(t=>`${t}:${e[t]?.text??""}`).join(";"));let a=5381;for(let e=0;e<t.length;e+=1)a=(a<<5)+a+t.charCodeAt(e)|0;return(a>>>0).toString(36)}(a.i18n)}`),i18n:a.i18n??{},extraInfo:a.extraInfo}}e.s(["BannerTypeId",0,u,"prefetchBanner",0,e=>{let t=b(e);return t&&y(t),y(e)},"useBanner",0,function(e){let{bannerType:a,isLogin:l=!1,closable:c,onLogin:u}=e,p=!1===c,{lang:m}=(0,o.useI18n)(),[h,g]=(0,t.useState)([]),[y,b]=(0,t.useState)(!1);(0,t.useEffect)(()=>{window.__E2E__||v(a).then(e=>{g(e.sort((e,t)=>
1(e.displayOrder??999)-(t.displayOrder??999)).map(w).map(e=>p?{...e,closable:!1}:e).filter(e=>p||!function(e,t){let a=x(e,t.dismissKey??t.id);try{let e=localStorage.getItem(a);if(!e)return!1;if(e===f)return!0;let t=Number(e);if(!Number.isFinite(t))return!1;if(Date.now()<=t)return!0;return localStorage.removeItem(a),!1}catch{return!1}}(a,e)))})},[a,p]);let j=(0,t.useMemo)(()=>l?h.filter(e=>e.linkType!==r.LinkType.Login):h,[h,l]),N=(0,t.useMemo)(()=>j[0]??null,[j]),k=(0,t.useMemo)(()=>N?N.i18n[m]??N.i18n.en??{text:""}:{text:""},[N,m]),_=!y&&!!N&&!!k.text,C=(0,t.useCallback)(e=>(function(e,t){let a=function(e){if("session"===e)return null;if("forever"===e)return f;let t="number"==typeof e&&Number.isFinite(e)?Math.max(1,Math.floor(e)):1;return String((0,d.default)().add(t-1,"day").endOf("day").valueOf())}(t.dismissDuration??"today");if(a)try{localStorage.setItem(x(e,t.dismissKey??t.id),a)}catch{}})(a,e),[a]),S=(0,t.useCallback)(()=>{b(!0),N&&C(N)},[N,C]),T=(0,t.useCallback)(e=>{if(e.linkType===r.LinkType.Login){l||u?.();return}if(e.linkType===r.LinkType.Url)e.linkUrl&&window.open(e.linkUrl,"_blank","noopener,noreferrer");else if(e.linkType===r.LinkType.PurchasePopup)if(l||i.isCN){let t=e.extraInfo,a=t?.showDynamicPaywall?t?.paywallData:void 0,l=a?.[m]??a?.en;(0,n.showPaywall)(l?{...l,extraInfo:{...l.extraInfo,train_billing_referer:s.TrainBillingReferer.PromotionSkus,mode:"default",reason:`conf_${e.id}`}}:{extraInfo:{train_billing_referer:s.TrainBillingReferer.PromotionSkus,mode:"default",reason:`conf_${e.id}`}})}else location.href="en"===m?"/pricing":`/${m}/pricing`},[l,m,u]),I=(0,t.useCallback)(()=>{N&&T(N)},[N,T]);return{config:N,configs:j,i18nText:k,visible:_,onClose:S,onClick:I,clickBanner:T,dismissBanner:C}}])},814610,e=>{"use strict";var t=e.i(854480);e.s(["useIsMobile",0,function(e=768){return(0,t.useMediaQuery)(`(max-width: ${e}px)`)}])}]);
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.