PageSourceSearch

https://rendezvoushotels.com.au/3269-6606aa457acaca82eff8.js

js rendezvoushotels.com.au collected 2026-09-26 08:35:42 UTC 2,589 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkrendezvoushotels=self.webpackChunkrendezvoushotels||[]).push([[3269],{43269:function(e,t,l){l.r(t),l.d(t,{default:function(){return r}});var a=l(67294),s="deals-module--section--7032e",n=l(58982),i=l(14852),c=l(20574),d=l(38804);function r(e){var t;let{data:l,...r}=e;const o=(0,d.Sj)(),{0:m,1:u}=(0,a.useState)(l.title),{0:h,1:E}=(0,a.useState)([]),[p,g]=(0,i.Z)({align:"start",containScroll:"trimSnaps"}),f=(0,n.Yz)(!!h.length,300),{0:b,1:v}=(0,a.useState)(!1);return(0,a.useEffect)((()=>{const e=new Date,t=l.deals.filter((t=>new Date(t.display_start)<=e&&(!t.display_end||new Date(t.display_end)>e)&&new Date(t.end_date)>e&&!t.is_hidden&&(!t.display_on||t.display_on.includes(o))));t.length!=h.length&&(0,a.startTransition)((()=>E(t)))}),[o]),(0,a.useEffect)((()=>{(0,a.startTransition)((()=>v(!0)))}),[]),a.createElement("section",{className:`${s} ${null!==(t=r.className)&&void 0!==t?t:""}${b?" loaded":""}`},a.createElement("div",{className:"padding-global"},a.createElement("div",{className:"container"},a.createElement("div",{className:"padding-section-large"},!!m&&a.createElement(d.Dx,m),f.shouldMount&&a.createElement("div",{className:`carousel-container ${(0,d.oj)(f)}`},a.createElement(d.lr,{id:`deals-carousel${r.pk}`,emblaRef:p,emblaApi:g,slidesPerView:3,slidesPerViewport:{tablet:{slides:2},mobile:{slides:1}},gap:24,showButtons:!1,showScroll:!1,showDots:!1,slides:null==h?void 0:h.map(((e,t)=>a.createElement("div",{key:`deals-carousel${r.pk}-${t}`,className:"slide-content"},a.createElement("div",{className:"card"},a.createElement(c.Link,{to:(0,d.qn)(e.slug),title:`${e.title}`},a.createElement(d.Ee,e)),!!e.is_member_only&&a.createElement("div",{className:"eclub-deal"},a.createElement("img",{src:"https://apimedia.tfehotels.com/media-blue/filer_public/fc/51/fc51ab07-1f7a-468d-8571-09fb72e7b642/eclub_logo_new_white.svg",alt:"eClub",loading:"lazy",width:80,height:25})),!!e.highlighted_text&&a.createElement("div",{className:"highlighted"},e.highlighted_text)),a.createElement("div",{className:"deal-definition"},a.createElement("div",{className:"description"},a.createElement(c.Link,{to:(0,d.qn)(e.slug)},a.createElement(d.Dx,{type:"title",title:e.title})," "),!!e.short_description&&a.createElement(d.UG,null,e.short_description)),a.createElement("div",null,a.createElement(c.Link,{to:(0,d.qn)(e.slug),className:"deal-link"},a.createElement("button",{className:"primary"},"LEARN MORE")))))))})),l.link&&a.createElement(d.rU,Object.assign({className:"secondary"},l.link))))))}}}]);
2//# sourceMappingURL=3269-6606aa457acaca82eff8.js.map

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.