PageSourceSearch

https://cdn.beachcomber-hotels.com/v9/_next/static/chunks/7433.55ebf69fcd419897.js

js beachcomber-hotels.com collected 2026-10-09 23:35:04 UTC 12,163 bytes, 1 lines download raw bytes

vendor: 5,455 bytes, line 1
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7433],{27484:function(t){t.exports=function(){"use strict";var t=1e3,e=6e4,n=36e5,i="millisecond",r="second",s="minute",o="hour",a="day",l="week",u="month",c="quarter",d="year",h="date",f="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},$=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},g={s:$,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),r=n%60;return(e<=0?"+":"-")+$(i,2,"0")+":"+$(r,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var i=12*(n.year()-e.year())+(n.month()-e.month()),r=e.clone().add(i,u),s=n-r<0,o=e.clone().add(i+(s?-1:1),u);return+(-(i+(n-r)/(s?r-o:o-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:d,w:l,d:a,D:h,h:o,m:s,s:r,ms:i,Q:c}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},x="en",D={};D[x]=p;var M=function(t){return t instanceof j},_=function t(e,n,i){var r;if(!e)return x;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(r=s),n&&(D[s]=n,r=s);var o=e.split("-");if(!r&&o.length>1)return t(o[0])}else{var a=e.name;D[a]=e,r=a}return!i&&r&&(x=r),r||!i&&x},w=function(t,e){if(M(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new j(n)},y=g;y.l=_,y.i=M,y.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var j=function(){function p(t){this.$L=_(t.locale,null,!0),this.parse(t)}var $=p.prototype;return $.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(y.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(v);if(i){var r=i[2]-1||0,s=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},$.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},$.$utils=function(){return y},$.isValid=function(){return!(this.$d.toString()===f)},$.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},$.isAfter=function(t,e){return w(t)<this.startOf(e)},$.isBefore=function(t,e){return this.endOf(e)<w(t)},$.$g=function(t,e,n){return y.u(t)?this[e]:this.set(n,t)},$.unix=function(){return Math.floor(this.valueOf()/1e3)},$.valueOf=function(){return this.$d.getTime()},$.startOf=function(t,e){var n=this,i=!!y.u(e)||e,c=y.p(t),f=function(t,e){var r=y.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return i?r:r.endOf(a)},v=function(t,e){return y.w(n.toDate()[t].apply(n.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},m=this.$W,p=this.$M,$=this.$D,g="set"+(this.$u?"UTC":"");switch(c){case d:return i?f(1,0):f(31,11);case u:return i?f(1,p):f(0,p+1);case l:var x=this.$locale().weekStart||0,D=(m<x?m+7:m)-x;return f(i?$-D:$+(6-D),p);case a:case h:return v(g+"Hours",0);case o:return v(g+"Minutes",1);case s:return v(g+"Seconds",2);case r:return v(g+"Milliseconds",3);default:return this.clone()}},$.endOf=function(t){return this.startOf(t,!1)},$.$set=function(t,e){var n,l=y.p(t),c="set"+(this.$u?"UTC":""),f=(n={},n[a]=c+"Date",n[h]=c+"Date",n[u]=c+"Month",n[d]=c+"FullYear",n[o]=c+"Hours",n[s]=c+"Minutes",n[r]=c+"Seconds",n[i]=c+"Milliseconds",n)[l],v=l===a?this.$D+(e-this.$W):e;if(l===u||l===d){var m=this.clone().set(h,1);m.$d[f](v),m.init(),this.$d=m.set(h,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](v);return this.init(),this},$.set=function(t,e){return this.clone().$set(t,e)},$.get=function(t){return this[y.p(t)]()},$.add=function(i,c){var h,f=this;i=Number(i);var v=y.p(c),m=function(t){var e=w(f);return y.w(e.date(e.date()+Math.round(t*i)),f)};if(v===u)return this.set(u,this.$M+i);if(v===d)return this.set(d,this.$y+i);if(v===a)return m(1);if(v===l)return m(7);var p=(h={},h[s]=e,h[o]=n,h[r]=t,h)[v]||1,$=this.$d.getTime()+i*p;return y.w($,this)},$.subtract=function(t,e){return this.add(-1*t,e)},$.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var i=t||"YYYY-MM-DDTHH:mm:ssZ",r=y.z(this),s=this.$H,o=this.$m,a=this.$M,l=n.weekdays,u=n.months,c=function(t,n,r,s){return t&&(t[n]||t(e,i))||r[n].slice(0,s)},d=function(t){return y.s(s%12||12,t,"0")},h=n.meridiem||function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i},v={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:y.s(a+1,2,"0"),MMM:c(n.monthsShort,a,u,3),MMMM:c(u,a),D:this.$D,DD:y.s(this.$D,2,"0"),d:String(this.$W),dd:c(n.weekdaysMin,this.$W,l,2),ddd:c(n.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(s),HH:y.s(s,2,"0"),h:d(1),hh:d(2),a:h(s,o,!0),A:h(s,o,!1),m:String(o),mm:y.s(o,2,"0"),s:String(this.$s),ss:y.s(this.$s,2,"0"),SSS:y.s(this.$ms,3,"0"),Z:r};return i.replace(m,(function(t,e){return e||v[t]||r.replace(":","")}))}
1,$.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},$.diff=function(i,h,f){var v,m=y.p(h),p=w(i),$=(p.utcOffset()-this.utcOffset())*e,g=this-p,x=y.m(this,p);return x=(v={},v[d]=x/12,v[u]=x,v[c]=x/3,v[l]=(g-$)/6048e5,v[a]=(g-$)/864e5,v[o]=g/n,v[s]=g/e,v[r]=g/t,v)[m]||g,f?x:y.a(x)},$.daysInMonth=function(){return this.endOf(u).$D},$.$locale=function(){return D[this.$L]},$.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),i=_(t,e,!0);return i&&(n.$L=i),n},$.clone=function(){return y.w(this.$d,this)},$.toDate=function(){return new Date(this.valueOf())},$.toJSON=function(){return this.isValid()?this.toISOString():null},$.toISOString=function(){return this.$d.toISOString()},$.toString=function(){return this.$d.toUTCString()},p}(),S=j.prototype;return w.prototype=S,[["$ms",i],["$s",r],["$m",s],["$H",o],["$W",a],["$M",u],["$y",d],["$D",h]].forEach((function(t){S[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),w.extend=function(t,e){return t.$i||(t(e,j,w),t.$i=!0),w},w.locale=_,w.isDayjs=M,w.unix=function(t){return w(1e3*t)},w.en=D[x],w.Ls=D,w.p={},w}()},67433:function(t,e,n){"use strict";var i=n(85893),r=n(64984),s=n(27484),o=n.n(s),a=n(13871),l=n(6873),u=n(20417),c=n(85739),d=n(67294),h=n(7126),f=n.n(h),v=n(38382),m=n(90002),p=n(20239),$=n(55580),g="YYYY-MM-DD",x=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;if(!t)return t;var n=t.replace(/<[^>]+>/g,"").replace(/&nbsp;/g," ").trim();if(n.length<=e)return t;var i=n.slice(0,e),r=Math.max(i.lastIndexOf(". "),i.lastIndexOf("! "),i.lastIndexOf("? "));if(/[.!?]$/.test(i)&&(r=Math.max(r,i.length-1)),r>.5*e)return"<p>".concat(n.slice(0,r+1).trim(),"</p>");var s=i.lastIndexOf(" "),o=s>.8*e?i.slice(0,s):i;return"<p>".concat(o.trimEnd(),"...</p>")};e.Z=function(t){var e=t.golfCard,n=t.label,s=t.CTALabel,h=t.CTALink,D=t.description,M=void 0===D?"":D,_=t.strateName,w=void 0===_?"":_,y=t.bookNowLabel,j=void 0===y?"":y,S=t.smallDescription,b=void 0===S?{}:S,T=t.imageWidth,N=void 0===T?"":T,O=t.imageHeight,k=void 0===O?"":O,C=t.imageDJ,L=t.imageDW,Y=t.imageTJ,I=t.imageTW,Z=t.imageAlt,A=t.customClass,H=void 0===A?"":A,W=t.offerType,B=void 0===W?"":W,P=t.titleTop,E=void 0!==P&&P,F=t.priceWithDescription,J=void 0!==F&&F,z=t.bigImage,U=void 0!==z&&z,V=t.isMobile,q=void 0!==V&&V,Q=t.hasPrice,X=void 0!==Q&&Q,G=t.loadingPrice,K=void 0!==G&&G,R=t.hasDescExtraSpace,tt=void 0!==R&&R,et=t.hotelNodeId,nt=void 0===et?"":et,it=t.dataBooking,rt=void 0===it?null:it,st=t.formatedData,ot=void 0===st?null:st,at=t.field_displayed_title,lt=t.field_html_title,ut=t.targetBlank,ct=void 0!==ut&&ut,dt=(0,d.useContext)(r.L),ht=dt.setAjaxLink,ft=dt.setHasAjax,vt=b||{},mt=vt.field_description_plain_mobile,pt=vt.field_description_plain_desktop,$t=Boolean(pt)||Boolean(mt),gt="blogItem"===H,xt=rt||{},Dt=xt.hotel_lists,Mt=void 0===Dt?[]:Dt,_t=xt.country,wt=xt.pageLocale,yt=xt.start,jt=xt.end,St=xt.offer_id,bt=[];if(B){var Tt=B.split(" "),Nt=Math.floor(Tt.length/2),Ot=Tt.slice(0,Nt).join(" "),kt=Tt.slice(Nt).join(" ");bt.push(Ot),bt.push(kt)}var Ct=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";w&&(0,u.D)("content","".concat(w," - ").concat(t," ").concat(n))},Lt=function(t){return"Invalid Date"!=o()(t).format(g)?o()(t).format(g):""};return(0,i.jsxs)("div",{className:"".concat(f().hotelsItem," ").concat(U?f().bigImage:""," ").concat(H||""),children:[lt?(0,i.jsxs)("h2",{className:f().topTitle,children:[(0,i.jsx)("span",{children:at}),lt]}):E&&n&&(0,i.jsx)("h2",{className:f().topTitle,children:n}),(0,i.jsxs)("div",{className:f().imageCard,children:[B&&(0,i.jsx)("div",{className:f().noteOffert,children:(0,i.jsxs)("div",{className:f().mainNote,children:[(null===bt||void 0===bt?void 0:bt[0])&&(0,i.jsx)("span",{className:f().notif,children:null===bt||void 0===bt?void 0:bt[0]}),(null===bt||void 0===bt?void 0:bt[1])&&(0,i.jsx)("span",{children:null===bt||void 0===bt?void 0:bt[1]})]})}),(0,i.jsx)(p.Z,{width:N,height:k,onClick:Ct,alt:Z||"",webpD:L,jpgD:C,webpT:I||"",jpgT:Y||""}),J?(0,i.jsx)("div",{className:f().pricesLeft,children:K?(0,i.jsx)(v.Z,{small:!0}):ot&&(null===ot||void 0===ot?void 0:ot.amount)&&(0,i.jsxs)(i.Fragment,{children:[(null===ot||void 0===ot?void 0:ot.upperText)&&(0,i.jsx)("span",{children:null===ot||void 0===ot?void 0:ot.upperText}),(null===ot||void 0===ot?void 0:ot.amount)&&(0,i.jsxs)("p",{children:[null===ot||void 0===ot?void 0:ot.amount,(null===ot||void 0===ot?void 0:ot.lowerText)&&(0,i.jsx)("span",{children:null===ot||void 0===ot?void 0:ot.lowerText})]})]})}):""]}),!E&&n&&(0,i.jsx)("p",{className:f().bottomTitle,children:n}),J?(0,i.jsx)("div",{className:f().priceDescContainer,children:M&&(0,i.jsx)("div",{className:f().hotelsDescription,children:(0,c.Z)(M||"")})}):X?(0,i.jsx)("div",{className:f().hotelsPrices,children:K?(0,i.jsx)(v.Z,{small:!0}):ot&&(null===ot||void 0===ot?void 0:ot.amount)&&(0,i.jsxs)("p",{children:[(null===ot||void 0===ot?void 0:ot.upperText)&&(0,i.jsx)("span",{children:null===ot||void 0===ot?void 0:ot.upperText}),(null===ot||void 0===ot?void 0:ot.amount)&&(0,i.jsxs)(i.Fragment,{children:[null===ot||void 0===ot?void 0:ot.amount," ",(null===ot||void 0===ot?void 0:ot.lowerText)?null===ot||void 0===ot?void 0:ot.lowerText:null]})]})}):($t||gt)&&(0,i.jsx)("div",{className:"".concat(f().hotelsPrices," ").concat(e?f().hotelsPrices__golf:""," ").concat(tt?f().hasDescExtraSpace:""," ").concat(!$t&&gt?f().hotelsPricesPlaceholder:""),children:$t?q?(0,c.Z)(tt?x(mt||""):mt||""):(0,c.Z)(tt?x(pt||""):pt||""):"\xa0"}),(0,i.jsxs)("div",{className:f().sectionBtnContainer,children:[nt&&rt?s&&(0,i.jsx)(m.Z,{href:"#",onClick:function(t){var e;(t.preventDefault(),h)&&(ft(!0),ht(h),(0,$.En)((null===window||void 0===window||null===(e=window.location)||void 0===e?void 0:e.pathname)||""))},size:U?"big":"",variant:"light",children:s}):s&&(0,i.jsx)(m.Z,{onClick:function(){return Ct("CTA -")},href:h||"#",size:U?"big":"",variant:"light",targetBlank:ct,children:s}),nt&&rt&&j&&(0,i.jsx)("button",{type:"button",onClick:function(t){t.preventDefault(),w&&(0,u.D)("content","".concat(w," - CTA - book now")),window.open((0,l.$3)(function(){var t=Lt(yt),e=Lt(jt),n=Mt.find((function(t){return t.node_id==nt})),i=n.hotel_id,r=n.hotel_siteurl;return(0,a.ib)(i,r,_t,wt,t,e,2,St)}()),"_blank")},className:f().btnBook,children:j})]})]})}},38382:function(t,e,n){"use strict";var i=n(85893),r=n(36968),s=n(74436),o=n.n(s);e.Z=function(t){var e=t.small,n=void 0!==e&&e;return(0,i.jsx)("div",{className:"".concat(o().container," ").concat(n?o().small:""),children:(0,i.jsx)(r.Z,{animation:"border"})})}},74436:function(t){t.exports={container:"LoadingSpinner_container__Xy18F",small:"LoadingSpinner_small__msMkY"}}}]);

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.