{"version":3,"file":"BlueprintPipeSystem.SLP8KG7z.mjs","names":["React.useId","React.useState","React.useRef","__esmMin","ie","le","init_ssg_sandbox_shims","window","_e","de","p","init_jsx_runtime","init_npm_react_18_3_1","ce","RenderTarget","init_framer_BisrWwwE","addPropertyControls","ControlType","RoomPalette","m","props","accent","rc","imgs","rooms","ROOMS","r","i","uid","isCanvas","idx","setIdx","prev","setPrev","hover","setHover","boxRef","narrow","setNarrow","el","ro","choose","id","css","R","photo","init_BlueprintPipeSystem","c","f"],"sources":["https:/framerusercontent.com/modules/sBueG0gDRNfXbqVtVLVt/o1NEWd3FjOPGI4p4Vgor/BlueprintPipeSystem.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const rc=(c,f)=>{if(typeof c!==\"string\"||!c)return f;const m=c.match(/^var\\([^,]+,\\s*(.+)\\)$/);return m?m[1].trim():c;};const ROOMS=[{name:\"Coastal Blue\",color:\"#6E93AE\",fallback:\"https://images.unsplash.com/photo-1721045028639-6456efcdab01?w=1600&q=80&auto=format&fit=crop\",alt:\"Living room with a soft blue painted wall\"},{name:\"Sage Green\",color:\"#7C9A7E\",fallback:\"https://images.unsplash.com/photo-1618221381711-42ca8ab6e908?w=1600&q=80&auto=format&fit=crop\",alt:\"Living room with a sage green wall and gallery art\"},{name:\"Terracotta\",color:\"#D98A6E\",fallback:\"https://images.unsplash.com/photo-1611223178525-9cefc1fcc295?w=1600&q=80&auto=format&fit=crop\",alt:\"Terracotta painted wall with plants\"},{name:\"Lagoon Teal\",color:\"#2F6F78\",fallback:\"https://images.unsplash.com/photo-1782275391405-17dd2416569e?w=1600&q=80&auto=format&fit=crop\",alt:\"Teal living room with large windows\"},{name:\"Forest Green\",color:\"#244C44\",fallback:\"https://images.unsplash.com/photo-1615873968403-89e068629265?w=1600&q=80&auto=format&fit=crop\",alt:\"Deep green feature wall behind a tan leather sofa\"}];/**\n * Room Palette — real rooms, real paint colors. Tap a swatch and the next room is rolled on.\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 760\n * @framerIntrinsicHeight 560\n */export default function RoomPalette(props){const m={autoplay:true,interval:4,radius:20,...props};const accent=rc(m.accent,\"#EE5A36\");const imgs=[m.img1,m.img2,m.img3,m.img4,m.img5];const rooms=ROOMS.map((r,i)=>({...r,src:imgs[i]&&imgs[i].src||r.fallback,srcSet:imgs[i]&&imgs[i].srcSet}));const uid=\"rp\"+React.useId().replace(/[^a-zA-Z0-9]/g,\"\");const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[idx,setIdx]=React.useState(0);const[prev,setPrev]=React.useState(0);const[hover,setHover]=React.useState(false);const boxRef=React.useRef(null);const[narrow,setNarrow]=React.useState(false);React.useLayoutEffect(()=>{const el=boxRef.current;if(!el||typeof ResizeObserver===\"undefined\")return;const ro=new ResizeObserver(()=>setNarrow(el.clientWidth<560));ro.observe(el);setNarrow(el.clientWidth<560);return()=>ro.disconnect();},[]);const choose=i=>{if(i===idx)return;setPrev(idx);setIdx(i);};React.useEffect(()=>{if(!m.autoplay||hover||isCanvas||typeof window===\"undefined\")return;if(window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches)return;const id=setInterval(()=>setIdx(i=>{setPrev(i);return(i+1)%rooms.length;}),Math.max(2,m.interval)*1e3);return()=>clearInterval(id);},[m.autoplay,m.interval,hover,isCanvas]);const css=[\"@keyframes \"+uid+\"r{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}\",\"@keyframes \"+uid+\"m{0%{left:0%;opacity:1}90%{opacity:1}100%{left:100%;opacity:0}}\",\"@keyframes \"+uid+\"z{from{transform:scale(1.06)}to{transform:scale(1)}}\",\".\"+uid+\" .reveal{animation:\"+uid+\"r 1s cubic-bezier(.65,0,.35,1) both}\",\".\"+uid+\" .reveal img{animation:\"+uid+\"z 1.6s cubic-bezier(.2,.7,.2,1) both}\",\".\"+uid+\" .edge{animation:\"+uid+\"m 1s cubic-bezier(.65,0,.35,1) both}\",\".\"+uid+\" button{transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease}\",\".\"+uid+\" button:hover{transform:translateY(-2px)}\",\"@media (prefers-reduced-motion: reduce){.\"+uid+\" *{animation:none!important}}\"].join(\"\\n\");const R=rooms[idx];const photo=r=>/*#__PURE__*/_jsx(\"img\",{src:r.src,srcSet:r.srcSet,alt:r.alt,draggable:false,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}});return /*#__PURE__*/_jsxs(\"div\",{ref:boxRef,className:uid,onMouseEnter:()=>setHover(true),onMouseLeave:()=>setHover(false),style:{...m.style,width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",gap:12,fontFamily:\"Satoshi, Inter, sans-serif\"},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",flex:narrow?\"none\":1,aspectRatio:narrow?\"4 / 3\":undefined,minHeight:0,borderRadius:m.radius,overflow:\"hidden\",background:\"#EFEAE3\",boxShadow:\"0 1px 2px rgba(22,35,63,.06), 0 16px 40px -16px rgba(22,35,63,.25)\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0},children:photo(rooms[prev])}),/*#__PURE__*/_jsx(\"div\",{className:isCanvas?undefined:\"reveal\",style:{position:\"absolute\",inset:0,overflow:\"hidden\"},children:photo(R)},idx),!isCanvas&&/*#__PURE__*/_jsx(\"div\",{className:\"edge\",style:{position:\"absolute\",top:0,bottom:0,width:10,marginLeft:-5,background:R.color,boxShadow:\"0 0 0 2px rgba(255,255,255,.85), 0 0 24px rgba(0,0,0,.25)\",pointerEvents:\"none\"}},\"e\"+idx),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",left:14,bottom:14,padding:\"8px 14px 8px 8px\",borderRadius:999,background:\"rgba(255,255,255,.94)\",backdropFilter:\"blur(8px)\",color:\"#16233F\",fontSize:13,fontWeight:700,display:\"flex\",alignItems:\"center\",gap:10,boxShadow:\"0 6px 18px rgba(22,35,63,.15)\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{width:22,height:22,borderRadius:999,background:R.color,boxShadow:\"inset 0 -3px 6px rgba(0,0,0,.18)\"}}),R.name]})]}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gap:8,gridTemplateColumns:narrow?\"repeat(2, minmax(0, 1fr))\":\"repeat(5, minmax(0, 1fr))\"},children:rooms.map((r,i)=>/*#__PURE__*/_jsxs(\"button\",{onClick:()=>choose(i),\"aria-pressed\":i===idx,style:{minWidth:0,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",gap:10,padding:\"10px 12px\",borderRadius:12,background:\"#fff\",border:\"1.5px solid \"+(i===idx?accent:\"rgba(22,35,63,.08)\"),boxShadow:i===idx?\"0 6px 16px rgba(22,35,63,.10)\":\"none\",font:\"inherit\",color:\"#16233F\",fontSize:13,fontWeight:600,textAlign:\"left\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{flex:\"none\",width:18,height:18,borderRadius:999,background:r.color,boxShadow:\"inset 0 -2px 4px rgba(0,0,0,.18)\"}}),/*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\"},children:r.name})]},r.name))})]});}addPropertyControls(RoomPalette,{img1:{type:ControlType.ResponsiveImage,title:\"Coastal Blue\"},img2:{type:ControlType.ResponsiveImage,title:\"Sage Green\"},img3:{type:ControlType.ResponsiveImage,title:\"Terracotta\"},img4:{type:ControlType.ResponsiveImage,title:\"Lagoon Teal\"},img5:{type:ControlType.ResponsiveImage,title:\"Forest Green\"},autoplay:{type:ControlType.Boolean,title:\"Autoplay\",defaultValue:true},interval:{type:ControlType.Number,title:\"Interval\",defaultValue:4,min:2,max:10,step:.5,unit:\"s\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#EE5A36\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:20,min:0,max:48}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"RoomPalette\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"560\",\"framerIntrinsicWidth\":\"760\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BlueprintPipeSystem.map"],"mappings":"A,mOAMG,SAAwBkB,EAAY,EAAM,CAAC,IAAMC,EAAE,CAAC,SAAS,GAAK,SAAS,EAAE,OAAO,GAAG,GAAGC,CAAK,EAAQC,EAAOC,EAAGH,EAAE,OAAO,SAAS,EAAQI,EAAK,CAACJ,EAAE,KAAKA,EAAE,KAAKA,EAAE,KAAKA,EAAE,KAAKA,EAAE,IAAI,EAAQK,EAAMC,EAAM,KAAK,EAAE,KAAK,CAAC,GAAGC,EAAE,IAAIH,EAAKI,IAAIJ,EAAKI,EAAE,CAAC,KAAKD,EAAE,SAAS,OAAOH,EAAKI,IAAIJ,EAAKI,EAAE,CAAC,MAAM,EAAE,EAAQC,EAAI,KAAK5B,EAAY,CAAC,CAAC,QAAQ,gBAAgB,EAAE,EAAQ6B,EAASf,EAAa,QAAQ,IAAIA,EAAa,OAAY,CAACgB,EAAIC,GAAQ9B,EAAe,CAAC,EAAO,CAAC+B,EAAKC,GAAShC,EAAe,CAAC,EAAO,CAACiC,EAAMC,GAAUlC,EAAe,EAAK,EAAQmC,EAAOlC,EAAa,IAAI,EAAO,CAACmC,EAAOC,GAAWrC,EAAe,EAAK,EAAEI,MAA0B,CAAC,IAAMkC,EAAGH,EAAO,QAAQ,GAAG,CAACG,GAAI,OAAO,eAAiB,IAAY,OAAO,IAAMC,EAAG,IAAI,mBAAmBF,EAAUC,EAAG,YAAY,GAAG,CAAC,EAA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