idealo – Votre comparateur de prix (2024)

idealo - Comparateur de prix - Comparez vite et bien Le développement durable chez idealo

- Comparez vite et bien

  • Achats en ligne
  • Vols
  • Le mag

\n \n

\n

\n

\n \n'},3:function(e,t,n,i,r){return'\x3c!--\n --\x3e

\x3c!--\n --\x3e'},5:function(e,t,n,i,r,o){var s,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(s=e.lambda(null!=(s=o[1][0])?a(s,"titleMarked"):s,t))?s:""},7:function(e,t,n,i,r,o){var s,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(s=o[1][0])?a(s,"titlePlain"):s,t))},9:function(e,t,n,i,r,o){var s,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\x3c!--\n --\x3e-'+e.escapeExpression(e.lambda(null!=(s=o[1][0])?a(s,"location"):s,t))+"\x3c!--\n --\x3e"},11:function(e,t,n,i,r,o,s){var a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\x3c!--\n --\x3e'+e.escapeExpression(e.lambda(null!=s[1]?a(s[1],"badge"):s[1],t))+"\x3c!--\n --\x3e"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o,s){var a,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(a=l(n,"if").call(null!=t?t:e.nullContext||{},null!=t?l(t,"data"):t,{name:"if",hash:{},fn:e.program(1,r,0,o,s),inverse:e.noop,data:r,blockParams:o,loc:{start:{line:1,column:0},end:{line:35,column:7}}}))?a:""},useData:!0,useDepths:!0,useBlockParams:!0})},424:(e,t,n)=>{var i=n(624);e.exports=(i.default||i).template({1:function(e,t,n,i,r){var o,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=s(n,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"trendings"):t,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r,loc:{start:{line:3,column:8},end:{line:9,column:15}}}))?o:""},2:function(e,t,i,r,o){var s,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'

\n

\n '+(null!=(s=e.invokePartial(n(556),t,{name:"titlebar",hash:{title:null!=(s=null!=t?a(t,"i18n"):t)?a(s,"trending"):s},fn:e.program(3,o,0),inverse:e.noop,data:o,helpers:i,partials:r,decorators:e.decorators}))?s:"")+"\n"+(null!=(s=e.invokePartial(n(80),t,{name:"trending-list",hash:{data:null!=t?a(t,"trendings"):t},data:o,indent:" ",helpers:i,partials:r,decorators:e.decorators}))?s:"")+"

\n"},3:function(e,t,n,i,r){return""},5:function(e,t,i,r,o){var s,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(s=e.invokePartial(n(556),t,{name:"titlebar",hash:{title:null!=(s=null!=t?a(t,"i18n"):t)?a(s,"recent"):s},fn:e.program(6,o,0),inverse:e.noop,data:o,helpers:i,partials:r,decorators:e.decorators}))?s:"")+(null!=(s=e.invokePartial(n(508),t,{name:"list",hash:{data:null!=t?a(t,"recent"):t},data:o,indent:" ",helpers:i,partials:r,decorators:e.decorators}))?s:"")},6:function(e,t,n,i,r){var o,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' \n"},8:function(e,t,i,r,o){var s,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+(null!=(s=e.invokePartial(n(556),t,{name:"titlebar",hash:{title:null!=(s=null!=t?a(t,"i18n"):t)?a(s,"suggestions"):s},fn:e.program(3,o,0),inverse:e.noop,data:o,helpers:i,partials:r,decorators:e.decorators}))?s:"")+"\n"+(null!=(s=e.invokePartial(n(508),t,{name:"list",hash:{badge:null!=(s=null!=t?a(t,"i18n"):t)?a(s,"trending_badge"):s,data:null!=t?a(t,"suggestions"):t},data:o,indent:" ",helpers:i,partials:r,decorators:e.decorators}))?s:"")},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,s=null!=t?t:e.nullContext||{},a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'

\n"},usePartial:!0,useData:!0})},556:(e,t,n)=>{var i=n(624);e.exports=(i.default||i).template({1:function(e,t,n,i,r){var o,s,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'

\n '+e.escapeExpression("function"==typeof(s=null!=(s=a(n,"title")||(null!=t?a(t,"title"):t))?s:e.hooks.helperMissing)?s.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:r,loc:{start:{line:3,column:63},end:{line:3,column:72}}}):s)+"\n"+(null!=(o=e.invokePartial(a(i,"@partial-block"),t,{name:"@partial-block",data:r,indent:" ",helpers:n,partials:i,decorators:e.decorators}))?o:"")+"

