{"ast":null,"code":"import { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule, Validators } from '@angular/forms';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/forms\";\nimport * as i2 from \"../../services/email.service\";\nimport * as i3 from \"@angular/common\";\nfunction ContactComponent_div_19_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 74);\n i0.ɵɵtext(1, \" Vorname ist erforderlich \");\n i0.ɵɵelementEnd();\n }\n}\nfunction ContactComponent_div_24_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 74);\n i0.ɵɵtext(1, \" Nachname ist erforderlich \");\n i0.ɵɵelementEnd();\n }\n}\nfunction ContactComponent_div_29_span_1_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\");\n i0.ɵɵtext(1, \"E-Mail ist erforderlich\");\n i0.ɵɵelementEnd();\n }\n}\nfunction ContactComponent_div_29_span_2_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\");\n i0.ɵɵtext(1, \"Bitte geben Sie eine g\\u00FCltige E-Mail ein\");\n i0.ɵɵelementEnd();\n }\n}\nfunction ContactComponent_div_29_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 74);\n i0.ɵɵtemplate(1, ContactComponent_div_29_span_1_Template, 2, 0, \"span\", 52)(2, ContactComponent_div_29_span_2_Template, 2, 0, \"span\", 52);\n i0.ɵɵelementEnd();\n }\n if (rf & 2) {\n let tmp_1_0;\n let tmp_2_0;\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", (tmp_1_0 = ctx_r0.contactForm.get(\"email\")) == null ? null : tmp_1_0.errors == null ? null : tmp_1_0.errors[\"required\"]);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", (tmp_2_0 = ctx_r0.contactForm.get(\"email\")) == null ? null : tmp_2_0.errors == null ? null : tmp_2_0.errors[\"email\"]);\n }\n}\nfunction ContactComponent_div_56_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 74);\n i0.ɵɵtext(1, \" Bitte w\\u00E4hlen Sie eine Event-Art \");\n i0.ɵɵelementEnd();\n }\n}\nfunction ContactComponent_div_86_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 74);\n i0.ɵɵtext(1, \" Bitte beschreiben Sie Ihre Anfrage \");\n i0.ɵɵelementEnd();\n }\n}\nfunction ContactComponent_div_94_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 75);\n i0.ɵɵtext(1, \" Bitte stimmen Sie der Datenschutzerkl\\u00E4rung zu \");\n i0.ɵɵelementEnd();\n }\n}\nfunction ContactComponent_span_97_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\");\n i0.ɵɵtext(1, \"Anfrage senden\");\n i0.ɵɵelementEnd();\n }\n}\nfunction ContactComponent_span_98_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"span\", 76);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(1, \"svg\", 77);\n i0.ɵɵelement(2, \"circle\", 78)(3, \"path\", 79);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(4, \" Wird gesendet... \");\n i0.ɵɵelementEnd();\n }\n}\nfunction ContactComponent_div_99_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 80)(1, \"div\", 65);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(2, \"svg\", 81);\n i0.ɵɵelement(3, \"path\", 82);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(4, \"span\", 83);\n i0.ɵɵtext(5, \"Vielen Dank f\\u00FCr Ihre Anfrage!\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(6, \"p\", 84);\n i0.ɵɵtext(7, \"Wir werden uns schnellstm\\u00F6glich bei Ihnen melden.\");\n i0.ɵɵelementEnd()();\n }\n}\nexport class ContactComponent {\n constructor(fb, emailService) {\n this.fb = fb;\n this.emailService = emailService;\n this.isSubmitting = false;\n this.showSuccessMessage = false;\n // Set minimum date to today\n const today = new Date();\n this.minDate = today.toISOString().split('T')[0];\n this.contactForm = this.fb.group({\n firstName: ['', Validators.required],\n lastName: ['', Validators.required],\n email: ['', [Validators.required, Validators.email]],\n phone: [''],\n eventType: ['', Validators.required],\n eventDate: [''],\n guestCount: [''],\n budget: [''],\n message: ['', Validators.required],\n privacy: [false, Validators.requiredTrue]\n });\n }\n onSubmit() {\n if (this.contactForm.valid) {\n this.isSubmitting = true;\n const formData = this.contactForm.value;\n this.emailService.sendContactForm(formData).subscribe({\n next: response => {\n this.isSubmitting = false;\n this.showSuccessMessage = true;\n this.contactForm.reset();\n // Hide success message after 5 seconds\n setTimeout(() => {\n this.showSuccessMessage = false;\n }, 5000);\n },\n error: error => {\n this.isSubmitting = false;\n console.error('Error sending contact form:', error);\n // You could show an error message here\n }\n });\n } else {\n // Mark all fields as touched to show validation errors\n Object.keys(this.contactForm.controls).forEach(key => {\n this.contactForm.get(key)?.markAsTouched();\n });\n }\n }\n static {\n this.ɵfac = function ContactComponent_Factory(t) {\n return new (t || ContactComponent)(i0.ɵɵdirectiveInject(i1.FormBuilder), i0.ɵɵdirectiveInject(i2.EmailService));\n };\n }\n static {\n this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n type: ContactComponent,\n selectors: [[\"app-contact\"]],\n standalone: true,\n features: [i0.ɵɵStandaloneFeature],\n decls: 181,\n vars: 22,\n consts: [[1, \"min-h-screen\", \"bg-gray-50\"], [1, \"bg-white\", \"py-16\"], [1, \"max-w-7xl\", \"mx-auto\", \"px-4\", \"sm:px-6\", \"lg:px-8\", \"text-center\"], [1, \"text-4xl\", \"md:text-5xl\", \"font-serif\", \"font-bold\", \"text-gray-900\", \"mb-6\"], [1, \"text-xl\", \"text-gray-600\", \"max-w-3xl\", \"mx-auto\"], [1, \"py-16\"], [1, \"max-w-7xl\", \"mx-auto\", \"px-4\", \"sm:px-6\", \"lg:px-8\"], [1, \"grid\", \"grid-cols-1\", \"lg:grid-cols-2\", \"gap-12\"], [1, \"card\"], [1, \"text-2xl\", \"font-serif\", \"font-bold\", \"text-gray-900\", \"mb-6\"], [1, \"space-y-6\", 3, \"ngSubmit\", \"formGroup\"], [1, \"grid\", \"grid-cols-1\", \"md:grid-cols-2\", \"gap-4\"], [\"for\", \"firstName\", 1, \"block\", \"text-sm\", \"font-medium\", \"text-gray-700\", \"mb-2\"], [\"type\", \"text\", \"id\", \"firstName\", \"formControlName\", \"firstName\", 1, \"input-field\"], [\"class\", \"text-red-500 text-sm mt-1\", 4, \"ngIf\"], [\"for\", \"lastName\", 1, \"block\", \"text-sm\", \"font-medium\", \"text-gray-700\", \"mb-2\"], [\"type\", \"text\", \"id\", \"lastName\", \"formControlName\", \"lastName\", 1, \"input-field\"], [\"for\", \"email\", 1, \"block\", \"text-sm\", \"font-medium\", \"text-gray-700\", \"mb-2\"], [\"type\", \"email\", \"id\", \"email\", \"formControlName\", \"email\", 1, \"input-field\"], [\"for\", \"phone\", 1, \"block\", \"text-sm\", \"font-medium\", \"text-gray-700\", \"mb-2\"], [\"type\", \"tel\", \"id\", \"phone\", \"formControlName\", \"phone\", 1, \"input-field\"], [1, \"border-t\", \"pt-6\"], [1, \"text-lg\", \"font-semibold\", \"text-gray-900\", \"mb-4\"], [\"for\", \"eventType\", 1, \"block\", \"text-sm\", \"font-medium\", \"text-gray-700\", \"mb-2\"], [\"id\", \"eventType\", \"formControlName\", \"eventType\", 1, \"input-field\"], [\"value\", \"\"], [\"value\", \"wedding\"], [\"value\", \"funeral\"], [\"value\", \"corporate\"], [\"value\", \"birthday\"], [\"value\", \"anniversary\"], [\"value\", \"other\"], [\"for\", \"eventDate\", 1, \"block\", \"text-sm\", \"font-medium\", \"text-gray-700\", \"mb-2\"], [\"type\", \"date\", \"id\", \"eventDate\", \"formControlName\", \"eventDate\", 1, \"input-field\", 3, \"min\"], [\"for\", \"guestCount\", 1, \"block\", \"text-sm\", \"font-medium\", \"text-gray-700\", \"mb-2\"], [\"type\", \"number\", \"id\", \"guestCount\", \"formControlName\", \"guestCount\", \"min\", \"1\", 1, \"input-field\"], [\"for\", \"budget\", 1, \"block\", \"text-sm\", \"font-medium\", \"text-gray-700\", \"mb-2\"], [\"id\", \"budget\", \"formControlName\", \"budget\", 1, \"input-field\"], [\"value\", \"under-500\"], [\"value\", \"500-1000\"], [\"value\", \"1000-2500\"], [\"value\", \"2500-5000\"], [\"value\", \"over-5000\"], [\"for\", \"message\", 1, \"block\", \"text-sm\", \"font-medium\", \"text-gray-700\", \"mb-2\"], [\"id\", \"message\", \"formControlName\", \"message\", \"rows\", \"5\", \"placeholder\", \"Beschreiben Sie uns Ihre W\\u00FCnsche und Vorstellungen f\\u00FCr Ihr Event...\", 1, \"textarea-field\"], [1, \"flex\", \"items-start\"], [\"type\", \"checkbox\", \"id\", \"privacy\", \"formControlName\", \"privacy\", 1, \"mt-1\", \"h-4\", \"w-4\", \"text-primary-600\", \"border-gray-300\", \"rounded\", \"focus:ring-primary-500\"], [\"for\", \"privacy\", 1, \"ml-3\", \"text-sm\", \"text-gray-700\"], [\"href\", \"#\", 1, \"text-primary-600\", \"hover:text-primary-700\"], [\"class\", \"text-red-500 text-sm\", 4, \"ngIf\"], [1, \"pt-4\"], [\"type\", \"submit\", 1, \"btn-primary\", \"w-full\", \"disabled:opacity-50\", \"disabled:cursor-not-allowed\", 3, \"disabled\"], [4, \"ngIf\"], [\"class\", \"flex items-center justify-center\", 4, \"ngIf\"], [\"class\", \"mt-6 p-4 bg-green-50 border border-green-200 rounded-lg\", 4, \"ngIf\"], [1, \"space-y-8\"], [1, \"space-y-4\"], [\"fill\", \"currentColor\", \"viewBox\", \"0 0 20 20\", 1, \"w-6\", \"h-6\", \"text-primary-600\", \"mr-3\", \"mt-1\"], [\"d\", \"M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z\"], [\"d\", \"M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z\"], [1, \"font-medium\", \"text-gray-900\"], [1, \"text-gray-600\"], [\"fill-rule\", \"evenodd\", \"d\", \"M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z\", \"clip-rule\", \"evenodd\"], [\"fill-rule\", \"evenodd\", \"d\", \"M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z\", \"clip-rule\", \"evenodd\"], [1, \"space-y-6\"], [1, \"flex\", \"items-center\"], [1, \"w-16\", \"h-16\", \"bg-primary-100\", \"rounded-full\", \"flex\", \"items-center\", \"justify-center\", \"mr-4\"], [1, \"text-primary-600\", \"font-semibold\", \"text-lg\"], [1, \"font-semibold\", \"text-gray-900\"], [1, \"text-sm\", \"text-gray-500\"], [1, \"w-16\", \"h-16\", \"bg-secondary-100\", \"rounded-full\", \"flex\", \"items-center\", \"justify-center\", \"mr-4\"], [1, \"text-secondary-600\", \"font-semibold\", \"text-lg\"], [1, \"font-medium\", \"text-gray-900\", \"mb-2\"], [1, \"text-gray-600\", \"text-sm\"], [1, \"text-red-500\", \"text-sm\", \"mt-1\"], [1, \"text-red-500\", \"text-sm\"], [1, \"flex\", \"items-center\", \"justify-center\"], [\"fill\", \"none\", \"viewBox\", \"0 0 24 24\", 1, \"animate-spin\", \"-ml-1\", \"mr-3\", \"h-5\", \"w-5\", \"text-white\"], [\"cx\", \"12\", \"cy\", \"12\", \"r\", \"10\", \"stroke\", \"currentColor\", \"stroke-width\", \"4\", 1, \"opacity-25\"], [\"fill\", \"currentColor\", \"d\", \"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\", 1, \"opacity-75\"], [1, \"mt-6\", \"p-4\", \"bg-green-50\", \"border\", \"border-green-200\", \"rounded-lg\"], [\"fill\", \"currentColor\", \"viewBox\", \"0 0 20 20\", 1, \"w-5\", \"h-5\", \"text-green-600\", \"mr-2\"], [\"fill-rule\", \"evenodd\", \"d\", \"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\", \"clip-rule\", \"evenodd\"], [1, \"text-green-800\", \"font-medium\"], [1, \"text-green-700\", \"mt-1\"]],\n template: function ContactComponent_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 0)(1, \"section\", 1)(2, \"div\", 2)(3, \"h1\", 3);\n i0.ɵɵtext(4, \" Kontakt \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(5, \"p\", 4);\n i0.ɵɵtext(6, \" Haben Sie Fragen oder m\\u00F6chten Sie ein unverbindliches Angebot f\\u00FCr Ihr Event? Wir freuen uns auf Ihre Nachricht und beraten Sie gerne pers\\u00F6nlich. \");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(7, \"section\", 5)(8, \"div\", 6)(9, \"div\", 7)(10, \"div\", 8)(11, \"h2\", 9);\n i0.ɵɵtext(12, \" Anfrage senden \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(13, \"form\", 10);\n i0.ɵɵlistener(\"ngSubmit\", function ContactComponent_Template_form_ngSubmit_13_listener() {\n return ctx.onSubmit();\n });\n i0.ɵɵelementStart(14, \"div\", 11)(15, \"div\")(16, \"label\", 12);\n i0.ɵɵtext(17, \" Vorname * \");\n i0.ɵɵelementEnd();\n i0.ɵɵelement(18, \"input\", 13);\n i0.ɵɵtemplate(19, ContactComponent_div_19_Template, 2, 0, \"div\", 14);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(20, \"div\")(21, \"label\", 15);\n i0.ɵɵtext(22, \" Nachname * \");\n i0.ɵɵelementEnd();\n i0.ɵɵelement(23, \"input\", 16);\n i0.ɵɵtemplate(24, ContactComponent_div_24_Template, 2, 0, \"div\", 14);\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(25, \"div\")(26, \"label\", 17);\n i0.ɵɵtext(27, \" E-Mail-Adresse * \");\n i0.ɵɵelementEnd();\n i0.ɵɵelement(28, \"input\", 18);\n i0.ɵɵtemplate(29, ContactComponent_div_29_Template, 3, 2, \"div\", 14);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(30, \"div\")(31, \"label\", 19);\n i0.ɵɵtext(32, \" Telefonnummer \");\n i0.ɵɵelementEnd();\n i0.ɵɵelement(33, \"input\", 20);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(34, \"div\", 21)(35, \"h3\", 22);\n i0.ɵɵtext(36, \"Event-Details\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(37, \"div\", 11)(38, \"div\")(39, \"label\", 23);\n i0.ɵɵtext(40, \" Art des Events * \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(41, \"select\", 24)(42, \"option\", 25);\n i0.ɵɵtext(43, \"Bitte w\\u00E4hlen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(44, \"option\", 26);\n i0.ɵɵtext(45, \"Hochzeit\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(46, \"option\", 27);\n i0.ɵɵtext(47, \"Beerdigung\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(48, \"option\", 28);\n i0.ɵɵtext(49, \"Firmenevent\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(50, \"option\", 29);\n i0.ɵɵtext(51, \"Geburtstag\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(52, \"option\", 30);\n i0.ɵɵtext(53, \"Jubil\\u00E4um\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(54, \"option\", 31);\n i0.ɵɵtext(55, \"Sonstiges\");\n i0.ɵɵelementEnd()();\n i0.ɵɵtemplate(56, ContactComponent_div_56_Template, 2, 0, \"div\", 14);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(57, \"div\")(58, \"label\", 32);\n i0.ɵɵtext(59, \" Gew\\u00FCnschtes Datum \");\n i0.ɵɵelementEnd();\n i0.ɵɵelement(60, \"input\", 33);\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(61, \"div\", 11)(62, \"div\")(63, \"label\", 34);\n i0.ɵɵtext(64, \" Anzahl G\\u00E4ste (ca.) \");\n i0.ɵɵelementEnd();\n i0.ɵɵelement(65, \"input\", 35);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(66, \"div\")(67, \"label\", 36);\n i0.ɵɵtext(68, \" Budget (ca.) \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(69, \"select\", 37)(70, \"option\", 25);\n i0.ɵɵtext(71, \"Bitte w\\u00E4hlen\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(72, \"option\", 38);\n i0.ɵɵtext(73, \"Unter 500\\u20AC\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(74, \"option\", 39);\n i0.ɵɵtext(75, \"500\\u20AC - 1.000\\u20AC\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(76, \"option\", 40);\n i0.ɵɵtext(77, \"1.000\\u20AC - 2.500\\u20AC\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(78, \"option\", 41);\n i0.ɵɵtext(79, \"2.500\\u20AC - 5.000\\u20AC\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(80, \"option\", 42);\n i0.ɵɵtext(81, \"\\u00DCber 5.000\\u20AC\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(82, \"div\")(83, \"label\", 43);\n i0.ɵɵtext(84, \" Ihre Nachricht * \");\n i0.ɵɵelementEnd();\n i0.ɵɵelement(85, \"textarea\", 44);\n i0.ɵɵtemplate(86, ContactComponent_div_86_Template, 2, 0, \"div\", 14);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(87, \"div\", 45);\n i0.ɵɵelement(88, \"input\", 46);\n i0.ɵɵelementStart(89, \"label\", 47);\n i0.ɵɵtext(90, \" Ich stimme der Verarbeitung meiner Daten gem\\u00E4\\u00DF der \");\n i0.ɵɵelementStart(91, \"a\", 48);\n i0.ɵɵtext(92, \"Datenschutzerkl\\u00E4rung\");\n i0.ɵɵelementEnd();\n i0.ɵɵtext(93, \" zu. * \");\n i0.ɵɵelementEnd()();\n i0.ɵɵtemplate(94, ContactComponent_div_94_Template, 2, 0, \"div\", 49);\n i0.ɵɵelementStart(95, \"div\", 50)(96, \"button\", 51);\n i0.ɵɵtemplate(97, ContactComponent_span_97_Template, 2, 0, \"span\", 52)(98, ContactComponent_span_98_Template, 5, 0, \"span\", 53);\n i0.ɵɵelementEnd()()();\n i0.ɵɵtemplate(99, ContactComponent_div_99_Template, 8, 0, \"div\", 54);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(100, \"div\", 55)(101, \"div\", 8)(102, \"h2\", 9);\n i0.ɵɵtext(103, \" Kontaktinformationen \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(104, \"div\", 56)(105, \"div\", 45);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(106, \"svg\", 57);\n i0.ɵɵelement(107, \"path\", 58)(108, \"path\", 59);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(109, \"div\")(110, \"h3\", 60);\n i0.ɵɵtext(111, \"E-Mail\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(112, \"p\", 61);\n i0.ɵɵtext(113, \"info@florale-emotion.de\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(114, \"div\", 45);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(115, \"svg\", 57);\n i0.ɵɵelement(116, \"path\", 62);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(117, \"div\")(118, \"h3\", 60);\n i0.ɵɵtext(119, \"Standort\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(120, \"p\", 61);\n i0.ɵɵtext(121, \"Deutschland\");\n i0.ɵɵelement(122, \"br\");\n i0.ɵɵtext(123, \"Termine nach Vereinbarung\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(124, \"div\", 45);\n i0.ɵɵnamespaceSVG();\n i0.ɵɵelementStart(125, \"svg\", 57);\n i0.ɵɵelement(126, \"path\", 63);\n i0.ɵɵelementEnd();\n i0.ɵɵnamespaceHTML();\n i0.ɵɵelementStart(127, \"div\")(128, \"h3\", 60);\n i0.ɵɵtext(129, \"Beratungszeiten\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(130, \"p\", 61);\n i0.ɵɵtext(131, \" Montag - Freitag: 9:00 - 18:00\");\n i0.ɵɵelement(132, \"br\");\n i0.ɵɵtext(133, \" Samstag: 10:00 - 16:00\");\n i0.ɵɵelement(134, \"br\");\n i0.ɵɵtext(135, \" Sonntag: Nach Vereinbarung \");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(136, \"div\", 8)(137, \"h2\", 9);\n i0.ɵɵtext(138, \" Unser Team \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(139, \"div\", 64)(140, \"div\", 65)(141, \"div\", 66)(142, \"span\", 67);\n i0.ɵɵtext(143, \"V\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(144, \"div\")(145, \"h3\", 68);\n i0.ɵɵtext(146, \"Veronika\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(147, \"p\", 61);\n i0.ɵɵtext(148, \"Floristmeisterin & Gesch\\u00E4ftsf\\u00FChrung\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(149, \"p\", 69);\n i0.ɵɵtext(150, \"veronika@florale-emotion.de\");\n i0.ɵɵelementEnd()()();\n i0.ɵɵelementStart(151, \"div\", 65)(152, \"div\", 70)(153, \"span\", 71);\n i0.ɵɵtext(154, \"C\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(155, \"div\")(156, \"h3\", 68);\n i0.ɵɵtext(157, \"Corinna\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(158, \"p\", 61);\n i0.ɵɵtext(159, \"Floristin & Eventplanung\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(160, \"p\", 69);\n i0.ɵɵtext(161, \"corinna@florale-emotion.de\");\n i0.ɵɵelementEnd()()()()();\n i0.ɵɵelementStart(162, \"div\", 8)(163, \"h2\", 9);\n i0.ɵɵtext(164, \" H\\u00E4ufige Fragen \");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(165, \"div\", 56)(166, \"div\")(167, \"h3\", 72);\n i0.ɵɵtext(168, \"Wie weit im Voraus sollte ich buchen?\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(169, \"p\", 73);\n i0.ɵɵtext(170, \"F\\u00FCr Hochzeiten empfehlen wir eine Buchung 3-6 Monate im Voraus. Bei anderen Events reichen meist 2-4 Wochen.\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(171, \"div\")(172, \"h3\", 72);\n i0.ɵɵtext(173, \"Liefern Sie auch au\\u00DFerhalb der Region?\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(174, \"p\", 73);\n i0.ɵɵtext(175, \"Ja, wir liefern deutschlandweit. Die Lieferkosten werden individuell berechnet.\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(176, \"div\")(177, \"h3\", 72);\n i0.ɵɵtext(178, \"Bieten Sie auch Beratungstermine an?\");\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(179, \"p\", 73);\n i0.ɵɵtext(180, \"Selbstverst\\u00E4ndlich! Wir kommen gerne zu Ihnen oder Sie besuchen uns in unserem Atelier.\");\n i0.ɵɵelementEnd()()()()()()()()();\n }\n if (rf & 2) {\n let tmp_1_0;\n let tmp_2_0;\n let tmp_3_0;\n let tmp_4_0;\n let tmp_5_0;\n let tmp_6_0;\n let tmp_7_0;\n let tmp_8_0;\n let tmp_10_0;\n let tmp_11_0;\n let tmp_12_0;\n i0.ɵɵadvance(13);\n i0.ɵɵproperty(\"formGroup\", ctx.contactForm);\n i0.ɵɵadvance(5);\n i0.ɵɵclassProp(\"border-red-500\", ((tmp_1_0 = ctx.contactForm.get(\"firstName\")) == null ? null : tmp_1_0.invalid) && ((tmp_1_0 = ctx.contactForm.get(\"firstName\")) == null ? null : tmp_1_0.touched));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ((tmp_2_0 = ctx.contactForm.get(\"firstName\")) == null ? null : tmp_2_0.invalid) && ((tmp_2_0 = ctx.contactForm.get(\"firstName\")) == null ? null : tmp_2_0.touched));\n i0.ɵɵadvance(4);\n i0.ɵɵclassProp(\"border-red-500\", ((tmp_3_0 = ctx.contactForm.get(\"lastName\")) == null ? null : tmp_3_0.invalid) && ((tmp_3_0 = ctx.contactForm.get(\"lastName\")) == null ? null : tmp_3_0.touched));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ((tmp_4_0 = ctx.contactForm.get(\"lastName\")) == null ? null : tmp_4_0.invalid) && ((tmp_4_0 = ctx.contactForm.get(\"lastName\")) == null ? null : tmp_4_0.touched));\n i0.ɵɵadvance(4);\n i0.ɵɵclassProp(\"border-red-500\", ((tmp_5_0 = ctx.contactForm.get(\"email\")) == null ? null : tmp_5_0.invalid) && ((tmp_5_0 = ctx.contactForm.get(\"email\")) == null ? null : tmp_5_0.touched));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ((tmp_6_0 = ctx.contactForm.get(\"email\")) == null ? null : tmp_6_0.invalid) && ((tmp_6_0 = ctx.contactForm.get(\"email\")) == null ? null : tmp_6_0.touched));\n i0.ɵɵadvance(12);\n i0.ɵɵclassProp(\"border-red-500\", ((tmp_7_0 = ctx.contactForm.get(\"eventType\")) == null ? null : tmp_7_0.invalid) && ((tmp_7_0 = ctx.contactForm.get(\"eventType\")) == null ? null : tmp_7_0.touched));\n i0.ɵɵadvance(15);\n i0.ɵɵproperty(\"ngIf\", ((tmp_8_0 = ctx.contactForm.get(\"eventType\")) == null ? null : tmp_8_0.invalid) && ((tmp_8_0 = ctx.contactForm.get(\"eventType\")) == null ? null : tmp_8_0.touched));\n i0.ɵɵadvance(4);\n i0.ɵɵproperty(\"min\", ctx.minDate);\n i0.ɵɵadvance(25);\n i0.ɵɵclassProp(\"border-red-500\", ((tmp_10_0 = ctx.contactForm.get(\"message\")) == null ? null : tmp_10_0.invalid) && ((tmp_10_0 = ctx.contactForm.get(\"message\")) == null ? null : tmp_10_0.touched));\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ((tmp_11_0 = ctx.contactForm.get(\"message\")) == null ? null : tmp_11_0.invalid) && ((tmp_11_0 = ctx.contactForm.get(\"message\")) == null ? null : tmp_11_0.touched));\n i0.ɵɵadvance(8);\n i0.ɵɵproperty(\"ngIf\", ((tmp_12_0 = ctx.contactForm.get(\"privacy\")) == null ? null : tmp_12_0.invalid) && ((tmp_12_0 = ctx.contactForm.get(\"privacy\")) == null ? null : tmp_12_0.touched));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"disabled\", ctx.contactForm.invalid || ctx.isSubmitting);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", !ctx.isSubmitting);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.isSubmitting);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.showSuccessMessage);\n }\n },\n dependencies: [CommonModule, i3.NgIf, ReactiveFormsModule, i1.ɵNgNoValidate, i1.NgSelectOption, i1.ɵNgSelectMultipleOption, i1.DefaultValueAccessor, i1.NumberValueAccessor, i1.CheckboxControlValueAccessor, i1.SelectControlValueAccessor, i1.NgControlStatus, i1.NgControlStatusGroup, i1.MinValidator, i1.FormGroupDirective, i1.FormControlName],\n encapsulation: 2\n });\n }\n}","map":{"version":3,"names":["CommonModule","ReactiveFormsModule","Validators","i0","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵtemplate","ContactComponent_div_29_span_1_Template","ContactComponent_div_29_span_2_Template","ɵɵadvance","ɵɵproperty","tmp_1_0","ctx_r0","contactForm","get","errors","tmp_2_0","ɵɵelement","ContactComponent","constructor","fb","emailService","isSubmitting","showSuccessMessage","today","Date","minDate","toISOString","split","group","firstName","required","lastName","email","phone","eventType","eventDate","guestCount","budget","message","privacy","requiredTrue","onSubmit","valid","formData","value","sendContactForm","subscribe","next","response","reset","setTimeout","error","console","Object","keys","controls","forEach","key","markAsTouched","ɵɵdirectiveInject","i1","FormBuilder","i2","EmailService","selectors","standalone","features","ɵɵStandaloneFeature","decls","vars","consts","template","ContactComponent_Template","rf","ctx","ɵɵlistener","ContactComponent_Template_form_ngSubmit_13_listener","ContactComponent_div_19_Template","ContactComponent_div_24_Template","ContactComponent_div_29_Template","ContactComponent_div_56_Template","ContactComponent_div_86_Template","ContactComponent_div_94_Template","ContactComponent_span_97_Template","ContactComponent_span_98_Template","ContactComponent_div_99_Template","ɵɵclassProp","invalid","touched","tmp_3_0","tmp_4_0","tmp_5_0","tmp_6_0","tmp_7_0","tmp_8_0","tmp_10_0","tmp_11_0","tmp_12_0","i3","NgIf","ɵNgNoValidate","NgSelectOption","ɵNgSelectMultipleOption","DefaultValueAccessor","NumberValueAccessor","CheckboxControlValueAccessor","SelectControlValueAccessor","NgControlStatus","NgControlStatusGroup","MinValidator","FormGroupDirective","FormControlName","encapsulation"],"sources":["/Users/julianvollmer/workspace/florale-emotion/src/app/pages/contact/contact.component.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule, FormBuilder, FormGroup, Validators } from '@angular/forms';\nimport { EmailService, ContactFormData } from '../../services/email.service';\n\n@Component({\n selector: 'app-contact',\n standalone: true,\n imports: [CommonModule, ReactiveFormsModule],\n template: `\n
\n Haben Sie Fragen oder möchten Sie ein unverbindliches Angebot für Ihr Event? \n Wir freuen uns auf Ihre Nachricht und beraten Sie gerne persönlich.\n
\nWir werden uns schnellstmöglich bei Ihnen melden.
\ninfo@florale-emotion.de
\nDeutschland
Termine nach Vereinbarung
\n Montag - Freitag: 9:00 - 18:00
\n Samstag: 10:00 - 16:00
\n Sonntag: Nach Vereinbarung\n
Floristmeisterin & Geschäftsführung
\nveronika@florale-emotion.de
\nFloristin & Eventplanung
\ncorinna@florale-emotion.de
\nFür Hochzeiten empfehlen wir eine Buchung 3-6 Monate im Voraus. Bei anderen Events reichen meist 2-4 Wochen.
\nJa, wir liefern deutschlandweit. Die Lieferkosten werden individuell berechnet.
\nSelbstverständlich! Wir kommen gerne zu Ihnen oder Sie besuchen uns in unserem Atelier.
\n