{"version":3,"sources":["webpack:///./node_modules/date-fns/esm/differenceInCalendarYears/index.js","webpack:///./node_modules/date-fns/esm/compareAsc/index.js","webpack:///./node_modules/date-fns/esm/differenceInYears/index.js","webpack:///./src/views/checkin/adult.view.vue?844f","webpack:///./src/views/checkin/adult.view.vue","webpack:///./src/views/checkin/adult.view.vue?0d2f","webpack:///./src/views/checkin/minorQuestion.view.vue?f245","webpack:///./src/views/checkin/minorQuestion.view.vue?9d78","webpack:///./src/views/checkin/minorQuestion.view.vue","webpack:///./src/views/checkin/minorQuestion.view.vue?b627","webpack:///./src/views/checkin/adult.view.vue?0954","webpack:///./src/views/checkin/adult.view.vue?5241","webpack:///./src/views/checkin/minorQuestion.view.vue?99cd","webpack:///./src/common/components/form-ui/checkbox.component.vue?79ab","webpack:///./src/common/components/form-ui/checkbox.component.vue?1c5e","webpack:///./src/common/components/form-ui/checkbox.component.vue?a101","webpack:///./src/common/components/form-ui/checkbox.component.vue","webpack:///./src/common/components/form-ui/checkbox.component.vue?b28b","webpack:///./src/common/components/form-ui/checkbox.component.vue?2708","webpack:///./src/views/checkin/adult.view.vue?c0a9","webpack:///./src/views/checkin/minorQuestion.view.vue?54ff"],"names":["differenceInCalendarYears","dirtyDateLeft","dirtyDateRight","requiredArgs","arguments","dateLeft","toDate","dateRight","getFullYear","compareAsc","diff","getTime","differenceInYears","sign","difference","Math","abs","setFullYear","isLastYearNotFull","result","Number","_withScopeId","n","_pushScopeId","_popScopeId","_hoisted_1","key","id","class","_hoisted_2","_hoisted_3","_hoisted_4","notranslate","_hoisted_5","_hoisted_6","_createElementVNode","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","for","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","render","_ctx","_cache","$props","$setup","$data","$options","_ctx$skiRentalFields$","_ctx$skiRentalFields","_ctx$skiRentalFields$2","_ctx$skiRentalFields2","_ctx$skiRentalFields$3","_ctx$skiRentalFields3","_ctx$skiRentalFields$4","_ctx$skiRentalFields4","_component_loader_display","_resolveComponent","_component_text_input","_component_date_input","_component_custom_field_input","_component_ski_rental_input","_component_checkbox","_component_OnClickOutside","_openBlock","_createElementBlock","isLoading","_createBlock","showBackBtn","onClick","$event","$router","go","_createCommentVNode","partyName","_createTextVNode","_toDisplayString","adultAgeMsg","isEditing","resetWaiver","_normalizeClass","_createVNode","label","modelValue","consenter","email","type","showError","errors","onOnBlur","validateEmail","errorMsg","disabled","day","dateOfBirth","month","year","onOnDateEntered","validateBirthday","checkExisting","firstName","lastName","_withDirectives","name","countryKey","onChange","manualLocationEntry","_Fragment","_renderList","countryOptions","country","i","value","CountryKey","Name","_vModelSelect","zipCode","validateZip","_vShow","showZipField","city","state","states","selected","_vModelText","formattedLocation","customFields","field","customField","ref_for","ref","collectSkiRentalInfo","responses","skiRentalFields","experience","skiExperienceKey","skiExp","helpText","heights","skiHeightKey","skiHeight","weights","skiWeightKey","skiWeight","shoes","skiShoeSizeKey","skiShoes","emailOptIn","checked","_withModifiers","onNext","emailValidation","isValidating","hasCheckins","editCompleted","checkinCompleteCount","checkinNeededCount","showModal","onTrigger","tryEmailAgain","default","_withCtx","onContinue","_","pendingConsent","editPendingConsent","ZIP_EXCLUDED_COUNTRIES","Set","AdultView","Vue","constructor","customFieldResponses","autoLoaded","emailCache","addingMinors","timer","this","_kioskModule$order$Ch","_kioskModule$order","kioskModule","order","CheckInOrderEntities","every","a","AdultsOnly","_kioskModule$order$La","_kioskModule$order2","LastName","z","getZipLocation","has","_kioskModule$order$To","_kioskModule$order3","TotalPeopleCheckedIn","_kioskModule$order$To2","_kioskModule$order4","TotalPeople","_kioskModule$order5","adultAge","Object","values","v","skiRentalFieldResponses","_session","addMinorsWatcher","clearMinorParticipants","validFormat","test","resetSession","console","log","push","query","$route","apiService","get","then","valid","catch","clearTimeout","setTimeout","ds","searchWaiver","orderKey","error","c","_c$signatureBase","forms","ConsentForms","session","consentKey","ConsentKey","consentGuid","ConsentGuid","consentMinors","ConsentMinors","map","minor","FirstName","Date","DateOfBirth","getDate","getMonth","formatted","format","guid","Guid","consentMinorGuid","ConsentMinorGUid","canDelete","consentMinorKey","ConsentMinorKey","DIN_ExperienceLevelHistoryKey","DIN_HeightHistoryKey","DIN_WeightHistoryKey","DIN_ShoeSizeHistoryKey","CustomFields","isParticipating","IsParticipating","Email","EmailOptIn","ZipCode","City","State","signatureBase64","SignatureBase64","languageKey","LanguageKey","assignedActivities","UserConsentOrderEntityTimes","forEach","time","timeParticipants","Consentees","Consentor","m","length","activityParticipants","OrderEntityTimeKey","add","editActivities","Array","from","signature","updateAdult","saveSession","enteredBday","dob","validateSkiRentalFields","undefined","created","updateOrderKey","params","startSession","updateLastPage","toString","res","finally","mounted","_kioskModule$_client","cf","_client","ConsentForm","googleGet","address","find","window","config","GoogleApiKey","status","results","address_components","short_name","formatted_address","ac","includes","formValid","validateForm","verifyEmail","verified","_document$getElements","document","getElementsByClassName","scrollIntoView","behavior","minorParticipants","_this$customFields","replaceAll","cfElementMatches","$refs","response","validate","_document$getElementB","_document$getElementB2","getElementById","focus","select","__decorate","Watch","Options","components","YesNoInput","CustomFieldInput","TextInput","DateInput","OnClickOutside","SkiRentalInput","BooleanInput","Checkbox","beforeRouteEnter","to","next","vm","__exports__","___CSS_LOADER_API_IMPORT___","exports","module","_component_yes_no_input","adultsOnlyConsent","yesBtn","onOnStatusChange","route","unassigned","content","__esModule","locals","style","_normalizeStyle","enabledColor","innerHTML","iLib","getIcon","Icons","CHECK_MARK","iconLibrary","Prop"],"mappings":"2KAuBe,SAASA,EAA0BC,EAAeC,GAC/D,OAA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AA,CAAPsC,kB,8BACOtC,eAAA,CAAPsC,kB,mCAFmB3B,EAAQX,eAAA,CAH5BE,eAAQ,CACR5O,KAAM,cAEcqP,W,iCCDrB,MAAMK,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAASxT,GAAQ,CAAC,YAAY,qBAE1E,U,qBCNf,IAAIkU,EAAU,EAAQ,QACnBA,EAAQC,aAAYD,EAAUA,EAAQ3M,SACnB,kBAAZ2M,IAAsBA,EAAU,CAAC,CAACP,EAAOrP,EAAI4P,EAAS,MAC7DA,EAAQE,SAAQT,EAAOD,QAAUQ,EAAQE,QAE5C,IAAItF,EAAM,EAAQ,QAAqEvH,QAC1EuH,EAAI,WAAYoF,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,K,qBCR5E,IAAIT,EAA8B,EAAQ,QAC1CC,EAAUD,GAA4B,GAEtCC,EAAQhJ,KAAK,CAACiJ,EAAOrP,EAAI,orDAAqrD,KAE9sDqP,EAAOD,QAAUA,G,kCCNjB","file":"js/checkin-3.71ef7bc57f92bed9480c.js","sourcesContent":["import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name differenceInCalendarYears\n * @category Year Helpers\n * @summary Get the number of calendar years between the given dates.\n *\n * @description\n * Get the number of calendar years between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar years\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many calendar years are between 31 December 2013 and 11 February 2015?\n * const result = differenceInCalendarYears(\n * new Date(2015, 1, 11),\n * new Date(2013, 11, 31)\n * )\n * //=> 2\n */\nexport default function differenceInCalendarYears(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n return dateLeft.getFullYear() - dateRight.getFullYear();\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name compareAsc\n * @category Common Helpers\n * @summary Compare the two dates and return -1, 0 or 1.\n *\n * @description\n * Compare the two dates and return 1 if the first date is after the second,\n * -1 if the first date is before the second or 0 if dates are equal.\n *\n * @param {Date|Number} dateLeft - the first date to compare\n * @param {Date|Number} dateRight - the second date to compare\n * @returns {Number} the result of the comparison\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Compare 11 February 1987 and 10 July 1989:\n * const result = compareAsc(new Date(1987, 1, 11), new Date(1989, 6, 10))\n * //=> -1\n *\n * @example\n * // Sort the array of dates:\n * const result = [\n * new Date(1995, 6, 2),\n * new Date(1987, 1, 11),\n * new Date(1989, 6, 10)\n * ].sort(compareAsc)\n * //=> [\n * // Wed Feb 11 1987 00:00:00,\n * // Mon Jul 10 1989 00:00:00,\n * // Sun Jul 02 1995 00:00:00\n * // ]\n */\nexport default function compareAsc(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n var diff = dateLeft.getTime() - dateRight.getTime();\n if (diff < 0) {\n return -1;\n } else if (diff > 0) {\n return 1;\n // Return 0 if diff is 0; return NaN if diff is NaN\n } else {\n return diff;\n }\n}","import toDate from \"../toDate/index.js\";\nimport differenceInCalendarYears from \"../differenceInCalendarYears/index.js\";\nimport compareAsc from \"../compareAsc/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name differenceInYears\n * @category Year Helpers\n * @summary Get the number of full years between the given dates.\n *\n * @description\n * Get the number of full years between the given dates.\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of full years\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many full years are between 31 December 2013 and 11 February 2015?\n * const result = differenceInYears(new Date(2015, 1, 11), new Date(2013, 11, 31))\n * //=> 1\n */\nexport default function differenceInYears(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n var sign = compareAsc(dateLeft, dateRight);\n var difference = Math.abs(differenceInCalendarYears(dateLeft, dateRight));\n\n // Set both dates to a valid leap year for accurate comparison when dealing\n // with leap days\n dateLeft.setFullYear(1584);\n dateRight.setFullYear(1584);\n\n // Math.abs(diff in full years - diff in calendar years) === 1 if last calendar year is not full\n // If so, result must be decreased by 1 in absolute value\n var isLastYearNotFull = compareAsc(dateLeft, dateRight) === -sign;\n var result = sign * (difference - Number(isLastYearNotFull));\n // Prevent negative zero\n return result === 0 ? 0 : result;\n}","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, vModelSelect as _vModelSelect, withDirectives as _withDirectives, vShow as _vShow, vModelText as _vModelText, normalizeClass as _normalizeClass, withModifiers as _withModifiers, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-a6f1eec4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 1,\n id: \"adultInfoWrapper\",\n class: \"flex-col view-wrapper\"\n}\nconst _hoisted_2 = {\n id: \"expCheckin\",\n class: \"flex-col page-header\"\n}\nconst _hoisted_3 = {\n key: 1,\n class: \"page-title bold\"\n}\nconst _hoisted_4 = { notranslate: \"\" }\nconst _hoisted_5 = {\n key: 2,\n class: \"page-title bold\"\n}\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"br\", null, null, -1))\nconst _hoisted_7 = {\n key: 0,\n class: \"info-box\"\n}\nconst _hoisted_8 = {\n id: \"infoForm\",\n class: \"flex-col\"\n}\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"info-header flex-col\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"form-title bold\" }, \"Personal Information\")\n], -1))\nconst _hoisted_10 = { class: \"form-row\" }\nconst _hoisted_11 = { class: \"form-input flex-col\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { for: \"country\" }, \"Country\", -1))\nconst _hoisted_13 = { class: \"si-sel-wrapper\" }\nconst _hoisted_14 = [\"disabled\"]\nconst _hoisted_15 = [\"value\"]\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"invalid-input-text\" }, \"This field is required\", -1))\nconst _hoisted_17 = {\n key: 0,\n class: \"form-input flex-col\"\n}\nconst _hoisted_18 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { for: \"cityState\" }, \"City & State\", -1))\nconst _hoisted_19 = {\n class: \"si-input flex-row\",\n id: \"manualLocation\"\n}\nconst _hoisted_20 = [\"disabled\"]\nconst _hoisted_21 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"invalid-input-text\" }, \"This field is required\", -1))\nconst _hoisted_22 = {\n key: 1,\n class: \"form-row\"\n}\nconst _hoisted_23 = { class: \"form-input flex-col\" }\nconst _hoisted_24 = {\n key: 0,\n class: \"si-sel-wrapper\"\n}\nconst _hoisted_25 = [\"disabled\"]\nconst _hoisted_26 = [\"value\", \"selected\"]\nconst _hoisted_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"invalid-input-text\" }, \"This field is required\", -1))\nconst _hoisted_28 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"flex-col gap-8\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"bold\" }, \"Sign up for our mailing list\"),\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-sm\" }, \"Stay up to date and receive special promotions, insider access, and upcoming events from us!\")\n], -1))\nconst _hoisted_29 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, null, -1))\nconst _hoisted_30 = {\n key: 0,\n class: \"loader-sm\"\n}\nconst _hoisted_31 = { key: 1 }\nconst _hoisted_32 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, \"View Completed Waivers\", -1))\nconst _hoisted_33 = { class: \"badge\" }\nconst _hoisted_34 = {\n key: 2,\n id: \"emailModal\",\n class: \"modal\"\n}\nconst _hoisted_35 = { class: \"modal-content\" }\nconst _hoisted_36 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Are you sure this is a real email address?\", -1))\nconst _hoisted_37 = { class: \"flex-row\" }\nconst _hoisted_38 = {\n key: 3,\n id: \"editModal\",\n class: \"modal\"\n}\nconst _hoisted_39 = { class: \"modal-content\" }\nconst _hoisted_40 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"large\" }, \"It looks like you have previously filled out a waiver. Would you like to edit that instead?\", -1))\nconst _hoisted_41 = { class: \"flex-row\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_loader_display = _resolveComponent(\"loader-display\")!\n const _component_text_input = _resolveComponent(\"text-input\")!\n const _component_date_input = _resolveComponent(\"date-input\")!\n const _component_custom_field_input = _resolveComponent(\"custom-field-input\")!\n const _component_ski_rental_input = _resolveComponent(\"ski-rental-input\")!\n const _component_checkbox = _resolveComponent(\"checkbox\")!\n const _component_OnClickOutside = _resolveComponent(\"OnClickOutside\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_ctx.isLoading)\n ? (_openBlock(), _createBlock(_component_loader_display, { key: 0 }))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.showBackBtn)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"back-btn\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$router.go(-1)))\n }))\n : _createCommentVNode(\"\", true),\n (_ctx.partyName)\n ? (_openBlock(), _createElementBlock(\"h3\", _hoisted_3, [\n _createTextVNode(\" Fill out a waiver for \"),\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(_ctx.partyName), 1),\n _createTextVNode(\" party \")\n ]))\n : (_openBlock(), _createElementBlock(\"h3\", _hoisted_5, \"Fill out a waiver\")),\n _createElementVNode(\"span\", null, [\n _createTextVNode(\"We need your information whether you are completing this waiver for yourself or if you are a parent/guardian completing this waiver on behalf of a minor/child.\"),\n _hoisted_6,\n _createTextVNode(_toDisplayString(_ctx.adultAgeMsg), 1)\n ])\n ]),\n (_ctx.isEditing)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _createTextVNode(\" This information is tied to your signature and cannot be changed. If you need to update the information below please \"),\n _createElementVNode(\"button\", {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.resetWaiver()))\n }, \"fill out a new waiver\"),\n _createTextVNode(\". You can add minors and activities in the following steps. \")\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_8, [\n _hoisted_9,\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"form-wrapper\", { isEditing: _ctx.isEditing }])\n }, [\n _createVNode(_component_text_input, {\n label: 'Email',\n modelValue: _ctx.consenter.email,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.consenter.email) = $event)),\n type: 'email',\n showError: _ctx.errors.email,\n onOnBlur: _cache[3] || (_cache[3] = ($event: any) => (_ctx.validateEmail())),\n errorMsg: 'A valid email is required',\n id: 'email',\n disabled: _ctx.isEditing\n }, null, 8, [\"modelValue\", \"showError\", \"disabled\"]),\n _createVNode(_component_date_input, {\n label: 'Your birthday',\n day: _ctx.consenter.dateOfBirth.day,\n month: _ctx.consenter.dateOfBirth.month,\n year: _ctx.consenter.dateOfBirth.year,\n errorMsg: _ctx.adultAgeMsg,\n onOnDateEntered: _cache[4] || (_cache[4] = ($event: any) => (_ctx.consenter.dateOfBirth = $event)),\n onOnBlur: _cache[5] || (_cache[5] = ($event: any) => {\n\t\t\t\t\t\t\t_ctx.validateBirthday();\n\t\t\t\t\t\t\t_ctx.checkExisting();\n\t\t\t\t\t\t}),\n showError: _ctx.errors.dateOfBirth,\n id: 'dateOfBirth',\n disabled: _ctx.isEditing\n }, null, 8, [\"day\", \"month\", \"year\", \"errorMsg\", \"showError\", \"disabled\"]),\n _createVNode(_component_text_input, {\n label: 'First name',\n modelValue: _ctx.consenter.firstName,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_ctx.consenter.firstName) = $event)),\n showError: _ctx.errors.firstName,\n onOnBlur: _cache[7] || (_cache[7] = ($event: any) => {\n\t\t\t\t\t\t\t_ctx.errors.firstName = $event;\n\t\t\t\t\t\t\t_ctx.checkExisting();\n\t\t\t\t\t\t}),\n id: 'firstName',\n disabled: _ctx.isEditing\n }, null, 8, [\"modelValue\", \"showError\", \"disabled\"]),\n _createVNode(_component_text_input, {\n label: 'Last name',\n modelValue: _ctx.consenter.lastName,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_ctx.consenter.lastName) = $event)),\n showError: _ctx.errors.lastName,\n onOnBlur: _cache[9] || (_cache[9] = ($event: any) => {\n\t\t\t\t\t\t\t_ctx.errors.lastName = $event;\n\t\t\t\t\t\t\t_ctx.checkExisting();\n\t\t\t\t\t\t}),\n id: 'lastName',\n disabled: _ctx.isEditing\n }, null, 8, [\"modelValue\", \"showError\", \"disabled\"]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _hoisted_12,\n _createElementVNode(\"div\", _hoisted_13, [\n _withDirectives(_createElementVNode(\"select\", {\n class: \"si-input\",\n name: \"country\",\n id: \"countryInput\",\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((_ctx.consenter.countryKey) = $event)),\n onChange: _cache[11] || (_cache[11] = ($event: any) => (_ctx.manualLocationEntry = _ctx.consenter.countryKey != 196)),\n disabled: _ctx.isEditing\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.countryOptions, (country, i) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n key: i,\n value: country.CountryKey\n }, _toDisplayString(country.Name), 9, _hoisted_15))\n }), 128))\n ], 40, _hoisted_14), [\n [_vModelSelect, _ctx.consenter.countryKey]\n ])\n ]),\n _hoisted_16\n ]),\n _createElementVNode(\"div\", null, [\n _withDirectives(_createVNode(_component_text_input, {\n label: 'ZIP / Postal code',\n modelValue: _ctx.zipCode,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((_ctx.zipCode) = $event)),\n showError: _ctx.errors.zipCode,\n onOnBlur: _cache[13] || (_cache[13] = ($event: any) => (_ctx.validateZip())),\n id: 'zipCode',\n disabled: _ctx.isEditing\n }, null, 8, [\"modelValue\", \"showError\", \"disabled\"]), [\n [_vShow, _ctx.showZipField]\n ])\n ])\n ]),\n (!_ctx.manualLocationEntry)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n _hoisted_18,\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formattedLocation), 1),\n (_ctx.formattedLocation)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n onClick: _cache[14] || (_cache[14] = ($event: any) => (_ctx.manualLocationEntry = true)),\n disabled: _ctx.isEditing\n }, \"Enter Manually\", 8, _hoisted_20))\n : _createCommentVNode(\"\", true)\n ]),\n _hoisted_21\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_22, [\n _createVNode(_component_text_input, {\n label: 'City',\n modelValue: _ctx.consenter.city,\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => ((_ctx.consenter.city) = $event))\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_23, [\n _createElementVNode(\"label\", null, \"State \" + _toDisplayString(_ctx.consenter.countryKey == 196 ? '' : '/ Province'), 1),\n (_ctx.consenter.countryKey == 196)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_24, [\n _withDirectives(_createElementVNode(\"select\", {\n class: \"si-input\",\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => ((_ctx.consenter.state) = $event)),\n notranslate: \"\",\n disabled: _ctx.isEditing\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.states, (state, i) => {\n return (_openBlock(), _createElementBlock(\"option\", {\n key: i,\n value: state,\n selected: state == _ctx.consenter.state\n }, _toDisplayString(state), 9, _hoisted_26))\n }), 128))\n ], 8, _hoisted_25), [\n [_vModelSelect, _ctx.consenter.state]\n ])\n ]))\n : _withDirectives((_openBlock(), _createElementBlock(\"input\", {\n key: 1,\n type: \"text\",\n class: \"si-input\",\n name: \"state\",\n \"onUpdate:modelValue\": _cache[17] || (_cache[17] = ($event: any) => ((_ctx.consenter.state) = $event))\n }, null, 512)), [\n [_vModelText, _ctx.consenter.state]\n ]),\n _hoisted_27\n ])\n ])),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.customFields, (field, i) => {\n return (_openBlock(), _createBlock(_component_custom_field_input, {\n key: i,\n customField: field,\n ref_for: true,\n ref: `cf${i}`,\n id: i,\n disabled: _ctx.isEditing\n }, null, 8, [\"customField\", \"id\", \"disabled\"]))\n }), 128)),\n (_ctx.collectSkiRentalInfo)\n ? (_openBlock(), _createBlock(_component_ski_rental_input, {\n key: 2,\n label: 'Experience Level',\n responses: _ctx.skiRentalFields?.experience ?? [],\n modelValue: _ctx.consenter.skiExperienceKey,\n \"onUpdate:modelValue\": _cache[18] || (_cache[18] = ($event: any) => ((_ctx.consenter.skiExperienceKey) = $event)),\n showError: _ctx.errors.skiExp,\n onOnBlur: _cache[19] || (_cache[19] = ($event: any) => (_ctx.errors.skiExp = $event)),\n helpText: 'Select your experience level',\n disabled: _ctx.isEditing\n }, null, 8, [\"responses\", \"modelValue\", \"showError\", \"disabled\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.collectSkiRentalInfo)\n ? (_openBlock(), _createBlock(_component_ski_rental_input, {\n key: 3,\n label: 'Height',\n responses: _ctx.skiRentalFields?.heights ?? [],\n modelValue: _ctx.consenter.skiHeightKey,\n \"onUpdate:modelValue\": _cache[20] || (_cache[20] = ($event: any) => ((_ctx.consenter.skiHeightKey) = $event)),\n showError: _ctx.errors.skiHeight,\n onOnBlur: _cache[21] || (_cache[21] = ($event: any) => (_ctx.errors.skiHeight = $event)),\n helpText: 'Select your height',\n disabled: _ctx.isEditing\n }, null, 8, [\"responses\", \"modelValue\", \"showError\", \"disabled\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.collectSkiRentalInfo)\n ? (_openBlock(), _createBlock(_component_ski_rental_input, {\n key: 4,\n label: 'Weight',\n responses: _ctx.skiRentalFields?.weights ?? [],\n modelValue: _ctx.consenter.skiWeightKey,\n \"onUpdate:modelValue\": _cache[22] || (_cache[22] = ($event: any) => ((_ctx.consenter.skiWeightKey) = $event)),\n showError: _ctx.errors.skiWeight,\n onOnBlur: _cache[23] || (_cache[23] = ($event: any) => (_ctx.errors.skiWeight = $event)),\n helpText: 'Select your weight',\n disabled: _ctx.isEditing\n }, null, 8, [\"responses\", \"modelValue\", \"showError\", \"disabled\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.collectSkiRentalInfo)\n ? (_openBlock(), _createBlock(_component_ski_rental_input, {\n key: 5,\n label: 'Shoe size',\n responses: _ctx.skiRentalFields?.shoes ?? [],\n modelValue: _ctx.consenter.skiShoeSizeKey,\n \"onUpdate:modelValue\": _cache[24] || (_cache[24] = ($event: any) => ((_ctx.consenter.skiShoeSizeKey) = $event)),\n showError: _ctx.errors.skiShoes,\n onOnBlur: _cache[25] || (_cache[25] = ($event: any) => (_ctx.errors.skiShoes = $event)),\n helpText: 'Select your shoe size',\n disabled: _ctx.isEditing\n }, null, 8, [\"responses\", \"modelValue\", \"showError\", \"disabled\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: \"flex-row gap-8 flex-align-start\",\n onClick: _cache[26] || (_cache[26] = ($event: any) => (_ctx.consenter.emailOptIn = _ctx.isEditing ? _ctx.consenter.emailOptIn : !_ctx.consenter.emailOptIn))\n }, [\n _createVNode(_component_checkbox, {\n checked: _ctx.consenter.emailOptIn\n }, null, 8, [\"checked\"]),\n _hoisted_28\n ]),\n _hoisted_29\n ], 2),\n _createElementVNode(\"button\", {\n class: \"form-submit-btn\",\n onClick: _cache[27] || (_cache[27] = _withModifiers(($event: any) => (_ctx.onNext()), [\"stop\"]))\n }, [\n (_ctx.emailValidation.isValidating)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_30))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_31, \"Next\"))\n ]),\n (_ctx.hasCheckins)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"form-btn flex-row gap-6 flex-center\",\n onClick: _cache[28] || (_cache[28] = _withModifiers(($event: any) => (_ctx.editCompleted()), [\"stop\"]))\n }, [\n _hoisted_32,\n _createElementVNode(\"div\", _hoisted_33, _toDisplayString(_ctx.checkinCompleteCount) + \" of \" + _toDisplayString(_ctx.checkinNeededCount), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])),\n (_ctx.emailValidation.showModal)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_34, [\n _createVNode(_component_OnClickOutside, {\n onTrigger: _cache[31] || (_cache[31] = ($event: any) => (_ctx.tryEmailAgain()))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_35, [\n _hoisted_36,\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.consenter.email), 1),\n _createElementVNode(\"div\", _hoisted_37, [\n _createElementVNode(\"button\", {\n class: \"form-btn\",\n onClick: _cache[29] || (_cache[29] = _withModifiers(($event: any) => (_ctx.tryEmailAgain()), [\"stop\"]))\n }, \"Try again\"),\n _createElementVNode(\"button\", {\n class: \"form-submit-btn\",\n onClick: _cache[30] || (_cache[30] = _withModifiers(($event: any) => (_ctx.onContinue()), [\"stop\"]))\n }, \"Yes, it's real\")\n ])\n ])\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.pendingConsent)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_38, [\n _createVNode(_component_OnClickOutside, {\n onTrigger: _cache[34] || (_cache[34] = ($event: any) => (_ctx.tryEmailAgain()))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_39, [\n _hoisted_40,\n _createElementVNode(\"div\", _hoisted_41, [\n _createElementVNode(\"button\", {\n class: \"form-btn\",\n onClick: _cache[32] || (_cache[32] = _withModifiers(($event: any) => (_ctx.pendingConsent = null), [\"stop\"]))\n }, \"No\"),\n _createElementVNode(\"button\", {\n class: \"form-submit-btn\",\n onClick: _cache[33] || (_cache[33] = _withModifiers(($event: any) => (_ctx.editPendingConsent()), [\"stop\"]))\n }, \"Yes\")\n ])\n ])\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { AdultParticipant } from '@/common/types/AdultParticipant.type';\nimport { apiService } from '@/services/api.service';\nimport { kioskModule } from '@/store/kiosk.vuex-module';\nimport { differenceInYears } from 'date-fns';\nimport { Options, Vue } from 'vue-class-component';\nimport YesNoInput from '@/modules/consent/components/form/yes-no-input.component.vue';\nimport TextInput from '@/modules/consent/components/form/text-input.component.vue';\nimport CustomFieldInput from '@/modules/consent/components/form/custom-field-input.component.vue';\nimport SkiRentalInput from '@/modules/consent/components/form/ski-rental-input.component.vue';\nimport BooleanInput from '@/modules/consent/components/form/bool-input.component.vue';\nimport DateInput from '@/modules/consent/components/form/date-input.component.vue';\nimport Checkbox from '@/common/components/form-ui/checkbox.component.vue';\nimport { CustomField } from '@/common/types/client.type';\nimport { Watch } from 'vue-property-decorator';\nimport { format } from 'date-fns';\nimport { OnClickOutside } from '@vueuse/components';\nimport { UserConsentOrderTimes } from '@/common/types/UserConsentOrderTimes.type';\n\ntype CountryOption = {\n\tCountryKey: number;\n\tCode: number;\n\tAbbreviation: string;\n\tName: string;\n};\n\nconst ZIP_EXCLUDED_COUNTRIES = new Set([\n\t5, 9, 17, 18, 20, 22, 26, 28, 30, 33, 36, 40, 41, 42, 43, 50, 51, 55, 56, 61, 66, 69, 76, 79, 89, 90, 94, 102, 106, 109, 112, 115, 127, 135, 136, 150, 153, 157, 161, 162, 166, 172, 175, 179, 184, 185, 186, 190, 191, 192, 198, 203, 205, 209,\n]);\n\n@Options({\n\tname: 'AdultView',\n\tcomponents: { YesNoInput, CustomFieldInput, TextInput, DateInput, OnClickOutside, SkiRentalInput, BooleanInput, Checkbox },\n\tbeforeRouteEnter(to, from, next) {\n\t\tnext((vm) => {\n\t\t\t(vm as AdultView).showBackBtn = from.name == 'AppointmentsView';\n\t\t});\n\t},\n})\nexport default class AdultView extends Vue {\n\tisLoading = true;\n\tshowBackBtn = false;\n\tconsenter!: AdultParticipant;\n\tcustomFieldResponses: CustomField[] = [];\n\tpendingConsent: any | null = null;\n\tautoLoaded = false;\n\terrors = {\n\t\temail: false,\n\t\tfirstName: false,\n\t\tlastName: false,\n\t\tdateOfBirth: false,\n\t\tzipCode: false,\n\t\tskiExp: false,\n\t\tskiHeight: false,\n\t\tskiWeight: false,\n\t\tskiShoes: false,\n\t};\n\n\temailValidation = {\n\t\tshowModal: false,\n\t\temailCache: '',\n\t\tisValidating: false,\n\t};\n\taddingMinors = false;\n\tformattedLocation = '';\n\tmanualLocationEntry = false;\n\tcountryOptions: CountryOption[] = [];\n\n\ttimer: ReturnType | null = null;\n\n\tget c(): AdultParticipant {\n\t\treturn this.consenter;\n\t}\n\t// #region GETTERS / SETTERS\n\tget customFields() {\n\t\treturn this.consenter.customFields;\n\t}\n\n\tget adultsOnlyConsent(): boolean {\n\t\treturn kioskModule.order?.CheckInOrderEntities?.every((a) => a.AdultsOnly) ?? false;\n\t}\n\n\tget partyName() {\n\t\t// return kioskModule.order ? `Check-In for ${kioskModule.order.LastName} Party` : 'Checkin';\n\t\treturn kioskModule.order?.LastName ?? null;\n\t}\n\n\tget editCityState(): boolean {\n\t\treturn this.consenter.countryKey == 196 ? false : true;\n\t}\n\n\tget states(): string[] {\n\t\treturn [\n\t\t\t'AL',\n\t\t\t'AK',\n\t\t\t'AS',\n\t\t\t'AZ',\n\t\t\t'AR',\n\t\t\t'CA',\n\t\t\t'CO',\n\t\t\t'CT',\n\t\t\t'DE',\n\t\t\t'DC',\n\t\t\t'FM',\n\t\t\t'FL',\n\t\t\t'GA',\n\t\t\t'GU',\n\t\t\t'HI',\n\t\t\t'ID',\n\t\t\t'IL',\n\t\t\t'IN',\n\t\t\t'IA',\n\t\t\t'KS',\n\t\t\t'KY',\n\t\t\t'LA',\n\t\t\t'ME',\n\t\t\t'MH',\n\t\t\t'MD',\n\t\t\t'MA',\n\t\t\t'MI',\n\t\t\t'MN',\n\t\t\t'MS',\n\t\t\t'MO',\n\t\t\t'MT',\n\t\t\t'NE',\n\t\t\t'NV',\n\t\t\t'NH',\n\t\t\t'NJ',\n\t\t\t'NM',\n\t\t\t'NY',\n\t\t\t'NC',\n\t\t\t'ND',\n\t\t\t'MP',\n\t\t\t'OH',\n\t\t\t'OK',\n\t\t\t'OR',\n\t\t\t'PW',\n\t\t\t'PA',\n\t\t\t'PR',\n\t\t\t'RI',\n\t\t\t'SC',\n\t\t\t'SD',\n\t\t\t'TN',\n\t\t\t'TX',\n\t\t\t'UT',\n\t\t\t'VT',\n\t\t\t'VI',\n\t\t\t'VA',\n\t\t\t'WA',\n\t\t\t'WV',\n\t\t\t'WI',\n\t\t\t'WY',\n\t\t];\n\t}\n\n\tget zipCode() {\n\t\treturn this.consenter.zipCode;\n\t}\n\n\tset zipCode(z: string) {\n\t\tthis.consenter.zipCode = z;\n\t\tthis.getZipLocation();\n\t}\n\n\tget showZipField() {\n\t\treturn !ZIP_EXCLUDED_COUNTRIES.has(this.consenter.countryKey);\n\t}\n\n\tget checkinCompleteCount() {\n\t\treturn kioskModule.order?.TotalPeopleCheckedIn ?? 0;\n\t}\n\tget checkinNeededCount() {\n\t\treturn kioskModule.order?.TotalPeople ?? 0;\n\t}\n\tget hasCheckins() {\n\t\treturn !!kioskModule.order?.TotalPeopleCheckedIn;\n\t}\n\n\tget adultAgeMsg() {\n\t\treturn this.adultAge ? `You must be at least ${this.adultAge} years old to complete this form` : '';\n\t}\n\n\tget adultAge() {\n\t\treturn kioskModule.adultAge;\n\t}\n\n\tget disableNext() {\n\t\treturn Object.values(this.errors).every((v) => !v);\n\t}\n\n\tget skiRentalFields() {\n\t\treturn kioskModule.skiRentalFieldResponses;\n\t}\n\n\tget collectSkiRentalInfo() {\n\t\treturn kioskModule.collectSkiRentalInfo;\n\t}\n\tget isEditing() {\n\t\treturn kioskModule._session.isEditing;\n\t}\n\t//#endregion\n\n\t@Watch('addingMinors') addMinorsWatcher(v: boolean) {\n\t\tif (!v) kioskModule.clearMinorParticipants();\n\t}\n\n\t// validates email format\n\tvalidateEmail() {\n\t\t// eslint-disable-next-line\n\t\tlet validFormat = /^\\w+([\\.-]?\\w+)*@\\w+([\\.-]?\\w+)*(\\.\\w{2,3})+$/.test(this.consenter.email);\n\t\tthis.errors.email = validFormat ? false : true;\n\t}\n\tresetWaiver() {\n\t\tkioskModule.resetSession();\n\t\tthis.consenter = kioskModule._session.consenter;\n\t\tconsole.log(this.consenter.dateOfBirth);\n\t\tthis.$router.push({ name: 'AdultCheckin', query: { ...this.$route.query } });\n\t}\n\t// Verifies email is in valid format before calling validation API.\n\tasync verifyEmail() {\n\t\tthis.emailValidation.isValidating = true;\n\t\treturn await apiService\n\t\t\t.get('isValidEmail', {\n\t\t\t\temail: this.consenter.email,\n\t\t\t})\n\t\t\t.then((valid: boolean) => {\n\t\t\t\treturn valid;\n\t\t\t})\n\t\t\t.catch(() => {\n\t\t\t\treturn false;\n\t\t\t});\n\t}\n\tcheckExisting() {\n\t\tif (this.autoLoaded) return;\n\t\tif (this.timer) clearTimeout(this.timer);\n\t\tif (this.errors.dateOfBirth || this.errors.firstName || this.errors.lastName) {\n\t\t\treturn;\n\t\t}\n\t\tthis.timer = setTimeout(() => {\n\t\t\tif (this.consenter.dateOfBirth.day && this.consenter.dateOfBirth.month != null && this.consenter.dateOfBirth.year && this.consenter.firstName != '' && this.consenter.lastName != '') {\n\t\t\t\tlet ds = `${this.consenter.dateOfBirth.month + 1}/${this.consenter.dateOfBirth.day}/${this.consenter.dateOfBirth.year}`;\n\t\t\t\tkioskModule.searchWaiver({ firstName: this.consenter.firstName, lastName: this.consenter.lastName, dateOfBirth: ds, orderKey: kioskModule.orderKey }).then((consenter) => {\n\t\t\t\t\tif (consenter) {\n\t\t\t\t\t\tthis.pendingConsent = consenter;\n\t\t\t\t\t\tthis.autoLoaded = true;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error('No waiver found');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tconsole.log('Fields not set');\n\t\t\t\tconsole.log(this.consenter.dateOfBirth.day, this.consenter.dateOfBirth.month, this.consenter.dateOfBirth.year, this.consenter.firstName, this.consenter.lastName);\n\t\t\t}\n\t\t}, 500);\n\t}\n\teditPendingConsent() {\n\t\tlet c = this.pendingConsent;\n\t\tconsole.log('Pending Consent:', this.pendingConsent);\n\t\tif (c) {\n\t\t\tkioskModule.forms = c.ConsentForms;\n\t\t\tconst session = kioskModule.session;\n\t\t\tsession.isEditing = true;\n\t\t\t// map consenter\n\t\t\tconst consenter: AdultParticipant = {\n\t\t\t\tconsentKey: c.ConsentKey,\n\t\t\t\tconsentGuid: c.ConsentGuid,\n\t\t\t\tconsentMinors: c.ConsentMinors.map((minor: any) => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tfirstName: minor.FirstName,\n\t\t\t\t\t\tlastName: minor.LastName,\n\t\t\t\t\t\temail: '',\n\t\t\t\t\t\tdateOfBirth: {\n\t\t\t\t\t\t\tday: new Date(minor.DateOfBirth).getDate(),\n\t\t\t\t\t\t\tmonth: new Date(minor.DateOfBirth).getMonth(),\n\t\t\t\t\t\t\tyear: new Date(minor.DateOfBirth).getFullYear(),\n\t\t\t\t\t\t\tformatted: format(new Date(minor.DateOfBirth), 'M-d-yyyy'),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tguid: minor.Guid,\n\t\t\t\t\t\tconsentMinorGuid: minor.ConsentMinorGUid,\n\t\t\t\t\t\tcanDelete: minor.canDelete,\n\t\t\t\t\t\tcustomFields: [],\n\t\t\t\t\t\tconsentMinorKey: minor.ConsentMinorKey,\n\t\t\t\t\t\tskiExperienceKey: minor.DIN_ExperienceLevelHistoryKey,\n\t\t\t\t\t\tskiHeightKey: minor.DIN_HeightHistoryKey,\n\t\t\t\t\t\tskiWeightKey: minor.DIN_WeightHistoryKey,\n\t\t\t\t\t\tskiShoeSizeKey: minor.DIN_ShoeSizeHistoryKey,\n\t\t\t\t\t};\n\t\t\t\t}),\n\t\t\t\tcustomFields: c.CustomFields,\n\t\t\t\tfirstName: c.FirstName,\n\t\t\t\tlastName: c.LastName,\n\t\t\t\tisParticipating: c.IsParticipating,\n\t\t\t\temail: c.Email,\n\t\t\t\temailOptIn: c.EmailOptIn,\n\t\t\t\tzipCode: c.ZipCode,\n\t\t\t\tcity: c.City,\n\t\t\t\tstate: c.State,\n\t\t\t\tcountryKey: c.CountryKey,\n\t\t\t\tsignatureBase64: c.SignatureBase64,\n\t\t\t\tskiExperienceKey: c.DIN_ExperienceLevelHistoryKey,\n\t\t\t\tskiHeightKey: c.DIN_HeightHistoryKey,\n\t\t\t\tskiWeightKey: c.DIN_WeightHistoryKey,\n\t\t\t\tskiShoeSizeKey: c.DIN_ShoeSizeHistoryKey,\n\t\t\t\tdateOfBirth: {\n\t\t\t\t\tday: new Date(c.DateOfBirth).getDate(),\n\t\t\t\t\tmonth: new Date(c.DateOfBirth).getMonth(),\n\t\t\t\t\tyear: new Date(c.DateOfBirth).getFullYear(),\n\t\t\t\t\tformatted: format(new Date(c.DateOfBirth), 'yyyy/MM/dd'),\n\t\t\t\t},\n\t\t\t\tlanguageKey: c.LanguageKey,\n\t\t\t\tguid: c.Guid,\n\t\t\t};\n\t\t\tsession.consenter = consenter;\n\n\t\t\t// map participating activities\n\t\t\tconst assignedActivities = new Set();\n\t\t\tc.UserConsentOrderEntityTimes.forEach((time: UserConsentOrderTimes) => {\n\t\t\t\tconst timeParticipants: string[] = [];\n\n\t\t\t\tif (time.Consentees.Consentor.IsParticipating) timeParticipants.push(time.Consentees.Consentor.Guid); // push consentor\n\n\t\t\t\ttimeParticipants.push(...time.Consentees.ConsentMinors.map((m) => m.Guid)); // push minors\n\n\t\t\t\tif (timeParticipants.length) {\n\t\t\t\t\tsession.activityParticipants[time.OrderEntityTimeKey] = timeParticipants;\n\t\t\t\t\tassignedActivities.add(time.OrderEntityTimeKey);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tsession.editActivities = Array.from(assignedActivities);\n\t\t\tif (consenter.consentMinors.length) {\n\t\t\t\tthis.addingMinors = true;\n\t\t\t\tconsole.log('SETTING MINORS');\n\t\t\t}\n\t\t\tsession.signature = c.signatureBase64 ?? '';\n\t\t\tkioskModule.updateAdult(session.consenter);\n\t\t\tkioskModule.saveSession(session);\n\t\t\tthis.emailValidation.emailCache = session.consenter.email;\n\t\t\tthis.zipCode = consenter.zipCode;\n\t\t\tthis.consenter = consenter;\n\t\t\tthis.pendingConsent = null;\n\t\t\tthis.getZipLocation();\n\t\t\tconsole.log('Session:', session);\n\t\t}\n\t}\n\tvalidateBirthday() {\n\t\tconst enteredBday = this.consenter.dateOfBirth.month != null && this.consenter.dateOfBirth.day != null && this.consenter.dateOfBirth.year != null;\n\t\tif (enteredBday) {\n\t\t\tconst dob = new Date(this.consenter.dateOfBirth.year!, this.consenter.dateOfBirth.month!, this.consenter.dateOfBirth.day!);\n\t\t\tthis.errors.dateOfBirth = differenceInYears(new Date(), dob) < kioskModule.adultAge;\n\t\t\treturn;\n\t\t}\n\t\tthis.errors.dateOfBirth = true;\n\t}\n\n\tvalidateZip() {\n\t\tif (!this.showZipField) return true;\n\n\t\tif (this.consenter.countryKey == 196) {\n\t\t\tthis.errors.zipCode = this.manualLocationEntry ? !(!!this.consenter.city && !!this.consenter.state) : this.consenter.zipCode.length < 5;\n\t\t} else {\n\t\t\tthis.errors.zipCode = !this.consenter.zipCode.length;\n\t\t}\n\t}\n\n\tvalidateSkiRentalFields(field?: string) {\n\t\tthis.errors.skiExp = this.consenter.skiExperienceKey == undefined;\n\t\tthis.errors.skiHeight = this.consenter.skiHeightKey == undefined;\n\t\tthis.errors.skiWeight = this.consenter.skiWeightKey == undefined;\n\t\tthis.errors.skiShoes = this.consenter.skiShoeSizeKey == undefined;\n\t}\n\n\tcreated(): void {\n\t\tthis.isLoading = true;\n\n\t\tif (kioskModule.isEditing) {\n\t\t\tkioskModule.updateOrderKey(this.$route.params.orderKey as string);\n\t\t} else {\n\t\t\t// kioskModule.resetSession();\n\t\t}\n\n\t\tkioskModule.startSession();\n\t\tkioskModule.updateLastPage('AdultCheckin');\n\n\t\tconsole.log('Setting consentor to', kioskModule.consenter);\n\n\t\tthis.consenter = kioskModule._session.consenter;\n\t\tthis.addingMinors = this.consenter.consentMinors ? this.consenter.consentMinors.length > 0 : false;\n\t\tthis.formattedLocation = this.consenter.city && this.consenter.state && this.consenter.zipCode ? `${this.consenter.city}, ${this.consenter.state} ${this.consenter.zipCode}` : '';\n\t\tthis.emailValidation.emailCache = this.consenter.email ? this.consenter.email.toString() : '';\n\n\t\tapiService\n\t\t\t.get('getCountries', {})\n\t\t\t.then((res) => {\n\t\t\t\tif (res) this.countryOptions = res;\n\t\t\t})\n\t\t\t.finally(() => (this.isLoading = false));\n\t}\n\tmounted(): void {\n\t\tlet cf = kioskModule._client?.ConsentForm.CustomFields;\n\t\tconsole.log('Checking', cf, this.consenter.customFields.length);\n\t\tif (cf && !this.consenter.customFields.length) this.consenter.customFields = cf;\n\t}\n\n\tasync getZipLocation(): Promise {\n\t\t// lookup zip-code for US and Canada\n\t\tif (this.consenter.zipCode.length >= 5 && (this.consenter.countryKey == 196 || this.consenter.countryKey == 31)) {\n\t\t\treturn await apiService\n\t\t\t\t.googleGet('https://maps.googleapis.com/maps/api/geocode/json', {\n\t\t\t\t\taddress: `${this.consenter.zipCode},${this.countryOptions.find((c) => c.CountryKey == this.consenter.countryKey)!.Name}}`,\n\t\t\t\t\tkey: (window as any).config.GoogleApiKey,\n\t\t\t\t})\n\t\t\t\t.then((res) => {\n\t\t\t\t\tif (res.status == 'OK') {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tthis.consenter.city = res.results[0].address_components[1].short_name;\n\t\t\t\t\t\t\tthis.formattedLocation = res.results[0].formatted_address;\n\t\t\t\t\t\t\tthis.consenter.state = res.results[0].address_components.find((ac: any) => this.states.includes(ac.short_name)).short_name;\n\t\t\t\t\t\t\tthis.manualLocationEntry = false;\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t} catch {\n\t\t\t\t\t\t\tconsole.error('Could not lookup location.');\n\t\t\t\t\t\t\tthis.formattedLocation = 'Enter City & State';\n\t\t\t\t\t\t\tthis.manualLocationEntry = true;\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.formattedLocation = 'Enter City & State';\n\t\t\t\t\t\tthis.manualLocationEntry = true;\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t}\n\t\treturn false;\n\t}\n\n\teditCompleted() {\n\t\tthis.$router.push({ name: 'Completed' });\n\t}\n\n\tonNext() {\n\t\tconst formValid = this.validateForm();\n\t\tif (formValid) {\n\t\t\tif (this.emailValidation.emailCache == this.consenter.email) this.onContinue();\n\t\t\t// email has been validated by user\n\t\t\telse\n\t\t\t\tthis.verifyEmail().then((verified: boolean) => {\n\t\t\t\t\tif (verified) this.onContinue();\n\t\t\t\t\telse {\n\t\t\t\t\t\tthis.emailValidation.emailCache = this.consenter.email.toString();\n\t\t\t\t\t\tthis.emailValidation.showModal = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t} else {\n\t\t\tsetTimeout(() => {\n\t\t\t\tdocument.getElementsByClassName('invalid')[0]?.scrollIntoView({ behavior: 'smooth' });\n\t\t\t}, 0);\n\t\t}\n\t}\n\n\tonContinue() {\n\t\tthis.consenter.customFields = this.customFieldResponses;\n\t\tthis.consenter.dateOfBirth.formatted = `${this.consenter.dateOfBirth.year}/${this.consenter.dateOfBirth.month! + 1}/${this.consenter.dateOfBirth.day}`;\n\n\t\t// if not participating & no minors -> flip participation (user must be participating to fill out waiver)\n\t\tif (!this.consenter.isParticipating && !kioskModule.minorParticipants.length) this.consenter.isParticipating = true;\n\n\t\tkioskModule.updateAdult(this.consenter);\n\t\tthis.$router.push({ name: 'MinorQuestion', query: { ...this.$route.query } });\n\t}\n\n\tvalidateForm(): boolean {\n\t\tthis.validateEmail();\n\t\tthis.validateBirthday();\n\t\tthis.validateZip();\n\t\tif (this.collectSkiRentalInfo) this.validateSkiRentalFields();\n\n\t\tthis.errors.firstName = !this.consenter.firstName.replaceAll(' ', '').length;\n\t\tthis.errors.lastName = !this.consenter.lastName.replaceAll(' ', '').length;\n\n\t\tlet formValid = Object.values(this.errors).every((v) => !v);\n\n\t\tthis.customFieldResponses = [];\n\t\tthis.customFields?.forEach((cf, i) => {\n\t\t\tvar cfElementMatches = this.$refs[`cf${i}`] as any;\n\t\t\tconst response = (cfElementMatches[0] as CustomFieldInput).validate();\n\t\t\tif (response) this.customFieldResponses.push(response);\n\t\t\telse formValid = false;\n\t\t});\n\t\treturn formValid;\n\t}\n\n\ttryEmailAgain() {\n\t\tthis.emailValidation.showModal = false;\n\t\tthis.emailValidation.isValidating = false;\n\t\tdocument.getElementById('email')?.focus();\n\t\t(document.getElementById('email') as HTMLInputElement)?.select();\n\t}\n}\n","import { render } from \"./adult.view.vue?vue&type=template&id=a6f1eec4&scoped=true&ts=true\"\nimport script from \"./adult.view.vue?vue&type=script&lang=ts\"\nexport * from \"./adult.view.vue?vue&type=script&lang=ts\"\n\nimport \"./adult.view.vue?vue&type=style&index=0&id=a6f1eec4&scoped=true&lang=scss\"\n\nimport exportComponent from \"/agent/_work/1/s/Customer/onlinekiosk_vue_js/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-a6f1eec4\"]])\n\nexport default __exports__","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"#expCheckin[data-v-5d0f558d]{gap:8px}#expCheckin h3.page-title[data-v-5d0f558d]{font-size:2em}#expCheckin h2[data-v-5d0f558d]{font-size:2em;font-weight:bolder}#editModal .modal-content[data-v-5d0f558d],#emailModal .modal-content[data-v-5d0f558d]{display:flex;flex-direction:column;justify-content:space-between}#editModal .modal-content .large[data-v-5d0f558d],#emailModal .modal-content .large[data-v-5d0f558d]{font-size:1em;line-height:26pt}#editModal .modal-content span[data-v-5d0f558d],#emailModal .modal-content span[data-v-5d0f558d]{text-align:center}#editModal .modal-content span[data-v-5d0f558d]:nth-child(2),#emailModal .modal-content span[data-v-5d0f558d]:nth-child(2){font-size:1.2em}#editModal .modal-content .flex-row[data-v-5d0f558d],#emailModal .modal-content .flex-row[data-v-5d0f558d]{gap:20px}#infoForm[data-v-5d0f558d]{gap:30px}#infoForm .info-header[data-v-5d0f558d]{gap:8px}.form-title[data-v-5d0f558d]{font-size:1.2em}#addMinors[data-v-5d0f558d]{width:calc(50% - 20px)}@media(max-width:480px){#addMinors[data-v-5d0f558d]{width:100%}}#countryZip[data-v-5d0f558d]{align-items:flex-start}#manualLocation[data-v-5d0f558d]{justify-content:space-between;width:100%;height:60px}#manualLocation button[data-v-5d0f558d]{color:var(--theme-color);font-size:.85em}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5d0f558d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n id: \"adultInfoWrapper\",\n class: \"flex-col view-wrapper\"\n}\nconst _hoisted_2 = {\n id: \"expCheckin\",\n class: \"flex-col page-header\"\n}\nconst _hoisted_3 = {\n id: \"infoForm\",\n class: \"flex-col\"\n}\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"info-header flex-col\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"form-title bold\" }, \"Minors?\")\n], -1))\nconst _hoisted_5 = { class: \"form-wrapper\" }\nconst _hoisted_6 = { class: \"flex-row gap-8 flex-align-start\" }\nconst _hoisted_7 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, null, -1))\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Next\", -1))\nconst _hoisted_9 = [\n _hoisted_8\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_yes_no_input = _resolveComponent(\"yes-no-input\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"button\", {\n class: \"back-btn\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$router.go(-1)))\n })\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n (!_ctx.adultsOnlyConsent)\n ? (_openBlock(), _createBlock(_component_yes_no_input, {\n key: 0,\n label: `Do you need to fill out a waiver for any minors${_ctx.adultAge ? ` under ${_ctx.adultAge} years old` : ''}?`,\n yesBtn: { selected: _ctx.addingMinors },\n onOnStatusChange: _cache[1] || (_cache[1] = ($event: any) => (_ctx.addingMinors = $event))\n }, null, 8, [\"label\", \"yesBtn\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _hoisted_7\n ]),\n _createElementVNode(\"button\", {\n class: \"form-submit-btn\",\n onClick: _cache[2] || (_cache[2] = _withModifiers(($event: any) => (_ctx.onNext()), [\"stop\"]))\n }, _hoisted_9),\n (_ctx.hasCheckins)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n class: \"form-btn\",\n onClick: _cache[3] || (_cache[3] = _withModifiers(($event: any) => (_ctx.editCompleted()), [\"stop\"]))\n }, \"View Completed Waivers\"))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n}","\nimport { AdultParticipant } from '@/common/types/AdultParticipant.type';\nimport { apiService } from '@/services/api.service';\nimport { kioskModule } from '@/store/kiosk.vuex-module';\nimport { differenceInYears } from 'date-fns';\nimport { Options, Vue } from 'vue-class-component';\nimport YesNoInput from '@/modules/consent/components/form/yes-no-input.component.vue';\nimport CustomFieldInput from '@/modules/consent/components/form/custom-field-input.component.vue';\nimport { CustomField } from '@/common/types/client.type';\nimport { Watch } from 'vue-property-decorator';\nimport { format } from 'date-fns';\nimport { OnClickOutside } from '@vueuse/components';\nimport { UserConsentOrderTimes } from '@/common/types/UserConsentOrderTimes.type';\nimport Checkbox from '@/common/components/form-ui/checkbox.component.vue';\n\n@Options({\n\tname: 'MinorQuestionView',\n\tcomponents: { YesNoInput, OnClickOutside, Checkbox },\n})\nexport default class AdultView extends Vue {\n\tconsenter!: AdultParticipant;\n\tpendingConsent: any | null = null;\n\tautoLoaded = false;\n\n\taddingMinors = false;\n\n\ttimer: ReturnType | null = null;\n\n\tget c(): AdultParticipant {\n\t\treturn this.consenter;\n\t}\n\t// #region GETTERS / SETTERS\n\tget adultsOnlyConsent(): boolean {\n\t\treturn kioskModule.order?.CheckInOrderEntities?.every((a) => a.AdultsOnly) ?? false;\n\t}\n\n\tget partyName() {\n\t\t// return kioskModule.order ? `Check-In for ${kioskModule.order.LastName} Party` : 'Checkin';\n\t\treturn kioskModule.order?.LastName ?? null;\n\t}\n\tget adultAge() {\n\t\treturn kioskModule.adultAge;\n\t}\n\tget hasCheckins() {\n\t\treturn !!kioskModule.order?.TotalPeopleCheckedIn;\n\t}\n\n\t//#endregion\n\n\t@Watch('addingMinors') addMinorsWatcher(v: boolean) {\n\t\tif (!v) kioskModule.clearMinorParticipants();\n\t}\n\n\t// validates email format\n\n\tcreated(): void {\n\t\tthis.consenter = kioskModule.consenter;\n\t}\n\n\teditCompleted() {\n\t\tthis.$router.push({ name: 'Completed' });\n\t}\n\n\tonNext() {\n\t\tconst route = this.addingMinors ? 'MinorsCheckin' : this.$route.query.unassigned ? 'WaiverForms' : 'ActivitySelection';\n\t\tthis.$router.push({ name: route, query: { ...this.$route.query } });\n\t}\n}\n","import { render } from \"./minorQuestion.view.vue?vue&type=template&id=5d0f558d&scoped=true&ts=true\"\nimport script from \"./minorQuestion.view.vue?vue&type=script&lang=ts\"\nexport * from \"./minorQuestion.view.vue?vue&type=script&lang=ts\"\n\nimport \"./minorQuestion.view.vue?vue&type=style&index=0&id=5d0f558d&scoped=true&lang=scss\"\n\nimport exportComponent from \"/agent/_work/1/s/Customer/onlinekiosk_vue_js/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5d0f558d\"]])\n\nexport default __exports__","// style-loader: Adds some css to the DOM by adding a