PageSourceSearch

https://www.valledelloira-francia.es/app/themes/theme_customer/public/scripts/customer.1f5ec0c8af68417c.js

js valledelloira-francia.es collected 2026-10-02 13:00:36 UTC 13,974 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e,t,r,i,o,a={jquery(e){e.exports=window.jQuery}},n={};function s(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return a[e](r,r.exports,s),r.exports}s.m=a,s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.k=e=>"chunks/"+e+".b4a2c97d656bf809.css",s.u=e=>"chunks/"+e+"."+({"scripts/banner-video.component":"c5d220880ea73d58","scripts/banner.component":"eb24be75e18c53a8","scripts/hc_swiper_v11":"d73a9845f893c34c","scripts/home.service":"0fff35f5be7be53f","scripts/layout.service":"f51c3efde25eb04d","scripts/wpet.service":"f748a7908d12006e","styles/hc_swiper_v11":"8acbf8bf932d62d6"})[e]+".js",s.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),c={},s.l=function(e,t,r,i){if(c[e])return void c[e].push(t);if(void 0!==r)for(var o,a,n=document.getElementsByTagName("script"),l=0;l<n.length;l++){var d=n[l];if(d.getAttribute("src")==e||d.getAttribute("data-rspack")=="theme_customer:"+r){o=d;break}}o||(a=!0,(o=document.createElement("script")).timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-rspack","theme_customer:"+r),o.src=e),c[e]=[t];var u=function(t,r){o.onerror=o.onload=null,clearTimeout(m);var i=c[e];if(delete c[e],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(function(e){return e(r)}),t)return t(r)},m=setTimeout(u.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=u.bind(null,o.onerror),o.onload=u.bind(null,o.onload),a&&document.head.appendChild(o)},s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.rv=()=>"1.7.11",s.g.importScripts&&(l=s.g.location+"");var c,l,d=s.g.document;if(!l&&d&&(d.currentScript&&"SCRIPT"===d.currentScript.tagName.toUpperCase()&&(l=d.currentScript.src),!l)){var u=d.getElementsByTagName("script");if(u.length)for(var m=u.length-1;m>-1&&(!l||!/^http(s?):/.test(l));)l=u[m--].src}if(!l)throw Error("Automatic publicPath is not supported in this browser");s.p=(l=l.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"))+"../",e={},t="data-rspack-loading",s.f.css=(r,i,o)=>{var a=s.o(e,r)?e[r]:void 0;if(0!==a)if(a)i.push(a[2]);else if("styles/hc_swiper_v11"==r){var n=new Promise(function(t,i){a=e[r]=[t,i]});i.push(a[2]=n);var c=s.p+s.k(r),l=Error(),d=function(t){if(s.o(e,r)&&(0!==(a=e[r])&&(e[r]=void 0),a))if("load"!==t.type){var i=t&&t.type,o=t&&t.target&&t.target.src;l.message="Loading css chunk "+r+" failed.\n("+i+": "+o+")",l.name="ChunkLoadError",l.type=i,l.request=o,a[1](l)}else s.m,e[r]=0,a[0]()};"u">typeof document?((e,r,i,o)=>{var a,n,c="chunk-"+e;if(!o){for(var l=document.getElementsByTagName("link"),d=0;d<l.length;d++){var u=l[d],m=u.getAttribute("href")||u.href;if(m&&!m.startsWith(s.p)&&(m=s.p+(m.startsWith("/")?m.slice(1):m)),"stylesheet"==u.rel&&(m&&m.startsWith(r)||u.getAttribute("data-rspack")=="theme_customer:"+c)){a=u;break}}if(!i)return}a||(n=!0,a=document.createElement("link"),s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-rspack","theme_customer:"+c),a.setAttribute(t,1),a.rel="stylesheet",a.href=r);var h=(e,r)=>{if(a.onerror=a.onload=null,a.removeAttribute(t),clearTimeout(p),r&&"load"!=r.type&&a.parentNode.removeChild(a),i(r),e)return e(r)};if(a.getAttribute(t)){var p=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload)}else h(void 0,{type:"load",target:a});return o&&o.getAttribute("fetchpriority")&&a.setAttribute("fetchpriority",o.getAttribute("fetchpriority")),o?document.head.insertBefore(a,o):n&&document.head.appendChild(a)})(r,c,d,void 0):d({type:"load"})}else e[r]=0},r={"scripts/customer":0},s.f.j=function(e,t){var i=s.o(r,e)?r[e]:void 0;if(0!==i)if(i)t.push(i[2]);else{var o=new Promise((t,o)=>i=r[e]=[t,o]);t.push(i[2]=o);var a=s.p+s.u(e),n=Error();s.l(a,function(t){if(s.o(r,e)&&(0!==(i=r[e])&&(r[e]=void 0),i)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;n.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",n.name="ChunkLoadError",n.type=o,n.request=a,i[1](n)}},"chunk-"+e,e)}},i=(e,t)=>{var i,o,[a,n,c]=t,l=0;if(a.some(e=>0!==r[e])){for(i in n)s.o(n,i)&&(s.m[i]=n[i]);c&&c(s)}for(e&&e(t);l<a.length;l++)o=a[l],s.o(r,o)&&r[o]&&r[o][0](),r[o]=0},(o=self.webpackChunktheme_customer=self.webpackChunktheme_customer||[]).forEac
1h(i.bind(null,0)),o.push=i.bind(null,o.push.bind(o)),s.ruid="[email protected]",(()=>{var e=s("jquery");class t{constructor(){t.clic_contact_offer(),t.form_submit(),t.search(),t.share(),t.newsletter_susbscription(),t.cta_reserver(),t.view_minicart(),t.select_item(),t.view_item_list()}static clic_contact_offer(){if(e("body").hasClass("single-wpet")){let t=IRISCollectionTheme.queriedObject.wpetFields,r=t.identifiant,i=t.nom;e(".GtmButtonConsultationPhonePrestataire").on("click",()=>{dataLayer.push({event:"clic_contact_offer",clic_contact_method:"T\xe9l\xe9phone",clic_contact_provider_id:r,clic_contact_provider_name:i})}),e(".GtmButtonConsultationMailPrestataire").on("click",()=>{dataLayer.push({event:"clic_contact_offer",clic_contact_method:"email",clic_contact_provider_id:r,clic_contact_provider_name:i})}),e(".GtmButtonConsultationSiteWebPrestataire").on("click",()=>{dataLayer.push({event:"clic_contact_offer",clic_contact_method:"Site web",clic_contact_provider_id:r,clic_contact_provider_name:i})}),e(".GtmButtonConsultationFacebookPrestataire").on("click",()=>{dataLayer.push({event:"clic_contact_offer",clic_contact_method:"Facebook",clic_contact_provider_id:r,clic_contact_provider_name:i})}),e(".GtmButtonConsultationTwitterPrestataire").on("click",()=>{dataLayer.push({event:"clic_contact_offer",clic_contact_method:"Twitter",clic_contact_provider_id:r,clic_contact_provider_name:i})}),e(".GtmButtonConsultationTripadvisorPrestataire").on("click",()=>{dataLayer.push({event:"clic_contact_offer",clic_contact_method:"Tripadvisor",clic_contact_provider_id:r,clic_contact_provider_name:i})})}}static form_submit(){e(".frm_forms > form").on("submit",function(){let t=e(this).attr("id");console.log({event:"form_submit",form_type:t}),dataLayer.push({event:"form_submit",form_type:t})})}static search(){let t=null;e(document).on("input",".iris-advanced-search-input__field",function(){let r=e(this).val();clearTimeout(t),t=setTimeout((function(){e(this).val()===r&&dataLayer.push({event:"search",search_type:"g\xe9n\xe9rique",search_term:r.substring(0,100)})}).bind(this),2e3)})}static share(){e(".GtmButtonPartageFacebook").on("click",()=>{dataLayer.push({event:"share",share_method:"facebook",share_location:"bas de la fiche offre"})}),e(".GtmButtonPartageTwitter").on("click",()=>{dataLayer.push({event:"share",share_method:"twitter",share_location:"bas de la fiche offre"})}),e(".GtmButtonPartageMail").on("click",()=>{dataLayer.push({event:"share",share_method:"email",share_location:"bas de la fiche offre"})})}static newsletter_susbscription(){e("#sib_signup_form_2").on("submit",()=>{dataLayer.push({event:"newsletter_susbscription"})})}static cta_reserver(){e(".GtmButtonConsultationDispoResaPrestataire").on("click",()=>{dataLayer.push({event:"cta_reserver",cta_reserver_origin:"Fiche offre - volet droit"})}),e(".iris-bottom-bar .iris-bottom-bar__item:last-of-type a").on("click",()=>{console.log({event:"cta_reserver",cta_reserver_origin:"Fiche offre - sticky"}),dataLayer.push({event:"cta_reserver",cta_reserver_origin:"Fiche offre - sticky"})})}static view_minicart(){e("#widget-panier").on("click",()=>{dataLayer.push({event:"view_minicart"})})}static select_item(){e(".wpet-block-list__offers").length>0&&e(".iris-card").on("click",function(){dataLayer.push({ecommerce:null});let r=e(this).data("id"),i=e(this).data("layer-wpet-offer-id"),o=e(this).data("layer-wpet-offer-booking")??i,a=e(this).data("layer-wpet-offer-title");IRISCollectionTheme.serverUrl;let n=IRISCollectionTheme.queriedObject.post_title,s=e(this).parent(".wpet-block-list__offer").index(),c=e(this).find(".wpet-location").text().trim(),l=[];e("#breadcrumbs a").each(function(t){l.push(e(this).text().trim())}),console.log({event:"select_item",ecommerce:{items:[{item_id:`${r}`,item_name:t.formatString(a),affiliation:`${o}`,currency:"EUR",discount:0,index:1,item_list_id:`${s+1}`,item_list_name:t.formatString(n),location_id:t.formatString(c)}]}}),dataLayer.push({event:"select_item",ecommerce:{items:[{item_id:`${r}`,item_name:t.formatString(a),affiliation:`${o}`,currency:"EUR",discount:0,index:1,item_list_id:`${s+1}`,item_list_name:t.formatString(n),location_id:t.formatString(c)}]}})}),e(document).on("click",".leaflet-popup .iris-card",function(){dataLayer.push({ecommerce:null});
1let r=e(this).data("id"),i=e(this).data("layer-wpet-offer-booking"),o=e(this).data("layer-wpet-offer-title");IRISCollectionTheme.serverUrl;let a=IRISCollectionTheme.queriedObject.post_title;dataLayer.push({event:"select_item",ecommerce:{items:[{item_id:`${r}`,item_name:t.formatString(o),affiliation:`${i??r}`,currency:"EUR",discount:0,index:1,item_list_name:t.formatString(a)}]}})}),e(".iris-carousel--cross-selling").length>0&&e(".iris-carousel--cross-selling .iris-card").on("click",function(){dataLayer.push({ecommerce:null});let r=e(this).data("id"),i=e(this).data("layer-wpet-offer-booking"),o=e(this).data("layer-wpet-offer-title");IRISCollectionTheme.serverUrl;let a=IRISCollectionTheme.queriedObject.post_title,n=e(this).find(".wpet-location").text().trim();dataLayer.push({event:"select_item",ecommerce:{items:[{item_id:`${r}`,item_name:t.formatString(o),affiliation:`${i??r}`,currency:"EUR",discount:0,index:1,item_list_name:`Cross sell - ${t.formatString(a)}`,location_id:t.formatString(n)}]}})})}static view_item_list(){e(".wpet-list__offers").length>0&&e(".wpet-list__offers .iris-card").each(function(){dataLayer.push({ecommerce:null});let r=e(this).data("id"),i=e(this).data("code-reservation"),o=e(this).find(".iris-card__content__title").text().trim();IRISCollectionTheme.serverUrl;let a=IRISCollectionTheme.queriedObject.post_title,n=e(this).parent(".wrapper_wpet_offer").index(),s=e(this).find(".wpet-location").text().trim(),c=[];e("#breadcrumbs a").each(function(t){c.push(e(this).text().trim())}),dataLayer.push({event:"view_item_list",ecommerce:{items:[{item_id:`${r}`,item_name:t.formatString(o),affiliation:`${i??r}`,currency:"EUR",discount:0,index:1,item_list_id:`${n+1}`,item_list_name:t.formatString(a),location_id:t.formatString(s)}]}})})}static formatString(e){if("string"==typeof e&&!e.trim()||null==e)return null;let t=e.normalize("NFD").replace(/[\u0300-\u036f]/g,"");return t.toLowerCase()}}var r=s("jquery");class i{constructor(){i.sticky(),i.burger()}static sticky(){let e=0;r(window).on("load scroll",function(){let t=r('[data-id="wpiris-navbar"]'),o=r(this).scrollTop(),a=!1;o>=e&&o>t.outerHeight()?r("body").addClass("header-is-hidden"):r("body").removeClass("header-is-hidden"),r("body.has-banner").length>0&&(a=!0),e=o,o>100?(t.removeClass("navbar--ontop"),t.addClass("navbar--onscroll"),r("body").addClass("on-scroll"),!0===a&&i.changeLogoColor("classic")):(t.removeClass("navbar--onscroll"),t.addClass("navbar--ontop"),r("body").removeClass("on-scroll"),!0===a&&i.changeLogoColor("banner"))})}static changeLogoColor(e){let t,i,o=r('[data-id="wpiris-logo"]');t=IRISCollectionCustomer.imageLogoBanner,i=IRISCollectionCustomer.imageLogo,"banner"===e?o.attr("src",t):"classic"===e&&o.attr("src",i)}static burger(){let e=r("body"),t='[data-trigger="wpiris-menu-submenu"]';r('[data-trigger="wpiris-menu-toggle"]').on("click",()=>{e.toggleClass("menu-open"),r(`${t}.submenu-open`).length&&r(`${t}.submenu-open`).removeClass("submenu-open"),window.matchMedia("(max-width: 650px)").matches&&(e.hasClass("menu-open")?i.changeLogoColor("classic"):r(".navbar--ontop").length>0&&r("body.has-banner").length>0&&i.changeLogoColor("banner"))}),r('[data-trigger="wpiris-menu-more"]').on("click",function(){r(this).next(t).toggleClass("submenu-open")}),r('[data-trigger="wpiris-menu-prev"]').on("click",e=>{e.preventDefault(),r(t).removeClass("submenu-open")})}}var o=s("jquery");class a{constructor(){a.langSwitcher(),"ontouchstart"in window&&a.toggleIsActiveClass()}static langSwitcher(){o(window).on("load",()=>{setTimeout(()=>{let e=o("html").attr("lang").replace(/-.*/gi,"");o('[data-id="wpiris_current-lang"]').text(e),o('[data-id="wpiris-lang-list"] > a').each(function(){o(this).text()===e&&o(this).hide()})},300)})}static toggleIsActiveClass(){o("[data-langs-toggle]").on("click",function(){o(this).toggleClass("is-active")})}}class n{constructor(){n.removeInIframe()}static removeInIframe(){if(window.self!==window.top){let e=document.querySelector('[data-element="nestor-trigger"]');e&&e.remove()}}}var c=s("jquery");document.addEventListener("DOMContentLoaded",()=>{new i,new a,new t,new n,c(".home").length>0&&s.e("scripts/home.service").then(s.bind(s,"./resources/assets/scripts/services/home.service.js")).then(e=>{let{default:t}=e;new t}),c(".fullscreen").length>0&&s.e("scripts/layout.service").then(s.bind(s,"./resources/assets/scripts/services/layout.service.js")).then(e=>{let{default:t}=e;new t}),c(".has-wpet-block-list").length>0&&s.e("scripts/wpet.service").then(s.bind(s,"./resources/assets/scripts/services/wpet.service.js")).then(e=>{let{default:t}=e;new t}),c("[data-banner-video]").length>0&&window.matchMedia("(min-width: 1001px)").matches?s.e("scripts/banner-video.component").then(s.bind(s,"./resources/assets/scripts/components/banner-video.component.js")).then(e=>{let{default:t}=e;new t}):c("#header-banner-slider").length>0&&s.e("scripts/banner.component").then(s.bind(s,"./resources/assets/scripts/components/banner.component.js")).then(e=>{let{default:t}=e;new t})})})()})();

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.