PageSourceSearch

https://cdn.beachcomber-hotels.com/v9/_next/static/chunks/3411.c5211bcfda28868e.js

js beachcomber-hotels.com collected 2026-10-09 23:36:19 UTC 4,355 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3411],{23411:function(e,i,l){l.r(i);var t=l(85893),o=l(85739),n=l(7126),a=l.n(n),d=l(21608),r=l(31555),u=l(67433),c=l(72045),f=l(67294),v=l(58299),s=l(9669),_=l.n(s);function m(e,i,l){return i in e?Object.defineProperty(e,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[i]=l,e}function p(e){for(var i=1;i<arguments.length;i++){var l=null!=arguments[i]?arguments[i]:{},t=Object.keys(l);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),t.forEach((function(i){m(e,i,l[i])}))}return e}i.default=function(e){var i=e.data,l=e.isMobile,n=void 0!==l&&l,s=e.dataBooking,m=void 0===s?null:s,g=e.strateName,h=void 0===g?"":g,b=(0,f.useState)(!1),x=b[0],y=b[1],j=(0,f.useState)((null===i||void 0===i?void 0:i.content)||[]),k=j[0],w=j[1];if((0,f.useEffect)((function(){var e=(null===i||void 0===i?void 0:i.content)||[];y(!0);var l=function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=e.map((function(e){var l=e||{},t=l.field_mode_affichages_prix,o=l.offer_id,n=t||{},a=n.field_mode_affichages_prix,d=n.field_type,r=n.field_prefix,u=n.label_as_from,c=n.label_up_to,f=n.offers_remise_label,v=n.field_percent,s=n.field_currency,_=n.field_montant,m={};if("prix_dynamique"===a){var g=i.find((function(e){return(null===e||void 0===e?void 0:e.offer_type_id)===o})),h=(null===g||void 0===g?void 0:g.offer_best_percentage)||null;(m={amount:h?"".concat(h,"%"):"",lowerText:f||""}).upperText="as_from"===r?u||"":c||""}else"pourcentage"===d?(m={amount:v?"".concat(v,"%"):"",lowerText:f||""}).upperText="as_from"===r?u||"":c||"":(m={amount:_||"",lowerText:s||""}).upperText="as_from"===r?u||"":c||"";return p({},e,{formatedData:m})}));w(l)};if(e.length>0){var t=m||{},o=t.pageLocale,n=void 0===o?"en":o,a=t.country,d=void 0===a?"73":a,r=(null===v.QA||void 0===v.QA?void 0:v.QA[n])||1,u="".concat(v.a7,"&country_id=").concat(d,"&language_id=").concat(r);e.filter((function(e){var i;return"prix_dynamique"===(null===e||void 0===e||null===(i=e.field_mode_affichages_prix)||void 0===i?void 0:i.field_mode_affichages_prix)})).length>0?_().get(u).then((function(e){var i,t=(null===e||void 0===e||null===(i=e.data)||void 0===i?void 0:i.data)||[];l(t),y(!1)})).catch((function(e){console.error(e),y(!1)})):(l(),y(!1))}else y(!1)}),[i,m]),i){var O=i||{},T=O.field_title,N=O.field_teaser_description_desktop,D=void 0===N?"":N,A=function(e){var i,l,o,a,d=e.landing_pages_read_more,r=e.field_images_market,c=e.field_teaser_detail,f=e.formatedData,v=e.title,s=e.path,_=r||{},m=_.field_image_desktop,p=_.field_image_mobile,g=(null===m||void 0===m?void 0:m.imageDerivatives)||{},b=(null===p||void 0===p?void 0:p.imageDerivatives)||{},y=n?null===c||void 0===c?void 0:c.field_teaser_mobile:null===c||void 0===c?void 0:c.field_teaser_desktop;return(0,t.jsx)(u.Z,{titleTop:!0,priceWithDescription:!0,bigImage:!0,CTALabel:d||"",CTALink:null===s||void 0===s?void 0:s.alias,label:v,description:y,imageAlt:null===m||void 0===m?void 0:m.alt,imageWidth:null===m||void 0===m?void 0:m.width,imageHeight:null===m||void 0===m?void 0:m.height,imageDJ:(null===g||void 0===g||null===(i=g.teaser_desktop)||void 0===i?void 0:i.url)||(null===g||void 0===g?void 0:g.default_url),imageDW:(null===g||void 0===g||null===(l=g.teaser_desktop)||void 0===l?void 0:l.webp)||(null===g||void 0===g?void 0:g.default_url),imageTJ:(null===b||void 0===b||null===(o=b.image_250_x_312)||void 0===o?void 0:o.url)||(null===b||void 0===b?void 0:b.default_url),imageTW:(null===b||void 0===b||null===(a=b.image_250_x_312)||void 0===a?void 0:a.webp)||(null===b||void 0===b?void 0:b.default_url),loadingPrice:x,formatedData:f,strateName:h})};return(0,t.jsxs)("div",{id:"zoneOffre",className:"".concat(a().zoneOffers," ").concat(a().zoneOffersGrid),children:[T&&(0,t.jsx)("span",{className:a().titleH2,children:T}),D&&(0,t.jsx)("div",{className:a().richText,children:(0,t.jsx)("div",{className:"d-none d-md-block",children:(0,t.jsx)("div",{className:"text-align-center",children:(0,o.Z)(D||"")})})}),(0,t.jsx)("div",{className:a().hotelsContainerOffert,children:(0,t.jsx)(d.Z,{className:"justify-content-center",children:k.map((function(e){return(0,t.jsx)(r.Z,{md:6,lg:4,children:A(e)},(0,c.Z)())}))})})]})}}}}]);

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.