{"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/minorQuestion.view.vue?574f","webpack:///./src/views/checkin/adult.view.vue?9aed","webpack:///./src/views/checkin/adult.view.vue","webpack:///./src/views/checkin/adult.view.vue?0d2f","webpack:///./src/common/components/form-ui/checkbox.component.vue?2b26","webpack:///./src/views/checkin/minorQuestion.view.vue?a920","webpack:///./src/views/checkin/minorQuestion.view.vue","webpack:///./src/views/checkin/minorQuestion.view.vue?b627","webpack:///./src/views/checkin/adult.view.vue?6be0","webpack:///./src/common/components/form-ui/checkbox.component.vue?05aa","webpack:///./src/common/components/form-ui/checkbox.component.vue?c74d","webpack:///./src/views/checkin/adult.view.vue?ac6c","webpack:///./src/views/checkin/minorQuestion.view.vue?6e91","webpack:///./src/common/components/form-ui/checkbox.component.vue?8138","webpack:///./src/common/components/form-ui/checkbox.component.vue","webpack:///./src/common/components/form-ui/checkbox.component.vue?b28b","webpack:///./src/views/checkin/minorQuestion.view.vue?fc97","webpack:///./src/views/checkin/adult.view.vue?74ba"],"names":["differenceInCalendarYears","dirtyDateLeft","dirtyDateRight","requiredArgs","arguments","dateLeft","toDate","dateRight","getFullYear","compareAsc","diff","getTime","differenceInYears","sign","difference","Math","abs","setFullYear","isLastYearNotFull","result","Number","___CSS_LOADER_API_IMPORT___","exports","push","module","i","_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","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","_createVNode","label","modelValue","consenter","email","type","showError","errors","onOnBlur","validateEmail","errorMsg","day","dateOfBirth","month","year","onOnDateEntered","validateBirthday","checkExisting","firstName","lastName","_withDirectives","name","countryKey","onChange","manualLocationEntry","_Fragment","_renderList","countryOptions","country","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","checked","emailOptIn","_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","addMinorsWatcher","clearMinorParticipants","validFormat","test","apiService","get","then","valid","catch","clearTimeout","setTimeout","ds","searchWaiver","orderKey","console","error","log","c","_c$signatureBase","session","isEditing","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","$route","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","query","_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__","_component_yes_no_input","adultsOnlyConsent","yesBtn","onOnStatusChange","route","unassigned","content","__esModule","locals","_normalizeClass","style","_normalizeStyle","enabledColor","innerHTML","iLib","getIcon","Icons","CHECK_MARK","iconLibrary","Prop"],"mappings":"2KAuBe,SAASA,EAA0BC,EAAeC,GAC/D,OAAAC,EAAA,MAAa,EAAGC,WAChB,IAAIC,EAAW,OAAAC,EA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zB,EAAQX,eAAA,CAH5BE,eAAQ,CACRvO,KAAM,cAEcgP,W,iCCDrB,MAAMK,EAA2B,IAAgB,EAAQ,CAAC,CAAC,SAAS/S,GAAQ,CAAC,YAAY,qBAE1E,U,qBCNf,IAAIsT,EAAU,EAAQ,QACnBA,EAAQC,aAAYD,EAAUA,EAAQpM,SACnB,kBAAZoM,IAAsBA,EAAU,CAAC,CAACzW,EAAOC,EAAIwW,EAAS,MAC7DA,EAAQE,SAAQ3W,EAAOF,QAAU2W,EAAQE,QAE5C,IAAIrF,EAAM,EAAQ,QAAkEjH,QACvEiH,EAAI,WAAYmF,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,K,qBCN5E,IAAIA,EAAU,EAAQ,QACnBA,EAAQC,aAAYD,EAAUA,EAAQpM,SACnB,kBAAZoM,IAAsBA,EAAU,CAAC,CAACzW,EAAOC,EAAIwW,EAAS,MAC7DA,EAAQE,SAAQ3W,EAAOF,QAAU2W,EAAQE,QAE5C,IAAIrF,EAAM,EAAQ,QAAkEjH,QACvEiH,EAAI,WAAYmF,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa","file":"js/checkin-3.55c7742144f5b095585e.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}","// 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-99585534]{gap:8px}#expCheckin h3.page-title[data-v-99585534]{font-size:28px}#expCheckin h2[data-v-99585534]{font-size:28px;font-weight:bolder}#editModal .modal-content[data-v-99585534],#emailModal .modal-content[data-v-99585534]{display:flex;flex-direction:column;justify-content:space-between}#editModal .modal-content .large[data-v-99585534],#emailModal .modal-content .large[data-v-99585534]{font-size:18pt;line-height:26pt}#editModal .modal-content span[data-v-99585534],#emailModal .modal-content span[data-v-99585534]{text-align:center}#editModal .modal-content span[data-v-99585534]:nth-child(2),#emailModal .modal-content span[data-v-99585534]:nth-child(2){font-size:1.2em}#editModal .modal-content .flex-row[data-v-99585534],#emailModal .modal-content .flex-row[data-v-99585534]{gap:20px}#infoForm[data-v-99585534]{gap:30px}#infoForm .info-header[data-v-99585534]{gap:8px}.form-title[data-v-99585534]{font-size:22px}#addMinors[data-v-99585534]{width:calc(50% - 20px)}@media(max-width:480px){#addMinors[data-v-99585534]{width:100%}}#countryZip[data-v-99585534]{align-items:flex-start}#manualLocation[data-v-99585534]{justify-content:space-between;width:100%;height:60px}#manualLocation button[data-v-99585534]{color:var(--theme-color);font-size:.85em}\", \"\"]);\n// Exports\nmodule.exports = exports;\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, withModifiers as _withModifiers, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-00321b12\"),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 id: \"infoForm\",\n class: \"flex-col\"\n}\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"info-header flex-col\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"form-title bold\" }, \"Personal Information\")\n], -1))\nconst _hoisted_9 = { class: \"form-wrapper\" }\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 = [\"value\"]\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"invalid-input-text\" }, \"This field is required\", -1))\nconst _hoisted_16 = {\n key: 0,\n class: \"form-input flex-col\"\n}\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { for: \"cityState\" }, \"City & State\", -1))\nconst _hoisted_18 = {\n class: \"si-input flex-row\",\n id: \"manualLocation\"\n}\nconst _hoisted_19 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"invalid-input-text\" }, \"This field is required\", -1))\nconst _hoisted_20 = {\n key: 1,\n class: \"form-row\"\n}\nconst _hoisted_21 = { class: \"form-input flex-col\" }\nconst _hoisted_22 = {\n key: 0,\n class: \"si-sel-wrapper\"\n}\nconst _hoisted_23 = [\"value\", \"selected\"]\nconst _hoisted_24 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"invalid-input-text\" }, \"This field is required\", -1))\nconst _hoisted_25 = { class: \"flex-row gap-8 flex-align-start\" }\nconst _hoisted_26 = /*#__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_27 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, null, -1))\nconst _hoisted_28 = {\n key: 0,\n class: \"loader-sm\"\n}\nconst _hoisted_29 = { key: 1 }\nconst _hoisted_30 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, \"View Completed Waivers\", -1))\nconst _hoisted_31 = { class: \"badge\" }\nconst _hoisted_32 = {\n key: 2,\n id: \"emailModal\",\n class: \"modal\"\n}\nconst _hoisted_33 = { class: \"modal-content\" }\nconst _hoisted_34 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", null, \"Are you sure this is a real email address?\", -1))\nconst _hoisted_35 = { class: \"flex-row\" }\nconst _hoisted_36 = {\n key: 3,\n id: \"editModal\",\n class: \"modal\"\n}\nconst _hoisted_37 = { class: \"modal-content\" }\nconst _hoisted_38 = /*#__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_39 = { 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 _createElementVNode(\"div\", _hoisted_7, [\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(_component_text_input, {\n label: 'Email',\n modelValue: _ctx.consenter.email,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.consenter.email) = $event)),\n type: 'email',\n showError: _ctx.errors.email,\n onOnBlur: _cache[2] || (_cache[2] = ($event: any) => (_ctx.validateEmail())),\n errorMsg: 'A valid email is required',\n id: 'email'\n }, null, 8, [\"modelValue\", \"showError\"]),\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[3] || (_cache[3] = ($event: any) => (_ctx.consenter.dateOfBirth = $event)),\n onOnBlur: _cache[4] || (_cache[4] = ($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 }, null, 8, [\"day\", \"month\", \"year\", \"errorMsg\", \"showError\"]),\n _createVNode(_component_text_input, {\n label: 'First name',\n modelValue: _ctx.consenter.firstName,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_ctx.consenter.firstName) = $event)),\n showError: _ctx.errors.firstName,\n onOnBlur: _cache[6] || (_cache[6] = ($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 }, null, 8, [\"modelValue\", \"showError\"]),\n _createVNode(_component_text_input, {\n label: 'Last name',\n modelValue: _ctx.consenter.lastName,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_ctx.consenter.lastName) = $event)),\n showError: _ctx.errors.lastName,\n onOnBlur: _cache[8] || (_cache[8] = ($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 }, null, 8, [\"modelValue\", \"showError\"]),\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[9] || (_cache[9] = ($event: any) => ((_ctx.consenter.countryKey) = $event)),\n onChange: _cache[10] || (_cache[10] = ($event: any) => (_ctx.manualLocationEntry = _ctx.consenter.countryKey != 196))\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_14))\n }), 128))\n ], 544), [\n [_vModelSelect, _ctx.consenter.countryKey]\n ])\n ]),\n _hoisted_15\n ]),\n _createElementVNode(\"div\", null, [\n _withDirectives(_createVNode(_component_text_input, {\n label: 'ZIP / Postal code',\n modelValue: _ctx.zipCode,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((_ctx.zipCode) = $event)),\n showError: _ctx.errors.zipCode,\n onOnBlur: _cache[12] || (_cache[12] = ($event: any) => (_ctx.validateZip())),\n id: 'zipCode'\n }, null, 8, [\"modelValue\", \"showError\"]), [\n [_vShow, _ctx.showZipField]\n ])\n ])\n ]),\n (!_ctx.manualLocationEntry)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n _hoisted_17,\n _createElementVNode(\"div\", _hoisted_18, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.formattedLocation), 1),\n (_ctx.formattedLocation)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n onClick: _cache[13] || (_cache[13] = ($event: any) => (_ctx.manualLocationEntry = true))\n }, \"Enter Manually\"))\n : _createCommentVNode(\"\", true)\n ]),\n _hoisted_19\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createVNode(_component_text_input, {\n label: 'City',\n modelValue: _ctx.consenter.city,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => ((_ctx.consenter.city) = $event))\n }, null, 8, [\"modelValue\"]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"label\", null, \"State \" + _toDisplayString(_ctx.consenter.countryKey == 196 ? '' : '/ Province'), 1),\n (_ctx.consenter.countryKey == 196)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_22, [\n _withDirectives(_createElementVNode(\"select\", {\n class: \"si-input\",\n \"onUpdate:modelValue\": _cache[15] || (_cache[15] = ($event: any) => ((_ctx.consenter.state) = $event)),\n notranslate: \"\"\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_23))\n }), 128))\n ], 512), [\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[16] || (_cache[16] = ($event: any) => ((_ctx.consenter.state) = $event))\n }, null, 512)), [\n [_vModelText, _ctx.consenter.state]\n ]),\n _hoisted_24\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 }, null, 8, [\"customField\", \"id\"]))\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[17] || (_cache[17] = ($event: any) => ((_ctx.consenter.skiExperienceKey) = $event)),\n showError: _ctx.errors.skiExp,\n onOnBlur: _cache[18] || (_cache[18] = ($event: any) => (_ctx.errors.skiExp = $event)),\n helpText: 'Select your experience level'\n }, null, 8, [\"responses\", \"modelValue\", \"showError\"]))\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[19] || (_cache[19] = ($event: any) => ((_ctx.consenter.skiHeightKey) = $event)),\n showError: _ctx.errors.skiHeight,\n onOnBlur: _cache[20] || (_cache[20] = ($event: any) => (_ctx.errors.skiHeight = $event)),\n helpText: 'Select your height'\n }, null, 8, [\"responses\", \"modelValue\", \"showError\"]))\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[21] || (_cache[21] = ($event: any) => ((_ctx.consenter.skiWeightKey) = $event)),\n showError: _ctx.errors.skiWeight,\n onOnBlur: _cache[22] || (_cache[22] = ($event: any) => (_ctx.errors.skiWeight = $event)),\n helpText: 'Select your weight'\n }, null, 8, [\"responses\", \"modelValue\", \"showError\"]))\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[23] || (_cache[23] = ($event: any) => ((_ctx.consenter.skiShoeSizeKey) = $event)),\n showError: _ctx.errors.skiShoes,\n onOnBlur: _cache[24] || (_cache[24] = ($event: any) => (_ctx.errors.skiShoes = $event)),\n helpText: 'Select your shoe size'\n }, null, 8, [\"responses\", \"modelValue\", \"showError\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_25, [\n _createVNode(_component_checkbox, {\n checked: _ctx.consenter.emailOptIn,\n onClick: _cache[25] || (_cache[25] = ($event: any) => (_ctx.consenter.emailOptIn = !_ctx.consenter.emailOptIn))\n }, null, 8, [\"checked\"]),\n _hoisted_26\n ]),\n _hoisted_27\n ]),\n _createElementVNode(\"button\", {\n class: \"form-submit-btn\",\n onClick: _cache[26] || (_cache[26] = _withModifiers(($event: any) => (_ctx.onNext()), [\"stop\"]))\n }, [\n (_ctx.emailValidation.isValidating)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_28))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_29, \"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[27] || (_cache[27] = _withModifiers(($event: any) => (_ctx.editCompleted()), [\"stop\"]))\n }, [\n _hoisted_30,\n _createElementVNode(\"div\", _hoisted_31, _toDisplayString(_ctx.checkinCompleteCount) + \" of \" + _toDisplayString(_ctx.checkinNeededCount), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])),\n (_ctx.emailValidation.showModal)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_32, [\n _createVNode(_component_OnClickOutside, {\n onTrigger: _cache[30] || (_cache[30] = ($event: any) => (_ctx.tryEmailAgain()))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_33, [\n _hoisted_34,\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.consenter.email), 1),\n _createElementVNode(\"div\", _hoisted_35, [\n _createElementVNode(\"button\", {\n class: \"form-btn\",\n onClick: _cache[28] || (_cache[28] = _withModifiers(($event: any) => (_ctx.tryEmailAgain()), [\"stop\"]))\n }, \"Try again\"),\n _createElementVNode(\"button\", {\n class: \"form-submit-btn\",\n onClick: _cache[29] || (_cache[29] = _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_36, [\n _createVNode(_component_OnClickOutside, {\n onTrigger: _cache[33] || (_cache[33] = ($event: any) => (_ctx.tryEmailAgain()))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_37, [\n _hoisted_38,\n _createElementVNode(\"div\", _hoisted_39, [\n _createElementVNode(\"button\", {\n class: \"form-btn\",\n onClick: _cache[31] || (_cache[31] = _withModifiers(($event: any) => (_ctx.pendingConsent = null), [\"stop\"]))\n }, \"No\"),\n _createElementVNode(\"button\", {\n class: \"form-submit-btn\",\n onClick: _cache[32] || (_cache[32] = _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 DateInput from '@/modules/consent/components/form/date-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 SkiRentalInput from '@/modules/consent/components/form/ski-rental-input.component.vue';\nimport BooleanInput from '@/modules/consent/components/form/bool-input.component.vue';\nimport { UserConsentOrderTimes } from '@/common/types/UserConsentOrderTimes.type';\nimport Checkbox from '@/common/components/form-ui/checkbox.component.vue';\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\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\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(this.pendingConsent);\n\t\tif (c) {\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);\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\tthis.consenter = kioskModule.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\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=00321b12&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=00321b12&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-00321b12\"]])\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, \".checkbox[data-v-617ef87c]{min-height:20px;min-width:20px;border:2pt solid;border-radius:3px;font-size:12px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.check[data-v-617ef87c]{color:#fff}.check-container[data-v-617ef87c]{height:20px;width:20px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.default-unchecked[data-v-617ef87c]{background:#fff;border-color:#ccc}.default-checked[data-v-617ef87c]{background:var(--theme-color);border-color:var(--theme-color)}.default-checked[data-v-617ef87c],.default-unchecked[data-v-617ef87c]{transition:all .1s linear}\", \"\"]);\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-99585534\"),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=99585534&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=99585534&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-99585534\"]])\n\nexport default __exports__","export * from \"-!../../../node_modules/vue-style-loader/index.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-3!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-4!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./adult.view.vue?vue&type=style&index=0&id=00321b12&scoped=true&lang=scss\"","// style-loader: Adds some css to the DOM by adding a