1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[4483],{54483:(K,u,r)=>{r.r(u),r.d(u,{SaveVehicleProfileManualHistoryTourStepPageModule:()=>q});var v=r(96814),f=r(56223),l=r(23498),d=r(81896),P=r(15861),e=r(65879),p=r(25472),y=r(27823),S=r(20781),b=r(69222),T=r(22090),x=r(31413);function w(a,c){if(1&a&&(e.TgZ(0,"ion-text"),e._uU(1),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.hij(" ",n.common.capital_first_word_for_all(n.vehicle_details.ymm)," ")}}function M(a,c){1&a&&(e.TgZ(0,"ion-grid",10)(1,"ion-row")(2,"ion-col",11),e._UZ(3,"ion-skeleton-text",12),e.qZA()()())}function Z(a,c){1&a&&(e.TgZ(0,"div")(1,"div",13)(2,"h5"),e._UZ(3,"ion-skeleton-text",14),e.qZA(),e.TgZ(4,"p"),e._UZ(5,"ion-skeleton-text",14),e.qZA()(),e.TgZ(6,"ion-list",15)(7,"ion-item"),e._UZ(8,"ion-skeleton-text",14),e.qZA()()())}function H(a,c){if(1&a&&(e.TgZ(0,"div"),e.YNc(1,M,4,0,"ion-grid",9),e.YNc(2,Z,9,0,"div",4),e.qZA()),2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.is_show_fetch_loading_icon2),e.xp6(1),e.Q6J("ngIf",n.is_show_fetch_loading_icon)}}function E(a,c){if(1&a&&(e.TgZ(0,"ion-grid",10)(1,"ion-row")(2,"ion-col")(3,"div",22),e._UZ(4,"span"),e.qZA()()()()),2&a){const n=e.oxw(2);e.xp6(4),e.Udp("width",n.vehicle_profile_tour_data.process_bar_percent,"%")}}function A(a,c){if(1&a){const n=e.EpF();e.TgZ(0,"div"),e.YNc(1,E,5,2,"ion-grid",9),e.TgZ(2,"div",16)(3,"h5"),e._uU(4,"Track Your Service History"),e.qZA(),e.TgZ(5,"p"),e._uU(6,"For the convenience of managing your service records try manually adding a service record of a time when you serviced this vehicle yourself or at another shop."),e.qZA()(),e.TgZ(7,"div",17)(8,"ion-list",18)(9,"ion-item",19),e.NdJ("click",function(){e.CHM(n);const i=e.oxw();return e.KtG(i.go_to_add_manual_history_page(i.vehicle_details.return_vehicle_filter))}),e.TgZ(10,"ion-text",1),e._UZ(11,"i",20),e.qZA(),e.TgZ(12,"span"),e._uU(13,"Add Manual Entry"),e.qZA()()(),e.TgZ(14,"ion-button",21),e.NdJ("click",function(){e.CHM(n);const i=e.oxw();return e.KtG(i.go_to_vehicle_details_page(i.common.vehicle_profile_id,"edit_vehicle_page"))}),e._uU(15," Skip For Now "),e.qZA()()()}if(2&a){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.vehicle_profile_tour_data&&""!=n.vehicle_profile_tour_data.next_step_name)}}const V=[{path:"",component:(()=>{var a;class c{constructor(t,i,o,s,m,_,h){this.nav=t,this.activatedroute=i,this.constant=o,this.common=s,this.applicationStorage=m,this.events=_,this.platform=h,this.is_show_fetch_loading_icon=!0,this.is_show_fetch_loading_icon2=!0,this.vehicle_details="",this.vehicle_profile_tour_data="",this.vehicle_key=""}register_back_button(){this.platform.backButton.subscribeWithPriority(10,()=>{this.common.openModelArray&&this.common.openModelArray.length>0?(this.common.openModelArray.forEach((t,i)=>{t.dismiss()}),setTimeout(()=>{this.common.openModelArray=[]},100)):this.go_to_vehicle_details_page(this.common.vehicle_profile_id,"edit_vehicle_page")})}go_to_MemberHomePage(){this.nav.navigateRoot("/member-home",{queryParams:{},animated:!1,animationDirection:"forward"})}logged_in_callback(t){this.common.subscriber_id=t.subscriber_id,this.common.customer_id=t.customer_id,this.common.subscriber_data=t.subscriber_data,this.common.customer_data=t.customer_data}ionViewDidEnter(){this.get_profile_details()}get_profile_details(t){this.common.get_logged_in_user_data(i=>{t&&setTimeout(()=>{t.target.complete()},0),this.logged_in_callback(i)})}get_subs_single_vehicle_details(t){this.common.post("get_subs_single_vehicle_details",{post_data:{subscriber_id:this.common.subscriber_id,customer_id:this.common.customer_id,vehicle_profile_id:this.common.vehicle_profile_id}}).subscribe(o=>{this.is_show_fetch_loading_icon=!1;var s={};t&&setTimeout(()=>{t.target.complete()},0),"success"==o.status?(this.vehicle_details=o.vehicle_details,""!=this.vehicle_details&&"vehicle_not_found"!=this.vehicle_details&&"need_to_refresh"!=this.vehicle_details&&(this.common.vehicle_menu_list_data[this.vehicle_key]=o.vehicle_details)):"vehicle_filter_empty"==o.status?this.go_to_ActiveVehiclesPage():"member_not_found"==o.status?(o.email&&""!=o.email&&(this.common.loginform_email=o.email),this.events.publish("on_logout",{message:o.message})):(s.message=o.message,s.status="error",this.common.show_toast_success_error_msg(s))},o=>{this.is_show_fetch_loading_icon=!1,t&&setTimeout(()=>{t.target.complete()},0)})}check_vehicle_profile_process_n_send_next_step(t){var i=this;return(0,P.Z)(function*(){if(i.common.subscriber_id&&""!=i.common.subscriber_id&&null!=i.common.subscriber_id){var o=t&&""!=t?t:"",m={subscriber_id:i.common.subscriber_id,vehicle_profile_id:i.common.vehicle_profile_id,next_step:o};""!=o&&(yield i.common.showLoading()),i.common.post("get_vehicle_profile_process_tour_data",{post_data:m}).subscribe(_=>{if(i.is_show_fetch_loading_icon2=!1,"success"==_.status){var h=_.vehicle_profile_tour_data;""!=o?i.go_to_next_vehicle_profile_tour_step(h):i.vehicle_profile_tour_data=h.next_step_name&&""!=h.next_step_name?h:""}else"member_not_found"==_.status&&(_.email&&""!=_.email&&(i.common.loginform_email=_.email),i.events.publish("on_logout",{message:_.message}))},_=>{i.is_show_fetch_loading_icon2=!1})}})()}go_to_vehicles_page(){this.nav.navigateRoot("/vehicles",{queryParams:{},animated:!1,animationDirection:"forward"})}go_to_next_vehicle_profile_tour_step(t){if(""!=t.next_step_name){var i={};i.vehicle_profile_id=this.common.vehicle_profile_id,"save_vehicle_profile_image_tour_step"==t.next_step_name?this.nav.navigateRoot("/save-vehicle-profile-image-tour-step",{queryParams:i,animated:!1,animationDirection:"forward"}):"connect_vprofile_to_vehicle_on_file_tour_step"==t.next_step_name?this.nav.navigateRoot("/connect-vprofile-to-vehicle-on-file-tour-step",{queryParams:i,animated:!1,animationDirection:"forward"}):"save_mileage_tour_step"==t.next_step_name?this.nav.navigateRoot("/save-mileage-tour-step",{queryParams:i,animated:!1,animationDirection:"forward"}):"recall_alert_reminder_tour_step"==t.next_step_name?this.nav.navigateRoot("/recall-alert-reminder-tour-step",{queryParams:i,animated:!1,animationDirection:"forward"}):"oil_change_reminder_tour_step"==t.next_step_name?this.nav.navigateRoot("/oil-change-reminder-tour-step",{queryParams:i,animated:!1,animationDirection:"forward"}):"tire_rotation_reminder_tour_step"==t.next_step_name?this.nav.navigateRoot("/tire-rotation-reminder-tour-step",{queryParams:i,animated:!1,animationDirection:"forward"}):"maintenance_schedule_reminder_tour_step"==t.next_step_name?this.nav.navigateRoot("/maintenance-schedule-reminder-tour-step",{queryParams:i,animated:!1,animationDirection:"forward"}):"registration_reminder_tour_step"==t.next_step_name?this.nav.navigateRoot("/registration-reminder-tour-step",{queryParams:i,animated:!1,animationDirection:"forward"}):"emission_reminder_tour_step"==t.next_step_name?this.nav.navigateRoot("/emission-reminder-tour-step",{queryParams:i,animated:!1,animationDirection:"forward"}):"save_vehicle_profile_manual_history_tour_step"==t.next_step_name&&this.nav.navigateRoot("/save-vehicle-profile-manual-history-tour-step",{queryParams:i,animated:!1,animationDirection:"forward"})}else this.go_to_vehicle_details_page(this.common.vehicle_profile_id,"edit_vehicle_page")}go_to_vehicle_details_page(t,i){if(t&&null!=t&&null!=t&&""!=t){this.common.vehicle_profile_id=t;var s={};s.vehicle_profile_id=this.common.vehicle_profile_id,s.from_type=i,this.nav.navigateRoot("/view-vehicle-details",{queryParams:s,animated:!1,animationDirection:"forward"})}else{this.common.show_toast_success_error_msg({message:"Sorry! We have some technical issue.",status:"error"})}}go_to_add_manual_history_page(t){if(null==t||null==t||""==t)this.nav.navigateRoot("/history",{queryParams:{},animated:!1,animationDirection:"forward"});else{this.common.vehicle_filter=t;var i={};this.common.vehicle_filter&&(i.vehicle_filter=this.common.vehicle_filter,i.mode="manual"),this.nav.navigateRoot("/add-manual-service",{queryParams:i,animated:!1,animationDirection:"forward"})}}ngOnInit(){this.common.current_page_url="/save-vehicle-profile-manual-history-tour-step",this.common.current_page_name="SaveVehicleProfileManualHistoryTourStepPage",this.common.current_page_params=this.activatedroute.snapshot.queryParams,this.common.activeBarName="vehiclemenu",this.events.publish("CHECK_PRIVATE_PAGE_TOKENDATA"),this.activatedroute.snapshot.queryParamMap.get("vehicle_profile_id")&&(this.common.vehicle_profile_id=this.activatedroute.snapshot.queryParamMap.get("vehicle_profile_id")),""==this.common.vehicle_profile_id&&this.go_to_ActiveVehiclesPage(),this.vehicle_key=this.common.vehicle_profile_id+"_vehicle_detail";var t=this.applicationStorage.getAppData(),i=this.applicationStorage.getToken(),o=this.applicationStorage.getPushwooshToken(),s=this.applicationStorage.
1isPushEnabled(),m=this.applicationStorage.getSubscriberData(),_=this.applicationStorage.getSubscriberId(),h=this.applicationStorage.getCustomerData(),R=this.applicationStorage.getCustomerId();Promise.all([t,i,o,s,m,_,h,R]).then(([g,I,U,Y,N,C,J,G])=>{this.common.appData=g||null,this.common.token=I,this.common.push_token=U,this.common.isPushEnabled=Y,this.common.subscriber_id=C,this.common.customer_id=G,this.common.subscriber_data=N,this.common.customer_data=J,this.common.appData&&(this.common.appData.shop_info&&(this.common.shop_info=this.common.appData.shop_info,this.common.signup_coupon_data=this.common.shop_info.signup_coupon_data,this.common.birthday_coupon_data=this.common.shop_info.birthday_coupon_data,this.common.smstext_coupon_data=this.common.shop_info.smstext_coupon_data,this.common.reward_coupon_data=this.common.shop_info.reward_coupon_data,this.common.referral_reward_coupon=this.common.shop_info.referral_reward_coupon,this.common.datasyncsettings=this.common.shop_info.datasyncsettings),this.common.appData.css_info&&this.common.applyCss(this.common.appData.css_info)),this.common.vehicle_menu_list_data[this.vehicle_key]&&!this.common.isEmptyObject(this.common.vehicle_menu_list_data[this.vehicle_key])&&(this.vehicle_details=this.common.vehicle_menu_list_data[this.vehicle_key],this.is_show_fetch_loading_icon=!1),this.get_subs_single_vehicle_details(),this.check_vehicle_profile_process_n_send_next_step()}),this.events.publish("clear_signup_data"),this.common.cust_last_name="",this.register_back_button(),this.common.hide_open_model()}go_to_ActiveVehiclesPage(){this.nav.navigateRoot("/active-vehicles",{queryParams:{},animated:!1,animationDirection:"forward"})}}return(a=c).\u0275fac=function(t){return new(t||a)(e.Y36(p.SH),e.Y36(d.gz),e.Y36(y.y),e.Y36(S.v),e.Y36(b.g),e.Y36(T.n),e.Y36(p.t4))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-save-vehicle-profile-manual-history-tour-step"]],decls:16,vars:4,consts:[[1,"primary","no-border"],["slot","start"],[1,"back-button",3,"click"],[1,"fas","fa-chevron-left"],[4,"ngIf"],[1,"secondary"],["size","large"],[3,"scrollEvents","ionScrollStart","ionScrollEnd"],["content",""],["class","bg-white progress-block",4,"ngIf"],[1,"bg-white","progress-block"],["size","12"],["animated","",1,"meter"],[1,"ion-padding","ion-text-center","step-header"],["animated",""],["lines","full",1,"ion-margin-top"],[1,"ion-padding","ion-text-center","step-header","page-width"],[1,"page-width"],[1,"ion-margin-bottom"],["button","",1,"bg-white",3,"click"],[1,"fas","fa-plus-circle"],["fill","clear",3,"click"],[1,"meter"]],template:function(t,i){if(1&t){const o=e.EpF();e.TgZ(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-buttons",1),e._uU(3,"\u200b "),e.TgZ(4,"ion-button",2),e.NdJ("click",function(){return i.go_to_vehicle_details_page(i.common.vehicle_profile_id,"edit_vehicle_page")}),e._UZ(5,"i",3),e.YNc(6,w,2,1,"ion-text",4),e.qZA()()(),e.TgZ(7,"ion-toolbar",5)(8,"ion-title",6),e._uU(9,"Personalize Vehicle"),e.qZA()()(),e.TgZ(10,"ion-content",7,8),e.NdJ("ionScrollStart",function(){e.CHM(o);const m=e.MAs(11);return e.KtG(i.common.on_scroll_ion_content(m))})("ionScrollEnd",function(){e.CHM(o);const m=e.MAs(11);return e.KtG(i.common.on_scroll_ion_content(m))}),e.YNc(12,H,3,2,"div",4),e.YNc(13,A,16,1,"div",4),e.qZA(),e.TgZ(14,"ion-footer"),e._UZ(15,"private-bottom-bar"),e.qZA()}2&t&&(e.xp6(6),e.Q6J("ngIf",i.vehicle_details&&""!=i.vehicle_details.vehicle_profile_id),e.xp6(4),e.Q6J("scrollEvents",!0),e.xp6(2),e.Q6J("ngIf",i.is_show_fetch_loading_icon||i.is_show_fetch_loading_icon2),e.xp6(1),e.Q6J("ngIf",!i.is_show_fetch_loading_icon&&!i.is_show_fetch_loading_icon2))},dependencies:[v.O5,l.YG,l.Sm,l.wI,l.W2,l.fr,l.jY,l.Gu,l.Ie,l.q_,l.Nd,l.CK,l.yW,l.wd,l.sr,x.t]}),c})()}];let D=(()=>{var a;class c{}return(a=c).\u0275fac=function(t){return new(t||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[d.Bz.forChild(V),d.Bz]}),c})();var k=r(10822);let q=(()=>{var a;class c{}return(a=c).\u0275fac=function(t){return new(t||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[v.ez,f.u5,l.Pc,D,k.K]}),c})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.