\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r){var o,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=s(n,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"title"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:0},end:{line:6,column:7}}}))?o:""},usePartial:!0,useData:!0})},80:(e,t,n)=>{var i=n(624);e.exports=(i.default||i).template({1:function(e,t,n,i,r,o){var s,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'

    \n'+(null!=(s=a(n,"each").call(null!=t?t:e.nullContext||{},null!=t?a(t,"data"):t,{name:"each",hash:{},fn:e.program(2,r,1,o),inverse:e.noop,data:r,blockParams:o,loc:{start:{line:3,column:8},end:{line:12,column:17}}}))?s:"")+"

\n"},2:function(e,t,n,i,r,o){var s,a=e.lambda,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'

  • \n \n '+l(a(null!=(s=o[0][0])?u(s,"query"):s,t))+"\n \n
  • \n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,r,o){var s,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(s=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"data"):t,{name:"if",hash:{},fn:e.program(1,r,0,o),inverse:e.noop,data:r,blockParams:o,loc:{start:{line:1,column:0},end:{line:14,column:7}}}))?s:""},useData:!0,useBlockParams:!0})},732:(e,t,n)=>{"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var o=r(n(552)),s=i(n(976)),a=i(n(384)),l=r(n(440)),u=r(n(776)),c=i(n(24));function d(){var e=new o.HandlebarsEnvironment;return l.extend(e,o),e.SafeString=s.default,e.Exception=a.default,e.Utils=l,e.escapeExpression=l.escapeExpression,e.VM=u,e.template=function(t){return u.template(t,e)},e}var h=d();h.create=d,c.default(h),h.default=h,t.default=h,e.exports=t.default},552:(e,t,n)=>{"use strict";function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HandlebarsEnvironment=d;var r=n(440),o=i(n(384)),s=n(707),a=n(677),l=i(n(896)),u=n(60);t.VERSION="4.7.8";t.COMPILER_REVISION=8;t.LAST_COMPATIBLE_COMPILER_REVISION=7;t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var c="[object Object]";function d(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},s.registerDefaultHelpers(this),a.registerDefaultDecorators(this)}d.prototype={constructor:d,logger:l.default,log:l.default.log,registerHelper:function(e,t){if(r.toString.call(e)===c){if(t)throw new o.default("Arg not supported with multiple helpers");r.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(r.toString.call(e)===c)r.extend(this.partials,e);else{if(void 0===t)throw new o.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(r.toString.call(e)===c){if(t)throw new o.default("Arg not supported with multiple decorators");r.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){u.resetLoggedProperties()}};var h=l.default.log;t.log=h,t.createFrame=r.createFrame,t.logger=l.default},677:(e,t,n)=>{"use strict";t.__esModule=!0,t.registerDefaultDecorators=function(e){o.default(e)};var i,r=n(152),o=(i=r)&&i.__esModule?i:{default:i}},152:(e,t,n)=>{"use strict";t.__esModule=!0;var i=n(440);t.default=function(e){e.registerDecorator("inline",(function(e,t,n,r){var o=e;return t.partials||(t.partials={},o=function(r,o){var s=n.partials;n.partials=i.extend({},s,t.partials);var a=e(r,o);return n.partials=s,a}),t.partials[r.args[0]]=r.fn,o}))},e.exports=t.default},384:(e,t)=>{"use strict";t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function i(e,t){var r=t&&t.loc,o=void 0,s=void 0,a=void 0,l=void 0;r&&(o=r.start.line,s=r.end.line,a=r.start.column,l=r.end.column,e+=" - "+o+":"+a);for(var u=Error.prototype.constructor.call(this,e),c=0;c

    {"use strict";function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.registerDefaultHelpers=function(e){r.default(e),o.default(e),s.default(e),a.default(e),l.default(e),u.default(e),c.default(e)},t.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var r=i(n(120)),o=i(n(344)),s=i(n(356)),a=i(n(192)),l=i(n(464)),u=i(n(844)),c=i(n(216))},120:(e,t,n)=>{"use strict";t.__esModule=!0;var i=n(440);t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,n){var r=n.inverse,o=n.fn;if(!0===t)return o(this);if(!1===t||null==t)return r(this);if(i.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):r(this);if(n.data&&n.ids){var s=i.createFrame(n.data);s.contextPath=i.appendContextPath(n.data.contextPath,n.name),n={data:s}}return o(t,n)}))},e.exports=t.default},344:(e,t,n)=>{"use strict";t.__esModule=!0;var i,r=n(440),o=n(384),s=(i=o)&&i.__esModule?i:{default:i};t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new s.default("Must pass iterator to #each");var n,i=t.fn,o=t.inverse,a=0,l="",u=void 0,c=void 0;function d(t,n,o){u&&(u.key=t,u.index=n,u.first=0===n,u.last=!!o,c&&(u.contextPath=c+t)),l+=i(e[t],{data:u,blockParams:r.blockParams([e[t],t],[c+t,null])})}if(t.data&&t.ids&&(c=r.appendContextPath(t.data.contextPath,t.ids[0])+"."),r.isFunction(e)&&(e=e.call(this)),t.data&&(u=r.createFrame(t.data)),e&&"object"==typeof e)if(r.isArray(e))for(var h=e.length;a{"use strict";t.__esModule=!0;var i,r=n(384),o=(i=r)&&i.__esModule?i:{default:i};t.default=function(e){e.registerHelper("helperMissing",(function(){if(1!==arguments.length)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')}))},e.exports=t.default},192:(e,t,n)=>{"use strict";t.__esModule=!0;var i,r=n(440),o=n(384),s=(i=o)&&i.__esModule?i:{default:i};t.default=function(e){e.registerHelper("if",(function(e,t){if(2!=arguments.length)throw new s.default("#if requires exactly one argument");return r.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||r.isEmpty(e)?t.inverse(this):t.fn(this)})),e.registerHelper("unless",(function(t,n){if(2!=arguments.length)throw new s.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})}))},e.exports=t.default},464:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",(function(){for(var t=[void 0],n=arguments[arguments.length-1],i=0;i{"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",(function(e,t,n){return e?n.lookupProperty(e,t):e}))},e.exports=t.default},216:(e,t,n)=>{"use strict";t.__esModule=!0;var i,r=n(440),o=n(384),s=(i=o)&&i.__esModule?i:{default:i};t.default=function(e){e.registerHelper("with",(function(e,t){if(2!=arguments.length)throw new s.default("#with requires exactly one argument");r.isFunction(e)&&(e=e.call(this));var n=t.fn;if(r.isEmpty(e))return t.inverse(this);var i=t.data;return t.data&&t.ids&&((i=r.createFrame(t.data)).contextPath=r.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:i,blockParams:r.blockParams([e],[i&&i.contextPath])})}))},e.exports=t.default},520:(e,t,n)=>{"use strict";t.__esModule=!0,t.createNewLookupObject=function(){for(var e=arguments.length,t=Array(e),n=0;n{"use strict";t.__esModule=!0,t.createProtoAccessControl=function(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var n=Object.create(null);return n.__proto__=!1,{properties:{whitelist:r.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:r.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},t.resultIsAllowed=function(e,t,n){return l("function"==typeof e?t.methods:t.properties,n)},t.resetLoggedProperties=function(){Object.keys(a).forEach((function(e){delete a[e]}))};var i,r=n(520),o=n(896),s=(i=o)&&i.__esModule?i:{default:i},a=Object.create(null);function l(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==a[e]&&(a[e]=!0,s.default.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(t),!1)}},560:(e,t)=>{"use strict";t.__esModule=!0,t.wrapHelper=function(e,t){if("function"!=typeof e)return e;return function(){return arguments[arguments.length-1]=t(arguments[arguments.length-1]),e.apply(this,arguments)}}},896:(e,t,n)=>{"use strict";t.__esModule=!0;var i=n(440),r={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=i.indexOf(r.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=r.lookupLevel(e),"undefined"!=typeof console&&r.lookupLevel(r.level)<=e){var t=r.methodMap[e];console[t]||(t="log");for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o{"use strict";t.__esModule=!0,t.default=function(e){"object"!=typeof globalThis&&(Object.prototype.__defineGetter__("__magic__",(function(){return this})),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);var t=globalThis.Handlebars;e.noConflict=function(){return globalThis.Handlebars===e&&(globalThis.Handlebars=t),e}},e.exports=t.default},776:(e,t,n)=>{"use strict";t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,n=a.COMPILER_REVISION;if(t>=a.LAST_COMPATIBLE_COMPILER_REVISION&&t<=a.COMPILER_REVISION)return;if(t{"use strict";function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default},440:(e,t)=>{"use strict";t.__esModule=!0,t.extend=s,t.indexOf=function(e,t){for(var n=0,i=e.length;n":">",'"':""","'":"'","`":"`","=":"="},i=/[&<>"'`=]/g,r=/[&<>"'`=]/;function o(e){return n[e]}function s(e){for(var t=1;t{e.exports=n(732).default},936:function(e,t){var n,i,r;i=[],void 0===(r="function"==typeof(n=function(){var e=function(){},t={},n={},i={};function r(e,t){e=e.push?e:[e];var r,o,s,a=[],l=e.length,u=l;for(r=function(e,n){n.length&&a.push(e),--u||t(a)};l--;)o=e[l],(s=n[o])?r(o,s):(i[o]=i[o]||[]).push(r)}function o(e,t){if(e){var r=i[e];if(n[e]=t,r)for(;r.length;)r[0](e,t),r.splice(0,1)}}function s(t,n){t.call&&(t={success:t}),n.length?(t.error||e)(n):(t.success||e)(t)}function a(t,n,i,r){var o,s,l=document,u=i.async,c=(i.numRetries||0)+1,d=i.before||e,h=t.replace(/[\?|#].*$/,""),p=t.replace(/^(css|img)!/,"");r=r||0,/(^css!|\.css$)/.test(h)?((s=l.createElement("link")).rel="stylesheet",s.href=p,(o="hideFocus"in s)&&s.relList&&(o=0,s.rel="preload",s.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(h)?(s=l.createElement("img")).src=p:((s=l.createElement("script")).src=t,s.async=void 0===u||u),s.onload=s.onerror=s.onbeforeload=function(e){var l=e.type[0];if(o)try{s.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((r+=1){var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e="enabled.idealo.header",t="disable.idealo.header",i="disabled.idealo.header",r="enable.idealo.search",o="i-header",s={INITIALISED:`${o}--initialised`},a={HEADER_COMPONENT:`.${o}`};class l{static initIdealoObject(){window.idealo=window.idealo||{},window.idealo.header={}}constructor(){this.root=null,this.isInitialised=!1,this.init()}init(){l.initIdealoObject(),this.root=window.document.querySelector(a.HEADER_COMPONENT),null!==this.root&&(this.bindEvents(),this.isInitialised=!0),this.render()}bindEvents(){this.root.addEventListener("click",(()=>{let e=document.createEvent("Event");e.initEvent(t,!0,!0),"function"==typeof Event&&(e=new Event(t)),window.document.dispatchEvent(e)}))}render(){this.isInitialised&&(this.root.classList.add(s.INITIALISED),this.root.setAttribute("data-header-build-version","20240327092730"))}}const u={event:"header_flights_click",owner:"de.idealo.tyrell",version:"1-0-0"},c={event:"header_hotel_click",owner:"de.idealo.tyrell",version:"1-0-0"},d={event:"header_flights_hotel_click",owner:"de.idealo.tyrell",version:"1-0-0"},h={event:"header_magazin_click",owner:"de.idealo.tyrell",version:"1-0-0"},p={event:"header_idealo_logo_click",owner:"de.idealo.tyrell",version:"1-0-0"},_={event:"header_all_categories_click",owner:"de.idealo.tyrell",version:"1-0-0"},f={event:"header_wishlist_click",owner:"de.idealo.tyrell",version:"1-0-0"},v={event:"header_price_alerts_click",owner:"de.idealo.tyrell",version:"1-0-0"},g={event:"header_notification_click",owner:"de.idealo.tyrell",version:"1-0-0"},m={event:"searchbar_last_seen_delete_click",owner:"de.idealo.tyrell",version:"1-0-0"},y={event:"searchbar_start_typing_before_focus",owner:"de.idealo.tyrell",version:"1-0-0"},w=e=>{window?.utag_data?.push(e)},b=()=>w(u),E=()=>w(c),S=()=>w(d),I=()=>w(h),k=()=>w(p),T=()=>w(_),L=()=>w(f),O=()=>w(g),P=()=>w(v),x=3e3;class A{constructor(){this.abortController=null}async fetchWithTimeout(e,t={}){const{timeout:n=x}=t;this.abortController=new AbortController;const i=setTimeout((()=>this.abortController.abort()),n),r=await window.fetch(e,{...t,signal:this.abortController.signal});clearTimeout(i);return await r.json()}cancelRequest(){this.abortController?.abort()}isRequestCancelled(){return this.abortController?.signal?.aborted}}const C="i-suggest",N=-1,H="aria-pressed",M={HIGHLIGHT:`${C}-highlight`,SUGGEST_ITEM_ACTIVE:`${C}-item--active`,SUGGEST_NAV_SUGGESTIONS:`${C}--suggestions`},D={AUTOCOMPLETE:`.${C}-autocomplete-btn`,SUGGEST_NAV:`.${C}`,SUGGEST_ITEM:`.${C}-item`,SUGGEST_LINK:`.${C}-link`,SUGGEST_TRENDING_LINK:`.${C}-trending-link`,SUGGEST_LIST:`.${C}-list`},U="data-country",R=6,F=10,q=n(424);class B{static normalize(e){const t=e?e.groups:[];return t.length>0?t[0]:null}constructor(){this.$lastRequest=null,this.suggestElements=null,this.extendSuggestions=!1,this.root=null,this.suggestUrl=null,this.fetchAdapter=new A}init(e,t,n=!1){this.root=e,this.suggestUrl=t,this.extendSuggestions=n||!1}buildElementList(){const e=this.root.querySelectorAll(D.SUGGEST_ITEM);this.suggestElements=e.length>0?[...e]:null}buildSuggestUrl(e){return`${this.suggestUrl.replace("{query}",encodeURIComponent(e))}&highlightClass=${M.HIGHLIGHT}${this.extendSuggestions?`&max=${F}`:""}`}suggest(e,t,n){this.$lastRequest&&(this.fetchAdapter.cancelRequest(),this.$lastRequest=null),this.$lastRequest=this.fetchAdapter.fetchWithTimeout(this.buildSuggestUrl(e)).then((e=>{t(B.normalize(e)),this.$lastRequest=null,this.activeElementIndex=N})).catch((e=>{this.fetchAdapter.isRequestCancelled()||n(),this.$lastRequest=null,this.activeElementIndex=N}))}render(e){this.root.innerHTML=q(e);document.querySelectorAll('[data-tracking-id="i-header-suggest-link--SUGGESTION"]').forEach((e=>{const t=e.getAttribute("title");e.addEventListener("click",(e=>()=>w((e=>({event:"searchbar_suggester_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{search_query:{search_query:e}}}))(e)))(t))}));document.querySelectorAll('[data-tracking-id="i-header-suggest-link--RECENT"]').forEach((e=>{const t=e.getAttribute("title");e.addEventListener("click",(e=>()=>w((e=>({event:"searchbar_last_seen_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{search_query:{search_query:e}}}))(e)))(t))})),this.buildElementList()}}const $={stripTags:e=>e.replace(/(<([^>]+)>)/gi,"")};class V{static setItem(e,t){try{window.localStorage.setItem(e,$.stripTags(t))}catch(e){}}static getItem(e){try{return $.stripTags(window.localStorage.getItem(e))}catch(e){}return null}static removeItem(e){try{window.localStorage.removeItem(e)}catch(e){}}}const j="idealo_search_history",G="click",W={CLEAR_BUTTON:".i-suggest-button-delete"};class z{static bindSuggestHistoryEvent(e,t,n){return t?()=>{const i=n.suggestItems[e],r=z.buildHistoryItem(i.titlePlain,i.url,i.location);t.addItem(r)}:()=>{}}static bindTrendingHistoryEvent(e,t,n){return t?()=>{const i=n.trendingItems[e],r=z.buildHistoryItem(i.query,i.url,i.location);var o;o=r.title,w((e=>({event:"searchbar_popular_searches_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{search_query:{search_query:e}}}))(o)),t.addItem(r)}:()=>{}}static buildHistoryItem(e,t=null,n=null){let i=String(e).trim();i=$.stripTags(i);const r={title:i,date:Date.now()};return t&&(r.url=t),n&&(r.location=n),i?r:null}static elementHasValidTimeStamp(e=0){return Date.now()-e<7776e6}constructor(){this.hasHistory=!1,this.mainSearchQueryUrl=null,this.history=[],this.normalizedHistory=[]}init(e){this.mainSearchQueryUrl=e||null,this.initHistory()}buildUrl(e){return`${this.mainSearchQueryUrl}${encodeURIComponent(e)}`}filter(e){if(e){const t=String(e).toLowerCase().split(" ").filter((e=>e.length>0));return JSON.parse(JSON.stringify(this.normalizedHistory)).filter((e=>{const n=e.titlePlain.toLowerCase().split(" ");let i=!1;if(t.length{t.forEach((t=>{0===n.indexOf(t)&&(e+=1)}))})),e>=t.length&&(i=!0)}return i})).filter((e=>(e.titleMarked=e.titlePlain,t.forEach((t=>{const n=new RegExp(`^${t}`,"gi"),i=new RegExp(`\\s${t}`,"gi");e.titleMarked=e.titleMarked.replace(n,`${t}`).replace(i,` ${t}`)})),e.titleMarked===e.titlePlain&&delete e.titleMarked,e)))}return this.normalizedHistory}addItem(e=null){e&&(this.findAndRemoveDuplicate(e),this.history.unshift(e),this.history.splice(10),this.saveHistoryToLocalStorage())}findAndRemoveDuplicate(e){const t=this.history.findIndex((t=>t.title===e.title));-1!==t&&this.history.splice(t,1)}deleteHistory(e){return t=>{t.stopPropagation(),w(m),this.history=[],this.normalizedHistory=[],V.removeItem(j),e.closeOverlay()}}saveHistoryToLocalStorage(){this.history.length&&V.setItem(j,JSON.stringify(this.history))}initHistory(){this.history=[...JSON.parse(V.getItem(j))||[]],this.clearOutdatedEntries(),this.normalizedHistory=this.getSanitizedHistory(),this.hasHistory=this.history.length>0||!1}getSearchHistoryData(){return this.history.length?this.normalizedHistory:null}getSanitizedHistory(){return this.history.map((e=>{const t=e.url||this.buildUrl(e.title),n=e.location||null;return{titlePlain:e.title,titleFull:n?`${e.title} - ${n}`:e.title,location:n,url:t}}))}processSearchHistoryTasks(e){this.bindSearchHistoryEvents(e)}bindSearchHistoryEvents(e){this.bindLinksForSearchHistory(e),this.bindDeleteAllRecentSearches(e)}bindLinksForSearchHistory(e){const t=[...e.overlay.querySelectorAll(D.SUGGEST_LINK)],n=[...e.overlay.querySelectorAll(D.SUGGEST_TRENDING_LINK)];t.forEach(((t,n)=>{t.addEventListener(G,z.bindSuggestHistoryEvent(n,this,e))})),n.forEach(((t,n)=>{t.addEventListener(G,z.bindTrendingHistoryEvent(n,this,e))}))}bindDeleteAllRecentSearches(e){const t=e.overlay.querySelector(W.CLEAR_BUTTON);t&&t.addEventListener(G,this.deleteHistory(e))}clearOutdatedEntries(){this.history=this.history.filter((e=>z.elementHasValidTimeStamp(e.date))),this.history&&this.history.length>0&&this.saveHistoryToLocalStorage()}}class K{static sortTrendingItemsForPopularity(e){return e.sort(((e,t)=>parseFloat(t.popularity)-parseFloat(e.popularity))).slice(0,10)}static applyTrendingElementUrls(e,t){return e.map((e=>({...e,url:K.createTrendingElementLink(e.query,t)})))}static createTrendingElementLink(e,t){return t+e}constructor(){this.trendingUrl=null,this.fetchAdapter=new A}init(e,t){this.trendingUrl=e,this.trendingBaseLink=t}getTrendings(e){this.fetchAdapter.fetchWithTimeout(this.trendingUrl).then((t=>{const n=K.applyTrendingElementUrls(t.queries,this.trendingBaseLink),i=K.sortTrendingItemsForPopularity(n);e(i)})).catch((e=>{}))}}const J="5e7793636fbbc471e4b62573",Y=()=>window.hasOwnProperty("cmpConsent"),Z=()=>window.cmpConsent[J]&&window.cmpConsent[J].vendorGrant,Q=(e,t)=>{document.addEventListener("consentReady",(function(n){if(!n.detail||!n.detail.hasOwnProperty([J]))return!1;return n.detail[J].vendorGrant?e():t()}))},X="i-search",ee="aria-expanded",te="aria-hidden",ne="600px",ie={ACTIVE:`${X}--active`,HAS_VALUE:`${X}--hasvalue`,INITIALISED:`${X}--initialised`,OVERLAY_OPEN:`${X}--overlay-open`},re="data-i18n",oe="data-focused",se="data-searchterm",ae="action",le="click",ue="focusin",ce="focusout",de="keydown",he="keyup",pe="mousedown",_e="paste",fe="submit",ve=40,ge=37,me=39,ye=38,we=13,be=27,Ee=9,Se={FORM:`.${X}-form`,HOST:`.${X}`,INPUT:`.${X}-input`,META:'meta[name="search"]',OVERLAY:`.${X}-overlay`,CANCEL_BUTTON:`.${X}-button--cancel`,SEARCH_BUTTON:`.${X}-button--submit`,LOADING_SPINNER:`.${X}-loading-spinner`},Ie=window.matchMedia(`\n screen and (min-height: ${ne})\n and (orientation: landscape),\n screen and (min-width: ${ne})\n and (orientation: portrait)\n `).matches||!1;class ke{scrollIntoView(e){try{e.scrollIntoView({block:"start",behavior:"smooth"})}catch(e){}}static readSearchTerm(e){return ke.trim(e.getAttribute(se)||"")}static readShouldAutoFocus(e){return"true"===e.getAttribute(oe)}static sendAPIEvent(e){const t=new Event(e,{bubbles:!0,cancelable:!0});t.iSender=X,window.document.dispatchEvent(t)}static trim(e){return $.stripTags(e).replace(/(^\s+)/gim,"").replace(/(\s{2,}$)/gim," ")}static bindAutocompletionEvent(e,t,n){return function(i){i.stopPropagation(),e.setAttribute(H,!0),n.applyCurrentSuggestion(t)}}constructor(){this.input=null,this.form=null,this.overlay=null,this.root=null,this.cancel_button=null,this.search_button=null,this.loading_spinner=null,this.searchHistory=null,this.suggester=null,this.activeElementIndex=N,this.hasFocus=!1,this.hasSuggestions=!1,this.isActive=!1,this.isInitialised=!1,this.isOverlayOpen=!1,this.shouldAutoFocus=!1,this.wasAutoFocused=!1,this.wasMouseDown=!1,this.i18n=null,this.historyItems=null,this.suggestItems=null,this.trendingItems=[],this.trendingServiceUrl=null,this.suggestDataNormalised=null,this.validSearchTerm="",this.prev_state={activeElementIndex:this.activeElementIndex,hasFocus:this.hasFocus,isActive:this.isActive,isInitialised:this.isInitialised,isOverlayOpen:this.isOverlayOpen,validSearchTerm:this.validSearchTerm},this.focusByClick=!1,this.init()}init(){const e=window.document.querySelector(Se.META)||null;if(this.root=window.document.querySelector(Se.HOST),this.root&&(this.input=this.root.querySelector(Se.INPUT),this.form=this.root.querySelector(Se.FORM),this.overlay=this.root.querySelector(Se.OVERLAY),this.cancel_button=this.root.querySelector(Se.CANCEL_BUTTON),this.search_button=this.root.querySelector(Se.SEARCH_BUTTON),this.loading_spinner=this.root.querySelector(Se.LOADING_SPINNER),this.i18n=JSON.parse(this.root.getAttribute(re)||null),this.trendingServiceUrl=this.root.getAttribute("data-trending-url"),this.isInitialised=this.initIsInitialised()),e&&(this.shouldAutoFocus=ke.readShouldAutoFocus(e)||!1,this.validSearchTerm=ke.readSearchTerm(e)),this.isInitialised){this.input.value=this.validSearchTerm,this.suggester=new B;const e=this.getSuggestUrl();this.suggester.init(this.overlay,e,Ie);if(!!!document.querySelector("meta[name='header_noTrendingSearches']")&&this.trendingServiceUrl){const e=this.root.getAttribute(U);this.trending=new K,this.trending.init(this.trendingServiceUrl,this.getTrendingBaseUrl(e)),this.trending.getTrendings((e=>{this.trendingItems=e}))}const t=()=>{this.searchHistory=new z,this.searchHistory.init(`${this.form.getAttribute(ae)}?q=`)},n=()=>{V.removeItem(j)};Y()?Z()?t():n():Q(t,n),this.hideLoadingSpinner(),this.setInitialFocusOnce(),this.bindEvents(),this.render()}}initIsInitialised(){return this.input&&this.form&&this.overlay&&this.cancel_button&&this.search_button||!1}reset(){this.activeElementIndex=N,this.hasFocus=!1,this.hasSuggestions=!1,this.isActive=!1,this.isOverlayOpen=!1,this.suggestDataNormalised=null,this.wasAutoFocused=!1,this.wasMouseDown=!1}resetSearchTerm(){this.validSearchTerm="",this.input.value=this.validSearchTerm}deactivate(){this.reset(),this.render(),this.hideLoadingSpinner()}getInputValue(){try{return $.stripTags(this.input.value)}catch{return""}}closeOverlay(){this.activeElementIndex=N,this.isOverlayOpen=!1,this.render()}trackAutoFocusClick(e){this.wasAutoFocused&&(this.wasAutoFocused=!1)}hideLoadingSpinner(){this.loading_spinner.style.display="none"}showLoadingSpinner(){this.loading_spinner.style.display="flex"}suggest(e){this.validSearchTerm=ke.trim(e);const t=this.validSearchTerm.length>=1;this.isOverlayOpen=!!this.prev_state.isOverlayOpen&&t,t&&(this.hasSuggestions=!1,this.trackAutoFocusClick(this.validSearchTerm),this.suggester.suggest(this.validSearchTerm,(e=>{this.processNormalizedSuggestData(e),this.activeElementIndex=N,this.render()}),(()=>{this.hasSuggestions=!1,this.activeElementIndex=N,this.render()})))}processNormalizedSuggestData(e){this.suggestDataNormalised=e||{items:[]},this.hasSuggestions=this.suggestDataNormalised.items.length>0||!1,this.isOverlayOpen=this.hasSuggestions}bindSuggestEvent(e){this.showLoadingSpinner(),window.setTimeout((()=>{e.type===ue&&e.stopPropagation(),this.isActive=!0,this.hasFocus=!0,this.bindSuggesterEventsOnce(),this.prev_state.validSearchTerm="",this.fetchSuggestData(),this.hideLoadingSpinner()}))}shouldBlockSubmit(){return this.activeElementIndex!==N||0===this.validSearchTerm.length}setInitialFocusOnce(){this.shouldAutoFocus&&!("ontouchstart"in window)&&(this.isActive=!0,this.hasFocus=!0,this.wasAutoFocused=!0,this.input.focus(),this.bindSuggesterEventsOnce()),this.shouldAutoFocus=!1}fetchSuggestData(){if(this.getInputValue()||this.shouldAutoFocus){try{this.historyItems=this.searchHistory?this.searchHistory.filter(this.getInputValue()):[]}catch(e){this.historyItems=[]}this.suggest(this.getInputValue())}else this.validSearchTerm="",this.suggestDataNormalised=null,this.hasSuggestions=this.searchHistory&&this.searchHistory.hasHistory||this.trendingItems.length>0,this.isOverlayOpen=this.hasSuggestions,this.historyItems=this.searchHistory?this.searchHistory.filter():[],this.render()}navigateToSelection(){if(this.activeElementIndex!==N){const e=this.suggestItems[this.activeElementIndex];this.searchHistory&&this.searchHistory.addItem(z.buildHistoryItem(e.titlePlain,e.url,e.location)),window.location=e.url}}navigateUp(){this.activeElementIndex===N?this.activeElementIndex=this.suggester.suggestElements.length-1:this.activeElementIndex>0?this.activeElementIndex-=1:this.activeElementIndex=N}navigateDown(){this.activeElementIndex===N?this.activeElementIndex=0:this.activeElementIndex+10&&(n=n.slice(0,Math.min(e,n.length-Math.min(t.length,3))),t=t.slice(0,Math.min(t.length,3))),this.suggestItems=[...t].concat(n),{recent:{items:t,showIcon:!0,type:"RECENT"},suggestions:{items:n,showIcon:!1,type:"SUGGESTION"},i18n:this.i18n,trendings:this.trendingItems}}renderSuggestMenu(){this.hasSuggestions&&(this.suggester.render(this.getTemplateData()),Ie||this.renderAutocompletionButton(),this.searchHistory&&this.searchHistory.processSearchHistoryTasks(this))}renderComponentStateHasFocus(){this.prev_state.hasFocus!==this.hasFocus&&(Ie||!0!==this.hasFocus||this.scrollIntoView(this.root),this.prev_state.hasFocus=this.hasFocus)}renderComponentStateHasValue(){this.getInputValue()?this.root.classList.add(ie.HAS_VALUE):this.root.classList.remove(ie.HAS_VALUE)}renderComponentStateIsActive(){this.prev_state.isActive!==this.isActive&&(this.prev_state.isActive=this.isActive,ke.sendAPIEvent(this.isActive?e:i))}renderComponentStateIsInitialised(){this.prev_state.isInitialised!==this.isInitialised&&(this.root.classList.add(ie.INITIALISED),this.prev_state.isInitialised=this.isInitialised)}renderComponentStateIsOverlayOpen(){this.prev_state.isOverlayOpen!==this.isOverlayOpen&&(this.root.classList.toggle(ie.OVERLAY_OPEN,this.isOverlayOpen),this.form.setAttribute(ee,this.isOverlayOpen),this.overlay.setAttribute(te,!this.isOverlayOpen),this.prev_state.isOverlayOpen=this.isOverlayOpen)}render(){this.prev_state.validSearchTerm!==this.validSearchTerm&&(this.prev_state.validSearchTerm=this.validSearchTerm),this.renderSuggestMenu(),this.renderComponentStateHasFocus(),this.renderComponentStateHasValue(),this.renderComponentStateIsActive(),this.renderComponentStateIsInitialised(),this.renderComponentStateIsOverlayOpen(),this.renderActiveSelection()}renderAutocompletionButton(){[...this.overlay.querySelectorAll(D.AUTOCOMPLETE)].forEach(((e,t)=>{const{titlePlain:n}=this.suggestItems[t];e.addEventListener(le,ke.bindAutocompletionEvent(e,n,this))}))}applyCurrentSuggestion(e){this.validSearchTerm=ke.trim(`${e} `),this.input.value=this.validSearchTerm,this.input.focus()}bindSuggesterEventsOnce(){this.overlay.addEventListener(le,(e=>{e.stopPropagation()})),this.input.addEventListener(de,(e=>{var t;e.which===we&&(this.validSearchTerm=ke.trim(this.getInputValue()),this.input.value=this.validSearchTerm,t=this.validSearchTerm,w((e=>({event:"searchbar_click",owner:"de.idealo.tyrell",version:"1-1-0",data:{click_type:"enter",search_query:{search_query:e}}}))(t)))})),this.input.addEventListener(he,(e=>{this.showLoadingSpinner(),window.setTimeout((()=>{const t=e.which;if(this.isActive=!0,this.hasFocus=!0,this.isOverlayOpen)switch(t){case ve:this.navigateDown();break;case ge:case me:break;case ye:this.navigateUp();break;case we:this.navigateToSelection();break;case be:break;default:this.fetchSuggestData()}else t!==we&&t!==Ee&&this.fetchSuggestData();this.render(),this.hideLoadingSpinner()}))})),this.input.addEventListener(_e,(()=>{this.showLoadingSpinner(),window.setTimeout((()=>{this.suggest(this.getInputValue()),this.hideLoadingSpinner()}))})),this.bindSuggesterEventsOnce=()=>null}bindEvents(){window.document.addEventListener(e,(e=>{e.iSender!==X&&this.deactivate()})),window.document.addEventListener(t,(()=>{this.wasMouseDown||this.deactivate()})),window.document.addEventListener(r,(()=>{this.input.focus()})),window.document.addEventListener(he,(e=>{const t=e.which;this.isActive&&t===be&&this.isOverlayOpen&&this.closeOverlay()}));document.activeElement&&document.activeElement.classList.contains("i-search-input")&&window.document.addEventListener(de,(e=>{const t=e.which,n=t>47&&t<91,i=16===t;this.focusByClick||!n&&!i||w(y)}),{once:!0}),window.document.addEventListener(le,(e=>{const t="which"in e&&3===e.which;!this.isActive||t||this.wasMouseDown||this.deactivate(),this.wasMouseDown=!1})),this.root.addEventListener(le,(e=>{this.wasMouseDown=!1,e.stopPropagation()})),this.root.addEventListener(pe,(()=>{this.wasMouseDown=!0})),this.form.addEventListener(fe,(e=>{this.showLoadingSpinner(),window.setTimeout((()=>{this.shouldBlockSubmit()?(e.preventDefault(),this.input.focus(),this.wasAutoFocused=!0):this.searchHistory&&this.searchHistory.addItem(z.buildHistoryItem(this.getInputValue())),this.render(),this.hideLoadingSpinner()}))})),this.cancel_button.addEventListener(le,(e=>{this.showLoadingSpinner(),window.setTimeout((()=>{var t;e.stopPropagation(),t=ke.trim(this.getInputValue()),w((e=>({event:"searchbar_delete_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{search_query:{search_query:e}}}))(t)),this.resetSearchTerm(),this.deactivate(),this.input.focus(),this.isActive=!0,this.hasFocus=!0,this.wasAutoFocused=!0,this.bindSuggesterEventsOnce(),this.hideLoadingSpinner()}))})),this.cancel_button.addEventListener(ue,(e=>{e.stopPropagation(),this.input.focus()})),this.search_button.addEventListener(ue,(e=>{e.stopPropagation()})),this.search_button.addEventListener(le,(e=>{e.stopPropagation()})),this.form.addEventListener(ce,(e=>{e.stopPropagation(),this.isOverlayOpen||this.deactivate()})),this.form.addEventListener(le,this.bindSuggestEvent.bind(this)),this.input.addEventListener(le,(()=>{this.focusByClick=!0}))}getSuggestUrl(){return document.querySelector("[data-suggest-host]").getAttribute("data-suggest-host")+"/suggest?q={query}"}getTrendingBaseUrl(e){return"https://www.idealo."+{DE:"de/preisvergleich/MainSearchProductCategory",AT:"at/preisvergleich/MainSearchProductCategory",FR:"fr/prechcat",ES:"es/resultados",GB:"co.uk/mscat",IT:"it/risultati"}[e]+".html?q="}}var Te=n(936),Le=n.n(Te);const Oe=(e,t,n)=>new Promise(((i,r)=>{Le()([e],t),Le().ready(t,{success:()=>{i(window[n])},error:()=>{r(void 0)}})})),Pe=()=>Oe("https://cdn.idealo.com/storage/wish-list-assets/header/header-wish-list-plugin.js","header-wishlist-plugin","idealoHeaderWishlistPlugin").then((e=>e.default)).catch((e=>{})),xe=()=>{const e=(e=>{const t=new RegExp(`[; ]${e}=([^\\s;]*)`),n=(" "+document.cookie).match(t);return e&&n?n[1]:null})("userInfo"),t=e?(n=e,JSON.parse(decodeURIComponent(escape(window.atob(n))))):null;var n;return 1===t?.ls},Ae="i-wishlist",Ce={INITIALISED:`${Ae}--initialised`,WISHLIST_BUTTON:"i-wishlist-element",SEARCH_INPUT:"i-search-input",WISHLIST_LINK:"i-wishlist-element-link"},Ne={HEADER_COMPONENT:`.${Ae}`,HEADER_BUTTON:`.${Ce.WISHLIST_BUTTON}`,HEADER_LINK:`.${Ce.WISHLIST_LINK}`,SEARCH_INPUT:`.${Ce.SEARCH_INPUT}`},He="ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,Me=()=>{window.idealo.header.wishlistPlugin||(window.idealo.header=window.idealo.header||{},Pe().then((e=>{e(".i-wishlist-element-content")})).catch((e=>{})),window.idealo.header.wishlistPlugin=!0)},De=()=>{window.document.addEventListener("idealo.wishlist.update.count",Ue)},Ue=()=>{const e=window.document.querySelector(`.${Ce.WISHLIST_BUTTON}-heart`);e&&(e.classList.add(`${Ce.WISHLIST_BUTTON}-animated`),setTimeout((()=>{e.classList.remove(`${Ce.WISHLIST_BUTTON}-animated`)}),1e3))},Re=()=>{const e=window.document.querySelector(Ne.HEADER_BUTTON),t=window.document.querySelector(Ne.SEARCH_INPUT);if(!e||!t)return;e.classList.add(Ce.INITIALISED);let n=!1;document.body&&(n=document.body.contains(window.document.querySelector(Ne.HEADER_LINK)));window.document.querySelector(".i-header")&&n&&!xe()&&(He?window.addEventListener("load",Me):(e.addEventListener("mouseover",Me,!1),t.addEventListener("focus",Me,!1))),De()},Fe=()=>{const e=`https://www.idealo.${(()=>{let e=new URL(decodeURIComponent(window.location.href)).hostname.split(".").slice(-2).join(".");return e.indexOf("idealo")>-1&&(e=e.split(".")[1]),e})()}/notification-center-plugin/index.js`;return Oe(e,"header-notificationcenter-plugin","idealoHeaderNotificationCenterPlugin").then((e=>e.default)).catch((e=>{}))};function qe(e,t,n){return t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Be="i-notificationCenter",$e={INITIALISED:`${Be}--initialised`,NOTIFICATION_CENTER_HEADER_SLOT:"i-header-slot--notificationCenter",MENU:"i-notificationCenter-menu",MENU_ACTIVE:"i-notificationCenter-menu--active"},Ve={HEADER_COMPONENT:`.${Be}`,HEADER_SLOT:`.${$e.NOTIFICATION_CENTER_HEADER_SLOT}`,MENU:".i-notificationCenter-menu",MENU_CONTENT_SLOT:".i-notificationCenter-menuContent"},je=(e,t={})=>{const n=document.createEvent("CustomEvent");n.initCustomEvent(e,!0,!1,t),document.dispatchEvent(n)};class Ge{constructor(){qe(this,"isMenuActive",void 0),qe(this,"root",void 0),this.isMenuActive=!1,this.root=null,this.init()}init(){let e=!1;this.root=window.document.querySelector(Ve.HEADER_SLOT),null!==this.root&&(e=!0),e&&(this.root.classList.add($e.INITIALISED),this.bindEvents())}bindEvents(){window.skipNotificationCenterRequest&&!0===window.skipNotificationCenterRequest||window.addEventListener("load",(async()=>{await this.conditionallyLoadPlugin()})),window.document.addEventListener("notificationCenterUpdateMessageCount",(e=>{this.updateMessageCount(parseInt(e.detail.messageCount))})),window.document.addEventListener(t,(()=>{this.isMenuActive&&this.deactivateMenu()})),window.document.addEventListener(e,(e=>{e.detail||this.deactivateMenu()}));const n=document.querySelector(Ve.HEADER_SLOT);if(!n)throw new Error("Notification Center: HEADER_SLOT not found!");n.addEventListener("click",(e=>{e.stopPropagation(),this.isMenuActive?this.deactivateMenu():this.activateMenu()}))}async conditionallyLoadPlugin(){return this.checkCmpGrant().then(this.loadPlugin.bind(this)).catch((()=>{}))}activateMenu(){this.isMenuActive=!0,je(e,{iSender:Be});const t=document.querySelector(Ve.MENU);if(!t)throw new Error("Notification Center: MENU not found!");t.classList.add($e.MENU_ACTIVE)}deactivateMenu(){this.isMenuActive=!1,je(i,{iSender:Be});const e=document.querySelector(Ve.MENU);if(!e)throw new Error("Notification Center: MENU not found!");e.classList.remove($e.MENU_ACTIVE)}updateMessageCount(e){const t=document.querySelector(".i-notificationCenter-menuWrapperIcon");if(!t)throw new Error("Notification Center: .i-notificationCenter-menuWrapperIcon not found!");const n="i-notificationCenter-menuWrapperIcon--new";e?t.classList.add(n):t.classList.remove(n)}loadPlugin(){var e;this.isNotificationCenterPluginLoaded()||(e=navigator.userAgent,new RegExp(["AdsBot-Google","AhrefsBot","AhrefsSiteAudit","Applebot","audisto","Baiduspider","bingbot","Googlebot","Google-InspectionTool","Mediapartners-Google","sistrix","Slurp","Yandex"].join("|"),"i").test(e))||(window.idealo.header=window.idealo.header||{},Fe().then((e=>{e(Ve.MENU_CONTENT_SLOT),this.isMenuActive&&this.activateMenu()})).catch((e=>{})),this.setLoadedStateForPlugin())}setLoadedStateForPlugin(){window.idealo.header.notificationCenterPlugin=!0}isNotificationCenterPluginLoaded(){return window.idealo.header.notificationCenterPlugin}checkCmpGrant(){return new Promise(((e,t)=>{t||(t=()=>{}),Y()?Z()?e():t():Q(e,t)}))}}const We=e=>{if(0!==e.offsetX){const e=document.querySelector("#i-search-input")?.value;(e=>{w((e=>({event:"searchbar_click",owner:"de.idealo.tyrell",version:"1-1-0",data:{click_type:"magnifier",search_query:{search_query:e}}}))(e))})(e)}},ze=(e,t)=>{const n=document.querySelector(e);n&&n.addEventListener("click",t)};var Ke,Je,Ye,Ze,Qe,Xe,et,tt={},nt=[],it=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,rt=Array.isArray;function ot(e,t){for(var n in t)e[n]=t[n];return e}function st(e){var t=e.parentNode;t&&t.removeChild(e)}function at(e,t,n){var i,r,o,s={};for(o in t)"key"==o?i=t[o]:"ref"==o?r=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?Ke.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===s[o]&&(s[o]=e.defaultProps[o]);return lt(e,s,i,r,null)}function lt(e,t,n,i,r){var o={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++Ye:r,__i:-1,__u:0};return null==r&&null!=Je.vnode&&Je.vnode(o),o}function ut(e){return e.children}function ct(e,t){this.props=e,this.context=t}function dt(e,t){if(null==t)return e.__?dt(e.__,e.__i+1):null;for(var n;tn?(kt(i,t,r),r.length=i.length=0,t=void 0,Ze.sort(et)):t&&Je.__c&&Je.__c(t,nt));t&&kt(i,t,r),ft.__r=0}function vt(e,t,n,i,r,o,s,a,l,u,c){var d,h,p,_,f,v=i&&i.__k||nt,g=t.length;for(n.__d=l,gt(n,t,v),l=n.__d,d=0;d0?lt(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)?(r.__=e,r.__b=e.__b+1,a=yt(r,n,s=i+d,c),r.__i=a,o=null,-1!==a&&(c--,(o=n[a])&&(o.__u|=131072)),null==o||null===o.__v?(-1==a&&d--,"function"!=typeof r.type&&(r.__u|=65536)):a!==s&&(a===s+1?d++:a>s?c>l-s?d+=a-s:d--:d=a(null!=l&&0==(131072&l.__u)?1:0))for(;s>=0||a=0){if((l=t[s])&&0==(131072&l.__u)&&r==l.key&&o===l.type)return s;s--}if(a=n.__.length&&n.__.push({__V:Ut}),n.__[e]}function Wt(e){return Mt=1,function(e,t,n){var i=Gt(At++,2);if(i.t=e,!i.__c&&(i.__=[n?n(t):en(void 0,t),function(e){var t=i.__N?i.__N[0]:i.__[0],n=i.t(t,e);t!==n&&(i.__N=[n,i.__[1]],i.__c.setState({}))}],i.__c=Ct,!Ct.u)){var r=function(e,t,n){if(!i.__c.__H)return!0;var r=i.__c.__H.__.filter((function(e){return!!e.__c}));if(r.every((function(e){return!e.__N})))return!o||o.call(this,e,t,n);var s=!1;return r.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(s=!0)}})),!(!s&&i.__c.props===e)&&(!o||o.call(this,e,t,n))};Ct.u=!0;var o=Ct.shouldComponentUpdate,s=Ct.componentWillUpdate;Ct.componentWillUpdate=function(e,t,n){if(this.__e){var i=o;o=void 0,r(e,t,n),o=i}s&&s.call(this,e,t,n)},Ct.shouldComponentUpdate=r}return i.__N||i.__}(en,e)}function zt(e,t){var n=Gt(At++,3);!Rt.__s&&Xt(n.__H,t)&&(n.__=e,n.i=t,Ct.__H.__h.push(n))}function Kt(){for(var e;e=Dt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Zt),e.__H.__h.forEach(Qt),e.__H.__h=[]}catch(t){e.__H.__h=[],Rt.__e(t,e.__v)}}Rt.__b=function(e){Ct=null,Ft&&Ft(e)},Rt.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),jt&&jt(e,t)},Rt.__r=function(e){qt&&qt(e),At=0;var t=(Ct=e.__c).__H;t&&(Nt===Ct?(t.__h=[],Ct.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Ut,e.__N=e.i=void 0}))):(t.__h.forEach(Zt),t.__h.forEach(Qt),t.__h=[],At=0)),Nt=Ct},Rt.diffed=function(e){Bt&&Bt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Dt.push(t)&&Ht===Rt.requestAnimationFrame||((Ht=Rt.requestAnimationFrame)||Yt)(Kt)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Ut&&(e.__=e.__V),e.i=void 0,e.__V=Ut}))),Nt=Ct=null},Rt.__c=function(e,t){t.some((function(e){try{e.__h.forEach(Zt),e.__h=e.__h.filter((function(e){return!e.__||Qt(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Rt.__e(n,e.__v)}})),$t&&$t(e,t)},Rt.unmount=function(e){Vt&&Vt(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{Zt(e)}catch(e){t=e}})),n.__H=void 0,t&&Rt.__e(t,n.__v))};var Jt="function"==typeof requestAnimationFrame;function Yt(e){var t,n=function(){clearTimeout(i),Jt&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);Jt&&(t=requestAnimationFrame(n))}function Zt(e){var t=Ct,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Ct=t}function Qt(e){var t=Ct;e.__c=e.__(),Ct=t}function Xt(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function en(e,t){return"function"==typeof t?t(e):t}const tn=({isOpen:e})=>e?at("div",{className:"i-navigation-icon i-navigation-icon--open"},at("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},at("path",{d:"M13.414,12l9.293-9.293a1,1,0,0,0-1.414-1.414L12,10.586,2.707,1.293A1,1,0,0,0,1.293,2.707L10.586,12,1.293,21.293a1,1,0,1,0,1.414,1.414L12,13.414l9.293,9.293a1,1,0,0,0,1.414-1.414Z"}))):at("div",{className:"i-navigation-icon i-navigation-icon--closed"},at("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},at("path",{d:"M22 13H2a1 1 0 010-2h20a1 1 0 010 2zm1 5a1 1 0 00-1-1H2a1 1 0 000 2h20a1 1 0 001-1zm0-12a1 1 0 00-1-1H2a1 1 0 000 2h20a1 1 0 001-1z"}))),nn=(()=>{const e=document.querySelector("[data-country]").getAttribute("data-country");return"AT"===e?{title:"Kategorien",hyperLinkDomain:"https://www.idealo.at",hyperLinkPath:"/preisvergleich/Sitemap.html",moreLinkText:"mehr",mobileCloseButton:"Alle Kategorien",mobileBackButton:"Kategorien",mobileSearchButton:"Suche",locale:"de-AT"}:"GB"===e?{title:"Categories",hyperLinkDomain:"https://www.idealo.co.uk",hyperLinkPath:"/sitemap.html",moreLinkText:"more",mobileCloseButton:"All categories",mobileBackButton:"Categories",mobileSearchButton:"Search",locale:"en-UK"}:"FR"===e?{title:"Catégories",hyperLinkDomain:"https://www.idealo.fr",hyperLinkPath:"/plandusite.html",moreLinkText:"plus",mobileCloseButton:"Toutes les catégories",mobileBackButton:"Catégories",mobileSearchButton:"Chercher",locale:"fr-FR"}:"ES"===e?{title:"Categorías",hyperLinkDomain:"https://www.idealo.es",hyperLinkPath:"/mapaweb.html",moreLinkText:"más",mobileCloseButton:"Todas las categorías",mobileBackButton:"Categorías",mobileSearchButton:"Buscar",locale:"es-ES"}:"IT"===e?{title:"Categorie",hyperLinkDomain:"https://www.idealo.it",hyperLinkPath:"/mappa-del-sito.html",moreLinkText:"di più",mobileCloseButton:"Tutte le categorie",mobileBackButton:"Categorie",mobileSearchButton:"Cerca",locale:"it-IT"}:{title:"Kategorien",hyperLinkDomain:"https://www.idealo.de",hyperLinkPath:"/preisvergleich/Sitemap.html",moreLinkText:"mehr",mobileCloseButton:"Alle Kategorien",mobileBackButton:"Kategorien",mobileSearchButton:"Suche",locale:"de-DE"}})(),rn=({topLevelNavItem:e})=>at("li",{className:"i-navigation-list-item i-navigation-list-item--more"},at("a",{className:"i-navigation-list-link",href:e.url,rel:e.rel,role:"menuitem"},nn.moreLinkText)),on=({topLevelNavItem:e,selectedSubCategoriesIds:t})=>at("ul",{className:"i-navigation-list i-navigation-list--sub i-navigation-list--active","data-main-id":"{{navItem.id}}",role:"menu","aria-hidden":"todo"},e.navItems.map(((e,n)=>{return at("li",{key:n,className:"i-navigation-list-item "+(t.includes(e.id)?"i-navigation-list-item--active":""),role:"none"},at("a",{className:"i-navigation-list-link",href:e.url,role:"menuitem",onClick:(i=e.id,()=>w((e=>({event:"header_subcategory_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{sub_category_id:e||"NULL"}}))(i)))},e.name));var i})),at(rn,{topLevelNavItem:e})),sn=({navItems:e,setSelectedTopLevelCategory:t,selectedTopLevelCategoryId:n})=>{const i=e=>n=>{var i;n.stopPropagation(),(e=>e.navItems.length>0)(e)&&(n.preventDefault(),t(e.id)),(i=e.id,()=>w((e=>({event:"header_category_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{category_id:e}}))(i)))()};return at("ul",{className:"i-navigation-list i-navigation-list--main",role:"menu"},e.map((e=>at("li",{className:"i-navigation-list-item "+(e.id===n?"i-navigation-list-item--active":""),role:"none","data-main-id":"{{navItem.id}}","data-tracking-id":"i-header-topcategory"},at("a",{className:"i-navigation-list-link",href:e.url,onClick:i(e),role:"menuitem"},e.name)))))},an=({isSubCategoryView:e,setIsSubCategoryView:t,setIsOpen:n})=>at("div",{className:"i-navigation-overlay-header"},at("button",{className:"i-navigation-overlay-btn i-navigation-overlay-btn--close",type:"button",onClick:i=>{i.stopPropagation(),e?t(!1):n(!1)}},at("span",{className:"i-navigation-overlay-btn-display i-navigation-overlay-btn-display--close"},at("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",width:"16",height:"16",viewBox:"0 0 16 16"},at("path",{d:"M14.7,14L14,14.7c-0.2,0.2-0.5,0.2-0.7,0l-12-12C1.1,2.5,1.1,2.2,1.3,2L2,1.3c0.2-0.2,0.5-0.2,0.7,0l12,12C14.9,13.5,14.9,13.8,14.7,14z"}),at("path",{d:"M2,14.7L1.3,14c-0.2-0.2-0.2-0.5,0-0.7l12-12c0.2-0.2,0.5-0.2,0.7,0L14.7,2c0.2,0.2,0.2,0.5,0,0.7l-12,12C2.5,14.9,2.2,14.9,2,14.7z"})),at("span",{className:"i-navigation-overlay-btn-title"},nn.mobileCloseButton)),at("span",{className:"i-navigation-overlay-btn-display i-navigation-overlay-btn-display--back"},at("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",width:"16",height:"16",viewBox:"0 0 16 16"},at("polygon",{points:"11,13 9.889,13 5.345,8.052 9.847,3 10.942,3 6.448,8.043"})),at("span",{className:"i-navigation-overlay-btn-title"},nn.mobileBackButton))),at("button",{className:"i-navigation-overlay-btn i-navigation-overlay-btn--search",type:"button",onClick:e=>{e.stopPropagation(),(e=>{const t=new Event(e,{bubbles:!0,cancelable:!0});t.iSender=un,window.document.dispatchEvent(t)})(r),n(!1)}},at("span",{className:"i-navigation-overlay-btn-display"},at("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",width:"16",height:"16",viewBox:"0 0 16 16"},at("path",{d:"M15.561,13.439l-2.705-2.704c0.695-1.085,1.104-2.372,1.104-3.756 C13.959,3.125,10.834,0,6.979,0S0,3.125,0,6.979c0,3.854,3.125,6.979,6.979,6.979c1.384,0,2.67-0.408,3.755-1.103l2.705,2.705 C13.732,15.854,14.116,16,14.5,16s0.768-0.146,1.061-0.439C16.146,14.975,16.146,14.025,15.561,13.439z M2.094,6.979 c0-2.694,2.191-4.886,4.886-4.886s4.886,2.192,4.886,4.886s-2.191,4.885-4.886,4.885S2.094,9.673,2.094,6.979z"})),at("span",{className:"i-navigation-overlay-btn-title"},nn.mobileSearchButton))));const ln=({isOpen:e,setIsOpen:t})=>{const[n,i]=Wt([]),[r,o]=Wt(null),[s,a]=Wt([]),[l,u]=Wt(!1);zt((async()=>{const e=await async function(){const e=document.querySelector("[data-navigation-url]").getAttribute("data-navigation-url");return(await window.fetch(e)).json()}();i(e.navItems);const t=document.querySelector("meta[name='navigation']"),n=t?.getAttribute("data-mainid"),r=t?.getAttribute("data-subids");n&&r?(o(n),a(JSON.parse(r))):o(e.navItems[0].id)}),[]);const c=n.find((e=>e.id===r));return!e||n.length<1?null:at("div",{className:"i-navigation-overlay "+(l?"i-navigation-overlay--has-selection":""),role:"menu","aria-hidden":"false"},at(an,{isSubCategoryView:l,setIsSubCategoryView:u,setIsOpen:t}),at("nav",{className:"i-navigation-overlay-wrapper"},at(sn,{navItems:n,setSelectedTopLevelCategory:e=>{o(e),u(!0)},selectedTopLevelCategoryId:r}),at(on,{topLevelNavItem:c,selectedSubCategoriesIds:s})))},un="i-navigation";const cn=()=>{const[n,i]=Wt(!1);zt((()=>{!function(n,i){window.document.addEventListener("keydown",(e=>{let t=!1;t="key"in e?"Escape"===e.key||"Esc"===e.key:27===e.keyCode||27===e.which,n&&t&&i(!1)})),window.document.addEventListener(t,(()=>{i(!1)})),window.document.addEventListener(e,(e=>{e.iSender!==un&&i(!1)}))}(n,i)}),[]);return at("div",{className:`i-navigation ${n&&"i-navigation--overlay-open i-navigation--active"}`},at("a",{id:"i-header-navigation",className:"i-navigation-link","aria-expanded":n,"aria-haspopup":"true","aria-label":nn.title,"aria-pressed":n,role:"button",href:nn.hyperLinkDomain+nn.hyperLinkPath,title:nn.title,onClick:t=>{t.stopPropagation(),t.preventDefault(),n||function(){const t=new Event(e,{bubbles:!0,cancelable:!0});t.iSender=un,window.document.dispatchEvent(t)}(),i(!n),T()}},at(tn,{isOpen:n}),at("span",{className:"i-navigation-text"},nn.title)),at(ln,{isOpen:n,setIsOpen:i}))};new l,(()=>{const e=document.querySelector(".i-header-slot--navigation"),t=document.querySelector(".i-navigation");xt(at(cn,null),e,t)})(),new ke,Re(),new Ge,ze('[data-tracking-id="i-header-flights"]',b),ze('[data-tracking-id="i-header-hotel"]',E),ze('[data-tracking-id="i-header-flights-hotel"]',S),ze('[data-tracking-id="i-header-magazin"]',I),ze('[data-tracking-id="i-header-logo"]',k),ze('[data-tracking-id="i-navigation"]',T),ze(".i-header-slot--wishlist",L),ze(".i-header-slot--notificationCenter",O),ze(".i-header-slot--priceAlert",P),ze(".i-search-button--submit",We)})()})();//]]>
    idealo – Votre comparateur de prix (2024)
    Top Articles
    Latest Posts
    Article information

    Author: Laurine Ryan

    Last Updated:

    Views: 5938

    Rating: 4.7 / 5 (77 voted)

    Reviews: 84% of readers found this page helpful

    Author information

    Name: Laurine Ryan

    Birthday: 1994-12-23

    Address: Suite 751 871 Lissette Throughway, West Kittie, NH 41603

    Phone: +2366831109631

    Job: Sales Producer

    Hobby: Creative writing, Motor sports, Do it yourself, Skateboarding, Coffee roasting, Calligraphy, Stand-up comedy

    Introduction: My name is Laurine Ryan, I am a adorable, fair, graceful, spotless, gorgeous, homely, cooperative person who loves writing and wants to share my knowledge and understanding with you.