{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/Common/StarRating.vue?93c9","webpack:///./src/components/Common/DatePicker.vue?2b89","webpack:///./src/assets/images/back-carrot.svg","webpack:///./src/components/Location/LocationEntry.vue?88a2","webpack:///./src/components/DoctorHeading.vue?2b33","webpack:///./src/components/ErrorMessage.vue?12a9","webpack:///./src/components/LocationDate.vue?f53b","webpack:///./src/assets/images/usa.svg","webpack:///./src/assets/images/online-illustration.svg","webpack:///./src/components/Information.vue?5e2f","webpack:///./src/components/Common/LocationHeading.vue?bf06","webpack:///./src/assets/images/calendar-yellow.svg","webpack:///./src/components/Common/AutocompleteExtended.vue?b807","webpack:///./src/components/Location/PhysicianRow.vue?7f2d","webpack:///./src/assets/images/select-corner.svg","webpack:///./src/assets/images/email.svg","webpack:///./src/assets/images/subtract.svg","webpack:///./src/assets/images/wmg-badge.svg","webpack:///./src/assets/images/large-right-arrow.svg","webpack:///./src/App.vue?8a48","webpack:///./src/components/Common/HorizontalScroll.vue?40e8","webpack:///./src/assets/images/video-call.svg","webpack:///./src/assets/images/locationpin-wmg.png","webpack:///./src/components/Booked.vue?5681","webpack:///./src/components/Schedule.vue?33f6","webpack:///./src/components/Forms/Select.vue?b792","webpack:///./src/assets/images/forward-carrot.svg","webpack:///./src/assets/images/down-arrow.svg","webpack:///./src/components/NoOnlineBooking.vue?a63c","webpack:///./src/assets/images/id-card.svg","webpack:///./src/components/Location/LocationHeader.vue?fba6","webpack:///./src/components/LabHeading.vue?7ebc","webpack:///./src/assets/images/back-carrot-disabled.svg","webpack:///./src/plugins/installComposition.js","webpack:///./src/store/entities/alert.ts","webpack:///./src/App.vue?f3ef","webpack:///./src/components/Dialog.vue?a893","webpack:///./src/helpers/process-helper.ts","webpack:///./src/store/modules/alert-store.ts","webpack:///./src/store/modules/modal-store.ts","webpack:///./src/store/modules/global-store.ts","webpack:///./src/services/api.ts","webpack:///./src/helpers/custom-error-helpers.ts","webpack:///./src/services/base-service.ts","webpack:///./src/services/appointment-service.ts","webpack:///./src/components/Common/Autocomplete.vue?22ec","webpack:///./src/components/Common/AutocompleteExtended.vue?5093","webpack:///./src/helpers/mobile-helper.ts","webpack:///./src/components/Dialog.vue?2c38","webpack:///./src/components/Dialog.vue?64fc","webpack:///./src/components/Dialog.vue","webpack:///./src/components/Information.vue?3f43","webpack:///./src/components/Common/Autocomplete.vue?f80d","webpack:///./src/components/Common/Autocomplete.vue?4805","webpack:///./src/components/Common/Autocomplete.vue","webpack:///./src/components/Common/AutocompleteExtended.vue?f329","webpack:///./src/components/Common/AutocompleteExtended.vue?7445","webpack:///./src/components/Common/AutocompleteExtended.vue","webpack:///./src/components/Location/LocationHeader.vue?0117","webpack:///./src/components/Location/LocationHeader.vue?f737","webpack:///./src/components/Location/LocationHeader.vue?de72","webpack:///./src/components/Location/LocationHeader.vue","webpack:///./src/services/validate-service.ts","webpack:///./src/services/insurance-carrier-service.ts","webpack:///./src/store/entities/base-entity.ts","webpack:///./src/services/insurance-plan-service.ts","webpack:///./src/components/Common/Loading.vue?87ce","webpack:///./src/components/Common/Loading.vue?1dbd","webpack:///./src/components/Common/Loading.vue?c885","webpack:///./src/components/Common/Loading.vue","webpack:///./src/store/entities/location-dto.ts","webpack:///./src/helpers/date-helpers.ts","webpack:///./src/helpers/appointment-helper.ts","webpack:///./src/components/DoctorHeading.vue?fa6c","webpack:///./src/components/DoctorHeading.vue?3d8f","webpack:///./src/components/DoctorHeading.vue?44eb","webpack:///./src/components/DoctorHeading.vue","webpack:///./src/components/LabHeading.vue?bfdd","webpack:///./src/components/LabHeading.vue?cdac","webpack:///./src/components/LabHeading.vue?45ab","webpack:///./src/components/LabHeading.vue","webpack:///./src/helpers/helpers.ts","webpack:///./src/helpers/location-helper.ts","webpack:///./src/components/Information.vue?7033","webpack:///./src/components/Information.vue?4115","webpack:///./src/components/Information.vue","webpack:///./src/components/Schedule.vue?cb1d","webpack:///./src/components/Common/DatePicker.vue?c336","webpack:///./src/components/Forms/Select.vue?7aed","webpack:///./src/components/Forms/Select.vue?b817","webpack:///./src/components/Forms/Select.vue?e62b","webpack:///./src/components/Forms/Select.vue","webpack:///./src/helpers/datepicker-helper.ts","webpack:///./src/components/Common/DatePicker.vue?22ab","webpack:///./src/components/Common/DatePicker.vue?354a","webpack:///./src/components/Common/DatePicker.vue","webpack:///./src/services/location-service.ts","webpack:///./src/helpers/physician-helper.ts","webpack:///./src/components/Common/HorizontalScroll.vue?bc65","webpack:///./src/components/Common/HorizontalScroll.vue?a9ab","webpack:///./src/components/Common/HorizontalScroll.vue?e7a3","webpack:///./src/components/Common/HorizontalScroll.vue","webpack:///./src/services/provider-locations-service.ts","webpack:///./src/services/lab-service.ts","webpack:///./src/components/Schedule.vue?65d7","webpack:///./src/components/Schedule.vue?7c14","webpack:///./src/components/Schedule.vue","webpack:///./src/components/LocationDate.vue?da40","webpack:///./src/helpers/virtual-visit-helpers.ts","webpack:///./src/components/LocationDate.vue?15eb","webpack:///./src/components/LocationDate.vue?c382","webpack:///./src/components/LocationDate.vue","webpack:///./src/components/Confirmation.vue?05cd","webpack:///./src/components/Confirmation.vue?6aa2","webpack:///./src/components/Confirmation.vue?8d45","webpack:///./src/components/Confirmation.vue","webpack:///./src/components/Booked.vue?082e","webpack:///./src/components/Booked.vue?23b2","webpack:///./src/components/Booked.vue?f95f","webpack:///./src/components/Booked.vue","webpack:///./src/components/Location/LocationEntry.vue?530c","webpack:///./src/services/provider-detail-service.ts","webpack:///./src/components/Location/PhysicianRow.vue?647f","webpack:///./src/components/Common/provider-avatar.js","webpack:///./src/components/Common/StarRating.vue?f530","webpack:///./src/components/Common/StarRating.vue?0498","webpack:///./src/components/Common/StarRating.vue?844b","webpack:///./src/components/Common/StarRating.vue","webpack:///./src/components/Location/PhysicianRow.vue?3800","webpack:///./src/components/Location/PhysicianRow.vue?b4f0","webpack:///./src/components/Location/PhysicianRow.vue","webpack:///./src/components/Location/LocationEntry.vue?6462","webpack:///./src/components/Location/LocationEntry.vue?b6e8","webpack:///./src/components/Location/LocationEntry.vue","webpack:///./src/components/ErrorMessage.vue?dfd5","webpack:///./src/components/Common/LocationHeading.vue?27d7","webpack:///./src/components/Common/LocationHeading.vue?3c99","webpack:///./src/components/Common/LocationHeading.vue?a0bf","webpack:///./src/components/Common/LocationHeading.vue","webpack:///./src/components/ErrorMessage.vue?ad52","webpack:///./src/components/ErrorMessage.vue?a2fe","webpack:///./src/components/ErrorMessage.vue","webpack:///./src/components/NoOnlineBooking.vue?3106","webpack:///./src/components/NoOnlineBooking.vue?3137","webpack:///./src/components/NoOnlineBooking.vue?c4c9","webpack:///./src/components/NoOnlineBooking.vue","webpack:///./src/services/provider-service.ts","webpack:///./src/services/location-get-service.ts","webpack:///./src/App.vue?ec60","webpack:///./src/App.vue?640d","webpack:///./src/App.vue","webpack:///./src/main.ts","webpack:///./src/components/Common/Loading.vue?afdd","webpack:///./src/assets/images/large-down-arrow.svg","webpack:///./src/assets/images/calendar.svg","webpack:///./src/components/Confirmation.vue?fd59","webpack:///./src/assets/images/calendar-black.svg","webpack:///./src/assets/images/star.svg","webpack:///./src/components/Dialog.vue?9453","webpack:///./src/assets/images/calendar-dark.svg","webpack:///./src/components/Common/Autocomplete.vue?c0d2","webpack:///./src/assets/images/checkbox.svg","webpack:///./src/assets/images/refresh.svg","webpack:///./src/assets/images/back-arrow.svg","webpack:///./src/assets/images/question.svg"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","Vue","use","VueCompositionApi","AlertType","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","showModal","openAction","cancelAction","globalStore","state","isIframe","scopedSlots","_u","fn","_e","currentStage","EnumStages","entryPoint","location","locationEntry","setLocation","pickSchedule","getInfo","confirm","success","error","proxy","staticRenderFns","class","openModal","isFullSize","style","top","topPercent","modalId","mobileData","isMobile","title","_v","_s","_t","on","$event","stopPropagation","cancel","arguments","props","assign","DialogStage","ClinicStages","LabStages","LocationStages","LocationStagesViewAllBranch","alerts","counter","alert","id","some","x","message","disableTimeout","that","setTimeout","filter","type","Info","Error","addAlert","datepicker","mainDialog","anyActive","keys","modals","forEach","modalStore","disableShortcuts","shouldUseLocalStorage","menuIsOpen","isLoading","providerNpi","doctorName","labName","doctorTitle","doctorUrl","doctorImage","distinction","undefined","defaultImgUrl","patientId","isPartOfWellStarGroup","allowVirtualVisits","alternateOnlineSchedulingEnabled","alternateOnlineSchedulingMessage","doctorPhone","ratings","reviewCount","locations","Array","locationSearch","isVirtualVisit","externalSchedulingClientID","contactPhoneNumber","contactStatement","visitTypeId","reset","isDisabled","retry","axiosInstance","a","baseURL","withCredentials","headers","interceptors","request","response","status","apiService","responseCode","apiUrl","useLocalStorageIfNotLoggedIn","apiName","hasLocalStorage","localItem","localStorage","getItem","JSON","parse","list","sort","b","setItem","stringify","entity","getLocalList","store","post","count","find","item","delete","query","findAll","objectToQueryString","ids","itemNdx","findIndex","put","map","isArray","encodeURIComponent","join","startDate","endDate","isCommercial","providerId","start","end","isCommercialInsurance","appointmentService","timeout","selectedLocation","selectedDate","arrivalTime","selectedInsuranceCarrier","selectedInsurancePlanId","selectedInsurancePlanName","appointments","patientName","physicianList","vvPhysicianList","sitecoreLocation","otherLocationsLoaded","baseUrl","departmentId","slotBlockType","inPersonEnabled","virtualVideoEnabled","selectedLocationDropDownLocation","somePhysiciansAllowVirtualVisits","providers","additionalComments","isKSU","timeSlotExpired","currentSelectedLocationId","iDs","currentSitecoreLocationId","y","resetProcessData","onResize","addEventListener","resize","innerWidth","String","Boolean","isOpen","dialogModel","Number","Function","setup","newValue","component","format","previousStage","staticStyle","address","streetAddress","concat","city","abbreviation","postalCode","locationSchedules","departments","disabled","goToLocation","goToSchedule","preventDefault","savePatientInfo","missingFields","errors","general","_m","first_name","directives","rawName","form","expression","ref","domProps","target","composing","$set","last_name","birth_date","handleBirthDate","numbersOnly","email","phone_number","handlePhoneNumber","insurance_carrier","phone","getCarrierPlans","insuranceCarrierItems","insuranceCarrier","insurancePlans","insurance_plan","insurancePlan","gender","genderList","zip_code","isValid","disabledComp","label","autocompleteModel","e","focusOut","isFocused","indexOf","_k","keyCode","hey","filterItems","showDropDown","setFocus","_l","ndx","activeIndex","deactive","selectItem","text","flipShowDropDown","maxNumberItems","placeholder","model","items","required","showIfFocused","defaultValue","selectedHandler","removedHandler","context","selectOptions","filteredOptions","dValue","clearTimeout","emit","updateText","newOption","toLowerCase","isValidOption","handleTab","locationNumber","contactNumber","showLocationNumber","includes","directions","onLocationEntry","goToLocationEntry","$$selectedVal","options","selected","val","_value","multiple","switchInPersonVirtualvideoHeading","event","validate","validator","messages","validators","rule","requiredValidator","emailValidator","zipCodeValidator","zipCode","phoneNumberValidator","phoneNumber","letterValidator","letter","toString","trim","test","RelationshipAction","insuranceCarrierService","insurancePlanService","isFixed","provider","scheduleDays","visitTypes","npid","phones","active","houseNumber","number","displayName","date","slots","getToday","Date","setHours","time12h","split","time","modifier","hours","minutes","parseInt","appointmentData","allTimeSlots","throttleAppointments","nonBookableLocations","$","department","timeSlotsObj","hour","convertStringTime","hourText","formatStringTime","arriveByText","formatStringArrivalTime","isActive","timeSlots","daySlots","memo","Map","day","uid","has","set","lastDayByDepartment","timeSlotsHr","Set","add","now","differenceInMinutes","getTodayDate","departmentID","reduce","prev","physician","firstSlot","newDate","schedule","currentDate","currentDateString","today","todayDateString","isCurrentDate","isCurrentDepartment","nowTime","toLocaleTimeString","minute","filteredSlots","slot","parseISO","allDaySlots","virtualVisitDepartments","curr","openSchedulingDepartmentID","allowedTimeSlots","dates","filtered","index","timeParts","hrs","mins","newMinutes","toLocaleString","minimumIntegerDigits","useGrouping","swoosh","starIcon","lockup","lockupAlt","affiliateLabel","isAlternateOnlineSchedulingMessage","formatPhoneNumber","phoneNumberString","cleaned","replace","match","intlCode","isSameDepartment","depart1","depart2","idobject","departmentIsInList","department1","departmentList","isInList","latitude","longitude","newAddress","newAddress2","address2","from","combineLocationSchedules","schedules","npids","allSchedules","allDays","departmentIds","iProvider","providerDays","iDay","existingDay","flat","localeCompare","filteredDays","groupedSlots","iSlot","resultSlots","slotGroup","randomIndex","Math","floor","random","stripPhoneNumber","zeroToNine","digit","processData","associatedPhysicians","insuranceCarriers","components","AutoCompleteComponent","AutoCompleteExtendedComponent","Loading","DoctorHeading","LocationHeader","LabHeading","firstNameInput","birthDateInput","sessionStorage","patientForm","getAll","carriers","firstNonPopularPosition","focus","firstName","middleName","lastName","birthDate","insurancePlanId","insuranceCarrierId","carrier","plans","insertAt","insertText","substring","ev","keysAllowed","keyPressed","currentSlashCount","typeInTextarea","newText","bd","selectionStart","selectionEnd","showErrorMessages","clearErrorMessages","err","parsedDate","isNaN","getTime","ex","getStaticLocationImage","noAppointments","enabled","switchInPersonVirtualVideoTab","loadingAppts","loadWeekSchedule","loadCurrentMonth","selectedDateCallback","mobileDecreaseColor","decreaseSelectedDay","toggleMobileCalendar","onMobileCalendarDateChange","currentDateInput","increaseSelectedDay","onMobileCalendarDateSelect","onMobileCalendarMonthSelect","currentDateCallback","futureDaySlots","daySlot","timeslot","selectTime","formatDateText","saveLocationAndDate","previousMonthDisabled","previousMonth","month","year","activateMonths","curatedMonths","updateDate","months","activateYears","years","nextMonthDisabled","nextMonth","available","isDaySelected","setDate","dropdownText","toggleOpen","changeEvent","dropdownOptions","setupSingleSelect","selections","defaultItem","children","isSelected","navDate","startDateRange","endDateRange","gridArr","firstDayDate","startOfMonth","initialEmptyCells","getDay","lastDayDate","lastEmptyCells","daysInMonth","getDaysInMonth","arrayLength","fill","days","SelectComponent","Select","field","dateSelectedEvent","loadMonthEvent","_navDate","datepickerModel","updateMomentFields","showMonths","fieldEntity","showYears","getYear","oldValue","oldDate","updateDateSelection","monthOption","yearOption","showCalendar","selectMonth","setWeekActive","addMonths","forceRefresh","dateStart","dateEnd","isDayActive","num","isSameDay","setMonth","isMonthActive","setYear","isYearActive","showDatepicker","url","locationService","getPhysicianFullname","profession","startPosition","mounted","content","$el","scrollLeft","scrollBy","wheelDelta","attachEvent","onmousewheel","physicianUrl","providerLocationsService","locationProviderId","labService","locationPinImg","weekDays","dayText","DatePicker","HorizontalScroll","locationSelected","dateSelected","locationActive","locationDropdown","mobileCalendarDisplay","weekStart","weekEnd","lastDateLoaded","lastHScroll","initialize","dateFormat","setMinutes","getMinutes","getTimezoneOffset","endOfMonth","getDaySlots","selectedDateEndOfMonth","formatAddress","showBackButton","resetTimeSlots","scrollTop","parent","document","querySelector","child","getElementById","relativeTop","getBoundingClientRect","scrollTo","loadDatesForTimePeriod","selectFirstSlot","firstDayOfMonth","lastDayOfMonth","getFullYear","getMonth","getDate","formattedStartDate","formattedEndDate","dataPresent","GetSchedulesByLocations","filteredProviderResults","getLocationsAndSchedulesForProvider","providerSchedule","getTimeSlots","toggleLocationDropdown","dateSelection","setSeconds","profileImgUrl","pageUrl","handleScroll","el","offset","scrollWidth","currentDateEndOfMonth","locationSchedulingId","selectedLocationFromSitecore","MapStyles","featureType","elementType","stylers","color","visibility","parts","k","v","dateString","getAllTimeSlots","online","select","VIRTUAL_VISIT","isVirtualVisitLocation","getNonBookableLocations","providerLocations","firstLocationWithNumber","noDuplicates","nextStateEnum","getProviderLocationsFromSitecore","saveAppointment","handleTextArea","reason","greenStatus","redStatus","characterCount","tCAuthorization","_i","$$a","$$el","$$c","checked","$$v","$$i","toggletCAuthorization","labOrderConfirmation","togglelabOrderConfirmation","saving","createCommentsData","comments","comment","isTimeSlotValid","isFuture","patientInfo","tempDate","savePatientResult","resource","isVirtual","appointmentDate","appointmentTime","appt","addHours","preArrivalTime","hideModal","dispatchEvent","console","addMinutes","currentEvent","updatedCurrentEvent","refreshEvent","CustomEvent","detail","datePickerClick","isToday","disabledRange","datePickerPick","callback","datesBack","addBusinessDays","datesForward","datesBackMobile","datesForwardMobile","refInFor","timeSlotPicked","providerUrls","providerService","photoImage","imagePath","imageAlt","primarySpecialty","nextAvailableDate","rowHeight","collapsed","timeSlotClick","physicianModel","checkSlotsForMoreTimes","moreClick","daysWithinRange","daysOutOfRange","viewAllSlots","urlField","providerAvatarTmpl","createElement","innerHTML","ProviderAvatar","attachShadow","appendChild","cloneNode","contentWidth","resizeObserver","ResizeObserver","entries","newWidth","contentRect","width","render","observe","shadowRoot","getAttribute","setAttribute","removeAttribute","hasAttribute","avatarImg","avatar","avatarAlt","swooshImg","show","hide","strokeEl","strokeWidth","max","outlineWidth","outlineOffset","starIconImg","lockupImg","isInverted","invertedLockup","elem","display","HTMLElement","customElements","define","rating","StarRating","slot1","slot2","slot3","arr","timeSlot","dayslot","specialtyTitle","locationSchedule","npiPhysician","pLocation","hasMoreslots","slotColumn","res","areDaysWithinRange","areDaysOutOfRange","lastAvailableDate","selectedDateLaterThanLastDate","areDatesAvailable","workingPhysician","dayAfter","daysBeforeRange","earliestAvailableDate","PhysicianRow","slotsMap","datePicked","datesRetrieved","physicianUrls","getPhysicianDetailFromSitecore","enableOnlineScheduling","locationDeptIds","Promise","all","phy","ph","getDateArray","thisDate","datepick","classList","remove","openPopup","yay","isEqual","seconds","milliseconds","selectedSavedLocation","methods","$refs","startsWith","refreshAppointments","LocationHeading","globalPhone","locationItemID","getlocationService","DialogComponent","Dialog","Information","ErrorMessage","LocationDate","Schedule","Confirmation","Booked","LocationEntry","NoOnlineBooking","initSchedulingHelper","input","log","entry","getLocationByID","locationresponse","getEpicProviderFromSitecore","providerNPI","selectedSlotBlockType","enableAlternateOnlineScheduling","locationContactPhone","selectedTime","isWellStarLocation","addressArray","addDays","selectedDaySlots","formattedSlot","hour12","initSchedulingHelperLoaded","Event","body","overflowY","config","ignoredElements","productionTip","h","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B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IAAiB,eAAOyU,KAAlE,IAAoFlV,YAAA,EAAaF,aAAYC,oBCtR2P,MCQxW,I,UAAY,eACd,GACA,EACAoB,GACA,EACA,KACA,KACA,OAIa,M,QCZf,aAAIq2B,OAAOC,gBAAkB,CAC3B,mBAEF,aAAID,OAAOE,eAAgB,EAE3B,IAAI,aAAI,CACNpH,OAAQ,SAAAqH,GAAC,OAAIA,EAAEC,OACdC,OAAO,4B,gFCdV,W,4CCAA16B,EAAOD,QAAU,IAA0B,4B,qBCA3CC,EAAOD,QAAU,IAA0B,oB,0DCA3C,W,qBCAAC,EAAOD,QAAU,IAA0B,0B,qBCA3CC,EAAOD,QAAU,IAA0B,gB,kCCA3C,Y,qBCAAC,EAAOD,QAAU,IAA0B,yB,kCCA3C,W,qBCAAC,EAAOD,QAAU,IAA0B,oB,0FCA3CC,EAAOD,QAAU,IAA0B,mB,qBCA3CC,EAAOD,QAAU,IAA0B,sB,4CCA3CC,EAAOD,QAAU,IAA0B","file":"js/app.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StarRating.vue?vue&type=style&index=0&id=da5b3908&lang=stylus&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=style&index=0&id=2388bd16&lang=stylus&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/back-carrot.svg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationEntry.vue?vue&type=style&index=0&id=4fc073c0&lang=stylus&scoped=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoctorHeading.vue?vue&type=style&index=0&id=61b4190e&lang=stylus&scoped=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=style&index=0&id=4f60617a&lang=stylus&scoped=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationDate.vue?vue&type=style&index=0&id=20adb969&lang=stylus&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/usa.svg\";","module.exports = __webpack_public_path__ + \"img/online-illustration.svg\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Information.vue?vue&type=style&index=0&id=22c39368&lang=stylus&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationHeading.vue?vue&type=style&index=0&id=33ee38cb&lang=stylus&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/calendar-yellow.svg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AutocompleteExtended.vue?vue&type=style&index=0&id=5b9ddd81&lang=stylus&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PhysicianRow.vue?vue&type=style&index=0&id=370af702&lang=stylus&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/select-corner.svg\";","module.exports = __webpack_public_path__ + \"img/email.svg\";","module.exports = __webpack_public_path__ + \"img/subtract.svg\";","module.exports = __webpack_public_path__ + \"img/wmg-badge.svg\";","module.exports = __webpack_public_path__ + \"img/large-right-arrow.svg\";","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=stylus&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HorizontalScroll.vue?vue&type=style&index=0&id=195dff40&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"img/video-call.svg\";","module.exports = __webpack_public_path__ + \"img/locationpin-wmg.png\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Booked.vue?vue&type=style&index=0&id=898cd3b2&lang=stylus&scoped=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schedule.vue?vue&type=style&index=0&id=54b487dc&lang=stylus&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=style&index=0&lang=stylus&\"","module.exports = __webpack_public_path__ + \"img/forward-carrot.svg\";","module.exports = __webpack_public_path__ + \"img/down-arrow.svg\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NoOnlineBooking.vue?vue&type=style&index=0&id=5e1bb443&lang=stylus&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/id-card.svg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationHeader.vue?vue&type=style&index=0&id=b4c9597c&lang=stylus&scoped=true&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LabHeading.vue?vue&type=style&index=0&id=6c190fa6&lang=stylus&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/back-carrot-disabled.svg\";","\r\nimport Vue from 'vue'\r\nimport VueCompositionApi from '@vue/composition-api'\r\n\r\nVue.use(VueCompositionApi);","export class Alert implements IAlert {\r\n id!: number\r\n message!: string\r\n type!: AlertType\r\n disableTimeout?: boolean | undefined\r\n constructor(private readonly props?: IAlert) {\r\n Object.assign(this, props);\r\n }\r\n}\r\n\r\nexport interface IAlert {\r\n id: number\r\n message: string\r\n type: AlertType,\r\n disableTimeout?: boolean\r\n}\r\n\r\nexport enum AlertType {\r\n Info,\r\n Warning,\r\n Error\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tailwind\",attrs:{\"id\":\"zx-wellstar\"}},[_c('dialog-component',{attrs:{\"isOpen\":_vm.showModal,\"openAction\":_vm.openAction,\"cancelAction\":_vm.cancelAction,\"modalId\":\"mainDialog\",\"isFullSize\":_vm.globalStore.state.isIframe},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [(_vm.globalStore.state.alternateOnlineSchedulingEnabled)?_c('no-online-booking'):_vm._e(),(_vm.currentStage == _vm.EnumStages[_vm.entryPoint.location].locationEntry)?_c('location-entry'):_vm._e(),(_vm.currentStage == _vm.EnumStages[_vm.entryPoint.location].setLocation)?_c('location-date'):_vm._e(),(_vm.currentStage == _vm.EnumStages[_vm.entryPoint.location].pickSchedule)?_c('schedule'):_vm._e(),(_vm.currentStage == _vm.EnumStages[_vm.entryPoint.location].getInfo)?_c('information'):_vm._e(),(_vm.currentStage == _vm.EnumStages[_vm.entryPoint.location].confirm)?_c('confirmation'):_vm._e(),(_vm.currentStage == _vm.EnumStages[_vm.entryPoint.location].success)?_c('booked'):_vm._e(),(_vm.currentStage == _vm.EnumStages[_vm.entryPoint.location].error)?_c('error-message'):_vm._e()]},proxy:true},{key:\"footer\",fn:function(){return [_c('div',{staticClass:\"zx-flex zx-mt-8\"})]},proxy:true}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"zy-modal zy-dialog\",class:{'open': _vm.openModal, 'full-size': _vm.isFullSize},style:({top: (_vm.topPercent + \"%\")}),attrs:{\"id\":_vm.modalId}},[_c('div',{staticClass:\"zy-modal-content zx-flex zx-flex-col\",class:{'zy-position-relative': _vm.mobileData.isMobile},attrs:{\"aria-label\":\"book an appointment modal\"}},[(_vm.title && _vm.title.length > 0)?_c('p',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),(_vm.openModal)?_vm._t(\"content\"):_vm._e()],2)]),_c('div',{staticClass:\"zy-modal-overlay\",class:{'open': _vm.openModal},on:{\"click\":function($event){$event.stopPropagation();return _vm.cancel.apply(null, arguments)}}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { globalStore } from '@/store';\r\nimport { computed, reactive} from '@vue/composition-api';\r\nimport { appointmentService } from \"../services/appointment-service\";\r\nimport { AppointmentListDto } from \"../store/entities/appointment-dto\";\r\nimport { InsuranceCarrierDto } from \"../store/entities/insuranceCarrier-dto\";\r\nimport { Department } from \"../store/entities/location-dto\";\r\nimport { PhysicianDetailModel } from '@/store/entities/provider-dto';\r\n\r\n\r\nexport enum DialogStage {\r\n setLocation = 0,\r\n pickSchedule,\r\n getInfo,\r\n confirm,\r\n success,\r\n error\r\n}\r\n\r\nexport enum ClinicStages {\r\n pickSchedule = 0,\r\n getInfo,\r\n confirm,\r\n success,\r\n error,\r\n}\r\n\r\nexport enum LabStages {\r\n labEntry = 0,\r\n pickSchedule,\r\n getInfo,\r\n confirm,\r\n success,\r\n error\r\n}\r\n\r\nexport enum LocationStages {\r\n locationEntry = 0,\r\n getInfo,\r\n confirm,\r\n success,\r\n error\r\n}\r\n\r\nexport enum LocationStagesViewAllBranch {\r\n locationEntry = 0,\r\n pickSchedule,\r\n getInfo,\r\n confirm,\r\n success,\r\n error\r\n}\r\n\r\nexport const EnumStages = {\r\n 'physician': DialogStage,\r\n 'lab': LabStages,\r\n 'location': LocationStages,\r\n 'locationViewAllBranch': LocationStagesViewAllBranch,\r\n 'clinic': ClinicStages,\r\n}\r\n\r\nexport const entryPoint = reactive({\r\n location: 'physician',\r\n});\r\n\r\nexport const processData = reactive({\r\n currentStage: EnumStages[entryPoint.location][0],\r\n selectedLocation: undefined as undefined | Department,\r\n selectedDate: undefined as undefined | Date,\r\n arrivalTime: '',\r\n selectedInsuranceCarrier: undefined as undefined | InsuranceCarrierDto,\r\n selectedInsurancePlanId: 0,\r\n selectedInsurancePlanName: '',\r\n appointments: [] as AppointmentListDto[],\r\n showModal: false,\r\n patientName: '',\r\n physicianList: [] as PhysicianDetailModel[],\r\n vvPhysicianList: [],\r\n sitecoreLocation: undefined as undefined | Department,\r\n otherLocationsLoaded: false,\r\n baseUrl: process.env.VUE_APP_API_URL,\r\n departmentId: '',\r\n slotBlockType: '',\r\n inPersonEnabled: true,\r\n virtualVideoEnabled: false,\r\n selectedLocationDropDownLocation: 'physicalLocation',\r\n somePhysiciansAllowVirtualVisits: false,\r\n providers: [],\r\n additionalComments: [],\r\n isKSU: false,\r\n timeSlotExpired: false,\r\n})\r\nexport const currentSelectedLocationId = computed(() => {\r\n return processData.selectedLocation?.iDs?.filter(x => x.type == \"External\"); //TODO, do we always use the External type for id?\r\n})\r\n\r\n\r\nexport const isVirtualVisit = computed(() => {\r\n return !!globalStore.state.isVirtualVisit\r\n //return processData.selectedLocation && processData.selectedLocation.name === 'virtual-visit';\r\n})\r\n\r\nexport const allowVirtualVisits = computed(() => {\r\n return !!globalStore.state.allowVirtualVisits\r\n})\r\n\r\nexport const currentSitecoreLocationId = computed(() => {\r\n return processData.sitecoreLocation?.iDs?.filter(x => x.type == \"External\")?.map(y => y.id);\r\n})\r\n\r\nexport const loadProviderAppointments = async (startDate, endDate, isCommercial) => {\r\n let apts = await appointmentService.loadProviderAppointments(startDate, endDate, isCommercial);\r\n //make sure date is updated\r\n apts.forEach(x => x.appointmentDate = new Date(x.appointmentDate));\r\n processData.appointments = apts;\r\n}\r\n\r\nexport const resetProcessData = () => {\r\n processData.currentStage = EnumStages[entryPoint.location][0];\r\n processData.selectedLocation = undefined;\r\n processData.selectedDate = undefined;\r\n processData.arrivalTime = ''\r\n processData.selectedInsuranceCarrier = undefined;\r\n processData.appointments = [];\r\n processData.physicianList = [];\r\n processData.inPersonEnabled = true;\r\n processData.virtualVideoEnabled = false;\r\n processData.selectedLocationDropDownLocation = 'physicalLocation';\r\n processData.providers = [];\r\n processData.timeSlotExpired = false;\r\n}","import { Alert, AlertType } from '../entities/alert';\r\nimport {reactive} from '@vue/composition-api'\r\nimport { IStore } from '..';\r\n\r\nclass AlertStore implements IStore{\r\n state = reactive({\r\n alerts: [] as Alert[],\r\n counter: 0 as number\r\n })\r\n \r\n addAlert(alert: Alert) {\r\n alert.id = this.state.counter;\r\n //check to make sure we are not adding the same alert twice, which can happen from time to time.\r\n if(this.state.alerts.some(x => x.message == alert.message))\r\n return;\r\n this.state.alerts.push(alert);\r\n this.state.counter++;\r\n if(!alert.disableTimeout) {\r\n let that = this;\r\n setTimeout(()=> {\r\n that.state.alerts = that.state.alerts.filter(x => x.id != alert.id);\r\n that.state.counter--\r\n }, 5000) \r\n }\r\n }\r\n \r\n addSimpleAlert(message:string) {\r\n let alert = new Alert({\r\n id: 0,\r\n message: message,\r\n type: AlertType.Info\r\n });\r\n alert.id = this.state.counter;\r\n this.state.alerts.push(alert);\r\n this.state.counter++;\r\n let that = this;\r\n setTimeout(()=> {\r\n that.state.alerts = that.state.alerts.filter(x => x.id != alert.id);\r\n this.state.counter--\r\n }, 5000)\r\n }\r\n \r\n addUnauthorizedAlert() {\r\n const alert = new Alert({\r\n id: 0,\r\n message: 'You are not authorized to view that page',\r\n type: AlertType.Error\r\n })\r\n this.addAlert(alert)\r\n }\r\n\r\n removeAlert(alert: Alert) {\r\n this.state.alerts = this.state.alerts.filter(x=>x.id !== alert.id);\r\n }\r\n\r\n\r\n clearAlerts() {\r\n this.state.alerts = []\r\n }\r\n\r\n}\r\n\r\nconst alertStore = new AlertStore();\r\n\r\nexport default alertStore;","import {reactive, computed} from '@vue/composition-api'\r\nimport { IStore } from '..';\r\n\r\nclass ModalStore implements IStore{\r\n state = reactive({\r\n datepicker: false,\r\n mainDialog: false,\r\n })\r\n anyActive = computed(() => {\r\n const keys = Object.keys(this.state);\r\n return keys.some(x => this.state[x]); \r\n })\r\n clearAll() {\r\n let modals = Object.keys(this.state);\r\n modals.forEach(x => (this.state[x]) = false);\r\n }\r\n\r\n}\r\n\r\nconst modalStore = new ModalStore();\r\n\r\nexport {modalStore};","import {reactive,computed} from '@vue/composition-api';\r\nimport { IStore } from '..';\r\nimport { SitecoreLocation } from '../entities/location-dto';\r\nimport { modalStore } from './modal-store';\r\n\r\nclass GlobalStore implements IStore{\r\n state = reactive({\r\n disableShortcuts: false,\r\n shouldUseLocalStorage: false,\r\n menuIsOpen: false,\r\n isLoading: false,\r\n providerNpi: \"\",\r\n doctorName: \"\",\r\n labName: \"\",\r\n doctorTitle: \"\",\r\n doctorUrl: \"\",\r\n doctorImage: \"\",\r\n distinction: undefined,\r\n defaultImgUrl: '/-/media/Themes/WellStar/Org/WellStarOrg/WellStarTheme/images/defaultimage',\r\n patientId: \"\",\r\n isPartOfWellStarGroup: \"\",\r\n allowVirtualVisits: false,\r\n alternateOnlineSchedulingEnabled: false,\r\n alternateOnlineSchedulingMessage: '',\r\n doctorPhone: '',\r\n ratings: \"\",\r\n reviewCount: \"\",\r\n locations: Array(),\r\n locationSearch: false,\r\n isVirtualVisit: false,\r\n isIframe: false,\r\n externalSchedulingClientID: '',\r\n contactPhoneNumber: \"\",\r\n contactStatement: \"\",\r\n visitTypeId: ''\r\n })\r\n\r\n // reset function that clears all the properties\r\n reset = () => {\r\n this.state.disableShortcuts = false;\r\n this.state.shouldUseLocalStorage = false;\r\n this.state.menuIsOpen = false;\r\n this.state.isLoading = false;\r\n this.state.providerNpi = \"\";\r\n this.state.doctorName = \"\";\r\n this.state.labName = \"\";\r\n this.state.doctorTitle = \"\";\r\n this.state.doctorUrl = \"\";\r\n this.state.doctorImage = \"\";\r\n this.state.patientId = \"\";\r\n this.state.isPartOfWellStarGroup = \"\";\r\n this.state.alternateOnlineSchedulingEnabled = false;\r\n this.state.alternateOnlineSchedulingMessage = '';\r\n this.state.doctorPhone = '';\r\n this.state.ratings = \"\";\r\n this.state.reviewCount = \"\";\r\n this.state.locations = [];\r\n this.state.allowVirtualVisits = false;\r\n this.state.isVirtualVisit = false;\r\n this.state.isIframe = false;\r\n this.state.externalSchedulingClientID = '';\r\n this.state.contactPhoneNumber = \"\";\r\n this.state.contactStatement = \"\";\r\n this.state.visitTypeId = '';\r\n }\r\n\r\n //This needs to be non-reactive in order for the library to work\r\n isDisabled = computed(() => {\r\n return this.state.disableShortcuts || modalStore.anyActive.value;\r\n })\r\n}\r\n\r\nexport const isLoading = computed(() => {\r\n return globalStore.state.isLoading\r\n})\r\n\r\n\r\nconst globalStore = new GlobalStore();\r\n\r\nexport {globalStore};","import axios, {AxiosResponse, AxiosError, AxiosRequestConfig, AxiosInstance} from 'axios'\r\n\r\nexport class ApiInstance {\r\n axiosInstance: AxiosInstance\r\n retry: boolean = false;\r\n constructor() {\r\n this.axiosInstance = axios.create({\r\n baseURL: process.env.VUE_APP_API_URL,\r\n withCredentials: false, \r\n headers: {\r\n 'Accept': 'application/json',\r\n 'Content-Type': 'application/json',\r\n }\r\n });\r\n this.axiosInstance.interceptors.request.use(\r\n (request: AxiosRequestConfig) => {\r\n return request\r\n }\r\n )\r\n this.axiosInstance.interceptors.response.use(\r\n //accepted\r\n (response: AxiosResponse) => response,\r\n //rejected\r\n async (response: AxiosError) => {\r\n if(response.response){\r\n if(response.response.status === 400) {\r\n return response.response; \r\n } \r\n else if(response.response.status === 401) {\r\n return response.response; \r\n }\r\n else {\r\n return response.response; \r\n }\r\n }\r\n return response.message\r\n } \r\n );\r\n }\r\n}\r\nconst apiService = (new ApiInstance()).axiosInstance;\r\nexport {apiService};","export class TimeSlotExpiredError extends Error {\r\n constructor(message: string, public responseCode: number) {\r\n super(message);\r\n }\r\n}","import { DtoList, IBaseDto } from '../store/entities';\r\nimport { IBaseService } from '../store/types/base.service';\r\nimport { globalStore } from \"../store/modules/global-store\";\r\nimport { apiService } from './api';\r\nimport { TimeSlotExpiredError } from '../helpers/custom-error-helpers';\r\n\r\n//good source for some additional code https://github.com/nestjsx/crud/\r\nexport class BaseService implements IBaseService {\r\n protected apiName : string;\r\n protected hasLocalStorage: boolean\r\n\tconstructor(protected readonly apiUrl: string, protected readonly useLocalStorageIfNotLoggedIn: boolean = false) {\r\n this.apiName = apiUrl;\r\n this.hasLocalStorage = useLocalStorageIfNotLoggedIn;\r\n }\r\n\r\n private getLocalList() : Array{\r\n let localItem = localStorage.getItem(this.apiName)\r\n if(localItem) \r\n return JSON.parse(localItem) as Array\r\n return new Array()\r\n }\r\n private store(list: Array) : void {\r\n list.sort((a,b) => a.id - b.id) // make sure to re-order\r\n localStorage.setItem(this.apiName,JSON.stringify(list));\r\n }\r\n private shouldUseLocalStorage() : boolean {\r\n return this.hasLocalStorage && globalStore.state.shouldUseLocalStorage\r\n }\r\n async create(entity: T) : Promise{\r\n if(this.shouldUseLocalStorage()) {\r\n let list = this.getLocalList();\r\n entity.id = list.length > 0 ? list[list.length-1].id++ : 1; //get last item id, increment by\r\n list.push(entity);\r\n this.store(list);\r\n return entity;\r\n }\r\n let response = await apiService.post(this.apiName, entity);\r\n if(response.status === 200 || response.status === 201 || response.status === 201) {\r\n return response.data;\r\n }\r\n\r\n if (response.status === 400) {\r\n throw new TimeSlotExpiredError(\"Error adding \" + this.apiUrl, response.status)\r\n } else {\r\n throw new Error(\"Error adding \" + this.apiUrl)\r\n } \r\n }\r\n\r\n async getAll() : Promise {\r\n let response = await apiService.get>(this.apiName);\r\n if(response.status === 200 || response.status === 201) {\r\n return {data:response.data as T[],count:0};\r\n }\r\n throw new Error(\"Error retrieving \" + this.apiUrl);\r\n }\r\n\r\n async get(id: number) : Promise {\r\n if(this.shouldUseLocalStorage()) {\r\n let list =this.getLocalList();\r\n return list.find(x => x.id == id);\r\n }\r\n let response = await apiService.get(`${this.apiName}/${id}`);\r\n if(response.status === 200 || response.status === 201) {\r\n return response.data;\r\n }\r\n return undefined;\r\n }\r\n\r\n async delete(id: number) : Promise {\r\n if(this.shouldUseLocalStorage()) {\r\n let list = this.getLocalList();\r\n const item = list.find(x => x.id == id);\r\n list = list.filter(x => x.id != id);\r\n this.store(list);\r\n return item;\r\n }\r\n let response = await apiService.delete(`${this.apiName}/${id}`);\r\n if(response.status === 200 || response.status === 201) {\r\n return response.data;\r\n }\r\n throw new Error(\"Error deleting \" + this.apiUrl);\r\n }\r\n async findOne(query: any) : Promise{ \r\n if(this.shouldUseLocalStorage()) {\r\n let list = await this.findAll(query);\r\n return list ? list[0] : undefined;\r\n }\r\n let response = await apiService.get(`${this.apiName}?${this.objectToQueryString(query)}`);\r\n if(response.status === 200 || response.status === 201) {\r\n if((response.data as DtoList).count > 0)\r\n return (response.data as DtoList).data[0];\r\n return undefined;\r\n }\r\n throw new Error(\"Error querying \" + this.apiUrl);\r\n }\r\n\r\n async findAll(query: any) : Promise | undefined>{ \r\n if(query && query.ids && query.ids.length === 0) {\r\n delete query.ids \r\n if(Object.keys(query).length === 0)\r\n return []\r\n }\r\n let response = await apiService.get>(`${this.apiName}?${this.objectToQueryString(query)}`);\r\n if(response.status === 200 || response.status === 201) {\r\n return response.data;\r\n }\r\n throw new Error(\"Error querying \" + this.apiUrl);\r\n }\r\n\r\n async update(id: number, entity: any): Promise{\r\n if(this.shouldUseLocalStorage()) {\r\n let list =this.getLocalList();\r\n const itemNdx = list.findIndex(x => x.id == id);\r\n let item = list.splice(itemNdx,1)[0];\r\n item = Object.assign(item, entity) as T;\r\n list.push(item);\r\n this.store(list);\r\n return item;\r\n }\r\n let response = await apiService.put(`${this.apiName}/${id}`, entity);\r\n if(response.status === 200 || response.status === 201)\r\n return response.data;\r\n throw new Error(\"Error updating \" + this.apiUrl);\r\n }\r\n\r\n //helper querystring function\r\n protected objectToQueryString(query:any) : string {\r\n if(query && Object.keys(query).length > 0) {\r\n return Object.keys(query).map(x => {\r\n if(Array.isArray(query[x]))\r\n return `${x}=[${encodeURIComponent(query[x])}]` \r\n else \r\n return `${x}=${encodeURIComponent(query[x])}`\r\n }).join('&') \r\n }\r\n return '';\r\n }\r\n}\r\n","import { BaseService } from './base-service';\r\nimport { AppointmentDto, AppointmentListDto } from '../store/entities/appointment-dto';\r\nimport { add, format } from 'date-fns';\r\nimport { globalStore } from '../store';\r\nimport { apiService } from './api';\r\n\r\nexport class AppointmentsService extends BaseService {\r\n constructor() { \r\n super('appointments');\r\n }\r\n async loadProviderAppointments(startDate, endDate, isCommercial) : Promise {\r\n let query = {providerId: globalStore.state.providerNpi, start: startDate, end: endDate, isCommercialInsurance: isCommercial }\r\n \r\n let response = await apiService.get(`${this.apiName}?${this.objectToQueryString(query)}`);\r\n if(response.status === 200 || response.status === 201) {\r\n return response.data as AppointmentListDto[];\r\n }\r\n return []\r\n }\r\n}\r\n\r\nconst appointmentService = new AppointmentsService();\r\nexport {appointmentService}; ","\n\n\n\n\n\n\n\n\n\n\r\nimport { ISelectOption, FormField } from '../../store/entities/form-entity';\r\nimport { defineComponent, reactive, computed, ComputedRef, onMounted, watch, toRefs, SetupContext } from '@vue/composition-api';\r\nimport { processData } from '../../helpers/process-helper';\r\nlet img1 = require('@/assets/images/down-arrow.svg');\r\n\r\ninterface AutocompleteProps {\r\n label?: String,\r\n placeholder?: String,\r\n name?: FormField,\r\n model?: String,\r\n items?: Array,\r\n showIfFocused: Boolean,\r\n required?: Boolean,\r\n defaultValue?: String,\r\n selectedHandler?: Function,\r\n removedHandler?: Function,\r\n disabledComp?: Boolean\r\n}\r\nconst maxNumberItems = 800;\r\nlet timeout;\r\nexport default defineComponent({\r\n props: {\r\n label: String,\r\n placeholder: String,\r\n name: String,\r\n model: String,\r\n items : Array as () => ISelectOption[],\r\n required: Boolean,\r\n showIfFocused: Boolean,\r\n defaultValue: String,\r\n selectedHandler: Function,\r\n removedHandler: Function,\r\n disabledComp: Boolean\r\n },\r\n setup(props:AutocompleteProps, context: SetupContext) {\r\n onMounted(() => {\r\n data.selectOptions = props.items ? props.items : [];\r\n data.autocompleteModel = props.defaultValue as string;\r\n data.filteredOptions = props.showIfFocused ? data.selectOptions : [];\r\n data.dValue = props.defaultValue;\r\n })\r\n const data = reactive({\r\n autocompleteModel: '',\r\n selectOptions: [] as ISelectOption[],\r\n filteredOptions: [] as ISelectOption[],\r\n activeIndex: -1,\r\n isFocused: false,\r\n dValue: props.defaultValue,\r\n baseUrl: processData.baseUrl\r\n })\r\n const showDropDown : ComputedRef = computed(() =>{\r\n return props.showIfFocused == true ? data.isFocused : data.filteredOptions.length > 0 && data.isFocused && data.autocompleteModel.length > 0\r\n })\r\n watch(() => props.items, (newValue:ISelectOption[] | undefined) => {\r\n data.selectOptions = newValue ? newValue : [];\r\n data.filteredOptions = data.selectOptions.slice(0,maxNumberItems);\r\n data.autocompleteModel = props.defaultValue != undefined? props.defaultValue as string : '';\r\n if (props.defaultValue != undefined && props.defaultValue.length > 0 && data.selectOptions.length > 0 && data.selectOptions.find(x => x.text === props.defaultValue) != undefined ){\r\n selectItem(data.selectOptions.find(x => x.text === props.defaultValue));\r\n }\r\n })\r\n watch(() => props.defaultValue, (newValue:string | undefined) => {\r\n if (newValue != undefined && newValue.length > 0 && data.selectOptions.length > 0 && data.selectOptions.find(x => x.text === newValue) != undefined ){\r\n selectItem(data.selectOptions.find(x => x.text === newValue));\r\n }\r\n })\r\n const focusOut = () => {\r\n timeout = setTimeout(() => {data.isFocused = false;},200)\r\n }\r\n const flipShowDropDown = () => {\r\n data.isFocused = !data.isFocused;\r\n }\r\n const setFocus = () => {\r\n clearTimeout(timeout);\r\n data.isFocused = true;\r\n }\r\n const selectItem = (item:ISelectOption) => {\r\n if(item.value <= -1) return;\r\n data.autocompleteModel = item.text;\r\n context.emit('update:model', item.text)\r\n data.dValue = item.text;\r\n data.isFocused = false;\r\n data.filteredOptions = props.items;\r\n if(props.selectedHandler) {\r\n props.selectedHandler(item);\r\n }\r\n }\r\n const updateText = (text: string) => {\r\n const newOption: ISelectOption = {\r\n text: text,\r\n value: ''\r\n }\r\n \r\n context.emit('update:model', newOption.text)\r\n if(props.selectedHandler) {\r\n props.selectedHandler(newOption);\r\n }\r\n }\r\n const filterItems = (e:KeyboardEvent) => {\r\n //update model as well\r\n if(data.autocompleteModel.length > 1) {\r\n data.filteredOptions = data.selectOptions.filter(x => x.text.toLowerCase().indexOf((data.autocompleteModel as string).toLowerCase()) == 0 && x.value >= -1).slice(0,maxNumberItems);\r\n } else {\r\n data.filteredOptions = data.selectOptions.slice(0,maxNumberItems);\r\n }\r\n if(e.keyCode == 13) {\r\n //enter key...handle with keys below in a min\r\n e.preventDefault();\r\n selectItem(data.filteredOptions[data.activeIndex])\r\n }\r\n //up and down keys\r\n if(e.keyCode == 38 || e.keyCode == 40) {\r\n e.preventDefault();\r\n if(e.keyCode == 38 && data.activeIndex > -1) {\r\n data.activeIndex--;\r\n }\r\n if(e.keyCode === 40 && data.activeIndex < data.filteredOptions.length - 1) {\r\n data.activeIndex++;\r\n }\r\n }\r\n // new option\r\n const isValidOption = !!data.selectOptions.find(x => x.text === data.autocompleteModel);\r\n if (!isValidOption && !(e.keyCode == 38 || e.keyCode == 40)) {\r\n updateText(data.autocompleteModel)\r\n }\r\n }\r\n const handleTab = (e:KeyboardEvent) => {\r\n if(data.isFocused)\r\n data.isFocused = false\r\n }\r\n\r\n const hey = (e:KeyboardEvent) => {\r\n if(data.filteredOptions.length > 0)\r\n e.preventDefault()\r\n }\r\n \r\n return {hey, handleTab, filterItems, selectItem, ...toRefs(data), showDropDown, focusOut, setFocus, flipShowDropDown}\r\n }\r\n})\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { ISelectOption, FormField } from '../../store/entities/form-entity';\r\nimport { defineComponent, reactive, computed, ComputedRef, onMounted, watch, toRefs, SetupContext } from '@vue/composition-api';\r\nimport { processData } from '../../helpers/process-helper';\r\nlet img1 = require('@/assets/images/down-arrow.svg');\r\n\r\ninterface AutocompleteExtendedProps {\r\n label?: String,\r\n contactNumber?: String,\r\n placeholder?: String,\r\n name?: FormField,\r\n model?: String,\r\n items?: Array,\r\n showIfFocused: Boolean,\r\n required?: Boolean,\r\n defaultValue?: String,\r\n selectedHandler?: Function,\r\n removedHandler?: Function,\r\n disabledComp?: Boolean\r\n}\r\nconst maxNumberItems = 800;\r\nlet timeout;\r\nexport default defineComponent({\r\n props: {\r\n label: String,\r\n contactNumber: String,\r\n placeholder: String,\r\n name: String,\r\n model: String,\r\n items : Array as () => ISelectOption[],\r\n required: Boolean,\r\n showIfFocused: Boolean,\r\n defaultValue: String,\r\n selectedHandler: Function,\r\n removedHandler: Function,\r\n disabledComp: Boolean\r\n },\r\n setup(props:AutocompleteExtendedProps, context: SetupContext) {\r\n onMounted(() => {\r\n data.selectOptions = props.items ? props.items : [];\r\n data.autocompleteModel = props.defaultValue as string;\r\n data.filteredOptions = props.showIfFocused ? data.selectOptions : [];\r\n data.dValue = props.defaultValue;\r\n })\r\n const data = reactive({\r\n autocompleteModel: '',\r\n selectOptions: [] as ISelectOption[],\r\n filteredOptions: [] as ISelectOption[],\r\n activeIndex: -1,\r\n isFocused: false,\r\n dValue: props.defaultValue,\r\n baseUrl: processData.baseUrl,\r\n showLocationNumber: false,\r\n locationNumber: props.contactNumber\r\n })\r\n const showDropDown : ComputedRef = computed(() =>{\r\n return props.showIfFocused == true ? data.isFocused : data.filteredOptions.length > 0 && data.isFocused && data.autocompleteModel.length > 0\r\n })\r\n watch(() => props.items, (newValue:ISelectOption[] | undefined) => {\r\n data.selectOptions = newValue ? newValue : [];\r\n data.filteredOptions = data.selectOptions.slice(0,maxNumberItems);\r\n data.autocompleteModel = props.defaultValue != undefined? props.defaultValue as string : '';\r\n if (props.defaultValue != undefined && props.defaultValue.length > 0 && data.selectOptions.length > 0 && data.selectOptions.find(x => x.text === props.defaultValue) != undefined ){\r\n selectItem(data.selectOptions.find(x => x.text === props.defaultValue));\r\n }\r\n })\r\n watch(() => props.defaultValue, (newValue:string | undefined) => {\r\n if (newValue != undefined && newValue.length > 0 && data.selectOptions.length > 0 && data.selectOptions.find(x => x.text === newValue) != undefined ){\r\n selectItem(data.selectOptions.find(x => x.text === newValue));\r\n }\r\n })\r\n const focusOut = () => {\r\n timeout = setTimeout(() => {data.isFocused = false;},200)\r\n }\r\n const flipShowDropDown = () => {\r\n data.isFocused = !data.isFocused;\r\n }\r\n const setFocus = () => {\r\n clearTimeout(timeout);\r\n data.isFocused = true;\r\n }\r\n const selectItem = (item:ISelectOption) => {\r\n if(item.value <= -1) return;\r\n data.autocompleteModel = item.text;\r\n context.emit('update:model', item.text)\r\n data.dValue = item.text;\r\n data.isFocused = false;\r\n data.showLocationNumber = false\r\n data.filteredOptions = props.items;\r\n if(props.selectedHandler) {\r\n props.selectedHandler(item);\r\n }\r\n }\r\n const updateText = (text: string) => {\r\n const newOption: ISelectOption = {\r\n text: text,\r\n value: ''\r\n }\r\n \r\n context.emit('update:model', newOption.text)\r\n if(props.selectedHandler) {\r\n props.selectedHandler(newOption);\r\n }\r\n }\r\n const filterItems = (e:KeyboardEvent) => {\r\n //update model as well\r\n if(data.autocompleteModel.length > 1) {\r\n // Changed filter options to use includes for matching\r\n data.filteredOptions = data.selectOptions.filter(x => x.text.toLowerCase().includes(data.autocompleteModel.toLowerCase()));\r\n if(data.filteredOptions.length === 0) {\r\n data.showLocationNumber = true\r\n } else {\r\n data.showLocationNumber = false\r\n }\r\n } else {\r\n data.filteredOptions = data.selectOptions.slice(0,maxNumberItems);\r\n }\r\n if(e.keyCode == 13) {\r\n //enter key...handle with keys below in a min\r\n e.preventDefault();\r\n selectItem(data.filteredOptions[data.activeIndex])\r\n }\r\n //up and down keys\r\n if(e.keyCode == 38 || e.keyCode == 40) {\r\n e.preventDefault();\r\n if(e.keyCode == 38 && data.activeIndex > -1) {\r\n data.activeIndex--;\r\n }\r\n if(e.keyCode === 40 && data.activeIndex < data.filteredOptions.length - 1) {\r\n data.activeIndex++;\r\n }\r\n }\r\n // new option\r\n const isValidOption = !!data.selectOptions.find(x => x.text === data.autocompleteModel);\r\n if (!isValidOption && !(e.keyCode == 38 || e.keyCode == 40)) {\r\n updateText(data.autocompleteModel)\r\n }\r\n }\r\n const handleTab = (e:KeyboardEvent) => {\r\n if(data.isFocused)\r\n data.isFocused = false\r\n }\r\n\r\n const hey = (e:KeyboardEvent) => {\r\n if(data.filteredOptions.length > 0)\r\n e.preventDefault()\r\n }\r\n \r\n return {hey, handleTab, filterItems, selectItem, ...toRefs(data), showDropDown, focusOut, setFocus, flipShowDropDown}\r\n }\r\n})\r\n","import { reactive } from \"@vue/composition-api\";\r\n\r\nexport const mobileData = reactive({\r\n isMobile: false\r\n})\r\n\r\nexport const onResize = () => {\r\n window.addEventListener('resize', resize);\r\n resize();\r\n}\r\nconst resize = () => {\r\n mobileData.isMobile = window.innerWidth <= 760; \r\n}","\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { defineComponent, reactive, toRefs, watch, onMounted } from \"@vue/composition-api\"\r\nimport { processData } from \"../helpers/process-helper\";\r\nimport {mobileData, onResize} from \"../helpers/mobile-helper\";\r\nimport { globalStore } from '../store/modules/global-store';\r\n\r\ninterface ModalProps {\r\n title?: string, \r\n modalId?: string,\r\n isOpen?: boolean, //this is the flag that opens/closes the modal\r\n dialogModel?:Object,\r\n noFooter?: Boolean,\r\n isFullSize?:Boolean,\r\n top?: number,\r\n cancelAction?: Function,\r\n openAction?: Function\r\n}\r\n\r\nexport default defineComponent({\r\n props: {\r\n title: String, \r\n modalId: String,\r\n isFullSize: Boolean,\r\n isOpen: Boolean,\r\n dialogModel:Object,\r\n // noFooter: Boolean,\r\n top: Number,\r\n cancelAction: Function,\r\n openAction: Function\r\n }, \r\n setup(props:ModalProps) {\r\n onMounted(() => {\r\n if(props.modalId && props.top){\r\n data.topPercent = props.top || 20;\r\n }\r\n\r\n })\r\n const data = reactive({\r\n topPercent: 10,\r\n openModal: props.isOpen\r\n })\r\n\r\n watch(() => props.isOpen, (newValue) => {\r\n data.openModal = newValue;\r\n if(newValue && props.openAction) {\r\n props.openAction();\r\n }\r\n if(!newValue && props.cancelAction) {\r\n props.cancelAction();\r\n }\r\n })\r\n const cancel = () => {\r\n if (!globalStore.state.isIframe) {\r\n processData.showModal = false;\r\n }\r\n }\r\n return {\r\n ...toRefs(data),\r\n cancel,\r\n mobileData,\r\n onResize,\r\n };\r\n }\r\n})\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Dialog.vue?vue&type=template&id=0b1e4daa&\"\nimport script from \"./Dialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./Dialog.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Dialog.vue?vue&type=style&index=0&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-information\",attrs:{\"role\":\"main\",\"aria-label\":\"information\",\"id\":\"zy-information-container\"}},[(_vm.entryPoint.location === 'physician')?_c('doctor-heading'):(_vm.entryPoint.location === 'lab')?_c('lab-heading'):_c('location-header',{attrs:{\"on-location-entry\":false}}),(_vm.entryPoint.location === 'location' || _vm.entryPoint.location === 'clinic' || _vm.entryPoint.location === 'locationViewAllBranch')?_c('div',{staticClass:\"zx-flex zx-mb-2\",attrs:{\"role\":\"main\",\"id\":\"zy-summary-container\",\"aria-label\":\"summary\"}},[_c('div',{staticClass:\"zy-doctor-image-header-cont zx-w-full sm:zx-w-auto zy-shadow\",attrs:{\"aria-label\":\"doctor image\",\"id\":\"zy-provider-row-doctor-image\"}},[_c('img',{staticClass:\"zx-rounded-full zy-doctor-image-header\",attrs:{\"src\":_vm.globalStore.state.doctorImage != null ? _vm.globalStore.state.doctorImage.length > 0 ? _vm.globalStore.state.doctorImage : _vm.defaultImgUrl: _vm.defaultImgUrl,\"alt\":_vm.globalStore.state.doctorName}})]),_c('div',{staticClass:\"zx-ml-2\"},[_c('span',{staticClass:\"zx-font-semibold sm:zx-text-lg zy-gray-urls zx-opacity-80\"},[_vm._v(_vm._s(_vm.globalStore.state.doctorName))]),_c('span',{staticClass:\"zx-ml-2 zx-opacity-80 zx-text-lg text-subdued slot-time\",attrs:{\"id\":\"zy-summary-time-slot\"}},[_vm._v(\" at \"+_vm._s(_vm.format(_vm.selectedDate, \"h:mm a\"))+\" on \"+_vm._s(_vm.format(_vm.selectedDate, \"iiii, MMMM d\")))]),_vm._v(\" \"),(_vm.physicianList.length > 1)?_c('span',{staticClass:\"zx-ml-2 zx-text-lg\"},[_vm._v(\"(\"),_c('span',{staticClass:\"primary--text zy-clickable\",attrs:{\"aria-label\":\"change appointment time\"},on:{\"click\":_vm.previousStage}},[_vm._v(\"change provider\")]),_vm._v(\")\")]):_vm._e()])]):_c('div',{staticClass:\"zx-flex zx-flex-wrap\",staticStyle:{\"border-bottom\":\"1px solid #dce3eb\"},attrs:{\"role\":\"main\",\"id\":\"zy-summary-container\",\"aria-label\":\"summary\"}},[_c('div',{staticClass:\"confirm-box zx-flex address-container\"},[(_vm.selectedLocation)?_c('div',{staticClass:\"info visit-type sm:zx-p-0\"},[(_vm.isVirtualVisit)?_c('svg',{staticClass:\"virtual-visit-icon\",attrs:{\"width\":\"20\",\"height\":\"14\",\"viewBox\":\"0 0 20 14\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M11.6736 0H1.65972C0.743056 0 0 0.743056 0 1.65972V11.6736C0 12.5903 0.743056 13.3333 1.65972 13.3333H11.6736C12.5903 13.3333 13.3333 12.5903 13.3333 11.6736V1.65972C13.3333 0.743056 12.5903 0 11.6736 0ZM18.25 1.30903L14.4444 3.93403V9.39931L18.25 12.0208C18.9861 12.5278 20 12.0104 20 11.125V2.20486C20 1.32292 18.9896 0.802083 18.25 1.30903Z\",\"fill\":\"#758592\"}})]):_vm._e(),(!_vm.isVirtualVisit)?_c('i',{staticClass:\"icon-location_pin zx-text-xl zx-mr-1 sm:zx-p-0 sm:zx-m-0 sm:zx-mr-1\"}):_vm._e(),(_vm.selectedLocation)?_c('span',{staticClass:\"info sm:zx-p-0\"},[(_vm.entryPoint.location !== 'lab')?_c('div',{staticClass:\"main-address\"},[_vm._v(\" \"+_vm._s(_vm.isVirtualVisit? 'Virtual Video Visit': _vm.selectedLocation.name)+\" \")]):_vm._e(),(_vm.selectedLocation.address && !_vm.mobileData.isMobile)?_c('address',{staticClass:\"zy-address-header-small zx-text-sm sm:zx-text-lg zx-mb-0 zx-pt-1 sm:zx-pt-0 zx-font-normal\",attrs:{\"id\":\"zy-summary-location-address\"}},[_vm._v(\" \"+_vm._s(_vm.selectedLocation.address.streetAddress.concat( [_vm.selectedLocation.address.city], [((_vm.selectedLocation.address.state.abbreviation||'') + \" \" + (_vm.selectedLocation.address.postalCode||''))] ).filter(function (x) { return !!x && x !== ' '; }).join(', '))+\" \"),(((_vm.locationSchedules.departments.filter(function (x) { return !x.disabled; }).length > 1 || _vm.allowVirtualVisits) && _vm.entryPoint.location !== 'lab' && _vm.entryPoint.location !== 'clinic'))?_c('span',[_vm._v(\" (\"),_c('span',{staticClass:\"primary--text zy-clickable\",staticStyle:{\"text-decoration\":\"underline\",\"text-underline-position\":\"from-font\"},attrs:{\"aria-label\":\"change location\"},on:{\"click\":_vm.goToLocation}},[_vm._v(\"change location\")]),_vm._v(\") \")]):_vm._e()]):_vm._e(),(_vm.selectedLocation.address && _vm.mobileData.isMobile)?_c('address',{staticClass:\"zy-address-header-small zx-text-sm sm:zx-text-lg zx-mb-0 zx-font-normal\",staticStyle:{\"font-size\":\"14px\"},attrs:{\"id\":\"zy-summary-location-address\"}},[_vm._v(\" \"+_vm._s(_vm.selectedLocation.address.streetAddress.concat( [_vm.selectedLocation.address.city], [((_vm.selectedLocation.address.state.abbreviation||'') + \" \" + (_vm.selectedLocation.address.postalCode||''))] ).filter(function (x) { return !!x && x !== ' '; }).join(', '))+\" \"),(((_vm.locationSchedules.departments.filter(function (x) { return !x.disabled; }).length > 1 || _vm.allowVirtualVisits) && _vm.entryPoint.location !== 'lab' && _vm.entryPoint.location !== 'clinic'))?_c('span',[_vm._v(\" (\"),_c('span',{staticClass:\"primary--text zy-clickable\",staticStyle:{\"text-decoration\":\"underline\",\"text-underline-position\":\"from-font\"},attrs:{\"aria-label\":\"change location\"},on:{\"click\":_vm.goToLocation}},[_vm._v(\"change location\")]),_vm._v(\") \")]):_vm._e()]):_vm._e()]):_vm._e()]):_vm._e(),(_vm.selectedDate)?_c('div',{staticClass:\"info zy-address-header-small zx-inline-flex\",attrs:{\"id\":\"zy-summary-time\"}},[_c('img',{staticClass:\"input-icon calander-icon zx-text-xl zx-mr-1\",attrs:{\"src\":(_vm.baseUrl + \"/img/calendar-dark.svg\")}}),_c('span',{staticClass:\"zy-hours-header zx-text-sm zx-block slot-time\",attrs:{\"id\":\"zy-summary-time-slot\"}},[_vm._v(_vm._s(_vm.format(_vm.selectedDate, \"h:mm a\"))+\" on \"+_vm._s(_vm.format(_vm.selectedDate,\"iiii, MMMM do, y\"))+\" (\"),_c('span',{staticClass:\"primary--text zy-clickable\",staticStyle:{\"text-decoration\":\"underline\",\"text-underline-position\":\"from-font\"},attrs:{\"aria-label\":\"change appointment time\"},on:{\"click\":_vm.goToSchedule}},[_vm._v(\"update time\")]),_vm._v(\")\")])]):_vm._e()])]),_c('div',{staticClass:\"parent-div zx-mt-3 sm:zx-m-0\"},[(!_vm.isLoading)?_c('form',{attrs:{\"role\":\"form\",\"aria-label\":\"patient form\",\"id\":\"zy-patient-form\",\"lazy-validation\":\"\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.savePatientInfo.apply(null, arguments)}}},[_c('div',{staticClass:\"zx-w-full\"},[(_vm.missingFields.length > 0 && _vm.errors.general)?_c('div',{staticClass:\"warning error--text\",attrs:{\"aria-label\":\"patient form error\",\"id\":\"zy-patient-form-error\"}},[_vm._v(_vm._s(_vm.missingFields))]):_vm._e()]),_vm._m(0),_c('div',{staticClass:\"zy-form-container sm:zx-mx-14 sm:zx-grid sm:zx-grid-cols-2 xs:zx-grid-cols-1 zx-justify-center zx-gap-x-6\"},[_c('div',{staticClass:\"zy-input-field zx-w-full sm:zx-w-3/4 zx-justify-self-end\"},[_c('label',{staticClass:\"zx-block\",attrs:{\"for\":\"firstName\"}},[_vm._v(\"Legal first name\")]),_c('div',{staticClass:\"zy-input-input\",class:{'zy-input-error':_vm.errors.first_name}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.firstName),expression:\"form.firstName\"}],ref:\"firstNameInput\",attrs:{\"aria-label\":\"Legal first name\",\"id\":\"zy-patient-form-firstname\",\"type\":\"text\",\"required\":\"\",\"maxlength\":\"50\",\"placeholder\":\"Enter patient first name\",\"name\":\"firstName\"},domProps:{\"value\":(_vm.form.firstName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"firstName\", $event.target.value)}}})]),(_vm.missingFields.length > 0 && _vm.errors.first_name)?_c('div',{staticClass:\"warning error--text zx-block\"},[_vm._v(_vm._s(_vm.missingFields))]):_vm._e()]),_c('div',{staticClass:\"zy-input-field zx-w-full sm:zx-w-3/4\"},[_c('label',{staticClass:\"zx-block\",attrs:{\"for\":\"middleName\"}},[_vm._v(\"Legal middle name\")]),_c('div',{staticClass:\"zy-input-input\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.middleName),expression:\"form.middleName\"}],attrs:{\"aria-label\":\"Legal middle name\",\"id\":\"zy-patient-form-middlename\",\"type\":\"text\",\"maxlength\":\"50\",\"name\":\"middleName\",\"placeholder\":\"Enter patient middle name\"},domProps:{\"value\":(_vm.form.middleName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"middleName\", $event.target.value)}}})])]),_c('div',{staticClass:\"zy-input-field zx-w-full sm:zx-w-3/4 zx-justify-self-end\"},[_c('label',{staticClass:\"zx-block\",attrs:{\"for\":\"lastName\"}},[_vm._v(\"Legal last name\")]),_c('div',{staticClass:\"zy-input-input\",class:{'zy-input-error':_vm.errors.last_name}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.lastName),expression:\"form.lastName\"}],attrs:{\"aria-label\":\"Legal last name\",\"id\":\"zy-patient-form-lastname\",\"type\":\"text\",\"maxlength\":\"50\",\"required\":\"\",\"placeholder\":\"Enter patient last name\",\"name\":\"lastName\"},domProps:{\"value\":(_vm.form.lastName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"lastName\", $event.target.value)}}})]),(_vm.missingFields.length > 0 && _vm.errors.last_name)?_c('div',{staticClass:\"warning error--text zx-block\"},[_vm._v(_vm._s(_vm.missingFields))]):_vm._e()]),_c('div',{staticClass:\"zy-input-field zx-w-full sm:zx-w-3/4\"},[_c('label',{staticClass:\"zx-block\",attrs:{\"for\":\"email\"}},[_vm._v(\"Date of birth\")]),_c('div',[_c('div',{staticClass:\"zy-input-input\",class:{'zy-input-error':_vm.errors.birth_date}},[_c('img',{staticClass:\"input-icon info-icon zx-pt-1\",attrs:{\"src\":(_vm.baseUrl + \"/img/calendar.svg\")}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.birthDate),expression:\"form.birthDate\"}],ref:\"birthDateInput\",attrs:{\"aria-label\":\"Date Of Birth\",\"id\":\"zy-patient-form-dateofbirth\",\"type\":\"text\",\"maxlength\":\"10\",\"minlength\":\"10\",\"required\":\"\",\"placeholder\":\"MM/DD/YYYY\",\"name\":\"birthDate\"},domProps:{\"value\":(_vm.form.birthDate)},on:{\"keyup\":_vm.handleBirthDate,\"keypress\":_vm.numbersOnly,\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"birthDate\", $event.target.value)}}})])]),(_vm.missingFields.length > 0 && _vm.errors.birth_date)?_c('div',{staticClass:\"warning error--text zx-block\"},[_vm._v(_vm._s(_vm.missingFields))]):_vm._e()]),_c('div',{staticClass:\"zy-input-field zx-w-full sm:zx-w-3/4 zx-justify-self-end\"},[_c('label',{staticClass:\"zx-block\",attrs:{\"for\":\"email\"}},[_vm._v(\"Email address\")]),_c('div',{staticClass:\"zy-input-input\",class:{'zy-input-error':_vm.errors.email}},[_c('img',{staticClass:\"input-icon email-icon zx-m-1 zx-pt-1 zx-mx-0\",attrs:{\"src\":(_vm.baseUrl + \"/img/email.svg\")}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.email),expression:\"form.email\"}],staticStyle:{\"border\":\"none\"},attrs:{\"aria-label\":\"Email address\",\"id\":\"zy-patient-form-email\",\"type\":\"email\",\"required\":\"\",\"placeholder\":\"email@mail.com\",\"name\":\"email\"},domProps:{\"value\":(_vm.form.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"email\", $event.target.value)}}})]),(_vm.missingFields.length > 0 && _vm.errors.email)?_c('div',{staticClass:\"warning error--text zx-block\"},[_vm._v(_vm._s(_vm.missingFields))]):_vm._e()]),_c('div',{staticClass:\"zy-input-field zx-w-full sm:zx-w-3/4\"},[_c('label',{staticClass:\"zx-block\",attrs:{\"for\":\"phoneNumber\"}},[_vm._v(\"Phone number\")]),_c('div',{staticClass:\"zy-input-input xl:zx-w-3/4\",class:{'zy-input-error':_vm.errors.phone_number}},[_c('img',{staticClass:\"input-icon zx-rounded-xl\",attrs:{\"src\":(_vm.baseUrl + \"/img/usa.svg\")}}),_c('div',{staticClass:\"zx-pl-1 zx-pr-1 zx-font-semibold cont-code\"},[_vm._v(\"+1\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.phoneNumber),expression:\"form.phoneNumber\"}],staticClass:\"zx-pl-1\",attrs:{\"aria-label\":\"Phone Number\",\"id\":\"zy-patient-form-phone\",\"type\":\"text\",\"maxlength\":\"14\",\"minlength\":\"14\",\"required\":\"\",\"placeholder\":\"(###) ###-####\",\"name\":\"phoneNumber\"},domProps:{\"value\":(_vm.form.phoneNumber)},on:{\"keyup\":_vm.handlePhoneNumber,\"keypress\":_vm.numbersOnly,\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"phoneNumber\", $event.target.value)}}})]),(_vm.missingFields.length > 0 && _vm.errors.phone_number)?_c('div',{staticClass:\"warning error--text zx-block\"},[_vm._v(_vm._s(_vm.missingFields))]):_vm._e()]),_c('div',{staticClass:\"zy-input-field zx-w-full sm:zx-w-3/4 zx-justify-self-end\",class:{'zy-autocomplete-error':_vm.errors.insurance_carrier}},[_c('label',{staticClass:\"zx-block\",attrs:{\"for\":\"insuranceCarrier\"}},[_vm._v(\"Insurance Carrier\")]),_c('auto-complete-extended-component',{attrs:{\"aria-label\":\"Insurance Carrier\",\"contactNumber\":_vm.phone,\"id\":\"zy-autocomplete-insurance-carrier\",\"label\":\"Choose insurance carrier\",\"selectedHandler\":_vm.getCarrierPlans,\"showIfFocused\":true,\"items\":_vm.insuranceCarrierItems,\"model\":_vm.form.insuranceCarrier,\"defaultValue\":_vm.form.insuranceCarrier},on:{\"update:model\":function($event){return _vm.$set(_vm.form, \"insuranceCarrier\", $event)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('img',{staticClass:\"input-icon subtract-icon zx-m-1 zx-mx-0\",attrs:{\"src\":(_vm.baseUrl + \"/img/subtract.svg\")}})]},proxy:true}],null,false,3572062962)}),(_vm.missingFields.length > 0 && _vm.errors.insurance_carrier)?_c('div',{staticClass:\"warning error--text\"},[_vm._v(_vm._s(_vm.missingFields))]):_vm._e()],1),_c('div',{staticClass:\"zx-w-full sm:zx-w-3/4\"},[_c('div',{staticClass:\"zy-input-field\",class:{'disabled-whole':_vm.form.insuranceCarrier.length < 1 || _vm.insurancePlans.length < 1,'zy-autocomplete-error':_vm.errors.insurance_plan}},[_c('label',{staticClass:\"zx-block\",attrs:{\"for\":\"insurancePlan\"}},[_vm._v(\"Insurance Plan\")]),_c('auto-complete-extended-component',{attrs:{\"aria-label\":\"Insurance Plan\",\"contactNumber\":_vm.phone,\"id\":\"zy-autocomplete-insurance-plan\",\"label\":\"Choose insurance plan\",\"disabledComp\":_vm.form.insuranceCarrier.length < 1 || _vm.insurancePlans.length < 1,\"showIfFocused\":true,\"items\":_vm.insurancePlans,\"model\":_vm.form.insurancePlan,\"defaultValue\":_vm.form.insurancePlan},on:{\"update:model\":function($event){return _vm.$set(_vm.form, \"insurancePlan\", $event)}}}),(_vm.missingFields.length > 0 && _vm.errors.insurance_plan)?_c('div',{staticClass:\"warning error--text\"},[_vm._v(_vm._s(_vm.missingFields))]):_vm._e()],1)]),_c('div',{staticClass:\"zx-w-full sm:zx-w-3/4 zx-justify-self-end\"},[_c('div',{staticClass:\"zy-input-field\",class:{'zy-autocomplete-error':_vm.errors.gender}},[_c('label',{staticClass:\"zx-block\",attrs:{\"for\":\"gender\"}},[_vm._v(\"Legal sex\")]),_c('auto-complete-component',{attrs:{\"aria-label\":\"Legal sex options\",\"id\":\"zy-autocomplete-gender\",\"label\":\"Choose an option\",\"showIfFocused\":true,\"items\":_vm.genderList,\"model\":_vm.form.gender,\"defaultValue\":_vm.form.gender},on:{\"update:model\":function($event){return _vm.$set(_vm.form, \"gender\", $event)}}}),(_vm.missingFields.length > 0 && _vm.errors.gender)?_c('div',{staticClass:\"warning error--text\"},[_vm._v(_vm._s(_vm.missingFields))]):_vm._e()],1)]),_c('div',{staticClass:\"zy-input-field zx-w-full sm:zx-w-3/4\"},[_c('label',{staticClass:\"zx-block\",attrs:{\"for\":\"zipCode\"}},[_vm._v(\"ZIP Code\")]),_c('div',{staticClass:\"zy-input-input xl:zx-w-1/3\",class:{'zy-input-error':_vm.errors.zip_code}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.zipCode),expression:\"form.zipCode\"}],attrs:{\"aria-label\":\"Zip Code\",\"id\":\"zy-patient-form-zipcode\",\"type\":\"text\",\"maxlength\":\"5\",\"required\":\"\",\"placeholder\":\"#####\",\"name\":\"zipCode\"},domProps:{\"value\":(_vm.form.zipCode)},on:{\"keypress\":_vm.numbersOnly,\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"zipCode\", $event.target.value)}}})]),(_vm.missingFields.length > 0 && _vm.errors.zip_code)?_c('div',{staticClass:\"warning error--text zx-block\"},[_vm._v(_vm._s(_vm.missingFields))]):_vm._e()])]),_c('div',{staticClass:\"zx-w-full zx-flex zx-flex-nowrap zx-items-center sm:zx-flex-row zx-flex-col-reverse zx-justify-center sm:zx-justify-between sm:zx-mt-4\"},[_vm._m(1),_c('div',{staticClass:\"zx-flex zx-flex-col zx-w-full zx-items-center sm:zx-w-1/2 sm:zx-items-end sm:zx-justify-end sm:zx-flex-row zy-mobile-footer-fixed\",attrs:{\"id\":\"zy-next-step-button-container\"}},[(!_vm.mobileData.isMobile)?_c('button',{staticClass:\"btn btn-no-background zx-underline zx-mr-2\",attrs:{\"id\":\"zy-previous-step-button\",\"data-attr-id\":\"back-step-button\",\"aria-label\":\"previous step button\"},on:{\"click\":_vm.previousStage}},[_c('i',{staticClass:\"zx-mr-3\"}),_vm._v(\"Back a step\")]):_vm._e(),(!_vm.isValid)?_c('button',{staticClass:\"btn xs:zx-w-full\",attrs:{\"id\":\"zy-next-step-button\",\"aria-label\":\"next step button\",\"disabled\":\"disabled\"}},[_vm._v(\"Next Step\")]):_vm._e(),(_vm.isValid)?_c('button',{staticClass:\"btn xs:zx-w-full\",attrs:{\"id\":\"zy-next-step-button\",\"data-attr-id\":\"next-step-button\",\"aria-label\":\"next step button\"}},[_vm._v(\"Next Step\")]):_vm._e()])])]):_vm._e()]),(_vm.isLoading)?_c('loading',{attrs:{\"id\":\"zy-loading-component\"}}):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-mychart zx-text-center zx-mt-4 zx-mb-4\"},[_c('p',{staticClass:\"zy-mychart-link\",staticStyle:{\"color\":\"rgb(105, 120, 133)\",\"font-weight\":\"500\"}},[_vm._v(\" Had an appointment with us before? Schedule faster with \"),_c('a',{staticStyle:{\"text-decoration\":\"underline\",\"text-underline-position\":\"from-font\"},attrs:{\"href\":\"https://mychart.wellstar.org/MyChart/Scheduling\",\"target\":\"_blank\"}},[_vm._v(\"MyChart\")])]),_c('span',{staticStyle:{\"font-size\":\"14px\",\"color\":\"#697885\"}},[_vm._v(\" * All fields on this form are required in order to book an appointment, unless otherwise noted. \")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"zy-disclaimer zx-opacity-60 zx-text-center sm:zx-text-left sm:zx-w-1/3\",attrs:{\"id\":\"zy-form-disclaimer\"}},[_c('i',{staticClass:\"icon-lock zx-text-xl zx-mr-1\",attrs:{\"aria-label\":\"Secure Booking\",\"id\":\"zy-patient-form-securebooking\"}}),_c('span',{staticClass:\"zx-mt-1\"},[_vm._v(\"Secure booking\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-input-input\",class:{'disabled-whole':_vm.disabledComp}},[_vm._t(\"icon\"),_c('input',{staticClass:\"autocomplete-field\",class:{'disabled-whole':_vm.disabledComp},attrs:{\"type\":\"text\",\"placeholder\":_vm.label,\"name\":_vm.name,\"autocomplete\":\"\"},domProps:{\"value\":_vm.autocompleteModel},on:{\"input\":function (e) { return _vm.autocompleteModel = e.target.value; },\"blur\":_vm.focusOut,\"focus\":function($event){_vm.isFocused = true},\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.hey.apply(null, arguments)},\"keyup\":function($event){$event.stopPropagation();return _vm.filterItems.apply(null, arguments)}}}),_c('ul',{staticClass:\"autocomplete-content dropdown-content\",class:{'active':_vm.showDropDown},attrs:{\"tabindex\":-1},on:{\"focus\":_vm.setFocus}},_vm._l((_vm.filteredOptions),function(item,ndx){return _c('li',{key:item.value,class:{'active':_vm.activeIndex == ndx, 'disable':item.deactive},on:{\"click\":function($event){$event.stopPropagation();return _vm.selectItem(item)}}},[_vm._v(_vm._s(item.text))])}),0),_c('img',{staticClass:\"zy-arrow-down\",attrs:{\"src\":(_vm.baseUrl + \"/img/down-arrow.svg\")},on:{\"click\":function($event){return _vm.flipShowDropDown()}}})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Autocomplete.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Autocomplete.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Autocomplete.vue?vue&type=template&id=2c54df44&scoped=true&\"\nimport script from \"./Autocomplete.vue?vue&type=script&lang=ts&\"\nexport * from \"./Autocomplete.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Autocomplete.vue?vue&type=style&index=0&id=2c54df44&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2c54df44\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"zy-input-input\",class:{'disabled-whole':_vm.disabledComp}},[_vm._t(\"icon\"),_c('input',{staticClass:\"autocomplete-field\",class:{'disabled-whole':_vm.disabledComp},attrs:{\"type\":\"text\",\"placeholder\":_vm.label,\"name\":_vm.name,\"autocomplete\":\"\"},domProps:{\"value\":_vm.autocompleteModel},on:{\"input\":function (e) { return _vm.autocompleteModel = e.target.value; },\"blur\":_vm.focusOut,\"focus\":function($event){_vm.isFocused = true},\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.hey.apply(null, arguments)},\"keyup\":function($event){$event.stopPropagation();return _vm.filterItems.apply(null, arguments)}}}),_c('ul',{staticClass:\"autocomplete-content dropdown-content\",class:{'active':_vm.showDropDown},attrs:{\"tabindex\":-1},on:{\"focus\":_vm.setFocus}},_vm._l((_vm.filteredOptions),function(item,ndx){return _c('li',{key:item.value,class:{'active':_vm.activeIndex == ndx, 'disable':item.deactive},on:{\"click\":function($event){$event.stopPropagation();return _vm.selectItem(item)}}},[_vm._v(\" \"+_vm._s(item.text)+\" \")])}),0),_c('img',{staticClass:\"zy-arrow-down\",attrs:{\"src\":(_vm.baseUrl + \"/img/down-arrow.svg\")},on:{\"click\":function($event){return _vm.flipShowDropDown()}}})],2),(_vm.showLocationNumber)?_c('div',{staticClass:\"location-number-message\"},[_vm._v(\"*Please call \"+_vm._s(_vm.locationNumber)+\" to verify your insurance\")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AutocompleteExtended.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AutocompleteExtended.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AutocompleteExtended.vue?vue&type=template&id=5b9ddd81&scoped=true&\"\nimport script from \"./AutocompleteExtended.vue?vue&type=script&lang=ts&\"\nexport * from \"./AutocompleteExtended.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AutocompleteExtended.vue?vue&type=style&index=0&id=5b9ddd81&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5b9ddd81\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"zy-location-entry-header\"}},[_c('div',{staticClass:\"zy-heading zx-mb-5 md:zx-mb-3\"},[_c('span',{staticClass:\"zx-uppercase zx-text-sm\",attrs:{\"aria-label\":\"Book an Appointment\",\"id\":\"zy-location-banner-header\"}},[_vm._v(\"Book An Appointment\")]),(!_vm.mobileData.isMobile && !_vm.globalStore.state.isIframe)?_c('div',{staticClass:\"zy-dialog-close\",attrs:{\"id\":\"zy-close\",\"aria-label\":\"close\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.cancel.apply(null, arguments)}}},[_c('i',{staticClass:\"icon-close zx-text-2xl\",attrs:{\"id\":\"scheduling-modal-close-icon\"}})]):_vm._e()]),(_vm.mobileData.isMobile)?_c('div',{staticClass:\"zx-flex zx-mb-5\",class:{'zy-mobile-header': _vm.mobileData.isMobile},attrs:{\"aria-label\":\"back a step\",\"id\":\"zy-provider-banner-back-a-step\"}},[(_vm.mobileData.isMobile)?_c('span',{staticClass:\"zy-back-button-top btn-no-background zx-underline zx-text-xl\",staticStyle:{\"cursor\":\"pointer\"},attrs:{\"data-id\":\"go-back-link\"},on:{\"click\":_vm.previousStage}},[_c('img',{staticClass:\"input-icon back-arrow-icon zx-m-1 zx-mr-2\",attrs:{\"src\":(_vm.baseUrl + \"/img/back-arrow.svg\")}}),_vm._v(\"Go back \")]):_vm._e()]):_vm._e(),_c('div',{staticClass:\"zx-flex zx-flex-col\",attrs:{\"id\":\"zy-location-entry-location-info\"}},[_c('div',{staticClass:\"zy-location-entry-name-container\",attrs:{\"id\":\"zy-location-entry-location-info-name\",\"aria-label\":_vm.sitecoreLocation&&_vm.sitecoreLocation.name}},[_c('h1',{staticClass:\"sm:zx-text-5xl zx-text-2xl zx-mb-0 zx-font-semibold secondary--text location-header-title\",attrs:{\"id\":\"location-scheduling-title-text\"}},[_vm._v(_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.name))]),_c('img',{staticClass:\"zy-wellstar-badge\",attrs:{\"id\":\"wellstar-badge-icon\",\"src\":(_vm.baseUrl + \"/img/wmg-badge.svg\")}})]),(_vm.sitecoreLocation&&_vm.sitecoreLocation.directions != null)?_c('h2',{staticClass:\"zx-font-light zy-address-header-small zx-text-sm sm:zx-text-xl zy-directions-subheader\",attrs:{\"id\":\"zy-location-entry-location-info-directions\",\"aria-label\":_vm.sitecoreLocation&&_vm.sitecoreLocation.directions}},[_vm._v(_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.directions))]):_vm._e(),((!_vm.onLocationEntry && _vm.inPersonEnabled && !_vm.globalStore.state.isLoading) || (!_vm.somePhysiciansAllowVirtualVisits && !_vm.globalStore.state.isLoading && !_vm.virtualVideoEnabled))?_c('div',{staticClass:\"info zx-inline-flex sm:zx-p-0\",attrs:{\"id\":\"zy-location-entry-location-info-address\"}},[(_vm.sitecoreLocation&&_vm.sitecoreLocation.address && !_vm.mobileData.isMobile)?_c('address',{staticClass:\"zy-address-container zy-address-header-small zx-text-sm sm:zx-text-xl zx-mb-0 zx-pt-1 sm:zx-pt-0 zx-font-light\",attrs:{\"id\":\"zy-summary-location-address\"}},[_vm._v(\" \"+_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.streetAddress[0])+\", \"),(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.streetAddress.length > 1)?_c('span',[_vm._v(_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.streetAddress[1])+\", \")]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.city)+\", \"+_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.state.abbreviation)+\" \"+_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.postalCode)+\" \")]):_vm._e(),_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[(_vm.sitecoreLocation&&_vm.sitecoreLocation.address && _vm.mobileData.isMobile)?_c('i',{staticClass:\"icon-location_pin zx-text-2xl zx-mr-1 sm:zx-p-0 sm:zx-m-0 sm:zx-mr-2\",attrs:{\"id\":\"location-scheduling-pin-icon\"}}):_vm._e(),(_vm.sitecoreLocation&&_vm.sitecoreLocation.address && _vm.mobileData.isMobile)?_c('address',{staticClass:\"zy-address-container zy-address-header-small zx-text-sm sm:zx-text-lg zx-mb-0 zx-font-normal\",attrs:{\"id\":\"zy-summary-location-address\"}},[_vm._v(\" \"+_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.streetAddress[0])+\", \"),(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.streetAddress.length > 1)?_c('span',[_vm._v(_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.streetAddress[1])+\", \")]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.city)+\", \"+_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.state.abbreviation)+\" \"+_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.postalCode)+\" \"),(!_vm.isKSU)?_c('span',{staticClass:\"VV-change-location-link\"},[_vm._v(\" (\"),_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":_vm.goToLocationEntry}},[_vm._v(\"change location\")]),_vm._v(\") \")]):_vm._e()]):_vm._e()])]):_vm._e(),(!_vm.onLocationEntry && _vm.virtualVideoEnabled)?_c('div',{staticClass:\"zx-font-light zy-vvv-header zy-no-margin \"},[_c('div',{staticClass:\"zx-w-5 zx-mr-2\"},[_c('svg',{staticClass:\"virtual-visit-icon zx-mr-2\",attrs:{\"width\":\"20\",\"height\":\"14\",\"viewBox\":\"0 0 20 14\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M11.6736 0H1.65972C0.743056 0 0 0.743056 0 1.65972V11.6736C0 12.5903 0.743056 13.3333 1.65972 13.3333H11.6736C12.5903 13.3333 13.3333 12.5903 13.3333 11.6736V1.65972C13.3333 0.743056 12.5903 0 11.6736 0ZM18.25 1.30903L14.4444 3.93403V9.39931L18.25 12.0208C18.9861 12.5278 20 12.0104 20 11.125V2.20486C20 1.32292 18.9896 0.802083 18.25 1.30903Z\",\"fill\":\"#758592\"}})])]),_c('div',{staticClass:\"VV-title-containter\"},[_c('span',{staticClass:\"VV-title\"},[_vm._v(\" Virtual Video Visit \")]),_c('span',{staticClass:\"VV-subtitle\"},[_vm._v(\" Connect via camera from the comfort of your home. \")]),(_vm.mobileData.isMobile && !_vm.isKSU)?_c('span',{staticClass:\"VV-change-location-link\"},[_vm._v(\" (\"),_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":_vm.goToLocationEntry}},[_vm._v(\"change location\")]),_vm._v(\") \")]):_vm._e()])]):_vm._e(),(_vm.somePhysiciansAllowVirtualVisits && _vm.onLocationEntry)?_c('div',{staticClass:\"header-location-switch\",attrs:{\"id\":\"zy-location-dropdown\"}},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedLocationDropDownLocation),expression:\"selectedLocationDropDownLocation\"}],on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedLocationDropDownLocation=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.switchInPersonVirtualvideoHeading($event)}]}},[_c('option',{attrs:{\"value\":\"physicalLocation\",\"id\":\"zy-location-dropdown-in-person-choice\"}},[_vm._v(\" \"+_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.streetAddress[0])),(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.streetAddress.length > 1)?_c('span',[_vm._v(\", \"+_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.streetAddress[1]))]):_vm._e()]),_c('option',{attrs:{\"value\":\"virtualVideoVisits\",\"id\":\"zy-location-dropdown-virutal-visit-choice\"}},[_vm._v(\"Virtual Video Visits\")])])]):_vm._e()]),_c('hr',{staticClass:\"zy-hr-separator zx-mt-3 zx-mb-4 zx-w-fulls\"})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { defineComponent, reactive, toRefs } from '@vue/composition-api';\r\nimport { processData, EnumStages, entryPoint, } from '../../helpers/process-helper';\r\nimport { mobileData } from '../../helpers/mobile-helper';\r\nimport { globalStore } from '../../store/modules/global-store';\r\n\r\nlet imgBadge = require('@/assets/images/wmg-badge.svg')\r\n\r\nexport default defineComponent({\r\n setup(props, {emit}) {\r\n const data = reactive({\r\n baseUrl: processData.baseUrl,\r\n })\r\n \r\n const cancel = () => {\r\n processData.showModal = false;\r\n }\r\n\r\n const previousStage = () => {\r\n if (processData.currentStage === 0) {\r\n cancel();\r\n } else {\r\n processData.currentStage--;\r\n }\r\n }\r\n \r\n const switchInPersonVirtualvideoHeading = (event) => {\r\n if (event.target.value === 'virtualVideoVisits') {\r\n emit('changeLocaiton', 'virtual video');\r\n } else {\r\n emit('changeLocaiton');\r\n }\r\n }\r\n\r\n const goToLocationEntry = () => {\r\n processData.currentStage = EnumStages[entryPoint.location].locationEntry\r\n }\r\n\r\n return {\r\n ...toRefs(processData),\r\n ...toRefs(data),\r\n ...toRefs(props),\r\n mobileData,\r\n cancel,\r\n previousStage,\r\n switchInPersonVirtualvideoHeading,\r\n globalStore,\r\n goToLocationEntry,\r\n entryPoint,\r\n };\r\n },\r\n props: {\r\n onLocationEntry: Boolean,\r\n },\r\n});\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationHeader.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationHeader.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LocationHeader.vue?vue&type=template&id=b4c9597c&scoped=true&\"\nimport script from \"./LocationHeader.vue?vue&type=script&lang=ts&\"\nexport * from \"./LocationHeader.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./LocationHeader.vue?vue&type=style&index=0&id=b4c9597c&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b4c9597c\",\n null\n \n)\n\nexport default component.exports","export const validate = (model: any, validator: any) => {\r\n let messages = [] as string[]\r\n Object.keys(model).forEach(key => {\r\n const validators = (validator[key] as ValidationRule[]);\r\n validators.forEach(x => {\r\n if (!x.rule(model[key])) messages.push(x.message)\r\n })\r\n });\r\n return messages;\r\n}\r\n\r\nexport class ValidationRule {\r\n rule: (val: string, form?: any) => boolean = () => true;\r\n message: string = ''\r\n constructor(data?: any) {\r\n if (data) {\r\n this.rule = data.rule;\r\n this.message = data.message;\r\n }\r\n }\r\n}\r\nexport const conditionalRequiredValidator = (args: Array) => {\r\n let name = args[2];\r\n return new ValidationRule({\r\n rule: (val: string, form: any) => {\r\n return conditionalRequired(form, args[0], args[1], val)\r\n },\r\n message: `${name} is required`\r\n })\r\n}\r\nexport const requiredValidator = (name: string) => {\r\n return new ValidationRule({\r\n rule: required,\r\n message: `${name} is required`\r\n })\r\n}\r\nexport const emailValidator = (name: string) => {\r\n return new ValidationRule({\r\n rule: email,\r\n message: `${name} is not valid`\r\n })\r\n}\r\nexport const zipCodeValidator = (name: string) => {\r\n return new ValidationRule({\r\n rule: zipCode,\r\n message: `${name} is not valid`\r\n })\r\n}\r\nexport const phoneNumberValidator = (name: string) => {\r\n return new ValidationRule({\r\n rule: phoneNumber,\r\n message: `${name} is not valid`\r\n })\r\n}\r\nexport const numberValidator = (name: string) => {\r\n return new ValidationRule({\r\n rule: number,\r\n message: `${name} is not a number`\r\n })\r\n}\r\nexport const letterValidator = (name: string) => {\r\n return new ValidationRule({\r\n rule: letter,\r\n message: `${name} is not valid`\r\n })\r\n}\r\nexport const isCheckedValidator = (name: string) => {\r\n return new ValidationRule({\r\n rule: isTrue,\r\n message: `${name} is not accepted`\r\n })\r\n}\r\nexport const dollarValidator = (name: string) => {\r\n return new ValidationRule({\r\n rule: dollar,\r\n message: `${name} is not a valid dollar amount`\r\n })\r\n}\r\n\r\nfunction conditionalRequired(form: any, conditionProp: any, conditionalVal: any, val: any) {\r\n let props = conditionProp.split('.')\r\n if (props.length > 1) {\r\n if (form[props[0]][props[1]] === conditionalVal) {\r\n return val && val.toString().length > 0;\r\n }\r\n }\r\n if (form[props[0]] === conditionalVal) {\r\n return val && val.toString().length > 0;\r\n }\r\n return true;\r\n}\r\n\r\nfunction required(val: any) {\r\n return val && val.toString().length > 0 && val != -1; //-1 is for select drop downs. If we ever have a field where input could be -1 we'll need to think of a better solution\r\n}\r\nfunction isTrue(val: any) {\r\n return val;\r\n}\r\nfunction zipCode(val: any) {\r\n if (!val || val.toString().trim() === '') return true; //a required validation should cover this if necessary\r\n return /^[/\\d]{5}?$/.test(val);\r\n}\r\nfunction phoneNumber(val: any) {\r\n if (!val || val.toString().trim() === '') return true; \r\n if (val === \"(000) 000-0000\"){\r\n return false;\r\n } else {\r\n return /^\\(\\d{3}\\)?[\\s]\\d{3}[-]\\d{4}$/.test(val);\r\n }\r\n}\r\nfunction email(val: string) {\r\n return val && /^[^@]+@[^@]+\\.[^@]+$/.test(val);\r\n}\r\nfunction letter(val: string) {\r\n return val && /^[A-Za-z]+$/.test(val.trim());\r\n}\r\nfunction number(val: any) {\r\n if (!val || val.toString().trim() === '') return true; //a required validation should cover this if necessary\r\n return val && parseFloat(val);\r\n}\r\nfunction dollar(val: any) {\r\n if (!val || val.toString().trim() === '') return true; //a required validation should cover this if necessary\r\n if (val.indexOf('.') > -1)\r\n return val && parseFloat(val) && val.split('.')[1].length === 2;\r\n return val && parseInt(val)\r\n}\r\nexport function unicodeToText(val: string) {\r\n let y = val.replace(/[^A-Za-z 0-9 \\.,\\?\"\"!@#\\$%\\^&\\*\\(\\)-_=\\+;:<>\\/\\\\\\|\\}\\{\\[\\]`~]*/g, '')\r\n return y;\r\n}","import { BaseService } from './base-service';\r\nimport { InsuranceCarrierDto } from '../store/entities/insuranceCarrier-dto';\r\n\r\nexport class InsuranceCarriersService extends BaseService {\r\n constructor() { \r\n super('insurancecarriers');\r\n }\r\n}\r\n\r\nconst insuranceCarrierService = new InsuranceCarriersService();\r\nexport default insuranceCarrierService; ","import { IBaseDto, IOrderDto, ITreeDto } from './entity-interface';\r\n\r\n\r\nexport class BaseEntity implements IBaseDto {\r\n id: number;\r\n createdAt?: Date; //leave undefined b/c when creating entities we want to leave undefined and db will create date/time\r\n updatedAt?: Date;\r\n\r\n constructor(data?:any) {\r\n data = data || {}\r\n this.id = data.id || 0;\r\n }\r\n}\r\n\r\nexport class OrderedEntity implements IBaseDto, IOrderDto {\r\n id: number;\r\n order: number;\r\n createdAt!: Date;\r\n updatedAt!: Date;\r\n\r\n constructor(data?:any) {\r\n data = data || {}\r\n this.id = data.id || 0;\r\n this.order = data.order || 0;\r\n }\r\n}\r\nexport class TreeEntity implements ITreeDto, IBaseDto {\r\n id: number;\r\n parentId: number;\r\n children: TreeEntity[]\r\n childrenIds: number[]\r\n createdAt!: Date;\r\n updatedAt!: Date;\r\n\r\n constructor(data?:any) {\r\n data = data || {}\r\n this.id = data.id || 0;\r\n this.parentId = data.parentId || 0;\r\n this.children = data.children || [];\r\n this.childrenIds = data.childrenIds || [];\r\n }\r\n}\r\n\r\n/**\r\n * fieldName: field on entity to update\r\n * value: id or value to add/remove\r\n * actoin: are we adding or removing value\r\n * typeName: Entity classname we are updating, i.e. User or Book\r\n * @export\r\n * @class RelationshipDto\r\n */\r\nexport class RelationshipDto {\r\n fieldName: string //\r\n value: number | number[]\r\n action: RelationshipAction \r\n entityClassName: string \r\n constructor(data?:any) {\r\n this.fieldName = data.fieldName;\r\n this.value = data.value;\r\n this.action = data.action;\r\n this.entityClassName = data.entityClassName;\r\n }\r\n}\r\n\r\nexport enum RelationshipAction {\r\n add,\r\n remove, \r\n set\r\n}\r\n","import { BaseService } from './base-service';\r\nimport { InsurancePlanDto } from '../store/entities/insurancePlan-dto';\r\n\r\nexport class InsurancePlansService extends BaseService {\r\n constructor() { \r\n super('insuranceplans');\r\n }\r\n}\r\n\r\nconst insurancePlanService = new InsurancePlansService();\r\nexport {insurancePlanService}; ","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-refresh\",class:{'fixed':_vm.isFixed},attrs:{\"aria-label\":\"Loading\"}},[_c('div',{staticClass:\"circle blue\"}),_c('div',{staticClass:\"circle purple\"}),_c('div',{staticClass:\"circle pink\"}),_c('div',{staticClass:\"circle red\"}),_c('div',{staticClass:\"circle yellow\"})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\r\nimport {defineComponent} from \"@vue/composition-api\";\r\n\r\ninterface LoadingProps {\r\n isFixed?: boolean\r\n}\r\nexport default defineComponent({\r\n props: {\r\n isFixed: Boolean\r\n },\r\n setup(props:Readonly) {\r\n return {props};\r\n }\r\n})\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=5953d3f1&\"\nimport script from \"./Loading.vue?vue&type=script&lang=ts&\"\nexport * from \"./Loading.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Loading.vue?vue&type=style&index=0&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { BaseEntity } from './base-entity';\r\n\r\nexport class RelatedLocation {\r\n itemID: string\r\n url: string\r\n name: string \r\n latitude: number\r\n longitude: number\r\n address: string\r\n address2: string\r\n directions: string\r\n hours: any\r\n open24Hours: boolean\r\n phone: string\r\n distance: number\r\n keyDetail: any\r\n openSchedulingDepartmentID: string\r\n featuredImage: any\r\n}\r\nexport class LocationSchedule {\r\n departments: Department[] = []\r\n provider: Provider = new Provider()\r\n scheduleDays: ScheduleDay[] = []\r\n visitTypes: VisitType[] = []\r\n npid: string = ''\r\n}\r\n\r\nexport class Department {\r\n name: string = ''\r\n address?: Address = new Address()\r\n iDs?: IDType[] = new Array()\r\n phones?: Phone[] = new Array()\r\n providers?: {\r\n name: string;\r\n pageUrl: string;\r\n image: {\r\n imagePath: string;\r\n imageAlt: string;\r\n imageTitle: string;\r\n } | null;\r\n }[];\r\n directions?: string = ''\r\n active: boolean = false\r\n disabled: boolean = false\r\n}\r\nclass VisitType {\r\n name: string = ''\r\n displayName: string = ''\r\n iDs: IDType[] = []\r\n}\r\nexport class Address {\r\n streetAddress: string[] = []\r\n city: string = ''\r\n postalCode: string = ''\r\n houseNumber: string = ''\r\n state?: CategoryValue = new CategoryValue()\r\n longitude: number\r\n latitude: number\r\n}\r\n\r\nclass Phone {\r\n number: string = ''\r\n type: string = ''\r\n}\r\nexport class CategoryValue {\r\n number: string = ''\r\n title: string = ''\r\n abbreviation: string = ''\r\n}\r\nclass Provider {\r\n displayName: string = ''\r\n iDs: IDType[] = []\r\n}\r\n\r\nexport class IDType {\r\n id: string = ''\r\n type: string = ''\r\n}\r\n\r\nexport class ScheduleDay {\r\n date: string\r\n provider?: IDType\r\n department?: IDType\r\n visitType: IDType[] = []\r\n arrivalTime: number = 15\r\n timeSlots: string[] = []\r\n timeSlotsObj: Timeslot[] = []\r\n slotBlockType: string = ''\r\n npid: string\r\n}\r\n\r\nexport class Timeslot {\r\n hour!:number\r\n hourText!:string\r\n arriveByText: string\r\n isDisabled: boolean = false\r\n isActive: boolean = false\r\n slotBlockType: string\r\n npid: string\r\n}\r\nexport class DaySlots {\r\n date: string = ''\r\n departmentId: string = ''\r\n slots: Timeslot[] = []\r\n}\r\nexport class WeekDay {\r\n day!:number\r\n dayText!:string\r\n}\r\n\r\nexport class LocationDto extends BaseEntity {\r\n locationName:string = ''\r\n locationStreet: string = ''\r\n locationCityState: string = ''\r\n locationUrl: string = ''\r\n locationDistance: string = ''\r\n locationTelephone: string = ''\r\n active: boolean = false\r\n constructor() {\r\n super();\r\n }\r\n}\r\n\r\nexport class SitecoreLocation {\r\n name: string;\r\n latitude: number;\r\n longitude: number;\r\n openSchedulingDepartmentID: string;\r\n allowVirtualVisits: boolean;\r\n}\r\n\r\nexport class Location extends BaseEntity {\r\n name: string = ''\r\n address?: Address = new Address()\r\n iDs?: IDType[] = new Array()\r\n phones?: Phone[] = new Array()\r\n associatedPhysicians?: {\r\n name: string;\r\n pageUrl: string;\r\n image: {\r\n imagePath: string;\r\n imageAlt: string;\r\n imageTitle: string;\r\n } | null;\r\n }[];\r\n directions?: string = ''\r\n active: boolean = false\r\n disabled: boolean = false\r\n}\r\n","import { format, set, setDay, setMonth, setWeek, setYear, startOfDay } from \"date-fns\";\r\nimport { computed } from '@vue/composition-api';\r\n\r\nconst getMonth = (month:number) => {\r\n return format(setMonth(new Date(),month-1),\"MMM\");\r\n}\r\nconst getMonthFull = (month:number) => {\r\n return format(setMonth(new Date(),month-1),\"MMMM\");\r\n}\r\nconst getDate = (day:number, week:number, year:number) => {\r\n return startOfDay(setWeek(setYear(setDay(new Date(), day-1),year), week));\r\n}\r\nconst getDateString = (day:number, week:number, year:number) => {\r\n return format(getDate(day,week,year),'MMMM Do, yyyy');\r\n}\r\nconst todaysDate = computed(() => {\r\n return format(new Date(),'MMMM do')\r\n})\r\nconst getToday = () => { \r\n const d = new Date(); \r\n d.setHours(0, 0, 0, 0); \r\n return d; \r\n}\r\nconst convertTime12to24 = (time12h) => {\r\n const [time, modifier] = time12h.split(' ');\r\n\r\n let [hours, minutes] = time.split(':');\r\n\r\n if (hours === '12') {\r\n hours = '00';\r\n }\r\n\r\n if (modifier === 'PM') {\r\n hours = parseInt(hours, 10) + 12;\r\n }\r\n\r\n return `${hours}:${minutes}`;\r\n}\r\nexport { getMonth, getDate,getDateString, todaysDate, getMonthFull, getToday, convertTime12to24 }","import { globalStore } from \"@/store\";\r\nimport { DaySlots, Department, LocationSchedule, Timeslot } from \"@/store/entities/location-dto\";\r\nimport { PhysicianDetailModel } from \"@/store/entities/provider-dto\";\r\nimport { reactive } from \"@vue/composition-api\";\r\nimport { add, format, parseISO, differenceInMinutes, parse as parseDate } from \"date-fns\";\r\nimport { getToday, convertTime12to24 } from \"./date-helpers\";\r\nimport { currentSelectedLocationId, isVirtualVisit, currentSitecoreLocationId, processData } from \"./process-helper\";\r\n\r\nexport const appointmentData = reactive({\r\n allTimeSlots: [] as Array,\r\n locationSchedules: new LocationSchedule() as LocationSchedule | undefined,\r\n throttleAppointments: false,\r\n nonBookableLocations: [] as Array\r\n})\r\n\r\nexport const setTimeSlots = () => {\r\n appointmentData.allTimeSlots = [];\r\n //load slots into map\r\n if(!appointmentData.locationSchedules)\r\n return;\r\n const allTimeSlots = appointmentData.locationSchedules.scheduleDays.map(x => {\r\n return {\r\n $: x,\r\n date: format(new Date(x.date), \"yyyy-MM-dd\"), \r\n departmentId: x.department?.id,\r\n // Obj version of timeslots is used for multi-provider situations\r\n // where a npid needs to be associated with each timeslot\r\n slots: x.timeSlotsObj && x.timeSlotsObj.length > 0\r\n ? x.timeSlotsObj.map(y => {\r\n return {\r\n hour: convertStringTime(y.hourText),\r\n hourText: formatStringTime(y.hourText),\r\n arriveByText: formatStringArrivalTime(y.hourText, x.arrivalTime),\r\n isDisabled: false,\r\n isActive: false,\r\n slotBlockType: x.slotBlockType,\r\n npid: y.npid,\r\n } as Timeslot})\r\n : x.timeSlots.map(y => {\r\n return {\r\n hour: convertStringTime(y),\r\n hourText: formatStringTime(y),\r\n arriveByText: formatStringArrivalTime(y, x.arrivalTime),\r\n isDisabled: false,\r\n isActive: false,\r\n slotBlockType: x.slotBlockType,\r\n } as Timeslot}),\r\n } as DaySlots\r\n });\r\n\r\n appointmentData.allTimeSlots = mergeSlotsByDepartment(allTimeSlots)\r\n}\r\n\r\nconst mergeSlotsByDepartment = (daySlots: Array): Array => {\r\n\r\n // map department to index in result array\r\n const memo = new Map()\r\n const result: Array = []\r\n\r\n daySlots.forEach(\r\n day => {\r\n const uid = `${day.departmentId}|${day.date}`;\r\n if(!memo.has(uid)) {\r\n memo.set(uid, result.length)\r\n result.push(day)\r\n return\r\n }\r\n\r\n const lastDayByDepartment = result[memo.get(uid)];\r\n let timeSlots = lastDayByDepartment.slots.concat(day.slots)\r\n\r\n const timeSlotsHr = new Set()\r\n timeSlots = timeSlots.filter(x => {\r\n if(timeSlotsHr.has(x.hourText))return false\r\n timeSlotsHr.add(x.hourText)\r\n return true\r\n })\r\n\r\n\r\n lastDayByDepartment.slots = timeSlots\r\n }\r\n )\r\n\r\n const now = new Date()\r\n\r\n // sort each slot in day\r\n result.forEach(\r\n day => day.slots = day.slots.sort((a, b) => differenceInMinutes(parseDate(a.hourText, \"hh:mm aaaa\", now), parseDate(b.hourText, \"hh:mm aaaa\", now)))\r\n\r\n )\r\n\r\n return result\r\n}\r\n\r\n\r\nexport const getTodayDate = () => {\r\n const d = new Date();\r\n d.setHours(0, 0, 0, 0);\r\n return d;\r\n }\r\n\r\nexport const getFirstNonEmptySlotDate = (startDate: Date, physicianList: Array,departmentID: string) => {\r\n \r\n return physicianList.reduce((prev, physician) => {\r\n const firstSlot = physician.allTimeSlots.find(x => x.date && parseDate(x.date, \"yyyy-MM-dd\", startDate) >= startDate && x.departmentId == departmentID);\r\n if(!firstSlot)return prev;\r\n\r\n const newDate = parseDate(firstSlot.date, \"yyyy-MM-dd\", startDate);\r\n if(prev === null)return newDate;\r\n\r\n return newDate < prev ? newDate : prev;\r\n }, null as Date | null) || startDate;\r\n}\r\n\r\nexport const returnTimeSlots = (schedule: LocationSchedule) => {\r\n let allTimeSlots = [];\r\n //load slots into map\r\n if(!schedule)\r\n return null;\r\n allTimeSlots = schedule.scheduleDays.map(x => {\r\n\r\n return {\r\n date: format(new Date(x.date), \"yyyy-MM-dd\"), \r\n departmentId: x.department?.id,\r\n slots:x.timeSlots.map(y => {\r\n return {\r\n hour: convertStringTime(y),\r\n hourText: formatStringTime(y),\r\n arriveByText: formatStringArrivalTime(y, x.arrivalTime),\r\n isDisabled: false,\r\n isActive: false,\r\n slotBlockType: x.slotBlockType,\r\n } as Timeslot})\r\n } as DaySlots\r\n });\r\n return mergeSlotsByDepartment(allTimeSlots);\r\n}\r\n// reset appt data\r\nexport const resetAppointmentData = () => {\r\n appointmentData.allTimeSlots = [];\r\n appointmentData.locationSchedules = new LocationSchedule();\r\n appointmentData.throttleAppointments = false;\r\n appointmentData.nonBookableLocations = [];\r\n}\r\nexport const getTimeSlotsByDate = (currentDate: Date) : Timeslot[] => {\r\n const currentDateString = format(currentDate, \"yyyy-MM-dd\");\r\n if(isVirtualVisit.value) return appointmentData.allTimeSlots.find(x => x.date == currentDateString)?.slots ?? [];\r\n return appointmentData.allTimeSlots.find(x => x.date == currentDateString && currentSelectedLocationId.value.find(y => y.id == x.departmentId))?.slots ?? [];\r\n}\r\nexport const getTimeSlotsByDateFromArray = (currentDate: Date, slots: DaySlots[]) : DaySlots => {\r\n const currentDateString = format(currentDate, \"yyyy-MM-dd\");\r\n const today = getToday();\r\n const todayDateString = format(today, \"yyyy-MM-dd\");\r\n let day = slots.find(x => {\r\n let isCurrentDate = false;\r\n let isCurrentDepartment = false;\r\n\r\n if (x.date == currentDateString) {\r\n isCurrentDate = true;\r\n }\r\n\r\n if (globalStore.state.isVirtualVisit) {\r\n isCurrentDepartment = true;\r\n } else if (currentSitecoreLocationId.value.filter(y => y == x.departmentId).length > 0) {\r\n isCurrentDepartment = true;\r\n }\r\n\r\n return (isCurrentDate && isCurrentDepartment);\r\n });\r\n\r\n if (todayDateString === day?.date) {\r\n const now = new Date();\r\n const nowTime = now.toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' });\r\n const filteredSlots = day?.slots?.filter((slot: Timeslot) => convertTime12to24(slot.hourText) > convertTime12to24(nowTime));\r\n day.slots = filteredSlots;\r\n }\r\n\r\n return day\r\n}\r\nexport const getDatesBetween = (\r\n startDate: Date,\r\n endDate: Date,\r\n includeEndDate?: boolean\r\n ) => {\r\n const dates = [];\r\n const currentDate = new Date(startDate);\r\n while (currentDate < endDate) {\r\n dates.push(new Date(currentDate));\r\n currentDate.setDate(currentDate.getDate() + 1);\r\n }\r\n if (includeEndDate) dates.push(endDate);\r\n return dates;\r\n };\r\n\r\nexport const getNextSlots = (startDate: Date) => {\r\n startDate = parseISO(format(startDate, 'yyyy-MM-dd'))\r\n\r\n /*\r\n if(isVirtualVisit.value) {\r\n const virtualVisitDepartments = (globalStore.state.locations || []).filter(x => x.allowVirtualVisits);\r\n const departments = virtualVisitDepartments.reduce((prev, curr) => {prev.add(curr.openSchedulingDepartmentID); return prev}, new Set())\r\n const allowedTimeSlots = appointmentData.allTimeSlots.filter(slot => parseISO(slot.date) >= startDate && departments.has(slot.departmentId))\r\n return allowedTimeSlots\r\n }\r\n */\r\n if(isVirtualVisit.value) {\r\n return appointmentData.allTimeSlots.filter(x => parseISO(x.date) >= startDate && x.slots.length > 0);\r\n }\r\n\r\n\r\n const allDaySlots = appointmentData.allTimeSlots.filter(x => parseISO(x.date) >= startDate && currentSelectedLocationId.value.find(y => y.id == x.departmentId) && x.slots.length > 0);\r\n return allDaySlots as any\r\n}\r\n\r\nexport const getTimeSlotsByDatePeriod = (startDate: Date, endDate: Date) : DaySlots[] => {\r\n const dateArray = getDatesBetween(startDate, endDate, true);\r\n let allDaySlots = [];\r\n\r\n const virtualVisitDepartments = (globalStore.state.locations || []).filter(x => x.allowVirtualVisits);\r\n const departments = virtualVisitDepartments.reduce((prev, curr) => {prev.add(curr.openSchedulingDepartmentID); return prev}, new Set())\r\n const allowedTimeSlots = appointmentData.allTimeSlots.filter(slot => departments.has(slot.departmentId))\r\n for (let i = 0; i < dateArray.length; i ++ ) {\r\n const currentDateString = format(dateArray[i], \"yyyy-MM-dd\");\r\n\r\n if(isVirtualVisit.value)allDaySlots.push(allowedTimeSlots.find(x => x.date == currentDateString && x.slots.length > 0));\r\n else allDaySlots.push(appointmentData.allTimeSlots.find(x => x.date == currentDateString && currentSelectedLocationId.value.find(y => y.id == x.departmentId) && x.slots.length > 0));\r\n }\r\n return allDaySlots.filter(Boolean);\r\n}\r\nexport const getTimeSlotsByDatePeriodFromSchedule = (startDate: Date, endDate: Date, schedule: DaySlots[]) : DaySlots[] => {\r\n let allDaySlots = [];\r\n\r\n if(!isVirtualVisit.value) {\r\n appointmentData.allTimeSlots.forEach(x => {if(currentSelectedLocationId.value.find(y => y.id == x.departmentId)){ allDaySlots.push(x)}});\r\n }\r\n else {\r\n const virtualVisitDepartments = globalStore.state.locations.filter(x => x.allowVirtualVisits);\r\n const departments = virtualVisitDepartments.reduce((prev, curr) => {prev.add(curr.openSchedulingDepartmentID); return prev}, new Set())\r\n appointmentData.allTimeSlots.filter(slot => departments.has(slot.departmentId)).forEach(x => allDaySlots.push(x));\r\n }\r\n return allDaySlots.filter(Boolean);\r\n}\r\nexport const getAllTimeSlots = () : DaySlots[] => {\r\n\r\n let allDaySlots = [];\r\n\r\n if(isVirtualVisit.value) {\r\n const virtualVisitDepartments = (globalStore.state.locations || []).filter(x => x.allowVirtualVisits);\r\n const departments = virtualVisitDepartments.reduce((prev, curr) => {prev.add(curr.openSchedulingDepartmentID); return prev}, new Set())\r\n const allowedTimeSlots = appointmentData.allTimeSlots.filter(slot => departments.has(slot.departmentId))\r\n allDaySlots = allowedTimeSlots\r\n }\r\n\r\n else {\r\n appointmentData.allTimeSlots.forEach(x => {\r\n if(currentSelectedLocationId.value.find(y => y.id == x.departmentId)) { \r\n allDaySlots.push(x);\r\n }\r\n });\r\n }\r\n\r\n\r\n //order the dayslots\r\n allDaySlots.sort((a, b) => (parseISO(a.date) > parseISO(b.date))? 1: -1) // sort by date\r\n\r\n //remove duplicates\r\n const dates = allDaySlots.map(o => o.date) \r\n const filtered = allDaySlots.filter(({date}, index) => !dates.includes(date, index + 1))\r\n\r\n //remove ones that don't have slots\r\n return filtered.filter(x => x.slots.length > 1);\r\n}\r\n\r\nconst convertStringTime = (time:string) : number=> {\r\n const timeParts = time.split(':');\r\n if(timeParts.length > 1) {\r\n return +timeParts[0];\r\n }\r\n return 0;\r\n}\r\nconst formatStringTime = (time:string) : string=> {\r\n const timeParts = time.split(':');\r\n if(timeParts.length > 1) {\r\n if(+timeParts[0] > 12) {\r\n return `${+timeParts[0] - 12}:${timeParts[1]} PM`;\r\n } else if(+timeParts[0] == 12)\r\n return `${+timeParts[0]}:${timeParts[1]} PM`;\r\n else\r\n {\r\n // return formatted time without leading zeros on hour\r\n return `${parseInt(timeParts[0])}:${timeParts[1]} AM`;\r\n }\r\n }\r\n return '';\r\n}\r\nconst formatStringArrivalTime = (time:string, minutes:number) : string=> {\r\n const hrs = formatStringTime(time).split(':');\r\n if (hrs.length > 1) {\r\n const mins = hrs[1].split(' ');\r\n const newMinutes = +mins[0] - minutes;\r\n if(newMinutes < 0) {\r\n if (+hrs[0] - 1 == 0) {\r\n if (mins[1] == 'AM'){\r\n return `12:${(60+newMinutes).toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false })} PM`;\r\n } else {\r\n return `12:${(60+newMinutes.toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false }))} AM`;\r\n }\r\n } else {\r\n return `${(+hrs[0] - 1).toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false })}:${(60+newMinutes.toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false }))} ${mins[1]}`;\r\n }\r\n } else {\r\n return `${(+hrs[0]).toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false })}:${(newMinutes).toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false })} ${mins[1]}`;\r\n }\r\n }\r\n return '';\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.currentStage != _vm.EnumStages[_vm.entryPoint.location].success)?_c('div',{attrs:{\"role\":\"main\",\"aria-label\":\"provider banner\",\"id\":\"zy-provider-banner\"}},[_c('div',{staticClass:\"zy-heading zx-mb-4 zx-mt-1\",style:({'margin-top': _vm.mobileData.isMobile?'2.5rem': '0'})},[(_vm.isIframe)?_c('img',{staticClass:\"zy-heading-iframe-logo\",attrs:{\"src\":\"/-/media/themes/wellstar/org/wellstarorg/wellstartheme/images/wellstar-logo\",\"alt\":\"Wellstar logo\",\"id\":\"zy-provider-wellstar-logo\"}}):_vm._e(),_c('span',{staticClass:\"zy-provider-banner-text zx-uppercase zx-text-sm zx-opacity-40\",attrs:{\"aria-label\":\"Book an Appointment\",\"id\":\"zy-provider-banner-header\"}},[_vm._v(\"Book An Appointment\")]),(!_vm.mobileData.isMobile && !_vm.isIframe)?_c('div',{staticClass:\"zy-dialog-close\",attrs:{\"id\":\"zy-close\",\"aria-label\":\"close\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.cancel.apply(null, arguments)}}},[_c('i',{staticClass:\"icon-close zx-text-2xl\"})]):_vm._e()]),(_vm.mobileData.isMobile)?_c('div',{staticClass:\"zx-flex zx-mb-5\",class:{'zy-mobile-header-fixed': _vm.mobileData.isMobile},attrs:{\"aria-label\":\"back a step\",\"id\":\"zy-provider-banner-back-a-step\"}},[(_vm.mobileData.isMobile && _vm.currentStage != _vm.EnumStages[_vm.entryPoint.location].error && !_vm.isIframe)?_c('span',{staticClass:\"zy-back-button-top btn-no-background zx-underline zx-text-xl\",on:{\"click\":_vm.previousStage}},[_c('img',{staticClass:\"input-icon back-arrow-icon zx-m-1 zx-mr-2\",attrs:{\"src\":(_vm.baseUrl + \"/img/back-arrow.svg\")}}),_vm._v(\" Go Back \")]):_vm._e(),(!_vm.isIframe)?_c('div',{staticClass:\"zy-dialog-close\",attrs:{\"id\":\"zy-close\",\"aria-label\":\"close\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.cancel.apply(null, arguments)}}},[_c('i',{staticClass:\"icon-close zx-text-2xl\"})]):_vm._e()]):_vm._e(),(_vm.entryPoint.location !== 'clinic')?_c('div',{staticClass:\"zy-doctor zx-flex zx-flex-nowrap\",attrs:{\"aria-label\":_vm.doctorName,\"id\":\"zy-provider-banner-doctor-container\"}},[_c('div',{staticClass:\"zy-doctor__image zx-w-auto zx-text-center zy-shadow\",attrs:{\"aria-label\":\"provider banner-doctor-image\",\"id\":\"zy-provider-banner-doctor-image\"}},[_c('provider-avatar',{attrs:{\"avatar\":_vm.doctorImage || _vm.defaultImgUrl,\"avatar-alt\":_vm.doctorName,\"swoosh\":_vm.distinction.swoosh,\"star-icon\":_vm.distinction.starIcon,\"lockup\":_vm.distinction.lockup,\"lockup-alt\":_vm.distinction.lockupAlt}})],1),_c('div',{staticClass:\"zx-text-left zx-w-auto\",staticStyle:{\"flex-grow\":\"1\"}},[_c('h2',{staticClass:\"zy-doctor__name sm:zx-text-4xl zx-text-2xl\",attrs:{\"aria-label\":\"provider banner-doctor-name\",\"id\":\"zy-provider-banner-doctor-name\"}},[_vm._v(_vm._s(_vm.doctorName))]),_c('span',{staticClass:\"zy-doctor__title zx-text-lg sm:zx-text-xl zx-inline-block\",attrs:{\"aria-label\":\"provider banner-doctor-title\",\"id\":\"zy-provider-banner-doctor-title\"}},[_vm._v(_vm._s(_vm.doctorTitle))]),(!!_vm.distinction.affiliateLabel)?_c('div',{staticClass:\"zy-affiliate\",attrs:{\"id\":\"zy-physician-row-doctor-affiliate\"}},[_c('div',{staticClass:\"zy-id-card\",attrs:{\"id\":\"zy-physician-row-doctor-id-card\"}},[_c('img',{attrs:{\"src\":(_vm.baseUrl + \"/img/id-card.svg\")}})]),_vm._v(\" \"+_vm._s(_vm.distinction.affiliateLabel)+\" \")]):_vm._e(),(_vm.mobileData.isMobile && _vm.ratings)?_c('div',{staticClass:\"zx-flex\"},[_c('div',{staticClass:\"PhysicianCard_rating\"},[_c('i',{staticClass:\"fa fa-star zx-text-star-yellow\"}),_vm._v(_vm._s(_vm.ratings))]),_c('span',{staticClass:\"zx-opacity-40 zx-text-text-gray zx-pl-2\"},[_vm._v(_vm._s(_vm.reviewCount)+\" Reviews\")])]):_vm._e()])]):_vm._e(),(_vm.entryPoint.location === 'clinic')?_c('div',{staticClass:\"zy-doctor\"},[_c('div',{staticClass:\"zx-w-auto zx-inline-flex\"},[_c('h1',{staticClass:\"zx-inline-block sm:zx-text-5xl zx-text-2xl zx-mb-0 zx-font-semibold secondary--text location-header-title\",attrs:{\"id\":\"clinic-scheduling-title-text\"}},[_vm._v(_vm._s(_vm.selectedLocation && _vm.selectedLocation.name))]),_c('img',{staticClass:\"zy-wellstar-badge clinic\",attrs:{\"id\":\"wellstar-badge-icon\",\"src\":(_vm.baseUrl + \"/img/wmg-badge.svg\")}})])]):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { defineComponent, reactive, toRefs } from '@vue/composition-api'\r\n\r\nimport { processData, EnumStages, entryPoint } from '../helpers/process-helper'\r\nimport { globalStore } from '../store/modules/global-store';\r\nimport { mobileData, onResize } from '../helpers/mobile-helper';\r\n\r\nlet img = require('@/assets/images/back-arrow.svg')\r\nlet imgIdCard = require('@/assets/images/id-card.svg');\r\n\r\nexport default defineComponent({\r\n props: {\r\n isAlternateOnlineSchedulingMessage: String\r\n },\r\n setup (props) {\r\n const data = reactive({\r\n baseUrl: processData.baseUrl\r\n })\r\n const cancel = () => {\r\n if (!globalStore.state.isIframe) {\r\n processData.showModal = false;\r\n } \r\n }\r\n const previousStage = () => {\r\n if (processData.currentStage === 0 || props.isAlternateOnlineSchedulingMessage) {\r\n cancel();\r\n } else {\r\n processData.currentStage--;\r\n }\r\n }\r\n return {\r\n ...toRefs(processData),\r\n ...toRefs(globalStore.state),\r\n mobileData,\r\n previousStage,\r\n cancel,\r\n EnumStages,\r\n entryPoint,\r\n };\r\n }\r\n})\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoctorHeading.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DoctorHeading.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DoctorHeading.vue?vue&type=template&id=61b4190e&scoped=true&\"\nimport script from \"./DoctorHeading.vue?vue&type=script&lang=ts&\"\nexport * from \"./DoctorHeading.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DoctorHeading.vue?vue&type=style&index=0&id=61b4190e&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"61b4190e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.currentStage != _vm.EnumStages[_vm.entryPoint.location].success)?_c('div',{staticClass:\"zy-heading-container\",attrs:{\"role\":\"main\",\"aria-label\":\"scheduling modal banner\",\"id\":\"zy-scheduling-modal-banner\"}},[_c('div',{staticClass:\"zy-heading zx-mb-4 zx-mt-1\"},[_c('span',{staticClass:\"zx-uppercase zx-text-sm zx-opacity-40\",attrs:{\"aria-label\":\"Book an Appointment\",\"id\":\"zy-scheduling-modal-banner-header\"}},[_vm._v(\"Book An Appointment\")]),(!_vm.mobileData.isMobile)?_c('div',{staticClass:\"zy-dialog-close\",attrs:{\"id\":\"zy-close\",\"aria-label\":\"close\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.cancel.apply(null, arguments)}}},[_c('i',{staticClass:\"icon-close zx-text-2xl\"})]):_vm._e()]),(_vm.mobileData.isMobile)?_c('div',{staticClass:\"zx-flex zx-mb-5\",class:{'zy-mobile-header': _vm.mobileData.isMobile},attrs:{\"aria-label\":\"back a step\",\"id\":\"zy-scheduling-modal-banner-back-a-step\"}},[(_vm.mobileData.isMobile && _vm.currentStage != _vm.EnumStages[_vm.entryPoint.location].error)?_c('span',{staticClass:\"zy-back-button-top btn-no-background zx-underline zx-text-xl\",attrs:{\"data-id\":\"go-back-link\"},on:{\"click\":_vm.previousStage}},[_c('img',{staticClass:\"input-icon back-arrow-icon zx-m-1 zx-mr-2\",attrs:{\"src\":(_vm.baseUrl + \"/img/back-arrow.svg\")}}),_vm._v(\" Go Back \")]):_vm._e()]):_vm._e(),_c('div',{staticClass:\"zy-lab-name-container zx-flex zx-flex-nowrap\",attrs:{\"aria-label\":_vm.labName,\"id\":\"scheduling-modal-header\"}},[_c('h1',{staticClass:\"sm:zx-text-5xl zx-text-2xl zx-mb-0 zx-font-semibold secondary--text zy-lab-name\",attrs:{\"aria-label\":\"scheduling modal lab name\",\"id\":\"scheduling-modal-lab-name\"}},[_vm._v(_vm._s(_vm.labName))]),(_vm.isPartOfWellStarGroup)?_c('img',{staticClass:\"zy-wellstar-badge\",attrs:{\"id\":\"wellstar-badge-icon\",\"src\":(_vm.baseUrl + \"/img/wmg-badge.svg\")}}):_vm._e()])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { defineComponent, reactive, toRefs } from '@vue/composition-api'\r\nimport { processData, EnumStages, entryPoint } from '../helpers/process-helper'\r\nimport { globalStore } from '../store/modules/global-store';\r\nimport { mobileData } from '../helpers/mobile-helper';\r\n\r\nlet img = require('@/assets/images/back-arrow.svg')\r\n\r\nexport default defineComponent({\r\n props: {\r\n isAlternateOnlineSchedulingMessage: String\r\n },\r\n setup (props) {\r\n const data = reactive({\r\n baseUrl: processData.baseUrl\r\n })\r\n const cancel = () => {\r\n processData.showModal = false;\r\n }\r\n const previousStage = () => {\r\n if (processData.currentStage === 1) {\r\n cancel();\r\n } else {\r\n processData.currentStage--;\r\n }\r\n }\r\n return {\r\n ...toRefs(processData),\r\n ...toRefs(globalStore.state),\r\n mobileData,\r\n previousStage,\r\n cancel,\r\n EnumStages,\r\n entryPoint,\r\n };\r\n }\r\n})\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LabHeading.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LabHeading.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LabHeading.vue?vue&type=template&id=6c190fa6&scoped=true&\"\nimport script from \"./LabHeading.vue?vue&type=script&lang=ts&\"\nexport * from \"./LabHeading.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./LabHeading.vue?vue&type=style&index=0&id=6c190fa6&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6c190fa6\",\n null\n \n)\n\nexport default component.exports","let asyncForEach = async (array:any[], callback:any) => {\r\n for (let index = 0; index < array.length; index++) {\r\n await callback(array[index], index, array);\r\n }\r\n}\r\nconst getOrdinalSuffix = (i:number) => {\r\n const j = i % 10,\r\n k = i % 100;\r\n if (j == 1 && k != 11) {\r\n return i + \"st\";\r\n }\r\n if (j == 2 && k != 12) {\r\n return i + \"nd\";\r\n }\r\n if (j == 3 && k != 13) {\r\n return i + \"rd\";\r\n }\r\n return i + \"th\";\r\n}\r\n\r\nconst formatPhoneNumber = (phoneNumberString:string) => {\r\n const cleaned = ('' + phoneNumberString).replace(/\\D/g, '');\r\n const match = cleaned.match(/^(1|)?(\\d{3})(\\d{3})(\\d{4})$/);\r\n \r\n if (match) {\r\n const intlCode = (match[1] ? '+1 ' : '');\r\n return [intlCode, '(', match[2], ') ', match[3], '-', match[4]].join('');\r\n }\r\n \r\n return null;\r\n}\r\nexport {asyncForEach, getOrdinalSuffix, formatPhoneNumber}","import { Department, LocationSchedule, RelatedLocation, Location, ScheduleDay, Timeslot } from \"@/store/entities/location-dto\";\r\nimport { formatPhoneNumber } from \"./helpers\";\r\n\r\nexport const isSameDepartment = (depart1: Department, depart2: Department) => {\r\n // checking whether the two departments have any external id in common, if they do, then they are the same department\r\n return depart1.iDs.filter(id => id.type === \"External\").map(idobject => idobject.id).some(\r\n id => depart2.iDs.filter(id => id.type === \"External\").map(idobject => idobject.id).includes(id))\r\n // let isSame = true\r\n // if ((depart1.address.state.abbreviation != null && depart2.address.state.abbreviation !=null) && depart1.address.state.abbreviation.toLowerCase() != depart2.address.state.abbreviation.toLowerCase()){\r\n // isSame = false;\r\n // } \r\n // if ((depart1.address.postalCode != null && depart2.address.postalCode !=null)){\r\n // let newCode1 = depart1.address.postalCode\r\n // let newCode2 = depart2.address.postalCode\r\n // if (depart1.address.postalCode.length > 5){\r\n // newCode1 = depart1.address.postalCode.split(\"-\")[0];\r\n // }\r\n // if (depart2.address.postalCode.length > 5){\r\n // newCode2 = depart2.address.postalCode.split(\"-\")[0];\r\n // }\r\n // if(newCode1 != newCode2)isSame = false;\r\n \r\n // }\r\n // if ((depart1.address.city != null && depart2.address.city !=null) && depart1.address.city.toLowerCase() != depart2.address.city.toLowerCase()){\r\n // isSame = false;\r\n // } \r\n // if ((depart1.address.houseNumber != null && depart2.address.houseNumber !=null) && depart1.address.houseNumber.toLowerCase() != depart2.address.houseNumber.toLowerCase()){\r\n // isSame = false;\r\n // }\r\n // if ((depart1.address.streetAddress != null && depart2.address.streetAddress != null) && (depart1.address.streetAddress.length > 1 && depart2.address.streetAddress.length > 1) && (depart1.address.streetAddress[0] != null && depart2.address.streetAddress[0] != null) && (depart1.address.streetAddress[0].length > 0 && depart2.address.streetAddress[0].length > 0) && (depart1.address.streetAddress[1] != null && depart2.address.streetAddress[1] != null) && (depart1.address.streetAddress[1].length > 0 && depart2.address.streetAddress[1].length > 0) && (depart1.address.streetAddress[0].toLowerCase() != depart2.address.streetAddress[0].toLowerCase() || depart1.address.streetAddress[1].toLowerCase() != depart2.address.streetAddress[1].toLowerCase())){\r\n // isSame = false;\r\n // }\r\n // if ((depart1.address.streetAddress != null && depart2.address.streetAddress != null) && (depart1.address.streetAddress.length == 1 && depart2.address.streetAddress.length == 1) && (depart1.address.streetAddress[0] != null && depart2.address.streetAddress[0] != null) && (depart1.address.streetAddress[0].length > 0 && depart2.address.streetAddress[0].length > 0) && (depart1.address.streetAddress[0].toLowerCase() != depart2.address.streetAddress[0].toLowerCase())){\r\n // isSame = false;\r\n // }\r\n // if ((depart1.address.streetAddress != null && depart2.address.streetAddress != null) && (depart1.address.streetAddress.length != depart2.address.streetAddress.length)){\r\n // isSame = false;\r\n // }\r\n // if(isSame){return true}else{return false}\r\n}\r\nexport const departmentIsInList = (department1:Department,departmentList:Department[]) => {\r\n let isInList = false\r\n for(var i=0;i {\r\n let departments = Array()\r\n locations.forEach(x => {\r\n let department = new Department()\r\n department.address.latitude = x.latitude\r\n department.address.longitude = x.longitude\r\n let newAddress = x.address?.length > 1? x.address?.split(\",\") : null;\r\n if (newAddress == null) return null\r\n let newAddress2 = x.address2?.length > 1? x.address2 : null;\r\n department.address.streetAddress.push(newAddress[0].trim())\r\n if (newAddress2 != null) department.address.streetAddress.push(newAddress2.trim())\r\n department.address.city = newAddress[1].trim()\r\n department.address.postalCode = newAddress[3].trim()\r\n department.address.houseNumber = ''\r\n department.address.state.abbreviation = newAddress[2].trim()\r\n department.address.state.title = ''\r\n department.address.state.number = ''\r\n department.directions = x?.directions\r\n if (x.openSchedulingDepartmentID != null){\r\n department.iDs = Array.from(new Set(x.openSchedulingDepartmentID.split(','))).map(x => {\r\n return {\r\n \"id\": x,\r\n \"type\": \"External\"\r\n }\r\n })\r\n } else {\r\n department.iDs = []\r\n }\r\n department.phones = [{\r\n \"number\": x.phone,\r\n \"type\": \"External\"\r\n }]\r\n department.providers = []\r\n department.name = x.name\r\n department.disabled = true\r\n departments.push(department)\r\n });\r\n return departments\r\n};\r\n\r\nexport const combineLocationSchedules = (schedules: Array) => {\r\n let schedule = schedules[0]\r\n for (var i = 1; i < schedules.length; i++){\r\n schedules[i].departments.forEach(x => {\r\n if(!departmentIsInList(x,schedule.departments)) schedule.departments.push(x)\r\n })\r\n schedule.scheduleDays = schedule.scheduleDays.concat(schedules[i].scheduleDays)\r\n schedule.visitTypes = schedule.visitTypes.concat(schedules[i].visitTypes)\r\n }\r\n return schedule;\r\n};\r\n\r\nexport const combineMultiProviderSchedules = (location: Department, npids: string[], allSchedules:LocationSchedule[]) => {\r\n const allDays:ScheduleDay[] = [];\r\n const departmentIds = location.iDs.map(d => d.id);\r\n for (let iProvider = 0; iProvider < npids.length; iProvider+=1) {\r\n const npid = npids[iProvider];\r\n const provider = allSchedules.find((schedule) => schedule.npid === npid);\r\n if (!provider) continue;\r\n\r\n const providerDays = provider.scheduleDays;\r\n if (providerDays && providerDays.length > 0) {\r\n for (let iDay = 0; iDay < providerDays.length; iDay+=1) {\r\n const day = providerDays[iDay];\r\n // If the day's department id does not match any of the provided location department ids, skip the record\r\n if (!departmentIds.includes(day.department.id)) continue;\r\n // Convert the timeslot strings to objects that contain associated npids\r\n day.timeSlotsObj = day.timeSlots.map((time) => {\r\n return {\r\n hourText: time,\r\n npid: npid,\r\n slotBlockType: day.slotBlockType,\r\n hour: undefined,\r\n arriveByText: undefined,\r\n isDisabled: undefined,\r\n isActive: undefined\r\n };\r\n });\r\n const existingDay = allDays.find((d) => d.date === day.date);\r\n if (existingDay) {\r\n existingDay.timeSlotsObj = [...existingDay.timeSlotsObj, day.timeSlotsObj].flat();\r\n } else {\r\n allDays.push(day);\r\n }\r\n }\r\n }\r\n }\r\n\r\n // De-dup and sort by date\r\n allDays.sort((a, b) => a.date.localeCompare(b.date));\r\n const filteredDays = allDays.map((day) => {\r\n const slots = day.timeSlotsObj;\r\n // An associative array, where the key is the hour, and the value is a list of\r\n // slots from all providers at that same hour\r\n const groupedSlots: { [hourText: string]: Timeslot[]; } = {};\r\n for (let iSlot = 0; iSlot < slots.length; iSlot+=1) {\r\n const slot = slots[iSlot];\r\n\r\n if (!groupedSlots[slot.hourText]) {\r\n groupedSlots[slot.hourText] = [];\r\n }\r\n groupedSlots[slot.hourText].push(slot);\r\n }\r\n const resultSlots: Timeslot[] = [];\r\n for (const hourText in groupedSlots) {\r\n const slotGroup = groupedSlots[hourText];\r\n // Deliberately pick a random time slot if there's a duplicate time among multiple providers\r\n const randomIndex = Math.floor(Math.random() * slotGroup.length);\r\n resultSlots.push(slotGroup[randomIndex]);\r\n }\r\n resultSlots.sort((a, b) => a.hourText.localeCompare(b.hourText));\r\n day.timeSlotsObj = resultSlots;\r\n return day;\r\n });\r\n return {\r\n departments: [ location ],\r\n scheduleDays: filteredDays,\r\n };\r\n};\r\n\r\nexport const stripPhoneNumber = (phoneNumber) => {\r\n const zeroToNine = [0, 1, 2, 3, 4, 5, 6, 7, 8 , 9];\r\n return phoneNumber.split('').filter(digit => zeroToNine.includes(parseInt(digit))).join('');\r\n};\r\n\r\nexport const getPrimaryContactNumber = (globalStore, processData) => {\r\n if (globalStore.state.contactPhoneNumber) {\r\n return formatPhoneNumber(globalStore.state.contactPhoneNumber);\r\n } else if (processData.selectedLocation?.phones && processData.selectedLocation?.phones?.length > 0) {\r\n return formatPhoneNumber(processData.selectedLocation.phones[0].number);\r\n } else if (globalStore.state.doctorPhone) {\r\n return formatPhoneNumber(globalStore.state.doctorPhone);\r\n } else {\r\n return '(470) 956-7827';\r\n }\r\n};\r\n\r\nexport const locationToDepartment = (location: Location) => { \r\n let department = new Department\r\n department.iDs = location.iDs\r\n department.providers = location.associatedPhysicians\r\n department.address = location.address;\r\n department.name = location.name;\r\n department.phones = location.phones;\r\n return department;\r\n};","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { computed, defineComponent, onMounted, reactive, toRefs, ref } from '@vue/composition-api'\r\nimport { DialogStage, isVirtualVisit, processData, EnumStages, entryPoint, allowVirtualVisits } from '../helpers/process-helper'\r\nimport AutoCompleteComponent from './Common/Autocomplete.vue';\r\nimport AutoCompleteExtendedComponent from './Common/AutocompleteExtended.vue';\r\nimport LocationHeader from './Location/LocationHeader.vue'\r\nimport { formatPhoneNumber } from '../helpers/helpers';\r\nimport { emailValidator, isCheckedValidator, zipCodeValidator, numberValidator, requiredValidator, validate, ValidationRule, letterValidator, phoneNumberValidator } from '../services/validate-service';\r\nimport insuranceCarrierService from \"../services/insurance-carrier-service\";\r\nimport {insurancePlanService} from \"../services/insurance-plan-service\";\r\nimport { ISelectOption } from '../store/entities/form-entity';\r\nimport { InsuranceCarrierDto } from '../store/entities/insuranceCarrier-dto';\r\nimport { globalStore } from '../store';\r\nimport { InsurancePlanDto } from '../store/entities/insurancePlan-dto';\r\nimport { isLoading } from '../store/modules/global-store';\r\nimport parse from 'date-fns/parse';\r\nimport { format } from 'date-fns';\r\nimport Loading from './Common/Loading.vue';\r\nimport { mobileData, onResize } from '@/helpers/mobile-helper';\r\nimport { appointmentService } from '../services/appointment-service';\r\nimport { appointmentData } from '../helpers/appointment-helper';\r\nimport DoctorHeading from '../components/DoctorHeading.vue'\r\nimport LabHeading from '../components/LabHeading.vue'\r\nimport { getPrimaryContactNumber } from '@/helpers/location-helper';\r\n\r\nlet img1 = require('@/assets/images/email.svg')\r\nlet img2 = require('@/assets/images/calendar-dark.svg')\r\nlet img3 = require('@/assets/images/calendar.svg')\r\nlet img4 = require('@/assets/images/question.svg')\r\nlet img5 = require('@/assets/images/usa.svg')\r\nlet img6 = require('@/assets/images/subtract.svg')\r\n\r\n\r\nlet insuranceCarriers = [] as InsuranceCarrierDto[] | undefined\r\n\r\nexport default defineComponent({\r\n components: {\r\n AutoCompleteComponent,\r\n AutoCompleteExtendedComponent,\r\n Loading,\r\n DoctorHeading,\r\n LocationHeader,\r\n LabHeading\r\n },\r\n setup () {\r\n const firstNameInput = ref(null)\r\n const birthDateInput = ref(null)\r\n onMounted(async () => {\r\n onResize(); \r\n if(sessionStorage.getItem('form') !== null) patientForm.form = JSON.parse(sessionStorage.getItem('form'));\r\n insuranceCarriers = (await insuranceCarrierService.getAll())?.data;\r\n if(insuranceCarriers) {\r\n let carriers = (insuranceCarriers as InsuranceCarrierDto[])\r\n .sort((a,b) => a.type - b.type > 0 ? 1 : (a.type === b.type ? (a.name > b.name ? .9 : -1.1) : -1))\r\n .map(x => {return {text: x.name, value:x.id} as ISelectOption}); \r\n carriers.splice(1,0,{text:'Popular Carriers', value:-2,deactive:true})\r\n let firstNonPopularPosition = carriers.findIndex(x => x.text.indexOf('1199') > -1);\r\n carriers.splice(firstNonPopularPosition,0,{text:'All Carriers', value:-3,deactive:true})\r\n patientForm.insuranceCarrierItems = carriers;\r\n patientForm.form.insuranceCarrier = patientForm.form.insuranceCarrier;\r\n patientForm.form.insurancePlan = patientForm.form.insurancePlan;\r\n }\r\n\r\n firstNameInput.value.focus()\r\n })\r\n const patientForm = reactive({\r\n form: {\r\n firstName: '',\r\n middleName: '',\r\n lastName: '',\r\n insuranceCarrier: '',\r\n email:'',\r\n insurancePlan: '',\r\n gender: '',\r\n phoneNumber: '',\r\n zipCode: '',\r\n birthDate: '',\r\n insurancePlanId: 0\r\n },\r\n validator: {\r\n firstName: [requiredValidator('First Name'),letterValidator('First Name')],\r\n middleName:[],\r\n lastName: [requiredValidator('Last Name'),letterValidator('Last Name')],\r\n insuranceCarrier: [requiredValidator('Insurance Carrier')],\r\n gender: [requiredValidator('Gender')],\r\n phoneNumber: [requiredValidator('Phone Number'), phoneNumberValidator('Phone Number')],\r\n zipCode: [requiredValidator('Zip Code'), zipCodeValidator('Zip Code')],\r\n email: [requiredValidator('Email'),emailValidator('Email')],\r\n insurancePlan: [],\r\n birthDate: [requiredValidator('Birth Date')],\r\n insurancePlanId: []\r\n },\r\n insuranceCarrierId: 0,\r\n missingFields: '',\r\n insuranceCarrierItems: [] as ISelectOption[],\r\n insurancePlans: [] as ISelectOption[],\r\n genderList: [{text: 'Male', value: 'Male'},{text: 'Female', value: 'Female'},{text: 'Decline to answer', value: 'Decline to answer'}],\r\n errors: {\r\n first_name: false,\r\n last_name: false,\r\n insurance_carrier: false,\r\n gender: false,\r\n phone_number: false,\r\n zip_code: false,\r\n email: false,\r\n insurance_plan: false,\r\n birth_date: false,\r\n general: false\r\n },\r\n baseUrl: processData.baseUrl,\r\n defaultImgUrl: '/-/media/Themes/WellStar/Org/WellStarOrg/WellStarTheme/images/search-result-profile'\r\n })\r\n const phone = computed(() => {\r\n return getPrimaryContactNumber(globalStore, processData);\r\n })\r\n const getCarrierPlans = async (carrier:ISelectOption) => {\r\n if(carrier.value != 0) {\r\n let plans = await insurancePlanService.findAll({id:carrier.value});\r\n patientForm.insurancePlans = (plans as InsurancePlanDto[]).map(x => {return {text:x.name, value:x.id}as ISelectOption });\r\n // patientForm.form.insurancePlan = '';\r\n } else {\r\n patientForm.insurancePlans = [];\r\n patientForm.form.insurancePlan = '';\r\n } \r\n processData.selectedInsuranceCarrier = (insuranceCarriers as InsuranceCarrierDto[]).find(x => x.id == carrier.value) as InsuranceCarrierDto;\r\n }\r\n const insertAt = (index:number, text:string, insertText:string) => {\r\n return text.substring(0, index) + insertText + text.substring(index);\r\n }\r\n const handlePhoneNumber = (ev:KeyboardEvent) => {\r\n if(patientForm.form.phoneNumber.length >= 1) {\r\n if(patientForm.form.phoneNumber[0] != '(') {\r\n patientForm.form.phoneNumber = insertAt(0,patientForm.form.phoneNumber,'(');\r\n }\r\n }\r\n if(patientForm.form.phoneNumber.length > 4) {\r\n if(patientForm.form.phoneNumber[4] != ')') {\r\n patientForm.form.phoneNumber = insertAt(4,patientForm.form.phoneNumber,')');\r\n }\r\n }\r\n if(patientForm.form.phoneNumber.length > 5) {\r\n if(patientForm.form.phoneNumber[5] != ' ') {\r\n patientForm.form.phoneNumber = insertAt(5,patientForm.form.phoneNumber,' ');\r\n }\r\n }\r\n if(patientForm.form.phoneNumber.length > 9) {\r\n if(patientForm.form.phoneNumber[9] != '-') {\r\n patientForm.form.phoneNumber = insertAt(9,patientForm.form.phoneNumber,'-');\r\n }\r\n }\r\n }\r\n const handleBirthDate = (ev:KeyboardEvent) => {\r\n const keysAllowed: string[] = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];\r\n const keyPressed: string = ev.key;\r\n // Regex to get current number of slashes in the string\r\n var currentSlashCount = patientForm.form.birthDate.replace(/\\d+/g, '');\r\n if(keysAllowed.includes(keyPressed))\r\n {\r\n if(patientForm.form.birthDate.length > 1) {\r\n if(currentSlashCount.length <= 1 && patientForm.form.birthDate[2] != '/') {\r\n patientForm.form.birthDate = insertAt(2,patientForm.form.birthDate,'/');\r\n }\r\n }\r\n currentSlashCount = patientForm.form.birthDate.replace(/\\d+/g, '');\r\n if(patientForm.form.birthDate.length > 4) {\r\n if(currentSlashCount.length < 2 && patientForm.form.birthDate[2] == '/') {\r\n patientForm.form.birthDate = insertAt(5,patientForm.form.birthDate,'/');\r\n }\r\n }\r\n } else if(keyPressed == '/')\r\n {\r\n if(currentSlashCount.length < 2){\r\n typeInTextarea(\"/\");\r\n }\r\n }\r\n }\r\n\r\n function typeInTextarea(newText, bd = birthDateInput.value) {\r\n const [start, end] = [bd.selectionStart, bd.selectionEnd];\r\n patientForm.form.birthDate = insertAt(start, patientForm.form.birthDate, newText);\r\n }\r\n\r\n const numbersOnly = (ev:KeyboardEvent) => {\r\n const keysAllowed: string[] = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];\r\n const keyPressed: string = ev.key;\r\n if (!keysAllowed.includes(keyPressed)) {\r\n ev.preventDefault()\r\n }\r\n }\r\n const showErrorMessages = (message: string) => {\r\n if (message.includes(\"First Name\")){\r\n patientForm.errors.first_name = true;\r\n } else if (message.includes(\"Last Name\")) {\r\n patientForm.errors.last_name = true;\r\n } else if (message.includes(\"Insurance Carrier\")){\r\n patientForm.errors.insurance_carrier = true;\r\n } else if (message.includes(\"Gender\")) {\r\n patientForm.errors.gender = true;\r\n } else if (message.includes(\"Phone Number\")){\r\n patientForm.errors.phone_number = true;\r\n } else if (message.includes(\"Zip Code\")) {\r\n patientForm.errors.zip_code = true;\r\n } else if (message.includes(\"Email\")){\r\n patientForm.errors.email = true;\r\n } else if (message.includes(\"Insurance Plan\")) {\r\n patientForm.errors.insurance_plan= true;\r\n } else if (message.includes(\"Date\")){\r\n patientForm.errors.birth_date = true;\r\n }\r\n }\r\n const clearErrorMessages = () => {\r\n for(var err in patientForm.errors){\r\n patientForm.errors[err] = false;\r\n }\r\n }\r\n const savePatientInfo = async () => { \r\n globalStore.state.isLoading = true;\r\n const messages = validate(patientForm.form, patientForm.validator);\r\n if(!patientForm.form.insurancePlan) {\r\n patientForm.form.insurancePlanId = -1;\r\n processData.selectedInsurancePlanId = -1;\r\n } else {\r\n patientForm.form.insurancePlanId = patientForm.insurancePlans.find(x => x.text == patientForm.form.insurancePlan)?.value;\r\n processData.selectedInsurancePlanId = patientForm.insurancePlans.find(x => x.text == patientForm.form.insurancePlan)?.value;\r\n }\r\n if(!/Male|Female|Decline to answer/g.test(patientForm.form.gender)) {\r\n messages.push('Please select a Gender')\r\n } else {\r\n patientForm.form.gender = patientForm.genderList.find(x => x.text == patientForm.form.gender)?.value;\r\n }\r\n if(processData.selectedInsuranceCarrier == undefined) {\r\n messages.push('Please select a valid Insurance Carrier')\r\n }\r\n if(patientForm.form.insurancePlanId == undefined) {\r\n messages.push('Please select a valid Insurance Plan')\r\n }\r\n //separate check date function\r\n let parsedDate = parse(`${patientForm.form.birthDate}`,'MM/dd/yyyy',new Date());\r\n if(patientForm.form.birthDate.length > 0 && isNaN(parsedDate.getTime()) || patientForm.form.birthDate.length != 10 ) {\r\n messages.push(\"Invalid Date\"); \r\n }\r\n if(messages.length > 0){\r\n patientForm.missingFields = messages[0];\r\n clearErrorMessages();\r\n showErrorMessages(patientForm.missingFields);\r\n } else {\r\n try {\r\n processData.patientName = `${patientForm.form.firstName.trim()} ${patientForm.form.middleName.trim()} ${patientForm.form.lastName.trim()}`;\r\n processData.selectedInsurancePlanName = patientForm.form.insurancePlan;\r\n processData.currentStage++;\r\n sessionStorage.setItem('form', JSON.stringify(patientForm.form));\r\n } catch(ex) {\r\n patientForm.missingFields = `We're sorry! Something went wrong saving your information. Make sure all the fields are correctly filled out.`\r\n patientForm.errors.general = true;\r\n }\r\n }\r\n \r\n globalStore.state.isLoading = false;\r\n }\r\n const previousStage = () => {\r\n processData.currentStage--\r\n }\r\n const goToSchedule = () => {\r\n processData.currentStage = EnumStages[entryPoint.location].pickSchedule;\r\n }\r\n const goToLocation = () => {\r\n if (entryPoint.location !== 'lab') {\r\n processData.currentStage = EnumStages[entryPoint.location].setLocation;\r\n }\r\n }\r\n\r\n const cancel = () => {\r\n if (!globalStore.state.isIframe) {\r\n processData.showModal = false;\r\n }\r\n }\r\n \r\n const isValid = computed(() => {\r\n if (patientForm.form.firstName.length > 0 &&\r\n patientForm.form.lastName.length > 0 &&\r\n patientForm.form.birthDate.length > 0 &&\r\n patientForm.form.email.length > 0 &&\r\n patientForm.form.phoneNumber.length > 0 &&\r\n patientForm.form.zipCode.length > 0 &&\r\n (patientForm.form.insuranceCarrier.length > 0 ? (patientForm.form.insuranceCarrier === `I'm Paying Myself` ? true : patientForm.form.insurancePlan.length > 0) : false) &&\r\n patientForm.form.gender.length > 0 \r\n ){\r\n return true\r\n } else {\r\n return false\r\n }\r\n })\r\n return {\r\n savePatientInfo,\r\n format,\r\n ...toRefs(processData),\r\n ...toRefs(mobileData),\r\n ...toRefs(patientForm),\r\n ...toRefs(appointmentData),\r\n allowVirtualVisits,\r\n isVirtualVisit,\r\n goToLocation,\r\n goToSchedule,\r\n showErrorMessages,\r\n firstNameInput,\r\n isLoading,\r\n isValid,\r\n getCarrierPlans,\r\n handlePhoneNumber,\r\n handleBirthDate,\r\n numbersOnly,\r\n phone,\r\n previousStage,\r\n mobileData,\r\n globalStore,\r\n DialogStage,\r\n cancel,\r\n EnumStages,\r\n entryPoint,\r\n };\r\n }\r\n})\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Information.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Information.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Information.vue?vue&type=template&id=22c39368&scoped=true&\"\nimport script from \"./Information.vue?vue&type=script&lang=ts&\"\nexport * from \"./Information.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Information.vue?vue&type=style&index=0&id=22c39368&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"22c39368\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-cont zx-flex\",class:{'zx-w-full': _vm.mobileData.isMobile}},[(!_vm.isLoading)?_c('div',{staticClass:\"zy-location-date-cont\",staticStyle:{\"height\":\"100%\"},attrs:{\"role\":\"main\",\"aria-label\":\"schedule\",\"id\":\"zy-schedule-selection-container\"}},[(_vm.entryPoint.location === 'lab')?_c('lab-heading'):_c('doctor-heading'),_c('div',{staticClass:\"address-section\",attrs:{\"role\":\"main\",\"aria-label\":\"summary\"}},[(_vm.isVirtualVisit)?_c('div',{staticClass:\"address-virtual-visit-icon\"},[_c('svg',{staticClass:\"virtual-visit-icon\",attrs:{\"width\":\"20\",\"height\":\"14\",\"viewBox\":\"0 0 20 14\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M11.6736 0H1.65972C0.743056 0 0 0.743056 0 1.65972V11.6736C0 12.5903 0.743056 13.3333 1.65972 13.3333H11.6736C12.5903 13.3333 13.3333 12.5903 13.3333 11.6736V1.65972C13.3333 0.743056 12.5903 0 11.6736 0ZM18.25 1.30903L14.4444 3.93403V9.39931L18.25 12.0208C18.9861 12.5278 20 12.0104 20 11.125V2.20486C20 1.32292 18.9896 0.802083 18.25 1.30903Z\",\"fill\":\"#758592\"}})])]):_c('div',{staticClass:\"address-pin-icon\"},[_c('i',{staticClass:\"icon-location_pin zx-text-xl zx-mr-1 sm:zx-p-0 sm:zx-m-0 sm:zx-mr-1\"})]),_c('div',{staticClass:\"address-container\"},[(_vm.selectedLocation && _vm.entryPoint.location !== 'lab')?_c('span',{staticClass:\"zx-font-semibold address-header\",attrs:{\"id\":\"zy-summary-location-name\",\"aria-label\":_vm.selectedLocation.name}},[_vm._v(_vm._s(_vm.isVirtualVisit? 'Virtual Video Visit': _vm.selectedLocation.name))]):_vm._e(),(_vm.selectedLocation && _vm.selectedLocation.address && !_vm.mobileData.isMobile)?_c('span',{staticClass:\"zy-address-header-small zx-text-sm sm:zx-text-lg zx-mb-0 zx-pt-1 sm:zx-pt-0 zx-font-normal address-extra\"},[_vm._v(\" \"+_vm._s(_vm.selectedLocation.address.streetAddress.concat( [_vm.selectedLocation.address.city], [((_vm.selectedLocation.address.state.abbreviation||'') + \" \" + (_vm.selectedLocation.address.postalCode||''))] ).filter(function (x) { return !!x && x !== ' '; }).join(', '))+\" \"),((_vm.entryPoint.location !== 'lab' && (_vm.locationSchedules.departments.filter(function (x) { return !x.disabled; }).length > 1 || _vm.allowVirtualVisits)))?_c('span',{staticClass:\"change-location\"},[_vm._v(\" (\"),_c('span',{staticClass:\"primary--text zy-clickable change-location\",attrs:{\"aria-label\":\"change location\"},on:{\"click\":_vm.previousStage}},[_vm._v(\"change location\")]),_vm._v(\") \")]):_vm._e()]):_vm._e(),(_vm.selectedLocation && _vm.selectedLocation.address && _vm.mobileData.isMobile)?_c('address',{staticClass:\"zy-address-header-small zx-text-sm sm:zx-text-lg zx-mb-0 zx-font-normal address-extra\"},[_vm._v(\" \"+_vm._s(_vm.selectedLocation.address.streetAddress.concat( [_vm.selectedLocation.address.city], [((_vm.selectedLocation.address.state.abbreviation||'') + \" \" + (_vm.selectedLocation.address.postalCode||''))] ).filter(function (x) { return !!x && x !== ' '; }).join(', '))+\" \"),((_vm.entryPoint.location !== 'lab' && (_vm.locationSchedules.departments.filter(function (x) { return !x.disabled; }).length > 1 || _vm.allowVirtualVisits)))?_c('span',{staticClass:\"change-location\"},[_vm._v(\" (\"),_c('span',{staticClass:\"primary--text zy-clickable change-location\",attrs:{\"aria-label\":\"change location\"},on:{\"click\":_vm.previousStage}},[_vm._v(\"change location\")]),_vm._v(\") \")]):_vm._e()]):_vm._e()])]),((_vm.entryPoint.location !== 'lab' && _vm.getStaticLocationImage() != '' && !_vm.isVirtualVisit))?_c('img',{staticClass:\"zx-px-3 zx-pt-3 w-100\",class:{'d-none': !_vm.mobileData.isMobile},attrs:{\"src\":_vm.getStaticLocationImage()}}):_vm._e(),(_vm.entryPoint.location !== 'lab' && _vm.mobileData.isMobile)?_c('span',{staticClass:\"zx-text-lg schedule-selection-title mobile\",attrs:{\"id\":\"zy-schedule-selection-title\"}},[_vm._v(\"Choose a date and time\")]):_vm._e(),(_vm.noAppointments)?_c('div',{staticClass:\"zy-no-appts-cont zx-flex zx-justify-center zx-items-center zx-font-bold zx-text-3xl zy-gray-urls zx-opacity-70\",class:{'zy-expanded': _vm.sitecoreLocation&&_vm.sitecoreLocation.directions == null}},[_vm._v(\"No appointments available for this location\")]):_vm._e(),(!_vm.noAppointments)?_c('div',{staticClass:\"zy-location-section zy-date-selection zy-form-container\",class:{'zx-w-full': _vm.mobileData.isMobile}},[(_vm.entryPoint.location === 'clinic')?_c('div',{staticClass:\"zx-flex zx-justify-between datepicker-title\"},[_c('div',[(_vm.allDaySlots.length > 0 && !_vm.mobileData.isMobile)?_c('span',{staticClass:\"zx-text-xl zx-font-semibold schedule-selection-title\",attrs:{\"id\":\"zy-schedule-selection-title\"}},[_vm._v(\"Choose a date and time\")]):_vm._e()]),_c('div',{staticClass:\"zx-flex virtual-video-header-container\",attrs:{\"id\":\"zy-location-entry-virtual-visit-tabs\"}},[_c('button',{staticClass:\"virtual-video-header-label\",class:{ enabled: _vm.inPersonEnabled },attrs:{\"id\":\"zy-location-tabs-in-person-choice\",\"aria-label\":\"In-Person Appointments\"},on:{\"click\":function($event){return _vm.switchInPersonVirtualVideoTab('in-person')}}},[_vm._v(\" In-Person \")]),_c('button',{staticClass:\"virtual-video-header-label\",class:{ enabled: _vm.virtualVideoEnabled },attrs:{\"id\":\"zy-location-tabs-virtual-video-choice\",\"aria-label\":\"Virtual Video Visit Appointments\"},on:{\"click\":function($event){return _vm.switchInPersonVirtualVideoTab('virtual video')}}},[_vm._v(\" Virtual Video \")])])]):_vm._e(),(!_vm.loadingAppts)?_c('div',{staticClass:\"date-grid zx-flex zx-h-full zx-flex-wrap sm:zx-items-stretch zx-items-center md:zx-grid md:zx-grid-cols-2 sm:zx-pl-2\",class:{'zx-justify-center': _vm.mobileData.isMobile},attrs:{\"id\":\"zy-schedule-selection-grid\"}},[(!_vm.mobileData.isMobile)?_c('div',{staticClass:\"date-grid__calendar md:zx-w-10/12 zx-w-full zx-mb-8 zx-ml-auto zx-mr-auto\",attrs:{\"id\":\"zy-schedule-selection-grid-calendar\"}},[_c('date-picker',{attrs:{\"dateSelectedEvent\":_vm.loadWeekSchedule,\"loadMonthEvent\":_vm.loadCurrentMonth,\"_navDate\":_vm.currentDate,\"selectedDateCallback\":_vm.selectedDateCallback}})],1):_vm._e(),(_vm.mobileData.isMobile)?_c('hr',{staticClass:\"zx-mb-6 zx-w-full sm:zx-w-11/12 divider mobile\"}):_vm._e(),(_vm.mobileData.isMobile)?_c('div',{staticClass:\"zx-px-2 zx-flex zx-justify-between zx-relative zx-w-full\"},[_c('button',{staticClass:\"zx-bg-transparent zx-border-none zx-text-3xl zx-font-extralight icon-chevron_left\",style:({'color': _vm.mobileDecreaseColor}),on:{\"click\":function($event){return _vm.decreaseSelectedDay()}}}),_c('div',{staticClass:\"zx-rounded-full zx-px-2 zx-border-primary-default zx-text-primary-default zx-border-2 zx-border-solid\"},[_c('img',{staticClass:\"zx-self-center zx-ml-auto zx-pr-1.5 mobile-calender\",attrs:{\"src\":(_vm.baseUrl + \"/img/calendar-black.svg\")},on:{\"click\":function($event){return _vm.toggleMobileCalendar()}}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.currentDateInput),expression:\"currentDateInput\"}],staticClass:\"zx-ml-1 border-0 zx-w-28\",domProps:{\"value\":(_vm.currentDateInput)},on:{\"change\":function($event){return _vm.onMobileCalendarDateChange()},\"input\":function($event){if($event.target.composing){ return; }_vm.currentDateInput=$event.target.value}}})]),_c('button',{staticClass:\"zx-bg-transparent zx-border-none zx-text-3xl zx-font-extralight icon-chevron_right\",on:{\"click\":function($event){return _vm.increaseSelectedDay()}}}),(_vm.mobileCalendarDisplay)?_c('div',{staticClass:\"mobile-calendar zx-absolute zx-bg-white border border-solid border-[#ECF0F4] rounded zx-z-10 zx-mt-8 zx-w-3/4 zx-mr-3\"},[_c('date-picker',{attrs:{\"dateSelectedEvent\":_vm.onMobileCalendarDateSelect,\"loadMonthEvent\":_vm.onMobileCalendarMonthSelect,\"_navDate\":_vm.currentDate,\"selectedDateCallback\":_vm.currentDateCallback}})],1):_vm._e()]):_vm._e(),(!_vm.mobileData.isMobile)?_c('div',{staticClass:\"date-grid__text zx-w-full\",class:{'zx-flex zx-flex-col zx-justify-center zx-items-center':_vm.futureDaySlots.length == 0}},[(_vm.allDaySlots.length !== 0 && _vm.futureDaySlots.length > 0)?_c('div',{staticClass:\"date-grid__times zx-mt-2 zx-mr-2\"},_vm._l((_vm.futureDaySlots),function(daySlot){return _c('div',{key:_vm.random(),attrs:{\"id\":daySlot.date.toString()}},[(daySlot.slots.length > 0)?_c('span',{staticClass:\"zx-font-semibold zx-text-lg\"},[_vm._v(_vm._s(_vm.format(_vm.parseISO(daySlot.date),\"iiii, MMMM do\")))]):_vm._e(),(daySlot.slots.length > 0)?_c('div',{staticClass:\"zy-timeslots-container zx-mt-3 zx-mb-3 zx-flex zx-flex-wrap\"},_vm._l((daySlot.slots),function(timeslot){return _c('button',{key:_vm.random(),staticClass:\"btn zx-relative zx-mr-4 zx-mb-4 zx-font-medium zx-opacity-60\",class:{'btn-enabled': !timeslot.isDisabled, 'active': timeslot.isActive},attrs:{\"data-attr-id\":\"select-time-slot-button\",\"disabled\":timeslot.isDisabled},on:{\"click\":function($event){return _vm.selectTime(timeslot, daySlot)}}},[_vm._v(\" \"+_vm._s(timeslot.hourText)+\" \")])}),0):_vm._e()])}),0):_c('span',{staticClass:\"zx-font-semibold zx-text-xl\"},[_vm._v(\"No time slots available for this month\")])]):_vm._e(),(_vm.mobileData.isMobile && _vm.allDaySlots.length > 0)?_c('div',{staticClass:\"zx-items-center\",class:{'zx-pb-10': _vm.mobileData.isMobile}},[_c('div',{staticClass:\"outer zx-px-0\"},_vm._l((_vm.allDaySlots),function(daySlot){return _c('div',{key:_vm.random(),staticClass:\"inner-content\",attrs:{\"id\":daySlot.date.toString()}},[(daySlot.slots.length > 0)?_c('span',{staticClass:\"zx-font-semibold zx-text-lg zx-opacity-60\"},[_vm._v(_vm._s(_vm.formatDateText(daySlot.date)))]):_vm._e(),_c('br'),(daySlot.slots.length > 0)?_c('span',{staticClass:\"zx-font-semibold zx-text-lg zx-opacity-60\"},[_vm._v(_vm._s(_vm.format(_vm.parseISO(daySlot.date),\"MMM do\")))]):_vm._e(),(daySlot.slots.length > 0)?_c('div',{staticClass:\"zx-mt-3\"},_vm._l((daySlot.slots),function(timeslot){return _c('button',{key:_vm.random(),staticClass:\"btn zy-scrollable-times zx-relative zx-mr-4 zx-font-medium\",class:{'btn-enabled': !timeslot.isDisabled, 'active': timeslot.isActive},attrs:{\"disabled\":timeslot.isDisabled},on:{\"click\":function($event){return _vm.selectTime(timeslot, daySlot)}}},[_vm._v(\" \"+_vm._s(timeslot.hourText)+\" \")])}),0):_vm._e()])}),0),_c('p',{staticClass:\"sm:zx-w-1/3 virtual-visit-cta\",attrs:{\"id\":\"zy-schedule-helper-text\"}},[_vm._v(\"Please call us at \"),(_vm.entryPoint.location === 'clinic')?_c('a',{attrs:{\"href\":\"selectedLocation.phones[0].number\"}},[_vm._v(_vm._s(_vm.selectedLocation.phones[0].number))]):_c('a',{attrs:{\"href\":(\"tel:\" + (_vm.stripPhoneNumber(_vm.phone)))}},[_vm._v(_vm._s(_vm.phone))]),_vm._v(\", if you don’t see the appointment availability you are looking for. \")])]):_vm._e(),(_vm.mobileData.isMobile && _vm.allDaySlots.length === 0)?_c('div',{staticClass:\"zx-items-center\",class:{'zx-pb-10': _vm.mobileData.isMobile},attrs:{\"id\":\"zy-schedule-selection-no-times-container\"}},[_vm._m(0),_c('p',{staticClass:\"sm:zx-w-1/3 virtual-visit-cta\",attrs:{\"id\":\"zy-schedule-helper-text\"}},[_vm._v(\"Please call us at \"),(_vm.entryPoint.location === 'clinic')?_c('a',{attrs:{\"href\":\"selectedLocation.phones[0].number\"}},[_vm._v(_vm._s(_vm.selectedLocation.phones[0].number))]):_c('a',{attrs:{\"href\":(\"tel:\" + (_vm.stripPhoneNumber(_vm.phone)))}},[_vm._v(_vm._s(_vm.phone))]),_vm._v(\", if you don’t see the appointment availability you are looking for. \")])]):_vm._e()]):_vm._e(),(_vm.loadingAppts)?_c('loading'):_vm._e()],1):_vm._e(),_c('div',{staticClass:\"zx-w-full zx-justify-self-end zx-flex zx-justify-end zx-pt-4\",attrs:{\"id\":\"zy-next-step-button-container\"}},[_c('div',{staticClass:\"zy-schedule-helper-text\",attrs:{\"id\":\"zy-schedule-helper-text\"}},[_vm._v(\" Please call us at \"),_c('a',{staticClass:\"zy-schedule-helper-text-mobile-number\",attrs:{\"data-id\":\"phone-link\",\"href\":(\"tel:\" + (_vm.stripPhoneNumber(_vm.phone)))}},[_vm._v(_vm._s(_vm.phone))]),_vm._v(\", if you don’t see the appointment availability you are looking for. \")]),_c('div',{staticClass:\"zx-flex zx-flex-col zx-w-full zx-items-center sm:zx-w-1/2 sm:zx-items-end sm:zx-justify-end sm:zx-flex-row zy-mobile-footer-fixed\"},[(_vm.showBackButton)?_c('button',{staticClass:\"btn btn-no-background zx-underline zx-mr-2\",attrs:{\"id\":\"zy-previous-step-button\",\"data-attr-id\":\"back-step-button\",\"aria-label\":\"previous step button\"},on:{\"click\":_vm.previousStage}},[_c('i',{staticClass:\"zx-mr-3\"}),_vm._v(\"Back a step\")]):_vm._e(),(!_vm.isValid)?_c('button',{staticClass:\"btn sm:zx-m-0\",attrs:{\"id\":\"zy-next-step-button\",\"aria-label\":\"next step button\",\"type\":\"submit\",\"disabled\":\"disabled\"}},[_vm._v(\"Next Step\")]):_vm._e(),(_vm.isValid)?_c('button',{staticClass:\"btn sm:zx-m-0\",attrs:{\"id\":\"zy-next-step-button\",\"aria-label\":\"next step button\",\"data-attr-id\":\"next-step-button\"},on:{\"click\":_vm.saveLocationAndDate}},[_vm._v(\"Next Step\")]):_vm._e()])])],1):_vm._e(),(_vm.isLoading)?_c('loading',{attrs:{\"id\":\"zy-loading-component\"}}):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"outer zx-px-0\"},[_c('span',{staticClass:\"zx-font-bold zx-opacity-60 zx-text-xl zx-my-10 zx-py-12\",attrs:{\"id\":\"zy-schedule-selection-no-times\"}},[_vm._v(\"No time slots available for this provider\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zx-datepicker\"},[_c('div',{staticClass:\"zy-datepicker-container md:zx-mr-8\"},[_c('div',{staticClass:\"zy-datepicker-calendar-container\"},[_c('div',{staticClass:\"zy-datepicker-calendar zx-pt-3\"},[_c('div',{staticClass:\"zy-datepicker-controls zx-items-center zx-p-3\",attrs:{\"id\":\"zy-datepicker-title-rg\",\"role\":\"heading\",\"aria-live\":\"assertive\"}},[_c('button',{staticClass:\"month-prev zx-shadow-md\",attrs:{\"aria-label\":\"previous month\",\"disabled\":_vm.previousMonthDisabled,\"type\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.previousMonth.apply(null, arguments)}}},[_c('svg',{attrs:{\"fill\":_vm.previousMonthDisabled ? '#dedede' : '#0077A8',\"height\":\"24\",\"viewBox\":\"0 0 24 24\",\"width\":\"24\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z\"}}),_c('path',{attrs:{\"d\":\"M0-.5h24v24H0z\",\"fill\":\"none\"}})])]),_c('div',{staticClass:\"selects-container zx-flex zx-inline-flex lgg:zx-w-1/3\",attrs:{\"aria-label\":_vm.month + ' ' + _vm.year}},[_c('div',{staticClass:\"select-wrapper zx-w-1/2 zx-text-xl select-month zx-mr-1\",on:{\"click\":function($event){$event.stopPropagation();return _vm.activateMonths.apply(null, arguments)}}},[_c('select-component',{attrs:{\"items\":_vm.curatedMonths,\"model\":_vm.month,\"selectedHandler\":_vm.updateDate,\"defaultValue\":_vm.month.length !== 0? _vm.months.find(function (x) { return x.text == _vm.month; }).value.toString():''},on:{\"update:model\":function($event){_vm.month=$event}}})],1),_c('div',{staticClass:\"select-wrapper zx-w-1/2 zx-text-xl zx-uppercase select-year zx-ml-1\",on:{\"click\":function($event){$event.stopPropagation();return _vm.activateYears.apply(null, arguments)}}},[_c('select-component',{attrs:{\"items\":_vm.years,\"model\":_vm.year,\"selectedHandler\":_vm.updateDate,\"defaultValue\":_vm.year.length !== 0? _vm.years.find(function (x) { return x.text == _vm.year; }).value.toString():''},on:{\"update:model\":function($event){_vm.year=$event}}})],1)]),_c('button',{staticClass:\"month-next zx-shadow-md\",attrs:{\"aria-label\":\"next month\",\"disabled\":_vm.nextMonthDisabled,\"type\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.nextMonth.apply(null, arguments)}}},[_c('svg',{attrs:{\"fill\":_vm.nextMonthDisabled ? '#dedede' : '#0077A8',\"height\":\"24\",\"viewBox\":\"0 0 24 24\",\"width\":\"24\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z\"}}),_c('path',{attrs:{\"d\":\"M0-.25h24v24H0z\",\"fill\":\"none\"}})])])]),_c('div',{staticClass:\"zy-datepicker-table-wrapper zx-pt-2\"},[_c('div',{staticClass:\"zy-datepicker-table zx-grid zx-grid-cols-7\",attrs:{\"role\":\"grid\",\"aria-labelledby\":\"zy-datepicker-title-rg\"}},[_vm._m(0),_vm._m(1),_vm._m(2),_vm._m(3),_vm._m(4),_vm._m(5),_vm._m(6),_vm._l((_vm.gridArr),function(item){return _c('div',{key:item.ndx,staticClass:\"zy-datepicker-item zx-flex zx-justify-center\",class:{'is-empty':!item.available, 'is-selected': _vm.isDaySelected(item)}},[(item.value != 0)?_c('button',{staticClass:\"zy-datepicker-day-button\",attrs:{\"aria-label\":_vm.month + ' ' + item.value,\"disabled\":item.disabled,\"type\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.setDate(item)}}},[_vm._v(_vm._s(item.value))]):_vm._e()])})],2)])]),_c('div',{staticClass:\"zy-datepicker-footer\"})])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-datepicker-item zy-datepicker-header zx-font-semibold\",attrs:{\"scope\":\"col\"}},[_c('span',{attrs:{\"title\":\"Sunday\"}},[_vm._v(\"Su\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-datepicker-item zy-datepicker-header zx-font-semibold\",attrs:{\"scope\":\"col\"}},[_c('span',{attrs:{\"title\":\"Monday\"}},[_vm._v(\"Mo\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-datepicker-item zy-datepicker-header zx-font-semibold\",attrs:{\"scope\":\"col\"}},[_c('span',{attrs:{\"title\":\"Tuesday\"}},[_vm._v(\"Tu\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-datepicker-item zy-datepicker-header zx-font-semibold\",attrs:{\"scope\":\"col\"}},[_c('span',{attrs:{\"title\":\"Wednesday\"}},[_vm._v(\"We\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-datepicker-item zy-datepicker-header zx-font-semibold\",attrs:{\"scope\":\"col\"}},[_c('span',{attrs:{\"title\":\"Thursday\"}},[_vm._v(\"Th\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-datepicker-item zy-datepicker-header zx-font-semibold\",attrs:{\"scope\":\"col\"}},[_c('span',{attrs:{\"title\":\"Friday\"}},[_vm._v(\"Fr\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-datepicker-item zy-datepicker-header zx-font-semibold\",attrs:{\"scope\":\"col\"}},[_c('span',{attrs:{\"title\":\"Saturday\"}},[_vm._v(\"Sa\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-input-input select\",class:{'active':_vm.active}},[_c('div',{staticClass:\"select-wrapper zx-flex zx-inline-flex zx-w-full zx-justify-between zx-px-2 zx-py-2\"},[_c('div',{staticClass:\"select-dropdown dropdown-trigger\"},[_vm._v(_vm._s(_vm.dropdownText))]),_c('select',{staticClass:\"browser-default\",on:{\"blur\":_vm.toggleOpen,\"focus\":_vm.toggleOpen,\"change\":_vm.changeEvent}},[_c('option',{attrs:{\"hidden\":\"\"}},[_vm._v(\"Hidden\")]),_vm._l((_vm.dropdownOptions),function(item){return _c('option',{key:item.value,domProps:{\"value\":item.value}},[_vm._v(_vm._s(item.text))])})],2),_c('img',{staticClass:\"zy-blue-checkbox zx-pt-1 zx-pl-1\",attrs:{\"src\":(_vm.baseUrl + \"/img/select-corner.svg\"),\"alt\":\"Select Option\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { ISelectOption} from '../../store/entities/form-entity';\r\nimport { defineComponent, onMounted, reactive, toRefs, watch } from '@vue/composition-api';\r\nimport { processData } from '../../helpers/process-helper';\r\nlet image = require('@/assets/images/select-corner.svg')\r\n\r\ninterface SelectProps {\r\n label?: string\r\n placeholder?: string\r\n model?: String\r\n items?: ISelectOption[],\r\n defaultValue?: string\r\n selectedHandler?: Function\r\n}\r\n\r\nexport default defineComponent({\r\n props: {\r\n label: String,\r\n placeholder: String,\r\n model: String,\r\n items: Array as () => ISelectOption[],\r\n defaultValue: String,\r\n selectedHandler: Function\r\n },\r\n setup(props:SelectProps,{emit}) {\r\n onMounted(() => {\r\n data.dropdownOptions = props.items ? props.items : [];\r\n setupSingleSelect();\r\n })\r\n\r\n const data = reactive({\r\n dropdownText: '',\r\n active: false,\r\n selections: [] as ISelectOption[],\r\n dropdownOptions: [] as ISelectOption[],\r\n baseUrl: processData.baseUrl\r\n })\r\n\r\n //computed\r\n watch(() => props.defaultValue, () => {\r\n var defaultItem = data.dropdownOptions.find(x => x.value == props.defaultValue)\r\n if(defaultItem)\r\n data.dropdownText = defaultItem.text;\r\n else\r\n data.dropdownText = props.placeholder || \"Select\"\r\n })\r\n watch(() => props.items, (newValue:ISelectOption[] | undefined) => {\r\n data.dropdownOptions = newValue ? newValue : []\r\n })\r\n const setupSingleSelect = () => {\r\n var defaultItem = data.dropdownOptions.find(x => x.value.toString() == props.defaultValue?.toString())\r\n if(defaultItem)\r\n data.dropdownText = defaultItem.text;\r\n else\r\n data.dropdownText = props.placeholder || \"Select\"\r\n }\r\n \r\n const toggleOpen = () : void => {\r\n data.active = !data.active;\r\n }\r\n \r\n const changeEvent = (e:any) => {\r\n let selected = Array.prototype.slice.call(e.target.children).find((x:any) => x.selected == true);\r\n if(selected) {\r\n if(selected.value == -1)\r\n emit(`update:model`, '');\r\n else\r\n emit(`update:model`, selected.text);\r\n }\r\n if(data.dropdownOptions.find(x => x.value == selected.value)){\r\n data.dropdownText = (data.dropdownOptions.find(x => x.value == selected.value) as ISelectOption).text;\r\n }\r\n else {\r\n data.dropdownText = props.placeholder || \"Select\"\r\n }\r\n if(props.selectedHandler) {\r\n props.selectedHandler();\r\n }\r\n data.active = false;\r\n }\r\n\r\n const isSelected = (item:any) => {\r\n return props.defaultValue === item.value;\r\n }\r\n return {\r\n isSelected,\r\n changeEvent,\r\n toggleOpen,\r\n ...toRefs(data),\r\n }\r\n }\r\n})\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Select.vue?vue&type=template&id=795c85d6&\"\nimport script from \"./Select.vue?vue&type=script&lang=ts&\"\nexport * from \"./Select.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Select.vue?vue&type=style&index=0&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { add, getDaysInMonth, endOfMonth, format, getDate, getDay, startOfMonth } from 'date-fns';\r\nimport { getTimeSlotsByDate } from './appointment-helper';\r\n\r\nexport const FormatDate = (date:string) => {\r\n return format(new Date(date),'MMM Do, yyyy');\r\n}\r\n\r\nexport const SecondsToHours = (seconds:number) => {\r\n const hours = Math.floor(seconds / 3600);\r\n const minutes = Math.floor((seconds % 3600) / 60);\r\n return `${ToTwoDecimalPlaces(hours)}:${ToTwoDecimalPlaces(minutes)}`;\r\n}\r\n\r\nfunction ToTwoDecimalPlaces(number:number){\r\n return number > 9 ? number : ('0' + number)\r\n}\r\n\r\nexport const IsTodaysDate = (dateToCompare:string) => {\r\n const dateObj = new Date(dateToCompare)\r\n return IsDate(dateObj) ? dateObj.setHours(0,0,0,0) === new Date().setHours(0,0,0,0) : false;\r\n}\r\nexport const IsBeforeTodaysDate = (dateToCompare:string) => {\r\n if(!dateToCompare) return false;\r\n const dateObj = new Date(dateToCompare)\r\n return IsDate(dateObj) ? dateObj.getMilliseconds() < new Date().setHours(0,0,0,0) : false;\r\n}\r\n\r\nexport const SetDateWithTimezone = (dateString:string) => {\r\n let dateObj = new Date(dateString);\r\n if(IsDate(dateObj)) {\r\n dateObj.setMinutes(dateObj.getTimezoneOffset());\r\n return dateObj; \r\n }\r\n return null;\r\n}\r\nexport const weekOfMonth = (input = new Date()) => {\r\n return Math.ceil(getDate(input) / 7);\r\n}\r\n\r\nexport class DateItem {\r\n ndx: number = 0\r\n value: number = 0\r\n date: Date | undefined = undefined\r\n available: boolean = false\r\n disabled: boolean = false\r\n}\r\n//creates the monthly grid\r\n//start date range specifies that if a date is before than the start, then it is not selectable\r\n//end date range specifies that if a date is after the end date, then it is not selectable\r\nexport const createGrid = (navDate:Date, startDateRange?:Date, endDateRange?: Date) : DateItem[] => {\r\n let gridArr = [];\r\n const firstDayDate = startOfMonth(navDate);\r\n const initialEmptyCells = getDay(firstDayDate);\r\n const lastDayDate = endOfMonth(navDate);\r\n const lastEmptyCells = 6 - getDay(lastDayDate);\r\n const daysInMonth = getDaysInMonth(navDate);\r\n const arrayLength = initialEmptyCells + lastEmptyCells + daysInMonth;\r\n gridArr = new Array(arrayLength).fill(null).map((x:any, ndx:number) => {\r\n if(ndx < initialEmptyCells || ndx > initialEmptyCells + daysInMonth -1) {\r\n const date = add(firstDayDate, {days:ndx - initialEmptyCells})\r\n return {\r\n ndx: ndx,\r\n value:getDate(date),\r\n date,\r\n available: false, \r\n disabled: true\r\n } as DateItem\r\n } \r\n else {\r\n const date = add(firstDayDate, {days:ndx - initialEmptyCells})\r\n return {\r\n ndx: ndx,\r\n date,\r\n value: ndx - initialEmptyCells + 1,\r\n available: true,\r\n disabled: isDisabled(date,startDateRange, endDateRange)\r\n }\r\n }\r\n });\r\n return gridArr;\r\n}\r\n\r\nconst isDisabled = (navDate:Date, startDateRange?:Date, endDateRange?: Date) => {\r\n if(!startDateRange || !endDateRange)\r\n return false;\r\n return getTimeSlotsByDate(navDate).length == 0 ||\r\n navDate < startDateRange || navDate > endDateRange\r\n}\r\n\r\nexport const IsDate = (dateToTest: any) => {\r\n return Object.prototype.toString.call(dateToTest) === '[object Date]';\r\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport SelectComponent from '../Forms/Select.vue';\r\nimport AutoCompleteComponent from './Autocomplete.vue';\r\nimport { defineComponent, ref, nextTick, onMounted, reactive, watch, toRefs, computed, SetupContext } from '@vue/composition-api';\r\nimport {addMonths, format, set, getDate, getMonth, getYear, parse, toDate, parseISO, add, getDay, getDaysInMonth, setWeek, isSameDay} from 'date-fns'\r\nimport { modalStore } from '../../store/modules/modal-store';\r\nimport { createGrid, DateItem } from '../../helpers/datepicker-helper';\r\nimport { ISelectOption } from '../../store/entities/form-entity';\r\nimport { mobileData } from '../../helpers/mobile-helper';\r\n\r\ninterface DatePickerProps { \r\n label?: string\r\n placeholder?: string\r\n field: string\r\n model: any\r\n required?: boolean\r\n defaultValue?: string\r\n dateSelectedEvent?: Function,\r\n loadMonthEvent?: Function,\r\n _navDate?: Date,\r\n selectedDateCallback?: Date\r\n}\r\n\r\nexport default defineComponent({\r\n components: { SelectComponent\r\n },\r\n props: {\r\n label: String,\r\n placeholder: String,\r\n field: Object,\r\n model: Object,\r\n required:Boolean,\r\n defaultValue:String,\r\n dateSelectedEvent: Function,\r\n loadMonthEvent: Function,\r\n _navDate: Date,\r\n selectedDateCallback: Date\r\n },\r\n setup(props:DatePickerProps, context: SetupContext) { \r\n onMounted(() => {\r\n data.datepickerModel = '';\r\n if (props._navDate) {\r\n data.navDate = props._navDate\r\n }\r\n data.gridArr = createGrid(data.navDate, startDate.value, endDate.value);\r\n \r\n if ((data.gridArr.find(x => x.disabled == false && x.date != undefined) != undefined) && (!mobileData.isMobile)){\r\n data.navDate = data.gridArr.find(x => x.disabled == false && x.date != undefined).date;\r\n }\r\n updateMomentFields();\r\n })\r\n const data = reactive({\r\n datepickerModel: '',\r\n activeIndex: -1,\r\n isFocused: false,\r\n gridArr: [] as Array,\r\n navDate: new Date(),\r\n year: '',\r\n date: '',\r\n month: '',\r\n showMonths: false,\r\n fieldEntity:undefined as any,\r\n showYears: false,\r\n months: [{value:0, text:'Jan',deactive: false}, {value:1, text:'Feb',deactive: false}, {value:2, text:'Mar',deactive: false}, {value:3, text:'Apr',deactive: false}, {value:4, text:'May',deactive: false}, {value:5, text:'Jun',deactive: false}, {value:6, text:'Jul',deactive: false}, {value:7, text:'Aug',deactive: false}, {value:8, text:'Sep',deactive: false}, {value:9, text:'Oct',deactive: false}, {value:10, text:'Nov',deactive: false}, {value:11, text:'Dec',deactive: false}],\r\n years: [{value:getYear(new Date()), text:getYear(new Date()).toString(),deactive: false}, {value:getYear(add(new Date(),{years:1})), text:getYear(add(new Date(),{years:1})).toString(),deactive: false}, {value:getYear(add(new Date(),{years:2})), text:getYear(add(new Date(),{years:2})).toString(),deactive: false}, {value:getYear(add(new Date(),{years:3})), text:getYear(add(new Date(),{years:3})).toString(),deactive: false}, {value:getYear(add(new Date(),{years:4})), text:getYear(add(new Date(),{years:4})).toString(),deactive: false}],\r\n })\r\n watch(() => props.selectedDateCallback, (newValue, oldValue) => {\r\n if (newValue !== oldValue) {\r\n const oldDate = data.navDate\r\n data.navDate = props.selectedDateCallback;\r\n updateDateSelection(oldDate, data.navDate);\r\n }\r\n })\r\n\r\n const updateDateSelection = (newValue, oldValue) => {\r\n if(format(oldValue, 'yyyy') !== format(newValue, 'yyyy') || format(oldValue, 'MMM') !== format(newValue, 'MMM')) {\r\n data.gridArr = createGrid(data.navDate, startDate.value, endDate.value); \r\n };\r\n\r\n data.year = format(data.navDate, 'yyyy');\r\n data.date = format(data.navDate,'MMM do');\r\n data.month = format(data.navDate, 'MMM'); \r\n }\r\n\r\n const monthOption = computed(() => {\r\n return data.months.find(x => x.text == data.month) as ISelectOption;\r\n })\r\n const yearOption = computed(() => {\r\n return data.years.find(x => x.text == data.year) as ISelectOption;\r\n })\r\n const startDate = computed(() => {\r\n return add(new Date(), {days: -1});\r\n })\r\n const endDate = computed(() => {\r\n return add(new Date(), {years: 5});\r\n })\r\n const previousMonthDisabled = computed(() => {\r\n return set(data.navDate, {date: 1}) <= startDate.value;\r\n })\r\n const nextMonthDisabled = computed(() => {\r\n return set(data.navDate, {date: 31}) >= endDate.value;\r\n })\r\n const showDropDown = () : boolean => {\r\n return true\r\n }\r\n const showCalendar = () : boolean => {\r\n return !data.showYears && !data.showMonths\r\n }\r\n const cancel = () => {\r\n modalStore.state.datepicker = false;\r\n }\r\n const activateMonths = () => {\r\n data.showYears = false;\r\n data.showMonths = true;\r\n }\r\n const activateYears = () => {\r\n data.showYears = true;\r\n data.showMonths = false;\r\n }\r\n const selectMonth = () => {\r\n data.showYears = true;\r\n data.showMonths = false;\r\n }\r\n const updateDate = () => {\r\n // set new date\r\n var today = new Date();\r\n // do some validation --> make sure that the date is not before today and that its is not beyond 3 years?\r\n if ((monthOption.value.value < getMonth(today) && yearOption.value.value == getYear(today) || yearOption.value.value < getYear(today))){\r\n data.navDate = set(data.navDate, {date:getDate(today),month:monthOption.value.value,year:yearOption.value.value});\r\n return;\r\n }\r\n if (monthOption.value.value == getMonth(today) && yearOption.value.value == getYear(today)){\r\n data.navDate = set(data.navDate, {date:getDate(today),month:monthOption.value.value,year:yearOption.value.value});\r\n } else {data.navDate = set(data.navDate, {date:1,month:monthOption.value.value,year:yearOption.value.value});}\r\n \r\n setWeekActive(true);\r\n updateMomentFields();\r\n }\r\n const nextMonth = () => {\r\n var newDate = addMonths(data.navDate,1)\r\n // set new month\r\n data.month = data.months.find(x => x.value == getMonth(newDate)).text;\r\n // and year\r\n data.year = data.years.find(x => x.value == getYear(newDate)).text;\r\n // call update Date\r\n updateDate()\r\n }\r\n const previousMonth = () => {\r\n var newDate = addMonths(data.navDate,-1);\r\n var today = new Date()\r\n if (newDate < today) {\r\n newDate = today\r\n }\r\n // set new month\r\n data.month = data.months.find(x => x.value == getMonth(newDate)).text;\r\n // and year\r\n data.year = data.years.find(x => x.value == getYear(newDate)).text;\r\n updateDate()\r\n }\r\n const setDate = (item:DateItem) => {\r\n let date = item.value;\r\n data.navDate = set(data.navDate,{date:date});\r\n setWeekActive();\r\n }\r\n //this function is primarily only for well star\r\n const setWeekActive = async (forceRefresh:boolean = false) => {\r\n if (props.dateSelectedEvent) {\r\n const day = getDay(data.navDate);\r\n const dateStart = add(data.navDate, {\r\n days: -1*day\r\n });\r\n const dateEnd = add(data.navDate, {\r\n days: 6-day\r\n });\r\n\r\n //Moved createGrid before await methods to fix race condition for mobile month selection\r\n data.gridArr = createGrid(data.navDate, startDate.value, endDate.value);\r\n\r\n if (forceRefresh) {\r\n await props.loadMonthEvent(new Date(data.navDate))\r\n } else {\r\n await props.dateSelectedEvent(dateStart, dateEnd,data.navDate);\r\n }\r\n }\r\n }\r\n //for wellstar, when clicking on a date, we want the whole week to activate\r\n const isDayActive = (num:number) => {\r\n if(num == 0) return false;\r\n let day = getDay(data.navDate);\r\n let date = getDate(data.navDate);\r\n return ((date - day) <= num) && ((date + 6 - day) >= num);\r\n }\r\n const isDaySelected = (day:DateItem) => {\r\n return isSameDay(day.date, data.navDate);\r\n }\r\n const setMonth = (num:number) => {\r\n set(data.navDate,{month:num});\r\n data.showMonths = false;\r\n data.gridArr = createGrid(data.navDate, startDate.value, endDate.value);\r\n updateMomentFields();\r\n }\r\n const isMonthActive = (num:number) => {\r\n return getMonth(data.navDate) == num;\r\n }\r\n const setYear = (num:number) => {\r\n set(data.navDate,{year:num});\r\n data.showYears = false;\r\n data.gridArr = createGrid(data.navDate, startDate.value, endDate.value);\r\n updateMomentFields(); \r\n }\r\n const isYearActive = (num:number) => {\r\n return getYear(data.navDate) == num;\r\n }\r\n const updateMomentFields = () => { \r\n if ((data.gridArr.find(x => x.disabled == false && x.date != undefined) != undefined) && (!mobileData.isMobile)) {\r\n data.navDate = data.gridArr.find(x => x.disabled == false && x.date != undefined).date;\r\n }\r\n if (data.navDate) {\r\n data.year = format(data.navDate, 'yyyy');\r\n data.date = format(data.navDate,'MMM do');\r\n data.month = format(data.navDate, 'MMM'); \r\n }\r\n }\r\n const showDatepicker = () => {\r\n modalStore.state.datepicker = true;\r\n }\r\n const curatedMonths = computed(() => {\r\n let start = 0\r\n if (getYear(new Date()).toString() == data.year){\r\n for(let i = 0; i < data.months.length; i++){\r\n if (data.months[i].value == getMonth(new Date())){\r\n start = i;\r\n break\r\n }\r\n }\r\n }\r\n return data.months.slice(start,data.months.length)\r\n })\r\n return {...toRefs(data), format, showDropDown,showCalendar, previousMonthDisabled, nextMonthDisabled, showDatepicker,curatedMonths, updateMomentFields, isYearActive, setYear, isMonthActive, setMonth,updateDate, isDaySelected,isSameDay, isDayActive,setDate,selectMonth,previousMonth,nextMonth,activateMonths,activateYears,cancel }\r\n },\r\n})\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DatePicker.vue?vue&type=template&id=2388bd16&scoped=true&\"\nimport script from \"./DatePicker.vue?vue&type=script&lang=ts&\"\nexport * from \"./DatePicker.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DatePicker.vue?vue&type=style&index=0&id=2388bd16&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2388bd16\",\n null\n \n)\n\nexport default component.exports","import { BaseService } from './base-service';\r\nimport { LocationDto, LocationSchedule } from '../store/entities/location-dto';\r\nimport { apiService } from './api';\r\n\r\n\r\nexport class LocationsService extends BaseService {\r\n constructor() { \r\n super('providers/schedules');\r\n }\r\n\r\n async getLocationsAndSchedulesForProvider(providerId:string, startDate:string, endDate:string, visitTypeId:string) : Promise {\r\n const url = visitTypeId !== ''\r\n ? `${this.apiName}?${this.objectToQueryString({providerId,startDate,endDate,visitTypeId})}`\r\n : `${this.apiName}?${this.objectToQueryString({providerId,startDate,endDate})}`;\r\n let response = await apiService.get(url);\r\n if(response.status === 200 || response.status === 201) {\r\n return response.data as LocationSchedule;\r\n }\r\n return undefined;\r\n }\r\n}\r\n\r\nconst locationService = new LocationsService();\r\nexport default locationService; ","import { PhysicianDetailModel } from \"@/store/entities/provider-dto\";\r\n\r\nconst getPhysicianFullname = (physician:PhysicianDetailModel) => {\r\n let name = physician.firstName + ' ' + physician.lastName;\r\n if (Array.isArray(physician.profession) && physician.profession.length > 0) {\r\n name += ', ' + physician.profession[0];\r\n }\r\n return name;\r\n};\r\n\r\nexport { getPhysicianFullname };\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"_horizontal-scroll\"},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\ninterface HorizontalScrollProps { \r\n startPosition: Number\r\n}\r\n\r\nexport default {\r\n props: {\r\n startPosition: Number\r\n },\r\n mounted() {\r\n const content = this.$el;\r\n content.scrollLeft = this.startPosition - 100;\r\n //Firefox\r\n if(content.addEventListener){\r\n content.addEventListener('DOMMouseScroll', function(e){\r\n content.scrollBy(-e.wheelDelta, 0);\r\n }, false);\r\n }\r\n //IE\r\n if(content.attachEvent){\r\n content.attachEvent('onmousewheel', function(e){\r\n content.scrollBy(-e.wheelDelta, 0);\r\n });\r\n }\r\n //Chrome\r\n content.onmousewheel = function(e){\r\n content.scrollBy(-e.wheelDelta, 0);\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HorizontalScroll.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HorizontalScroll.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./HorizontalScroll.vue?vue&type=template&id=195dff40&scoped=true&\"\nimport script from \"./HorizontalScroll.vue?vue&type=script&lang=ts&\"\nexport * from \"./HorizontalScroll.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./HorizontalScroll.vue?vue&type=style&index=0&id=195dff40&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"195dff40\",\n null\n \n)\n\nexport default component.exports","import { BaseService } from './base-service';\r\nimport { apiService } from './api';\r\nimport { LocationDto, RelatedLocation } from '@/store/entities/location-dto';\r\n\r\nexport class ProviderLocationsService extends BaseService {\r\n constructor() {\r\n super('providers/GetPhysicianLocations');\r\n }\r\n\r\n async getProviderLocationsFromSitecore(physicianUrl:string) : Promise| undefined> {\r\n let response = await apiService.get>(`${this.apiName}?${this.objectToQueryString({ physicianUrl })}`);\r\n if (response.status === 200 || response.status === 201) {\r\n return response.data as Array ;\r\n }\r\n return undefined;\r\n }\r\n}\r\nconst providerLocationsService = new ProviderLocationsService();\r\nexport default providerLocationsService;\r\n","import { BaseService } from './base-service';\r\nimport { apiService } from './api';\r\nimport { ProviderDto } from '../store/entities/provider-dto';\r\nimport { LocationSchedule } from '@/store/entities/location-dto';\r\n\r\nexport class LabService extends BaseService {\r\n constructor() {\r\n super('locations/schedule');\r\n }\r\n\r\n async GetSchedulesByLocations(locationProviderId:string, startDate:string, endDate:string, visitTypes:string) : Promise{\r\n let response = await apiService.get(`${this.apiName}?${this.objectToQueryString({ locationProviderId, startDate, endDate, visitTypes })}`);\r\n if (response.status === 200 || response.status === 201) {\r\n return response.data as LocationSchedule;\r\n }\r\n return undefined;\r\n }\r\n}\r\n \r\n const labService = new LabService();\r\n export default labService;","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { computed, defineComponent, onMounted, reactive, toRefs, watch, onUnmounted } from '@vue/composition-api'\r\nimport { processData, EnumStages, entryPoint, isVirtualVisit, allowVirtualVisits } from '../helpers/process-helper';\r\nimport DatePicker from \"./Common/DatePicker.vue\";\r\nimport { add, addBusinessDays, format, getDay, set, parseISO,getDate, getDayOfYear, isSameDay } from \"date-fns\";\r\nimport locationService from \"../services/location-service\";\r\nimport { Department, LocationDto, LocationSchedule, Timeslot, WeekDay, DaySlots } from '../store/entities/location-dto';\r\nimport { combineLocationSchedules, combineMultiProviderSchedules, departmentIsInList, getPrimaryContactNumber, locationsToDepartments, stripPhoneNumber } from '../helpers/location-helper'\r\nimport { appointmentData, setTimeSlots, getTimeSlotsByDate, getAllTimeSlots, getNextSlots, getTimeSlotsByDatePeriod, resetAppointmentData } from '../helpers/appointment-helper';\r\nimport { getPhysicianFullname } from '../helpers/physician-helper';\r\nimport { globalStore } from '../store';\r\nimport Loading from './Common/Loading.vue';\r\nimport { isLoading } from '../store/modules/global-store';\r\nimport { mobileData, onResize } from '@/helpers/mobile-helper';\r\nimport HorizontalScroll from './Common/HorizontalScroll.vue';\r\nimport DoctorHeading from '../components/DoctorHeading.vue'\r\nimport LabHeading from '../components/LabHeading.vue';\r\nimport providerLocationService from \"../services/provider-locations-service\";\r\nimport labService from \"../services/lab-service\";\r\n\r\nlet locationPinImg = require('@/assets/images/locationpin-wmg.png');\r\nlet calendar = require('@/assets/images/calendar-black.svg');\r\nconst weekDays = [\r\n {\r\n day:0,\r\n dayText: 'Sunday'\r\n },\r\n {\r\n day:1,\r\n dayText: 'Monday'\r\n },\r\n {\r\n day:2,\r\n dayText: 'Tuesday'\r\n },\r\n {\r\n day:3,\r\n dayText: 'Wednesday'\r\n },\r\n {\r\n day:4,\r\n dayText: 'Thursday'\r\n },\r\n {\r\n day:5,\r\n dayText: 'Friday'\r\n },\r\n {\r\n day:6,\r\n dayText: 'Saturday'\r\n },\r\n] as WeekDay[]\r\nexport default defineComponent({\r\n components: {DatePicker, Loading, HorizontalScroll, DoctorHeading, LabHeading},\r\n setup () {\r\n const data = reactive({\r\n locationSelected: false,\r\n dateSelected: false,\r\n locationActive: false,\r\n locationDropdown: false,\r\n mobileCalendarDisplay: false,\r\n locations: [] as LocationDto[],\r\n weekStart: new Date(),\r\n weekEnd: new Date(),\r\n currentDate: new Date(),\r\n currentDateCallback: new Date(),\r\n currentDateInput: format(new Date(),'MM/dd/yyyy'),\r\n mobileDecreaseColor: 'rgba(57, 72, 84, 0.3)',\r\n isLoading: false,\r\n loadingAppts: false,\r\n futureDaySlots: [] as DaySlots[],\r\n allDaySlots: [] as DaySlots[],\r\n selectedDateCallback: new Date(),\r\n lastDateLoaded: new Date(),\r\n lastHScroll: 0,\r\n noAppointments: false,\r\n });\r\n watch(() => processData.currentStage, async (newValue, oldValue) => {\r\n if(newValue == EnumStages[entryPoint.location].setLocation && oldValue == EnumStages[entryPoint.location].error) {\r\n initialize(); \r\n }\r\n });\r\n watch(() => globalStore.state.providerNpi, (newValue, oldValue) => {\r\n if (newValue !== oldValue && entryPoint.location !== 'clinic') {\r\n // In clinic mode we constantly change providers by selecting\r\n // different time slots; it should not reinitialize the page\r\n initialize();\r\n }\r\n })\r\n watch(() => data.currentDateInput, (newValue, oldValue) => {\r\n if (newValue !== oldValue) {\r\n let dateFormat = new Date(data.currentDateInput);\r\n dateFormat.setMinutes(dateFormat.getMinutes() + dateFormat.getTimezoneOffset());\r\n data.currentDate = dateFormat;\r\n\r\n if (isSameDay(data.currentDate, new Date())) {\r\n data.mobileDecreaseColor = 'rgba(57, 72, 84, 0.3)';\r\n }\r\n else{\r\n data.mobileDecreaseColor = '#758592';\r\n }\r\n }\r\n })\r\n onMounted(async () => {\r\n onResize();\r\n if (globalStore.state.isVirtualVisit) {\r\n processData.inPersonEnabled = false;\r\n processData.virtualVideoEnabled = true;\r\n processData.selectedLocationDropDownLocation = 'virtualVideoVisits';\r\n }\r\n await initialize();\r\n })\r\n const initialize = async () => { \r\n let date = new Date();\r\n data.currentDate = date;\r\n data.currentDateInput = format(data.currentDate,'MM/dd/yyyy');\r\n var endOfMonth = add(date, { months: 1 });\r\n endOfMonth.setDate(0);\r\n\r\n if (entryPoint.location == 'lab' && (appointmentData?.locationSchedules?.scheduleDays?.length == 0 || appointmentData.locationSchedules.scheduleDays == undefined)) {\r\n data.noAppointments = true;\r\n } else {\r\n if (appointmentData.allTimeSlots.length == 0){\r\n await loadCurrentMonth();\r\n }\r\n \r\n if (appointmentData?.allTimeSlots[appointmentData?.allTimeSlots?.length-1]?.date){\r\n data.lastDateLoaded = parseISO(appointmentData?.allTimeSlots[appointmentData?.allTimeSlots?.length-1]?.date);\r\n }\r\n else{\r\n data.lastDateLoaded = endOfMonth;\r\n }\r\n\r\n if (date != null) data.futureDaySlots = getDaySlots(date, endOfMonth);\r\n \r\n let selectedDateEndOfMonth = add(data.currentDate, { months: 1 });\r\n data.allDaySlots = getDaySlots(data.currentDate, selectedDateEndOfMonth).slice(0, 3);\r\n\r\n if(data?.allDaySlots[0]?.date){\r\n data.currentDate = parseISO(data.allDaySlots[0]?.date);\r\n }\r\n\r\n data.currentDateInput = format(data.currentDate,'MM/dd/yyyy');\r\n }\r\n }\r\n const getNonBookableLocations = async () => {\r\n // first build the query string and call the api \r\n let response = (await providerLocationService.getProviderLocationsFromSitecore(globalStore.state.doctorUrl));\r\n if (response) return locationsToDepartments(response)\r\n }\r\n const formatAddress = (location:Department) => {\r\n if(!location || !location.address) return '';\r\n if(location.address.streetAddress.length == 1 || location.address.streetAddress[1] == null)\r\n return `${location.address.streetAddress[0]}
${location.address.city}, ${location.address.state?.abbreviation} ${location.address.postalCode}`; \r\n return `${location.address.streetAddress[0]}
${location.address.streetAddress[1]}
${location.address.city}, ${location.address.state?.abbreviation} ${location.address.postalCode}`; \r\n }\r\n const phone = computed(() => {\r\n return getPrimaryContactNumber(globalStore, processData);\r\n })\r\n const isValid = computed(() => {\r\n return processData.selectedLocation != undefined && processData.selectedDate != undefined;\r\n })\r\n\r\n const showBackButton = computed(() => {\r\n return (entryPoint.location !== 'clinic') && !mobileData.isMobile && appointmentData.locationSchedules?.departments?.length > 1;\r\n });\r\n\r\n const resetTimeSlots = () => {\r\n appointmentData.allTimeSlots.forEach(x => x.slots.forEach(y => y.isActive = false));\r\n }\r\n const scrollTop = (currentDate?:Date) => {\r\n if (currentDate != null || currentDate != undefined){\r\n var parent = document.querySelector('.date-grid__times');\r\n var child = document.getElementById(format(currentDate,'yyyy-MM-dd'));\r\n if(child != null){\r\n var relativeTop = child.getBoundingClientRect().top - parent.getBoundingClientRect().top;\r\n document.querySelector('.date-grid__text')?.scrollTo({top:(relativeTop-100)})\r\n } else {\r\n document.querySelector('.date-grid__text')?.scrollTo({top:0})\r\n }\r\n } else {\r\n document.querySelector('.date-grid__text')?.scrollTo({top:0})\r\n }\r\n \r\n }\r\n const loadCurrentMonth = async (date:Date = undefined) => {\r\n data.loadingAppts = true\r\n if (!date)\r\n date = new Date()\r\n \r\n data.currentDate = date\r\n var endOfMonth = add(date, { months: 1 })\r\n endOfMonth.setDate(0)\r\n endOfMonth > data.lastDateLoaded ? data.lastDateLoaded = endOfMonth : null;\r\n await loadDatesForTimePeriod(date, endOfMonth)\r\n \r\n setTimeSlots();\r\n data.loadingAppts = false\r\n data.futureDaySlots = getDaySlots(date, endOfMonth); //here it distinguishes by date and departmentID\r\n data.allDaySlots = getNextSlots(data.currentDate).slice(0, 3);\r\n\r\n const day = getDay(date)\r\n const dateStart = add(date, {\r\n days: -1*day\r\n })\r\n const dateEnd = add(date, {\r\n days: 6-day\r\n })\r\n loadWeekSchedule(dateStart, dateEnd, data.currentDate)\r\n }\r\n\r\n const selectFirstSlot = (currentDate: Date) => {\r\n resetTimeSlots();\r\n\r\n let today = new Date();\r\n let firstDayOfMonth = new Date(currentDate);\r\n firstDayOfMonth.setDate(1)\r\n let lastDayOfMonth = new Date(currentDate.getFullYear(), currentDate.getMonth()+1, 0);\r\n currentDate = new Date(currentDate.getFullYear(), currentDate.getMonth(), currentDate.getDate())\r\n\r\n // Can't use what's \"cached\" in `data` because it needs to reset when VV/In-Person is toggled.\r\n // This line is added to ensure `futureDaySlots` is updated.\r\n data.futureDaySlots = getDaySlots(today, lastDayOfMonth);\r\n\r\n let slots = data.futureDaySlots;\r\n if (mobileData.isMobile) {\r\n slots = data.allDaySlots\r\n }\r\n\r\n // find selected date slot\r\n let slot = slots.find(slot => (\r\n parseISO(slot.date).getTime() === currentDate.getTime() &&\r\n slot.slots.length))\r\n\r\n if(!slot) {\r\n // find first slot of month\r\n slot = slots.find(slot => (\r\n parseISO(slot.date).getTime() >= today.getTime() &&\r\n parseISO(slot.date).getTime() >= firstDayOfMonth.getTime() &&\r\n parseISO(slot.date).getTime() <= lastDayOfMonth.getTime() &&\r\n slot.slots.length))\r\n }\r\n\r\n if(slot && slot.slots) {\r\n let day = slot\r\n data.currentDate = parseISO(day.date);\r\n data.selectedDateCallback = parseISO(day.date);\r\n }\r\n processData.selectedDate = undefined;\r\n processData.slotBlockType = '';\r\n\r\n }\r\n const loadWeekSchedule = (weekStart:Date, weekEnd:Date, currentDate: Date) => {\r\n resetTimeSlots()\r\n data.weekStart = weekStart\r\n data.weekEnd = weekEnd\r\n selectFirstSlot(currentDate)\r\n scrollTop(currentDate)\r\n }\r\n const loadDatesForTimePeriod = async (dateStart:Date, dateEnd:Date) => {\r\n const formattedStartDate = format(dateStart, \"yyyy-MM-dd\");\r\n const formattedEndDate = format(dateEnd, \"yyyy-MM-dd\");\r\n // check whether you already have these dates in the schedule\r\n let dataPresent = false;\r\n appointmentData.locationSchedules?.scheduleDays?.forEach(x => {\r\n let newDate = x.date.split(\"T\")[0];\r\n if(newDate === formattedStartDate || newDate === formattedEndDate){\r\n dataPresent = true;\r\n }\r\n })\r\n if (!dataPresent){\r\n let response;\r\n if (entryPoint.location === 'lab') {\r\n response = (await labService.GetSchedulesByLocations(globalStore.state.providerNpi, formattedStartDate, formattedEndDate, 'LAB' ))\r\n\r\n } else if (entryPoint.location === 'clinic') {\r\n let allSchedules:LocationSchedule[] = [];\r\n let filteredProviderResults = processData.providers.filter((provider) => (globalStore.state.isVirtualVisit ? provider.allowVirtualVisits : true))\r\n\r\n const visitTypeId = globalStore.state.isVirtualVisit ? '645' : '855';\r\n\r\n for (let i = 0; i < filteredProviderResults.length; i += 1) {\r\n const npid = filteredProviderResults[i].npid;\r\n const providerSchedule = (await locationService.getLocationsAndSchedulesForProvider(npid, formattedStartDate, formattedEndDate, visitTypeId));\r\n providerSchedule.npid = npid;\r\n allSchedules.push(providerSchedule);\r\n }\r\n response = combineMultiProviderSchedules(processData.selectedLocation, processData.providers.map((p) => p.npid), allSchedules);\r\n\r\n } else {\r\n response = (await locationService.getLocationsAndSchedulesForProvider(globalStore.state.providerNpi, formattedStartDate, formattedEndDate, globalStore.state.visitTypeId));\r\n }\r\n \r\n if (response) {\r\n if (appointmentData.locationSchedules == undefined){\r\n appointmentData.locationSchedules = response;\r\n } else {\r\n appointmentData.locationSchedules = combineLocationSchedules([appointmentData.locationSchedules, response]);\r\n }\r\n \r\n } else {\r\n appointmentData.locationSchedules = new LocationSchedule();\r\n }\r\n }\r\n }\r\n \r\n const getTimeSlots = (day: WeekDay) : Timeslot[] => {\r\n const currentDate = add(data.weekStart, {days:day.day});\r\n return getTimeSlotsByDate(currentDate);\r\n }\r\n\r\n const toggleLocationDropdown = () => {\r\n data.locationDropdown = !data.locationDropdown;\r\n }\r\n\r\n const setLocation = (location:Department) => {\r\n appointmentData.locationSchedules.departments.forEach(x => x.active = false);\r\n location.active = true;\r\n processData.selectedLocation = location;\r\n data.locationDropdown = false;\r\n initialize();\r\n }\r\n\r\n const getDaySlots = (startDate: Date, endDate: Date) : DaySlots[] => {\r\n return getNextSlots(startDate);\r\n }\r\n const selectTime = (timeslot:Timeslot, day: DaySlots) => {\r\n if(timeslot.isActive) {\r\n timeslot.isActive = false;\r\n processData.selectedDate = undefined;\r\n processData.departmentId = ''\r\n processData.slotBlockType = ''\r\n return;\r\n }\r\n resetTimeSlots();\r\n timeslot.isActive = true;\r\n data.currentDate = parseISO(day.date);\r\n let dateSelection = parseISO(day.date);\r\n dateSelection.setHours(timeslot.hour);\r\n dateSelection.setMinutes(parseInt(timeslot.hourText.split(':')[1]));\r\n dateSelection.setSeconds(0);\r\n processData.selectedDate = dateSelection;\r\n processData.slotBlockType = timeslot.slotBlockType;\r\n processData.arrivalTime = (timeslot.arriveByText ? timeslot.arriveByText : timeslot.hourText );\r\n processData.departmentId = day.departmentId\r\n data.selectedDateCallback = parseISO(day.date);\r\n\r\n if (entryPoint.location === 'clinic') {\r\n // Set the selected physician data from the scheduling input provider list\r\n const npid = timeslot.npid;\r\n const provider = processData.providers.find((p) => p.npid === npid);\r\n\r\n globalStore.state.providerNpi = npid;\r\n globalStore.state.doctorName = getPhysicianFullname(provider);\r\n globalStore.state.doctorImage = provider.profileImgUrl;\r\n globalStore.state.doctorUrl = '/physicians/' + provider.pageUrl;\r\n }\r\n }\r\n const handleScroll = () => {\r\n const el = document.querySelector('.horizontal-scroll')\r\n var offset = window.innerWidth - 20;\r\n if (el != null && (offset + el.scrollLeft >= el.scrollWidth)) { \r\n data.lastHScroll = el.scrollLeft; \r\n var nextMonth = add(data.lastDateLoaded, { months: 1 })\r\n nextMonth.setDate(1)\r\n loadCurrentMonth(nextMonth)\r\n }\r\n }\r\n const increaseSelectedDay = () => {\r\n data.mobileDecreaseColor = '#758592';\r\n data.currentDate = add(data.currentDate, { days: 1 });\r\n data.currentDateCallback = data.currentDate;\r\n let selectedDateEndOfMonth = add(data.currentDate, { months: 1 });\r\n data.currentDateInput = format(data.currentDate,'MM/dd/yyyy');\r\n data.allDaySlots = getDaySlots(data.currentDate, selectedDateEndOfMonth).slice(0, 3);\r\n selectFirstSlot(data.currentDate)\r\n }\r\n const decreaseSelectedDay = () => {\r\n if (data.currentDate > new Date()) {\r\n data.currentDate = add(data.currentDate, { days: -1 });\r\n data.currentDateCallback = data.currentDate;\r\n let selectedDateEndOfMonth = add(data.currentDate, { months: 1 });\r\n data.currentDateInput = format(data.currentDate,'MM/dd/yyyy');\r\n data.allDaySlots = getDaySlots(data.currentDate, selectedDateEndOfMonth).slice(0, 3);\r\n }\r\n\r\n if (+data.currentDate == +(new Date())) {\r\n data.mobileDecreaseColor = 'rgba(57, 72, 84, 0.3)';\r\n }\r\n selectFirstSlot(data.currentDate)\r\n }\r\n const onMobileCalendarDateChange = () => {\r\n let dateFormat = new Date(data.currentDateInput);\r\n dateFormat.setMinutes(dateFormat.getMinutes() + dateFormat.getTimezoneOffset());\r\n data.currentDate = dateFormat;\r\n data.currentDateInput = format(data.currentDate,'MM/dd/yyyy');\r\n let currentDateEndOfMonth = add(data.currentDate, { months: 1 });\r\n data.allDaySlots = getDaySlots(data.currentDate, currentDateEndOfMonth).slice(0, 3);\r\n\r\n if (isSameDay(data.currentDate, new Date())) {\r\n data.mobileDecreaseColor = 'rgba(57, 72, 84, 0.3)';\r\n }\r\n }\r\n\r\n const toggleMobileCalendar = () => {\r\n data.mobileCalendarDisplay = !data.mobileCalendarDisplay;\r\n }\r\n\r\n const onMobileCalendarDateSelect = (weekStart:Date, weekEnd:Date, currentDate: Date) => {\r\n data.currentDate = currentDate;\r\n data.currentDateInput = format(data.currentDate,'MM/dd/yyyy'); \r\n \r\n let selectedDateEndOfMonth = add(data.currentDate, { months: 1 });\r\n data.allDaySlots = getDaySlots(data.currentDate, selectedDateEndOfMonth).slice(0, 3);\r\n\r\n if (isSameDay(data.currentDate, new Date())) {\r\n data.mobileDecreaseColor = 'rgba(57, 72, 84, 0.3)';\r\n }\r\n\r\n data.mobileCalendarDisplay = false;\r\n }\r\n\r\n const onMobileCalendarMonthSelect = async (date:Date = undefined) => { \r\n data.currentDate = date;\r\n data.currentDateInput = format(data.currentDate,'MM/dd/yyyy'); \r\n\r\n let selectedDateEndOfMonth = add(data.currentDate, { months: 1 });\r\n data.allDaySlots = getDaySlots(data.currentDate, selectedDateEndOfMonth).slice(0, 3);\r\n\r\n if (isSameDay(data.currentDate, new Date())) {\r\n data.mobileDecreaseColor = 'rgba(57, 72, 84, 0.3)';\r\n } \r\n }\r\n\r\n const getStaticLocationImage = () => {\r\n // Epic locations don't have lat/long, so attempt matching locations to sitecore locations to get lat/long for static image\r\n if (processData.selectedLocation.address.latitude == undefined || processData.selectedLocation.address.longitude == undefined || processData.selectedLocation.address.latitude.toString() == '' || processData.selectedLocation.address.longitude.toString() == '') {\r\n let locationSchedulingId = processData.selectedLocation?.iDs?.find(x => x.type == 'External');\r\n if (!locationSchedulingId) return '';\r\n\r\n let selectedLocationFromSitecore = globalStore.state.locations.find(x => x.openSchedulingDepartmentID?.includes(locationSchedulingId.id));\r\n if(!selectedLocationFromSitecore) return '';\r\n\r\n processData.selectedLocation.address.latitude = selectedLocationFromSitecore.latitude;\r\n processData.selectedLocation.address.longitude = selectedLocationFromSitecore.longitude;\r\n }\r\n\r\n const MapStyles = [\r\n { featureType: 'all', elementType: 'labels.text.fill', stylers: [{ color: '#8347ad' }] },\r\n { featureType: 'landscape', elementType: 'all', stylers: [{ color: '#f1ecf6' }] },\r\n { featureType: 'poi', elementType: 'all', stylers: [{ visibility: 'off' }] },\r\n { featureType: 'road', elementType: 'all', stylers: [{ color: '#d7c3e4' }] },\r\n { featureType: 'road', elementType: 'labels.text.fill', stylers: [{ color: '#8347ad' }] },\r\n { featureType: 'road', elementType: 'labels.icon', stylers: [{ visibility: 'off' }] },\r\n { featureType: 'transit', elementType: 'all', stylers: [{ visibility: 'off' }] },\r\n { featureType: 'water', elementType: 'all', stylers: [{ color: '#e5d9ed' }] },\r\n ];\r\n const key = 'AIzaSyBkGDW0XV7j8JcEHH-2RW9lGsM9HtWZmOA';\r\n let url = `https://maps.googleapis.com/maps/api/staticmap?size=400x200&zoom=14`;\r\n url += MapStyles.map(s => {\r\n let parts: string[] = [];\r\n\r\n if (typeof s.featureType === 'string' && s.featureType.length > 0 && s.featureType !== 'all') parts.push('feature:' + s.featureType);\r\n if (typeof s.elementType === 'string' && s.elementType.length > 0 && s.elementType !== 'all') parts.push('element:' + s.elementType);\r\n\r\n if (Array.isArray(s.stylers) && s.stylers.length > 0) {\r\n Object.keys(s.stylers[0]).forEach(k => {\r\n let v = (s.stylers[0] as any)[k];\r\n if (typeof v !== 'string' || v.length === 0) return;\r\n\r\n if (k === 'color') v = '0x' + v.replace(/^#/, '');\r\n parts.push(`${k}:${v}`);\r\n });\r\n }\r\n\r\n if (parts.length === 0) return '';\r\n return '&style=' + parts.join('|');\r\n }).join('');\r\n\r\n url += `&markers=icon:${processData.baseUrl}${locationPinImg}%7C${processData.selectedLocation.address.latitude},${processData.selectedLocation.address.longitude}`;\r\n url += '&key=' + key;\r\n\r\n return url;\r\n }\r\n\r\n const formatDateText = (dateString: string) => {\r\n let date = parseISO(dateString);\r\n let today = new Date();\r\n\r\n if (isSameDay(date, today)) {\r\n return \"Today\";\r\n }\r\n else if (isSameDay(date, add(today, {days: 1}))) {\r\n return \"Tomorrow\";\r\n }\r\n else {\r\n return format(date,\"iiii\");\r\n }\r\n }\r\n\r\n const saveLocationAndDate = () => {\r\n processData.currentStage++;\r\n }\r\n const previousStage = () => {\r\n processData.currentStage--;\r\n }\r\n\r\n const switchInPersonVirtualVideoTab = (text:string) => {\r\n resetTimeSlots();\r\n resetAppointmentData()\r\n if (text === 'virtual video') {\r\n processData.inPersonEnabled = false;\r\n processData.virtualVideoEnabled = true;\r\n processData.selectedLocationDropDownLocation = 'virtualVideoVisits';\r\n globalStore.state.isVirtualVisit = true;\r\n loadCurrentMonth(data.currentDate);\r\n } else {\r\n processData.inPersonEnabled = true;\r\n processData.virtualVideoEnabled = false;\r\n processData.selectedLocationDropDownLocation = 'physicalLocation';\r\n globalStore.state.isVirtualVisit = false;\r\n loadCurrentMonth(data.currentDate);\r\n }\r\n }\r\n\r\n const random = () => {\r\n return 'key_' + Math.floor(Math.random() * 1000000).toString()\r\n }\r\n return {\r\n random,\r\n ...toRefs(data),\r\n ...toRefs(processData),\r\n ...toRefs(mobileData),\r\n ...toRefs(appointmentData),\r\n showBackButton,\r\n isVirtualVisit,\r\n allowVirtualVisits,\r\n isLoading,\r\n isValid,\r\n mobileData,\r\n handleScroll,\r\n getAllTimeSlots,\r\n previousStage,\r\n combineLocationSchedules,\r\n getDate,\r\n saveLocationAndDate,\r\n loadWeekSchedule,\r\n loadCurrentMonth,\r\n format,\r\n parseISO,\r\n weekDays,\r\n getTimeSlots,\r\n getDaySlots,\r\n formatAddress,\r\n selectTime,\r\n increaseSelectedDay,\r\n decreaseSelectedDay,\r\n onMobileCalendarDateChange,\r\n formatDateText,\r\n getStaticLocationImage,\r\n toggleLocationDropdown,\r\n setLocation,\r\n onMobileCalendarDateSelect,\r\n onMobileCalendarMonthSelect,\r\n toggleMobileCalendar,\r\n entryPoint,\r\n switchInPersonVirtualVideoTab,\r\n phone,\r\n stripPhoneNumber,\r\n };\r\n }\r\n})\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schedule.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schedule.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Schedule.vue?vue&type=template&id=54b487dc&scoped=true&\"\nimport script from \"./Schedule.vue?vue&type=script&lang=ts&\"\nexport * from \"./Schedule.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Schedule.vue?vue&type=style&index=0&id=54b487dc&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"54b487dc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-cont\"},[_c('doctor-heading'),(!_vm.isLoading)?_c('div',{staticClass:\"zy-location-date-cont zx-flex zx-flex-col\",attrs:{\"role\":\"main\",\"aria-label\":\"location date\",\"id\":\"zy-location-selection-container\"}},[_vm._m(0),_c('div',{staticClass:\"zx-flex zx-justify-center zx-items-start sm:zx-m-0 zx-mx-8\"},[(_vm.locationSchedules != undefined)?_c('div',{staticClass:\"zy-location-grid zx-grid md:zx-grid-cols-2 zx-place-items-center sm:zx-gap-x-4\",attrs:{\"id\":\"zy-location-selection-grid\"}},[(_vm.allowVirtualVisits)?_c('div',{staticClass:\"zy-location-grid__item zx-w-full zx-flex zx-flex-wrap mdend:zx-flex-row\",class:{active: _vm.online.active},attrs:{\"id\":\"zy-location-selection-grid-item\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.select(_vm.online)}}},[(_vm.allowVirtualVisits && !_vm.online.active)?_c('div',{staticClass:\"zx-place-self-start virtual-visit-icon\"},[_c('svg',{attrs:{\"width\":\"20\",\"height\":\"14\",\"viewBox\":\"0 0 20 14\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M11.6736 0H1.65972C0.743056 0 0 0.743056 0 1.65972V11.6736C0 12.5903 0.743056 13.3333 1.65972 13.3333H11.6736C12.5903 13.3333 13.3333 12.5903 13.3333 11.6736V1.65972C13.3333 0.743056 12.5903 0 11.6736 0ZM18.25 1.30903L14.4444 3.93403V9.39931L18.25 12.0208C18.9861 12.5278 20 12.0104 20 11.125V2.20486C20 1.32292 18.9896 0.802083 18.25 1.30903Z\",\"fill\":\"#758592\"}})])]):_vm._e(),_c('div',{staticClass:\"zx-place-self-start\"},[_c('img',{staticClass:\"zy-blue-checkbox zx-pr-1\",attrs:{\"src\":(_vm.baseUrl + \"/img/checkbox.svg\"),\"alt\":\"Location selected\"}})]),_c('h3',{staticClass:\"zy-card-location-name zx-text-lg sm:zx-text-xl zx-font-medium\",attrs:{\"aria-label\":'Virtual Video Visit',\"id\":\"zy-location-selection-address\"}},[_vm._v(\" Virtual Video Visit \"),_c('address',{staticClass:\"zy-address zx-text-sm lg:zx-text-base xl:zx-text-lg sm:zx-mb-4 zx-font-normal zx-opacity-60\",domProps:{\"innerHTML\":_vm._s('Connect via camera from the comfort of your home.')}})])]):_vm._e(),_vm._l((_vm.locationSchedules.departments),function(location){return _c('div',{key:location.name,staticClass:\"zy-location-grid__item zx-w-full zx-flex zx-flex-wrap mdend:zx-flex-row \",class:{'active': location.active, 'disabled': location.disabled},attrs:{\"id\":\"zy-location-selection-grid-item\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.select(location)}}},[_c('div',{staticClass:\"zx-place-self-start\"},[_c('img',{staticClass:\"zy-blue-checkbox zx-pr-1\",attrs:{\"src\":(_vm.baseUrl + \"/img/checkbox.svg\"),\"alt\":\"Location selected\"}})]),_c('h3',{staticClass:\"zy-card-location-name zx-text-lg sm:zx-text-xl zx-font-medium\",attrs:{\"aria-label\":location.name,\"id\":\"zy-location-selection-address\"}},[_vm._v(\" \"+_vm._s(location.name)+\" \"),(location.address)?_c('address',{staticClass:\"zy-address zx-text-sm lg:zx-text-base xl:zx-text-lg sm:zx-mb-4 zx-font-normal zx-opacity-60\",domProps:{\"innerHTML\":_vm._s(_vm.formatAddress(location))}}):_vm._e()])])})],2):_vm._e()]),(_vm.mobileData.isMobile)?_c('div',{staticStyle:{\"display\":\"flex\",\"justify-content\":\"center\",\"margin-bottom\":\"6rem\",\"margin-top\":\"auto\",\"padding-top\":\"1rem\"}},[_c('span',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"color\":\"#3C444B\",\"font-family\":\"'Work Sans'\",\"font-style\":\"normal\",\"font-weight\":\"500\",\"font-size\":\"14px\"}},[_c('svg',{attrs:{\"width\":\"16\",\"height\":\"16\",\"viewBox\":\"0 0 16 16\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M13.0089 6.98415L12.508 7.01233V4.50792C12.508 2.02199 10.4861 0 8.00012 0C5.51419 0 3.4922 2.02199 3.4922 4.50792V7.01233L2.99131 6.98415C1.88468 6.98415 0.987793 7.88104 0.987793 8.98767V13.9965C0.987793 15.1028 1.88468 16 2.99131 16H13.0089C14.1156 16 15.0124 15.1028 15.0124 13.9965V8.98767C15.0124 7.91078 14.114 6.98415 13.0089 6.98415ZM9.00188 11.993C9.00188 12.5461 8.55328 12.9947 8.00012 12.9947C7.44696 12.9947 6.99836 12.5461 6.99836 11.993V10.9912C6.99836 10.438 7.44696 9.98943 8.00012 9.98943C8.55328 9.98943 9.00188 10.438 9.00188 10.9912V11.993ZM10.5045 7.01233H5.49572V4.50792C5.49572 3.12675 6.61957 2.00352 8.00012 2.00352C9.38067 2.00352 10.5045 3.12675 10.5045 4.50792V7.01233Z\",\"fill\":\"#39485452\"}})]),_c('span',{staticStyle:{\"margin-left\":\"0.5rem\",\"color\":\"#39485452\"}},[_vm._v(\" Secure booking \")])])]):_vm._e(),_c('div',{staticClass:\"zx-w-full zx-flex zx-justify-between zx-align-center sm:zx-mt-10 zy-btn-cont-next\",attrs:{\"id\":\"zy-next-step-button-container zy-mobile-footer-fixed\"}},[(!_vm.mobileData.isMobile)?_c('span',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"color\":\"#3C444B\",\"font-family\":\"'Work Sans'\",\"font-style\":\"normal\",\"font-weight\":\"500\",\"font-size\":\"14px\"}},[_c('svg',{attrs:{\"width\":\"16\",\"height\":\"16\",\"viewBox\":\"0 0 16 16\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M13.0089 6.98415L12.508 7.01233V4.50792C12.508 2.02199 10.4861 0 8.00012 0C5.51419 0 3.4922 2.02199 3.4922 4.50792V7.01233L2.99131 6.98415C1.88468 6.98415 0.987793 7.88104 0.987793 8.98767V13.9965C0.987793 15.1028 1.88468 16 2.99131 16H13.0089C14.1156 16 15.0124 15.1028 15.0124 13.9965V8.98767C15.0124 7.91078 14.114 6.98415 13.0089 6.98415ZM9.00188 11.993C9.00188 12.5461 8.55328 12.9947 8.00012 12.9947C7.44696 12.9947 6.99836 12.5461 6.99836 11.993V10.9912C6.99836 10.438 7.44696 9.98943 8.00012 9.98943C8.55328 9.98943 9.00188 10.438 9.00188 10.9912V11.993ZM10.5045 7.01233H5.49572V4.50792C5.49572 3.12675 6.61957 2.00352 8.00012 2.00352C9.38067 2.00352 10.5045 3.12675 10.5045 4.50792V7.01233Z\",\"fill\":\"#39485452\"}})]),_c('span',{staticStyle:{\"margin-left\":\"0.5rem\",\"color\":\"#39485452\"}},[_vm._v(\" Secure booking \")])]):_vm._e(),(!_vm.isValid)?_c('button',{staticClass:\"btn\",attrs:{\"type\":\"submit\",\"disabled\":\"disabled\",\"id\":\"zy-next-step-button\",\"aria-label\":\"next step button\"}},[_vm._v(\"Next Step\")]):_vm._e(),(_vm.isValid)?_c('button',{staticClass:\"btn\",attrs:{\"data-attr-id\":\"next-step-button\",\"id\":\"zy-next-step-button\",\"aria-label\":\"next step button\"},on:{\"click\":_vm.saveLocationAndDate}},[_vm._v(\"Next Step\")]):_vm._e()])]):_vm._e(),(_vm.isLoading)?_c('loading',{attrs:{\"id\":\"zy-loading-component\"}}):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zx-flex zx-justify-between zx-w-full zx-flex-wrap zx-mb-4\"},[_c('span',{staticClass:\"zx-ml-2 sm:zx-ml-4 zx-font-semibold zx-text-lg sm:zx-text-2xl\",attrs:{\"id\":\"zy-location-selection-title\",\"aria-label\":\"select a location for your visit\"}},[_vm._v(\"Select a location for your visit\")])])}]\n\nexport { render, staticRenderFns }","const VIRTUAL_VISIT = Symbol('VirtualVisit')\r\n\r\nexport const virtualVisitLocationFactory = (departments = []) => {\r\n const phones = departments.length > 0 ? departments[0].phones : [];\r\n \r\n return {\r\n [VIRTUAL_VISIT]: true,\r\n name: \"virtual-visit\",\r\n disabled: false,\r\n active: false,\r\n iDs: [],\r\n phones: phones,\r\n providers: null,\r\n directions: '',\r\n address: {\r\n streetAddress: ['Connect via camera from the comfort of your home.'],\r\n city: '',\r\n postalCode: '',\r\n houseNumber: '',\r\n state: {\r\n number: '',\r\n title: '',\r\n abbreviation: ''\r\n },\r\n longitude: 0,\r\n latitude: 0\r\n }\r\n }\r\n}\r\n\r\n\r\nexport const isVirtualVisitLocation = (location: T) => {\r\n return !!location[VIRTUAL_VISIT]\r\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { computed, defineComponent, onMounted, reactive, toRefs, watch } from '@vue/composition-api'\r\nimport { processData, EnumStages, entryPoint, allowVirtualVisits } from '../helpers/process-helper';\r\nimport DatePicker from \"./Common/DatePicker.vue\";\r\nimport { add, format, getDay, set } from \"date-fns\";\r\nimport locationService from \"../services/location-service\";\r\nimport providerLocationService from \"../services/provider-locations-service\";\r\nimport { Department, LocationDto, LocationSchedule, RelatedLocation, Timeslot, WeekDay } from '../store/entities/location-dto';\r\nimport { appointmentData, setTimeSlots, getTimeSlotsByDate } from '../helpers/appointment-helper';\r\nimport { departmentIsInList, isSameDepartment, locationsToDepartments } from \"../helpers/location-helper\";\r\nimport { globalStore } from '../store';\r\nimport Loading from './Common/Loading.vue';\r\nimport { isLoading } from '../store/modules/global-store';\r\nimport { mobileData, onResize } from '@/helpers/mobile-helper';\r\nimport { isVirtualVisitLocation, virtualVisitLocationFactory } from '../helpers/virtual-visit-helpers'\r\nimport DoctorHeading from '../components/DoctorHeading.vue'\r\nlet image = require('@/assets/images/checkbox.svg')\r\nconst weekDays = [\r\n {\r\n day:0,\r\n dayText: 'Sunday'\r\n },\r\n {\r\n day:1,\r\n dayText: 'Monday'\r\n },\r\n {\r\n day:2,\r\n dayText: 'Tuesday'\r\n },\r\n {\r\n day:3,\r\n dayText: 'Wednesday'\r\n },\r\n {\r\n day:4,\r\n dayText: 'Thursday'\r\n },\r\n {\r\n day:5,\r\n dayText: 'Friday'\r\n },\r\n {\r\n day:6,\r\n dayText: 'Saturday'\r\n },\r\n] as WeekDay[]\r\nexport default defineComponent({\r\n components: {DatePicker, Loading, DoctorHeading},\r\n setup () {\r\n const data = reactive({\r\n dateSelected: false,\r\n locations: [] as LocationDto[],\r\n weekStart: new Date(),\r\n weekEnd: new Date(),\r\n currentDate: new Date(),\r\n isLoading: false,\r\n loadingAppts: false,\r\n otherLocationsLoaded: false,\r\n baseUrl: processData.baseUrl\r\n });\r\n\r\n watch(() => processData.currentStage, async (newValue, oldValue) => {\r\n if(newValue == EnumStages[entryPoint.location].setLocation && oldValue == EnumStages[entryPoint.location].error) {\r\n initialize(); \r\n }\r\n });\r\n watch(() => globalStore.state.providerNpi, (newValue, oldValue) => {\r\n if (newValue !== oldValue) {\r\n initialize();\r\n }\r\n })\r\n onMounted(async () => {\r\n onResize(); \r\n await initialize();\r\n })\r\n const initialize = async () => {\r\n if (typeof globalStore.state.providerNpi !== 'string' || globalStore.state.providerNpi.length === 0) return;\r\n globalStore.state.isLoading = true;\r\n // if we already have the data don't do the following\r\n if (appointmentData.locationSchedules.departments.length === 0 || !data.otherLocationsLoaded){\r\n try {\r\n var providerLocations = await getNonBookableLocations()\r\n const firstLocationWithNumber = providerLocations.find(location => location?.phones[0]?.number || false);\r\n globalStore.state.doctorPhone = firstLocationWithNumber?.phones[0]?.number;\r\n processData.otherLocationsLoaded = true;\r\n await loadCurrentMonth()\r\n // first remove duplicates from epic\r\n let noDuplicates = []\r\n \r\n appointmentData.locationSchedules.departments.forEach(x => {\r\n if (!departmentIsInList(x, noDuplicates)){\r\n // only add department if in sitecore\r\n if (departmentIsInList(x,providerLocations)){ \r\n noDuplicates.push(x);\r\n }\r\n }\r\n });\r\n\r\n appointmentData.locationSchedules.departments = noDuplicates; \r\n \t\r\n // adding departments from sitecore missing in epic\r\n providerLocations.forEach(x => {\r\n if (!departmentIsInList(x, appointmentData.locationSchedules.departments)){\r\n appointmentData.locationSchedules.departments.push(x);\r\n }\r\n });\r\n\r\n }catch(error){\r\n await loadCurrentMonth()\r\n }\r\n }\r\n // console.log(appointmentData.locationSchedules)\r\n globalStore.state.isLoading = false;\r\n if (processData.selectedLocation != null){ \r\n \r\n appointmentData.locationSchedules.departments.forEach(x=> {\r\n if (isSameDepartment(x,processData.selectedLocation)){\r\n x.active = true;\r\n }\r\n });\r\n }\r\n processData.selectedDate = undefined;\r\n data.dateSelected = false;\r\n\r\n if(processData.selectedLocation) select(processData.selectedLocation)\r\n\r\n if(!processData.selectedLocation && appointmentData.locationSchedules.departments.length === 1 && !appointmentData.locationSchedules.departments[0].disabled){\r\n select(appointmentData.locationSchedules.departments[0]);\r\n processData.currentStage = EnumStages[entryPoint.location].pickSchedule;\r\n }\r\n\r\n if(appointmentData.locationSchedules.departments.length >= 1 && allowVirtualVisits.value) {\r\n let nextStateEnum = 0;\r\n processData.currentStage = nextStateEnum;\r\n }\r\n\r\n }\r\n\r\n const getNonBookableLocations = async () => {\r\n // first build the query string and call the api \r\n let response = (await providerLocationService.getProviderLocationsFromSitecore(globalStore.state.doctorUrl));\r\n if (response) return locationsToDepartments(response)\r\n }\r\n const formatAddress = (location:Department) => {\r\n if(!location || !location.address) return '';\r\n if(location.address.streetAddress.length == 1 || location.address.streetAddress[1] == null)\r\n return `${location.address.streetAddress[0]}
${location.address.city}, ${location.address.state?.abbreviation} ${location.address.postalCode}`; \r\n return `${location.address.streetAddress[0]},
${location.address.streetAddress[1]}
${location.address.city}, ${location.address.state?.abbreviation} ${location.address.postalCode}`;\r\n }\r\n const select = (location:Department) => {\r\n if(processData.selectedLocation) processData.selectedLocation.active = false\r\n \r\n appointmentData.locationSchedules.departments.forEach(x => x.active = false);\r\n location.active = true;\r\n processData.selectedLocation = location;\r\n globalStore.state.contactPhoneNumber = location.phones[0]?.number;\r\n globalStore.state.isVirtualVisit = isVirtualVisitLocation(location)\r\n online.active = globalStore.state.isVirtualVisit\r\n }\r\n const isValid = computed(() => {\r\n return processData.selectedLocation != undefined;\r\n })\r\n\r\n const resetTimeSlots = () => {\r\n \r\n appointmentData.allTimeSlots.forEach(x => x.slots.forEach(y => y.isActive = false));\r\n }\r\n const scrollTop = () => {\r\n document.querySelector('.date-grid__text')?.scrollTo({top:0})\r\n }\r\n const loadCurrentMonth = async (date:Date = undefined) => {\r\n data.loadingAppts = true\r\n if (!date)\r\n date = new Date()\r\n \r\n data.currentDate = date\r\n var endOfMonth = add(date, { months: 6 })\r\n endOfMonth.setDate(0)\r\n await loadDatesForTimePeriod(date, endOfMonth)\r\n \r\n setTimeSlots();\r\n data.loadingAppts = false\r\n\r\n const day = getDay(date)\r\n const dateStart = add(date, {\r\n days: -1*day\r\n })\r\n const dateEnd = add(date, {\r\n days: 6-day\r\n })\r\n loadWeekSchedule(dateStart, dateEnd)\r\n }\r\n const loadNextMonths = async (date:Date = undefined, months:number) => {\r\n data.loadingAppts = true\r\n if (!date)\r\n date = new Date()\r\n \r\n data.currentDate = date\r\n var endOfMonth = add(date, { months: 6 })\r\n endOfMonth.setDate(0)\r\n await loadDatesForTimePeriod(date, endOfMonth)\r\n \r\n setTimeSlots();\r\n data.loadingAppts = false\r\n\r\n const day = getDay(date)\r\n const dateStart = add(date, {\r\n days: -1*day\r\n })\r\n const dateEnd = add(date, {\r\n days: 6-day\r\n })\r\n loadWeekSchedule(dateStart, dateEnd)\r\n }\r\n const loadWeekSchedule = (weekStart:Date, weekEnd:Date) => {\r\n resetTimeSlots()\r\n data.weekStart = weekStart\r\n data.weekEnd = weekEnd\r\n scrollTop()\r\n }\r\n const loadDatesForTimePeriod = async (dateStart:Date, dateEnd:Date) => {\r\n const formattedStartDate = format(dateStart, \"yyyy-MM-dd\");\r\n const formattedEndDate = format(dateEnd, \"yyyy-MM-dd\");\r\n\r\n let response = (await locationService.getLocationsAndSchedulesForProvider(globalStore.state.providerNpi, formattedStartDate, formattedEndDate, globalStore.state.visitTypeId));\r\n if (response) {\r\n response.scheduleDays = response.scheduleDays.map((x, i) => ({...x, slotBlockType: x.slotBlockType||''}))\r\n appointmentData.locationSchedules = response;\r\n \r\n appointmentData.locationSchedules.departments.forEach(x => {x.active = false; x.disabled = false});\r\n } else {\r\n appointmentData.locationSchedules = new LocationSchedule();\r\n }\r\n }\r\n \r\n const getTimeSlots = (day: WeekDay) : Timeslot[] => {\r\n const currentDate = add(data.weekStart, {days:day.day});\r\n return getTimeSlotsByDate(currentDate);\r\n }\r\n const selectTime = (timeslot:Timeslot, day: WeekDay) => {\r\n if(timeslot.isActive) {\r\n timeslot.isActive = false;\r\n processData.selectedDate = undefined;\r\n return;\r\n }\r\n resetTimeSlots();\r\n timeslot.isActive = true;\r\n let dateSelection = add(data.weekStart,{days:day.day});\r\n dateSelection.setHours(timeslot.hour);\r\n dateSelection.setMinutes(parseInt(timeslot.hourText.split(':')[1]));\r\n dateSelection.setSeconds(0);\r\n processData.selectedDate = dateSelection;\r\n processData.arrivalTime = timeslot.arriveByText;\r\n }\r\n const saveLocationAndDate = () => {\r\n processData.currentStage++;\r\n }\r\n\r\n const online = virtualVisitLocationFactory();\r\n \r\n return {\r\n ...toRefs(data),\r\n ...toRefs(processData),\r\n ...toRefs(appointmentData),\r\n ...toRefs(globalStore.state),\r\n online,\r\n isLoading,\r\n isValid,\r\n select,\r\n getNonBookableLocations,\r\n saveLocationAndDate,\r\n loadWeekSchedule,\r\n loadCurrentMonth,\r\n format,\r\n weekDays,\r\n mobileData,\r\n getTimeSlots,\r\n formatAddress,\r\n selectTime,\r\n };\r\n }\r\n})\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationDate.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationDate.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LocationDate.vue?vue&type=template&id=20adb969&scoped=true&\"\nimport script from \"./LocationDate.vue?vue&type=script&lang=ts&\"\nexport * from \"./LocationDate.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./LocationDate.vue?vue&type=style&index=0&id=20adb969&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"20adb969\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-confirmation zy-cont zx-flex zx-flex-col zx-justify-between\",attrs:{\"aria-label\":\"confirmation\",\"id\":\"zy-confirmation-container\"}},[(_vm.entryPoint.location === 'physician')?_c('doctor-heading'):(_vm.entryPoint.location === 'lab')?_c('lab-heading'):_c('location-header',{attrs:{\"on-location-entry\":false}}),(_vm.entryPoint.location === 'location' || _vm.entryPoint.location === 'clinic' || _vm.entryPoint.location === 'locationViewAllBranch')?_c('div',{staticClass:\"zx-flex zx-mb-2\",attrs:{\"role\":\"main\",\"id\":\"zy-summary-container\",\"aria-label\":\"summary\"}},[_c('div',{staticClass:\"zy-doctor-image-header-cont zx-w-full sm:zx-w-auto zy-shadow\",attrs:{\"aria-label\":\"doctor image\",\"id\":\"zy-provider-row-doctor-image\"}},[_c('img',{staticClass:\"zx-rounded-full zy-doctor-image-header\",attrs:{\"src\":_vm.globalStore.state.doctorImage != null ? _vm.globalStore.state.doctorImage.length > 0 ? _vm.globalStore.state.doctorImage : _vm.defaultImgUrl: _vm.defaultImgUrl,\"alt\":_vm.globalStore.state.doctorName}})]),_c('div',{staticClass:\"zx-ml-2\"},[_c('span',{staticClass:\"zx-font-semibold sm:zx-text-lg zy-gray-urls zx-opacity-80\"},[_vm._v(_vm._s(_vm.globalStore.state.doctorName))]),_c('span',{staticClass:\"zx-ml-2 zx-opacity-80 zx-text-lg text-subdued\",attrs:{\"id\":\"zy-summary-time-slot\"}},[_vm._v(\" at \"+_vm._s(_vm.format(_vm.selectedDate, \"h:mm a\"))+\" on \"+_vm._s(_vm.format(_vm.selectedDate, \"iiii, MMMM d\")))]),_vm._v(\" \"),(_vm.physicianList.length > 1)?_c('span',{staticClass:\"zx-ml-2 zx-text-lg\"},[_vm._v(\"(\"),_c('span',{staticClass:\"primary--text zy-clickable\",attrs:{\"aria-label\":\"change appointment time\"},on:{\"click\":_vm.goToLocationEntry}},[_vm._v(\"change provider\")]),_vm._v(\")\")]):_vm._e()])]):_c('div',{staticClass:\"zy-confirm-container zx-flex zx-flex-wrap\",attrs:{\"role\":\"main\",\"aria-label\":\"summary\"}},[_c('div',{staticClass:\"confirm-box zx-flex zx-flex-col zx-w-full sm:zx-mb-0 address-container\",staticStyle:{\"border-bottom\":\"1px solid #dce3eb\"}},[(_vm.selectedLocation)?_c('div',{staticClass:\"info visit-type sm:zx-p-0 \"},[(_vm.isVirtualVisit)?_c('svg',{staticClass:\"virtual-visit-icon\",attrs:{\"width\":\"20\",\"height\":\"14\",\"viewBox\":\"0 0 20 14\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M11.6736 0H1.65972C0.743056 0 0 0.743056 0 1.65972V11.6736C0 12.5903 0.743056 13.3333 1.65972 13.3333H11.6736C12.5903 13.3333 13.3333 12.5903 13.3333 11.6736V1.65972C13.3333 0.743056 12.5903 0 11.6736 0ZM18.25 1.30903L14.4444 3.93403V9.39931L18.25 12.0208C18.9861 12.5278 20 12.0104 20 11.125V2.20486C20 1.32292 18.9896 0.802083 18.25 1.30903Z\",\"fill\":\"#758592\"}})]):_vm._e(),(!_vm.isVirtualVisit)?_c('i',{staticClass:\"icon-location_pin zx-text-xl zx-mr-1 sm:zx-p-0 sm:zx-m-0 sm:zx-mr-1\"}):_vm._e(),_c('div',[(_vm.selectedLocation.address)?_c('span',{staticClass:\"zy-address-header-small zx-text-sm sm:zx-text-lg zx-mb-0 zx-pt-1 sm:zx-pt-0 zx-font-normal\",attrs:{\"id\":\"zy-summary-location-address\"}},[(_vm.entryPoint.location !== 'lab')?_c('div',{staticClass:\"main-address\"},[_vm._v(\" \"+_vm._s(_vm.isVirtualVisit? 'Virtual Video Visit': _vm.selectedLocation.name)+\" \")]):_vm._e(),_c('address',{staticClass:\"zy-address-header-small zx-text-sm sm:zx-text-xl zx-mb-0 zx-pt-1 sm:zx-pt-0 zx-font-light\",staticStyle:{\"display\":\"inline\"},attrs:{\"id\":\"zy-summary-location-address\"}},[_vm._v(\" \"+_vm._s(_vm.selectedLocation.address.streetAddress.concat( [_vm.selectedLocation.address.city], [((_vm.selectedLocation.address.state.abbreviation||'') + \" \" + (_vm.selectedLocation.address.postalCode||''))] ).filter(function (x) { return !!x && x !== ' '; }).join(', '))+\" \"),(((_vm.locationSchedules.departments.filter(function (x) { return !x.disabled; }).length > 1 || _vm.allowVirtualVisits) && _vm.entryPoint.location !== 'lab' && _vm.entryPoint.location !== 'clinic'))?_c('span',[_vm._v(\" (\"),_c('span',{staticClass:\"primary--text zy-clickable\",staticStyle:{\"text-decoration\":\"underline\",\"text-underline-position\":\"from-font\"},attrs:{\"aria-label\":\"change location\"},on:{\"click\":_vm.goToLocation}},[_vm._v(\"change location\")]),_vm._v(\") \")]):_vm._e()])]):_vm._e()])]):_vm._e(),(_vm.selectedDate)?_c('div',{staticClass:\"info zy-address-header-small zx-inline-flex\",attrs:{\"id\":\"zy-summary-time\"}},[_c('img',{staticClass:\"input-icon calander-icon zx-text-xl zx-mr-1\",attrs:{\"src\":(_vm.baseUrl + \"/img/calendar-dark.svg\")}}),_c('span',{staticClass:\"zy-hours-header zx-text-sm sm:zx-text-lg zx-block slot-time\"},[_vm._v(_vm._s(_vm.format(_vm.selectedDate, \"h:mm a\"))+\" on \"+_vm._s(_vm.format(_vm.selectedDate,\"iiii, MMMM do, y\"))+\" (\"),_c('span',{staticClass:\"primary--text zy-clickable\",staticStyle:{\"text-decoration\":\"underline\",\"text-underline-position\":\"from-font\"},attrs:{\"aria-label\":\"change appointment time\"},on:{\"click\":_vm.goToSchedule}},[_vm._v(\"update time\")]),_vm._v(\")\")])]):_vm._e()])]),_c('label',{staticClass:\"zx-block zx-text-2xl sm:zx-mb-2 sm:zx-ml-1 zy-doctor__title zx-font-semibold reason-label\",attrs:{\"id\":\"zy-confirmation-form-reason-label\",\"for\":\"reason\"}},[_vm._v(\"What's the reason for your visit?\")]),_c('form',{staticClass:\"zy-form-container zx-mt-2 zx-flex zx-flex-col zx-justify-between reason-form\",attrs:{\"id\":\"zy-confirmation-form\",\"lazy-validation\":\"\",\"role\":\"form\",\"aria-label\":\"confirm form\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.saveAppointment.apply(null, arguments)}}},[_c('div',{staticClass:\"zy-textbox zy-input-field zx-flex zx-flex-col xl:zx-w-1/2\"},[_vm._m(0),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reason),expression:\"reason\"}],staticClass:\"zy-textarea\",attrs:{\"id\":\"zy-confirmation-fom-reason\",\"aria-label\":\"Tell us why you are scheduling this appointment\",\"maxlength\":\"250\",\"type\":\"text\",\"placeholder\":\"Enter the reason here\",\"name\":\"reason\"},domProps:{\"value\":(_vm.reason)},on:{\"keyup\":_vm.handleTextArea,\"input\":function($event){if($event.target.composing){ return; }_vm.reason=$event.target.value}}}),_vm._v(\" \"),_c('div',{staticClass:\"zx-inline-flex zx-w-full zx-justify-between\"},[_c('span',{class:{'zy-text-green':_vm.greenStatus, 'zy-text-red':_vm.redStatus},attrs:{\"aria-label\":\"Limited characters\"}},[_vm._v(\"There is a limit in this area\")]),_c('span',{class:{'zy-text-green' :_vm.greenStatus, 'zy-text-red' :_vm.redStatus},attrs:{\"v-show\":_vm.greenStatus || _vm.redStatus}},[_vm._v(_vm._s(_vm.characterCount))])])]),_c('div',{staticClass:\"zy-form-acceptance zx-w-full\",attrs:{\"id\":\"zy-confirmation-form-policies-container\"}},[_c('div',{staticClass:\"zy-auth-checkbox zy-input-field checkbox\"},[_c('label',{staticClass:\"zx-flex zx-items-top\",attrs:{\"for\":\"tCAuthorization\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.tCAuthorization),expression:\"tCAuthorization\"}],staticClass:\"form-checkbox zx-mt-1\",attrs:{\"id\":\"zy-confirmation-form-policies-acknowledgement\",\"aria-label\":\"Checkbox\",\"type\":\"checkbox\",\"required\":\"\"},domProps:{\"checked\":Array.isArray(_vm.tCAuthorization)?_vm._i(_vm.tCAuthorization,null)>-1:(_vm.tCAuthorization)},on:{\"change\":function($event){var $$a=_vm.tCAuthorization,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.tCAuthorization=$$a.concat([$$v]))}else{$$i>-1&&(_vm.tCAuthorization=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.tCAuthorization=$$c}}}}),_c('span',{staticClass:\"zx-ml-4\",attrs:{\"aria-label\":\"I have read and accept Wellstar's Internet Privacy and Joint Notice of Privacy\"},on:{\"click\":_vm.toggletCAuthorization}},[_vm._v(\" I have read and accept \"),_c('a',{attrs:{\"aria-label\":\"Internet Privacy\",\"href\":\"/financial-policy-and-privacy-info/internet-privacy-policy\",\"target\":\"_blank\"}},[_vm._v(\"Wellstar's Internet Privacy Policy\")]),_vm._v(\" and \"),_c('a',{attrs:{\"aria-label\":\"Joint Notice of Privacy Practices\",\"href\":\"/financial-policy-and-privacy-info/joint-notice-of-privacy-practices\",\"target\":\"_blank\"}},[_vm._v(\"Joint Notice of Privacy Practices\")]),_vm._v(\". \")])])]),(_vm.slotBlockType === 'ONLINE-LAB')?_c('div',{staticClass:\"zy-auth-checkbox zy-input-field checkbox\"},[_c('label',{staticClass:\"zx-flex zx-items-top\",attrs:{\"for\":\"labOrderConfirmation\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.labOrderConfirmation),expression:\"labOrderConfirmation\"}],staticClass:\"form-checkbox zx-mt-1\",attrs:{\"id\":\"zy-lab-order-confirmation-checkbox\",\"aria-label\":\"Checkbox\",\"type\":\"checkbox\",\"required\":\"\"},domProps:{\"checked\":Array.isArray(_vm.labOrderConfirmation)?_vm._i(_vm.labOrderConfirmation,null)>-1:(_vm.labOrderConfirmation)},on:{\"change\":function($event){var $$a=_vm.labOrderConfirmation,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.labOrderConfirmation=$$a.concat([$$v]))}else{$$i>-1&&(_vm.labOrderConfirmation=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.labOrderConfirmation=$$c}}}}),_c('span',{staticClass:\"zx-ml-4\",attrs:{\"id\":\"zy-lab-order-confirmation-message\",\"aria-label\":\"I have a bloodwork lab order from my provider and will bring the paper order if my provider is outside of Wellstar.\"},on:{\"click\":_vm.togglelabOrderConfirmation}},[_vm._v(\"I have a bloodwork lab order from my provider and will bring the paper order if my provider is outside of Wellstar.\")])])]):_vm._e()]),_c('div',{staticClass:\"zx-w-full zx-flex zx-flex-nowrap zx-items-center sm:zx-flex-row zx-flex-col-reverse zx-justify-center sm:zx-justify-between sm:zx-mt-4\"},[_vm._m(1),_c('div',{staticClass:\"zx-w-full zx-flex zx-items-center sm:zx-flex-row zx-flex-col zx-justify-center sm:zx-justify-end sm:zx-mt-5 zy-mobile-footer-fixed\",attrs:{\"id\":\"zy-next-step-button-container\"}},[(!_vm.saving && !_vm.mobileData.isMobile)?_c('button',{staticClass:\"btn zx-underline btn-no-background\",attrs:{\"id\":\"zy-previous-step-button\",\"aria-label\":\"previous step button\",\"data-attr-id\":\"back-step-button\"},on:{\"click\":function($event){$event.preventDefault();return _vm.previousStage.apply(null, arguments)}}},[_vm._v(\"Back a step\")]):_vm._e(),(!_vm.isValid || _vm.saving)?_c('button',{staticClass:\"btn\",attrs:{\"id\":\"zy-confirm-button\",\"aria-label\":\"confirm button\",\"type\":\"submit\",\"disabled\":\"disabled\"}},[_vm._v(\"Confirm\")]):_vm._e(),(_vm.isValid && !_vm.saving)?_c('button',{staticClass:\"btn \",attrs:{\"id\":\"zy-confirm-step-button\",\"aria-label\":\"confirm button\",\"type\":\"submit\",\"data-attr-id\":\"appointment-confirmed-button\"}},[_vm._v(\"Confirm\")]):_vm._e()])])])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zx-inline-flex\"},[_c('label',{staticClass:\"zx-block zx-align-self-center zx-mb-0\",attrs:{\"for\":\"reason\"}},[_vm._v(\"Tell us why you are scheduling this appointment\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"zy-disclaimer zx-opacity-60 zx-text-center sm:zx-text-left sm:zx-w-1/3\",attrs:{\"id\":\"zy-form-disclaimer\"}},[_c('i',{staticClass:\"icon-lock zx-text-xl zx-mr-1\",attrs:{\"aria-label\":\"Secure Booking\",\"id\":\"zy-patient-form-securebooking\"}}),_c('span',{staticClass:\"zx-mt-1\"},[_vm._v(\"Secure booking\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { computed, defineComponent, reactive, toRefs } from '@vue/composition-api'\r\nimport { format, parseISO, isFuture } from 'date-fns';\r\nimport { currentSelectedLocationId, DialogStage, processData, isVirtualVisit, EnumStages, entryPoint, allowVirtualVisits } from '../helpers/process-helper'\r\nimport { apiService } from '../services';\r\nimport { appointmentData } from '../helpers/appointment-helper'\r\nimport { appointmentService } from \"../services/appointment-service\";\r\nimport { globalStore } from '../store';\r\nimport { mobileData, onResize } from '../helpers/mobile-helper';\r\nimport { TimeSlotExpiredError } from '../helpers/custom-error-helpers';\r\nimport DoctorHeading from '../components/DoctorHeading.vue';\r\nimport LabHeading from '../components/LabHeading.vue';\r\nimport LocationHeader from './Location/LocationHeader.vue';\r\n\r\n\r\nlet img1 = require('@/assets/images/calendar-dark.svg')\r\nlet img2 = require('@/assets/images/question.svg')\r\n\r\nexport default defineComponent({\r\n components: {DoctorHeading, LabHeading, LocationHeader},\r\n setup () {\r\n const patientForm = reactive({\r\n reason: '',\r\n saving: false,\r\n tCAuthorization: false,\r\n characterCount: '0/250',\r\n greenStatus: false,\r\n redStatus: false,\r\n baseUrl: processData.baseUrl,\r\n defaultImgUrl: '/-/media/Themes/WellStar/Org/WellStarOrg/WellStarTheme/images/search-result-profile',\r\n labOrderConfirmation: false\r\n })\r\n const previousStage = () => {\r\n processData.currentStage--;\r\n }\r\n const handleTextArea = (ev:KeyboardEvent) => {\r\n if(patientForm.reason.length >= 1 && patientForm.reason.length < 250) {\r\n patientForm.characterCount = `${patientForm.reason.length}/250`\r\n patientForm.greenStatus = true;\r\n patientForm.redStatus = false;\r\n\r\n }\r\n else if(patientForm.reason.length >= 250) {\r\n patientForm.greenStatus = false;\r\n patientForm.characterCount = `250/250`\r\n patientForm.redStatus = true;\r\n } \r\n else if(patientForm.reason.length == 0) {\r\n patientForm.greenStatus = false;\r\n patientForm.characterCount = `0/250`\r\n patientForm.redStatus = false;\r\n }\r\n }\r\n\r\n const createCommentsData = () => {\r\n let comments = [\r\n { key: 'Visit Reason:', value: patientForm.reason },\r\n { key: 'Insurance Carrier:', value: processData.selectedInsuranceCarrier.name },\r\n { key: 'Insurance Plan:', value: processData.selectedInsurancePlanName },\r\n { key: 'Booked By Wellstar.org', value: ''}\r\n ] as any;\r\n\r\n if (processData.additionalComments) {\r\n comments = comments.concat(processData.additionalComments);\r\n }\r\n\r\n return comments.map((comment) => comment.value\r\n ? `${comment.key} ${comment.value}`\r\n : comment.key\r\n ).join('\\r\\n');\r\n };\r\n\r\n const saveAppointment = async () => {\r\n // Lets set the expired flag back to false\r\n processData.timeSlotExpired = false;\r\n // Before we do anything lets make sure the slot is still valid\r\n const isTimeSlotValid = isFuture(processData.selectedDate)\r\n if(isTimeSlotValid) {\r\n patientForm.saving = true;\r\n try {\r\n var patientInfo = JSON.parse(sessionStorage.getItem('form'));\r\n let tempDate = patientInfo.birthDate.split(\"/\");\r\n patientInfo.birthDate = tempDate[2] + \"-\" + tempDate[0] + \"-\" +tempDate[1];\r\n if (patientInfo.gender == 'Decline to answer'){\r\n patientInfo.gender = 'Unknown';\r\n }\r\n if (patientInfo === null || typeof patientInfo !== 'object')\r\n throw 'Patient Info not found';\r\n\r\n const savePatientResult = (await apiService.post(`patients/`, patientInfo)).data;\r\n if (savePatientResult === null || typeof savePatientResult !== 'object' || savePatientResult.success !== true) {\r\n throw 'Exception saving patient info';\r\n }\r\n\r\n let patientId: string = savePatientResult.resource.patientId;\r\n let appt = await appointmentService.create({\r\n id:0,\r\n slotBlockType: processData.slotBlockType,\r\n isVirtual: globalStore.state.isVirtualVisit,\r\n comments: createCommentsData(),\r\n patientId,\r\n departmentId: currentSelectedLocationId.value.find(x => x.type === \"External\")?.id || processData.departmentId,\r\n providerNpi: globalStore.state.providerNpi,\r\n insuranceCarrierId: processData.selectedInsuranceCarrier?.id,\r\n insurancePlanId: processData.selectedInsurancePlanId,\r\n appointmentDate: format(processData.selectedDate as Date,\"yyyy-MM-dd\"),\r\n appointmentTime: format(processData.selectedDate as Date,\"HH:mm:ss\"),\r\n externalSchedulingClientID: globalStore.state.externalSchedulingClientID \r\n });\r\n if (!appt || !appt.id) {\r\n processData.currentStage = EnumStages[entryPoint.location].error;\r\n } else {\r\n processData.currentStage = EnumStages[entryPoint.location].success;\r\n } \r\n } catch (ex) {\r\n // If 400 is returned time slot has expired so set flag\r\n if (ex instanceof TimeSlotExpiredError) {\r\n processData.timeSlotExpired = true;\r\n }\r\n processData.currentStage = EnumStages[entryPoint.location].error;\r\n }\r\n finally {\r\n patientForm.saving = false;\r\n }\r\n } else {\r\n // Time slot is not in the future so lets set flag and show error\r\n processData.timeSlotExpired = true;\r\n processData.currentStage = EnumStages[entryPoint.location].error;\r\n }\r\n }\r\n const goToLocationEntry = () => {\r\n processData.currentStage = EnumStages[entryPoint.location].locationEntry;\r\n }\r\n const goToSchedule = () => {\r\n processData.currentStage = EnumStages[entryPoint.location].pickSchedule;\r\n }\r\n const goToLocation = () => {\r\n processData.currentStage = EnumStages[entryPoint.location].setLocation;\r\n }\r\n \r\n const isValid = computed(() => {\r\n return (patientForm.reason.length > 0 && patientForm.reason.length < 250 && patientForm.tCAuthorization) && (processData.slotBlockType !== \"ONLINE-LAB\" || patientForm.labOrderConfirmation);\r\n })\r\n\r\n const cancel = () => {\r\n if (!globalStore.state.isIframe) {\r\n processData.showModal = false;\r\n }\r\n }\r\n\r\n const toggletCAuthorization = () => {\r\n patientForm.tCAuthorization = !patientForm.tCAuthorization;\r\n }\r\n\r\n const togglelabOrderConfirmation = () => {\r\n patientForm.labOrderConfirmation = !patientForm.labOrderConfirmation;\r\n }\r\n return {\r\n ...toRefs(patientForm),\r\n ...toRefs(appointmentData),\r\n allowVirtualVisits,\r\n isVirtualVisit,\r\n isValid,\r\n goToSchedule,\r\n goToLocation,\r\n ...toRefs(processData),\r\n goToLocationEntry,\r\n toggletCAuthorization,\r\n globalStore,\r\n format,\r\n parseISO,\r\n previousStage,\r\n saveAppointment,\r\n handleTextArea,\r\n mobileData,\r\n DialogStage,\r\n cancel,\r\n entryPoint,\r\n EnumStages,\r\n togglelabOrderConfirmation,\r\n };\r\n }\r\n})\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Confirmation.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Confirmation.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Confirmation.vue?vue&type=template&id=4d2300dd&scoped=true&\"\nimport script from \"./Confirmation.vue?vue&type=script&lang=ts&\"\nexport * from \"./Confirmation.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Confirmation.vue?vue&type=style&index=0&id=4d2300dd&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4d2300dd\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-booked zy-cont zx-grid\",attrs:{\"aria-label\":\"Confirmation Screen\",\"id\":\"zy-booked-container\"}},[_c('div',{staticClass:\"zx-flex zx-flex-col zx-items-center zx-justify-between zx-flex-1\"},[(!_vm.mobileData.isMobile)?_c('div',{staticStyle:{\"display\":\"flex\",\"justify-content\":\"space-between\",\"align-items\":\"center\",\"width\":\"100%\"}},[_c('span',{staticClass:\"zx-uppercase zx-text-sm zx-opacity-40\",attrs:{\"aria-label\":\"Book an Appointment\",\"id\":\"zy-provider-banner-header\"}},[_vm._v(\"Book An Appointment\")]),(!_vm.isIframe)?_c('i',{staticClass:\"icon-close zx-text-2xl\",staticStyle:{\"cursor\":\"pointer\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.cancel.apply(null, arguments)}}}):_vm._e()]):_vm._e(),_c('div',{staticClass:\"zx-flex zx-flex-wrap zx-flex-col zx-self-center sm:zx-w-3/4 zx-mt-3 zx-mb-12 sm:zx-mb-0 sm:zx-mt-3\",attrs:{\"role\":\"main\",\"aria-label\":\"booked\"}},[_c('div',{staticClass:\"left zx-self-center zx-w-2/3 sm:zx-w-1/3 zx-mb-2\"},[_c('img',{staticClass:\"zx-w-full\",attrs:{\"src\":(_vm.baseUrl + \"/img/online-illustration.svg\"),\"alt\":\"Appointment booked\"}})]),_c('div',{staticClass:\"right zx-w-full sm:zx-p-0 zx-pl-4\"},[_c('h3',{staticClass:\"zx-text-3xl sm:zx-text-5xl zx-m-0 zx-font-bold prim-text\",attrs:{\"id\":\"zy-appointment-booked-message\"}},[_vm._v(\"Thank you \"+_vm._s(_vm.firstName)+\", your appointment has been booked!\")])]),_c('div',{staticClass:\"zx-flex zx-flex-wrap sm:zx-p-0 zx-pl-4\",attrs:{\"role\":\"main\",\"id\":\"zy-summary-container\",\"aria-label\":\"summary\"}},[_c('div',{staticClass:\"confirm-box zx-flex zx-flex-col zx-w-full sm:zx-mb-0 zx-mb-5 zx-pb-4 sm:zx-mr-3\"},[(_vm.slotBlockType === 'ONLINE-LAB')?_c('div',{staticClass:\"zx-text-lg zx-font-medium zx-p-1\",attrs:{\"id\":\"zy-summary-doctor-confirmation\",\"aria-label\":\"summary-doctor-confirmation\"}},[_vm._v(\"Your appointment at \"),_c('span',{staticClass:\"zx-font-bold\"},[_vm._v(_vm._s(_vm.labName)+\":\")])]):_c('div',{staticClass:\"zx-text-lg zx-font-medium zx-p-1\",attrs:{\"id\":\"zy-summary-doctor-confirmation\",\"aria-label\":\"summary-doctor-confirmation\"}},[_vm._v(\"Your appointment with \"),_c('span',{staticClass:\"zx-font-bold\"},[_vm._v(_vm._s(_vm.doctorName)+\":\")])]),_c('div',{staticClass:\"zx-flex zx-flex-col zx-pl-6\"},[(_vm.selectedDate)?_c('div',{staticClass:\"info zx-inline-flex zx-m-2\",attrs:{\"id\":\"zy-summary-time\"}},[_c('img',{staticClass:\"input-icon zy-calendar-icon_booked zx-text-xl zx-mr-4\",attrs:{\"src\":(_vm.baseUrl + \"/img/calendar-dark.svg\")}}),_c('span',{staticClass:\"zx-text-base zx-block\"},[_c('span',{staticClass:\"zx-text-lg sm:zx-text-xl zx-font-bold\",attrs:{\"id\":\"zy-summary-time-date\"}},[_vm._v(_vm._s(_vm.format(_vm.selectedDate,\"iiii, MMMM do, y\")))]),_c('br'),_c('span',{staticClass:\"zx-font-semibold\",attrs:{\"id\":\"zy-summary-time-slot\"}},[_vm._v(_vm._s(_vm.format(_vm.selectedDate, \"h:mm a\"))+\" - \"+_vm._s(_vm.format(_vm.addHours(_vm.selectedDate,1), \"h:mm a\"))+\" \")]),_c('span',[_vm._v(\" | please \"+_vm._s(_vm.isVirtualVisit?'log on' : 'arrive')+\" by \"+_vm._s(_vm.preArrivalTime))]),_c('br')])]):_vm._e(),(_vm.selectedLocation)?_c('div',{staticClass:\"info zx-inline-flex zx-m-2\"},[(_vm.isVirtualVisit)?_c('svg',{staticStyle:{\"zoom\":\"1.2\",\"margin-top\":\"inherit\",\"margin-right\":\".5rem\"},attrs:{\"width\":\"20\",\"height\":\"14\",\"viewBox\":\"0 0 23 17\",\"fill\":\"none\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M11.6736 0.5H1.65972C0.743056 0.5 0 1.24306 0 2.15972V12.1736C0 13.0903 0.743056 13.8333 1.65972 13.8333H11.6736C12.5903 13.8333 13.3333 13.0903 13.3333 12.1736V2.15972C13.3333 1.24306 12.5903 0.5 11.6736 0.5ZM18.25 1.80903L14.4444 4.43403V9.89931L18.25 12.5208C18.9861 13.0278 20 12.5104 20 11.625V2.70486C20 1.82292 18.9896 1.30208 18.25 1.80903Z\",\"fill\":\"#758592\"}})]):_vm._e(),(!_vm.isVirtualVisit)?_c('i',{staticClass:\"icon-location_pin zx-text-xl zx-mr-1 sm:zx-p-0 sm:zx-m-0 sm:zx-mr-1\"}):_vm._e(),(_vm.selectedLocation.address)?_c('span',{staticClass:\"zx-block\"},[_c('address',{staticClass:\"zx-text-base zx-mb-0 zx-font-normal \",attrs:{\"id\":\"zy-summary-location-address\"}},[_c('span',{staticClass:\"zx-text-lg sm:zx-text-xl zx-font-bold\"},[_vm._v(_vm._s(_vm.isVirtualVisit ? 'Virtual Video Visit' : _vm.slotBlockType === 'ONLINE-LAB' ? 'Lab Visit' : _vm.selectedLocation.name))]),_c('br'),(_vm.isVirtualVisit)?_c('span',[_vm._v(\"Connect via camera from the comfort of your home.\")]):_c('span',[_vm._v(\" \"+_vm._s(_vm.selectedLocation.address.streetAddress.join(', '))+\" \")]),_c('br'),(!_vm.isVirtualVisit)?_c('span',[_vm._v(_vm._s(_vm.selectedLocation.address.city)+\", \"+_vm._s(_vm.selectedLocation.address.state.abbreviation)+\" \"+_vm._s(_vm.selectedLocation.address.postalCode))]):_vm._e(),_c('br')])]):_vm._e()]):_vm._e()]),(_vm.isVirtualVisit)?_c('div',{staticClass:\"zx-text-lg zx-font-small\"},[_vm._v(\"If there are any concerns regarding your appointment, please call the location for direct support from the care team at \"),_c('a',{staticClass:\"location-number\",attrs:{\"data-attr-id\":\"click-to-call-appointment-booked\",\"data-link-id\":\"truevirtualvisit\",\"href\":(\"tel:\" + (_vm.stripPhoneNumber(_vm.phone)))}},[_vm._v(_vm._s(_vm.phone))]),_vm._v(\".\")]):(!_vm.contactStatement || !_vm.contactPhoneNumber)?_c('div',{staticClass:\"zx-text-lg zx-font-small\"},[_vm._v(\"If there are any concerns regarding your appointment, please call the location for direct support from the care team at \"),_c('a',{staticClass:\"location-number\",attrs:{\"data-attr-id\":\"click-to-call-appointment-booked\",\"data-link-id\":\"truevirtualvisit\",\"href\":(\"tel:\" + (_vm.stripPhoneNumber(_vm.phone)))}},[_vm._v(_vm._s(_vm.phone))]),_vm._v(\".\")]):_c('div',{staticClass:\"zx-text-lg zx-font-small\",attrs:{\"id\":\"zy-appointment-booked-contact-statement\"}},[_vm._v(_vm._s(_vm.contactStatement)+\" \"),_c('a',{staticClass:\"location-number\",attrs:{\"data-attr-id\":\"click-to-call-appointment-booked\",\"data-link-id\":\"truevirtualvisit\",\"href\":(\"tel:\" + (_vm.stripPhoneNumber(_vm.contactPhoneNumber)))}},[_vm._v(_vm._s(_vm.contactPhoneNumber))]),_vm._v(\".\")])])])]),_c('div',{staticClass:\"zx-text-right zx-self-end zy-mobile-footer-fixed\",attrs:{\"id\":\"zy-next-step-button-container\"}},[(!_vm.isIframe)?_c('button',{staticClass:\"btn zx-mb-3\",attrs:{\"id\":\"zy-done-button\",\"aria-label\":\"done button\"},on:{\"click\":_vm.hideModal}},[_vm._v(\"Done\")]):_vm._e()])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { computed, defineComponent, onMounted, reactive, toRefs } from '@vue/composition-api'\r\nimport { processData, isVirtualVisit, entryPoint } from '../helpers/process-helper'\r\nimport { globalStore } from '../store';\r\nimport { format, addHours, addMinutes, parse } from 'date-fns';\r\nimport { mobileData } from '../helpers/mobile-helper'\r\nimport { formatPhoneNumber } from '../helpers/helpers';\r\nimport { getPrimaryContactNumber, stripPhoneNumber } from '../helpers/location-helper';\r\nimport providerLocationService from \"../services/provider-locations-service\";\r\nimport { locationsToDepartments } from \"../helpers/location-helper\";\r\n\r\nlet image = require('@/assets/images/online-illustration.svg')\r\n\r\nexport default defineComponent({\r\n setup () {\r\n const data = reactive({\r\n baseUrl: processData.baseUrl\r\n })\r\n onMounted(async () => {\r\n dispatchEvent();\r\n if (!globalStore.state.doctorPhone && processData.slotBlockType !== \"ONLINE-LAB\") {\r\n try {\r\n let response = (await providerLocationService.getProviderLocationsFromSitecore(globalStore?.state?.doctorUrl));\r\n if (response) {\r\n const providerLocations = locationsToDepartments(response);\r\n const firstLocationWithNumber = providerLocations.find(location => location?.phones[0]?.number || false);\r\n globalStore.state.doctorPhone = firstLocationWithNumber?.phones[0]?.number;\r\n }\r\n } catch (e) {\r\n console.error(e);\r\n }\r\n }\r\n })\r\n const hideModal = () => {\r\n // dispatched completed\r\n if (!globalStore.state.isIframe) {\r\n processData.showModal = false;\r\n }\r\n }\r\n const firstName = computed(() => {\r\n return processData.patientName.split(' ')[0];\r\n })\r\n\r\n const preArrivalTime = computed(() => {\r\n if (entryPoint.location !== 'lab') {\r\n return format( addMinutes(processData.selectedDate, -15), \"h:mm a\");\r\n } else {\r\n return processData.arrivalTime;\r\n }\r\n })\r\n\r\n const dispatchEvent = () => {\r\n // lets create a custom event when the modal closes and dispatch it for react :JS\r\n let currentEvent = globalStore.state.doctorName.split(',')[0];\r\n currentEvent = currentEvent+'&close';\r\n const updatedCurrentEvent = currentEvent.split(\" \").join(\"&\");\r\n const refreshEvent = new CustomEvent(updatedCurrentEvent,{detail: {date: format(processData.selectedDate,\"yyyy-MM-dd\"), time: format(processData.selectedDate, \"h:mm\")}});\r\n document.dispatchEvent(refreshEvent);\r\n }\r\n const cancel = () => {\r\n if (!globalStore.state.isIframe) {\r\n processData.showModal = false;\r\n } \r\n }\r\n\r\n const phone = computed(() => {\r\n return getPrimaryContactNumber(globalStore, processData);\r\n })\r\n\r\n return {\r\n ...toRefs(processData),\r\n ...toRefs(globalStore.state),\r\n hideModal,\r\n firstName,\r\n preArrivalTime,\r\n format,\r\n cancel,\r\n addHours,\r\n addMinutes,\r\n parse,\r\n mobileData,\r\n phone,\r\n isVirtualVisit,\r\n stripPhoneNumber,\r\n entryPoint,\r\n };\r\n }\r\n})\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Booked.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Booked.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Booked.vue?vue&type=template&id=898cd3b2&scoped=true&\"\nimport script from \"./Booked.vue?vue&type=script&lang=ts&\"\nexport * from \"./Booked.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Booked.vue?vue&type=style&index=0&id=898cd3b2&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"898cd3b2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"outer-content-container\",class:{'zy-virtual-visits': _vm.somePhysiciansAllowVirtualVisits, 'zy-has-directions': _vm.sitecoreLocation&&_vm.sitecoreLocation.directions != null},attrs:{\"id\":\"zy-location-entry-container-1\",\"aria-label\":\"Location Scheduling Screen\"}},[_c('location-header',{attrs:{\"on-location-entry\":true},on:{\"changeLocaiton\":_vm.switchInPersonVirtualVideoTab}}),(_vm.isLoading || _vm.loadingAppts)?_c('loading',{class:{'zy-expanded': _vm.sitecoreLocation&&_vm.sitecoreLocation.directions == null},attrs:{\"id\":\"zy-loading-component\"}}):_vm._e(),(_vm.noAppointments)?_c('div',{staticClass:\"zy-no-appts-cont zx-flex zx-justify-center zx-items-center zx-font-bold zx-text-3xl zy-gray-urls zx-opacity-70\",class:{'zy-expanded': _vm.sitecoreLocation&&_vm.sitecoreLocation.directions == null}},[_vm._v(\"No appointments available for this location\")]):_vm._e(),(_vm.sitecoreLocation&&_vm.sitecoreLocation.providers.length > 0 && !_vm.isLoading && !_vm.noAppointments && !_vm.loadingAppts)?_c('div',{staticClass:\"zx-grow zy-entry-date-and-time-container zx-ml-0 lg:zx-ml-4\",class:{'zy-expanded': _vm.sitecoreLocation&&_vm.sitecoreLocation.directions == null},attrs:{\"id\":\"zy-location-entry-date-picker-container-1\",\"aria-label\":\"Choose physician, date and time container\"}},[_c('div',{staticClass:\"zx-flex zx-justify-between datepicker-title\"},[_c('span',{attrs:{\"id\":\"zy-choose-date-and-time-label\",\"aria-label\":\"Choose physician, date and time\"}},[_vm._v(\" Choose date and time \")]),(_vm.somePhysiciansAllowVirtualVisits)?_c('div',{staticClass:\"zx-flex virtual-video-header-container\",attrs:{\"id\":\"zy-location-entry-virtual-visit-tabs\"}},[_c('button',{staticClass:\"virtual-person-header-label\",class:{ enabled: _vm.inPersonEnabled },attrs:{\"id\":\"zy-location-tabs-in-person-choice\",\"aria-label\":\"In-Person Appointments\"},on:{\"click\":function($event){return _vm.switchInPersonVirtualVideoTab('in-person')}}},[_vm._v(\" In-Person \")]),_c('button',{staticClass:\"virtual-video-header-label\",class:{ enabled: _vm.virtualVideoEnabled },attrs:{\"id\":\"zy-location-tabs-virtual-video-choice\",\"aria-label\":\"Virtual Video Visit Appointments\"},on:{\"click\":function($event){return _vm.switchInPersonVirtualVideoTab('virtual video')}}},[_c('svg',{staticClass:\"virtual-visit-icon zx-mr-3 zx-mt-1.5\",attrs:{\"fill\":_vm.virtualVideoEnabled ? '#8347ad' : '#898e92',\"id\":\"virtual-video-icon\",\"width\":\"20\",\"height\":\"13.3\",\"viewBox\":\"0 0 20 14\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M11.6736 0H1.65972C0.743056 0 0 0.743056 0 1.65972V11.6736C0 12.5903 0.743056 13.3333 1.65972 13.3333H11.6736C12.5903 13.3333 13.3333 12.5903 13.3333 11.6736V1.65972C13.3333 0.743056 12.5903 0 11.6736 0ZM18.25 1.30903L14.4444 3.93403V9.39931L18.25 12.0208C18.9861 12.5278 20 12.0104 20 11.125V2.20486C20 1.32292 18.9896 0.802083 18.25 1.30903Z\"}})]),_vm._v(\" Virtual Video \")])]):_vm._e()]),(!_vm.mobileData.isMobile)?_c('div',{staticClass:\"zy-location-entry-column-headers zx-grid zx-grid-cols-2 zx-pr-14\",attrs:{\"id\":\"zy-location-entry-date-picker-container-2\"}},[_c('div',{staticClass:\"zy-date-picker-button\",attrs:{\"id\":\"scheduling-date-picker-container\",\"aria-label\":\"Deploy date picker pop up\"},on:{\"click\":_vm.datePickerClick}},[_c('date-picker',{ref:\"datepick\",staticClass:\"opacity-0\",attrs:{\"aria-label\":_vm.isToday()? 'Today,' + _vm.format(_vm.currentDate,' MMM dd') : _vm.format(_vm.currentDate,'iii, MMM dd'),\"id\":\"date-picker\",\"format\":\"MM/DD/YYYY\",\"value-type\":\"date\",\"disabled-date\":_vm.disabledRange},on:{\"close\":_vm.datePickerPick,\"pick\":_vm.datePickerPick},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:\"currentDate\"}}),_c('span',{staticClass:\"zx-font-medium zx-absolute zx-text-center\",attrs:{\"id\":\"zy-date-showcase\",\"aria-label\":_vm.isToday()? 'Today,' + _vm.format(_vm.currentDate,' MMM dd') : _vm.format(_vm.currentDate,'iii, MMM dd')}},[_c('img',{staticClass:\"zy-date-picker-calendar-icon\",attrs:{\"src\":(_vm.baseUrl + \"/img/calendar.svg\")}}),_vm._v(\" \"+_vm._s(_vm.isToday()? 'Today,' + _vm.format(_vm.currentDate,' MMM dd') : _vm.format(_vm.currentDate,'iii, MMM dd')))])],1),_c('div',{staticClass:\"zx-items-center\",staticStyle:{\"display\":\"inline-flex\"},attrs:{\"id\":\"zy-date-grouping-1\",\"aria-label\":\"Navigate through dates section\"}},[_c('div',{staticClass:\"zy-location-columns-header-container zx-grid zx-grid-cols-3 zx-gap-y-1 zx-gap-x-3\",attrs:{\"id\":\"zy-date-grouping-2\"}},[_c('div',{staticClass:\"zx-date-column-header zx-text-center\",staticStyle:{\"position\":\"relative\"},attrs:{\"id\":\"zy-date-grouping-first\"}},[(!_vm.isToday())?_c('img',{staticClass:\"zy-arrow\",staticStyle:{\"position\":\"absolute\",\"top\":\"18px\",\"left\":\"-20px\"},attrs:{\"id\":\"scheduling-calendar-back-arrow\",\"aria-label\":\"show previous dates\",\"src\":(_vm.baseUrl + \"/img/back-carrot.svg\")},on:{\"click\":function($event){$event.stopPropagation();return _vm.datesBack.apply(null, arguments)}}}):_c('img',{staticClass:\"zy-arrow\",class:{'disabled': _vm.isToday()},staticStyle:{\"position\":\"absolute\",\"top\":\"18px\",\"left\":\"-20px\"},attrs:{\"id\":\"scheduling-calendar-back-arrow-disabled\",\"aria-label\":\"can't show dates before today\",\"src\":(_vm.baseUrl + \"/img/back-carrot-disabled.svg\")},on:{\"click\":function($event){$event.stopPropagation();return _vm.datesBack.apply(null, arguments)}}}),_c('span',{attrs:{\"aria-label\":_vm.format(_vm.addBusinessDays(_vm.currentDate,0),'iii')}},[_vm._v(_vm._s(_vm.format(_vm.addBusinessDays(_vm.currentDate,0),'iii')))]),_c('br'),_c('span',{staticClass:\"zx-font-semibold\",attrs:{\"aria-label\":_vm.format(_vm.addBusinessDays(_vm.currentDate,0),'MMM dd')}},[_vm._v(_vm._s(_vm.format(_vm.addBusinessDays(_vm.currentDate,0),'MMM dd')))])]),_c('div',{staticClass:\"zx-date-column-header zx-text-center\",attrs:{\"id\":\"zy-date-grouping-second\"}},[_c('span',{attrs:{\"aria-label\":_vm.format(_vm.addBusinessDays(_vm.currentDate,1),'iii')}},[_vm._v(_vm._s(_vm.format(_vm.addBusinessDays(_vm.currentDate,1),'iii')))]),_c('br'),_c('span',{staticClass:\"zx-font-semibold\",attrs:{\"aria-label\":_vm.format(_vm.addBusinessDays(_vm.currentDate,1),'MMM dd')}},[_vm._v(_vm._s(_vm.format(_vm.addBusinessDays(_vm.currentDate,1),'MMM dd')))])]),_c('div',{staticClass:\"zx-date-column-header zx-text-center\",staticStyle:{\"position\":\"relative\"},attrs:{\"id\":\"zy-date-grouping-third\"}},[_c('span',{attrs:{\"aria-label\":_vm.format(_vm.addBusinessDays(_vm.currentDate,2),'iii')}},[_vm._v(_vm._s(_vm.format(_vm.addBusinessDays(_vm.currentDate,2),'iii')))]),_c('br'),_c('span',{staticClass:\"zx-font-semibold\",attrs:{\"aria-label\":_vm.format(_vm.addBusinessDays(_vm.currentDate,2),'MMM dd')}},[_vm._v(_vm._s(_vm.format(_vm.addBusinessDays(_vm.currentDate,2),'MMM dd')))]),_c('img',{staticClass:\"zy-arrow\",staticStyle:{\"position\":\"absolute\",\"top\":\"18px\",\"right\":\"-20px\"},attrs:{\"id\":\"scheduling-calendar-next-arrow\",\"aria-label\":\"show next three dates\",\"src\":(_vm.baseUrl + \"/img/forward-carrot.svg\")},on:{\"click\":function($event){$event.stopPropagation();return _vm.datesForward.apply(null, arguments)}}})])])])]):_vm._e(),_c('div',{staticClass:\"zy-physician-row-container\",class:{'expanded': _vm.sitecoreLocation&&_vm.sitecoreLocation.directions == null},attrs:{\"aria-label\":\"Physician Schedules Container\"}},[(_vm.mobileData.isMobile)?_c('div',{staticClass:\"zy-location-entry-column-headers\",attrs:{\"id\":\"zy-location-entry-date-picker-container-2\"}},[_c('div',{staticClass:\"zx-items-center zy-mobile-date-picker-container\",attrs:{\"id\":\"zy-date-grouping-1\",\"aria-label\":\"Navigate through dates section\"}},[_c('div',{staticClass:\"zx-text-center\",attrs:{\"id\":\"zy-date-grouping-first\"}},[(!_vm.isToday())?_c('img',{staticClass:\"zy-arrow zy-arrow-left\",attrs:{\"aria-label\":\"show previous dates\",\"src\":(_vm.baseUrl + \"/img/back-carrot.svg\")},on:{\"click\":function($event){$event.stopPropagation();return _vm.datesBackMobile.apply(null, arguments)}}}):_c('img',{staticClass:\"zy-arrow zy-arrow-left\",class:{'disabled': _vm.isToday()},attrs:{\"aria-label\":\"can't show dates before today\",\"src\":(_vm.baseUrl + \"/img/back-carrot-disabled.svg\")},on:{\"click\":function($event){$event.stopPropagation();return _vm.datesBack.apply(null, arguments)}}})]),_c('div',{staticClass:\"zy-date-picker-button\",staticStyle:{\"position\":\"relative\"},attrs:{\"aria-label\":\"Deploy date picker pop up\"},on:{\"click\":_vm.datePickerClick}},[_c('date-picker',{ref:\"datepick\",staticClass:\"opacity-0\",attrs:{\"aria-label\":_vm.isToday()? 'Today,' + _vm.format(_vm.currentDate,' MMM dd') : _vm.format(_vm.currentDate,'iii, MMM dd'),\"id\":\"date-picker\",\"format\":\"MM/DD/YYYY\",\"value-type\":\"date\",\"disabled-date\":_vm.disabledRange},on:{\"close\":_vm.datePickerPick,\"pick\":_vm.datePickerPick},model:{value:(_vm.currentDate),callback:function ($$v) {_vm.currentDate=$$v},expression:\"currentDate\"}}),_c('span',{staticClass:\"zx-font-medium zx-absolute zx-text-center\",attrs:{\"id\":\"zy-date-showcase\",\"aria-label\":_vm.isToday()? 'Today,' + _vm.format(_vm.currentDate,' MMM dd') : _vm.format(_vm.currentDate,'iii, MMM dd')}},[_c('img',{staticClass:\"zy-date-picker-calendar-icon\",attrs:{\"src\":(_vm.baseUrl + \"/img/calendar.svg\")}}),_vm._v(\" \"+_vm._s(_vm.isToday()? 'Today,' + _vm.format(_vm.currentDate,' MMM dd') : _vm.format(_vm.currentDate,'EEEE, MMM dd')))])],1),_c('div',{staticClass:\"zx-text-center\",attrs:{\"id\":\"zy-date-grouping-third\"}},[_c('img',{staticClass:\"zy-arrow\",attrs:{\"aria-label\":\"show next three dates\",\"src\":(_vm.baseUrl + \"/img/forward-carrot.svg\")},on:{\"click\":function($event){$event.stopPropagation();return _vm.datesForwardMobile.apply(null, arguments)}}})])]),_c('div',{staticClass:\"zx-items-center zy-mobile-date-col-headers\",attrs:{\"id\":\"zy-date-grouping-1\",\"aria-label\":\"Navigate through dates section\"}},[_c('div',{staticClass:\"zy-location-columns-header-container zx-grid zx-grid-cols-3 zx-gap-y-1 zx-gap-x-3\",attrs:{\"id\":\"zy-date-grouping-2\"}},[_c('div',{staticClass:\"zx-date-column-header zx-text-center\",staticStyle:{\"position\":\"relative\"},attrs:{\"id\":\"zy-date-grouping-first\"}},[_c('span',{attrs:{\"aria-label\":_vm.format(_vm.addBusinessDays(_vm.currentDate,0),'iii')}},[_vm._v(_vm._s(_vm.format(_vm.addBusinessDays(_vm.currentDate,0),'iii')))]),_c('br'),_c('span',{staticClass:\"zx-font-semibold\",attrs:{\"aria-label\":_vm.format(_vm.addBusinessDays(_vm.currentDate,0),'MMM dd')}},[_vm._v(_vm._s(_vm.format(_vm.addBusinessDays(_vm.currentDate,0),'MMM dd')))])]),_c('div',{staticClass:\"zx-date-column-header zx-text-center\",attrs:{\"id\":\"zy-date-grouping-second\"}},[_c('span',{attrs:{\"aria-label\":_vm.format(_vm.addBusinessDays(_vm.currentDate,1),'iii')}},[_vm._v(_vm._s(_vm.format(_vm.addBusinessDays(_vm.currentDate,1),'iii')))]),_c('br'),_c('span',{staticClass:\"zx-font-semibold\",attrs:{\"aria-label\":_vm.format(_vm.addBusinessDays(_vm.currentDate,1),'MMM dd')}},[_vm._v(_vm._s(_vm.format(_vm.addBusinessDays(_vm.currentDate,1),'MMM dd')))])]),_c('div',{staticClass:\"zx-date-column-header zx-text-center\",staticStyle:{\"position\":\"relative\"},attrs:{\"id\":\"zy-date-grouping-third\"}},[_c('span',{attrs:{\"aria-label\":_vm.format(_vm.addBusinessDays(_vm.currentDate,2),'iii')}},[_vm._v(_vm._s(_vm.format(_vm.addBusinessDays(_vm.currentDate,2),'iii')))]),_c('br'),_c('span',{staticClass:\"zx-font-semibold\",attrs:{\"aria-label\":_vm.format(_vm.addBusinessDays(_vm.currentDate,2),'MMM dd')}},[_vm._v(_vm._s(_vm.format(_vm.addBusinessDays(_vm.currentDate,2),'MMM dd')))])])])])]):_vm._e(),_c('div',{staticClass:\"zy-physicians-row-list\"},[_vm._l(((_vm.virtualVideoEnabled ? _vm.vvPhysicianList : _vm.physicianList)),function(provider,index){return _c('physician-row',{key:index,ref:'pp' + provider.npid.toString(),refInFor:true,attrs:{\"physician\":provider,\"date\":_vm.currentDate},on:{\"pick\":_vm.timeSlotPicked}})}),_c('div',{staticClass:\"sm:zx-w-1/2 zy-schedule-helper-text-mobile\",attrs:{\"id\":\"zy-schedule-helper-text\"}},[_vm._v(\" Please call us at \"),(_vm.isKSU)?_c('a',{staticClass:\"zy-schedule-helper-text-mobile-number\",attrs:{\"href\":(\"tel: \" + (_vm.sitecoreLocation.phones[0].number)),\"data-id\":\"phone-link\"}},[_vm._v(_vm._s(_vm.sitecoreLocation.phones[0].number))]):_c('a',{staticClass:\"zy-schedule-helper-text-mobile-number\",attrs:{\"data-id\":\"phone-link\",\"href\":(\"tel:\" + (_vm.stripPhoneNumber(_vm.phone)))}},[_vm._v(_vm._s(_vm.phone))]),_vm._v(\", if you don’t see the appointment availability you are looking for. \")])],2)])]):_vm._e(),_c('div',{staticClass:\"zx-w-full zx-justify-self-end zx-flex zx-justify-end sm:zx-justify-between zx-pt-4\",attrs:{\"id\":\"zy-next-step-button-container\"}},[_c('div',{class:_vm.mobileData.isMobile && _vm.noAppointments ? 'zy-schedule-helper-text-mobile' : 'zy-schedule-helper-text',attrs:{\"id\":\"zy-schedule-helper-text\"}},[_vm._v(\" Please call us at \"),(_vm.isKSU)?_c('a',{staticClass:\"zy-schedule-helper-text-mobile-number\",attrs:{\"href\":(\"tel: \" + (_vm.sitecoreLocation.phones[0].number)),\"data-id\":\"phone-link\"}},[_vm._v(_vm._s(_vm.sitecoreLocation.phones[0].number))]):_c('a',{staticClass:\"zy-schedule-helper-text-mobile-number\",attrs:{\"data-id\":\"phone-link\",\"href\":(\"tel:\" + (_vm.stripPhoneNumber(_vm.phone)))}},[_vm._v(_vm._s(_vm.phone))]),_vm._v(\", if you don’t see the appointment availability you are looking for. \")]),_c('div',{staticClass:\"zy-button-container zx-flex zx-flex-col zx-items-center sm:zx-items-end sm:zx-justify-end sm:zx-flex-row zy-mobile-footer-fixed\"},[(!_vm.isValid)?_c('button',{staticClass:\"btn sm:zx-m-0 zy-mb-0\",attrs:{\"id\":\"zy-next-step-button\",\"aria-label\":\"next step button\",\"type\":\"submit\",\"disabled\":\"disabled\"}},[_vm._v(\"Next Step\")]):_vm._e(),(_vm.isValid)?_c('button',{staticClass:\"btn sm:zx-m-0 zy-mb-0\",attrs:{\"id\":\"zy-next-step-button\",\"aria-label\":\"next step button\"},on:{\"click\":_vm.saveLocationAndDate}},[_vm._v(\"Next Step\")]):_vm._e()])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { BaseService } from './base-service';\r\nimport { apiService } from './api';\r\nimport { PhysicianDetailModel, ProviderDto } from '@/store/entities/provider-dto';\r\n\r\nexport class ProviderDetailService extends BaseService {\r\n constructor() {\r\n super('providers/GetPhysicianDetail');\r\n }\r\n\r\n async getPhysicianDetailFromSitecore(providerUrls:string[]) : Promise | undefined> {\r\n let response = await apiService.post>(this.apiName, providerUrls);\r\n if (response.status === 200 || response.status === 201) {\r\n return response.data as Array;\r\n }\r\n return undefined;\r\n }\r\n}\r\nconst providerService = new ProviderDetailService();\r\nexport default providerService;\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-row-container\",attrs:{\"id\":\"zy-physician-row-container-1\",\"aria-label\":\"Physician Schedule Row\"}},[_c('div',{staticClass:\"zx-grid zy-physician-row-container\",attrs:{\"id\":\"zy-physician-row-container-2\"}},[_c('div',{staticClass:\"zy-doctor-row zx-flex\",attrs:{\"id\":\"zy-physician-row-container-3\",\"aria-label\":\"Physician Information\"}},[_c('div',{staticClass:\"zy-doctor__image zx-w-full zx-text-center sm:zx-w-auto zy-shadow\",attrs:{\"aria-label\":\"doctor image\",\"id\":\"zy-provider-row-doctor-image\"}},[_c('div',{staticClass:\"zy-doctor-relative\"},[_c('provider-avatar',{attrs:{\"avatar\":_vm.physician.photoImage.imagePath || _vm.defaultImgUrl,\"avatar-alt\":_vm.physician.photoImage.imageAlt,\"swoosh\":_vm.physician.distinction.swoosh,\"star-icon\":_vm.physician.distinction.starIcon,\"lockup\":_vm.physician.distinction.lockup,\"lockup-alt\":_vm.physician.distinction.lockupAlt}})],1)]),_c('div',{staticClass:\"zy-doctor-info\",attrs:{\"id\":\"zy-physician-row-doctor-info\"}},[_c('div',{staticClass:\"zx-font-semibold zx-text-xl secondary--text\",attrs:{\"id\":\"zy-physician-row-doctor-name\",\"aria-label\":_vm.getPhysicianFullname(_vm.physician)}},[_vm._v(_vm._s(_vm.getPhysicianFullname(_vm.physician)))]),_c('div',{staticClass:\"zy-doctor-specialty\",attrs:{\"id\":\"zy-physician-row-doctor-specialty\",\"aria-label\":_vm.physician.primarySpecialty}},[_vm._v(_vm._s(_vm.physician.primarySpecialty))]),(!!_vm.physician.distinction.affiliateLabel)?_c('div',{staticClass:\"zy-affiliate\",attrs:{\"id\":\"zy-physician-row-doctor-affiliate\"}},[_c('div',{staticClass:\"zy-id-card\",attrs:{\"id\":\"zy-physician-row-doctor-id-card\"}},[_c('img',{attrs:{\"src\":(_vm.baseUrl + \"/img/id-card.svg\")}})]),_vm._v(\" \"+_vm._s(_vm.physician.distinction.affiliateLabel)+\" \")]):_vm._e(),_c('div',{staticClass:\"zx-flex zx-items-center\"},[_c('star-rating',{attrs:{\"id\":\"zy-physician-row-doctor-rating\",\"rating\":_vm.physician.ratings}}),_c('span',{staticClass:\"zx-ml-2 zx-font-medium zy-physician-reviewcount\",attrs:{\"id\":\"zy-physician-row-doctor-reviews\",\"aria-label\":\"navigate to physician reviews\"}},[_vm._v(_vm._s(_vm.physician.reviewCount)+\" Reviews\")])],1),(_vm.allowVirtualVisits)?_c('div',{staticClass:\"zx-flex zx-items-center zx-justify-center virtual-visits-feature-chip\",attrs:{\"data-id\":\"physician-virtual-visit-chip\"}},[_c('img',{attrs:{\"src\":(_vm.baseUrl + \"/img/video-call.svg\")}}),_c('span',[_vm._v(\"Virtual Video Visits\")])]):_vm._e()])]),(_vm.nextAvailableDate.daysWithinRange)?_c('div',[_c('div',{staticClass:\"zy-location-timeslot-columns-container zx-grid zx-grid-cols-3 zx-gap-x-5\",attrs:{\"id\":\"zy-physician-timeslots-container-1\",\"aria-label\":\"Physician Schedule\"}},_vm._l((_vm.slots),function(slot){return _c('div',{key:slot == undefined ? Math.random().toString() : slot.departmentID,attrs:{\"id\":\"zy-physician-timeslots-container-2\",\"aria-label\":\"Time Slots column\"}},[(_vm.rowHeight > 3 && _vm.collapsed == true)?_c('div',{attrs:{\"id\":\"zy-physician-timeslots-container-3\"}},_vm._l((3),function(n){return _c('div',{key:n},[(slot !== undefined && slot.slots !== undefined && slot.slots[n-1] !== undefined)?_c('button',{staticClass:\"btn btn-enabled zx-relative zx-font-medium\",class:{'active': slot.slots[n-1].isActive},attrs:{\"id\":'zy'+ slot.date + slot.slots[n-1].hourText,\"aria-label\":'choose ' + slot.slots[n-1].hourText + ' time slot'},on:{\"click\":function($event){$event.stopPropagation();return _vm.timeSlotClick(_vm.physicianModel, slot, slot.slots[n-1])}}},[_vm._v(_vm._s(slot.slots[n-1].hourText))]):_c('div',{staticClass:\"zy-empty-slot zx-flex zx-h-full zx-justify-center zx-items-center zx-font-medium\",attrs:{\"id\":\"zy-no-timeslot\",\"aria-label\":\"no appointment\"}},[_vm._v(\"-\")])])}),0):_c('div',{attrs:{\"id\":\"zy-physician-timeslots-container-3\"}},_vm._l((_vm.rowHeight),function(n){return _c('div',{key:n},[(slot !== undefined && slot.slots !== undefined && slot.slots[n-1] !== undefined)?_c('button',{staticClass:\"btn btn-enabled zx-relative zx-font-medium\",class:{'active': slot.slots[n-1].isActive},attrs:{\"id\":'zy'+ slot.date + slot.slots[n-1].hourText,\"aria-label\":'choose ' + slot.slots[n-1].hourText + ' time slot'},on:{\"click\":function($event){$event.stopPropagation();return _vm.timeSlotClick(_vm.physicianModel, slot, slot.slots[n-1])}}},[_vm._v(_vm._s(slot.slots[n-1].hourText))]):_c('div',{staticClass:\"zy-empty-slot zx-flex zx-h-full zx-justify-center zx-items-center zx-font-medium\",attrs:{\"id\":\"zy-no-timeslot\",\"aria-label\":\"no appointment\"}},[_vm._v(\"-\")])])}),0)])}),0),_c('div',{staticClass:\"zy-more-timeslots-container\"},[(_vm.checkSlotsForMoreTimes(_vm.slots))?_c('button',{staticClass:\"zy-more-timeslots-button\",attrs:{\"id\":\"zy-more-timeslots\",\"aria-label\":\"See more time slots\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.moreClick.apply(null, arguments)}}},[_vm._v(\"More Times \"),_c('img',{attrs:{\"src\":(_vm.baseUrl + \"/img/large-down-arrow.svg\")}})]):_vm._e()])]):_vm._e(),(!_vm.nextAvailableDate.daysWithinRange && _vm.nextAvailableDate.daysOutOfRange)?_c('div',{attrs:{\"aria-label\":\"schedule the next available appointment\",\"id\":\"zy-next-available-appointment-message\"}},[_c('p',{staticClass:\"zy-next-dates-available\"},[_c('span',[_vm._v(\"Provider is available on \"+_vm._s(_vm.nextAvailableDate.month)+\" \"+_vm._s(_vm.nextAvailableDate.day)+\".\")]),_c('span',{staticClass:\"zy-schedule-provider-details-link\"},[_c('button',{attrs:{\"id\":\"zy-schedule-physician-link\",\"aria-label\":\"Schedule with this Provider\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.viewAllSlots(_vm.physician)}}},[_vm._v(\"Schedule with this Provider\")]),_c('img',{attrs:{\"src\":(_vm.baseUrl + \"/img/large-right-arrow.svg\")}})])])]):_vm._e(),(!_vm.nextAvailableDate.daysWithinRange && !_vm.nextAvailableDate.daysOutOfRange)?_c('div',{attrs:{\"aria-label\":\"no available appointments, please call\",\"id\":\"zy-no-available-appointments-message\"}},[_c('p',{staticClass:\"zy-no-dates-available\"},[_vm._v(\"Not seeing the appointment you want?\"),_c('br'),_vm._v(\" Call our office for help with scheduling.\"),_c('br'),_vm._v(\" \"),_c('a',{staticClass:\"zy-schedule-helper-text-mobile-number\",attrs:{\"href\":(\"tel:\" + (_vm.stripPhoneNumber(_vm.phone)))}},[_vm._v(_vm._s(_vm.phone))])]),_c('span',{staticClass:\"zy-view-provider-details-link\"},[_c('a',{attrs:{\"id\":\"zy-physician-details-link\",\"href\":'https://' + _vm.physician.urlField,\"aria-label\":\"View Provider Details\"}},[_vm._v(\"View Provider Details\")]),_c('img',{attrs:{\"src\":(_vm.baseUrl + \"/img/large-right-arrow.svg\")}})])]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import styles from './provider-avatar.css';\r\n\r\nconst providerAvatarTmpl = document.createElement('template');\r\nproviderAvatarTmpl.innerHTML = `\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n`;\r\n\r\nclass ProviderAvatar extends HTMLElement {\r\n constructor() {\r\n super().attachShadow({ mode: 'open' }).appendChild(providerAvatarTmpl.content.cloneNode(true));\r\n this.contentWidth = undefined;\r\n this.resizeObserver = new ResizeObserver(entries => {\r\n const newWidth = entries[0].contentRect.width;\r\n if (newWidth && newWidth !== this.contentWidth) {\r\n this.contentWidth = newWidth;\r\n this.render();\r\n }\r\n });\r\n }\r\n\r\n connectedCallback() {\r\n this.resizeObserver.observe(this.shadowRoot.querySelector('[part=\"container\"]'));\r\n }\r\n\r\n static get observedAttributes() {\r\n return ['avatar', 'avatar-alt', 'swoosh', 'star-icon', 'lockup', 'inverted-lockup', 'lockup-alt', 'inverted'];\r\n }\r\n\r\n attributeChangedCallback(name, oldValue, newValue) {\r\n if (oldValue !== newValue) this.render();\r\n }\r\n\r\n get avatar() {\r\n return this.getAttribute('avatar');\r\n }\r\n\r\n set avatar(val) {\r\n if (val) this.setAttribute('avatar', val);\r\n else this.removeAttribute('avatar');\r\n }\r\n\r\n get avatarAlt() {\r\n return this.getAttribute('avatar-alt');\r\n }\r\n\r\n set avatarAlt(val) {\r\n if (val) this.setAttribute('avatar-alt', val);\r\n else this.removeAttribute('avatar-alt');\r\n }\r\n\r\n get swoosh() {\r\n return this.getAttribute('swoosh');\r\n }\r\n\r\n set swoosh(val) {\r\n if (val) this.setAttribute('swoosh', val);\r\n else this.removeAttribute('swoosh');\r\n }\r\n\r\n get starIcon() {\r\n return this.getAttribute('star-icon');\r\n }\r\n\r\n set starIcon(val) {\r\n if (val) this.setAttribute('star-icon', val);\r\n else this.removeAttribute('star-icon');\r\n }\r\n\r\n get lockup() {\r\n return this.getAttribute('lockup');\r\n }\r\n\r\n set lockup(val) {\r\n if (val) this.setAttribute('lockup', val);\r\n else this.removeAttribute('lockup');\r\n }\r\n\r\n get invertedLockup() {\r\n return this.getAttribute('inverted-lockup');\r\n }\r\n\r\n set invertedLockup(val) {\r\n if (val) this.setAttribute('inverted-lockup', val);\r\n else this.removeAttribute('inverted-lockup');\r\n }\r\n\r\n get lockupAlt() {\r\n return this.getAttribute('lockup-alt');\r\n }\r\n\r\n set lockupAlt(val) {\r\n if (val) this.setAttribute('lockup-alt', val);\r\n else this.removeAttribute('lockup-alt');\r\n }\r\n\r\n get isInverted() {\r\n return this.hasAttribute('inverted');\r\n }\r\n\r\n set isInverted(val) {\r\n if (val) this.setAttribute('inverted', '');\r\n else this.removeAttribute('inverted');\r\n }\r\n\r\n static hide(elem) {\r\n if (elem) elem.style.display = 'none';\r\n }\r\n\r\n static show(elem) {\r\n if (elem) elem.style.display = '';\r\n }\r\n\r\n render() {\r\n const avatarImg = this.shadowRoot.querySelector('[part=\"avatar\"]');\r\n avatarImg.setAttribute('src', this.avatar);\r\n avatarImg.setAttribute('alt', this.avatarAlt);\r\n\r\n const swooshImg = this.shadowRoot.querySelector('[part=\"swoosh\"]');\r\n if (!this.swoosh) {\r\n ProviderAvatar.hide(swooshImg);\r\n } else {\r\n swooshImg.setAttribute('src', this.swoosh);\r\n ProviderAvatar.show(swooshImg);\r\n }\r\n\r\n const strokeEl = this.shadowRoot.querySelector('[part=\"stroke\"]');\r\n if (strokeEl && this.contentWidth) {\r\n const strokeWidth = Math.max(this.contentWidth / 50, 2);\r\n strokeEl.style.outlineWidth = `${strokeWidth}px`;\r\n strokeEl.style.outlineOffset = `-${strokeWidth}px`;\r\n }\r\n\r\n const starIconImg = this.shadowRoot.querySelector('[part=\"star-icon\"]');\r\n if (!this.starIcon) {\r\n ProviderAvatar.hide(starIconImg);\r\n } else {\r\n starIconImg.setAttribute('src', this.starIcon);\r\n ProviderAvatar.show(starIconImg);\r\n }\r\n\r\n const lockupImg = this.shadowRoot.querySelector('[part=\"lockup\"]');\r\n if (!this.lockup) {\r\n ProviderAvatar.hide(lockupImg);\r\n } else {\r\n lockupImg.setAttribute('src', this.isInverted ? this.invertedLockup : this.lockup);\r\n lockupImg.setAttribute('alt', this.lockupAlt);\r\n ProviderAvatar.show(lockupImg);\r\n }\r\n }\r\n}\r\n\r\nif (!customElements.get('provider-avatar')) customElements.define('provider-avatar', ProviderAvatar);\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"star-container\",attrs:{\"aria-label\":\"star rating container\",\"id\":\"zy-star-rating-container\"}},[_c('img',{staticClass:\"star-icon\",attrs:{\"aria-label\":\"star\",\"src\":(_vm.baseUrl + \"/img/star.svg\")}}),_c('span',{staticClass:\"star-rating\",attrs:{\"aria-label\":\"rating\"}},[_vm._v(_vm._s(_vm.rating))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\r\nimport {defineComponent, reactive, toRefs} from \"@vue/composition-api\";\r\nimport { processData } from \"../../helpers/process-helper\";\r\nlet img1 = require('@/assets/images/star.svg')\r\n\r\ninterface StarRatingProps {\r\n rating: String\r\n}\r\n\r\nexport default defineComponent({\r\n props:{\r\n rating: String\r\n },\r\n setup(props: StarRatingProps){\r\n const data = reactive({\r\n baseUrl: processData.baseUrl\r\n })\r\n return {...toRefs(processData)}\r\n }\r\n})\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StarRating.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StarRating.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./StarRating.vue?vue&type=template&id=da5b3908&scoped=true&\"\nimport script from \"./StarRating.vue?vue&type=script&lang=ts&\"\nexport * from \"./StarRating.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./StarRating.vue?vue&type=style&index=0&id=da5b3908&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"da5b3908\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { computed, defineComponent, onMounted, reactive, toRefs, watch } from \"@vue/composition-api\";\r\nimport { PhysicianDetailModel, ProviderDto } from '@/store/entities/provider-dto';\r\nimport { DaySlots, Timeslot } from '@/store/entities/location-dto';\r\nimport \"../Common/provider-avatar.js\";\r\nimport StarRating from \"../Common/StarRating.vue\"\r\nimport { appointmentData, getTimeSlotsByDateFromArray } from \"../../helpers/appointment-helper\";\r\nimport { globalStore } from '../../store/modules/global-store';\r\nimport { mobileData } from '../../helpers/mobile-helper';\r\nimport { add } from \"date-fns\";\r\nimport { PropType } from \"vue\";\r\nimport { processData, EnumStages, entryPoint } from \"../../helpers/process-helper\";\r\nimport { getPrimaryContactNumber, isSameDepartment, stripPhoneNumber } from '../../helpers/location-helper';\r\nimport { getPhysicianFullname} from '../../helpers/physician-helper';\r\nimport { format, getDay, isEqual, parseISO, set } from 'date-fns';\r\nlet img1 = require('@/assets/images/video-call.svg')\r\nlet img2 = require('@/assets/images/large-down-arrow.svg')\r\nlet img3 = require('@/assets/images/large-right-arrow.svg')\r\nlet imgIdCard = require('@/assets/images/id-card.svg');\r\n\r\ninterface PhysicianRowProps {\r\n physician?: Object\r\n date?: Date\r\n}\r\n\r\nexport default defineComponent({\r\n components: {StarRating},\r\n props: {\r\n physician: {\r\n type: Object as PropType,\r\n required: true\r\n },\r\n date: Date\r\n },\r\n setup(props: PhysicianRowProps,{emit}){\r\n onMounted(() => {\r\n initialize(props.date)\r\n })\r\n watch(() => props.date, (newValue) => {\r\n initialize(newValue)\r\n })\r\n\r\n const initialize = (date: Date) => {\r\n data.physicianModel = props.physician as PhysicianDetailModel;\r\n data.allowVirtualVisits = data.physicianModel.allowVirtualVisits;\r\n data.slot1 = getTimeSlotsByDateFromArray(date, data.physicianModel.allTimeSlots);\r\n data.slot2 = getTimeSlotsByDateFromArray(add(date, {days: 1}), data.physicianModel.allTimeSlots);\r\n data.slot3 = getTimeSlotsByDateFromArray(add(date, {days: 2}), data.physicianModel.allTimeSlots);\r\n data.slots = [data.slot1,data.slot2,data.slot3]\r\n data.collapsed = true;\r\n }\r\n const data = reactive({\r\n physicianModel: undefined,\r\n slots: new Array(3).fill(new DaySlots()),\r\n slot1: new DaySlots(),\r\n slot2: new DaySlots(),\r\n slot3: new DaySlots(),\r\n collapsed: true,\r\n defaultImgUrl: '/-/media/Themes/WellStar/Org/WellStarOrg/WellStarTheme/images/search-result-profile',\r\n baseUrl: processData.baseUrl,\r\n lastHScroll: 0,\r\n allowVirtualVisits: false\r\n })\r\n const phone = computed(() => {\r\n return getPrimaryContactNumber(globalStore, processData);\r\n })\r\n const rowHeight = computed(() => {\r\n let arr = data.slots.filter(x => x !== undefined).map(x => x.slots.length) as number[];\r\n return Math.max(...arr) < 4 ? 4 : Math.max(...arr)\r\n })\r\n const timeSlotClick = (physician: PhysicianDetailModel, daySlot: DaySlots, timeSlot: Timeslot) => {\r\n data.slots.forEach(dayslot => {\r\n if (dayslot == undefined) {\r\n return\r\n } else {\r\n dayslot.slots.forEach(timeslot => {\r\n if (dayslot.date === daySlot.date && dayslot.departmentId === daySlot.departmentId && timeSlot.hourText === timeslot.hourText){\r\n timeslot.isActive = !timeslot.isActive\r\n } else {\r\n timeslot.isActive = false;\r\n }\r\n })\r\n }\r\n })\r\n emit('pick',{physician, daySlot, timeSlot})\r\n }\r\n const viewAllSlots = (physician) => {\r\n globalStore.state.providerNpi = physician.npid;\r\n globalStore.state.doctorName = getPhysicianFullname(physician);\r\n globalStore.state.doctorTitle = physician.specialtyTitle;\r\n globalStore.state.doctorUrl = physician.urlField;\r\n if (!physician.photoImage.imagePath) {\r\n physician.photoImage.imagePath = \"/-/media/Themes/WellStar/Org/WellStarOrg/WellStarTheme/images/defaultimage\";\r\n }\r\n globalStore.state.doctorImage = physician.photoImage.imagePath;\r\n globalStore.state.isPartOfWellStarGroup = physician.isPartOfWellStarGroup;\r\n globalStore.state.allowVirtualVisits = physician.allowVirtualVisits;\r\n\r\n\r\n appointmentData.locationSchedules = processData.physicianList.find(x => x.npid == globalStore.state.providerNpi).locationSchedule\r\n appointmentData.allTimeSlots = processData.physicianList.find(x => x.npid == globalStore.state.providerNpi).allTimeSlots\r\n \r\n const npiPhysician = processData.physicianList.find(x => x.npid == globalStore.state.providerNpi);\r\n const pLocation = npiPhysician.locationSchedule.departments.find(x => isSameDepartment(x,processData.sitecoreLocation));\r\n processData.selectedLocation = pLocation;\r\n if(pLocation) {\r\n entryPoint.location = 'locationViewAllBranch'; \r\n processData.currentStage = EnumStages[entryPoint.location].pickSchedule;\r\n }\r\n\r\n }\r\n const moreClick = () => {\r\n data.collapsed = false;\r\n }\r\n const resetTimeSlots = () => {\r\n data.slots.forEach(dayslot => {\r\n if (dayslot == undefined) {\r\n return\r\n } else {\r\n dayslot.slots.forEach(timeslot => {\r\n timeslot.isActive = false;\r\n })\r\n }\r\n })\r\n }\r\n\r\n const checkSlotsForMoreTimes = (slots) => {\r\n const hasMoreslots = slots.some(slotColumn => {\r\n return slotColumn?.slots?.length > 3;\r\n });\r\n\r\n return hasMoreslots && data.collapsed;\r\n }\r\n const nextAvailableDate = computed(() => {\r\n\r\n let res = {\r\n areDaysWithinRange: null,\r\n month: '',\r\n day: '',\r\n areDaysOutOfRange: null,\r\n lastAvailableDate: null,\r\n selectedDateLaterThanLastDate: null,\r\n areDatesAvailable: null\r\n };\r\n \r\n let workingPhysician = props.physician;\r\n let scheduleDays = workingPhysician['locationSchedule'].scheduleDays;\r\n\r\n let selectedDate = props.date;\r\n let today = new Date().setHours(0,0,0,0);\r\n let tomorrow = add(selectedDate, {days: 1});\r\n let dayAfter = add(selectedDate, {days: 2});\r\n \r\n //-> traverse scheduleDays\r\n let daysBeforeRange = [];\r\n let daysWithinRange = [];\r\n let daysOutOfRange = [];\r\n\r\n scheduleDays.forEach((val, index) => {\r\n let newDate = new Date(val.date);\r\n\r\n if ( newDate < selectedDate ) {\r\n daysBeforeRange.push(newDate);\r\n } \r\n else if( newDate >= selectedDate && newDate <= dayAfter ) {\r\n daysWithinRange.push(newDate);\r\n } else {\r\n daysOutOfRange.push(newDate);\r\n }\r\n })\r\n\r\n res['areDatesAvailable'] = scheduleDays.length !== 0;\r\n res['daysBeforeRange'] = daysBeforeRange.length > 0;\r\n res['daysWithinRange'] = daysWithinRange.length > 0;\r\n res['daysOutOfRange'] = daysOutOfRange.length > 0;\r\n\r\n //-> are there dates out of range (of selected date?), get the earliest available\r\n let earliestAvailableDate = null;\r\n let lastAvailableDate = null;\r\n\r\n if(daysOutOfRange.length > 0){\r\n earliestAvailableDate = daysOutOfRange.reduce((a,b) => {\r\n return a > b ? b : a;\r\n });\r\n\r\n lastAvailableDate = daysOutOfRange.reduce((a,b) => {\r\n return a < b ? b : a;\r\n });\r\n \r\n res['earliestAvailableDate'] = earliestAvailableDate;\r\n res['lastAvailableDate'] = lastAvailableDate;\r\n res.month = format(earliestAvailableDate,'MMM');\r\n res.day = format(earliestAvailableDate,'dd');\r\n }\r\n\r\n return res;\r\n })\r\n\r\n return {\r\n ...toRefs(data),\r\n initialize,\r\n timeSlotClick,\r\n resetTimeSlots,\r\n moreClick,\r\n rowHeight,\r\n mobileData,\r\n viewAllSlots,\r\n checkSlotsForMoreTimes,\r\n nextAvailableDate,\r\n getPhysicianFullname,\r\n phone,\r\n stripPhoneNumber,\r\n };\r\n }\r\n\r\n})\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PhysicianRow.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PhysicianRow.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PhysicianRow.vue?vue&type=template&id=370af702&scoped=true&\"\nimport script from \"./PhysicianRow.vue?vue&type=script&lang=ts&\"\nexport * from \"./PhysicianRow.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./PhysicianRow.vue?vue&type=style&index=0&id=370af702&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"370af702\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { computed, defineComponent, onMounted, reactive, ref, toRefs, watch } from '@vue/composition-api';\r\nimport { processData, EnumStages, entryPoint, isVirtualVisit } from '../../helpers/process-helper';\r\nimport { mobileData, onResize } from '../../helpers/mobile-helper';\r\nimport providerDetailService from \"../../services/provider-detail-service\";\r\nimport PhysicianRow from \"./PhysicianRow.vue\";\r\nimport LocationHeader from './LocationHeader.vue';\r\nimport Loading from '../Common/Loading.vue';\r\nimport HorizontalScroll from '../Common/HorizontalScroll.vue';\r\nimport add from 'date-fns/add/index';\r\nimport { format, getDay, isEqual, parseISO, set,addBusinessDays } from 'date-fns';\r\nimport locationService from '../../services/location-service';\r\nimport { LocationSchedule } from '../../store/entities/location-dto';\r\nimport { appointmentData, getDatesBetween, returnTimeSlots, getFirstNonEmptySlotDate, getTodayDate } from '../../helpers/appointment-helper';\r\nimport { virtualVisitLocationFactory } from '../../helpers/virtual-visit-helpers';\r\nimport { getToday } from '../../helpers/date-helpers';\r\nimport { getPhysicianFullname } from '../../helpers/physician-helper';\r\nimport { globalStore, isLoading } from '../../store/modules/global-store';\r\nimport DatePicker from 'vue2-datepicker';\r\nimport 'vue2-datepicker/index.css';\r\nimport { departmentIsInList, getPrimaryContactNumber, isSameDepartment, stripPhoneNumber } from '../../helpers/location-helper';\r\n\r\nlet img3 = require('@/assets/images/calendar.svg')\r\nlet img2 = require('@/assets/images/back-carrot.svg')\r\nlet img1 = require('@/assets/images/forward-carrot.svg')\r\nlet img4 = require('@/assets/images/back-carrot-disabled.svg')\r\nlet img5 = require('@/assets/images/video-call.svg')\r\n\r\nexport default defineComponent({\r\n components: {\r\n PhysicianRow,\r\n Loading,\r\n DatePicker,\r\n LocationHeader\r\n },\r\n setup(){\r\n watch(() => processData.currentStage, async (newValue, oldValue) => {\r\n if(newValue == EnumStages[entryPoint.location].locationEntry && oldValue == EnumStages[entryPoint.location].error) {\r\n initialize(); \r\n }\r\n });\r\n onMounted(async () => {\r\n onResize();\r\n\r\n if (globalStore.state.isVirtualVisit === true) {\r\n processData.inPersonEnabled = false;\r\n processData.virtualVideoEnabled = true;\r\n processData.selectedLocationDropDownLocation = 'virtualVideoVisits';\r\n }\r\n\r\n if (processData.physicianList.length == 0){\r\n await initialize();\r\n }\r\n else {\r\n processData.selectedDate = null\r\n const today = getTodayDate();\r\n data.currentDate = getFirstNonEmptySlotDate(today, processData.physicianList,processData.sitecoreLocation.iDs[0].id);\r\n resetTimeSlots();\r\n }\r\n })\r\n const slotsMap = new Set()\r\n const data = reactive({\r\n loadingAppts: false,\r\n currentDate: getToday(),\r\n datePicked: getToday(),\r\n disabledRange: function (date) {\r\n return date < add(getToday(), {days: -1}) || !slotsMap.has(format(date,'yyyy-MM-dd'));\r\n },\r\n baseUrl: processData.baseUrl,\r\n noAppointments: false,\r\n datesRetrieved: []\r\n })\r\n const initialize = async () => {\r\n globalStore.state.isLoading = true;\r\n if(typeof processData.sitecoreLocation != 'object' || processData.sitecoreLocation.providers?.length == 0) return;\r\n var physicianUrls = processData.sitecoreLocation.providers?.map(x => {\r\n return \"/physicians/\" + x.pageUrl;\r\n })\r\n processData.physicianList = await providerDetailService.getPhysicianDetailFromSitecore(physicianUrls);\r\n processData.physicianList = processData.physicianList.filter(x => x.enableOnlineScheduling === true)\r\n await loadCurrentMonth();\r\n globalStore.state.isLoading = false;\r\n if(processData.physicianList.length == 0){\r\n data.noAppointments = true;\r\n }\r\n }\r\n const phone = computed(() => {\r\n return getPrimaryContactNumber(globalStore, processData);\r\n })\r\n const resetTimeSlots = () => {\r\n processData.physicianList.forEach(x => x.allTimeSlots.forEach(x=> x.slots.forEach(y => y.isActive = false)));\r\n }\r\n const loadCurrentMonth = async (date:Date = undefined) => {\r\n const isVirtualVisit = globalStore.state.isVirtualVisit;\r\n const locationDeptIds = processData.sitecoreLocation.iDs.map(id => id.id);\r\n data.loadingAppts = true\r\n if (!date)\r\n date = getToday()\r\n \r\n data.currentDate = date\r\n var endOfMonth = add(date, { months: 3 })\r\n endOfMonth.setDate(0)\r\n\r\n await Promise.all(processData.physicianList.map(async (x) => {\r\n if (!isVirtualVisit || isVirtualVisit && x.allowVirtualVisits) {\r\n let dates = await loadDatesForTimePeriod(x.npid, date, endOfMonth, x.locationSchedule);\r\n if (dates != null){\r\n x.locationSchedule = dates;\r\n }\r\n x.allTimeSlots = returnTimeSlots(x.locationSchedule);\r\n x.allTimeSlots = x.allTimeSlots.filter(x => locationDeptIds.includes(x.departmentId));\r\n x.allTimeSlots.forEach(x => slotsMap.add(x.date))\r\n }\r\n }))\r\n \r\n // Removes providers who turn out to not have any timeslot data at all.\r\n // Modifies the \"global\" list of providers, which has far-reaching consequences.\r\n // e.g., toggling to VV mode needs to fetch fresh data for all providers but the list is already shortened.\r\n processData.physicianList = processData.physicianList.filter(x => x.allTimeSlots && x.allTimeSlots.length > 0);\r\n processData.physicianList = processData.physicianList.filter(x => {\r\n return departmentIsInList(processData.sitecoreLocation, x.locationSchedule.departments)\r\n });\r\n \r\n if (processData.isKSU) {\r\n // Explicitly turn off VV option for the 'Location' flow launched from KSU via 'Practitioners Available'.\r\n // As of 12/2023 there are too many data edge cases that this page's logic fails to handle.\r\n processData.somePhysiciansAllowVirtualVisits = false;\r\n } else {\r\n processData.somePhysiciansAllowVirtualVisits = processData.physicianList.some(phy => phy.allowVirtualVisits === true);\r\n }\r\n processData.vvPhysicianList = processData.physicianList.filter(ph => ph.allowVirtualVisits === true);\r\n\r\n data.currentDate = getFirstNonEmptySlotDate(date, processData.physicianList,processData.sitecoreLocation.iDs[0].id);\r\n data.loadingAppts = false\r\n\r\n const day = getDay(date)\r\n const dateStart = add(date, {\r\n days: -1*day\r\n })\r\n const dateEnd = add(date, {\r\n days: 6-day\r\n })\r\n resetTimeSlots()\r\n }\r\n const getDateArray = (dateStart:Date, dateEnd:Date) => {\r\n let dates = []\r\n let thisDate = dateStart;\r\n while (thisDate < dateEnd) {\r\n dates.push(new Date(thisDate));\r\n thisDate = add(thisDate,{days: 1});\r\n }\r\n return dates;\r\n }\r\n const loadDatesForTimePeriod = async (npid: string,dateStart:Date, dateEnd:Date, providerSchedule:LocationSchedule) => {\r\n const formattedStartDate = format(dateStart, \"yyyy-MM-dd\");\r\n const formattedEndDate = format(dateEnd, \"yyyy-MM-dd\");\r\n // check whether you already have these dates in the schedule\r\n let dataPresent = false;\r\n if(data.datesRetrieved.includes(formattedStartDate) || data.datesRetrieved.includes(formattedEndDate)){\r\n dataPresent = true;\r\n }\r\n\r\n if (!dataPresent){\r\n let visitTypeId = globalStore.state.visitTypeId;\r\n if (processData.isKSU) {\r\n visitTypeId = globalStore.state.isVirtualVisit ? '645' : '855';\r\n }\r\n\r\n let response = (await locationService.getLocationsAndSchedulesForProvider(npid, formattedStartDate, formattedEndDate, visitTypeId));\r\n if (response) {\r\n data.datesRetrieved = data.datesRetrieved.concat(getDateArray(dateStart,dateEnd).map(x => format(x, \"yyyy-MM-dd\")));\r\n providerSchedule = response;\r\n providerSchedule.departments.forEach(x => {x.active = false; x.disabled = false});\r\n } else {\r\n providerSchedule = new LocationSchedule();\r\n }\r\n return providerSchedule;\r\n }\r\n return null;\r\n }\r\n const datesForward = () => {\r\n loadCurrentMonth(addBusinessDays(data.currentDate,3))\r\n }\r\n const datesForwardMobile = () => {\r\n loadCurrentMonth(addBusinessDays(data.currentDate,1))\r\n }\r\n const datesBack = () => {\r\n if(isToday()){\r\n return\r\n }\r\n loadCurrentMonth(addBusinessDays(data.currentDate,-3))\r\n }\r\n\r\n const datesBackMobile = () => {\r\n if(isToday()){\r\n return\r\n }\r\n loadCurrentMonth(addBusinessDays(data.currentDate,-1))\r\n }\r\n const datepick = ref(null);\r\n const datePickerClick = () => {\r\n document.querySelector('.mx-datepicker')?.classList.remove('opacity-0')\r\n datepick.value.openPopup()\r\n }\r\n const datePickerPick = () => {\r\n document.querySelector('.mx-datepicker')?.classList.add('opacity-0')\r\n loadCurrentMonth(data.currentDate)\r\n }\r\n const isToday = () => {\r\n let yay = isEqual(set(data.currentDate,{hours: 12, minutes: 0, seconds:0, milliseconds: 0}), set(getToday(),{hours: 12, minutes: 0, seconds:0, milliseconds: 0}))\r\n return yay;\r\n }\r\n const isValid = computed(() => {\r\n return processData.selectedDate != undefined && processData.selectedDate != null && processData.arrivalTime.length > 0;\r\n })\r\n const saveLocationAndDate = () => {\r\n appointmentData.locationSchedules = processData.physicianList.find(x => x.npid == globalStore.state.providerNpi).locationSchedule\r\n appointmentData.allTimeSlots = processData.physicianList.find(x => x.npid == globalStore.state.providerNpi).allTimeSlots\r\n const selectedSavedLocation = processData.physicianList.find(x => x.npid == globalStore.state.providerNpi).locationSchedule.departments.find(x => isSameDepartment(x,processData.sitecoreLocation))\r\n if (processData.virtualVideoEnabled) {\r\n processData.selectedLocation = virtualVisitLocationFactory([selectedSavedLocation]);\r\n } else {\r\n processData.selectedLocation = selectedSavedLocation;\r\n }\r\n \r\n entryPoint.location = 'location';\r\n processData.currentStage++;\r\n }\r\n const switchInPersonVirtualVideoTab = (text:string) => {\r\n resetTimeSlots();\r\n if (processData.isKSU) {\r\n // Until the concept of separate data for In-Person timeslots and VV timeslots is rolled\r\n // out to all of Wellstar.org, only KSU will trigger data pulls when the tab changes\r\n data.datesRetrieved = [];\r\n }\r\n if (text === 'virtual video') {\r\n processData.inPersonEnabled = false;\r\n processData.virtualVideoEnabled = true;\r\n processData.selectedLocationDropDownLocation = 'virtualVideoVisits';\r\n globalStore.state.isVirtualVisit = true;\r\n loadCurrentMonth(data.currentDate);\r\n } else {\r\n processData.inPersonEnabled = true;\r\n processData.virtualVideoEnabled = false;\r\n processData.selectedLocationDropDownLocation = 'physicalLocation';\r\n globalStore.state.isVirtualVisit = false;\r\n loadCurrentMonth(data.currentDate);\r\n }\r\n }\r\n\r\n return {\r\n ...toRefs(processData),\r\n ...toRefs(data),\r\n ref,\r\n HorizontalScroll,\r\n datepick,\r\n mobileData,\r\n isValid,\r\n isLoading,\r\n isToday,\r\n datePickerClick,\r\n saveLocationAndDate,\r\n datePickerPick,\r\n datesBack,\r\n datesForward,\r\n datesBackMobile,\r\n datesForwardMobile,\r\n format,\r\n add,\r\n loadDatesForTimePeriod,\r\n loadCurrentMonth,\r\n resetTimeSlots,\r\n switchInPersonVirtualVideoTab,\r\n getPhysicianFullname,\r\n addBusinessDays,\r\n phone,\r\n stripPhoneNumber,\r\n }\r\n },\r\n methods: {\r\n timeSlotPicked(n){\r\n for (const property in this.$refs) {\r\n if (!property.includes(n.physician.npid) && property.startsWith(\"pp\")){\r\n this && this.$refs && this.$refs[property] && this.$refs[property][0] && this.$refs[property][0].resetTimeSlots();\r\n }\r\n }\r\n if (n.timeSlot.isActive) {\r\n let dateSelection = parseISO(n.daySlot.date);\r\n dateSelection.setHours(n.timeSlot.hour);\r\n dateSelection.setMinutes(parseInt(n.timeSlot.hourText.split(':')[1]));\r\n dateSelection.setSeconds(0);\r\n processData.selectedDate = dateSelection;\r\n processData.arrivalTime = n.timeSlot.arriveByText;\r\n processData.departmentId = n?.daySlot?.departmentId || '';\r\n processData.slotBlockType = n.timeSlot.slotBlockType;\r\n globalStore.state.providerNpi = n.physician.npid;\r\n globalStore.state.doctorName = getPhysicianFullname(n.physician);\r\n globalStore.state.doctorTitle = n.physician.specialtyTitle;\r\n globalStore.state.doctorUrl = n.physician.urlField;\r\n globalStore.state.doctorImage = n.physician.photoImage.imagePath;\r\n globalStore.state.isPartOfWellStarGroup = n.physician.isPartOfWellStarGroup;\r\n } else {\r\n processData.selectedDate = null;\r\n }\r\n } \r\n }\r\n\r\n})\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationEntry.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationEntry.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LocationEntry.vue?vue&type=template&id=4fc073c0&scoped=true&\"\nimport script from \"./LocationEntry.vue?vue&type=script&lang=ts&\"\nexport * from \"./LocationEntry.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./LocationEntry.vue?vue&type=style&index=0&id=4fc073c0&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4fc073c0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zy-appointment-unavailable zx-h-full zx-flex zx-flex-col\",attrs:{\"aria-label\":\"appointment unavailable\"}},[(_vm.globalStore.state.locationSearch)?_c('location-heading'):(_vm.entryPoint.location === 'lab')?_c('lab-heading'):_c('doctor-heading'),_c('section',{staticClass:\"zx-flex zx-flex-col zx-items-center sm:zx-justify-center zx-flex-grow px-2\"},[_c('div',{staticClass:\"alert-box zx-flex zx-flex-col zx-relative zx-py-4 zx-px-4 sm:zx-px-16 zx-rounded-lg zx-max-w-2xl zx-mb-6\"},[_c('img',{staticClass:\"input-icon info-icon zx-pt-1 zx-absolute zx-left-5 sm:zx-left-6 zx-top-3 sm:zx-top-4\",attrs:{\"src\":(_vm.baseUrl + \"/img/calendar-yellow.svg\"),\"role\":\"none\"}}),(_vm.processData.timeSlotExpired)?_c('h2',{staticClass:\"zx-not-italic zx-font-medium zx-text-lg sm:zx-text-2xl zx-ml-8 sm:zx-ml-0 zx-font-semibold\"},[_vm._v(\" Oops! The selected appointment timeslot has now expired. \")]):_c('h2',{staticClass:\"zx-not-italic zx-font-medium zx-text-lg sm:zx-text-2xl zx-ml-8 sm:zx-ml-0 zx-font-semibold\"},[_vm._v(\" Oops! Appointment not available \")]),_c('p',{staticClass:\"zx-not-italic zx-font-normal zx-text-sm sm:zx-text-lg zx-font-medium zx-m-0\"},[_vm._v(\" Refresh to see updated dates and times, select a different location, or check another provider's availability. \")])]),_c('button',{staticClass:\"refresh-button zx-flex zx-items-center zx-py-2 zx-px-4 zx-rounded zx-not-italic zx-font-medium zx-text-lg\",attrs:{\"aria-label\":\"Refresh Appointments\",\"type\":\"button\"},on:{\"click\":_vm.refreshAppointments}},[_c('img',{staticClass:\"zx-mr-2.5 zx-font-medium\",attrs:{\"src\":(_vm.baseUrl + \"/img/refresh.svg\"),\"role\":\"none\"}}),_vm._v(\" Refresh appointments \")])]),_c('div',{staticClass:\"zy-footer-container zx-w-full sm:zx-flex zx-justify-end zx-max-h-14\"},[_c('div',{attrs:{\"id\":\"zy-schedule-helper-text\",\"aria-label\":(\"Please call us at \" + _vm.phone + \" if you don't see the appointment availability you are looking for.\")}},[_vm._v(\" Please call us at \"),_c('a',{attrs:{\"id\":\"error-message-call-us-link\",\"href\":(\"tel:\" + (_vm.stripPhoneNumber(_vm.phone)))}},[_vm._v(_vm._s(_vm.phone))]),_vm._v(\", if you don't see the appointment availability you are looking for. \")]),(!_vm.mobileData.isMobile)?_c('div',{staticClass:\"zx-flex zx-w-full zx-items-center zx-w-1/2 zx-items-end zx-justify-end\"},[_c('button',{staticClass:\"btn btn-no-background zx-underline zx-mb-0 zx-text-base\",attrs:{\"aria-label\":\"previous step button\",\"type\":\"button\",\"data-attr-id\":\"back-step-button\"},on:{\"click\":_vm.previousStage}},[_vm._v(\" Back a step \")]),_c('button',{staticClass:\"btn zx-mb-0\",attrs:{\"aria-label\":\"next step button\",\"type\":\"button\",\"disabled\":\"disabled\"}},[_vm._v(\" Next Step \")])]):_vm._e()]),_vm._m(0)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"zx-flex sm:zx-hidden zx-justify-end zx-w-full zx-pb-2\"},[_c('button',{staticClass:\"btn zx-mb-2\",attrs:{\"disabled\":\"disabled\"}},[_vm._v(\" Next Step \")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"zy-location-entry-header\"}},[_c('div',{staticClass:\"zy-heading zx-mb-4 zx-mt-1\"},[_c('span',{staticClass:\"zy-location-banner-header zx-uppercase zx-text-sm\",attrs:{\"aria-label\":\"Book an Appointment\",\"id\":\"zy-location-banner-header\"}},[_vm._v(\"Book An Appointment\")]),(!_vm.mobileData.isMobile && !_vm.isIframe)?_c('div',{staticClass:\"zy-dialog-close\",attrs:{\"id\":\"zy-close\",\"aria-label\":\"close\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.cancel.apply(null, arguments)}}},[_c('i',{staticClass:\"icon-close zx-text-2xl\"})]):_vm._e()]),(_vm.mobileData.isMobile)?_c('div',{staticClass:\"zx-flex zx-mb-5\",class:{'zy-mobile-header': _vm.mobileData.isMobile},attrs:{\"aria-label\":\"back a step\",\"id\":\"zy-provider-banner-back-a-step\"}},[(_vm.mobileData.isMobile && _vm.currentStage != _vm.EnumStages[_vm.entryPoint.location].error && !_vm.isIframe)?_c('span',{staticClass:\"zy-back-button-top btn-no-background zx-underline zx-text-xl\",staticStyle:{\"cursor\":\"pointer\"},on:{\"click\":_vm.cancel}},[_c('img',{staticClass:\"input-icon back-arrow-icon zx-m-1 zx-mr-2\",attrs:{\"src\":(_vm.baseUrl + \"/img/back-arrow.svg\")}}),_vm._v(\"Go back \")]):_vm._e()]):_vm._e(),_c('div',{staticClass:\"zx-flex zx-flex-col\",attrs:{\"id\":\"zy-location-entry-location-info\"}},[_c('div',{staticClass:\"zy-location-entry-name-container\",attrs:{\"id\":\"zy-location-entry-location-info-name\",\"aria-label\":_vm.selectedLocation.name}},[_c('h1',{staticClass:\"sm:zx-text-5xl zx-text-2xl zx-font-semibold secondary--text\"},[_vm._v(_vm._s(_vm.selectedLocation.name))]),_c('svg',{staticClass:\"zy-wellstar-badge\"},[_c('use',{attrs:{\"xlink:href\":\"#wellstar-badge\"}})])]),(_vm.selectedLocation.directions != null)?_c('h2',{staticClass:\"zx-text-2xl zx-font-light zy-address-header-small zy-no-margin \",attrs:{\"id\":\"zy-location-entry-location-info-directions\",\"aria-label\":_vm.selectedLocation.directions}},[_vm._v(_vm._s(_vm.selectedLocation.directions))]):_vm._e(),_c('div',{staticClass:\"info zx-inline-flex sm:zx-p-0\",attrs:{\"id\":\"zy-location-entry-location-info-address\"}},[(_vm.sitecoreLocation&&_vm.sitecoreLocation.address && _vm.mobileData.isMobile)?_c('i',{staticClass:\"icon-location_pin zx-text-2xl zx-mr-1 sm:zx-p-0 sm:zx-m-0 sm:zx-mr-2\"}):_vm._e(),(_vm.selectedLocation.address && !_vm.mobileData.isMobile)?_c('address',{staticClass:\"zy-address-header-small zx-text-sm sm:zx-text-xl zx-mb-0 zx-pt-1 sm:zx-pt-0 zx-font-light\",attrs:{\"id\":\"zy-summary-location-address\"}},[_vm._v(\" \"+_vm._s(_vm.selectedLocation.address.streetAddress[0])+\", \"),(_vm.selectedLocation.address.streetAddress.length > 1)?_c('span',[_vm._v(_vm._s(_vm.selectedLocation.address.streetAddress[1])+\", \")]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.selectedLocation.address.city)+\", \"+_vm._s(_vm.selectedLocation.address.state.abbreviation)+\" \"+_vm._s(_vm.selectedLocation.address.postalCode)+\" \")]):_vm._e(),_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[(_vm.sitecoreLocation&&_vm.sitecoreLocation.address && _vm.mobileData.isMobile)?_c('i',{staticClass:\"icon-location_pin zx-text-2xl zx-mr-1 sm:zx-p-0 sm:zx-m-0 sm:zx-mr-2\"}):_vm._e(),(_vm.sitecoreLocation&&_vm.sitecoreLocation.address && _vm.mobileData.isMobile)?_c('address',{staticClass:\"zy-address-header-small zx-text-sm sm:zx-text-lg zx-mb-0 zx-font-normal\",attrs:{\"id\":\"zy-summary-location-address\"}},[_vm._v(\" \"+_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.streetAddress[0])+\", \"),(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.streetAddress.length > 1)?_c('span',[_vm._v(_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.streetAddress[1])+\", \")]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.city)+\", \"+_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.state.abbreviation)+\" \"+_vm._s(_vm.sitecoreLocation&&_vm.sitecoreLocation.address.postalCode)+\" \")]):_vm._e()])])]),_c('hr',{staticClass:\"zy-hr-separator zx-mt-3 zx-mb-12 zx-w-fulls\"})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { defineComponent, toRefs } from '@vue/composition-api';\r\nimport { mobileData } from '../../helpers/mobile-helper';\r\nimport { processData } from '../../helpers/process-helper';\r\nimport { globalStore } from '../../store';\r\n\r\nexport default defineComponent({\r\nsetup() {\r\n const cancel = () => {\r\n if (!globalStore.state.isIframe) {\r\n processData.showModal = false;\r\n } \r\n }\r\n\r\n return {\r\n ...toRefs(processData),\r\n ...toRefs(globalStore.state),\r\n mobileData,\r\n cancel,\r\n }\r\n}\r\n});\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationHeading.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationHeading.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LocationHeading.vue?vue&type=template&id=33ee38cb&scoped=true&\"\nimport script from \"./LocationHeading.vue?vue&type=script&lang=ts&\"\nexport * from \"./LocationHeading.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./LocationHeading.vue?vue&type=style&index=0&id=33ee38cb&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"33ee38cb\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { computed, defineComponent, onMounted, toRefs } from '@vue/composition-api';\nimport { processData, EnumStages, entryPoint } from '../helpers/process-helper';\nimport { resetAppointmentData } from \"../helpers/appointment-helper\";\nimport { mobileData, onResize } from '@/helpers/mobile-helper';\nimport { getPrimaryContactNumber, stripPhoneNumber } from '../helpers/location-helper';\nimport { globalStore } from '../store';\nimport DoctorHeading from '../components/DoctorHeading.vue';\nimport LocationHeading from '../components/Common/LocationHeading.vue';\nimport LabHeading from '../components/LabHeading.vue';\n\nlet img1 = require('@/assets/images/calendar-yellow.svg');\nlet img2 = require('@/assets/images/refresh.svg');\n\nexport default defineComponent({\n components: {\n DoctorHeading,\n LocationHeading,\n LabHeading\n },\n setup () {\n const refreshAppointments = () => {\n resetAppointmentData();\n if (entryPoint.location === 'location') {\n processData.physicianList = [];\n processData.currentStage = EnumStages[entryPoint.location].locationEntry;\n } else {\n processData.currentStage = EnumStages[entryPoint.location].pickSchedule;\n }\n };\n\n onMounted(async () => {\n onResize();\n }); \n\n const previousStage = () => {\n processData.currentStage = EnumStages[entryPoint.location].confirm;\n };\n\n const phone = computed(() => {\n return getPrimaryContactNumber(globalStore, processData);\n });\n\n return {\n ...toRefs(processData),\n ...toRefs(mobileData),\n mobileData,\n refreshAppointments,\n previousStage,\n phone,\n stripPhoneNumber,\n globalStore,\n entryPoint,\n processData,\n };\n }\n});\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ErrorMessage.vue?vue&type=template&id=4f60617a&scoped=true&\"\nimport script from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ErrorMessage.vue?vue&type=style&index=0&id=4f60617a&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4f60617a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"no-online-appointment zx-flex zx-flex-col zx-grow zx-h-full\",attrs:{\"aria-label\":\"No Online Booking Appointment Booking Modal\"}},[_c('div',{staticClass:\"zx-mx-8 sm:zx-mx-0\",attrs:{\"aria-label\":\"No Online Booking Appointment Booking Modal Heading\"}},[(_vm.globalStore.state.locationSearch)?_c('location-heading'):_c('doctor-heading',{attrs:{\"isAlternateOnlineSchedulingMessage\":\"true\"}})],1),(_vm.isLoading)?_c('loading',{attrs:{\"id\":\"zy-loading-component zx-flex zx-flex-wrap\"}}):_vm._e(),(!_vm.globalStore.state.locationSearch)?_c('div',{staticClass:\"zx-flex zx-flex-wrap\",attrs:{\"role\":\"main\",\"aria-label\":\"summary\"}},[(!_vm.isLoading)?_c('div',{staticClass:\"confirm-box zx-flex zx-flex-col zx-w-full zx-mb-5 zx-pb-4 sm:zx-mr-3\"},[(_vm.selectedLocation)?_c('span',{staticClass:\"zx-font-semibold zx-pb-1 zx-ml-1 zx-text-base sm:zx-text-xl secondary--text\",attrs:{\"id\":\"zy-summary-location-name\",\"aria-label\":_vm.selectedLocation.name}},[_vm._v(_vm._s(_vm.selectedLocation.name))]):_vm._e(),(_vm.selectedLocation)?_c('div',{staticClass:\"info zx-inline-flex sm:zx-p-0\"},[_c('i',{staticClass:\"icon-location_pin zx-text-xl sm:zx-text-2xl zx-mr-1 sm:zx-p-0 sm:zx-m-0 sm:zx-mr-1\"}),(_vm.selectedLocation.address)?_c('address',{staticClass:\"zy-address-header-small zx-text-sm sm:zx-text-lg zx-mb-0 zx-pt-1 sm:zx-pt-0 zx-font-normal\",attrs:{\"id\":\"zy-summary-location-address\"}},[_vm._v(\" \"+_vm._s(_vm.selectedLocation.address.streetAddress[0])+\", \"),(_vm.selectedLocation.address.streetAddress.length > 1)?_c('span',[_vm._v(_vm._s(_vm.selectedLocation.address.streetAddress[1])+\", \")]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.selectedLocation.address.city)+\", \"+_vm._s(_vm.selectedLocation.address.state.abbreviation)+\" \"+_vm._s(_vm.selectedLocation.address.postalCode)+\" \")]):_vm._e()]):_vm._e()]):_vm._e()]):_vm._e(),(!_vm.isLoading)?_c('div',{staticClass:\"zx-flex zx-flex-col zx-grow zx-h-full zx-w-full zx-items-center\",attrs:{\"aria-label\":\"No Online Booking Appointment Booking Modal Main\"}},[_c('div',{staticClass:\"provider-text zx-text-center sm:zx-text-left zx-leading-7 sm:zx-text-lg\",attrs:{\"aria-label\":\"No Online Booking Appointment Booking Modal Main Text\"}},[_vm._v(\" \"+_vm._s(_vm.globalStore.state.alternateOnlineSchedulingMessage || (\"This \" + (_vm.globalStore.state.locationSearch ? 'location' : 'provider') + \" does not have scheduling enabled. Please call the practice to schedule an appointment.\"))+\" \")]),_c('div',{staticClass:\"phone zx-mt-6 zx-hidden zx-font-bold hover:zx-no-underline sm:zx-flex\",attrs:{\"aria-label\":\"No Online Booking Appointment Booking Modal Main Phone\"}},[_vm._v(\" \"+_vm._s(_vm.globalStore.state.doctorPhone)+\" \")])]):_vm._e(),(!_vm.isLoading)?_c('div',{staticClass:\"no-footer zx-flex zx-flex-col zx-items-center sm:zx-flex-row\",attrs:{\"aria-label\":\"No Online Booking Appointment Booking Modal Footer\"}},[_c('div',{staticClass:\"zx-flex zx-justify-center sm:zx-hidden zx-w-full\"},[_c('a',{staticClass:\"mb-tel-button zx-no-underline zx-flex zx-justify-center zx-w-full zx-items-center zx-py-3 zx-rounded zx-mb-2 zx-mx-2 zx-font-semibold zx-text-xl\",attrs:{\"href\":(\"tel:\" + (_vm.globalStore.state.doctorPhone)),\"aria-label\":\"No Online Booking Appointment Booking Modal Footer Phone\"}},[_vm._v(\" \"+_vm._s(_vm.globalStore.state.doctorPhone)+\" \")])]),_c('div',{staticClass:\"done-button zx-flex zx-justify-center zx-items-center zx-py-3 zx-px-8 zx-rounded sm:zx-ml-auto zx-mb-2 sm:zx-mb-0 zx-font-medium zx-text-xl sm:zx-w-40\",attrs:{\"aria-label\":\"No Online Booking Appointment Booking Modal Footer Close Button\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.cancel.apply(null, arguments)}}},[_vm._v(\" Done \")])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { defineComponent, onMounted, toRefs } from '@vue/composition-api';\r\nimport { processData } from '../helpers/process-helper';\r\nimport { globalStore } from '../store';\r\nimport DoctorHeading from '../components/DoctorHeading.vue';\r\nimport LocationHeading from '../components/Common/LocationHeading.vue';\r\nimport Loading from './Common/Loading.vue';\r\nimport providerLocationService from '../services/provider-locations-service';\r\nimport { isLoading } from '../store/modules/global-store';\r\nimport { onResize } from '../helpers/mobile-helper';\r\nimport { locationsToDepartments, stripPhoneNumber } from '../helpers/location-helper';\r\n\r\nexport default defineComponent({\r\n components: { DoctorHeading, LocationHeading, Loading },\r\n setup () {\r\n onMounted(async () => {\r\n onResize(); \r\n let departments;\r\n let selectedLocation;\r\n processData.currentStage = -1;\r\n globalStore.state.isLoading = true;\r\n const response = (await providerLocationService.getProviderLocationsFromSitecore(globalStore.state.doctorUrl));\r\n if (response) {\r\n const globalPhone = stripPhoneNumber(globalStore.state.doctorPhone);\r\n departments = locationsToDepartments(response);\r\n selectedLocation = departments.filter(department => stripPhoneNumber(department?.phones[0].number) === globalPhone);\r\n if (selectedLocation.length) {\r\n processData.selectedLocation = selectedLocation[0];\r\n } else {\r\n processData.selectedLocation = departments[0];\r\n }\r\n globalStore.state.isLoading = false;\r\n } \r\n });\r\n const cancel = () => {\r\n if (globalStore.state.isIframe === false) {\r\n processData.showModal = false;\r\n }\r\n };\r\n return {\r\n ...toRefs(processData),\r\n globalStore,\r\n cancel,\r\n isLoading,\r\n };\r\n }\r\n})\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NoOnlineBooking.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NoOnlineBooking.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./NoOnlineBooking.vue?vue&type=template&id=5e1bb443&scoped=true&\"\nimport script from \"./NoOnlineBooking.vue?vue&type=script&lang=ts&\"\nexport * from \"./NoOnlineBooking.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./NoOnlineBooking.vue?vue&type=style&index=0&id=5e1bb443&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5e1bb443\",\n null\n \n)\n\nexport default component.exports","import { BaseService } from './base-service';\r\nimport { apiService } from './api';\r\nimport { ProviderDto } from '@/store/entities/provider-dto';\r\n\r\nexport class ProviderService extends BaseService {\r\n constructor() {\r\n super('providers/GetEpicPhysician');\r\n }\r\n\r\n async getEpicProviderFromSitecore(providerId:string) : Promise {\r\n let response = await apiService.get(`${this.apiName}?${this.objectToQueryString({ providerId })}`);\r\n if (response.status === 200 || response.status === 201) {\r\n return response.data as ProviderDto;\r\n }\r\n return undefined;\r\n }\r\n}\r\nconst providerService = new ProviderService();\r\nexport default providerService;\r\n","import { BaseService } from './base-service';\r\nimport { Location } from '../store/entities/location-dto';\r\nimport { apiService } from './api';\r\n\r\n\r\nexport class GetLocationService extends BaseService {\r\n constructor() { \r\n super('locations/GetLocationbySitecoreItemID');\r\n }\r\n\r\n async getLocationByID(locationItemID:string) : Promise {\r\n let response = await apiService.get(`${this.apiName}?${this.objectToQueryString({locationItemID})}`);\r\n if(response.status === 200 || response.status === 201) { \r\n return response.data as Location;\r\n }\r\n return undefined;\r\n }\r\n\r\n\r\n}\r\n\r\nconst getlocationService = new GetLocationService();\r\nexport default getlocationService; \r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {defineComponent, onMounted, reactive, toRefs, watch} from \"@vue/composition-api\";\r\nimport axios from 'axios';\r\nimport DialogComponent from './components/Dialog.vue';\r\nimport Information from './components/Information.vue';\r\nimport Schedule from './components/Schedule.vue';\r\nimport LocationDate from './components/LocationDate.vue';\r\nimport Confirmation from './components/Confirmation.vue';\r\nimport Booked from './components/Booked.vue';\r\nimport LocationEntry from './components/Location/LocationEntry.vue';\r\nimport ErrorMessage from './components/ErrorMessage.vue';\r\nimport DoctorHeading from './components/DoctorHeading.vue';\r\nimport NoOnlineBooking from './components/NoOnlineBooking.vue';\r\nimport { processData, resetProcessData, entryPoint, EnumStages, } from \"./helpers/process-helper\";\r\nimport { appointmentData, resetAppointmentData, setTimeSlots, getTimeSlotsByDate} from \"./helpers/appointment-helper\";\r\nimport { getPhysicianFullname } from './helpers/physician-helper';\r\nimport { virtualVisitLocationFactory } from './helpers/virtual-visit-helpers';\r\nimport { globalStore } from \"./store\";\r\nimport providerService from \"./services/provider-service\";\r\nimport SchedulingInput from \"./store/entities/schedulingInput-dto\";\r\nimport { Department, Address, CategoryValue} from \"./store/entities/location-dto\";\r\nimport { format, add, addDays } from \"date-fns\";\r\nimport labService from \"./services/lab-service\";\r\nimport { appointmentService } from \"./services/appointment-service\";\r\nimport getlocationService from \"./services/location-get-service\";\r\nimport {locationToDepartment} from \"./helpers/location-helper\";\r\nexport default defineComponent({\r\n name: 'App',\r\n components: {DialogComponent, Information, ErrorMessage, LocationDate,Schedule, DoctorHeading, Confirmation, Booked, LocationEntry, NoOnlineBooking},\r\n setup() {\r\n onMounted(() => {\r\n (window as any).initSchedulingHelper = async function(input: SchedulingInput) {\r\n if (localStorage.getItem('__TEST_ENABLE_VIRTUAL_VISIT__')) console.log(input);\r\n processData.showModal = !processData.showModal;\r\n //reset process data\r\n resetProcessData();\r\n // reset globalStore\r\n globalStore.reset();\r\n // reset appointmentData\r\n resetAppointmentData();\r\n // comment\r\n globalStore.state.isLoading = true;\r\n\r\n if (input?.data?.isVirtualVisit) {\r\n input.data.selectedLocation = virtualVisitLocationFactory(input?.data?.schedule?.departments);\r\n globalStore.state.isVirtualVisit = input.data.isVirtualVisit;\r\n }\r\n\r\n if (input?.data?.visitTypeId) {\r\n globalStore.state.visitTypeId = input.data.visitTypeId;\r\n }\r\n\r\n if(input?.data?.isIframe) {\r\n globalStore.state.isIframe = true;\r\n\r\n if (input?.data?.externalSchedulingClientID) {\r\n globalStore.state.externalSchedulingClientID = input.data.externalSchedulingClientID;\r\n }\r\n }\r\n\r\n if (input?.data?.isKSU) {\r\n processData.isKSU = true;\r\n }\r\n \r\n globalStore.state.contactPhoneNumber = input?.data?.contactPhoneNumber;\r\n\r\n if (input?.data?.additionalComments && Array.isArray(input?.data?.additionalComments)) {\r\n processData.additionalComments = input.data.additionalComments;\r\n }\r\n\r\n if (input.entry === 'location' && typeof input.data == 'object') {\r\n entryPoint.location = input.entry;\r\n processData.sitecoreLocation = input.data.location;\r\n if(input?.data?.isIframe) {\r\n let locationresponse =(await getlocationService.getLocationByID(input.data.locationItemID));\r\n let location = locationresponse;\r\n processData.sitecoreLocation = locationToDepartment(location);\r\n processData.currentStage = EnumStages[entryPoint.location].locationEntry;\r\n globalStore.state.isLoading = false;\r\n } else if (processData.sitecoreLocation.iDs.length == 0 || processData.sitecoreLocation.iDs.filter(x => x.id != null).length == 0) {\r\n processData.currentStage = EnumStages[entryPoint.location].error;\r\n } else {\r\n processData.currentStage = EnumStages[entryPoint.location].locationEntry;\r\n globalStore.state.isLoading = false;\r\n }\r\n\r\n } else if (input.entry === 'physician' && typeof input.data == 'object') {\r\n entryPoint.location = input.entry;\r\n\r\n let response = (await providerService.getEpicProviderFromSitecore(input.data.npid));\r\n if (response) {\r\n globalStore.state.providerNpi = response.providerNPI;\r\n globalStore.state.doctorName = response.doctorName;\r\n globalStore.state.doctorImage = response.doctorImage;\r\n globalStore.state.distinction = response.distinction;\r\n globalStore.state.doctorTitle = response.doctorTitle;\r\n globalStore.state.doctorUrl = response.doctorUrl;\r\n globalStore.state.isPartOfWellStarGroup = response.isPartOfWellStarGroup;\r\n globalStore.state.ratings = response.ratings;\r\n globalStore.state.reviewCount = response.reviewCount;\r\n globalStore.state.locations = response.locations || [];\r\n processData.currentStage = EnumStages[entryPoint.location].setLocation;\r\n globalStore.state.allowVirtualVisits = response.allowVirtualVisits;\r\n \r\n // TODO: (slotBlockType need to be passed from react as 'selectedSlotBlockType')\r\n processData.slotBlockType = input.data.selectedSlotBlockType || '';\r\n \r\n if (input.data.enableAlternateOnlineScheduling) {\r\n globalStore.state.alternateOnlineSchedulingEnabled = true;\r\n if (input.data.alternateOnlineSchedulingMessage) globalStore.state.alternateOnlineSchedulingMessage = input.data.alternateOnlineSchedulingMessage;\r\n globalStore.state.doctorPhone = input.data.locationContactPhone;\r\n globalStore.state.locationSearch = input?.data?.locationSearch || false;\r\n processData.currentStage = -1;\r\n globalStore.state.isLoading = false; \r\n } else if (input.data.schedule !== undefined && input.data.selectedLocation !== undefined) {\r\n appointmentData.locationSchedules = input.data.schedule;\r\n setTimeSlots();\r\n // console.log(appointmentData.locationSchedules)\r\n processData.selectedLocation = input.data.selectedLocation;\r\n if (input.data.selectedDate !== undefined && input.data.selectedTime.length > 0){\r\n processData.selectedDate = input.data.selectedDate;\r\n processData.arrivalTime = input.data.selectedTime;\r\n\r\n if (input.data.isVirtualVisit) {\r\n processData.selectedLocation = virtualVisitLocationFactory(input?.data?.schedule?.departments);\r\n }\r\n\r\n if (input.data.isVirtualVisit && input.data.selectedTime) {\r\n processData.departmentId = input?.data?.schedule?.scheduleDays[0]?.department?.id || '';\r\n }\r\n \r\n processData.currentStage = EnumStages[entryPoint.location].getInfo;\r\n } else {\r\n processData.currentStage = EnumStages[entryPoint.location].pickSchedule;\r\n }\r\n }\r\n }\r\n \r\n //processData.currentStage = EnumStages[entryPoint.location].setLocation;\r\n globalStore.state.isLoading = false;\r\n \r\n } else if (input.entry === 'lab' && typeof input.data == 'object') {\r\n entryPoint.location = input.entry;\r\n globalStore.state.labName = input.data.selectedLocation.name;\r\n globalStore.state.isPartOfWellStarGroup = input.data.selectedLocation.isWellStarLocation;\r\n globalStore.state.providerNpi = input.data.npid;\r\n globalStore.state.contactPhoneNumber = input.data.selectedLocation.contactPhoneNumber;\r\n globalStore.state.contactStatement = input.data.selectedLocation.contactStatement;\r\n processData.slotBlockType = input.data.selectedSlotBlockType || '';\r\n\r\n // If no schedules are provided, format address for display on schedule page\r\n\r\n if (!input.data.selectedLocation.schedule) {\r\n processData.selectedLocation = new Department();\r\n\r\n var addressArray = input.data.selectedLocation.address.split(',');\r\n\r\n processData.selectedLocation.address.streetAddress = [addressArray[0], input.data.selectedLocation.address2];\r\n processData.selectedLocation.address.city = addressArray[1];\r\n processData.selectedLocation.address.state = addressArray[2];\r\n processData.selectedLocation.address.postalCode = addressArray[3];\r\n }\r\n\r\n // LabService.GetSchedulesByLocations requires start and end date to be populated\r\n // default to today through 90 days if no date is selected.\r\n var selectedDate = new Date();\r\n var startDate;\r\n var endDate;\r\n\r\n if (input.data.selectedDate !== undefined) {\r\n selectedDate = new Date(input.data.selectedDate);\r\n\r\n startDate = format(new Date(selectedDate), \"yyyy-MM-dd\");\r\n endDate = startDate;\r\n }\r\n else {\r\n startDate = format(new Date(selectedDate), \"yyyy-MM-dd\");\r\n // We want 90 days of appointments to load, so set endDate to 90 days forward.\r\n endDate = format(addDays(selectedDate, 90 ), \"yyyy-MM-dd\");\r\n }\r\n\r\n // Get the appointment and location information for labs within the start/end dates\r\n var response = (await labService.GetSchedulesByLocations(globalStore.state.providerNpi, startDate, endDate, 'LAB' ));\r\n if (response.departments != null && response.departments?.length !== 0) {\r\n appointmentData.locationSchedules = response;\r\n processData.selectedLocation = appointmentData.locationSchedules?.departments[0];\r\n setTimeSlots();\r\n\r\n // If the selected date and time slot are provided\r\n // populate values and forward user to the getInfo modal\r\n if (input.data.selectedDate && input.data.selectedTime.length > 0) {\r\n processData.selectedDate = input.data.selectedDate;\r\n var selectedDaySlots = getTimeSlotsByDate(processData.selectedDate);\r\n var formattedSlot = selectedDaySlots.filter(daySlot => daySlot.hourText === input.data.selectedDate.toLocaleString('en-US', { hour: 'numeric', minute: 'numeric', hour12: true }));\r\n\r\n processData.arrivalTime = (formattedSlot.length > 0 ? formattedSlot[0]?.arriveByText : '');\r\n processData.currentStage = EnumStages[entryPoint.location].getInfo;\r\n } else {\r\n processData.currentStage = EnumStages[entryPoint.location].pickSchedule;\r\n }\r\n } else {\r\n // When no appointments are available, direct user to the pickSchedule screen to view the \"No Appointments\" message\r\n processData.currentStage = EnumStages[entryPoint.location].pickSchedule;\r\n }\r\n\r\n globalStore.state.isLoading = false;\r\n\r\n } else if (input.entry === 'clinic') {\r\n entryPoint.location = input.entry;\r\n processData.selectedLocation = input.data.location;\r\n processData.sitecoreLocation = input.data.location;\r\n processData.providers = input.data.providers;\r\n \r\n processData.inPersonEnabled = !globalStore.state.isVirtualVisit;\r\n processData.virtualVideoEnabled = globalStore.state.isVirtualVisit;\r\n\r\n if (input.data.selectedDate && input.data.selectedTime) {\r\n // Specific time slot was selected with an associated provider\r\n processData.selectedDate = input.data.selectedDate;\r\n processData.arrivalTime = input.data.selectedTime;\r\n processData.slotBlockType = input.data.selectedSlotBlockType;\r\n\r\n const provider = processData.providers.find((p) => p.npid === input.data.npid);\r\n globalStore.state.providerNpi = input.data.npid;\r\n globalStore.state.doctorName = getPhysicianFullname(provider);\r\n globalStore.state.doctorImage = provider.profileImgUrl;\r\n globalStore.state.doctorUrl = '/physicians/' + provider.pageUrl;\r\n processData.currentStage = EnumStages[entryPoint.location].getInfo;\r\n } else {\r\n // \"View full schedule\" option; show all timeslots across all providers\r\n processData.currentStage = EnumStages[entryPoint.location].pickSchedule;\r\n }\r\n globalStore.state.isLoading = false;\r\n }\r\n };\r\n\r\n // See Feature 18860.\r\n // This event is needed for loading the\r\n // scheudling service into third-party iframes.\r\n // Please do not move or modify.\r\n const initSchedulingHelperLoaded = new Event('wellstarInitSchedulingHelperLoaded');\r\n window.dispatchEvent(initSchedulingHelperLoaded);\r\n })\r\n watch(() => processData.currentStage, () => {\r\n (document.querySelector('#zx-wellstar .zy-modal') as HTMLElement).scrollTo({top:0})\r\n })\r\n //data\r\n const data = reactive({\r\n })\r\n //computed\r\n //methods\r\n const openAction = () => {\r\n document.body.style.overflowY = \"hidden\"\r\n }\r\n const cancelAction = () => {\r\n document.body.style.overflowY = \"auto\"\r\n }\r\n return {EnumStages, entryPoint, ...toRefs(processData), ...toRefs(appointmentData), globalStore, openAction, cancelAction}\r\n }\r\n})\r\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--13-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--13-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=484d63d8&\"\nimport script from \"./App.vue?vue&type=script&lang=ts&\"\nexport * from \"./App.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import './plugins/installComposition';\r\nimport Vue from 'vue'\r\nimport './assets/dependency-stub.css';\r\nimport './assets/tailwind/main.css';\r\n\r\nimport App from './App.vue'\r\n\r\nVue.config.ignoredElements = [\r\n 'provider-avatar'\r\n]\r\nVue.config.productionTip = false\r\n\r\nnew Vue({\r\n render: h => h(App),\r\n}).$mount('#online-scheduling-view')\r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=style&index=0&lang=stylus&\"","module.exports = __webpack_public_path__ + \"img/large-down-arrow.svg\";","module.exports = __webpack_public_path__ + \"img/calendar.svg\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Confirmation.vue?vue&type=style&index=0&id=4d2300dd&lang=stylus&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/calendar-black.svg\";","module.exports = __webpack_public_path__ + \"img/star.svg\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dialog.vue?vue&type=style&index=0&lang=stylus&\"","module.exports = __webpack_public_path__ + \"img/calendar-dark.svg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Autocomplete.vue?vue&type=style&index=0&id=2c54df44&lang=stylus&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/checkbox.svg\";","module.exports = __webpack_public_path__ + \"img/refresh.svg\";","module.exports = __webpack_public_path__ + \"img/back-arrow.svg\";","module.exports = __webpack_public_path__ + \"img/question.svg\";"],"sourceRoot":""}