PageSourceSearch

https://fumoefiori.ch/_nuxt/Dteu4FVQ.js

js fumoefiori.ch collected 2026-10-08 07:56:56 UTC 4,381 bytes, 1 lines download raw bytes

1import{d as S,s as c,c as g,a as l,l as w,b as i,u as o,v as x,n as C,k as U,o as y,j as f,G as B,_ as D}from"./CNS0JZGO.js";import{D as k}from"./C1C0dzHG.js";import{D as r}from"./DNxcLYdX.js";import{J as E,E as A,a as P,C as _,b as M}from"./DHfuIM6-.js";import{P as T,S as v,D as z}from"./CUhf_ouo.js";import{u as V}from"./Bx9bGCmp.js";import{_ as O}from"./B--7OYQe.js";import{o as b}from"./vMa-57hF.js";import{C as h}from"./zApGgCSE.js";import"./DSmCMhwO.js";import"./DuUQDhK2.js";const $={class:"button-group"},L=["disabled"],j=S({__name:"member-survey-form",props:{code:{}},setup(m){const e=c({}),d=c(!1);async function u(){d.value=!0,e.value.dateOfBirth==null||e.value.job==null||e.value.education==null||e.value.clubExpectation==null||e.value.preferredDrink==null||e.value.preferredProducts==null||e.value.consumptionAmount==null||e.value.consumptionLocation==null||e.value.firstChoiceStrain==null||e.value.secondChoiceStrain==null?b(h,{title:"Nicht vollständig",text:"Du hast nicht alle Fragen beantwortet. Und das musst du auch nicht. Aber du hilfst uns mit deinen Antworten sehr. Willst du bereits absenden?",confirmText:"Senden"},{confirm:async n=>s(),close:n=>d.value=!1}):await s()}async function s(){try{await V(`/member-application/${m.code}/survey-exists`,{method:"GET"})?b(h,{title:"Umfrage erneut ausfüllen",text:"Sie haben die Umfrage bereits ausgefüllt. Wollen Sie die Umfrage wirklich erneut ausfüllen? Ihre bestehenden Antworten werden überschrieben.",confirmText:"Senden"},{confirm:async a=>p(),close:a=>d.value=!1}):await p()}catch{await f().push("/confirmation/member-survey-error")}}async function p(){const n=e.value.dateOfBirth;n&&(e.value.dateOfBirth=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate()))),await V(`/member-application/${m.code}/survey`,{method:"POST",body:e.value}),await f().push("/confirmation/member-survey-success")}return(n,a)=>(y(),g("form",{onSubmit:a[12]||(a[12]=U(t=>u(),["prevent"]))},[l(k,{modelValue:o(e).dateOfBirth,"onUpdate:modelValue":a[0]||(a[0]=t=>o(e).dateOfBirth=t),placeholder:"Geburtsdatum"},null,8,["modelValue"]),l(r,{modelValue:o(e).job,"onUpdate:modelValue":a[1]||(a[1]=t=>o(e).job=t),data:o(E).Values(),placeholder:"Beruf"},null,8,["modelValue","data"]),l(r,{modelValue:o(e).education,"onUpdate:modelValue":a[2]||(a[2]=t=>o(e).education=t),data:o(A).Values(),placeholder:"Ausbildung"},null,8,["modelValue","data"]),l(r,{modelValue:o(e).consumptionLocation,"onUpdate:modelValue":a[3]||(a[3]=t=>o(e).consumptionLocation=t),data:o(P).Values(),placeholder:"Bevorzugter Konsumort"},null,8,["modelValue","data"]),l(r,{modelValue:o(e).consumptionAmount,"onUpdate:modelValue":a[4]||(a[4]=t=>o(e).consumptionAmount=t),data:o(_).Values(),placeholder:"Konsumverhalten"},null,8,["modelValue","data"]),l(r,{modelValue:o(e).preferredProducts,"onUpdate:modelValue":a[5]||(a[5]=t=>o(e).preferredProducts=t),data:o(T).Values(),placeholder:"Bevorzugte Produkte"},null,8,["modelValue","data"]),l(r,{modelValue:o(e).firstChoiceStrain,"onUpdate:modelValue":a[6]||(a[6]=t=>o(e).firstChoiceStrain=t),data:o(v).Values(),placeholder:"Sorte erste Wahl (THC:CBD %)"},null,8,["modelValue","data"]),l(r,{modelValue:o(e).secondChoiceStrain,"onUpdate:modelValue":a[7]||(a[7]=t=>o(e).secondChoiceStrain=t),data:o(v).Values(),placeholder:"Sorte zweite Wahl"},null,8,["modelValue","data"]),l(r,{modelValue:o(e).preferredDrink,"onUpdate:modelValue":a[8]||(a[8]=t=>o(e).preferredDrink=t),data:o(z).Values(),placeholder:"Bevorzugte Getränke"},null,8,["modelValue","data"]),l(r,{modelValue:o(e).clubExpectation,"onUpdate:modelValue":a[9]||(a[9]=t=>o(e).clubExpectation=t),data:o(M).Values(),placeholder:"Besonders wünsche ich mir"},null,8,["modelValue","data"]),l(O,{modelValue:o(e).preferredSnack,"onUpdate:modelValue":a[10]||(a[10]=t=>o(e).preferredSnack=t),placeholder:"Bevorzugter Munchie-Snack"},null,8,["modelValue"]),w(i("textarea",{"onUpdate:modelValue":a[11]||(a[11]=t=>o(e).comment=t),rows:"4",placeholder:"Kommentar"},null,512),[[x,o(e).comment]]),i("section",$,[i("button",{type:"submit",disabled:o(d),class:C({loading:o(d)})},"Senden",10,L)])],32))}}),G={class:"page"},W=S({__name:"[code]",setup(m){const e=B().params.code;return(d,u)=>{const s=j;return y(),g("section",G,[u[0]||(u[0]=i("h1",null,"Memberumfrage",-1)),l(s,{code:o(e)},null,8,["code"])])}}}),Z=D(W,[["__scopeId","data-v-ba07366d"]]);export{Z as default};

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