PageSourceSearch

https://www.arleen.ai/_next/static/chunks/app/page-b83416e177616a42.js

js arleen.ai collected 2026-10-05 15:19:47 UTC 12,050 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{68262:function(e,t,r){Promise.resolve().then(r.bind(r,72538)),Promise.resolve().then(r.bind(r,60809)),Promise.resolve().then(r.bind(r,87736)),Promise.resolve().then(r.bind(r,96246)),Promise.resolve().then(r.bind(r,12381))},72538:function(e,t,r){"use strict";r.d(t,{default:function(){return o}});var n=r(57437),i=r(29),s=r.n(i),a=r(55498),l=r(2265);function o(e){let{beforeSrc:t="/images/before.webp",afterSrc:r="/images/after.webp",beforeAlt:i="Original photo before AI redesign",afterAlt:o="AI redesigned photo",className:c="h-full w-full",imageFit:d="cover",imagePosition:u="center",showLabels:f=!1}=e,[h,m]=(0,l.useState)(50),[p,v]=(0,l.useState)(!1),x=(0,l.useRef)(null),g=(0,l.useCallback)(e=>{if(!x.current||!p)return;let t=x.current.getBoundingClientRect();m(Math.max(0,Math.min(100,(e.clientX-t.left)/t.width*100)))},[p]),b=(0,l.useCallback)(()=>{v(!0)},[]),w=(0,l.useCallback)(()=>{v(!1)},[]);return(0,n.jsxs)("div",{ref:x,style:{position:"relative",width:"100%",height:"100%"},onMouseMove:g,onMouseEnter:b,onMouseLeave:w,className:"jsx-a4c748ef3d1572ed "+"".concat(c," compare-slider-custom-wrapper"),children:[(0,n.jsx)(a.vx,{position:h,onPositionChange:m,itemOne:(0,n.jsxs)("div",{style:{position:"relative",width:"100%",height:"100%"},className:"jsx-a4c748ef3d1572ed",children:[(0,n.jsx)(a.ps,{src:t,alt:i,style:{objectFit:d,objectPosition:u,width:"100%",height:"100%"}}),f&&h>6&&(0,n.jsx)("span",{style:{position:"absolute",top:8,left:12,zIndex:2,color:"white",background:"rgba(0,0,0,0.55)",padding:"2px 10px",borderRadius:6,fontSize:14,fontWeight:600,letterSpacing:1,pointerEvents:"none",userSelect:"none"},className:"jsx-a4c748ef3d1572ed",children:"Before"})]}),itemTwo:(0,n.jsxs)("div",{style:{position:"relative",width:"100%",height:"100%"},className:"jsx-a4c748ef3d1572ed",children:[(0,n.jsx)(a.ps,{src:r,alt:o,style:{objectFit:d,objectPosition:u,width:"100%",height:"100%"}}),f&&(0,n.jsx)("span",{style:{position:"absolute",top:8,right:12,zIndex:2,color:"white",background:"rgba(0,0,0,0.55)",padding:"2px 10px",borderRadius:6,fontSize:14,fontWeight:600,letterSpacing:1,pointerEvents:"none",userSelect:"none"},className:"jsx-a4c748ef3d1572ed",children:"After"})]}),className:"h-full w-full internal-react-compare-slider"}),(0,n.jsx)(s(),{id:"a4c748ef3d1572ed",children:".compare-slider-custom-wrapper .internal-react-compare-slider{pointer-events:none}.compare-slider-custom-wrapper .internal-react-compare-slider .react-compare-slider__handle{pointer-events:auto!important}"})]})}},60809:function(e,t,r){"use strict";var n=r(57437),i=r(2265),s=r(99376),a=r(72538),l=r(12381);t.default=e=>{let{featureGridItems:t}=e,r=(0,s.useRouter)(),o=(0,i.useRef)(!1),c=(0,i.useRef)({x:0,y:0}),[d,u]=(0,i.useState)(!1),f=(0,i.useRef)([]),[h,m]=(0,i.useState)([]);(0,i.useEffect)(()=>{let e=()=>{u(window.innerWidth<640)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,i.useEffect)(()=>{if(!d){m([]);return}let e=!1,t=()=>{e||(window.requestAnimationFrame(()=>{m(f.current.map(e=>{if(!e)return 1;let t=e.getBoundingClientRect(),r=window.innerHeight;return 1+.05*(1-Math.abs(Math.min(Math.max((t.top+t.height/2)/r,0),1)-.5)/.5)})),e=!1}),e=!0)};return t(),window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[d,t.length]);let p=e=>{let t=Math.abs(e.clientX-c.current.x),r=Math.abs(e.clientY-c.current.y);(t>5||r>5)&&(o.current=!0)},v=()=>{document.removeEventListener("mousemove",p),document.removeEventListener("mouseup",v)};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"grid grid-cols-1 gap-6 min-[960px]:grid-cols-4",children:t.map((e,t)=>{if(t>=4)return null;let i="draw"===e.id,s="";"draw"===e.id?s="order-1 min-[960px]:order-2":"interior"===e.id?s="order-2 min-[960px]:order-1":"quote"===e.id&&(s="order-3 min-[960px]:order-3");let o="bg-purple-800 rounded-2xl overflow-hidden h-full flex flex-col transition-all duration-300 ease-in-out group hover:shadow-2xl focus:outline-none focus:ring-2 focus:ring-violet-400/80 focus:ring-offset-2 focus:ring-offset-violet-900 ".concat(i?"min-[960px]:col-span-2":""," ").concat(s).trim(),c="w-full h-80 overflow-hidden relative flex";d&&void 0!==h[t]&&h[t];let u=d&&void 0!==h[t]?h[t]:1;if("draw"===e.id){let i=e=>{let t=e.target,n=!1;for(;t&&t!==e.currentTarget;){if(t.hasAttribute("data-action")||"BUTTON"===t.tagName||"A"===t.tagName||"button"===t.getAttribute("role")){n=!0;break}t=t.parentElement}n||r.push("/visual-prompt")};return(0,n.jsxs)("div",{tabIndex:0,className:o+" hover:bg-purple-900 cursor-pointer",ref:e=>{f.current[t]=e},onClick:i,role:"button","aria-label":e.title,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&i(e)},children:[(0,n.jsx)("div",{className:c+" relative p-0 m-0",style:{padding:0,margin:0},children:(0,n.jsx)("div",{style:{position:"absolute",inset:0,width:"100%",height:"100%",overflow:"hidden"},children:(0,n.jsx)("video",{src:"/videos/canvas.mp4",preload:"auto",playsInl
1ine:!0,autoPlay:!0,muted:!0,loop:!0,style:{width:"100%",height:"100%",objectFit:"cover",display:"block"},poster:e.beforeSrc,"aria-label":e.title})})}),(0,n.jsxs)("div",{className:"p-4 text-center",children:[(0,n.jsx)("h3",{className:"font-semibold text-xl mb-2 truncate",style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.title}),(0,n.jsx)("p",{className:"text-gray-200 text-sm truncate",style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.description})]}),(0,n.jsx)("div",{className:"p-4 flex justify-center",children:(0,n.jsx)(l.Button,{size:"lg",className:"w-full bg-white text-violet-700 font-bold hover:bg-gray-200 rounded-lg text-base shadow-md transition",onClick:i,tabIndex:0,"aria-label":e.cta||"Start",children:e.cta||"Start"})})]},e.id)}if("quote"===e.id){let i=()=>{r.push("/shopping-list")};return(0,n.jsxs)("div",{tabIndex:0,className:o+" flex flex-col items-center justify-center cursor-pointer",ref:e=>{f.current[t]=e},onClick:i,role:"button","aria-label":e.title,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&i()},children:[(0,n.jsx)("div",{className:c+" flex items-center justify-center bg-black/10",children:(0,n.jsx)("img",{src:"/images/examples/feature-quote.webp",alt:e.title,className:"w-full h-full object-cover transition-transform duration-300 ease-in-out group-hover:scale-105",style:d?{transform:"scale(".concat(u,")"),transition:"transform 0.3s cubic-bezier(.4,2,.6,1)"}:void 0})}),(0,n.jsxs)("div",{className:"p-4 text-center",children:[(0,n.jsx)("h3",{className:"font-semibold text-xl mb-2 truncate",style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.title}),(0,n.jsx)("p",{className:"text-gray-200 text-sm truncate",style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.description})]}),(0,n.jsx)("div",{className:"p-4 flex justify-center w-full",children:(0,n.jsx)(l.Button,{size:"lg",className:"w-full bg-white text-violet-700 font-bold hover:bg-gray-200 rounded-lg text-base shadow-md transition",tabIndex:-1,"aria-label":e.cta||"Get My Shopping List",onClick:i,children:e.cta||"Get My Shopping List"})})]},e.id)}if("interior"===e.id){let i=e=>{let t=e.target,n=!1;for(;t&&t!==e.currentTarget;){if(t.hasAttribute("data-action")&&"slider-interaction"===t.getAttribute("data-action")){n=!0;break}t=t.parentElement}n||r.push("/agent")};return(0,n.jsxs)("div",{tabIndex:0,className:o+" hover:bg-purple-900 cursor-pointer",onClick:i,ref:e=>{f.current[t]=e},children:[(0,n.jsx)("div",{className:c,children:(0,n.jsx)("div",{"data-action":"slider-interaction",className:"w-full h-full",children:(0,n.jsx)(a.default,{beforeSrc:e.beforeSrc,afterSrc:e.afterSrc,beforeAlt:"Before - ".concat(e.title),afterAlt:"After - ".concat(e.title),imagePosition:"bottom"})})}),(0,n.jsxs)("div",{className:"p-4 text-center",children:[(0,n.jsx)("h3",{className:"font-semibold text-xl mb-2 truncate",style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.title}),(0,n.jsx)("p",{className:"text-gray-200 text-sm truncate",style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:e.description})]}),(0,n.jsx)("div",{className:"p-4 flex justify-center",children:(0,n.jsx)(l.Button,{size:"lg",className:"w-full bg-white text-violet-700 font-bold hover:bg-gray-200 rounded-lg text-base shadow-md transition",onClick:i,tabIndex:0,"aria-label":e.cta||"Transform My Room",children:e.cta||"Transform My Room"})})]},e.id)}return null})})})}},87736:function(e,t,r){"use strict";r.d(t,{default:function(){return a}});var n=r(57437),i=r(2265),s=r(33145);function a(e){let{images:t}=e,[r,a]=(0,i.useState)(0),l=(0,i.useRef)(null),o=(0,i.useRef)(null),c=(0,i.useRef)(0);(0,i.useEffect)(()=>{let e=l.current;if(!e)return;let r=e.querySelector("div");r&&(c.current=r.offsetWidth);let n=null,i=e=>{null===n&&(n=e);let r=e-n;n=e,a(e=>{let n=c.current*t.length,i=e+.03*r;return i>=n&&(i-=n),i}),o.current=requestAnimationFrame(i)};return o.current=requestAnimationFrame(i),()=>{o.current&&cancelAnimationFrame(o.current)}},[t.length]);let d=[...t,...t];return(0,n.jsx)("div",{className:"w-full overflow-hidden pointer-events-none",children:(0,n.jsx)("div",{ref:l,className:"flex pointer-events-none",style:{willChange:"transform",transform:"translateX(-".concat(r,"px)"),WebkitTransform:"translateX(-".concat(r,"px)"),transition:"none",WebkitTransition:"none"},children:d.map((e,t)=>(0,n.jsx)("div",{className:"flex-none relative w-[90vw] md:w-[45vw] lg:w-[35vw]",style:{aspectRatio:"16/9"},children:(0,n.jsx)(s.default,{src:e.src,alt:e.alt,fill:!0,className:"object-cover"})},t))})})}},96246:function(e,t,r){"use strict";r.d(t,{Avatar:function(){return l},AvatarFallback:function(){return c},AvatarImage:function(){return o}});var n=r(57437),i=r(2265),s=r(70650),a=r(93448);let l=i.forwardRef((e,t)=>
1{let{className:r,...i}=e;return(0,n.jsx)(s.fC,{ref:t,className:(0,a.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",r),...i})});l.displayName=s.fC.displayName;let o=i.forwardRef((e,t)=>{let{className:r,...i}=e;return(0,n.jsx)(s.Ee,{ref:t,className:(0,a.cn)("aspect-square h-full w-full",r),...i})});o.displayName=s.Ee.displayName;let c=i.forwardRef((e,t)=>{let{className:r,...i}=e;return(0,n.jsx)(s.NY,{ref:t,className:(0,a.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",r),...i})});c.displayName=s.NY.displayName},12381:function(e,t,r){"use strict";r.d(t,{Button:function(){return c}});var n=r(57437),i=r(2265),s=r(37053),a=r(90535),l=r(93448);let o=(0,a.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=i.forwardRef((e,t)=>{let{className:r,variant:i,size:a,asChild:c=!1,...d}=e,u=c?s.g7:"button";return(0,n.jsx)(u,{className:(0,l.cn)(o({variant:i,size:a,className:r})),ref:t,...d})});c.displayName="Button"},93448:function(e,t,r){"use strict";r.d(t,{cn:function(){return s}});var n=r(61994),i=r(53335);function s(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,i.m6)((0,n.W)(t))}}},function(e){e.O(0,[5569,3145,5067,2971,2117,1744],function(){return e(e.s=68262)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.