{"version":3,"sources":["webpack:///./src/components/user/BookingStep1.vue?3d6f","webpack:///./src/utils/filters.js","webpack:///./src/components/form_elements/ValidationFormGroup.vue?4d01","webpack:///src/components/form_elements/ValidationFormGroup.vue","webpack:///./src/components/form_elements/ValidationFormGroup.vue?e93a","webpack:///./src/components/form_elements/ValidationFormGroup.vue","webpack:///./src/utils/vuelidate_error_extractor_options.js","webpack:///./src/components/user/BookingOldInfo.vue?dc4d","webpack:///./src/components/LocationAdvanced.vue?a984","webpack:///src/components/LocationAdvanced.vue","webpack:///./src/components/LocationAdvanced.vue?ad11","webpack:///./src/components/LocationAdvanced.vue","webpack:///./src/components/form_elements/TimeZoneSelector.vue?96ae","webpack:///./src/utils/event_bus.js","webpack:///./src/components/admin/AdminHeaderRight.vue?b256","webpack:///src/components/admin/AdminHeaderRight.vue","webpack:///./src/components/admin/AdminHeaderRight.vue?4103","webpack:///./src/components/admin/AdminHeaderRight.vue","webpack:///./src/utils/common_mixin.js","webpack:///./src/components/BookingCancelModal.vue?79c6","webpack:///./src/components/user/BookingInfo.vue?342f","webpack:///./src/components/user/BookingOldInfo.vue?f11a","webpack:///src/components/user/BookingOldInfo.vue","webpack:///./src/components/user/BookingOldInfo.vue?caf5","webpack:///./src/components/user/BookingOldInfo.vue?94cf","webpack:///src/components/user/BookingInfo.vue","webpack:///./src/components/user/BookingInfo.vue?0147","webpack:///./src/components/user/BookingInfo.vue","webpack:///./src/assets/css/user_booking.css?1209","webpack:///./src/utils/http.js","webpack:///./src/components/user/BookingBottomPoweredBy.vue?2260","webpack:///./src/components/user/BookingBottomPoweredBy.vue","webpack:///./src/components/form_elements/CharLeft.vue?07ed","webpack:///src/components/form_elements/CharLeft.vue","webpack:///./src/components/form_elements/CharLeft.vue?c80d","webpack:///./src/components/form_elements/CharLeft.vue","webpack:///./src/assets/images/IconFillSVG.vue?01a1","webpack:///./src/assets/images/IconFillSVG.vue","webpack:///./src/components/BookingCancelModal.vue?cec7","webpack:///src/components/BookingCancelModal.vue","webpack:///./src/components/BookingCancelModal.vue?c34c","webpack:///./src/components/BookingCancelModal.vue?de18","webpack:///./src/store/common_module.js","webpack:///./src/utils/common_func.js","webpack:///./src/components/user/BookingStep2.vue?665d","webpack:///src/components/user/BookingStep2.vue","webpack:///./src/components/user/BookingStep2.vue?9720","webpack:///./src/components/user/BookingStep2.vue","webpack:///./src/components/form_elements/TimeZoneSelector.vue?befe","webpack:///src/components/form_elements/TimeZoneSelector.vue","webpack:///./src/components/form_elements/TimeZoneSelector.vue?34cf","webpack:///./src/components/form_elements/TimeZoneSelector.vue?d435","webpack:///./src/views/user/Booking.vue?0dbe","webpack:///./src/components/user/BookingStep1.vue?9ad1","webpack:///./src/components/form_elements/SlotSelector.vue?0b02","webpack:///src/components/form_elements/SlotSelector.vue","webpack:///./src/components/form_elements/SlotSelector.vue?952d","webpack:///./src/components/form_elements/SlotSelector.vue","webpack:///src/components/user/BookingStep1.vue","webpack:///./src/components/user/BookingStep1.vue?2186","webpack:///./src/components/user/BookingStep1.vue?2c84","webpack:///./src/components/user/NewBookingsDisabled.vue?a384","webpack:///./src/components/user/NewBookingsDisabled.vue","webpack:///src/views/user/Booking.vue","webpack:///./src/views/user/Booking.vue?6827","webpack:///./src/views/user/Booking.vue"],"names":["Vue","filter","value","time_format","Date","date_parse","return_value","format","_x","__","getFullYear","from_tz","to_tz","date_from_tz","toDate","timeZone","date_to_tz","utcToZonedTime","month","tz_format","year","month_year_obj","parseInt","tz","fromUnixTime","helper_plain_unix_to_full_date_day","tz_name","get_tz_name","from_time","to_time","date_std","date1_std","date2_std","date_long_format","from_time_format","from_time_display","to_time_display","setHours","setMinutes","setSeconds","only_date","today_zero","setMilliseconds","hours_diff","differenceInHours","T__","selected_days","weekdays","weekdays_list","Array","isArray","length","selected_days_final","sort","show_days","is_continuity","last_index","day_index","weekday_detail_final","find","weekday_detail","index","push","short_day","days_str","join","Tsprintf","shift","pop","split","d","Number","h","Math","floor","m","hDisplay","_n","mDisplay","display","v","trim","provider","providers","google_calendar","office365_calendar","outlook_calendar","icloud_calendar","hasOwnProperty","zoom_meeting","gotomeeting_meeting","googlemeet_meeting","locations","summary","total_locations","more_locations_count","form","location","location_prop_by_type","type","location_type","status","booking_to_time","current_time_ts","getTime","result","render","_vm","this","_h","$createElement","_c","_self","validator","staticClass","class","$dirty","$error","style","_t","_l","error","key","_v","_s","_e","staticRenderFns","mixins","props","style_form_row","String","default","component","name","template","customValidationFormGroup","messages","required","_lang","email","integer","between_duration","between_display_start_time_every","between_max_booking_per_day","between_event_buffer_before","attributes","first_name","last_name","_obj","_obj$1","is_single_location_and_no_input_required","single_location_label_before_booking","label","is_multiple_locations_or_input_required","attrs","$v","is_multiple_locations","directives","rawName","expression","domProps","_q","selected_location_index","on","$event","is_location_requires_input","booking_location_option_focus_on_txt_box","booking_location_option_label","booking_location_option_help_txt","pre","get_validator_for_location_while_booking","ref","refInFor","get_maxlength_from_validation","_i","$$a","$$el","target","$$c","checked","$$v","$$i","$set","concat","slice","$touch","composing","_isEmpty","location_details","after_booking_location_details","link","display_meeting_id_str","location_extra","password_data","password","components","CharLeft","model","prop","event","booking_details","Object","service_admin_details","booking_selected_location","data","computed","is_single_location","get","find_index_of_selected_location","set","selected_location","$emit","get_after_booking_location_details","methods","list_item","check_and_set_if_single_location","client_end","who_calls","location_str","display_meeting_id","meeting_id_label","$options","filters","location_name_by_type","setTimeout","mounted","staticStyle","mixin","AdminHeaderRight","notification_system","validation_errors","timeout","zindex","resetOnHover","$store","getters","get_client_end","get_tz","get_time_display_format","document_title_final","get_document_title","document_title","event_bus","EventBus","log","console","clone_deep","_cloneDeep","ref_focus","ref_name","$refs","focus","ref_click","click","date_str","parsed","notify_single_action_result","single_action_result","notify_options","dont_notify_success","success_msg","success_title","$toast","success","notify_validation_errors","error_msg","error_title","error_notify_options","assign","this_notify_options","error_list","error_data","key_level2","clear_validation_errors_cont","scroll_to_first_validation_error","error_cont_selector","errors_cont","document","querySelector","innerHTML","query","scroll_to","adjust_y","check_view_port","$nextTick","elmnt","is_element_top_in_view_port","top","getBoundingClientRect","window","scrollBy","left","behavior","scroll_to_if_not_in_view_port","el","rect","innerHeight","documentElement","clientHeight","innerWidth","clientWidth","is_element_in_view_port","bottom","right","scroll_to_within_cont","element_selector","container_selector","ele","container","eleTop","offsetTop","eleBottom","containerTop","scrollTop","containerBottom","on_click_outside","selector","call_back","element","outsideClickListener","contains","isVisible","removeClickListener","removeEventListener","elem","offsetWidth","offsetHeight","getClientRects","addEventListener","show_delete_highlight","del_highlight_index","set_mouseover_on_delete","is_hover","element_details","default_return","$params","max","on_click_if_same_page_target_router_push","router_path","ctrlKey","shiftKey","metaKey","button","preventDefault","$router","profile_picture","display_name","service_details","_f","duration","descr","booking_type","old_booking","booking_step","striked","wpcal_unix_to_from_to_time_full_date_day_tz","booking_from_time","BookingOldInfo","LocationAdvanced","admin_store","may_init_admin_store","__wpcal_client_end","admin_store_module","wpcal_clean_response","response_data","wpcal_clean_and_parse_json_response","JSON","parse","e","axios","interceptors","request","use","config","new_config","options","show_loading_indicator","params","_remove_options_before_call","admin_main_nonce","get_admin_main_nonce","qs","stringify","background_call","getElementById","classList","add","__custom_options","Promise","reject","response","remove","wpcal_main_error","error_message","wpcal_main_error_msg","is_ok","confirm","reload","wpcal_ajax","is_debug","script","char_left_class","color","char_left","maxlength","input_text","$modal","hide","invitee_name","invitee_email","cancel_reason_final","cancel_booking_btn_is_enabled","cancel_reason","Boolean","new_value","defaults","withCredentials","common_module","state","client","mobile","initial_document_title","app_cont_width","store","script_version","site_tz","site_locale","site_locale_intl","general_settings","ajax_main_action","tp_locations_refresh_interval_instance","dynamic_cache","mutations","set_client_tz","set_client_mobile","set_client_initial_document_title","set_is_debug","set_tz","set_app_cont_width","set_ajax_main_action","set_general_settings","set_tp_locations_refresh_interval_instance","set_store_by_obj","value_obj","set_dynamic_cache_by_prop","prop_details","expiry_secs","cached_ts","now","delete_dynamic_cache_by_prop","rootState","get_client_tz","get_client_initial_document_title","get_app_cont_width","get_script_version","get_site_tz","get_site_locale","get_site_locale_intl","get_ajax_main_action","get_general_settings","get_tp_locations_refresh_interval_instance","time_display_format","get_client_mobile","get_dynamic_cache","actions","init","context","dispatch","setInterval","commit","set_current_client_tz","current_client_tz","Intl","DateTimeFormat","resolvedOptions","save_tz_in_db_or_cookie","user_tz","wpcal_request","action","post_data","post","ajax_url","then","catch","get_tz_from_db_or_cookie","dummy__","listen_window_resize","debounce","ro","ResizeObserver","entries","mount_element","observe","err","get_settings_and_defaults","action_user_tz","action_is_debug","action_general_settings","action_license_status","action_initial_common_data","action_intial_client_end_data","request_options","request_result","license_info","root","is_admin_end_access_granted","manage_background_task","initial_time_out","clearTimeout","wpcal_run_background_timeout","run_background_task","action_run_background_task","nextCallAfterNms","is_task_waiting_now","run_booking_background_tasks_by_unique_link","action_run_booking_background_tasks","get_and_set_initial_document_title","client_initial_document_title","title","set_document_title","initial_title","final_title","check_asset_preloading_will_benefit","match_count","ver_str","urls","scripts","getElementsByTagName","src","indexOf","url_split_parts","links","rel","href","score","enable_preload","action_update_enable_preloading","get_dynamic_cache_by_prop","time_now_ts","clear_expired_props_in_dynamic_cache","may_debug_listen_and_log_booking_events","booking_event_handler","wp","i18n","wp__","wp_x","wp_n","wp_nx","_nx","sprintf","str","domain","singular_str","plural_str","num","args","T_x","T_n","T_nx","must_be_1_or_0","helpers","req","in_array","param_array","subset","value_array","every","val","findIndex","param_val","get_url_param_by_name","url_params","search","URLSearchParams","html_entities","input_str","replace","valid_phone","v2","v3","_value","test","valid_phone_if","parent","answer_type","valid_date","min_date_as","param","valid_time","valid_color","min_time_as","check_periods_collide","index1","check_period","slot1_from_time","slot1_to_time","index2","against_period","slot2_from_time","slot2_to_time","is_two_slots_collide","hex_to_rgb_txt","hex","hex_to_rgb","r","g","b","substring","match","map","x","physical","short_descr","phone","custom","ask_invitee","debug_log","parseISO","tz_obj","timezone_list","full_day","mini_day","go_back","booking_slot","reschedule_reason","service_locations","callback","question","invitee_question_answers","$each","$iter","answer","is_required","create_booking_btn_is_enabled","BookingInfo","questions","go","tz_model","with_popper","check_and_set_tz","vSelect","use_as","form_tz","dropdownList","width","modifiers","unique_link","steps_flow","availabile_slots_details","available_dates","availability_date_ranges","move_to_first_available_date","current_user_details","set_active_step_and_toggle","process_calendar_month_move_event","step2","add_booking","reschedule_booking","check_and_may_close_dialog","booking_date","date_picker_min_page","date_picker_max_page","is_wpcal_admin","_m","show_slots_column","slot_selector_back_clicked","emit_next_step","selected_date","option","confirmation","confirm_index","cf","show_confirm","confirmed_slot","show","show_component","formatted_selected_date","wpcal_format_std_date","day_available_slots","slots","slot","may_set_confirm_index","slot_index","watch","SlotSelector","TimeZoneSelector","update_to_page","show_date_picker","date","calendar","move","BookingStep1","BookingStep2","NewBookingsDisabled","BookingBottomPoweredBy","admin_end_booking_type","admin_end_service_id","admin_end_old_booking_unique_link","admin_end_is_schedule_invitee_again","service_id","step1","invitee_tz","availabile_slots_details_db","can_load_slots_for_calendar_month_move_event","current_calendar_month","old_booking_unique_link","is_schedule_invitee_again","validations","value_model","reschedule_step2","validations_rules","__all_details","__tmp","new_date","_slot","old_hidden_avaialble_date_to_disable_other_dates","step","get_first_available_date","compareAsc","to_month","load_avaialble_slots_by_calendar_view","pre_fill_form_from_url_params","load_page_details","action_service_details","action_user_details","action_availabile_slots","action_old_booking_details","current_month_view","$anyError","final_form","booking_page_current_url","booking_page_post_id","wpcal_post_id","action_add_booking","check_old_booking_reschedulable","dialog_text","on_close_go_to","text","buttons","undefined","action_reschedule_booking","add_questions_to_booking_form","i","load_page","$data","apply","wpcal_booking_service_id","$route","created","path"],"mappings":"2JAAA,W,4QCmBAA,aAAIC,OAAO,0BAA0B,SAASC,GAA8B,IAAvBC,EAAuB,uDAAT,QACjE,IAAKD,EACH,MAAO,IAELA,GAAWA,aAAiBE,OAC9BF,EAAQG,eAAW,cAAgBH,IAErC,IAAII,EAAeC,eAAOL,EAAOC,GACjC,OAAOG,KAGTN,aAAIC,OAAO,yBAAyB,S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"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingStep1.vue?vue&type=style&index=0&id=d8a2b7ca&scoped=true&lang=css&\"","import Vue from \"vue\";\nimport { format, fromUnixTime, differenceInHours } from \"date-fns\";\nimport { format as tz_format, toDate, utcToZonedTime } from \"date-fns-tz\";\nimport {\n get_tz_name,\n location_prop_by_type,\n date_parse,\n __,\n _x,\n _n,\n _nx,\n T__,\n T_x,\n T_n,\n T_nx,\n Tsprintf,\n weekdays_list\n} from \"@/utils/common_func.js\";\n\nVue.filter(\"wpcal_format_time_only\", function(value, time_format = \"HH:mm\") {\n if (!value) {\n return \"\";\n }\n if (value && !(value instanceof Date)) {\n value = date_parse(\"2000-01-01 \" + value);\n }\n let return_value = format(value, time_format);\n return return_value;\n});\n\nVue.filter(\"wpcal_format_std_date\", function(value) {\n if (!value) {\n return \"\";\n }\n if (!(value instanceof Date)) {\n value = date_parse(value);\n }\n let return_value = format(value, \"yyyy-MM-dd\");\n return return_value;\n});\n\nVue.filter(\"wpcal_format_date_style1\", function(value) {\n if (!value) {\n return \"\";\n }\n if (!(value instanceof Date)) {\n value = date_parse(value);\n }\n let return_value =\n _x(format(value, \"MMM\"), \"three-letter month abbreviation\", \"wpcal\") +\n \" \" +\n format(value, \"d, yyyy\"); //\"MMM d, yyyy\" -- \"MMM\" is Jan, Feb, ..., Dec\n return return_value;\n});\n\nVue.filter(\"wpcal_format_full_date_day\", function(value) {\n if (!value) {\n return \"\";\n }\n if (!(value instanceof Date)) {\n value = date_parse(value);\n }\n let return_value =\n __(format(value, \"EEEE\"), \"wpcal\") +\n \", \" +\n __(format(value, \"do\"), \"wpcal\") +\n \" \" +\n __(format(value, \"LLLL\"), \"wpcal\") +\n \", \" +\n format(value, \"yyyy\"); //\"EEEE, do LLLL, yyyy\" -- \"EEEE\" is Monday, Tuesday, ..., Sunday | \"LLLL\" is January, February, ..., December | do\tis 1st, 2nd, ..., 31st\n return return_value;\n});\n\nVue.filter(\"wpcal_format_fw_fm_dth_y\", function(value) {\n if (!value) {\n return \"\";\n }\n if (!(value instanceof Date)) {\n value = date_parse(value);\n }\n let format_str = \"EEEE, LLLL do\";\n let return_value =\n __(format(value, \"EEEE\"), \"wpcal\") +\n \", \" +\n __(format(value, \"LLLL\"), \"wpcal\") +\n \" \" +\n __(format(value, \"do\"), \"wpcal\"); //\"EEEE, LLLL do\" -- \"EEEE\" is Monday, Tuesday, ..., Sunday | \"LLLL\" is January, February, ..., December | do\tis 1st, 2nd, ..., 31st\n if (new Date().getFullYear() != value.getFullYear()) {\n format_str = \"EEEE, LLLL do, yyyy\";\n return_value += format(value, \", yyyy\");\n }\n\n return return_value;\n});\n\nVue.filter(\"wpcal_convert_tz_std_date_to_month_year_obj\", function(\n value,\n from_tz,\n to_tz\n) {\n if (!value) {\n return \"\";\n }\n\n let date_from_tz = toDate(value, { timeZone: from_tz });\n let date_to_tz = utcToZonedTime(date_from_tz, to_tz);\n\n let month = tz_format(date_to_tz, \"L\", { timeZone: to_tz });\n let year = tz_format(date_to_tz, \"yyyy\", { timeZone: to_tz });\n\n let month_year_obj = { month: parseInt(month), year: parseInt(year) };\n\n return month_year_obj;\n});\n\nVue.filter(\"wpcal_unix_to_time\", function(value, tz, time_format = \"HH:mm\") {\n if (!value) {\n return \"\";\n }\n if (!(value instanceof Date)) {\n value = fromUnixTime(value);\n }\n\n value = utcToZonedTime(value, tz);\n\n let return_value = tz_format(value, time_format, { timeZone: tz });\n return return_value;\n});\n\nVue.filter(\"wpcal_unix_to_date\", function(value, tz) {\n if (!value) {\n return \"\";\n }\n if (!(value instanceof Date)) {\n value = fromUnixTime(value);\n }\n\n value = utcToZonedTime(value, tz);\n\n let return_value = tz_format(value, \"yyyy-MM-dd\", { timeZone: tz });\n return return_value;\n});\n\nVue.filter(\"wpcal_unix_to_sm_sd_if_fy\", function(value, tz) {\n if (!value) {\n return \"\";\n }\n if (!(value instanceof Date)) {\n value = fromUnixTime(value);\n }\n\n value = utcToZonedTime(value, tz);\n\n let format_str = \"MMM d\";\n let return_value =\n _x(\n tz_format(value, \"MMM\", { timeZone: tz }),\n \"three-letter month abbreviation\",\n \"wpcal\"\n ) +\n \" \" +\n tz_format(value, \"d\", { timeZone: tz }); //\"MMM d\" -- \"MMM\" is Jan, Feb, ..., Dec\n\n if (new Date().getFullYear() != value.getFullYear()) {\n format_str = \"MMM d, yyyy\";\n return_value += tz_format(value, \", yyyy\", { timeZone: tz });\n }\n return return_value;\n});\n\nconst helper_plain_unix_to_full_date_day = function(value, tz) {\n let return_value =\n __(tz_format(value, \"EEEE\", { timeZone: tz }), \"wpcal\") +\n \", \" +\n __(tz_format(value, \"do\", { timeZone: tz }), \"wpcal\") +\n \" \" +\n __(tz_format(value, \"LLLL\", { timeZone: tz }), \"wpcal\") +\n \", \" +\n tz_format(value, \"yyyy\", { timeZone: tz }); //\"EEEE, do LLLL, yyyy\" -- \"EEEE\" is Monday, Tuesday, ..., Sunday | \"LLLL\" is January, February, ..., December | do\tis 1st, 2nd, ..., 31st\n return return_value;\n};\n\nVue.filter(\"wpcal_unix_to_full_date_day\", function(value, tz) {\n if (!value) {\n return \"\";\n }\n if (!(value instanceof Date)) {\n value = fromUnixTime(value);\n }\n\n value = utcToZonedTime(value, tz);\n\n let return_value = helper_plain_unix_to_full_date_day(value, tz);\n\n let tz_name = get_tz_name(tz);\n return_value += \" (\" + tz_name + \")\";\n return return_value;\n});\n\nVue.filter(\"wpcal_unix_to_from_to_time_full_date_day_tz\", function(\n from_time,\n to_time,\n tz,\n time_format = \"HH:mm\"\n) {\n if (!from_time || !to_time) {\n return \"\";\n }\n if (!(from_time instanceof Date)) {\n from_time = fromUnixTime(from_time);\n }\n if (!(to_time instanceof Date)) {\n to_time = fromUnixTime(to_time);\n }\n\n from_time = utcToZonedTime(from_time, tz);\n to_time = utcToZonedTime(to_time, tz);\n\n let date_std = \"yyyy-MM-dd\";\n let date1_std = tz_format(from_time, date_std, { timeZone: tz });\n let date2_std = tz_format(to_time, date_std, { timeZone: tz });\n\n let date_long_format = \"EEEE, do LLLL, yyyy\";\n let from_time_format = time_format;\n let from_time_display = tz_format(from_time, from_time_format, {\n timeZone: tz\n });\n let to_time_format = time_format + \", \" + date_long_format;\n let to_time_display =\n tz_format(to_time, time_format, {\n timeZone: tz\n }) +\n \",<br>\" +\n helper_plain_unix_to_full_date_day(to_time, tz);\n\n if (date1_std != date2_std) {\n from_time_format = time_format + \", \" + date_long_format;\n from_time_display =\n tz_format(from_time, time_format, {\n timeZone: tz\n }) +\n \", \" +\n helper_plain_unix_to_full_date_day(from_time, tz);\n }\n\n // let from_time_display = tz_format(from_time, from_time_format, {\n // timeZone: tz\n // });\n // let to_time_display = tz_format(to_time, to_time_format, { timeZone: tz });\n\n let tz_name = get_tz_name(tz);\n let return_value =\n from_time_display + \" - \" + to_time_display + \"<br>(\" + tz_name + \")\";\n return return_value;\n});\n\nVue.filter(\"wpcal_unix_to_unix_only_date\", function(value, tz) {\n if (!value) {\n return \"\";\n }\n if (!(value instanceof Date)) {\n value = fromUnixTime(value);\n }\n\n value = utcToZonedTime(value, tz);\n\n value.setHours(0);\n value.setMinutes(0);\n value.setSeconds(0);\n\n let only_date = tz_format(value, \"yyyy-MM-dd\", { timeZone: tz }); //there is some bug or some unknown with data-fns-tz package while converting to unix so this workaround is used.\n\n value = toDate(only_date, { timeZone: tz });\n\n let return_value = tz_format(value, \"t\", { timeZone: tz });\n return return_value;\n});\n\nVue.filter(\"wpcal_unix_to_sw_sm_sd_if_fy\", function(value, tz) {\n if (!value) {\n return \"\";\n }\n if (!(value instanceof Date)) {\n value = fromUnixTime(value);\n }\n\n value = utcToZonedTime(value, tz);\n\n let format_str = \"iii, MMM d\";\n let return_value =\n __(tz_format(value, \"iii\", { timeZone: tz }), \"wpcal\") +\n \", \" +\n _x(\n tz_format(value, \"MMM\", { timeZone: tz }),\n \"three-letter month abbreviation\",\n \"wpcal\"\n ) +\n \" \" +\n tz_format(value, \"d\", { timeZone: tz }); //\"iii, MMM d\" -- MMM\tis Jan, Feb, ..., Dec | iii is Mon, Tue, Wed, ..., Sun\n if (new Date().getFullYear() != value.getFullYear()) {\n format_str = \"iii, MMM d, yyyy\";\n return_value += tz_format(value, \", yyyy\", { timeZone: tz });\n }\n\n //let return_value = tz_format(value, format_str, { timeZone: tz });\n return return_value;\n});\n\nVue.filter(\"wpcal_unix_to_relative_day\", function(value, tz) {\n if (!value) {\n return \"\";\n }\n if (!(value instanceof Date)) {\n value = fromUnixTime(value);\n }\n\n value = utcToZonedTime(value, tz);\n\n let today_zero = new Date();\n today_zero = utcToZonedTime(today_zero, tz);\n\n today_zero.setHours(0);\n today_zero.setMinutes(0);\n today_zero.setSeconds(0);\n today_zero.setMilliseconds(0);\n\n let hours_diff = differenceInHours(value, today_zero);\n\n let return_value = \"\";\n if (hours_diff > 48) {\n return return_value;\n }\n\n if (value >= today_zero) {\n if (hours_diff > -1 && hours_diff < 24) {\n return_value = T__(\"TODAY\", \"wpcal\");\n } else if (hours_diff >= 24 && hours_diff < 48) {\n return_value = T__(\"TOMORROW\", \"wpcal\");\n }\n } else {\n if (hours_diff < 0 && hours_diff >= -24) {\n return_value = T__(\"YESTERDAY\", \"wpcal\");\n }\n }\n return return_value;\n});\n\nVue.filter(\"wpcal_format_tz\", function(tz) {\n if (!tz) {\n return \"\";\n }\n let tz_name = get_tz_name(tz);\n return tz_name;\n});\n\nVue.filter(\"wpcal_format_weekdays_summary\", function(selected_days) {\n let weekdays = weekdays_list;\n\n if (!Array.isArray(selected_days) || selected_days.length < 1) {\n return \"\";\n }\n let selected_days_final = [...selected_days];\n selected_days_final.sort();\n let show_days = [];\n let is_continuity = true;\n let last_index = \"\";\n\n for (let day_index of selected_days_final) {\n let weekday_detail_final = weekdays.find(weekday_detail => {\n return weekday_detail.index == day_index;\n });\n show_days.push(weekday_detail_final.short_day);\n if (last_index !== \"\") {\n if (\n is_continuity &&\n parseInt(last_index) + 1 != weekday_detail_final.index\n ) {\n is_continuity = false;\n }\n }\n last_index = day_index;\n }\n\n let days_str = show_days.join(\", \");\n if (is_continuity && show_days.length > 1) {\n days_str = Tsprintf(\n /* translators: 1: Weekday abbreviation 2: Weekday abbreviation */\n T__(\"%1$s to %2$s\", \"wpcal\"),\n show_days.shift(),\n show_days.pop()\n );\n }\n return days_str;\n});\n\n//------------------------------------------------------->\n\nVue.filter(\"wpcal_get_firstname\", function(value) {\n if (!value && typeof value !== \"string\") {\n return \"\";\n }\n\n let return_value = value.split(\" \")[0];\n return return_value;\n});\n\nVue.filter(\"relationship_type_str\", function(value) {\n if (value === \"1to1\") {\n return T__(\"One-on-One\", \"wpcal\");\n }\n return value;\n});\n\nVue.filter(\"mins_to_str\", function(d) {\n d = Number(d);\n d = d * 60;\n let h = Math.floor(d / 3600);\n let m = Math.floor((d % 3600) / 60);\n //let s = Math.floor((d % 3600) % 60);\n\n let hDisplay = h > 0 ? h + \" \" + _n(\"hr\", \"hrs\", h, \"wpcal\") : \"\";\n let mDisplay = m > 0 ? m + \" \" + _n(\"min\", \"mins\", m, \"wpcal\") : \"\";\n //let sDisplay = s > 0 ? s + (s == 1 ? \" second\" : \" seconds\") : \"\";\n\n let display = [hDisplay, mDisplay];\n display = display.filter(function(v) {\n return v.trim() ? true : false;\n });\n return display.join(\" \"); // + sDisplay;\n});\n\nVue.filter(\"calendar_provider_name\", function(provider) {\n const providers = {\n google_calendar: \"Google Calendar\",\n office365_calendar: \"Office 365\",\n outlook_calendar: \"Outlook Plug-in\",\n icloud_calendar: \"iCloud Calendar\"\n };\n if (providers.hasOwnProperty(provider)) {\n return providers[provider];\n }\n return provider;\n});\n\nVue.filter(\"tp_provider_name\", function(provider) {\n const providers = {\n zoom_meeting: \"Zoom\",\n gotomeeting_meeting: \"GoToMeeting\",\n googlemeet_meeting: \"Google Meet / Hangouts\"\n };\n if (providers.hasOwnProperty(provider)) {\n return providers[provider];\n }\n return provider;\n});\n\nVue.filter(\"locations_summary\", function(locations) {\n if (!Array.isArray(locations)) {\n return locations;\n }\n if (!locations.length) {\n return \"\";\n }\n\n if (!locations[0].hasOwnProperty(\"type\")) {\n return locations;\n }\n let total_locations = locations.length;\n let more_locations_count = total_locations - 1;\n\n let summary;\n if (\n locations[0].hasOwnProperty(\"form\") &&\n locations[0].form &&\n locations[0].form.hasOwnProperty(\"location\") &&\n locations[0].form.location\n ) {\n summary =\n '<span style=\"white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 205px;\" >' +\n locations[0].form.location +\n \"</span>\";\n } else {\n summary = location_prop_by_type(locations[0].type, \"name\");\n }\n if (more_locations_count > 0) {\n summary += \" (+\" + more_locations_count + \" more)\";\n }\n return summary;\n});\n\nVue.filter(\"location_name_by_type\", function(location_type) {\n return location_prop_by_type(location_type, \"name\");\n});\n\nVue.filter(\"location_short_descr_by_type\", function(location_type) {\n return location_prop_by_type(location_type, \"short_descr\");\n});\n\nVue.filter(\"admin_booking_status\", function(status, booking_to_time) {\n let current_time_ts = new Date().getTime() / 1000;\n let result = \"Unknown\";\n switch (true) {\n case status == 1 && booking_to_time >= current_time_ts:\n result = \"Active\";\n break;\n case status == 1 && booking_to_time < current_time_ts:\n result = \"Past\";\n break;\n case status == -1:\n result = \"Cancelled\";\n break;\n case status == -5:\n result = \"Rescheduled\";\n break;\n }\n\n return result;\n});\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[(_vm.validator.hasOwnProperty('$dirty'))?_c('div',{staticClass:\"wpc-form-row\",class:{ 'has-error': _vm.validator.$dirty && _vm.validator.$error },style:(_vm.style_form_row)},[_vm._t(\"default\"),(_vm.hasErrors)?_c('div',{staticClass:\"wpc-form-error-msg\"},_vm._l((_vm.activeErrorMessages),function(error,index){return _c('div',{key:index},[_vm._v(\" \"+_vm._s(error)+\" \")])}),0):_vm._e(),_vm._t(\"after\")],2):_c('div',{staticClass:\"wpc-form-row\",style:(_vm.style_form_row)},[_vm._t(\"default\"),_vm._t(\"after\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span>\n <div\n v-if=\"validator.hasOwnProperty('$dirty')\"\n class=\"wpc-form-row\"\n :class=\"{ 'has-error': validator.$dirty && validator.$error }\"\n :style=\"style_form_row\"\n >\n <slot />\n <div class=\"wpc-form-error-msg\" v-if=\"hasErrors\">\n <div v-for=\"(error, index) in activeErrorMessages\" :key=\"index\">\n {{ error }}\n </div>\n </div>\n <slot name=\"after\" />\n </div>\n <div v-else class=\"wpc-form-row\" :style=\"style_form_row\">\n <slot />\n <slot name=\"after\" />\n </div>\n </span>\n</template>\n\n<script>\nimport { singleErrorExtractorMixin } from \"vuelidate-error-extractor\";\n\nexport default {\n mixins: [singleErrorExtractorMixin],\n props: {\n style_form_row: {\n type: String,\n default: \"\"\n }\n }\n};\n</script>\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ValidationFormGroup.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ValidationFormGroup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ValidationFormGroup.vue?vue&type=template&id=08d18502&\"\nimport script from \"./ValidationFormGroup.vue?vue&type=script&lang=js&\"\nexport * from \"./ValidationFormGroup.vue?vue&type=script&lang=js&\"\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 { _lang } from \"@/utils/common_func.js\";\n// _lang - to avoid name changed by webpack\n\nimport customValidationFormGroup from \"@/components/form_elements/ValidationFormGroup.vue\";\n\nexport default {\n name: \"form-row\",\n template: customValidationFormGroup, // you can also pass your own custom template\n messages: {\n // error messages to use\n // required: \"This {attribute} field is required1.\",\n // email: \"This {attribute} field must a valid email.\",\n // integer: \"This {attribute} field must be a number.\",\n required: _lang.__(\"This field is required.\", \"wpcal\"),\n email: _lang.__(\"This field must a valid email.\", \"wpcal\"),\n integer: _lang.__(\"This field must be a number.\", \"wpcal\"),\n between_duration: _lang.T__(\n \"This field must be between 1 and 1440 (including).\",\n \"wpcal\"\n ),\n between_display_start_time_every: _lang.T__(\n \"This field must be between 1 and 1440 (including).\",\n \"wpcal\"\n ),\n between_max_booking_per_day: _lang.T__(\n \"This field must be between 1 and 1440 (including).\",\n \"wpcal\"\n ),\n between_event_buffer_before: _lang.__(\n \"Please select valid field.\",\n \"wpcal\"\n ),\n between_event_buffer_before: _lang.__(\n \"Please select valid field.\",\n \"wpcal\"\n ),\n min_date: _lang.T__(\n \"Too bad, we can't time travel yet. The TO date should be later than the FROM date.\",\n \"wpcal\"\n ),\n min_time: _lang.T__(\n \"Too bad, we can't time travel yet. The TO time should be later than the FROM time.\",\n \"wpcal\"\n ),\n valid_date: _lang.__(\"This field date must be valid.\", \"wpcal\"),\n valid_time: _lang.__(\"This field time must be valid.\", \"wpcal\"),\n check_periods_collide: _lang.T__(\n \"This time periods clashing with each other.\",\n \"wpcal\"\n ),\n must_be_1_or_0: _lang.T__(\"This field value must be 1 or 0.\", \"wpcal\"),\n in_array_time_format: _lang.T__(\n \"This field value must be 12hrs or 24hrs.\",\n \"wpcal\"\n ),\n subset_working_days: _lang.T__(\n \"This field value must be between 1 and 7(including).\",\n \"wpcal\"\n ),\n //max_char_length_150: \"This field can contain a maximum of 150 characters.\",\n max_char_length_500: _lang.__(\n \"This field can contain a maximum of 500 characters.\",\n \"wpcal\"\n ),\n valid_color: _lang.T__(\n \"Please enter a valid hex color code. Eg. #eee, #eeeeee.\",\n \"wpcal\"\n ),\n branding_font_in_array: _lang.__(\"Invalid selection value.\", \"wpcal\"),\n use_wp_mail_in_array: _lang.__(\"Invalid selection value.\", \"wpcal\"),\n hide_premium_info_badges_in_array: _lang.__(\n \"Invalid selection value.\",\n \"wpcal\"\n ),\n valid_phone: _lang.__(\n \"This field value must be valid phone number.\",\n \"wpcal\"\n ),\n valid_phone_if: _lang.__(\n \"This field value must be valid phone number.\",\n \"wpcal\"\n )\n },\n attributes: {\n // maps form keys to actual field names\n email: \"Email\",\n first_name: \"First name\",\n last_name: \"Last name\"\n }\n};\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingOldInfo.vue?vue&type=style&index=0&id=1a5c2e60&scoped=true&lang=css&\"","var render = function () {\nvar _obj, _obj$1;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[(\n _vm.type == 'display_booking_left_info_section' &&\n _vm.is_single_location_and_no_input_required\n )?_c('span',[_c('div',{staticClass:\"event-type-location\",class:( _obj = {}, _obj['location_' + _vm.single_location_label_before_booking.type] = true, _obj )},[_vm._v(\" \"+_vm._s(_vm.single_location_label_before_booking.label)+\" \")])]):_vm._e(),(\n _vm.type == 'display_booking_location_options' &&\n _vm.is_multiple_locations_or_input_required\n )?_c('span',[_c('form-row',{attrs:{\"validator\":_vm.$v.type}},[_c('label',{staticClass:\"wpc-label\"},[_vm._v(_vm._s(_vm.__(\"How shall we connect?\", \"wpcal\"))),_c('em',[_vm._v(_vm._s(_vm.__(\"required\", \"wpcal\")))])]),_c('ul',{staticClass:\"selector block location\",style:(_vm.is_multiple_locations ? '' : '')},_vm._l((_vm.locations),function(location,index){\n var _obj;\nreturn _c('li',{key:index},[(_vm.is_multiple_locations)?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected_location_index),expression:\"selected_location_index\"}],attrs:{\"type\":\"radio\",\"name\":\"location_radio\",\"id\":'location_' + index},domProps:{\"value\":index,\"checked\":_vm._q(_vm.selected_location_index,index)},on:{\"focus\":function($event){_vm.is_location_requires_input(location) &&\n _vm.booking_location_option_focus_on_txt_box(\n 'location_txt_' + index\n )},\"click\":function($event){_vm.is_location_requires_input(location) &&\n _vm.booking_location_option_focus_on_txt_box(\n 'location_txt_' + index\n )},\"change\":function($event){_vm.selected_location_index=index}}}):_vm._e(),_c('label',{staticClass:\"wpc-label\",class:( _obj = {}, _obj['location_' + location.type] = true, _obj ),attrs:{\"for\":'location_' + index}},[(location.type === 'phone')?_c('svg',{staticClass:\"icon-fill phone-reciever\"},[_c('use',{attrs:{\"xlink:href\":\"#icon-phone-reciever\"}})]):_vm._e(),(\n location.type === 'physical' ||\n location.type === 'ask_invitee'\n )?_c('svg',{staticClass:\"icon-fill pin-solid\"},[_c('use',{attrs:{\"xlink:href\":\"#icon-pin-solid\"}})]):_vm._e(),_vm._v(\" \"+_vm._s(_vm.booking_location_option_label(location))+\" \"),_c('div',[(\n _vm.booking_location_option_help_txt(location) &&\n (location.type == 'ask_invitee' ||\n _vm.selected_location_index === index)\n )?_c('div',{staticClass:\"txt-help\",class:{ pre: location.type == 'ask_invitee' }},[_vm._v(\" \"+_vm._s(_vm.booking_location_option_help_txt(location))+\" \")]):_vm._e(),(\n _vm.is_location_requires_input(location) &&\n _vm.selected_location_index === index\n )?_c('form-row',{attrs:{\"validator\":_vm.get_validator_for_location_while_booking(index),\"style_form_row\":location.type != 'ask_invitee' ? 'margin-bottom:0;' : ''}},[((location.type == 'phone' ? 'tel' : 'text')==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(location.form.location),expression:\"location.form.location\"}],ref:'location_txt_' + index,refInFor:true,attrs:{\"maxlength\":_vm.get_maxlength_from_validation(_vm.$v.form.location),\"autocomplete\":location.type == 'phone' ? 'tel' : '',\"inputmode\":location.type == 'phone' ? 'tel' : '',\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(location.form.location)?_vm._i(location.form.location,null)>-1:(location.form.location)},on:{\"change\":[function($event){var $$a=location.form.location,$$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.$set(location.form, \"location\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(location.form, \"location\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(location.form, \"location\", $$c)}},function($event){return _vm.$v.form.location.$touch()}]}}):((location.type == 'phone' ? 'tel' : 'text')==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(location.form.location),expression:\"location.form.location\"}],ref:'location_txt_' + index,refInFor:true,attrs:{\"maxlength\":_vm.get_maxlength_from_validation(_vm.$v.form.location),\"autocomplete\":location.type == 'phone' ? 'tel' : '',\"inputmode\":location.type == 'phone' ? 'tel' : '',\"type\":\"radio\"},domProps:{\"checked\":_vm._q(location.form.location,null)},on:{\"change\":[function($event){return _vm.$set(location.form, \"location\", null)},function($event){return _vm.$v.form.location.$touch()}]}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(location.form.location),expression:\"location.form.location\"}],ref:'location_txt_' + index,refInFor:true,attrs:{\"maxlength\":_vm.get_maxlength_from_validation(_vm.$v.form.location),\"autocomplete\":location.type == 'phone' ? 'tel' : '',\"inputmode\":location.type == 'phone' ? 'tel' : '',\"type\":location.type == 'phone' ? 'tel' : 'text'},domProps:{\"value\":(location.form.location)},on:{\"change\":function($event){return _vm.$v.form.location.$touch()},\"input\":function($event){if($event.target.composing){ return; }_vm.$set(location.form, \"location\", $event.target.value)}}}),(location.type == 'ask_invitee')?_c('CharLeft',{attrs:{\"maxlength\":_vm.get_maxlength_from_validation(_vm.$v.form.location),\"input_text\":location.form.location}}):_vm._e(),(location.type == 'phone')?_c('div',{staticClass:\"txt-help\"},[_vm._v(\" \"+_vm._s(_vm.__( \"Please enter phone number with country code. E.g. +1 555 555 1234\", \"wpcal\" ))+\" \")]):_vm._e()],1):(\n location.type !== 'phone' &&\n location.type !== 'ask_invitee' &&\n location.form &&\n location.form.location\n )?_c('div',[_vm._v(\" \"+_vm._s(location.form.location)+\" \")]):_vm._e()],1)])])}),0)])],1):_vm._e(),(\n _vm.type == 'display_user_after_booking_location' &&\n !_vm._isEmpty(_vm.location_details) &&\n _vm.location_details.type\n )?_c('span',[(_vm.after_booking_location_details)?_c('div',{staticClass:\"event-type-location\",class:( _obj$1 = {}, _obj$1['location_' + _vm.location_details.type] = true, _obj$1 )},[_vm._v(\" \"+_vm._s(_vm.after_booking_location_details.location)+\" \"),(_vm.after_booking_location_details.link)?_c('span',[_vm._v(\" - \"),_c('a',{attrs:{\"href\":_vm.after_booking_location_details.link,\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.after_booking_location_details.link))])]):_vm._e(),(\n _vm.after_booking_location_details.display_meeting_id_str &&\n _vm.after_booking_location_details.display_meeting_id_str\n )?_c('div',[_vm._v(\" \"+_vm._s(_vm.after_booking_location_details.display_meeting_id_str)+\" \")]):_vm._e(),(_vm.after_booking_location_details.location_extra)?_c('div',{staticClass:\"pre\"},[_vm._v(\" \"+_vm._s(_vm.after_booking_location_details.location_extra)+\" \")]):_vm._e(),(\n _vm.after_booking_location_details.password_data &&\n _vm.after_booking_location_details.password_data.password\n )?_c('div',[_vm._v(\" \"+_vm._s(_vm.after_booking_location_details.password_data.label)+\": \"+_vm._s(_vm.after_booking_location_details.password_data.password)+\" \")]):_vm._e()]):_vm._e()]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span>\n <span\n v-if=\"\n type == 'display_booking_left_info_section' &&\n is_single_location_and_no_input_required\n \"\n >\n <div\n class=\"event-type-location\"\n :class=\"{\n ['location_' + single_location_label_before_booking.type]: true\n }\"\n >\n {{ single_location_label_before_booking.label }}\n </div>\n </span>\n\n <!-- display_booking_location_options - STARTS HERE -->\n <span\n v-if=\"\n type == 'display_booking_location_options' &&\n is_multiple_locations_or_input_required\n \"\n >\n <form-row :validator=\"$v.type\">\n <label class=\"wpc-label\"\n >{{ __(\"How shall we connect?\", \"wpcal\")\n }}<em>{{ __(\"required\", \"wpcal\") }}</em></label\n >\n <ul\n class=\"selector block location\"\n :style=\"is_multiple_locations ? '' : ''\"\n >\n <li v-for=\"(location, index) in locations\" :key=\"index\">\n <input\n type=\"radio\"\n name=\"location_radio\"\n :id=\"'location_' + index\"\n v-model=\"selected_location_index\"\n :value=\"index\"\n v-if=\"is_multiple_locations\"\n @focus=\"\n is_location_requires_input(location) &&\n booking_location_option_focus_on_txt_box(\n 'location_txt_' + index\n )\n \"\n @click=\"\n is_location_requires_input(location) &&\n booking_location_option_focus_on_txt_box(\n 'location_txt_' + index\n )\n \"\n />\n <label\n class=\"wpc-label\"\n :class=\"{ ['location_' + location.type]: true }\"\n :for=\"'location_' + index\"\n >\n <!-- SVG References -->\n <svg\n class=\"icon-fill phone-reciever\"\n v-if=\"location.type === 'phone'\"\n >\n <use xlink:href=\"#icon-phone-reciever\"></use>\n </svg>\n <svg\n class=\"icon-fill pin-solid\"\n v-if=\"\n location.type === 'physical' ||\n location.type === 'ask_invitee'\n \"\n >\n <use xlink:href=\"#icon-pin-solid\"></use>\n </svg>\n {{ booking_location_option_label(location) }}\n <div>\n <!-- for using pre -->\n <!-- eslint-disable -->\n <div\n v-if=\"\n booking_location_option_help_txt(location) &&\n (location.type == 'ask_invitee' ||\n selected_location_index === index)\n \"\n class=\"txt-help\"\n :class=\"{ pre: location.type == 'ask_invitee' }\"\n >\n {{ booking_location_option_help_txt(location) }}\n </div>\n <!-- eslint-enable -->\n <form-row\n :validator=\"get_validator_for_location_while_booking(index)\"\n :style_form_row=\"\n location.type != 'ask_invitee' ? 'margin-bottom:0;' : ''\n \"\n v-if=\"\n is_location_requires_input(location) &&\n selected_location_index === index\n \"\n >\n <input\n :type=\"location.type == 'phone' ? 'tel' : 'text'\"\n v-model=\"location.form.location\"\n @change=\"$v.form.location.$touch()\"\n :ref=\"'location_txt_' + index\"\n :maxlength=\"get_maxlength_from_validation($v.form.location)\"\n :autocomplete=\"location.type == 'phone' ? 'tel' : ''\"\n :inputmode=\"location.type == 'phone' ? 'tel' : ''\"\n />\n <CharLeft\n v-if=\"location.type == 'ask_invitee'\"\n :maxlength=\"get_maxlength_from_validation($v.form.location)\"\n :input_text=\"location.form.location\"\n />\n <div v-if=\"location.type == 'phone'\" class=\"txt-help\">\n {{\n __(\n \"Please enter phone number with country code. E.g. +1 555 555 1234\",\n \"wpcal\"\n )\n }}\n </div>\n </form-row>\n <div\n v-else-if=\"\n location.type !== 'phone' &&\n location.type !== 'ask_invitee' &&\n location.form &&\n location.form.location\n \"\n >\n {{ location.form.location }}\n </div>\n </div>\n </label>\n </li>\n </ul>\n </form-row>\n </span>\n <!-- display_booking_location_options - ENDS HERE -->\n\n <!-- display_user_after_booking_location - STARTS HERE -->\n <span\n v-if=\"\n type == 'display_user_after_booking_location' &&\n !_isEmpty(location_details) &&\n location_details.type\n \"\n >\n <div\n class=\"event-type-location\"\n :class=\"{\n ['location_' + location_details.type]: true\n }\"\n v-if=\"after_booking_location_details\"\n >\n {{ after_booking_location_details.location }}\n <span v-if=\"after_booking_location_details.link\">\n -\n <a :href=\"after_booking_location_details.link\" target=\"_blank\">{{\n after_booking_location_details.link\n }}</a></span\n >\n <div\n v-if=\"\n after_booking_location_details.display_meeting_id_str &&\n after_booking_location_details.display_meeting_id_str\n \"\n >\n {{ after_booking_location_details.display_meeting_id_str }}\n </div>\n\n <!-- for using pre -->\n <!-- eslint-disable-next-line -->\n <div v-if=\"after_booking_location_details.location_extra\" class=\"pre\">\n {{ after_booking_location_details.location_extra }}\n </div>\n <div\n v-if=\"\n after_booking_location_details.password_data &&\n after_booking_location_details.password_data.password\n \"\n >\n {{ after_booking_location_details.password_data.label }}:\n {{ after_booking_location_details.password_data.password }}\n </div>\n </div>\n </span>\n <!-- display_user_after_booking_location - ENDS HERE -->\n\n <!-- <div v-else-if=\"\"></div> -->\n </span>\n</template>\n\n<script>\nimport CharLeft from \"@/components/form_elements/CharLeft.vue\";\n\nexport default {\n name: \"LocationAdvanced\",\n components: {\n CharLeft\n },\n model: {\n prop: \"booking_selected_location\",\n event: \"booking-selected-location-value-changed\"\n },\n props: {\n type: {\n type: String\n },\n locations: {\n type: Array\n ///default: () => []\n },\n location_details: {\n //type: Object //commented for console error empty object coming as empty array due to php - if condition later checked\n },\n booking_details: {\n type: Object\n },\n service_admin_details: {\n type: Object\n },\n booking_selected_location: {},\n $v: {}\n },\n data() {\n return {};\n },\n computed: {\n is_single_location() {\n if (Array.isArray(this.locations) && this.locations.length == 1) {\n return true;\n }\n return false;\n },\n is_single_location_and_no_input_required() {\n if (this.is_single_location) {\n if (!this.is_location_requires_input(this.locations[0])) {\n return true;\n }\n }\n return false;\n },\n is_multiple_locations_or_input_required() {\n if (this.is_multiple_locations) {\n return true;\n }\n if (\n this.locations.length === 1 &&\n this.is_location_requires_input(this.locations[0])\n ) {\n return true;\n }\n return false;\n },\n is_multiple_locations() {\n if (!Array.isArray(this.locations) || this.locations.length == 0) {\n return false;\n }\n if (this.locations.length > 1) {\n return true;\n }\n return false;\n },\n single_location_label_before_booking() {\n if (this.is_single_location_and_no_input_required) {\n if (\n this.locations[0].type == \"physical\" ||\n this.locations[0].type == \"custom\"\n ) {\n return {\n type: this.locations[0].type,\n label: this.locations[0].form.location,\n location_extra: this.locations[0].form.location_extra\n ? this.locations[0].form.location_extra\n : \"\"\n };\n }\n if (this.locations[0].type == \"phone\") {\n //who_calls invitee already checked\n return {\n type: this.locations[0].type,\n label: \"Phone\",\n location_extra: null\n };\n }\n }\n return {\n type: this.locations[0].type,\n label: this.__(\n \"Web conference - The meeting link will be emailed upon confirmation.\",\n \"wpcal\"\n ),\n location_extra: null\n };\n },\n selected_location_index: {\n get: function() {\n return this.find_index_of_selected_location(\n this.locations,\n this.booking_selected_location\n );\n },\n set: function(index) {\n let selected_location = {};\n if (typeof this.locations[index] !== \"undefined\") {\n selected_location = this.locations[index];\n }\n this.$emit(\n \"booking-selected-location-value-changed\",\n selected_location\n );\n }\n },\n after_booking_location_details() {\n return this.get_after_booking_location_details(this.location_details);\n }\n },\n methods: {\n is_location_requires_input(location) {\n if (location.type == \"ask_invitee\") {\n return true;\n } else if (\n location.type == \"phone\" &&\n location.form &&\n location.form.who_calls == \"admin\"\n ) {\n return true;\n }\n return false;\n },\n find_index_of_selected_location(locations, selected_location) {\n if (\n this._isEmpty(selected_location) ||\n !selected_location.hasOwnProperty(\"type\") ||\n !selected_location.type\n ) {\n return \"\";\n }\n let selected_location_index = locations.findIndex(list_item => {\n if (selected_location.type === list_item.type) {\n if (\n selected_location.type === \"physical\" ||\n selected_location.type === \"custom\"\n ) {\n return selected_location.form.location == list_item.form.location;\n } else {\n return true;\n }\n }\n return false;\n });\n if (selected_location_index != -1) {\n return selected_location_index;\n }\n return \"\";\n },\n check_and_set_if_single_location() {\n if (this.is_single_location) {\n this.selected_location_index = 0;\n }\n },\n get_after_booking_location_details(location) {\n if (!location || !location.type) {\n return { location: \"\" };\n }\n if (location.type === \"physical\" || location.type === \"custom\") {\n let location_extra = \"\";\n if (location.form && location.form.location_extra) {\n location_extra = location.form.location_extra;\n }\n return {\n location: location.form.location,\n location_extra: location_extra\n };\n }\n if (location.type === \"ask_invitee\") {\n return {\n location: location.form.location\n };\n }\n if (location.type === \"phone\" && location.form) {\n let location_str;\n if (this.client_end === \"admin\") {\n let invitee_name = this.booking_details.invitee_name;\n if (location.form.who_calls == \"invitee\") {\n location_str = this.Tsprintf(\n /* translators: 1: invitee/admin name 2: phone number */\n this.__(\"%1$s will call you on %2$s\", \"wpcal\"),\n invitee_name,\n location.form.location\n );\n } else if (location.form.who_calls == \"admin\") {\n location_str = this.Tsprintf(\n /* translators: 1: invitee/admin name 2: phone number */\n this.__(\"You will call %1$s on %2$s\", \"wpcal\"),\n invitee_name,\n location.form.location\n );\n }\n } else if (this.client_end === \"user\") {\n let admin_name = this.service_admin_details.display_name;\n if (location.form.who_calls == \"invitee\") {\n location_str = this.Tsprintf(\n /* translators: 1: invitee/admin name 2: phone number */\n this.__(\"You will call %1$s on %2$s\", \"wpcal\"),\n admin_name,\n location.form.location\n );\n } else if (location.form.who_calls == \"admin\") {\n location_str = this.Tsprintf(\n /* translators: 1: invitee/admin name 2: phone number */\n this.__(\"%1$s will call you on %2$s\", \"wpcal\"),\n admin_name,\n location.form.location\n );\n }\n }\n\n return { location: location_str };\n }\n if (\n location.type === \"googlemeet_meeting\" ||\n location.type === \"zoom_meeting\" ||\n location.type === \"gotomeeting_meeting\"\n ) {\n if (this.client_end === \"admin\") {\n let link = \"\";\n\n let location_str = this.Tsprintf(\n /* translators: %s: meeting app name */\n this.__(\"%s Web conference\", \"wpcal\"),\n this.$options.filters.location_name_by_type(location.type)\n );\n if (location.form && location.form.location) {\n link = location.form.location;\n }\n let password_data = {};\n if (location.form && location.form.password_data) {\n password_data = location.form.password_data;\n }\n let display_meeting_id_str = \"\";\n if (location.form && location.form.display_meeting_id) {\n let meeting_id_label = this.__(\"Meeting ID\", \"wpcal\");\n if (location.type === \"googlemeet_meeting\") {\n meeting_id_label = this.__(\"Meeting code\", \"wpcal\");\n }\n display_meeting_id_str =\n this.$options.filters.location_name_by_type(location.type) +\n \" \" +\n meeting_id_label +\n \": \" +\n location.form.display_meeting_id;\n }\n return {\n location: location_str,\n password_data: password_data,\n link: link,\n display_meeting_id_str: display_meeting_id_str\n };\n } else if (this.client_end === \"user\") {\n return {\n location: this.Tsprintf(\n /* translators: %s: Location name */\n this.__(\n \"%s - The web conferencing details will be emailed to you.\",\n \"wpcal\"\n ),\n this.$options.filters.location_name_by_type(location.type)\n )\n };\n }\n }\n },\n get_validator_for_location_while_booking(index) {\n if (index === this.selected_location_index) {\n return this.$v.form.location;\n }\n return {};\n },\n booking_location_option_label(location) {\n if (location.type === \"physical\" || location.type === \"custom\") {\n return \"\";\n }\n if (location.type === \"ask_invitee\") {\n return this.__(\"Enter a location of your choice\", \"wpcal\");\n }\n if (\n location.type === \"phone\" &&\n location.form &&\n location.form.who_calls === \"invitee\"\n ) {\n return this.__(\"You call me at the scheduled time.\", \"wpcal\");\n }\n return this.$options.filters.location_name_by_type(location.type);\n },\n booking_location_option_help_txt(location) {\n if (location.type === \"phone\" && location.form) {\n if (location.form.who_calls === \"admin\") {\n return this.Tsprintf(\n /* translators: %s: admin name */\n this.__(\n \"Enter your phone number. %s will call you here at the scheduled time.\",\n \"wpcal\"\n ),\n this.service_admin_details.display_name\n );\n } else if (location.form.who_calls === \"invitee\") {\n return this.__(\n \"The phone number will be provided upon confirmation.\",\n \"wpcal\"\n );\n }\n }\n if (\n location.type === \"googlemeet_meeting\" ||\n location.type === \"zoom_meeting\" ||\n location.type === \"gotomeeting_meeting\"\n ) {\n return this.__(\n \"Web conference - The meeting link will be emailed upon confirmation.\",\n \"wpcal\"\n );\n }\n if (\n location.type == \"ask_invitee\" &&\n location.form &&\n location.form.location_extra\n ) {\n return location.form.location_extra;\n }\n return \"\";\n },\n booking_location_option_focus_on_txt_box(ref) {\n setTimeout(() => {\n this.$refs[ref][0].focus();\n }, 100);\n }\n },\n mounted() {\n if (this.type === \"display_booking_location_options\") {\n this.check_and_set_if_single_location();\n }\n }\n};\n</script>\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/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationAdvanced.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LocationAdvanced.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./LocationAdvanced.vue?vue&type=template&id=bc0ab744&\"\nimport script from \"./LocationAdvanced.vue?vue&type=script&lang=js&\"\nexport * from \"./LocationAdvanced.vue?vue&type=script&lang=js&\"\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","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimeZoneSelector.vue?vue&type=style&index=0&id=060cdab6&scoped=true&lang=css&\"","import Vue from \"vue\";\nexport default new Vue();\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"mla\",staticStyle:{\"margin-right\":\"20px\"}},[_vm._v(_vm._s(_vm.T__(\"Need help?\"))+\" \"),_c('a',{staticClass:\"support-link\",attrs:{\"href\":\"https://help.wpcal.io/?utm_source=wpcal_plugin&utm_medium=admin_header\",\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.T__(\"Help docs\")))]),_vm._v(\" • \"),_c('a',{staticClass:\"support-link\",attrs:{\"href\":\"https://wpcal.io/support/?utm_source=wpcal_plugin&utm_medium=admin_header\",\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.T__(\"Contact Support\")))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span class=\"mla\" style=\"margin-right: 20px;\"\n >{{ T__(\"Need help?\") }}\n <a\n class=\"support-link\"\n href=\"https://help.wpcal.io/?utm_source=wpcal_plugin&utm_medium=admin_header\"\n target=\"_blank\"\n >{{ T__(\"Help docs\") }}</a\n >\n •\n <a\n class=\"support-link\"\n href=\"https://wpcal.io/support/?utm_source=wpcal_plugin&utm_medium=admin_header\"\n target=\"_blank\"\n >{{ T__(\"Contact Support\") }}</a\n ></span\n >\n</template>\n\n<script>\nexport default {\n name: \"AdminHeaderRight\"\n};\n</script>\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminHeaderRight.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdminHeaderRight.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AdminHeaderRight.vue?vue&type=template&id=36f5696a&\"\nimport script from \"./AdminHeaderRight.vue?vue&type=script&lang=js&\"\nexport * from \"./AdminHeaderRight.vue?vue&type=script&lang=js&\"\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 Vue from \"vue\";\n\nimport EventBus from \"@/utils/event_bus.js\";\n\nimport { isEmpty as _isEmpty, cloneDeep as _cloneDeep } from \"lodash-es\";\nimport { date_parse } from \"@/utils/common_func.js\";\n\nimport AdminHeaderRight from \"@/components/admin/AdminHeaderRight.vue\";\n\nVue.mixin({\n components: {\n AdminHeaderRight //admin only\n },\n data() {\n return {\n notification_system: {\n validation_errors: {\n target: \".validation_errors_cont\",\n timeout: false,\n zindex: \"auto\"\n },\n error: {\n resetOnHover: true\n }\n }\n };\n },\n computed: {\n client_end() {\n return this.$store.getters.get_client_end;\n },\n tz() {\n return this.$store.getters.get_tz;\n },\n time_format() {\n return this.$store.getters.get_time_display_format;\n },\n document_title_final() {\n if (typeof this.get_document_title === \"function\") {\n return this.get_document_title();\n } else if (this.document_title) {\n return this.document_title;\n }\n return \"\";\n },\n event_bus() {\n return EventBus;\n }\n },\n methods: {\n log(...e) {\n console.log(...e);\n },\n _isEmpty(v) {\n return _isEmpty(v);\n },\n clone_deep(v) {\n return _cloneDeep(v);\n },\n ref_focus(ref_name) {\n setTimeout(() => {\n //this.log(\"focus:\" + ref_name);\n this.$refs[ref_name].focus();\n }, 100);\n },\n ref_click(ref_name) {\n setTimeout(() => {\n //this.log(\"click:\" + ref_name);\n this.$refs[ref_name].click();\n }, 100);\n },\n date_parse(date_str) {\n let parsed = date_parse(date_str);\n return parsed;\n },\n //Notification related\n notify_single_action_result(single_action_result, notify_options = {}) {\n if (\n !single_action_result ||\n typeof single_action_result !== \"object\" ||\n !single_action_result.hasOwnProperty(\"status\")\n ) {\n return;\n }\n\n if (single_action_result.status === \"success\") {\n if (notify_options?.dont_notify_success) {\n return;\n }\n let success_msg = notify_options.success_msg\n ? notify_options.success_msg\n : \"Succesfully done.\";\n let success_title = notify_options.success_title\n ? notify_options.success_title\n : \"Ok\";\n\n this.$toast.success(success_msg, success_title, notify_options);\n } else if (single_action_result.status === \"error\") {\n if (single_action_result.error === \"validation_errors\") {\n return this.notify_validation_errors(\n single_action_result,\n notify_options\n );\n }\n let error_msg =\n single_action_result.hasOwnProperty(\"error_msg\") &&\n single_action_result.error_msg\n ? single_action_result.error_msg\n : \"Error while processing the request\";\n let error_title = \"Oops\";\n\n let error_notify_options = Object.assign(\n {},\n this.notification_system.error,\n notify_options.error\n );\n\n this.$toast.error(error_msg, error_title, error_notify_options);\n }\n },\n notify_validation_errors(single_action_result, notify_options = {}) {\n let this_notify_options = Object.assign(\n {},\n this.notification_system.validation_errors,\n notify_options.validation_errors\n );\n\n let error_msg =\n single_action_result.hasOwnProperty(\"error_msg\") &&\n single_action_result.error_msg\n ? single_action_result.error_msg\n : \"\";\n let error_title = \"Oops\";\n\n let error_list = [];\n if (\n single_action_result.hasOwnProperty(\"error_data\") &&\n single_action_result.error_data &&\n typeof single_action_result.error_data === \"object\"\n ) {\n for (let key in single_action_result.error_data) {\n for (let key_level2 in single_action_result.error_data[key]) {\n error_list.push(single_action_result.error_data[key][key_level2]);\n }\n }\n }\n\n if (error_list.length > 0) {\n error_msg += \"<ul><li>\" + error_list.join(\"</li><li>\") + \"</li></ul>\";\n }\n\n this.clear_validation_errors_cont();\n this.$toast.error(error_msg, error_title, this_notify_options);\n this.scroll_to_first_validation_error(this_notify_options.target);\n },\n clear_validation_errors_cont() {\n if (!this.notification_system.validation_errors.target) {\n return false;\n }\n let error_cont_selector = this.notification_system.validation_errors\n .target;\n let errors_cont = document.querySelector(error_cont_selector);\n if (errors_cont) {\n errors_cont.innerHTML = \"\"; //reset exisiting\n }\n },\n scroll_to_first_validation_error(query = \".form-row.has-error\") {\n this.scroll_to(query);\n },\n scroll_to(query, adjust_y = -50, check_view_port = false) {\n if (this.client_end == \"admin\") {\n adjust_y = adjust_y - 20; //go little more top - because admin bar\n }\n this.$nextTick(() => {\n if (!query) {\n return false;\n }\n let elmnt = document.querySelector(query);\n\n if (elmnt) {\n if (check_view_port && this.is_element_top_in_view_port(elmnt)) {\n return;\n }\n let top = elmnt.getBoundingClientRect().top + adjust_y;\n\n window.scrollBy({\n top: top,\n left: 0,\n behavior: \"smooth\"\n });\n }\n });\n },\n scroll_to_if_not_in_view_port(query, adjust_y = -50) {\n return this.scroll_to(query, adjust_y, true);\n },\n is_element_top_in_view_port(el) {\n let rect = el.getBoundingClientRect();\n\n return (\n rect.top >= 0 &&\n rect.left >= 0 &&\n rect.top <=\n (window.innerHeight || document.documentElement.clientHeight) &&\n rect.left <= (window.innerWidth || document.documentElement.clientWidth)\n );\n },\n is_element_in_view_port(el) {\n let rect = el.getBoundingClientRect();\n\n return (\n rect.top >= 0 &&\n rect.left >= 0 &&\n rect.bottom <=\n (window.innerHeight || document.documentElement.clientHeight) &&\n rect.right <=\n (window.innerWidth || document.documentElement.clientWidth)\n );\n },\n scroll_to_within_cont(element_selector, container_selector) {\n const ele = document.querySelector(element_selector);\n const container = document.querySelector(container_selector);\n if (!ele || !container) {\n return;\n }\n const eleTop = ele.offsetTop;\n const eleBottom = eleTop + ele.clientHeight;\n\n const containerTop = container.scrollTop;\n const containerBottom = containerTop + container.clientHeight;\n\n if (eleTop < containerTop) {\n // Scroll to the top of container\n container.scrollTop -= containerTop - eleTop;\n } else if (eleBottom > containerBottom) {\n // Scroll to the bottom of container\n container.scrollTop +=\n eleBottom - containerBottom + container.clientHeight / 2;\n }\n },\n on_click_outside(selector, call_back) {\n let element = document.querySelector(selector);\n const outsideClickListener = event => {\n if (element && !element.contains(event.target)) {\n if (isVisible(element)) {\n if (call_back) {\n call_back();\n }\n }\n removeClickListener();\n }\n };\n\n const removeClickListener = () => {\n document.removeEventListener(\"click\", outsideClickListener);\n };\n\n const isVisible = elem =>\n !!elem &&\n !!(\n elem.offsetWidth ||\n elem.offsetHeight ||\n elem.getClientRects().length\n );\n\n document.addEventListener(\"click\", outsideClickListener);\n },\n show_delete_highlight(del_highlight_index, index) {\n return this[del_highlight_index] === index;\n },\n set_mouseover_on_delete(del_highlight_index, index, is_hover) {\n if (is_hover) {\n this[del_highlight_index] = index;\n } else {\n this[del_highlight_index] = null;\n }\n },\n get_maxlength_from_validation(element_details) {\n let default_return = \"\";\n if (!element_details.hasOwnProperty(\"$params\")) {\n return default_return;\n }\n\n if (!element_details.$params) {\n return default_return;\n }\n for (let key in element_details.$params) {\n if (\n element_details.$params[key].hasOwnProperty(\"max\") &&\n element_details.$params[key].max &&\n element_details.$params[key].hasOwnProperty(\"type\") &&\n element_details.$params[key].type == \"maxLength\"\n ) {\n return element_details.$params[key].max;\n }\n }\n return default_return;\n },\n on_click_if_same_page_target_router_push(event, router_path) {\n //contextmenu open is new window will not be considered as click, no worries\n //ctrl + click open in new tab, shift + click open in new window\n // Functionality is if opening in new window leave it, if not open using router push. The element <a> with href is tested\n\n // this.log( 'event.ctrlKey', event.ctrlKey, 'event.shiftKey', event.shiftKey, 'event.metaKey', event.metaKey);\n\n if (\n event.ctrlKey ||\n event.shiftKey ||\n event.metaKey || // apple\n (event.button && event.button == 1) // middle click, >IE9 + everyone else\n ) {\n //do it normal browser way\n return;\n }\n if (router_path) {\n event.preventDefault();\n this.$router.push(router_path);\n }\n }\n }\n});\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingCancelModal.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"event-preset-cont\"},[_c('div',{staticClass:\"event-preset\"},[_c('div',[_c('div',{staticClass:\"inviter-pic\"},[_c('img',{attrs:{\"src\":_vm.service_admin_details.profile_picture}})]),_c('div',{staticClass:\"inviter-name\"},[_vm._v(_vm._s(_vm.service_admin_details.display_name))]),_c('div',{staticClass:\"event-type-name\"},[_vm._v(_vm._s(_vm.service_details.name))]),_c('div',{staticClass:\"event-type-duration\"},[_vm._v(\" \"+_vm._s(_vm._f(\"mins_to_str\")(_vm.service_details.duration))+\" \")]),_c('LocationAdvanced',{attrs:{\"type\":\"display_booking_left_info_section\",\"locations\":_vm.service_details.locations}}),(_vm.service_details.descr)?_c('div',{staticClass:\"event-type-description\",staticStyle:{\"font-size\":\"13px\",\"margin-top\":\"10px\"}},[_c('span',{staticClass:\"pre\"},[_vm._v(_vm._s(_vm.service_details.descr))])]):_vm._e()],1),(\n _vm.booking_type == 'reschedule' &&\n _vm.old_booking &&\n typeof _vm.old_booking === 'object' &&\n _vm.old_booking.hasOwnProperty('unique_link')\n )?_c('BookingOldInfo',{attrs:{\"old_booking\":_vm.old_booking,\"booking_step\":_vm.booking_step}}):_vm._e()],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',{staticStyle:{\"font-size\":\"15px\",\"margin-top\":\"20px\"}},[_c('div',[_c('div',{staticStyle:{\"text-decoration\":\"underline\"}},[_vm._v(\" \"+_vm._s(_vm.__(\"Original Booking Info\", \"wpcal\"))+\" \")]),_c('div',{class:{ striked: _vm.booking_step == 2 },domProps:{\"innerHTML\":_vm._s(\n _vm.$options.filters.wpcal_unix_to_from_to_time_full_date_day_tz(\n _vm.old_booking.booking_from_time,\n _vm.old_booking.booking_to_time,\n _vm.tz,\n _vm.time_format\n ) + '.'\n )}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div style=\"font-size:15px;margin-top:20px;\">\n <div>\n <div style=\"text-decoration:underline;\">\n {{ __(\"Original Booking Info\", \"wpcal\") }}\n </div>\n <div\n :class=\"{ striked: booking_step == 2 }\"\n v-html=\"\n $options.filters.wpcal_unix_to_from_to_time_full_date_day_tz(\n old_booking.booking_from_time,\n old_booking.booking_to_time,\n tz,\n time_format\n ) + '.'\n \"\n ></div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n old_booking: {\n type: Object\n },\n booking_step: {\n type: String\n }\n }\n};\n</script>\n\n<style scoped>\n.striked {\n text-decoration: line-through;\n opacity: 0.6;\n}\n</style>\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingOldInfo.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingOldInfo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BookingOldInfo.vue?vue&type=template&id=1a5c2e60&scoped=true&\"\nimport script from \"./BookingOldInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./BookingOldInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./BookingOldInfo.vue?vue&type=style&index=0&id=1a5c2e60&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 \"1a5c2e60\",\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"event-preset-cont\">\n <div class=\"event-preset\">\n <div>\n <div class=\"inviter-pic\">\n <img :src=\"service_admin_details.profile_picture\" />\n </div>\n <div class=\"inviter-name\">{{ service_admin_details.display_name }}</div>\n <div class=\"event-type-name\">{{ service_details.name }}</div>\n <div class=\"event-type-duration\">\n {{ service_details.duration | mins_to_str }}\n </div>\n <!-- <div class=\"event-type-location\" v-if=\"service_details.location\">\n {{ service_details.location }}\n </div> -->\n <LocationAdvanced\n type=\"display_booking_left_info_section\"\n :locations=\"service_details.locations\"\n />\n <div\n class=\"event-type-description\"\n style=\"font-size: 13px; margin-top: 10px;\"\n v-if=\"service_details.descr\"\n >\n <!-- for using pre -->\n <!-- eslint-disable-next-line -->\n <span class=\"pre\">{{ service_details.descr }}</span>\n </div>\n </div>\n <BookingOldInfo\n :old_booking=\"old_booking\"\n :booking_step=\"booking_step\"\n v-if=\"\n booking_type == 'reschedule' &&\n old_booking &&\n typeof old_booking === 'object' &&\n old_booking.hasOwnProperty('unique_link')\n \"\n />\n </div>\n </div>\n</template>\n\n<script>\nimport BookingOldInfo from \"@/components/user/BookingOldInfo.vue\";\nimport LocationAdvanced from \"@/components/LocationAdvanced.vue\";\n\nexport default {\n components: {\n BookingOldInfo,\n LocationAdvanced\n },\n props: {\n booking_type: {\n type: String\n },\n service_details: {\n type: Object\n },\n service_admin_details: {\n type: Object\n },\n old_booking: {\n type: Object\n },\n booking_step: {\n type: String\n }\n }\n};\n</script>\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingInfo.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingInfo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BookingInfo.vue?vue&type=template&id=ce57735c&\"\nimport script from \"./BookingInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./BookingInfo.vue?vue&type=script&lang=js&\"\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","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!./user_booking.css?vue&type=style&index=0&lang=css&\"","import axios from \"axios\";\nimport qs from \"qs\";\n\n// import admin_store from \"@/store/admin.js\";\nlet admin_store = null;\n\n// (async () => {\nasync function may_init_admin_store() {\n if (window.__wpcal_client_end == \"admin\") {\n let admin_store_module = await import(\"@/store/admin.js\");\n admin_store = admin_store_module.default;\n }\n}\nmay_init_admin_store();\n\naxios.interceptors.request.use(\n config => {\n const new_config = config;\n //console.log(config);\n\n let options = {};\n let show_loading_indicator = true;\n if (\n new_config.hasOwnProperty(\"params\") &&\n new_config.params.hasOwnProperty(\"_remove_options_before_call\")\n ) {\n options = Object.assign(\n options,\n new_config.params._remove_options_before_call\n );\n delete new_config.params._remove_options_before_call;\n }\n\n if (typeof new_config.data === \"object\" && new_config.data) {\n // adding nonce to all admin ajax calls STARTS here\n if (window.__wpcal_client_end == \"admin\" && admin_store) {\n let admin_main_nonce = admin_store.getters.get_admin_main_nonce;\n new_config.data[\"wpcal_admin_main_nonce\"] = admin_main_nonce;\n }\n // adding nonce to all admin ajax calls Ends here\n\n new_config.data = qs.stringify(new_config.data);\n }\n\n if (options.hasOwnProperty(\"background_call\") && options.background_call) {\n show_loading_indicator = false;\n }\n\n // spinning start to show global loading indicator\n let client_end = window.__wpcal_client_end;\n if (show_loading_indicator) {\n document\n .getElementById(\"wpcal_\" + client_end + \"_app\")\n ?.classList.add(\"loading-indicator\");\n }\n\n new_config.__custom_options = options;\n\n return new_config;\n },\n error =>\n // Do something with request error\n Promise.reject(error)\n);\n\naxios.interceptors.response.use(\n async response => {\n // Disabling below code to get is_debug, alternate solution coded\n // let store_all = await import(\n // \"@/store/\" + window.__wpcal_client_end + \".js\"\n // );\n // let store = store_all.default;\n\n // spinning hide global loading indicator\n let client_end = window.__wpcal_client_end;\n document\n .getElementById(\"wpcal_\" + client_end + \"_app\")\n ?.classList.remove(\"loading-indicator\");\n\n if (response.status == 200 && typeof response.data === \"string\") {\n response.data = wpcal_clean_and_parse_json_response(response.data);\n\n if (response.data?.wpcal_main_error) {\n let error_message = response.data?.wpcal_main_error_msg\n ? response.data.wpcal_main_error_msg\n : 'Something went wrong, Click \"Ok\" to reload the page.';\n let is_ok = confirm(error_message);\n if (is_ok) {\n location.reload();\n }\n }\n }\n if (window.wpcal_ajax.is_debug) {\n console.log(response.data);\n }\n\n return response;\n },\n error => {\n // spinning hide global loading indicator\n let client_end = window.__wpcal_client_end;\n document\n .getElementById(\"wpcal_\" + client_end + \"_app\")\n ?.classList.remove(\"loading-indicator\");\n\n return Promise.reject(error);\n }\n);\n\nfunction wpcal_clean_response(response_data) {\n //return substring closed by <wpcal_response> and </wpcal_response>\n return response_data\n .split(\"<wpcal_response>\")\n .pop()\n .split(\"</wpcal_response>\")\n .shift();\n}\n\nfunction wpcal_clean_and_parse_json_response(response_data) {\n response_data = wpcal_clean_response(response_data);\n try {\n return JSON.parse(response_data);\n } catch (e) {\n console.log(e);\n console.log(\n \"Unexpected HTTP response(JSON Parse Error) - Response text:\\n\",\n response_data\n );\n return \"JSON_PARSE_ERROR\";\n }\n}\n// })();\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.client_end === 'user')?_c('div',{staticClass:\"bottom_powered_by\",staticStyle:{\"font-size\":\"13px\",\"text-align\":\"center\",\"padding-top\":\"5px\"}},[_vm._v(\" \"+_vm._s(_vm.__( \"Want your own scheduler for Free? This booking is powered by\", \"wpcal\" ))+\" \"),_c('a',{staticStyle:{\"color\":\"#131336\"},attrs:{\"href\":\"https://wpcal.io/?utm_source=wpcal_plugin&utm_medium=booking_bottom_link\",\"target\":\"_blank\"}},[_vm._v(\"WPCal.io\")])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./BookingBottomPoweredBy.vue?vue&type=template&id=1590ddcb&\"\nvar script = {}\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 () {\nvar _obj;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.maxlength)?_c('div',{class:( _obj = {}, _obj[_vm.char_left_class] = true, _obj ),staticStyle:{\"text-align\":\"right\",\"margin-top\":\"5px\",\"margin-bottom\":\"10px\",\"float\":\"right\"},style:({ color: _vm.char_left_class })},[_vm._v(\" \"+_vm._s(_vm.char_left)+\" \"+_vm._s(_vm.__(\"char remaining\", \"wpcal\"))+\" \")]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div\n v-if=\"maxlength\"\n :class=\"{ [char_left_class]: true }\"\n :style=\"{ color: char_left_class }\"\n style=\"text-align: right; margin-top: 5px; margin-bottom: 10px; float: right;\"\n >\n {{ char_left }} {{ __(\"char remaining\", \"wpcal\") }}\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n maxlength: {\n type: Number\n },\n input_text: {\n type: String\n }\n },\n computed: {\n char_left() {\n return this.maxlength - this.input_text.length;\n },\n char_left_class() {\n // let char_left_percent = this.char_left / this.maxlength;\n // if (char_left_percent <= 0.1 && char_left_percent > 0.05) {\n // return \"orange\";\n // } else if (char_left_percent <= 0.05) {\n // return \"red\";\n // }\n if (this.char_left <= 25 && this.char_left > 10) {\n return \"orange\";\n } else if (this.char_left <= 10) {\n return \"red\";\n }\n return \"inherit\";\n }\n }\n};\n</script>\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CharLeft.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CharLeft.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CharLeft.vue?vue&type=template&id=109f033d&\"\nimport script from \"./CharLeft.vue?vue&type=script&lang=js&\"\nexport * from \"./CharLeft.vue?vue&type=script&lang=js&\"\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('svg',{staticClass:\"hidden\",attrs:{\"width\":\"0\",\"height\":\"0\"}},[_c('symbol',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 23 22.96\",\"id\":\"icon-phone-reciever\"}},[_c('path',{staticStyle:{\"fill\":\"rgb(var(--accentClrRGB))\"},attrs:{\"d\":\"M22.17 16.49L19.72 14a2.82 2.82 0 00-4 0l-.5.5a54.68 54.68 0 01-6.8-6.81l.5-.5a2.83 2.83 0 000-4L6.48.8a2.87 2.87 0 00-4 0L1.16 2.14a4 4 0 00-.5 5 54 54 0 0015.17 15.17 4 4 0 005-.5l1.34-1.34a2.81 2.81 0 000-4z\"}})]),_c('symbol',{attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 10 13\",\"id\":\"icon-pin-solid\"}},[_c('path',{staticStyle:{\"fill\":\"rgb(var(--accentClrRGB))\"},attrs:{\"d\":\"M5 0a5 5 0 00-5 5c0 3.17 4.46 7.66 4.65 7.85a.49.49 0 00.68 0C5.54 12.66 10 8.17 10 5a5 5 0 00-5-5zm0 3.25A1.75 1.75 0 113.25 5 1.75 1.75 0 015 3.25z\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./IconFillSVG.vue?vue&type=template&id=9ffadf62&\"\nvar script = {}\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',[_c('modal',{staticStyle:{\"z-index\":\"9999\"},attrs:{\"name\":\"booking_cancel_confirm_modal\",\"height\":'auto',\"adaptive\":true}},[_c('div',{staticClass:\"modal_close_cont\"},[_c('button',{on:{\"click\":function($event){return _vm.$modal.hide('booking_cancel_confirm_modal')}}})]),_c('div',{staticStyle:{\"font-size\":\"16px\",\"padding\":\"20px\"}},[_c('strong',{staticStyle:{\"font-size\":\"18px\",\"line-height\":\"1.2em\",\"margin-bottom\":\"20px\",\"display\":\"block\"}},[_vm._v(\" \"+_vm._s(_vm.__(\"Are you sure you want to cancel this meeting?\", \"wpcal\"))+\" \")]),_c('span',{domProps:{\"innerHTML\":_vm._s(\n _vm.$options.filters.wpcal_unix_to_from_to_time_full_date_day_tz(\n _vm.booking_details.booking_from_time,\n _vm.booking_details.booking_to_time,\n _vm.tz,\n _vm.time_format\n ) + '.'\n )}}),_c('br'),(_vm.client_end == 'admin')?_c('div',[_vm._v(\" with \"+_vm._s(_vm.booking_details.invitee_name)+\" (\"+_vm._s(_vm.booking_details.invitee_email)+\") \")]):_vm._e(),_c('div',{staticStyle:{\"margin-top\":\"10px\"}},[_vm._v(\" \"+_vm._s(_vm.__(\"Reason for cancellation:\", \"wpcal\"))+\" \")]),_c('div',{staticClass:\"wpc-form-row\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cancel_reason_final),expression:\"cancel_reason_final\"}],attrs:{\"rows\":\"2\"},domProps:{\"value\":(_vm.cancel_reason_final)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.cancel_reason_final=$event.target.value}}}),_vm._v(\" \"),(_vm.client_end == 'admin')?_c('div',{staticClass:\"txt-help\"},[_vm._v(\" \"+_vm._s(_vm.T__( \"Cancellation reason will be communicated to invitee.\", \"wpcal\" ))+\" \")]):_vm._e()]),_c('div',{staticClass:\"booking-cancel-action-btns\"},[_c('button',{staticClass:\"wpc-btn primary lg\",staticStyle:{\"margin\":\"10px 10px 10px 0\",\"padding-left\":\"10px\",\"padding-right\":\"10px\"},attrs:{\"type\":\"button\",\"disabled\":!_vm.cancel_booking_btn_is_enabled},on:{\"click\":function($event){return _vm.$emit('cancel-booking', _vm.booking_details)}}},[_vm._v(\" \"+_vm._s(_vm.__(\"Yes, cancel.\", \"wpcal\"))+\" \")]),_c('button',{staticClass:\"wpc-btn primary lg\",staticStyle:{\"margin\":\"10px 10px 10px 0\",\"padding-left\":\"10px\",\"padding-right\":\"10px\"},attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.$modal.hide('booking_cancel_confirm_modal')}}},[_vm._v(\" \"+_vm._s(_vm.__(\"No, don't.\", \"wpcal\"))+\" \")])])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <modal\n name=\"booking_cancel_confirm_modal\"\n style=\"z-index:9999;\"\n :height=\"'auto'\"\n :adaptive=\"true\"\n >\n <div class=\"modal_close_cont\">\n <button @click=\"$modal.hide('booking_cancel_confirm_modal')\"></button>\n </div>\n <div style=\"font-size: 16px; padding: 20px;\">\n <strong\n style=\"font-size: 18px; line-height: 1.2em; margin-bottom: 20px;display: block;\"\n >\n {{ __(\"Are you sure you want to cancel this meeting?\", \"wpcal\") }}\n </strong>\n <span\n v-html=\"\n $options.filters.wpcal_unix_to_from_to_time_full_date_day_tz(\n booking_details.booking_from_time,\n booking_details.booking_to_time,\n tz,\n time_format\n ) + '.'\n \"\n >\n </span>\n <br />\n <div v-if=\"client_end == 'admin'\">\n with {{ booking_details.invitee_name }} ({{\n booking_details.invitee_email\n }})\n </div>\n <div style=\"margin-top: 10px;\">\n {{ __(\"Reason for cancellation:\", \"wpcal\") }}\n </div>\n <div class=\"wpc-form-row\">\n <textarea v-model=\"cancel_reason_final\" rows=\"2\" />\n <div v-if=\"client_end == 'admin'\" class=\"txt-help\">\n {{\n T__(\n \"Cancellation reason will be communicated to invitee.\",\n \"wpcal\"\n )\n }}\n </div>\n </div>\n <div class=\"booking-cancel-action-btns\">\n <button\n class=\"wpc-btn primary lg\"\n style=\"margin:10px 10px 10px 0; padding-left:10px; padding-right:10px;\"\n type=\"button\"\n :disabled=\"!cancel_booking_btn_is_enabled\"\n @click=\"$emit('cancel-booking', booking_details)\"\n >\n {{ __(\"Yes, cancel.\", \"wpcal\") }}\n </button>\n <button\n class=\"wpc-btn primary lg\"\n style=\"margin:10px 10px 10px 0; padding-left:10px; padding-right:10px;\"\n type=\"button\"\n @click=\"$modal.hide('booking_cancel_confirm_modal')\"\n >\n {{ __(\"No, don't.\", \"wpcal\") }}\n </button>\n </div>\n </div>\n </modal>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"BookingCancelModal\",\n model: {\n prop: \"cancel_reason\",\n event: \"changed-cancel-reason\"\n },\n props: {\n cancel_reason: {\n type: String\n },\n booking_details: {\n type: Object\n },\n cancel_booking_btn_is_enabled: {\n type: Boolean\n }\n },\n computed: {\n cancel_reason_final: {\n get: function() {\n return this.cancel_reason;\n },\n set: function(new_value) {\n this.$emit(\"changed-cancel-reason\", new_value);\n }\n }\n }\n};\n</script>\n<style>\n#wpcal_user_app .booking-cancel-action-btns button {\n padding: 10px 20px !important;\n}\n#wpcal_user_app .booking-cancel-action-btns button:last-child {\n background-color: rgba(var(--accentClrRGB), 0.1) !important;\n border: 1px solid rgba(var(--accentClrRGB), 1);\n color: rgba(var(--accentClrRGB), 1) !important;\n}\n#wpcal_user_app .booking-cancel-action-btns button:first-child {\n background-color: #e84653 !important;\n}\n</style>\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/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingCancelModal.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingCancelModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BookingCancelModal.vue?vue&type=template&id=b24dc692&\"\nimport script from \"./BookingCancelModal.vue?vue&type=script&lang=js&\"\nexport * from \"./BookingCancelModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./BookingCancelModal.vue?vue&type=style&index=0&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 null,\n null\n \n)\n\nexport default component.exports","import axios from \"axios\";\nimport { debounce } from \"lodash-es\";\n\naxios.defaults.withCredentials = true; //to allow send and receive cookie\n\nconst common_module = {\n state: {\n client: {\n tz: null, //client is browser for tz\n mobile: window.innerWidth <= 699,\n initial_document_title: \"\",\n app_cont_width: \"\" //#wpcal_user_app or #wpcal_admin_app\n },\n store: {\n script_version: \"0.9.4.4\",\n is_debug: false,\n tz: null,\n site_tz: null,\n site_locale: \"en_US\",\n site_locale_intl: \"en-US\",\n general_settings: {},\n ajax_main_action: \"\",\n tp_locations_refresh_interval_instance: null,\n dynamic_cache: {}\n }\n },\n mutations: {\n set_client_tz: (state, value) => {\n state.client.tz = value;\n },\n set_client_mobile: (state, value) => {\n state.client.mobile = value;\n },\n set_client_initial_document_title: (state, value) => {\n state.client.initial_document_title = value;\n },\n set_is_debug: (state, value) => {\n state.store.is_debug = value;\n },\n set_tz: (state, value) => {\n state.store.tz = value;\n },\n set_app_cont_width: (state, value) => {\n state.client.app_cont_width = value;\n },\n set_ajax_main_action: (state, value) => {\n state.store.ajax_main_action = value;\n },\n set_general_settings: (state, value) => {\n state.store.general_settings = value;\n },\n set_tp_locations_refresh_interval_instance: (state, value) => {\n state.store.tp_locations_refresh_interval_instance = value;\n },\n set_store_by_obj: (state, value_obj) => {\n for (let prop in value_obj) {\n if (state.store.hasOwnProperty(prop)) {\n state.store[prop] = value_obj[prop];\n }\n }\n },\n set_dynamic_cache_by_prop: (state, prop_details) => {\n state.store.dynamic_cache[prop_details.prop] = {\n value: prop_details.value,\n expiry_secs: prop_details.expiry_secs,\n cached_ts: Math.floor(Date.now() / 1000)\n };\n },\n delete_dynamic_cache_by_prop(state, prop) {\n if (state.store.dynamic_cache.hasOwnProperty(prop)) {\n delete state.store.dynamic_cache[prop];\n }\n }\n },\n getters: {\n // get_client: state => state.client,\n // get_store: state => state.store,\n get_client_end: (state, getters, rootState) => rootState.client_end,\n get_client_tz: state => state.client.tz,\n get_client_initial_document_title: state =>\n state.client.initial_document_title,\n get_tz: state => {\n if (state.store.tz) {\n return state.store.tz;\n }\n return state.client.tz;\n },\n get_app_cont_width: state => state.client.app_cont_width,\n is_debug: state => state.store.is_debug,\n get_script_version: state => state.store.script_version,\n get_site_tz: state => state.store.site_tz,\n get_site_locale: state => state.store.site_locale,\n get_site_locale_intl: state => state.store.site_locale_intl,\n get_ajax_main_action: state => state.store.ajax_main_action,\n get_general_settings: state => state.store.general_settings,\n get_tp_locations_refresh_interval_instance: state =>\n state.store.tp_locations_refresh_interval_instance,\n get_time_display_format: state => {\n let time_display_format = \"HH:mm\";\n if (state.store.general_settings.time_format == \"12hrs\") {\n time_display_format = \"hh:mm aaaaa'm'\";\n }\n return time_display_format;\n },\n get_client_mobile: state => state.client.mobile,\n get_dynamic_cache: state => state.store.dynamic_cache\n },\n actions: {\n init(context) {\n context.dispatch(\"set_current_client_tz\");\n context.dispatch(\"set_ajax_main_action\");\n context.dispatch(\"get_settings_and_defaults\");\n context.dispatch(\"manage_background_task\");\n context.dispatch(\"listen_window_resize\");\n context.dispatch(\"get_and_set_initial_document_title\");\n context.dispatch(\"may_debug_listen_and_log_booking_events\");\n\n setInterval(\n () => context.dispatch(\"clear_expired_props_in_dynamic_cache\"),\n 5000\n );\n\n setTimeout(\n () => context.dispatch(\"check_asset_preloading_will_benefit\"),\n 15000\n );\n },\n set_ajax_main_action(context) {\n let ajax_main_action =\n \"wpcal_process_\" + context.rootState.client_end + \"_ajax_request\";\n context.commit(\"set_ajax_main_action\", ajax_main_action);\n },\n set_current_client_tz(context) {\n let current_client_tz = Intl.DateTimeFormat().resolvedOptions().timeZone;\n context.commit(\"set_client_tz\", current_client_tz);\n },\n set_tz(context, value) {\n if (context.state.client.tz == value) {\n context.commit(\"set_tz\", null);\n } else {\n context.commit(\"set_tz\", value);\n }\n return context.dispatch(\"save_tz_in_db_or_cookie\");\n },\n save_tz_in_db_or_cookie(context) {\n let user_tz = context.state.store.tz;\n\n let wpcal_request = {};\n let action = \"save_user_tz\";\n wpcal_request[action] = {\n tz: user_tz\n };\n\n let post_data = {\n action: context.getters.get_ajax_main_action,\n wpcal_request: wpcal_request\n };\n\n axios\n .post(window.wpcal_ajax.ajax_url, post_data)\n .then(response => {\n //console.log(response);\n if (response.data[action].status != \"success\") {\n console.log(\"Failed to save tz\");\n }\n })\n .catch(error => {\n console.log(error);\n });\n },\n get_tz_from_db_or_cookie(context) {\n let wpcal_request = {};\n let action = \"get_user_tz\";\n wpcal_request[action] = {\n dummy__: \"\"\n };\n\n let post_data = {\n action: context.getters.get_ajax_main_action,\n wpcal_request: wpcal_request\n };\n\n axios\n .post(window.wpcal_ajax.ajax_url, post_data)\n .then(response => {\n //console.log(response);\n if (\n response.data[action].status == \"success\" &&\n response.data[action].tz\n ) {\n context.commit(\"set_tz\", response.data[action].tz);\n }\n })\n .catch(error => {\n console.log(error);\n });\n },\n listen_window_resize(context) {\n //initial value\n let app_cont_width = document.getElementById(\n \"wpcal_\" + context.rootState.client_end + \"_app\"\n )?.clientWidth;\n context.commit(\"set_app_cont_width\", app_cont_width);\n\n window.addEventListener(\n \"resize\",\n debounce(() => {\n let mobile = window.innerWidth <= 699;\n context.commit(\"set_client_mobile\", mobile);\n\n //following for unsupported ResizeObserver browsers\n // console.log(\"NON ResizeObserver\");\n let app_cont_width = document.getElementById(\n \"wpcal_\" + context.rootState.client_end + \"_app\"\n )?.clientWidth;\n context.commit(\"set_app_cont_width\", app_cont_width);\n }, 100)\n );\n\n try {\n // ResizeObserver will not be supporting in iOS < 13.4, other mobile browsers and old browsers, above resize event works well.\n const ro = new ResizeObserver(\n debounce(entries => {\n //console.log(\"ResizeObserver\");\n\n let app_cont_width = document.getElementById(\n \"wpcal_\" + context.rootState.client_end + \"_app\"\n )?.clientWidth;\n context.commit(\"set_app_cont_width\", app_cont_width);\n }, 100)\n );\n\n setTimeout(() => {\n //setTimeout required because the initial div replaced by vue\n let mount_element = document.getElementById(\n \"wpcal_\" + context.rootState.client_end + \"_app\"\n );\n if (!mount_element) {\n return;\n }\n ro.observe(mount_element);\n }, 100);\n } catch (err) {}\n },\n async get_settings_and_defaults(context, options) {\n let wpcal_request = {};\n let action_user_tz = \"get_user_tz\";\n wpcal_request[action_user_tz] = {\n dummy__: \"\"\n };\n\n let action_is_debug = \"get_is_debug\";\n wpcal_request[action_is_debug] = \"dummy__\";\n\n let action_general_settings = \"get_general_settings_by_options\";\n if (context.rootState.client_end === \"admin\") {\n action_general_settings = \"get_general_settings\";\n }\n wpcal_request[action_general_settings] = {\n options: [\"time_format\", \"branding_color\", \"branding_font\"]\n };\n\n let action_license_status = \"license_status\";\n if (context.rootState.client_end === \"admin\") {\n wpcal_request[action_license_status] = \"dummy__\";\n }\n\n let action_initial_common_data = \"initial_common_data\";\n wpcal_request[action_initial_common_data] = \"dummy__\";\n\n let action_intial_client_end_data =\n \"initial_\" + context.rootState.client_end + \"_data\";\n wpcal_request[action_intial_client_end_data] = \"dummy__\";\n\n let post_data = {\n action: context.getters.get_ajax_main_action,\n wpcal_request: wpcal_request\n };\n\n let request_options = {};\n if (options && options.hasOwnProperty(\"background_call\")) {\n request_options = {\n params: { _remove_options_before_call: {} }\n };\n\n request_options.params._remove_options_before_call.background_call =\n options.background_call;\n }\n\n await axios\n .post(window.wpcal_ajax.ajax_url, post_data, request_options)\n .then(response => {\n //console.log(response);\n if (\n context.rootState.client_end === \"admin\" &&\n response.data?.request_result == \"access_denied\"\n ) {\n context.commit(\n \"set_store_by_obj\",\n { is_admin_end_access_granted: false },\n {\n root: true\n }\n );\n return;\n }\n if (\n response.data[action_user_tz].status === \"success\" &&\n response.data[action_user_tz].tz\n ) {\n context.commit(\"set_tz\", response.data[action_user_tz].tz);\n }\n if (\n response.data[action_is_debug].status === \"success\" &&\n response.data[action_is_debug].is_debug\n ) {\n context.commit(\n \"set_is_debug\",\n response.data[action_is_debug].is_debug\n );\n }\n if (\n response.data[action_general_settings].status === \"success\" &&\n response.data[action_general_settings].general_settings\n ) {\n context.commit(\n \"set_general_settings\",\n response.data[action_general_settings].general_settings\n );\n }\n if (context.rootState.client_end === \"admin\") {\n if (\n response.data[action_license_status].status === \"success\" &&\n response.data[action_license_status].hasOwnProperty(\n \"license_info\"\n )\n ) {\n context.commit(\n \"set_license_info\",\n response.data[action_license_status].license_info,\n { root: true }\n );\n }\n }\n if (\n response.data[action_initial_common_data].status === \"success\" &&\n response.data[action_initial_common_data].hasOwnProperty(\"data\")\n ) {\n context.commit(\n \"set_store_by_obj\",\n response.data[action_initial_common_data].data\n );\n }\n if (\n response.data[action_intial_client_end_data].status === \"success\" &&\n response.data[action_intial_client_end_data].hasOwnProperty(\"data\")\n ) {\n context.commit(\n \"set_store_by_obj\",\n response.data[action_intial_client_end_data].data,\n { root: true }\n );\n }\n })\n .catch(error => {\n console.log(error);\n });\n },\n manage_background_task(context, options = {}) {\n let initial_time_out = 5000;\n if (!options || typeof options != \"object\") {\n options = {};\n }\n if (options.hasOwnProperty(\"initial_time_out\")) {\n initial_time_out = options.initial_time_out;\n }\n clearTimeout(window.wpcal_run_background_timeout);\n window.wpcal_run_background_timeout = setTimeout(\n () => context.dispatch(\"run_background_task\"),\n initial_time_out\n );\n },\n run_background_task(context) {\n let wpcal_request = {};\n let action_run_background_task = \"run_background_task\";\n wpcal_request[action_run_background_task] = {\n dummy__: \"\"\n };\n\n let post_data = {\n action: context.getters.get_ajax_main_action,\n wpcal_request: wpcal_request\n };\n\n let nextCallAfterNms = 2 * 60 * 1000; //2 mins in milli-seconds\n\n axios\n .post(window.wpcal_ajax.ajax_url, post_data, {\n params: { _remove_options_before_call: { background_call: true } }\n })\n .then(response => {\n //console.log(response);\n if (\n response.data.hasOwnProperty(\"is_task_waiting_now\") &&\n response.data.is_task_waiting_now\n ) {\n nextCallAfterNms = 15 * 1000; // 15 secs in milli-seconds\n }\n })\n .catch(error => {\n console.log(error);\n })\n .then(function() {\n // always executed\n window.wpcal_run_background_timeout = setTimeout(\n () => context.dispatch(\"run_background_task\"),\n nextCallAfterNms\n );\n });\n },\n run_booking_background_tasks_by_unique_link(context, booking_details) {\n let wpcal_request = {};\n let action_run_booking_background_tasks =\n \"run_booking_background_tasks_by_unique_link\";\n wpcal_request[action_run_booking_background_tasks] = booking_details;\n\n let post_data = {\n action: context.getters.get_ajax_main_action,\n wpcal_request: wpcal_request\n };\n\n axios\n .post(window.wpcal_ajax.ajax_url, post_data, {\n params: { _remove_options_before_call: { background_call: true } }\n })\n .then(response => {\n //console.log(response);\n })\n .catch(error => {\n console.log(error);\n });\n },\n get_and_set_initial_document_title(context) {\n let client_initial_document_title = document.title;\n context.commit(\n \"set_client_initial_document_title\",\n client_initial_document_title\n );\n },\n set_document_title(context, title) {\n let initial_title = context.getters.get_client_initial_document_title;\n if (!title) {\n document.title = initial_title;\n return;\n }\n let final_title = title + \" ‹ \" + initial_title;\n document.title = final_title;\n },\n check_asset_preloading_will_benefit(context) {\n //currently in end user section asset will be loaded if there is booking widget, this should be called only during that time\n if (context.rootState.client_end != \"user\") {\n return;\n }\n\n let match_count = 0;\n let ver_str = \"?ver=\" + context.getters.get_script_version;\n const urls = [\n \"css/chunk-vendors.css\" + ver_str,\n \"css/chunk-common.css\" + ver_str,\n \"css/user.css\" + ver_str,\n \"js/chunk-vendors.min.js\" + ver_str,\n \"js/chunk-common.min.js\" + ver_str,\n \"js/user.min.js\" + ver_str\n ];\n\n let scripts = document.getElementsByTagName(\"script\");\n for (let script of scripts) {\n if (script?.src && script.src.indexOf(\"/wpcal/dist/\") > -1) {\n let url_split_parts = script.src.split(\"/wpcal/dist/\", 2);\n if (urls.indexOf(url_split_parts[1]) > -1) {\n match_count++;\n }\n }\n }\n\n let links = document.getElementsByTagName(\"link\");\n for (let link of links) {\n if (\n link?.rel &&\n link.rel == \"stylesheet\" &&\n link?.href &&\n link.href.indexOf(\"/wpcal/dist/\") > -1\n ) {\n let url_split_parts = link.href.split(\"/wpcal/dist/\", 2);\n if (urls.indexOf(url_split_parts[1]) > -1) {\n match_count++;\n }\n }\n }\n\n let score = match_count / urls.length;\n\n let enable_preload = 0;\n if (score > 0.7) {\n enable_preload = 1;\n }\n\n let wpcal_request = {};\n let action_update_enable_preloading = \"update_enable_preloading\";\n wpcal_request[action_update_enable_preloading] = enable_preload;\n\n let post_data = {\n action: context.getters.get_ajax_main_action,\n wpcal_request: wpcal_request\n };\n\n axios\n .post(window.wpcal_ajax.ajax_url, post_data, {\n params: { _remove_options_before_call: { background_call: true } }\n })\n .then(response => {\n //console.log(response);\n })\n .catch(error => {\n console.log(error);\n });\n },\n get_dynamic_cache_by_prop(context, prop) {\n let dynamic_cache = context.getters.get_dynamic_cache;\n if (!dynamic_cache.hasOwnProperty(prop)) {\n return \"\";\n }\n let time_now_ts = Math.floor(Date.now() / 1000);\n if (\n dynamic_cache[prop].expiry_secs &&\n time_now_ts - dynamic_cache[prop].cached_ts >\n dynamic_cache[prop].expiry_secs\n ) {\n context.commit(\"delete_dynamic_cache_by_prop\", prop);\n return \"\";\n }\n return dynamic_cache[prop].value;\n },\n clear_expired_props_in_dynamic_cache(context) {\n let dynamic_cache = context.getters.get_dynamic_cache;\n let time_now_ts = Math.floor(Date.now() / 1000);\n for (let prop in dynamic_cache) {\n if (\n dynamic_cache[prop].expiry_secs &&\n time_now_ts - dynamic_cache[prop].cached_ts >\n dynamic_cache[prop].expiry_secs\n ) {\n context.commit(\"delete_dynamic_cache_by_prop\", prop);\n }\n }\n },\n may_debug_listen_and_log_booking_events() {\n if (!window?.wpcal_ajax?.is_debug) {\n return;\n }\n let booking_event_handler = function(e) {\n console.log(e);\n };\n\n document.addEventListener(\"wpcal_booking_new\", booking_event_handler);\n document.addEventListener(\n \"wpcal_booking_rescheduled\",\n booking_event_handler\n );\n document.addEventListener(\n \"wpcal_booking_cancelled\",\n booking_event_handler\n );\n }\n }\n};\n\nexport default common_module;\n","export {\n __,\n _x,\n _n,\n _nx,\n __ as T__,\n _x as T_x,\n _n as T_n,\n _nx as T_nx,\n Tsprintf,\n _lang,\n debug_log,\n must_be_1_or_0,\n in_array,\n subset,\n get_url_param_by_name,\n html_entities,\n valid_phone,\n valid_phone_if,\n valid_date,\n min_date_as,\n valid_time,\n min_time_as,\n check_periods_collide,\n valid_color,\n hex_to_rgb_txt,\n date_parse,\n timezone_list,\n get_tz_name,\n weekdays_list,\n month_list,\n location_prop_by_type\n};\n\nimport { helpers } from \"vuelidate/lib/validators\";\nimport { parseISO } from \"date-fns\";\nimport \"url-polyfill\";\n\n// i18n - related fuctions starts here\nconst { __: wp__, _x: wp_x, _n: wp_n, _nx: wp_nx, sprintf } = wp.i18n;\n\nconst __ = (str, domain = \"default\") => {\n if (window.__wpcal_client_end != \"user\") {\n return str;\n }\n return wp__(str, domain);\n};\n\nconst _x = (str, context, domain = \"default\") => {\n if (window.__wpcal_client_end != \"user\") {\n return str;\n }\n return wp_x(str, context, domain);\n};\n\nconst _n = (singular_str, plural_str, num, domain = \"default\") => {\n if (window.__wpcal_client_end != \"user\") {\n return parseInt(num) == 1 ? singular_str : plural_str;\n }\n return wp_n(singular_str, plural_str, parseInt(num), domain);\n};\n\nconst _nx = (singular_str, plural_str, num, context, domain = \"default\") => {\n if (window.__wpcal_client_end != \"user\") {\n return parseInt(num) == 1 ? singular_str : plural_str;\n }\n return wp_nx(singular_str, plural_str, parseInt(num), context, domain);\n};\n\nconst Tsprintf = (format, ...args) => sprintf(format, ...args);\n// i18n - related fuctions ends here\n\n//to avoid name changed by webpack for pot file scanning \"_lang.__()\"\" even if \"_lang\" changes \"__()\"\" will not change\nconst _lang = { __, _x, _n, _nx, T__: __, T_x: _x, T_n: _n, T_nx: _nx };\n\nconst must_be_1_or_0 = value =>\n !helpers.req(value) ||\n value === \"1\" ||\n value === \"0\" ||\n value === 1 ||\n value === 0;\n\nconst in_array = param_array => value => {\n //console.log(value);\n return !helpers.req(value) || param_array.indexOf(value) !== -1;\n};\n\nconst subset = param_array => value_array => {\n //console.log(param_array, value_array);\n return (\n !helpers.req(value_array) ||\n value_array.every(val => {\n //console.log(val);\n return (\n param_array.findIndex(param_val => {\n //console.log(param_val, val, param_val == val);\n return param_val == val;\n }) !== -1\n );\n })\n );\n};\n\nconst get_url_param_by_name = name => {\n let url_params = window.location.search;\n let search = new URLSearchParams(url_params);\n let result = search.get(name);\n return result;\n};\n\nconst html_entities = input_str => {\n return input_str\n .replace(/\\&/g, \"&\")\n .replace(/\\</g, \"<\")\n .replace(/\\>/g, \">\")\n .replace(/\\\"/g, \""\")\n .replace(/\\'/g, \"'\")\n .replace(/\\//g, \"/\");\n};\n\nconst valid_phone = (value, v2, v3) => {\n const _value = value.replace(/extension|ext/gi, \"\");\n return (\n !helpers.req(value) ||\n /^([+]?[\\s0-9]+)?(\\d{3}|[(]?[0-9]+[)])?([-]?[\\s]?[0-9])+$/.test(_value)\n ); //regex - https://stackoverflow.com/a/53297852/188371\n};\n\nconst valid_phone_if = (value, parent) => {\n if (typeof parent !== \"object\" || parent?.answer_type !== \"input_phone\") {\n return true;\n }\n const _value = value.replace(/extension|ext/gi, \"\");\n return (\n !helpers.req(value) ||\n /^([+]?[\\s0-9]+)?(\\d{3}|[(]?[0-9]+[)])?([-]?[\\s]?[0-9])+$/.test(_value)\n ); //regex - https://stackoverflow.com/a/53297852/188371\n};\n\nconst valid_date = value =>\n !helpers.req(value) ||\n /^([12]\\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01]))$/.test(value);\n\nconst min_date_as = param => (value, model) => {\n return (\n !helpers.req(value) ||\n (model.hasOwnProperty(param) &&\n date_parse(model[param]).getTime() <= date_parse(value).getTime())\n );\n};\n\nconst valid_time = value =>\n !helpers.req(value) ||\n /^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$/.test(value);\n\nconst valid_color = value =>\n !helpers.req(value) || /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(value);\n\nconst min_time_as = param => (value, model) => {\n return (\n !helpers.req(value) ||\n (model.hasOwnProperty(param) &&\n date_parse(\"2000-01-01 \" + model[param]).getTime() <=\n date_parse(\"2000-01-01 \" + value).getTime())\n );\n};\n\nconst check_periods_collide = value => {\n if (!helpers.req(value)) {\n return false;\n }\n if (!Array.isArray(value)) {\n return true;\n }\n if (value.length == 1) {\n return true;\n }\n\n for (let index1 in value) {\n let check_period = value[index1];\n if (!check_period.from_time || !check_period.to_time) {\n continue;\n }\n\n let slot1_from_time = date_parse(\n \"2000-01-01 \" + check_period.from_time\n ).getTime();\n let slot1_to_time = date_parse(\n \"2000-01-01 \" + check_period.to_time\n ).getTime();\n\n for (let index2 in value) {\n let against_period = value[index2];\n if (\n index1 == index2 ||\n !against_period.from_time ||\n !against_period.to_time\n ) {\n continue;\n }\n\n let slot2_from_time = date_parse(\n \"2000-01-01 \" + against_period.from_time\n ).getTime();\n let slot2_to_time = date_parse(\n \"2000-01-01 \" + against_period.to_time\n ).getTime();\n\n if (\n is_two_slots_collide(\n slot1_from_time,\n slot1_to_time,\n slot2_from_time,\n slot2_to_time\n )\n ) {\n return false;\n }\n }\n }\n return true;\n};\n\nconst is_two_slots_collide = (\n slot1_from_time,\n slot1_to_time,\n slot2_from_time,\n slot2_to_time\n) => {\n if (slot1_from_time >= slot2_from_time && slot1_from_time < slot2_to_time) {\n return true;\n }\n if (slot2_from_time >= slot1_from_time && slot2_from_time < slot1_to_time) {\n return true;\n }\n return false;\n};\n\nconst hex_to_rgb_txt = hex => hex_to_rgb(hex).join(\",\");\n\nconst hex_to_rgb = hex =>\n hex\n .replace(\n /^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,\n (m, r, g, b) => \"#\" + r + r + g + g + b + b\n )\n .substring(1)\n .match(/.{2}/g)\n .map(x => parseInt(x, 16));\n\nconst location_prop_by_type = (location_type, prop) => {\n const location_details = {\n physical: {\n name: __(\"In-person meeting\", \"wpcal\"),\n short_descr: __(\"Set an address or place\", \"wpcal\")\n },\n phone: {\n name: __(\"Phone call\", \"wpcal\"),\n short_descr: __(\"Inbound or Outbound call\", \"wpcal\")\n },\n googlemeet_meeting: {\n name: \"Google Meet / Hangouts\",\n short_descr: __(\"Web conference\", \"wpcal\")\n },\n zoom_meeting: {\n name: \"Zoom\",\n short_descr: __(\"Web conference\", \"wpcal\")\n },\n gotomeeting_meeting: {\n name: \"GoToMeeting\",\n short_descr: __(\"Web conference\", \"wpcal\")\n },\n custom: {\n name: __(\"Custom\", \"wpcal\"),\n short_descr: __(\"Leave customized location details\", \"wpcal\")\n },\n ask_invitee: {\n name: __(\"Ask Invitee\", \"wpcal\"),\n short_descr: __(\"My Invitee will set the location\", \"wpcal\")\n }\n };\n if (\n location_details.hasOwnProperty(location_type) &&\n location_details[location_type].hasOwnProperty(prop)\n ) {\n return location_details[location_type][prop];\n }\n return location_type;\n};\n\nconst debug_log = (...strs) => {\n window.wpcal_ajax.is_debug ? console.log(...strs) : \"\";\n};\n\nconst date_parse = date_str => {\n let parsed = parseISO(date_str);\n if (parsed === \"Invalid Date\") {\n return \"\";\n }\n return parsed;\n};\n\nconst get_tz_name = tz => {\n let tz_obj = timezone_list.find(tz_obj => {\n return tz_obj.tz === tz;\n });\n if (!tz_obj) {\n return tz.replace(\"/\", \" - \").replace(\"_\", \" \");\n }\n return tz_obj.name;\n};\n\nconst weekdays_list = [\n {\n index: 1,\n full_day: /* translators: Weekday. */ __(\"Monday\", \"wpcal\"),\n mini_day: _x(\"M\", \"weekday monday shortest\", \"wpcal\"),\n short_day: /* translators: Three-letter abbreviation of the weekday. */ __(\n \"Mon\",\n \"wpcal\"\n )\n },\n {\n index: 2,\n full_day: /* translators: Weekday. */ __(\"Tuesday\", \"wpcal\"),\n mini_day: _x(\"Tu\", \"weekday tuesday shortest\", \"wpcal\"),\n short_day: /* translators: Three-letter abbreviation of the weekday. */ __(\n \"Tue\",\n \"wpcal\"\n )\n },\n {\n index: 3,\n full_day: /* translators: Weekday. */ __(\"Wednesday\", \"wpcal\"),\n mini_day: _x(\"W\", \"weekday wednesday shortest\", \"wpcal\"),\n short_day: /* translators: Three-letter abbreviation of the weekday. */ __(\n \"Wed\",\n \"wpcal\"\n )\n },\n {\n index: 4,\n full_day: /* translators: Weekday. */ __(\"Thursday\", \"wpcal\"),\n mini_day: _x(\"Th\", \"weekday thursday shortest\", \"wpcal\"),\n short_day: /* translators: Three-letter abbreviation of the weekday. */ __(\n \"Thu\",\n \"wpcal\"\n )\n },\n {\n index: 5,\n full_day: /* translators: Weekday. */ __(\"Friday\", \"wpcal\"),\n mini_day: _x(\"F\", \"weekday friday shortest\", \"wpcal\"),\n short_day: /* translators: Three-letter abbreviation of the weekday. */ __(\n \"Fri\",\n \"wpcal\"\n )\n },\n {\n index: 6,\n full_day: /* translators: Weekday. */ __(\"Saturday\", \"wpcal\"),\n mini_day: _x(\"Sa\", \"weekday saturday shortest\", \"wpcal\"),\n short_day: /* translators: Three-letter abbreviation of the weekday. */ __(\n \"Sat\",\n \"wpcal\"\n )\n },\n {\n index: 7,\n full_day: /* translators: Weekday. */ __(\"Sunday\", \"wpcal\"),\n mini_day: _x(\"Su\", \"weekday sunday shortest\", \"wpcal\"),\n short_day: /* translators: Three-letter abbreviation of the weekday. */ __(\n \"Sun\",\n \"wpcal\"\n )\n }\n];\n\nconst month_list = [\n //this is just here for language scanner deduction\n {\n index: 1,\n full_month: /* translators: Month name. */ __(\"January\", \"wpcal\"),\n short_month: /* translators: Three-letter abbreviation of the month. */ _x(\n \"Jan\",\n \"three-letter month abbreviation\",\n \"wpcal\"\n )\n },\n {\n index: 2,\n full_month: /* translators: Month name. */ __(\"February\", \"wpcal\"),\n short_month: /* translators: Three-letter abbreviation of the month. */ _x(\n \"Feb\",\n \"three-letter month abbreviation\",\n \"wpcal\"\n )\n },\n {\n index: 3,\n full_month: /* translators: Month name. */ __(\"March\", \"wpcal\"),\n short_month: /* translators: Three-letter abbreviation of the month. */ _x(\n \"Mar\",\n \"three-letter month abbreviation\",\n \"wpcal\"\n )\n },\n {\n index: 4,\n full_month: /* translators: Month name. */ __(\"April\", \"wpcal\"),\n short_month: /* translators: Three-letter abbreviation of the month. */ _x(\n \"Apr\",\n \"three-letter month abbreviation\",\n \"wpcal\"\n )\n },\n {\n index: 5,\n full_month: /* translators: Month name. */ __(\"May\", \"wpcal\"),\n short_month: /* translators: Three-letter abbreviation of the month. */ _x(\n \"May\",\n \"three-letter month abbreviation\",\n \"wpcal\"\n )\n },\n {\n index: 6,\n full_month: /* translators: Month name. */ __(\"June\", \"wpcal\"),\n short_month: /* translators: Three-letter abbreviation of the month. */ _x(\n \"Jun\",\n \"three-letter month abbreviation\",\n \"wpcal\"\n )\n },\n {\n index: 7,\n full_month: /* translators: Month name. */ __(\"July\", \"wpcal\"),\n short_month: /* translators: Three-letter abbreviation of the month. */ _x(\n \"Jul\",\n \"three-letter month abbreviation\",\n \"wpcal\"\n )\n },\n {\n index: 8,\n full_month: /* translators: Month name. */ __(\"August\", \"wpcal\"),\n short_month: /* translators: Three-letter abbreviation of the month. */ _x(\n \"Aug\",\n \"three-letter month abbreviation\",\n \"wpcal\"\n )\n },\n {\n index: 9,\n full_month: /* translators: Month name. */ __(\"September\", \"wpcal\"),\n short_month: /* translators: Three-letter abbreviation of the month. */ _x(\n \"Sep\",\n \"three-letter month abbreviation\",\n \"wpcal\"\n )\n },\n {\n index: 10,\n full_month: /* translators: Month name. */ __(\"October\", \"wpcal\"),\n short_month: /* translators: Three-letter abbreviation of the month. */ _x(\n \"Oct\",\n \"three-letter month abbreviation\",\n \"wpcal\"\n )\n },\n {\n index: 11,\n full_month: /* translators: Month name. */ __(\"November\", \"wpcal\"),\n short_month: /* translators: Three-letter abbreviation of the month. */ _x(\n \"Nov\",\n \"three-letter month abbreviation\",\n \"wpcal\"\n )\n },\n {\n index: 12,\n full_month: /* translators: Month name. */ __(\"December\", \"wpcal\"),\n short_month: /* translators: Three-letter abbreviation of the month. */ _x(\n \"Dec\",\n \"three-letter month abbreviation\",\n \"wpcal\"\n )\n }\n];\n\nconst _lang_support = [\n __(\"1st\", \"wpcal\"),\n __(\"2nd\", \"wpcal\"),\n __(\"3rd\", \"wpcal\"),\n __(\"4th\", \"wpcal\"),\n __(\"5th\", \"wpcal\"),\n __(\"6th\", \"wpcal\"),\n __(\"7th\", \"wpcal\"),\n __(\"8th\", \"wpcal\"),\n __(\"9th\", \"wpcal\"),\n __(\"10th\", \"wpcal\"),\n __(\"11th\", \"wpcal\"),\n __(\"12th\", \"wpcal\"),\n __(\"13th\", \"wpcal\"),\n __(\"14th\", \"wpcal\"),\n __(\"15th\", \"wpcal\"),\n __(\"16th\", \"wpcal\"),\n __(\"17th\", \"wpcal\"),\n __(\"18th\", \"wpcal\"),\n __(\"19th\", \"wpcal\"),\n __(\"20th\", \"wpcal\"),\n __(\"21st\", \"wpcal\"),\n __(\"22nd\", \"wpcal\"),\n __(\"23rd\", \"wpcal\"),\n __(\"24th\", \"wpcal\"),\n __(\"25th\", \"wpcal\"),\n __(\"26th\", \"wpcal\"),\n __(\"27th\", \"wpcal\"),\n __(\"28th\", \"wpcal\"),\n __(\"29th\", \"wpcal\"),\n __(\"30th\", \"wpcal\"),\n __(\"31st\", \"wpcal\")\n];\n\n//a copy of this timezone list in in [plugin]/includes/time_zone_list.json\nconst timezone_list = [\n { tz: \"Africa/Abidjan\", name: \"Africa - Abidjan\" },\n { tz: \"Africa/Accra\", name: \"Africa - Accra\" },\n { tz: \"Africa/Addis_Ababa\", name: \"Africa - Addis Ababa\" },\n { tz: \"Africa/Algiers\", name: \"Africa - Algiers\" },\n { tz: \"Africa/Asmara\", name: \"Africa - Asmara\" },\n { tz: \"Africa/Bamako\", name: \"Africa - Bamako\" },\n { tz: \"Africa/Bangui\", name: \"Africa - Bangui\" },\n { tz: \"Africa/Banjul\", name: \"Africa - Banjul\" },\n { tz: \"Africa/Bissau\", name: \"Africa - Bissau\" },\n { tz: \"Africa/Blantyre\", name: \"Africa - Blantyre\" },\n { tz: \"Africa/Brazzaville\", name: \"Africa - Brazzaville\" },\n { tz: \"Africa/Bujumbura\", name: \"Africa - Bujumbura\" },\n { tz: \"Africa/Cairo\", name: \"Africa - Cairo\" },\n { tz: \"Africa/Casablanca\", name: \"Africa - Casablanca\" },\n { tz: \"Africa/Ceuta\", name: \"Africa - Ceuta\" },\n { tz: \"Africa/Conakry\", name: \"Africa - Conakry\" },\n { tz: \"Africa/Dakar\", name: \"Africa - Dakar\" },\n { tz: \"Africa/Dar_es_Salaam\", name: \"Africa - Dar es Salaam\" },\n { tz: \"Africa/Djibouti\", name: \"Africa - Djibouti\" },\n { tz: \"Africa/Douala\", name: \"Africa - Douala\" },\n { tz: \"Africa/El_Aaiun\", name: \"Africa - El Aaiun\" },\n { tz: \"Africa/Freetown\", name: \"Africa - Freetown\" },\n { tz: \"Africa/Gaborone\", name: \"Africa - Gaborone\" },\n { tz: \"Africa/Harare\", name: \"Africa - Harare\" },\n { tz: \"Africa/Johannesburg\", name: \"Africa - Johannesburg\" },\n { tz: \"Africa/Juba\", name: \"Africa - Juba\" },\n { tz: \"Africa/Kampala\", name: \"Africa - Kampala\" },\n { tz: \"Africa/Khartoum\", name: \"Africa - Khartoum\" },\n { tz: \"Africa/Kigali\", name: \"Africa - Kigali\" },\n { tz: \"Africa/Kinshasa\", name: \"Africa - Kinshasa\" },\n { tz: \"Africa/Lagos\", name: \"Africa - Lagos\" },\n { tz: \"Africa/Libreville\", name: \"Africa - Libreville\" },\n { tz: \"Africa/Lome\", name: \"Africa - Lome\" },\n { tz: \"Africa/Luanda\", name: \"Africa - Luanda\" },\n { tz: \"Africa/Lubumbashi\", name: \"Africa - Lubumbashi\" },\n { tz: \"Africa/Lusaka\", name: \"Africa - Lusaka\" },\n { tz: \"Africa/Malabo\", name: \"Africa - Malabo\" },\n { tz: \"Africa/Maputo\", name: \"Africa - Maputo\" },\n { tz: \"Africa/Maseru\", name: \"Africa - Maseru\" },\n { tz: \"Africa/Mbabane\", name: \"Africa - Mbabane\" },\n { tz: \"Africa/Mogadishu\", name: \"Africa - Mogadishu\" },\n { tz: \"Africa/Monrovia\", name: \"Africa - Monrovia\" },\n { tz: \"Africa/Nairobi\", name: \"Africa - Nairobi\" },\n { tz: \"Africa/Ndjamena\", name: \"Africa - Ndjamena\" },\n { tz: \"Africa/Niamey\", name: \"Africa - Niamey\" },\n { tz: \"Africa/Nouakchott\", name: \"Africa - Nouakchott\" },\n { tz: \"Africa/Ouagadougou\", name: \"Africa - Ouagadougou\" },\n { tz: \"Africa/Porto-Novo\", name: \"Africa - Porto-Novo\" },\n { tz: \"Africa/Sao_Tome\", name: \"Africa - Sao Tome\" },\n { tz: \"Africa/Tripoli\", name: \"Africa - Tripoli\" },\n { tz: \"Africa/Tunis\", name: \"Africa - Tunis\" },\n { tz: \"Africa/Windhoek\", name: \"Africa - Windhoek\" },\n { tz: \"America/Adak\", name: \"America - Adak\" },\n { tz: \"America/Anchorage\", name: \"America - Anchorage\" },\n { tz: \"America/Anguilla\", name: \"America - Anguilla\" },\n { tz: \"America/Antigua\", name: \"America - Antigua\" },\n { tz: \"America/Araguaina\", name: \"America - Araguaina\" },\n {\n tz: \"America/Argentina/Buenos_Aires\",\n name: \"America - Argentina - Buenos Aires\"\n },\n {\n tz: \"America/Argentina/Catamarca\",\n name: \"America - Argentina - Catamarca\"\n },\n {\n tz: \"America/Argentina/Cordoba\",\n name: \"America - Argentina - Cordoba\"\n },\n { tz: \"America/Argentina/Jujuy\", name: \"America - Argentina - Jujuy\" },\n {\n tz: \"America/Argentina/La_Rioja\",\n name: \"America - Argentina - La Rioja\"\n },\n {\n tz: \"America/Argentina/Mendoza\",\n name: \"America - Argentina - Mendoza\"\n },\n {\n tz: \"America/Argentina/Rio_Gallegos\",\n name: \"America - Argentina - Rio Gallegos\"\n },\n { tz: \"America/Argentina/Salta\", name: \"America - Argentina - Salta\" },\n {\n tz: \"America/Argentina/San_Juan\",\n name: \"America - Argentina - San Juan\"\n },\n {\n tz: \"America/Argentina/San_Luis\",\n name: \"America - Argentina - San Luis\"\n },\n {\n tz: \"America/Argentina/Tucuman\",\n name: \"America - Argentina - Tucuman\"\n },\n {\n tz: \"America/Argentina/Ushuaia\",\n name: \"America - Argentina - Ushuaia\"\n },\n { tz: \"America/Aruba\", name: \"America - Aruba\" },\n { tz: \"America/Asuncion\", name: \"America - Asuncion\" },\n { tz: \"America/Atikokan\", name: \"America - Atikokan\" },\n { tz: \"America/Bahia\", name: \"America - Bahia\" },\n { tz: \"America/Bahia_Banderas\", name: \"America - Bahia Banderas\" },\n { tz: \"America/Barbados\", name: \"America - Barbados\" },\n { tz: \"America/Belem\", name: \"America - Belem\" },\n { tz: \"America/Belize\", name: \"America - Belize\" },\n { tz: \"America/Blanc-Sablon\", name: \"America - Blanc-Sablon\" },\n { tz: \"America/Boa_Vista\", name: \"America - Boa Vista\" },\n { tz: \"America/Bogota\", name: \"America - Bogota\" },\n { tz: \"America/Boise\", name: \"America - Boise\" },\n { tz: \"America/Cambridge_Bay\", name: \"America - Cambridge Bay\" },\n { tz: \"America/Campo_Grande\", name: \"America - Campo Grande\" },\n { tz: \"America/Cancun\", name: \"America - Cancun\" },\n { tz: \"America/Caracas\", name: \"America - Caracas\" },\n { tz: \"America/Cayenne\", name: \"America - Cayenne\" },\n { tz: \"America/Cayman\", name: \"America - Cayman\" },\n { tz: \"America/Chicago\", name: \"America - Chicago\" },\n { tz: \"America/Chihuahua\", name: \"America - Chihuahua\" },\n { tz: \"America/Costa_Rica\", name: \"America - Costa Rica\" },\n { tz: \"America/Creston\", name: \"America - Creston\" },\n { tz: \"America/Cuiaba\", name: \"America - Cuiaba\" },\n { tz: \"America/Curacao\", name: \"America - Curacao\" },\n { tz: \"America/Danmarkshavn\", name: \"America - Danmarkshavn\" },\n { tz: \"America/Dawson\", name: \"America - Dawson\" },\n { tz: \"America/Dawson_Creek\", name: \"America - Dawson Creek\" },\n { tz: \"America/Denver\", name: \"America - Denver\" },\n { tz: \"America/Detroit\", name: \"America - Detroit\" },\n { tz: \"America/Dominica\", name: \"America - Dominica\" },\n { tz: \"America/Edmonton\", name: \"America - Edmonton\" },\n { tz: \"America/Eirunepe\", name: \"America - Eirunepe\" },\n { tz: \"America/El_Salvador\", name: \"America - El Salvador\" },\n { tz: \"America/Fortaleza\", name: \"America - Fortaleza\" },\n { tz: \"America/Fort_Nelson\", name: \"America - Fort Nelson\" },\n { tz: \"America/Glace_Bay\", name: \"America - Glace Bay\" },\n { tz: \"America/Godthab\", name: \"America - Godthab\" },\n { tz: \"America/Goose_Bay\", name: \"America - Goose Bay\" },\n { tz: \"America/Grand_Turk\", name: \"America - Grand Turk\" },\n { tz: \"America/Grenada\", name: \"America - Grenada\" },\n { tz: \"America/Guadeloupe\", name: \"America - Guadeloupe\" },\n { tz: \"America/Guatemala\", name: \"America - Guatemala\" },\n { tz: \"America/Guayaquil\", name: \"America - Guayaquil\" },\n { tz: \"America/Guyana\", name: \"America - Guyana\" },\n { tz: \"America/Halifax\", name: \"America - Halifax\" },\n { tz: \"America/Havana\", name: \"America - Havana\" },\n { tz: \"America/Hermosillo\", name: \"America - Hermosillo\" },\n {\n tz: \"America/Indiana/Indianapolis\",\n name: \"America - Indiana - Indianapolis\"\n },\n { tz: \"America/Indiana/Knox\", name: \"America - Indiana - Knox\" },\n { tz: \"America/Indiana/Marengo\", name: \"America - Indiana - Marengo\" },\n {\n tz: \"America/Indiana/Petersburg\",\n name: \"America - Indiana - Petersburg\"\n },\n {\n tz: \"America/Indiana/Tell_City\",\n name: \"America - Indiana - Tell City\"\n },\n { tz: \"America/Indiana/Vevay\", name: \"America - Indiana - Vevay\" },\n {\n tz: \"America/Indiana/Vincennes\",\n name: \"America - Indiana - Vincennes\"\n },\n { tz: \"America/Indiana/Winamac\", name: \"America - Indiana - Winamac\" },\n { tz: \"America/Inuvik\", name: \"America - Inuvik\" },\n { tz: \"America/Iqaluit\", name: \"America - Iqaluit\" },\n { tz: \"America/Jamaica\", name: \"America - Jamaica\" },\n { tz: \"America/Juneau\", name: \"America - Juneau\" },\n {\n tz: \"America/Kentucky/Louisville\",\n name: \"America - Kentucky - Louisville\"\n },\n {\n tz: \"America/Kentucky/Monticello\",\n name: \"America - Kentucky - Monticello\"\n },\n { tz: \"America/Kralendijk\", name: \"America - Kralendijk\" },\n { tz: \"America/La_Paz\", name: \"America - La Paz\" },\n { tz: \"America/Lima\", name: \"America - Lima\" },\n { tz: \"America/Los_Angeles\", name: \"America - Los Angeles\" },\n { tz: \"America/Lower_Princes\", name: \"America - Lower Princes\" },\n { tz: \"America/Maceio\", name: \"America - Maceio\" },\n { tz: \"America/Managua\", name: \"America - Managua\" },\n { tz: \"America/Manaus\", name: \"America - Manaus\" },\n { tz: \"America/Marigot\", name: \"America - Marigot\" },\n { tz: \"America/Martinique\", name: \"America - Martinique\" },\n { tz: \"America/Matamoros\", name: \"America - Matamoros\" },\n { tz: \"America/Mazatlan\", name: \"America - Mazatlan\" },\n { tz: \"America/Menominee\", name: \"America - Menominee\" },\n { tz: \"America/Merida\", name: \"America - Merida\" },\n { tz: \"America/Metlakatla\", name: \"America - Metlakatla\" },\n { tz: \"America/Mexico_City\", name: \"America - Mexico City\" },\n { tz: \"America/Miquelon\", name: \"America - Miquelon\" },\n { tz: \"America/Moncton\", name: \"America - Moncton\" },\n { tz: \"America/Monterrey\", name: \"America - Monterrey\" },\n { tz: \"America/Montevideo\", name: \"America - Montevideo\" },\n { tz: \"America/Montserrat\", name: \"America - Montserrat\" },\n { tz: \"America/Nassau\", name: \"America - Nassau\" },\n { tz: \"America/New_York\", name: \"America - New York\" },\n { tz: \"America/Nipigon\", name: \"America - Nipigon\" },\n { tz: \"America/Nome\", name: \"America - Nome\" },\n { tz: \"America/Noronha\", name: \"America - Noronha\" },\n {\n tz: \"America/North_Dakota/Beulah\",\n name: \"America - North Dakota - Beulah\"\n },\n {\n tz: \"America/North_Dakota/Center\",\n name: \"America - North Dakota - Center\"\n },\n {\n tz: \"America/North_Dakota/New_Salem\",\n name: \"America - North Dakota - New Salem\"\n },\n { tz: \"America/Ojinaga\", name: \"America - Ojinaga\" },\n { tz: \"America/Panama\", name: \"America - Panama\" },\n { tz: \"America/Pangnirtung\", name: \"America - Pangnirtung\" },\n { tz: \"America/Paramaribo\", name: \"America - Paramaribo\" },\n { tz: \"America/Phoenix\", name: \"America - Phoenix\" },\n { tz: \"America/Port-au-Prince\", name: \"America - Port-au-Prince\" },\n { tz: \"America/Port_of_Spain\", name: \"America - Port of Spain\" },\n { tz: \"America/Porto_Velho\", name: \"America - Porto Velho\" },\n { tz: \"America/Puerto_Rico\", name: \"America - Puerto Rico\" },\n { tz: \"America/Punta_Arenas\", name: \"America - Punta Arenas\" },\n { tz: \"America/Rainy_River\", name: \"America - Rainy River\" },\n { tz: \"America/Rankin_Inlet\", name: \"America - Rankin Inlet\" },\n { tz: \"America/Recife\", name: \"America - Recife\" },\n { tz: \"America/Regina\", name: \"America - Regina\" },\n { tz: \"America/Resolute\", name: \"America - Resolute\" },\n { tz: \"America/Rio_Branco\", name: \"America - Rio Branco\" },\n { tz: \"America/Santarem\", name: \"America - Santarem\" },\n { tz: \"America/Santiago\", name: \"America - Santiago\" },\n { tz: \"America/Santo_Domingo\", name: \"America - Santo Domingo\" },\n { tz: \"America/Sao_Paulo\", name: \"America - Sao Paulo\" },\n { tz: \"America/Scoresbysund\", name: \"America - Scoresbysund\" },\n { tz: \"America/Sitka\", name: \"America - Sitka\" },\n { tz: \"America/St_Barthelemy\", name: \"America - St Barthelemy\" },\n { tz: \"America/St_Johns\", name: \"America - St Johns\" },\n { tz: \"America/St_Kitts\", name: \"America - St Kitts\" },\n { tz: \"America/St_Lucia\", name: \"America - St Lucia\" },\n { tz: \"America/St_Thomas\", name: \"America - St Thomas\" },\n { tz: \"America/St_Vincent\", name: \"America - St Vincent\" },\n { tz: \"America/Swift_Current\", name: \"America - Swift Current\" },\n { tz: \"America/Tegucigalpa\", name: \"America - Tegucigalpa\" },\n { tz: \"America/Thule\", name: \"America - Thule\" },\n { tz: \"America/Thunder_Bay\", name: \"America - Thunder Bay\" },\n { tz: \"America/Tijuana\", name: \"America - Tijuana\" },\n { tz: \"America/Toronto\", name: \"America - Toronto\" },\n { tz: \"America/Tortola\", name: \"America - Tortola\" },\n { tz: \"America/Vancouver\", name: \"America - Vancouver\" },\n { tz: \"America/Whitehorse\", name: \"America - Whitehorse\" },\n { tz: \"America/Winnipeg\", name: \"America - Winnipeg\" },\n { tz: \"America/Yakutat\", name: \"America - Yakutat\" },\n { tz: \"America/Yellowknife\", name: \"America - Yellowknife\" },\n { tz: \"Antarctica/Casey\", name: \"Antarctica - Casey\" },\n { tz: \"Antarctica/Davis\", name: \"Antarctica - Davis\" },\n {\n tz: \"Antarctica/DumontDUrville\",\n name: \"Antarctica - DumontDUrville\"\n },\n { tz: \"Antarctica/Macquarie\", name: \"Antarctica - Macquarie\" },\n { tz: \"Antarctica/Mawson\", name: \"Antarctica - Mawson\" },\n { tz: \"Antarctica/McMurdo\", name: \"Antarctica - McMurdo\" },\n { tz: \"Antarctica/Palmer\", name: \"Antarctica - Palmer\" },\n { tz: \"Antarctica/Rothera\", name: \"Antarctica - Rothera\" },\n { tz: \"Antarctica/Syowa\", name: \"Antarctica - Syowa\" },\n { tz: \"Antarctica/Troll\", name: \"Antarctica - Troll\" },\n { tz: \"Antarctica/Vostok\", name: \"Antarctica - Vostok\" },\n { tz: \"Arctic/Longyearbyen\", name: \"Arctic - Longyearbyen\" },\n { tz: \"Asia/Aden\", name: \"Asia - Aden\" },\n { tz: \"Asia/Almaty\", name: \"Asia - Almaty\" },\n { tz: \"Asia/Amman\", name: \"Asia - Amman\" },\n { tz: \"Asia/Anadyr\", name: \"Asia - Anadyr\" },\n { tz: \"Asia/Aqtau\", name: \"Asia - Aqtau\" },\n { tz: \"Asia/Aqtobe\", name: \"Asia - Aqtobe\" },\n { tz: \"Asia/Ashgabat\", name: \"Asia - Ashgabat\" },\n { tz: \"Asia/Atyrau\", name: \"Asia - Atyrau\" },\n { tz: \"Asia/Baghdad\", name: \"Asia - Baghdad\" },\n { tz: \"Asia/Bahrain\", name: \"Asia - Bahrain\" },\n { tz: \"Asia/Baku\", name: \"Asia - Baku\" },\n { tz: \"Asia/Bangkok\", name: \"Asia - Bangkok\" },\n { tz: \"Asia/Barnaul\", name: \"Asia - Barnaul\" },\n { tz: \"Asia/Beirut\", name: \"Asia - Beirut\" },\n { tz: \"Asia/Bishkek\", name: \"Asia - Bishkek\" },\n { tz: \"Asia/Brunei\", name: \"Asia - Brunei\" },\n { tz: \"Asia/Chita\", name: \"Asia - Chita\" },\n { tz: \"Asia/Choibalsan\", name: \"Asia - Choibalsan\" },\n { tz: \"Asia/Colombo\", name: \"Asia - Colombo\" },\n { tz: \"Asia/Damascus\", name: \"Asia - Damascus\" },\n { tz: \"Asia/Dhaka\", name: \"Asia - Dhaka\" },\n { tz: \"Asia/Dili\", name: \"Asia - Dili\" },\n { tz: \"Asia/Dubai\", name: \"Asia - Dubai\" },\n { tz: \"Asia/Dushanbe\", name: \"Asia - Dushanbe\" },\n { tz: \"Asia/Famagusta\", name: \"Asia - Famagusta\" },\n { tz: \"Asia/Gaza\", name: \"Asia - Gaza\" },\n { tz: \"Asia/Hebron\", name: \"Asia - Hebron\" },\n { tz: \"Asia/Ho_Chi_Minh\", name: \"Asia - Ho Chi Minh\" },\n { tz: \"Asia/Hong_Kong\", name: \"Asia - Hong Kong\" },\n { tz: \"Asia/Hovd\", name: \"Asia - Hovd\" },\n { tz: \"Asia/Irkutsk\", name: \"Asia - Irkutsk\" },\n { tz: \"Asia/Jakarta\", name: \"Asia - Jakarta\" },\n { tz: \"Asia/Jayapura\", name: \"Asia - Jayapura\" },\n { tz: \"Asia/Jerusalem\", name: \"Asia - Jerusalem\" },\n { tz: \"Asia/Kabul\", name: \"Asia - Kabul\" },\n { tz: \"Asia/Kamchatka\", name: \"Asia - Kamchatka\" },\n { tz: \"Asia/Karachi\", name: \"Asia - Karachi\" },\n { tz: \"Asia/Kathmandu\", name: \"Asia - Kathmandu\" },\n { tz: \"Asia/Khandyga\", name: \"Asia - Khandyga\" },\n { tz: \"Asia/Kolkata\", name: \"Asia - Kolkata\" },\n { tz: \"Asia/Krasnoyarsk\", name: \"Asia - Krasnoyarsk\" },\n { tz: \"Asia/Kuala_Lumpur\", name: \"Asia - Kuala Lumpur\" },\n { tz: \"Asia/Kuching\", name: \"Asia - Kuching\" },\n { tz: \"Asia/Kuwait\", name: \"Asia - Kuwait\" },\n { tz: \"Asia/Macau\", name: \"Asia - Macau\" },\n { tz: \"Asia/Magadan\", name: \"Asia - Magadan\" },\n { tz: \"Asia/Makassar\", name: \"Asia - Makassar\" },\n { tz: \"Asia/Manila\", name: \"Asia - Manila\" },\n { tz: \"Asia/Muscat\", name: \"Asia - Muscat\" },\n { tz: \"Asia/Nicosia\", name: \"Asia - Nicosia\" },\n { tz: \"Asia/Novokuznetsk\", name: \"Asia - Novokuznetsk\" },\n { tz: \"Asia/Novosibirsk\", name: \"Asia - Novosibirsk\" },\n { tz: \"Asia/Omsk\", name: \"Asia - Omsk\" },\n { tz: \"Asia/Oral\", name: \"Asia - Oral\" },\n { tz: \"Asia/Phnom_Penh\", name: \"Asia - Phnom Penh\" },\n { tz: \"Asia/Pontianak\", name: \"Asia - Pontianak\" },\n { tz: \"Asia/Pyongyang\", name: \"Asia - Pyongyang\" },\n { tz: \"Asia/Qatar\", name: \"Asia - Qatar\" },\n { tz: \"Asia/Qostanay\", name: \"Asia - Qostanay\" },\n { tz: \"Asia/Qyzylorda\", name: \"Asia - Qyzylorda\" },\n { tz: \"Asia/Riyadh\", name: \"Asia - Riyadh\" },\n { tz: \"Asia/Sakhalin\", name: \"Asia - Sakhalin\" },\n { tz: \"Asia/Samarkand\", name: \"Asia - Samarkand\" },\n { tz: \"Asia/Seoul\", name: \"Asia - Seoul\" },\n { tz: \"Asia/Shanghai\", name: \"Asia - Shanghai\" },\n { tz: \"Asia/Singapore\", name: \"Asia - Singapore\" },\n { tz: \"Asia/Srednekolymsk\", name: \"Asia - Srednekolymsk\" },\n { tz: \"Asia/Taipei\", name: \"Asia - Taipei\" },\n { tz: \"Asia/Tashkent\", name: \"Asia - Tashkent\" },\n { tz: \"Asia/Tbilisi\", name: \"Asia - Tbilisi\" },\n { tz: \"Asia/Tehran\", name: \"Asia - Tehran\" },\n { tz: \"Asia/Thimphu\", name: \"Asia - Thimphu\" },\n { tz: \"Asia/Tokyo\", name: \"Asia - Tokyo\" },\n { tz: \"Asia/Tomsk\", name: \"Asia - Tomsk\" },\n { tz: \"Asia/Ulaanbaatar\", name: \"Asia - Ulaanbaatar\" },\n { tz: \"Asia/Urumqi\", name: \"Asia - Urumqi\" },\n { tz: \"Asia/Ust-Nera\", name: \"Asia - Ust-Nera\" },\n { tz: \"Asia/Vientiane\", name: \"Asia - Vientiane\" },\n { tz: \"Asia/Vladivostok\", name: \"Asia - Vladivostok\" },\n { tz: \"Asia/Yakutsk\", name: \"Asia - Yakutsk\" },\n { tz: \"Asia/Yangon\", name: \"Asia - Yangon\" },\n { tz: \"Asia/Yekaterinburg\", name: \"Asia - Yekaterinburg\" },\n { tz: \"Asia/Yerevan\", name: \"Asia - Yerevan\" },\n { tz: \"Atlantic/Azores\", name: \"Atlantic - Azores\" },\n { tz: \"Atlantic/Bermuda\", name: \"Atlantic - Bermuda\" },\n { tz: \"Atlantic/Canary\", name: \"Atlantic - Canary\" },\n { tz: \"Atlantic/Cape_Verde\", name: \"Atlantic - Cape Verde\" },\n { tz: \"Atlantic/Faroe\", name: \"Atlantic - Faroe\" },\n { tz: \"Atlantic/Madeira\", name: \"Atlantic - Madeira\" },\n { tz: \"Atlantic/Reykjavik\", name: \"Atlantic - Reykjavik\" },\n { tz: \"Atlantic/South_Georgia\", name: \"Atlantic - South Georgia\" },\n { tz: \"Atlantic/Stanley\", name: \"Atlantic - Stanley\" },\n { tz: \"Atlantic/St_Helena\", name: \"Atlantic - St Helena\" },\n { tz: \"Australia/Adelaide\", name: \"Australia - Adelaide\" },\n { tz: \"Australia/Brisbane\", name: \"Australia - Brisbane\" },\n { tz: \"Australia/Broken_Hill\", name: \"Australia - Broken Hill\" },\n { tz: \"Australia/Currie\", name: \"Australia - Currie\" },\n { tz: \"Australia/Darwin\", name: \"Australia - Darwin\" },\n { tz: \"Australia/Eucla\", name: \"Australia - Eucla\" },\n { tz: \"Australia/Hobart\", name: \"Australia - Hobart\" },\n { tz: \"Australia/Lindeman\", name: \"Australia - Lindeman\" },\n { tz: \"Australia/Lord_Howe\", name: \"Australia - Lord Howe\" },\n { tz: \"Australia/Melbourne\", name: \"Australia - Melbourne\" },\n { tz: \"Australia/Perth\", name: \"Australia - Perth\" },\n { tz: \"Australia/Sydney\", name: \"Australia - Sydney\" },\n { tz: \"Europe/Amsterdam\", name: \"Europe - Amsterdam\" },\n { tz: \"Europe/Andorra\", name: \"Europe - Andorra\" },\n { tz: \"Europe/Astrakhan\", name: \"Europe - Astrakhan\" },\n { tz: \"Europe/Athens\", name: \"Europe - Athens\" },\n { tz: \"Europe/Belgrade\", name: \"Europe - Belgrade\" },\n { tz: \"Europe/Berlin\", name: \"Europe - Berlin\" },\n { tz: \"Europe/Bratislava\", name: \"Europe - Bratislava\" },\n { tz: \"Europe/Brussels\", name: \"Europe - Brussels\" },\n { tz: \"Europe/Bucharest\", name: \"Europe - Bucharest\" },\n { tz: \"Europe/Budapest\", name: \"Europe - Budapest\" },\n { tz: \"Europe/Busingen\", name: \"Europe - Busingen\" },\n { tz: \"Europe/Chisinau\", name: \"Europe - Chisinau\" },\n { tz: \"Europe/Copenhagen\", name: \"Europe - Copenhagen\" },\n { tz: \"Europe/Dublin\", name: \"Europe - Dublin\" },\n { tz: \"Europe/Gibraltar\", name: \"Europe - Gibraltar\" },\n { tz: \"Europe/Guernsey\", name: \"Europe - Guernsey\" },\n { tz: \"Europe/Helsinki\", name: \"Europe - Helsinki\" },\n { tz: \"Europe/Isle_of_Man\", name: \"Europe - Isle of Man\" },\n { tz: \"Europe/Istanbul\", name: \"Europe - Istanbul\" },\n { tz: \"Europe/Jersey\", name: \"Europe - Jersey\" },\n { tz: \"Europe/Kaliningrad\", name: \"Europe - Kaliningrad\" },\n { tz: \"Europe/Kiev\", name: \"Europe - Kiev\" },\n { tz: \"Europe/Kirov\", name: \"Europe - Kirov\" },\n { tz: \"Europe/Lisbon\", name: \"Europe - Lisbon\" },\n { tz: \"Europe/Ljubljana\", name: \"Europe - Ljubljana\" },\n { tz: \"Europe/London\", name: \"Europe - London\" },\n { tz: \"Europe/Luxembourg\", name: \"Europe - Luxembourg\" },\n { tz: \"Europe/Madrid\", name: \"Europe - Madrid\" },\n { tz: \"Europe/Malta\", name: \"Europe - Malta\" },\n { tz: \"Europe/Mariehamn\", name: \"Europe - Mariehamn\" },\n { tz: \"Europe/Minsk\", name: \"Europe - Minsk\" },\n { tz: \"Europe/Monaco\", name: \"Europe - Monaco\" },\n { tz: \"Europe/Moscow\", name: \"Europe - Moscow\" },\n { tz: \"Europe/Oslo\", name: \"Europe - Oslo\" },\n { tz: \"Europe/Paris\", name: \"Europe - Paris\" },\n { tz: \"Europe/Podgorica\", name: \"Europe - Podgorica\" },\n { tz: \"Europe/Prague\", name: \"Europe - Prague\" },\n { tz: \"Europe/Riga\", name: \"Europe - Riga\" },\n { tz: \"Europe/Rome\", name: \"Europe - Rome\" },\n { tz: \"Europe/Samara\", name: \"Europe - Samara\" },\n { tz: \"Europe/San_Marino\", name: \"Europe - San Marino\" },\n { tz: \"Europe/Sarajevo\", name: \"Europe - Sarajevo\" },\n { tz: \"Europe/Saratov\", name: \"Europe - Saratov\" },\n { tz: \"Europe/Simferopol\", name: \"Europe - Simferopol\" },\n { tz: \"Europe/Skopje\", name: \"Europe - Skopje\" },\n { tz: \"Europe/Sofia\", name: \"Europe - Sofia\" },\n { tz: \"Europe/Stockholm\", name: \"Europe - Stockholm\" },\n { tz: \"Europe/Tallinn\", name: \"Europe - Tallinn\" },\n { tz: \"Europe/Tirane\", name: \"Europe - Tirane\" },\n { tz: \"Europe/Ulyanovsk\", name: \"Europe - Ulyanovsk\" },\n { tz: \"Europe/Uzhgorod\", name: \"Europe - Uzhgorod\" },\n { tz: \"Europe/Vaduz\", name: \"Europe - Vaduz\" },\n { tz: \"Europe/Vatican\", name: \"Europe - Vatican\" },\n { tz: \"Europe/Vienna\", name: \"Europe - Vienna\" },\n { tz: \"Europe/Vilnius\", name: \"Europe - Vilnius\" },\n { tz: \"Europe/Volgograd\", name: \"Europe - Volgograd\" },\n { tz: \"Europe/Warsaw\", name: \"Europe - Warsaw\" },\n { tz: \"Europe/Zagreb\", name: \"Europe - Zagreb\" },\n { tz: \"Europe/Zaporozhye\", name: \"Europe - Zaporozhye\" },\n { tz: \"Europe/Zurich\", name: \"Europe - Zurich\" },\n { tz: \"Indian/Antananarivo\", name: \"Indian - Antananarivo\" },\n { tz: \"Indian/Chagos\", name: \"Indian - Chagos\" },\n { tz: \"Indian/Christmas\", name: \"Indian - Christmas\" },\n { tz: \"Indian/Cocos\", name: \"Indian - Cocos\" },\n { tz: \"Indian/Comoro\", name: \"Indian - Comoro\" },\n { tz: \"Indian/Kerguelen\", name: \"Indian - Kerguelen\" },\n { tz: \"Indian/Mahe\", name: \"Indian - Mahe\" },\n { tz: \"Indian/Maldives\", name: \"Indian - Maldives\" },\n { tz: \"Indian/Mauritius\", name: \"Indian - Mauritius\" },\n { tz: \"Indian/Mayotte\", name: \"Indian - Mayotte\" },\n { tz: \"Indian/Reunion\", name: \"Indian - Reunion\" },\n { tz: \"Pacific/Apia\", name: \"Pacific - Apia\" },\n { tz: \"Pacific/Auckland\", name: \"Pacific - Auckland\" },\n { tz: \"Pacific/Bougainville\", name: \"Pacific - Bougainville\" },\n { tz: \"Pacific/Chatham\", name: \"Pacific - Chatham\" },\n { tz: \"Pacific/Chuuk\", name: \"Pacific - Chuuk\" },\n { tz: \"Pacific/Easter\", name: \"Pacific - Easter\" },\n { tz: \"Pacific/Efate\", name: \"Pacific - Efate\" },\n { tz: \"Pacific/Enderbury\", name: \"Pacific - Enderbury\" },\n { tz: \"Pacific/Fakaofo\", name: \"Pacific - Fakaofo\" },\n { tz: \"Pacific/Fiji\", name: \"Pacific - Fiji\" },\n { tz: \"Pacific/Funafuti\", name: \"Pacific - Funafuti\" },\n { tz: \"Pacific/Galapagos\", name: \"Pacific - Galapagos\" },\n { tz: \"Pacific/Gambier\", name: \"Pacific - Gambier\" },\n { tz: \"Pacific/Guadalcanal\", name: \"Pacific - Guadalcanal\" },\n { tz: \"Pacific/Guam\", name: \"Pacific - Guam\" },\n { tz: \"Pacific/Honolulu\", name: \"Pacific - Honolulu\" },\n { tz: \"Pacific/Kiritimati\", name: \"Pacific - Kiritimati\" },\n { tz: \"Pacific/Kosrae\", name: \"Pacific - Kosrae\" },\n { tz: \"Pacific/Kwajalein\", name: \"Pacific - Kwajalein\" },\n { tz: \"Pacific/Majuro\", name: \"Pacific - Majuro\" },\n { tz: \"Pacific/Marquesas\", name: \"Pacific - Marquesas\" },\n { tz: \"Pacific/Midway\", name: \"Pacific - Midway\" },\n { tz: \"Pacific/Nauru\", name: \"Pacific - Nauru\" },\n { tz: \"Pacific/Niue\", name: \"Pacific - Niue\" },\n { tz: \"Pacific/Norfolk\", name: \"Pacific - Norfolk\" },\n { tz: \"Pacific/Noumea\", name: \"Pacific - Noumea\" },\n { tz: \"Pacific/Pago_Pago\", name: \"Pacific - Pago Pago\" },\n { tz: \"Pacific/Palau\", name: \"Pacific - Palau\" },\n { tz: \"Pacific/Pitcairn\", name: \"Pacific - Pitcairn\" },\n { tz: \"Pacific/Pohnpei\", name: \"Pacific - Pohnpei\" },\n { tz: \"Pacific/Port_Moresby\", name: \"Pacific - Port Moresby\" },\n { tz: \"Pacific/Rarotonga\", name: \"Pacific - Rarotonga\" },\n { tz: \"Pacific/Saipan\", name: \"Pacific - Saipan\" },\n { tz: \"Pacific/Tahiti\", name: \"Pacific - Tahiti\" },\n { tz: \"Pacific/Tarawa\", name: \"Pacific - Tarawa\" },\n { tz: \"Pacific/Tongatapu\", name: \"Pacific - Tongatapu\" },\n { tz: \"Pacific/Wake\", name: \"Pacific - Wake\" },\n { tz: \"Pacific/Wallis\", name: \"Pacific - Wallis\" }\n];\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{attrs:{\"id\":\"wpcal-widget\"}},[_c('div',{staticClass:\"widget-main state-form cf\"},[(_vm.client_end == 'admin')?_c('div',{staticClass:\"modal_close_cont\"},[_c('button',{on:{\"click\":function($event){return _vm.$modal.hide('service_booking_modal')}}})]):_vm._e(),_c('BookingInfo',{attrs:{\"service_details\":_vm.service_details,\"service_admin_details\":_vm.service_admin_details,\"old_booking\":_vm.old_booking,\"booking_type\":_vm.booking_type,\"booking_step\":\"2\"}}),_c('div',{staticClass:\"event-form\"},[_c('div',{staticClass:\"icon-back\",on:{\"click\":_vm.go_back}},[_c('span',[_vm._v(_vm._s(_vm.__(\"Back\", \"wpcal\")))])]),_c('div',{staticClass:\"confirmed-timing\",domProps:{\"innerHTML\":_vm._s(\n _vm.$options.filters.wpcal_unix_to_from_to_time_full_date_day_tz(\n _vm.form.booking_slot.from_time,\n _vm.form.booking_slot.to_time,\n _vm.tz,\n _vm.time_format\n ) + '.'\n )}}),(_vm.booking_type === 'new')?_c('div',{staticClass:\"txt-h4\"},[_vm._v(\" \"+_vm._s(_vm.__(\"Please enter your details\", \"wpcal\"))+\" \")]):_vm._e(),_c('div',{staticClass:\"wpc-form\"},[(_vm.booking_type === 'new')?_c('div',[_c('form-row',{attrs:{\"validator\":_vm.$v.form.invitee_name}},[_c('label',{staticClass:\"wpc-label\"},[_vm._v(_vm._s(_vm.__( \"Full Name\", \"wpcal\" ) /* intentional line break, i18n search replace */)+\" \"),_c('em',[_vm._v(_vm._s(_vm.__(\"required\", \"wpcal\")))])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.invitee_name),expression:\"form.invitee_name\"}],ref:\"invitee_name\",attrs:{\"type\":\"text\",\"name\":\"name\",\"autocomplete\":\"name\"},domProps:{\"value\":(_vm.form.invitee_name)},on:{\"blur\":function($event){return _vm.$v.form.invitee_name.$touch()},\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"invitee_name\", $event.target.value)}}})]),_c('form-row',{attrs:{\"validator\":_vm.$v.form.invitee_email}},[_c('label',{staticClass:\"wpc-label\"},[_vm._v(_vm._s(_vm.__( \"Email Address\", \"wpcal\" ) /* intentional line break, i18n search replace */)+\" \"),_c('em',[_vm._v(_vm._s(_vm.__(\"required\", \"wpcal\")))])]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.invitee_email),expression:\"form.invitee_email\"}],attrs:{\"type\":\"email\",\"name\":\"email\",\"autocomplete\":\"email\",\"autocapitalize\":\"off\",\"autocorrect\":\"off\"},domProps:{\"value\":(_vm.form.invitee_email)},on:{\"blur\":function($event){return _vm.$v.form.invitee_email.$touch()},\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"invitee_email\", $event.target.value)}}})])],1):_vm._e(),(_vm.booking_type === 'reschedule')?_c('div',[_c('form-row',{attrs:{\"validator\":_vm.$v.form.reschedule_reason}},[_c('label',{staticClass:\"wpc-label\"},[_vm._v(_vm._s(_vm.__(\"Reason for reschedule\", \"wpcal\")))]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.form.reschedule_reason),expression:\"form.reschedule_reason\"}],ref:\"reschedule_reason\",domProps:{\"value\":(_vm.form.reschedule_reason)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.form, \"reschedule_reason\", $event.target.value)}}}),_vm._v(\" \"),(_vm.client_end == 'admin')?_c('div',{staticClass:\"txt-help\"},[_vm._v(\" \"+_vm._s(_vm.T__( \"Reschedule reason will be communicated to invitee.\", \"wpcal\" ))+\" \")]):_vm._e()])],1):_vm._e(),_c('LocationAdvanced',{attrs:{\"type\":\"display_booking_location_options\",\"locations\":_vm.service_locations,\"service_admin_details\":_vm.service_admin_details,\"$v\":_vm.$v.form.location},model:{value:(_vm.form.location),callback:function ($$v) {_vm.$set(_vm.form, \"location\", $$v)},expression:\"form.location\"}}),_vm._l((_vm.questions),function(question,index){return _c('form-row',{key:index,attrs:{\"validator\":_vm.$v.form.invitee_question_answers.$each.$iter[index].answer}},[_c('label',{staticClass:\"wpc-label\"},[_c('span',{staticClass:\"pre\"},[_vm._v(_vm._s(question.question))]),_c('em',[_vm._v(_vm._s(question.is_required == 1 ? _vm.__(\"required\", \"wpcal\") : _vm.__(\"optional\", \"wpcal\"))+\" \")])]),(question.answer_type == 'textarea')?_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(question.answer),expression:\"question.answer\"}],attrs:{\"rows\":\"3\"},domProps:{\"value\":(question.answer)},on:{\"blur\":function($event){_vm.$v.form.invitee_question_answers.$each.$iter[\n index\n ].answer.$touch()},\"input\":function($event){if($event.target.composing){ return; }_vm.$set(question, \"answer\", $event.target.value)}}}):_vm._e(),_vm._v(\" \"),((question.answer_type == 'input_phone' ? 'tel' : 'text')==='checkbox'&&(\n question.answer_type == 'input_text' ||\n question.answer_type == 'input_phone'\n ))?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(question.answer),expression:\"question.answer\"}],attrs:{\"autocomplete\":question.answer_type == 'input_phone' ? 'tel' : '',\"inputmode\":question.answer_type == 'input_phone' ? 'tel' : '',\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(question.answer)?_vm._i(question.answer,null)>-1:(question.answer)},on:{\"blur\":function($event){_vm.$v.form.invitee_question_answers.$each.$iter[\n index\n ].answer.$touch()},\"change\":function($event){var $$a=question.answer,$$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.$set(question, \"answer\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(question, \"answer\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(question, \"answer\", $$c)}}}}):((question.answer_type == 'input_phone' ? 'tel' : 'text')==='radio'&&(\n question.answer_type == 'input_text' ||\n question.answer_type == 'input_phone'\n ))?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(question.answer),expression:\"question.answer\"}],attrs:{\"autocomplete\":question.answer_type == 'input_phone' ? 'tel' : '',\"inputmode\":question.answer_type == 'input_phone' ? 'tel' : '',\"type\":\"radio\"},domProps:{\"checked\":_vm._q(question.answer,null)},on:{\"blur\":function($event){_vm.$v.form.invitee_question_answers.$each.$iter[\n index\n ].answer.$touch()},\"change\":function($event){return _vm.$set(question, \"answer\", null)}}}):(\n question.answer_type == 'input_text' ||\n question.answer_type == 'input_phone'\n )?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(question.answer),expression:\"question.answer\"}],attrs:{\"autocomplete\":question.answer_type == 'input_phone' ? 'tel' : '',\"inputmode\":question.answer_type == 'input_phone' ? 'tel' : '',\"type\":question.answer_type == 'input_phone' ? 'tel' : 'text'},domProps:{\"value\":(question.answer)},on:{\"blur\":function($event){_vm.$v.form.invitee_question_answers.$each.$iter[\n index\n ].answer.$touch()},\"input\":function($event){if($event.target.composing){ return; }_vm.$set(question, \"answer\", $event.target.value)}}}):_vm._e()])}),_c('div',{staticClass:\"wpc-form-row mb0\"},[(_vm.booking_type === 'new')?_c('button',{staticClass:\"wpc-btn primary lg mt20\",attrs:{\"type\":\"button\",\"disabled\":!_vm.create_booking_btn_is_enabled},on:{\"click\":function($event){return _vm.$emit('form-submit')}}},[_vm._v(\" \"+_vm._s(_vm.__(\"Schedule my Event\", \"wpcal\"))+\" \")]):_vm._e(),(_vm.booking_type === 'reschedule')?_c('button',{staticClass:\"wpc-btn primary lg\",attrs:{\"type\":\"button\",\"disabled\":!_vm.create_booking_btn_is_enabled},on:{\"click\":function($event){return _vm.$emit('reschedule-form-submit')}}},[_vm._v(\" \"+_vm._s(_vm.__(\"Reschedule my Event\", \"wpcal\"))+\" \")]):_vm._e()])],2)])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div id=\"wpcal-widget\">\n <div class=\"widget-main state-form cf\">\n <div class=\"modal_close_cont\" v-if=\"client_end == 'admin'\">\n <button @click=\"$modal.hide('service_booking_modal')\"></button>\n </div>\n <BookingInfo\n :service_details=\"service_details\"\n :service_admin_details=\"service_admin_details\"\n :old_booking=\"old_booking\"\n :booking_type=\"booking_type\"\n booking_step=\"2\"\n />\n <div class=\"event-form\">\n <div class=\"icon-back\" @click=\"go_back\">\n <span>{{ __(\"Back\", \"wpcal\") }}</span>\n </div>\n <div\n class=\"confirmed-timing\"\n v-html=\"\n $options.filters.wpcal_unix_to_from_to_time_full_date_day_tz(\n form.booking_slot.from_time,\n form.booking_slot.to_time,\n tz,\n time_format\n ) + '.'\n \"\n ></div>\n <div class=\"txt-h4\" v-if=\"booking_type === 'new'\">\n {{ __(\"Please enter your details\", \"wpcal\") }}\n </div>\n <div class=\"wpc-form\">\n <div v-if=\"booking_type === 'new'\">\n <form-row :validator=\"$v.form.invitee_name\">\n <label class=\"wpc-label\"\n >{{\n __(\n \"Full Name\",\n \"wpcal\"\n ) /* intentional line break, i18n search replace */\n }}\n <em>{{ __(\"required\", \"wpcal\") }}</em></label\n >\n <input\n type=\"text\"\n name=\"name\"\n autocomplete=\"name\"\n v-model=\"form.invitee_name\"\n @blur=\"$v.form.invitee_name.$touch()\"\n ref=\"invitee_name\"\n />\n </form-row>\n <form-row :validator=\"$v.form.invitee_email\">\n <label class=\"wpc-label\"\n >{{\n __(\n \"Email Address\",\n \"wpcal\"\n ) /* intentional line break, i18n search replace */\n }}\n <em>{{ __(\"required\", \"wpcal\") }}</em></label\n >\n <input\n type=\"email\"\n name=\"email\"\n autocomplete=\"email\"\n autocapitalize=\"off\"\n autocorrect=\"off\"\n v-model=\"form.invitee_email\"\n @blur=\"$v.form.invitee_email.$touch()\"\n />\n </form-row>\n </div>\n <div v-if=\"booking_type === 'reschedule'\">\n <form-row :validator=\"$v.form.reschedule_reason\">\n <label class=\"wpc-label\">{{\n __(\"Reason for reschedule\", \"wpcal\")\n }}</label>\n <textarea\n v-model=\"form.reschedule_reason\"\n ref=\"reschedule_reason\"\n />\n <div v-if=\"client_end == 'admin'\" class=\"txt-help\">\n {{\n T__(\n \"Reschedule reason will be communicated to invitee.\",\n \"wpcal\"\n )\n }}\n </div>\n </form-row>\n </div>\n\n <LocationAdvanced\n type=\"display_booking_location_options\"\n :locations=\"service_locations\"\n :service_admin_details=\"service_admin_details\"\n :$v=\"$v.form.location\"\n v-model=\"form.location\"\n />\n\n <!-- custom questions -->\n <!-- <pre>{{ $v.form.invitee_question_answers.$each }}</pre> -->\n <form-row\n v-for=\"(question, index) in questions\"\n :key=\"index\"\n :validator=\"\n $v.form.invitee_question_answers.$each.$iter[index].answer\n \"\n >\n <label class=\"wpc-label\">\n <!-- for using pre -->\n <!-- eslint-disable-next-line -->\n <span class=\"pre\">{{ question.question }}</span>\n <em\n >{{\n question.is_required == 1\n ? __(\"required\", \"wpcal\")\n : __(\"optional\", \"wpcal\")\n }}\n </em></label\n >\n <textarea\n rows=\"3\"\n v-model=\"question.answer\"\n v-if=\"question.answer_type == 'textarea'\"\n @blur=\"\n $v.form.invitee_question_answers.$each.$iter[\n index\n ].answer.$touch()\n \"\n />\n <input\n :type=\"question.answer_type == 'input_phone' ? 'tel' : 'text'\"\n v-model=\"question.answer\"\n v-if=\"\n question.answer_type == 'input_text' ||\n question.answer_type == 'input_phone'\n \"\n @blur=\"\n $v.form.invitee_question_answers.$each.$iter[\n index\n ].answer.$touch()\n \"\n :autocomplete=\"\n question.answer_type == 'input_phone' ? 'tel' : ''\n \"\n :inputmode=\"question.answer_type == 'input_phone' ? 'tel' : ''\"\n />\n </form-row>\n <!-- custom questions -->\n\n <div class=\"wpc-form-row mb0\">\n <button\n v-if=\"booking_type === 'new'\"\n type=\"button\"\n class=\"wpc-btn primary lg mt20\"\n :disabled=\"!create_booking_btn_is_enabled\"\n @click=\"$emit('form-submit')\"\n >\n {{ __(\"Schedule my Event\", \"wpcal\") }}\n </button>\n <button\n v-if=\"booking_type === 'reschedule'\"\n type=\"button\"\n class=\"wpc-btn primary lg\"\n :disabled=\"!create_booking_btn_is_enabled\"\n @click=\"$emit('reschedule-form-submit')\"\n >\n {{ __(\"Reschedule my Event\", \"wpcal\") }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport BookingInfo from \"@/components/user/BookingInfo.vue\";\nimport LocationAdvanced from \"@/components/LocationAdvanced.vue\";\n\nexport default {\n components: {\n BookingInfo,\n LocationAdvanced\n },\n props: {\n booking_type: {\n type: String\n },\n service_details: {\n type: Object\n },\n service_admin_details: {\n type: Object\n },\n form: {\n type: Object\n },\n old_booking: {\n type: Object\n },\n create_booking_btn_is_enabled: {},\n service_locations: {},\n $v: {}\n },\n computed: {\n questions() {\n if (\n !this.form.invitee_question_answers ||\n !Array.isArray(this.form.invitee_question_answers)\n ) {\n return [];\n }\n return this.form.invitee_question_answers;\n }\n },\n methods: {\n go_back() {\n if (this.client_end == \"user\") {\n this.$router.go(-1);\n return;\n }\n if (this.client_end == \"admin\") {\n this.$emit(\"change-step\", 1);\n }\n }\n },\n mounted() {\n if (this.$refs.invitee_name) {\n this.$refs.invitee_name.focus();\n } else if (this.$refs.reschedule_reason) {\n this.$refs.reschedule_reason.focus();\n }\n }\n};\n</script>\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingStep2.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingStep2.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BookingStep2.vue?vue&type=template&id=b2863abe&\"\nimport script from \"./BookingStep2.vue?vue&type=script&lang=js&\"\nexport * from \"./BookingStep2.vue?vue&type=script&lang=js&\"\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:\"tzs-cont\"},[_c('v-select',{staticClass:\"time-zone-v-selector\",attrs:{\"label\":\"name\",\"options\":_vm.options,\"value\":_vm.tz_model,\"clearable\":false,\"appendToBody\":true,\"calculate-position\":_vm.with_popper,\"reduce\":function (name) { return name.tz; }},on:{\"input\":function($event){return _vm.check_and_set_tz($event)}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"tzs-cont\">\n <v-select\n class=\"time-zone-v-selector\"\n @input=\"check_and_set_tz($event)\"\n label=\"name\"\n :options=\"options\"\n :value=\"tz_model\"\n :clearable=\"false\"\n :appendToBody=\"true\"\n :calculate-position=\"with_popper\"\n :reduce=\"name => name.tz\"\n ></v-select>\n </div>\n</template>\n\n<script>\nimport vSelect from \"vue-select\";\nimport \"vue-select/dist/vue-select.css\";\n\nimport { createPopper } from \"@popperjs/core\";\n\nimport { timezone_list } from \"@/utils/common_func.js\";\n\nexport default {\n components: {\n vSelect\n },\n model: {\n prop: \"form_tz\",\n event: \"changed-form-tz\"\n },\n props: {\n use_as: {\n validator: function(value) {\n // The value must match one of these strings\n return [\"view_in_tz\", \"form_tz\"].indexOf(value) !== -1;\n },\n default: \"view_in_tz\"\n },\n form_tz: {\n type: String\n }\n },\n data() {\n return {\n options: timezone_list\n };\n },\n computed: {\n tz_model() {\n if (this.use_as === \"form_tz\") {\n return this.form_tz;\n }\n //if this.use_as === \"view_in_tz\"\n return this.tz;\n }\n },\n methods: {\n check_and_set_tz(tz) {\n if (this.use_as === \"form_tz\") {\n this.$emit(\"changed-form-tz\", tz);\n return;\n }\n //if this.use_as === \"view_in_tz\"\n if (!tz) {\n return;\n }\n this.$store.dispatch(\"set_tz\", tz);\n },\n with_popper(dropdownList, component, { width }) {\n //code taken from https://vue-select.org/guide/positioning.html#popper-js-integration\n /**\n * We need to explicitly define the dropdown width since\n * it is usually inherited from the parent with CSS.\n */\n dropdownList.style.width = width;\n dropdownList.style[\"z-index\"] = 99000;\n dropdownList.classList.add(\"wpcal-v-select-body-dropdown\"); //append to body class\n\n /**\n * Here we position the dropdownList relative to the $refs.toggle Element.\n *\n * The 'offset' modifier aligns the dropdown so that the $refs.toggle and\n * the dropdownList overlap by 1 pixel.\n *\n * The 'toggleClass' modifier adds a 'drop-up' class to the Vue Select\n * wrapper so that we can set some styles for when the dropdown is placed\n * above.\n */\n const popper = createPopper(component.$refs.toggle, dropdownList, {\n //placement: this.placement,\n modifiers: [\n {\n name: \"offset\",\n options: {\n offset: [0, -1]\n }\n },\n {\n name: \"toggleClass\",\n enabled: true,\n phase: \"write\",\n fn({ state }) {\n component.$el.classList.toggle(\n \"drop-up\",\n state.placement === \"top\"\n );\n }\n }\n ]\n });\n\n /**\n * To prevent memory leaks Popper needs to be destroyed.\n * If you return function, it will be called just before dropdown is removed from DOM.\n */\n return () => popper.destroy();\n }\n }\n};\n</script>\n<style scoped>\n.tzs-cont {\n width: 300px;\n}\n.tzs-cont /deep/ .time-zone-v-selector .vs__dropdown-toggle {\n padding-bottom: 0;\n cursor: pointer;\n line-height: 1.2em;\n border: 1px solid #b1b6d1;\n box-shadow: 0 1px 1px rgb(0 0 0 / 10%);\n}\n#wpcal_admin_app\n .tzs-cont\n /deep/\n .time-zone-v-selector:not(.vs--open)\n .vs__dropdown-toggle:hover {\n background-color: #e4e9f5;\n}\n#wpcal-widget .widget-main .tzs-cont /deep/ .vs__dropdown-toggle {\n border: 1px solid #e9ecf2;\n}\n#wpcal-widget .widget-main .tzs-cont {\n margin: 10px 10px 20px 10px;\n width: auto;\n}\n.tzs-cont /deep/ .time-zone-v-selector .vs__dropdown-toggle .vs__actions {\n display: none;\n}\n.tzs-cont\n /deep/\n .time-zone-v-selector\n .vs__dropdown-toggle\n + .vs__dropdown-menu\n li {\n margin: 0;\n padding: 7px;\n font-size: 13px;\n}\n.tzs-cont /deep/ .vs__dropdown-option--highlight {\n background: #567bf3;\n color: #fff !important;\n}\n.tzs-cont /deep/ .time-zone-v-selector .vs__dropdown-toggle::before {\n content: \"\";\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none;stroke:%23131336;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Eicon-globe-clock%3C/title%3E%3Cg id='Layer_2' data-name='Layer 2'%3E%3Cg id='Layer_1-2' data-name='Layer 1'%3E%3Ccircle class='cls-1' cx='17.25' cy='17.25' r='6'/%3E%3Cpolyline class='cls-1' points='19.9 17.25 17.25 17.25 17.25 14.6'/%3E%3Cpath class='cls-1' d='M10.5,23.15A11.25,11.25,0,1,1,23.15,10.51'/%3E%3Cpath class='cls-1' d='M9.29,22.92C7.77,20.69,6.75,16.63,6.75,12s1-8.69,2.54-10.92'/%3E%3Cline class='cls-1' x1='0.78' y1='11.25' x2='10.3' y2='11.25'/%3E%3Cline class='cls-1' x1='3' y1='5.25' x2='21' y2='5.25'/%3E%3Cline class='cls-1' x1='2.05' y1='17.25' x2='8.25' y2='17.25'/%3E%3Cpath class='cls-1' d='M14.71,1.08A16.92,16.92,0,0,1,17,8.22'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E\");\n position: absolute;\n width: 16px;\n height: 16px;\n margin: 7px;\n}\n.tzs-cont /deep/ .time-zone-v-selector::after {\n content: \"\";\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4.5 7.5'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none;stroke:%23131336;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Eicon-back%3C/title%3E%3Cg id='Layer_2' data-name='Layer 2'%3E%3Cg id='Layer_1-2' data-name='Layer 1'%3E%3Cpolyline class='cls-1' points='3.75 0.75 0.75 3.75 3.75 6.75'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E\");\n position: absolute;\n width: 6px;\n height: 10px;\n transform: rotate(-90deg);\n top: 11px;\n right: 10px;\n}\n.tzs-cont /deep/ .time-zone-v-selector.vs--open.drop-up::after {\n transform: rotate(90deg);\n}\n.tzs-cont /deep/ .vs--single .vs__selected {\n margin: 5px 0;\n padding: 0;\n padding-left: 32px;\n font-size: 13px;\n}\n#wpcal-widget .widget-main .tzs-cont /deep/ .vs--single .vs__selected {\n margin: 5px 0;\n}\n.tzs-cont /deep/ .v-select {\n background-color: transparent;\n cursor: pointer;\n}\n.tzs-cont /deep/ .v-select .vs__search,\n.tzs-cont /deep/ .v-select .vs__search:focus {\n border: 0 !important;\n background-color: transparent !important;\n z-index: 1;\n}\n.tzs-cont /deep/ .v-select .vs__search {\n cursor: pointer;\n font-size: 13px;\n padding: 0 8px;\n height: 30px;\n width: 10px;\n margin-top: 0;\n margin-bottom: 0;\n color: #131336 !important;\n}\n.tzs-cont /deep/ .time-zone-v-selector .v-select.vs--open .vs__search {\n padding: 0;\n margin-top: 0;\n padding-left: 33px;\n padding-right: 20px;\n cursor: text;\n}\n.tzs-cont /deep/ .vs--single.vs--open .vs__selected {\n margin: 7px 0;\n}\n.tzs-cont /deep/ .wpcal-v-select-body-dropdown li {\n margin: 0;\n font-family: \"Rubik\";\n font-size: 13px;\n}\n</style>\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimeZoneSelector.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimeZoneSelector.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TimeZoneSelector.vue?vue&type=template&id=060cdab6&scoped=true&\"\nimport script from \"./TimeZoneSelector.vue?vue&type=script&lang=js&\"\nexport * from \"./TimeZoneSelector.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TimeZoneSelector.vue?vue&type=style&index=0&id=060cdab6&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 \"060cdab6\",\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',[(_vm.old_booking && _vm.old_booking.unique_link && _vm.client_end === 'user')?_c('div',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(\" \"+_vm._s(_vm.__(\"Reschedule booking\", \"wpcal\"))+\" \")]):_vm._e(),(_vm.steps_flow.step1)?_c('BookingStep1',{attrs:{\"booking_type\":_vm.booking_type,\"service_details\":_vm.service_details,\"form\":_vm.form,\"availabile_slots_details\":_vm.availabile_slots_details,\"available_dates\":_vm.available_dates,\"availability_date_ranges\":_vm.availability_date_ranges,\"move_to_first_available_date\":_vm.move_to_first_available_date,\"service_admin_details\":_vm.service_admin_details,\"old_booking\":_vm.old_booking,\"current_user_details\":_vm.current_user_details},on:{\"next-step\":function($event){return _vm.set_active_step_and_toggle($event)},\"calendar-month-moved-to\":function($event){return _vm.process_calendar_month_move_event($event)}}}):_vm._e(),(_vm.client_end === 'admin' && _vm.steps_flow.step2)?_c('BookingStep2',{attrs:{\"$v\":_vm.$v,\"booking_type\":_vm.booking_type,\"service_details\":_vm.service_details,\"form\":_vm.form,\"service_admin_details\":_vm.service_admin_details,\"old_booking\":_vm.old_booking,\"create_booking_btn_is_enabled\":_vm.create_booking_btn_is_enabled,\"service_locations\":_vm.service_locations},on:{\"form-submit\":_vm.add_booking,\"reschedule-form-submit\":_vm.reschedule_booking,\"change-step\":function($event){return _vm.set_active_step_and_toggle($event)}}}):_vm._e(),(_vm.client_end === 'user' && _vm.steps_flow.step2)?_c('router-view',{attrs:{\"name\":\"step2\",\"$v\":_vm.$v,\"booking_type\":_vm.booking_type,\"service_details\":_vm.service_details,\"form\":_vm.form,\"service_admin_details\":_vm.service_admin_details,\"old_booking\":_vm.old_booking,\"create_booking_btn_is_enabled\":_vm.create_booking_btn_is_enabled,\"service_locations\":_vm.service_locations},on:{\"form-submit\":_vm.add_booking,\"reschedule-form-submit\":_vm.reschedule_booking}}):_vm._e(),(\n _vm.service_details.hasOwnProperty('status') && _vm.service_details.status != 1\n )?_c('NewBookingsDisabled'):_vm._e(),_c('v-dialog',{on:{\"before-closed\":_vm.check_and_may_close_dialog}}),_c('BookingBottomPoweredBy')],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',{attrs:{\"id\":\"wpcal-widget\"}},[_c('div',{staticClass:\"widget-main\",class:{\n 'state-select-date': !(_vm.form.booking_date instanceof Date),\n 'state-select-time': _vm.form.booking_date instanceof Date\n }},[(_vm.client_end == 'admin')?_c('div',{staticClass:\"modal_close_cont\"},[_c('button',{on:{\"click\":function($event){return _vm.$modal.hide('service_booking_modal')}}})]):_vm._e(),_c('BookingInfo',{attrs:{\"service_details\":_vm.service_details,\"service_admin_details\":_vm.service_admin_details,\"old_booking\":_vm.old_booking,\"booking_type\":_vm.booking_type}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.show_date_picker),expression:\"show_date_picker\"}],staticClass:\"event-date-col\"},[_c('h4',[_vm._v(_vm._s(_vm.__(\"Select a Date\", \"wpcal\")))]),_c('v-date-picker',{ref:\"booking_date_picker\",staticStyle:{\"width\":\"100%\"},attrs:{\"is-inline\":\"\",\"locale\":this.$store.getters.get_site_locale_intl,\"value\":\"current_customizing_availability_date\",\"available-dates\":_vm.available_dates,\"min-page\":_vm.date_picker_min_page,\"max-page\":_vm.date_picker_max_page},on:{\"update:to-page\":function($event){return _vm.$emit('calendar-month-moved-to', $event)}},model:{value:(_vm.form.booking_date),callback:function ($$v) {_vm.$set(_vm.form, \"booking_date\", $$v)},expression:\"form.booking_date\"}}),(\n _vm.current_user_details &&\n _vm.current_user_details.hasOwnProperty('is_wpcal_admin') &&\n _vm.current_user_details.is_wpcal_admin\n )?_c('div',{staticClass:\"visible-only-admins\"},[_vm._m(0),_c('h6',[_c('svg',{staticClass:\"eye\",attrs:{\"viewBox\":\"0 0 100 100\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('g',{attrs:{\"transform\":\"matrix(4.166666666666667,0,0,4.166666666666667,0,0)\"}},[_c('path',{attrs:{\"d\":\"M23.5,12S18.352,18.5,12,18.5.5,12,.5,12,5.648,5.5,12,5.5,23.5,12,23.5,12Z\",\"fill\":\"none\",\"stroke\":\"#000000\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}}),_c('path',{attrs:{\"d\":\"M8.000 12.000 A4.000 4.000 0 1 0 16.000 12.000 A4.000 4.000 0 1 0 8.000 12.000 Z\",\"fill\":\"none\",\"stroke\":\"#000000\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}}),_c('path',{attrs:{\"d\":\"M12,10a2,2,0,1,1-2,2\",\"fill\":\"none\",\"stroke\":\"#000000\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"}})])]),_vm._v(\" Visible only to WPCal admins \")])]):_vm._e(),_c('TimeZoneSelector')],1),_c('SlotSelector',{attrs:{\"selected_date\":_vm.form.booking_date,\"availabile_slots_details\":_vm.availabile_slots_details,\"form\":_vm.form,\"show\":_vm.show_slots_column},on:{\"slot-selector-back-clicked\":_vm.slot_selector_back_clicked,\"slot-selected\":_vm.emit_next_step},model:{value:(_vm.form.booking_slot),callback:function ($$v) {_vm.$set(_vm.form, \"booking_slot\", $$v)},expression:\"form.booking_slot\"}}),_c('div',{staticClass:\"ribbon-mask\"},[_c('a',{staticClass:\"corner-brand\",attrs:{\"href\":\"https://wpcal.io/?utm_source=wpcal_plugin&utm_medium=booking_corner_brand\",\"target\":\"_blank\"}},[_c('div',{staticClass:\"powered-by\"},[_vm._v(_vm._s(_vm.__(\"POWERED BY\", \"wpcal\")))]),_c('div',{staticClass:\"brand-name\"},[_vm._v(\"WPCal.io\")])])]),_c('div',{staticClass:\"onboard-select-date\"})],1)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"admin-only-content\"},[_vm._v(\" Some slots missing?\"),_c('br'),_c('a',{attrs:{\"href\":\"https://help.wpcal.io/en/article/troubleshooting-why-slots-are-missingnot-available-1tbj1hg/\",\"target\":\"_blank\"}},[_vm._v(\"See why\")]),_vm._v(\" ↗ \")])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"event-time-col-cont\"},[(_vm.show_component)?_c('div',{staticClass:\"event-time-col\"},[_c('h4',[_c('div',{staticClass:\"icon-back\",on:{\"click\":function($event){return _vm.$emit('slot-selector-back-clicked', 1)}}}),_vm._v(\" \"+_vm._s(_vm.__(\"Select a Time\", \"wpcal\"))+\" \")]),_c('div',{staticClass:\"selected-date\"},[_vm._v(\" \"+_vm._s(_vm._f(\"wpcal_format_fw_fm_dth_y\")(_vm.selected_date))+\" \")]),_c('ul',{staticClass:\"time-slot-selector\"},_vm._l((_vm.day_available_slots),function(option,index){return _c('li',{key:index,staticClass:\"wpcal_slot\",class:{\n confirmation: _vm.confirm_index === index,\n cf: _vm.confirm_index === index\n },attrs:{\"date-slot-from-time\":option.from_time},on:{\"click\":function($event){return _vm.show_confirm(index)}}},[_c('a',[_vm._v(_vm._s(_vm._f(\"wpcal_unix_to_time\")(option.from_time,_vm.tz, _vm.time_format)))]),(_vm.confirm_index === index)?_c('button',{on:{\"click\":function($event){return _vm.confirmed_slot(option)}}},[_vm._v(\" \"+_vm._s(_vm.__(\"Confirm\", \"wpcal\"))+\" \")]):_vm._e()])}),0)]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"event-time-col-cont\">\n <div class=\"event-time-col\" v-if=\"show_component\">\n <h4>\n <div\n class=\"icon-back\"\n @click=\"$emit('slot-selector-back-clicked', 1)\"\n ></div>\n {{ __(\"Select a Time\", \"wpcal\") }}\n </h4>\n <div class=\"selected-date\">\n {{ selected_date | wpcal_format_fw_fm_dth_y }}\n </div>\n <ul class=\"time-slot-selector\">\n <li\n v-for=\"(option, index) in day_available_slots\"\n :key=\"index\"\n class=\"wpcal_slot\"\n :class=\"{\n confirmation: confirm_index === index,\n cf: confirm_index === index\n }\"\n :date-slot-from-time=\"option.from_time\"\n @click=\"show_confirm(index)\"\n >\n <a>{{ option.from_time | wpcal_unix_to_time(tz, time_format) }}</a>\n <button\n v-if=\"confirm_index === index\"\n @click=\"confirmed_slot(option)\"\n >\n {{ __(\"Confirm\", \"wpcal\") }}\n </button>\n </li>\n </ul>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n model: {\n prop: \"booking_slot\",\n event: \"change-selected-slot\"\n },\n props: {\n show: {\n type: Boolean,\n required: true\n },\n selected_date: {\n required: true\n },\n availabile_slots_details: {\n type: Object,\n required: true\n },\n booking_slot: {\n required: true\n },\n form: {\n type: Object\n }\n },\n data() {\n return {\n confirm_index: null\n };\n },\n computed: {\n show_component() {\n return this.show && this.selected_date instanceof Date;\n },\n formatted_selected_date() {\n return this.$options.filters.wpcal_format_std_date(this.selected_date);\n },\n day_available_slots() {\n if (\n typeof this.availabile_slots_details.slots[\n this.formatted_selected_date\n ] === \"undefined\"\n ) {\n return [];\n }\n return this.availabile_slots_details.slots[this.formatted_selected_date]\n .slots;\n }\n },\n methods: {\n show_confirm(index) {\n this.confirm_index = index;\n },\n confirmed_slot(slot) {\n //this.booking_slot = slot;\n this.$emit(\"change-selected-slot\", slot);\n this.$emit(\"slot-selected\", 1);\n },\n may_set_confirm_index() {\n if (this.confirm_index || !this.form.booking_slot) {\n return;\n }\n for (let slot_index in this.day_available_slots) {\n if (\n this.day_available_slots[slot_index].from_time ==\n this.form.booking_slot.from_time &&\n this.day_available_slots[slot_index].to_time ==\n this.form.booking_slot.to_time\n ) {\n this.confirm_index = Number(slot_index);\n\n this.scroll_to_within_cont(\n '.wpcal_slot[date-slot-from-time=\"' +\n this.day_available_slots[slot_index].from_time +\n '\"]',\n \".time-slot-selector\"\n );\n break;\n }\n }\n }\n },\n mounted() {\n this.may_set_confirm_index();\n },\n watch: {\n formatted_selected_date() {\n this.confirm_index = null; //this is clear index when date selected\n },\n availabile_slots_details() {\n //this.confirm_index = null; //this is clear index when availabile_slots_details changes\n }\n }\n};\n</script>\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SlotSelector.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SlotSelector.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SlotSelector.vue?vue&type=template&id=63c2181a&\"\nimport script from \"./SlotSelector.vue?vue&type=script&lang=js&\"\nexport * from \"./SlotSelector.vue?vue&type=script&lang=js&\"\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","<template>\n <div>\n <div id=\"wpcal-widget\">\n <div\n class=\"widget-main\"\n :class=\"{\n 'state-select-date': !(form.booking_date instanceof Date),\n 'state-select-time': form.booking_date instanceof Date\n }\"\n >\n <div class=\"modal_close_cont\" v-if=\"client_end == 'admin'\">\n <button @click=\"$modal.hide('service_booking_modal')\"></button>\n </div>\n <BookingInfo\n :service_details=\"service_details\"\n :service_admin_details=\"service_admin_details\"\n :old_booking=\"old_booking\"\n :booking_type=\"booking_type\"\n />\n <div class=\"event-date-col\" v-show=\"show_date_picker\">\n <h4>{{ __(\"Select a Date\", \"wpcal\") }}</h4>\n <v-date-picker\n is-inline\n :locale=\"this.$store.getters.get_site_locale_intl\"\n style=\"width: 100%;\"\n value=\"current_customizing_availability_date\"\n v-model=\"form.booking_date\"\n :available-dates=\"available_dates\"\n :min-page=\"date_picker_min_page\"\n :max-page=\"date_picker_max_page\"\n ref=\"booking_date_picker\"\n @update:to-page=\"$emit('calendar-month-moved-to', $event)\"\n />\n\n <div\n class=\"visible-only-admins\"\n v-if=\"\n current_user_details &&\n current_user_details.hasOwnProperty('is_wpcal_admin') &&\n current_user_details.is_wpcal_admin\n \"\n >\n <div class=\"admin-only-content\">\n Some slots missing?<br />\n <a\n href=\"https://help.wpcal.io/en/article/troubleshooting-why-slots-are-missingnot-available-1tbj1hg/\"\n target=\"_blank\"\n >See why</a\n >\n ↗\n </div>\n <h6>\n <svg\n class=\"eye\"\n viewBox=\"0 0 100 100\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g\n transform=\"matrix(4.166666666666667,0,0,4.166666666666667,0,0)\"\n >\n <path\n d=\"M23.5,12S18.352,18.5,12,18.5.5,12,.5,12,5.648,5.5,12,5.5,23.5,12,23.5,12Z\"\n fill=\"none\"\n stroke=\"#000000\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n ></path>\n <path\n d=\"M8.000 12.000 A4.000 4.000 0 1 0 16.000 12.000 A4.000 4.000 0 1 0 8.000 12.000 Z\"\n fill=\"none\"\n stroke=\"#000000\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n ></path>\n <path\n d=\"M12,10a2,2,0,1,1-2,2\"\n fill=\"none\"\n stroke=\"#000000\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n ></path>\n </g>\n </svg>\n Visible only to WPCal admins\n </h6>\n </div>\n\n <TimeZoneSelector />\n </div>\n\n <SlotSelector\n :selected_date=\"form.booking_date\"\n :availabile_slots_details=\"availabile_slots_details\"\n :form=\"form\"\n :show=\"show_slots_column\"\n v-model=\"form.booking_slot\"\n @slot-selector-back-clicked=\"slot_selector_back_clicked\"\n @slot-selected=\"emit_next_step\"\n />\n\n <div class=\"ribbon-mask\">\n <a\n class=\"corner-brand\"\n href=\"https://wpcal.io/?utm_source=wpcal_plugin&utm_medium=booking_corner_brand\"\n target=\"_blank\"\n >\n <div class=\"powered-by\">{{ __(\"POWERED BY\", \"wpcal\") }}</div>\n <div class=\"brand-name\">WPCal.io</div>\n </a>\n </div>\n <div class=\"onboard-select-date\"></div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport SlotSelector from \"@/components/form_elements/SlotSelector.vue\";\nimport BookingInfo from \"@/components/user/BookingInfo.vue\";\nimport TimeZoneSelector from \"@/components/form_elements/TimeZoneSelector.vue\";\n\nexport default {\n components: {\n SlotSelector,\n BookingInfo,\n TimeZoneSelector\n },\n props: {\n booking_type: {\n type: String\n },\n service_details: {\n type: Object\n },\n form: {\n type: Object\n },\n availabile_slots_details: {\n type: Object\n },\n available_dates: {\n type: Array\n },\n availability_date_ranges: {\n type: Object\n },\n service_admin_details: {\n type: Object\n },\n move_to_first_available_date: {},\n old_booking: {\n type: Object\n },\n current_user_details: {\n type: Object\n }\n },\n data() {\n return {\n show_slots_column: true,\n update_to_page: \"update:topage\"\n };\n },\n computed: {\n show_date_picker() {\n if (\n this.$store.getters.get_app_cont_width < 700 &&\n this.form.booking_date instanceof Date\n ) {\n return false;\n }\n return true;\n },\n date_picker_min_page() {\n //to restrict selectable dates\n if (\n !this.availability_date_ranges ||\n !this.availability_date_ranges.current_available_from_date\n ) {\n return undefined;\n }\n let date_str = this.availability_date_ranges.current_available_from_date;\n let from_tz = this.service_details.timezone;\n let to_tz = this.tz;\n let month_year_obj = this.$options.filters.wpcal_convert_tz_std_date_to_month_year_obj(\n date_str,\n from_tz,\n to_tz\n );\n return month_year_obj;\n },\n date_picker_max_page() {\n //to restrict selectable dates\n if (\n !this.availability_date_ranges ||\n !this.availability_date_ranges.current_available_to_date\n ) {\n return undefined;\n }\n let date_str = this.availability_date_ranges.current_available_to_date;\n let from_tz = this.service_details.timezone;\n let to_tz = this.tz;\n let month_year_obj = this.$options.filters.wpcal_convert_tz_std_date_to_month_year_obj(\n date_str,\n from_tz,\n to_tz\n );\n return month_year_obj;\n }\n },\n methods: {\n emit_next_step() {\n this.$emit(\"next-step\", 2);\n },\n slot_selector_back_clicked() {\n this.form.booking_date = \"\";\n }\n },\n watch: {\n tz() {\n //after changing timezone if selected booking_date is not in available_dates then empty the booking_date\n if (!(this.form.booking_date instanceof Date)) {\n return;\n }\n let result = this.available_dates.findIndex(date => {\n return date.getTime() == this.form.booking_date.getTime();\n });\n\n if (result === -1) {\n this.form.booking_date = \"\";\n }\n },\n move_to_first_available_date(new_value) {\n if (new_value) {\n const calendar = this.$refs.booking_date_picker;\n calendar.$refs.calendar.move(new_value);\n }\n }\n }\n};\n</script>\n\n<style scoped>\n.visible-only-admins {\n background-color: rgba(var(--accentClrRGB), 0.1);\n border: 1px dashed rgba(var(--accentClrRGB), 0.5);\n font-size: 14px;\n border-radius: 5px;\n margin: 0 10px;\n color: inherit;\n display: flex;\n line-height: 1.4em;\n}\n.visible-only-admins .admin-only-content {\n padding: 5px 10px;\n}\n.visible-only-admins .admin-only-content a {\n text-decoration: underline;\n text-underline-offset: unset;\n font-size: 13px;\n}\n.visible-only-admins h6 {\n font-size: 11px;\n margin: 5px;\n padding: 5px 10px;\n border-radius: 0 0 5px 5px;\n display: flex;\n align-items: center;\n gap: 5px;\n background: #fff;\n border: 1px dashed rgba(var(--accentClrRGB), 0.5);\n width: 120px;\n margin-left: auto;\n}\n.visible-only-admins h6 svg.eye {\n stroke: inherit;\n width: 28px;\n}\n</style>\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingStep1.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingStep1.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BookingStep1.vue?vue&type=template&id=d8a2b7ca&scoped=true&\"\nimport script from \"./BookingStep1.vue?vue&type=script&lang=js&\"\nexport * from \"./BookingStep1.vue?vue&type=script&lang=js&\"\nimport style0 from \"./BookingStep1.vue?vue&type=style&index=0&id=d8a2b7ca&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 \"d8a2b7ca\",\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\":\"wpcal-widget\"}},[_c('div',{staticClass:\"widget-main\"},[_c('div',{staticStyle:{\"padding\":\"20px\",\"text-align\":\"center\",\"width\":\"100%\"}},[_vm._v(\" \"+_vm._s(_vm.__(\"No more bookings allowed.\", \"wpcal\"))+\" \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./NewBookingsDisabled.vue?vue&type=template&id=7e60ae71&\"\nvar script = {}\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","<template>\n <div>\n <div\n style=\"text-align:center;\"\n v-if=\"old_booking && old_booking.unique_link && client_end === 'user'\"\n >\n {{ __(\"Reschedule booking\", \"wpcal\") }}\n </div>\n <BookingStep1\n v-if=\"steps_flow.step1\"\n :booking_type=\"booking_type\"\n :service_details=\"service_details\"\n :form=\"form\"\n :availabile_slots_details=\"availabile_slots_details\"\n :available_dates=\"available_dates\"\n :availability_date_ranges=\"availability_date_ranges\"\n :move_to_first_available_date=\"move_to_first_available_date\"\n :service_admin_details=\"service_admin_details\"\n :old_booking=\"old_booking\"\n :current_user_details=\"current_user_details\"\n @next-step=\"set_active_step_and_toggle($event)\"\n @calendar-month-moved-to=\"process_calendar_month_move_event($event)\"\n ></BookingStep1>\n <BookingStep2\n :$v=\"$v\"\n v-if=\"client_end === 'admin' && steps_flow.step2\"\n :booking_type=\"booking_type\"\n :service_details=\"service_details\"\n :form=\"form\"\n :service_admin_details=\"service_admin_details\"\n :old_booking=\"old_booking\"\n :create_booking_btn_is_enabled=\"create_booking_btn_is_enabled\"\n :service_locations=\"service_locations\"\n @form-submit=\"add_booking\"\n @reschedule-form-submit=\"reschedule_booking\"\n @change-step=\"set_active_step_and_toggle($event)\"\n ></BookingStep2>\n <router-view\n name=\"step2\"\n :$v=\"$v\"\n v-if=\"client_end === 'user' && steps_flow.step2\"\n :booking_type=\"booking_type\"\n :service_details=\"service_details\"\n :form=\"form\"\n :service_admin_details=\"service_admin_details\"\n :old_booking=\"old_booking\"\n :create_booking_btn_is_enabled=\"create_booking_btn_is_enabled\"\n :service_locations=\"service_locations\"\n @form-submit=\"add_booking\"\n @reschedule-form-submit=\"reschedule_booking\"\n ></router-view>\n <NewBookingsDisabled\n v-if=\"\n service_details.hasOwnProperty('status') && service_details.status != 1\n \"\n />\n <v-dialog @before-closed=\"check_and_may_close_dialog\" />\n <BookingBottomPoweredBy />\n </div>\n</template>\n\n<script>\nimport BookingStep1 from \"@/components/user/BookingStep1.vue\";\nimport BookingStep2 from \"@/components/user/BookingStep2.vue\";\nimport NewBookingsDisabled from \"@/components/user/NewBookingsDisabled.vue\";\nimport BookingBottomPoweredBy from \"@/components/user/BookingBottomPoweredBy.vue\";\n\nimport {\n required,\n requiredIf,\n email,\n maxLength\n // minLength,\n // integer\n} from \"vuelidate/lib/validators\";\nimport {\n valid_phone,\n valid_phone_if,\n get_url_param_by_name,\n html_entities\n} from \"@/utils/common_func.js\";\n\nimport { compareAsc } from \"date-fns\";\n\nimport { isEmpty as _isEmpty } from \"lodash-es\";\n\nimport axios from \"axios\";\n\nexport default {\n components: {\n BookingStep1,\n BookingStep2,\n NewBookingsDisabled,\n BookingBottomPoweredBy\n },\n props: {\n admin_end_booking_type: {\n type: String\n },\n admin_end_service_id: {\n type: String\n },\n admin_end_old_booking_unique_link: {\n type: String\n },\n admin_end_is_schedule_invitee_again: {\n type: Boolean\n }\n },\n data() {\n return {\n service_id: null,\n steps_flow: {\n step1: true,\n step2: false\n },\n form: {\n booking_date: \"\",\n booking_slot: null,\n invitee_name: \"\",\n invitee_email: \"\",\n invitee_tz: \"\",\n invitee_question_answers: [],\n reschedule_reason: \"\",\n location: {}\n },\n availabile_slots_details_db: {},\n availability_date_ranges: {},\n current_user_details: {},\n service_details: {},\n service_admin_details: {},\n move_to_first_available_date: false,\n can_load_slots_for_calendar_month_move_event: false,\n current_calendar_month: {},\n booking_type: \"new\",\n old_booking_unique_link: \"\",\n old_booking: {},\n is_schedule_invitee_again: false,\n create_booking_btn_is_enabled: true,\n service_locations: []\n };\n },\n validations() {\n let validations_rules = {\n form: {\n //booking_date: \"\",\n //booking_slot: null,\n invitee_name: { required },\n invitee_email: { required, email },\n invitee_question_answers: {\n $each: {\n answer: {\n required: requiredIf(function(value_model) {\n return value_model.is_required == 1;\n }),\n valid_phone_if: valid_phone_if\n }\n }\n },\n location: {\n type: {\n required: requiredIf(function() {\n return this.service_locations.length > 0;\n })\n },\n form: {\n location: {\n required: requiredIf(function() {\n if (\n this.form.location &&\n (this.form.location.type == \"ask_invitee\" ||\n (this.form.location.type == \"phone\" &&\n this.form.location.form.who_calls == \"admin\"))\n ) {\n return true;\n }\n })\n }\n }\n }\n },\n step2: [\n \"form.invitee_name\",\n \"form.invitee_email\",\n \"form.invitee_question_answers\",\n \"form.location.type\",\n \"form.location.form.location\"\n ],\n reschedule_step2: [\n \"form.invitee_question_answers\",\n \"form.location.type\",\n \"form.location.form.location\"\n ]\n };\n\n if (\n this.form.location &&\n (this.form.location.type == \"ask_invitee\" ||\n (this.form.location.type == \"phone\" &&\n this.form.location.form.who_calls == \"admin\"))\n ) {\n validations_rules.form.location.form.location[\n \"max_char_length_500\"\n ] = maxLength(500);\n }\n if (\n this.form.location &&\n this.form.location.type == \"phone\" &&\n this.form.location.form.who_calls == \"admin\"\n ) {\n validations_rules.form.location.form.location[\n \"valid_phone\"\n ] = valid_phone;\n }\n return validations_rules;\n },\n computed: {\n availabile_slots_details() {\n //recreating from this.availabile_slots_details_db for new date which used in object key for timezone changes\n let __all_details = this.availabile_slots_details_db;\n if (!__all_details || typeof __all_details.slots != \"object\") {\n return __all_details;\n }\n let __tmp = this.clone_deep(__all_details);\n __tmp.slots = {};\n\n for (let old_date in __all_details.slots) {\n for (let some_key in __all_details.slots[old_date].slots) {\n let _slot = __all_details.slots[old_date].slots[some_key];\n\n let new_date = this.$options.filters.wpcal_unix_to_date(\n _slot.from_time,\n this.tz\n );\n if (!__tmp.slots.hasOwnProperty(new_date)) {\n __tmp.slots[new_date] = {};\n }\n if (!__tmp.slots[new_date].hasOwnProperty(\"slots\")) {\n __tmp.slots[new_date][\"slots\"] = [];\n }\n __tmp.slots[new_date].slots.push(_slot);\n }\n }\n\n for (let new_date in __tmp.slots) {\n __tmp.slots[new_date][\"is_available\"] = \"1\"; //as timezone changes available per day data splits to two days so always 1 here\n __tmp.slots[new_date][\"is_all_booked\"] = \"0\";\n if (__tmp.slots[new_date].slots.length == 0) {\n __tmp.slots[new_date][\"is_all_booked\"] = \"1\";\n }\n }\n return __tmp;\n },\n available_dates() {\n let old_hidden_avaialble_date_to_disable_other_dates = [\n this.date_parse(\"1999-01-01\")\n ];\n let available_dates = [];\n if (\n typeof this.availabile_slots_details !== \"object\" ||\n typeof this.availabile_slots_details.slots !== \"object\"\n ) {\n return old_hidden_avaialble_date_to_disable_other_dates;\n }\n\n // let current_view_year_month = \"\";\n // if (\n // this.current_calendar_month &&\n // this.current_calendar_month.hasOwnProperty(\"month\")\n // ) {\n // let zerofilled_month = (\"00\" + this.current_calendar_month.month).slice(\n // -2\n // );\n // current_view_year_month =\n // this.current_calendar_month.year + \"-\" + zerofilled_month;\n // }\n for (let date in this.availabile_slots_details.slots) {\n // if (current_view_year_month) {\n // if (date.indexOf(current_view_year_month) === -1) {\n // //to load only current view month slots after tz conversion\n // continue;\n // }\n // }\n if (\n this.availabile_slots_details.slots[date].is_available == \"1\" &&\n this.availabile_slots_details.slots[date].is_all_booked == \"0\"\n ) {\n available_dates.push(this.date_parse(date));\n }\n }\n return available_dates.length\n ? available_dates\n : old_hidden_avaialble_date_to_disable_other_dates;\n },\n ajax_main_action() {\n if (this.client_end === \"admin\") {\n return \"wpcal_process_admin_ajax_request\";\n }\n return \"wpcal_process_user_ajax_request\";\n }\n },\n methods: {\n set_active_step_and_toggle(step) {\n if (step == 1) {\n this.steps_flow.step1 = true;\n this.steps_flow.step2 = false;\n } else if (step == 2) {\n this.steps_flow.step1 = false;\n this.steps_flow.step2 = true;\n if (this.client_end === \"user\") {\n this.$router.push(\"/booking/confirm\");\n }\n }\n },\n get_first_available_date() {\n if (this.available_dates.length == 0) {\n return \"\";\n }\n let available_dates = this.available_dates;\n available_dates.sort(compareAsc);\n if (\n available_dates[0].getTime() == this.date_parse(\"1999-01-01\").getTime()\n ) {\n return \"\";\n }\n return available_dates[0];\n },\n process_calendar_month_move_event(to_month) {\n this.current_calendar_month = to_month;\n this.load_avaialble_slots_by_calendar_view(to_month);\n },\n pre_fill_form_from_url_params() {\n let invitee_name = get_url_param_by_name(\"wpcal_name\");\n invitee_name = invitee_name ? html_entities(invitee_name).trim() : \"\";\n\n let invitee_email = get_url_param_by_name(\"wpcal_email\");\n invitee_email = invitee_email ? html_entities(invitee_email).trim() : \"\";\n\n if (invitee_name) {\n this.form.invitee_name = invitee_name;\n }\n if (invitee_email) {\n this.form.invitee_email = invitee_email;\n }\n },\n load_page_details() {\n let wpcal_request = {};\n\n let action_service_details = \"get_service_details_for_booking\";\n wpcal_request[action_service_details] = {\n service_id: this.service_id\n };\n\n let action_user_details = \"get_current_user_details_for_booking\";\n wpcal_request[action_user_details] = {\n dummy__: \"\"\n };\n\n let action_availabile_slots = \"get_initial_service_availabile_slots\";\n wpcal_request[action_availabile_slots] = {\n service_id: this.service_id\n };\n\n if (this.booking_type == \"reschedule\") {\n wpcal_request[action_availabile_slots][\n \"exclude_booking_unique_link\"\n ] = this.old_booking_unique_link;\n }\n\n let action_old_booking_details;\n if (\n this.booking_type == \"reschedule\" ||\n (this.booking_type == \"new\" && this.is_schedule_invitee_again === true)\n ) {\n action_old_booking_details = \"get_booking_by_unique_link\";\n wpcal_request[action_old_booking_details] = {\n unique_link: this.old_booking_unique_link\n };\n }\n\n let post_data = {\n action: this.ajax_main_action,\n wpcal_request: wpcal_request\n };\n\n axios\n .post(window.wpcal_ajax.ajax_url, post_data)\n .then(response => {\n //console.log(response);\n if (response.data[action_service_details].status == \"success\") {\n this.service_details =\n response.data[action_service_details].service_data;\n this.service_admin_details =\n response.data[action_service_details].service_admin_data;\n this.service_locations = this.clone_deep(\n this.service_details.locations\n );\n if (this.service_details.status != 1) {\n this.steps_flow = {};\n }\n }\n if (response.data[action_user_details].status == \"success\") {\n this.current_user_details =\n response.data[action_user_details].user_data;\n if (\n this.current_user_details &&\n typeof this.current_user_details[\"is_pre_fill_user_details\"] !==\n \"undefined\" &&\n this.current_user_details.is_pre_fill_user_details\n ) {\n if (typeof this.current_user_details[\"name\"] !== \"undefined\") {\n this.form.invitee_name = this.current_user_details.name;\n }\n if (typeof this.current_user_details[\"email\"] !== \"undefined\") {\n this.form.invitee_email = this.current_user_details.email;\n }\n }\n this.pre_fill_form_from_url_params();\n }\n if (\n this.booking_type == \"reschedule\" ||\n (this.booking_type == \"new\" &&\n this.is_schedule_invitee_again === true)\n ) {\n if (response.data[action_old_booking_details].status == \"success\") {\n let _old_booking =\n response.data[action_old_booking_details].booking_data;\n this.form.invitee_name = _old_booking.invitee_name;\n this.form.invitee_email = _old_booking.invitee_email;\n this.form.invitee_tz = _old_booking.invitee_tz;\n\n if (this.booking_type == \"reschedule\") {\n let allow_reschedule = this.check_old_booking_reschedulable(\n _old_booking\n );\n if (allow_reschedule) {\n this.old_booking = _old_booking;\n this.form.invitee_question_answers =\n _old_booking.invitee_question_answers;\n }\n }\n }\n }\n if (\n response.data[action_availabile_slots].status == \"success\" &&\n response.data[action_availabile_slots].availabile_slots_details &&\n !_isEmpty(\n response.data[action_availabile_slots].availabile_slots_details\n .slots\n )\n ) {\n this.availabile_slots_details_db =\n response.data[action_availabile_slots].availabile_slots_details;\n this.move_to_first_available_date = this.get_first_available_date();\n setTimeout(() => {\n this.can_load_slots_for_calendar_month_move_event = true; //hackish fix to avoid inital calendar view change event and one after initial load\n }, 100);\n }\n if (\n response.data[action_availabile_slots].status == \"success\" &&\n response.data[action_availabile_slots].availability_date_ranges\n ) {\n this.availability_date_ranges =\n response.data[action_availabile_slots].availability_date_ranges;\n }\n if (this.booking_type == \"new\") {\n this.add_questions_to_booking_form();\n }\n })\n .catch(error => {\n console.log(error);\n });\n },\n load_avaialble_slots_by_calendar_view(to_month) {\n if (\n !this.can_load_slots_for_calendar_month_move_event ||\n !to_month ||\n typeof to_month !== \"object\" ||\n !to_month.hasOwnProperty(\"month\")\n ) {\n return false;\n }\n\n this.move_to_first_available_date = false;\n let wpcal_request = {};\n\n let action_availabile_slots = \"get_service_availabile_slots_by_month\";\n wpcal_request[action_availabile_slots] = {\n service_id: this.service_id,\n current_month_view: to_month\n };\n\n if (this.booking_type == \"reschedule\") {\n wpcal_request[action_availabile_slots][\n \"exclude_booking_unique_link\"\n ] = this.old_booking_unique_link;\n }\n\n let post_data = {\n action: this.ajax_main_action,\n wpcal_request: wpcal_request\n };\n\n axios\n .post(window.wpcal_ajax.ajax_url, post_data)\n .then(response => {\n //console.log(response);\n if (\n response.data[action_availabile_slots].status == \"success\" &&\n response.data[action_availabile_slots]\n .month_availabile_slots_details &&\n !_isEmpty(\n response.data[action_availabile_slots]\n .month_availabile_slots_details.slots\n )\n ) {\n this.availabile_slots_details_db.slots =\n response.data[\n action_availabile_slots\n ].month_availabile_slots_details.slots;\n }\n })\n .catch(error => {\n console.log(error);\n });\n },\n add_booking() {\n this.$v.step2.$touch();\n if (this.$v.step2.$anyError) {\n this.scroll_to_first_validation_error();\n return;\n }\n this.create_booking_btn_is_enabled = false;\n\n let final_form = this.clone_deep(this.form);\n final_form.service_id = this.service_id;\n //final_form.location = this.service_details.locations;\n if (this.client_end === \"user\") {\n final_form.invitee_tz = this.tz;\n final_form.booking_page_current_url = window.location.href;\n final_form.booking_page_post_id = window.wpcal_post_id;\n }\n\n let wpcal_request = {};\n let action_add_booking = \"add_booking\";\n wpcal_request[action_add_booking] = {\n form: final_form\n };\n\n let post_data = {\n action: this.ajax_main_action,\n wpcal_request: wpcal_request\n };\n\n axios\n .post(window.wpcal_ajax.ajax_url, post_data)\n .then(response => {\n //console.log(response);\n if (response.data[action_add_booking].status === \"success\") {\n let booking_unique_link =\n response.data[action_add_booking].booking_data.unique_link;\n\n setTimeout(() => {\n this.$store.dispatch(\n \"run_booking_background_tasks_by_unique_link\",\n { unique_link: booking_unique_link }\n );\n }, 500);\n\n let wpcal_booking_trigger = new CustomEvent(\"wpcal_booking_new\", {\n detail: {\n booking_details: { unique_link: booking_unique_link }\n }\n });\n document.dispatchEvent(wpcal_booking_trigger);\n\n if (this.client_end === \"user\") {\n this.$router.push(\n \"/booking/view/\" + booking_unique_link + \"/confirmed\"\n );\n this.scroll_to(\"#wpcal-widget\");\n } else if (this.client_end === \"admin\") {\n this.$emit(\"booking-added\", {\n booking_unique_link: booking_unique_link\n });\n }\n } else {\n this.notify_single_action_result(\n response.data[action_add_booking],\n {\n success_msg: this.__(\"Booking saved.\", \"wpcal\"),\n validation_errors: {\n //to get feal of normal toast instead of inline\n target: \"\",\n zindex: \"99999\"\n }\n }\n );\n }\n })\n .catch(error => {\n console.log(error);\n })\n .then(() => {\n this.create_booking_btn_is_enabled = true;\n });\n },\n check_old_booking_reschedulable(old_booking) {\n if (old_booking && typeof old_booking === \"object\") {\n if (old_booking.hasOwnProperty(\"status\") && old_booking.status != \"1\") {\n let dialog_text;\n if (old_booking.status == \"-5\") {\n dialog_text = this.__(\"Booking already rescheduled.\", \"wpcal\");\n } else if (old_booking.status == \"-1\" || old_booking.status == \"-2\") {\n dialog_text = this.__(\"Booking already cancelled.\", \"wpcal\");\n }\n\n this.on_close_go_to = \"/booking/view/\" + old_booking.unique_link; //unable to stop dialog close when clicking\n\n this.$modal.show(\"dialog\", {\n title: this.__(\"Oops!\", \"wpcal\"),\n text: dialog_text,\n //clickToClose: false, //clickToClose: false NOT WORKING\n buttons: [\n {\n title: this.__(\"Ok\", \"wpcal\"),\n handler: () => {\n this.$router.push(\"/booking/view/\" + old_booking.unique_link);\n this.can_close_dialog = true;\n this.$modal.hide(\"dialog\");\n },\n default: true\n }\n ]\n });\n return false;\n }\n let current_ts = Math.round(new Date().getTime() / 1000);\n if (\n old_booking.hasOwnProperty(\"booking_to_time\") &&\n old_booking.booking_to_time < current_ts\n ) {\n this.on_close_go_to =\n \"/booking/schedule_again/\" + old_booking.unique_link; //unable to stop dialog close when clicking\n this.$modal.show(\"dialog\", {\n title: this.__(\"Oops!\", \"wpcal\"),\n text: this.__(\n \"Booking slot was in the past and cannot be rescheduled. Do you want to make new booking?\",\n \"wpcal\"\n ),\n //clickToClose: false, //clickToClose: false NOT WORKING\n buttons: [\n {\n title: this.__(\"Yes\", \"wpcal\"),\n handler: () => {\n this.$router.push(\n \"/booking/schedule_again/\" + old_booking.unique_link\n );\n this.can_close_dialog = true;\n this.$modal.hide(\"dialog\");\n },\n default: true\n },\n {\n title: this.__(\"No\", \"wpcal\"),\n handler: () => {\n this.$router.push(\"/booking/view/\" + old_booking.unique_link);\n this.can_close_dialog = true;\n this.$modal.hide(\"dialog\");\n },\n default: true\n }\n ]\n });\n return false;\n }\n }\n return true;\n },\n //eslint-disable-next-line\n check_and_may_close_dialog(event) {\n if (typeof this.on_close_go_to !== \"undefined\" && this.on_close_go_to) {\n let on_close_go_to = this.on_close_go_to;\n this.on_close_go_to = undefined;\n this.$router.push(on_close_go_to);\n //event.stop(); - not working for dialog\n }\n },\n reschedule_booking() {\n this.$v.reschedule_step2.$touch();\n if (this.$v.reschedule_step2.$anyError) {\n this.scroll_to_first_validation_error();\n return;\n }\n this.create_booking_btn_is_enabled = false;\n\n let final_form = this.clone_deep(this.form);\n final_form.service_id = this.service_id;\n //final_form.location = this.service_details.locations;\n if (this.client_end === \"user\") {\n final_form.invitee_tz = this.tz;\n final_form.booking_page_current_url = window.location.href;\n final_form.booking_page_post_id = window.wpcal_post_id;\n }\n\n let wpcal_request = {};\n let action_reschedule_booking = \"reschedule_booking\";\n wpcal_request[action_reschedule_booking] = {\n old_booking_unique_link: this.old_booking_unique_link,\n form: final_form\n };\n\n let post_data = {\n action: this.ajax_main_action,\n wpcal_request: wpcal_request\n };\n\n axios\n .post(window.wpcal_ajax.ajax_url, post_data)\n .then(response => {\n //console.log(response);\n if (\n response.data[action_reschedule_booking].hasOwnProperty(\"status\")\n ) {\n //alert(response.data[action_reschedule_booking].status);\n if (response.data[action_reschedule_booking].status === \"success\") {\n let new_booking =\n response.data[action_reschedule_booking].new_booking_data;\n let new_booking_id =\n response.data[action_reschedule_booking].new_booking_id;\n\n let wpcal_booking_trigger = new CustomEvent(\n \"wpcal_booking_rescheduled\",\n {\n detail: {\n booking_details: { unique_link: new_booking.unique_link }\n }\n }\n );\n document.dispatchEvent(wpcal_booking_trigger);\n\n setTimeout(() => {\n this.$store.dispatch(\n \"run_booking_background_tasks_by_unique_link\",\n { unique_link: new_booking.unique_link }\n );\n }, 500);\n\n if (this.client_end === \"user\") {\n this.$router.push(\n \"/booking/view/\" + new_booking.unique_link + \"/rescheduled\"\n );\n this.scroll_to(\"#wpcal-widget\");\n } else if (this.client_end === \"admin\") {\n this.$emit(\"booking-rescheduled\", {\n old_booking: this.old_booking,\n new_booking: new_booking,\n new_booking_id: new_booking_id\n });\n }\n } else {\n this.notify_single_action_result(\n response.data[action_reschedule_booking],\n {\n success_msg: this.__(\"Booking saved.\", \"wpcal\"),\n validation_errors: {\n //to get feal of normal toast instead of inline\n target: \"\",\n zindex: \"99999\"\n }\n }\n );\n }\n }\n })\n .catch(error => {\n console.log(error);\n })\n .then(() => {\n this.create_booking_btn_is_enabled = true;\n });\n },\n add_questions_to_booking_form() {\n if (\n !this.service_details.invitee_questions ||\n typeof this.service_details.invitee_questions !== \"object\" ||\n !this.service_details.invitee_questions.hasOwnProperty(\"questions\") ||\n !Array.isArray(this.service_details.invitee_questions.questions)\n ) {\n return;\n }\n this.form.invitee_question_answers = JSON.parse(\n JSON.stringify(this.service_details.invitee_questions.questions)\n ); //JSON.parse(JSON.stringify()) for without reference\n\n for (let i in this.form.invitee_question_answers) {\n //this.form.invitee_question_answers[i][\"answer\"] = \"\";\n this.$set(this.form.invitee_question_answers[i], \"answer\", \"\"); //for reactivity\n }\n },\n load_page() {\n Object.assign(this.$data, this.$options.data.apply(this)); //re-initilize data in Vue\n this.service_id = window.wpcal_booking_service_id;\n if (this.client_end === \"user\") {\n if (this.$route.name == \"booking_reschedule\") {\n this.booking_type = \"reschedule\";\n this.old_booking_unique_link = this.$route.params.unique_link;\n } else if (this.$route.name == \"booking\") {\n this.booking_type = \"new\";\n this.old_booking_unique_link = \"\";\n } else if (this.$route.name == \"booking_schedule_again\") {\n this.booking_type = \"new\";\n this.old_booking_unique_link = this.$route.params.unique_link;\n this.is_schedule_invitee_again = true;\n }\n } else if (this.client_end === \"admin\") {\n this.service_id = this.admin_end_service_id;\n if (\n this.admin_end_booking_type == \"reschedule\" &&\n this.admin_end_old_booking_unique_link\n ) {\n this.booking_type = \"reschedule\";\n this.old_booking_unique_link = this.admin_end_old_booking_unique_link;\n } else if (this.admin_end_booking_type == \"new\") {\n this.booking_type = \"new\";\n this.old_booking_unique_link = \"\";\n if (this.admin_end_is_schedule_invitee_again === true) {\n this.old_booking_unique_link = this.admin_end_old_booking_unique_link;\n this.is_schedule_invitee_again = this.admin_end_is_schedule_invitee_again;\n }\n }\n }\n this.load_page_details();\n }\n },\n watch: {\n // //eslint-disable-next-line\n // \"$route.name\": function(new_route_name, old_route_name) {\n // //console.log(new_route_name, old_route_name);\n // if (this.client_end === \"user\") {\n // if (this.$route.path != \"/booking/confirm\") {\n // this.load_page();\n // }\n // }\n // },\n \"$route.path\": function() {\n if (this.client_end === \"user\") {\n if (\n this.$route.name == \"booking\" ||\n this.$route.name == \"booking_reschedule\" ||\n this.$route.name == \"booking_schedule_again\"\n ) {\n this.set_active_step_and_toggle(1);\n }\n }\n },\n \"$route.params.unique_link\": function(new_value) {\n if (\n this.$route.name == \"booking_reschedule\" ||\n this.$route.name == \"booking_schedule_again\"\n ) {\n if (this.old_booking_unique_link != new_value) {\n this.load_page();\n }\n }\n }\n },\n created() {\n if (this.client_end === \"user\") {\n this.service_id = window.wpcal_booking_service_id;\n }\n },\n mounted() {\n if (this.$route.path == \"/booking/confirm\") {\n if (\n !this.form.booking_slot ||\n typeof this.form.booking_slot !== \"object\"\n ) {\n this.$router.push(\"/booking\");\n setTimeout(() => {\n this.scroll_to(\"#wpcal-widget\");\n }, 200);\n }\n }\n this.load_page();\n }\n};\n</script>\n\n<style src=\"@/assets/css/user_booking.css\"></style>\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Booking.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Booking.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Booking.vue?vue&type=template&id=31041e52&\"\nimport script from \"./Booking.vue?vue&type=script&lang=js&\"\nexport * from \"./Booking.vue?vue&type=script&lang=js&\"\nimport style0 from \"@/assets/css/user_booking.css?vue&type=style&index=0&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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}