PageSourceSearch

https://www.thedodo.com/_next/static/chunks/5053.cfdcf1994e9dcf21ee25.js

js thedodo.com collected 2026-09-27 20:56:05 UTC 13,705 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5053],{85053:function(e,t,i){i.r(t),i.d(t,{default:function(){return G}});i(2784);var n=i(57903),o=i(72829),l=i(77460),a=i(88465),r=i(54035),c=i(4920),d=i(43625),s=i(14695),p=i(32979);const m=s.default.div.withConfig({displayName:"CollectionProductTilestyles__CollectionProductTileImage",componentId:"sc-1g1afug-0"})(["\n  position: relative;\n  & img,\n  & picture {\n    border-radius: ",";\n  }\n\n  @media (min-width: ",") and (max-width: ",") {\n    & picture,\n    & img {\n      max-height: 205px;\n      width: auto;\n      margin: 0 auto;\n      background: transparent;\n    }\n  }\n"],(({theme:e})=>e.collections.tile.image.radius),(({theme:e})=>`${e.breakpoints[1]}px`),(({theme:e})=>`${e.breakpoints[2]}px`)),u=s.default.div.withConfig({displayName:"CollectionProductTilestyles__CollectionProductTileSaleBadge",componentId:"sc-1g1afug-1"})(["\n  position: absolute;\n  top: 4px;\n  left: 4px;\n  z-index: 1;\n"]),g=s.default.div.withConfig({displayName:"CollectionProductTilestyles__CollectionProductTileBrandBadge",componentId:"sc-1g1afug-2"})(["\n  position: absolute;\n  top: 4px;\n  left: 4px;\n  z-index: 1;\n"]),h=s.default.div.withConfig({displayName:"CollectionProductTilestyles__CollectionProductTileTitle",componentId:"sc-1g1afug-3"})(["\n  ",";\n  display: -webkit-box;\n  margin-bottom: 4px;\n  margin-top: 8px;\n  overflow: hidden;\n  -webkit-box-orient: vertical;\n  -webkit-line-clamp: 2;\n\n  @media (min-width: ",") {\n    ",";\n  }\n"],(0,p.Z)("collections/product-tile/product-name/small"),(({theme:e})=>`${e.breakpoints[2]}px`),(0,p.Z)("collections/product-tile/product-name/large")),f=s.default.div.withConfig({displayName:"CollectionProductTilestyles__CollectionProductTilePrice",componentId:"sc-1g1afug-4"})(["\n  display: inline-block;\n  ",";\n  margin-bottom: 4px;\n\n  @media (min-width: ",") {\n    ",";\n  }\n"],(0,p.Z)("collections/product-tile/price/small"),(({theme:e})=>`${e.breakpoints[2]}px`),(0,p.Z)("collections/product-tile/price/large")),x=s.default.div.withConfig({displayName:"CollectionProductTilestyles__CollectionProductTilePreviousPrice",componentId:"sc-1g1afug-5"})(["\n  display: inline-block;\n  margin-left: 4px;\n  ",";\n"],(0,p.Z)("collections/product-tile/retailer")),b=s.default.div.withConfig({displayName:"CollectionProductTilestyles__CollectionProductTileRetailer",componentId:"sc-1g1afug-6"})(["\n  ",";\n  padding-bottom: 32px;\n"],(0,p.Z)("collections/product-tile/retailer")),_=(s.default.div.withConfig({displayName:"CollectionProductTilestyles__CollectionProductTilePromoContainer",componentId:"sc-1g1afug-7"})(["\n  ",";\n  display: inline-block;\n  margin-bottom: 4px;\n"],(0,p.Z)("collections/product-tile/promo-code/default")),s.default.span.withConfig({displayName:"CollectionProductTilestyles__CollectionProductTilePromo",componentId:"sc-1g1afug-8"})(["\n  ",";\n  margin-left: 8px;\n  background-color: ",";\n"],(0,p.Z)("collections/product-tile/promo-code/highlighted"),(({theme:e})=>e.collections.tile.promoCode.backgroundColor)),s.default.div.withConfig({displayName:"CollectionProductTilestyles__CollectionProductTileSponsorContainer",componentId:"sc-1g1afug-9"})(["\n  position: absolute;\n  display: block;\n  width: 100%;\n  top: -8px;\n  left: 0;\n"])),w=s.default.div.withConfig({displayName:"CollectionProductTilestyles__CollectionProductTileSponsorInnerContainer",componentId:"sc-1g1afug-10"})(["\n  position: relative;\n  width: fit-content;\n  padding: 0px 8px;\n  margin: auto;\n  ",";\n  line-height: 16px;\n  background-color: ",";\n  border-radius: ",";\n"],(0,p.Z)("global/standard/sponsor/black"),(({theme:e})=>e.color.globalBackground),(({theme:e})=>e.collections.tile.border.radius)),y=s.default.div.withConfig({displayName:"CollectionProductTilestyles__CollectionProductTileSponsor",componentId:"sc-1g1afug-11"})(["\n  display: inline;\n  font-weight: 700;\n"]),C=s.default.div.withConfig({displayName:"CollectionProductTilestyles__CollectionProductTileCTA",componentId:"sc-1g1afug-12"})(["\n  position: absolute;\n  bottom: 12px;\n  left: 12px;\n  ",";\n  text-decoration: none;\n  text-transform: uppercase;\n  border-bottom: 2px solid ",";\n\n  @media (min-width: ",") {\n    bottom: 16px;\n  }
1\n"],(0,p.Z)("collections/product-tile/CTA-text"),(({theme:e})=>e.collections.tile.cta.underlineColor),(({theme:e})=>`${e.breakpoints[2]}px`)),k=(0,s.default)(d.Flex).withConfig({displayName:"CollectionProductTilestyles__CollectionProductTileContainer",componentId:"sc-1g1afug-13"})(["\n  position: relative;\n  max-width: 100%;\n  min-height: 328px;\n  height: 328px;\n  padding: 11px;\n  border: 1px solid ",";\n  border-radius: ",";\n  box-shadow: ",";\n  background-color: ",";\n\n  &:hover {\n    box-shadow: ",";\n    "," {\n      background-color: ",";\n      color: ",";\n    }\n  }\n\n  a {\n    width: 100%;\n  }\n\n  @media (min-width: ",") {\n    min-height: 400px;\n    height: auto;\n    max-width: 229px;\n  }\n\n  @media (min-width: ",") {\n    min-height: 448px;\n    max-width: 282px;\n  }\n"],(({theme:e})=>e.collections.tile.border.color),(({theme:e})=>e.collections.tile.border.radius),(({theme:e})=>e.collections.tile.border.boxShadow),(({theme:e})=>e.collections.tile.backgroundColor),(({theme:e})=>e.collections.tile.border.hoverShadow),C,(({theme:e})=>e.collections.tile.cta.hoverBackgroundColor),(({theme:e})=>e.collections.tile.cta.hoverTextColor),(({theme:e})=>`${e.breakpoints[2]}px`),(({theme:e})=>`${e.breakpoints[4]}px`)),P=s.default.div.withConfig({displayName:"CollectionProductTilestyles__CollectionServiceLocation",componentId:"sc-1g1afug-14"})(["\n  padding: 4px 0;\n  ",";\n"],(0,p.Z)("collections/product-tile/retailer"));var v=i(40849),j=i(69670),O=i(42367),T=i(52322);function N(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function S(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?N(Object(i),!0).forEach((function(t){(0,l.Z)(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):N(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}const A=({config:e,page:t,element:i,hasAffiliate:n,isAmp:o,productOnClick:l})=>{const{link:a,text:d,price:s,retailer:p,image_alt_tag:N,artemis_id:A,sponsor:$,sale_price:Z,price_per_night:I,listing_location:E,brand_approved:D,has_affiliate_link:B}=i,{collection:G,site_code:L}=e,{image_matte_color:q,fallback_image_id:z}=G,H=B?(0,v.Z1)(a,e,t,o):a,V=Z?(0,v.OW)(L):null,F=(0,v.ql)(i),R=I&&E,U=R?"Book Now":"Buy Now",X=(0,v.DR)(L,D),Y=!X&&Z,M=(0,j.$r)({image_id:A||z,size:"318x318",operations:`flatten;scale;matte=${q}=center`,quality:70}),Q=(0,O.z$)(),{ref:W}=(0,O.YD)({element:i,itemVariant:v.VX.TILE});return(0,T.jsxs)(k,{ref:W,children:[(0,T.jsxs)("a",S(S({className:`shop-item-link shop-view-content-link ${(0,v.g)({config:e,hasAffiliate:n,hasAffiliateLink:B})}`,onClick:()=>{l(),Q.productClick(i,v.VX.TILE)},href:H,target:"_blank",rel:"noreferrer sponsored","aria-label":d,"data-vars-action":"product tile"},F),{},{children:[(0,T.jsxs)(m,{children:[X&&(0,T.jsx)(g,{className:`badge-${D[L]}`,children:(0,T.jsx)(c.wq,{variant:X})}),Y&&!R&&(0,T.jsx)(u,{children:(0,T.jsx)(c.wq,{variant:V})}),o?(0,T.jsx)("amp-img",{src:M,alt:N||d,width:318,height:318,layout:"responsive"}):(0,T.jsx)(r.Z,{image_id:A||z,alt_tag:N||d,className:"product-item__image",operations:`flatten;scale;matte=${q}=center`,quality:"70",mediaQueryParams:{mobile:{width:"159",height:"159"},desktop:{width:"258",height:"258"}}})]}),(0,T.jsx)(h,{children:d}),R?(0,T.jsx)(f,{children:`$${I}`}):(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(f,{children:`$${Z||s}`}),Z&&(0,T.jsx)(x,{children:`was $${s}`})]}),R&&(0,T.jsx)(P,{children:E}),(0,T.jsx)(b,{children:p}),(0,T.jsx)(C,{children:U})]})),$&&(0,T.jsx)(_,{children:(0,T.jsxs)(w,{children:["Paid for by ",(0,T.jsx)(y,{children:$})]})})]})};var $=(0,a.Z)({gtmEventName:"Product Checkout Click Event",ecommerceType:"product tile",gaAction:"product tile",useHasAffiliate:!0},A);A.defaultProps={element:{link:"",text:"",price:"",promo_code:"",retailer:"",image_alt_tag:"",artemis_id:0,sponsor:"",sale_price:"",price_per_night:"",listing_location:"",brand_approved:{},has_affiliate_link:!1},config:{collection:{image_matte_color:"ffffff",fallback_image_id:""},site_code:""},page:{},hasAffiliate:!1,isSwipeShop:!1,isAmp:!1,gaSendEvent:()=>{},targetingCookiesAccepted:!1,productOnClick:()=>{}};var Z=(0,n.$j)((({page:e,app:t})=>({page:e,targetingCookiesAccepted:t.cookieSettings.targeting})),{gaSendEvent:o.E_})($);const I=s.default.div.withConfig({displayName:"ParagraphShopGridstyles__ParagraphShopGridContainer",componentId:"sc-11umgb1-0"})(["\n  display: grid;\n  margin: 32px 16px 40px;\n  grid-template-columns: 1fr 1fr;\n  grid-gap: 16px 16px;\n\n  @media (min-width: ",") {\n    max-width: 767px;\n    margin: 20px auto 48px;\n    padding: 0 20px 20px;\n    grid-gap: 20px 20px;\n    grid-template-columns: 1fr 1fr 1fr;\n  }\n\n  @media (min-width: ",") {\n    max-width: 1008px;\n    margin: 40px auto 60px;\n    padding: 0 24px 20px;\n    grid-gap: 24px 24px;\n    grid-template-columns: 1fr 1fr 1fr 1fr;\n  }\n\n  @media (min-width: ",") {\n    max-width: 1200px;\n    padding: 0;\n  }\n"],(({theme:e})=>`${e.breakpoints[2]}px`),(({theme:e})=>`${e.breakpoints[3]}px`),(({theme:e})=>`${e.breakpoints[4]}px`)),E=s.default.div.withConfig({displayName:"ParagraphShopGridstyles__ParagraphShopGridAffiliate
1Card",componentId:"sc-11umgb1-1"})(["\n  position: relative;\n  display: flex;\n  min-height: ",";\n  max-width: 100%;\n  grid-column: 1 / 3;\n  padding: ",";\n  border: ",";\n  border-radius: ",";\n  box-shadow: ",";\n  background-color: ",";\n\n  @media (min-width: ",") {\n    height: 400px;\n    max-width: 229px;\n    grid-column: 1;\n    padding: 27px;\n  }\n\n  @media (min-width: ",") {\n    height: 448px;\n    max-width: 282px;\n  }\n"],(({theme:e})=>e.collections.editorsNote.height),(({theme:e})=>e.collections.editorsNote.mobilePadding),(({theme:e})=>e.collections.editorsNote.border),(({theme:e})=>e.collections.tile.border.radius),(({theme:e})=>e.collections.tile.border.boxShadow),(({theme:e})=>e.collections.tile.backgroundColor),(({theme:e})=>`${e.breakpoints[2]}px`),(({theme:e})=>`${e.breakpoints[4]}px`)),D=s.default.div.withConfig({displayName:"ParagraphShopGridstyles__ParagraphShopGridAffiliateCardText",componentId:"sc-11umgb1-2"})(["\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  ",";\n  color: ",";\n"],(0,p.Z)("article/standard/editors-note"),(({theme:e})=>e.collections.editorsNote.color)),B=({page:e,config:t,element:i,isAmp:n})=>{const{affiliate_disclosure:o}=t,{products:l=[]}=i,{has_affiliate:a,flags:r}=e,c=r.includes("swipeshop");return(0,T.jsxs)(I,{children:[a&&(0,T.jsx)(E,{children:(0,T.jsx)(D,{children:o})}),l.map(((e,i)=>(0,T.jsx)(Z,{element:e,config:t,hasAffiliate:a,isAmp:n,isSwipeShop:c},i)))]})};B.defaultProps={config:{affiliate_disclosure:""},element:{products:[]},page:{has_affiliate:!1,flags:[]},isAmp:!1};var G=B},88465:function(e,t,i){i.d(t,{Z:function(){return m}});var n=i(77460),o=(i(2784),i(86866)),l=i(97704),a=i(40849),r=i(98149),c=i(14143),d=i(52322);function s(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function p(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?s(Object(i),!0).forEach((function(t){(0,n.Z)(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function m(e,t){const i=i=>{const{element:n,targetingCookiesAccepted:s,gaSendEvent:m,hasAffiliate:u,isSwipeShop:g,page:h}=i,{text:f,link:x,price:b,url:_,link_text:w,button_type:y,product_name:C,cta_button_link:k}=n,{has_affiliate:P}=h,{customProductDimensions:v,ecommerceProductObject:j}=(0,a.YN)(n),{gtmEventName:O,gaAction:T,gaCategory:N,ecommerceType:S,useHasAffiliate:A}=e,$=x||_||k,Z=u||P;let I=A&&!Z?"shop click":"affiliate click";I=N||I;const E=g?["pinnacle","swipeshop"]:["pinnacle"];let D=null;D=new c.Z(s);const B=!y||"affiliate"===String(y).toLowerCase();return(0,d.jsx)(l.df,{rootMargin:"100px",triggerOnce:!0,onChange:e=>e&&void(B&&E.forEach((e=>{o.ZP.plugin.execute(`${e}.ec`,"addImpression",Object.assign(j,{list:S}))}))),children:(0,d.jsx)(t,p(p({},i),{},{productOnClick:(e,t={})=>{o.ZP.set(t.customProductDimensions||v,E);const i="string"===typeof e?e:T;if(B){(0,r.ZP)({event:O,data:{product_content:{name:C||t.text||f||t.link_text||w,value:t.price||b||null}}}),E.forEach((e=>{o.ZP.plugin.execute(`${e}.ec`,"addProduct",t.ecommerceProductObject||j),o.ZP.plugin.execute(`${e}.ec`,"setAction","click",{list:S})})),m({category:I,action:i,label:t.productUrl||$,trackers:E});const e=A&&("boolean"===typeof t.isProductAffiliate?t.isProductAffiliate:Z)?"":"Skimlinks";D.affiliateLinkClick({product:n,url:t.productUrl||$,affiliate:e})}}}))})};return i.defaultProps={element:{link:"",text:"",price:null,sale_price:null,url:null,link_text:null,button_type:"",product_name:null,cta_button_link:null},gaSendEvent:()=>{},targetingCookiesAccepted:!1,analyticsParams:{gtmEventName:"",gaAction:"",gaCategory:"",ecommerceType:"",useHasAffiliate:!1},isSwipeShop:!1,hasAffiliate:!1,page:{has_affiliate:!1}},i}}}]);

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.