PageSourceSearch

https://www.glamour.com/verso/static/9749.3fc10b60497bda042a49.js

js glamour.com collected 2026-09-24 07:26:25 UTC 7,110 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkverso=globalThis.webpackChunkverso||[]).push([[9749],{81478(e,r,a){a.d(r,{A:()=>n});var t=a(94177);function n(e,r){return Object.keys(e).reduce((a,n)=>(a[n]={width:e[n].w,height:e[n].h,url:(0,t.JP)(r,e[n])},a),{})}},33186(e,r,a){a.d(r,{Ay:()=>s});var t=a(58156),n=a.n(t),i=a(62193),c=a.n(i);const o={"recent-work-river":"recentWorkTeaser","tag-river":"tagTeaser","bundle-rubric":"bundleTeaser"},l={};function u(e,r){return r?`${e}/`:e}l.rubricOrPrimaryChannelRelativeRubric=({rubric:e,channels:r,channelMap:a,rubricPrimaryChannelSlug:t,useTrailingSlashRubric:n,hasUrl:i})=>l.checkForPrimaryChannelRelativeRubric(t,r)?l.getPrimaryChannelRelativeRubric(r,t,n,i):l.getRubric(e)||l.getCategory(r,a,"",n,!1,i),l.rubricOrChannelOrSection=({rubric:e,channels:r,channelMap:a,rubricParentSlug:t,useTrailingSlashRubric:n,sections:i,hasUrl:c})=>l.getRubric(e)||l.getCategory(r,a,t,n,!1,c)||l.getCategory(i,{},t,n,!1,c),l.locationOrChannelRubric=(e,r,a,t,i,o,u,s=!0)=>c()(e)||""===n()(e,"name","")?c()(r)||""===n()(r,"name","")?l.getRubric(a)||l.getCategory(t,i,o,u,!1,s):r:e,l.getCategory=(e=[],r={},a="",t=!1,n=!1,i=!0)=>{if(0===e.length)return;const c=n?l.getPrimaryCategory(e):l.getDeepestCategory(e),o=l.getCategoryName(c);if(i){return{name:o,url:l.getUrl(r,c,a,t)}}return{name:o,url:void 0}},l.getPrimaryChannelRelativeRubric=(e=[],r="",a=!1,t=!0)=>{const n=l.getPrimaryCategory(e),i=l.getPrimaryCategory(n.hierarchy),c=i.slug?`/${r}/${i.slug}`:"",o=a&&c?`${c}/`:c;return{name:l.getCategoryName(i),url:t?o:void 0}},l.getCategoryName=(e={})=>n()(e,"name")||n()(e,"fields.name")||"",l.getCategorySlug=(e={})=>(r={})=>{const a=n()(r,"slug",n()(r,"fields.slug"));return n()(e,a,a)},l.getDeepestCategory=(e=[{}])=>{if(e[0]?.hierarchy){const[r,...a]=e;return a.reduce((e,r)=>{const a=e.hierarchy.map(e=>e.slug).reverse().join("/");return`${r.hierarchy.map(e=>e.slug).reverse().join("/")}/`.startsWith(`${a}/`)?r:e},r)}return e.reduce((e,r)=>r.parent&&r.parent.slug===e.slug?r:e)},l.getPrimaryCategory=(e=[{}])=>e[0]||{},l.checkForPrimaryChannelRelativeRubric=(e,r=[{}])=>{const a=l.getPrimaryCategory(r),t=a.hierarchy?a.hierarchy:[],n=t.length-2,i=n>=0?t[n].slug:"";return n>=0&&i===e},l.getRubric=e=>e?{name:e}:void 0,l.getUrl=(e={},r={},a="",t=!1)=>{const i=l.getCategorySlug(e);if(r.hierarchy&&r.hierarchy.length){const e=r.hierarchy.reduce((e,r,a)=>(e.push(0===a?i(r):r.slug),e),[]).slice(0,-1).reverse().join("/");return u(a?`/${a}/${e}`:`/${e}`,t)}let c=a||i(n()(r,"parent")||n()(r,"_embedded.hierarchy.1.fields")||n()(r,"hierarchy.1.fields")||n()(r,"parentCategory"))||n()(r,"hierarchy[1]");"object"==typeof c&&(c=i(c));const o=i(r),s=c&&c!==o&&"channels"!==c&&"sections"!==c;if(s||o)return u(s?`/${c}/${o}`:`/${o}`,t)};const s={getRubricRepresentation:({channelMap:e={},channels:r=[],contentType:a="",featureFlags:t={},sections:n=[],primaryTag:i,rubric:c="",shouldReturnUrl:u="bundle-rubric"!==a,useTrailingSlashRubric:s=!1,locationRubric:h={},channelRubric:g={}})=>{const y=u,b=a?o[a]:"contentTeaser",m=i&&"Sponsor Content"===i.tag?"tag-only":t[b],{rubricParentSlug:p,rubricPrimaryChannelSlug:C,usePrimaryCategoryAsRubric:R}=t;switch(m){case"rubric-or-channel":return l.getRubric(c)||l.getCategory(r,e,p,s,!1,y);case"rubric-or-channel-or-tag":return i?{name:i.tag,url:y?i.url:void 0}:l.getRubric(c)||l.getCategory(r,e,p,s,!1,y);case"rubric-or-channel-or-section":return l.rubricOrChannelOrSection({rubric:c,channels:r,channelMap:e,rubricParentSlug:p,useTrailingSlashRubric:s,sections:n,hasUrl:y});case"rubric-or-channel-or-section-no-url":return l.rubricOrChannelOrSection({rubric:c,channels:r,channelMap:e,rubricParentSlug:p,useTrailingSlashRubric:s,sections:n,hasUrl:!1});case"channel-only":return l.getCategory(r,e,p,s,R,y);case"channel-only-no-url":return l.getCategory(r,e,p,s,!1,!1);case"section-only":return l.getCategory(n,{},p,s,!1,y);case"tag-or-channel":return i?{name:i.tag,url:y?i.url:void 0}:l.getCategory(r,e,p,s,R,y);case"tag-only":if(!i)return;return{name:i.tag,url:y?i.url:void 0};case"location-or-channel-or-rubric":return l.locationOrChannelRubric(h,g,c,r,e,p,s,!1,y);case"location-or-channel-or-rubric-no-url":return l.locationOrChannelRubric(h,g,c,r,e,p,s,!1);case"rubric-or-channel-or-primaryChannelRelative":return l.rubricOrPrimaryChannelRelativeRubric({rubric:c,channels:r,channelMap:e,rubricPrimaryChannelSlug:C,useTrailingSlashRubric:s,hasUrl:y});default:return c?{name:c}:void 0}},_internals:l}},55866(e,r,a){a.d(r,{O3:()=>t,gJ:()=>n});const t=(e,r)=>{const a=/(\d+):(\d+)/i,t={};if(!e)return t;const n=(e,r)=>{const t={},n=e.aspectRatio.match(a);if(!n)return t;const i=parseInt(n[1],10),c=parseInt(n[2],10);
1return i&&c&&(t.h="width"===r?Math.floor(e.width*c/i):e.height,t.w="height"===r?Math.floor(e.height*i/c):e.width),t};return Object.keys(e).forEach(a=>{t[a]={},e[a].height&&e[a].width?(t[a].h=e[a].height,t[a].w=e[a].width):e[a].height&&e[a].aspectRatio?t[a]=n(e[a],"height"):e[a].width&&e[a].aspectRatio?t[a]=n(e[a],"width"):e[a].aspectRatio&&r&&(t[a].w=e[a].customWidth,t[a]=n({...e[a],width:r},"width"))}),t},n=(e,r=!0)=>{if(!e)return"";const a=e.replace(/\\([+!]){1}/gim,"$1").replace(/^\\/,"").replace(/\*\*(.*)\*\*/gim,"<strong>$1</strong>").replace(/_(.*)_/gim,"<em>$1</em>").replace(/\*(.*)\*/gim,"<em>$1</em>").replace(/~~(.*)~~/gim,"<del>$1</del>").replace(/~(.*)~/gim,"<sub>$1</sub>").replace(/\^(.*)\^/gim,"<sup>$1</sup>").trim();return r?`<p>${a}</p>`:a}},59749(e,r,a){a.d(r,{sA:()=>o});var t=a(58156),n=a.n(t),i=a(96540);a(18106),a(47186),a(44383),a(90128),a(25888),a(81478),a(14792);new Map([["ACTIVE_FITNESS","Active Fitness"],["BEACH","Beach"],["CINEMA","Cinema"],["COMEDY","Comedy"],["CONCERT","Concert"],["GALLERY","Gallery"],["FARM","Farm"],["LANDMARK","Landmark"],["MINDFULNESS","Mindfulness"],["MOUNTAIN","Mountain"],["MUSEUM","Museum"],["NATIONAL_PARK","National Park"],["PARK_GARDEN","Parks & Gardens"],["SPA","Spa"],["SPORTS","Sports"],["THEATER","Theater"],["TOUR","Tour"],["WELLNESS","Wellness"],["RETREAT","Retreat"],["YOGA","Yoga"]]),new Map([["FoodHall","Food Hall"],["CocktailBar","Cocktail Bar"],["CommonBar","Bar"],["CoffeeTeaBar","Coffee/Tea Bar"],["DepartmentStore","Department Store"],["SpecialtyShop","Specialty"],["StreetFood","Street Food"],["RooftopBar","Rooftop Bar"],["HotelBar","Hotel Bar"],["DiveBar","Dive Bar"],["JuiceBar","Juice Bar"],["SportsBar","Sports Bar"]]);a(33186);a(56892),a(31170);const c=i.createContext(),o=e=>r=>i.createElement(c.Consumer,null,a=>{let t,c;return e.displayName.includes("RecircMostPopular")&&({items:t=[],onViewportIntersection:c=()=>{}}=n()(a,"RecircMostPopular",{})),e.displayName.includes("InlineRecirc")&&({items:t=[],onViewportIntersection:c=()=>{}}=n()(a,"InlineRecirc",{})),i.createElement(e,{...r,items:t,onIntersectionViewportCallback:c})})},18106(e,r,a){a.d(r,{YZ:()=>n,xN:()=>t});const t="en-US",n=["ar-AE","de-DE","en-AE","en-GB","en-IN","en-US","es-ES","es-MX","fr-FR","it-IT","ja-JP","zh-CN","zh-Hant-TW"];new Map([["ar","ar-AE"],["de","de-DE"],["en","en-US"],["es","es-ES"],["fr","fr-FR"],["it","it-IT"],["ja","ja-JP"],["zh-Hant","zh-Hant-TW"]])}}]);

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.