PageSourceSearch

https://wp-calc-neu-an1280-production.up.railway.app/assets/index-SblDHaa-.js

js wp-calc-neu-an1280-production.up.railway.app collected 2026-10-03 12:15:04 UTC 203,149 bytes, 139 lines download raw bytes

vendor: 2,531 bytes, line 1
1(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}})();function fi(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const re={},Mt=[],Ze=()=>{},As=()=>!1,$n=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Pn=e=>e.startsWith("onUpdate:"),me=Object.assign,hi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},io=Object.prototype.hasOwnProperty,ne=(e,t)=>io.call(e,t),R=Array.isArray,_t=e=>Qt(e)==="[object Map]",Tn=e=>Qt(e)==="[object Set]",Oi=e=>Qt(e)==="[object Date]",U=e=>typeof e=="function",de=e=>typeof e=="string",je=e=>typeof e=="symbol",ie=e=>e!==null&&typeof e=="object",Ms=e=>(ie(e)||U(e))&&U(e.then)&&U(e.catch),_s=Object.prototype.toString,Qt=e=>_s.call(e),so=e=>Qt(e).slice(8,-1),Ss=e=>Qt(e)==="[object Object]",pi=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Vt=fi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),In=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ro=/-\w/g,ze=In(e=>e.replace(ro,t=>t.slice(1).toUpperCase())),oo=/\B([A-Z])/g,ft=In(e=>e.replace(oo,"-$1").toLowerCase()),Ls=In(e=>e.charAt(0).toUpperCase()+e.slice(1)),Dn=In(e=>e?`on${Ls(e)}`:""),Ge=(e,t)=>!Object.is(e,t),pn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},$s=(e,t,n,i=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:n})},Hn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ri;const En=()=>Ri||(Ri=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fn(e){if(R(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],s=de(i)?co(i):Fn(i);if(s)for(const r in s)t[r]=s[r]}return t}else if(de(e)||ie(e))return e}const lo=/;(?![^(]*\))/g,ao=/:([^]+)/,uo=/\/\*[^]*?\*\//g;function co(e){const t={};
vendor: 5,043 bytes, line 1
1return e.replace(uo,"").split(lo).forEach(n=>{if(n){const i=n.split(ao);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function N(e){let t="";if(de(e))t=e;else if(R(e))for(let n=0;n<e.length;n++){const i=N(e[n]);i&&(t+=i+" ")}else if(ie(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const fo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ho=fi(fo);function Ps(e){return!!e||e===""}function po(e,t){if(e.length!==t.length)return!1;let n=!0;for(let i=0;n&&i<e.length;i++)n=en(e[i],t[i]);return n}function en(e,t){if(e===t)return!0;let n=Oi(e),i=Oi(t);if(n||i)return n&&i?e.getTime()===t.getTime():!1;if(n=je(e),i=je(t),n||i)return e===t;if(n=R(e),i=R(t),n||i)return n&&i?po(e,t):!1;if(n=ie(e),i=ie(t),n||i){if(!n||!i)return!1;const s=Object.keys(e).length,r=Object.keys(t).length;if(s!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),u=t.hasOwnProperty(o);if(l&&!u||!l&&u||!en(e[o],t[o]))return!1}}return String(e)===String(t)}function go(e,t){return e.findIndex(n=>en(n,t))}const Ts=e=>!!(e&&e.__v_isRef===!0),_=e=>de(e)?e:e==null?"":R(e)||ie(e)&&(e.toString===_s||!U(e.toString))?Ts(e)?_(e.value):JSON.stringify(e,Is,2):String(e),Is=(e,t)=>Ts(t)?Is(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,s],r)=>(n[Nn(i,r)+" =>"]=s,n),{})}:Tn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Nn(n))}:je(t)?Nn(t):ie(t)&&!R(t)&&!Ss(t)?String(t):t,Nn=(e,t="")=>{var n;return je(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Se;class mo{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Se,!t&&Se&&(this.index=(Se.scopes||(Se.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Se;try{return Se=this,t()}finally{Se=n}}}on(){++this._on===1&&(this.prevScope=Se,Se=this)}off(){this._on>0&&--this._on===0&&(Se=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(this.effects.length=0,n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function vo(){return Se}let le;const Kn=new WeakSet;class Hs{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Se&&Se.active&&Se.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Kn.has(this)&&(Kn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Fs(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Vi(this),zs(this);const t=le,n=Be;le=this,Be=!0;try{return this.fn()}finally{Bs(this),le=t,Be=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)vi(t);this.deps=this.depsTail=void 0,Vi(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Kn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Qn(this)&&this.run()}get dirty(){return Qn(this)}}let Es=0,Dt,Nt;function Fs(e,t=!1){if(e.flags|=8,t){e.next=Nt,Nt=e;return}e.next=Dt,Dt=e}function gi(){Es++}function mi(){if(--Es>0)return;if(Nt){let t=Nt;for(Nt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Dt;){let t=Dt;for(Dt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(i){e||(e=i)}t=n}}if(e)throw e}function zs(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Bs(e){let t,n=e.depsTail,i=n;for(;i;){const s=i.prevDep;i.version===-1?(i===n&&(n=s),vi(i),bo(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=s}e.deps=t,e.depsTail=n}function Qn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(js(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function js(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Gt)||(e.globalVersion=Gt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Qn(e))))return;e.flags|=2;const t=e.dep,n=le,i=Be;le=e,Be=!0;try{zs(e);const s=e.fn(e._value);(t.version===0||Ge(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{le=n,Be=i,Bs(e),e.flags&=-3}}function vi(e,t=!1){const{dep:n,prevSub:i,nextSub:s}=e;if(i&&(i.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=i,e.nextSub=void 0),n.subs===e&&(n.subs=i,!i&&n.c
vendor: 8,257 bytes, line 1
1omputed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)vi(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function bo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Be=!0;const Ws=[];function it(){Ws.push(Be),Be=!1}function st(){const e=Ws.pop();Be=e===void 0?!0:e}function Vi(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=le;le=void 0;try{t()}finally{le=n}}}let Gt=0;class yo{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class bi{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!le||!Be||le===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==le)n=this.activeLink=new yo(le,this),le.deps?(n.prevDep=le.depsTail,le.depsTail.nextDep=n,le.depsTail=n):le.deps=le.depsTail=n,Os(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const i=n.nextDep;i.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=i),n.prevDep=le.depsTail,n.nextDep=void 0,le.depsTail.nextDep=n,le.depsTail=n,le.deps===n&&(le.deps=i)}return n}trigger(t){this.version++,Gt++,this.notify(t)}notify(t){gi();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{mi()}}}function Os(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let i=t.deps;i;i=i.nextDep)Os(i)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ei=new WeakMap,wt=Symbol(""),ti=Symbol(""),Zt=Symbol("");function ve(e,t,n){if(Be&&le){let i=ei.get(e);i||ei.set(e,i=new Map);let s=i.get(n);s||(i.set(n,s=new bi),s.map=i,s.key=n),s.track()}}function et(e,t,n,i,s,r){const o=ei.get(e);if(!o){Gt++;return}const l=u=>{u&&u.trigger()};if(gi(),t==="clear")o.forEach(l);else{const u=R(e),f=u&&pi(n);if(u&&n==="length"){const c=Number(i);o.forEach((p,C)=>{(C==="length"||C===Zt||!je(C)&&C>=c)&&l(p)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(Zt)),t){case"add":u?f&&l(o.get("length")):(l(o.get(wt)),_t(e)&&l(o.get(ti)));break;case"delete":u||(l(o.get(wt)),_t(e)&&l(o.get(ti)));break;case"set":_t(e)&&l(o.get(wt));break}}mi()}function Ct(e){const t=te(e);return t===e?t:(ve(t,"iterate",Zt),Ie(e)?t:t.map(We))}function zn(e){return ve(e=te(e),"iterate",Zt),e}function Ue(e,t){return rt(e)?It(xt(e)?We(t):t):We(t)}const wo={__proto__:null,[Symbol.iterator](){return Un(this,Symbol.iterator,e=>Ue(this,e))},concat(...e){return Ct(this).concat(...e.map(t=>R(t)?Ct(t):t))},entries(){return Un(this,"entries",e=>(e[1]=Ue(this,e[1]),e))},every(e,t){return Je(this,"every",e,t,void 0,arguments)},filter(e,t){return Je(this,"filter",e,t,n=>n.map(i=>Ue(this,i)),arguments)},find(e,t){return Je(this,"find",e,t,n=>Ue(this,n),arguments)},findIndex(e,t){return Je(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Je(this,"findLast",e,t,n=>Ue(this,n),arguments)},findLastIndex(e,t){return Je(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Je(this,"forEach",e,t,void 0,arguments)},includes(...e){return qn(this,"includes",e)},indexOf(...e){return qn(this,"indexOf",e)},join(e){return Ct(this).join(e)},lastIndexOf(...e){return qn(this,"lastIndexOf",e)},map(e,t){return Je(this,"map",e,t,void 0,arguments)},pop(){return jt(this,"pop")},push(...e){return jt(this,"push",e)},reduce(e,...t){return Di(this,"reduce",e,t)},reduceRight(e,...t){return Di(this,"reduceRight",e,t)},shift(){return jt(this,"shift")},some(e,t){return Je(this,"some",e,t,void 0,arguments)},splice(...e){return jt(this,"splice",e)},toReversed(){return Ct(this).toReversed()},toSorted(e){return Ct(this).toSorted(e)},toSpliced(...e){return Ct(this).toSpliced(...e)},unshift(...e){return jt(this,"unshift",e)},values(){return Un(this,"values",e=>Ue(this,e))}};function Un(e,t,n){const i=zn(e),s=i[t]();return i!==e&&!Ie(e)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.done||(r.value=n(r.value)),r}),s}const xo=Array.prototype;function Je(e,t,n,i,s,r){const o=zn(e),l=o!==e&&!Ie(e),u=o[t];if(u!==xo[t]){const p=u.apply(e,r);return l?We(p):p}let f=n;o!==e&&(l?f=function(p,C){return n.call(this,Ue(e,p),C,e)}:n.length>2&&(f=function(p,C){return n.call(this,p,C,e)}));const c=u.call(o,f,i);return l&&s?s(c):c}function Di(e,t,n,i){const s=zn(e),r=s!==e&&!Ie(e);let o=n,l=!1;s!==e&&(r?(l=i.length===0,o=function(f,c,p){return l&&(l=!1,f=Ue(e,f)),n.call(this,f,Ue(e,c),p,e)}):n.length>3&&(o=function(f,c,p){return n.call(this,f,c,p,e)}));const u=s[t](o,...i);return l?Ue(e,u):u}function qn(e,t,n){const i=te(e);ve(i,"iterate",Zt);const s=i[t](...n);return(s===-1||s===!1)&&xi(n[0])?(n[0]=te(n[0]),i[t](...n)):s}function jt(e,t,n=[]){it(),gi();const i=te(e)[t].apply(e,n);return mi(),st(),i}const ko=fi("__proto__,__v_isRef,__isVue"),Rs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(je));function Co(e){je(e)||(e=String(e));const t=te(this);return ve(t,"has",e),t.hasOwnProperty(e)}class Vs{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,i){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return i===(s?r?Ho:Us:r?Ks:Ns).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const o=R(t);if(!s){let u;if(o&&(u=wo[n]))return u;if(n==="hasOwnProperty")return Co}const l=Reflect.get(t,n,ye(t)?t:i);if((je(n)?Rs.has(n):ko(n))||(s||ve(t,"get",n),r))return l;if(ye(l)){const u=o&&pi(n)?l:l.value;return s&&ie(u)?ii(u):u}return ie(l)?s?ii(l):tn(l):l}}class Ds extends Vs{constructor(t=!1){super(!1,t)}set(t,n,i,s){let r=t[n];const o=R(t)&&pi(n);if(!this._isShallow){const f=rt(r);if(!Ie(i)&&!rt(i)&&(r=te(r),i=te(i)),!o&&ye(r)&&!ye(i))return f||(r.value=i),!0}const l=o?Number(n)<t.length:ne(t,n),u=Reflect.set(t,n,i,ye(t)?t:s);return t===te(s)&&(l?Ge(i,r)&&et(t,"set",n,i):et(t,"add",n,i)),u}deleteProperty(t,n){const i=ne(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&i&&et(t,"delete",n,void 0),s}has(t,n){const i=Reflect.has(t,n);return(!je(n)||!Rs.has(n))&&ve(t,"has",n),i}ownKeys(t){return ve(t,"iterate",R(t)?"length":wt),Reflect.ownKeys(t)}}class Ao extends Vs{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Mo=new Ds,_o=new Ao,So=new Ds(!0);const ni=e=>e,an=e=>Reflect.getPrototypeOf(e);function Lo(e,t,n){return function(...i){const s=this.__v_raw,r=te(s),o=_t(r),l=e==="entries"||e===Symbol.iterator&&o,u=e==="keys"&&o,f=s[e](...i),c=n?ni:t?It:We;return!t&&ve(r,"iterate",u?ti:wt),me(Object.create(f),{next(){const{value:p,done:C}=f.next();return C?{value:p,done:C}:{value:l?[c(p[0]),c(p[1])]:c(p),done:C}}})}}function un(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function $o(e,t){const n={get(s){const r=this.__v_raw,o=te(r),l=te(s);e||(Ge(s,l)&&ve(o,"get",s),ve(o,"get",l));const{has:u}=an(o),f=t?ni:e?It:We;if(u.call(o,s))return f(r.get(s));if(u.call(o,l))return f(r.get(l));r!==o&&r.get(s)},get size(){const s=this.__v_raw;return!e&&ve(te(s),"iterate",wt),s.size},has(s){const r=this.__v_raw,o=te(r),l=te(s);return e||(Ge(s,l)&&ve(o,"has",s),ve(o,"has",l)),s===l?r.has(s):r.has(s)||r.has(l)},forEach(s,r){const o=this,l=o.__v_raw,u=te(l),f=t?ni:e?It:We;return!e&&ve(u,"iterate",wt),l.forEach((c,p)=>s.call(r,f(c),f(p),o))}};return me(n,e?{add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear")}:{add(s){const r=te(this),o=an(r),l=te(s),u=!t&&!Ie(s)&&!rt(s)?l:s;return o.has.call(r,u)||Ge(s,u)&&o.has.call(r,s)||Ge(l,u)&&o.has.call(r,l)||(r.add(u),et(r,"add",u,u)),this},set(s,r){!t&&!Ie(r)&&!rt(r)&&(r=te(r));const o=te(this),{has:l,get:u}=an(o);let f=l.call(o,s);f||(s=te(s),f=l.call(o,s));const c=u.call(o,s);return o.set(s,r),f?Ge(r,c)&&et(o,"set",s,r):et(o,"add",s,r),this},delete(s){const r=te(this),{has:o,get:l}=an(r);let u=o.call(r,s);u||(s=te(s),u=o.call(r,s)),l&&l.call(r,s);const f=r.delete(s);return u&&et(r,"delete",s,void 0),f},clear(){const s=te(this),r=s.size!==0,o=s.clear();return r&&et(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>
vendor: 3,460 bytes, line 1
1{n[s]=Lo(s,e,t)}),n}function yi(e,t){const n=$o(e,t);return(i,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?i:Reflect.get(ne(n,s)&&s in i?n:i,s,r)}const Po={get:yi(!1,!1)},To={get:yi(!1,!0)},Io={get:yi(!0,!1)};const Ns=new WeakMap,Ks=new WeakMap,Us=new WeakMap,Ho=new WeakMap;function Eo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fo(e){return e.__v_skip||!Object.isExtensible(e)?0:Eo(so(e))}function tn(e){return rt(e)?e:wi(e,!1,Mo,Po,Ns)}function zo(e){return wi(e,!1,So,To,Ks)}function ii(e){return wi(e,!0,_o,Io,Us)}function wi(e,t,n,i,s){if(!ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=Fo(e);if(r===0)return e;const o=s.get(e);if(o)return o;const l=new Proxy(e,r===2?i:n);return s.set(e,l),l}function xt(e){return rt(e)?xt(e.__v_raw):!!(e&&e.__v_isReactive)}function rt(e){return!!(e&&e.__v_isReadonly)}function Ie(e){return!!(e&&e.__v_isShallow)}function xi(e){return e?!!e.__v_raw:!1}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function Bo(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&$s(e,"__v_skip",!0),e}const We=e=>ie(e)?tn(e):e,It=e=>ie(e)?ii(e):e;function ye(e){return e?e.__v_isRef===!0:!1}function we(e){return jo(e,!1)}function jo(e,t){return ye(e)?e:new Wo(e,t)}class Wo{constructor(t,n){this.dep=new bi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:te(t),this._value=n?t:We(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,i=this.__v_isShallow||Ie(t)||rt(t);t=i?t:te(t),Ge(t,n)&&(this._rawValue=t,this._value=i?t:We(t),this.dep.trigger())}}function $(e){return ye(e)?e.value:e}const Oo={get:(e,t,n)=>t==="__v_raw"?e:$(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const s=e[t];return ye(s)&&!ye(n)?(s.value=n,!0):Reflect.set(e,t,n,i)}};function qs(e){return xt(e)?e:new Proxy(e,Oo)}class Ro{constructor(t,n,i){this.fn=t,this.setter=n,this._value=void 0,this.dep=new bi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Gt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&le!==this)return Fs(this,!0),!0}get value(){const t=this.dep.track();return js(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Vo(e,t,n=!1){let i,s;return U(e)?i=e:(i=e.get,s=e.set),new Ro(i,s,n)}const cn={},wn=new WeakMap;let bt;function Do(e,t=!1,n=bt){if(n){let i=wn.get(n);i||wn.set(n,i=[]),i.push(e)}}function No(e,t,n=re){const{immediate:i,deep:s,once:r,scheduler:o,augmentJob:l,call:u}=n,f=I=>s?I:Ie(I)||s===!1||s===0?tt(I,1):tt(I);let c,p,C,P,D=!1,H=!1;if(ye(e)?(p=()=>e.value,D=Ie(e)):xt(e)?(p=()=>f(e),D=!0):R(e)?(H=!0,D=e.some(I=>xt(I)||Ie(I)),p=()=>e.map(I=>{if(ye(I))return I.value;if(xt(I))return f(I);if(U(I))return u?u(I,2):I()})):U(e)?t?p=u?()=>u(e,2):e:p=()=>{if(C){it();try{C()}finally{st()}}const I=bt;bt=c;try{return u?u(e,3,[P]):e(P)}finally{bt=I}}:p=Ze,t&&s){const I=p,G=s===!0?1/0:s;p=()=>tt(I(),G)}const J=vo(),X=()=>{c.stop(),J&&J.active&&hi(J.effects,c)};if(r&&t){const I=t;t=(...G)=>{I(...G),X()}}let K=H?new Array(e.length).fill(cn):cn;const j=I=>{if(!(!(c.flags&1)||!c.dirty&&!I))if(t){const G=c.run();if(s||D||(H?G.some((M,x)=>Ge(M,K[x])):Ge(G,K))){C&&C();const M=bt;bt=c;try{const x=[G,K===cn?void 0:H&&K[0]===cn?[]:K,P];K=G,u?u(t,3,x):t(...x)}finally{bt=M}}}else c.run()};
vendor: 10,591 bytes, line 1
1return l&&l(j),c=new Hs(p),c.scheduler=o?()=>o(j,!1):j,P=I=>Do(I,!1,c),C=c.onStop=()=>{const I=wn.get(c);if(I){if(u)u(I,4);else for(const G of I)G();wn.delete(c)}},t?i?j(!0):K=c.run():o?o(j.bind(null,!0),!0):c.run(),X.pause=c.pause.bind(c),X.resume=c.resume.bind(c),X.stop=X,X}function tt(e,t=1/0,n){if(t<=0||!ie(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ye(e))tt(e.value,t,n);else if(R(e))for(let i=0;i<e.length;i++)tt(e[i],t,n);else if(Tn(e)||_t(e))e.forEach(i=>{tt(i,t,n)});else if(Ss(e)){for(const i in e)tt(e[i],t,n);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&tt(e[i],t,n)}return e}function nn(e,t,n,i){try{return i?e(...i):e()}catch(s){Bn(s,t,n)}}function Ye(e,t,n,i){if(U(e)){const s=nn(e,t,n,i);return s&&Ms(s)&&s.catch(r=>{Bn(r,t,n)}),s}if(R(e)){const s=[];for(let r=0;r<e.length;r++)s.push(Ye(e[r],t,n,i));return s}}function Bn(e,t,n,i=!0){const s=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||re;if(t){let l=t.parent;const u=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let p=0;p<c.length;p++)if(c[p](e,u,f)===!1)return}l=l.parent}if(r){it(),nn(r,null,10,[e,u,f]),st();return}}Ko(e,n,s,i,o)}function Ko(e,t,n,i=!0,s=!1){if(s)throw e;console.error(e)}const Ce=[];let Ke=-1;const St=[];let dt=null,At=0;const Gs=Promise.resolve();let xn=null;function ki(e){const t=xn||Gs;return e?t.then(this?e.bind(this):e):t}function Uo(e){let t=Ke+1,n=Ce.length;for(;t<n;){const i=t+n>>>1,s=Ce[i],r=Yt(s);r<e||r===e&&s.flags&2?t=i+1:n=i}return t}function Ci(e){if(!(e.flags&1)){const t=Yt(e),n=Ce[Ce.length-1];!n||!(e.flags&2)&&t>=Yt(n)?Ce.push(e):Ce.splice(Uo(t),0,e),e.flags|=1,Zs()}}function Zs(){xn||(xn=Gs.then(Js))}function qo(e){R(e)?St.push(...e):dt&&e.id===-1?dt.splice(At+1,0,e):e.flags&1||(St.push(e),e.flags|=1),Zs()}function Ni(e,t,n=Ke+1){for(;n<Ce.length;n++){const i=Ce[n];if(i&&i.flags&2){if(e&&i.id!==e.uid)continue;Ce.splice(n,1),n--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function Ys(e){if(St.length){const t=[...new Set(St)].sort((n,i)=>Yt(n)-Yt(i));if(St.length=0,dt){dt.push(...t);return}for(dt=t,At=0;At<dt.length;At++){const n=dt[At];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}dt=null,At=0}}const Yt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Js(e){try{for(Ke=0;Ke<Ce.length;Ke++){const t=Ce[Ke];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),nn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ke<Ce.length;Ke++){const t=Ce[Ke];t&&(t.flags&=-2)}Ke=-1,Ce.length=0,Ys(),xn=null,(Ce.length||St.length)&&Js()}}let be=null,Xs=null;function kn(e){const t=be;return be=e,Xs=e&&e.type.__scopeId||null,t}function Qs(e,t=be,n){if(!t||e._n)return e;const i=(...s)=>{i._d&&ts(-1);const r=kn(t);let o;try{o=e(...s)}finally{kn(r),i._d&&ts(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function nt(e,t){if(be===null)return e;const n=Rn(be),i=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[r,o,l,u=re]=t[s];r&&(U(r)&&(r={mounted:r,updated:r}),r.deep&&tt(o),i.push({dir:r,instance:n,value:o,oldValue:void 0,arg:l,modifiers:u}))}return e}function mt(e,t,n,i){const s=e.dirs,r=t&&t.dirs;for(let o=0;o<s.length;o++){const l=s[o];r&&(l.oldValue=r[o].value);let u=l.dir[i];u&&(it(),Ye(u,n,8,[e.el,l,e,t]),st())}}function Go(e,t){if(Ae){let n=Ae.provides;const i=Ae.parent&&Ae.parent.provides;i===n&&(n=Ae.provides=Object.create(i)),n[e]=t}}function gn(e,t,n=!1){const i=ql();if(i||$t){let s=$t?$t._context.provides:i?i.parent==null||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&U(t)?t.call(i&&i.proxy):t}}const Zo=Symbol.for("v-scx"),Yo=()=>gn(Zo);function Pe(e,t,n){return er(e,t,n)}function er(e,t,n=re){const{immediate:i,deep:s,flush:r,once:o}=n,l=me({},n),u=t&&i||!t&&r!=="post";let f;if(Xt){if(r==="sync"){const P=Yo();f=P.__watcherHandles||(P.__watcherHandles=[])}else if(!u){const P=()=>{};return P.stop=Ze,P.resume=Ze,P.pause=Ze,P}}const c=Ae;l.call=(P,D,H)=>Ye(P,c,D,H);let p=!1;r==="post"?l.scheduler=P=>{_e(P,c&&c.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(P,D)=>{D?P():Ci(P)}),l.augmentJob=P=>{t&&(P.flags|=4),p&&(P.flags|=2,c&&(P.id=c.uid,P.i=c))};const C=No(e,t,l);return Xt&&(f?f.push(C):u&&C()),C}function Jo(e,t,n){const i=this.proxy,s=de(e)?e.includes(".")?tr(i,e):()=>i[e]:e.bind(i,i);let r;U(t)?r=t:(r=t.handler,n=t);const o=sn(this),l=er(s,r.bind(i),n);return o(),l}function tr(e,t){const n=t.split(".");return()=>{let i=e;for(let s=0;s<n.length&&i;s++)i=i[n[s]];return i}}const Xo=Symbol("_vte"),Qo=e=>e.__isTeleport,el=Symbol("_leaveCb");function Ai(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ai(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function xe(e,t){return U(e)?me({name:e.name},t,{setup:e}):e}function nr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ki(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Cn=new WeakMap;function Kt(e,t,n,i,s=!1){if(R(e)){e.forEach((H,J)=>Kt(H,t&&(R(t)?t[J]:t),n,i,s));return}if(Lt(i)&&!s){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Kt(e,t,n,i.component.subTree);return}const r=i.shapeFlag&4?Rn(i.component):i.el,o=s?null:r,{i:l,r:u}=e,f=t&&t.r,c=l.refs===re?l.refs={}:l.refs,p=l.setupState,C=te(p),P=p===re?As:H=>Ki(c,H)?!1:ne(C,H),D=(H,J)=>!(J&&Ki(c,J));if(f!=null&&f!==u){if(Ui(t),de(f))c[f]=null,P(f)&&(p[f]=null);else if(ye(f)){const H=t;D(f,H.k)&&(f.value=null),H.k&&(c[H.k]=null)}}if(U(u))nn(u,l,12,[o,c]);else{const H=de(u),J=ye(u);if(H||J){const X=()=>{if(e.f){const K=H?P(u)?p[u]:c[u]:D()||!e.k?u.value:c[e.k];if(s)R(K)&&hi(K,r);else if(R(K))K.includes(r)||K.push(r);else if(H)c[u]=[r],P(u)&&(p[u]=c[u]);else{const j=[r];D(u,e.k)&&(u.value=j),e.k&&(c[e.k]=j)}}else H?(c[u]=o,P(u)&&(p[u]=o)):J&&(D(u,e.k)&&(u.value=o),e.k&&(c[e.k]=o))};if(o){const K=()=>{X(),Cn.delete(e)};K.id=-1,Cn.set(e,K),_e(K,n)}else Ui(e),X()}}}function Ui(e){const t=Cn.get(e);t&&(t.flags|=8,Cn.delete(e))}En().requestIdleCallback;En().cancelIdleCallback;const Lt=e=>!!e.type.__asyncLoader,ir=e=>e.type.__isKeepAlive;function tl(e,t){sr(e,"a",t)}function nl(e,t){sr(e,"da",t)}function sr(e,t,n=Ae){const i=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(jn(t,i,n),n){let s=n.parent;for(;s&&s.parent;)ir(s.parent.vnode)&&il(i,t,n,s),s=s.parent}}function il(e,t,n,i){const s=jn(t,e,i,!0);_i(()=>{hi(i[t],s)},n)}function jn(e,t,n=Ae,i=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{it();const l=sn(n),u=Ye(t,n,e,o);return l(),st(),u});return i?s.unshift(r):s.push(r),r}}const lt=e=>(t,n=Ae)=>{(!Xt||e==="sp")&&jn(e,(...i)=>t(...i),n)},sl=lt("bm"),Mi=lt("m"),rl=lt("bu"),ol=lt("u"),ll=lt("bum"),_i=lt("um"),al=lt("sp"),ul=lt("rtg"),cl=lt("rtc");function dl(e,t=Ae){jn("ec",e,t)}const fl=Symbol.for("v-ndc");function ue(e,t,n,i){let s;const r=n,o=R(e);if(o||de(e)){const l=o&&xt(e);let u=!1,f=!1;l&&(u=!Ie(e),f=rt(e),e=zn(e)),s=new Array(e.length);for(let c=0,p=e.length;c<p;c++)s[c]=t(u?f?It(We(e[c])):We(e[c]):e[c],c,void 0,r)}else if(typeof e=="number"){s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,r)}else if(ie(e))if(e[Symbol.iterator])s=Array.from(e,(l,u)=>t(l,u,void 0,r));else{const l=Object.keys(e);s=new Array(l.length);for(let u=0,f=l.length;u<f;u++){const c=l[u];s[u]=t(e[c],c,u,r)}}else s=[];return s}function hl(e,t,n={},i,s){if(be.ce||be.parent&&Lt(be.parent)&&be.parent.ce){const f=Object.keys(n).length>0;return n.name=t,m(),ge(Z,null,[He("slot",n,i)],f?-2:64)}let r=e[t];r&&r._c&&(r._d=!1),m();const o=r&&rr(r(n)),l=n.key||o&&o.key,u=ge(Z,{key:(l&&!je(l)?l:`_${t}`)+(!o&&i?"_fb":"")},o||[],o&&e._===1?64:-2);return u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),r&&r._c&&(r._d=!0),u}function rr(e){return e.some(t=>$i(t)?!(t.type===ot||t.type===Z&&!rr(t.children)):!0)?e:null}const si=e=>e?Mr(e)?Rn(e):si(e.parent):null,Ut=me(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>si(e.parent),$root:e=>si(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>lr(e),$forceUpdate:e=>e.f||(e.f=()=>{Ci(e.update)}),$nextTick:e=>e.n||(e.n=ki.bind(e.proxy)),$watch:e=>Jo.bind(e)}),Gn=(e,t)=>e!==re&&!e.__isScriptSetup&&ne(e,t),pl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:i,data:s,props:r,accessCache:o,type:l,appContext:u}=e;if(t[0]!=="$"){const C=o[t];if(C!==void 0)switch(C){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(Gn(i,t))return o[t]=1,i[t];if(s!==re&&ne(s,t))return o[t]=2,s[t];if(ne(r,t))return o[t]=3,r[t];if(n!==re&&ne(n,t))return o[t]=4,n[t];ri&&(o[t]=0)}}const f=Ut[t];let c,p;if(f)return t==="$attrs"&&ve(e.attrs,"get",""),f(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==re&&ne(n,t))return o[t]=4,n[t];if(p=u.config.globalProperties,ne(p,t))return p[t]},set({_:e},t,n){const{data:i,setupState:s,ctx:r}=e;return Gn(s,t)?(s[t]=n,!0):i!==re&&ne(i,t)?(i[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:s,props:r,type:o}},l){let u;return!!(n[l]||e!==re&&l[0]!=="$"&&ne(e,l)||Gn(t,l)||ne(r,l)||ne(i,l)||ne(Ut,l)||ne(s.config.globalProperties,l)||(u=o.__cssModules)&&u[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function qi(e){return R(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ri=!0;function gl(e){const t=lr(e),n=e.proxy,i=e.ctx;ri=!1,t.beforeCreate&&Gi(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:o,watch:l,provide:u,inject:f,created:c,beforeMount:p,mounted:C,beforeUpdate:P,updated:D,activated:H,deactivated:J,beforeDestroy:X,beforeUnmount:K,destroyed:j,unmounted:I,render:G,renderTracked:M,renderTriggered:x,errorCaptured:E,serverPrefetch:fe,expose:Te,inheritAttrs:at,components:ht,directives:kt,filters:Et}=t;if(f&&ml(f,i,null),o)for(const q in o){const Y=o[q];U(Y)&&(i[q]=Y.bind(n))}if(s){const q=s.call(n,n);ie(q)&&(e.data=tn(q))}if(ri=!0,r)for(const q in r){const Y=r[q],pt=U(Y)?Y.bind(n,n):U(Y.get)?Y.get.bind(n,n):Ze,on=!U(Y)&&U(Y.set)?Y.set.bind(n):Ze,gt=V({get:pt,set:on});Object.defineProperty(i,q,{enumerable:!0,configurable:!0,get:()=>gt.value,set:Oe=>gt.value=Oe})}if(l)for(const q in l)or(l[q],i,n,q);if(u){const q=U(u)?u.call(n):u;Reflect.ownKeys(q).forEach(Y=>{Go(Y,q[Y])})}c&&Gi(c,e,"c");function W(q,Y){R(Y)?Y.forEach(pt=>
vendor: 5,426 bytes, line 1
1q(pt.bind(n))):Y&&q(Y.bind(n))}if(W(sl,p),W(Mi,C),W(rl,P),W(ol,D),W(tl,H),W(nl,J),W(dl,E),W(cl,M),W(ul,x),W(ll,K),W(_i,I),W(al,fe),R(Te))if(Te.length){const q=e.exposed||(e.exposed={});Te.forEach(Y=>{Object.defineProperty(q,Y,{get:()=>n[Y],set:pt=>n[Y]=pt,enumerable:!0})})}else e.exposed||(e.exposed={});G&&e.render===Ze&&(e.render=G),at!=null&&(e.inheritAttrs=at),ht&&(e.components=ht),kt&&(e.directives=kt),fe&&nr(e)}function ml(e,t,n=Ze){R(e)&&(e=oi(e));for(const i in e){const s=e[i];let r;ie(s)?"default"in s?r=gn(s.from||i,s.default,!0):r=gn(s.from||i):r=gn(s),ye(r)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[i]=r}}function Gi(e,t,n){Ye(R(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function or(e,t,n,i){let s=i.includes(".")?tr(n,i):()=>n[i];if(de(e)){const r=t[e];U(r)&&Pe(s,r)}else if(U(e))Pe(s,e.bind(n));else if(ie(e))if(R(e))e.forEach(r=>or(r,t,n,i));else{const r=U(e.handler)?e.handler.bind(n):t[e.handler];U(r)&&Pe(s,r,e)}}function lr(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let u;return l?u=l:!s.length&&!n&&!i?u=t:(u={},s.length&&s.forEach(f=>An(u,f,o,!0)),An(u,t,o)),ie(t)&&r.set(t,u),u}function An(e,t,n,i=!1){const{mixins:s,extends:r}=t;r&&An(e,r,n,!0),s&&s.forEach(o=>An(e,o,n,!0));for(const o in t)if(!(i&&o==="expose")){const l=vl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const vl={data:Zi,props:Yi,emits:Yi,methods:Rt,computed:Rt,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:Rt,directives:Rt,watch:yl,provide:Zi,inject:bl};function Zi(e,t){return t?e?function(){return me(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function bl(e,t){return Rt(oi(e),oi(t))}function oi(e){if(R(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ke(e,t){return e?[...new Set([].concat(e,t))]:t}function Rt(e,t){return e?me(Object.create(null),e,t):t}function Yi(e,t){return e?R(e)&&R(t)?[...new Set([...e,...t])]:me(Object.create(null),qi(e),qi(t??{})):t}function yl(e,t){if(!e)return t;if(!t)return e;const n=me(Object.create(null),e);for(const i in t)n[i]=ke(e[i],t[i]);return n}function ar(){return{app:null,config:{isNativeTag:As,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let wl=0;function xl(e,t){return function(i,s=null){U(i)||(i=me({},i)),s!=null&&!ie(s)&&(s=null);const r=ar(),o=new WeakSet,l=[];let u=!1;const f=r.app={_uid:wl++,_component:i,_props:s,_container:null,_context:r,_instance:null,version:Ql,get config(){return r.config},set config(c){},use(c,...p){return o.has(c)||(c&&U(c.install)?(o.add(c),c.install(f,...p)):U(c)&&(o.add(c),c(f,...p))),f},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),f},component(c,p){return p?(r.components[c]=p,f):r.components[c]},directive(c,p){return p?(r.directives[c]=p,f):r.directives[c]},mount(c,p,C){if(!u){const P=f._ceVNode||He(i,s);return P.appContext=r,C===!0?C="svg":C===!1&&(C=void 0),e(P,c,C),u=!0,f._container=c,c.__vue_app__=f,Rn(P.component)}},onUnmount(c){l.push(c)},unmount(){u&&(Ye(l,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(c,p){return r.provides[c]=p,f},runWithContext(c){const p=$t;$t=f;try{return c()}finally{$t=p}}};return f}}let $t=null;const kl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ze(t)}Modifiers`]||e[`${ft(t)}Modifiers`];function Cl(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||re;let s=n;const r=t.startsWith("update:"),o=r&&kl(i,t.slice(7));o&&(o.trim&&(s=n.map(c=>de(c)?c.trim():c)),o.number&&(s=n.map(Hn)));let l,u=i[l=Dn(t)]||i[l=Dn(ze(t))];!u&&r&&(u=i[l=Dn(ft(t))]),u&&Ye(u,e,6,s);const f=i[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ye(f,e,6,s)}}const Al=new WeakMap;function ur(e,t,n=!1){const i=n?Al:t.emitsCache,s=i.get(e);if(s!==void 0)return s;const r=e.emits;let o={},l=!1;if(!U(e)){const u=f=>{const c=ur(f,t,!0);c&&(l=!0,me(o,c))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!l?(ie(e)&&i.set(e,null),null):(R(r)?r.forEach(u=>o[u]=null):me(o,r),ie(e)&&i.set(e,o),o)}function Wn(e,t){return!e||!$n(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,ft(t))||ne(e,t))}function Ji(e){const{type:t,vnode:n,proxy:i,withProxy:s,propsOptions:[r],slots:o,attrs:l,emit:u,render:f,renderCache:c,props:p,data:C,setupState:P,ctx:D,inheritAttrs:H}=e,J=kn(e);let X,K;try{if(n.shapeFlag&4){const I=s||i,G=I;X=qe(f.call(G,I,c,p,P,C,D)),K=l}else{const I=t;X=qe(I.length>1?I(p,{attrs:l,slots:o,emit:u}):I(p,null)),K=t.props?l:Ml(l)}}catch(I){qt.length=0,Bn(I,e,1),X=He(ot)}let j=X;if(K&&H!==!1){const I=Object.keys(K),{shapeFlag:G}=j;I.length&&G&7&&(r&&I.some(Pn)&&(K=_l(K,r)),j=Ht(j,K,!1,!0))}return n.dirs&&(j=Ht(j,null,!1,!0),j.dirs=j.dirs?j.dirs.concat(n.dirs):n.dirs),n.transition&&Ai(j,n.transition),X=j,kn(J),X}const Ml=e=>{let t;for(const n in e)(n==="class"||n==="style"||$n(n))&&((t||(t={}))[n]=e[n]);return t},_l=(e,t)=>
vendor: 10,811 bytes, line 1
1{const n={};for(const i in e)(!Pn(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function Sl(e,t,n){const{props:i,children:s,component:r}=e,{props:o,children:l,patchFlag:u}=t,f=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return i?Xi(i,o,f):!!o;if(u&8){const c=t.dynamicProps;for(let p=0;p<c.length;p++){const C=c[p];if(cr(o,i,C)&&!Wn(f,C))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:i===o?!1:i?o?Xi(i,o,f):!0:!!o;return!1}function Xi(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let s=0;s<i.length;s++){const r=i[s];if(cr(t,e,r)&&!Wn(n,r))return!0}return!1}function cr(e,t,n){const i=e[n],s=t[n];return n==="style"&&ie(i)&&ie(s)?!en(i,s):i!==s}function Ll({vnode:e,parent:t,suspense:n},i){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=i,e=s),s===e)(e=t.vnode).el=i,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=i)}const dr={},fr=()=>Object.create(dr),hr=e=>Object.getPrototypeOf(e)===dr;function $l(e,t,n,i=!1){const s={},r=fr();e.propsDefaults=Object.create(null),pr(e,t,s,r);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=i?s:zo(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function Pl(e,t,n,i){const{props:s,attrs:r,vnode:{patchFlag:o}}=e,l=te(s),[u]=e.propsOptions;let f=!1;if((i||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let p=0;p<c.length;p++){let C=c[p];if(Wn(e.emitsOptions,C))continue;const P=t[C];if(u)if(ne(r,C))P!==r[C]&&(r[C]=P,f=!0);else{const D=ze(C);s[D]=li(u,l,D,P,e,!1)}else P!==r[C]&&(r[C]=P,f=!0)}}}else{pr(e,t,s,r)&&(f=!0);let c;for(const p in l)(!t||!ne(t,p)&&((c=ft(p))===p||!ne(t,c)))&&(u?n&&(n[p]!==void 0||n[c]!==void 0)&&(s[p]=li(u,l,p,void 0,e,!0)):delete s[p]);if(r!==l)for(const p in r)(!t||!ne(t,p))&&(delete r[p],f=!0)}f&&et(e.attrs,"set","")}function pr(e,t,n,i){const[s,r]=e.propsOptions;let o=!1,l;if(t)for(let u in t){if(Vt(u))continue;const f=t[u];let c;s&&ne(s,c=ze(u))?!r||!r.includes(c)?n[c]=f:(l||(l={}))[c]=f:Wn(e.emitsOptions,u)||(!(u in i)||f!==i[u])&&(i[u]=f,o=!0)}if(r){const u=te(n),f=l||re;for(let c=0;c<r.length;c++){const p=r[c];n[p]=li(s,u,p,f[p],e,!ne(f,p))}}return o}function li(e,t,n,i,s,r){const o=e[n];if(o!=null){const l=ne(o,"default");if(l&&i===void 0){const u=o.default;if(o.type!==Function&&!o.skipFactory&&U(u)){const{propsDefaults:f}=s;if(n in f)i=f[n];else{const c=sn(s);i=f[n]=u.call(null,t),c()}}else i=u;s.ce&&s.ce._setProp(n,i)}o[0]&&(r&&!l?i=!1:o[1]&&(i===""||i===ft(n))&&(i=!0))}return i}const Tl=new WeakMap;function gr(e,t,n=!1){const i=n?Tl:t.propsCache,s=i.get(e);if(s)return s;const r=e.props,o={},l=[];let u=!1;if(!U(e)){const c=p=>{u=!0;const[C,P]=gr(p,t,!0);me(o,C),P&&l.push(...P)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!r&&!u)return ie(e)&&i.set(e,Mt),Mt;if(R(r))for(let c=0;c<r.length;c++){const p=ze(r[c]);Qi(p)&&(o[p]=re)}else if(r)for(const c in r){const p=ze(c);if(Qi(p)){const C=r[c],P=o[p]=R(C)||U(C)?{type:C}:me({},C),D=P.type;let H=!1,J=!0;if(R(D))for(let X=0;X<D.length;++X){const K=D[X],j=U(K)&&K.name;if(j==="Boolean"){H=!0;break}else j==="String"&&(J=!1)}else H=U(D)&&D.name==="Boolean";P[0]=H,P[1]=J,(H||ne(P,"default"))&&l.push(p)}}const f=[o,l];return ie(e)&&i.set(e,f),f}function Qi(e){return e[0]!=="$"&&!Vt(e)}const Si=e=>e==="_"||e==="_ctx"||e==="$stable",Li=e=>R(e)?e.map(qe):[qe(e)],Il=(e,t,n)=>{if(t._n)return t;const i=Qs((...s)=>Li(t(...s)),n);return i._c=!1,i},mr=(e,t,n)=>{const i=e._ctx;for(const s in e){if(Si(s))continue;const r=e[s];if(U(r))t[s]=Il(s,r,i);else if(r!=null){const o=Li(r);t[s]=()=>o}}},vr=(e,t)=>{const n=Li(t);e.slots.default=()=>n},br=(e,t,n)=>{for(const i in t)(n||!Si(i))&&(e[i]=t[i])},Hl=(e,t,n)=>{const i=e.slots=fr();if(e.vnode.shapeFlag&32){const s=t._;s?(br(i,t,n),n&&$s(i,"_",s,!0)):mr(t,i)}else t&&vr(e,t)},El=(e,t,n)=>{const{vnode:i,slots:s}=e;let r=!0,o=re;if(i.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:br(s,t,n):(r=!t.$stable,mr(t,s)),o=t}else t&&(vr(e,t),o={default:1});if(r)for(const l in s)!Si(l)&&o[l]==null&&delete s[l]},_e=Wl;function Fl(e){return zl(e)}function zl(e,t){const n=En();n.__VUE__=!0;const{insert:i,remove:s,patchProp:r,createElement:o,createText:l,createComment:u,setText:f,setElementText:c,parentNode:p,nextSibling:C,setScopeId:P=Ze,insertStaticContent:D}=e,H=(d,h,g,k=null,v=null,b=null,L=void 0,S=null,A=!!h.dynamicChildren)=>{if(d===h)return;d&&!Wt(d,h)&&(k=ln(d),Oe(d,v,b,!0),d=null),h.patchFlag===-2&&(A=!1,h.dynamicChildren=null);const{type:y,ref:B,shapeFlag:T}=h;switch(y){case On:J(d,h,g,k);break;case ot:X(d,h,g,k);break;case mn:d==null&&K(h,g,k,L);break;case Z:ht(d,h,g,k,v,b,L,S,A);break;default:T&1?G(d,h,g,k,v,b,L,S,A):T&6?kt(d,h,g,k,v,b,L,S,A):(T&64||T&128)&&y.process(d,h,g,k,v,b,L,S,A,zt)}B!=null&&v?Kt(B,d&&d.ref,b,h||d,!h):B==null&&d&&d.ref!=null&&Kt(d.ref,null,b,d,!0)},J=(d,h,g,k)=>{if(d==null)i(h.el=l(h.children),g,k);else{const v=h.el=d.el;h.children!==d.children&&f(v,h.children)}},X=(d,h,g,k)=>{d==null?i(h.el=u(h.children||""),g,k):h.el=d.el},K=(d,h,g,k)=>{[d.el,d.anchor]=D(d.children,h,g,k,d.el,d.anchor)},j=({el:d,anchor:h},g,k)=>{let v;for(;d&&d!==h;)v=C(d),i(d,g,k),d=v;i(h,g,k)},I=({el:d,anchor:h})=>{let g;for(;d&&d!==h;)g=C(d),s(d),d=g;s(h)},G=(d,h,g,k,v,b,L,S,A)=>{if(h.type==="svg"?L="svg":h.type==="math"&&(L="mathml"),d==null)M(h,g,k,v,b,L,S,A);else{const y=d.el&&d.el._isVueCE?d.el:null;try{y&&y._beginPatch(),fe(d,h,v,b,L,S,A)}finally{y&&y._endPatch()}}},M=(d,h,g,k,v,b,L,S)=>{let A,y;const{props:B,shapeFlag:T,transition:F,dirs:O}=d;if(A=d.el=o(d.type,b,B&&B.is,B),T&8?c(A,d.children):T&16&&E(d.children,A,null,k,v,Zn(d,b),L,S),O&&mt(d,null,k,"created"),x(A,d,d.scopeId,L,k),B){for(const se in B)se!=="value"&&!Vt(se)&&r(A,se,null,B[se],b,k);"value"in B&&r(A,"value",null,B.value,b),(y=B.onVnodeBeforeMount)&&Ne(y,k,d)}O&&mt(d,null,k,"beforeMount");const Q=Bl(v,F);Q&&F.beforeEnter(A),i(A,h,g),((y=B&&B.onVnodeMounted)||Q||O)&&_e(()=>{y&&Ne(y,k,d),Q&&F.enter(A),O&&mt(d,null,k,"mounted")},v)},x=(d,h,g,k,v)=>{if(g&&P(d,g),k)for(let b=0;b<k.length;b++)P(d,k[b]);if(v){let b=v.subTree;if(h===b||kr(b.type)&&(b.ssContent===h||b.ssFallback===h)){const L=v.vnode;x(d,L,L.scopeId,L.slotScopeIds,v.parent)}}},E=(d,h,g,k,v,b,L,S,A=0)=>{for(let y=A;y<d.length;y++){const B=d[y]=S?Qe(d[y]):qe(d[y]);H(null,B,h,g,k,v,b,L,S)}},fe=(d,h,g,k,v,b,L)=>{const S=h.el=d.el;let{patchFlag:A,dynamicChildren:y,dirs:B}=h;A|=d.patchFlag&16;const T=d.props||re,F=h.props||re;let O;if(g&&vt(g,!1),(O=F.onVnodeBeforeUpdate)&&Ne(O,g,h,d),B&&mt(h,d,g,"beforeUpdate"),g&&vt(g,!0),(T.innerHTML&&F.innerHTML==null||T.textContent&&F.textContent==null)&&c(S,""),y?Te(d.dynamicChildren,y,S,g,k,Zn(h,v),b):L||Y(d,h,S,null,g,k,Zn(h,v),b,!1),A>0){if(A&16)at(S,T,F,g,v);else if(A&2&&T.class!==F.class&&r(S,"class",null,F.class,v),A&4&&r(S,"style",T.style,F.style,v),A&8){const Q=h.dynamicProps;for(let se=0;se<Q.length;se++){const oe=Q[se],ce=T[oe],pe=F[oe];(pe!==ce||oe==="value")&&r(S,oe,ce,pe,v,g)}}A&1&&d.children!==h.children&&c(S,h.children)}else!L&&y==null&&at(S,T,F,g,v);((O=F.onVnodeUpdated)||B)&&_e(()=>{O&&Ne(O,g,h,d),B&&mt(h,d,g,"updated")},k)},Te=(d,h,g,k,v,b,L)=>{for(let S=0;S<h.length;S++){const A=d[S],y=h[S],B=A.el&&(A.type===Z||!Wt(A,y)||A.shapeFlag&198)?p(A.el):g;H(A,y,B,null,k,v,b,L,!0)}},at=(d,h,g,k,v)=>{if(h!==g){if(h!==re)for(const b in h)!Vt(b)&&!(b in g)&&r(d,b,h[b],null,v,k);for(const b in g){if(Vt(b))continue;const L=g[b],S=h[b];L!==S&&b!=="value"&&r(d,b,S,L,v,k)}"value"in g&&r(d,"value",h.value,g.value,v)}},ht=(d,h,g,k,v,b,L,S,A)=>{const y=h.el=d?d.el:l(""),B=h.anchor=d?d.anchor:l("");let{patchFlag:T,dynamicChildren:F,slotScopeIds:O}=h;O&&(S=S?S.concat(O):O),d==null?(i(y,g,k),i(B,g,k),E(h.children||[],g,B,v,b,L,S,A)):T>0&&T&64&&F&&d.dynamicChildren&&d.dynamicChildren.length===F.length?(Te(d.dynamicChildren,F,g,v,b,L,S),(h.key!=null||v&&h===v.subTree)&&yr(d,h,!0)):Y(d,h,g,B,v,b,L,S,A)},kt=(d,h,g,k,v,b,L,S,A)=>{h.slotScopeIds=S,d==null?h.shapeFlag&512?v.ctx.activate(h,g,k,L,A):Et(h,g,k,v,b,L,A):rn(d,h,A)},Et=(d,h,g,k,v,b,L)=>{const S=d.component=Ul(d,k,v);if(ir(d)&&(S.ctx.renderer=zt),Gl(S,!1,L),S.asyncDep){if(v&&v.registerDep(S,W,L),!d.el){const A=S.subTree=He(ot);X(null,A,h,g),d.placeholder=A.el}}else W(S,d,h,g,v,b,L)},rn=(d,h,g)=>{const k=h.component=d.component;if(Sl(d,h,g))if(k.asyncDep&&!k.asyncResolved){q(k,h,g);return}else k.next=h,k.update();else h.el=d.el,k.vnode=h},W=(d,h,g,k,v,b,L)=>{const S=()=>{if(d.isMounted){let{next:T,bu:F,u:O,parent:Q,vnode:se}=d;{const Ve=wr(d);if(Ve){T&&(T.el=se.el,q(d,T,L)),Ve.asyncDep.then(()=>{_e(()=>{d.isUnmounted||y()},v)});return}}let oe=T,ce;vt(d,!1),T?(T.el=se.el,q(d,T,L)):T=se,F&&pn(F),(ce=T.props&&T.props.onVnodeBeforeUpdate)&&Ne(ce,Q,T,se),vt(d,!0);const pe=Ji(d),Re=d.subTree;d.subTree=pe,H(Re,pe,p(Re.el),ln(Re),d,v,b),T.el=pe.el,oe===null&&Ll(d,pe.el),O&&_e(O,v),(ce=T.props&&T.props.onVnodeUpdated)&&_e(()=>Ne(ce,Q,T,se),v)}else{let T;const{el:F,props:O}=h,{bm:Q,m:se,parent:oe,root:ce,type:pe}=d,Re=Lt(h);vt(d,!1),Q&&pn(Q),!Re&&(T=O&&O.onVnodeBeforeMount)&&Ne(T,oe,h),vt(d,!0);{ce.ce&&ce.ce._hasShadowRoot()&&ce.ce._injectChildStyle(pe,d.parent?d.parent.type:void 0);const Ve=d.subTree=Ji(d);H(null,Ve,g,k,d,v,b),h.el=Ve.el}if(se&&_e(se,v),!Re&&(T=O&&O.onVnodeMounted)){const Ve=h;_e(()=>Ne(T,oe,Ve),v)}(h.shapeFlag&256||oe&&Lt(oe.vnode)&&oe.vnode.shapeFlag&256)&&d.a&&_e(d.a,v),d.isMounted=!0,h=g=k=null}};d.scope.on();const A=d.effect=new Hs(S);d.scope.off();const y=d.update=A.run.bind(A),B=d.job=A.runIfDirty.bind(A);B.i=d,B.id=d.uid,A.scheduler=()=>Ci(B),vt(d,!0),y()},q=(d,h,g)=>{h.component=d;const k=d.vnode.props;d.vnode=h,d.next=null,Pl(d,h.props,k,g),El(d,h.children,g),it(),Ni(d),st()},Y=(d,h,g,k,v,b,L,S,A=!1)=>{const y=d&&d.children,B=d?d.shapeFlag:0,T=h.children,{patchFlag:F,shapeFlag:O}=h;if(F>0){if(F&128){on(y,T,g,k,v,b,L,S,A);return}else if(F&256){pt(y,T,g,k,v,b,L,S,A);return}}O&8?(B&16&&Ft(y,v,b),T!==y&&c(g,T)):B&16?O&16?on(y,T,g,k,v,b,L,S,A):Ft(y,v,b,!0):(B&8&&c(g,""),O&16&&E(T,g,k,v,b,L,S,A))},pt=(d,h,g,k,v,b,L,S,A)=>{d=d||Mt,h=h||Mt;const y=d.length,B=h.length,T=Math.min(y,B);let F;for(F=0;F<T;F++){const O=h[F]=A?Qe(h[F]):qe(h[F]);H(d[F],O,g,null,v,b,L,S,A)}y>B?Ft(d,v,b,!0,!1,T):E(h,g,k,v,b,L,S,A,T)},on=(d,h,g,k,v,b,L,S,A)=>{let y=0;const B=h.length;let T=d.length-1,F=B-1;for(;y<=T&&y<=F;){const O=d[y],Q=h[y]=A?Qe(h[y]):qe(h[y]);if(Wt(O,Q))H(O,Q,g,null,v,b,L,S,A);else break;y++}for(;y<=T&&y<=F;){const O=d[T],Q=h[F]=A?Qe(h[F]):qe(h[F]);if(Wt(O,Q))H(O,Q,g,null,v,b,L,S,A);else break;T--,F--}if(y>T){if(y<=F){const O=F+1,Q=O<B?h[O].el:k;for(;y<=F;)H(null,h[y]=A?Qe(h[y]):qe(h[y]),g,Q,v,b,L,S,A),y++}}else if(y>F)for(;y<=T;)Oe(d[y],v,b,!0),y++;else{const O=y,Q=y,se=new Map;for(y=Q;y<=F;y++){const Le=h[y]=A?Qe(h[y]):qe(h[y]);Le.key!=null&&se.set(Le.key,y)}let oe,ce=0;
vendor: 4,945 bytes, line 1
1const pe=F-Q+1;let Re=!1,Ve=0;const Bt=new Array(pe);for(y=0;y<pe;y++)Bt[y]=0;for(y=O;y<=T;y++){const Le=d[y];if(ce>=pe){Oe(Le,v,b,!0);continue}let De;if(Le.key!=null)De=se.get(Le.key);else for(oe=Q;oe<=F;oe++)if(Bt[oe-Q]===0&&Wt(Le,h[oe])){De=oe;break}De===void 0?Oe(Le,v,b,!0):(Bt[De-Q]=y+1,De>=Ve?Ve=De:Re=!0,H(Le,h[De],g,null,v,b,L,S,A),ce++)}const Bi=Re?jl(Bt):Mt;for(oe=Bi.length-1,y=pe-1;y>=0;y--){const Le=Q+y,De=h[Le],ji=h[Le+1],Wi=Le+1<B?ji.el||xr(ji):k;Bt[y]===0?H(null,De,g,Wi,v,b,L,S,A):Re&&(oe<0||y!==Bi[oe]?gt(De,g,Wi,2):oe--)}}},gt=(d,h,g,k,v=null)=>{const{el:b,type:L,transition:S,children:A,shapeFlag:y}=d;if(y&6){gt(d.component.subTree,h,g,k);return}if(y&128){d.suspense.move(h,g,k);return}if(y&64){L.move(d,h,g,zt);return}if(L===Z){i(b,h,g);for(let T=0;T<A.length;T++)gt(A[T],h,g,k);i(d.anchor,h,g);return}if(L===mn){j(d,h,g);return}if(k!==2&&y&1&&S)if(k===0)S.beforeEnter(b),i(b,h,g),_e(()=>S.enter(b),v);else{const{leave:T,delayLeave:F,afterLeave:O}=S,Q=()=>{d.ctx.isUnmounted?s(b):i(b,h,g)},se=()=>{b._isLeaving&&b[el](!0),T(b,()=>{Q(),O&&O()})};F?F(b,Q,se):se()}else i(b,h,g)},Oe=(d,h,g,k=!1,v=!1)=>{const{type:b,props:L,ref:S,children:A,dynamicChildren:y,shapeFlag:B,patchFlag:T,dirs:F,cacheIndex:O,memo:Q}=d;if(T===-2&&(v=!1),S!=null&&(it(),Kt(S,null,g,d,!0),st()),O!=null&&(h.renderCache[O]=void 0),B&256){h.ctx.deactivate(d);return}const se=B&1&&F,oe=!Lt(d);let ce;if(oe&&(ce=L&&L.onVnodeBeforeUnmount)&&Ne(ce,h,d),B&6)no(d.component,g,k);else{if(B&128){d.suspense.unmount(g,k);return}se&&mt(d,null,h,"beforeUnmount"),B&64?d.type.remove(d,h,g,zt,k):y&&!y.hasOnce&&(b!==Z||T>0&&T&64)?Ft(y,h,g,!1,!0):(b===Z&&T&384||!v&&B&16)&&Ft(A,h,g),k&&Fi(d)}const pe=Q!=null&&O==null;(oe&&(ce=L&&L.onVnodeUnmounted)||se||pe)&&_e(()=>{ce&&Ne(ce,h,d),se&&mt(d,null,h,"unmounted"),pe&&(d.el=null)},g)},Fi=d=>{const{type:h,el:g,anchor:k,transition:v}=d;if(h===Z){to(g,k);return}if(h===mn){I(d);return}const b=()=>{s(g),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(d.shapeFlag&1&&v&&!v.persisted){const{leave:L,delayLeave:S}=v,A=()=>L(g,b);S?S(d.el,b,A):A()}else b()},to=(d,h)=>{let g;for(;d!==h;)g=C(d),s(d),d=g;s(h)},no=(d,h,g)=>{const{bum:k,scope:v,job:b,subTree:L,um:S,m:A,a:y}=d;es(A),es(y),k&&pn(k),v.stop(),b&&(b.flags|=8,Oe(L,d,h,g)),S&&_e(S,h),_e(()=>{d.isUnmounted=!0},h)},Ft=(d,h,g,k=!1,v=!1,b=0)=>{for(let L=b;L<d.length;L++)Oe(d[L],h,g,k,v)},ln=d=>{if(d.shapeFlag&6)return ln(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=C(d.anchor||d.el),g=h&&h[Xo];return g?C(g):h};let Vn=!1;const zi=(d,h,g)=>{let k;d==null?h._vnode&&(Oe(h._vnode,null,null,!0),k=h._vnode.component):H(h._vnode||null,d,h,null,null,null,g),h._vnode=d,Vn||(Vn=!0,Ni(k),Ys(),Vn=!1)},zt={p:H,um:Oe,m:gt,r:Fi,mt:Et,mc:E,pc:Y,pbc:Te,n:ln,o:e};return{render:zi,hydrate:void 0,createApp:xl(zi)}}function Zn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function vt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Bl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function yr(e,t,n=!1){const i=e.children,s=t.children;if(R(i)&&R(s))for(let r=0;r<i.length;r++){const o=i[r];let l=s[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[r]=Qe(s[r]),l.el=o.el),!n&&l.patchFlag!==-2&&yr(o,l)),l.type===On&&(l.patchFlag===-1&&(l=s[r]=Qe(l)),l.el=o.el),l.type===ot&&!l.el&&(l.el=o.el)}}function jl(e){const t=e.slice(),n=[0];let i,s,r,o,l;const u=e.length;for(i=0;i<u;i++){const f=e[i];if(f!==0){if(s=n[n.length-1],e[s]<f){t[i]=s,n.push(i);continue}for(r=0,o=n.length-1;r<o;)l=r+o>>1,e[n[l]]<f?r=l+1:o=l;f<e[n[r]]&&(r>0&&(t[i]=n[r-1]),n[r]=i)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}function wr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:wr(t)}function es(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function xr(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?xr(t.subTree):null}const kr=e=>e.__isSuspense;function Wl(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):qo(e)}const Z=Symbol.for("v-fgt"),On=Symbol.for("v-txt"),ot=Symbol.for("v-cmt"),mn=Symbol.for("v-stc"),qt=[];let $e=null;function m(e=!1){qt.push($e=e?null:[])}function Ol(){qt.pop(),$e=qt[qt.length-1]||null}let Jt=1;function ts(e,t=!1){Jt+=e,e<0&&$e&&t&&($e.hasOnce=!0)}function Cr(e){return e.dynamicChildren=Jt>0?$e||Mt:null,Ol(),Jt>0&&$e&&$e.push(e),e}function w(e,t,n,i,s,r){return Cr(a(e,t,n,i,s,r,!0))}function ge(e,t,n,i,s){return Cr(He(e,t,n,i,s,!0))}function $i(e){return e?e.__v_isVNode===!0:!1}function Wt(e,t){return e.type===t.type&&e.key===t.key}const Ar=({key:e})=>e??null,vn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?de(e)||ye(e)||U(e)?{i:be,r:e,k:t,f:!!n}:e:null);function a(e,t=null,n=null,i=0,s=null,r=e===Z?0:1,o=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,t
vendor: 4,695 bytes, line 1
1ype:e,props:t,key:t&&Ar(t),ref:t&&vn(t),scopeId:Xs,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:be};return l?(Pi(u,n),r&128&&e.normalize(u)):n&&(u.shapeFlag|=de(n)?8:16),Jt>0&&!o&&$e&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&$e.push(u),u}const He=Rl;function Rl(e,t=null,n=null,i=0,s=null,r=!1){if((!e||e===fl)&&(e=ot),$i(e)){const l=Ht(e,t,!0);return n&&Pi(l,n),Jt>0&&!r&&$e&&(l.shapeFlag&6?$e[$e.indexOf(e)]=l:$e.push(l)),l.patchFlag=-2,l}if(Xl(e)&&(e=e.__vccOpts),t){t=Vl(t);let{class:l,style:u}=t;l&&!de(l)&&(t.class=N(l)),ie(u)&&(xi(u)&&!R(u)&&(u=me({},u)),t.style=Fn(u))}const o=de(e)?1:kr(e)?128:Qo(e)?64:ie(e)?4:U(e)?2:0;return a(e,t,n,i,s,o,r,!0)}function Vl(e){return e?xi(e)||hr(e)?me({},e):e:null}function Ht(e,t,n=!1,i=!1){const{props:s,ref:r,patchFlag:o,children:l,transition:u}=e,f=t?Dl(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Ar(f),ref:t&&t.ref?n&&r?R(r)?r.concat(vn(t)):[r,vn(t)]:vn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Z?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ht(e.ssContent),ssFallback:e.ssFallback&&Ht(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&i&&Ai(c,u.clone(c)),c}function ee(e=" ",t=0){return He(On,null,e,t)}function ai(e,t){const n=He(mn,null,e);return n.staticCount=t,n}function z(e="",t=!1){return t?(m(),ge(ot,null,e)):He(ot,null,e)}function qe(e){return e==null||typeof e=="boolean"?He(ot):R(e)?He(Z,null,e.slice()):$i(e)?Qe(e):He(On,null,String(e))}function Qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ht(e)}function Pi(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(R(t))n=16;else if(typeof t=="object")if(i&65){const s=t.default;s&&(s._c&&(s._d=!1),Pi(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!hr(t)?t._ctx=be:s===3&&be&&(be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else U(t)?(t={default:t,_ctx:be},n=32):(t=String(t),i&64?(n=16,t=[ee(t)]):n=8);e.children=t,e.shapeFlag|=n}function Dl(...e){const t={};for(let n=0;n<e.length;n++){const i=e[n];for(const s in i)if(s==="class")t.class!==i.class&&(t.class=N([t.class,i.class]));else if(s==="style")t.style=Fn([t.style,i.style]);else if($n(s)){const r=t[s],o=i[s];o&&r!==o&&!(R(r)&&r.includes(o))?t[s]=r?[].concat(r,o):o:o==null&&r==null&&!Pn(s)&&(t[s]=o)}else s!==""&&(t[s]=i[s])}return t}function Ne(e,t,n,i=null){Ye(e,t,7,[n,i])}const Nl=ar();let Kl=0;function Ul(e,t,n){const i=e.type,s=(t?t.appContext:e.appContext)||Nl,r={uid:Kl++,vnode:e,type:i,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new mo(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:gr(i,s),emitsOptions:ur(i,s),emit:null,emitted:null,propsDefaults:re,inheritAttrs:i.inheritAttrs,ctx:re,data:re,props:re,attrs:re,slots:re,refs:re,setupState:re,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=Cl.bind(null,r),e.ce&&e.ce(r),r}let Ae=null;const ql=()=>Ae||be;let Mn,ui;{const e=En(),t=(n,i)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(i),r=>{s.length>1?s.forEach(o=>o(r)):s[0](r)}};Mn=t("__VUE_INSTANCE_SETTERS__",n=>Ae=n),ui=t("__VUE_SSR_SETTERS__",n=>Xt=n)}const sn=e=>{const t=Ae;return Mn(e),e.scope.on(),()=>{e.scope.off(),Mn(t)}},ns=()=>{Ae&&Ae.scope.off(),Mn(null)};function Mr(e){return e.vnode.shapeFlag&4}let Xt=!1;function Gl(e,t=!1,n=!1){t&&ui(t);const{props:i,children:s}=e.vnode,r=Mr(e);$l(e,i,r,t),Hl(e,s,n||t);const o=r?Zl(e,t):void 0;return t&&ui(!1),o}function Zl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pl);const{setup:i}=n;if(i){it();const s=e.setupContext=i.length>1?Jl(e):null,r=sn(e),o=nn(i,e,0,[e.props,s]),l=Ms(o);if(st(),r(),(l||e.sp)&&!Lt(e)&&nr(e),l){if(o.then(ns,ns),t)return o.then(u=>{is(e,u)}).catch(u=>{Bn(u,e,0)});e.asyncDep=o}else is(e,o)}else _r(e)}
vendor: 1,427 bytes, line 1
1function is(e,t,n){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ie(t)&&(e.setupState=qs(t)),_r(e)}function _r(e,t,n){const i=e.type;e.render||(e.render=i.render||Ze);{const s=sn(e);it();try{gl(e)}finally{st(),s()}}}const Yl={get(e,t){return ve(e,"get",""),e[t]}};function Jl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Yl),slots:e.slots,emit:e.emit,expose:t}}function Rn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(qs(Bo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}})):e.proxy}function Xl(e){return U(e)&&"__vccOpts"in e}const V=(e,t)=>Vo(e,t,Xt),Ql="3.5.31";let ci;const ss=typeof window<"u"&&window.trustedTypes;if(ss)try{ci=ss.createPolicy("vue",{createHTML:e=>e})}catch{}const Sr=ci?e=>ci.createHTML(e):e=>e,ea="http://www.w3.org/2000/svg",ta="http://www.w3.org/1998/Math/MathML",Xe=typeof document<"u"?document:null,rs=Xe&&Xe.createElement("template"),na={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const s=t==="svg"?Xe.createElementNS(ea,e):t==="mathml"?Xe.createElementNS(ta,e):n?Xe.createElement(e,{is:n}):Xe.createElement(e);return e==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:e=>Xe.createTextNode(e),createComment:e=>Xe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>
vendor: 4,150 bytes, line 1
1{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Xe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,s,r){const o=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{rs.innerHTML=Sr(i==="svg"?`<svg>${e}</svg>`:i==="mathml"?`<math>${e}</math>`:e);const l=rs.content;if(i==="svg"||i==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ia=Symbol("_vtc");function sa(e,t,n){const i=e[ia];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const _n=Symbol("_vod"),Lr=Symbol("_vsh"),ra={name:"show",beforeMount(e,{value:t},{transition:n}){e[_n]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ot(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),Ot(e,!0),i.enter(e)):i.leave(e,()=>{Ot(e,!1)}):Ot(e,t))},beforeUnmount(e,{value:t}){Ot(e,t)}};function Ot(e,t){e.style.display=t?e[_n]:"none",e[Lr]=!t}const oa=Symbol(""),la=/(?:^|;)\s*display\s*:/;function aa(e,t,n){const i=e.style,s=de(n);let r=!1;if(n&&!s){if(t)if(de(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&bn(i,l,"")}else for(const o in t)n[o]==null&&bn(i,o,"");for(const o in n)o==="display"&&(r=!0),bn(i,o,n[o])}else if(s){if(t!==n){const o=i[oa];o&&(n+=";"+o),i.cssText=n,r=la.test(n)}}else t&&e.removeAttribute("style");_n in e&&(e[_n]=r?i.display:"",e[Lr]&&(i.display="none"))}const os=/\s*!important$/;function bn(e,t,n){if(R(n))n.forEach(i=>bn(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=ua(e,t);os.test(n)?e.setProperty(ft(i),n.replace(os,""),"important"):e[i]=n}}const ls=["Webkit","Moz","ms"],Yn={};function ua(e,t){const n=Yn[t];if(n)return n;let i=ze(t);if(i!=="filter"&&i in e)return Yn[t]=i;i=Ls(i);for(let s=0;s<ls.length;s++){const r=ls[s]+i;if(r in e)return Yn[t]=r}return t}const as="http://www.w3.org/1999/xlink";function us(e,t,n,i,s,r=ho(t)){i&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(as,t.slice(6,t.length)):e.setAttributeNS(as,t,n):n==null||r&&!Ps(n)?e.removeAttribute(t):e.setAttribute(t,r?"":je(n)?String(n):n)}function cs(e,t,n,i,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Sr(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(l!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Ps(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(s||t)}function yt(e,t,n,i){e.addEventListener(t,n,i)}function ca(e,t,n,i){e.removeEventListener(t,n,i)}const ds=Symbol("_vei");function da(e,t,n,i,s=null){const r=e[ds]||(e[ds]={}),o=r[t];if(i&&o)o.value=i;else{const[l,u]=fa(t);if(i){const f=r[t]=ga(i,s);yt(e,l,f,u)}else o&&(ca(e,l,o,u),r[t]=void 0)}}const fs=/(?:Once|Passive|Capture)$/;function fa(e){let t;if(fs.test(e)){t={};let i;for(;i=e.match(fs);)e=e.slice(0,e.length-i[0].length),t[i[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ft(e.slice(2)),t]}let Jn=0;const ha=Promise.resolve(),pa=()=>Jn||(ha.then(()=>Jn=0),Jn=Date.now());function ga(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;Ye(ma(i,n.value),t,5,[i])};return n.value=e,n.attached=pa(),n}function ma(e,t){if(R(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>s=>!s._stopped&&i&&i(s))}else return t}const hs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,va=(e,t,n,i,s,r)=>{const o=s==="svg";t==="class"?sa(e,i,o):t==="style"?aa(e,n,i):$n(t)?Pn(t)||da(e,t,n,i,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.
1slice(1),!1):ba(e,t,i,o))?(cs(e,t,i),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&us(e,t,i,o,r,t!=="value")):e._isVueCE&&(ya(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!de(i)))?cs(e,ze(t),i,r,t):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),us(e,t,i,o))};function ba(e,t,n,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&hs(t)&&U(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return hs(t)&&de(n)?!1:t in e}function ya(e,t){const n=e._def.props;if(!n)return!1;const i=ze(t);return Array.isArray(n)?n.some(s=>ze(s)===i):Object.keys(n).some(s=>ze(s)===i)}const Sn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return R(t)?n=>pn(t,n):t};function wa(e){e.target.composing=!0}function ps(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Pt=Symbol("_assign");function gs(e,t,n){return t&&(e=e.trim()),n&&(e=Hn(e)),e}const Tt={created(e,{modifiers:{lazy:t,trim:n,number:i}},s){e[Pt]=Sn(s);const r=i||s.props&&s.props.type==="number";yt(e,t?"change":"input",o=>{o.target.composing||e[Pt](gs(e.value,n,r))}),(n||r)&&yt(e,"change",()=>{e.value=gs(e.value,n,r)}),t||(yt(e,"compositionstart",wa),yt(e,"compositionend",ps),yt(e,"change",ps))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:i,trim:s,number:r}},o){if(e[Pt]=Sn(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?Hn(e.value):e.value,u=t??"";if(l===u)return;const f=e.getRootNode();(f instanceof Document||f instanceof ShadowRoot)&&f.activeElement===e&&e.type!=="range"&&(i&&t===n||s&&e.value.trim()===u)||(e.value=u)}},$r={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const s=Tn(t);yt(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Hn(Ln(o)):Ln(o));e[Pt](e.multiple?s?new Set(r):r:r[0]),e._assigning=!0,ki(()=>{e._assigning=!1})}),e[Pt]=Sn(i)},mounted(e,{value:t}){ms(e,t)},beforeUpdate(e,t,n){e[Pt]=Sn(n)},updated(e,{value:t}){e._assigning||ms(e,t)}};function ms(e,t){const n=e.multiple,i=R(t);if(!(n&&!i&&!Tn(t))){for(let s=0,r=e.options.length;s<r;s++){const o=e.options[s],l=Ln(o);if(n)if(i){const u=typeof l;u==="string"||u==="number"?o.selected=t.some(f=>String(f)===String(l)):o.selected=go(t,l)>-1}else o.selected=t.has(l);else if(en(Ln(o),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ln(e){return"_value"in e?e._value:e.value}const xa=["ctrl","shift","alt","meta"],ka={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>xa.some(n=>e[`${n}Key`]&&!t.includes(n))},ae=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),i=t.join(".");return n[i]||(n[i]=((s,...r)=>{for(let o=0;o<t.length;o++){const l=ka[t[o]];if(l&&l(s,t))return}return e(s,...r)}))},Ca={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},he=(e,t)=>{const n=e._withKeys||(e._withKeys={}),i=t.join(".");return n[i]||(n[i]=(s=>{if(!("key"in s))return;const r=ft(s.key);if(t.some(o=>o===r||Ca[o]===r))return e(s)}))},Aa=me({patchProp:va},na);let vs;function Ma(){return vs||(vs=Fl(Aa))}const _a=((...e)=>{const t=Ma().createApp(...e),{mount:n}=t;return t.mount=i=>{const s=La(i);if(!s)return;const r=t._component;!U(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Sa(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t});function Sa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function La(e){return de(e)?document.querySelector(e):e}const Pr="data:image/svg+xml,%3csvg%20width='55'%20height='67'%20viewBox='0%200%2055%2067'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M38.2062%2061C44.6548%2059.0556%2053%2053.2887%2053%2040.1471C53%2025.8705%2036.8836%2010.5367%2026.1379%202.60431C24.3638%201.29451%2021.8126%202.23764%2020.9849%204.24479C15.7391%2016.9645%202%2030.428
11%202%2040.1471C2%2049.7439%209.15778%2056.5452%2015.0095%2059.8278'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linejoin='round'/%3e%3cpath%20d='M42.2955%2060.3078C45.7342%2058.0727%2048.4708%2054.9108%2050.1894%2051.187L52.343%2046.5208C53.2668%2044.5193%2053.4914%2042.2655%2052.9809%2040.121C51.926%2035.6904%2047.9672%2032.5635%2043.4127%2032.5635H9.55935C6.50791%2032.5635%203.70288%2034.2389%202.25619%2036.9256C1.42819%2038.4633%201.10669%2040.2232%201.33751%2041.9543L1.62758%2044.1299C1.88505%2046.0609%202.51447%2047.9237%203.481%2049.6151L4.41344%2051.2469C6.89734%2055.5937%2010.6449%2059.0821%2015.1584%2061.2485L15.4759%2061.4009C19.2139%2063.1952%2023.3292%2064.0622%2027.4734%2063.9285L31.1444%2063.81C35.1114%2063.682%2038.9677%2062.4709%2042.2955%2060.3078Z'%20fill='%234A4A49'%20stroke='%234A4A49'%20stroke-linejoin='round'/%3e%3c/svg%3e",$a={class:"space-y-12"},Pa={class:"text-center"},Ta={class:"flex flex-wrap justify-center gap-4",role:"radiogroup","aria-labelledby":"01_01-q-fuel"},Ia=["aria-checked","tabindex","onKeydown","onClick"],Ha={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-3 left-3 bg-primary"},Ea=["innerHTML"],Fa={class:"text-gray-900 text-body"},za={key:0,class:"text-center"},Ba={class:"flex flex-wrap justify-center gap-4",role:"radiogroup","aria-labelledby":"01_02-q-living-area"},ja=["aria-checked","tabindex","onKeydown","onClick"],Wa={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-2 right-2 bg-primary"},Oa={class:"text-gray-900 text-label"},Ra={key:1,class:"text-center"},Va={class:"flex flex-wrap justify-center gap-4",role:"radiogroup","aria-labelledby":"01_03-q-gas"},Da=["aria-checked","tabindex","onKeydown","onClick"],Na={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-2 right-2 bg-primary"},Ka={class:"text-center text-gray-900 text-label"},Ua={key:2,class:"text-center"},qa={class:"flex flex-wrap justify-center gap-4",role:"radiogroup","aria-labelledby":"01_04-q-oil"},Ga=["aria-checked","tabindex","onKeydown","onClick"],Za={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-2 right-2 bg-primary"},Ya={class:"text-center text-gray-900 text-label"},Ja=xe({__name:"Step1FuelType",props:{modelValue:{},livingArea:{},gasConsumption:{}},emits:["update:modelValue","update:living-area","update:gas-consumption","auto-next"],setup(e,{emit:t}){const n=e,i=t;Pe(()=>[n.modelValue,n.gasConsumption,n.livingArea],()=>{if(!n.modelValue)return;let u=!1;n.modelValue==="gas"||n.modelValue==="oil"?u=!!n.gasConsumption:(n.modelValue==="other"||n.modelValue==="none")&&(u=!!n.livingArea),u&&setTimeout(()=>{i("auto-next")},600)},{deep:!0});const s=[{value:"0-100",label:"0 – 100m²"},{value:"100-150",label:"100 – 150m²"},{value:"150-200",label:"150 – 200m²"},{value:"200+",label:"200+ m²"}],r=[{value:"gas",label:"Gas",icon:'<svg width="51" height="62" viewBox="0 0 55 66" fill="none"><path d="M26.3448 2.62895L25.4358 3.82214L25.4359 3.82218L26.3448 2.62895ZM21.1476 4.33631L22.5405 4.89299L22.5405 4.8929L21.1476 4.33631ZM14.3695 63.4837L15.6677 64.2351L17.1707 61.6388L15.8725 60.8873L15.121 62.1855L14.3695 63.4837ZM38.5164 63.4055L38.9621 64.8378C42.4266 63.7598 46.4239 61.6169 49.5629 57.8904C52.7214 54.1407 54.937 48.8731 54.937 41.7023H53.437H51.937C51.937 48.2089 49.9443 52.781 47.2685 55.9577C44.5731 59.1575 41.1102 61.0275 38.0708 61.9732L38.5164 63.4055ZM53.437 41.7023H54.937C54.937 33.7644 50.6204 25.7275 45.1335 18.7615C39.6153 11.7557 32.7412 5.61588 27.2538 1.43572L26.3448 2.62895L25.4359 3.82218C30.7862 7.89787 37.4582 13.8654 42.7767 20.6178C48.1265 27.4097 51.937 34.7816 51.937 41.7023H53.437ZM26.3448 2.62895L27.2538 1.43577C24.513 -0.652304 20.878 0.968562 19.7547 3.77972L21.1476 4.33631L22.5405 4.8929C23.0867 3.52608 24.5979 3.18379 25.4358 3.82214L26.3448 2.62895ZM21.1476 4.33631L19.7547 3.77963C17.1786 10.2254 12.5135 16.8637 8.3277 23.3798C6.26012 26.5984 4.31661 29.7822 2.89 32.8207C1.46945 35.8463 0.5 38.8529 0.5 41.7023H2H3.5C3.5 39.4942 4.26264 36.956 5.60558 34.0957C6.94246 31.2483 8.79381 28.2049 10.8518 25.0012C14.9171 18.6727 19.8258 11.6855 22.5405 4.89299L21.1476 4.33631ZM2 41.7023H0.5C0.5 52.46 8.25114 59.942 14.3695 63.4837L15.121 62.1855L15.8725 60.8873C10.1871 57.5962 3.5 50.9208 3.5 41.7023H2Z" fill="#4A4A49"/><path d="M15.4451 62.2538C8.27313 58.1797 6.1333 54.3554 6.1333 50.2221C6.1333 46.8702 9.87286 40.4231 15.0888 43.3332C17.6968 44.7882 19.9763 48.7605 25.4221 48.1554C31.6221 47.4665 33.3584 35.9242 29.8167 29.4888C26.275 23.0534 48.1555 41.7055 48.1555 51.5998C48.1555 56.9657 45.4368 61.6718 36.3089 63.9998" stroke="#4A4A49" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"/></svg>'},{value:"oil",label:"Öl",icon:`<img src="${Pr}" alt="Icon" width="51" height="62">`},{value:"other",label:"Sonstiges",icon:'<svg width="67" height="67" viewBox="0 0 71 71" fill="none"><path d="M25.625 25.625C25.625 13.8124 44.1875 13.8125 44.1875 25.625C44.1875 34.0625 35.75 32.3747 35.75 42.4997" stroke="#4A4A49" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"/>
1<path d="M35.75 55V55.5" stroke="#4A4A49" stroke-width="4" stroke-linecap="square" stroke-linejoin="round"/><path d="M35.75 69.5C54.3894 69.5 69.5 54.3894 69.5 35.75C69.5 17.1104 54.3894 2 35.75 2C17.1104 2 2 17.1104 2 35.75C2 54.3894 17.1104 69.5 35.75 69.5Z" stroke="#4A4A49" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>'},{value:"none",label:"Keinem (Neubau)",icon:'<svg width="67" height="67" viewBox="0 0 71 71" fill="none"><path d="M22 22L50 50" stroke="#4A4A49" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"/><path d="M50 22L22 50" stroke="#4A4A49" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"/><path d="M35.75 69.5C54.3894 69.5 69.5 54.3894 69.5 35.75C69.5 17.1104 54.3894 2 35.75 2C17.1104 2 2 17.1104 2 35.75C2 54.3894 17.1104 69.5 35.75 69.5Z" stroke="#4A4A49" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>'}],o=[{value:"5000-18000",label:"5.000 – 18.000 KWh"},{value:"18000-23000",label:"18.000 – 23.000 KWh"},{value:"23000-27000",label:"23.000 – 27.000 KWh"},{value:"27000-30000",label:"27.000 – 30.000 KWh"},{value:"30000+",label:"30.000+ KWh"}],l=[{value:"500-1800",label:"500 – 1800L"},{value:"1800-2300",label:"1.800 – 2.300L"},{value:"2300-2700",label:"2.300 – 2.700L"},{value:"2700-3000",label:"2.700 – 3.000L"},{value:"3000+",label:"3.000L+"}];return(u,f)=>(m(),w("div",$a,[a("div",Pa,[f[1]||(f[1]=a("h2",{id:"01_01-q-fuel",class:"mb-8 text-gray-900 text-heading"}," Mit welchem Brennstoff heizen Sie aktuell? ",-1)),a("div",Ta,[(m(),w(Z,null,ue(r,c=>a("button",{key:c.value,type:"button",role:"radio","aria-checked":e.modelValue===c.value,tabindex:e.modelValue===c.value?0:-1,onKeydown:[he(ae(p=>u.$emit("update:modelValue",c.value),["prevent"]),["enter"]),he(ae(p=>u.$emit("update:modelValue",c.value),["prevent"]),["space"])],onClick:p=>u.$emit("update:modelValue",c.value),class:N(["card w-[151px] h-[210px] flex flex-col items-center justify-center transition-colors relative focus-visible:ring-2 focus-visible:ring-primary/50",e.modelValue===c.value?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[e.modelValue===c.value?(m(),w("div",Ha,[...f[0]||(f[0]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none","aria-hidden":"true"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),a("div",{class:"mb-4",innerHTML:c.icon},null,8,Ea),a("span",Fa,_(c.label),1)],42,Ia)),64))])]),e.modelValue==="other"||e.modelValue==="none"?(m(),w("div",za,[f[3]||(f[3]=a("h2",{id:"01_02-q-living-area",class:"mb-8 text-gray-900 text-heading"}," Wie viel m² Wohnfläche werden beheizt? ",-1)),a("div",Ba,[(m(),w(Z,null,ue(s,c=>a("button",{key:c.value,type:"button",role:"radio","aria-checked":e.livingArea===c.value,tabindex:e.livingArea===c.value?0:-1,onKeydown:[he(ae(p=>u.$emit("update:living-area",c.value),["prevent"]),["enter"]),he(ae(p=>u.$emit("update:living-area",c.value),["prevent"]),["space"])],onClick:p=>u.$emit("update:living-area",c.value),class:N(["card w-[151px] h-[95px] relative flex flex-col items-center justify-center transition-colors focus-visible:ring-2 focus-visible:ring-primary/50",e.livingArea===c.value?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[e.livingArea===c.value?(m(),w("div",Wa,[...f[2]||(f[2]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none","aria-hidden":"true"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),a("span",Oa,_(c.label),1)],42,ja)),64))])])):z("",!0),e.modelValue==="gas"?(m(),w("div",Ra,[f[5]||(f[5]=a("h2",{id:"01_03-q-gas",class:"mb-8 text-gray-900 text-heading"}," Wie hoch ist ihr durchschnittlicher Erdgasverbrauch in kWh? ",-1)),a("div",Va,[(m(),w(Z,null,ue(o,c=>a("button",{key:c.value,type:"button",role:"radio","aria-checked":e.gasConsumption===c.value,tabindex:e.gasConsumption===c.value?0:-1,onKeydown:[he(ae(p=>u.$emit("update:gas-consumption",c.value),["prevent"]),["enter"]),he(ae(p=>u.$emit("update:gas-consumption",c.value),["prevent"]),["space"])],onClick:p=>
1u.$emit("update:gas-consumption",c.value),class:N(["card w-[151px] h-[95px] flex flex-col items-center justify-center transition-colors relative focus-visible:ring-2 focus-visible:ring-primary/50",e.gasConsumption===c.value?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[e.gasConsumption===c.value?(m(),w("div",Na,[...f[4]||(f[4]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none","aria-hidden":"true"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),a("span",Ka,_(c.label),1)],42,Da)),64))])])):z("",!0),e.modelValue==="oil"?(m(),w("div",Ua,[f[7]||(f[7]=a("h2",{id:"01_04-q-oil",class:"mb-8 text-gray-900 text-heading"}," Wie hoch ist ihr durchschnittlicher Ölverbrauch pro Jahr in Liter? ",-1)),a("div",qa,[(m(),w(Z,null,ue(l,c=>a("button",{key:c.value,type:"button",role:"radio","aria-checked":e.gasConsumption===c.value,tabindex:e.gasConsumption===c.value?0:-1,onKeydown:[he(ae(p=>u.$emit("update:gas-consumption",c.value),["prevent"]),["enter"]),he(ae(p=>u.$emit("update:gas-consumption",c.value),["prevent"]),["space"])],onClick:p=>u.$emit("update:gas-consumption",c.value),class:N(["card w-[151px] h-[95px] flex flex-col items-center justify-center transition-colors relative focus-visible:ring-2 focus-visible:ring-primary/50",e.gasConsumption===c.value?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[e.gasConsumption===c.value?(m(),w("div",Za,[...f[6]||(f[6]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none","aria-hidden":"true"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),a("span",Ya,_(c.label),1)],42,Ga)),64))])])):z("",!0)]))}}),Tr="data:image/svg+xml,%3csvg%20width='69'%20height='35'%20viewBox='0%200%2069%2035'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.4491%2016.9744C20.6494%2016.9744%2024.2635%2013.2369%2024.2635%208.37039C24.2635%203.56224%2020.6299%200%2016.4491%200C12.2685%200%208.6348%203.64015%208.6348%208.40935C8.6348%2013.2369%2012.2685%2016.9744%2016.4491%2016.9744ZM4.18066%2035H28.7177C31.7848%2035%2032.8788%2034.124%2032.8788%2032.411C32.8788%2027.3887%2026.5687%2020.4588%2016.4491%2020.4588C6.31008%2020.4588%200%2027.3887%200%2032.411C0%2034.124%201.09393%2035%204.18066%2035Z'%20fill='%234A4A49'/%3e%3cpath%20d='M52.5097%2016.9744C56.7099%2016.9744%2060.324%2013.2369%2060.324%208.37039C60.324%203.56224%2056.6904%200%2052.5097%200C48.329%200%2044.6953%203.64015%2044.6953%208.40935C44.6953%2013.2369%2048.329%2016.9744%2052.5097%2016.9744ZM40.2412%2035H64.7783C67.8453%2035%2068.9393%2034.124%2068.9393%2032.411C68.9393%2027.3887%2062.6293%2020.4588%2052.5097%2020.4588C42.3706%2020.4588%2036.0605%2027.3887%2036.0605%2032.411C36.0605%2034.124%2037.1545%2035%2040.2412%2035Z'%20fill='%234A4A49'/%3e%3c/svg%3e",Ir="data:image/svg+xml,%3csvg%20width='63'%20height='68'%20viewBox='0%200%2063%2068'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.0089%2015.5195C19.8414%2015.5195%2023.139%2012.1023%2023.139%207.65293C23.139%203.25691%2019.8236%200%2016.0089%200C12.1943%200%208.87875%203.32814%208.87875%207.68855C8.87875%2012.1023%2012.1943%2015.5195%2016.0089%2015.5195ZM4.81461%2032H27.2033C30.0018%2032%2031%2031.1991%2031%2029.6329C31%2025.0411%2025.2424%2018.7052%2016.0089%2018.7052C6.75758%2018.7052%201%2025.0411%201%2029.6329C1%2031.1991%201.99814%2032%204.81461%2032Z'%20fill='%234A4A49'/%3e%3cpath%20d='M48.0089%2015.5195C51.8414%2015.5195%2055.139%2012.1023%2055.139%207.65293C55.139%203.25691%2051.8236%200%2048.0089%200C44.1943%200%2040.8788%203.32814%2040.8788%207.68855C40.8788%2012.1023%2044.1943%2015.5195%2048.0089%2015.5195ZM36.8146%2032H59.2033C62.0018%2032%2063%2031.1991%2063%2029.6329C63%2025.0411%2057.2424%2018.7052%2048.0089%2018.7052C38.7576%2018.7052%2033%2025.0411%2033%2029.6329C33%2031.1991%2033.9981%2032%2036.8146%2032Z'%20fill='%234A4A49'/%3e%3cpath%20d='M15.0089%2051.5195C18.8414%2051.5195%2022.139%2048.1023%2022.139%2043.6529C22.139%2039.2569%2018.8236%2036%2015.0089%2036C11.1943%2036%207.87875%2039.3281%207.87875%2043.6885C7.87875%2048.1023%2011.1943%2051.5195%2015.0089%2051.5195ZM3.81461%2068H26.2033C29.0018%2068%2030%2067.1991%2030%2065.6329C30%2061.0411%2024.2424%2054.7052%2015.0089%2054.7052C5.75758%2054.7052%200%2061.0411%200%2065.6329C0%2067.1991%200.998144%2068%203.81461%2068Z'%2
10fill='%234A4A49'/%3e%3cpath%20d='M47.0089%2051.5195C50.8414%2051.5195%2054.139%2048.1023%2054.139%2043.6529C54.139%2039.2569%2050.8236%2036%2047.0089%2036C43.1943%2036%2039.8788%2039.3281%2039.8788%2043.6885C39.8788%2048.1023%2043.1943%2051.5195%2047.0089%2051.5195ZM35.8146%2068H58.2033C61.0018%2068%2062%2067.1991%2062%2065.6329C62%2061.0411%2056.2424%2054.7052%2047.0089%2054.7052C37.7576%2054.7052%2032%2061.0411%2032%2065.6329C32%2067.1991%2032.9981%2068%2035.8146%2068Z'%20fill='%234A4A49'/%3e%3c/svg%3e",Hr="data:image/svg+xml,%3csvg%20width='75'%20height='52'%20viewBox='0%200%2075%2052'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.5068%2011.6396C14.4451%2011.6396%2016.9733%209.07676%2016.9733%205.7397C16.9733%202.44268%2014.4314%200%2011.5068%200C8.58229%200%206.04038%202.4961%206.04038%205.76641C6.04038%209.07676%208.58229%2011.6396%2011.5068%2011.6396ZM2.92453%2024H20.0892C22.2347%2024%2023%2023.3993%2023%2022.2247C23%2018.7808%2018.5859%2014.0289%2011.5068%2014.0289C4.41415%2014.0289%200%2018.7808%200%2022.2247C0%2023.3993%200.765244%2024%202.92453%2024Z'%20fill='%234A4A49'/%3e%3cpath%20d='M37.5068%2011.6396C40.4451%2011.6396%2042.9733%209.07676%2042.9733%205.7397C42.9733%202.44268%2040.4314%200%2037.5068%200C34.5823%200%2032.0404%202.4961%2032.0404%205.76641C32.0404%209.07676%2034.5823%2011.6396%2037.5068%2011.6396ZM28.9245%2024H46.0892C48.2347%2024%2049%2023.3993%2049%2022.2247C49%2018.7808%2044.5859%2014.0289%2037.5068%2014.0289C30.4141%2014.0289%2026%2018.7808%2026%2022.2247C26%2023.3993%2026.7652%2024%2028.9245%2024Z'%20fill='%234A4A49'/%3e%3cpath%20d='M63.5068%2039.6396C66.4451%2039.6396%2068.9733%2037.0768%2068.9733%2033.7397C68.9733%2030.4427%2066.4314%2028%2063.5068%2028C60.5823%2028%2058.0404%2030.4961%2058.0404%2033.7664C58.0404%2037.0768%2060.5823%2039.6396%2063.5068%2039.6396ZM54.9245%2052H72.0892C74.2347%2052%2075%2051.3993%2075%2050.2247C75%2046.7808%2070.5859%2042.0289%2063.5068%2042.0289C56.4141%2042.0289%2052%2046.7808%2052%2050.2247C52%2051.3993%2052.7652%2052%2054.9245%2052Z'%20fill='%234A4A49'/%3e%3cpath%20d='M63.5068%2011.6396C66.4451%2011.6396%2068.9733%209.07676%2068.9733%205.7397C68.9733%202.44268%2066.4314%200%2063.5068%200C60.5823%200%2058.0404%202.4961%2058.0404%205.76641C58.0404%209.07676%2060.5823%2011.6396%2063.5068%2011.6396ZM54.9245%2024H72.0892C74.2347%2024%2075%2023.3993%2075%2022.2247C75%2018.7808%2070.5859%2014.0289%2063.5068%2014.0289C56.4141%2014.0289%2052%2018.7808%2052%2022.2247C52%2023.3993%2052.7652%2024%2054.9245%2024Z'%20fill='%234A4A49'/%3e%3cpath%20d='M11.5068%2039.6396C14.4451%2039.6396%2016.9733%2037.0768%2016.9733%2033.7397C16.9733%2030.4427%2014.4314%2028%2011.5068%2028C8.58229%2028%206.04038%2030.4961%206.04038%2033.7664C6.04038%2037.0768%208.58229%2039.6396%2011.5068%2039.6396ZM2.92453%2052H20.0892C22.2347%2052%2023%2051.3993%2023%2050.2247C23%2046.7808%2018.5859%2042.0289%2011.5068%2042.0289C4.41415%2042.0289%200%2046.7808%200%2050.2247C0%2051.3993%200.765244%2052%202.92453%2052Z'%20fill='%234A4A49'/%3e%3cpath%20d='M37.5068%2039.6396C40.4451%2039.6396%2042.9733%2037.0768%2042.9733%2033.7397C42.9733%2030.4427%2040.4314%2028%2037.5068%2028C34.5823%2028%2032.0404%2030.4961%2032.0404%2033.7664C32.0404%2037.0768%2034.5823%2039.6396%2037.5068%2039.6396ZM28.9245%2052H46.0892C48.2347%2052%2049%2051.3993%2049%2050.2247C49%2046.7808%2044.5859%2042.0289%2037.5068%2042.0289C30.4141%2042.0289%2026%2046.7808%2026%2050.2247C26%2051.3993%2026.7652%2052%2028.9245%2052Z'%20fill='%234A4A49'/%3e%3c/svg%3e",Er="/assets/people-6-plus-DjTyPfSc.svg",Xa={class:"space-y-12"},Qa={class:"text-center"},e0={class:"flex justify-center gap-6",role:"radiogroup","aria-labelledby":"02_01-q-central"},t0=["aria-checked","tabindex"],n0={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-3 left-3 bg-primary"},i0=["aria-checked","tabindex"],s0={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-3 left-3 bg-primary"},r0={class:"text-center"},o0={class:"flex justify-center gap-6",role:"radiogroup","aria-labelledby":"02_02-q-hp-water"},l0=["aria-checked","tabindex"],a0={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-3 left-3 bg-primary"}
1,u0=["aria-checked","tabindex"],c0={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-3 left-3 bg-primary"},d0={class:"text-center"},f0={class:"flex flex-wrap justify-center gap-4",role:"radiogroup","aria-labelledby":"02_03-q-household"},h0=["aria-checked","tabindex","onKeydown","onClick"],p0={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-3 left-3 bg-primary"},g0=["innerHTML"],m0={class:"text-center text-gray-900 text-body"},v0=xe({__name:"Step2HotWater",props:{centralHeating:{},heatPumpWater:{},householdSize:{}},emits:["update:central-heating","update:heat-pump-water","update:household-size","auto-next"],setup(e,{emit:t}){const n=e,i=t;Pe(()=>[n.centralHeating,n.heatPumpWater,n.householdSize],()=>{n.centralHeating&&n.heatPumpWater&&n.householdSize&&setTimeout(()=>{i("auto-next")},600)},{deep:!0});const s=[{value:"1-2",label:"1 – 2 Personen",icon:`<img src="${Tr}" alt="Icon" class="object-contain w-16 h-16">`},{value:"3-4",label:"3 – 4 Personen",icon:`<img src="${Ir}" alt="Icon" class="object-contain w-16 h-16">`},{value:"5-6",label:"5 – 6 Personen",icon:`<img src="${Hr}" alt="Icon" class="object-contain w-16 h-16">`},{value:"6+",label:"Mehr als 6 Personen",icon:`<img src="${Er}" alt="Icon" class="object-contain w-16 h-16">`}];return(r,o)=>(m(),w("div",Xa,[a("div",Qa,[o[17]||(o[17]=a("h2",{id:"02_01-q-central",class:"mb-8 text-gray-900 text-heading"},[ee(" Erfolgt die Warmwasseraufbereitung in Ihrem Haus"),a("br"),ee(" bisher zentral über die Heizungsanlage? ")],-1)),a("div",e0,[a("button",{type:"button",role:"radio","aria-checked":e.centralHeating==="yes",tabindex:e.centralHeating==="yes"?0:-1,onKeydown:[o[0]||(o[0]=he(ae(l=>r.$emit("update:central-heating","yes"),["prevent"]),["enter"])),o[1]||(o[1]=he(ae(l=>r.$emit("update:central-heating","yes"),["prevent"]),["space"]))],onClick:o[2]||(o[2]=l=>r.$emit("update:central-heating","yes")),class:N(["card w-[151px] h-[210px] flex flex-col items-center justify-center transition-colors relative",e.centralHeating==="yes"?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[e.centralHeating==="yes"?(m(),w("div",n0,[...o[12]||(o[12]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none","aria-hidden":"true"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),o[13]||(o[13]=a("svg",{class:"mb-4",width:"67",height:"67",viewBox:"0 0 71 71",fill:"none","aria-hidden":"true"},[a("path",{d:"M19 36.963L32.9878 49L56 24",stroke:"#4A4A49","stroke-width":"3","stroke-linejoin":"round"}),a("path",{d:"M35.75 69.5C54.3894 69.5 69.5 54.3894 69.5 35.75C69.5 17.1104 54.3894 2 35.75 2C17.1104 2 2 17.1104 2 35.75C2 54.3894 17.1104 69.5 35.75 69.5Z",stroke:"#4A4A49","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),o[14]||(o[14]=a("span",{class:"text-gray-900 text-body"},"ja",-1))],42,t0),a("button",{type:"button",role:"radio","aria-checked":e.centralHeating==="no",tabindex:e.centralHeating==="no"?0:-1,onKeydown:[o[3]||(o[3]=he(ae(l=>r.$emit("update:central-heating","no"),["prevent"]),["enter"])),o[4]||(o[4]=he(ae(l=>r.$emit("update:central-heating","no"),["prevent"]),["space"]))],onClick:o[5]||(o[5]=l=>r.$emit("update:central-heating","no")),class:N(["card w-[151px] h-[210px] flex flex-col items-center justify-center transition-colors relative",e.centralHeating==="no"?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[e.centralHeating==="no"?(m(),w("div",s0,[...o[15]||(o[15]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none","aria-hidden":"true"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),o[16]||(o[16]=ai('<svg class="mb-4" width="67" height="67" viewBox="0 0 71 71" fill="none" aria-hidden="true"><path d="M22 22L50 50" stroke="#4A4A49" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M50 22L22 50" stroke="#4A4A49" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M35.75 69.5C54.3894 69.5 69.5 54.3894 69.5 35.75C69.5 17.1104 54.3894 2 35.75 2C17.1104 2 2 17.1104 2 35.75C2 54.3894 17.1104 69.5 35.75 69.5Z" stroke="#4A4A49" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="text-gray-900 text-body">nein</span>',2))],42,i0)])]),a("div",r0,[o[23]||(o[23]=a("h2",{id:"02_02-q-hp-water",class:"mb-8 text-gray-900 text-heading"},[ee(" Soll die Warmwasseraufbereitung künftig"),a("br"),ee(" über die Wärmepumpe erfolgen? ")],-1)),a("div",o0,[a("button",{type:"button",role:"radio","aria-checked":e.heatPumpWater==="yes",tabindex:e.heatPumpWater==="yes"?0:-1,onKeydown:[o[6]||(o[6]=he(ae(l=>r.$emit("update:heat-pump-water","yes"),["prevent"]),["enter"])),o[7]||(o[7]=he(ae(l=>r.$emit("update:heat-pump-water","yes"),["prevent"]),["space"]))],onClick:o[8]||(o[8]=l=>r.$emit("update:heat-pump-water","yes")),class:N(["card w-[151px] h-[210px] flex flex-col items-center justify-center transition-colors relative",e.heatPumpWater==="yes"?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[e.heatPumpWater==="yes"?(m(),w("div",a0,[...o[18]||(o[18]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none","aria-hidden":"true"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),o[19]||(o[19]=a("svg",{class:"mb-4",width:"67",height:"67",viewBox:"0 0 71 71",fill:"none","aria-hidden":"true"},[a("path",{d:"M19 36.963L32.9878 49L56 24",stroke:"#4A4A49","stroke-width":"3","stroke-linejoin":"round"}),a("path",{d:"M35.75 69.5C54.3894 69.5 69.5 54.3894 69.5 35.75C69.5 17.1104 54.3894 2 35.75 2C17.1104 2 2 17.1104 2 35.75C2 54.3894 17.1104 69.5 35.75 69.5Z",stroke:"#4A4A49","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),o[20]||(o[20]=a("span",{class:"text-gray-900 text-body"},"ja",-1))],42,l0),a("button",{type:"button",role:"radio","aria-checked":e.heatPumpWater==="no",tabindex:e.heatPumpWater==="no"?0:-1,onKeydown:[o[9]||(o[9]=he(ae(l=>r.$emit("update:heat-pump-water","no"),["prevent"]),["enter"])),o[10]||(o[10]=he(ae(l=>r.$emit("update:heat-pump-water","no"),["prevent"]),["space"]))],onClick:o[11]||(o[11]=l=>r.$emit("update:heat-pump-water","no")),class:N(["card w-[151px] h-[210px] flex flex-col items-center justify-center transition-colors relative",e.heatPumpWater==="no"?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[e.heatPumpWater==="no"?(m(),w("div",c0,[...o[21]||(o[21]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none","aria-hidden":"true"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),o[22]||(o[22]=ai('<svg class="mb-4" width="67" height="67" viewBox="0 0 71 71" fill="none" aria-hidden="true"><path d="M22 22L50 50" stroke="#4A4A49" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M50 22L22 50" stroke="#4A4A49" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M35.75 69.5C54.3894 69.5 69.5 54.3894 69.5 35.75C69.5 17.1104 54.3894 2 35.75 2C17.1104 2 2 17.1104 2 35.75C2 54.3894 17.1104 69.5 35.75 69.5Z" stroke="#4A4A49" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="text-gray-900 text-body">nein</span>',2))],42,u0)])]),a("div",d0,[o[25]||(o[25]=a("h2",{id:"02_03-q-household",class:"mb-8 text-gray-900 text-heading"}," Wie viele Personen leben in Ihrem Haushalt? ",-1)),a("div",f0,[(m(),w(Z,null,ue(s,l=>a("button",{key:l.value,type:"button",role:"radio","aria-checked":e.householdSize===l.value,tabindex:e.householdSize===l.value?0:-1,onKeydown:[he(ae(u=>r.$emit("update:household-size",l.value),["prevent"]),["enter"]),he(ae(u=>r.$emit("update:household-size",l.value),["prevent"]),["space"])],onClick:u=>r.$emit("update:household-size",l.value),class:N(["card w-[151px] h-[210px] flex flex-col items-center justify-center transition-colors relative",e.householdSize===l.value?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[e.householdSize===l.value?(m(),w("div",p0,[...o[24]||(o[24]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none","aria-hidden":"true"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),a("div",{class:"mb-4",innerHTML:l.icon},null,8,g0),a("span",m0,_(l.label),1)],42,h0)),64))])])]))}}),Fr="data:image/svg+xml,%3csvg%20width='76'%20height='57'%20viewBox='0%200%2076%2057'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.7031%208.625V2H26.0156V8.625'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M2%2023.5312V55H55.8281M2%2023.5312L55.8281%2024.3594M2%2023.5312L16.0781%209.45312H64.9375M64.9375%209.45312L74.0469%2024.3594V55H55.8281M64.9375%209.45312L55.8281%2024.3594M55.8281%2024.3594V55'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M15.1643%209.11572L2.88965%2024.2367H56.3721L64.2629%2010.0608L15.1643%209.11572Z'%20fill='%234A4A49'/%3e%3cpath%20d='M25.5%202.5H23L23.5%208.5L25%209.5L25.5%202.5Z'%20fill='%234A4A49'/%3e%3c/svg%3e",zr="data:image/svg+xml,%3csvg%20width='60'%20height='62'%20viewBox='0%200%2060%2062'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M30%202V60.7104H58.5V23.5L38%207.5L30%202Z'%20fill='%234A4A49'/%3e%3cpath%20d='M30%202L2%2023.2394V60H30M30%202L58%2023.2394V60H30M30%202V60'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3c/svg%3e",Br="data:image/svg+xml,%3csvg%20width='84'%20height='61'%20viewBox='0%200%2084%2061'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M29.1196%203L2%2023.3849V58.6665H29.1196H56.2391V23.3849L29.1196%203Z'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M48.5303%203.00024L70.6541%2021.5557V58.6667'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M68.9404%205.14087L82.5002
1%2017.2733V58.6663'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3c/svg%3e",jr="data:image/svg+xml,%3csvg%20width='85'%20height='61'%20viewBox='0%200%2085%2061'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M43.5106%203L16.2285%2023.507V59H43.5106H70.7926V23.507L43.5106%203Z'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M61.0508%203L83.3072%2021.6667V59'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M24.2559%203L1.99945%2021.6667V59'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3c/svg%3e",Wr="data:image/svg+xml,%3csvg%20width='71'%20height='72'%20viewBox='0%200%2071%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2%2070.2143H27.3821H68.6279V34.5208H52.7641V2H19.4502V18.657H2V70.2143Z'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.4502%2018.657V70.2143'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M36.1074%202V51.1778'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M53.5576%2034.5212V70.2148'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.4502%2018.657H52.7642'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.79395%2035.3145L53.5581%2035.3145'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.79395%2051.1782L67.8355%2051.1782'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M29.7617%2051.9712V70.2146'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M42.4531%2051.1782V69.4216'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3crect%20x='20'%20y='51'%20width='9'%20height='18'%20fill='%234A4A49'/%3e%3crect%20x='43'%20y='51'%20width='10'%20height='19'%20fill='%234A4A49'/%3e%3c/svg%3e",Or="data:image/svg+xml,%3csvg%20width='68'%20height='73'%20viewBox='0%200%2068%2073'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2%2053.6401L33.8208%2036.2803M2%2053.6401V19.1401L33.8208%202M2%2053.6401L33.8208%2071L66.3486%2053.6401M33.8208%2036.2803L66.3486%2053.6401M33.8208%2036.2803V2M66.3486%2053.6401V19.1401L33.8208%202'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linejoin='round'/%3e%3cpath%20d='M24.3911%2015.844L11.1914%2022.4364V33.8631L24.3911%2027.051V15.844Z'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linejoin='round'/%3e%3cpath%20d='M44.1914%2041.7738V22.656L56.684%2029.2484V48.4667'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linejoin='round'/%3e%3c/svg%3e",b0={class:"space-y-12"},y0={class:"text-center"},w0={class:"flex flex-wrap justify-center gap-4"},x0=["onClick"],k0={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-3 left-3 bg-primary"},C0=["innerHTML"],A0={class:"text-center text-gray-900 text-body"},M0={class:"text-center"},_0={class:"flex flex-wrap justify-center gap-4"},S0=["onClick"],L0={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-2 right-2 bg-primary"},$0={class:"text-gray-900 text-label"},P0=xe({__name:"Step3BuildingInfo",props:{buildingType:{},constructionYear:{}},emits:["update:building-type","update:construction-year","auto-next"],setup(e,{emit:t}){const n=e,i=t;Pe(()=>[n.buildingType,n.constructionYear],()=>{n.buildingType&&n.constructionYear&&setTimeout(()=>{i("auto-next")},600)},{deep:!0});const s=[{value:"einzelhaus",label:"Einzelhaus",icon:`<img src="${Fr}" alt="Icon" width="51" height="62">`},{value:"doppelhaushälfte",label:"Doppelhaushälfte",icon:`<img src="${zr}" alt="Icon" width="51" height="62">`},{value:"reihenendhaus",label:"Reihenendhaus",icon:`<img src="${Br}" alt="Icon" width="51" height="62">`},{value:"reihenmittelhaus",label:"Reihenmittelhaus",icon:`<img src="${jr}" alt="Icon" width="51" height="62">`},{value:"mehrfamilienhaus",label:"Mehrfamilienhaus",icon:`<img src="${Wr}" alt="Icon" width="51" height="62">`},{value:"wohnung",label:"Wohnung",icon:`<img src="${Or}" alt="Icon" width="51" height="62">`}],r=[{value:"vor1958",label:"vor 1958"},{value:"1959-1968",label:"1959 – 1968"},{value:"1969-1977",label:"1969 – 1977"},{value:"1978-1994",label:"1978 – 1994"},{value:"1995-2001",label:"1995 – 2001"}
1,{value:"nach2001",label:"nach 2001"},{value:"neubau",label:"Neubau"}];return(o,l)=>(m(),w("div",b0,[a("div",y0,[l[1]||(l[1]=a("h2",{id:"03_01-q-building-type",class:"mb-8 text-gray-900 text-heading"}," Um welchen Gebäudetyp handelt es sich bei Ihrer Immobilie? ",-1)),a("div",w0,[(m(),w(Z,null,ue(s,u=>a("button",{key:u.value,onClick:f=>o.$emit("update:building-type",u.value),class:N(["card w-[151px] h-[210px] relative flex flex-col items-center justify-center",e.buildingType===u.value?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[e.buildingType===u.value?(m(),w("div",k0,[...l[0]||(l[0]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),a("div",{class:"mb-4",innerHTML:u.icon},null,8,C0),a("span",A0,_(u.label),1)],10,x0)),64))])]),a("div",M0,[l[3]||(l[3]=a("h2",{id:"03_02-q-construction-year",class:"mb-8 text-gray-900 text-heading"},"Wann wurde ungefähr Ihr Haus gebaut?",-1)),a("div",_0,[(m(),w(Z,null,ue(r,u=>a("button",{key:u.value,onClick:f=>o.$emit("update:construction-year",u.value),class:N(["card w-[151px] h-[95px] relative flex items-center justify-center",e.constructionYear===u.value?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[e.constructionYear===u.value?(m(),w("div",L0,[...l[2]||(l[2]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),a("span",$0,_(u.label),1)],10,S0)),64))])])]))}}),Ti="data:image/svg+xml,%3csvg%20width='76'%20height='71'%20viewBox='0%200%2076%2071'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='16.4507'%20y='16.4509'%20width='58.0492'%20height='51.8197'%20rx='4.5'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3crect%20x='26.418'%20y='23.9263'%20width='8.21311'%20height='36.8689'%20rx='3'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3crect%20x='41.3687'%20y='23.9263'%20width='8.21311'%20height='36.8689'%20rx='3'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3crect%20x='56.3198'%20y='23.9263'%20width='8.21311'%20height='36.8689'%20rx='3'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3cmask%20id='path-5-inside-1_302_785'%20fill='white'%3e%3crect%20width='14.9508'%20height='16.1967'%20rx='2'/%3e%3c/mask%3e%3crect%20width='14.9508'%20height='16.1967'%20rx='2'%20stroke='%234A4A49'%20stroke-width='6'%20mask='url(%23path-5-inside-1_302_785)'/%3e%3cpath%20d='M7.47559%2027.
11558C6.64716%2027.1558%205.97559%2027.8273%205.97559%2028.6558C5.97559%2029.4842%206.64716%2030.1558%207.47559%2030.1558V28.6558V27.1558ZM16.8198%2028.6558V27.1558H7.47559V28.6558V30.1558H16.8198V28.6558Z'%20fill='%234A4A49'/%3e%3cpath%20d='M7.47559%2055.8115C6.64716%2055.8115%205.97559%2056.4831%205.97559%2057.3115C5.97559%2058.14%206.64716%2058.8115%207.47559%2058.8115V57.3115V55.8115ZM16.8198%2057.3115V55.8115H7.47559V57.3115V58.8115H16.8198V57.3115Z'%20fill='%234A4A49'/%3e%3cpath%20d='M5.5%2034L5.5%2035.5L8.5%2035.5L8.5%2034L7%2034L5.5%2034ZM7%2016L5.5%2016L5.5%2034L7%2034L8.5%2034L8.5%2016L7%2016Z'%20fill='%234A4A49'/%3e%3cpath%20d='M7.47559%2048.5901L7.47559%2068.5245'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ii="data:image/svg+xml,%3csvg%20width='72'%20height='72'%20viewBox='0%200%2072%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.6128%200V72'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3cpath%20d='M36.8384%200V72'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3cpath%20d='M60.064%200V72'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3cpath%20d='M70.2834%200C70.2834%204.18064%2068.6111%208.36129%2063.7802%208.36129C58.9492%208.36129%2025.2253%208.36129%208.96725%208.36129C6.79951%208.36129%201.99933%209.29032%201.99951%2014.8645C1.9997%2020.4387%205.25112%2022.2968%208.96725%2022.2968H63.7802C65.9995%2022.2968%2069.9995%2023.3903%2069.9995%2028.5C69.9995%2034.0742%2065.9478%2035.3032%2063.7802%2035.3032H8.96725C6.49951%2035.3032%201.99951%2036.6968%201.99951%2042.271C1.99951%2047.8452%206.49951%2049.2387%208.96725%2049.2387H63.7802C65.9995%2049.2387%2069.9995%2050.669%2069.9995%2055.5C69.9995%2060.331%2065.9995%2062.2452%2063.7802%2062.2452H36.3737H8.96725C7.99951%2062.2452%201.99951%2063%201.99951%2072'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3c/svg%3e",Rr="data:image/svg+xml,%3csvg%20width='69'%20height='72'%20viewBox='0%200%2069%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='10.2749'%20y='1.5'%20width='52.316'%20height='46.6715'%20rx='4.5'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3crect%20x='19.3062'%20y='8.27319'%20width='7.16007'%20height='33.1247'%20rx='3'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3crect%20x='32.853'%20y='8.27319'%20width='7.16007'%20height='33.1247'%20rx='3'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3crect%20x='46.3975'%20y='8.27319'%20width='7.16007'%20height='33.1247'%20rx='3'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3cpath%20d='M2%2010.9167H0.5V13.9167H2V12.4167V10.9167ZM10.4667%2012.4167V10.9167H2V12.4167V13.9167H10.4667V12.4167Z'%20fill='%234A4A49'/%3e%3cpath%20d='M2%2036.8821C1.17157%2036.8821%200.5%2037.5537%200.5%2038.3821C0.5%2039.2105%201.17157%2039.8821%202%2039.8821V38.3821V36.8821ZM10.4667%2038.3821V36.8821H2V38.3821V39.8821H10.4667V38.3821Z'%20fill='%234A4A49'/%3e%3cpath%20d='M2%2030.4807L2%2048.5431'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.6606%2047.2598L14.6606%2071.8349'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3cpath%20d='M36.8281%2048.9785V71.8351'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3cpath%20d='M58.1396%2047.2598L58.1396%2071.8349'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3cpath%20d='M2.35059%2071.6518C2.35059%2062.5513%209.86836%2062.0457%2010.8795%2062.0457H35.0605H60.9749C64.2117%2062.0457%2066.9998%2058.3678%2066.9998%2054.7042C66.9998%2051.0407%2063.3905%2048.2051%2060.9749%2048.2051H53.4134'%20stroke='%234A4A49'%20stroke-width='3'/%3e%3c/svg%3e",T0={class:"space-y-12"},I0={class:"text-center"},H0={class:"flex flex-wrap justify-center gap-4"},E0=["onClick"],F0={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-3 left-3 bg-primary"},z0=["innerHTML"],B0={class:"text-gray-900 text-body"},j0={class:"text-center"},W0={class:"flex flex-wrap justify-center gap-4"},O0=["onClick"],R0={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-2 right-2 bg-primary"},V0={class:"text-gray-900 text-label"},D0=xe({__name:"Step4HeatingSystem",props:{heatingType:{},heatingAge:{}},emits:["update:heating-type","update:heating-age","auto-next"],setup(e,{emit:t}){const n=e,i=t;Pe(()=>[n.heatingType,n.heatingAge],()=>{n.heatingType&&n.heatingAge&&setTimeout(()=>{i("auto-next")},600)},{deep:!0});const s=[{value:"heizkoerper",label:"Heizkörper",icon:`<img src="${Ti}" alt="Icon" width="51" height="62">`},{value:"fussbodenheizung",label:"Fußbodenheizung",icon:`<img src="${Ii}" alt="Icon" width="51" height="62">`},{value:"beides",label:"Beides",icon:`<img src="${Rr}" alt="Icon" width="51" height="62">`}],r=[{value:"0-9",label:"0 – 9 Jahre"},{value:"10-19",label:"10 –19 Jahre"},{value:"20-29",label:"20 – 29 Jahre"},{value:"30+",label:"30 Jahre +"}];return(o,l)=>(m(),w("div",T0,[a("div",I0,[l[1]||(l[1]=a("h2",{id:"04_01-q-heating-type",class:"mb-8 text-gray-900 text-heading"},"Wie werden Ihre Wohnräume beheizt?",-1)),a("div",H0,[(m(),w(Z,null,ue(s,u=>a("button",{key:u.value,onClick:f=>o.$emit("update:heating-type",u.value),class:N(["card w-[151px] h-[210px] relative flex flex-col items-center justify-center",e.heatingType===u.value?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[e.heatingType===u.value?(m(),w("div",F0,[...l[0]||(l[0]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),a("div",{class:"mb-4",innerHTML:u.icon},null,8,z0),a("span",B0,_(u.label),1)],10,E0)),64))])]),a("div",j0,[l[3]||(l[3]=a("h2",{id:"04_02-q-heating-age",class:"mb-8 text-gray-900 text-heading"},"Wie alt ist Ihre aktuelle Heizung?",-1)),a("div",W0,[(m(),w(Z,null,ue(r,u=>a("button",{key:u.value,onClick:f=>o.$emit("update:heating-age",u.value),class:N(["card w-[151px] h-[95px] relative flex items-center justify-center",e.heatingAge===u.value?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[e.heatingAge===u.value?(m(),w("div",R0,[...l[2]||(l[2]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),a("span",V0,_(u.label),1)],10,O0)),64))])])]))}}),di=[{value:"<=30000",label:"bis 30.000 €",grantRatePercent:80},{value:"30001-40000",label:"30.001 – 40.000 €",grantRatePercent:70},{value:"40001-50000",label:"40.001 – 50.000 €",grantRatePercent:56},{value:">50000",label:"über 50.000 €",grantRatePercent:46},{value:"keine-angabe",label:"Keine Angabe",grantRatePercent:46}],Hi=28e3,N0=46;function Vr(e){const t=di.find(n=>n.value===e);return t?t.grantRatePercent:N0}const K0=[{value:"<=30000",label:"bis 30.000 €",representativeIncome:3e4},{value:"30001-40000",label:"30.001 – 40.000 €",representativeIncome:4e4},{value:"40001-50000",label:"40.001 – 50.000 €",representativeIncome:5e4},{value:"50001-60000",label:"50.001 – 60.000 €",representativeIncome:6e4},{value:">60000",label:"über 60.000 €",representativeIncome:1e5},{value:"keine-angabe",label:"Keine Angabe",representativeIncome:1e5}],bs=30,U0=16,q0=1e4,G0=80,Z0=70;function Y0(e,t,n){if(!n||e==="keine-angabe"||!e)return 0;const i=K0.find(o=>o.value===e);if(!i)return 0;const s=t?q0:0,r=i.representativeIncome;return r<=3e4+s?40:r<=4e4+s?30:r<=5e4+s?10:0}function J0(e,t,n){return!n||e==="none"||!e?!1:e==="oil"?!0:t==="20-29"||t==="30+"}function X0(e){const t=Y0(e.incomeLevel,e.hasMinorChild,e.ownerOccupied),n=e.climateBonusEligible?U0:0,i=t>0?G0:Z0,s=Math.min(bs+n+t,i),r=Math.min(Math.max(e.totalCost,0),Hi);return{ratePercent:s,amount:r*(s/100),breakdown:{base:bs,climateBonus:n,incomeBonus:t,cap:i,eligibleBase:r}}}const Q0="/assets/finanzierung-CAnaF-pO.svg",eu="data:image/svg+xml,%3csvg%20width='74'%20height='62'%20viewBox='0%200%2074%2062'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2%2017.5112V9.75558C2%207.69867%202.8171%205.72601%204.27156%204.27156C5.72601%202.8171%207.69867%202%209.75558%202H17.5112M2%2017.5112C7.16909%2017.5112%2017.5112%2014.4089%2017.5112%202M2%2017.5112V33.0223M17.5112%202H56.2891M2%2033.0223V40.7779C2%2042.8348%202.8171%2044.8075%204.27156%2046.2619C5.72601%2047.7164%207.69867%2048.5335%209.75558%2048.5335H17.5112M2%2033.0223C7.16909%2033.0223%2017.5112%2036.1245%201
17.5112%2048.5335M71.8002%2017.5112V9.75558C71.8002%207.69867%2070.9831%205.72601%2069.5287%204.27156C68.0742%202.8171%2066.1015%202%2064.0446%202H56.2891M71.8002%2017.5112C66.6311%2017.5112%2056.2891%2014.4089%2056.2891%202M71.8002%2017.5112V25.2667M17.5112%2048.5335H33.0223'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M36.8991%2033.0224C41.1824%2033.0224%2044.6547%2029.5501%2044.6547%2025.2668C44.6547%2020.9835%2041.1824%2017.5112%2036.8991%2017.5112C32.6158%2017.5112%2029.1436%2020.9835%2029.1436%2025.2668C29.1436%2029.5501%2032.6158%2033.0224%2036.8991%2033.0224Z'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M60.1656%2036.8999V48.5333M60.1656%2048.5333V60.1666M60.1656%2048.5333H48.5322M60.1656%2048.5333H71.799'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3c/svg%3e",tu="data:image/svg+xml,%3csvg%20width='64'%20height='74'%20viewBox='0%200%2064%2074'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.14551%2063.4441L10.7568%2041.8376H52.952L61.5632%2063.4441H2.14551Z'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.44824%2063.8184V71.5457H55.916V63.8184'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.19727%2055.3411H58.863'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.33301%2047.0002L54.3559%2047.0002'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.4023%2063.4441L25.1031%2041.8376'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linejoin='round'/%3e%3cpath%20d='M42.6588%2063.4441L39.958%2041.8376'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linejoin='round'/%3e%3cpath%20d='M32.8699%207.40161V2M32.8699%207.40161C26.9034%207.40161%2022.0666%2012.2384%2022.0666%2018.2048M32.8699%207.40161C38.8363%207.40161%2043.6731%2012.2384%2043.6731%2018.2048M22.0666%2018.2048C22.0666%2024.1713%2026.9034%2029.0081%2032.8699%2029.0081M22.0666%2018.2048H16.665M43.6731%2018.2048H49.0747M43.6731%2018.2048C43.6731%2024.1713%2038.8363%2029.0081%2032.8699%2029.0081M32.8699%2029.0081V34.4097M40.5088%2010.5658L44.3285%206.74629M21.4113%2029.6634L25.2309%2025.8438M40.5088%2025.8434L44.3285%2029.6631M21.4114%206.74622L25.2309%2010.5657'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3c/svg%3e",nu="data:image/svg+xml,%3csvg%20width='78'%20height='52'%20viewBox='0%200%2078%2052'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20.75%2018V34M37.4167%2018V34M54.0833%2018V34M76%2030V26V22M15.3333%2050H59.5C64.1671%2050%2066.5008%2050%2068.2833%2049.128C69.8512%2048.3612%2071.1262%2047.1372%2071.925%2045.632C72.8333%2043.9208%2072.8333%2041.6804%2072.8333%2037.2V14.8C72.8333%2010.3196%2072.8333%208.07936%2071.925%206.36808C71.1262%204.86276%2069.8512%203.63892%2068.2833%202.87196C66.5008%202%2064.1671%202%2059.5%202H15.3333C10.6662%202%208.33267%202%206.55008%202.87196C4.98204%203.63892%203.70721%204.86276%202.90829%206.36808C2%208.07936%202%2010.3196%202%2014.8V37.2C2%2041.6804%202%2043.9208%202.90829%2045.632C3.70721%2047.1372%204.98204%2048.3612%206.55008%2049.128C8.33267%2050%2010.6662%2050%2015.3333%2050Z'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3c/svg%3e",iu={class:"space-y-12"},su={class:"text-center"},ru={class:"flex flex-wrap justify-center gap-4"},ou=["onClick"],lu={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-3 left-3 bg-primary"},au=["innerHTML"],uu={class:"text-gray-900 text-body"},cu={class:"text-center"},du={class:"flex flex-wrap justify-center gap-4"},fu=["onClick"],hu={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-3 left-3 bg-primary"},pu=["innerHTML"],gu={class:"text-center text-gray-900 text-body"},mu={class:"text-center"},vu={class:"flex flex-wrap justify-center gap-4"},bu=["onClick"],yu={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-2 right-2 bg-primary"},wu={class:"text-gray-900 text-label whitespace-nowrap"}
1,xu={class:"flex flex-wrap justify-center gap-4 mt-4"},ku=["onClick"],Cu={key:0,class:"absolute flex items-center justify-center w-5 h-5 rounded-sm top-2 right-2 bg-primary"},Au={class:"text-gray-900 text-label whitespace-nowrap"},Mu=xe({__name:"Step5AdditionalServices",props:{paymentModel:{},additionalServices:{},incomeLevel:{}},emits:["update:payment-model","update:additional-services","update:income-level","auto-next"],setup(e,{emit:t}){const n=e,i=t;Pe(()=>[n.paymentModel,n.incomeLevel],()=>{n.paymentModel&&n.incomeLevel&&setTimeout(()=>{i("auto-next")},600)},{deep:!0});const s=V(()=>di.slice(0,3)),r=V(()=>di.slice(3)),o=[{value:"ratenkauf",label:"Ratenkauf",icon:`<img src="${Q0}" alt="Icon" width="51" height="62">`},{value:"sofortkauf",label:"Sofortkauf",icon:`<img src="${eu}" alt="Icon" width="51" height="62">`}],l=[{value:"hk-austausch",label:"Austausch Heizkörper",icon:`<img src="${Ti}" alt="Icon" width="51" height="62">`},{value:"fbh-installation",label:"Installation Fußbodenheizung",icon:`<img src="${Ii}" alt="Icon" width="51" height="62">`},{value:"pv-anlage",label:"Photovoltaik-Anlage",icon:`<img src="${tu}" alt="Icon" width="51" height="62">`},{value:"batteriespeicher",label:"Batteriespeicher",icon:`<img src="${nu}" alt="Icon" width="51" height="62">`}];function u(f){const c=new Set(n.additionalServices);c.has(f)?c.delete(f):c.add(f),i("update:additional-services",Array.from(c))}return(f,c)=>(m(),w("div",iu,[a("div",su,[c[1]||(c[1]=a("h2",{id:"05_01-q-payment-model",class:"mb-8 text-gray-900 text-heading"},"Wählen Sie Ihr gewünschtes Zahlungsmodell:",-1)),a("div",ru,[(m(),w(Z,null,ue(o,p=>a("button",{key:p.value,onClick:C=>f.$emit("update:payment-model",p.value),class:N(["card w-[151px] h-[210px] relative flex flex-col items-center justify-center",n.paymentModel===p.value?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[n.paymentModel===p.value?(m(),w("div",lu,[...c[0]||(c[0]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),a("div",{class:"mb-4",innerHTML:p.icon},null,8,au),a("span",uu,_(p.label),1)],10,ou)),64))])]),a("div",cu,[c[3]||(c[3]=a("p",{id:"05_02-q-additional-services",class:"mb-4 text-sm text-gray-700"},"Haben Sie Interesse an Zusatzleistungen?",-1)),a("div",du,[(m(),w(Z,null,ue(l,p=>a("button",{key:p.value,onClick:C=>u(p.value),class:N(["card w-[151px] h-[210px] relative flex flex-col items-center justify-center",n.additionalServices.includes(p.value)?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[n.additionalServices.includes(p.value)?(m(),w("div",hu,[...c[2]||(c[2]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),a("div",{class:"mb-4",innerHTML:p.icon},null,8,pu),a("span",gu,_(p.label),1)],10,fu)),64))])]),a("div",mu,[c[6]||(c[6]=a("h2",{id:"05_03-q-income-level",class:"mb-8 text-gray-900 text-heading"}," Wie hoch ist Ihr jährliches zu versteuerndes Haushaltseinkommen? ",-1)),a("div",vu,[(m(!0),w(Z,null,ue(s.value,p=>(m(),w("button",{key:p.value,onClick:C=>f.$emit("update:income-level",p.value),class:N(["card w-[190px] h-[95px] relative flex items-center justify-center px-2",n.incomeLevel===p.value?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[n.incomeLevel===p.value?(m(),w("div",yu,[...c[4]||(c[4]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),a("span",wu,_(p.label),1)],10,bu))),128))]),a("div",xu,[(m(!0),w(Z,null,ue(r.value,p=>(m(),w("button",{key:p.value,onClick:C=>f.$emit("update:income-level",p.value),class:N(["card w-[190px] h-[95px] relative flex items-center justify-center px-2",n.incomeLevel===p.value?"card-selected wp_calc_answer":"hover:bg-gray-50"])},[n.incomeLevel===p.value?(m(),w("div",Cu,[...c[5]||(c[5]=[a("svg",{class:"w-3 h-2 stroke-white",viewBox:"0 0 14 10",fill:"none"},[a("path",{d:"M1 5.07273L5.61084 9L13 1",stroke:"white","stroke-width":"2","stroke-linejoin":"round"})],-1)])])):z("",!0),a("span",Au,_(p.label),1)],10,ku))),128))]),c[7]||(c[7]=a("div",{class:"flex items-start max-w-2xl gap-3 p-4 mx-auto mt-6 text-left border rounded-md border-amber-300 bg-amber-50"},[a("svg",{class:"flex-shrink-0 w-5 h-5 mt-0.5 text-amber-500",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[a("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z","clip-rule":"evenodd"})]),a("p",{class:"text-sm text-amber-800"}
1," Die Bemessungsgrenze des Haushaltsjahreseinkommens erhöht sich bei mindestens einem minderjährigen Kind im Haushalt um einen einmaligen Familienzuschlag von 10.000 €. Dadurch kann sich in Einzelfällen eine höhere Förderung ergeben. ")],-1))])]))}});function dn(e,t=0){const n=10**t;return Math.round((e+Number.EPSILON)*n)/n}function ys(e,t,n,i=0,s=0){if(e===0)return-(n+i)/t;const r=Math.pow(1+e,t);return-(e*(i+n*r))/((1+e*s)*(r-1))}function Dr(e,t,n=Hi){return Math.min(e,n)*(t/100)}function _u(e){const t={};e.termYears<=0&&(t.termYears="Laufzeit muss größer als 0 sein"),e.price<0&&(t.price="Preis darf nicht negativ sein"),e.downPayment<0&&(t.downPayment="Anzahlung darf nicht negativ sein"),e.grantRatePercent<0&&(t.grantRatePercent="Fördersatz darf nicht negativ sein"),e.price-e.downPayment<0&&(t.financedAmountBase="Anzahlung größer als Preis");const i=Dr(e.price,e.grantRatePercent);return e.price-e.downPayment-i<0&&(t.financedAmountWithGrant="Förderung + Anzahlung größer als Preis"),t}function Nr(e,t){const n=e.maintenanceChoice==="Ja"?e.maintenanceFeeMonthly:0,i=e.warrantyChoice==="Ja"?t.warrantyFeeMonthly:0,s=Dr(e.price,e.grantRatePercent,t.maxEligibleCost),r=Math.min(s,t.maxGrantBase),o=e.price-e.downPayment,l=e.price-e.downPayment-r,u=t.interestRateAnnual/12,f=e.termYears*12,c=-ys(u,f,o),p=dn(c+n+i,2),C=-ys(u,f,l),P=dn(C+n+i,2),D=dn(c*f,2),H=dn(C*f,2);return{grantAmount:s,grantAmountCapped:r,financedAmountBase:o,financedAmountWithGrant:l,monthlyPaymentBase:p,monthlyPaymentWithGrant:P,totalPaymentsBase:D,totalPaymentsWithGrant:H}}const Su={id:"egly",name:"Egly",flow:"wizard",branding:{colors:{primary:"#EF7D08",primaryShades:{50:"#FEF3EA",100:"#FDE4D0",200:"#FAC8A2",300:"#F6A972",400:"#F18C46",500:"#EF7D08",600:"#C85A13",700:"#9E470F",800:"#73330A",900:"#4A2006"},accent:"#EF7D08",accentLight:"#FFEAD7",success:"#166c6c"},fonts:{sans:"Open Sans, system-ui, sans-serif",import:"https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap"}},content:{appTitle:"Wärmepumpen-Konfigurator",companyName:"Egly",contactInfo:{phone:"+49 XXX XXXXXX",email:"[email protected]",website:"https://www.egly.de"},legalInfo:{impressum:"https://www.egly.de/impressum",datenschutz:"https://homeservegruppe.de/datenschutz/"}},calculation:{interestRateAnnual:.0595,maintenanceFeeMonthly:29.95,warrantyFeeMonthly:19.95,maxGrantBase:22400,heatPumpPackages:[{minLoad:0,maxLoad:5,name:"5 KW Standard-Paket",price:25792},{minLoad:5,maxLoad:7,name:"7 KW Standard-Paket",price:27573},{minLoad:7,maxLoad:10,name:"10 KW Standard-Paket",price:31382},{minLoad:10,maxLoad:999,name:"12 KW Standard-Paket",price:33137}],additionalCosts:{unitower:595,noBrauchwasser:-3404,hydraulikBeides:1435,hydraulikHeizkörper:2737}},features:{}},Lu={id:"homeserve",name:"HomeServe",branding:{colors:{primary:"#E22719",primaryShades:{50:"#FCE8E6",100:"#F9D1CE",200:"#F3A39D",300:"#ED756C",400:"#E74E3B",500:"#E22719",600:"#B81F14",700:"#8B170F",800:"#5E0F0A",900:"#310805"},accent:"#E22719",accentLight:"#E99FA3"},fonts:{sans:"Open Sans, system-ui, sans-serif",import:"https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap"}},content:{appTitle:"Wärmepumpen-Konfigurator",companyName:"HomeServe",contactInfo:{phone:"+49 123 456789",email:"[email protected]",website:"https://www.homeserve.de"},legalInfo:{impressum:"https://www.homeserve.de/impressum",datenschutz:"https://homeservegruppe.de/datenschutz/"}},calculation:{interestRateAnnual:.0595,maintenanceFeeMonthly:29.95,warrantyFeeMonthly:19.95,maxGrantBase:22400,heatPumpPackages:[{minLoad:0,maxLoad:5,name:"5 KW Standard-Paket",price:25792},{minLoad:5,maxLoad:7,name:"7 KW Standard-Paket",price:27573},{minLoad:7,maxLoad:10,name:"10 KW Standard-Paket",price:31382},{minLoad:10,maxLoad:999,name:"12 KW Standard-Paket",price:33137}],additionalCosts:{unitower:595,noBrauchwasser:-3404,hydraulikBeides:1435,hydraulikHeizkörper:2737}},features:{}},$u={id:"example-company",name:"Example Company",branding:{colors:{primary:"#0066CC",primaryShades:{50:"#E6F2FF",100:"#CCE5FF",200:"#99CBFF",300:"#66B1FF",400:"#3397FF",500:"#0066CC",600:"#0052A3",700:"#003D7A",800:"#002952",900:"#001429"},accent:"#0066CC",accentLight:"#99CBFF"},fonts:{sans:"Inter, system-ui, sans-serif",import:"https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap"}},content:{appTitle:"Wärmepumpen-Rechner",companyName:"Example Company",contactInfo:{phone:"+49 987 654321",email:"[email protected]",website:"https://www.example.de"},legalInfo:{impressum:"https://www.example.de/impressum",datenschutz:"https://www.example.de/datenschutz"}},calculation:{interestRateAnnual:.049,maintenanceFeeMonthly:29.95,warrantyFeeMonthly:15.95,maxGrantBase:35e3},features:{}},ws={egly:Su,homeserve:Lu,"example-company":$u};function Pu(){const e="egly",t=ws[e];return t||(console.error(`Tenant configuration for "${e}" not found. Using default.`),ws.egly)}const Me=Pu(),Fe={interestRateAnnual:Me.calculation.interestRateAnnual,maintenanceFeeMonthly:Me.calculation.maintenanceFeeMonthly,warrantyFeeMonthly:Me.calculation.warrantyFeeMonthly,maxGrantBase:Me.calculation.maxGrantBase,maxEl
1igibleCost:Hi};function Kr(){const e=we({...Fe}),t=we({price:0,termYears:15,downPayment:0,maintenanceChoice:"Nein",maintenanceFeeMonthly:0,warrantyChoice:"Nein",grantRatePercent:0}),n=V(()=>_u(t.value)),i=V(()=>Nr(t.value,e.value));return{config:e,inputs:t,errors:n,results:i}}const Tu={class:"space-y-8 text-gray-900"},Iu={key:0,class:"space-y-6 text-center"},Hu={key:1},Eu={class:"grid gap-4 md:grid-cols-2"},Fu={class:"md:col-span-1"},zu={class:"md:col-span-1"},Bu={class:"md:col-span-1"},ju={class:"md:col-span-1"},Wu={class:"pt-4 text-center"},Ou=["disabled"],Ru={class:"max-w-2xl mx-auto mt-6 text-xs text-center text-gray-600"},Vu=["href"],Du=xe({__name:"Step6Results",props:{formData:{}},setup(e){const t=e,n=tn({salutation:"",fullName:"",phone:"",email:""}),i=we(!1),s=we(!1),r=window.__RUNTIME_CONFIG__?.WEBHOOK_URL||"https://hook.eu2.make.com/9s3iy34qx1e0gyuxkd7lml44324tqcon",{inputs:o,results:l}=Kr(),u=V(()=>t.formData.heizlast.totalPrice||0),f=V(()=>Vr(t.formData.incomeLevel)),c=V(()=>t.formData.paymentModel==="ratenkauf"||t.formData.paymentModel==="finanzierung"),p=V(()=>Fe.maintenanceFeeMonthly),C=V(()=>!0);Pe([u,f,()=>t.formData.paymentModel,()=>t.formData.heizlast.totalLoad],()=>{c.value&&t.formData.heizlast.totalLoad>0?o.value={price:u.value,termYears:15,downPayment:0,maintenanceChoice:"Ja",maintenanceFeeMonthly:Fe.maintenanceFeeMonthly,warrantyChoice:"Nein",grantRatePercent:f.value}:o.value={price:u.value,termYears:15,downPayment:0,maintenanceChoice:"Nein",maintenanceFeeMonthly:Fe.maintenanceFeeMonthly,warrantyChoice:"Nein",grantRatePercent:f.value}},{immediate:!0});async function P(){if(!i.value)try{i.value=!0;const x=o.value.warrantyChoice==="Ja"?Fe.warrantyFeeMonthly:0,E=c.value?{estimatedPrice:u.value,grantRatePercent:f.value,grantAmountCapped:l.value.grantAmountCapped,isGrantEligible:C.value,termYears:o.value.termYears,downPayment:o.value.downPayment,maintenanceIncluded:o.value.maintenanceChoice==="Ja",maintenanceFeeMonthly:p.value,warrantyIncluded:o.value.warrantyChoice==="Ja",warrantyFeeMonthly:x,withoutGrant:{financedAmount:l.value.financedAmountBase,monthlyPayment:l.value.monthlyPaymentBase,monthlyPaymentPure:l.value.monthlyPaymentBase-p.value-x,monthlyPaymentWithFees:l.value.monthlyPaymentBase,totalPayments:l.value.totalPaymentsBase},withGrant:{financedAmount:l.value.financedAmountWithGrant,monthlyPayment:l.value.monthlyPaymentWithGrant,monthlyPaymentPure:l.value.monthlyPaymentWithGrant-p.value-x,monthlyPaymentWithFees:l.value.monthlyPaymentWithGrant,totalPayments:l.value.totalPaymentsWithGrant}}:{estimatedPrice:u.value,grantRatePercent:0,grantAmountCapped:0,isGrantEligible:!1,termYears:0,downPayment:u.value,maintenanceIncluded:!1,maintenanceFeeMonthly:0,warrantyIncluded:!1,warrantyFeeMonthly:0,withoutGrant:{financedAmount:u.value,monthlyPayment:0,monthlyPaymentPure:0,monthlyPaymentWithFees:0,totalPayments:0},withGrant:{financedAmount:u.value,monthlyPayment:0,monthlyPaymentPure:0,monthlyPaymentWithFees:0,totalPayments:0}},fe={contact:{salutation:n.salutation,fullName:n.fullName,phone:n.phone,email:n.email},configuration:{fuelType:t.formData.fuelType,livingArea:t.formData.livingArea,gasConsumption:t.formData.gasConsumption,centralHeating:t.formData.centralHeating,heatPumpWater:t.formData.heatPumpWater,householdSize:t.formData.householdSize,buildingType:t.formData.buildingType,constructionYear:t.formData.constructionYear,heatingType:t.formData.heatingType,heatingAge:t.formData.heatingAge,paymentModel:t.formData.paymentModel,additionalServices:t.formData.additionalServices,incomeLevel:t.formData.incomeLevel,heizlast:t.formData.heizlast},financing:E,labels:{fuelType:D(t.formData.fuelType),livingArea:G(t.formData.livingArea),buildingType:H(t.formData.buildingType),constructionYear:J(t.formData.constructionYear),heatingType:X(t.formData.heatingType),heatingAge:K(t.formData.heatingAge),paymentModel:j(t.formData.paymentModel),additionalServices:I(t.formData.additionalServices)},timestamp:new Date().toISOString(),meta:{source:"homeserve-wp-calculator",version:"1.0"},emailTemplate:M()},Te=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(fe)});if(!Te.ok)throw new Error(`Webhook request failed: ${Te.status}`);s.value=!0,typeof window<"u"&&window.dataLayer&&window.dataLayer.push({event:"wp_calculator_form_submitted",formData:{timestamp:new Date().toISOString(),heizlast:t.formData.heizlast.totalLoad,paymentModel:t.formData.paymentModel}})}catch(x){console.error("Fehler beim Senden der Daten:",x),alert("Es ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut.")}finally{i.value=!1}}function D(x){return{gas:"Gas",oil:"Öl",other:"Sonstiges",none:"Keinem (Neubau)"}[x]||x}function H(x){return{einzelhaus:"Einzelhaus",doppelhaushälfte:"Doppelhaushälfte",reihenendhaus:"Reihenendhaus",reihenmittelhaus:"Reihenmittelhaus",mehrfamilienhaus:"Mehrfamilienhaus",wohnung:"Wohnung"}[x]||x}function J(x){return{vor1958:"vor 1958","1959-1968":"1959 – 1968","1969-1977":"1969 – 1977","1978-1994":"1978 – 1994","1995-2001":"1995 – 2001",
1nach2001:"nach 2001",neubau:"Neubau"}[x]||x}function X(x){return{heizkoerper:"Heizkörper",fussbodenheizung:"Fußbodenheizung",beides:"Beides (Heizkörper + Fußbodenheizung)"}[x]||x}function K(x){return{"0-9":"0 – 9 Jahre","10-19":"10 – 19 Jahre","20-29":"20 – 29 Jahre","30+":"30 Jahre und älter"}[x]||x}function j(x){return{finanzierung:"Ratenkauf",ratenkauf:"Ratenkauf",sofortkauf:"Sofortkauf"}[x]||x}function I(x){const E={"hk-austausch":"Austausch Heizkörper","fbh-installation":"Installation Fußbodenheizung","pv-anlage":"Photovoltaik-Anlage",batteriespeicher:"Batteriespeicher"};return x.map(fe=>E[fe]||fe).join(", ")}function G(x){return{"0-100":"0 – 100 m²","100-150":"100 – 150 m²","150-200":"150 – 200 m²","200+":"über 200 m²"}[x]||x}function M(){return`<!DOCTYPE html>
2<html lang="de">
3<head>
4    <meta charset="UTF-8">
5    <meta name="viewport" content="width=device-width, initial-scale=1.0">
6    <title>Wärmepumpen-Angebot</title>
7    <style>
8        body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; max-width: 600px; margin: 0 auto; padding: 20px; }
9        .header { background-color: #f8f9fa; padding: 20px; border-radius: 8px; margin-bottom: 30px; }
10        .calculation-box { background-color: #e3f2fd; border: 1px solid #2196f3; border-radius: 8px; padding: 20px; margin: 20px 0; }
11        .price-item { display: flex; justify-content: space-between; margin: 10px 0; padding: 8px 0; border-bottom: 1px solid #eee; }
12        .price-item:last-child { border-bottom: none; font-weight: bold; font-size: 1.1em; }
13        .contact-info { background-color: #f0f8ff; padding: 15px; border-radius: 5px; margin: 20px 0; }
14        .footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; font-size: 0.9em; color: #666; }
15    </style>
16</head>
17<body>
18    <div class="header">
19        <h1>
19Ihr individuelles Wärmepumpen-Angebot</h1>
20    </div>
21
22    <p>Sehr {{salutation_text}} {{contact.fullName}},</p>
23    <p>vielen Dank, dass Sie unseren Wärmepumpen-Konfigurator genutzt haben! Anbei erhalten Sie Ihr individuelles Preisangebot basierend auf den von Ihnen gemachten Angaben*:</p>
24
25    <div class="calculation-box">
26        <h3>🏠 Ihre Konfiguration im Überblick</h3>
27        <p><strong>Gebäudetyp:</strong> {{labels.buildingType}}</p>
28        <p><strong>Baujahr:</strong> {{labels.constructionYear}}</p>
29        <p><strong>Wohnfläche:</strong> {{labels.livingArea}}</p>
30        <p><strong>Aktueller Brennstoff:</strong> {{labels.fuelType}}</p>
31        <p><strong>Heizungstyp:</strong> {{labels.heatingType}}</p>
32        
33        <h4>🔥 Heizlastberechnung:</h4>
34        <div class="price-item">
35            <span>Heizlast (Basis):</span>
36            <span><strong>{{configuration.heizlast.baseLoad}} kW</strong></span>
37        </div>
38        {{#if_water_load}}
39        <div class="price-item">
40            <span>Warmwasserbedarf:</span>
41            <span><strong>{{configuration.heizlast.waterLoad}} kW</strong></span>
42        </div>
43        {{/if_water_load}}
44        <div class="price-item">
45            <span>Gesamt-Heizlast:</span>
46            <span><strong>{{configuration.heizlast.totalLoad}} kW</strong></span>
47        </div>
48    </div>
49
50    <div class="calculation-box">
51        <h3>💰 Preisschätzung</h3>
52        <div class="price-item">
53            <span>Geschätzter Investitionspreis:</span>
54            <span><strong>{{financing.estimatedPrice}} €</strong></span>
55        </div>
56        {{#if_grant_eligible}}
57        <div class="price-item">
58            <span>Mögliche Förderung ({{financing.grantRatePercent}}%, max. 22.400 €):</span>
59            <span class="text-green-600"><strong>-{{financing.grantAmountCapped}} €</strong></span>
60        </div>
61        <div class="price-item">
62            <span>Finanzierter Betrag (mit Förderung):</span>
63            <span><strong>{{financing.withGrant.financedAmount}} €</strong></span>
64        </div>
65        {{/if_grant_eligible}}
66        {{#if_grant_not_eligible}}
67        <div class="price-item" style="color: #ff9800;">
68            <span colspan="2">⚠️ Förderung nur ab 30.000 € Gesamtpreis verfügbar</span>
69        </div>
70        <div class="price-item">
71            <span>Finanzierter Betrag:</span>
72            <span><strong>{{financing.withGrant.financedAmount}} €</strong></span>
73        </div>
74        {{/if_grant_not_eligible}}
75    </div>
76
77    <div class="calculation-box">
78        <h3>📋 Ratenkaufoptionen ({{financing.termYears}} Jahre Laufzeit)</h3>
79        <p style="font-size: 0.9em; margin-bottom: 15px;">
80            {{#if_maintenance}}
81            Inkl. Wartung ({{config.maintenanceFeeMonthly}}€/Monat) und Garantie ({{config.warrantyFeeMonthly}}€/Monat)
82            {{/if_maintenance}}
83        </p>
84        
85        {{#if_grant_eligible}}
86        <div class="price-item">
87            <span style="font-size: 1.2em;"><strong>Monatliche Rate (mit Förderung):</strong></span>
88            <span style="font-size: 1.3em; color: #2196f3;"><strong>{{financing.withGrant.monthlyPayment}} €</strong></span>
89        </div>
90        
91        <div class="price-item" style="border-top: 1px solid #ddd; padding-top: 10px; margin-top: 10px;">
92            <span>Gesamtzahlung über Laufzeit:</span>
93            <span>{{financing.withGrant.totalPayments}} €</span>
94        </div>
95        
96        <div class="price-item" style="font-size: 0.85em; color: #666;">
97            <span>Zum Vergleich ohne Förderung:</span>
98            <span>{{financing.withoutGrant.monthlyPayment}} €/Monat</span>
99        </div>
100        {{/if_grant_eligible}}
101        
102        {{#if_grant_not_eligible}}
103        <div class="price-item">
104            <span style="font-size: 1.2em;"><strong>Monatliche Rate:</strong></span>
105            <span style="font-size: 1.3em; color: #2196f3;"><strong>{{financing.withGrant.monthlyPayment}} €</strong></span>
106        </div>
107        
108        <div class="price-item" style="border-top: 1px solid #ddd; padding-top: 10px; margin-top: 10px;">
109            <span>Gesamtzahlung über Laufzeit:</span>
110            <span>{{financing.withGrant.totalPayments}} €</span>
111        </div>
112        {{/if_grant_not_eligible}}
113    </div>
114
115    {{#if_additional_services_list}}
116    <div class="calculation-box">
117        <h3>🔧 Ihre gewählten Zusatzleistungen</h3>
118        <p>{{labels.additionalServices}}</p>
119    </div>
120    {{/if_additional_services_list}}
121
122    <div class="contact-info">
123        <p><strong>📞 Nächste Schritte:</strong></p>
124        <p>Unser Fachbetrieb wird Sie in den nächsten Tagen persönlich kontaktieren. Haben Sie vorab Fragen? Dann erreichen Sie uns jederzeit unter:</p>
125        <p>
126            <strong>Telefon:</strong> {{company_phone}}<br>
127            <strong>E-Mail:</strong> {{company_email}}
128        </p>
129    </div>
130
131    <p>Wir freuen uns darauf, Sie bei Ihrem Projekt zu begleiten!</p>
132    <p><strong>Herzliche Grüße</strong><br>{{company_name}}</p>
133
134    <div class="footer">
135        <p><small><strong>*Wichtiger Hinweis:</strong> Alle Angaben sind unverbindlich und dienen als Orientierung. Die dargestellten Preise und Raten basieren auf einer groben Schätzung und können je nach individuellen Gegebenheiten (z. B. Gebäudezustand, technische Anforderungen, regionale Förderungen) variieren. Ein verbindliches Angebot erhalten Sie nach einer detaillierten Prüfung durch unser Fachteam.</small></p>
136        <p><small>Diese E-Mail wurde automatisch generiert basierend auf Ihren Angaben vom {{formatted_date}}.</small></p>
137    </div>
138</body>
139</html>`}return(x,E)=>(m(),w("div",Tu,[s.value?(m(),w("div",Iu,[...E[4]||(E[4]=[ai('<h2 class="text-heading"> Fast geschafft! Sie sind nur noch wenige Schritte von Ihrer neuen Wärmepumpe entfernt. </h2><div class="max-w-2xl p-6 mx-auto border border-green-200 rounded-lg bg-green-50"><div class="space-y-4 text-center"><div class="flex items-center justify-center w-12 h-12 mx-auto bg-green-500 rounded-full"><svg class="w-6 h-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg></div><p class="text-lg font-semibold text-green-800">Fertig!</p><p class="text-green-700"> In Kürze erhalten Sie eine E-Mail mit Ihrem individuellen Angebot. Sollten Sie weitere Fragen haben, können Sie sich jederzeit via Telefon oder E-Mail an uns wenden. </p></div></div>',2)])])):(m(),w("div",Hu,[E[11]||(E[11]=a("h2",{class:"mb-6 text-center text-heading"}," Fast geschafft! Sie sind nur noch wenige Schritte von Ihrer neuen Wärmepumpe entfernt. ",-1)),E[12]||(E[12]=a("div",{class:"mb-8 text-center"},[a("p",{class:"max-w-2xl mx-auto mb-6 text-lg text-gray-700"}," Hinterlassen Sie jetzt Ihre Kontaktdaten, um ein unverbindliches Angebot für Ihre neue Wärmepumpe zu erhalten. ")],-1)),a("form",{class:"max-w-xl mx-auto space-y-6",onSubmit:ae(P,["prevent"])},[a("div",Eu,[a("div",Fu,[E[6]||(E[6]=a("label",{for:"salutation",class:"block mb-1 text-sm font-semibold text-gray-900"}," Anrede* ",-1)),nt(a("select",{id:"salutation","onUpdate:modelValue":E[0]||(E[0]=fe=>n.salutation=fe),class:"w-full h-10 px-3 bg-white border border-gray-900",required:""},[...E[5]||(E[5]=[a("option",{value:""},"Bitte wählen",-1),a("option",{value:"herr"},"Herr",-1),a("option",{value:"frau"},"Frau",-1),a("option",{value:"divers"},"Divers",-1)])],512),[[$r,n.salutation]])]),a("div",zu,[E[7]||(E[7]=a("label",{for:"fullname",class:"block mb-1 text-sm font-semibold text-gray-900"}," Ihr vollständiger Name* ",-1)),nt(a("input",{id:"fullname",type:"text","onUpdate:modelValue":E[1]||(E[1]=fe=>n.fullName=fe),class:"w-full h-10 px-3 bg-white border border-gray-900",placeholder:"Max Mustermann",required:""},null,512),[[Tt,n.fullName]])]),a("div",Bu,[E[8]||(E[8]=a("label",{for:"phone",class:"block mb-1 text-sm font-semibold text-gray-900"}," Telefonnummer* ",-1)),nt(a("input",{id:"phone",type:"tel","onUpdate:modelValue":E[2]||(E[2]=fe=>n.phone=fe),class:"w-full h-10 px-3 bg-white border border-gray-900",placeholder:"+49 ...",required:""},null,512),[[Tt,n.phone]])]),a("div",ju,[E[9]||(E[9]=a("label",{for:"email",class:"block mb-1 text-sm font-semibold text-gray-900"}," E-Mail Adresse* ",-1)),nt(a("input",{id:"email",type:"email","onUpdate:modelValue":E[3]||(E[3]=fe=>n.email=fe),class:"w-full h-10 px-3 bg-white border border-gray-900",placeholder:"[email protected]",required:""},null,512),[[Tt,n.email]])])]),a("div",Wu,[a("button",{id:"wp-calc-submit-btn",type:"submit",class:"px-8 py-3 btn-primary",disabled:i.value},_(i.value?"Wird gesendet...":"Abschicken"),9,Ou)])],32),a("p",Ru,[ee(" Ich willige ein, dass meine im Kontaktformular eingegebenen Daten zum Zweck der Kontaktauf
139nahme mit der "+_($(Me).content.companyName)+" übermittelt, verarbeitet und gespeichert werden. Sie können Ihre Einwilligung jederzeit ohne Angaben von Gründen für die Zukunft widerrufen. Informationen über die Verarbeitung Ihrer Daten und Rechte in diesem Zusammenhang finden Sie in der ",1),a("a",{href:$(Me).content.legalInfo?.datenschutz,target:"_blank",rel:"noopener noreferrer",class:"underline hover:text-gray-900"},"Datenschutzerklärung",8,Vu),E[10]||(E[10]=ee(". ",-1))]),E[13]||(E[13]=a("p",{class:"pt-4 mt-8 text-xs text-center text-gray-500 border-t"}," * Die angezeigten Werte sind eine überschlägige Berechnung und dienen nur zur Orientierung. Für eine exakte Auslegung ist eine Heizlastberechnung nach DIN EN 12831 durch einen Fachmann erforderlich. ",-1))]))]))}}),Nu=2e3,Ku=.1,Uu=200,qu=[{minLoad:0,maxLoad:5,name:"5 KW Standard-Paket",price:25792.29},{minLoad:5,maxLoad:7,name:"7 KW Standard-Paket",price:27573.92},{minLoad:7,maxLoad:10,name:"10 KW Standard-Paket",price:31382.94},{minLoad:10,maxLoad:999,name:"12 KW Standard-Paket",price:33137.67}],fn={unitower:-595,noBrauchwasser:-3404.69,hydraulikBeides:1435.03,hydraulikHeizkörper:2737};function Gu(){return Me.calculation.heatPumpPackages||qu}function Zu(){const e=Me.calculation.additionalCosts||{};return{unitower:e.unitower??fn.unitower,noBrauchwasser:e.noBrauchwasser??fn.noBrauchwasser,hydraulikBeides:e.hydraulikBeides??fn.hydraulikBeides,hydraulikHeizkörper:e.hydraulikHeizkörper??fn.hydraulikHeizkörper}}function Yu(e,t){if(!e)return 0;const n=e.match(/\d+/g);if(!n||n.length===0)return 0;const i=parseInt(n[0],10);return t==="oil"?i*10:i}function Ur(e){return e?e==="1-2"?1.5:e==="3-4"?3.5:e==="5-6"?5.5:e==="6+"?7:0:0}function Ju(e){return e?e==="0-100"?50:e==="100-150"?125:e==="150-200"?175:e==="200+"?225:0:0}function Xu(e,t,n){const i=Ju(e);return i===0?Ur(t)*30*.06:i*.055}function qr(e){const t=Yu(e.consumption,e.fuelType),n=Gu(),i=Zu();let s=0,r=!1;if(t===0&&(e.fuelType==="none"||e.fuelType==="other"))s=Xu(e.livingArea||"",e.householdSize,e.heatPumpWater),r=!0;else if(t===0){const C=n[0];return{baseLoad:0,waterLoad:0,totalLoad:0,recommendedPackage:C.name,packagePrice:C.price,totalPrice:C.price}}else s=t/Nu;const o=r?s:s*(1-Ku),l=Ur(e.householdSize);let u=0;e.heatPumpWater==="yes"&&(u=l*Uu/1e3);const f=o+u,c=n.find(C=>f>C.minLoad&&f<=C.maxLoad)||n[n.length-1];let p=c.price;return e.heatPumpWater==="no"&&(p+=i.noBrauchwasser),e.heatingType==="beides"?p+=i.hydraulikBeides:e.heatingType==="heizkoerper"&&(p+=i.hydraulikHeizkörper),{baseLoad:Math.round(o*10)/10,waterLoad:Math.round(u*10)/10,totalLoad:Math.round(f*10)/10,recommendedPackage:c.name,packagePrice:c.price,totalPrice:p}}const Qu={class:"min-h-screen px-4 py-8 bg-transparent"},ec={class:"mx-auto max-w-content"},tc={class:"p-8 mx-auto bg-white border-2 border-gray-200 rounded-lg max-w-configurator"},nc={class:"hidden mb-12",role:"navigation","aria-label":"Fortschritt mobil"},ic={class:"flex flex-col items-center w-full max-w-sm gap-3 mx-auto"},sc={class:"flex items-center w-full"},rc=["aria-current","aria-label","onClick"],oc={class:"flex items-center w-full"},lc=["aria-current","aria-label","onClick"],ac={class:"flex items-center justify-center mb-12",role:"navigation","aria-label":"Fortschritt"},uc={class:"flex items-center w-full max-w-xs sm:max-w-md md:max-w-lg lg:max-w-xl"},cc=["aria-current","aria-label","onClick"],dc={class:"min-h-96"},fc={class:"flex justify-between mt-12"},hc={key:1},pc=["disabled"],gc={key:3},mc={class:"fixed bottom-4 right-4 bg-blue-50 border border-blue-300 rounded p-3 text-xs text-blue-900 max-w-sm shadow-lg z-50 max-h-[90vh] overflow-y-auto"},vc={class:"p-2 mb-2 rounded bg-white/50"},bc={class:"pt-2 mt-2 border-t border-blue-300"},yc={class:"pt-2 mt-2 border-t border-blue-300"},wc={key:0,class:"pt-2 mt-2 border-t border-blue-300"},xc={class:"p-2 space-y-1 rounded bg-white/50"},kc={class:"text-green-700"},Cc={class:"pt-1 mt-1 border-t border-blue-200"},Ac={class:"text-blue-700"},Mc={class:"text-blue-700"},_c={class:"text-[10px] opacity-60"},Sc={class:"pt-1 mt-1 border-t border-blue-200"},Lc={key:1,class:"pt-2 mt-2 border-t border-blue-300"},$c={class:"text-[11px] opacity-60"},ut=6,Pc=xe({__name:"HeatPumpConfigurator",setup(e){const t=we(1),n=we(!1),i=we({fuelType:"",livingArea:"",gasConsumption:"",centralHeating:"",heatPumpWater:"",householdSize:"",buildingType:"",constructionYear:"",heatingType:"",heatingAge:"",paymentModel:"",additionalServices:[],incomeLevel:"",heizlast:{baseLoa
139d:0,waterLoad:0,totalLoad:0}}),s=V(()=>Array.from({length:Math.ceil(ut/2)},(G,M)=>M+1)),r=V(()=>Array.from({length:ut-s.value.length},(G,M)=>s.value.length+M+1)),o=V(()=>s.value[s.value.length-1]),l=V(()=>qr({consumption:i.value.gasConsumption,householdSize:i.value.householdSize,centralHeating:i.value.centralHeating,heatPumpWater:i.value.heatPumpWater,fuelType:i.value.fuelType,heatingType:i.value.heatingType,livingArea:i.value.livingArea})),u=V(()=>({...i.value,heizlast:l.value})),{inputs:f,results:c}=Kr(),p=V(()=>l.value.totalPrice||0),C=V(()=>Vr(i.value.incomeLevel)),P=V(()=>i.value.paymentModel==="ratenkauf"||i.value.paymentModel==="finanzierung"),D=V(()=>Fe.maintenanceFeeMonthly);Pe(()=>i.value.fuelType,G=>{(G==="none"||G==="other")&&(i.value.gasConsumption="")}),Pe([p,C,()=>i.value.paymentModel,()=>l.value.totalLoad],()=>{P.value&&l.value.totalLoad>0&&(f.value={price:p.value,termYears:15,downPayment:0,maintenanceChoice:"Ja",maintenanceFeeMonthly:Fe.maintenanceFeeMonthly,warrantyChoice:"Nein",grantRatePercent:C.value})},{immediate:!0});const H=V(()=>{switch(t.value){case 1:return i.value.fuelType?i.value.fuelType==="gas"||i.value.fuelType==="oil"?!!i.value.gasConsumption:i.value.fuelType==="other"||i.value.fuelType==="none"?!!i.value.livingArea:!1:!1;case 2:return i.value.centralHeating&&i.value.heatPumpWater&&i.value.householdSize;case 3:return i.value.buildingType&&i.value.constructionYear;case 4:return i.value.heatingType&&i.value.heatingAge;case 5:return i.value.paymentModel&&i.value.incomeLevel;case 6:return!0;default:return!1}});function J(G){G<=t.value&&(t.value=G)}function X(){t.value>1&&t.value--}function K(){t.value<ut&&H.value&&t.value++}function j(){K()}function I(G){G.ctrlKey&&G.shiftKey&&G.key==="D"&&(G.preventDefault(),n.value=!n.value)}return Mi(()=>{document.addEventListener("keydown",I)}),_i(()=>{document.removeEventListener("keydown",I)}),(G,M)=>(m(),w("div",Qu,[a("div",ec,[a("div",tc,[a("div",nc,[a("div",ic,[a("div",sc,[(m(!0),w(Z,null,ue(s.value,x=>(m(),w(Z,{key:`m1-${x}`},[a("button",{type:"button",class:N(["w-6 h-6 text-base cursor-pointer progress-step md:w-7 md:h-7 md:text-lg",x<=t.value?"progress-step-active":"progress-step-inactive"]),"aria-current":x===t.value?"step":void 0,"aria-label":`Schritt ${x}`,onClick:E=>J(x)},_(x),11,rc),x<o.value?(m(),w("div",{key:0,class:N(["flex-1 mx-3 progress-line",x<t.value?"progress-line-active":""])},null,2)):z("",!0)],64))),128))]),a("div",oc,[(m(!0),w(Z,null,ue(r.value,x=>(m(),w(Z,{key:`m2-${x}`},[a("button",{type:"button",class:N(["w-6 h-6 text-base cursor-pointer progress-step md:w-7 md:h-7 md:text-lg",x<=t.value?"progress-step-active":"progress-step-inactive"]),"aria-current":x===t.value?"step":void 0,"aria-label":`Schritt ${x}`,onClick:E=>J(x)},_(x),11,lc),x<ut?(m(),w("div",{key:0,class:N(["flex-1 mx-3 progress-line",x<t.value?"progress-line-active":""])},null,2)):z("",!0)],64))),128))])])]),a("div",ac,[a("div",uc,[(m(),w(Z,null,ue(ut,x=>a("div",{key:x,class:N(["flex items-center",{"flex-1":x<ut}])},[a("button",{type:"button",class:N(["w-6 h-6 text-base cursor-pointer progress-step md:w-7 md:h-7 md:text-lg",x<=t.value?"progress-step-active":"progress-step-inactive"]),"aria-current":x===t.value?"step":void 0,"aria-label":`Schritt ${x}`,onClick:E=>J(x)},_(x),11,cc),x<ut?(m(),w("div",{key:0,class:N(["mx-1 progress-line sm:mx-2 md:mx-4",x<t.value?"progress-line-active":""])},null,2)):z("",!0)],2)),64))])]),a("div",dc,[t.value===1?(m(),ge(Ja,{key:0,modelValue:i.value.fuelType,"onUpdate:modelValue":M[0]||(M[0]=x=>i.value.fuelType=x),"living-area":i.value.livingArea,"onUpdate:livingArea":M[1]||(M[1]=x=>i.value.livingArea=x),"gas-consumption":i.value.gasConsumption,"onUpdate:gasConsumption":M[2]||(M[2]=x=>i.value.gasConsumption=x),onAutoNext:j},null,8,["modelValue","living-area","gas-consumption"])):z("",!0),t.value===2?(m(),ge(v0,{key:1,"central-heating":i.value.centralHeating,"onUpdate:centralHeating":M[3]||(M[3]=x=>i.value.centralHeating=x),"heat-pump-water":i.value.heatPumpWater,"onUpdate:heatPumpWater":M[4]||(M[4]=x=>i.value.heatPumpWater=x),"household-size":i.value.householdSize,"onUpdate:householdSize":M[5]||(M[5]=x=>i.value.householdSize=x),onAutoNext:j},null,8,["central-heating","heat-pump-water","household-size"])):z("",!0),t.value===3?(m(),ge(P0,{key:2,"building-type":i.value.buildingType,"onUpdate:buildingType":M[6]||(M[6]=x=>i.value.buildingType=x),"construction-year":i.value.constructionYear,"onUpdate:constructionYear":M[7]||(M[7]=x=>i.value.constructionYear=x),onAutoNext:j},null,8,["building-type","construction-year"])):z("",!0),t.value===4?(m(),ge(D0,{key:3,"heating-type":i.value.heatingType,"onUpdate:heatingType":M[8]||(M[8]=x=>i.value.heatingType=x),"heating-age":i.value.heatingAge,"onUpdate:heatingAge":M[9]||(M[9]=x=>i.value.heatingAge=x),onAutoNext:j},null,8,["heating-type","heating-age"])):z("",!0),t.value===5?(m(),ge(Mu,{key:4,"payment-model":i.value.paymentModel,"onUpdate:paymentModel":M[10]||(M[
13910]=x=>i.value.paymentModel=x),"additional-services":i.value.additionalServices,"onUpdate:additionalServices":M[11]||(M[11]=x=>i.value.additionalServices=x),"income-level":i.value.incomeLevel,"onUpdate:incomeLevel":M[12]||(M[12]=x=>i.value.incomeLevel=x),onAutoNext:j},null,8,["payment-model","additional-services","income-level"])):z("",!0),t.value===6?(m(),ge(Du,{key:5,"form-data":u.value},null,8,["form-data"])):z("",!0)]),a("div",fc,[t.value>1?(m(),w("button",{key:0,onClick:X,class:"btn-secondary h-9 min-w-[151px]"},[...M[13]||(M[13]=[a("svg",{class:"w-3 h-3 mr-2",viewBox:"0 0 15 15",fill:"none","aria-hidden":"true"},[a("path",{d:"M14 7.5H1M1 7.5L6.5 2M1 7.5L6.5 13",stroke:"currentColor","stroke-width":"2","stroke-linecap":"square","stroke-linejoin":"round"})],-1),ee(" zurück ",-1)])])):(m(),w("div",hc)),t.value<ut?(m(),w("button",{key:2,onClick:K,disabled:!H.value,class:N(["btn-primary h-9 min-w-[151px]",{"opacity-50 cursor-not-allowed":!H.value}])},[...M[14]||(M[14]=[ee(" weiter ",-1),a("svg",{class:"w-3 h-3 ml-2",viewBox:"0 0 15 15",fill:"none","aria-hidden":"true"},[a("path",{d:"M1 7.5H14M14 7.5L8.5 2M14 7.5L8.5 13",stroke:"currentColor","stroke-width":"2","stroke-linecap":"square","stroke-linejoin":"round"})],-1)])],10,pc)):(m(),w("div",gc))])])]),nt(a("div",mc,[M[29]||(M[29]=a("div",{class:"mb-2 font-semibold"},"DEBUG: Heizlast & Ratenkauf",-1)),M[30]||(M[30]=a("div",{class:"mb-2 text-xs opacity-70"},"Ctrl+Shift+D zum Ausblenden",-1)),a("div",vc,[M[15]||(M[15]=a("div",{class:"mb-1 text-xs font-semibold"},"Eingaben:",-1)),a("div",null,"Brennstoff: "+_(i.value.fuelType||"-"),1),a("div",null,"Verbrauch: "+_(i.value.gasConsumption||"-"),1),a("div",null,"Haushaltsgröße: "+_(i.value.householdSize||"-"),1),a("div",null,"Zentrale Heizung: "+_(i.value.centralHeating||"-"),1),a("div",null,"WP Warmwasser: "+_(i.value.heatPumpWater||"-"),1),a("div",null,"Zahlungsmodell: "+_(i.value.paymentModel||"-"),1),a("div",null,"Einkommen: "+_(i.value.incomeLevel||"-"),1)]),a("div",bc,[M[19]||(M[19]=a("div",{class:"mb-1 font-semibold"},"🔥 Heizlast:",-1)),a("div",null,[M[16]||(M[16]=ee(" Heizlast (Basis): ",-1)),a("strong",null,_(l.value.baseLoad||0)+" kW",1)]),a("div",null,[M[17]||(M[17]=ee(" Warmwasser: ",-1)),a("strong",null,_(l.value.waterLoad||0)+" kW",1)]),a("div",null,[M[18]||(M[18]=ee(" Gesamt: ",-1)),a("strong",null,_(l.value.totalLoad||0)+" kW",1)])]),a("div",yc,[M[22]||(M[22]=a("div",{class:"mb-1 font-semibold"},"📦 Empfehlung:",-1)),a("div",null,_(l.value.recommendedPackage||"Keine Empfehlung"),1),a("div",null,[M[20]||(M[20]=ee("Paketpreis: ",-1)),a("strong",null,_((l.value.packagePrice||0).toLocaleString("de-DE"))+"€",1)]),a("div",null,[M[21]||(M[21]=ee("Gesamtpreis: ",-1)),a("strong",null,_((l.value.totalPrice||0).toLocaleString("de-DE"))+"€",1)])]),P.value&&l.value.totalLoad>0?(m(),w("div",wc,[M[28]||(M[28]=a("div",{class:"mb-1 font-semibold"},"💰 Ratenkauf:",-1)),a("div",xc,[a("div",null,[M[23]||(M[23]=ee("Geschätzter Preis: ",-1)),a("strong",null,_(p.value.toLocaleString("de-DE"))+"€",1)]),a("div",null,[ee("Förderung ("+_(C.value)+"%): ",1),a("strong",kc,_($(c).grantAmountCapped.toLocaleString("de-DE"))+"€",1)]),a("div",Cc,[M[26]||(M[26]=a("div",{class:"text-[11px] opacity-70 mb-0.5"},"Mit Förderung:",-1)),a("div",null,"Finanziert: "+_($(c).financedAmountWithGrant.toLocaleString("de-DE"))+"€",1),a("div",null,[M[24]||(M[24]=ee("Rate/Monat: ",-1)),a("strong",Ac,_(($(c).monthlyPaymentWithGrant-D.value).toLocaleString("de-DE"))+"€",1)]),a("div",null,"monatliche Servicepauschale: "+_(D.value.toLocaleString("de-DE"))+"€",1),a("div",null,[M[25]||(M[25]=ee("Rate inkl. Servicepauschale: ",-1)),a("strong",Mc,_($(c).monthlyPaymentWithGrant.toLocaleString("de-DE"))+"€",1)]),a("div",_c,"Laufzeit: "+_($(f).termYears)+" Jahre",1)]),a("div",Sc,[M[27]||(M[27]=a("div",{class:"text-[11px] opacity-70 mb-0.5"},"Ohne Förderung:",-1)),a("div",null,"Rate/Monat: "+_($(c).monthlyPaymentBase.toLocaleString("de-DE"))+"€",1)])])])):(m(),w("div",Lc,[a("div",$c,_(i.value.paymentModel==="sofortkauf"?"⚠️ Bei Sofortkauf wird keine Ratenberechnung ausgeführt":"⚠️ Ratenkauf wird in Step 5 & 6 angezeigt"),1)]))],512),[[ra,n.value]])]))}}),Tc={class:"px-6 pt-5 pb-4 border-b border-gray-200 sm:px-8 bg-gray-50 rounded-t-lg"},Ic={class:"flex items-center gap-4"},Hc=["aria-valuenow","aria-valuemax","aria-label"],Ec={class:"text-sm font-semibold tabular-nums text-gray-700"},Fc={class:"mt-2 text-xs font-semibold tracking-wide text-gray-600"},zc=xe({__name:"WizardProgress",props:{current:{},total:{},phase:{}},setup(e){const t=e,n=V(()=>Math.round(t.current/Math.max(t.total,1)*100));return(i,s)=>(m(),w("div",Tc,[a("div",Ic,[a("div",{class:"relative flex-1 h-1.5 overflow-hidden rounded-full bg-gray-300",role:"progressbar","aria-valuenow":e.current,"aria-valuemin":"1","aria-valuemax":e.total,"aria-label":`Schritt ${e.current} von ${e.total}`},[a("div",{class:"absolute inset-y-0 left-0 transition-all duration-300 rounded-full bg-primary",style:Fn({width:`${n.value}%`})},null,4)],8,Hc),a("span",Ec,_(e.current)+"/"+_(e.total),1)]),a("p",Fc,_(e.phase),1)]))}}),Bc="data:image/svg+xml,%3csvg%20width='55'%20height='66'%20viewBox='0%200%2055%2066'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M26.3448%202.62895L25.4358%203.82214L25.4359%203.82218L26.3448%202.62895ZM21.1476%204.33631L22.5405%204.89299L22.5405%204.8929L21.1476%204.33631ZM14.3695%2063.4837L15.6677%2064.2351L17.1707%2061.6388L15.8725%2060.8873L15.121%2062.1855L14.3695%2063.4837ZM38.5164%2063.4055L38.9621%2064.8378C42.4266%2063.7598%2046.4239%2061.6169%2049.5629%2057.8904C52.7214%2054.1407%2054.937%2048.8731%2054.937%2041.7023H53.437H51.937C51.937%2048.2089%2049.9443%2052.781%2047.2685%2055.9577C44.5731%2059.1575%2041.1102%2061.0275%2038.0708%2061.9732L38.5164%2063.4055ZM53.437%2041.7023H54.937C54.937%2033.7644%2050.6204%2025.7275%2045.1335%2018.7615C39.6153%2011.7557%2032.7412%205.61588%2027.2538%201.43572L26.3448%202.62895L25.4359%203.82218C30.7862%207.89787%2037.4582%2013.8654%2042.7767%2020.6178C48.1265%2027.4097%2051.937%2034.7816%2051.937%2041.7023H53.437ZM26.3448%202.62895L27.2538%201.43577C24.513%20-0.652304%202
1390.878%200.968562%2019.7547%203.77972L21.1476%204.33631L22.5405%204.8929C23.0867%203.52608%2024.5979%203.18379%2025.4358%203.82214L26.3448%202.62895ZM21.1476%204.33631L19.7547%203.77963C17.1786%2010.2254%2012.5135%2016.8637%208.3277%2023.3798C6.26012%2026.5984%204.31661%2029.7822%202.89%2032.8207C1.46945%2035.8463%200.5%2038.8529%200.5%2041.7023H2H3.5C3.5%2039.4942%204.26264%2036.956%205.60558%2034.0957C6.94246%2031.2483%208.79381%2028.2049%2010.8518%2025.0012C14.9171%2018.6727%2019.8258%2011.6855%2022.5405%204.89299L21.1476%204.33631ZM2%2041.7023H0.5C0.5%2052.46%208.25114%2059.942%2014.3695%2063.4837L15.121%2062.1855L15.8725%2060.8873C10.1871%2057.5962%203.5%2050.9208%203.5%2041.7023H2Z'%20fill='%234A4A49'/%3e%3cpath%20d='M15.4451%2062.254C8.27316%2058.1799%206.13333%2054.3556%206.13333%2050.2223C6.13333%2046.8704%209.87289%2040.4233%2015.0888%2043.3334C17.6968%2044.7885%2019.9763%2048.7607%2025.4221%2048.1556C31.6221%2047.4667%2033.3584%2035.9244%2029.8167%2029.489C26.2751%2023.0536%2048.1556%2041.7058%2048.1556%2051.6001C48.1556%2056.966%2045.4368%2061.672%2036.3089%2064.0001'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3c/svg%3e",jc="data:image/svg+xml,%3csvg%20width='71'%20height='71'%20viewBox='0%200%2071%2071'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M35.75%2069.5C54.3894%2069.5%2069.5%2054.3894%2069.5%2035.75C69.5%2017.1104%2054.3894%202%2035.75%202C17.1104%202%202%2017.1104%202%2035.75C2%2054.3894%2017.1104%2069.5%2035.75%2069.5Z'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M25.625%2025.625C25.625%2013.8124%2044.1875%2013.8125%2044.1875%2025.625C44.1875%2034.0625%2035.75%2032.3747%2035.75%2042.4997'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M35.75%2055V55.5'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3c/svg%3e",Wc="data:image/svg+xml,%3csvg%20width='71'%20height='71'%20viewBox='0%200%2071%2071'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%2022L50%2050'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M50%2022L22%2050'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='square'%20stroke-linejoin='round'/%3e%3cpath%20d='M35.75%2069.5C54.3894%2069.5%2069.5%2054.3894%2069.5%2035.75C69.5%2017.1104%2054.3894%202%2035.75%202C17.1104%202%202%2017.1104%202%2035.75C2%2054.3894%2017.1104%2069.5%2035.75%2069.5Z'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Oc="data:image/svg+xml,%3csvg%20width='71'%20height='71'%20viewBox='0%200%2071%2071'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19%2036.963L32.9878%2049L56%2024'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linejoin='round'/%3e%3cpath%20d='M35.75%2069.5C54.3894%2069.5%2069.5%2054.3894%2069.5%2035.75C69.5%2017.1104%2054.3894%202%2035.75%202C17.1104%202%202%2017.1104%202%2035.75C2%2054.3894%2017.1104%2069.5%2035.75%2069.5Z'%20stroke='%234A4A49'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Rc={gas:Bc,oil:Pr,question:jc,cross:Wc,check:Oc,singlehome:Fr,doppelhaushaelfte:zr,reihenendhaus:Br,reihenmittelhaus:jr,mehrfamilienhaus:Wr,wohnung:Or,heizkoerper:Ti,fussbodenheizung:Ii,heizungBeides:Rr,people12:Tr,people34:Ir,people56:Hr,people6Plus:Er},Ee='class="w-full h-full" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"',Vc={pin:`<svg viewBox="0 0 24 24" ${Ee}><path d="M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11Z"/><circle cx="12" cy="10" r="2.5"/></svg>`,droplet:`<svg viewBox="0 0 24 24" ${Ee}><path d="M12 3s6 6.1 6 10a6 6 0 0 1-12 0c0-3.9 6-10 6-10Z"/></svg>`,boiler:`<svg viewBox="0 0 24 24" ${Ee}><rect x="5" y="3" width="14" height="13" rx="2"/><path d="M9 19v2M15 19v2M9 7h6M9 11h6"/></svg>`,bolt:`<svg viewBox="0 0 24 24" ${Ee}><path d="M13 2 5 14h6l-1 8 8-12h-6l1-8Z"/></svg>`,calendar:`<svg viewBox="0 0 24 24" ${Ee}><rect x="3" y="5" width="18" height="16" rx="2"/><path d="M8 3v4M16 3v4M3 10h18"/></svg>`,clock:`<svg viewBox="0 0 24 24" ${Ee}><circle cx="12" cy="12" r="9"/><path d="M12 7v5.5l3.5 2"/></svg>`,home:`<svg viewBox="0 0 24 24" ${Ee}><path d="M4 11 12 4l8 7"/><path d="M6 10v10h12V10"/><path d="M10 20v-5h4v5"/></svg>`,key:`<svg viewBox="0 0 24 24" ${Ee}><circle cx="8" cy="15" r="4"/><path d="m11 12 9-9M17 6l2 2M14 9l2 2"/></svg>`,euro:`<svg viewBox="0 0 24 24" ${Ee}><path d="M17 6.5A6.5 6.5 0 0 0 7.5 12 6.5 6.5 0 0 0 17 17.5"/><path d="M4 10.5h8M4 13.5h8"/></svg>`,family:`<svg viewBox="0 0 24 24" ${Ee}><circle cx="8" cy="7" r="3"/><circle cx="17" cy="9" r="2.2"/><path d="M3 20v-1.5A4.5 4.5 0 0 1 7.5 14h1A4.5 4.5 0 0 1 13 18.5V20M15 20v-1a3 3 0 0 1 3-3h.5a2.5 2.5 0 0 1 2.5 2.5V20"/></svg>
139`,minus:`<svg viewBox="0 0 24 24" ${Ee}><circle cx="12" cy="12" r="9"/><path d="M8 12h8"/></svg>`},Dc=["aria-label"],Nc=["aria-checked","onClick"],Kc=["innerHTML"],Uc={class:"text-xs font-semibold leading-snug text-gray-900 sm:text-sm"},qc=["aria-label"],Gc=["aria-checked","onClick"],Zc='<svg viewBox="0 0 24 24" class="w-5 h-5" fill="currentColor"><circle cx="12" cy="12" r="10"/><path d="m8 12 2.5 2.5L16 9" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>',Yc=xe({__name:"ChoiceCards",props:{options:{},modelValue:{},columns:{default:3},variant:{default:"cards"},ariaLabel:{default:"Antwortmöglichkeiten"}},emits:["update:modelValue"],setup(e){const t=e,n=V(()=>t.columns===2?"grid-cols-2":"grid-cols-2 md:grid-cols-3");function i(s){return s.asset?`<img src="${Rc[s.asset]}" alt="" class="object-contain w-10 h-10 sm:w-11 sm:h-11" />`:s.icon?Vc[s.icon]:""}return(s,r)=>e.variant==="cards"?(m(),w("div",{key:0,class:N(["grid gap-3 sm:gap-4",n.value]),role:"radiogroup","aria-label":e.ariaLabel},[(m(!0),w(Z,null,ue(e.options,o=>(m(),w("button",{key:o.value,type:"button",role:"radio","aria-checked":e.modelValue===o.value,class:N(["flex flex-col items-center justify-center gap-2 px-3 py-5 text-center transition-colors card min-h-[104px] sm:gap-3 sm:px-4 sm:py-6 sm:min-h-[120px]",e.modelValue===o.value?"card-selected wp_calc_answer bg-primary/5":"hover:border-gray-300 hover:bg-gray-50"]),onClick:l=>s.$emit("update:modelValue",o.value)},[i(o)?(m(),w("span",{key:0,class:"block w-10 h-10 sm:w-11 sm:h-11 text-primary",innerHTML:i(o)},null,8,Kc)):z("",!0),a("span",Uc,_(o.label),1)],10,Nc))),128))],10,Dc)):(m(),w("div",{key:1,class:"grid gap-2 sm:gap-2.5",role:"radiogroup","aria-label":e.ariaLabel},[(m(!0),w(Z,null,ue(e.options,o=>(m(),w("button",{key:o.value,type:"button",role:"radio","aria-checked":e.modelValue===o.value,class:N(["relative w-full px-10 py-3 text-sm font-semibold text-center text-gray-900 transition-colors border rounded-full sm:py-3.5",e.modelValue===o.value?"border-primary bg-primary/5 wp_calc_answer":"border-gray-200 hover:border-gray-300 hover:bg-gray-50"]),onClick:l=>s.$emit("update:modelValue",o.value)},[ee(_(o.label)+" ",1),e.modelValue===o.value?(m(),w("span",{key:0,class:"absolute -translate-y-1/2 right-4 top-1/2 text-primary","aria-hidden":"true",innerHTML:Zc})):z("",!0)],10,Gc))),128))],8,qc))}}),Jc={class:"max-w-md"},Xc=["id","value","placeholder","inputmode","maxlength","aria-describedby"],Qc={key:0,class:"text-sm font-semibold whitespace-nowrap text-gray-600"},e2=["id"],t2=["aria-pressed"],n2={key:0,viewBox:"0 0 16 16",class:"w-3 h-3 text-white",fill:"none"},i2=xe({__name:"InputField",props:{id:{},modelValue:{},placeholder:{},unit:{},inputMode:{default:"text"},maxlength:{},hint:{},hintTone:{default:"neutral"},toggleLabel:{},toggleActive:{type:Boolean,default:!1}},emits:["update:modelValue","toggle","submit"],setup(e){const t=e,n=we(null),i=V(()=>t.hintTone==="ok"?"border-primary":t.hintTone==="error"?"border-red-400":"border-gray-200 focus-within:border-primary"),s=V(()=>t.hintTone==="ok"?"text-primary font-semibold":t.hintTone==="error"?"text-red-600 font-semibold":"text-gray-600");return(r,o)=>(m(),w("div",Jc,[a("div",{class:N(["flex items-center gap-3 px-4 py-3 transition-colors bg-white border-2 rounded-lg",i.value])},[a("input",{id:e.id,ref_key:"input",ref:n,value:e.modelValue,placeholder:e.placeholder,inputmode:e.inputMode,maxlength:e.maxlength,type:"text",class:"w-full text-lg font-semibold text-gray-900 bg-transparent outline-none placeholder:font-normal placeholder:text-gray-400","aria-describedby":e.hint?`${e.id}-hint`:void 0,onInput:o[0]||(o[0]=l=>r.$emit("update:modelValue",l.target.value)),onKeydown:o[1]||(o[1]=he(ae(l=>r.$emit("submit"),["prevent"]),["enter"]))},null,40,Xc),e.unit?(m(),w("span",Qc,_(e.unit),1)):z("",!0)],2),e.hint?(m(),w("p",{key:0,id:`${e.id}-hint`,class:N(["mt-2 text-sm",s.value])},_(e.hint),11,e2)):z("",!0),e.toggleLabel?(m(),w("button",{key:1,type:"button",class:N(["inline-flex items-center gap-2 mt-4 text-sm font-semibold transition-colors",e.toggleActive?"text-primary":"text-gray-600 hover:text-gray-900"]),"aria-pressed":e.toggleActive,onClick:o[2]||(o[2]=l=>r.$emit("toggle"))},[a("span",{class:N(["flex items-center justify-center w-4 h-4 border-2 rounded",e.toggleActive?"border-primary bg-primary":"border-gray-400"])},[e.toggleActive?(m(),w("svg",n2,[...o[3]||(o[3]=[a("path",{d:"m3 8 3.5 3.5L13 5",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"}
139,null,-1)])])):z("",!0)],2),ee(" "+_(e.toggleLabel),1)],10,t2)):z("",!0)]))}}),Gr=new Intl.NumberFormat("de-DE",{style:"currency",currency:"EUR",maximumFractionDigits:0});function hn(e){return Gr.format(Math.round(e/100)*100)}function xs(e){return Gr.format(e)}const s2={class:"space-y-8"},r2={class:"grid gap-6 p-6 mt-6 sm:grid-cols-2 rounded-lg bg-gray-100"},o2={class:"mt-1 text-2xl font-bold text-gray-900"},l2={class:"text-xs font-semibold tracking-wide text-gray-600 uppercase"},a2={class:"mt-1 text-2xl font-bold text-gray-900"},u2={class:"grid gap-4 mt-4 md:grid-cols-2"},c2={class:"p-6 card"},d2={class:"mt-1 text-3xl font-bold text-success"},f2={class:"mt-4 text-sm text-gray-700"},h2={class:"font-semibold"},p2={class:"p-6 border-2 rounded-lg border-success bg-success/5"},g2={class:"mt-1 text-3xl font-bold text-success"},m2={class:"mt-4 space-y-2 text-sm text-gray-700"},v2={key:1,class:"p-4 mt-4 text-sm border rounded-lg border-gray-300 bg-gray-50 text-gray-700"},b2={class:"p-4 rounded-lg bg-gray-50"},y2={class:"text-sm font-semibold text-gray-900 cursor-pointer"},w2={class:"mt-3 space-y-1 text-sm text-gray-700"},x2={class:"p-6 rounded-lg bg-gray-100"},k2={class:"font-bold text-gray-900 text-label"},C2={class:"grid gap-4 mt-4 sm:grid-cols-3"},A2=["innerHTML"],M2={class:"text-sm font-semibold text-gray-900"},_2={class:"mt-1 text-sm text-gray-700"},Xn='class="w-5 h-5" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"',S2='<svg viewBox="0 0 16 16" class="w-4 h-4" fill="none"><path d="m3 8 3.5 3.5L13 5" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',L2=xe({__name:"ResultScreen",props:{totalPrice:{},ownShare:{},monthlyExample:{},funding:{},termYears:{},companyName:{},isInServiceArea:{type:Boolean}},emits:["back","restart"],setup(e){const t=we(!1),n=we();async function i(){t.value=!0,await ki(),n.value?.scrollIntoView({behavior:"smooth",block:"start"})}const s=["keine hohe Anfangsinvestition","feste monatliche Rate","Service und Wartung inklusive"],r=`<svg viewBox="0 0 24 24" ${Xn}><path d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"/><circle cx="12" cy="10" r="3"/></svg>`,o=`<svg viewBox="0 0 24 24" ${Xn}><path d="M21.801 10A10 10 0 1 1 17 3.335"/><path d="m9 11 3 3L22 4"/></svg>`,l=`<svg viewBox="0 0 24 24" ${Xn}><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z"/></svg>`,u=[{title:"Regionaler Fachbetrieb",text:"Feste Ansprechpartner aus Ihrer Region, von der ersten Frage bis zur Wartung.",icon:r},{title:"Bewährte Markenqualität",text:"Hochwertige Wärmepumpen etablierter Hersteller, passend zu Ihrem Gebäude ausgewählt.",icon:o},{title:"Alles aus einer Hand",text:"Persönliche Beratung, Planung, Installation, Förderunterstützung und Service.",icon:l}];return(f,c)=>(m(),w("div",s2,[a("button",{type:"button",class:"inline-flex items-center gap-2 text-sm font-semibold text-gray-600 transition-colors hover:text-gray-900",onClick:c[0]||(c[0]=p=>f.$emit("back"))},[...c[2]||(c[2]=[a("svg",{class:"w-4 h-4",viewBox:"0 0 15 15",fill:"none","aria-hidden":"true"},[a("path",{d:"M14 7.5H1M1 7.5L6.5 2M1 7.5L6.5 13",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1),ee(" zurück zur letzten Frage ",-1)])]),a("div",null,[c[5]||(c[5]=a("h2",{class:"text-gray-900 text-heading"},"Ihre geschätzten Kosten für eine Wärmepumpe",-1)),a("div",r2,[a("div",null,[c[3]||(c[3]=a("p",{class:"text-xs font-semibold tracking-wide text-gray-600 uppercase"}," Gesamtinvestition vor Förderung ",-1)),a("p",o2,_($(hn)(e.totalPrice)),1)]),a("div",null,[a("p",l2," Voraussichtliche Förderung ("+_(e.funding.ratePercent)+" %) ",1),a("p",a2,_($(hn)(e.funding.amount)),1)]),c[4]||(c[4]=a("p",{class:"text-xs text-gray-600 sm:col-span-2"}," Unverbindliche Kostenschätzung, kein Angebot und keine Förderzusage. ",-1))])]),a("div",null,[c[15]||(c[15]=a("h3",{class:"font-bold text-gray-900 text-label"},"So können Sie Ihre Wärmepumpe bezahlen",-1)),a("div",u2,[a("div",c2,[c[7]||(c[7]=a("p",{class:"text-xs font-semibold tracking-wide text-gray-600 uppercase"},"Einmalzahlung",-1)),c[8]||(c[8]=a("p",{class:"mt-2 text-sm font-semibold text-gray-900"},"Voraussichtlicher Eigenanteil",-1)),a("p",d2,_($(hn)(e.ownShare)),1),c[9]||(c[9]=a("p",{class:"mt-1 text-sm text-gray-600"},"nach Abzug der voraussichtlichen Förderung",-1)),a("p",f2,[c[6]||(c[6]=ee(" Ohne Förderung: ",-1)),a("span",h2,_($(hn)(e.totalPrice)),1)])]),a("div",p2,[c[11]||(c[11]=a("div",{class:"flex flex-wrap items-center gap-2"},[a("p",{class:"text-xs font-semibold tracking-wide text-gray-600 uppercase"}," Monatlich mit Wärme360° "),a("span",{class:"px-2.5 py-1 text-xs font-semibold text-white rounded-full bg-success"}," Bequem monatlich zahlen ")],-1)),c[12]||(c[12]=a("p",{class:"mt-2 text-sm font-semibold text-gray-900"}," Unverbindliche Beispielrate inklusive Förderung ",-1)),a("p",g2,[ee(_($(xs)(e.monthlyExample))+" ",1),c[10]||(c[10]=a("span",{class:"text-base font-semibold text-gray-700"},"pro Monat",-1))]),a("ul",m2,[(m(),w(Z,null,ue(s,p=>a("li",{key:p,class:"flex items-start gap-2"},[a("span",{class:"mt-0.5 text-success",innerHTML:S2}),ee(" "+_(p),1)])),64))]),c[13]||(c[13]=a("details",{class:"mt-4"},[a("summary",{class:"text-sm font-semibold underline cursor-pointer text-success"}," Was ist Wärme360°? "),a("p",{class:"mt-2 text-sm leading-relaxed text-gray-700"}," Wärme360° ist das Monatsmodell für Ihre neue Wärmepumpe: Planung, Installation, Wartung und Störungsdienst werden über eine feste monatliche Rate abgebildet. Die genaue Rate, Laufzeit und Konditionen klären wir im persönlichen Beratungsgespräch. ")],-1))])]),!t.value&&e.isInServiceArea?(m(),w("button",{key:0,t
139ype:"button",class:"w-full px-6 py-3.5 mt-4 text-sm font-bold text-white rounded-lg bg-primary hover:opacity-90 sm:w-auto",onClick:i}," Kostenlose Beratung zur Wärmepumpe anfragen ")):z("",!0),e.isInServiceArea?z("",!0):(m(),w("div",v2,[...c[14]||(c[14]=[a("p",{class:"font-semibold text-gray-900"}," Ihr Standort liegt leider außerhalb unseres aktuellen Einzugsgebiets. ",-1),a("p",{class:"mt-1"}," Eine Beratungsanfrage können wir von hier aus daher leider nicht entgegennehmen. Über die Betriebslandkarte finden Sie aber sicher einen Fachbetrieb in Ihrer Nähe. ",-1),a("a",{href:"https://homeservegruppe.de/unsere-aktuellen-homeserve-betriebe/#karte",target:"_blank",rel:"noopener noreferrer",class:"inline-block mt-2 font-semibold underline text-gray-900 hover:text-gray-700"}," Alle Fachbetriebe ansehen ",-1)])]))]),a("details",b2,[a("summary",y2," Wie sich Ihre Förderung von "+_(e.funding.ratePercent)+" % zusammensetzt ",1),a("ul",w2,[a("li",null,"Grundförderung: "+_(e.funding.breakdown.base)+" %",1),a("li",null," Klimageschwindigkeitsbonus: "+_(e.funding.breakdown.climateBonus>0?`${e.funding.breakdown.climateBonus} %`:"nicht berücksichtigt"),1),a("li",null," Einkommensbonus: "+_(e.funding.breakdown.incomeBonus>0?`${e.funding.breakdown.incomeBonus} %`:"nicht berücksichtigt"),1),a("li",null,"Höchstsatz in Ihrem Fall: "+_(e.funding.breakdown.cap)+" %",1),a("li",null," Förderfähige Kosten: "+_($(xs)(e.funding.breakdown.eligibleBase)),1)])]),a("div",x2,[a("h3",k2,"Darum sind Sie bei "+_(e.companyName)+" in guten Händen",1),a("div",C2,[(m(),w(Z,null,ue(u,p=>a("div",{key:p.title,class:"flex items-start gap-2.5"},[a("span",{class:"mt-0.5 shrink-0 text-primary",innerHTML:p.icon},null,8,A2),a("div",null,[a("p",M2,_(p.title),1),a("p",_2,_(p.text),1)])])),64))])]),t.value&&e.isInServiceArea?(m(),w("div",{key:0,ref_key:"contactSection",ref:n},[c[16]||(c[16]=a("h3",{class:"font-bold text-gray-900 text-label"}," Kostenlose Erstberatung zur Wärmepumpe anfragen ",-1)),c[17]||(c[17]=a("p",{class:"mt-1 text-sm text-gray-700"}," Kostenlos und unverbindlich, mit einer genauen Empfehlung passend zu Ihrem Gebäude. ",-1)),hl(f.$slots,"contact")],512)):z("",!0),c[18]||(c[18]=a("p",{class:"text-xs leading-relaxed text-gray-500"}," Die angezeigten Werte sind eine überschlägige Berechnung und dienen nur zur Orientierung. Für eine exakte Auslegung ist eine Heizlastberechnung nach DIN EN 12831 durch einen Fachbetrieb erforderlich. Es handelt sich um eine erste Einschätzung ohne Förderzusage. ",-1)),a("button",{type:"button",class:"text-sm font-semibold underline text-gray-600 hover:text-gray-900",onClick:c[1]||(c[1]=p=>f.$emit("restart"))}," Rechner neu starten ")]))}}),$2={class:"mt-4"},P2={key:0,class:"p-6 border-2 rounded-lg border-primary bg-primary/5"},T2={class:"text-xs text-gray-600 md:col-span-2"},I2=["href"],H2={class:"md:col-span-2"},E2=["disabled"],F2={key:0,class:"mt-2 text-sm font-semibold text-red-600"},z2=xe({__name:"ContactForm",props:{companyName:{},privacyUrl:{},buildPayload:{type:Function}},setup(e){const t=e,n=tn({salutation:"",fullName:"",phone:"",email:""}),i=we(!1),s=we(!1),r=we(""),o=window.__RUNTIME_CONFIG__?.WEBHOOK_URL||"https://hook.eu2.make.com/9s3iy34qx1e0gyuxkd7lml44324tqcon";async function l(){if(!i.value){r.value="",i.value=!0;try{const u=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({contact:{...n},...t.buildPayload(),timestamp:new Date().toISOString(),meta:{source:"homeserve-wp-calculator",flow:"wizard",version:"2.0"}})});if(!u.ok)throw new Error(`Webhook antwortete mit ${u.status}`);s.value=!0,typeof window<"u"&&window.dataLayer&&window.dataLayer.push({event:"wp_calculator_form_submitted",formData:{timestamp:new Date().toISOString(),flow:"wizard"}})}catch(u){console.error("Fehler beim Senden der Anfrage:",u),r.value="Das hat leider nicht geklappt. Bitte versuchen Sie es später noc
139h einmal."}finally{i.value=!1}}}return(u,f)=>(m(),w("div",$2,[s.value?(m(),w("div",P2,[...f[4]||(f[4]=[a("p",{class:"font-semibold text-gray-900"},"Vielen Dank, Ihre Anfrage ist bei uns eingegangen.",-1),a("p",{class:"mt-1 text-sm text-gray-700"}," Wir melden uns zeitnah bei Ihnen und besprechen die nächsten Schritte. ",-1)])])):(m(),w("form",{key:1,class:"grid gap-4 md:grid-cols-2",onSubmit:ae(l,["prevent"])},[a("div",null,[f[6]||(f[6]=a("label",{for:"wizard-salutation",class:"block mb-1 text-sm font-semibold text-gray-900"},"Anrede",-1)),nt(a("select",{id:"wizard-salutation","onUpdate:modelValue":f[0]||(f[0]=c=>n.salutation=c),class:"w-full h-10 px-3 bg-white border border-gray-300 rounded"},[...f[5]||(f[5]=[a("option",{value:""},"Bitte wählen",-1),a("option",null,"Herr",-1),a("option",null,"Frau",-1),a("option",null,"Divers",-1)])],512),[[$r,n.salutation]])]),a("div",null,[f[7]||(f[7]=a("label",{for:"wizard-name",class:"block mb-1 text-sm font-semibold text-gray-900"},"Ihr vollständiger Name",-1)),nt(a("input",{id:"wizard-name","onUpdate:modelValue":f[1]||(f[1]=c=>n.fullName=c),type:"text",required:"",placeholder:"Max Mustermann",class:"w-full h-10 px-3 bg-white border border-gray-300 rounded"},null,512),[[Tt,n.fullName]])]),a("div",null,[f[8]||(f[8]=a("label",{for:"wizard-phone",class:"block mb-1 text-sm font-semibold text-gray-900"},"Telefonnummer",-1)),nt(a("input",{id:"wizard-phone","onUpdate:modelValue":f[2]||(f[2]=c=>n.phone=c),type:"tel",required:"",placeholder:"+49 ...",class:"w-full h-10 px-3 bg-white border border-gray-300 rounded"},null,512),[[Tt,n.phone]])]),a("div",null,[f[9]||(f[9]=a("label",{for:"wizard-email",class:"block mb-1 text-sm font-semibold text-gray-900"},"E-Mail Adresse",-1)),nt(a("input",{id:"wizard-email","onUpdate:modelValue":f[3]||(f[3]=c=>n.email=c),type:"email",required:"",placeholder:"[email protected]",class:"w-full h-10 px-3 bg-white border border-gray-300 rounded"},null,512),[[Tt,n.email]])]),a("p",T2,[ee(" Ich willige ein, dass meine im Kontaktformular eingegebenen Daten zum Zweck der Kontaktaufnahme mit der "+_(e.companyName)+" übermittelt, verarbeitet und gespeichert werden. Die Einwilligung kann jederzeit für die Zukunft widerrufen werden. Weitere Informationen in der ",1),a("a",{href:e.privacyUrl,target:"_blank",rel:"noopener noreferrer",class:"underline hover:text-gray-900"},"Datenschutzerklärung",8,I2),f[10]||(f[10]=ee(". ",-1))]),a("div",H2,[a("button",{type:"submit",disabled:i.value,class:N(["btn-primary h-10 min-w-[200px] rounded",{"opacity-50 cursor-not-allowed":i.value}])},_(i.value?"wird gesendet ...":"Beratung anfragen"),11,E2),r.value?(m(),w("p",F2,_(r.value),1)):z("",!0)])],32))]))}}),B2={class:"flex items-start gap-3"},j2=["innerHTML"],W2={key:0,class:"mt-1 text-sm text-gray-700"},O2=["href"],R2={key:2,class:"mt-2 text-sm text-gray-700"},V2={key:1,class:"mt-2 text-xs text-gray-500"},D2='<svg viewBox="0 0 24 24" class="w-5 h-5" fill="none"><circle cx="12" cy="12" r="9" stroke="currentColor" stroke-width="2"/><path d="m8 12 2.5 2.5L16 9" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>',N2='<svg viewBox="0 0 24 24" class="w-5 h-5" fill="none"><circle cx="12" cy="12" r="9" stroke="currentColor" stroke-width="2"/><path d="M12 11v5M12 7.5v.5" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>',K2=xe({__name:"NoticeBox",props:{notice:{}},setup(e){const t=e,n=V(()=>t.notice.tone==="ok"?D2:N2);return(i,s)=>(m(),w(Z,null,[e.notice.title?(m(),w("div",{key:0,class:N(["p-4 mt-5 border rounded-lg",e.notice.tone==="ok"?"border-success/40 bg-success/5":"border-primary/40 bg-primary/5"])},[a("div",B2,[a("span",{class:N(["mt-0.5 shrink-0",e.notice.tone==="ok"?"text-success":"text-primary"]),innerHTML:n.value},null,10,j2),a("div",null,[a("p",{class:N(["text-sm font-bold",e.notice.tone==="ok"?"text-success":"text-primary"])},_(e.notice.title),3),e.notice.text?(m(),w("p",W2,_(e.notice.text),1)):z("",!0),e.notice.link?(m(),w("a",{key:1,href:e.notice.link.href,target:"_blank",rel:"noopener noreferrer",class:N(["inline-flex items-center gap-1.5 mt-1 text-sm font-semibold underline",e.notice.tone==="ok"?"text-success":"text-primary"])},[ee(_(e.notice.link.label)+" ",1),s[0]||(s[0]=a("svg",{class:"w-3.5 h-3.5",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[a("path",{d:"M14 4h6v6M20 4l-8 8M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],10,O2)):z("",!0),e.notice.hint?(m(),w("p",R2,_(e.notice.hint),1)):z("",!0)])])],2)):z("",!0),e.notice.footnote?(m(),w("p",V2,_(e.notice.footnote),1)):z("",!0)],64))}}),U2={class:"grid gap-y-2.5 gap-x-8 mt-6 sm:grid-cols-2"},q2={class:"text-sm text-gray-800"},ks='class="w-full h-full" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"',G2='<svg viewBox="0 0 24 24" class="w-5 h-5" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21.801 10A10 10 0 1 1 17 3.335"/><path d="m9 11 3 3L22 4"/></svg>',Z2=xe({__name:"IntroScreen",emits:["start"],setup(e){const t=["Kostenlos und unverbindlich","Keine Kontaktdaten nötig","Ergebnis in ca. 2 Minuten","Regionale Verfügbarkeit direkt geprüft"],n=`<svg viewBox="0 0 24 24" ${ks}><circle cx="12" cy="12" r="9"/><path d="M12 7v5.5l3.5 2"/></svg>`,i=`<svg viewBox="0 0 24 24" ${ks}><path d="M12 3v4M12 17v4M3 12h4M17 12h4M6.3 6.3l2.8 2.8M14.9 14.9l2.8 2.8M17.7 6.3l-2.8 2.8M9.1 14.9l-2.8 2.8"/></svg>`;return(s,r)=>(m(),w("div",null,[a("p",{class:"inline-flex items-center gap-2 px-3 py-1.5 text-xs font-semibold text-white rounded-full bg-primary"},[a("span",{class:"w-4 h-4",innerHTML:i}),r[1]||(r[1]=ee(" Keine Kontaktdaten erforderlich ",-1))]),r[4]||(r[4]=a("h2",{class:"mt-4 text-xl font-bold leading-snug text-gray-900 sm:text-2xl"}," Ihr persönlicher Wärmepumpenrechner ",-1)),r[5]||(r[5]=a("p",{class:"mt-2 text-sm leading-normal text-gray-700"}," In wenigen Schritten zu Ihrem persönlichen Angebot inklusive voraussichtlicher Förderung. ",-1)),a("div",U2,[(m(),w(Z,null,ue(t,o=>a("div",{key:o,class:"flex items-start gap-2.5"},[a("span",{class:"mt-0.5 shrink-0 text-primary",innerHTML:G2}),a("span",q2,_(o),1)])),64))]),a("button",{type:"button",class:"mt-7 btn-primary h-11 rounded px-5",onClick:r[0]||(r[0]=o=>s.$emit("start"))},[...r[2]||(r[2]=[ee(" Kosten jetzt berechnen ",-1),a("svg",{class:"w-4 h-4 pointer-events-none",viewBox:"0 0 15 15",fill:"none","aria-hidden":"true"},[a("path",{d:"M1 7.5H14M14 7.5L8.5 2M14 7.5L8.5 13",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])]),a("p",{class:"flex items-center gap-2 mt-3 text-xs text-gray-500"},[a("span",{class:"w-3.5 h-3.5",innerHTML:n}
139),r[3]||(r[3]=ee(" ca. 2 Minuten, kostenlos und unverbindlich ",-1))])]))}}),Y2=["55116","55118","55120","55122","55124","55126","55127","55128","55129","55130","55131","55218","55252","55257","55262","55263","55268","55270","55276","55278","55283","55286","55291","55294","55296","55299","60311","60313","60314","60316","60318","60320","60322","60323","60325","60326","60327","60329","60385","60386","60388","60389","60431","60433","60435","60437","60438","60439","60486","60487","60488","60489","60528","60529","60549","60594","60596","60598","60599","61118","61130","61137","61138","61184","61348","61350","61352","61381","61440","61449","61462","61476","61479","63065","63067","63069","63071","63073","63075","63110","63128","63150","63165","63179","63225","63263","63303","63322","63329","63450","63452","63454","63456","63457","63477","63486","63505","63512","63517","63526","63533","63538","63543","63546","63549","63571","63579","63584","63589","63594","64283","64285","64287","64289","64291","64293","64295","64297","64319","64331","64342","64347","64354","64367","64372","64380","64390","64521","64546","64560","64569","64572","64579","64584","64589","64807","64823","64832","64839","64846","64850","64859","65183","65185","65187","65189","65191","65193","65195","65197","65199","65201","65203","65205","65207","65232","65239","65343","65344","65345","65346","65347","65366","65375","65385","65428","65439","65451","65462","65468","65474","65479","65719","65760","65779","65795","65812","65817","65824","65830","65835","65843","65929","65931","65933","65934","65936"];function J2(e){return/^\d{5}$/.test(e.trim())}function Ei(e,t=Y2){const n=e.trim();return J2(n)?t.includes(n)?"verfuegbar":"nicht-verfuegbar":"unvollstaendig"}function Zr(){return{postalCode:"",fuelType:"",consumption:"",consumptionUnknown:!1,livingArea:"",centralHeating:"",heatPumpWater:"",householdSize:"",buildingType:"",constructionYear:"",heatingType:"",heatingAge:"",ownerOccupied:"",incomeLevel:"",minorChild:""}}const Cs=e=>e.fuelType==="gas"||e.fuelType==="oil",Yr=[{id:"postalCode",kind:"input",phase:"Regionale Verfügbarkeit wird geprüft",title:"Ist Egly in Ihrer Region für Sie da?",description:"Geben Sie Ihre Postleitzahl ein und prüfen Sie in wenigen Sekunden, ob wir Ihre Wärmepumpe vor Ort installieren können.",f
139ield:"postalCode",placeholder:"z. B. 65428",inputMode:"numeric",maxlength:5,notice:e=>{const t=Ei(e.postalCode);return t==="verfuegbar"?{tone:"ok",title:"Gute Nachricht: Egly ist in Ihrer Region für Sie da.",text:"Ihr Fachbetrieb aus Rüsselsheim für das Rhein-Main-Gebiet."}:t==="nicht-verfuegbar"?{tone:"info",title:"Ihre Region ist leider nicht abgedeckt.",text:"Eine Übersicht über alle Handwerksfachbetriebe unserer Gruppe finden Sie hier:",link:{label:"Alle Fachbetriebe ansehen",href:"https://homeservegruppe.de/unsere-aktuellen-homeserve-betriebe/#karte"},hint:"Wir zeigen Ihnen trotzdem eine allgemeine Kostenschätzung, ohne Zusage einer regionalen Verfügbarkeit."}:null}},{id:"fuelType",kind:"choice",phase:"Preis wird berechnet",title:"Womit heizen Sie aktuell?",description:"Die bestehende Heizung bestimmt Aufwand und mögliche Förderung.",field:"fuelType",options:[{value:"gas",label:"Gas",asset:"gas"},{value:"oil",label:"Öl",asset:"oil"},{value:"other",label:"Sonstige Heizungsart",asset:"question"},{value:"none",label:"Keine Heizung / Neubau",asset:"cross"}]},{id:"consumption",kind:"input",phase:"Preis wird berechnet",title:"Wie hoch ist Ihr durchschnittlicher Verbrauch pro Jahr?",description:"Ein Blick in die letzte Jahresabrechnung genügt, eine Schätzung reicht aus.",field:"consumption",placeholder:"z. B. 22.000",unit:"kWh pro Jahr",inputMode:"numeric",toggle:{field:"consumptionUnknown",label:"Verbrauch nicht bekannt"},when:e=>Cs(e)&&!e.consumptionUnknown},{id:"livingArea",kind:"input",phase:"Preis wird berechnet",title:"Wie viele Quadratmeter Wohnfläche sollen beheizt werden?",description:"Die beheizte Fläche ist die Grundlage für die geschätzte Heizlast.",field:"livingArea",placeholder:"z. B. 140",unit:"m²",inputMode:"numeric",toggle:{field:"consumptionUnknown",label:"Verbrauch nicht bekannt"},when:e=>!Cs(e)||e.consumptionUnknown},{id:"centralHeating",kind:"choice",phase:"Preis wird berechnet",title:"Wie wird Ihr Warmwasser heute erzeugt?",description:"Das sagt uns, ob ein Speicher vorhanden ist oder neu dazukommt.",field:"centralHeating",variant:"pills",columns:3,options:[{value:"yes",label:"Zentral über die Heizungsanlage"},{value:"no",label:"Separat, z. B. über Durchlauferhitzer"},{value:"unknown",label:"Weiß ich nicht"}]},{id:"heatPumpWater",kind:"choice",phase:"Preis wird berechnet",title:"Soll die Wärmepumpe künftig auch Ihr Warmwasser erzeugen?",description:"Das beeinflusst Speichergröße und benötigte Leistung.",field:"heatPumpWater",variant:"pills",columns:3,options:[{value:"yes",label:"Ja"},{value:"no",label:"Nein"},{value:"unknown",label:"Weiß ich noch nicht"}]},{id:"householdSize",kind:"choice",phase:"Preis wird berechnet",title:"Wie viele Personen leben in Ihrem Haushalt?",description:"Daraus ergibt sich der Warmwasserbedarf.",field:"householdSize",variant:"pills",options:[{value:"1-2",label:"1 – 2 Personen"},{value:"3-4",label:"3 – 4 Personen"},{value:"5-6",label:"5 – 6 Personen"},{value:"6+",label:"Mehr als 6 Personen"}]},{id:"buildingType",kind:"choice",phase:"Preis wird berechnet",title:"Um welchen Gebäudetyp handelt es sich?",field:"buildingType",options:[{value:"einzelhaus",label:"Einfamilienhaus",asset:"singlehome"},{value:"doppelhaushälfte",label:"Doppelhaushälfte",asset:"doppelhaushaelfte"},{value:"reihenendhaus",label:"Reihenendhaus",asset:"reihenendhaus"},{value:"reihenmittelhaus",label:"Reihenmittelhaus",asset:"reihenmittelhaus"},{value:"mehrfamilienhaus",label:"Mehrfamilienhaus",asset:"mehrfamilienhaus"},{value:"wohnung",label:"Wohnung",asset:"wohnung"}]},{id:"constructionYear",kind:"choice",phase:"Preis wird berechnet",title:"Wann wurde das Gebäude ungefähr gebaut?",description:"Das Baujahr gibt uns einen ersten Hinweis auf den energetischen Zustand.",field:"constructionYear",variant:"pills",options:[{value:"vor1958",label:"Vor 1958"},{value:"1959-1968",label:"1959 – 1968"},{value:"1969-1977",label:"1969 – 1977"},{value:"1978-1994",label:"1978 – 1994"},{value:"1995-2001",label:"1995 – 2001"},{value:"nach2001",label:"Nach 2001"},{value:"neubau",label:"Neubau"}]},{id:"heatingType",kind:"choice",phase:"Preis wird berechnet",title:"Wie werden Ihre Wohnräume überwiegend beheizt?",description:"Die Wärmeverteilung entscheidet über das passende Hydraulikpaket.",field:"heatingType",options:[{value:"heizkoerper",label:"Heizkörper",asset:"heizkoerper"},{value:"fussbodenheizung",label:"Fußbodenheizung",asset:"fussbodenheizung"},{value:"beides",label:"Heizkörper und Fußbodenheizung",asset:"heizungBeides"},{value:"unbekannt",label:"Weiß ich nicht",asset:"question"}]},{id:"heatingAge",kind:"choice",phase:"Förderpotenzial wird geprüft",title:"Wie alt ist Ihre aktuelle Heizung ungefähr?",description:"Das Alter kann für den Klimageschwindigkeitsbonus entscheidend sein.",field:"heatingAge",variant:"pills",when:e=>e.fuelType!=="none",options:[{value:"0-9",label:"0 – 9 Jahre"},{value:"10-19",label:"10 – 19 Jahre"},{value:"20-29",label:"20 – 29 Jahre"},{value:"30+",label:"30 Jahre oder älter"},{value:"unbekannt",label:"Weiß ich nicht"}]},{id:"ownerOccupied",kind:"choice",phase:"Förderpotenzial wird berücksichtigt",title:"Bewohnen Sie die Immobilie selbst?",description:"Die staatliche Heizungsförderung setzt in der Regel eine selbstgenutzte Wohneinheit voraus.",f
139ield:"ownerOccupied",variant:"pills",columns:2,notice:e=>e.ownerOccupied==="yes"?{tone:"ok",title:"Auf Basis Ihrer Angaben können wir mit der aktuellen Grundförderung rechnen.",footnote:"Unverbindliche Förderindikation. Die tatsächliche Förderfähigkeit wird individuell geprüft."}:e.ownerOccupied==="no"?{tone:"info",footnote:"Unverbindliche Förderindikation. Die tatsächliche Förderfähigkeit wird individuell geprüft."}:null,options:[{value:"yes",label:"Ja"},{value:"no",label:"Nein"}]},{id:"incomeLevel",kind:"choice",phase:"Förderpotenzial wird berücksichtigt",title:"Wie hoch ist ungefähr Ihr zu versteuerndes Haushaltsjahreseinkommen?",description:"Gemeint ist das zu versteuernde Haushaltsjahreseinkommen aus Ihren Einkommensteuerbescheiden, nicht Brutto- oder Nettoeinkommen. Die Angabe bleibt in Ihrem Browser.",badge:"Wichtig für Ihre individuelle Fördersumme",field:"incomeLevel",variant:"pills",when:e=>e.ownerOccupied==="yes",options:[{value:"<=30000",label:"Bis 30.000 €"},{value:"30001-40000",label:"30.001 – 40.000 €"},{value:"40001-50000",label:"40.001 – 50.000 €"},{value:"50001-60000",label:"50.001 – 60.000 €"},{value:">60000",label:"Über 60.000 €"},{value:"keine-angabe",label:"Keine Angabe"}]},{id:"minorChild",kind:"choice",phase:"Förderpotenzial wird berücksichtigt",title:"Lebt mindestens ein kindergeldberechtigtes Kind unter 18 Jahren in Ihrem Haushalt?",description:"Die Bemessungsgrenze des Haushaltsjahreseinkommens erhöht sich bei mindestens einem minderjährigen Kind im Haushalt um einen einmaligen Familienzuschlag von 10.000 €.",badge:"Wichtig für Ihre individuelle Fördersumme",field:"minorChild",variant:"pills",columns:3,when:e=>e.ownerOccupied==="yes",options:[{value:"yes",label:"Ja"},{value:"no",label:"Nein"},{value:"keine-angabe",label:"Keine Angabe"}]}];function X2(e){return Yr.filter(t=>!t.when||t.when(e))}const Q2=[{value:"5000-18000",upTo:18e3},{value:"18000-23000",upTo:23e3},{value:"23000-27000",upTo:27e3},{value:"27000-30000",upTo:3e4},{value:"30000+",upTo:1/0}],ed=[{value:"500-1800",upTo:1800},{value:"1800-2300",upTo:2300},{value:"2300-2700",upTo:2700},{value:"2700-3000",upTo:3e3},{value:"3000+",upTo:1/0}],td=[{value:"0-100",upTo:100},{value:"100-150",upTo:150},{value:"150-200",upTo:200},{value:"200+",upTo:1/0}];function Jr(e){if(typeof e!="string")return null;const t=e.match(/\d[\d.,\s]*/);if(!t)return null;const n=t[0].replace(/\s/g,"").replace(/\.(?=\d{3}(\D|$))/g,"").replace(",",".").replace(/[.,]$/,"");if(!n)return null;const i=Number.parseFloat(n);return Number.isFinite(i)?i:null}function Xr(e,t){return(t.find(i=>e<=i.upTo)??t[t.length-1]).value}function Qr(e,t){const n=Jr(e);return n===null||n<=0?"":Xr(n,t==="oil"?ed:Q2)}function eo(e){const t=Jr(e);return t===null||t<=0?"":Xr(t,td)}const yn=15;function nd(){const e=we(Zr()),t=we(0),n=we(!0),i=V(()=>X2(e.value)),s=V(()=>i.value.length+1),r=V(()=>t.value>=i.value.length),o=V(()=>i.value[t.value]??null),l=V(()=>Ei(e.value.postalCode)),u=V(()=>{const j=o.value;return j?j.id==="postalCode"?l.value!=="unvollstaendig":j.kind==="input"?!!String(e.value[j.field]??"").trim():!!e.value[j.field]:!1});function f(){!r.value&&u.value&&(t.value+=1)}function c(){if(t.value===0)return;const j=i.value[t.value];(i.value[t.value-1]?.id==="livingArea"||j?.id==="livingArea")&&e.value.consumptionUnknown&&(e.value.consumptionUnknown=!1,e.value.livingArea=""),t.value-=1}function p(j,I){e.value[j]=I,j==="consumptionUnknown"&&I===!0&&(e.value.consumption=""),j==="consumptionUnknown"&&I===!1&&(e.value.livingArea=""),j==="ownerOccupied"&&I==="no"&&(e.value.incomeLevel="",e.value.minorChild="")}const C=V(()=>({consumption:Qr(e.value.consumption,e.value.fuelType),livingArea:eo(e.value.livingArea),householdSize:e.value.householdSize,centralHeating:e.value.centralHeating==="unknown"?"yes":e.value.centralHeating,heatPumpWater:e.value.heatPumpWater==="unknown"?"yes":e.value.heatPumpWater,fuelType:e.value.fuelType,heatingType:e.value.heatingType==="unbekannt"?"":e.value.heatingType})),P=V(()=>qr(C.value)),D=V(()=>X0({totalCost:P.value.totalPrice,incomeLevel:e.value.incomeLevel,hasMinorChild:e.value.minorChild==="yes",ownerOccupied:e.value.ownerOccupied==="yes",climateBonusEligible:J0(e.value.fuelType,e.value.heatingAge,e.value.ownerOccupied==="yes")})),H=V(()=>
139Math.max(P.value.totalPrice-D.value.amount,0)),J=V(()=>Nr({price:P.value.totalPrice,termYears:yn,downPayment:0,maintenanceChoice:"Ja",maintenanceFeeMonthly:Fe.maintenanceFeeMonthly,warrantyChoice:"Nein",grantRatePercent:D.value.ratePercent},Fe)),X=V(()=>J.value.monthlyPaymentWithGrant);function K(){n.value=!1,t.value=0}return{data:e,stepIndex:t,showIntro:n,start:K,steps:i,totalSteps:s,isResultStep:r,currentQuestion:o,postalCodeStatus:l,canProceed:u,goForward:f,goBack:c,setAnswer:p,heizlast:P,funding:D,ownShare:H,monthlyExample:X,finance:J}}function ct(e,t){const n=Yr.find(i=>i.id===e);return!n||n.kind!=="choice"?t:n.options.find(i=>i.value===t)?.label??t}function id(e){const{data:t,heizlast:n,funding:i,finance:s,termYears:r,maintenanceFeeMonthly:o}=e,l=Qr(t.consumption,t.fuelType),u=eo(t.livingArea);return{configuration:{fuelType:t.fuelType,livingArea:u,gasConsumption:l,centralHeating:t.centralHeating,heatPumpWater:t.heatPumpWater,householdSize:t.householdSize,buildingType:t.buildingType,constructionYear:t.constructionYear,heatingType:t.heatingType,heatingAge:t.heatingAge,paymentModel:"",additionalServices:[],incomeLevel:t.incomeLevel,postalCode:t.postalCode,ownerOccupied:t.ownerOccupied,minorChild:t.minorChild,heizlast:{baseLoad:n.baseLoad,waterLoad:n.waterLoad,totalLoad:n.totalLoad,recommendedPackage:n.recommendedPackage,packagePrice:n.packagePrice,totalPrice:n.totalPrice}},labels:{fuelType:ct("fuelType",t.fuelType),livingArea:t.livingArea?`${t.livingArea} m²`:"",buildingType:ct("buildingType",t.buildingType),constructionYear:ct("constructionYear",t.constructionYear),heatingType:ct("heatingType",t.heatingType),heatingAge:ct("heatingAge",t.heatingAge),paymentModel:"",additionalServices:"",postalCode:t.postalCode,ownerOccupied:ct("ownerOccupied",t.ownerOccupied),minorChild:ct("minorChild",t.minorChild),incomeLevel:ct("incomeLevel",t.incomeLevel),consumption:t.consumption?`${t.consumption} kWh`:"nicht bekannt"},financing:{estimatedPrice:n.totalPrice,grantRatePercent:i.ratePercent,grantAmountCapped:i.amount,isGrantEligible:i.amount>0,termYears:r,downPayment:0,maintenanceIncluded:!0,maintenanceFeeMonthly:o,warrantyIncluded:!1,warrantyFeeMonthly:0,withoutGrant:{financedAmount:s.financedAmountBase,monthlyPayment:s.monthlyPaymentBase,monthlyPaymentPure:s.monthlyPaymentBase-o,monthlyPaymentWithFees:s.monthlyPaymentBase,totalPayments:s.totalPaymentsBase},withGrant:{financedAmount:s.financedAmountWithGrant,monthlyPayment:s.monthlyPaymentWithGrant,monthlyPaymentPure:s.monthlyPaymentWithGrant-o,monthlyPaymentWithFees:s.monthlyPaymentWithGrant,totalPayments:s.totalPaymentsWithGrant}}}}const sd={class:"px-5 py-6 bg-transparent sm:px-4 sm:py-8"},rd={class:"mx-auto max-w-configurator"},od={class:"overflow-hidden bg-white border-2 border-gray-200 rounded-lg shadow-card"},ld={class:"px-5 py-6 sm:px-8 sm:py-8"},ad={key:0,class:"mb-3 inline-block px-3 py-1 text-xs font-semibold rounded-full bg-primary/10 text-primary"},ud={class:"text-lg font-bold leading-snug text-gray-900 sm:text-2xl"},cd={key:1,class:"mt-2 text-sm leading-normal text-gray-700"},dd={class:"mt-6"},fd={key:1,class:"sticky bottom-0 z-10 flex items-center justify-between px-5 py-3.5 border-t border-gray-200 sm:static sm:px-8 sm:py-4 bg-gray-50"},hd=["disabled"],pd={key:2,class:"px-5 pb-4 sm:px-8"},gd=-78,md=xe({__name:"HeatPumpWizard",setup(e){const{data:t,stepIndex:n,steps:i,totalSteps:s,isResultStep:r,currentQuestion:o,showIntro:l,start:u,canProceed:f,goForward:c,goBack:p,setAnswer:C,heizlast:P,funding:D,ownShare:H,monthlyExample:J,finance:X}=nd(),K=Me.content.companyName,j=Me.content.legalInfo?.datenschutz||"#",I=V(()=>n.value===i.value.length-1),G=V(()=>Ei(t.value.postalCode)==="verfuegbar"),M=V(()=>o.value?.notice?.(t.value)??null),x=V(()=>{const W=o.value;if(!(!W||W.kind!=="input"||!W.toggle)&&!(W.id==="livingArea"&&!t.value.consumptionUnknown))return W.toggle.label}),E=V(()=>{const W=o.value;return!W||W.kind!=="input"||W.id!=="consumption"?W?.kind==="input"?W.unit:void 0:t.value.fuelType==="oil"?"Liter pro Jahr":"kWh pro Jahr"}),fe=V(()=>{const W=o.value;
139return!W||W.kind!=="input"?"":W.id!=="consumption"?W.placeholder:t.value.fuelType==="oil"?"z. B. 2.000":"z. B. 22.000"});function Te(){const W=o.value;!W||W.kind!=="input"||!W.toggle||C(W.toggle.field,!t.value[W.toggle.field])}function at(){t.value=Zr(),n.value=0,l.value=!0,ht(Et())}function ht(W=0){const q=window.parentIFrame;if(q?.scrollToOffset){q.scrollToOffset(0,W);return}window.scrollTo({top:window.scrollY+W,behavior:"smooth"})}function kt(){return typeof window.matchMedia=="function"&&window.matchMedia("(max-width: 640px)").matches}function Et(){const W=window.innerWidth;return W<=640?-78:W<=991?-86:-186}Pe([n,r],()=>{l.value||!kt()||ht(gd)}),Pe(i,W=>{n.value>W.length&&(n.value=W.length)});function rn(){return{...id({data:t.value,heizlast:P.value,funding:D.value,finance:X.value,termYears:yn,maintenanceFeeMonthly:Fe.maintenanceFeeMonthly,warrantyFeeMonthly:Fe.warrantyFeeMonthly}),answers:{...t.value},fundingBreakdown:D.value.breakdown,result:{totalPrice:P.value.totalPrice,ownShare:H.value,monthlyExample:J.value,termYears:yn},tenant:Me.id}}return(W,q)=>(m(),w("div",sd,[a("div",rd,[a("div",od,[$(l)?z("",!0):(m(),ge(zc,{key:0,current:$(r)?$(s):$(n)+1,total:$(s),phase:$(r)?"Ihr Ergebnis":$(o)?.phase??""},null,8,["current","total","phase"])),a("div",ld,[$(l)?(m(),ge(Z2,{key:0,onStart:$(u)},null,8,["onStart"])):$(r)?(m(),ge(L2,{key:1,"total-price":$(P).totalPrice,"own-share":$(H),"monthly-example":$(J),funding:$(D),"term-years":$(yn),"company-name":$(K),"is-in-service-area":G.value,onBack:$(p),onRestart:at},{contact:Qs(()=>[He(z2,{"company-name":$(K),"privacy-url":$(j),"build-payload":rn},null,8,["company-name","privacy-url"])]),_:1},8,["total-price","own-share","monthly-example","funding","term-years","company-name","is-in-service-area","onBack"])):$(o)?(m(),w("div",{key:$(o).id},["badge"in $(o)&&$(o).badge?(m(),w("p",ad,_($(o).badge),1)):z("",!0),a("h2",ud,_($(o).title),1),$(o).description?(m(),w("p",cd,_($(o).description),1)):z("",!0),a("div",dd,[$(o).kind==="choice"?(m(),ge(Yc,{key:0,options:$(o).options,columns:$(o).columns,variant:$(o).variant,"aria-label":$(o).title,"model-value":String($(t)[$(o).field]??""),"onUpdate:modelValue":q[0]||(q[0]=Y=>$(C)($(o).field,Y))},null,8,["options","columns","variant","aria-label","model-value"])):(m(),ge(i2,{key:1,id:$(o).id,"model-value":String($(t)[$(o).field]??""),placeholder:fe.value,unit:E.value,"input-mode":$(o).inputMode,maxlength:$(o).maxlength,"toggle-label":x.value,"toggle-active":$(o).toggle?!!$(t)[$(o).toggle.field]:!1,"onUpdate:modelValue":q[1]||(q[1]=Y=>$(C)($(o).field,Y)),onToggle:Te,onSubmit:$(c)},null,8,["id","model-value","placeholder","unit","input-mode","maxlength","toggle-label","toggle-active","onSubmit"])),M.value?(m(),ge(K2,{key:2,notice:M.value},null,8,["notice"])):z("",!0)])])):z("",!0)]),!$(r)&&!$(l)?(m(),w("div",fd,[a("button",{type:"button",class:N(["inline-flex items-center gap-2 text-sm font-semibold transition-colors",$(n)>0?"text-gray-700 hover:text-gray-900":"invisible"]),onClick:q[2]||(q[2]=(...Y)=>$(p)&&$(p)(...Y))},[...q[4]||(q[4]=[a("svg",{class:"w-4 h-4",viewBox:"0 0 15 15",fill:"none","aria-hidden":"true"},[a("path",{d:"M14 7.5H1M1 7.5L6.5 2M1 7.5L6.5 13",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1),ee(" zurück ",-1)])],2),a("button",{type:"button",class:N(["btn-primary h-10 min-w-[140px] rounded",{"opacity-50 cursor-not-allowed":!$(f)}]),disabled:!$(f),onClick:q[3]||(q[3]=(...Y)=>$(c)&&$(c)(...Y))},[ee(_(I.value?"Ergebnis anzeigen":"weiter")+" ",1),q[5]||(q[5]=a("svg",{class:"w-4 h-4",viewBox:"0 0 15 15",fill:"none","aria-hidden":"true"},[a("path",{d:"M1 7.5H14M14 7.5L8.5 2M14 7.5L8.5 13",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],10,hd)])):z("",!0),!$(r)&&!$(l)?(m(),w("div",pd,[a("button",{type:"button",class:"text-sm font-semibold underline transition-colors text-gray-500 hover:text-gray-900",onClick:at}," Rechner neu starten ")])):z("",!0)])])]))}}),vd=xe({__name:"App",setup(e){const t=V(()=>{const i=new URLSearchParams(window.location.search).get("flow");return i==="wizard"?!0:i==="classic"?!1:Me.flow==="wizard"});function n(i){const s=i.replace("#","");if(!/^[0-9a-fA-F]{6}$/.test(s))return null;const r=parseInt(s.substring(0,2),16),o=parseInt(s.substring(2,4),16),l=parseInt(s.substring(4,6),16);return`${r} ${o} ${l}`}return Mi(()=>{const i=new URLSearchParams(window.location.search),s=i.get("primaryBg")||i.get("buttonBg"),r=i.get("primaryText")||i.get("buttonText"),o=document.documentElement,l=n(Me.branding.colors.primary);l&&o.style.setProperty("--primary-bg",l);const u=n(Me.branding.colors.success||Me.branding.colors.primary);if(u&&o.style.setProperty("--success-bg",u),s){const f=s.replace("#",""),c=parseInt(f.substring(0,2),16),p=parseInt(f.substring(2,4),16),C=parseInt(f.substring(4,6),16);o.style.setProperty("--primary-bg",`${c} ${p} ${C}`)}if(r){const f=r.replace("#",""),c=parseInt(f.substring(0,2),16),p=parseInt(f.substring(2,4),16),C=parseInt(f.substring(4,6),16);o.style.setProperty("--primary-text-rgb",`${c} ${p} ${C}`),o.style.setProperty("--primary-text-hex",`#${f}`)}}),(i,s)=>(m(),w("div",{class:N(t.value?"bg-transparent":"min-h-screen bg-transparent")},[t.value?(m(),ge(md,{key:0})):(m(),ge(Pc,{key:1}))],2))}});_a(vd).mount("#app");

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.