1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7435,9096,8671,646,2749,10],{79517:function(t,e,o){var s=o(5328).w_;t.exports.d=function(t){return s({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}}]})(t)}},77891:function(t,e,o){var s=o(5328).w_;t.exports.k=function(t){return s({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M12.53 16.28a.75.75 0 01-1.06 0l-7.5-7.5a.75.75 0 011.06-1.06L12 14.69l6.97-6.97a.75.75 0 111.06 1.06l-7.5 7.5z",clipRule:"evenodd"}}]})(t)}},57324:function(t,e,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/product-photos",function(){return o(85221)}])},59096:function(t,e,o){"use strict";o.r(e);var s=o(51403),a=o(16660),i=o(95855),l=o(43857),n=o(9669),r=o.n(n),c=o(21439),d=o.n(c),u=o(37649);e.default=function(t){var e,o,n=(0,l.Z)().t,c=(0,a.useRef)(),m=(0,a.useState)(0),x=m[0],p=m[1],g=(0,a.useState)(!1),f=g[0],h=g[1],v=function(t){var e=c.current.scrollLeft,o=x+t,s=c.current.scrollWidth,a=c.current.offsetWidth;e+t<0?(c.current.scrollTo({left:0,behavior:"smooth"}),p(0)):e+t>s-a?(c.current.scrollTo({left:s-a,behavior:"smooth"}),p(s-a)):(c.current.scrollTo({left:e+t,behavior:"smooth"}),p(o)),o>=s-a?h(!0):h(!1)},_=function(){p(c.current.scrollLeft),Math.floor(c.current.scrollWidth-c.current.scrollLeft)<=c.current.offsetWidth?h(!0):h(!1)};return(0,a.useEffect)(function(){var t,e;return c.current&&(null==c?void 0:null===(t=c.current)||void 0===t?void 0:t.scrollWidth)===(null==c?void 0:null===(e=c.current)||void 0===e?void 0:e.offsetWidth)?h(!0):h(!1),function(){}},[null==c?void 0:null===(e=c.current)||void 0===e?void 0:e.scrollWidth,null==c?void 0:null===(o=c.current)||void 0===o?void 0:o.offsetWidth,]),(0,s.jsxs)("div",{className:"flex flex-col items-start md:items-center",children:[(0,s.jsx)("p",{className:"font-inter font-[450] text-3xl md:text-5xl antialiased text-primary -tracking-[0.021em] md:-tracking-[0.022em] max-w-3xl text-left md:text-center",style:{fontVariationSettings:"'opsz' 28",textRendering:"optimizeLegibility"},children:n("common:TOOLS_TITLE")}),(0,s.jsx)("div",{className:"overflow-hidden w-full relative flex justify-center items-center",children:(0,s.jsx)("div",{ref:c,onScroll:_,className:"flex overflow-x-scroll scrollbar-hide gap-8 max-w-min py-8",children:null===u.D||void 0===u.D?void 0:u.D.map(function(t,e){return(null==t?void 0:t.tool)==="product-photos"?null:(0,s.jsxs)("div",{className:"flex flex-col items-center md:justify-between bg-white p-4 cursor-pointer transition ease-in-out duration-300 group max-w-min shadow-card hover:shadow-card-hover border border-slate-100 rounded-xl",onClick:function(){if(null==t?void 0:t.path.startsWith("http")){window.open(null==t?void 0:t.path,"_blank");return}r().push(null==t?void 0:t.path)},children:[(0,s.jsxs)("div",{className:"flex flex-col flex-1",children:[(0,s.jsx)("div",{className:"flex flex-col items-center mx-auto w-60 md:w-72 shrink-0 rounded-xl overflow-hidden z-0",children:(null==t?void 0:t.lottie)?(0,s.jsx)(d(),{loop:!0,path:null==t?void 0:t.lottie,play:!0,speed:1}):(0,s.jsx)("img",{src:null==t?void 0:t.image,alt:null==t?void 0:t.alt})}),(0,s.jsxs)("div",{className:"flex flex-col mt-4 w-full",children:[(0,s.jsx)("p",{className:"text-primary text-base md:text-lg antialiased font-inter font-[500] -tracking-[0.011em] md:-tracking-[0.014em]",children:n("common:".concat(null==t?void 0:t.toolName))}),(0,s.jsx)(i.gS,{text:n("common:".concat(null==t?void 0:t.shortTitle)),classes:"mt-1"})]})]}),(0,s.jsx)("div",{className:"flex justify-end w-full mt-4",children:(0,s.jsxs)("button",{className:"flex items-center gap-3 text-xs md:text-sm font-[450] text-slate-800 uppercase shrink-0 rounded-full antialiased tracking-[0.08em] group",children:[n("common:TOOLS_SECTION_CTA"),(0,s.jsx)("div",{className:"flex items-center justify-center w-4 h-4 md:w-[1.125rem] md:h-[1.125rem] shrink-0 -translate-x-1 group-hover:translate-x-2 transition-transform duration-500",children:(0,s.jsx)("i",{className:"isax isax-arrow-right-1 text-slate-800 text-base md:text-lg "})})]})})]},e)})})}),!(0===x&&f)&&(0,s.jsxs)("div",{className:"flex items-center justify-center",children:[(0,s.jsx)("button",{className:"".concat(0!==x?"hover:bg-slate-100 text-primary":"cursor-not-allowed text-slate-300"," flex items-center justify-center p-2 rounded-md"),disabled:0===x,onClick:function(){v(-500)},children:(0,s.jsx)("i",{className:"isax isax-arrow-left text-2xl"})}),(0,s.jsx)("div",{className:"border-r border-slate-200 h-8 mx-4"}),(0,s.jsx)("button",{className:"".concat(f?"cursor-not-allowed text-slate-300":"hover:bg-slate-100 text-primary"," flex items-center justify-center p-2 rounded-md"),disabled:f,onClick:function(){v(500)},children:(0,s.jsx)("i",{className:"isax isax-arrow-right-1 text-2xl"})})]})]})}},90646:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return c}});var s=o(69170),a=o(51403),i=o(16660),l=o(77891),n=o(43857),r=o(95855);function c(t){var e,o=(0,n.Z)().t,c=(0,i.useState)([]),d=c[0],u=c[1],m=function(t){d.includes(t)?u(d.filter(function(e){return e!==t})):u((0,s.Z)(d).concat([t]))};return(0,a.jsxs)("div",{className:"flex flex-col items-start md:items-center",children:[(0,a.jsx)(r.H2,{text:o("common:FAQ_SECTION_TIT
1LE"),classes:"max-w-3xl text-left md:text-center"}),(0,a.jsx)(r.Eu,{text:o("common:FAQ_SECTION_SUBTITLE"),classes:"mt-4 max-w-3xl text-left md:text-center"}),(0,a.jsx)("div",{className:"w-full flex flex-col divide-y divide-slate-200 mt-8",children:null==t?void 0:null===(e=t.faqList)||void 0===e?void 0:e.map(function(e,s){return(0,a.jsxs)("div",{className:"pt-6 first:pt-0 last:pb-0 pb-6 cursor-pointer",onClick:function(){return m(s)},children:[(0,a.jsxs)("div",{className:"flex justify-between items-start",children:[(0,a.jsx)("h2",{className:"text-primary text-lg md:text-xl antialiased font-inter font-[450] -tracking-[0.014em] md:-tracking-[0.017em]",dangerouslySetInnerHTML:{__html:o("".concat(null==t?void 0:t.localeSlug,":").concat(null==e?void 0:e.question))}}),(0,a.jsx)(l.k,{className:"".concat(d.includes(s)?"-rotate-180":"rotate-0"," text-primary text-lg md:text-xl ml-2 transition-all ease-in-out duration-300 shrink-0 mt-1 md:mt-1.5")})]}),d.includes(s)&&(0,a.jsx)("p",{className:"mt-2 text-base md:text-lg tracking-[0.011em] md:-tracking-[0.014em] font-inter font-[350] text-primary antialiased",dangerouslySetInnerHTML:{__html:o("".concat(null==t?void 0:t.localeSlug,":").concat(null==e?void 0:e.answer))}})]},s)})})]})}},5678:function(t,e,o){"use strict";var s=o(11798),a=o(52733),i=o(28958),l=o(51403),n=o(88026),r=o(43857),c=o(16660),d=o(26215),u=o(98200),m=o(68802),x=o(65718),p=o(80394),g=o(39307),f=o(29094);e.Z=function(t){var e=(0,r.Z)("common").t,o=(0,i.Z)((0,u.T)(),2),h=o[0],v=o[1],_=(0,g.T)(),b=_.setOriginalFile,T=_.setProcessedImage,j=_.setEditMaskImage,N=(0,m.a)().subscription,E=(0,c.useState)(""),w=E[0],I=E[1],S=N&&N.status,O=function(o){if(t.toolForOnlyActiveSubscription&&"active"!==S){t.openUpgradeNudge(!0);return}if(0!==o.length&&!(R.length>0)){var s=new Image;s.src=URL.createObjectURL(o[0]),s.onload=function(){(0,p.c)("image_uploaded",{source_tool:null==t?void 0:t.app,image_height:s.height,image_width:s.width,image_size:o[0].size,image_format:o[0].type},[f.C.MS_ANALYTICS])};try{if(o[0].size>33554432)throw I(e("common:EDITOR_UPLOAD_SIZE_ERROR")),Error("file too large");v(o),b(null),T(null),j(null),t.onDrop&&t.onDrop(o)}catch(a){console.error("error: ".concat(a.message))}}},y=(null==t?void 0:t.acceptedFileFormats)||{"image/*":[]},L=(0,d.uI)({accept:y,maxFiles:1,multiple:!1,onDrop:O}),C=L.getRootProps,k=L.getInputProps,R=L.fileRejections;return(0,c.useEffect)(function(){0===R.length&&I(""),R.length>0&&("too-many-files"===R[0].errors[0].code&&I(e("common:EDITOR_UPLOAD_MANY_ERROR")),"file-invalid-type"===R[0].errors[0].code&&I(e("common:EDITOR_UPLOAD_TYPE_GENERIC_ERROR")))},[R,h]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",(0,a.Z)((0,s.Z)({},C()),{className:(0,n.Z)("hidden h-full bg-white md:flex flex-col items-center justify-center rounded-xl border border-dashed border-primary border-opacity-50 w-full py-8 cursor-pointer focus:outline-none hover:border-opacity-100 group"),children:[(0,l.jsx)("input",(0,s.Z)({},k())),(0,l.jsxs)("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-10 h-10",children:[(0,l.jsxs)("g",{clipPath:"url(#clip0_7214_41555)",children:[(0,l.jsx)("path",{d:"M512.002 109.76V402.24C512.015 418.908 508.125 435.347 500.642 450.24L438.882 382.4L387.842 326.4C374.082 311.36 353.442 300.64 336.162 307.52C317.492 318.279 299.868 330.76 283.522 344.8L240.002 296.8C234.467 290.689 227.714 285.805 220.177 282.462C212.64 279.12 204.487 277.393 196.242 277.393C187.997 277.393 179.844 279.12 172.307 282.462C164.77 285.805 158.017 290.689 152.482 296.8L73.1218 384L11.8418 451.84C3.96302 436.5 -0.0985538 419.485 0.001816 402.24V109.76C0.001816 80.6498 11.5658 52.732 32.1498 32.148C52.7338 11.564 80.6517 0 109.762 0L402.242 0C431.352 0 459.27 11.564 479.854 32.148C500.438 52.732 512.002 80.6498 512.002 109.76Z",fill:"url(#paint0_linear_7214_41555)"}),(0,l.jsx)("path",{d:"M500.64 450.56C493.893 464.431 484.29 476.718 472.461 486.618C460.631 496.517 446.843 503.803 432 508L320 384L284.32 344.8C300.363 330.809 317.663 318.329 336 307.52C353.44 300.64 374.08 311.36 387.68 326.4L438.72 382.72L500.64 450.56Z",fill:"url(#paint1_linear_7214_41555)"}),(0,l.jsx)("path",{d:"M432 508C422.41 510.646 412.508 511.991 402.56 512H109.76C89.4689 512.019 69.571 506.405 52.2823 495.783C34.9936 485.161 20.993 469.949 11.8398 451.84L73.1198 384L152.32 296.96C157.855 290.849 164.608 285.965 172.145 282.622C179.682 279.28 187.835 277.553 196.08 277.553C204.325 277.553 212.478 279.28 220.015 282.622C227.552 285.965 234.305 290.849 239.84 296.96L283.36 344.96L319.04 384L432 508Z",fill:"url(#paint2_linear_7214_41555)"}),(0,l.jsx)("path",{d:"M432 508C422.41 510.646 412.508 511.991 402.56 512H109.76C89.4689 512.019 69.571 506.405 52.2823 495.783C34.9936 485.161 20.993 469.949 11.8398 451.84L73.1198 384L152.32 296.96C157.855 290.849 164.608 285.965 172.145 282.622C179.682 279.28 187.835 277.553 196.08 277.553C204.325 277.553 212.478 279.28 220.015 282.622C227.552 285.965 234.305 290.849 239.84 296.96L283.36 344.96L319.04 384L432 508Z",fill:"url(#paint3_linear_7214_41555)"}),(0,l.jsx)("path",{d:"M347.359 201.28C367.594 201.28 383.999 184.876 383.999 164.64C383.999 144.404 367.594 128 347.359
1128C327.123 128 310.719 144.404 310.719 164.64C310.719 184.876 327.123 201.28 347.359 201.28Z",fill:"url(#paint4_linear_7214_41555)"})]}),(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"paint0_linear_7214_41555",x1:"256.002",y1:"451.84",x2:"256.002",y2:"0",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:(null==t?void 0:t.fileSelectBgGradientStart)?null==t?void 0:t.fileSelectBgGradientStart:"#F6F0EA"}),(0,l.jsx)("stop",{offset:"1",stopColor:(null==t?void 0:t.fileSelectBgGradientEnd)?null==t?void 0:t.fileSelectBgGradientEnd:"#BCCEFF"})]}),(0,l.jsxs)("linearGradient",{id:"paint1_linear_7214_41555",x1:"493.44",y1:"463.52",x2:"284.64",y2:"342.88",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:(null==t?void 0:t.appGradientStart)?null==t?void 0:t.appGradientStart:"#20BDFF"}),(0,l.jsx)("stop",{offset:"1",stopColor:(null==t?void 0:t.appGradientEnd)?null==t?void 0:t.appGradientEnd:"#5433FF"})]}),(0,l.jsxs)("linearGradient",{id:"paint2_linear_7214_41555",x1:"343.68",y1:"596",x2:"98.3999",y2:"350.72",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:(null==t?void 0:t.appGradientStart)?null==t?void 0:t.appGradientStart:"#20BDFF"}),(0,l.jsx)("stop",{offset:"1",stopColor:(null==t?void 0:t.appGradientEnd)?null==t?void 0:t.appGradientEnd:"#5433FF"})]}),(0,l.jsxs)("linearGradient",{id:"paint3_linear_7214_41555",x1:"409.44",y1:"546.72",x2:"70.2399",y2:"350.88",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:(null==t?void 0:t.appGradientStart)?null==t?void 0:t.appGradientStart:"#20BDFF"}),(0,l.jsx)("stop",{offset:"1",stopColor:(null==t?void 0:t.appGradientEnd)?null==t?void 0:t.appGradientEnd:"#5433FF"})]}),(0,l.jsxs)("linearGradient",{id:"paint4_linear_7214_41555",x1:"379.039",y1:"182.88",x2:"315.679",y2:"146.24",gradientUnits:"userSpaceOnUse",children:[(0,l.jsx)("stop",{stopColor:(null==t?void 0:t.appGradientStart)?null==t?void 0:t.appGradientStart:"#20BDFF"}),(0,l.jsx)("stop",{offset:"1",stopColor:(null==t?void 0:t.appGradientEnd)?null==t?void 0:t.appGradientEnd:"#5433FF"})]}),(0,l.jsx)("clipPath",{id:"clip0_7214_41555",children:(0,l.jsx)("rect",{width:"512",height:"512",fill:"white"})})]})]}),(0,l.jsx)("p",{className:"text-slate-800 text-base font-[350] antialiased -tracking-[0.011em] mt-2",children:e("EDITOR_CTA_DRAG_DROP")}),(0,l.jsx)("p",{className:"text-slate-800 text-sm my-2 antialiased -tracking-[0.006em] font-[350]",children:e("EDITOR_CTA_OR")}),(0,l.jsx)(x.PrimaryButton,{text:e("common:EDITOR_CTA_UPLOAD_BUTTON")})]})),(0,l.jsxs)("div",(0,a.Z)((0,s.Z)({},C()),{className:"block md:hidden",children:[(0,l.jsx)("input",(0,s.Z)({},k())),(0,l.jsx)(x.PrimaryButtonFullWidth,{text:e("common:EDITOR_CTA_UPLOAD_BUTTON")})]})),(0,l.jsxs)("div",{className:"flex flex-col md:flex-row justify-between mt-4",children:[(0,l.jsxs)("p",{className:"text-slate-800 text-sm font-light -tracking-[0.006em]",children:[e("EDITOR_SUPPORTED_FORMATS"),(null==t?void 0:t.acceptedFileFormatsText)||"JPEG, PNG"]}),(0,l.jsx)("p",{className:"text-red-400 text-sm font-light -tracking-[0.006em] mt-2 md:mt-0 antialiased",children:w||(null==t?void 0:t.error)})]})]})}},30010:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return n}});var s=o(51403),a=o(88026),i=o(43857),l=o(95855);function n(t){var e,o,n=(0,i.Z)().t;return(0,s.jsxs)("div",{className:"flex flex-col items-start md:items-center",children:[(0,s.jsx)(l.H2,{text:n("".concat(null==t?void 0:t.localeSlug,":HOW_IT_WORKS_SECTION_TITLE")),classes:"max-w-3xl text-left md:text-center"}),(0,s.jsx)("div",{className:"grid grid-cols-1 ".concat((null==t?void 0:null===(e=t.steps)||void 0===e?void 0:e.length)>3?"md:grid-cols-2 gap-4 md:gap-8":"md:grid-cols-3 gap-4"," mt-8 w-full"),children:null==t?void 0:null===(o=t.steps)||void 0===o?void 0:o.map(function(e,o){return(0,s.jsxs)("div",{className:"border border-slate-200 rounded-xl p-6 flex flex-col gap-2",children:[(0,s.jsxs)("div",{className:"flex flex-row items-start gap-3",children:[(0,s.jsx)("div",{className:(0,a.Z)("bg-gradient-to-bl from-".concat(null==t?void 0:t.app,"-gradient-start via-").concat(null==t?void 0:t.app,"-gradient-middle to-").concat(null==t?void 0:t.app,"-gradient-end text-white rounded-full h-8 w-8 text-xl flex items-center justify-center antialiased shrink-0")),children:o+1}),(0,s.jsx)("h3",{className:"mt-0.5 text-lg md:text-xl -tracking-[0.014em] md:-tracking-[0.017em] text-primary antialiased font-medium",children:n("".concat(null==t?void 0:t.localeSlug,":").concat(null==e?void 0:e.title))})]}),(0,s.jsx)("p",{className:"mt-2 text-slate-800 antialiased font-[350] text-sm md:text-base -tracking-[0.006em] md:-tracking-[0.011em]",children:n("".concat(null==t?void 0:t.localeSlug,":").concat(null==e?void 0:e.description))})]},o)})})]})}},9454:function(t,e,o){"use strict";
1var s=o(51403),a=o(16660),i=o(94511),l=o(34166),n=o(15467),r=function(t){var e=(0,a.useRef)(null);return(0,l.Z)(e,t.setIsModalOpen),(0,a.useEffect)(function(){return document.body.style.overflow="hidden",function(){document.body.style.overflow="unset"}},[]),(0,s.jsx)("div",{className:"".concat(t.isModalOpen?"block":"hidden"," transition-opacity ease-linear overflow-y-auto overflow-x-hidden w-full h-full inset-0 fixed z-40 bg-neutral-900 bg-opacity-90"),children:(0,s.jsx)("div",{className:"h-full md:h-modal transition-transform relative z-50 w-auto max-w-lg lg:max-w-4xl md:my-8 mx-auto flex items-center",children:(0,s.jsxs)("div",{ref:e,className:"relative h-full md:h-fit max-h-full bg-white overflow-hidden bg-clip-padding shadow-lg rounded-lg w-full flex flex-col justify-start items-center",children:[(0,s.jsx)("div",{className:"absolute top-4 right-4 md:top-4 md:right-4 p-2 cursor-pointer hover:bg-neutral-100 rounded-lg z-10 bg-white",onClick:function(){return t.setIsModalOpen(!1)},children:(0,s.jsx)(i.F,{className:"text-primary text-2xl"})}),(0,s.jsx)("div",{className:"w-full overflow-y-auto",children:(0,s.jsx)(n.LoginSection,{inModal:!0,setIsModalOpen:t.setIsModalOpen,from:t.from})})]})})})};e.Z=r},60879:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return m}});var s=o(20550),a=o(2081),i=o(51403),l=o(94511),n=o(96974),r=o(16660),c=o(95855),d=o(18895),u=o(43857);function m(t){var e,o=(0,u.Z)().t,m=(0,r.useState)(!0),x=m[0],p=m[1],g=(e=(0,s.Z)(function(t,e){var o,s;return(0,a.__generator)(this,function(o){switch(o.label){case 0:if(p(!1),!localStorage.getItem("access-token"))return[2];return[4,(0,d.QW)(t,e)];case 1:return(null==(s=o.sent())?void 0:s.error)&&console.log("Error updating the user config"),[2]}})}),function(t,o){return e.apply(this,arguments)});return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"".concat(x?"block":"hidden"," transition-opacity ease-linear overflow-y-auto overflow-x-hidden w-full h-full inset-0 fixed z-40 bg-neutral-900 bg-opacity-90"),children:(0,i.jsx)("div",{className:"h-full md:h-upgrade-nudge transition-transform relative z-50 w-auto max-w-3xl md:my-4 mx-auto flex items-center",children:(0,i.jsx)("div",{className:"relative max-h-full bg-white overflow-hidden bg-clip-padding shadow-lg rounded-lg w-full flex flex-col justify-start items-center",children:(0,i.jsxs)("div",{className:"overflow-y-auto px-4 py-8 flex flex-col items-center w-full",children:[(0,i.jsx)("div",{className:"absolute top-4 right-4 md:top-4 md:right-4 p-2 cursor-pointer hover:bg-neutral-100 rounded-lg z-10 bg-white",onClick:function(){return g(t.userId,{show_user_persona_modal:"HI
1DE"})},children:(0,i.jsx)(l.F,{className:"text-primary text-2xl"})}),(0,i.jsx)(c.H3,{text:"\uD83D\uDC4B "+o("common:PERSONA_ONBOARDING_FLOW_TITLE")}),(0,i.jsx)(c.DI,{text:o("common:PERSONA_ONBOARDING_FLOW_SUBTITLE"),classes:"mt-4 mb-4 md:mb-8"}),(0,i.jsx)(n.Z,{finishOnboarding:function(){return g(t.userId,{show_user_persona_modal:"HIDE",show_user_persona_nudge:"HIDE"})}})]})})})})})}},28671:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return d}});var s=o(51403),a=o(16660),i=o(95855),l=o(43857),n=o(12374),r=o(88026),c=o(388);function d(t){var e,o,d,u,m,x=(0,l.Z)().t,p=(0,a.useState)([]),g=p[0],f=p[1],h=(0,a.useState)([]),v=h[0],_=h[1],b=(0,a.useState)([]),T=b[0],j=b[1],N=(0,a.useState)(0),E=N[0],w=N[1],I=(0,a.useState)(!1),S=I[0],O=I[1],y=(0,a.useRef)(),L=function(t){y.current.scrollLeft+=t,w(E+t),Math.floor(y.current.scrollWidth-y.current.scrollLeft)<=y.current.offsetWidth?O(!0):O(!1)},C=function(){w(y.current.scrollLeft),Math.floor(y.current.scrollWidth-y.current.scrollLeft)<=y.current.offsetWidth?O(!0):O(!1)};return(0,a.useEffect)(function(){var t,e;return y.current&&(null==y?void 0:null===(t=y.current)||void 0===t?void 0:t.scrollWidth)===(null==y?void 0:null===(e=y.current)||void 0===e?void 0:e.offsetWidth)?O(!0):O(!1),function(){}},[null==y?void 0:null===(e=y.current)||void 0===e?void 0:e.scrollWidth,null==y?void 0:null===(o=y.current)||void 0===o?void 0:o.offsetWidth,]),(0,a.useEffect)(function(){j(c.Su),_((0,n.t)(c.$l,3)),f(c.jH)},[]),g.length>0&&(0,s.jsxs)("div",{className:"flex flex-col items-start md:items-center relative",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("p",{className:"font-inter font-medium text-5xl md:text-7xl antialiased text-primary -tracking-[0.022em] max-w-3xl text-left md:text-center",style:{fontVariationSettings:"'opsz' 28",textRendering:"optimizeLegibility"},children:x("common:TESTIMONIALS_TITLE")}),(0,s.jsx)("i",{className:"icon-sparkles text-4xl absolute top-0 -left-16 text-primary"})]}),(0,s.jsxs)("p",{className:"max-w-3xl text-left md:text-center mt-4 font-inter text-slate-800 font-[350] text-xl md:text-2xl -tracking-[0.017em] md:-tracking-[0.019em] antialiased",style:{fontVariationSettings:"'opsz' 28",textRendering:"optimizeLegibility"},children:[x("common:TESTIMONIALS_SUBTITLE_LINE1"),(0,s.jsx)("br",{}),x("common:TESTIMONIALS_SUBTITLE_LINE2")]}),(0,s.jsxs)("div",{className:"flex flex-col items-center w-full lg:flex-row justify-center gap-8 lg:gap-24 mt-16 md:mt-16 md:mx-auto",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"font-inter font-medium text-6xl md:text-8xl antialiased text-primary md:text-center",style:{fontVariationSettings:"'opsz' 28",textRendering:"optimizeLegibility"},children:x("common:TESTIMONIALS_METRIC1_TITLE")}),(0,s.jsx)("p",{className:"uppercase max-w-2xl text-center mt-2 font-inter text-slate-800 font-[450] text-xl md:text-2xl tracking-[0.16em] antialiased",style:{fontVariationSettings:"'opsz' 28",textRendering:"optimizeLegibility"},children:x("common:TESTIMONIALS_METRIC1_SUBTITLE")})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"font-inter font-medium text-6xl md:text-8xl antialiased text-primary md:text-center",style:{fontVariationSettings:"'opsz' 28",textRendering:"optimizeLegibility"},children:x("common:TESTIMONIALS_METRIC2_TITLE")}),(0,s.jsx)("p",{className:"uppercase max-w-2xl text-center mt-2 font-inter text-slate-800 font-[450] text-xl md:text-2xl tracking-[0.16em] antialiased",style:{fontVariationSettings:"'opsz' 28",textRendering:"optimizeLegibility"},children:x("common:TESTIMONIALS_METRIC2_SUBTITLE")})]})]}),(0,s.jsxs)("div",{className:"overflow-hidden w-full relative flex justify-center items-center",children:[0!==E&&(0,s.jsx)("button",{className:"hidden sm:block absolute h-full left-0 w-8 bg-gradient-to-r from-white",onClick:function(){L(-500)},children:(0,s.jsx)("i",{className:"isax isax-arrow-left text-3xl text-primary"})}),!S&&(0,s.jsx)("button",{className:"hidden sm:block absolute h-full right-0 w-8 bg-gradient-to-l from-white",onClick:function(){L(500)},children:(0,s.jsx)("i",{className:"isax isax-arrow-right-1 text-3xl text-primary"})}),(0,s.jsx)("div",{ref:y,onScroll:C,className:"flex overflow-x-scroll scrollbar-hide gap-4 pt-16 md:pt-20 pb-8 max-w-min snap-x snap-proximity",children:null==g?void 0:g.map(function(t,e){return(0,s.jsxs)("div",{className:"group bg-white rounded-xl p-6 w-80 md:w-96 shrink-0 flex flex-col border border-slate-200 hover:shadow-card cursor-pointer",onClick:function(){return window.open(null==t?void 0:t.link,"_blank")},children:[(0,s.jsxs)("div",{className:"flex flex-row items-start justify-between w-full",children:[(0,s.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[(0,s.jsx)("img",{src:null==t?void 0:t.image,srcSet:null==t?void 0:t.imageSrcSet,className:"rounded-full w-8 h-8",alt:null==t?void 0:t.name,loading:"lazy"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-primary antialiased text-sm font-[450] font-inter -tracking-[0.006em]",children:null==t?void 0:t.name}),(0,s.jsx)("p",{className:"text-slate-800 antialiased text-xs font-[350] font-inter",children:null==t?void 0:t.designation})]})]}),(0,s.jsx)("i",{className:"isax isax-arrow-up-3 rotate-45 text-xl text-slate-800 group-hover:translate-x-2 group-hover:-translate-y-2 transition-transform ease-in-out duration-300"})]}),(0,s.jsx)("p",{className:"mt-4 text-primary antialiased text-sm md:text-base font-normal font-inter -tracking-[0.006em] md:-tracking-[0.011em]",children:null==t?void 0:t.quote})]},e)})})]}),(0,s.jsxs)("div",{className:"hidden overflow-x-hidden md:block",children:[(0,s.jsx)("div",{className:"flex items-center justify-center gap-2",children:null===(d=v[0])||void 0===d?void 0:d.map(function(e,o){return(0,s.jsx)("div",{className:(0,r.Z)("border border-".concat(null==t?void 0:t.app,"-gradient-end border-opacity-20 shrink-0 rounded-lg px-4 py-2 text-sm md:text-sm font-inter -tracking-[0.006em] font-[450] text-slate-800 antialiased flex items-center")),children:null==e?void 0:e.snippet},o)})}),(0,s.jsx)("div",{className:"flex items-center justify-center gap-2 translate-x-4 mt-2",children:null===(u=v[1])||void 0===u?void 0:u.map(function(e,o){return(0,s.jsx)("div",{className:(0,r.Z)("border border-".concat(null==t?void 0:t.app,"-gradient-end border-opacity-20 shrink-0 rounded-lg px-4 py-2 text-sm md:text-sm font-inter -tracking-[0.006em] font-[450] text-slate-800 antialiased flex items-center")),children:null==e?void 0:e.snippet},o)})}),(0,s.jsx)("div",{className:"flex items-center justify-center gap-2 mt-2",children:null===(m=v[2])||void 0===m?void 0:m.map(function(e,o){return(0,s.jsx)("div",{className:(0,r.Z)("border border-".concat(null==t?void 0:t.app,"-gradient-end border-opacity-20 shrink-0 rounded-lg px-4 py-2 text-sm md:text-sm font-inter -tracking-[0.006em] font-[450] text-slate-800 antialiased flex items-center")),children:null==e?void 0:e.snippet},o)})}),(0,s.jsxs)("div",{className:"flex items-end justify-end px-4 mt-4 max-w-5xl mx-auto",children:[(0,s.jsx)("img",{src:"/assets/arrow-up.svg",className:"w-14 -translate-y-2",alt:"arrow-up",loading:"lazy"}),(0,s.jsx)("p",{className:"font-tragicmarker text-2xl",children:x("common:SHORT_TESTIMONIALS_NUDGE")})]})]}),(0,s.jsxs)("div",{className:"max-w-5xl mx-auto flex flex-col items-start md:items-center mt-16
1w-full",children:[(0,s.jsx)(i.H2,{text:x("common:TESTIMONIALS_COMPANIES_TITLE"),classes:"max-w-3xl text-left md:text-center"}),(0,s.jsx)("div",{className:"mt-8 grid grid-cols-2 md:grid-cols-6 gap-8 w-full",children:null==T?void 0:T.map(function(t,e){return(0,s.jsx)("div",{className:"flex justify-start md:justify-center items-center",children:(0,s.jsx)("img",{src:null==t?void 0:t.image,alt:"company",className:"h-8 grayscale opacity-70",loading:"lazy"})},e)})})]})]})}},37649:function(t,e,o){"use strict";o.d(e,{D:function(){return a}});var s=o(388),a=[{tool:"magiceraser",toolName:"TOOLS_ME_NAME",shortTitle:"TOOLS_ME_TITLE_SHORT",longTitle:"TOOLS_ME_TITLE",subtitle:"TOOLS_ME_SUBTITLE",cta:"TOOLS_ME_CTA_BUTTON",path:"/magiceraser",lottie:"".concat(s.CF,"/lottie/i6tyU04XyM.json"),alt:"Magic Eraser",logoWeb:"https://".concat("meta.magicstudio.com/assets","/me-logo.svg"),logoMobile:"https://".concat("meta.magicstudio.com/assets","/me-logo-mobile.svg"),toolImage:"https://".concat("meta.magicstudio.com/assets","/tool-listing-me.webp"),toolType:"AI"},{tool:"background-remover",toolName:"TOOLS_BE_NAME",shortTitle:"TOOLS_BE_TITLE_SHORT",longTitle:"TOOLS_BE_TITLE",subtitle:"TOOLS_BE_SUBTITLE",cta:"TOOLS_BE_CTA_BUTTON",path:"/background-remover",lottie:"".concat(s.CF,"/lottie/q7zrYiIl0i.json"),alt:"Background Remover",logoWeb:"https://".concat("meta.magicstudio.com/assets","/background-remover-logo.svg"),logoMobile:"https://".concat("meta.magicstudio.com/assets","/background-remover-logo-mobile.svg"),toolImage:"https://".concat("meta.magicstudio.com/assets","/tool-listing-be.webp"),toolType:"AI"},{tool:"ai-image-generator",toolName:"TOOLS_IM_NAME",shortTitle:"TOOLS_IM_TITLE_SHORT",longTitle:"TOOLS_IM_TITLE",subtitle:"TOOLS_IM_SUBTITLE",cta:"TOOLS_IM_CTA_BUTTON",path:"/ai-image-generator",lottie:"".concat(s.CF,"/lottie/2PtxtfGXKs.json"),alt:"AI Image Generator",logoWeb:"https://".concat("meta.magicstudio.com/assets","/ai-image-generator-logo.svg"),logoMobile:"https://".concat("meta.magicstudio.com/assets","/ai-image-generator-logo-mobile.svg"),toolImage:"https://".concat("meta.magicstudio.com/assets","/tool-listing-im.webp"),toolType:"AI"},{tool:"image-upscaler",toolName:"TOOLS_IE_NAME",shortTitle:"TOOLS_IE_TITLE_SHORT",longTitle:"TOOLS_IE_TITLE",subtitle:"TOOLS_IE_SUBTITLE",cta:"TOOLS_IE_CTA_BUTTON",path:"/image-upscaler",lottie:"".concat(s.CF,"/lottie/cagSJ89z02.json"),alt:"Image Upscaler",logoWeb:"https://".concat("meta.magicstudio.com/assets","/image-upscaler-logo.svg"),logoMobile:"https://".concat("meta.magicstudio.com/assets","/image-upscaler-logo-mobile.svg"),toolImage:"https://".concat("meta.magicstudio.com/assets","/tool-listing-ie.webp"),toolType:"AI"},{tool:"backgroundblur",toolName:"TOOLS_BB_NAME",shortTitle:"TOOLS_BB_TITLE_SHORT",longTitle:"TOOLS_BB_TITLE",subtitle:"TOOLS_BB_SUBTITLE",cta:"TOOLS_BB_CTA_BUTTON",path:"/backgroundblur",lottie:"".concat(s.CF,"/lottie/qt7LYYQPpU.json"),alt:"Background Blur",logoWeb:"https://".concat("meta.magicstudio.com/assets","/background-blur-logo.svg"),logoMobile:"https://".concat("meta.magicstudio.com/assets","/background-blur-logo-mobile.svg"),toolImage:"https://".concat("meta.magicstudio.com/assets","/tool-listing-bb.webp"),toolType:"AI"},{tool:"ai-art-generator",toolName:"TOOLS_AI_ART_GENERATOR_NAME",shortTitle:"TOOLS_AI_ART_GENERATOR_TITLE_SHORT",longTitle:"TOOLS_AI_ART_GENERATOR_TITLE",subtitle:"TOOLS_AI_ART_GENERATOR_SUBTITLE",cta:"TOOLS_AI_ART_GENERATOR_CTA_BUTTON",path:"/ai-art-generator",lottie:"".concat(s.CF,"/lottie/drgQOw5lvs.json"),alt:"AI Art Generator",logoWeb:"https://".concat("meta.magicstudio.com/assets","/ai-art-generator-logo.svg"),logoMobile:"https://".concat("meta.magicstudio.com/assets","/ai-art-generator-logo-mobile.svg"),toolImage:"https://".concat("meta.magicstudio.com/assets","/tool-listing-ag.webp"),toolType:"AI"},{tool:"heic-to-jpg",toolName:"TOOLS_HEIC2JPG_NAME",shortTitle:"TOOLS_HEIC2JPG_TITLE_SHORT",longTitle:"TOOLS_HEIC2JPG_TITLE",subtitle:"TOOLS_HEIC2JPG_SUBTITLE",cta:"TOOLS_HEIC2JPG_CTA_BUTTON",path:"/heic-to-jpg",lottie:"".concat(s.CF,"/lottie/v1Z7wc3gS8.json"),alt:"HEIC to JPG",logoWeb:"https://".concat("meta.magicstudio.com/assets","/heic-to-jpg-logo.svg"),logoMobile:"https://".concat("meta.magicstudio.com/assets","/heic-to-jpg-logo-mobile.svg"),toolImage:"https://".concat("meta.magicstudio.com/assets","/tool-listing-hj.webp"),toolType:"converter"},{tool:"webp-to-png",toolName:"TOOLS_WEBP2PNG_NAME",shortTitle:"TOOLS_WEBP2PNG_TITLE_SHORT",longTitle:"TOOLS_WEBP2PNG_TITLE",subtitle:"TOOLS_WEBP2PNG_SUBTITLE",cta:"TOOLS_WEBP2PNG_CTA_BUTTON",path:"/webp-to-png",lottie:"".concat(s.CF,"/lottie/8V2RFkrDJV.json"),alt:"HEIC to JPG",logoWeb:"https://".concat("meta.magicstudio.com/assets","/webp-to-png-logo.svg"),logoMobile:"https://".concat("meta.magicstudio.com/assets","/webp-to-png-logo-mobile.svg"),toolImage:"https://".concat("meta.magicstudio.com/assets","/tool-listing-wp.webp"),toolType:"converter"},];"".concat(s.CF,"/lottie/jOeJgbhBIV.json"),"https://".concat("meta.magicstudio.com/assets","/product-photos-logo.svg"),"https://".concat("meta.magicstudio.com/assets","/product-photos-logo-mobile.svg"),"https://".concat("meta.magicstudio.com/assets","/tool-listing-canvas.webp"),"https://".concat("meta.magicstudio.com/assets","/tool-listing-ih.webp")},85221:function(t,e,o){"use strict";o.r(e),o.d(e,{__N_SSG:function(){return P},default:function(){return D}});var s=o(20550),a=o(11798),i=o(52733),l=o(2081),n=o(51403),r=o(43857),c=o(9669),d=o(16660),u=o(21439),m=o.n(u),x=o(92925),p=o(59096),g=o(65718),f=o(21080),h=o(87656),v=o(36934),_=o(34499),b=o(5678),T=o(1628),j=o(56609),N=o(9454),E=o(28671),w=o(95855),I=o(39307),S=o(68802),O=o(18895),y=o(388),L=o(80394),C=o(88837),
1k=o(14532),R=o(12374),A=o(73085),Z=o(60879),B=o(36846),M=o(89299),F=o(90646),G=o(30010),U=o(29094),P=!0;function D(){var t,e,o,u,P,D,W,z,H=null===y.ND||void 0===y.ND?void 0:y.ND.PRODUCT_PHOTOS,X=null==H?void 0:H.appName,V=(0,d.useState)(!1),J=(V[0],V[1]),Y=(0,d.useState)(!1),q=(Y[0],Y[1]),Q=(0,S.a)(),$=Q.user,K=Q.subscription,tt=(0,d.useState)([]),te=(tt[0],tt[1]),to=(0,d.useState)([]),ts=(to[0],to[1]),ta=(0,d.useState)([]),ti=(ta[0],ta[1]),tl=(0,d.useState)(0),tn=tl[0],tr=tl[1],tc=(0,d.useState)(""),td=tc[0],tu=tc[1],tm=(0,d.useState)(!1),tx=tm[0],tp=tm[1],tg=(0,d.useState)(!1),tf=tg[0],th=tg[1],tv=(0,d.useState)(!0),t_=(tv[0],tv[1]),tb=(0,d.useState)(!0),tT=tb[0],tj=tb[1],tN=(0,d.useState)([]),tE=tN[0],tw=tN[1],tI=(0,d.useState)([]),tS=tI[0],tO=tI[1],ty=(0,d.useState)([]),tL=ty[0],tC=ty[1],tk=(0,r.Z)().t,tR=(0,c.useRouter)(),tA=(0,I.T)(),tZ=tA.originalFile,tB=tA.setOriginalFile,tM=tA.setCanvasDataURL,tF=tA.processedImage,tG=tA.setProcessedImage,tU=(0,d.useState)(!1),tP=tU[0],tD=tU[1],tW=(0,d.useState)(null),tz=tW[0],tH=tW[1],tX=(0,d.useState)(!1),tV=tX[0],tJ=tX[1],tY=(0,d.useState)(!1),tq=tY[0],tQ=tY[1],t$=(0,x.Z)().width<640,tK=(W=(0,s.Z)(function(t){var e;return(0,l.__generator)(this,function(o){switch(o.label){case 0:return[4,(0,k.t)(t)];case 1:return e=o.sent(),tG(t),tB(e),[2]}})}),function(t){return W.apply(this,arguments)});(0,d.useEffect)(function(){tF&&tZ&&tR.push("/product-photos/add")},[tF,tZ]);var t0,t1,t2,t4,t5,t8,t3,t6=(z=(0,s.Z)(function(t,e){var o,s,a;return(0,l.__generator)(this,function(i){switch(i.label){case 0:if((null==K?void 0:K.status)!=="active")return[3,5];return tH(e),tD(!0),[4,(0,O.y$)(t)];case 1:if((o=i.sent()).error)return tD(!1),[2];if(!t$)return[3,2];return tQ(!0),tH(null==o?void 0:null===(s=o.data)||void 0===s?void 0:s.image_url),[3,4];case 2:return[4,(0,C.Nm)(null==o?void 0:null===(a=o.data)||void 0===a?void 0:a.image_url,"",!0,H.appName)];case 3:i.sent(),i.label=4;case 4:return tD(!1),[3,6];case 5:tH(e),tJ(!0),i.label=6;case 6:return[2]}})}),function(t,e){return z.apply(this,arguments)}),t9=function(){(null==K?void 0:K.status)==="active"?(0,C.Nm)(tz,"",!0,H.appName):t$?tQ(!0):(0,C.Nm)(tz,name,!1,H.appName)},t7=(t0=(0,s.Z)(function(t){return(0,l.__generator)(this,function(e){return(q(!0),$)?(tM(null),tB(t[0]),[2]):(tp(!0),[2])})}),function(t){return t0.apply(this,arguments)}),et=(t1=(0,s.Z)(function(t,e){var o;return(0,l.__generator)(this,function(s){switch(s.label){case 0:return[4,(0,k.t)(t,e)];case 1:return o=s.sent(),(0,L.c)("image_uploaded",{source_tool:H.appName,image_height:o.height,image_width:o.width,image_size:o.size,image_format:o.type,is_example_image:!0},[U.C.MS_ANALYTICS]),t7([o]),[2]}})}),function(t,e){return t1.apply(this,arguments)}),ee=(t2=(0,s.Z)(function(){var t;return(0,l.__generator)(this,function(e){switch(e.label){case 0:return[4,(0,O.BZ)()];case 1:if((t=e.sent()).error)return console.log(t.error),[2];return te(t.data.records),[2]}})}),function(){return t2.apply(this,arguments)}),eo=(t4=(0,s.Z)(function(){var t;return(0,l.__generator)(this,function(e){switch(e.label){case 0:return[4,(0,O.uN)()];case 1:if((t=e.sent()).error)return console.log(t.error),[2];return ts((0,R.t)(t.data.records,3)),[2]}})}),function(){return t4.apply(this,arguments)}),es=(t5=(0,s.Z)(function(){var t;return(0,l.__generator)(this,function(e){switch(e.label){case 0:return[4,(0,O.iB)()];case 1:if((t=e.sent()).error)return console.log(t.error),[2];return ti(t.data.records),[2]}})}),function(){return t5.apply(this,arguments)}),ea=(t8=(0,s.Z)(function(){var t,e,o,s,n;return(0,l.__generator)(this,function(l){switch(l.label){case 0:return[4,(0,O.GS)("generated_image",4,1)];case 1:if((s=l.sent()).error)return[2];return n={},null==s||null===(t=s.data)||void 0===t||t.products.map(function(t){n[t.id]=(0,i.Z)((0,a.Z)({},t.images[0]),{display_id:t.display_id,is_deleted:!1,id:t.id})}),tw(n),(null==s?void 0:null===(e=s.data)||void 0===e?void 0:e.products.length)||tj(!1),[2,null==s?void 0:null===(o=s.data)||void 0===o?void 0:o.products.length]}})}),function(){return t8.apply(this,arguments)}),ei=(t3=(0,s.Z)(function(){var t,e,o,s,n;return(0,l.__generator)(this,function(l){switch(l.label){case 0:return o=1,[4,(0,O.ZF)("generated_image","",8,o)];case 1:if((s=l.sent()).error)return[2];return n={},null==s||null===(t=s.data)||void 0===t||t.user_image_details.map(function(t){n[t.display_id]=(0,i.Z)((0,a.Z)({},t),{is_deleted:!1})}),tO(n),[2,null==s?void 0:null===(e=s.data)||void 0===e?void 0:e.user_image_details.length]}})}),function(){return t3.apply(this,arguments)});(0,d.useEffect)(function(){(t=(0,s.Z)(function(){var t;return(0,l.__generator)(this,function(e){switch(e.label){case 0:if(t=0,!localStorage.getItem("access-token"))return[3,3];return[4,ea()];case 1:return t=e.sent(),[4,ei()];case 2:e.sent(),e.label=3;case 3:return t_(!1),t||(ee(),eo(),es(),tj(!1)),[2]}})}),function(){return t.apply(this,arguments)})();for(var t,e=[],o=1;o<=8;
1o++)e.push("https://".concat("meta.magicstudio.com/assets","/wine-bottle-canvas-images/").concat(o,".webp")),tC(e);(0,B.z)()},[]),(0,d.useEffect)(function(){tZ&&!tF&&tR.push("/product-photos/review")},[tZ]);var el=(0,d.useRef)(),en=(0,d.useState)(0);en[0],en[1];var er,ec=(0,d.useState)(!1),ed=(ec[0],ec[1]);(0,d.useEffect)(function(){var t,e;return el.current&&(null==el?void 0:null===(t=el.current)||void 0===t?void 0:t.scrollWidth)===(null==el?void 0:null===(e=el.current)||void 0===e?void 0:e.offsetWidth)?ed(!0):ed(!1),function(){}},[null==el?void 0:null===(t=el.current)||void 0===t?void 0:t.scrollWidth,null==el?void 0:null===(e=el.current)||void 0===e?void 0:e.offsetWidth,]),(0,d.useEffect)(function(){tR.query.error&&th(!0)},[tR.query]),(0,d.useEffect)(function(){if($&&K){var t;tu(parseInt(null==$?void 0:null===(t=$.metadata)||void 0===t?void 0:t.canvas_free_images_limit)-parseInt(null==K?void 0:K.canvas_usage)||0)}},[$,K]);var eu,em,ex,ep=(er=(0,s.Z)(function(t,e){var o,s,n;return(0,l.__generator)(this,function(s){switch(s.label){case 0:return(o=(0,a.Z)({},tE))[e]=(0,i.Z)((0,a.Z)({},o[e]),{is_deleted:!0}),tw(o),[4,(0,O.oy)(t)];case 1:if(s.sent().error)return(n=(0,a.Z)({},tE))[e]=(0,i.Z)((0,a.Z)({},n[e]),{is_deleted:!1}),tw(n),[2];return ea(),[2]}})}),function(t,e){return er.apply(this,arguments)}),eg=(eu=(0,s.Z)(function(t,e){var o,s,n;return(0,l.__generator)(this,function(e){switch(e.label){case 0:return(o=(0,a.Z)({},tS))[t]=(0,i.Z)((0,a.Z)({},o[t]),{is_deleted:!0}),tO(o),[4,(0,O.eT)(t)];case 1:return e.sent().error&&((n=(0,a.Z)({},tS))[t]=(0,i.Z)((0,a.Z)({},n[t]),{is_deleted:!1}),tO(n)),[2]}})}),function(t,e){return eu.apply(this,arguments)}),ef=(em=(0,s.Z)(function(t,e,o,s,n){var r,c,d;return(0,l.__generator)(this,function(l){switch(l.label){case 0:return(r=(0,a.Z)({},tS))[t]=(0,i.Z)((0,a.Z)({},r[t]),{is_deleted:!1}),tO(r),[4,(0,O.EV)("generated_image",e,o,s,n)];case 1:return l.sent().error&&((d=(0,a.Z)({},tS))[t]=(0,i.Z)((0,a.Z)({},d[t]),{is_deleted:!0}),tO(d)),[2]}})}),function(t,e,o,s,a){return em.apply(this,arguments)}),eh=(ex=(0,s.Z)(function(t,e){var o;return(0,l.__generator)(this,function(s){switch(s.label){case 0:return(o=(0,a.Z)({},tE))[e]=(0,i.Z)((0,a.Z)({},o[e]),{is_deleted:!1}),tw(o),[4,(0,O.ng)([t])];case 1:return s.sent(),[2]}})}),function(t,e){return ex.apply(this,arguments)});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(M.Z,{appConfig:H}),(0,n.jsx)("div",{className:"min-h-screen flex flex-col justify-between ",children:(0,n.jsxs)("main",{className:"antialiased",children:[(0,n.jsx)(h.Z,{app:"product-photos"}),(0,n.jsxs)("div",{className:"max-w-5xl mx-auto px-4 mb-8 md:mb-16 mt-24 md:mt-32",children:[(0,n.jsxs)("div",{className:"flex flex-col items-start md:items-center",children:[(0,n.jsx)(w.H1,{text:tk("product-photos:HERO_TITLE_PREFIX")+"<br/>"+"<span class='bg-clip-text box-decoration-clone text-transparent bg-gradient-to-r from-product-photos-gradient-start via-product-photos-gradient-middle to-product-photos-gradient-end font-[550]'>".concat(tk("product-photos:HERO_TITLE_HIGHLIGHT"),"</span>")+"<br/>"+tk("product-photos:HERO_TITLE_SUFFIX"),classes:"text-left md:text-center max-w-4xl"}),(0,n.jsx)(w.v_,{text:tk("product-photos:HERO_SUBTITLE_PREFIX")+y.o1+tk("product-photos:HERO_SUBTITLE_SUFFIX"),classes:"mt-4 text-left md:text-center max-w-4xl"}),(0,n.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 mt-8 md:mt-12 w-full",children:[(0,n.jsxs)("div",{className:"flex flex-col justify-between gap-8",children:[(0,n.jsx)("div",{className:"flex flex-col h-full",children:(0,n.jsx)(b.Z,{app:"product-photos",toolForOnlyActiveSubscription:!1,openUpgradeNudge:J,onDrop:t7,error:tf?tk("product-photos:UPLOAD_ERROR_ON_BG_ERASE"):"",fileSelectBgGradientStart:"#F6F0EA",fileSelectBgGradientEnd:"#FFEBC3",appGradientStart:"#F5C05A",appGradientEnd:"#EB88B1"})}),y.$c&&(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-slate-800 text-base -tracking-[0.011em] md:text-lg md:-tracking-[0.014em] font-[350] antialiased",children:tk("common:EDITOR_CTA_EXAMPLES")}),(0,n.jsx)("div",{className:"flex flex-row md:flex-wrap items-center gap-2 mt-2 relative overflow-scroll scrollbar-hide",children:null===y.$c||void 0===y.$c?void 0:y.$c.map(function(t,e){return(0,n.jsxs)("div",{className:"relative cursor-pointer group",onClick:function(){et(null==t?void 0:t.url,null==t?void 0:t.name)},children:[(0,n.jsx)("img",{src:t.url,className:"object-cover w-20 md:w-20 h-12 md:h-14 roun
1ded-lg overflow-hidden relative",alt:t.alt}),(0,n.jsx)("div",{className:"bg-black absolute top-0 rounded-lg bg-opacity-30 group-hover:bg-opacity-10 w-full h-full flex items-center justify-center",children:(0,n.jsx)("i",{className:" isax isax-add text-white text-center text-3xl"})})]},e)})})]})]}),(0,n.jsx)("div",{className:"rounded-xl -z-10 max-w-lg w-full overflow-hidden",children:(0,n.jsx)(m(),{loop:!0,path:null==H?void 0:H.heroImageUrl,play:!0,speed:1})})]})]}),tT&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mt-16 flex flex-col",children:[(0,n.jsxs)("div",{className:"flex justify-between items-center",children:[(0,n.jsx)(w.H4,{text:tk("product-photos:RECENT_PRODUCTS_TITLE")}),Object.keys(tE).length>0&&(0,n.jsx)(g.SecondaryButtonSmall,{text:tk("product-photos:VIEW_ALL_CTA"),onClick:function(){return tR.push("/product-photos/library?tab=products")}})]}),0===Object.keys(tE).length?(0,n.jsxs)("div",{className:"mt-12 flex flex-col items-center",children:[(0,n.jsx)("p",{className:"mb-8 font-inter leading-6 -tracking-[0.015rem] text-primary text-base md:text-lg font-medium antialiased",children:tk("product-photos:RECENT_PRODUCTS_ZERO_CASE_TITLE")}),(0,n.jsx)("img",{src:"https://".concat("meta.magicstudio.com/assets","/zero-case-recent-products.png"),className:"object-contain max-w-xs"})]}):(0,n.jsx)("div",{className:"mt-8 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:Object.keys(tE).reverse().map(function(t,e){var o=tE[t];return(0,n.jsx)("div",{children:(0,n.jsx)(A.SavedProductsWithAction,{image:o,handleGenerate:tK,handleDelete:function(){ep(o.display_id,o.id)},handleSaveButton:eh},e)},e)})})]}),(0,n.jsxs)("div",{className:"mt-16 flex flex-col",children:[(0,n.jsxs)("div",{className:"flex justify-between items-center",children:[(0,n.jsx)(w.H4,{text:tk("product-photos:SAVED_PHOTOS_TITLE")}),Object.keys(tS).length>0&&(0,n.jsx)(g.SecondaryButtonSmall,{text:tk("product-photos:VIEW_ALL_CTA"),onClick:function(){return tR.push("/product-photos/library?tab=photos")}})]}),0===Object.keys(tS).length?(0,n.jsxs)("div",{className:"mt-12 flex flex-col items-center",children:[(0,n.jsxs)("p",{className:"mb-8 font-inter leading-6 -tracking-[0.015rem] text-primary text-base md:text-lg font-medium antialiased",children:[tk("product-photos:SAVED_PHOTOS_ZERO_CASE_TITLE_PREFIX"),(0,n.jsx)("span",{children:(0,n.jsx)("i",{className:"isax isax-archive-add text-primary mx-1.5 text-lg"})}),tk("product-photos:SAVED_PHOTOS_ZERO_CASE_TITLE_SUFFIX")]}),(0,n.jsx)("img",{src:"https://".concat("meta.magicstudio.com/assets","/zero-case-saved-images.png"),className:"object-contain max-w-xs"})]}):(0,n.jsx)("div",{className:"mt-8 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4",children:Object.keys(tS).map(function(t,e){var o=tS[t];return(0,n.jsx)("div",{children:(0,n.jsx)(A.SavedImageWithAction,{image:o,handleDelete:eg,handleDownload:t6,handleSaveButton:ef},o.display_id)},o.display_id)})})]})]})]}),(0,n.jsx)("div",{className:"my-16 md:my-32 px-4 max-w-5xl mx-auto",children:(0,n.jsx)(G.default,{app:X,steps:null==H?void 0:H.howItWorksSteps,localeSlug:null==H?void 0:H.localeSlug})}),(0,n.jsx)("div",{className:"my-16 md:my-32 px-4 mx-auto max-w-5xl",children:(0,n.jsxs)("div",{className:"flex flex-col items-start md:items-center",children:[(0,n.jsx)("i",{className:"mb-2 icon-sparkles text-xl bg-clip-text box-decoration-clone text-transparent bg-gradient-to-b from-product-photos-gradient-start via-product-photos-gradient-middle to-product-photos-gradient-end"}),(0,n.jsx)(w.H2,{text:tk("product-photos:BENEFIT1_TITLE")}),(0,n.jsx)(w.Eu,{text:tk("product-photos:BENEFIT1_SUBTITLE"),classes:"mt-4"}),(0,n.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-16 mt-8 md:mt-12",children:[(0,n.jsxs)("div",{className:"max-w-lg",children:[(0,n.jsxs)("div",{className:"font-tragicmarker text-xl md:text-2xl text-primary antialiased relative",children:[tk("product-photos:BENEFIT1_IMG1_TITLE"),(0,n.jsx)("img",{src:"https://".concat("meta.magicstudio.com/assets","/left-curve-arrow-down.svg"),className:"absolute",alt:"Arrow down",loading:"lazy"})]}),(0,n.jsx)("img",{src:"https://".concat("meta.magicstudio.com/assets","/photoshoot.png"),className:"rounded-2xl mt-8",alt:"Photoshoot",loading:"lazy"})]}),(0,n.jsxs)("div",{className:"max-w-lg",children:[(0,n.jsxs)("div",{className:"font-tragicmarker text-xl md:text-2xl text-primary antialiased relative",children:[(0,n.jsx)("span",{className:"bg-clip-text box-decoration-clone text-transparent bg-gradient-to-r from-product-photos-gradient-start via-product-photos-gradient-middle to-product-photos-gradient-end",children:"Canvas -"})," ",tk("product-photos:BENEFIT1_IMG2_TITLE"),(0,n.jsx)("img",{src:"https://".concat("meta.magicstudio.com/assets","/left-curve-arrow-down.svg"),className:"absolute",alt:"Arrow down",loading:"lazy"})]}),(0,n.jsx)("img",{src:"https://".concat("meta.magicstudio.com/assets","/canvas-way-photo.webp"),className:"rounded-xl mt-8",alt:"canvas way",loading:"lazy"})]})]})]})}),(0,n.jsx)("div",{className:"my-16 md:my-32 px-4 mx-auto max-w-5xl",children:(0,n.jsxs)("div",{className:"flex flex-col items-start md:items-center",children:[(0,n.jsx)("i",{className:"mb-2 icon-sparkles text-xl bg-clip-text box-decoration-clone text-transparent bg-gradient-to-b from-product-photos-gradient-start via-product-photos-gradient-middle to-product-photos-gradient-end"}),(0,n.jsx)(w.H2,{text:tk("product-photos:BENEFIT2_TITLE")}),(0,n.jsx)(w.Eu,{text:tk("product-photos:BENEFIT2_SUBTITLE"),classes:"mt-4"}),(0,n.jsx)("div",{className:"mt-8",children:(0,n.jsx)("img",{src:"https://".concat("meta.magicstudio.com/assets","/shoes-ecom-website.png"),alt:"product photos drive sales",className:"rounded-2xl",loading:"lazy"})})]})}),(0,n.jsx)("div",{className:"my-16 md:my-32 px-4 mx-auto max-w-5xl",children:(0,n.jsxs)("div",{className:"flex flex-col items-start md:items-center",children:[(0,n.jsx)("i",{className:"mb-2 icon-sparkles text-xl bg-clip-text box-decoration-clone text-transparent bg-gradient-to-b from-product-photos-gradient-start via-product-photos-gradient-middle to-product-photos-gradient-end"}),(0,n.jsx)(w.H2,{text:tk("product-photos:BENEFIT3_TITLE")}),(0,n.jsx)(w.Eu,{text:tk("product-photos:BENEFIT3_SUBTITLE"),classes:"mt-4"}),(0,n.jsx)("div",{className:"mt-8 sm:grid sm:grid-cols-4 gap-4 hidden",children:null==tL?void 0:tL.map(function(t,e){return(0,n.jsx)("div",{children:(0,n.jsx)("img",{src:t,alt:"product photos",className:"rounded-xl"})},e)})}),(0,n.jsx)("div",{className:"mt-8 grid grid-cols-2 sm:hidden gap-4",children:null==tL?void 0:tL.map(function(t,e){return e>3?null:(0,n.jsx)("div",{children:(0,n.jsx)("img",{src:t,alt:"product photos",className:"rounded-xl"})},e)})})]})}),(0,n.jsx)("div",{className:"my-16 md:my-32 px-4",children:(0,n.jsx)(E.default,{app:"product-photos"})}),(0,n.jsx)("div",{className:"mx-auto max-w-5xl px-4 mt-8 md:my-16",children:(0,n.jsxs)("div",{className:"flex flex-col items-start md:items-center",children:[(0,n.jsx)(w.H2,{text:tk("product-photos:USE_CASES_TITLE")}),(0,n.jsx)("div",{className:"mt-8 overflow-hidden w-full",children:(0,n.jsx)("div",{className:"flex flex-nowrap md:flex-wrap items-center md:justify-center overflow-x-scroll scrollbar-hide gap-3",children:null==H?void 0:H.useCases.map(function(t){return(0,n.jsx)("div",{className:"".concat(tn===t.index?"bg-gradient-to-r from-product-photos-gradient-start via-product-photos-gradient-middle to-product-photos-gradient-end":"bg-primary-light"," p-[0.0625rem] rounded-full shrink-0"),children:(0,n.jsx)("button",{className:"".concat(tn===t.index?"text-primary font-medium":"text-primary font-normal"," bg-white rounded-full py-2 px-4 font-inter text-sm md:text-base -tracking-[0.009rem] md:-tracking-[0.011rem] antialiased flex shrink-0"),onClick:function(){return tr(t.index)},children:tk("".concat(t.for))})},t.index)})})}),(0,n.jsx)("div",{className:"flex flex-col items-center",children:(0,n.jsx)("img",{src:null===(o=null==H?void 0:H.useCases.filter(function(t){return t.index===tn})[0])||void 0===o?void 0:o.imgUrl,alt:"example-images",loading:"lazy"})})]})}),(null==K?void 0:K.status)!=="active"&&(0,n.jsxs)("div",{className:"mx-auto max-w-5xl px-4 mt-8 md:my-16",children:[(0,n.jsxs)("div",{className:"mb-8 flex flex-col items-start md:items-center",children:[!$&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("i",{className:"mb-2 icon-sparkles text-xl bg-clip-text box-decoration-clone text-transparent bg-gradient-to-b from-product-photos-gradient-start via-product-photos-gradient-middle to-product-photos-gradient-end"}),(0,n.jsx)(w.H2,{text:"".concat(tk("product-photos:PRICING_NON_LOGGED_IN_TITLE_PREFIX")).concat(y.o1).c
1oncat(tk("product-photos:PRICING_NON_LOGGED_IN_TITLE_SUFFIX"))}),(0,n.jsx)(w.Eu,{text:tk("product-photos:PRICING_NON_LOGGED_IN_SUBTITLE"),classes:"mt-4"})]}),$&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("i",{className:"mb-2 icon-sparkles text-xl bg-clip-text box-decoration-clone text-transparent bg-gradient-to-b from-product-photos-gradient-start via-product-photos-gradient-middle to-product-photos-gradient-end"}),td>0?(0,n.jsx)(w.H2,{text:"".concat(tk("product-photos:PRICING_IMAGES_LEFT_TITLE_PREFIX")).concat(td).concat(tk("product-photos:PRICING_IMAGES_LEFT_TITLE_SUFFIX"))}):(0,n.jsx)(w.H2,{text:tk("product-photos:PRICING_ZERO_IMAGES_LEFT_TITLE")}),(0,n.jsx)(w.Eu,{text:tk("product-photos:PRICING_NON_LOGGED_IN_SUBTITLE"),classes:"mt-4"})]})]}),(0,n.jsx)("div",{className:"flex flex-col items-center p-8 rounded-[1.75rem] bg-cover bg-no-repeat bg-[url('/assets/bg-api-mobile-3x.png')] md:bg-[url('/assets/bg-api-3x.png')]",children:(0,n.jsx)(v.ZP,{source:"canvas_home",isModal:"false"})})]}),(0,n.jsx)("div",{className:"mx-auto max-w-5xl px-4 mt-8 md:my-16",children:(0,n.jsx)(F.default,{localeSlug:"product-photos",faqList:null==H?void 0:H.faq})}),(0,n.jsx)("div",{className:"mx-auto max-w-5xl px-4 mt-8 md:my-16",children:(0,n.jsxs)("div",{className:"flex flex-col items-start md:items-center",children:[(0,n.jsx)("i",{className:"mb-2 icon-sparkles text-xl bg-clip-text box-decoration-clone text-transparent bg-gradient-to-b from-product-photos-gradient-start via-product-photos-gradient-middle to-product-photos-gradient-end"}),(0,n.jsx)(w.H2,{text:tk("product-photos:JOIN_COMMUNITY_TITLE")}),(0,n.jsx)(w.Eu,{text:tk("product-photos:JOIN_COMMUNITY_SUBTITLE_LINE1")+"<br />"+tk("product-photos:JOIN_COMMUNITY_SUBTITLE_LINE2"),classes:"mt-4"}),(0,n.jsx)("div",{className:"mt-8 w-full flex justify-center",children:(0,n.jsx)(g.PrimaryButton,{text:tk("product-photos:JOIN_COMMUNITY_FB_CTA"),onClick:function(){return window.open("https://www.facebook.com/groups/productphotos/","_blank")}})})]})}),(0,n.jsx)("div",{className:"my-16 md:my-32 px-4",children:(0,n.jsx)(p.default,{app:"product-photos"})}),tx&&(0,n.jsx)(N.Z,{isModalOpen:tx,setIsModalOpen:tp,from:"product-photos"}),(0,n.jsx)(T.default,{}),tV&&tz&&(0,n.jsx)(f.Z,{setIsDownloadModalOpen:tJ,isDownloadModalOpen:tV,download:t9,image:tz,originalImage:tz,resizedImage:tz,setIsMobileDownloadModalOpen:tJ,canvasUsage:null==K?void 0:K.canvas_usage,totalFree:null==$?void 0:null===(u=$.metadata)||void 0===u?void 0:u.canvas_free_images_limit}),tP&&(0,n.jsx)(j.Z,{app:"product-photos",isImageDownloadLoaderOpen:tP,image:tz}),tq&&(0,n.jsx)(_.Z,{image:tz,subscription:K,app:"product-photos",setIsMobileDownloadModalOpen:tQ}),(null==$?void 0:null===(P=$.metadata)||void 0===P?void 0:null===(D=P.config)||void 0===D?void 0:D.show_user_persona_modal)==="SHOW"&&(0,n.jsx)(Z.default,{userId:null==$?void 0:$.id})]})})]})}},36846:function(t,e,o){"use strict";o.d(e,{z:function(){return s}});var s=function(){var t=new URLSearchParams(window.location.search),e=btoa(t.toString());e.length>0&&localStorage.setItem("td",e)}},12374:function(t,e,o){"use strict";function s(t,e){for(var o=[],s=0;s<e;s++)o.push([]);for(var a=0;a<t.length;a++)o[a%e].push(t[a]);return o}o.d(e,{t:function(){return s}})},69170:function(t,e,o){"use strict";o.d(e,{Z:function(){return l}});var s=o(70253),a=o(33736),i=o(34769);function l(t){return function(t){if(Array.isArray(t))return(0,s.Z)(t)}(t)||(0,a.Z)(t)||(0,i.Z)(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},24058:function(t,e,o){"use strict";o.d(e,{Z:function(){return l}});var s=o(16660),a=o(54962),i=o(72568);function l(t){let{size:e=80,color:o="black",lineWeight:i=5,speed:l=1.75}=t;return(0,a.Z)("LineWobble","size",e,"number"),(0,a.Z)("LineWobble","color",o,"string"),(0,a.Z)("LineWobble","speed",l,"number"),(0,a.Z)("LineWobble","lineWeight",i,"number"),s.createElement("div",{className:"LineWobble-module_container__IkLcd",style:{"--uib-size":e+"px","--uib-color":o,"--uib-line-weight":i+"px","--uib-speed":l+"s"}})}(0,i.s)('.LineWobble-module_container__IkLcd{align-items:center;border-radius:calc(var(--uib-line-weight)/2);display:flex;height:var(--uib-line-weight);justify-content:center;overflow:hidden;position:relative;transform:translateZ(0);width:var(--uib-size)}.LineWobble-module_container__IkLcd:before{background-color:var(--uib-color);content:"";height:100%;left:0;opacity:.1;position:absolute;top:0;width:100%}.LineWobble-module_container__IkLcd:after{animation:LineWobble-module_wobble__XpxDM var(--uib-speed) ease-in-out infinite;background-color:var(--uib-color);border-radius:calc(var(--uib-line-weight)/2);content:"";height:100%;transform:translateX(-95%);width:100%}@keyframes LineWobble-module_wobble__XpxDM{0%,to{transform:translateX(-95%)}50%{transform:translateX(95%)}}')},70612:function(t,e,o){"use strict";o.d(e,{Z:function(){return l}});var s=o(16660),a=o(54962),i=o(72568);function l(t){let{size:e=40,color:o="black",lineWeight:i=5,speed:l=2}=t;return(0,a.Z)("Ring","size",e,"number"),(0,a.Z)("Ring","color",o,"string"),(0,a.Z)("Ring","lineWeight",i,"number"),(0,a.Z)("Ring","speed",l,"number"),s.createElement("svg",{height:e,width:e,className:"Ring-module_container__1mCd7",viewBox:"25 25 50 50",style:{"--uib-size":e+"px","--uib-color":o,"--uib-speed":l+"s"}},s.createElement("circle",{cx:"50",cy:"50",r:"20",strokeWidth:i,fill:"none"}))}(0,i.s)(".Ring-module_container__1mCd7{animation:Ring-module_rotate__RBwLl var(--uib-speed) linear infinite;height:var(--uib-size);transform-origin:center;vertical-align:middle;width:var(--uib-size);will-change:transform}.Ring-module_container__1mCd7 circle{fill:none;stroke:var(--uib-color);stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round;animation:Ring-module_stretch__L-1Qd calc(var(--uib-speed)*.75) ease-in-out infinite;will-change:stroke-dasharray,stroke-dashoffset}@keyframes Ring-module_rotate__RBwLl{to{transform:rotate(1turn)}}@keyframes Ring-module_stretch__L-1Qd{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,200;stroke-dashoffset:-35px}to{stroke-dashoffset:-124px}}")}},function(t){t.O(0,[3143,3593,2799,6215,1439,5260,735,388,9620,8877,5467,6974,1115,3085,9774,2888,179],function(){return t(t.s=57324)}),_N_E=t.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.