PageSourceSearch

https://www.tischlerei-bauer.at/_nuxt/CrF7q7Q1.js

js tischlerei-bauer.at collected 2026-10-05 20:41:16 UTC 12,414 bytes, 1 lines download raw bytes

1import{_ as M}from"./CfJr-912.js";import{S as B,b as z,a as L}from"./B5XQvSA_.js";import{u as V}from"./CJkZQJac.js";import{d as T,s as O,i as b,r as q,_ as D,K as x,o as l,e as a,j as e,k as g,t,q as H,Q as P,F as k,p as _,h as F,R as m,v as A,g as v,f as j}from"./Bl_lyv0Z.js";const X=T({name:"ContentCustomerFeedback",components:{Splide:B,SplideSlide:z,SplideTrack:L},props:{data:{type:Object,required:!0}},setup(s){const n=V(),{webSettings:$}=O(n),S={type:"loop",dragMinThreshold:{mouse:0,touch:20},perPage:2,breakpoints:{767:{perPage:1}},pauseOnHover:!0,pauseOnFocus:!0,autoplay:!0,flickPower:600,speed:2e3,drag:!0,snap:!0,gap:"var(--gap)",focus:0,arrows:!0,pagination:!0,autowidth:!1,omitEnd:!0,classes:{prev:"splide__arrow--prev splide-arrow-prev",next:"splide__arrow--next splide-arrow-next"}};function y(d){const i=[...d];for(let r=i.length-1;r>0;r--){const u=Math.floor(Math.random()*(r+1));[i[r],i[u]]=[i[u],i[r]]}return i}const C=b(()=>{var r;const d=((r=s.data)==null?void 0:r.customer_feedback)||[];if(!d.length)return null;const i=Math.floor(Math.random()*d.length);return d[i]}),c=q(!1),f=9,p=b(()=>{var d;return y(((d=s.data)==null?void 0:d.customer_feedback)||[]).filter((i,r)=>r>0)}),w=b(()=>c.value?p.value:p.value.slice(0,f)),h=b(()=>p.value.length>f&&!c.value);return{splideOptions:S,webSettings:$,shuffle:y,randomFeedback:C,showAllCustomerFeedback:c,visibleCustomerFeedback:w,hasMoreCustomerFeedback:h}}}),G=""+new URL("google.C68UG05j.png",import.meta.url).href,Y={key:0,class:"container-fluid lg:grid gap-default grid-cols-10"},E={class:"col-start-1 col-span-10 bg-[#F2F2F2] py-12 lg:py-20 <lg:px-8 flex flex-col lg:grid gap-x-default !gap-y-6 !lg:gap-y-0 grid-cols-12"},R={class:"col-start-10 col-span-2 mb-6 sm:mb-15"},U={class:"flex flex-col gap-0 mt-4 text-[#707070]"},K={class:"font-semibold"},Z={class:"font-semibold"},I=["href"],Q={class:"stars flex justify-center items-center"},J={class:"!mb-1 text-center"},W={class:"font-bold !text-center !block h1 !text-black !mb-2"},ee={class:"w-3/4 bg-white rounded-full h-1 relative overflow-hidden mx-auto"},se={key:1},te={key:0,class:"!container-fluid grid gap-default grid-cols-12"},le={class:"col-start-5 col-span-6 mb-30 bracket"},oe={class:"mb-0 pb-6 border-b-1 border-black/10"},ae={class:"mt-6 flex gap-4 items-center"},ne={key:0,class:"h-25 w-25 rounded-full bg-primary text-white flex items-center justify-center text-2xl flex-shrink-0"},re={key:1,class:"h-25 w-25 rounded-full bg-primary text-white flex items-center justify-center text-2xl flex-shrink-0"},ie={key:0,class:"font-bold leading-5 block"},de={key:1,class:"font-bold leading-5 block"},ce={class:"-mt-0.5"},pe={class:"inline-block leading-5"},ue={class:"inline-block font-bold leading-5"},me={class:"w-40 bg-gray-200 rounded-full h-1 relative overflow-hidden"},fe={class:"grid grid-cols-12 !gap-y-30 col-span-12"},he={class:"mb-0 pb-6 border-b-1 border-black/10"},be={class:"mt-6 flex gap-4 items-center"},ge={key:0,class:"h-15 w-15 rounded-full bg-primary text-white flex items-center justify-center text-2xl flex-shrink-0"},ke={key:1,class:"h-15 w-15 rounded-full bg-primary text-white flex items-center justify-center text-2xl flex-shrink-0"},_e={key:0,class:"font-bold leading-5 block"},ve={key:1,class:"font-bold leading-5 block"},ye={class:"-mt-0.5"},we={class:"inline-block leading-5"},xe={class:"inline-block font-bold leading-5"},Fe={class:"w-40 bg-gray-200 rounded-full h-1 relative overflow-hidden"},$e={key:0,class:"col-span-12 flex justify-center mt-12"},Se=["data-hover"],Ce={class:"mb-0 pb-6 border-b-1 border-black/10"},Ne={class:"mt-6 flex gap-4 items-center"},Ae={key:0,class:"h-15 w-15 rounded-full bg-primary text-white flex items-center justify-center text-2xl flex-shrink-0"},je={key:1,class:"h-15 w-15 rounded-full bg-primary text-white flex items-center justify-center text-2xl flex-shrink-0"},Me={key:0,class:"font-bold leading-5 block"},Be={key:1,class:"font-bold leading-5 block"},ze={class:"-mt-0.5"},Le={class:"inline-block leading-5"},Ve={class:"inline-block font-bold leading-5"},Te={class:"w-40 bg-gray-200 rounded-full h-1 relative overflow-hidden"},Oe={ref:"controls",class:"control-overlay"},qe={key:2,class:"!container-fluid grid gap-default grid-cols-12"},De={class:"col-start-2 col-span-10 bg-[#F2F2F2] py-12 lg:py-20 <lg:px-8 flex flex-col lg:grid ga
1p-x-default !gap-y-6 !lg:gap-y-0 grid-cols-14"},He={class:"mb-0 col-span-4 mxl:col-span-6 !col-start-2"},Pe={class:"italic"},Xe={class:"<lg:border-t-1 lg:border-l-1 border-black/10 col-span-8 mxl:col-span-6 flex flex-col-reverse lg:flex-row-reverse gap-4 lg:items-center justify-between lg:pl-8 <lg:pt-6"},Ge=["data-hover"],Ye={class:"flex gap-4 items-center col-span-10 col-start-2"},Ee={key:0,class:"h-15 w-15 rounded-full bg-primary text-white flex items-center justify-center text-2xl flex-shrink-0"},Re={key:1,class:"h-15 w-15 rounded-full bg-primary text-white flex items-center justify-center text-2xl flex-shrink-0"},Ue={key:0,class:"font-bold leading-5 block"},Ke={key:1,class:"font-bold leading-5 block"},Ze={class:"-mt-0.5"},Ie={class:"inline-block leading-5"},Qe={class:"inline-block font-bold leading-5"},Je={class:"w-40 bg-gray-200 rounded-full h-1 relative overflow-hidden"};function We(s,n,$,S,y,C){var h,d,i,r,u,N;const c=x("SplideSlide"),f=x("SplideTrack"),p=x("Splide"),w=M;return s.data&&s.data.metrics&&s.data.layout==="metrics"?(l(),a("section",Y,[e("div",E,[n[5]||(n[5]=e("div",{class:"col-start-2 col-span-8"},[e("h2",null,[g(" Kundenzufriedenheit im Fokus: "),e("br",{class:"<lg:hidden"}),g(" Unsere Top-Bewertungen ")])],-1)),e("div",R,[e("div",U,[e("span",null,[n[1]||(n[1]=g(" Stand: ")),e("span",K,t(s.$dayjs().format("DD. MMMM YYYY")),1)]),e("span",null,[n[2]||(n[2]=g(" Anzahl Bewertungen: ")),e("span",Z,t((i=(d=(h=s.data)==null?void 0:h.review_count)==null?void 0:d.customer)==null?void 0:i.all),1)])])]),e("div",{class:H(["grid grid-cols-1 sm:grid-cols-2 col-start-3 col-span-8 !gap-x-0 !gap-y-default",(r=s.webSettings)!=null&&r.review_link?"lg:grid-cols-5":"lg:grid-cols-4"])},[(u=s.webSettings)!=null&&u.review_link?(l(),a("a",{key:0,href:(N=s.webSettings)==null?void 0:N.review_link,target:"_blank",class:"relative metric no-underline hover:no-underline text-black"},[n[4]||(n[4]=P('<div class="flex flex-col justify-center items-center !mb-3"><div class="flex !flex-row items-baseline justify-center gap-1 w-full"><p class="text-center flex !mb-3"> Google Bewertungen <svg xmlns="http://www.w3.org/2000/svg" width="1rem" height="1rem" viewBox="0 0 50 50"><path fill="currentColor" d="m38.288 10.297l1.414 1.415l-14.99 14.99l-1.414-1.414z"></path><path fill="currentColor" d="M40 20h-2v-8h-8v-2h10zm-5 18H15c-1.7 0-3-1.3-3-3V15c0-1.7 1.3-3 3-3h11v2H15c-.6 0-1 .4-1 1v20c0 .6.4 1 1 1h20c.6 0 1-.4 1-1V24h2v11c0 1.7-1.3 3-3 3"></path></svg></p></div><img src="'+G+'" alt="Google" class="!w-12 !aspect-square"></div>',1)),e("div",Q,[(l(),a(k,null,_(5,o=>e("svg",{key:o,xmlns:"http://www.w3.org/2000/svg",width:"1rem",he
1ight:"1rem",viewBox:"0 0 72 72"},n[3]||(n[3]=[e("path",{fill:"#fcea2b",d:"M35.993 10.736L27.791 27.37L9.439 30.044l13.285 12.94l-3.128 18.28l16.412-8.636l16.419 8.624l-3.142-18.278l13.276-12.95l-18.354-2.66z"},null,-1),e("path",{fill:"none",stroke:"#000","stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":"10","stroke-width":"2",d:"M35.993 10.736L27.791 27.37L9.439 30.044l13.285 12.94l-3.128 18.28l16.412-8.636l16.419 8.624l-3.142-18.278l13.276-12.95l-18.354-2.66z"},null,-1)]))),64))])],8,I)):F("",!0),(l(!0),a(k,null,_(s.data.metrics[0].questions,o=>(l(),a("div",{key:o.caption,class:"relative metric px-8"},[e("p",J,t(o.caption),1),e("span",W,t(o.value)+" %",1),e("div",ee,[e("div",{class:"absolute left-0 top-0 h-full w-full bg-black origin-left",style:m(`transform:scaleX(${o.value/100});`)},null,4)])]))),128))],2)])])):s.data.layout==="multiple"&&s.data.customer_feedback.length?(l(),a("section",se,[s.$viewport.isGreaterOrEquals("desktop")?(l(),a("div",te,[e("div",le,[e("p",oe,t(s.randomFeedback.text),1),e("div",ae,[s.randomFeedback.anonym!==!0?(l(),a("div",ne,t(s.randomFeedback.person.firstName.charAt(0))+t(s.randomFeedback.person.lastName.charAt(0)),1)):(l(),a("div",re,"A")),e("div",null,[s.randomFeedback.anonym!==!0?(l(),a("span",ie,t(s.randomFeedback.person.firstName)+" "+t(s.randomFeedback.person.lastName),1)):(l(),a("span",de,t(s.$t("feedback.anonym")),1)),e("div",ce,[e("span",pe,t(s.$t("feedback.satisfaction"))+" - ",1),e("span",ue,t(s.randomFeedback.excitement)+"%",1),e("div",me,[e("div",{class:"absolute left-0 top-0 h-full w-40 bg-black origin-left",style:m(`transform:scaleX(${s.randomFeedback.excitement/100});`)},null,4)])])])])]),e("div",fe,[(l(!0),a(k,null,_(s.visibleCustomerFeedback,o=>(l(),a("div",{key:o.id,class:"col-span-4"},[e("p",he,t(o.text),1),e("div",be,[o.anonym!==!0?(l(),a("div",ge,t(o.person.firstName.charAt(0))+t(o.person.lastName.charAt(0)),1)):(l(),a("div",ke,"A")),e("div",null,[o.anonym!==!0?(l(),a("span",_e,t(o.person.firstName)+" "+t(o.person.lastName),1)):(l(),a("span",ve,t(s.$t("feedback.anonym")),1)),e("div",ye,[e("span",we,t(s.$t("feedback.satisfaction"))+" - ",1),e("span",xe,t(o.excitement)+"%",1),e("div",Fe,[e("div",{class:"absolute left-0 top-0 h-full w-40 bg-black origin-left",style:m(`transform:scaleX(${o.excitement/100});`)},null,4)])])])])]))),128))]),s.hasMoreCustomerFeedback?(l(),a("div",$e,[e("button",{type:"button",class:"btn-primary",onClick:n[0]||(n[0]=o=>s.showAllCustomerFeedback=!0)},[e("span",{"data-hover":s.$t("feedback.show_more")},t(s.$t("feedback.show_more")),9,Se)])])):F("",!0)])):(l(),A(p,{key:1,tag:"section",options:s.splideOptions,"has-track":!1,class:"feedback-slider container-fluid"},{default:v(()=>[j(f,{class:"h-full"},{default:v(()=>[(l(!0),a(k,null,_(s.shuffle(s.data.customer_feedback),o=>(l(),A(c,{key:o.id,class:"h-full"},{default:v(()=>[e("p",Ce,t(o.text),1),e("div",Ne,[o.anonym!==!0?(l(),a("div",Ae,t(o.person.firstName.charAt(0))+t(o.person.lastName.charAt(0)),1)):(l(),a("div",je,"A")),e("div",null,[o.anonym!==!0?(l(),a("span",Me,t(o.person.firstName)+" "+t(o.person.lastName),1)):(l(),a("span",Be,t(s.$t("feedback.anonym")),1)),e("div",ze,[e("span",Le,t(s.$t("feedback.satisfaction"))+" - ",1),e("span",Ve,t(o.excitement)+"%",1),e("div",Te,[e("div",{class:"absolute left-0 top-0 h-full w-40 bg-black origin-left",style:m(`transform:scaleX(${o.excitement/100});`)},null,4)])])])])]),_:2},1024))),128))]),_:1}),e("div",Oe,n[6]||(n[6]=[e("div",{class:"splide__controls"},[e("div",{class:"splide__arrows"},[e("button",{class:"splide__arrow splide__arrow--prev","aria-label":"previous"})]),e("div",{class:"splide__pagination"}),e("div",{class:"splide__arrows"},[e("button",{class:"splide__arrow splide__arrow--next","aria-label":"next"})])],-1)]),512)]),_:1},8,["options"]))])):s.data.layout==="single"&&s.data.customer_feedback.length&&s.randomFeedback?(l(),a("section",qe,[e("div",De,[e("p",He,[n[7]||(n[7]=e("svg",{class:"w-26px h-24px text-primary float-left mr-3 -mt-1",height:"61.965",viewBox:"0 0 63.5 61.965",width:"63.5",xmlns:"http://www.w3.org/2000/svg"},[e("path",{id:"Pfad_2364",d:"M14.25-145.75v20.25h25v-23.75H15.75c1.5-11.25,10-20,23.5-23.5v-13.5C23.5-180.5,14.25-165.5,14.25-145.75Zm62.5-27v-13.5c-15.75,5.75-25,20.75-25,40.5v20.25h25v-23.75H53.25C54.75-160.5,63.25-169.25,76.75-172.75Z","data-name":"Pfad 2364",fill:"
1currentColor","stroke-miterlimit":"10","stroke-width":"1",transform:"translate(-13.75 186.965)","data-v-2273ea99":""})],-1)),e("span",Pe,t(s.randomFeedback.text),1)]),e("div",Xe,[j(w,{to:s.$t("urls.feedback"),class:"btn-primary"},{default:v(()=>[e("span",{"data-hover":s.$t("feedback.all")},t(s.$t("feedback.all")),9,Ge)]),_:1},8,["to"]),e("div",Ye,[s.randomFeedback.anonym!==!0?(l(),a("div",Ee,t(s.randomFeedback.person.firstName.charAt(0))+t(s.randomFeedback.person.lastName.charAt(0)),1)):(l(),a("div",Re,"A")),e("div",null,[s.randomFeedback.anonym!==!0?(l(),a("span",Ue,t(s.randomFeedback.person.firstName)+" "+t(s.randomFeedback.person.lastName),1)):(l(),a("span",Ke,t(s.$t("feedback.anonym")),1)),e("div",Ze,[e("span",Ie,t(s.$t("feedback.satisfaction"))+" - ",1),e("span",Qe,t(s.randomFeedback.excitement)+"%",1),e("div",Je,[e("div",{class:"absolute left-0 top-0 h-full w-40 bg-black origin-left",style:m(`transform:scaleX(${s.randomFeedback.excitement/100});`)},null,4)])])])])])])])):F("",!0)}const os=D(X,[["render",We]]);export{os 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.