PageSourceSearch

https://www.porroscustominteriors.com/_next/static/immutable/chunks/1-qh6fv0vj4qp.js

js porroscustominteriors.com collected 2026-10-04 05:21:47 UTC 12,604 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75904,e=>{"use strict";var a=e.i(43476),t=e.i(6020),l=e.i(25093),i=e.i(2830);e.s(["default",0,e=>{let s=e?.backgroundColor?.hex??"#c4e1fc";return e?.items?.length?(0,a.jsx)("div",{className:"h-auto w-full",style:{backgroundColor:s},children:(0,a.jsx)("div",{className:"mx-[19.5px] my-[60px] h-auto items-center justify-center border-2 border-solid border-black bg-white lg:mx-[346px]",children:(0,a.jsx)("section",{className:"px-6 py-10 text-center lg:px-10",children:e.items.map(e=>(0,a.jsxs)("div",{className:"border-[rgb(196, 196, 196)] mb-5 border-b border-solid pb-5 last:mb-0 last:border-none last:pb-0",children:[!!e.promoHighlightTitle&&(0,a.jsx)("h4",{className:"line-height-[38px] text-center text-lg font-bold text-[#ec6230] lg:text-[34px]",children:e.promoHighlightTitle}),(0,a.jsx)("div",{className:"lg:mt-4",children:!!e.promoTitle&&(0,a.jsx)(t.Typography,{variant:"h1",children:e.promoTitle})}),!!e.promoDescription&&(0,a.jsx)("div",{className:"my-3 lg:my-8",children:(0,a.jsx)(i.default,{...e.promoDescription})}),(0,a.jsx)("div",{className:"text-center",children:!!e.promoCtaLink&&!!e.promoCtaLabel&&(0,a.jsx)(l.default,{ctaLabel:e.promoCtaLabel,ctaLink:e.promoCtaLink})})]},e._id))})})}):null}])},92244,1523,e=>{"use strict";var a=e.i(43476),t=e.i(71645);e.i(97610);var l=e.i(98309),l=l,i=e.i(94046),i=i,s=e.i(33509),s=s,r=e.i(47984);e.i(54638);var n=e.i(34414),o=e.i(26411),d=e.i(57688),c=e.i(27669),p=e.i(6020),m=e.i(94100);let x=e=>{let{slider:l}=e;if(!l.slides?.length)return null;let i=l.slides.map(e=>({_key:e._key,imageAlt:(0,r.stegaClean)(e?.onpenedImage?.alt)??"",imageUrl:e?.onpenedImage?.image?(0,o.sanityImageSource)((0,n.urlFor)(e?.onpenedImage?.image).width(1280).height(960).crop("center").url()):"",imageDescription:e?.openedImageDescription??""}));return(0,a.jsx)("div",{className:"slider-modal background-black flex items-center justify-center","aria-labelledby":"image-modal-slider","aria-describedby":"image-modal-slider",children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{className:"absolute right-0 top-[10px] z-10 flex items-center justify-center bg-black p-[10px] text-white opacity-80 lg:top-[5px]",onClick:e.handleCloseModal,"aria-label":"Close Modal",title:"Close Modal",id:"close_modal_slider",children:(0,a.jsx)(p.IconPack,{icon:"Cross",width:24,height:24,stroke:"#FFF"})}),(0,a.jsx)(m.Slider,{slidesPerView:1,slideClassName:"max-h-full !w-full px-6",items:i.map((e,l)=>(0,a.jsxs)(t.Fragment,{children:[(0,a.jsx)(d.default,{alt:e.imageAlt,src:e.imageUrl,width:1280,height:960,sizes:"(orientation: portrait) and (min-width: 480px) 108vh, (orientation: portrait) 60vh, calc(100vw - 48px)",className:"h-[45vh] w-full object-cover md:h-[80.5vh] lg:h-[87.5vh]"}),!!e.imageDescription&&(0,a.jsx)(p.Typography,{variant:"body",className:"mt-5 text-[17px] leading-5 text-white",children:(0,a.jsx)(c.default,{text:e.imageDescription,keyId:"modal_slider_image_description"})})]},`modal_slide_${e._key}_${l}`))})]})})};var h=e.i(31652),u=e.i(48531);let g=e=>{let{closedImage:t,title:l,subtitle:i,imageCaption:s,imageSlots:m=[]}=e;return(0,a.jsxs)(a.Fragment,{children:[!!t&&(0,a.jsx)(d.default,{alt:(0,r.stegaClean)(t.alt)??"",src:(0,o.sanityImageSource)((0,n.urlFor)(t.image).width(500).height(500).url(),m.length?(0,h.widestImageWidth)(m):void 0),sizes:(0,h.imageSizes)(m),width:500,height:500,className:"aspect-square h-auto w-full"}),!!s&&(0,a.jsx)(p.Typography,{variant:"body",children:(0,a.jsx)(c.default,{text:s,keyId:"simple_card_imageCaption"})}),!!l&&(0,a.jsx)(p.Typography,{variant:"h4",children:(0,a.jsx)(c.default,{text:l,keyId:"simple_card_title"})}),!!i&&(0,a.jsx)(p.Typography,{variant:"body",children:i})]})},f=e=>{let{clickBehavior:t,ctaLink:l,handleOpenModal:i,title:s,closedImage:r}=e;return"Redirect"===t?(0,a.jsx)(u.PreservedLink,{"aria-label":s?`${s} Card`:`${r?.alt} card`,title:s?`${s} Card`:`${r?.alt} card`,id:`slider_card_${s?.toLowerCase().replaceAll(/\W/g,"_")}`,href:l??"",className:"w-full",children:(0,a.jsx)(g,{...e})}):"Open Modal"===t?(0,a.jsx)("button",{className:"align-start flex w-full flex-col","aria-label":s?`${s} Card`:`${r?.alt} card`,title:s?`${s} Card`:`${r?.alt} card`,id:"open_modal_slider_card",onClick:i,children:(0,a.jsx)(g,{...e})}):(0,a.jsx)("span",{className:"align-start flex w-full flex-col","aria-label":`${s} Card`,children:(0,a.jsx)(g,{...e})})};var y=e.i(45728),b=e.i(13094),j=e.i(18240),v=e.i(28879),C=e.i(26566),w=e.i(2830);let _=({imageSlots:e,...l})=>{let{accountVariables:i}=(0,b.useAccountVariablesContext)(),[s,c]=(0,t.useState)(!1),{card:m,association:x,controlOptionModal:u,openRacFormButtonText:g}=l;if(!m||!x?.length)return null;let{title:f,description:_,ctaText:k}=m,N=x[0]?.cardImage,S=x[0]?.modalVideo,T=u?.title,I=u?.description,R=S?.video?.asset?.playbackId,$=S?.thumbnail?.image,F=S?.autoPlay||!1,A=(0,r.stegaClean)(S?.video?.asset?.data?.aspect_ratio),M=A?.split(":")||["16","9"],O=Number(M[0])/Number(M[1]);return(0,a.jsxs)("div",{"aria-label":"Control options card",children:[!!N&&(0,a.jsx)(d.default,{alt:(0,r.stegaClean)(N.alt)??"",src:(0,o.sanityImageSource)((0,n.urlFor)(N.image).width(500).height(500).url(),(0,h.widestImageWidth)(e)),sizes:(0,h.imageSizes)(e),width:500,height:500,className:"aspect-square h-auto w-full"}),!!f&&(0,a.jsx)(p.Typography,{variant:"body",children:f}),!!_&&(0,a.jsx)("div",{className:"heading-[21px] font-open-sans-light text-[14px]",children:(0,a.jsx)(w.default,{..._})}),!!k&&(0,a.jsxs)("button",{"aria-label":"open slide",title:"open slide",id:"open_slide",onClick:()=>c(!0),className:"font-open-sans-regular flex items-center gap-2 pt-1 text-[14px] font-normal leading-[21px] text-blue opacity-80",children:[(0,a.jsx)("span",{children:k}),(0,a.jsx)(p.IconPack,{icon:"ChevronRight",fill:"#2c72db",width:12,height:12})]}),s&&(0,a.jsx)(p.SlideOut,{handleCloseSlide:()=>c(!1),children:(0,a.jsxs)("div",{className:"flex flex-col",children:[!!T&&(0,a.jsx)("div",{className:"mt-2 px-6 pb-[35px] pt-2 text-center lg:px-2",children:(0,a.jsx)("div",{className:"break-words font-univers text-[1.25rem] uppercase leading-6 tracking-[2.6px]",children:(0,a.jsx)(w.default,{...T})})}),!!R&&(0,a.jsx)("div",{className:`w-full pb-6 aspect-[${O}]`,children:(0,a.jsx)(y.MuxVideo,{autoPlay:F,loop:!0,playbackId:(0,r.stegaClean)(R),title:"video-section",poster:$?(0,j.sanityPosterUrl)((0,n.urlFor)($).url(),370):void 0,aspectRatio:A,hasMinimalControlButtons:!0})}),!!I&&(0,a.jsx)("div",{className:"mx-6",children:(0,a.jsx)("div",{className:"heading-[22px] font-open-sans-bold text-[18px]",children:(0,a.jsx)(w.default,{...I})})}),(0,a.jsx)(v.RacButton,{racFormSource:C.RAC_FORM_SURFACE.OPERATING_SYSTEM_SLIDER,account:i,label:g,className:"sticky bottom-1 mx-2"})]})})]})},k=({imageSlots:e,...t})=>
1{if(!t.shapeCard)return null;let{image:l,title:i,description:s}=t.shapeCard;return(0,a.jsxs)("div",{"aria-label":"Specialty Shapes Card",children:[!!l&&(0,a.jsx)(d.default,{alt:(0,r.stegaClean)(l.alt)??"",src:(0,o.sanityImageSource)((0,n.urlFor)(l.image).width(500).height(500).url(),(0,h.widestImageWidth)(e)),sizes:(0,h.imageSizes)(e),width:500,height:500,className:"aspect-square h-auto w-full"}),!!i&&(0,a.jsx)(p.Typography,{variant:"body",children:i}),!!s&&(0,a.jsx)("div",{className:"heading-[21px] font-open-sans-light text-[14px]",children:(0,a.jsx)(w.default,{...s})})]})};var N=e.i(43794),S=e.i(32057),T=e.i(36683);let I=[{from:1240,vw:100,px:-192},{vw:100,px:-44}],R=e=>{if(!e.card)return null;switch(e.card._type){case"controlOptions":return(0,a.jsx)(_,{...e.card,imageSlots:e.imageSlots});case"specialtyShapes":return(0,a.jsx)(k,{...e.card,imageSlots:e.imageSlots});case"modalCard":return(0,a.jsx)(f,{...e.card,imageSlots:e.imageSlots})}},$=e=>{var l;let i,s=!(0,T.default)(),[n,o]=(0,t.useState)(!1),d=e.displayTitle??!0,c=e.sliderContainerClassName??"pl-3 lg:pl-8",m=e.spaceBetweenSlides??{sm:8,lg:16},h=e.skeletonHeight??"420px",u=e.slidesPerView??{sm:2.21,lg:4.58},{title:g,clickBehavior:f,sliderType:y,subTitle:b}=e,j="Redirect"===(0,r.stegaClean)(f);if("References"===y&&!e.referencesSlides||"Cards"===y&&!e.slides)return null;let v=(l=e.containerSlots??I,i=(e,a)=>{let t=u[a],l=m[a]*(t-1);return{...e,vw:(e.vw??0)/t,px:((e.px??0)-l)/t}},l.flatMap(e=>(e.from??0)>=1240?[i({...e,from:Math.max(e.from??0,1241)},"lg"),...1240===e.from?[i(e,"sm")]:[]]:[i(e,"sm")])),C=((e,a,t,l)=>{let{slides:i,clickBehavior:s,sliderType:n,referencesSlides:o}=e;return"References"===n&&o?o.filter(e=>!!e).map((e,a)=>({_key:`reference_slide_${e._id}_${a}`,imageSlots:l,card:{...e,..."controlOptions"===e._type&&e.association&&{association:e.association?.filter(e=>!!e?._id)||[]}}})).filter(e=>{let a=e.card;return"controlOptions"!==a._type||a.association?.length!==0}):"Cards"===n&&i?i.map((e,i)=>({_key:`slide_${e._key}_${i}`,imageSlots:l,card:{...e,clickBehavior:(0,r.stegaClean)(s)||"Redirect",isModalOpened:a,handleOpenModal:t}})):[]})(e,n,()=>o(!0),v);return(0,a.jsxs)("section",{"aria-label":"Slider component",className:"flex w-full flex-col",children:[(!!g||!!b)&&d&&(0,a.jsxs)("div",{className:(0,N.default)("flex flex-col py-10 lg:pt-20",{"lg:pb-10":!!b,"lg:pb-20":!b}),children:[!!g&&(0,a.jsx)(p.Typography,{variant:"h1",style:{textAlign:"center"},children:g}),!!b&&(0,a.jsx)(w.default,{...b})]}),(0,a.jsxs)("div",{className:c,children:[(0,a.jsx)(S.default,{slidesPerView:s?u.lg:u.sm,spaceBetween:s?m.lg:m.sm,items:C.map(e=>(0,a.jsx)(R,{...e},e._key)),loadingLayout:(0,a.jsx)(p.Skeleton,{className:`h-${[h]} rounded`})}),!j&&n&&(0,a.jsx)(x,{slider:e,isOpened:n,handleCloseModal:()=>o(!1)})]})]})};e.s(["default",0,$],1523);let F=[e.i(44193).DETAILS_COLUMN_SLOTS[0],{vw:100,px:-48}],A=({modules:e,containerSlots:r})=>(0,a.jsx)(a.Fragment,{children:e?.map(e=>{switch(e._type){case"rich-text":return(0,t.createElement)(w.default,{...e,key:e._key});case"sliderModule":return(0,t.createElement)($,{...e,key:e._id,displayTitle:!1,sliderContainerClassName:"pl-0",containerSlots:r,spaceBetweenSlides:{sm:16,lg:16},slidesPerView:{sm:2.14,lg:3.31},skeletonHeight:"350px"});case"howDoIMeasureSection":return(0,t.createElement)(l.default,{...e,key:e._key});case"imageTextFlex":return(0,t.createElement)(i.default,{...e,key:e._key});case"titleCtaFlex":return(0,t.createElement)(s.default,{...e,key:e._key});default:return null}})});e.s(["default",0,({initialExpandedIndex:e,containerSlots:l=F,...i})=>{let[s,r]=(0,t.useState)(e);if(!i.items?.length)return null;let n=l.map(e=>({...e,px:(e.px??0)-48})),o=i.items;return(0,a.jsx)("section",{"aria-label":"Accordion component flex flex-col",children:o.map((e,t)=>{let l=s===t;return(0,a.jsxs)("div",{id:`panel-header-${t}`,"aria-controls":`panel-content-${t}`,className:`w-full border-t border-[#999] py-10 ${t===o.length-1?"border-b":""}`,children:[!!e.header&&(0,a.jsxs)("button",{"aria-label":"open accordion",title:"open accordion",id:"open_accordion",onClick:()=>{r(t===s?void 0:t)},className:"flex w-full items-center justify-between font-medium [&_*]:!p-0",children:[(0,a.jsx)(w.default,{...e.header}),(0,a.jsx)("span",{className:`transform text-[24px] font-[400] text-[#007bff] transition-transform ${l?"rotate-180":"rotate-0"}`,style:{fontFamily:"var(--font-open-sans)"},"aria-label":l?"Show less":"Show more",children:l?"-":"+"})]}),(0,a.jsx)("span",{className:`block transform overflow-hidden transition-all duration-500 ${l?"max-h-auto px-6 opacity-100 [&_*]:!p-0":"max-h-0 opacity-0"}`,children:!!e.body&&(0,a.jsx)(A,{modules:e.body,containerSlots:n})})]},e._key)})})}],92244)},55401,e=>{"use strict";var a=e.i(43476),t=e.i(6020),l=e.i(28879),i=e.i(13094),s=e.i(26566);e.s(["CollapsedRequestConsultation",0,function({title:e="Request a consultation",subTitle:r="We can connect you with a window-treatment expert in your area. No obligation."}){let{replacePlaceholders:n,accountVariables:o}=(0,i.useAccountVariablesContext)();return(0,a.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-6 bg-[#f5f5f5] px-6 py-8 lg:flex-row lg:gap-12 lg:px-8",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center gap-4 lg:items-start lg:justify-start",children:[(0,a.jsx)(t.Typography,{variant:"h2",className:"text-center lg:text-left",children:n(e??"")}),(0,a.jsx)(t.Typography,{variant:"body",children:n(r??"")})]}),(0,a.jsx)(l.RacButton,{account:o,racFormSource:s.RAC_FORM_SURFACE.COLLAPSED_RAC,className:"border border-black bg-white uppercase !text-black hover:bg-black hover:!text-white hover:brightness-[1.0]",label:"Request a Consultation"})]})}])}]);

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.