(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[162],{1097:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/video-background-remover",function(){return o(8635)}])},8419:function(e,t,o){"use strict";o.d(t,{Z:function(){return d}});var i=o(5893),a=o(7294),n=o(3967),s=o.n(n),r=o(2123);o(9069),o(3384);var l=o(6368),c=o.n(l),m=o(2911);function p(e){let{title:t,titleKey:o,content:a,imgUrl:n,jumpUrl:l,from:c="tool"}=e,p="home"===c,d=p?416:378,u=p?234:200,g=(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:s()("rounded-tl-[16px] rounded-tr-[16px] w-[".concat(d,"px] h-[").concat(u,"px] max-w-full overflow-hidden"),p?"mobile:w-[315px] mobile:h-[177.45px]":"mobile:w-full mobile:h-auto"),children:(0,i.jsx)(m.Z,{width:d,height:u,className:s()("w-full h-full"),innerImgClassName:s()("hover:scale-110 transition","mobile:hover:scale-100"),loading:"lazy",src:n.split(".").shift(),suffix:n.split(".").pop(),alt:a})}),(0,i.jsxs)("div",{className:s()("p-[24px]","mobile:p-4"),children:[(0,i.jsx)("h3",{className:s()(p?"text-2xl leading-8 font-openSansBold":"text-xl leading-[30px] text-[#111826] font-openSansSemiBold",p?"mobile:text-lg mobile:leading-7":null),children:o?(0,r.t)(o):t}),p?(0,i.jsxs)("span",{className:s()("text-accent-600 font-openSansSemiBold inline-block mt-4","mobile:mt-2"),children:[(0,r.t)("copy_btn_entrance")," >"]}):(0,i.jsx)("div",{className:"text-[#6C727F] leading-[20px] text-base font-normal",children:a})]})]});return(0,i.jsx)("div",{className:s()(p?"w-[416px] bg-white shadow-slight":"w-[378px] medium:w-[329px] bg-[#F2F5F9]","rounded-[16px]",p?"mobile:w-[315px] mobile:h-auto":null),children:l?(0,i.jsx)("a",{href:l,children:g}):g})}function d(e){let{cards:t}=e;return(0,i.jsxs)("section",{className:s()("py-[64px] mobile:px-[24px]"),children:[(0,i.jsx)("h2",{className:s()(c().content_title_v2,"font-openSansBold"),children:(0,r.t)("copy_offer_more")}),(0,i.jsx)("div",{className:s()("mt-[40px] grid grid-cols-3 medium:grid-cols-2 mobile:flex mobile:flex-wrap gap-x-[32px] gap-y-[40px]","medium:gap-x-[24px] medium:gap-y-[32px]"),children:t.map(e=>(0,a.createElement)(p,{...e,key:e.title||e.titleKey}))})]})}},1882:function(e,t,o){"use strict";o.d(t,{K:function(){return g}});var i=o(5893),a=o(7294),n=o(3967),s=o.n(n),r=o(3039),l=o(5775),c=o(2658),m=o(2261),p=o(662);let d=["image/png","image/jpeg","image/jpg","image/heic","image/jfif","image/tiff","image/webp","image/heif","image/gif","image/bmp"],u=["video/mp4","application/mp4","video/x-m4v","video/quicktime","video/x-f4v","video/3gpp"],g=function(e){let{to:t="",type:o="image",countLimit:n,curTab:g,business:_,hiddenSample:v=!1,btnTheme:x="dark",textCta:f,showUploadTip:h,jumpTo:y=c.jL}=e,b={dataType:"arraybuffer",inputProps:{className:"hidden"},accept:"image"===o?[...d]:[...u],maxFileCount:n||6,pasteUrl:!0,uploadTrackParams:{from_tab:g}},{Input:w,files:j,dropMask:N,dropEvents:k,openFilePicker:E,handlePaste:T}=(0,r.Y)(b),{dBTable:C}=(0,l.Z)();return(0,a.useEffect)(()=>(document.body.addEventListener("paste",T),Object.keys(k).forEach(e=>{document.body.addEventListener(e.toLocaleLowerCase().replace("on",""),k[e])}),()=>{Object.keys(k).forEach(e=>{document.body.removeEventListener(e.toLocaleLowerCase().replace("on",""),k[e])}),document.body.removeEventListener("paste",T)}),[T,k]),(0,a.useEffect)(()=>{(async function(){if((null==j?void 0:j.length)&&C){if(await C.clear(),1===j.length&&"url"===j[0].type){y(t,{mediaUrl:j[0].file,source:g});return}let e=j.filter(e=>e.size<=209715200);Promise.all(e.map((e,t)=>{let o="media_".concat(t);return C.set(o,e,!0)})).then(()=>{if(t){y(t,{source:g});return}y(t,{files:e,source:g})}).catch(e=>{console.log("save to indexDB err:",e)})}})().catch(e=>{console.log("err:",e)})},[j,C]),(0,i.jsxs)(i.Fragment,{children:[w,(0,i.jsx)("div",{className:s()("mb-[24px]","mobile:mb-[24px] mobile:w-full"),children:(0,i.jsx)(m.Z,{uploadText:{pcUploadText:null==f?void 0:f.pcUploadText,pcUploadSubText:null==f?void 0:f.pcUploadSubText},urlAccept:!0,onClick:E,className:"lg:w-[467px]",maxFileCount:b.maxFileCount,type:o,theme:x,source:g})}),v?null:(0,i.jsx)(p.Z,{business:_,onJump:e=>(0,c.jL)(t,{sampleIndex:e,source:g}),type:o,showUploadTip:h}),N]})}},8635:function(e,t,o){"use strict";o.r(t),o.d(t,{__N_SSP:function(){return L},default:function(){return U},metadata:function(){return R}});var i=o(5893),a=o(2123),n=o(1163),s=o(3175),r=o(6447),l=o(3990),c=o(674),m=o(3602),p=o(301),d=o(8419),u=o(2702),g=o(1882),_=o(6461),v=o(2936),x=o(7321),f=o(6774),h=o.n(f);let y=()=>({faqs:[{question:(0,a.t)("copy_remove_faq1"),answer:(0,a.t)("copy_remove_faq1_ans"),module:s.sN.videoRmbg},{question:(0,a.t)("copy_remove_faq2"),answer:(0,a.t)("copy_remove_faq2_ans"),module:s.sN.videoRmbg},{question:(0,a.t)("copy_remove_faq3"),answer:(0,a.t)("copy_remove_faq3_ans"),module:s.sN.videoRmbg},{question:(0,a.t)("copy_remove_faq4"),answer:(0,a.t)("copy_remove_faq4_ans"),module:s.sN.videoRmbg}]}),b=()=>({title:(0,a.t)("copy_remove_how"),steps:[{title:(0,a.t)("copy_remove_step1"),content:(0,a.t)("copy_remove_step1_detail")},{title:(0,a.t)("copy_remove_step2"),content:(0,a.t)("copy_remove_step2_detail")},{title:(0,a.t)("copy_remove_step3"),content:(0,a.t)("copy_remove_step3_detail")}]}),w=()=>({title:(0,a.t)("copy_rmbg_vid_meta"),description:(0,a.t)("copy_rmbg_vid_meta_desc")});var j=()=>{let{faqs:e}=y(),{title:t,steps:o}=b(),{title:i,description:a}=w();return[{"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(e=>{let{question:t,answer:o}=e;return{"@type":"Question",name:t,acceptedAnswer:{"@type":"Answer",text:o}}})},{"@context":"https://schema.org","@type":"HowTo",name:t,step:o.map(e=>({"@type":"HowToStep",name:e.title,itemListElement:[{"@type":"HowToDirection",text:e.content}]}))},{"@context":"https://schema.org","@type":"WebApplication",operatingSystem:"Windows, Mac, Linux, Andriod, iOS",applicationCategory:"AI Tool",applicationSubCategory:"AI Media Tool",url:"https://vmake.ai/video-background-remover",name:i,inLanguage:"en-US",description:a,aggregateRating:{"@type":"AggregateRating",ratingValue:4.6,worstRating:1,bestRating:5,reviewCount:4924},offers:{"@type":"Offer",price:"0.00",priceCurrency:"USD"},thumbnailUrl:h().images[0].loc.href,image:h().images[0].loc.href}]};let N="/media/video-rmbg",k=[{src:"".concat(N,".webm"),type:"video/webm"},{src:"".concat(N,".mp4"),type:"video/mp4"}],E=()=>({title:(0,a.t)("copy_why"),cards:[{title:(0,a.t)("copy_why_create"),content:(0,a.t)("copy_why_create_detail"),imgUrl:"/image/business_video_bg_remove_v2_1.jpg"},{title:(0,a.t)("copy_why_consist"),content:(0,a.t)("copy_why_consist_detail"),imgUrl:"/image/business_video_bg_remove_v2_2.jpg"},{title:(0,a.t)("copy_why_increase"),content:(0,a.t)("copy_why_increase_detail"),imgUrl:"/image/business_video_bg_remove_v2_3.jpg",isVertical:!0}]}),T=e=>{let t=(0,s.LU)(e);return{cards:[t.generateBg,t.removeBg,t.videoEnhancer,t.imageEnhancer,t.imageWatermarkRemover,t.videoWaterMarkRemover]}},C={url:"".concat("https://storage-web.pixocial.com/vmake-prod/official","/image/open-graph.jpeg"),width:"754",height:"754",type:"image/jpeg"};var L=!0;let R=e=>({...w(),openGraph:{...w(),siteName:"Vmake",locale:e,type:"article",images:{...C}}});function U(e){let{path:t}=e,{locale:o}=(0,n.useRouter)(),a=(0,s.ug)(o);return(0,i.jsxs)("main",{className:"min-h-[100vh] flex justify-center",children:[(0,i.jsx)(u.Z,{meta:R(o),canonicalPath:t}),(0,i.jsx)(v.Z,{data:j()}),(0,i.jsxs)("div",{className:"max-w-[1200px] medium:max-w-[682px] mobile:w-full",children:[(0,i.jsx)(l.Z,{videos:k,overview:(0,i.jsx)(r.Y,{type:"videoRmbg"}),children:(0,i.jsx)(g.K,{countLimit:3,type:"video",curTab:s.sN.videoRmbg,business:_._.rmbg,to:a.VideoBgRemoverUpload})}),(0,i.jsx)(c.Z,{...b()}),(0,i.jsx)(m.C,{className:"min-h-[100vh]",...E()}),(0,i.jsx)(p.Z,{...y(),exposureTrackingCb:()=>{(0,x.zg)(s.vN.PageExpose,{from_module:s.sN.videoRmbg,screen_id:"faq"},{waitForAbTestChecked:!0})}}),(0,i.jsx)(d.Z,{...T((0,n.useRouter)().locale)})]})]})}},6774:function(e,t,o){"use strict";var i=o(4155);let a=i.env.DEPLOY_PUHLIC_PATH||"https://vmake.ai",n={lastmod:"2023-10-13T06:57:42.737Z",priority:"0.9",images:[{loc:new URL("".concat(a,"/image/business_video_bg_remove_v2_2.jpg"))}]};e.exports=n}},function(e){e.O(0,[344,598,25,468,774,888,179],function(){return e(e.s=1097)}),_N_E=e.O()}]);