PageSourceSearch

https://drezily.com/_next/static/chunks/pages/stylist/weather-preview-587cabac2b7a6dbd.js

js drezily.com collected 2026-10-08 02:27:10 UTC 6,218 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8879],{52705:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/stylist/weather-preview",function(){return t(33209)}])},40745:function(e,n,t){"use strict";function getWeatherType(e){let n=(e||"").toLowerCase();return n.includes("thunder")||n.includes("storm")||n.includes("lightning")?"stormy":n.includes("snow")||n.includes("sleet")||n.includes("blizzard")||n.includes("freez")?"snowy":n.includes("rain")||n.includes("drizzle")||n.includes("shower")||n.includes("precipit")?"rainy":n.includes("fog")||n.includes("mist")||n.includes("haze")?"foggy":n.includes("partly")||n.includes("partial")||n.includes("scattered")?"partlyCloudy":n.includes("cloud")||n.includes("overcast")||n.includes("broken")?"cloudy":"sunny"}function readWeatherCondition(e){return e&&(e.condition||e.weather_condition)||null}t.d(n,{Lg:function(){return getWeatherLabel},N:function(){return getWeatherGradient},iE:function(){return getWeatherType},jK:function(){return readWeatherCondition},qO:function(){return getWeatherEmoji}});let i={sunny:"☀️",partlyCloudy:"⛅",cloudy:"☁️",foggy:"\uD83C\uDF2B️",rainy:"\uD83C\uDF27️",snowy:"❄️",stormy:"⛈️"},r={sunny:"Sunny",partlyCloudy:"Partly cloudy",cloudy:"Cloudy",foggy:"Foggy",rainy:"Rainy",snowy:"Snowy",stormy:"Stormy"};function getWeatherEmoji(e){return i[e]||i.sunny}function getWeatherLabel(e){return r[e]||r.sunny}let o={sunny:"linear-gradient(135deg, #FFE066 0%, #FFC542 30%, #FF9A3D 65%, #FF6F3D 100%)",partlyCloudy:"linear-gradient(135deg, #FFD27A 0%, #FFAE6A 25%, #7FB6E6 70%, #4F8FCB 100%)",cloudy:"linear-gradient(135deg, #6E8AA8 0%, #8AA4BF 45%, #B6CADD 100%)",foggy:"linear-gradient(135deg, #9EAEBC 0%, #B7C4CF 50%, #D6DEE5 100%)",rainy:"linear-gradient(135deg, #1F3A5A 0%, #2F5475 45%, #4A7395 100%)",snowy:"linear-gradient(135deg, #6FA8D6 0%, #A6CDE6 50%, #DDEEF7 100%)",stormy:"linear-gradient(135deg, #1A1A2E 0%, #2A2347 50%, #3D2C5B 100%)"};function getWeatherGradient(e){return o[e]||o.sunny}},33209:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return WeatherPreviewPage}});var i=t(85893),r=t(9008),o=t.n(r),a=t(41664),l=t.n(a),s=t(5152),d=t.n(s),c=t(40745);let u=d()(()=>t.e(2846).then(t.bind(t,82846)),{loadableGenerated:{webpack:()=>[82846]},ssr:!1}),y=[{key:"sunny",condition:"Sunny",temperature:78},{key:"partlyCloudy",condition:"Partly cloudy",temperature:68},{key:"cloudy",condition:"Cloudy",temperature:58},{key:"foggy",condition:"Foggy",temperature:52},{key:"rainy",condition:"Rainy",temperature:48},{key:"snowy",condition:"Snowy",temperature:28},{key:"stormy",condition:"Stormy",temperature:56}];function WeatherPreviewPage(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o(),{children:[(0,i.jsx)("title",{children:"Weather backdrops preview \xb7 Drezily"}),(0,i.jsx)("meta",{name:"robots",content:"noindex,nofollow"})]}),(0,i.jsxs)("main",{style:f,children:[(0,i.jsxs)("header",{style:g,children:[(0,i.jsx)("p",{style:p,children:"Internal preview"}),(0,i.jsx)("h1",{style:h,children:"Weather hero backdrops"}),(0,i.jsxs)("p",{style:m,children:["All seven Lottie animations rendered as they appear in the style-profile hero — same gradient base, same fade-out mask, same chip. Loaded from"," ",(0,i.jsx)("code",{style:F,children:"/public/lottie/weather/"}),"."]}),(0,i.jsx)("p",{style:m,children:(0,i.jsx)(l(),{href:"/stylist/style-profile",style:x,children:"← back to style profile"})})]}),(0,i.jsx)("section",{style:b,children:y.map(e=>(0,i.jsxs)("article",{style:j,children:[(0,i.jsxs)("div",{style:w,children:[(0,i.jsx)("span",{style:k,"aria-hidden":"true",children:(0,c.qO)(e.key)}),(0,i.jsxs)("div",{style:C,children:[(0,i.jsx)("p",{style:A,children:(0,c.Lg)(e.key)}),(0,i.jsxs)("p",{style:D,children:[(0,i.jsx)("code",{style:F,children:e.key})," \xb7 API condition: “",e.condition,"”"]})]}),(0,i.jsxs)("span",{style:W,children:[e.temperature,"\xb0"]})]}),(0,i.jsxs)("div",{style:S,children:[(0,i.jsx)(u,{weatherData:{condition:e.condition,temperature:e.temperature}}),(0,i.jsxs)("div",{style:E,children:[(0,i.jsx)("p",{style:z,children:"Hey Sarah, your style decoded"}),(0,i.jsx)("h2",{style:v,children:"Polished Professional"}),(0,i.jsx)("p",{style:_,children:"Refined, elegant style built around clean tailoring, elevated basics, and timeless pieces."})]})]})]},e.key))})]})]})}let f={minHeight:"100vh",background:"#fafafa",padding:"40px 24px 80px",fontFamily:"Quicksand, system-ui, sans-serif",color:"#0a0a0a"},g={maxWidth:1200,margin:"0 auto 32px",padding:"0 8px"},p={fontSize:12,fontWeight:700,letterSpacing:1.6,textTransform:"uppercase",color:"#F87D8A",margin:0},h={fontSize:32,fontWeight:600,margin:"4px 0 8px",fontFamily:"Comfortaa, Quicksand, sans-serif"},m={fontSize:15,lineHeight:1.55,color:"#3a3a3a",margin:"6px 0",maxWidth:760},x={color:"#F87D8A",fontWeight:700,textDecoration:"none"},F={fontFamily:"ui-monospace, SF Mono, Menlo, monospace",fontSize:13,background:"rgba(0,0,0,0.05)",padding:"1px 6px",borderRadius:4},b={maxWidth:1200,margin:"0 auto",display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(420px, 1fr))",gap:20},j={background:"#ffffff",borderRadius:16,border:"1px solid rgba(0,0,0,0.07)",overflow:"hidden",boxShadow:"0 4px 16px rgba(0,0,0,0.04)"},w={display:"grid",gridTemplateColumns:"40px 1fr auto",gap:12,alignItems:"center",padding:"14px 18px",borderBottom:"1px solid rgba(0,0,0,0.06)"},k={fontSize:26,lineHeight:1},C={display:"flex",flexDirection:"column",gap:2},A={fontSize:16,fontWeight:700,margin:0,letterSpacing:.2},D={fontSize:12,color:"#666",margin:0},W={fontSize:22,fontWeight:800,color:"#F87D8A",fontFamily:"Comfortaa, Quicksand, sans-serif"},S={position:"relative",minHeight:280,padding:"36px 28px 60px",background:"linear-gradient(165deg, #ffffff 0%, #fef8f6 40%, #fdf2ef 100%)",overflow:"hidden",display:"flex",alignItems:"center"},E={position:"relative",zIndex:1,maxWidth:460},z={fontSize:13,color:"#3a3a3a",margin:0},v={fontSize:36,fontWeight:600,fontFamily:"Comfortaa, Quicksand, sans-serif",color:"#F87D8A",margin:"8px 0 12px",lineHeight:1.1},_={fontSize:14.5,lineHeight:1.55,color:"#1a1a1a",margin:0}}},function(e){e.O(0,[1664,9774,2888,179],function(){return e(e.s=52705)}),_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.