\n"},compiler:[8,">= 4.3.0"],main:function(e,t,i,n,s,r){var a,o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(a=o(i,"if").call(null!=t?t:e.nullContext||{},null!=t?o(t,"data"):t,{name:"if",hash:{},fn:e.program(1,s,0,r),inverse:e.noop,data:s,blockParams:r,loc:{start:{line:1,column:0},end:{line:14,column:7}}}))?a:""},useData:!0,useBlockParams:!0})},732:(e,t,i)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}t.__esModule=!0;var r=s(i(552)),a=n(i(592)),o=n(i(384)),l=s(i(440)),c=s(i(776)),u=n(i(24));function d(){var e=new r.HandlebarsEnvironment;return l.extend(e,r),e.SafeString=a.default,e.Exception=o.default,e.Utils=l,e.escapeExpression=l.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var h=d();h.create=d,u.default(h),h.default=h,t.default=h,e.exports=t.default},552:(e,t,i)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HandlebarsEnvironment=d;var s=i(440),r=n(i(384)),a=i(707),o=i(677),l=n(i(896)),c=i(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 u="[object Object]";function d(e,t,i){this.helpers=e||{},this.partials=t||{},this.decorators=i||{},a.registerDefaultHelpers(this),o.registerDefaultDecorators(this)}d.prototype={constructor:d,logger:l.default,log:l.default.log,registerHelper:function(e,t){if(s.toString.call(e)===u){if(t)throw new r.default("Arg not supported with multiple helpers");s.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(s.toString.call(e)===u)s.extend(this.partials,e);else{if(void 0===t)throw new r.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(s.toString.call(e)===u){if(t)throw new r.default("Arg not supported with multiple decorators");s.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){c.resetLoggedProperties()}};var h=l.default.log;t.log=h,t.createFrame=s.createFrame,t.logger=l.default},677:(e,t,i)=>{"use strict";t.__esModule=!0,t.registerDefaultDecorators=function(e){r.default(e)};var n,s=i(152),r=(n=s)&&n.__esModule?n:{default:n}},152:(e,t,i)=>{"use strict";t.__esModule=!0;var n=i(440);t.default=function(e){e.registerDecorator("inline",(function(e,t,i,s){var r=e;return t.partials||(t.partials={},r=function(s,r){var a=i.partials;i.partials=n.extend({},a,t.partials);var o=e(s,r);return i.partials=a,o}),t.partials[s.args[0]]=s.fn,r}))},e.exports=t.default},384:(e,t)=>{"use strict";t.__esModule=!0;var i=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function n(e,t){var s=t&&t.loc,r=void 0,a=void 0,o=void 0,l=void 0;s&&(r=s.start.line,a=s.end.line,o=s.start.column,l=s.end.column,e+=" - "+r+":"+o);for(var c=Error.prototype.constructor.call(this,e),u=0;u
{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.registerDefaultHelpers=function(e){s.default(e),r.default(e),a.default(e),o.default(e),l.default(e),c.default(e),u.default(e)},t.moveHelperToHooks=function(e,t,i){e.helpers[t]&&(e.hooks[t]=e.helpers[t],i||delete e.helpers[t])};var s=n(i(120)),r=n(i(344)),a=n(i(356)),o=n(i(192)),l=n(i(464)),c=n(i(844)),u=n(i(216))},120:(e,t,i)=>{"use strict";t.__esModule=!0;var n=i(440);t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,i){var s=i.inverse,r=i.fn;if(!0===t)return r(this);if(!1===t||null==t)return s(this);if(n.isArray(t))return t.length>0?(i.ids&&(i.ids=[i.name]),e.helpers.each(t,i)):s(this);if(i.data&&i.ids){var a=n.createFrame(i.data);a.contextPath=n.appendContextPath(i.data.contextPath,i.name),i={data:a}}return r(t,i)}))},e.exports=t.default},344:(e,t,i)=>{"use strict";t.__esModule=!0;var n,s=i(440),r=i(384),a=(n=r)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new a.default("Must pass iterator to #each");var i,n=t.fn,r=t.inverse,o=0,l="",c=void 0,u=void 0;function d(t,i,r){c&&(c.key=t,c.index=i,c.first=0===i,c.last=!!r,u&&(c.contextPath=u+t)),l+=n(e[t],{data:c,blockParams:s.blockParams([e[t],t],[u+t,null])})}if(t.data&&t.ids&&(u=s.appendContextPath(t.data.contextPath,t.ids[0])+"."),s.isFunction(e)&&(e=e.call(this)),t.data&&(c=s.createFrame(t.data)),e&&"object"==typeof e)if(s.isArray(e))for(var h=e.length;o{"use strict";t.__esModule=!0;var n,s=i(384),r=(n=s)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("helperMissing",(function(){if(1!==arguments.length)throw new r.default('Missing helper: "'+arguments[arguments.length-1].name+'"')}))},e.exports=t.default},192:(e,t,i)=>{"use strict";t.__esModule=!0;var n,s=i(440),r=i(384),a=(n=r)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("if",(function(e,t){if(2!=arguments.length)throw new a.default("#if requires exactly one argument");return s.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||s.isEmpty(e)?t.inverse(this):t.fn(this)})),e.registerHelper("unless",(function(t,i){if(2!=arguments.length)throw new a.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:i.inverse,inverse:i.fn,hash:i.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],i=arguments[arguments.length-1],n=0;n{"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",(function(e,t,i){return e?i.lookupProperty(e,t):e}))},e.exports=t.default},216:(e,t,i)=>{"use strict";t.__esModule=!0;var n,s=i(440),r=i(384),a=(n=r)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("with",(function(e,t){if(2!=arguments.length)throw new a.default("#with requires exactly one argument");s.isFunction(e)&&(e=e.call(this));var i=t.fn;if(s.isEmpty(e))return t.inverse(this);var n=t.data;return t.data&&t.ids&&((n=s.createFrame(t.data)).contextPath=s.appendContextPath(t.data.contextPath,t.ids[0])),i(e,{data:n,blockParams:s.blockParams([e],[n&&n.contextPath])})}))},e.exports=t.default},520:(e,t,i)=>{"use strict";t.__esModule=!0,t.createNewLookupObject=function(){for(var e=arguments.length,t=Array(e),i=0;i{"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 i=Object.create(null);return i.__proto__=!1,{properties:{whitelist:s.createNewLookupObject(i,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:s.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},t.resultIsAllowed=function(e,t,i){return l("function"==typeof e?t.methods:t.properties,i)},t.resetLoggedProperties=function(){Object.keys(o).forEach((function(e){delete o[e]}))};var n,s=i(520),r=i(896),a=(n=r)&&n.__esModule?n:{default:n},o=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!==o[e]&&(o[e]=!0,a.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,i)=>{"use strict";t.__esModule=!0;var n=i(440),s={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=n.indexOf(s.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=s.lookupLevel(e),"undefined"!=typeof console&&s.lookupLevel(s.level)<=e){var t=s.methodMap[e];console[t]||(t="log");for(var i=arguments.length,n=Array(i>1?i-1:0),r=1;r{"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,i)=>{"use strict";t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,i=o.COMPILER_REVISION;if(t>=o.LAST_COMPATIBLE_COMPILER_REVISION&&t<=o.COMPILER_REVISION)return;if(t{"use strict";function i(e){this.string=e}t.__esModule=!0,i.prototype.toString=i.prototype.toHTML=function(){return""+this.string},t.default=i,e.exports=t.default},440:(e,t)=>{"use strict";t.__esModule=!0,t.extend=a,t.indexOf=function(e,t){for(var i=0,n=e.length;i":">",'"':""","'":"'","`":"`","=":"="},n=/[&<>"'`=]/g,s=/[&<>"'`=]/;function r(e){return i[e]}function a(e){for(var t=1;t{e.exports=i(732).default},936:function(e,t){var i,n,s;n=[],void 0===(s="function"==typeof(i=function(){var e=function(){},t={},i={},n={};function s(e,t){e=e.push?e:[e];var s,r,a,o=[],l=e.length,c=l;for(s=function(e,i){i.length&&o.push(e),--c||t(o)};l--;)r=e[l],(a=i[r])?s(r,a):(n[r]=n[r]||[]).push(s)}function r(e,t){if(e){var s=n[e];if(i[e]=t,s)for(;s.length;)s[0](e,t),s.splice(0,1)}}function a(t,i){t.call&&(t={success:t}),i.length?(t.error||e)(i):(t.success||e)(t)}function o(t,i,n,s){var r,a,l=document,c=n.async,u=(n.numRetries||0)+1,d=n.before||e,h=t.replace(/[\?|#].*$/,""),p=t.replace(/^(css|img)!/,"");s=s||0,/(^css!|\.css$)/.test(h)?((a=l.createElement("link")).rel="stylesheet",a.href=p,(r="hideFocus"in a)&&a.relList&&(r=0,a.rel="preload",a.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(h)?(a=l.createElement("img")).src=p:((a=l.createElement("script")).src=t,a.async=void 0===c||c),a.onload=a.onerror=a.onbeforeload=function(e){var l=e.type[0];if(r)try{a.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((s+=1){var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e="enabled.idealo.header",t="disable.idealo.header",n="disabled.idealo.header",s="enable.idealo.search",r="i-header",a={INITIALISED:`${r}--initialised`},o={HEADER_COMPONENT:`.${r}`};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(o.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(a.INITIALISED),this.root.setAttribute("data-header-build-version","20240214121804"))}}const c={event:"header_flights_click",owner:"de.idealo.tyrell",version:"1-0-0"},u={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"},v={event:"header_all_categories_click",owner:"de.idealo.tyrell",version:"1-0-0"},g={event:"header_wishlist_click",owner:"de.idealo.tyrell",version:"1-0-0"},m={event:"header_notification_click",owner:"de.idealo.tyrell",version:"1-0-0"},f={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)},E=()=>w(c),S=()=>w(u),I=()=>w(d),_=()=>w(h),b=()=>w(p),T=()=>w(v),O=()=>w(g),A=()=>w(m),L=3e3;class k{constructor(){this.abortController=null}async fetchWithTimeout(e,t={}){const{timeout:i=L}=t;this.abortController=new AbortController;const n=setTimeout((()=>this.abortController.abort()),i),s=await window.fetch(e,{...t,signal:this.abortController.signal});clearTimeout(n);return await s.json()}cancelRequest(){this.abortController?.abort()}isRequestCancelled(){return this.abortController?.signal?.aborted}}const P=i(16),C="i-navigation",x="aria-expanded",N="aria-hidden",M="aria-pressed",H={ACTIVE:`${C}--active`,INITIALISED:`${C}--initialised`,LIST_HAS_SELECTION:`${C}-overlay--has-selection`,LIST_ITEM_ACTIVE:`${C}-list-item--active`,LIST_ITEM_PRESELECTED:`${C}-list-item--preselected`,LOADING:`${C}--loading`,MENU_ACTIVE:`${C}-list--active`,OVERLAY_OPEN:`${C}--overlay-open`},$="data-i18n",U="data-navigation",R="data-main-id",D="data-sub-id",q={HOST:`.${C}`,LINK:`.${C}-link`,LIST_ITEM:`.${C}-list-item`,LIST_MAIN:`.${C}-list--main`,LIST_SUB:`.${C}-list--sub`,OVERLAY:`.${C}-overlay`,OVERLAY_BUTTON_CLOSE:`.${C}-overlay-btn--close`,OVERLAY_BUTTON_SEARCH:`.${C}-overlay-btn--search`};class V{static emitAPIEvent(e){const t=new Event(e,{bubbles:!0,cancelable:!0});t.iSender=C,window.document.dispatchEvent(t)}constructor(){this.link=null,this.overlay=null,this.root=null,this.fetchAdapter=new k,this.hasSelection=!1,this.isActive=!1,this.isInitialised=!1,this.isLoading=!1,this.isNavigationTreeCached=!1,this.isNavigationTreeRendered=!1,this.isOverlayOpen=!1,this.fallbackUrl=null,this.i18n=null,this.navigationTree=null,this.navigationTreeUri=null,this.preselection={mainId:null,subIds:null},this.selectedMainCatId=null,this.prev_state={hasSelection:this.hasSelection,isActive:this.isActive,isInitialised:this.isInitialised,isLoading:this.isLoading,isNavigationTreeCached:this.isNavigationTreeCached,isNavigationTreeRendered:this.isNavigationTreeRendered,isOverlayOpen:this.isOverlayOpen,selectedMainCatId:this.selectedMainCatId},this.init()}init(){this.root=window.document.querySelector(q.HOST),null!==this.root&&(this.link=window.document.querySelector(q.LINK),this.overlay=window.document.querySelector(q.OVERLAY),this.fallbackUrl=this.link.getAttribute("href")||null,this.i18n=JSON.parse(this.root.getAttribute($)||null),this.navigationTreeUri=this.root.getAttribute(U)||null,this.isInitialised=this.checkInitialised()),this.isInitialised&&(this.initPreselection(),this.bindEvents(),this.render())}checkInitialised(){return null!==this.fallbackUrl&&null!==this.i18n&&null!==this.navigationTreeUri&&null!==this.link&&null!==this.overlay}initPreselection(){const e=document.querySelector("meta[name='navigation']");if(null!=e){const t=e.getAttribute("data-mainid"),i=e.getAttribute("data-subids");t&&i&&(this.preselection.mainId=t,this.preselection.subIds=JSON.parse(i))}this.isNavigationTreeCached&&(this.preselection.mainId=this.preselection.mainId||this.navigationTree.navItems[0].id,this.selectedMainCatId=this.preselection.mainId)}loadNavigationTree(e,t){this.isLoading=!0,this.fetchAdapter.fetchWithTimeout(this.navigationTreeUri).then((t=>{this.navigationTree=t,this.isNavigationTreeCached=!0,this.isNavigationTreeRendered=!1,this.isLoading=!1,e();const i=this.overlay.querySelectorAll(`${q.LIST_MAIN} ${q.LIST_ITEM}`);for(let e=0;e{const t=e.currentTarget||null;let i=!0;null!==t&&(this.selectedMainCatId=t.getAttribute(R)||null,i=null!==this.overlay.querySelector(`${q.LIST_SUB}[${R}='${this.selectedMainCatId}']`),this.hasSelection=this.selectedMainCatId&&i,this.hasSelection&&(e.preventDefault(),this.render()))}));this.overlay.querySelector(q.OVERLAY_BUTTON_CLOSE).addEventListener("click",(()=>{this.hasSelection?this.undoSelection():this.deactivate()})),this.overlay.querySelector(q.OVERLAY_BUTTON_SEARCH).addEventListener("click",(()=>{this.deactivate(),V.emitAPIEvent(s)}))})).catch((()=>{this.navigationTree=null,this.isNavigationTreeCached=!1,this.isNavigationTreeRendered=!1,this.isLoading=!1,t()})),this.render()}doFallbackNavigation(){window.location.href=this.fallbackUrl}showNavigation(){this.isNavigationTreeCached?(this.initPreselection(),this.isOverlayOpen=!0,this.render()):this.isLoading||this.loadNavigationTree(this.showNavigation.bind(this),this.doFallbackNavigation.bind(this))}deactivate(){this.hasSelection=!1,this.isActive=!1,this.isLoading=!1,this.isOverlayOpen=!1,this.render()}undoSelection(){this.hasSelection=!1,this.render()}toggle(){this.isActive=!this.isActive,this.isActive?this.showNavigation():this.isOverlayOpen=!1,this.render()}renderMainMenuPreselection(){if(!this.isNavigationTreeRendered||null===this.preselection.mainId)return;const e=this.overlay.querySelector(`${q.LIST_MAIN} [${R}='${this.preselection.mainId}']`);null!==e&&e.classList.add(H.LIST_ITEM_ACTIVE)}renderSubMenuPreselection(){if(!this.isNavigationTreeRendered||null===this.preselection.subIds)return;const e=this.preselection.subIds||[],t=this.overlay.querySelector(`${q.LIST_SUB}[${R}='${this.preselection.mainId}']`);e.length>0&&null!==t&&e.forEach((e=>{const i=t.querySelector(`[${D}='${e}']`);null!==i&&i.classList.add(H.LIST_ITEM_ACTIVE)}))}renderNavigationMenu(){if(this.isNavigationTreeCached&&!this.isNavigationTreeRendered){const e={i18n:this.i18n,...this.navigationTree};this.overlay.innerHTML=P(e),this.isNavigationTreeRendered=!0,this.renderMainMenuPreselection(),this.renderSubMenuPreselection(),this.prev_state.isNavigationTreeRendered=this.isNavigationTreeRendered;document.querySelectorAll('[data-tracking-id="i-header-topcategory"]').forEach((e=>{const t=e.getAttribute("data-main-id");e.addEventListener("click",(e=>()=>w((e=>({event:"header_category_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{category_id:e}}))(e)))(t))}));document.querySelectorAll('[data-tracking-id="i-header-subcategory"]').forEach((e=>{const t=e.getAttribute("data-sub-id");e.addEventListener("click",(e=>()=>w((e=>({event:"header_subcategory_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{sub_category_id:e||"NULL"}}))(e)))(t))}))}}renderMainMenuSelection(){if(this.prev_state.selectedMainCatId!==this.selectedMainCatId){null!==this.prev_state.selectedMainCatId&&(this.overlay.querySelector(`${q.LIST_MAIN} [${R}='${this.prev_state.selectedMainCatId}']`).classList.remove(H.LIST_ITEM_ACTIVE),this.overlay.querySelector(`${q.LIST_SUB}[${R}='${this.prev_state.selectedMainCatId}']`).classList.remove(H.MENU_ACTIVE),this.overlay.querySelector(`${q.LIST_SUB}[${R}='${this.prev_state.selectedMainCatId}']`).setAttribute(N,!0));const e=this.overlay.querySelector(`${q.LIST_MAIN} [${R}='${this.selectedMainCatId}']`);null!==e&&e.classList.add(H.LIST_ITEM_ACTIVE);const t=this.overlay.querySelector(`${q.LIST_SUB}[${R}='${this.selectedMainCatId}']`);null!==t&&t.classList.add(H.MENU_ACTIVE);const i=this.overlay.querySelector(`${q.LIST_SUB}[${R}='${this.selectedMainCatId}']`);null!==i&&i.setAttribute(N,!1),this.prev_state.selectedMainCatId=this.selectedMainCatId}}renderNavigationStateHasSelection(){this.prev_state.hasSelection!==this.hasSelection&&(this.overlay.classList.toggle(H.LIST_HAS_SELECTION,this.hasSelection),this.prev_state.hasSelection=this.hasSelection)}renderComponentStateIsActive(){this.prev_state.isActive!==this.isActive&&(this.root.classList.toggle(H.ACTIVE,this.isActive),this.link.setAttribute(M,this.isActive),this.prev_state.isActive=this.isActive,V.emitAPIEvent(this.isActive?e:n))}renderComponentStateIsInitialised(){this.prev_state.isInitialised!==this.isInitialised&&(this.root.classList.add(H.INITIALISED),this.prev_state.isInitialised=this.isInitialised)}renderComponentStateIsLoading(){this.prev_state.isLoading!==this.isLoading&&(this.root.classList.toggle(H.LOADING,this.isLoading),this.prev_state.isLoading=this.isLoading)}renderComponentStateIsOverlayOpen(){this.prev_state.isOverlayOpen!==this.isOverlayOpen&&(this.root.classList.toggle(H.OVERLAY_OPEN,this.isOverlayOpen),this.link.setAttribute(x,this.isOverlayOpen),this.overlay.setAttribute(N,!this.isOverlayOpen),this.prev_state.isOverlayOpen=this.isOverlayOpen)}render(){this.renderNavigationMenu(),this.renderMainMenuSelection(),this.renderNavigationStateHasSelection(),this.renderComponentStateIsActive(),this.renderComponentStateIsInitialised(),this.renderComponentStateIsLoading(),this.renderComponentStateIsOverlayOpen()}bindEvents(){window.document.addEventListener(t,(()=>{this.isActive&&this.deactivate()})),window.document.addEventListener(e,(e=>{e.iSender!==C&&this.deactivate()})),window.document.addEventListener("keydown",(e=>{let t=!1;t="key"in e?"Escape"===e.key||"Esc"===e.key:27===e.keyCode||27===e.which,this.isActive&&t&&this.deactivate()})),this.link.addEventListener("click",(e=>{e.preventDefault(),e.stopPropagation(),this.toggle(),this.root.addEventListener("click",(e=>{this.isActive&&e.target===this.root&&(e.stopPropagation(),this.deactivate())})),this.overlay.addEventListener("click",(e=>{const t=e.target||null;t&&"A"!==t.tagName&&e.preventDefault(),e.stopPropagation()}))}))}}const j="i-suggest",F=-1,G="aria-pressed",B={HIGHLIGHT:`${j}-highlight`,SUGGEST_ITEM_ACTIVE:`${j}-item--active`,SUGGEST_NAV_SUGGESTIONS:`${j}--suggestions`},z={AUTOCOMPLETE:`.${j}-autocomplete-btn`,SUGGEST_NAV:`.${j}`,SUGGEST_ITEM:`.${j}-item`,SUGGEST_LINK:`.${j}-link`,SUGGEST_TRENDING_LINK:`.${j}-trending-link`,SUGGEST_LIST:`.${j}-list`},W="data-country",Y=6,K=10,J=i(424);class Z{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 k}init(e,t,i=!1){this.root=e,this.suggestUrl=t,this.extendSuggestions=i||!1}buildElementList(){const e=this.root.querySelectorAll(z.SUGGEST_ITEM);this.suggestElements=e.length>0?[...e]:null}buildSuggestUrl(e){return`${this.suggestUrl.replace("{query}",encodeURIComponent(e))}&highlightClass=${B.HIGHLIGHT}${this.extendSuggestions?`&max=${K}`:""}`}suggest(e,t,i){this.$lastRequest&&(this.fetchAdapter.cancelRequest(),this.$lastRequest=null),this.$lastRequest=this.fetchAdapter.fetchWithTimeout(this.buildSuggestUrl(e)).then((e=>{t(Z.normalize(e)),this.$lastRequest=null,this.activeElementIndex=F})).catch((e=>{this.fetchAdapter.isRequestCancelled()||i(),this.$lastRequest=null,this.activeElementIndex=F}))}render(e){this.root.innerHTML=J(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 Q={stripTags:e=>e.replace(/(<([^>]+)>)/gi,"")};class X{static setItem(e,t){try{window.localStorage.setItem(e,Q.stripTags(t))}catch(e){}}static getItem(e){try{return Q.stripTags(window.localStorage.getItem(e))}catch(e){}return null}static removeItem(e){try{window.localStorage.removeItem(e)}catch(e){}}}const ee="idealo_search_history",te="click",ie={CLEAR_BUTTON:".i-suggest-button-delete"};class ne{static bindSuggestHistoryEvent(e,t,i){return t?()=>{const n=i.suggestItems[e],s=ne.buildHistoryItem(n.titlePlain,n.url,n.location);t.addItem(s)}:()=>{}}static bindTrendingHistoryEvent(e,t,i){return t?()=>{const n=i.trendingItems[e],s=ne.buildHistoryItem(n.query,n.url,n.location);var r;r=s.title,w((e=>({event:"searchbar_popular_searches_click",owner:"de.idealo.tyrell",version:"1-0-0",data:{search_query:{search_query:e}}}))(r)),t.addItem(s)}:()=>{}}static buildHistoryItem(e,t=null,i=null){let n=String(e).trim();n=Q.stripTags(n);const s={title:n,date:Date.now()};return t&&(s.url=t),i&&(s.location=i),n?s: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 i=e.titlePlain.toLowerCase().split(" ");let n=!1;if(t.length{t.forEach((t=>{0===i.indexOf(t)&&(e+=1)}))})),e>=t.length&&(n=!0)}return n})).filter((e=>(e.titleMarked=e.titlePlain,t.forEach((t=>{const i=new RegExp(`^${t}`,"gi"),n=new RegExp(`\\s${t}`,"gi");e.titleMarked=e.titleMarked.replace(i,`${t}`).replace(n,` ${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(f),this.history=[],this.normalizedHistory=[],X.removeItem(ee),e.closeOverlay()}}saveHistoryToLocalStorage(){this.history.length&&X.setItem(ee,JSON.stringify(this.history))}initHistory(){this.history=[...JSON.parse(X.getItem(ee))||[]],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),i=e.location||null;return{titlePlain:e.title,titleFull:i?`${e.title} - ${i}`:e.title,location:i,url:t}}))}processSearchHistoryTasks(e){this.bindSearchHistoryEvents(e)}bindSearchHistoryEvents(e){this.bindLinksForSearchHistory(e),this.bindDeleteAllRecentSearches(e)}bindLinksForSearchHistory(e){const t=[...e.overlay.querySelectorAll(z.SUGGEST_LINK)],i=[...e.overlay.querySelectorAll(z.SUGGEST_TRENDING_LINK)];t.forEach(((t,i)=>{t.addEventListener(te,ne.bindSuggestHistoryEvent(i,this,e))})),i.forEach(((t,i)=>{t.addEventListener(te,ne.bindTrendingHistoryEvent(i,this,e))}))}bindDeleteAllRecentSearches(e){const t=e.overlay.querySelector(ie.CLEAR_BUTTON);t&&t.addEventListener(te,this.deleteHistory(e))}clearOutdatedEntries(){this.history=this.history.filter((e=>ne.elementHasValidTimeStamp(e.date))),this.history&&this.history.length>0&&this.saveHistoryToLocalStorage()}}class se{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:se.createTrendingElementLink(e.query,t)})))}static createTrendingElementLink(e,t){return t+e}constructor(){this.trendingUrl=null,this.fetchAdapter=new k}init(e,t){this.trendingUrl=e,this.trendingBaseLink=t}getTrendings(e){this.fetchAdapter.fetchWithTimeout(this.trendingUrl).then((t=>{const i=se.applyTrendingElementUrls(t.queries,this.trendingBaseLink),n=se.sortTrendingItemsForPopularity(i);e(n)})).catch((e=>{}))}}const re="5e7793636fbbc471e4b62573",ae=()=>window.hasOwnProperty("cmpConsent"),oe=()=>window.cmpConsent[re]&&window.cmpConsent[re].vendorGrant,le=(e,t)=>{document.addEventListener("consentReady",(function(i){if(!i.detail||!i.detail.hasOwnProperty([re]))return!1;return i.detail[re].vendorGrant?e():t()}))},ce="i-search",ue="aria-expanded",de="aria-hidden",he="600px",pe={ACTIVE:`${ce}--active`,HAS_VALUE:`${ce}--hasvalue`,INITIALISED:`${ce}--initialised`,OVERLAY_OPEN:`${ce}--overlay-open`},ve="data-i18n",ge="data-focused",me="data-searchterm",fe="action",ye="click",we="focusin",Ee="focusout",Se="keydown",Ie="keyup",_e="mousedown",be="paste",Te="submit",Oe=40,Ae=37,Le=39,ke=38,Pe=13,Ce=27,xe=9,Ne={FORM:`.${ce}-form`,HOST:`.${ce}`,INPUT:`.${ce}-input`,META:'meta[name="search"]',OVERLAY:`.${ce}-overlay`,CANCEL_BUTTON:`.${ce}-button--cancel`,SEARCH_BUTTON:`.${ce}-button--submit`,LOADING_SPINNER:`.${ce}-loading-spinner`},Me=window.matchMedia(`\n screen and (min-height: ${he})\n and (orientation: landscape),\n screen and (min-width: ${he})\n and (orientation: portrait)\n `).matches||!1;class He{scrollIntoView(e){try{e.scrollIntoView({block:"start",behavior:"smooth"})}catch(e){}}static readSearchTerm(e){return He.trim(e.getAttribute(me)||"")}static readShouldAutoFocus(e){return"true"===e.getAttribute(ge)}static sendAPIEvent(e){const t=new Event(e,{bubbles:!0,cancelable:!0});t.iSender=ce,window.document.dispatchEvent(t)}static trim(e){return Q.stripTags(e).replace(/(^\s+)/gim,"").replace(/(\s{2,}$)/gim," ")}static bindAutocompletionEvent(e,t,i){return function(n){n.stopPropagation(),e.setAttribute(G,!0),i.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=F,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(Ne.META)||null;if(this.root=window.document.querySelector(Ne.HOST),this.root&&(this.input=this.root.querySelector(Ne.INPUT),this.form=this.root.querySelector(Ne.FORM),this.overlay=this.root.querySelector(Ne.OVERLAY),this.cancel_button=this.root.querySelector(Ne.CANCEL_BUTTON),this.search_button=this.root.querySelector(Ne.SEARCH_BUTTON),this.loading_spinner=this.root.querySelector(Ne.LOADING_SPINNER),this.i18n=JSON.parse(this.root.getAttribute(ve)||null),this.trendingServiceUrl=this.root.getAttribute("data-trending-url"),this.isInitialised=this.initIsInitialised()),e&&(this.shouldAutoFocus=He.readShouldAutoFocus(e)||!1,this.validSearchTerm=He.readSearchTerm(e)),this.isInitialised){this.input.value=this.validSearchTerm,this.suggester=new Z;const e=this.root.getAttribute(W),t=this.getSuggestUrl(e);this.suggester.init(this.overlay,t,Me);if(!!!document.querySelector("meta[name='header_noTrendingSearches']")&&this.trendingServiceUrl){const e=this.root.getAttribute(W);this.trending=new se,this.trending.init(this.trendingServiceUrl,this.getTrendingBaseUrl(e)),this.trending.getTrendings((e=>{this.trendingItems=e}))}const i=()=>{this.searchHistory=new ne,this.searchHistory.init(`${this.form.getAttribute(fe)}?q=`)},n=()=>{X.removeItem(ee)};ae()?oe()?i():n():le(i,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=F,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 Q.stripTags(this.input.value)}catch{return""}}closeOverlay(){this.activeElementIndex=F,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="inline"}suggest(e){this.validSearchTerm=He.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=F,this.render()}),(()=>{this.hasSuggestions=!1,this.activeElementIndex=F,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===we&&e.stopPropagation(),this.isActive=!0,this.hasFocus=!0,this.bindSuggesterEventsOnce(),this.prev_state.validSearchTerm="",this.fetchSuggestData(),this.hideLoadingSpinner()}))}shouldBlockSubmit(){return this.activeElementIndex!==F||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!==F){const e=this.suggestItems[this.activeElementIndex];this.searchHistory&&this.searchHistory.addItem(ne.buildHistoryItem(e.titlePlain,e.url,e.location)),window.location=e.url}}navigateUp(){this.activeElementIndex===F?this.activeElementIndex=this.suggester.suggestElements.length-1:this.activeElementIndex>0?this.activeElementIndex-=1:this.activeElementIndex=F}navigateDown(){this.activeElementIndex===F?this.activeElementIndex=0:this.activeElementIndex+10&&(i=i.slice(0,Math.min(e,i.length-Math.min(t.length,3))),t=t.slice(0,Math.min(t.length,3))),this.suggestItems=[...t].concat(i),{recent:{items:t,showIcon:!0,type:"RECENT"},suggestions:{items:i,showIcon:!1,type:"SUGGESTION"},i18n:this.i18n,trendings:this.trendingItems}}renderSuggestMenu(){this.hasSuggestions&&(this.suggester.render(this.getTemplateData()),Me||this.renderAutocompletionButton(),this.searchHistory&&this.searchHistory.processSearchHistoryTasks(this))}renderComponentStateHasFocus(){this.prev_state.hasFocus!==this.hasFocus&&(Me||!0!==this.hasFocus||this.scrollIntoView(this.root),this.prev_state.hasFocus=this.hasFocus)}renderComponentStateHasValue(){this.getInputValue()?this.root.classList.add(pe.HAS_VALUE):this.root.classList.remove(pe.HAS_VALUE)}renderComponentStateIsActive(){this.prev_state.isActive!==this.isActive&&(this.prev_state.isActive=this.isActive,He.sendAPIEvent(this.isActive?e:n))}renderComponentStateIsInitialised(){this.prev_state.isInitialised!==this.isInitialised&&(this.root.classList.add(pe.INITIALISED),this.prev_state.isInitialised=this.isInitialised)}renderComponentStateIsOverlayOpen(){this.prev_state.isOverlayOpen!==this.isOverlayOpen&&(this.root.classList.toggle(pe.OVERLAY_OPEN,this.isOverlayOpen),this.form.setAttribute(ue,this.isOverlayOpen),this.overlay.setAttribute(de,!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(z.AUTOCOMPLETE)].forEach(((e,t)=>{const{titlePlain:i}=this.suggestItems[t];e.addEventListener(ye,He.bindAutocompletionEvent(e,i,this))}))}applyCurrentSuggestion(e){this.validSearchTerm=He.trim(`${e} `),this.input.value=this.validSearchTerm,this.input.focus()}bindSuggesterEventsOnce(){this.overlay.addEventListener(ye,(e=>{e.stopPropagation()})),this.input.addEventListener(Se,(e=>{var t;e.which===Pe&&(this.validSearchTerm=He.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(Ie,(e=>{this.showLoadingSpinner(),window.setTimeout((()=>{const t=e.which;if(this.isActive=!0,this.hasFocus=!0,this.isOverlayOpen)switch(t){case Oe:this.navigateDown();break;case Ae:case Le:break;case ke:this.navigateUp();break;case Pe:this.navigateToSelection();break;case Ce:break;default:this.fetchSuggestData()}else t!==Pe&&t!==xe&&this.fetchSuggestData();this.render(),this.hideLoadingSpinner()}))})),this.input.addEventListener(be,(()=>{this.showLoadingSpinner(),window.setTimeout((()=>{this.suggest(this.getInputValue()),this.hideLoadingSpinner()}))})),this.bindSuggesterEventsOnce=()=>null}bindEvents(){window.document.addEventListener(e,(e=>{e.iSender!==ce&&this.deactivate()})),window.document.addEventListener(t,(()=>{this.wasMouseDown||this.deactivate()})),window.document.addEventListener(s,(()=>{this.input.focus()})),window.document.addEventListener(Ie,(e=>{const t=e.which;this.isActive&&t===Ce&&this.isOverlayOpen&&this.closeOverlay()}));document.activeElement&&document.activeElement.classList.contains("i-search-input")&&window.document.addEventListener(Se,(e=>{const t=e.which,i=t>47&&t<91,n=16===t;this.focusByClick||!i&&!n||w(y)}),{once:!0}),window.document.addEventListener(ye,(e=>{const t="which"in e&&3===e.which;!this.isActive||t||this.wasMouseDown||this.deactivate(),this.wasMouseDown=!1})),this.root.addEventListener(ye,(e=>{this.wasMouseDown=!1,e.stopPropagation()})),this.root.addEventListener(_e,(()=>{this.wasMouseDown=!0})),this.form.addEventListener(Te,(e=>{this.showLoadingSpinner(),window.setTimeout((()=>{this.shouldBlockSubmit()?(e.preventDefault(),this.input.focus(),this.wasAutoFocused=!0):this.searchHistory&&this.searchHistory.addItem(ne.buildHistoryItem(this.getInputValue())),this.render(),this.hideLoadingSpinner()}))})),this.cancel_button.addEventListener(ye,(e=>{this.showLoadingSpinner(),window.setTimeout((()=>{var t;e.stopPropagation(),t=He.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(we,(e=>{e.stopPropagation(),this.input.focus()})),this.search_button.addEventListener(we,(e=>{e.stopPropagation()})),this.search_button.addEventListener(ye,(e=>{e.stopPropagation()})),this.form.addEventListener(Ee,(e=>{e.stopPropagation(),this.isOverlayOpen||this.deactivate()})),this.form.addEventListener(ye,this.bindSuggestEvent.bind(this)),this.input.addEventListener(ye,(()=>{this.focusByClick=!0}))}getSuggestUrl(e){const t="/suggest?q={query}",i="https://www.idealo.";if(!i.includes("idealo"))return i+t;return i+{DE:"de",AT:"at",FR:"fr",ES:"es",GB:"co.uk",IT:"it"}[e]+t}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 $e=i(936),Ue=i.n($e);const Re=(e,t,i)=>new Promise(((n,s)=>{Ue()([e],t),Ue().ready(t,{success:()=>{n(window[i])},error:()=>{s(void 0)}})})),De=()=>Re("https://cdn.idealo.com/storage/wish-list-assets/header/header-wish-list-plugin.js","header-wishlist-plugin","idealoHeaderWishlistPlugin").then((e=>e.default)).catch((e=>{})),qe=()=>{const e=(e=>{const t=new RegExp(`[; ]${e}=([^\\s;]*)`),i=(" "+document.cookie).match(t);return e&&i?i[1]:null})("userInfo"),t=e?(i=e,JSON.parse(decodeURIComponent(escape(window.atob(i))))):null;var i;return 1===t?.ls},Ve="i-wishlist",je={INITIALISED:`${Ve}--initialised`,WISHLIST_BUTTON:"i-wishlist-element",SEARCH_INPUT:"i-search-input",WISHLIST_LINK:"i-wishlist-element-link"},Fe={HEADER_COMPONENT:`.${Ve}`,HEADER_BUTTON:`.${je.WISHLIST_BUTTON}`,HEADER_LINK:`.${je.WISHLIST_LINK}`,SEARCH_INPUT:`.${je.SEARCH_INPUT}`},Ge="ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,Be=()=>{window.idealo.header.wishlistPlugin||(window.idealo.header=window.idealo.header||{},De().then((e=>{e(".i-wishlist-element-content")})).catch((e=>{})),window.idealo.header.wishlistPlugin=!0)},ze=()=>{window.document.addEventListener("idealo.wishlist.update.count",We)},We=()=>{const e=window.document.querySelector(`.${je.WISHLIST_BUTTON}-heart`);e&&(e.classList.add(`${je.WISHLIST_BUTTON}-animated`),setTimeout((()=>{e.classList.remove(`${je.WISHLIST_BUTTON}-animated`)}),1e3))},Ye=()=>{const e=window.document.querySelector(Fe.HEADER_BUTTON),t=window.document.querySelector(Fe.SEARCH_INPUT);if(!e||!t)return;e.classList.add(je.INITIALISED);let i=!1;document.body&&(i=document.body.contains(window.document.querySelector(Fe.HEADER_LINK)));window.document.querySelector(".i-header")&&i&&!qe()&&(Ge?window.addEventListener("load",Be):(e.addEventListener("mouseover",Be,!1),t.addEventListener("focus",Be,!1))),ze()},Ke=()=>{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 Re(e,"header-notificationcenter-plugin","idealoHeaderNotificationCenterPlugin").then((e=>e.default)).catch((e=>{}))};function Je(e,t,i){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}const Ze="i-notificationCenter",Qe={INITIALISED:`${Ze}--initialised`,NOTIFICATION_CENTER_HEADER_SLOT:"i-header-slot--notificationCenter",MENU:"i-notificationCenter-menu",MENU_ACTIVE:"i-notificationCenter-menu--active"},Xe={HEADER_COMPONENT:`.${Ze}`,HEADER_SLOT:`.${Qe.NOTIFICATION_CENTER_HEADER_SLOT}`,MENU:".i-notificationCenter-menu",MENU_CONTENT_SLOT:".i-notificationCenter-menuContent"},et=(e,t={})=>{const i=document.createEvent("CustomEvent");i.initCustomEvent(e,!0,!1,t),document.dispatchEvent(i)};class tt{constructor(){Je(this,"isMenuActive",void 0),Je(this,"root",void 0),this.isMenuActive=!1,this.root=null,this.init()}init(){let e=!1;this.root=window.document.querySelector(Xe.HEADER_SLOT),null!==this.root&&(e=!0),e&&(this.root.classList.add(Qe.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 i=document.querySelector(Xe.HEADER_SLOT);if(!i)throw new Error("Notification Center: HEADER_SLOT not found!");i.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,et(e,{iSender:Ze});const t=document.querySelector(Xe.MENU);if(!t)throw new Error("Notification Center: MENU not found!");t.classList.add(Qe.MENU_ACTIVE)}deactivateMenu(){this.isMenuActive=!1,et(n,{iSender:Ze});const e=document.querySelector(Xe.MENU);if(!e)throw new Error("Notification Center: MENU not found!");e.classList.remove(Qe.MENU_ACTIVE)}updateMessageCount(e){const t=document.querySelector(".i-notificationCenter-menuWrapperIcon");if(!t)throw new Error("Notification Center: .i-notificationCenter-menuWrapperIcon not found!");const i="i-notificationCenter-menuWrapperIcon--new";e?t.classList.add(i):t.classList.remove(i)}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||{},Ke().then((e=>{e(Xe.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=()=>{}),ae()?oe()?e():t():le(e,t)}))}}const it=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)}},nt=(e,t)=>{const i=document.querySelector(e);i&&i.addEventListener("click",t)};new l,new V,new He,Ye(),new tt,nt('[data-tracking-id="i-header-flights"]',E),nt('[data-tracking-id="i-header-hotel"]',S),nt('[data-tracking-id="i-header-flights-hotel"]',I),nt('[data-tracking-id="i-header-magazin"]',_),nt('[data-tracking-id="i-header-logo"]',b),nt('[data-tracking-id="i-navigation"]',T),nt(".i-header-slot--wishlist",O),nt(".i-header-slot--notificationCenter",A),nt(".i-search-button--submit",it)})()})();//]]>
ElektroartikelHiFi-KomponentenLautsprecher
Soundcore Motion+
Keine Variante ausgewählt.
Testbericht:
Note 1,7
Keine Variante ausgewählt.
4 Produktmeinungen:
Eine Prüfung, ob diese Produktmeinungen von Verbrauchern stammen, die die bewertete Ware tatsächlich genutzt oder erworben haben, hat nicht stattgefunden, es sei denn die jeweilige Bewertung ist als „verifizierte Meinung” gekennzeichnet. Weitere Informationen
(4)
Eine Prüfung, ob diese Produktmeinungen von Verbrauchern stammen, die die bewertete Ware tatsächlich genutzt oder erworben haben, hat nicht stattgefunden, es sei denn die jeweilige Bewertung ist als „verifizierte Meinung” gekennzeichnet. Weitere Informationen
10 Angebote:80,00€ – 171,99€
4 Produktmeinungen:
Eine Prüfung, ob diese Produktmeinungen von Verbrauchern stammen, die die bewertete Ware tatsächlich genutzt oder erworben haben, hat nicht stattgefunden, es sei denn die jeweilige Bewertung ist als „verifizierte Meinung” gekennzeichnet. Weitere Informationen
(4)
Eine Prüfung, ob diese Produktmeinungen von Verbrauchern stammen, die die bewertete Ware tatsächlich genutzt oder erworben haben, hat nicht stattgefunden, es sei denn die jeweilige Bewertung ist als „verifizierte Meinung” gekennzeichnet. Weitere Informationen
Testbericht:
Note 1,7
Produktdetails
Preisverlauf
Preiswecker
mobiler LautsprecherAkkulaufzeit12h 2.0 Stereo 30WattNennbelastung 2-Wege Bluetooth 5.0 wasserfest mit Freisprechfunktion Line-In (3,5mm Klinke) Produktdetails
Ähnliche Produkte:50 Soundcore LautsprecherBluetooth Lautsprecher45 Soundcore mobile Lautsprecher
soundcore Motion+ Bluetooth HiFi Lautsprecher mit Hi-Res 30W Audio, Intensiver Bass, Kabelloser, mit App, USB C Konnektivität, Flexibler EQ, 12h Akkulaufzeit, IPX7 Wasserschutz (Schwarz)
94,59€
94,59€ inkl. Versand
Rechnung Lastschrift
Auf Lager. Express-Versand mit Amazon Prime möglich.
Marktplatz
16814
Verkauf durch:
AnkerDirect DE
Zum Shop
Details
Auf Lager. Express-Versand mit Amazon Prime möglich.
soundcore Motion+ Bluetooth HiFi Lautsprecher mit Hi-Res 30W Audio, Intensiver Bass, Kabelloser, mit App, USB C Konnektivität, Flexibler EQ, 12h Akkulaufzeit, IPX7 Wasserschutz (Rot)
99,99€
99,99€ inkl. Versand
Rechnung Lastschrift
Auf Lager. Express-Versand mit Amazon Prime möglich.
Marktplatz
16814
Verkauf durch:
AnkerDirect DE
Zum Shop
Details
Auf Lager. Express-Versand mit Amazon Prime möglich.
soundcore Motion+ Bluetooth HiFi Lautsprecher mit Hi-Res 30W Audio, Intensiver Bass, Kabelloser, mit App, USB C Konnektivität, Flexibler EQ, 12h Akkulaufzeit, IPX7 Wasserschutz (Blau)
99,99€
99,99€ inkl. Versand
Rechnung Lastschrift
Auf Lager. Express-Versand mit Amazon Prime möglich.
Marktplatz
16814
Verkauf durch:
AnkerDirect DE
Zum Shop
Details
Auf Lager. Express-Versand mit Amazon Prime möglich.
soundcore Motion+ Bluetooth HiFi Lautsprecher mit Hi-Res 30W Audio, Intensiver Bass, Kabelloser, mit App, USB C Konnektivität, Flexibler EQ, 12h Akkulaufzeit, IPX7 Wasserschutz (Schwarz)
102,49€
102,49€ inkl. Versand
Rechnung Lastschrift
Auf Lager. Express-Versand mit Amazon Prime möglich.
DHLHermes
Rücksendung 30 Tage kostenfrei
1570
Zum Shop
Details
Auf Lager. Express-Versand mit Amazon Prime möglich.
Anker Soundcore Motion+ Rot Bluetooth Lautsprecher Tragbar Stereo NEU OVP
171,99€
171,99€ inkl. Versand
Lieferung: bis Di. 27.02.
Marktplatz
750
Verkauf durch:
agiop_it
Zum Shop
Details
Lieferung: bis Di. 27.02.
Anker Soundcore Motion+ Blau Bluetooth Lautsprecher Tragbar Stereo NEU OVP
171,99€
171,99€ inkl. Versand
Lieferung: bis Sa. 24.02.
Marktplatz
750
Verkauf durch:
agiop_it
Zum Shop
Details
Lieferung: bis Sa. 24.02.
Daten vom 20.02.202409:34
Wie zufrieden bist Du mit dem Preisvergleich?
Vielen Dank für Deine Teilnahme!
Wie können wir den Preisvergleich für Dich verbessern (optional)?
Produktbeschreibung
Laura Rockmann, gadget-rausch.de - 20.07.21Der Soundcore Motion+ ist ein vielseitig einsetzbarer Bluetooth Speaker. Für unter 100 Euro bekommst Du Spitzenklang.
Soundcore Motion+
robuste Verarbeitung
in drei Farben erhältlich
individuelle Klanganpassung möglich
Robuster Lautsprecher
Der SoundcoreMotion+ hat fast durchgehend eine gummierte Oberfläche. Damit ist er wenig anfällig für Kratzer und Schmutz. Das Lautsprechergitter aus Aluminium ist ebenso widerstandsfähig und durchlässig für den guten Sound. Dank der Materialwahl hat der Lautsprecher eine IPX7-Zertifizierung. Wasser, Sand und Staub können also nicht in den Lautsprecher eindringen. Die Lade- und Verbindungsanschlüsse sind durch eine gummierte Kappe zusätzlich geschützt. Einem Einsatz im Outdoorbereich steht damit nichts im Wege.
Einfache Bedienung
Das Design ist so gewählt, dass die Musik im Winkel von 15Grad nach oben hin ausstrahlt. Eine optimale Schallverteilung ist damit gegeben. Auf der Oberseite gibt es einige Tasten mit Erhebungen. Der Druckpunkt ist gut und die Bedienung intuitiv. Der Sound überzeugt, der Klang ist klar und frei von jeglichen Verzerrungen. Auch bei lauter Musik, macht das Zuhören noch Spaß. Dank der BassUpTechnologie kannst Du die Bässe mit einem Knopfdruck noch weiter verstärken.
App für Klangeinstellungen
Die markeneigene App ist für den regulären Betrieb des SoundcoreMotion+ nicht notwendig. Wenn Du den Klang jedoch nach deinen Wünschen anpassen möchtest, ist das dort möglich. Die Akkulaufzeit beträgt knapp 12Stunden. Die Verbindung zum Smartphone via Bluetooth5.0 ist stets störungsfrei und stabil. Die Datenübertragung läuft auch bei größeren Distanzen noch zuverlässig. Mit zwei Modellen des SoundcoreMotion+ kannst Du sogar einen Stereo-Modus erzeugen. Wenn Du eine größere Fläche beschallen möchtest, könnte der SoundcoreMotionBoom die richtige Wahl für Dich sein.
Wer schreibt hier:
Bei Laura stehen Elektronikartikel aus den Bereichen Haus & Garten klar im Fokus. Ihre Expertise liegt dabei unter anderem bei Akkustaubsaugern, Küchengeräten und Garten-Gadgets. Seit 2016 ist sie als Produkttesterin und leitende Redakteurin für Gadget-Rausch tätig. Gadget-Rausch ist ein deutschsprachiger Gadget- und Innovations-Blog. Die Plattform beschäftigt sich seit 2014 mit den neuesten Produkten aus den Bereichen Technik, Smart Home und Crowdfunding.
Soundcore Motion+
Bluetooth-Lautsprecher mit Anschluss für Line-In (3,5mm Klinke)
betreibbar mit insgesamt 30 W
mit an Bord: Bedienungsanleitung, USB-Kabel und Audiokabel (3,5mm Klinke)
Bluetooth-Lautsprecher
Mit dem Motion+ erhältst Du einen 2.0-Stereo-Mobillautsprecher von Soundcore. Er kann seit 2019 bei uns erworben werden. Mit ausgeliefert werden eine Bedienungsanleitung, ein USB-Kabel und Audiokabel (3,5mm Klinke). Zudem hat er ein Mikrofon eingebaut. Wie seine Produkttypenbezeichnung erahnen lässt, kannst Du mit dem Gerät ohne Kabel sogar im Schwimmbad Audioinhalte hören. Gefällt Dir das Exemplar nicht, empfehlen wir Dir einen Blick auf die Bluetooth-Lautsprecher-Seite.
Mit IPX7-Zertifikat
Benutzbar ist der wasserfeste, IPX7-zertifizierte Klanggeber in Bus und Bahn, mit einem Handy und im Garten. Er fabriziert in seinem 2-Wege-System aktiv 2.0-Stereo-Audio. Ein externer Verstärker ist bei dem Speaker also nicht erforderlich. Im Hinblick darauf ist er vergleichsweise kompakt, denn auch ein zusätzlicher Verstärker, wie er bei passiven Boxen notwendig ist, benötigt Platz. Was seine Maße betrifft, ist er 257 mm breit, 79 mm hoch und 451 mm tief. Auf die Waage bringt er 1,05 kg. Beim 2-Wege-Konzept vertraut Soundcore auf:
2 Hochtöner
2 Tieftöner
30 W Nennlast, drahtlose Übertragung per Bluetooth
Der Klanggeber kann mit bis zu 30 W belastet werden und kann via Akku betrieben werden. Die Lebensdauer des 6.700 mAh großen Akkus liegt bei 12 Stunden. Damit findet er sich über dem Marktdurchschnitt ein. Nach 4 Stunden ist er vollständig wiederaufgeladen. Für den Wiederaufladevorgang ist ein Anschluss für USB-C an Bord. Für die Steuerung kannst Du auf eine App und Tasten rechnen. Verfügbar ist unter anderem USB. Zu den erwähnenswerten Funktionen des Schallwandlers zählen eine Streaming-Funktion, Dual Speaker Pairing und eine Freisprechfunktion.
Dank der Freisprechfunktion können Telefonanrufe entgegengenommen und Gespräche geführt werden, ohne dass Du dabei das Telefon aktiv in die Hand nehmen musst.
Unter Verwendung von Dual Speaker Pairing lassen sich zwei Bluetooth-Speaker verknüpfen und somit Stereo-Sound fabrizieren.
Zur kabellosen Datenübermittlung steht Bluetooth zur Verfügung. Unterstützt werden die Bluetooth-Version Bluetooth 5.0 sowie die Profile A2DP und HFP (Handsfree). Externe Tonquellen kannst Du mittels Line-In (3,5mm Klinke) einbinden. Aufgrund der Anschlüsse kannst Du Geräte mit 3,5-mm-Ausgang, Notebooks, Geräte mit Bluetooth, Tablets, MP3-Player und Smartphones anstöpseln.
Produktmeinungen(4) Hinweis zur Verifizierung Eine Prüfung, ob diese Produktmeinungen von Verbrauchern stammen, die die bewertete Ware tatsächlich genutzt oder erworben haben, hat nicht stattgefunden, es sei denn die jeweilige Bewertung ist als „verifizierte Meinung” gekennzeichnet. Mehr Informationen zum Verifizierungsprozess
Durchschnitt aus 4 Meinungen
4
Die Durchschnittsbewertung berechnet sich aus 4 idealo Meinungen.
Robert 27.06.21
Meinung bezieht sich auf: Soundcore Motion+
Hammer Teil
Hab es für 70 € im Angebot und bin begeistert. Habe auch noch andere Boxen von JBL und Bose daheim, aber dieses Teil zerstört fast alle Lautsprecher in dieser Größe. Der Sound und die Lautstärke ist sehr gut und mit der App kann man den perfekten Klang erzeugen. Volle Kaufempfehlung. Danke auch an Oluv, der das ganze auf Youtube empfohlen und vorgestellt hat.
via idealo
Tortek8218.04.21
Meinung bezieht sich auf: Soundcore Motion+
Ausgezeichnet
Tolle Verarbeitung, toller Klang (ein wenig via Soundcore App nachbessern!), Preis Leistung ist ausgezeichnet. Im Angebot bei A... manchmal für 70 Euro zu ergattern...unbedingt zuschlagen. Ich kann die Kiste nur wärmstens empfehlen.
via idealo
Mike21.05.20
Meinung bezieht sich auf: Soundcore Motion+ schwarz
Top Lautsprecher
Habe die beim letzten "best Preis", für ca 70€ gekauft. Schöne Töne, vernünftiger Bass. Auch bei voller Lautstärke.
via idealo
Peter Tischer04.05.20
Meinung bezieht sich auf: Soundcore Motion+ schwarz
Hammer Lautsprecher
Habe mir den Anker Motion + in Rot war ein Aktionspreis 84,99 € bei Amazon gekauft. Der Lautsprecher ist sehr wertige und auch noch Wasserfest. Die Klangqualität ist überragend wenn man sich die dazugehörige App runter laden und am Equalizer einstellt,so kann er locker mit Lautsprechern jenseits der 200 € mithalten. Für mich eine absolute Kaufempfehlung. Top Qualität. Top Sound und Wasserdicht was will man mehr.
Introduction: My name is Kimberely Baumbach CPA, I am a gorgeous, bright, charming, encouraging, zealous, lively, good person who loves writing and wants to share my knowledge and understanding with you.
We notice you're using an ad blocker
Without advertising income, we can't keep making this site awesome for you.