PageSourceSearch

https://www.moebelhaider.com/_nuxt/CMkPwyb1.js

js moebelhaider.com collected 2026-10-05 01:28:45 UTC 17,086 bytes, 1 lines download raw bytes

1import{_ as V}from"./oBmYBAG4.js";import D from"./B4xuE0Fi.js";import{d as E,u as F,s as x,i as L,r as C,_ as R,G as T,o as a,x as B,g as h,e as d,F as S,j as t,t as n,f as p,M as $,h as u,q as j,aC as H,v as U,T as A,H as G,k as z,K as q,p as N,l as I}from"./nWjHe5r5.js";import{u as W}from"./DjVSTpib.js";import{u as K}from"./DJcEtwb9.js";import{S as J,b as Q,a as X}from"./VfsT5yuM.js";import{C as Y}from"./BZ9OXnbK.js";import"./BWtfQ21w.js";const ee=E({name:"OffersTeaser",components:{VueSelect:Y,Splide:J,SplideSlide:Q,SplideTrack:X},props:{data:{type:Object,required:!0,default:()=>({})}},async setup(){const{t:e}=F(),{trackEvent:r}=W(),P=K(),{wohnsinnspreiseProducts:f,wohnsinnspreiseProductsCount:O}=x(P),M=L(()=>{var i;const l=new Set,o=[];for(const c of f.value){const g=(i=c.product_groups[0])==null?void 0:i.title;g&&!l.has(g)&&(l.add(g),o.push(g))}return o.sort((c,g)=>c.localeCompare(g)),o}),_={type:"loop",perPage:2,padding:0,breakpoints:{992:{perPage:1,padding:{left:18,right:36},speed:500}},pauseOnHover:!0,pauseOnFocus:!1,autoplay:!0,flickPower:600,speed:2e3,drag:!0,snap:!1,interval:8e3,gap:"var(--gap)",focus:0,arrows:!1,pagination:!0,perMove:1,omitEnd:!0,dragMinThreshold:{mouse:0,touch:20},classes:{prev:"splide__arrow--prev splide-arrow-prev",next:"splide__arrow--next splide-arrow-next"}},v=C(f.value);let b=C({key:"all",label:e("offerTeaser.filter.selection.filter")}),w=C({key:"",label:e("offerTeaser.filter.selection.sort")});const y=()=>{let l=[];b.value.key==="all"?l=f.value.filter(o=>o.stock!=0):l=f.value.filter(o=>o.product_groups.some(i=>i.title===b.value.key)&&o.stock!=0),w.value.key==="price"?l.sort((o,i)=>o.prices.original-i.prices.original):w.value.key==="new"?l.sort((o,i)=>new Date(o.date_created).getTime()-new Date(i.date_created).getTime()):w.value.key==="discount"&&l.sort((o,i)=>i.discount.percent-o.discount.percent),v.value=[],setTimeout(()=>{v.value=l},1e3)};y();const Z=L(()=>{const l=new Set,o=[];for(const i of f.value){const c=i.product_groups[0];c&&!l.has(c.title)&&(l.add(c.title),o.push({key:c.title,label:c.title}))}return o.sort((i,c)=>i.label.localeCompare(c.label)),[{key:"all",label:e("offerTeaser.filter.selection.filter")},...o]}),s=[{key:"",label:e("offerTeaser.filter.selection.sort")},{key:"new",label:e("offerTeaser.filter.selection.new")},{key:"price",label:e("offerTeaser.filter.selection.price")},{key:"discount",label:e("offerTeaser.filter.selection.discount")}];function m(l){return l??null}return{wohnsinnspreiseProducts:f,wohnsinnspreiseProductsCount:O,filteredData:v,roomFilter:M,selectedFilter:b,filterOptions:Z,selectedSortOption:w,filterData:y,sortOptions:s,splideOptions:_,getCategoryFullName:m,trackEvent:r}}}),te=""+new URL("wsp-large.BsP764Rz.jpg",import.meta.url).href,se=""+new URL("wsp-small.Cwe6DgCT.jpg",import.meta.url).href,k=e=>(N("data-v-3e41931e"),e=e(),I(),e),oe={key:0,class:"flex grid grid-cols-14"},re={class:"col-start-2 col-span-12 relative group"},ne=k(()=>t("img",{loading:"lazy",alt:"Wohnsinnspreise",src:te,class:"w-full h-full object-cover"},null,-1)),ae={class:"absolute top-0 left-0 gap-default h-full w-full overflow-hidden grid !grid-cols-12"},le={class:"bg-black w-full transform -translate-x-full h-full transition-all ease-in-out duration-1500 group-hover:translate-x-0 group-focus-within:translate-x-0 lg:p-14 md:p-4 flex flex-col justify-center col-span-4"},ie={class:"w-full text-white opacity-0 transition-opacity ease-in-out duration-1500 group-hover:opacity-100 group-focus-within:opacity-100"},de=["innerHTML"],ce=k(()=>t("div",{class:"h-16px w-50px overflow-hidden"},[t("svg",{class:"fill-white transform -translate-x-3 0px transition-all duration-300",height:"15.416",viewBox:"0 0 46.053 15.416",width:"46.053",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M23974.93,21102l5.283-5.3H23938v-2h42.24l-5.307-5.283,1.41-1.416,7.709,7.682-7.7,7.734Z",transform:"translate(-23938.002 -21087.998)"})])],-1)),pe={key:0,class:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"},ue=k(()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"197",height:"197",viewBox:"0 0 70.182 70.182"},[t("g",{id:"Gruppe_11674","data-name":"Gruppe 11674",transform:"translate(-996.363 -2540.498)"},[t("path",{d:"M23402.127,19346.18a34.476,34.476,0,1,1,13.465-2.719A34.382,34.382,0,0,1,23402.127,19346.18Zm15.029-19.363a3.525,3.525,0,0,0-1.895.541,3.736,3.736,0,0,0-1.641,2.424,3.8,3.8,0,0,0,.418,2.924,3.711,3.711,0,0,0,2.422,1.664,4.154,4.154,0,0,0,.941.111,3.561,3.561,0,0,0,1.936-.564,3.739,3.739,0,0,0,1.67-2.447,3.654,3.654,0,0,0-.447-2.9,3.723,3.723,0,0,0-2.4-1.635A4.5,4.5,0,0,0,23417.156,19326.816Zm4.74-29.879h0l-2.232,9.8-2.742,16.992,3.748.855,4.91-16.494,2.236-9.8-5.918-1.357Zm-24.568,7.258v0l5.588,19.447h6.223l9.041-26.709h-6.217l-5.73,20.539-5.834-20.539h-5.912l-5.764,20.527-5.8-20.527h-6.488l9.006,26.709h6.182l5.705-19.447Z",transform:"translate(-22370.674 -16736)",fill:"#fff",stroke:"rgba(0,0,0,0)","stroke-miterlimit":"10","stroke-width":"1"})])],-1)),he=[ue],fe={key:1,class:"offers-teaser"},me=k(()=>t("img",{loading:"lazy",alt:"Wohnsinnspreise",src:se,class:"w-full h-300px object-cover"},null,-1)),ve={class:"bg-black pt-8 pb-11.5 px-5"},we={class:"grid grid-cols-4 !gap-0"},ge={class:"w-full text-white mb-4 col-span-3"},_e=["innerHTML"],be={key:1,class:"<md:block grid md:grid-cols-14 relative"}
1,ye={class:"offers-teaser-card bg-grey h-full w-full"},ke={class:"bg-[#F2F2F2] md:col-span-5 h-full px-5 lg:px-12.5 flex flex-col justify-center items-start mb-0 <md:pt-8 <md:pb-12.5"},Te={class:"mb-12 font-sans"},Se=["innerHTML"],Ze={class:"mb-4 md:mb-8 <md:order-1"},Ce=["data-hover"],$e={key:0,class:"h-full"},Pe={class:"offers-teaser-card relative h-full group overflow-hidden"},Oe=["src"],Me=k(()=>t("svg",{class:"absolute w-25 md:w-121px <md:-translate-y-2/3 left-1/2 -translate-y-1/2 top-1/2 transform -translate-x-1/2",height:"195.001",viewBox:"0 0 197 195.001",width:"197",xmlns:"http://www.w3.org/2000/svg"},[t("g",{id:"Logo",transform:"translate(11026 16013.002)"},[t("path",{d:"M-18032-2793.406v-195h197v195Zm103.854-53.645a15.386,15.386,0,0,0,8.693,2.706,11.182,11.182,0,0,0,6.955-2.317c1.938-1.548,2.512-4.055,2.512-6.367,0-3.865-2.512-5.6-5.986-6.566l-1.549-.385c-1.158-.389-2.9-.969-2.9-2.317s1.549-1.932,2.711-1.932a6.764,6.764,0,0,1,4.25,1.543l2.516-4.824a18.324,18.324,0,0,0-7.734-1.932c-5.023,0-8.5,3.285-8.5,8.11,0,4.634,2.51,5.6,6.57,6.756,1.354.385,3.865.969,3.865,2.7,0,1.548-1.549,2.317-3.1,2.317a8.832,8.832,0,0,1-5.6-2.507Zm51.209-5.6a7.827,7.827,0,0,0,7.926,7.725,7.826,7.826,0,0,0,7.924-7.725,7.825,7.825,0,0,0-7.924-7.72A7.826,7.826,0,0,0-17876.937-2852.649Zm-28.41,7.725h13.916v-5.213h-7.539v-4.055h7.154v-5.213h-7.154v-4.249h7.539v-5.209h-13.916Zm-33.818,0h6.381v-23.94h-6.381Zm-19.514,0h13.906v-5.213h-7.529v-4.055h7.15v-5.213h-7.15v-4.249h7.529v-5.209h-13.906Zm-11.215,0h7.926l-7.73-9.847a6.493,6.493,0,0,0,5.408-6.756c0-5.023-3.666-7.336-8.5-7.336h-9.473v23.94h6.381v-9.268Zm-35.75,0h6.381v-7.919h3.67c5.607,0,8.693-2.507,8.693-8.11s-3.67-7.911-8.889-7.911h-9.66S-18005.449-2844.924-18005.645-2844.924Zm131.994-21.238h9.66l5.8-75.878h-21.646Zm-36.34-16.993a15.461,15.461,0,0,0,8.7,2.7,11.21,11.21,0,0,0,6.965-2.312c1.928-1.543,2.512-4.055,2.512-6.372,0-3.86-2.512-5.6-6-6.562l-1.543-.389c-1.154-.385-2.9-.964-2.9-2.317s1.547-1.928,2.705-1.928a6.783,6.783,0,0,1,4.254,1.539l2.512-5.019a18.257,18.257,0,0,0-7.725-1.928c-5.027,0-8.508,3.281-8.508,8.1,0,4.639,2.516,5.6,6.566,6.761,1.354.385,3.873.964,3.869,2.7s-1.553,2.511-3.1,2.511a8.8,8.8,0,0,1-5.6-2.511Zm-95.459,0a15.428,15.428,0,0,0,8.7,2.7,11.178,11.178,0,0,0,6.955-2.312c1.938-1.543,2.516-4.055,2.516-6.372,0-3.86-2.516-5.6-5.99-6.562l-1.549-.389c-1.158-.385-2.9-.964-2.9-2.317s1.543-1.928,2.711-1.928a6.8,6.8,0,0,1,4.25,1.539l2.512-5.019a18.3,18.3,0,0,0-7.73-1.928c-5.027,0-8.508,3.281-8.508,8.1,0,4.639,2.516,5.6,6.576,6.761,1.354.385,3.865.964,3.865,2.7s-1.549,2.511-3.092,2.511a8.829,8.829,0,0,1-5.607-2.511Zm84.258,2.127h6.377v-23.944h-6.377v14.676l-11.594-14.676h-6.381v23.944h6.381V-2895.7Zm-30.533,0h6.377v-23.944h-6.377v14.676l-11.594-14.676h-6.377v23.944h6.377V-2895.7Zm-30.537,0h6.381v-23.944h-6.381Zm11.02-49.427c0,7.72,5.6,13.128,13.527,13.128s13.529-5.408,13.529-13.128c0-7.336-6.57-12.359-13.529-12.359S-17971.242-2937.6-17971.242-2930.455Zm-14.689,12.359h6.566l7.738-23.939h-6.576l-4.639,15.445-4.828-15.445h-5.027l-5.213,15.445-4.254-15.445h-6.572l7.342,23.939h6.385l4.828-13.9Zm88.7,0h6.381v-23.94h-6.381v14.672l-11.6-14.672h-6.371v23.94h6.371v-14.672Zm-28.41-9.847v9.847h6.381v-23.94h-6.381v9.268h-9.273v-9.268h-6.377v23.94h6.377v-9.847Zm-73.436,70.085v-5.983h1.164c2.512,0,4.639,0,4.639,3.086,0,2.9-2.322,2.9-4.639,2.9Zm23.193-.19v-5.792h.58c2.127,0,4.443.389,4.443,2.9s-2.316,2.9-4.443,2.9Zm11.205-72.4c0-3.286,3.1-6.372,6.961-6.372s6.959,3.086,6.959,6.372a6.973,6.973,0,0,1-6.959,7.141A6.973,6.973,0,0,1-17964.676-2930.45Z",fill:"#fff",transform:"translate(7006 -13024.595)"}),t("path",{d:"M-17995.281-2891.287v-23.944h6.377v23.944ZM-18032-2904.42v-5.793h.578c2.127,0,4.445.385,4.445,2.9s-2.318,2.9-4.445,2.9Zm102.234-8.11-6.187-75.878h21.645l-5.8,75.878Zm-78.078-14.866-11.594-14.671v14.671h-6.377v-23.939h6.377l11.594,14.671v-14.671h6.377v23.939Zm54.494-37.068-11.594-14.676v14.676h-6.371v-23.944h6.371l11.594,14.676v-14.676h6.381v23.944Z",fill:"none",transform:"translate(7062.119 -12978.227)"})])],-1)),Le={class:"absolute left-5 top-5 lg:left-12.5 lg:top-10 w-22.5 h-22.5 bg-white rounded-full !sm:flex sm:items-center sm:justify-center h3 font-sans"},je={class:"<md:top-8 <md:left-5 <md:absolute"},Ve={class:"absolute md:top-0 bottom-0 left-0 w-full"},De={class:"absolute bottom-0 flex flex-wrap items-end gap-x-default justify-between w-full px-5 pb-12.5 lg:px-12.5 lg:pb-16"},Ee={class:"mb-0"}
1,Fe={class:"text-white mb-2"},xe={class:"text-white font-sans mb-6"},Re={class:"flex items-center flex-wrap gap-4 mb-0"},Be={class:"h3 !text-white font-bold"},He={class:"line-through text-white"},Ue=["href"],Ae={"data-hover":"Produkt anfragen"},Ge={key:0,class:"splide__pagination"},ze={class:"<md:block grid grid-cols-12 md:w-3/4 m-auto bg-gray-200 filterContainer !my-15 md:h-20"},qe={class:"roomFilterContainer relative col-span-3 bg-gray-500"},Ne={class:"filterCount flex uppercase items-center justify-center md:justify-end w-full col-span-6 md:pr-4 <md:my-4"},Ie={class:"sortMetaContainer col-span-3 md:pr-4 relative"},We={class:"grid grid-cols-12 md:grid-cols-14"},Ke=["href"],Je=["src","alt"],Qe={class:"absolute bottom-4 left-4 h3 !text-white textshadow"},Xe={class:"absolute top-4 left-4 rounded-full bg-white h-20 w-20"},Ye={class:"absolute top-1/2 left-1/2 w-max transform -translate-x-1/2 -translate-y-1/2 !text-black font-bold textshadow"},et={class:"absolute top-4 right-4 !text-white text-sm textshadow"},tt={class:"!text-white textshadow"},st={class:"absolute top-12 right-4 !text-black font-bold bg-white p-2 textshadow"};function ot(e,r,P,f,O,M){const _=V,v=T("SplideSlide"),b=T("SplideTrack"),w=T("Splide"),y=T("VueSelect"),Z=D;return a(),B(Z,{data:{...e.data},"show-header":!1,"class-object":"container-fluid offers-teaser"},{default:h(()=>[e.data.layout==="teaser"&&e.wohnsinnspreiseProducts&&e.wohnsinnspreiseProducts.length>0?(a(),d(S,{key:0},[e.$viewport.isGreaterOrEquals("desktop")?(a(),d("div",oe,[t("div",re,[ne,t("div",ae,[t("div",le,[t("p",ie,n(e.$t("offerTeaser.text")),1),p(_,{class:"h3 !text-white !mt-8 !no-underline !flex lg:!-mr-46px items-center gap-4",to:e.$t("urls.wohnsinnspreise"),onClick:r[0]||(r[0]=$(s=>e.trackEvent("ui_interaction",{event_category:"teaser",event_action:"wohnsinnspreise_teaser",event_label:e.$t("urls.wohnsinnspreise")}),["prevent"]))},{default:h(()=>[e.wohnsinnspreiseProductsCount!==0?(a(),d("div",{key:0,class:"wsp-link inline-flex flex-wrap !w-max",innerHTML:e.$t("offerTeaser.current-offers",{count:e.wohnsinnspreiseProductsCount})},null,8,de)):u("",!0),ce]),_:1},8,["to"])])]),e.$viewport.isGreaterOrEquals("desktop")?(a(),d("div",pe,he)):u("",!0)])])):u("",!0),e.$viewport.isLessThan("desktop")?(a(),d("div",fe,[me,t("div",ve,[t("div",we,[t("p",ge,n(e.$t("offerTeaser.text")),1),p(_,{class:"h3 !text-white !mt-8.25 !no-underline col-span-3",to:e.$t("urls.wohnsinnspreise"),onClick:r[2]||(r[2]=$(s=>e.trackEvent("ui_interaction",{event_category:"teaser",event_action:"wohnsinnspreise_teaser",event_label:e.$t("urls.wohnsinnspreise")}),["prevent"]))},{default:h(()=>[t("div",{class:"wsp-link inline-flex flex-wrap w-max",onClick:r[1]||(r[1]=$(s=>e.trackEvent("ui_interaction",{event_category:"teaser",event_action:"wohnsinnspreise_teaser",event_label:e.$t("urls.wohnsinnspreise")}),["prevent"])),innerHTML:e.$t("offerTeaser.current-offers",{count:e.wohnsinnspreiseProductsCount})},null,8,_e)]),_:1},8,["to"])])])])):u("",!0)],64)):u("",!0),e.data.layout==="preview"&&e.wohnsinnspreiseProducts&&e.wohnsinnspreiseProducts.length>0?(a(),d("div",be,[p(w,{options:e.splideOptions,"has-track":!1,class:"md:col-start-2 md:col-span-12"},{default:h(()=>[p(b,null,{default:h(()=>[p(v,null,{default:h(()=>[t("div",ye,[t("header",ke,[t("h2",Te,n(e.$t("offerTeaser.wohnsinnspreise")),1),e.wohnsinnspreiseProductsCount!==0?(a(),d("div",{key:0,class:"!md:mb-10 font-sans h3 underline font-sans <md:order-3",innerHTML:e.$t("offerTeaser.current-offers",{count:e.wohnsinnspreiseProductsCount})},null,8,Se)):u("",!0),t("p",Ze,n(e.$t("offerTeaser.text")),1),p(_,{class:"btn-primary w-max font-montserrat <md:order-2 <md:mb-10",target:"_self",to:"/de"},{default:h(()=>[t("span",{"data-hover":e.$t("offerTeaser.more")},n(e.$t("offerTeaser.more")),9,Ce)]),_:1})])])]),_:1}),(a(),d(S,null,j(4,s=>p(v,{key:s},{default:h(()=>{var m;return[e.wohnsinnspreiseProducts[s]?(a(),d("div",$e,[t("div",Pe,[t("img",{loading:"lazy",src:"/files/"+e.wohnsinnspreiseProducts[s].hero_image.filename_disk,class:"w-full h-full object-cover transform transition-scale duration-300 group-hover:scale-110",alt:""},null,8,Oe),Me,t("span",Le,[t("span",je,"-"+n(e.wohnsinnspreiseProducts[s].discount.percent)+"%",1)]),t("div",Ve,[t("div",De,[t("header",Ee,[t("span",Fe,n(e.getCategoryFullName((m=e.wohnsinnspreiseProducts[s].product_groups[0])==null?void 0:m.title)),1),t("h3",xe,n(e.wohnsinnspreiseProducts[s].name),1),t("p",Re,[t("span",Be,n(e.wohnsinnspreiseProducts[s].prices.original.toLocaleStr
1ing("de-AT",{style:"currency",currency:"EUR"})),1),t("span",He,n(e.wohnsinnspreiseProducts[s].prices.current.toLocaleString("de-AT",{style:"currency",currency:"EUR"})),1)])]),t("a",{class:"btn-underline mt-2 lg:mt-4 w-max !text-white",target:"_blank",href:"https://www.wohnsinnspreise.at/de/angebote/produkt-details/"+e.wohnsinnspreiseProducts[s].slug,rel:"noopener noreferrer"},[t("span",Ae,n(e.$t("offerTeaser.request_product")),1)],8,Ue)])])])])):u("",!0)]}),_:2},1024)),64))]),_:1}),e.$viewport.isGreaterOrEquals("desktop")?(a(),d("div",Ge)):u("",!0)]),_:1},8,["options"])])):u("",!0),e.data.layout==="listing"&&e.wohnsinnspreiseProducts&&e.wohnsinnspreiseProducts.length>=0?(a(),d(S,{key:2},[t("div",ze,[t("div",qe,[p(y,{modelValue:e.selectedFilter,"onUpdate:modelValue":r[3]||(r[3]=s=>e.selectedFilter=s),searchable:!1,filterable:!1,clearable:!1,options:e.filterOptions,transition:"dropdown",name:"filterRoom",class:"filter dark md:!absolute !border-none md:!top-1/2 md:transform md:!-translate-y-1/2 left-0 uppercase z-5 w-full filterRooms bg-gray-500",onChange:e.filterData,"onOption:selected":r[4]||(r[4]=()=>e.filterData())},null,8,["modelValue","options","onChange"])]),t("div",Ne,n(e.$t("offerTeaser.filter.offers",{count:e.filteredData.length})),1),t("div",Ie,[p(y,{modelValue:e.selectedSortOption,"onUpdate:modelValue":r[5]||(r[5]=s=>e.selectedSortOption=s),searchable:!1,filterable:!1,clearable:!1,options:e.sortOptions,name:"sortMeta",transition:"dropdown",class:"sort sortMeta !w-full md:!absolute !border-none md:!top-1/2 md:transform md:!-translate-y-1/2 z-4 bg-gray-200","onOption:selected":r[6]||(r[6]=()=>e.filterData())},null,8,["modelValue","options"])])]),t("div",We,[p(H,{name:"products",mode:"out-in",duration:1600},{default:h(()=>[(a(!0),d(S,null,j(e.filteredData,(s,m)=>(a(),d("div",{key:m,class:U([m%3===0?"md:col-start-2":"","col-span-4 <md:col-span-12 origin-bottom-left"])},[p(A,null,{default:h(()=>[G(t("a",{href:"https://www.wohnsinnspreise.at/produkte/"+s.slug,target:"_blank",class:"block no-underline relative aspect-4-3 group overflow-hidden"},[s&&s.hero_image&&s.hero_image.id?(a(),d("img",{key:0,src:e.$assetURL({file:s.hero_image}),class:"w-full h-full object-cover transform transition-scale duration-300 group-hover:scale-110",alt:s.hero_image.description||s.hero_image.t
1itle||s.name},null,8,Je)):u("",!0),t("p",Qe,n(s.name),1),t("span",Xe,[t("p",Ye,"- "+n(s.discount.percent)+" %",1)]),t("p",et,[z(" statt "),t("span",tt,n(s.prices.original.toLocaleString("de-AT",{style:"currency",currency:"EUR"})),1)]),t("p",st,n(s.prices.current.toLocaleString("de-AT",{style:"currency",currency:"EUR"})),1)],8,Ke),[[q,!0]])]),_:2},1024)],2))),128))]),_:1})])],64)):u("",!0)]),_:1},8,["data"])}const ut=R(ee,[["render",ot],["__scopeId","data-v-3e41931e"]]);export{ut as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.