PageSourceSearch

https://photocat.com/_next/static/chunks/3208.ef2c467b91befbeb.js

js photocat.com collected 2026-10-02 05:00:58 UTC 12,222 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0daeedef-ab33-467f-9013-7766c1e11679",e._sentryDebugIdIdentifier="sentry-dbid-0daeedef-ab33-467f-9013-7766c1e11679")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3208],{39374:function(e,t,l){var n,a,r=l(75271);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}t.Z=function(e){return r.createElement("svg",o({width:"1em",height:"1em",viewBox:"0 0 18 19",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor"},e),n||(n=r.createElement("path",{d:"M1 9.51172H17",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"})),a||(a=r.createElement("path",{d:"M9 1.51172L9 17.5117",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round"})))}},36029:function(e,t,l){var n=l(52676),a=l(52890),r=l(81076),o=l(76245);t.Z=e=>{let{title:t,content:l,hasBg:s,onUpload:c,onDownload:i,downloadBtn:d,uploadBtn:u}=e,x=(0,r.ZP)();return(0,n.jsx)("div",{className:(0,a.cn)("relative mx-auto flex w-full flex-col items-center gap-20 bg-[#171815] px-6 py-20","xmd:py-[50px] cmd:px-4"),children:(0,n.jsxs)("div",{className:(0,a.cn)("relative inset-0 flex w-full max-w-[1200px] items-center justify-between gap-10 overflow-hidden rounded-[30px] bg-[#2D322B] p-10 lg:p-[40px_60px]","mobile:px-5 mobile:py-[30px] mobile:flex-col mobile:items-center mobile:gap-[30px]s"),children:[(0,n.jsx)(o.Z,{src:"/image/call-to-action-bg".concat(x?"-mobile":""),alt:"Call to Action",className:"absolute inset-0 h-full w-full object-cover",fill:!0}),(0,n.jsxs)("div",{className:"z-5 flex flex-col gap-2.5",children:[(0,n.jsx)("h2",{className:(0,a.cn)("text-[46px] font-bold leading-[1.2] tracking-[-0.02em] text-white","mobile:text-[36px] mobile:leading-[1.1] mobile:tracking-[-0.72px] mobile:text-center"),dangerouslySetInnerHTML:{__html:t}}),(0,n.jsx)("p",{className:(0,a.cn)("max-w-[480px] text-[22px] leading-[1.5] tracking-[-0.02em] text-white","mobile:text-lg mobile:leading-[1.3] mobile:tracking-[-0.36px] mobile:text-center"),children:l})]}),(0,n.jsxs)("div",{className:(0,a.cn)("z-5 flex flex-col gap-5","mobile:gap-[10px]"),children:[(0,n.jsx)("button",{onClick:c,className:"h-[62px] w-[280px] rounded-full bg-black text-[20px] font-semibold text-white",children:u}),(0,n.jsx)("button",{onClick:i,className:"bg-primary-gradient h-[62px] w-[280px] rounded-full text-[20px] font-semibold text-[var(--c-text-intro-upload-btn)]",children:d})]})]})})}},4702:function(e,t,l){l.d(t,{l:function(){return r},Z:function(){return j}});var n,a,r,o=l(52676),s=l(52890),c=l(75271);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e}).apply(null,arguments)}var d=function(e){return c.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 20 21",fill:"currentColor"},e),a||(a=c.createElement("path",{d:"M2 11H18",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round"})))},u=e=>{let{q:t,a:l,defaultOpen:n}=e,[a,r]=(0,c.useState)(n||!1),[i,u]=(0,c.useState)(0),x=(0,c.createRef)();return(0,c.useEffect)(()=>{if(n){var e;let t=null===(e=x.current)||void 0===e?void 0:e.scrollHeight;u(t||0)}},[n,l,x]),(0,o.jsxs)("div",{className:"flex h-auto w-full cursor-pointer select-none flex-col items-start justify-start gap-[10px] py-5",onClick:()=>{var e;let t=null===(e=x.current)||void 0===e?void 0:e.scrollHeight;u(t||0),r(!a)},children:[(0,o.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,o.jsx)("h3",{className:"mobile:text-base mobile:leading-normal text-[22px] font-semibold leading-normal text-[var(--text-black)]",style:{width:"calc(100% - 20px)"},children:t}),(0,o.jsxs)("div",{className:"text-primary relative h-5 w-5",children:[(0,o.jsx)(d,{className:"text-primary h-5 w-5"}),(0,o.jsx)(d,{className:(0,s.cn)("absolute left-0 top-0 h-5 w-5 transition-transform",a?"rotate-0":"-rotate-90")})]})]}),(0,o.jsx)("div",{className:"mobile:text-xs w-full overflow-hidden text-lg font-normal leading-normal text-[var(--c-text-grey2)] transition-all",ref:x,style:{height:a?"".concat(i,"px"):0,wordWrap:"break-word"},children:l}),(0,o.jsx)("div",{className:"mt-6 h-[1px] w-full bg-[var(--paq-border-bg)]"})]})},x=l(62284),m=l.n(x),p=e=>{let{faqList:t,title:l}=e;return(0,o.jsxs)("div",{className:(0,s.cn)(m().main_1200,"cmd:px-4 xmd:py-[50px] h-auto w-full px-6 py-14"),children:[(0,o.jsx)("h2",{className:"mobile:mb-5 mobile:text-[26px] m-auto mb-[60px] w-full max-w-5xl text-center text-5xl font-bold leading-normal text-[var(--text-black)]",dangerouslySetInnerHTML:{__html:l}}),(0,o.jsx)("div",{children:t.map((e,t)=>(0,o.jsx)(u,{q:e.q,a:e.a,defaultOpen:e.defaultOpen},t))})]})},f=l(4814),h=l(23545),b=l(39374),g=l(16079);let v=e=>{let{faq:t}=e,[l,n]=(0,c.useState)(t.defaultOpen);return(0,o.jsxs)("div",{className:"py-6",children:[(0,o.jsxs)("div",{className:"flex cursor-pointer items-center justify-between gap-5",onClick:()=>n(!l),children:[(0,o.jsx)("h3",{className:"leading-1.2 flex-1 gap-5 text-lg font-semibold text-white lg:text-[22px]",children:t.q}),(0,o.jsx)("div",{className:(0,f.Z)("text-primary flex h-[2.25rem] w-[2.875rem] items-center justify-center rounded-[0.625rem] border-[0.125rem] border-solid border-[var(--theme-color)] lg:hover:bg-[var(--all-tools-bg-color)]",l&&"border-none 
1!bg-[var(--all-tools-bg-color)]"),children:(0,o.jsx)(b.Z,{className:(0,f.Z)("h-[1rem] w-[1rem] transition-transform duration-200 ease-linear",l&&"rotate-45")})})]}),l&&(0,o.jsx)("p",{className:(0,f.Z)("mt-2.5 text-lg leading-normal text-[var(--text-grey-1)]"),dangerouslySetInnerHTML:{__html:t.a}}),(0,o.jsx)("div",{className:"mt-6 h-[1px] w-full bg-[var(--paq-border-bg)]"})]})};var w=e=>{let{faqList:t,title:l}=e,[n,a]=(0,c.useState)(!1);return(0,o.jsx)("section",{className:"overflow-x-hidden",children:(0,o.jsx)("div",{className:(0,s.cn)(m().main,"h-auto w-full px-6 py-20","cmd:px-4 xmd:py-[50px]"),children:(0,o.jsxs)("div",{className:"mx-auto max-w-[1200px]",children:[(0,o.jsx)("h2",{className:"text-center text-3xl font-bold leading-normal text-white lg:text-[42px] lg:leading-[1.2]",children:l}),(0,o.jsxs)("div",{className:"relative mt-5 lg:mt-[60px]",children:[t.slice(0,n?t.length:5).map((e,t)=>(0,o.jsx)(v,{faq:e},t)),!n&&(0,o.jsx)("div",{className:"bg-show-more pointer-events-none absolute bottom-0 left-[50%] h-[168px] w-[100vw] -translate-x-[50%]"})]}),!n&&(0,o.jsx)(g.Oz,{className:"mx-auto mt-[60px] flex cursor-pointer items-center justify-center rounded-full text-[1.375rem] font-semibold transition-transform hover:scale-[1.1]",onClick:()=>a(!0),children:(0,h.t)("gen.show.more")})]})})})};(n=r||(r={})).faq1="faq1",n.faq2="faq2";var j=e=>{let{type:t,faqList:l,title:n}=e;return t===r.faq1?(0,o.jsx)(p,{faqList:l,title:n}):t===r.faq2?(0,o.jsx)(w,{faqList:l,title:n}):null}},16079:function(e,t,l){l.d(t,{Oz:function(){return d},r1:function(){return i}});var n=l(52676),a=l(75271),r=l(36810),o=l.n(r),s=l(52890);let c=e=>{let{src:t,...l}=e;return"string"==typeof t?(0,n.jsx)("img",{src:t,...l}):(0,n.jsx)(o(),{src:t,...l})},i=e=>{let{before:t,after:l,className:a}=e;return(0,n.jsxs)("div",{className:(0,s.cn)("relative",a),children:[(0,n.jsx)(c,{src:t,alt:"",className:"h-full w-full rounded-[20px] object-cover"}),(0,n.jsx)(c,{src:l,alt:"",className:"absolute left-0 right-0 top-0 h-full w-full rounded-[20px] object-cover",style:{willChange:"clip-path, transition",clipPath:"polygon(".concat(50,"% 0%, 100% 0%, 100% 100%, ").concat(50,"% 100%)")}}),(0,n.jsx)("div",{className:"absolute top-0 h-full w-[2px] bg-white",style:{left:"".concat(50,"%")}})]})},d=e=>{let{children:t,className:l,style:r,onClick:o}=e,c=(0,a.useCallback)(()=>{o?null==o||o():document.documentElement.scrollTo({top:0,behavior:"smooth"})},[o]);return(0,n.jsx)("button",{type:"button",className:(0,s.cn)("bg-primary-gradient rounded-full px-[60px] py-[10px] text-[20px] font-semibold text-[var(--c-text-intro-upload-btn)]",l),onClick:c,style:r,children:t})}},15576:function(e,t,l){l.d(t,{SF:function(){return r},Vl:function(){return a},rq:function(){return o}});var n=l(75271);t.ZP=e=>{let{ref:t,callback:l}=e;(0,n.useEffect)(()=>{let e=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&(null==l||l(),e.disconnect())})});return t.current&&e.observe(t.current),()=>{e.disconnect()}},[l,t])};let a=e=>{let t=(0,n.useRef)(new Map),l=(0,n.useCallback)((l,n,a)=>{var r;let o=t.current.get(n);if(null==l){o.observer.disconnect(),o.el=void 0,o.meta=a;return}if(null==o?void 0:o.exposed){o.el=l,o.meta=a;return}let s=null!==(r=null==o?void 0:o.observer)&&void 0!==r?r:new IntersectionObserver(l=>{l.forEach(l=>{let a=t.current.get(n);l.isIntersecting&&!(null==a?void 0:a.exposed)&&(null==e||e(l.target,null==a?void 0:a.meta),s.disconnect(),t.current.get(n)&&(t.current.get(n).exposed=!0))})});(null==o?void 0:o.el)!==l&&((null==o?void 0:o.el)&&s.unobserve(null==o?void 0:o.el),s.observe(l));let c={...o,meta:a,el:l,observer:s};t.current.set(n,c)},[e]);return[t,l]},r=function(e){let t,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=[];return a=>{n.push(a),void 0===t&&(t=setTimeout(()=>{e(n),n=[],clearInterval(t),t=void 0},l))}},o=(e,t)=>{let l=e.reduce((e,l)=>{var n;let a=t(l),r=a.length+1,o=null!==(n=e[e.length-1])&&void 0!==n?n:{slice:[],count:0};return o.count+r>100?[...e,{slice:[l],count:a.length}]:(o.count+=r,o.slice.push(l),0===e.length?[o]:e)},[]);return l.map(e=>e.slice)}},13208:function(e,t,l){l.r(t),l.d(t,{ToolLanding:function(){return k}});var n=l(52676),a=l(52234),r=l.n(a),o=l(75271),s=l(23545),c=l(11729),i=l(34758),d=l(81076),u=l(15576),x=l(75491),m=l(65051),p=l(89182),f=l(22971),h=l(36029),b=l(4702),g=l(76916);let v=r()(()=>l.e(9370).then(l.bind(l,79370)),{loadableGenerated:{webpack:()=>[79370]},ssr:!1}),w=r()(()=>l.e(6313).then(l.bind(l,6313)),{loadableGenerated:{webpack:()=>[6313]},ssr:!1}),j=r()(()=>l.e(1890).then(l.bind(l,91890)),{loadableGenerated:{webpack:()=>[91890]},ssr:!1}),y=r()(()=>l.e(674).then(l.bind(l,10674)),{loadableGenerated:{webpack:()=>[10674]},ssr:!1}),k=()=>{var e;let t=c.Z2[i.lS.AiEnhanceUltra],{report:l}=(0,x.n)(),a=(0,d.ZP)(),r=(0,f.useRouter)(),{type:k}=r.query,q=(0,o.useRef)(null),N=a?m.B_.DOWNLOAD_EXPOSURE:m.B_.DOWNLOAD_EXPOSURE_STORE;(0,u.ZP)({ref:q,callback:()=>{l(N,{position:i.MU[i.lS.AiEnhanceUltra],scene_id:k})}});let B=(0,p.A)({title:"".concat(g.Bq,".what2.h2"),content:"".concat(g.Bq,".what2.content"),url:"".concat(g.Bq,".what2.image")}),_=(0,p.A)({step:"".concat(g.Bq,".how2.title"),content:"".concat(g.Bq,".how2.content")}),E=null===(e=(0,p.A)({q:"".concat(g.Bq,".faq.h3"),a:"".concat(g.Bq,".faq.content")}))||void 0===e?void 0:e.map((e,t)=>({...e,defaultOpen:t<2})),O=(0,p.A)("".concat(g.Bq,".tools.link")),C=(0,p.A)("".concat(g.Bq,".explore.link"));return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v,{whatList:B,adjustLink:t,imgAlt:(0,s.t)("".concat(g.Bq,".img.alt.1")),uploadBtn:(0,s.t)("img.enhancer.calltoaction1.button.try")}),(0,n.jsx)(w,{howList:_,title:(0,s.t)("".concat(g.Bq,".how2.h2")),url:(0,s.t)("".concat(g.Bq,".how2.
1image")),layout:"left",imgAlt:(0,s.t)("".concat(g.Bq,".img.alt.1"))}),(0,n.jsx)(b.Z,{type:b.l.faq2,title:(0,s.t)("".concat(g.Bq,".faq.h2")),faqList:E}),(0,n.jsx)(j,{title:(0,s.t)("".concat(g.Bq,".tools.h2")),links:O}),(0,n.jsx)(h.Z,{title:(0,s.t)("".concat(g.Bq,".calltoaction1.h2")),content:(0,s.t)("".concat(g.Bq,".calltoaction1.content")),onUpload:()=>{document.documentElement.scrollTo({top:0,behavior:"smooth"})},onDownload:()=>{window.open(t,"_blank"),l("".concat(a?"download_click":"download_click_store"),{position:i.MU[i.lS.AiEnhanceUltra]})},downloadBtn:(0,s.t)("".concat(g.Bq,".calltoaction1.button.download")),uploadBtn:(0,s.t)("".concat(g.Bq,".calltoaction1.button.try"))}),C.length?(0,n.jsx)(y,{title:(0,s.t)("".concat(g.Bq,".explore.h2")),links:C}):null]})}}}]);

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.